@wikicasa-dev/components 2.0.3 → 2.0.5-0.alpha-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/dist/AccessibleSelect.js +1 -1
  2. package/dist/BaseAccordion.js +1 -1
  3. package/dist/BaseAccordionBtn.js +1 -1
  4. package/dist/BaseAccordionContent.js +1 -1
  5. package/dist/BaseAccordionItem.js +1 -1
  6. package/dist/BaseAlert.js +1 -1
  7. package/dist/BaseAutocomplete.js +1 -1
  8. package/dist/BaseBadge.js +1 -1
  9. package/dist/BaseBreadcrumb.js +1 -1
  10. package/dist/BaseButton.js +1 -1
  11. package/dist/BaseCard.js +16 -16
  12. package/dist/BaseComplexToggle.js +4 -4
  13. package/dist/BaseDropDown.js +1 -1
  14. package/dist/BaseFloatingLabel.js +21 -19
  15. package/dist/BaseIcon.js +4 -4
  16. package/dist/BaseInput.js +106 -100
  17. package/dist/BaseModal.js +1 -1
  18. package/dist/BasePagination.js +1 -1
  19. package/dist/BasePaper.js +2 -2
  20. package/dist/BaseShimmerLoader.js +2 -2
  21. package/dist/BaseSlider.js +173 -222
  22. package/dist/BaseSnackbar.js +3 -3
  23. package/dist/BaseTabList.js +1 -1
  24. package/dist/BaseTabPanel.js +1 -1
  25. package/dist/BaseTabView.js +1 -1
  26. package/dist/BaseTextarea.js +16 -15
  27. package/dist/BaseToggle.js +4 -4
  28. package/dist/BaseTooltip.js +3 -3
  29. package/dist/BaseUploadFile.js +1 -1
  30. package/dist/CheckboxBtn.js +10 -6
  31. package/dist/CheckboxGroup.js +1 -1
  32. package/dist/DoughnutChart.js +1 -1
  33. package/dist/IntersectionObservable.js +1 -1
  34. package/dist/IntersectionObserver.js +1 -1
  35. package/dist/LineChart.js +1 -1
  36. package/dist/RadioButton.js +1 -1
  37. package/dist/RadioGroup.js +1 -1
  38. package/dist/SelectItem.js +1 -1
  39. package/dist/ShimmerMultiLine.js +1 -1
  40. package/dist/SimpleSlider.js +83 -0
  41. package/dist/StaticSpinner.js +2 -2
  42. package/dist/SwiperCarousel.js +1 -1
  43. package/dist/SwiperSlide.js +2 -2
  44. package/dist/UIKit/AccessibleSelect.vue.d.ts +49 -103
  45. package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +9 -12
  46. package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +12 -17
  47. package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +10 -14
  48. package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +20 -33
  49. package/dist/UIKit/BaseAlert.vue.d.ts +8 -8
  50. package/dist/UIKit/BaseAutocomplete.vue.d.ts +39 -198
  51. package/dist/UIKit/BaseBadge.vue.d.ts +7 -7
  52. package/dist/UIKit/BaseBreadcrumb.vue.d.ts +8 -10
  53. package/dist/UIKit/BaseButton.vue.d.ts +17 -30
  54. package/dist/UIKit/BaseCard.vue.d.ts +14 -23
  55. package/dist/UIKit/BaseComplexToggle.vue.d.ts +7 -6
  56. package/dist/UIKit/BaseDropDown.vue.d.ts +40 -38
  57. package/dist/UIKit/BaseFloatingLabel.vue.d.ts +8 -13
  58. package/dist/UIKit/BaseIcon.vue.d.ts +3 -9
  59. package/dist/UIKit/BaseInput.vue.d.ts +20 -20
  60. package/dist/UIKit/BaseModal.vue.d.ts +35 -60
  61. package/dist/UIKit/BasePagination.vue.d.ts +7 -14
  62. package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +10 -12
  63. package/dist/UIKit/BaseSlider.vue.d.ts +20 -175
  64. package/dist/UIKit/BaseSnackbar.vue.d.ts +7 -14
  65. package/dist/UIKit/BaseTextarea.vue.d.ts +9 -10
  66. package/dist/UIKit/BaseToggle.vue.d.ts +6 -5
  67. package/dist/UIKit/BaseTooltip.vue.d.ts +13 -20
  68. package/dist/UIKit/BaseUploadFile.vue.d.ts +13 -19
  69. package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +18 -31
  70. package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +23 -43
  71. package/dist/UIKit/Radio/RadioButton.vue.d.ts +7 -11
  72. package/dist/UIKit/Radio/RadioGroup.vue.d.ts +8 -7
  73. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +6 -6
  74. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +54 -8
  75. package/dist/UIKit/Slider/SimpleSlider.vue.d.ts +19 -0
  76. package/dist/UIKit/StaticSpinner.vue.d.ts +3 -5
  77. package/dist/UIKit/Tab/BaseTab.vue.d.ts +8 -10
  78. package/dist/UIKit/Tab/BaseTabList.vue.d.ts +8 -9
  79. package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +9 -11
  80. package/dist/UIKit/Tab/BaseTabView.vue.d.ts +11 -8
  81. package/dist/UIKit/types.d.ts +4 -1
  82. package/dist/assets/BaseAlert.css +1 -1
  83. package/dist/assets/BaseBadge.css +1 -1
  84. package/dist/assets/BaseCard.css +1 -1
  85. package/dist/assets/BaseFloatingLabel.css +1 -1
  86. package/dist/assets/BaseInput.css +1 -1
  87. package/dist/assets/BaseSlider.css +1 -1
  88. package/dist/assets/BaseTextarea.css +1 -1
  89. package/dist/assets/BaseTooltip.css +1 -1
  90. package/dist/assets/CheckboxBtn.css +1 -1
  91. package/dist/assets/SimpleSlider.css +1 -0
  92. package/dist/assets/SwiperCarousel.css +1 -1
  93. package/dist/assets/index.css +1 -1
  94. package/dist/chart/DoughnutChart.vue.d.ts +3 -5
  95. package/dist/chart/LineChart.vue.d.ts +16 -6
  96. package/dist/chart/composables/useChartjsModules.d.ts +1 -1
  97. package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.aBS46udY.js +246 -0
  98. package/dist/chunks/{ArrowIcon.CCFMdsq6.js → ArrowIcon.Bq6Xr3uH.js} +1 -1
  99. package/dist/chunks/{BaseAccordion.vue_vue_type_script_setup_true_lang.R7qkuKlw.js → BaseAccordion.vue_vue_type_script_setup_true_lang.C34SZThb.js} +2 -2
  100. package/dist/chunks/{BaseAccordionBtn.vue_vue_type_script_setup_true_lang.DsDqk9iP.js → BaseAccordionBtn.vue_vue_type_script_setup_true_lang.APN3hif2.js} +4 -4
  101. package/dist/chunks/{BaseAccordionContent.vue_vue_type_script_setup_true_lang.C0aiiljz.js → BaseAccordionContent.vue_vue_type_script_setup_true_lang.Dn4qNu2R.js} +2 -2
  102. package/dist/chunks/{BaseAccordionItem.vue_vue_type_script_setup_true_lang.Caagpb9M.js → BaseAccordionItem.vue_vue_type_script_setup_true_lang.Dpjir3yq.js} +8 -8
  103. package/dist/chunks/{BaseAlert.vue_vue_type_style_index_0_lang.BtqP_iYL.js → BaseAlert.vue_vue_type_style_index_0_lang.DUWb9d9_.js} +2 -2
  104. package/dist/chunks/{BaseAutocomplete.vue_vue_type_script_setup_true_lang.CwGssIPe.js → BaseAutocomplete.vue_vue_type_script_setup_true_lang.C64T2OK4.js} +89 -84
  105. package/dist/chunks/{BaseBadge.vue_vue_type_style_index_0_lang.BOA1gBKu.js → BaseBadge.vue_vue_type_style_index_0_lang.D2PAy8_x.js} +2 -2
  106. package/dist/chunks/{BaseBreadcrumb.vue_vue_type_script_setup_true_lang.BH2c3gOe.js → BaseBreadcrumb.vue_vue_type_script_setup_true_lang.DlSPjwQe.js} +18 -18
  107. package/dist/chunks/{BaseButton.vue_vue_type_script_setup_true_lang.BWZPE2Gf.js → BaseButton.vue_vue_type_script_setup_true_lang.ChUdDzP1.js} +4 -4
  108. package/dist/chunks/{BaseDropDown.vue_vue_type_script_setup_true_lang.H0XcZCcL.js → BaseDropDown.vue_vue_type_script_setup_true_lang.DoEvtblv.js} +62 -48
  109. package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.Cy2ThBHM.js +151 -0
  110. package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.D_X7MS6X.js +164 -0
  111. package/dist/chunks/{BaseTabList.vue_vue_type_script_setup_true_lang.CpIiJy6I.js → BaseTabList.vue_vue_type_script_setup_true_lang.CHOGs5d-.js} +3 -3
  112. package/dist/chunks/{BaseTabPanel.vue_vue_type_script_setup_true_lang.DoZHWHt1.js → BaseTabPanel.vue_vue_type_script_setup_true_lang.CVJUssBq.js} +2 -2
  113. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.CUgJNst9.js +105 -0
  114. package/dist/chunks/{BaseUploadFile.vue_vue_type_script_setup_true_lang.2elmVcZt.js → BaseUploadFile.vue_vue_type_script_setup_true_lang.Cgu0FMFv.js} +1 -1
  115. package/dist/chunks/{CheckboxGroup.vue_vue_type_script_setup_true_lang.JlHKkjHJ.js → CheckboxGroup.vue_vue_type_script_setup_true_lang.CAO5UUO3.js} +37 -37
  116. package/dist/chunks/{CloseIcon.DIkr4soH.js → CloseIcon.BZ4U3aiI.js} +1 -1
  117. package/dist/chunks/{DoughnutChart.vue_vue_type_script_setup_true_lang.C4QPaUsI.js → DoughnutChart.vue_vue_type_script_setup_true_lang.B8wxbJBV.js} +3 -3
  118. package/dist/chunks/{IntersectionObservable.vue_vue_type_script_setup_true_lang.BBMxY-re.js → IntersectionObservable.vue_vue_type_script_setup_true_lang.DC17cx-h.js} +2 -2
  119. package/dist/chunks/{IntersectionObserver.vue_vue_type_script_setup_true_lang.CQHjzQc3.js → IntersectionObserver.vue_vue_type_script_setup_true_lang.BKewKDXG.js} +2 -2
  120. package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CXNsFiyD.js +42 -0
  121. package/dist/chunks/ObjectUtils.DwkJjVq1.js +10 -0
  122. package/dist/chunks/PharmacyIcon.DEQ8mOEJ.js +11 -0
  123. package/dist/chunks/{RadioButton.vue_vue_type_script_setup_true_lang.CiJAhkRj.js → RadioButton.vue_vue_type_script_setup_true_lang.DRQnjRA7.js} +2 -2
  124. package/dist/chunks/{RadioGroup.vue_vue_type_script_setup_true_lang.BalzO73O.js → RadioGroup.vue_vue_type_script_setup_true_lang.CpsMf2PN.js} +6 -6
  125. package/dist/chunks/{SelectItem.vue_vue_type_script_setup_true_lang.GPFf7fjA.js → SelectItem.vue_vue_type_script_setup_true_lang.Drq_K7Vx.js} +2 -2
  126. package/dist/chunks/{ShimmerMultiLine.vue_vue_type_script_setup_true_lang.DuLXZx8X.js → ShimmerMultiLine.vue_vue_type_script_setup_true_lang.CF7CkxXk.js} +3 -3
  127. package/dist/chunks/SwiperCarousel.ZIrIp4kV.js +744 -0
  128. package/dist/chunks/{index.D6IWh9UY.js → index.D3A-yNFt.js} +9 -7
  129. package/dist/chunks/polyline.DjpLdMaW.js +5256 -0
  130. package/dist/chunks/{types-B0dZ7OiV.D29wNgoj.js → useBreakpoints.BXk8Xcw3.js} +2854 -874
  131. package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +10 -9
  132. package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +5 -2
  133. package/dist/components/carousel/SwiperCarousel.vue.d.ts +9 -9
  134. package/dist/components/carousel/SwiperSlide.vue.d.ts +3 -2
  135. package/dist/index.d.ts +2 -1
  136. package/dist/index.js +35 -33
  137. package/dist/useChartjsModules.js +1 -1
  138. package/package.json +30 -28
  139. package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.YIp2u7gd.js +0 -231
  140. package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.CautEumd.js +0 -142
  141. package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.DxPb8OYe.js +0 -163
  142. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.DGeL_YSc.js +0 -95
  143. package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CNkvmtfq.js +0 -37
  144. package/dist/chunks/ObjectUtils.BOUbloeg.js +0 -10
  145. package/dist/chunks/PharmacyIcon.56ql_DYl.js +0 -19
  146. package/dist/chunks/SwiperCarousel.DWUl3bgn.js +0 -718
  147. package/dist/chunks/useKeyboardController.CutKeclN.js +0 -41
