@orangesk/orange-design-system 2.0.0-beta.2 → 2.0.0-beta.21

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 (784) hide show
  1. package/README.md +346 -19
  2. package/build/components/Accordion/style.css +2 -0
  3. package/build/components/Accordion/style.css.map +1 -0
  4. package/build/components/Alert/style.css +2 -0
  5. package/build/components/Alert/style.css.map +1 -0
  6. package/build/components/AnchorNavigation/style.css +1 -1
  7. package/build/components/AnchorNavigation/style.css.map +1 -1
  8. package/build/components/Bar/style.css +2 -0
  9. package/build/components/Bar/style.css.map +1 -0
  10. package/build/components/BlockAction/style.css +2 -0
  11. package/build/components/BlockAction/style.css.map +1 -0
  12. package/build/components/BodyBanner/style.css +1 -1
  13. package/build/components/BodyBanner/style.css.map +1 -1
  14. package/build/components/Breadcrumbs/style.css +2 -0
  15. package/build/components/Breadcrumbs/style.css.map +1 -0
  16. package/build/components/Button/style.css +2 -0
  17. package/build/components/Button/style.css.map +1 -0
  18. package/build/components/Buttons/style.css +2 -0
  19. package/build/components/Buttons/style.css.map +1 -0
  20. package/build/components/Card/style.css +2 -0
  21. package/build/components/Card/style.css.map +1 -0
  22. package/build/components/Carousel/style.css +1 -1
  23. package/build/components/Carousel/style.css.map +1 -1
  24. package/build/components/CarouselHero/style.css +2 -0
  25. package/build/components/CarouselHero/style.css.map +1 -0
  26. package/build/components/CarouselPromotions/style.css +2 -0
  27. package/build/components/CarouselPromotions/style.css.map +1 -0
  28. package/build/components/CartTable/style.css +1 -1
  29. package/build/components/CartTable/style.css.map +1 -1
  30. package/build/components/Container/style.css +2 -0
  31. package/build/components/Container/style.css.map +1 -0
  32. package/build/components/Controls/style.css +2 -0
  33. package/build/components/Controls/style.css.map +1 -0
  34. package/build/components/Cover/style.css +2 -0
  35. package/build/components/Cover/style.css.map +1 -0
  36. package/build/components/Divider/style.css +2 -0
  37. package/build/components/Divider/style.css.map +1 -0
  38. package/build/components/DocumentationSidebar/style.css +1 -1
  39. package/build/components/DocumentationSidebar/style.css.map +1 -1
  40. package/build/components/Dropdown/style.css +1 -1
  41. package/build/components/Dropdown/style.css.map +1 -1
  42. package/build/components/Expander/style.css +2 -0
  43. package/build/components/Expander/style.css.map +1 -0
  44. package/build/components/FeatureAccordion/style.css +1 -1
  45. package/build/components/FeatureAccordion/style.css.map +1 -1
  46. package/build/components/Footer/style.css +1 -1
  47. package/build/components/Footer/style.css.map +1 -1
  48. package/build/components/Gauge/style.css +2 -0
  49. package/build/components/Gauge/style.css.map +1 -0
  50. package/build/components/Grid/style.css +1 -1
  51. package/build/components/Grid/style.css.map +1 -1
  52. package/build/components/Hero/style.css +1 -1
  53. package/build/components/Hero/style.css.map +1 -1
  54. package/build/components/Icon/style.css +2 -0
  55. package/build/components/Icon/style.css.map +1 -0
  56. package/build/components/IconList/style.css +1 -1
  57. package/build/components/IconList/style.css.map +1 -1
  58. package/build/components/Image/style.css +2 -0
  59. package/build/components/Image/style.css.map +1 -0
  60. package/build/components/Link/style.css +2 -0
  61. package/build/components/Link/style.css.map +1 -0
  62. package/build/components/List/style.css +2 -0
  63. package/build/components/List/style.css.map +1 -0
  64. package/build/components/Loader/style.css +2 -0
  65. package/build/components/Loader/style.css.map +1 -0
  66. package/build/components/Megamenu/style.css +2 -0
  67. package/build/components/Megamenu/style.css.map +1 -0
  68. package/build/components/Modal/style.css +2 -0
  69. package/build/components/Modal/style.css.map +1 -0
  70. package/build/components/Pagination/style.css +2 -0
  71. package/build/components/Pagination/style.css.map +1 -0
  72. package/build/components/Pill/style.css +2 -0
  73. package/build/components/Pill/style.css.map +1 -0
  74. package/build/components/Preview/style.css +1 -1
  75. package/build/components/Preview/style.css.map +1 -1
  76. package/build/components/Progress/style.css +2 -0
  77. package/build/components/Progress/style.css.map +1 -0
  78. package/build/components/PromoBanner/style.css +1 -1
  79. package/build/components/PromoBanner/style.css.map +1 -1
  80. package/build/components/PromotionCard/style.css +2 -0
  81. package/build/components/PromotionCard/style.css.map +1 -0
  82. package/build/components/Section/style.css +2 -0
  83. package/build/components/Section/style.css.map +1 -0
  84. package/build/components/Skeleton/style.css +2 -0
  85. package/build/components/Skeleton/style.css.map +1 -0
  86. package/build/components/SkipLink/style.css +2 -0
  87. package/build/components/SkipLink/style.css.map +1 -0
  88. package/build/components/SocialButton/style.css +2 -0
  89. package/build/components/SocialButton/style.css.map +1 -0
  90. package/build/components/Stepbar/style.css +2 -0
  91. package/build/components/Stepbar/style.css.map +1 -0
  92. package/build/components/Sticker/style.css +2 -0
  93. package/build/components/Sticker/style.css.map +1 -0
  94. package/build/components/Table/style.css +2 -0
  95. package/build/components/Table/style.css.map +1 -0
  96. package/build/components/Tabs/style.css +2 -0
  97. package/build/components/Tabs/style.css.map +1 -0
  98. package/build/components/Tag/style.css +2 -0
  99. package/build/components/Tag/style.css.map +1 -0
  100. package/build/components/Testimonial/style.css +2 -0
  101. package/build/components/Testimonial/style.css.map +1 -0
  102. package/build/components/Tile/style.css +2 -0
  103. package/build/components/Tile/style.css.map +1 -0
  104. package/build/components/Tooltip/style.css +1 -1
  105. package/build/components/Tooltip/style.css.map +1 -1
  106. package/build/components/index.js +1 -23
  107. package/build/components/index.js.map +1 -1
  108. package/build/components/tsconfig.tsbuildinfo +1 -1
  109. package/build/components/types/index.d.ts +1497 -0
  110. package/build/components/types/src/components/Accordion/Accordion.d.ts +2 -2
  111. package/build/components/types/src/components/Accordion/Accordion.static.d.ts +1 -0
  112. package/build/components/types/src/components/Alert/Alert.d.ts +0 -2
  113. package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.d.ts +1 -2
  114. package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.static.d.ts +20 -17
  115. package/build/components/types/src/components/BlockAction/BlockAction.d.ts +2 -0
  116. package/build/components/types/src/components/BlockAction/Context.d.ts +2 -0
  117. package/build/components/types/src/components/BodyBanner/BodyBanner.d.ts +10 -10
  118. package/build/components/types/src/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
  119. package/build/components/types/src/components/Button/Button.d.ts +1 -1
  120. package/build/components/types/src/components/Button/index.d.ts +3 -4
  121. package/build/components/types/src/components/Card/Card.d.ts +2 -1
  122. package/build/components/types/src/components/Card/CardSection.d.ts +2 -2
  123. package/build/components/types/src/components/Card/index.d.ts +1 -0
  124. package/build/components/types/src/components/Carousel/Carousel.d.ts +4 -2
  125. package/build/components/types/src/components/Carousel/Carousel.static.d.ts +61 -7
  126. package/build/components/types/src/components/Carousel/constants.d.ts +2 -0
  127. package/build/components/types/src/components/CarouselHero/CarouselHero.d.ts +17 -0
  128. package/build/components/types/src/components/CarouselHero/CarouselHero.static.d.ts +47 -0
  129. package/build/components/types/src/components/CarouselHero/CarouselHeroItem.d.ts +8 -0
  130. package/build/components/types/src/components/CarouselHero/constants.d.ts +33 -0
  131. package/build/components/types/src/components/CarouselHero/index.d.ts +2 -0
  132. package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.d.ts +0 -1
  133. package/build/components/types/src/components/Controls/Controls.d.ts +0 -1
  134. package/build/components/types/src/components/Cover/Cover.d.ts +3 -3
  135. package/build/components/types/src/components/Divider/Divider.d.ts +0 -4
  136. package/build/components/types/src/components/DocumentationSidebar/DocumentationSidebar.d.ts +1 -0
  137. package/build/components/types/src/components/Expander/Expander.d.ts +2 -5
  138. package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.d.ts +1 -3
  139. package/build/components/types/src/components/Footer/Footer.d.ts +1 -5
  140. package/build/components/types/src/components/Footer/PlanObnovy.d.ts +1 -0
  141. package/build/components/types/src/components/Footer/constants.d.ts +10 -0
  142. package/build/components/types/src/components/Footer/data.d.ts +6 -0
  143. package/build/components/types/src/components/Forms/InputStepper/InputStepper.d.ts +0 -1
  144. package/build/components/types/src/components/Forms/Select/index.d.ts +1 -1
  145. package/build/components/types/src/components/Grid/Grid.d.ts +1 -1
  146. package/build/components/types/src/components/Grid/GridCol.d.ts +1 -1
  147. package/build/components/types/src/components/Hero/Hero.d.ts +0 -3
  148. package/build/components/types/src/components/Icon/IconSearch.d.ts +2 -2
  149. package/build/components/types/src/components/Icon/IconSearchWrapper.d.ts +1 -1
  150. package/build/components/types/src/components/Icon/iconSearchTags.d.ts +259 -252
  151. package/build/components/types/src/components/Link/Link.d.ts +2 -2
  152. package/build/components/types/src/components/Megamenu/Megamenu.d.ts +6 -1
  153. package/build/components/types/src/components/Megamenu/MegamenuBlog.d.ts +2 -1
  154. package/build/components/types/src/components/Megamenu/constants.d.ts +4 -0
  155. package/build/components/types/src/components/Megamenu/static.d.ts +2 -3
  156. package/build/components/types/src/components/Modal/Modal.d.ts +0 -4
  157. package/build/components/types/src/components/Modal/ModalBody.d.ts +3 -3
  158. package/build/components/types/src/components/Modal/ModalProductHeader.d.ts +2 -0
  159. package/build/components/types/src/components/Modal/index.d.ts +0 -1
  160. package/build/components/types/src/components/Pagination/Pagination.d.ts +2 -5
  161. package/build/components/types/src/components/Pagination/Separator.d.ts +2 -2
  162. package/build/components/types/src/components/Pill/Pill.d.ts +3 -1
  163. package/build/components/types/src/components/Preview/Preview.d.ts +1 -1
  164. package/build/components/types/src/components/Preview/PreviewGenerator.d.ts +1 -0
  165. package/build/components/types/src/components/Preview/index.d.ts +1 -1
  166. package/build/components/types/src/components/Progress/Progress.d.ts +0 -1
  167. package/build/components/types/src/components/PromoBanner/PromoBanner.d.ts +9 -6
  168. package/build/components/types/src/components/PromotionCard/PromotionCard.d.ts +3 -3
  169. package/build/components/types/src/components/Section/Section.d.ts +4 -1
  170. package/build/components/types/src/components/SocialButton/SocialButton.d.ts +13 -0
  171. package/build/components/types/src/components/SocialButton/index.d.ts +1 -0
  172. package/build/components/types/src/components/Stepbar/Stepbar.d.ts +0 -2
  173. package/build/components/types/src/components/Table/Row.d.ts +1 -2
  174. package/build/components/types/src/components/Table/Table.d.ts +2 -2
  175. package/build/components/types/src/components/Table/docsData.d.ts +2 -0
  176. package/build/components/types/src/components/Table/types.d.ts +1 -0
  177. package/build/components/types/src/components/Tabs/Tabs.d.ts +0 -2
  178. package/build/components/types/src/components/Tag/Tag.d.ts +0 -2
  179. package/build/components/types/src/components/Tile/Tile.d.ts +2 -1
  180. package/build/components/types/src/components/Tooltip/Tooltip.d.ts +0 -1
  181. package/build/components/types/src/components/Tooltip/tests/BaseWrapper.d.ts +1 -1
  182. package/build/components/types/src/components/index.d.ts +5 -5
  183. package/build/components/types/src/docs/utils/SpacePreview.d.ts +1 -2
  184. package/build/components/types/src/scripts/index.d.ts +12 -3
  185. package/build/components/types/src/scripts/modules/SameHeight.d.ts +3 -0
  186. package/build/components/types/src/styles/export/color.d.ts +105 -0
  187. package/build/fonts/HelveticaNeue-Bold.woff2 +0 -0
  188. package/build/fonts/HelveticaNeue-Light.woff2 +0 -0
  189. package/build/fonts/HelveticaNeue-Roman.woff2 +0 -0
  190. package/build/lib/base.css +3 -0
  191. package/build/lib/base.css.map +1 -0
  192. package/build/lib/components.css +1 -1
  193. package/build/lib/components.css.map +1 -1
  194. package/build/lib/footer.css +2 -0
  195. package/build/lib/footer.css.map +1 -0
  196. package/build/lib/megamenu.css +1 -1
  197. package/build/lib/megamenu.css.map +1 -1
  198. package/build/lib/megamenu.js +1 -1
  199. package/build/lib/megamenu.js.map +1 -1
  200. package/build/lib/scripts.js +1 -9
  201. package/build/lib/scripts.js.map +1 -1
  202. package/build/lib/style.css +1 -1
  203. package/build/lib/style.css.map +1 -1
  204. package/build/lib/tsconfig.tsbuildinfo +1 -1
  205. package/build/lib/utilities.css +2 -0
  206. package/build/lib/utilities.css.map +1 -0
  207. package/build/plan-obnovy.svg +53 -0
  208. package/build/sprite.svg +1 -1
  209. package/package.json +46 -38
  210. package/public/fonts/HelveticaNeue-Bold.woff2 +0 -0
  211. package/public/fonts/HelveticaNeue-Light.woff2 +0 -0
  212. package/public/fonts/HelveticaNeue-Roman.woff2 +0 -0
  213. package/src/assets/icons/ai.svg +6 -0
  214. package/src/assets/icons/article.svg +7 -0
  215. package/src/assets/icons/instagram.svg +5 -1
  216. package/src/assets/icons/linkedin-2.svg +3 -1
  217. package/src/assets/icons/pictogram-activation--dark.svg +10 -11
  218. package/src/assets/icons/pictogram-activation-free--dark.svg +4 -5
  219. package/src/assets/icons/pictogram-activation-free.svg +4 -5
  220. package/src/assets/icons/pictogram-activation.svg +10 -11
  221. package/src/assets/icons/pictogram-archive--dark.svg +3 -4
  222. package/src/assets/icons/pictogram-archive.svg +3 -4
  223. package/src/assets/icons/pictogram-calling-minutes--dark.svg +3 -4
  224. package/src/assets/icons/pictogram-calling-minutes.svg +3 -4
  225. package/src/assets/icons/pictogram-canal-plus--dark.svg +3 -4
  226. package/src/assets/icons/pictogram-canal-plus.svg +3 -4
  227. package/src/assets/icons/pictogram-competition-tickets--dark.svg +11 -12
  228. package/src/assets/icons/pictogram-competition-tickets.svg +11 -12
  229. package/src/assets/icons/pictogram-device-discount--dark.svg +7 -6
  230. package/src/assets/icons/pictogram-device-discount.svg +5 -6
  231. package/src/assets/icons/pictogram-discount-general--dark.svg +5 -6
  232. package/src/assets/icons/pictogram-discount-general.svg +5 -6
  233. package/src/assets/icons/pictogram-discount-price--dark.svg +5 -6
  234. package/src/assets/icons/pictogram-discount-price.svg +5 -6
  235. package/src/assets/icons/pictogram-extra-data--dark.svg +6 -7
  236. package/src/assets/icons/pictogram-extra-data.svg +6 -7
  237. package/src/assets/icons/pictogram-free-payment--dark.svg +5 -6
  238. package/src/assets/icons/pictogram-free-payment.svg +3 -6
  239. package/src/assets/icons/pictogram-gift--dark.svg +12 -13
  240. package/src/assets/icons/pictogram-gift-one-benefit--dark.svg +7 -8
  241. package/src/assets/icons/pictogram-gift-one-benefit.svg +7 -8
  242. package/src/assets/icons/pictogram-gift-two-benefits--dark.svg +8 -9
  243. package/src/assets/icons/pictogram-gift-two-benefits.svg +8 -9
  244. package/src/assets/icons/pictogram-gift.svg +3 -4
  245. package/src/assets/icons/pictogram-hbo-max--dark.svg +5 -6
  246. package/src/assets/icons/pictogram-hbo-max.svg +5 -6
  247. package/src/assets/icons/pictogram-infinite-sms--dark.svg +3 -4
  248. package/src/assets/icons/pictogram-infinite-sms.svg +3 -4
  249. package/src/assets/icons/pictogram-installation--dark.svg +4 -5
  250. package/src/assets/icons/pictogram-installation-free--dark.svg +4 -5
  251. package/src/assets/icons/pictogram-installation-free.svg +4 -5
  252. package/src/assets/icons/pictogram-installation.svg +4 -5
  253. package/src/assets/icons/pictogram-max--dark.svg +3 -4
  254. package/src/assets/icons/pictogram-max-canal-plus--dark.svg +5 -6
  255. package/src/assets/icons/pictogram-max-canal-plus.svg +5 -6
  256. package/src/assets/icons/pictogram-max.svg +3 -4
  257. package/src/assets/icons/pictogram-moj-orange-app--dark.svg +3 -4
  258. package/src/assets/icons/pictogram-moj-orange-app.svg +3 -4
  259. package/src/assets/icons/pictogram-movie-storage--dark.svg +4 -5
  260. package/src/assets/icons/pictogram-movie-storage.svg +4 -5
  261. package/src/assets/icons/pictogram-online-protection--dark.svg +3 -4
  262. package/src/assets/icons/pictogram-online-protection.svg +3 -4
  263. package/src/assets/icons/pictogram-random-damage--dark.svg +4 -8
  264. package/src/assets/icons/pictogram-random-damage.svg +4 -8
  265. package/src/assets/icons/pictogram-recycling--dark.svg +7 -8
  266. package/src/assets/icons/pictogram-recycling.svg +14 -15
  267. package/src/assets/icons/pictogram-repair--dark.svg +12 -13
  268. package/src/assets/icons/pictogram-repair.svg +12 -13
  269. package/src/assets/icons/pictogram-roaming--dark.svg +3 -4
  270. package/src/assets/icons/pictogram-roaming-discount--dark.svg +3 -16
  271. package/src/assets/icons/pictogram-roaming-discount.svg +15 -16
  272. package/src/assets/icons/pictogram-roaming.svg +3 -4
  273. package/src/assets/icons/pictogram-skylink--dark.svg +10 -11
  274. package/src/assets/icons/pictogram-skylink-live-tv--dark.svg +7 -8
  275. package/src/assets/icons/pictogram-skylink-live-tv.svg +7 -8
  276. package/src/assets/icons/pictogram-skylink.svg +10 -11
  277. package/src/assets/icons/pictogram-sms--dark.svg +5 -6
  278. package/src/assets/icons/pictogram-sms.svg +5 -6
  279. package/src/assets/icons/pictogram-theft--dark.svg +3 -7
  280. package/src/assets/icons/pictogram-theft.svg +3 -7
  281. package/src/assets/icons/pictogram-three-devices--dark.svg +4 -8
  282. package/src/assets/icons/pictogram-three-devices.svg +4 -8
  283. package/src/assets/icons/pictogram-trust--dark.svg +3 -4
  284. package/src/assets/icons/pictogram-trust.svg +3 -4
  285. package/src/assets/icons/pictogram-water-damage--dark.svg +5 -6
  286. package/src/assets/icons/pictogram-water-damage.svg +5 -6
  287. package/src/assets/icons/pinterest.svg +4 -0
  288. package/src/assets/icons/play.svg +4 -1
  289. package/src/assets/icons/quote.svg +4 -0
  290. package/src/assets/icons/snapchat.svg +4 -0
  291. package/src/assets/icons/tiktok.svg +4 -0
  292. package/src/assets/icons/whatsapp.svg +4 -0
  293. package/src/components/Accordion/Accordion.static.ts +36 -30
  294. package/src/components/Accordion/Accordion.tsx +4 -4
  295. package/src/components/Accordion/AccordionHeader.tsx +0 -10
  296. package/src/components/Accordion/AccordionItem.tsx +1 -0
  297. package/src/components/Accordion/styles/config.scss +5 -4
  298. package/src/components/Accordion/styles/mixins.scss +12 -11
  299. package/src/components/Accordion/styles/style.scss +2 -2
  300. package/src/components/Accordion/tests/Accordion.unit.test.js +12 -26
  301. package/src/components/Alert/Alert.tsx +0 -6
  302. package/src/components/Alert/styles/config.scss +1 -1
  303. package/src/components/Alert/styles/mixins.scss +3 -1
  304. package/src/components/Alert/tests/Alert.test.js +0 -14
  305. package/src/components/AnchorNavigation/AnchorNavigation.static.ts +296 -72
  306. package/src/components/AnchorNavigation/AnchorNavigation.tsx +21 -26
  307. package/src/components/AnchorNavigation/styles/mixins.scss +23 -32
  308. package/src/components/AnchorNavigation/tests/AnchorNavigation.conformance.test.js +58 -0
  309. package/src/components/AnchorNavigation/tests/AnchorNavigation.unit.test.js +163 -0
  310. package/src/components/Bar/styles/config.scss +4 -5
  311. package/src/components/Bar/styles/mixins.scss +11 -11
  312. package/src/components/BlockAction/BlockAction.tsx +10 -3
  313. package/src/components/BlockAction/Context.tsx +4 -0
  314. package/src/components/BlockAction/styles/mixins.scss +6 -6
  315. package/src/components/BlockAction/styles/style.scss +5 -0
  316. package/src/components/BodyBanner/BodyBanner.tsx +52 -73
  317. package/src/components/BodyBanner/styles/mixins.scss +39 -33
  318. package/src/components/BodyBanner/styles/style.scss +4 -18
  319. package/src/components/BodyBanner/tests/BodyBanner.conformance.test.js +67 -0
  320. package/src/components/BodyBanner/tests/BodyBanner.unit.test.js +194 -0
  321. package/src/components/Breadcrumbs/BreadcrumbItem.tsx +16 -7
  322. package/src/components/Breadcrumbs/Breadcrumbs.tsx +4 -12
  323. package/src/components/Breadcrumbs/styles/mixins.scss +2 -4
  324. package/src/components/Breadcrumbs/tests/BreadcrumbItem.unit.test.js +14 -8
  325. package/src/components/Breadcrumbs/tests/Breadcrumbs.integration.test.js +14 -37
  326. package/src/components/Breadcrumbs/tests/Breadcrumbs.unit.test.js +19 -23
  327. package/src/components/Button/Button.tsx +2 -6
  328. package/src/components/Button/styles/config.scss +5 -5
  329. package/src/components/Button/styles/mixins.scss +6 -1
  330. package/src/components/Button/styles/style.scss +4 -0
  331. package/src/components/Button/tests/Button.test.js +0 -10
  332. package/src/components/Buttons/styles/mixins.scss +1 -1
  333. package/src/components/Card/Card.tsx +20 -3
  334. package/src/components/Card/CardSection.tsx +7 -11
  335. package/src/components/Card/index.ts +1 -0
  336. package/src/components/Card/styles/config.scss +2 -2
  337. package/src/components/Card/styles/mixins.scss +8 -6
  338. package/src/components/Card/styles/style.scss +4 -0
  339. package/src/components/Card/tests/Card.unit.test.js +45 -6
  340. package/src/components/Card/tests/CardSection.unit.test.js +36 -3
  341. package/src/components/Carousel/Carousel.static.ts +371 -10
  342. package/src/components/Carousel/Carousel.tsx +41 -24
  343. package/src/components/Carousel/constants.ts +2 -0
  344. package/src/components/Carousel/styles/config.scss +1 -2
  345. package/src/components/Carousel/styles/mixins.scss +42 -3
  346. package/src/components/Carousel/styles/style.scss +8 -0
  347. package/src/components/Carousel/tests/Carousel.static.test.js +616 -0
  348. package/src/components/Carousel/tests/Carousel.unit.test.js +117 -12
  349. package/src/components/CarouselHero/CarouselHero.static.ts +528 -0
  350. package/src/components/CarouselHero/CarouselHero.tsx +139 -0
  351. package/src/components/CarouselHero/CarouselHeroItem.tsx +40 -0
  352. package/src/components/CarouselHero/constants.ts +36 -0
  353. package/src/components/CarouselHero/index.ts +2 -0
  354. package/src/components/CarouselHero/styles/config.scss +54 -0
  355. package/src/components/CarouselHero/styles/mixins.scss +278 -0
  356. package/src/components/CarouselHero/styles/style.scss +63 -0
  357. package/src/components/CarouselHero/tests/CarouselHero.conformance.test.js +129 -0
  358. package/src/components/CarouselHero/tests/CarouselHero.unit.test.js +332 -0
  359. package/src/components/CarouselHero/tests/CarouselHeroItem.conformance.test.js +135 -0
  360. package/src/components/CarouselHero/tests/CarouselHeroItem.unit.test.js +143 -0
  361. package/src/components/CarouselPromotions/CarouselPromotions.tsx +1 -6
  362. package/src/components/CarouselPromotions/styles/mixins.scss +8 -5
  363. package/src/components/CarouselPromotions/tests/CarouselPromotions.unit.test.js +0 -17
  364. package/src/components/CartTable/FooterPriceColumn.tsx +5 -3
  365. package/src/components/CartTable/Price.tsx +1 -1
  366. package/src/components/Code/styles/style.scss +6 -5
  367. package/src/components/Controls/Controls.tsx +2 -7
  368. package/src/components/Controls/styles/config.scss +2 -2
  369. package/src/components/Controls/tests/Controls.test.js +0 -32
  370. package/src/components/Cover/Cover.tsx +22 -20
  371. package/src/components/Cover/styles/config.scss +23 -12
  372. package/src/components/Cover/styles/mixins.scss +6 -5
  373. package/src/components/Cover/tests/Cover.unit.test.js +52 -52
  374. package/src/components/Divider/Divider.tsx +2 -16
  375. package/src/components/Divider/styles/config.scss +0 -17
  376. package/src/components/Divider/styles/mixins.scss +8 -10
  377. package/src/components/Divider/styles/style.scss +2 -16
  378. package/src/components/Divider/tests/Divider.conformance.test.js +1 -1
  379. package/src/components/Divider/tests/Divider.unit.test.js +0 -17
  380. package/src/components/DocumentationSidebar/DocumentationSidebar.tsx +188 -2
  381. package/src/components/DocumentationSidebar/styles/style.scss +76 -3
  382. package/src/components/Dropdown/styles/mixins.scss +1 -1
  383. package/src/components/Expander/Expander.static.ts +11 -12
  384. package/src/components/Expander/Expander.tsx +4 -8
  385. package/src/components/Expander/styles/style.scss +12 -3
  386. package/src/components/Expander/tests/Expander.conformance.test.js +8 -12
  387. package/src/components/Expander/tests/Expander.unit.test.js +37 -47
  388. package/src/components/FeatureAccordion/FeatureAccordion.tsx +3 -13
  389. package/src/components/FeatureAccordion/styles/mixins.scss +6 -14
  390. package/src/components/FeatureAccordion/styles/style.scss +2 -4
  391. package/src/components/FeatureAccordion/tests/FeatureAccordion.conformance.test.js +2 -0
  392. package/src/components/FeatureAccordion/tests/FeatureAccordion.unit.test.js +0 -5
  393. package/src/components/Footer/Footer.tsx +110 -71
  394. package/src/components/Footer/PlanObnovy.tsx +211 -0
  395. package/src/components/Footer/constants.ts +11 -0
  396. package/src/components/Footer/data.ts +27 -0
  397. package/src/components/Footer/styles/config.scss +1 -0
  398. package/src/components/Footer/styles/mixins.scss +182 -0
  399. package/src/components/Footer/styles/style.scss +54 -0
  400. package/src/components/Footer/tests/Footer.conformance.test.js +133 -8
  401. package/src/components/Footer/tests/Footer.unit.test.js +71 -6
  402. package/src/components/Forms/DatePicker/styles/style.scss +1 -1
  403. package/src/components/Forms/Field/styles/config.scss +8 -8
  404. package/src/components/Forms/Field/tests/Autocomplete.Field.conformance.test.js +1 -1
  405. package/src/components/Forms/Field/tests/Checkbox.Field.conformance.test.js +1 -0
  406. package/src/components/Forms/Field/tests/File.Field.conformance.test.js +1 -0
  407. package/src/components/Forms/Field/tests/Group.Field.conformance.test.js +1 -0
  408. package/src/components/Forms/Field/tests/Radio.Field.conformance.test.js +1 -0
  409. package/src/components/Forms/Field/tests/Rangeslider.Field.test.js +1 -0
  410. package/src/components/Forms/Field/tests/Select.Field.conformance.test.js +1 -0
  411. package/src/components/Forms/Field/tests/Text.Field.conformance.test.js +1 -0
  412. package/src/components/Forms/Field/tests/Textarea.Field.conformance.test.js +1 -0
  413. package/src/components/Forms/Fieldset/styles/mixins.scss +3 -3
  414. package/src/components/Forms/File/styles/mixins.scss +1 -1
  415. package/src/components/Forms/Group/styles/mixins.scss +14 -0
  416. package/src/components/Forms/InputStepper/InputStepper.tsx +0 -4
  417. package/src/components/Forms/InputStepper/styles/style.scss +0 -66
  418. package/src/components/Forms/Label/styles/config.scss +3 -0
  419. package/src/components/Forms/RangeSlider/styles/mixins.scss +1 -1
  420. package/src/components/Forms/TextArea/styles/mixins.scss +10 -9
  421. package/src/components/Forms/TextInput/styles/config.scss +1 -1
  422. package/src/components/Forms/styles/config.scss +5 -4
  423. package/src/components/Gauge/styles/style.scss +1 -1
  424. package/src/components/Grid/Grid.tsx +1 -1
  425. package/src/components/Grid/styles/config.scss +5 -3
  426. package/src/components/Grid/styles/mixins.scss +29 -19
  427. package/src/components/Grid/tests/Grid.unit.test.js +11 -0
  428. package/src/components/Hero/Hero.tsx +2 -16
  429. package/src/components/Hero/styles/style.scss +0 -14
  430. package/src/components/Hero/tests/Hero.unit.test.js +109 -119
  431. package/src/components/Icon/iconSearchTags.ts +440 -432
  432. package/src/components/Icon/styles/style.scss +15 -0
  433. package/src/components/Icon/tests/Pictogram.unit.test.js +38 -0
  434. package/src/components/IconList/styles/mixins.scss +5 -5
  435. package/src/components/Image/styles/mixins.scss +2 -2
  436. package/src/components/Link/Link.tsx +4 -5
  437. package/src/components/Link/styles/mixins.scss +9 -3
  438. package/src/components/Link/styles/style.scss +4 -2
  439. package/src/components/Link/tests/Link.conformance.test.js +6 -27
  440. package/src/components/Link/tests/Link.unit.test.js +1 -30
  441. package/src/components/List/styles/config.scss +12 -12
  442. package/src/components/List/styles/mixins.scss +16 -9
  443. package/src/components/Loader/Loader.tsx +2 -10
  444. package/src/components/Loader/styles/mixins.scss +1 -1
  445. package/src/components/Loader/styles/style.scss +6 -4
  446. package/src/components/Megamenu/Megamenu.static.ts +2 -0
  447. package/src/components/Megamenu/Megamenu.tsx +730 -650
  448. package/src/components/Megamenu/MegamenuBlog.tsx +201 -183
  449. package/src/components/Megamenu/constants.ts +4 -0
  450. package/src/components/Megamenu/static.ts +5 -11
  451. package/src/components/Megamenu/styles/mixins.scss +50 -3
  452. package/src/components/Megamenu/styles/style.scss +10 -0
  453. package/src/components/Modal/Modal.tsx +1 -14
  454. package/src/components/Modal/ModalBody.tsx +26 -14
  455. package/src/components/Modal/ModalProductHeader.tsx +6 -2
  456. package/src/components/Modal/index.ts +0 -1
  457. package/src/components/Modal/styles/config.scss +4 -4
  458. package/src/components/Modal/styles/mixins.scss +18 -57
  459. package/src/components/Modal/styles/style.scss +1 -16
  460. package/src/components/Modal/tests/Modal.unit.test.js +0 -59
  461. package/src/components/Modal/tests/ModalBody.unit.test.js +21 -12
  462. package/src/components/Modal/tests/ModalProductHeader.unit.test.js +12 -0
  463. package/src/components/Pagination/Pagination.tsx +3 -13
  464. package/src/components/Pagination/styles/mixins.scss +1 -1
  465. package/src/components/Pill/Pill.tsx +17 -5
  466. package/src/components/Pill/styles/config.scss +2 -1
  467. package/src/components/Pill/styles/style.scss +17 -1
  468. package/src/components/Pill/tests/Pill.conformance.test.js +9 -3
  469. package/src/components/Pill/tests/Pill.unit.test.js +87 -9
  470. package/src/components/Preview/PreviewGenerator.tsx +50 -29
  471. package/src/components/Progress/Progress.tsx +1 -13
  472. package/src/components/Progress/styles/config.scss +4 -4
  473. package/src/components/Progress/styles/mixins.scss +9 -7
  474. package/src/components/PromoBanner/PromoBanner.tsx +70 -43
  475. package/src/components/PromoBanner/styles/mixins.scss +39 -17
  476. package/src/components/PromoBanner/styles/style.scss +5 -7
  477. package/src/components/PromoBanner/tests/PromoBanner.conformance.test.js +783 -0
  478. package/src/components/PromoBanner/tests/PromoBanner.unit.test.js +549 -0
  479. package/src/components/PromotionCard/PromotionCard.tsx +12 -13
  480. package/src/components/PromotionCard/styles/mixins.scss +2 -1
  481. package/src/components/PromotionCard/tests/PromotionCard.conformance.test.js +566 -0
  482. package/src/components/PromotionCard/tests/PromotionCard.unit.test.js +438 -0
  483. package/src/components/Section/Section.tsx +20 -10
  484. package/src/components/Section/styles/config.scss +18 -16
  485. package/src/components/Section/styles/mixins.scss +16 -13
  486. package/src/components/Section/styles/style.scss +1 -0
  487. package/src/components/Section/tests/Section.conformance.test.js +23 -12
  488. package/src/components/Section/tests/Section.unit.test.js +53 -32
  489. package/src/components/SocialButton/SocialButton.tsx +67 -0
  490. package/src/components/SocialButton/index.ts +1 -0
  491. package/src/components/SocialButton/styles/config.scss +172 -0
  492. package/src/components/SocialButton/styles/mixins.scss +42 -0
  493. package/src/components/SocialButton/styles/style.scss +16 -0
  494. package/src/components/SocialButton/tests/SocialButton.unit.test.js +162 -0
  495. package/src/components/Stepbar/Stepbar.tsx +0 -5
  496. package/src/components/Stepbar/styles/mixins.scss +1 -1
  497. package/src/components/Table/Row.tsx +9 -3
  498. package/src/components/Table/Table.tsx +11 -6
  499. package/src/components/Table/TableContext.ts +1 -0
  500. package/src/components/Table/docsData.ts +25 -0
  501. package/src/components/Table/styles/mixins.scss +41 -5
  502. package/src/components/Table/styles/style.scss +6 -0
  503. package/src/components/Table/tests/Table.conformance.test.js +5 -1
  504. package/src/components/Table/tests/Table.unit.test.js +0 -31
  505. package/src/components/Table/types.ts +1 -0
  506. package/src/components/Tabs/Tabs.tsx +0 -5
  507. package/src/components/Tabs/styles/mixins.scss +1 -1
  508. package/src/components/Tabs/tests/Tabs.unit.test.js +0 -8
  509. package/src/components/Tag/Tag.tsx +0 -4
  510. package/src/components/Tag/styles/config.scss +19 -23
  511. package/src/components/Tag/styles/style.scss +33 -0
  512. package/src/components/Tile/CHANGELOG.md +15 -1
  513. package/src/components/Tile/Tile.tsx +11 -3
  514. package/src/components/Tile/styles/config.scss +0 -11
  515. package/src/components/Tile/styles/mixins.scss +1 -0
  516. package/src/components/Tile/styles/style.scss +1 -5
  517. package/src/components/Tile/tests/Tile.unit.test.js +10 -3
  518. package/src/components/Tooltip/InfoTooltip.tsx +1 -5
  519. package/src/components/Tooltip/Tooltip.tsx +1 -10
  520. package/src/components/Tooltip/tests/Tooltip.conformance.test.js +5 -1
  521. package/src/components/Tooltip/tests/Tooltip.unit.test.js +0 -29
  522. package/src/components/index.ts +9 -4
  523. package/src/styles/base/globals-forms.scss +8 -0
  524. package/src/styles/base/globals.scss +26 -22
  525. package/src/styles/base/styleguide.scss +22 -17
  526. package/src/styles/export/base.js +1 -1
  527. package/src/styles/export/color.js +102 -20
  528. package/src/styles/export/color.scss +10 -20
  529. package/src/styles/shame.scss +1 -0
  530. package/src/styles/tokens/color-vars.scss +39 -0
  531. package/src/styles/tokens/color.scss +14 -14
  532. package/src/styles/tokens/tag-colors.scss +20 -0
  533. package/src/styles/typography/config.scss +83 -37
  534. package/src/styles/typography/mixins.scss +29 -15
  535. package/src/styles/typography/style.scss +6 -3
  536. package/src/styles/utilities/border.scss +1 -1
  537. package/src/styles/utilities/color.scss +99 -20
  538. package/src/styles/utilities/horizontal-scroll.scss +1 -1
  539. package/src/styles/utilities/index.scss +1 -0
  540. package/src/styles/utilities/layout.scss +27 -0
  541. package/src/styles/utilities/ordering.scss +44 -0
  542. package/src/styles/utilities/text.scss +44 -2
  543. package/src/styles/utilities/visibility.scss +2 -4
  544. package/build/components/Accordion/index.js +0 -16
  545. package/build/components/Accordion/index.js.map +0 -1
  546. package/build/components/Accordion/tsconfig.tsbuildinfo +0 -1
  547. package/build/components/Alert/index.js +0 -16
  548. package/build/components/Alert/index.js.map +0 -1
  549. package/build/components/Alert/tsconfig.tsbuildinfo +0 -1
  550. package/build/components/AnchorNavigation/index.js +0 -16
  551. package/build/components/AnchorNavigation/index.js.map +0 -1
  552. package/build/components/AnchorNavigation/tsconfig.tsbuildinfo +0 -1
  553. package/build/components/Bar/index.js +0 -16
  554. package/build/components/Bar/index.js.map +0 -1
  555. package/build/components/Bar/tsconfig.tsbuildinfo +0 -1
  556. package/build/components/BlockAction/index.js +0 -16
  557. package/build/components/BlockAction/index.js.map +0 -1
  558. package/build/components/BlockAction/tsconfig.tsbuildinfo +0 -1
  559. package/build/components/BodyBanner/index.js +0 -16
  560. package/build/components/BodyBanner/index.js.map +0 -1
  561. package/build/components/BodyBanner/tsconfig.tsbuildinfo +0 -1
  562. package/build/components/Breadcrumbs/index.js +0 -16
  563. package/build/components/Breadcrumbs/index.js.map +0 -1
  564. package/build/components/Breadcrumbs/tsconfig.tsbuildinfo +0 -1
  565. package/build/components/Button/index.js +0 -16
  566. package/build/components/Button/index.js.map +0 -1
  567. package/build/components/Button/tsconfig.tsbuildinfo +0 -1
  568. package/build/components/Buttons/index.js +0 -16
  569. package/build/components/Buttons/index.js.map +0 -1
  570. package/build/components/Buttons/tsconfig.tsbuildinfo +0 -1
  571. package/build/components/Card/index.js +0 -16
  572. package/build/components/Card/index.js.map +0 -1
  573. package/build/components/Card/tsconfig.tsbuildinfo +0 -1
  574. package/build/components/Carousel/index.js +0 -16
  575. package/build/components/Carousel/index.js.map +0 -1
  576. package/build/components/Carousel/tsconfig.tsbuildinfo +0 -1
  577. package/build/components/CarouselPromotions/index.js +0 -16
  578. package/build/components/CarouselPromotions/index.js.map +0 -1
  579. package/build/components/CarouselPromotions/tsconfig.tsbuildinfo +0 -1
  580. package/build/components/CartTable/index.js +0 -16
  581. package/build/components/CartTable/index.js.map +0 -1
  582. package/build/components/CartTable/tsconfig.tsbuildinfo +0 -1
  583. package/build/components/Code/index.js +0 -11
  584. package/build/components/Code/index.js.map +0 -1
  585. package/build/components/Code/tsconfig.tsbuildinfo +0 -1
  586. package/build/components/Container/index.js +0 -16
  587. package/build/components/Container/index.js.map +0 -1
  588. package/build/components/Container/tsconfig.tsbuildinfo +0 -1
  589. package/build/components/Controls/index.js +0 -16
  590. package/build/components/Controls/index.js.map +0 -1
  591. package/build/components/Controls/tsconfig.tsbuildinfo +0 -1
  592. package/build/components/Cover/index.js +0 -16
  593. package/build/components/Cover/index.js.map +0 -1
  594. package/build/components/Cover/tsconfig.tsbuildinfo +0 -1
  595. package/build/components/Divider/index.js +0 -16
  596. package/build/components/Divider/index.js.map +0 -1
  597. package/build/components/Divider/tsconfig.tsbuildinfo +0 -1
  598. package/build/components/DocumentationSidebar/index.js +0 -16
  599. package/build/components/DocumentationSidebar/index.js.map +0 -1
  600. package/build/components/DocumentationSidebar/tsconfig.tsbuildinfo +0 -1
  601. package/build/components/Dropdown/index.js +0 -16
  602. package/build/components/Dropdown/index.js.map +0 -1
  603. package/build/components/Dropdown/tsconfig.tsbuildinfo +0 -1
  604. package/build/components/Expander/index.js +0 -16
  605. package/build/components/Expander/index.js.map +0 -1
  606. package/build/components/Expander/tsconfig.tsbuildinfo +0 -1
  607. package/build/components/FeatureAccordion/index.js +0 -16
  608. package/build/components/FeatureAccordion/index.js.map +0 -1
  609. package/build/components/FeatureAccordion/tsconfig.tsbuildinfo +0 -1
  610. package/build/components/Footer/index.js +0 -16
  611. package/build/components/Footer/index.js.map +0 -1
  612. package/build/components/Footer/tsconfig.tsbuildinfo +0 -1
  613. package/build/components/Forms/index.js +0 -20
  614. package/build/components/Forms/index.js.map +0 -1
  615. package/build/components/Forms/style.css +0 -2
  616. package/build/components/Forms/style.css.map +0 -1
  617. package/build/components/Forms/tsconfig.tsbuildinfo +0 -1
  618. package/build/components/Gauge/index.js +0 -16
  619. package/build/components/Gauge/index.js.map +0 -1
  620. package/build/components/Gauge/tsconfig.tsbuildinfo +0 -1
  621. package/build/components/Grid/index.js +0 -16
  622. package/build/components/Grid/index.js.map +0 -1
  623. package/build/components/Grid/tsconfig.tsbuildinfo +0 -1
  624. package/build/components/Hero/index.js +0 -16
  625. package/build/components/Hero/index.js.map +0 -1
  626. package/build/components/Hero/tsconfig.tsbuildinfo +0 -1
  627. package/build/components/Icon/index.js +0 -11
  628. package/build/components/Icon/index.js.map +0 -1
  629. package/build/components/Icon/tsconfig.tsbuildinfo +0 -1
  630. package/build/components/IconList/index.js +0 -16
  631. package/build/components/IconList/index.js.map +0 -1
  632. package/build/components/IconList/tsconfig.tsbuildinfo +0 -1
  633. package/build/components/Image/index.js +0 -16
  634. package/build/components/Image/index.js.map +0 -1
  635. package/build/components/Image/tsconfig.tsbuildinfo +0 -1
  636. package/build/components/Link/index.js +0 -7
  637. package/build/components/Link/index.js.map +0 -1
  638. package/build/components/Link/tsconfig.tsbuildinfo +0 -1
  639. package/build/components/List/index.js +0 -16
  640. package/build/components/List/index.js.map +0 -1
  641. package/build/components/List/tsconfig.tsbuildinfo +0 -1
  642. package/build/components/Loader/index.js +0 -16
  643. package/build/components/Loader/index.js.map +0 -1
  644. package/build/components/Loader/tsconfig.tsbuildinfo +0 -1
  645. package/build/components/Megamenu/index.js +0 -16
  646. package/build/components/Megamenu/index.js.map +0 -1
  647. package/build/components/Megamenu/tsconfig.tsbuildinfo +0 -1
  648. package/build/components/Modal/index.js +0 -20
  649. package/build/components/Modal/index.js.map +0 -1
  650. package/build/components/Modal/tsconfig.tsbuildinfo +0 -1
  651. package/build/components/Pagination/index.js +0 -16
  652. package/build/components/Pagination/index.js.map +0 -1
  653. package/build/components/Pagination/tsconfig.tsbuildinfo +0 -1
  654. package/build/components/Pill/index.js +0 -16
  655. package/build/components/Pill/index.js.map +0 -1
  656. package/build/components/Pill/tsconfig.tsbuildinfo +0 -1
  657. package/build/components/Preview/index.js +0 -77
  658. package/build/components/Preview/index.js.map +0 -1
  659. package/build/components/Preview/tsconfig.tsbuildinfo +0 -1
  660. package/build/components/Progress/index.js +0 -16
  661. package/build/components/Progress/index.js.map +0 -1
  662. package/build/components/Progress/tsconfig.tsbuildinfo +0 -1
  663. package/build/components/PromoBanner/index.js +0 -16
  664. package/build/components/PromoBanner/index.js.map +0 -1
  665. package/build/components/PromoBanner/tsconfig.tsbuildinfo +0 -1
  666. package/build/components/PromotionCard/index.js +0 -16
  667. package/build/components/PromotionCard/index.js.map +0 -1
  668. package/build/components/PromotionCard/tsconfig.tsbuildinfo +0 -1
  669. package/build/components/Section/index.js +0 -16
  670. package/build/components/Section/index.js.map +0 -1
  671. package/build/components/Section/tsconfig.tsbuildinfo +0 -1
  672. package/build/components/Skeleton/index.js +0 -16
  673. package/build/components/Skeleton/index.js.map +0 -1
  674. package/build/components/Skeleton/tsconfig.tsbuildinfo +0 -1
  675. package/build/components/SkipLink/index.js +0 -16
  676. package/build/components/SkipLink/index.js.map +0 -1
  677. package/build/components/SkipLink/tsconfig.tsbuildinfo +0 -1
  678. package/build/components/Stepbar/index.js +0 -16
  679. package/build/components/Stepbar/index.js.map +0 -1
  680. package/build/components/Stepbar/tsconfig.tsbuildinfo +0 -1
  681. package/build/components/Sticker/index.js +0 -16
  682. package/build/components/Sticker/index.js.map +0 -1
  683. package/build/components/Sticker/tsconfig.tsbuildinfo +0 -1
  684. package/build/components/Table/index.js +0 -16
  685. package/build/components/Table/index.js.map +0 -1
  686. package/build/components/Table/tsconfig.tsbuildinfo +0 -1
  687. package/build/components/Tabs/index.js +0 -16
  688. package/build/components/Tabs/index.js.map +0 -1
  689. package/build/components/Tabs/tsconfig.tsbuildinfo +0 -1
  690. package/build/components/Tag/index.js +0 -16
  691. package/build/components/Tag/index.js.map +0 -1
  692. package/build/components/Tag/tsconfig.tsbuildinfo +0 -1
  693. package/build/components/Testimonial/index.js +0 -16
  694. package/build/components/Testimonial/index.js.map +0 -1
  695. package/build/components/Testimonial/tsconfig.tsbuildinfo +0 -1
  696. package/build/components/Tile/index.js +0 -16
  697. package/build/components/Tile/index.js.map +0 -1
  698. package/build/components/Tile/tsconfig.tsbuildinfo +0 -1
  699. package/build/components/Tooltip/index.js +0 -16
  700. package/build/components/Tooltip/index.js.map +0 -1
  701. package/build/components/Tooltip/tsconfig.tsbuildinfo +0 -1
  702. package/build/components/index.css +0 -3
  703. package/build/components/index.css.map +0 -1
  704. package/build/components/static.css +0 -2
  705. package/build/components/static.css.map +0 -1
  706. package/build/components/static.js +0 -10
  707. package/build/components/static.js.map +0 -1
  708. package/build/components/types/src/components/Hero/HeroPlayground.d.ts +0 -2
  709. package/build/components/types/src/components/Modal/ModalProductBody.d.ts +0 -10
  710. package/build/lib/after-components.css +0 -2
  711. package/build/lib/after-components.css.map +0 -1
  712. package/build/lib/before-components.css +0 -3
  713. package/build/lib/before-components.css.map +0 -1
  714. package/build/lib/scripts.css +0 -2
  715. package/build/lib/scripts.css.map +0 -1
  716. package/src/components/Accordion/Accordion.mdx +0 -240
  717. package/src/components/Alert/Alert.mdx +0 -141
  718. package/src/components/Bar/Bar.mdx +0 -203
  719. package/src/components/BlockAction/BlockAction.mdx +0 -244
  720. package/src/components/BodyBanner/BodyBanner.mdx +0 -268
  721. package/src/components/Breadcrumbs/Breadcrumbs.mdx +0 -84
  722. package/src/components/Button/Button.mdx +0 -273
  723. package/src/components/Buttons/Buttons.mdx +0 -39
  724. package/src/components/Card/Card.mdx +0 -334
  725. package/src/components/Carousel/Carousel.mdx +0 -159
  726. package/src/components/CarouselPromotions/CarouselPromotions.mdx +0 -246
  727. package/src/components/CartTable/CartTable.mdx +0 -129
  728. package/src/components/Container/Container.mdx +0 -73
  729. package/src/components/Controls/Controls.mdx +0 -469
  730. package/src/components/Cover/Cover.mdx +0 -87
  731. package/src/components/Divider/Divider.mdx +0 -65
  732. package/src/components/Dropdown/Dropdown.mdx +0 -260
  733. package/src/components/Expander/Expander.mdx +0 -153
  734. package/src/components/FeatureAccordion/FeatureAccordion.mdx +0 -33
  735. package/src/components/Forms/Autocomplete/Autocomplete.mdx +0 -198
  736. package/src/components/Forms/Checkbox/Checkbox.mdx +0 -139
  737. package/src/components/Forms/DatePicker/DatePicker.mdx +0 -149
  738. package/src/components/Forms/Field/Field.mdx +0 -383
  739. package/src/components/Forms/Fieldset/Fieldset.mdx +0 -178
  740. package/src/components/Forms/File/File.mdx +0 -88
  741. package/src/components/Forms/FormTooltip.mdx +0 -51
  742. package/src/components/Forms/Forms.mdx +0 -48
  743. package/src/components/Forms/Group/Group.mdx +0 -146
  744. package/src/components/Forms/Hint/Hint.mdx +0 -40
  745. package/src/components/Forms/InputStepper/InputStepper.mdx +0 -147
  746. package/src/components/Forms/Label/Label.mdx +0 -95
  747. package/src/components/Forms/Message/Message.mdx +0 -40
  748. package/src/components/Forms/Radio/Radio.mdx +0 -98
  749. package/src/components/Forms/RangeSlider/RangeSlider.mdx +0 -304
  750. package/src/components/Forms/Select/Select.mdx +0 -106
  751. package/src/components/Forms/TextArea/TextArea.mdx +0 -109
  752. package/src/components/Forms/TextInput/TextInput.mdx +0 -153
  753. package/src/components/Gauge/Gauge.mdx +0 -35
  754. package/src/components/Grid/Grid.mdx +0 -320
  755. package/src/components/Hero/Hero.mdx +0 -168
  756. package/src/components/Hero/HeroPlayground.tsx +0 -369
  757. package/src/components/Icon/Icon.mdx +0 -172
  758. package/src/components/IconList/IconList.mdx +0 -53
  759. package/src/components/Image/Image.mdx +0 -175
  760. package/src/components/Link/Link.mdx +0 -238
  761. package/src/components/List/List.mdx +0 -216
  762. package/src/components/Loader/Loader.mdx +0 -148
  763. package/src/components/Modal/Modal.mdx +0 -565
  764. package/src/components/Modal/ModalProductBody.tsx +0 -52
  765. package/src/components/Pagination/Pagination.mdx +0 -45
  766. package/src/components/Pagination/tests/utils.js +0 -12
  767. package/src/components/Pill/Pill.mdx +0 -41
  768. package/src/components/Progress/Progress.mdx +0 -119
  769. package/src/components/PromotionCard/PromotionCard.mdx +0 -191
  770. package/src/components/Section/Section.mdx +0 -397
  771. package/src/components/Skeleton/Skeleton.mdx +0 -90
  772. package/src/components/SkipLink/SkipLink.mdx +0 -23
  773. package/src/components/Stepbar/Stepbar.mdx +0 -137
  774. package/src/components/Sticker/Sticker.mdx +0 -50
  775. package/src/components/Table/Table.mdx +0 -199
  776. package/src/components/Tabs/Tabs.mdx +0 -373
  777. package/src/components/Tag/Tag.mdx +0 -52
  778. package/src/components/Testimonial/Testimonial.mdx +0 -41
  779. package/src/components/Tile/Tile.mdx +0 -163
  780. package/src/components/Tooltip/Tooltip.mdx +0 -227
  781. package/src/styles/after-components.scss +0 -2
  782. package/src/styles/before-components.scss +0 -18
  783. /package/build/lib/{after-components.js → base.js} +0 -0
  784. /package/build/lib/{before-components.js → utilities.js} +0 -0
@@ -1,10 +0,0 @@
1
- function e(e,t){return t.forEach(function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach(function(n){if("default"!==n&&!(n in e)){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}})}),Object.freeze(e)}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function n(e,t,n,i,r,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(i,r)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,h(i.key),i)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=v(e))||t){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function s(e,t,n){return(t=h(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(){
2
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
3
- var e,t,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",r=n.toStringTag||"@@toStringTag";function o(n,i,r,o){var l=i&&i.prototype instanceof s?i:s,c=Object.create(l.prototype);return d(c,"_invoke",function(n,i,r){var o,s,l,c=0,u=r||[],d=!1,p={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return o=t,s=0,l=e,p.n=n,a}};function f(n,i){for(s=n,l=i,t=0;!d&&c&&!r&&t<u.length;t++){var r,o=u[t],f=p.p,h=o[2];n>3?(r=h===i)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=f&&((r=n<2&&f<o[1])?(s=0,p.v=i,p.n=o[1]):f<h&&(r=n<3||o[0]>i||i>h)&&(o[4]=n,o[5]=i,p.n=h,s=0))}if(r||n>1)return a;throw d=!0,i}return function(r,u,h){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&f(u,h),s=u,l=h;(t=s<2?e:l)||!d;){o||(s?s<3?(s>1&&(p.n=-1),f(s,l)):p.n=l:p.v=l);try{if(c=2,o){if(s||(r="next"),t=o[r]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+r+"' method"),s=1);o=e}else if((t=(d=p.n<0)?l:n.call(i,p))!==a)break}catch(t){o=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(n,r,o),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var p=[][i]?t(t([][i]())):(d(t={},i,function(){return this}),t),f=c.prototype=s.prototype=Object.create(p);function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,d(e,r,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=c,d(f,"constructor",c),d(c,"constructor",l),l.displayName="GeneratorFunction",d(c,r,"GeneratorFunction"),d(f),d(f,r,"Generator"),d(f,i,function(){return this}),d(f,"toString",function(){return"[object Generator]"}),(u=function(){return{w:o,m:h}})()}function d(e,t,n,i){var r=Object.defineProperty;try{r({},"",{})}catch(e){r=0}d=function(e,t,n,i){function o(t,n){d(e,t,function(e){return this._invoke(t,n,e)})}t?r?r(e,t,{value:n,enumerable:!i,configurable:!i,writable:!i}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},d(e,t,n,i)}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||v(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||v(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function v(e,n){if(e){if("string"==typeof e)return t(e,n);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?t(e,n):void 0}}function g(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var y,b={exports:{}};var _=(y||(y=1,b.exports=function(){var e=["decimals","thousand","mark","prefix","suffix","encoder","decoder","negativeBefore","negative","edit","undo"];function t(e){return e.split("").reverse().join("")}function n(e,t){return e.substring(0,t.length)===t}function i(e,t){return e.slice(-1*t.length)===t}function r(e,t,n){if((e[t]||e[n])&&e[t]===e[n])throw new Error(t)}function o(e){return"number"==typeof e&&isFinite(e)}function a(e,t){return e=e.toString().split("e"),(+((e=(e=Math.round(+(e[0]+"e"+(e[1]?+e[1]+t:t)))).toString().split("e"))[0]+"e"+(e[1]?+e[1]-t:-t))).toFixed(t)}function s(e,n,i,r,s,l,c,u,d,p,f,h){var m,v,g,y=h,b="",_="";return l&&(h=l(h)),!!o(h)&&(!1!==e&&0===parseFloat(h.toFixed(e))&&(h=0),h<0&&(m=!0,h=Math.abs(h)),!1!==e&&(h=a(h,e)),-1!==(h=h.toString()).indexOf(".")?(g=(v=h.split("."))[0],i&&(b=i+v[1])):g=h,n&&(g=t(g).match(/.{1,3}/g),g=t(g.join(t(n)))),m&&u&&(_+=u),r&&(_+=r),m&&d&&(_+=d),_+=g,_+=b,s&&(_+=s),p&&(_=p(_,y)),_)}function l(e,t,r,a,s,l,c,u,d,p,f,h){var m,v="";return f&&(h=f(h)),!(!h||"string"!=typeof h)&&(u&&n(h,u)&&(h=h.replace(u,""),m=!0),a&&n(h,a)&&(h=h.replace(a,"")),d&&n(h,d)&&(h=h.replace(d,""),m=!0),s&&i(h,s)&&(h=h.slice(0,-1*s.length)),t&&(h=h.split(t).join("")),r&&(h=h.replace(r,".")),m&&(v+="-"),""!==(v=(v+=h).replace(/[^0-9\.\-.]/g,""))&&(v=Number(v),c&&(v=c(v)),!!o(v)&&v))}function c(t){var n,i,o,a={};for(void 0===t.suffix&&(t.suffix=t.postfix),n=0;n<e.length;n+=1)if(void 0===(o=t[i=e[n]]))"negative"!==i||a.negativeBefore?"mark"===i&&"."!==a.thousand?a[i]=".":a[i]=!1:a[i]="-";else if("decimals"===i){if(!(o>=0&&o<8))throw new Error(i);a[i]=o}else if("encoder"===i||"decoder"===i||"edit"===i||"undo"===i){if("function"!=typeof o)throw new Error(i);a[i]=o}else{if("string"!=typeof o)throw new Error(i);a[i]=o}return r(a,"mark","thousand"),r(a,"prefix","negative"),r(a,"prefix","negativeBefore"),a}function u(t,n,i){var r,o=[];for(r=0;r<e.length;r+=1)o.push(t[e[r]]);return o.push(i),n.apply("",o)}function d(e){if(!(this instanceof d))return new d(e);"object"==typeof e&&(e=c(e),this.to=function(t){return u(e,s,t)},this.from=function(t){return u(e,l,t)})}return d}()),b.exports),w=g(_);function S(e){return e.charAt(0).toLowerCase()+e.slice(1)}var E={TAB:["Tab"],ESC:["Esc","Escape"],ARROWLEFT:["Left","ArrowLeft"],ARROWUP:["Up","ArrowUp"],ARROWRIGHT:["Right","ArrowRight"],ARROWDOWN:["Down","ArrowDown"]},x=function(){return o(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{direction:"horizontal"};i(this,e),this.elems=t,this.config=n,this.isActive=!1,this.onKeydown=this.onKeydown.bind(this)},[{key:"init",value:function(){document.addEventListener("keydown",this.onKeydown),this.isActive=!0}},{key:"destroy",value:function(){document.removeEventListener("keydown",this.onKeydown),this.isActive=!1}},{key:"update",value:function(e){this.elems=e}},{key:"onKeydown",value:function(e){var t=this.elems.indexOf(document.activeElement);(E.ARROWUP.includes(e.key)||E.ARROWDOWN.includes(e.key))&&"horizontal"===this.config.direction||(E.ARROWLEFT.includes(e.key)||E.ARROWRIGHT.includes(e.key))&&"vertical"===this.config.direction||((E.ARROWDOWN.includes(e.key)||E.ARROWRIGHT.includes(e.key))&&(e.preventDefault(),t>=0&&t<this.elems.length-1?this.elems[t+1].focus():this.elems[0].focus()),(E.ARROWUP.includes(e.key)||E.ARROWLEFT.includes(e.key))&&(e.preventDefault(),t>=1?this.elems[t-1].focus():this.elems[this.elems.length-1].focus()),E.TAB.includes(e.key)&&this.destroy())}}])}(),k="toggleTrigger",T={activeClass:"is-active",settingsAttr:"data-toggle"},C=function(){function e(t,n){return i(this,e),this.element=t,this.config=c(c({},T),n),this.settings=[],this.targets=[],this.hasClickOutside=!1,this.handleClick=this.handleClick.bind(this),this.handleClickOutside=this.handleClickOutside.bind(this),this.element.ODS_Toggle=this,this.init(),this}return o(e,[{key:"doToggle",value:function(e){var t=e.dispatchEvent,n=void 0===t||t,i=e.element,r=e.attribute,o=e.value,a=e.action,s=c({},e),l={trigger:this.element,element:i},u=r,d=i,p=o;"icon"===u&&(u="xlink:href",d=i.querySelector("use")),"text"===u&&(d=i.querySelector("[data-toggle-text-target]")||i),void 0===p&&(p=!1);var f=A({element:d,attribute:u,action:a,value:p,dispatchEvent:n,eventDetail:l});return null!==f&&(s.value=f),s}},{key:"init",value:function(){return this.settings=this.parseSettings(),this.targets=this.setupTargets(),this.hasClickOutside=this.settings.some(function(e){return!0===e.clickOutside}),this.element.addEventListener("click",this.handleClick),this.hasClickOutside&&document.addEventListener("click",this.handleClickOutside),this.targets}},{key:"handleClick",value:function(){var e=this;this.targets=this.targets.map(function(t){return e.doToggle(t)}),this.element.dispatchEvent(new CustomEvent(k,{bubbles:!0}))}},{key:"handleClickOutside",value:function(e){var t=this,n=e.target;this.element.contains(n)||this.targets.some(function(e){return e.element.contains(n)})||this.targets.some(function(e){return"class"===e.attribute&&"string"==typeof e.value?e.element.classList.contains(e.value):"hidden"===e.attribute&&!e.element.hasAttribute("hidden")})&&(this.targets=this.targets.map(function(e){return t.doToggle(e)}),this.element.dispatchEvent(new CustomEvent(k,{bubbles:!0})))}},{key:"destroy",value:function(){this.element.removeEventListener("click",this.handleClick),this.hasClickOutside&&document.removeEventListener("click",this.handleClickOutside),this.settings=[],this.targets=[],this.hasClickOutside=!1}},{key:"update",value:function(){this.removeNonExistentTargets(),this.addNewTargets();var e=this.hasClickOutside;this.hasClickOutside=this.settings.some(function(e){return!0===e.clickOutside}),!e&&this.hasClickOutside?document.addEventListener("click",this.handleClickOutside):e&&!this.hasClickOutside&&document.removeEventListener("click",this.handleClickOutside)}},{key:"parseSettings",value:function(){var e=this.element.getAttribute(this.config.settingsAttr),t=this.element.getAttribute("aria-controls"),n=[];try{e&&(n=JSON.parse(e))}catch(e){console.warn("Invalid JSON in data-toggle attribute",e)}if(t){var i=this.element.getAttribute("aria-expanded");n=[].concat(f(i?[{target:"self",attribute:"aria-expanded"}]:[]),[{target:t.split(" ").map(function(e){return"#".concat(e)}).join(","),attribute:"hidden"}],f(Array.isArray(n)?n:[]))}return n}},{key:"setupTargets",value:function(){var t=this.element;return this.settings.reduce(function(n,i){return i&&i.target?[].concat(f(n),f(i.target.split(",").reduce(function(n,r){return[].concat(f(n),f(e.getTargetElementsFromString({target:r,trigger:t}).map(function(e){return c(c({},i),{},{element:e})})))},[]))):n},[])}},{key:"removeNonExistentTargets",value:function(){this.targets=this.targets.filter(function(e){return document.contains(e.element)})}},{key:"addNewTargets",value:function(){var e=this,t=this.setupTargets().filter(function(t){return!e.targets.find(function(e){return e.element===t.element&&e.action===t.action})});this.targets=[].concat(f(this.targets),f(t))}}],[{key:"getTargetElementsFromString",value:function(e){var t=e.target,n=e.trigger,i=t.trim();return"self"===i?[n]:"parent"===i?[n.parentNode]:"previous"===i?[n.previousElementSibling]:"next"===i?[n.nextElementSibling]:"string"==typeof i?Array.from(document.querySelectorAll(i)):[]}},{key:"getInstance",value:function(e){return e&&e.ODS_Toggle?e.ODS_Toggle:null}}])}();function A(e){var t=e.element,n=e.attribute,i=e.action,r=e.value,o=e.dispatchEvent,a=void 0===o||o,s=e.eventDetail,l=null;if(!(t&&t instanceof Element))return l;if("focus"===i&&setTimeout(function(){return t.focus()},20),"click"===i&&t.click(),"class"===n&&"string"==typeof r&&(t.classList.toggle(r),l=r),"text"===n){var c=t.textContent;t.textContent=(null==r?void 0:r.toString())||"",l=c}return"class"!==n&&"text"!==n&&void 0===i&&(l=t.getAttribute(n),"hidden"===n?t.hasAttribute(n)?t.removeAttribute(n):t.setAttribute(n,""):r?t.setAttribute(n,String(r)):t.setAttribute(n,String(!("true"===l)))),a&&t.dispatchEvent(new CustomEvent("toggle",{detail:s,bubbles:!0})),l}var O,M,L,D,P,N,I,R,z,B,F={buttonSelector:"[data-accordion-toggle]"},H=function(){return o(function e(t,n){return i(this,e),this.element=t,this.config=c(c({},F),n),this.onFocus=this.onFocus.bind(this),this.onClick=this.onClick.bind(this),this.element.ODS_Accordion=this,this.init(),this},[{key:"onFocus",value:function(e){this.rovingTabindex.isActive||this.rovingTabindex.init();var t=e.currentTarget;window.location.hash.substring(1)===t.getAttribute("id")&&"false"===t.getAttribute("aria-expanded")&&t.click()}},{key:"init",value:function(){var e=this;this.buttons=Array.from(this.element.querySelectorAll(this.config.buttonSelector)),this.rovingTabindex?this.rovingTabindex.update(this.buttons):this.rovingTabindex=new x(this.buttons,{direction:"vertical"}),this.buttons.forEach(function(t){t.addEventListener("focus",e.onFocus),t.getAttribute("data-toggle")||t.addEventListener("click",e.onClick)})}},{key:"onClick",value:function(e){var t=e.currentTarget,n=this.element.querySelector("#".concat(t.getAttribute("aria-controls")));A({element:t,attribute:"aria-expanded"}),A({element:n,attribute:"hidden"})}},{key:"destroy",value:function(){var e=this;this.rovingTabindex.destroy(),this.buttons.forEach(function(t){t.removeEventListener("focus",e.onFocus),t.removeEventListener("click",e.onClick)})}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Accordion?e.ODS_Accordion:null}}])}(),V={autoselect:!0,wrapperClassName:"",menuClassName:"",optionClassName:"",customInputClassName:"",displayMenu:"overlay",tAssistiveHint:function(){return"Pre prezeranie výsledkov automatického dopĺňania použite šípky nahor a nadol a pre výber konkrétneho výsledku použite tlačidlo Enter. Pri dotykových zariadeniach použite dotyk alebo potiahnutie prstom do strany."}},j=function(){return o(function e(t,n){return i(this,e),this.element=t,this.config=c(c({},V),n),this.onPageshow=this.onPageshow.bind(this),this.instance=null,this.element.ODS_Autocomplete=this,this.init().catch(console.error),this},[{key:"init",value:(e=function(e){return function(){var t=this,i=arguments;return new Promise(function(r,o){var a=e.apply(t,i);function s(e){n(a,r,o,s,l,"next",e)}function l(e){n(a,r,o,s,l,"throw",e)}s(void 0)})}}(u().m(function e(){var t,n,i;return u().w(function(e){for(;;)switch(e.n){case 0:if(t=this.element.getAttribute("data-autocomplete-config"),n={},t)try{n=JSON.parse(t)}catch(e){}return this.config=c(c({},this.config),n),e.n=1,Promise.resolve().then(function(){return Ys});case 1:i=e.v.default,"SELECT"===this.element.tagName?i.enhanceSelectElement(c({selectElement:this.element},this.config)):i(c({element:this.element},this.config)),window.addEventListener("pageshow",this.onPageshow);case 2:return e.a(2)}},e,this)})),function(){return e.apply(this,arguments)})},{key:"onPageshow",value:function(e){e.persisted&&window&&window.location.reload()}},{key:"destroy",value:function(){window.removeEventListener("pageshow",this.onPageshow),this.element.ODS_Autocomplete=null}},{key:"update",value:function(){this.destroy(),this.init().catch(console.error)}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Autocomplete?e.ODS_Autocomplete:null}}]);var e}(),U={},$=[],q=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function G(e,t){for(var n in t)e[n]=t[n];return e}function W(e){var t=e.parentNode;t&&t.removeChild(e)}function Y(e,t,n){var i,r,o,a={};for(o in t)"key"==o?i=t[o]:"ref"==o?r=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?O.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===a[o]&&(a[o]=e.defaultProps[o]);return K(e,a,i,r,null)}function K(e,t,n,i,r){var o={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++L:r};return null==r&&null!=M.vnode&&M.vnode(o),o}function X(e){return e.children}function J(e,t){this.props=e,this.context=t}function Q(e,t){if(null==t)return e.__?Q(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?Q(e):null}function Z(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return Z(e)}}function ee(e){(!e.__d&&(e.__d=!0)&&D.push(e)&&!te.__r++||N!==M.debounceRendering)&&((N=M.debounceRendering)||P)(te)}function te(){for(var e;te.__r=D.length;)e=D.sort(function(e,t){return e.__v.__b-t.__v.__b}),D=[],e.some(function(e){var t,n,i,r,o,a;e.__d&&(o=(r=(t=e).__v).__e,(a=t.__P)&&(n=[],(i=G({},r)).__v=r.__v+1,ue(a,r,i,t.__n,void 0!==a.ownerSVGElement,null!=r.__h?[o]:null,n,null==o?Q(r):o,r.__h),de(n,r),r.__e!=o&&Z(r)))})}function ne(e,t,n,i,r,o,a,s,l,c){var u,d,p,f,h,m,v,g=i&&i.__k||$,y=g.length;for(n.__k=[],u=0;u<t.length;u++)if(null!=(f=n.__k[u]=null==(f=t[u])||"boolean"==typeof f?null:"string"==typeof f||"number"==typeof f||"bigint"==typeof f?K(null,f,null,null,f):Array.isArray(f)?K(X,{children:f},null,null,null):f.__b>0?K(f.type,f.props,f.key,null,f.__v):f)){if(f.__=n,f.__b=n.__b+1,null===(p=g[u])||p&&f.key==p.key&&f.type===p.type)g[u]=void 0;else for(d=0;d<y;d++){if((p=g[d])&&f.key==p.key&&f.type===p.type){g[d]=void 0;break}p=null}ue(e,f,p=p||U,r,o,a,s,l,c),h=f.__e,(d=f.ref)&&p.ref!=d&&(v||(v=[]),p.ref&&v.push(p.ref,null,f),v.push(d,f.__c||h,f)),null!=h?(null==m&&(m=h),"function"==typeof f.type&&f.__k===p.__k?f.__d=l=ie(f,l,e):l=oe(e,f,p,g,h,l),"function"==typeof n.type&&(n.__d=l)):l&&p.__e==l&&l.parentNode!=e&&(l=Q(p))}for(n.__e=m,u=y;u--;)null!=g[u]&&("function"==typeof n.type&&null!=g[u].__e&&g[u].__e==n.__d&&(n.__d=Q(i,u+1)),fe(g[u],g[u]));if(v)for(u=0;u<v.length;u++)pe(v[u],v[++u],v[++u])}function ie(e,t,n){for(var i,r=e.__k,o=0;r&&o<r.length;o++)(i=r[o])&&(i.__=e,t="function"==typeof i.type?ie(i,t,n):oe(n,i,i,r,i.__e,t));return t}function re(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some(function(e){re(e,t)}):t.push(e)),t}function oe(e,t,n,i,r,o){var a,s,l;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||r!=o||null==r.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(r),a=null;else{for(s=o,l=0;(s=s.nextSibling)&&l<i.length;l+=2)if(s==r)break e;e.insertBefore(r,o),a=o}return void 0!==a?a:r.nextSibling}function ae(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||q.test(t)?n:n+"px"}function se(e,t,n,i,r){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||ae(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||ae(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?i||e.addEventListener(t,o?ce:le,o):e.removeEventListener(t,o?ce:le,o);else if("dangerouslySetInnerHTML"!==t){if(r)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function le(e){this.l[e.type+!1](M.event?M.event(e):e)}function ce(e){this.l[e.type+!0](M.event?M.event(e):e)}function ue(e,t,n,i,r,o,a,s,l){var c,u,d,p,f,h,m,v,g,y,b,_=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(l=n.__h,s=t.__e=n.__e,t.__h=null,o=[s]),(c=M.__b)&&c(t);try{e:if("function"==typeof _){if(v=t.props,g=(c=_.contextType)&&i[c.__c],y=c?g?g.props.value:c.__:i,n.__c?m=(u=t.__c=n.__c).__=u.__E:("prototype"in _&&_.prototype.render?t.__c=u=new _(v,y):(t.__c=u=new J(v,y),u.constructor=_,u.render=he),g&&g.sub(u),u.props=v,u.state||(u.state={}),u.context=y,u.__n=i,d=u.__d=!0,u.__h=[]),null==u.__s&&(u.__s=u.state),null!=_.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=G({},u.__s)),G(u.__s,_.getDerivedStateFromProps(v,u.__s))),p=u.props,f=u.state,d)null==_.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(null==_.getDerivedStateFromProps&&v!==p&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(v,y),!u.__e&&null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(v,u.__s,y)||t.__v===n.__v){u.props=v,u.state=u.__s,t.__v!==n.__v&&(u.__d=!1),u.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(e){e&&(e.__=t)}),u.__h.length&&a.push(u);break e}null!=u.componentWillUpdate&&u.componentWillUpdate(v,u.__s,y),null!=u.componentDidUpdate&&u.__h.push(function(){u.componentDidUpdate(p,f,h)})}u.context=y,u.props=v,u.state=u.__s,(c=M.__r)&&c(t),u.__d=!1,u.__v=t,u.__P=e,c=u.render(u.props,u.state,u.context),u.state=u.__s,null!=u.getChildContext&&(i=G(G({},i),u.getChildContext())),d||null==u.getSnapshotBeforeUpdate||(h=u.getSnapshotBeforeUpdate(p,f)),b=null!=c&&c.type===X&&null==c.key?c.props.children:c,ne(e,Array.isArray(b)?b:[b],t,n,i,r,o,a,s,l),u.base=t.__e,t.__h=null,u.__h.length&&a.push(u),m&&(u.__E=u.__=null),u.__e=!1}else null==o&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,i,r,o,a,s){var l,c,u,d=n.props,p=t.props,f=t.type,h=0;if("svg"===f&&(r=!0),null!=o)for(;h<o.length;h++)if((l=o[h])&&"setAttribute"in l==!!f&&(f?l.localName===f:3===l.nodeType)){e=l,o[h]=null;break}if(null==e){if(null===f)return document.createTextNode(p);e=r?document.createElementNS("http://www.w3.org/2000/svg",f):document.createElement(f,p.is&&p),o=null,s=!1}if(null===f)d===p||s&&e.data===p||(e.data=p);else{if(o=o&&O.call(e.childNodes),c=(d=n.props||U).dangerouslySetInnerHTML,u=p.dangerouslySetInnerHTML,!s){if(null!=o)for(d={},h=0;h<e.attributes.length;h++)d[e.attributes[h].name]=e.attributes[h].value;(u||c)&&(u&&(c&&u.__html==c.__html||u.__html===e.innerHTML)||(e.innerHTML=u&&u.__html||""))}if(function(e,t,n,i,r){var o;for(o in n)"children"===o||"key"===o||o in t||se(e,o,null,n[o],i);for(o in t)r&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||se(e,o,t[o],n[o],i)}(e,p,d,r,s),u)t.__k=[];else if(h=t.props.children,ne(e,Array.isArray(h)?h:[h],t,n,i,r&&"foreignObject"!==f,o,a,o?o[0]:n.__k&&Q(n,0),s),null!=o)for(h=o.length;h--;)null!=o[h]&&W(o[h]);s||("value"in p&&void 0!==(h=p.value)&&(h!==e.value||"progress"===f&&!h||"option"===f&&h!==d.value)&&se(e,"value",h,d.value,!1),"checked"in p&&void 0!==(h=p.checked)&&h!==e.checked&&se(e,"checked",h,d.checked,!1))}return e}(n.__e,t,n,i,r,o,a,l);(c=M.diffed)&&c(t)}catch(e){t.__v=null,(l||null!=o)&&(t.__e=s,t.__h=!!l,o[o.indexOf(s)]=null),M.__e(e,t,n)}}function de(e,t){M.__c&&M.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){M.__e(e,t.__v)}})}function pe(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){M.__e(e,n)}}function fe(e,t,n){var i,r;if(M.unmount&&M.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||pe(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){M.__e(e,t)}i.base=i.__P=null}if(i=e.__k)for(r=0;r<i.length;r++)i[r]&&fe(i[r],t,"function"!=typeof e.type);n||null==e.__e||W(e.__e),e.__e=e.__d=void 0}function he(e,t,n){return this.constructor(e,n)}function me(e,t,n){var i,r;M.__&&M.__(e,t),i=!1?null:t.__k,r=[],ue(t,e=t.__k=Y(X,null,[e]),i||U,U,void 0!==t.ownerSVGElement,i?null:t.firstChild?O.call(t.childNodes):null,r,i?i.__e:t.firstChild,false),de(r,e)}O=$.slice,M={__e:function(e,t){for(var n,i,r;t=t.__;)if((n=t.__c)&&!n.__)try{if((i=n.constructor)&&null!=i.getDerivedStateFromError&&(n.setState(i.getDerivedStateFromError(e)),r=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),r=n.__d),r)return n.__E=n}catch(t){e=t}throw e}},L=0,J.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=G({},this.state),"function"==typeof e&&(e=e(G({},n),this.props)),e&&G(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),ee(this))},J.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ee(this))},J.prototype.render=X,D=[],P="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,te.__r=0,I=0;var ve=0,ge=[],ye=M.__b,be=M.__r,_e=M.diffed,we=M.__c,Se=M.unmount;function Ee(e,t){M.__h&&M.__h(z,e,ve||t),ve=0;var n=z.__H||(z.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function xe(e){return ve=1,function(e,t){var n=Ee(R++,2);return n.t=e,n.__c||(n.__=[Pe(void 0,t),function(e){var t=n.t(n.__[0],e);n.__[0]!==t&&(n.__=[t,n.__[1]],n.__c.setState({}))}],n.__c=z),n.__}(Pe,e)}function ke(e,t){var n=Ee(R++,3);!M.__s&&De(n.__H,t)&&(n.__=e,n.__H=t,z.__H.__h.push(n))}function Te(e){return ve=5,function(e,t){var n=Ee(R++,7);return De(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}(function(){return{current:e}},[])}function Ce(e){var t=z.context[e.__c],n=Ee(R++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(z)),t.props.value):e.__}function Ae(){for(var e;e=ge.shift();)if(e.__P)try{e.__H.__h.forEach(Me),e.__H.__h.forEach(Le),e.__H.__h=[]}catch(t){e.__H.__h=[],M.__e(t,e.__v)}}M.__b=function(e){z=null,ye&&ye(e)},M.__r=function(e){be&&be(e),R=0;var t=(z=e.__c).__H;t&&(t.__h.forEach(Me),t.__h.forEach(Le),t.__h=[])},M.diffed=function(e){_e&&_e(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==ge.push(t)&&B===M.requestAnimationFrame||((B=M.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(i),Oe&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);Oe&&(t=requestAnimationFrame(n))})(Ae)),z=null},M.__c=function(e,t){t.some(function(e){try{e.__h.forEach(Me),e.__h=e.__h.filter(function(e){return!e.__||Le(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],M.__e(n,e.__v)}}),we&&we(e,t)},M.unmount=function(e){Se&&Se(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{Me(e)}catch(e){t=e}}),t&&M.__e(t,n.__v))};var Oe="function"==typeof requestAnimationFrame;function Me(e){var t=z,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),z=t}function Le(e){var t=z;e.__c=e.__(),z=t}function De(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function Pe(e,t){return"function"==typeof t?t(e):t}function Ne(e,t){for(var n in t)e[n]=t[n];return e}function Ie(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var i in t)if("__source"!==i&&e[i]!==t[i])return!0;return!1}function Re(e){this.props=e}(Re.prototype=new J).isPureReactComponent=!0,Re.prototype.shouldComponentUpdate=function(e,t){return Ie(this.props,e)||Ie(this.state,t)};var ze=M.__b;M.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ze&&ze(e)};var Be="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Fe(e){function t(t,n){var i=Ne({},t);return delete i.ref,e(i,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=Be,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var He=M.__e;M.__e=function(e,t,n){if(e.then)for(var i,r=t;r=r.__;)if((i=r.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);He(e,t,n)};var Ve=M.unmount;function je(){this.__u=0,this.t=null,this.__b=null}function Ue(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function $e(){this.u=null,this.o=null}M.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),Ve&&Ve(e)},(je.prototype=new J).__c=function(e,t){var n=t.__c,i=this;null==i.t&&(i.t=[]),i.t.push(n);var r=Ue(i.__v),o=!1,a=function(){o||(o=!0,n.__R=null,r?r(s):s())};n.__R=a;var s=function(){if(! --i.__u){if(i.state.__e){var e=i.state.__e;i.__v.__k[0]=function e(t,n,i){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,n,i)}),t.__c&&t.__c.__P===n&&(t.__e&&i.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=i)),t}(e,e.__c.__P,e.__c.__O)}var t;for(i.setState({__e:i.__b=null});t=i.t.pop();)t.forceUpdate()}},l=!0===t.__h;i.__u++||l||i.setState({__e:i.__b=i.__v.__k[0]}),e.then(a,a)},je.prototype.componentWillUnmount=function(){this.t=[]},je.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,i){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),t.__c.__H=null),null!=(t=Ne({},t)).__c&&(t.__c.__P===i&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,n,i)})),t}(this.__b,n,i.__O=i.__P)}this.__b=null}var r=t.__e&&Y(X,null,e.fallback);return r&&(r.__h=null),[Y(X,null,t.__e?null:e.children),r]};var qe=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};($e.prototype=new J).__e=function(e){var t=this,n=Ue(t.__v),i=t.o.get(e);return i[0]++,function(r){var o=function(){t.props.revealOrder?(i.push(r),qe(t,e,i)):r()};n?n(o):o()}},$e.prototype.render=function(e){this.u=null,this.o=new Map;var t=re(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},$e.prototype.componentDidUpdate=$e.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){qe(e,n,t)})};var Ge="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,We=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ye="undefined"!=typeof document,Ke=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};J.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(J.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Xe=M.event;function Je(){}function Qe(){return this.cancelBubble}function Ze(){return this.defaultPrevented}M.event=function(e){return Xe&&(e=Xe(e)),e.persist=Je,e.isPropagationStopped=Qe,e.isDefaultPrevented=Ze,e.nativeEvent=e};var et={configurable:!0,get:function(){return this.class}},tt=M.vnode;M.vnode=function(e){var t=e.type,n=e.props,i=n;if("string"==typeof t){var r=-1===t.indexOf("-");for(var o in i={},n){var a=n[o];Ye&&"children"===o&&"noscript"===t||"value"===o&&"defaultValue"in n&&null==a||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===a?a="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!Ke(n.type)?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(o)?o=o.toLowerCase():r&&We.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===a&&(a=void 0),i[o]=a)}"select"==t&&i.multiple&&Array.isArray(i.value)&&(i.value=re(n.children).forEach(function(e){e.props.selected=-1!=i.value.indexOf(e.props.value)})),"select"==t&&null!=i.defaultValue&&(i.value=re(n.children).forEach(function(e){e.props.selected=i.multiple?-1!=i.defaultValue.indexOf(e.props.value):i.defaultValue==e.props.value})),e.props=i,n.class!=n.className&&(et.enumerable="className"in n,null!=n.className&&(i.class=n.className),Object.defineProperty(i,"className",et))}e.$$typeof=Ge,tt&&tt(e)};var nt=M.__r;M.__r=function(e){nt&&nt(e),e.__c};var it={wrapper:"daypickr",header:"daypickr__header",select:"daypickr__select",monthSelect:"daypickr__select--month",yearSelect:"daypickr__select--year",button:"daypickr__button",paginationButton:"daypickr__button--pagination",nextMonthButton:"daypickr__button--pagination-next",prevMonthButton:"daypickr__button--pagination-prev",yearMonthWrapper:"daypickr__year-month-wrapper",pagination:"daypickr__pagination",table:"daypickr__calendar",tableRow:"daypickr__calendar-row",tableCell:"daypickr__calendar-cell",tableHeaderRow:"daypickr__calendar-header-row",tableHeaderCell:"daypickr__calendar-header-cell",dayButton:"daypickr__day",isToday:"isToday",isSelected:"isSelected",srOnly:"sr-only",closeButton:"daypickr__button--close",toggleButton:"daypickr__button--toggle"};function rt(...e){return e.join(" ").trim()}var ot={prevMonth:"previous month",nextMonth:"next month",month:"Month",year:"Year",weekdays:[{name:"Sunday",shortname:"Su"},{name:"Monday",shortname:"Mo"},{name:"Tuesday",shortname:"Tu"},{name:"Wednesday",shortname:"We"},{name:"Thursday",shortname:"Th"},{name:"Friday",shortname:"Fr"},{name:"Saturday",shortname:"Sa"}],months:["January","February","March","April","May","June","July","August","September","October","November","December"],openButton:"Choose date",closeButton:"Close"};function at(e){return e instanceof Date&&!isNaN(e.valueOf())}function st(e,t=1){const n=new Date(e),i=e.getDay(),r=(i<t?7:0)+i-t;return new Date(n.setDate(n.getDate()-r))}function lt(e,t=1){const n=new Date(e),i=n.getDay(),r=6+(i<t?-7:0)-(i-t);return new Date(n.setDate(n.getDate()+r))}function ct(e,t){const n=new Date(e);n.setDate(1);const i=new Date(e);i.setMonth(e.getMonth()+1,0);return function(e,t){const n=[];let i=e;for(;i.getTime()<t.getTime();)n.push(new Date(i)),i=new Date(i.setDate(i.getDate()+1));return n.push(new Date(i)),n}(st(n,t),lt(i,t))}function ut(e,t){return!(!at(e)||!at(t))&&(e.setHours(0,0,0,0),t.setHours(0,0,0,0),e.getTime()===t.getTime())}function dt(e,t){const n=new Date(e).setMonth(t),i=new Date(e.getFullYear(),t+1,0).getTime();return n>i?new Date(i):new Date(n)}var pt,ft,ht,mt=(ht={__c:ft="__cC"+I++,__:pt,Consumer:function(e,t){return e.children(t)},Provider:function(e){var t,n;return this.getChildContext||(t=[],(n={})[ft]=this,this.getChildContext=function(){return n},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some(ee)},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}}).Provider.__=ht.Consumer.contextType=ht,vt=()=>{const{firstDayOfWeek:e,classes:t,l10n:n,selected:i,setSelected:r,setView:o,handleKeyboardNavigation:a,focusedRef:s,view:l,disabledDayFn:c,locale:u}=Ce(mt),d=function(e,t){const n=e?.length?[...e]:[],i=n.splice(0,t);return[...n,...i]}(n.weekdays,e),p=function(e){const t=[];for(let n=0;n<e.length;n+=7)t.push(e.slice(n,n+7));return t}(ct(l,e));return Y("table",{className:t.table},Y("thead",null,Y("tr",{className:t.tableHeaderRow},d.map(e=>Y("th",{scope:"col",className:t.tableHeaderCell},Y("span",{className:t.srOnly},e.name),Y("span",{"aria-hidden":"true"},e.shortname))))),Y("tbody",null,p.map(e=>Y("tr",{className:t.tableRow},e.map(e=>{const n=i&&ut(e,i),d=ut(e,l),p=!function(e,t){return e.getMonth()===t.getMonth()}(e,l)||c(e),f=(h=e,ut(new Date,h)?t.isToday:void 0);var h;const m=n?t.isSelected:void 0,v=[t.dayButton,f,m],g=d?"0":"-1",y=e.toLocaleDateString(u),b=d?s:void 0;return Y("td",{role:"gridcell",className:t.tableCell},Y("button",{className:v.join(" "),type:"button",onClick:()=>{p||(r(e),o(e))},tabindex:g,onKeyUp:a,ref:b,"aria-disabled":p,"aria-label":y,"aria-selected":n},Y("span",{className:t.srOnly},y),Y("span",{"aria-hidden":"true"},e.getDate())))})))))},gt=Fe(({label:e,value:t,options:n,onChange:i,className:r,elemRef:o,...a},s)=>{const{classes:l}=Ce(mt);return Y("label",null,Y("span",{className:"sr-only"},e),Y("select",{className:rt(l.select,r),onChange:e=>i(e),ref:s,...a},n?.map(e=>Y("option",{value:e?.value||0===e?.value?e.value:e,selected:t===e?.value||t===e?"selected":void 0},e?.text?e.text:e))))}),yt=gt;function bt(e,t){const n=[];for(let i=e;i<=t;i++)n.push(i);return n}var _t=Fe((e,t)=>{const{l10n:n,min:i,max:r,view:o,setView:a,classes:s}=Ce(mt),l=new Date(i).getFullYear(),c=new Date(r).getFullYear();return Y(yt,{label:n.year,options:bt(l,c),value:o.getFullYear(),className:s.yearSelect,onChange:e=>{const t=new Date(o);t.setFullYear(parseInt(e.target.value,10)),a(t)},ref:t,...e})}),wt=_t,St=()=>{const{l10n:e,view:t,setView:n,classes:i}=Ce(mt);return Y(yt,{label:e.month,value:t.getMonth(),className:i.monthSelect,options:e.months?.map((e,t)=>({value:t,text:e})),onChange:e=>{const i=new Date(t);i.setMonth(parseInt(e.target.value,10)),n(i)}})},Et=({min:e="1900-01-01",max:t="2100-12-31",classes:n=it,l10n:i=ot,selectedDay:r,firstDayOfWeek:o=1,locale:a={},disabledDayFn:s=()=>{},onSelect:l=()=>{},formatDate:c=e=>function(e){return e&&e instanceof Date?`${e.getFullYear()}-${(e.getMonth()+1).toString().padStart(2,"0")}-${e.getDate().toString().padStart(2,"0")}`:""}(e),parseDate:u=e=>{const t=e.match(/(\d{2})\/(\d{2})\/(\d{4})/);return!!t&&new Date(t[3],t[2]-1,t[1])},calendarIcon:d,name:p,id:f})=>{const[h,m]=xe(r?new Date(r):new Date),[v,g]=xe(r?new Date(r):void 0),[y,b]=xe(!1),_=Te(!0),w=Te(),S=Te(),E=Te(),x=Te(),k=Te(),T=Te();var C,A,O;ke(()=>{l(v),b(!1)},[v]),ke(()=>{const e=e=>{"Tab"===e.key&&y&&(e.shiftKey||document.activeElement!==T.current||(e.preventDefault(),x.current.focus()),!e.shiftKey||document.activeElement!==x.current&&document.activeElement!==k.current||(e.preventDefault(),T.current.focus()))},t=e=>{"Escape"===e.key&&y&&b(!1)};return document.addEventListener("keydown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keydown",t)}},[y,T.current,x.current]),ke(()=>{const e=e=>{!k.current.contains(e.target)&&y&&b(!1)};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[y,k.current]),C=()=>{y?k.current.focus():document.activeElement===w.current||_.current?_.current=!1:E.current.focus()},A=[y,x.current,E.current,w.current],O=Ee(R++,4),!M.__s&&De(O.__H,A)&&(O.__=C,O.__H=A,z.__h.push(O));const L=e=>dt(e,e.getMonth()-1),D=e=>dt(e,e.getMonth()+1),P=()=>{b(!y)},N=({type:e,children:t,...n})=>Y(e,n,t&&t.length&&t.map(e=>N(e)));return Y(mt.Provider,{value:{firstDayOfWeek:o,classes:n,l10n:i,min:e,max:t,view:h,setView:m,selected:v,setSelected:g,handleKeyboardNavigation:e=>{let t=new Date(h);const n={ArrowLeft:()=>{t.setDate(h.getDate()-1)},ArrowRight:()=>{t.setDate(h.getDate()+1)},ArrowUp:()=>{t.setDate(h.getDate()-7)},ArrowDown:()=>{t.setDate(h.getDate()+7)},PageUp:()=>{e.shiftKey?t.setFullYear(h.getFullYear()-1):t=L(h)},PageDown:()=>{e.shiftKey?t.setFullYear(h.getFullYear()+1):t=D(h)},Home:()=>{t=st(h,o)},End:()=>{t=lt(h,o)}};Object.keys(n).includes(e.key)&&(e.preventDefault(),n[e.key]?.(),m(t),setTimeout(()=>{S.current.focus()},0))},focusedRef:S,disabledDayFn:s,locale:a}},Y("input",{id:`${f}-input`,type:"text",className:n.input,value:v&&v.toLocaleDateString(a),onChange:e=>(e=>{""===e.target.value&&g(void 0);const t=u(e.target.value);if(t)return m(t),g(t)})(e),ref:w}),Y("input",{type:"hidden",id:`${f}-value`,value:c(v),name:p}),Y("button",{type:"button","aria-controls":`${f}-dialog`,onClick:()=>P(),"aria-expanded":y,ref:E,className:n.toggleButton},d&&N(d),d?Y("span",{class:n.srOnly},i.openButton):i.openButton),Y("div",{className:n.wrapper,role:"dialog","aria-modal":"true","aria-labelledby":"daypickr-label",hidden:!y,ref:k,tabIndex:"-1"},Y("div",{className:"daypickr__content"},Y("h2",{id:"daypickr-label",className:"sr-only"},h.toLocaleString(a,{month:"long",year:"numeric"})),Y("div",{className:n.header},Y("div",{className:n.yearMonthWrapper},Y(wt,{ref:x}),Y(St,null)),Y("div",{className:n.pagination},Y("button",{type:"button",className:`${n.button} ${n.prevMonthButton}`,onClick:()=>{m(L(h))}},i.prevMonth),Y("button",{type:"button",className:`${n.button} ${n.nextMonthButton}`,onClick:()=>{m(D(h))}},i.nextMonth))),Y(vt,null),Y("button",{className:`${n.button} ${n.closeButton}`,type:"button",onClick:()=>P(),ref:T},i.closeButton))))},xt=({calendarIcon:e,classes:t=classNames,l10n:n=l10nEN,...i})=>{const r=({type:e,children:t,...n})=>Y(e,n,t&&t.length&&t.map(e=>r(e)));return Y(mt.Provider,{value:{classes:t,l10n:n}},Y("input",{type:"text",disabled:!0,className:t.input}),Y("button",{type:"button",className:t.toggleButton,disabled:!0},e&&r(e),e?Y("span",{class:t.srOnly},n.openButton):n.openButton))};var kt=function(e,t){return me(Y(Et,{...t}),e),{destroy(){!function(e){!!e.__k&&me(null,e)}(e),me(Y(xt,{...t}),e)}}},Tt={locale:"sk",classes:{wrapper:"daypickr",header:"daypickr__header",select:"daypickr__select",selectDisplay:"daypickr__select-display",monthSelect:"daypickr__select--month",yearSelect:"daypickr__select--year",button:"daypickr__button",paginationButton:"daypickr__button--pagination ",nextMonthButton:"daypickr__button--pagination-next btn btn--ghost btn--square btn--small",prevMonthButton:"daypickr__button--pagination-prev btn btn--ghost btn--square btn--small",yearMonthWrapper:"daypickr__year-month-wrapper",pagination:"daypickr__pagination",table:"daypickr__calendar",tableRow:"daypickr__calendar-row",tableCell:"daypickr__calendar-cell",tableHeaderRow:"daypickr__calendar-header-row",tableHeaderCell:"daypickr__calendar-header-cell",dayButton:"daypickr__day",isToday:"isToday",isSelected:"isSelected",srOnly:"sr-only",input:"form-group__item text-input",closeButton:"daypickr__button--close btn mb-none",toggleButton:"form-group__item btn btn--square"},firstDayOfWeek:1,l10n:{prevMonth:"predchádzajúci mesiac",nextMonth:"nasledujúci mesiac",month:"Mesiac",year:"Rok",weekdays:[{name:"Nedeľa",shortname:"Ne"},{name:"Pondelok",shortname:"Po"},{name:"Utorok",shortname:"Ut"},{name:"Streda",shortname:"St"},{name:"Štvrtok",shortname:"Št"},{name:"Piatok",shortname:"Pi"},{name:"Sobota",shortname:"So"}],months:["Január","Február","Marec","Apríl","Máj","Jún","Júl","August","September","Október","November","December"],openButton:"Vyberte dátum",closeButton:"Zatvoriť"},parseDate:function(e){var t=e.match(/(\d{1,2})\. ?(\d{1,2})\. ?(\d{4})/);return!!t&&new Date(Number(t[3]),Number(t[2])-1,Number(t[1]))},calendarIcon:{type:"svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 1000",className:"icon icon--medium",children:[{type:"path",d:"M800 175H700v-37.5a37.5 37.5 0 0 0-75 0V175H350v-37.5a37.5 37.5 0 0 0-75 0V175H100v625a75 75 0 0 0 75 75h700V250a75 75 0 0 0-75-75zM300 825H187.4a37.5 37.5 0 0 1-37.5-37.6V700H300v125zm0-150H150V550h150v125zm0-150H150V400h150v125zm-50-262.5a62.4 62.4 0 0 1 25-50v50a37.5 37.5 0 0 0 75 0v-50a62.5 62.5 0 1 1-100 50zm225 562.4H325V700h150v125zm0-149.9H325V550h150v125zm0-150H325V400h150v125zm175 300H500V700h150v125zm0-150H500V550h150v125zm0-150H500V400h150v125zm-50-262.5a62.4 62.4 0 0 1 25-50v50a37.5 37.5 0 0 0 75 0v-50a62.5 62.5 0 1 1-100 50zM825 675H675V550h150v125zm0-150H675V400h112.5a37.5 37.5 0 0 1 37.5 37.4V525z","fill-rule":"evenodd"}]}},Ct=function(){return o(function e(t,n){return i(this,e),this.element=t,this.config=c(c({},Tt),n),this.init(),this.element.ODS_DatePicker=this,this},[{key:"init",value:function(){var e=this.element.getAttribute("data-datepicker-config"),t=this.element.getAttribute("data-enabled-days"),n={};if(e)try{n=JSON.parse(e)}catch(e){n={}}this.config=c(c(c({},this.config),n),t&&{disabledDayFn:function(e){return!t.split(",").includes(function(e){return e&&e instanceof Date?"".concat(e.getFullYear(),"-").concat((e.getMonth()+1).toString().padStart(2,"0"),"-").concat(e.getDate().toString().padStart(2,"0")):""}(e))}});var i=this.element.getAttribute("data-datepicker-id")||void 0,r=this.element.getAttribute("data-datepicker-name")||i;this.instance=kt(this.element,c({id:i,name:r},this.config))}},{key:"destroy",value:function(){this.instance&&this.instance.destroy(),this.instance=null,this.element.ODS_DatePicker=null}}])}(),At={controlSelector:".block-action__control",indicatorSelector:".block-action__indicator",activeClass:"is-indicating"},Ot=function(){return o(function e(t,n){return i(this,e),s(this,"controlElement",null),s(this,"indicatorElements",[]),this.element=t,this.config=c(c({},At),n),this.highlightIndicators=this.highlightIndicators.bind(this),this.unhighlightIndicators=this.unhighlightIndicators.bind(this),this.element.ODS_BlockAction=this,this.init(),this},[{key:"init",value:function(){this.controlElement=this.element.querySelector(this.config.controlSelector),this.indicatorElements=Array.from(this.element.querySelectorAll(this.config.indicatorSelector)),!this.controlElement||this.indicatorElements.length<1||(this.controlElement.addEventListener("mouseenter",this.highlightIndicators),this.controlElement.addEventListener("mouseleave",this.unhighlightIndicators),this.controlElement.addEventListener("focus",this.highlightIndicators),this.controlElement.addEventListener("blur",this.unhighlightIndicators))}},{key:"highlightIndicators",value:function(){var e=this;this.indicatorElements.forEach(function(t){return t.classList.add(e.config.activeClass)})}},{key:"unhighlightIndicators",value:function(){var e=this;this.indicatorElements.forEach(function(t){return t.classList.remove(e.config.activeClass)})}},{key:"destroy",value:function(){var e=this;this.indicatorElements.forEach(function(t){return t.classList.remove(e.config.activeClass)}),this.controlElement&&(this.controlElement.removeEventListener("mouseenter",this.highlightIndicators),this.controlElement.removeEventListener("mouseleave",this.unhighlightIndicators),this.controlElement.removeEventListener("focus",this.highlightIndicators),this.controlElement.removeEventListener("blur",this.unhighlightIndicators)),this.controlElement=null,this.indicatorElements=[]}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_BlockAction?e.ODS_BlockAction:null}}])}();function Mt(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function Lt(e,t){void 0===e&&(e={}),void 0===t&&(t={});const n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>n.indexOf(e)<0).forEach(n=>{void 0===e[n]?e[n]=t[n]:Mt(t[n])&&Mt(e[n])&&Object.keys(t[n]).length>0&&Lt(e[n],t[n])})}const Dt={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Pt(){const e="undefined"!=typeof document?document:{};return Lt(e,Dt),e}const Nt={document:Dt,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function It(){const e="undefined"!=typeof window?window:{};return Lt(e,Nt),e}function Rt(e){return void 0===e&&(e=""),e.trim().split(" ").filter(e=>!!e.trim())}function zt(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function Bt(){return Date.now()}function Ft(e,t){void 0===t&&(t="x");const n=It();let i,r,o;const a=function(e){const t=It();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(r=a.transform||a.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(e=>e.replace(",",".")).join(", ")),o=new n.WebKitCSSMatrix("none"===r?"":r)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=o.toString().split(",")),"x"===t&&(r=n.WebKitCSSMatrix?o.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(r=n.WebKitCSSMatrix?o.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0}function Ht(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function Vt(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function jt(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const i=n<0||arguments.length<=n?void 0:arguments[n];if(null!=i&&!Vt(i)){const n=Object.keys(Object(i)).filter(e=>t.indexOf(e)<0);for(let t=0,r=n.length;t<r;t+=1){const r=n[t],o=Object.getOwnPropertyDescriptor(i,r);void 0!==o&&o.enumerable&&(Ht(e[r])&&Ht(i[r])?i[r].__swiper__?e[r]=i[r]:jt(e[r],i[r]):!Ht(e[r])&&Ht(i[r])?(e[r]={},i[r].__swiper__?e[r]=i[r]:jt(e[r],i[r])):e[r]=i[r])}}}return e}function Ut(e,t,n){e.style.setProperty(t,n)}function $t(e){let{swiper:t,targetPosition:n,side:i}=e;const r=It(),o=-t.translate;let a,s=null;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(t.cssModeFrameID);const c=n>o?"next":"prev",u=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,d=()=>{a=(new Date).getTime(),null===s&&(s=a);const e=Math.max(Math.min((a-s)/l,1),0),c=.5-Math.cos(e*Math.PI)/2;let p=o+c*(n-o);if(u(p,n)&&(p=n),t.wrapperEl.scrollTo({[i]:p}),u(p,n))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[i]:p})}),void r.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=r.requestAnimationFrame(d)};d()}function qt(e,t){void 0===t&&(t="");const n=It(),i=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t?i.filter(e=>e.matches(t)):i}function Gt(e){try{return void console.warn(e)}catch(e){}}function Wt(e,t){void 0===t&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:Rt(t)),n}function Yt(e){const t=It(),n=Pt(),i=e.getBoundingClientRect(),r=n.body,o=e.clientTop||r.clientTop||0,a=e.clientLeft||r.clientLeft||0,s=e===t?t.scrollY:e.scrollTop,l=e===t?t.scrollX:e.scrollLeft;return{top:i.top+s-o,left:i.left+l-a}}function Kt(e,t){return It().getComputedStyle(e,null).getPropertyValue(t)}function Xt(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function Jt(e,t){const n=[];let i=e.parentElement;for(;i;)t?i.matches(t)&&n.push(i):n.push(i),i=i.parentElement;return n}function Qt(e,t,n){const i=It();return e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom"))}function Zt(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function en(e,t){void 0===t&&(t=""),"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let tn,nn,rn;function on(){return tn||(tn=function(){const e=It(),t=Pt();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),tn}function an(e){return void 0===e&&(e={}),nn||(nn=function(e){let{userAgent:t}=void 0===e?{}:e;const n=on(),i=It(),r=i.navigator.platform,o=t||i.navigator.userAgent,a={ios:!1,android:!1},s=i.screen.width,l=i.screen.height,c=o.match(/(Android);?[\s\/]+([\d.]+)?/);let u=o.match(/(iPad).*OS\s([\d_]+)/);const d=o.match(/(iPod)(.*OS\s([\d_]+))?/),p=!u&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===r;let h="MacIntel"===r;return!u&&h&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${s}x${l}`)>=0&&(u=o.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),h=!1),c&&!f&&(a.os="android",a.android=!0),(u||p||d)&&(a.os="ios",a.ios=!0),a}(e)),nn}function sn(){return rn||(rn=function(){const e=It(),t=an();let n=!1;function i(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(i()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,i]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));n=e<16||16===e&&i<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),o=i();return{isSafari:n||o,needPerspectiveFix:n,need3dFix:o||r&&t.ios,isWebView:r}}()),rn}var ln={on(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const r=n?"unshift":"push";return e.split(" ").forEach(e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)}),i},once(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function r(){i.off(e,r),r.__emitterProxy&&delete r.__emitterProxy;for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];t.apply(i,o)}return r.__emitterProxy=t,i.on(e,r,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const i=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[i](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((i,r)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[e].splice(r,1)})}),n):n},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,n,i;for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];"string"==typeof o[0]||Array.isArray(o[0])?(t=o[0],n=o.slice(1,o.length),i=e):(t=o[0].events,n=o[0].data,i=o[0].context||e),n.unshift(i);return(Array.isArray(t)?t:t.split(" ")).forEach(t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(e=>{e.apply(i,[t,...n])}),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(e=>{e.apply(i,n)})}),e}};const cn=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const un=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const dn=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())})),t&&t.remove()}},pn=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},fn=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=r,o=[n-t];return o.push(...Array.from({length:t}).map((e,t)=>n+i+t)),void e.slides.forEach((t,n)=>{o.includes(t.column)&&pn(e,n)})}const o=r+i-1;if(e.params.rewind||e.params.loop)for(let i=r-t;i<=o+t;i+=1){const t=(i%n+n)%n;(t<r||t>o)&&pn(e,t)}else for(let i=Math.max(r-t,0);i<=Math.min(o+t,n-1);i+=1)i!==r&&(i>o||i<r)&&pn(e,i)};var hn={updateSize:function(){const e=this;let t,n;const i=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:i.clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:i.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(Kt(i,"padding-left")||0,10)-parseInt(Kt(i,"padding-right")||0,10),n=n-parseInt(Kt(i,"padding-top")||0,10)-parseInt(Kt(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}const n=e.params,{wrapperEl:i,slidesEl:r,size:o,rtlTranslate:a,wrongRTL:s}=e,l=e.virtual&&n.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,u=qt(r,`.${e.params.slideClass}, swiper-slide`),d=l?e.virtual.slides.length:u.length;let p=[];const f=[],h=[];let m=n.slidesOffsetBefore;"function"==typeof m&&(m=n.slidesOffsetBefore.call(e));let v=n.slidesOffsetAfter;"function"==typeof v&&(v=n.slidesOffsetAfter.call(e));const g=e.snapGrid.length,y=e.slidesGrid.length;let b=n.spaceBetween,_=-m,w=0,S=0;if(void 0===o)return;"string"==typeof b&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*o:"string"==typeof b&&(b=parseFloat(b)),e.virtualSize=-b,u.forEach(e=>{a?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(Ut(i,"--swiper-centered-offset-before",""),Ut(i,"--swiper-centered-offset-after",""));const E=n.grid&&n.grid.rows>1&&e.grid;let x;E?e.grid.initSlides(u):e.grid&&e.grid.unsetSlides();const k="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let i=0;i<d;i+=1){let r;if(x=0,u[i]&&(r=u[i]),E&&e.grid.updateSlide(i,r,u),!u[i]||"none"!==Kt(r,"display")){if("auto"===n.slidesPerView){k&&(u[i].style[e.getDirectionLabel("width")]="");const o=getComputedStyle(r),a=r.style.transform,s=r.style.webkitTransform;if(a&&(r.style.transform="none"),s&&(r.style.webkitTransform="none"),n.roundLengths)x=e.isHorizontal()?Qt(r,"width"):Qt(r,"height");else{const e=t(o,"width"),n=t(o,"padding-left"),i=t(o,"padding-right"),a=t(o,"margin-left"),s=t(o,"margin-right"),l=o.getPropertyValue("box-sizing");if(l&&"border-box"===l)x=e+a+s;else{const{clientWidth:t,offsetWidth:o}=r;x=e+n+i+a+s+(o-t)}}a&&(r.style.transform=a),s&&(r.style.webkitTransform=s),n.roundLengths&&(x=Math.floor(x))}else x=(o-(n.slidesPerView-1)*b)/n.slidesPerView,n.roundLengths&&(x=Math.floor(x)),u[i]&&(u[i].style[e.getDirectionLabel("width")]=`${x}px`);u[i]&&(u[i].swiperSlideSize=x),h.push(x),n.centeredSlides?(_=_+x/2+w/2+b,0===w&&0!==i&&(_=_-o/2-b),0===i&&(_=_-o/2-b),Math.abs(_)<.001&&(_=0),n.roundLengths&&(_=Math.floor(_)),S%n.slidesPerGroup===0&&p.push(_),f.push(_)):(n.roundLengths&&(_=Math.floor(_)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup===0&&p.push(_),f.push(_),_=_+x+b),e.virtualSize+=x+b,w=x,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,o)+v,a&&s&&("slide"===n.effect||"coverflow"===n.effect)&&(i.style.width=`${e.virtualSize+b}px`),n.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=`${e.virtualSize+b}px`),E&&e.grid.updateWrapperSize(x,p),!n.centeredSlides){const t=[];for(let i=0;i<p.length;i+=1){let r=p[i];n.roundLengths&&(r=Math.floor(r)),p[i]<=e.virtualSize-o&&t.push(r)}p=t,Math.floor(e.virtualSize-o)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-o)}if(l&&n.loop){const t=h[0]+b;if(n.slidesPerGroup>1){const i=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),r=t*n.slidesPerGroup;for(let e=0;e<i;e+=1)p.push(p[p.length-1]+r)}for(let i=0;i<e.virtual.slidesBefore+e.virtual.slidesAfter;i+=1)1===n.slidesPerGroup&&p.push(p[p.length-1]+t),f.push(f[f.length-1]+t),e.virtualSize+=t}if(0===p.length&&(p=[0]),0!==b){const t=e.isHorizontal()&&a?"marginLeft":e.getDirectionLabel("marginRight");u.filter((e,t)=>!(n.cssMode&&!n.loop)||t!==u.length-1).forEach(e=>{e.style[t]=`${b}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;h.forEach(t=>{e+=t+(b||0)}),e-=b;const t=e>o?e-o:0;p=p.map(e=>e<=0?-m:e>t?t+v:e)}if(n.centerInsufficientSlides){let e=0;h.forEach(t=>{e+=t+(b||0)}),e-=b;const t=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(e+t<o){const n=(o-e-t)/2;p.forEach((e,t)=>{p[t]=e-n}),f.forEach((e,t)=>{f[t]=e+n})}}if(Object.assign(e,{slides:u,snapGrid:p,slidesGrid:f,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){Ut(i,"--swiper-centered-offset-before",-p[0]+"px"),Ut(i,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+n)}if(d!==c&&e.emit("slidesLengthChange"),p.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==y&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,i=e.el.classList.contains(t);d<=n.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],i=t.virtual&&t.params.virtual.enabled;let r,o=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=e=>i?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{n.push(e)});else for(r=0;r<Math.ceil(t.params.slidesPerView);r+=1){const e=t.activeIndex+r;if(e>t.slides.length&&!i)break;n.push(a(e))}else n.push(a(t.activeIndex));for(r=0;r<n.length;r+=1)if(void 0!==n[r]){const e=n[r].offsetHeight;o=e>o?e:o}(o||0===o)&&(t.wrapperEl.style.height=`${o}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=(e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:i,rtlTranslate:r,snapGrid:o}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;r&&(a=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let s=n.spaceBetween;"string"==typeof s&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*t.size:"string"==typeof s&&(s=parseFloat(s));for(let e=0;e<i.length;e+=1){const l=i[e];let c=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=i[0].swiperSlideOffset);const u=(a+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+s),d=(a-o[0]+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+s),p=-(a-c),f=p+t.slidesSizesGrid[e],h=p>=0&&p<=t.size-t.slidesSizesGrid[e],m=p>=0&&p<t.size-1||f>1&&f<=t.size||p<=0&&f>=t.size;m&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),cn(l,m,n.slideVisibleClass),cn(l,h,n.slideFullyVisibleClass),l.progress=r?-u:u,l.originalProgress=r?-d:d}},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:o,isEnd:a,progressLoop:s}=t;const l=o,c=a;if(0===i)r=0,o=!0,a=!0;else{r=(e-t.minTranslate())/i;const n=Math.abs(e-t.minTranslate())<1,s=Math.abs(e-t.maxTranslate())<1;o=n||r<=0,a=s||r>=1,n&&(r=0),s&&(r=1)}if(n.loop){const n=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),r=t.slidesGrid[n],o=t.slidesGrid[i],a=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);s=l>=r?(l-r)/a:(l+a-o)/a,s>1&&(s-=1)}Object.assign(t,{progress:r,progressLoop:s,isBeginning:o,isEnd:a}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!l&&t.emit("reachBeginning toEdge"),a&&!c&&t.emit("reachEnd toEdge"),(l&&!o||c&&!a)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:i,activeIndex:r}=e,o=e.virtual&&n.virtual.enabled,a=e.grid&&n.grid&&n.grid.rows>1,s=e=>qt(i,`.${n.slideClass}${e}, swiper-slide${e}`)[0];let l,c,u;if(o)if(n.loop){let t=r-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=s(`[data-swiper-slide-index="${t}"]`)}else l=s(`[data-swiper-slide-index="${r}"]`);else a?(l=t.find(e=>e.column===r),u=t.find(e=>e.column===r+1),c=t.find(e=>e.column===r-1)):l=t[r];l&&(a||(u=function(e,t){const n=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u&&(u=t[0]),c=function(e,t){const n=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&0===!c&&(c=t[t.length-1]))),t.forEach(e=>{un(e,e===l,n.slideActiveClass),un(e,e===u,n.slideNextClass),un(e,e===c,n.slidePrevClass)}),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:r,activeIndex:o,realIndex:a,snapIndex:s}=t;let l,c=e;const u=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:n}=e,i=e.rtlTranslate?e.translate:-e.translate;let r;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?i>=t[e]&&i<t[e+1]-(t[e+1]-t[e])/2?r=e:i>=t[e]&&i<t[e+1]&&(r=e+1):i>=t[e]&&(r=e);return n.normalizeSlideIndex&&(r<0||void 0===r)&&(r=0),r}(t)),i.indexOf(n)>=0)l=i.indexOf(n);else{const e=Math.min(r.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/r.slidesPerGroup)}if(l>=i.length&&(l=i.length-1),c===o&&!t.params.loop)return void(l!==s&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===o&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=u(c));const d=t.grid&&r.grid&&r.grid.rows>1;let p;if(t.virtual&&r.virtual.enabled&&r.loop)p=u(c);else if(d){const e=t.slides.find(e=>e.column===c);let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),p=Math.floor(n/r.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):c}else p=c;Object.assign(t,{previousSnapIndex:s,snapIndex:l,previousRealIndex:a,realIndex:p,previousIndex:o,activeIndex:c}),t.initialized&&fn(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(a!==p&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const n=this,i=n.params;let r=e.closest(`.${i.slideClass}, swiper-slide`);!r&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!r&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(r=e)});let o,a=!1;if(r)for(let e=0;e<n.slides.length;e+=1)if(n.slides[e]===r){a=!0,o=e;break}if(!r||!a)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=r,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=o,i.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}};var mn={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:n,translate:i,wrapperEl:r}=this;if(t.virtualTranslate)return n?-i:i;if(t.cssMode)return i;let o=Ft(r,e);return o+=this.cssOverflowAdjustment(),n&&(o=-o),o||0},setTranslate:function(e,t){const n=this,{rtlTranslate:i,params:r,wrapperEl:o,progress:a}=n;let s,l=0,c=0;n.isHorizontal()?l=i?-e:e:c=e,r.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c,r.cssMode?o[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:r.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),o.style.transform=`translate3d(${l}px, ${c}px, 0px)`);const u=n.maxTranslate()-n.minTranslate();s=0===u?0:(e-n.minTranslate())/u,s!==a&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,i,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===i&&(i=!0);const o=this,{params:a,wrapperEl:s}=o;if(o.animating&&a.preventInteractionOnTransition)return!1;const l=o.minTranslate(),c=o.maxTranslate();let u;if(u=i&&e>l?l:i&&e<c?c:e,o.updateProgress(u),a.cssMode){const e=o.isHorizontal();if(0===t)s[e?"scrollLeft":"scrollTop"]=-u;else{if(!o.support.smoothScroll)return $t({swiper:o,targetPosition:-u,side:e?"left":"top"}),!0;s.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",t,r),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",t,r),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,o.animating=!1,n&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}};function vn(e){let{swiper:t,runCallbacks:n,direction:i,step:r}=e;const{activeIndex:o,previousIndex:a}=t;let s=i;s||(s=o>a?"next":o<a?"prev":"reset"),t.emit(`transition${r}`),n&&"reset"===s?t.emit(`slideResetTransition${r}`):n&&o!==a&&(t.emit(`slideChangeTransition${r}`),"next"===s?t.emit(`slideNextTransition${r}`):t.emit(`slidePrevTransition${r}`))}var gn={slideTo:function(e,t,n,i,r){void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));const o=this;let a=e;a<0&&(a=0);const{params:s,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:p,wrapperEl:f,enabled:h}=o;if(!h&&!i&&!r||o.destroyed||o.animating&&s.preventInteractionOnTransition)return!1;void 0===t&&(t=o.params.speed);const m=Math.min(o.params.slidesPerGroupSkip,a);let v=m+Math.floor((a-m)/o.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const g=-l[v];if(s.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*g),n=Math.floor(100*c[e]),i=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=n&&t<i-(i-n)/2?a=e:t>=n&&t<i&&(a=e+1):t>=n&&(a=e)}if(o.initialized&&a!==d){if(!o.allowSlideNext&&(p?g>o.translate&&g>o.minTranslate():g<o.translate&&g<o.minTranslate()))return!1;if(!o.allowSlidePrev&&g>o.translate&&g>o.maxTranslate()&&(d||0)!==a)return!1}let y;a!==(u||0)&&n&&o.emit("beforeSlideChangeStart"),o.updateProgress(g),y=a>d?"next":a<d?"prev":"reset";const b=o.virtual&&o.params.virtual.enabled;if(!(b&&r)&&(p&&-g===o.translate||!p&&g===o.translate))return o.updateActiveIndex(a),s.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==s.effect&&o.setTranslate(g),"reset"!==y&&(o.transitionStart(n,y),o.transitionEnd(n,y)),!1;if(s.cssMode){const e=o.isHorizontal(),n=p?g:-g;if(0===t)b&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),b&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[e?"scrollLeft":"scrollTop"]=n})):f[e?"scrollLeft":"scrollTop"]=n,b&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1});else{if(!o.support.smoothScroll)return $t({swiper:o,targetPosition:n,side:e?"left":"top"}),!0;f.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}const _=sn().isSafari;return b&&!r&&_&&o.isElement&&o.virtual.update(!1,!1,a),o.setTransition(t),o.setTranslate(g),o.updateActiveIndex(a),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,i),o.transitionStart(n,y),0===t?o.transitionEnd(n,y):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,y))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,i){if(void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e){e=parseInt(e,10)}const r=this;if(r.destroyed)return;void 0===t&&(t=r.params.speed);const o=r.grid&&r.params.grid&&r.params.grid.rows>1;let a=e;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)a+=r.virtual.slidesBefore;else{let e;if(o){const t=a*r.params.grid.rows;e=r.slides.find(e=>1*e.getAttribute("data-swiper-slide-index")===t).column}else e=r.getSlideIndexByData(a);const t=o?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:n}=r.params;let s=r.params.slidesPerView;"auto"===s?s=r.slidesPerViewDynamic():(s=Math.ceil(parseFloat(r.params.slidesPerView,10)),n&&s%2==0&&(s+=1));let l=t-e<s;if(n&&(l=l||e<Math.ceil(s/2)),i&&n&&"auto"!==r.params.slidesPerView&&!o&&(l=!1),l){const i=n?e<r.activeIndex?"prev":"next":e-r.activeIndex-1<r.params.slidesPerView?"next":"prev";r.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?e+1:e-t+1,slideRealIndex:"next"===i?r.realIndex:void 0})}if(o){const e=a*r.params.grid.rows;a=r.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e).column}else a=r.getSlideIndexByData(a)}return requestAnimationFrame(()=>{r.slideTo(a,t,n,i)}),r},slideNext:function(e,t,n){void 0===t&&(t=!0);const i=this,{enabled:r,params:o,animating:a}=i;if(!r||i.destroyed)return i;void 0===e&&(e=i.params.speed);let s=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(s=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<o.slidesPerGroupSkip?1:s,c=i.virtual&&o.virtual.enabled;if(o.loop){if(a&&!c&&o.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&o.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+l,e,t,n)}),!0}return o.rewind&&i.isEnd?i.slideTo(0,e,t,n):i.slideTo(i.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===t&&(t=!0);const i=this,{params:r,snapGrid:o,slidesGrid:a,rtlTranslate:s,enabled:l,animating:c}=i;if(!l||i.destroyed)return i;void 0===e&&(e=i.params.speed);const u=i.virtual&&r.virtual.enabled;if(r.loop){if(c&&!u&&r.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=d(s?i.translate:-i.translate),f=o.map(e=>d(e)),h=r.freeMode&&r.freeMode.enabled;let m=o[f.indexOf(p)-1];if(void 0===m&&(r.cssMode||h)){let e;o.forEach((t,n)=>{p>=t&&(e=n)}),void 0!==e&&(m=h?o[e]:o[e>0?e-1:e])}let v=0;if(void 0!==m&&(v=a.indexOf(m),v<0&&(v=i.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(v=v-i.slidesPerViewDynamic("previous",!0)+1,v=Math.max(v,0))),r.rewind&&i.isBeginning){const r=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(r,e,t,n)}return r.loop&&0===i.activeIndex&&r.cssMode?(requestAnimationFrame(()=>{i.slideTo(v,e,t,n)}),!0):i.slideTo(v,e,t,n)},slideReset:function(e,t,n){void 0===t&&(t=!0);const i=this;if(!i.destroyed)return void 0===e&&(e=i.params.speed),i.slideTo(i.activeIndex,e,t,n)},slideToClosest:function(e,t,n,i){void 0===t&&(t=!0),void 0===i&&(i=.5);const r=this;if(r.destroyed)return;void 0===e&&(e=r.params.speed);let o=r.activeIndex;const a=Math.min(r.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[s]){const e=r.snapGrid[s];l-e>(r.snapGrid[s+1]-e)*i&&(o+=r.params.slidesPerGroup)}else{const e=r.snapGrid[s-1];l-e<=(r.snapGrid[s]-e)*i&&(o-=r.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,r.slidesGrid.length-1),r.slideTo(o,e,t,n)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,o=e.getSlideIndexWhenGrid(e.clickedIndex);const a=e.isElement?"swiper-slide":`.${t.slideClass}`,s=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;r=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(r):o>(s?(e.slides.length-i)/2-(e.params.grid.rows-1):e.slides.length-i)?(e.loopFix(),o=e.getSlideIndex(qt(n,`${a}[data-swiper-slide-index="${r}"]`)[0]),zt(()=>{e.slideTo(o)})):e.slideTo(o)}else e.slideTo(o)}};var yn={loopCreate:function(e,t){const n=this,{params:i,slidesEl:r}=n;if(!i.loop||n.virtual&&n.params.virtual.enabled)return;const o=()=>{qt(r,`.${i.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})},a=n.grid&&i.grid&&i.grid.rows>1;i.loopAddBlankSlides&&(i.slidesPerGroup>1||a)&&(()=>{const e=qt(r,`.${i.slideBlankClass}`);e.forEach(e=>{e.remove()}),e.length>0&&(n.recalcSlides(),n.updateSlides())})();const s=i.slidesPerGroup*(a?i.grid.rows:1),l=n.slides.length%s!==0,c=a&&n.slides.length%i.grid.rows!==0,u=e=>{for(let t=0;t<e;t+=1){const e=n.isElement?Wt("swiper-slide",[i.slideBlankClass]):Wt("div",[i.slideClass,i.slideBlankClass]);n.slidesEl.append(e)}};if(l){if(i.loopAddBlankSlides){u(s-n.slides.length%s),n.recalcSlides(),n.updateSlides()}else Gt("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)");o()}else if(c){if(i.loopAddBlankSlides){u(i.grid.rows-n.slides.length%i.grid.rows),n.recalcSlides(),n.updateSlides()}else Gt("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)");o()}else o();n.loopFix({slideRealIndex:e,direction:i.centeredSlides?void 0:"next",initial:t})},loopFix:function(e){let{slideRealIndex:t,slideTo:n=!0,direction:i,setTranslate:r,activeSlideIndex:o,initial:a,byController:s,byMousewheel:l}=void 0===e?{}:e;const c=this;if(!c.params.loop)return;c.emit("beforeLoopFix");const{slides:u,allowSlidePrev:d,allowSlideNext:p,slidesEl:f,params:h}=c,{centeredSlides:m,initialSlide:v}=h;if(c.allowSlidePrev=!0,c.allowSlideNext=!0,c.virtual&&h.virtual.enabled)return n&&(h.centeredSlides||0!==c.snapIndex?h.centeredSlides&&c.snapIndex<h.slidesPerView?c.slideTo(c.virtual.slides.length+c.snapIndex,0,!1,!0):c.snapIndex===c.snapGrid.length-1&&c.slideTo(c.virtual.slidesBefore,0,!1,!0):c.slideTo(c.virtual.slides.length,0,!1,!0)),c.allowSlidePrev=d,c.allowSlideNext=p,void c.emit("loopFix");let g=h.slidesPerView;"auto"===g?g=c.slidesPerViewDynamic():(g=Math.ceil(parseFloat(h.slidesPerView,10)),m&&g%2==0&&(g+=1));const y=h.slidesPerGroupAuto?g:h.slidesPerGroup;let b=m?Math.max(y,Math.ceil(g/2)):y;b%y!==0&&(b+=y-b%y),b+=h.loopAdditionalSlides,c.loopedSlides=b;const _=c.grid&&h.grid&&h.grid.rows>1;u.length<g+b||"cards"===c.params.effect&&u.length<g+2*b?Gt("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"):_&&"row"===h.grid.fill&&Gt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const w=[],S=[],E=_?Math.ceil(u.length/h.grid.rows):u.length,x=a&&E-v<g&&!m;let k=x?v:c.activeIndex;void 0===o?o=c.getSlideIndex(u.find(e=>e.classList.contains(h.slideActiveClass))):k=o;const T="next"===i||!i,C="prev"===i||!i;let A=0,O=0;const M=(_?u[o].column:o)+(m&&void 0===r?-g/2+.5:0);if(M<b){A=Math.max(b-M,y);for(let e=0;e<b-M;e+=1){const t=e-Math.floor(e/E)*E;if(_){const e=E-t-1;for(let t=u.length-1;t>=0;t-=1)u[t].column===e&&w.push(t)}else w.push(E-t-1)}}else if(M+g>E-b){O=Math.max(M-(E-2*b),y),x&&(O=Math.max(O,g-E+v+1));for(let e=0;e<O;e+=1){const t=e-Math.floor(e/E)*E;_?u.forEach((e,n)=>{e.column===t&&S.push(n)}):S.push(t)}}if(c.__preventObserver__=!0,requestAnimationFrame(()=>{c.__preventObserver__=!1}),"cards"===c.params.effect&&u.length<g+2*b&&(S.includes(o)&&S.splice(S.indexOf(o),1),w.includes(o)&&w.splice(w.indexOf(o),1)),C&&w.forEach(e=>{u[e].swiperLoopMoveDOM=!0,f.prepend(u[e]),u[e].swiperLoopMoveDOM=!1}),T&&S.forEach(e=>{u[e].swiperLoopMoveDOM=!0,f.append(u[e]),u[e].swiperLoopMoveDOM=!1}),c.recalcSlides(),"auto"===h.slidesPerView?c.updateSlides():_&&(w.length>0&&C||S.length>0&&T)&&c.slides.forEach((e,t)=>{c.grid.updateSlide(t,e,c.slides)}),h.watchSlidesProgress&&c.updateSlidesOffset(),n)if(w.length>0&&C){if(void 0===t){const e=c.slidesGrid[k],t=c.slidesGrid[k+A]-e;l?c.setTranslate(c.translate-t):(c.slideTo(k+Math.ceil(A),0,!1,!0),r&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else if(r){const e=_?w.length/h.grid.rows:w.length;c.slideTo(c.activeIndex+e,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(S.length>0&&T)if(void 0===t){const e=c.slidesGrid[k],t=c.slidesGrid[k-O]-e;l?c.setTranslate(c.translate-t):(c.slideTo(k-O,0,!1,!0),r&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else{const e=_?S.length/h.grid.rows:S.length;c.slideTo(c.activeIndex-e,0,!1,!0)}if(c.allowSlidePrev=d,c.allowSlideNext=p,c.controller&&c.controller.control&&!s){const e={slideRealIndex:t,direction:i,setTranslate:r,activeSlideIndex:o,byController:!0};Array.isArray(c.controller.control)?c.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===h.slidesPerView&&n})}):c.controller.control instanceof c.constructor&&c.controller.control.params.loop&&c.controller.control.loopFix({...e,slideTo:c.controller.control.params.slidesPerView===h.slidesPerView&&n})}c.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const i=[];e.slides.forEach(e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;i[t]=e}),e.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),i.forEach(e=>{n.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function bn(e,t,n){const i=It(),{params:r}=e,o=r.edgeSwipeDetection,a=r.edgeSwipeThreshold;return!o||!(n<=a||n>=i.innerWidth-a)||"prevent"===o&&(t.preventDefault(),!0)}function _n(e){const t=this,n=Pt();let i=e;i.originalEvent&&(i=i.originalEvent);const r=t.touchEventsData;if("pointerdown"===i.type){if(null!==r.pointerId&&r.pointerId!==i.pointerId)return;r.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(r.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void bn(t,i,i.targetTouches[0].pageX);const{params:o,touches:a,enabled:s}=t;if(!s)return;if(!o.simulateTouch&&"mouse"===i.pointerType)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let l=i.target;if("wrapper"===o.touchEventsTarget&&!function(e,t){const n=It();let i=t.contains(e);!i&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(i=[...t.assignedElements()].includes(e),i||(i=function(e,t){const n=[t];for(;n.length>0;){const t=n.shift();if(e===t)return!0;n.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t)));return i}(l,t.wrapperEl))return;if("which"in i&&3===i.which)return;if("button"in i&&i.button>0)return;if(r.isTouched&&r.isMoved)return;const c=!!o.noSwipingClass&&""!==o.noSwipingClass,u=i.composedPath?i.composedPath():i.path;c&&i.target&&i.target.shadowRoot&&u&&(l=u[0]);const d=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,p=!(!i.target||!i.target.shadowRoot);if(o.noSwiping&&(p?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===Pt()||n===It())return null;n.assignedSlot&&(n=n.assignedSlot);const i=n.closest(e);return i||n.getRootNode?i||t(n.getRootNode().host):null}(t)}(d,l):l.closest(d)))return void(t.allowClick=!0);if(o.swipeHandler&&!l.closest(o.swipeHandler))return;a.currentX=i.pageX,a.currentY=i.pageY;const f=a.currentX,h=a.currentY;if(!bn(t,i,f))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=f,a.startY=h,r.touchStartTime=Bt(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(r.allowThresholdMove=!1);let m=!0;l.matches(r.focusableElements)&&(m=!1,"SELECT"===l.nodeName&&(r.isTouched=!1)),n.activeElement&&n.activeElement.matches(r.focusableElements)&&n.activeElement!==l&&("mouse"===i.pointerType||"mouse"!==i.pointerType&&!l.matches(r.focusableElements))&&n.activeElement.blur();const v=m&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!v||l.isContentEditable||i.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",i)}function wn(e){const t=Pt(),n=this,i=n.touchEventsData,{params:r,touches:o,rtlTranslate:a,enabled:s}=n;if(!s)return;if(!r.simulateTouch&&"mouse"===e.pointerType)return;let l,c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==i.touchId)return;if(c.pointerId!==i.pointerId)return}if("touchmove"===c.type){if(l=[...c.changedTouches].find(e=>e.identifier===i.touchId),!l||l.identifier!==i.touchId)return}else l=c;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",c));const u=l.pageX,d=l.pageY;if(c.preventedByNestedSwiper)return o.startX=u,void(o.startY=d);if(!n.allowTouchMove)return c.target.matches(i.focusableElements)||(n.allowClick=!1),void(i.isTouched&&(Object.assign(o,{startX:u,startY:d,currentX:u,currentY:d}),i.touchStartTime=Bt()));if(r.touchReleaseOnEdges&&!r.loop)if(n.isVertical()){if(d<o.startY&&n.translate<=n.maxTranslate()||d>o.startY&&n.translate>=n.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else{if(a&&(u>o.startX&&-n.translate<=n.maxTranslate()||u<o.startX&&-n.translate>=n.minTranslate()))return;if(!a&&(u<o.startX&&n.translate<=n.maxTranslate()||u>o.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==c.target&&"mouse"!==c.pointerType&&t.activeElement.blur(),t.activeElement&&c.target===t.activeElement&&c.target.matches(i.focusableElements))return i.isMoved=!0,void(n.allowClick=!1);i.allowTouchCallbacks&&n.emit("touchMove",c),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=u,o.currentY=d;const p=o.currentX-o.startX,f=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(p**2+f**2)<n.params.threshold)return;if(void 0===i.isScrolling){let e;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?i.isScrolling=!1:p*p+f*f>=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,i.isScrolling=n.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(i.isScrolling&&n.emit("touchMoveOpposite",c),void 0===i.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(i.startMoving=!0)),i.isScrolling||"touchmove"===c.type&&i.preventTouchMoveFromPointerMove)return void(i.isTouched=!1);if(!i.startMoving)return;n.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation();let h=n.isHorizontal()?p:f,m=n.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;r.oneWayMovement&&(h=Math.abs(h)*(a?1:-1),m=Math.abs(m)*(a?1:-1)),o.diff=h,h*=r.touchRatio,a&&(h=-h,m=-m);const v=n.touchesDirection;n.swipeDirection=h>0?"prev":"next",n.touchesDirection=m>0?"prev":"next";const g=n.params.loop&&!r.cssMode,y="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!i.isMoved){if(g&&y&&n.loopFix({direction:n.swipeDirection}),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,!r.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",c)}if((new Date).getTime(),!1!==r._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&v!==n.touchesDirection&&g&&y&&Math.abs(h)>=1)return Object.assign(o,{startX:u,startY:d,currentX:u,currentY:d,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);n.emit("sliderMove",c),i.isMoved=!0,i.currentTranslate=h+i.startTranslate;let b=!0,_=r.resistanceRatio;if(r.touchReleaseOnEdges&&(_=0),h>0?(g&&y&&i.allowThresholdMove&&i.currentTranslate>(r.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-("auto"!==r.slidesPerView&&n.slides.length-r.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>n.minTranslate()&&(b=!1,r.resistance&&(i.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+i.startTranslate+h)**_))):h<0&&(g&&y&&i.allowThresholdMove&&i.currentTranslate<(r.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+("auto"!==r.slidesPerView&&n.slides.length-r.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===r.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),i.currentTranslate<n.maxTranslate()&&(b=!1,r.resistance&&(i.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-i.startTranslate-h)**_))),b&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),n.allowSlidePrev||n.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(!(Math.abs(h)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,i.currentTranslate=i.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}function Sn(e){const t=this,n=t.touchEventsData;let i,r=e;r.originalEvent&&(r=r.originalEvent);if("touchend"===r.type||"touchcancel"===r.type){if(i=[...r.changedTouches].find(e=>e.identifier===n.touchId),!i||i.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(r.pointerId!==n.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)){if(!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return}n.pointerId=null,n.touchId=null;const{params:o,touches:a,rtlTranslate:s,slidesGrid:l,enabled:c}=t;if(!c)return;if(!o.simulateTouch&&"mouse"===r.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&o.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);o.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=Bt(),d=u-n.touchStartTime;if(t.allowClick){const e=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(e&&e[0]||r.target,e),t.emit("tap click",r),d<300&&u-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=Bt(),zt(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===a.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let p;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,p=o.followFinger?s?t.translate:-t.translate:-n.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:p});const f=p>=-t.maxTranslate()&&!t.params.loop;let h=0,m=t.slidesSizesGrid[0];for(let e=0;e<l.length;e+=e<o.slidesPerGroupSkip?1:o.slidesPerGroup){const t=e<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;void 0!==l[e+t]?(f||p>=l[e]&&p<l[e+t])&&(h=e,m=l[e+t]-l[e]):(f||p>=l[e])&&(h=e,m=l[l.length-1]-l[l.length-2])}let v=null,g=null;o.rewind&&(t.isBeginning?g=o.virtual&&o.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));const y=(p-l[h])/m,b=h<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(d>o.longSwipesMs){if(!o.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(y>=o.longSwipesRatio?t.slideTo(o.rewind&&t.isEnd?v:h+b):t.slideTo(h)),"prev"===t.swipeDirection&&(y>1-o.longSwipesRatio?t.slideTo(h+b):null!==g&&y<0&&Math.abs(y)>o.longSwipesRatio?t.slideTo(g):t.slideTo(h))}else{if(!o.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(h+b):t.slideTo(h):("next"===t.swipeDirection&&t.slideTo(null!==v?v:h+b),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:h))}}function En(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:r,snapGrid:o}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const s=a&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s?e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=r,e.allowSlideNext=i,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function xn(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function kn(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:i}=e;if(!i)return;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const o=e.maxTranslate()-e.minTranslate();r=0===o?0:(e.translate-e.minTranslate())/o,r!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function Tn(e){const t=this;dn(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function Cn(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const An=(e,t)=>{const n=Pt(),{params:i,el:r,wrapperEl:o,device:a}=e,s=!!i.nested,l="on"===t?"addEventListener":"removeEventListener",c=t;r&&"string"!=typeof r&&(n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:s}),r[l]("touchstart",e.onTouchStart,{passive:!1}),r[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:s}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:s}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[l]("click",e.onClick,!0),i.cssMode&&o[l]("scroll",e.onScroll),i.updateOnWindowResize?e[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",En,!0):e[c]("observerUpdate",En,!0),r[l]("load",e.onLoad,{capture:!0}))};const On=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var Mn={setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:i,el:r}=e,o=i.breakpoints;if(!o||o&&0===Object.keys(o).length)return;const a=Pt(),s="window"!==i.breakpointsBase&&i.breakpointsBase?"container":i.breakpointsBase,l=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:a.querySelector(i.breakpointsBase),c=e.getBreakpoint(o,s,l);if(!c||e.currentBreakpoint===c)return;const u=(c in o?o[c]:void 0)||e.originalParams,d=On(e,i),p=On(e,u),f=e.params.grabCursor,h=u.grabCursor,m=i.enabled;d&&!p?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&p&&(r.classList.add(`${i.containerModifierClass}grid`),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===i.grid.fill)&&r.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),f&&!h?e.unsetGrabCursor():!f&&h&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===u[t])return;const n=i[t]&&i[t].enabled,r=u[t]&&u[t].enabled;n&&!r&&e[t].disable(),!n&&r&&e[t].enable()});const v=u.direction&&u.direction!==i.direction,g=i.loop&&(u.slidesPerView!==i.slidesPerView||v),y=i.loop;v&&n&&e.changeDirection(),jt(e.params,u);const b=e.params.enabled,_=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),m&&!b?e.disable():!m&&b&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",u),n&&(g?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!y&&_?(e.loopCreate(t),e.updateSlides()):y&&!_&&e.loopDestroy()),e.emit("breakpoint",u)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let i=!1;const r=It(),o="window"===t?r.innerHeight:n.clientHeight,a=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:o*t,point:e}}return{value:e,point:e}});a.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<a.length;e+=1){const{point:o,value:s}=a[e];"window"===t?r.matchMedia(`(min-width: ${s}px)`).matches&&(i=o):s<=n.clientWidth&&(i=o)}return i||"max"}};var Ln={addClasses:function(){const e=this,{classNames:t,params:n,rtl:i,el:r,device:o}=e,a=function(e,t){const n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(i=>{e[i]&&n.push(t+i)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:i},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...a),r.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}};var Dn={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Pn(e,t){return function(n){void 0===n&&(n={});const i=Object.keys(n)[0],r=n[i];"object"==typeof r&&null!==r?(!0===e[i]&&(e[i]={enabled:!0}),"navigation"===i&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),i in e&&"enabled"in r?("object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),jt(t,n)):jt(t,n)):jt(t,n)}}const Nn={eventsEmitter:ln,update:hn,translate:mn,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const n=this,{params:i}=n;i.cssMode||(i.autoHeight&&n.updateAutoHeight(),vn({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const n=this,{params:i}=n;n.animating=!1,i.cssMode||(n.setTransition(0),vn({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:gn,loop:yn,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=_n.bind(e),e.onTouchMove=wn.bind(e),e.onTouchEnd=Sn.bind(e),e.onDocumentTouchStart=Cn.bind(e),t.cssMode&&(e.onScroll=kn.bind(e)),e.onClick=xn.bind(e),e.onLoad=Tn.bind(e),An(e,"on")},detachEvents:function(){An(this,"off")}},breakpoints:Mn,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:i}=n;if(i){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:Ln},In={};class Rn{constructor(){let e,t;for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?t=i[0]:[e,t]=i,t||(t={}),t=jt({},t),e&&!t.el&&(t.el=e);const o=Pt();if(t.el&&"string"==typeof t.el&&o.querySelectorAll(t.el).length>1){const e=[];return o.querySelectorAll(t.el).forEach(n=>{const i=jt({},t,{el:n});e.push(new Rn(i))}),e}const a=this;a.__swiper__=!0,a.support=on(),a.device=an({userAgent:t.userAgent}),a.browser=sn(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],t.modules&&Array.isArray(t.modules)&&a.modules.push(...t.modules);const s={};a.modules.forEach(e=>{e({params:t,swiper:a,extendParams:Pn(t,s),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const l=jt({},Dn,s);return a.params=jt({},l,In,t),a.originalParams=jt({},a.params),a.passedParams=jt({},t),a.params&&a.params.on&&Object.keys(a.params.on).forEach(e=>{a.on(e,a.params.on[e])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:n}=this,i=Xt(qt(t,`.${n.slideClass}, swiper-slide`)[0]);return Xt(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=qt(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const i=n.minTranslate(),r=(n.maxTranslate()-i)*e+i;n.translateTo(r,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(n=>{const i=e.getSlideClasses(n);t.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:n,slides:i,slidesGrid:r,slidesSizesGrid:o,size:a,activeIndex:s}=this;let l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=i[s]?Math.ceil(i[s].swiperSlideSize):0;for(let n=s+1;n<i.length;n+=1)i[n]&&!e&&(t+=Math.ceil(i[n].swiperSlideSize),l+=1,t>a&&(e=!0));for(let n=s-1;n>=0;n-=1)i[n]&&!e&&(t+=i[n].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let e=s+1;e<i.length;e+=1){(t?r[e]+o[e]-r[s]<a:r[e]-r[s]<a)&&(l+=1)}else for(let e=s-1;e>=0;e-=1){r[s]-r[e]<a&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(t=>{t.complete&&dn(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(t.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||i()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const n=this,i=n.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove(`${n.params.containerModifierClass}${i}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(n&&n.shadowRoot&&n.shadowRoot.querySelector){return n.shadowRoot.querySelector(i())}return qt(n,i())[0]})();return!r&&t.params.createElements&&(r=Wt("div",t.params.wrapperClass),n.append(r),qt(n,`.${t.params.slideClass}`).forEach(e=>{r.append(e)})),Object.assign(t,{el:n,wrapperEl:r,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===Kt(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===Kt(n,"direction")),wrongRTL:"-webkit-box"===Kt(r,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(e=>{e.complete?dn(t,e):e.addEventListener("load",e=>{dn(t,e.target)})}),fn(t),t.initialized=!0,fn(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const n=this,{params:i,el:r,wrapperEl:o,slides:a}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),r&&"string"!=typeof r&&r.removeAttribute("style"),o&&o.removeAttribute("style"),a&&a.length&&a.forEach(e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),function(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})}(n)),n.destroyed=!0),null}static extendDefaults(e){jt(In,e)}static get extendedDefaults(){return In}static get defaults(){return Dn}static installModule(e){Rn.prototype.__modules__||(Rn.prototype.__modules__=[]);const t=Rn.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>Rn.installModule(e)),Rn):(Rn.installModule(e),Rn)}}function zn(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const o=Pt(),a=It();function s(e){if(!t.enabled)return;const{rtlTranslate:n}=t;let i=e;i.originalEvent&&(i=i.originalEvent);const s=i.keyCode||i.charCode,l=t.params.keyboard.pageUpDown,c=l&&33===s,u=l&&34===s,d=37===s,p=39===s,f=38===s,h=40===s;if(!t.allowSlideNext&&(t.isHorizontal()&&p||t.isVertical()&&h||u))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&d||t.isVertical()&&f||c))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey||o.activeElement&&(o.activeElement.isContentEditable||o.activeElement.nodeName&&("input"===o.activeElement.nodeName.toLowerCase()||"textarea"===o.activeElement.nodeName.toLowerCase())))){if(t.params.keyboard.onlyInViewport&&(c||u||d||p||f||h)){let e=!1;if(Jt(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&0===Jt(t.el,`.${t.params.slideActiveClass}`).length)return;const i=t.el,r=i.clientWidth,o=i.clientHeight,s=a.innerWidth,l=a.innerHeight,c=Yt(i);n&&(c.left-=i.scrollLeft);const u=[[c.left,c.top],[c.left+r,c.top],[c.left,c.top+o],[c.left+r,c.top+o]];for(let t=0;t<u.length;t+=1){const n=u[t];if(n[0]>=0&&n[0]<=s&&n[1]>=0&&n[1]<=l){if(0===n[0]&&0===n[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((c||u||d||p)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),((u||p)&&!n||(c||d)&&n)&&t.slideNext(),((c||d)&&!n||(u||p)&&n)&&t.slidePrev()):((c||u||f||h)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),(u||h)&&t.slideNext(),(c||f)&&t.slidePrev()),r("keyPress",s)}}function l(){t.keyboard.enabled||(o.addEventListener("keydown",s),t.keyboard.enabled=!0)}function c(){t.keyboard.enabled&&(o.removeEventListener("keydown",s),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},n({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),i("init",()=>{t.params.keyboard.enabled&&l()}),i("destroy",()=>{t.keyboard.enabled&&c()}),Object.assign(t.keyboard,{enable:l,disable:c})}function Bn(e,t,n,i){return e.params.createElements&&Object.keys(i).forEach(r=>{if(!n[r]&&!0===n.auto){let o=qt(e.el,`.${i[r]}`)[0];o||(o=Wt("div",i[r]),o.className=i[r],e.el.append(o)),n[r]=o,t[r]=o}}),n}function Fn(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;function o(e){let n;return e&&"string"==typeof e&&t.isElement&&(n=t.el.querySelector(e)||t.hostEl.querySelector(e),n)?n:(e&&("string"==typeof e&&(n=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&n&&n.length>1&&1===t.el.querySelectorAll(e).length?n=t.el.querySelector(e):n&&1===n.length&&(n=n[0])),e&&!n?e:n)}function a(e,n){const i=t.params.navigation;(e=Zt(e)).forEach(e=>{e&&(e.classList[n?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=n),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass))})}function s(){const{nextEl:e,prevEl:n}=t.navigation;if(t.params.loop)return a(n,!1),void a(e,!1);a(n,t.isBeginning&&!t.params.rewind),a(e,t.isEnd&&!t.params.rewind)}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),r("navigationPrev"))}function c(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),r("navigationNext"))}function u(){const e=t.params.navigation;if(t.params.navigation=Bn(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let n=o(e.nextEl),i=o(e.prevEl);Object.assign(t.navigation,{nextEl:n,prevEl:i}),n=Zt(n),i=Zt(i);const r=(n,i)=>{n&&n.addEventListener("click","next"===i?c:l),!t.enabled&&n&&n.classList.add(...e.lockClass.split(" "))};n.forEach(e=>r(e,"next")),i.forEach(e=>r(e,"prev"))}function d(){let{nextEl:e,prevEl:n}=t.navigation;e=Zt(e),n=Zt(n);const i=(e,n)=>{e.removeEventListener("click","next"===n?c:l),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach(e=>i(e,"next")),n.forEach(e=>i(e,"prev"))}n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},i("init",()=>{!1===t.params.navigation.enabled?p():(u(),s())}),i("toEdge fromEdge lock unlock",()=>{s()}),i("destroy",()=>{d()}),i("enable disable",()=>{let{nextEl:e,prevEl:n}=t.navigation;e=Zt(e),n=Zt(n),t.enabled?s():[...e,...n].filter(e=>!!e).forEach(e=>e.classList.add(t.params.navigation.lockClass))}),i("click",(e,n)=>{let{nextEl:i,prevEl:o}=t.navigation;i=Zt(i),o=Zt(o);const a=n.target;let s=o.includes(a)||i.includes(a);if(t.isElement&&!s){const e=n.path||n.composedPath&&n.composedPath();e&&(s=e.find(e=>i.includes(e)||o.includes(e)))}if(t.params.navigation.hideOnClick&&!s){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===a||t.pagination.el.contains(a)))return;let e;i.length?e=i[0].classList.contains(t.params.navigation.hiddenClass):o.length&&(e=o[0].classList.contains(t.params.navigation.hiddenClass)),r(!0===e?"navigationShow":"navigationHide"),[...i,...o].filter(e=>!!e).forEach(e=>e.classList.toggle(t.params.navigation.hiddenClass))}});const p=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),d()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),u(),s()},disable:p,update:s,init:u,destroy:d})}function Hn(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function Vn(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const o="swiper-pagination";let a;n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),t.pagination={el:null,bullets:[]};let s=0;function l(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function c(e,n){const{bulletActiveClass:i}=t.params.pagination;e&&(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${i}-${n}`),(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&e.classList.add(`${i}-${n}-${n}`))}function u(e){const n=e.target.closest(Hn(t.params.pagination.bulletClass));if(!n)return;e.preventDefault();const i=Xt(n)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===i)return;const e=(r=t.realIndex,o=i,a=t.slides.length,(o%=a)===1+(r%=a)?"next":o===r-1?"previous":void 0);"next"===e?t.slideNext():"previous"===e?t.slidePrev():t.slideToLoop(i)}else t.slideTo(i);var r,o,a}function d(){const e=t.rtl,n=t.params.pagination;if(l())return;let i,o,u=t.pagination.el;u=Zt(u);const d=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,p=t.params.loop?Math.ceil(d/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(o=t.previousRealIndex||0,i=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(i=t.snapIndex,o=t.previousSnapIndex):(o=t.previousIndex||0,i=t.activeIndex||0),"bullets"===n.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const r=t.pagination.bullets;let l,d,p;if(n.dynamicBullets&&(a=Qt(r[0],t.isHorizontal()?"width":"height"),u.forEach(e=>{e.style[t.isHorizontal()?"width":"height"]=a*(n.dynamicMainBullets+4)+"px"}),n.dynamicMainBullets>1&&void 0!==o&&(s+=i-(o||0),s>n.dynamicMainBullets-1?s=n.dynamicMainBullets-1:s<0&&(s=0)),l=Math.max(i-s,0),d=l+(Math.min(r.length,n.dynamicMainBullets)-1),p=(d+l)/2),r.forEach(e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${n.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),u.length>1)r.forEach(e=>{const r=Xt(e);r===i?e.classList.add(...n.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),n.dynamicBullets&&(r>=l&&r<=d&&e.classList.add(...`${n.bulletActiveClass}-main`.split(" ")),r===l&&c(e,"prev"),r===d&&c(e,"next"))});else{const e=r[i];if(e&&e.classList.add(...n.bulletActiveClass.split(" ")),t.isElement&&r.forEach((e,t)=>{e.setAttribute("part",t===i?"bullet-active":"bullet")}),n.dynamicBullets){const e=r[l],t=r[d];for(let e=l;e<=d;e+=1)r[e]&&r[e].classList.add(...`${n.bulletActiveClass}-main`.split(" "));c(e,"prev"),c(t,"next")}}if(n.dynamicBullets){const i=Math.min(r.length,n.dynamicMainBullets+4),o=(a*i-a)/2-p*a,s=e?"right":"left";r.forEach(e=>{e.style[t.isHorizontal()?s:"top"]=`${o}px`})}}u.forEach((e,o)=>{if("fraction"===n.type&&(e.querySelectorAll(Hn(n.currentClass)).forEach(e=>{e.textContent=n.formatFractionCurrent(i+1)}),e.querySelectorAll(Hn(n.totalClass)).forEach(e=>{e.textContent=n.formatFractionTotal(p)})),"progressbar"===n.type){let r;r=n.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const o=(i+1)/p;let a=1,s=1;"horizontal"===r?a=o:s=o,e.querySelectorAll(Hn(n.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${s})`,e.style.transitionDuration=`${t.params.speed}ms`})}"custom"===n.type&&n.renderCustom?(en(e,n.renderCustom(t,i+1,p)),0===o&&r("paginationRender",e)):(0===o&&r("paginationRender",e),r("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass)})}function p(){const e=t.params.pagination;if(l())return;const n=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let i=t.pagination.el;i=Zt(i);let o="";if("bullets"===e.type){let i=t.params.loop?Math.ceil(n/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&i>n&&(i=n);for(let n=0;n<i;n+=1)e.renderBullet?o+=e.renderBullet.call(t,n,e.bulletClass):o+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(o=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(o=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],i.forEach(n=>{"custom"!==e.type&&en(n,o||""),"bullets"===e.type&&t.pagination.bullets.push(...n.querySelectorAll(Hn(e.bulletClass)))}),"custom"!==e.type&&r("paginationRender",i[0])}function f(){t.params.pagination=Bn(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let n;"string"==typeof e.el&&t.isElement&&(n=t.el.querySelector(e.el)),n||"string"!=typeof e.el||(n=[...document.querySelectorAll(e.el)]),n||(n=e.el),n&&0!==n.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(n)&&n.length>1&&(n=[...t.el.querySelectorAll(e.el)],n.length>1&&(n=n.find(e=>Jt(e,".swiper")[0]===t.el))),Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(t.pagination,{el:n}),n=Zt(n),n.forEach(n=>{"bullets"===e.type&&e.clickable&&n.classList.add(...(e.clickableClass||"").split(" ")),n.classList.add(e.modifierClass+e.type),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(n.classList.add(`${e.modifierClass}${e.type}-dynamic`),s=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&n.classList.add(e.progressbarOppositeClass),e.clickable&&n.addEventListener("click",u),t.enabled||n.classList.add(e.lockClass)}))}function h(){const e=t.params.pagination;if(l())return;let n=t.pagination.el;n&&(n=Zt(n),n.forEach(n=>{n.classList.remove(e.hiddenClass),n.classList.remove(e.modifierClass+e.type),n.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(n.classList.remove(...(e.clickableClass||"").split(" ")),n.removeEventListener("click",u))})),t.pagination.bullets&&t.pagination.bullets.forEach(t=>t.classList.remove(...e.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:n}=t.pagination;n=Zt(n),n.forEach(n=>{n.classList.remove(e.horizontalClass,e.verticalClass),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)})}),i("init",()=>{!1===t.params.pagination.enabled?m():(f(),p(),d())}),i("activeIndexChange",()=>{void 0===t.snapIndex&&d()}),i("snapIndexChange",()=>{d()}),i("snapGridLengthChange",()=>{p(),d()}),i("destroy",()=>{h()}),i("enable disable",()=>{let{el:e}=t.pagination;e&&(e=Zt(e),e.forEach(e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),i("lock unlock",()=>{d()}),i("click",(e,n)=>{const i=n.target,o=Zt(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&o&&o.length>0&&!i.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&i===t.navigation.nextEl||t.navigation.prevEl&&i===t.navigation.prevEl))return;const e=o[0].classList.contains(t.params.pagination.hiddenClass);r(!0===e?"paginationShow":"paginationHide"),o.forEach(e=>e.classList.toggle(t.params.pagination.hiddenClass))}});const m=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=Zt(e),e.forEach(e=>e.classList.add(t.params.pagination.paginationDisabledClass))),h()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=Zt(e),e.forEach(e=>e.classList.remove(t.params.pagination.paginationDisabledClass))),f(),p(),d()},disable:m,render:p,update:d,init:f,destroy:h})}function jn(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const o=Pt();let a,s,l,c,u=!1,d=null,p=null;function f(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:n}=t,{dragEl:i,el:r}=e,o=t.params.scrollbar,a=t.params.loop?t.progressLoop:t.progress;let c=s,u=(l-s)*a;n?(u=-u,u>0?(c=s-u,u=0):-u+s>l&&(c=l+u)):u<0?(c=s+u,u=0):u+s>l&&(c=l-u),t.isHorizontal()?(i.style.transform=`translate3d(${u}px, 0, 0)`,i.style.width=`${c}px`):(i.style.transform=`translate3d(0px, ${u}px, 0)`,i.style.height=`${c}px`),o.hide&&(clearTimeout(d),r.style.opacity=1,d=setTimeout(()=>{r.style.opacity=0,r.style.transitionDuration="400ms"},1e3))}function h(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{dragEl:n,el:i}=e;n.style.width="",n.style.height="",l=t.isHorizontal()?i.offsetWidth:i.offsetHeight,c=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),s="auto"===t.params.scrollbar.dragSize?l*c:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?n.style.width=`${s}px`:n.style.height=`${s}px`,i.style.display=c>=1?"none":"",t.params.scrollbar.hide&&(i.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function m(e){return t.isHorizontal()?e.clientX:e.clientY}function v(e){const{scrollbar:n,rtlTranslate:i}=t,{el:r}=n;let o;o=(m(e)-Yt(r)[t.isHorizontal()?"left":"top"]-(null!==a?a:s/2))/(l-s),o=Math.max(Math.min(o,1),0),i&&(o=1-o);const c=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*o;t.updateProgress(c),t.setTranslate(c),t.updateActiveIndex(),t.updateSlidesClasses()}function g(e){const n=t.params.scrollbar,{scrollbar:i,wrapperEl:o}=t,{el:s,dragEl:l}=i;u=!0,a=e.target===l?m(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),o.style.transitionDuration="100ms",l.style.transitionDuration="100ms",v(e),clearTimeout(p),s.style.transitionDuration="0ms",n.hide&&(s.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",e)}function y(e){const{scrollbar:n,wrapperEl:i}=t,{el:o,dragEl:a}=n;u&&(e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1,v(e),i.style.transitionDuration="0ms",o.style.transitionDuration="0ms",a.style.transitionDuration="0ms",r("scrollbarDragMove",e))}function b(e){const n=t.params.scrollbar,{scrollbar:i,wrapperEl:o}=t,{el:a}=i;u&&(u=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",o.style.transitionDuration=""),n.hide&&(clearTimeout(p),p=zt(()=>{a.style.opacity=0,a.style.transitionDuration="400ms"},1e3)),r("scrollbarDragEnd",e),n.snapOnRelease&&t.slideToClosest())}function _(e){const{scrollbar:n,params:i}=t,r=n.el;if(!r)return;const a=r,s=!!i.passiveListeners&&{passive:!1,capture:!1},l=!!i.passiveListeners&&{passive:!0,capture:!1};if(!a)return;const c="on"===e?"addEventListener":"removeEventListener";a[c]("pointerdown",g,s),o[c]("pointermove",y,s),o[c]("pointerup",b,l)}function w(){const{scrollbar:e,el:n}=t;t.params.scrollbar=Bn(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const i=t.params.scrollbar;if(!i.el)return;let r,a;if("string"==typeof i.el&&t.isElement&&(r=t.el.querySelector(i.el)),r||"string"!=typeof i.el)r||(r=i.el);else if(r=o.querySelectorAll(i.el),!r.length)return;t.params.uniqueNavElements&&"string"==typeof i.el&&r.length>1&&1===n.querySelectorAll(i.el).length&&(r=n.querySelector(i.el)),r.length>0&&(r=r[0]),r.classList.add(t.isHorizontal()?i.horizontalClass:i.verticalClass),r&&(a=r.querySelector(Hn(t.params.scrollbar.dragClass)),a||(a=Wt("div",t.params.scrollbar.dragClass),r.append(a))),Object.assign(e,{el:r,dragEl:a}),i.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&_("on"),r&&r.classList[t.enabled?"remove":"add"](...Rt(t.params.scrollbar.lockClass))}function S(){const e=t.params.scrollbar,n=t.scrollbar.el;n&&n.classList.remove(...Rt(t.isHorizontal()?e.horizontalClass:e.verticalClass)),t.params.scrollbar.el&&t.scrollbar.el&&_("off")}n({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null},i("changeDirection",()=>{if(!t.scrollbar||!t.scrollbar.el)return;const e=t.params.scrollbar;let{el:n}=t.scrollbar;n=Zt(n),n.forEach(n=>{n.classList.remove(e.horizontalClass,e.verticalClass),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)})}),i("init",()=>{!1===t.params.scrollbar.enabled?E():(w(),h(),f())}),i("update resize observerUpdate lock unlock changeDirection",()=>{h()}),i("setTranslate",()=>{f()}),i("setTransition",(e,n)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(n)}),i("enable disable",()=>{const{el:e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](...Rt(t.params.scrollbar.lockClass))}),i("destroy",()=>{S()});const E=()=>{t.el.classList.add(...Rt(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...Rt(t.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(t.scrollbar,{enable:()=>{t.el.classList.remove(...Rt(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...Rt(t.params.scrollbar.scrollbarDisabledClass)),w(),h(),f()},disable:E,updateSize:h,setTranslate:f,init:w,destroy:S})}function Un(e){let{swiper:t,extendParams:n,on:i}=e;n({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),t.a11y={clicked:!1};let r,o,a=null,s=(new Date).getTime();function l(e){const t=a;0!==t.length&&en(t,e)}function c(e){(e=Zt(e)).forEach(e=>{e.setAttribute("tabIndex","0")})}function u(e){(e=Zt(e)).forEach(e=>{e.setAttribute("tabIndex","-1")})}function d(e,t){(e=Zt(e)).forEach(e=>{e.setAttribute("role",t)})}function p(e,t){(e=Zt(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function f(e,t){(e=Zt(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function h(e){(e=Zt(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function m(e){(e=Zt(e)).forEach(e=>{e.setAttribute("aria-disabled",!1)})}function v(e){if(13!==e.keyCode&&32!==e.keyCode)return;const n=t.params.a11y,i=e.target;if(!t.pagination||!t.pagination.el||i!==t.pagination.el&&!t.pagination.el.contains(e.target)||e.target.matches(Hn(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=Zt(t.navigation.prevEl);Zt(t.navigation.nextEl).includes(i)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?l(n.lastSlideMessage):l(n.nextSlideMessage)),e.includes(i)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?l(n.firstSlideMessage):l(n.prevSlideMessage))}t.pagination&&i.matches(Hn(t.params.pagination.bulletClass))&&i.click()}}function g(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function y(){return g()&&t.params.pagination.clickable}const b=(e,t,n)=>{c(e),"BUTTON"!==e.tagName&&(d(e,"button"),e.addEventListener("keydown",v)),f(e,n),function(e,t){(e=Zt(e)).forEach(e=>{e.setAttribute("aria-controls",t)})}(e,t)},_=e=>{o&&o!==e.target&&!o.contains(e.target)&&(r=!0),t.a11y.clicked=!0},w=()=>{r=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t.destroyed||(t.a11y.clicked=!1)})})},S=e=>{s=(new Date).getTime()},E=e=>{if(t.a11y.clicked||!t.params.a11y.scrollOnFocus)return;if((new Date).getTime()-s<100)return;const n=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!n||!t.slides.includes(n))return;o=n;const i=t.slides.indexOf(n)===t.activeIndex,a=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(n);i||a||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame(()=>{r||(t.params.loop?t.slideToLoop(t.getSlideIndexWhenGrid(parseInt(n.getAttribute("data-swiper-slide-index"))),0):t.slideTo(t.getSlideIndexWhenGrid(t.slides.indexOf(n)),0),r=!1)}))},x=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&p(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&d(t.slides,e.slideRole);const n=t.slides.length;e.slideLabelMessage&&t.slides.forEach((i,r)=>{const o=t.params.loop?parseInt(i.getAttribute("data-swiper-slide-index"),10):r;f(i,e.slideLabelMessage.replace(/\{\{index\}\}/,o+1).replace(/\{\{slidesLength\}\}/,n))})},k=()=>{const e=t.params.a11y;t.el.append(a);const n=t.el;e.containerRoleDescriptionMessage&&p(n,e.containerRoleDescriptionMessage),e.containerMessage&&f(n,e.containerMessage),e.containerRole&&d(n,e.containerRole);const i=t.wrapperEl,r=e.id||i.getAttribute("id")||`swiper-wrapper-${o=16,"x".repeat(o).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}`;var o;const s=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var l;l=r,Zt(i).forEach(e=>{e.setAttribute("id",l)}),function(e,t){(e=Zt(e)).forEach(e=>{e.setAttribute("aria-live",t)})}(i,s),x();let{nextEl:c,prevEl:u}=t.navigation?t.navigation:{};if(c=Zt(c),u=Zt(u),c&&c.forEach(t=>b(t,r,e.nextSlideMessage)),u&&u.forEach(t=>b(t,r,e.prevSlideMessage)),y()){Zt(t.pagination.el).forEach(e=>{e.addEventListener("keydown",v)})}Pt().addEventListener("visibilitychange",S),t.el.addEventListener("focus",E,!0),t.el.addEventListener("focus",E,!0),t.el.addEventListener("pointerdown",_,!0),t.el.addEventListener("pointerup",w,!0)};i("beforeInit",()=>{a=Wt("span",t.params.a11y.notificationClass),a.setAttribute("aria-live","assertive"),a.setAttribute("aria-atomic","true")}),i("afterInit",()=>{t.params.a11y.enabled&&k()}),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{t.params.a11y.enabled&&x()}),i("fromEdge toEdge afterInit lock unlock",()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:n}=t.navigation;n&&(t.isBeginning?(h(n),u(n)):(m(n),c(n))),e&&(t.isEnd?(h(e),u(e)):(m(e),c(e)))}()}),i("paginationUpdate",()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;g()&&t.pagination.bullets.forEach(n=>{t.params.pagination.clickable&&(c(n),t.params.pagination.renderBullet||(d(n,"button"),f(n,e.paginationBulletMessage.replace(/\{\{index\}\}/,Xt(n)+1)))),n.matches(Hn(t.params.pagination.bulletActiveClass))?n.setAttribute("aria-current","true"):n.removeAttribute("aria-current")})}()}),i("destroy",()=>{t.params.a11y.enabled&&function(){a&&a.remove();let{nextEl:e,prevEl:n}=t.navigation?t.navigation:{};e=Zt(e),n=Zt(n),e&&e.forEach(e=>e.removeEventListener("keydown",v)),n&&n.forEach(e=>e.removeEventListener("keydown",v)),y()&&Zt(t.pagination.el).forEach(e=>{e.removeEventListener("keydown",v)});Pt().removeEventListener("visibilitychange",S),t.el&&"string"!=typeof t.el&&(t.el.removeEventListener("focus",E,!0),t.el.removeEventListener("pointerdown",_,!0),t.el.removeEventListener("pointerup",w,!0))}()})}function $n(e){let t,n,{swiper:i,extendParams:r,on:o,emit:a,params:s}=e;i.autoplay={running:!1,paused:!1,timeLeft:0},r({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,c,u,d,p,f,h,m,v=s&&s.autoplay?s.autoplay.delay:3e3,g=s&&s.autoplay?s.autoplay.delay:3e3,y=(new Date).getTime();function b(e){i&&!i.destroyed&&i.wrapperEl&&e.target===i.wrapperEl&&(i.wrapperEl.removeEventListener("transitionend",b),m||e.detail&&e.detail.bySwiperTouchMove||k())}const _=()=>{if(i.destroyed||!i.autoplay.running)return;i.autoplay.paused?c=!0:c&&(g=l,c=!1);const e=i.autoplay.paused?l:y+g-(new Date).getTime();i.autoplay.timeLeft=e,a("autoplayTimeLeft",e,e/v),n=requestAnimationFrame(()=>{_()})},w=e=>{if(i.destroyed||!i.autoplay.running)return;cancelAnimationFrame(n),_();let r=void 0===e?i.params.autoplay.delay:e;v=i.params.autoplay.delay,g=i.params.autoplay.delay;const o=(()=>{let e;if(e=i.virtual&&i.params.virtual.enabled?i.slides.find(e=>e.classList.contains("swiper-slide-active")):i.slides[i.activeIndex],!e)return;return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(o)&&o>0&&void 0===e&&(r=o,v=o,g=o),l=r;const s=i.params.speed,c=()=>{i&&!i.destroyed&&(i.params.autoplay.reverseDirection?!i.isBeginning||i.params.loop||i.params.rewind?(i.slidePrev(s,!0,!0),a("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(i.slides.length-1,s,!0,!0),a("autoplay")):!i.isEnd||i.params.loop||i.params.rewind?(i.slideNext(s,!0,!0),a("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(0,s,!0,!0),a("autoplay")),i.params.cssMode&&(y=(new Date).getTime(),requestAnimationFrame(()=>{w()})))};return r>0?(clearTimeout(t),t=setTimeout(()=>{c()},r)):requestAnimationFrame(()=>{c()}),r},S=()=>{y=(new Date).getTime(),i.autoplay.running=!0,w(),a("autoplayStart")},E=()=>{i.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(n),a("autoplayStop")},x=(e,n)=>{if(i.destroyed||!i.autoplay.running)return;clearTimeout(t),e||(h=!0);const r=()=>{a("autoplayPause"),i.params.autoplay.waitForTransition?i.wrapperEl.addEventListener("transitionend",b):k()};if(i.autoplay.paused=!0,n)return f&&(l=i.params.autoplay.delay),f=!1,void r();const o=l||i.params.autoplay.delay;l=o-((new Date).getTime()-y),i.isEnd&&l<0&&!i.params.loop||(l<0&&(l=0),r())},k=()=>{i.isEnd&&l<0&&!i.params.loop||i.destroyed||!i.autoplay.running||(y=(new Date).getTime(),h?(h=!1,w(l)):w(),i.autoplay.paused=!1,a("autoplayResume"))},T=()=>{if(i.destroyed||!i.autoplay.running)return;const e=Pt();"hidden"===e.visibilityState&&(h=!0,x(!0)),"visible"===e.visibilityState&&k()},C=e=>{"mouse"===e.pointerType&&(h=!0,m=!0,i.animating||i.autoplay.paused||x(!0))},A=e=>{"mouse"===e.pointerType&&(m=!1,i.autoplay.paused&&k())};o("init",()=>{i.params.autoplay.enabled&&(i.params.autoplay.pauseOnMouseEnter&&(i.el.addEventListener("pointerenter",C),i.el.addEventListener("pointerleave",A)),Pt().addEventListener("visibilitychange",T),S())}),o("destroy",()=>{i.el&&"string"!=typeof i.el&&(i.el.removeEventListener("pointerenter",C),i.el.removeEventListener("pointerleave",A)),Pt().removeEventListener("visibilitychange",T),i.autoplay.running&&E()}),o("_freeModeStaticRelease",()=>{(d||h)&&k()}),o("_freeModeNoMomentumRelease",()=>{i.params.autoplay.disableOnInteraction?E():x(!0,!0)}),o("beforeTransitionStart",(e,t,n)=>{!i.destroyed&&i.autoplay.running&&(n||!i.params.autoplay.disableOnInteraction?x(!0,!0):E())}),o("sliderFirstMove",()=>{!i.destroyed&&i.autoplay.running&&(i.params.autoplay.disableOnInteraction?E():(u=!0,d=!1,h=!1,p=setTimeout(()=>{h=!0,d=!0,x(!0)},200)))}),o("touchEnd",()=>{if(!i.destroyed&&i.autoplay.running&&u){if(clearTimeout(p),clearTimeout(t),i.params.autoplay.disableOnInteraction)return d=!1,void(u=!1);d&&i.params.cssMode&&k(),d=!1,u=!1}}),o("slideChange",()=>{!i.destroyed&&i.autoplay.running&&(f=!0)}),Object.assign(i.autoplay,{start:S,stop:E,pause:x,resume:k})}Object.keys(Nn).forEach(e=>{Object.keys(Nn[e]).forEach(t=>{Rn.prototype[t]=Nn[e][t]})}),Rn.use([function(e){let{swiper:t,on:n,emit:i}=e;const r=It();let o=null,a=null;const s=()=>{t&&!t.destroyed&&t.initialized&&(i("beforeResize"),i("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&i("orientationchange")};n("init",()=>{t.params.resizeObserver&&void 0!==r.ResizeObserver?t&&!t.destroyed&&t.initialized&&(o=new ResizeObserver(e=>{a=r.requestAnimationFrame(()=>{const{width:n,height:i}=t;let r=n,o=i;e.forEach(e=>{let{contentBoxSize:n,contentRect:i,target:a}=e;a&&a!==t.el||(r=i?i.width:(n[0]||n).inlineSize,o=i?i.height:(n[0]||n).blockSize)}),r===n&&o===i||s()})}),o.observe(t.el)):(r.addEventListener("resize",s),r.addEventListener("orientationchange",l))}),n("destroy",()=>{a&&r.cancelAnimationFrame(a),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null),r.removeEventListener("resize",s),r.removeEventListener("orientationchange",l)})},function(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const o=[],a=It(),s=function(e,n){void 0===n&&(n={});const i=new(a.MutationObserver||a.WebkitMutationObserver)(e=>{if(t.__preventObserver__)return;if(1===e.length)return void r("observerUpdate",e[0]);const n=function(){r("observerUpdate",e[0])};a.requestAnimationFrame?a.requestAnimationFrame(n):a.setTimeout(n,0)});i.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:t.isElement||(void 0===n.childList||n).childList,characterData:void 0===n.characterData||n.characterData}),o.push(i)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",()=>{if(t.params.observer){if(t.params.observeParents){const e=Jt(t.hostEl);for(let t=0;t<e.length;t+=1)s(e[t])}s(t.hostEl,{childList:t.params.observeSlideChildren}),s(t.wrapperEl,{attributes:!1})}}),i("destroy",()=>{o.forEach(e=>{e.disconnect()}),o.splice(0,o.length)})}]);var qn="top",Gn="bottom",Wn="right",Yn="left",Kn="auto",Xn=[qn,Gn,Wn,Yn],Jn="start",Qn="end",Zn="viewport",ei="popper",ti=Xn.reduce(function(e,t){return e.concat([t+"-"+Jn,t+"-"+Qn])},[]),ni=[].concat(Xn,[Kn]).reduce(function(e,t){return e.concat([t,t+"-"+Jn,t+"-"+Qn])},[]),ii=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ri(e){return e?(e.nodeName||"").toLowerCase():null}function oi(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ai(e){return e instanceof oi(e).Element||e instanceof Element}function si(e){return e instanceof oi(e).HTMLElement||e instanceof HTMLElement}function li(e){return"undefined"!=typeof ShadowRoot&&(e instanceof oi(e).ShadowRoot||e instanceof ShadowRoot)}var ci={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];si(r)&&ri(r)&&(Object.assign(r.style,n),Object.keys(i).forEach(function(e){var t=i[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var i=t.elements[e],r=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});si(i)&&ri(i)&&(Object.assign(i.style,o),Object.keys(r).forEach(function(e){i.removeAttribute(e)}))})}},requires:["computeStyles"]};function ui(e){return e.split("-")[0]}var di=Math.max,pi=Math.min,fi=Math.round;function hi(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function mi(){return!/^((?!chrome|android).)*safari/i.test(hi())}function vi(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),r=1,o=1;t&&si(e)&&(r=e.offsetWidth>0&&fi(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&fi(i.height)/e.offsetHeight||1);var a=(ai(e)?oi(e):window).visualViewport,s=!mi()&&n,l=(i.left+(s&&a?a.offsetLeft:0))/r,c=(i.top+(s&&a?a.offsetTop:0))/o,u=i.width/r,d=i.height/o;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function gi(e){var t=vi(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function yi(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&li(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function bi(e){return oi(e).getComputedStyle(e)}function _i(e){return["table","td","th"].indexOf(ri(e))>=0}function wi(e){return((ai(e)?e.ownerDocument:e.document)||window.document).documentElement}function Si(e){return"html"===ri(e)?e:e.assignedSlot||e.parentNode||(li(e)?e.host:null)||wi(e)}function Ei(e){return si(e)&&"fixed"!==bi(e).position?e.offsetParent:null}function xi(e){for(var t=oi(e),n=Ei(e);n&&_i(n)&&"static"===bi(n).position;)n=Ei(n);return n&&("html"===ri(n)||"body"===ri(n)&&"static"===bi(n).position)?t:n||function(e){var t=/firefox/i.test(hi());if(/Trident/i.test(hi())&&si(e)&&"fixed"===bi(e).position)return null;var n=Si(e);for(li(n)&&(n=n.host);si(n)&&["html","body"].indexOf(ri(n))<0;){var i=bi(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function ki(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ti(e,t,n){return di(e,pi(t,n))}function Ci(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ai(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var Oi={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,r=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=ui(n.placement),l=ki(s),c=[Yn,Wn].indexOf(s)>=0?"height":"width";if(o&&a){var u=function(e,t){return Ci("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ai(e,Xn))}(r.padding,n),d=gi(o),p="y"===l?qn:Yn,f="y"===l?Gn:Wn,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],v=xi(o),g=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=u[p],_=g-d[c]-u[f],w=g/2-d[c]/2+y,S=Ti(b,w,_),E=l;n.modifiersData[i]=((t={})[E]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&yi(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Mi(e){return e.split("-")[1]}var Li={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Di(e){var t,n=e.popper,i=e.popperRect,r=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,f=void 0===p?0:p,h=a.y,m=void 0===h?0:h,v="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=v.x,m=v.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=Yn,_=qn,w=window;if(c){var S=xi(n),E="clientHeight",x="clientWidth";if(S===oi(n)&&"static"!==bi(S=wi(n)).position&&"absolute"===s&&(E="scrollHeight",x="scrollWidth"),r===qn||(r===Yn||r===Wn)&&o===Qn)_=Gn,m-=(d&&S===w&&w.visualViewport?w.visualViewport.height:S[E])-i.height,m*=l?1:-1;if(r===Yn||(r===qn||r===Gn)&&o===Qn)b=Wn,f-=(d&&S===w&&w.visualViewport?w.visualViewport.width:S[x])-i.width,f*=l?1:-1}var k,T=Object.assign({position:s},c&&Li),C=!0===u?function(e,t){var n=e.x,i=e.y,r=t.devicePixelRatio||1;return{x:fi(n*r)/r||0,y:fi(i*r)/r||0}}({x:f,y:m},oi(n)):{x:f,y:m};return f=C.x,m=C.y,l?Object.assign({},T,((k={})[_]=y?"0":"",k[b]=g?"0":"",k.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",k)):Object.assign({},T,((t={})[_]=y?m+"px":"",t[b]=g?f+"px":"",t.transform="",t))}var Pi={passive:!0};var Ni={left:"right",right:"left",bottom:"top",top:"bottom"};function Ii(e){return e.replace(/left|right|bottom|top/g,function(e){return Ni[e]})}var Ri={start:"end",end:"start"};function zi(e){return e.replace(/start|end/g,function(e){return Ri[e]})}function Bi(e){var t=oi(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Fi(e){return vi(wi(e)).left+Bi(e).scrollLeft}function Hi(e){var t=bi(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function Vi(e){return["html","body","#document"].indexOf(ri(e))>=0?e.ownerDocument.body:si(e)&&Hi(e)?e:Vi(Si(e))}function ji(e,t){var n;void 0===t&&(t=[]);var i=Vi(e),r=i===(null==(n=e.ownerDocument)?void 0:n.body),o=oi(i),a=r?[o].concat(o.visualViewport||[],Hi(i)?i:[]):i,s=t.concat(a);return r?s:s.concat(ji(Si(a)))}function Ui(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function $i(e,t,n){return t===Zn?Ui(function(e,t){var n=oi(e),i=wi(e),r=n.visualViewport,o=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){o=r.width,a=r.height;var c=mi();(c||!c&&"fixed"===t)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:o,height:a,x:s+Fi(e),y:l}}(e,n)):ai(t)?function(e,t){var n=vi(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Ui(function(e){var t,n=wi(e),i=Bi(e),r=null==(t=e.ownerDocument)?void 0:t.body,o=di(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=di(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-i.scrollLeft+Fi(e),l=-i.scrollTop;return"rtl"===bi(r||n).direction&&(s+=di(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}(wi(e)))}function qi(e,t,n,i){var r="clippingParents"===t?function(e){var t=ji(Si(e)),n=["absolute","fixed"].indexOf(bi(e).position)>=0&&si(e)?xi(e):e;return ai(n)?t.filter(function(e){return ai(e)&&yi(e,n)&&"body"!==ri(e)}):[]}(e):[].concat(t),o=[].concat(r,[n]),a=o[0],s=o.reduce(function(t,n){var r=$i(e,n,i);return t.top=di(r.top,t.top),t.right=pi(r.right,t.right),t.bottom=pi(r.bottom,t.bottom),t.left=di(r.left,t.left),t},$i(e,a,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Gi(e){var t,n=e.reference,i=e.element,r=e.placement,o=r?ui(r):null,a=r?Mi(r):null,s=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case qn:t={x:s,y:n.y-i.height};break;case Gn:t={x:s,y:n.y+n.height};break;case Wn:t={x:n.x+n.width,y:l};break;case Yn:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?ki(o):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case Jn:t[c]=t[c]-(n[u]/2-i[u]/2);break;case Qn:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function Wi(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=void 0===i?e.placement:i,o=n.strategy,a=void 0===o?e.strategy:o,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?Zn:c,d=n.elementContext,p=void 0===d?ei:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,v=void 0===m?0:m,g=Ci("number"!=typeof v?v:Ai(v,Xn)),y=p===ei?"reference":ei,b=e.rects.popper,_=e.elements[h?y:p],w=qi(ai(_)?_:_.contextElement||wi(e.elements.popper),l,u,a),S=vi(e.elements.reference),E=Gi({reference:S,element:b,placement:r}),x=Ui(Object.assign({},b,E)),k=p===ei?x:S,T={top:w.top-k.top+g.top,bottom:k.bottom-w.bottom+g.bottom,left:w.left-k.left+g.left,right:k.right-w.right+g.right},C=e.modifiersData.offset;if(p===ei&&C){var A=C[r];Object.keys(T).forEach(function(e){var t=[Wn,Gn].indexOf(e)>=0?1:-1,n=[qn,Gn].indexOf(e)>=0?"y":"x";T[e]+=A[n]*t})}return T}function Yi(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?ni:l,u=Mi(i),d=u?s?ti:ti.filter(function(e){return Mi(e)===u}):Xn,p=d.filter(function(e){return c.indexOf(e)>=0});0===p.length&&(p=d);var f=p.reduce(function(t,n){return t[n]=Wi(e,{placement:n,boundary:r,rootBoundary:o,padding:a})[ui(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}var Ki={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,v=t.options.placement,g=ui(v),y=l||(g===v||!h?[Ii(v)]:function(e){if(ui(e)===Kn)return[];var t=Ii(e);return[zi(e),t,zi(t)]}(v)),b=[v].concat(y).reduce(function(e,n){return e.concat(ui(n)===Kn?Yi(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)},[]),_=t.rects.reference,w=t.rects.popper,S=new Map,E=!0,x=b[0],k=0;k<b.length;k++){var T=b[k],C=ui(T),A=Mi(T)===Jn,O=[qn,Gn].indexOf(C)>=0,M=O?"width":"height",L=Wi(t,{placement:T,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),D=O?A?Wn:Yn:A?Gn:qn;_[M]>w[M]&&(D=Ii(D));var P=Ii(D),N=[];if(o&&N.push(L[C]<=0),s&&N.push(L[D]<=0,L[P]<=0),N.every(function(e){return e})){x=T,E=!1;break}S.set(T,N)}if(E)for(var I=function(e){var t=b.find(function(t){var n=S.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return x=t,"break"},R=h?3:1;R>0;R--){if("break"===I(R))break}t.placement!==x&&(t.modifiersData[i]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Xi(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ji(e){return[qn,Wn,Gn,Yn].some(function(t){return e[t]>=0})}var Qi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.offset,o=void 0===r?[0,0]:r,a=ni.reduce(function(e,n){return e[n]=function(e,t,n){var i=ui(e),r=[Yn,qn].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*r,[Yn,Wn].indexOf(i)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e},{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=a}};var Zi={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,v=Wi(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),g=ui(t.placement),y=Mi(t.placement),b=!y,_=ki(g),w="x"===_?"y":"x",S=t.modifiersData.popperOffsets,E=t.rects.reference,x=t.rects.popper,k="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,T="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(S){if(o){var O,M="y"===_?qn:Yn,L="y"===_?Gn:Wn,D="y"===_?"height":"width",P=S[_],N=P+v[M],I=P-v[L],R=f?-x[D]/2:0,z=y===Jn?E[D]:x[D],B=y===Jn?-x[D]:-E[D],F=t.elements.arrow,H=f&&F?gi(F):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},j=V[M],U=V[L],$=Ti(0,E[D],H[D]),q=b?E[D]/2-R-$-j-T.mainAxis:z-$-j-T.mainAxis,G=b?-E[D]/2+R+$+U+T.mainAxis:B+$+U+T.mainAxis,W=t.elements.arrow&&xi(t.elements.arrow),Y=W?"y"===_?W.clientTop||0:W.clientLeft||0:0,K=null!=(O=null==C?void 0:C[_])?O:0,X=P+G-K,J=Ti(f?pi(N,P+q-K-Y):N,P,f?di(I,X):I);S[_]=J,A[_]=J-P}if(s){var Q,Z="x"===_?qn:Yn,ee="x"===_?Gn:Wn,te=S[w],ne="y"===w?"height":"width",ie=te+v[Z],re=te-v[ee],oe=-1!==[qn,Yn].indexOf(g),ae=null!=(Q=null==C?void 0:C[w])?Q:0,se=oe?ie:te-E[ne]-x[ne]-ae+T.altAxis,le=oe?te+E[ne]+x[ne]-ae-T.altAxis:re,ce=f&&oe?function(e,t,n){var i=Ti(e,t,n);return i>n?n:i}(se,te,le):Ti(f?se:ie,te,f?le:re);S[w]=ce,A[w]=ce-te}t.modifiersData[i]=A}},requiresIfExists:["offset"]};function er(e,t,n){void 0===n&&(n=!1);var i,r,o=si(t),a=si(t)&&function(e){var t=e.getBoundingClientRect(),n=fi(t.width)/e.offsetWidth||1,i=fi(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),s=wi(t),l=vi(e,a,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==ri(t)||Hi(s))&&(c=(i=t)!==oi(i)&&si(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:Bi(i)),si(t)?((u=vi(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Fi(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function tr(e){var t=new Map,n=new Set,i=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var i=t.get(e);i&&r(i)}}),i.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||r(e)}),i}var nr={placement:"bottom",modifiers:[],strategy:"absolute"};function ir(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function rr(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,r=t.defaultOptions,o=void 0===r?nr:r;return function(e,t,n){void 0===n&&(n=o);var r,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},nr,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var r="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},o,s.options,r),s.scrollParents={reference:ai(e)?ji(e):e.contextElement?ji(e.contextElement):[],popper:ji(t)};var a,c,p=function(e){var t=tr(e);return ii.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(i,s.options.modifiers),c=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return s.orderedModifiers=p.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var o=r({state:s,name:t,instance:u,options:i}),a=function(){};l.push(o||a)}}),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(ir(t,n)){s.rects={reference:er(t,xi(n),"fixed"===s.options.strategy),popper:gi(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var i=0;i<s.orderedModifiers.length;i++)if(!0!==s.reset){var r=s.orderedModifiers[i],o=r.fn,a=r.options,l=void 0===a?{}:a,d=r.name;"function"==typeof o&&(s=o({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,i=-1}}},update:(r=function(){return new Promise(function(e){u.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(r())})})),a}),destroy:function(){d(),c=!0}};if(!ir(e,t))return u;function d(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var or=rr({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,o=void 0===r||r,a=i.resize,s=void 0===a||a,l=oi(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(e){e.addEventListener("scroll",n.update,Pi)}),s&&l.addEventListener("resize",n.update,Pi),function(){o&&c.forEach(function(e){e.removeEventListener("scroll",n.update,Pi)}),s&&l.removeEventListener("resize",n.update,Pi)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Gi({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:ui(t.placement),variation:Mi(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Di(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Di(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ci,Qi,Ki,Zi,Oi,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,a=Wi(t,{elementContext:"reference"}),s=Wi(t,{altBoundary:!0}),l=Xi(a,i),c=Xi(s,r,o),u=Ji(l),d=Ji(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});function ar({element:e,visibleClass:t,waitMode:n="transitionend",timeoutDuration:i,hideMode:r="hidden",displayValue:o="block"}){if("timeout"===n&&"number"!=typeof i)return void console.error("\n When calling transitionHiddenElement with waitMode set to timeout,\n you must pass in a number for timeoutDuration.\n ");window.matchMedia("(prefers-reduced-motion: reduce)").matches&&(n="immediate");const a=t=>{t.target===e&&(s(),e.removeEventListener("transitionend",a))},s=()=>{"display"===r?e.style.display="none":e.setAttribute("hidden",!0)};return{show(){e.removeEventListener("transitionend",a),this.timeout&&clearTimeout(this.timeout),"display"===r?e.style.display=o:e.removeAttribute("hidden"),e.offsetHeight,e.classList.add(t)},hide(){"transitionend"===n?e.addEventListener("transitionend",a):"timeout"===n?this.timeout=setTimeout(()=>{s()},i):s(),e.classList.remove(t)},toggle(){this.isHidden()?this.show():this.hide()},isHidden(){const n=null!==e.getAttribute("hidden"),i="none"===e.style.display,r=[...e.classList].includes(t);return n||i||!r},timeout:null}}var sr={rootContainerSelector:"#root-tooltips",removeDialogOnDestroy:!1,popperOptions:{placement:"bottom",strategy:"absolute",modifiers:[{name:"arrow",options:{element:".tooltip__arrow",padding:10}},{name:"eventListeners",options:{scroll:!1,resize:!1}},{name:"flip",options:{fallbackPlacements:["right","top","auto"]}},{name:"offset",options:{offset:function(e){var t=e.placement;return t.includes("start")?[-10,0]:t.includes("end")?[10,0]:[0,0]}}}]}},lr=function(){return o(function e(t,n){var r;return i(this,e),this.element=t,this.config=c(c({},sr),n),this.config.popperOptions=c(c({},sr.popperOptions),(null==n?void 0:n.popperOptions)||{}),this.config.popperOptions.modifiers=[].concat(f(sr.popperOptions.modifiers),f((null==n||null===(r=n.popperOptions)||void 0===r?void 0:r.modifiers)||[])),this.handleVisibility=this.handleVisibility.bind(this),this.onKeydown=this.onKeydown.bind(this),this.element.ODS_Tooltip=this,this.init(),this},[{key:"wrapLastWordAndButton",value:function(){var e,t;if(this.element.hasAttribute("data-tooltip-keep-with-text")){var n=this.trigger.previousSibling;if(n&&n.nodeType===Node.TEXT_NODE){var i=((null===(e=n.textContent)||void 0===e?void 0:e.trim())||"").split(" "),r=i.pop(),o=i.join(" ");n.textContent=o+" ";var a=document.createElement("span");a.className="text-nowrap",a.innerHTML="".concat(r," ").concat(this.trigger.outerHTML),null===(t=this.trigger.parentNode)||void 0===t||t.replaceChild(a,this.trigger),this.trigger=a.querySelector("[data-tooltip-trigger]")}else console.warn("Previous sibling is not a text node.")}}},{key:"init",value:function(){this.trigger=document.querySelector("[data-tooltip-trigger][aria-describedby=".concat(this.element.getAttribute("id"),"]")),this.trigger||console.warn("tooltip trigger element is not defined and the tooltip cannot be attached. Please provide an element with [aria-describedby=".concat(this.element.getAttribute("id"),"]")),this.element.hasAttribute("data-tooltip-keep-with-text")&&this.wrapLastWordAndButton(),this.rootContainer=document.querySelector(this.config.rootContainerSelector),this.rootContainer?this.rootContainer.appendChild(this.element):console.warn("rootContainer element is not defined. Tooltips will be placed inside content which can affect positioning. Please provide rootContainer element (should be placed outside of main content, usually in end of <body /> tag)");var e=this.element.getAttribute("data-tooltip-placement");e&&(this.config.popperOptions.placement=e),this.instance=or(this.trigger,this.element,this.config.popperOptions),this.transitioner=ar({element:this.element,visibleClass:"is-visible"}),this.trigger.addEventListener("mouseenter",this.handleVisibility),this.trigger.addEventListener("mouseleave",this.handleVisibility),this.trigger.addEventListener("focus",this.handleVisibility),this.trigger.addEventListener("blur",this.handleVisibility)}},{key:"handleVisibility",value:function(e){("mouseenter"!==e.type&&"focus"!==e.type||this.show(),"blur"===e.type&&this.hide(),"mouseleave"===e.type)&&(this.shouldClose(e)&&this.hide())}},{key:"shouldClose",value:function(e){var t=this,n=e.relatedreference||e.toElement||e.relatedTarget,i=function(e){var n=e.relatedreference||e.toElement||e.relatedTarget;t.element.removeEventListener("mouseleave",i),t.trigger.contains(n)||t.hide()};return!this.element.contains(n)||(this.element.addEventListener("mouseleave",i),!1)}},{key:"onKeydown",value:function(e){E.ESC.includes(e.key)&&this.hide()}},{key:"show",value:function(){this.transitioner.show(),this.trigger.classList.add("is-active"),this.instance.forceUpdate(),document.addEventListener("keydown",this.onKeydown)}},{key:"hide",value:function(){this.transitioner.hide(),this.trigger.classList.remove("is-active"),document.removeEventListener("keydown",this.onKeydown)}},{key:"update",value:function(){this.instance.forceUpdate()}},{key:"destroy",value:function(){this.trigger.removeEventListener("mouseenter",this.handleVisibility),this.trigger.removeEventListener("mouseleave",this.handleVisibility),this.trigger.removeEventListener("focus",this.handleVisibility),this.trigger.removeEventListener("blur",this.handleVisibility),this.instance.destroy(),this.element.ODS_Tooltip=null,this.config.removeDialogOnDestroy&&this.element.remove()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Tooltip?e.ODS_Tooltip:null}}])}(),cr="carousel",ur="".concat(cr,"__viewport"),dr="".concat(cr,"__track"),pr="".concat(cr,"__slide"),fr="".concat(cr,"__slide-next"),hr="".concat(cr,"__slide-prev"),mr="".concat(cr,"__prev"),vr="".concat(cr,"__next"),gr="".concat(cr,"__pagination"),yr="".concat(cr,"__pagination-item"),br="".concat(cr,"__scrollbar"),_r="".concat(cr,"__scrollbar-horizontal"),wr="".concat(cr,"__scrollbar-drag"),Sr="is-active",Er=".".concat(ur),xr=".".concat(dr),kr=".".concat(mr),Tr=".".concat(vr),Cr=".".concat(gr),Ar=".".concat(br),Or=".".concat(Sr),Mr={navigation:{nextEl:Tr,prevEl:kr},pagination:{el:Cr,clickable:!0,bulletClass:yr,bulletActiveClass:Sr,renderBullet:function(e,t){return'<button aria-label="Page '.concat(e+1,'" role="tab" class="').concat(t,'" type="button"></button>')}},scrollbar:{el:Ar,draggable:!0,enabled:!0,horizontalClass:_r,dragClass:wr},slidesPerView:1.2,a11y:{enabled:!0,prevSlideMessage:"Predchádzajúci snímok",nextSlideMessage:"Nasledujúci snímok",paginationBulletMessage:"Prejsť na snímok {index}",containerMessage:"Carousel so snímkami",containerRoleDescriptionMessage:"carousel",itemRoleDescriptionMessage:"snímok",firstSlideMessage:"Prvý snímok",lastSlideMessage:"Posledný snímok",slideLabelMessage:"Snímok"},loop:!1,cssMode:!1,direction:"horizontal",breakpoints:{1240:{slidesPerView:1.6}},wrapperClass:dr,slideClass:pr,slideActiveClass:Sr,slideNextClass:fr,slidePrevClass:hr},Lr=function(){return o(function e(t,n){var r,o,a=this;return i(this,e),this.element=t,this.config=c(c(c({},Mr),n),{},{scrollbar:c(c(c({},null!==(r=Mr.scrollbar)&&void 0!==r?r:{}),null!==(o=null==n?void 0:n.scrollbar)&&void 0!==o?o:{}),{},{el:this.element.querySelector(Ar)})}),this.handleSlideChange=this.handleSlideChange.bind(this),this.updateTooltipPosition=this.updateTooltipPosition.bind(this),this.element.ODS_Carousel=this,requestAnimationFrame(function(){a.init()}),this},[{key:"init",value:function(){this.getElements(),this.element.hasAttribute("data-swiper-options")&&this.getCustomOptions(),this.instance=new Rn(this.viewport,c(c({},this.config),{},{modules:[Fn,Vn,jn,Un,zn],on:{slideChange:this.handleSlideChange}}))}},{key:"getElements",value:function(){var e,t;this.viewport=this.element.querySelector(Er),this.track=this.viewport.querySelector(xr);var n=this.element.querySelector(Cr);n&&!n.hasAttribute("role")&&n.setAttribute("role","tablist");var i={navigation:c(c({},null!==(e=this.config.navigation)&&void 0!==e?e:{}),{},{nextEl:this.element.querySelector(Tr),prevEl:this.element.querySelector(kr)}),pagination:c(c({},null!==(t=this.config.pagination)&&void 0!==t?t:{}),{},{el:n,clickable:!0,bulletClass:"carousel__pagination-item",bulletActiveClass:Sr})};this.config=c(c({},this.config),i)}},{key:"getCustomOptions",value:function(){var e=this.element.getAttribute("data-swiper-options");if(e){var t=JSON.parse(e);this.config=c(c({},this.config),t)}}},{key:"handleSlideChange",value:function(){var e=this.track.querySelector(Or),t=this.track.querySelectorAll(".".concat(pr,":not(").concat(Or,")"));e&&this.updateTooltipPosition(e),t.length>0&&this.hideAllTooltips(t)}},{key:"updateTooltipPosition",value:function(e){var t=e.querySelectorAll('[data-tooltip-trigger="true"]');t.length>0&&t.forEach(function(e){var t=e.getAttribute("aria-describedby");if(t){var n=document.getElementById(t);if(n){var i=lr.getInstance(n);i&&i.update()}}})}},{key:"hideAllTooltips",value:function(e){e.forEach(function(e){var t=e.querySelectorAll('[data-tooltip-trigger="true"]');t.length>0&&t.forEach(function(e){var t=e.getAttribute("aria-describedby");if(t){var n=document.getElementById(t);if(n){var i=lr.getInstance(n);i&&(i.hide(),e.blur())}}})})}},{key:"destroy",value:function(){this.instance&&this.instance.destroy()}},{key:"update",value:function(){this.instance&&this.instance.update()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Carousel?e.ODS_Carousel:null}}])}(),Dr="carousel-promotions",Pr="".concat(Dr,"__viewport"),Nr="".concat(Dr,"__track"),Ir="".concat(Dr,"__slide"),Rr="".concat(Dr,"__pagination"),zr="".concat(Dr,"__pagination-item"),Br="".concat(Dr,"__pagination-svg"),Fr="".concat(Dr,"__pagination-circle"),Hr="".concat(Dr,"--slide-inverted"),Vr="is-autoplay",jr="is-active",Ur=".".concat(Pr),$r=".".concat(Rr),qr={pagination:{el:$r,clickable:!0,bulletClass:zr,bulletActiveClass:jr,renderBullet:function(e,t){return'<button aria-label="Stránka '.concat(e+1,'" role="tab" class="').concat(t,'" type="button"></button>')}},slidesPerView:1,loop:!0,a11y:{enabled:!0,prevSlideMessage:"Predchádzajúci snímok",nextSlideMessage:"Nasledujúci snímok",paginationBulletMessage:"Prejsť na snímok {index}",containerMessage:"Carousel so snímkami",containerRoleDescriptionMessage:"carousel",itemRoleDescriptionMessage:"snímok",firstSlideMessage:"Prvý snímok",lastSlideMessage:"Posledný snímok",slideLabelMessage:"Snímok"},cssMode:!1,direction:"horizontal",wrapperClass:Nr,slideClass:Ir,slideActiveClass:jr,autoplay:!1},Gr=function(){function e(t,n){return i(this,e),s(this,"interval",0),this.element=t,this.config=c(c({},qr),n),this.interval=0,this.handleSlideChange=this.handleSlideChange.bind(this),this.scrollToNextSlide=this.scrollToNextSlide.bind(this),this.autoplayAnimationEnd=this.autoplayAnimationEnd.bind(this),this.element.ODS_CarouselPromotions=this,this.init(),this}return o(e,[{key:"init",value:function(){var e=this;this.getElements(),this.element.hasAttribute("data-swiper-options")&&this.getCustomOptions(),this.element.hasAttribute("data-interval")&&(this.interval=parseInt(this.element.getAttribute("data-interval")));var t=this.isIntervalValid();t?(this.element.classList.add(Vr),this.config.autoplay={delay:this.interval,disableOnInteraction:!1}):(this.interval=0,this.config.autoplay=!1),this.instance=new Rn(this.viewport,c(c({},this.config),{},{modules:[Fn,Vn,Un,zn,$n],on:{slideChange:this.handleSlideChange,init:function(){e.fixPaginationButtonType(),e.isAutoplayEnabled&&e.renderSvgDotsForAnimation()},update:function(){e.fixPaginationButtonType(),e.isAutoplayEnabled&&e.renderSvgDotsForAnimation()}}}));var n=this.element.querySelector($r);n&&t&&(n.addEventListener("animationend",this.autoplayAnimationEnd),n.addEventListener("click",function(){e.stopAutoplay()}))}},{key:"stopAutoplay",value:function(){this.interval=0,this.element.classList.remove(Vr),this.instance&&this.instance.autoplay&&this.instance.autoplay.stop()}},{key:"handleSlideChange",value:function(){(this.element.classList.remove(Hr),this.instance&&void 0!==this.instance.activeIndex)&&(this.instance.activeIndex%2==1&&this.element.classList.add(Hr))}},{key:"autoplayAnimationEnd",value:function(e){e instanceof AnimationEvent&&"countdown"===e.animationName&&this.scrollToNextSlide()}},{key:"isAutoplayEnabled",get:function(){return this.interval>0}},{key:"isIntervalValid",value:function(){var e=parseInt(String(this.interval));return!isNaN(e)&&e>=1e3}},{key:"scrollToNextSlide",value:function(){if(this.instance&&this.instance.slides){var e=this.instance.slides.length;if(!(e<=0)){var t=this.instance.activeIndex||0;this.instance.slideTo((t+1)%e)}}}},{key:"getElements",value:function(){var e;this.viewport=this.element.querySelector(Ur);var t=this.element.querySelector($r);t&&!t.hasAttribute("role")&&t.setAttribute("role","tablist");var n={pagination:c(c({},null!==(e=this.config.pagination)&&void 0!==e?e:{}),{},{el:t,clickable:!0,bulletClass:zr,bulletActiveClass:jr})};this.config=c(c({},this.config),n)}},{key:"getCustomOptions",value:function(){var e=this.element.getAttribute("data-swiper-options");if(e){var t=JSON.parse(e);this.config=c(c({},this.config),t)}}},{key:"fixPaginationButtonType",value:function(){Array.from(this.element.querySelectorAll("".concat($r," > *"))).forEach(function(e){return e.setAttribute("type","button")})}},{key:"renderSvgDotsForAnimation",value:function(){var t=Array.from(this.element.querySelectorAll("".concat($r," > *"))),n=e.createSvgDot();n.querySelector("circle").style.animationDuration="".concat(this.interval,"ms"),t.forEach(function(e){e.innerHTML="",e.appendChild(n.cloneNode(!0))})}},{key:"destroy",value:function(){this.instance&&this.instance.destroy()}},{key:"update",value:function(){this.instance&&this.instance.update()}}],[{key:"createSvgDot",value:function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");t.setAttribute("class",Br),t.setAttribute("width","12"),t.setAttribute("height","12"),t.setAttribute("viewBox","0 0 12 12"),t.setAttribute("fill","none"),t.setAttribute("xmlns",e);var n=document.createElementNS(e,"circle");return n.setAttribute("class",Fr),n.setAttribute("r","5"),n.setAttribute("cx","6"),n.setAttribute("cy","6"),t.appendChild(n),t}},{key:"getInstance",value:function(e){return e&&e.ODS_CarouselPromotions?e.ODS_CarouselPromotions:null}}])}(),Wr={dataInteractive:"data-dropdown-interactive",focusTrap:"data-dropdown-focus-trap",removeDialogOnDestroy:!1,popperOptions:{placement:"bottom-start",strategy:"absolute",modifiers:[{name:"eventListeners",options:{scroll:!1,resize:!1}},{name:"flip",options:{fallbackPlacements:["bottom-end","bottom-start","bottom"]}},{name:"offset",options:{offset:[0,-1]}}]}},Yr=function(){return o(function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i(this,e),t.ODS_Dropdown?t.ODS_Dropdown:(this.element=t,this.config=c(c({},Wr),r),this.config.popperOptions=c(c({},Wr.popperOptions),(null==r?void 0:r.popperOptions)||{}),this.config.popperOptions.modifiers=[].concat(f(Wr.popperOptions.modifiers||[]),f((null==r||null===(n=r.popperOptions)||void 0===n?void 0:n.modifiers)||[])),this.handleVisibility=this.handleVisibility.bind(this),this.handleKeyPress=this.handleKeyPress.bind(this),this.handleClick=this.handleClick.bind(this),this.element.ODS_Dropdown=this,this.focusableElements=this.element.querySelectorAll('a[href]:not([disabled]), button:not([disabled]),\n textarea:not([disabled]), input[type="text"]:not([disabled]),\n input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]),\n select:not([disabled])'),this.init(),this)},[{key:"init",value:function(){this.trigger=document.getElementById(this.element.id.replace("dropdown","btn"));var e=this.element.getAttribute("data-dropdown-placement");e&&(this.config.popperOptions.placement=e),this.instance=or(this.trigger,this.element,this.config.popperOptions),this.transitioner=ar({element:this.element,visibleClass:"dropdown--visible"}),this.trigger.addEventListener("click",this.handleVisibility,!0)}},{key:"handleVisibility",value:function(){this.element.classList.contains("dropdown--visible")?this.hide():this.show()}},{key:"handleClick",value:function(e){this.trigger===e.target||this.trigger.contains(e.target)||this.element.hasAttribute(this.config.dataInteractive)&&!e.target.id.includes(this.element.id.replace("dropdown","btn"))&&this.element.contains(e.target)||this.handleVisibility()}},{key:"handleKeyPress",value:function(e){if(E.ESC.includes(e.key)&&(this.handleVisibility(),this.element.contains(document.activeElement)&&this.trigger.focus(),this.hide()),this.element.hasAttribute(this.config.focusTrap)){var t=this.focusableElements[0],n=this.focusableElements[this.focusableElements.length-1];document.activeElement!==this.button||"Tab"!==e.key&&9!==e.keyCode?"Tab"!==e.key&&9!==e.keyCode||(e.shiftKey?document.activeElement===t&&(n.focus(),e.preventDefault()):document.activeElement===n&&(t.focus(),e.preventDefault())):e.shiftKey&&(this.focusableElements[this.focusableElements.length-1].focus(),e.preventDefault())}}},{key:"show",value:function(){var e=this;this.transitioner.show(),this.instance.forceUpdate(),document.addEventListener("keydown",this.handleKeyPress),document.addEventListener("click",this.handleClick),window.onresize=function(){return e.update()}}},{key:"hide",value:function(){this.transitioner.hide(),document.removeEventListener("keydown",this.handleKeyPress),document.removeEventListener("click",this.handleClick),window.onresize=null}},{key:"update",value:function(){this.instance.forceUpdate()}},{key:"destroy",value:function(){this.trigger.removeEventListener("click",this.handleVisibility),this.instance.destroy(),this.element.ODS_Dropdown=null,window.onresize=null,this.config.removeDialogOnDestroy&&this.element.remove()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Dropdown?e.ODS_Dropdown:null}}])}(),Kr=function(){return o(function e(t){i(this,e),this.element=t,this.toggle=this.toggle.bind(this),this.element.ODS_Expander=this,this.init()},[{key:"toggle",value:function(){console.log("Toggle event triggered");var e=this.element.querySelector("summary");if(e){var t=e.getAttribute("data-summary"),n=e.getAttribute("data-summary-opened");if(e.setAttribute("aria-expanded","true"===e.getAttribute("aria-expanded")?"false":"true"),n){var i="true"===e.getAttribute("aria-expanded")?n:t;i&&e.setAttribute("aria-label",i)}}}},{key:"init",value:function(){this.element.addEventListener("toggle",this.toggle)}},{key:"update",value:function(){this.destroy(),this.init()}},{key:"destroy",value:function(){this.element.removeEventListener("toggle",this.toggle)}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Expander?e.ODS_Expander:null}}])}(),Xr={itemSelector:"[data-feature-accordion-item]",bodiesSelector:".accordion__body",buttonSelector:"[data-feature-accordion-toggle]",imageSelector:"[data-feature-accordion-image]"},Jr=function(){return o(function e(t,n){var r=this;return i(this,e),s(this,"items",[]),s(this,"bodies",[]),s(this,"buttons",[]),s(this,"images",[]),s(this,"activeId",null),s(this,"onClick",function(e){var t=e.currentTarget.getAttribute("id");r.setActive(t)}),this.element=t,this.config=c(c({},Xr),n),this.element.ODS_FeatureAccordion=this,this.init(),this},[{key:"init",value:function(){var e=this;this.items=Array.from(this.element.querySelectorAll(this.config.itemSelector)),this.bodies=Array.from(this.element.querySelectorAll(this.config.bodiesSelector)),this.buttons=Array.from(this.element.querySelectorAll(this.config.buttonSelector)),this.images=Array.from(this.element.querySelectorAll(this.config.imageSelector));var t=this.buttons[0]||null,n=(null==t?void 0:t.getAttribute("id"))||null;this.setActive(n),this.buttons.forEach(function(t){t.addEventListener("click",e.onClick)})}},{key:"setActive",value:function(e){if(e){this.activeId=e,this.bodies.forEach(function(e){e.setAttribute("hidden",""),e.classList.remove("is-active")}),this.buttons.forEach(function(e){var t=e.closest(".feature-accordion__item");null==t||t.classList.remove("is-active"),A({element:e,attribute:"aria-expanded",value:"false"})});var t=this.buttons.find(function(t){return t.getAttribute("id")===e});if(t){var n=t.getAttribute("aria-controls"),i=n?document.getElementById(n):null,r=t.closest(".feature-accordion__item");i&&(i.removeAttribute("hidden"),i.classList.add("is-active")),r&&r.classList.add("is-active"),A({element:t,attribute:"aria-expanded",value:"true"})}this.images.forEach(function(t){var n=t.getAttribute("data-feature-accordion-image-for");t.classList.toggle("hide",n!==e)})}}},{key:"destroy",value:function(){var e=this;this.buttons.forEach(function(t){t.removeEventListener("click",e.onClick)})}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_FeatureAccordion?e.ODS_FeatureAccordion:null}}])}();
4
- /*! @license DOMPurify 3.2.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.7/LICENSE */
5
- const{entries:Qr,setPrototypeOf:Zr,isFrozen:eo,getPrototypeOf:to,getOwnPropertyDescriptor:no}=Object;let{freeze:io,seal:ro,create:oo}=Object,{apply:ao,construct:so}="undefined"!=typeof Reflect&&Reflect;io||(io=function(e){return e}),ro||(ro=function(e){return e}),ao||(ao=function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];return e.apply(t,i)}),so||(so=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return new e(...n)});const lo=xo(Array.prototype.forEach),co=xo(Array.prototype.lastIndexOf),uo=xo(Array.prototype.pop),po=xo(Array.prototype.push),fo=xo(Array.prototype.splice),ho=xo(String.prototype.toLowerCase),mo=xo(String.prototype.toString),vo=xo(String.prototype.match),go=xo(String.prototype.replace),yo=xo(String.prototype.indexOf),bo=xo(String.prototype.trim),_o=xo(Object.prototype.hasOwnProperty),wo=xo(RegExp.prototype.test),So=(Eo=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return so(Eo,t)});var Eo;function xo(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return ao(e,t,i)}}function ko(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ho;Zr&&Zr(e,null);let i=t.length;for(;i--;){let r=t[i];if("string"==typeof r){const e=n(r);e!==r&&(eo(t)||(t[i]=e),r=e)}e[r]=!0}return e}function To(e){for(let t=0;t<e.length;t++){_o(e,t)||(e[t]=null)}return e}function Co(e){const t=oo(null);for(const[n,i]of Qr(e)){_o(e,n)&&(Array.isArray(i)?t[n]=To(i):i&&"object"==typeof i&&i.constructor===Object?t[n]=Co(i):t[n]=i)}return t}function Ao(e,t){for(;null!==e;){const n=no(e,t);if(n){if(n.get)return xo(n.get);if("function"==typeof n.value)return xo(n.value)}e=to(e)}return function(){return null}}const Oo=io(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Mo=io(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","slot","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Lo=io(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Do=io(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Po=io(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),No=io(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Io=io(["#text"]),Ro=io(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),zo=io(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Bo=io(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Fo=io(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ho=ro(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Vo=ro(/<%[\w\W]*|[\w\W]*%>/gm),jo=ro(/\$\{[\w\W]*/gm),Uo=ro(/^data-[\-\w.\u00B7-\uFFFF]+$/),$o=ro(/^aria-[\-\w]+$/),qo=ro(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Go=ro(/^(?:\w+script|data):/i),Wo=ro(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Yo=ro(/^html$/i),Ko=ro(/^[a-z][.\w]*(-[.\w]+)+$/i);var Xo=Object.freeze({__proto__:null,ARIA_ATTR:$o,ATTR_WHITESPACE:Wo,CUSTOM_ELEMENT:Ko,DATA_ATTR:Uo,DOCTYPE_NAME:Yo,ERB_EXPR:Vo,IS_ALLOWED_URI:qo,IS_SCRIPT_OR_DATA:Go,MUSTACHE_EXPR:Ho,TMPLIT_EXPR:jo});const Jo=1,Qo=3,Zo=7,ea=8,ta=9,na=function(){return"undefined"==typeof window?null:window};var ia=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:na();const n=t=>e(t);if(n.version="3.2.7",n.removed=[],!t||!t.document||t.document.nodeType!==ta||!t.Element)return n.isSupported=!1,n;let{document:i}=t;const r=i,o=r.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:c,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:p,DOMParser:f,trustedTypes:h}=t,m=c.prototype,v=Ao(m,"cloneNode"),g=Ao(m,"remove"),y=Ao(m,"nextSibling"),b=Ao(m,"childNodes"),_=Ao(m,"parentNode");if("function"==typeof s){const e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let w,S="";const{implementation:E,createNodeIterator:x,createDocumentFragment:k,getElementsByTagName:T}=i,{importNode:C}=r;let A={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof Qr&&"function"==typeof _&&E&&void 0!==E.createHTMLDocument;const{MUSTACHE_EXPR:O,ERB_EXPR:M,TMPLIT_EXPR:L,DATA_ATTR:D,ARIA_ATTR:P,IS_SCRIPT_OR_DATA:N,ATTR_WHITESPACE:I,CUSTOM_ELEMENT:R}=Xo;let{IS_ALLOWED_URI:z}=Xo,B=null;const F=ko({},[...Oo,...Mo,...Lo,...Po,...Io]);let H=null;const V=ko({},[...Ro,...zo,...Bo,...Fo]);let j=Object.seal(oo(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),U=null,$=null,q=!0,G=!0,W=!1,Y=!0,K=!1,X=!0,J=!1,Q=!1,Z=!1,ee=!1,te=!1,ne=!1,ie=!0,re=!1,oe=!0,ae=!1,se={},le=null;const ce=ko({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ue=null;const de=ko({},["audio","video","img","source","image","track"]);let pe=null;const fe=ko({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),he="http://www.w3.org/1998/Math/MathML",me="http://www.w3.org/2000/svg",ve="http://www.w3.org/1999/xhtml";let ge=ve,ye=!1,be=null;const _e=ko({},[he,me,ve],mo);let we=ko({},["mi","mo","mn","ms","mtext"]),Se=ko({},["annotation-xml"]);const Ee=ko({},["title","style","font","a","script"]);let xe=null;const ke=["application/xhtml+xml","text/html"];let Te=null,Ce=null;const Ae=i.createElement("form"),Oe=function(e){return e instanceof RegExp||e instanceof Function},Me=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ce||Ce!==e){if(e&&"object"==typeof e||(e={}),e=Co(e),xe=-1===ke.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Te="application/xhtml+xml"===xe?mo:ho,B=_o(e,"ALLOWED_TAGS")?ko({},e.ALLOWED_TAGS,Te):F,H=_o(e,"ALLOWED_ATTR")?ko({},e.ALLOWED_ATTR,Te):V,be=_o(e,"ALLOWED_NAMESPACES")?ko({},e.ALLOWED_NAMESPACES,mo):_e,pe=_o(e,"ADD_URI_SAFE_ATTR")?ko(Co(fe),e.ADD_URI_SAFE_ATTR,Te):fe,ue=_o(e,"ADD_DATA_URI_TAGS")?ko(Co(de),e.ADD_DATA_URI_TAGS,Te):de,le=_o(e,"FORBID_CONTENTS")?ko({},e.FORBID_CONTENTS,Te):ce,U=_o(e,"FORBID_TAGS")?ko({},e.FORBID_TAGS,Te):Co({}),$=_o(e,"FORBID_ATTR")?ko({},e.FORBID_ATTR,Te):Co({}),se=!!_o(e,"USE_PROFILES")&&e.USE_PROFILES,q=!1!==e.ALLOW_ARIA_ATTR,G=!1!==e.ALLOW_DATA_ATTR,W=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,K=e.SAFE_FOR_TEMPLATES||!1,X=!1!==e.SAFE_FOR_XML,J=e.WHOLE_DOCUMENT||!1,ee=e.RETURN_DOM||!1,te=e.RETURN_DOM_FRAGMENT||!1,ne=e.RETURN_TRUSTED_TYPE||!1,Z=e.FORCE_BODY||!1,ie=!1!==e.SANITIZE_DOM,re=e.SANITIZE_NAMED_PROPS||!1,oe=!1!==e.KEEP_CONTENT,ae=e.IN_PLACE||!1,z=e.ALLOWED_URI_REGEXP||qo,ge=e.NAMESPACE||ve,we=e.MATHML_TEXT_INTEGRATION_POINTS||we,Se=e.HTML_INTEGRATION_POINTS||Se,j=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Oe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(j.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Oe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(j.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(j.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),K&&(G=!1),te&&(ee=!0),se&&(B=ko({},Io),H=[],!0===se.html&&(ko(B,Oo),ko(H,Ro)),!0===se.svg&&(ko(B,Mo),ko(H,zo),ko(H,Fo)),!0===se.svgFilters&&(ko(B,Lo),ko(H,zo),ko(H,Fo)),!0===se.mathMl&&(ko(B,Po),ko(H,Bo),ko(H,Fo))),e.ADD_TAGS&&(B===F&&(B=Co(B)),ko(B,e.ADD_TAGS,Te)),e.ADD_ATTR&&(H===V&&(H=Co(H)),ko(H,e.ADD_ATTR,Te)),e.ADD_URI_SAFE_ATTR&&ko(pe,e.ADD_URI_SAFE_ATTR,Te),e.FORBID_CONTENTS&&(le===ce&&(le=Co(le)),ko(le,e.FORBID_CONTENTS,Te)),oe&&(B["#text"]=!0),J&&ko(B,["html","head","body"]),B.table&&(ko(B,["tbody"]),delete U.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw So('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw So('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,S=w.createHTML("")}else void 0===w&&(w=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";t&&t.hasAttribute(i)&&(n=t.getAttribute(i));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(h,o)),null!==w&&"string"==typeof S&&(S=w.createHTML(""));io&&io(e),Ce=e}},Le=ko({},[...Mo,...Lo,...Do]),De=ko({},[...Po,...No]),Pe=function(e){po(n.removed,{element:e});try{_(e).removeChild(e)}catch(t){g(e)}},Ne=function(e,t){try{po(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){po(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(ee||te)try{Pe(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ie=function(e){let t=null,n=null;if(Z)e="<remove></remove>"+e;else{const t=vo(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===xe&&ge===ve&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=w?w.createHTML(e):e;if(ge===ve)try{t=(new f).parseFromString(r,xe)}catch(e){}if(!t||!t.documentElement){t=E.createDocument(ge,"template",null);try{t.documentElement.innerHTML=ye?S:r}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),ge===ve?T.call(t,J?"html":"body")[0]:J?t.documentElement:o},Re=function(e){return x.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},ze=function(e){return e instanceof p&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Be=function(e){return"function"==typeof l&&e instanceof l};function Fe(e,t,i){lo(e,e=>{e.call(n,t,i,Ce)})}const He=function(e){let t=null;if(Fe(A.beforeSanitizeElements,e,null),ze(e))return Pe(e),!0;const i=Te(e.nodeName);if(Fe(A.uponSanitizeElement,e,{tagName:i,allowedTags:B}),X&&e.hasChildNodes()&&!Be(e.firstElementChild)&&wo(/<[/\w!]/g,e.innerHTML)&&wo(/<[/\w!]/g,e.textContent))return Pe(e),!0;if(e.nodeType===Zo)return Pe(e),!0;if(X&&e.nodeType===ea&&wo(/<[/\w]/g,e.data))return Pe(e),!0;if(!B[i]||U[i]){if(!U[i]&&je(i)){if(j.tagNameCheck instanceof RegExp&&wo(j.tagNameCheck,i))return!1;if(j.tagNameCheck instanceof Function&&j.tagNameCheck(i))return!1}if(oe&&!le[i]){const t=_(e)||e.parentNode,n=b(e)||e.childNodes;if(n&&t){for(let i=n.length-1;i>=0;--i){const r=v(n[i],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,y(e))}}}return Pe(e),!0}return e instanceof c&&!function(e){let t=_(e);t&&t.tagName||(t={namespaceURI:ge,tagName:"template"});const n=ho(e.tagName),i=ho(t.tagName);return!!be[e.namespaceURI]&&(e.namespaceURI===me?t.namespaceURI===ve?"svg"===n:t.namespaceURI===he?"svg"===n&&("annotation-xml"===i||we[i]):Boolean(Le[n]):e.namespaceURI===he?t.namespaceURI===ve?"math"===n:t.namespaceURI===me?"math"===n&&Se[i]:Boolean(De[n]):e.namespaceURI===ve?!(t.namespaceURI===me&&!Se[i])&&!(t.namespaceURI===he&&!we[i])&&!De[n]&&(Ee[n]||!Le[n]):!("application/xhtml+xml"!==xe||!be[e.namespaceURI]))}(e)?(Pe(e),!0):"noscript"!==i&&"noembed"!==i&&"noframes"!==i||!wo(/<\/no(script|embed|frames)/i,e.innerHTML)?(K&&e.nodeType===Qo&&(t=e.textContent,lo([O,M,L],e=>{t=go(t,e," ")}),e.textContent!==t&&(po(n.removed,{element:e.cloneNode()}),e.textContent=t)),Fe(A.afterSanitizeElements,e,null),!1):(Pe(e),!0)},Ve=function(e,t,n){if(ie&&("id"===t||"name"===t)&&(n in i||n in Ae))return!1;if(G&&!$[t]&&wo(D,t));else if(q&&wo(P,t));else if(!H[t]||$[t]){if(!(je(e)&&(j.tagNameCheck instanceof RegExp&&wo(j.tagNameCheck,e)||j.tagNameCheck instanceof Function&&j.tagNameCheck(e))&&(j.attributeNameCheck instanceof RegExp&&wo(j.attributeNameCheck,t)||j.attributeNameCheck instanceof Function&&j.attributeNameCheck(t,e))||"is"===t&&j.allowCustomizedBuiltInElements&&(j.tagNameCheck instanceof RegExp&&wo(j.tagNameCheck,n)||j.tagNameCheck instanceof Function&&j.tagNameCheck(n))))return!1}else if(pe[t]);else if(wo(z,go(n,I,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==yo(n,"data:")||!ue[e]){if(W&&!wo(N,go(n,I,"")));else if(n)return!1}else;return!0},je=function(e){return"annotation-xml"!==e&&vo(e,R)},Ue=function(e){Fe(A.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||ze(e))return;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:H,forceKeepAttr:void 0};let r=t.length;for(;r--;){const o=t[r],{name:a,namespaceURI:s,value:l}=o,c=Te(a),u=l;let d="value"===a?u:bo(u);if(i.attrName=c,i.attrValue=d,i.keepAttr=!0,i.forceKeepAttr=void 0,Fe(A.uponSanitizeAttribute,e,i),d=i.attrValue,!re||"id"!==c&&"name"!==c||(Ne(a,e),d="user-content-"+d),X&&wo(/((--!?|])>)|<\/(style|title|textarea)/i,d)){Ne(a,e);continue}if("attributename"===c&&vo(d,"href")){Ne(a,e);continue}if(i.forceKeepAttr)continue;if(!i.keepAttr){Ne(a,e);continue}if(!Y&&wo(/\/>/i,d)){Ne(a,e);continue}K&&lo([O,M,L],e=>{d=go(d,e," ")});const p=Te(e.nodeName);if(Ve(p,c,d)){if(w&&"object"==typeof h&&"function"==typeof h.getAttributeType)if(s);else switch(h.getAttributeType(p,c)){case"TrustedHTML":d=w.createHTML(d);break;case"TrustedScriptURL":d=w.createScriptURL(d)}if(d!==u)try{s?e.setAttributeNS(s,a,d):e.setAttribute(a,d),ze(e)?Pe(e):uo(n.removed)}catch(t){Ne(a,e)}}else Ne(a,e)}Fe(A.afterSanitizeAttributes,e,null)},$e=function e(t){let n=null;const i=Re(t);for(Fe(A.beforeSanitizeShadowDOM,t,null);n=i.nextNode();)Fe(A.uponSanitizeShadowNode,n,null),He(n),Ue(n),n.content instanceof a&&e(n.content);Fe(A.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,o=null,s=null,c=null;if(ye=!e,ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Be(e)){if("function"!=typeof e.toString)throw So("toString is not a function");if("string"!=typeof(e=e.toString()))throw So("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Q||Me(t),n.removed=[],"string"==typeof e&&(ae=!1),ae){if(e.nodeName){const t=Te(e.nodeName);if(!B[t]||U[t])throw So("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)i=Ie("\x3c!----\x3e"),o=i.ownerDocument.importNode(e,!0),o.nodeType===Jo&&"BODY"===o.nodeName||"HTML"===o.nodeName?i=o:i.appendChild(o);else{if(!ee&&!K&&!J&&-1===e.indexOf("<"))return w&&ne?w.createHTML(e):e;if(i=Ie(e),!i)return ee?null:ne?S:""}i&&Z&&Pe(i.firstChild);const u=Re(ae?e:i);for(;s=u.nextNode();)He(s),Ue(s),s.content instanceof a&&$e(s.content);if(ae)return e;if(ee){if(te)for(c=k.call(i.ownerDocument);i.firstChild;)c.appendChild(i.firstChild);else c=i;return(H.shadowroot||H.shadowrootmode)&&(c=C.call(r,c,!0)),c}let d=J?i.outerHTML:i.innerHTML;return J&&B["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&wo(Yo,i.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+d),K&&lo([O,M,L],e=>{d=go(d,e," ")}),w&&ne?w.createHTML(d):d},n.setConfig=function(){Me(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Q=!0},n.clearConfig=function(){Ce=null,Q=!1},n.isValidAttribute=function(e,t,n){Ce||Me({});const i=Te(e),r=Te(t);return Ve(i,r,n)},n.addHook=function(e,t){"function"==typeof t&&po(A[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=co(A[e],t);return-1===n?void 0:fo(A[e],n,1)[0]}return uo(A[e])},n.removeHooks=function(e){A[e]=[]},n.removeAllHooks=function(){A={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}(),ra={dragDropClassname:"is-dragdrop",inputSelector:'input[type="file"]',resultsSelector:".file-input__files",deleteButtonSelector:"[data-file-delete]",deleteFileAttr:"data-file-delete",fileTemplate:function(e,t){return"\n <li>".concat(e,'&nbsp;<button type="button" data-file-delete="').concat(t,'" class="file-input__delete">\n <svg class="icon icon--small icon--trash icon--danger" aria-hidden="true">\n <use xlink:href="/sprite.svg#trash"></use>\n </svg>\n <span class="sr-only">Odstrániť súbor ').concat(e,"</span>\n </button>\n </li>\n ")}},oa=function(){return o(function e(t,n){return i(this,e),this.element=t,this.config=c(c({},ra),n),this.input=null,this.files=[],this.results=null,this.removeButtons=[],this.onInputChange=this.onInputChange.bind(this),this.onRemoveButtonClick=this.onRemoveButtonClick.bind(this),this.highlight=this.highlight.bind(this),this.unhighlight=this.unhighlight.bind(this),this.onDrop=this.onDrop.bind(this),this.preventDefaults=this.preventDefaults.bind(this),this.init(),this},[{key:"init",value:function(){var e=this;this.input=this.element.querySelector(this.config.inputSelector),this.results=this.element.querySelector(this.config.resultsSelector),this.input&&this.results&&(this.input.addEventListener("change",this.onInputChange),["dragenter","dragover","dragleave","drop"].forEach(function(t){e.element.addEventListener(t,e.preventDefaults,!1),document.body.addEventListener(t,e.preventDefaults,!1)}),["dragenter","dragover"].forEach(function(t){e.element.addEventListener(t,e.highlight,!1)}),["dragleave","drop"].forEach(function(t){e.element.addEventListener(t,e.unhighlight,!1)}),this.element.addEventListener("drop",this.onDrop))}},{key:"onInputChange",value:function(){var e,t=this;return!(!this.input||!this.results)&&(this.files=Array.from(null!==(e=this.input.files)&&void 0!==e?e:[]),!!this.files&&(this.results.innerHTML="",this.files.map(function(e,n){return t.config.fileTemplate(ia.sanitize(e.name,{ALLOWED_TAGS:[]}),n)}).forEach(function(e){t.results.appendChild(ia.sanitize(e,{ADD_TAGS:["use"],RETURN_DOM_FRAGMENT:!0}))}),this.removeButtons=Array.from(this.results.querySelectorAll(this.config.deleteButtonSelector)),void this.removeButtons.forEach(function(e){return e.addEventListener("click",t.onRemoveButtonClick)})))}},{key:"onDrop",value:function(e){var t;this.input&&(this.input.files=(null==e||null===(t=e.dataTransfer)||void 0===t?void 0:t.files)||(new DataTransfer).files,this.onInputChange())}},{key:"onRemoveButtonClick",value:function(e){if(this.input){var t=new DataTransfer,n=e.currentTarget,i=Number(n.getAttribute(this.config.deleteFileAttr));this.files.splice(i,1),this.files.forEach(function(e){return t.items.add(e)}),this.input.files=t.files,this.onInputChange()}}},{key:"highlight",value:function(){this.element.classList.add(this.config.dragDropClassname)}},{key:"unhighlight",value:function(){this.element.classList.remove(this.config.dragDropClassname)}},{key:"preventDefaults",value:function(e){e.preventDefault(),e.stopPropagation()}},{key:"destroy",value:function(){var e=this;this.input&&(this.input.removeEventListener("change",this.onInputChange),["dragenter","dragover","dragleave","drop"].forEach(function(t){e.element.removeEventListener(t,e.preventDefaults,!1),document.body.removeEventListener(t,e.preventDefaults,!1)}),["dragenter","dragover"].forEach(function(t){e.element.removeEventListener(t,e.highlight,!1)}),["dragleave","drop"].forEach(function(t){e.element.removeEventListener(t,e.unhighlight,!1)}),this.element.removeEventListener("drop",this.onDrop))}},{key:"update",value:function(){this.destroy(),this.init()}}])}(),aa={cycleDuration:4e3,delay:5e3},sa=function(){return o(function e(t,n){i(this,e),this.element=t,this.config=c(c({},aa),n),this.interval=null,this.delay=null,this.currentMessageIndex=0,this.messages=[],this.cycleMessages=this.cycleMessages.bind(this),this.element.ODS_Loader=this,this.init()},[{key:"initBody",value:function(){var e,t=this.element.getAttribute("data-loader-messages");(this.messages=t?JSON.parse(t):[],this.messages.length)&&(this.interval=window.setInterval(this.cycleMessages,null!==(e=this.config.cycleDuration)&&void 0!==e?e:aa.cycleDuration))}},{key:"init",value:function(){var e,t=this;this.element.hasAttribute("data-loader-delayed")?this.delay=window.setTimeout(function(){t.element.parentNode&&t.element.parentNode instanceof HTMLElement&&t.element.parentNode.classList.remove("hide"),t.initBody()},null!==(e=this.config.delay)&&void 0!==e?e:aa.delay):this.initBody()}},{key:"destroy",value:function(){this.interval&&window.clearInterval(this.interval),this.delay&&window.clearTimeout(this.delay)}},{key:"cycleMessages",value:function(){this.currentMessageIndex<this.messages.length?(this.element.innerText=this.messages[this.currentMessageIndex],this.currentMessageIndex+=1):this.destroy()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Loader?e.ODS_Loader:null}}])}();const la=":not([inert]):not([inert] *)",ca=':not([tabindex^="-"])',ua=":not(:disabled)";var da=[`a[href]${la}${ca}`,`area[href]${la}${ca}`,`input:not([type="hidden"]):not([type="radio"])${la}${ca}${ua}`,`input[type="radio"]${la}${ca}${ua}`,`select${la}${ca}${ua}`,`textarea${la}${ca}${ua}`,`button${la}${ca}${ua}`,`details${la} > summary:first-of-type${ca}`,`iframe${la}${ca}`,`audio[controls]${la}${ca}`,`video[controls]${la}${ca}`,`[contenteditable]${la}${ca}`,`[tabindex]${la}${ca}`];function pa(e){(e.querySelector("[autofocus]")||e).focus()}function fa(e,t){if(t&&va(e))return e;if(function(e){return(!e.shadowRoot||"-1"!==e.getAttribute("tabindex"))&&!e.matches(":disabled,[hidden],[inert]")}(e))if(e.shadowRoot){let n=ha(e.shadowRoot,t);for(;n;){const e=fa(n,t);if(e)return e;n=ma(n,t)}}else if("slot"===e.localName){const n=e.assignedElements({flatten:!0});t||n.reverse();for(const e of n){const n=fa(e,t);if(n)return n}}else{let n=ha(e,t);for(;n;){const e=fa(n,t);if(e)return e;n=ma(n,t)}}return!t&&va(e)?e:null}function ha(e,t){return t?e.firstElementChild:e.lastElementChild}function ma(e,t){return t?e.nextElementSibling:e.previousElementSibling}const va=e=>!e.shadowRoot?.delegatesFocus&&(e.matches(da.join(","))&&!(e=>!(!e.matches("details:not([open]) *")||e.matches("details>summary:first-of-type"))||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))(e));function ga(e=document){const t=e.activeElement;return t?t.shadowRoot?ga(t.shadowRoot)||document.activeElement:t:null}function ya(e,t){const[n,i]=function(e){const t=fa(e,!0);return[t,t?fa(e,!1)||t:null]}(e);if(!n)return t.preventDefault();const r=ga();t.shiftKey&&r===n?(i.focus(),t.preventDefault()):t.shiftKey||r!==i||(n.focus(),t.preventDefault())}function ba(e,t){return function t(n){if(!n||n===document||n===window)return null;const i=_a(n);return i&&(n=i),n.closest(e)||t(n.getRootNode().host)}(t)}function _a(e){return e.assignedSlot||(e.parentNode?_a(e.parentNode):null)}const wa="data-a11y-dialog";class Sa{$el;id;previouslyFocused;shown;constructor(e){this.$el=e,this.id=this.$el.getAttribute(wa)||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.fire("destroy").defaultPrevented||(this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0))),this}show(e){if(this.shown)return this;return this.fire("show",e).defaultPrevented||(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=ga(),"BODY"===this.previouslyFocused?.tagName&&e?.target&&(this.previouslyFocused=e.target),"focus"===e?.type?this.maintainFocus():pa(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0)),this}hide(e){if(!this.shown)return this;return this.fire("hide",e).defaultPrevented||(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.previouslyFocused?.focus?.()),this}on(e,t,n){return this.$el.addEventListener(e,t,n),this}off(e,t,n){return this.$el.removeEventListener(e,t,n),this}fire(e,t){const n=new CustomEvent(e,{detail:t,cancelable:!0});return this.$el.dispatchEvent(n),n}handleTriggerClicks(e){const t=e.composedPath()[0],n=ba(`[${wa}-show="${this.id}"]`,t),i=ba(`[${wa}-hide="${this.id}"]`,t),r=ba(`[${wa}-hide]`,t)&&ba('[aria-modal="true"]',t)===this.$el;n&&this.show(e),(i||r)&&this.hide(e)}bindKeypress(e){if(ba('[aria-modal="true"]',ga())!==this.$el)return;let t=!1;try{t=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}"Escape"!==e.key||"alertdialog"===this.$el.getAttribute("role")||t||(e.preventDefault(),this.hide(e)),"Tab"===e.key&&ya(this.$el,e)}maintainFocus(){const e=ga();ba(`[aria-modal="true"], [${wa}-ignore-focus-trap]`,e)||pa(this.$el)}}function Ea(){for(const e of document.querySelectorAll("[data-a11y-dialog]"))new Sa(e)}"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",Ea):Ea());
6
- /*!
7
- * tabbable 6.2.0
8
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
9
- */var xa,ka,Ta=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),Ca="undefined"==typeof Element,Aa=Ca?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Oa=!Ca&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Ma=function e(t,n){var i;void 0===n&&(n=!0);var r=null==t||null===(i=t.getAttribute)||void 0===i?void 0:i.call(t,"inert");return""===r||"true"===r||n&&t&&e(t.parentNode)},La=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))}(e)?0:e.tabIndex},Da=function(e){return"INPUT"===e.tagName},Pa=function(e){return function(e){return Da(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||Oa(e),i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var r=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!r||r===e}(e)},Na=function(e){var t=e.getBoundingClientRect(),n=t.width,i=t.height;return 0===n&&0===i},Ia=function(e,t){var n=t.displayCheck,i=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var r=Aa.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Aa.call(r,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return Na(e)}else{if("function"==typeof i){for(var o=e;e;){var a=e.parentElement,s=Oa(e);if(a&&!a.shadowRoot&&!0===i(a))return Na(e);e=e.assignedSlot?e.assignedSlot:a||s===e.ownerDocument?a:s.host}e=o}if(function(e){var t,n,i,r,o=e&&Oa(e),a=null===(t=o)||void 0===t?void 0:t.host,s=!1;if(o&&o!==e)for(s=!!(null!==(n=a)&&void 0!==n&&null!==(i=n.ownerDocument)&&void 0!==i&&i.contains(a)||null!=e&&null!==(r=e.ownerDocument)&&void 0!==r&&r.contains(e));!s&&a;){var l,c,u;s=!(null===(c=a=null===(l=o=Oa(a))||void 0===l?void 0:l.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(a))}return s}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},Ra=function(e,t){return!(t.disabled||Ma(t)||function(e){return Da(e)&&"hidden"===e.type}(t)||Ia(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var i=t.children.item(n);if("LEGEND"===i.tagName)return!!Aa.call(t,"fieldset[disabled] *")||!i.contains(e)}return!0}t=t.parentElement}return!1}(t))},za=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Aa.call(e,Ta)&&function(e,t){return!(Pa(t)||La(t)<0||!Ra(e,t))}(t,e)},Ba=function(){function e(t,n){return i(this,e),this.element=t,this.config=c(c({},{classModalIsOpen:"is-active",classModalIsOpenBody:"has-modal",root:"#root",modalsRoot:"#root-modals"}),n),this.handleShow=this.handleShow.bind(this),this.handleHide=this.handleHide.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.headerFirstItemSpacing=this.headerFirstItemSpacing.bind(this),e.moveToModalRoot=e.moveToModalRoot.bind(this),e.lockBody=e.lockBody.bind(this),e.unlockBody=e.unlockBody.bind(this),this.element.ODS_Modal=this,this.init(),this}return o(e,[{key:"handleShow",value:function(t){e.lockBody(),t&&t.classList.add(this.config.classModalIsOpen);var n=t.querySelector("[data-a11y-dialog-initial-focus]");n&&(za(n)||n.setAttribute("tabindex","-1"),n.focus())}},{key:"handleHide",value:function(t){e.unlockBody(),t&&t.classList.remove(this.config.classModalIsOpen)}},{key:"show",value:function(){this.instance.show()}},{key:"hide",value:function(){this.instance.hide()}},{key:"headerFirstItemSpacing",value:function(){var e=this.element.querySelector(".modal__header");if(e){var t=e.classList.contains("modal__header--no-spacing"),n=Array.from(e.children).find(function(e){return!e.classList.contains("btn")});n&&!t&&(n.style.marginRight="40px")}}},{key:"init",value:function(){var t=this;this.config.modalsRoot&&e.moveToModalRoot(this.element,document.querySelector(this.config.modalsRoot)),this.instance=new Sa(this.element),this.instance.on("show",function(e){var n=e.currentTarget;t.handleShow(n)}),this.instance.on("hide",function(e){var n=e.currentTarget;t.handleHide(n)}),this.headerFirstItemSpacing()}},{key:"destroy",value:function(){this.instance.destroy(),this.element.ODS_Modal=this}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Modal||null}},{key:"moveToModalRoot",value:function(e,t){var n;t?t.appendChild(e):console.warn("`modalsRoot: ".concat(null===(n=this.config)||void 0===n?void 0:n.modalsRoot,"` element is not present in DOM. Modal will be placed inside content which can affect it's styling. Please provide `modalsRoot` selector (should be placed outside of main contant, usualy in end of <body /> tag)"))}},{key:"lockBody",value:function(e,t){var n,i,r=e||(null===(n=this.config)||void 0===n?void 0:n.classModalIsOpenBody),o=t||(null===(i=this.config)||void 0===i?void 0:i.root),a=document.querySelector(o),s=document.documentElement.scrollTop||document.body.scrollTop;document.body.setAttribute("data-lock-scrolltop",s.toString()),document.body.style.height="100%",document.body.style.width="100%",document.body.style.overflow="hidden",document.body.style.position="fixed",a&&(a.style.height="100%",a.style.width="100%",a.style.overflow="hidden",a.style.position="fixed",a.scrollTop=s),document.body.classList.add(r),window.requestAnimationFrame(function(){window.scrollTo(0,s)})}},{key:"unlockBody",value:function(e,t){var n,i,r=e||(null===(n=this.config)||void 0===n?void 0:n.classModalIsOpenBody),o=t||(null===(i=this.config)||void 0===i?void 0:i.root),a=document.querySelector(o),s=document.body.getAttribute("data-lock-scrolltop")||"0";document.body.style.height="",document.body.style.width="",document.body.style.overflow="",document.body.style.position="",document.body.classList.remove(r),a&&(a.style.height="",a.style.width="",a.style.overflow="",a.style.position=""),window.requestAnimationFrame(function(){window.scrollTo({left:0,top:parseInt(s,10),behavior:"instant"})})}}])}();function Fa(e){return"object"==typeof e&&"function"==typeof e.to}function Ha(e){e.parentElement.removeChild(e)}function Va(e){return null!=e}function ja(e){e.preventDefault()}function Ua(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function $a(e,t,n){n>0&&(Ya(e,t),setTimeout(function(){Ka(e,t)},n))}function qa(e){return Math.max(Math.min(e,100),0)}function Ga(e){return Array.isArray(e)?e:[e]}function Wa(e){var t=(e=String(e)).split(".");return t.length>1?t[1].length:0}function Ya(e,t){e.classList&&!/\s/.test(t)?e.classList.add(t):e.className+=" "+t}function Ka(e,t){e.classList&&!/\s/.test(t)?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function Xa(e){var t=void 0!==window.pageXOffset,n="CSS1Compat"===(e.compatMode||"");return{x:t?window.pageXOffset:n?e.documentElement.scrollLeft:e.body.scrollLeft,y:t?window.pageYOffset:n?e.documentElement.scrollTop:e.body.scrollTop}}function Ja(e,t){return 100/(t-e)}function Qa(e,t,n){return 100*t/(e[n+1]-e[n])}function Za(e,t){for(var n=1;e>=t[n];)n+=1;return n}function es(e,t,n){if(n>=e.slice(-1)[0])return 100;var i=Za(n,e),r=e[i-1],o=e[i],a=t[i-1],s=t[i];return a+function(e,t){return Qa(e,e[0]<0?t+Math.abs(e[0]):t-e[0],0)}([r,o],n)/Ja(a,s)}function ts(e,t,n,i){if(100===i)return i;var r=Za(i,e),o=e[r-1],a=e[r];return n?i-o>(a-o)/2?a:o:t[r-1]?e[r-1]+function(e,t){return Math.round(e/t)*t}(i-e[r-1],t[r-1]):i}!function(e){e.Range="range",e.Steps="steps",e.Positions="positions",e.Count="count",e.Values="values"}(xa||(xa={})),function(e){e[e.None=-1]="None",e[e.NoValue=0]="NoValue",e[e.LargeValue=1]="LargeValue",e[e.SmallValue=2]="SmallValue"}(ka||(ka={}));var ns=function(){function e(e,t,n){var i;this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[n||!1],this.xNumSteps=[!1],this.snap=t;var r=[];for(Object.keys(e).forEach(function(t){r.push([Ga(e[t]),t])}),r.sort(function(e,t){return e[0][0]-t[0][0]}),i=0;i<r.length;i++)this.handleEntryPoint(r[i][1],r[i][0]);for(this.xNumSteps=this.xSteps.slice(0),i=0;i<this.xNumSteps.length;i++)this.handleStepPoint(i,this.xNumSteps[i])}return e.prototype.getDistance=function(e){for(var t=[],n=0;n<this.xNumSteps.length-1;n++)t[n]=Qa(this.xVal,e,n);return t},e.prototype.getAbsoluteDistance=function(e,t,n){var i,r=0;if(e<this.xPct[this.xPct.length-1])for(;e>this.xPct[r+1];)r++;else e===this.xPct[this.xPct.length-1]&&(r=this.xPct.length-2);n||e!==this.xPct[r+1]||r++,null===t&&(t=[]);var o=1,a=t[r],s=0,l=0,c=0,u=0;for(i=n?(e-this.xPct[r])/(this.xPct[r+1]-this.xPct[r]):(this.xPct[r+1]-e)/(this.xPct[r+1]-this.xPct[r]);a>0;)s=this.xPct[r+1+u]-this.xPct[r+u],t[r+u]*o+100-100*i>100?(l=s*i,o=(a-100*i)/t[r+u],i=1):(l=t[r+u]*s/100*o,o=0),n?(c-=l,this.xPct.length+u>=1&&u--):(c+=l,this.xPct.length-u>=1&&u++),a=t[r+u]*o;return e+c},e.prototype.toStepping=function(e){return e=es(this.xVal,this.xPct,e)},e.prototype.fromStepping=function(e){return function(e,t,n){if(n>=100)return e.slice(-1)[0];var i=Za(n,t),r=e[i-1],o=e[i],a=t[i-1];return function(e,t){return t*(e[1]-e[0])/100+e[0]}([r,o],(n-a)*Ja(a,t[i]))}(this.xVal,this.xPct,e)},e.prototype.getStep=function(e){return e=ts(this.xPct,this.xSteps,this.snap,e)},e.prototype.getDefaultStep=function(e,t,n){var i=Za(e,this.xPct);return(100===e||t&&e===this.xPct[i-1])&&(i=Math.max(i-1,1)),(this.xVal[i]-this.xVal[i-1])/n},e.prototype.getNearbySteps=function(e){var t=Za(e,this.xPct);return{stepBefore:{startValue:this.xVal[t-2],step:this.xNumSteps[t-2],highestStep:this.xHighestCompleteStep[t-2]},thisStep:{startValue:this.xVal[t-1],step:this.xNumSteps[t-1],highestStep:this.xHighestCompleteStep[t-1]},stepAfter:{startValue:this.xVal[t],step:this.xNumSteps[t],highestStep:this.xHighestCompleteStep[t]}}},e.prototype.countStepDecimals=function(){var e=this.xNumSteps.map(Wa);return Math.max.apply(null,e)},e.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},e.prototype.convert=function(e){return this.getStep(this.toStepping(e))},e.prototype.handleEntryPoint=function(e,t){var n;if(!Ua(n="min"===e?0:"max"===e?100:parseFloat(e))||!Ua(t[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(n),this.xVal.push(t[0]);var i=Number(t[1]);n?this.xSteps.push(!isNaN(i)&&i):isNaN(i)||(this.xSteps[0]=i),this.xHighestCompleteStep.push(0)},e.prototype.handleStepPoint=function(e,t){if(t)if(this.xVal[e]!==this.xVal[e+1]){this.xSteps[e]=Qa([this.xVal[e],this.xVal[e+1]],t,0)/Ja(this.xPct[e],this.xPct[e+1]);var n=(this.xVal[e+1]-this.xVal[e])/this.xNumSteps[e],i=Math.ceil(Number(n.toFixed(3))-1),r=this.xVal[e]+this.xNumSteps[e]*i;this.xHighestCompleteStep[e]=r}else this.xSteps[e]=this.xHighestCompleteStep[e]=this.xVal[e]},e}(),is={to:function(e){return void 0===e?"":e.toFixed(2)},from:Number},rs={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},os=".__tooltips",as=".__aria";function ss(e,t){if(!Ua(t))throw new Error("noUiSlider: 'step' is not numeric.");e.singleStep=t}function ls(e,t){if(!Ua(t))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");e.keyboardPageMultiplier=t}function cs(e,t){if(!Ua(t))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");e.keyboardMultiplier=t}function us(e,t){if(!Ua(t))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");e.keyboardDefaultStep=t}function ds(e,t){if("object"!=typeof t||Array.isArray(t))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===t.min||void 0===t.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");e.spectrum=new ns(t,e.snap||!1,e.singleStep)}function ps(e,t){if(t=Ga(t),!Array.isArray(t)||!t.length)throw new Error("noUiSlider: 'start' option is incorrect.");e.handles=t.length,e.start=t}function fs(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'snap' option must be a boolean.");e.snap=t}function hs(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'animate' option must be a boolean.");e.animate=t}function ms(e,t){if("number"!=typeof t)throw new Error("noUiSlider: 'animationDuration' option must be a number.");e.animationDuration=t}function vs(e,t){var n,i=[!1];if("lower"===t?t=[!0,!1]:"upper"===t&&(t=[!1,!0]),!0===t||!1===t){for(n=1;n<e.handles;n++)i.push(t);i.push(!1)}else{if(!Array.isArray(t)||!t.length||t.length!==e.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");i=t}e.connect=i}function gs(e,t){switch(t){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function ys(e,t){if(!Ua(t))throw new Error("noUiSlider: 'margin' option must be numeric.");0!==t&&(e.margin=e.spectrum.getDistance(t))}function bs(e,t){if(!Ua(t))throw new Error("noUiSlider: 'limit' option must be numeric.");if(e.limit=e.spectrum.getDistance(t),!e.limit||e.handles<2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function _s(e,t){var n;if(!Ua(t)&&!Array.isArray(t))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(t)&&2!==t.length&&!Ua(t[0])&&!Ua(t[1]))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==t){for(Array.isArray(t)||(t=[t,t]),e.padding=[e.spectrum.getDistance(t[0]),e.spectrum.getDistance(t[1])],n=0;n<e.spectrum.xNumSteps.length-1;n++)if(e.padding[0][n]<0||e.padding[1][n]<0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var i=t[0]+t[1],r=e.spectrum.xVal[0];if(i/(e.spectrum.xVal[e.spectrum.xVal.length-1]-r)>1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function ws(e,t){switch(t){case"ltr":e.dir=0;break;case"rtl":e.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function Ss(e,t){if("string"!=typeof t)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var n=t.indexOf("tap")>=0,i=t.indexOf("drag")>=0,r=t.indexOf("fixed")>=0,o=t.indexOf("snap")>=0,a=t.indexOf("hover")>=0,s=t.indexOf("unconstrained")>=0,l=t.indexOf("invert-connects")>=0,c=t.indexOf("drag-all")>=0,u=t.indexOf("smooth-steps")>=0;if(r){if(2!==e.handles)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");ys(e,e.start[1]-e.start[0])}if(l&&2!==e.handles)throw new Error("noUiSlider: 'invert-connects' behaviour must be used with 2 handles");if(s&&(e.margin||e.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");e.events={tap:n||o,drag:i,dragAll:c,smoothSteps:u,fixed:r,snap:o,hover:a,unconstrained:s,invertConnects:l}}function Es(e,t){if(!1!==t)if(!0===t||Fa(t)){e.tooltips=[];for(var n=0;n<e.handles;n++)e.tooltips.push(t)}else{if((t=Ga(t)).length!==e.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");t.forEach(function(e){if("boolean"!=typeof e&&!Fa(e))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")}),e.tooltips=t}}function xs(e,t){if(t.length!==e.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");e.handleAttributes=t}function ks(e,t){if(!Fa(t))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");e.ariaFormat=t}function Ts(e,t){if(!function(e){return Fa(e)&&"function"==typeof e.from}(t))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");e.format=t}function Cs(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");e.keyboardSupport=t}function As(e,t){e.documentElement=t}function Os(e,t){if("string"!=typeof t&&!1!==t)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");e.cssPrefix=t}function Ms(e,t){if("object"!=typeof t)throw new Error("noUiSlider: 'cssClasses' must be an object.");"string"==typeof e.cssPrefix?(e.cssClasses={},Object.keys(t).forEach(function(n){e.cssClasses[n]=e.cssPrefix+t[n]})):e.cssClasses=t}function Ls(e){var t={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:is,format:is},n={step:{r:!1,t:ss},keyboardPageMultiplier:{r:!1,t:ls},keyboardMultiplier:{r:!1,t:cs},keyboardDefaultStep:{r:!1,t:us},start:{r:!0,t:ps},connect:{r:!0,t:vs},direction:{r:!0,t:ws},snap:{r:!1,t:fs},animate:{r:!1,t:hs},animationDuration:{r:!1,t:ms},range:{r:!0,t:ds},orientation:{r:!1,t:gs},margin:{r:!1,t:ys},limit:{r:!1,t:bs},padding:{r:!1,t:_s},behaviour:{r:!0,t:Ss},ariaFormat:{r:!1,t:ks},format:{r:!1,t:Ts},tooltips:{r:!1,t:Es},keyboardSupport:{r:!0,t:Cs},documentElement:{r:!1,t:As},cssPrefix:{r:!0,t:Os},cssClasses:{r:!0,t:Ms},handleAttributes:{r:!1,t:xs}},i={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:rs,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};e.format&&!e.ariaFormat&&(e.ariaFormat=e.format),Object.keys(n).forEach(function(r){if(Va(e[r])||void 0!==i[r])n[r].t(t,Va(e[r])?e[r]:i[r]);else if(n[r].r)throw new Error("noUiSlider: '"+r+"' is required.")}),t.pips=e.pips;var r=document.createElement("div"),o=void 0!==r.style.msTransform,a=void 0!==r.style.transform;t.transformRule=a?"transform":o?"msTransform":"webkitTransform";return t.style=[["left","top"],["right","bottom"]][t.dir][t.ort],t}function Ds(e,t,n){var i,r,o,a,s,l,c,u=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},d=window.CSS&&CSS.supports&&CSS.supports("touch-action","none")&&function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}(),p=e,f=t.spectrum,h=[],m=[],v=[],g=0,y={},b=!1,_=e.ownerDocument,w=t.documentElement||_.documentElement,S=_.body,E="rtl"===_.dir||1===t.ort?0:100;function x(e,t){var n=_.createElement("div");return t&&Ya(n,t),e.appendChild(n),n}function k(e,n){var i=x(e,t.cssClasses.origin),r=x(i,t.cssClasses.handle);if(x(r,t.cssClasses.touchArea),r.setAttribute("data-handle",String(n)),t.keyboardSupport&&(r.setAttribute("tabindex","0"),r.addEventListener("keydown",function(e){return function(e,n){if(A()||O(n))return!1;var i=["Left","Right"],r=["Down","Up"],o=["PageDown","PageUp"],a=["Home","End"];t.dir&&!t.ort?i.reverse():t.ort&&!t.dir&&(r.reverse(),o.reverse());var s,l=e.key.replace("Arrow",""),c=l===o[0],u=l===o[1],d=l===r[0]||l===i[0]||c,p=l===r[1]||l===i[1]||u,v=l===a[0],g=l===a[1];if(!(d||p||v||g))return!0;if(e.preventDefault(),p||d){var y=d?0:1,b=se(n)[y];if(null===b)return!1;!1===b&&(b=f.getDefaultStep(m[n],d,t.keyboardDefaultStep)),b*=u||c?t.keyboardPageMultiplier:t.keyboardMultiplier,b=Math.max(b,1e-7),b*=d?-1:1,s=h[n]+b}else s=g?t.spectrum.xVal[t.spectrum.xVal.length-1]:t.spectrum.xVal[0];return ne(n,f.toStepping(s),!0,!0),K("slide",n),K("update",n),K("change",n),K("set",n),!1}(e,n)})),void 0!==t.handleAttributes){var o=t.handleAttributes[n];Object.keys(o).forEach(function(e){r.setAttribute(e,o[e])})}return r.setAttribute("role","slider"),r.setAttribute("aria-orientation",t.ort?"vertical":"horizontal"),0===n?Ya(r,t.cssClasses.handleLower):n===t.handles-1&&Ya(r,t.cssClasses.handleUpper),i.handle=r,i}function T(e,n){return!!n&&x(e,t.cssClasses.connect)}function C(e,n){return!(!t.tooltips||!t.tooltips[n])&&x(e.firstChild,t.cssClasses.tooltip)}function A(){return p.hasAttribute("disabled")}function O(e){return o[e].hasAttribute("disabled")}function M(){l&&(Y("update"+os),l.forEach(function(e){e&&Ha(e)}),l=null)}function L(){M(),l=o.map(C),W("update"+os,function(e,n,i){if(l&&t.tooltips&&!1!==l[n]){var r=e[n];!0!==t.tooltips[n]&&(r=t.tooltips[n].to(i[n])),l[n].innerHTML=r}})}function D(e,t){return e.map(function(e){return f.fromStepping(t?f.getStep(e):e)})}function P(e){function t(e,t){return Number((e+t).toFixed(7))}var n,i=function(e){if(e.mode===xa.Range||e.mode===xa.Steps)return f.xVal;if(e.mode===xa.Count){if(e.values<2)throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");for(var t=e.values-1,n=100/t,i=[];t--;)i[t]=t*n;return i.push(100),D(i,e.stepped)}return e.mode===xa.Positions?D(e.values,e.stepped):e.mode===xa.Values?e.stepped?e.values.map(function(e){return f.fromStepping(f.getStep(f.toStepping(e)))}):e.values:[]}(e),r={},o=f.xVal[0],a=f.xVal[f.xVal.length-1],s=!1,l=!1,c=0;return n=i.slice().sort(function(e,t){return e-t}),i=n.filter(function(e){return!this[e]&&(this[e]=!0)},{}),i[0]!==o&&(i.unshift(o),s=!0),i[i.length-1]!==a&&(i.push(a),l=!0),i.forEach(function(n,o){var a,u,d,p,h,m,v,g,y,b,_=n,w=i[o+1],S=e.mode===xa.Steps;for(S&&(a=f.xNumSteps[o]),a||(a=w-_),void 0===w&&(w=_),a=Math.max(a,1e-7),u=_;u<=w;u=t(u,a)){for(g=(h=(p=f.toStepping(u))-c)/(e.density||1),b=h/(y=Math.round(g)),d=1;d<=y;d+=1)r[(m=c+d*b).toFixed(5)]=[f.fromStepping(m),0];v=i.indexOf(u)>-1?ka.LargeValue:S?ka.SmallValue:ka.NoValue,!o&&s&&u!==w&&(v=0),u===w&&l||(r[p.toFixed(5)]=[u,v]),c=p}}),r}function N(e,n,i){var r,o,a=_.createElement("div"),s=((r={})[ka.None]="",r[ka.NoValue]=t.cssClasses.valueNormal,r[ka.LargeValue]=t.cssClasses.valueLarge,r[ka.SmallValue]=t.cssClasses.valueSub,r),l=((o={})[ka.None]="",o[ka.NoValue]=t.cssClasses.markerNormal,o[ka.LargeValue]=t.cssClasses.markerLarge,o[ka.SmallValue]=t.cssClasses.markerSub,o),c=[t.cssClasses.valueHorizontal,t.cssClasses.valueVertical],u=[t.cssClasses.markerHorizontal,t.cssClasses.markerVertical];function d(e,n){var i=n===t.cssClasses.value,r=i?s:l;return n+" "+(i?c:u)[t.ort]+" "+r[e]}return Ya(a,t.cssClasses.pips),Ya(a,0===t.ort?t.cssClasses.pipsHorizontal:t.cssClasses.pipsVertical),Object.keys(e).forEach(function(r){!function(e,r,o){if((o=n?n(r,o):o)!==ka.None){var s=x(a,!1);s.className=d(o,t.cssClasses.marker),s.style[t.style]=e+"%",o>ka.NoValue&&((s=x(a,!1)).className=d(o,t.cssClasses.value),s.setAttribute("data-value",String(r)),s.style[t.style]=e+"%",s.innerHTML=String(i.to(r)))}}(r,e[r][0],e[r][1])}),a}function I(){s&&(Ha(s),s=null)}function R(e){I();var t=P(e),n=e.filter,i=e.format||{to:function(e){return String(Math.round(e))}};return s=p.appendChild(N(t,n,i))}function z(){var e=i.getBoundingClientRect(),n="offset"+["Width","Height"][t.ort];return 0===t.ort?e.width||i[n]:e.height||i[n]}function B(e,n,i,r){var o=function(o){var a,s,l=function(e,t,n){var i=0===e.type.indexOf("touch"),r=0===e.type.indexOf("mouse"),o=0===e.type.indexOf("pointer"),a=0,s=0;0===e.type.indexOf("MSPointer")&&(o=!0);if("mousedown"===e.type&&!e.buttons&&!e.touches)return!1;if(i){var l=function(t){var i=t.target;return i===n||n.contains(i)||e.composed&&e.composedPath().shift()===n};if("touchstart"===e.type){var c=Array.prototype.filter.call(e.touches,l);if(c.length>1)return!1;a=c[0].pageX,s=c[0].pageY}else{var u=Array.prototype.find.call(e.changedTouches,l);if(!u)return!1;a=u.pageX,s=u.pageY}}t=t||Xa(_),(r||o)&&(a=e.clientX+t.x,s=e.clientY+t.y);return e.pageOffset=t,e.points=[a,s],e.cursor=r||o,e}(o,r.pageOffset,r.target||n);return!!l&&(!(A()&&!r.doNotReject)&&(a=p,s=t.cssClasses.tap,!((a.classList?a.classList.contains(s):new RegExp("\\b"+s+"\\b").test(a.className))&&!r.doNotReject)&&(!(e===u.start&&void 0!==l.buttons&&l.buttons>1)&&((!r.hover||!l.buttons)&&(d||l.preventDefault(),l.calcPoint=l.points[t.ort],void i(l,r))))))},a=[];return e.split(" ").forEach(function(e){n.addEventListener(e,o,!!d&&{passive:!0}),a.push([e,o])}),a}function F(e){var n,r,o,a,s,l,c=100*(e-(n=i,r=t.ort,o=n.getBoundingClientRect(),a=n.ownerDocument,s=a.documentElement,l=Xa(a),/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(l.x=0),r?o.top+l.y-s.clientTop:o.left+l.x-s.clientLeft))/z();return c=qa(c),t.dir?100-c:c}function H(e,t){"mouseout"===e.type&&"HTML"===e.target.nodeName&&null===e.relatedTarget&&j(e,t)}function V(e,n){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===e.buttons&&0!==n.buttonsProperty)return j(e,n);var i=(t.dir?-1:1)*(e.calcPoint-n.startCalcPoint);Q(i>0,100*i/n.baseSize,n.locations,n.handleNumbers,n.connect)}function j(e,n){n.handle&&(Ka(n.handle,t.cssClasses.active),g-=1),n.listeners.forEach(function(e){w.removeEventListener(e[0],e[1])}),0===g&&(Ka(p,t.cssClasses.drag),te(),e.cursor&&(S.style.cursor="",S.removeEventListener("selectstart",ja))),t.events.smoothSteps&&(n.handleNumbers.forEach(function(e){ne(e,m[e],!0,!0,!1,!1)}),n.handleNumbers.forEach(function(e){K("update",e)})),n.handleNumbers.forEach(function(e){K("change",e),K("set",e),K("end",e)})}function U(e,n){if(!n.handleNumbers.some(O)){var i;if(1===n.handleNumbers.length)i=o[n.handleNumbers[0]].children[0],g+=1,Ya(i,t.cssClasses.active);e.stopPropagation();var r=[],a=B(u.move,w,V,{target:e.target,handle:i,connect:n.connect,listeners:r,startCalcPoint:e.calcPoint,baseSize:z(),pageOffset:e.pageOffset,handleNumbers:n.handleNumbers,buttonsProperty:e.buttons,locations:m.slice()}),s=B(u.end,w,j,{target:e.target,handle:i,listeners:r,doNotReject:!0,handleNumbers:n.handleNumbers}),l=B("mouseout",w,H,{target:e.target,handle:i,listeners:r,doNotReject:!0,handleNumbers:n.handleNumbers});r.push.apply(r,a.concat(s,l)),e.cursor&&(S.style.cursor=getComputedStyle(e.target).cursor,o.length>1&&Ya(p,t.cssClasses.drag),S.addEventListener("selectstart",ja,!1)),n.handleNumbers.forEach(function(e){K("start",e)})}}function $(e){e.stopPropagation();var n=F(e.calcPoint),i=function(e){var t=100,n=!1;return o.forEach(function(i,r){if(!O(r)){var o=m[r],a=Math.abs(o-e);(a<t||a<=t&&e>o||100===a&&100===t)&&(n=r,t=a)}}),n}(n);!1!==i&&(t.events.snap||$a(p,t.cssClasses.tap,t.animationDuration),ne(i,n,!0,!0),te(),K("slide",i,!0),K("update",i,!0),t.events.snap?U(e,{handleNumbers:[i]}):(K("change",i,!0),K("set",i,!0)))}function q(e){var t=F(e.calcPoint),n=f.getStep(t),i=f.fromStepping(n);Object.keys(y).forEach(function(e){"hover"===e.split(".")[0]&&y[e].forEach(function(e){e.call(ce,i)})})}function G(e){e.fixed||o.forEach(function(e,t){B(u.start,e.children[0],U,{handleNumbers:[t]})}),e.tap&&B(u.start,i,$,{}),e.hover&&B(u.move,i,q,{hover:!0}),e.drag&&a.forEach(function(n,i){if(!1!==n&&0!==i&&i!==a.length-1){var r=o[i-1],s=o[i],l=[n],c=[r,s],d=[i-1,i];Ya(n,t.cssClasses.draggable),e.fixed&&(l.push(r.children[0]),l.push(s.children[0])),e.dragAll&&(c=o,d=v),l.forEach(function(e){B(u.start,e,U,{handles:c,handleNumbers:d,connect:n})})}})}function W(e,t){y[e]=y[e]||[],y[e].push(t),"update"===e.split(".")[0]&&o.forEach(function(e,t){K("update",t)})}function Y(e){var t=e&&e.split(".")[0],n=t?e.substring(t.length):e;Object.keys(y).forEach(function(e){var i=e.split(".")[0],r=e.substring(i.length);t&&t!==i||n&&n!==r||function(e){return e===as||e===os}(r)&&n!==r||delete y[e]})}function K(e,n,i){Object.keys(y).forEach(function(r){var o=r.split(".")[0];e===o&&y[r].forEach(function(e){e.call(ce,h.map(t.format.to),n,h.slice(),i||!1,m.slice(),ce)})})}function X(e,n,i,r,a,s,l){var c;return o.length>1&&!t.events.unconstrained&&(r&&n>0&&(c=f.getAbsoluteDistance(e[n-1],t.margin,!1),i=Math.max(i,c)),a&&n<o.length-1&&(c=f.getAbsoluteDistance(e[n+1],t.margin,!0),i=Math.min(i,c))),o.length>1&&t.limit&&(r&&n>0&&(c=f.getAbsoluteDistance(e[n-1],t.limit,!1),i=Math.min(i,c)),a&&n<o.length-1&&(c=f.getAbsoluteDistance(e[n+1],t.limit,!0),i=Math.max(i,c))),t.padding&&(0===n&&(c=f.getAbsoluteDistance(0,t.padding[0],!1),i=Math.max(i,c)),n===o.length-1&&(c=f.getAbsoluteDistance(100,t.padding[1],!0),i=Math.min(i,c))),l||(i=f.getStep(i)),!((i=qa(i))===e[n]&&!s)&&i}function J(e,n){var i=t.ort;return(i?n:e)+", "+(i?e:n)}function Q(e,n,i,r,o){var a=i.slice(),s=r[0],l=t.events.smoothSteps,c=[!e,e],u=[e,!e];r=r.slice(),e&&r.reverse(),r.length>1?r.forEach(function(e,t){var i=X(a,e,a[e]+n,c[t],u[t],!1,l);!1===i?n=0:(n=i-a[e],a[e]=i)}):c=u=[!0];var d=!1;r.forEach(function(e,t){d=ne(e,i[e]+n,c[t],u[t],!1,l)||d}),d&&(r.forEach(function(e){K("update",e),K("slide",e)}),null!=o&&K("drag",s))}function Z(e,n){return t.dir?100-e-n:e}function ee(e,n){m[e]=n,h[e]=f.fromStepping(n);var i="translate("+J(Z(n,0)-E+"%","0")+")";if(o[e].style[t.transformRule]=i,t.events.invertConnects&&m.length>1){var r=m.every(function(e,t,n){return 0===t||e>=n[t-1]});if(b!==!r)return b=!b,vs(t,t.connect.map(function(e){return!e})),void le()}ie(e),ie(e+1),b&&(ie(e-1),ie(e+2))}function te(){v.forEach(function(e){var t=m[e]>50?-1:1,n=3+(o.length+t*e);o[e].style.zIndex=String(n)})}function ne(e,t,n,i,r,o){return r||(t=X(m,e,t,n,i,!1,o)),!1!==t&&(ee(e,t),!0)}function ie(e){if(a[e]){var n=m.slice();b&&n.sort(function(e,t){return e-t});var i=0,r=100;0!==e&&(i=n[e-1]),e!==a.length-1&&(r=n[e]);var o=r-i,s="translate("+J(Z(i,o)+"%","0")+")",l="scale("+J(o/100,"1")+")";a[e].style[t.transformRule]=s+" "+l}}function re(e,n){return null===e||!1===e||void 0===e?m[n]:("number"==typeof e&&(e=String(e)),!1!==(e=t.format.from(e))&&(e=f.toStepping(e)),!1===e||isNaN(e)?m[n]:e)}function oe(e,n,i){var r=Ga(e),o=void 0===m[0];n=void 0===n||n,t.animate&&!o&&$a(p,t.cssClasses.tap,t.animationDuration),v.forEach(function(e){ne(e,re(r[e],e),!0,!1,i)});var a=1===v.length?0:1;if(o&&f.hasNoSize()&&(i=!0,m[0]=0,v.length>1)){var s=100/(v.length-1);v.forEach(function(e){m[e]=e*s})}for(;a<v.length;++a)v.forEach(function(e){ne(e,m[e],!0,!0,i)});te(),v.forEach(function(e){K("update",e),null!==r[e]&&n&&K("set",e)})}function ae(e){if(void 0===e&&(e=!1),e)return 1===h.length?h[0]:h.slice(0);var n=h.map(t.format.to);return 1===n.length?n[0]:n}function se(e){var n=m[e],i=f.getNearbySteps(n),r=h[e],o=i.thisStep.step,a=null;if(t.snap)return[r-i.stepBefore.startValue||null,i.stepAfter.startValue-r||null];!1!==o&&r+o>i.stepAfter.startValue&&(o=i.stepAfter.startValue-r),a=r>i.thisStep.startValue?i.thisStep.step:!1!==i.stepBefore.step&&r-i.stepBefore.highestStep,100===n?o=null:0===n&&(a=null);var s=f.countStepDecimals();return null!==o&&!1!==o&&(o=Number(o.toFixed(s))),null!==a&&!1!==a&&(a=Number(a.toFixed(s))),[a,o]}function le(){for(;r.firstChild;)r.removeChild(r.firstChild);for(var e=0;e<=t.handles;e++)a[e]=T(r,t.connect[e]),ie(e);G({drag:t.events.drag,fixed:!0})}Ya(c=p,t.cssClasses.target),0===t.dir?Ya(c,t.cssClasses.ltr):Ya(c,t.cssClasses.rtl),0===t.ort?Ya(c,t.cssClasses.horizontal):Ya(c,t.cssClasses.vertical),Ya(c,"rtl"===getComputedStyle(c).direction?t.cssClasses.textDirectionRtl:t.cssClasses.textDirectionLtr),i=x(c,t.cssClasses.base),function(e,n){r=x(n,t.cssClasses.connects),o=[],(a=[]).push(T(r,e[0]));for(var i=0;i<t.handles;i++)o.push(k(n,i)),v[i]=i,a.push(T(r,e[i+1]))}(t.connect,i),G(t.events),oe(t.start),t.pips&&R(t.pips),t.tooltips&&L(),Y("update"+as),W("update"+as,function(e,n,i,r,a){v.forEach(function(e){var n=o[e],r=X(m,e,0,!0,!0,!0),s=X(m,e,100,!0,!0,!0),l=a[e],c=String(t.ariaFormat.to(i[e]));r=f.fromStepping(r).toFixed(1),s=f.fromStepping(s).toFixed(1),l=f.fromStepping(l).toFixed(1),n.children[0].setAttribute("aria-valuemin",r),n.children[0].setAttribute("aria-valuemax",s),n.children[0].setAttribute("aria-valuenow",l),n.children[0].setAttribute("aria-valuetext",c)})});var ce={destroy:function(){for(Y(as),Y(os),Object.keys(t.cssClasses).forEach(function(e){Ka(p,t.cssClasses[e])});p.firstChild;)p.removeChild(p.firstChild);delete p.noUiSlider},steps:function(){return v.map(se)},on:W,off:Y,get:ae,set:oe,setHandle:function(e,t,n,i){if(!((e=Number(e))>=0&&e<v.length))throw new Error("noUiSlider: invalid handle number, got: "+e);ne(e,re(t,e),!0,!0,i),K("update",e),n&&K("set",e)},reset:function(e){oe(t.start,e)},disable:function(e){null!=e?(o[e].setAttribute("disabled",""),o[e].handle.removeAttribute("tabindex")):(p.setAttribute("disabled",""),o.forEach(function(e){e.handle.removeAttribute("tabindex")}))},enable:function(e){null!=e?(o[e].removeAttribute("disabled"),o[e].handle.setAttribute("tabindex","0")):(p.removeAttribute("disabled"),o.forEach(function(e){e.removeAttribute("disabled"),e.handle.setAttribute("tabindex","0")}))},__moveHandles:function(e,t,n){Q(e,t,m,n)},options:n,updateOptions:function(e,i){var r=ae(),o=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips","connect"];o.forEach(function(t){void 0!==e[t]&&(n[t]=e[t])});var a=Ls(n);o.forEach(function(n){void 0!==e[n]&&(t[n]=a[n])}),f=a.spectrum,t.margin=a.margin,t.limit=a.limit,t.padding=a.padding,t.pips?R(t.pips):I(),t.tooltips?L():M(),m=[],oe(Va(e.start)?e.start:r,i),e.connect&&le()},target:p,removePips:I,removeTooltips:M,getPositions:function(){return m.slice()},getTooltips:function(){return l},getOrigins:function(){return o},pips:R};return ce}var Ps={__spectrum:ns,cssClasses:rs,create:function(e,t){if(!e||!e.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+e);if(e.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var n=Ds(e,Ls(t),t);return e.noUiSlider=n,n}},Ns={start:[0],connect:!1,range:{min:0,max:100},cssPrefix:"range-slider",cssClasses:{target:"__target",base:"__base",origin:"__origin",handle:"__handle",handleLower:"__handle--lower",handleUpper:"__handle--upper",touchArea:"__touch-area",horizontal:"--horizontal",vertical:"--vertical",background:"__background",connect:"__connect",connects:"__connects",ltr:"--ltr",rtl:"--rtl",draggable:"--draggable",drag:"--state-drag",tap:"--state-tap",active:"--active",tooltip:"__tooltip",pips:"__pips",pipsHorizontal:"__pips--horizontal",pipsVertical:"__pips--vertical",marker:"__marker",markerHorizontal:"__marker--horizontal",markerVertical:"__marker--vertical",markerNormal:"__marker--normal",markerLarge:"__marker--large",markerSub:"__marker--sub",value:"__value",valueHorizontal:"__value--horizontal",valueVertical:"__value--vertical",valueNormal:"__value--normal",valueLarge:"__value--large",valueSub:"__value--sub"},format:{decimals:0}},Is=function(){return o(function e(t,n){var r=this;return i(this,e),s(this,"handleSliderUpdate",function(e,t){var n=e[t];if(r.inputs[t]&&(r.inputs[t].value=n),r.outputs[t]){var i=r.outputs[t];i&&i.format?i.element.innerText=i.format.to(r.config.format.from(n)):i&&(i.element.innerText=n)}}),this.element=t,this.config=c(c({},Ns),n),this.inputs=[],this.outputs=[],this.handleSliderUpdate=this.handleSliderUpdate.bind(this),this.element.ODS_RangeSlider=this,this.init(),this},[{key:"init",value:function(){var e,t=this,n=this.element.getAttribute("data-rangeslider-config"),i={};if(n)try{i=JSON.parse(n)}catch(e){}(this.config=c(c({},this.config),i),this.config.format=w(this.config.format),this.element.noUiSlider)&&(this.element.noUiSlider=void 0,null!==(e=this.instance)&&void 0!==e&&e.destroy&&this.instance.destroy());if(!this.config.range)throw new Error("RangeSlider config must include 'range'.");this.instance=Ps.create(this.element,this.config),this.inputs=Array.from(document.querySelectorAll("input[name^=".concat(this.element.getAttribute("id"),"-]"))),this.outputs=this.inputs.map(function(e){var t=document.getElementById("".concat(e.getAttribute("id"),"-output"));if(t){var n=t.getAttribute("data-format");return{element:t,format:t.hasAttribute("data-format")&&n?w(JSON.parse(n)):void 0}}return!1}),this.instance.on("update",function(e,n){t.handleSliderUpdate(e.map(String),n)})}},{key:"update",value:function(){var e;null===(e=this.instance)||void 0===e||e.destroy(),this.init()}},{key:"destroy",value:function(){var e,t;null===(e=this.instance)||void 0===e||e.off("update"),null===(t=this.instance)||void 0===t||t.destroy(),this.element.ODS_RangeSlider=null}}],[{key:"getInstance",value:function(e){return e&&e.ODS_RangeSlider?e.ODS_RangeSlider:null}}])}(),Rs={expandButtonSelector:"[data-subrow-toggle]",scrollableContainerSelector:".table-scrollable",responsiveTableSelector:'[data-table="responsive"]'},zs=function(){return o(function e(t,n){var r=this;return i(this,e),this.element=t,this.config=c(c({},Rs),n),this.addRole=this.addRole.bind(this),this.addARIA=this.addARIA.bind(this),this.onExpandClick=this.onExpandClick.bind(this),this.expandButtons=[],this.scrollableContainer=null,this.element.ODS_Table=this,this.resizeObserver=new ResizeObserver(function(e){if(r.scrollableContainer){var t=r.scrollableContainer.getBoundingClientRect();e.forEach(function(e){var n,i;e.contentRect.width>t.width?null===(n=r.scrollableContainer)||void 0===n||n.setAttribute("tabindex","0"):null===(i=r.scrollableContainer)||void 0===i||i.removeAttribute("tabindex")})}}),this.init(),this},[{key:"addRole",value:function(e,t){Array.from(this.element.querySelectorAll(e)).forEach(function(e){e.setAttribute("role",t)})}},{key:"addARIA",value:function(){try{this.element.setAttribute("role","table"),this.addRole("thead, tbody, tfoot","rowgroup"),this.addRole("tr","row"),this.addRole("td","cell"),this.addRole("th","columnheader"),this.addRole("th[scope=row]","rowheader")}catch(e){console.log("Table.addARIA(): "+e)}}},{key:"onExpandClick",value:function(e){var t,n=e.currentTarget,i=null!==(t=n.getAttribute("aria-controls"))&&void 0!==t?t:"",r=this.element.querySelectorAll(i.split(" ").map(function(e){return"#".concat(e)}).join(","));A({element:n,attribute:"aria-expanded"}),r.forEach(function(e){A({element:e,attribute:"hidden"})})}},{key:"init",value:function(){var e=this;this.expandButtons=Array.from(this.element.querySelectorAll(this.config.expandButtonSelector)),this.expandButtons.forEach(function(t){t.addEventListener("click",e.onExpandClick)}),this.element.matches(this.config.responsiveTableSelector)&&this.addARIA(),this.maybeInitScrollable()}},{key:"maybeInitScrollable",value:function(){if(this.scrollableContainer=this.element.closest(this.config.scrollableContainerSelector),this.scrollableContainer)return this.resizeObserver.observe(this.element),!0}},{key:"destroy",value:function(){var e=this;this.expandButtons.forEach(function(t){t.removeEventListener("click",e.onExpandClick)}),this.resizeObserver.disconnect(),this.expandButtons=[]}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Table?e.ODS_Table:null}}])}(),Bs={tabSelector:'[role="tab"]'},Fs=function(){return o(function e(t,n){return i(this,e),s(this,"isActive",function(e){return!!e&&!e.hasAttribute("hidden")}),s(this,"isSelected",function(e){return"true"===e.getAttribute("aria-selected")}),this.element=t,this.config=c(c({},Bs),n),this.tabs=[],this.tabPanels=[],this.activeTabIndex=null,this.rovingTabindex=null,this.handleClick=this.handleClick.bind(this),this.handleTabFocus=this.handleTabFocus.bind(this),this.element.ODS_Tabs=this,this.init(),this},[{key:"init",value:function(){var e=this;this.tabs=Array.from(this.element.querySelectorAll(this.config.tabSelector)),this.tabs.map(function(t,n){var i=t.getAttribute("aria-controls");return e.tabPanels.push(i?document.getElementById(i):null),t.addEventListener("click",e.handleClick),t.addEventListener("focus",e.handleTabFocus),e.isSelected(t)&&(e.activeTabIndex=n),t}),this.rovingTabindex?this.rovingTabindex.update(this.tabs):this.rovingTabindex=new x(this.tabs,{direction:"any"}),null!==this.activeTabIndex?this.toggleTabPanel(this.tabPanels[this.activeTabIndex],"on"):this.tabs.length>0&&this.activateNthTab(0)}},{key:"destroy",value:function(){var e=this;this.tabs.map(function(t){return t.removeEventListener("click",e.handleClick),t.removeEventListener("focus",e.handleTabFocus),t}),this.tabs=[],this.tabPanels=[],this.rovingTabindex&&this.rovingTabindex.destroy(),this.element.ODS_Tabs=null}},{key:"update",value:function(){this.destroy(),this.init()}},{key:"handleClick",value:function(e){var t=this,n=e.currentTarget;n.hasAttribute("aria-disabled")?e.preventDefault():(this.tabs.map(function(e,i){return e===n?(t.activeTabIndex=i,t.toggleTab(e,"on")):t.toggleTab(e,"off")}),this.tabPanels.map(function(e){return e&&e.getAttribute("id")===n.getAttribute("aria-controls")?t.toggleTabPanel(e,"on"):t.toggleTabPanel(e,"off")}))}},{key:"toggleTab",value:function(e,t){var n=this.isSelected(e);"on"!==t||n||(e.setAttribute("aria-selected","true"),e.setAttribute("tabindex","0")),"off"===t&&n&&(e.setAttribute("aria-selected","false"),e.setAttribute("tabindex","-1"))}},{key:"toggleTabPanel",value:function(e,t){if(e){var n=this.isActive(e);"on"!==t||n||e.removeAttribute("hidden"),"off"===t&&n&&e.setAttribute("hidden","")}}},{key:"activateNthTab",value:function(e){var t=this;this.tabs.map(function(n,i){return i===e?(t.activeTabIndex=i,t.toggleTab(n,"on")):t.toggleTab(n,"off")}),this.tabPanels.map(function(n,i){return i===e?t.toggleTabPanel(n,"on"):t.toggleTabPanel(n,"off")})}},{key:"handleTabFocus",value:function(){this.rovingTabindex&&!this.rovingTabindex.isActive&&this.rovingTabindex.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Tabs?e.ODS_Tabs:null}}])}(),Hs={nonEditableInput:!1,min:1,max:999,defaultValue:1},Vs=function(){return o(function e(t,n){i(this,e),this.element=t,this.config=c(c({},Hs),n),this.input=null,this.numberDisplay=null,this.add=null,this.remove=null,this.element.ODS_InputStepper=this,this.handleButtonClick=this.handleButtonClick.bind(this),this.handleInputClick=this.handleInputClick.bind(this),this.handleInputChange=this.handleInputChange.bind(this),this.handleButtonState=this.handleButtonState.bind(this),this.init()},[{key:"handleInputClick",value:function(){this.input&&this.input.select()}},{key:"handleButtonState",value:function(){var e,t,n,i,r=this.config,o=r.min,a=r.max,s=this.config.nonEditableInput?parseInt(null!==(n=null===(i=this.numberDisplay)||void 0===i?void 0:i.textContent)&&void 0!==n?n:"0",10):parseInt(null!==(e=null===(t=this.input)||void 0===t?void 0:t.value)&&void 0!==e?e:"0",10);this.add&&"number"==typeof a&&s>=a?(this.add.setAttribute("aria-disabled","true"),this.add.setAttribute("disabled","true")):this.add&&(this.add.removeAttribute("aria-disabled"),this.add.removeAttribute("disabled")),this.remove&&"number"==typeof o&&s<=o?(this.remove.setAttribute("aria-disabled","true"),this.remove.setAttribute("disabled","true")):this.remove&&(this.remove.removeAttribute("aria-disabled"),this.remove.removeAttribute("disabled"))}},{key:"handleInputChange",value:function(e){var t=this.config,n=t.min,i=t.max,r=e.target;r&&(n&&Number(r.value)<=n&&(r.value=String(n)),i&&Number(r.value)>=i&&(r.value=String(i)))}},{key:"handleButtonClick",value:function(e){var t,n,i,r,o=this.config,a=o.min,s=o.max,l=e.target,c=this.config.nonEditableInput?parseInt(null!==(i=null===(r=this.numberDisplay)||void 0===r?void 0:r.textContent)&&void 0!==i?i:"0",10):parseInt(null!==(t=null===(n=this.input)||void 0===n?void 0:n.value)&&void 0!==t?t:"0",10);if(l.classList.contains("input-stepper__button--minus")){if(a&&c<=a){if("true"===l.getAttribute("disabled"))return;return l.setAttribute("aria-disabled","true"),void l.setAttribute("disabled","true")}c-=1}if(l.classList.contains("input-stepper__button--plus")){if(s&&c>=s){if("true"===l.getAttribute("disabled"))return;return l.setAttribute("aria-disabled","true"),void l.setAttribute("disabled","true")}c+=1}!this.config.nonEditableInput&&this.input?this.input.value=String(c):this.numberDisplay&&(this.numberDisplay.textContent=String(c)),this.handleButtonState()}},{key:"init",value:function(){var e=this.element.getAttribute("data-inputstepper"),t={};try{e&&e.trim().startsWith("{")&&(t=JSON.parse(e))}catch(e){t={}}this.config=c(c({},this.config),t),this.config.nonEditableInput?(this.numberDisplay=this.element.querySelector(".input-stepper__number"),this.numberDisplay&&(this.numberDisplay.textContent=String(this.config.defaultValue))):(this.input=this.element.querySelector(".input-stepper__field"),this.input&&(this.input.value=String(this.config.defaultValue))),this.add=this.element.querySelector(".input-stepper__button--plus"),this.remove=this.element.querySelector(".input-stepper__button--minus");var n=this.config.defaultValue;void 0!==n&&(!this.config.nonEditableInput&&this.input?this.input.value=String(n):this.numberDisplay&&(this.numberDisplay.textContent=String(n))),this.element.classList.contains("input-stepper--disabled")||(this.add&&this.add.addEventListener("click",this.handleButtonClick),this.remove&&this.remove.addEventListener("click",this.handleButtonClick),!this.config.nonEditableInput&&this.input&&(this.input.addEventListener("click",this.handleInputClick),this.input.addEventListener("change",this.handleInputChange)),this.handleButtonState())}},{key:"update",value:function(){this.destroy(),this.init()}},{key:"destroy",value:function(){!this.config.nonEditableInput&&this.input&&(this.input.removeEventListener("click",this.handleInputClick),this.input.removeEventListener("change",this.handleInputChange)),this.add&&this.add.removeEventListener("click",this.handleButtonClick),this.remove&&this.remove.removeEventListener("click",this.handleButtonClick)}}],[{key:"getInstance",value:function(e){return e&&e.ODS_InputStepper?e.ODS_InputStepper:null}}])}();var js=function(){return o(function e(t){i(this,e),this.element=t,this.children=null,this.updateHeight=this.updateHeight.bind(this),this.element.ODS_SameHeight=this,this.intervalId=null,this.init()},[{key:"temporarilyShowHiddenElements",value:function(){var e=this;this.originalDisplayStates=[],this.children.forEach(function(t){var n=t.closest('[role="tabpanel"]'),i=t.closest('[role="dialog"]');n&&n.hasAttribute("hidden")&&(e.originalDisplayStates.push({element:n,display:n.style.display}),n.style.display="block",n.removeAttribute("hidden")),i&&i.hasAttribute("aria-hidden")&&(e.originalDisplayStates.push({element:i,display:i.style.display}),i.style.display="block",i.removeAttribute("aria-hidden"))})}},{key:"restoreHiddenElements",value:function(){this.originalDisplayStates.forEach(function(e){var t=e.element,n=e.display;t.style.display=n,"tabpanel"===t.getAttribute("role")?t.setAttribute("hidden",!0):"dialog"===t.getAttribute("role")&&t.setAttribute("aria-hidden",!0)})}},{key:"updateHeight",value:function(){this.temporarilyShowHiddenElements();for(var e=this.element.querySelectorAll('[data-same-height-child="true"]'),t=this.groupElementsByTypeAndPosition(e),n=0,i=Object.entries(t);n<i.length;n++){var r=p(i[n],2)[1],o=[],s=[];if(r.length){var l,c=r[0].getBoundingClientRect().top,u=a(r);try{for(u.s();!(l=u.n()).done;){var d=l.value;d.getBoundingClientRect().top===c?s.push(d):(o.push(f(s)),(s=[]).push(d)),c=d.getBoundingClientRect().top}}catch(e){u.e(e)}finally{u.f()}o.push(f(s)),o.forEach(function(e){if(e.length>1){var t=0;e.forEach(function(e){e&&(e.style.height&&(e.style.height=""),e.offsetHeight>t&&(t=e.offsetHeight))}),e.forEach(function(e){e.style.height=t+"px"})}else e.forEach(function(e){e.style.height&&(e.style.height=null)})})}}this.restoreHiddenElements()}},{key:"groupElementsByTypeAndPosition",value:function(e){var t={};return e.forEach(function(e){var n=e.getAttribute("data-same-height-group")||"default";t[n]||(t[n]=[]),t[n].push(e)}),t}},{key:"init",value:function(){var e=this,t=[];if(this.children=this.element.querySelectorAll('[data-same-height-child="true"]'),this.children.forEach(function(e){e.querySelectorAll("img").forEach(function(e){e.complete||t.push(e)})}),0===t.length)this.updateHeight();else{var n=0;this.intervalId=setInterval(function(){var i=!1;t.forEach(function(e,t,n){e.complete&&(n.splice(t,1),i=!0)}),i&&e.updateHeight&&e.updateHeight(),(++n>=15||0===t.length)&&(t.length&&e.updateHeight&&e.updateHeight(),window.clearInterval(e.intervalId))},400)}window.addEventListener("resize",this.updateHeight)}},{key:"update",value:function(){this.destroy(),this.init()}},{key:"destroy",value:function(){window.removeEventListener("resize",this.updateHeight),this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null)}}],[{key:"getInstance",value:function(e){return e&&e.ODS_SameHeight?e.ODS_SameHeight:null}}])}(),Us=[{Module:H,name:"Accordion",selector:"[data-accordion]"},{Module:j,name:"Autocomplete",selector:"[data-autocomplete]"},{Module:Ct,name:"DatePicker",selector:"[data-datepicker]"},{Module:Yr,name:"Dropdown",selector:"[data-dropdown]"},{Module:Kr,name:"Expander",selector:"[data-expander]"},{Module:Ot,name:"BlockAction",selector:"[data-block-action]"},{Module:Lr,name:"Carousel",selector:"[data-carousel]"},{Module:Gr,name:"CarouselPromotions",selector:"[data-carousel-promotions]"},{Module:Jr,name:"FeatureAccordion",selector:"[data-feature-accordion]"},{Module:oa,name:"File",selector:"[data-file-input]"},{Module:sa,name:"Loader",selector:"[data-loader]"},{Module:Ba,name:"Modal",selector:"[data-modal]"},{Module:js,name:"SameHeight",selector:"[data-same-height]"},{Module:Is,name:"RangeSlider",selector:"[data-rangeslider]"},{Module:Vs,name:"InputStepper",selector:"[data-inputstepper]"},{Module:zs,name:"Table",selector:"[data-table]"},{Module:Fs,name:"Tabs",selector:"[data-tabs]"},{Module:C,name:"Toggle",selector:"[data-toggle]"},{Module:lr,name:"Tooltip",selector:"[data-tooltip]"}];window.ODS=window.ODS||{modules:{},instances:{},moduleSelectorPairs:{}},window.ODS.initModulesWithin=function(e){var t={};return window.ODS.moduleSelectorPairs.forEach(function(n){var i=S(n.name),r=Array.from(e.querySelectorAll(n.selector));window&&window.ODS&&window.ODS.instances[i]&&window.ODS.instances[i].forEach(function(e){r.forEach(function(t,n){t.isSameNode(e.element)&&r.splice(n,1)})}),r.length&&(Array.isArray(window.ODS.instances[i])||(window.ODS.instances[i]=[]),t[i]=r.map(function(e){return new n.Module(e)}),window.ODS.instances[i]=[].concat(f(window.ODS.instances[i]),f(t[i])))}),t},window.ODS.destroyModulesWithin=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={};return Object.keys(window.ODS.instances).forEach(function(i){window.ODS.instances[i].forEach(function(r){"object"!==m(n[i])&&(n[i]=[]);var o,a=e.contains(r.element);"modal"===i?a=null===(o=r.instance)||void 0===o?void 0:o._openers.every(function(t){return e.contains(t)}):"tooltip"===i&&(a=e.contains(r.trigger));a&&(r.destroy(),n[i].push(r)),a&&t&&["modal","tooltip"].includes(i)&&r.element.remove()}),window.ODS.instances[i]=window.ODS.instances[i].filter(function(e){return!n[i].includes(e)})}),n},window.ODS.moduleSelectorPairs=Us,window.addEventListener("DOMContentLoaded",function(){console.log("ODS modules loaded"),Us.forEach(function(e){window.ODS.modules[e.name]=e.Module,window.ODS.instances[S(e.name)]=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Array.from(document.querySelectorAll(t)).map(function(t){return new e(t,n)})}(e.Module,e.selector)}),window.dispatchEvent(new Event("ODSLoaded"))});var $s,qs={exports:{}};var Gs,Ws=($s||($s=1,Gs=qs,function(e,t){Gs.exports=t()}(window,function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=37)}([function(e,t,n){var i=n(1),r=n(6),o=n(7),a=n(16),s=n(18),l="prototype",c=function(e,t,n){var u,d,p,f,h=e&c.F,m=e&c.G,v=e&c.S,g=e&c.P,y=e&c.B,b=m?i:v?i[t]||(i[t]={}):(i[t]||{})[l],_=m?r:r[t]||(r[t]={}),w=_[l]||(_[l]={});for(u in m&&(n=t),n)p=((d=!h&&b&&void 0!==b[u])?b:n)[u],f=y&&d?s(p,i):g&&"function"==typeof p?s(Function.call,p):p,b&&a(b,u,p,e&c.U),_[u]!=p&&o(_,u,f),g&&w[u]!=p&&(w[u]=p)};i.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(4)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){n.r(t),n.d(t,"h",function(){return s}),n.d(t,"createElement",function(){return s}),n.d(t,"cloneElement",function(){return u}),n.d(t,"Component",function(){return N}),n.d(t,"render",function(){return I}),n.d(t,"rerender",function(){return h}),n.d(t,"options",function(){return r});var i=function(){},r={},o=[],a=[];function s(e,t){var n,s,l,c,u=a;for(c=arguments.length;2<c--;)o.push(arguments[c]);for(t&&null!=t.children&&(o.length||o.push(t.children),delete t.children);o.length;)if((s=o.pop())&&void 0!==s.pop)for(c=s.length;c--;)o.push(s[c]);else"boolean"==typeof s&&(s=null),(l="function"!=typeof e)&&(null==s?s="":"number"==typeof s?s=String(s):"string"!=typeof s&&(l=!1)),l&&n?u[u.length-1]+=s:u===a?u=[s]:u.push(s),n=l;var d=new i;return d.nodeName=e,d.children=u,d.attributes=null==t?void 0:t,d.key=null==t?void 0:t.key,void 0!==r.vnode&&r.vnode(d),d}function l(e,t){for(var n in t)e[n]=t[n];return e}var c="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout;function u(e,t){return s(e.nodeName,l(l({},e.attributes),t),2<arguments.length?[].slice.call(arguments,2):e.children)}var d=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,p=[];function f(e){!e._dirty&&(e._dirty=!0)&&1==p.push(e)&&(r.debounceRendering||c)(h)}function h(){var e,t=p;for(p=[];e=t.pop();)e._dirty&&D(e)}function m(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function v(e){var t=l({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var i in n)void 0===t[i]&&(t[i]=n[i]);return t}function g(e){var t=e.parentNode;t&&t.removeChild(e)}function y(e,t,n,i,r){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)n&&n(null),i&&i(e);else if("class"!==t||r)if("style"===t){if(i&&"string"!=typeof i&&"string"!=typeof n||(e.style.cssText=i||""),i&&"object"==typeof i){if("string"!=typeof n)for(var o in n)o in i||(e.style[o]="");for(var o in i)e.style[o]="number"==typeof i[o]&&!1===d.test(o)?i[o]+"px":i[o]}}else if("dangerouslySetInnerHTML"===t)i&&(e.innerHTML=i.__html||"");else if("o"==t[0]&&"n"==t[1]){var a=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),i?n||e.addEventListener(t,b,a):e.removeEventListener(t,b,a),(e._listeners||(e._listeners={}))[t]=i}else if("list"!==t&&"type"!==t&&!r&&t in e){try{e[t]=null==i?"":i}catch(e){}null!=i&&!1!==i||"spellcheck"==t||e.removeAttribute(t)}else{var s=r&&t!==(t=t.replace(/^xlink:?/,""));null==i||!1===i?s?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof i&&(s?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),i):e.setAttribute(t,i))}else e.className=i||""}function b(e){return this._listeners[e.type](r.event&&r.event(e)||e)}var _=[],w=0,S=!1,E=!1;function x(){for(var e;e=_.pop();)r.afterMount&&r.afterMount(e),e.componentDidMount&&e.componentDidMount()}function k(e,t,n,i,r){var o=e,a=S;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||r)?e.nodeValue!=t&&(e.nodeValue=t):(o=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(o,e),T(e,!0))),o.__preactattr_=!0,o;var s=t.nodeName;if("function"==typeof s)return function(e,t,n,i){for(var r=e&&e._component,o=r,a=e,s=r&&e._componentConstructor===t.nodeName,l=s,c=v(t);r&&!l&&(r=r._parentComponent);)l=r.constructor===t.nodeName;return r&&l&&(!i||r._component)?(L(r,c,3,n,i),e=r.base):(o&&!s&&(P(o),e=a=null),r=O(t.nodeName,c,n),e&&!r.nextBase&&(r.nextBase=e,a=null),L(r,c,1,n,i),e=r.base,a&&e!==a&&(a._component=null,T(a,!1))),e}(e,t,n,i);if(S="svg"===s||"foreignObject"!==s&&S,s=String(s),(!e||!m(e,s))&&(o=function(e,t){var n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.normalizedNodeName=e,n}(s,S),e)){for(;e.firstChild;)o.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(o,e),T(e,!0)}var l=o.firstChild,c=o.__preactattr_,u=t.children;if(null==c){c=o.__preactattr_={};for(var d=o.attributes,p=d.length;p--;)c[d[p].name]=d[p].value}return!E&&u&&1===u.length&&"string"==typeof u[0]&&null!=l&&void 0!==l.splitText&&null==l.nextSibling?l.nodeValue!=u[0]&&(l.nodeValue=u[0]):(u&&u.length||null!=l)&&function(e,t,n,i,r){var o,a,s,l,c,u,d,p,f=e.childNodes,h=[],v={},y=0,b=0,_=f.length,w=0,S=t?t.length:0;if(0!==_)for(var E=0;E<_;E++){var x=f[E],C=x.__preactattr_;null!=(A=S&&C?x._component?x._component.__key:C.key:null)?(y++,v[A]=x):(C||(void 0!==x.splitText?!r||x.nodeValue.trim():r))&&(h[w++]=x)}if(0!==S)for(E=0;E<S;E++){var A;if(c=null,null!=(A=(l=t[E]).key))y&&void 0!==v[A]&&(c=v[A],v[A]=void 0,y--);else if(b<w)for(o=b;o<w;o++)if(void 0!==h[o]&&(u=a=h[o],p=r,"string"==typeof(d=l)||"number"==typeof d?void 0!==u.splitText:"string"==typeof d.nodeName?!u._componentConstructor&&m(u,d.nodeName):p||u._componentConstructor===d.nodeName)){c=a,h[o]=void 0,o===w-1&&w--,o===b&&b++;break}c=k(c,l,n,i),s=f[E],c&&c!==e&&c!==s&&(null==s?e.appendChild(c):c===s.nextSibling?g(s):e.insertBefore(c,s))}if(y)for(var E in v)void 0!==v[E]&&T(v[E],!1);for(;b<=w;)void 0!==(c=h[w--])&&T(c,!1)}(o,u,n,i,E||null!=c.dangerouslySetInnerHTML),function(e,t,n){var i;for(i in n)t&&null!=t[i]||null==n[i]||y(e,i,n[i],n[i]=void 0,S);for(i in t)"children"===i||"innerHTML"===i||i in n&&t[i]===("value"===i||"checked"===i?e[i]:n[i])||y(e,i,n[i],n[i]=t[i],S)}(o,t.attributes,c),S=a,o}function T(e,t){var n=e._component;n?P(n):(null!=e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),!1!==t&&null!=e.__preactattr_||g(e),C(e))}function C(e){for(e=e.lastChild;e;){var t=e.previousSibling;T(e,!0),e=t}}var A=[];function O(e,t,n){var i,r=A.length;for(e.prototype&&e.prototype.render?(i=new e(t,n),N.call(i,t,n)):((i=new N(t,n)).constructor=e,i.render=M);r--;)if(A[r].constructor===e)return i.nextBase=A[r].nextBase,A.splice(r,1),i;return i}function M(e,t,n){return this.constructor(e,n)}function L(e,t,n,i,o){e._disable||(e._disable=!0,e.__ref=t.ref,e.__key=t.key,delete t.ref,delete t.key,void 0===e.constructor.getDerivedStateFromProps&&(!e.base||o?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,i)),i&&i!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=i),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&!1===r.syncComponentUpdates&&e.base?f(e):D(e,1,o)),e.__ref&&e.__ref(e))}function D(e,t,n,i){if(!e._disable){var o,a,s,c=e.props,u=e.state,d=e.context,p=e.prevProps||c,f=e.prevState||u,h=e.prevContext||d,m=e.base,g=e.nextBase,y=m||g,b=e._component,C=!1,A=h;if(e.constructor.getDerivedStateFromProps&&(u=l(l({},u),e.constructor.getDerivedStateFromProps(c,u)),e.state=u),m&&(e.props=p,e.state=f,e.context=h,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(c,u,d)?C=!0:e.componentWillUpdate&&e.componentWillUpdate(c,u,d),e.props=c,e.state=u,e.context=d),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!C){o=e.render(c,u,d),e.getChildContext&&(d=l(l({},d),e.getChildContext())),m&&e.getSnapshotBeforeUpdate&&(A=e.getSnapshotBeforeUpdate(p,f));var M,N,I=o&&o.nodeName;if("function"==typeof I){var R=v(o);(a=b)&&a.constructor===I&&R.key==a.__key?L(a,R,1,d,!1):(M=a,e._component=a=O(I,R,d),a.nextBase=a.nextBase||g,a._parentComponent=e,L(a,R,0,d,!1),D(a,1,n,!0)),N=a.base}else s=y,(M=b)&&(s=e._component=null),(y||1===t)&&(s&&(s._component=null),N=function(e,t,n,i,r,o){w++||(S=null!=r&&void 0!==r.ownerSVGElement,E=null!=e&&!("__preactattr_"in e));var a=k(e,t,n,i,o);return r&&a.parentNode!==r&&r.appendChild(a),--w||(E=!1),a}(s,o,d,n||!m,y&&y.parentNode,!0));if(y&&N!==y&&a!==b){var z=y.parentNode;z&&N!==z&&(z.replaceChild(N,y),M||(y._component=null,T(y,!1)))}if(M&&P(M),(e.base=N)&&!i){for(var B=e,F=e;F=F._parentComponent;)(B=F).base=N;N._component=B,N._componentConstructor=B.constructor}}for(!m||n?_.unshift(e):C||(e.componentDidUpdate&&e.componentDidUpdate(p,f,A),r.afterUpdate&&r.afterUpdate(e));e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);w||i||x()}}function P(e){r.beforeUnmount&&r.beforeUnmount(e);var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?P(n):t&&(t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),g(e.nextBase=t),A.push(e),C(t)),e.__ref&&e.__ref(null)}function N(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{},this._renderCallbacks=[]}function I(e,t,n){return function(e,t,n,i,r,o){w++||(S=null!=r&&void 0!==r.ownerSVGElement,E=null!=e&&!("__preactattr_"in e));var a=k(e,t,n,i,o);return r&&a.parentNode!==r&&r.appendChild(a),--w||(E=!1,x()),a}(n,e,{},!1,t,!1)}l(N.prototype,{setState:function(e,t){this.prevState||(this.prevState=this.state),this.state=l(l({},this.state),"function"==typeof e?e(this.state,this.props):e),t&&this._renderCallbacks.push(t),f(this)},forceUpdate:function(e){e&&this._renderCallbacks.push(e),D(this,2)},render:function(){}});var R={h:s,createElement:s,cloneElement:u,Component:N,render:I,rerender:h,options:r};t.default=R},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var i=n(8),r=n(40);e.exports=n(3)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(9),r=n(38),o=n(39),a=Object.defineProperty;t.f=n(3)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var i=n(2);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,n){var i=n(22);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var i=n(4);e.exports=function(e,t){return!!e&&i(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){var i=n(0);i(i.S+i.F,"Object",{assign:n(41)})},function(e,t,n){var i=n(2),r=n(1).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t,n){var i=n(1),r=n(7),o=n(17),a=n(10)("src"),s="toString",l=Function[s],c=(""+l).split(s);n(6).inspectSource=function(e){return l.call(e)},(e.exports=function(e,t,n,s){var l="function"==typeof n;l&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(l&&(o(n,a)||r(n,a,e[t]?""+e[t]:c.join(String(t)))),e===i?e[t]=n:s?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,s,function(){return"function"==typeof this&&this[a]||l.call(this)})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var i=n(19);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var i=n(42),r=n(28);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t,n){var i=n(11),r=n(12);e.exports=function(e){return i(r(e))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(21),r=n(24),o=n(43);e.exports=function(e){return function(t,n,a){var s,l=i(t),c=r(l.length),u=o(a,c);if(e&&n!=n){for(;u<c;)if((s=l[u++])!=s)return!0}else for(;u<c;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var i=n(25),r=Math.min;e.exports=function(e){return 0<e?r(i(e),9007199254740991):0}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?i:n)(e)}},function(e,t,n){var i=n(27)("keys"),r=n(10);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){var i=n(6),r=n(1),o="__core-js_shared__",a=r[o]||(r[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(44)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var i=n(12);e.exports=function(e){return Object(i(e))}},function(e,t,n){var i=n(8).f,r=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in r||n(3)&&i(r,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},function(e,t,n){var i=n(0),r=n(32)(1);i(i.P+i.F*!n(13)([].map,!0),"Array",{map:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var i=n(18),r=n(11),o=n(29),a=n(24),s=n(47);e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,d=6==e,p=5==e||d,f=t||s;return function(t,s,h){for(var m,v,g=o(t),y=r(g),b=i(s,h,3),_=a(y.length),w=0,S=n?f(t,_):l?f(t,0):void 0;w<_;w++)if((p||w in y)&&(v=b(m=y[w],w,g),e))if(n)S[w]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:S.push(m)}else if(u)return!1;return d?-1:c||u?u:S}}},function(e,t,n){var i=n(22);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){var i=n(27)("wks"),r=n(10),o=n(1).Symbol,a="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=a&&o[e]||(a?o:r)("Symbol."+e))}).store=i},function(e,t,n){var i=n(0),r=n(23)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(a||!n(13)(o)),"Array",{indexOf:function(e){return a?o.apply(this,arguments)||0:r(this,e,arguments[1])}})},function(e,t,n){var i=n(0);i(i.S,"Object",{create:n(52)})},function(e,t,n){t.__esModule=!0,t.default=void 0,n(14),n(30),n(31),n(35),n(49),n(50);var i=n(5),r=function(e){return e&&e.__esModule?e:{default:e}}(n(51));function o(e){if(!e.element)throw new Error("element is not defined");if(!e.id)throw new Error("id is not defined");if(!e.source)throw new Error("source is not defined");Array.isArray(e.source)&&(e.source=a(e.source)),(0,i.render)((0,i.createElement)(r.default,e),e.element)}var a=function(e){return function(t,n){n(e.filter(function(e){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}))}};o.enhanceSelectElement=function(e){if(!e.selectElement)throw new Error("selectElement is not defined");if(!e.source){var t=[].filter.call(e.selectElement.options,function(t){return t.value||e.preserveNullOptions});e.source=t.map(function(e){return e.textContent||e.innerText})}if(e.onConfirm=e.onConfirm||function(t){var n=[].filter.call(e.selectElement.options,function(e){return(e.textContent||e.innerText)===t})[0];n&&(n.selected=!0)},e.selectElement.value||void 0===e.defaultValue){var n=e.selectElement.options[e.selectElement.options.selectedIndex];e.defaultValue=n.textContent||n.innerText}void 0===e.name&&(e.name=""),void 0===e.id&&(void 0===e.selectElement.id?e.id="":e.id=e.selectElement.id),void 0===e.autoselect&&(e.autoselect=!0);var i=document.createElement("div");e.selectElement.parentNode.insertBefore(i,e.selectElement),o(Object.assign({},e,{element:i})),e.selectElement.style.display="none",e.selectElement.id=e.selectElement.id+"-select"};var s=o;t.default=s},function(e,t,n){e.exports=!n(3)&&!n(4)(function(){return 7!=Object.defineProperty(n(15)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(2);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var i=n(20),r=n(45),o=n(46),a=n(29),s=n(11),l=Object.assign;e.exports=!l||n(4)(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=i})?function(e,t){for(var n=a(e),l=arguments.length,c=1,u=r.f,d=o.f;c<l;)for(var p,f=s(arguments[c++]),h=u?i(f).concat(u(f)):i(f),m=h.length,v=0;v<m;)d.call(f,p=h[v++])&&(n[p]=f[p]);return n}:l},function(e,t,n){var i=n(17),r=n(21),o=n(23)(!1),a=n(26)("IE_PROTO");e.exports=function(e,t){var n,s=r(e),l=0,c=[];for(n in s)n!=a&&i(s,n)&&c.push(n);for(;t.length>l;)i(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var i=n(25),r=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):o(e,t)}},function(e,t){e.exports=!1},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var i=n(48);e.exports=function(e,t){return new(i(e))(t)}},function(e,t,n){var i=n(2),r=n(33),o=n(34)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var i=n(0),r=n(32)(2);i(i.P+i.F*!n(13)([].filter,!0),"Array",{filter:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var i=n(0);i(i.S,"Array",{isArray:n(33)})},function(e,t,n){t.__esModule=!0,t.default=void 0,n(14),n(36),n(30),n(31),n(35),n(55),n(58);var i=n(5),r=a(n(60)),o=a(n(61));function a(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var c={13:"enter",27:"escape",32:"space",38:"up",40:"down"};function u(){return"undefined"!=typeof navigator&&!(!navigator.userAgent.match(/(iPod|iPhone|iPad)/g)||!navigator.userAgent.match(/AppleWebKit/g))}var d=function(e){function t(t){var n;return(n=e.call(this,t)||this).elementReferences={},n.state={focused:null,hovered:null,menuOpen:!1,options:t.defaultValue?[t.defaultValue]:[],query:t.defaultValue,validChoiceMade:!1,selected:null,ariaHint:!0,searchOnInteraction:!0},n.handleComponentBlur=n.handleComponentBlur.bind(l(l(n))),n.handleKeyDown=n.handleKeyDown.bind(l(l(n))),n.handleUpArrow=n.handleUpArrow.bind(l(l(n))),n.handleDownArrow=n.handleDownArrow.bind(l(l(n))),n.handleEnter=n.handleEnter.bind(l(l(n))),n.handlePrintableKey=n.handlePrintableKey.bind(l(l(n))),n.handleListMouseLeave=n.handleListMouseLeave.bind(l(l(n))),n.handleOptionBlur=n.handleOptionBlur.bind(l(l(n))),n.handleOptionClick=n.handleOptionClick.bind(l(l(n))),n.handleOptionFocus=n.handleOptionFocus.bind(l(l(n))),n.handleOptionMouseDown=n.handleOptionMouseDown.bind(l(l(n))),n.handleOptionMouseEnter=n.handleOptionMouseEnter.bind(l(l(n))),n.handleInputBlur=n.handleInputBlur.bind(l(l(n))),n.handleInputChange=n.handleInputChange.bind(l(l(n))),n.handleInputFocus=n.handleInputFocus.bind(l(l(n))),n.pollInputElement=n.pollInputElement.bind(l(l(n))),n.getDirectInputChanges=n.getDirectInputChanges.bind(l(l(n))),n}!function(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}(t,e);var n=t.prototype;return n.isQueryAnOption=function(e,t){var n=this;return-1!==t.map(function(e){return n.templateInputValue(e).toLowerCase()}).indexOf(e.toLowerCase())},n.componentDidMount=function(){this.pollInputElement()},n.componentWillUnmount=function(){clearTimeout(this.$pollInput)},n.pollInputElement=function(){var e=this;this.getDirectInputChanges(),this.$pollInput=setTimeout(function(){e.pollInputElement()},100)},n.getDirectInputChanges=function(){var e=this.elementReferences[-1];e&&e.value!==this.state.query&&this.handleInputChange({target:{value:e.value}})},n.componentDidUpdate=function(e,t){var n=this.state.focused,i=null===n,r=t.focused!==n;r&&!i&&this.elementReferences[n].focus();var o=-1===n,a=r&&null===t.focused;if(o&&a){var s=this.elementReferences[n];s.setSelectionRange(0,s.value.length)}},n.hasAutoselect=function(){return this.props.autoselect},n.templateInputValue=function(e){var t=this.props.templates&&this.props.templates.inputValue;return t?t(e):e},n.templateSuggestion=function(e){var t=this.props.templates&&this.props.templates.suggestion;return t?t(e):e},n.handleComponentBlur=function(e){var t,n=this.state,i=n.options,r=n.query,o=n.selected;this.props.confirmOnBlur?(t=e.query||r,this.props.onConfirm(i[o])):t=r,this.setState({focused:null,menuOpen:e.menuOpen||!1,query:t,selected:null,validChoiceMade:this.isQueryAnOption(t,i)})},n.handleListMouseLeave=function(e){this.setState({hovered:null})},n.handleOptionBlur=function(e,t){var n=this.state,i=n.focused,r=n.menuOpen,o=n.options,a=n.selected,s=null===e.relatedTarget,l=e.relatedTarget===this.elementReferences[-1],c=i!==t&&-1!==i;if(!c&&s||!c&&!l){var d=r&&u()&&!this.hasAutoselect();this.handleComponentBlur({menuOpen:d,query:this.templateInputValue(o[a])})}},n.handleInputBlur=function(e){var t=this.state,n=t.focused,i=t.menuOpen,r=t.options,o=t.query,a=t.selected,s=0<=n;if(u()&&!e.relatedTarget&&!s&&this.hasAutoselect()){var l=this.templateInputValue(r[a]);this.handleComponentBlur({menuOpen:!1,query:l})}else if(!s){var c=i&&u(),d=u()?o:this.templateInputValue(r[a]);this.handleComponentBlur({menuOpen:c,query:d})}},n.handleInputChange=function(e){var t=this,n=this.props,i=n.minLength,r=n.source,o=n.showAllValues,a=this.state.searchOnInteraction,s=this.hasAutoselect(),l=e.target.value,c=0===l.length,u=a||this.state.query.length!==l.length,d=l.length>=i;this.setState({query:l,ariaHint:c,searchOnInteraction:!0}),o||!c&&u&&d?r(l,function(e){var n=0<e.length;t.setState(function(t){return{menuOpen:n&&null!==t.focused,options:e,selected:s&&n?0:-1,validChoiceMade:!1}})}):!c&&d||this.setState({menuOpen:!1,options:[]})},n.handleInputClick=function(e){this.handleInputChange(e)},n.handleInputFocus=function(e){var t=this.state,n=t.query,i=t.validChoiceMade,r=t.options,o=this.props.minLength,a=!i&&n.length>=o&&0<r.length;a?this.setState(function(e){var t=e.menuOpen;return{focused:-1,menuOpen:a||t,selected:-1}}):this.setState({focused:-1}),e&&this.handleInputChange(e)},n.handleOptionFocus=function(e){this.setState({focused:e,hovered:null,selected:e,searchOnInteraction:-1!==e})},n.handleOptionMouseEnter=function(e,t){u()||this.setState({hovered:t})},n.handleOptionClick=function(e,t){var n=this.state.options[t],i=this.templateInputValue(n);this.props.onConfirm(n),this.setState({focused:-1,hovered:null,menuOpen:!1,query:i,selected:-1,validChoiceMade:!0}),this.forceUpdate()},n.handleOptionMouseDown=function(e){e.preventDefault()},n.handleUpArrow=function(e){e.preventDefault();var t=this.state,n=t.menuOpen,i=t.selected;-1!==i&&n&&this.handleOptionFocus(i-1)},n.handleDownArrow=function(e){var t=this;if(e.preventDefault(),this.props.showAllValues&&!1===this.state.menuOpen)e.preventDefault(),this.props.source("",function(e){t.setState({menuOpen:!0,options:e,selected:0,focused:0,hovered:null})});else if(!0===this.state.menuOpen){var n=this.state,i=n.menuOpen,r=n.options,o=n.selected;o!==r.length-1&&i&&this.handleOptionFocus(o+1)}},n.handleSpace=function(e){var t=this;this.props.showAllValues&&!1===this.state.menuOpen&&""===this.state.query&&(e.preventDefault(),this.props.source("",function(e){t.setState({menuOpen:!0,options:e})})),-1!==this.state.focused&&(e.preventDefault(),this.handleOptionClick(e,this.state.focused))},n.handleEnter=function(e){this.state.menuOpen&&(e.preventDefault(),0<=this.state.selected&&this.handleOptionClick(e,this.state.selected))},n.handlePrintableKey=function(e){var t=this.elementReferences[-1];e.target===t||t.focus()},n.handleKeyDown=function(e){switch(c[e.keyCode]){case"up":this.handleUpArrow(e);break;case"down":this.handleDownArrow(e);break;case"space":this.handleSpace(e);break;case"enter":this.handleEnter(e);break;case"escape":this.handleComponentBlur({query:this.state.query});break;default:(function(e){return 47<e&&e<58||32===e||8===e||64<e&&e<91||95<e&&e<112||185<e&&e<193||218<e&&e<223})(e.keyCode)&&this.handlePrintableKey(e)}},n.render=function(){var e,t=this,n=this.props,o=n.cssNamespace,a=n.customInputClassName,l=n.wrapperClassName,c=n.optionClassName,d=n.menuClassName,p=n.displayMenu,f=n.enterKeyHint,h=n.id,m=n.minLength,v=n.name,g=n.placeholder,y=n.required,b=n.showAllValues,_=n.tNoResults,w=n.tStatusQueryTooShort,S=n.tStatusNoResults,E=n.tStatusSelectedOption,x=n.tStatusResults,k=n.tAssistiveHint,T=n.dropdownArrow,C=this.state,A=C.focused,O=C.hovered,M=C.menuOpen,L=C.options,D=C.query,P=C.selected,N=C.ariaHint,I=C.validChoiceMade,R=this.hasAutoselect(),z=-1===A,B=0===L.length,F=0!==D.length,H=D.length>=m,V=this.props.showNoOptionsFound&&z&&B&&F&&H,j=o+"__wrapper"+(l?" "+l:""),U=o+"__input",$=null!==A?" "+U+"--focused":"",q=this.props.showAllValues?" "+U+"--show-all-values":" "+U+"--default",G=o+"__dropdown-arrow-down",W=-1!==A&&null!==A,Y=o+"__menu",K=Y+"--"+p,X=Y+"--"+(M||V?"visible":"hidden"),J=o+"__option",Q=o+"__hint",Z=this.templateInputValue(L[P]),ee=Z&&0===Z.toLowerCase().indexOf(D.toLowerCase())&&R?D+Z.substr(D.length):"",te=h+"__assistiveHint",ne=N?{"aria-describedby":te}:null;return b&&"string"==typeof(e=T({className:G}))&&(e=(0,i.createElement)("div",{className:o+"__dropdown-arrow-down-wrapper",dangerouslySetInnerHTML:{__html:e}})),(0,i.createElement)("div",{className:j,onKeyDown:this.handleKeyDown},(0,i.createElement)(r.default,{id:h,length:L.length,queryLength:D.length,minQueryLength:m,selectedOption:this.templateInputValue(L[P]),selectedOptionIndex:P,validChoiceMade:I,isInFocus:null!==this.state.focused,tQueryTooShort:w,tNoResults:S,tSelectedOption:E,tResults:x}),ee&&(0,i.createElement)("span",null,(0,i.createElement)("input",{className:Q,readonly:!0,tabIndex:"-1",value:ee})),(0,i.createElement)("input",s({enterkeyhint:f||(u()&&this.hasAutoselect()?"done":""),"aria-expanded":M?"true":"false","aria-activedescendant":!!W&&h+"__option--"+A,"aria-owns":h+"__listbox","aria-autocomplete":this.hasAutoselect()?"both":"list"},ne,{autoComplete:"off",className:""+U+$+q+(a?" "+a:""),id:h,onClick:function(e){return t.handleInputClick(e)},onBlur:this.handleInputBlur},function(e){return{onInput:e}}(this.handleInputChange),{onFocus:this.handleInputFocus,name:v,placeholder:g,ref:function(e){t.elementReferences[-1]=e},type:"text",role:"combobox",required:y,value:D})),e,(0,i.createElement)("ul",{className:Y+" "+K+" "+X+(d?" "+d:""),onMouseLeave:function(e){return t.handleListMouseLeave(e)},id:h+"__listbox",role:"listbox"},L.map(function(e,n){var r=(-1===A?P===n:A===n)&&null===O?" "+J+"--focused":"",o=n%2?" "+J+"--odd":"",a=u()?"<span id="+h+"__option-suffix--"+n+' style="border:0;clip:rect(0 0 0 0);height:1px;marginBottom:-1px;marginRight:-1px;overflow:hidden;padding:0;position:absolute;whiteSpace:nowrap;width:1px"> '+(n+1)+" of "+L.length+"</span>":"";return(0,i.createElement)("li",{"aria-selected":A===n?"true":"false",className:""+J+r+o+(c?" "+c:""),dangerouslySetInnerHTML:{__html:t.templateSuggestion(e)+a},id:h+"__option--"+n,key:n,onBlur:function(e){return t.handleOptionBlur(e,n)},onClick:function(e){return t.handleOptionClick(e,n)},onMouseDown:t.handleOptionMouseDown,onMouseEnter:function(e){return t.handleOptionMouseEnter(e,n)},ref:function(e){t.elementReferences[n]=e},role:"option",tabIndex:"-1","aria-posinset":n+1,"aria-setsize":L.length})}),V&&(0,i.createElement)("li",{className:J+(c?" "+c:"")+" "+J+"--no-results"},_())),(0,i.createElement)("span",{id:te,style:{display:"none"}},k()))},t}(i.Component);(t.default=d).defaultProps={autoselect:!1,cssNamespace:"autocomplete",wrapperClassName:"",customInputClassName:"",menuClassName:"",optionClassName:"",defaultValue:"",displayMenu:"inline",minLength:0,name:"input-autocomplete",placeholder:"",onConfirm:function(){},confirmOnBlur:!0,showNoOptionsFound:!0,showAllValues:!1,required:!1,tNoResults:function(){return"No results found"},tAssistiveHint:function(){return"When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures."},dropdownArrow:o.default}},function(e,t,n){var i=n(9),r=n(53),o=n(28),a=n(26)("IE_PROTO"),s=function(){},l="prototype",c=function(){var e,t=n(15)("iframe"),i=o.length;for(t.style.display="none",n(54).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;i--;)delete c[l][o[i]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=i(e),n=new s,s[l]=null,n[a]=e):n=c(),void 0===t?n:r(n,t)}},function(e,t,n){var i=n(8),r=n(9),o=n(20);e.exports=n(3)?Object.defineProperties:function(e,t){r(e);for(var n,a=o(t),s=a.length,l=0;l<s;)i.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var i=n(1).document;e.exports=i&&i.documentElement},function(e,t,n){var i=n(0);i(i.P,"Function",{bind:n(56)})},function(e,t,n){var i=n(19),r=n(2),o=n(57),a=[].slice,s={};e.exports=Function.bind||function(e){var t=i(this),n=a.call(arguments,1),l=function(){var i=n.concat(a.call(arguments));return this instanceof l?function(e,t,n){if(!(t in s)){for(var i=[],r=0;r<t;r++)i[r]="a["+r+"]";s[t]=Function("F,a","return new F("+i.join(",")+")")}return s[t](e,n)}(t,i.length,i):o(t,i,e)};return r(t.prototype)&&(l.prototype=t.prototype),l}},function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){n(59)("match",1,function(e,t,n){return[function(n){var i=e(this),r=null==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},n]})},function(e,t,n){var i=n(7),r=n(16),o=n(4),a=n(12),s=n(34);e.exports=function(e,t,n){var l=s(e),c=n(a,l,""[e]),u=c[0],d=c[1];o(function(){var t={};return t[l]=function(){return 7},7!=""[e](t)})&&(r(String.prototype,e,u),i(RegExp.prototype,l,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)}))}},function(e,t,n){t.__esModule=!0,t.default=void 0,n(36);var i=n(5),r=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(t=e.call.apply(e,[this].concat(i))||this).state={bump:!1,debounced:!1},t}!function(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}(t,e);var n=t.prototype;return n.componentWillMount=function(){var e=this;this.debounceStatusUpdate=function(e,t){var n;return function(){var i=this,r=arguments;clearTimeout(n),n=setTimeout(function(){n=null,e.apply(i,r)},t)}}(function(){if(!e.state.debounced){var t=!e.props.isInFocus||e.props.validChoiceMade;e.setState(function(e){return{bump:!e.bump,debounced:!0,silenced:t}})}},1400)},n.componentWillReceiveProps=function(e){e.queryLength,this.setState({debounced:!1})},n.render=function(){var e,t=this.props,n=t.id,r=t.length,o=t.queryLength,a=t.minQueryLength,s=t.selectedOption,l=t.selectedOptionIndex,c=t.tQueryTooShort,u=t.tNoResults,d=t.tSelectedOption,p=t.tResults,f=this.state,h=f.bump,m=f.debounced,v=f.silenced,g=o<a,y=0===r,b=s?d(s,r,l):"";return e=g?c(a):y?u():p(r,b),this.debounceStatusUpdate(),(0,i.createElement)("div",{style:{border:"0",clip:"rect(0 0 0 0)",height:"1px",marginBottom:"-1px",marginRight:"-1px",overflow:"hidden",padding:"0",position:"absolute",whiteSpace:"nowrap",width:"1px"}},(0,i.createElement)("div",{id:n+"__status--A",role:"status","aria-atomic":"true","aria-live":"polite"},!v&&m&&h?e:""),(0,i.createElement)("div",{id:n+"__status--B",role:"status","aria-atomic":"true","aria-live":"polite"},v||!m||h?"":e))},t}(i.Component);(t.default=r).defaultProps={tQueryTooShort:function(e){return"Type in "+e+" or more characters for results"},tNoResults:function(){return"No search results"},tSelectedOption:function(e,t,n){return e+" "+(n+1)+" of "+t+" is highlighted"},tResults:function(e,t){return e+" "+(1===e?"result":"results")+" "+(1===e?"is":"are")+" available. "+t}}},function(e,t,n){t.__esModule=!0,t.default=void 0;var i=n(5);t.default=function(e){var t=e.className;return(0,i.createElement)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:t,focusable:"false"},(0,i.createElement)("g",{stroke:"none",fill:"none","fill-rule":"evenodd"},(0,i.createElement)("polygon",{fill:"#000000",points:"0 0 22 0 11 17"})))}}]).default})),qs.exports),Ys=e({__proto__:null,default:g(Ws)},[Ws]);
10
- //# sourceMappingURL=static.js.map