@wikicasa-dev/components 1.2.14 → 1.2.16

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