@tet/tet-components 1.4.143-production → 1.4.143-testing

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 (444) hide show
  1. package/dist/cjs/{http-codes-oHpK-Vsh.js → http-codes-D7ffzpYW.js} +1 -1
  2. package/dist/cjs/{index-puzHM5yZ.js → index-BL_zVDFC.js} +9 -1
  3. package/dist/cjs/{index-t4WNVvo_.js → index-Dzs7Nkbj.js} +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/{product-comparison-DAR6p-NV.js → product-comparison-DUzqZuWv.js} +1 -1
  6. package/dist/cjs/{string-CL-wkThZ.js → string-D0kCSyUd.js} +4 -0
  7. package/dist/cjs/tet-accordion.cjs.entry.js +1 -1
  8. package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +4 -4
  9. package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
  10. package/dist/cjs/tet-address-offers_5.cjs.entry.js +6 -6
  11. package/dist/cjs/tet-assembler.cjs.entry.js +4 -4
  12. package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +2 -2
  13. package/dist/cjs/tet-autocomplete_2.cjs.entry.js +3 -3
  14. package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +4 -4
  15. package/dist/cjs/tet-b2b-configurator.cjs.entry.js +5 -5
  16. package/dist/cjs/tet-banner-nav.cjs.entry.js +4 -4
  17. package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
  18. package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
  19. package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
  20. package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
  21. package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
  22. package/dist/cjs/tet-button.cjs.entry.js +1 -1
  23. package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
  24. package/dist/cjs/tet-carousel.cjs.entry.js +4 -4
  25. package/dist/cjs/tet-checkbox_3.cjs.entry.js +1 -1
  26. package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +4 -4
  27. package/dist/cjs/tet-cloud-configurator.cjs.entry.js +4 -4
  28. package/dist/cjs/tet-colors.cjs.entry.js +1 -1
  29. package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
  30. package/dist/cjs/tet-compare-card-v3.cjs.entry.js +3 -3
  31. package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
  32. package/dist/cjs/tet-compare-cards_2.cjs.entry.js +3 -3
  33. package/dist/cjs/tet-components.cjs.js +2 -2
  34. package/dist/cjs/tet-container_2.cjs.entry.js +2 -2
  35. package/dist/cjs/tet-countdown.cjs.entry.js +1 -1
  36. package/dist/cjs/tet-counter.cjs.entry.js +1 -1
  37. package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +387 -0
  38. package/dist/cjs/tet-datepicker.cjs.entry.js +132 -0
  39. package/dist/cjs/tet-dialog.cjs.entry.js +4 -4
  40. package/dist/cjs/tet-display.cjs.entry.js +1 -1
  41. package/dist/cjs/tet-divider.cjs.entry.js +1 -1
  42. package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
  43. package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
  44. package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
  45. package/dist/cjs/tet-feedback-form.cjs.entry.js +4 -4
  46. package/dist/cjs/tet-filter.cjs.entry.js +1 -1
  47. package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
  48. package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
  49. package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
  50. package/dist/cjs/tet-grid.cjs.entry.js +1 -1
  51. package/dist/cjs/tet-icon.cjs.entry.js +2 -2
  52. package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
  53. package/dist/cjs/tet-input.cjs.entry.js +4 -4
  54. package/dist/cjs/tet-layout.cjs.entry.js +1 -1
  55. package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
  56. package/dist/cjs/tet-link.cjs.entry.js +1 -1
  57. package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
  58. package/dist/cjs/tet-menu.cjs.entry.js +1 -1
  59. package/dist/cjs/tet-mini-compare-card.cjs.entry.js +1 -1
  60. package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +4 -4
  61. package/dist/cjs/tet-navigation-mobile.cjs.entry.js +4 -4
  62. package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
  63. package/dist/cjs/tet-notification.cjs.entry.js +1 -1
  64. package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
  65. package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
  66. package/dist/cjs/tet-position.cjs.entry.js +1 -1
  67. package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
  68. package/dist/cjs/tet-radio-blocks.cjs.entry.js +1 -1
  69. package/dist/cjs/tet-radio_2.cjs.entry.js +1 -1
  70. package/dist/cjs/tet-range-slider.cjs.entry.js +1 -1
  71. package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
  72. package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
  73. package/dist/cjs/tet-snicker-card.cjs.entry.js +4 -4
  74. package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
  75. package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
  76. package/dist/cjs/tet-stepper-input.cjs.entry.js +4 -4
  77. package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
  78. package/dist/cjs/tet-sticky-offer.cjs.entry.js +1 -1
  79. package/dist/cjs/tet-support-search.cjs.entry.js +2 -2
  80. package/dist/cjs/tet-switch.cjs.entry.js +1 -1
  81. package/dist/cjs/tet-table.cjs.entry.js +1 -1
  82. package/dist/cjs/tet-tag_2.cjs.entry.js +4 -4
  83. package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
  84. package/dist/cjs/tet-text.cjs.entry.js +1 -1
  85. package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
  86. package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +4 -4
  87. package/dist/cjs/{translations-D5zHdnnh.js → translations-Uvcq4kv8.js} +2 -2
  88. package/dist/cjs/{typecheck-Do6mN8Vg.js → typecheck--Bs-bZ_K.js} +2 -0
  89. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.css +393 -0
  90. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.css +455 -0
  91. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.css +382 -0
  92. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.css +382 -0
  93. package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.css +380 -0
  94. package/dist/components/index.js +1 -1
  95. package/dist/components/{p-Crh1Z4Ao.js → p-5kTi8PjH.js} +1 -1
  96. package/dist/components/{p-CQSDHF3e.js → p-B4CDhWR6.js} +1 -1
  97. package/dist/components/{p-Bs7YjXl3.js → p-B5shOn6R.js} +1 -1
  98. package/dist/components/{p-BDEIj3j6.js → p-B9bE6qY-.js} +1 -1
  99. package/dist/components/{p-BrziWUeN.js → p-BAkWN1D6.js} +1 -1
  100. package/dist/components/p-BDPxVbYN.js +1 -0
  101. package/dist/components/{p-Bds52Hqu.js → p-BGrd_jXc.js} +1 -1
  102. package/dist/components/p-BKlEhiGf.js +1 -0
  103. package/dist/components/{p-MACZHbLY.js → p-BN2sV9-A.js} +1 -1
  104. package/dist/components/{p-Bxw_FbaE.js → p-BPQNPw6e.js} +1 -1
  105. package/dist/components/{p-CDZEVf7C.js → p-BSgeKEN8.js} +1 -1
  106. package/dist/components/{p-Djfnw8Q3.js → p-BTSQyL7G.js} +1 -1
  107. package/dist/components/{p-BRAnHkTt.js → p-BY4VWk_A.js} +1 -1
  108. package/dist/components/{p-B-szIY3U.js → p-BebUippY.js} +1 -1
  109. package/dist/components/{p-Du7-7CWb.js → p-BkFKgYOW.js} +1 -1
  110. package/dist/components/{p-fUGNvavt.js → p-Br4jWI9B.js} +1 -1
  111. package/dist/components/{p-B73cnklL.js → p-BrD5Af4p.js} +1 -1
  112. package/dist/components/{p-CKR9yWin.js → p-BtMYZdep.js} +1 -1
  113. package/dist/components/{p-C2it2KVO.js → p-C-TWSM4z.js} +1 -1
  114. package/dist/components/{p-CU66IBVN.js → p-C31HYpo5.js} +1 -1
  115. package/dist/components/{p-BWivglmk.js → p-CDDvHWDu.js} +1 -1
  116. package/dist/components/{p-CAN26IpG.js → p-CH_CJUiq.js} +1 -1
  117. package/dist/components/{p-CORlnisI.js → p-CLtgu35N.js} +1 -1
  118. package/dist/components/p-CNsxz-TF.js +1 -0
  119. package/dist/components/{p-1-gOR9lC.js → p-COVrKFTj.js} +1 -1
  120. package/dist/components/p-CUOgW7ZG.js +1 -0
  121. package/dist/components/{p-u1z4RZIA.js → p-CY1tO1HE.js} +1 -1
  122. package/dist/components/{p-D2tq3Qs4.js → p-CbqipjNj.js} +1 -1
  123. package/dist/components/p-Cdi7KDBd.js +1 -0
  124. package/dist/components/p-Cef0hbKH.js +1 -0
  125. package/dist/components/{p-B1aYwHJw.js → p-Cn_UPY3P.js} +1 -1
  126. package/dist/components/p-CoQ-OVcl.js +1 -0
  127. package/dist/components/{p-BhNwCgFv.js → p-Cy7tiOgd.js} +1 -1
  128. package/dist/components/{p-DU8lYjbh.js → p-CzRzXWH6.js} +1 -1
  129. package/dist/components/p-D0GJDW-O.js +1 -0
  130. package/dist/components/{p-3dRoKfHO.js → p-D6kNR-cR.js} +1 -1
  131. package/dist/components/{p-DnuQvpFp.js → p-DIqowNgr.js} +1 -1
  132. package/dist/components/{p-HZVWt9O0.js → p-DT8tgMUV.js} +1 -1
  133. package/dist/components/p-DTeQFROq.js +1 -0
  134. package/dist/components/p-DeyD67la.js +1 -0
  135. package/dist/components/{p-DcpRqRvh.js → p-DsTbwBba.js} +1 -1
  136. package/dist/components/{p-DA2dABq-.js → p-JZAHJ9gF.js} +1 -1
  137. package/dist/components/{p-c5bfjvCu.js → p-Jzy65bod.js} +1 -1
  138. package/dist/components/{p-BMzA8V9P.js → p-KagFBuv9.js} +1 -1
  139. package/dist/components/{p-Ck3YL66m.js → p-NAR5FXDl.js} +1 -1
  140. package/dist/components/{p-B4HwH3Yk.js → p-PYYBcx0f.js} +1 -1
  141. package/dist/components/{p-T0IODFGL.js → p-SprieIc0.js} +1 -1
  142. package/dist/components/{p-Cxj5bWkg.js → p-UVdgsuUF.js} +1 -1
  143. package/dist/components/{p-BKb5pnVY.js → p-ZPHtvw0Z.js} +1 -1
  144. package/dist/components/p-iksDLWwk.js +1 -0
  145. package/dist/{tet-components/p-OiVa1VV1.js → components/p-lEX8wezw.js} +1 -1
  146. package/dist/components/{p-BxqIYMTA.js → p-m0PlnnJG.js} +1 -1
  147. package/dist/components/{p-Bt1rxkXS.js → p-uriK4wxp.js} +1 -1
  148. package/dist/components/{p-CSeIckFV.js → p-vLpvVmb8.js} +1 -1
  149. package/dist/components/{p-C8PhwAQB.js → p-zWNDOP2j.js} +1 -1
  150. package/dist/components/tet-accordion.js +1 -1
  151. package/dist/components/tet-address-offers-filters-products.js +1 -1
  152. package/dist/components/tet-address-offers-filters.js +1 -1
  153. package/dist/components/tet-address-offers-view.js +1 -1
  154. package/dist/components/tet-address-offers.js +1 -1
  155. package/dist/components/tet-address-search.js +1 -1
  156. package/dist/components/tet-assembler.js +1 -1
  157. package/dist/components/tet-asset-availability-addresses.js +1 -1
  158. package/dist/components/tet-autocomplete-dropdown.js +1 -1
  159. package/dist/components/tet-autocomplete.js +1 -1
  160. package/dist/components/tet-availability-contact-form.js +1 -1
  161. package/dist/components/tet-b2b-check-out-form.js +1 -1
  162. package/dist/components/tet-b2b-compare-card.js +1 -1
  163. package/dist/components/tet-b2b-configurator-cart.js +1 -1
  164. package/dist/components/tet-b2b-configurator.js +1 -1
  165. package/dist/components/tet-banner-nav.js +1 -1
  166. package/dist/components/tet-bar-graph.js +1 -1
  167. package/dist/components/tet-border-radius.js +1 -1
  168. package/dist/components/tet-business-card.js +1 -1
  169. package/dist/components/tet-business-compare-card.js +1 -1
  170. package/dist/components/tet-business-navigation.js +1 -1
  171. package/dist/components/tet-business-round-stepper.js +1 -1
  172. package/dist/components/tet-business-summary-card.js +1 -1
  173. package/dist/components/tet-button.js +1 -1
  174. package/dist/components/tet-card-list.js +1 -1
  175. package/dist/components/tet-carousel.js +1 -1
  176. package/dist/components/tet-checkbox.js +1 -1
  177. package/dist/components/tet-cloud-application-form-dialog.js +1 -1
  178. package/dist/components/tet-cloud-configurator.js +1 -1
  179. package/dist/components/tet-colors.js +1 -1
  180. package/dist/components/tet-compare-card-v2.js +1 -1
  181. package/dist/components/tet-compare-card-v3.js +1 -1
  182. package/dist/components/tet-compare-card.js +1 -1
  183. package/dist/components/tet-compare-cards-tab.js +1 -1
  184. package/dist/components/tet-compare-cards.js +1 -1
  185. package/dist/components/tet-container.js +1 -1
  186. package/dist/components/tet-countdown.js +1 -1
  187. package/dist/components/tet-counter.js +1 -1
  188. package/dist/components/tet-datepicker-header.d.ts +11 -0
  189. package/dist/components/tet-datepicker-header.js +1 -0
  190. package/dist/components/tet-datepicker-month-view.d.ts +11 -0
  191. package/dist/components/tet-datepicker-month-view.js +1 -0
  192. package/dist/components/tet-datepicker-multi-year-view.d.ts +11 -0
  193. package/dist/components/tet-datepicker-multi-year-view.js +1 -0
  194. package/dist/components/tet-datepicker-year-view.d.ts +11 -0
  195. package/dist/components/tet-datepicker-year-view.js +1 -0
  196. package/dist/components/tet-datepicker.d.ts +11 -0
  197. package/dist/components/tet-datepicker.js +1 -0
  198. package/dist/components/tet-dialog.js +1 -1
  199. package/dist/components/tet-display.js +1 -1
  200. package/dist/components/tet-divider.js +1 -1
  201. package/dist/components/tet-dropdown.js +1 -1
  202. package/dist/components/tet-dynamic-card.js +1 -1
  203. package/dist/components/tet-expandable-input.js +1 -1
  204. package/dist/components/tet-expansion-panel.js +1 -1
  205. package/dist/components/tet-feedback-form.js +1 -1
  206. package/dist/components/tet-filter.js +1 -1
  207. package/dist/components/tet-floating-block.js +1 -1
  208. package/dist/components/tet-font-weight.js +1 -1
  209. package/dist/components/tet-fonts.js +1 -1
  210. package/dist/components/tet-grid.js +1 -1
  211. package/dist/components/tet-icon.js +1 -1
  212. package/dist/components/tet-inline-message.js +1 -1
  213. package/dist/components/tet-input.js +1 -1
  214. package/dist/components/tet-layout.js +1 -1
  215. package/dist/components/tet-link-card-list.js +1 -1
  216. package/dist/components/tet-link.js +1 -1
  217. package/dist/components/tet-loader.js +1 -1
  218. package/dist/components/tet-menu-mobile.js +1 -1
  219. package/dist/components/tet-menu.js +1 -1
  220. package/dist/components/tet-mini-compare-card.js +1 -1
  221. package/dist/components/tet-multi-step-dialog.js +1 -1
  222. package/dist/components/tet-navigation-mobile.js +1 -1
  223. package/dist/components/tet-news-card-list.js +1 -1
  224. package/dist/components/tet-notification.js +1 -1
  225. package/dist/components/tet-number-input.js +1 -1
  226. package/dist/components/tet-placeholder.js +1 -1
  227. package/dist/components/tet-position.js +1 -1
  228. package/dist/components/tet-price-view.js +1 -1
  229. package/dist/components/tet-radio-blocks.js +1 -1
  230. package/dist/components/tet-radio.js +1 -1
  231. package/dist/components/tet-range-slider.js +1 -1
  232. package/dist/components/tet-round-stepper.js +1 -1
  233. package/dist/components/tet-selection-list.js +1 -1
  234. package/dist/components/tet-snicker-card-group.js +1 -1
  235. package/dist/components/tet-snicker-card.js +1 -1
  236. package/dist/components/tet-spacing.js +1 -1
  237. package/dist/components/tet-spinner.js +1 -1
  238. package/dist/components/tet-stepper-input.js +1 -1
  239. package/dist/components/tet-stepper-v3.js +1 -1
  240. package/dist/components/tet-sticky-offer.js +1 -1
  241. package/dist/components/tet-support-search.js +1 -1
  242. package/dist/components/tet-switch.js +1 -1
  243. package/dist/components/tet-tab-content.js +1 -1
  244. package/dist/components/tet-tab-header.js +1 -1
  245. package/dist/components/tet-table.js +1 -1
  246. package/dist/components/tet-tag-group.js +1 -1
  247. package/dist/components/tet-tag.js +1 -1
  248. package/dist/components/tet-text-list.js +1 -1
  249. package/dist/components/tet-text.js +1 -1
  250. package/dist/components/tet-textarea.js +1 -1
  251. package/dist/components/tet-thank-you-view-v3.js +1 -1
  252. package/dist/components/tet-tooltip.js +1 -1
  253. package/dist/esm/{http-codes-Db3nijH5.js → http-codes-BQGPgOl6.js} +1 -1
  254. package/dist/esm/{index-Pqdi2xbP.js → index-BGB6gNkz.js} +9 -1
  255. package/dist/esm/{index-BwDyy0_n.js → index-DScZlZas.js} +1 -1
  256. package/dist/esm/loader.js +3 -3
  257. package/dist/esm/{product-comparison-dUap5wKc.js → product-comparison-DUVV7BFR.js} +1 -1
  258. package/dist/esm/{string-C9BlrGW8.js → string-D0GJDW-O.js} +4 -1
  259. package/dist/esm/tet-accordion.entry.js +1 -1
  260. package/dist/esm/tet-address-offers-filters-products_2.entry.js +4 -4
  261. package/dist/esm/tet-address-offers-view.entry.js +4 -4
  262. package/dist/esm/tet-address-offers_5.entry.js +6 -6
  263. package/dist/esm/tet-assembler.entry.js +4 -4
  264. package/dist/esm/tet-autocomplete-dropdown.entry.js +2 -2
  265. package/dist/esm/tet-autocomplete_2.entry.js +3 -3
  266. package/dist/esm/tet-b2b-check-out-form_5.entry.js +4 -4
  267. package/dist/esm/tet-b2b-configurator.entry.js +5 -5
  268. package/dist/esm/tet-banner-nav.entry.js +4 -4
  269. package/dist/esm/tet-bar-graph.entry.js +1 -1
  270. package/dist/esm/tet-border-radius.entry.js +1 -1
  271. package/dist/esm/tet-business-card.entry.js +1 -1
  272. package/dist/esm/tet-business-compare-card.entry.js +1 -1
  273. package/dist/esm/tet-business-round-stepper.entry.js +1 -1
  274. package/dist/esm/tet-button.entry.js +1 -1
  275. package/dist/esm/tet-card-list.entry.js +1 -1
  276. package/dist/esm/tet-carousel.entry.js +4 -4
  277. package/dist/esm/tet-checkbox_3.entry.js +1 -1
  278. package/dist/esm/tet-cloud-application-form-dialog.entry.js +4 -4
  279. package/dist/esm/tet-cloud-configurator.entry.js +4 -4
  280. package/dist/esm/tet-colors.entry.js +1 -1
  281. package/dist/esm/tet-compare-card-v2.entry.js +3 -3
  282. package/dist/esm/tet-compare-card-v3.entry.js +3 -3
  283. package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
  284. package/dist/esm/tet-compare-cards_2.entry.js +3 -3
  285. package/dist/esm/tet-components.js +3 -3
  286. package/dist/esm/tet-container_2.entry.js +2 -2
  287. package/dist/esm/tet-countdown.entry.js +1 -1
  288. package/dist/esm/tet-counter.entry.js +1 -1
  289. package/dist/esm/tet-datepicker-header_4.entry.js +382 -0
  290. package/dist/esm/tet-datepicker.entry.js +130 -0
  291. package/dist/esm/tet-dialog.entry.js +4 -4
  292. package/dist/esm/tet-display.entry.js +1 -1
  293. package/dist/esm/tet-divider.entry.js +1 -1
  294. package/dist/esm/tet-dynamic-card.entry.js +1 -1
  295. package/dist/esm/tet-expandable-input.entry.js +1 -1
  296. package/dist/esm/tet-expansion-panel.entry.js +1 -1
  297. package/dist/esm/tet-feedback-form.entry.js +4 -4
  298. package/dist/esm/tet-filter.entry.js +1 -1
  299. package/dist/esm/tet-floating-block.entry.js +1 -1
  300. package/dist/esm/tet-font-weight.entry.js +1 -1
  301. package/dist/esm/tet-fonts.entry.js +1 -1
  302. package/dist/esm/tet-grid.entry.js +1 -1
  303. package/dist/esm/tet-icon.entry.js +2 -2
  304. package/dist/esm/tet-inline-message.entry.js +1 -1
  305. package/dist/esm/tet-input.entry.js +4 -4
  306. package/dist/esm/tet-layout.entry.js +1 -1
  307. package/dist/esm/tet-link-card-list.entry.js +1 -1
  308. package/dist/esm/tet-link.entry.js +1 -1
  309. package/dist/esm/tet-menu-mobile.entry.js +1 -1
  310. package/dist/esm/tet-menu.entry.js +1 -1
  311. package/dist/esm/tet-mini-compare-card.entry.js +1 -1
  312. package/dist/esm/tet-multi-step-dialog.entry.js +4 -4
  313. package/dist/esm/tet-navigation-mobile.entry.js +4 -4
  314. package/dist/esm/tet-news-card-list.entry.js +1 -1
  315. package/dist/esm/tet-notification.entry.js +1 -1
  316. package/dist/esm/tet-number-input.entry.js +1 -1
  317. package/dist/esm/tet-placeholder.entry.js +1 -1
  318. package/dist/esm/tet-position.entry.js +1 -1
  319. package/dist/esm/tet-price-view.entry.js +1 -1
  320. package/dist/esm/tet-radio-blocks.entry.js +1 -1
  321. package/dist/esm/tet-radio_2.entry.js +1 -1
  322. package/dist/esm/tet-range-slider.entry.js +1 -1
  323. package/dist/esm/tet-round-stepper.entry.js +1 -1
  324. package/dist/esm/tet-snicker-card-group.entry.js +1 -1
  325. package/dist/esm/tet-snicker-card.entry.js +4 -4
  326. package/dist/esm/tet-spacing.entry.js +1 -1
  327. package/dist/esm/tet-spinner.entry.js +1 -1
  328. package/dist/esm/tet-stepper-input.entry.js +4 -4
  329. package/dist/esm/tet-stepper-v3.entry.js +1 -1
  330. package/dist/esm/tet-sticky-offer.entry.js +1 -1
  331. package/dist/esm/tet-support-search.entry.js +2 -2
  332. package/dist/esm/tet-switch.entry.js +1 -1
  333. package/dist/esm/tet-table.entry.js +1 -1
  334. package/dist/esm/tet-tag_2.entry.js +4 -4
  335. package/dist/esm/tet-text-list.entry.js +1 -1
  336. package/dist/esm/tet-text.entry.js +1 -1
  337. package/dist/esm/tet-textarea.entry.js +1 -1
  338. package/dist/esm/tet-thank-you-view-v3.entry.js +4 -4
  339. package/dist/esm/{translations-86O17evG.js → translations-Dc2OQnbI.js} +2 -2
  340. package/dist/esm/{typecheck-CaZKtSyx.js → typecheck-Bvqcvhjw.js} +2 -1
  341. package/dist/tet-components/{p-0a797489.entry.js → p-01336e7a.entry.js} +1 -1
  342. package/dist/tet-components/{p-15f89973.entry.js → p-06d237de.entry.js} +1 -1
  343. package/dist/tet-components/{p-90a100c9.entry.js → p-085ec974.entry.js} +1 -1
  344. package/dist/tet-components/{p-3118407c.entry.js → p-138b551e.entry.js} +1 -1
  345. package/dist/tet-components/{p-bd8c9038.entry.js → p-19525e17.entry.js} +1 -1
  346. package/dist/tet-components/{p-bb153e77.entry.js → p-1be85243.entry.js} +1 -1
  347. package/dist/tet-components/{p-ade5a79e.entry.js → p-1be8a5bc.entry.js} +1 -1
  348. package/dist/tet-components/{p-a250431b.entry.js → p-20f6ad3e.entry.js} +1 -1
  349. package/dist/tet-components/{p-eaf808b1.entry.js → p-24058988.entry.js} +1 -1
  350. package/dist/tet-components/{p-85b03cbb.entry.js → p-27f233a6.entry.js} +1 -1
  351. package/dist/tet-components/{p-7c068242.entry.js → p-2cfcf7df.entry.js} +1 -1
  352. package/dist/tet-components/{p-e9cfabb4.entry.js → p-304026be.entry.js} +1 -1
  353. package/dist/tet-components/{p-462adf99.entry.js → p-3473e773.entry.js} +1 -1
  354. package/dist/tet-components/p-35e3a3ec.entry.js +1 -0
  355. package/dist/tet-components/{p-99d22e9f.entry.js → p-3698d8ff.entry.js} +1 -1
  356. package/dist/tet-components/{p-21744507.entry.js → p-37c83d33.entry.js} +1 -1
  357. package/dist/tet-components/{p-70358487.entry.js → p-3996e0b7.entry.js} +1 -1
  358. package/dist/tet-components/{p-2f1fb5d8.entry.js → p-3af65955.entry.js} +1 -1
  359. package/dist/tet-components/{p-56a273b2.entry.js → p-3bf29f89.entry.js} +1 -1
  360. package/dist/tet-components/{p-86ea31b9.entry.js → p-3ce7cda9.entry.js} +1 -1
  361. package/dist/tet-components/{p-21beac4f.entry.js → p-3d845492.entry.js} +1 -1
  362. package/dist/tet-components/{p-eac98a86.entry.js → p-3f533c77.entry.js} +1 -1
  363. package/dist/tet-components/{p-5c3cf41b.entry.js → p-4215dec8.entry.js} +1 -1
  364. package/dist/tet-components/{p-93d9beb5.entry.js → p-499bf719.entry.js} +1 -1
  365. package/dist/tet-components/{p-69f6bb43.entry.js → p-4e018c17.entry.js} +1 -1
  366. package/dist/tet-components/{p-6552a315.entry.js → p-56f99297.entry.js} +1 -1
  367. package/dist/tet-components/{p-65e5e233.entry.js → p-597ccbc1.entry.js} +1 -1
  368. package/dist/tet-components/{p-9d3a45b0.entry.js → p-5bac849e.entry.js} +1 -1
  369. package/dist/tet-components/{p-2156320e.entry.js → p-5e458bfa.entry.js} +1 -1
  370. package/dist/tet-components/{p-2b3f3308.entry.js → p-632d382c.entry.js} +1 -1
  371. package/dist/tet-components/{p-b784c084.entry.js → p-67bb4d53.entry.js} +1 -1
  372. package/dist/tet-components/{p-06f3d072.entry.js → p-6946ba58.entry.js} +1 -1
  373. package/dist/tet-components/{p-21c16e26.entry.js → p-6c28d6ac.entry.js} +1 -1
  374. package/dist/tet-components/{p-a13e3112.entry.js → p-6eb089d0.entry.js} +1 -1
  375. package/dist/tet-components/{p-90adc88e.entry.js → p-71fa80d7.entry.js} +1 -1
  376. package/dist/tet-components/{p-a18c847c.entry.js → p-7ac2babd.entry.js} +1 -1
  377. package/dist/tet-components/{p-2c5dbd08.entry.js → p-7bccaeee.entry.js} +1 -1
  378. package/dist/tet-components/{p-6787e552.entry.js → p-7e2fa50e.entry.js} +1 -1
  379. package/dist/tet-components/{p-fbc66ce6.entry.js → p-830d6a1b.entry.js} +1 -1
  380. package/dist/tet-components/{p-1ffa8779.entry.js → p-83be5dad.entry.js} +1 -1
  381. package/dist/tet-components/{p-ceeb117f.entry.js → p-8ab2df2d.entry.js} +1 -1
  382. package/dist/tet-components/{p-79023631.entry.js → p-8eed24d3.entry.js} +1 -1
  383. package/dist/tet-components/{p-1fb1fb6e.entry.js → p-915b2507.entry.js} +1 -1
  384. package/dist/tet-components/{p-47ae783d.entry.js → p-9183aa09.entry.js} +1 -1
  385. package/dist/tet-components/{p-ee4d3c5a.entry.js → p-96438761.entry.js} +1 -1
  386. package/dist/tet-components/{p-1c80a10d.entry.js → p-973193d0.entry.js} +1 -1
  387. package/dist/tet-components/{p-b1ff106f.entry.js → p-9761bc72.entry.js} +1 -1
  388. package/dist/tet-components/{p-67963996.entry.js → p-97ce6978.entry.js} +1 -1
  389. package/dist/tet-components/{p-a2445052.entry.js → p-9ae4f442.entry.js} +1 -1
  390. package/dist/tet-components/{p-c92abc74.entry.js → p-9d7fbd42.entry.js} +1 -1
  391. package/dist/tet-components/p-BGB6gNkz.js +3 -0
  392. package/dist/tet-components/p-Bvqcvhjw.js +1 -0
  393. package/dist/tet-components/p-BzLFf73g.js +1 -0
  394. package/dist/tet-components/p-C1XJmhDH.js +1 -0
  395. package/dist/tet-components/p-D0GJDW-O.js +1 -0
  396. package/dist/tet-components/{p-CZm2B2F9.js → p-DX1IQAn5.js} +1 -1
  397. package/dist/tet-components/{p-B7QSqkXs.js → p-DbJll7nz.js} +1 -1
  398. package/dist/tet-components/{p-ae0e6cc0.entry.js → p-a74562c2.entry.js} +1 -1
  399. package/dist/tet-components/{p-1c2fce79.entry.js → p-aae1bc5a.entry.js} +1 -1
  400. package/dist/tet-components/{p-87f9641e.entry.js → p-b4f3985e.entry.js} +1 -1
  401. package/dist/tet-components/{p-b26635f1.entry.js → p-b5e665c7.entry.js} +1 -1
  402. package/dist/tet-components/{p-12844c69.entry.js → p-b7263345.entry.js} +1 -1
  403. package/dist/tet-components/{p-9f706c0c.entry.js → p-b86022d7.entry.js} +1 -1
  404. package/dist/tet-components/{p-4e4becf7.entry.js → p-be2a472c.entry.js} +1 -1
  405. package/dist/tet-components/p-c0c302fe.entry.js +1 -0
  406. package/dist/tet-components/{p-2095c5ec.entry.js → p-c27be82c.entry.js} +1 -1
  407. package/dist/tet-components/{p-25e53d91.entry.js → p-c37ccaaa.entry.js} +1 -1
  408. package/dist/tet-components/{p-3503843f.entry.js → p-c44052cb.entry.js} +1 -1
  409. package/dist/tet-components/{p-2ec8266d.entry.js → p-c541b10f.entry.js} +1 -1
  410. package/dist/tet-components/{p-9f50d96f.entry.js → p-c9e434c1.entry.js} +1 -1
  411. package/dist/tet-components/{p-5e4c67c6.entry.js → p-c9f14568.entry.js} +1 -1
  412. package/dist/tet-components/{p-817159e1.entry.js → p-cd7efc99.entry.js} +1 -1
  413. package/dist/tet-components/{p-c53f8537.entry.js → p-cdb8c877.entry.js} +1 -1
  414. package/dist/tet-components/{p-14b861d1.entry.js → p-cfdad238.entry.js} +1 -1
  415. package/dist/tet-components/{p-dd6aa7e3.entry.js → p-d2bb410e.entry.js} +1 -1
  416. package/dist/tet-components/{p-c0ef380b.entry.js → p-d8b4261d.entry.js} +1 -1
  417. package/dist/tet-components/{p-1846ecd0.entry.js → p-df68eb4e.entry.js} +1 -1
  418. package/dist/tet-components/{p-dccf260d.entry.js → p-e2d4e5c3.entry.js} +1 -1
  419. package/dist/tet-components/{p-8e86b22c.entry.js → p-e564d494.entry.js} +1 -1
  420. package/dist/tet-components/{p-66c3e3df.entry.js → p-e7e18cc4.entry.js} +1 -1
  421. package/dist/tet-components/{p-88dae177.entry.js → p-ec4710dd.entry.js} +1 -1
  422. package/dist/tet-components/{p-b74913d9.entry.js → p-ee489b61.entry.js} +1 -1
  423. package/dist/tet-components/{p-c496b9a7.entry.js → p-f21e5e14.entry.js} +1 -1
  424. package/dist/tet-components/{p-102e606c.entry.js → p-f55870c8.entry.js} +1 -1
  425. package/dist/tet-components/{p-04fc4fe5.entry.js → p-f5d610ea.entry.js} +1 -1
  426. package/dist/tet-components/{p-94d24a08.entry.js → p-fcfc7424.entry.js} +1 -1
  427. package/dist/tet-components/tet-components.esm.js +1 -1
  428. package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.d.ts +21 -0
  429. package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.d.ts +45 -0
  430. package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.d.ts +20 -0
  431. package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.d.ts +20 -0
  432. package/dist/types/components/simple/inputs/tet-datepicker/tet-datepicker.d.ts +47 -0
  433. package/dist/types/components.d.ts +383 -0
  434. package/package.json +1 -1
  435. package/dist/components/p-BVVamOdB.js +0 -1
  436. package/dist/components/p-BdMiAoro.js +0 -1
  437. package/dist/components/p-CWuhYFDW.js +0 -1
  438. package/dist/components/p-DYckaPWn.js +0 -1
  439. package/dist/components/p-DdrqRtAK.js +0 -1
  440. package/dist/components/p-_2UzwYR8.js +0 -1
  441. package/dist/tet-components/p-BxMAl4Ol.js +0 -1
  442. package/dist/tet-components/p-C9BlrGW8.js +0 -1
  443. package/dist/tet-components/p-CaZKtSyx.js +0 -1
  444. package/dist/tet-components/p-Pqdi2xbP.js +0 -3
