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