md-components-mdigial-azamat 0.0.11 → 0.0.13

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 (112) hide show
  1. package/README.md +1 -1
  2. package/dist/AllComponents.js +130 -0
  3. package/dist/AnimatedSwiper/Slide/Slide.js +57 -0
  4. package/dist/AnimatedSwiper/Slide/index.js +4 -0
  5. package/dist/AnimatedSwiper/index.js +117 -0
  6. package/dist/AnimatedSwiper/types.js +1 -0
  7. package/dist/Banner/Banner.js +34 -48
  8. package/dist/BannerAndText/index.js +4 -8
  9. package/dist/CardIconList/CardIconList.js +4 -10
  10. package/dist/CardImageList/CardImageList.js +4 -9
  11. package/dist/CardImageSecondary/CardImageSecondary.js +50 -0
  12. package/dist/CardImageSecondary/index.js +4 -0
  13. package/dist/CardImageSecondary/types.js +1 -0
  14. package/dist/CardImageSecondaryList/CardImageSecondaryList.js +21 -0
  15. package/dist/CardImageSecondaryList/index.js +4 -0
  16. package/dist/CardImageSecondaryList/types.js +1 -0
  17. package/dist/CardInfoTable/index.js +153 -0
  18. package/dist/CardInfoTable/types.js +1 -0
  19. package/dist/Cards/CardImage/CardImage.js +3 -5
  20. package/dist/Cards/ColoredCard/index.js +3 -7
  21. package/dist/Cards/ContentCard/ContentCard.js +12 -13
  22. package/dist/Cards/FeaturesCard/index.js +3 -3
  23. package/dist/Cards/WarningCard/WarningCard.js +16 -20
  24. package/dist/Cards/WarningCard/model.js +1 -1
  25. package/dist/ComponentContainer-0fcc2695.js +16 -0
  26. package/dist/ConfigProvider/index.js +1 -3
  27. package/dist/ContentCardList/ContentCardList.js +2 -4
  28. package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +22 -19
  29. package/dist/DownloadFile/components/DownloadFileBright/index.js +103 -0
  30. package/dist/DownloadFile/components/DownloadFileBright/types.js +1 -0
  31. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +15 -16
  32. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +14 -15
  33. package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +12 -13
  34. package/dist/EmptyBox/EmptyBox.js +5 -0
  35. package/dist/EmptyBox/types.js +1 -0
  36. package/dist/Faq/Faq.js +2 -5
  37. package/dist/Faq/components/Collapse/Collapse.js +1 -4
  38. package/dist/Faq/components/FeedbackForm/FeedbackForm.js +95 -94
  39. package/dist/Faq/components/PlusMinusIcon/PlusMinusIcon.js +1 -1
  40. package/dist/HeroPossibilityBanner/index.js +1 -1
  41. package/dist/HtmlContent/HtmlContent.js +2 -5
  42. package/dist/InfoBanner/index.js +73 -0
  43. package/dist/InfoBanner/types.js +1 -0
  44. package/dist/InfoBannerList/InfoBannerList.js +37 -0
  45. package/dist/InfoBannerList/index.js +4 -0
  46. package/dist/InfoBannerList/types.js +1 -0
  47. package/dist/InstructionList/InstructionList.js +3 -7
  48. package/dist/InstructionList/components/InstructionCard/InstructionCard.js +2 -4
  49. package/dist/InstructionList/components/InstructionModal/InstructionModal.js +2 -2
  50. package/dist/IntroBanner/IntroBanner.js +60 -0
  51. package/dist/IntroBanner/index.js +4 -0
  52. package/dist/IntroBanner/types.js +1 -0
  53. package/dist/MainBanner/MainBanner.js +4 -4
  54. package/dist/MultiCards/index.js +1 -1
  55. package/dist/PageViewer/ComponentsView.js +9 -0
  56. package/dist/PageViewer/PageViewer.js +6 -0
  57. package/dist/PageViewer/index.js +4 -0
  58. package/dist/PageViewer/renderComponents.js +26 -0
  59. package/dist/Partners/Partners.js +3 -5
  60. package/dist/PartnersColors/PartnersColors.js +2 -7
  61. package/dist/PartnersColors/components/PartnerCard/PartnerCard.js +1 -1
  62. package/dist/PartnersColors/components/PartnerTab/PartnerTab.js +2 -2
  63. package/dist/PreviewList/PreviewList.js +3 -9
  64. package/dist/PreviewList/components/PreviewCard/PreviewCard.js +13 -14
  65. package/dist/PromoPoster/PromoPoster.js +36 -0
  66. package/dist/PromoPoster/types.js +1 -0
  67. package/dist/RenderAllComponents/RenderAllComponents.js +16 -0
  68. package/dist/RenderAllComponents/const.js +43 -0
  69. package/dist/RenderAllComponents/index.js +4 -0
  70. package/dist/Segments/Segments.js +2 -5
  71. package/dist/StandartTable/components/CardMarkedRow/index.js +75 -0
  72. package/dist/StandartTable/components/CardMarkedRow/types.js +1 -0
  73. package/dist/StandartTable/components/CardWarning/index.js +89 -0
  74. package/dist/StandartTable/components/CardWarning/types.js +1 -0
  75. package/dist/StandartTable/index.js +48 -0
  76. package/dist/StandartTable/types.js +1 -0
  77. package/dist/Stepper/Stepper.js +4 -8
  78. package/dist/SwiperList/SwiperList.js +44 -3191
  79. package/dist/SwiperList/components/Bullet/Bullet.js +1 -1
  80. package/dist/SwiperList/components/Slide/Slide.js +2 -2
  81. package/dist/TasksBanner/TasksBanner.js +108 -0
  82. package/dist/TasksBanner/index.js +4 -0
  83. package/dist/TasksBanner/types.js +1 -0
  84. package/dist/TasksBannerList/TasksBannerList.js +17 -0
  85. package/dist/TasksBannerList/index.js +4 -0
  86. package/dist/TasksBannerList/types.js +1 -0
  87. package/dist/Video/VideoFull/VideoFull.js +2 -4
  88. package/dist/Video/VideoList/VideoList.js +2 -4
  89. package/dist/Video/VideoListMini/VideoListMini.js +2 -4
  90. package/dist/Video/components/VideoPlayer/VideoPlayer.js +1 -1
  91. package/dist/VideoMainBanner/VideoMainBanner.js +148 -0
  92. package/dist/VideoMainBanner/index.js +4 -0
  93. package/dist/VideoMainBanner/types.js +1 -0
  94. package/dist/assets/TasksBanner.css +1 -0
  95. package/dist/assets/index.css +1 -1
  96. package/dist/{cn-eacd4725.js → cn-d8c04b28.js} +1 -0
  97. package/dist/componentsMap-8af3b722.js +71 -0
  98. package/dist/const-9041b93a.js +5 -0
  99. package/dist/data.mock-741c2220.js +1714 -0
  100. package/dist/{index-fb8c9446.js → index-60dfa873.js} +1 -1
  101. package/dist/{index-b52a1a9d.js → index-6e0f7db0.js} +3 -7
  102. package/dist/index-b3d6aed3.js +52 -0
  103. package/dist/main.js +1 -1
  104. package/dist/{palette-52b06a82.js → palette-ac8c8a5f.js} +7 -2
  105. package/dist/swiper-react-c049ea66.js +3158 -0
  106. package/dist/trash/HeroLargeCards/index.js +1 -1
  107. package/dist/useScreenSize-c1b64c02.js +19 -0
  108. package/package.json +1 -1
  109. package/dist/ComponentContainer-41408843.js +0 -15
  110. package/dist/index-89dcf24f.js +0 -54
  111. /package/dist/assets/{SwiperList.css → swiper-react.css} +0 -0
  112. /package/dist/assets/{Slide.css → swiper.css} +0 -0
