@tet/tet-components 1.4.45-production → 1.4.45-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.
- package/dist/cjs/{address-951109ee.js → address-656e77f6.js} +1 -1
- package/dist/cjs/{assets-c00a24d2.js → assets-f64f0e16.js} +1 -1
- package/dist/cjs/{async-request-13036d6f.js → async-request-fcf33aba.js} +1 -1
- package/dist/cjs/{http-codes-16564d25.js → http-codes-40da1e61.js} +1 -1
- package/dist/cjs/{index-162b4cbc.js → index-3242ff3f.js} +1 -1
- package/dist/cjs/{index-a59cbcb0.js → index-4b423f33.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{phone-39f20542.js → phone-055efd07.js} +2 -2
- package/dist/cjs/{product-comparison-5535cd9e.js → product-comparison-88a89820.js} +1 -1
- package/dist/cjs/tet-accordion.cjs.entry.js +1 -1
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-search.cjs.entry.js +4 -4
- package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +3 -3
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +3 -3
- package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-lines.cjs.entry.js +4 -4
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +1 -1
- package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-carousel.cjs.entry.js +3 -3
- package/dist/cjs/tet-checkbox_3.cjs.entry.js +1 -1
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
- package/dist/cjs/tet-colors.cjs.entry.js +1 -1
- package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-components.cjs.js +1 -1
- package/dist/cjs/tet-contact-form.cjs.entry.js +5 -5
- package/dist/cjs/tet-contact-info.cjs.entry.js +1 -1
- package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-countdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-counter.cjs.entry.js +1 -1
- package/dist/cjs/tet-customer-assets.cjs.entry.js +3 -3
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +1 -1
- package/dist/cjs/tet-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-display.cjs.entry.js +1 -1
- package/dist/cjs/tet-divider.cjs.entry.js +1 -1
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
- package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
- package/dist/cjs/tet-filter.cjs.entry.js +1 -1
- package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
- package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
- package/dist/cjs/tet-grid.cjs.entry.js +1 -1
- package/dist/cjs/tet-icon.cjs.entry.js +2 -2
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-label.cjs.entry.js +3 -3
- package/dist/cjs/tet-layout.cjs.entry.js +1 -1
- package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +1 -1
- package/dist/cjs/tet-loader.cjs.entry.js +1 -1
- package/dist/cjs/tet-macd-view.cjs.entry.js +6 -6
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu.cjs.entry.js +1 -1
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-notification.cjs.entry.js +1 -1
- package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/tet-position.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio.cjs.entry.js +1 -1
- package/dist/cjs/tet-range-slider.cjs.entry.js +1 -1
- package/dist/cjs/tet-referral.cjs.entry.js +5 -5
- package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card-badge.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
- package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-stepper-v2.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-support-search.cjs.entry.js +1 -1
- package/dist/cjs/tet-switch.cjs.entry.js +1 -1
- package/dist/cjs/tet-tab-header.cjs.entry.js +1 -1
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-text.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-gift-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-gift-list.cjs.entry.js +1 -1
- package/dist/cjs/{theme-wrapper-cde3168f.js → theme-wrapper-66880718.js} +2 -2
- package/dist/cjs/{translations-ca556860.js → translations-03c9de64.js} +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-d944fe9e.js → p-06329f36.js} +1 -1
- package/dist/components/{p-e0c87730.js → p-08ccd2a5.js} +3 -3
- package/dist/components/{p-b30a7ad7.js → p-155f2b7a.js} +1 -1
- package/dist/components/{p-12bc83b0.js → p-17640ef4.js} +1 -1
- package/dist/components/{p-34a94ecf.js → p-17885a7c.js} +1 -1
- package/dist/components/{p-db3fbc90.js → p-18119679.js} +1 -1
- package/dist/components/{p-e66c2e06.js → p-2093d82a.js} +5 -5
- package/dist/components/{p-ef2d3186.js → p-229934ef.js} +1 -1
- package/dist/components/{p-8b6ad07d.js → p-25b93e8f.js} +1 -1
- package/dist/components/{p-e9e8309f.js → p-3632b58a.js} +5 -5
- package/dist/components/{p-90ad304e.js → p-3748ab10.js} +1 -1
- package/dist/components/{p-627d4048.js → p-3c102839.js} +3 -3
- package/dist/components/{p-89402a54.js → p-4177a58b.js} +6 -6
- package/dist/components/{p-71a017d7.js → p-431026ba.js} +3 -3
- package/dist/components/{p-f0861d7a.js → p-44201f97.js} +1 -1
- package/dist/components/{p-8792ebce.js → p-4468c9e9.js} +1 -1
- package/dist/components/{p-1e76a7eb.js → p-517c4a94.js} +1 -1
- package/dist/components/{p-c155c30c.js → p-57b986ba.js} +7 -7
- package/dist/components/{p-e845280b.js → p-5c3ff591.js} +1 -1
- package/dist/components/{p-8cb7e01c.js → p-5f8e9ab6.js} +1 -1
- package/dist/components/{p-4056dc61.js → p-69d10a5a.js} +2 -2
- package/dist/components/{p-57e10d84.js → p-6ed7deb7.js} +3 -3
- package/dist/components/{p-19c20a05.js → p-71baab1d.js} +2 -2
- package/dist/components/{p-19a05d89.js → p-725d9300.js} +4 -4
- package/dist/components/{p-94469823.js → p-73771a7d.js} +7 -7
- package/dist/components/{p-65ebd79c.js → p-75a56bcc.js} +7 -7
- package/dist/components/{p-1971895b.js → p-7d181132.js} +3 -3
- package/dist/components/{p-500ac3f6.js → p-810de969.js} +2 -2
- package/dist/components/{p-7e468c74.js → p-835ac6e6.js} +10 -10
- package/dist/components/{p-f9176e55.js → p-83a8368b.js} +1 -1
- package/dist/components/{p-0eab5242.js → p-8c8b119b.js} +2 -2
- package/dist/components/{p-9cda92eb.js → p-8ca89afe.js} +2 -2
- package/dist/components/{p-6b53dfef.js → p-8e2186c9.js} +6 -6
- package/dist/components/{p-b7140489.js → p-9a669261.js} +1 -1
- package/dist/components/{p-74df2661.js → p-9b2fba6b.js} +2 -2
- package/dist/components/{p-e7061d48.js → p-9b881720.js} +1 -1
- package/dist/components/{p-36f97736.js → p-9c08a012.js} +3 -3
- package/dist/components/{p-fdd7656b.js → p-a849dc99.js} +2 -2
- package/dist/components/{p-732bc3b0.js → p-adb1d830.js} +2 -2
- package/dist/components/{p-82780fc5.js → p-ae777b5c.js} +2 -2
- package/dist/components/{p-28ddbc83.js → p-b62256ec.js} +2 -2
- package/dist/components/{p-6f10aedf.js → p-b9e49599.js} +2 -2
- package/dist/components/{p-2d53695e.js → p-c162d676.js} +3 -3
- package/dist/components/{p-c0e3d8d2.js → p-c8becb8a.js} +2 -2
- package/dist/components/{p-d818c877.js → p-c98c65c4.js} +6 -6
- package/dist/components/{p-49f6fb78.js → p-d475d2a6.js} +1 -1
- package/dist/components/{p-a760883f.js → p-d56887ae.js} +7 -7
- package/dist/components/{p-ed2e2b78.js → p-d9053020.js} +1 -1
- package/dist/components/{p-d6bd873d.js → p-dd0c9a50.js} +1 -1
- package/dist/components/{p-c13688d0.js → p-dd3541f5.js} +1 -1
- package/dist/components/{p-938e9b34.js → p-e1c74b3e.js} +1 -1
- package/dist/components/{p-77db5237.js → p-e69117e4.js} +3 -3
- package/dist/components/{p-294fe950.js → p-ea511c1d.js} +10 -10
- package/dist/components/{p-72ea9b04.js → p-ee54db57.js} +1 -1
- package/dist/components/{p-5f8499ea.js → p-ef2ec31f.js} +9 -9
- package/dist/components/{p-4db5e941.js → p-f44fc350.js} +2 -2
- package/dist/components/{p-f22849c2.js → p-f6b620cf.js} +4 -4
- package/dist/components/{p-5dcf08ec.js → p-f76fad86.js} +1 -1
- package/dist/components/{p-2a75ffcb.js → p-f80234ad.js} +14 -14
- package/dist/components/tet-accordion.js +1 -1
- package/dist/components/tet-address-offers-filters-products.js +1 -1
- package/dist/components/tet-address-offers-filters.js +1 -1
- package/dist/components/tet-address-offers-view.js +24 -24
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-asset-addresses.js +13 -13
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +5 -5
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-check-out-form.js +1 -1
- package/dist/components/tet-b2b-compare-card.js +1 -1
- package/dist/components/tet-b2b-configurator-cart.js +1 -1
- package/dist/components/tet-b2b-configurator.js +20 -20
- package/dist/components/tet-b2b-service-calculator.js +8 -8
- package/dist/components/tet-banner-nav.js +3 -3
- package/dist/components/tet-bar-graph.js +1 -1
- package/dist/components/tet-border-radius.js +1 -1
- package/dist/components/tet-business-card.js +1 -1
- package/dist/components/tet-business-compare-card.js +3 -3
- package/dist/components/tet-business-lines.js +5 -5
- package/dist/components/tet-business-navigation.js +1 -1
- package/dist/components/tet-business-round-stepper.js +2 -2
- package/dist/components/tet-business-summary-card.js +1 -1
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-carousel.js +4 -4
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +8 -8
- package/dist/components/tet-cloud-configurator.js +12 -12
- package/dist/components/tet-colors.js +1 -1
- package/dist/components/tet-compare-card-v2.js +9 -9
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +16 -16
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-contact-form.js +9 -9
- package/dist/components/tet-contact-info.js +1 -1
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-countdown.js +1 -1
- package/dist/components/tet-counter.js +1 -1
- package/dist/components/tet-customer-assets.js +9 -9
- package/dist/components/tet-datepicker-header.js +1 -1
- package/dist/components/tet-datepicker-month-view.js +1 -1
- package/dist/components/tet-datepicker-multi-year-view.js +1 -1
- package/dist/components/tet-datepicker-year-view.js +1 -1
- package/dist/components/tet-datepicker.js +6 -6
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-display.js +8 -8
- package/dist/components/tet-divider.js +7 -7
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +4 -4
- package/dist/components/tet-expandable-input.js +3 -3
- package/dist/components/tet-expansion-panel.js +1 -1
- package/dist/components/tet-feedback-form.js +7 -7
- package/dist/components/tet-filter.js +4 -4
- package/dist/components/tet-floating-block.js +3 -3
- package/dist/components/tet-font-weight.js +1 -1
- package/dist/components/tet-fonts.js +1 -1
- package/dist/components/tet-grid.js +1 -1
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +1 -1
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-label.js +3 -3
- package/dist/components/tet-layout.js +1 -1
- package/dist/components/tet-link-card-list.js +3 -3
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +10 -10
- package/dist/components/tet-menu-mobile.js +2 -2
- package/dist/components/tet-menu.js +2 -2
- package/dist/components/tet-multi-step-dialog.js +5 -5
- package/dist/components/tet-navigation-mobile.js +2 -2
- package/dist/components/tet-news-card-list.js +4 -4
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-position.js +7 -7
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-referral.js +6 -6
- package/dist/components/tet-round-stepper.js +2 -2
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-snicker-card-badge.js +1 -1
- package/dist/components/tet-snicker-card-group.js +1 -1
- package/dist/components/tet-snicker-card.js +11 -11
- package/dist/components/tet-spacing.js +1 -1
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v2.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-stepper.js +1 -1
- package/dist/components/tet-support-search.js +7 -7
- package/dist/components/tet-switch.js +1 -1
- package/dist/components/tet-tab-content.js +1 -1
- package/dist/components/tet-tab-header.js +1 -1
- package/dist/components/tet-table.js +3 -3
- package/dist/components/tet-tag-group.js +1 -1
- package/dist/components/tet-tag.js +1 -1
- package/dist/components/tet-text-list.js +1 -1
- package/dist/components/tet-text.js +7 -7
- package/dist/components/tet-textarea.js +1 -1
- package/dist/components/tet-thank-you-view-v2.js +5 -5
- package/dist/components/tet-thank-you-view-v3.js +5 -5
- package/dist/components/tet-thank-you-view.js +4 -4
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-gift-block.js +1 -1
- package/dist/components/tet-tv-gift-list.js +2 -2
- package/dist/esm/{address-24e316f2.js → address-1e0810e7.js} +1 -1
- package/dist/esm/{assets-343a0b59.js → assets-e1349520.js} +1 -1
- package/dist/esm/{async-request-a5159336.js → async-request-4c945e13.js} +1 -1
- package/dist/esm/{http-codes-98d3e25c.js → http-codes-1927ea00.js} +1 -1
- package/dist/esm/{index-6c5bc6fc.js → index-412df137.js} +1 -1
- package/dist/esm/{index-0da0d682.js → index-aac31bd2.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{phone-ea11e1d0.js → phone-1a920c5c.js} +2 -2
- package/dist/esm/{product-comparison-21980b84.js → product-comparison-dd90c721.js} +1 -1
- package/dist/esm/tet-accordion.entry.js +1 -1
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
- package/dist/esm/tet-address-offers-view.entry.js +3 -3
- package/dist/esm/tet-address-offers_4.entry.js +7 -7
- package/dist/esm/tet-address-search.entry.js +4 -4
- package/dist/esm/tet-asset-addresses.entry.js +3 -3
- package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
- package/dist/esm/tet-autocomplete.entry.js +1 -1
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +3 -3
- package/dist/esm/tet-b2b-configurator.entry.js +4 -4
- package/dist/esm/tet-b2b-service-calculator.entry.js +3 -3
- package/dist/esm/tet-banner-nav.entry.js +3 -3
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +1 -1
- package/dist/esm/tet-business-card.entry.js +1 -1
- package/dist/esm/tet-business-compare-card.entry.js +1 -1
- package/dist/esm/tet-business-lines.entry.js +4 -4
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +1 -1
- package/dist/esm/tet-card-list.entry.js +1 -1
- package/dist/esm/tet-carousel.entry.js +3 -3
- package/dist/esm/tet-checkbox_3.entry.js +1 -1
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
- package/dist/esm/tet-cloud-configurator.entry.js +3 -3
- package/dist/esm/tet-colors.entry.js +1 -1
- package/dist/esm/tet-compare-card-v2.entry.js +3 -3
- package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
- package/dist/esm/tet-compare-cards_2.entry.js +3 -3
- package/dist/esm/tet-components.js +2 -2
- package/dist/esm/tet-contact-form.entry.js +5 -5
- package/dist/esm/tet-contact-info.entry.js +1 -1
- package/dist/esm/tet-container_2.entry.js +1 -1
- package/dist/esm/tet-countdown.entry.js +1 -1
- package/dist/esm/tet-counter.entry.js +1 -1
- package/dist/esm/tet-customer-assets.entry.js +3 -3
- package/dist/esm/tet-datepicker-header_4.entry.js +1 -1
- package/dist/esm/tet-datepicker.entry.js +1 -1
- package/dist/esm/tet-dialog.entry.js +3 -3
- package/dist/esm/tet-display.entry.js +1 -1
- package/dist/esm/tet-divider.entry.js +1 -1
- package/dist/esm/tet-dynamic-card.entry.js +1 -1
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +1 -1
- package/dist/esm/tet-feedback-form.entry.js +3 -3
- package/dist/esm/tet-filter.entry.js +1 -1
- package/dist/esm/tet-floating-block.entry.js +1 -1
- package/dist/esm/tet-font-weight.entry.js +1 -1
- package/dist/esm/tet-fonts.entry.js +1 -1
- package/dist/esm/tet-grid.entry.js +1 -1
- package/dist/esm/tet-icon.entry.js +2 -2
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +3 -3
- package/dist/esm/tet-label.entry.js +3 -3
- package/dist/esm/tet-layout.entry.js +1 -1
- package/dist/esm/tet-link-card-list.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +1 -1
- package/dist/esm/tet-loader.entry.js +1 -1
- package/dist/esm/tet-macd-view.entry.js +6 -6
- package/dist/esm/tet-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
- package/dist/esm/tet-navigation-mobile.entry.js +1 -1
- package/dist/esm/tet-news-card-list.entry.js +1 -1
- package/dist/esm/tet-notification.entry.js +1 -1
- package/dist/esm/tet-number-input.entry.js +1 -1
- package/dist/esm/tet-placeholder.entry.js +1 -1
- package/dist/esm/tet-position.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +1 -1
- package/dist/esm/tet-radio.entry.js +1 -1
- package/dist/esm/tet-range-slider.entry.js +1 -1
- package/dist/esm/tet-referral.entry.js +5 -5
- package/dist/esm/tet-round-stepper.entry.js +1 -1
- package/dist/esm/tet-snicker-card-badge.entry.js +1 -1
- package/dist/esm/tet-snicker-card-group.entry.js +1 -1
- package/dist/esm/tet-snicker-card.entry.js +3 -3
- package/dist/esm/tet-spacing.entry.js +1 -1
- package/dist/esm/tet-spinner.entry.js +1 -1
- package/dist/esm/tet-stepper-input.entry.js +3 -3
- package/dist/esm/tet-stepper-v2.entry.js +1 -1
- package/dist/esm/tet-stepper-v3.entry.js +1 -1
- package/dist/esm/tet-stepper.entry.js +1 -1
- package/dist/esm/tet-support-search.entry.js +1 -1
- package/dist/esm/tet-switch.entry.js +1 -1
- package/dist/esm/tet-tab-header.entry.js +1 -1
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +3 -3
- package/dist/esm/tet-text-list.entry.js +1 -1
- package/dist/esm/tet-text.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +1 -1
- package/dist/esm/tet-thank-you-view-v2.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
- package/dist/esm/tet-thank-you-view.entry.js +1 -1
- package/dist/esm/tet-tv-gift-block.entry.js +1 -1
- package/dist/esm/tet-tv-gift-list.entry.js +1 -1
- package/dist/esm/{theme-wrapper-37dd9692.js → theme-wrapper-72d0b9da.js} +2 -2
- package/dist/esm/{translations-9a0d9386.js → translations-4712c45f.js} +1 -1
- package/dist/tet-components/{p-6ec4b36e.entry.js → p-020ceb18.entry.js} +1 -1
- package/dist/tet-components/{p-aabe7b11.entry.js → p-09cfec89.entry.js} +1 -1
- package/dist/tet-components/{p-0255120e.js → p-0c6b6730.js} +1 -1
- package/dist/tet-components/{p-59ffdcd3.js → p-0ebbf5ef.js} +1 -1
- package/dist/tet-components/{p-11861db4.entry.js → p-104a5917.entry.js} +1 -1
- package/dist/tet-components/{p-6235b259.entry.js → p-10e72480.entry.js} +1 -1
- package/dist/tet-components/{p-a31f3a9a.entry.js → p-122f3d3c.entry.js} +1 -1
- package/dist/tet-components/{p-b7a4c91a.entry.js → p-172e2ff7.entry.js} +1 -1
- package/dist/tet-components/{p-0299a55c.entry.js → p-1dc79db3.entry.js} +1 -1
- package/dist/tet-components/{p-27b1f1e9.entry.js → p-1e67317e.entry.js} +1 -1
- package/dist/tet-components/{p-15bd5335.entry.js → p-1f33d1d9.entry.js} +1 -1
- package/dist/tet-components/{p-1e9db0cc.js → p-1fd2adaf.js} +1 -1
- package/dist/tet-components/{p-0332fbab.entry.js → p-202343e2.entry.js} +1 -1
- package/dist/tet-components/{p-6c2146a3.entry.js → p-2a43ccef.entry.js} +1 -1
- package/dist/tet-components/{p-3c5c8ed6.entry.js → p-2b10023e.entry.js} +1 -1
- package/dist/tet-components/{p-228ca864.entry.js → p-316a6c7f.entry.js} +1 -1
- package/dist/tet-components/{p-23f007d1.entry.js → p-32691e85.entry.js} +1 -1
- package/dist/tet-components/{p-f080b1a0.entry.js → p-39796998.entry.js} +1 -1
- package/dist/tet-components/{p-f84f150b.entry.js → p-3ab161b4.entry.js} +1 -1
- package/dist/tet-components/{p-c5fdf41f.entry.js → p-3e3ecc08.entry.js} +1 -1
- package/dist/tet-components/{p-129ea4aa.entry.js → p-3e7e1106.entry.js} +1 -1
- package/dist/tet-components/{p-eeb643a4.entry.js → p-4002d906.entry.js} +1 -1
- package/dist/tet-components/{p-8e955d30.entry.js → p-4285287c.entry.js} +1 -1
- package/dist/tet-components/{p-d9b26ab4.entry.js → p-43869924.entry.js} +1 -1
- package/dist/tet-components/{p-17276f7a.entry.js → p-46975ec4.entry.js} +1 -1
- package/dist/tet-components/{p-bcbb0768.entry.js → p-46f6a051.entry.js} +1 -1
- package/dist/tet-components/{p-1ef5d194.entry.js → p-496180bc.entry.js} +1 -1
- package/dist/tet-components/{p-1537fc09.entry.js → p-4c6a379b.entry.js} +1 -1
- package/dist/tet-components/{p-e20a1a5e.entry.js → p-4fb9f367.entry.js} +1 -1
- package/dist/tet-components/{p-52301881.entry.js → p-5391d594.entry.js} +1 -1
- package/dist/tet-components/{p-a3b20463.entry.js → p-56ed2fa5.entry.js} +1 -1
- package/dist/tet-components/{p-0dff386b.entry.js → p-5845a3dc.entry.js} +1 -1
- package/dist/tet-components/{p-cfa681df.entry.js → p-5e2eb1e5.entry.js} +1 -1
- package/dist/tet-components/{p-133b63de.entry.js → p-615a1f0a.entry.js} +1 -1
- package/dist/tet-components/{p-949243e0.entry.js → p-6d57ae8d.entry.js} +1 -1
- package/dist/tet-components/{p-69812025.entry.js → p-6eff3406.entry.js} +1 -1
- package/dist/tet-components/{p-83a9957c.entry.js → p-7056a120.entry.js} +1 -1
- package/dist/tet-components/{p-7f302806.entry.js → p-71018cb8.entry.js} +1 -1
- package/dist/tet-components/{p-1ad37ab3.entry.js → p-724189c2.entry.js} +1 -1
- package/dist/tet-components/{p-641f8035.entry.js → p-73640752.entry.js} +1 -1
- package/dist/tet-components/{p-19c6a28c.js → p-7544dfd7.js} +1 -1
- package/dist/tet-components/{p-1cecb836.entry.js → p-76526271.entry.js} +1 -1
- package/dist/tet-components/{p-74aae175.entry.js → p-7771bc1a.entry.js} +1 -1
- package/dist/tet-components/{p-81586378.js → p-778c46a6.js} +1 -1
- package/dist/tet-components/{p-6d3f9540.entry.js → p-7d64d525.entry.js} +1 -1
- package/dist/tet-components/p-83f43fdd.js +2 -0
- package/dist/tet-components/{p-f3cd9c56.entry.js → p-87221449.entry.js} +1 -1
- package/dist/tet-components/{p-9ef884ed.entry.js → p-8915cdcf.entry.js} +1 -1
- package/dist/tet-components/{p-3090ceaf.entry.js → p-8a363e18.entry.js} +1 -1
- package/dist/tet-components/{p-fa69d1cf.entry.js → p-8bfd498e.entry.js} +1 -1
- package/dist/tet-components/{p-5c95f657.entry.js → p-8c0ac70a.entry.js} +1 -1
- package/dist/tet-components/{p-e615ce9c.entry.js → p-903c4587.entry.js} +1 -1
- package/dist/tet-components/{p-5104fc99.entry.js → p-920c54d8.entry.js} +1 -1
- package/dist/tet-components/{p-040dc96f.entry.js → p-92d60107.entry.js} +1 -1
- package/dist/tet-components/{p-af6b8494.entry.js → p-9702ffe7.entry.js} +1 -1
- package/dist/tet-components/{p-4a6dd56d.entry.js → p-97248cdf.entry.js} +1 -1
- package/dist/tet-components/{p-246e293e.entry.js → p-98412b48.entry.js} +1 -1
- package/dist/tet-components/{p-b99a2c54.entry.js → p-99c3bea5.entry.js} +1 -1
- package/dist/tet-components/{p-5879fbfb.entry.js → p-99f3c763.entry.js} +1 -1
- package/dist/tet-components/{p-79931377.entry.js → p-9a1f44f5.entry.js} +1 -1
- package/dist/tet-components/{p-c95500c7.entry.js → p-9c837569.entry.js} +1 -1
- package/dist/tet-components/{p-18fd9a9b.entry.js → p-a093603e.entry.js} +1 -1
- package/dist/tet-components/{p-7b88bb4c.entry.js → p-a113873a.entry.js} +1 -1
- package/dist/tet-components/{p-1638825f.entry.js → p-a469caad.entry.js} +1 -1
- package/dist/tet-components/{p-d69f671b.entry.js → p-a64e3e96.entry.js} +1 -1
- package/dist/tet-components/{p-f9e5405c.js → p-a8051a99.js} +1 -1
- package/dist/tet-components/{p-66889c36.entry.js → p-ab13d33d.entry.js} +1 -1
- package/dist/tet-components/{p-ed471ab0.entry.js → p-aff47d36.entry.js} +1 -1
- package/dist/tet-components/{p-8763c126.entry.js → p-b0c62997.entry.js} +1 -1
- package/dist/tet-components/{p-886b6db2.entry.js → p-b34e86ef.entry.js} +1 -1
- package/dist/tet-components/{p-c7e5e252.entry.js → p-b365e697.entry.js} +1 -1
- package/dist/tet-components/{p-c336a502.entry.js → p-b87db05c.entry.js} +1 -1
- package/dist/tet-components/{p-fd6c7936.entry.js → p-b99fbdfa.entry.js} +1 -1
- package/dist/tet-components/{p-62d40cca.entry.js → p-be3a10d0.entry.js} +1 -1
- package/dist/tet-components/{p-544b367e.entry.js → p-c455736d.entry.js} +1 -1
- package/dist/tet-components/{p-ccbe2f2a.entry.js → p-c4de9e32.entry.js} +1 -1
- package/dist/tet-components/{p-81000e8c.entry.js → p-c5ee1356.entry.js} +1 -1
- package/dist/tet-components/{p-9852c6ed.entry.js → p-c858f416.entry.js} +1 -1
- package/dist/tet-components/{p-a193f723.entry.js → p-c9f21fde.entry.js} +1 -1
- package/dist/tet-components/{p-97c0035b.entry.js → p-cb8b3363.entry.js} +1 -1
- package/dist/tet-components/{p-fc8d6963.entry.js → p-ccfa9f31.entry.js} +1 -1
- package/dist/tet-components/{p-48d13280.entry.js → p-cde8057a.entry.js} +1 -1
- package/dist/tet-components/{p-154f01f9.entry.js → p-ce850061.entry.js} +1 -1
- package/dist/tet-components/{p-4f7a8ae9.entry.js → p-cea240d6.entry.js} +1 -1
- package/dist/tet-components/{p-54d6256c.entry.js → p-cf66f858.entry.js} +1 -1
- package/dist/tet-components/{p-475e19e1.entry.js → p-cf9a7e1f.entry.js} +1 -1
- package/dist/tet-components/{p-6ed4247e.entry.js → p-d7342c6b.entry.js} +1 -1
- package/dist/tet-components/{p-21acfb7d.js → p-d8518d4b.js} +1 -1
- package/dist/tet-components/{p-d9ba7a6e.entry.js → p-da0fc55d.entry.js} +1 -1
- package/dist/tet-components/{p-752b7d7d.entry.js → p-e035e45e.entry.js} +1 -1
- package/dist/tet-components/{p-3a2ababb.entry.js → p-e0fc34c9.entry.js} +1 -1
- package/dist/tet-components/{p-7b7a9bab.entry.js → p-e95dba20.entry.js} +1 -1
- package/dist/tet-components/{p-f7f3a146.entry.js → p-e9883cd3.entry.js} +1 -1
- package/dist/tet-components/{p-bb9f2d7e.entry.js → p-eaaaeafe.entry.js} +1 -1
- package/dist/tet-components/{p-9454be24.entry.js → p-eaaf3ccf.entry.js} +1 -1
- package/dist/tet-components/{p-8022c290.entry.js → p-ec630053.entry.js} +1 -1
- package/dist/tet-components/{p-5592d9ee.entry.js → p-ee144210.entry.js} +1 -1
- package/dist/tet-components/{p-8a26190c.entry.js → p-f16514db.entry.js} +1 -1
- package/dist/tet-components/{p-caa967e8.entry.js → p-f16a4ea0.entry.js} +1 -1
- package/dist/tet-components/{p-93e67d37.entry.js → p-f3ce4422.entry.js} +1 -1
- package/dist/tet-components/{p-01a44fa7.entry.js → p-f6916bfc.entry.js} +1 -1
- package/dist/tet-components/{p-a0b08ff1.js → p-f81b3bb0.js} +1 -1
- package/dist/tet-components/p-f81d95ae.js +1 -0
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/tet-components/p-7c868b40.js +0 -2
- package/dist/tet-components/p-81456c37.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as o,H as r}from"./p-7c868b40.js";const n=class{constructor(o){t(this,o),this.clickCallback=()=>null,this.size="large",this.type="primary",this.theme="classic",this.colorTheme=void 0,this.customColorCode=void 0,this.customColorContentTone="light",this.disabled=!1,this.iconMode=!1,this.iconPosition="right",this.iconName=void 0,this.elementId=void 0,this.accessibilityLabel="",this.url="",this.urlTarget="_self"}renderButtonWithIcon(t){return"left"===t?o("div",{class:"button__content"},o("tet-icon",{name:this.iconName}),o("slot",null)):o("div",{class:"button__content"},o("slot",null),o("tet-icon",{name:this.iconName}))}handleClick=()=>{this.clickCallback(),this.url&&window.open(this.url,this.urlTarget,"_blank"===this.urlTarget?"noopener,noreferrer":void 0)};getFallbackType(){const{colorTheme:t,type:o,customColorCode:r}=this,n="secondary"===o;return r?n?"secondary":"primary":"yellow"===t?"primary":"adaptive-yellow"===t?n?"secondary":"primary":o}getFallbackTheme(){const{colorTheme:t,theme:o,customColorCode:r,type:n}=this,e="ghost"===n||"link"===n;if(r||"yellow"===t)return"dark"===o||"light-inverse"===o?"dark":"light";if("adaptive-yellow"===t)switch(o){case"light":case"light-inverse":case"dark":return o;case"dark-inverse":return"primary"===n?"dark-inverse":"dark";default:return"light"}return e&&"light-inverse"===o?"dark":e&&"dark-inverse"===o?"light":o}getAccessibilityLabel(){const{accessibilityLabel:t,iconMode:o,iconName:r}=this;return t||(o&&r?(r.startsWith("tc-")?r.substring(3):r).replaceAll("-"," ").trim():"")}shouldApplyDarkCustomColorContentClass(){const{customColorCode:t,type:o,customColorContentTone:r}=this;return!!t&&"primary"===o&&"dark"===r}render(){const t=this.getAccessibilityLabel();return o(r,{key:"de69fa5a41ed8b0d0e1de462509a1bab59fabab4"},o("button",{key:"6310d69f52cfd2992f21d5e3203e40b8339d09d6",part:"button",onClick:this.handleClick,id:this.elementId,style:this.customColorCode?{"--button-custom-color":this.customColorCode}:void 0,class:{button:!0,[`button--${this.size}`]:!0,[`button--type-${this.getFallbackType()}`]:!0,[`button--${this.getFallbackTheme()}-theme`]:!0,[`button--color-theme-${this.colorTheme}`]:!!this.colorTheme&&!this.customColorCode,"button--custom-color":!!this.customColorCode,"button--custom-color-content-dark":this.shouldApplyDarkCustomColorContentClass(),"button--icon-mode":this.iconMode,"button--with-icon":!!this.iconName},disabled:this.disabled,...t?{"aria-label":t}:{},tabindex:0},this.iconName&&this.iconMode?o("tet-icon",{name:this.iconName}):this.iconName?this.renderButtonWithIcon(this.iconPosition):o("slot",null)))}static get delegatesFocus(){return!0}};n.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{--button-text-decoration:none;--button-background:rgb(255, 255, 255);--button-text-color:rgb(247, 247, 247);--button-border-color:rgb(0, 96, 245);--button-border:0.125rem solid var(--button-border-color);--button-width:auto;--button-box-shadow:none;--button-font-weight:500;--button-gap:0.25rem;--button-icon-size:1.25rem;--button-content-gap:0.5rem;--button-font-size-small:0.875rem;--button-padding-small:0.375rem 0.875rem;--button-font-size-medium:1rem;--button-padding-medium:0.5rem 1rem;--button-font-size-large:1rem;--button-padding-large:0.625rem 1.25rem;--button-font-size:var(--button-font-size-large);--button-padding:var(--button-padding-large);display:inline-block;border-radius:2rem;width:fit-content;cursor:pointer}.button{--button-icon-mode-padding-internal:0.75rem;min-width:7.5rem;line-height:1.5rem;--button-text-color-current:var(--button-text-color);--button-border-color-current:var(--button-border-color);--button-background-current:var(--button-background);--button-box-shadow-current:var(--button-box-shadow);--button-text-decoration-current:var(--button-text-decoration);--button-icon-color-current:var(--button-icon-color, var(--button-text-color-current));--button-text-color-hover:var(--button-text-color);--button-border-color-hover:var(--button-border-color);--button-background-hover:var(--button-background);--button-box-shadow-hover:var(--button-box-shadow);--button-text-decoration-hover:var(--button-text-decoration);--button-text-color-focus:var(--button-text-color);--button-border-color-focus:var(--button-border-color);--button-background-focus:var(--button-background);--button-box-shadow-focus:var(--button-box-shadow);--button-text-decoration-focus:var(--button-text-decoration);--button-text-color-active:var(--button-text-color-hover);--button-border-color-active:var(--button-border-color-hover);--button-background-active:var(--button-background-hover);--button-box-shadow-active:var(--button-box-shadow-hover);--button-text-decoration-active:var(--button-text-decoration-hover);--button-text-color-disabled:var(--button-text-color);--button-border-color-disabled:var(--button-border-color);--button-background-disabled:var(--button-background);--button-box-shadow-disabled:var(--button-box-shadow);--button-text-decoration-disabled:var(--button-text-decoration);--button-icon-color-disabled:var(--button-icon-color, var(--button-text-color-disabled));display:flex;justify-content:center;flex-direction:row;align-items:center;gap:var(--button-gap);width:var(--button-width);border-radius:2rem;cursor:inherit;transition:all 0.2s ease-in-out;font-family:var(--font-family-content);font-weight:var(--button-font-weight);color:var(--button-text-color-current);border:var(--button-border);background-color:var(--button-background-current);border-color:var(--button-border-color-current);box-shadow:var(--button-box-shadow-current);text-decoration:var(--button-text-decoration-current);font-size:var(--button-font-size);padding:var(--button-padding)}.button--small{--button-font-size:var(--button-font-size-small);--button-padding:var(--button-padding-small);--button-icon-mode-padding-internal:0.375rem;min-width:6.25rem;line-height:1.25rem}.button--medium{--button-font-size:var(--button-font-size-medium);--button-padding:var(--button-padding-medium);--button-icon-mode-padding-internal:0.625rem;min-width:6.875rem}.button__content{display:flex;align-items:center;gap:var(--button-content-gap)}.button:hover:not(:disabled){backdrop-filter:blur(7.5px);--button-text-color-current:var(--button-text-color-hover);--button-border-color-current:var(--button-border-color-hover);--button-background-current:var(--button-background-hover);--button-box-shadow-current:var(--button-box-shadow-hover);--button-text-decoration-current:var(--button-text-decoration-hover)}.button:where(.button--type-ghost,.button--type-link,.button--classic-theme,.button--mint-theme):focus:not(:disabled){--button-text-color-current:var(--button-text-color-focus);--button-border-color-current:var(--button-border-color-focus);--button-background-current:var(--button-background-focus);--button-box-shadow-current:var(--button-box-shadow-focus);--button-text-decoration-current:var(--button-text-decoration-focus)}.button:focus-visible:not(:disabled){--button-box-shadow-current:none;outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s}.button:is(.button--dark-theme,.button--dark-inverse-theme):focus-visible:not(:disabled){outline:0.125rem solid var(--tc-blue-40);outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.125rem;transition:outline 0s}.button:active:not(:disabled){backdrop-filter:blur(7.5px);--button-text-color-current:var(--button-text-color-active);--button-border-color-current:var(--button-border-color-active);--button-background-current:var(--button-background-active);--button-box-shadow-current:var(--button-box-shadow-active);--button-text-decoration-current:var(--button-text-decoration-active)}.button:disabled{cursor:not-allowed;backdrop-filter:blur(5px);--button-text-color-current:var(--button-text-color-disabled);--button-border-color-current:var(--button-border-color-disabled);--button-background-current:var(--button-background-disabled);--button-box-shadow-current:var(--button-box-shadow-disabled);--button-text-decoration-current:var(--button-text-decoration-disabled);--button-icon-color-current:var(--button-icon-color-disabled)}.button--with-icon tet-icon{pointer-events:none;--icon-color:var(--button-icon-color-current);--icon-size:var(--button-icon-size);--icon-container-display:flex}.button--type-primary{--button-background:initial;--button-border-color:transparent;--button-icon-color-disabled:var(--button-text-color-disabled)}.button--type-primary.button--dark-theme{--button-text-color:var(--tc-button-text-primary-dark);--button-background:var(--tc-button-primary-background-default-dark);--button-icon-color:var(--tc-button-icon-primary-dark);--button-background-hover:var(--tc-button-primary-background-hover-dark);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised-dark), var(--tc-button-hover-shadow-centre-dark);--button-background-active:var(--tc-button-primary-background-pressed-dark);--button-text-color-disabled:var(--tc-button-text-disabled-dark);--button-background-disabled:var(--tc-button-primary-background-disabled-dark);--button-icon-color-disabled:var(--tc-button-icon-disabled-dark)}.button--type-primary.button--dark-theme.button--color-theme-yellow,.button--type-primary.button--dark-theme.button--color-theme-adaptive-yellow{--button-text-color:var(--tc-button-text-black-permanent-dark);--button-background:var(--tc-button-primary-yellow-background-default-dark);--button-icon-color:var(--tc-button-icon-black-permanent-dark);--button-background-hover:var(--tc-button-primary-yellow-background-hover-dark);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised-dark), var(--tc-button-hover-shadow-centre-dark);--button-background-active:var(--tc-button-primary-yellow-background-pressed-dark)}.button--type-primary.button--dark-theme.button--custom-color{--button-text-color:var(--tc-button-text-white-permanent-dark);--button-icon-color:var(--tc-button-icon-white-permanent-dark)}.button--type-primary.button--dark-theme.button--custom-color-content-dark{--button-text-color:var(--tc-button-text-black-permanent-dark);--button-icon-color:var(--tc-button-icon-black-permanent-dark)}.button--type-primary.button--dark-inverse-theme{--button-text-color:var(--tc-button-text-inverse-primary-dark);--button-background:var(--tc-button-primary-background-inverse-default-dark);--button-icon-color:var(--tc-button-icon-inverse-primary-dark);--button-background-hover:var(--tc-button-primary-background-inverse-hover-dark);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised), var(--tc-button-hover-shadow-centre);--button-background-active:var(--tc-button-primary-background-inverse-pressed-dark);--button-text-color-disabled:var(--tc-button-text-inverse-disabled-dark);--button-background-disabled:var(--tc-button-primary-background-inverse-disabled-dark);--button-icon-color-disabled:var(--tc-button-icon-inverse-disabled-dark)}.button--type-primary.button--dark-inverse-theme.button--color-theme-adaptive-yellow{--button-text-color:var(--tc-button-text-black-permanent-dark);--button-background:var(--tc-button-primary-yellow-background-default-dark);--button-icon-color:var(--tc-button-icon-black-permanent-dark);--button-background-hover:var(--tc-button-primary-yellow-background-hover-dark);--button-background-active:var(--tc-button-primary-yellow-background-pressed-dark)}.button--type-primary.button--mint-theme{--button-text-color:rgb(10, 11, 13);--button-background:rgb(26, 213, 219);--button-border-color-hover:rgb(153, 245, 255);--button-background-hover:rgb(153, 245, 255);--button-border-color-focus:rgb(26, 213, 219);--button-background-focus:rgb(153, 245, 255);--button-box-shadow-focus:0 0 0 0.1875rem rgba(31, 208, 214, 0.32);--button-border-color-active:rgb(24, 165, 170);--button-background-active:rgb(24, 165, 170);--button-text-color-disabled:rgb(153, 160, 174);--button-border-color-disabled:rgb(67, 75, 86);--button-background-disabled:rgb(67, 75, 86)}.button--type-primary.button--light-theme{--button-text-color:var(--tc-button-text-primary);--button-background:var(--tc-button-primary-background-default);--button-icon-color:var(--tc-button-icon-primary);--button-background-hover:var(--tc-button-primary-background-hover);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised), var(--tc-button-hover-shadow-centre);--button-background-active:var(--tc-button-primary-background-pressed);--button-text-color-disabled:var(--tc-button-text-disabled);--button-background-disabled:var(--tc-button-primary-background-disabled);--button-icon-color-disabled:var(--tc-button-icon-disabled)}.button--type-primary.button--light-theme.button--color-theme-yellow{--button-text-color:var(--tc-button-text-black-permanent);--button-background:var(--tc-button-primary-yellow-background-default);--button-icon-color:var(--tc-button-icon-black-permanent);--button-background-hover:var(--tc-button-primary-yellow-background-hover);--button-background-active:var(--tc-button-primary-yellow-background-pressed)}.button--type-primary.button--light-theme.button--custom-color{--button-text-color:var(--tc-button-text-white-permanent);--button-icon-color:var(--tc-button-icon-white-permanent)}.button--type-primary.button--light-theme.button--custom-color-content-dark{--button-text-color:var(--tc-button-text-black-permanent);--button-icon-color:var(--tc-button-icon-black-permanent)}.button--type-primary.button--light-inverse-theme{--button-text-color:var(--tc-button-text-inverse-primary);--button-background:var(--tc-button-primary-background-inverse-default);--button-icon-color:var(--tc-button-icon-inverse-primary);--button-background-hover:var(--tc-button-primary-background-inverse-hover);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised-dark), var(--tc-button-hover-shadow-centre-dark);--button-background-active:var(--tc-button-primary-background-inverse-pressed);--button-text-color-disabled:var(--tc-button-text-inverse-disabled);--button-background-disabled:var(--tc-button-primary-background-inverse-disabled);--button-icon-color-disabled:var(--tc-button-icon-inverse-disabled)}.button--type-primary.button--classic-theme{--button-text-color:rgb(255, 255, 255);--button-background:rgb(0, 96, 245);--button-background-hover:rgb(52, 132, 244);--button-border-color-hover:rgb(52, 132, 244);--button-background-focus:rgb(52, 132, 244);--button-border-color-focus:rgb(8, 53, 104);--button-box-shadow-focus:0 0 0 0.1875rem rgba(52, 132, 244, 0.45);--button-background-active:rgb(8, 53, 104);--button-border-color-active:rgb(8, 53, 104);--button-text-color-disabled:rgb(153, 160, 174);--button-border-color-disabled:rgb(255, 255, 255);--button-background-disabled:rgb(255, 255, 255)}.button--type-primary.button--custom-color{--button-background:var(--button-custom-color);--button-background-hover:color-mix(in srgb, var(--button-custom-color) 92%, rgb(0, 0, 0) 8%);--button-background-active:color-mix(in srgb, var(--button-custom-color) 84%, rgb(0, 0, 0) 16%)}.button--type-secondary{--button-background:transparent;--button-icon-color-disabled:var(--button-text-color-disabled)}.button--type-secondary.button--dark-theme{--button-text-color:var(--tc-button-text-secondary-dark);--button-border-color:var(--tc-button-border-secondary-dark);--button-icon-color:var(--tc-button-icon-inverse-primary-dark);--button-background-hover:var(--tc-button-secondary-background-hover-dark);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised-dark), var(--tc-button-hover-shadow-centre-dark);--button-background-active:var(--tc-button-secondary-background-pressed-dark);--button-text-color-disabled:var(--tc-button-text-secondary-disabled-dark);--button-border-color-disabled:var(--tc-button-border-disabled-dark);--button-icon-color-disabled:var(--tc-button-icon-secondary-disabled-dark)}.button--type-secondary.button--dark-theme.button--color-theme-adaptive-yellow{--button-text-color:var(--tc-button-text-secondary-adaptive-yellow-dark);--button-border-color:var(--tc-button-border-adaptive-yellow-secondary-dark);--button-icon-color:var(--tc-button-icon-secondary-adaptive-yellow-dark);--button-background-hover:var(--tc-button-secondary-adaptive-yellow-background-hover-dark);--button-background-active:var(--tc-button-secondary-adaptive-yellow-background-pressed-dark)}.button--type-secondary.button--dark-inverse-theme{--button-text-color:var(--tc-button-text-inverse-secondary-dark);--button-border-color:var(--tc-button-border-inverse-secondary-dark);--button-icon-color:var(--tc-button-icon-inverse-secondary-dark);--button-background-hover:var(--tc-button-secondary-background-inverse-hover-dark);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised), var(--tc-button-hover-shadow-centre);--button-background-active:var(--tc-button-secondary-background-inverse-pressed-dark);--button-text-color-disabled:var(--tc-button-text-inverse-secondary-disabled-dark);--button-border-color-disabled:var(--tc-button-border-inverse-disabled-dark);--button-icon-color-disabled:var(--tc-button-icon-inverse-secondary-disabled-dark)}.button--type-secondary.button--mint-theme{--button-text-color:rgb(26, 213, 219);--button-border-color:rgb(26, 213, 219);--button-text-color-hover:rgb(255, 255, 255);--button-border-color-hover:rgb(153, 245, 255);--button-background-hover:rgba(26, 213, 219, 0.08);--button-text-color-focus:rgb(255, 255, 255);--button-border-color-focus:rgb(26, 213, 219);--button-background-focus:rgba(26, 213, 219, 0.24);--button-box-shadow-focus:0 0 0 0.1875rem rgba(31, 208, 214, 0.32);--button-text-color-active:rgb(255, 255, 255);--button-border-color-active:rgb(26, 213, 219);--button-background-active:rgba(26, 213, 219, 0.32);--button-text-color-disabled:rgb(153, 160, 174);--button-border-color-disabled:rgb(153, 160, 174)}.button--type-secondary.button--light-theme{--button-text-color:var(--tc-button-text-secondary);--button-border-color:var(--tc-button-border-secondary);--button-icon-color:var(--tc-button-icon-inverse-primary);--button-background-hover:var(--tc-button-secondary-background-hover);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised), var(--tc-button-hover-shadow-centre);--button-background-active:var(--tc-button-secondary-background-pressed);--button-text-color-disabled:var(--tc-button-text-secondary-disabled);--button-border-color-disabled:var(--tc-button-border-disabled);--button-icon-color-disabled:var(--tc-button-icon-secondary-disabled)}.button--type-secondary.button--light-inverse-theme{--button-text-color:var(--tc-button-text-inverse-secondary);--button-border-color:var(--tc-button-border-inverse-secondary);--button-icon-color:var(--tc-button-icon-inverse-secondary);--button-background-hover:var(--tc-button-secondary-background-inverse-hover);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised-dark), var(--tc-button-hover-shadow-centre-dark);--button-background-active:var(--tc-button-secondary-background-inverse-pressed);--button-text-color-disabled:var(--tc-button-text-inverse-secondary-disabled);--button-border-color-disabled:var(--tc-button-border-inverse-disabled);--button-icon-color-disabled:var(--tc-button-icon-inverse-secondary-disabled)}.button--type-secondary.button--classic-theme{--button-text-color:rgb(0, 96, 245);--button-border-color:rgb(0, 96, 245);--button-text-color-hover:rgb(8, 53, 104);--button-background-hover:rgba(0, 96, 245, 0.08);--button-text-color-focus:rgb(8, 53, 104);--button-background-focus:rgba(0, 96, 245, 0.12);--button-box-shadow-focus:0 0 0 0.1875rem rgba(113, 172, 244, 0.5);--button-text-color-active:rgb(8, 53, 104);--button-background-active:rgba(0, 96, 245, 0.16);--button-text-color-disabled:rgb(153, 160, 174);--button-border-color-disabled:rgb(153, 160, 174)}.button--type-secondary.button--custom-color{--button-border-color:var(--button-custom-color);--button-text-color:var(--button-custom-color);--button-icon-color:var(--button-custom-color);--button-background-hover:color-mix(in srgb, var(--button-custom-color) 12%, transparent);--button-background-active:color-mix(in srgb, var(--button-custom-color) 24%, transparent)}.button--type-ghost{--button-border-color:transparent;--button-background:transparent;--button-border-color-active:transparent;--button-border-color-disabled:transparent;--button-background-disabled:transparent;--button-icon-color-disabled:var(--button-text-color-disabled)}.button--type-ghost.button--dark-theme{--button-text-color:rgb(255, 255, 255);--button-text-color-hover:rgb(215, 219, 224);--button-border-color-focus:rgb(192, 197, 206);--button-background-focus:rgba(215, 219, 224, 0.01);--button-box-shadow-focus:0 0 0 0.1875rem rgba(215, 219, 224, 0.35);--button-text-color-disabled:rgb(153, 160, 174)}.button--type-ghost.button--mint-theme{--button-text-color:rgb(26, 213, 219);--button-text-color-hover:rgb(153, 245, 255);--button-text-color-focus:rgb(153, 245, 255);--button-border-color-focus:rgb(153, 245, 255);--button-background-focus:rgba(153, 245, 255, 0.01);--button-box-shadow-focus:0 0 0 0.1875rem rgba(153, 245, 255, 0.3);--button-text-color-active:rgb(24, 165, 170);--button-text-color-disabled:rgb(153, 160, 174)}.button--type-ghost.button--light-theme{--button-text-color:rgb(10, 11, 13);--button-text-color-hover:rgb(88, 99, 116);--button-text-color-focus:rgb(10, 11, 13);--button-border-color-focus:rgb(153, 160, 174);--button-background-focus:rgba(153, 160, 174, 0.01);--button-box-shadow-focus:0 0 0 0.1875rem rgba(153, 160, 174, 0.3);--button-text-color-active:rgb(35, 40, 46);--button-text-color-disabled:rgb(153, 160, 174)}.button--type-ghost.button--classic-theme{--button-text-color:rgb(0, 96, 245);--button-text-color-hover:rgb(52, 132, 244);--button-text-color-focus:rgb(52, 132, 244);--button-border-color-focus:rgb(52, 132, 244);--button-background-focus:rgba(52, 132, 244, 0.01);--button-text-color-active:rgb(8, 53, 104);--button-text-color-disabled:rgb(153, 160, 174)}.button--type-link{text-align:left;--button-border-color:transparent;--button-background:transparent;--button-text-decoration-hover:underline;--button-text-decoration-focus:underline;--button-text-decoration-active:underline;--button-icon-color-disabled:var(--button-text-color-disabled)}.button--type-link:focus-visible:not(:disabled),.button--type-link:focus:not(:disabled){border-radius:0.625rem}.button--type-link.button--dark-theme{--button-text-color:rgb(247, 247, 247);--button-text-color-hover:rgb(215, 219, 224);--button-text-color-focus:rgb(215, 219, 224);--button-text-color-active:rgb(247, 247, 247);--button-text-color-disabled:rgb(153, 160, 174)}.button--type-link.button--mint-theme{--button-text-color:rgb(26, 213, 219);--button-text-color-hover:rgb(153, 245, 255);--button-text-color-focus:rgb(153, 245, 255);--button-text-color-active:rgb(26, 213, 219);--button-text-color-disabled:rgb(153, 160, 174)}.button--type-link.button--light-theme{--button-text-color:rgb(10, 11, 13);--button-text-color-hover:rgb(88, 99, 116);--button-text-color-focus:rgb(88, 99, 116);--button-text-color-active:rgb(35, 40, 46);--button-text-color-disabled:rgb(153, 160, 174)}.button--type-link.button--classic-theme{--button-text-color:rgb(0, 96, 245);--button-text-color-hover:rgb(52, 132, 244);--button-text-color-focus:rgb(52, 132, 244);--button-text-color-active:rgb(0, 96, 245);--button-text-color-disabled:rgb(153, 160, 174)}.button--icon-mode{padding:var(--button-icon-mode-padding, var(--button-icon-mode-padding-internal));aspect-ratio:1;border-radius:50%;min-width:auto}';export{n as tet_button}
|
|
1
|
+
import{r as t,h as o,H as r}from"./p-83f43fdd.js";const n=class{constructor(o){t(this,o),this.clickCallback=()=>null,this.size="large",this.type="primary",this.theme="classic",this.colorTheme=void 0,this.customColorCode=void 0,this.customColorContentTone="light",this.disabled=!1,this.iconMode=!1,this.iconPosition="right",this.iconName=void 0,this.elementId=void 0,this.accessibilityLabel="",this.url="",this.urlTarget="_self"}renderButtonWithIcon(t){return"left"===t?o("div",{class:"button__content"},o("tet-icon",{name:this.iconName}),o("slot",null)):o("div",{class:"button__content"},o("slot",null),o("tet-icon",{name:this.iconName}))}handleClick=()=>{this.clickCallback(),this.url&&window.open(this.url,this.urlTarget,"_blank"===this.urlTarget?"noopener,noreferrer":void 0)};getFallbackType(){const{colorTheme:t,type:o,customColorCode:r}=this,n="secondary"===o;return r?n?"secondary":"primary":"yellow"===t?"primary":"adaptive-yellow"===t?n?"secondary":"primary":o}getFallbackTheme(){const{colorTheme:t,theme:o,customColorCode:r,type:n}=this,e="ghost"===n||"link"===n;if(r||"yellow"===t)return"dark"===o||"light-inverse"===o?"dark":"light";if("adaptive-yellow"===t)switch(o){case"light":case"light-inverse":case"dark":return o;case"dark-inverse":return"primary"===n?"dark-inverse":"dark";default:return"light"}return e&&"light-inverse"===o?"dark":e&&"dark-inverse"===o?"light":o}getAccessibilityLabel(){const{accessibilityLabel:t,iconMode:o,iconName:r}=this;return t||(o&&r?(r.startsWith("tc-")?r.substring(3):r).replaceAll("-"," ").trim():"")}shouldApplyDarkCustomColorContentClass(){const{customColorCode:t,type:o,customColorContentTone:r}=this;return!!t&&"primary"===o&&"dark"===r}render(){const t=this.getAccessibilityLabel();return o(r,{key:"de69fa5a41ed8b0d0e1de462509a1bab59fabab4"},o("button",{key:"6310d69f52cfd2992f21d5e3203e40b8339d09d6",part:"button",onClick:this.handleClick,id:this.elementId,style:this.customColorCode?{"--button-custom-color":this.customColorCode}:void 0,class:{button:!0,[`button--${this.size}`]:!0,[`button--type-${this.getFallbackType()}`]:!0,[`button--${this.getFallbackTheme()}-theme`]:!0,[`button--color-theme-${this.colorTheme}`]:!!this.colorTheme&&!this.customColorCode,"button--custom-color":!!this.customColorCode,"button--custom-color-content-dark":this.shouldApplyDarkCustomColorContentClass(),"button--icon-mode":this.iconMode,"button--with-icon":!!this.iconName},disabled:this.disabled,...t?{"aria-label":t}:{},tabindex:0},this.iconName&&this.iconMode?o("tet-icon",{name:this.iconName}):this.iconName?this.renderButtonWithIcon(this.iconPosition):o("slot",null)))}static get delegatesFocus(){return!0}};n.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{--button-text-decoration:none;--button-background:rgb(255, 255, 255);--button-text-color:rgb(247, 247, 247);--button-border-color:rgb(0, 96, 245);--button-border:0.125rem solid var(--button-border-color);--button-width:auto;--button-box-shadow:none;--button-font-weight:500;--button-gap:0.25rem;--button-icon-size:1.25rem;--button-content-gap:0.5rem;--button-font-size-small:0.875rem;--button-padding-small:0.375rem 0.875rem;--button-font-size-medium:1rem;--button-padding-medium:0.5rem 1rem;--button-font-size-large:1rem;--button-padding-large:0.625rem 1.25rem;--button-font-size:var(--button-font-size-large);--button-padding:var(--button-padding-large);display:inline-block;border-radius:2rem;width:fit-content;cursor:pointer}.button{--button-icon-mode-padding-internal:0.75rem;min-width:7.5rem;line-height:1.5rem;--button-text-color-current:var(--button-text-color);--button-border-color-current:var(--button-border-color);--button-background-current:var(--button-background);--button-box-shadow-current:var(--button-box-shadow);--button-text-decoration-current:var(--button-text-decoration);--button-icon-color-current:var(--button-icon-color, var(--button-text-color-current));--button-text-color-hover:var(--button-text-color);--button-border-color-hover:var(--button-border-color);--button-background-hover:var(--button-background);--button-box-shadow-hover:var(--button-box-shadow);--button-text-decoration-hover:var(--button-text-decoration);--button-text-color-focus:var(--button-text-color);--button-border-color-focus:var(--button-border-color);--button-background-focus:var(--button-background);--button-box-shadow-focus:var(--button-box-shadow);--button-text-decoration-focus:var(--button-text-decoration);--button-text-color-active:var(--button-text-color-hover);--button-border-color-active:var(--button-border-color-hover);--button-background-active:var(--button-background-hover);--button-box-shadow-active:var(--button-box-shadow-hover);--button-text-decoration-active:var(--button-text-decoration-hover);--button-text-color-disabled:var(--button-text-color);--button-border-color-disabled:var(--button-border-color);--button-background-disabled:var(--button-background);--button-box-shadow-disabled:var(--button-box-shadow);--button-text-decoration-disabled:var(--button-text-decoration);--button-icon-color-disabled:var(--button-icon-color, var(--button-text-color-disabled));display:flex;justify-content:center;flex-direction:row;align-items:center;gap:var(--button-gap);width:var(--button-width);border-radius:2rem;cursor:inherit;transition:all 0.2s ease-in-out;font-family:var(--font-family-content);font-weight:var(--button-font-weight);color:var(--button-text-color-current);border:var(--button-border);background-color:var(--button-background-current);border-color:var(--button-border-color-current);box-shadow:var(--button-box-shadow-current);text-decoration:var(--button-text-decoration-current);font-size:var(--button-font-size);padding:var(--button-padding)}.button--small{--button-font-size:var(--button-font-size-small);--button-padding:var(--button-padding-small);--button-icon-mode-padding-internal:0.375rem;min-width:6.25rem;line-height:1.25rem}.button--medium{--button-font-size:var(--button-font-size-medium);--button-padding:var(--button-padding-medium);--button-icon-mode-padding-internal:0.625rem;min-width:6.875rem}.button__content{display:flex;align-items:center;gap:var(--button-content-gap)}.button:hover:not(:disabled){backdrop-filter:blur(7.5px);--button-text-color-current:var(--button-text-color-hover);--button-border-color-current:var(--button-border-color-hover);--button-background-current:var(--button-background-hover);--button-box-shadow-current:var(--button-box-shadow-hover);--button-text-decoration-current:var(--button-text-decoration-hover)}.button:where(.button--type-ghost,.button--type-link,.button--classic-theme,.button--mint-theme):focus:not(:disabled){--button-text-color-current:var(--button-text-color-focus);--button-border-color-current:var(--button-border-color-focus);--button-background-current:var(--button-background-focus);--button-box-shadow-current:var(--button-box-shadow-focus);--button-text-decoration-current:var(--button-text-decoration-focus)}.button:focus-visible:not(:disabled){--button-box-shadow-current:none;outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s}.button:is(.button--dark-theme,.button--dark-inverse-theme):focus-visible:not(:disabled){outline:0.125rem solid var(--tc-blue-40);outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.125rem;transition:outline 0s}.button:active:not(:disabled){backdrop-filter:blur(7.5px);--button-text-color-current:var(--button-text-color-active);--button-border-color-current:var(--button-border-color-active);--button-background-current:var(--button-background-active);--button-box-shadow-current:var(--button-box-shadow-active);--button-text-decoration-current:var(--button-text-decoration-active)}.button:disabled{cursor:not-allowed;backdrop-filter:blur(5px);--button-text-color-current:var(--button-text-color-disabled);--button-border-color-current:var(--button-border-color-disabled);--button-background-current:var(--button-background-disabled);--button-box-shadow-current:var(--button-box-shadow-disabled);--button-text-decoration-current:var(--button-text-decoration-disabled);--button-icon-color-current:var(--button-icon-color-disabled)}.button--with-icon tet-icon{pointer-events:none;--icon-color:var(--button-icon-color-current);--icon-size:var(--button-icon-size);--icon-container-display:flex}.button--type-primary{--button-background:initial;--button-border-color:transparent;--button-icon-color-disabled:var(--button-text-color-disabled)}.button--type-primary.button--dark-theme{--button-text-color:var(--tc-button-text-primary-dark);--button-background:var(--tc-button-primary-background-default-dark);--button-icon-color:var(--tc-button-icon-primary-dark);--button-background-hover:var(--tc-button-primary-background-hover-dark);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised-dark), var(--tc-button-hover-shadow-centre-dark);--button-background-active:var(--tc-button-primary-background-pressed-dark);--button-text-color-disabled:var(--tc-button-text-disabled-dark);--button-background-disabled:var(--tc-button-primary-background-disabled-dark);--button-icon-color-disabled:var(--tc-button-icon-disabled-dark)}.button--type-primary.button--dark-theme.button--color-theme-yellow,.button--type-primary.button--dark-theme.button--color-theme-adaptive-yellow{--button-text-color:var(--tc-button-text-black-permanent-dark);--button-background:var(--tc-button-primary-yellow-background-default-dark);--button-icon-color:var(--tc-button-icon-black-permanent-dark);--button-background-hover:var(--tc-button-primary-yellow-background-hover-dark);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised-dark), var(--tc-button-hover-shadow-centre-dark);--button-background-active:var(--tc-button-primary-yellow-background-pressed-dark)}.button--type-primary.button--dark-theme.button--custom-color{--button-text-color:var(--tc-button-text-white-permanent-dark);--button-icon-color:var(--tc-button-icon-white-permanent-dark)}.button--type-primary.button--dark-theme.button--custom-color-content-dark{--button-text-color:var(--tc-button-text-black-permanent-dark);--button-icon-color:var(--tc-button-icon-black-permanent-dark)}.button--type-primary.button--dark-inverse-theme{--button-text-color:var(--tc-button-text-inverse-primary-dark);--button-background:var(--tc-button-primary-background-inverse-default-dark);--button-icon-color:var(--tc-button-icon-inverse-primary-dark);--button-background-hover:var(--tc-button-primary-background-inverse-hover-dark);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised), var(--tc-button-hover-shadow-centre);--button-background-active:var(--tc-button-primary-background-inverse-pressed-dark);--button-text-color-disabled:var(--tc-button-text-inverse-disabled-dark);--button-background-disabled:var(--tc-button-primary-background-inverse-disabled-dark);--button-icon-color-disabled:var(--tc-button-icon-inverse-disabled-dark)}.button--type-primary.button--dark-inverse-theme.button--color-theme-adaptive-yellow{--button-text-color:var(--tc-button-text-black-permanent-dark);--button-background:var(--tc-button-primary-yellow-background-default-dark);--button-icon-color:var(--tc-button-icon-black-permanent-dark);--button-background-hover:var(--tc-button-primary-yellow-background-hover-dark);--button-background-active:var(--tc-button-primary-yellow-background-pressed-dark)}.button--type-primary.button--mint-theme{--button-text-color:rgb(10, 11, 13);--button-background:rgb(26, 213, 219);--button-border-color-hover:rgb(153, 245, 255);--button-background-hover:rgb(153, 245, 255);--button-border-color-focus:rgb(26, 213, 219);--button-background-focus:rgb(153, 245, 255);--button-box-shadow-focus:0 0 0 0.1875rem rgba(31, 208, 214, 0.32);--button-border-color-active:rgb(24, 165, 170);--button-background-active:rgb(24, 165, 170);--button-text-color-disabled:rgb(153, 160, 174);--button-border-color-disabled:rgb(67, 75, 86);--button-background-disabled:rgb(67, 75, 86)}.button--type-primary.button--light-theme{--button-text-color:var(--tc-button-text-primary);--button-background:var(--tc-button-primary-background-default);--button-icon-color:var(--tc-button-icon-primary);--button-background-hover:var(--tc-button-primary-background-hover);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised), var(--tc-button-hover-shadow-centre);--button-background-active:var(--tc-button-primary-background-pressed);--button-text-color-disabled:var(--tc-button-text-disabled);--button-background-disabled:var(--tc-button-primary-background-disabled);--button-icon-color-disabled:var(--tc-button-icon-disabled)}.button--type-primary.button--light-theme.button--color-theme-yellow{--button-text-color:var(--tc-button-text-black-permanent);--button-background:var(--tc-button-primary-yellow-background-default);--button-icon-color:var(--tc-button-icon-black-permanent);--button-background-hover:var(--tc-button-primary-yellow-background-hover);--button-background-active:var(--tc-button-primary-yellow-background-pressed)}.button--type-primary.button--light-theme.button--custom-color{--button-text-color:var(--tc-button-text-white-permanent);--button-icon-color:var(--tc-button-icon-white-permanent)}.button--type-primary.button--light-theme.button--custom-color-content-dark{--button-text-color:var(--tc-button-text-black-permanent);--button-icon-color:var(--tc-button-icon-black-permanent)}.button--type-primary.button--light-inverse-theme{--button-text-color:var(--tc-button-text-inverse-primary);--button-background:var(--tc-button-primary-background-inverse-default);--button-icon-color:var(--tc-button-icon-inverse-primary);--button-background-hover:var(--tc-button-primary-background-inverse-hover);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised-dark), var(--tc-button-hover-shadow-centre-dark);--button-background-active:var(--tc-button-primary-background-inverse-pressed);--button-text-color-disabled:var(--tc-button-text-inverse-disabled);--button-background-disabled:var(--tc-button-primary-background-inverse-disabled);--button-icon-color-disabled:var(--tc-button-icon-inverse-disabled)}.button--type-primary.button--classic-theme{--button-text-color:rgb(255, 255, 255);--button-background:rgb(0, 96, 245);--button-background-hover:rgb(52, 132, 244);--button-border-color-hover:rgb(52, 132, 244);--button-background-focus:rgb(52, 132, 244);--button-border-color-focus:rgb(8, 53, 104);--button-box-shadow-focus:0 0 0 0.1875rem rgba(52, 132, 244, 0.45);--button-background-active:rgb(8, 53, 104);--button-border-color-active:rgb(8, 53, 104);--button-text-color-disabled:rgb(153, 160, 174);--button-border-color-disabled:rgb(255, 255, 255);--button-background-disabled:rgb(255, 255, 255)}.button--type-primary.button--custom-color{--button-background:var(--button-custom-color);--button-background-hover:color-mix(in srgb, var(--button-custom-color) 92%, rgb(0, 0, 0) 8%);--button-background-active:color-mix(in srgb, var(--button-custom-color) 84%, rgb(0, 0, 0) 16%)}.button--type-secondary{--button-background:transparent;--button-icon-color-disabled:var(--button-text-color-disabled)}.button--type-secondary.button--dark-theme{--button-text-color:var(--tc-button-text-secondary-dark);--button-border-color:var(--tc-button-border-secondary-dark);--button-icon-color:var(--tc-button-icon-inverse-primary-dark);--button-background-hover:var(--tc-button-secondary-background-hover-dark);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised-dark), var(--tc-button-hover-shadow-centre-dark);--button-background-active:var(--tc-button-secondary-background-pressed-dark);--button-text-color-disabled:var(--tc-button-text-secondary-disabled-dark);--button-border-color-disabled:var(--tc-button-border-disabled-dark);--button-icon-color-disabled:var(--tc-button-icon-secondary-disabled-dark)}.button--type-secondary.button--dark-theme.button--color-theme-adaptive-yellow{--button-text-color:var(--tc-button-text-secondary-adaptive-yellow-dark);--button-border-color:var(--tc-button-border-adaptive-yellow-secondary-dark);--button-icon-color:var(--tc-button-icon-secondary-adaptive-yellow-dark);--button-background-hover:var(--tc-button-secondary-adaptive-yellow-background-hover-dark);--button-background-active:var(--tc-button-secondary-adaptive-yellow-background-pressed-dark)}.button--type-secondary.button--dark-inverse-theme{--button-text-color:var(--tc-button-text-inverse-secondary-dark);--button-border-color:var(--tc-button-border-inverse-secondary-dark);--button-icon-color:var(--tc-button-icon-inverse-secondary-dark);--button-background-hover:var(--tc-button-secondary-background-inverse-hover-dark);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised), var(--tc-button-hover-shadow-centre);--button-background-active:var(--tc-button-secondary-background-inverse-pressed-dark);--button-text-color-disabled:var(--tc-button-text-inverse-secondary-disabled-dark);--button-border-color-disabled:var(--tc-button-border-inverse-disabled-dark);--button-icon-color-disabled:var(--tc-button-icon-inverse-secondary-disabled-dark)}.button--type-secondary.button--mint-theme{--button-text-color:rgb(26, 213, 219);--button-border-color:rgb(26, 213, 219);--button-text-color-hover:rgb(255, 255, 255);--button-border-color-hover:rgb(153, 245, 255);--button-background-hover:rgba(26, 213, 219, 0.08);--button-text-color-focus:rgb(255, 255, 255);--button-border-color-focus:rgb(26, 213, 219);--button-background-focus:rgba(26, 213, 219, 0.24);--button-box-shadow-focus:0 0 0 0.1875rem rgba(31, 208, 214, 0.32);--button-text-color-active:rgb(255, 255, 255);--button-border-color-active:rgb(26, 213, 219);--button-background-active:rgba(26, 213, 219, 0.32);--button-text-color-disabled:rgb(153, 160, 174);--button-border-color-disabled:rgb(153, 160, 174)}.button--type-secondary.button--light-theme{--button-text-color:var(--tc-button-text-secondary);--button-border-color:var(--tc-button-border-secondary);--button-icon-color:var(--tc-button-icon-inverse-primary);--button-background-hover:var(--tc-button-secondary-background-hover);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised), var(--tc-button-hover-shadow-centre);--button-background-active:var(--tc-button-secondary-background-pressed);--button-text-color-disabled:var(--tc-button-text-secondary-disabled);--button-border-color-disabled:var(--tc-button-border-disabled);--button-icon-color-disabled:var(--tc-button-icon-secondary-disabled)}.button--type-secondary.button--light-inverse-theme{--button-text-color:var(--tc-button-text-inverse-secondary);--button-border-color:var(--tc-button-border-inverse-secondary);--button-icon-color:var(--tc-button-icon-inverse-secondary);--button-background-hover:var(--tc-button-secondary-background-inverse-hover);--button-box-shadow-hover:var(--tc-button-hover-shadow-raised-dark), var(--tc-button-hover-shadow-centre-dark);--button-background-active:var(--tc-button-secondary-background-inverse-pressed);--button-text-color-disabled:var(--tc-button-text-inverse-secondary-disabled);--button-border-color-disabled:var(--tc-button-border-inverse-disabled);--button-icon-color-disabled:var(--tc-button-icon-inverse-secondary-disabled)}.button--type-secondary.button--classic-theme{--button-text-color:rgb(0, 96, 245);--button-border-color:rgb(0, 96, 245);--button-text-color-hover:rgb(8, 53, 104);--button-background-hover:rgba(0, 96, 245, 0.08);--button-text-color-focus:rgb(8, 53, 104);--button-background-focus:rgba(0, 96, 245, 0.12);--button-box-shadow-focus:0 0 0 0.1875rem rgba(113, 172, 244, 0.5);--button-text-color-active:rgb(8, 53, 104);--button-background-active:rgba(0, 96, 245, 0.16);--button-text-color-disabled:rgb(153, 160, 174);--button-border-color-disabled:rgb(153, 160, 174)}.button--type-secondary.button--custom-color{--button-border-color:var(--button-custom-color);--button-text-color:var(--button-custom-color);--button-icon-color:var(--button-custom-color);--button-background-hover:color-mix(in srgb, var(--button-custom-color) 12%, transparent);--button-background-active:color-mix(in srgb, var(--button-custom-color) 24%, transparent)}.button--type-ghost{--button-border-color:transparent;--button-background:transparent;--button-border-color-active:transparent;--button-border-color-disabled:transparent;--button-background-disabled:transparent;--button-icon-color-disabled:var(--button-text-color-disabled)}.button--type-ghost.button--dark-theme{--button-text-color:rgb(255, 255, 255);--button-text-color-hover:rgb(215, 219, 224);--button-border-color-focus:rgb(192, 197, 206);--button-background-focus:rgba(215, 219, 224, 0.01);--button-box-shadow-focus:0 0 0 0.1875rem rgba(215, 219, 224, 0.35);--button-text-color-disabled:rgb(153, 160, 174)}.button--type-ghost.button--mint-theme{--button-text-color:rgb(26, 213, 219);--button-text-color-hover:rgb(153, 245, 255);--button-text-color-focus:rgb(153, 245, 255);--button-border-color-focus:rgb(153, 245, 255);--button-background-focus:rgba(153, 245, 255, 0.01);--button-box-shadow-focus:0 0 0 0.1875rem rgba(153, 245, 255, 0.3);--button-text-color-active:rgb(24, 165, 170);--button-text-color-disabled:rgb(153, 160, 174)}.button--type-ghost.button--light-theme{--button-text-color:rgb(10, 11, 13);--button-text-color-hover:rgb(88, 99, 116);--button-text-color-focus:rgb(10, 11, 13);--button-border-color-focus:rgb(153, 160, 174);--button-background-focus:rgba(153, 160, 174, 0.01);--button-box-shadow-focus:0 0 0 0.1875rem rgba(153, 160, 174, 0.3);--button-text-color-active:rgb(35, 40, 46);--button-text-color-disabled:rgb(153, 160, 174)}.button--type-ghost.button--classic-theme{--button-text-color:rgb(0, 96, 245);--button-text-color-hover:rgb(52, 132, 244);--button-text-color-focus:rgb(52, 132, 244);--button-border-color-focus:rgb(52, 132, 244);--button-background-focus:rgba(52, 132, 244, 0.01);--button-text-color-active:rgb(8, 53, 104);--button-text-color-disabled:rgb(153, 160, 174)}.button--type-link{text-align:left;--button-border-color:transparent;--button-background:transparent;--button-text-decoration-hover:underline;--button-text-decoration-focus:underline;--button-text-decoration-active:underline;--button-icon-color-disabled:var(--button-text-color-disabled)}.button--type-link:focus-visible:not(:disabled),.button--type-link:focus:not(:disabled){border-radius:0.625rem}.button--type-link.button--dark-theme{--button-text-color:rgb(247, 247, 247);--button-text-color-hover:rgb(215, 219, 224);--button-text-color-focus:rgb(215, 219, 224);--button-text-color-active:rgb(247, 247, 247);--button-text-color-disabled:rgb(153, 160, 174)}.button--type-link.button--mint-theme{--button-text-color:rgb(26, 213, 219);--button-text-color-hover:rgb(153, 245, 255);--button-text-color-focus:rgb(153, 245, 255);--button-text-color-active:rgb(26, 213, 219);--button-text-color-disabled:rgb(153, 160, 174)}.button--type-link.button--light-theme{--button-text-color:rgb(10, 11, 13);--button-text-color-hover:rgb(88, 99, 116);--button-text-color-focus:rgb(88, 99, 116);--button-text-color-active:rgb(35, 40, 46);--button-text-color-disabled:rgb(153, 160, 174)}.button--type-link.button--classic-theme{--button-text-color:rgb(0, 96, 245);--button-text-color-hover:rgb(52, 132, 244);--button-text-color-focus:rgb(52, 132, 244);--button-text-color-active:rgb(0, 96, 245);--button-text-color-disabled:rgb(153, 160, 174)}.button--icon-mode{padding:var(--button-icon-mode-padding, var(--button-icon-mode-padding-internal));aspect-ratio:1;border-radius:50%;min-width:auto}';export{n as tet_button}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as o,h as f,H as s}from"./p-
|
|
1
|
+
import{r as t,c as o,h as f,H as s}from"./p-83f43fdd.js";import{n as a}from"./p-58434b0c.js";var e;!function(t){t.Close="close",t.ChevronDown="chevron-down"}(e||(e={}));const i=class{constructor(f){t(this,f),this.optionSelected=o(this,"optionSelected",7),this.inputValueCleared=o(this,"inputValueCleared",7),this.inputValueChanged=o(this,"inputValueChanged",7),this.options=[],this.defaultOption=void 0,this.noOptionsMessage=void 0,this.placeholder="",this.label="",this.theme="classic",this.hasError=!1,this.errorMessage="",this.inputValue=""}autocomplete;nativeInput;inputComponent;optionSelected;inputValueCleared;inputValueChanged;async clearInput(t=!1){await this.autocomplete.clear(t)}async focusOnNativeInput(){await this.autocomplete.focusOnNativeInput()}async componentDidLoad(){this.nativeInput=await this.inputComponent.getInputHtmlElement(),this.nativeInput?.addEventListener("input",this.nativeInputCallback),this.defaultOption&&await this.autocomplete.selectOption(this.defaultOption)}disconnectedCallback(){this.nativeInput?.removeEventListener("input",this.nativeInputCallback)}nativeInputCallback=({target:t})=>{const o=t.value;o&&(this.inputValue=a(o),this.inputValueChanged.emit(o))};get rightIconName(){return this.inputValue.length?e.Close:e.ChevronDown}iconRightClickCallback=async()=>{this.rightIconName!==e.ChevronDown?(await this.autocomplete.clear(),await this.focusOnNativeInput(),this.inputValueCleared.emit()):await this.focusOnNativeInput()};autocompleteClearInputCallback=()=>{this.inputValue="",this.inputValueCleared.emit()};handleAutocompleteOptionSelection=({detail:t})=>{this.inputValue=t.label,this.optionSelected.emit(t)};optionsFilterAction=t=>this.options.filter((({label:o})=>o.toLowerCase().includes(a(t))));render(){return f(s,{key:"eb15388947c33eafb49be906277b89a662195f94"},f("tet-autocomplete",{key:"c9d169f61e5b9f407e986b354b9a93ed08eec882",newStyle:!0,defaultOptions:this.options,showOptionsOnEscapeClear:!0,noOptionsMessage:this.noOptionsMessage,optionsFilterAction:this.optionsFilterAction,clearCallback:this.autocompleteClearInputCallback,onOptionSelected:this.handleAutocompleteOptionSelection,ref:t=>this.autocomplete=t,darkTheme:"dark"===this.theme},f("tet-input",{key:"817220731747a64f0ab2fcd4d7edf2a280659980",class:"input",label:this.label,error:this.hasError,"icon-right":this.rightIconName,"input-class":"autocomplete-input","input-placeholder":this.placeholder,ref:t=>this.inputComponent=t,iconRightClickCallback:this.iconRightClickCallback,theme:this.theme})),this.hasError&&this.errorMessage&&f("p",{key:"ea4bb298f5e58eac729b063c5a65d604ae3952d1",class:"error-message"},this.errorMessage))}};i.style='@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{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{display:block}.input{--input-icon-size:1.25rem;--input-icon-top-position:0.625rem;--input-border-radius:0.625rem;--input-padding:0.5rem 0.5rem 0.5rem 0.75rem}.error-message{font:500 0.75rem/1rem "Inter", "Gilroy, Arial, sans-serif";margin-top:0.5rem;color:rgb(233, 69, 54)}';export{i as tet_autocomplete_dropdown}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as n}from"./p-7c868b40.js";const i=class{constructor(t){e(this,t),this.stepperData=[]}renderStep=(e,t)=>[this.renderStepData(e),this.renderStepLine(e,t)];renderStepData=e=>{let n;const i=t("div",{class:{"stepper-step-description":!0}},t("div",{innerHTML:e?.description}));switch(e?.type){case"icon":{const i="close"===e?.icon?"close":"check";n=t("div",{class:"stepper-step-content-icon"},t("tet-icon",{class:{icon:!0,[`icon-${i}`]:!0},name:"close"===i?"close-circle":"check-circle","aria-hidden":"true"}));break}case"data":n=t("div",{class:{"stepper-step-content-data":!0}},t("div",{innerHTML:e?.data}))}return t("li",{class:{"stepper-step":!0,data:"data"===e?.type,icon:"icon"===e?.type}},t("div",{class:"stepper-step-content"},n),e.description?i:null)};renderStepLine=(e,n)=>this.stepperData.length-1>n?t("li",{class:{"stepper-line":!0,active:e.active,"post-icon":"icon"===e.type,"post-data":"data"===e.type,"pre-icon":"icon"===this.stepperData[n+1]?.type,"pre-data":"data"===this.stepperData[n+1]?.type}}):null;render(){return t(n,{key:"a7e0db38fc40b9caa6bebf0f5acce7832823718e"},t("ol",{key:"bd7ca5f6f9a3d9d61a3e10acd0bfc4a9308227a6",class:"stepper"},this.stepperData.map(this.renderStep)))}};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{--step-active-line-color:rgb(0, 96, 245);--step-active-line-size:0.1875rem;--step-active-line-style:solid;--step-data-bg-color:rgb(255, 255, 255);--step-data-border-radius:0.375rem;--step-data-border-size:0.125rem;--step-data-text-color:var(--color-ta500);--step-data-strong-text-color:var(--color-ta500);--step-data-text-size:0.875rem;--step-description-text-color:var(--color-ta500);--step-description-strong-text-color:var(--color-ta500);--step-description-text-size:0.875rem;--step-horizontal-line-width:3.125rem;--step-icon-size:1.25rem;--step-line-margin-x:1rem;--step-line-margin-y:1rem;--step-min-height:4.375rem;--step-non-active-line-color:var(--color-ta100);--step-non-active-line-size:0.1875rem;--step-non-active-line-style:dashed;--step-vertical-line-height:2rem;--step-width:10.625rem;display:flex;justify-content:center;align-items:center}.stepper{display:flex;padding:0;margin:0;font-family:var(--text-font)}@media screen and (max-width: 63.9375rem){.stepper{flex-direction:column;flex-wrap:wrap}}@media screen and (min-width: 64rem){.stepper{flex-direction:row;flex-wrap:nowrap;margin:calc(var(--step-min-height) / 2) 0 0}}.stepper-step{position:relative;display:flex;flex-direction:column}@media screen and (max-width: 35.9375rem){.stepper-step{max-width:12.4375rem}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-step{flex-direction:row}}@media screen and (min-width: 64rem){.stepper-step{width:var(--step-width)}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-step-content{min-width:12.75rem}}@media screen and (min-width: 64rem){.stepper-step-content{width:var(--step-width);height:var(--step-min-height)}}.stepper-step-content-icon{display:flex;justify-content:center;align-items:center}@media screen and (max-width: 35.9375rem){.stepper-step-content-icon{width:100%}}@media screen and (min-width: 36rem) and (max-width: 47.9375rem){.stepper-step-content-icon{width:12.75rem}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-step-content-icon{min-height:var(--step-min-height)}}@media screen and (min-width: 48rem) and (max-width: 63.9375rem){.stepper-step-content-icon{min-width:var(--step-width)}}@media screen and (min-width: 64rem){.stepper-step-content-icon{min-height:var(--step-min-height);transform:translateY(-35%)}}.stepper-step-content-icon .icon{--icon-size:var(--step-icon-size)}.stepper-step-content-icon .icon-check{--icon-color:var(--step-active-line-color)}.stepper-step-content-icon .icon-close{--icon-color:var(--step-non-active-line-color)}.stepper-step-content-data{display:flex;flex-shrink:0;justify-content:center;align-items:center;min-height:var(--step-min-height);padding:0.375rem;background:var(--step-data-bg-color);border:var(--step-data-border-size) solid var(--step-active-line-color);border-radius:var(--step-data-border-radius);color:var(--step-data-text-color);text-align:center;font-size:var(--step-data-text-size);line-height:1.25rem;letter-spacing:0.0125rem}@media screen and (max-width: 35.9375rem){.stepper-step-content-data{width:100%}}@media screen and (min-width: 36rem) and (max-width: 47.9375rem){.stepper-step-content-data{width:12.75rem}}@media screen and (min-width: 48rem) and (max-width: 63.9375rem){.stepper-step-content-data{min-width:var(--step-width)}}@media screen and (min-width: 64rem){.stepper-step-content-data{transform:translateY(-35%)}}.stepper-step-content-data strong{color:var(--step-data-strong-text-color)}.stepper-step-description{color:var(--step-description-text-color);text-align:center;font-size:var(--step-description-text-size);line-height:1.25rem;letter-spacing:0.0125rem}@media screen and (max-width: 35.9375rem){.stepper-step-description{margin-top:0.5rem}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-step-description{display:flex;flex:100%;justify-content:flex-start;align-items:center;max-width:calc(var(--step-width) * 1.45);margin-left:1rem;text-align:left}}.stepper-step-description strong{color:var(--step-description-strong-text-color)}@media screen and (min-width: 36rem) and (max-width: 47.9375rem){.stepper-line.post-icon.pre-data+.stepper-step.data{margin-top:calc(var(--step-line-margin-y) / 2)}}.stepper-line{display:block;border-color:var(--step-non-active-line-color);border-style:var(--step-non-active-line-style);border-width:0}@media screen and (max-width: 35.9375rem){.stepper-line{min-height:var(--step-vertical-line-height);margin-left:calc(50% - var(--step-non-active-line-size) / 2);border-left-width:var(--step-non-active-line-size)}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-line{min-height:calc(var(--step-vertical-line-height));margin-left:calc(6.375rem - var(--step-non-active-line-size) / 2);border-left-width:var(--step-non-active-line-size)}}@media screen and (min-width: 64rem){.stepper-line{margin-top:calc(var(--step-icon-size) / 2 - var(--step-active-line-size) / 2);border-top-width:var(--step-non-active-line-size)}}.stepper-line.active{border-color:var(--step-active-line-color);border-style:var(--step-active-line-style)}@media screen and (max-width: 63.9375rem){.stepper-line.active{border-left-width:var(--step-active-line-size)}}@media screen and (min-width: 64rem){.stepper-line.active{border-top-width:var(--step-active-line-size)}}@media screen and (max-width: 35.9375rem){.stepper-line.post-icon{margin-top:calc(var(--step-line-margin-y) / 2)}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-line.post-icon{margin-top:calc(var(--step-line-margin-y) * -0.7)}}@media screen and (min-width: 64rem){.stepper-line.post-icon{margin-left:calc((var(--step-width) / 2 - var(--step-icon-size) / 2 - var(--step-line-margin-x)) * -1)}}@media screen and (max-width: 35.9375rem){.stepper-line.post-data{margin-top:calc(var(--step-line-margin-y) / 2)}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-line.post-data{margin-top:var(--step-line-margin-y)}}@media screen and (min-width: 64rem){.stepper-line.post-data{min-width:calc(var(--step-horizontal-line-width) * 2);margin-left:var(--step-line-margin-x)}}@media screen and (max-width: 35.9375rem){.stepper-line.pre-icon{margin-bottom:calc(var(--step-line-margin-y) / 2)}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-line.pre-icon{margin-bottom:calc(var(--step-line-margin-y) * -0.7)}}@media screen and (min-width: 64rem){.stepper-line.pre-icon{margin-right:calc((var(--step-width) / 2 - var(--step-icon-size) / 2 - var(--step-line-margin-x)) * -1)}}@media screen and (max-width: 35.9375rem){.stepper-line.pre-data{margin-bottom:calc(var(--step-line-margin-y) / 2)}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-line.pre-data{margin-bottom:var(--step-line-margin-y)}}@media screen and (min-width: 64rem){.stepper-line.pre-data{margin-right:var(--step-line-margin-x)}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-line.post-icon.pre-icon{min-height:calc(var(--step-vertical-line-height))}}@media screen and (min-width: 64rem){.stepper-line.post-icon.pre-icon{min-width:calc(var(--step-horizontal-line-width) * 2)}}@media screen and (min-width: 36rem) and (max-width: 47.9375rem){.stepper-line.post-icon.pre-data{margin-bottom:calc(var(--step-line-margin-y) / 2)}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-line.post-icon.pre-data{min-height:calc(var(--step-vertical-line-height))}}@media screen and (min-width: 64rem){.stepper-line.post-icon.pre-data{min-width:calc(var(--step-horizontal-line-width) * 2)}}';export{i as tet_stepper}
|
|
1
|
+
import{r as e,h as t,H as n}from"./p-83f43fdd.js";const i=class{constructor(t){e(this,t),this.stepperData=[]}renderStep=(e,t)=>[this.renderStepData(e),this.renderStepLine(e,t)];renderStepData=e=>{let n;const i=t("div",{class:{"stepper-step-description":!0}},t("div",{innerHTML:e?.description}));switch(e?.type){case"icon":{const i="close"===e?.icon?"close":"check";n=t("div",{class:"stepper-step-content-icon"},t("tet-icon",{class:{icon:!0,[`icon-${i}`]:!0},name:"close"===i?"close-circle":"check-circle","aria-hidden":"true"}));break}case"data":n=t("div",{class:{"stepper-step-content-data":!0}},t("div",{innerHTML:e?.data}))}return t("li",{class:{"stepper-step":!0,data:"data"===e?.type,icon:"icon"===e?.type}},t("div",{class:"stepper-step-content"},n),e.description?i:null)};renderStepLine=(e,n)=>this.stepperData.length-1>n?t("li",{class:{"stepper-line":!0,active:e.active,"post-icon":"icon"===e.type,"post-data":"data"===e.type,"pre-icon":"icon"===this.stepperData[n+1]?.type,"pre-data":"data"===this.stepperData[n+1]?.type}}):null;render(){return t(n,{key:"a7e0db38fc40b9caa6bebf0f5acce7832823718e"},t("ol",{key:"bd7ca5f6f9a3d9d61a3e10acd0bfc4a9308227a6",class:"stepper"},this.stepperData.map(this.renderStep)))}};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{--step-active-line-color:rgb(0, 96, 245);--step-active-line-size:0.1875rem;--step-active-line-style:solid;--step-data-bg-color:rgb(255, 255, 255);--step-data-border-radius:0.375rem;--step-data-border-size:0.125rem;--step-data-text-color:var(--color-ta500);--step-data-strong-text-color:var(--color-ta500);--step-data-text-size:0.875rem;--step-description-text-color:var(--color-ta500);--step-description-strong-text-color:var(--color-ta500);--step-description-text-size:0.875rem;--step-horizontal-line-width:3.125rem;--step-icon-size:1.25rem;--step-line-margin-x:1rem;--step-line-margin-y:1rem;--step-min-height:4.375rem;--step-non-active-line-color:var(--color-ta100);--step-non-active-line-size:0.1875rem;--step-non-active-line-style:dashed;--step-vertical-line-height:2rem;--step-width:10.625rem;display:flex;justify-content:center;align-items:center}.stepper{display:flex;padding:0;margin:0;font-family:var(--text-font)}@media screen and (max-width: 63.9375rem){.stepper{flex-direction:column;flex-wrap:wrap}}@media screen and (min-width: 64rem){.stepper{flex-direction:row;flex-wrap:nowrap;margin:calc(var(--step-min-height) / 2) 0 0}}.stepper-step{position:relative;display:flex;flex-direction:column}@media screen and (max-width: 35.9375rem){.stepper-step{max-width:12.4375rem}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-step{flex-direction:row}}@media screen and (min-width: 64rem){.stepper-step{width:var(--step-width)}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-step-content{min-width:12.75rem}}@media screen and (min-width: 64rem){.stepper-step-content{width:var(--step-width);height:var(--step-min-height)}}.stepper-step-content-icon{display:flex;justify-content:center;align-items:center}@media screen and (max-width: 35.9375rem){.stepper-step-content-icon{width:100%}}@media screen and (min-width: 36rem) and (max-width: 47.9375rem){.stepper-step-content-icon{width:12.75rem}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-step-content-icon{min-height:var(--step-min-height)}}@media screen and (min-width: 48rem) and (max-width: 63.9375rem){.stepper-step-content-icon{min-width:var(--step-width)}}@media screen and (min-width: 64rem){.stepper-step-content-icon{min-height:var(--step-min-height);transform:translateY(-35%)}}.stepper-step-content-icon .icon{--icon-size:var(--step-icon-size)}.stepper-step-content-icon .icon-check{--icon-color:var(--step-active-line-color)}.stepper-step-content-icon .icon-close{--icon-color:var(--step-non-active-line-color)}.stepper-step-content-data{display:flex;flex-shrink:0;justify-content:center;align-items:center;min-height:var(--step-min-height);padding:0.375rem;background:var(--step-data-bg-color);border:var(--step-data-border-size) solid var(--step-active-line-color);border-radius:var(--step-data-border-radius);color:var(--step-data-text-color);text-align:center;font-size:var(--step-data-text-size);line-height:1.25rem;letter-spacing:0.0125rem}@media screen and (max-width: 35.9375rem){.stepper-step-content-data{width:100%}}@media screen and (min-width: 36rem) and (max-width: 47.9375rem){.stepper-step-content-data{width:12.75rem}}@media screen and (min-width: 48rem) and (max-width: 63.9375rem){.stepper-step-content-data{min-width:var(--step-width)}}@media screen and (min-width: 64rem){.stepper-step-content-data{transform:translateY(-35%)}}.stepper-step-content-data strong{color:var(--step-data-strong-text-color)}.stepper-step-description{color:var(--step-description-text-color);text-align:center;font-size:var(--step-description-text-size);line-height:1.25rem;letter-spacing:0.0125rem}@media screen and (max-width: 35.9375rem){.stepper-step-description{margin-top:0.5rem}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-step-description{display:flex;flex:100%;justify-content:flex-start;align-items:center;max-width:calc(var(--step-width) * 1.45);margin-left:1rem;text-align:left}}.stepper-step-description strong{color:var(--step-description-strong-text-color)}@media screen and (min-width: 36rem) and (max-width: 47.9375rem){.stepper-line.post-icon.pre-data+.stepper-step.data{margin-top:calc(var(--step-line-margin-y) / 2)}}.stepper-line{display:block;border-color:var(--step-non-active-line-color);border-style:var(--step-non-active-line-style);border-width:0}@media screen and (max-width: 35.9375rem){.stepper-line{min-height:var(--step-vertical-line-height);margin-left:calc(50% - var(--step-non-active-line-size) / 2);border-left-width:var(--step-non-active-line-size)}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-line{min-height:calc(var(--step-vertical-line-height));margin-left:calc(6.375rem - var(--step-non-active-line-size) / 2);border-left-width:var(--step-non-active-line-size)}}@media screen and (min-width: 64rem){.stepper-line{margin-top:calc(var(--step-icon-size) / 2 - var(--step-active-line-size) / 2);border-top-width:var(--step-non-active-line-size)}}.stepper-line.active{border-color:var(--step-active-line-color);border-style:var(--step-active-line-style)}@media screen and (max-width: 63.9375rem){.stepper-line.active{border-left-width:var(--step-active-line-size)}}@media screen and (min-width: 64rem){.stepper-line.active{border-top-width:var(--step-active-line-size)}}@media screen and (max-width: 35.9375rem){.stepper-line.post-icon{margin-top:calc(var(--step-line-margin-y) / 2)}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-line.post-icon{margin-top:calc(var(--step-line-margin-y) * -0.7)}}@media screen and (min-width: 64rem){.stepper-line.post-icon{margin-left:calc((var(--step-width) / 2 - var(--step-icon-size) / 2 - var(--step-line-margin-x)) * -1)}}@media screen and (max-width: 35.9375rem){.stepper-line.post-data{margin-top:calc(var(--step-line-margin-y) / 2)}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-line.post-data{margin-top:var(--step-line-margin-y)}}@media screen and (min-width: 64rem){.stepper-line.post-data{min-width:calc(var(--step-horizontal-line-width) * 2);margin-left:var(--step-line-margin-x)}}@media screen and (max-width: 35.9375rem){.stepper-line.pre-icon{margin-bottom:calc(var(--step-line-margin-y) / 2)}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-line.pre-icon{margin-bottom:calc(var(--step-line-margin-y) * -0.7)}}@media screen and (min-width: 64rem){.stepper-line.pre-icon{margin-right:calc((var(--step-width) / 2 - var(--step-icon-size) / 2 - var(--step-line-margin-x)) * -1)}}@media screen and (max-width: 35.9375rem){.stepper-line.pre-data{margin-bottom:calc(var(--step-line-margin-y) / 2)}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-line.pre-data{margin-bottom:var(--step-line-margin-y)}}@media screen and (min-width: 64rem){.stepper-line.pre-data{margin-right:var(--step-line-margin-x)}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-line.post-icon.pre-icon{min-height:calc(var(--step-vertical-line-height))}}@media screen and (min-width: 64rem){.stepper-line.post-icon.pre-icon{min-width:calc(var(--step-horizontal-line-width) * 2)}}@media screen and (min-width: 36rem) and (max-width: 47.9375rem){.stepper-line.post-icon.pre-data{margin-bottom:calc(var(--step-line-margin-y) / 2)}}@media screen and (min-width: 36rem) and (max-width: 63.9375rem){.stepper-line.post-icon.pre-data{min-height:calc(var(--step-vertical-line-height))}}@media screen and (min-width: 64rem){.stepper-line.post-icon.pre-data{min-width:calc(var(--step-horizontal-line-width) * 2)}}';export{i as tet_stepper}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as n,f as i,h as a}from"./p-
|
|
1
|
+
import{r as t,c as n,f as i,h as a}from"./p-83f43fdd.js";import{p as e,t as o}from"./p-a8051a99.js";import"./p-9a2b6ee2.js";import"./p-0ebbf5ef.js";const r=class{constructor(i){t(this,i),this.slideChange=n(this,"slideChange",7),this.pauseStateChange=n(this,"pauseStateChange",7),this.slides=4,this.duration=5e3,this.paused=!1,this.isPaused=!1,this.mobileLayout=!1,this.theme="light",this.language="lv",this.currentSlide=0,this.firstLoad=!1}onPausedStateChange(t){t?this.pause():this.play()}autoTimer;slideChange;pauseStateChange;async onLanguageChange(t){e("tet-components",t).then((()=>i(this)))}componentWillLoad(){this.isPaused=this.paused,this.firstLoad=!0,e("tet-components",this.language).then((()=>i(this)))}componentDidLoad(){this.isPaused||this.startAutoAdvance()}disconnectedCallback(){this.stopAutoAdvance()}async pause(){this.isPaused=!0,this.stopAutoAdvance(),this.pauseStateChange.emit({paused:!0})}async play(){this.isPaused=!1,this.startAutoAdvance(),this.pauseStateChange.emit({paused:!1})}async goTo(t,n){const i=this.currentSlide;this.currentSlide=Math.max(0,Math.min(t,this.slides-1)),this.slideChange.emit({index:this.currentSlide,previousIndex:i,source:n}),this.isPaused||this.startAutoAdvance()}async next(){this.currentSlide===this.slides-1&&(this.firstLoad=!1);const t=(this.currentSlide+1)%this.slides;await this.goTo(t,"next")}async previous(){const t=0===this.currentSlide?this.slides-1:this.currentSlide-1;await this.goTo(t,"previous")}async getCurrentSlide(){return this.currentSlide}startAutoAdvance(){this.stopAutoAdvance(),this.autoTimer=window.setInterval((()=>{this.next()}),this.duration)}stopAutoAdvance(){this.autoTimer&&(clearInterval(this.autoTimer),this.autoTimer=void 0)}handlePauseClick=()=>{this.isPaused?this.play():this.pause()};render(){return 1===this.slides?null:a("div",{class:{"banner-navigation":!0,[`banner-navigation--${this.theme}`]:!0,"banner-navigation--paused":this.isPaused,"banner-navigation--mobile":this.mobileLayout},style:{"--progress-duration":`${this.duration}ms`}},a("button",{class:"banner-navigation__pause",onClick:this.handlePauseClick,"aria-label":o(this.isPaused?"components-banner-nav-resume-slideshow":"components-banner-nav-pause-slideshow")},a("tet-icon",{style:{"--icon-size":"16px","--icon-container-display":"flex"},name:this.isPaused?"tc-play":"tc-pause"})),Array.from({length:this.slides},((t,n)=>a("div",{class:"banner-navigation__button-container"},a("button",{tabIndex:0,class:{"banner-navigation__button":!0,"banner-navigation__button--active":n===this.currentSlide,"banner-navigation__button--paused":this.isPaused,"banner-navigation__button--done":n<this.currentSlide,"banner-navigation__button--resetting":!this.firstLoad&&0===this.currentSlide,"banner-navigation__button--last":!this.firstLoad&&0===this.currentSlide&&n===this.slides-1,"nav-svg--filled":n<this.currentSlide,"nav-svg--unfilled":n>this.currentSlide},onClick:()=>this.goTo(n,"user"),"aria-label":o("components-banner-nav-go-to-slide")+" "+(n+1),"aria-pressed":n===this.currentSlide?"true":"false"},a("div",{class:"svg-wrapper"},a("svg",{class:"nav-svg",width:"23",height:"13",viewBox:"0 0 23 12",fill:"none"},a("defs",null,a("clipPath",{id:`nav-clip-${n}`},a("rect",{class:"clip-rect",x:"0.5",y:"0.5",height:"11"}))),a("rect",{class:"rect outer-rect",x:"0.5",y:"0.5",width:"22",height:"11",rx:"5.5",stroke:"currentColor",fill:"none"}),a("rect",{class:"rect hover-rect",x:"0.5",y:"0.5",height:"11",width:"22",rx:"5.5",fill:"transparent"}),a("g",{"clip-path":`url(#nav-clip-${n})`},a("rect",{class:"rect rect-opacity",x:"0.5",y:"0.5",height:"11",width:"22",rx:"5.5",fill:"var(--fill-color)"})))))))))}static get watchers(){return{paused:["onPausedStateChange"],language:["onLanguageChange"]}}};r.style='.banner-navigation{display:inline-flex;align-items:flex-end}.banner-navigation--light{color:var(--tc-icon-primary);--fill-color:var(--tc-icon-primary);--outline-color:var(--tc-blue-40, rgba(25, 98, 212, 1));--hover-color:rgba(12, 12, 14, 0.10);--done-hover-color:var(--tc-grey-80);--pause-icon-color:var( --tc-icon-primary);--active-color:var(--tc-grey-110);--inactive-color:var(--tc-grey-60)}.banner-navigation--dark{color:var(--tc-icon-primary-dark);--fill-color:var(--tc-icon-primary-dark);--outline-color:var(--tc-blue-40-dark, rgba(52, 129, 247, 1));--hover-color:rgba(187, 189, 191, 0.2);--done-hover-color:var(--tc-grey-80-dark);--pause-icon-color:var(--tc-icon-primary-dark);--active-color:var(--tc-grey-110-dark);--inactive-color:var(--tc-grey-60-dark)}.banner-navigation__pause{display:flex;align-items:center;border:none;background:none;padding:0.125rem;margin-right:0.375rem;cursor:pointer}.banner-navigation__pause:focus-visible{outline:var(--outline-color) auto 1px}.banner-navigation__pause tet-icon{--icon-color:var(--pause-icon-color)}.banner-navigation__pause:hover tet-icon{--icon-color:var(--done-hover-color)}.banner-navigation__button-container{margin:0 0 2px 0}.banner-navigation__button{display:flex;align-items:flex-end;justify-content:center;appearance:none;border:none;background:none;cursor:pointer;padding:0.125rem;color:var(--inactive-color)}.banner-navigation__button:hover .hover-rect{fill:var(--hover-color)}.banner-navigation__button--done:hover .rect-opacity,.banner-navigation__button--active:hover .rect-opacity{fill:var(--done-hover-color)}.banner-navigation__button--done:hover .outer-rect,.banner-navigation__button--active:hover .outer-rect{color:var(--done-hover-color)}.banner-navigation__button .clip-rect{width:22px}.banner-navigation__button--active,.banner-navigation__button--done{color:var(--active-color)}.banner-navigation__button--active .clip-rect{animation:fill-progress var(--progress-duration, 5000ms) linear forwards}.banner-navigation__button--done .clip-rect{width:22px}.banner-navigation__button--active.banner-navigation__button--paused .clip-rect{animation:none;width:0}@keyframes fill-progress{from{width:0}to{width:22px}}.svg-wrapper{position:relative;display:inline-block;width:12px;height:12px;transition:width 0.2s linear;pointer-events:none}.svg-wrapper .nav-svg{position:absolute;top:50%;left:0;transform:translateY(-50%);transform-origin:left center;height:12px;pointer-events:none}.svg-wrapper .rect{transition:width 0.2s linear, rx 0.2s ease-out}.nav-svg--unfilled .rect-opacity{opacity:0;width:22px;transition:width 0.2s linear, rx 0.2s ease-out, opacity 0.2s ease-in}.nav-svg--unfilled .rect{rx:10;width:11px}.nav-svg--filled .rect-opacity{opacity:1}.nav-svg--filled .rect{width:11px;rx:10}.banner-navigation__button--active .svg-wrapper{width:23px}@media (prefers-reduced-motion: reduce){.banner-navigation__button--active .clip-rect,.rect,.rect-opacity{transition:none;width:22px}}.banner-navigation__button:focus-visible{position:relative;width:fit-content;height:fit-content;outline:none}.banner-navigation__button:focus-visible::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;scale:1.2;transform-origin:center center;outline:2px solid;outline-offset:-0.125rem;outline-color:var(--outline-color);border-radius:11px}.banner-navigation--mobile .banner-navigation__button{padding:0.3125rem}.banner-navigation--mobile .banner-navigation__pause{padding:0.3125rem;margin-right:0.4375rem;outline-offset:-0.25rem}.banner-navigation--mobile .banner-navigation__button:focus-visible::after{outline-offset:-0.3125rem}';export{r as tet_banner_nav}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-
|
|
1
|
+
import{r as e,h as t}from"./p-83f43fdd.js";const s=class{constructor(t){e(this,t),this.mainTitle=void 0,this.bulletPoints=[],this.pricePrefix=void 0,this.price=void 0,this.currency=void 0,this.theme="light",this.hasContentInFooter=!1}buttonSlotRef;linkSlotRef;checkFooterSlotContent=()=>{const e=!!this.buttonSlotRef.assignedElements()?.length,t=!!this.linkSlotRef.assignedElements()?.length;this.hasContentInFooter=e||t};render(){const{mainTitle:e,bulletPoints:s,theme:o,pricePrefix:r,price:a,currency:f}=this;return t("div",{key:"e7a2b1b75e1f31e680e2a0128afe89cd83cdc8e6",class:{"tet-business-compare-card":!0,[`theme-${o}`]:!0}},t("div",{key:"4bdbfa39b7a5a7f0d09ee2076314a85de76dd265",class:"tet-business-compare-card__body"},t("div",{key:"50703c41229c5193608764e0bd56add6baf13645",class:"tet-business-compare-card__title"},t("slot",{key:"9499b54e8e05c8764a17c15e064a11763aa41516",name:"title"},t("h3",{key:"4ebb7b99618cc9b8c16b5580e7e3c526bd499ed1"},e))),t("div",{key:"1da758436f83cd20663e115a2e6b5b7b9b392fae",class:"tet-business-compare-card__content"},t("slot",{key:"c82d70fe865d234274ab13bc02dda1614bb52abf",name:"content"},!!s?.length&&t("tet-text-list",{key:"c732f29979a5dab6bf13a738ea5cd8615ed16885",class:"bullet-points",theme:"dark"===this.theme?"dark":"light"},s.map((e=>t("p",null,e))))))),a&&f&&t("div",{key:"3b4c63dbe1819a138d70aacf73fad96d9fa2c7c2",class:"tet-business-compare-card__price-wrapper"},r&&t("div",{key:"3f99c19e63f8302f035c5e722ee602850cd6705e",class:"tet-business-compare-card__price"},t("span",{key:"87a1572df3145b3117853c362c1c96b16e161917",class:"tet-business-compare-card__price-prefix"},r," "),a),!r&&t("div",{key:"2807cb9f8f0476b533759005f4b61e8b809caff1",class:"tet-business-compare-card__price"},a),t("div",{key:"3218fe2bb6582082f00eb9fc6c6395f088cfd4de",class:"tet-business-compare-card__price-currency"},f)),t("div",{key:"782c68a520ef3ceb032c0d1250cf6916e927c847",class:{"tet-business-compare-card__footer":!0,"tet-business-compare-card__footer--show":this.hasContentInFooter}},t("slot",{key:"f55197f556a60777396fa8308f871019a76ecad7",ref:e=>this.buttonSlotRef=e,onSlotchange:this.checkFooterSlotContent,name:"button"}),t("slot",{key:"e23ed537407e75d67b6c9cea50b321d505fda932",ref:e=>this.linkSlotRef=e,onSlotchange:this.checkFooterSlotContent,name:"link"})))}};s.style='@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-business-compare-card-background:var(--tc-layer-tertiary);--tet-business-compare-card-text-color:var(--tc-text-primary);--tet-business-compare-card-border-radius:2rem;display:flex}.tet-business-compare-card{background:var(--tet-business-compare-card-background);border-radius:var(--tet-business-compare-card-border-radius);color:var(--tet-business-compare-card-text-color);display:flex;flex-direction:column;padding:1.5rem;gap:2rem;flex:1}.tet-business-compare-card.theme-purple{--tet-business-compare-card-background:var(--tc-violet-00)}.tet-business-compare-card.theme-green{--tet-business-compare-card-background:var(--tc-green-00)}.tet-business-compare-card.theme-red{--tet-business-compare-card-background:var(--tc-red-00)}.tet-business-compare-card.theme-yellow{--tet-business-compare-card-background:var(--tc-yellow-00)}.tet-business-compare-card.theme-blue{--tet-business-compare-card-background:var(--tc-blue-00)}.tet-business-compare-card.theme-dark{--tet-business-compare-card-background:var(--tc-layer-tertiary-dark);--tet-business-compare-card-text-color:var(--tc-text-primary-dark)}.tet-business-compare-card .bullet-points{--text-list-padding-left:1rem;--text-list-gap:0.75rem}.tet-business-compare-card__body{display:flex;flex-direction:column;gap:1.5rem}.tet-business-compare-card__title h3{font:600 1.5rem/1.75rem "Gilroy", "Gilroy, Arial, sans-serif";margin:0}.tet-business-compare-card__content{display:flex;flex-direction:column;gap:1rem}.tet-business-compare-card__price{font:600 2.5rem/3rem "Gilroy", "Gilroy, Arial, sans-serif"}.tet-business-compare-card__price-wrapper{display:flex;margin-top:auto}.tet-business-compare-card__price-wrapper+.tet-business-compare-card__footer--show{margin-top:unset}.tet-business-compare-card__price-prefix{font:600 1.75rem/2rem "Gilroy", "Gilroy, Arial, sans-serif"}.tet-business-compare-card__price-currency{font:600 1.125rem/1.75rem "Inter", "Gilroy, Arial, sans-serif";padding-left:0.375rem;padding-top:1.125rem}.tet-business-compare-card__footer{align-items:flex-start;display:none;flex-direction:column;gap:1rem;margin-top:auto}.tet-business-compare-card__footer--show{display:flex}@media all and (min-width: 31.25rem){.tet-business-compare-card{padding:2rem}.tet-business-compare-card .tet-business-compare-card__title h3{font:600 1.75rem/2rem "Gilroy", "Gilroy, Arial, sans-serif"}}';export{s as tet_business_compare_card}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as o,h as e,H as i}from"./p-7c868b40.js";const r=class{constructor(e){t(this,e),this.check=o(this,"check",7),this.theme="light",this.label=void 0,this.accessibilityLabel="",this.name=void 0,this.value=0,this.disabled=!1,this.checked=!1,this.labelFont="sm",this.alignCenter=!0,this.labelPosition="right",this.focusStyleOnContainer=!1}check;async setChecked(t){this.checked=t}handleChange(t){this.check.emit({value:this.value,checked:t.target.checked})}renderSwitch(){const{theme:t,labelFont:o}=this;return e("span",{class:{switch__input:!0,[t]:!0,"switch__input--hide-focus-style":this.focusStyleOnContainer,...o?{[`switch__input--${o}`]:!0}:{}}},e("span",{class:"switch__state"}))}render(){const{label:t,name:o,theme:r,disabled:n,checked:s,accessibilityLabel:c,labelFont:a,alignCenter:l,labelPosition:f}=this;return e(i,{key:"3a1fb4aa8019be9a044feaeeba0c9e60da92ec4c"},e("div",{key:"2a6c06aacb92429d2bca1b1e93a5ed7b59448419",class:{switch:!0,[`${r}`]:!0}},e("label",{key:"b836a5ef9e6c8f353c8f4429f7bac7ba852bb9be",class:{switch__container:!0,"switch__container--align-start":!l,[`switch__container--${a}`]:!0,"switch__container--focus-style":this.focusStyleOnContainer},part:"switch-container",htmlFor:"tet-switch"},e("input",{key:"de57e231c6378ffeda5959e5e2f93d28b1332734",class:"switch__html-input",name:o,id:"tet-switch",type:"checkbox",disabled:n,checked:s,onChange:this.handleChange.bind(this),...c?{"aria-label":c}:{}}),"right"===f&&this.renderSwitch(),e("span",{key:"0e5f903b4359631631f70fa68bbf9db115289e0b",class:{switch__label:!0,..."left"===f?{"switch__label--left":!0}:{},...a?{[`switch__label--${a}`]:!0}:{}},innerHTML:t},e("slot",{key:"a25283ac1ee5092ee6c863ba03d3963fb605d80b"})),"left"===f&&this.renderSwitch())))}};r.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{--switch-justify-content:normal;--switch-flex-direction:row;--switch-gap:0.75rem;--switch-container-outline-offset:0.125rem;--switch-text-color:var(--tc-text-primary);--switch-background-color:var(--tc-toggle-button-default);--switch-checked-background-color:var(--tc-toggle-button-active-default);--switch-knob-color:var(--tc-toggle-button-ellipse-default);--switch-checked-knob-color:var(--tc-toggle-button-ellipse-default);--switch-focus-background-color:var(--switch-background-color);--switch-focus-shadow:var(--tc-toggle-button-hover-shadow-centre), var(--tc-toggle-button-hover-shadow-raised);--switch-focus-checked-shadow:var(--switch-focus-shadow);--switch-hover-background-color:var(--tc-toggle-button-hover);--switch-hover-checked-background-color:var(--tc-toggle-button-active-hover);--switch-pressed-background-color:var(--switch-background-color);--switch-pressed-checked-background-color:var(--switch-checked-background-color);--switch-disabled-background-color:var(--tc-toggle-button-disabled);--switch-disabled-checked-background-color:var(--tc-toggle-button-active-disabled);--switch-disabled-knob-color:var(--tc-toggle-button-ellipse-disabled);--switch-disabled-checked-knob-color:var(--tc-toggle-button-ellipse-disabled);--switch-disabled-text-color:var(--tc-grey-40);--switch-outline-focus-color:var(--tc-blue-40);display:block;position:relative}.switch.dark{--switch-background-color:var(--tc-toggle-button-default-dark);--switch-checked-background-color:var(--tc-toggle-button-active-default-dark);--switch-knob-color:var(--tc-toggle-button-ellipse-default-dark);--switch-checked-knob-color:var(--tc-toggle-button-ellipse-default-dark);--switch-text-color:var(--tc-text-primary-dark);--switch-hover-background-color:var(--tc-toggle-button-hover-dark);--switch-hover-checked-background-color:var(--tc-toggle-button-active-hover-dark);--switch-pressed-background-color:var(--switch-background-color);--switch-pressed-checked-background-color:var(--switch-checked-background-color);--switch-focus-background-color:var(--switch-background-color-dark);--switch-focus-shadow:var(--tc-toggle-button-hover-shadow-centre-dark), var(--tc-toggle-button-hover-shadow-raised-dark);--switch-focus-checked-shadow:var(--switch-focus-shadow);--switch-disabled-background-color:var(--tc-toggle-button-disabled-dark);--switch-disabled-checked-background-color:var(--tc-toggle-button-active-disabled-dark);--switch-disabled-knob-color:var(--tc-toggle-button-ellipse-disabled-dark);--switch-disabled-checked-knob-color:var(--tc-toggle-button-ellipse-disabled-dark);--switch-disabled-text-color:var(--tc-grey-40-dark);--switch-outline-focus-color:var(--tc-blue-40-dark)}.switch.mint{--switch-background-color:rgb(67, 75, 86);--switch-checked-background-color:rgb(31, 208, 214);--switch-knob-color:rgb(255, 255, 255);--switch-checked-knob-color:rgb(10, 11, 13);--switch-text-color:rgb(255, 255, 255);--switch-hover-background-color:rgba(255, 255, 255, 0.3);--switch-hover-checked-background-color:rgb(24, 165, 170);--switch-focus-background-color:var(--switch-background-color);--switch-focus-shadow:0 0 0 0.5rem rgba(153, 160, 174, 0.2),\n 0 0 0 0.5rem rgba(255, 255, 255, 0.24),\n 0 0.0625rem 0.0625rem rgba(10, 11, 13, 0.16),\n 0 0.1875rem 0.5rem rgba(10, 11, 13, 0.15);--switch-focus-checked-shadow:var(--switch-focus-shadow);--switch-disabled-background-color:rgb(35, 40, 46);--switch-disabled-checked-background-color:rgba(31, 208, 214, 0.32);--switch-disabled-knob-color:rgb(67, 75, 86);--switch-disabled-checked-knob-color:rgb(10, 11, 13);--switch-disabled-text-color:rgb(67, 75, 86);--switch-outline-focus-color:var(--tc-blue-40-dark)}.switch__container{display:flex;gap:var(--switch-gap);flex-direction:var(--switch-flex-direction);justify-content:var(--switch-justify-content);align-items:center;cursor:pointer;user-select:none;color:var(--switch-text-color)}.switch__container:has(.switch__html-input:disabled){cursor:auto}.switch__container--focus-style:has(.switch__html-input:focus-visible){outline:0.125rem solid var(--switch-outline-focus-color);outline-offset:var(--switch-container-outline-offset);border-radius:0.125rem}.switch__container--align-start{align-items:flex-start}.switch__container--lg-inter,.switch__container--lg-gilroy{--switch-gap:1rem}.switch__state{position:absolute;content:"";top:0;bottom:0;left:0;right:0;border-radius:5.5rem;transition:background-color 0.15s ease;background-color:var(--switch-background-color)}.switch__html-input{position:absolute;opacity:0;width:0;height:0}.switch__html-input:hover~.switch__input .switch__state{background-color:var(--switch-hover-background-color)}.switch__html-input:active~.switch__input .switch__state{background-color:var(--switch-pressed-background-color)}.switch__html-input:focus~.switch__input::after{box-shadow:var(--switch-focus-shadow)}.switch__html-input:focus-visible~.switch__input.light{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.0625rem;transition:outline 0s}.switch__html-input:focus-visible~.switch__input.dark{outline:0.125rem solid var(--tc-blue-40);outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.0625rem;transition:outline 0s}.switch__html-input:focus-visible~.switch__input.switch__input--hide-focus-style{outline:none}.switch__html-input:focus-visible~.switch__input::after{--switch-focus-shadow:none}.switch__html-input:checked~.switch__input .switch__state{background-color:var(--switch-checked-background-color)}.switch__html-input:checked~.switch__input::after{translate:1.375rem;background-color:var(--switch-checked-knob-color)}.switch__html-input:checked:hover~.switch__input .switch__state{background-color:var(--switch-hover-checked-background-color)}.switch__html-input:checked:active~.switch__input .switch__state{background-color:var(--switch-pressed-checked-background-color)}.switch__html-input:checked:focus~.switch__input::after{box-shadow:var(--switch-focus-checked-shadow)}.switch__html-input:checked:focus-visible~.switch__input::after{--switch-focus-checked-shadow:none}.switch__html-input[disabled]~.switch__input .switch__state{background-color:var(--switch-disabled-background-color)}.switch__html-input[disabled]~.switch__input::after{box-shadow:none;background:var(--switch-disabled-knob-color)}.switch__html-input[disabled]~.switch__label{color:var(--switch-disabled-text-color)}.switch__html-input[disabled]:checked~.switch__input .switch__state{background-color:var(--switch-disabled-checked-background-color)}.switch__html-input[disabled]:checked~.switch__input::after{background-color:var(--switch-disabled-checked-knob-color)}.switch__input{position:relative;width:3rem;min-width:3rem;height:1.5rem;min-height:1.5rem;border-radius:5.5rem}.switch__input::after{content:"";display:block;transition:translate 0.15s ease;position:absolute;left:0.25rem;top:0.1875rem;width:1.125rem;height:1.125rem;border-radius:100%;box-shadow:0 0.0625rem 0.0625rem rgba(0, 0, 0, 0.16), 0 0.1875rem 0.5rem rgba(0, 0, 0, 0.15);background-color:var(--switch-knob-color)}.switch__label--sm{font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";line-height:1.5rem}.switch__label--md{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.switch__label--lg-inter{font:500 1.25rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.switch__label--lg-gilroy{font:600 1.25rem/1.5rem "Gilroy", "Gilroy, Arial, sans-serif"}.switch__label--left{text-align:right}';export{r as tet_switch}
|
|
1
|
+
import{r as t,c as o,h as e,H as i}from"./p-83f43fdd.js";const r=class{constructor(e){t(this,e),this.check=o(this,"check",7),this.theme="light",this.label=void 0,this.accessibilityLabel="",this.name=void 0,this.value=0,this.disabled=!1,this.checked=!1,this.labelFont="sm",this.alignCenter=!0,this.labelPosition="right",this.focusStyleOnContainer=!1}check;async setChecked(t){this.checked=t}handleChange(t){this.check.emit({value:this.value,checked:t.target.checked})}renderSwitch(){const{theme:t,labelFont:o}=this;return e("span",{class:{switch__input:!0,[t]:!0,"switch__input--hide-focus-style":this.focusStyleOnContainer,...o?{[`switch__input--${o}`]:!0}:{}}},e("span",{class:"switch__state"}))}render(){const{label:t,name:o,theme:r,disabled:n,checked:s,accessibilityLabel:c,labelFont:a,alignCenter:l,labelPosition:f}=this;return e(i,{key:"3a1fb4aa8019be9a044feaeeba0c9e60da92ec4c"},e("div",{key:"2a6c06aacb92429d2bca1b1e93a5ed7b59448419",class:{switch:!0,[`${r}`]:!0}},e("label",{key:"b836a5ef9e6c8f353c8f4429f7bac7ba852bb9be",class:{switch__container:!0,"switch__container--align-start":!l,[`switch__container--${a}`]:!0,"switch__container--focus-style":this.focusStyleOnContainer},part:"switch-container",htmlFor:"tet-switch"},e("input",{key:"de57e231c6378ffeda5959e5e2f93d28b1332734",class:"switch__html-input",name:o,id:"tet-switch",type:"checkbox",disabled:n,checked:s,onChange:this.handleChange.bind(this),...c?{"aria-label":c}:{}}),"right"===f&&this.renderSwitch(),e("span",{key:"0e5f903b4359631631f70fa68bbf9db115289e0b",class:{switch__label:!0,..."left"===f?{"switch__label--left":!0}:{},...a?{[`switch__label--${a}`]:!0}:{}},innerHTML:t},e("slot",{key:"a25283ac1ee5092ee6c863ba03d3963fb605d80b"})),"left"===f&&this.renderSwitch())))}};r.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{--switch-justify-content:normal;--switch-flex-direction:row;--switch-gap:0.75rem;--switch-container-outline-offset:0.125rem;--switch-text-color:var(--tc-text-primary);--switch-background-color:var(--tc-toggle-button-default);--switch-checked-background-color:var(--tc-toggle-button-active-default);--switch-knob-color:var(--tc-toggle-button-ellipse-default);--switch-checked-knob-color:var(--tc-toggle-button-ellipse-default);--switch-focus-background-color:var(--switch-background-color);--switch-focus-shadow:var(--tc-toggle-button-hover-shadow-centre), var(--tc-toggle-button-hover-shadow-raised);--switch-focus-checked-shadow:var(--switch-focus-shadow);--switch-hover-background-color:var(--tc-toggle-button-hover);--switch-hover-checked-background-color:var(--tc-toggle-button-active-hover);--switch-pressed-background-color:var(--switch-background-color);--switch-pressed-checked-background-color:var(--switch-checked-background-color);--switch-disabled-background-color:var(--tc-toggle-button-disabled);--switch-disabled-checked-background-color:var(--tc-toggle-button-active-disabled);--switch-disabled-knob-color:var(--tc-toggle-button-ellipse-disabled);--switch-disabled-checked-knob-color:var(--tc-toggle-button-ellipse-disabled);--switch-disabled-text-color:var(--tc-grey-40);--switch-outline-focus-color:var(--tc-blue-40);display:block;position:relative}.switch.dark{--switch-background-color:var(--tc-toggle-button-default-dark);--switch-checked-background-color:var(--tc-toggle-button-active-default-dark);--switch-knob-color:var(--tc-toggle-button-ellipse-default-dark);--switch-checked-knob-color:var(--tc-toggle-button-ellipse-default-dark);--switch-text-color:var(--tc-text-primary-dark);--switch-hover-background-color:var(--tc-toggle-button-hover-dark);--switch-hover-checked-background-color:var(--tc-toggle-button-active-hover-dark);--switch-pressed-background-color:var(--switch-background-color);--switch-pressed-checked-background-color:var(--switch-checked-background-color);--switch-focus-background-color:var(--switch-background-color-dark);--switch-focus-shadow:var(--tc-toggle-button-hover-shadow-centre-dark), var(--tc-toggle-button-hover-shadow-raised-dark);--switch-focus-checked-shadow:var(--switch-focus-shadow);--switch-disabled-background-color:var(--tc-toggle-button-disabled-dark);--switch-disabled-checked-background-color:var(--tc-toggle-button-active-disabled-dark);--switch-disabled-knob-color:var(--tc-toggle-button-ellipse-disabled-dark);--switch-disabled-checked-knob-color:var(--tc-toggle-button-ellipse-disabled-dark);--switch-disabled-text-color:var(--tc-grey-40-dark);--switch-outline-focus-color:var(--tc-blue-40-dark)}.switch.mint{--switch-background-color:rgb(67, 75, 86);--switch-checked-background-color:rgb(31, 208, 214);--switch-knob-color:rgb(255, 255, 255);--switch-checked-knob-color:rgb(10, 11, 13);--switch-text-color:rgb(255, 255, 255);--switch-hover-background-color:rgba(255, 255, 255, 0.3);--switch-hover-checked-background-color:rgb(24, 165, 170);--switch-focus-background-color:var(--switch-background-color);--switch-focus-shadow:0 0 0 0.5rem rgba(153, 160, 174, 0.2),\n 0 0 0 0.5rem rgba(255, 255, 255, 0.24),\n 0 0.0625rem 0.0625rem rgba(10, 11, 13, 0.16),\n 0 0.1875rem 0.5rem rgba(10, 11, 13, 0.15);--switch-focus-checked-shadow:var(--switch-focus-shadow);--switch-disabled-background-color:rgb(35, 40, 46);--switch-disabled-checked-background-color:rgba(31, 208, 214, 0.32);--switch-disabled-knob-color:rgb(67, 75, 86);--switch-disabled-checked-knob-color:rgb(10, 11, 13);--switch-disabled-text-color:rgb(67, 75, 86);--switch-outline-focus-color:var(--tc-blue-40-dark)}.switch__container{display:flex;gap:var(--switch-gap);flex-direction:var(--switch-flex-direction);justify-content:var(--switch-justify-content);align-items:center;cursor:pointer;user-select:none;color:var(--switch-text-color)}.switch__container:has(.switch__html-input:disabled){cursor:auto}.switch__container--focus-style:has(.switch__html-input:focus-visible){outline:0.125rem solid var(--switch-outline-focus-color);outline-offset:var(--switch-container-outline-offset);border-radius:0.125rem}.switch__container--align-start{align-items:flex-start}.switch__container--lg-inter,.switch__container--lg-gilroy{--switch-gap:1rem}.switch__state{position:absolute;content:"";top:0;bottom:0;left:0;right:0;border-radius:5.5rem;transition:background-color 0.15s ease;background-color:var(--switch-background-color)}.switch__html-input{position:absolute;opacity:0;width:0;height:0}.switch__html-input:hover~.switch__input .switch__state{background-color:var(--switch-hover-background-color)}.switch__html-input:active~.switch__input .switch__state{background-color:var(--switch-pressed-background-color)}.switch__html-input:focus~.switch__input::after{box-shadow:var(--switch-focus-shadow)}.switch__html-input:focus-visible~.switch__input.light{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.0625rem;transition:outline 0s}.switch__html-input:focus-visible~.switch__input.dark{outline:0.125rem solid var(--tc-blue-40);outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.0625rem;transition:outline 0s}.switch__html-input:focus-visible~.switch__input.switch__input--hide-focus-style{outline:none}.switch__html-input:focus-visible~.switch__input::after{--switch-focus-shadow:none}.switch__html-input:checked~.switch__input .switch__state{background-color:var(--switch-checked-background-color)}.switch__html-input:checked~.switch__input::after{translate:1.375rem;background-color:var(--switch-checked-knob-color)}.switch__html-input:checked:hover~.switch__input .switch__state{background-color:var(--switch-hover-checked-background-color)}.switch__html-input:checked:active~.switch__input .switch__state{background-color:var(--switch-pressed-checked-background-color)}.switch__html-input:checked:focus~.switch__input::after{box-shadow:var(--switch-focus-checked-shadow)}.switch__html-input:checked:focus-visible~.switch__input::after{--switch-focus-checked-shadow:none}.switch__html-input[disabled]~.switch__input .switch__state{background-color:var(--switch-disabled-background-color)}.switch__html-input[disabled]~.switch__input::after{box-shadow:none;background:var(--switch-disabled-knob-color)}.switch__html-input[disabled]~.switch__label{color:var(--switch-disabled-text-color)}.switch__html-input[disabled]:checked~.switch__input .switch__state{background-color:var(--switch-disabled-checked-background-color)}.switch__html-input[disabled]:checked~.switch__input::after{background-color:var(--switch-disabled-checked-knob-color)}.switch__input{position:relative;width:3rem;min-width:3rem;height:1.5rem;min-height:1.5rem;border-radius:5.5rem}.switch__input::after{content:"";display:block;transition:translate 0.15s ease;position:absolute;left:0.25rem;top:0.1875rem;width:1.125rem;height:1.125rem;border-radius:100%;box-shadow:0 0.0625rem 0.0625rem rgba(0, 0, 0, 0.16), 0 0.1875rem 0.5rem rgba(0, 0, 0, 0.15);background-color:var(--switch-knob-color)}.switch__label--sm{font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";line-height:1.5rem}.switch__label--md{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.switch__label--lg-inter{font:500 1.25rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.switch__label--lg-gilroy{font:600 1.25rem/1.5rem "Gilroy", "Gilroy, Arial, sans-serif"}.switch__label--left{text-align:right}';export{r as tet_switch}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as t}from"./p-
|
|
1
|
+
import{r as o,h as t}from"./p-83f43fdd.js";const f=class{constructor(t){o(this,t),this.variant="attention",this.theme="light"}iconMapping={attention:"attention",info:"info-circle",danger:"close-circle",success:"check-circle"};render(){return t("div",{key:"50546c6dad91114be7af64d9b910c1a73f99d44d",class:{container:!0,[this.theme]:!0,[this.variant]:!0}},t("tet-icon",{key:"dd1f03de15f92020d1e070cb8d4d5c57665cf760",class:"container__icon",name:this.iconMapping[this.variant]}),t("div",{key:"0c8506144bbb595b62c4b355b2a0cb7f0e2c9ebb",class:"content"},t("slot",{key:"1c6c2efa6df2bc8dc9ad33382d25bcee28b8e362",name:"title"})," ",t("slot",{key:"299638b4761bb22de8bfca6740efa4857a4ff8fa",name:"description"})))}};f.style='@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{--inline-message-color:var(--tc-text-primary);--inline-message-padding:0.75rem 0;--inline-message-border-top:none;--inline-message-border-bottom-default:0.03125rem solid var(--tc-border-tertiary);--inline-message-border-bottom:var(--inline-message-border-bottom-default);display:block}.container{display:flex;align-items:baseline;gap:0.5rem;padding:var(--inline-message-padding);border-top:var(--inline-message-border-top);border-bottom:var(--inline-message-border-bottom);color:var(--inline-message-color)}.container.dark{--inline-message-color:var(--tc-text-primary-dark);--inline-message-border-bottom-default:0.03125rem solid var(--tc-border-tertiary-dark)}.container.attention .container__icon{--icon-color:var(--tc-alert-accent-warning)}.container.attention.dark .container__icon{--icon-color:var(--tc-alert-accent-warning-dark)}.container.info .container__icon{--icon-color:var(--tc-alert-accent-info)}.container.info.dark .container__icon{--icon-color:var(--tc-alert-accent-info-dark)}.container.success .container__icon{--icon-color:var(--tc-alert-accent-success)}.container.success.dark .container__icon{--icon-color:var(--tc-alert-accent-success-dark)}.container.danger .container__icon{--icon-color:var(--tc-alert-accent-error)}.container.danger.dark .container__icon{--icon-color:var(--tc-alert-accent-error-dark)}::slotted([slot=title]){font:600 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif"}::slotted([slot=description]){font:400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif"}.content{position:relative;max-width:32.5rem;top:0.125rem}';export{f as tet_inline_message}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t,h as n,H as e}from"./p-7c868b40.js";const i=class{constructor(n){o(this,n),this.mainDropdownToggle=t(this,"mainDropdownToggle",7),this.darkMode=!1,this.isTogglerExpanded=!1,this.isTogglerVisible=!0}onTogglerClick=()=>{this.isTogglerExpanded=!this.isTogglerExpanded};handleKeyDown=o=>{["Enter"," "].includes(o.key)&&this.onTogglerClick()};async showToggler(){this.isTogglerVisible=!0}async hideToggler(){this.isTogglerVisible=!1,this.isTogglerExpanded=!1}async open(){this.isTogglerExpanded=!0}async close(){this.isTogglerExpanded=!1}mainDropdownToggle;onMenuToggle(o){this.mainDropdownToggle.emit(o)}render(){return n(e,{key:"162ebe378645ffdb47a43120eae5897d710cd934"},n("navigation",{key:"120b65bdc0844c18db43d49657d52671063c1072",class:{navigation:!0,"navigation--dark":this.darkMode}},n("div",{key:"7a7eef14cd4c7587229d05e28791e71b01962baf",class:"navigation__nav-bar"},n("slot",{key:"c36fe832c53e0c37d599611e2c47a7639d236165"})),this.isTogglerVisible&&n("span",{key:"fcec1e746f5f733042e9bba8ff8a4a55f5d36b4f",class:"navigation__toggler",onClick:this.onTogglerClick,onKeyDown:o=>this.handleKeyDown(o),tabIndex:0},n("tet-icon",{key:"6b1eda748e01bb7c890d942d8cb732985eb983f0",theme:this.darkMode?"dark":"light",name:this.isTogglerExpanded?"close":"burger"})),n("div",{key:"9541e3f3dce03f168b281500d3c340117cbb4b29",class:{navigation__dropdown:!0,"navigation__dropdown--expanded":this.isTogglerExpanded},inert:!this.isTogglerExpanded},n("slot",{key:"15b849b825fa8bb7baf108eb86c3e9ea07874aba",name:"dropdown"}))))}static get watchers(){return{isTogglerExpanded:["onMenuToggle"]}}};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{--navigation-height:4rem;--navigation-padding:0 2rem;--navigation-mobile-padding:0 1rem;--navigation-background-color:var(--tc-layer-primary);--navigation-border-bottom-color:var(--tc-border-quaternary);--navigation-dropdown-padding:0 1rem;--navigation-focus-outline-color:var(--tc-blue-40);display:block;width:100%;position:relative}.navigation{height:var(--navigation-height);width:100%;display:flex;background-color:var(--navigation-background-color);border-bottom:0.0625rem solid var(--navigation-border-bottom-color);box-sizing:border-box;padding:var(--navigation-padding)}.navigation--dark{--navigation-background-color:var(--tc-layer-primary-dark);--navigation-border-bottom-color:var(--tc-border-quaternary-dark);--navigation-focus-outline-color:var(--tc-blue-40-dark)}@media screen and (max-width: 46.25rem){.navigation{padding:var(--navigation-mobile-padding)}}.navigation__nav-bar{display:flex;flex:1}.navigation__toggler{--icon-size:1.5rem;align-self:center;cursor:pointer;padding:0.375rem}.navigation__toggler:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s;border-radius:0.125rem}.navigation__dropdown{background-color:var(--navigation-background-color);height:0;opacity:0;padding:var(--navigation-dropdown-padding);pointer-events:none;position:absolute;right:0;top:var(--navigation-height);width:100%}.navigation__dropdown--expanded{height:calc(100vh - var(--navigation-height));opacity:1;pointer-events:all;overflow-y:auto}';export{i as tet_navigation_mobile}
|
|
1
|
+
import{r as o,c as t,h as n,H as e}from"./p-83f43fdd.js";const i=class{constructor(n){o(this,n),this.mainDropdownToggle=t(this,"mainDropdownToggle",7),this.darkMode=!1,this.isTogglerExpanded=!1,this.isTogglerVisible=!0}onTogglerClick=()=>{this.isTogglerExpanded=!this.isTogglerExpanded};handleKeyDown=o=>{["Enter"," "].includes(o.key)&&this.onTogglerClick()};async showToggler(){this.isTogglerVisible=!0}async hideToggler(){this.isTogglerVisible=!1,this.isTogglerExpanded=!1}async open(){this.isTogglerExpanded=!0}async close(){this.isTogglerExpanded=!1}mainDropdownToggle;onMenuToggle(o){this.mainDropdownToggle.emit(o)}render(){return n(e,{key:"162ebe378645ffdb47a43120eae5897d710cd934"},n("navigation",{key:"120b65bdc0844c18db43d49657d52671063c1072",class:{navigation:!0,"navigation--dark":this.darkMode}},n("div",{key:"7a7eef14cd4c7587229d05e28791e71b01962baf",class:"navigation__nav-bar"},n("slot",{key:"c36fe832c53e0c37d599611e2c47a7639d236165"})),this.isTogglerVisible&&n("span",{key:"fcec1e746f5f733042e9bba8ff8a4a55f5d36b4f",class:"navigation__toggler",onClick:this.onTogglerClick,onKeyDown:o=>this.handleKeyDown(o),tabIndex:0},n("tet-icon",{key:"6b1eda748e01bb7c890d942d8cb732985eb983f0",theme:this.darkMode?"dark":"light",name:this.isTogglerExpanded?"close":"burger"})),n("div",{key:"9541e3f3dce03f168b281500d3c340117cbb4b29",class:{navigation__dropdown:!0,"navigation__dropdown--expanded":this.isTogglerExpanded},inert:!this.isTogglerExpanded},n("slot",{key:"15b849b825fa8bb7baf108eb86c3e9ea07874aba",name:"dropdown"}))))}static get watchers(){return{isTogglerExpanded:["onMenuToggle"]}}};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{--navigation-height:4rem;--navigation-padding:0 2rem;--navigation-mobile-padding:0 1rem;--navigation-background-color:var(--tc-layer-primary);--navigation-border-bottom-color:var(--tc-border-quaternary);--navigation-dropdown-padding:0 1rem;--navigation-focus-outline-color:var(--tc-blue-40);display:block;width:100%;position:relative}.navigation{height:var(--navigation-height);width:100%;display:flex;background-color:var(--navigation-background-color);border-bottom:0.0625rem solid var(--navigation-border-bottom-color);box-sizing:border-box;padding:var(--navigation-padding)}.navigation--dark{--navigation-background-color:var(--tc-layer-primary-dark);--navigation-border-bottom-color:var(--tc-border-quaternary-dark);--navigation-focus-outline-color:var(--tc-blue-40-dark)}@media screen and (max-width: 46.25rem){.navigation{padding:var(--navigation-mobile-padding)}}.navigation__nav-bar{display:flex;flex:1}.navigation__toggler{--icon-size:1.5rem;align-self:center;cursor:pointer;padding:0.375rem}.navigation__toggler:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s;border-radius:0.125rem}.navigation__dropdown{background-color:var(--navigation-background-color);height:0;opacity:0;padding:var(--navigation-dropdown-padding);pointer-events:none;position:absolute;right:0;top:var(--navigation-height);width:100%}.navigation__dropdown--expanded{height:calc(100vh - var(--navigation-height));opacity:1;pointer-events:all;overflow-y:auto}';export{i as tet_navigation_mobile}
|