@tet/tet-components 1.4.66-testing → 1.4.67-staging

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 (492) hide show
  1. package/dist/cjs/{address-656e77f6.js → address-f852270f.js} +1 -1
  2. package/dist/cjs/{assets-f64f0e16.js → assets-b9d36649.js} +1 -1
  3. package/dist/cjs/{async-request-fcf33aba.js → async-request-4517f566.js} +1 -1
  4. package/dist/cjs/{http-codes-40da1e61.js → http-codes-062f76cf.js} +1 -1
  5. package/dist/cjs/{index-4b423f33.js → index-19a7608f.js} +1 -1
  6. package/dist/cjs/{index-3242ff3f.js → index-faec4c52.js} +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/{phone-055efd07.js → phone-d6be0dd2.js} +2 -2
  9. package/dist/cjs/{product-comparison-88a89820.js → product-comparison-aa80a77c.js} +1 -1
  10. package/dist/cjs/tet-accordion.cjs.entry.js +1 -1
  11. package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +3 -3
  12. package/dist/cjs/tet-address-offers-view.cjs.entry.js +3 -3
  13. package/dist/cjs/tet-address-offers_4.cjs.entry.js +7 -7
  14. package/dist/cjs/tet-address-search.cjs.entry.js +4 -4
  15. package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
  16. package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
  17. package/dist/cjs/tet-autocomplete.cjs.entry.js +1 -1
  18. package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +3 -3
  19. package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
  20. package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +3 -3
  21. package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
  22. package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
  23. package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
  24. package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
  25. package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
  26. package/dist/cjs/tet-business-lines.cjs.entry.js +4 -4
  27. package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
  28. package/dist/cjs/tet-button.cjs.entry.js +1 -1
  29. package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
  30. package/dist/cjs/tet-carousel.cjs.entry.js +3 -3
  31. package/dist/cjs/tet-checkbox_3.cjs.entry.js +1 -1
  32. package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
  33. package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
  34. package/dist/cjs/tet-colors.cjs.entry.js +1 -1
  35. package/dist/cjs/tet-compare-card-v2.cjs.entry.js +5 -5
  36. package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
  37. package/dist/cjs/tet-compare-cards_2.cjs.entry.js +3 -3
  38. package/dist/cjs/tet-components.cjs.js +1 -1
  39. package/dist/cjs/tet-contact-form.cjs.entry.js +5 -5
  40. package/dist/cjs/tet-contact-info.cjs.entry.js +1 -1
  41. package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
  42. package/dist/cjs/tet-countdown.cjs.entry.js +1 -1
  43. package/dist/cjs/tet-counter.cjs.entry.js +1 -1
  44. package/dist/cjs/tet-customer-assets.cjs.entry.js +3 -3
  45. package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +1 -1
  46. package/dist/cjs/tet-datepicker.cjs.entry.js +1 -1
  47. package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
  48. package/dist/cjs/tet-display.cjs.entry.js +1 -1
  49. package/dist/cjs/tet-divider.cjs.entry.js +1 -1
  50. package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
  51. package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
  52. package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
  53. package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
  54. package/dist/cjs/tet-filter.cjs.entry.js +1 -1
  55. package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
  56. package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
  57. package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
  58. package/dist/cjs/tet-grid.cjs.entry.js +1 -1
  59. package/dist/cjs/tet-icon.cjs.entry.js +2 -2
  60. package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
  61. package/dist/cjs/tet-input.cjs.entry.js +3 -3
  62. package/dist/cjs/tet-label.cjs.entry.js +3 -3
  63. package/dist/cjs/tet-layout.cjs.entry.js +1 -1
  64. package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
  65. package/dist/cjs/tet-link.cjs.entry.js +1 -1
  66. package/dist/cjs/tet-loader.cjs.entry.js +1 -1
  67. package/dist/cjs/tet-macd-view.cjs.entry.js +6 -6
  68. package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
  69. package/dist/cjs/tet-menu.cjs.entry.js +1 -1
  70. package/dist/cjs/tet-mini-compare-card.cjs.entry.js +1 -1
  71. package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +3 -3
  72. package/dist/cjs/tet-navigation-mobile.cjs.entry.js +1 -1
  73. package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
  74. package/dist/cjs/tet-notification.cjs.entry.js +1 -1
  75. package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
  76. package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
  77. package/dist/cjs/tet-position.cjs.entry.js +1 -1
  78. package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
  79. package/dist/cjs/tet-radio.cjs.entry.js +1 -1
  80. package/dist/cjs/tet-range-slider.cjs.entry.js +1 -1
  81. package/dist/cjs/tet-referral.cjs.entry.js +5 -5
  82. package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
  83. package/dist/cjs/tet-snicker-card-badge.cjs.entry.js +1 -1
  84. package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
  85. package/dist/cjs/tet-snicker-card.cjs.entry.js +3 -3
  86. package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
  87. package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
  88. package/dist/cjs/tet-stepper-input.cjs.entry.js +3 -3
  89. package/dist/cjs/tet-stepper-v2.cjs.entry.js +1 -1
  90. package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
  91. package/dist/cjs/tet-stepper.cjs.entry.js +1 -1
  92. package/dist/cjs/tet-support-search.cjs.entry.js +1 -1
  93. package/dist/cjs/tet-switch.cjs.entry.js +1 -1
  94. package/dist/cjs/tet-tab-header.cjs.entry.js +1 -1
  95. package/dist/cjs/tet-table.cjs.entry.js +1 -1
  96. package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
  97. package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
  98. package/dist/cjs/tet-text.cjs.entry.js +1 -1
  99. package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
  100. package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +3 -3
  101. package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
  102. package/dist/cjs/tet-thank-you-view.cjs.entry.js +1 -1
  103. package/dist/cjs/tet-tv-gift-block.cjs.entry.js +1 -1
  104. package/dist/cjs/tet-tv-gift-list.cjs.entry.js +1 -1
  105. package/dist/cjs/{theme-wrapper-66880718.js → theme-wrapper-46514846.js} +2 -2
  106. package/dist/cjs/{translations-03c9de64.js → translations-89a0ec3d.js} +1 -1
  107. package/dist/collection/components/advanced/cards/tet-compare-card-v2/tet-compare-card-v2.css +0 -1
  108. package/dist/collection/components/advanced/cards/tet-compare-card-v2/tet-compare-card-v2.js +1 -1
  109. package/dist/components/index.js +1 -1
  110. package/dist/components/{p-8803338b.js → p-05f9e34d.js} +1 -1
  111. package/dist/components/{p-42d78188.js → p-08612744.js} +7 -7
  112. package/dist/components/{p-22b05881.js → p-0c48b91d.js} +3 -3
  113. package/dist/components/{p-a57638be.js → p-0dc23dbb.js} +1 -1
  114. package/dist/components/{p-61ba5ba1.js → p-1585767d.js} +1 -1
  115. package/dist/components/{p-1942f0f5.js → p-1a0a5e0b.js} +3 -3
  116. package/dist/components/{p-d840d114.js → p-1bfee463.js} +1 -1
  117. package/dist/components/{p-c7f783f8.js → p-1c324769.js} +7 -7
  118. package/dist/components/{p-70a6ba6c.js → p-1cc1a7b5.js} +14 -14
  119. package/dist/components/{p-4d181fc9.js → p-25538d98.js} +5 -5
  120. package/dist/components/{p-4468c9e9.js → p-3493f65f.js} +1 -1
  121. package/dist/components/{p-dab4d025.js → p-3794206a.js} +1 -1
  122. package/dist/components/{p-79e64e7a.js → p-3a347581.js} +2 -2
  123. package/dist/components/{p-5a41a155.js → p-3e36e361.js} +4 -4
  124. package/dist/components/{p-05a4a88a.js → p-3f70a86a.js} +2 -2
  125. package/dist/components/{p-72215a89.js → p-3fef4912.js} +2 -2
  126. package/dist/components/{p-de671173.js → p-43ae78c6.js} +1 -1
  127. package/dist/components/{p-734f67c5.js → p-446fe76d.js} +1 -1
  128. package/dist/components/{p-a46ed058.js → p-4606f4f9.js} +1 -1
  129. package/dist/components/{p-23f7b264.js → p-4a8127bf.js} +6 -6
  130. package/dist/components/{p-7cd73a11.js → p-4ca8db20.js} +3 -3
  131. package/dist/components/{p-789bee5f.js → p-503abf7a.js} +1 -1
  132. package/dist/components/{p-b63a7833.js → p-538a0e87.js} +3 -3
  133. package/dist/components/{p-8cd5cc24.js → p-57b59a16.js} +2 -2
  134. package/dist/components/{p-eabd73fc.js → p-5c4dbc29.js} +3 -3
  135. package/dist/components/{p-f6c678ae.js → p-5f9d5d42.js} +2 -2
  136. package/dist/components/{p-e8595e06.js → p-5fb97604.js} +2 -2
  137. package/dist/components/{p-69ddd50b.js → p-65955941.js} +6 -6
  138. package/dist/components/{p-d659d0dc.js → p-6d79283f.js} +1 -1
  139. package/dist/components/{p-f6e855a8.js → p-6e8583d1.js} +7 -7
  140. package/dist/components/{p-2f7b2d35.js → p-72ab8bd5.js} +1 -1
  141. package/dist/components/{p-68c6a6d2.js → p-785629c2.js} +1 -1
  142. package/dist/components/{p-6b6e4f80.js → p-7f14c72a.js} +1 -1
  143. package/dist/components/{p-efa3ec10.js → p-89110d69.js} +2 -2
  144. package/dist/components/{p-a6c51126.js → p-8a9be4ba.js} +2 -2
  145. package/dist/components/{p-d2906f29.js → p-8e3c606a.js} +3 -3
  146. package/dist/components/{p-b7eb822d.js → p-926949eb.js} +1 -1
  147. package/dist/components/{p-8f9ff447.js → p-9568c281.js} +2 -2
  148. package/dist/components/{p-d5d6ad18.js → p-95b43510.js} +2 -2
  149. package/dist/components/{p-454eccfc.js → p-9972183e.js} +3 -3
  150. package/dist/components/{p-d6c8d210.js → p-9ccfc5fc.js} +10 -10
  151. package/dist/components/{p-e72337be.js → p-9e4881fa.js} +1 -1
  152. package/dist/components/{p-25ea4db6.js → p-a2b1a79a.js} +1 -1
  153. package/dist/components/{p-806583bf.js → p-a40527e5.js} +4 -4
  154. package/dist/components/{p-411270c6.js → p-a4099430.js} +2 -2
  155. package/dist/components/{p-b51591ec.js → p-a79cb5c9.js} +1 -1
  156. package/dist/components/{p-25b93e8f.js → p-aa122c92.js} +1 -1
  157. package/dist/components/{p-189a37d2.js → p-b4ccc509.js} +5 -5
  158. package/dist/components/{p-1a84e464.js → p-b520b98a.js} +6 -6
  159. package/dist/components/{p-ac8ad039.js → p-b8e53499.js} +1 -1
  160. package/dist/components/{p-3c404244.js → p-d0df24b6.js} +1 -1
  161. package/dist/components/{p-70507bfc.js → p-d2a24b94.js} +1 -1
  162. package/dist/components/{p-cd88c18e.js → p-d34a8ce6.js} +7 -7
  163. package/dist/components/{p-ecb62209.js → p-d6e2d762.js} +1 -1
  164. package/dist/components/{p-a004fba4.js → p-d8eb751f.js} +2 -2
  165. package/dist/components/{p-2be031c9.js → p-d9008657.js} +9 -9
  166. package/dist/components/{p-1281b61e.js → p-d92091d6.js} +2 -2
  167. package/dist/components/{p-8f3097ac.js → p-e7e499ef.js} +10 -10
  168. package/dist/components/{p-809b2c68.js → p-fcf4aad0.js} +3 -3
  169. package/dist/components/tet-accordion.js +1 -1
  170. package/dist/components/tet-address-offers-filters-products.js +1 -1
  171. package/dist/components/tet-address-offers-filters.js +1 -1
  172. package/dist/components/tet-address-offers-view.js +24 -24
  173. package/dist/components/tet-address-offers.js +1 -1
  174. package/dist/components/tet-address-search.js +1 -1
  175. package/dist/components/tet-asset-addresses.js +13 -13
  176. package/dist/components/tet-asset-availability-addresses.js +1 -1
  177. package/dist/components/tet-autocomplete-dropdown.js +5 -5
  178. package/dist/components/tet-autocomplete.js +1 -1
  179. package/dist/components/tet-availability-contact-form.js +1 -1
  180. package/dist/components/tet-b2b-check-out-form.js +1 -1
  181. package/dist/components/tet-b2b-compare-card.js +1 -1
  182. package/dist/components/tet-b2b-configurator-cart.js +1 -1
  183. package/dist/components/tet-b2b-configurator.js +20 -20
  184. package/dist/components/tet-b2b-service-calculator.js +8 -8
  185. package/dist/components/tet-banner-nav.js +3 -3
  186. package/dist/components/tet-bar-graph.js +1 -1
  187. package/dist/components/tet-border-radius.js +1 -1
  188. package/dist/components/tet-business-card.js +1 -1
  189. package/dist/components/tet-business-compare-card.js +3 -3
  190. package/dist/components/tet-business-lines.js +5 -5
  191. package/dist/components/tet-business-navigation.js +1 -1
  192. package/dist/components/tet-business-round-stepper.js +2 -2
  193. package/dist/components/tet-business-summary-card.js +1 -1
  194. package/dist/components/tet-button.js +1 -1
  195. package/dist/components/tet-card-list.js +1 -1
  196. package/dist/components/tet-carousel.js +4 -4
  197. package/dist/components/tet-checkbox.js +1 -1
  198. package/dist/components/tet-cloud-application-form-dialog.js +8 -8
  199. package/dist/components/tet-cloud-configurator.js +12 -12
  200. package/dist/components/tet-colors.js +1 -1
  201. package/dist/components/tet-compare-card-v2.js +11 -11
  202. package/dist/components/tet-compare-card.js +1 -1
  203. package/dist/components/tet-compare-cards-tab.js +16 -16
  204. package/dist/components/tet-compare-cards.js +1 -1
  205. package/dist/components/tet-contact-form.js +9 -9
  206. package/dist/components/tet-contact-info.js +1 -1
  207. package/dist/components/tet-container.js +1 -1
  208. package/dist/components/tet-countdown.js +1 -1
  209. package/dist/components/tet-counter.js +1 -1
  210. package/dist/components/tet-customer-assets.js +9 -9
  211. package/dist/components/tet-datepicker-header.js +1 -1
  212. package/dist/components/tet-datepicker-month-view.js +1 -1
  213. package/dist/components/tet-datepicker-multi-year-view.js +1 -1
  214. package/dist/components/tet-datepicker-year-view.js +1 -1
  215. package/dist/components/tet-datepicker.js +6 -6
  216. package/dist/components/tet-dialog.js +1 -1
  217. package/dist/components/tet-display.js +8 -8
  218. package/dist/components/tet-divider.js +7 -7
  219. package/dist/components/tet-dropdown.js +1 -1
  220. package/dist/components/tet-dynamic-card.js +4 -4
  221. package/dist/components/tet-expandable-input.js +3 -3
  222. package/dist/components/tet-expansion-panel.js +1 -1
  223. package/dist/components/tet-feedback-form.js +7 -7
  224. package/dist/components/tet-filter.js +4 -4
  225. package/dist/components/tet-floating-block.js +3 -3
  226. package/dist/components/tet-font-weight.js +1 -1
  227. package/dist/components/tet-fonts.js +1 -1
  228. package/dist/components/tet-grid.js +1 -1
  229. package/dist/components/tet-icon.js +1 -1
  230. package/dist/components/tet-inline-message.js +1 -1
  231. package/dist/components/tet-input.js +1 -1
  232. package/dist/components/tet-label.js +3 -3
  233. package/dist/components/tet-layout.js +1 -1
  234. package/dist/components/tet-link-card-list.js +3 -3
  235. package/dist/components/tet-link.js +1 -1
  236. package/dist/components/tet-loader.js +1 -1
  237. package/dist/components/tet-macd-view.js +10 -10
  238. package/dist/components/tet-menu-mobile.js +2 -2
  239. package/dist/components/tet-menu.js +2 -2
  240. package/dist/components/tet-mini-compare-card.js +3 -3
  241. package/dist/components/tet-multi-step-dialog.js +5 -5
  242. package/dist/components/tet-navigation-mobile.js +2 -2
  243. package/dist/components/tet-news-card-list.js +4 -4
  244. package/dist/components/tet-notification.js +1 -1
  245. package/dist/components/tet-number-input.js +1 -1
  246. package/dist/components/tet-placeholder.js +1 -1
  247. package/dist/components/tet-position.js +7 -7
  248. package/dist/components/tet-price-view.js +1 -1
  249. package/dist/components/tet-radio.js +1 -1
  250. package/dist/components/tet-range-slider.js +1 -1
  251. package/dist/components/tet-referral.js +6 -6
  252. package/dist/components/tet-round-stepper.js +2 -2
  253. package/dist/components/tet-selection-list.js +1 -1
  254. package/dist/components/tet-snicker-card-badge.js +1 -1
  255. package/dist/components/tet-snicker-card-group.js +1 -1
  256. package/dist/components/tet-snicker-card.js +11 -11
  257. package/dist/components/tet-spacing.js +1 -1
  258. package/dist/components/tet-spinner.js +1 -1
  259. package/dist/components/tet-stepper-input.js +1 -1
  260. package/dist/components/tet-stepper-v2.js +1 -1
  261. package/dist/components/tet-stepper-v3.js +1 -1
  262. package/dist/components/tet-stepper.js +1 -1
  263. package/dist/components/tet-support-search.js +7 -7
  264. package/dist/components/tet-switch.js +1 -1
  265. package/dist/components/tet-tab-content.js +1 -1
  266. package/dist/components/tet-tab-header.js +1 -1
  267. package/dist/components/tet-table.js +3 -3
  268. package/dist/components/tet-tag-group.js +1 -1
  269. package/dist/components/tet-tag.js +1 -1
  270. package/dist/components/tet-text-list.js +1 -1
  271. package/dist/components/tet-text.js +7 -7
  272. package/dist/components/tet-textarea.js +1 -1
  273. package/dist/components/tet-thank-you-view-v2.js +5 -5
  274. package/dist/components/tet-thank-you-view-v3.js +5 -5
  275. package/dist/components/tet-thank-you-view.js +4 -4
  276. package/dist/components/tet-tooltip.js +1 -1
  277. package/dist/components/tet-tv-gift-block.js +1 -1
  278. package/dist/components/tet-tv-gift-list.js +2 -2
  279. package/dist/esm/{address-1e0810e7.js → address-20e2d850.js} +1 -1
  280. package/dist/esm/{assets-e1349520.js → assets-894007df.js} +1 -1
  281. package/dist/esm/{async-request-4c945e13.js → async-request-ae1056de.js} +1 -1
  282. package/dist/esm/{http-codes-1927ea00.js → http-codes-cf0086d4.js} +1 -1
  283. package/dist/esm/{index-412df137.js → index-e3209c56.js} +1 -1
  284. package/dist/esm/{index-aac31bd2.js → index-e933a7d2.js} +1 -1
  285. package/dist/esm/loader.js +2 -2
  286. package/dist/esm/{phone-1a920c5c.js → phone-62660137.js} +2 -2
  287. package/dist/esm/{product-comparison-dd90c721.js → product-comparison-cb8955f6.js} +1 -1
  288. package/dist/esm/tet-accordion.entry.js +1 -1
  289. package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
  290. package/dist/esm/tet-address-offers-view.entry.js +3 -3
  291. package/dist/esm/tet-address-offers_4.entry.js +7 -7
  292. package/dist/esm/tet-address-search.entry.js +4 -4
  293. package/dist/esm/tet-asset-addresses.entry.js +3 -3
  294. package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
  295. package/dist/esm/tet-autocomplete.entry.js +1 -1
  296. package/dist/esm/tet-b2b-check-out-form_5.entry.js +3 -3
  297. package/dist/esm/tet-b2b-configurator.entry.js +4 -4
  298. package/dist/esm/tet-b2b-service-calculator.entry.js +3 -3
  299. package/dist/esm/tet-banner-nav.entry.js +3 -3
  300. package/dist/esm/tet-bar-graph.entry.js +1 -1
  301. package/dist/esm/tet-border-radius.entry.js +1 -1
  302. package/dist/esm/tet-business-card.entry.js +1 -1
  303. package/dist/esm/tet-business-compare-card.entry.js +1 -1
  304. package/dist/esm/tet-business-lines.entry.js +4 -4
  305. package/dist/esm/tet-business-round-stepper.entry.js +1 -1
  306. package/dist/esm/tet-button.entry.js +1 -1
  307. package/dist/esm/tet-card-list.entry.js +1 -1
  308. package/dist/esm/tet-carousel.entry.js +3 -3
  309. package/dist/esm/tet-checkbox_3.entry.js +1 -1
  310. package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
  311. package/dist/esm/tet-cloud-configurator.entry.js +3 -3
  312. package/dist/esm/tet-colors.entry.js +1 -1
  313. package/dist/esm/tet-compare-card-v2.entry.js +5 -5
  314. package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
  315. package/dist/esm/tet-compare-cards_2.entry.js +3 -3
  316. package/dist/esm/tet-components.js +2 -2
  317. package/dist/esm/tet-contact-form.entry.js +5 -5
  318. package/dist/esm/tet-contact-info.entry.js +1 -1
  319. package/dist/esm/tet-container_2.entry.js +1 -1
  320. package/dist/esm/tet-countdown.entry.js +1 -1
  321. package/dist/esm/tet-counter.entry.js +1 -1
  322. package/dist/esm/tet-customer-assets.entry.js +3 -3
  323. package/dist/esm/tet-datepicker-header_4.entry.js +1 -1
  324. package/dist/esm/tet-datepicker.entry.js +1 -1
  325. package/dist/esm/tet-dialog.entry.js +3 -3
  326. package/dist/esm/tet-display.entry.js +1 -1
  327. package/dist/esm/tet-divider.entry.js +1 -1
  328. package/dist/esm/tet-dynamic-card.entry.js +1 -1
  329. package/dist/esm/tet-expandable-input.entry.js +1 -1
  330. package/dist/esm/tet-expansion-panel.entry.js +1 -1
  331. package/dist/esm/tet-feedback-form.entry.js +3 -3
  332. package/dist/esm/tet-filter.entry.js +1 -1
  333. package/dist/esm/tet-floating-block.entry.js +1 -1
  334. package/dist/esm/tet-font-weight.entry.js +1 -1
  335. package/dist/esm/tet-fonts.entry.js +1 -1
  336. package/dist/esm/tet-grid.entry.js +1 -1
  337. package/dist/esm/tet-icon.entry.js +2 -2
  338. package/dist/esm/tet-inline-message.entry.js +1 -1
  339. package/dist/esm/tet-input.entry.js +3 -3
  340. package/dist/esm/tet-label.entry.js +3 -3
  341. package/dist/esm/tet-layout.entry.js +1 -1
  342. package/dist/esm/tet-link-card-list.entry.js +1 -1
  343. package/dist/esm/tet-link.entry.js +1 -1
  344. package/dist/esm/tet-loader.entry.js +1 -1
  345. package/dist/esm/tet-macd-view.entry.js +6 -6
  346. package/dist/esm/tet-menu-mobile.entry.js +1 -1
  347. package/dist/esm/tet-menu.entry.js +1 -1
  348. package/dist/esm/tet-mini-compare-card.entry.js +1 -1
  349. package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
  350. package/dist/esm/tet-navigation-mobile.entry.js +1 -1
  351. package/dist/esm/tet-news-card-list.entry.js +1 -1
  352. package/dist/esm/tet-notification.entry.js +1 -1
  353. package/dist/esm/tet-number-input.entry.js +1 -1
  354. package/dist/esm/tet-placeholder.entry.js +1 -1
  355. package/dist/esm/tet-position.entry.js +1 -1
  356. package/dist/esm/tet-price-view.entry.js +1 -1
  357. package/dist/esm/tet-radio.entry.js +1 -1
  358. package/dist/esm/tet-range-slider.entry.js +1 -1
  359. package/dist/esm/tet-referral.entry.js +5 -5
  360. package/dist/esm/tet-round-stepper.entry.js +1 -1
  361. package/dist/esm/tet-snicker-card-badge.entry.js +1 -1
  362. package/dist/esm/tet-snicker-card-group.entry.js +1 -1
  363. package/dist/esm/tet-snicker-card.entry.js +3 -3
  364. package/dist/esm/tet-spacing.entry.js +1 -1
  365. package/dist/esm/tet-spinner.entry.js +1 -1
  366. package/dist/esm/tet-stepper-input.entry.js +3 -3
  367. package/dist/esm/tet-stepper-v2.entry.js +1 -1
  368. package/dist/esm/tet-stepper-v3.entry.js +1 -1
  369. package/dist/esm/tet-stepper.entry.js +1 -1
  370. package/dist/esm/tet-support-search.entry.js +1 -1
  371. package/dist/esm/tet-switch.entry.js +1 -1
  372. package/dist/esm/tet-tab-header.entry.js +1 -1
  373. package/dist/esm/tet-table.entry.js +1 -1
  374. package/dist/esm/tet-tag_2.entry.js +3 -3
  375. package/dist/esm/tet-text-list.entry.js +1 -1
  376. package/dist/esm/tet-text.entry.js +1 -1
  377. package/dist/esm/tet-textarea.entry.js +1 -1
  378. package/dist/esm/tet-thank-you-view-v2.entry.js +3 -3
  379. package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
  380. package/dist/esm/tet-thank-you-view.entry.js +1 -1
  381. package/dist/esm/tet-tv-gift-block.entry.js +1 -1
  382. package/dist/esm/tet-tv-gift-list.entry.js +1 -1
  383. package/dist/esm/{theme-wrapper-72d0b9da.js → theme-wrapper-cf4d7d54.js} +2 -2
  384. package/dist/esm/{translations-4712c45f.js → translations-e60db8fd.js} +1 -1
  385. package/dist/tet-components/{p-805fb580.entry.js → p-0416fa6c.entry.js} +1 -1
  386. package/dist/tet-components/{p-25bb7d4f.entry.js → p-08aeaafd.entry.js} +1 -1
  387. package/dist/tet-components/{p-84322a3d.entry.js → p-091ba284.entry.js} +1 -1
  388. package/dist/tet-components/{p-4c6a379b.entry.js → p-0dca3de0.entry.js} +1 -1
  389. package/dist/tet-components/{p-e93ab3e8.entry.js → p-0f8cdb24.entry.js} +1 -1
  390. package/dist/tet-components/{p-1080e977.entry.js → p-18c74666.entry.js} +1 -1
  391. package/dist/tet-components/{p-697d23d7.entry.js → p-1beb018b.entry.js} +1 -1
  392. package/dist/tet-components/{p-97cff839.entry.js → p-1d7b8a14.entry.js} +1 -1
  393. package/dist/tet-components/{p-c711cd66.entry.js → p-1fefb3df.entry.js} +1 -1
  394. package/dist/tet-components/{p-edd42275.entry.js → p-1ff90a2c.entry.js} +1 -1
  395. package/dist/tet-components/{p-158f319b.entry.js → p-25416a3a.entry.js} +1 -1
  396. package/dist/tet-components/{p-6693715e.entry.js → p-25d4852b.entry.js} +1 -1
  397. package/dist/tet-components/{p-e290c65d.entry.js → p-26147420.entry.js} +1 -1
  398. package/dist/tet-components/{p-f6916bfc.entry.js → p-265701de.entry.js} +1 -1
  399. package/dist/tet-components/{p-7f18c74c.entry.js → p-278f1d5e.entry.js} +1 -1
  400. package/dist/tet-components/{p-d06f8b4e.entry.js → p-27a33156.entry.js} +1 -1
  401. package/dist/tet-components/{p-52949a88.entry.js → p-2bf6d5b3.entry.js} +1 -1
  402. package/dist/tet-components/{p-ccfa9f31.entry.js → p-2c891567.entry.js} +1 -1
  403. package/dist/tet-components/{p-d8518d4b.js → p-2dbe670c.js} +1 -1
  404. package/dist/tet-components/{p-46f6a051.entry.js → p-2f25de81.entry.js} +1 -1
  405. package/dist/tet-components/{p-724189c2.entry.js → p-31be2161.entry.js} +1 -1
  406. package/dist/tet-components/{p-64e277c1.entry.js → p-3251b52b.entry.js} +1 -1
  407. package/dist/tet-components/{p-1fbb7d96.entry.js → p-39ce6062.entry.js} +1 -1
  408. package/dist/tet-components/{p-778c46a6.js → p-3ac57578.js} +1 -1
  409. package/dist/tet-components/{p-fc88ce77.entry.js → p-40ed3be9.entry.js} +1 -1
  410. package/dist/tet-components/{p-f81b3bb0.js → p-4213c1d1.js} +1 -1
  411. package/dist/tet-components/{p-2b5b2c71.entry.js → p-47a897c5.entry.js} +1 -1
  412. package/dist/tet-components/{p-6be0549b.entry.js → p-4babd7b2.entry.js} +1 -1
  413. package/dist/tet-components/{p-d778c1fe.entry.js → p-4e21dd2f.entry.js} +1 -1
  414. package/dist/tet-components/{p-900bd4e1.entry.js → p-4e9f66a8.entry.js} +1 -1
  415. package/dist/tet-components/{p-cf3456e2.entry.js → p-51dfe68c.entry.js} +1 -1
  416. package/dist/tet-components/{p-122f3d3c.entry.js → p-548d7cc1.entry.js} +1 -1
  417. package/dist/tet-components/{p-003e17a0.entry.js → p-58313d11.entry.js} +1 -1
  418. package/dist/tet-components/{p-38be49a6.entry.js → p-592f0674.entry.js} +1 -1
  419. package/dist/tet-components/{p-83f43fdd.js → p-5abb3bea.js} +1 -1
  420. package/dist/tet-components/{p-b0c62997.entry.js → p-5e8bd119.entry.js} +1 -1
  421. package/dist/tet-components/{p-d5b36540.entry.js → p-5ec1a6cf.entry.js} +1 -1
  422. package/dist/tet-components/{p-cde8057a.entry.js → p-60abca86.entry.js} +1 -1
  423. package/dist/tet-components/{p-480ca12a.entry.js → p-60ef69f6.entry.js} +1 -1
  424. package/dist/tet-components/{p-8bfd498e.entry.js → p-63f6def9.entry.js} +1 -1
  425. package/dist/tet-components/{p-2acd5146.entry.js → p-649a4eab.entry.js} +1 -1
  426. package/dist/tet-components/p-660bdc27.js +1 -0
  427. package/dist/tet-components/{p-b01405f8.entry.js → p-695ded14.entry.js} +1 -1
  428. package/dist/tet-components/{p-401e736e.entry.js → p-70448ec8.entry.js} +1 -1
  429. package/dist/tet-components/{p-0ebbf5ef.js → p-726651bc.js} +1 -1
  430. package/dist/tet-components/p-735ca4ae.entry.js +1 -0
  431. package/dist/tet-components/{p-b31168fc.entry.js → p-738c3987.entry.js} +1 -1
  432. package/dist/tet-components/{p-e13c62c8.entry.js → p-78ec990b.entry.js} +1 -1
  433. package/dist/tet-components/{p-69c58fc4.entry.js → p-81cabfb1.entry.js} +1 -1
  434. package/dist/tet-components/{p-5fb62a1b.entry.js → p-85fffa05.entry.js} +1 -1
  435. package/dist/tet-components/{p-949d0eaf.entry.js → p-8998d112.entry.js} +1 -1
  436. package/dist/tet-components/{p-ba8c6a1c.entry.js → p-89d2d3d9.entry.js} +1 -1
  437. package/dist/tet-components/{p-46b3fc7f.entry.js → p-8ac7782f.entry.js} +1 -1
  438. package/dist/tet-components/{p-be3cb49b.entry.js → p-90d2e87a.entry.js} +1 -1
  439. package/dist/tet-components/{p-b98f7254.entry.js → p-9c0a5507.entry.js} +1 -1
  440. package/dist/tet-components/{p-d1035694.entry.js → p-9c34400c.entry.js} +1 -1
  441. package/dist/tet-components/{p-87221449.entry.js → p-9f921c87.entry.js} +1 -1
  442. package/dist/tet-components/{p-331e7bf2.entry.js → p-a28e087f.entry.js} +1 -1
  443. package/dist/tet-components/{p-e6aab016.entry.js → p-a3af708c.entry.js} +1 -1
  444. package/dist/tet-components/{p-83e4ae9f.entry.js → p-a3b09130.entry.js} +1 -1
  445. package/dist/tet-components/{p-a8051a99.js → p-a476fd02.js} +1 -1
  446. package/dist/tet-components/{p-0ce56ec9.entry.js → p-a4ab521b.entry.js} +1 -1
  447. package/dist/tet-components/{p-7fc933fe.entry.js → p-aa09ca5f.entry.js} +1 -1
  448. package/dist/tet-components/{p-9a75ed39.entry.js → p-aba71e2d.entry.js} +1 -1
  449. package/dist/tet-components/{p-cd86d0b1.entry.js → p-ad38e14e.entry.js} +1 -1
  450. package/dist/tet-components/{p-b0688983.entry.js → p-b2137624.entry.js} +1 -1
  451. package/dist/tet-components/{p-7544dfd7.js → p-b39df477.js} +1 -1
  452. package/dist/tet-components/{p-9c837569.entry.js → p-b4b90473.entry.js} +1 -1
  453. package/dist/tet-components/{p-93820289.entry.js → p-b4fb5193.entry.js} +1 -1
  454. package/dist/tet-components/{p-1fd2adaf.js → p-b92dff8a.js} +1 -1
  455. package/dist/tet-components/{p-ed529321.entry.js → p-be085d6c.entry.js} +1 -1
  456. package/dist/tet-components/{p-2c92d701.entry.js → p-bea999e0.entry.js} +1 -1
  457. package/dist/tet-components/{p-2fb8ea65.entry.js → p-bf61c059.entry.js} +1 -1
  458. package/dist/tet-components/{p-f58bb61e.entry.js → p-c07ad1c3.entry.js} +1 -1
  459. package/dist/tet-components/{p-75bbc14a.entry.js → p-c1955aa6.entry.js} +1 -1
  460. package/dist/tet-components/{p-cac7dbf9.entry.js → p-c654aa06.entry.js} +1 -1
  461. package/dist/tet-components/{p-f93ab9f3.entry.js → p-c7e67378.entry.js} +1 -1
  462. package/dist/tet-components/{p-ed07c65a.entry.js → p-c82904b9.entry.js} +1 -1
  463. package/dist/tet-components/{p-0c6b6730.js → p-c9ddf890.js} +1 -1
  464. package/dist/tet-components/{p-1ff1f044.entry.js → p-ceff5b1f.entry.js} +1 -1
  465. package/dist/tet-components/{p-5c821eef.entry.js → p-cf362ecc.entry.js} +1 -1
  466. package/dist/tet-components/{p-c9493529.entry.js → p-d451529f.entry.js} +1 -1
  467. package/dist/tet-components/{p-85f3f726.entry.js → p-d811ee75.entry.js} +1 -1
  468. package/dist/tet-components/{p-8fa0be45.entry.js → p-dcfc2639.entry.js} +1 -1
  469. package/dist/tet-components/{p-689e9d36.entry.js → p-e1aa6a4d.entry.js} +1 -1
  470. package/dist/tet-components/{p-b5315830.entry.js → p-e1bba17c.entry.js} +1 -1
  471. package/dist/tet-components/{p-5b5001cf.entry.js → p-e1ce8689.entry.js} +1 -1
  472. package/dist/tet-components/{p-6b088283.entry.js → p-e30eca37.entry.js} +1 -1
  473. package/dist/tet-components/{p-876009b7.entry.js → p-e3f93dd7.entry.js} +1 -1
  474. package/dist/tet-components/{p-f9c69d39.entry.js → p-e70a8127.entry.js} +1 -1
  475. package/dist/tet-components/{p-fa259a3d.entry.js → p-e8ec9d1c.entry.js} +1 -1
  476. package/dist/tet-components/{p-d091fa60.entry.js → p-ebbeac97.entry.js} +1 -1
  477. package/dist/tet-components/{p-c9f21fde.entry.js → p-ec5b1040.entry.js} +1 -1
  478. package/dist/tet-components/{p-91f385ae.entry.js → p-ed1f4ff9.entry.js} +1 -1
  479. package/dist/tet-components/{p-e17d0862.entry.js → p-f1771c69.entry.js} +1 -1
  480. package/dist/tet-components/{p-4b84438a.entry.js → p-f17a4724.entry.js} +1 -1
  481. package/dist/tet-components/{p-78d6f52c.entry.js → p-f581e4ca.entry.js} +1 -1
  482. package/dist/tet-components/{p-b44083d7.entry.js → p-f63082c7.entry.js} +1 -1
  483. package/dist/tet-components/{p-255cd889.entry.js → p-fbc6cc0a.entry.js} +1 -1
  484. package/dist/tet-components/{p-7e7068af.entry.js → p-fbe053de.entry.js} +1 -1
  485. package/dist/tet-components/{p-6babde37.entry.js → p-fc81fb8e.entry.js} +1 -1
  486. package/dist/tet-components/{p-25e48d9f.entry.js → p-fcbb1ac6.entry.js} +1 -1
  487. package/dist/tet-components/{p-ddce536f.entry.js → p-fd682dea.entry.js} +1 -1
  488. package/dist/tet-components/{p-c4de9e32.entry.js → p-ff5b0f63.entry.js} +1 -1
  489. package/dist/tet-components/tet-components.esm.js +1 -1
  490. package/package.json +1 -1
  491. package/dist/tet-components/p-48816253.entry.js +0 -1
  492. package/dist/tet-components/p-f81d95ae.js +0 -1
