@vc-shell/framework 2.0.0-alpha.30 → 2.0.0-alpha.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/ai-agent/index.js +2 -2
  3. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-D3sixNg-.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-CEHpWiBV.js} +270 -271
  4. package/dist/chunks/{VcTableAdapter.vue_vue_type_style_index_0_lang-CR4ei-0r.js → VcTableAdapter.vue_vue_type_style_index_0_lang-ByeZ_FRv.js} +7324 -7040
  5. package/dist/chunks/{index-BzpX90RF.js → index-B0X7STCw.js} +2 -2
  6. package/dist/chunks/{index-BZeKYd8J.js → index-COv5_72w.js} +1 -1
  7. package/dist/chunks/{vc-toast.vue_vue_type_style_index_0_lang-DsKZR5xz.js → vc-toast.vue_vue_type_style_index_0_lang-8VHs_4Pe.js} +1 -1
  8. package/dist/chunks/vendor-sortablejs-Bsvu-FKn.js +1276 -0
  9. package/dist/chunks/{vendor-swiper-1bp0oJwt.js → vendor-swiper-D1fVhFeH.js} +1150 -810
  10. package/dist/chunks/{vendor-vueuse-components-C3DWJalC.js → vendor-vueuse-components-DRdTsx6e.js} +1 -1
  11. package/dist/chunks/vendor-vueuse-core-DaNNrqjn.js +586 -0
  12. package/dist/chunks/{vendor-vueuse-shared-Byno6iDO.js → vendor-vueuse-shared-PQ04AyOW.js} +3 -3
  13. package/dist/core/blade-navigation/types/index.d.ts +26 -63
  14. package/dist/core/blade-navigation/types/index.d.ts.map +1 -1
  15. package/dist/core/composables/{useBladeContext.d.ts → bladeContext/index.d.ts} +1 -1
  16. package/dist/core/composables/bladeContext/index.d.ts.map +1 -0
  17. package/dist/core/composables/index.d.ts +1 -1
  18. package/dist/core/composables/index.d.ts.map +1 -1
  19. package/dist/core/composables/useBladeForm/index.d.ts +17 -0
  20. package/dist/core/composables/useBladeForm/index.d.ts.map +1 -0
  21. package/dist/core/composables/useBladeForm/types.d.ts +39 -0
  22. package/dist/core/composables/useBladeForm/types.d.ts.map +1 -0
  23. package/dist/core/composables/{useBladeWidgets.d.ts → useBladeWidgets/index.d.ts} +3 -3
  24. package/dist/core/composables/useBladeWidgets/index.d.ts.map +1 -0
  25. package/dist/core/composables/useDynamicProperties/index.d.ts +3 -69
  26. package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
  27. package/dist/core/composables/useDynamicProperties/strategies/boolean.d.ts +3 -0
  28. package/dist/core/composables/useDynamicProperties/strategies/boolean.d.ts.map +1 -0
  29. package/dist/core/composables/useDynamicProperties/strategies/color.d.ts +3 -0
  30. package/dist/core/composables/useDynamicProperties/strategies/color.d.ts.map +1 -0
  31. package/dist/core/composables/useDynamicProperties/strategies/dictionary.d.ts +3 -0
  32. package/dist/core/composables/useDynamicProperties/strategies/dictionary.d.ts.map +1 -0
  33. package/dist/core/composables/useDynamicProperties/strategies/index.d.ts +4 -0
  34. package/dist/core/composables/useDynamicProperties/strategies/index.d.ts.map +1 -0
  35. package/dist/core/composables/useDynamicProperties/strategies/measure.d.ts +3 -0
  36. package/dist/core/composables/useDynamicProperties/strategies/measure.d.ts.map +1 -0
  37. package/dist/core/composables/useDynamicProperties/strategies/regular.d.ts +3 -0
  38. package/dist/core/composables/useDynamicProperties/strategies/regular.d.ts.map +1 -0
  39. package/dist/core/composables/useDynamicProperties/strategies/types.d.ts +16 -0
  40. package/dist/core/composables/useDynamicProperties/strategies/types.d.ts.map +1 -0
  41. package/dist/core/composables/useDynamicProperties/types.d.ts +70 -0
  42. package/dist/core/composables/useDynamicProperties/types.d.ts.map +1 -0
  43. package/dist/core/composables/useDynamicProperties/utils.d.ts +10 -0
  44. package/dist/core/composables/useDynamicProperties/utils.d.ts.map +1 -0
  45. package/dist/core/composables/{useMenuExpanded.d.ts → useMenuExpanded/index.d.ts} +1 -1
  46. package/dist/core/composables/useMenuExpanded/index.d.ts.map +1 -0
  47. package/dist/core/composables/useTheme/index.d.ts.map +1 -1
  48. package/dist/core/types/index.d.ts +1 -2
  49. package/dist/core/types/index.d.ts.map +1 -1
  50. package/dist/core/utilities/assets.d.ts +3 -2
  51. package/dist/core/utilities/assets.d.ts.map +1 -1
  52. package/dist/core/utilities/index.d.ts +1 -0
  53. package/dist/core/utilities/index.d.ts.map +1 -1
  54. package/dist/core/utilities/thumbnail/index.d.ts +42 -0
  55. package/dist/core/utilities/thumbnail/index.d.ts.map +1 -0
  56. package/dist/framework.js +2497 -2519
  57. package/dist/index.css +1 -1
  58. package/dist/index.d.ts +1 -0
  59. package/dist/index.d.ts.map +1 -1
  60. package/dist/injection-keys.d.ts +2 -4
  61. package/dist/injection-keys.d.ts.map +1 -1
  62. package/dist/locales/de.js +8 -2
  63. package/dist/locales/en.js +8 -2
  64. package/dist/locales/en.json +8 -2
  65. package/dist/locales/types.d.ts +6 -0
  66. package/dist/modules/assets/components/assets-details/assets-details.vue.d.ts.map +1 -1
  67. package/dist/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
  68. package/dist/shell/_internal/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue.d.ts.map +1 -1
  69. package/dist/tsconfig.tsbuildinfo +1 -1
  70. package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts +3 -0
  71. package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts.map +1 -1
  72. package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts.map +1 -1
  73. package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts +2 -21
  74. package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts.map +1 -1
  75. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  76. package/dist/ui/components/molecules/vc-image-tile/vc-image-tile.vue.d.ts +3 -0
  77. package/dist/ui/components/molecules/vc-image-tile/vc-image-tile.vue.d.ts.map +1 -1
  78. package/dist/ui/components/organisms/vc-app/composables/useShellBootstrap.d.ts.map +1 -1
  79. package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts.map +1 -1
  80. package/dist/ui/components/organisms/vc-blade/_internal/BladeStatusBanners.vue.d.ts.map +1 -1
  81. package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbarSkeleton.vue.d.ts.map +1 -1
  82. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerDesktop.vue.d.ts.map +1 -1
  83. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerMobile.vue.d.ts.map +1 -1
  84. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  85. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
  86. package/dist/ui/components/organisms/vc-data-table/components/DataTableCellRenderer.vue.d.ts.map +1 -1
  87. package/dist/ui/components/organisms/vc-data-table/components/TableColumnSwitcher.vue.d.ts +2 -0
  88. package/dist/ui/components/organisms/vc-data-table/components/TableColumnSwitcher.vue.d.ts.map +1 -1
  89. package/dist/ui/components/organisms/vc-data-table/components/_internal/TableSkeletonRows.vue.d.ts.map +1 -1
  90. package/dist/ui/components/organisms/vc-data-table/components/cells/CellImage.vue.d.ts.map +1 -1
  91. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts +1 -0
  92. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts.map +1 -1
  93. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableState.d.ts +1 -0
  94. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableState.d.ts.map +1 -1
  95. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumns.d.ts.map +1 -1
  96. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts +12 -2
  97. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts.map +1 -1
  98. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-filmstrip/vc-gallery-filmstrip.vue.d.ts +39 -0
  99. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-filmstrip/vc-gallery-filmstrip.vue.d.ts.map +1 -0
  100. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -0
  101. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts.map +1 -1
  102. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -0
  103. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  104. package/dist/ui/components/organisms/vc-gallery/composables/index.d.ts +1 -0
  105. package/dist/ui/components/organisms/vc-gallery/composables/index.d.ts.map +1 -1
  106. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryFilmstrip.d.ts +16 -0
  107. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryFilmstrip.d.ts.map +1 -0
  108. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryReorder.d.ts +4 -9
  109. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryReorder.d.ts.map +1 -1
  110. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +20 -5
  111. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
  112. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  113. package/dist/ui/index.js +3 -3
  114. package/package.json +6 -4
  115. package/dist/chunks/vendor-vueuse-core-CPOkeLul.js +0 -530
  116. package/dist/core/composables/useBladeContext.d.ts.map +0 -1
  117. package/dist/core/composables/useBladeWidgets.d.ts.map +0 -1
  118. package/dist/core/composables/useGlobalSearch/index.d.ts +0 -5
  119. package/dist/core/composables/useGlobalSearch/index.d.ts.map +0 -1
  120. package/dist/core/composables/useMenuExpanded.d.ts.map +0 -1