@@ -0,0 +1,3158 @@
1
+ import { jsx as te } from "react/jsx-runtime";
2
+ import G, { forwardRef as Me, useState as U, useRef as k, useEffect as pe, useLayoutEffect as je, createContext as Ie } from "react";
3
+ import './assets/swiper-react.css';const Pi = ({
4
+ color: t = "#40474F",
5
+ size: e = 24,
6
+ ...i
7
+ }) => /* @__PURE__ */ te(
8
+ "svg",
9
+ {
10
+ width: e,
11
+ height: e,
12
+ viewBox: "0 0 24 24",
13
+ fill: "none",
14
+ xmlns: "http://www.w3.org/2000/svg",
15
+ ...i,
16
+ children: /* @__PURE__ */ te(
17
+ "path",
18
+ {
19
+ d: "M17 22L8.41418 13.4142C7.74752 12.7476 7.41418 12.4142 7.41418 12C7.41418 11.5858 7.74752 11.2525 8.41418 10.5858L17 2",
20
+ stroke: t,
21
+ "stroke-width": "2",
22
+ "stroke-linejoin": "round"
23
+ }
24
+ )
25
+ }
26
+ ), Ci = ({
27
+ color: t = "#40474F",
28
+ size: e = 24,
29
+ ...i
30
+ }) => /* @__PURE__ */ te(
31
+ "svg",
32
+ {
33
+ width: e,
34
+ height: e,
35
+ viewBox: "0 0 24 24",
36
+ fill: "none",
37
+ xmlns: "http://www.w3.org/2000/svg",
38
+ ...i,
39
+ children: /* @__PURE__ */ te(
40
+ "path",
41
+ {
42
+ d: "M7 22L15.5858 13.4142C16.2524 12.7476 16.5858 12.4142 16.5858 12C16.5858 11.5858 16.2525 11.2525 15.5858 10.5858L7 2",
43
+ stroke: t,
44
+ "stroke-width": "2",
45
+ "stroke-linejoin": "round"
46
+ }
47
+ )
48
+ }
49
+ );
50
+ function we(t) {
51
+ return t !== null && typeof t == "object" && "constructor" in t && t.constructor === Object;
52
+ }
53
+ function ge(t, e) {
54
+ t === void 0 && (t = {}), e === void 0 && (e = {});
55
+ const i = ["__proto__", "constructor", "prototype"];
56
+ Object.keys(e).filter((s) => i.indexOf(s) < 0).forEach((s) => {
57
+ typeof t[s] > "u" ? t[s] = e[s] : we(e[s]) && we(t[s]) && Object.keys(e[s]).length > 0 && ge(t[s], e[s]);
58
+ });
59
+ }
60
+ const Le = {
61
+ body: {},
62
+ addEventListener() {
63
+ },
64
+ removeEventListener() {
65
+ },
66
+ activeElement: {
67
+ blur() {
68
+ },
69
+ nodeName: ""
70
+ },
71
+ querySelector() {
72
+ return null;
73
+ },
74
+ querySelectorAll() {
75
+ return [];
76
+ },
77
+ getElementById() {
78
+ return null;
79
+ },
80
+ createEvent() {
81
+ return {
82
+ initEvent() {
83
+ }
84
+ };
85
+ },
86
+ createElement() {
87
+ return {
88
+ children: [],
89
+ childNodes: [],
90
+ style: {},
91
+ setAttribute() {
92
+ },
93
+ getElementsByTagName() {
94
+ return [];
95
+ }
96
+ };
97
+ },
98
+ createElementNS() {
99
+ return {};
100
+ },
101
+ importNode() {
102
+ return null;
103
+ },
104
+ location: {
105
+ hash: "",
106
+ host: "",
107
+ hostname: "",
108
+ href: "",
109
+ origin: "",
110
+ pathname: "",
111
+ protocol: "",
112
+ search: ""
113
+ }
114
+ };
115
+ function $() {
116
+ const t = typeof document < "u" ? document : {};
117
+ return ge(t, Le), t;
118
+ }
119
+ const We = {
120
+ document: Le,
121
+ navigator: {
122
+ userAgent: ""
123
+ },
124
+ location: {
125
+ hash: "",
126
+ host: "",
127
+ hostname: "",
128
+ href: "",
129
+ origin: "",
130
+ pathname: "",
131
+ protocol: "",
132
+ search: ""
133
+ },
134
+ history: {
135
+ replaceState() {
136
+ },
137
+ pushState() {
138
+ },
139
+ go() {
140
+ },
141
+ back() {
142
+ }
143
+ },
144
+ CustomEvent: function() {
145
+ return this;
146
+ },
147
+ addEventListener() {
148
+ },
149
+ removeEventListener() {
150
+ },
151
+ getComputedStyle() {
152
+ return {
153
+ getPropertyValue() {
154
+ return "";
155
+ }
156
+ };
157
+ },
158
+ Image() {
159
+ },
160
+ Date() {
161
+ },
162
+ screen: {},
163
+ setTimeout() {
164
+ },
165
+ clearTimeout() {
166
+ },
167
+ matchMedia() {
168
+ return {};
169
+ },
170
+ requestAnimationFrame(t) {
171
+ return typeof setTimeout > "u" ? (t(), null) : setTimeout(t, 0);
172
+ },
173
+ cancelAnimationFrame(t) {
174
+ typeof setTimeout > "u" || clearTimeout(t);
175
+ }
176
+ };
177
+ function B() {
178
+ const t = typeof window < "u" ? window : {};
179
+ return ge(t, We), t;
180
+ }
181
+ function qe(t) {
182
+ return t === void 0 && (t = ""), t.trim().split(" ").filter((e) => !!e.trim());
183
+ }
184
+ function Ye(t) {
185
+ const e = t;
186
+ Object.keys(e).forEach((i) => {
187
+ try {
188
+ e[i] = null;
189
+ } catch {
190
+ }
191
+ try {
192
+ delete e[i];
193
+ } catch {
194
+ }
195
+ });
196
+ }
197
+ function Oe(t, e) {
198
+ return e === void 0 && (e = 0), setTimeout(t, e);
199
+ }
200
+ function ie() {
201
+ return Date.now();
202
+ }
203
+ function Xe(t) {
204
+ const e = B();
205
+ let i;
206
+ return e.getComputedStyle && (i = e.getComputedStyle(t, null)), !i && t.currentStyle && (i = t.currentStyle), i || (i = t.style), i;
207
+ }
208
+ function Ue(t, e) {
209
+ e === void 0 && (e = "x");
210
+ const i = B();
211
+ let s, n, r;
212
+ const l = Xe(t);
213
+ return i.WebKitCSSMatrix ? (n = l.transform || l.webkitTransform, n.split(",").length > 6 && (n = n.split(", ").map((a) => a.replace(",", ".")).join(", ")), r = new i.WebKitCSSMatrix(n === "none" ? "" : n)) : (r = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), s = r.toString().split(",")), e === "x" && (i.WebKitCSSMatrix ? n = r.m41 : s.length === 16 ? n = parseFloat(s[12]) : n = parseFloat(s[4])), e === "y" && (i.WebKitCSSMatrix ? n = r.m42 : s.length === 16 ? n = parseFloat(s[13]) : n = parseFloat(s[5])), n || 0;
214
+ }
215
+ function Z(t) {
216
+ return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object";
217
+ }
218
+ function Ke(t) {
219
+ return typeof window < "u" && typeof window.HTMLElement < "u" ? t instanceof HTMLElement : t && (t.nodeType === 1 || t.nodeType === 11);
220
+ }
221
+ function F() {
222
+ const t = Object(arguments.length <= 0 ? void 0 : arguments[0]), e = ["__proto__", "constructor", "prototype"];
223
+ for (let i = 1; i < arguments.length; i += 1) {
224
+ const s = i < 0 || arguments.length <= i ? void 0 : arguments[i];
225
+ if (s != null && !Ke(s)) {
226
+ const n = Object.keys(Object(s)).filter((r) => e.indexOf(r) < 0);
227
+ for (let r = 0, l = n.length; r < l; r += 1) {
228
+ const a = n[r], o = Object.getOwnPropertyDescriptor(s, a);
229
+ o !== void 0 && o.enumerable && (Z(t[a]) && Z(s[a]) ? s[a].__swiper__ ? t[a] = s[a] : F(t[a], s[a]) : !Z(t[a]) && Z(s[a]) ? (t[a] = {}, s[a].__swiper__ ? t[a] = s[a] : F(t[a], s[a])) : t[a] = s[a]);
230
+ }
231
+ }
232
+ }
233
+ return t;
234
+ }
235
+ function J(t, e, i) {
236
+ t.style.setProperty(e, i);
237
+ }
238
+ function ze(t) {
239
+ let {
240
+ swiper: e,
241
+ targetPosition: i,
242
+ side: s
243
+ } = t;
244
+ const n = B(), r = -e.translate;
245
+ let l = null, a;
246
+ const o = e.params.speed;
247
+ e.wrapperEl.style.scrollSnapType = "none", n.cancelAnimationFrame(e.cssModeFrameID);
248
+ const d = i > r ? "next" : "prev", c = (m, h) => d === "next" && m >= h || d === "prev" && m <= h, u = () => {
249
+ a = (/* @__PURE__ */ new Date()).getTime(), l === null && (l = a);
250
+ const m = Math.max(Math.min((a - l) / o, 1), 0), h = 0.5 - Math.cos(m * Math.PI) / 2;
251
+ let f = r + h * (i - r);
252
+ if (c(f, i) && (f = i), e.wrapperEl.scrollTo({
253
+ [s]: f
254
+ }), c(f, i)) {
255
+ e.wrapperEl.style.overflow = "hidden", e.wrapperEl.style.scrollSnapType = "", setTimeout(() => {
256
+ e.wrapperEl.style.overflow = "", e.wrapperEl.scrollTo({
257
+ [s]: f
258
+ });
259
+ }), n.cancelAnimationFrame(e.cssModeFrameID);
260
+ return;
261
+ }
262
+ e.cssModeFrameID = n.requestAnimationFrame(u);
263
+ };
264
+ u();
265
+ }
266
+ function R(t, e) {
267
+ e === void 0 && (e = "");
268
+ const i = B(), s = [...t.children];
269
+ return i.HTMLSlotElement && t instanceof HTMLSlotElement && s.push(...t.assignedElements()), e ? s.filter((n) => n.matches(e)) : s;
270
+ }
271
+ function Qe(t, e) {
272
+ const i = [e];
273
+ for (; i.length > 0; ) {
274
+ const s = i.shift();
275
+ if (t === s)
276
+ return !0;
277
+ i.push(...s.children, ...s.shadowRoot ? s.shadowRoot.children : [], ...s.assignedElements ? s.assignedElements() : []);
278
+ }
279
+ }
280
+ function Ze(t, e) {
281
+ const i = B();
282
+ let s = e.contains(t);
283
+ return !s && i.HTMLSlotElement && e instanceof HTMLSlotElement && (s = [...e.assignedElements()].includes(t), s || (s = Qe(t, e))), s;
284
+ }
285
+ function se(t) {
286
+ try {
287
+ console.warn(t);
288
+ return;
289
+ } catch {
290
+ }
291
+ }
292
+ function re(t, e) {
293
+ e === void 0 && (e = []);
294
+ const i = document.createElement(t);
295
+ return i.classList.add(...Array.isArray(e) ? e : qe(e)), i;
296
+ }
297
+ function Je(t, e) {
298
+ const i = [];
299
+ for (; t.previousElementSibling; ) {
300
+ const s = t.previousElementSibling;
301
+ e ? s.matches(e) && i.push(s) : i.push(s), t = s;
302
+ }
303
+ return i;
304
+ }
305
+ function et(t, e) {
306
+ const i = [];
307
+ for (; t.nextElementSibling; ) {
308
+ const s = t.nextElementSibling;
309
+ e ? s.matches(e) && i.push(s) : i.push(s), t = s;
310
+ }
311
+ return i;
312
+ }
313
+ function W(t, e) {
314
+ return B().getComputedStyle(t, null).getPropertyValue(e);
315
+ }
316
+ function Se(t) {
317
+ let e = t, i;
318
+ if (e) {
319
+ for (i = 0; (e = e.previousSibling) !== null; )
320
+ e.nodeType === 1 && (i += 1);
321
+ return i;
322
+ }
323
+ }
324
+ function tt(t, e) {
325
+ const i = [];
326
+ let s = t.parentElement;
327
+ for (; s; )
328
+ e ? s.matches(e) && i.push(s) : i.push(s), s = s.parentElement;
329
+ return i;
330
+ }
331
+ function Te(t, e, i) {
332
+ const s = B();
333
+ return i ? t[e === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(s.getComputedStyle(t, null).getPropertyValue(e === "width" ? "margin-right" : "margin-top")) + parseFloat(s.getComputedStyle(t, null).getPropertyValue(e === "width" ? "margin-left" : "margin-bottom")) : t.offsetWidth;
334
+ }
335
+ function H(t) {
336
+ return (Array.isArray(t) ? t : [t]).filter((e) => !!e);
337
+ }
338
+ function be(t, e) {
339
+ e === void 0 && (e = ""), typeof trustedTypes < "u" ? t.innerHTML = trustedTypes.createPolicy("html", {
340
+ createHTML: (i) => i
341
+ }).createHTML(e) : t.innerHTML = e;
342
+ }
343
+ function it(t, e, i, s) {
344
+ return t.params.createElements && Object.keys(s).forEach((n) => {
345
+ if (!i[n] && i.auto === !0) {
346
+ let r = R(t.el, `.${s[n]}`)[0];
347
+ r || (r = re("div", s[n]), r.className = s[n], t.el.append(r)), i[n] = r, e[n] = r;
348
+ }
349
+ }), i;
350
+ }
351
+ function Mi(t) {
352
+ let {
353
+ swiper: e,
354
+ extendParams: i,
355
+ on: s,
356
+ emit: n
357
+ } = t;
358
+ i({
359
+ navigation: {
360
+ nextEl: null,
361
+ prevEl: null,
362
+ hideOnClick: !1,
363
+ disabledClass: "swiper-button-disabled",
364
+ hiddenClass: "swiper-button-hidden",
365
+ lockClass: "swiper-button-lock",
366
+ navigationDisabledClass: "swiper-navigation-disabled"
367
+ }
368
+ }), e.navigation = {
369
+ nextEl: null,
370
+ prevEl: null
371
+ };
372
+ function r(f) {
373
+ let g;
374
+ return f && typeof f == "string" && e.isElement && (g = e.el.querySelector(f) || e.hostEl.querySelector(f), g) ? g : (f && (typeof f == "string" && (g = [...document.querySelectorAll(f)]), e.params.uniqueNavElements && typeof f == "string" && g && g.length > 1 && e.el.querySelectorAll(f).length === 1 ? g = e.el.querySelector(f) : g && g.length === 1 && (g = g[0])), f && !g ? f : g);
375
+ }
376
+ function l(f, g) {
377
+ const S = e.params.navigation;
378
+ f = H(f), f.forEach((p) => {
379
+ p && (p.classList[g ? "add" : "remove"](...S.disabledClass.split(" ")), p.tagName === "BUTTON" && (p.disabled = g), e.params.watchOverflow && e.enabled && p.classList[e.isLocked ? "add" : "remove"](S.lockClass));
380
+ });
381
+ }
382
+ function a() {
383
+ const {
384
+ nextEl: f,
385
+ prevEl: g
386
+ } = e.navigation;
387
+ if (e.params.loop) {
388
+ l(g, !1), l(f, !1);
389
+ return;
390
+ }
391
+ l(g, e.isBeginning && !e.params.rewind), l(f, e.isEnd && !e.params.rewind);
392
+ }
393
+ function o(f) {
394
+ f.preventDefault(), !(e.isBeginning && !e.params.loop && !e.params.rewind) && (e.slidePrev(), n("navigationPrev"));
395
+ }
396
+ function d(f) {
397
+ f.preventDefault(), !(e.isEnd && !e.params.loop && !e.params.rewind) && (e.slideNext(), n("navigationNext"));
398
+ }
399
+ function c() {
400
+ const f = e.params.navigation;
401
+ if (e.params.navigation = it(e, e.originalParams.navigation, e.params.navigation, {
402
+ nextEl: "swiper-button-next",
403
+ prevEl: "swiper-button-prev"
404
+ }), !(f.nextEl || f.prevEl))
405
+ return;
406
+ let g = r(f.nextEl), S = r(f.prevEl);
407
+ Object.assign(e.navigation, {
408
+ nextEl: g,
409
+ prevEl: S
410
+ }), g = H(g), S = H(S);
411
+ const p = (v, w) => {
412
+ v && v.addEventListener("click", w === "next" ? d : o), !e.enabled && v && v.classList.add(...f.lockClass.split(" "));
413
+ };
414
+ g.forEach((v) => p(v, "next")), S.forEach((v) => p(v, "prev"));
415
+ }
416
+ function u() {
417
+ let {
418
+ nextEl: f,
419
+ prevEl: g
420
+ } = e.navigation;
421
+ f = H(f), g = H(g);
422
+ const S = (p, v) => {
423
+ p.removeEventListener("click", v === "next" ? d : o), p.classList.remove(...e.params.navigation.disabledClass.split(" "));
424
+ };
425
+ f.forEach((p) => S(p, "next")), g.forEach((p) => S(p, "prev"));
426
+ }
427
+ s("init", () => {
428
+ e.params.navigation.enabled === !1 ? h() : (c(), a());
429
+ }), s("toEdge fromEdge lock unlock", () => {
430
+ a();
431
+ }), s("destroy", () => {
432
+ u();
433
+ }), s("enable disable", () => {
434
+ let {
435
+ nextEl: f,
436
+ prevEl: g
437
+ } = e.navigation;
438
+ if (f = H(f), g = H(g), e.enabled) {
439
+ a();
440
+ return;
441
+ }
442
+ [...f, ...g].filter((S) => !!S).forEach((S) => S.classList.add(e.params.navigation.lockClass));
443
+ }), s("click", (f, g) => {
444
+ let {
445
+ nextEl: S,
446
+ prevEl: p
447
+ } = e.navigation;
448
+ S = H(S), p = H(p);
449
+ const v = g.target;
450
+ let w = p.includes(v) || S.includes(v);
451
+ if (e.isElement && !w) {
452
+ const E = g.path || g.composedPath && g.composedPath();
453
+ E && (w = E.find((b) => S.includes(b) || p.includes(b)));
454
+ }
455
+ if (e.params.navigation.hideOnClick && !w) {
456
+ if (e.pagination && e.params.pagination && e.params.pagination.clickable && (e.pagination.el === v || e.pagination.el.contains(v)))
457
+ return;
458
+ let E;
459
+ S.length ? E = S[0].classList.contains(e.params.navigation.hiddenClass) : p.length && (E = p[0].classList.contains(e.params.navigation.hiddenClass)), n(E === !0 ? "navigationShow" : "navigationHide"), [...S, ...p].filter((b) => !!b).forEach((b) => b.classList.toggle(e.params.navigation.hiddenClass));
460
+ }
461
+ });
462
+ const m = () => {
463
+ e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")), c(), a();
464
+ }, h = () => {
465
+ e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")), u();
466
+ };
467
+ Object.assign(e.navigation, {
468
+ enable: m,
469
+ disable: h,
470
+ update: a,
471
+ init: c,
472
+ destroy: u
473
+ });
474
+ }
475
+ function Ii(t) {
476
+ let {
477
+ swiper: e,
478
+ extendParams: i,
479
+ on: s,
480
+ emit: n,
481
+ params: r
482
+ } = t;
483
+ e.autoplay = {
484
+ running: !1,
485
+ paused: !1,
486
+ timeLeft: 0
487
+ }, i({
488
+ autoplay: {
489
+ enabled: !1,
490
+ delay: 3e3,
491
+ waitForTransition: !0,
492
+ disableOnInteraction: !1,
493
+ stopOnLastSlide: !1,
494
+ reverseDirection: !1,
495
+ pauseOnMouseEnter: !1
496
+ }
497
+ });
498
+ let l, a, o = r && r.autoplay ? r.autoplay.delay : 3e3, d = r && r.autoplay ? r.autoplay.delay : 3e3, c, u = (/* @__PURE__ */ new Date()).getTime(), m, h, f, g, S, p, v;
499
+ function w(M) {
500
+ !e || e.destroyed || !e.wrapperEl || M.target === e.wrapperEl && (e.wrapperEl.removeEventListener("transitionend", w), !(v || M.detail && M.detail.bySwiperTouchMove) && T());
501
+ }
502
+ const E = () => {
503
+ if (e.destroyed || !e.autoplay.running)
504
+ return;
505
+ e.autoplay.paused ? m = !0 : m && (d = c, m = !1);
506
+ const M = e.autoplay.paused ? c : u + d - (/* @__PURE__ */ new Date()).getTime();
507
+ e.autoplay.timeLeft = M, n("autoplayTimeLeft", M, M / o), a = requestAnimationFrame(() => {
508
+ E();
509
+ });
510
+ }, b = () => {
511
+ let M;
512
+ return e.virtual && e.params.virtual.enabled ? M = e.slides.find((_) => _.classList.contains("swiper-slide-active")) : M = e.slides[e.activeIndex], M ? parseInt(M.getAttribute("data-swiper-autoplay"), 10) : void 0;
513
+ }, C = (M) => {
514
+ if (e.destroyed || !e.autoplay.running)
515
+ return;
516
+ cancelAnimationFrame(a), E();
517
+ let z = typeof M > "u" ? e.params.autoplay.delay : M;
518
+ o = e.params.autoplay.delay, d = e.params.autoplay.delay;
519
+ const _ = b();
520
+ !Number.isNaN(_) && _ > 0 && typeof M > "u" && (z = _, o = _, d = _), c = z;
521
+ const q = e.params.speed, Q = () => {
522
+ !e || e.destroyed || (e.params.autoplay.reverseDirection ? !e.isBeginning || e.params.loop || e.params.rewind ? (e.slidePrev(q, !0, !0), n("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(e.slides.length - 1, q, !0, !0), n("autoplay")) : !e.isEnd || e.params.loop || e.params.rewind ? (e.slideNext(q, !0, !0), n("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(0, q, !0, !0), n("autoplay")), e.params.cssMode && (u = (/* @__PURE__ */ new Date()).getTime(), requestAnimationFrame(() => {
523
+ C();
524
+ })));
525
+ };
526
+ return z > 0 ? (clearTimeout(l), l = setTimeout(() => {
527
+ Q();
528
+ }, z)) : requestAnimationFrame(() => {
529
+ Q();
530
+ }), z;
531
+ }, I = () => {
532
+ u = (/* @__PURE__ */ new Date()).getTime(), e.autoplay.running = !0, C(), n("autoplayStart");
533
+ }, x = () => {
534
+ e.autoplay.running = !1, clearTimeout(l), cancelAnimationFrame(a), n("autoplayStop");
535
+ }, y = (M, z) => {
536
+ if (e.destroyed || !e.autoplay.running)
537
+ return;
538
+ clearTimeout(l), M || (p = !0);
539
+ const _ = () => {
540
+ n("autoplayPause"), e.params.autoplay.waitForTransition ? e.wrapperEl.addEventListener("transitionend", w) : T();
541
+ };
542
+ if (e.autoplay.paused = !0, z) {
543
+ S && (c = e.params.autoplay.delay), S = !1, _();
544
+ return;
545
+ }
546
+ c = (c || e.params.autoplay.delay) - ((/* @__PURE__ */ new Date()).getTime() - u), !(e.isEnd && c < 0 && !e.params.loop) && (c < 0 && (c = 0), _());
547
+ }, T = () => {
548
+ e.isEnd && c < 0 && !e.params.loop || e.destroyed || !e.autoplay.running || (u = (/* @__PURE__ */ new Date()).getTime(), p ? (p = !1, C(c)) : C(), e.autoplay.paused = !1, n("autoplayResume"));
549
+ }, P = () => {
550
+ if (e.destroyed || !e.autoplay.running)
551
+ return;
552
+ const M = $();
553
+ M.visibilityState === "hidden" && (p = !0, y(!0)), M.visibilityState === "visible" && T();
554
+ }, L = (M) => {
555
+ M.pointerType === "mouse" && (p = !0, v = !0, !(e.animating || e.autoplay.paused) && y(!0));
556
+ }, A = (M) => {
557
+ M.pointerType === "mouse" && (v = !1, e.autoplay.paused && T());
558
+ }, V = () => {
559
+ e.params.autoplay.pauseOnMouseEnter && (e.el.addEventListener("pointerenter", L), e.el.addEventListener("pointerleave", A));
560
+ }, N = () => {
561
+ e.el && typeof e.el != "string" && (e.el.removeEventListener("pointerenter", L), e.el.removeEventListener("pointerleave", A));
562
+ }, O = () => {
563
+ $().addEventListener("visibilitychange", P);
564
+ }, D = () => {
565
+ $().removeEventListener("visibilitychange", P);
566
+ };
567
+ s("init", () => {
568
+ e.params.autoplay.enabled && (V(), O(), I());
569
+ }), s("destroy", () => {
570
+ N(), D(), e.autoplay.running && x();
571
+ }), s("_freeModeStaticRelease", () => {
572
+ (f || p) && T();
573
+ }), s("_freeModeNoMomentumRelease", () => {
574
+ e.params.autoplay.disableOnInteraction ? x() : y(!0, !0);
575
+ }), s("beforeTransitionStart", (M, z, _) => {
576
+ e.destroyed || !e.autoplay.running || (_ || !e.params.autoplay.disableOnInteraction ? y(!0, !0) : x());
577
+ }), s("sliderFirstMove", () => {
578
+ if (!(e.destroyed || !e.autoplay.running)) {
579
+ if (e.params.autoplay.disableOnInteraction) {
580
+ x();
581
+ return;
582
+ }
583
+ h = !0, f = !1, p = !1, g = setTimeout(() => {
584
+ p = !0, f = !0, y(!0);
585
+ }, 200);
586
+ }
587
+ }), s("touchEnd", () => {
588
+ if (!(e.destroyed || !e.autoplay.running || !h)) {
589
+ if (clearTimeout(g), clearTimeout(l), e.params.autoplay.disableOnInteraction) {
590
+ f = !1, h = !1;
591
+ return;
592
+ }
593
+ f && e.params.cssMode && T(), f = !1, h = !1;
594
+ }
595
+ }), s("slideChange", () => {
596
+ e.destroyed || !e.autoplay.running || (S = !0);
597
+ }), Object.assign(e.autoplay, {
598
+ start: I,
599
+ stop: x,
600
+ pause: y,
601
+ resume: T
602
+ });
603
+ }
604
+ let ae;
605
+ function st() {
606
+ const t = B(), e = $();
607
+ return {
608
+ smoothScroll: e.documentElement && e.documentElement.style && "scrollBehavior" in e.documentElement.style,
609
+ touch: !!("ontouchstart" in t || t.DocumentTouch && e instanceof t.DocumentTouch)
610
+ };
611
+ }
612
+ function Ae() {
613
+ return ae || (ae = st()), ae;
614
+ }
615
+ let le;
616
+ function rt(t) {
617
+ let {
618
+ userAgent: e
619
+ } = t === void 0 ? {} : t;
620
+ const i = Ae(), s = B(), n = s.navigator.platform, r = e || s.navigator.userAgent, l = {
621
+ ios: !1,
622
+ android: !1
623
+ }, a = s.screen.width, o = s.screen.height, d = r.match(/(Android);?[\s\/]+([\d.]+)?/);
624
+ let c = r.match(/(iPad).*OS\s([\d_]+)/);
625
+ const u = r.match(/(iPod)(.*OS\s([\d_]+))?/), m = !c && r.match(/(iPhone\sOS|iOS)\s([\d_]+)/), h = n === "Win32";
626
+ let f = n === "MacIntel";
627
+ const g = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
628
+ return !c && f && i.touch && g.indexOf(`${a}x${o}`) >= 0 && (c = r.match(/(Version)\/([\d.]+)/), c || (c = [0, 1, "13_0_0"]), f = !1), d && !h && (l.os = "android", l.android = !0), (c || m || u) && (l.os = "ios", l.ios = !0), l;
629
+ }
630
+ function _e(t) {
631
+ return t === void 0 && (t = {}), le || (le = rt(t)), le;
632
+ }
633
+ let oe;
634
+ function nt() {
635
+ const t = B(), e = _e();
636
+ let i = !1;
637
+ function s() {
638
+ const a = t.navigator.userAgent.toLowerCase();
639
+ return a.indexOf("safari") >= 0 && a.indexOf("chrome") < 0 && a.indexOf("android") < 0;
640
+ }
641
+ if (s()) {
642
+ const a = String(t.navigator.userAgent);
643
+ if (a.includes("Version/")) {
644
+ const [o, d] = a.split("Version/")[1].split(" ")[0].split(".").map((c) => Number(c));
645
+ i = o < 16 || o === 16 && d < 2;
646
+ }
647
+ }
648
+ const n = /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent), r = s(), l = r || n && e.ios;
649
+ return {
650
+ isSafari: i || r,
651
+ needPerspectiveFix: i,
652
+ need3dFix: l,
653
+ isWebView: n
654
+ };
655
+ }
656
+ function De() {
657
+ return oe || (oe = nt()), oe;
658
+ }
659
+ function at(t) {
660
+ let {
661
+ swiper: e,
662
+ on: i,
663
+ emit: s
664
+ } = t;
665
+ const n = B();
666
+ let r = null, l = null;
667
+ const a = () => {
668
+ !e || e.destroyed || !e.initialized || (s("beforeResize"), s("resize"));
669
+ }, o = () => {
670
+ !e || e.destroyed || !e.initialized || (r = new ResizeObserver((u) => {
671
+ l = n.requestAnimationFrame(() => {
672
+ const {
673
+ width: m,
674
+ height: h
675
+ } = e;
676
+ let f = m, g = h;
677
+ u.forEach((S) => {
678
+ let {
679
+ contentBoxSize: p,
680
+ contentRect: v,
681
+ target: w
682
+ } = S;
683
+ w && w !== e.el || (f = v ? v.width : (p[0] || p).inlineSize, g = v ? v.height : (p[0] || p).blockSize);
684
+ }), (f !== m || g !== h) && a();
685
+ });
686
+ }), r.observe(e.el));
687
+ }, d = () => {
688
+ l && n.cancelAnimationFrame(l), r && r.unobserve && e.el && (r.unobserve(e.el), r = null);
689
+ }, c = () => {
690
+ !e || e.destroyed || !e.initialized || s("orientationchange");
691
+ };
692
+ i("init", () => {
693
+ if (e.params.resizeObserver && typeof n.ResizeObserver < "u") {
694
+ o();
695
+ return;
696
+ }
697
+ n.addEventListener("resize", a), n.addEventListener("orientationchange", c);
698
+ }), i("destroy", () => {
699
+ d(), n.removeEventListener("resize", a), n.removeEventListener("orientationchange", c);
700
+ });
701
+ }
702
+ function lt(t) {
703
+ let {
704
+ swiper: e,
705
+ extendParams: i,
706
+ on: s,
707
+ emit: n
708
+ } = t;
709
+ const r = [], l = B(), a = function(c, u) {
710
+ u === void 0 && (u = {});
711
+ const m = l.MutationObserver || l.WebkitMutationObserver, h = new m((f) => {
712
+ if (e.__preventObserver__)
713
+ return;
714
+ if (f.length === 1) {
715
+ n("observerUpdate", f[0]);
716
+ return;
717
+ }
718
+ const g = function() {
719
+ n("observerUpdate", f[0]);
720
+ };
721
+ l.requestAnimationFrame ? l.requestAnimationFrame(g) : l.setTimeout(g, 0);
722
+ });
723
+ h.observe(c, {
724
+ attributes: typeof u.attributes > "u" ? !0 : u.attributes,
725
+ childList: e.isElement || (typeof u.childList > "u" ? !0 : u).childList,
726
+ characterData: typeof u.characterData > "u" ? !0 : u.characterData
727
+ }), r.push(h);
728
+ }, o = () => {
729
+ if (e.params.observer) {
730
+ if (e.params.observeParents) {
731
+ const c = tt(e.hostEl);
732
+ for (let u = 0; u < c.length; u += 1)
733
+ a(c[u]);
734
+ }
735
+ a(e.hostEl, {
736
+ childList: e.params.observeSlideChildren
737
+ }), a(e.wrapperEl, {
738
+ attributes: !1
739
+ });
740
+ }
741
+ }, d = () => {
742
+ r.forEach((c) => {
743
+ c.disconnect();
744
+ }), r.splice(0, r.length);
745
+ };
746
+ i({
747
+ observer: !1,
748
+ observeParents: !1,
749
+ observeSlideChildren: !1
750
+ }), s("init", o), s("destroy", d);
751
+ }
752
+ var ot = {
753
+ on(t, e, i) {
754
+ const s = this;
755
+ if (!s.eventsListeners || s.destroyed || typeof e != "function")
756
+ return s;
757
+ const n = i ? "unshift" : "push";
758
+ return t.split(" ").forEach((r) => {
759
+ s.eventsListeners[r] || (s.eventsListeners[r] = []), s.eventsListeners[r][n](e);
760
+ }), s;
761
+ },
762
+ once(t, e, i) {
763
+ const s = this;
764
+ if (!s.eventsListeners || s.destroyed || typeof e != "function")
765
+ return s;
766
+ function n() {
767
+ s.off(t, n), n.__emitterProxy && delete n.__emitterProxy;
768
+ for (var r = arguments.length, l = new Array(r), a = 0; a < r; a++)
769
+ l[a] = arguments[a];
770
+ e.apply(s, l);
771
+ }
772
+ return n.__emitterProxy = e, s.on(t, n, i);
773
+ },
774
+ onAny(t, e) {
775
+ const i = this;
776
+ if (!i.eventsListeners || i.destroyed || typeof t != "function")
777
+ return i;
778
+ const s = e ? "unshift" : "push";
779
+ return i.eventsAnyListeners.indexOf(t) < 0 && i.eventsAnyListeners[s](t), i;
780
+ },
781
+ offAny(t) {
782
+ const e = this;
783
+ if (!e.eventsListeners || e.destroyed || !e.eventsAnyListeners)
784
+ return e;
785
+ const i = e.eventsAnyListeners.indexOf(t);
786
+ return i >= 0 && e.eventsAnyListeners.splice(i, 1), e;
787
+ },
788
+ off(t, e) {
789
+ const i = this;
790
+ return !i.eventsListeners || i.destroyed || !i.eventsListeners || t.split(" ").forEach((s) => {
791
+ typeof e > "u" ? i.eventsListeners[s] = [] : i.eventsListeners[s] && i.eventsListeners[s].forEach((n, r) => {
792
+ (n === e || n.__emitterProxy && n.__emitterProxy === e) && i.eventsListeners[s].splice(r, 1);
793
+ });
794
+ }), i;
795
+ },
796
+ emit() {
797
+ const t = this;
798
+ if (!t.eventsListeners || t.destroyed || !t.eventsListeners)
799
+ return t;
800
+ let e, i, s;
801
+ for (var n = arguments.length, r = new Array(n), l = 0; l < n; l++)
802
+ r[l] = arguments[l];
803
+ return typeof r[0] == "string" || Array.isArray(r[0]) ? (e = r[0], i = r.slice(1, r.length), s = t) : (e = r[0].events, i = r[0].data, s = r[0].context || t), i.unshift(s), (Array.isArray(e) ? e : e.split(" ")).forEach((o) => {
804
+ t.eventsAnyListeners && t.eventsAnyListeners.length && t.eventsAnyListeners.forEach((d) => {
805
+ d.apply(s, [o, ...i]);
806
+ }), t.eventsListeners && t.eventsListeners[o] && t.eventsListeners[o].forEach((d) => {
807
+ d.apply(s, i);
808
+ });
809
+ }), t;
810
+ }
811
+ };
812
+ function dt() {
813
+ const t = this;
814
+ let e, i;
815
+ const s = t.el;
816
+ typeof t.params.width < "u" && t.params.width !== null ? e = t.params.width : e = s.clientWidth, typeof t.params.height < "u" && t.params.height !== null ? i = t.params.height : i = s.clientHeight, !(e === 0 && t.isHorizontal() || i === 0 && t.isVertical()) && (e = e - parseInt(W(s, "padding-left") || 0, 10) - parseInt(W(s, "padding-right") || 0, 10), i = i - parseInt(W(s, "padding-top") || 0, 10) - parseInt(W(s, "padding-bottom") || 0, 10), Number.isNaN(e) && (e = 0), Number.isNaN(i) && (i = 0), Object.assign(t, {
817
+ width: e,
818
+ height: i,
819
+ size: t.isHorizontal() ? e : i
820
+ }));
821
+ }
822
+ function ct() {
823
+ const t = this;
824
+ function e(T, P) {
825
+ return parseFloat(T.getPropertyValue(t.getDirectionLabel(P)) || 0);
826
+ }
827
+ const i = t.params, {
828
+ wrapperEl: s,
829
+ slidesEl: n,
830
+ size: r,
831
+ rtlTranslate: l,
832
+ wrongRTL: a
833
+ } = t, o = t.virtual && i.virtual.enabled, d = o ? t.virtual.slides.length : t.slides.length, c = R(n, `.${t.params.slideClass}, swiper-slide`), u = o ? t.virtual.slides.length : c.length;
834
+ let m = [];
835
+ const h = [], f = [];
836
+ let g = i.slidesOffsetBefore;
837
+ typeof g == "function" && (g = i.slidesOffsetBefore.call(t));
838
+ let S = i.slidesOffsetAfter;
839
+ typeof S == "function" && (S = i.slidesOffsetAfter.call(t));
840
+ const p = t.snapGrid.length, v = t.slidesGrid.length;
841
+ let w = i.spaceBetween, E = -g, b = 0, C = 0;
842
+ if (typeof r > "u")
843
+ return;
844
+ typeof w == "string" && w.indexOf("%") >= 0 ? w = parseFloat(w.replace("%", "")) / 100 * r : typeof w == "string" && (w = parseFloat(w)), t.virtualSize = -w, c.forEach((T) => {
845
+ l ? T.style.marginLeft = "" : T.style.marginRight = "", T.style.marginBottom = "", T.style.marginTop = "";
846
+ }), i.centeredSlides && i.cssMode && (J(s, "--swiper-centered-offset-before", ""), J(s, "--swiper-centered-offset-after", ""));
847
+ const I = i.grid && i.grid.rows > 1 && t.grid;
848
+ I ? t.grid.initSlides(c) : t.grid && t.grid.unsetSlides();
849
+ let x;
850
+ const y = i.slidesPerView === "auto" && i.breakpoints && Object.keys(i.breakpoints).filter((T) => typeof i.breakpoints[T].slidesPerView < "u").length > 0;
851
+ for (let T = 0; T < u; T += 1) {
852
+ x = 0;
853
+ let P;
854
+ if (c[T] && (P = c[T]), I && t.grid.updateSlide(T, P, c), !(c[T] && W(P, "display") === "none")) {
855
+ if (i.slidesPerView === "auto") {
856
+ y && (c[T].style[t.getDirectionLabel("width")] = "");
857
+ const L = getComputedStyle(P), A = P.style.transform, V = P.style.webkitTransform;
858
+ if (A && (P.style.transform = "none"), V && (P.style.webkitTransform = "none"), i.roundLengths)
859
+ x = t.isHorizontal() ? Te(P, "width", !0) : Te(P, "height", !0);
860
+ else {
861
+ const N = e(L, "width"), O = e(L, "padding-left"), D = e(L, "padding-right"), M = e(L, "margin-left"), z = e(L, "margin-right"), _ = L.getPropertyValue("box-sizing");
862
+ if (_ && _ === "border-box")
863
+ x = N + M + z;
864
+ else {
865
+ const {
866
+ clientWidth: q,
867
+ offsetWidth: Q
868
+ } = P;
869
+ x = N + O + D + M + z + (Q - q);
870
+ }
871
+ }
872
+ A && (P.style.transform = A), V && (P.style.webkitTransform = V), i.roundLengths && (x = Math.floor(x));
873
+ } else
874
+ x = (r - (i.slidesPerView - 1) * w) / i.slidesPerView, i.roundLengths && (x = Math.floor(x)), c[T] && (c[T].style[t.getDirectionLabel("width")] = `${x}px`);
875
+ c[T] && (c[T].swiperSlideSize = x), f.push(x), i.centeredSlides ? (E = E + x / 2 + b / 2 + w, b === 0 && T !== 0 && (E = E - r / 2 - w), T === 0 && (E = E - r / 2 - w), Math.abs(E) < 1 / 1e3 && (E = 0), i.roundLengths && (E = Math.floor(E)), C % i.slidesPerGroup === 0 && m.push(E), h.push(E)) : (i.roundLengths && (E = Math.floor(E)), (C - Math.min(t.params.slidesPerGroupSkip, C)) % t.params.slidesPerGroup === 0 && m.push(E), h.push(E), E = E + x + w), t.virtualSize += x + w, b = x, C += 1;
876
+ }
877
+ }
878
+ if (t.virtualSize = Math.max(t.virtualSize, r) + S, l && a && (i.effect === "slide" || i.effect === "coverflow") && (s.style.width = `${t.virtualSize + w}px`), i.setWrapperSize && (s.style[t.getDirectionLabel("width")] = `${t.virtualSize + w}px`), I && t.grid.updateWrapperSize(x, m), !i.centeredSlides) {
879
+ const T = [];
880
+ for (let P = 0; P < m.length; P += 1) {
881
+ let L = m[P];
882
+ i.roundLengths && (L = Math.floor(L)), m[P] <= t.virtualSize - r && T.push(L);
883
+ }
884
+ m = T, Math.floor(t.virtualSize - r) - Math.floor(m[m.length - 1]) > 1 && m.push(t.virtualSize - r);
885
+ }
886
+ if (o && i.loop) {
887
+ const T = f[0] + w;
888
+ if (i.slidesPerGroup > 1) {
889
+ const P = Math.ceil((t.virtual.slidesBefore + t.virtual.slidesAfter) / i.slidesPerGroup), L = T * i.slidesPerGroup;
890
+ for (let A = 0; A < P; A += 1)
891
+ m.push(m[m.length - 1] + L);
892
+ }
893
+ for (let P = 0; P < t.virtual.slidesBefore + t.virtual.slidesAfter; P += 1)
894
+ i.slidesPerGroup === 1 && m.push(m[m.length - 1] + T), h.push(h[h.length - 1] + T), t.virtualSize += T;
895
+ }
896
+ if (m.length === 0 && (m = [0]), w !== 0) {
897
+ const T = t.isHorizontal() && l ? "marginLeft" : t.getDirectionLabel("marginRight");
898
+ c.filter((P, L) => !i.cssMode || i.loop ? !0 : L !== c.length - 1).forEach((P) => {
899
+ P.style[T] = `${w}px`;
900
+ });
901
+ }
902
+ if (i.centeredSlides && i.centeredSlidesBounds) {
903
+ let T = 0;
904
+ f.forEach((L) => {
905
+ T += L + (w || 0);
906
+ }), T -= w;
907
+ const P = T > r ? T - r : 0;
908
+ m = m.map((L) => L <= 0 ? -g : L > P ? P + S : L);
909
+ }
910
+ if (i.centerInsufficientSlides) {
911
+ let T = 0;
912
+ f.forEach((L) => {
913
+ T += L + (w || 0);
914
+ }), T -= w;
915
+ const P = (i.slidesOffsetBefore || 0) + (i.slidesOffsetAfter || 0);
916
+ if (T + P < r) {
917
+ const L = (r - T - P) / 2;
918
+ m.forEach((A, V) => {
919
+ m[V] = A - L;
920
+ }), h.forEach((A, V) => {
921
+ h[V] = A + L;
922
+ });
923
+ }
924
+ }
925
+ if (Object.assign(t, {
926
+ slides: c,
927
+ snapGrid: m,
928
+ slidesGrid: h,
929
+ slidesSizesGrid: f
930
+ }), i.centeredSlides && i.cssMode && !i.centeredSlidesBounds) {
931
+ J(s, "--swiper-centered-offset-before", `${-m[0]}px`), J(s, "--swiper-centered-offset-after", `${t.size / 2 - f[f.length - 1] / 2}px`);
932
+ const T = -t.snapGrid[0], P = -t.slidesGrid[0];
933
+ t.snapGrid = t.snapGrid.map((L) => L + T), t.slidesGrid = t.slidesGrid.map((L) => L + P);
934
+ }
935
+ if (u !== d && t.emit("slidesLengthChange"), m.length !== p && (t.params.watchOverflow && t.checkOverflow(), t.emit("snapGridLengthChange")), h.length !== v && t.emit("slidesGridLengthChange"), i.watchSlidesProgress && t.updateSlidesOffset(), t.emit("slidesUpdated"), !o && !i.cssMode && (i.effect === "slide" || i.effect === "fade")) {
936
+ const T = `${i.containerModifierClass}backface-hidden`, P = t.el.classList.contains(T);
937
+ u <= i.maxBackfaceHiddenSlides ? P || t.el.classList.add(T) : P && t.el.classList.remove(T);
938
+ }
939
+ }
940
+ function ut(t) {
941
+ const e = this, i = [], s = e.virtual && e.params.virtual.enabled;
942
+ let n = 0, r;
943
+ typeof t == "number" ? e.setTransition(t) : t === !0 && e.setTransition(e.params.speed);
944
+ const l = (a) => s ? e.slides[e.getSlideIndexByData(a)] : e.slides[a];
945
+ if (e.params.slidesPerView !== "auto" && e.params.slidesPerView > 1)
946
+ if (e.params.centeredSlides)
947
+ (e.visibleSlides || []).forEach((a) => {
948
+ i.push(a);
949
+ });
950
+ else
951
+ for (r = 0; r < Math.ceil(e.params.slidesPerView); r += 1) {
952
+ const a = e.activeIndex + r;
953
+ if (a > e.slides.length && !s)
954
+ break;
955
+ i.push(l(a));
956
+ }
957
+ else
958
+ i.push(l(e.activeIndex));
959
+ for (r = 0; r < i.length; r += 1)
960
+ if (typeof i[r] < "u") {
961
+ const a = i[r].offsetHeight;
962
+ n = a > n ? a : n;
963
+ }
964
+ (n || n === 0) && (e.wrapperEl.style.height = `${n}px`);
965
+ }
966
+ function ft() {
967
+ const t = this, e = t.slides, i = t.isElement ? t.isHorizontal() ? t.wrapperEl.offsetLeft : t.wrapperEl.offsetTop : 0;
968
+ for (let s = 0; s < e.length; s += 1)
969
+ e[s].swiperSlideOffset = (t.isHorizontal() ? e[s].offsetLeft : e[s].offsetTop) - i - t.cssOverflowAdjustment();
970
+ }
971
+ const ye = (t, e, i) => {
972
+ e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
973
+ };
974
+ function pt(t) {
975
+ t === void 0 && (t = this && this.translate || 0);
976
+ const e = this, i = e.params, {
977
+ slides: s,
978
+ rtlTranslate: n,
979
+ snapGrid: r
980
+ } = e;
981
+ if (s.length === 0)
982
+ return;
983
+ typeof s[0].swiperSlideOffset > "u" && e.updateSlidesOffset();
984
+ let l = -t;
985
+ n && (l = t), e.visibleSlidesIndexes = [], e.visibleSlides = [];
986
+ let a = i.spaceBetween;
987
+ typeof a == "string" && a.indexOf("%") >= 0 ? a = parseFloat(a.replace("%", "")) / 100 * e.size : typeof a == "string" && (a = parseFloat(a));
988
+ for (let o = 0; o < s.length; o += 1) {
989
+ const d = s[o];
990
+ let c = d.swiperSlideOffset;
991
+ i.cssMode && i.centeredSlides && (c -= s[0].swiperSlideOffset);
992
+ const u = (l + (i.centeredSlides ? e.minTranslate() : 0) - c) / (d.swiperSlideSize + a), m = (l - r[0] + (i.centeredSlides ? e.minTranslate() : 0) - c) / (d.swiperSlideSize + a), h = -(l - c), f = h + e.slidesSizesGrid[o], g = h >= 0 && h <= e.size - e.slidesSizesGrid[o], S = h >= 0 && h < e.size - 1 || f > 1 && f <= e.size || h <= 0 && f >= e.size;
993
+ S && (e.visibleSlides.push(d), e.visibleSlidesIndexes.push(o)), ye(d, S, i.slideVisibleClass), ye(d, g, i.slideFullyVisibleClass), d.progress = n ? -u : u, d.originalProgress = n ? -m : m;
994
+ }
995
+ }
996
+ function mt(t) {
997
+ const e = this;
998
+ if (typeof t > "u") {
999
+ const c = e.rtlTranslate ? -1 : 1;
1000
+ t = e && e.translate && e.translate * c || 0;
1001
+ }
1002
+ const i = e.params, s = e.maxTranslate() - e.minTranslate();
1003
+ let {
1004
+ progress: n,
1005
+ isBeginning: r,
1006
+ isEnd: l,
1007
+ progressLoop: a
1008
+ } = e;
1009
+ const o = r, d = l;
1010
+ if (s === 0)
1011
+ n = 0, r = !0, l = !0;
1012
+ else {
1013
+ n = (t - e.minTranslate()) / s;
1014
+ const c = Math.abs(t - e.minTranslate()) < 1, u = Math.abs(t - e.maxTranslate()) < 1;
1015
+ r = c || n <= 0, l = u || n >= 1, c && (n = 0), u && (n = 1);
1016
+ }
1017
+ if (i.loop) {
1018
+ const c = e.getSlideIndexByData(0), u = e.getSlideIndexByData(e.slides.length - 1), m = e.slidesGrid[c], h = e.slidesGrid[u], f = e.slidesGrid[e.slidesGrid.length - 1], g = Math.abs(t);
1019
+ g >= m ? a = (g - m) / f : a = (g + f - h) / f, a > 1 && (a -= 1);
1020
+ }
1021
+ Object.assign(e, {
1022
+ progress: n,
1023
+ progressLoop: a,
1024
+ isBeginning: r,
1025
+ isEnd: l
1026
+ }), (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", n);
1027
+ }
1028
+ const de = (t, e, i) => {
1029
+ e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
1030
+ };
1031
+ function ht() {
1032
+ const t = this, {
1033
+ slides: e,
1034
+ params: i,
1035
+ slidesEl: s,
1036
+ activeIndex: n
1037
+ } = t, r = t.virtual && i.virtual.enabled, l = t.grid && i.grid && i.grid.rows > 1, a = (u) => R(s, `.${i.slideClass}${u}, swiper-slide${u}`)[0];
1038
+ let o, d, c;
1039
+ if (r)
1040
+ if (i.loop) {
1041
+ let u = n - t.virtual.slidesBefore;
1042
+ 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}"]`);
1043
+ } else
1044
+ o = a(`[data-swiper-slide-index="${n}"]`);
1045
+ else
1046
+ l ? (o = e.find((u) => u.column === n), c = e.find((u) => u.column === n + 1), d = e.find((u) => u.column === n - 1)) : o = e[n];
1047
+ o && (l || (c = et(o, `.${i.slideClass}, swiper-slide`)[0], i.loop && !c && (c = e[0]), d = Je(o, `.${i.slideClass}, swiper-slide`)[0], i.loop && !d === 0 && (d = e[e.length - 1]))), e.forEach((u) => {
1048
+ de(u, u === o, i.slideActiveClass), de(u, u === c, i.slideNextClass), de(u, u === d, i.slidePrevClass);
1049
+ }), t.emitSlidesClasses();
1050
+ }
1051
+ const ee = (t, e) => {
1052
+ if (!t || t.destroyed || !t.params)
1053
+ return;
1054
+ const i = () => t.isElement ? "swiper-slide" : `.${t.params.slideClass}`, s = e.closest(i());
1055
+ if (s) {
1056
+ let n = s.querySelector(`.${t.params.lazyPreloaderClass}`);
1057
+ !n && t.isElement && (s.shadowRoot ? n = s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`) : requestAnimationFrame(() => {
1058
+ s.shadowRoot && (n = s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`), n && n.remove());
1059
+ })), n && n.remove();
1060
+ }
1061
+ }, ce = (t, e) => {
1062
+ if (!t.slides[e])
1063
+ return;
1064
+ const i = t.slides[e].querySelector('[loading="lazy"]');
1065
+ i && i.removeAttribute("loading");
1066
+ }, me = (t) => {
1067
+ if (!t || t.destroyed || !t.params)
1068
+ return;
1069
+ let e = t.params.lazyPreloadPrevNext;
1070
+ const i = t.slides.length;
1071
+ if (!i || !e || e < 0)
1072
+ return;
1073
+ e = Math.min(e, i);
1074
+ const s = t.params.slidesPerView === "auto" ? t.slidesPerViewDynamic() : Math.ceil(t.params.slidesPerView), n = t.activeIndex;
1075
+ if (t.params.grid && t.params.grid.rows > 1) {
1076
+ const l = n, a = [l - e];
1077
+ a.push(...Array.from({
1078
+ length: e
1079
+ }).map((o, d) => l + s + d)), t.slides.forEach((o, d) => {
1080
+ a.includes(o.column) && ce(t, d);
1081
+ });
1082
+ return;
1083
+ }
1084
+ const r = n + s - 1;
1085
+ if (t.params.rewind || t.params.loop)
1086
+ for (let l = n - e; l <= r + e; l += 1) {
1087
+ const a = (l % i + i) % i;
1088
+ (a < n || a > r) && ce(t, a);
1089
+ }
1090
+ else
1091
+ for (let l = Math.max(n - e, 0); l <= Math.min(r + e, i - 1); l += 1)
1092
+ l !== n && (l > r || l < n) && ce(t, l);
1093
+ };
1094
+ function gt(t) {
1095
+ const {
1096
+ slidesGrid: e,
1097
+ params: i
1098
+ } = t, s = t.rtlTranslate ? t.translate : -t.translate;
1099
+ let n;
1100
+ for (let r = 0; r < e.length; r += 1)
1101
+ typeof e[r + 1] < "u" ? s >= e[r] && s < e[r + 1] - (e[r + 1] - e[r]) / 2 ? n = r : s >= e[r] && s < e[r + 1] && (n = r + 1) : s >= e[r] && (n = r);
1102
+ return i.normalizeSlideIndex && (n < 0 || typeof n > "u") && (n = 0), n;
1103
+ }
1104
+ function vt(t) {
1105
+ const e = this, i = e.rtlTranslate ? e.translate : -e.translate, {
1106
+ snapGrid: s,
1107
+ params: n,
1108
+ activeIndex: r,
1109
+ realIndex: l,
1110
+ snapIndex: a
1111
+ } = e;
1112
+ let o = t, d;
1113
+ const c = (h) => {
1114
+ let f = h - e.virtual.slidesBefore;
1115
+ return f < 0 && (f = e.virtual.slides.length + f), f >= e.virtual.slides.length && (f -= e.virtual.slides.length), f;
1116
+ };
1117
+ if (typeof o > "u" && (o = gt(e)), s.indexOf(i) >= 0)
1118
+ d = s.indexOf(i);
1119
+ else {
1120
+ const h = Math.min(n.slidesPerGroupSkip, o);
1121
+ d = h + Math.floor((o - h) / n.slidesPerGroup);
1122
+ }
1123
+ if (d >= s.length && (d = s.length - 1), o === r && !e.params.loop) {
1124
+ d !== a && (e.snapIndex = d, e.emit("snapIndexChange"));
1125
+ return;
1126
+ }
1127
+ if (o === r && e.params.loop && e.virtual && e.params.virtual.enabled) {
1128
+ e.realIndex = c(o);
1129
+ return;
1130
+ }
1131
+ const u = e.grid && n.grid && n.grid.rows > 1;
1132
+ let m;
1133
+ if (e.virtual && n.virtual.enabled && n.loop)
1134
+ m = c(o);
1135
+ else if (u) {
1136
+ const h = e.slides.find((g) => g.column === o);
1137
+ let f = parseInt(h.getAttribute("data-swiper-slide-index"), 10);
1138
+ Number.isNaN(f) && (f = Math.max(e.slides.indexOf(h), 0)), m = Math.floor(f / n.grid.rows);
1139
+ } else if (e.slides[o]) {
1140
+ const h = e.slides[o].getAttribute("data-swiper-slide-index");
1141
+ h ? m = parseInt(h, 10) : m = o;
1142
+ } else
1143
+ m = o;
1144
+ Object.assign(e, {
1145
+ previousSnapIndex: a,
1146
+ snapIndex: d,
1147
+ previousRealIndex: l,
1148
+ realIndex: m,
1149
+ previousIndex: r,
1150
+ activeIndex: o
1151
+ }), e.initialized && me(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (l !== m && e.emit("realIndexChange"), e.emit("slideChange"));
1152
+ }
1153
+ function wt(t, e) {
1154
+ const i = this, s = i.params;
1155
+ let n = t.closest(`.${s.slideClass}, swiper-slide`);
1156
+ !n && i.isElement && e && e.length > 1 && e.includes(t) && [...e.slice(e.indexOf(t) + 1, e.length)].forEach((a) => {
1157
+ !n && a.matches && a.matches(`.${s.slideClass}, swiper-slide`) && (n = a);
1158
+ });
1159
+ let r = !1, l;
1160
+ if (n) {
1161
+ for (let a = 0; a < i.slides.length; a += 1)
1162
+ if (i.slides[a] === n) {
1163
+ r = !0, l = a;
1164
+ break;
1165
+ }
1166
+ }
1167
+ if (n && r)
1168
+ i.clickedSlide = n, i.virtual && i.params.virtual.enabled ? i.clickedIndex = parseInt(n.getAttribute("data-swiper-slide-index"), 10) : i.clickedIndex = l;
1169
+ else {
1170
+ i.clickedSlide = void 0, i.clickedIndex = void 0;
1171
+ return;
1172
+ }
1173
+ s.slideToClickedSlide && i.clickedIndex !== void 0 && i.clickedIndex !== i.activeIndex && i.slideToClickedSlide();
1174
+ }
1175
+ var St = {
1176
+ updateSize: dt,
1177
+ updateSlides: ct,
1178
+ updateAutoHeight: ut,
1179
+ updateSlidesOffset: ft,
1180
+ updateSlidesProgress: pt,
1181
+ updateProgress: mt,
1182
+ updateSlidesClasses: ht,
1183
+ updateActiveIndex: vt,
1184
+ updateClickedSlide: wt
1185
+ };
1186
+ function Tt(t) {
1187
+ t === void 0 && (t = this.isHorizontal() ? "x" : "y");
1188
+ const e = this, {
1189
+ params: i,
1190
+ rtlTranslate: s,
1191
+ translate: n,
1192
+ wrapperEl: r
1193
+ } = e;
1194
+ if (i.virtualTranslate)
1195
+ return s ? -n : n;
1196
+ if (i.cssMode)
1197
+ return n;
1198
+ let l = Ue(r, t);
1199
+ return l += e.cssOverflowAdjustment(), s && (l = -l), l || 0;
1200
+ }
1201
+ function bt(t, e) {
1202
+ const i = this, {
1203
+ rtlTranslate: s,
1204
+ params: n,
1205
+ wrapperEl: r,
1206
+ progress: l
1207
+ } = i;
1208
+ let a = 0, o = 0;
1209
+ const d = 0;
1210
+ i.isHorizontal() ? a = s ? -t : t : o = t, n.roundLengths && (a = Math.floor(a), o = Math.floor(o)), i.previousTranslate = i.translate, i.translate = i.isHorizontal() ? a : o, n.cssMode ? r[i.isHorizontal() ? "scrollLeft" : "scrollTop"] = i.isHorizontal() ? -a : -o : n.virtualTranslate || (i.isHorizontal() ? a -= i.cssOverflowAdjustment() : o -= i.cssOverflowAdjustment(), r.style.transform = `translate3d(${a}px, ${o}px, ${d}px)`);
1211
+ let c;
1212
+ const u = i.maxTranslate() - i.minTranslate();
1213
+ u === 0 ? c = 0 : c = (t - i.minTranslate()) / u, c !== l && i.updateProgress(t), i.emit("setTranslate", i.translate, e);
1214
+ }
1215
+ function yt() {
1216
+ return -this.snapGrid[0];
1217
+ }
1218
+ function Et() {
1219
+ return -this.snapGrid[this.snapGrid.length - 1];
1220
+ }
1221
+ function xt(t, e, i, s, n) {
1222
+ t === void 0 && (t = 0), e === void 0 && (e = this.params.speed), i === void 0 && (i = !0), s === void 0 && (s = !0);
1223
+ const r = this, {
1224
+ params: l,
1225
+ wrapperEl: a
1226
+ } = r;
1227
+ if (r.animating && l.preventInteractionOnTransition)
1228
+ return !1;
1229
+ const o = r.minTranslate(), d = r.maxTranslate();
1230
+ let c;
1231
+ if (s && t > o ? c = o : s && t < d ? c = d : c = t, r.updateProgress(c), l.cssMode) {
1232
+ const u = r.isHorizontal();
1233
+ if (e === 0)
1234
+ a[u ? "scrollLeft" : "scrollTop"] = -c;
1235
+ else {
1236
+ if (!r.support.smoothScroll)
1237
+ return ze({
1238
+ swiper: r,
1239
+ targetPosition: -c,
1240
+ side: u ? "left" : "top"
1241
+ }), !0;
1242
+ a.scrollTo({
1243
+ [u ? "left" : "top"]: -c,
1244
+ behavior: "smooth"
1245
+ });
1246
+ }
1247
+ return !0;
1248
+ }
1249
+ return e === 0 ? (r.setTransition(0), r.setTranslate(c), i && (r.emit("beforeTransitionStart", e, n), r.emit("transitionEnd"))) : (r.setTransition(e), r.setTranslate(c), i && (r.emit("beforeTransitionStart", e, n), r.emit("transitionStart")), r.animating || (r.animating = !0, r.onTranslateToWrapperTransitionEnd || (r.onTranslateToWrapperTransitionEnd = function(m) {
1250
+ !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"));
1251
+ }), r.wrapperEl.addEventListener("transitionend", r.onTranslateToWrapperTransitionEnd))), !0;
1252
+ }
1253
+ var Pt = {
1254
+ getTranslate: Tt,
1255
+ setTranslate: bt,
1256
+ minTranslate: yt,
1257
+ maxTranslate: Et,
1258
+ translateTo: xt
1259
+ };
1260
+ function Ct(t, e) {
1261
+ const i = this;
1262
+ i.params.cssMode || (i.wrapperEl.style.transitionDuration = `${t}ms`, i.wrapperEl.style.transitionDelay = t === 0 ? "0ms" : ""), i.emit("setTransition", t, e);
1263
+ }
1264
+ function Ge(t) {
1265
+ let {
1266
+ swiper: e,
1267
+ runCallbacks: i,
1268
+ direction: s,
1269
+ step: n
1270
+ } = t;
1271
+ const {
1272
+ activeIndex: r,
1273
+ previousIndex: l
1274
+ } = e;
1275
+ let a = s;
1276
+ a || (r > l ? a = "next" : r < l ? a = "prev" : a = "reset"), e.emit(`transition${n}`), i && a === "reset" ? e.emit(`slideResetTransition${n}`) : i && r !== l && (e.emit(`slideChangeTransition${n}`), a === "next" ? e.emit(`slideNextTransition${n}`) : e.emit(`slidePrevTransition${n}`));
1277
+ }
1278
+ function Mt(t, e) {
1279
+ t === void 0 && (t = !0);
1280
+ const i = this, {
1281
+ params: s
1282
+ } = i;
1283
+ s.cssMode || (s.autoHeight && i.updateAutoHeight(), Ge({
1284
+ swiper: i,
1285
+ runCallbacks: t,
1286
+ direction: e,
1287
+ step: "Start"
1288
+ }));
1289
+ }
1290
+ function It(t, e) {
1291
+ t === void 0 && (t = !0);
1292
+ const i = this, {
1293
+ params: s
1294
+ } = i;
1295
+ i.animating = !1, !s.cssMode && (i.setTransition(0), Ge({
1296
+ swiper: i,
1297
+ runCallbacks: t,
1298
+ direction: e,
1299
+ step: "End"
1300
+ }));
1301
+ }
1302
+ var Lt = {
1303
+ setTransition: Ct,
1304
+ transitionStart: Mt,
1305
+ transitionEnd: It
1306
+ };
1307
+ function Ot(t, e, i, s, n) {
1308
+ t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
1309
+ const r = this;
1310
+ let l = t;
1311
+ l < 0 && (l = 0);
1312
+ const {
1313
+ params: a,
1314
+ snapGrid: o,
1315
+ slidesGrid: d,
1316
+ previousIndex: c,
1317
+ activeIndex: u,
1318
+ rtlTranslate: m,
1319
+ wrapperEl: h,
1320
+ enabled: f
1321
+ } = r;
1322
+ if (!f && !s && !n || r.destroyed || r.animating && a.preventInteractionOnTransition)
1323
+ return !1;
1324
+ typeof e > "u" && (e = r.params.speed);
1325
+ const g = Math.min(r.params.slidesPerGroupSkip, l);
1326
+ let S = g + Math.floor((l - g) / r.params.slidesPerGroup);
1327
+ S >= o.length && (S = o.length - 1);
1328
+ const p = -o[S];
1329
+ if (a.normalizeSlideIndex)
1330
+ for (let I = 0; I < d.length; I += 1) {
1331
+ const x = -Math.floor(p * 100), y = Math.floor(d[I] * 100), T = Math.floor(d[I + 1] * 100);
1332
+ typeof d[I + 1] < "u" ? x >= y && x < T - (T - y) / 2 ? l = I : x >= y && x < T && (l = I + 1) : x >= y && (l = I);
1333
+ }
1334
+ if (r.initialized && l !== u && (!r.allowSlideNext && (m ? p > r.translate && p > r.minTranslate() : p < r.translate && p < r.minTranslate()) || !r.allowSlidePrev && p > r.translate && p > r.maxTranslate() && (u || 0) !== l))
1335
+ return !1;
1336
+ l !== (c || 0) && i && r.emit("beforeSlideChangeStart"), r.updateProgress(p);
1337
+ let v;
1338
+ l > u ? v = "next" : l < u ? v = "prev" : v = "reset";
1339
+ const w = r.virtual && r.params.virtual.enabled;
1340
+ if (!(w && n) && (m && -p === r.translate || !m && p === r.translate))
1341
+ return r.updateActiveIndex(l), a.autoHeight && r.updateAutoHeight(), r.updateSlidesClasses(), a.effect !== "slide" && r.setTranslate(p), v !== "reset" && (r.transitionStart(i, v), r.transitionEnd(i, v)), !1;
1342
+ if (a.cssMode) {
1343
+ const I = r.isHorizontal(), x = m ? p : -p;
1344
+ if (e === 0)
1345
+ w && (r.wrapperEl.style.scrollSnapType = "none", r._immediateVirtual = !0), w && !r._cssModeVirtualInitialSet && r.params.initialSlide > 0 ? (r._cssModeVirtualInitialSet = !0, requestAnimationFrame(() => {
1346
+ h[I ? "scrollLeft" : "scrollTop"] = x;
1347
+ })) : h[I ? "scrollLeft" : "scrollTop"] = x, w && requestAnimationFrame(() => {
1348
+ r.wrapperEl.style.scrollSnapType = "", r._immediateVirtual = !1;
1349
+ });
1350
+ else {
1351
+ if (!r.support.smoothScroll)
1352
+ return ze({
1353
+ swiper: r,
1354
+ targetPosition: x,
1355
+ side: I ? "left" : "top"
1356
+ }), !0;
1357
+ h.scrollTo({
1358
+ [I ? "left" : "top"]: x,
1359
+ behavior: "smooth"
1360
+ });
1361
+ }
1362
+ return !0;
1363
+ }
1364
+ const C = De().isSafari;
1365
+ return w && !n && C && r.isElement && r.virtual.update(!1, !1, l), r.setTransition(e), r.setTranslate(p), r.updateActiveIndex(l), r.updateSlidesClasses(), r.emit("beforeTransitionStart", e, s), r.transitionStart(i, v), e === 0 ? r.transitionEnd(i, v) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function(x) {
1366
+ !r || r.destroyed || x.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, v));
1367
+ }), r.wrapperEl.addEventListener("transitionend", r.onSlideToWrapperTransitionEnd)), !0;
1368
+ }
1369
+ function zt(t, e, i, s) {
1370
+ t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
1371
+ const n = this;
1372
+ if (n.destroyed)
1373
+ return;
1374
+ typeof e > "u" && (e = n.params.speed);
1375
+ const r = n.grid && n.params.grid && n.params.grid.rows > 1;
1376
+ let l = t;
1377
+ if (n.params.loop)
1378
+ if (n.virtual && n.params.virtual.enabled)
1379
+ l = l + n.virtual.slidesBefore;
1380
+ else {
1381
+ let a;
1382
+ if (r) {
1383
+ const m = l * n.params.grid.rows;
1384
+ a = n.slides.find((h) => h.getAttribute("data-swiper-slide-index") * 1 === m).column;
1385
+ } else
1386
+ a = n.getSlideIndexByData(l);
1387
+ const o = r ? Math.ceil(n.slides.length / n.params.grid.rows) : n.slides.length, {
1388
+ centeredSlides: d
1389
+ } = n.params;
1390
+ let c = n.params.slidesPerView;
1391
+ c === "auto" ? c = n.slidesPerViewDynamic() : (c = Math.ceil(parseFloat(n.params.slidesPerView, 10)), d && c % 2 === 0 && (c = c + 1));
1392
+ let u = o - a < c;
1393
+ if (d && (u = u || a < Math.ceil(c / 2)), s && d && n.params.slidesPerView !== "auto" && !r && (u = !1), u) {
1394
+ const m = d ? a < n.activeIndex ? "prev" : "next" : a - n.activeIndex - 1 < n.params.slidesPerView ? "next" : "prev";
1395
+ n.loopFix({
1396
+ direction: m,
1397
+ slideTo: !0,
1398
+ activeSlideIndex: m === "next" ? a + 1 : a - o + 1,
1399
+ slideRealIndex: m === "next" ? n.realIndex : void 0
1400
+ });
1401
+ }
1402
+ if (r) {
1403
+ const m = l * n.params.grid.rows;
1404
+ l = n.slides.find((h) => h.getAttribute("data-swiper-slide-index") * 1 === m).column;
1405
+ } else
1406
+ l = n.getSlideIndexByData(l);
1407
+ }
1408
+ return requestAnimationFrame(() => {
1409
+ n.slideTo(l, e, i, s);
1410
+ }), n;
1411
+ }
1412
+ function At(t, e, i) {
1413
+ e === void 0 && (e = !0);
1414
+ const s = this, {
1415
+ enabled: n,
1416
+ params: r,
1417
+ animating: l
1418
+ } = s;
1419
+ if (!n || s.destroyed)
1420
+ return s;
1421
+ typeof t > "u" && (t = s.params.speed);
1422
+ let a = r.slidesPerGroup;
1423
+ r.slidesPerView === "auto" && r.slidesPerGroup === 1 && r.slidesPerGroupAuto && (a = Math.max(s.slidesPerViewDynamic("current", !0), 1));
1424
+ const o = s.activeIndex < r.slidesPerGroupSkip ? 1 : a, d = s.virtual && r.virtual.enabled;
1425
+ if (r.loop) {
1426
+ if (l && !d && r.loopPreventsSliding)
1427
+ return !1;
1428
+ if (s.loopFix({
1429
+ direction: "next"
1430
+ }), s._clientLeft = s.wrapperEl.clientLeft, s.activeIndex === s.slides.length - 1 && r.cssMode)
1431
+ return requestAnimationFrame(() => {
1432
+ s.slideTo(s.activeIndex + o, t, e, i);
1433
+ }), !0;
1434
+ }
1435
+ return r.rewind && s.isEnd ? s.slideTo(0, t, e, i) : s.slideTo(s.activeIndex + o, t, e, i);
1436
+ }
1437
+ function _t(t, e, i) {
1438
+ e === void 0 && (e = !0);
1439
+ const s = this, {
1440
+ params: n,
1441
+ snapGrid: r,
1442
+ slidesGrid: l,
1443
+ rtlTranslate: a,
1444
+ enabled: o,
1445
+ animating: d
1446
+ } = s;
1447
+ if (!o || s.destroyed)
1448
+ return s;
1449
+ typeof t > "u" && (t = s.params.speed);
1450
+ const c = s.virtual && n.virtual.enabled;
1451
+ if (n.loop) {
1452
+ if (d && !c && n.loopPreventsSliding)
1453
+ return !1;
1454
+ s.loopFix({
1455
+ direction: "prev"
1456
+ }), s._clientLeft = s.wrapperEl.clientLeft;
1457
+ }
1458
+ const u = a ? s.translate : -s.translate;
1459
+ function m(v) {
1460
+ return v < 0 ? -Math.floor(Math.abs(v)) : Math.floor(v);
1461
+ }
1462
+ const h = m(u), f = r.map((v) => m(v)), g = n.freeMode && n.freeMode.enabled;
1463
+ let S = r[f.indexOf(h) - 1];
1464
+ if (typeof S > "u" && (n.cssMode || g)) {
1465
+ let v;
1466
+ r.forEach((w, E) => {
1467
+ h >= w && (v = E);
1468
+ }), typeof v < "u" && (S = g ? r[v] : r[v > 0 ? v - 1 : v]);
1469
+ }
1470
+ let p = 0;
1471
+ if (typeof S < "u" && (p = l.indexOf(S), p < 0 && (p = s.activeIndex - 1), n.slidesPerView === "auto" && n.slidesPerGroup === 1 && n.slidesPerGroupAuto && (p = p - s.slidesPerViewDynamic("previous", !0) + 1, p = Math.max(p, 0))), n.rewind && s.isBeginning) {
1472
+ const v = s.params.virtual && s.params.virtual.enabled && s.virtual ? s.virtual.slides.length - 1 : s.slides.length - 1;
1473
+ return s.slideTo(v, t, e, i);
1474
+ } else if (n.loop && s.activeIndex === 0 && n.cssMode)
1475
+ return requestAnimationFrame(() => {
1476
+ s.slideTo(p, t, e, i);
1477
+ }), !0;
1478
+ return s.slideTo(p, t, e, i);
1479
+ }
1480
+ function Dt(t, e, i) {
1481
+ e === void 0 && (e = !0);
1482
+ const s = this;
1483
+ if (!s.destroyed)
1484
+ return typeof t > "u" && (t = s.params.speed), s.slideTo(s.activeIndex, t, e, i);
1485
+ }
1486
+ function Gt(t, e, i, s) {
1487
+ e === void 0 && (e = !0), s === void 0 && (s = 0.5);
1488
+ const n = this;
1489
+ if (n.destroyed)
1490
+ return;
1491
+ typeof t > "u" && (t = n.params.speed);
1492
+ let r = n.activeIndex;
1493
+ const l = Math.min(n.params.slidesPerGroupSkip, r), a = l + Math.floor((r - l) / n.params.slidesPerGroup), o = n.rtlTranslate ? n.translate : -n.translate;
1494
+ if (o >= n.snapGrid[a]) {
1495
+ const d = n.snapGrid[a], c = n.snapGrid[a + 1];
1496
+ o - d > (c - d) * s && (r += n.params.slidesPerGroup);
1497
+ } else {
1498
+ const d = n.snapGrid[a - 1], c = n.snapGrid[a];
1499
+ o - d <= (c - d) * s && (r -= n.params.slidesPerGroup);
1500
+ }
1501
+ return r = Math.max(r, 0), r = Math.min(r, n.slidesGrid.length - 1), n.slideTo(r, t, e, i);
1502
+ }
1503
+ function Bt() {
1504
+ const t = this;
1505
+ if (t.destroyed)
1506
+ return;
1507
+ const {
1508
+ params: e,
1509
+ slidesEl: i
1510
+ } = t, s = e.slidesPerView === "auto" ? t.slidesPerViewDynamic() : e.slidesPerView;
1511
+ let n = t.getSlideIndexWhenGrid(t.clickedIndex), r;
1512
+ const l = t.isElement ? "swiper-slide" : `.${e.slideClass}`, a = t.grid && t.params.grid && t.params.grid.rows > 1;
1513
+ if (e.loop) {
1514
+ if (t.animating)
1515
+ return;
1516
+ r = parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? t.slideToLoop(r) : n > (a ? (t.slides.length - s) / 2 - (t.params.grid.rows - 1) : t.slides.length - s) ? (t.loopFix(), n = t.getSlideIndex(R(i, `${l}[data-swiper-slide-index="${r}"]`)[0]), Oe(() => {
1517
+ t.slideTo(n);
1518
+ })) : t.slideTo(n);
1519
+ } else
1520
+ t.slideTo(n);
1521
+ }
1522
+ var Vt = {
1523
+ slideTo: Ot,
1524
+ slideToLoop: zt,
1525
+ slideNext: At,
1526
+ slidePrev: _t,
1527
+ slideReset: Dt,
1528
+ slideToClosest: Gt,
1529
+ slideToClickedSlide: Bt
1530
+ };
1531
+ function Nt(t, e) {
1532
+ const i = this, {
1533
+ params: s,
1534
+ slidesEl: n
1535
+ } = i;
1536
+ if (!s.loop || i.virtual && i.params.virtual.enabled)
1537
+ return;
1538
+ const r = () => {
1539
+ R(n, `.${s.slideClass}, swiper-slide`).forEach((h, f) => {
1540
+ h.setAttribute("data-swiper-slide-index", f);
1541
+ });
1542
+ }, l = () => {
1543
+ const m = R(n, `.${s.slideBlankClass}`);
1544
+ m.forEach((h) => {
1545
+ h.remove();
1546
+ }), m.length > 0 && (i.recalcSlides(), i.updateSlides());
1547
+ }, a = i.grid && s.grid && s.grid.rows > 1;
1548
+ s.loopAddBlankSlides && (s.slidesPerGroup > 1 || a) && l();
1549
+ const o = s.slidesPerGroup * (a ? s.grid.rows : 1), d = i.slides.length % o !== 0, c = a && i.slides.length % s.grid.rows !== 0, u = (m) => {
1550
+ for (let h = 0; h < m; h += 1) {
1551
+ const f = i.isElement ? re("swiper-slide", [s.slideBlankClass]) : re("div", [s.slideClass, s.slideBlankClass]);
1552
+ i.slidesEl.append(f);
1553
+ }
1554
+ };
1555
+ if (d) {
1556
+ if (s.loopAddBlankSlides) {
1557
+ const m = o - i.slides.length % o;
1558
+ u(m), i.recalcSlides(), i.updateSlides();
1559
+ } else
1560
+ se("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)");
1561
+ r();
1562
+ } else if (c) {
1563
+ if (s.loopAddBlankSlides) {
1564
+ const m = s.grid.rows - i.slides.length % s.grid.rows;
1565
+ u(m), i.recalcSlides(), i.updateSlides();
1566
+ } else
1567
+ se("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)");
1568
+ r();
1569
+ } else
1570
+ r();
1571
+ i.loopFix({
1572
+ slideRealIndex: t,
1573
+ direction: s.centeredSlides ? void 0 : "next",
1574
+ initial: e
1575
+ });
1576
+ }
1577
+ function Ft(t) {
1578
+ let {
1579
+ slideRealIndex: e,
1580
+ slideTo: i = !0,
1581
+ direction: s,
1582
+ setTranslate: n,
1583
+ activeSlideIndex: r,
1584
+ initial: l,
1585
+ byController: a,
1586
+ byMousewheel: o
1587
+ } = t === void 0 ? {} : t;
1588
+ const d = this;
1589
+ if (!d.params.loop)
1590
+ return;
1591
+ d.emit("beforeLoopFix");
1592
+ const {
1593
+ slides: c,
1594
+ allowSlidePrev: u,
1595
+ allowSlideNext: m,
1596
+ slidesEl: h,
1597
+ params: f
1598
+ } = d, {
1599
+ centeredSlides: g,
1600
+ initialSlide: S
1601
+ } = f;
1602
+ if (d.allowSlidePrev = !0, d.allowSlideNext = !0, d.virtual && f.virtual.enabled) {
1603
+ i && (!f.centeredSlides && d.snapIndex === 0 ? d.slideTo(d.virtual.slides.length, 0, !1, !0) : f.centeredSlides && d.snapIndex < f.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");
1604
+ return;
1605
+ }
1606
+ let p = f.slidesPerView;
1607
+ p === "auto" ? p = d.slidesPerViewDynamic() : (p = Math.ceil(parseFloat(f.slidesPerView, 10)), g && p % 2 === 0 && (p = p + 1));
1608
+ const v = f.slidesPerGroupAuto ? p : f.slidesPerGroup;
1609
+ let w = g ? Math.max(v, Math.ceil(p / 2)) : v;
1610
+ w % v !== 0 && (w += v - w % v), w += f.loopAdditionalSlides, d.loopedSlides = w;
1611
+ const E = d.grid && f.grid && f.grid.rows > 1;
1612
+ c.length < p + w || d.params.effect === "cards" && c.length < p + w * 2 ? se("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 && f.grid.fill === "row" && se("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
1613
+ const b = [], C = [], I = E ? Math.ceil(c.length / f.grid.rows) : c.length, x = l && I - S < p && !g;
1614
+ let y = x ? S : d.activeIndex;
1615
+ typeof r > "u" ? r = d.getSlideIndex(c.find((O) => O.classList.contains(f.slideActiveClass))) : y = r;
1616
+ const T = s === "next" || !s, P = s === "prev" || !s;
1617
+ let L = 0, A = 0;
1618
+ const N = (E ? c[r].column : r) + (g && typeof n > "u" ? -p / 2 + 0.5 : 0);
1619
+ if (N < w) {
1620
+ L = Math.max(w - N, v);
1621
+ for (let O = 0; O < w - N; O += 1) {
1622
+ const D = O - Math.floor(O / I) * I;
1623
+ if (E) {
1624
+ const M = I - D - 1;
1625
+ for (let z = c.length - 1; z >= 0; z -= 1)
1626
+ c[z].column === M && b.push(z);
1627
+ } else
1628
+ b.push(I - D - 1);
1629
+ }
1630
+ } else if (N + p > I - w) {
1631
+ A = Math.max(N - (I - w * 2), v), x && (A = Math.max(A, p - I + S + 1));
1632
+ for (let O = 0; O < A; O += 1) {
1633
+ const D = O - Math.floor(O / I) * I;
1634
+ E ? c.forEach((M, z) => {
1635
+ M.column === D && C.push(z);
1636
+ }) : C.push(D);
1637
+ }
1638
+ }
1639
+ if (d.__preventObserver__ = !0, requestAnimationFrame(() => {
1640
+ d.__preventObserver__ = !1;
1641
+ }), d.params.effect === "cards" && c.length < p + w * 2 && (C.includes(r) && C.splice(C.indexOf(r), 1), b.includes(r) && b.splice(b.indexOf(r), 1)), P && b.forEach((O) => {
1642
+ c[O].swiperLoopMoveDOM = !0, h.prepend(c[O]), c[O].swiperLoopMoveDOM = !1;
1643
+ }), T && C.forEach((O) => {
1644
+ c[O].swiperLoopMoveDOM = !0, h.append(c[O]), c[O].swiperLoopMoveDOM = !1;
1645
+ }), d.recalcSlides(), f.slidesPerView === "auto" ? d.updateSlides() : E && (b.length > 0 && P || C.length > 0 && T) && d.slides.forEach((O, D) => {
1646
+ d.grid.updateSlide(D, O, d.slides);
1647
+ }), f.watchSlidesProgress && d.updateSlidesOffset(), i) {
1648
+ if (b.length > 0 && P) {
1649
+ if (typeof e > "u") {
1650
+ const O = d.slidesGrid[y], M = d.slidesGrid[y + L] - O;
1651
+ o ? d.setTranslate(d.translate - M) : (d.slideTo(y + Math.ceil(L), 0, !1, !0), n && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - M, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - M));
1652
+ } else if (n) {
1653
+ const O = E ? b.length / f.grid.rows : b.length;
1654
+ d.slideTo(d.activeIndex + O, 0, !1, !0), d.touchEventsData.currentTranslate = d.translate;
1655
+ }
1656
+ } else if (C.length > 0 && T)
1657
+ if (typeof e > "u") {
1658
+ const O = d.slidesGrid[y], M = d.slidesGrid[y - A] - O;
1659
+ o ? d.setTranslate(d.translate - M) : (d.slideTo(y - A, 0, !1, !0), n && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - M, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - M));
1660
+ } else {
1661
+ const O = E ? C.length / f.grid.rows : C.length;
1662
+ d.slideTo(d.activeIndex - O, 0, !1, !0);
1663
+ }
1664
+ }
1665
+ if (d.allowSlidePrev = u, d.allowSlideNext = m, d.controller && d.controller.control && !a) {
1666
+ const O = {
1667
+ slideRealIndex: e,
1668
+ direction: s,
1669
+ setTranslate: n,
1670
+ activeSlideIndex: r,
1671
+ byController: !0
1672
+ };
1673
+ Array.isArray(d.controller.control) ? d.controller.control.forEach((D) => {
1674
+ !D.destroyed && D.params.loop && D.loopFix({
1675
+ ...O,
1676
+ slideTo: D.params.slidesPerView === f.slidesPerView ? i : !1
1677
+ });
1678
+ }) : d.controller.control instanceof d.constructor && d.controller.control.params.loop && d.controller.control.loopFix({
1679
+ ...O,
1680
+ slideTo: d.controller.control.params.slidesPerView === f.slidesPerView ? i : !1
1681
+ });
1682
+ }
1683
+ d.emit("loopFix");
1684
+ }
1685
+ function kt() {
1686
+ const t = this, {
1687
+ params: e,
1688
+ slidesEl: i
1689
+ } = t;
1690
+ if (!e.loop || !i || t.virtual && t.params.virtual.enabled)
1691
+ return;
1692
+ t.recalcSlides();
1693
+ const s = [];
1694
+ t.slides.forEach((n) => {
1695
+ const r = typeof n.swiperSlideIndex > "u" ? n.getAttribute("data-swiper-slide-index") * 1 : n.swiperSlideIndex;
1696
+ s[r] = n;
1697
+ }), t.slides.forEach((n) => {
1698
+ n.removeAttribute("data-swiper-slide-index");
1699
+ }), s.forEach((n) => {
1700
+ i.append(n);
1701
+ }), t.recalcSlides(), t.slideTo(t.realIndex, 0);
1702
+ }
1703
+ var Rt = {
1704
+ loopCreate: Nt,
1705
+ loopFix: Ft,
1706
+ loopDestroy: kt
1707
+ };
1708
+ function $t(t) {
1709
+ const e = this;
1710
+ if (!e.params.simulateTouch || e.params.watchOverflow && e.isLocked || e.params.cssMode)
1711
+ return;
1712
+ const i = e.params.touchEventsTarget === "container" ? e.el : e.wrapperEl;
1713
+ e.isElement && (e.__preventObserver__ = !0), i.style.cursor = "move", i.style.cursor = t ? "grabbing" : "grab", e.isElement && requestAnimationFrame(() => {
1714
+ e.__preventObserver__ = !1;
1715
+ });
1716
+ }
1717
+ function Ht() {
1718
+ const t = this;
1719
+ 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(() => {
1720
+ t.__preventObserver__ = !1;
1721
+ }));
1722
+ }
1723
+ var jt = {
1724
+ setGrabCursor: $t,
1725
+ unsetGrabCursor: Ht
1726
+ };
1727
+ function Wt(t, e) {
1728
+ e === void 0 && (e = this);
1729
+ function i(s) {
1730
+ if (!s || s === $() || s === B())
1731
+ return null;
1732
+ s.assignedSlot && (s = s.assignedSlot);
1733
+ const n = s.closest(t);
1734
+ return !n && !s.getRootNode ? null : n || i(s.getRootNode().host);
1735
+ }
1736
+ return i(e);
1737
+ }
1738
+ function Ee(t, e, i) {
1739
+ const s = B(), {
1740
+ params: n
1741
+ } = t, r = n.edgeSwipeDetection, l = n.edgeSwipeThreshold;
1742
+ return r && (i <= l || i >= s.innerWidth - l) ? r === "prevent" ? (e.preventDefault(), !0) : !1 : !0;
1743
+ }
1744
+ function qt(t) {
1745
+ const e = this, i = $();
1746
+ let s = t;
1747
+ s.originalEvent && (s = s.originalEvent);
1748
+ const n = e.touchEventsData;
1749
+ if (s.type === "pointerdown") {
1750
+ if (n.pointerId !== null && n.pointerId !== s.pointerId)
1751
+ return;
1752
+ n.pointerId = s.pointerId;
1753
+ } else
1754
+ s.type === "touchstart" && s.targetTouches.length === 1 && (n.touchId = s.targetTouches[0].identifier);
1755
+ if (s.type === "touchstart") {
1756
+ Ee(e, s, s.targetTouches[0].pageX);
1757
+ return;
1758
+ }
1759
+ const {
1760
+ params: r,
1761
+ touches: l,
1762
+ enabled: a
1763
+ } = e;
1764
+ if (!a || !r.simulateTouch && s.pointerType === "mouse" || e.animating && r.preventInteractionOnTransition)
1765
+ return;
1766
+ !e.animating && r.cssMode && r.loop && e.loopFix();
1767
+ let o = s.target;
1768
+ if (r.touchEventsTarget === "wrapper" && !Ze(o, e.wrapperEl) || "which" in s && s.which === 3 || "button" in s && s.button > 0 || n.isTouched && n.isMoved)
1769
+ return;
1770
+ const d = !!r.noSwipingClass && r.noSwipingClass !== "", c = s.composedPath ? s.composedPath() : s.path;
1771
+ d && s.target && s.target.shadowRoot && c && (o = c[0]);
1772
+ const u = r.noSwipingSelector ? r.noSwipingSelector : `.${r.noSwipingClass}`, m = !!(s.target && s.target.shadowRoot);
1773
+ if (r.noSwiping && (m ? Wt(u, o) : o.closest(u))) {
1774
+ e.allowClick = !0;
1775
+ return;
1776
+ }
1777
+ if (r.swipeHandler && !o.closest(r.swipeHandler))
1778
+ return;
1779
+ l.currentX = s.pageX, l.currentY = s.pageY;
1780
+ const h = l.currentX, f = l.currentY;
1781
+ if (!Ee(e, s, h))
1782
+ return;
1783
+ Object.assign(n, {
1784
+ isTouched: !0,
1785
+ isMoved: !1,
1786
+ allowTouchCallbacks: !0,
1787
+ isScrolling: void 0,
1788
+ startMoving: void 0
1789
+ }), l.startX = h, l.startY = f, n.touchStartTime = ie(), e.allowClick = !0, e.updateSize(), e.swipeDirection = void 0, r.threshold > 0 && (n.allowThresholdMove = !1);
1790
+ let g = !0;
1791
+ o.matches(n.focusableElements) && (g = !1, o.nodeName === "SELECT" && (n.isTouched = !1)), i.activeElement && i.activeElement.matches(n.focusableElements) && i.activeElement !== o && (s.pointerType === "mouse" || s.pointerType !== "mouse" && !o.matches(n.focusableElements)) && i.activeElement.blur();
1792
+ const S = g && e.allowTouchMove && r.touchStartPreventDefault;
1793
+ (r.touchStartForcePreventDefault || S) && !o.isContentEditable && s.preventDefault(), r.freeMode && r.freeMode.enabled && e.freeMode && e.animating && !r.cssMode && e.freeMode.onTouchStart(), e.emit("touchStart", s);
1794
+ }
1795
+ function Yt(t) {
1796
+ const e = $(), i = this, s = i.touchEventsData, {
1797
+ params: n,
1798
+ touches: r,
1799
+ rtlTranslate: l,
1800
+ enabled: a
1801
+ } = i;
1802
+ if (!a || !n.simulateTouch && t.pointerType === "mouse")
1803
+ return;
1804
+ let o = t;
1805
+ if (o.originalEvent && (o = o.originalEvent), o.type === "pointermove" && (s.touchId !== null || o.pointerId !== s.pointerId))
1806
+ return;
1807
+ let d;
1808
+ if (o.type === "touchmove") {
1809
+ if (d = [...o.changedTouches].find((C) => C.identifier === s.touchId), !d || d.identifier !== s.touchId)
1810
+ return;
1811
+ } else
1812
+ d = o;
1813
+ if (!s.isTouched) {
1814
+ s.startMoving && s.isScrolling && i.emit("touchMoveOpposite", o);
1815
+ return;
1816
+ }
1817
+ const c = d.pageX, u = d.pageY;
1818
+ if (o.preventedByNestedSwiper) {
1819
+ r.startX = c, r.startY = u;
1820
+ return;
1821
+ }
1822
+ if (!i.allowTouchMove) {
1823
+ o.target.matches(s.focusableElements) || (i.allowClick = !1), s.isTouched && (Object.assign(r, {
1824
+ startX: c,
1825
+ startY: u,
1826
+ currentX: c,
1827
+ currentY: u
1828
+ }), s.touchStartTime = ie());
1829
+ return;
1830
+ }
1831
+ if (n.touchReleaseOnEdges && !n.loop)
1832
+ if (i.isVertical()) {
1833
+ if (u < r.startY && i.translate <= i.maxTranslate() || u > r.startY && i.translate >= i.minTranslate()) {
1834
+ s.isTouched = !1, s.isMoved = !1;
1835
+ return;
1836
+ }
1837
+ } else {
1838
+ if (l && (c > r.startX && -i.translate <= i.maxTranslate() || c < r.startX && -i.translate >= i.minTranslate()))
1839
+ return;
1840
+ if (!l && (c < r.startX && i.translate <= i.maxTranslate() || c > r.startX && i.translate >= i.minTranslate()))
1841
+ return;
1842
+ }
1843
+ if (e.activeElement && e.activeElement.matches(s.focusableElements) && e.activeElement !== o.target && o.pointerType !== "mouse" && e.activeElement.blur(), e.activeElement && o.target === e.activeElement && o.target.matches(s.focusableElements)) {
1844
+ s.isMoved = !0, i.allowClick = !1;
1845
+ return;
1846
+ }
1847
+ s.allowTouchCallbacks && i.emit("touchMove", o), r.previousX = r.currentX, r.previousY = r.currentY, r.currentX = c, r.currentY = u;
1848
+ const m = r.currentX - r.startX, h = r.currentY - r.startY;
1849
+ if (i.params.threshold && Math.sqrt(m ** 2 + h ** 2) < i.params.threshold)
1850
+ return;
1851
+ if (typeof s.isScrolling > "u") {
1852
+ let C;
1853
+ i.isHorizontal() && r.currentY === r.startY || i.isVertical() && r.currentX === r.startX ? s.isScrolling = !1 : m * m + h * h >= 25 && (C = Math.atan2(Math.abs(h), Math.abs(m)) * 180 / Math.PI, s.isScrolling = i.isHorizontal() ? C > n.touchAngle : 90 - C > n.touchAngle);
1854
+ }
1855
+ if (s.isScrolling && i.emit("touchMoveOpposite", o), typeof s.startMoving > "u" && (r.currentX !== r.startX || r.currentY !== r.startY) && (s.startMoving = !0), s.isScrolling || o.type === "touchmove" && s.preventTouchMoveFromPointerMove) {
1856
+ s.isTouched = !1;
1857
+ return;
1858
+ }
1859
+ if (!s.startMoving)
1860
+ return;
1861
+ i.allowClick = !1, !n.cssMode && o.cancelable && o.preventDefault(), n.touchMoveStopPropagation && !n.nested && o.stopPropagation();
1862
+ let f = i.isHorizontal() ? m : h, g = i.isHorizontal() ? r.currentX - r.previousX : r.currentY - r.previousY;
1863
+ n.oneWayMovement && (f = Math.abs(f) * (l ? 1 : -1), g = Math.abs(g) * (l ? 1 : -1)), r.diff = f, f *= n.touchRatio, l && (f = -f, g = -g);
1864
+ const S = i.touchesDirection;
1865
+ i.swipeDirection = f > 0 ? "prev" : "next", i.touchesDirection = g > 0 ? "prev" : "next";
1866
+ const p = i.params.loop && !n.cssMode, v = i.touchesDirection === "next" && i.allowSlideNext || i.touchesDirection === "prev" && i.allowSlidePrev;
1867
+ if (!s.isMoved) {
1868
+ if (p && v && i.loopFix({
1869
+ direction: i.swipeDirection
1870
+ }), s.startTranslate = i.getTranslate(), i.setTransition(0), i.animating) {
1871
+ const C = new window.CustomEvent("transitionend", {
1872
+ bubbles: !0,
1873
+ cancelable: !0,
1874
+ detail: {
1875
+ bySwiperTouchMove: !0
1876
+ }
1877
+ });
1878
+ i.wrapperEl.dispatchEvent(C);
1879
+ }
1880
+ s.allowMomentumBounce = !1, n.grabCursor && (i.allowSlideNext === !0 || i.allowSlidePrev === !0) && i.setGrabCursor(!0), i.emit("sliderFirstMove", o);
1881
+ }
1882
+ let w;
1883
+ if ((/* @__PURE__ */ new Date()).getTime(), n._loopSwapReset !== !1 && s.isMoved && s.allowThresholdMove && S !== i.touchesDirection && p && v && Math.abs(f) >= 1) {
1884
+ Object.assign(r, {
1885
+ startX: c,
1886
+ startY: u,
1887
+ currentX: c,
1888
+ currentY: u,
1889
+ startTranslate: s.currentTranslate
1890
+ }), s.loopSwapReset = !0, s.startTranslate = s.currentTranslate;
1891
+ return;
1892
+ }
1893
+ i.emit("sliderMove", o), s.isMoved = !0, s.currentTranslate = f + s.startTranslate;
1894
+ let E = !0, b = n.resistanceRatio;
1895
+ if (n.touchReleaseOnEdges && (b = 0), f > 0 ? (p && v && !w && s.allowThresholdMove && s.currentTranslate > (n.centeredSlides ? i.minTranslate() - i.slidesSizesGrid[i.activeIndex + 1] - (n.slidesPerView !== "auto" && i.slides.length - n.slidesPerView >= 2 ? i.slidesSizesGrid[i.activeIndex + 1] + i.params.spaceBetween : 0) - i.params.spaceBetween : i.minTranslate()) && i.loopFix({
1896
+ direction: "prev",
1897
+ setTranslate: !0,
1898
+ activeSlideIndex: 0
1899
+ }), s.currentTranslate > i.minTranslate() && (E = !1, n.resistance && (s.currentTranslate = i.minTranslate() - 1 + (-i.minTranslate() + s.startTranslate + f) ** b))) : f < 0 && (p && v && !w && s.allowThresholdMove && s.currentTranslate < (n.centeredSlides ? i.maxTranslate() + i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween + (n.slidesPerView !== "auto" && i.slides.length - n.slidesPerView >= 2 ? i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween : 0) : i.maxTranslate()) && i.loopFix({
1900
+ direction: "next",
1901
+ setTranslate: !0,
1902
+ activeSlideIndex: i.slides.length - (n.slidesPerView === "auto" ? i.slidesPerViewDynamic() : Math.ceil(parseFloat(n.slidesPerView, 10)))
1903
+ }), s.currentTranslate < i.maxTranslate() && (E = !1, n.resistance && (s.currentTranslate = i.maxTranslate() + 1 - (i.maxTranslate() - s.startTranslate - f) ** b))), E && (o.preventedByNestedSwiper = !0), !i.allowSlideNext && i.swipeDirection === "next" && s.currentTranslate < s.startTranslate && (s.currentTranslate = s.startTranslate), !i.allowSlidePrev && i.swipeDirection === "prev" && s.currentTranslate > s.startTranslate && (s.currentTranslate = s.startTranslate), !i.allowSlidePrev && !i.allowSlideNext && (s.currentTranslate = s.startTranslate), n.threshold > 0)
1904
+ if (Math.abs(f) > n.threshold || s.allowThresholdMove) {
1905
+ if (!s.allowThresholdMove) {
1906
+ s.allowThresholdMove = !0, r.startX = r.currentX, r.startY = r.currentY, s.currentTranslate = s.startTranslate, r.diff = i.isHorizontal() ? r.currentX - r.startX : r.currentY - r.startY;
1907
+ return;
1908
+ }
1909
+ } else {
1910
+ s.currentTranslate = s.startTranslate;
1911
+ return;
1912
+ }
1913
+ !n.followFinger || n.cssMode || ((n.freeMode && n.freeMode.enabled && i.freeMode || n.watchSlidesProgress) && (i.updateActiveIndex(), i.updateSlidesClasses()), n.freeMode && n.freeMode.enabled && i.freeMode && i.freeMode.onTouchMove(), i.updateProgress(s.currentTranslate), i.setTranslate(s.currentTranslate));
1914
+ }
1915
+ function Xt(t) {
1916
+ const e = this, i = e.touchEventsData;
1917
+ let s = t;
1918
+ s.originalEvent && (s = s.originalEvent);
1919
+ let n;
1920
+ if (s.type === "touchend" || s.type === "touchcancel") {
1921
+ if (n = [...s.changedTouches].find((b) => b.identifier === i.touchId), !n || n.identifier !== i.touchId)
1922
+ return;
1923
+ } else {
1924
+ if (i.touchId !== null || s.pointerId !== i.pointerId)
1925
+ return;
1926
+ n = s;
1927
+ }
1928
+ if (["pointercancel", "pointerout", "pointerleave", "contextmenu"].includes(s.type) && !(["pointercancel", "contextmenu"].includes(s.type) && (e.browser.isSafari || e.browser.isWebView)))
1929
+ return;
1930
+ i.pointerId = null, i.touchId = null;
1931
+ const {
1932
+ params: l,
1933
+ touches: a,
1934
+ rtlTranslate: o,
1935
+ slidesGrid: d,
1936
+ enabled: c
1937
+ } = e;
1938
+ if (!c || !l.simulateTouch && s.pointerType === "mouse")
1939
+ return;
1940
+ if (i.allowTouchCallbacks && e.emit("touchEnd", s), i.allowTouchCallbacks = !1, !i.isTouched) {
1941
+ i.isMoved && l.grabCursor && e.setGrabCursor(!1), i.isMoved = !1, i.startMoving = !1;
1942
+ return;
1943
+ }
1944
+ l.grabCursor && i.isMoved && i.isTouched && (e.allowSlideNext === !0 || e.allowSlidePrev === !0) && e.setGrabCursor(!1);
1945
+ const u = ie(), m = u - i.touchStartTime;
1946
+ if (e.allowClick) {
1947
+ const b = s.path || s.composedPath && s.composedPath();
1948
+ e.updateClickedSlide(b && b[0] || s.target, b), e.emit("tap click", s), m < 300 && u - i.lastClickTime < 300 && e.emit("doubleTap doubleClick", s);
1949
+ }
1950
+ if (i.lastClickTime = ie(), Oe(() => {
1951
+ e.destroyed || (e.allowClick = !0);
1952
+ }), !i.isTouched || !i.isMoved || !e.swipeDirection || a.diff === 0 && !i.loopSwapReset || i.currentTranslate === i.startTranslate && !i.loopSwapReset) {
1953
+ i.isTouched = !1, i.isMoved = !1, i.startMoving = !1;
1954
+ return;
1955
+ }
1956
+ i.isTouched = !1, i.isMoved = !1, i.startMoving = !1;
1957
+ let h;
1958
+ if (l.followFinger ? h = o ? e.translate : -e.translate : h = -i.currentTranslate, l.cssMode)
1959
+ return;
1960
+ if (l.freeMode && l.freeMode.enabled) {
1961
+ e.freeMode.onTouchEnd({
1962
+ currentPos: h
1963
+ });
1964
+ return;
1965
+ }
1966
+ const f = h >= -e.maxTranslate() && !e.params.loop;
1967
+ let g = 0, S = e.slidesSizesGrid[0];
1968
+ for (let b = 0; b < d.length; b += b < l.slidesPerGroupSkip ? 1 : l.slidesPerGroup) {
1969
+ const C = b < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1970
+ typeof d[b + C] < "u" ? (f || h >= d[b] && h < d[b + C]) && (g = b, S = d[b + C] - d[b]) : (f || h >= d[b]) && (g = b, S = d[d.length - 1] - d[d.length - 2]);
1971
+ }
1972
+ let p = null, v = null;
1973
+ l.rewind && (e.isBeginning ? v = l.virtual && l.virtual.enabled && e.virtual ? e.virtual.slides.length - 1 : e.slides.length - 1 : e.isEnd && (p = 0));
1974
+ const w = (h - d[g]) / S, E = g < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1975
+ if (m > l.longSwipesMs) {
1976
+ if (!l.longSwipes) {
1977
+ e.slideTo(e.activeIndex);
1978
+ return;
1979
+ }
1980
+ e.swipeDirection === "next" && (w >= l.longSwipesRatio ? e.slideTo(l.rewind && e.isEnd ? p : g + E) : e.slideTo(g)), e.swipeDirection === "prev" && (w > 1 - l.longSwipesRatio ? e.slideTo(g + E) : v !== null && w < 0 && Math.abs(w) > l.longSwipesRatio ? e.slideTo(v) : e.slideTo(g));
1981
+ } else {
1982
+ if (!l.shortSwipes) {
1983
+ e.slideTo(e.activeIndex);
1984
+ return;
1985
+ }
1986
+ e.navigation && (s.target === e.navigation.nextEl || s.target === e.navigation.prevEl) ? s.target === e.navigation.nextEl ? e.slideTo(g + E) : e.slideTo(g) : (e.swipeDirection === "next" && e.slideTo(p !== null ? p : g + E), e.swipeDirection === "prev" && e.slideTo(v !== null ? v : g));
1987
+ }
1988
+ }
1989
+ function xe() {
1990
+ const t = this, {
1991
+ params: e,
1992
+ el: i
1993
+ } = t;
1994
+ if (i && i.offsetWidth === 0)
1995
+ return;
1996
+ e.breakpoints && t.setBreakpoint();
1997
+ const {
1998
+ allowSlideNext: s,
1999
+ allowSlidePrev: n,
2000
+ snapGrid: r
2001
+ } = t, l = t.virtual && t.params.virtual.enabled;
2002
+ t.allowSlideNext = !0, t.allowSlidePrev = !0, t.updateSize(), t.updateSlides(), t.updateSlidesClasses();
2003
+ const a = l && e.loop;
2004
+ (e.slidesPerView === "auto" || e.slidesPerView > 1) && t.isEnd && !t.isBeginning && !t.params.centeredSlides && !a ? t.slideTo(t.slides.length - 1, 0, !1, !0) : t.params.loop && !l ? t.slideToLoop(t.realIndex, 0, !1, !0) : t.slideTo(t.activeIndex, 0, !1, !0), t.autoplay && t.autoplay.running && t.autoplay.paused && (clearTimeout(t.autoplay.resizeTimeout), t.autoplay.resizeTimeout = setTimeout(() => {
2005
+ t.autoplay && t.autoplay.running && t.autoplay.paused && t.autoplay.resume();
2006
+ }, 500)), t.allowSlidePrev = n, t.allowSlideNext = s, t.params.watchOverflow && r !== t.snapGrid && t.checkOverflow();
2007
+ }
2008
+ function Ut(t) {
2009
+ const e = this;
2010
+ e.enabled && (e.allowClick || (e.params.preventClicks && t.preventDefault(), e.params.preventClicksPropagation && e.animating && (t.stopPropagation(), t.stopImmediatePropagation())));
2011
+ }
2012
+ function Kt() {
2013
+ const t = this, {
2014
+ wrapperEl: e,
2015
+ rtlTranslate: i,
2016
+ enabled: s
2017
+ } = t;
2018
+ if (!s)
2019
+ return;
2020
+ t.previousTranslate = t.translate, t.isHorizontal() ? t.translate = -e.scrollLeft : t.translate = -e.scrollTop, t.translate === 0 && (t.translate = 0), t.updateActiveIndex(), t.updateSlidesClasses();
2021
+ let n;
2022
+ const r = t.maxTranslate() - t.minTranslate();
2023
+ r === 0 ? n = 0 : n = (t.translate - t.minTranslate()) / r, n !== t.progress && t.updateProgress(i ? -t.translate : t.translate), t.emit("setTranslate", t.translate, !1);
2024
+ }
2025
+ function Qt(t) {
2026
+ const e = this;
2027
+ ee(e, t.target), !(e.params.cssMode || e.params.slidesPerView !== "auto" && !e.params.autoHeight) && e.update();
2028
+ }
2029
+ function Zt() {
2030
+ const t = this;
2031
+ t.documentTouchHandlerProceeded || (t.documentTouchHandlerProceeded = !0, t.params.touchReleaseOnEdges && (t.el.style.touchAction = "auto"));
2032
+ }
2033
+ const Be = (t, e) => {
2034
+ const i = $(), {
2035
+ params: s,
2036
+ el: n,
2037
+ wrapperEl: r,
2038
+ device: l
2039
+ } = t, a = !!s.nested, o = e === "on" ? "addEventListener" : "removeEventListener", d = e;
2040
+ !n || typeof n == "string" || (i[o]("touchstart", t.onDocumentTouchStart, {
2041
+ passive: !1,
2042
+ capture: a
2043
+ }), n[o]("touchstart", t.onTouchStart, {
2044
+ passive: !1
2045
+ }), n[o]("pointerdown", t.onTouchStart, {
2046
+ passive: !1
2047
+ }), i[o]("touchmove", t.onTouchMove, {
2048
+ passive: !1,
2049
+ capture: a
2050
+ }), i[o]("pointermove", t.onTouchMove, {
2051
+ passive: !1,
2052
+ capture: a
2053
+ }), i[o]("touchend", t.onTouchEnd, {
2054
+ passive: !0
2055
+ }), i[o]("pointerup", t.onTouchEnd, {
2056
+ passive: !0
2057
+ }), i[o]("pointercancel", t.onTouchEnd, {
2058
+ passive: !0
2059
+ }), i[o]("touchcancel", t.onTouchEnd, {
2060
+ passive: !0
2061
+ }), i[o]("pointerout", t.onTouchEnd, {
2062
+ passive: !0
2063
+ }), i[o]("pointerleave", t.onTouchEnd, {
2064
+ passive: !0
2065
+ }), i[o]("contextmenu", t.onTouchEnd, {
2066
+ passive: !0
2067
+ }), (s.preventClicks || s.preventClicksPropagation) && n[o]("click", t.onClick, !0), s.cssMode && r[o]("scroll", t.onScroll), s.updateOnWindowResize ? t[d](l.ios || l.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", xe, !0) : t[d]("observerUpdate", xe, !0), n[o]("load", t.onLoad, {
2068
+ capture: !0
2069
+ }));
2070
+ };
2071
+ function Jt() {
2072
+ const t = this, {
2073
+ params: e
2074
+ } = t;
2075
+ t.onTouchStart = qt.bind(t), t.onTouchMove = Yt.bind(t), t.onTouchEnd = Xt.bind(t), t.onDocumentTouchStart = Zt.bind(t), e.cssMode && (t.onScroll = Kt.bind(t)), t.onClick = Ut.bind(t), t.onLoad = Qt.bind(t), Be(t, "on");
2076
+ }
2077
+ function ei() {
2078
+ Be(this, "off");
2079
+ }
2080
+ var ti = {
2081
+ attachEvents: Jt,
2082
+ detachEvents: ei
2083
+ };
2084
+ const Pe = (t, e) => t.grid && e.grid && e.grid.rows > 1;
2085
+ function ii() {
2086
+ const t = this, {
2087
+ realIndex: e,
2088
+ initialized: i,
2089
+ params: s,
2090
+ el: n
2091
+ } = t, r = s.breakpoints;
2092
+ if (!r || r && Object.keys(r).length === 0)
2093
+ return;
2094
+ const l = $(), a = s.breakpointsBase === "window" || !s.breakpointsBase ? s.breakpointsBase : "container", o = ["window", "container"].includes(s.breakpointsBase) || !s.breakpointsBase ? t.el : l.querySelector(s.breakpointsBase), d = t.getBreakpoint(r, a, o);
2095
+ if (!d || t.currentBreakpoint === d)
2096
+ return;
2097
+ const u = (d in r ? r[d] : void 0) || t.originalParams, m = Pe(t, s), h = Pe(t, u), f = t.params.grabCursor, g = u.grabCursor, S = s.enabled;
2098
+ m && !h ? (n.classList.remove(`${s.containerModifierClass}grid`, `${s.containerModifierClass}grid-column`), t.emitContainerClasses()) : !m && h && (n.classList.add(`${s.containerModifierClass}grid`), (u.grid.fill && u.grid.fill === "column" || !u.grid.fill && s.grid.fill === "column") && n.classList.add(`${s.containerModifierClass}grid-column`), t.emitContainerClasses()), f && !g ? t.unsetGrabCursor() : !f && g && t.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((C) => {
2099
+ if (typeof u[C] > "u")
2100
+ return;
2101
+ const I = s[C] && s[C].enabled, x = u[C] && u[C].enabled;
2102
+ I && !x && t[C].disable(), !I && x && t[C].enable();
2103
+ });
2104
+ const p = u.direction && u.direction !== s.direction, v = s.loop && (u.slidesPerView !== s.slidesPerView || p), w = s.loop;
2105
+ p && i && t.changeDirection(), F(t.params, u);
2106
+ const E = t.params.enabled, b = t.params.loop;
2107
+ Object.assign(t, {
2108
+ allowTouchMove: t.params.allowTouchMove,
2109
+ allowSlideNext: t.params.allowSlideNext,
2110
+ allowSlidePrev: t.params.allowSlidePrev
2111
+ }), S && !E ? t.disable() : !S && E && t.enable(), t.currentBreakpoint = d, t.emit("_beforeBreakpoint", u), i && (v ? (t.loopDestroy(), t.loopCreate(e), t.updateSlides()) : !w && b ? (t.loopCreate(e), t.updateSlides()) : w && !b && t.loopDestroy()), t.emit("breakpoint", u);
2112
+ }
2113
+ function si(t, e, i) {
2114
+ if (e === void 0 && (e = "window"), !t || e === "container" && !i)
2115
+ return;
2116
+ let s = !1;
2117
+ const n = B(), r = e === "window" ? n.innerHeight : i.clientHeight, l = Object.keys(t).map((a) => {
2118
+ if (typeof a == "string" && a.indexOf("@") === 0) {
2119
+ const o = parseFloat(a.substr(1));
2120
+ return {
2121
+ value: r * o,
2122
+ point: a
2123
+ };
2124
+ }
2125
+ return {
2126
+ value: a,
2127
+ point: a
2128
+ };
2129
+ });
2130
+ l.sort((a, o) => parseInt(a.value, 10) - parseInt(o.value, 10));
2131
+ for (let a = 0; a < l.length; a += 1) {
2132
+ const {
2133
+ point: o,
2134
+ value: d
2135
+ } = l[a];
2136
+ e === "window" ? n.matchMedia(`(min-width: ${d}px)`).matches && (s = o) : d <= i.clientWidth && (s = o);
2137
+ }
2138
+ return s || "max";
2139
+ }
2140
+ var ri = {
2141
+ setBreakpoint: ii,
2142
+ getBreakpoint: si
2143
+ };
2144
+ function ni(t, e) {
2145
+ const i = [];
2146
+ return t.forEach((s) => {
2147
+ typeof s == "object" ? Object.keys(s).forEach((n) => {
2148
+ s[n] && i.push(e + n);
2149
+ }) : typeof s == "string" && i.push(e + s);
2150
+ }), i;
2151
+ }
2152
+ function ai() {
2153
+ const t = this, {
2154
+ classNames: e,
2155
+ params: i,
2156
+ rtl: s,
2157
+ el: n,
2158
+ device: r
2159
+ } = t, l = ni(["initialized", i.direction, {
2160
+ "free-mode": t.params.freeMode && i.freeMode.enabled
2161
+ }, {
2162
+ autoheight: i.autoHeight
2163
+ }, {
2164
+ rtl: s
2165
+ }, {
2166
+ grid: i.grid && i.grid.rows > 1
2167
+ }, {
2168
+ "grid-column": i.grid && i.grid.rows > 1 && i.grid.fill === "column"
2169
+ }, {
2170
+ android: r.android
2171
+ }, {
2172
+ ios: r.ios
2173
+ }, {
2174
+ "css-mode": i.cssMode
2175
+ }, {
2176
+ centered: i.cssMode && i.centeredSlides
2177
+ }, {
2178
+ "watch-progress": i.watchSlidesProgress
2179
+ }], i.containerModifierClass);
2180
+ e.push(...l), n.classList.add(...e), t.emitContainerClasses();
2181
+ }
2182
+ function li() {
2183
+ const t = this, {
2184
+ el: e,
2185
+ classNames: i
2186
+ } = t;
2187
+ !e || typeof e == "string" || (e.classList.remove(...i), t.emitContainerClasses());
2188
+ }
2189
+ var oi = {
2190
+ addClasses: ai,
2191
+ removeClasses: li
2192
+ };
2193
+ function di() {
2194
+ const t = this, {
2195
+ isLocked: e,
2196
+ params: i
2197
+ } = t, {
2198
+ slidesOffsetBefore: s
2199
+ } = i;
2200
+ if (s) {
2201
+ const n = t.slides.length - 1, r = t.slidesGrid[n] + t.slidesSizesGrid[n] + s * 2;
2202
+ t.isLocked = t.size > r;
2203
+ } else
2204
+ t.isLocked = t.snapGrid.length === 1;
2205
+ 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");
2206
+ }
2207
+ var ci = {
2208
+ checkOverflow: di
2209
+ }, he = {
2210
+ init: !0,
2211
+ direction: "horizontal",
2212
+ oneWayMovement: !1,
2213
+ swiperElementNodeName: "SWIPER-CONTAINER",
2214
+ touchEventsTarget: "wrapper",
2215
+ initialSlide: 0,
2216
+ speed: 300,
2217
+ cssMode: !1,
2218
+ updateOnWindowResize: !0,
2219
+ resizeObserver: !0,
2220
+ nested: !1,
2221
+ createElements: !1,
2222
+ eventsPrefix: "swiper",
2223
+ enabled: !0,
2224
+ focusableElements: "input, select, option, textarea, button, video, label",
2225
+ // Overrides
2226
+ width: null,
2227
+ height: null,
2228
+ //
2229
+ preventInteractionOnTransition: !1,
2230
+ // ssr
2231
+ userAgent: null,
2232
+ url: null,
2233
+ // To support iOS's swipe-to-go-back gesture (when being used in-app).
2234
+ edgeSwipeDetection: !1,
2235
+ edgeSwipeThreshold: 20,
2236
+ // Autoheight
2237
+ autoHeight: !1,
2238
+ // Set wrapper width
2239
+ setWrapperSize: !1,
2240
+ // Virtual Translate
2241
+ virtualTranslate: !1,
2242
+ // Effects
2243
+ effect: "slide",
2244
+ // 'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'
2245
+ // Breakpoints
2246
+ breakpoints: void 0,
2247
+ breakpointsBase: "window",
2248
+ // Slides grid
2249
+ spaceBetween: 0,
2250
+ slidesPerView: 1,
2251
+ slidesPerGroup: 1,
2252
+ slidesPerGroupSkip: 0,
2253
+ slidesPerGroupAuto: !1,
2254
+ centeredSlides: !1,
2255
+ centeredSlidesBounds: !1,
2256
+ slidesOffsetBefore: 0,
2257
+ // in px
2258
+ slidesOffsetAfter: 0,
2259
+ // in px
2260
+ normalizeSlideIndex: !0,
2261
+ centerInsufficientSlides: !1,
2262
+ // Disable swiper and hide navigation when container not overflow
2263
+ watchOverflow: !0,
2264
+ // Round length
2265
+ roundLengths: !1,
2266
+ // Touches
2267
+ touchRatio: 1,
2268
+ touchAngle: 45,
2269
+ simulateTouch: !0,
2270
+ shortSwipes: !0,
2271
+ longSwipes: !0,
2272
+ longSwipesRatio: 0.5,
2273
+ longSwipesMs: 300,
2274
+ followFinger: !0,
2275
+ allowTouchMove: !0,
2276
+ threshold: 5,
2277
+ touchMoveStopPropagation: !1,
2278
+ touchStartPreventDefault: !0,
2279
+ touchStartForcePreventDefault: !1,
2280
+ touchReleaseOnEdges: !1,
2281
+ // Unique Navigation Elements
2282
+ uniqueNavElements: !0,
2283
+ // Resistance
2284
+ resistance: !0,
2285
+ resistanceRatio: 0.85,
2286
+ // Progress
2287
+ watchSlidesProgress: !1,
2288
+ // Cursor
2289
+ grabCursor: !1,
2290
+ // Clicks
2291
+ preventClicks: !0,
2292
+ preventClicksPropagation: !0,
2293
+ slideToClickedSlide: !1,
2294
+ // loop
2295
+ loop: !1,
2296
+ loopAddBlankSlides: !0,
2297
+ loopAdditionalSlides: 0,
2298
+ loopPreventsSliding: !0,
2299
+ // rewind
2300
+ rewind: !1,
2301
+ // Swiping/no swiping
2302
+ allowSlidePrev: !0,
2303
+ allowSlideNext: !0,
2304
+ swipeHandler: null,
2305
+ // '.swipe-handler',
2306
+ noSwiping: !0,
2307
+ noSwipingClass: "swiper-no-swiping",
2308
+ noSwipingSelector: null,
2309
+ // Passive Listeners
2310
+ passiveListeners: !0,
2311
+ maxBackfaceHiddenSlides: 10,
2312
+ // NS
2313
+ containerModifierClass: "swiper-",
2314
+ // NEW
2315
+ slideClass: "swiper-slide",
2316
+ slideBlankClass: "swiper-slide-blank",
2317
+ slideActiveClass: "swiper-slide-active",
2318
+ slideVisibleClass: "swiper-slide-visible",
2319
+ slideFullyVisibleClass: "swiper-slide-fully-visible",
2320
+ slideNextClass: "swiper-slide-next",
2321
+ slidePrevClass: "swiper-slide-prev",
2322
+ wrapperClass: "swiper-wrapper",
2323
+ lazyPreloaderClass: "swiper-lazy-preloader",
2324
+ lazyPreloadPrevNext: 0,
2325
+ // Callbacks
2326
+ runCallbacksOnInit: !0,
2327
+ // Internals
2328
+ _emitClasses: !1
2329
+ };
2330
+ function ui(t, e) {
2331
+ return function(s) {
2332
+ s === void 0 && (s = {});
2333
+ const n = Object.keys(s)[0], r = s[n];
2334
+ if (typeof r != "object" || r === null) {
2335
+ F(e, s);
2336
+ return;
2337
+ }
2338
+ if (t[n] === !0 && (t[n] = {
2339
+ enabled: !0
2340
+ }), n === "navigation" && t[n] && t[n].enabled && !t[n].prevEl && !t[n].nextEl && (t[n].auto = !0), ["pagination", "scrollbar"].indexOf(n) >= 0 && t[n] && t[n].enabled && !t[n].el && (t[n].auto = !0), !(n in t && "enabled" in r)) {
2341
+ F(e, s);
2342
+ return;
2343
+ }
2344
+ typeof t[n] == "object" && !("enabled" in t[n]) && (t[n].enabled = !0), t[n] || (t[n] = {
2345
+ enabled: !1
2346
+ }), F(e, s);
2347
+ };
2348
+ }
2349
+ const ue = {
2350
+ eventsEmitter: ot,
2351
+ update: St,
2352
+ translate: Pt,
2353
+ transition: Lt,
2354
+ slide: Vt,
2355
+ loop: Rt,
2356
+ grabCursor: jt,
2357
+ events: ti,
2358
+ breakpoints: ri,
2359
+ checkOverflow: ci,
2360
+ classes: oi
2361
+ }, fe = {};
2362
+ let ve = class j {
2363
+ constructor() {
2364
+ let e, i;
2365
+ for (var s = arguments.length, n = new Array(s), r = 0; r < s; r++)
2366
+ n[r] = arguments[r];
2367
+ n.length === 1 && n[0].constructor && Object.prototype.toString.call(n[0]).slice(8, -1) === "Object" ? i = n[0] : [e, i] = n, i || (i = {}), i = F({}, i), e && !i.el && (i.el = e);
2368
+ const l = $();
2369
+ if (i.el && typeof i.el == "string" && l.querySelectorAll(i.el).length > 1) {
2370
+ const c = [];
2371
+ return l.querySelectorAll(i.el).forEach((u) => {
2372
+ const m = F({}, i, {
2373
+ el: u
2374
+ });
2375
+ c.push(new j(m));
2376
+ }), c;
2377
+ }
2378
+ const a = this;
2379
+ a.__swiper__ = !0, a.support = Ae(), a.device = _e({
2380
+ userAgent: i.userAgent
2381
+ }), a.browser = De(), a.eventsListeners = {}, a.eventsAnyListeners = [], a.modules = [...a.__modules__], i.modules && Array.isArray(i.modules) && a.modules.push(...i.modules);
2382
+ const o = {};
2383
+ a.modules.forEach((c) => {
2384
+ c({
2385
+ params: i,
2386
+ swiper: a,
2387
+ extendParams: ui(i, o),
2388
+ on: a.on.bind(a),
2389
+ once: a.once.bind(a),
2390
+ off: a.off.bind(a),
2391
+ emit: a.emit.bind(a)
2392
+ });
2393
+ });
2394
+ const d = F({}, he, o);
2395
+ return a.params = F({}, d, fe, i), a.originalParams = F({}, a.params), a.passedParams = F({}, i), a.params && a.params.on && Object.keys(a.params.on).forEach((c) => {
2396
+ a.on(c, a.params.on[c]);
2397
+ }), a.params && a.params.onAny && a.onAny(a.params.onAny), Object.assign(a, {
2398
+ enabled: a.params.enabled,
2399
+ el: e,
2400
+ // Classes
2401
+ classNames: [],
2402
+ // Slides
2403
+ slides: [],
2404
+ slidesGrid: [],
2405
+ snapGrid: [],
2406
+ slidesSizesGrid: [],
2407
+ // isDirection
2408
+ isHorizontal() {
2409
+ return a.params.direction === "horizontal";
2410
+ },
2411
+ isVertical() {
2412
+ return a.params.direction === "vertical";
2413
+ },
2414
+ // Indexes
2415
+ activeIndex: 0,
2416
+ realIndex: 0,
2417
+ //
2418
+ isBeginning: !0,
2419
+ isEnd: !1,
2420
+ // Props
2421
+ translate: 0,
2422
+ previousTranslate: 0,
2423
+ progress: 0,
2424
+ velocity: 0,
2425
+ animating: !1,
2426
+ cssOverflowAdjustment() {
2427
+ return Math.trunc(this.translate / 2 ** 23) * 2 ** 23;
2428
+ },
2429
+ // Locks
2430
+ allowSlideNext: a.params.allowSlideNext,
2431
+ allowSlidePrev: a.params.allowSlidePrev,
2432
+ // Touch Events
2433
+ touchEventsData: {
2434
+ isTouched: void 0,
2435
+ isMoved: void 0,
2436
+ allowTouchCallbacks: void 0,
2437
+ touchStartTime: void 0,
2438
+ isScrolling: void 0,
2439
+ currentTranslate: void 0,
2440
+ startTranslate: void 0,
2441
+ allowThresholdMove: void 0,
2442
+ // Form elements to match
2443
+ focusableElements: a.params.focusableElements,
2444
+ // Last click time
2445
+ lastClickTime: 0,
2446
+ clickTimeout: void 0,
2447
+ // Velocities
2448
+ velocities: [],
2449
+ allowMomentumBounce: void 0,
2450
+ startMoving: void 0,
2451
+ pointerId: null,
2452
+ touchId: null
2453
+ },
2454
+ // Clicks
2455
+ allowClick: !0,
2456
+ // Touches
2457
+ allowTouchMove: a.params.allowTouchMove,
2458
+ touches: {
2459
+ startX: 0,
2460
+ startY: 0,
2461
+ currentX: 0,
2462
+ currentY: 0,
2463
+ diff: 0
2464
+ },
2465
+ // Images
2466
+ imagesToLoad: [],
2467
+ imagesLoaded: 0
2468
+ }), a.emit("_swiper"), a.params.init && a.init(), a;
2469
+ }
2470
+ getDirectionLabel(e) {
2471
+ return this.isHorizontal() ? e : {
2472
+ width: "height",
2473
+ "margin-top": "margin-left",
2474
+ "margin-bottom ": "margin-right",
2475
+ "margin-left": "margin-top",
2476
+ "margin-right": "margin-bottom",
2477
+ "padding-left": "padding-top",
2478
+ "padding-right": "padding-bottom",
2479
+ marginRight: "marginBottom"
2480
+ }[e];
2481
+ }
2482
+ getSlideIndex(e) {
2483
+ const {
2484
+ slidesEl: i,
2485
+ params: s
2486
+ } = this, n = R(i, `.${s.slideClass}, swiper-slide`), r = Se(n[0]);
2487
+ return Se(e) - r;
2488
+ }
2489
+ getSlideIndexByData(e) {
2490
+ return this.getSlideIndex(this.slides.find((i) => i.getAttribute("data-swiper-slide-index") * 1 === e));
2491
+ }
2492
+ getSlideIndexWhenGrid(e) {
2493
+ return this.grid && this.params.grid && this.params.grid.rows > 1 && (this.params.grid.fill === "column" ? e = Math.floor(e / this.params.grid.rows) : this.params.grid.fill === "row" && (e = e % Math.ceil(this.slides.length / this.params.grid.rows))), e;
2494
+ }
2495
+ recalcSlides() {
2496
+ const e = this, {
2497
+ slidesEl: i,
2498
+ params: s
2499
+ } = e;
2500
+ e.slides = R(i, `.${s.slideClass}, swiper-slide`);
2501
+ }
2502
+ enable() {
2503
+ const e = this;
2504
+ e.enabled || (e.enabled = !0, e.params.grabCursor && e.setGrabCursor(), e.emit("enable"));
2505
+ }
2506
+ disable() {
2507
+ const e = this;
2508
+ e.enabled && (e.enabled = !1, e.params.grabCursor && e.unsetGrabCursor(), e.emit("disable"));
2509
+ }
2510
+ setProgress(e, i) {
2511
+ const s = this;
2512
+ e = Math.min(Math.max(e, 0), 1);
2513
+ const n = s.minTranslate(), l = (s.maxTranslate() - n) * e + n;
2514
+ s.translateTo(l, typeof i > "u" ? 0 : i), s.updateActiveIndex(), s.updateSlidesClasses();
2515
+ }
2516
+ emitContainerClasses() {
2517
+ const e = this;
2518
+ if (!e.params._emitClasses || !e.el)
2519
+ return;
2520
+ const i = e.el.className.split(" ").filter((s) => s.indexOf("swiper") === 0 || s.indexOf(e.params.containerModifierClass) === 0);
2521
+ e.emit("_containerClasses", i.join(" "));
2522
+ }
2523
+ getSlideClasses(e) {
2524
+ const i = this;
2525
+ return i.destroyed ? "" : e.className.split(" ").filter((s) => s.indexOf("swiper-slide") === 0 || s.indexOf(i.params.slideClass) === 0).join(" ");
2526
+ }
2527
+ emitSlidesClasses() {
2528
+ const e = this;
2529
+ if (!e.params._emitClasses || !e.el)
2530
+ return;
2531
+ const i = [];
2532
+ e.slides.forEach((s) => {
2533
+ const n = e.getSlideClasses(s);
2534
+ i.push({
2535
+ slideEl: s,
2536
+ classNames: n
2537
+ }), e.emit("_slideClass", s, n);
2538
+ }), e.emit("_slideClasses", i);
2539
+ }
2540
+ slidesPerViewDynamic(e, i) {
2541
+ e === void 0 && (e = "current"), i === void 0 && (i = !1);
2542
+ const s = this, {
2543
+ params: n,
2544
+ slides: r,
2545
+ slidesGrid: l,
2546
+ slidesSizesGrid: a,
2547
+ size: o,
2548
+ activeIndex: d
2549
+ } = s;
2550
+ let c = 1;
2551
+ if (typeof n.slidesPerView == "number")
2552
+ return n.slidesPerView;
2553
+ if (n.centeredSlides) {
2554
+ let u = r[d] ? Math.ceil(r[d].swiperSlideSize) : 0, m;
2555
+ for (let h = d + 1; h < r.length; h += 1)
2556
+ r[h] && !m && (u += Math.ceil(r[h].swiperSlideSize), c += 1, u > o && (m = !0));
2557
+ for (let h = d - 1; h >= 0; h -= 1)
2558
+ r[h] && !m && (u += r[h].swiperSlideSize, c += 1, u > o && (m = !0));
2559
+ } else if (e === "current")
2560
+ for (let u = d + 1; u < r.length; u += 1)
2561
+ (i ? l[u] + a[u] - l[d] < o : l[u] - l[d] < o) && (c += 1);
2562
+ else
2563
+ for (let u = d - 1; u >= 0; u -= 1)
2564
+ l[d] - l[u] < o && (c += 1);
2565
+ return c;
2566
+ }
2567
+ update() {
2568
+ const e = this;
2569
+ if (!e || e.destroyed)
2570
+ return;
2571
+ const {
2572
+ snapGrid: i,
2573
+ params: s
2574
+ } = e;
2575
+ s.breakpoints && e.setBreakpoint(), [...e.el.querySelectorAll('[loading="lazy"]')].forEach((l) => {
2576
+ l.complete && ee(e, l);
2577
+ }), e.updateSize(), e.updateSlides(), e.updateProgress(), e.updateSlidesClasses();
2578
+ function n() {
2579
+ const l = e.rtlTranslate ? e.translate * -1 : e.translate, a = Math.min(Math.max(l, e.maxTranslate()), e.minTranslate());
2580
+ e.setTranslate(a), e.updateActiveIndex(), e.updateSlidesClasses();
2581
+ }
2582
+ let r;
2583
+ if (s.freeMode && s.freeMode.enabled && !s.cssMode)
2584
+ n(), s.autoHeight && e.updateAutoHeight();
2585
+ else {
2586
+ if ((s.slidesPerView === "auto" || s.slidesPerView > 1) && e.isEnd && !s.centeredSlides) {
2587
+ const l = e.virtual && s.virtual.enabled ? e.virtual.slides : e.slides;
2588
+ r = e.slideTo(l.length - 1, 0, !1, !0);
2589
+ } else
2590
+ r = e.slideTo(e.activeIndex, 0, !1, !0);
2591
+ r || n();
2592
+ }
2593
+ s.watchOverflow && i !== e.snapGrid && e.checkOverflow(), e.emit("update");
2594
+ }
2595
+ changeDirection(e, i) {
2596
+ i === void 0 && (i = !0);
2597
+ const s = this, n = s.params.direction;
2598
+ return e || (e = n === "horizontal" ? "vertical" : "horizontal"), e === n || e !== "horizontal" && e !== "vertical" || (s.el.classList.remove(`${s.params.containerModifierClass}${n}`), s.el.classList.add(`${s.params.containerModifierClass}${e}`), s.emitContainerClasses(), s.params.direction = e, s.slides.forEach((r) => {
2599
+ e === "vertical" ? r.style.width = "" : r.style.height = "";
2600
+ }), s.emit("changeDirection"), i && s.update()), s;
2601
+ }
2602
+ changeLanguageDirection(e) {
2603
+ const i = this;
2604
+ i.rtl && e === "rtl" || !i.rtl && e === "ltr" || (i.rtl = e === "rtl", i.rtlTranslate = i.params.direction === "horizontal" && i.rtl, i.rtl ? (i.el.classList.add(`${i.params.containerModifierClass}rtl`), i.el.dir = "rtl") : (i.el.classList.remove(`${i.params.containerModifierClass}rtl`), i.el.dir = "ltr"), i.update());
2605
+ }
2606
+ mount(e) {
2607
+ const i = this;
2608
+ if (i.mounted)
2609
+ return !0;
2610
+ let s = e || i.params.el;
2611
+ if (typeof s == "string" && (s = document.querySelector(s)), !s)
2612
+ return !1;
2613
+ s.swiper = i, s.parentNode && s.parentNode.host && s.parentNode.host.nodeName === i.params.swiperElementNodeName.toUpperCase() && (i.isElement = !0);
2614
+ const n = () => `.${(i.params.wrapperClass || "").trim().split(" ").join(".")}`;
2615
+ let l = (() => s && s.shadowRoot && s.shadowRoot.querySelector ? s.shadowRoot.querySelector(n()) : R(s, n())[0])();
2616
+ return !l && i.params.createElements && (l = re("div", i.params.wrapperClass), s.append(l), R(s, `.${i.params.slideClass}`).forEach((a) => {
2617
+ l.append(a);
2618
+ })), Object.assign(i, {
2619
+ el: s,
2620
+ wrapperEl: l,
2621
+ slidesEl: i.isElement && !s.parentNode.host.slideSlots ? s.parentNode.host : l,
2622
+ hostEl: i.isElement ? s.parentNode.host : s,
2623
+ mounted: !0,
2624
+ // RTL
2625
+ rtl: s.dir.toLowerCase() === "rtl" || W(s, "direction") === "rtl",
2626
+ rtlTranslate: i.params.direction === "horizontal" && (s.dir.toLowerCase() === "rtl" || W(s, "direction") === "rtl"),
2627
+ wrongRTL: W(l, "display") === "-webkit-box"
2628
+ }), !0;
2629
+ }
2630
+ init(e) {
2631
+ const i = this;
2632
+ if (i.initialized || i.mount(e) === !1)
2633
+ return i;
2634
+ 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();
2635
+ const n = [...i.el.querySelectorAll('[loading="lazy"]')];
2636
+ return i.isElement && n.push(...i.hostEl.querySelectorAll('[loading="lazy"]')), n.forEach((r) => {
2637
+ r.complete ? ee(i, r) : r.addEventListener("load", (l) => {
2638
+ ee(i, l.target);
2639
+ });
2640
+ }), me(i), i.initialized = !0, me(i), i.emit("init"), i.emit("afterInit"), i;
2641
+ }
2642
+ destroy(e, i) {
2643
+ e === void 0 && (e = !0), i === void 0 && (i = !0);
2644
+ const s = this, {
2645
+ params: n,
2646
+ el: r,
2647
+ wrapperEl: l,
2648
+ slides: a
2649
+ } = s;
2650
+ return typeof s.params > "u" || s.destroyed || (s.emit("beforeDestroy"), s.initialized = !1, s.detachEvents(), n.loop && s.loopDestroy(), i && (s.removeClasses(), r && typeof r != "string" && r.removeAttribute("style"), l && l.removeAttribute("style"), a && a.length && a.forEach((o) => {
2651
+ o.classList.remove(n.slideVisibleClass, n.slideFullyVisibleClass, n.slideActiveClass, n.slideNextClass, n.slidePrevClass), o.removeAttribute("style"), o.removeAttribute("data-swiper-slide-index");
2652
+ })), s.emit("destroy"), Object.keys(s.eventsListeners).forEach((o) => {
2653
+ s.off(o);
2654
+ }), e !== !1 && (s.el && typeof s.el != "string" && (s.el.swiper = null), Ye(s)), s.destroyed = !0), null;
2655
+ }
2656
+ static extendDefaults(e) {
2657
+ F(fe, e);
2658
+ }
2659
+ static get extendedDefaults() {
2660
+ return fe;
2661
+ }
2662
+ static get defaults() {
2663
+ return he;
2664
+ }
2665
+ static installModule(e) {
2666
+ j.prototype.__modules__ || (j.prototype.__modules__ = []);
2667
+ const i = j.prototype.__modules__;
2668
+ typeof e == "function" && i.indexOf(e) < 0 && i.push(e);
2669
+ }
2670
+ static use(e) {
2671
+ return Array.isArray(e) ? (e.forEach((i) => j.installModule(i)), j) : (j.installModule(e), j);
2672
+ }
2673
+ };
2674
+ Object.keys(ue).forEach((t) => {
2675
+ Object.keys(ue[t]).forEach((e) => {
2676
+ ve.prototype[e] = ue[t][e];
2677
+ });
2678
+ });
2679
+ ve.use([at, lt]);
2680
+ const Ve = [
2681
+ "eventsPrefix",
2682
+ "injectStyles",
2683
+ "injectStylesUrls",
2684
+ "modules",
2685
+ "init",
2686
+ "_direction",
2687
+ "oneWayMovement",
2688
+ "swiperElementNodeName",
2689
+ "touchEventsTarget",
2690
+ "initialSlide",
2691
+ "_speed",
2692
+ "cssMode",
2693
+ "updateOnWindowResize",
2694
+ "resizeObserver",
2695
+ "nested",
2696
+ "focusableElements",
2697
+ "_enabled",
2698
+ "_width",
2699
+ "_height",
2700
+ "preventInteractionOnTransition",
2701
+ "userAgent",
2702
+ "url",
2703
+ "_edgeSwipeDetection",
2704
+ "_edgeSwipeThreshold",
2705
+ "_freeMode",
2706
+ "_autoHeight",
2707
+ "setWrapperSize",
2708
+ "virtualTranslate",
2709
+ "_effect",
2710
+ "breakpoints",
2711
+ "breakpointsBase",
2712
+ "_spaceBetween",
2713
+ "_slidesPerView",
2714
+ "maxBackfaceHiddenSlides",
2715
+ "_grid",
2716
+ "_slidesPerGroup",
2717
+ "_slidesPerGroupSkip",
2718
+ "_slidesPerGroupAuto",
2719
+ "_centeredSlides",
2720
+ "_centeredSlidesBounds",
2721
+ "_slidesOffsetBefore",
2722
+ "_slidesOffsetAfter",
2723
+ "normalizeSlideIndex",
2724
+ "_centerInsufficientSlides",
2725
+ "_watchOverflow",
2726
+ "roundLengths",
2727
+ "touchRatio",
2728
+ "touchAngle",
2729
+ "simulateTouch",
2730
+ "_shortSwipes",
2731
+ "_longSwipes",
2732
+ "longSwipesRatio",
2733
+ "longSwipesMs",
2734
+ "_followFinger",
2735
+ "allowTouchMove",
2736
+ "_threshold",
2737
+ "touchMoveStopPropagation",
2738
+ "touchStartPreventDefault",
2739
+ "touchStartForcePreventDefault",
2740
+ "touchReleaseOnEdges",
2741
+ "uniqueNavElements",
2742
+ "_resistance",
2743
+ "_resistanceRatio",
2744
+ "_watchSlidesProgress",
2745
+ "_grabCursor",
2746
+ "preventClicks",
2747
+ "preventClicksPropagation",
2748
+ "_slideToClickedSlide",
2749
+ "_loop",
2750
+ "loopAdditionalSlides",
2751
+ "loopAddBlankSlides",
2752
+ "loopPreventsSliding",
2753
+ "_rewind",
2754
+ "_allowSlidePrev",
2755
+ "_allowSlideNext",
2756
+ "_swipeHandler",
2757
+ "_noSwiping",
2758
+ "noSwipingClass",
2759
+ "noSwipingSelector",
2760
+ "passiveListeners",
2761
+ "containerModifierClass",
2762
+ "slideClass",
2763
+ "slideActiveClass",
2764
+ "slideVisibleClass",
2765
+ "slideFullyVisibleClass",
2766
+ "slideNextClass",
2767
+ "slidePrevClass",
2768
+ "slideBlankClass",
2769
+ "wrapperClass",
2770
+ "lazyPreloaderClass",
2771
+ "lazyPreloadPrevNext",
2772
+ "runCallbacksOnInit",
2773
+ "observer",
2774
+ "observeParents",
2775
+ "observeSlideChildren",
2776
+ // modules
2777
+ "a11y",
2778
+ "_autoplay",
2779
+ "_controller",
2780
+ "coverflowEffect",
2781
+ "cubeEffect",
2782
+ "fadeEffect",
2783
+ "flipEffect",
2784
+ "creativeEffect",
2785
+ "cardsEffect",
2786
+ "hashNavigation",
2787
+ "history",
2788
+ "keyboard",
2789
+ "mousewheel",
2790
+ "_navigation",
2791
+ "_pagination",
2792
+ "parallax",
2793
+ "_scrollbar",
2794
+ "_thumbs",
2795
+ "virtual",
2796
+ "zoom",
2797
+ "control"
2798
+ ];
2799
+ function Y(t) {
2800
+ return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object" && !t.__swiper__;
2801
+ }
2802
+ function X(t, e) {
2803
+ const i = ["__proto__", "constructor", "prototype"];
2804
+ Object.keys(e).filter((s) => i.indexOf(s) < 0).forEach((s) => {
2805
+ typeof t[s] > "u" ? t[s] = e[s] : Y(e[s]) && Y(t[s]) && Object.keys(e[s]).length > 0 ? e[s].__swiper__ ? t[s] = e[s] : X(t[s], e[s]) : t[s] = e[s];
2806
+ });
2807
+ }
2808
+ function Ne(t) {
2809
+ return t === void 0 && (t = {}), t.navigation && typeof t.navigation.nextEl > "u" && typeof t.navigation.prevEl > "u";
2810
+ }
2811
+ function Fe(t) {
2812
+ return t === void 0 && (t = {}), t.pagination && typeof t.pagination.el > "u";
2813
+ }
2814
+ function ke(t) {
2815
+ return t === void 0 && (t = {}), t.scrollbar && typeof t.scrollbar.el > "u";
2816
+ }
2817
+ function Re(t) {
2818
+ t === void 0 && (t = "");
2819
+ const e = t.split(" ").map((s) => s.trim()).filter((s) => !!s), i = [];
2820
+ return e.forEach((s) => {
2821
+ i.indexOf(s) < 0 && i.push(s);
2822
+ }), i.join(" ");
2823
+ }
2824
+ function fi(t) {
2825
+ return t === void 0 && (t = ""), t ? t.includes("swiper-wrapper") ? t : `swiper-wrapper ${t}` : "swiper-wrapper";
2826
+ }
2827
+ function pi(t) {
2828
+ let {
2829
+ swiper: e,
2830
+ slides: i,
2831
+ passedParams: s,
2832
+ changedParams: n,
2833
+ nextEl: r,
2834
+ prevEl: l,
2835
+ scrollbarEl: a,
2836
+ paginationEl: o
2837
+ } = t;
2838
+ const d = n.filter((y) => y !== "children" && y !== "direction" && y !== "wrapperClass"), {
2839
+ params: c,
2840
+ pagination: u,
2841
+ navigation: m,
2842
+ scrollbar: h,
2843
+ virtual: f,
2844
+ thumbs: g
2845
+ } = e;
2846
+ let S, p, v, w, E, b, C, I;
2847
+ n.includes("thumbs") && s.thumbs && s.thumbs.swiper && !s.thumbs.swiper.destroyed && c.thumbs && (!c.thumbs.swiper || c.thumbs.swiper.destroyed) && (S = !0), n.includes("controller") && s.controller && s.controller.control && c.controller && !c.controller.control && (p = !0), n.includes("pagination") && s.pagination && (s.pagination.el || o) && (c.pagination || c.pagination === !1) && u && !u.el && (v = !0), n.includes("scrollbar") && s.scrollbar && (s.scrollbar.el || a) && (c.scrollbar || c.scrollbar === !1) && h && !h.el && (w = !0), n.includes("navigation") && s.navigation && (s.navigation.prevEl || l) && (s.navigation.nextEl || r) && (c.navigation || c.navigation === !1) && m && !m.prevEl && !m.nextEl && (E = !0);
2848
+ const x = (y) => {
2849
+ e[y] && (e[y].destroy(), y === "navigation" ? (e.isElement && (e[y].prevEl.remove(), e[y].nextEl.remove()), c[y].prevEl = void 0, c[y].nextEl = void 0, e[y].prevEl = void 0, e[y].nextEl = void 0) : (e.isElement && e[y].el.remove(), c[y].el = void 0, e[y].el = void 0));
2850
+ };
2851
+ n.includes("loop") && e.isElement && (c.loop && !s.loop ? b = !0 : !c.loop && s.loop ? C = !0 : I = !0), d.forEach((y) => {
2852
+ if (Y(c[y]) && Y(s[y]))
2853
+ Object.assign(c[y], s[y]), (y === "navigation" || y === "pagination" || y === "scrollbar") && "enabled" in s[y] && !s[y].enabled && x(y);
2854
+ else {
2855
+ const T = s[y];
2856
+ (T === !0 || T === !1) && (y === "navigation" || y === "pagination" || y === "scrollbar") ? T === !1 && x(y) : c[y] = s[y];
2857
+ }
2858
+ }), d.includes("controller") && !p && e.controller && e.controller.control && c.controller && c.controller.control && (e.controller.control = c.controller.control), n.includes("children") && i && f && c.virtual.enabled ? (f.slides = i, f.update(!0)) : n.includes("virtual") && f && c.virtual.enabled && (i && (f.slides = i), f.update(!0)), n.includes("children") && i && c.loop && (I = !0), S && g.init() && g.update(!0), p && (e.controller.control = c.controller.control), v && (e.isElement && (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-pagination"), o.part.add("pagination"), e.el.appendChild(o)), o && (c.pagination.el = o), u.init(), u.render(), u.update()), w && (e.isElement && (!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-scrollbar"), a.part.add("scrollbar"), e.el.appendChild(a)), a && (c.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"), be(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"), be(l, e.hostEl.constructor.prevButtonSvg), l.part.add("button-prev"), e.el.appendChild(l))), r && (c.navigation.nextEl = r), l && (c.navigation.prevEl = l), m.init(), m.update()), n.includes("allowSlideNext") && (e.allowSlideNext = s.allowSlideNext), n.includes("allowSlidePrev") && (e.allowSlidePrev = s.allowSlidePrev), n.includes("direction") && e.changeDirection(s.direction, !1), (b || I) && e.loopDestroy(), (C || I) && e.loopCreate(), e.update();
2859
+ }
2860
+ function mi(t, e) {
2861
+ t === void 0 && (t = {}), e === void 0 && (e = !0);
2862
+ const i = {
2863
+ on: {}
2864
+ }, s = {}, n = {};
2865
+ X(i, he), i._emitClasses = !0, i.init = !1;
2866
+ const r = {}, l = Ve.map((o) => o.replace(/_/, "")), a = Object.assign({}, t);
2867
+ return Object.keys(a).forEach((o) => {
2868
+ typeof t[o] > "u" || (l.indexOf(o) >= 0 ? Y(t[o]) ? (i[o] = {}, n[o] = {}, X(i[o], t[o]), X(n[o], t[o])) : (i[o] = t[o], n[o] = t[o]) : o.search(/on[A-Z]/) === 0 && typeof t[o] == "function" ? e ? s[`${o[2].toLowerCase()}${o.substr(3)}`] = t[o] : i.on[`${o[2].toLowerCase()}${o.substr(3)}`] = t[o] : r[o] = t[o]);
2869
+ }), ["navigation", "pagination", "scrollbar"].forEach((o) => {
2870
+ i[o] === !0 && (i[o] = {}), i[o] === !1 && delete i[o];
2871
+ }), {
2872
+ params: i,
2873
+ passedParams: n,
2874
+ rest: r,
2875
+ events: s
2876
+ };
2877
+ }
2878
+ function hi(t, e) {
2879
+ let {
2880
+ el: i,
2881
+ nextEl: s,
2882
+ prevEl: n,
2883
+ paginationEl: r,
2884
+ scrollbarEl: l,
2885
+ swiper: a
2886
+ } = t;
2887
+ Ne(e) && s && n && (a.params.navigation.nextEl = s, a.originalParams.navigation.nextEl = s, a.params.navigation.prevEl = n, a.originalParams.navigation.prevEl = n), Fe(e) && r && (a.params.pagination.el = r, a.originalParams.pagination.el = r), ke(e) && l && (a.params.scrollbar.el = l, a.originalParams.scrollbar.el = l), a.init(i);
2888
+ }
2889
+ function gi(t, e, i, s, n) {
2890
+ const r = [];
2891
+ if (!e)
2892
+ return r;
2893
+ const l = (o) => {
2894
+ r.indexOf(o) < 0 && r.push(o);
2895
+ };
2896
+ if (i && s) {
2897
+ const o = s.map(n), d = i.map(n);
2898
+ o.join("") !== d.join("") && l("children"), s.length !== i.length && l("children");
2899
+ }
2900
+ return Ve.filter((o) => o[0] === "_").map((o) => o.replace(/_/, "")).forEach((o) => {
2901
+ if (o in t && o in e)
2902
+ if (Y(t[o]) && Y(e[o])) {
2903
+ const d = Object.keys(t[o]), c = Object.keys(e[o]);
2904
+ d.length !== c.length ? l(o) : (d.forEach((u) => {
2905
+ t[o][u] !== e[o][u] && l(o);
2906
+ }), c.forEach((u) => {
2907
+ t[o][u] !== e[o][u] && l(o);
2908
+ }));
2909
+ } else
2910
+ t[o] !== e[o] && l(o);
2911
+ }), r;
2912
+ }
2913
+ const vi = (t) => {
2914
+ !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());
2915
+ };
2916
+ function ne() {
2917
+ return ne = Object.assign ? Object.assign.bind() : function(t) {
2918
+ for (var e = 1; e < arguments.length; e++) {
2919
+ var i = arguments[e];
2920
+ for (var s in i)
2921
+ Object.prototype.hasOwnProperty.call(i, s) && (t[s] = i[s]);
2922
+ }
2923
+ return t;
2924
+ }, ne.apply(this, arguments);
2925
+ }
2926
+ function $e(t) {
2927
+ return t.type && t.type.displayName && t.type.displayName.includes("SwiperSlide");
2928
+ }
2929
+ function He(t) {
2930
+ const e = [];
2931
+ return G.Children.toArray(t).forEach((i) => {
2932
+ $e(i) ? e.push(i) : i.props && i.props.children && He(i.props.children).forEach((s) => e.push(s));
2933
+ }), e;
2934
+ }
2935
+ function wi(t) {
2936
+ const e = [], i = {
2937
+ "container-start": [],
2938
+ "container-end": [],
2939
+ "wrapper-start": [],
2940
+ "wrapper-end": []
2941
+ };
2942
+ return G.Children.toArray(t).forEach((s) => {
2943
+ if ($e(s))
2944
+ e.push(s);
2945
+ else if (s.props && s.props.slot && i[s.props.slot])
2946
+ i[s.props.slot].push(s);
2947
+ else if (s.props && s.props.children) {
2948
+ const n = He(s.props.children);
2949
+ n.length > 0 ? n.forEach((r) => e.push(r)) : i["container-end"].push(s);
2950
+ } else
2951
+ i["container-end"].push(s);
2952
+ }), {
2953
+ slides: e,
2954
+ slots: i
2955
+ };
2956
+ }
2957
+ function Si(t, e, i) {
2958
+ if (!i)
2959
+ return null;
2960
+ const s = (c) => {
2961
+ let u = c;
2962
+ return c < 0 ? u = e.length + c : u >= e.length && (u = u - e.length), u;
2963
+ }, n = t.isHorizontal() ? {
2964
+ [t.rtlTranslate ? "right" : "left"]: `${i.offset}px`
2965
+ } : {
2966
+ top: `${i.offset}px`
2967
+ }, {
2968
+ from: r,
2969
+ to: l
2970
+ } = i, a = t.params.loop ? -e.length : 0, o = t.params.loop ? e.length * 2 : e.length, d = [];
2971
+ for (let c = a; c < o; c += 1)
2972
+ c >= r && c <= l && d.push(e[s(c)]);
2973
+ return d.map((c, u) => /* @__PURE__ */ G.cloneElement(c, {
2974
+ swiper: t,
2975
+ style: n,
2976
+ key: c.props.virtualIndex || c.key || `slide-${u}`
2977
+ }));
2978
+ }
2979
+ function K(t, e) {
2980
+ return typeof window > "u" ? pe(t, e) : je(t, e);
2981
+ }
2982
+ const Ce = /* @__PURE__ */ Ie(null), Ti = /* @__PURE__ */ Ie(null), bi = /* @__PURE__ */ Me(function(t, e) {
2983
+ let {
2984
+ className: i,
2985
+ tag: s = "div",
2986
+ wrapperTag: n = "div",
2987
+ children: r,
2988
+ onSwiper: l,
2989
+ ...a
2990
+ } = t === void 0 ? {} : t, o = !1;
2991
+ const [d, c] = U("swiper"), [u, m] = U(null), [h, f] = U(!1), g = k(!1), S = k(null), p = k(null), v = k(null), w = k(null), E = k(null), b = k(null), C = k(null), I = k(null), {
2992
+ params: x,
2993
+ passedParams: y,
2994
+ rest: T,
2995
+ events: P
2996
+ } = mi(a), {
2997
+ slides: L,
2998
+ slots: A
2999
+ } = wi(r), V = () => {
3000
+ f(!h);
3001
+ };
3002
+ Object.assign(x.on, {
3003
+ _containerClasses(z, _) {
3004
+ c(_);
3005
+ }
3006
+ });
3007
+ const N = () => {
3008
+ Object.assign(x.on, P), o = !0;
3009
+ const z = {
3010
+ ...x
3011
+ };
3012
+ if (delete z.wrapperClass, p.current = new ve(z), p.current.virtual && p.current.params.virtual.enabled) {
3013
+ p.current.virtual.slides = L;
3014
+ const _ = {
3015
+ cache: !1,
3016
+ slides: L,
3017
+ renderExternal: m,
3018
+ renderExternalUpdate: !1
3019
+ };
3020
+ X(p.current.params.virtual, _), X(p.current.originalParams.virtual, _);
3021
+ }
3022
+ };
3023
+ S.current || N(), p.current && p.current.on("_beforeBreakpoint", V);
3024
+ const O = () => {
3025
+ o || !P || !p.current || Object.keys(P).forEach((z) => {
3026
+ p.current.on(z, P[z]);
3027
+ });
3028
+ }, D = () => {
3029
+ !P || !p.current || Object.keys(P).forEach((z) => {
3030
+ p.current.off(z, P[z]);
3031
+ });
3032
+ };
3033
+ pe(() => () => {
3034
+ p.current && p.current.off("_beforeBreakpoint", V);
3035
+ }), pe(() => {
3036
+ !g.current && p.current && (p.current.emitSlidesClasses(), g.current = !0);
3037
+ }), K(() => {
3038
+ if (e && (e.current = S.current), !!S.current)
3039
+ return p.current.destroyed && N(), hi({
3040
+ el: S.current,
3041
+ nextEl: E.current,
3042
+ prevEl: b.current,
3043
+ paginationEl: C.current,
3044
+ scrollbarEl: I.current,
3045
+ swiper: p.current
3046
+ }, x), l && !p.current.destroyed && l(p.current), () => {
3047
+ p.current && !p.current.destroyed && p.current.destroy(!0, !1);
3048
+ };
3049
+ }, []), K(() => {
3050
+ O();
3051
+ const z = gi(y, v.current, L, w.current, (_) => _.key);
3052
+ return v.current = y, w.current = L, z.length && p.current && !p.current.destroyed && pi({
3053
+ swiper: p.current,
3054
+ slides: L,
3055
+ passedParams: y,
3056
+ changedParams: z,
3057
+ nextEl: E.current,
3058
+ prevEl: b.current,
3059
+ scrollbarEl: I.current,
3060
+ paginationEl: C.current
3061
+ }), () => {
3062
+ D();
3063
+ };
3064
+ }), K(() => {
3065
+ vi(p.current);
3066
+ }, [u]);
3067
+ function M() {
3068
+ return x.virtual ? Si(p.current, L, u) : L.map((z, _) => /* @__PURE__ */ G.cloneElement(z, {
3069
+ swiper: p.current,
3070
+ swiperSlideIndex: _
3071
+ }));
3072
+ }
3073
+ return /* @__PURE__ */ G.createElement(s, ne({
3074
+ ref: S,
3075
+ className: Re(`${d}${i ? ` ${i}` : ""}`)
3076
+ }, T), /* @__PURE__ */ G.createElement(Ti.Provider, {
3077
+ value: p.current
3078
+ }, A["container-start"], /* @__PURE__ */ G.createElement(n, {
3079
+ className: fi(x.wrapperClass)
3080
+ }, A["wrapper-start"], M(), A["wrapper-end"]), Ne(x) && /* @__PURE__ */ G.createElement(G.Fragment, null, /* @__PURE__ */ G.createElement("div", {
3081
+ ref: b,
3082
+ className: "swiper-button-prev"
3083
+ }), /* @__PURE__ */ G.createElement("div", {
3084
+ ref: E,
3085
+ className: "swiper-button-next"
3086
+ })), ke(x) && /* @__PURE__ */ G.createElement("div", {
3087
+ ref: I,
3088
+ className: "swiper-scrollbar"
3089
+ }), Fe(x) && /* @__PURE__ */ G.createElement("div", {
3090
+ ref: C,
3091
+ className: "swiper-pagination"
3092
+ }), A["container-end"]));
3093
+ });
3094
+ bi.displayName = "Swiper";
3095
+ const yi = /* @__PURE__ */ Me(function(t, e) {
3096
+ let {
3097
+ tag: i = "div",
3098
+ children: s,
3099
+ className: n = "",
3100
+ swiper: r,
3101
+ zoom: l,
3102
+ lazy: a,
3103
+ virtualIndex: o,
3104
+ swiperSlideIndex: d,
3105
+ ...c
3106
+ } = t === void 0 ? {} : t;
3107
+ const u = k(null), [m, h] = U("swiper-slide"), [f, g] = U(!1);
3108
+ function S(E, b, C) {
3109
+ b === u.current && h(C);
3110
+ }
3111
+ K(() => {
3112
+ if (typeof d < "u" && (u.current.swiperSlideIndex = d), e && (e.current = u.current), !(!u.current || !r)) {
3113
+ if (r.destroyed) {
3114
+ m !== "swiper-slide" && h("swiper-slide");
3115
+ return;
3116
+ }
3117
+ return r.on("_slideClass", S), () => {
3118
+ r && r.off("_slideClass", S);
3119
+ };
3120
+ }
3121
+ }), K(() => {
3122
+ r && u.current && !r.destroyed && h(r.getSlideClasses(u.current));
3123
+ }, [r]);
3124
+ const p = {
3125
+ isActive: m.indexOf("swiper-slide-active") >= 0,
3126
+ isVisible: m.indexOf("swiper-slide-visible") >= 0,
3127
+ isPrev: m.indexOf("swiper-slide-prev") >= 0,
3128
+ isNext: m.indexOf("swiper-slide-next") >= 0
3129
+ }, v = () => typeof s == "function" ? s(p) : s, w = () => {
3130
+ g(!0);
3131
+ };
3132
+ return /* @__PURE__ */ G.createElement(i, ne({
3133
+ ref: u,
3134
+ className: Re(`${m}${n ? ` ${n}` : ""}`),
3135
+ "data-swiper-slide-index": o,
3136
+ onLoad: w
3137
+ }, c), l && /* @__PURE__ */ G.createElement(Ce.Provider, {
3138
+ value: p
3139
+ }, /* @__PURE__ */ G.createElement("div", {
3140
+ className: "swiper-zoom-container",
3141
+ "data-swiper-zoom": typeof l == "number" ? l : void 0
3142
+ }, v(), a && !f && /* @__PURE__ */ G.createElement("div", {
3143
+ className: "swiper-lazy-preloader"
3144
+ }))), !l && /* @__PURE__ */ G.createElement(Ce.Provider, {
3145
+ value: p
3146
+ }, v(), a && !f && /* @__PURE__ */ G.createElement("div", {
3147
+ className: "swiper-lazy-preloader"
3148
+ })));
3149
+ });
3150
+ yi.displayName = "SwiperSlide";
3151
+ export {
3152
+ Ii as A,
3153
+ Pi as C,
3154
+ Mi as N,
3155
+ bi as S,
3156
+ yi as a,
3157
+ Ci as b
3158
+ };