@@ -0,0 +1,744 @@
1
+ import { defineComponent as Le, reactive as Oe, ref as be, useId as ke, computed as H, onMounted as De, watch as Ie, createElementBlock as P, openBlock as L, normalizeClass as O, createElementVNode as F, createCommentVNode as ie, renderSlot as Se, Fragment as ue, renderList as Me, mergeProps as Xe, withModifiers as ce, nextTick as He } from "vue";
2
+ import { Swiper as Ye } from "swiper";
3
+ import "./polyline.DjpLdMaW.js";
4
+ import { l as Re } from "./ObjectUtils.DwkJjVq1.js";
5
+ import { _ as Ae } from "./_plugin-vue_export-helper.CHgC5LLL.js";
6
+ import '../assets/SwiperCarousel.css';function Ce(n) {
7
+ return n !== null && typeof n == "object" && "constructor" in n && n.constructor === Object;
8
+ }
9
+ function me(n, t) {
10
+ n === void 0 && (n = {}), t === void 0 && (t = {});
11
+ const d = ["__proto__", "constructor", "prototype"];
12
+ Object.keys(t).filter((o) => d.indexOf(o) < 0).forEach((o) => {
13
+ typeof n[o] > "u" ? n[o] = t[o] : Ce(t[o]) && Ce(n[o]) && Object.keys(t[o]).length > 0 && me(n[o], t[o]);
14
+ });
15
+ }
16
+ const We = {
17
+ body: {},
18
+ addEventListener() {
19
+ },
20
+ removeEventListener() {
21
+ },
22
+ activeElement: {
23
+ blur() {
24
+ },
25
+ nodeName: ""
26
+ },
27
+ querySelector() {
28
+ return null;
29
+ },
30
+ querySelectorAll() {
31
+ return [];
32
+ },
33
+ getElementById() {
34
+ return null;
35
+ },
36
+ createEvent() {
37
+ return {
38
+ initEvent() {
39
+ }
40
+ };
41
+ },
42
+ createElement() {
43
+ return {
44
+ children: [],
45
+ childNodes: [],
46
+ style: {},
47
+ setAttribute() {
48
+ },
49
+ getElementsByTagName() {
50
+ return [];
51
+ }
52
+ };
53
+ },
54
+ createElementNS() {
55
+ return {};
56
+ },
57
+ importNode() {
58
+ return null;
59
+ },
60
+ location: {
61
+ hash: "",
62
+ host: "",
63
+ hostname: "",
64
+ href: "",
65
+ origin: "",
66
+ pathname: "",
67
+ protocol: "",
68
+ search: ""
69
+ }
70
+ };
71
+ function Fe() {
72
+ const n = typeof document < "u" ? document : {};
73
+ return me(n, We), n;
74
+ }
75
+ const je = {
76
+ document: We,
77
+ navigator: {
78
+ userAgent: ""
79
+ },
80
+ location: {
81
+ hash: "",
82
+ host: "",
83
+ hostname: "",
84
+ href: "",
85
+ origin: "",
86
+ pathname: "",
87
+ protocol: "",
88
+ search: ""
89
+ },
90
+ history: {
91
+ replaceState() {
92
+ },
93
+ pushState() {
94
+ },
95
+ go() {
96
+ },
97
+ back() {
98
+ }
99
+ },
100
+ CustomEvent: function() {
101
+ return this;
102
+ },
103
+ addEventListener() {
104
+ },
105
+ removeEventListener() {
106
+ },
107
+ getComputedStyle() {
108
+ return {
109
+ getPropertyValue() {
110
+ return "";
111
+ }
112
+ };
113
+ },
114
+ Image() {
115
+ },
116
+ Date() {
117
+ },
118
+ screen: {},
119
+ setTimeout() {
120
+ },
121
+ clearTimeout() {
122
+ },
123
+ matchMedia() {
124
+ return {};
125
+ },
126
+ requestAnimationFrame(n) {
127
+ return typeof setTimeout > "u" ? (n(), null) : setTimeout(n, 0);
128
+ },
129
+ cancelAnimationFrame(n) {
130
+ typeof setTimeout > "u" || clearTimeout(n);
131
+ }
132
+ };
133
+ function V() {
134
+ const n = typeof window < "u" ? window : {};
135
+ return me(n, je), n;
136
+ }
137
+ function qe(n) {
138
+ return n === void 0 && (n = ""), n.trim().split(" ").filter((t) => !!t.trim());
139
+ }
140
+ function nt(n, t) {
141
+ return t === void 0 && (t = 0), setTimeout(n, t);
142
+ }
143
+ function st() {
144
+ return Date.now();
145
+ }
146
+ function Be(n) {
147
+ const t = V();
148
+ let d;
149
+ return t.getComputedStyle && (d = t.getComputedStyle(n, null)), !d && n.currentStyle && (d = n.currentStyle), d || (d = n.style), d;
150
+ }
151
+ function ze(n, t) {
152
+ t === void 0 && (t = "x");
153
+ const d = V();
154
+ let o, c, E;
155
+ const g = Be(n);
156
+ return d.WebKitCSSMatrix ? (c = g.transform || g.webkitTransform, c.split(",").length > 6 && (c = c.split(", ").map((w) => w.replace(",", ".")).join(", ")), E = new d.WebKitCSSMatrix(c === "none" ? "" : c)) : (E = g.MozTransform || g.OTransform || g.MsTransform || g.msTransform || g.transform || g.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), o = E.toString().split(",")), t === "x" && (d.WebKitCSSMatrix ? c = E.m41 : o.length === 16 ? c = parseFloat(o[12]) : c = parseFloat(o[4])), t === "y" && (d.WebKitCSSMatrix ? c = E.m42 : o.length === 16 ? c = parseFloat(o[13]) : c = parseFloat(o[5])), c || 0;
157
+ }
158
+ function rt(n) {
159
+ return typeof n == "object" && n !== null && n.constructor && Object.prototype.toString.call(n).slice(8, -1) === "Object";
160
+ }
161
+ function $e(n, t) {
162
+ t === void 0 && (t = "");
163
+ const d = V(), o = [...n.children];
164
+ return d.HTMLSlotElement && n instanceof HTMLSlotElement && o.push(...n.assignedElements()), t ? o.filter((c) => c.matches(t)) : o;
165
+ }
166
+ function at(n, t) {
167
+ t === void 0 && (t = []);
168
+ const d = document.createElement(n);
169
+ return d.classList.add(...Array.isArray(t) ? t : qe(t)), d;
170
+ }
171
+ function Te(n) {
172
+ const t = V(), d = Fe(), o = n.getBoundingClientRect(), c = d.body, E = n.clientTop || c.clientTop || 0, g = n.clientLeft || c.clientLeft || 0, w = n === t ? t.scrollY : n.scrollTop, M = n === t ? t.scrollX : n.scrollLeft;
173
+ return {
174
+ top: o.top + w - E,
175
+ left: o.left + M - g
176
+ };
177
+ }
178
+ function ot(n) {
179
+ let t = n, d;
180
+ if (t) {
181
+ for (d = 0; (t = t.previousSibling) !== null; )
182
+ t.nodeType === 1 && (d += 1);
183
+ return d;
184
+ }
185
+ }
186
+ function de(n, t) {
187
+ const d = [];
188
+ let o = n.parentElement;
189
+ for (; o; )
190
+ t ? o.matches(t) && d.push(o) : d.push(o), o = o.parentElement;
191
+ return d;
192
+ }
193
+ function lt(n, t) {
194
+ function d(o) {
195
+ o.target === n && (t.call(n, o), n.removeEventListener("transitionend", d));
196
+ }
197
+ t && n.addEventListener("transitionend", d);
198
+ }
199
+ function ut(n, t, d) {
200
+ const o = V();
201
+ return n[t === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(o.getComputedStyle(n, null).getPropertyValue(t === "width" ? "margin-right" : "margin-top")) + parseFloat(o.getComputedStyle(n, null).getPropertyValue(t === "width" ? "margin-left" : "margin-bottom"));
202
+ }
203
+ function ct(n) {
204
+ return (Array.isArray(n) ? n : [n]).filter((t) => !!t);
205
+ }
206
+ function Ve(n) {
207
+ let {
208
+ swiper: t,
209
+ extendParams: d,
210
+ on: o,
211
+ emit: c
212
+ } = n;
213
+ const E = V();
214
+ d({
215
+ zoom: {
216
+ enabled: !1,
217
+ limitToOriginalSize: !1,
218
+ maxRatio: 3,
219
+ minRatio: 1,
220
+ panOnMouseMove: !1,
221
+ toggle: !0,
222
+ containerClass: "swiper-zoom-container",
223
+ zoomedSlideClass: "swiper-slide-zoomed"
224
+ }
225
+ }), t.zoom = {
226
+ enabled: !1
227
+ };
228
+ let g = 1, w = !1, M = !1, $ = {
229
+ x: 0,
230
+ y: 0
231
+ };
232
+ const Z = -3;
233
+ let R, A;
234
+ const m = [], i = {
235
+ originX: 0,
236
+ originY: 0,
237
+ slideEl: void 0,
238
+ slideWidth: void 0,
239
+ slideHeight: void 0,
240
+ imageEl: void 0,
241
+ imageWrapEl: void 0,
242
+ maxRatio: 3
243
+ }, e = {
244
+ isTouched: void 0,
245
+ isMoved: void 0,
246
+ currentX: void 0,
247
+ currentY: void 0,
248
+ minX: void 0,
249
+ minY: void 0,
250
+ maxX: void 0,
251
+ maxY: void 0,
252
+ width: void 0,
253
+ height: void 0,
254
+ startX: void 0,
255
+ startY: void 0,
256
+ touchesStart: {},
257
+ touchesCurrent: {}
258
+ }, f = {
259
+ x: void 0,
260
+ y: void 0,
261
+ prevPositionX: void 0,
262
+ prevPositionY: void 0,
263
+ prevTime: void 0
264
+ };
265
+ let T = 1;
266
+ Object.defineProperty(t.zoom, "scale", {
267
+ get() {
268
+ return T;
269
+ },
270
+ set(s) {
271
+ if (T !== s) {
272
+ const a = i.imageEl, r = i.slideEl;
273
+ c("zoomChange", s, a, r);
274
+ }
275
+ T = s;
276
+ }
277
+ });
278
+ function J() {
279
+ if (m.length < 2) return 1;
280
+ const s = m[0].pageX, a = m[0].pageY, r = m[1].pageX, h = m[1].pageY;
281
+ return Math.sqrt((r - s) ** 2 + (h - a) ** 2);
282
+ }
283
+ function N() {
284
+ const s = t.params.zoom, a = i.imageWrapEl.getAttribute("data-swiper-zoom") || s.maxRatio;
285
+ if (s.limitToOriginalSize && i.imageEl && i.imageEl.naturalWidth) {
286
+ const r = i.imageEl.naturalWidth / i.imageEl.offsetWidth;
287
+ return Math.min(r, a);
288
+ }
289
+ return a;
290
+ }
291
+ function ne() {
292
+ if (m.length < 2) return {
293
+ x: null,
294
+ y: null
295
+ };
296
+ const s = i.imageEl.getBoundingClientRect();
297
+ return [(m[0].pageX + (m[1].pageX - m[0].pageX) / 2 - s.x - E.scrollX) / g, (m[0].pageY + (m[1].pageY - m[0].pageY) / 2 - s.y - E.scrollY) / g];
298
+ }
299
+ function l() {
300
+ return t.isElement ? "swiper-slide" : `.${t.params.slideClass}`;
301
+ }
302
+ function p(s) {
303
+ const a = l();
304
+ return !!(s.target.matches(a) || t.slides.filter((r) => r.contains(s.target)).length > 0);
305
+ }
306
+ function u(s) {
307
+ const a = `.${t.params.zoom.containerClass}`;
308
+ return !!(s.target.matches(a) || [...t.hostEl.querySelectorAll(a)].filter((r) => r.contains(s.target)).length > 0);
309
+ }
310
+ function v(s) {
311
+ if (s.pointerType === "mouse" && m.splice(0, m.length), !p(s)) return;
312
+ const a = t.params.zoom;
313
+ if (R = !1, A = !1, m.push(s), !(m.length < 2)) {
314
+ if (R = !0, i.scaleStart = J(), !i.slideEl) {
315
+ i.slideEl = s.target.closest(`.${t.params.slideClass}, swiper-slide`), i.slideEl || (i.slideEl = t.slides[t.activeIndex]);
316
+ let r = i.slideEl.querySelector(`.${a.containerClass}`);
317
+ if (r && (r = r.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]), i.imageEl = r, r ? i.imageWrapEl = de(i.imageEl, `.${a.containerClass}`)[0] : i.imageWrapEl = void 0, !i.imageWrapEl) {
318
+ i.imageEl = void 0;
319
+ return;
320
+ }
321
+ i.maxRatio = N();
322
+ }
323
+ if (i.imageEl) {
324
+ const [r, h] = ne();
325
+ i.originX = r, i.originY = h, i.imageEl.style.transitionDuration = "0ms";
326
+ }
327
+ w = !0;
328
+ }
329
+ }
330
+ function S(s) {
331
+ if (!p(s)) return;
332
+ const a = t.params.zoom, r = t.zoom, h = m.findIndex((y) => y.pointerId === s.pointerId);
333
+ h >= 0 && (m[h] = s), !(m.length < 2) && (A = !0, i.scaleMove = J(), i.imageEl && (r.scale = i.scaleMove / i.scaleStart * g, r.scale > i.maxRatio && (r.scale = i.maxRatio - 1 + (r.scale - i.maxRatio + 1) ** 0.5), r.scale < a.minRatio && (r.scale = a.minRatio + 1 - (a.minRatio - r.scale + 1) ** 0.5), i.imageEl.style.transform = `translate3d(0,0,0) scale(${r.scale})`));
334
+ }
335
+ function Q(s) {
336
+ if (!p(s) || s.pointerType === "mouse" && s.type === "pointerout") return;
337
+ const a = t.params.zoom, r = t.zoom, h = m.findIndex((y) => y.pointerId === s.pointerId);
338
+ h >= 0 && m.splice(h, 1), !(!R || !A) && (R = !1, A = !1, i.imageEl && (r.scale = Math.max(Math.min(r.scale, i.maxRatio), a.minRatio), i.imageEl.style.transitionDuration = `${t.params.speed}ms`, i.imageEl.style.transform = `translate3d(0,0,0) scale(${r.scale})`, g = r.scale, w = !1, r.scale > 1 && i.slideEl ? i.slideEl.classList.add(`${a.zoomedSlideClass}`) : r.scale <= 1 && i.slideEl && i.slideEl.classList.remove(`${a.zoomedSlideClass}`), r.scale === 1 && (i.originX = 0, i.originY = 0, i.slideEl = void 0)));
339
+ }
340
+ let U;
341
+ function b() {
342
+ t.touchEventsData.preventTouchMoveFromPointerMove = !1;
343
+ }
344
+ function C() {
345
+ clearTimeout(U), t.touchEventsData.preventTouchMoveFromPointerMove = !0, U = setTimeout(() => {
346
+ t.destroyed || b();
347
+ });
348
+ }
349
+ function z(s) {
350
+ const a = t.device;
351
+ if (!i.imageEl || e.isTouched) return;
352
+ a.android && s.cancelable && s.preventDefault(), e.isTouched = !0;
353
+ const r = m.length > 0 ? m[0] : s;
354
+ e.touchesStart.x = r.pageX, e.touchesStart.y = r.pageY;
355
+ }
356
+ function X(s) {
357
+ const r = s.pointerType === "mouse" && t.params.zoom.panOnMouseMove;
358
+ if (!p(s) || !u(s))
359
+ return;
360
+ const h = t.zoom;
361
+ if (!i.imageEl)
362
+ return;
363
+ if (!e.isTouched || !i.slideEl) {
364
+ r && pe(s);
365
+ return;
366
+ }
367
+ if (r) {
368
+ pe(s);
369
+ return;
370
+ }
371
+ e.isMoved || (e.width = i.imageEl.offsetWidth || i.imageEl.clientWidth, e.height = i.imageEl.offsetHeight || i.imageEl.clientHeight, e.startX = ze(i.imageWrapEl, "x") || 0, e.startY = ze(i.imageWrapEl, "y") || 0, i.slideWidth = i.slideEl.offsetWidth, i.slideHeight = i.slideEl.offsetHeight, i.imageWrapEl.style.transitionDuration = "0ms");
372
+ const y = e.width * h.scale, k = e.height * h.scale;
373
+ if (e.minX = Math.min(i.slideWidth / 2 - y / 2, 0), e.maxX = -e.minX, e.minY = Math.min(i.slideHeight / 2 - k / 2, 0), e.maxY = -e.minY, e.touchesCurrent.x = m.length > 0 ? m[0].pageX : s.pageX, e.touchesCurrent.y = m.length > 0 ? m[0].pageY : s.pageY, Math.max(Math.abs(e.touchesCurrent.x - e.touchesStart.x), Math.abs(e.touchesCurrent.y - e.touchesStart.y)) > 5 && (t.allowClick = !1), !e.isMoved && !w) {
374
+ if (t.isHorizontal() && (Math.floor(e.minX) === Math.floor(e.startX) && e.touchesCurrent.x < e.touchesStart.x || Math.floor(e.maxX) === Math.floor(e.startX) && e.touchesCurrent.x > e.touchesStart.x)) {
375
+ e.isTouched = !1, b();
376
+ return;
377
+ }
378
+ if (!t.isHorizontal() && (Math.floor(e.minY) === Math.floor(e.startY) && e.touchesCurrent.y < e.touchesStart.y || Math.floor(e.maxY) === Math.floor(e.startY) && e.touchesCurrent.y > e.touchesStart.y)) {
379
+ e.isTouched = !1, b();
380
+ return;
381
+ }
382
+ }
383
+ s.cancelable && s.preventDefault(), s.stopPropagation(), C(), e.isMoved = !0;
384
+ const W = (h.scale - g) / (i.maxRatio - t.params.zoom.minRatio), {
385
+ originX: I,
386
+ originY: x
387
+ } = i;
388
+ e.currentX = e.touchesCurrent.x - e.touchesStart.x + e.startX + W * (e.width - I * 2), e.currentY = e.touchesCurrent.y - e.touchesStart.y + e.startY + W * (e.height - x * 2), e.currentX < e.minX && (e.currentX = e.minX + 1 - (e.minX - e.currentX + 1) ** 0.8), e.currentX > e.maxX && (e.currentX = e.maxX - 1 + (e.currentX - e.maxX + 1) ** 0.8), e.currentY < e.minY && (e.currentY = e.minY + 1 - (e.minY - e.currentY + 1) ** 0.8), e.currentY > e.maxY && (e.currentY = e.maxY - 1 + (e.currentY - e.maxY + 1) ** 0.8), f.prevPositionX || (f.prevPositionX = e.touchesCurrent.x), f.prevPositionY || (f.prevPositionY = e.touchesCurrent.y), f.prevTime || (f.prevTime = Date.now()), f.x = (e.touchesCurrent.x - f.prevPositionX) / (Date.now() - f.prevTime) / 2, f.y = (e.touchesCurrent.y - f.prevPositionY) / (Date.now() - f.prevTime) / 2, Math.abs(e.touchesCurrent.x - f.prevPositionX) < 2 && (f.x = 0), Math.abs(e.touchesCurrent.y - f.prevPositionY) < 2 && (f.y = 0), f.prevPositionX = e.touchesCurrent.x, f.prevPositionY = e.touchesCurrent.y, f.prevTime = Date.now(), i.imageWrapEl.style.transform = `translate3d(${e.currentX}px, ${e.currentY}px,0)`;
389
+ }
390
+ function Pe() {
391
+ const s = t.zoom;
392
+ if (m.length = 0, !i.imageEl) return;
393
+ if (!e.isTouched || !e.isMoved) {
394
+ e.isTouched = !1, e.isMoved = !1;
395
+ return;
396
+ }
397
+ e.isTouched = !1, e.isMoved = !1;
398
+ let a = 300, r = 300;
399
+ const h = f.x * a, y = e.currentX + h, k = f.y * r, D = e.currentY + k;
400
+ f.x !== 0 && (a = Math.abs((y - e.currentX) / f.x)), f.y !== 0 && (r = Math.abs((D - e.currentY) / f.y));
401
+ const W = Math.max(a, r);
402
+ e.currentX = y, e.currentY = D;
403
+ const I = e.width * s.scale, x = e.height * s.scale;
404
+ e.minX = Math.min(i.slideWidth / 2 - I / 2, 0), e.maxX = -e.minX, e.minY = Math.min(i.slideHeight / 2 - x / 2, 0), e.maxY = -e.minY, e.currentX = Math.max(Math.min(e.currentX, e.maxX), e.minX), e.currentY = Math.max(Math.min(e.currentY, e.maxY), e.minY), i.imageWrapEl.style.transitionDuration = `${W}ms`, i.imageWrapEl.style.transform = `translate3d(${e.currentX}px, ${e.currentY}px,0)`;
405
+ }
406
+ function fe() {
407
+ const s = t.zoom;
408
+ i.slideEl && t.activeIndex !== t.slides.indexOf(i.slideEl) && (i.imageEl && (i.imageEl.style.transform = "translate3d(0,0,0) scale(1)"), i.imageWrapEl && (i.imageWrapEl.style.transform = "translate3d(0,0,0)"), i.slideEl.classList.remove(`${t.params.zoom.zoomedSlideClass}`), s.scale = 1, g = 1, i.slideEl = void 0, i.imageEl = void 0, i.imageWrapEl = void 0, i.originX = 0, i.originY = 0);
409
+ }
410
+ function pe(s) {
411
+ if (g <= 1 || !i.imageWrapEl || !p(s) || !u(s)) return;
412
+ const a = E.getComputedStyle(i.imageWrapEl).transform, r = new E.DOMMatrix(a);
413
+ if (!M) {
414
+ M = !0, $.x = s.clientX, $.y = s.clientY, e.startX = r.e, e.startY = r.f, e.width = i.imageEl.offsetWidth || i.imageEl.clientWidth, e.height = i.imageEl.offsetHeight || i.imageEl.clientHeight, i.slideWidth = i.slideEl.offsetWidth, i.slideHeight = i.slideEl.offsetHeight;
415
+ return;
416
+ }
417
+ const h = (s.clientX - $.x) * Z, y = (s.clientY - $.y) * Z, k = e.width * g, D = e.height * g, W = i.slideWidth, I = i.slideHeight, x = Math.min(W / 2 - k / 2, 0), Y = -x, G = Math.min(I / 2 - D / 2, 0), _ = -G, j = Math.max(Math.min(e.startX + h, Y), x), q = Math.max(Math.min(e.startY + y, _), G);
418
+ i.imageWrapEl.style.transitionDuration = "0ms", i.imageWrapEl.style.transform = `translate3d(${j}px, ${q}px, 0)`, $.x = s.clientX, $.y = s.clientY, e.startX = j, e.startY = q, e.currentX = j, e.currentY = q;
419
+ }
420
+ function ge(s) {
421
+ const a = t.zoom, r = t.params.zoom;
422
+ if (!i.slideEl) {
423
+ s && s.target && (i.slideEl = s.target.closest(`.${t.params.slideClass}, swiper-slide`)), i.slideEl || (t.params.virtual && t.params.virtual.enabled && t.virtual ? i.slideEl = $e(t.slidesEl, `.${t.params.slideActiveClass}`)[0] : i.slideEl = t.slides[t.activeIndex]);
424
+ let K = i.slideEl.querySelector(`.${r.containerClass}`);
425
+ K && (K = K.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]), i.imageEl = K, K ? i.imageWrapEl = de(i.imageEl, `.${r.containerClass}`)[0] : i.imageWrapEl = void 0;
426
+ }
427
+ if (!i.imageEl || !i.imageWrapEl) return;
428
+ t.params.cssMode && (t.wrapperEl.style.overflow = "hidden", t.wrapperEl.style.touchAction = "none"), i.slideEl.classList.add(`${r.zoomedSlideClass}`);
429
+ let h, y, k, D, W, I, x, Y, G, _, j, q, ee, te, se, re, ae, oe;
430
+ typeof e.touchesStart.x > "u" && s ? (h = s.pageX, y = s.pageY) : (h = e.touchesStart.x, y = e.touchesStart.y);
431
+ const le = g, B = typeof s == "number" ? s : null;
432
+ g === 1 && B && (h = void 0, y = void 0, e.touchesStart.x = void 0, e.touchesStart.y = void 0);
433
+ const xe = N();
434
+ a.scale = B || xe, g = B || xe, s && !(g === 1 && B) ? (ae = i.slideEl.offsetWidth, oe = i.slideEl.offsetHeight, k = Te(i.slideEl).left + E.scrollX, D = Te(i.slideEl).top + E.scrollY, W = k + ae / 2 - h, I = D + oe / 2 - y, G = i.imageEl.offsetWidth || i.imageEl.clientWidth, _ = i.imageEl.offsetHeight || i.imageEl.clientHeight, j = G * a.scale, q = _ * a.scale, ee = Math.min(ae / 2 - j / 2, 0), te = Math.min(oe / 2 - q / 2, 0), se = -ee, re = -te, le > 0 && B && typeof e.currentX == "number" && typeof e.currentY == "number" ? (x = e.currentX * a.scale / le, Y = e.currentY * a.scale / le) : (x = W * a.scale, Y = I * a.scale), x < ee && (x = ee), x > se && (x = se), Y < te && (Y = te), Y > re && (Y = re)) : (x = 0, Y = 0), B && a.scale === 1 && (i.originX = 0, i.originY = 0), e.currentX = x, e.currentY = Y, i.imageWrapEl.style.transitionDuration = "300ms", i.imageWrapEl.style.transform = `translate3d(${x}px, ${Y}px,0)`, i.imageEl.style.transitionDuration = "300ms", i.imageEl.style.transform = `translate3d(0,0,0) scale(${a.scale})`;
435
+ }
436
+ function he() {
437
+ const s = t.zoom, a = t.params.zoom;
438
+ if (!i.slideEl) {
439
+ t.params.virtual && t.params.virtual.enabled && t.virtual ? i.slideEl = $e(t.slidesEl, `.${t.params.slideActiveClass}`)[0] : i.slideEl = t.slides[t.activeIndex];
440
+ let r = i.slideEl.querySelector(`.${a.containerClass}`);
441
+ r && (r = r.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]), i.imageEl = r, r ? i.imageWrapEl = de(i.imageEl, `.${a.containerClass}`)[0] : i.imageWrapEl = void 0;
442
+ }
443
+ !i.imageEl || !i.imageWrapEl || (t.params.cssMode && (t.wrapperEl.style.overflow = "", t.wrapperEl.style.touchAction = ""), s.scale = 1, g = 1, e.currentX = void 0, e.currentY = void 0, e.touchesStart.x = void 0, e.touchesStart.y = void 0, i.imageWrapEl.style.transitionDuration = "300ms", i.imageWrapEl.style.transform = "translate3d(0,0,0)", i.imageEl.style.transitionDuration = "300ms", i.imageEl.style.transform = "translate3d(0,0,0) scale(1)", i.slideEl.classList.remove(`${a.zoomedSlideClass}`), i.slideEl = void 0, i.originX = 0, i.originY = 0, t.params.zoom.panOnMouseMove && ($ = {
444
+ x: 0,
445
+ y: 0
446
+ }, M && (M = !1, e.startX = 0, e.startY = 0)));
447
+ }
448
+ function ve(s) {
449
+ const a = t.zoom;
450
+ a.scale && a.scale !== 1 ? he() : ge(s);
451
+ }
452
+ function Ee() {
453
+ const s = t.params.passiveListeners ? {
454
+ passive: !0,
455
+ capture: !1
456
+ } : !1, a = t.params.passiveListeners ? {
457
+ passive: !1,
458
+ capture: !0
459
+ } : !0;
460
+ return {
461
+ passiveListener: s,
462
+ activeListenerWithCapture: a
463
+ };
464
+ }
465
+ function we() {
466
+ const s = t.zoom;
467
+ if (s.enabled) return;
468
+ s.enabled = !0;
469
+ const {
470
+ passiveListener: a,
471
+ activeListenerWithCapture: r
472
+ } = Ee();
473
+ t.wrapperEl.addEventListener("pointerdown", v, a), t.wrapperEl.addEventListener("pointermove", S, r), ["pointerup", "pointercancel", "pointerout"].forEach((h) => {
474
+ t.wrapperEl.addEventListener(h, Q, a);
475
+ }), t.wrapperEl.addEventListener("pointermove", X, r);
476
+ }
477
+ function ye() {
478
+ const s = t.zoom;
479
+ if (!s.enabled) return;
480
+ s.enabled = !1;
481
+ const {
482
+ passiveListener: a,
483
+ activeListenerWithCapture: r
484
+ } = Ee();
485
+ t.wrapperEl.removeEventListener("pointerdown", v, a), t.wrapperEl.removeEventListener("pointermove", S, r), ["pointerup", "pointercancel", "pointerout"].forEach((h) => {
486
+ t.wrapperEl.removeEventListener(h, Q, a);
487
+ }), t.wrapperEl.removeEventListener("pointermove", X, r);
488
+ }
489
+ o("init", () => {
490
+ t.params.zoom.enabled && we();
491
+ }), o("destroy", () => {
492
+ ye();
493
+ }), o("touchStart", (s, a) => {
494
+ t.zoom.enabled && z(a);
495
+ }), o("touchEnd", (s, a) => {
496
+ t.zoom.enabled && Pe();
497
+ }), o("doubleTap", (s, a) => {
498
+ !t.animating && t.params.zoom.enabled && t.zoom.enabled && t.params.zoom.toggle && ve(a);
499
+ }), o("transitionEnd", () => {
500
+ t.zoom.enabled && t.params.zoom.enabled && fe();
501
+ }), o("slideChange", () => {
502
+ t.zoom.enabled && t.params.zoom.enabled && t.params.cssMode && fe();
503
+ }), Object.assign(t.zoom, {
504
+ enable: we,
505
+ disable: ye,
506
+ in: ge,
507
+ out: he,
508
+ toggle: ve
509
+ });
510
+ }
511
+ const Ne = ["id"], Ge = ["id", "data-cy"], Ke = ["data-idx", "loading", "alt", "width", "height", "onLoad"], Ze = ["id"], Je = ["loading", "alt"], Qe = /* @__PURE__ */ Le({
512
+ inheritAttrs: !1,
513
+ __name: "SwiperCarousel",
514
+ props: {
515
+ id: {},
516
+ swiperOptions: {},
517
+ thumbSwiperOptions: {},
518
+ lazyLoadImages: { type: Boolean, default: !0 },
519
+ backgroundImage: { type: Boolean, default: !1 },
520
+ images: {},
521
+ artDirection: {},
522
+ shiftFirstImage: { type: Boolean, default: !1 }
523
+ },
524
+ emits: ["moved", "click", "firstSlideLoaded"],
525
+ setup(n, { expose: t, emit: d }) {
526
+ const o = d, c = Oe({
527
+ swiperParams: { modules: [Ve] },
528
+ swiper: null,
529
+ initCarousel: !1
530
+ }), E = be(), g = ke(), w = H(() => n.id ?? g), M = H(() => n.swiperOptions?.slidesPerView || 1), $ = H(() => n.thumbSwiperOptions?.slidesPerView || 1), Z = H(() => !!n.swiperOptions?.keyboard), R = H(() => !!n.swiperOptions.navigation), A = H(() => !!n.swiperOptions.pagination), m = H(() => !!n.swiperOptions.autoplay), i = H(
531
+ () => n.swiperOptions?.effect || "slider"
532
+ ), e = () => {
533
+ n.swiperOptions && Re(n.swiperOptions, c.swiperParams);
534
+ }, f = (l, p = -1) => {
535
+ if (!l.images)
536
+ return { src: l.src || "" };
537
+ let u = "", v = "", S = "";
538
+ if (n.artDirection) {
539
+ for (const b in n.artDirection) {
540
+ const { mq: C, width: z } = n.artDirection[b];
541
+ z && (S += S ? `,${C} ${parseInt(z)}px` : `${C} ${parseInt(z)}px`);
542
+ }
543
+ v = l.images.reduce((b, C, z) => {
544
+ const X = Object.values(n.artDirection)[z];
545
+ return !X || !X.width || (b += b ? `, ${C.storagePath} ${X.width}` : `${C.storagePath} ${X.width}`), b;
546
+ }, ""), u = l.images[0].storagePath;
547
+ } else {
548
+ let b = l.images;
549
+ l.images.length > 3 ? b = l.images.slice(2, 5) : n.shiftFirstImage && (b[0] = b[1]), v = b.reduce((C, z, X) => (X === 0 && (u = `${z.storagePath}`), X > 0 && (C += ", "), `${C}${z.storagePath} ${X + 1}x`), "");
550
+ }
551
+ const Q = u, U = v;
552
+ return typeof M.value == "number" && p > M.value ? (u = "", v = "", { sizes: S, "data-src": Q, "data-srcset": U }) : { src: u, srcset: v, sizes: S };
553
+ }, T = [], J = (l) => {
554
+ if (typeof M.value == "string") return;
555
+ const p = T[l];
556
+ if (p && !p.src && (p.src = p.dataset.src || "", p.srcset = p.dataset.srcset || ""), l < M.value || l + 1 >= (n.images ?? []).length)
557
+ return;
558
+ const u = T[l + 1];
559
+ u && !u.src && (u.src = u?.dataset.src || "", u.srcset = u?.dataset.srcset || "");
560
+ };
561
+ t({
562
+ moveTo(l, p = 0, u = !0) {
563
+ c.swiper?.slideTo(l, p, u);
564
+ }
565
+ });
566
+ const N = be(null), ne = (l) => {
567
+ l === 0 && T && T[l] && He(() => {
568
+ N.value?.setAttribute("data-first-slide-loaded", "true"), o("firstSlideLoaded");
569
+ });
570
+ };
571
+ return De(async () => {
572
+ if (e(), Z.value) {
573
+ const { Keyboard: u } = await import("./index.D3A-yNFt.js");
574
+ c.swiperParams.modules?.push(u), c.swiperParams.keyboard = n.swiperOptions.keyboard;
575
+ }
576
+ if (A.value) {
577
+ const { Pagination: u } = await import("./index.D3A-yNFt.js");
578
+ c.swiperParams.modules?.push(u), c.swiperParams.pagination = {
579
+ el: ".swiper-pagination",
580
+ renderFraction: (v, S) => `<div class="uikit-rounded-xs uikit-border-w-black uikit-border uikit-border-solid uikit-px-3 uikit-bg-white uikit-pt-[3px] uikit-pb-[3px]">
581
+ <span data-cy="swiper-pagination-current" class="${v}"></span>
582
+ /
583
+ <span data-cy="swiper-pagination-total" class="${S}"></span>
584
+ </div>`,
585
+ ...typeof c.swiperParams.pagination == "boolean" ? {} : c.swiperParams.pagination
586
+ };
587
+ }
588
+ if (R.value) {
589
+ const { Navigation: u } = await import("./index.D3A-yNFt.js");
590
+ c.swiperParams.modules?.push(u);
591
+ const v = {
592
+ ...n.swiperOptions.navigation.nextEl ?? {
593
+ nextEl: ".swiper-button-next"
594
+ },
595
+ ...n.swiperOptions.navigation.prevEl ?? {
596
+ prevEl: ".swiper-button-prev"
597
+ }
598
+ };
599
+ c.swiperParams.navigation = {
600
+ ...typeof n.swiperOptions.navigation == "object" ? n.swiperOptions.navigation : {},
601
+ ...v
602
+ };
603
+ }
604
+ if (m.value) {
605
+ const { Autoplay: u } = await import("./index.D3A-yNFt.js");
606
+ c.swiperParams.modules?.push(u), c.swiperParams.autoplay = n.swiperOptions.autoplay;
607
+ }
608
+ const l = {
609
+ ...c.swiperParams,
610
+ on: {
611
+ slideChange: (u) => {
612
+ J(u.activeIndex), o("moved", { activeIndex: u.activeIndex });
613
+ }
614
+ }
615
+ };
616
+ let p = null;
617
+ if (n.thumbSwiperOptions) {
618
+ const { Thumbs: u, FreeMode: v, Controller: S } = await import("./index.D3A-yNFt.js");
619
+ c.swiperParams.modules?.push(u), c.swiperParams.modules?.push(S), p = new Ye(`#thumb_${w.value}`, {
620
+ ...n.thumbSwiperOptions,
621
+ modules: [v]
622
+ }), l.thumbs = {
623
+ swiper: p
624
+ };
625
+ }
626
+ l.lazyPreloadPrevNext = 1, c.swiper = new Ye(`#${w.value}`, l), E.value?.classList.remove("uikit-hidden");
627
+ }), Ie(
628
+ () => n.images,
629
+ () => {
630
+ c.swiper?.update();
631
+ }
632
+ ), (l, p) => (L(), P("div", {
633
+ id: `root-${w.value}`,
634
+ ref_key: "root",
635
+ ref: N,
636
+ class: O(["swiper-carousel-root", l.$attrs["root-classes"]])
637
+ }, [
638
+ F("div", {
639
+ id: w.value,
640
+ "data-cy": l.$attrs["data-cy"],
641
+ class: O(["swiper", l.$attrs["swiper-classes"]])
642
+ }, [
643
+ F("div", {
644
+ ref_key: "swiperWrapper",
645
+ ref: E,
646
+ class: O(["swiper-wrapper", [
647
+ l.$attrs["swiper-wrapper-classes"],
648
+ i.value === "none" && "no-transition"
649
+ ]]),
650
+ onClick: p[0] || (p[0] = (u) => o("click"))
651
+ }, [
652
+ Se(l.$slots, "default", {}, () => [
653
+ (L(!0), P(ue, null, Me(l.images, (u, v) => (L(), P("div", {
654
+ key: `swiper_${w.value}_${v}`,
655
+ class: O(["swiper-slide", l.$attrs["swiper-slide-classes"]])
656
+ }, [
657
+ F("div", {
658
+ class: O(["swiper-zoom-container", l.$attrs["swiper-zoom-container-classes"]])
659
+ }, [
660
+ l.backgroundImage ? ie("", !0) : (L(), P("img", Xe({
661
+ key: 0,
662
+ ref_for: !0,
663
+ ref: (S) => {
664
+ T.push(S);
665
+ },
666
+ class: ["disable-select", [l.$attrs["slide-img-classes"] || u.classes]],
667
+ "data-idx": `${w.value}-slide-img-${v}`
668
+ }, f(u, v), {
669
+ loading: l.lazyLoadImages || v >= M.value ? "lazy" : void 0,
670
+ alt: u.alt,
671
+ itemprop: "image",
672
+ width: u.width,
673
+ height: u.height,
674
+ onLoad: (S) => ne(v)
675
+ }), null, 16, Ke))
676
+ ], 2)
677
+ ], 2))), 128)),
678
+ Se(l.$slots, "last_slide", {}, void 0, !0)
679
+ ], !0)
680
+ ], 2),
681
+ A.value ? (L(), P("div", {
682
+ key: 0,
683
+ class: O([l.$attrs["swiper-pagination-classes"], "swiper-pagination [&.swiper-pagination-fraction]:uikit-flex [&.swiper-pagination-fraction]:uikit-justify-center"]),
684
+ onClick: p[1] || (p[1] = ce(() => {
685
+ }, ["stop"]))
686
+ }, null, 2)) : ie("", !0),
687
+ R.value ? (L(), P(ue, { key: 1 }, [
688
+ F("div", {
689
+ class: "swiper-button-prev",
690
+ "data-cy": "swiper-button-prev",
691
+ onClick: p[2] || (p[2] = ce(() => {
692
+ }, ["stop"]))
693
+ }),
694
+ F("div", {
695
+ class: "swiper-button-next",
696
+ "data-cy": "swiper-button-next",
697
+ onClick: p[3] || (p[3] = ce(() => {
698
+ }, ["stop"]))
699
+ })
700
+ ], 64)) : ie("", !0)
701
+ ], 10, Ge),
702
+ l.thumbSwiperOptions ? (L(), P("div", {
703
+ key: 0,
704
+ id: `thumb_${w.value}`,
705
+ thumbsSlider: "",
706
+ class: O(["swiper", l.$attrs["thumb-swiper-classes"]])
707
+ }, [
708
+ F("div", {
709
+ class: O(["swiper-wrapper", l.$attrs["thumb-swiper-wrapper-classes"]])
710
+ }, [
711
+ (L(!0), P(ue, null, Me(l.images, (u, v) => (L(), P("div", {
712
+ key: `thumb_${w.value}_${v}`,
713
+ class: O(["swiper-slide", l.$attrs["thumb-img-wrapper-classes"]])
714
+ }, [
715
+ F("img", Xe({
716
+ class: l.$attrs["thumb-img-classes"],
717
+ ref_for: !0
718
+ }, f(u), {
719
+ loading: v >= $.value ? "lazy" : void 0,
720
+ alt: u.alt
721
+ }), null, 16, Je)
722
+ ], 2))), 128))
723
+ ], 2)
724
+ ], 10, Ze)) : ie("", !0)
725
+ ], 10, Ne));
726
+ }
727
+ }), dt = /* @__PURE__ */ Ae(Qe, [["__scopeId", "data-v-d7c90b8a"]]);
728
+ export {
729
+ dt as S,
730
+ Ve as Z,
731
+ V as a,
732
+ Te as b,
733
+ $e as c,
734
+ at as d,
735
+ de as e,
736
+ ut as f,
737
+ Fe as g,
738
+ ot as h,
739
+ lt as i,
740
+ rt as j,
741
+ st as k,
742
+ ct as m,
743
+ nt as n
744
+ };