@@ -1,15 +1,15 @@
1
- import { ref as _, onUpdated as ye, provide as Te, watch as Re, nextTick as Fe, onMounted as xe, onBeforeUnmount as Ee, h as D, onBeforeUpdate as He, computed as je } from "vue";
2
- function ce(t) {
1
+ import { ref as G, onUpdated as xe, provide as Me, watch as Fe, nextTick as je, onMounted as Pe, onBeforeUnmount as Ce, h as k, onBeforeUpdate as $e, computed as We } from "vue";
2
+ function he(t) {
3
3
  return t !== null && typeof t == "object" && "constructor" in t && t.constructor === Object;
4
4
  }
5
- function de(t, e) {
5
+ function pe(t, e) {
6
6
  t === void 0 && (t = {}), e === void 0 && (e = {});
7
7
  const i = ["__proto__", "constructor", "prototype"];
8
8
  Object.keys(e).filter((n) => i.indexOf(n) < 0).forEach((n) => {
9
- typeof t[n] > "u" ? t[n] = e[n] : ce(e[n]) && ce(t[n]) && Object.keys(e[n]).length > 0 && de(t[n], e[n]);
9
+ typeof t[n] > "u" ? t[n] = e[n] : he(e[n]) && he(t[n]) && Object.keys(e[n]).length > 0 && pe(t[n], e[n]);
10
10
  });
11
11
  }
12
- const Pe = {
12
+ const Ie = {
13
13
  body: {},
14
14
  addEventListener() {
15
15
  },
@@ -64,12 +64,12 @@ const Pe = {
64
64
  search: ""
65
65
  }
66
66
  };
67
- function W() {
67
+ function $() {
68
68
  const t = typeof document < "u" ? document : {};
69
- return de(t, Pe), t;
69
+ return pe(t, Ie), t;
70
70
  }
71
- const $e = {
72
- document: Pe,
71
+ const Xe = {
72
+ document: Ie,
73
73
  navigator: {
74
74
  userAgent: ""
75
75
  },
@@ -126,11 +126,11 @@ const $e = {
126
126
  typeof setTimeout > "u" || clearTimeout(t);
127
127
  }
128
128
  };
129
- function B() {
129
+ function _() {
130
130
  const t = typeof window < "u" ? window : {};
131
- return de(t, $e), t;
131
+ return pe(t, Xe), t;
132
132
  }
133
- function We(t) {
133
+ function Ye(t) {
134
134
  return t === void 0 && (t = ""), t.trim().split(" ").filter((e) => !!e.trim());
135
135
  }
136
136
  function qe(t) {
@@ -146,64 +146,64 @@ function qe(t) {
146
146
  }
147
147
  });
148
148
  }
149
- function Ce(t, e) {
149
+ function Q(t, e) {
150
150
  return e === void 0 && (e = 0), setTimeout(t, e);
151
151
  }
152
- function K() {
152
+ function R() {
153
153
  return Date.now();
154
154
  }
155
- function Ye(t) {
156
- const e = B();
155
+ function Ue(t) {
156
+ const e = _();
157
157
  let i;
158
158
  return e.getComputedStyle && (i = e.getComputedStyle(t, null)), !i && t.currentStyle && (i = t.currentStyle), i || (i = t.style), i;
159
159
  }
160
- function Xe(t, e) {
160
+ function Ke(t, e) {
161
161
  e === void 0 && (e = "x");
162
- const i = B();
162
+ const i = _();
163
163
  let n, s, r;
164
- const l = Ye(t);
164
+ const l = Ue(t);
165
165
  return i.WebKitCSSMatrix ? (s = l.transform || l.webkitTransform, s.split(",").length > 6 && (s = s.split(", ").map((a) => a.replace(",", ".")).join(", ")), r = new i.WebKitCSSMatrix(s === "none" ? "" : s)) : (r = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), n = r.toString().split(",")), e === "x" && (i.WebKitCSSMatrix ? s = r.m41 : n.length === 16 ? s = parseFloat(n[12]) : s = parseFloat(n[4])), e === "y" && (i.WebKitCSSMatrix ? s = r.m42 : n.length === 16 ? s = parseFloat(n[13]) : s = parseFloat(n[5])), s || 0;
166
166
  }
167
- function Y(t) {
167
+ function U(t) {
168
168
  return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object";
169
169
  }
170
- function Ue(t) {
170
+ function Ze(t) {
171
171
  return typeof window < "u" && typeof window.HTMLElement < "u" ? t instanceof HTMLElement : t && (t.nodeType === 1 || t.nodeType === 11);
172
172
  }
173
- function G() {
173
+ function N() {
174
174
  const t = Object(arguments.length <= 0 ? void 0 : arguments[0]), e = ["__proto__", "constructor", "prototype"];
175
175
  for (let i = 1; i < arguments.length; i += 1) {
176
176
  const n = i < 0 || arguments.length <= i ? void 0 : arguments[i];
177
- if (n != null && !Ue(n)) {
177
+ if (n != null && !Ze(n)) {
178
178
  const s = Object.keys(Object(n)).filter((r) => e.indexOf(r) < 0);
179
179
  for (let r = 0, l = s.length; r < l; r += 1) {
180
180
  const a = s[r], o = Object.getOwnPropertyDescriptor(n, a);
181
- o !== void 0 && o.enumerable && (Y(t[a]) && Y(n[a]) ? n[a].__swiper__ ? t[a] = n[a] : G(t[a], n[a]) : !Y(t[a]) && Y(n[a]) ? (t[a] = {}, n[a].__swiper__ ? t[a] = n[a] : G(t[a], n[a])) : t[a] = n[a]);
181
+ o !== void 0 && o.enumerable && (U(t[a]) && U(n[a]) ? n[a].__swiper__ ? t[a] = n[a] : N(t[a], n[a]) : !U(t[a]) && U(n[a]) ? (t[a] = {}, n[a].__swiper__ ? t[a] = n[a] : N(t[a], n[a])) : t[a] = n[a]);
182
182
  }
183
183
  }
184
184
  }
185
185
  return t;
186
186
  }
187
- function X(t, e, i) {
187
+ function K(t, e, i) {
188
188
  t.style.setProperty(e, i);
189
189
  }
190
- function Me(t) {
190
+ function Oe(t) {
191
191
  let {
192
192
  swiper: e,
193
193
  targetPosition: i,
194
194
  side: n
195
195
  } = t;
196
- const s = B(), r = -e.translate;
196
+ const s = _(), r = -e.translate;
197
197
  let l = null, a;
198
198
  const o = e.params.speed;
199
199
  e.wrapperEl.style.scrollSnapType = "none", s.cancelAnimationFrame(e.cssModeFrameID);
200
- const d = i > r ? "next" : "prev", u = (p, h) => d === "next" && p >= h || d === "prev" && p <= h, f = () => {
200
+ const d = i > r ? "next" : "prev", f = (m, h) => d === "next" && m >= h || d === "prev" && m <= h, u = () => {
201
201
  a = (/* @__PURE__ */ new Date()).getTime(), l === null && (l = a);
202
- const p = Math.max(Math.min((a - l) / o, 1), 0), h = 0.5 - Math.cos(p * Math.PI) / 2;
202
+ const m = Math.max(Math.min((a - l) / o, 1), 0), h = 0.5 - Math.cos(m * Math.PI) / 2;
203
203
  let c = r + h * (i - r);
204
- if (u(c, i) && (c = i), e.wrapperEl.scrollTo({
204
+ if (f(c, i) && (c = i), e.wrapperEl.scrollTo({
205
205
  [n]: c
206
- }), u(c, i)) {
206
+ }), f(c, i)) {
207
207
  e.wrapperEl.style.overflow = "hidden", e.wrapperEl.style.scrollSnapType = "", setTimeout(() => {
208
208
  e.wrapperEl.style.overflow = "", e.wrapperEl.scrollTo({
209
209
  [n]: c
@@ -211,16 +211,16 @@ function Me(t) {
211
211
  }), s.cancelAnimationFrame(e.cssModeFrameID);
212
212
  return;
213
213
  }
214
- e.cssModeFrameID = s.requestAnimationFrame(f);
214
+ e.cssModeFrameID = s.requestAnimationFrame(u);
215
215
  };
216
- f();
216
+ u();
217
217
  }
218
- function N(t, e) {
218
+ function H(t, e) {
219
219
  e === void 0 && (e = "");
220
- const i = B(), n = [...t.children];
220
+ const i = _(), n = [...t.children];
221
221
  return i.HTMLSlotElement && t instanceof HTMLSlotElement && n.push(...t.assignedElements()), e ? n.filter((s) => s.matches(e)) : n;
222
222
  }
223
- function Ke(t, e) {
223
+ function Qe(t, e) {
224
224
  const i = [e];
225
225
  for (; i.length > 0; ) {
226
226
  const n = i.shift();
@@ -229,24 +229,31 @@ function Ke(t, e) {
229
229
  i.push(...n.children, ...n.shadowRoot ? n.shadowRoot.children : [], ...n.assignedElements ? n.assignedElements() : []);
230
230
  }
231
231
  }
232
- function Qe(t, e) {
233
- const i = B();
232
+ function Je(t, e) {
233
+ const i = _();
234
234
  let n = e.contains(t);
235
- return !n && i.HTMLSlotElement && e instanceof HTMLSlotElement && (n = [...e.assignedElements()].includes(t), n || (n = Ke(t, e))), n;
235
+ return !n && i.HTMLSlotElement && e instanceof HTMLSlotElement && (n = [...e.assignedElements()].includes(t), n || (n = Qe(t, e))), n;
236
236
  }
237
- function Q(t) {
237
+ function J(t) {
238
238
  try {
239
239
  console.warn(t);
240
240
  return;
241
241
  } catch {
242
242
  }
243
243
  }
244
- function Z(t, e) {
244
+ function ee(t, e) {
245
245
  e === void 0 && (e = []);
246
246
  const i = document.createElement(t);
247
- return i.classList.add(...Array.isArray(e) ? e : We(e)), i;
247
+ return i.classList.add(...Array.isArray(e) ? e : Ye(e)), i;
248
248
  }
249
- function Ze(t, e) {
249
+ function et(t) {
250
+ const e = _(), i = $(), n = t.getBoundingClientRect(), s = i.body, r = t.clientTop || s.clientTop || 0, l = t.clientLeft || s.clientLeft || 0, a = t === e ? e.scrollY : t.scrollTop, o = t === e ? e.scrollX : t.scrollLeft;
251
+ return {
252
+ top: n.top + a - r,
253
+ left: n.left + o - l
254
+ };
255
+ }
256
+ function tt(t, e) {
250
257
  const i = [];
251
258
  for (; t.previousElementSibling; ) {
252
259
  const n = t.previousElementSibling;
@@ -254,7 +261,7 @@ function Ze(t, e) {
254
261
  }
255
262
  return i;
256
263
  }
257
- function Je(t, e) {
264
+ function it(t, e) {
258
265
  const i = [];
259
266
  for (; t.nextElementSibling; ) {
260
267
  const n = t.nextElementSibling;
@@ -262,10 +269,10 @@ function Je(t, e) {
262
269
  }
263
270
  return i;
264
271
  }
265
- function j(t, e) {
266
- return B().getComputedStyle(t, null).getPropertyValue(e);
272
+ function W(t, e) {
273
+ return _().getComputedStyle(t, null).getPropertyValue(e);
267
274
  }
268
- function pe(t) {
275
+ function ge(t) {
269
276
  let e = t, i;
270
277
  if (e) {
271
278
  for (i = 0; (e = e.previousSibling) !== null; )
@@ -273,57 +280,63 @@ function pe(t) {
273
280
  return i;
274
281
  }
275
282
  }
276
- function et(t, e) {
283
+ function fe(t, e) {
277
284
  const i = [];
278
285
  let n = t.parentElement;
279
286
  for (; n; )
280
- i.push(n), n = n.parentElement;
287
+ e ? n.matches(e) && i.push(n) : i.push(n), n = n.parentElement;
281
288
  return i;
282
289
  }
283
- function he(t, e, i) {
284
- const n = B();
290
+ function te(t, e) {
291
+ function i(n) {
292
+ n.target === t && (e.call(t, n), t.removeEventListener("transitionend", i));
293
+ }
294
+ e && t.addEventListener("transitionend", i);
295
+ }
296
+ function ve(t, e, i) {
297
+ const n = _();
285
298
  return t[e === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(n.getComputedStyle(t, null).getPropertyValue(e === "width" ? "margin-right" : "margin-top")) + parseFloat(n.getComputedStyle(t, null).getPropertyValue(e === "width" ? "margin-left" : "margin-bottom"));
286
299
  }
287
- function k(t) {
300
+ function F(t) {
288
301
  return (Array.isArray(t) ? t : [t]).filter((e) => !!e);
289
302
  }
290
- function me(t, e) {
303
+ function we(t, e) {
291
304
  e === void 0 && (e = ""), typeof trustedTypes < "u" ? t.innerHTML = trustedTypes.createPolicy("html", {
292
305
  createHTML: (i) => i
293
306
  }).createHTML(e) : t.innerHTML = e;
294
307
  }
295
- let J;
296
- function tt() {
297
- const t = B(), e = W();
308
+ let ie;
309
+ function nt() {
310
+ const t = _(), e = $();
298
311
  return {
299
312
  smoothScroll: e.documentElement && e.documentElement.style && "scrollBehavior" in e.documentElement.style,
300
313
  touch: !!("ontouchstart" in t || t.DocumentTouch && e instanceof t.DocumentTouch)
301
314
  };
302
315
  }
303
- function Ie() {
304
- return J || (J = tt()), J;
316
+ function Le() {
317
+ return ie || (ie = nt()), ie;
305
318
  }
306
- let ee;
307
- function it(t) {
319
+ let ne;
320
+ function st(t) {
308
321
  let {
309
322
  userAgent: e
310
323
  } = t === void 0 ? {} : t;
311
- const i = Ie(), n = B(), s = n.navigator.platform, r = e || n.navigator.userAgent, l = {
324
+ const i = Le(), n = _(), s = n.navigator.platform, r = e || n.navigator.userAgent, l = {
312
325
  ios: !1,
313
326
  android: !1
314
327
  }, a = n.screen.width, o = n.screen.height, d = r.match(/(Android);?[\s\/]+([\d.]+)?/);
315
- let u = r.match(/(iPad).*OS\s([\d_]+)/);
316
- const f = r.match(/(iPod)(.*OS\s([\d_]+))?/), p = !u && r.match(/(iPhone\sOS|iOS)\s([\d_]+)/), h = s === "Win32";
328
+ let f = r.match(/(iPad).*OS\s([\d_]+)/);
329
+ const u = r.match(/(iPod)(.*OS\s([\d_]+))?/), m = !f && r.match(/(iPhone\sOS|iOS)\s([\d_]+)/), h = s === "Win32";
317
330
  let c = s === "MacIntel";
318
- const m = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
319
- return !u && c && i.touch && m.indexOf(`${a}x${o}`) >= 0 && (u = r.match(/(Version)\/([\d.]+)/), u || (u = [0, 1, "13_0_0"]), c = !1), d && !h && (l.os = "android", l.android = !0), (u || p || f) && (l.os = "ios", l.ios = !0), l;
331
+ const g = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
332
+ return !f && c && i.touch && g.indexOf(`${a}x${o}`) >= 0 && (f = r.match(/(Version)\/([\d.]+)/), f || (f = [0, 1, "13_0_0"]), c = !1), d && !h && (l.os = "android", l.android = !0), (f || m || u) && (l.os = "ios", l.ios = !0), l;
320
333
  }
321
- function Oe(t) {
322
- return t === void 0 && (t = {}), ee || (ee = it(t)), ee;
334
+ function Be(t) {
335
+ return t === void 0 && (t = {}), ne || (ne = st(t)), ne;
323
336
  }
324
- let te;
325
- function nt() {
326
- const t = B(), e = Oe();
337
+ let se;
338
+ function rt() {
339
+ const t = _(), e = Be();
327
340
  let i = !1;
328
341
  function n() {
329
342
  const a = t.navigator.userAgent.toLowerCase();
@@ -332,7 +345,7 @@ function nt() {
332
345
  if (n()) {
333
346
  const a = String(t.navigator.userAgent);
334
347
  if (a.includes("Version/")) {
335
- const [o, d] = a.split("Version/")[1].split(" ")[0].split(".").map((u) => Number(u));
348
+ const [o, d] = a.split("Version/")[1].split(" ")[0].split(".").map((f) => Number(f));
336
349
  i = o < 16 || o === 16 && d < 2;
337
350
  }
338
351
  }
@@ -344,40 +357,40 @@ function nt() {
344
357
  isWebView: s
345
358
  };
346
359
  }
347
- function Le() {
348
- return te || (te = nt()), te;
360
+ function ze() {
361
+ return se || (se = rt()), se;
349
362
  }
350
- function st(t) {
363
+ function at(t) {
351
364
  let {
352
365
  swiper: e,
353
366
  on: i,
354
367
  emit: n
355
368
  } = t;
356
- const s = B();
369
+ const s = _();
357
370
  let r = null, l = null;
358
371
  const a = () => {
359
372
  !e || e.destroyed || !e.initialized || (n("beforeResize"), n("resize"));
360
373
  }, o = () => {
361
- !e || e.destroyed || !e.initialized || (r = new ResizeObserver((f) => {
374
+ !e || e.destroyed || !e.initialized || (r = new ResizeObserver((u) => {
362
375
  l = s.requestAnimationFrame(() => {
363
376
  const {
364
- width: p,
377
+ width: m,
365
378
  height: h
366
379
  } = e;
367
- let c = p, m = h;
368
- f.forEach((y) => {
380
+ let c = m, g = h;
381
+ u.forEach((E) => {
369
382
  let {
370
- contentBoxSize: g,
371
- contentRect: w,
372
- target: v
373
- } = y;
374
- v && v !== e.el || (c = w ? w.width : (g[0] || g).inlineSize, m = w ? w.height : (g[0] || g).blockSize);
375
- }), (c !== p || m !== h) && a();
383
+ contentBoxSize: v,
384
+ contentRect: S,
385
+ target: p
386
+ } = E;
387
+ p && p !== e.el || (c = S ? S.width : (v[0] || v).inlineSize, g = S ? S.height : (v[0] || v).blockSize);
388
+ }), (c !== m || g !== h) && a();
376
389
  });
377
390
  }), r.observe(e.el));
378
391
  }, d = () => {
379
392
  l && s.cancelAnimationFrame(l), r && r.unobserve && e.el && (r.unobserve(e.el), r = null);
380
- }, u = () => {
393
+ }, f = () => {
381
394
  !e || e.destroyed || !e.initialized || n("orientationchange");
382
395
  };
383
396
  i("init", () => {
@@ -385,42 +398,42 @@ function st(t) {
385
398
  o();
386
399
  return;
387
400
  }
388
- s.addEventListener("resize", a), s.addEventListener("orientationchange", u);
401
+ s.addEventListener("resize", a), s.addEventListener("orientationchange", f);
389
402
  }), i("destroy", () => {
390
- d(), s.removeEventListener("resize", a), s.removeEventListener("orientationchange", u);
403
+ d(), s.removeEventListener("resize", a), s.removeEventListener("orientationchange", f);
391
404
  });
392
405
  }
393
- function rt(t) {
406
+ function lt(t) {
394
407
  let {
395
408
  swiper: e,
396
409
  extendParams: i,
397
410
  on: n,
398
411
  emit: s
399
412
  } = t;
400
- const r = [], l = B(), a = function(u, f) {
401
- f === void 0 && (f = {});
402
- const p = l.MutationObserver || l.WebkitMutationObserver, h = new p((c) => {
413
+ const r = [], l = _(), a = function(f, u) {
414
+ u === void 0 && (u = {});
415
+ const m = l.MutationObserver || l.WebkitMutationObserver, h = new m((c) => {
403
416
  if (e.__preventObserver__) return;
404
417
  if (c.length === 1) {
405
418
  s("observerUpdate", c[0]);
406
419
  return;
407
420
  }
408
- const m = function() {
421
+ const g = function() {
409
422
  s("observerUpdate", c[0]);
410
423
  };
411
- l.requestAnimationFrame ? l.requestAnimationFrame(m) : l.setTimeout(m, 0);
424
+ l.requestAnimationFrame ? l.requestAnimationFrame(g) : l.setTimeout(g, 0);
412
425
  });
413
- h.observe(u, {
414
- attributes: typeof f.attributes > "u" ? !0 : f.attributes,
415
- childList: e.isElement || (typeof f.childList > "u" ? !0 : f).childList,
416
- characterData: typeof f.characterData > "u" ? !0 : f.characterData
426
+ h.observe(f, {
427
+ attributes: typeof u.attributes > "u" ? !0 : u.attributes,
428
+ childList: e.isElement || (typeof u.childList > "u" ? !0 : u).childList,
429
+ characterData: typeof u.characterData > "u" ? !0 : u.characterData
417
430
  }), r.push(h);
418
431
  }, o = () => {
419
432
  if (e.params.observer) {
420
433
  if (e.params.observeParents) {
421
- const u = et(e.hostEl);
422
- for (let f = 0; f < u.length; f += 1)
423
- a(u[f]);
434
+ const f = fe(e.hostEl);
435
+ for (let u = 0; u < f.length; u += 1)
436
+ a(f[u]);
424
437
  }
425
438
  a(e.hostEl, {
426
439
  childList: e.params.observeSlideChildren
@@ -429,8 +442,8 @@ function rt(t) {
429
442
  });
430
443
  }
431
444
  }, d = () => {
432
- r.forEach((u) => {
433
- u.disconnect();
445
+ r.forEach((f) => {
446
+ f.disconnect();
434
447
  }), r.splice(0, r.length);
435
448
  };
436
449
  i({
@@ -439,7 +452,7 @@ function rt(t) {
439
452
  observeSlideChildren: !1
440
453
  }), n("init", o), n("destroy", d);
441
454
  }
442
- var at = {
455
+ var ot = {
443
456
  on(t, e, i) {
444
457
  const n = this;
445
458
  if (!n.eventsListeners || n.destroyed || typeof e != "function") return n;
@@ -494,20 +507,20 @@ var at = {
494
507
  }), t;
495
508
  }
496
509
  };
497
- function lt() {
510
+ function dt() {
498
511
  const t = this;
499
512
  let e, i;
500
513
  const n = t.el;
501
- typeof t.params.width < "u" && t.params.width !== null ? e = t.params.width : e = n.clientWidth, typeof t.params.height < "u" && t.params.height !== null ? i = t.params.height : i = n.clientHeight, !(e === 0 && t.isHorizontal() || i === 0 && t.isVertical()) && (e = e - parseInt(j(n, "padding-left") || 0, 10) - parseInt(j(n, "padding-right") || 0, 10), i = i - parseInt(j(n, "padding-top") || 0, 10) - parseInt(j(n, "padding-bottom") || 0, 10), Number.isNaN(e) && (e = 0), Number.isNaN(i) && (i = 0), Object.assign(t, {
514
+ typeof t.params.width < "u" && t.params.width !== null ? e = t.params.width : e = n.clientWidth, typeof t.params.height < "u" && t.params.height !== null ? i = t.params.height : i = n.clientHeight, !(e === 0 && t.isHorizontal() || i === 0 && t.isVertical()) && (e = e - parseInt(W(n, "padding-left") || 0, 10) - parseInt(W(n, "padding-right") || 0, 10), i = i - parseInt(W(n, "padding-top") || 0, 10) - parseInt(W(n, "padding-bottom") || 0, 10), Number.isNaN(e) && (e = 0), Number.isNaN(i) && (i = 0), Object.assign(t, {
502
515
  width: e,
503
516
  height: i,
504
517
  size: t.isHorizontal() ? e : i
505
518
  }));
506
519
  }
507
- function ot() {
520
+ function ft() {
508
521
  const t = this;
509
- function e(b, P) {
510
- return parseFloat(b.getPropertyValue(t.getDirectionLabel(P)) || 0);
522
+ function e(b, M) {
523
+ return parseFloat(b.getPropertyValue(t.getDirectionLabel(M)) || 0);
511
524
  }
512
525
  const i = t.params, {
513
526
  wrapperEl: n,
@@ -515,114 +528,114 @@ function ot() {
515
528
  size: r,
516
529
  rtlTranslate: l,
517
530
  wrongRTL: a
518
- } = t, o = t.virtual && i.virtual.enabled, d = o ? t.virtual.slides.length : t.slides.length, u = N(s, `.${t.params.slideClass}, swiper-slide`), f = o ? t.virtual.slides.length : u.length;
519
- let p = [];
531
+ } = t, o = t.virtual && i.virtual.enabled, d = o ? t.virtual.slides.length : t.slides.length, f = H(s, `.${t.params.slideClass}, swiper-slide`), u = o ? t.virtual.slides.length : f.length;
532
+ let m = [];
520
533
  const h = [], c = [];
521
- let m = i.slidesOffsetBefore;
522
- typeof m == "function" && (m = i.slidesOffsetBefore.call(t));
523
- let y = i.slidesOffsetAfter;
524
- typeof y == "function" && (y = i.slidesOffsetAfter.call(t));
525
- const g = t.snapGrid.length, w = t.slidesGrid.length;
526
- let v = i.spaceBetween, E = -m, T = 0, M = 0;
534
+ let g = i.slidesOffsetBefore;
535
+ typeof g == "function" && (g = i.slidesOffsetBefore.call(t));
536
+ let E = i.slidesOffsetAfter;
537
+ typeof E == "function" && (E = i.slidesOffsetAfter.call(t));
538
+ const v = t.snapGrid.length, S = t.slidesGrid.length;
539
+ let p = i.spaceBetween, T = -g, x = 0, C = 0;
527
540
  if (typeof r > "u")
528
541
  return;
529
- typeof v == "string" && v.indexOf("%") >= 0 ? v = parseFloat(v.replace("%", "")) / 100 * r : typeof v == "string" && (v = parseFloat(v)), t.virtualSize = -v, u.forEach((b) => {
542
+ typeof p == "string" && p.indexOf("%") >= 0 ? p = parseFloat(p.replace("%", "")) / 100 * r : typeof p == "string" && (p = parseFloat(p)), t.virtualSize = -p, f.forEach((b) => {
530
543
  l ? b.style.marginLeft = "" : b.style.marginRight = "", b.style.marginBottom = "", b.style.marginTop = "";
531
- }), i.centeredSlides && i.cssMode && (X(n, "--swiper-centered-offset-before", ""), X(n, "--swiper-centered-offset-after", ""));
532
- const C = i.grid && i.grid.rows > 1 && t.grid;
533
- C ? t.grid.initSlides(u) : t.grid && t.grid.unsetSlides();
534
- let x;
535
- const S = i.slidesPerView === "auto" && i.breakpoints && Object.keys(i.breakpoints).filter((b) => typeof i.breakpoints[b].slidesPerView < "u").length > 0;
536
- for (let b = 0; b < f; b += 1) {
537
- x = 0;
538
- let P;
539
- if (u[b] && (P = u[b]), C && t.grid.updateSlide(b, P, u), !(u[b] && j(P, "display") === "none")) {
544
+ }), i.centeredSlides && i.cssMode && (K(n, "--swiper-centered-offset-before", ""), K(n, "--swiper-centered-offset-after", ""));
545
+ const P = i.grid && i.grid.rows > 1 && t.grid;
546
+ P ? t.grid.initSlides(f) : t.grid && t.grid.unsetSlides();
547
+ let y;
548
+ const w = i.slidesPerView === "auto" && i.breakpoints && Object.keys(i.breakpoints).filter((b) => typeof i.breakpoints[b].slidesPerView < "u").length > 0;
549
+ for (let b = 0; b < u; b += 1) {
550
+ y = 0;
551
+ let M;
552
+ if (f[b] && (M = f[b]), P && t.grid.updateSlide(b, M, f), !(f[b] && W(M, "display") === "none")) {
540
553
  if (i.slidesPerView === "auto") {
541
- S && (u[b].style[t.getDirectionLabel("width")] = "");
542
- const O = getComputedStyle(P), L = P.style.transform, F = P.style.webkitTransform;
543
- if (L && (P.style.transform = "none"), F && (P.style.webkitTransform = "none"), i.roundLengths)
544
- x = t.isHorizontal() ? he(P, "width") : he(P, "height");
554
+ w && (f[b].style[t.getDirectionLabel("width")] = "");
555
+ const I = getComputedStyle(M), O = M.style.transform, B = M.style.webkitTransform;
556
+ if (O && (M.style.transform = "none"), B && (M.style.webkitTransform = "none"), i.roundLengths)
557
+ y = t.isHorizontal() ? ve(M, "width") : ve(M, "height");
545
558
  else {
546
- const H = e(O, "width"), I = e(O, "padding-left"), z = e(O, "padding-right"), A = e(O, "margin-left"), V = e(O, "margin-right"), fe = O.getPropertyValue("box-sizing");
547
- if (fe && fe === "border-box")
548
- x = H + A + V;
559
+ const D = e(I, "width"), L = e(I, "padding-left"), z = e(I, "padding-right"), A = e(I, "margin-left"), V = e(I, "margin-right"), Y = I.getPropertyValue("box-sizing");
560
+ if (Y && Y === "border-box")
561
+ y = D + A + V;
549
562
  else {
550
563
  const {
551
- clientWidth: Ve,
552
- offsetWidth: ke
553
- } = P;
554
- x = H + I + z + A + V + (ke - Ve);
564
+ clientWidth: Re,
565
+ offsetWidth: He
566
+ } = M;
567
+ y = D + L + z + A + V + (He - Re);
555
568
  }
556
569
  }
557
- L && (P.style.transform = L), F && (P.style.webkitTransform = F), i.roundLengths && (x = Math.floor(x));
570
+ O && (M.style.transform = O), B && (M.style.webkitTransform = B), i.roundLengths && (y = Math.floor(y));
558
571
  } else
559
- x = (r - (i.slidesPerView - 1) * v) / i.slidesPerView, i.roundLengths && (x = Math.floor(x)), u[b] && (u[b].style[t.getDirectionLabel("width")] = `${x}px`);
560
- u[b] && (u[b].swiperSlideSize = x), c.push(x), i.centeredSlides ? (E = E + x / 2 + T / 2 + v, T === 0 && b !== 0 && (E = E - r / 2 - v), b === 0 && (E = E - r / 2 - v), Math.abs(E) < 1 / 1e3 && (E = 0), i.roundLengths && (E = Math.floor(E)), M % i.slidesPerGroup === 0 && p.push(E), h.push(E)) : (i.roundLengths && (E = Math.floor(E)), (M - Math.min(t.params.slidesPerGroupSkip, M)) % t.params.slidesPerGroup === 0 && p.push(E), h.push(E), E = E + x + v), t.virtualSize += x + v, T = x, M += 1;
572
+ y = (r - (i.slidesPerView - 1) * p) / i.slidesPerView, i.roundLengths && (y = Math.floor(y)), f[b] && (f[b].style[t.getDirectionLabel("width")] = `${y}px`);
573
+ f[b] && (f[b].swiperSlideSize = y), c.push(y), i.centeredSlides ? (T = T + y / 2 + x / 2 + p, x === 0 && b !== 0 && (T = T - r / 2 - p), b === 0 && (T = T - r / 2 - p), Math.abs(T) < 1 / 1e3 && (T = 0), i.roundLengths && (T = Math.floor(T)), C % i.slidesPerGroup === 0 && m.push(T), h.push(T)) : (i.roundLengths && (T = Math.floor(T)), (C - Math.min(t.params.slidesPerGroupSkip, C)) % t.params.slidesPerGroup === 0 && m.push(T), h.push(T), T = T + y + p), t.virtualSize += y + p, x = y, C += 1;
561
574
  }
562
575
  }
563
- if (t.virtualSize = Math.max(t.virtualSize, r) + y, l && a && (i.effect === "slide" || i.effect === "coverflow") && (n.style.width = `${t.virtualSize + v}px`), i.setWrapperSize && (n.style[t.getDirectionLabel("width")] = `${t.virtualSize + v}px`), C && t.grid.updateWrapperSize(x, p), !i.centeredSlides) {
576
+ if (t.virtualSize = Math.max(t.virtualSize, r) + E, l && a && (i.effect === "slide" || i.effect === "coverflow") && (n.style.width = `${t.virtualSize + p}px`), i.setWrapperSize && (n.style[t.getDirectionLabel("width")] = `${t.virtualSize + p}px`), P && t.grid.updateWrapperSize(y, m), !i.centeredSlides) {
564
577
  const b = [];
565
- for (let P = 0; P < p.length; P += 1) {
566
- let O = p[P];
567
- i.roundLengths && (O = Math.floor(O)), p[P] <= t.virtualSize - r && b.push(O);
578
+ for (let M = 0; M < m.length; M += 1) {
579
+ let I = m[M];
580
+ i.roundLengths && (I = Math.floor(I)), m[M] <= t.virtualSize - r && b.push(I);
568
581
  }
569
- p = b, Math.floor(t.virtualSize - r) - Math.floor(p[p.length - 1]) > 1 && p.push(t.virtualSize - r);
582
+ m = b, Math.floor(t.virtualSize - r) - Math.floor(m[m.length - 1]) > 1 && m.push(t.virtualSize - r);
570
583
  }
571
584
  if (o && i.loop) {
572
- const b = c[0] + v;
585
+ const b = c[0] + p;
573
586
  if (i.slidesPerGroup > 1) {
574
- const P = Math.ceil((t.virtual.slidesBefore + t.virtual.slidesAfter) / i.slidesPerGroup), O = b * i.slidesPerGroup;
575
- for (let L = 0; L < P; L += 1)
576
- p.push(p[p.length - 1] + O);
587
+ const M = Math.ceil((t.virtual.slidesBefore + t.virtual.slidesAfter) / i.slidesPerGroup), I = b * i.slidesPerGroup;
588
+ for (let O = 0; O < M; O += 1)
589
+ m.push(m[m.length - 1] + I);
577
590
  }
578
- for (let P = 0; P < t.virtual.slidesBefore + t.virtual.slidesAfter; P += 1)
579
- i.slidesPerGroup === 1 && p.push(p[p.length - 1] + b), h.push(h[h.length - 1] + b), t.virtualSize += b;
591
+ for (let M = 0; M < t.virtual.slidesBefore + t.virtual.slidesAfter; M += 1)
592
+ i.slidesPerGroup === 1 && m.push(m[m.length - 1] + b), h.push(h[h.length - 1] + b), t.virtualSize += b;
580
593
  }
581
- if (p.length === 0 && (p = [0]), v !== 0) {
594
+ if (m.length === 0 && (m = [0]), p !== 0) {
582
595
  const b = t.isHorizontal() && l ? "marginLeft" : t.getDirectionLabel("marginRight");
583
- u.filter((P, O) => !i.cssMode || i.loop ? !0 : O !== u.length - 1).forEach((P) => {
584
- P.style[b] = `${v}px`;
596
+ f.filter((M, I) => !i.cssMode || i.loop ? !0 : I !== f.length - 1).forEach((M) => {
597
+ M.style[b] = `${p}px`;
585
598
  });
586
599
  }
587
600
  if (i.centeredSlides && i.centeredSlidesBounds) {
588
601
  let b = 0;
589
- c.forEach((O) => {
590
- b += O + (v || 0);
591
- }), b -= v;
592
- const P = b > r ? b - r : 0;
593
- p = p.map((O) => O <= 0 ? -m : O > P ? P + y : O);
602
+ c.forEach((I) => {
603
+ b += I + (p || 0);
604
+ }), b -= p;
605
+ const M = b > r ? b - r : 0;
606
+ m = m.map((I) => I <= 0 ? -g : I > M ? M + E : I);
594
607
  }
595
608
  if (i.centerInsufficientSlides) {
596
609
  let b = 0;
597
- c.forEach((O) => {
598
- b += O + (v || 0);
599
- }), b -= v;
600
- const P = (i.slidesOffsetBefore || 0) + (i.slidesOffsetAfter || 0);
601
- if (b + P < r) {
602
- const O = (r - b - P) / 2;
603
- p.forEach((L, F) => {
604
- p[F] = L - O;
605
- }), h.forEach((L, F) => {
606
- h[F] = L + O;
610
+ c.forEach((I) => {
611
+ b += I + (p || 0);
612
+ }), b -= p;
613
+ const M = (i.slidesOffsetBefore || 0) + (i.slidesOffsetAfter || 0);
614
+ if (b + M < r) {
615
+ const I = (r - b - M) / 2;
616
+ m.forEach((O, B) => {
617
+ m[B] = O - I;
618
+ }), h.forEach((O, B) => {
619
+ h[B] = O + I;
607
620
  });
608
621
  }
609
622
  }
610
623
  if (Object.assign(t, {
611
- slides: u,
612
- snapGrid: p,
624
+ slides: f,
625
+ snapGrid: m,
613
626
  slidesGrid: h,
614
627
  slidesSizesGrid: c
615
628
  }), i.centeredSlides && i.cssMode && !i.centeredSlidesBounds) {
616
- X(n, "--swiper-centered-offset-before", `${-p[0]}px`), X(n, "--swiper-centered-offset-after", `${t.size / 2 - c[c.length - 1] / 2}px`);
617
- const b = -t.snapGrid[0], P = -t.slidesGrid[0];
618
- t.snapGrid = t.snapGrid.map((O) => O + b), t.slidesGrid = t.slidesGrid.map((O) => O + P);
629
+ K(n, "--swiper-centered-offset-before", `${-m[0]}px`), K(n, "--swiper-centered-offset-after", `${t.size / 2 - c[c.length - 1] / 2}px`);
630
+ const b = -t.snapGrid[0], M = -t.slidesGrid[0];
631
+ t.snapGrid = t.snapGrid.map((I) => I + b), t.slidesGrid = t.slidesGrid.map((I) => I + M);
619
632
  }
620
- if (f !== d && t.emit("slidesLengthChange"), p.length !== g && (t.params.watchOverflow && t.checkOverflow(), t.emit("snapGridLengthChange")), h.length !== w && t.emit("slidesGridLengthChange"), i.watchSlidesProgress && t.updateSlidesOffset(), t.emit("slidesUpdated"), !o && !i.cssMode && (i.effect === "slide" || i.effect === "fade")) {
621
- const b = `${i.containerModifierClass}backface-hidden`, P = t.el.classList.contains(b);
622
- f <= i.maxBackfaceHiddenSlides ? P || t.el.classList.add(b) : P && t.el.classList.remove(b);
633
+ if (u !== d && t.emit("slidesLengthChange"), m.length !== v && (t.params.watchOverflow && t.checkOverflow(), t.emit("snapGridLengthChange")), h.length !== S && t.emit("slidesGridLengthChange"), i.watchSlidesProgress && t.updateSlidesOffset(), t.emit("slidesUpdated"), !o && !i.cssMode && (i.effect === "slide" || i.effect === "fade")) {
634
+ const b = `${i.containerModifierClass}backface-hidden`, M = t.el.classList.contains(b);
635
+ u <= i.maxBackfaceHiddenSlides ? M || t.el.classList.add(b) : M && t.el.classList.remove(b);
623
636
  }
624
637
  }
625
- function dt(t) {
638
+ function ut(t) {
626
639
  const e = this, i = [], n = e.virtual && e.params.virtual.enabled;
627
640
  let s = 0, r;
628
641
  typeof t == "number" ? e.setTransition(t) : t === !0 && e.setTransition(e.params.speed);
@@ -647,15 +660,15 @@ function dt(t) {
647
660
  }
648
661
  (s || s === 0) && (e.wrapperEl.style.height = `${s}px`);
649
662
  }
650
- function ut() {
663
+ function ct() {
651
664
  const t = this, e = t.slides, i = t.isElement ? t.isHorizontal() ? t.wrapperEl.offsetLeft : t.wrapperEl.offsetTop : 0;
652
665
  for (let n = 0; n < e.length; n += 1)
653
666
  e[n].swiperSlideOffset = (t.isHorizontal() ? e[n].offsetLeft : e[n].offsetTop) - i - t.cssOverflowAdjustment();
654
667
  }
655
- const ge = (t, e, i) => {
668
+ const Se = (t, e, i) => {
656
669
  e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
657
670
  };
658
- function ft(t) {
671
+ function pt(t) {
659
672
  t === void 0 && (t = this && this.translate || 0);
660
673
  const e = this, i = e.params, {
661
674
  slides: n,
@@ -670,17 +683,17 @@ function ft(t) {
670
683
  typeof a == "string" && a.indexOf("%") >= 0 ? a = parseFloat(a.replace("%", "")) / 100 * e.size : typeof a == "string" && (a = parseFloat(a));
671
684
  for (let o = 0; o < n.length; o += 1) {
672
685
  const d = n[o];
673
- let u = d.swiperSlideOffset;
674
- i.cssMode && i.centeredSlides && (u -= n[0].swiperSlideOffset);
675
- const f = (l + (i.centeredSlides ? e.minTranslate() : 0) - u) / (d.swiperSlideSize + a), p = (l - r[0] + (i.centeredSlides ? e.minTranslate() : 0) - u) / (d.swiperSlideSize + a), h = -(l - u), c = h + e.slidesSizesGrid[o], m = h >= 0 && h <= e.size - e.slidesSizesGrid[o], y = h >= 0 && h < e.size - 1 || c > 1 && c <= e.size || h <= 0 && c >= e.size;
676
- y && (e.visibleSlides.push(d), e.visibleSlidesIndexes.push(o)), ge(d, y, i.slideVisibleClass), ge(d, m, i.slideFullyVisibleClass), d.progress = s ? -f : f, d.originalProgress = s ? -p : p;
686
+ let f = d.swiperSlideOffset;
687
+ i.cssMode && i.centeredSlides && (f -= n[0].swiperSlideOffset);
688
+ const u = (l + (i.centeredSlides ? e.minTranslate() : 0) - f) / (d.swiperSlideSize + a), m = (l - r[0] + (i.centeredSlides ? e.minTranslate() : 0) - f) / (d.swiperSlideSize + a), h = -(l - f), c = h + e.slidesSizesGrid[o], g = h >= 0 && h <= e.size - e.slidesSizesGrid[o], E = h >= 0 && h < e.size - 1 || c > 1 && c <= e.size || h <= 0 && c >= e.size;
689
+ E && (e.visibleSlides.push(d), e.visibleSlidesIndexes.push(o)), Se(d, E, i.slideVisibleClass), Se(d, g, i.slideFullyVisibleClass), d.progress = s ? -u : u, d.originalProgress = s ? -m : m;
677
690
  }
678
691
  }
679
- function ct(t) {
692
+ function mt(t) {
680
693
  const e = this;
681
694
  if (typeof t > "u") {
682
- const u = e.rtlTranslate ? -1 : 1;
683
- t = e && e.translate && e.translate * u || 0;
695
+ const f = e.rtlTranslate ? -1 : 1;
696
+ t = e && e.translate && e.translate * f || 0;
684
697
  }
685
698
  const i = e.params, n = e.maxTranslate() - e.minTranslate();
686
699
  let {
@@ -694,12 +707,12 @@ function ct(t) {
694
707
  s = 0, r = !0, l = !0;
695
708
  else {
696
709
  s = (t - e.minTranslate()) / n;
697
- const u = Math.abs(t - e.minTranslate()) < 1, f = Math.abs(t - e.maxTranslate()) < 1;
698
- r = u || s <= 0, l = f || s >= 1, u && (s = 0), f && (s = 1);
710
+ const f = Math.abs(t - e.minTranslate()) < 1, u = Math.abs(t - e.maxTranslate()) < 1;
711
+ r = f || s <= 0, l = u || s >= 1, f && (s = 0), u && (s = 1);
699
712
  }
700
713
  if (i.loop) {
701
- const u = e.getSlideIndexByData(0), f = e.getSlideIndexByData(e.slides.length - 1), p = e.slidesGrid[u], h = e.slidesGrid[f], c = e.slidesGrid[e.slidesGrid.length - 1], m = Math.abs(t);
702
- m >= p ? a = (m - p) / c : a = (m + c - h) / c, a > 1 && (a -= 1);
714
+ const f = e.getSlideIndexByData(0), u = e.getSlideIndexByData(e.slides.length - 1), m = e.slidesGrid[f], h = e.slidesGrid[u], c = e.slidesGrid[e.slidesGrid.length - 1], g = Math.abs(t);
715
+ g >= m ? a = (g - m) / c : a = (g + c - h) / c, a > 1 && (a -= 1);
703
716
  }
704
717
  Object.assign(e, {
705
718
  progress: s,
@@ -708,30 +721,30 @@ function ct(t) {
708
721
  isEnd: l
709
722
  }), (i.watchSlidesProgress || i.centeredSlides && i.autoHeight) && e.updateSlidesProgress(t), r && !o && e.emit("reachBeginning toEdge"), l && !d && e.emit("reachEnd toEdge"), (o && !r || d && !l) && e.emit("fromEdge"), e.emit("progress", s);
710
723
  }
711
- const ie = (t, e, i) => {
724
+ const re = (t, e, i) => {
712
725
  e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
713
726
  };
714
- function pt() {
727
+ function ht() {
715
728
  const t = this, {
716
729
  slides: e,
717
730
  params: i,
718
731
  slidesEl: n,
719
732
  activeIndex: s
720
- } = t, r = t.virtual && i.virtual.enabled, l = t.grid && i.grid && i.grid.rows > 1, a = (f) => N(n, `.${i.slideClass}${f}, swiper-slide${f}`)[0];
721
- let o, d, u;
733
+ } = t, r = t.virtual && i.virtual.enabled, l = t.grid && i.grid && i.grid.rows > 1, a = (u) => H(n, `.${i.slideClass}${u}, swiper-slide${u}`)[0];
734
+ let o, d, f;
722
735
  if (r)
723
736
  if (i.loop) {
724
- let f = s - t.virtual.slidesBefore;
725
- f < 0 && (f = t.virtual.slides.length + f), f >= t.virtual.slides.length && (f -= t.virtual.slides.length), o = a(`[data-swiper-slide-index="${f}"]`);
737
+ let u = s - t.virtual.slidesBefore;
738
+ u < 0 && (u = t.virtual.slides.length + u), u >= t.virtual.slides.length && (u -= t.virtual.slides.length), o = a(`[data-swiper-slide-index="${u}"]`);
726
739
  } else
727
740
  o = a(`[data-swiper-slide-index="${s}"]`);
728
741
  else
729
- l ? (o = e.find((f) => f.column === s), u = e.find((f) => f.column === s + 1), d = e.find((f) => f.column === s - 1)) : o = e[s];
730
- o && (l || (u = Je(o, `.${i.slideClass}, swiper-slide`)[0], i.loop && !u && (u = e[0]), d = Ze(o, `.${i.slideClass}, swiper-slide`)[0], i.loop && !d === 0 && (d = e[e.length - 1]))), e.forEach((f) => {
731
- ie(f, f === o, i.slideActiveClass), ie(f, f === u, i.slideNextClass), ie(f, f === d, i.slidePrevClass);
742
+ l ? (o = e.find((u) => u.column === s), f = e.find((u) => u.column === s + 1), d = e.find((u) => u.column === s - 1)) : o = e[s];
743
+ o && (l || (f = it(o, `.${i.slideClass}, swiper-slide`)[0], i.loop && !f && (f = e[0]), d = tt(o, `.${i.slideClass}, swiper-slide`)[0], i.loop && !d === 0 && (d = e[e.length - 1]))), e.forEach((u) => {
744
+ re(u, u === o, i.slideActiveClass), re(u, u === f, i.slideNextClass), re(u, u === d, i.slidePrevClass);
732
745
  }), t.emitSlidesClasses();
733
746
  }
734
- const U = (t, e) => {
747
+ const Z = (t, e) => {
735
748
  if (!t || t.destroyed || !t.params) return;
736
749
  const i = () => t.isElement ? "swiper-slide" : `.${t.params.slideClass}`, n = e.closest(i());
737
750
  if (n) {
@@ -740,11 +753,11 @@ const U = (t, e) => {
740
753
  n.shadowRoot && (s = n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`), s && s.remove());
741
754
  })), s && s.remove();
742
755
  }
743
- }, ne = (t, e) => {
756
+ }, ae = (t, e) => {
744
757
  if (!t.slides[e]) return;
745
758
  const i = t.slides[e].querySelector('[loading="lazy"]');
746
759
  i && i.removeAttribute("loading");
747
- }, le = (t) => {
760
+ }, ue = (t) => {
748
761
  if (!t || t.destroyed || !t.params) return;
749
762
  let e = t.params.lazyPreloadPrevNext;
750
763
  const i = t.slides.length;
@@ -756,7 +769,7 @@ const U = (t, e) => {
756
769
  a.push(...Array.from({
757
770
  length: e
758
771
  }).map((o, d) => l + n + d)), t.slides.forEach((o, d) => {
759
- a.includes(o.column) && ne(t, d);
772
+ a.includes(o.column) && ae(t, d);
760
773
  });
761
774
  return;
762
775
  }
@@ -764,13 +777,13 @@ const U = (t, e) => {
764
777
  if (t.params.rewind || t.params.loop)
765
778
  for (let l = s - e; l <= r + e; l += 1) {
766
779
  const a = (l % i + i) % i;
767
- (a < s || a > r) && ne(t, a);
780
+ (a < s || a > r) && ae(t, a);
768
781
  }
769
782
  else
770
783
  for (let l = Math.max(s - e, 0); l <= Math.min(r + e, i - 1); l += 1)
771
- l !== s && (l > r || l < s) && ne(t, l);
784
+ l !== s && (l > r || l < s) && ae(t, l);
772
785
  };
773
- function ht(t) {
786
+ function gt(t) {
774
787
  const {
775
788
  slidesGrid: e,
776
789
  params: i
@@ -780,7 +793,7 @@ function ht(t) {
780
793
  typeof e[r + 1] < "u" ? n >= e[r] && n < e[r + 1] - (e[r + 1] - e[r]) / 2 ? s = r : n >= e[r] && n < e[r + 1] && (s = r + 1) : n >= e[r] && (s = r);
781
794
  return i.normalizeSlideIndex && (s < 0 || typeof s > "u") && (s = 0), s;
782
795
  }
783
- function mt(t) {
796
+ function vt(t) {
784
797
  const e = this, i = e.rtlTranslate ? e.translate : -e.translate, {
785
798
  snapGrid: n,
786
799
  params: s,
@@ -789,11 +802,11 @@ function mt(t) {
789
802
  snapIndex: a
790
803
  } = e;
791
804
  let o = t, d;
792
- const u = (h) => {
805
+ const f = (h) => {
793
806
  let c = h - e.virtual.slidesBefore;
794
807
  return c < 0 && (c = e.virtual.slides.length + c), c >= e.virtual.slides.length && (c -= e.virtual.slides.length), c;
795
808
  };
796
- if (typeof o > "u" && (o = ht(e)), n.indexOf(i) >= 0)
809
+ if (typeof o > "u" && (o = gt(e)), n.indexOf(i) >= 0)
797
810
  d = n.indexOf(i);
798
811
  else {
799
812
  const h = Math.min(s.slidesPerGroupSkip, o);
@@ -804,32 +817,32 @@ function mt(t) {
804
817
  return;
805
818
  }
806
819
  if (o === r && e.params.loop && e.virtual && e.params.virtual.enabled) {
807
- e.realIndex = u(o);
820
+ e.realIndex = f(o);
808
821
  return;
809
822
  }
810
- const f = e.grid && s.grid && s.grid.rows > 1;
811
- let p;
823
+ const u = e.grid && s.grid && s.grid.rows > 1;
824
+ let m;
812
825
  if (e.virtual && s.virtual.enabled && s.loop)
813
- p = u(o);
814
- else if (f) {
815
- const h = e.slides.find((m) => m.column === o);
826
+ m = f(o);
827
+ else if (u) {
828
+ const h = e.slides.find((g) => g.column === o);
816
829
  let c = parseInt(h.getAttribute("data-swiper-slide-index"), 10);
817
- Number.isNaN(c) && (c = Math.max(e.slides.indexOf(h), 0)), p = Math.floor(c / s.grid.rows);
830
+ Number.isNaN(c) && (c = Math.max(e.slides.indexOf(h), 0)), m = Math.floor(c / s.grid.rows);
818
831
  } else if (e.slides[o]) {
819
832
  const h = e.slides[o].getAttribute("data-swiper-slide-index");
820
- h ? p = parseInt(h, 10) : p = o;
833
+ h ? m = parseInt(h, 10) : m = o;
821
834
  } else
822
- p = o;
835
+ m = o;
823
836
  Object.assign(e, {
824
837
  previousSnapIndex: a,
825
838
  snapIndex: d,
826
839
  previousRealIndex: l,
827
- realIndex: p,
840
+ realIndex: m,
828
841
  previousIndex: r,
829
842
  activeIndex: o
830
- }), e.initialized && le(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (l !== p && e.emit("realIndexChange"), e.emit("slideChange"));
843
+ }), e.initialized && ue(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (l !== m && e.emit("realIndexChange"), e.emit("slideChange"));
831
844
  }
832
- function gt(t, e) {
845
+ function wt(t, e) {
833
846
  const i = this, n = i.params;
834
847
  let s = t.closest(`.${n.slideClass}, swiper-slide`);
835
848
  !s && i.isElement && e && e.length > 1 && e.includes(t) && [...e.slice(e.indexOf(t) + 1, e.length)].forEach((a) => {
@@ -851,18 +864,18 @@ function gt(t, e) {
851
864
  }
852
865
  n.slideToClickedSlide && i.clickedIndex !== void 0 && i.clickedIndex !== i.activeIndex && i.slideToClickedSlide();
853
866
  }
854
- var vt = {
855
- updateSize: lt,
856
- updateSlides: ot,
857
- updateAutoHeight: dt,
858
- updateSlidesOffset: ut,
859
- updateSlidesProgress: ft,
860
- updateProgress: ct,
861
- updateSlidesClasses: pt,
862
- updateActiveIndex: mt,
863
- updateClickedSlide: gt
867
+ var St = {
868
+ updateSize: dt,
869
+ updateSlides: ft,
870
+ updateAutoHeight: ut,
871
+ updateSlidesOffset: ct,
872
+ updateSlidesProgress: pt,
873
+ updateProgress: mt,
874
+ updateSlidesClasses: ht,
875
+ updateActiveIndex: vt,
876
+ updateClickedSlide: wt
864
877
  };
865
- function wt(t) {
878
+ function bt(t) {
866
879
  t === void 0 && (t = this.isHorizontal() ? "x" : "y");
867
880
  const e = this, {
868
881
  params: i,
@@ -874,10 +887,10 @@ function wt(t) {
874
887
  return n ? -s : s;
875
888
  if (i.cssMode)
876
889
  return s;
877
- let l = Xe(r, t);
890
+ let l = Ke(r, t);
878
891
  return l += e.cssOverflowAdjustment(), n && (l = -l), l || 0;
879
892
  }
880
- function St(t, e) {
893
+ function Tt(t, e) {
881
894
  const i = this, {
882
895
  rtlTranslate: n,
883
896
  params: s,
@@ -887,17 +900,17 @@ function St(t, e) {
887
900
  let a = 0, o = 0;
888
901
  const d = 0;
889
902
  i.isHorizontal() ? a = n ? -t : t : o = t, s.roundLengths && (a = Math.floor(a), o = Math.floor(o)), i.previousTranslate = i.translate, i.translate = i.isHorizontal() ? a : o, s.cssMode ? r[i.isHorizontal() ? "scrollLeft" : "scrollTop"] = i.isHorizontal() ? -a : -o : s.virtualTranslate || (i.isHorizontal() ? a -= i.cssOverflowAdjustment() : o -= i.cssOverflowAdjustment(), r.style.transform = `translate3d(${a}px, ${o}px, ${d}px)`);
890
- let u;
891
- const f = i.maxTranslate() - i.minTranslate();
892
- f === 0 ? u = 0 : u = (t - i.minTranslate()) / f, u !== l && i.updateProgress(t), i.emit("setTranslate", i.translate, e);
903
+ let f;
904
+ const u = i.maxTranslate() - i.minTranslate();
905
+ u === 0 ? f = 0 : f = (t - i.minTranslate()) / u, f !== l && i.updateProgress(t), i.emit("setTranslate", i.translate, e);
893
906
  }
894
- function bt() {
907
+ function yt() {
895
908
  return -this.snapGrid[0];
896
909
  }
897
- function yt() {
910
+ function Et() {
898
911
  return -this.snapGrid[this.snapGrid.length - 1];
899
912
  }
900
- function Tt(t, e, i, n, s) {
913
+ function xt(t, e, i, n, s) {
901
914
  t === void 0 && (t = 0), e === void 0 && (e = this.params.speed), i === void 0 && (i = !0), n === void 0 && (n = !0);
902
915
  const r = this, {
903
916
  params: l,
@@ -906,41 +919,41 @@ function Tt(t, e, i, n, s) {
906
919
  if (r.animating && l.preventInteractionOnTransition)
907
920
  return !1;
908
921
  const o = r.minTranslate(), d = r.maxTranslate();
909
- let u;
910
- if (n && t > o ? u = o : n && t < d ? u = d : u = t, r.updateProgress(u), l.cssMode) {
911
- const f = r.isHorizontal();
922
+ let f;
923
+ if (n && t > o ? f = o : n && t < d ? f = d : f = t, r.updateProgress(f), l.cssMode) {
924
+ const u = r.isHorizontal();
912
925
  if (e === 0)
913
- a[f ? "scrollLeft" : "scrollTop"] = -u;
926
+ a[u ? "scrollLeft" : "scrollTop"] = -f;
914
927
  else {
915
928
  if (!r.support.smoothScroll)
916
- return Me({
929
+ return Oe({
917
930
  swiper: r,
918
- targetPosition: -u,
919
- side: f ? "left" : "top"
931
+ targetPosition: -f,
932
+ side: u ? "left" : "top"
920
933
  }), !0;
921
934
  a.scrollTo({
922
- [f ? "left" : "top"]: -u,
935
+ [u ? "left" : "top"]: -f,
923
936
  behavior: "smooth"
924
937
  });
925
938
  }
926
939
  return !0;
927
940
  }
928
- return e === 0 ? (r.setTransition(0), r.setTranslate(u), i && (r.emit("beforeTransitionStart", e, s), r.emit("transitionEnd"))) : (r.setTransition(e), r.setTranslate(u), i && (r.emit("beforeTransitionStart", e, s), r.emit("transitionStart")), r.animating || (r.animating = !0, r.onTranslateToWrapperTransitionEnd || (r.onTranslateToWrapperTransitionEnd = function(p) {
929
- !r || r.destroyed || p.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onTranslateToWrapperTransitionEnd), r.onTranslateToWrapperTransitionEnd = null, delete r.onTranslateToWrapperTransitionEnd, r.animating = !1, i && r.emit("transitionEnd"));
941
+ return e === 0 ? (r.setTransition(0), r.setTranslate(f), i && (r.emit("beforeTransitionStart", e, s), r.emit("transitionEnd"))) : (r.setTransition(e), r.setTranslate(f), i && (r.emit("beforeTransitionStart", e, s), r.emit("transitionStart")), r.animating || (r.animating = !0, r.onTranslateToWrapperTransitionEnd || (r.onTranslateToWrapperTransitionEnd = function(m) {
942
+ !r || r.destroyed || m.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onTranslateToWrapperTransitionEnd), r.onTranslateToWrapperTransitionEnd = null, delete r.onTranslateToWrapperTransitionEnd, r.animating = !1, i && r.emit("transitionEnd"));
930
943
  }), r.wrapperEl.addEventListener("transitionend", r.onTranslateToWrapperTransitionEnd))), !0;
931
944
  }
932
- var xt = {
933
- getTranslate: wt,
934
- setTranslate: St,
935
- minTranslate: bt,
936
- maxTranslate: yt,
937
- translateTo: Tt
945
+ var Mt = {
946
+ getTranslate: bt,
947
+ setTranslate: Tt,
948
+ minTranslate: yt,
949
+ maxTranslate: Et,
950
+ translateTo: xt
938
951
  };
939
- function Et(t, e) {
952
+ function Pt(t, e) {
940
953
  const i = this;
941
954
  i.params.cssMode || (i.wrapperEl.style.transitionDuration = `${t}ms`, i.wrapperEl.style.transitionDelay = t === 0 ? "0ms" : ""), i.emit("setTransition", t, e);
942
955
  }
943
- function ze(t) {
956
+ function Ae(t) {
944
957
  let {
945
958
  swiper: e,
946
959
  runCallbacks: i,
@@ -954,36 +967,36 @@ function ze(t) {
954
967
  let a = n;
955
968
  a || (r > l ? a = "next" : r < l ? a = "prev" : a = "reset"), e.emit(`transition${s}`), i && a === "reset" ? e.emit(`slideResetTransition${s}`) : i && r !== l && (e.emit(`slideChangeTransition${s}`), a === "next" ? e.emit(`slideNextTransition${s}`) : e.emit(`slidePrevTransition${s}`));
956
969
  }
957
- function Pt(t, e) {
970
+ function Ct(t, e) {
958
971
  t === void 0 && (t = !0);
959
972
  const i = this, {
960
973
  params: n
961
974
  } = i;
962
- n.cssMode || (n.autoHeight && i.updateAutoHeight(), ze({
975
+ n.cssMode || (n.autoHeight && i.updateAutoHeight(), Ae({
963
976
  swiper: i,
964
977
  runCallbacks: t,
965
978
  direction: e,
966
979
  step: "Start"
967
980
  }));
968
981
  }
969
- function Ct(t, e) {
982
+ function It(t, e) {
970
983
  t === void 0 && (t = !0);
971
984
  const i = this, {
972
985
  params: n
973
986
  } = i;
974
- i.animating = !1, !n.cssMode && (i.setTransition(0), ze({
987
+ i.animating = !1, !n.cssMode && (i.setTransition(0), Ae({
975
988
  swiper: i,
976
989
  runCallbacks: t,
977
990
  direction: e,
978
991
  step: "End"
979
992
  }));
980
993
  }
981
- var Mt = {
982
- setTransition: Et,
983
- transitionStart: Pt,
984
- transitionEnd: Ct
994
+ var Ot = {
995
+ setTransition: Pt,
996
+ transitionStart: Ct,
997
+ transitionEnd: It
985
998
  };
986
- function It(t, e, i, n, s) {
999
+ function Lt(t, e, i, n, s) {
987
1000
  t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
988
1001
  const r = this;
989
1002
  let l = t;
@@ -992,60 +1005,60 @@ function It(t, e, i, n, s) {
992
1005
  params: a,
993
1006
  snapGrid: o,
994
1007
  slidesGrid: d,
995
- previousIndex: u,
996
- activeIndex: f,
997
- rtlTranslate: p,
1008
+ previousIndex: f,
1009
+ activeIndex: u,
1010
+ rtlTranslate: m,
998
1011
  wrapperEl: h,
999
1012
  enabled: c
1000
1013
  } = r;
1001
1014
  if (!c && !n && !s || r.destroyed || r.animating && a.preventInteractionOnTransition)
1002
1015
  return !1;
1003
1016
  typeof e > "u" && (e = r.params.speed);
1004
- const m = Math.min(r.params.slidesPerGroupSkip, l);
1005
- let y = m + Math.floor((l - m) / r.params.slidesPerGroup);
1006
- y >= o.length && (y = o.length - 1);
1007
- const g = -o[y];
1017
+ const g = Math.min(r.params.slidesPerGroupSkip, l);
1018
+ let E = g + Math.floor((l - g) / r.params.slidesPerGroup);
1019
+ E >= o.length && (E = o.length - 1);
1020
+ const v = -o[E];
1008
1021
  if (a.normalizeSlideIndex)
1009
- for (let C = 0; C < d.length; C += 1) {
1010
- const x = -Math.floor(g * 100), S = Math.floor(d[C] * 100), b = Math.floor(d[C + 1] * 100);
1011
- typeof d[C + 1] < "u" ? x >= S && x < b - (b - S) / 2 ? l = C : x >= S && x < b && (l = C + 1) : x >= S && (l = C);
1022
+ for (let P = 0; P < d.length; P += 1) {
1023
+ const y = -Math.floor(v * 100), w = Math.floor(d[P] * 100), b = Math.floor(d[P + 1] * 100);
1024
+ typeof d[P + 1] < "u" ? y >= w && y < b - (b - w) / 2 ? l = P : y >= w && y < b && (l = P + 1) : y >= w && (l = P);
1012
1025
  }
1013
- if (r.initialized && l !== f && (!r.allowSlideNext && (p ? g > r.translate && g > r.minTranslate() : g < r.translate && g < r.minTranslate()) || !r.allowSlidePrev && g > r.translate && g > r.maxTranslate() && (f || 0) !== l))
1026
+ if (r.initialized && l !== u && (!r.allowSlideNext && (m ? v > r.translate && v > r.minTranslate() : v < r.translate && v < r.minTranslate()) || !r.allowSlidePrev && v > r.translate && v > r.maxTranslate() && (u || 0) !== l))
1014
1027
  return !1;
1015
- l !== (u || 0) && i && r.emit("beforeSlideChangeStart"), r.updateProgress(g);
1016
- let w;
1017
- l > f ? w = "next" : l < f ? w = "prev" : w = "reset";
1018
- const v = r.virtual && r.params.virtual.enabled;
1019
- if (!(v && s) && (p && -g === r.translate || !p && g === r.translate))
1020
- return r.updateActiveIndex(l), a.autoHeight && r.updateAutoHeight(), r.updateSlidesClasses(), a.effect !== "slide" && r.setTranslate(g), w !== "reset" && (r.transitionStart(i, w), r.transitionEnd(i, w)), !1;
1028
+ l !== (f || 0) && i && r.emit("beforeSlideChangeStart"), r.updateProgress(v);
1029
+ let S;
1030
+ l > u ? S = "next" : l < u ? S = "prev" : S = "reset";
1031
+ const p = r.virtual && r.params.virtual.enabled;
1032
+ if (!(p && s) && (m && -v === r.translate || !m && v === r.translate))
1033
+ return r.updateActiveIndex(l), a.autoHeight && r.updateAutoHeight(), r.updateSlidesClasses(), a.effect !== "slide" && r.setTranslate(v), S !== "reset" && (r.transitionStart(i, S), r.transitionEnd(i, S)), !1;
1021
1034
  if (a.cssMode) {
1022
- const C = r.isHorizontal(), x = p ? g : -g;
1035
+ const P = r.isHorizontal(), y = m ? v : -v;
1023
1036
  if (e === 0)
1024
- v && (r.wrapperEl.style.scrollSnapType = "none", r._immediateVirtual = !0), v && !r._cssModeVirtualInitialSet && r.params.initialSlide > 0 ? (r._cssModeVirtualInitialSet = !0, requestAnimationFrame(() => {
1025
- h[C ? "scrollLeft" : "scrollTop"] = x;
1026
- })) : h[C ? "scrollLeft" : "scrollTop"] = x, v && requestAnimationFrame(() => {
1037
+ p && (r.wrapperEl.style.scrollSnapType = "none", r._immediateVirtual = !0), p && !r._cssModeVirtualInitialSet && r.params.initialSlide > 0 ? (r._cssModeVirtualInitialSet = !0, requestAnimationFrame(() => {
1038
+ h[P ? "scrollLeft" : "scrollTop"] = y;
1039
+ })) : h[P ? "scrollLeft" : "scrollTop"] = y, p && requestAnimationFrame(() => {
1027
1040
  r.wrapperEl.style.scrollSnapType = "", r._immediateVirtual = !1;
1028
1041
  });
1029
1042
  else {
1030
1043
  if (!r.support.smoothScroll)
1031
- return Me({
1044
+ return Oe({
1032
1045
  swiper: r,
1033
- targetPosition: x,
1034
- side: C ? "left" : "top"
1046
+ targetPosition: y,
1047
+ side: P ? "left" : "top"
1035
1048
  }), !0;
1036
1049
  h.scrollTo({
1037
- [C ? "left" : "top"]: x,
1050
+ [P ? "left" : "top"]: y,
1038
1051
  behavior: "smooth"
1039
1052
  });
1040
1053
  }
1041
1054
  return !0;
1042
1055
  }
1043
- const M = Le().isSafari;
1044
- return v && !s && M && r.isElement && r.virtual.update(!1, !1, l), r.setTransition(e), r.setTranslate(g), r.updateActiveIndex(l), r.updateSlidesClasses(), r.emit("beforeTransitionStart", e, n), r.transitionStart(i, w), e === 0 ? r.transitionEnd(i, w) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function(x) {
1045
- !r || r.destroyed || x.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, w));
1056
+ const C = ze().isSafari;
1057
+ return p && !s && C && r.isElement && r.virtual.update(!1, !1, l), r.setTransition(e), r.setTranslate(v), r.updateActiveIndex(l), r.updateSlidesClasses(), r.emit("beforeTransitionStart", e, n), r.transitionStart(i, S), e === 0 ? r.transitionEnd(i, S) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function(y) {
1058
+ !r || r.destroyed || y.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, S));
1046
1059
  }), r.wrapperEl.addEventListener("transitionend", r.onSlideToWrapperTransitionEnd)), !0;
1047
1060
  }
1048
- function Ot(t, e, i, n) {
1061
+ function Bt(t, e, i, n) {
1049
1062
  t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
1050
1063
  const s = this;
1051
1064
  if (s.destroyed) return;
@@ -1058,28 +1071,28 @@ function Ot(t, e, i, n) {
1058
1071
  else {
1059
1072
  let a;
1060
1073
  if (r) {
1061
- const p = l * s.params.grid.rows;
1062
- a = s.slides.find((h) => h.getAttribute("data-swiper-slide-index") * 1 === p).column;
1074
+ const m = l * s.params.grid.rows;
1075
+ a = s.slides.find((h) => h.getAttribute("data-swiper-slide-index") * 1 === m).column;
1063
1076
  } else
1064
1077
  a = s.getSlideIndexByData(l);
1065
1078
  const o = r ? Math.ceil(s.slides.length / s.params.grid.rows) : s.slides.length, {
1066
1079
  centeredSlides: d
1067
1080
  } = s.params;
1068
- let u = s.params.slidesPerView;
1069
- u === "auto" ? u = s.slidesPerViewDynamic() : (u = Math.ceil(parseFloat(s.params.slidesPerView, 10)), d && u % 2 === 0 && (u = u + 1));
1070
- let f = o - a < u;
1071
- if (d && (f = f || a < Math.ceil(u / 2)), n && d && s.params.slidesPerView !== "auto" && !r && (f = !1), f) {
1072
- const p = d ? a < s.activeIndex ? "prev" : "next" : a - s.activeIndex - 1 < s.params.slidesPerView ? "next" : "prev";
1081
+ let f = s.params.slidesPerView;
1082
+ f === "auto" ? f = s.slidesPerViewDynamic() : (f = Math.ceil(parseFloat(s.params.slidesPerView, 10)), d && f % 2 === 0 && (f = f + 1));
1083
+ let u = o - a < f;
1084
+ if (d && (u = u || a < Math.ceil(f / 2)), n && d && s.params.slidesPerView !== "auto" && !r && (u = !1), u) {
1085
+ const m = d ? a < s.activeIndex ? "prev" : "next" : a - s.activeIndex - 1 < s.params.slidesPerView ? "next" : "prev";
1073
1086
  s.loopFix({
1074
- direction: p,
1087
+ direction: m,
1075
1088
  slideTo: !0,
1076
- activeSlideIndex: p === "next" ? a + 1 : a - o + 1,
1077
- slideRealIndex: p === "next" ? s.realIndex : void 0
1089
+ activeSlideIndex: m === "next" ? a + 1 : a - o + 1,
1090
+ slideRealIndex: m === "next" ? s.realIndex : void 0
1078
1091
  });
1079
1092
  }
1080
1093
  if (r) {
1081
- const p = l * s.params.grid.rows;
1082
- l = s.slides.find((h) => h.getAttribute("data-swiper-slide-index") * 1 === p).column;
1094
+ const m = l * s.params.grid.rows;
1095
+ l = s.slides.find((h) => h.getAttribute("data-swiper-slide-index") * 1 === m).column;
1083
1096
  } else
1084
1097
  l = s.getSlideIndexByData(l);
1085
1098
  }
@@ -1087,7 +1100,7 @@ function Ot(t, e, i, n) {
1087
1100
  s.slideTo(l, e, i, n);
1088
1101
  }), s;
1089
1102
  }
1090
- function Lt(t, e, i) {
1103
+ function zt(t, e, i) {
1091
1104
  e === void 0 && (e = !0);
1092
1105
  const n = this, {
1093
1106
  enabled: s,
@@ -1110,7 +1123,7 @@ function Lt(t, e, i) {
1110
1123
  }
1111
1124
  return r.rewind && n.isEnd ? n.slideTo(0, t, e, i) : n.slideTo(n.activeIndex + o, t, e, i);
1112
1125
  }
1113
- function zt(t, e, i) {
1126
+ function At(t, e, i) {
1114
1127
  e === void 0 && (e = !0);
1115
1128
  const n = this, {
1116
1129
  params: s,
@@ -1122,42 +1135,42 @@ function zt(t, e, i) {
1122
1135
  } = n;
1123
1136
  if (!o || n.destroyed) return n;
1124
1137
  typeof t > "u" && (t = n.params.speed);
1125
- const u = n.virtual && s.virtual.enabled;
1138
+ const f = n.virtual && s.virtual.enabled;
1126
1139
  if (s.loop) {
1127
- if (d && !u && s.loopPreventsSliding) return !1;
1140
+ if (d && !f && s.loopPreventsSliding) return !1;
1128
1141
  n.loopFix({
1129
1142
  direction: "prev"
1130
1143
  }), n._clientLeft = n.wrapperEl.clientLeft;
1131
1144
  }
1132
- const f = a ? n.translate : -n.translate;
1133
- function p(w) {
1134
- return w < 0 ? -Math.floor(Math.abs(w)) : Math.floor(w);
1135
- }
1136
- const h = p(f), c = r.map((w) => p(w)), m = s.freeMode && s.freeMode.enabled;
1137
- let y = r[c.indexOf(h) - 1];
1138
- if (typeof y > "u" && (s.cssMode || m)) {
1139
- let w;
1140
- r.forEach((v, E) => {
1141
- h >= v && (w = E);
1142
- }), typeof w < "u" && (y = m ? r[w] : r[w > 0 ? w - 1 : w]);
1143
- }
1144
- let g = 0;
1145
- if (typeof y < "u" && (g = l.indexOf(y), g < 0 && (g = n.activeIndex - 1), s.slidesPerView === "auto" && s.slidesPerGroup === 1 && s.slidesPerGroupAuto && (g = g - n.slidesPerViewDynamic("previous", !0) + 1, g = Math.max(g, 0))), s.rewind && n.isBeginning) {
1146
- const w = n.params.virtual && n.params.virtual.enabled && n.virtual ? n.virtual.slides.length - 1 : n.slides.length - 1;
1147
- return n.slideTo(w, t, e, i);
1145
+ const u = a ? n.translate : -n.translate;
1146
+ function m(S) {
1147
+ return S < 0 ? -Math.floor(Math.abs(S)) : Math.floor(S);
1148
+ }
1149
+ const h = m(u), c = r.map((S) => m(S)), g = s.freeMode && s.freeMode.enabled;
1150
+ let E = r[c.indexOf(h) - 1];
1151
+ if (typeof E > "u" && (s.cssMode || g)) {
1152
+ let S;
1153
+ r.forEach((p, T) => {
1154
+ h >= p && (S = T);
1155
+ }), typeof S < "u" && (E = g ? r[S] : r[S > 0 ? S - 1 : S]);
1156
+ }
1157
+ let v = 0;
1158
+ if (typeof E < "u" && (v = l.indexOf(E), v < 0 && (v = n.activeIndex - 1), s.slidesPerView === "auto" && s.slidesPerGroup === 1 && s.slidesPerGroupAuto && (v = v - n.slidesPerViewDynamic("previous", !0) + 1, v = Math.max(v, 0))), s.rewind && n.isBeginning) {
1159
+ const S = n.params.virtual && n.params.virtual.enabled && n.virtual ? n.virtual.slides.length - 1 : n.slides.length - 1;
1160
+ return n.slideTo(S, t, e, i);
1148
1161
  } else if (s.loop && n.activeIndex === 0 && s.cssMode)
1149
1162
  return requestAnimationFrame(() => {
1150
- n.slideTo(g, t, e, i);
1163
+ n.slideTo(v, t, e, i);
1151
1164
  }), !0;
1152
- return n.slideTo(g, t, e, i);
1165
+ return n.slideTo(v, t, e, i);
1153
1166
  }
1154
- function Bt(t, e, i) {
1167
+ function _t(t, e, i) {
1155
1168
  e === void 0 && (e = !0);
1156
1169
  const n = this;
1157
1170
  if (!n.destroyed)
1158
1171
  return typeof t > "u" && (t = n.params.speed), n.slideTo(n.activeIndex, t, e, i);
1159
1172
  }
1160
- function At(t, e, i, n) {
1173
+ function Dt(t, e, i, n) {
1161
1174
  e === void 0 && (e = !0), n === void 0 && (n = 0.5);
1162
1175
  const s = this;
1163
1176
  if (s.destroyed) return;
@@ -1165,15 +1178,15 @@ function At(t, e, i, n) {
1165
1178
  let r = s.activeIndex;
1166
1179
  const l = Math.min(s.params.slidesPerGroupSkip, r), a = l + Math.floor((r - l) / s.params.slidesPerGroup), o = s.rtlTranslate ? s.translate : -s.translate;
1167
1180
  if (o >= s.snapGrid[a]) {
1168
- const d = s.snapGrid[a], u = s.snapGrid[a + 1];
1169
- o - d > (u - d) * n && (r += s.params.slidesPerGroup);
1181
+ const d = s.snapGrid[a], f = s.snapGrid[a + 1];
1182
+ o - d > (f - d) * n && (r += s.params.slidesPerGroup);
1170
1183
  } else {
1171
- const d = s.snapGrid[a - 1], u = s.snapGrid[a];
1172
- o - d <= (u - d) * n && (r -= s.params.slidesPerGroup);
1184
+ const d = s.snapGrid[a - 1], f = s.snapGrid[a];
1185
+ o - d <= (f - d) * n && (r -= s.params.slidesPerGroup);
1173
1186
  }
1174
1187
  return r = Math.max(r, 0), r = Math.min(r, s.slidesGrid.length - 1), s.slideTo(r, t, e, i);
1175
1188
  }
1176
- function _t() {
1189
+ function Gt() {
1177
1190
  const t = this;
1178
1191
  if (t.destroyed) return;
1179
1192
  const {
@@ -1184,57 +1197,57 @@ function _t() {
1184
1197
  const l = t.isElement ? "swiper-slide" : `.${e.slideClass}`, a = t.grid && t.params.grid && t.params.grid.rows > 1;
1185
1198
  if (e.loop) {
1186
1199
  if (t.animating) return;
1187
- r = parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? t.slideToLoop(r) : s > (a ? (t.slides.length - n) / 2 - (t.params.grid.rows - 1) : t.slides.length - n) ? (t.loopFix(), s = t.getSlideIndex(N(i, `${l}[data-swiper-slide-index="${r}"]`)[0]), Ce(() => {
1200
+ r = parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? t.slideToLoop(r) : s > (a ? (t.slides.length - n) / 2 - (t.params.grid.rows - 1) : t.slides.length - n) ? (t.loopFix(), s = t.getSlideIndex(H(i, `${l}[data-swiper-slide-index="${r}"]`)[0]), Q(() => {
1188
1201
  t.slideTo(s);
1189
1202
  })) : t.slideTo(s);
1190
1203
  } else
1191
1204
  t.slideTo(s);
1192
1205
  }
1193
- var Gt = {
1194
- slideTo: It,
1195
- slideToLoop: Ot,
1196
- slideNext: Lt,
1197
- slidePrev: zt,
1198
- slideReset: Bt,
1199
- slideToClosest: At,
1200
- slideToClickedSlide: _t
1206
+ var Nt = {
1207
+ slideTo: Lt,
1208
+ slideToLoop: Bt,
1209
+ slideNext: zt,
1210
+ slidePrev: At,
1211
+ slideReset: _t,
1212
+ slideToClosest: Dt,
1213
+ slideToClickedSlide: Gt
1201
1214
  };
1202
- function Dt(t, e) {
1215
+ function Vt(t, e) {
1203
1216
  const i = this, {
1204
1217
  params: n,
1205
1218
  slidesEl: s
1206
1219
  } = i;
1207
1220
  if (!n.loop || i.virtual && i.params.virtual.enabled) return;
1208
1221
  const r = () => {
1209
- N(s, `.${n.slideClass}, swiper-slide`).forEach((h, c) => {
1222
+ H(s, `.${n.slideClass}, swiper-slide`).forEach((h, c) => {
1210
1223
  h.setAttribute("data-swiper-slide-index", c);
1211
1224
  });
1212
1225
  }, l = () => {
1213
- const p = N(s, `.${n.slideBlankClass}`);
1214
- p.forEach((h) => {
1226
+ const m = H(s, `.${n.slideBlankClass}`);
1227
+ m.forEach((h) => {
1215
1228
  h.remove();
1216
- }), p.length > 0 && (i.recalcSlides(), i.updateSlides());
1229
+ }), m.length > 0 && (i.recalcSlides(), i.updateSlides());
1217
1230
  }, a = i.grid && n.grid && n.grid.rows > 1;
1218
1231
  n.loopAddBlankSlides && (n.slidesPerGroup > 1 || a) && l();
1219
- const o = n.slidesPerGroup * (a ? n.grid.rows : 1), d = i.slides.length % o !== 0, u = a && i.slides.length % n.grid.rows !== 0, f = (p) => {
1220
- for (let h = 0; h < p; h += 1) {
1221
- const c = i.isElement ? Z("swiper-slide", [n.slideBlankClass]) : Z("div", [n.slideClass, n.slideBlankClass]);
1232
+ const o = n.slidesPerGroup * (a ? n.grid.rows : 1), d = i.slides.length % o !== 0, f = a && i.slides.length % n.grid.rows !== 0, u = (m) => {
1233
+ for (let h = 0; h < m; h += 1) {
1234
+ const c = i.isElement ? ee("swiper-slide", [n.slideBlankClass]) : ee("div", [n.slideClass, n.slideBlankClass]);
1222
1235
  i.slidesEl.append(c);
1223
1236
  }
1224
1237
  };
1225
1238
  if (d) {
1226
1239
  if (n.loopAddBlankSlides) {
1227
- const p = o - i.slides.length % o;
1228
- f(p), i.recalcSlides(), i.updateSlides();
1240
+ const m = o - i.slides.length % o;
1241
+ u(m), i.recalcSlides(), i.updateSlides();
1229
1242
  } else
1230
- Q("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
1243
+ J("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
1231
1244
  r();
1232
- } else if (u) {
1245
+ } else if (f) {
1233
1246
  if (n.loopAddBlankSlides) {
1234
- const p = n.grid.rows - i.slides.length % n.grid.rows;
1235
- f(p), i.recalcSlides(), i.updateSlides();
1247
+ const m = n.grid.rows - i.slides.length % n.grid.rows;
1248
+ u(m), i.recalcSlides(), i.updateSlides();
1236
1249
  } else
1237
- Q("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
1250
+ J("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
1238
1251
  r();
1239
1252
  } else
1240
1253
  r();
@@ -1244,7 +1257,7 @@ function Dt(t, e) {
1244
1257
  initial: e
1245
1258
  });
1246
1259
  }
1247
- function Nt(t) {
1260
+ function kt(t) {
1248
1261
  let {
1249
1262
  slideRealIndex: e,
1250
1263
  slideTo: i = !0,
@@ -1259,80 +1272,80 @@ function Nt(t) {
1259
1272
  if (!d.params.loop) return;
1260
1273
  d.emit("beforeLoopFix");
1261
1274
  const {
1262
- slides: u,
1263
- allowSlidePrev: f,
1264
- allowSlideNext: p,
1275
+ slides: f,
1276
+ allowSlidePrev: u,
1277
+ allowSlideNext: m,
1265
1278
  slidesEl: h,
1266
1279
  params: c
1267
1280
  } = d, {
1268
- centeredSlides: m,
1269
- initialSlide: y
1281
+ centeredSlides: g,
1282
+ initialSlide: E
1270
1283
  } = c;
1271
1284
  if (d.allowSlidePrev = !0, d.allowSlideNext = !0, d.virtual && c.virtual.enabled) {
1272
- i && (!c.centeredSlides && d.snapIndex === 0 ? d.slideTo(d.virtual.slides.length, 0, !1, !0) : c.centeredSlides && d.snapIndex < c.slidesPerView ? d.slideTo(d.virtual.slides.length + d.snapIndex, 0, !1, !0) : d.snapIndex === d.snapGrid.length - 1 && d.slideTo(d.virtual.slidesBefore, 0, !1, !0)), d.allowSlidePrev = f, d.allowSlideNext = p, d.emit("loopFix");
1285
+ i && (!c.centeredSlides && d.snapIndex === 0 ? d.slideTo(d.virtual.slides.length, 0, !1, !0) : c.centeredSlides && d.snapIndex < c.slidesPerView ? d.slideTo(d.virtual.slides.length + d.snapIndex, 0, !1, !0) : d.snapIndex === d.snapGrid.length - 1 && d.slideTo(d.virtual.slidesBefore, 0, !1, !0)), d.allowSlidePrev = u, d.allowSlideNext = m, d.emit("loopFix");
1273
1286
  return;
1274
1287
  }
1275
- let g = c.slidesPerView;
1276
- g === "auto" ? g = d.slidesPerViewDynamic() : (g = Math.ceil(parseFloat(c.slidesPerView, 10)), m && g % 2 === 0 && (g = g + 1));
1277
- const w = c.slidesPerGroupAuto ? g : c.slidesPerGroup;
1278
- let v = m ? Math.max(w, Math.ceil(g / 2)) : w;
1279
- v % w !== 0 && (v += w - v % w), v += c.loopAdditionalSlides, d.loopedSlides = v;
1280
- const E = d.grid && c.grid && c.grid.rows > 1;
1281
- u.length < g + v || d.params.effect === "cards" && u.length < g + v * 2 ? Q("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : E && c.grid.fill === "row" && Q("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
1282
- const T = [], M = [], C = E ? Math.ceil(u.length / c.grid.rows) : u.length, x = l && C - y < g && !m;
1283
- let S = x ? y : d.activeIndex;
1284
- typeof r > "u" ? r = d.getSlideIndex(u.find((I) => I.classList.contains(c.slideActiveClass))) : S = r;
1285
- const b = n === "next" || !n, P = n === "prev" || !n;
1286
- let O = 0, L = 0;
1287
- const H = (E ? u[r].column : r) + (m && typeof s > "u" ? -g / 2 + 0.5 : 0);
1288
- if (H < v) {
1289
- O = Math.max(v - H, w);
1290
- for (let I = 0; I < v - H; I += 1) {
1291
- const z = I - Math.floor(I / C) * C;
1292
- if (E) {
1293
- const A = C - z - 1;
1294
- for (let V = u.length - 1; V >= 0; V -= 1)
1295
- u[V].column === A && T.push(V);
1288
+ let v = c.slidesPerView;
1289
+ v === "auto" ? v = d.slidesPerViewDynamic() : (v = Math.ceil(parseFloat(c.slidesPerView, 10)), g && v % 2 === 0 && (v = v + 1));
1290
+ const S = c.slidesPerGroupAuto ? v : c.slidesPerGroup;
1291
+ let p = g ? Math.max(S, Math.ceil(v / 2)) : S;
1292
+ p % S !== 0 && (p += S - p % S), p += c.loopAdditionalSlides, d.loopedSlides = p;
1293
+ const T = d.grid && c.grid && c.grid.rows > 1;
1294
+ f.length < v + p || d.params.effect === "cards" && f.length < v + p * 2 ? J("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : T && c.grid.fill === "row" && J("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
1295
+ const x = [], C = [], P = T ? Math.ceil(f.length / c.grid.rows) : f.length, y = l && P - E < v && !g;
1296
+ let w = y ? E : d.activeIndex;
1297
+ typeof r > "u" ? r = d.getSlideIndex(f.find((L) => L.classList.contains(c.slideActiveClass))) : w = r;
1298
+ const b = n === "next" || !n, M = n === "prev" || !n;
1299
+ let I = 0, O = 0;
1300
+ const D = (T ? f[r].column : r) + (g && typeof s > "u" ? -v / 2 + 0.5 : 0);
1301
+ if (D < p) {
1302
+ I = Math.max(p - D, S);
1303
+ for (let L = 0; L < p - D; L += 1) {
1304
+ const z = L - Math.floor(L / P) * P;
1305
+ if (T) {
1306
+ const A = P - z - 1;
1307
+ for (let V = f.length - 1; V >= 0; V -= 1)
1308
+ f[V].column === A && x.push(V);
1296
1309
  } else
1297
- T.push(C - z - 1);
1310
+ x.push(P - z - 1);
1298
1311
  }
1299
- } else if (H + g > C - v) {
1300
- L = Math.max(H - (C - v * 2), w), x && (L = Math.max(L, g - C + y + 1));
1301
- for (let I = 0; I < L; I += 1) {
1302
- const z = I - Math.floor(I / C) * C;
1303
- E ? u.forEach((A, V) => {
1304
- A.column === z && M.push(V);
1305
- }) : M.push(z);
1312
+ } else if (D + v > P - p) {
1313
+ O = Math.max(D - (P - p * 2), S), y && (O = Math.max(O, v - P + E + 1));
1314
+ for (let L = 0; L < O; L += 1) {
1315
+ const z = L - Math.floor(L / P) * P;
1316
+ T ? f.forEach((A, V) => {
1317
+ A.column === z && C.push(V);
1318
+ }) : C.push(z);
1306
1319
  }
1307
1320
  }
1308
1321
  if (d.__preventObserver__ = !0, requestAnimationFrame(() => {
1309
1322
  d.__preventObserver__ = !1;
1310
- }), d.params.effect === "cards" && u.length < g + v * 2 && (M.includes(r) && M.splice(M.indexOf(r), 1), T.includes(r) && T.splice(T.indexOf(r), 1)), P && T.forEach((I) => {
1311
- u[I].swiperLoopMoveDOM = !0, h.prepend(u[I]), u[I].swiperLoopMoveDOM = !1;
1312
- }), b && M.forEach((I) => {
1313
- u[I].swiperLoopMoveDOM = !0, h.append(u[I]), u[I].swiperLoopMoveDOM = !1;
1314
- }), d.recalcSlides(), c.slidesPerView === "auto" ? d.updateSlides() : E && (T.length > 0 && P || M.length > 0 && b) && d.slides.forEach((I, z) => {
1315
- d.grid.updateSlide(z, I, d.slides);
1323
+ }), d.params.effect === "cards" && f.length < v + p * 2 && (C.includes(r) && C.splice(C.indexOf(r), 1), x.includes(r) && x.splice(x.indexOf(r), 1)), M && x.forEach((L) => {
1324
+ f[L].swiperLoopMoveDOM = !0, h.prepend(f[L]), f[L].swiperLoopMoveDOM = !1;
1325
+ }), b && C.forEach((L) => {
1326
+ f[L].swiperLoopMoveDOM = !0, h.append(f[L]), f[L].swiperLoopMoveDOM = !1;
1327
+ }), d.recalcSlides(), c.slidesPerView === "auto" ? d.updateSlides() : T && (x.length > 0 && M || C.length > 0 && b) && d.slides.forEach((L, z) => {
1328
+ d.grid.updateSlide(z, L, d.slides);
1316
1329
  }), c.watchSlidesProgress && d.updateSlidesOffset(), i) {
1317
- if (T.length > 0 && P) {
1330
+ if (x.length > 0 && M) {
1318
1331
  if (typeof e > "u") {
1319
- const I = d.slidesGrid[S], A = d.slidesGrid[S + O] - I;
1320
- o ? d.setTranslate(d.translate - A) : (d.slideTo(S + Math.ceil(O), 0, !1, !0), s && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - A, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - A));
1332
+ const L = d.slidesGrid[w], A = d.slidesGrid[w + I] - L;
1333
+ o ? d.setTranslate(d.translate - A) : (d.slideTo(w + Math.ceil(I), 0, !1, !0), s && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - A, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - A));
1321
1334
  } else if (s) {
1322
- const I = E ? T.length / c.grid.rows : T.length;
1323
- d.slideTo(d.activeIndex + I, 0, !1, !0), d.touchEventsData.currentTranslate = d.translate;
1335
+ const L = T ? x.length / c.grid.rows : x.length;
1336
+ d.slideTo(d.activeIndex + L, 0, !1, !0), d.touchEventsData.currentTranslate = d.translate;
1324
1337
  }
1325
- } else if (M.length > 0 && b)
1338
+ } else if (C.length > 0 && b)
1326
1339
  if (typeof e > "u") {
1327
- const I = d.slidesGrid[S], A = d.slidesGrid[S - L] - I;
1328
- o ? d.setTranslate(d.translate - A) : (d.slideTo(S - L, 0, !1, !0), s && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - A, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - A));
1340
+ const L = d.slidesGrid[w], A = d.slidesGrid[w - O] - L;
1341
+ o ? d.setTranslate(d.translate - A) : (d.slideTo(w - O, 0, !1, !0), s && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - A, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - A));
1329
1342
  } else {
1330
- const I = E ? M.length / c.grid.rows : M.length;
1331
- d.slideTo(d.activeIndex - I, 0, !1, !0);
1343
+ const L = T ? C.length / c.grid.rows : C.length;
1344
+ d.slideTo(d.activeIndex - L, 0, !1, !0);
1332
1345
  }
1333
1346
  }
1334
- if (d.allowSlidePrev = f, d.allowSlideNext = p, d.controller && d.controller.control && !a) {
1335
- const I = {
1347
+ if (d.allowSlidePrev = u, d.allowSlideNext = m, d.controller && d.controller.control && !a) {
1348
+ const L = {
1336
1349
  slideRealIndex: e,
1337
1350
  direction: n,
1338
1351
  setTranslate: s,
@@ -1341,17 +1354,17 @@ function Nt(t) {
1341
1354
  };
1342
1355
  Array.isArray(d.controller.control) ? d.controller.control.forEach((z) => {
1343
1356
  !z.destroyed && z.params.loop && z.loopFix({
1344
- ...I,
1357
+ ...L,
1345
1358
  slideTo: z.params.slidesPerView === c.slidesPerView ? i : !1
1346
1359
  });
1347
1360
  }) : d.controller.control instanceof d.constructor && d.controller.control.params.loop && d.controller.control.loopFix({
1348
- ...I,
1361
+ ...L,
1349
1362
  slideTo: d.controller.control.params.slidesPerView === c.slidesPerView ? i : !1
1350
1363
  });
1351
1364
  }
1352
1365
  d.emit("loopFix");
1353
1366
  }
1354
- function Vt() {
1367
+ function Rt() {
1355
1368
  const t = this, {
1356
1369
  params: e,
1357
1370
  slidesEl: i
@@ -1368,12 +1381,12 @@ function Vt() {
1368
1381
  i.append(s);
1369
1382
  }), t.recalcSlides(), t.slideTo(t.realIndex, 0);
1370
1383
  }
1371
- var kt = {
1372
- loopCreate: Dt,
1373
- loopFix: Nt,
1374
- loopDestroy: Vt
1384
+ var Ht = {
1385
+ loopCreate: Vt,
1386
+ loopFix: kt,
1387
+ loopDestroy: Rt
1375
1388
  };
1376
- function Rt(t) {
1389
+ function Ft(t) {
1377
1390
  const e = this;
1378
1391
  if (!e.params.simulateTouch || e.params.watchOverflow && e.isLocked || e.params.cssMode) return;
1379
1392
  const i = e.params.touchEventsTarget === "container" ? e.el : e.wrapperEl;
@@ -1381,34 +1394,34 @@ function Rt(t) {
1381
1394
  e.__preventObserver__ = !1;
1382
1395
  });
1383
1396
  }
1384
- function Ft() {
1397
+ function jt() {
1385
1398
  const t = this;
1386
1399
  t.params.watchOverflow && t.isLocked || t.params.cssMode || (t.isElement && (t.__preventObserver__ = !0), t[t.params.touchEventsTarget === "container" ? "el" : "wrapperEl"].style.cursor = "", t.isElement && requestAnimationFrame(() => {
1387
1400
  t.__preventObserver__ = !1;
1388
1401
  }));
1389
1402
  }
1390
- var Ht = {
1391
- setGrabCursor: Rt,
1392
- unsetGrabCursor: Ft
1403
+ var $t = {
1404
+ setGrabCursor: Ft,
1405
+ unsetGrabCursor: jt
1393
1406
  };
1394
- function jt(t, e) {
1407
+ function Wt(t, e) {
1395
1408
  e === void 0 && (e = this);
1396
1409
  function i(n) {
1397
- if (!n || n === W() || n === B()) return null;
1410
+ if (!n || n === $() || n === _()) return null;
1398
1411
  n.assignedSlot && (n = n.assignedSlot);
1399
1412
  const s = n.closest(t);
1400
1413
  return !s && !n.getRootNode ? null : s || i(n.getRootNode().host);
1401
1414
  }
1402
1415
  return i(e);
1403
1416
  }
1404
- function ve(t, e, i) {
1405
- const n = B(), {
1417
+ function be(t, e, i) {
1418
+ const n = _(), {
1406
1419
  params: s
1407
1420
  } = t, r = s.edgeSwipeDetection, l = s.edgeSwipeThreshold;
1408
1421
  return r && (i <= l || i >= n.innerWidth - l) ? r === "prevent" ? (e.preventDefault(), !0) : !1 : !0;
1409
1422
  }
1410
- function $t(t) {
1411
- const e = this, i = W();
1423
+ function Xt(t) {
1424
+ const e = this, i = $();
1412
1425
  let n = t;
1413
1426
  n.originalEvent && (n = n.originalEvent);
1414
1427
  const s = e.touchEventsData;
@@ -1418,7 +1431,7 @@ function $t(t) {
1418
1431
  s.pointerId = n.pointerId;
1419
1432
  } else n.type === "touchstart" && n.targetTouches.length === 1 && (s.touchId = n.targetTouches[0].identifier);
1420
1433
  if (n.type === "touchstart") {
1421
- ve(e, n, n.targetTouches[0].pageX);
1434
+ be(e, n, n.targetTouches[0].pageX);
1422
1435
  return;
1423
1436
  }
1424
1437
  const {
@@ -1430,11 +1443,11 @@ function $t(t) {
1430
1443
  return;
1431
1444
  !e.animating && r.cssMode && r.loop && e.loopFix();
1432
1445
  let o = n.target;
1433
- if (r.touchEventsTarget === "wrapper" && !Qe(o, e.wrapperEl) || "which" in n && n.which === 3 || "button" in n && n.button > 0 || s.isTouched && s.isMoved) return;
1434
- const d = !!r.noSwipingClass && r.noSwipingClass !== "", u = n.composedPath ? n.composedPath() : n.path;
1435
- d && n.target && n.target.shadowRoot && u && (o = u[0]);
1436
- const f = r.noSwipingSelector ? r.noSwipingSelector : `.${r.noSwipingClass}`, p = !!(n.target && n.target.shadowRoot);
1437
- if (r.noSwiping && (p ? jt(f, o) : o.closest(f))) {
1446
+ if (r.touchEventsTarget === "wrapper" && !Je(o, e.wrapperEl) || "which" in n && n.which === 3 || "button" in n && n.button > 0 || s.isTouched && s.isMoved) return;
1447
+ const d = !!r.noSwipingClass && r.noSwipingClass !== "", f = n.composedPath ? n.composedPath() : n.path;
1448
+ d && n.target && n.target.shadowRoot && f && (o = f[0]);
1449
+ const u = r.noSwipingSelector ? r.noSwipingSelector : `.${r.noSwipingClass}`, m = !!(n.target && n.target.shadowRoot);
1450
+ if (r.noSwiping && (m ? Wt(u, o) : o.closest(u))) {
1438
1451
  e.allowClick = !0;
1439
1452
  return;
1440
1453
  }
@@ -1442,7 +1455,7 @@ function $t(t) {
1442
1455
  return;
1443
1456
  l.currentX = n.pageX, l.currentY = n.pageY;
1444
1457
  const h = l.currentX, c = l.currentY;
1445
- if (!ve(e, n, h))
1458
+ if (!be(e, n, h))
1446
1459
  return;
1447
1460
  Object.assign(s, {
1448
1461
  isTouched: !0,
@@ -1450,14 +1463,14 @@ function $t(t) {
1450
1463
  allowTouchCallbacks: !0,
1451
1464
  isScrolling: void 0,
1452
1465
  startMoving: void 0
1453
- }), l.startX = h, l.startY = c, s.touchStartTime = K(), e.allowClick = !0, e.updateSize(), e.swipeDirection = void 0, r.threshold > 0 && (s.allowThresholdMove = !1);
1454
- let m = !0;
1455
- o.matches(s.focusableElements) && (m = !1, o.nodeName === "SELECT" && (s.isTouched = !1)), i.activeElement && i.activeElement.matches(s.focusableElements) && i.activeElement !== o && (n.pointerType === "mouse" || n.pointerType !== "mouse" && !o.matches(s.focusableElements)) && i.activeElement.blur();
1456
- const y = m && e.allowTouchMove && r.touchStartPreventDefault;
1457
- (r.touchStartForcePreventDefault || y) && !o.isContentEditable && n.preventDefault(), r.freeMode && r.freeMode.enabled && e.freeMode && e.animating && !r.cssMode && e.freeMode.onTouchStart(), e.emit("touchStart", n);
1458
- }
1459
- function Wt(t) {
1460
- const e = W(), i = this, n = i.touchEventsData, {
1466
+ }), l.startX = h, l.startY = c, s.touchStartTime = R(), e.allowClick = !0, e.updateSize(), e.swipeDirection = void 0, r.threshold > 0 && (s.allowThresholdMove = !1);
1467
+ let g = !0;
1468
+ o.matches(s.focusableElements) && (g = !1, o.nodeName === "SELECT" && (s.isTouched = !1)), i.activeElement && i.activeElement.matches(s.focusableElements) && i.activeElement !== o && (n.pointerType === "mouse" || n.pointerType !== "mouse" && !o.matches(s.focusableElements)) && i.activeElement.blur();
1469
+ const E = g && e.allowTouchMove && r.touchStartPreventDefault;
1470
+ (r.touchStartForcePreventDefault || E) && !o.isContentEditable && n.preventDefault(), r.freeMode && r.freeMode.enabled && e.freeMode && e.animating && !r.cssMode && e.freeMode.onTouchStart(), e.emit("touchStart", n);
1471
+ }
1472
+ function Yt(t) {
1473
+ const e = $(), i = this, n = i.touchEventsData, {
1461
1474
  params: s,
1462
1475
  touches: r,
1463
1476
  rtlTranslate: l,
@@ -1469,49 +1482,49 @@ function Wt(t) {
1469
1482
  return;
1470
1483
  let d;
1471
1484
  if (o.type === "touchmove") {
1472
- if (d = [...o.changedTouches].find((T) => T.identifier === n.touchId), !d || d.identifier !== n.touchId) return;
1485
+ if (d = [...o.changedTouches].find((x) => x.identifier === n.touchId), !d || d.identifier !== n.touchId) return;
1473
1486
  } else
1474
1487
  d = o;
1475
1488
  if (!n.isTouched) {
1476
1489
  n.startMoving && n.isScrolling && i.emit("touchMoveOpposite", o);
1477
1490
  return;
1478
1491
  }
1479
- const u = d.pageX, f = d.pageY;
1492
+ const f = d.pageX, u = d.pageY;
1480
1493
  if (o.preventedByNestedSwiper) {
1481
- r.startX = u, r.startY = f;
1494
+ r.startX = f, r.startY = u;
1482
1495
  return;
1483
1496
  }
1484
1497
  if (!i.allowTouchMove) {
1485
1498
  o.target.matches(n.focusableElements) || (i.allowClick = !1), n.isTouched && (Object.assign(r, {
1486
- startX: u,
1487
- startY: f,
1488
- currentX: u,
1489
- currentY: f
1490
- }), n.touchStartTime = K());
1499
+ startX: f,
1500
+ startY: u,
1501
+ currentX: f,
1502
+ currentY: u
1503
+ }), n.touchStartTime = R());
1491
1504
  return;
1492
1505
  }
1493
1506
  if (s.touchReleaseOnEdges && !s.loop)
1494
1507
  if (i.isVertical()) {
1495
- if (f < r.startY && i.translate <= i.maxTranslate() || f > r.startY && i.translate >= i.minTranslate()) {
1508
+ if (u < r.startY && i.translate <= i.maxTranslate() || u > r.startY && i.translate >= i.minTranslate()) {
1496
1509
  n.isTouched = !1, n.isMoved = !1;
1497
1510
  return;
1498
1511
  }
1499
1512
  } else {
1500
- if (l && (u > r.startX && -i.translate <= i.maxTranslate() || u < r.startX && -i.translate >= i.minTranslate()))
1513
+ if (l && (f > r.startX && -i.translate <= i.maxTranslate() || f < r.startX && -i.translate >= i.minTranslate()))
1501
1514
  return;
1502
- if (!l && (u < r.startX && i.translate <= i.maxTranslate() || u > r.startX && i.translate >= i.minTranslate()))
1515
+ if (!l && (f < r.startX && i.translate <= i.maxTranslate() || f > r.startX && i.translate >= i.minTranslate()))
1503
1516
  return;
1504
1517
  }
1505
1518
  if (e.activeElement && e.activeElement.matches(n.focusableElements) && e.activeElement !== o.target && o.pointerType !== "mouse" && e.activeElement.blur(), e.activeElement && o.target === e.activeElement && o.target.matches(n.focusableElements)) {
1506
1519
  n.isMoved = !0, i.allowClick = !1;
1507
1520
  return;
1508
1521
  }
1509
- n.allowTouchCallbacks && i.emit("touchMove", o), r.previousX = r.currentX, r.previousY = r.currentY, r.currentX = u, r.currentY = f;
1510
- const p = r.currentX - r.startX, h = r.currentY - r.startY;
1511
- if (i.params.threshold && Math.sqrt(p ** 2 + h ** 2) < i.params.threshold) return;
1522
+ n.allowTouchCallbacks && i.emit("touchMove", o), r.previousX = r.currentX, r.previousY = r.currentY, r.currentX = f, r.currentY = u;
1523
+ const m = r.currentX - r.startX, h = r.currentY - r.startY;
1524
+ if (i.params.threshold && Math.sqrt(m ** 2 + h ** 2) < i.params.threshold) return;
1512
1525
  if (typeof n.isScrolling > "u") {
1513
- let T;
1514
- i.isHorizontal() && r.currentY === r.startY || i.isVertical() && r.currentX === r.startX ? n.isScrolling = !1 : p * p + h * h >= 25 && (T = Math.atan2(Math.abs(h), Math.abs(p)) * 180 / Math.PI, n.isScrolling = i.isHorizontal() ? T > s.touchAngle : 90 - T > s.touchAngle);
1526
+ let x;
1527
+ i.isHorizontal() && r.currentY === r.startY || i.isVertical() && r.currentX === r.startX ? n.isScrolling = !1 : m * m + h * h >= 25 && (x = Math.atan2(Math.abs(h), Math.abs(m)) * 180 / Math.PI, n.isScrolling = i.isHorizontal() ? x > s.touchAngle : 90 - x > s.touchAngle);
1515
1528
  }
1516
1529
  if (n.isScrolling && i.emit("touchMoveOpposite", o), typeof n.startMoving > "u" && (r.currentX !== r.startX || r.currentY !== r.startY) && (n.startMoving = !0), n.isScrolling || o.type === "touchmove" && n.preventTouchMoveFromPointerMove) {
1517
1530
  n.isTouched = !1;
@@ -1520,47 +1533,47 @@ function Wt(t) {
1520
1533
  if (!n.startMoving)
1521
1534
  return;
1522
1535
  i.allowClick = !1, !s.cssMode && o.cancelable && o.preventDefault(), s.touchMoveStopPropagation && !s.nested && o.stopPropagation();
1523
- let c = i.isHorizontal() ? p : h, m = i.isHorizontal() ? r.currentX - r.previousX : r.currentY - r.previousY;
1524
- s.oneWayMovement && (c = Math.abs(c) * (l ? 1 : -1), m = Math.abs(m) * (l ? 1 : -1)), r.diff = c, c *= s.touchRatio, l && (c = -c, m = -m);
1525
- const y = i.touchesDirection;
1526
- i.swipeDirection = c > 0 ? "prev" : "next", i.touchesDirection = m > 0 ? "prev" : "next";
1527
- const g = i.params.loop && !s.cssMode, w = i.touchesDirection === "next" && i.allowSlideNext || i.touchesDirection === "prev" && i.allowSlidePrev;
1536
+ let c = i.isHorizontal() ? m : h, g = i.isHorizontal() ? r.currentX - r.previousX : r.currentY - r.previousY;
1537
+ s.oneWayMovement && (c = Math.abs(c) * (l ? 1 : -1), g = Math.abs(g) * (l ? 1 : -1)), r.diff = c, c *= s.touchRatio, l && (c = -c, g = -g);
1538
+ const E = i.touchesDirection;
1539
+ i.swipeDirection = c > 0 ? "prev" : "next", i.touchesDirection = g > 0 ? "prev" : "next";
1540
+ const v = i.params.loop && !s.cssMode, S = i.touchesDirection === "next" && i.allowSlideNext || i.touchesDirection === "prev" && i.allowSlidePrev;
1528
1541
  if (!n.isMoved) {
1529
- if (g && w && i.loopFix({
1542
+ if (v && S && i.loopFix({
1530
1543
  direction: i.swipeDirection
1531
1544
  }), n.startTranslate = i.getTranslate(), i.setTransition(0), i.animating) {
1532
- const T = new window.CustomEvent("transitionend", {
1545
+ const x = new window.CustomEvent("transitionend", {
1533
1546
  bubbles: !0,
1534
1547
  cancelable: !0,
1535
1548
  detail: {
1536
1549
  bySwiperTouchMove: !0
1537
1550
  }
1538
1551
  });
1539
- i.wrapperEl.dispatchEvent(T);
1552
+ i.wrapperEl.dispatchEvent(x);
1540
1553
  }
1541
1554
  n.allowMomentumBounce = !1, s.grabCursor && (i.allowSlideNext === !0 || i.allowSlidePrev === !0) && i.setGrabCursor(!0), i.emit("sliderFirstMove", o);
1542
1555
  }
1543
- if ((/* @__PURE__ */ new Date()).getTime(), s._loopSwapReset !== !1 && n.isMoved && n.allowThresholdMove && y !== i.touchesDirection && g && w && Math.abs(c) >= 1) {
1556
+ if ((/* @__PURE__ */ new Date()).getTime(), s._loopSwapReset !== !1 && n.isMoved && n.allowThresholdMove && E !== i.touchesDirection && v && S && Math.abs(c) >= 1) {
1544
1557
  Object.assign(r, {
1545
- startX: u,
1546
- startY: f,
1547
- currentX: u,
1548
- currentY: f,
1558
+ startX: f,
1559
+ startY: u,
1560
+ currentX: f,
1561
+ currentY: u,
1549
1562
  startTranslate: n.currentTranslate
1550
1563
  }), n.loopSwapReset = !0, n.startTranslate = n.currentTranslate;
1551
1564
  return;
1552
1565
  }
1553
1566
  i.emit("sliderMove", o), n.isMoved = !0, n.currentTranslate = c + n.startTranslate;
1554
- let v = !0, E = s.resistanceRatio;
1555
- if (s.touchReleaseOnEdges && (E = 0), c > 0 ? (g && w && n.allowThresholdMove && n.currentTranslate > (s.centeredSlides ? i.minTranslate() - i.slidesSizesGrid[i.activeIndex + 1] - (s.slidesPerView !== "auto" && i.slides.length - s.slidesPerView >= 2 ? i.slidesSizesGrid[i.activeIndex + 1] + i.params.spaceBetween : 0) - i.params.spaceBetween : i.minTranslate()) && i.loopFix({
1567
+ let p = !0, T = s.resistanceRatio;
1568
+ if (s.touchReleaseOnEdges && (T = 0), c > 0 ? (v && S && n.allowThresholdMove && n.currentTranslate > (s.centeredSlides ? i.minTranslate() - i.slidesSizesGrid[i.activeIndex + 1] - (s.slidesPerView !== "auto" && i.slides.length - s.slidesPerView >= 2 ? i.slidesSizesGrid[i.activeIndex + 1] + i.params.spaceBetween : 0) - i.params.spaceBetween : i.minTranslate()) && i.loopFix({
1556
1569
  direction: "prev",
1557
1570
  setTranslate: !0,
1558
1571
  activeSlideIndex: 0
1559
- }), n.currentTranslate > i.minTranslate() && (v = !1, s.resistance && (n.currentTranslate = i.minTranslate() - 1 + (-i.minTranslate() + n.startTranslate + c) ** E))) : c < 0 && (g && w && n.allowThresholdMove && n.currentTranslate < (s.centeredSlides ? i.maxTranslate() + i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween + (s.slidesPerView !== "auto" && i.slides.length - s.slidesPerView >= 2 ? i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween : 0) : i.maxTranslate()) && i.loopFix({
1572
+ }), n.currentTranslate > i.minTranslate() && (p = !1, s.resistance && (n.currentTranslate = i.minTranslate() - 1 + (-i.minTranslate() + n.startTranslate + c) ** T))) : c < 0 && (v && S && n.allowThresholdMove && n.currentTranslate < (s.centeredSlides ? i.maxTranslate() + i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween + (s.slidesPerView !== "auto" && i.slides.length - s.slidesPerView >= 2 ? i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween : 0) : i.maxTranslate()) && i.loopFix({
1560
1573
  direction: "next",
1561
1574
  setTranslate: !0,
1562
1575
  activeSlideIndex: i.slides.length - (s.slidesPerView === "auto" ? i.slidesPerViewDynamic() : Math.ceil(parseFloat(s.slidesPerView, 10)))
1563
- }), n.currentTranslate < i.maxTranslate() && (v = !1, s.resistance && (n.currentTranslate = i.maxTranslate() + 1 - (i.maxTranslate() - n.startTranslate - c) ** E))), v && (o.preventedByNestedSwiper = !0), !i.allowSlideNext && i.swipeDirection === "next" && n.currentTranslate < n.startTranslate && (n.currentTranslate = n.startTranslate), !i.allowSlidePrev && i.swipeDirection === "prev" && n.currentTranslate > n.startTranslate && (n.currentTranslate = n.startTranslate), !i.allowSlidePrev && !i.allowSlideNext && (n.currentTranslate = n.startTranslate), s.threshold > 0)
1576
+ }), n.currentTranslate < i.maxTranslate() && (p = !1, s.resistance && (n.currentTranslate = i.maxTranslate() + 1 - (i.maxTranslate() - n.startTranslate - c) ** T))), p && (o.preventedByNestedSwiper = !0), !i.allowSlideNext && i.swipeDirection === "next" && n.currentTranslate < n.startTranslate && (n.currentTranslate = n.startTranslate), !i.allowSlidePrev && i.swipeDirection === "prev" && n.currentTranslate > n.startTranslate && (n.currentTranslate = n.startTranslate), !i.allowSlidePrev && !i.allowSlideNext && (n.currentTranslate = n.startTranslate), s.threshold > 0)
1564
1577
  if (Math.abs(c) > s.threshold || n.allowThresholdMove) {
1565
1578
  if (!n.allowThresholdMove) {
1566
1579
  n.allowThresholdMove = !0, r.startX = r.currentX, r.startY = r.currentY, n.currentTranslate = n.startTranslate, r.diff = i.isHorizontal() ? r.currentX - r.startX : r.currentY - r.startY;
@@ -1578,7 +1591,7 @@ function qt(t) {
1578
1591
  n.originalEvent && (n = n.originalEvent);
1579
1592
  let s;
1580
1593
  if (n.type === "touchend" || n.type === "touchcancel") {
1581
- if (s = [...n.changedTouches].find((T) => T.identifier === i.touchId), !s || s.identifier !== i.touchId) return;
1594
+ if (s = [...n.changedTouches].find((x) => x.identifier === i.touchId), !s || s.identifier !== i.touchId) return;
1582
1595
  } else {
1583
1596
  if (i.touchId !== null || n.pointerId !== i.pointerId) return;
1584
1597
  s = n;
@@ -1591,20 +1604,20 @@ function qt(t) {
1591
1604
  touches: a,
1592
1605
  rtlTranslate: o,
1593
1606
  slidesGrid: d,
1594
- enabled: u
1607
+ enabled: f
1595
1608
  } = e;
1596
- if (!u || !l.simulateTouch && n.pointerType === "mouse") return;
1609
+ if (!f || !l.simulateTouch && n.pointerType === "mouse") return;
1597
1610
  if (i.allowTouchCallbacks && e.emit("touchEnd", n), i.allowTouchCallbacks = !1, !i.isTouched) {
1598
1611
  i.isMoved && l.grabCursor && e.setGrabCursor(!1), i.isMoved = !1, i.startMoving = !1;
1599
1612
  return;
1600
1613
  }
1601
1614
  l.grabCursor && i.isMoved && i.isTouched && (e.allowSlideNext === !0 || e.allowSlidePrev === !0) && e.setGrabCursor(!1);
1602
- const f = K(), p = f - i.touchStartTime;
1615
+ const u = R(), m = u - i.touchStartTime;
1603
1616
  if (e.allowClick) {
1604
- const T = n.path || n.composedPath && n.composedPath();
1605
- e.updateClickedSlide(T && T[0] || n.target, T), e.emit("tap click", n), p < 300 && f - i.lastClickTime < 300 && e.emit("doubleTap doubleClick", n);
1617
+ const x = n.path || n.composedPath && n.composedPath();
1618
+ e.updateClickedSlide(x && x[0] || n.target, x), e.emit("tap click", n), m < 300 && u - i.lastClickTime < 300 && e.emit("doubleTap doubleClick", n);
1606
1619
  }
1607
- if (i.lastClickTime = K(), Ce(() => {
1620
+ if (i.lastClickTime = R(), Q(() => {
1608
1621
  e.destroyed || (e.allowClick = !0);
1609
1622
  }), !i.isTouched || !i.isMoved || !e.swipeDirection || a.diff === 0 && !i.loopSwapReset || i.currentTranslate === i.startTranslate && !i.loopSwapReset) {
1610
1623
  i.isTouched = !1, i.isMoved = !1, i.startMoving = !1;
@@ -1621,29 +1634,29 @@ function qt(t) {
1621
1634
  return;
1622
1635
  }
1623
1636
  const c = h >= -e.maxTranslate() && !e.params.loop;
1624
- let m = 0, y = e.slidesSizesGrid[0];
1625
- for (let T = 0; T < d.length; T += T < l.slidesPerGroupSkip ? 1 : l.slidesPerGroup) {
1626
- const M = T < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1627
- typeof d[T + M] < "u" ? (c || h >= d[T] && h < d[T + M]) && (m = T, y = d[T + M] - d[T]) : (c || h >= d[T]) && (m = T, y = d[d.length - 1] - d[d.length - 2]);
1628
- }
1629
- let g = null, w = null;
1630
- l.rewind && (e.isBeginning ? w = l.virtual && l.virtual.enabled && e.virtual ? e.virtual.slides.length - 1 : e.slides.length - 1 : e.isEnd && (g = 0));
1631
- const v = (h - d[m]) / y, E = m < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1632
- if (p > l.longSwipesMs) {
1637
+ let g = 0, E = e.slidesSizesGrid[0];
1638
+ for (let x = 0; x < d.length; x += x < l.slidesPerGroupSkip ? 1 : l.slidesPerGroup) {
1639
+ const C = x < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1640
+ typeof d[x + C] < "u" ? (c || h >= d[x] && h < d[x + C]) && (g = x, E = d[x + C] - d[x]) : (c || h >= d[x]) && (g = x, E = d[d.length - 1] - d[d.length - 2]);
1641
+ }
1642
+ let v = null, S = null;
1643
+ l.rewind && (e.isBeginning ? S = l.virtual && l.virtual.enabled && e.virtual ? e.virtual.slides.length - 1 : e.slides.length - 1 : e.isEnd && (v = 0));
1644
+ const p = (h - d[g]) / E, T = g < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1645
+ if (m > l.longSwipesMs) {
1633
1646
  if (!l.longSwipes) {
1634
1647
  e.slideTo(e.activeIndex);
1635
1648
  return;
1636
1649
  }
1637
- e.swipeDirection === "next" && (v >= l.longSwipesRatio ? e.slideTo(l.rewind && e.isEnd ? g : m + E) : e.slideTo(m)), e.swipeDirection === "prev" && (v > 1 - l.longSwipesRatio ? e.slideTo(m + E) : w !== null && v < 0 && Math.abs(v) > l.longSwipesRatio ? e.slideTo(w) : e.slideTo(m));
1650
+ e.swipeDirection === "next" && (p >= l.longSwipesRatio ? e.slideTo(l.rewind && e.isEnd ? v : g + T) : e.slideTo(g)), e.swipeDirection === "prev" && (p > 1 - l.longSwipesRatio ? e.slideTo(g + T) : S !== null && p < 0 && Math.abs(p) > l.longSwipesRatio ? e.slideTo(S) : e.slideTo(g));
1638
1651
  } else {
1639
1652
  if (!l.shortSwipes) {
1640
1653
  e.slideTo(e.activeIndex);
1641
1654
  return;
1642
1655
  }
1643
- e.navigation && (n.target === e.navigation.nextEl || n.target === e.navigation.prevEl) ? n.target === e.navigation.nextEl ? e.slideTo(m + E) : e.slideTo(m) : (e.swipeDirection === "next" && e.slideTo(g !== null ? g : m + E), e.swipeDirection === "prev" && e.slideTo(w !== null ? w : m));
1656
+ e.navigation && (n.target === e.navigation.nextEl || n.target === e.navigation.prevEl) ? n.target === e.navigation.nextEl ? e.slideTo(g + T) : e.slideTo(g) : (e.swipeDirection === "next" && e.slideTo(v !== null ? v : g + T), e.swipeDirection === "prev" && e.slideTo(S !== null ? S : g));
1644
1657
  }
1645
1658
  }
1646
- function we() {
1659
+ function Te() {
1647
1660
  const t = this, {
1648
1661
  params: e,
1649
1662
  el: i
@@ -1661,11 +1674,11 @@ function we() {
1661
1674
  t.autoplay && t.autoplay.running && t.autoplay.paused && t.autoplay.resume();
1662
1675
  }, 500)), t.allowSlidePrev = s, t.allowSlideNext = n, t.params.watchOverflow && r !== t.snapGrid && t.checkOverflow();
1663
1676
  }
1664
- function Yt(t) {
1677
+ function Ut(t) {
1665
1678
  const e = this;
1666
1679
  e.enabled && (e.allowClick || (e.params.preventClicks && t.preventDefault(), e.params.preventClicksPropagation && e.animating && (t.stopPropagation(), t.stopImmediatePropagation())));
1667
1680
  }
1668
- function Xt() {
1681
+ function Kt() {
1669
1682
  const t = this, {
1670
1683
  wrapperEl: e,
1671
1684
  rtlTranslate: i,
@@ -1677,16 +1690,16 @@ function Xt() {
1677
1690
  const r = t.maxTranslate() - t.minTranslate();
1678
1691
  r === 0 ? s = 0 : s = (t.translate - t.minTranslate()) / r, s !== t.progress && t.updateProgress(i ? -t.translate : t.translate), t.emit("setTranslate", t.translate, !1);
1679
1692
  }
1680
- function Ut(t) {
1693
+ function Zt(t) {
1681
1694
  const e = this;
1682
- U(e, t.target), !(e.params.cssMode || e.params.slidesPerView !== "auto" && !e.params.autoHeight) && e.update();
1695
+ Z(e, t.target), !(e.params.cssMode || e.params.slidesPerView !== "auto" && !e.params.autoHeight) && e.update();
1683
1696
  }
1684
- function Kt() {
1697
+ function Qt() {
1685
1698
  const t = this;
1686
1699
  t.documentTouchHandlerProceeded || (t.documentTouchHandlerProceeded = !0, t.params.touchReleaseOnEdges && (t.el.style.touchAction = "auto"));
1687
1700
  }
1688
- const Be = (t, e) => {
1689
- const i = W(), {
1701
+ const _e = (t, e) => {
1702
+ const i = $(), {
1690
1703
  params: n,
1691
1704
  el: s,
1692
1705
  wrapperEl: r,
@@ -1719,25 +1732,25 @@ const Be = (t, e) => {
1719
1732
  passive: !0
1720
1733
  }), i[o]("contextmenu", t.onTouchEnd, {
1721
1734
  passive: !0
1722
- }), (n.preventClicks || n.preventClicksPropagation) && s[o]("click", t.onClick, !0), n.cssMode && r[o]("scroll", t.onScroll), n.updateOnWindowResize ? t[d](l.ios || l.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", we, !0) : t[d]("observerUpdate", we, !0), s[o]("load", t.onLoad, {
1735
+ }), (n.preventClicks || n.preventClicksPropagation) && s[o]("click", t.onClick, !0), n.cssMode && r[o]("scroll", t.onScroll), n.updateOnWindowResize ? t[d](l.ios || l.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", Te, !0) : t[d]("observerUpdate", Te, !0), s[o]("load", t.onLoad, {
1723
1736
  capture: !0
1724
1737
  }));
1725
1738
  };
1726
- function Qt() {
1739
+ function Jt() {
1727
1740
  const t = this, {
1728
1741
  params: e
1729
1742
  } = t;
1730
- t.onTouchStart = $t.bind(t), t.onTouchMove = Wt.bind(t), t.onTouchEnd = qt.bind(t), t.onDocumentTouchStart = Kt.bind(t), e.cssMode && (t.onScroll = Xt.bind(t)), t.onClick = Yt.bind(t), t.onLoad = Ut.bind(t), Be(t, "on");
1743
+ t.onTouchStart = Xt.bind(t), t.onTouchMove = Yt.bind(t), t.onTouchEnd = qt.bind(t), t.onDocumentTouchStart = Qt.bind(t), e.cssMode && (t.onScroll = Kt.bind(t)), t.onClick = Ut.bind(t), t.onLoad = Zt.bind(t), _e(t, "on");
1731
1744
  }
1732
- function Zt() {
1733
- Be(this, "off");
1745
+ function ei() {
1746
+ _e(this, "off");
1734
1747
  }
1735
- var Jt = {
1736
- attachEvents: Qt,
1737
- detachEvents: Zt
1748
+ var ti = {
1749
+ attachEvents: Jt,
1750
+ detachEvents: ei
1738
1751
  };
1739
- const Se = (t, e) => t.grid && e.grid && e.grid.rows > 1;
1740
- function ei() {
1752
+ const ye = (t, e) => t.grid && e.grid && e.grid.rows > 1;
1753
+ function ii() {
1741
1754
  const t = this, {
1742
1755
  realIndex: e,
1743
1756
  initialized: i,
@@ -1745,27 +1758,27 @@ function ei() {
1745
1758
  el: s
1746
1759
  } = t, r = n.breakpoints;
1747
1760
  if (!r || r && Object.keys(r).length === 0) return;
1748
- const l = W(), a = n.breakpointsBase === "window" || !n.breakpointsBase ? n.breakpointsBase : "container", o = ["window", "container"].includes(n.breakpointsBase) || !n.breakpointsBase ? t.el : l.querySelector(n.breakpointsBase), d = t.getBreakpoint(r, a, o);
1761
+ const l = $(), a = n.breakpointsBase === "window" || !n.breakpointsBase ? n.breakpointsBase : "container", o = ["window", "container"].includes(n.breakpointsBase) || !n.breakpointsBase ? t.el : l.querySelector(n.breakpointsBase), d = t.getBreakpoint(r, a, o);
1749
1762
  if (!d || t.currentBreakpoint === d) return;
1750
- const f = (d in r ? r[d] : void 0) || t.originalParams, p = Se(t, n), h = Se(t, f), c = t.params.grabCursor, m = f.grabCursor, y = n.enabled;
1751
- p && !h ? (s.classList.remove(`${n.containerModifierClass}grid`, `${n.containerModifierClass}grid-column`), t.emitContainerClasses()) : !p && h && (s.classList.add(`${n.containerModifierClass}grid`), (f.grid.fill && f.grid.fill === "column" || !f.grid.fill && n.grid.fill === "column") && s.classList.add(`${n.containerModifierClass}grid-column`), t.emitContainerClasses()), c && !m ? t.unsetGrabCursor() : !c && m && t.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((M) => {
1752
- if (typeof f[M] > "u") return;
1753
- const C = n[M] && n[M].enabled, x = f[M] && f[M].enabled;
1754
- C && !x && t[M].disable(), !C && x && t[M].enable();
1763
+ const u = (d in r ? r[d] : void 0) || t.originalParams, m = ye(t, n), h = ye(t, u), c = t.params.grabCursor, g = u.grabCursor, E = n.enabled;
1764
+ m && !h ? (s.classList.remove(`${n.containerModifierClass}grid`, `${n.containerModifierClass}grid-column`), t.emitContainerClasses()) : !m && h && (s.classList.add(`${n.containerModifierClass}grid`), (u.grid.fill && u.grid.fill === "column" || !u.grid.fill && n.grid.fill === "column") && s.classList.add(`${n.containerModifierClass}grid-column`), t.emitContainerClasses()), c && !g ? t.unsetGrabCursor() : !c && g && t.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((C) => {
1765
+ if (typeof u[C] > "u") return;
1766
+ const P = n[C] && n[C].enabled, y = u[C] && u[C].enabled;
1767
+ P && !y && t[C].disable(), !P && y && t[C].enable();
1755
1768
  });
1756
- const g = f.direction && f.direction !== n.direction, w = n.loop && (f.slidesPerView !== n.slidesPerView || g), v = n.loop;
1757
- g && i && t.changeDirection(), G(t.params, f);
1758
- const E = t.params.enabled, T = t.params.loop;
1769
+ const v = u.direction && u.direction !== n.direction, S = n.loop && (u.slidesPerView !== n.slidesPerView || v), p = n.loop;
1770
+ v && i && t.changeDirection(), N(t.params, u);
1771
+ const T = t.params.enabled, x = t.params.loop;
1759
1772
  Object.assign(t, {
1760
1773
  allowTouchMove: t.params.allowTouchMove,
1761
1774
  allowSlideNext: t.params.allowSlideNext,
1762
1775
  allowSlidePrev: t.params.allowSlidePrev
1763
- }), y && !E ? t.disable() : !y && E && t.enable(), t.currentBreakpoint = d, t.emit("_beforeBreakpoint", f), i && (w ? (t.loopDestroy(), t.loopCreate(e), t.updateSlides()) : !v && T ? (t.loopCreate(e), t.updateSlides()) : v && !T && t.loopDestroy()), t.emit("breakpoint", f);
1776
+ }), E && !T ? t.disable() : !E && T && t.enable(), t.currentBreakpoint = d, t.emit("_beforeBreakpoint", u), i && (S ? (t.loopDestroy(), t.loopCreate(e), t.updateSlides()) : !p && x ? (t.loopCreate(e), t.updateSlides()) : p && !x && t.loopDestroy()), t.emit("breakpoint", u);
1764
1777
  }
1765
- function ti(t, e, i) {
1778
+ function ni(t, e, i) {
1766
1779
  if (e === void 0 && (e = "window"), !t || e === "container" && !i) return;
1767
1780
  let n = !1;
1768
- const s = B(), r = e === "window" ? s.innerHeight : i.clientHeight, l = Object.keys(t).map((a) => {
1781
+ const s = _(), r = e === "window" ? s.innerHeight : i.clientHeight, l = Object.keys(t).map((a) => {
1769
1782
  if (typeof a == "string" && a.indexOf("@") === 0) {
1770
1783
  const o = parseFloat(a.substr(1));
1771
1784
  return {
@@ -1788,11 +1801,11 @@ function ti(t, e, i) {
1788
1801
  }
1789
1802
  return n || "max";
1790
1803
  }
1791
- var ii = {
1792
- setBreakpoint: ei,
1793
- getBreakpoint: ti
1804
+ var si = {
1805
+ setBreakpoint: ii,
1806
+ getBreakpoint: ni
1794
1807
  };
1795
- function ni(t, e) {
1808
+ function ri(t, e) {
1796
1809
  const i = [];
1797
1810
  return t.forEach((n) => {
1798
1811
  typeof n == "object" ? Object.keys(n).forEach((s) => {
@@ -1800,14 +1813,14 @@ function ni(t, e) {
1800
1813
  }) : typeof n == "string" && i.push(e + n);
1801
1814
  }), i;
1802
1815
  }
1803
- function si() {
1816
+ function ai() {
1804
1817
  const t = this, {
1805
1818
  classNames: e,
1806
1819
  params: i,
1807
1820
  rtl: n,
1808
1821
  el: s,
1809
1822
  device: r
1810
- } = t, l = ni(["initialized", i.direction, {
1823
+ } = t, l = ri(["initialized", i.direction, {
1811
1824
  "free-mode": t.params.freeMode && i.freeMode.enabled
1812
1825
  }, {
1813
1826
  autoheight: i.autoHeight
@@ -1830,18 +1843,18 @@ function si() {
1830
1843
  }], i.containerModifierClass);
1831
1844
  e.push(...l), s.classList.add(...e), t.emitContainerClasses();
1832
1845
  }
1833
- function ri() {
1846
+ function li() {
1834
1847
  const t = this, {
1835
1848
  el: e,
1836
1849
  classNames: i
1837
1850
  } = t;
1838
1851
  !e || typeof e == "string" || (e.classList.remove(...i), t.emitContainerClasses());
1839
1852
  }
1840
- var ai = {
1841
- addClasses: si,
1842
- removeClasses: ri
1853
+ var oi = {
1854
+ addClasses: ai,
1855
+ removeClasses: li
1843
1856
  };
1844
- function li() {
1857
+ function di() {
1845
1858
  const t = this, {
1846
1859
  isLocked: e,
1847
1860
  params: i
@@ -1855,9 +1868,9 @@ function li() {
1855
1868
  t.isLocked = t.snapGrid.length === 1;
1856
1869
  i.allowSlideNext === !0 && (t.allowSlideNext = !t.isLocked), i.allowSlidePrev === !0 && (t.allowSlidePrev = !t.isLocked), e && e !== t.isLocked && (t.isEnd = !1), e !== t.isLocked && t.emit(t.isLocked ? "lock" : "unlock");
1857
1870
  }
1858
- var oi = {
1859
- checkOverflow: li
1860
- }, oe = {
1871
+ var fi = {
1872
+ checkOverflow: di
1873
+ }, ce = {
1861
1874
  init: !0,
1862
1875
  direction: "horizontal",
1863
1876
  oneWayMovement: !1,
@@ -1978,73 +1991,73 @@ var oi = {
1978
1991
  // Internals
1979
1992
  _emitClasses: !1
1980
1993
  };
1981
- function di(t, e) {
1994
+ function ui(t, e) {
1982
1995
  return function(n) {
1983
1996
  n === void 0 && (n = {});
1984
1997
  const s = Object.keys(n)[0], r = n[s];
1985
1998
  if (typeof r != "object" || r === null) {
1986
- G(e, n);
1999
+ N(e, n);
1987
2000
  return;
1988
2001
  }
1989
2002
  if (t[s] === !0 && (t[s] = {
1990
2003
  enabled: !0
1991
2004
  }), s === "navigation" && t[s] && t[s].enabled && !t[s].prevEl && !t[s].nextEl && (t[s].auto = !0), ["pagination", "scrollbar"].indexOf(s) >= 0 && t[s] && t[s].enabled && !t[s].el && (t[s].auto = !0), !(s in t && "enabled" in r)) {
1992
- G(e, n);
2005
+ N(e, n);
1993
2006
  return;
1994
2007
  }
1995
2008
  typeof t[s] == "object" && !("enabled" in t[s]) && (t[s].enabled = !0), t[s] || (t[s] = {
1996
2009
  enabled: !1
1997
- }), G(e, n);
2010
+ }), N(e, n);
1998
2011
  };
1999
2012
  }
2000
- const se = {
2001
- eventsEmitter: at,
2002
- update: vt,
2003
- translate: xt,
2004
- transition: Mt,
2005
- slide: Gt,
2006
- loop: kt,
2007
- grabCursor: Ht,
2008
- events: Jt,
2009
- breakpoints: ii,
2010
- checkOverflow: oi,
2011
- classes: ai
2012
- }, re = {};
2013
- let ue = class R {
2013
+ const le = {
2014
+ eventsEmitter: ot,
2015
+ update: St,
2016
+ translate: Mt,
2017
+ transition: Ot,
2018
+ slide: Nt,
2019
+ loop: Ht,
2020
+ grabCursor: $t,
2021
+ events: ti,
2022
+ breakpoints: si,
2023
+ checkOverflow: fi,
2024
+ classes: oi
2025
+ }, oe = {};
2026
+ let me = class j {
2014
2027
  constructor() {
2015
2028
  let e, i;
2016
2029
  for (var n = arguments.length, s = new Array(n), r = 0; r < n; r++)
2017
2030
  s[r] = arguments[r];
2018
- s.length === 1 && s[0].constructor && Object.prototype.toString.call(s[0]).slice(8, -1) === "Object" ? i = s[0] : [e, i] = s, i || (i = {}), i = G({}, i), e && !i.el && (i.el = e);
2019
- const l = W();
2031
+ s.length === 1 && s[0].constructor && Object.prototype.toString.call(s[0]).slice(8, -1) === "Object" ? i = s[0] : [e, i] = s, i || (i = {}), i = N({}, i), e && !i.el && (i.el = e);
2032
+ const l = $();
2020
2033
  if (i.el && typeof i.el == "string" && l.querySelectorAll(i.el).length > 1) {
2021
- const u = [];
2022
- return l.querySelectorAll(i.el).forEach((f) => {
2023
- const p = G({}, i, {
2024
- el: f
2034
+ const f = [];
2035
+ return l.querySelectorAll(i.el).forEach((u) => {
2036
+ const m = N({}, i, {
2037
+ el: u
2025
2038
  });
2026
- u.push(new R(p));
2027
- }), u;
2039
+ f.push(new j(m));
2040
+ }), f;
2028
2041
  }
2029
2042
  const a = this;
2030
- a.__swiper__ = !0, a.support = Ie(), a.device = Oe({
2043
+ a.__swiper__ = !0, a.support = Le(), a.device = Be({
2031
2044
  userAgent: i.userAgent
2032
- }), a.browser = Le(), a.eventsListeners = {}, a.eventsAnyListeners = [], a.modules = [...a.__modules__], i.modules && Array.isArray(i.modules) && a.modules.push(...i.modules);
2045
+ }), a.browser = ze(), a.eventsListeners = {}, a.eventsAnyListeners = [], a.modules = [...a.__modules__], i.modules && Array.isArray(i.modules) && a.modules.push(...i.modules);
2033
2046
  const o = {};
2034
- a.modules.forEach((u) => {
2035
- u({
2047
+ a.modules.forEach((f) => {
2048
+ f({
2036
2049
  params: i,
2037
2050
  swiper: a,
2038
- extendParams: di(i, o),
2051
+ extendParams: ui(i, o),
2039
2052
  on: a.on.bind(a),
2040
2053
  once: a.once.bind(a),
2041
2054
  off: a.off.bind(a),
2042
2055
  emit: a.emit.bind(a)
2043
2056
  });
2044
2057
  });
2045
- const d = G({}, oe, o);
2046
- return a.params = G({}, d, re, i), a.originalParams = G({}, a.params), a.passedParams = G({}, i), a.params && a.params.on && Object.keys(a.params.on).forEach((u) => {
2047
- a.on(u, a.params.on[u]);
2058
+ const d = N({}, ce, o);
2059
+ return a.params = N({}, d, oe, i), a.originalParams = N({}, a.params), a.passedParams = N({}, i), a.params && a.params.on && Object.keys(a.params.on).forEach((f) => {
2060
+ a.on(f, a.params.on[f]);
2048
2061
  }), a.params && a.params.onAny && a.onAny(a.params.onAny), Object.assign(a, {
2049
2062
  enabled: a.params.enabled,
2050
2063
  el: e,
@@ -2134,8 +2147,8 @@ let ue = class R {
2134
2147
  const {
2135
2148
  slidesEl: i,
2136
2149
  params: n
2137
- } = this, s = N(i, `.${n.slideClass}, swiper-slide`), r = pe(s[0]);
2138
- return pe(e) - r;
2150
+ } = this, s = H(i, `.${n.slideClass}, swiper-slide`), r = ge(s[0]);
2151
+ return ge(e) - r;
2139
2152
  }
2140
2153
  getSlideIndexByData(e) {
2141
2154
  return this.getSlideIndex(this.slides.find((i) => i.getAttribute("data-swiper-slide-index") * 1 === e));
@@ -2148,7 +2161,7 @@ let ue = class R {
2148
2161
  slidesEl: i,
2149
2162
  params: n
2150
2163
  } = e;
2151
- e.slides = N(i, `.${n.slideClass}, swiper-slide`);
2164
+ e.slides = H(i, `.${n.slideClass}, swiper-slide`);
2152
2165
  }
2153
2166
  enable() {
2154
2167
  const e = this;
@@ -2196,21 +2209,21 @@ let ue = class R {
2196
2209
  size: o,
2197
2210
  activeIndex: d
2198
2211
  } = n;
2199
- let u = 1;
2212
+ let f = 1;
2200
2213
  if (typeof s.slidesPerView == "number") return s.slidesPerView;
2201
2214
  if (s.centeredSlides) {
2202
- let f = r[d] ? Math.ceil(r[d].swiperSlideSize) : 0, p;
2215
+ let u = r[d] ? Math.ceil(r[d].swiperSlideSize) : 0, m;
2203
2216
  for (let h = d + 1; h < r.length; h += 1)
2204
- r[h] && !p && (f += Math.ceil(r[h].swiperSlideSize), u += 1, f > o && (p = !0));
2217
+ r[h] && !m && (u += Math.ceil(r[h].swiperSlideSize), f += 1, u > o && (m = !0));
2205
2218
  for (let h = d - 1; h >= 0; h -= 1)
2206
- r[h] && !p && (f += r[h].swiperSlideSize, u += 1, f > o && (p = !0));
2219
+ r[h] && !m && (u += r[h].swiperSlideSize, f += 1, u > o && (m = !0));
2207
2220
  } else if (e === "current")
2208
- for (let f = d + 1; f < r.length; f += 1)
2209
- (i ? l[f] + a[f] - l[d] < o : l[f] - l[d] < o) && (u += 1);
2221
+ for (let u = d + 1; u < r.length; u += 1)
2222
+ (i ? l[u] + a[u] - l[d] < o : l[u] - l[d] < o) && (f += 1);
2210
2223
  else
2211
- for (let f = d - 1; f >= 0; f -= 1)
2212
- l[d] - l[f] < o && (u += 1);
2213
- return u;
2224
+ for (let u = d - 1; u >= 0; u -= 1)
2225
+ l[d] - l[u] < o && (f += 1);
2226
+ return f;
2214
2227
  }
2215
2228
  update() {
2216
2229
  const e = this;
@@ -2220,7 +2233,7 @@ let ue = class R {
2220
2233
  params: n
2221
2234
  } = e;
2222
2235
  n.breakpoints && e.setBreakpoint(), [...e.el.querySelectorAll('[loading="lazy"]')].forEach((l) => {
2223
- l.complete && U(e, l);
2236
+ l.complete && Z(e, l);
2224
2237
  }), e.updateSize(), e.updateSlides(), e.updateProgress(), e.updateSlidesClasses();
2225
2238
  function s() {
2226
2239
  const l = e.rtlTranslate ? e.translate * -1 : e.translate, a = Math.min(Math.max(l, e.maxTranslate()), e.minTranslate());
@@ -2258,8 +2271,8 @@ let ue = class R {
2258
2271
  return !1;
2259
2272
  n.swiper = i, n.parentNode && n.parentNode.host && n.parentNode.host.nodeName === i.params.swiperElementNodeName.toUpperCase() && (i.isElement = !0);
2260
2273
  const s = () => `.${(i.params.wrapperClass || "").trim().split(" ").join(".")}`;
2261
- let l = n && n.shadowRoot && n.shadowRoot.querySelector ? n.shadowRoot.querySelector(s()) : N(n, s())[0];
2262
- return !l && i.params.createElements && (l = Z("div", i.params.wrapperClass), n.append(l), N(n, `.${i.params.slideClass}`).forEach((a) => {
2274
+ let l = n && n.shadowRoot && n.shadowRoot.querySelector ? n.shadowRoot.querySelector(s()) : H(n, s())[0];
2275
+ return !l && i.params.createElements && (l = ee("div", i.params.wrapperClass), n.append(l), H(n, `.${i.params.slideClass}`).forEach((a) => {
2263
2276
  l.append(a);
2264
2277
  })), Object.assign(i, {
2265
2278
  el: n,
@@ -2268,9 +2281,9 @@ let ue = class R {
2268
2281
  hostEl: i.isElement ? n.parentNode.host : n,
2269
2282
  mounted: !0,
2270
2283
  // RTL
2271
- rtl: n.dir.toLowerCase() === "rtl" || j(n, "direction") === "rtl",
2272
- rtlTranslate: i.params.direction === "horizontal" && (n.dir.toLowerCase() === "rtl" || j(n, "direction") === "rtl"),
2273
- wrongRTL: j(l, "display") === "-webkit-box"
2284
+ rtl: n.dir.toLowerCase() === "rtl" || W(n, "direction") === "rtl",
2285
+ rtlTranslate: i.params.direction === "horizontal" && (n.dir.toLowerCase() === "rtl" || W(n, "direction") === "rtl"),
2286
+ wrongRTL: W(l, "display") === "-webkit-box"
2274
2287
  }), !0;
2275
2288
  }
2276
2289
  init(e) {
@@ -2279,10 +2292,10 @@ let ue = class R {
2279
2292
  i.emit("beforeInit"), i.params.breakpoints && i.setBreakpoint(), i.addClasses(), i.updateSize(), i.updateSlides(), i.params.watchOverflow && i.checkOverflow(), i.params.grabCursor && i.enabled && i.setGrabCursor(), i.params.loop && i.virtual && i.params.virtual.enabled ? i.slideTo(i.params.initialSlide + i.virtual.slidesBefore, 0, i.params.runCallbacksOnInit, !1, !0) : i.slideTo(i.params.initialSlide, 0, i.params.runCallbacksOnInit, !1, !0), i.params.loop && i.loopCreate(void 0, !0), i.attachEvents();
2280
2293
  const s = [...i.el.querySelectorAll('[loading="lazy"]')];
2281
2294
  return i.isElement && s.push(...i.hostEl.querySelectorAll('[loading="lazy"]')), s.forEach((r) => {
2282
- r.complete ? U(i, r) : r.addEventListener("load", (l) => {
2283
- U(i, l.target);
2295
+ r.complete ? Z(i, r) : r.addEventListener("load", (l) => {
2296
+ Z(i, l.target);
2284
2297
  });
2285
- }), le(i), i.initialized = !0, le(i), i.emit("init"), i.emit("afterInit"), i;
2298
+ }), ue(i), i.initialized = !0, ue(i), i.emit("init"), i.emit("afterInit"), i;
2286
2299
  }
2287
2300
  destroy(e, i) {
2288
2301
  e === void 0 && (e = !0), i === void 0 && (i = !0);
@@ -2299,30 +2312,30 @@ let ue = class R {
2299
2312
  }), e !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null), qe(n)), n.destroyed = !0), null;
2300
2313
  }
2301
2314
  static extendDefaults(e) {
2302
- G(re, e);
2315
+ N(oe, e);
2303
2316
  }
2304
2317
  static get extendedDefaults() {
2305
- return re;
2318
+ return oe;
2306
2319
  }
2307
2320
  static get defaults() {
2308
- return oe;
2321
+ return ce;
2309
2322
  }
2310
2323
  static installModule(e) {
2311
- R.prototype.__modules__ || (R.prototype.__modules__ = []);
2312
- const i = R.prototype.__modules__;
2324
+ j.prototype.__modules__ || (j.prototype.__modules__ = []);
2325
+ const i = j.prototype.__modules__;
2313
2326
  typeof e == "function" && i.indexOf(e) < 0 && i.push(e);
2314
2327
  }
2315
2328
  static use(e) {
2316
- return Array.isArray(e) ? (e.forEach((i) => R.installModule(i)), R) : (R.installModule(e), R);
2329
+ return Array.isArray(e) ? (e.forEach((i) => j.installModule(i)), j) : (j.installModule(e), j);
2317
2330
  }
2318
2331
  };
2319
- Object.keys(se).forEach((t) => {
2320
- Object.keys(se[t]).forEach((e) => {
2321
- ue.prototype[e] = se[t][e];
2332
+ Object.keys(le).forEach((t) => {
2333
+ Object.keys(le[t]).forEach((e) => {
2334
+ me.prototype[e] = le[t][e];
2322
2335
  });
2323
2336
  });
2324
- ue.use([st, rt]);
2325
- const Ae = [
2337
+ me.use([at, lt]);
2338
+ const De = [
2326
2339
  "eventsPrefix",
2327
2340
  "injectStyles",
2328
2341
  "injectStylesUrls",
@@ -2441,35 +2454,35 @@ const Ae = [
2441
2454
  "zoom",
2442
2455
  "control"
2443
2456
  ];
2444
- function $(t) {
2457
+ function X(t) {
2445
2458
  return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object" && !t.__swiper__;
2446
2459
  }
2447
2460
  function q(t, e) {
2448
2461
  const i = ["__proto__", "constructor", "prototype"];
2449
2462
  Object.keys(e).filter((n) => i.indexOf(n) < 0).forEach((n) => {
2450
- typeof t[n] > "u" ? t[n] = e[n] : $(e[n]) && $(t[n]) && Object.keys(e[n]).length > 0 ? e[n].__swiper__ ? t[n] = e[n] : q(t[n], e[n]) : t[n] = e[n];
2463
+ typeof t[n] > "u" ? t[n] = e[n] : X(e[n]) && X(t[n]) && Object.keys(e[n]).length > 0 ? e[n].__swiper__ ? t[n] = e[n] : q(t[n], e[n]) : t[n] = e[n];
2451
2464
  });
2452
2465
  }
2453
- function _e(t) {
2466
+ function Ge(t) {
2454
2467
  return t === void 0 && (t = {}), t.navigation && typeof t.navigation.nextEl > "u" && typeof t.navigation.prevEl > "u";
2455
2468
  }
2456
- function Ge(t) {
2469
+ function Ne(t) {
2457
2470
  return t === void 0 && (t = {}), t.pagination && typeof t.pagination.el > "u";
2458
2471
  }
2459
- function De(t) {
2472
+ function Ve(t) {
2460
2473
  return t === void 0 && (t = {}), t.scrollbar && typeof t.scrollbar.el > "u";
2461
2474
  }
2462
- function Ne(t) {
2475
+ function ke(t) {
2463
2476
  t === void 0 && (t = "");
2464
2477
  const e = t.split(" ").map((n) => n.trim()).filter((n) => !!n), i = [];
2465
2478
  return e.forEach((n) => {
2466
2479
  i.indexOf(n) < 0 && i.push(n);
2467
2480
  }), i.join(" ");
2468
2481
  }
2469
- function ui(t) {
2482
+ function ci(t) {
2470
2483
  return t === void 0 && (t = ""), t ? t.includes("swiper-wrapper") ? t : `swiper-wrapper ${t}` : "swiper-wrapper";
2471
2484
  }
2472
- function fi(t) {
2485
+ function pi(t) {
2473
2486
  let {
2474
2487
  swiper: e,
2475
2488
  slides: i,
@@ -2480,37 +2493,37 @@ function fi(t) {
2480
2493
  scrollbarEl: a,
2481
2494
  paginationEl: o
2482
2495
  } = t;
2483
- const d = s.filter((S) => S !== "children" && S !== "direction" && S !== "wrapperClass"), {
2484
- params: u,
2485
- pagination: f,
2486
- navigation: p,
2496
+ const d = s.filter((w) => w !== "children" && w !== "direction" && w !== "wrapperClass"), {
2497
+ params: f,
2498
+ pagination: u,
2499
+ navigation: m,
2487
2500
  scrollbar: h,
2488
2501
  virtual: c,
2489
- thumbs: m
2502
+ thumbs: g
2490
2503
  } = e;
2491
- let y, g, w, v, E, T, M, C;
2492
- s.includes("thumbs") && n.thumbs && n.thumbs.swiper && !n.thumbs.swiper.destroyed && u.thumbs && (!u.thumbs.swiper || u.thumbs.swiper.destroyed) && (y = !0), s.includes("controller") && n.controller && n.controller.control && u.controller && !u.controller.control && (g = !0), s.includes("pagination") && n.pagination && (n.pagination.el || o) && (u.pagination || u.pagination === !1) && f && !f.el && (w = !0), s.includes("scrollbar") && n.scrollbar && (n.scrollbar.el || a) && (u.scrollbar || u.scrollbar === !1) && h && !h.el && (v = !0), s.includes("navigation") && n.navigation && (n.navigation.prevEl || l) && (n.navigation.nextEl || r) && (u.navigation || u.navigation === !1) && p && !p.prevEl && !p.nextEl && (E = !0);
2493
- const x = (S) => {
2494
- e[S] && (e[S].destroy(), S === "navigation" ? (e.isElement && (e[S].prevEl.remove(), e[S].nextEl.remove()), u[S].prevEl = void 0, u[S].nextEl = void 0, e[S].prevEl = void 0, e[S].nextEl = void 0) : (e.isElement && e[S].el.remove(), u[S].el = void 0, e[S].el = void 0));
2504
+ let E, v, S, p, T, x, C, P;
2505
+ s.includes("thumbs") && n.thumbs && n.thumbs.swiper && !n.thumbs.swiper.destroyed && f.thumbs && (!f.thumbs.swiper || f.thumbs.swiper.destroyed) && (E = !0), s.includes("controller") && n.controller && n.controller.control && f.controller && !f.controller.control && (v = !0), s.includes("pagination") && n.pagination && (n.pagination.el || o) && (f.pagination || f.pagination === !1) && u && !u.el && (S = !0), s.includes("scrollbar") && n.scrollbar && (n.scrollbar.el || a) && (f.scrollbar || f.scrollbar === !1) && h && !h.el && (p = !0), s.includes("navigation") && n.navigation && (n.navigation.prevEl || l) && (n.navigation.nextEl || r) && (f.navigation || f.navigation === !1) && m && !m.prevEl && !m.nextEl && (T = !0);
2506
+ const y = (w) => {
2507
+ e[w] && (e[w].destroy(), w === "navigation" ? (e.isElement && (e[w].prevEl.remove(), e[w].nextEl.remove()), f[w].prevEl = void 0, f[w].nextEl = void 0, e[w].prevEl = void 0, e[w].nextEl = void 0) : (e.isElement && e[w].el.remove(), f[w].el = void 0, e[w].el = void 0));
2495
2508
  };
2496
- s.includes("loop") && e.isElement && (u.loop && !n.loop ? T = !0 : !u.loop && n.loop ? M = !0 : C = !0), d.forEach((S) => {
2497
- if ($(u[S]) && $(n[S]))
2498
- Object.assign(u[S], n[S]), (S === "navigation" || S === "pagination" || S === "scrollbar") && "enabled" in n[S] && !n[S].enabled && x(S);
2509
+ s.includes("loop") && e.isElement && (f.loop && !n.loop ? x = !0 : !f.loop && n.loop ? C = !0 : P = !0), d.forEach((w) => {
2510
+ if (X(f[w]) && X(n[w]))
2511
+ Object.assign(f[w], n[w]), (w === "navigation" || w === "pagination" || w === "scrollbar") && "enabled" in n[w] && !n[w].enabled && y(w);
2499
2512
  else {
2500
- const b = n[S];
2501
- (b === !0 || b === !1) && (S === "navigation" || S === "pagination" || S === "scrollbar") ? b === !1 && x(S) : u[S] = n[S];
2513
+ const b = n[w];
2514
+ (b === !0 || b === !1) && (w === "navigation" || w === "pagination" || w === "scrollbar") ? b === !1 && y(w) : f[w] = n[w];
2502
2515
  }
2503
- }), d.includes("controller") && !g && e.controller && e.controller.control && u.controller && u.controller.control && (e.controller.control = u.controller.control), s.includes("children") && i && c && u.virtual.enabled ? (c.slides = i, c.update(!0)) : s.includes("virtual") && c && u.virtual.enabled && (i && (c.slides = i), c.update(!0)), s.includes("children") && i && u.loop && (C = !0), y && m.init() && m.update(!0), g && (e.controller.control = u.controller.control), w && (e.isElement && (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-pagination"), o.part.add("pagination"), e.el.appendChild(o)), o && (u.pagination.el = o), f.init(), f.render(), f.update()), v && (e.isElement && (!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-scrollbar"), a.part.add("scrollbar"), e.el.appendChild(a)), a && (u.scrollbar.el = a), h.init(), h.updateSize(), h.setTranslate()), E && (e.isElement && ((!r || typeof r == "string") && (r = document.createElement("div"), r.classList.add("swiper-button-next"), me(r, e.hostEl.constructor.nextButtonSvg), r.part.add("button-next"), e.el.appendChild(r)), (!l || typeof l == "string") && (l = document.createElement("div"), l.classList.add("swiper-button-prev"), me(l, e.hostEl.constructor.prevButtonSvg), l.part.add("button-prev"), e.el.appendChild(l))), r && (u.navigation.nextEl = r), l && (u.navigation.prevEl = l), p.init(), p.update()), s.includes("allowSlideNext") && (e.allowSlideNext = n.allowSlideNext), s.includes("allowSlidePrev") && (e.allowSlidePrev = n.allowSlidePrev), s.includes("direction") && e.changeDirection(n.direction, !1), (T || C) && e.loopDestroy(), (M || C) && e.loopCreate(), e.update();
2516
+ }), d.includes("controller") && !v && e.controller && e.controller.control && f.controller && f.controller.control && (e.controller.control = f.controller.control), s.includes("children") && i && c && f.virtual.enabled ? (c.slides = i, c.update(!0)) : s.includes("virtual") && c && f.virtual.enabled && (i && (c.slides = i), c.update(!0)), s.includes("children") && i && f.loop && (P = !0), E && g.init() && g.update(!0), v && (e.controller.control = f.controller.control), S && (e.isElement && (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-pagination"), o.part.add("pagination"), e.el.appendChild(o)), o && (f.pagination.el = o), u.init(), u.render(), u.update()), p && (e.isElement && (!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-scrollbar"), a.part.add("scrollbar"), e.el.appendChild(a)), a && (f.scrollbar.el = a), h.init(), h.updateSize(), h.setTranslate()), T && (e.isElement && ((!r || typeof r == "string") && (r = document.createElement("div"), r.classList.add("swiper-button-next"), we(r, e.hostEl.constructor.nextButtonSvg), r.part.add("button-next"), e.el.appendChild(r)), (!l || typeof l == "string") && (l = document.createElement("div"), l.classList.add("swiper-button-prev"), we(l, e.hostEl.constructor.prevButtonSvg), l.part.add("button-prev"), e.el.appendChild(l))), r && (f.navigation.nextEl = r), l && (f.navigation.prevEl = l), m.init(), m.update()), s.includes("allowSlideNext") && (e.allowSlideNext = n.allowSlideNext), s.includes("allowSlidePrev") && (e.allowSlidePrev = n.allowSlidePrev), s.includes("direction") && e.changeDirection(n.direction, !1), (x || P) && e.loopDestroy(), (C || P) && e.loopCreate(), e.update();
2504
2517
  }
2505
- function be(t, e) {
2518
+ function Ee(t, e) {
2506
2519
  t === void 0 && (t = {});
2507
2520
  const i = {
2508
2521
  on: {}
2509
2522
  }, n = {}, s = {};
2510
- q(i, oe), i._emitClasses = !0, i.init = !1;
2511
- const r = {}, l = Ae.map((o) => o.replace(/_/, "")), a = Object.assign({}, t);
2523
+ q(i, ce), i._emitClasses = !0, i.init = !1;
2524
+ const r = {}, l = De.map((o) => o.replace(/_/, "")), a = Object.assign({}, t);
2512
2525
  return Object.keys(a).forEach((o) => {
2513
- typeof t[o] > "u" || (l.indexOf(o) >= 0 ? $(t[o]) ? (i[o] = {}, s[o] = {}, q(i[o], t[o]), q(s[o], t[o])) : (i[o] = t[o], s[o] = t[o]) : o.search(/on[A-Z]/) === 0 && typeof t[o] == "function" ? i.on[`${o[2].toLowerCase()}${o.substr(3)}`] = t[o] : r[o] = t[o]);
2526
+ typeof t[o] > "u" || (l.indexOf(o) >= 0 ? X(t[o]) ? (i[o] = {}, s[o] = {}, q(i[o], t[o]), q(s[o], t[o])) : (i[o] = t[o], s[o] = t[o]) : o.search(/on[A-Z]/) === 0 && typeof t[o] == "function" ? i.on[`${o[2].toLowerCase()}${o.substr(3)}`] = t[o] : r[o] = t[o]);
2514
2527
  }), ["navigation", "pagination", "scrollbar"].forEach((o) => {
2515
2528
  i[o] === !0 && (i[o] = {}), i[o] === !1 && delete i[o];
2516
2529
  }), {
@@ -2520,7 +2533,7 @@ function be(t, e) {
2520
2533
  events: n
2521
2534
  };
2522
2535
  }
2523
- function ci(t, e) {
2536
+ function mi(t, e) {
2524
2537
  let {
2525
2538
  el: i,
2526
2539
  nextEl: n,
@@ -2529,9 +2542,9 @@ function ci(t, e) {
2529
2542
  scrollbarEl: l,
2530
2543
  swiper: a
2531
2544
  } = t;
2532
- _e(e) && n && s && (a.params.navigation.nextEl = n, a.originalParams.navigation.nextEl = n, a.params.navigation.prevEl = s, a.originalParams.navigation.prevEl = s), Ge(e) && r && (a.params.pagination.el = r, a.originalParams.pagination.el = r), De(e) && l && (a.params.scrollbar.el = l, a.originalParams.scrollbar.el = l), a.init(i);
2545
+ Ge(e) && n && s && (a.params.navigation.nextEl = n, a.originalParams.navigation.nextEl = n, a.params.navigation.prevEl = s, a.originalParams.navigation.prevEl = s), Ne(e) && r && (a.params.pagination.el = r, a.originalParams.pagination.el = r), Ve(e) && l && (a.params.scrollbar.el = l, a.originalParams.scrollbar.el = l), a.init(i);
2533
2546
  }
2534
- function pi(t, e, i, n, s) {
2547
+ function hi(t, e, i, n, s) {
2535
2548
  const r = [];
2536
2549
  if (!e) return r;
2537
2550
  const l = (o) => {
@@ -2541,22 +2554,22 @@ function pi(t, e, i, n, s) {
2541
2554
  const o = n.map(s), d = i.map(s);
2542
2555
  o.join("") !== d.join("") && l("children"), n.length !== i.length && l("children");
2543
2556
  }
2544
- return Ae.filter((o) => o[0] === "_").map((o) => o.replace(/_/, "")).forEach((o) => {
2557
+ return De.filter((o) => o[0] === "_").map((o) => o.replace(/_/, "")).forEach((o) => {
2545
2558
  if (o in t && o in e)
2546
- if ($(t[o]) && $(e[o])) {
2547
- const d = Object.keys(t[o]), u = Object.keys(e[o]);
2548
- d.length !== u.length ? l(o) : (d.forEach((f) => {
2549
- t[o][f] !== e[o][f] && l(o);
2550
- }), u.forEach((f) => {
2551
- t[o][f] !== e[o][f] && l(o);
2559
+ if (X(t[o]) && X(e[o])) {
2560
+ const d = Object.keys(t[o]), f = Object.keys(e[o]);
2561
+ d.length !== f.length ? l(o) : (d.forEach((u) => {
2562
+ t[o][u] !== e[o][u] && l(o);
2563
+ }), f.forEach((u) => {
2564
+ t[o][u] !== e[o][u] && l(o);
2552
2565
  }));
2553
2566
  } else t[o] !== e[o] && l(o);
2554
2567
  }), r;
2555
2568
  }
2556
- const hi = (t) => {
2569
+ const gi = (t) => {
2557
2570
  !t || t.destroyed || !t.params.virtual || t.params.virtual && !t.params.virtual.enabled || (t.updateSlides(), t.updateProgress(), t.updateSlidesClasses(), t.emit("_virtualUpdated"), t.parallax && t.params.parallax && t.params.parallax.enabled && t.parallax.setTranslate());
2558
2571
  };
2559
- function ae(t, e, i) {
2572
+ function de(t, e, i) {
2560
2573
  t === void 0 && (t = {});
2561
2574
  const n = [], s = {
2562
2575
  "container-start": [],
@@ -2578,11 +2591,11 @@ function ae(t, e, i) {
2578
2591
  slots: s
2579
2592
  };
2580
2593
  }
2581
- function mi(t, e, i) {
2594
+ function vi(t, e, i) {
2582
2595
  if (!i) return null;
2583
- const n = (u) => {
2584
- let f = u;
2585
- return u < 0 ? f = e.length + u : f >= e.length && (f = f - e.length), f;
2596
+ const n = (f) => {
2597
+ let u = f;
2598
+ return f < 0 ? u = e.length + f : u >= e.length && (u = u - e.length), u;
2586
2599
  }, s = t.value.isHorizontal() ? {
2587
2600
  [t.value.rtlTranslate ? "right" : "left"]: `${i.offset}px`
2588
2601
  } : {
@@ -2591,20 +2604,20 @@ function mi(t, e, i) {
2591
2604
  from: r,
2592
2605
  to: l
2593
2606
  } = i, a = t.value.params.loop ? -e.length : 0, o = t.value.params.loop ? e.length * 2 : e.length, d = [];
2594
- for (let u = a; u < o; u += 1)
2595
- u >= r && u <= l && d.length < e.length && d.push(e[n(u)]);
2596
- return d.map((u) => {
2597
- if (u.props || (u.props = {}), u.props.style || (u.props.style = {}), u.props.swiperRef = t, u.props.style = s, u.type)
2598
- return D(u.type, {
2599
- ...u.props
2600
- }, u.children);
2601
- if (u.componentOptions)
2602
- return D(u.componentOptions.Ctor, {
2603
- ...u.props
2604
- }, u.componentOptions.children);
2607
+ for (let f = a; f < o; f += 1)
2608
+ f >= r && f <= l && d.length < e.length && d.push(e[n(f)]);
2609
+ return d.map((f) => {
2610
+ if (f.props || (f.props = {}), f.props.style || (f.props.style = {}), f.props.swiperRef = t, f.props.style = s, f.type)
2611
+ return k(f.type, {
2612
+ ...f.props
2613
+ }, f.children);
2614
+ if (f.componentOptions)
2615
+ return k(f.componentOptions.Ctor, {
2616
+ ...f.props
2617
+ }, f.componentOptions.children);
2605
2618
  });
2606
2619
  }
2607
- const wi = {
2620
+ const bi = {
2608
2621
  name: "Swiper",
2609
2622
  props: {
2610
2623
  tag: {
@@ -3077,105 +3090,105 @@ const wi = {
3077
3090
  const {
3078
3091
  tag: s,
3079
3092
  wrapperTag: r
3080
- } = t, l = _("swiper"), a = _(null), o = _(!1), d = _(!1), u = _(null), f = _(null), p = _(null), h = {
3093
+ } = t, l = G("swiper"), a = G(null), o = G(!1), d = G(!1), f = G(null), u = G(null), m = G(null), h = {
3081
3094
  value: []
3082
3095
  }, c = {
3083
3096
  value: []
3084
- }, m = _(null), y = _(null), g = _(null), w = _(null), {
3085
- params: v,
3086
- passedParams: E
3087
- } = be(t);
3088
- ae(i, h, c), p.value = E, c.value = h.value;
3089
- const T = () => {
3090
- ae(i, h, c), o.value = !0;
3097
+ }, g = G(null), E = G(null), v = G(null), S = G(null), {
3098
+ params: p,
3099
+ passedParams: T
3100
+ } = Ee(t);
3101
+ de(i, h, c), m.value = T, c.value = h.value;
3102
+ const x = () => {
3103
+ de(i, h, c), o.value = !0;
3091
3104
  };
3092
- v.onAny = function(x) {
3093
- for (var S = arguments.length, b = new Array(S > 1 ? S - 1 : 0), P = 1; P < S; P++)
3094
- b[P - 1] = arguments[P];
3095
- n(x, ...b);
3096
- }, Object.assign(v.on, {
3097
- _beforeBreakpoint: T,
3098
- _containerClasses(x, S) {
3099
- l.value = S;
3105
+ p.onAny = function(y) {
3106
+ for (var w = arguments.length, b = new Array(w > 1 ? w - 1 : 0), M = 1; M < w; M++)
3107
+ b[M - 1] = arguments[M];
3108
+ n(y, ...b);
3109
+ }, Object.assign(p.on, {
3110
+ _beforeBreakpoint: x,
3111
+ _containerClasses(y, w) {
3112
+ l.value = w;
3100
3113
  }
3101
3114
  });
3102
- const M = {
3103
- ...v
3115
+ const C = {
3116
+ ...p
3104
3117
  };
3105
- if (delete M.wrapperClass, f.value = new ue(M), f.value.virtual && f.value.params.virtual.enabled) {
3106
- f.value.virtual.slides = h.value;
3107
- const x = {
3118
+ if (delete C.wrapperClass, u.value = new me(C), u.value.virtual && u.value.params.virtual.enabled) {
3119
+ u.value.virtual.slides = h.value;
3120
+ const y = {
3108
3121
  cache: !1,
3109
3122
  slides: h.value,
3110
- renderExternal: (S) => {
3111
- a.value = S;
3123
+ renderExternal: (w) => {
3124
+ a.value = w;
3112
3125
  },
3113
3126
  renderExternalUpdate: !1
3114
3127
  };
3115
- q(f.value.params.virtual, x), q(f.value.originalParams.virtual, x);
3128
+ q(u.value.params.virtual, y), q(u.value.originalParams.virtual, y);
3116
3129
  }
3117
- ye(() => {
3118
- !d.value && f.value && (f.value.emitSlidesClasses(), d.value = !0);
3130
+ xe(() => {
3131
+ !d.value && u.value && (u.value.emitSlidesClasses(), d.value = !0);
3119
3132
  const {
3120
- passedParams: x
3121
- } = be(t), S = pi(x, p.value, h.value, c.value, (b) => b.props && b.props.key);
3122
- p.value = x, (S.length || o.value) && f.value && !f.value.destroyed && fi({
3123
- swiper: f.value,
3133
+ passedParams: y
3134
+ } = Ee(t), w = hi(y, m.value, h.value, c.value, (b) => b.props && b.props.key);
3135
+ m.value = y, (w.length || o.value) && u.value && !u.value.destroyed && pi({
3136
+ swiper: u.value,
3124
3137
  slides: h.value,
3125
- passedParams: x,
3126
- changedParams: S,
3127
- nextEl: m.value,
3128
- prevEl: y.value,
3129
- scrollbarEl: w.value,
3130
- paginationEl: g.value
3138
+ passedParams: y,
3139
+ changedParams: w,
3140
+ nextEl: g.value,
3141
+ prevEl: E.value,
3142
+ scrollbarEl: S.value,
3143
+ paginationEl: v.value
3131
3144
  }), o.value = !1;
3132
- }), Te("swiper", f), Re(a, () => {
3133
- Fe(() => {
3134
- hi(f.value);
3145
+ }), Me("swiper", u), Fe(a, () => {
3146
+ je(() => {
3147
+ gi(u.value);
3135
3148
  });
3136
- }), xe(() => {
3137
- u.value && (ci({
3138
- el: u.value,
3139
- nextEl: m.value,
3140
- prevEl: y.value,
3141
- paginationEl: g.value,
3142
- scrollbarEl: w.value,
3143
- swiper: f.value
3144
- }, v), n("swiper", f.value));
3145
- }), Ee(() => {
3146
- f.value && !f.value.destroyed && f.value.destroy(!0, !1);
3149
+ }), Pe(() => {
3150
+ f.value && (mi({
3151
+ el: f.value,
3152
+ nextEl: g.value,
3153
+ prevEl: E.value,
3154
+ paginationEl: v.value,
3155
+ scrollbarEl: S.value,
3156
+ swiper: u.value
3157
+ }, p), n("swiper", u.value));
3158
+ }), Ce(() => {
3159
+ u.value && !u.value.destroyed && u.value.destroy(!0, !1);
3147
3160
  });
3148
- function C(x) {
3149
- return v.virtual ? mi(f, x, a.value) : (x.forEach((S, b) => {
3150
- S.props || (S.props = {}), S.props.swiperRef = f, S.props.swiperSlideIndex = b;
3151
- }), x);
3161
+ function P(y) {
3162
+ return p.virtual ? vi(u, y, a.value) : (y.forEach((w, b) => {
3163
+ w.props || (w.props = {}), w.props.swiperRef = u, w.props.swiperSlideIndex = b;
3164
+ }), y);
3152
3165
  }
3153
3166
  return () => {
3154
3167
  const {
3155
- slides: x,
3156
- slots: S
3157
- } = ae(i, h, c);
3158
- return D(s, {
3159
- ref: u,
3160
- class: Ne(l.value)
3161
- }, [S["container-start"], D(r, {
3162
- class: ui(v.wrapperClass)
3163
- }, [S["wrapper-start"], C(x), S["wrapper-end"]]), _e(t) && [D("div", {
3164
- ref: y,
3168
+ slides: y,
3169
+ slots: w
3170
+ } = de(i, h, c);
3171
+ return k(s, {
3172
+ ref: f,
3173
+ class: ke(l.value)
3174
+ }, [w["container-start"], k(r, {
3175
+ class: ci(p.wrapperClass)
3176
+ }, [w["wrapper-start"], P(y), w["wrapper-end"]]), Ge(t) && [k("div", {
3177
+ ref: E,
3165
3178
  class: "swiper-button-prev"
3166
- }), D("div", {
3167
- ref: m,
3179
+ }), k("div", {
3180
+ ref: g,
3168
3181
  class: "swiper-button-next"
3169
- })], De(t) && D("div", {
3170
- ref: w,
3182
+ })], Ve(t) && k("div", {
3183
+ ref: S,
3171
3184
  class: "swiper-scrollbar"
3172
- }), Ge(t) && D("div", {
3173
- ref: g,
3185
+ }), Ne(t) && k("div", {
3186
+ ref: v,
3174
3187
  class: "swiper-pagination"
3175
- }), S["container-end"]]);
3188
+ }), w["container-end"]]);
3176
3189
  };
3177
3190
  }
3178
- }, Si = {
3191
+ }, Ti = {
3179
3192
  name: "SwiperSlide",
3180
3193
  props: {
3181
3194
  tag: {
@@ -3212,53 +3225,256 @@ const wi = {
3212
3225
  } = e, n = !1;
3213
3226
  const {
3214
3227
  swiperRef: s
3215
- } = t, r = _(null), l = _("swiper-slide"), a = _(!1);
3216
- function o(f, p, h) {
3217
- p === r.value && (l.value = h);
3228
+ } = t, r = G(null), l = G("swiper-slide"), a = G(!1);
3229
+ function o(u, m, h) {
3230
+ m === r.value && (l.value = h);
3218
3231
  }
3219
- xe(() => {
3232
+ Pe(() => {
3220
3233
  !s || !s.value || (s.value.on("_slideClass", o), n = !0);
3221
- }), He(() => {
3234
+ }), $e(() => {
3222
3235
  n || !s || !s.value || (s.value.on("_slideClass", o), n = !0);
3223
- }), ye(() => {
3236
+ }), xe(() => {
3224
3237
  !r.value || !s || !s.value || (typeof t.swiperSlideIndex < "u" && (r.value.swiperSlideIndex = t.swiperSlideIndex), s.value.destroyed && l.value !== "swiper-slide" && (l.value = "swiper-slide"));
3225
- }), Ee(() => {
3238
+ }), Ce(() => {
3226
3239
  !s || !s.value || s.value.off("_slideClass", o);
3227
3240
  });
3228
- const d = je(() => ({
3241
+ const d = We(() => ({
3229
3242
  isActive: l.value.indexOf("swiper-slide-active") >= 0,
3230
3243
  isVisible: l.value.indexOf("swiper-slide-visible") >= 0,
3231
3244
  isPrev: l.value.indexOf("swiper-slide-prev") >= 0,
3232
3245
  isNext: l.value.indexOf("swiper-slide-next") >= 0
3233
3246
  }));
3234
- Te("swiperSlide", d);
3235
- const u = () => {
3247
+ Me("swiperSlide", d);
3248
+ const f = () => {
3236
3249
  a.value = !0;
3237
3250
  };
3238
- return () => D(t.tag, {
3239
- class: Ne(`${l.value}`),
3251
+ return () => k(t.tag, {
3252
+ class: ke(`${l.value}`),
3240
3253
  ref: r,
3241
3254
  "data-swiper-slide-index": typeof t.virtualIndex > "u" && s && s.value && s.value.params.loop ? t.swiperSlideIndex : t.virtualIndex,
3242
- onLoadCapture: u
3243
- }, t.zoom ? D("div", {
3255
+ onLoadCapture: f
3256
+ }, t.zoom ? k("div", {
3244
3257
  class: "swiper-zoom-container",
3245
3258
  "data-swiper-zoom": typeof t.zoom == "number" ? t.zoom : void 0
3246
- }, [i.default && i.default(d.value), t.lazy && !a.value && D("div", {
3259
+ }, [i.default && i.default(d.value), t.lazy && !a.value && k("div", {
3247
3260
  class: "swiper-lazy-preloader"
3248
- })]) : [i.default && i.default(d.value), t.lazy && !a.value && D("div", {
3261
+ })]) : [i.default && i.default(d.value), t.lazy && !a.value && k("div", {
3249
3262
  class: "swiper-lazy-preloader"
3250
3263
  })]);
3251
3264
  }
3252
3265
  };
3253
- function gi(t, e, i, n) {
3266
+ function yi(t) {
3267
+ let {
3268
+ swiper: e,
3269
+ extendParams: i,
3270
+ on: n,
3271
+ emit: s
3272
+ } = t;
3273
+ const r = $(), l = _();
3274
+ e.keyboard = {
3275
+ enabled: !1
3276
+ }, i({
3277
+ keyboard: {
3278
+ enabled: !1,
3279
+ onlyInViewport: !0,
3280
+ pageUpDown: !0
3281
+ }
3282
+ });
3283
+ function a(f) {
3284
+ if (!e.enabled) return;
3285
+ const {
3286
+ rtlTranslate: u
3287
+ } = e;
3288
+ let m = f;
3289
+ m.originalEvent && (m = m.originalEvent);
3290
+ const h = m.keyCode || m.charCode, c = e.params.keyboard.pageUpDown, g = c && h === 33, E = c && h === 34, v = h === 37, S = h === 39, p = h === 38, T = h === 40;
3291
+ if (!e.allowSlideNext && (e.isHorizontal() && S || e.isVertical() && T || E) || !e.allowSlidePrev && (e.isHorizontal() && v || e.isVertical() && p || g))
3292
+ return !1;
3293
+ if (!(m.shiftKey || m.altKey || m.ctrlKey || m.metaKey) && !(r.activeElement && (r.activeElement.isContentEditable || r.activeElement.nodeName && (r.activeElement.nodeName.toLowerCase() === "input" || r.activeElement.nodeName.toLowerCase() === "textarea")))) {
3294
+ if (e.params.keyboard.onlyInViewport && (g || E || v || S || p || T)) {
3295
+ let x = !1;
3296
+ if (fe(e.el, `.${e.params.slideClass}, swiper-slide`).length > 0 && fe(e.el, `.${e.params.slideActiveClass}`).length === 0)
3297
+ return;
3298
+ const C = e.el, P = C.clientWidth, y = C.clientHeight, w = l.innerWidth, b = l.innerHeight, M = et(C);
3299
+ u && (M.left -= C.scrollLeft);
3300
+ const I = [[M.left, M.top], [M.left + P, M.top], [M.left, M.top + y], [M.left + P, M.top + y]];
3301
+ for (let O = 0; O < I.length; O += 1) {
3302
+ const B = I[O];
3303
+ if (B[0] >= 0 && B[0] <= w && B[1] >= 0 && B[1] <= b) {
3304
+ if (B[0] === 0 && B[1] === 0) continue;
3305
+ x = !0;
3306
+ }
3307
+ }
3308
+ if (!x) return;
3309
+ }
3310
+ e.isHorizontal() ? ((g || E || v || S) && (m.preventDefault ? m.preventDefault() : m.returnValue = !1), ((E || S) && !u || (g || v) && u) && e.slideNext(), ((g || v) && !u || (E || S) && u) && e.slidePrev()) : ((g || E || p || T) && (m.preventDefault ? m.preventDefault() : m.returnValue = !1), (E || T) && e.slideNext(), (g || p) && e.slidePrev()), s("keyPress", h);
3311
+ }
3312
+ }
3313
+ function o() {
3314
+ e.keyboard.enabled || (r.addEventListener("keydown", a), e.keyboard.enabled = !0);
3315
+ }
3316
+ function d() {
3317
+ e.keyboard.enabled && (r.removeEventListener("keydown", a), e.keyboard.enabled = !1);
3318
+ }
3319
+ n("init", () => {
3320
+ e.params.keyboard.enabled && o();
3321
+ }), n("destroy", () => {
3322
+ e.keyboard.enabled && d();
3323
+ }), Object.assign(e.keyboard, {
3324
+ enable: o,
3325
+ disable: d
3326
+ });
3327
+ }
3328
+ function Ei(t) {
3329
+ let {
3330
+ swiper: e,
3331
+ extendParams: i,
3332
+ on: n,
3333
+ emit: s
3334
+ } = t;
3335
+ const r = _();
3336
+ i({
3337
+ mousewheel: {
3338
+ enabled: !1,
3339
+ releaseOnEdges: !1,
3340
+ invert: !1,
3341
+ forceToAxis: !1,
3342
+ sensitivity: 1,
3343
+ eventsTarget: "container",
3344
+ thresholdDelta: null,
3345
+ thresholdTime: null,
3346
+ noMousewheelClass: "swiper-no-mousewheel"
3347
+ }
3348
+ }), e.mousewheel = {
3349
+ enabled: !1
3350
+ };
3351
+ let l, a = R(), o;
3352
+ const d = [];
3353
+ function f(p) {
3354
+ let P = 0, y = 0, w = 0, b = 0;
3355
+ return "detail" in p && (y = p.detail), "wheelDelta" in p && (y = -p.wheelDelta / 120), "wheelDeltaY" in p && (y = -p.wheelDeltaY / 120), "wheelDeltaX" in p && (P = -p.wheelDeltaX / 120), "axis" in p && p.axis === p.HORIZONTAL_AXIS && (P = y, y = 0), w = P * 10, b = y * 10, "deltaY" in p && (b = p.deltaY), "deltaX" in p && (w = p.deltaX), p.shiftKey && !w && (w = b, b = 0), (w || b) && p.deltaMode && (p.deltaMode === 1 ? (w *= 40, b *= 40) : (w *= 800, b *= 800)), w && !P && (P = w < 1 ? -1 : 1), b && !y && (y = b < 1 ? -1 : 1), {
3356
+ spinX: P,
3357
+ spinY: y,
3358
+ pixelX: w,
3359
+ pixelY: b
3360
+ };
3361
+ }
3362
+ function u() {
3363
+ e.enabled && (e.mouseEntered = !0);
3364
+ }
3365
+ function m() {
3366
+ e.enabled && (e.mouseEntered = !1);
3367
+ }
3368
+ function h(p) {
3369
+ return e.params.mousewheel.thresholdDelta && p.delta < e.params.mousewheel.thresholdDelta || e.params.mousewheel.thresholdTime && R() - a < e.params.mousewheel.thresholdTime ? !1 : p.delta >= 6 && R() - a < 60 ? !0 : (p.direction < 0 ? (!e.isEnd || e.params.loop) && !e.animating && (e.slideNext(), s("scroll", p.raw)) : (!e.isBeginning || e.params.loop) && !e.animating && (e.slidePrev(), s("scroll", p.raw)), a = new r.Date().getTime(), !1);
3370
+ }
3371
+ function c(p) {
3372
+ const T = e.params.mousewheel;
3373
+ if (p.direction < 0) {
3374
+ if (e.isEnd && !e.params.loop && T.releaseOnEdges)
3375
+ return !0;
3376
+ } else if (e.isBeginning && !e.params.loop && T.releaseOnEdges)
3377
+ return !0;
3378
+ return !1;
3379
+ }
3380
+ function g(p) {
3381
+ let T = p, x = !0;
3382
+ if (!e.enabled || p.target.closest(`.${e.params.mousewheel.noMousewheelClass}`)) return;
3383
+ const C = e.params.mousewheel;
3384
+ e.params.cssMode && T.preventDefault();
3385
+ let P = e.el;
3386
+ e.params.mousewheel.eventsTarget !== "container" && (P = document.querySelector(e.params.mousewheel.eventsTarget));
3387
+ const y = P && P.contains(T.target);
3388
+ if (!e.mouseEntered && !y && !C.releaseOnEdges) return !0;
3389
+ T.originalEvent && (T = T.originalEvent);
3390
+ let w = 0;
3391
+ const b = e.rtlTranslate ? -1 : 1, M = f(T);
3392
+ if (C.forceToAxis)
3393
+ if (e.isHorizontal())
3394
+ if (Math.abs(M.pixelX) > Math.abs(M.pixelY)) w = -M.pixelX * b;
3395
+ else return !0;
3396
+ else if (Math.abs(M.pixelY) > Math.abs(M.pixelX)) w = -M.pixelY;
3397
+ else return !0;
3398
+ else
3399
+ w = Math.abs(M.pixelX) > Math.abs(M.pixelY) ? -M.pixelX * b : -M.pixelY;
3400
+ if (w === 0) return !0;
3401
+ C.invert && (w = -w);
3402
+ let I = e.getTranslate() + w * C.sensitivity;
3403
+ if (I >= e.minTranslate() && (I = e.minTranslate()), I <= e.maxTranslate() && (I = e.maxTranslate()), x = e.params.loop ? !0 : !(I === e.minTranslate() || I === e.maxTranslate()), x && e.params.nested && T.stopPropagation(), !e.params.freeMode || !e.params.freeMode.enabled) {
3404
+ const O = {
3405
+ time: R(),
3406
+ delta: Math.abs(w),
3407
+ direction: Math.sign(w),
3408
+ raw: p
3409
+ };
3410
+ d.length >= 2 && d.shift();
3411
+ const B = d.length ? d[d.length - 1] : void 0;
3412
+ if (d.push(O), B ? (O.direction !== B.direction || O.delta > B.delta || O.time > B.time + 150) && h(O) : h(O), c(O))
3413
+ return !0;
3414
+ } else {
3415
+ const O = {
3416
+ time: R(),
3417
+ delta: Math.abs(w),
3418
+ direction: Math.sign(w)
3419
+ }, B = o && O.time < o.time + 500 && O.delta <= o.delta && O.direction === o.direction;
3420
+ if (!B) {
3421
+ o = void 0;
3422
+ let D = e.getTranslate() + w * C.sensitivity;
3423
+ const L = e.isBeginning, z = e.isEnd;
3424
+ if (D >= e.minTranslate() && (D = e.minTranslate()), D <= e.maxTranslate() && (D = e.maxTranslate()), e.setTransition(0), e.setTranslate(D), e.updateProgress(), e.updateActiveIndex(), e.updateSlidesClasses(), (!L && e.isBeginning || !z && e.isEnd) && e.updateSlidesClasses(), e.params.loop && e.loopFix({
3425
+ direction: O.direction < 0 ? "next" : "prev",
3426
+ byMousewheel: !0
3427
+ }), e.params.freeMode.sticky) {
3428
+ clearTimeout(l), l = void 0, d.length >= 15 && d.shift();
3429
+ const A = d.length ? d[d.length - 1] : void 0, V = d[0];
3430
+ if (d.push(O), A && (O.delta > A.delta || O.direction !== A.direction))
3431
+ d.splice(0);
3432
+ else if (d.length >= 15 && O.time - V.time < 500 && V.delta - O.delta >= 1 && O.delta <= 6) {
3433
+ const Y = w > 0 ? 0.8 : 0.2;
3434
+ o = O, d.splice(0), l = Q(() => {
3435
+ e.destroyed || !e.params || e.slideToClosest(e.params.speed, !0, void 0, Y);
3436
+ }, 0);
3437
+ }
3438
+ l || (l = Q(() => {
3439
+ if (e.destroyed || !e.params) return;
3440
+ const Y = 0.5;
3441
+ o = O, d.splice(0), e.slideToClosest(e.params.speed, !0, void 0, Y);
3442
+ }, 500));
3443
+ }
3444
+ if (B || s("scroll", T), e.params.autoplay && e.params.autoplay.disableOnInteraction && e.autoplay.stop(), C.releaseOnEdges && (D === e.minTranslate() || D === e.maxTranslate()))
3445
+ return !0;
3446
+ }
3447
+ }
3448
+ return T.preventDefault ? T.preventDefault() : T.returnValue = !1, !1;
3449
+ }
3450
+ function E(p) {
3451
+ let T = e.el;
3452
+ e.params.mousewheel.eventsTarget !== "container" && (T = document.querySelector(e.params.mousewheel.eventsTarget)), T[p]("mouseenter", u), T[p]("mouseleave", m), T[p]("wheel", g);
3453
+ }
3454
+ function v() {
3455
+ return e.params.cssMode ? (e.wrapperEl.removeEventListener("wheel", g), !0) : e.mousewheel.enabled ? !1 : (E("addEventListener"), e.mousewheel.enabled = !0, !0);
3456
+ }
3457
+ function S() {
3458
+ return e.params.cssMode ? (e.wrapperEl.addEventListener(event, g), !0) : e.mousewheel.enabled ? (E("removeEventListener"), e.mousewheel.enabled = !1, !0) : !1;
3459
+ }
3460
+ n("init", () => {
3461
+ !e.params.mousewheel.enabled && e.params.cssMode && S(), e.params.mousewheel.enabled && v();
3462
+ }), n("destroy", () => {
3463
+ e.params.cssMode && v(), e.mousewheel.enabled && S();
3464
+ }), Object.assign(e.mousewheel, {
3465
+ enable: v,
3466
+ disable: S
3467
+ });
3468
+ }
3469
+ function wi(t, e, i, n) {
3254
3470
  return t.params.createElements && Object.keys(n).forEach((s) => {
3255
3471
  if (!i[s] && i.auto === !0) {
3256
- let r = N(t.el, `.${n[s]}`)[0];
3257
- r || (r = Z("div", n[s]), r.className = n[s], t.el.append(r)), i[s] = r, e[s] = r;
3472
+ let r = H(t.el, `.${n[s]}`)[0];
3473
+ r || (r = ee("div", n[s]), r.className = n[s], t.el.append(r)), i[s] = r, e[s] = r;
3258
3474
  }
3259
3475
  }), i;
3260
3476
  }
3261
- function bi(t) {
3477
+ function xi(t) {
3262
3478
  let {
3263
3479
  swiper: e,
3264
3480
  extendParams: i,
@@ -3280,25 +3496,25 @@ function bi(t) {
3280
3496
  prevEl: null
3281
3497
  };
3282
3498
  function r(c) {
3283
- let m;
3284
- return c && typeof c == "string" && e.isElement && (m = e.el.querySelector(c) || e.hostEl.querySelector(c), m) ? m : (c && (typeof c == "string" && (m = [...document.querySelectorAll(c)]), e.params.uniqueNavElements && typeof c == "string" && m && m.length > 1 && e.el.querySelectorAll(c).length === 1 ? m = e.el.querySelector(c) : m && m.length === 1 && (m = m[0])), c && !m ? c : m);
3499
+ let g;
3500
+ return c && typeof c == "string" && e.isElement && (g = e.el.querySelector(c) || e.hostEl.querySelector(c), g) ? g : (c && (typeof c == "string" && (g = [...document.querySelectorAll(c)]), e.params.uniqueNavElements && typeof c == "string" && g && g.length > 1 && e.el.querySelectorAll(c).length === 1 ? g = e.el.querySelector(c) : g && g.length === 1 && (g = g[0])), c && !g ? c : g);
3285
3501
  }
3286
- function l(c, m) {
3287
- const y = e.params.navigation;
3288
- c = k(c), c.forEach((g) => {
3289
- g && (g.classList[m ? "add" : "remove"](...y.disabledClass.split(" ")), g.tagName === "BUTTON" && (g.disabled = m), e.params.watchOverflow && e.enabled && g.classList[e.isLocked ? "add" : "remove"](y.lockClass));
3502
+ function l(c, g) {
3503
+ const E = e.params.navigation;
3504
+ c = F(c), c.forEach((v) => {
3505
+ v && (v.classList[g ? "add" : "remove"](...E.disabledClass.split(" ")), v.tagName === "BUTTON" && (v.disabled = g), e.params.watchOverflow && e.enabled && v.classList[e.isLocked ? "add" : "remove"](E.lockClass));
3290
3506
  });
3291
3507
  }
3292
3508
  function a() {
3293
3509
  const {
3294
3510
  nextEl: c,
3295
- prevEl: m
3511
+ prevEl: g
3296
3512
  } = e.navigation;
3297
3513
  if (e.params.loop) {
3298
- l(m, !1), l(c, !1);
3514
+ l(g, !1), l(c, !1);
3299
3515
  return;
3300
3516
  }
3301
- l(m, e.isBeginning && !e.params.rewind), l(c, e.isEnd && !e.params.rewind);
3517
+ l(g, e.isBeginning && !e.params.rewind), l(c, e.isEnd && !e.params.rewind);
3302
3518
  }
3303
3519
  function o(c) {
3304
3520
  c.preventDefault(), !(e.isBeginning && !e.params.loop && !e.params.rewind) && (e.slidePrev(), s("navigationPrev"));
@@ -3306,82 +3522,206 @@ function bi(t) {
3306
3522
  function d(c) {
3307
3523
  c.preventDefault(), !(e.isEnd && !e.params.loop && !e.params.rewind) && (e.slideNext(), s("navigationNext"));
3308
3524
  }
3309
- function u() {
3525
+ function f() {
3310
3526
  const c = e.params.navigation;
3311
- if (e.params.navigation = gi(e, e.originalParams.navigation, e.params.navigation, {
3527
+ if (e.params.navigation = wi(e, e.originalParams.navigation, e.params.navigation, {
3312
3528
  nextEl: "swiper-button-next",
3313
3529
  prevEl: "swiper-button-prev"
3314
3530
  }), !(c.nextEl || c.prevEl)) return;
3315
- let m = r(c.nextEl), y = r(c.prevEl);
3531
+ let g = r(c.nextEl), E = r(c.prevEl);
3316
3532
  Object.assign(e.navigation, {
3317
- nextEl: m,
3318
- prevEl: y
3319
- }), m = k(m), y = k(y);
3320
- const g = (w, v) => {
3321
- w && w.addEventListener("click", v === "next" ? d : o), !e.enabled && w && w.classList.add(...c.lockClass.split(" "));
3533
+ nextEl: g,
3534
+ prevEl: E
3535
+ }), g = F(g), E = F(E);
3536
+ const v = (S, p) => {
3537
+ S && S.addEventListener("click", p === "next" ? d : o), !e.enabled && S && S.classList.add(...c.lockClass.split(" "));
3322
3538
  };
3323
- m.forEach((w) => g(w, "next")), y.forEach((w) => g(w, "prev"));
3539
+ g.forEach((S) => v(S, "next")), E.forEach((S) => v(S, "prev"));
3324
3540
  }
3325
- function f() {
3541
+ function u() {
3326
3542
  let {
3327
3543
  nextEl: c,
3328
- prevEl: m
3544
+ prevEl: g
3329
3545
  } = e.navigation;
3330
- c = k(c), m = k(m);
3331
- const y = (g, w) => {
3332
- g.removeEventListener("click", w === "next" ? d : o), g.classList.remove(...e.params.navigation.disabledClass.split(" "));
3546
+ c = F(c), g = F(g);
3547
+ const E = (v, S) => {
3548
+ v.removeEventListener("click", S === "next" ? d : o), v.classList.remove(...e.params.navigation.disabledClass.split(" "));
3333
3549
  };
3334
- c.forEach((g) => y(g, "next")), m.forEach((g) => y(g, "prev"));
3550
+ c.forEach((v) => E(v, "next")), g.forEach((v) => E(v, "prev"));
3335
3551
  }
3336
3552
  n("init", () => {
3337
- e.params.navigation.enabled === !1 ? h() : (u(), a());
3553
+ e.params.navigation.enabled === !1 ? h() : (f(), a());
3338
3554
  }), n("toEdge fromEdge lock unlock", () => {
3339
3555
  a();
3340
3556
  }), n("destroy", () => {
3341
- f();
3557
+ u();
3342
3558
  }), n("enable disable", () => {
3343
3559
  let {
3344
3560
  nextEl: c,
3345
- prevEl: m
3561
+ prevEl: g
3346
3562
  } = e.navigation;
3347
- if (c = k(c), m = k(m), e.enabled) {
3563
+ if (c = F(c), g = F(g), e.enabled) {
3348
3564
  a();
3349
3565
  return;
3350
3566
  }
3351
- [...c, ...m].filter((y) => !!y).forEach((y) => y.classList.add(e.params.navigation.lockClass));
3352
- }), n("click", (c, m) => {
3567
+ [...c, ...g].filter((E) => !!E).forEach((E) => E.classList.add(e.params.navigation.lockClass));
3568
+ }), n("click", (c, g) => {
3353
3569
  let {
3354
- nextEl: y,
3355
- prevEl: g
3570
+ nextEl: E,
3571
+ prevEl: v
3356
3572
  } = e.navigation;
3357
- y = k(y), g = k(g);
3358
- const w = m.target;
3359
- let v = g.includes(w) || y.includes(w);
3360
- if (e.isElement && !v) {
3361
- const E = m.path || m.composedPath && m.composedPath();
3362
- E && (v = E.find((T) => y.includes(T) || g.includes(T)));
3573
+ E = F(E), v = F(v);
3574
+ const S = g.target;
3575
+ let p = v.includes(S) || E.includes(S);
3576
+ if (e.isElement && !p) {
3577
+ const T = g.path || g.composedPath && g.composedPath();
3578
+ T && (p = T.find((x) => E.includes(x) || v.includes(x)));
3363
3579
  }
3364
- if (e.params.navigation.hideOnClick && !v) {
3365
- if (e.pagination && e.params.pagination && e.params.pagination.clickable && (e.pagination.el === w || e.pagination.el.contains(w))) return;
3366
- let E;
3367
- y.length ? E = y[0].classList.contains(e.params.navigation.hiddenClass) : g.length && (E = g[0].classList.contains(e.params.navigation.hiddenClass)), s(E === !0 ? "navigationShow" : "navigationHide"), [...y, ...g].filter((T) => !!T).forEach((T) => T.classList.toggle(e.params.navigation.hiddenClass));
3580
+ if (e.params.navigation.hideOnClick && !p) {
3581
+ if (e.pagination && e.params.pagination && e.params.pagination.clickable && (e.pagination.el === S || e.pagination.el.contains(S))) return;
3582
+ let T;
3583
+ E.length ? T = E[0].classList.contains(e.params.navigation.hiddenClass) : v.length && (T = v[0].classList.contains(e.params.navigation.hiddenClass)), s(T === !0 ? "navigationShow" : "navigationHide"), [...E, ...v].filter((x) => !!x).forEach((x) => x.classList.toggle(e.params.navigation.hiddenClass));
3368
3584
  }
3369
3585
  });
3370
- const p = () => {
3371
- e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")), u(), a();
3586
+ const m = () => {
3587
+ e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")), f(), a();
3372
3588
  }, h = () => {
3373
- e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")), f();
3589
+ e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")), u();
3374
3590
  };
3375
3591
  Object.assign(e.navigation, {
3376
- enable: p,
3592
+ enable: m,
3377
3593
  disable: h,
3378
3594
  update: a,
3379
- init: u,
3380
- destroy: f
3595
+ init: f,
3596
+ destroy: u
3597
+ });
3598
+ }
3599
+ function Mi(t) {
3600
+ let {
3601
+ swiper: e,
3602
+ extendParams: i,
3603
+ emit: n,
3604
+ once: s
3605
+ } = t;
3606
+ i({
3607
+ freeMode: {
3608
+ enabled: !1,
3609
+ momentum: !0,
3610
+ momentumRatio: 1,
3611
+ momentumBounce: !0,
3612
+ momentumBounceRatio: 1,
3613
+ momentumVelocityRatio: 1,
3614
+ sticky: !1,
3615
+ minimumVelocity: 0.02
3616
+ }
3617
+ });
3618
+ function r() {
3619
+ if (e.params.cssMode) return;
3620
+ const o = e.getTranslate();
3621
+ e.setTranslate(o), e.setTransition(0), e.touchEventsData.velocities.length = 0, e.freeMode.onTouchEnd({
3622
+ currentPos: e.rtl ? e.translate : -e.translate
3623
+ });
3624
+ }
3625
+ function l() {
3626
+ if (e.params.cssMode) return;
3627
+ const {
3628
+ touchEventsData: o,
3629
+ touches: d
3630
+ } = e;
3631
+ o.velocities.length === 0 && o.velocities.push({
3632
+ position: d[e.isHorizontal() ? "startX" : "startY"],
3633
+ time: o.touchStartTime
3634
+ }), o.velocities.push({
3635
+ position: d[e.isHorizontal() ? "currentX" : "currentY"],
3636
+ time: R()
3637
+ });
3638
+ }
3639
+ function a(o) {
3640
+ let {
3641
+ currentPos: d
3642
+ } = o;
3643
+ if (e.params.cssMode) return;
3644
+ const {
3645
+ params: f,
3646
+ wrapperEl: u,
3647
+ rtlTranslate: m,
3648
+ snapGrid: h,
3649
+ touchEventsData: c
3650
+ } = e, E = R() - c.touchStartTime;
3651
+ if (d < -e.minTranslate()) {
3652
+ e.slideTo(e.activeIndex);
3653
+ return;
3654
+ }
3655
+ if (d > -e.maxTranslate()) {
3656
+ e.slides.length < h.length ? e.slideTo(h.length - 1) : e.slideTo(e.slides.length - 1);
3657
+ return;
3658
+ }
3659
+ if (f.freeMode.momentum) {
3660
+ if (c.velocities.length > 1) {
3661
+ const y = c.velocities.pop(), w = c.velocities.pop(), b = y.position - w.position, M = y.time - w.time;
3662
+ e.velocity = b / M, e.velocity /= 2, Math.abs(e.velocity) < f.freeMode.minimumVelocity && (e.velocity = 0), (M > 150 || R() - y.time > 300) && (e.velocity = 0);
3663
+ } else
3664
+ e.velocity = 0;
3665
+ e.velocity *= f.freeMode.momentumVelocityRatio, c.velocities.length = 0;
3666
+ let v = 1e3 * f.freeMode.momentumRatio;
3667
+ const S = e.velocity * v;
3668
+ let p = e.translate + S;
3669
+ m && (p = -p);
3670
+ let T = !1, x;
3671
+ const C = Math.abs(e.velocity) * 20 * f.freeMode.momentumBounceRatio;
3672
+ let P;
3673
+ if (p < e.maxTranslate())
3674
+ f.freeMode.momentumBounce ? (p + e.maxTranslate() < -C && (p = e.maxTranslate() - C), x = e.maxTranslate(), T = !0, c.allowMomentumBounce = !0) : p = e.maxTranslate(), f.loop && f.centeredSlides && (P = !0);
3675
+ else if (p > e.minTranslate())
3676
+ f.freeMode.momentumBounce ? (p - e.minTranslate() > C && (p = e.minTranslate() + C), x = e.minTranslate(), T = !0, c.allowMomentumBounce = !0) : p = e.minTranslate(), f.loop && f.centeredSlides && (P = !0);
3677
+ else if (f.freeMode.sticky) {
3678
+ let y;
3679
+ for (let w = 0; w < h.length; w += 1)
3680
+ if (h[w] > -p) {
3681
+ y = w;
3682
+ break;
3683
+ }
3684
+ Math.abs(h[y] - p) < Math.abs(h[y - 1] - p) || e.swipeDirection === "next" ? p = h[y] : p = h[y - 1], p = -p;
3685
+ }
3686
+ if (P && s("transitionEnd", () => {
3687
+ e.loopFix();
3688
+ }), e.velocity !== 0) {
3689
+ if (m ? v = Math.abs((-p - e.translate) / e.velocity) : v = Math.abs((p - e.translate) / e.velocity), f.freeMode.sticky) {
3690
+ const y = Math.abs((m ? -p : p) - e.translate), w = e.slidesSizesGrid[e.activeIndex];
3691
+ y < w ? v = f.speed : y < 2 * w ? v = f.speed * 1.5 : v = f.speed * 2.5;
3692
+ }
3693
+ } else if (f.freeMode.sticky) {
3694
+ e.slideToClosest();
3695
+ return;
3696
+ }
3697
+ f.freeMode.momentumBounce && T ? (e.updateProgress(x), e.setTransition(v), e.setTranslate(p), e.transitionStart(!0, e.swipeDirection), e.animating = !0, te(u, () => {
3698
+ !e || e.destroyed || !c.allowMomentumBounce || (n("momentumBounce"), e.setTransition(f.speed), setTimeout(() => {
3699
+ e.setTranslate(x), te(u, () => {
3700
+ !e || e.destroyed || e.transitionEnd();
3701
+ });
3702
+ }, 0));
3703
+ })) : e.velocity ? (n("_freeModeNoMomentumRelease"), e.updateProgress(p), e.setTransition(v), e.setTranslate(p), e.transitionStart(!0, e.swipeDirection), e.animating || (e.animating = !0, te(u, () => {
3704
+ !e || e.destroyed || e.transitionEnd();
3705
+ }))) : e.updateProgress(p), e.updateActiveIndex(), e.updateSlidesClasses();
3706
+ } else if (f.freeMode.sticky) {
3707
+ e.slideToClosest();
3708
+ return;
3709
+ } else f.freeMode && n("_freeModeNoMomentumRelease");
3710
+ (!f.freeMode.momentum || E >= f.longSwipesMs) && (n("_freeModeStaticRelease"), e.updateProgress(), e.updateActiveIndex(), e.updateSlidesClasses());
3711
+ }
3712
+ Object.assign(e, {
3713
+ freeMode: {
3714
+ onTouchStart: r,
3715
+ onTouchMove: l,
3716
+ onTouchEnd: a
3717
+ }
3381
3718
  });
3382
3719
  }
3383
3720
  export {
3384
- bi as N,
3385
- wi as S,
3386
- Si as a
3721
+ yi as K,
3722
+ Ei as M,
3723
+ xi as N,
3724
+ bi as S,
3725
+ Ti as a,
3726
+ Mi as f
3387
3727
  };