@@ -1 +1 @@
1
- import{r as t,f as e,h as o,H as i}from"./p-Pqdi2xbP.js";import{p as n,t as s}from"./p-BxMAl4Ol.js";import"./p-B7QSqkXs.js";import"./p-CaZKtSyx.js";const r=class{constructor(e){t(this,e)}static NUDGE_DISTANCE_PX=16;static NUDGE_IDLE_THRESHOLD_MS=1500;static GRADIENT_VISIBILITY_THRESHOLD_PX=1;static GRADIENT_WIDTH_FALLBACK_PX=100;static EDGE_DRAG_MAX_PX=32;static EDGE_DRAG_RESISTANCE=.95;static MOUSE_DRAG_SMOOTHING_MS=60;static MOBILE_BREAKPOINT_PX=450;static UNIFIED_BUTTONS_MOBILE_MAX_DOTS=4;focusableSelector='a[href], [tabindex]:not([tabindex="-1"])';handleResize=()=>{this.getDotCount();const t=this.getSlotElements();if(!t?.length)return;const e=Math.max(0,Math.min(this.activeItem,t.length-1));this.moveToItem(t[e],e),this.checkGradient()};handleSlotChangeListener=()=>this.handleSlotChange();managedFocusableElements=[];managedSlideFocusWithinListeners=[];draggedAnchor=null;dragMoved=!1;dragPointerStartX=0;dragStartX=0;dragStartActiveItem=0;dragPointerType="";nudgeTimeoutId;nudgeGradientRafId;lastInteractionAt=0;trackElement=null;trackContentElement=null;mobileBackButtonWrapper=null;container;leftGradientRef;rightGradientRef;slotObserver;activeDotIndex=0;dotCount=1;totalItems=0;activeItem=0;isDragging=!1;dragOffset=0;isNudgeAnimating=!1;theme="light";showDots=!0;showGradient=!1;showButtons=!0;transitionDuration=500;swipeThreshold=32;transitionTiming="ease-out";buttonIconLeft="arrow-left";buttonIconRight="arrow-right";maxDots=8;label;nudgeAnimationInterval=0;unifiedButtons=!1;language="lv";safeForceUpdate(){try{e(this)}catch{}}async onLanguageChange(t){await n("tet-components",t),this.safeForceUpdate()}onActiveItemChange(){this.updateSlideFocusableTabIndexes()}checkGradient(){const t=this.leftGradientRef,e=this.rightGradientRef;if(!t||!e)return;if(!this.showGradient||this.getFullyVisibleItemCount()>=this.totalItems)return t.style.opacity="0",void(e.style.opacity="0");const o=this.getViewportWidth(),i=this.getSlotClientWidth(),n=Math.max(0,i-o),s=-this.getRealDragOffset(),a=Math.max(0,Math.min(n,s)),l=n-a<r.GRADIENT_VISIBILITY_THRESHOLD_PX;a<r.GRADIENT_VISIBILITY_THRESHOLD_PX?(t.style.opacity="0",e.style.opacity="1"):l?(t.style.opacity="1",e.style.opacity="0"):(t.style.opacity="1",e.style.opacity="1")}onNudgeAnimIntervalChange(){this.syncNudgeSchedule()}onNudgeAnimationStateChange(){this.syncNudgeGradientLoop(),this.checkGradient()}async componentWillLoad(){await n("tet-components",this.language)}getSlotElements(){const t=this.container?.querySelector("slot");if(!t)return;let e=t.assignedElements?t.assignedElements():[];return 0!==e.length?(e[0].className.includes("carousel-wrapper")&&(e=Array.from(e[0].children)),e):void 0}getViewportWidth(){return this.container?.offsetWidth||window.innerWidth}getSlotClientWidth(){return this.trackElement?.querySelector("slot")?.offsetWidth||window.innerWidth}getMaxScrollableOffset(){return Math.max(0,this.getSlotClientWidth()-this.getViewportWidth())}afterLayout(t){requestAnimationFrame((()=>requestAnimationFrame(t)))}getDotScreenLength(){return this.getSlotClientWidth()/this.dotCount}isLast(t,e){return this.getSlotClientWidth()-e<=t}isLastViewport(t){const e=this.getViewportWidth();return this.isLast(e,t)}isLastDotScreen(t,e){const o=this.getViewportWidth(),i=Math.max(e,o);return this.isLast(i,t)}getItemLayoutMetrics(){const t=this.getSlotElements();return t&&0!==t.length?t.map(((t,e)=>{const o=t.offsetLeft;return{item:t,index:e,left:o,right:o+t.offsetWidth}})):[]}getFullyVisibleItemCount(){const t=this.getItemLayoutMetrics();if(!t.length)return 0;const e=this.getViewportWidth(),o=this.getClampedViewportLeft(),i=o+e;let n=0;for(const{left:e,right:s}of t)e>=o&&s<=i&&n++;return n}getClampedViewportLeft(){const t=Math.abs(this.dragOffset),e=this.getMaxScrollableOffset();return Math.max(0,Math.min(e,t))}getVisibleItemCountFromIndex(t){const e=this.getItemLayoutMetrics();if(!e.length)return 1;const o=Math.max(0,Math.min(t,e.length-1)),i=this.getViewportWidth(),n=e[o].left+i+.5;let s=0;for(let t=o;t<e.length&&e[t].right<=n;t++)s++;return Math.max(1,s)}getFirstVisibleItemInViewport(){const t=this.getItemLayoutMetrics();if(!t.length)return null;const e=this.getClampedViewportLeft(),o=.5,i=t.find((t=>t.left<=e+o&&t.right>e+o));if(i){if(i.right-e>=(i.right-i.left)/2||i.index===t.length-1)return{item:i.item,index:i.index};const o=t[i.index+1];if(o)return{item:o.item,index:o.index}}if(e<=t[0].left+o)return{item:t[0].item,index:t[0].index};const n=t.find((t=>t.left>e+o));if(n)return{item:n.item,index:n.index};const s=t.at(-1);return{item:s.item,index:s.index}}getEdgeSnapTarget(t){const e=this.getItemLayoutMetrics();if(!e.length)return null;const o=this.getClampedViewportLeft(),i=o+this.getViewportWidth(),n=e[0],s=e.at(-1);if(t<0){const t=Math.min(n.right,i)-Math.max(n.left,o);if(t>0&&t>=(n.right-n.left)/2)return{item:n.item,index:n.index}}if(t>0){const t=Math.min(s.right,i)-Math.max(s.left,o);if(t>0&&t>=(s.right-s.left)/2)return{item:s.item,index:s.index}}return null}getSwipeTarget(t){const e=this.getSlotElements();if(!e||0===e.length)return null;const o=this.getEdgeSnapTarget(t);if(o)return o;const i=this.getFirstVisibleItemInViewport();let n=i?.index??this.dragStartActiveItem;t>0&&n<=this.dragStartActiveItem&&(n=this.dragStartActiveItem+1),t<0&&n>=this.dragStartActiveItem&&(n=this.dragStartActiveItem-1),n=Math.max(0,Math.min(e.length-1,n));const s=e[n];return s?{item:s,index:n}:null}getRealDragOffset(){return this.dragOffset+this.getCurrentNudgeTranslateX()}applyEdgeDragResistance(t,e){return t>0?Math.min(r.EDGE_DRAG_MAX_PX,t*r.EDGE_DRAG_RESISTANCE):t<e?e+Math.max(-r.EDGE_DRAG_MAX_PX,(t-e)*r.EDGE_DRAG_RESISTANCE):t}getCurrentNudgeTranslateX(){if(!this.isNudgeAnimating||!this.trackContentElement)return 0;const t=getComputedStyle(this.trackContentElement).transform;if(!t||"none"===t)return 0;try{return new DOMMatrixReadOnly(t).m41||0}catch{return 0}}getDotCount(){const t=this.getSlotElements();if(!t)return this.dotCount=1,this.totalItems=0,void(this.activeDotIndex=0);this.totalItems=t.length;const e=this.getViewportWidth(),o=this.getSlotClientWidth(),i=Math.ceil(o/Math.max(1,e)),n=Number.isFinite(this.maxDots)?this.maxDots:i;let s=n;this.unifiedButtons&&e<r.MOBILE_BREAKPOINT_PX&&(s=Math.min(n,r.UNIFIED_BUTTONS_MOBILE_MAX_DOTS)),this.dotCount=Math.max(1,Math.min(s,i)),this.activeDotIndex=this.clampDotIndex(this.activeDotIndex)}handleMove=()=>{const t=this.getSlotElements();if(!t)return;const e=t[this.activeItem];e&&this.moveToItem(e)};navigateByStep(t){this.registerUserInteraction();const e=this.getSlotElements();if(!e||0===e.length)return;const o=this.activeDotIndex,i=this.getFirstVisibleItemInViewport(),n=i?.index??this.activeItem,s=this.getClampedViewportLeft()>0;if(t<0&&0===n&&s){const t=e[0];return void(t&&this.moveToItem(t,0))}const r=this.getVisibleItemCountFromIndex(n),a=Math.max(0,Math.min(e.length-1,n+t*r));if(a===n)return;const l=e[a];l&&(this.moveToItem(l,a),Math.abs(this.activeDotIndex-o)>1&&this.moveToDotIndex(o+t))}handlePrev=()=>{this.navigateByStep(-1)};handleNext=()=>{this.navigateByStep(1)};moveToLastScreen=()=>{this.dragOffset=-this.getMaxScrollableOffset()};getGradientWidth(){if(!this.showGradient)return 0;const t=this.leftGradientRef?.offsetWidth;return t&&t>0?t:r.GRADIENT_WIDTH_FALLBACK_PX}calculateGradient(t,e){const o=this.getSlotClientWidth();let i=this.showGradient?160:0;return i=e<160?e:i,i=o-e-t.offsetWidth<160?0:i,i}calcLastScreenElement=t=>{const e=this.getSlotElements();if(!e)return null;const o=this.trackElement.getBoundingClientRect(),i=this.getFirstItemOffset();for(const[n,s]of e.entries()){let e=s.getBoundingClientRect().left-o.left-i;const r=this.calculateGradient(s,e);if(e>=t-this.swipeThreshold+r)return{item:s,index:n}}return{item:e[0],index:0}};moveToDotIndex(t){this.activeDotIndex=this.clampDotIndex(t);const e=this.getMaxScrollableOffset(),o=this.dotCount-1!==this.activeDotIndex||this.isDragging?this.activeDotIndex*this.getDotScreenLength():e,i=Math.max(0,Math.min(o,e)),n=this.calcLastScreenElement(i);if(!n)return this.activeItem=0,void(this.dragOffset=0);const{index:s}=n;this.activeItem=s,this.dragOffset=-i}handleDotClick=t=>{this.registerUserInteraction(),this.moveToDotIndex(t)};focusDot=t=>{if(!this.container)return;const e=Array.from(this.container.querySelectorAll(".tet-carousel__dot"));e[t]?.focus()};getKeyboardTargetIndex(t,e,o){if(o<1)return null;switch(t){case"ArrowRight":case"ArrowDown":return Math.min(o,e+1);case"ArrowLeft":case"ArrowUp":return Math.max(0,e-1);case"Home":return 0;case"End":return o;default:return null}}handleNavigationKeyDown(t,e,o,i,n){const s=this.getKeyboardTargetIndex(t.key,e,o);null!==s&&(t.preventDefault(),t.stopPropagation(),i(s)&&this.afterLayout((()=>n(s))))}handleDotKeyDown=(t,e)=>{if("Tab"===t.key&&t.shiftKey){if(this.hasVisibleMobileBackButtonTarget())return;if(!this.hasFocusableTargetInSlide(this.activeItem))return;return this.registerUserInteraction(),t.preventDefault(),t.stopPropagation(),void this.afterLayout((()=>this.focusSlideByIndex(this.activeItem)))}this.handleNavigationKeyDown(t,e,this.dotCount-1,(t=>(this.handleDotClick(t),!0)),(t=>this.focusDot(t)))};isElementVisible(t){if(!t.isConnected)return!1;if(t.hidden||t.hasAttribute("hidden"))return!1;if(0===t.getClientRects().length)return!1;const e=getComputedStyle(t);return"none"!==e.display&&"hidden"!==e.visibility}hasVisibleMobileBackButtonTarget(){if(this.isLeftNavigationDisabled())return!1;const t=this.mobileBackButtonWrapper;return!!t&&this.isElementVisible(t)}hasFocusableTargetInSlide(t){return this.managedFocusableElements.some((({slideIndex:e,element:o})=>e===t&&this.isElementVisible(o)))}onPointerDown=t=>{this.registerUserInteraction(),this.dragPointerType=t.pointerType||"mouse",t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),this.isDragging=!0,this.dragStartX=t.screenX,this.dragMoved=!1,this.dragPointerStartX=t.screenX,this.dragStartActiveItem=this.activeItem,document.body.style.userSelect="none",document.addEventListener("pointermove",this.onPointerMove),document.addEventListener("pointerup",this.onPointerUp),document.addEventListener("pointercancel",this.onPointerUp);let e=t.target;for(this.draggedAnchor=null;e;){if("A"===e.tagName||e.getAttribute("tabindex")){this.draggedAnchor=e;break}e=e.parentElement}};onPointerMove=t=>{if(!this.isDragging)return;const e=Math.abs(t.screenX-this.dragPointerStartX);if(!this.dragMoved&&e>5&&(this.dragMoved=!0,this.trackElement))try{this.trackElement.setPointerCapture?.(t.pointerId)}catch{}let o=this.dragOffset;o+=t.screenX-this.dragStartX,this.dragStartX=t.screenX;const i=this.getMinDragOffset();this.dragOffset=this.applyEdgeDragResistance(o,i);const n=this.getFirstVisibleItemInViewport();n&&this.activeItem!==n.index&&(this.activeItem=n.index)};releaseTrackPointerCapture(t){try{this.trackElement?.releasePointerCapture?.(t)}catch{}}getMinDragOffset(){return-this.getMaxScrollableOffset()}snapToEdge(t){if(0===t)return void(this.dragOffset=0);const e=this.dragOffset>0;this.activeItem=e?0:Math.max(0,this.totalItems-1),this.activeDotIndex=e?0:Math.max(0,this.dotCount-1),this.dragOffset=e?0:t}moveBySwipeDelta(t){if(Math.abs(t)<=this.swipeThreshold)return this.activeItem=this.dragStartActiveItem,void this.afterLayout((()=>this.handleMove()));const e=this.getSwipeTarget(t<0?1:-1);e&&this.moveToItem(e.item,e.index)}finalizePointerDrag(){document.body.style.userSelect="",document.removeEventListener("pointermove",this.onPointerMove),document.removeEventListener("pointerup",this.onPointerUp),document.removeEventListener("pointercancel",this.onPointerUp),this.dragPointerType=""}preventClickAfterDrag(){if(!this.draggedAnchor||!this.dragMoved)return;const t=e=>{e.preventDefault(),e.stopPropagation(),this.draggedAnchor?.removeEventListener("click",t,!0)};this.draggedAnchor.addEventListener("click",t,!0)}onPointerUp=t=>{if(!this.isDragging)return;this.registerUserInteraction(),this.releaseTrackPointerCapture(t.pointerId),this.isDragging=!1;const e=this.getMinDragOffset(),o=t.screenX-this.dragPointerStartX;this.dragOffset>0||this.dragOffset<e?this.snapToEdge(e):this.moveBySwipeDelta(o),this.finalizePointerDrag(),this.preventClickAfterDrag()};_showButtons(t=this.getFullyVisibleItemCount()){return!(!this.showButtons||t>=this.totalItems)}_showDots(t=this.getFullyVisibleItemCount()){return!!this.showDots&&!(this.totalItems<=0||t>=this.totalItems)}componentDidLoad(){this.getDotCount(),window.addEventListener("resize",this.handleResize),this.checkGradient(),this.initSlotListeners(),this.syncNudgeSchedule(),this.refreshSlideFocusableElements()}handleSlotChange(){this.getDotCount();const t=Math.max(0,this.totalItems-1);this.activeItem=Math.max(0,Math.min(this.activeItem,t)),this.refreshSlideFocusableElements(),this.checkGradient(),this.safeForceUpdate()}initSlotListeners(){const t=this.container?.querySelector("slot");if(!t)return;if(t.addEventListener("slotchange",this.handleSlotChangeListener),"function"!=typeof t.assignedElements)return;const e=t.assignedElements();if(1!==e.length)return;const o=e[0];this.slotObserver=new MutationObserver((()=>this.handleSlotChange())),this.slotObserver.observe(o,{childList:!0,subtree:!1})}isTabbableElement(t){if("A"===t.tagName)return t.hasAttribute("href");const e=t.getAttribute("tabindex");return null!==e&&"-1"!==e.trim()}getSlideFocusableElements(t){const e=new Set;return this.isTabbableElement(t)&&e.add(t),Array.from(t.querySelectorAll(this.focusableSelector)).forEach((t=>{this.isTabbableElement(t)&&e.add(t)})),t.shadowRoot&&Array.from(t.shadowRoot.querySelectorAll(this.focusableSelector)).forEach((t=>{this.isTabbableElement(t)&&e.add(t)})),Array.from(e)}clearManagedSlideFocusableElements(){this.managedSlideFocusWithinListeners.forEach((({slide:t,onFocusWithin:e})=>{t.removeEventListener("focusin",e)})),this.managedSlideFocusWithinListeners=[],this.managedFocusableElements.forEach((({element:t,originalTabIndex:e,onKeyDown:o})=>{t.removeEventListener("keydown",o),null===e?t.removeAttribute("tabindex"):t.setAttribute("tabindex",e)})),this.managedFocusableElements=[]}updateSlideFocusableTabIndexes(){this.managedFocusableElements.length&&this.managedFocusableElements.forEach((({element:t,slideIndex:e})=>{t.setAttribute("tabindex",e===this.activeItem?"0":"-1")}))}focusSlideByIndex(t){const e=this.managedFocusableElements.find((e=>e.slideIndex===t)),o=e?.element;if(o)try{o.focus({preventScroll:!0})}catch{}}handleSlideKeyDown(t,e){this.handleNavigationKeyDown(t,e,this.totalItems-1,(t=>{const e=this.getSlotElements();return!!e?.[t]&&(this.registerUserInteraction(),this.moveToItem(e[t],t,0),!0)}),(t=>this.focusSlideByIndex(t)))}refreshSlideFocusableElements(){this.clearManagedSlideFocusableElements();const t=this.getSlotElements();t?.length&&(t.forEach(((e,o)=>{const i=()=>{this.registerUserInteraction();const i=o===t.length-1?0:this.getGradientWidth();this.moveToItem(e,o,i)};this.managedSlideFocusWithinListeners.push({slide:e,onFocusWithin:i}),e.addEventListener("focusin",i),this.getSlideFocusableElements(e).forEach((t=>{const e=t=>this.handleSlideKeyDown(t,o);this.managedFocusableElements.push({element:t,slideIndex:o,originalTabIndex:t.getAttribute("tabindex"),onKeyDown:e}),t.addEventListener("keydown",e)}))})),this.updateSlideFocusableTabIndexes())}startNudgeGradientLoop(){if(this.nudgeGradientRafId)return;const t=()=>{this.checkGradient(),this.nudgeGradientRafId=this.isNudgeAnimating?requestAnimationFrame(t):void 0};this.nudgeGradientRafId=requestAnimationFrame(t)}stopNudgeGradientLoop(){this.nudgeGradientRafId&&(cancelAnimationFrame(this.nudgeGradientRafId),this.nudgeGradientRafId=void 0)}syncNudgeGradientLoop(){this.isNudgeAnimating?this.startNudgeGradientLoop():this.stopNudgeGradientLoop()}registerUserInteraction(){this.lastInteractionAt=Date.now(),this.stopNudgeAnimation()&&this.scheduleNextNudge()}hasRecentInteraction(){return!!this.lastInteractionAt&&Date.now()-this.lastInteractionAt<r.NUDGE_IDLE_THRESHOLD_MS}isRightNavigationDisabled(){return this.dotCount<=1||this.activeItem===this.totalItems-1||this.isLastViewport(-this.dragOffset)}isLeftNavigationDisabled(){return this.dotCount<=1||0===this.activeItem}isNudgeEligible(){return!(!this.trackElement||this.isDragging||this.isNudgeAnimating||this.hasRecentInteraction()||this.isRightNavigationDisabled()||0!==this.dragOffset)}scheduleNextNudge(){this.nudgeAnimationInterval<=0||(this.clearNudgeTimeout(),this.nudgeTimeoutId=setTimeout((()=>{this.nudgeTimeoutId=void 0,this.isNudgeEligible()?this.isNudgeAnimating=!0:this.scheduleNextNudge()}),this.nudgeAnimationInterval))}onNudgeAnimationEnd=t=>{"tet-carousel-nudge"===t.animationName&&(this.stopNudgeAnimation(),this.scheduleNextNudge())};stopNudgeAnimation(){const t=this.isNudgeAnimating;return t&&(this.isNudgeAnimating=!1),t}clearNudgeTimeout(){this.nudgeTimeoutId&&(clearTimeout(this.nudgeTimeoutId),this.nudgeTimeoutId=void 0)}stopNudgeSchedule(){this.clearNudgeTimeout(),this.stopNudgeAnimation()}syncNudgeSchedule(){this.stopNudgeSchedule(),this.scheduleNextNudge()}clampDotIndex(t){return Math.max(0,Math.min(t,this.dotCount-1))}setDotIndex(t,e){let o=0;const i=this.getDotScreenLength();o=this.isLastDotScreen(t,i)?this.dotCount-1:Math.round((t+e)/i),this.activeDotIndex=this.clampDotIndex(o)}getFirstItemOffset(){const t=this.getSlotElements();if(!t?.length)return 0;const e=this.trackElement.getBoundingClientRect();return t[0].getBoundingClientRect().left-e.left}moveToItem(t,e,o=0){(e||0===e)&&(this.activeItem=e);const i=t.getBoundingClientRect(),n=this.trackElement.getBoundingClientRect();let s=i.left-n.left-this.getFirstItemOffset();const r=this.calculateGradient(t,s);this.setDotIndex(s,r);const a=Math.max(0,s-Math.max(0,o));this.isLastViewport(s)?this.moveToLastScreen():this.dragOffset=-a}disconnectedCallback(){this.stopNudgeSchedule(),this.stopNudgeGradientLoop(),window.removeEventListener("resize",this.handleResize),this.clearManagedSlideFocusableElements();const t=this.container?.querySelector("slot");t&&t.removeEventListener("slotchange",this.handleSlotChangeListener),this.slotObserver&&(this.slotObserver.disconnect(),this.slotObserver=null),document.removeEventListener("pointermove",this.onPointerMove),document.removeEventListener("pointerup",this.onPointerUp),document.removeEventListener("pointercancel",this.onPointerUp)}render(){const t=this.getFullyVisibleItemCount(),e=this._showButtons(t),n=this._showDots(t),a=e||n;let l=`transform ${this.transitionDuration}ms ${this.transitionTiming}`;return this.isDragging&&(l="mouse"===this.dragPointerType?`transform ${r.MOUSE_DRAG_SMOOTHING_MS}ms linear`:"none"),o(i,{key:"b9f62cc31e96d9e7853f4501e61fcc487f8dae02"},o("div",{key:"c568a5bec55774e64f0b6665fdd9e76c07993361",class:{"tet-carousel":!0,[`${this.theme}`]:!0,"tet-carousel--unified-buttons":this.unifiedButtons},ref:t=>this.container=t,part:"carousel"},o("div",{key:"20a5cbe527ef5a16aa32f3b72092a0c7d3f1ba3b",class:"tet-carousel__container"},o("div",{key:"d4e6b874cb82b6f3a14b9f6d1065e13e737804ec",class:"tet-carousel__gradient-left",ref:t=>{this.leftGradientRef=t}}),o("div",{key:"be7b259f0cc216fd9f851f299430fc9247e3f286",class:"tet-carousel__gradient-right",ref:t=>{this.rightGradientRef=t}}),o("div",{key:"95d73d0171475c7ca849d4433bd3fec993b4be81",class:"tet-carousel__track "+(a?"":"tet-carousel__track--center"),ref:t=>this.trackElement=t,style:{transform:`translate3d(${this.dragOffset}px, 0, 0)`,transition:l,willChange:"transform"},onPointerDown:this.onPointerDown,onPointerUp:this.onPointerUp},o("div",{key:"5c7613b0685149b5f71b780ed4d6fabf095792c0",class:{"tet-carousel__track-content":!0,"tet-carousel__track-content--nudge":this.isNudgeAnimating},ref:t=>this.trackContentElement=t,style:{"--tet-carousel-nudge-distance":`${r.NUDGE_DISTANCE_PX}px`},onAnimationEnd:this.onNudgeAnimationEnd},o("slot",{key:"e6cb5a9edcee3e19a629f921666673780a492427"})))),!!this.label&&o("div",{key:"411f1311ce09171ad971a2e63433be1000235904",class:"tet-carousel__label"},this.label),a&&o("div",{key:"f1b4b29738cb90974e2ac73a6df3c3276701f213",class:"tet-carousel__controls"},e&&o("div",{key:"d85f2547ea29d558fa8dfe3184edede52273dd43",class:"tet-carousel__buttons tet-carousel__buttons--mobile",ref:t=>this.mobileBackButtonWrapper=t},o("tet-button",{key:"ee31accd9dd1f06b7e5aa0a78e7109d8cf62bf26",theme:this.theme,type:"secondary",size:"medium","icon-name":this.buttonIconLeft,"icon-mode":!0,onPointerDown:t=>t.stopPropagation(),onClick:()=>this.handlePrev(),accessibilityLabel:s("components-carousel-previous"),disabled:this.isLeftNavigationDisabled()})),n&&o("div",{key:"0733e78d55a39330ded6097a6d5d88d90c66f320",class:"tet-carousel__dots"},Array.from({length:this.dotCount}).map(((t,e)=>o("button",{type:"button",tabIndex:e===this.activeDotIndex?0:-1,class:"tet-carousel__dot"+(e===this.activeDotIndex?" active":""),key:e,"aria-label":`${s(e===this.activeDotIndex?"components-carousel-indicator-button-active":"components-carousel-indicator-button")} ${e+1}/${this.dotCount}`,"aria-current":e===this.activeDotIndex?"true":void 0,onPointerDown:t=>t.stopPropagation(),onKeyDown:t=>this.handleDotKeyDown(t,e),onClick:()=>this.handleDotClick(e)})))),e&&o("div",{key:"bba3e381c2e447ea09ba1ceec1a06129d20e93db",class:"tet-carousel__buttons"},o("tet-button",{key:"914a5bc8dc1137f5bbfd3a8ecff01cc1f6c744d0",class:"tet-carousel__buttons--desktop",theme:this.theme,type:"secondary",size:"medium","icon-name":this.buttonIconLeft,"icon-mode":!0,onPointerDown:t=>t.stopPropagation(),onClick:()=>this.handlePrev(),accessibilityLabel:s("components-carousel-previous"),disabled:this.isLeftNavigationDisabled()}),o("tet-button",{key:"41c7f6f9cba8129bab1c204e5797d978f9f41440",theme:this.theme,type:"secondary",size:"medium","icon-name":this.buttonIconRight,"icon-mode":!0,onPointerDown:t=>t.stopPropagation(),onClick:()=>this.handleNext(),accessibilityLabel:s("components-carousel-next"),disabled:this.isRightNavigationDisabled()})))))}static get watchers(){return{language:[{onLanguageChange:0}],activeItem:[{onActiveItemChange:0}],showGradient:[{checkGradient:0}],dragOffset:[{checkGradient:0}],nudgeAnimationInterval:[{onNudgeAnimIntervalChange:0}],isNudgeAnimating:[{onNudgeAnimationStateChange:0}]}}};r.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{--carousel-background:transparent;--carousel-dot-size:1rem;--carousel-buttons-bottom:-1rem;--carousel-dot-background:transparent;--carousel-dot-border:0.0625rem solid var(--tc-grey-70);--carousel-dot-margin:0;--carousel-dot-margin-mobile:1rem;--carousel-label-color:var(--tc-text-secondary);--carousel-dot-active-background:var(--tc-layer-inverse-primary);--carousel-dot-hover-background:var(--tc-button-secondary-outline-background-hover);--carousel-dot-active-hover-background:var(--tc-grey-80);--carousel-dots-gap:0.5rem;--carousel-buttons-gap:1rem;--carousel-track-gap:0;--carousel-track-height:100%;--carousel-item-width:100%;--carousel-item-height:100%;--carousel-buttons-right:2rem;--carousel-dots-bottom:-1rem;--carousel-nudge-animation-duration:1.5s;--carousel-gradient:var(--tc-background-primary);--carousel-button-icon-mode-padding:0.5rem;--carousel-button-icon-size:1.25rem;-webkit-tap-highlight-color:transparent;display:inline-block;width:100%}.tet-carousel{position:relative;width:100%;background:var(--carousel-background)}.tet-carousel.dark{--carousel-dot-active-background:var(--tc-layer-inverse-primary-dark);--carousel-dot-border:0.0625rem solid var(--tc-grey-70-dark);--carousel-dot-border:0.0625rem solid var(--tc-grey-70-dark);--carousel-dot-hover-background:var(--tc-button-secondary-outline-background-hover-dark);--carousel-dot-active-hover-background:var(--tc-grey-80-dark);--carousel-label-color:var(--tc-text-secondary-dark);--carousel-gradient:var(--tc-background-primary-dark)}.tet-carousel__container{width:var(--carousel-item-width);max-width:var(--carousel-item-width);height:var(--carousel-track-height);position:relative;margin-bottom:var(--carousel-dot-margin-mobile);contain:layout}.tet-carousel__controls{position:relative;display:flex;align-items:center;justify-content:center;height:fit-content;margin-bottom:var(--carousel-dot-margin-mobile);min-height:2.75rem;touch-action:manipulation}.tet-carousel__label{color:var(--carousel-label-color);margin-left:auto;margin-right:auto;margin-bottom:1rem;text-align:center;font-family:var(--font-family-content);font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem;letter-spacing:-0.003125rem}.tet-carousel__track{touch-action:pan-y;display:flex;height:var(--carousel-track-height);will-change:transform}.tet-carousel__track--center{justify-content:center}.tet-carousel__track-content{display:flex;gap:var(--carousel-track-gap);will-change:transform}.tet-carousel__track-content--nudge{animation:tet-carousel-nudge var(--carousel-nudge-animation-duration) ease-in-out}@media (hover: hover) and (pointer: fine){.tet-carousel:hover .tet-carousel__track-content--nudge{animation-play-state:paused}}.tet-carousel__track-content>*{flex-shrink:0;display:flex;align-items:center;justify-content:center}.tet-carousel__buttons{position:absolute;right:0;bottom:50%;display:flex;transform:translateY(50%);gap:var(--carousel-buttons-gap);z-index:2}.tet-carousel__buttons tet-button{--button-icon-mode-padding:var(--carousel-button-icon-mode-padding);--button-icon-size:var(--carousel-button-icon-size)}.tet-carousel__buttons--mobile{display:flex;left:0}.tet-carousel__buttons--desktop{display:none !important}.tet-carousel__dots{display:flex;width:100%;gap:var(--carousel-dots-gap);justify-content:center;align-items:center}.tet-carousel__dot{width:var(--carousel-dot-size);height:var(--carousel-dot-size);border-radius:50%;background:var(--carousel-dot-background);cursor:pointer;transition:background 0.2s;border:var(--carousel-dot-border);z-index:2;touch-action:manipulation}.tet-carousel__dot:hover{background:var(--carousel-dot-hover-background)}.tet-carousel__dot.active{background:var(--carousel-dot-active-background);border:none}.tet-carousel__dot.active:hover{background:var(--carousel-dot-active-hover-background)}.tet-carousel__dot:focus-visible{outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.125rem}.tet-carousel--unified-buttons .tet-carousel__buttons--mobile{display:none}.tet-carousel--unified-buttons .tet-carousel__buttons--desktop{display:flex !important}.tet-carousel--unified-buttons .tet-carousel__buttons{right:0.25rem}.tet-carousel__gradient-left,.tet-carousel__gradient-right{position:absolute;top:0;display:block;width:13.75rem;height:100%;transition:opacity 0.4s ease-out;pointer-events:none;z-index:20;opacity:0}.tet-carousel__gradient-left{background:linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, var(--carousel-gradient) 100%);left:0}.tet-carousel__gradient-right{background:linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, var(--carousel-gradient) 100%);right:0}@keyframes tet-carousel-nudge{0%{transform:translateX(0)}50%{transform:translateX(calc(var(--tet-carousel-nudge-distance) * -1))}70%{transform:translateX(calc(var(--tet-carousel-nudge-distance) * -1))}100%{transform:translateX(0)}}@media all and (min-width: 46.25rem){.tet-carousel__controls{margin-bottom:var(--carousel-dot-margin)}.tet-carousel__label{font-size:1rem;line-height:1.5rem;letter-spacing:-0.00625rem}.tet-carousel__buttons{right:0.25rem}.tet-carousel__buttons--mobile{display:none}.tet-carousel__buttons--desktop{display:flex !important}}@media all and (min-width: 90rem){.tet-carousel__label{font-size:1.125rem;line-height:1.75rem}}';export{r as tet_carousel}
1
+ import{r as t,f as e,h as o,H as i}from"./p-BGB6gNkz.js";import{p as n,t as s}from"./p-BzLFf73g.js";import"./p-DbJll7nz.js";import"./p-Bvqcvhjw.js";const r=class{constructor(e){t(this,e)}static NUDGE_DISTANCE_PX=16;static NUDGE_IDLE_THRESHOLD_MS=1500;static GRADIENT_VISIBILITY_THRESHOLD_PX=1;static GRADIENT_WIDTH_FALLBACK_PX=100;static EDGE_DRAG_MAX_PX=32;static EDGE_DRAG_RESISTANCE=.95;static MOUSE_DRAG_SMOOTHING_MS=60;static MOBILE_BREAKPOINT_PX=450;static UNIFIED_BUTTONS_MOBILE_MAX_DOTS=4;focusableSelector='a[href], [tabindex]:not([tabindex="-1"])';handleResize=()=>{this.getDotCount();const t=this.getSlotElements();if(!t?.length)return;const e=Math.max(0,Math.min(this.activeItem,t.length-1));this.moveToItem(t[e],e),this.checkGradient()};handleSlotChangeListener=()=>this.handleSlotChange();managedFocusableElements=[];managedSlideFocusWithinListeners=[];draggedAnchor=null;dragMoved=!1;dragPointerStartX=0;dragStartX=0;dragStartActiveItem=0;dragPointerType="";nudgeTimeoutId;nudgeGradientRafId;lastInteractionAt=0;trackElement=null;trackContentElement=null;mobileBackButtonWrapper=null;container;leftGradientRef;rightGradientRef;slotObserver;activeDotIndex=0;dotCount=1;totalItems=0;activeItem=0;isDragging=!1;dragOffset=0;isNudgeAnimating=!1;theme="light";showDots=!0;showGradient=!1;showButtons=!0;transitionDuration=500;swipeThreshold=32;transitionTiming="ease-out";buttonIconLeft="arrow-left";buttonIconRight="arrow-right";maxDots=8;label;nudgeAnimationInterval=0;unifiedButtons=!1;language="lv";safeForceUpdate(){try{e(this)}catch{}}async onLanguageChange(t){await n("tet-components",t),this.safeForceUpdate()}onActiveItemChange(){this.updateSlideFocusableTabIndexes()}checkGradient(){const t=this.leftGradientRef,e=this.rightGradientRef;if(!t||!e)return;if(!this.showGradient||this.getFullyVisibleItemCount()>=this.totalItems)return t.style.opacity="0",void(e.style.opacity="0");const o=this.getViewportWidth(),i=this.getSlotClientWidth(),n=Math.max(0,i-o),s=-this.getRealDragOffset(),a=Math.max(0,Math.min(n,s)),l=n-a<r.GRADIENT_VISIBILITY_THRESHOLD_PX;a<r.GRADIENT_VISIBILITY_THRESHOLD_PX?(t.style.opacity="0",e.style.opacity="1"):l?(t.style.opacity="1",e.style.opacity="0"):(t.style.opacity="1",e.style.opacity="1")}onNudgeAnimIntervalChange(){this.syncNudgeSchedule()}onNudgeAnimationStateChange(){this.syncNudgeGradientLoop(),this.checkGradient()}async componentWillLoad(){await n("tet-components",this.language)}getSlotElements(){const t=this.container?.querySelector("slot");if(!t)return;let e=t.assignedElements?t.assignedElements():[];return 0!==e.length?(e[0].className.includes("carousel-wrapper")&&(e=Array.from(e[0].children)),e):void 0}getViewportWidth(){return this.container?.offsetWidth||window.innerWidth}getSlotClientWidth(){return this.trackElement?.querySelector("slot")?.offsetWidth||window.innerWidth}getMaxScrollableOffset(){return Math.max(0,this.getSlotClientWidth()-this.getViewportWidth())}afterLayout(t){requestAnimationFrame((()=>requestAnimationFrame(t)))}getDotScreenLength(){return this.getSlotClientWidth()/this.dotCount}isLast(t,e){return this.getSlotClientWidth()-e<=t}isLastViewport(t){const e=this.getViewportWidth();return this.isLast(e,t)}isLastDotScreen(t,e){const o=this.getViewportWidth(),i=Math.max(e,o);return this.isLast(i,t)}getItemLayoutMetrics(){const t=this.getSlotElements();return t&&0!==t.length?t.map(((t,e)=>{const o=t.offsetLeft;return{item:t,index:e,left:o,right:o+t.offsetWidth}})):[]}getFullyVisibleItemCount(){const t=this.getItemLayoutMetrics();if(!t.length)return 0;const e=this.getViewportWidth(),o=this.getClampedViewportLeft(),i=o+e;let n=0;for(const{left:e,right:s}of t)e>=o&&s<=i&&n++;return n}getClampedViewportLeft(){const t=Math.abs(this.dragOffset),e=this.getMaxScrollableOffset();return Math.max(0,Math.min(e,t))}getVisibleItemCountFromIndex(t){const e=this.getItemLayoutMetrics();if(!e.length)return 1;const o=Math.max(0,Math.min(t,e.length-1)),i=this.getViewportWidth(),n=e[o].left+i+.5;let s=0;for(let t=o;t<e.length&&e[t].right<=n;t++)s++;return Math.max(1,s)}getFirstVisibleItemInViewport(){const t=this.getItemLayoutMetrics();if(!t.length)return null;const e=this.getClampedViewportLeft(),o=.5,i=t.find((t=>t.left<=e+o&&t.right>e+o));if(i){if(i.right-e>=(i.right-i.left)/2||i.index===t.length-1)return{item:i.item,index:i.index};const o=t[i.index+1];if(o)return{item:o.item,index:o.index}}if(e<=t[0].left+o)return{item:t[0].item,index:t[0].index};const n=t.find((t=>t.left>e+o));if(n)return{item:n.item,index:n.index};const s=t.at(-1);return{item:s.item,index:s.index}}getEdgeSnapTarget(t){const e=this.getItemLayoutMetrics();if(!e.length)return null;const o=this.getClampedViewportLeft(),i=o+this.getViewportWidth(),n=e[0],s=e.at(-1);if(t<0){const t=Math.min(n.right,i)-Math.max(n.left,o);if(t>0&&t>=(n.right-n.left)/2)return{item:n.item,index:n.index}}if(t>0){const t=Math.min(s.right,i)-Math.max(s.left,o);if(t>0&&t>=(s.right-s.left)/2)return{item:s.item,index:s.index}}return null}getSwipeTarget(t){const e=this.getSlotElements();if(!e||0===e.length)return null;const o=this.getEdgeSnapTarget(t);if(o)return o;const i=this.getFirstVisibleItemInViewport();let n=i?.index??this.dragStartActiveItem;t>0&&n<=this.dragStartActiveItem&&(n=this.dragStartActiveItem+1),t<0&&n>=this.dragStartActiveItem&&(n=this.dragStartActiveItem-1),n=Math.max(0,Math.min(e.length-1,n));const s=e[n];return s?{item:s,index:n}:null}getRealDragOffset(){return this.dragOffset+this.getCurrentNudgeTranslateX()}applyEdgeDragResistance(t,e){return t>0?Math.min(r.EDGE_DRAG_MAX_PX,t*r.EDGE_DRAG_RESISTANCE):t<e?e+Math.max(-r.EDGE_DRAG_MAX_PX,(t-e)*r.EDGE_DRAG_RESISTANCE):t}getCurrentNudgeTranslateX(){if(!this.isNudgeAnimating||!this.trackContentElement)return 0;const t=getComputedStyle(this.trackContentElement).transform;if(!t||"none"===t)return 0;try{return new DOMMatrixReadOnly(t).m41||0}catch{return 0}}getDotCount(){const t=this.getSlotElements();if(!t)return this.dotCount=1,this.totalItems=0,void(this.activeDotIndex=0);this.totalItems=t.length;const e=this.getViewportWidth(),o=this.getSlotClientWidth(),i=Math.ceil(o/Math.max(1,e)),n=Number.isFinite(this.maxDots)?this.maxDots:i;let s=n;this.unifiedButtons&&e<r.MOBILE_BREAKPOINT_PX&&(s=Math.min(n,r.UNIFIED_BUTTONS_MOBILE_MAX_DOTS)),this.dotCount=Math.max(1,Math.min(s,i)),this.activeDotIndex=this.clampDotIndex(this.activeDotIndex)}handleMove=()=>{const t=this.getSlotElements();if(!t)return;const e=t[this.activeItem];e&&this.moveToItem(e)};navigateByStep(t){this.registerUserInteraction();const e=this.getSlotElements();if(!e||0===e.length)return;const o=this.activeDotIndex,i=this.getFirstVisibleItemInViewport(),n=i?.index??this.activeItem,s=this.getClampedViewportLeft()>0;if(t<0&&0===n&&s){const t=e[0];return void(t&&this.moveToItem(t,0))}const r=this.getVisibleItemCountFromIndex(n),a=Math.max(0,Math.min(e.length-1,n+t*r));if(a===n)return;const l=e[a];l&&(this.moveToItem(l,a),Math.abs(this.activeDotIndex-o)>1&&this.moveToDotIndex(o+t))}handlePrev=()=>{this.navigateByStep(-1)};handleNext=()=>{this.navigateByStep(1)};moveToLastScreen=()=>{this.dragOffset=-this.getMaxScrollableOffset()};getGradientWidth(){if(!this.showGradient)return 0;const t=this.leftGradientRef?.offsetWidth;return t&&t>0?t:r.GRADIENT_WIDTH_FALLBACK_PX}calculateGradient(t,e){const o=this.getSlotClientWidth();let i=this.showGradient?160:0;return i=e<160?e:i,i=o-e-t.offsetWidth<160?0:i,i}calcLastScreenElement=t=>{const e=this.getSlotElements();if(!e)return null;const o=this.trackElement.getBoundingClientRect(),i=this.getFirstItemOffset();for(const[n,s]of e.entries()){let e=s.getBoundingClientRect().left-o.left-i;const r=this.calculateGradient(s,e);if(e>=t-this.swipeThreshold+r)return{item:s,index:n}}return{item:e[0],index:0}};moveToDotIndex(t){this.activeDotIndex=this.clampDotIndex(t);const e=this.getMaxScrollableOffset(),o=this.dotCount-1!==this.activeDotIndex||this.isDragging?this.activeDotIndex*this.getDotScreenLength():e,i=Math.max(0,Math.min(o,e)),n=this.calcLastScreenElement(i);if(!n)return this.activeItem=0,void(this.dragOffset=0);const{index:s}=n;this.activeItem=s,this.dragOffset=-i}handleDotClick=t=>{this.registerUserInteraction(),this.moveToDotIndex(t)};focusDot=t=>{if(!this.container)return;const e=Array.from(this.container.querySelectorAll(".tet-carousel__dot"));e[t]?.focus()};getKeyboardTargetIndex(t,e,o){if(o<1)return null;switch(t){case"ArrowRight":case"ArrowDown":return Math.min(o,e+1);case"ArrowLeft":case"ArrowUp":return Math.max(0,e-1);case"Home":return 0;case"End":return o;default:return null}}handleNavigationKeyDown(t,e,o,i,n){const s=this.getKeyboardTargetIndex(t.key,e,o);null!==s&&(t.preventDefault(),t.stopPropagation(),i(s)&&this.afterLayout((()=>n(s))))}handleDotKeyDown=(t,e)=>{if("Tab"===t.key&&t.shiftKey){if(this.hasVisibleMobileBackButtonTarget())return;if(!this.hasFocusableTargetInSlide(this.activeItem))return;return this.registerUserInteraction(),t.preventDefault(),t.stopPropagation(),void this.afterLayout((()=>this.focusSlideByIndex(this.activeItem)))}this.handleNavigationKeyDown(t,e,this.dotCount-1,(t=>(this.handleDotClick(t),!0)),(t=>this.focusDot(t)))};isElementVisible(t){if(!t.isConnected)return!1;if(t.hidden||t.hasAttribute("hidden"))return!1;if(0===t.getClientRects().length)return!1;const e=getComputedStyle(t);return"none"!==e.display&&"hidden"!==e.visibility}hasVisibleMobileBackButtonTarget(){if(this.isLeftNavigationDisabled())return!1;const t=this.mobileBackButtonWrapper;return!!t&&this.isElementVisible(t)}hasFocusableTargetInSlide(t){return this.managedFocusableElements.some((({slideIndex:e,element:o})=>e===t&&this.isElementVisible(o)))}onPointerDown=t=>{this.registerUserInteraction(),this.dragPointerType=t.pointerType||"mouse",t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),this.isDragging=!0,this.dragStartX=t.screenX,this.dragMoved=!1,this.dragPointerStartX=t.screenX,this.dragStartActiveItem=this.activeItem,document.body.style.userSelect="none",document.addEventListener("pointermove",this.onPointerMove),document.addEventListener("pointerup",this.onPointerUp),document.addEventListener("pointercancel",this.onPointerUp);let e=t.target;for(this.draggedAnchor=null;e;){if("A"===e.tagName||e.getAttribute("tabindex")){this.draggedAnchor=e;break}e=e.parentElement}};onPointerMove=t=>{if(!this.isDragging)return;const e=Math.abs(t.screenX-this.dragPointerStartX);if(!this.dragMoved&&e>5&&(this.dragMoved=!0,this.trackElement))try{this.trackElement.setPointerCapture?.(t.pointerId)}catch{}let o=this.dragOffset;o+=t.screenX-this.dragStartX,this.dragStartX=t.screenX;const i=this.getMinDragOffset();this.dragOffset=this.applyEdgeDragResistance(o,i);const n=this.getFirstVisibleItemInViewport();n&&this.activeItem!==n.index&&(this.activeItem=n.index)};releaseTrackPointerCapture(t){try{this.trackElement?.releasePointerCapture?.(t)}catch{}}getMinDragOffset(){return-this.getMaxScrollableOffset()}snapToEdge(t){if(0===t)return void(this.dragOffset=0);const e=this.dragOffset>0;this.activeItem=e?0:Math.max(0,this.totalItems-1),this.activeDotIndex=e?0:Math.max(0,this.dotCount-1),this.dragOffset=e?0:t}moveBySwipeDelta(t){if(Math.abs(t)<=this.swipeThreshold)return this.activeItem=this.dragStartActiveItem,void this.afterLayout((()=>this.handleMove()));const e=this.getSwipeTarget(t<0?1:-1);e&&this.moveToItem(e.item,e.index)}finalizePointerDrag(){document.body.style.userSelect="",document.removeEventListener("pointermove",this.onPointerMove),document.removeEventListener("pointerup",this.onPointerUp),document.removeEventListener("pointercancel",this.onPointerUp),this.dragPointerType=""}preventClickAfterDrag(){if(!this.draggedAnchor||!this.dragMoved)return;const t=e=>{e.preventDefault(),e.stopPropagation(),this.draggedAnchor?.removeEventListener("click",t,!0)};this.draggedAnchor.addEventListener("click",t,!0)}onPointerUp=t=>{if(!this.isDragging)return;this.registerUserInteraction(),this.releaseTrackPointerCapture(t.pointerId),this.isDragging=!1;const e=this.getMinDragOffset(),o=t.screenX-this.dragPointerStartX;this.dragOffset>0||this.dragOffset<e?this.snapToEdge(e):this.moveBySwipeDelta(o),this.finalizePointerDrag(),this.preventClickAfterDrag()};_showButtons(t=this.getFullyVisibleItemCount()){return!(!this.showButtons||t>=this.totalItems)}_showDots(t=this.getFullyVisibleItemCount()){return!!this.showDots&&!(this.totalItems<=0||t>=this.totalItems)}componentDidLoad(){this.getDotCount(),window.addEventListener("resize",this.handleResize),this.checkGradient(),this.initSlotListeners(),this.syncNudgeSchedule(),this.refreshSlideFocusableElements()}handleSlotChange(){this.getDotCount();const t=Math.max(0,this.totalItems-1);this.activeItem=Math.max(0,Math.min(this.activeItem,t)),this.refreshSlideFocusableElements(),this.checkGradient(),this.safeForceUpdate()}initSlotListeners(){const t=this.container?.querySelector("slot");if(!t)return;if(t.addEventListener("slotchange",this.handleSlotChangeListener),"function"!=typeof t.assignedElements)return;const e=t.assignedElements();if(1!==e.length)return;const o=e[0];this.slotObserver=new MutationObserver((()=>this.handleSlotChange())),this.slotObserver.observe(o,{childList:!0,subtree:!1})}isTabbableElement(t){if("A"===t.tagName)return t.hasAttribute("href");const e=t.getAttribute("tabindex");return null!==e&&"-1"!==e.trim()}getSlideFocusableElements(t){const e=new Set;return this.isTabbableElement(t)&&e.add(t),Array.from(t.querySelectorAll(this.focusableSelector)).forEach((t=>{this.isTabbableElement(t)&&e.add(t)})),t.shadowRoot&&Array.from(t.shadowRoot.querySelectorAll(this.focusableSelector)).forEach((t=>{this.isTabbableElement(t)&&e.add(t)})),Array.from(e)}clearManagedSlideFocusableElements(){this.managedSlideFocusWithinListeners.forEach((({slide:t,onFocusWithin:e})=>{t.removeEventListener("focusin",e)})),this.managedSlideFocusWithinListeners=[],this.managedFocusableElements.forEach((({element:t,originalTabIndex:e,onKeyDown:o})=>{t.removeEventListener("keydown",o),null===e?t.removeAttribute("tabindex"):t.setAttribute("tabindex",e)})),this.managedFocusableElements=[]}updateSlideFocusableTabIndexes(){this.managedFocusableElements.length&&this.managedFocusableElements.forEach((({element:t,slideIndex:e})=>{t.setAttribute("tabindex",e===this.activeItem?"0":"-1")}))}focusSlideByIndex(t){const e=this.managedFocusableElements.find((e=>e.slideIndex===t)),o=e?.element;if(o)try{o.focus({preventScroll:!0})}catch{}}handleSlideKeyDown(t,e){this.handleNavigationKeyDown(t,e,this.totalItems-1,(t=>{const e=this.getSlotElements();return!!e?.[t]&&(this.registerUserInteraction(),this.moveToItem(e[t],t,0),!0)}),(t=>this.focusSlideByIndex(t)))}refreshSlideFocusableElements(){this.clearManagedSlideFocusableElements();const t=this.getSlotElements();t?.length&&(t.forEach(((e,o)=>{const i=()=>{this.registerUserInteraction();const i=o===t.length-1?0:this.getGradientWidth();this.moveToItem(e,o,i)};this.managedSlideFocusWithinListeners.push({slide:e,onFocusWithin:i}),e.addEventListener("focusin",i),this.getSlideFocusableElements(e).forEach((t=>{const e=t=>this.handleSlideKeyDown(t,o);this.managedFocusableElements.push({element:t,slideIndex:o,originalTabIndex:t.getAttribute("tabindex"),onKeyDown:e}),t.addEventListener("keydown",e)}))})),this.updateSlideFocusableTabIndexes())}startNudgeGradientLoop(){if(this.nudgeGradientRafId)return;const t=()=>{this.checkGradient(),this.nudgeGradientRafId=this.isNudgeAnimating?requestAnimationFrame(t):void 0};this.nudgeGradientRafId=requestAnimationFrame(t)}stopNudgeGradientLoop(){this.nudgeGradientRafId&&(cancelAnimationFrame(this.nudgeGradientRafId),this.nudgeGradientRafId=void 0)}syncNudgeGradientLoop(){this.isNudgeAnimating?this.startNudgeGradientLoop():this.stopNudgeGradientLoop()}registerUserInteraction(){this.lastInteractionAt=Date.now(),this.stopNudgeAnimation()&&this.scheduleNextNudge()}hasRecentInteraction(){return!!this.lastInteractionAt&&Date.now()-this.lastInteractionAt<r.NUDGE_IDLE_THRESHOLD_MS}isRightNavigationDisabled(){return this.dotCount<=1||this.activeItem===this.totalItems-1||this.isLastViewport(-this.dragOffset)}isLeftNavigationDisabled(){return this.dotCount<=1||0===this.activeItem}isNudgeEligible(){return!(!this.trackElement||this.isDragging||this.isNudgeAnimating||this.hasRecentInteraction()||this.isRightNavigationDisabled()||0!==this.dragOffset)}scheduleNextNudge(){this.nudgeAnimationInterval<=0||(this.clearNudgeTimeout(),this.nudgeTimeoutId=setTimeout((()=>{this.nudgeTimeoutId=void 0,this.isNudgeEligible()?this.isNudgeAnimating=!0:this.scheduleNextNudge()}),this.nudgeAnimationInterval))}onNudgeAnimationEnd=t=>{"tet-carousel-nudge"===t.animationName&&(this.stopNudgeAnimation(),this.scheduleNextNudge())};stopNudgeAnimation(){const t=this.isNudgeAnimating;return t&&(this.isNudgeAnimating=!1),t}clearNudgeTimeout(){this.nudgeTimeoutId&&(clearTimeout(this.nudgeTimeoutId),this.nudgeTimeoutId=void 0)}stopNudgeSchedule(){this.clearNudgeTimeout(),this.stopNudgeAnimation()}syncNudgeSchedule(){this.stopNudgeSchedule(),this.scheduleNextNudge()}clampDotIndex(t){return Math.max(0,Math.min(t,this.dotCount-1))}setDotIndex(t,e){let o=0;const i=this.getDotScreenLength();o=this.isLastDotScreen(t,i)?this.dotCount-1:Math.round((t+e)/i),this.activeDotIndex=this.clampDotIndex(o)}getFirstItemOffset(){const t=this.getSlotElements();if(!t?.length)return 0;const e=this.trackElement.getBoundingClientRect();return t[0].getBoundingClientRect().left-e.left}moveToItem(t,e,o=0){(e||0===e)&&(this.activeItem=e);const i=t.getBoundingClientRect(),n=this.trackElement.getBoundingClientRect();let s=i.left-n.left-this.getFirstItemOffset();const r=this.calculateGradient(t,s);this.setDotIndex(s,r);const a=Math.max(0,s-Math.max(0,o));this.isLastViewport(s)?this.moveToLastScreen():this.dragOffset=-a}disconnectedCallback(){this.stopNudgeSchedule(),this.stopNudgeGradientLoop(),window.removeEventListener("resize",this.handleResize),this.clearManagedSlideFocusableElements();const t=this.container?.querySelector("slot");t&&t.removeEventListener("slotchange",this.handleSlotChangeListener),this.slotObserver&&(this.slotObserver.disconnect(),this.slotObserver=null),document.removeEventListener("pointermove",this.onPointerMove),document.removeEventListener("pointerup",this.onPointerUp),document.removeEventListener("pointercancel",this.onPointerUp)}render(){const t=this.getFullyVisibleItemCount(),e=this._showButtons(t),n=this._showDots(t),a=e||n;let l=`transform ${this.transitionDuration}ms ${this.transitionTiming}`;return this.isDragging&&(l="mouse"===this.dragPointerType?`transform ${r.MOUSE_DRAG_SMOOTHING_MS}ms linear`:"none"),o(i,{key:"b9f62cc31e96d9e7853f4501e61fcc487f8dae02"},o("div",{key:"c568a5bec55774e64f0b6665fdd9e76c07993361",class:{"tet-carousel":!0,[`${this.theme}`]:!0,"tet-carousel--unified-buttons":this.unifiedButtons},ref:t=>this.container=t,part:"carousel"},o("div",{key:"20a5cbe527ef5a16aa32f3b72092a0c7d3f1ba3b",class:"tet-carousel__container"},o("div",{key:"d4e6b874cb82b6f3a14b9f6d1065e13e737804ec",class:"tet-carousel__gradient-left",ref:t=>{this.leftGradientRef=t}}),o("div",{key:"be7b259f0cc216fd9f851f299430fc9247e3f286",class:"tet-carousel__gradient-right",ref:t=>{this.rightGradientRef=t}}),o("div",{key:"95d73d0171475c7ca849d4433bd3fec993b4be81",class:"tet-carousel__track "+(a?"":"tet-carousel__track--center"),ref:t=>this.trackElement=t,style:{transform:`translate3d(${this.dragOffset}px, 0, 0)`,transition:l,willChange:"transform"},onPointerDown:this.onPointerDown,onPointerUp:this.onPointerUp},o("div",{key:"5c7613b0685149b5f71b780ed4d6fabf095792c0",class:{"tet-carousel__track-content":!0,"tet-carousel__track-content--nudge":this.isNudgeAnimating},ref:t=>this.trackContentElement=t,style:{"--tet-carousel-nudge-distance":`${r.NUDGE_DISTANCE_PX}px`},onAnimationEnd:this.onNudgeAnimationEnd},o("slot",{key:"e6cb5a9edcee3e19a629f921666673780a492427"})))),!!this.label&&o("div",{key:"411f1311ce09171ad971a2e63433be1000235904",class:"tet-carousel__label"},this.label),a&&o("div",{key:"f1b4b29738cb90974e2ac73a6df3c3276701f213",class:"tet-carousel__controls"},e&&o("div",{key:"d85f2547ea29d558fa8dfe3184edede52273dd43",class:"tet-carousel__buttons tet-carousel__buttons--mobile",ref:t=>this.mobileBackButtonWrapper=t},o("tet-button",{key:"ee31accd9dd1f06b7e5aa0a78e7109d8cf62bf26",theme:this.theme,type:"secondary",size:"medium","icon-name":this.buttonIconLeft,"icon-mode":!0,onPointerDown:t=>t.stopPropagation(),onClick:()=>this.handlePrev(),accessibilityLabel:s("components-carousel-previous"),disabled:this.isLeftNavigationDisabled()})),n&&o("div",{key:"0733e78d55a39330ded6097a6d5d88d90c66f320",class:"tet-carousel__dots"},Array.from({length:this.dotCount}).map(((t,e)=>o("button",{type:"button",tabIndex:e===this.activeDotIndex?0:-1,class:"tet-carousel__dot"+(e===this.activeDotIndex?" active":""),key:e,"aria-label":`${s(e===this.activeDotIndex?"components-carousel-indicator-button-active":"components-carousel-indicator-button")} ${e+1}/${this.dotCount}`,"aria-current":e===this.activeDotIndex?"true":void 0,onPointerDown:t=>t.stopPropagation(),onKeyDown:t=>this.handleDotKeyDown(t,e),onClick:()=>this.handleDotClick(e)})))),e&&o("div",{key:"bba3e381c2e447ea09ba1ceec1a06129d20e93db",class:"tet-carousel__buttons"},o("tet-button",{key:"914a5bc8dc1137f5bbfd3a8ecff01cc1f6c744d0",class:"tet-carousel__buttons--desktop",theme:this.theme,type:"secondary",size:"medium","icon-name":this.buttonIconLeft,"icon-mode":!0,onPointerDown:t=>t.stopPropagation(),onClick:()=>this.handlePrev(),accessibilityLabel:s("components-carousel-previous"),disabled:this.isLeftNavigationDisabled()}),o("tet-button",{key:"41c7f6f9cba8129bab1c204e5797d978f9f41440",theme:this.theme,type:"secondary",size:"medium","icon-name":this.buttonIconRight,"icon-mode":!0,onPointerDown:t=>t.stopPropagation(),onClick:()=>this.handleNext(),accessibilityLabel:s("components-carousel-next"),disabled:this.isRightNavigationDisabled()})))))}static get watchers(){return{language:[{onLanguageChange:0}],activeItem:[{onActiveItemChange:0}],showGradient:[{checkGradient:0}],dragOffset:[{checkGradient:0}],nudgeAnimationInterval:[{onNudgeAnimIntervalChange:0}],isNudgeAnimating:[{onNudgeAnimationStateChange:0}]}}};r.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{--carousel-background:transparent;--carousel-dot-size:1rem;--carousel-buttons-bottom:-1rem;--carousel-dot-background:transparent;--carousel-dot-border:0.0625rem solid var(--tc-grey-70);--carousel-dot-margin:0;--carousel-dot-margin-mobile:1rem;--carousel-label-color:var(--tc-text-secondary);--carousel-dot-active-background:var(--tc-layer-inverse-primary);--carousel-dot-hover-background:var(--tc-button-secondary-outline-background-hover);--carousel-dot-active-hover-background:var(--tc-grey-80);--carousel-dots-gap:0.5rem;--carousel-buttons-gap:1rem;--carousel-track-gap:0;--carousel-track-height:100%;--carousel-item-width:100%;--carousel-item-height:100%;--carousel-buttons-right:2rem;--carousel-dots-bottom:-1rem;--carousel-nudge-animation-duration:1.5s;--carousel-gradient:var(--tc-background-primary);--carousel-button-icon-mode-padding:0.5rem;--carousel-button-icon-size:1.25rem;-webkit-tap-highlight-color:transparent;display:inline-block;width:100%}.tet-carousel{position:relative;width:100%;background:var(--carousel-background)}.tet-carousel.dark{--carousel-dot-active-background:var(--tc-layer-inverse-primary-dark);--carousel-dot-border:0.0625rem solid var(--tc-grey-70-dark);--carousel-dot-border:0.0625rem solid var(--tc-grey-70-dark);--carousel-dot-hover-background:var(--tc-button-secondary-outline-background-hover-dark);--carousel-dot-active-hover-background:var(--tc-grey-80-dark);--carousel-label-color:var(--tc-text-secondary-dark);--carousel-gradient:var(--tc-background-primary-dark)}.tet-carousel__container{width:var(--carousel-item-width);max-width:var(--carousel-item-width);height:var(--carousel-track-height);position:relative;margin-bottom:var(--carousel-dot-margin-mobile);contain:layout}.tet-carousel__controls{position:relative;display:flex;align-items:center;justify-content:center;height:fit-content;margin-bottom:var(--carousel-dot-margin-mobile);min-height:2.75rem;touch-action:manipulation}.tet-carousel__label{color:var(--carousel-label-color);margin-left:auto;margin-right:auto;margin-bottom:1rem;text-align:center;font-family:var(--font-family-content);font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem;letter-spacing:-0.003125rem}.tet-carousel__track{touch-action:pan-y;display:flex;height:var(--carousel-track-height);will-change:transform}.tet-carousel__track--center{justify-content:center}.tet-carousel__track-content{display:flex;gap:var(--carousel-track-gap);will-change:transform}.tet-carousel__track-content--nudge{animation:tet-carousel-nudge var(--carousel-nudge-animation-duration) ease-in-out}@media (hover: hover) and (pointer: fine){.tet-carousel:hover .tet-carousel__track-content--nudge{animation-play-state:paused}}.tet-carousel__track-content>*{flex-shrink:0;display:flex;align-items:center;justify-content:center}.tet-carousel__buttons{position:absolute;right:0;bottom:50%;display:flex;transform:translateY(50%);gap:var(--carousel-buttons-gap);z-index:2}.tet-carousel__buttons tet-button{--button-icon-mode-padding:var(--carousel-button-icon-mode-padding);--button-icon-size:var(--carousel-button-icon-size)}.tet-carousel__buttons--mobile{display:flex;left:0}.tet-carousel__buttons--desktop{display:none !important}.tet-carousel__dots{display:flex;width:100%;gap:var(--carousel-dots-gap);justify-content:center;align-items:center}.tet-carousel__dot{width:var(--carousel-dot-size);height:var(--carousel-dot-size);border-radius:50%;background:var(--carousel-dot-background);cursor:pointer;transition:background 0.2s;border:var(--carousel-dot-border);z-index:2;touch-action:manipulation}.tet-carousel__dot:hover{background:var(--carousel-dot-hover-background)}.tet-carousel__dot.active{background:var(--carousel-dot-active-background);border:none}.tet-carousel__dot.active:hover{background:var(--carousel-dot-active-hover-background)}.tet-carousel__dot:focus-visible{outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.125rem}.tet-carousel--unified-buttons .tet-carousel__buttons--mobile{display:none}.tet-carousel--unified-buttons .tet-carousel__buttons--desktop{display:flex !important}.tet-carousel--unified-buttons .tet-carousel__buttons{right:0.25rem}.tet-carousel__gradient-left,.tet-carousel__gradient-right{position:absolute;top:0;display:block;width:13.75rem;height:100%;transition:opacity 0.4s ease-out;pointer-events:none;z-index:20;opacity:0}.tet-carousel__gradient-left{background:linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, var(--carousel-gradient) 100%);left:0}.tet-carousel__gradient-right{background:linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, var(--carousel-gradient) 100%);right:0}@keyframes tet-carousel-nudge{0%{transform:translateX(0)}50%{transform:translateX(calc(var(--tet-carousel-nudge-distance) * -1))}70%{transform:translateX(calc(var(--tet-carousel-nudge-distance) * -1))}100%{transform:translateX(0)}}@media all and (min-width: 46.25rem){.tet-carousel__controls{margin-bottom:var(--carousel-dot-margin)}.tet-carousel__label{font-size:1rem;line-height:1.5rem;letter-spacing:-0.00625rem}.tet-carousel__buttons{right:0.25rem}.tet-carousel__buttons--mobile{display:none}.tet-carousel__buttons--desktop{display:flex !important}}@media all and (min-width: 90rem){.tet-carousel__label{font-size:1.125rem;line-height:1.75rem}}';export{r as tet_carousel}