@wikicasa-dev/components 2.0.52 → 2.0.54-alpha.1

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