@@ -1 +1 @@
1
- import{r as o,h as t,H as e}from"./p-83f43fdd.js";const n=class{constructor(t){o(this,t)}render(){return t(e,{key:"0866cd4e6b79862838fa3b67770cd678fb273bdf"},t("div",{key:"98e0540e9a929346764b04e67bf8f6268e684b57",class:"variable-container"},t("div",{key:"1ead5fa39ca95d00e7a098c2b8a64c22f9f62b5d",class:"container-title main"},"Fonta biezuma klase"),t("div",{key:"0ce8d72a6f11a6a098fa09337a67858ffd57996c",class:"container-section"},t("div",{key:"07a9ee604f0bc55a8e444740c171735770443c39",class:"variable-name"},t("div",{key:"546993e654b337a6207740e9100d2cf39d432b2b",class:"variable-part"},"tet"),t("div",{key:"cd6b2ad04d70256990d386c9d30b1ca34e08cfd7",class:"variable-part"},"-font"),t("div",{key:"cd3b1e639164b11facf20f9015a4437d9142533d",class:"variable-part"},"-weight"),t("div",{key:"526672d901498500421027cea6ec69a5468ed4ae",class:"variable-part variable variable-weight"},"--semi-bold")))),t("div",{key:"4c0c31b6f1f55107a7798e4d09ef35d996f848f0",class:"tet-fonts-container"},t("div",{key:"439d9e4c67499e3fdfed445dc63c1e2f9dee4f8d",class:"section"},t("div",{key:"3e0893ceb1972571eea68a3738f43e7022fe61bf",class:"container-title"},"Fontu biezumi"),t("div",{key:"61c7d723523c01706d6208434beb39687b2e56b0",class:"section-font"},t("div",{key:"d8ca11ebb1b400840fcdab970abdda735745f487",class:"font font-body-xs"},"Font weight - 400"),t("div",{key:"669015a037cc8e3bcdf162c6eb0a142bd7165a89",class:"section-font-class"},"klase: tet-font-weight--normal"),t("div",{key:"8207d2a96d1e41a9c3e8f0e94cfd4a31a31aea1b",class:"section-font-weight"})),t("div",{key:"4e66a69d2ea29ce6f2984d23c878113bb4ef889d",class:"section-font"},t("div",{key:"b72a71170f0f21ce0d61e805349e9176da6ea05e",class:"font font-body-s"},"Font weight - 500"),t("div",{key:"08fd2f886bbd3f8b17c53928df44305cf99e99e2",class:"section-font-class"},"klase: tet-font-weight--medium"),t("div",{key:"06b639820e511407c8314c6aafddb36676937b5a",class:"section-font-weight"})),t("div",{key:"4ef22f1ce710ec80cba5cae4f76d4bb2f1a8a06c",class:"section-font"},t("div",{key:"d21c80b0dbf067607938709cb322e83e3a9c1149",class:"font font-body-m"},"Font weight - 600"),t("div",{key:"444454f2a8fa2a55111b0444ba4a11488834d3cc",class:"section-font-class"},"klase: tet-font-weight--semi-bold"),t("div",{key:"d742f9cc1c8cc97b188fc6c8a56c7a20bd46c0b8",class:"section-font-weight"})))))}};n.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)}.container-title{background:rgb(235, 237, 239);padding:2rem 0;margin:0.25rem 0;text-align:center;font-size:1.5rem;border-radius:1.5rem}.container-title.main{font-weight:600}.container-section{display:flex;flex-direction:column;flex-wrap:wrap;border:0.0625rem gray solid;border-radius:2rem;padding:1rem;gap:5rem;justify-content:center;height:12.5rem}.variable-name{display:flex;flex-direction:row;justify-content:center;font-size:1.75rem}.variable-part{position:relative;font-size:1.75rem;align-self:center}.variable-weight:after{border-top:0.125rem solid #779af5;content:"fonta biezums";position:absolute;top:2.5rem;font-size:1rem;left:5%;width:90%;text-align:center}.section{display:flex;flex-direction:column}.section-font{border:0.0625rem solid gray;padding:1rem 2rem;border-radius:2rem}.section-title{font-size:1rem;border-top:0.0625rem solid gray;margin-top:1rem;padding-bottom:2rem;padding-top:1rem;text-align:center}.section-font-class{padding-top:1rem;font-size:1rem;color:black}.section-font-weight{display:none;font-size:0.75rem;color:lightgray}.font{white-space:nowrap}.font-body-xs{font:400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.font-body-s{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.font-body-m{font:600 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}';export{n as tet_font_weight}
1
+ import{r as o,h as t,H as e}from"./p-5abb3bea.js";const n=class{constructor(t){o(this,t)}render(){return t(e,{key:"0866cd4e6b79862838fa3b67770cd678fb273bdf"},t("div",{key:"98e0540e9a929346764b04e67bf8f6268e684b57",class:"variable-container"},t("div",{key:"1ead5fa39ca95d00e7a098c2b8a64c22f9f62b5d",class:"container-title main"},"Fonta biezuma klase"),t("div",{key:"0ce8d72a6f11a6a098fa09337a67858ffd57996c",class:"container-section"},t("div",{key:"07a9ee604f0bc55a8e444740c171735770443c39",class:"variable-name"},t("div",{key:"546993e654b337a6207740e9100d2cf39d432b2b",class:"variable-part"},"tet"),t("div",{key:"cd6b2ad04d70256990d386c9d30b1ca34e08cfd7",class:"variable-part"},"-font"),t("div",{key:"cd3b1e639164b11facf20f9015a4437d9142533d",class:"variable-part"},"-weight"),t("div",{key:"526672d901498500421027cea6ec69a5468ed4ae",class:"variable-part variable variable-weight"},"--semi-bold")))),t("div",{key:"4c0c31b6f1f55107a7798e4d09ef35d996f848f0",class:"tet-fonts-container"},t("div",{key:"439d9e4c67499e3fdfed445dc63c1e2f9dee4f8d",class:"section"},t("div",{key:"3e0893ceb1972571eea68a3738f43e7022fe61bf",class:"container-title"},"Fontu biezumi"),t("div",{key:"61c7d723523c01706d6208434beb39687b2e56b0",class:"section-font"},t("div",{key:"d8ca11ebb1b400840fcdab970abdda735745f487",class:"font font-body-xs"},"Font weight - 400"),t("div",{key:"669015a037cc8e3bcdf162c6eb0a142bd7165a89",class:"section-font-class"},"klase: tet-font-weight--normal"),t("div",{key:"8207d2a96d1e41a9c3e8f0e94cfd4a31a31aea1b",class:"section-font-weight"})),t("div",{key:"4e66a69d2ea29ce6f2984d23c878113bb4ef889d",class:"section-font"},t("div",{key:"b72a71170f0f21ce0d61e805349e9176da6ea05e",class:"font font-body-s"},"Font weight - 500"),t("div",{key:"08fd2f886bbd3f8b17c53928df44305cf99e99e2",class:"section-font-class"},"klase: tet-font-weight--medium"),t("div",{key:"06b639820e511407c8314c6aafddb36676937b5a",class:"section-font-weight"})),t("div",{key:"4ef22f1ce710ec80cba5cae4f76d4bb2f1a8a06c",class:"section-font"},t("div",{key:"d21c80b0dbf067607938709cb322e83e3a9c1149",class:"font font-body-m"},"Font weight - 600"),t("div",{key:"444454f2a8fa2a55111b0444ba4a11488834d3cc",class:"section-font-class"},"klase: tet-font-weight--semi-bold"),t("div",{key:"d742f9cc1c8cc97b188fc6c8a56c7a20bd46c0b8",class:"section-font-weight"})))))}};n.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)}.container-title{background:rgb(235, 237, 239);padding:2rem 0;margin:0.25rem 0;text-align:center;font-size:1.5rem;border-radius:1.5rem}.container-title.main{font-weight:600}.container-section{display:flex;flex-direction:column;flex-wrap:wrap;border:0.0625rem gray solid;border-radius:2rem;padding:1rem;gap:5rem;justify-content:center;height:12.5rem}.variable-name{display:flex;flex-direction:row;justify-content:center;font-size:1.75rem}.variable-part{position:relative;font-size:1.75rem;align-self:center}.variable-weight:after{border-top:0.125rem solid #779af5;content:"fonta biezums";position:absolute;top:2.5rem;font-size:1rem;left:5%;width:90%;text-align:center}.section{display:flex;flex-direction:column}.section-font{border:0.0625rem solid gray;padding:1rem 2rem;border-radius:2rem}.section-title{font-size:1rem;border-top:0.0625rem solid gray;margin-top:1rem;padding-bottom:2rem;padding-top:1rem;text-align:center}.section-font-class{padding-top:1rem;font-size:1rem;color:black}.section-font-weight{display:none;font-size:0.75rem;color:lightgray}.font{white-space:nowrap}.font-body-xs{font:400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.font-body-s{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.font-body-m{font:600 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}';export{n as tet_font_weight}
@@ -1 +1 @@
1
- import{r as o,h as t,c as e}from"./p-83f43fdd.js";import{i as n}from"./p-9a2b6ee2.js";const i=class{constructor(t){o(this,t),this.highlightable=!1,this.selected=!1,this.theme="classic"}render(){return t("div",{key:"02216f21d87adedfa68f742f9543fef0c30e3053",class:{container:!0,"container--highlightable":this.highlightable,"container--selected":this.selected,[`container--${this.theme}`]:"classic"!==this.theme},part:"container"},t("slot",{key:"7b721aee09bcbf966fff2ce7bde06ec726b7b7ce"}))}};i.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{--background:rgb(255, 255, 255);--padding:1rem;--border-color:transparent;--border-radius:0.3125rem;--box-shadow:0 0 0 rgb(5 29 89 / 7%), 0 0.0625rem 0.1875rem rgb(5 29 89 / 12%);--box-shadow-highlighted:var(--tc-elevation-three);--text-align:left;--container-selected-border-color:rgb(0, 96, 245);--container-border-width:0.125rem;--container-box-shadow-selected:none;--container-light-box-shadow:none;--container-light-background-color:var(--tc-background-secondary);--container-light-border-color:var(--tc-border-quaternary);--container-light-text-color:var(--tc-text-primary);--container-dark-box-shadow:none;--container-dark-background-color:var(--tc-background-secondary-dark);--container-dark-border-color:var(--tc-border-quaternary-dark);--container-dark-text-color:var(--tc-text-primary-dark)}.container{position:relative;height:100%;background:var(--background);box-shadow:var(--box-shadow);text-align:var(--text-align);padding:var(--padding);font-family:var(--text-font);border:var(--container-border-width) solid var(--border-color);border-radius:var(--border-radius)}.container--highlightable:hover{box-shadow:var(--box-shadow-highlighted);cursor:pointer}.container--selected{border-radius:var(--border-radius);border:var(--container-border-width) solid var(--container-selected-border-color);box-shadow:var(--container-box-shadow-selected)}.container--light{box-shadow:var(--container-light-box-shadow);border:0.0625rem solid var(--container-light-border-color);background-color:var(--container-light-background-color);color:var(--container-light-text-color)}.container--dark{box-shadow:var(--container-dark-box-shadow);border:0.0625rem solid var(--container-dark-border-color);background-color:var(--container-dark-background-color);color:var(--container-dark-text-color)}';const r=class{constructor(t){o(this,t),this.itemSelected=e(this,"itemSelected",7),this.selectionListRendered=e(this,"selectionListRendered",7),this.items=[],this.preSelectedItems=[],this.multipleSelections=!0,this.itemRenderFunction=o=>o?.toString(),this.identifier=void 0,this.selectedItems=[]}onPreselectedItemsChanged(o){o.forEach(this.toggleItem)}itemSelected;selectionListRendered;componentWillLoad(){this.preSelectedItems.forEach(this.toggleItem)}componentDidRender(){this.selectionListRendered.emit(this.identifier)}async unsetSelectedItems(){this.selectedItems=[]}async getSelectedItems(){return this.selectedItems}toggleItem=o=>{(this.multipleSelections?this.multipleSelectionToggle:this.singleSelectionToggle)(o),this.itemSelected.emit(o),this.selectedItems=[...this.selectedItems]};multipleSelectionToggle=o=>{this.selectedItems.includes(o)?this.selectedItems.splice(this.selectedItems.indexOf(o),1):this.selectedItems.push(o)};singleSelectionToggle=o=>{this.selectedItems.includes(o)||(this.selectedItems=[]),this.selectedItems.push(o)};getListItemContext=o=>({selected:this.selectedItems.includes(o)});renderListItem=o=>{const e=this.getListItemContext(o),i=this.itemRenderFunction(o,e),r=n(i)?i:t("div",{innerHTML:i});return t("li",{class:"list-item",part:"selection-list-item",onClick:()=>this.toggleItem(o)},r)};render(){return t("ul",{key:"5d21c21153564b6bf82dce1244c6753c572ea0e4",class:"list",part:"selection-list"},this.items.map(this.renderListItem))}static get watchers(){return{preSelectedItems:["onPreselectedItemsChanged"]}}};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{--selection-list-display:flex;--selection-list-margin:0;--selection-list-max-width:none;--orientation:column;--item-spacing:1em;--selection-list-max-items-per-row:1;--selection-list-wrapping:wrap;--selection-list-justify-content:space-evenly;--selection-list-item-cursor:pointer;display:block;-ms-overflow-style:none;scrollbar-width:none}:host::-webkit-scrollbar{display:none}.list{list-style:none;display:var(--selection-list-display);margin:var(--selection-list-margin);max-width:var(--selection-list-max-width);flex-direction:var(--orientation);flex-wrap:var(--selection-list-wrapping);justify-content:var(--selection-list-justify-content);gap:var(--item-spacing);-webkit-tap-highlight-color:transparent}.list-item{flex:1 0 calc((100% - (var(--selection-list-max-items-per-row) - 1) * var(--item-spacing)) / var(--selection-list-max-items-per-row));cursor:var(--selection-list-item-cursor)}';export{i as tet_container,r as tet_selection_list}
1
+ import{r as o,h as t,c as e}from"./p-5abb3bea.js";import{i as n}from"./p-9a2b6ee2.js";const i=class{constructor(t){o(this,t),this.highlightable=!1,this.selected=!1,this.theme="classic"}render(){return t("div",{key:"02216f21d87adedfa68f742f9543fef0c30e3053",class:{container:!0,"container--highlightable":this.highlightable,"container--selected":this.selected,[`container--${this.theme}`]:"classic"!==this.theme},part:"container"},t("slot",{key:"7b721aee09bcbf966fff2ce7bde06ec726b7b7ce"}))}};i.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{--background:rgb(255, 255, 255);--padding:1rem;--border-color:transparent;--border-radius:0.3125rem;--box-shadow:0 0 0 rgb(5 29 89 / 7%), 0 0.0625rem 0.1875rem rgb(5 29 89 / 12%);--box-shadow-highlighted:var(--tc-elevation-three);--text-align:left;--container-selected-border-color:rgb(0, 96, 245);--container-border-width:0.125rem;--container-box-shadow-selected:none;--container-light-box-shadow:none;--container-light-background-color:var(--tc-background-secondary);--container-light-border-color:var(--tc-border-quaternary);--container-light-text-color:var(--tc-text-primary);--container-dark-box-shadow:none;--container-dark-background-color:var(--tc-background-secondary-dark);--container-dark-border-color:var(--tc-border-quaternary-dark);--container-dark-text-color:var(--tc-text-primary-dark)}.container{position:relative;height:100%;background:var(--background);box-shadow:var(--box-shadow);text-align:var(--text-align);padding:var(--padding);font-family:var(--text-font);border:var(--container-border-width) solid var(--border-color);border-radius:var(--border-radius)}.container--highlightable:hover{box-shadow:var(--box-shadow-highlighted);cursor:pointer}.container--selected{border-radius:var(--border-radius);border:var(--container-border-width) solid var(--container-selected-border-color);box-shadow:var(--container-box-shadow-selected)}.container--light{box-shadow:var(--container-light-box-shadow);border:0.0625rem solid var(--container-light-border-color);background-color:var(--container-light-background-color);color:var(--container-light-text-color)}.container--dark{box-shadow:var(--container-dark-box-shadow);border:0.0625rem solid var(--container-dark-border-color);background-color:var(--container-dark-background-color);color:var(--container-dark-text-color)}';const r=class{constructor(t){o(this,t),this.itemSelected=e(this,"itemSelected",7),this.selectionListRendered=e(this,"selectionListRendered",7),this.items=[],this.preSelectedItems=[],this.multipleSelections=!0,this.itemRenderFunction=o=>o?.toString(),this.identifier=void 0,this.selectedItems=[]}onPreselectedItemsChanged(o){o.forEach(this.toggleItem)}itemSelected;selectionListRendered;componentWillLoad(){this.preSelectedItems.forEach(this.toggleItem)}componentDidRender(){this.selectionListRendered.emit(this.identifier)}async unsetSelectedItems(){this.selectedItems=[]}async getSelectedItems(){return this.selectedItems}toggleItem=o=>{(this.multipleSelections?this.multipleSelectionToggle:this.singleSelectionToggle)(o),this.itemSelected.emit(o),this.selectedItems=[...this.selectedItems]};multipleSelectionToggle=o=>{this.selectedItems.includes(o)?this.selectedItems.splice(this.selectedItems.indexOf(o),1):this.selectedItems.push(o)};singleSelectionToggle=o=>{this.selectedItems.includes(o)||(this.selectedItems=[]),this.selectedItems.push(o)};getListItemContext=o=>({selected:this.selectedItems.includes(o)});renderListItem=o=>{const e=this.getListItemContext(o),i=this.itemRenderFunction(o,e),r=n(i)?i:t("div",{innerHTML:i});return t("li",{class:"list-item",part:"selection-list-item",onClick:()=>this.toggleItem(o)},r)};render(){return t("ul",{key:"5d21c21153564b6bf82dce1244c6753c572ea0e4",class:"list",part:"selection-list"},this.items.map(this.renderListItem))}static get watchers(){return{preSelectedItems:["onPreselectedItemsChanged"]}}};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{--selection-list-display:flex;--selection-list-margin:0;--selection-list-max-width:none;--orientation:column;--item-spacing:1em;--selection-list-max-items-per-row:1;--selection-list-wrapping:wrap;--selection-list-justify-content:space-evenly;--selection-list-item-cursor:pointer;display:block;-ms-overflow-style:none;scrollbar-width:none}:host::-webkit-scrollbar{display:none}.list{list-style:none;display:var(--selection-list-display);margin:var(--selection-list-margin);max-width:var(--selection-list-max-width);flex-direction:var(--orientation);flex-wrap:var(--selection-list-wrapping);justify-content:var(--selection-list-justify-content);gap:var(--item-spacing);-webkit-tap-highlight-color:transparent}.list-item{flex:1 0 calc((100% - (var(--selection-list-max-items-per-row) - 1) * var(--item-spacing)) / var(--selection-list-max-items-per-row));cursor:var(--selection-list-item-cursor)}';export{i as tet_container,r as tet_selection_list}
@@ -1 +1 @@
1
- import{r as t,g as e,h as o,H as n}from"./p-83f43fdd.js";const r=class{constructor(e){t(this,e),this.items=[],this.withControls=!0,this.scrollFullWidth=!1,this.controlScrollAmount=350,this.initialScrollAmount=0,this.disableScroll=!1,this.withScrollbar=!0,this.withMouseDrag=!1,this.withVirtualScroll=!1,this.theme="light"}get element(){return e(this)}disableImageEvents=t=>{t.preventDefault()};handleCardMouseOver=t=>{t.currentTarget.closest(".tet-news-card").classList.add("hover")};handleCardMouseLeave=t=>{t.currentTarget.closest(".tet-news-card").classList.remove("hover")};renderListCard=(t,e)=>o("div",{class:{"tet-news-card":!0,[this.theme]:!0},part:"card-list-item"},o("a",{class:"tet-news-card__link-container","data-index":e,href:t.redirectHref,target:t.redirectNewTab?"_blank":"",onMouseOver:this.handleCardMouseOver,onMouseLeave:this.handleCardMouseLeave,onFocus:this.handleCardMouseOver,onBlur:this.handleCardMouseLeave,onClick:t.clickCallback},o("div",{class:"tet-news-card__image__container"},o("div",{class:"tet-news-card__image",onMouseDown:this.disableImageEvents},o("img",{src:t.imageSrc,alt:t.imageAlt??""}))),t.date&&o("span",{class:"tet-news-card__date"},t.date),o("span",{class:"tet-news-card__title"},t.title),o("span",{class:"tet-news-card__divider"}),o("div",{class:"tet-news-card__link"},o("span",{class:"tet-news-card__underline"},t.redirectText)," ",o("tet-icon",{class:"tet-news-card__link-icon",name:"chevron-right"}))));render(){const{withControls:t,withMouseDrag:e,withScrollbar:r,withVirtualScroll:i,initialScrollAmount:a,disableScroll:s,scrollFullWidth:l,controlScrollAmount:f}=this;return o(n,{key:"62e1e81d60b15b0a44a3b8c99b8aa5081d2762eb"},o("tet-card-list",{key:"a184c2d6cba9c2fbe68b045e165bf0a81ac0e4c9",theme:this.theme,part:"card-list-component",exportparts:"card-list, card-list-container",withOverflowOpacity:!0,withControls:t,withMouseDrag:e,withScrollbar:r,withVirtualScroll:i,initialScrollAmount:a,disableScroll:s,scrollFullWidth:l,controlScrollAmount:f},this.items.map(((t,e)=>this.renderListCard(t,e)))))}};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{--news-card-width:21.875rem;--news-card-tablet-width:20rem;--news-card-mobile-width:18.125rem;--news-card-image-height:14.375rem;--news-card-image-tablet-height:13.125rem;--news-card-image-mobile-height:11.875rem;--news-card-image-width:var(--news-card-width);--news-card-image-tablet-width:var(--news-card-tablet-width);--news-card-image-mobile-width:var(--news-card-mobile-width);--news-card-primary-text-color:var(--tc-text-primary);--news-card-date-text-color:var(--tc-text-secondary);--news-card-link-text-color:var(--tc-text-secondary);--news-card-link-hover-text-color:var(--tc-text-primary);--news-card-link-icon-color:var(--tc-icon-secondary)}tet-card-list{--card-list-control-height:var(--news-card-image-height);--card-list-horizontal-margin:12rem}.tet-news-card{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;isolation:isolate;padding:0;width:var(--news-card-width);margin:0.25rem 0}.tet-news-card.dark{--news-card-primary-text-color:var(--tc-text-primary-dark);--news-card-date-text-color:var(--tc-text-secondary-dark);--news-card-link-text-color:var(--tc-text-secondary-dark);--news-card-link-hover-text-color:var(--tc-text-primary-dark);--news-card-link-icon-color:var(--tc-icon-secondary-dark)}.tet-news-card.dark .tet-news-card__link-container:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.125rem;transition:outline 0s}.tet-news-card__image__container{box-sizing:border-box;overflow:hidden;margin-bottom:1rem;border-radius:1.5rem;display:flex;justify-content:center;align-items:center;width:var(--news-card-image-width);height:var(--news-card-image-height);z-index:1}.tet-news-card__image{background-size:cover;background-position:center;background-repeat:no-repeat;transition:transform 0.3s;width:100%;z-index:10;height:100%}.hover .tet-news-card__image{transform:scale(1.05)}.tet-news-card__image img{object-fit:cover;object-position:50% 50%;width:100%;height:100%}.tet-news-card__date{font:400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";color:var(--news-card-date-text-color);letter-spacing:-0.005625rem;margin-bottom:0.25rem;text-align:left}.tet-news-card__title{font:600 1.25rem/1.5rem "Gilroy", "Gilroy, Arial, sans-serif";text-align:left;color:var(--news-card-primary-text-color)}.tet-news-card__divider{flex:1}.tet-news-card__link{font:400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";color:var(--news-card-link-text-color);letter-spacing:-0.01125rem;margin-top:0.75rem;display:inline-flex;align-items:center;text-decoration-line:none}.hover .tet-news-card__link{color:var(--news-card-link-hover-text-color)}.tet-news-card__link-container{border-radius:0.125rem}.tet-news-card__link-container:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s}.tet-news-card__link-container{font:400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";display:flex;flex-direction:column;text-decoration:none;color:var(--news-card-primary-text-color);height:100%}.tet-news-card__link-icon{--icon-size:1rem;--icon-color:var(--news-card-link-icon-color);margin-left:0.25rem;display:inline-flex;align-items:center}.tet-news-card__underline{text-decoration-line:underline}@media only screen and (max-width: 48rem){.tet-news-card{width:var(--news-card-tablet-width)}.tet-news-card__image__container{height:var(--news-card-image-tablet-height);width:var(--news-card-image-tablet-width)}}@media only screen and (max-width: 22.5rem){.tet-news-card{width:var(--news-card-mobile-width)}.tet-news-card__image__container{height:var(--news-card-image-mobile-height);width:var(--news-card-image-mobile-width)}}';export{r as tet_news_card_list}
1
+ import{r as t,g as e,h as o,H as n}from"./p-5abb3bea.js";const r=class{constructor(e){t(this,e),this.items=[],this.withControls=!0,this.scrollFullWidth=!1,this.controlScrollAmount=350,this.initialScrollAmount=0,this.disableScroll=!1,this.withScrollbar=!0,this.withMouseDrag=!1,this.withVirtualScroll=!1,this.theme="light"}get element(){return e(this)}disableImageEvents=t=>{t.preventDefault()};handleCardMouseOver=t=>{t.currentTarget.closest(".tet-news-card").classList.add("hover")};handleCardMouseLeave=t=>{t.currentTarget.closest(".tet-news-card").classList.remove("hover")};renderListCard=(t,e)=>o("div",{class:{"tet-news-card":!0,[this.theme]:!0},part:"card-list-item"},o("a",{class:"tet-news-card__link-container","data-index":e,href:t.redirectHref,target:t.redirectNewTab?"_blank":"",onMouseOver:this.handleCardMouseOver,onMouseLeave:this.handleCardMouseLeave,onFocus:this.handleCardMouseOver,onBlur:this.handleCardMouseLeave,onClick:t.clickCallback},o("div",{class:"tet-news-card__image__container"},o("div",{class:"tet-news-card__image",onMouseDown:this.disableImageEvents},o("img",{src:t.imageSrc,alt:t.imageAlt??""}))),t.date&&o("span",{class:"tet-news-card__date"},t.date),o("span",{class:"tet-news-card__title"},t.title),o("span",{class:"tet-news-card__divider"}),o("div",{class:"tet-news-card__link"},o("span",{class:"tet-news-card__underline"},t.redirectText)," ",o("tet-icon",{class:"tet-news-card__link-icon",name:"chevron-right"}))));render(){const{withControls:t,withMouseDrag:e,withScrollbar:r,withVirtualScroll:i,initialScrollAmount:a,disableScroll:s,scrollFullWidth:l,controlScrollAmount:f}=this;return o(n,{key:"62e1e81d60b15b0a44a3b8c99b8aa5081d2762eb"},o("tet-card-list",{key:"a184c2d6cba9c2fbe68b045e165bf0a81ac0e4c9",theme:this.theme,part:"card-list-component",exportparts:"card-list, card-list-container",withOverflowOpacity:!0,withControls:t,withMouseDrag:e,withScrollbar:r,withVirtualScroll:i,initialScrollAmount:a,disableScroll:s,scrollFullWidth:l,controlScrollAmount:f},this.items.map(((t,e)=>this.renderListCard(t,e)))))}};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{--news-card-width:21.875rem;--news-card-tablet-width:20rem;--news-card-mobile-width:18.125rem;--news-card-image-height:14.375rem;--news-card-image-tablet-height:13.125rem;--news-card-image-mobile-height:11.875rem;--news-card-image-width:var(--news-card-width);--news-card-image-tablet-width:var(--news-card-tablet-width);--news-card-image-mobile-width:var(--news-card-mobile-width);--news-card-primary-text-color:var(--tc-text-primary);--news-card-date-text-color:var(--tc-text-secondary);--news-card-link-text-color:var(--tc-text-secondary);--news-card-link-hover-text-color:var(--tc-text-primary);--news-card-link-icon-color:var(--tc-icon-secondary)}tet-card-list{--card-list-control-height:var(--news-card-image-height);--card-list-horizontal-margin:12rem}.tet-news-card{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;isolation:isolate;padding:0;width:var(--news-card-width);margin:0.25rem 0}.tet-news-card.dark{--news-card-primary-text-color:var(--tc-text-primary-dark);--news-card-date-text-color:var(--tc-text-secondary-dark);--news-card-link-text-color:var(--tc-text-secondary-dark);--news-card-link-hover-text-color:var(--tc-text-primary-dark);--news-card-link-icon-color:var(--tc-icon-secondary-dark)}.tet-news-card.dark .tet-news-card__link-container:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.125rem;transition:outline 0s}.tet-news-card__image__container{box-sizing:border-box;overflow:hidden;margin-bottom:1rem;border-radius:1.5rem;display:flex;justify-content:center;align-items:center;width:var(--news-card-image-width);height:var(--news-card-image-height);z-index:1}.tet-news-card__image{background-size:cover;background-position:center;background-repeat:no-repeat;transition:transform 0.3s;width:100%;z-index:10;height:100%}.hover .tet-news-card__image{transform:scale(1.05)}.tet-news-card__image img{object-fit:cover;object-position:50% 50%;width:100%;height:100%}.tet-news-card__date{font:400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";color:var(--news-card-date-text-color);letter-spacing:-0.005625rem;margin-bottom:0.25rem;text-align:left}.tet-news-card__title{font:600 1.25rem/1.5rem "Gilroy", "Gilroy, Arial, sans-serif";text-align:left;color:var(--news-card-primary-text-color)}.tet-news-card__divider{flex:1}.tet-news-card__link{font:400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";color:var(--news-card-link-text-color);letter-spacing:-0.01125rem;margin-top:0.75rem;display:inline-flex;align-items:center;text-decoration-line:none}.hover .tet-news-card__link{color:var(--news-card-link-hover-text-color)}.tet-news-card__link-container{border-radius:0.125rem}.tet-news-card__link-container:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s}.tet-news-card__link-container{font:400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";display:flex;flex-direction:column;text-decoration:none;color:var(--news-card-primary-text-color);height:100%}.tet-news-card__link-icon{--icon-size:1rem;--icon-color:var(--news-card-link-icon-color);margin-left:0.25rem;display:inline-flex;align-items:center}.tet-news-card__underline{text-decoration-line:underline}@media only screen and (max-width: 48rem){.tet-news-card{width:var(--news-card-tablet-width)}.tet-news-card__image__container{height:var(--news-card-image-tablet-height);width:var(--news-card-image-tablet-width)}}@media only screen and (max-width: 22.5rem){.tet-news-card{width:var(--news-card-mobile-width)}.tet-news-card__image__container{height:var(--news-card-image-mobile-height);width:var(--news-card-image-mobile-width)}}';export{r as tet_news_card_list}
@@ -1 +1 @@
1
- import{r as t,c as o,h as e,H as i}from"./p-83f43fdd.js";const r=class{constructor(e){t(this,e),this.check=o(this,"check",7),this.theme="light",this.label=void 0,this.accessibilityLabel="",this.name=void 0,this.value=0,this.disabled=!1,this.checked=!1,this.labelFont="sm",this.alignCenter=!0,this.labelPosition="right",this.focusStyleOnContainer=!1}check;async setChecked(t){this.checked=t}handleChange(t){this.check.emit({value:this.value,checked:t.target.checked})}renderSwitch(){const{theme:t,labelFont:o}=this;return e("span",{class:{switch__input:!0,[t]:!0,"switch__input--hide-focus-style":this.focusStyleOnContainer,...o?{[`switch__input--${o}`]:!0}:{}}},e("span",{class:"switch__state"}))}render(){const{label:t,name:o,theme:r,disabled:n,checked:s,accessibilityLabel:c,labelFont:a,alignCenter:l,labelPosition:f}=this;return e(i,{key:"a2f5fbf46c4a6925b15fde78620558fa981bc121"},e("div",{key:"d6fd41a0ed4533989005d38f4ce6f32e0833953a",class:{switch:!0,[`${r}`]:!0}},e("label",{key:"05ed8fa0c0b11f04dc27dfc55ee1a6ba50f45d1a",class:{switch__container:!0,"switch__container--align-start":!l,[`switch__container--${a}`]:!0,"switch__container--focus-style":this.focusStyleOnContainer},part:"switch-container",htmlFor:"tet-switch"},e("input",{key:"b9a4fe2547549a24ae6c15f553c1ad39b13293e0",class:"switch__html-input",name:o,id:"tet-switch",type:"checkbox",disabled:n,checked:s,onChange:this.handleChange.bind(this),...c?{"aria-label":c}:{}}),"right"===f&&this.renderSwitch(),e("span",{key:"802f590c1fc0a8e9cc759ac29b2a24f338b07054",class:{switch__label:!0,..."left"===f?{"switch__label--left":!0}:{},...a?{[`switch__label--${a}`]:!0}:{}},innerHTML:t},e("slot",{key:"ce4f0fa080eb8d20a916b879eaac41c2ff009d04"})),"left"===f&&this.renderSwitch())))}};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{--switch-justify-content:normal;--switch-flex-direction:row;--switch-gap:0.75rem;--switch-container-outline-offset:0.125rem;--switch-text-color:var(--tc-text-primary);--switch-background-color:var(--tc-toggle-button-default);--switch-checked-background-color:var(--tc-toggle-button-active-default);--switch-knob-color:var(--tc-toggle-button-ellipse-default);--switch-checked-knob-color:var(--tc-toggle-button-ellipse-default);--switch-focus-background-color:var(--switch-background-color);--switch-focus-shadow:var(--tc-toggle-button-hover-shadow-centre), var(--tc-toggle-button-hover-shadow-raised);--switch-focus-checked-shadow:var(--switch-focus-shadow);--switch-hover-background-color:var(--tc-toggle-button-hover);--switch-hover-checked-background-color:var(--tc-toggle-button-active-hover);--switch-pressed-background-color:var(--switch-background-color);--switch-pressed-checked-background-color:var(--switch-checked-background-color);--switch-disabled-background-color:var(--tc-toggle-button-disabled);--switch-disabled-checked-background-color:var(--tc-toggle-button-active-disabled);--switch-disabled-knob-color:var(--tc-toggle-button-ellipse-disabled);--switch-disabled-checked-knob-color:var(--tc-toggle-button-ellipse-disabled);--switch-disabled-text-color:var(--tc-grey-40);--switch-outline-focus-color:var(--tc-blue-40);display:block;position:relative}.switch.dark{--switch-background-color:var(--tc-toggle-button-default-dark);--switch-checked-background-color:var(--tc-toggle-button-active-default-dark);--switch-knob-color:var(--tc-toggle-button-ellipse-default-dark);--switch-checked-knob-color:var(--tc-toggle-button-ellipse-default-dark);--switch-text-color:var(--tc-text-primary-dark);--switch-hover-background-color:var(--tc-toggle-button-hover-dark);--switch-hover-checked-background-color:var(--tc-toggle-button-active-hover-dark);--switch-pressed-background-color:var(--switch-background-color);--switch-pressed-checked-background-color:var(--switch-checked-background-color);--switch-focus-background-color:var(--switch-background-color-dark);--switch-focus-shadow:var(--tc-toggle-button-hover-shadow-centre-dark), var(--tc-toggle-button-hover-shadow-raised-dark);--switch-focus-checked-shadow:var(--switch-focus-shadow);--switch-disabled-background-color:var(--tc-toggle-button-disabled-dark);--switch-disabled-checked-background-color:var(--tc-toggle-button-active-disabled-dark);--switch-disabled-knob-color:var(--tc-toggle-button-ellipse-disabled-dark);--switch-disabled-checked-knob-color:var(--tc-toggle-button-ellipse-disabled-dark);--switch-disabled-text-color:var(--tc-grey-40-dark);--switch-outline-focus-color:var(--tc-blue-40-dark)}.switch.mint{--switch-background-color:rgb(67, 75, 86);--switch-checked-background-color:rgb(31, 208, 214);--switch-knob-color:rgb(255, 255, 255);--switch-checked-knob-color:rgb(10, 11, 13);--switch-text-color:rgb(255, 255, 255);--switch-hover-background-color:rgba(255, 255, 255, 0.3);--switch-hover-checked-background-color:rgb(24, 165, 170);--switch-focus-background-color:var(--switch-background-color);--switch-focus-shadow:0 0 0 0.5rem rgba(153, 160, 174, 0.2),\n 0 0 0 0.5rem rgba(255, 255, 255, 0.24),\n 0 0.0625rem 0.0625rem rgba(10, 11, 13, 0.16),\n 0 0.1875rem 0.5rem rgba(10, 11, 13, 0.15);--switch-focus-checked-shadow:var(--switch-focus-shadow);--switch-disabled-background-color:rgb(35, 40, 46);--switch-disabled-checked-background-color:rgba(31, 208, 214, 0.32);--switch-disabled-knob-color:rgb(67, 75, 86);--switch-disabled-checked-knob-color:rgb(10, 11, 13);--switch-disabled-text-color:rgb(67, 75, 86);--switch-outline-focus-color:var(--tc-blue-40-dark)}.switch__container{display:flex;gap:var(--switch-gap);flex-direction:var(--switch-flex-direction);justify-content:var(--switch-justify-content);align-items:center;cursor:pointer;user-select:none;color:var(--switch-text-color)}.switch__container:has(.switch__html-input:disabled){cursor:auto}.switch__container--focus-style:has(.switch__html-input:focus-visible){outline:0.125rem solid var(--switch-outline-focus-color);outline-offset:var(--switch-container-outline-offset);border-radius:0.125rem}.switch__container--align-start{align-items:flex-start}.switch__container--lg-inter,.switch__container--lg-gilroy{--switch-gap:1rem}.switch__state{position:absolute;content:"";top:0;bottom:0;left:0;right:0;border-radius:5.5rem;transition:background-color 0.15s ease;background-color:var(--switch-background-color)}.switch__html-input{position:absolute;opacity:0;width:0;height:0}.switch__html-input:hover~.switch__input .switch__state{background-color:var(--switch-hover-background-color)}.switch__html-input:active~.switch__input .switch__state{background-color:var(--switch-pressed-background-color)}.switch__html-input:focus~.switch__input::after{box-shadow:var(--switch-focus-shadow)}.switch__html-input:focus-visible~.switch__input.light{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.0625rem;transition:outline 0s}.switch__html-input:focus-visible~.switch__input.dark{outline:0.125rem solid var(--tc-blue-40);outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.0625rem;transition:outline 0s}.switch__html-input:focus-visible~.switch__input.switch__input--hide-focus-style{outline:none}.switch__html-input:focus-visible~.switch__input::after{--switch-focus-shadow:none}.switch__html-input:checked~.switch__input .switch__state{background-color:var(--switch-checked-background-color)}.switch__html-input:checked~.switch__input::after{translate:1.375rem;background-color:var(--switch-checked-knob-color)}.switch__html-input:checked:hover~.switch__input .switch__state{background-color:var(--switch-hover-checked-background-color)}.switch__html-input:checked:active~.switch__input .switch__state{background-color:var(--switch-pressed-checked-background-color)}.switch__html-input:checked:focus~.switch__input::after{box-shadow:var(--switch-focus-checked-shadow)}.switch__html-input:checked:focus-visible~.switch__input::after{--switch-focus-checked-shadow:none}.switch__html-input[disabled]~.switch__input .switch__state{background-color:var(--switch-disabled-background-color)}.switch__html-input[disabled]~.switch__input::after{box-shadow:none;background:var(--switch-disabled-knob-color)}.switch__html-input[disabled]~.switch__label{color:var(--switch-disabled-text-color)}.switch__html-input[disabled]:checked~.switch__input .switch__state{background-color:var(--switch-disabled-checked-background-color)}.switch__html-input[disabled]:checked~.switch__input::after{background-color:var(--switch-disabled-checked-knob-color)}.switch__input{position:relative;width:3rem;min-width:3rem;height:1.5rem;min-height:1.5rem;border-radius:5.5rem}.switch__input::after{content:"";display:block;transition:translate 0.15s ease;position:absolute;left:0.25rem;top:0.1875rem;width:1.125rem;height:1.125rem;border-radius:100%;box-shadow:0 0.0625rem 0.0625rem rgba(0, 0, 0, 0.16), 0 0.1875rem 0.5rem rgba(0, 0, 0, 0.15);background-color:var(--switch-knob-color)}.switch__label--sm{font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";line-height:1.5rem}.switch__label--md{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.switch__label--lg-inter{font:500 1.25rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.switch__label--lg-gilroy{font:600 1.25rem/1.5rem "Gilroy", "Gilroy, Arial, sans-serif"}.switch__label--left{text-align:right}';export{r as tet_switch}
1
+ import{r as t,c as o,h as e,H as i}from"./p-5abb3bea.js";const r=class{constructor(e){t(this,e),this.check=o(this,"check",7),this.theme="light",this.label=void 0,this.accessibilityLabel="",this.name=void 0,this.value=0,this.disabled=!1,this.checked=!1,this.labelFont="sm",this.alignCenter=!0,this.labelPosition="right",this.focusStyleOnContainer=!1}check;async setChecked(t){this.checked=t}handleChange(t){this.check.emit({value:this.value,checked:t.target.checked})}renderSwitch(){const{theme:t,labelFont:o}=this;return e("span",{class:{switch__input:!0,[t]:!0,"switch__input--hide-focus-style":this.focusStyleOnContainer,...o?{[`switch__input--${o}`]:!0}:{}}},e("span",{class:"switch__state"}))}render(){const{label:t,name:o,theme:r,disabled:n,checked:s,accessibilityLabel:c,labelFont:a,alignCenter:l,labelPosition:f}=this;return e(i,{key:"a2f5fbf46c4a6925b15fde78620558fa981bc121"},e("div",{key:"d6fd41a0ed4533989005d38f4ce6f32e0833953a",class:{switch:!0,[`${r}`]:!0}},e("label",{key:"05ed8fa0c0b11f04dc27dfc55ee1a6ba50f45d1a",class:{switch__container:!0,"switch__container--align-start":!l,[`switch__container--${a}`]:!0,"switch__container--focus-style":this.focusStyleOnContainer},part:"switch-container",htmlFor:"tet-switch"},e("input",{key:"b9a4fe2547549a24ae6c15f553c1ad39b13293e0",class:"switch__html-input",name:o,id:"tet-switch",type:"checkbox",disabled:n,checked:s,onChange:this.handleChange.bind(this),...c?{"aria-label":c}:{}}),"right"===f&&this.renderSwitch(),e("span",{key:"802f590c1fc0a8e9cc759ac29b2a24f338b07054",class:{switch__label:!0,..."left"===f?{"switch__label--left":!0}:{},...a?{[`switch__label--${a}`]:!0}:{}},innerHTML:t},e("slot",{key:"ce4f0fa080eb8d20a916b879eaac41c2ff009d04"})),"left"===f&&this.renderSwitch())))}};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{--switch-justify-content:normal;--switch-flex-direction:row;--switch-gap:0.75rem;--switch-container-outline-offset:0.125rem;--switch-text-color:var(--tc-text-primary);--switch-background-color:var(--tc-toggle-button-default);--switch-checked-background-color:var(--tc-toggle-button-active-default);--switch-knob-color:var(--tc-toggle-button-ellipse-default);--switch-checked-knob-color:var(--tc-toggle-button-ellipse-default);--switch-focus-background-color:var(--switch-background-color);--switch-focus-shadow:var(--tc-toggle-button-hover-shadow-centre), var(--tc-toggle-button-hover-shadow-raised);--switch-focus-checked-shadow:var(--switch-focus-shadow);--switch-hover-background-color:var(--tc-toggle-button-hover);--switch-hover-checked-background-color:var(--tc-toggle-button-active-hover);--switch-pressed-background-color:var(--switch-background-color);--switch-pressed-checked-background-color:var(--switch-checked-background-color);--switch-disabled-background-color:var(--tc-toggle-button-disabled);--switch-disabled-checked-background-color:var(--tc-toggle-button-active-disabled);--switch-disabled-knob-color:var(--tc-toggle-button-ellipse-disabled);--switch-disabled-checked-knob-color:var(--tc-toggle-button-ellipse-disabled);--switch-disabled-text-color:var(--tc-grey-40);--switch-outline-focus-color:var(--tc-blue-40);display:block;position:relative}.switch.dark{--switch-background-color:var(--tc-toggle-button-default-dark);--switch-checked-background-color:var(--tc-toggle-button-active-default-dark);--switch-knob-color:var(--tc-toggle-button-ellipse-default-dark);--switch-checked-knob-color:var(--tc-toggle-button-ellipse-default-dark);--switch-text-color:var(--tc-text-primary-dark);--switch-hover-background-color:var(--tc-toggle-button-hover-dark);--switch-hover-checked-background-color:var(--tc-toggle-button-active-hover-dark);--switch-pressed-background-color:var(--switch-background-color);--switch-pressed-checked-background-color:var(--switch-checked-background-color);--switch-focus-background-color:var(--switch-background-color-dark);--switch-focus-shadow:var(--tc-toggle-button-hover-shadow-centre-dark), var(--tc-toggle-button-hover-shadow-raised-dark);--switch-focus-checked-shadow:var(--switch-focus-shadow);--switch-disabled-background-color:var(--tc-toggle-button-disabled-dark);--switch-disabled-checked-background-color:var(--tc-toggle-button-active-disabled-dark);--switch-disabled-knob-color:var(--tc-toggle-button-ellipse-disabled-dark);--switch-disabled-checked-knob-color:var(--tc-toggle-button-ellipse-disabled-dark);--switch-disabled-text-color:var(--tc-grey-40-dark);--switch-outline-focus-color:var(--tc-blue-40-dark)}.switch.mint{--switch-background-color:rgb(67, 75, 86);--switch-checked-background-color:rgb(31, 208, 214);--switch-knob-color:rgb(255, 255, 255);--switch-checked-knob-color:rgb(10, 11, 13);--switch-text-color:rgb(255, 255, 255);--switch-hover-background-color:rgba(255, 255, 255, 0.3);--switch-hover-checked-background-color:rgb(24, 165, 170);--switch-focus-background-color:var(--switch-background-color);--switch-focus-shadow:0 0 0 0.5rem rgba(153, 160, 174, 0.2),\n 0 0 0 0.5rem rgba(255, 255, 255, 0.24),\n 0 0.0625rem 0.0625rem rgba(10, 11, 13, 0.16),\n 0 0.1875rem 0.5rem rgba(10, 11, 13, 0.15);--switch-focus-checked-shadow:var(--switch-focus-shadow);--switch-disabled-background-color:rgb(35, 40, 46);--switch-disabled-checked-background-color:rgba(31, 208, 214, 0.32);--switch-disabled-knob-color:rgb(67, 75, 86);--switch-disabled-checked-knob-color:rgb(10, 11, 13);--switch-disabled-text-color:rgb(67, 75, 86);--switch-outline-focus-color:var(--tc-blue-40-dark)}.switch__container{display:flex;gap:var(--switch-gap);flex-direction:var(--switch-flex-direction);justify-content:var(--switch-justify-content);align-items:center;cursor:pointer;user-select:none;color:var(--switch-text-color)}.switch__container:has(.switch__html-input:disabled){cursor:auto}.switch__container--focus-style:has(.switch__html-input:focus-visible){outline:0.125rem solid var(--switch-outline-focus-color);outline-offset:var(--switch-container-outline-offset);border-radius:0.125rem}.switch__container--align-start{align-items:flex-start}.switch__container--lg-inter,.switch__container--lg-gilroy{--switch-gap:1rem}.switch__state{position:absolute;content:"";top:0;bottom:0;left:0;right:0;border-radius:5.5rem;transition:background-color 0.15s ease;background-color:var(--switch-background-color)}.switch__html-input{position:absolute;opacity:0;width:0;height:0}.switch__html-input:hover~.switch__input .switch__state{background-color:var(--switch-hover-background-color)}.switch__html-input:active~.switch__input .switch__state{background-color:var(--switch-pressed-background-color)}.switch__html-input:focus~.switch__input::after{box-shadow:var(--switch-focus-shadow)}.switch__html-input:focus-visible~.switch__input.light{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.0625rem;transition:outline 0s}.switch__html-input:focus-visible~.switch__input.dark{outline:0.125rem solid var(--tc-blue-40);outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.0625rem;transition:outline 0s}.switch__html-input:focus-visible~.switch__input.switch__input--hide-focus-style{outline:none}.switch__html-input:focus-visible~.switch__input::after{--switch-focus-shadow:none}.switch__html-input:checked~.switch__input .switch__state{background-color:var(--switch-checked-background-color)}.switch__html-input:checked~.switch__input::after{translate:1.375rem;background-color:var(--switch-checked-knob-color)}.switch__html-input:checked:hover~.switch__input .switch__state{background-color:var(--switch-hover-checked-background-color)}.switch__html-input:checked:active~.switch__input .switch__state{background-color:var(--switch-pressed-checked-background-color)}.switch__html-input:checked:focus~.switch__input::after{box-shadow:var(--switch-focus-checked-shadow)}.switch__html-input:checked:focus-visible~.switch__input::after{--switch-focus-checked-shadow:none}.switch__html-input[disabled]~.switch__input .switch__state{background-color:var(--switch-disabled-background-color)}.switch__html-input[disabled]~.switch__input::after{box-shadow:none;background:var(--switch-disabled-knob-color)}.switch__html-input[disabled]~.switch__label{color:var(--switch-disabled-text-color)}.switch__html-input[disabled]:checked~.switch__input .switch__state{background-color:var(--switch-disabled-checked-background-color)}.switch__html-input[disabled]:checked~.switch__input::after{background-color:var(--switch-disabled-checked-knob-color)}.switch__input{position:relative;width:3rem;min-width:3rem;height:1.5rem;min-height:1.5rem;border-radius:5.5rem}.switch__input::after{content:"";display:block;transition:translate 0.15s ease;position:absolute;left:0.25rem;top:0.1875rem;width:1.125rem;height:1.125rem;border-radius:100%;box-shadow:0 0.0625rem 0.0625rem rgba(0, 0, 0, 0.16), 0 0.1875rem 0.5rem rgba(0, 0, 0, 0.15);background-color:var(--switch-knob-color)}.switch__label--sm{font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";line-height:1.5rem}.switch__label--md{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.switch__label--lg-inter{font:500 1.25rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.switch__label--lg-gilroy{font:600 1.25rem/1.5rem "Gilroy", "Gilroy, Arial, sans-serif"}.switch__label--left{text-align:right}';export{r as tet_switch}
@@ -1 +1 @@
1
- import{r as t,c as e,g as o,h as r,H as a}from"./p-83f43fdd.js";import"./p-0ebbf5ef.js";import{p as i}from"./p-778c46a6.js";import{f as n}from"./p-25c9957d.js";import"./p-6e631dc7.js";const s=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","iframe",'[tabindex]:not([tabindex="-1"])',"audio[controls]","video[controls]","[contenteditable]"],c=t=>{if(!t)return!1;if((t=>t.matches(s.join(",")))(t))return!0;if(t instanceof HTMLElement&&t.shadowRoot&&t.shadowRoot.querySelectorAll(s.join(",")).length>0)return!0;for(const e of Array.from(t.children))if(c(e))return!0;return!1},l=class{constructor(o){t(this,o),this.compareCardDataChange=e(this,"compareCardDataChange",7),this.compareCardsDidRender=e(this,"compareCardsDidRender",7),this.data=void 0,this.vatText=void 0,this.forceColumn=void 0,this.theme=void 0,this.layout="default",this.cardScript=void 0,this.changedProductCode=void 0,this.isNetflixCard=!1,this.darkMode=!1,this.initializedState=!1,this.showLoader=!0}onDataChange(){this.compareCardDataChange.emit(),this.initializedState=!0}compareCardDataChange;compareCardsDidRender;onOptionSelected(t){const e=[];this.changedProductCode=t.detail.value,e.push(this.changedProductCode),this.getProductData(e.join(","),!1)}get host(){return o(this)}async componentWillLoad(){let t=[];this.data.forEach((e=>{void 0!==e.productCode&&(t.includes(e.productCode)||t.push(e.productCode))})),t.length>0?await this.getProductData(t.join(",")):this.showLoader=!1}async componentDidRender(){this.compareCardsDidRender.emit()}getProductData(t,e=!0){e&&(this.showLoader=!0),i(t).then((t=>{const e=[];this.data.forEach((o=>{let r=o.productCode;o.isNetflixCard&&(this.changedProductCode===o.secondaryProductCode?r=o.secondaryProductCode:this.changedProductCode===o.productCode&&(r=o.productCode));const a=t.products[r];a&&(o=n(o,r,a,this.theme)),e.push(o)})),this.data=e,this.showLoader=!1}))}renderLoader=()=>r("div",{class:"cards"},[...Array(3)].map((()=>[r("tet-placeholder",{class:"tet-placeholder",height:"27rem",width:"21.5rem",darkTheme:this.darkMode})])));render(){return r(a,{key:"e2d052ee7958b0599ca57716e093f5b32fa876b2",class:{"must-initialize":!0,initialized:this.initializedState}},this.showLoader?this.renderLoader():r("div",{class:{"tet-compare-cards-wrapper":!0,"force-column":this.forceColumn}},r("div",{class:{cards:!0,[`${this.layout}`]:!0}},this.data.map(((t,e)=>r("tet-compare-card",{class:{"tet-compare-card":!0,"tet-compare-card--thumbnail":!!t.thumbnail},index:e,language:t.language,options:t.options,"card-type":t.cardType,theme:t.theme,"best-choice":t.bestChoice,"color-icons":t.colorIcons,"full-height":t.fullHeight,"card-header":t.cardHeader,logo:t.logo,image:t.image,"card-background-color":t.cardBackgroundColor,"card-script":t.cardScript,hideBestChoiceBorder:t.hideBestChoiceBorder,withBorder:t.withBorder,"best-choice-text-position":t.bestChoiceTextPosition,bestChoiceTextFloating:t.bestChoiceTextFloating,priceShownVertically:t.priceShownVertically,"secondary-link-position":t.secondaryLinkPosition,thumbnail:t.thumbnail,thumbnailAlt:t.thumbnailAlt,showBulletPoints:t.showBulletPoints,showSubTitle:t.showSubTitle,showHelper:t.showHelper,isNetflixCard:t.isNetflixCard,darkMode:this.darkMode},r("div",{slot:"image-slot"},r("img",{style:{width:"100%"},src:t.image,alt:(t.image??"").split("/")?.pop()?.split(".")[0]??t.image})),r("div",{slot:"logo-slot"},r("img",{style:{width:"100%"},src:t.logo,alt:(t.logo??"").split("/")?.pop()?.split(".")[0]??t.logo})),r("div",{slot:"description-slot",innerHTML:t.cardDescription,class:this.darkMode?"dark":""}))))),this.vatText?r("div",{class:"vat"},r("div",{class:"vat__text",innerHTML:this.vatText})):""),this.cardScript?r("link",{href:this.cardScript,rel:"stylesheet",type:"text/css"}):"")}static get watchers(){return{data:["onDataChange"]}}};l.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)}:root{--tet-link-color:var(--tc-text-primary);--tet-link-color-hover:var(--tc-text-secondary);--tet-link-color-active:var(--tc-text-tertiary);--tet-link-color-focus:var(--tc-blue-40);--tet-link-color-disabled:var(--tc-button-text-inverse-disabled);--tet-link-secondary-color:var(--tc-text-secondary);--tet-link-secondary-color-hover:var(--tc-text-primary)}.tet-link,.tet-link__arrow{text-decoration-line:underline;text-decoration-style:solid;text-decoration-skip-ink:none;text-decoration-thickness:auto;text-underline-offset:auto;text-underline-position:from-font;color:var(--tet-link-color);position:relative;line-height:1.5rem;cursor:pointer}.tet-link.dark,.tet-link__arrow.dark{--tet-link-color:var(--tc-text-primary-dark);--tet-link-color-hover:var(--tc-text-secondary-dark);--tet-link-color-active:var(--tc-text-tertiary-dark);--tet-link-color-focus:var(--tc-blue-40-dark);--tet-link-color-disabled:var(--tc-button-text-inverse-disabled-dark);--tet-link-secondary-color:var(--tc-text-secondary-dark);--tet-link-secondary-color-hover:var(--tc-text-primary-dark)}.tet-link.tet-link--secondary,.tet-link__arrow.tet-link--secondary{--tet-link-color:var(--tet-link-secondary-color);--tet-link-color-hover:var(--tet-link-secondary-color-hover)}.tet-link tet-icon,.tet-link__arrow tet-icon{--icon-color:var(--tet-link-color)}.tet-link:hover,.tet-link__arrow:hover{color:var(--tet-link-color-hover)}.tet-link:hover tet-icon,.tet-link__arrow:hover tet-icon{--icon-color:var(--tet-link-color-hover)}.tet-link:active,.tet-link__arrow:active{color:var(--tet-link-color-active)}.tet-link:active tet-icon,.tet-link__arrow:active tet-icon{--icon-color:var(--tet-link-color-active)}.tet-link:focus-visible,.tet-link__arrow:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s;outline-color:var(--tet-link-color-focus);border-radius:0.125rem}.tet-link.disabled,.tet-link__arrow.disabled{color:var(--tet-link-color-disabled);pointer-events:none;cursor:auto}.tet-link.disabled tet-icon,.tet-link__arrow.disabled tet-icon{--icon-color:var(--tet-link-color-disabled)}.tet-link.disabled:focus-visible,.tet-link__arrow.disabled:focus-visible{outline:none}.tet-link tet-icon,.tet-link__arrow tet-icon{padding-left:0.25rem;padding-right:0.25rem;--icon-container-display:inline-block}.tet-link__arrow{padding-right:1.5rem}.tet-link__arrow::after{content:"--\x3e";position:absolute;white-space:nowrap;display:inline-block;text-decoration:none;padding-left:0.25rem;letter-spacing:initial;transition:all 0.15s ease-in}.tet-link__arrow:hover::after{padding-left:0.375rem}:host{--compare-cards-wrap:nowrap;--compare-cards-flex-direction:row;--compare-cards-flex-align-items:center;--compare-cards-padding:1.5rem;--compare-cards-price-padding:0;--compare-cards-border-radius:1.5rem;--compare-cards-new-price-font-size:2.5rem;--compare-cards-old-price-font-size:1rem;--compare-cards-new-currency-font-size:1.125rem;--compare-cards-title-margin-top:1.25rem;--compare-cards-helper-margin-top:0;--compare-cards-card-max-width:32rem;--compare-cards-price-wrapper-margin-top:auto;--compare-cards-secondary-link-font-size:0.75rem;--compare-cards-price-line-height:3rem;--compare-cards-thumbnail-display:flex;--compare-cards-thumbnail-card-radius:0 var(--compare-cards-border-radius) var(--compare-cards-border-radius) 0;--compare-cards-thumbnail-card-width:44rem;display:block}:host([theme=dark]) .card,:host([theme=dark]){--compare-card-background-color:var(--tc-background-primary-dark);--compare-cards-background:var(--tc-background-primary-dark);--compare-cards-card-background:var(--tc-background-secondary-dark);--compare-cards-text-color:var(--tc-text-primary-dark);--compare-cards-border-color:var(--tc-border-secondary-dark);--compare-cards-link-color:var(--tc-text-link-dark);--compare-cards-price-color:var(--tc-text-primary-dark)}.vat{color:var(--color-text-secondary);font:400 0.75rem/1rem Inter, Gilroy, Arial, sans-serif;display:flex;justify-content:center}.vat__text{width:100%;text-align:center;padding-top:0.5rem}.cards{display:flex;flex-direction:var(--compare-cards-flex-direction);flex-wrap:var(--compare-cards-wrap);gap:1rem;justify-content:center}.cards>*:nth-child(n+5){margin-top:1rem}.cards .tet-placeholder{--placeholder-border-radius:1.5rem}.cards .tet-compare-card{--compare-card-padding:var(--compare-cards-padding);--compare-card-price-padding:var(--compare-cards-price-padding);--compare-card-border-radius:var(--compare-cards-border-radius);--compare-card-new-price-font-size:var(--compare-cards-new-price-font-size);--compare-card-old-price-font-size:var(--compare-cards-old-price-font-size);--compare-card-new-currency-font-size:var(--compare-cards-new-currency-font-size);--compare-card-title-margin-top:var(--compare-cards-title-margin-top);--compare-card-helper-margin-top:var(--compare-cards-helper-margin-top);--compare-card-price-wrapper-margin-top:var(--compare-cards-price-wrapper-margin-top);--compare-card-secondary-link-font-size:var(--compare-cards-secondary-link-font-size);--compare-card-price-line-height:var(--compare-cards-price-line-height);--compare-card-thumbnail-display:var(--compare-cards-thumbnail-display);--compare-card-thumbnail-card-radius:var(--compare-cards-thumbnail-card-radius);--compare-card-thumbnail-card-width:var(--compare-cards-thumbnail-card-width)}.cards .tet-compare-card.dark{--compare-card-background-color:var(--tc-background-primary-dark);--compare-cards-background:var(--tc-background-primary-dark);--compare-cards-card-background:var(--tc-background-secondary-dark);--compare-cards-text-color:var(--tc-text-primary-dark);--compare-cards-border-color:var(--tc-border-secondary-dark);--compare-cards-link-color:var(--tc-text-link-dark);--compare-cards-price-color:var(--tc-text-primary-dark)}.cards .tet-compare-card--thumbnail{--compare-cards-card-max-width:var(--compare-card-thumbnail-card-width)}.cards .tet-compare-card[card-type=regular]{max-width:var(--compare-cards-card-max-width);width:100%}.cards.column-two{display:grid;grid-template-columns:repeat(2, minmax(19rem, 25rem))}.force-column .cards.column-two{grid-template-columns:minmax(1rem, 32rem)}.cards.column-four{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:1rem}.force-column .cards{--compare-cards-wrap:wrap;--compare-cards-flex-direction:column;align-items:var(--compare-cards-flex-align-items)}.force-column .cards>:nth-child(-n+4){margin-top:1rem}';const d=class{constructor(o){t(this,o),this.select=e(this,"tabSelected",7),this.dataName=void 0,this.defaultTab=0,this.parentContainer=document,this.useVisibility=!1,this.selectedId=void 0,this.previousDataName=void 0,this.previousParentContainer=void 0,this.theme=void 0}get element(){return o(this)}tabContentSlides=[];select;themeObserver;componentWillLoad(){this.previousDataName=this.dataName,this.previousParentContainer=this.parentContainer}componentDidLoad(){this.init(),this.selectTab(this.defaultTab)}onDataNameChange(t){t&&(this.detachOldListeners(),this.previousDataName=this.dataName,this.initTabEventHandler())}onParentContainerChange(){this.detachOldListeners(),this.previousParentContainer=this.parentContainer,this.initTabEventHandler()}async init(){this.initTabContentSlides(),this.initTabEventHandler(),this.initParentTheme()}initParentTheme(){const t=this.parentContainer.querySelector(`tet-tab-header[data-name="${this.dataName}"]`);this.theme=t?.getAttribute("theme")??""}initTabContentSlides(){this.tabContentSlides=Array.from(this.element.children);const t=this.parentContainer.querySelector(`tet-tab-header[data-name="${this.dataName}"]`),e=t?.getAttribute("data-id-suffix")??"";this.tabContentSlides.forEach(((t,o)=>{const r=t.firstElementChild;let a=!1;r&&(a=c(r)),t.setAttribute("role","tabpanel"),t.setAttribute("tabindex",a?"-1":"0"),t.setAttribute("id",`tabpanel-${o+1}-${e}`),t.setAttribute("aria-labelledby",`tab-${o+1}-${e}`),t.setAttribute("aria-hidden","true")}))}initTabEventHandler(){this.parentContainer.querySelectorAll(`tet-tab-header[data-name="${this.dataName}"]`).forEach(((t,e)=>{t.addEventListener("tabSelected",this.onTabSelect),0===e&&(this.themeObserver=new MutationObserver((t=>{t.forEach((t=>{"attributes"===t.type&&"theme"===t.attributeName&&this.initParentTheme()}))})),this.themeObserver.observe(t,{attributes:!0,attributeFilter:["theme"]}))}))}detachOldListeners(){this.themeObserver&&this.themeObserver.disconnect(),this.previousParentContainer.querySelectorAll(`tet-tab-header[data-name="${this.previousDataName}"]`).forEach((t=>{t.removeEventListener("tabSelected",this.onTabSelect)}))}onTabSelect=t=>{this.selectTab(t.detail.new)};async selectTab(t){if(!this.tabContentSlides.length)return;const e=Number.parseInt(t.toString());e.toString()===t.toString()&&(t=e),this.tabContentSlides.forEach((t=>{t.classList.remove("active"),t.setAttribute("aria-hidden","true")}));let o=this.tabContentSlides[0];if("number"==typeof t)this.tabContentSlides[t]&&(o=this.tabContentSlides[t]);else{const e=this.tabContentSlides.find((e=>e.getAttribute("data-name")===t));e&&(o=e)}o.classList.add("active"),o.setAttribute("aria-hidden","false"),this.select.emit({new:t,old:this.selectedId}),this.selectedId=t}render(){return r(a,{key:"a567d620d93075119d2ea82a9aae9776ccc40cf8"},r("div",{key:"f43642bac52e9c0445f8ad14b23f8abbf4e1bd09",class:{"tet-tab-content":!0,"use-visibility":this.useVisibility,[this.theme]:!0}},r("slot",{key:"a38441ae67caf017c2e56fec1238bee39602cad1"})))}static get watchers(){return{dataName:["onDataNameChange"],parentContainer:["onParentContainerChange"]}}};d.style=".tet-tab-content ::slotted(*){display:none}.tet-tab-content ::slotted(.active){display:block}.tet-tab-content ::slotted(.active:focus-visible){outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s;border-radius:0.125rem}.tet-tab-content.dark ::slotted(.active:focus-visible){outline:0.125rem solid var(--tc-blue-40);outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.125rem;transition:outline 0s}.tet-tab-content.use-visibility ::slotted(*){visibility:hidden;position:absolute;top:-9999px;left:-9999px;right:9999px;display:block}.tet-tab-content.use-visibility ::slotted(.active){visibility:revert;position:relative;top:0;left:0}";export{l as tet_compare_cards,d as tet_tab_content}
1
+ import{r as t,c as e,g as o,h as r,H as a}from"./p-5abb3bea.js";import"./p-726651bc.js";import{p as i}from"./p-3ac57578.js";import{f as n}from"./p-25c9957d.js";import"./p-6e631dc7.js";const s=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","iframe",'[tabindex]:not([tabindex="-1"])',"audio[controls]","video[controls]","[contenteditable]"],c=t=>{if(!t)return!1;if((t=>t.matches(s.join(",")))(t))return!0;if(t instanceof HTMLElement&&t.shadowRoot&&t.shadowRoot.querySelectorAll(s.join(",")).length>0)return!0;for(const e of Array.from(t.children))if(c(e))return!0;return!1},l=class{constructor(o){t(this,o),this.compareCardDataChange=e(this,"compareCardDataChange",7),this.compareCardsDidRender=e(this,"compareCardsDidRender",7),this.data=void 0,this.vatText=void 0,this.forceColumn=void 0,this.theme=void 0,this.layout="default",this.cardScript=void 0,this.changedProductCode=void 0,this.isNetflixCard=!1,this.darkMode=!1,this.initializedState=!1,this.showLoader=!0}onDataChange(){this.compareCardDataChange.emit(),this.initializedState=!0}compareCardDataChange;compareCardsDidRender;onOptionSelected(t){const e=[];this.changedProductCode=t.detail.value,e.push(this.changedProductCode),this.getProductData(e.join(","),!1)}get host(){return o(this)}async componentWillLoad(){let t=[];this.data.forEach((e=>{void 0!==e.productCode&&(t.includes(e.productCode)||t.push(e.productCode))})),t.length>0?await this.getProductData(t.join(",")):this.showLoader=!1}async componentDidRender(){this.compareCardsDidRender.emit()}getProductData(t,e=!0){e&&(this.showLoader=!0),i(t).then((t=>{const e=[];this.data.forEach((o=>{let r=o.productCode;o.isNetflixCard&&(this.changedProductCode===o.secondaryProductCode?r=o.secondaryProductCode:this.changedProductCode===o.productCode&&(r=o.productCode));const a=t.products[r];a&&(o=n(o,r,a,this.theme)),e.push(o)})),this.data=e,this.showLoader=!1}))}renderLoader=()=>r("div",{class:"cards"},[...Array(3)].map((()=>[r("tet-placeholder",{class:"tet-placeholder",height:"27rem",width:"21.5rem",darkTheme:this.darkMode})])));render(){return r(a,{key:"e2d052ee7958b0599ca57716e093f5b32fa876b2",class:{"must-initialize":!0,initialized:this.initializedState}},this.showLoader?this.renderLoader():r("div",{class:{"tet-compare-cards-wrapper":!0,"force-column":this.forceColumn}},r("div",{class:{cards:!0,[`${this.layout}`]:!0}},this.data.map(((t,e)=>r("tet-compare-card",{class:{"tet-compare-card":!0,"tet-compare-card--thumbnail":!!t.thumbnail},index:e,language:t.language,options:t.options,"card-type":t.cardType,theme:t.theme,"best-choice":t.bestChoice,"color-icons":t.colorIcons,"full-height":t.fullHeight,"card-header":t.cardHeader,logo:t.logo,image:t.image,"card-background-color":t.cardBackgroundColor,"card-script":t.cardScript,hideBestChoiceBorder:t.hideBestChoiceBorder,withBorder:t.withBorder,"best-choice-text-position":t.bestChoiceTextPosition,bestChoiceTextFloating:t.bestChoiceTextFloating,priceShownVertically:t.priceShownVertically,"secondary-link-position":t.secondaryLinkPosition,thumbnail:t.thumbnail,thumbnailAlt:t.thumbnailAlt,showBulletPoints:t.showBulletPoints,showSubTitle:t.showSubTitle,showHelper:t.showHelper,isNetflixCard:t.isNetflixCard,darkMode:this.darkMode},r("div",{slot:"image-slot"},r("img",{style:{width:"100%"},src:t.image,alt:(t.image??"").split("/")?.pop()?.split(".")[0]??t.image})),r("div",{slot:"logo-slot"},r("img",{style:{width:"100%"},src:t.logo,alt:(t.logo??"").split("/")?.pop()?.split(".")[0]??t.logo})),r("div",{slot:"description-slot",innerHTML:t.cardDescription,class:this.darkMode?"dark":""}))))),this.vatText?r("div",{class:"vat"},r("div",{class:"vat__text",innerHTML:this.vatText})):""),this.cardScript?r("link",{href:this.cardScript,rel:"stylesheet",type:"text/css"}):"")}static get watchers(){return{data:["onDataChange"]}}};l.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)}:root{--tet-link-color:var(--tc-text-primary);--tet-link-color-hover:var(--tc-text-secondary);--tet-link-color-active:var(--tc-text-tertiary);--tet-link-color-focus:var(--tc-blue-40);--tet-link-color-disabled:var(--tc-button-text-inverse-disabled);--tet-link-secondary-color:var(--tc-text-secondary);--tet-link-secondary-color-hover:var(--tc-text-primary)}.tet-link,.tet-link__arrow{text-decoration-line:underline;text-decoration-style:solid;text-decoration-skip-ink:none;text-decoration-thickness:auto;text-underline-offset:auto;text-underline-position:from-font;color:var(--tet-link-color);position:relative;line-height:1.5rem;cursor:pointer}.tet-link.dark,.tet-link__arrow.dark{--tet-link-color:var(--tc-text-primary-dark);--tet-link-color-hover:var(--tc-text-secondary-dark);--tet-link-color-active:var(--tc-text-tertiary-dark);--tet-link-color-focus:var(--tc-blue-40-dark);--tet-link-color-disabled:var(--tc-button-text-inverse-disabled-dark);--tet-link-secondary-color:var(--tc-text-secondary-dark);--tet-link-secondary-color-hover:var(--tc-text-primary-dark)}.tet-link.tet-link--secondary,.tet-link__arrow.tet-link--secondary{--tet-link-color:var(--tet-link-secondary-color);--tet-link-color-hover:var(--tet-link-secondary-color-hover)}.tet-link tet-icon,.tet-link__arrow tet-icon{--icon-color:var(--tet-link-color)}.tet-link:hover,.tet-link__arrow:hover{color:var(--tet-link-color-hover)}.tet-link:hover tet-icon,.tet-link__arrow:hover tet-icon{--icon-color:var(--tet-link-color-hover)}.tet-link:active,.tet-link__arrow:active{color:var(--tet-link-color-active)}.tet-link:active tet-icon,.tet-link__arrow:active tet-icon{--icon-color:var(--tet-link-color-active)}.tet-link:focus-visible,.tet-link__arrow:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s;outline-color:var(--tet-link-color-focus);border-radius:0.125rem}.tet-link.disabled,.tet-link__arrow.disabled{color:var(--tet-link-color-disabled);pointer-events:none;cursor:auto}.tet-link.disabled tet-icon,.tet-link__arrow.disabled tet-icon{--icon-color:var(--tet-link-color-disabled)}.tet-link.disabled:focus-visible,.tet-link__arrow.disabled:focus-visible{outline:none}.tet-link tet-icon,.tet-link__arrow tet-icon{padding-left:0.25rem;padding-right:0.25rem;--icon-container-display:inline-block}.tet-link__arrow{padding-right:1.5rem}.tet-link__arrow::after{content:"--\x3e";position:absolute;white-space:nowrap;display:inline-block;text-decoration:none;padding-left:0.25rem;letter-spacing:initial;transition:all 0.15s ease-in}.tet-link__arrow:hover::after{padding-left:0.375rem}:host{--compare-cards-wrap:nowrap;--compare-cards-flex-direction:row;--compare-cards-flex-align-items:center;--compare-cards-padding:1.5rem;--compare-cards-price-padding:0;--compare-cards-border-radius:1.5rem;--compare-cards-new-price-font-size:2.5rem;--compare-cards-old-price-font-size:1rem;--compare-cards-new-currency-font-size:1.125rem;--compare-cards-title-margin-top:1.25rem;--compare-cards-helper-margin-top:0;--compare-cards-card-max-width:32rem;--compare-cards-price-wrapper-margin-top:auto;--compare-cards-secondary-link-font-size:0.75rem;--compare-cards-price-line-height:3rem;--compare-cards-thumbnail-display:flex;--compare-cards-thumbnail-card-radius:0 var(--compare-cards-border-radius) var(--compare-cards-border-radius) 0;--compare-cards-thumbnail-card-width:44rem;display:block}:host([theme=dark]) .card,:host([theme=dark]){--compare-card-background-color:var(--tc-background-primary-dark);--compare-cards-background:var(--tc-background-primary-dark);--compare-cards-card-background:var(--tc-background-secondary-dark);--compare-cards-text-color:var(--tc-text-primary-dark);--compare-cards-border-color:var(--tc-border-secondary-dark);--compare-cards-link-color:var(--tc-text-link-dark);--compare-cards-price-color:var(--tc-text-primary-dark)}.vat{color:var(--color-text-secondary);font:400 0.75rem/1rem Inter, Gilroy, Arial, sans-serif;display:flex;justify-content:center}.vat__text{width:100%;text-align:center;padding-top:0.5rem}.cards{display:flex;flex-direction:var(--compare-cards-flex-direction);flex-wrap:var(--compare-cards-wrap);gap:1rem;justify-content:center}.cards>*:nth-child(n+5){margin-top:1rem}.cards .tet-placeholder{--placeholder-border-radius:1.5rem}.cards .tet-compare-card{--compare-card-padding:var(--compare-cards-padding);--compare-card-price-padding:var(--compare-cards-price-padding);--compare-card-border-radius:var(--compare-cards-border-radius);--compare-card-new-price-font-size:var(--compare-cards-new-price-font-size);--compare-card-old-price-font-size:var(--compare-cards-old-price-font-size);--compare-card-new-currency-font-size:var(--compare-cards-new-currency-font-size);--compare-card-title-margin-top:var(--compare-cards-title-margin-top);--compare-card-helper-margin-top:var(--compare-cards-helper-margin-top);--compare-card-price-wrapper-margin-top:var(--compare-cards-price-wrapper-margin-top);--compare-card-secondary-link-font-size:var(--compare-cards-secondary-link-font-size);--compare-card-price-line-height:var(--compare-cards-price-line-height);--compare-card-thumbnail-display:var(--compare-cards-thumbnail-display);--compare-card-thumbnail-card-radius:var(--compare-cards-thumbnail-card-radius);--compare-card-thumbnail-card-width:var(--compare-cards-thumbnail-card-width)}.cards .tet-compare-card.dark{--compare-card-background-color:var(--tc-background-primary-dark);--compare-cards-background:var(--tc-background-primary-dark);--compare-cards-card-background:var(--tc-background-secondary-dark);--compare-cards-text-color:var(--tc-text-primary-dark);--compare-cards-border-color:var(--tc-border-secondary-dark);--compare-cards-link-color:var(--tc-text-link-dark);--compare-cards-price-color:var(--tc-text-primary-dark)}.cards .tet-compare-card--thumbnail{--compare-cards-card-max-width:var(--compare-card-thumbnail-card-width)}.cards .tet-compare-card[card-type=regular]{max-width:var(--compare-cards-card-max-width);width:100%}.cards.column-two{display:grid;grid-template-columns:repeat(2, minmax(19rem, 25rem))}.force-column .cards.column-two{grid-template-columns:minmax(1rem, 32rem)}.cards.column-four{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:1rem}.force-column .cards{--compare-cards-wrap:wrap;--compare-cards-flex-direction:column;align-items:var(--compare-cards-flex-align-items)}.force-column .cards>:nth-child(-n+4){margin-top:1rem}';const d=class{constructor(o){t(this,o),this.select=e(this,"tabSelected",7),this.dataName=void 0,this.defaultTab=0,this.parentContainer=document,this.useVisibility=!1,this.selectedId=void 0,this.previousDataName=void 0,this.previousParentContainer=void 0,this.theme=void 0}get element(){return o(this)}tabContentSlides=[];select;themeObserver;componentWillLoad(){this.previousDataName=this.dataName,this.previousParentContainer=this.parentContainer}componentDidLoad(){this.init(),this.selectTab(this.defaultTab)}onDataNameChange(t){t&&(this.detachOldListeners(),this.previousDataName=this.dataName,this.initTabEventHandler())}onParentContainerChange(){this.detachOldListeners(),this.previousParentContainer=this.parentContainer,this.initTabEventHandler()}async init(){this.initTabContentSlides(),this.initTabEventHandler(),this.initParentTheme()}initParentTheme(){const t=this.parentContainer.querySelector(`tet-tab-header[data-name="${this.dataName}"]`);this.theme=t?.getAttribute("theme")??""}initTabContentSlides(){this.tabContentSlides=Array.from(this.element.children);const t=this.parentContainer.querySelector(`tet-tab-header[data-name="${this.dataName}"]`),e=t?.getAttribute("data-id-suffix")??"";this.tabContentSlides.forEach(((t,o)=>{const r=t.firstElementChild;let a=!1;r&&(a=c(r)),t.setAttribute("role","tabpanel"),t.setAttribute("tabindex",a?"-1":"0"),t.setAttribute("id",`tabpanel-${o+1}-${e}`),t.setAttribute("aria-labelledby",`tab-${o+1}-${e}`),t.setAttribute("aria-hidden","true")}))}initTabEventHandler(){this.parentContainer.querySelectorAll(`tet-tab-header[data-name="${this.dataName}"]`).forEach(((t,e)=>{t.addEventListener("tabSelected",this.onTabSelect),0===e&&(this.themeObserver=new MutationObserver((t=>{t.forEach((t=>{"attributes"===t.type&&"theme"===t.attributeName&&this.initParentTheme()}))})),this.themeObserver.observe(t,{attributes:!0,attributeFilter:["theme"]}))}))}detachOldListeners(){this.themeObserver&&this.themeObserver.disconnect(),this.previousParentContainer.querySelectorAll(`tet-tab-header[data-name="${this.previousDataName}"]`).forEach((t=>{t.removeEventListener("tabSelected",this.onTabSelect)}))}onTabSelect=t=>{this.selectTab(t.detail.new)};async selectTab(t){if(!this.tabContentSlides.length)return;const e=Number.parseInt(t.toString());e.toString()===t.toString()&&(t=e),this.tabContentSlides.forEach((t=>{t.classList.remove("active"),t.setAttribute("aria-hidden","true")}));let o=this.tabContentSlides[0];if("number"==typeof t)this.tabContentSlides[t]&&(o=this.tabContentSlides[t]);else{const e=this.tabContentSlides.find((e=>e.getAttribute("data-name")===t));e&&(o=e)}o.classList.add("active"),o.setAttribute("aria-hidden","false"),this.select.emit({new:t,old:this.selectedId}),this.selectedId=t}render(){return r(a,{key:"a567d620d93075119d2ea82a9aae9776ccc40cf8"},r("div",{key:"f43642bac52e9c0445f8ad14b23f8abbf4e1bd09",class:{"tet-tab-content":!0,"use-visibility":this.useVisibility,[this.theme]:!0}},r("slot",{key:"a38441ae67caf017c2e56fec1238bee39602cad1"})))}static get watchers(){return{dataName:["onDataNameChange"],parentContainer:["onParentContainerChange"]}}};d.style=".tet-tab-content ::slotted(*){display:none}.tet-tab-content ::slotted(.active){display:block}.tet-tab-content ::slotted(.active:focus-visible){outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s;border-radius:0.125rem}.tet-tab-content.dark ::slotted(.active:focus-visible){outline:0.125rem solid var(--tc-blue-40);outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.125rem;transition:outline 0s}.tet-tab-content.use-visibility ::slotted(*){visibility:hidden;position:absolute;top:-9999px;left:-9999px;right:9999px;display:block}.tet-tab-content.use-visibility ::slotted(.active){visibility:revert;position:relative;top:0;left:0}";export{l as tet_compare_cards,d as tet_tab_content}
@@ -1 +1 @@
1
- import{r as t,c as e,f as s,h as i,H as o}from"./p-83f43fdd.js";import{p as a,t as h}from"./p-a8051a99.js";import"./p-9a2b6ee2.js";import"./p-0ebbf5ef.js";const n=class{constructor(s){t(this,s),this.closeDialog=e(this,"closeDialog",7),this.openDialog=e(this,"openDialog",7),this.content="",this.steps=[],this.isOpen=!1,this.dialogDataScreenKey="",this.tetDialogClass="",this.language="lv",this.isKeydownFocus=!1,this.theme="light"}stepBlocks=[];prevButton;nextButton;tetDialog;closeDialog;openDialog;async componentWillLoad(){a("tet-components",this.language).then((()=>s(this)))}componentDidLoad(){this.setActive(!1),this.prevButton.addEventListener("click",(()=>{this.setActive(!0),this.prevButton.shadowRoot.querySelector("button")?.blur(),this.isKeydownFocus&&("none"!==this.prevButton.style.display?this.prevButton.focus():this.nextButton.focus())})),this.nextButton.addEventListener("click",(()=>{this.setActive(!1),this.nextButton.shadowRoot.querySelector("button")?.blur(),this.isKeydownFocus&&("none"!==this.nextButton.style.display?this.nextButton.focus():this.prevButton.focus())}))}setStepBlocks=t=>{t&&this.stepBlocks.push(t)};setActive=t=>{const e=Array.from(this.stepBlocks).find((t=>t.classList.contains("active"))),s=e?Number(e.getAttribute("data-step")):0,i=t?s-1:s+1,o=Array.from(this.stepBlocks),a=o.find((t=>Number(t.getAttribute("data-step"))===i));a&&(this.stepBlocks.forEach((t=>{t.style.display="none",t.classList.remove("active")})),a.classList.add("active"),a.style.display="block",this.updateButtonVisibility(i,o))};updateButtonVisibility=(t,e)=>{const s=e.find((e=>Number(e.getAttribute("data-step"))===t+1)),i=e.find((e=>Number(e.getAttribute("data-step"))===t-1));this.nextButton.style.display=s?"block":"none",this.prevButton.style.display=i?"block":"none",this.tetDialog.setAttribute("footer-display",s?i?"between":"right":"left")};handleKeydownEvent=t=>{["Enter"," "].includes(t.key)&&(this.isKeydownFocus=!0)};handleCloseDialog=t=>{t.stopPropagation(),this.closeDialog.emit(t.detail)};handleOpenDialog=t=>{t.stopPropagation(),this.openDialog.emit(t.detail)};renderStep(t,e){return i("div",{innerHTML:t,"data-step":Number(e)+1,class:"multi-step-dialog__step",ref:this.setStepBlocks})}render(){return i(o,{key:"46097ca233a86db428b88353a164f323619f63a2",class:"multi-step-dialog"},i("tet-dialog",{key:"c15d6b2ca7403f8caa99f6e23eeec9a3e5e18810",class:this.tetDialogClass,"is-open":this.isOpen,"data-screen-key":this.dialogDataScreenKey,"footer-display":"right",ref:t=>this.tetDialog=t,theme:this.theme,onCloseDialog:this.handleCloseDialog,onOpenDialog:this.handleOpenDialog},i("div",{key:"ea11040591680bd2cb5815ea9020ac26b729f815",innerHTML:this.content}),this.steps.map(((t,e)=>this.renderStep(t,e))),i("tet-button",{key:"54ba12fe747a28f65a6044906e80bf90ca032b71",class:"footer-button",slot:"footer",size:"medium",theme:this.theme,type:"secondary",ref:t=>this.prevButton=t,onKeyDown:t=>this.handleKeydownEvent(t)},h("components-go-back")),i("tet-button",{key:"4b3c53cfef92bbc72ff298b0dbf3cb6f9bfaec0f",class:"footer-button",slot:"footer",size:"medium",theme:this.theme,ref:t=>this.nextButton=t,onKeyDown:t=>this.handleKeydownEvent(t)},h("components-next-step"))))}};export{n as tet_multi_step_dialog}
1
+ import{r as t,c as e,f as s,h as i,H as o}from"./p-5abb3bea.js";import{p as a,t as h}from"./p-a476fd02.js";import"./p-9a2b6ee2.js";import"./p-726651bc.js";const n=class{constructor(s){t(this,s),this.closeDialog=e(this,"closeDialog",7),this.openDialog=e(this,"openDialog",7),this.content="",this.steps=[],this.isOpen=!1,this.dialogDataScreenKey="",this.tetDialogClass="",this.language="lv",this.isKeydownFocus=!1,this.theme="light"}stepBlocks=[];prevButton;nextButton;tetDialog;closeDialog;openDialog;async componentWillLoad(){a("tet-components",this.language).then((()=>s(this)))}componentDidLoad(){this.setActive(!1),this.prevButton.addEventListener("click",(()=>{this.setActive(!0),this.prevButton.shadowRoot.querySelector("button")?.blur(),this.isKeydownFocus&&("none"!==this.prevButton.style.display?this.prevButton.focus():this.nextButton.focus())})),this.nextButton.addEventListener("click",(()=>{this.setActive(!1),this.nextButton.shadowRoot.querySelector("button")?.blur(),this.isKeydownFocus&&("none"!==this.nextButton.style.display?this.nextButton.focus():this.prevButton.focus())}))}setStepBlocks=t=>{t&&this.stepBlocks.push(t)};setActive=t=>{const e=Array.from(this.stepBlocks).find((t=>t.classList.contains("active"))),s=e?Number(e.getAttribute("data-step")):0,i=t?s-1:s+1,o=Array.from(this.stepBlocks),a=o.find((t=>Number(t.getAttribute("data-step"))===i));a&&(this.stepBlocks.forEach((t=>{t.style.display="none",t.classList.remove("active")})),a.classList.add("active"),a.style.display="block",this.updateButtonVisibility(i,o))};updateButtonVisibility=(t,e)=>{const s=e.find((e=>Number(e.getAttribute("data-step"))===t+1)),i=e.find((e=>Number(e.getAttribute("data-step"))===t-1));this.nextButton.style.display=s?"block":"none",this.prevButton.style.display=i?"block":"none",this.tetDialog.setAttribute("footer-display",s?i?"between":"right":"left")};handleKeydownEvent=t=>{["Enter"," "].includes(t.key)&&(this.isKeydownFocus=!0)};handleCloseDialog=t=>{t.stopPropagation(),this.closeDialog.emit(t.detail)};handleOpenDialog=t=>{t.stopPropagation(),this.openDialog.emit(t.detail)};renderStep(t,e){return i("div",{innerHTML:t,"data-step":Number(e)+1,class:"multi-step-dialog__step",ref:this.setStepBlocks})}render(){return i(o,{key:"46097ca233a86db428b88353a164f323619f63a2",class:"multi-step-dialog"},i("tet-dialog",{key:"c15d6b2ca7403f8caa99f6e23eeec9a3e5e18810",class:this.tetDialogClass,"is-open":this.isOpen,"data-screen-key":this.dialogDataScreenKey,"footer-display":"right",ref:t=>this.tetDialog=t,theme:this.theme,onCloseDialog:this.handleCloseDialog,onOpenDialog:this.handleOpenDialog},i("div",{key:"ea11040591680bd2cb5815ea9020ac26b729f815",innerHTML:this.content}),this.steps.map(((t,e)=>this.renderStep(t,e))),i("tet-button",{key:"54ba12fe747a28f65a6044906e80bf90ca032b71",class:"footer-button",slot:"footer",size:"medium",theme:this.theme,type:"secondary",ref:t=>this.prevButton=t,onKeyDown:t=>this.handleKeydownEvent(t)},h("components-go-back")),i("tet-button",{key:"4b3c53cfef92bbc72ff298b0dbf3cb6f9bfaec0f",class:"footer-button",slot:"footer",size:"medium",theme:this.theme,ref:t=>this.nextButton=t,onKeyDown:t=>this.handleKeydownEvent(t)},h("components-next-step"))))}};export{n as tet_multi_step_dialog}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as r}from"./p-83f43fdd.js";const a=class{constructor(i){t(this,i),this.tetDynamicCardClickEvent=e(this,"tetDynamicCardClickEvent",7),this.theme="light",this.size="S",this.sizeChangeBreakpoint="None",this.isInCarousel=!1,this.pictureLayoutShiftPosition="left",this.cardTitle=void 0,this.subtitle=void 0,this.tags=void 0,this.dateTag=void 0,this.dateTagColorLight="black",this.dateTagColorDark="white",this.priceTagOptions={show:!1,background:"white"},this.linkHref=void 0,this.linkText=void 0,this.linkNewTab=!1,this.index=void 0,this.buttonColorTheme=void 0,this.buttonCustomColorCode=void 0,this.buttonCustomColorContentTone="light",this.isFocused=!1,this.originalSize=null,this.currentSize=null}onThemeChanged(t){"dark"===t?(this.dateTagColorRef?.classList.remove(`tag--${this.dateTagColorLight}`),this.dateTagColorRef?.classList.add(`tag--${this.dateTagColorDark}`)):(this.dateTagColorRef?.classList.remove(`tag--${this.dateTagColorDark}`),this.dateTagColorRef?.classList.add(`tag--${this.dateTagColorLight}`))}onSizeChange(){this.originalSize=this.size,this.resizeCard(window.innerWidth)}tetDynamicCardClickEvent;priceViewRef=null;buttonRef=null;dateTagColorRef=null;rootElementRef=null;BREAKPOINTS={MOBILE:768,TABLET_SMALL:1024,TABLET:1440,DESKTOP:1920};CARD_SIZES={standard:{S:"fit-content",M:"calc(50% - 0.75rem)",XL:"100%"},responsive:{mobile:"100%",tablet:"calc(100% - var(--card-width-tablet) - 1.5rem - 2px)",desktop:"calc(100% - var(--card-width-desktop) - 1.5rem - 2px)"}};getCardSize(t){return this.isInCarousel?"S":t<this.BREAKPOINTS.MOBILE?"XL":t<this.BREAKPOINTS.TABLET_SMALL?"M":("L"===this.originalSize||"M"===this.originalSize)&&t<this.BREAKPOINTS.TABLET&&"Tab"===this.sizeChangeBreakpoint?"S":this.originalSize}getMinWidth(t){return t<this.BREAKPOINTS.MOBILE?"calc(var(--card-width-mobile) - 2rem)":t<this.BREAKPOINTS.TABLET?"calc(var(--card-width-tablet) - 2rem)":t<this.BREAKPOINTS.DESKTOP?"var(--card-width-tablet)":"var(--card-width-desktop)"}getCardWidth(t,e){if(this.isInCarousel)return"fit-content";if(e<this.BREAKPOINTS.MOBILE)return this.CARD_SIZES.responsive.mobile;if(e<this.BREAKPOINTS.TABLET){if(("L"===this.originalSize||"M"===this.originalSize)&&"Tab"===this.sizeChangeBreakpoint)return"fit-content";if("M"===t)return this.CARD_SIZES.standard.M;if("L"===t)return this.CARD_SIZES.responsive.tablet}else if("L"===t)return e<this.BREAKPOINTS.DESKTOP?this.CARD_SIZES.responsive.tablet:this.CARD_SIZES.responsive.desktop;return this.CARD_SIZES.standard[t]||"fit-content"}resizeCard=t=>{this.currentSize=this.getCardSize(t),this.rootElementRef.style.minWidth=this.getMinWidth(t),this.rootElementRef.style.width=this.getCardWidth(this.currentSize,t)};resizeObserver=new ResizeObserver((()=>{const t=window.innerWidth;this.resizeCard(t),t<768?(this.priceViewRef?.setAttribute("size","S"),this.buttonRef?.setAttribute("size","small")):t<1920?(this.priceViewRef?.setAttribute("size","M"),this.buttonRef?.setAttribute("size","medium")):(this.priceViewRef?.setAttribute("size","M"),this.buttonRef?.setAttribute("size","large"))}));componentWillLoad(){this.originalSize=this.size,this.currentSize=this.size}componentDidLoad(){this.onThemeChanged(this.theme),this.resizeObserver.observe(window.document.body)}handleClick=t=>{if(t.composedPath().some((t=>t instanceof HTMLElement&&t.classList?.contains("button"))))this.tetDynamicCardClickEvent.emit();else if(this.buttonRef&&this.linkHref){const t=this.buttonRef.shadowRoot?.querySelector("button");t&&t.click()}};renderTags(){const t="dark"===this.theme?this.dateTagColorDark:this.dateTagColorLight;return i("div",{class:"tags-container",part:"tags"},this.tags?.length>0&&i("div",{class:"tags"},this.tags.map((t=>i("span",{class:"tag"},t)))),this.dateTag&&i("div",{class:"tags"},i("div",{class:`tag colored colored--${t}`,ref:t=>{this.dateTagColorRef=t}},i("span",{class:"date-tag-text"},this.dateTag))))}renderPrice(){return this.priceTagOptions?.show?i("div",{class:"price",part:"price"},i("tet-price-view",{ref:t=>{this.priceViewRef=t},font:this.priceTagOptions.font||"Gilroy, Arial, sans-serif",background:this.priceTagOptions.background,staticColors:this.priceTagOptions.isStatic,theme:this.theme,size:"S","heading-text":this.priceTagOptions.headingText,"price-type":this.priceTagOptions.priceType,"euro-price":this.priceTagOptions.euroPrice?.toString(),"cents-price":this.priceTagOptions.centsPrice?.toString(),"footer-text":this.priceTagOptions.footerText,"footer-text-type":this.priceTagOptions.footerTextType})):null}renderButton(){return this.linkText?i("div",{class:"button",part:"button"},i("tet-button",{type:"primary",size:"small",theme:this.theme,"color-theme":this.buttonColorTheme,"custom-color-code":this.buttonCustomColorCode,"custom-color-content-tone":this.buttonCustomColorContentTone,url:this.linkHref,"url-target":this.linkNewTab?"_blank":"_self","accessibility-label":this.linkText,ref:t=>{this.buttonRef=t}},this.linkText)):null}render(){return i(r,{key:"6d78db2dab9d2f239ce396773200ddd8dcd93f91",class:{"dynamic-card":!0,"is-focused":this.isFocused},"data-index":this.index,ref:t=>{this.rootElementRef=t}},i("div",{key:"641a6026216a875fb2640cfa6abffb776553cbee",class:`card\n theme-${this.theme}\n size-${this.currentSize}\n position-${this.pictureLayoutShiftPosition}\n carousel-${this.isInCarousel}\n `,onClick:this.handleClick,onKeyUp:t=>{"Enter"===t.key&&this.handleClick(t)},tabindex:0,part:"card","aria-labelledby":this.cardTitle},i("div",{key:"bb55aa602301c7e462a395f92ed6e10447d48849",class:"image",part:"image"},i("slot",{key:"b8a0ecb714700481bba045ff639140e95c1d2ec4",name:"image"}),this.renderPrice(),this.renderTags()),i("div",{key:"379970bfe15e8258f6be7b7f8a1b4f3eb3d6fa69",class:"content-container"},i("div",{key:"96ae239c05494db649163b320dd30ef59276f505",class:"content",part:"content"},this.cardTitle&&i("h3",{key:"9784f8a7647bda3ce4452d692405c83edafc8ba8",class:"title",part:"title"},this.cardTitle),this.subtitle&&i("p",{key:"6768d7846922619b73f3329919bfae427119846d",class:"subtitle",part:"subtitle"},this.subtitle)),this.renderButton())))}static get watchers(){return{theme:["onThemeChanged"],size:["onSizeChange"]}}};a.style=":host{--image-type:cover;--image-background-color:var(--tc-background-white-black);--card-width-mobile:17.5rem;--card-height-mobile:27.75rem;--card-width-tablet:21.375rem;--card-height-tablet:33.875rem;--card-width-desktop:25.625rem;--card-height-desktop:39.5rem;--option-card-bg:var(--tc-background-white-black);--option-card-text:var(--tc-text-primary);--option-card-border:var(--tc-border-quaternary);display:block;font-family:var(--tet-font-family-primary)}.card{-webkit-user-drag:none;user-select:none;cursor:pointer;background:var(--tc-background-white-black);border-radius:1rem;border:0.0625rem solid var(--tc-border-quaternary);overflow:hidden;position:relative;display:flex;flex-direction:column;align-items:center;gap:1rem;margin:0 auto;min-width:var(--card-width-mobile);width:var(--card-width-mobile);height:var(--card-height-mobile);transition:box-shadow 0.15s ease}.card.size-S{width:var(--card-width-mobile);height:var(--card-height-mobile)}.card.size-XL,.card.size-L,.card.size-M{width:100%}.card:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem}.card:hover{box-shadow:0 4px 24px 0 rgba(0, 0, 0, 0.1), 0 1.5px 6px 0 rgba(0, 0, 0, 0.08)}.card:hover ::slotted(img){transform:scale(1.06)}.card:active{box-shadow:0 0 1px 0 rgba(12, 12, 14, 0.08), 0 1px 3px 0 rgba(12, 12, 14, 0.12)}.card:active ::slotted(img){transform:scale(1.01)}.content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.image{-webkit-user-drag:none;user-select:none;flex-shrink:0;width:100%;height:16.125rem;overflow:hidden;position:relative;background-color:var(--image-background-color)}.image ::slotted(img){transition:transform 0.3s ease;width:100%;height:100%;object-fit:var(--image-type);display:block}.price{position:absolute;bottom:0.75rem;right:0.75rem;z-index:1}.tags-container{position:absolute;top:0.75rem;left:0.75rem;display:flex;flex-direction:column;gap:0.25rem;z-index:1}.content{height:auto;padding:0 1rem;text-align:center}.title{margin:0;font-family:var(--font-family-fallback);font-size:1.25rem;font-weight:600;margin-bottom:0.5rem;color:var(--tc-text-primary);line-height:1.5rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:3rem}.subtitle{color:var(--tc-text-primary);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;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:2.5rem}.button{margin-top:auto;margin-bottom:1.5rem;width:fit-content;text-wrap:nowrap}.tags-container{position:absolute;top:0.75rem;left:0.75rem;display:flex;flex-direction:column;gap:0.25rem}.tags{display:flex;flex-wrap:wrap;gap:0.25rem}.tag{border:0.0625px solid var(--tc-border-tertiary);padding:0.1875rem 0.3125rem;border-radius:0.375rem;background:var(--tc-layer-primary);color:var(--tc-text-primary);font-family:var(--font-family-content);font-size:0.75rem;font-style:normal;font-weight:500;line-height:1rem}.tag.colored--white{background:var(--tc-layer-primary);color:var(--tc-text-primary);border:0.0625px solid var(--tc-border-tertiary)}.tag.colored--black{color:var(--tc-text-primary-dark);background:var(--tc-layer-primary-dark);border:0.0625px solid var(--tc-border-primary)}.tag.colored--yellow{background:var(--tc-yellow-20);color:var(--tc-text-primary);border:0.0625px solid var(--tc-border-tertiary)}.theme-dark{background:var(--tc-layer-primary-dark);border:0.0625rem solid var(--tc-border-quaternary-dark)}.theme-dark .title{color:var(--tc-text-primary-dark)}.theme-dark .subtitle{color:var(--tc-text-primary-dark)}.theme-dark .tag:not(.colored){color:var(--tc-text-primary-dark);background:var(--tc-layer-primary-dark);border:0.0625px solid var(--tc-border-primary)}@media all and (min-width: 48rem){.card{width:var(--card-width-tablet);height:var(--card-height-tablet)}.card.size-S{width:var(--card-width-tablet);height:var(--card-height-tablet)}.card.size-M{width:100%}.card.size-M .image{width:100%}.card.size-M.carousel-true{width:44rem}.card.size-XL,.card.size-L{width:100%;flex-direction:row;gap:0}.card.size-XL .image,.card.size-L .image{width:60%;height:100%}.card.size-XL .button,.card.size-L .button{margin-top:0}.card.size-XL.position-right,.card.size-L.position-right{flex-direction:row-reverse}.card.size-XL.carousel-true,.card.size-L.carousel-true{width:44rem}.image{width:var(--card-width-tablet);height:var(--card-width-tablet)}.title{font-size:1.5rem;line-height:1.75rem;max-height:3.5rem}.tag{font-size:0.875rem;line-height:1.25rem;letter-spacing:-0.003125rem}}@media all and (min-width: 90rem){.card.size-M{width:100%}.card.size-M.carousel-true{width:39.375rem}.card.size-L{width:100%;flex-direction:row;gap:0}.card.size-L .image{width:62%;height:100%}.card.size-L .button{margin-top:0}.card.size-L.position-right{flex-direction:row-reverse}.card.size-L.carousel-true{width:57.25rem}.card.size-XL .image{width:64%}.card.size-XL.carousel-true{width:80.25rem}}@media all and (min-width: 120rem){.card{width:var(--card-width-desktop);height:var(--card-height-desktop)}.card.size-S{width:var(--card-width-desktop);height:var(--card-height-desktop)}.card.size-L.carousel-true{width:83.125rem}.card.size-XL .image{width:72%}.card.size-XL.carousel-true{width:110.25rem}.image{width:var(--card-width-desktop);height:var(--card-width-desktop)}.title{font-size:1.75rem;line-height:2rem;max-height:4rem}.subtitle{font-size:1rem;line-height:1.5rem;letter-spacing:-0.00625rem;max-height:3rem}}";export{a as tet_dynamic_card}
1
+ import{r as t,c as e,h as i,H as r}from"./p-5abb3bea.js";const a=class{constructor(i){t(this,i),this.tetDynamicCardClickEvent=e(this,"tetDynamicCardClickEvent",7),this.theme="light",this.size="S",this.sizeChangeBreakpoint="None",this.isInCarousel=!1,this.pictureLayoutShiftPosition="left",this.cardTitle=void 0,this.subtitle=void 0,this.tags=void 0,this.dateTag=void 0,this.dateTagColorLight="black",this.dateTagColorDark="white",this.priceTagOptions={show:!1,background:"white"},this.linkHref=void 0,this.linkText=void 0,this.linkNewTab=!1,this.index=void 0,this.buttonColorTheme=void 0,this.buttonCustomColorCode=void 0,this.buttonCustomColorContentTone="light",this.isFocused=!1,this.originalSize=null,this.currentSize=null}onThemeChanged(t){"dark"===t?(this.dateTagColorRef?.classList.remove(`tag--${this.dateTagColorLight}`),this.dateTagColorRef?.classList.add(`tag--${this.dateTagColorDark}`)):(this.dateTagColorRef?.classList.remove(`tag--${this.dateTagColorDark}`),this.dateTagColorRef?.classList.add(`tag--${this.dateTagColorLight}`))}onSizeChange(){this.originalSize=this.size,this.resizeCard(window.innerWidth)}tetDynamicCardClickEvent;priceViewRef=null;buttonRef=null;dateTagColorRef=null;rootElementRef=null;BREAKPOINTS={MOBILE:768,TABLET_SMALL:1024,TABLET:1440,DESKTOP:1920};CARD_SIZES={standard:{S:"fit-content",M:"calc(50% - 0.75rem)",XL:"100%"},responsive:{mobile:"100%",tablet:"calc(100% - var(--card-width-tablet) - 1.5rem - 2px)",desktop:"calc(100% - var(--card-width-desktop) - 1.5rem - 2px)"}};getCardSize(t){return this.isInCarousel?"S":t<this.BREAKPOINTS.MOBILE?"XL":t<this.BREAKPOINTS.TABLET_SMALL?"M":("L"===this.originalSize||"M"===this.originalSize)&&t<this.BREAKPOINTS.TABLET&&"Tab"===this.sizeChangeBreakpoint?"S":this.originalSize}getMinWidth(t){return t<this.BREAKPOINTS.MOBILE?"calc(var(--card-width-mobile) - 2rem)":t<this.BREAKPOINTS.TABLET?"calc(var(--card-width-tablet) - 2rem)":t<this.BREAKPOINTS.DESKTOP?"var(--card-width-tablet)":"var(--card-width-desktop)"}getCardWidth(t,e){if(this.isInCarousel)return"fit-content";if(e<this.BREAKPOINTS.MOBILE)return this.CARD_SIZES.responsive.mobile;if(e<this.BREAKPOINTS.TABLET){if(("L"===this.originalSize||"M"===this.originalSize)&&"Tab"===this.sizeChangeBreakpoint)return"fit-content";if("M"===t)return this.CARD_SIZES.standard.M;if("L"===t)return this.CARD_SIZES.responsive.tablet}else if("L"===t)return e<this.BREAKPOINTS.DESKTOP?this.CARD_SIZES.responsive.tablet:this.CARD_SIZES.responsive.desktop;return this.CARD_SIZES.standard[t]||"fit-content"}resizeCard=t=>{this.currentSize=this.getCardSize(t),this.rootElementRef.style.minWidth=this.getMinWidth(t),this.rootElementRef.style.width=this.getCardWidth(this.currentSize,t)};resizeObserver=new ResizeObserver((()=>{const t=window.innerWidth;this.resizeCard(t),t<768?(this.priceViewRef?.setAttribute("size","S"),this.buttonRef?.setAttribute("size","small")):t<1920?(this.priceViewRef?.setAttribute("size","M"),this.buttonRef?.setAttribute("size","medium")):(this.priceViewRef?.setAttribute("size","M"),this.buttonRef?.setAttribute("size","large"))}));componentWillLoad(){this.originalSize=this.size,this.currentSize=this.size}componentDidLoad(){this.onThemeChanged(this.theme),this.resizeObserver.observe(window.document.body)}handleClick=t=>{if(t.composedPath().some((t=>t instanceof HTMLElement&&t.classList?.contains("button"))))this.tetDynamicCardClickEvent.emit();else if(this.buttonRef&&this.linkHref){const t=this.buttonRef.shadowRoot?.querySelector("button");t&&t.click()}};renderTags(){const t="dark"===this.theme?this.dateTagColorDark:this.dateTagColorLight;return i("div",{class:"tags-container",part:"tags"},this.tags?.length>0&&i("div",{class:"tags"},this.tags.map((t=>i("span",{class:"tag"},t)))),this.dateTag&&i("div",{class:"tags"},i("div",{class:`tag colored colored--${t}`,ref:t=>{this.dateTagColorRef=t}},i("span",{class:"date-tag-text"},this.dateTag))))}renderPrice(){return this.priceTagOptions?.show?i("div",{class:"price",part:"price"},i("tet-price-view",{ref:t=>{this.priceViewRef=t},font:this.priceTagOptions.font||"Gilroy, Arial, sans-serif",background:this.priceTagOptions.background,staticColors:this.priceTagOptions.isStatic,theme:this.theme,size:"S","heading-text":this.priceTagOptions.headingText,"price-type":this.priceTagOptions.priceType,"euro-price":this.priceTagOptions.euroPrice?.toString(),"cents-price":this.priceTagOptions.centsPrice?.toString(),"footer-text":this.priceTagOptions.footerText,"footer-text-type":this.priceTagOptions.footerTextType})):null}renderButton(){return this.linkText?i("div",{class:"button",part:"button"},i("tet-button",{type:"primary",size:"small",theme:this.theme,"color-theme":this.buttonColorTheme,"custom-color-code":this.buttonCustomColorCode,"custom-color-content-tone":this.buttonCustomColorContentTone,url:this.linkHref,"url-target":this.linkNewTab?"_blank":"_self","accessibility-label":this.linkText,ref:t=>{this.buttonRef=t}},this.linkText)):null}render(){return i(r,{key:"6d78db2dab9d2f239ce396773200ddd8dcd93f91",class:{"dynamic-card":!0,"is-focused":this.isFocused},"data-index":this.index,ref:t=>{this.rootElementRef=t}},i("div",{key:"641a6026216a875fb2640cfa6abffb776553cbee",class:`card\n theme-${this.theme}\n size-${this.currentSize}\n position-${this.pictureLayoutShiftPosition}\n carousel-${this.isInCarousel}\n `,onClick:this.handleClick,onKeyUp:t=>{"Enter"===t.key&&this.handleClick(t)},tabindex:0,part:"card","aria-labelledby":this.cardTitle},i("div",{key:"bb55aa602301c7e462a395f92ed6e10447d48849",class:"image",part:"image"},i("slot",{key:"b8a0ecb714700481bba045ff639140e95c1d2ec4",name:"image"}),this.renderPrice(),this.renderTags()),i("div",{key:"379970bfe15e8258f6be7b7f8a1b4f3eb3d6fa69",class:"content-container"},i("div",{key:"96ae239c05494db649163b320dd30ef59276f505",class:"content",part:"content"},this.cardTitle&&i("h3",{key:"9784f8a7647bda3ce4452d692405c83edafc8ba8",class:"title",part:"title"},this.cardTitle),this.subtitle&&i("p",{key:"6768d7846922619b73f3329919bfae427119846d",class:"subtitle",part:"subtitle"},this.subtitle)),this.renderButton())))}static get watchers(){return{theme:["onThemeChanged"],size:["onSizeChange"]}}};a.style=":host{--image-type:cover;--image-background-color:var(--tc-background-white-black);--card-width-mobile:17.5rem;--card-height-mobile:27.75rem;--card-width-tablet:21.375rem;--card-height-tablet:33.875rem;--card-width-desktop:25.625rem;--card-height-desktop:39.5rem;--option-card-bg:var(--tc-background-white-black);--option-card-text:var(--tc-text-primary);--option-card-border:var(--tc-border-quaternary);display:block;font-family:var(--tet-font-family-primary)}.card{-webkit-user-drag:none;user-select:none;cursor:pointer;background:var(--tc-background-white-black);border-radius:1rem;border:0.0625rem solid var(--tc-border-quaternary);overflow:hidden;position:relative;display:flex;flex-direction:column;align-items:center;gap:1rem;margin:0 auto;min-width:var(--card-width-mobile);width:var(--card-width-mobile);height:var(--card-height-mobile);transition:box-shadow 0.15s ease}.card.size-S{width:var(--card-width-mobile);height:var(--card-height-mobile)}.card.size-XL,.card.size-L,.card.size-M{width:100%}.card:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem}.card:hover{box-shadow:0 4px 24px 0 rgba(0, 0, 0, 0.1), 0 1.5px 6px 0 rgba(0, 0, 0, 0.08)}.card:hover ::slotted(img){transform:scale(1.06)}.card:active{box-shadow:0 0 1px 0 rgba(12, 12, 14, 0.08), 0 1px 3px 0 rgba(12, 12, 14, 0.12)}.card:active ::slotted(img){transform:scale(1.01)}.content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.image{-webkit-user-drag:none;user-select:none;flex-shrink:0;width:100%;height:16.125rem;overflow:hidden;position:relative;background-color:var(--image-background-color)}.image ::slotted(img){transition:transform 0.3s ease;width:100%;height:100%;object-fit:var(--image-type);display:block}.price{position:absolute;bottom:0.75rem;right:0.75rem;z-index:1}.tags-container{position:absolute;top:0.75rem;left:0.75rem;display:flex;flex-direction:column;gap:0.25rem;z-index:1}.content{height:auto;padding:0 1rem;text-align:center}.title{margin:0;font-family:var(--font-family-fallback);font-size:1.25rem;font-weight:600;margin-bottom:0.5rem;color:var(--tc-text-primary);line-height:1.5rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:3rem}.subtitle{color:var(--tc-text-primary);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;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:2.5rem}.button{margin-top:auto;margin-bottom:1.5rem;width:fit-content;text-wrap:nowrap}.tags-container{position:absolute;top:0.75rem;left:0.75rem;display:flex;flex-direction:column;gap:0.25rem}.tags{display:flex;flex-wrap:wrap;gap:0.25rem}.tag{border:0.0625px solid var(--tc-border-tertiary);padding:0.1875rem 0.3125rem;border-radius:0.375rem;background:var(--tc-layer-primary);color:var(--tc-text-primary);font-family:var(--font-family-content);font-size:0.75rem;font-style:normal;font-weight:500;line-height:1rem}.tag.colored--white{background:var(--tc-layer-primary);color:var(--tc-text-primary);border:0.0625px solid var(--tc-border-tertiary)}.tag.colored--black{color:var(--tc-text-primary-dark);background:var(--tc-layer-primary-dark);border:0.0625px solid var(--tc-border-primary)}.tag.colored--yellow{background:var(--tc-yellow-20);color:var(--tc-text-primary);border:0.0625px solid var(--tc-border-tertiary)}.theme-dark{background:var(--tc-layer-primary-dark);border:0.0625rem solid var(--tc-border-quaternary-dark)}.theme-dark .title{color:var(--tc-text-primary-dark)}.theme-dark .subtitle{color:var(--tc-text-primary-dark)}.theme-dark .tag:not(.colored){color:var(--tc-text-primary-dark);background:var(--tc-layer-primary-dark);border:0.0625px solid var(--tc-border-primary)}@media all and (min-width: 48rem){.card{width:var(--card-width-tablet);height:var(--card-height-tablet)}.card.size-S{width:var(--card-width-tablet);height:var(--card-height-tablet)}.card.size-M{width:100%}.card.size-M .image{width:100%}.card.size-M.carousel-true{width:44rem}.card.size-XL,.card.size-L{width:100%;flex-direction:row;gap:0}.card.size-XL .image,.card.size-L .image{width:60%;height:100%}.card.size-XL .button,.card.size-L .button{margin-top:0}.card.size-XL.position-right,.card.size-L.position-right{flex-direction:row-reverse}.card.size-XL.carousel-true,.card.size-L.carousel-true{width:44rem}.image{width:var(--card-width-tablet);height:var(--card-width-tablet)}.title{font-size:1.5rem;line-height:1.75rem;max-height:3.5rem}.tag{font-size:0.875rem;line-height:1.25rem;letter-spacing:-0.003125rem}}@media all and (min-width: 90rem){.card.size-M{width:100%}.card.size-M.carousel-true{width:39.375rem}.card.size-L{width:100%;flex-direction:row;gap:0}.card.size-L .image{width:62%;height:100%}.card.size-L .button{margin-top:0}.card.size-L.position-right{flex-direction:row-reverse}.card.size-L.carousel-true{width:57.25rem}.card.size-XL .image{width:64%}.card.size-XL.carousel-true{width:80.25rem}}@media all and (min-width: 120rem){.card{width:var(--card-width-desktop);height:var(--card-height-desktop)}.card.size-S{width:var(--card-width-desktop);height:var(--card-height-desktop)}.card.size-L.carousel-true{width:83.125rem}.card.size-XL .image{width:72%}.card.size-XL.carousel-true{width:110.25rem}.image{width:var(--card-width-desktop);height:var(--card-width-desktop)}.title{font-size:1.75rem;line-height:2rem;max-height:4rem}.subtitle{font-size:1rem;line-height:1.5rem;letter-spacing:-0.00625rem;max-height:3rem}}";export{a as tet_dynamic_card}