@tet/tet-components 1.4.22-staging → 1.4.22-testing

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (467) hide show
  1. package/dist/cjs/{address-f852270f.js → address-656e77f6.js} +1 -1
  2. package/dist/cjs/{assets-b9d36649.js → assets-f64f0e16.js} +1 -1
  3. package/dist/cjs/{async-request-4517f566.js → async-request-fcf33aba.js} +1 -1
  4. package/dist/cjs/{http-codes-062f76cf.js → http-codes-40da1e61.js} +1 -1
  5. package/dist/cjs/{index-faec4c52.js → index-3242ff3f.js} +1 -1
  6. package/dist/cjs/{index-19a7608f.js → index-4b423f33.js} +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/{phone-d6be0dd2.js → phone-055efd07.js} +2 -2
  9. package/dist/cjs/{product-comparison-aa80a77c.js → product-comparison-88a89820.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.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 +3 -3
  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-customer-assets.cjs.entry.js +3 -3
  43. package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +1 -1
  44. package/dist/cjs/tet-datepicker.cjs.entry.js +1 -1
  45. package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
  46. package/dist/cjs/tet-display.cjs.entry.js +1 -1
  47. package/dist/cjs/tet-divider.cjs.entry.js +1 -1
  48. package/dist/cjs/tet-dropdown_2.cjs.entry.js +1 -1
  49. package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
  50. package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
  51. package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
  52. package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
  53. package/dist/cjs/tet-filter.cjs.entry.js +1 -1
  54. package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
  55. package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
  56. package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
  57. package/dist/cjs/tet-grid.cjs.entry.js +1 -1
  58. package/dist/cjs/tet-icon.cjs.entry.js +2 -2
  59. package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
  60. package/dist/cjs/tet-input.cjs.entry.js +3 -3
  61. package/dist/cjs/tet-label.cjs.entry.js +3 -3
  62. package/dist/cjs/tet-layout.cjs.entry.js +1 -1
  63. package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
  64. package/dist/cjs/tet-link.cjs.entry.js +1 -1
  65. package/dist/cjs/tet-loader.cjs.entry.js +1 -1
  66. package/dist/cjs/tet-macd-view.cjs.entry.js +6 -6
  67. package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
  68. package/dist/cjs/tet-menu.cjs.entry.js +1 -1
  69. package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +3 -3
  70. package/dist/cjs/tet-navigation-mobile.cjs.entry.js +1 -1
  71. package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
  72. package/dist/cjs/tet-notification.cjs.entry.js +1 -1
  73. package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
  74. package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
  75. package/dist/cjs/tet-position.cjs.entry.js +1 -1
  76. package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
  77. package/dist/cjs/tet-radio.cjs.entry.js +1 -1
  78. package/dist/cjs/tet-range-slider.cjs.entry.js +1 -1
  79. package/dist/cjs/tet-referral.cjs.entry.js +5 -5
  80. package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
  81. package/dist/cjs/tet-snicker-card-badge.cjs.entry.js +1 -1
  82. package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
  83. package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
  84. package/dist/cjs/tet-stepper-input.cjs.entry.js +3 -3
  85. package/dist/cjs/tet-stepper-v2.cjs.entry.js +1 -1
  86. package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
  87. package/dist/cjs/tet-stepper.cjs.entry.js +1 -1
  88. package/dist/cjs/tet-switch.cjs.entry.js +1 -1
  89. package/dist/cjs/tet-tab-header.cjs.entry.js +1 -1
  90. package/dist/cjs/tet-table.cjs.entry.js +1 -1
  91. package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
  92. package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
  93. package/dist/cjs/tet-text.cjs.entry.js +1 -1
  94. package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
  95. package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +3 -3
  96. package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
  97. package/dist/cjs/tet-thank-you-view.cjs.entry.js +1 -1
  98. package/dist/cjs/tet-tv-gift-block.cjs.entry.js +1 -1
  99. package/dist/cjs/tet-tv-gift-list.cjs.entry.js +1 -1
  100. package/dist/cjs/{theme-wrapper-46514846.js → theme-wrapper-66880718.js} +2 -2
  101. package/dist/cjs/{translations-89a0ec3d.js → translations-03c9de64.js} +1 -1
  102. package/dist/components/index.js +1 -1
  103. package/dist/components/{p-96de3e43.js → p-039c578b.js} +2 -2
  104. package/dist/components/{p-6242ec90.js → p-0a5f7ab0.js} +5 -5
  105. package/dist/components/{p-de1acd22.js → p-0e70d061.js} +1 -1
  106. package/dist/components/{p-02a81299.js → p-0f1423b7.js} +7 -7
  107. package/dist/components/{p-f5154935.js → p-1675cb05.js} +4 -4
  108. package/dist/components/{p-43a44496.js → p-20ca9fa1.js} +1 -1
  109. package/dist/components/{p-aa122c92.js → p-25b93e8f.js} +1 -1
  110. package/dist/components/{p-4e88753d.js → p-26ce88e8.js} +3 -3
  111. package/dist/components/{p-f46b093a.js → p-2e59089a.js} +1 -1
  112. package/dist/components/{p-e41eae5a.js → p-2f2fb278.js} +2 -2
  113. package/dist/components/{p-a1135d10.js → p-375a5cfa.js} +1 -1
  114. package/dist/components/{p-1d199f2f.js → p-4029ad75.js} +6 -6
  115. package/dist/components/{p-8e745800.js → p-41a7c21a.js} +1 -1
  116. package/dist/components/{p-f109606b.js → p-438d429c.js} +3 -3
  117. package/dist/components/{p-3493f65f.js → p-4468c9e9.js} +1 -1
  118. package/dist/components/{p-8127f021.js → p-47760f25.js} +1 -1
  119. package/dist/components/{p-f7b92530.js → p-56f9a49b.js} +1 -1
  120. package/dist/components/{p-5e54f01c.js → p-5c47c2d5.js} +1 -1
  121. package/dist/components/{p-77d1db12.js → p-61cedfb0.js} +1 -1
  122. package/dist/components/{p-743c5d9e.js → p-635c5db4.js} +1 -1
  123. package/dist/components/{p-b77d8447.js → p-68513e60.js} +9 -9
  124. package/dist/components/{p-138c4b07.js → p-69555360.js} +5 -5
  125. package/dist/components/{p-b0eebae4.js → p-69774b35.js} +3 -3
  126. package/dist/components/{p-36207ee1.js → p-77d77578.js} +2 -2
  127. package/dist/components/{p-fa18b9f9.js → p-7965bdfb.js} +2 -2
  128. package/dist/components/{p-bac1705f.js → p-7f859d29.js} +1 -1
  129. package/dist/components/{p-6653e45a.js → p-82d03692.js} +6 -6
  130. package/dist/components/{p-864767fb.js → p-83e9f500.js} +2 -2
  131. package/dist/components/{p-5623e001.js → p-8758fb64.js} +1 -1
  132. package/dist/components/{p-ff8dd72b.js → p-9664416d.js} +2 -2
  133. package/dist/components/{p-fb23d562.js → p-a17553f4.js} +1 -1
  134. package/dist/components/{p-4fc72997.js → p-a7e888ab.js} +3 -3
  135. package/dist/components/{p-a363eba2.js → p-ab294e76.js} +2 -2
  136. package/dist/components/{p-61d5fa06.js → p-ac209bc1.js} +2 -2
  137. package/dist/components/{p-30be7bb7.js → p-afaf0812.js} +1 -1
  138. package/dist/components/{p-5d06fc97.js → p-b03d721d.js} +4 -4
  139. package/dist/components/{p-c2293494.js → p-b1c19d70.js} +2 -2
  140. package/dist/components/{p-cff57173.js → p-b32cb3ad.js} +10 -10
  141. package/dist/components/{p-9ac6eb20.js → p-b4b94c16.js} +1 -1
  142. package/dist/components/{p-7af8b1c5.js → p-b52c715b.js} +6 -6
  143. package/dist/components/{p-29136fbe.js → p-b6e2a8cc.js} +1 -1
  144. package/dist/components/{p-a3aa7a84.js → p-b73ba300.js} +2 -2
  145. package/dist/components/{p-8995a00f.js → p-c0e5e16a.js} +1 -1
  146. package/dist/components/{p-313df495.js → p-c3d2ccd5.js} +1 -1
  147. package/dist/components/{p-d53a97f8.js → p-c3dd8021.js} +2 -2
  148. package/dist/components/{p-e5236c60.js → p-c722c61d.js} +10 -10
  149. package/dist/components/{p-d52c52de.js → p-c9ec821b.js} +1 -1
  150. package/dist/components/{p-2fd6d52f.js → p-cd009231.js} +3 -3
  151. package/dist/components/{p-7c8fc9a8.js → p-cd88ddf8.js} +3 -3
  152. package/dist/components/{p-b8cd7cbd.js → p-d3e6fe4e.js} +14 -14
  153. package/dist/components/{p-0dfb1d40.js → p-e3fecd23.js} +7 -7
  154. package/dist/components/{p-23fdf5ea.js → p-e76a41b8.js} +4 -4
  155. package/dist/components/{p-ab4ca7a5.js → p-ec253cea.js} +3 -3
  156. package/dist/components/{p-5a636c50.js → p-ee17a01a.js} +1 -1
  157. package/dist/components/{p-9a7c652b.js → p-f0a90a3d.js} +2 -2
  158. package/dist/components/{p-e648d725.js → p-f52de522.js} +3 -3
  159. package/dist/components/{p-26ffcb52.js → p-f76fad86.js} +1 -1
  160. package/dist/components/{p-13d54d11.js → p-ffe0b1f2.js} +7 -7
  161. package/dist/components/tet-accordion.js +1 -1
  162. package/dist/components/tet-address-offers-filters-products.js +1 -1
  163. package/dist/components/tet-address-offers-filters.js +1 -1
  164. package/dist/components/tet-address-offers-view.js +24 -24
  165. package/dist/components/tet-address-offers.js +1 -1
  166. package/dist/components/tet-address-search.js +1 -1
  167. package/dist/components/tet-asset-addresses.js +13 -13
  168. package/dist/components/tet-asset-availability-addresses.js +1 -1
  169. package/dist/components/tet-autocomplete-dropdown.js +5 -5
  170. package/dist/components/tet-autocomplete.js +1 -1
  171. package/dist/components/tet-availability-contact-form.js +1 -1
  172. package/dist/components/tet-b2b-check-out-form.js +1 -1
  173. package/dist/components/tet-b2b-compare-card.js +1 -1
  174. package/dist/components/tet-b2b-configurator-cart.js +1 -1
  175. package/dist/components/tet-b2b-configurator.js +20 -20
  176. package/dist/components/tet-b2b-service-calculator.js +8 -8
  177. package/dist/components/tet-banner-nav.js +3 -3
  178. package/dist/components/tet-bar-graph.js +1 -1
  179. package/dist/components/tet-border-radius.js +1 -1
  180. package/dist/components/tet-business-card.js +1 -1
  181. package/dist/components/tet-business-compare-card.js +3 -3
  182. package/dist/components/tet-business-lines.js +5 -5
  183. package/dist/components/tet-business-navigation.js +1 -1
  184. package/dist/components/tet-business-round-stepper.js +2 -2
  185. package/dist/components/tet-business-summary-card.js +1 -1
  186. package/dist/components/tet-button.js +1 -1
  187. package/dist/components/tet-card-list.js +1 -1
  188. package/dist/components/tet-carousel.js +4 -4
  189. package/dist/components/tet-checkbox.js +1 -1
  190. package/dist/components/tet-cloud-application-form-dialog.js +8 -8
  191. package/dist/components/tet-cloud-configurator.js +11 -11
  192. package/dist/components/tet-colors.js +1 -1
  193. package/dist/components/tet-compare-card-v2.js +9 -9
  194. package/dist/components/tet-compare-card.js +1 -1
  195. package/dist/components/tet-compare-cards-tab.js +16 -16
  196. package/dist/components/tet-compare-cards.js +1 -1
  197. package/dist/components/tet-contact-form.js +9 -9
  198. package/dist/components/tet-contact-info.js +1 -1
  199. package/dist/components/tet-container.js +1 -1
  200. package/dist/components/tet-customer-assets.js +9 -9
  201. package/dist/components/tet-datepicker-header.js +1 -1
  202. package/dist/components/tet-datepicker-month-view.js +1 -1
  203. package/dist/components/tet-datepicker-multi-year-view.js +1 -1
  204. package/dist/components/tet-datepicker-year-view.js +1 -1
  205. package/dist/components/tet-datepicker.js +6 -6
  206. package/dist/components/tet-dialog.js +1 -1
  207. package/dist/components/tet-display.js +8 -8
  208. package/dist/components/tet-divider.js +7 -7
  209. package/dist/components/tet-dropdown.js +1 -1
  210. package/dist/components/tet-dynamic-card.js +4 -4
  211. package/dist/components/tet-expandable-input.js +3 -3
  212. package/dist/components/tet-expansion-panel.js +1 -1
  213. package/dist/components/tet-feedback-form.js +7 -7
  214. package/dist/components/tet-filter.js +4 -4
  215. package/dist/components/tet-floating-block.js +3 -3
  216. package/dist/components/tet-font-weight.js +1 -1
  217. package/dist/components/tet-fonts.js +1 -1
  218. package/dist/components/tet-grid.js +1 -1
  219. package/dist/components/tet-icon.js +1 -1
  220. package/dist/components/tet-inline-message.js +2 -2
  221. package/dist/components/tet-input.js +1 -1
  222. package/dist/components/tet-label.js +3 -3
  223. package/dist/components/tet-layout.js +1 -1
  224. package/dist/components/tet-link-card-list.js +3 -3
  225. package/dist/components/tet-link.js +1 -1
  226. package/dist/components/tet-loader.js +1 -1
  227. package/dist/components/tet-macd-view.js +10 -10
  228. package/dist/components/tet-menu-mobile.js +2 -2
  229. package/dist/components/tet-menu.js +2 -2
  230. package/dist/components/tet-multi-step-dialog.js +5 -5
  231. package/dist/components/tet-navigation-mobile.js +2 -2
  232. package/dist/components/tet-news-card-list.js +4 -4
  233. package/dist/components/tet-notification.js +1 -1
  234. package/dist/components/tet-number-input.js +1 -1
  235. package/dist/components/tet-placeholder.js +1 -1
  236. package/dist/components/tet-position.js +7 -7
  237. package/dist/components/tet-price-view.js +1 -1
  238. package/dist/components/tet-radio.js +1 -1
  239. package/dist/components/tet-range-slider.js +1 -1
  240. package/dist/components/tet-referral.js +6 -6
  241. package/dist/components/tet-round-stepper.js +2 -2
  242. package/dist/components/tet-selection-list.js +1 -1
  243. package/dist/components/tet-snicker-card-badge.js +1 -1
  244. package/dist/components/tet-spacing.js +1 -1
  245. package/dist/components/tet-spinner.js +1 -1
  246. package/dist/components/tet-stepper-input.js +1 -1
  247. package/dist/components/tet-stepper-v2.js +1 -1
  248. package/dist/components/tet-stepper-v3.js +1 -1
  249. package/dist/components/tet-stepper.js +1 -1
  250. package/dist/components/tet-switch.js +1 -1
  251. package/dist/components/tet-tab-content.js +1 -1
  252. package/dist/components/tet-tab-header.js +1 -1
  253. package/dist/components/tet-table.js +3 -3
  254. package/dist/components/tet-tag-group.js +1 -1
  255. package/dist/components/tet-tag.js +1 -1
  256. package/dist/components/tet-text-list.js +1 -1
  257. package/dist/components/tet-text.js +7 -7
  258. package/dist/components/tet-textarea.js +1 -1
  259. package/dist/components/tet-thank-you-view-v2.js +5 -5
  260. package/dist/components/tet-thank-you-view-v3.js +5 -5
  261. package/dist/components/tet-thank-you-view.js +4 -4
  262. package/dist/components/tet-tooltip.js +1 -1
  263. package/dist/components/tet-tv-gift-block.js +1 -1
  264. package/dist/components/tet-tv-gift-list.js +2 -2
  265. package/dist/esm/{address-20e2d850.js → address-1e0810e7.js} +1 -1
  266. package/dist/esm/{assets-894007df.js → assets-e1349520.js} +1 -1
  267. package/dist/esm/{async-request-ae1056de.js → async-request-4c945e13.js} +1 -1
  268. package/dist/esm/{http-codes-cf0086d4.js → http-codes-1927ea00.js} +1 -1
  269. package/dist/esm/{index-e3209c56.js → index-412df137.js} +1 -1
  270. package/dist/esm/{index-e933a7d2.js → index-aac31bd2.js} +1 -1
  271. package/dist/esm/loader.js +2 -2
  272. package/dist/esm/{phone-62660137.js → phone-1a920c5c.js} +2 -2
  273. package/dist/esm/{product-comparison-cb8955f6.js → product-comparison-dd90c721.js} +1 -1
  274. package/dist/esm/tet-accordion.entry.js +1 -1
  275. package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
  276. package/dist/esm/tet-address-offers-view.entry.js +3 -3
  277. package/dist/esm/tet-address-offers_4.entry.js +7 -7
  278. package/dist/esm/tet-address-search.entry.js +4 -4
  279. package/dist/esm/tet-asset-addresses.entry.js +3 -3
  280. package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
  281. package/dist/esm/tet-autocomplete.entry.js +1 -1
  282. package/dist/esm/tet-b2b-check-out-form_5.entry.js +3 -3
  283. package/dist/esm/tet-b2b-configurator.entry.js +4 -4
  284. package/dist/esm/tet-b2b-service-calculator.entry.js +3 -3
  285. package/dist/esm/tet-banner-nav.entry.js +3 -3
  286. package/dist/esm/tet-bar-graph.entry.js +1 -1
  287. package/dist/esm/tet-border-radius.entry.js +1 -1
  288. package/dist/esm/tet-business-card.entry.js +1 -1
  289. package/dist/esm/tet-business-compare-card.entry.js +1 -1
  290. package/dist/esm/tet-business-lines.entry.js +4 -4
  291. package/dist/esm/tet-business-round-stepper.entry.js +1 -1
  292. package/dist/esm/tet-button.entry.js +1 -1
  293. package/dist/esm/tet-card-list.entry.js +1 -1
  294. package/dist/esm/tet-carousel.entry.js +3 -3
  295. package/dist/esm/tet-checkbox.entry.js +1 -1
  296. package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
  297. package/dist/esm/tet-cloud-configurator.entry.js +3 -3
  298. package/dist/esm/tet-colors.entry.js +1 -1
  299. package/dist/esm/tet-compare-card-v2.entry.js +3 -3
  300. package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
  301. package/dist/esm/tet-compare-cards_2.entry.js +3 -3
  302. package/dist/esm/tet-components.js +2 -2
  303. package/dist/esm/tet-contact-form.entry.js +5 -5
  304. package/dist/esm/tet-contact-info.entry.js +1 -1
  305. package/dist/esm/tet-container_2.entry.js +1 -1
  306. package/dist/esm/tet-customer-assets.entry.js +3 -3
  307. package/dist/esm/tet-datepicker-header_4.entry.js +1 -1
  308. package/dist/esm/tet-datepicker.entry.js +1 -1
  309. package/dist/esm/tet-dialog.entry.js +3 -3
  310. package/dist/esm/tet-display.entry.js +1 -1
  311. package/dist/esm/tet-divider.entry.js +1 -1
  312. package/dist/esm/tet-dropdown_2.entry.js +1 -1
  313. package/dist/esm/tet-dynamic-card.entry.js +1 -1
  314. package/dist/esm/tet-expandable-input.entry.js +1 -1
  315. package/dist/esm/tet-expansion-panel.entry.js +1 -1
  316. package/dist/esm/tet-feedback-form.entry.js +3 -3
  317. package/dist/esm/tet-filter.entry.js +1 -1
  318. package/dist/esm/tet-floating-block.entry.js +1 -1
  319. package/dist/esm/tet-font-weight.entry.js +1 -1
  320. package/dist/esm/tet-fonts.entry.js +1 -1
  321. package/dist/esm/tet-grid.entry.js +1 -1
  322. package/dist/esm/tet-icon.entry.js +2 -2
  323. package/dist/esm/tet-inline-message.entry.js +1 -1
  324. package/dist/esm/tet-input.entry.js +3 -3
  325. package/dist/esm/tet-label.entry.js +3 -3
  326. package/dist/esm/tet-layout.entry.js +1 -1
  327. package/dist/esm/tet-link-card-list.entry.js +1 -1
  328. package/dist/esm/tet-link.entry.js +1 -1
  329. package/dist/esm/tet-loader.entry.js +1 -1
  330. package/dist/esm/tet-macd-view.entry.js +6 -6
  331. package/dist/esm/tet-menu-mobile.entry.js +1 -1
  332. package/dist/esm/tet-menu.entry.js +1 -1
  333. package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
  334. package/dist/esm/tet-navigation-mobile.entry.js +1 -1
  335. package/dist/esm/tet-news-card-list.entry.js +1 -1
  336. package/dist/esm/tet-notification.entry.js +1 -1
  337. package/dist/esm/tet-number-input.entry.js +1 -1
  338. package/dist/esm/tet-placeholder.entry.js +1 -1
  339. package/dist/esm/tet-position.entry.js +1 -1
  340. package/dist/esm/tet-price-view.entry.js +1 -1
  341. package/dist/esm/tet-radio.entry.js +1 -1
  342. package/dist/esm/tet-range-slider.entry.js +1 -1
  343. package/dist/esm/tet-referral.entry.js +5 -5
  344. package/dist/esm/tet-round-stepper.entry.js +1 -1
  345. package/dist/esm/tet-snicker-card-badge.entry.js +1 -1
  346. package/dist/esm/tet-spacing.entry.js +1 -1
  347. package/dist/esm/tet-spinner.entry.js +1 -1
  348. package/dist/esm/tet-stepper-input.entry.js +3 -3
  349. package/dist/esm/tet-stepper-v2.entry.js +1 -1
  350. package/dist/esm/tet-stepper-v3.entry.js +1 -1
  351. package/dist/esm/tet-stepper.entry.js +1 -1
  352. package/dist/esm/tet-switch.entry.js +1 -1
  353. package/dist/esm/tet-tab-header.entry.js +1 -1
  354. package/dist/esm/tet-table.entry.js +1 -1
  355. package/dist/esm/tet-tag_2.entry.js +3 -3
  356. package/dist/esm/tet-text-list.entry.js +1 -1
  357. package/dist/esm/tet-text.entry.js +1 -1
  358. package/dist/esm/tet-textarea.entry.js +1 -1
  359. package/dist/esm/tet-thank-you-view-v2.entry.js +3 -3
  360. package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
  361. package/dist/esm/tet-thank-you-view.entry.js +1 -1
  362. package/dist/esm/tet-tv-gift-block.entry.js +1 -1
  363. package/dist/esm/tet-tv-gift-list.entry.js +1 -1
  364. package/dist/esm/{theme-wrapper-cf4d7d54.js → theme-wrapper-72d0b9da.js} +2 -2
  365. package/dist/esm/{translations-e60db8fd.js → translations-4712c45f.js} +1 -1
  366. package/dist/tet-components/{p-0d2c26f6.entry.js → p-028e8ace.entry.js} +1 -1
  367. package/dist/tet-components/{p-23f3b153.entry.js → p-0690732e.entry.js} +1 -1
  368. package/dist/tet-components/{p-7a9db071.entry.js → p-09e92f79.entry.js} +1 -1
  369. package/dist/tet-components/{p-c9ddf890.js → p-0c6b6730.js} +1 -1
  370. package/dist/tet-components/{p-b29111f0.entry.js → p-0e2dbd84.entry.js} +1 -1
  371. package/dist/tet-components/{p-726651bc.js → p-0ebbf5ef.js} +1 -1
  372. package/dist/tet-components/{p-fdd44094.entry.js → p-0f2d1a9c.entry.js} +1 -1
  373. package/dist/tet-components/{p-8b93b91f.entry.js → p-10e72480.entry.js} +1 -1
  374. package/dist/tet-components/{p-548d7cc1.entry.js → p-122f3d3c.entry.js} +1 -1
  375. package/dist/tet-components/{p-10e741ae.entry.js → p-162809ee.entry.js} +1 -1
  376. package/dist/tet-components/{p-4bc6bffc.entry.js → p-17946d38.entry.js} +1 -1
  377. package/dist/tet-components/{p-3df9b70e.entry.js → p-1d207053.entry.js} +1 -1
  378. package/dist/tet-components/{p-f91f0ca9.entry.js → p-1e7163c8.entry.js} +1 -1
  379. package/dist/tet-components/{p-b92dff8a.js → p-1fd2adaf.js} +1 -1
  380. package/dist/tet-components/{p-f9c98275.entry.js → p-2328b1d4.entry.js} +1 -1
  381. package/dist/tet-components/{p-9fd6e7e0.entry.js → p-298292ce.entry.js} +1 -1
  382. package/dist/tet-components/{p-81e1b3ff.entry.js → p-31668864.entry.js} +1 -1
  383. package/dist/tet-components/{p-15b5eea7.entry.js → p-33404a9a.entry.js} +1 -1
  384. package/dist/tet-components/{p-11a7eab8.entry.js → p-33d12bd1.entry.js} +1 -1
  385. package/dist/tet-components/{p-2a973b3c.entry.js → p-33f2ed2e.entry.js} +1 -1
  386. package/dist/tet-components/{p-11c04360.entry.js → p-35cbd34e.entry.js} +1 -1
  387. package/dist/tet-components/{p-6de8cbc6.entry.js → p-37a8e22b.entry.js} +1 -1
  388. package/dist/tet-components/{p-cd3df679.entry.js → p-38fb0eea.entry.js} +1 -1
  389. package/dist/tet-components/{p-8733c856.entry.js → p-39686fad.entry.js} +1 -1
  390. package/dist/tet-components/{p-c30e58ce.entry.js → p-3a6b0d35.entry.js} +1 -1
  391. package/dist/tet-components/{p-3b5e9fed.entry.js → p-3fc6a020.entry.js} +1 -1
  392. package/dist/tet-components/{p-c87aa965.entry.js → p-43c3b078.entry.js} +1 -1
  393. package/dist/tet-components/{p-fa67ec09.entry.js → p-43fd6ff8.entry.js} +1 -1
  394. package/dist/tet-components/{p-af2f3a93.entry.js → p-483e0253.entry.js} +1 -1
  395. package/dist/tet-components/{p-19f787c4.entry.js → p-490f1cd2.entry.js} +1 -1
  396. package/dist/tet-components/{p-73f56659.entry.js → p-4a16b8da.entry.js} +1 -1
  397. package/dist/tet-components/{p-1ea5d4bf.entry.js → p-5533f71b.entry.js} +1 -1
  398. package/dist/tet-components/{p-c8d2f1fc.entry.js → p-5af71510.entry.js} +1 -1
  399. package/dist/tet-components/{p-835c7ee4.entry.js → p-5e8466e6.entry.js} +1 -1
  400. package/dist/tet-components/{p-239fa72a.entry.js → p-6297692b.entry.js} +1 -1
  401. package/dist/tet-components/{p-9d8708fa.entry.js → p-667d758e.entry.js} +1 -1
  402. package/dist/tet-components/{p-8805a22c.entry.js → p-6c7b5f8d.entry.js} +1 -1
  403. package/dist/tet-components/{p-55ded3a8.entry.js → p-6dde4d69.entry.js} +1 -1
  404. package/dist/tet-components/{p-31d0b400.entry.js → p-7056a120.entry.js} +1 -1
  405. package/dist/tet-components/{p-f8353098.entry.js → p-70c608a6.entry.js} +1 -1
  406. package/dist/tet-components/{p-7b17b5c4.entry.js → p-7194c3e1.entry.js} +1 -1
  407. package/dist/tet-components/{p-525b56a5.entry.js → p-720e5059.entry.js} +1 -1
  408. package/dist/tet-components/{p-ef25e0de.entry.js → p-742d2b37.entry.js} +1 -1
  409. package/dist/tet-components/{p-b39df477.js → p-7544dfd7.js} +1 -1
  410. package/dist/tet-components/{p-cc99e827.entry.js → p-75927057.entry.js} +1 -1
  411. package/dist/tet-components/{p-3ac57578.js → p-778c46a6.js} +1 -1
  412. package/dist/tet-components/{p-3bda9ee1.entry.js → p-77a1f676.entry.js} +1 -1
  413. package/dist/tet-components/{p-c1b9f3f1.entry.js → p-798aa31d.entry.js} +1 -1
  414. package/dist/tet-components/{p-48645203.entry.js → p-79dab470.entry.js} +1 -1
  415. package/dist/tet-components/{p-a6a9122c.entry.js → p-79f778d6.entry.js} +1 -1
  416. package/dist/tet-components/{p-d20c08e6.entry.js → p-811eaad9.entry.js} +1 -1
  417. package/dist/tet-components/{p-1b07b60f.entry.js → p-83ada223.entry.js} +1 -1
  418. package/dist/tet-components/{p-5abb3bea.js → p-83f43fdd.js} +1 -1
  419. package/dist/tet-components/{p-6c6eb3a7.entry.js → p-85bcbb9d.entry.js} +1 -1
  420. package/dist/tet-components/{p-07c4082e.entry.js → p-85f61fc0.entry.js} +1 -1
  421. package/dist/tet-components/{p-b468a922.entry.js → p-872bbccf.entry.js} +1 -1
  422. package/dist/tet-components/{p-a3c4074c.entry.js → p-8b421887.entry.js} +1 -1
  423. package/dist/tet-components/{p-63f6def9.entry.js → p-8bfd498e.entry.js} +1 -1
  424. package/dist/tet-components/{p-00324775.entry.js → p-8cf12736.entry.js} +1 -1
  425. package/dist/tet-components/{p-e7c67a4d.entry.js → p-8d8de315.entry.js} +1 -1
  426. package/dist/tet-components/{p-ec5fce34.entry.js → p-90763483.entry.js} +1 -1
  427. package/dist/tet-components/{p-fceeef13.entry.js → p-94dd5d95.entry.js} +1 -1
  428. package/dist/tet-components/{p-b4b90473.entry.js → p-9c837569.entry.js} +1 -1
  429. package/dist/tet-components/{p-5c970a59.entry.js → p-9eb496bb.entry.js} +1 -1
  430. package/dist/tet-components/{p-76189fd4.entry.js → p-9ebb9fdf.entry.js} +1 -1
  431. package/dist/tet-components/{p-e74416dc.entry.js → p-a64e3e96.entry.js} +1 -1
  432. package/dist/tet-components/{p-7cc99953.entry.js → p-a6c89f10.entry.js} +1 -1
  433. package/dist/tet-components/{p-c47a464c.entry.js → p-a70cec80.entry.js} +1 -1
  434. package/dist/tet-components/{p-5feda51f.entry.js → p-a7d9e280.entry.js} +1 -1
  435. package/dist/tet-components/{p-a476fd02.js → p-a8051a99.js} +1 -1
  436. package/dist/tet-components/{p-3e4234aa.entry.js → p-a87ce46a.entry.js} +1 -1
  437. package/dist/tet-components/{p-6e06eb15.entry.js → p-a903f58f.entry.js} +1 -1
  438. package/dist/tet-components/{p-fd5c4319.entry.js → p-adf006f9.entry.js} +1 -1
  439. package/dist/tet-components/{p-c9583427.entry.js → p-b34e86ef.entry.js} +1 -1
  440. package/dist/tet-components/{p-1f5ed76c.entry.js → p-bcca51cc.entry.js} +1 -1
  441. package/dist/tet-components/{p-37ee8f7c.entry.js → p-bfd8348b.entry.js} +1 -1
  442. package/dist/tet-components/{p-cdcda9b8.entry.js → p-c2dbf3db.entry.js} +1 -1
  443. package/dist/tet-components/{p-25878f29.entry.js → p-c51da57b.entry.js} +1 -1
  444. package/dist/tet-components/{p-ec5b1040.entry.js → p-c9f21fde.entry.js} +1 -1
  445. package/dist/tet-components/{p-a83e0f86.entry.js → p-cce44523.entry.js} +1 -1
  446. package/dist/tet-components/{p-60abca86.entry.js → p-cde8057a.entry.js} +1 -1
  447. package/dist/tet-components/{p-22c2b9f8.entry.js → p-cf479331.entry.js} +1 -1
  448. package/dist/tet-components/{p-4474292d.entry.js → p-d2f9b52a.entry.js} +1 -1
  449. package/dist/tet-components/{p-70bdb222.entry.js → p-d4dc17f5.entry.js} +1 -1
  450. package/dist/tet-components/{p-9c9a4263.entry.js → p-d55121ce.entry.js} +1 -1
  451. package/dist/tet-components/{p-2dbe670c.js → p-d8518d4b.js} +1 -1
  452. package/dist/tet-components/{p-e673d076.entry.js → p-e05e8cad.entry.js} +1 -1
  453. package/dist/tet-components/{p-97e809e4.entry.js → p-e0f7a4a5.entry.js} +1 -1
  454. package/dist/tet-components/{p-67557c69.entry.js → p-e51579ab.entry.js} +1 -1
  455. package/dist/tet-components/{p-49da8f23.entry.js → p-e98108ba.entry.js} +1 -1
  456. package/dist/tet-components/{p-b1cc0c12.entry.js → p-e98a1ad1.entry.js} +1 -1
  457. package/dist/tet-components/{p-fd7733d3.entry.js → p-ecad90f7.entry.js} +1 -1
  458. package/dist/tet-components/{p-a51191f7.entry.js → p-f25a0e3a.entry.js} +1 -1
  459. package/dist/tet-components/{p-de647131.entry.js → p-f5040842.entry.js} +1 -1
  460. package/dist/tet-components/{p-b22de340.entry.js → p-f68450a4.entry.js} +1 -1
  461. package/dist/tet-components/{p-265701de.entry.js → p-f6916bfc.entry.js} +1 -1
  462. package/dist/tet-components/{p-4213c1d1.js → p-f81b3bb0.js} +1 -1
  463. package/dist/tet-components/p-f81d95ae.js +1 -0
  464. package/dist/tet-components/{p-54cc6dd2.entry.js → p-f9a0b36a.entry.js} +1 -1
  465. package/dist/tet-components/tet-components.esm.js +1 -1
  466. package/package.json +1 -1
  467. package/dist/tet-components/p-660bdc27.js +0 -1
@@ -1 +1 @@
1
- import{r as o,h as t}from"./p-5abb3bea.js";const e=class{constructor(t){o(this,t)}render(){return t("div",{key:"4ff48068b24050af159012a2ec8af7bd3ae1c63d",class:"loader"},t("div",{key:"61f01f7ccbeea4b675bb45307a99c23d9ec8a5c3",class:"loader-inner"}))}};e.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{--primary-color:rgb(0, 96, 245);--secondary-color:var(--color-td600);--size:2.5rem;--padding:.25rem}@keyframes loader-animation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.loader{padding:var(--padding);width:var(--size);height:var(--size)}.loader-inner{position:relative;height:100%;width:auto}.loader-inner::before{animation:loader-animation 0.6s linear infinite;border-style:solid;border-color:var(--primary-color) transparent transparent var(--primary-color);content:"";display:block;border-radius:50%;position:absolute;top:0;left:0;right:0;bottom:0;box-sizing:inherit}.loader-inner::after{animation:loader-animation 1.1s linear infinite;border-style:solid;border-color:transparent transparent transparent var(--secondary-color);content:"";display:block;border-radius:50%;position:absolute;top:0;left:0;right:0;bottom:0;box-sizing:inherit}';export{e as tet_loader}
1
+ import{r as o,h as t}from"./p-83f43fdd.js";const e=class{constructor(t){o(this,t)}render(){return t("div",{key:"4ff48068b24050af159012a2ec8af7bd3ae1c63d",class:"loader"},t("div",{key:"61f01f7ccbeea4b675bb45307a99c23d9ec8a5c3",class:"loader-inner"}))}};e.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{--primary-color:rgb(0, 96, 245);--secondary-color:var(--color-td600);--size:2.5rem;--padding:.25rem}@keyframes loader-animation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.loader{padding:var(--padding);width:var(--size);height:var(--size)}.loader-inner{position:relative;height:100%;width:auto}.loader-inner::before{animation:loader-animation 0.6s linear infinite;border-style:solid;border-color:var(--primary-color) transparent transparent var(--primary-color);content:"";display:block;border-radius:50%;position:absolute;top:0;left:0;right:0;bottom:0;box-sizing:inherit}.loader-inner::after{animation:loader-animation 1.1s linear infinite;border-style:solid;border-color:transparent transparent transparent var(--secondary-color);content:"";display:block;border-radius:50%;position:absolute;top:0;left:0;right:0;bottom:0;box-sizing:inherit}';export{e as tet_loader}
@@ -1 +1 @@
1
- import{r as t,f as o,h as e,H as r}from"./p-5abb3bea.js";import{p as n,t as a}from"./p-a476fd02.js";import"./p-9a2b6ee2.js";import"./p-726651bc.js";const i=class{constructor(o){t(this,o),this.activeDotIndex=0,this.dotCount=0,this.totalItems=0,this.activeItem=0,this.theme="light",this.isDragging=!1,this.dragOffset=0,this.showDots=!0,this.showGradient=!1,this.showButtons=!0,this.transitionDuration=500,this.swipeThreshold=32,this.transitionTiming="cubic-bezier(0.77,0,0.175,1)",this.buttonIconLeft="arrow-left",this.buttonIconRight="arrow-right",this.maxDots=8,this.label=void 0,this.language="lv"}draggedAnchor=null;dragMoved=!1;dragPointerStartX=0;trackElement=null;container;dragStartX=0;async onLanguageChange(t){n("tet-components",t).then((()=>o(this)))}componentWillLoad(){n("tet-components",this.language).then((()=>o(this)))}getSlotElements(){const t=this.container?.querySelector("slot");if(!t)return;let o=t.assignedElements?t.assignedElements():[];return 0!==o.length?(o[0].className.includes("carousel-wrapper")&&(o=Array.from(o[0].children)),o):void 0}getViewportWidth(){return this.container?.offsetWidth||window.innerWidth}getSlotClientWidth(){return this.trackElement?.querySelector("slot")?.offsetWidth||window.innerWidth}afterLayout(t){requestAnimationFrame((()=>requestAnimationFrame(t)))}getDotScreenLength(){return this.getSlotClientWidth()/this.dotCount}isLast(t,o){return this.getSlotClientWidth()-o<=t}isLastViewport(t){const o=this.getViewportWidth();return this.isLast(o,t)}isLastDotScreen(t,o){const e=this.getViewportWidth(),r=Math.max(o,e);return this.isLast(r,t)}getFullyVisibleItemCount(){const t=this.getSlotElements();if(!t||0===t.length)return 0;const o=this.getViewportWidth(),e=Math.abs(this.dragOffset),r=e,n=e+o;let a=0;for(const o of t){const t=o.getBoundingClientRect(),e=this.trackElement.getBoundingClientRect(),i=t.left-e.left;i>=r&&i+o.offsetWidth<=n&&a++}return a}leftGradientRef;rightGradientRef;checkGradient(){if(this.showGradient){const t=Math.abs(this.dragOffset),o=this.getViewportWidth(),e=this.getSlotClientWidth()-t-o;if(e>=0){const o=e<16;t<16?(this.leftGradientRef.style.opacity="0",this.rightGradientRef.style.opacity="1"):o?(this.leftGradientRef.style.opacity="1",this.rightGradientRef.style.opacity="0"):(this.leftGradientRef.style.opacity="1",this.rightGradientRef.style.opacity="1")}}else this.leftGradientRef.style.opacity="0",this.rightGradientRef.style.opacity="0"}getDotCount(){const t=this.getSlotElements();if(!t)return this.dotCount=1,this.totalItems=0,1;this.totalItems=t.length;const o=this.getViewportWidth(),e=this.getSlotClientWidth(),r=Math.ceil(e/Math.max(1,o));this.dotCount=Math.max(1,Math.min(this?.maxDots,r))}handleMove=()=>{const t=this.getSlotElements();if(!t)return 1;const o=t[this.activeItem];o&&this.moveToItem(o)};handlePrev=()=>{this.activeItem<=0||this.afterLayout((()=>{const t=Math.max(1,this.getFullyVisibleItemCount());this.activeItem-=this.activeItem&&this.activeItem<t?this.activeItem:t,this.handleMove()}))};handleNext=()=>{this.activeItem>=this.totalItems-1||this.afterLayout((()=>{const t=Math.max(1,this.getFullyVisibleItemCount());this.totalItems-this.activeItem<t?this.activeItem=this.totalItems-1:this.activeItem+=t,this.handleMove()}))};moveToLastScreen=()=>{const t=this.getViewportWidth(),o=this.getSlotClientWidth();this.dragOffset=-(o-t)};calculateGradient(t,o){const e=this.getSlotClientWidth();let r=this.showGradient?160:0;return r=o<160?o:r,r=e-o-t.offsetWidth<160?0:r,r}calcLastScreenElement=t=>{const o=this.getSlotElements();if(!o)return null;for(const[e,r]of o.entries()){const o=r.getBoundingClientRect(),n=this.trackElement.getBoundingClientRect();let a=o.left-n.left;const i=this.calculateGradient(r,a);if(a>=t-this.swipeThreshold+i)return{item:r,index:e}}return{item:o[0],index:0}};handleDotClick=t=>{this.activeDotIndex=t;const o=this.getSlotClientWidth();let e=0;e=this.dotCount-1!==this.activeDotIndex||this.isDragging?t*this.getDotScreenLength():o-this.getViewportWidth();const{item:r,index:n}=this.calcLastScreenElement(e);if(this.isLastViewport(e))(n||0===n)&&(this.activeItem=n),this.moveToLastScreen();else{if(!r)return;this.moveToItem(r,n)}};onPointerDown=t=>{t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),this.isDragging=!0,this.dragStartX=t.screenX,this.dragMoved=!1,this.dragPointerStartX=t.screenX,document.body.style.userSelect="none",document.addEventListener("pointermove",this.onPointerMove),document.addEventListener("pointerup",this.onPointerUp);let o=t.target;for(this.draggedAnchor=null;o;){if("A"===o.tagName||o.getAttribute("tabindex")){this.draggedAnchor=o;break}o=o.parentElement}};onPointerMove=t=>{if(!this.isDragging)return;const o=Math.abs(t.screenX-this.dragPointerStartX);if(!this.dragMoved&&o>5&&(this.dragMoved=!0,this.trackElement))try{this.trackElement.setPointerCapture?.(t.pointerId)}catch{}let e=this.dragOffset;e+=t.screenX-this.dragStartX,this.dragStartX=t.screenX;const r=this.getViewportWidth();-(this.getSlotClientWidth()-r)<e&&e<0&&(this.dragOffset=e)};onPointerUp=t=>{if(this.trackElement)try{this.trackElement.releasePointerCapture?.(t.pointerId)}catch{}if(!this.isDragging)return;this.isDragging=!1;const o=t.screenX-this.dragPointerStartX;if(Math.abs(o)>this.swipeThreshold&&(o<0&&this.handleNext(),o>0&&this.handlePrev()),document.body.style.userSelect="",document.removeEventListener("pointermove",this.onPointerMove),document.removeEventListener("pointerup",this.onPointerUp),this.draggedAnchor&&this.dragMoved){const t=o=>{o.preventDefault(),o.stopPropagation(),this.draggedAnchor?.removeEventListener("click",t,!0)};this.draggedAnchor.addEventListener("click",t,!0)}};_showButtons(){return!(!this.showButtons||this.getFullyVisibleItemCount()>=this.totalItems)}_showDots(){return!(!this.showDots||this.getFullyVisibleItemCount()&&this.getFullyVisibleItemCount()>=this.totalItems)}componentDidLoad(){this.getDotCount(),window.addEventListener("resize",this.getDotCount.bind(this)),this.addAnchorFocusListeners(),this.checkGradient(),this.initSlotListeners()}slotObserver;handleSlotChange(){this.getDotCount(),this.checkGradient(),o(this)}initSlotListeners(){const t=this.container?.querySelector("slot");if(!t)return;if(t.addEventListener("slotchange",(()=>this.handleSlotChange())),"function"!=typeof t.assignedElements)return;const o=t.assignedElements();if(1!==o.length)return;const e=o[0];this.slotObserver=new MutationObserver((()=>this.handleSlotChange())),this.slotObserver.observe(e,{childList:!0,subtree:!1})}addAnchorFocusListeners(){const t=this.getSlotElements();if(!t)return 1;let o=[];t.forEach((t=>{"A"===t.tagName&&o.push(t),o=o.concat(Array.from(t.querySelectorAll("a"))),"0"===t.getAttribute("tabindex")&&o.push(t);const e=Array.from(t.querySelectorAll('[tabindex="0"]'));if(o=o.concat(e),t.shadowRoot){const e=Array.from(t.shadowRoot.querySelectorAll('[tabindex="0"]'));o=o.concat(e)}})),o.forEach(((t,o)=>{t.addEventListener("focus",(()=>{this.moveToItem(t,o)}))}))}clampDotIndex(t){return Math.max(0,Math.min(t,this.dotCount-1))}setDotIndex(t,o){let e=0;const r=this.getDotScreenLength();e=this.isLastDotScreen(t,r)?this.dotCount-1:Math.floor((t+o)/r),this.activeDotIndex=this.clampDotIndex(e)}moveToItem(t,o){(o||0===o)&&(this.activeItem=o);const e=t.getBoundingClientRect(),r=this.trackElement.getBoundingClientRect();let n=e.left-r.left;const a=this.calculateGradient(t,n);this.setDotIndex(n,a),this.isLastViewport(n)?this.moveToLastScreen():this.dragOffset=-n}disconnectedCallback(){window.removeEventListener("resize",this.getDotCount.bind(this));const t=this.container?.querySelector("slot");t&&t.removeEventListener("slotchange",(()=>this.handleSlotChange())),this.slotObserver&&(this.slotObserver?.disconnect(),this.slotObserver=null),document.removeEventListener("pointermove",this.onPointerMove),document.removeEventListener("pointerup",this.onPointerUp)}render(){return e(r,{key:"239fcae0f7ba43bcf1f394af658b60f4a306f4db"},e("div",{key:"3857752d5ed212d26cc743169f6f1383b7110d3b",class:{"tet-carousel":!0,[`${this.theme}`]:!0},ref:t=>this.container=t,part:"carousel"},e("div",{key:"b4d6b90d86bb9a9274a2accf2f5ce907d9634c7a",class:"tet-carousel__container"},e("div",{key:"a029b4b4ab96a39150935f4c9c0d82262dd480be",class:"tet-carousel__gradient-left",ref:t=>{this.leftGradientRef=t}}),e("div",{key:"63f29224d4fad833b81a4ddea083b7f6a4c783a3",class:"tet-carousel__gradient-right",ref:t=>{this.rightGradientRef=t}}),e("div",{key:"a85c396691543ea86169e71133baddbb20555915",class:"tet-carousel__track "+(this._showButtons()||this._showDots()?"":"tet-carousel__track--center"),ref:t=>this.trackElement=t,style:{transform:`translateX(${this.dragOffset}px)`,transition:this.isDragging?"none":`transform ${this.transitionDuration}ms ${this.transitionTiming}`},onPointerDown:this.onPointerDown,onMouseMove:this.onPointerMove,onPointerUp:this.onPointerUp,onMouseLeave:this.onPointerUp},e("slot",{key:"035f1009bbbb5852af92ef5d3476686ac3ded670"}))),!!this.label&&e("div",{key:"36a417e5c584b0a2f121f4da7f1ced5ba24bee80",class:"tet-carousel__label"},this.label),(this._showButtons()||this._showDots())&&e("div",{key:"63c6244e02866eb5cb1266fcd2df2ae0cf4f4bc7",class:"tet-carousel__controls"},this._showButtons()&&e("div",{key:"1788aadd6cdd4a02882f26c443be8ce21297aad5",class:"tet-carousel__buttons tet-carousel__buttons--mobile"},e("tet-button",{key:"e58cc4096389a4df33a035364918d045d8ac2e67",class:"tet-carousel__btn",theme:"light"===this.theme?"dark":"light","icon-name":this.buttonIconLeft,"icon-mode":!0,tabIndex:-1,onPointerDown:t=>t.stopPropagation(),onPointerUp:()=>{this.isDragging||this.handlePrev()},"aria-label":a("components-carousel-previous"),disabled:this.dotCount<=1||0===this.activeItem})),this._showDots()&&e("div",{key:"61c7d4c5e4d1b0472b444e4156c454b58b96c226",class:"tet-carousel__dots"},Array.from({length:this.dotCount}).map(((t,o)=>e("button",{type:"button",tabIndex:-1,class:"tet-carousel__dot"+(o===this.activeDotIndex?" active":""),key:o,onPointerDown:t=>t.stopPropagation(),onPointerUp:()=>{this.isDragging||this.handleDotClick(o)},onClick:()=>this.handleDotClick(o)})))),this._showButtons()&&e("div",{key:"2dec4e09c0e25528c23dda4d29a67506f02dddc6",class:"tet-carousel__buttons "},e("tet-button",{key:"ea762b0d356e4cd77aa5d5fd6040d94b06fc839c",class:"tet-carousel__buttons--desktop tet-carousel__btn ",theme:"light"===this.theme?"dark":"light","icon-name":this.buttonIconLeft,"icon-mode":!0,tabIndex:-1,onPointerDown:t=>t.stopPropagation(),onPointerUp:()=>{this.isDragging||this.handlePrev()},"aria-label":a("components-carousel-previous"),disabled:this.dotCount<=1||0===this.activeItem}),e("tet-button",{key:"b33637f0e925d96984890894edb9471c0e42d72b",class:"tet-carousel__btn",theme:"light"===this.theme?"dark":"light","icon-name":this.buttonIconRight,"icon-mode":!0,tabIndex:-1,onPointerDown:t=>t.stopPropagation(),onPointerUp:()=>{this.isDragging||this.handleNext()},"aria-label":a("components-carousel-next"),disabled:this.dotCount<=1||this.activeItem===this.totalItems-1||this.isLastViewport(-this.dragOffset)})))))}static get watchers(){return{language:["onLanguageChange"],showGradient:["checkGradient"],dragOffset:["checkGradient"]}}};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{--carousel-background:transparent;--carousel-button-background:transparent;--carousel-button-border:2px solid var(--tc-border-primary);--carousel-button-border-disabled:2px solid var(--tc-button-border-disabled);--carousel-button-border:0.125rem solid var(--tc-border-primary);--carousel-button-border-disabled:0.125rem solid var(--tc-button-border-disabled);--carousel-active-button-background:var(--tc-grey-110);--carousel-button-size:2.75rem;--carousel-button-icon-size:1.5rem;--carousel-button-icon-color:var(--tc-grey-110);--carousel-dot-size:1rem;--carousel-buttons-bottom:-1rem;--carousel-dot-background:transparent;--carousel-dot-border:1px solid var(--tc-grey-70);--carousel-dot-border:0.0625rem solid var(--tc-grey-70);--carousel-dot-margin:0;--carousel-dot-margin-mobile:1rem;--carousel-label-color:var(--tc-text-secondary);--carousel-dot-active-background:var(--tc-layer-inverse-primary);--carousel-dot-hover-background:var(--tc-button-secondary-outline-background-hover);--carousel-dot-active-hover-background:var(--tc-grey-80);--carousel-button-hover-background:var(--tc-button-secondary-background-hover);--carousel-button-pressed-background:var(--tc-button-secondary-background-pressed);--carousel-dots-gap:0.5rem;--carousel-buttons-gap:1rem;--carousel-track-gap:0;--carousel-track-height:100%;--carousel-item-width:100%;--carousel-item-height:100%;--carousel-buttons-right:2rem;--carousel-dots-bottom:-1rem;--carousel-gradient-light:var(--tc-background-primary);--carousel-gradient-dark:var(--tc-background-primary-dark);--carousel-gradient:var(--carousel-gradient-light);-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer;width:100%}.tet-carousel{position:relative;width:100%;background:var(--carousel-background)}.tet-carousel.dark{--carousel-dot-active-background:var(--tc-layer-inverse-primary-dark);--carousel-dot-border:1px solid var(--tc-grey-70-dark);--carousel-button-border:2px solid var(--tc-button-border-secondary-dark);--carousel-button-border-disabled:2px solid var(--tc-button-border-disabled-dark);--carousel-dot-border:0.0625rem solid var(--tc-grey-70-dark);--carousel-button-border:0.125rem solid var(--tc-button-border-secondary-dark);--carousel-button-border-disabled:0.125rem solid var(--tc-button-border-disabled-dark);--carousel-gradient:var(--carousel-gradient-dark);--carousel-dot-hover-background:var(--tc-button-secondary-outline-background-hover-dark);--carousel-dot-active-hover-background:var(--tc-grey-80-dark);--carousel-button-hover-background:var(--tc-button-secondary-background-hover-dark);--carousel-button-pressed-background:var(--tc-button-secondary-background-pressed-dark);--carousel-label-color:var(--tc-text-secondary-dark)}.tet-carousel__container{width:var(--carousel-item-width);max-width:var(--carousel-item-width);height:var(--carousel-track-height);position:relative;margin-bottom:var(--carousel-dot-margin-mobile)}.tet-carousel__controls{position:relative;display:flex;align-items:center;justify-content:center;height:fit-content;margin-bottom:var(--carousel-dot-margin-mobile);min-height:var(--carousel-button-size);touch-action:manipulation}.tet-carousel__label{color:var(--carousel-label-color);margin-left:auto;margin-right:auto;margin-bottom:1rem;text-align:center;font-family:var(--font-family-content);font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem;letter-spacing:-0.003125rem}.tet-carousel__track{touch-action:pan-y;display:flex;height:var(--carousel-track-height);will-change:transform;gap:var(--carousel-track-gap)}.tet-carousel__track--center{justify-content:center}.tet-carousel__track>*{flex-shrink:0;display:flex;align-items:center;justify-content:center}.tet-carousel__buttons{position:absolute;right:0;bottom:50%;display:flex;transform:translateY(50%);gap:var(--carousel-buttons-gap);z-index:2}.tet-carousel__buttons--mobile{display:flex;left:0}.tet-carousel__buttons--desktop{display:none !important}.tet-carousel__btn{background:var(--carousel-button-background);border:none;border-radius:50%;box-shadow:var(--carousel-button-shadow);width:2.25rem;height:2.25rem;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background 0.2s, box-shadow 0.2s;outline:none}.tet-carousel__btn::part(button){--button-padding:0;--button-background:transparent;--button-width:var(--carousel-button-size);backdrop-filter:none;border:var(--carousel-button-border)}.tet-carousel__btn::part(button):disabled{--carousel-button-hover-background:transparent;border:var(--carousel-button-border-disabled);opacity:0.5;cursor:not-allowed}.tet-carousel__btn::part(button):hover{background-color:var(--carousel-button-hover-background)}.tet-carousel__btn::part(button):focus:not(:disabled){background-color:var(--carousel-button-pressed-background)}.tet-carousel__btn::part(button):active:not(:disabled){background-color:var(--carousel-button-pressed-background)}.tet-carousel__btn.active{background:var(--carousel-active-button-background);box-shadow:var(--carousel-button-active-shadow)}.tet-carousel__btn tet-icon{--icon-size:var(--carousel-button-icon-size);--icon-color:var(--carousel-button-icon-color)}.tet-carousel__dots{display:flex;width:100%;gap:var(--carousel-dots-gap);justify-content:center;align-items:center}.tet-carousel__dot{width:var(--carousel-dot-size);height:var(--carousel-dot-size);border-radius:50%;background:var(--carousel-dot-background);cursor:pointer;transition:background 0.2s;border:var(--carousel-dot-border);z-index:2;touch-action:manipulation}.tet-carousel__dot:hover{background:var(--carousel-dot-hover-background)}.tet-carousel__dot.active{background:var(--carousel-dot-active-background);border:none}.tet-carousel__dot.active:hover{background:var(--carousel-dot-active-hover-background)}.tet-carousel__dot:focus-visible{outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.125rem}.tet-carousel__gradient-left,.tet-carousel__gradient-right{position:absolute;top:0;display:block;width:13.75rem;height:100%;transition:opacity 0.1s;pointer-events:none;z-index:20;opacity:0}.tet-carousel__gradient-left{background:linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, var(--carousel-gradient) 100%);left:0}.tet-carousel__gradient-right{background:linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, var(--carousel-gradient) 100%);right:0}@media all and (min-width: 46.25rem){.tet-carousel__controls{margin-bottom:var(--carousel-dot-margin)}.tet-carousel__label{font-size:1rem;line-height:1.5rem;letter-spacing:-0.00625rem}.tet-carousel__buttons{right:0.25rem}.tet-carousel__buttons--mobile{display:none}.tet-carousel__buttons--desktop{display:flex !important}.tet-carousel__btn{width:var(--carousel-button-size);height:var(--carousel-button-size)}}@media all and (min-width: 90rem){.tet-carousel__label{font-size:1.125rem;line-height:1.75rem}}';export{i as tet_carousel}
1
+ import{r as t,f as o,h as e,H as r}from"./p-83f43fdd.js";import{p as n,t as a}from"./p-a8051a99.js";import"./p-9a2b6ee2.js";import"./p-0ebbf5ef.js";const i=class{constructor(o){t(this,o),this.activeDotIndex=0,this.dotCount=0,this.totalItems=0,this.activeItem=0,this.theme="light",this.isDragging=!1,this.dragOffset=0,this.showDots=!0,this.showGradient=!1,this.showButtons=!0,this.transitionDuration=500,this.swipeThreshold=32,this.transitionTiming="cubic-bezier(0.77,0,0.175,1)",this.buttonIconLeft="arrow-left",this.buttonIconRight="arrow-right",this.maxDots=8,this.label=void 0,this.language="lv"}draggedAnchor=null;dragMoved=!1;dragPointerStartX=0;trackElement=null;container;dragStartX=0;async onLanguageChange(t){n("tet-components",t).then((()=>o(this)))}componentWillLoad(){n("tet-components",this.language).then((()=>o(this)))}getSlotElements(){const t=this.container?.querySelector("slot");if(!t)return;let o=t.assignedElements?t.assignedElements():[];return 0!==o.length?(o[0].className.includes("carousel-wrapper")&&(o=Array.from(o[0].children)),o):void 0}getViewportWidth(){return this.container?.offsetWidth||window.innerWidth}getSlotClientWidth(){return this.trackElement?.querySelector("slot")?.offsetWidth||window.innerWidth}afterLayout(t){requestAnimationFrame((()=>requestAnimationFrame(t)))}getDotScreenLength(){return this.getSlotClientWidth()/this.dotCount}isLast(t,o){return this.getSlotClientWidth()-o<=t}isLastViewport(t){const o=this.getViewportWidth();return this.isLast(o,t)}isLastDotScreen(t,o){const e=this.getViewportWidth(),r=Math.max(o,e);return this.isLast(r,t)}getFullyVisibleItemCount(){const t=this.getSlotElements();if(!t||0===t.length)return 0;const o=this.getViewportWidth(),e=Math.abs(this.dragOffset),r=e,n=e+o;let a=0;for(const o of t){const t=o.getBoundingClientRect(),e=this.trackElement.getBoundingClientRect(),i=t.left-e.left;i>=r&&i+o.offsetWidth<=n&&a++}return a}leftGradientRef;rightGradientRef;checkGradient(){if(this.showGradient){const t=Math.abs(this.dragOffset),o=this.getViewportWidth(),e=this.getSlotClientWidth()-t-o;if(e>=0){const o=e<16;t<16?(this.leftGradientRef.style.opacity="0",this.rightGradientRef.style.opacity="1"):o?(this.leftGradientRef.style.opacity="1",this.rightGradientRef.style.opacity="0"):(this.leftGradientRef.style.opacity="1",this.rightGradientRef.style.opacity="1")}}else this.leftGradientRef.style.opacity="0",this.rightGradientRef.style.opacity="0"}getDotCount(){const t=this.getSlotElements();if(!t)return this.dotCount=1,this.totalItems=0,1;this.totalItems=t.length;const o=this.getViewportWidth(),e=this.getSlotClientWidth(),r=Math.ceil(e/Math.max(1,o));this.dotCount=Math.max(1,Math.min(this?.maxDots,r))}handleMove=()=>{const t=this.getSlotElements();if(!t)return 1;const o=t[this.activeItem];o&&this.moveToItem(o)};handlePrev=()=>{this.activeItem<=0||this.afterLayout((()=>{const t=Math.max(1,this.getFullyVisibleItemCount());this.activeItem-=this.activeItem&&this.activeItem<t?this.activeItem:t,this.handleMove()}))};handleNext=()=>{this.activeItem>=this.totalItems-1||this.afterLayout((()=>{const t=Math.max(1,this.getFullyVisibleItemCount());this.totalItems-this.activeItem<t?this.activeItem=this.totalItems-1:this.activeItem+=t,this.handleMove()}))};moveToLastScreen=()=>{const t=this.getViewportWidth(),o=this.getSlotClientWidth();this.dragOffset=-(o-t)};calculateGradient(t,o){const e=this.getSlotClientWidth();let r=this.showGradient?160:0;return r=o<160?o:r,r=e-o-t.offsetWidth<160?0:r,r}calcLastScreenElement=t=>{const o=this.getSlotElements();if(!o)return null;for(const[e,r]of o.entries()){const o=r.getBoundingClientRect(),n=this.trackElement.getBoundingClientRect();let a=o.left-n.left;const i=this.calculateGradient(r,a);if(a>=t-this.swipeThreshold+i)return{item:r,index:e}}return{item:o[0],index:0}};handleDotClick=t=>{this.activeDotIndex=t;const o=this.getSlotClientWidth();let e=0;e=this.dotCount-1!==this.activeDotIndex||this.isDragging?t*this.getDotScreenLength():o-this.getViewportWidth();const{item:r,index:n}=this.calcLastScreenElement(e);if(this.isLastViewport(e))(n||0===n)&&(this.activeItem=n),this.moveToLastScreen();else{if(!r)return;this.moveToItem(r,n)}};onPointerDown=t=>{t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),this.isDragging=!0,this.dragStartX=t.screenX,this.dragMoved=!1,this.dragPointerStartX=t.screenX,document.body.style.userSelect="none",document.addEventListener("pointermove",this.onPointerMove),document.addEventListener("pointerup",this.onPointerUp);let o=t.target;for(this.draggedAnchor=null;o;){if("A"===o.tagName||o.getAttribute("tabindex")){this.draggedAnchor=o;break}o=o.parentElement}};onPointerMove=t=>{if(!this.isDragging)return;const o=Math.abs(t.screenX-this.dragPointerStartX);if(!this.dragMoved&&o>5&&(this.dragMoved=!0,this.trackElement))try{this.trackElement.setPointerCapture?.(t.pointerId)}catch{}let e=this.dragOffset;e+=t.screenX-this.dragStartX,this.dragStartX=t.screenX;const r=this.getViewportWidth();-(this.getSlotClientWidth()-r)<e&&e<0&&(this.dragOffset=e)};onPointerUp=t=>{if(this.trackElement)try{this.trackElement.releasePointerCapture?.(t.pointerId)}catch{}if(!this.isDragging)return;this.isDragging=!1;const o=t.screenX-this.dragPointerStartX;if(Math.abs(o)>this.swipeThreshold&&(o<0&&this.handleNext(),o>0&&this.handlePrev()),document.body.style.userSelect="",document.removeEventListener("pointermove",this.onPointerMove),document.removeEventListener("pointerup",this.onPointerUp),this.draggedAnchor&&this.dragMoved){const t=o=>{o.preventDefault(),o.stopPropagation(),this.draggedAnchor?.removeEventListener("click",t,!0)};this.draggedAnchor.addEventListener("click",t,!0)}};_showButtons(){return!(!this.showButtons||this.getFullyVisibleItemCount()>=this.totalItems)}_showDots(){return!(!this.showDots||this.getFullyVisibleItemCount()&&this.getFullyVisibleItemCount()>=this.totalItems)}componentDidLoad(){this.getDotCount(),window.addEventListener("resize",this.getDotCount.bind(this)),this.addAnchorFocusListeners(),this.checkGradient(),this.initSlotListeners()}slotObserver;handleSlotChange(){this.getDotCount(),this.checkGradient(),o(this)}initSlotListeners(){const t=this.container?.querySelector("slot");if(!t)return;if(t.addEventListener("slotchange",(()=>this.handleSlotChange())),"function"!=typeof t.assignedElements)return;const o=t.assignedElements();if(1!==o.length)return;const e=o[0];this.slotObserver=new MutationObserver((()=>this.handleSlotChange())),this.slotObserver.observe(e,{childList:!0,subtree:!1})}addAnchorFocusListeners(){const t=this.getSlotElements();if(!t)return 1;let o=[];t.forEach((t=>{"A"===t.tagName&&o.push(t),o=o.concat(Array.from(t.querySelectorAll("a"))),"0"===t.getAttribute("tabindex")&&o.push(t);const e=Array.from(t.querySelectorAll('[tabindex="0"]'));if(o=o.concat(e),t.shadowRoot){const e=Array.from(t.shadowRoot.querySelectorAll('[tabindex="0"]'));o=o.concat(e)}})),o.forEach(((t,o)=>{t.addEventListener("focus",(()=>{this.moveToItem(t,o)}))}))}clampDotIndex(t){return Math.max(0,Math.min(t,this.dotCount-1))}setDotIndex(t,o){let e=0;const r=this.getDotScreenLength();e=this.isLastDotScreen(t,r)?this.dotCount-1:Math.floor((t+o)/r),this.activeDotIndex=this.clampDotIndex(e)}moveToItem(t,o){(o||0===o)&&(this.activeItem=o);const e=t.getBoundingClientRect(),r=this.trackElement.getBoundingClientRect();let n=e.left-r.left;const a=this.calculateGradient(t,n);this.setDotIndex(n,a),this.isLastViewport(n)?this.moveToLastScreen():this.dragOffset=-n}disconnectedCallback(){window.removeEventListener("resize",this.getDotCount.bind(this));const t=this.container?.querySelector("slot");t&&t.removeEventListener("slotchange",(()=>this.handleSlotChange())),this.slotObserver&&(this.slotObserver?.disconnect(),this.slotObserver=null),document.removeEventListener("pointermove",this.onPointerMove),document.removeEventListener("pointerup",this.onPointerUp)}render(){return e(r,{key:"239fcae0f7ba43bcf1f394af658b60f4a306f4db"},e("div",{key:"3857752d5ed212d26cc743169f6f1383b7110d3b",class:{"tet-carousel":!0,[`${this.theme}`]:!0},ref:t=>this.container=t,part:"carousel"},e("div",{key:"b4d6b90d86bb9a9274a2accf2f5ce907d9634c7a",class:"tet-carousel__container"},e("div",{key:"a029b4b4ab96a39150935f4c9c0d82262dd480be",class:"tet-carousel__gradient-left",ref:t=>{this.leftGradientRef=t}}),e("div",{key:"63f29224d4fad833b81a4ddea083b7f6a4c783a3",class:"tet-carousel__gradient-right",ref:t=>{this.rightGradientRef=t}}),e("div",{key:"a85c396691543ea86169e71133baddbb20555915",class:"tet-carousel__track "+(this._showButtons()||this._showDots()?"":"tet-carousel__track--center"),ref:t=>this.trackElement=t,style:{transform:`translateX(${this.dragOffset}px)`,transition:this.isDragging?"none":`transform ${this.transitionDuration}ms ${this.transitionTiming}`},onPointerDown:this.onPointerDown,onMouseMove:this.onPointerMove,onPointerUp:this.onPointerUp,onMouseLeave:this.onPointerUp},e("slot",{key:"035f1009bbbb5852af92ef5d3476686ac3ded670"}))),!!this.label&&e("div",{key:"36a417e5c584b0a2f121f4da7f1ced5ba24bee80",class:"tet-carousel__label"},this.label),(this._showButtons()||this._showDots())&&e("div",{key:"63c6244e02866eb5cb1266fcd2df2ae0cf4f4bc7",class:"tet-carousel__controls"},this._showButtons()&&e("div",{key:"1788aadd6cdd4a02882f26c443be8ce21297aad5",class:"tet-carousel__buttons tet-carousel__buttons--mobile"},e("tet-button",{key:"e58cc4096389a4df33a035364918d045d8ac2e67",class:"tet-carousel__btn",theme:"light"===this.theme?"dark":"light","icon-name":this.buttonIconLeft,"icon-mode":!0,tabIndex:-1,onPointerDown:t=>t.stopPropagation(),onPointerUp:()=>{this.isDragging||this.handlePrev()},"aria-label":a("components-carousel-previous"),disabled:this.dotCount<=1||0===this.activeItem})),this._showDots()&&e("div",{key:"61c7d4c5e4d1b0472b444e4156c454b58b96c226",class:"tet-carousel__dots"},Array.from({length:this.dotCount}).map(((t,o)=>e("button",{type:"button",tabIndex:-1,class:"tet-carousel__dot"+(o===this.activeDotIndex?" active":""),key:o,onPointerDown:t=>t.stopPropagation(),onPointerUp:()=>{this.isDragging||this.handleDotClick(o)},onClick:()=>this.handleDotClick(o)})))),this._showButtons()&&e("div",{key:"2dec4e09c0e25528c23dda4d29a67506f02dddc6",class:"tet-carousel__buttons "},e("tet-button",{key:"ea762b0d356e4cd77aa5d5fd6040d94b06fc839c",class:"tet-carousel__buttons--desktop tet-carousel__btn ",theme:"light"===this.theme?"dark":"light","icon-name":this.buttonIconLeft,"icon-mode":!0,tabIndex:-1,onPointerDown:t=>t.stopPropagation(),onPointerUp:()=>{this.isDragging||this.handlePrev()},"aria-label":a("components-carousel-previous"),disabled:this.dotCount<=1||0===this.activeItem}),e("tet-button",{key:"b33637f0e925d96984890894edb9471c0e42d72b",class:"tet-carousel__btn",theme:"light"===this.theme?"dark":"light","icon-name":this.buttonIconRight,"icon-mode":!0,tabIndex:-1,onPointerDown:t=>t.stopPropagation(),onPointerUp:()=>{this.isDragging||this.handleNext()},"aria-label":a("components-carousel-next"),disabled:this.dotCount<=1||this.activeItem===this.totalItems-1||this.isLastViewport(-this.dragOffset)})))))}static get watchers(){return{language:["onLanguageChange"],showGradient:["checkGradient"],dragOffset:["checkGradient"]}}};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{--carousel-background:transparent;--carousel-button-background:transparent;--carousel-button-border:2px solid var(--tc-border-primary);--carousel-button-border-disabled:2px solid var(--tc-button-border-disabled);--carousel-button-border:0.125rem solid var(--tc-border-primary);--carousel-button-border-disabled:0.125rem solid var(--tc-button-border-disabled);--carousel-active-button-background:var(--tc-grey-110);--carousel-button-size:2.75rem;--carousel-button-icon-size:1.5rem;--carousel-button-icon-color:var(--tc-grey-110);--carousel-dot-size:1rem;--carousel-buttons-bottom:-1rem;--carousel-dot-background:transparent;--carousel-dot-border:1px solid var(--tc-grey-70);--carousel-dot-border:0.0625rem solid var(--tc-grey-70);--carousel-dot-margin:0;--carousel-dot-margin-mobile:1rem;--carousel-label-color:var(--tc-text-secondary);--carousel-dot-active-background:var(--tc-layer-inverse-primary);--carousel-dot-hover-background:var(--tc-button-secondary-outline-background-hover);--carousel-dot-active-hover-background:var(--tc-grey-80);--carousel-button-hover-background:var(--tc-button-secondary-background-hover);--carousel-button-pressed-background:var(--tc-button-secondary-background-pressed);--carousel-dots-gap:0.5rem;--carousel-buttons-gap:1rem;--carousel-track-gap:0;--carousel-track-height:100%;--carousel-item-width:100%;--carousel-item-height:100%;--carousel-buttons-right:2rem;--carousel-dots-bottom:-1rem;--carousel-gradient-light:var(--tc-background-primary);--carousel-gradient-dark:var(--tc-background-primary-dark);--carousel-gradient:var(--carousel-gradient-light);-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer;width:100%}.tet-carousel{position:relative;width:100%;background:var(--carousel-background)}.tet-carousel.dark{--carousel-dot-active-background:var(--tc-layer-inverse-primary-dark);--carousel-dot-border:1px solid var(--tc-grey-70-dark);--carousel-button-border:2px solid var(--tc-button-border-secondary-dark);--carousel-button-border-disabled:2px solid var(--tc-button-border-disabled-dark);--carousel-dot-border:0.0625rem solid var(--tc-grey-70-dark);--carousel-button-border:0.125rem solid var(--tc-button-border-secondary-dark);--carousel-button-border-disabled:0.125rem solid var(--tc-button-border-disabled-dark);--carousel-gradient:var(--carousel-gradient-dark);--carousel-dot-hover-background:var(--tc-button-secondary-outline-background-hover-dark);--carousel-dot-active-hover-background:var(--tc-grey-80-dark);--carousel-button-hover-background:var(--tc-button-secondary-background-hover-dark);--carousel-button-pressed-background:var(--tc-button-secondary-background-pressed-dark);--carousel-label-color:var(--tc-text-secondary-dark)}.tet-carousel__container{width:var(--carousel-item-width);max-width:var(--carousel-item-width);height:var(--carousel-track-height);position:relative;margin-bottom:var(--carousel-dot-margin-mobile)}.tet-carousel__controls{position:relative;display:flex;align-items:center;justify-content:center;height:fit-content;margin-bottom:var(--carousel-dot-margin-mobile);min-height:var(--carousel-button-size);touch-action:manipulation}.tet-carousel__label{color:var(--carousel-label-color);margin-left:auto;margin-right:auto;margin-bottom:1rem;text-align:center;font-family:var(--font-family-content);font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem;letter-spacing:-0.003125rem}.tet-carousel__track{touch-action:pan-y;display:flex;height:var(--carousel-track-height);will-change:transform;gap:var(--carousel-track-gap)}.tet-carousel__track--center{justify-content:center}.tet-carousel__track>*{flex-shrink:0;display:flex;align-items:center;justify-content:center}.tet-carousel__buttons{position:absolute;right:0;bottom:50%;display:flex;transform:translateY(50%);gap:var(--carousel-buttons-gap);z-index:2}.tet-carousel__buttons--mobile{display:flex;left:0}.tet-carousel__buttons--desktop{display:none !important}.tet-carousel__btn{background:var(--carousel-button-background);border:none;border-radius:50%;box-shadow:var(--carousel-button-shadow);width:2.25rem;height:2.25rem;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background 0.2s, box-shadow 0.2s;outline:none}.tet-carousel__btn::part(button){--button-padding:0;--button-background:transparent;--button-width:var(--carousel-button-size);backdrop-filter:none;border:var(--carousel-button-border)}.tet-carousel__btn::part(button):disabled{--carousel-button-hover-background:transparent;border:var(--carousel-button-border-disabled);opacity:0.5;cursor:not-allowed}.tet-carousel__btn::part(button):hover{background-color:var(--carousel-button-hover-background)}.tet-carousel__btn::part(button):focus:not(:disabled){background-color:var(--carousel-button-pressed-background)}.tet-carousel__btn::part(button):active:not(:disabled){background-color:var(--carousel-button-pressed-background)}.tet-carousel__btn.active{background:var(--carousel-active-button-background);box-shadow:var(--carousel-button-active-shadow)}.tet-carousel__btn tet-icon{--icon-size:var(--carousel-button-icon-size);--icon-color:var(--carousel-button-icon-color)}.tet-carousel__dots{display:flex;width:100%;gap:var(--carousel-dots-gap);justify-content:center;align-items:center}.tet-carousel__dot{width:var(--carousel-dot-size);height:var(--carousel-dot-size);border-radius:50%;background:var(--carousel-dot-background);cursor:pointer;transition:background 0.2s;border:var(--carousel-dot-border);z-index:2;touch-action:manipulation}.tet-carousel__dot:hover{background:var(--carousel-dot-hover-background)}.tet-carousel__dot.active{background:var(--carousel-dot-active-background);border:none}.tet-carousel__dot.active:hover{background:var(--carousel-dot-active-hover-background)}.tet-carousel__dot:focus-visible{outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.125rem}.tet-carousel__gradient-left,.tet-carousel__gradient-right{position:absolute;top:0;display:block;width:13.75rem;height:100%;transition:opacity 0.1s;pointer-events:none;z-index:20;opacity:0}.tet-carousel__gradient-left{background:linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, var(--carousel-gradient) 100%);left:0}.tet-carousel__gradient-right{background:linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, var(--carousel-gradient) 100%);right:0}@media all and (min-width: 46.25rem){.tet-carousel__controls{margin-bottom:var(--carousel-dot-margin)}.tet-carousel__label{font-size:1rem;line-height:1.5rem;letter-spacing:-0.00625rem}.tet-carousel__buttons{right:0.25rem}.tet-carousel__buttons--mobile{display:none}.tet-carousel__buttons--desktop{display:flex !important}.tet-carousel__btn{width:var(--carousel-button-size);height:var(--carousel-button-size)}}@media all and (min-width: 90rem){.tet-carousel__label{font-size:1.125rem;line-height:1.75rem}}';export{i as tet_carousel}
@@ -1 +1 @@
1
- import{r as o,c as t,g as e,f as r,h as a,F as n,H as i}from"./p-5abb3bea.js";import{t as l,p as s}from"./p-a476fd02.js";import{e as c,A as u}from"./p-726651bc.js";import"./p-9a2b6ee2.js";var d,m,f;!function(o){o.SMALL="small",o.AVERAGE="average",o.LARGE="large",o.INDIVIDUAL="custom"}(d||(d={})),function(o){o.HOURLY="hourly",o.MONTHLY="monthly"}(m||(m={})),function(o){o.V_CPU="vcpu",o.V_RAM="vram",o.STORAGE="storage",o.EXTRA_STORAGE="extra-storage",o.LICENSE="license",o.MS_LICENSE="ms_license",o.BANDWIDTH="bandwidth"}(f||(f={}));const g={v_cpu_standard:[{name:"components-cloud-configurator-unit-cores",value:1,default:!0}],v_cpu_performance:[{name:"components-cloud-configurator-unit-cores",value:1,default:!0}],v_ram:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0}],storage_bronze:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_silver:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_gold:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_platinum:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_backup:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_object:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],license_windows:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],license_veeam:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sql_server_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_rds:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_server_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_server_dc_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sql_server_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],office_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],office_professional_plus:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],cis_suite_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],project_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sharepoint_server:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],bandwidth_ip:[{name:"components-cloud-configurator-unit-ip",value:1,default:!0}],bandwidth_capacity:[{name:"components-cloud-configurator-unit-mbps",value:1,default:!0}],ddos_protection_bandwidth:[{name:"components-cloud-configurator-unit-mbps",value:1,default:!0}],bandwidth_router:[{name:"components-cloud-configurator-unit-nsx-router",value:1,default:!0},{name:"components-cloud-configurator-unit-not-required",value:0}]},p={storage_bronze:"components-cloud-configurator-unit-of-measure",storage_silver:"components-cloud-configurator-unit-of-measure",storage_gold:"components-cloud-configurator-unit-of-measure",storage_platinum:"components-cloud-configurator-unit-of-measure",storage_backup:"components-cloud-configurator-unit-of-measure",storage_object:"components-cloud-configurator-unit-of-measure",bandwidth_router:"components-cloud-configurator-select-device"},h={[f.V_CPU]:"components-cloud-configurator-summary-group-vcpu",[f.V_RAM]:"components-cloud-configurator-summary-group-vram",[f.STORAGE]:"components-cloud-configurator-summary-group-storage",[f.EXTRA_STORAGE]:"components-cloud-configurator-summary-group-extra-storage",[f.LICENSE]:"components-cloud-configurator-summary-group-license",[f.MS_LICENSE]:"components-cloud-configurator-summary-group-ms-license",[f.BANDWIDTH]:"components-cloud-configurator-summary-group-bandwidth"},_=["v_cpu_standard","v_cpu_performance","v_ram","storage_bronze","storage_silver","storage_gold","storage_platinum","storage_backup","storage_object","license_windows","license_veeam","sql_server_standard_core","win_rds","win_server_standard_core","win_server_dc_core","sql_server_standard","office_standard","office_professional_plus","cis_suite_standard_core","project_standard","sharepoint_server","bandwidth_ip","bandwidth_router","bandwidth_capacity","ddos_protection_enabled","ddos_protection_bandwidth"];function y(o){const t={};for(const e of _)t[e]=o[e];return t}function b(o){const t=g[o];if(t)return t.forEach((o=>{o.name=l(o.name)})),t}function w(o){const t=p[o];if(t)return l(t)}function v(o){const t=b(o);if(t)return t.find((o=>o.default))}function x(o,t){return o.toFixed(t===m.MONTHLY?2:8).replace(".",",")}const k=async()=>{let o;try{o=new URL(c.cloudConfigurator).href}catch(o){return console.error(o),Promise.reject("Cloud Configurator endpoint URL generation failed.")}const t=(new u).setUrl(o).setOptions({method:"GET"}).setErrorFallbackValue([]);return await t.execute()},G=class{constructor(e){o(this,e),this.cloudCalculatorSubmit=t(this,"cloudCalculatorSubmit",7),this.language="lv",this.containerSelector="",this.theme="light",this.selectOnFocus=void 0,this.isLoading=!0,this.headerRef=void 0,this.footerRef=void 0,this.formValues={},this.selectedTab=d.SMALL,this.selectedPeriod=m.MONTHLY,this.isFloatingSummary=!1,this.isListExpanded=!1,this.parentElement=void 0}get root(){return e(this)}headerObserver;footerObserver=new IntersectionObserver((([o])=>{this.isFloatingSummary=0===o.intersectionRatio}));fields=null;cloudCalculatorSubmit;async componentWillLoad(){this.parentElement=this.containerSelector?document.querySelector(this.containerSelector):this.root.parentElement,this.headerObserver=new IntersectionObserver((([o])=>{0!==o.intersectionRatio&&o.target.classList.toggle("header--is-pinned",o.intersectionRatio<1)}),{rootMargin:`-${this.parentElement.offsetTop+1}px 0px 0px 0px`,root:document,threshold:1}),this.fetchData()}onisLoadingChange(o){o||this.setDefaultValues()}onHeaderRefChange(o){o&&(this.headerRef.style.top=this.parentElement.offsetTop-1+"px",this.headerObserver.observe(this.headerRef))}onFooterRefChange(o){o&&this.footerObserver.observe(this.footerRef)}onSelectedTabChange(){this.setDefaultValues()}async onLanguageChange(o){await s("cloud-calculator",o),r(this)}onTabSelected=o=>{this.selectedTab=o.detail.new};onExpandableListToggle=()=>{this.isListExpanded=!this.isListExpanded};onSummaryPeriodChange=o=>{this.selectedPeriod=o.detail.value};onDdosProtectionEnabledCheck=o=>{const{checked:t}=o.detail;this.formValues.ddos_protection_enabled.value=t?1:0,this.setDefaultValue("bandwidth_capacity"),this.setDefaultValue("ddos_protection_bandwidth"),this.formValues={...this.formValues}};onNumberValueChanged=(o,t)=>{const{min:e}=this.fields[t],r=this.formValues[t];let a=o.value;o.suffix||(o.suffix=v(t)),r?.suffix?.value!==o.suffix.value&&(a=0===o.suffix.value?0:e);const n=this.getPrices(t,a,o.suffix);this.formValues[t]={...r,value:a,suffix:o.suffix,...n},this.formValues={...this.formValues}};onFormSubmit=()=>{const o=y(this.formValues),t=this.formValues.ddos_protection_enabled?.value;t?delete o.bandwidth_capacity:delete o.ddos_protection_bandwidth;const e={formValues:o,totals:this.getTotals()};this.cloudCalculatorSubmit.emit(e)};fetchData=async()=>{const o=await Promise.all([k(),s("cloud-calculator",this.language)]);this.fields=o[0],this.isLoading=!1};setDefaultValues=()=>{for(const o of Object.keys(this.fields))this.setDefaultValue(o);const o=y(this.formValues);this.formValues={...o},this.root.shadowRoot.querySelectorAll("tet-number-input").forEach((o=>o.resetSuffix()))};setDefaultValue=o=>{const t=this.fields[o],e=t.default[this.selectedTab]||t.min,r=v(t.key),a=this.getPrices(t.key,e,r);this.formValues[t.key]={key:t.key,value:e,title:t.name.lv,groupKey:t.group,groupName:l(h[t.group]),...a,suffix:v(t.key)}};getFieldKeysByGroup(o){return Object.values(this.fields).filter((t=>t.group===o)).map((o=>o.key))}getTotals(){const o=!!this.formValues.ddos_protection_enabled?.value,t={hourly:0,monthly:0};for(const e of Object.values(this.formValues))"bandwidth_capacity"===e.key&&o||("ddos_protection_bandwidth"!==e.key||o)&&(t.hourly+=e.hourly,t.monthly+=e.monthly);return t}getPrices(o,t,e){const{priceHourly:r,priceMonthly:a}=this.fields[o];let n=1;return e?.value&&(n=e.value),"bandwidth_ip"===o?{monthly:(t-1)*a*n,hourly:(t-1)*r*n}:{monthly:t*a*n,hourly:t*r*n}}getMinValue(o){const t=this.fields[o],e=this.formValues[o];return t?0===e?.suffix?.value?0:t.min:null}getMaxValue(o){const t=this.fields[o],e=this.formValues[o];return t&&e?e.suffix?t.max/e.suffix.value:t.max:null}getLabel(o){if(["v_ram"].includes(o))return null;const t=this.fields[o];return t?t.name[this.language]:null}getHelperText(o){const t=this.fields[o];return t?t.description[this.language]:null}renderTitle=()=>a(n,null,a("p",{class:"content__subtitle"},l(`components-cloud-configurator-${this.selectedTab}-subtitle`)));renderNumberInput(o,t){return!0===t?.hidden?null:a("div",{class:"form__input"},a("tet-number-input",{min:this.getMinValue(o),max:this.getMaxValue(o),label:this.getLabel(o),"accessibility-label":this.getHelperText(o),"button-accessibility-label":w(o),helperText:this.getHelperText(o),value:this.formValues[o]?.value,disabled:t?.disabled,suffixes:b(o),onInputValueChanged:t=>this.onNumberValueChanged(t.detail,o),selectOnFocus:this.selectOnFocus,theme:this.theme}))}renderExpandableItem(o){const t=this.fields[o];return a("div",{class:"expandable-item"},a("div",{class:"expandable-item__description"},a("div",{class:"expandable-item__title"},t.name[this.language]),a("div",{class:"expandable-item__helper"},t.description[this.language])),a("tet-stepper-input",{min:this.getMinValue(o),max:this.getMaxValue(o),step:1,value:this.formValues[o]?.value,onInputValueChanged:t=>this.onNumberValueChanged({value:t.detail},o),selectOnFocus:this.selectOnFocus,"accessibility-label":t.name[this.language],theme:this.theme}))}renderSummaryTable(){return a("div",{class:"summary-table"},this.renderSummaryRow(f.V_CPU,null,`x ${l("components-cloud-configurator-unit-cores")}`),this.renderSummaryRow(f.V_RAM),this.renderSummaryRow(f.STORAGE),this.renderSummaryRow(f.EXTRA_STORAGE),this.renderSummaryRow(f.LICENSE),this.renderSummaryRow(f.MS_LICENSE,null,l("components-cloud-configurator-unit-pieces")),this.renderSummaryRow(f.BANDWIDTH,["bandwidth_ip","bandwidth_router","bandwidth_capacity","ddos_protection_bandwidth"]))}renderSummaryRow(o,t,e){let r,n=h[o];if(r=t||this.getFieldKeysByGroup(o),o===f.BANDWIDTH&&(r=r.filter((o=>"ddos_protection_enabled"!==o)),this.formValues.ddos_protection_enabled?.value?(r=r.filter((o=>"bandwidth_capacity"!==o)),n="components-cloud-configurator-group-bandwidth-ddos"):r=r.filter((o=>"ddos_protection_bandwidth"!==o))),!Object.entries(this.fields).some((o=>r.includes(o[0]))))return null;const i=[a("div",{class:"summary-table__header"},l(n))];let s=!0;for(const o of r){const t=this.formValues[o];if(!this.fields[o]||!t||!t[this.selectedPeriod])continue;s||i.push(a("div",{class:"summary-table__header"}));const r=this.getLabel(o),n=e||t.suffix?.name;i.push(a("div",{class:"summary-table__label"},!!r&&a("span",null,`${r},`),a("span",null,`${t?.value}${n}`)));const c=t[this.selectedPeriod]||0,u=l(this.selectedPeriod===m.MONTHLY?"components-cloud-configurator-price-suffix-montly":"components-cloud-configurator-price-suffix-hourly");i.push(a("div",{class:"summary-table__value"},`${x(c,this.selectedPeriod)} ${u}`)),s=!1}return 1===i.length?null:a("div",{class:"summary-table__row"},i.map((o=>o)))}renderFloatingSummary(){const o=this.getFieldKeysByGroup(f.V_CPU),t=this.getFieldKeysByGroup(f.V_RAM),e=this.getFieldKeysByGroup(f.STORAGE),r=this.getFieldKeysByGroup(f.EXTRA_STORAGE),n=this.getFieldKeysByGroup(f.LICENSE),i=this.getFieldKeysByGroup(f.BANDWIDTH),s=this.getFieldKeysByGroup(f.MS_LICENSE),c=Object.values(this.formValues),u=c.reduce(((r,a)=>(o.includes(a.key)?r.cpu+=a.value:t.includes(a.key)?r.ram+=a.value:e.includes(a.key)&&(r.storage+=a.value*(a.suffix?.value||1)),r)),{cpu:0,ram:0,storage:0});let d=0;c.some((o=>n.includes(o.key)&&o.value))&&(d+=1),c.some((o=>i.includes(o.key)&&o.value))&&(d+=1),c.some((o=>s.includes(o.key)&&o.value))&&(d+=1),c.some((o=>r.includes(o.key)&&o.value))&&(d+=1);const m=this.getTotals();return a("div",{class:"floating-summary__container"},this.isFloatingSummary&&a("div",{class:"floating-summary__count"},a("span",{class:"floating-summary__count--item"},`${u.cpu} ${l("components-cloud-configurator-summary-cpu")},`),a("span",{class:"floating-summary__count--item"},`${u.ram} ${l("components-cloud-configurator-unit-gigabyte")} ${l("components-cloud-configurator-summary-ram")},`),a("span",{class:"floating-summary__count--break"}),a("span",{class:"floating-summary__count--item"},`${u.storage} ${l("components-cloud-configurator-unit-gigabyte")} ${l("components-cloud-configurator-summary-storage")}`),a("span",{class:"floating-summary__count--other"},`+${d}`)),a("div",{class:"floating-summary__sum"},a("span",{class:"floating-summary__sum--label"},`${l("components-cloud-configurator-summary-sum")}:`),a("span",{class:"floating-summary__sum--value"},`${x(m[this.selectedPeriod],this.selectedPeriod)} ${l("components-cloud-configurator-price-unit")}`)))}renderPlaceholder(){return a(i,null,a("div",{class:"cloud-configurator"},a("div",{class:"content"},a("div",{class:"content__title"},a("tet-placeholder",{width:"90%",height:"1.75rem",darkTheme:"dark"===this.theme})),a("div",{class:"content__subtitle"},a("tet-placeholder",{width:"100%",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form",part:"form"},a("div",{class:"form__group"},a("div",{class:"form__group-label"},a("tet-placeholder",{width:"10rem",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme}))),a("div",{class:"form__group"},a("div",{class:"form__group-label"},a("tet-placeholder",{width:"10rem",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"})))),a("div",{class:"header",part:"header"},a("div",{class:"inner-wrapper"},a("tet-placeholder",{width:"25.5rem",height:"2.875rem",darkTheme:"dark"===this.theme})))))}render(){return this.isLoading?this.renderPlaceholder():(s("cloud-configurator",this.language),a(i,null,a("div",{class:{"cloud-configurator":!0,[this.theme]:!!this.theme}},a("div",{class:{header:!0,[this.theme]:!!this.theme},part:"header",ref:o=>this.headerRef=o},a("div",{class:"inner-wrapper"},a("tet-tab-header",{class:"header__segment-switch",segmented:!0,position:"center",defaultTab:"small",theme:this.theme,onTabSelected:this.onTabSelected},a("button",{"data-name":d.SMALL},a("p",null,l("components-cloud-configurator-type-small"))),a("button",{"data-name":d.AVERAGE},a("p",null,l("components-cloud-configurator-type-average"))),a("button",{"data-name":d.LARGE},a("p",null,l("components-cloud-configurator-type-large"))),a("button",{"data-name":d.INDIVIDUAL},a("p",null,l("components-cloud-configurator-type-custom")))))),a("div",{class:"content",part:"content"},this.renderTitle(),a("div",{class:"form",part:"form"},a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-vcpu")),this.renderNumberInput("v_cpu_standard"),this.renderNumberInput("v_cpu_performance")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-vram")),this.renderNumberInput("v_ram"),a("div",{class:"form__input"})),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-storage")),this.renderNumberInput("storage_bronze"),this.renderNumberInput("storage_silver"),this.renderNumberInput("storage_gold"),this.renderNumberInput("storage_platinum")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-extra-storage")),this.renderNumberInput("storage_backup"),this.renderNumberInput("storage_object")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-license")),this.renderNumberInput("license_windows"),this.renderNumberInput("license_veeam")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-ms-license")),a("div",{class:{"expandable-list":!0,expanded:this.isListExpanded}},this.renderExpandableItem("sql_server_standard_core"),this.renderExpandableItem("win_rds"),this.renderExpandableItem("win_server_standard_core"),this.renderExpandableItem("win_server_dc_core"),this.renderExpandableItem("sql_server_standard"),this.renderExpandableItem("office_standard"),this.renderExpandableItem("office_professional_plus"),this.renderExpandableItem("cis_suite_standard_core"),this.renderExpandableItem("project_standard"),this.renderExpandableItem("sharepoint_server"),a("div",{class:"expandable-list__toggle-row"},this.isListExpanded&&a(n,null,a("button",{class:"expandable-list__toggle",onClick:this.onExpandableListToggle,tabIndex:0},l("components-cloud-configurator-ms-license-collapse")," ",a("tet-icon",{name:"chevron-up",theme:this.theme})),a("div",{innerHTML:l("components-cloud-configurator-ms-license-full-list")})),!this.isListExpanded&&a("button",{class:"expandable-list__toggle",onClick:this.onExpandableListToggle,tabIndex:0},l("components-cloud-configurator-ms-license-expand")," ",a("tet-icon",{name:"chevron-down",theme:this.theme}))))),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-bandwidth")),this.renderNumberInput("bandwidth_ip"),this.renderNumberInput("bandwidth_router"),this.renderNumberInput("bandwidth_capacity",{disabled:!0,hidden:Boolean(this.formValues.ddos_protection_enabled?.value)}),this.renderNumberInput("ddos_protection_bandwidth",{hidden:!Boolean(this.formValues.ddos_protection_enabled?.value)}),a("div",{class:"form__input"}),a("div",{class:"form__checkbox"},a("tet-checkbox",{label:this.getLabel("ddos_protection_enabled"),value:this.formValues.ddos_protection_enabled?.value,checked:!!this.formValues.ddos_protection_enabled?.value,onCheck:this.onDdosProtectionEnabledCheck,theme:this.theme}),a("p",{class:"form__checkbox-helper"},this.getHelperText("ddos_protection_enabled"))))),a("div",{class:"summary",part:"summary"},a("h2",{class:"summary__title"},l("components-cloud-configurator-group-summary")),a("div",{class:"summary__toggle",role:"radiogroup"},a("tet-radio",{name:"summary-period",value:m.MONTHLY,checked:this.selectedPeriod===m.MONTHLY,label:l("components-cloud-configurator-summary-period-monthly"),theme:this.theme,onCheck:this.onSummaryPeriodChange}),a("tet-radio",{name:"summary-period",value:m.HOURLY,checked:this.selectedPeriod===m.HOURLY,label:l("components-cloud-configurator-summary-period-hourly"),theme:this.theme,onCheck:this.onSummaryPeriodChange})),this.renderSummaryTable())),a("div",{class:{"floating-summary":!0,"floating-summary--is-pinned":this.isFloatingSummary},part:"floating-summary"},this.renderFloatingSummary()),a("div",{part:"footer",class:"footer",ref:o=>this.footerRef=o},a("tet-button",{class:"footer__button",size:"large",type:"primary",theme:this.theme,onClick:this.onFormSubmit},l("components-cloud-configurator-submit"))))))}static get watchers(){return{isLoading:["onisLoadingChange"],headerRef:["onHeaderRefChange"],footerRef:["onFooterRefChange"],selectedTab:["onSelectedTabChange"],language:["onLanguageChange"]}}};G.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{--tet-cloud-calculator-border-radius:none;--tet-cloud-calculator-background-primary-color:var(--tc-background-primary);--tet-cloud-calculator-background-secondary-color:var(--tc-background-secondary);--tet-cloud-calculator-background-tertiary-color:var(--tc-background-tertiary);--tet-cloud-calculator-background-floating-summary:var(--tc-layer-inverse-primary);--tet-cloud-calculator-text-primary-color:var(--tc-text-primary);--tet-cloud-calculator-text-secondary-color:var(--tc-text-secondary);--tet-cloud-calculator-text-inverse-primary:var(--tc-text-inverse-primary);--tet-cloud-calculator-border-bottom-color:var(--tc-border-quaternary);--tet-cloud-calculator-tertiary:var(--tc-text-tertiary);--tet-cloud-calculator-text-blue-grey:var(--tc-text-blue-grey);display:block;height:100%;width:100%}.cloud-configurator{position:relative;border-radius:var(--tet-cloud-calculator-border-radius);background-color:var(--tet-cloud-calculator-background-primary-color);display:flex;flex-direction:column;height:100%;width:100%;color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator.dark{--tet-cloud-calculator-background-primary-color:var(--tc-background-primary-dark);--tet-cloud-calculator-background-secondary-color:var(--tc-background-secondary-dark);--tet-cloud-calculator-background-tertiary-color:var(--tc-background-tertiary-dark);--tet-cloud-calculator-background-floating-summary:var(--tc-background-tertiary-dark);--tet-cloud-calculator-text-primary-color:var(--tc-text-primary-dark);--tet-cloud-calculator-text-secondary-color:var(--tc-text-secondary-dark);--tet-cloud-calculator-text-inverse-primary:var(--tc-text-primary-dark);--tet-cloud-calculator-border-bottom-color:var(--tc-border-quaternary-dark);--tet-cloud-calculator-tertiary:var(--tc-text-tertiary-dark);--tet-cloud-calculator-text-blue-grey:var(--tc-text-blue-grey-dark)}.cloud-configurator .header{position:-webkit-sticky;position:sticky;top:0;order:-1;z-index:2;margin:1.75rem 0 0;overflow:hidden;padding-bottom:0.25rem}.cloud-configurator .header__segment-switch{--tabs-headers-segmented-item-padding:0.5rem 0.75rem;--tabs-headers-segmented-item-margin:0.25rem 0;--tabs-headers-segmended-item-font:500 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .header .inner-wrapper{display:flex;justify-content:center;width:100%;padding:0.75rem 0;background-color:var(--tet-cloud-calculator-background-primary-color)}.cloud-configurator .header--is-pinned .inner-wrapper{-moz-box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1);-webkit-box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1);box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1)}.cloud-configurator .content{margin:2.5rem 1rem 0}.cloud-configurator .content__title{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif;text-align:center;max-width:29.25rem;margin:0 auto 0.5rem}.cloud-configurator .content__subtitle{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color);text-align:center;margin:0 auto 3.5rem;max-width:29.25rem}.cloud-configurator .form{display:flex;flex-direction:column;gap:2.5rem;width:100%}.cloud-configurator .form__group{display:flex;flex-wrap:wrap;row-gap:1.5rem;column-gap:2.5rem;padding-bottom:2rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color);justify-content:center}.cloud-configurator .form__group-label{width:100%;min-width:100%;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .form__input{min-width:15.625rem;max-width:21.875rem;flex:1 1 calc(50% - 1.5rem)}.cloud-configurator .form__input>*{width:100%}.cloud-configurator .form__checkbox{margin-top:0.5rem;padding-left:0.25rem;width:100%}.cloud-configurator .form__checkbox tet-checkbox{padding-left:0.25rem;display:flex}.cloud-configurator .form__checkbox-helper{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color);margin-left:2rem;max-width:36.563rem}.cloud-configurator .expandable-list{display:flex;flex-direction:column;width:100%;gap:0.5rem}.cloud-configurator .expandable-list.expanded .expandable-item:nth-child(n+4){display:flex}.cloud-configurator .expandable-list .expandable-item{display:flex;flex-direction:row;width:100%;padding-bottom:0.5rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .expandable-list .expandable-item:nth-child(n+4){display:none}.cloud-configurator .expandable-list .expandable-item__description{display:flex;flex-direction:column;flex:1}.cloud-configurator .expandable-list .expandable-item__label{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .expandable-list .expandable-item__helper{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color)}.cloud-configurator .expandable-list__toggle-row{display:flex;justify-content:space-between;flex-direction:column;font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;--icon-size:1.25rem}.cloud-configurator .expandable-list__toggle,.cloud-configurator .expandable-list__link{display:flex;align-items:flex-end;gap:0.25rem;padding:0.5rem 0;text-decoration:underline;cursor:pointer;color:var(--tet-cloud-calculator-text-primary-color);border-color:transparent;background:transparent;font-size:inherit}.cloud-configurator .expandable-list__toggle:visited,.cloud-configurator .expandable-list__link:visited{color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .expandable-list__toggle:hover,.cloud-configurator .expandable-list__link:hover{color:var(--tet-cloud-calculator-tertiary)}.cloud-configurator .expandable-list__toggle:hover tet-icon,.cloud-configurator .expandable-list__link:hover tet-icon{--icon-color:var(--tet-cloud-calculator-tertiary)}.cloud-configurator .expandable-list__link tet-icon{padding-bottom:0.125rem;--icon-color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .summary{margin:2.5rem 0 0;padding-bottom:1rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .summary__title{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary__toggle{display:flex;gap:1.5rem;padding-bottom:1.5rem;justify-content:flex-start;margin:1.5rem 0 1rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .summary-table{display:grid;grid-template-columns:3fr 1fr;width:100%;background-color:var(--tet-cloud-calculator-background-primary-color)}.cloud-configurator .summary-table__row{display:contents}.cloud-configurator .summary-table__row:nth-child(2n)>*{background-color:var(--tet-cloud-calculator-background-secondary-color)}.cloud-configurator .summary-table__row>*{height:100%;padding-bottom:0.125rem}.cloud-configurator .summary-table__row>*.summary-table__header{padding-left:1rem;padding-bottom:0.5rem}.cloud-configurator .summary-table__row>*.summary-table__label{padding-left:1rem}.cloud-configurator .summary-table__row>*.summary-table__value{padding-right:1rem}.cloud-configurator .summary-table__row>*:nth-child(-n+1){padding-top:0.75rem}.cloud-configurator .summary-table__row>*:nth-last-child(-n+2){padding-bottom:0.75rem}.cloud-configurator .summary-table__header{grid-column:span 2;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;white-space:nowrap}.cloud-configurator .summary-table__header~.summary-table__header{display:none}.cloud-configurator .summary-table__label{grid-column:1;font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;text-align:left;color:var(--tet-cloud-calculator-text-secondary-color);white-space:nowrap;min-width:10rem;display:flex;justify-content:flex-start;gap:0.5rem;padding-right:0.5rem}.cloud-configurator .summary-table__label>span:first-of-type{text-overflow:ellipsis;overflow:hidden}.cloud-configurator .summary-table__value{grid-column:2;text-align:right;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;white-space:nowrap;padding-left:0}.cloud-configurator .floating-summary{display:flex;position:-webkit-sticky;position:sticky;z-index:1;bottom:0;background-color:var(--tet-cloud-calculator-background-primary-color);color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .floating-summary--is-pinned{background-color:var(--tet-cloud-calculator-background-floating-summary);color:var(--tet-cloud-calculator-text-inverse-primary)}.cloud-configurator .floating-summary__container{padding:0.5rem 1.5rem;display:flex;flex-direction:row;justify-content:space-between;width:100%}.cloud-configurator .floating-summary__count{display:none;align-items:center}.cloud-configurator .floating-summary--is-pinned .floating-summary__count{display:flex;flex-direction:row;column-gap:0.5rem;flex-wrap:wrap;font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--item{color:var(--tet-cloud-calculator-text-blue-grey)}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--other{color:var(--tet-cloud-calculator-text-inverse-primary)}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--break{flex-basis:100%;height:0}.cloud-configurator .floating-summary__sum{display:flex;flex-direction:row;gap:0.25rem;align-items:flex-end;flex:1 0 auto;font:400 1.125rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary__sum--label{margin-left:auto}.cloud-configurator .floating-summary__sum--value{font:500 1.5rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum--value{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .footer{display:flex;flex-direction:row-reverse;margin:0 1rem 2.5rem;padding-top:1rem}.cloud-configurator .footer__button{--button-width:9.375rem}@media all and (min-width: 31.25rem){.cloud-configurator .content{margin:2.5rem 1.5rem 0}.cloud-configurator .content__title{font:500 2.5rem/3rem Gilroy, Gilroy, Arial, sans-serif}.cloud-configurator .expandable-list__toggle-row{flex-direction:row}.cloud-configurator .footer{margin:0 1.5rem 2.5rem}}@media all and (min-width: 48rem){.cloud-configurator .header{margin:1.5rem 0 0}.cloud-configurator .header__segment-switch{--tabs-headers-segmented-item-padding:0.375rem 1.5rem;--tabs-headers-segmended-item-font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .header .inner-wrapper{padding:1rem 0}.cloud-configurator .content{margin:2.5rem 2rem 0}.cloud-configurator .footer{margin:0 2rem 2.5rem}.cloud-configurator .form__group{padding-bottom:2.5rem}.cloud-configurator .form__group-label{font:500 1.125rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary__toggle{justify-content:flex-end;margin-top:0.5rem}.cloud-configurator .summary__title{font:500 1.5rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary-table{display:grid;grid-template-columns:2fr 5fr}.cloud-configurator .summary-table__header{grid-column:1}.cloud-configurator .summary-table__row>*.summary-table__header{padding-bottom:unset}.cloud-configurator .summary-table__row>*:nth-child(-n+3){padding-top:0.75rem}.cloud-configurator .summary-table__header~.summary-table__header{display:block}.cloud-configurator .summary-table__label{grid-column:2;text-align:right;justify-content:flex-end}.cloud-configurator .summary-table__value{grid-column:3}.cloud-configurator .floating-summary{height:4rem}.cloud-configurator .floating-summary__container{padding:1rem 2rem}.cloud-configurator .floating-summary__count{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary__count--break{display:none}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum{align-items:center}.cloud-configurator .floating-summary__sum{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .footer{padding-top:0.5rem}}@media all and (min-width: 64rem){.cloud-configurator .content{margin:2.5rem 2.5rem 0}.cloud-configurator .footer{margin:0 2.5rem 2.5rem}.cloud-configurator .floating-summary__container{padding:1rem 2.5rem}}';export{G as tet_cloud_configurator}
1
+ import{r as o,c as t,g as e,f as r,h as a,F as n,H as i}from"./p-83f43fdd.js";import{t as l,p as s}from"./p-a8051a99.js";import{e as c,A as u}from"./p-0ebbf5ef.js";import"./p-9a2b6ee2.js";var d,m,f;!function(o){o.SMALL="small",o.AVERAGE="average",o.LARGE="large",o.INDIVIDUAL="custom"}(d||(d={})),function(o){o.HOURLY="hourly",o.MONTHLY="monthly"}(m||(m={})),function(o){o.V_CPU="vcpu",o.V_RAM="vram",o.STORAGE="storage",o.EXTRA_STORAGE="extra-storage",o.LICENSE="license",o.MS_LICENSE="ms_license",o.BANDWIDTH="bandwidth"}(f||(f={}));const g={v_cpu_standard:[{name:"components-cloud-configurator-unit-cores",value:1,default:!0}],v_cpu_performance:[{name:"components-cloud-configurator-unit-cores",value:1,default:!0}],v_ram:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0}],storage_bronze:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_silver:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_gold:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_platinum:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_backup:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_object:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],license_windows:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],license_veeam:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sql_server_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_rds:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_server_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_server_dc_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sql_server_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],office_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],office_professional_plus:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],cis_suite_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],project_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sharepoint_server:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],bandwidth_ip:[{name:"components-cloud-configurator-unit-ip",value:1,default:!0}],bandwidth_capacity:[{name:"components-cloud-configurator-unit-mbps",value:1,default:!0}],ddos_protection_bandwidth:[{name:"components-cloud-configurator-unit-mbps",value:1,default:!0}],bandwidth_router:[{name:"components-cloud-configurator-unit-nsx-router",value:1,default:!0},{name:"components-cloud-configurator-unit-not-required",value:0}]},p={storage_bronze:"components-cloud-configurator-unit-of-measure",storage_silver:"components-cloud-configurator-unit-of-measure",storage_gold:"components-cloud-configurator-unit-of-measure",storage_platinum:"components-cloud-configurator-unit-of-measure",storage_backup:"components-cloud-configurator-unit-of-measure",storage_object:"components-cloud-configurator-unit-of-measure",bandwidth_router:"components-cloud-configurator-select-device"},h={[f.V_CPU]:"components-cloud-configurator-summary-group-vcpu",[f.V_RAM]:"components-cloud-configurator-summary-group-vram",[f.STORAGE]:"components-cloud-configurator-summary-group-storage",[f.EXTRA_STORAGE]:"components-cloud-configurator-summary-group-extra-storage",[f.LICENSE]:"components-cloud-configurator-summary-group-license",[f.MS_LICENSE]:"components-cloud-configurator-summary-group-ms-license",[f.BANDWIDTH]:"components-cloud-configurator-summary-group-bandwidth"},_=["v_cpu_standard","v_cpu_performance","v_ram","storage_bronze","storage_silver","storage_gold","storage_platinum","storage_backup","storage_object","license_windows","license_veeam","sql_server_standard_core","win_rds","win_server_standard_core","win_server_dc_core","sql_server_standard","office_standard","office_professional_plus","cis_suite_standard_core","project_standard","sharepoint_server","bandwidth_ip","bandwidth_router","bandwidth_capacity","ddos_protection_enabled","ddos_protection_bandwidth"];function y(o){const t={};for(const e of _)t[e]=o[e];return t}function b(o){const t=g[o];if(t)return t.forEach((o=>{o.name=l(o.name)})),t}function w(o){const t=p[o];if(t)return l(t)}function v(o){const t=b(o);if(t)return t.find((o=>o.default))}function x(o,t){return o.toFixed(t===m.MONTHLY?2:8).replace(".",",")}const k=async()=>{let o;try{o=new URL(c.cloudConfigurator).href}catch(o){return console.error(o),Promise.reject("Cloud Configurator endpoint URL generation failed.")}const t=(new u).setUrl(o).setOptions({method:"GET"}).setErrorFallbackValue([]);return await t.execute()},G=class{constructor(e){o(this,e),this.cloudCalculatorSubmit=t(this,"cloudCalculatorSubmit",7),this.language="lv",this.containerSelector="",this.theme="light",this.selectOnFocus=void 0,this.isLoading=!0,this.headerRef=void 0,this.footerRef=void 0,this.formValues={},this.selectedTab=d.SMALL,this.selectedPeriod=m.MONTHLY,this.isFloatingSummary=!1,this.isListExpanded=!1,this.parentElement=void 0}get root(){return e(this)}headerObserver;footerObserver=new IntersectionObserver((([o])=>{this.isFloatingSummary=0===o.intersectionRatio}));fields=null;cloudCalculatorSubmit;async componentWillLoad(){this.parentElement=this.containerSelector?document.querySelector(this.containerSelector):this.root.parentElement,this.headerObserver=new IntersectionObserver((([o])=>{0!==o.intersectionRatio&&o.target.classList.toggle("header--is-pinned",o.intersectionRatio<1)}),{rootMargin:`-${this.parentElement.offsetTop+1}px 0px 0px 0px`,root:document,threshold:1}),this.fetchData()}onisLoadingChange(o){o||this.setDefaultValues()}onHeaderRefChange(o){o&&(this.headerRef.style.top=this.parentElement.offsetTop-1+"px",this.headerObserver.observe(this.headerRef))}onFooterRefChange(o){o&&this.footerObserver.observe(this.footerRef)}onSelectedTabChange(){this.setDefaultValues()}async onLanguageChange(o){await s("cloud-calculator",o),r(this)}onTabSelected=o=>{this.selectedTab=o.detail.new};onExpandableListToggle=()=>{this.isListExpanded=!this.isListExpanded};onSummaryPeriodChange=o=>{this.selectedPeriod=o.detail.value};onDdosProtectionEnabledCheck=o=>{const{checked:t}=o.detail;this.formValues.ddos_protection_enabled.value=t?1:0,this.setDefaultValue("bandwidth_capacity"),this.setDefaultValue("ddos_protection_bandwidth"),this.formValues={...this.formValues}};onNumberValueChanged=(o,t)=>{const{min:e}=this.fields[t],r=this.formValues[t];let a=o.value;o.suffix||(o.suffix=v(t)),r?.suffix?.value!==o.suffix.value&&(a=0===o.suffix.value?0:e);const n=this.getPrices(t,a,o.suffix);this.formValues[t]={...r,value:a,suffix:o.suffix,...n},this.formValues={...this.formValues}};onFormSubmit=()=>{const o=y(this.formValues),t=this.formValues.ddos_protection_enabled?.value;t?delete o.bandwidth_capacity:delete o.ddos_protection_bandwidth;const e={formValues:o,totals:this.getTotals()};this.cloudCalculatorSubmit.emit(e)};fetchData=async()=>{const o=await Promise.all([k(),s("cloud-calculator",this.language)]);this.fields=o[0],this.isLoading=!1};setDefaultValues=()=>{for(const o of Object.keys(this.fields))this.setDefaultValue(o);const o=y(this.formValues);this.formValues={...o},this.root.shadowRoot.querySelectorAll("tet-number-input").forEach((o=>o.resetSuffix()))};setDefaultValue=o=>{const t=this.fields[o],e=t.default[this.selectedTab]||t.min,r=v(t.key),a=this.getPrices(t.key,e,r);this.formValues[t.key]={key:t.key,value:e,title:t.name.lv,groupKey:t.group,groupName:l(h[t.group]),...a,suffix:v(t.key)}};getFieldKeysByGroup(o){return Object.values(this.fields).filter((t=>t.group===o)).map((o=>o.key))}getTotals(){const o=!!this.formValues.ddos_protection_enabled?.value,t={hourly:0,monthly:0};for(const e of Object.values(this.formValues))"bandwidth_capacity"===e.key&&o||("ddos_protection_bandwidth"!==e.key||o)&&(t.hourly+=e.hourly,t.monthly+=e.monthly);return t}getPrices(o,t,e){const{priceHourly:r,priceMonthly:a}=this.fields[o];let n=1;return e?.value&&(n=e.value),"bandwidth_ip"===o?{monthly:(t-1)*a*n,hourly:(t-1)*r*n}:{monthly:t*a*n,hourly:t*r*n}}getMinValue(o){const t=this.fields[o],e=this.formValues[o];return t?0===e?.suffix?.value?0:t.min:null}getMaxValue(o){const t=this.fields[o],e=this.formValues[o];return t&&e?e.suffix?t.max/e.suffix.value:t.max:null}getLabel(o){if(["v_ram"].includes(o))return null;const t=this.fields[o];return t?t.name[this.language]:null}getHelperText(o){const t=this.fields[o];return t?t.description[this.language]:null}renderTitle=()=>a(n,null,a("p",{class:"content__subtitle"},l(`components-cloud-configurator-${this.selectedTab}-subtitle`)));renderNumberInput(o,t){return!0===t?.hidden?null:a("div",{class:"form__input"},a("tet-number-input",{min:this.getMinValue(o),max:this.getMaxValue(o),label:this.getLabel(o),"accessibility-label":this.getHelperText(o),"button-accessibility-label":w(o),helperText:this.getHelperText(o),value:this.formValues[o]?.value,disabled:t?.disabled,suffixes:b(o),onInputValueChanged:t=>this.onNumberValueChanged(t.detail,o),selectOnFocus:this.selectOnFocus,theme:this.theme}))}renderExpandableItem(o){const t=this.fields[o];return a("div",{class:"expandable-item"},a("div",{class:"expandable-item__description"},a("div",{class:"expandable-item__title"},t.name[this.language]),a("div",{class:"expandable-item__helper"},t.description[this.language])),a("tet-stepper-input",{min:this.getMinValue(o),max:this.getMaxValue(o),step:1,value:this.formValues[o]?.value,onInputValueChanged:t=>this.onNumberValueChanged({value:t.detail},o),selectOnFocus:this.selectOnFocus,"accessibility-label":t.name[this.language],theme:this.theme}))}renderSummaryTable(){return a("div",{class:"summary-table"},this.renderSummaryRow(f.V_CPU,null,`x ${l("components-cloud-configurator-unit-cores")}`),this.renderSummaryRow(f.V_RAM),this.renderSummaryRow(f.STORAGE),this.renderSummaryRow(f.EXTRA_STORAGE),this.renderSummaryRow(f.LICENSE),this.renderSummaryRow(f.MS_LICENSE,null,l("components-cloud-configurator-unit-pieces")),this.renderSummaryRow(f.BANDWIDTH,["bandwidth_ip","bandwidth_router","bandwidth_capacity","ddos_protection_bandwidth"]))}renderSummaryRow(o,t,e){let r,n=h[o];if(r=t||this.getFieldKeysByGroup(o),o===f.BANDWIDTH&&(r=r.filter((o=>"ddos_protection_enabled"!==o)),this.formValues.ddos_protection_enabled?.value?(r=r.filter((o=>"bandwidth_capacity"!==o)),n="components-cloud-configurator-group-bandwidth-ddos"):r=r.filter((o=>"ddos_protection_bandwidth"!==o))),!Object.entries(this.fields).some((o=>r.includes(o[0]))))return null;const i=[a("div",{class:"summary-table__header"},l(n))];let s=!0;for(const o of r){const t=this.formValues[o];if(!this.fields[o]||!t||!t[this.selectedPeriod])continue;s||i.push(a("div",{class:"summary-table__header"}));const r=this.getLabel(o),n=e||t.suffix?.name;i.push(a("div",{class:"summary-table__label"},!!r&&a("span",null,`${r},`),a("span",null,`${t?.value}${n}`)));const c=t[this.selectedPeriod]||0,u=l(this.selectedPeriod===m.MONTHLY?"components-cloud-configurator-price-suffix-montly":"components-cloud-configurator-price-suffix-hourly");i.push(a("div",{class:"summary-table__value"},`${x(c,this.selectedPeriod)} ${u}`)),s=!1}return 1===i.length?null:a("div",{class:"summary-table__row"},i.map((o=>o)))}renderFloatingSummary(){const o=this.getFieldKeysByGroup(f.V_CPU),t=this.getFieldKeysByGroup(f.V_RAM),e=this.getFieldKeysByGroup(f.STORAGE),r=this.getFieldKeysByGroup(f.EXTRA_STORAGE),n=this.getFieldKeysByGroup(f.LICENSE),i=this.getFieldKeysByGroup(f.BANDWIDTH),s=this.getFieldKeysByGroup(f.MS_LICENSE),c=Object.values(this.formValues),u=c.reduce(((r,a)=>(o.includes(a.key)?r.cpu+=a.value:t.includes(a.key)?r.ram+=a.value:e.includes(a.key)&&(r.storage+=a.value*(a.suffix?.value||1)),r)),{cpu:0,ram:0,storage:0});let d=0;c.some((o=>n.includes(o.key)&&o.value))&&(d+=1),c.some((o=>i.includes(o.key)&&o.value))&&(d+=1),c.some((o=>s.includes(o.key)&&o.value))&&(d+=1),c.some((o=>r.includes(o.key)&&o.value))&&(d+=1);const m=this.getTotals();return a("div",{class:"floating-summary__container"},this.isFloatingSummary&&a("div",{class:"floating-summary__count"},a("span",{class:"floating-summary__count--item"},`${u.cpu} ${l("components-cloud-configurator-summary-cpu")},`),a("span",{class:"floating-summary__count--item"},`${u.ram} ${l("components-cloud-configurator-unit-gigabyte")} ${l("components-cloud-configurator-summary-ram")},`),a("span",{class:"floating-summary__count--break"}),a("span",{class:"floating-summary__count--item"},`${u.storage} ${l("components-cloud-configurator-unit-gigabyte")} ${l("components-cloud-configurator-summary-storage")}`),a("span",{class:"floating-summary__count--other"},`+${d}`)),a("div",{class:"floating-summary__sum"},a("span",{class:"floating-summary__sum--label"},`${l("components-cloud-configurator-summary-sum")}:`),a("span",{class:"floating-summary__sum--value"},`${x(m[this.selectedPeriod],this.selectedPeriod)} ${l("components-cloud-configurator-price-unit")}`)))}renderPlaceholder(){return a(i,null,a("div",{class:"cloud-configurator"},a("div",{class:"content"},a("div",{class:"content__title"},a("tet-placeholder",{width:"90%",height:"1.75rem",darkTheme:"dark"===this.theme})),a("div",{class:"content__subtitle"},a("tet-placeholder",{width:"100%",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form",part:"form"},a("div",{class:"form__group"},a("div",{class:"form__group-label"},a("tet-placeholder",{width:"10rem",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme}))),a("div",{class:"form__group"},a("div",{class:"form__group-label"},a("tet-placeholder",{width:"10rem",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"})))),a("div",{class:"header",part:"header"},a("div",{class:"inner-wrapper"},a("tet-placeholder",{width:"25.5rem",height:"2.875rem",darkTheme:"dark"===this.theme})))))}render(){return this.isLoading?this.renderPlaceholder():(s("cloud-configurator",this.language),a(i,null,a("div",{class:{"cloud-configurator":!0,[this.theme]:!!this.theme}},a("div",{class:{header:!0,[this.theme]:!!this.theme},part:"header",ref:o=>this.headerRef=o},a("div",{class:"inner-wrapper"},a("tet-tab-header",{class:"header__segment-switch",segmented:!0,position:"center",defaultTab:"small",theme:this.theme,onTabSelected:this.onTabSelected},a("button",{"data-name":d.SMALL},a("p",null,l("components-cloud-configurator-type-small"))),a("button",{"data-name":d.AVERAGE},a("p",null,l("components-cloud-configurator-type-average"))),a("button",{"data-name":d.LARGE},a("p",null,l("components-cloud-configurator-type-large"))),a("button",{"data-name":d.INDIVIDUAL},a("p",null,l("components-cloud-configurator-type-custom")))))),a("div",{class:"content",part:"content"},this.renderTitle(),a("div",{class:"form",part:"form"},a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-vcpu")),this.renderNumberInput("v_cpu_standard"),this.renderNumberInput("v_cpu_performance")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-vram")),this.renderNumberInput("v_ram"),a("div",{class:"form__input"})),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-storage")),this.renderNumberInput("storage_bronze"),this.renderNumberInput("storage_silver"),this.renderNumberInput("storage_gold"),this.renderNumberInput("storage_platinum")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-extra-storage")),this.renderNumberInput("storage_backup"),this.renderNumberInput("storage_object")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-license")),this.renderNumberInput("license_windows"),this.renderNumberInput("license_veeam")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-ms-license")),a("div",{class:{"expandable-list":!0,expanded:this.isListExpanded}},this.renderExpandableItem("sql_server_standard_core"),this.renderExpandableItem("win_rds"),this.renderExpandableItem("win_server_standard_core"),this.renderExpandableItem("win_server_dc_core"),this.renderExpandableItem("sql_server_standard"),this.renderExpandableItem("office_standard"),this.renderExpandableItem("office_professional_plus"),this.renderExpandableItem("cis_suite_standard_core"),this.renderExpandableItem("project_standard"),this.renderExpandableItem("sharepoint_server"),a("div",{class:"expandable-list__toggle-row"},this.isListExpanded&&a(n,null,a("button",{class:"expandable-list__toggle",onClick:this.onExpandableListToggle,tabIndex:0},l("components-cloud-configurator-ms-license-collapse")," ",a("tet-icon",{name:"chevron-up",theme:this.theme})),a("div",{innerHTML:l("components-cloud-configurator-ms-license-full-list")})),!this.isListExpanded&&a("button",{class:"expandable-list__toggle",onClick:this.onExpandableListToggle,tabIndex:0},l("components-cloud-configurator-ms-license-expand")," ",a("tet-icon",{name:"chevron-down",theme:this.theme}))))),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-bandwidth")),this.renderNumberInput("bandwidth_ip"),this.renderNumberInput("bandwidth_router"),this.renderNumberInput("bandwidth_capacity",{disabled:!0,hidden:Boolean(this.formValues.ddos_protection_enabled?.value)}),this.renderNumberInput("ddos_protection_bandwidth",{hidden:!Boolean(this.formValues.ddos_protection_enabled?.value)}),a("div",{class:"form__input"}),a("div",{class:"form__checkbox"},a("tet-checkbox",{label:this.getLabel("ddos_protection_enabled"),value:this.formValues.ddos_protection_enabled?.value,checked:!!this.formValues.ddos_protection_enabled?.value,onCheck:this.onDdosProtectionEnabledCheck,theme:this.theme}),a("p",{class:"form__checkbox-helper"},this.getHelperText("ddos_protection_enabled"))))),a("div",{class:"summary",part:"summary"},a("h2",{class:"summary__title"},l("components-cloud-configurator-group-summary")),a("div",{class:"summary__toggle",role:"radiogroup"},a("tet-radio",{name:"summary-period",value:m.MONTHLY,checked:this.selectedPeriod===m.MONTHLY,label:l("components-cloud-configurator-summary-period-monthly"),theme:this.theme,onCheck:this.onSummaryPeriodChange}),a("tet-radio",{name:"summary-period",value:m.HOURLY,checked:this.selectedPeriod===m.HOURLY,label:l("components-cloud-configurator-summary-period-hourly"),theme:this.theme,onCheck:this.onSummaryPeriodChange})),this.renderSummaryTable())),a("div",{class:{"floating-summary":!0,"floating-summary--is-pinned":this.isFloatingSummary},part:"floating-summary"},this.renderFloatingSummary()),a("div",{part:"footer",class:"footer",ref:o=>this.footerRef=o},a("tet-button",{class:"footer__button",size:"large",type:"primary",theme:this.theme,onClick:this.onFormSubmit},l("components-cloud-configurator-submit"))))))}static get watchers(){return{isLoading:["onisLoadingChange"],headerRef:["onHeaderRefChange"],footerRef:["onFooterRefChange"],selectedTab:["onSelectedTabChange"],language:["onLanguageChange"]}}};G.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{--tet-cloud-calculator-border-radius:none;--tet-cloud-calculator-background-primary-color:var(--tc-background-primary);--tet-cloud-calculator-background-secondary-color:var(--tc-background-secondary);--tet-cloud-calculator-background-tertiary-color:var(--tc-background-tertiary);--tet-cloud-calculator-background-floating-summary:var(--tc-layer-inverse-primary);--tet-cloud-calculator-text-primary-color:var(--tc-text-primary);--tet-cloud-calculator-text-secondary-color:var(--tc-text-secondary);--tet-cloud-calculator-text-inverse-primary:var(--tc-text-inverse-primary);--tet-cloud-calculator-border-bottom-color:var(--tc-border-quaternary);--tet-cloud-calculator-tertiary:var(--tc-text-tertiary);--tet-cloud-calculator-text-blue-grey:var(--tc-text-blue-grey);display:block;height:100%;width:100%}.cloud-configurator{position:relative;border-radius:var(--tet-cloud-calculator-border-radius);background-color:var(--tet-cloud-calculator-background-primary-color);display:flex;flex-direction:column;height:100%;width:100%;color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator.dark{--tet-cloud-calculator-background-primary-color:var(--tc-background-primary-dark);--tet-cloud-calculator-background-secondary-color:var(--tc-background-secondary-dark);--tet-cloud-calculator-background-tertiary-color:var(--tc-background-tertiary-dark);--tet-cloud-calculator-background-floating-summary:var(--tc-background-tertiary-dark);--tet-cloud-calculator-text-primary-color:var(--tc-text-primary-dark);--tet-cloud-calculator-text-secondary-color:var(--tc-text-secondary-dark);--tet-cloud-calculator-text-inverse-primary:var(--tc-text-primary-dark);--tet-cloud-calculator-border-bottom-color:var(--tc-border-quaternary-dark);--tet-cloud-calculator-tertiary:var(--tc-text-tertiary-dark);--tet-cloud-calculator-text-blue-grey:var(--tc-text-blue-grey-dark)}.cloud-configurator .header{position:-webkit-sticky;position:sticky;top:0;order:-1;z-index:2;margin:1.75rem 0 0;overflow:hidden;padding-bottom:0.25rem}.cloud-configurator .header__segment-switch{--tabs-headers-segmented-item-padding:0.5rem 0.75rem;--tabs-headers-segmented-item-margin:0.25rem 0;--tabs-headers-segmended-item-font:500 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .header .inner-wrapper{display:flex;justify-content:center;width:100%;padding:0.75rem 0;background-color:var(--tet-cloud-calculator-background-primary-color)}.cloud-configurator .header--is-pinned .inner-wrapper{-moz-box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1);-webkit-box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1);box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1)}.cloud-configurator .content{margin:2.5rem 1rem 0}.cloud-configurator .content__title{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif;text-align:center;max-width:29.25rem;margin:0 auto 0.5rem}.cloud-configurator .content__subtitle{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color);text-align:center;margin:0 auto 3.5rem;max-width:29.25rem}.cloud-configurator .form{display:flex;flex-direction:column;gap:2.5rem;width:100%}.cloud-configurator .form__group{display:flex;flex-wrap:wrap;row-gap:1.5rem;column-gap:2.5rem;padding-bottom:2rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color);justify-content:center}.cloud-configurator .form__group-label{width:100%;min-width:100%;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .form__input{min-width:15.625rem;max-width:21.875rem;flex:1 1 calc(50% - 1.5rem)}.cloud-configurator .form__input>*{width:100%}.cloud-configurator .form__checkbox{margin-top:0.5rem;padding-left:0.25rem;width:100%}.cloud-configurator .form__checkbox tet-checkbox{padding-left:0.25rem;display:flex}.cloud-configurator .form__checkbox-helper{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color);margin-left:2rem;max-width:36.563rem}.cloud-configurator .expandable-list{display:flex;flex-direction:column;width:100%;gap:0.5rem}.cloud-configurator .expandable-list.expanded .expandable-item:nth-child(n+4){display:flex}.cloud-configurator .expandable-list .expandable-item{display:flex;flex-direction:row;width:100%;padding-bottom:0.5rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .expandable-list .expandable-item:nth-child(n+4){display:none}.cloud-configurator .expandable-list .expandable-item__description{display:flex;flex-direction:column;flex:1}.cloud-configurator .expandable-list .expandable-item__label{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .expandable-list .expandable-item__helper{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color)}.cloud-configurator .expandable-list__toggle-row{display:flex;justify-content:space-between;flex-direction:column;font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;--icon-size:1.25rem}.cloud-configurator .expandable-list__toggle,.cloud-configurator .expandable-list__link{display:flex;align-items:flex-end;gap:0.25rem;padding:0.5rem 0;text-decoration:underline;cursor:pointer;color:var(--tet-cloud-calculator-text-primary-color);border-color:transparent;background:transparent;font-size:inherit}.cloud-configurator .expandable-list__toggle:visited,.cloud-configurator .expandable-list__link:visited{color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .expandable-list__toggle:hover,.cloud-configurator .expandable-list__link:hover{color:var(--tet-cloud-calculator-tertiary)}.cloud-configurator .expandable-list__toggle:hover tet-icon,.cloud-configurator .expandable-list__link:hover tet-icon{--icon-color:var(--tet-cloud-calculator-tertiary)}.cloud-configurator .expandable-list__link tet-icon{padding-bottom:0.125rem;--icon-color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .summary{margin:2.5rem 0 0;padding-bottom:1rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .summary__title{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary__toggle{display:flex;gap:1.5rem;padding-bottom:1.5rem;justify-content:flex-start;margin:1.5rem 0 1rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .summary-table{display:grid;grid-template-columns:3fr 1fr;width:100%;background-color:var(--tet-cloud-calculator-background-primary-color)}.cloud-configurator .summary-table__row{display:contents}.cloud-configurator .summary-table__row:nth-child(2n)>*{background-color:var(--tet-cloud-calculator-background-secondary-color)}.cloud-configurator .summary-table__row>*{height:100%;padding-bottom:0.125rem}.cloud-configurator .summary-table__row>*.summary-table__header{padding-left:1rem;padding-bottom:0.5rem}.cloud-configurator .summary-table__row>*.summary-table__label{padding-left:1rem}.cloud-configurator .summary-table__row>*.summary-table__value{padding-right:1rem}.cloud-configurator .summary-table__row>*:nth-child(-n+1){padding-top:0.75rem}.cloud-configurator .summary-table__row>*:nth-last-child(-n+2){padding-bottom:0.75rem}.cloud-configurator .summary-table__header{grid-column:span 2;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;white-space:nowrap}.cloud-configurator .summary-table__header~.summary-table__header{display:none}.cloud-configurator .summary-table__label{grid-column:1;font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;text-align:left;color:var(--tet-cloud-calculator-text-secondary-color);white-space:nowrap;min-width:10rem;display:flex;justify-content:flex-start;gap:0.5rem;padding-right:0.5rem}.cloud-configurator .summary-table__label>span:first-of-type{text-overflow:ellipsis;overflow:hidden}.cloud-configurator .summary-table__value{grid-column:2;text-align:right;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;white-space:nowrap;padding-left:0}.cloud-configurator .floating-summary{display:flex;position:-webkit-sticky;position:sticky;z-index:1;bottom:0;background-color:var(--tet-cloud-calculator-background-primary-color);color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .floating-summary--is-pinned{background-color:var(--tet-cloud-calculator-background-floating-summary);color:var(--tet-cloud-calculator-text-inverse-primary)}.cloud-configurator .floating-summary__container{padding:0.5rem 1.5rem;display:flex;flex-direction:row;justify-content:space-between;width:100%}.cloud-configurator .floating-summary__count{display:none;align-items:center}.cloud-configurator .floating-summary--is-pinned .floating-summary__count{display:flex;flex-direction:row;column-gap:0.5rem;flex-wrap:wrap;font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--item{color:var(--tet-cloud-calculator-text-blue-grey)}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--other{color:var(--tet-cloud-calculator-text-inverse-primary)}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--break{flex-basis:100%;height:0}.cloud-configurator .floating-summary__sum{display:flex;flex-direction:row;gap:0.25rem;align-items:flex-end;flex:1 0 auto;font:400 1.125rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary__sum--label{margin-left:auto}.cloud-configurator .floating-summary__sum--value{font:500 1.5rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum--value{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .footer{display:flex;flex-direction:row-reverse;margin:0 1rem 2.5rem;padding-top:1rem}.cloud-configurator .footer__button{--button-width:9.375rem}@media all and (min-width: 31.25rem){.cloud-configurator .content{margin:2.5rem 1.5rem 0}.cloud-configurator .content__title{font:500 2.5rem/3rem Gilroy, Gilroy, Arial, sans-serif}.cloud-configurator .expandable-list__toggle-row{flex-direction:row}.cloud-configurator .footer{margin:0 1.5rem 2.5rem}}@media all and (min-width: 48rem){.cloud-configurator .header{margin:1.5rem 0 0}.cloud-configurator .header__segment-switch{--tabs-headers-segmented-item-padding:0.375rem 1.5rem;--tabs-headers-segmended-item-font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .header .inner-wrapper{padding:1rem 0}.cloud-configurator .content{margin:2.5rem 2rem 0}.cloud-configurator .footer{margin:0 2rem 2.5rem}.cloud-configurator .form__group{padding-bottom:2.5rem}.cloud-configurator .form__group-label{font:500 1.125rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary__toggle{justify-content:flex-end;margin-top:0.5rem}.cloud-configurator .summary__title{font:500 1.5rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary-table{display:grid;grid-template-columns:2fr 5fr}.cloud-configurator .summary-table__header{grid-column:1}.cloud-configurator .summary-table__row>*.summary-table__header{padding-bottom:unset}.cloud-configurator .summary-table__row>*:nth-child(-n+3){padding-top:0.75rem}.cloud-configurator .summary-table__header~.summary-table__header{display:block}.cloud-configurator .summary-table__label{grid-column:2;text-align:right;justify-content:flex-end}.cloud-configurator .summary-table__value{grid-column:3}.cloud-configurator .floating-summary{height:4rem}.cloud-configurator .floating-summary__container{padding:1rem 2rem}.cloud-configurator .floating-summary__count{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary__count--break{display:none}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum{align-items:center}.cloud-configurator .floating-summary__sum{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .footer{padding-top:0.5rem}}@media all and (min-width: 64rem){.cloud-configurator .content{margin:2.5rem 2.5rem 0}.cloud-configurator .footer{margin:0 2.5rem 2.5rem}.cloud-configurator .floating-summary__container{padding:1rem 2.5rem}}';export{G as tet_cloud_configurator}