@baloise/ds-core 17.3.0 → 17.4.0-snapshot.1609-d2bcc38d3
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/components/all.d.ts +2 -0
- package/components/all.js +3 -0
- package/components/aria.js +6 -1
- package/components/attributes.js +1 -0
- package/components/bal-accordion-details.js +1 -1
- package/components/bal-accordion-summary.js +1 -1
- package/components/bal-accordion-trigger.js +67 -2
- package/components/bal-app.js +1 -93
- package/components/bal-app2.js +95 -0
- package/components/bal-badge2.js +1 -1
- package/components/bal-button-group2.js +2 -2
- package/components/bal-button2.js +13 -2
- package/components/bal-card-actions.js +1 -1
- package/components/bal-card-button.js +1 -1
- package/components/bal-card-content2.js +1 -1
- package/components/bal-card-subtitle.js +1 -1
- package/components/bal-card-title.js +1 -1
- package/components/bal-card2.js +2 -2
- package/components/bal-carousel.js +12 -4
- package/components/bal-checkbox-button.js +1 -1
- package/components/bal-checkbox-group.js +2 -1
- package/components/bal-checkbox2.js +2 -2
- package/components/bal-close2.js +2 -2
- package/components/bal-content2.js +1 -1
- package/components/bal-data-item.js +1 -1
- package/components/bal-data-label.js +1 -1
- package/components/bal-data-value.js +1 -1
- package/components/bal-data.js +1 -1
- package/components/bal-date-calendar-cell2.js +2 -1
- package/components/bal-date-calendar2.js +2 -2
- package/components/bal-date.js +2 -1
- package/components/bal-divider.js +1 -1
- package/components/bal-doc-app.d.ts +11 -0
- package/components/bal-doc-app.js +262 -0
- package/components/bal-dropdown.js +4 -4
- package/components/bal-field-control.js +2 -2
- package/components/bal-field-hint.js +1 -1
- package/components/bal-field-label.js +1 -1
- package/components/bal-field-message.js +2 -2
- package/components/bal-field.js +4 -4
- package/components/bal-file-upload.js +5 -4
- package/components/bal-footer.js +6 -12
- package/components/bal-form-col.js +2 -2
- package/components/bal-form-grid.js +2 -2
- package/components/bal-form.js +1 -1
- package/components/bal-heading2.js +1 -1
- package/components/bal-hint-text2.js +1 -1
- package/components/bal-hint-title2.js +1 -1
- package/components/bal-icon2.js +3 -2
- package/components/bal-input-date2.js +3 -2
- package/components/bal-input-group2.js +1 -1
- package/components/bal-input-slider.js +4 -3
- package/components/bal-input-stepper.js +4 -3
- package/components/bal-input.js +3 -2
- package/components/bal-label2.js +1 -1
- package/components/bal-list-item-accordion-body2.js +30 -8
- package/components/bal-list-item-accordion-head2.js +106 -3
- package/components/bal-list-item-content2.js +2 -2
- package/components/bal-list-item-icon2.js +2 -2
- package/components/bal-list-item-subtitle2.js +1 -1
- package/components/bal-list-item-title2.js +1 -1
- package/components/bal-list2.js +1 -1
- package/components/bal-modal-body.js +1 -1
- package/components/bal-modal-header.js +1 -1
- package/components/bal-modal.js +9 -7
- package/components/bal-nav-link-grid-col2.js +1 -1
- package/components/bal-nav-link-grid2.js +1 -1
- package/components/bal-nav-link-group.js +1 -1
- package/components/bal-nav-link2.js +2 -2
- package/components/bal-nav-menu-bar2.js +1 -1
- package/components/bal-nav-menu-flyout2.js +1 -1
- package/components/bal-nav-meta-bar2.js +1 -1
- package/components/bal-nav.js +8 -8
- package/components/bal-navbar-brand.js +58 -2
- package/components/bal-navbar-menu-end.js +1 -1
- package/components/bal-navbar-menu-start.js +1 -1
- package/components/bal-navbar-menu.js +1 -1
- package/components/bal-navbar.js +1 -1
- package/components/bal-notices.js +1 -1
- package/components/bal-notification.js +1 -1
- package/components/bal-number-input.js +8 -6
- package/components/bal-option-list.js +2 -1
- package/components/bal-option.js +1 -1
- package/components/bal-pagination.js +4 -4
- package/components/bal-popover-content2.js +1 -1
- package/components/bal-popover2.js +3 -2
- package/components/bal-popup.js +1 -1
- package/components/bal-progress-bar.js +1 -1
- package/components/bal-radio-button.js +1 -1
- package/components/bal-radio-group.js +2 -1
- package/components/bal-radio2.js +3 -2
- package/components/bal-segment-item.js +1 -1
- package/components/bal-segment.js +1 -1
- package/components/bal-select-option2.js +1 -1
- package/components/bal-select2.js +6 -5
- package/components/bal-shape2.js +4 -4
- package/components/bal-sheet.js +1 -1
- package/components/bal-snackbar.js +1 -1
- package/components/bal-spinner2.js +1 -1
- package/components/bal-stack2.js +1 -1
- package/components/bal-stage-back-link.js +2 -2
- package/components/bal-stage-body.js +1 -1
- package/components/bal-stage-foot.js +1 -1
- package/components/bal-stage-head.js +1 -1
- package/components/bal-stage-image.js +1 -1
- package/components/bal-stage.js +1 -1
- package/components/bal-step-item.js +2 -2
- package/components/bal-steps.js +1 -1
- package/components/bal-tab-item.js +2 -2
- package/components/bal-table.js +1 -1
- package/components/bal-tabs2.js +6 -5
- package/components/bal-tag-group.js +1 -1
- package/components/bal-tag2.js +2 -1
- package/components/bal-text2.js +2 -2
- package/components/bal-textarea.js +2 -1
- package/components/bal-time-input.js +3 -2
- package/components/bal-toast.js +1 -1
- package/components/bal-tooltip.js +1 -1
- package/components/floating-ui.dom.esm.js +205 -77
- package/components/form.js +2 -2
- package/components/index.js +7 -314
- package/components/initialize.js +312 -0
- package/components/overlays.js +285 -1
- package/components/swiper.util.js +8 -3
- package/components/tokens.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.js +1 -1
- package/dist/baloise-design-system/index.esm.js +1 -1
- package/dist/baloise-design-system/p-0242cdf474.entry.js +1 -0
- package/dist/baloise-design-system/p-055ec952e0.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-3f88c54b.js → p-070b692d.js} +1 -1
- package/dist/baloise-design-system/p-07bae1fdcc.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0a00140ece.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0b6380a77a.entry.js +1 -0
- package/dist/baloise-design-system/p-0d5459caac.system.entry.js +1 -0
- package/dist/baloise-design-system/p-10ff0eaf.js +1 -0
- package/dist/baloise-design-system/p-111d37ae18.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-516488d5fc.system.entry.js → p-12af198b96.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f80438cdac.entry.js → p-12db0c3477.entry.js} +1 -1
- package/dist/baloise-design-system/{p-35baa468.js → p-13d7688b.js} +1 -1
- package/dist/baloise-design-system/{p-95bf3ca0ae.entry.js → p-187e7da1ed.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3664ca2ce5.system.entry.js → p-18820ca258.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-1c8e64e58b.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-7042d9e34c.system.entry.js → p-208bd3127d.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c1ca39528d.entry.js → p-2697b88cca.entry.js} +1 -1
- package/dist/baloise-design-system/p-2724ad9065.entry.js +1 -0
- package/dist/baloise-design-system/p-273fb2c2.system.js +1 -1
- package/dist/baloise-design-system/p-279428d318.entry.js +1 -0
- package/dist/baloise-design-system/p-2d98519440.system.entry.js +1 -0
- package/dist/baloise-design-system/p-2da669b4.system.js +1 -0
- package/dist/baloise-design-system/{p-66f6b46fd4.system.entry.js → p-3114657eb7.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-312a3215.js +1 -0
- package/dist/baloise-design-system/p-31c7ac3a.system.js +1 -0
- package/dist/baloise-design-system/p-341c9b6c63.entry.js +1 -0
- package/dist/baloise-design-system/{p-06e89742d9.system.entry.js → p-34a93475db.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a5964c8a.system.js → p-363254ce.system.js} +1 -1
- package/dist/baloise-design-system/p-36c4bd2450.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-e7c9357245.entry.js → p-374e5904fa.entry.js} +1 -1
- package/dist/baloise-design-system/p-3ae755102b.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-34ca390a2c.system.entry.js → p-3bcfc7b117.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-92e27ad87b.entry.js → p-3c447e2884.entry.js} +1 -1
- package/dist/baloise-design-system/p-3cb3bf6ca0.system.entry.js +1 -0
- package/dist/baloise-design-system/p-3d5fac87cb.entry.js +1 -0
- package/dist/baloise-design-system/p-3f559c384a.system.entry.js +1 -0
- package/dist/baloise-design-system/p-426219f4.js +1 -0
- package/dist/baloise-design-system/p-43174c7095.entry.js +1 -0
- package/dist/baloise-design-system/p-4440f31c6b.system.entry.js +1 -0
- package/dist/baloise-design-system/p-44539ccf68.entry.js +1 -0
- package/dist/baloise-design-system/{p-7ced24b550.system.entry.js → p-447acd07e7.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2f23758d56.entry.js → p-447bb8d6ce.entry.js} +1 -1
- package/dist/baloise-design-system/p-462f564b70.entry.js +1 -0
- package/dist/baloise-design-system/{p-596000a871.entry.js → p-469a18b468.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c6f86d0612.entry.js → p-48809a4768.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1e7d65ac70.entry.js → p-4affef9b9b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8594937575.entry.js → p-4d9a45256c.entry.js} +1 -1
- package/dist/baloise-design-system/{p-71eb478cc0.system.entry.js → p-4dc30ed346.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-50a49c0e5c.system.entry.js +1 -0
- package/dist/baloise-design-system/p-50f3b012.js +1 -0
- package/dist/baloise-design-system/p-525a4b8a95.entry.js +1 -0
- package/dist/baloise-design-system/{p-649e542e.system.js → p-540bfa19.system.js} +1 -1
- package/dist/baloise-design-system/{p-1b5f932fe9.system.entry.js → p-5514228033.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-55fc8522eb.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-1c08d81e34.entry.js → p-56021799ec.entry.js} +1 -1
- package/dist/baloise-design-system/p-570a1d673a.entry.js +1 -0
- package/dist/baloise-design-system/p-5776d1fde6.entry.js +1 -0
- package/dist/baloise-design-system/p-5821d4bbb2.system.entry.js +1 -0
- package/dist/baloise-design-system/p-59d9918c.system.js +1 -0
- package/dist/baloise-design-system/p-5d6f66047b.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-f385e205.js → p-5eb3fbb9.js} +1 -1
- package/dist/baloise-design-system/p-6079fa35e4.system.entry.js +1 -0
- package/dist/baloise-design-system/p-649eedce8a.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-2b4970ea09.system.entry.js → p-6b14f26a4d.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4a746f645b.entry.js → p-6e37071912.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e034c068.system.js → p-6e4a8fa7.system.js} +1 -1
- package/dist/baloise-design-system/{p-62f6d6e101.system.entry.js → p-6ee0ee61c1.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-dc61e01d7b.entry.js → p-71162da762.entry.js} +1 -1
- package/dist/baloise-design-system/p-73fdcff369.entry.js +1 -0
- package/dist/baloise-design-system/{p-6c85b9106b.entry.js → p-774cad80b8.entry.js} +1 -1
- package/dist/baloise-design-system/p-7ab2e7b846.entry.js +1 -0
- package/dist/baloise-design-system/p-7afa264997.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-270deaf56d.entry.js → p-7bd7839936.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ea27183b2a.system.entry.js → p-7c074055e7.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-715f1670d4.entry.js → p-808cc1fd05.entry.js} +1 -1
- package/dist/baloise-design-system/p-857f898475.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-48c06e18ca.system.entry.js → p-8723e490bf.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-8869d8fe38.system.entry.js +1 -0
- package/dist/baloise-design-system/p-8f2e9a7f.js +1 -0
- package/dist/baloise-design-system/{p-fbc35458.js → p-8f2ebeb2.js} +1 -1
- package/dist/baloise-design-system/{p-6e5745c8.system.js → p-907368ff.system.js} +1 -1
- package/dist/baloise-design-system/{p-a7bbafcf3c.entry.js → p-93906ca075.entry.js} +1 -1
- package/dist/baloise-design-system/p-94b7fba934.entry.js +1 -0
- package/dist/baloise-design-system/p-9727e05e.system.js +1 -0
- package/dist/baloise-design-system/p-9a1a9c980a.entry.js +1 -0
- package/dist/baloise-design-system/{p-57777973d0.entry.js → p-9b542bd976.entry.js} +1 -1
- package/dist/baloise-design-system/{p-652816cc.system.js → p-9e489928.system.js} +1 -1
- package/dist/baloise-design-system/p-9ec2c3e050.entry.js +1 -0
- package/dist/baloise-design-system/p-9fbf3690.system.js +1 -0
- package/dist/baloise-design-system/p-a576a58b09.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-d56a7e63df.system.entry.js → p-a5c70dd2dd.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-48a601d6f0.system.entry.js → p-a85fe6d188.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d96cc18c2d.system.entry.js → p-a8eef09399.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-31443ba141.entry.js → p-aa2b2147a2.entry.js} +1 -1
- package/dist/baloise-design-system/p-afca130b59.system.entry.js +1 -0
- package/dist/baloise-design-system/p-afef265b5f.entry.js +1 -0
- package/dist/baloise-design-system/p-b21f2874.system.js +1 -0
- package/dist/baloise-design-system/{p-6d51888831.entry.js → p-b2e3f97a3f.entry.js} +1 -1
- package/dist/baloise-design-system/p-b51a692e99.entry.js +1 -0
- package/dist/baloise-design-system/p-b721864305.entry.js +1 -0
- package/dist/baloise-design-system/p-b726b9f4c9.entry.js +1 -0
- package/dist/baloise-design-system/p-bb308299af.entry.js +1 -0
- package/dist/baloise-design-system/{p-84a762f80d.entry.js → p-be02300bdd.entry.js} +1 -1
- package/dist/baloise-design-system/p-bf200caec0.entry.js +1 -0
- package/dist/baloise-design-system/p-c017695c41.entry.js +1 -0
- package/dist/baloise-design-system/p-c0461c69d6.entry.js +1 -0
- package/dist/baloise-design-system/p-c08cbae3ec.system.entry.js +1 -0
- package/dist/baloise-design-system/p-c0eefa4060.entry.js +1 -0
- package/dist/baloise-design-system/{p-e4c30a31a7.system.entry.js → p-c22c22090f.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-c641bed817.entry.js +1 -0
- package/dist/baloise-design-system/p-c991d944.js +1 -1
- package/dist/baloise-design-system/{p-eaadfca758.entry.js → p-c9c007a260.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8f1c2e77b6.entry.js → p-cca78c7a8e.entry.js} +1 -1
- package/dist/baloise-design-system/{p-dacc50ec18.entry.js → p-cf570c9464.entry.js} +1 -1
- package/dist/baloise-design-system/{p-54166d49.system.js → p-d5cb701b.system.js} +1 -1
- package/dist/baloise-design-system/{p-ce1ce7d198.system.entry.js → p-db9b4e132d.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-63b89f722f.system.entry.js → p-db9f48c0d5.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9ba757663f.system.entry.js → p-dcb77164fc.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-deaa160f21.system.entry.js +1 -0
- package/dist/baloise-design-system/p-e0a3b80c8c.system.entry.js +1 -0
- package/dist/baloise-design-system/p-e0b6c2eaf9.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-fbc010987b.system.entry.js → p-e0c8d647b3.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-e48a46d6d7.entry.js +1 -0
- package/dist/baloise-design-system/p-e4b50159.js +1 -0
- package/dist/baloise-design-system/{p-594112b9e7.system.entry.js → p-e4ff14c5bf.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-e562e98c7e.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-1e726ce985.system.entry.js → p-e6196821f7.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-aa125ebac6.system.entry.js → p-e63b388285.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-975634d334.system.entry.js → p-ebae74f9d4.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-ec5776f5.js +1 -0
- package/dist/baloise-design-system/{p-aa101747b4.system.entry.js → p-eeb954c6bc.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-f1849ab83d.entry.js +1 -0
- package/dist/baloise-design-system/p-f285a977e8.entry.js +1 -0
- package/dist/baloise-design-system/p-f4641c6a16.entry.js +1 -0
- package/dist/baloise-design-system/p-f55c127cb5.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-5c0ac570ac.entry.js → p-f669df60fb.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8d1dc2f0d6.system.entry.js → p-f6f93e74c1.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9438e5c989.entry.js → p-f7e9758f60.entry.js} +1 -1
- package/dist/baloise-design-system/{p-195ee683.system.js → p-fa246bef.system.js} +1 -1
- package/dist/baloise-design-system/{p-717d8ea880.entry.js → p-fca0dcccde.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5d0768fd46.system.entry.js → p-fe6d53dfdf.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-245629d7ca.system.entry.js → p-ff2a5eae24.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4f74bac34b.system.entry.js → p-ff31e0e340.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-ffe0476dde.entry.js +1 -0
- package/dist/cjs/app-globals-44d3a5af.js +7 -0
- package/dist/cjs/aria-7672033f.js +10 -0
- package/dist/cjs/{attributes-9f366716.js → attributes-11acd153.js} +1 -0
- package/dist/cjs/bal-accordion_4.cjs.entry.js +65 -3
- package/dist/cjs/bal-app.cjs.entry.js +2 -2
- package/dist/cjs/bal-badge.cjs.entry.js +1 -1
- package/dist/cjs/bal-button_2.cjs.entry.js +15 -5
- package/dist/cjs/bal-card_6.cjs.entry.js +7 -7
- package/dist/cjs/bal-carousel_2.cjs.entry.js +16 -10
- package/dist/cjs/bal-checkbox-button.cjs.entry.js +1 -1
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +6 -6
- package/dist/cjs/bal-close.cjs.entry.js +2 -2
- package/dist/cjs/bal-content.cjs.entry.js +1 -1
- package/dist/cjs/bal-data_4.cjs.entry.js +4 -4
- package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +2 -1
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +7 -6
- package/dist/cjs/bal-date.cjs.entry.js +5 -4
- package/dist/cjs/bal-divider.cjs.entry.js +1 -1
- package/dist/cjs/bal-doc-app.cjs.entry.js +233 -0
- package/dist/cjs/bal-dropdown.cjs.entry.js +8 -8
- package/dist/cjs/bal-field_5.cjs.entry.js +11 -11
- package/dist/cjs/bal-file-upload.cjs.entry.js +6 -5
- package/dist/cjs/bal-footer.cjs.entry.js +4 -4
- package/dist/cjs/bal-form-col_2.cjs.entry.js +4 -4
- package/dist/cjs/bal-form.cjs.entry.js +2 -2
- package/dist/cjs/bal-heading_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-hint_5.cjs.entry.js +9 -8
- package/dist/cjs/bal-icon.cjs.entry.js +3 -2
- package/dist/cjs/bal-input-group.cjs.entry.js +1 -1
- package/dist/cjs/bal-input-slider.cjs.entry.js +5 -4
- package/dist/cjs/bal-input-stepper.cjs.entry.js +6 -5
- package/dist/cjs/bal-input.cjs.entry.js +5 -4
- package/dist/cjs/bal-label.cjs.entry.js +2 -2
- package/dist/cjs/bal-list_8.cjs.entry.js +137 -19
- package/dist/cjs/bal-logo.cjs.entry.js +3 -3
- package/dist/cjs/bal-modal_3.cjs.entry.js +10 -9
- package/dist/cjs/bal-nav_8.cjs.entry.js +19 -19
- package/dist/cjs/bal-navbar_5.cjs.entry.js +61 -9
- package/dist/cjs/bal-notices_3.cjs.entry.js +3 -3
- package/dist/cjs/bal-notification.cjs.entry.js +1 -1
- package/dist/cjs/bal-number-input.cjs.entry.js +9 -7
- package/dist/cjs/bal-option_2.cjs.entry.js +5 -5
- package/dist/cjs/bal-pagination.cjs.entry.js +7 -7
- package/dist/cjs/bal-popup.cjs.entry.js +2 -2
- package/dist/cjs/bal-progress-bar.cjs.entry.js +5 -5
- package/dist/cjs/bal-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/bal-radio_2.cjs.entry.js +6 -5
- package/dist/cjs/bal-segment_2.cjs.entry.js +8 -8
- package/dist/cjs/bal-select_2.cjs.entry.js +8 -7
- package/dist/cjs/bal-shape.cjs.entry.js +5 -5
- package/dist/cjs/bal-sheet.cjs.entry.js +1 -1
- package/dist/cjs/bal-spinner.cjs.entry.js +1 -1
- package/dist/cjs/bal-stack.cjs.entry.js +1 -1
- package/dist/cjs/bal-stage_6.cjs.entry.js +8 -8
- package/dist/cjs/bal-step-item.cjs.entry.js +3 -3
- package/dist/cjs/bal-steps.cjs.entry.js +4 -4
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +13 -12
- package/dist/cjs/bal-table.cjs.entry.js +1 -1
- package/dist/cjs/bal-tag_2.cjs.entry.js +4 -3
- package/dist/cjs/bal-textarea.cjs.entry.js +4 -3
- package/dist/cjs/bal-time-input.cjs.entry.js +5 -4
- package/dist/cjs/bal-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/baloise-design-system.cjs.js +3 -2
- package/dist/cjs/{breakpoints.decorator-02f40938.js → breakpoints.decorator-f4800188.js} +1 -1
- package/dist/cjs/{breakpoints.subject-37ab025d.js → breakpoints.subject-3244205b.js} +1 -1
- package/dist/cjs/{floating-ui-3147d2ff.js → floating-ui-838f057c.js} +1 -1
- package/dist/cjs/{floating-ui.dom.esm-2ece9686.js → floating-ui.dom.esm-13e3f667.js} +205 -77
- package/dist/cjs/{form-2279fb2f.js → form-17c98ac2.js} +2 -2
- package/dist/cjs/{app-globals-fa3c14cc.js → global-872cca8d.js} +2 -4
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/initialize-3059001f.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/overlays-f6884b7e.js +367 -0
- package/dist/cjs/{swiper.util-9bad4b2d.js → swiper.util-62ca48ba.js} +8 -3
- package/dist/cjs/{tokens.esm-2b08bc6c.js → tokens.esm-b1eb9ac4.js} +1 -1
- package/dist/cjs/{window-resize.decorator-7153a9f2.js → window-resize.decorator-6133d79a.js} +1 -1
- package/dist/collection/collection-manifest.json +4 -3
- package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.js +1 -1
- package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.js +1 -1
- package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +56 -2
- package/dist/collection/components/bal-accordion/bal-accordion.i18n.js +42 -0
- package/dist/collection/components/bal-app/bal-app.js +2 -2
- package/dist/collection/components/bal-badge/bal-badge.js +1 -1
- package/dist/collection/components/bal-button/bal-button-group/bal-button-group.js +2 -2
- package/dist/collection/components/bal-button/bal-button.js +33 -3
- package/dist/collection/components/bal-card/bal-card-actions/bal-card-actions.js +1 -1
- package/dist/collection/components/bal-card/bal-card-button/bal-card-button.js +1 -1
- package/dist/collection/components/bal-card/bal-card-content/bal-card-content.js +1 -1
- package/dist/collection/components/bal-card/bal-card-subtitle/bal-card-subtitle.js +1 -1
- package/dist/collection/components/bal-card/bal-card-title/bal-card-title.js +1 -1
- package/dist/collection/components/bal-card/bal-card.js +2 -2
- package/dist/collection/components/bal-carousel/bal-carousel.css +1 -1
- package/dist/collection/components/bal-carousel/bal-carousel.js +31 -3
- package/dist/collection/components/bal-checkbox/bal-checkbox-button/bal-checkbox-button.js +1 -1
- package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +2 -1
- package/dist/collection/components/bal-checkbox/bal-checkbox.js +1 -1
- package/dist/collection/components/bal-checkbox/radio-checkbox.css +1 -1
- package/dist/collection/components/bal-close/bal-close.css +1 -1
- package/dist/collection/components/bal-close/bal-close.js +1 -1
- package/dist/collection/components/bal-content/bal-content.js +1 -1
- package/dist/collection/components/bal-data/bal-data-item/bal-data-item.js +1 -1
- package/dist/collection/components/bal-data/bal-data-label/bal-data-label.js +1 -1
- package/dist/collection/components/bal-data/bal-data-value/bal-data-value.js +1 -1
- package/dist/collection/components/bal-data/bal-data.js +1 -1
- package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.css +1 -1
- package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.js +1 -1
- package/dist/collection/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.js +2 -1
- package/dist/collection/components/bal-date/bal-date.js +2 -1
- package/dist/collection/components/bal-divider/bal-divider.js +1 -1
- package/dist/collection/components/bal-dropdown/bal-dropdown.js +2 -2
- package/dist/collection/components/bal-field/bal-field-control/bal-field-control.js +2 -2
- package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +1 -1
- package/dist/collection/components/bal-field/bal-field-label/bal-field-label.js +1 -1
- package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +2 -2
- package/dist/collection/components/bal-field/bal-field.css +1 -1
- package/dist/collection/components/bal-field/bal-field.js +3 -3
- package/dist/collection/components/bal-file-upload/bal-file-upload.js +5 -4
- package/dist/collection/components/bal-footer/bal-footer.css +1 -1
- package/dist/collection/components/bal-footer/bal-footer.js +3 -3
- package/dist/collection/components/bal-form/bal-form.js +1 -1
- package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +2 -2
- package/dist/collection/components/bal-form-grid/bal-form-grid.css +1 -1
- package/dist/collection/components/bal-form-grid/bal-form-grid.js +1 -1
- package/dist/collection/components/bal-heading/bal-heading.js +1 -1
- package/dist/collection/components/bal-hint/bal-hint-text/bal-hint-text.js +1 -1
- package/dist/collection/components/bal-hint/bal-hint-title/bal-hint-title.js +1 -1
- package/dist/collection/components/bal-icon/bal-icon.css +1 -1
- package/dist/collection/components/bal-icon/bal-icon.js +2 -1
- package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +3 -2
- package/dist/collection/components/bal-input/bal-input.js +3 -2
- package/dist/collection/components/bal-input-group/bal-input-group.js +1 -1
- package/dist/collection/components/bal-input-slider/bal-input-slider.js +4 -3
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +4 -3
- package/dist/collection/components/bal-label/bal-label.js +1 -1
- package/dist/collection/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.js +65 -7
- package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.i18n.js +42 -0
- package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.js +127 -3
- package/dist/collection/components/bal-list/bal-list-item-content/bal-list-item-content.js +2 -2
- package/dist/collection/components/bal-list/bal-list-item-icon/bal-list-item-icon.js +2 -2
- package/dist/collection/components/bal-list/bal-list-item-subtitle/bal-list-item-subtitle.js +1 -1
- package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +1 -1
- package/dist/collection/components/bal-list/bal-list.js +1 -1
- package/dist/collection/components/bal-modal/bal-modal-body/bal-modal-body.js +1 -1
- package/dist/collection/components/bal-modal/bal-modal-header/bal-modal-header.js +1 -1
- package/dist/collection/components/bal-modal/bal-modal.css +1 -1
- package/dist/collection/components/bal-modal/bal-modal.js +27 -6
- package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +2 -2
- package/dist/collection/components/bal-nav/bal-nav-link-grid/bal-nav-link-grid.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav.js +2 -2
- package/dist/collection/components/bal-nav/models/bal-nav-meta-button.js +6 -6
- package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.i18n.js +32 -0
- package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +93 -1
- package/dist/collection/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.js +1 -1
- package/dist/collection/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.js +1 -1
- package/dist/collection/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.js +1 -1
- package/dist/collection/components/bal-navbar/bal-navbar.js +1 -1
- package/dist/collection/components/bal-notices/bal-notices.js +1 -1
- package/dist/collection/components/bal-notification/bal-notification.js +1 -1
- package/dist/collection/components/bal-number-input/bal-number-input.js +10 -8
- package/dist/collection/components/bal-option/bal-option.js +1 -1
- package/dist/collection/components/bal-option-list/bal-option-list.js +2 -1
- package/dist/collection/components/bal-pagination/bal-pagination.js +4 -4
- package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +1 -1
- package/dist/collection/components/bal-popover/bal-popover.js +3 -2
- package/dist/collection/components/bal-popup/bal-popup.js +1 -1
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +1 -1
- package/dist/collection/components/bal-radio/bal-radio-button/bal-radio-button.js +1 -1
- package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +2 -1
- package/dist/collection/components/bal-radio/bal-radio.js +2 -1
- package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +1 -1
- package/dist/collection/components/bal-segment/bal-segment.js +1 -1
- package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +1 -1
- package/dist/collection/components/bal-select/bal-select.js +6 -5
- package/dist/collection/components/bal-shape/bal-shape.js +4 -4
- package/dist/collection/components/bal-sheet/bal-sheet.js +1 -1
- package/dist/collection/components/bal-snackbar/bal-snackbar.js +1 -1
- package/dist/collection/components/bal-spinner/bal-spinner.js +1 -1
- package/dist/collection/components/bal-stack/bal-stack.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +2 -2
- package/dist/collection/components/bal-stage/bal-stage-body/bal-stage-body.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage-foot/bal-stage-foot.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage-head/bal-stage-head.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage.js +1 -1
- package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +2 -2
- package/dist/collection/components/bal-steps/bal-steps.css +1 -1
- package/dist/collection/components/bal-table/bal-table.js +1 -1
- package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +2 -2
- package/dist/collection/components/bal-tabs/bal-tabs.css +1 -1
- package/dist/collection/components/bal-tabs/bal-tabs.js +2 -2
- package/dist/collection/components/bal-tabs/components/tab-button.js +3 -2
- package/dist/collection/components/bal-tag/bal-tag-group/bal-tag-group.js +1 -1
- package/dist/collection/components/bal-tag/bal-tag.js +2 -1
- package/dist/collection/components/bal-text/bal-text.js +2 -2
- package/dist/collection/components/bal-textarea/bal-textarea.js +2 -1
- package/dist/collection/components/bal-time-input/bal-time-input.css +1 -1
- package/dist/collection/components/bal-time-input/bal-time-input.js +2 -1
- package/dist/collection/components/bal-toast/bal-toast.js +1 -1
- package/dist/collection/components/bal-tooltip/bal-tooltip.js +1 -1
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +1 -0
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +247 -0
- package/dist/collection/utils/aria.js +6 -1
- package/dist/collection/utils/attributes.js +1 -0
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/dropdown/input.js +2 -2
- package/dist/collection/utils/form.js +2 -2
- package/dist/collection/utils/overlays/focus-trap.js +91 -0
- package/dist/collection/utils/overlays/overlays.js +193 -0
- package/dist/collection/utils/swiper/swiper.util.js +8 -3
- package/dist/esm/app-globals-c5ea8144.js +5 -0
- package/dist/esm/aria-ea150568.js +8 -0
- package/dist/esm/{attributes-4fa7040f.js → attributes-a3e70948.js} +1 -0
- package/dist/esm/bal-accordion_4.entry.js +65 -3
- package/dist/esm/bal-app.entry.js +2 -2
- package/dist/esm/bal-badge.entry.js +1 -1
- package/dist/esm/bal-button_2.entry.js +15 -5
- package/dist/esm/bal-card_6.entry.js +7 -7
- package/dist/esm/bal-carousel_2.entry.js +16 -10
- package/dist/esm/bal-checkbox-button.entry.js +1 -1
- package/dist/esm/bal-checkbox_2.entry.js +6 -6
- package/dist/esm/bal-close.entry.js +2 -2
- package/dist/esm/bal-content.entry.js +1 -1
- package/dist/esm/bal-data_4.entry.js +4 -4
- package/dist/esm/bal-date-calendar-cell.entry.js +2 -1
- package/dist/esm/bal-date-calendar_2.entry.js +7 -6
- package/dist/esm/bal-date.entry.js +5 -4
- package/dist/esm/bal-divider.entry.js +1 -1
- package/dist/esm/bal-doc-app.entry.js +229 -0
- package/dist/esm/bal-dropdown.entry.js +8 -8
- package/dist/esm/bal-field_5.entry.js +11 -11
- package/dist/esm/bal-file-upload.entry.js +6 -5
- package/dist/esm/bal-footer.entry.js +4 -4
- package/dist/esm/bal-form-col_2.entry.js +4 -4
- package/dist/esm/bal-form.entry.js +2 -2
- package/dist/esm/bal-heading_2.entry.js +3 -3
- package/dist/esm/bal-hint_5.entry.js +9 -8
- package/dist/esm/bal-icon.entry.js +3 -2
- package/dist/esm/bal-input-group.entry.js +1 -1
- package/dist/esm/bal-input-slider.entry.js +5 -4
- package/dist/esm/bal-input-stepper.entry.js +6 -5
- package/dist/esm/bal-input.entry.js +5 -4
- package/dist/esm/bal-label.entry.js +2 -2
- package/dist/esm/bal-list_8.entry.js +137 -19
- package/dist/esm/bal-logo.entry.js +3 -3
- package/dist/esm/bal-modal_3.entry.js +10 -9
- package/dist/esm/bal-nav_8.entry.js +19 -19
- package/dist/esm/bal-navbar_5.entry.js +61 -9
- package/dist/esm/bal-notices_3.entry.js +3 -3
- package/dist/esm/bal-notification.entry.js +1 -1
- package/dist/esm/bal-number-input.entry.js +9 -7
- package/dist/esm/bal-option_2.entry.js +5 -5
- package/dist/esm/bal-pagination.entry.js +7 -7
- package/dist/esm/bal-popup.entry.js +2 -2
- package/dist/esm/bal-progress-bar.entry.js +5 -5
- package/dist/esm/bal-radio-button.entry.js +1 -1
- package/dist/esm/bal-radio_2.entry.js +6 -5
- package/dist/esm/bal-segment_2.entry.js +8 -8
- package/dist/esm/bal-select_2.entry.js +8 -7
- package/dist/esm/bal-shape.entry.js +5 -5
- package/dist/esm/bal-sheet.entry.js +1 -1
- package/dist/esm/bal-spinner.entry.js +1 -1
- package/dist/esm/bal-stack.entry.js +1 -1
- package/dist/esm/bal-stage_6.entry.js +8 -8
- package/dist/esm/bal-step-item.entry.js +3 -3
- package/dist/esm/bal-steps.entry.js +4 -4
- package/dist/esm/bal-tab-item_2.entry.js +13 -12
- package/dist/esm/bal-table.entry.js +1 -1
- package/dist/esm/bal-tag_2.entry.js +4 -3
- package/dist/esm/bal-textarea.entry.js +4 -3
- package/dist/esm/bal-time-input.entry.js +5 -4
- package/dist/esm/bal-tooltip.entry.js +2 -2
- package/dist/esm/baloise-design-system.js +3 -2
- package/dist/esm/{breakpoints.decorator-fbc04097.js → breakpoints.decorator-43a5539d.js} +1 -1
- package/dist/esm/{breakpoints.subject-336f3c8b.js → breakpoints.subject-41117dc4.js} +1 -1
- package/dist/esm/{floating-ui-90bc6e58.js → floating-ui-d05a7ad6.js} +1 -1
- package/dist/esm/{floating-ui.dom.esm-8dcdb8d6.js → floating-ui.dom.esm-efb93616.js} +205 -77
- package/dist/esm/{form-fb8dd9f5.js → form-841232ff.js} +2 -2
- package/dist/esm/{app-globals-5b18a75c.js → global-181336dc.js} +2 -4
- package/dist/esm/index.js +5 -5
- package/dist/esm/initialize-66a526c0.js +1 -1
- package/dist/esm/loader.js +3 -2
- package/dist/esm/overlays-df27551b.js +360 -0
- package/dist/esm/{swiper.util-a4c7d0f9.js → swiper.util-9564f1e8.js} +8 -3
- package/dist/esm/{tokens.esm-d6bf7bd8.js → tokens.esm-376de6fe.js} +1 -1
- package/dist/esm/{window-resize.decorator-f894e34b.js → window-resize.decorator-66d8fd79.js} +1 -1
- package/dist/esm-es5/app-globals-c5ea8144.js +1 -0
- package/dist/esm-es5/aria-ea150568.js +1 -0
- package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
- package/dist/esm-es5/bal-app.entry.js +1 -1
- package/dist/esm-es5/bal-badge.entry.js +1 -1
- package/dist/esm-es5/bal-button_2.entry.js +1 -1
- package/dist/esm-es5/bal-card_6.entry.js +1 -1
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-checkbox-button.entry.js +1 -1
- package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/bal-close.entry.js +1 -1
- package/dist/esm-es5/bal-content.entry.js +1 -1
- package/dist/esm-es5/bal-data_4.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
- package/dist/esm-es5/bal-date.entry.js +1 -1
- package/dist/esm-es5/bal-divider.entry.js +1 -1
- package/dist/esm-es5/bal-doc-app.entry.js +1 -0
- package/dist/esm-es5/bal-dropdown.entry.js +1 -1
- package/dist/esm-es5/bal-field_5.entry.js +1 -1
- package/dist/esm-es5/bal-file-upload.entry.js +1 -1
- package/dist/esm-es5/bal-footer.entry.js +1 -1
- package/dist/esm-es5/bal-form-col_2.entry.js +1 -1
- package/dist/esm-es5/bal-form.entry.js +1 -1
- package/dist/esm-es5/bal-heading_2.entry.js +1 -1
- package/dist/esm-es5/bal-hint_5.entry.js +1 -1
- package/dist/esm-es5/bal-icon.entry.js +1 -1
- package/dist/esm-es5/bal-input-group.entry.js +1 -1
- package/dist/esm-es5/bal-input-slider.entry.js +1 -1
- package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
- package/dist/esm-es5/bal-input.entry.js +1 -1
- package/dist/esm-es5/bal-label.entry.js +1 -1
- package/dist/esm-es5/bal-list_8.entry.js +1 -1
- package/dist/esm-es5/bal-logo.entry.js +1 -1
- package/dist/esm-es5/bal-modal_3.entry.js +1 -1
- package/dist/esm-es5/bal-nav_8.entry.js +1 -1
- package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
- package/dist/esm-es5/bal-notices_3.entry.js +1 -1
- package/dist/esm-es5/bal-notification.entry.js +1 -1
- package/dist/esm-es5/bal-number-input.entry.js +1 -1
- package/dist/esm-es5/bal-option_2.entry.js +1 -1
- package/dist/esm-es5/bal-pagination.entry.js +1 -1
- package/dist/esm-es5/bal-popup.entry.js +1 -1
- package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
- package/dist/esm-es5/bal-radio-button.entry.js +1 -1
- package/dist/esm-es5/bal-radio_2.entry.js +1 -1
- package/dist/esm-es5/bal-segment_2.entry.js +1 -1
- package/dist/esm-es5/bal-select_2.entry.js +1 -1
- package/dist/esm-es5/bal-shape.entry.js +1 -1
- package/dist/esm-es5/bal-sheet.entry.js +1 -1
- package/dist/esm-es5/bal-spinner.entry.js +1 -1
- package/dist/esm-es5/bal-stack.entry.js +1 -1
- package/dist/esm-es5/bal-stage_6.entry.js +1 -1
- package/dist/esm-es5/bal-step-item.entry.js +1 -1
- package/dist/esm-es5/bal-steps.entry.js +1 -1
- package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
- package/dist/esm-es5/bal-table.entry.js +1 -1
- package/dist/esm-es5/bal-tag_2.entry.js +1 -1
- package/dist/esm-es5/bal-textarea.entry.js +1 -1
- package/dist/esm-es5/bal-time-input.entry.js +1 -1
- package/dist/esm-es5/bal-tooltip.entry.js +1 -1
- package/dist/esm-es5/baloise-design-system.js +1 -1
- package/dist/esm-es5/{breakpoints.decorator-fbc04097.js → breakpoints.decorator-43a5539d.js} +1 -1
- package/dist/esm-es5/{breakpoints.subject-336f3c8b.js → breakpoints.subject-41117dc4.js} +1 -1
- package/dist/esm-es5/{floating-ui-90bc6e58.js → floating-ui-d05a7ad6.js} +1 -1
- package/dist/esm-es5/floating-ui.dom.esm-efb93616.js +1 -0
- package/dist/esm-es5/{form-fb8dd9f5.js → form-841232ff.js} +1 -1
- package/dist/esm-es5/global-181336dc.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-66a526c0.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/overlays-df27551b.js +1 -0
- package/dist/esm-es5/swiper.util-9564f1e8.js +1 -0
- package/dist/esm-es5/{window-resize.decorator-f894e34b.js → window-resize.decorator-66d8fd79.js} +1 -1
- package/dist/html.html-data.json +31 -0
- package/dist/types/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.d.ts +10 -0
- package/dist/types/components/bal-accordion/bal-accordion.i18n.d.ts +7 -0
- package/dist/types/components/bal-button/bal-button.d.ts +4 -0
- package/dist/types/components/bal-button/bal-button.interfaces.d.ts +1 -0
- package/dist/types/components/bal-carousel/bal-carousel.d.ts +5 -0
- package/dist/types/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.d.ts +14 -0
- package/dist/types/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.d.ts +33 -0
- package/dist/types/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.i18n.d.ts +7 -0
- package/dist/types/components/bal-modal/bal-modal.d.ts +18 -0
- package/dist/types/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.d.ts +14 -0
- package/dist/types/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.i18n.d.ts +5 -0
- package/dist/types/components/bal-number-input/bal-number-input.d.ts +5 -5
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
- package/dist/types/components.d.ts +88 -2
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +82 -0
- package/dist/types/utils/aria.d.ts +1 -1
- package/dist/types/utils/attributes.d.ts +1 -0
- package/dist/types/utils/dropdown/input.d.ts +0 -1
- package/dist/types/utils/overlays/focus-trap.d.ts +36 -0
- package/dist/types/utils/overlays/overlays.d.ts +4 -0
- package/dist/types/utils/swiper/swiper.type.d.ts +1 -0
- package/dist/types/utils/swiper/swiper.util.d.ts +2 -2
- package/package.json +6 -8
- package/dist/baloise-design-system/p-007fc954.js +0 -1
- package/dist/baloise-design-system/p-0170c59c18.system.entry.js +0 -1
- package/dist/baloise-design-system/p-02c5d9fe7e.entry.js +0 -1
- package/dist/baloise-design-system/p-0932b2841b.system.entry.js +0 -1
- package/dist/baloise-design-system/p-1756cf373c.entry.js +0 -1
- package/dist/baloise-design-system/p-187f98a1.system.js +0 -1
- package/dist/baloise-design-system/p-18b510f972.entry.js +0 -1
- package/dist/baloise-design-system/p-1a91f0403a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-1e9d6d442d.entry.js +0 -1
- package/dist/baloise-design-system/p-22bf3854a2.system.entry.js +0 -1
- package/dist/baloise-design-system/p-233258cd04.system.entry.js +0 -1
- package/dist/baloise-design-system/p-29e7d95fdf.entry.js +0 -1
- package/dist/baloise-design-system/p-2f3c628b01.system.entry.js +0 -1
- package/dist/baloise-design-system/p-32f2098f72.entry.js +0 -1
- package/dist/baloise-design-system/p-34797e19f0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-36218e79.js +0 -1
- package/dist/baloise-design-system/p-38b11e34b4.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3a7c9c15.js +0 -1
- package/dist/baloise-design-system/p-3b18905319.entry.js +0 -1
- package/dist/baloise-design-system/p-3fcdc7bf1d.entry.js +0 -1
- package/dist/baloise-design-system/p-403f40e26a.entry.js +0 -1
- package/dist/baloise-design-system/p-43078d9a20.entry.js +0 -1
- package/dist/baloise-design-system/p-444d11044c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4543306ed6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-45bbf6330f.entry.js +0 -1
- package/dist/baloise-design-system/p-47660601a1.entry.js +0 -1
- package/dist/baloise-design-system/p-477a9f8a40.entry.js +0 -1
- package/dist/baloise-design-system/p-489cda24c4.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4a614fb255.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4dfdd589d8.system.entry.js +0 -1
- package/dist/baloise-design-system/p-513f6b88.js +0 -1
- package/dist/baloise-design-system/p-51e22c0c.js +0 -1
- package/dist/baloise-design-system/p-56d4310416.system.entry.js +0 -1
- package/dist/baloise-design-system/p-578047988c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5a3e5f6551.entry.js +0 -1
- package/dist/baloise-design-system/p-630b9272b1.entry.js +0 -1
- package/dist/baloise-design-system/p-725eed2595.entry.js +0 -1
- package/dist/baloise-design-system/p-72d3d56c55.entry.js +0 -1
- package/dist/baloise-design-system/p-732df3f390.system.entry.js +0 -1
- package/dist/baloise-design-system/p-759f25a3e5.entry.js +0 -1
- package/dist/baloise-design-system/p-7c76d17d2f.entry.js +0 -1
- package/dist/baloise-design-system/p-7e7d73b667.entry.js +0 -1
- package/dist/baloise-design-system/p-82ff80d9f0.entry.js +0 -1
- package/dist/baloise-design-system/p-89a8d47c12.entry.js +0 -1
- package/dist/baloise-design-system/p-8b0bd1adc7.entry.js +0 -1
- package/dist/baloise-design-system/p-8cb8360dcd.system.entry.js +0 -1
- package/dist/baloise-design-system/p-974e5cb5ec.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9b6e9746c1.entry.js +0 -1
- package/dist/baloise-design-system/p-b2198343bf.entry.js +0 -1
- package/dist/baloise-design-system/p-c09a268beb.system.entry.js +0 -1
- package/dist/baloise-design-system/p-c2a4a78d58.system.entry.js +0 -1
- package/dist/baloise-design-system/p-cc899b3f92.entry.js +0 -1
- package/dist/baloise-design-system/p-d24c5aa8ad.entry.js +0 -1
- package/dist/baloise-design-system/p-d296994410.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d404537f.system.js +0 -1
- package/dist/baloise-design-system/p-d5e8e2bec8.entry.js +0 -1
- package/dist/baloise-design-system/p-d9b38501.js +0 -1
- package/dist/baloise-design-system/p-d9bc111444.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ddfbabb4d5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-de59bd37.system.js +0 -1
- package/dist/baloise-design-system/p-e104ac3699.system.entry.js +0 -1
- package/dist/baloise-design-system/p-e2a70f10.system.js +0 -1
- package/dist/baloise-design-system/p-e5c0a1dbb2.entry.js +0 -1
- package/dist/baloise-design-system/p-e70c7951.system.js +0 -1
- package/dist/baloise-design-system/p-edd4a77fd5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-f01ae7b55b.entry.js +0 -1
- package/dist/baloise-design-system/p-f8ab470d9d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-fa43380807.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ff859bec24.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ffeef88a26.entry.js +0 -1
- package/dist/cjs/aria-c8955a5c.js +0 -5
- package/dist/cjs/overlays-81ea4414.js +0 -82
- package/dist/esm/aria-d5877698.js +0 -3
- package/dist/esm/overlays-9a5950bd.js +0 -76
- package/dist/esm-es5/app-globals-5b18a75c.js +0 -1
- package/dist/esm-es5/aria-d5877698.js +0 -1
- package/dist/esm-es5/floating-ui.dom.esm-8dcdb8d6.js +0 -1
- package/dist/esm-es5/overlays-9a5950bd.js +0 -1
- package/dist/esm-es5/swiper.util-a4c7d0f9.js +0 -1
- /package/dist/baloise-design-system/{p-dd5e13d1.js → p-063808d7.js} +0 -0
- /package/dist/baloise-design-system/{p-ca9e987e.js → p-6e1e6cc5.js} +0 -0
- /package/dist/baloise-design-system/{p-8949aa8b.system.js → p-7720b262.system.js} +0 -0
- /package/dist/baloise-design-system/{p-d1847366.system.js → p-b119ef19.system.js} +0 -0
- /package/dist/esm-es5/{attributes-4fa7040f.js → attributes-a3e70948.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-d6bf7bd8.js → tokens.esm-376de6fe.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as t}from"./p-2ccbe55a.js";import{j as i,k as s,l as e,r as n,o as h}from"./p-ef6a64f4.js";import{B as r}from"./p-ae86d0a0.js";import{s as o}from"./p-e3e1d211.js";import{j as a}from"./p-dc98854c.js";const l=t=>"string"==typeof t?t.replace(/([a-z])([0-9])/g,"$1-$2").replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase():"",c=t=>parseInt(t.slice(0,-2),10),d=(t,i=16)=>{if("undefined"==typeof window||void 0===t)return{top:i,right:i,bottom:i,left:i};const s=window.getComputedStyle(t);return{top:c(s.getPropertyValue("padding-top")),right:c(s.getPropertyValue("padding-right")),bottom:c(s.getPropertyValue("padding-bottom")),left:c(s.getPropertyValue("padding-left"))}},u=t=>{if("undefined"==typeof window)return t.clientWidth;const i=window.getComputedStyle(t),s=i.getPropertyValue("box-sizing"),e=c(i.getPropertyValue("width"));if("border-box"===s)return e;const n=c(i.getPropertyValue("padding-right"));return c(i.getPropertyValue("padding-left"))+e+n},f=t=>{const i=Array.from(t.children);let s=0;for(const t of i)s=Math.max(s,t.offsetLeft+t.offsetWidth);return s},b={de:{left:"vorherige",right:"nächste"},en:{left:"previous",right:"next"},fr:{left:"précédent",right:"suivant"},it:{left:"precedente",right:"successivo"},nl:{left:"vorige",right:"volgende"},es:{left:"anterior",right:"siguiente"},pl:{left:"poprzedni",right:"następny"},pt:{left:"anterior",right:"próximo"},sv:{left:"föregående",right:"nästa"},fi:{left:"edellinen",right:"seuraava"}},g=({isFirst:i,isLast:s,inverted:e,leftControlTitle:n,rightControlTitle:h,containerId:o,onNextClick:a,onPreviousClick:l})=>{const c=r.block("swiper").element("controls"),d=c.element("button");return t("div",{class:Object.assign(Object.assign({},c.class()),c.modifier("small").class())},t("bal-button",{class:Object.assign(Object.assign(Object.assign({},d.class()),d.modifier("left").class()),d.modifier("hidden").class(i)),"aria-controls":o,square:!0,size:"small",icon:"nav-go-left",rounded:!0,inverted:e,onClick:()=>l(),disabled:i,tabindex:"-1","data-testid":"bal-carousel-control-left",title:n}),t("bal-button",{class:Object.assign(Object.assign(Object.assign({},d.class()),d.modifier("right").class()),d.modifier("hidden").class(s)),"aria-controls":o,square:!0,size:"small",icon:"nav-go-right",rounded:!0,inverted:e,onClick:()=>a(),disabled:s,tabindex:"-1","data-testid":"bal-carousel-control-right",title:h}))},w=({isFirst:i,isLast:s,inverted:e,areControlsHidden:n,onNextClick:h,onPreviousClick:o,containerId:a,leftControlTitle:l,rightControlTitle:c})=>{const d=r.block("swiper").element("controls"),u=d.element("button");return t("div",{"data-mutation":"false",class:Object.assign(Object.assign({},d.class()),d.modifier("large").class())},t("bal-button",{class:Object.assign(Object.assign(Object.assign({},u.class()),u.modifier("left").class()),u.modifier("hidden").class(i&&n)),"aria-controls":a,square:!0,icon:"nav-go-left",rounded:!0,inverted:e,onClick:()=>o(),tabindex:-1,disabled:i,"aria-hidden":i&&n?"true":null,"data-testid":"bal-carousel-control-left",title:l}),t("bal-button",{class:Object.assign(Object.assign(Object.assign({},u.class()),u.modifier("right").class()),u.modifier("hidden").class(s&&n)),"aria-controls":a,square:!0,icon:"nav-go-right",rounded:!0,inverted:e,onClick:()=>h(),tabindex:-1,disabled:s,"aria-hidden":s&&n?"true":null,"data-testid":"bal-carousel-control-right",title:c}))},p=({value:i,items:s,containerId:e,onControlChange:n})=>{const h=r.block("swiper").element("controls");return t("div",{class:Object.assign(Object.assign({},h.class()),h.modifier("dots").class())},t("bal-pagination",{"aria-controls":e,interface:"small",value:i+1,totalPages:s.length,onBalChange:t=>{let i=t.detail-1;i<0&&(i=0),i>=s.length&&(i=s.length-1),n(s[i])}}))};class v{constructor(){this.previousTransformValue=0,this.active=!0,this.id="bal-swiper-"+m++,this.containerId=`${this.id}-container`,this.index=0,this.gapSize=0,this.steps=1,this.noNeedForControls=!0,this.isLastSlideVisible=!1,this.itemsPerView=1,this.controls="none",this.keyboardMode=!1,this.shiftMode=!1,this.isInsideContainer=!1,this.focusByKey=!1,this.pointerDown=()=>{this.keyboardMode=!1,this.shiftMode=!1,this.focusByKey=!1,this.isInsideContainer=!1},this.listenToKeyDown=t=>{this.keyboardMode=a(t),this.shiftMode=t.shiftKey,this.focusByKey=!1,this.isInsideContainer=i(this.containerEl,t.target),this.active&&"dots"!==this.controls&&"tabs"!==this.controls&&this.isInsideContainer&&this.keyboardMode&&(this.shiftMode&&this.index>0?(this.focusByKey=!0,this.focusPreviousItem(t)):!this.shiftMode&&this.index<this.lastIndex()&&(this.focusByKey=!0,this.focusNextItem(t)))},this.updateFocus=()=>{this.active&&"dots"!==this.controls&&"tabs"!==this.controls&&this.focusByKey&&!this.isInsideContainer&&this.focusItem(this.shiftMode?this.lastIndex():0)},this.cssBlock=r.block("swiper"),this.cssSwiper=()=>Object.assign({},this.cssBlock.class(this.active)),this.cssInnerSwiper=()=>Object.assign(Object.assign(Object.assign(Object.assign({},this.cssBlock.element("inner").class(this.active)),this.cssBlock.element("inner").modifier(`items-per-view-${this.itemsPerView}`).class(this.active)),this.cssBlock.element("inner").modifier("shadow-left").class(this.hasShadowLeft())),this.cssBlock.element("inner").modifier("shadow-right").class(this.hasShadowRight())),this.cssSwiperContainer=()=>Object.assign({},this.cssBlock.element("container").class(this.active)),this.notifyChange=s((()=>this.notifyChangeInternal()),100),this.onControlChange=t=>{t!==this.index&&(t>this.index?this.next(t-this.index):this.previous(this.index-t))},this.onPreviousButtonClick=()=>this.previous(),this.onNextButtonClick=()=>this.next()}connectedCallback(t){this.component=t,e(window,"keydown",this.listenToKeyDown),e(this.component.el,"focusin",this.updateFocus),e(window,"touchstart",this.pointerDown),e(window,"mousedown",this.pointerDown)}disconnectedCallback(){n(window,"keydown",this.listenToKeyDown),n(this.component.el,"focusin",this.updateFocus),n(window,"touchstart",this.pointerDown),n(window,"mousedown",this.pointerDown)}isActive(){return this.active}async activate(){this.active=!0}async disable(){this.active=!1}async focusItem(t){const i=await this.goTo(t);i&&i.el&&await this.setFocusToEl(i.el)}async focusNextItem(t){const i=await this.next(1);i&&i.el&&(o(t),await this.setFocusToEl(i.el))}async focusPreviousItem(t){const i=await this.previous(1);i&&i.el&&(o(t),await this.setFocusToEl(i.el))}async setFocusToEl(t){t.setFocus&&await t.setFocus()}isFirst(){return 0===this.index}hasShadowLeft(){return this.hasShadow()&&0!==this.index&&this.active}hasShadowRight(){return this.hasShadow()&&!this.isLastSlideVisible&&this.active}isLast(){return this.isLastSlideVisible}async previous(t=this.steps){let i=this.index-t;return i<0&&(i=0),this.goTo(i)}async next(t=this.steps){const i=this.component.swiperGetAllChildrenElements().length;let s=this.index+t;return s>=i&&(s=i-1),this.goTo(s)}async updateIndex(t=this.index){this.index!==t&&(this.goTo(t),this.index=t,this.component.swiperOnChange(this.index))}async goTo(t=this.index){if(this.active){const i=await this.buildSlide(t);return i&&(await this.animate(i.transformActive,!0)||this.index!==t)&&(this.index=t,this.component.swiperOnChange(this.index)),i}}renderControls(){if(!this.active||this.noNeedForControls||!this.component.hasAnimated)return"";const i=b[this.component.language].left,s=b[this.component.language].right;switch(this.controls){case"small":return t(g,{isFirst:this.isFirst(),isLast:this.isLast(),inverted:this.component.inverted,leftControlTitle:i,rightControlTitle:s,containerId:this.containerId,onNextClick:()=>this.onNextButtonClick(),onPreviousClick:()=>this.onPreviousButtonClick()});case"large":return t(w,{isFirst:this.isFirst(),isLast:this.isLast(),inverted:this.component.inverted,areControlsHidden:!this.component.isMobile,leftControlTitle:i,rightControlTitle:s,containerId:this.containerId,onNextClick:()=>this.onNextButtonClick(),onPreviousClick:()=>this.onPreviousButtonClick()});case"dots":return t(p,{value:this.index,items:this.getAllControlItems(),containerId:this.containerId,onControlChange:t=>this.onControlChange(t.value)});default:return""}}getAllControlItems(){return this.component.swiperGetAllChildrenElements().map(((t,i)=>({value:i,label:t.label})))}lastIndex(){return this.component.swiperGetAllChildrenElements().length-1}hasShadow(){return!this.component.inverted&&("auto"===this.itemsPerView||this.itemsPerView>1)}async notifyChangeInternal(){const t=await this.buildSlide(this.index);t&&this.animate(t.transformActive,!1)}async buildSlide(t){const i=this.component.swiperGetAllChildrenElements(),s=void 0===t?this.lastIndex():t;if(i.length>s&&s>=0){const t=this.gapSize,e=i.filter(((t,i)=>i<s+1)).reduce(((i,s)=>i+u(s)+t),0),n=i.filter(((t,i)=>i<s)).reduce(((i,s)=>i+u(s)+t),0);return{el:i[s],transformNext:e,transformActive:n,isFirst:0===s,isLast:s===this.lastIndex(),total:this.lastIndex()+1,index:s}}}async animate(t=0,i=!0){return new Promise((s=>{void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.currentRaf=h((async()=>{if(this.containerEl&&this.innerEl){const e=await this.buildSlide();if(e){const n=e.transformNext||0,h=this.innerEl.clientWidth||0;if(0===n||0===h)return s(!1);let r=n-h;3===this.itemsPerView&&(r=n-h-1);const o=r<=t,a=0===t||r<=2;a&&(this.index=0);const l="small"===this.controls,c="large"===this.controls;this.noNeedForControls=n<=h;let d=this.noNeedForControls?0:o?r:t;a||this.noNeedForControls||!(l||c&&!this.component.isMobile)||(d-=o?0:c?56:48),this.containerEl.style.transitionDuration=i?"0.6s":"0",this.containerEl.style.transform=`translate3d(-${d}px, 0px, 0px)`;const u=d!==this.previousTransformValue;return this.previousTransformValue=d,this.isLastSlideVisible=o,this.borderEl&&(this.borderEl.style.transitionDuration=i?"0.6s":"0",this.borderEl.style.transform=`translate3d(${d}px, 0px, 0px)`),this.component.hasAnimated=!0,s(!!u)}}}))}))}}let m=0;export{v as S,f as a,d as g,l as t}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const t=["top","right","bottom","left"],n=["start","end"],e=t.reduce(((t,e)=>t.concat(e,e+"-"+n[0],e+"-"+n[1])),[]),o=Math.min,r=Math.max,i=Math.round,l=Math.floor,a=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function u(t,n,e){return r(t,o(n,e))}function f(t,n){return"function"==typeof t?t(n):t}function d(t){return t.split("-")[0]}function m(t){return t.split("-")[1]}function p(t){return"x"===t?"y":"x"}function y(t){return"y"===t?"height":"width"}function h(t){return["top","bottom"].includes(d(t))?"y":"x"}function g(t){return p(h(t))}function w(t,n,e){void 0===e&&(e=!1);const o=m(t),r=g(t),i=y(r);let l="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(l=v(l)),[l,v(l)]}function x(t){return t.replace(/start|end/g,(t=>s[t]))}function v(t){return t.replace(/left|right|bottom|top/g,(t=>c[t]))}function b(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function A(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function R(t,n,e){let{reference:o,floating:r}=t;const i=h(n),l=g(n),a=y(l),c=d(n),s="y"===i,u=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,p=o[a]/2-r[a]/2;let w;switch(c){case"top":w={x:u,y:o.y-r.height};break;case"bottom":w={x:u,y:o.y+o.height};break;case"right":w={x:o.x+o.width,y:f};break;case"left":w={x:o.x-r.width,y:f};break;default:w={x:o.x,y:o.y}}switch(m(n)){case"start":w[l]-=p*(e&&s?-1:1);break;case"end":w[l]+=p*(e&&s?-1:1)}return w}async function S(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:l,elements:a,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:m=!1,padding:p=0}=f(n,t),y=b(p),h=a[m?"floating"===d?"reference":"floating":d],g=A(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(h)))||e?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:s,rootBoundary:u,strategy:c})),w="floating"===d?{...l.floating,x:o,y:r}:l.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),v=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},R=A(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:x,strategy:c}):w);return{top:(g.top-R.top+y.top)/v.y,bottom:(R.bottom-g.bottom+y.bottom)/v.y,left:(g.left-R.left+y.left)/v.x,right:(R.right-g.right+y.right)/v.x}}function k(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function F(n){return t.some((t=>n[t]>=0))}function O(t){const n=o(...t.map((t=>t.left))),e=o(...t.map((t=>t.top)));return{x:n,y:e,width:r(...t.map((t=>t.right)))-n,height:r(...t.map((t=>t.bottom)))-e}}const D=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:i,placement:l,middlewareData:a}=n,c=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),l=d(e),a=m(e),c="y"===h(e),s=["left","top"].includes(l)?-1:1,u=i&&c?-1:1,p=f(n,t);let{mainAxis:y,crossAxis:g,alignmentAxis:w}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return a&&"number"==typeof w&&(g="end"===a?-1*w:w),c?{x:g*u,y:y*s}:{x:y*s,y:g*u}}(n,t);return l===(null==(e=a.offset)?void 0:e.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:r+c.x,y:i+c.y,data:{...c,placement:l}}}}};function P(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function C(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return t instanceof Node||t instanceof T(t).Node}function B(t){return t instanceof Element||t instanceof T(t).Element}function H(t){return t instanceof HTMLElement||t instanceof T(t).HTMLElement}function M(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof T(t).ShadowRoot)}function L(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=W(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function E(t){return["table","td","th"].includes(P(t))}function I(t){const n=N(),e=W(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function N(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function q(t){return["html","body","#document"].includes(P(t))}function W(t){return T(t).getComputedStyle(t)}function $(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function j(t){if("html"===P(t))return t;const n=t.assignedSlot||t.parentNode||M(t)&&t.host||C(t);return M(n)?n.host:n}function V(t){const n=j(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:H(n)&&L(n)?n:V(n)}function X(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const r=V(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),l=T(r);return i?n.concat(l,l.visualViewport||[],L(r)?r:[],l.frameElement&&e?X(l.frameElement):[]):n.concat(r,X(r,[],e))}function Y(t){const n=W(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=H(t),l=r?t.offsetWidth:e,a=r?t.offsetHeight:o,c=i(e)!==l||i(o)!==a;return c&&(e=l,o=a),{width:e,height:o,$:c}}function _(t){return B(t)?t:t.contextElement}function G(t){const n=_(t);if(!H(n))return a(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:l}=Y(n);let c=(l?i(e.width):e.width)/o,s=(l?i(e.height):e.height)/r;return c&&Number.isFinite(c)||(c=1),s&&Number.isFinite(s)||(s=1),{x:c,y:s}}const J=a(0);function K(t){const n=T(t);return N()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:J}function Q(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=_(t);let l=a(1);n&&(o?B(o)&&(l=G(o)):l=G(t));const c=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==T(t))&&n}(i,e,o)?K(i):a(0);let s=(r.left+c.x)/l.x,u=(r.top+c.y)/l.y,f=r.width/l.x,d=r.height/l.y;if(i){const t=T(i),n=o&&B(o)?T(o):o;let e=t,r=e.frameElement;for(;r&&o&&n!==e;){const t=G(r),n=r.getBoundingClientRect(),o=W(r),i=n.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,l=n.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;s*=t.x,u*=t.y,f*=t.x,d*=t.y,s+=i,u+=l,e=T(r),r=e.frameElement}}return A({width:f,height:d,x:s,y:u})}const U=[":popover-open",":modal"];function Z(t){return U.some((n=>{try{return t.matches(n)}catch(t){return!1}}))}function tt(t){return Q(C(t)).left+$(t).scrollLeft}function nt(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=T(t),o=C(t),r=e.visualViewport;let i=o.clientWidth,l=o.clientHeight,a=0,c=0;if(r){i=r.width,l=r.height;const t=N();(!t||t&&"fixed"===n)&&(a=r.offsetLeft,c=r.offsetTop)}return{width:i,height:l,x:a,y:c}}(t,e);else if("document"===n)o=function(t){const n=C(t),e=$(t),o=t.ownerDocument.body,i=r(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),l=r(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+tt(t);const c=-e.scrollTop;return"rtl"===W(o).direction&&(a+=r(n.clientWidth,o.clientWidth)-i),{width:i,height:l,x:a,y:c}}(C(t));else if(B(n))o=function(t,n){const e=Q(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=H(t)?G(t):a(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=K(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return A(o)}function et(t,n){const e=j(t);return!(e===n||!B(e)||q(e))&&("fixed"===W(e).position||et(e,n))}function ot(t,n,e){const o=H(n),r=C(n),i="fixed"===e,l=Q(t,!0,i,n);let c={scrollLeft:0,scrollTop:0};const s=a(0);if(o||!o&&!i)if(("body"!==P(n)||L(r))&&(c=$(n)),o){const t=Q(n,!0,i,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else r&&(s.x=tt(r));return{x:l.left+c.scrollLeft-s.x,y:l.top+c.scrollTop-s.y,width:l.width,height:l.height}}function rt(t,n){return H(t)&&"fixed"!==W(t).position?n?n(t):t.offsetParent:null}function it(t,n){const e=T(t);if(!H(t)||Z(t))return e;let o=rt(t,n);for(;o&&E(o)&&"static"===W(o).position;)o=rt(o,n);return o&&("html"===P(o)||"body"===P(o)&&"static"===W(o).position&&!I(o))?e:o||function(t){let n=j(t);for(;H(n)&&!q(n);){if(I(n))return n;n=j(n)}return null}(t)||e}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:o,strategy:r}=t;const i="fixed"===r,l=C(o),c=!!n&&Z(n.floating);if(o===l||c&&i)return e;let s={scrollLeft:0,scrollTop:0},u=a(1);const f=a(0),d=H(o);if((d||!d&&!i)&&(("body"!==P(o)||L(l))&&(s=$(o)),H(o))){const t=Q(o);u=G(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+f.x,y:e.y*u.y-s.scrollTop*u.y+f.y}},getDocumentElement:C,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:i,strategy:l}=t;const a=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=X(t,[],!1).filter((t=>B(t)&&"body"!==P(t))),r=null;const i="fixed"===W(t).position;let l=i?j(t):t;for(;B(l)&&!q(l);){const n=W(l),e=I(l);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||L(l)&&!e&&et(t,l))?o=o.filter((t=>t!==l)):r=n,l=j(l)}return n.set(t,o),o}(n,this._c):[].concat(e),i],c=a.reduce(((t,e)=>{const i=nt(n,e,l);return t.top=r(i.top,t.top),t.right=o(i.right,t.right),t.bottom=o(i.bottom,t.bottom),t.left=r(i.left,t.left),t}),nt(n,a[0],l));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:it,getElementRects:async function(t){const n=this.getOffsetParent||it,e=this.getDimensions;return{reference:ot(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,...await e(t.floating)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:n,height:e}=Y(t);return{width:n,height:e}},getScale:G,isElement:B,isRTL:function(t){return"rtl"===W(t).direction}};function at(t,n,e,i){void 0===i&&(i={});const{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=i,d=_(t),m=a||c?[...d?X(d):[],...X(n)]:[];m.forEach((t=>{a&&t.addEventListener("scroll",e,{passive:!0}),c&&t.addEventListener("resize",e)}));const p=d&&u?function(t,n){let e,i=null;const a=C(t);function c(){var t;clearTimeout(e),null==(t=i)||t.disconnect(),i=null}return function s(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),c();const{left:d,top:m,width:p,height:y}=t.getBoundingClientRect();if(u||n(),!p||!y)return;const h={rootMargin:-l(m)+"px "+-l(a.clientWidth-(d+p))+"px "+-l(a.clientHeight-(m+y))+"px "+-l(d)+"px",threshold:r(0,o(1,f))||1};let g=!0;function w(t){const n=t[0].intersectionRatio;if(n!==f){if(!g)return s();n?s(!1,n):e=setTimeout((()=>{s(!1,1e-7)}),100)}g=!1}try{i=new IntersectionObserver(w,{...h,root:a.ownerDocument})}catch(t){i=new IntersectionObserver(w,h)}i.observe(t)}(!0),c}(d,e):null;let y,h=-1,g=null;s&&(g=new ResizeObserver((t=>{let[o]=t;o&&o.target===d&&g&&(g.unobserve(n),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{var t;null==(t=g)||t.observe(n)}))),e()})),d&&!f&&g.observe(d),g.observe(n));let w=f?Q(t):null;return f&&function n(){const o=Q(t);!w||o.x===w.x&&o.y===w.y&&o.width===w.width&&o.height===w.height||e(),w=o,y=requestAnimationFrame(n)}(),e(),()=>{var t;m.forEach((t=>{a&&t.removeEventListener("scroll",e),c&&t.removeEventListener("resize",e)})),null==p||p(),null==(t=g)||t.disconnect(),g=null,f&&cancelAnimationFrame(y)}}const ct=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var o,r,i;const{rects:l,middlewareData:a,placement:c,platform:s,elements:u}=n,{crossAxis:p=!1,alignment:y,allowedPlacements:h=e,autoAlignment:g=!0,...v}=f(t,n),b=void 0!==y||h===e?function(t,n,e){return(t?[...e.filter((n=>m(n)===t)),...e.filter((n=>m(n)!==t))]:e.filter((t=>d(t)===t))).filter((e=>!t||m(e)===t||!!n&&x(e)!==e))}(y||null,g,h):h,A=await S(n,v),R=(null==(o=a.autoPlacement)?void 0:o.index)||0,k=b[R];if(null==k)return{};const F=w(k,l,await(null==s.isRTL?void 0:s.isRTL(u.floating)));if(c!==k)return{reset:{placement:b[0]}};const O=[A[d(k)],A[F[0]],A[F[1]]],D=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:k,overflows:O}],P=b[R+1];if(P)return{data:{index:R+1,overflows:D},reset:{placement:P}};const T=D.map((t=>{const n=m(t.placement);return[t.placement,n&&p?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),C=(null==(i=T.filter((t=>t[2].slice(0,m(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||T[0][0];return C!==c?{data:{index:R+1,overflows:D},reset:{placement:C}}:{}}}},st=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:r}=n,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...c}=f(t,n),s={x:e,y:o},m=await S(n,c),y=h(d(r)),g=p(y);let w=s[g],x=s[y];i&&(w=u(w+m["y"===g?"top":"left"],w,w-m["y"===g?"bottom":"right"])),l&&(x=u(x+m["y"===y?"top":"left"],x,x-m["y"===y?"bottom":"right"]));const v=a.fn({...n,[g]:w,[y]:x});return{...v,data:{x:v.x-e,y:v.y-o}}}}},ut=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:i,rects:l,initialPlacement:a,platform:c,elements:s}=n,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:b=!0,...A}=f(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const R=d(r),k=d(a)===a,F=await(null==c.isRTL?void 0:c.isRTL(s.floating)),O=y||(k||!b?[v(a)]:function(t){const n=v(t);return[x(t),n,x(n)]}(a));y||"none"===g||O.push(...function(t,n,e,o){const r=m(t);let i=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:l;default:return[]}}(d(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(x)))),i}(a,b,g,F));const D=[a,...O],P=await S(n,A),T=[];let C=(null==(o=i.flip)?void 0:o.overflows)||[];if(u&&T.push(P[R]),p){const t=w(r,l,F);T.push(P[t[0]],P[t[1]])}if(C=[...C,{placement:r,overflows:T}],!T.every((t=>t<=0))){var z,B;const t=((null==(z=i.flip)?void 0:z.index)||0)+1,n=D[t];if(n)return{data:{index:t,overflows:C},reset:{placement:n}};let e=null==(B=C.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:B.placement;if(!e)switch(h){case"bestFit":{var H;const t=null==(H=C.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:H[0];t&&(e=t);break}case"initialPlacement":e=a}if(r!==e)return{reset:{placement:e}}}return{}}}},ft=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(n){const{placement:e,rects:i,platform:l,elements:a}=n,{apply:c=(()=>{}),...s}=f(t,n),u=await S(n,s),p=d(e),y=m(e),g="y"===h(e),{width:w,height:x}=i.floating;let v,b;"top"===p||"bottom"===p?(v=p,b=y===(await(null==l.isRTL?void 0:l.isRTL(a.floating))?"start":"end")?"left":"right"):(b=p,v="end"===y?"top":"bottom");const A=x-u[v],R=w-u[b],k=!n.middlewareData.shift;let F=A,O=R;if(g){const t=w-u.left-u.right;O=y||k?o(R,t):t}else{const t=x-u.top-u.bottom;F=y||k?o(A,t):t}if(k&&!y){const t=r(u.left,0),n=r(u.right,0),e=r(u.top,0),o=r(u.bottom,0);g?O=w-2*(0!==t||0!==n?t+n:r(u.left,u.right)):F=x-2*(0!==e||0!==o?e+o:r(u.top,u.bottom))}await c({...n,availableWidth:O,availableHeight:F});const D=await l.getDimensions(a.floating);return w!==D.width||x!==D.height?{reset:{rects:!0}}:{}}}},dt=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=f(t,n);switch(o){case"referenceHidden":{const t=k(await S(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:F(t)}}}case"escaped":{const t=k(await S(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:F(t)}}}default:return{}}}}},mt=t=>({name:"arrow",options:t,async fn(n){const{x:e,y:r,placement:i,rects:l,platform:a,elements:c,middlewareData:s}=n,{element:d,padding:p=0}=f(t,n)||{};if(null==d)return{};const h=b(p),w={x:e,y:r},x=g(i),v=y(x),A=await a.getDimensions(d),R="y"===x,S=R?"top":"left",k=R?"bottom":"right",F=R?"clientHeight":"clientWidth",O=l.reference[v]+l.reference[x]-w[x]-l.floating[v],D=w[x]-l.reference[x],P=await(null==a.getOffsetParent?void 0:a.getOffsetParent(d));let T=P?P[F]:0;T&&await(null==a.isElement?void 0:a.isElement(P))||(T=c.floating[F]||l.floating[v]);const C=O/2-D/2,z=T/2-A[v]/2-1,B=o(h[S],z),H=o(h[k],z),M=B,L=T-A[v]-H,E=T/2-A[v]/2+C,I=u(M,E,L),N=!s.arrow&&null!=m(i)&&E!==I&&l.reference[v]/2-(E<M?B:H)-A[v]/2<0,q=N?E<M?E-M:E-L:0;return{[x]:w[x]+q,data:{[x]:I,centerOffset:E-I-q,...N&&{alignmentOffset:q}},reset:N}}}),pt=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(n){const{placement:e,elements:i,rects:l,platform:a,strategy:c}=n,{padding:s=2,x:u,y:m}=f(t,n),p=Array.from(await(null==a.getClientRects?void 0:a.getClientRects(i.reference))||[]),y=function(t){const n=t.slice().sort(((t,n)=>t.y-n.y)),e=[];let o=null;for(let t=0;t<n.length;t++){const r=n[t];!o||r.y-o.y>o.height/2?e.push([r]):e[e.length-1].push(r),o=r}return e.map((t=>A(O(t))))}(p),g=A(O(p)),w=b(s),x=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===y.length&&y[0].left>y[1].right&&null!=u&&null!=m)return y.find((t=>u>t.left-w.left&&u<t.right+w.right&&m>t.top-w.top&&m<t.bottom+w.bottom))||g;if(y.length>=2){if("y"===h(e)){const t=y[0],n=y[y.length-1],o="top"===d(e),r=t.top,i=n.bottom,l=o?t.left:n.left,a=o?t.right:n.right;return{top:r,bottom:i,left:l,right:a,width:a-l,height:i-r,x:l,y:r}}const t="left"===d(e),n=r(...y.map((t=>t.right))),i=o(...y.map((t=>t.left))),l=y.filter((e=>t?e.left===i:e.right===n)),a=l[0].top,c=l[l.length-1].bottom;return{top:a,bottom:c,left:i,right:n,width:n-i,height:c-a,x:i,y:a}}return g}},floating:i.floating,strategy:c});return l.reference.x!==x.reference.x||l.reference.y!==x.reference.y||l.reference.width!==x.reference.width||l.reference.height!==x.reference.height?{reset:{rects:x}}:{}}}},yt=function(t){return void 0===t&&(t={}),{options:t,fn(n){const{x:e,y:o,placement:r,rects:i,middlewareData:l}=n,{offset:a=0,mainAxis:c=!0,crossAxis:s=!0}=f(t,n),u={x:e,y:o},m=h(r),y=p(m);let g=u[y],w=u[m];const x=f(a,n),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(c){const t="y"===y?"height":"width",n=i.reference[y]-i.floating[t]+v.mainAxis,e=i.reference[y]+i.reference[t]-v.mainAxis;g<n?g=n:g>e&&(g=e)}if(s){var b,A;const t="y"===y?"width":"height",n=["top","left"].includes(d(r)),e=i.reference[m]-i.floating[t]+(n&&(null==(b=l.offset)?void 0:b[m])||0)+(n?0:v.crossAxis),o=i.reference[m]+i.reference[t]+(n?0:(null==(A=l.offset)?void 0:A[m])||0)-(n?v.crossAxis:0);w<e?w=e:w>o&&(w=o)}return{[y]:g,[m]:w}}}},ht=(t,n,e)=>{const o=new Map,r={platform:lt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,a=i.filter(Boolean),c=await(null==l.isRTL?void 0:l.isRTL(n));let s=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:f}=R(s,o,c),d=o,m={},p=0;for(let e=0;e<a.length;e++){const{name:i,fn:y}=a[e],{x:h,y:g,data:w,reset:x}=await y({x:u,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:s,platform:l,elements:{reference:t,floating:n}});u=null!=h?h:u,f=null!=g?g:f,m={...m,[i]:{...m[i],...w}},x&&p<=50&&(p++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):x.rects),({x:u,y:f}=R(s,d,c))),e=-1)}return{x:u,y:f,placement:d,strategy:r,middlewareData:m}})(t,n,{...r,platform:i})};export{mt as arrow,ct as autoPlacement,at as autoUpdate,ht as computePosition,S as detectOverflow,ut as flip,X as getOverflowAncestors,dt as hide,pt as inline,yt as limitShift,D as offset,lt as platform,st as shift,ft as size}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-7961e095.system.js"],(function(t){"use strict";var e,i,r,n;return{setters:[function(t){e=t.r;i=t.h;r=t.H;n=t.g}],execute:function(){var o=t("bal_form_col",function(){function t(t){e(this,t);this.colClass="col";this.size="full"}t.prototype.render=function(){var t;return i(r,{key:"dcfd707ec14153525343b28de33215360552d67d",class:(t={},t["".concat(this.colClass)]=true,t["py-none"]=true,t["touch:is-12"]=true,t["is-12"]=this.size==="full"||this.size==="fullwidth"||this.size===undefined,t["is-6"]=this.size==="half",t["is-4"]=this.size==="one-third",t["is-8"]=this.size==="two-thirds",t["is-3"]=this.size==="one-quarter",t["is-9"]=this.size==="three-quarters",t)},i("slot",{key:"eb9686534cb834601ec756657e8576dc0aaac9b4"}))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());var c=".bal-form-grid{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 1024px){.bal-form-grid{-ms-flex-direction:row;flex-direction:row}}.bal-form-grid.columns{margin-top:0 !important;margin-bottom:0 !important}";var s=c;var f=t("bal_form_grid",function(){function t(t){e(this,t)}t.prototype.render=function(){return i(r,{key:"35f3c7ca48f2c64d89c90909bca5894d6f578e64",class:"bal-form-grid grid is-multiline my-none py-none"},i("slot",{key:"dde03d5928d665ada0f41230ff6c01e8f20c1dd1"}))};return t}());f.style=s}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,r,a){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function i(e){try{l(a.next(e))}catch(e){n(e)}}function s(e){try{l(a["throw"](e))}catch(e){n(e)}}function l(e){e.done?r(e.value):o(e.value).then(i,s)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},a,o,n,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return l([e,t])}}function l(s){if(a)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(r=0)),r)try{if(a=1,o&&(n=s[0]&2?o["return"]:s[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,s[1])).done)return n;if(o=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;o=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){r.label=s[1];break}if(s[0]===6&&r.label<n[1]){r.label=n[1];n=s;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(s);break}if(n[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];o=0}finally{a=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-7961e095.system.js","./p-6dbef894.system.js","./p-db0895e2.system.js","./p-187f98a1.system.js","./p-de59bd37.system.js","./p-980e4b57.system.js","./p-652816cc.system.js","./p-95055e88.system.js","./p-b63742f3.system.js","./p-3bf02fb8.system.js","./p-a5964c8a.system.js","./p-0f37a65c.system.js","./p-e60e0c65.system.js","./p-130a16ee.system.js","./p-5cd2674f.system.js","./p-8949aa8b.system.js","./p-4e642b63.system.js","./p-eecefb0a.system.js","./p-a1f6e944.system.js","./p-b1c18bf1.system.js","./p-ec9a7cf5.system.js","./p-d1847366.system.js","./p-23bdd8dc.system.js","./p-ef3bfa9f.system.js"],(function(e){"use strict";var t,r,a,o,n,i,s,l,c,u,b,d,h,p,f,m,_,g,v,w,y,k,x;return{setters:[function(e){t=e.h;r=e.r;a=e.c;o=e.H;n=e.g},function(e){i=e._;s=e.a},function(e){l=e.B},function(e){c=e.a},function(e){u=e.t;b=e.S},function(e){d=e.s},function(e){h=e.L},function(e){p=e.L},function(e){f=e.L},function(e){m=e.L},function(e){_=e.b},function(e){g=e.d},function(e){v=e.L},function(e){w=e.L},function(e){y=e.m;k=e.b},function(e){x=e.i},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var j=function(e){var r=e.value,a=e.items,o=e.containerId,n=e.onControlChange;var i=l.block("carousel");var s=i.element("controls");return t("div",{class:Object.assign(Object.assign({},s.class()),s.modifier("tabs").class())},t("bal-card",null,t("bal-card-content",{role:"tabs"},a.map((function(e){return t("button",{class:{button:true,"is-fullwidth":true,"is-primary":r===e.value,"is-light":r!==e.value},role:"tab","aria-selected":c(r===e.value),"aria-controls":o+"-"+u(e.label),key:e.value,onClick:function(){return n(e)}},e.label)})))))};var O=':root{--bal-carousel-inner-border-background:var(--bal-color-border);--bal-carousel-inner-border-background-inverted:var(--bal-color-border-primary-light);--bal-carousel-inner-shadow-left-background-before:var(--bal-color-white);--bal-carousel-inner-shadow-right-background-after:var(--bal-color-white);--bal-carousel-inner-shadow-left-background-inverted-before:var(--bal-color-primary);--bal-carousel-inner-shadow-right-background-inverted-after:var(--bal-color-primary);--bal-carousel-product-item-button-background:var(--bal-color-white);--bal-carousel-product-item-button-background-green:var(--bal-color-green-1);--bal-carousel-product-item-button-background-green-hover:var(--bal-color-green-1);--bal-carousel-product-item-button-background-green-active:var(--bal-color-green-2);--bal-carousel-product-item-button-background-red:var(--bal-color-red-1);--bal-carousel-product-item-button-background-red-hover:var(--bal-color-red-1);--bal-carousel-product-item-button-background-red-active:var(--bal-color-red-2);--bal-carousel-product-item-button-background-yellow:var(--bal-color-yellow-1);--bal-carousel-product-item-button-background-yellow-hover:var(--bal-color-yellow-1);--bal-carousel-product-item-button-background-yellow-active:var(--bal-color-yellow-2);--bal-carousel-product-item-button-background-purple:var(--bal-color-purple-1);--bal-carousel-product-item-button-background-purple-hover:var(--bal-color-purple-1);--bal-carousel-product-item-button-background-purple-active:var(--bal-color-purple-2);--bal-carousel-inner-border-radius:var(--bal-radius-rounded);--bal-carousel-image-border-radius:var(--bal-radius-normal);--bal-carousel-product-item-button-border-radius:var(--bal-radius-large);--bal-carousel-product-item-button-label-text-color:var(--bal-color-text-primary);--bal-carousel-sticky-top:0}.bal-swiper{position:relative;display:block}.bal-swiper__inner{display:block;position:relative;margin-left:auto;margin-right:auto;overflow:clip;list-style:none;padding:0;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-overflow-scrolling:touch}.bal-swiper__inner--items-per-view-auto .bal-carousel__item{width:auto}.bal-swiper__inner--items-per-view-1 .bal-carousel__item{width:100%}.bal-swiper__inner--items-per-view-2 .bal-carousel__item{width:50%}.bal-swiper__inner--items-per-view-3 .bal-carousel__item{width:33.3333%}.bal-swiper__inner--items-per-view-4 .bal-carousel__item{width:25%}.bal-swiper__container{position:relative;max-width:100%;width:100%;height:100%;display:-ms-flexbox;display:flex;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-duration:0ms;transition-duration:0ms;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}.bal-swiper__controls{width:100%}.bal-swiper__controls--dots{position:relative}@media screen and (max-width: 768px){.bal-swiper__controls--large{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;gap:2rem;margin-top:1rem}}@media screen and (min-width: 769px),print{.bal-swiper__controls--large{position:absolute;top:calc(50% - 1.5rem)}.bal-swiper__controls--large .bal-swiper__controls__button{position:absolute;z-index:7}.bal-swiper__controls--large .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--large .bal-swiper__controls__button--right{right:0}}.bal-swiper__controls__button--hidden{display:none !important;visibility:none !important}.bal-swiper__controls--small{position:absolute;top:calc(50% - 1rem)}.bal-swiper__controls--small .bal-swiper__controls__button{position:absolute;z-index:7}.bal-swiper__controls--small .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--small .bal-swiper__controls__button--right{right:0}.bal-swiper__controls--small .bal-swiper__controls__button--hidden{display:none !important;visibility:hidden !important}.bal-swiper__inner--shadow-left::before,.bal-swiper__inner--shadow-right::after{position:absolute;width:3rem;height:100%;top:0}.bal-swiper__inner--shadow-left::before{content:"";left:0;background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right::after{content:"";right:0;background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-after) 50%)}.bal-swiper__inner--shadow-left.bal-swiper__inner--inverted::before{background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-inverted-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-inverted-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right.bal-swiper__inner--inverted::after{background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-inverted-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-inverted-after) 50%)}.bal-carousel--full-height{height:100%}.bal-carousel__inner--full-height{height:100%}.bal-carousel__inner__container--border{padding-bottom:var(--bal-border-width-normal)}.bal-carousel__inner__container__border{position:absolute;background:var(--bal-carousel-inner-border-background);border-radius:var(--bal-carousel-inner-border-radius);height:var(--bal-border-width-normal);width:100%;bottom:0;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}.bal-carousel__inner__container__border--inverted{background:var(--bal-carousel-inner-border-background-inverted)}.bal-carousel__item{-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;font-size:var(--bal-text-size-large);min-height:2rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;round:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-inverted-after) 50%)}.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:2.5rem}}@media screen and (min-width: 1024px){.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:3rem}}.bal-carousel--card{margin-left:-1rem;margin-right:-1rem}@media screen and (min-width: 769px),print{.bal-carousel--card{margin-left:-2.5rem;margin-right:-2.5rem}}.bal-carousel--card .bal-carousel__controls{padding-left:1rem;padding-right:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__controls{padding-left:2.5rem;padding-right:2.5rem}}.bal-carousel--card .bal-carousel__item{width:100%;padding-top:1rem;padding-bottom:1rem;padding-left:1rem;padding-right:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__item{width:100%;padding-top:2.5rem;padding-bottom:2.5rem;padding-left:2.5rem;padding-right:2.5rem}}.bal-carousel--controls-sticky .bal-carousel__controls--tabs{position:-webkit-sticky;position:sticky;top:var(--bal-carousel-sticky-top);z-index:var(--bal-z-index-sticky)}.bal-carousel__controls--tabs .bal-card{padding:0}.bal-carousel__controls--tabs .bal-card-content{padding:.5rem !important;gap:.5rem;display:-ms-flexbox;display:flex}.bal-carousel__controls--tabs .bal-card-content .bal-button{-ms-flex:1;flex:1}.bal-carousel__controls--tabs .bal-card-content .bal-button .button{padding:.5rem !important}.bal-carousel--image .bal-carousel__inner{border-radius:var(--bal-carousel-image-border-radius)}.bal-carousel--image .bal-carousel__inner--is-1by1{padding-top:100%}.bal-carousel--image .bal-carousel__inner--is-16by9{padding-top:56.25%}.bal-carousel--image .bal-carousel__inner--is-3by2{padding-top:66.66%}.bal-carousel--image .bal-carousel__inner--is-4by3{padding-top:75%}.bal-carousel--image .bal-carousel__inner__container{position:absolute;top:0;left:0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%}.bal-carousel--image .bal-carousel__item{position:relative;-ms-flex:0 0 100%;flex:0 0 100%}.bal-carousel--image .bal-carousel__item>img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-drag:none;user-zoom:fixed}.bal-carousel--product .bal-carousel__inner__container{gap:1rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding-top:1rem;padding-bottom:1rem}@media screen and (min-width: 769px),print{.bal-carousel--product .bal-carousel__inner__container{padding-top:1.5rem;padding-bottom:1.5rem}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__inner__container{padding-top:2rem;padding-bottom:2rem}}.bal-carousel--product .bal-carousel__item{display:-ms-flexbox;display:flex;min-width:10rem;max-width:10rem;height:11rem;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-zoom:fixed;user-drag:none}.bal-carousel--product .bal-carousel__item img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-zoom:fixed;user-drag:none}.bal-carousel--product .bal-carousel__item__button{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;gap:1rem;border-radius:var(--bal-carousel-product-item-button-border-radius);padding:var(--bal-text-size-x-small);border:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;background:var(--bal-carousel-product-item-button-background)}@media (hover: hover)and (pointer: fine){.bal-carousel--product .bal-carousel__item__button:focus-visible:not(:active){-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-green{background:var(--bal-carousel-product-item-button-background-green)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-green:hover{background:var(--bal-carousel-product-item-button-background-green-hover)}.bal-carousel--product .bal-carousel__item__button--color-green:active{background:var(--bal-carousel-product-item-button-background-green-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-red{background:var(--bal-carousel-product-item-button-background-red)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-red:hover{background:var(--bal-carousel-product-item-button-background-red-hover)}.bal-carousel--product .bal-carousel__item__button--color-red:active{background:var(--bal-carousel-product-item-button-background-red-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-yellow{background:var(--bal-carousel-product-item-button-background-yellow)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-yellow:hover{background:var(--bal-carousel-product-item-button-background-yellow-hover)}.bal-carousel--product .bal-carousel__item__button--color-yellow:active{background:var(--bal-carousel-product-item-button-background-yellow-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-purple{background:var(--bal-carousel-product-item-button-background-purple)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-purple:hover{background:var(--bal-carousel-product-item-button-background-purple-hover)}.bal-carousel--product .bal-carousel__item__button--color-purple:active{background:var(--bal-carousel-product-item-button-background-purple-active)}}.bal-carousel--product .bal-carousel__item__button__image{width:5rem;height:5rem;pointer-events:none}.bal-carousel--product .bal-carousel__item__button__label{font-weight:var(--bal-font-weight-bold);color:var(--bal-carousel-product-item-button-label-text-color);font-size:var(--bal-text-size-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;height:3.5rem;overflow:hidden;line-height:1.15rem;word-break:break-word}';var z=O;var C=e("bal_carousel",function(){function e(e){r(this,e);this.balChange=a(this,"balChange",7);this.swiper=new b;this.swiperIsLastSlideVisible=false;this.mutationObserverActive=true;this.hasAnimated=false;this.isMobile=_.isMobile;this.language=g.language;this.value=0;this.steps=1;this.itemsPerView=1;this.controls="none";this.htmlRole="list";this.controlsOverflow=false;this.inverted=false;this.fullHeight=false;this.aspectRatio="16by9";this.interface="";this.controlsSticky=false;this.scrollY=true;this.border=false}e.prototype.onValueChange=function(){this.swiper.index=this.value};e.prototype.onStepsChange=function(){this.swiper.steps=this.steps};e.prototype.onItemsPerViewChange=function(){this.swiper.itemsPerView=this.itemsPerView};e.prototype.onControlsChange=function(){this.swiper.controls=this.controls};e.prototype.onInterFaceChange=function(){this.swiper.gapSize=this.interface==="product"?16:0};e.prototype.connectedCallback=function(){this.swiper.connectedCallback(this);this.onControlsChange();this.onInterFaceChange();this.onItemsPerViewChange();this.onStepsChange();this.onValueChange()};e.prototype.disconnectedCallback=function(){this.swiper.disconnectedCallback()};e.prototype.blockVerticalScrolling=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){if(!this.scrollY&&((t=this.el)===null||t===void 0?void 0:t.contains(e.target))){d(e)}return[2]}))}))};e.prototype.mutationListener=function(){this.swiper.notifyChange()};e.prototype.visibilityListener=function(){this.swiper.notifyChange()};e.prototype.swipeListener=function(e){var t=e.left,r=e.right;if(t){this.next()}else if(r){this.previous()}};e.prototype.breakpointListener=function(e){this.isMobile=e.mobile;this.swiper.notifyChange()};e.prototype.resizeListener=function(){this.swiper.notifyChange()};e.prototype.configChanged=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.language=e.language;return[2]}))}))};e.prototype.previous=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e=this.steps}return __generator(this,(function(t){this.swiper.previous(e);return[2]}))}))};e.prototype.next=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e=this.steps}return __generator(this,(function(t){this.swiper.next(e);return[2]}))}))};e.prototype.getContainerId=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.swiper.containerId]}))}))};e.prototype.swiperGetAllChildrenElements=function(){return Array.from(this.el.querySelectorAll("bal-carousel-item"))};e.prototype.swiperOnChange=function(e){this.value=e;this.balChange.emit(e)};e.prototype.render=function(){var e=this;var r=l.block("carousel");var a=r.element("inner");var n=a.element("container");return t(o,{key:"89263d584f6952e1e8b22c1158ab814f3d8d601e",class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.swiper.cssSwiper()),r.class()),r.modifier(this.interface).class(this.interface!=="")),r.modifier("full-height").class(this.fullHeight)),r.modifier("controls-sticky").class(this.controlsSticky)),r.modifier("controls-tabs").class(this.controls==="tabs"))},this.controls==="tabs"?t(j,{value:this.value,items:this.swiper.getAllControlItems(),containerId:this.swiper.containerId,onControlChange:function(t){return e.swiper.onControlChange(t.value)}}):"",t("div",{key:"fb631d4a11c0e094c65e42fec8742cfe15b0bcf8",class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.swiper.cssInnerSwiper()),a.class()),a.modifier("is-".concat(this.aspectRatio)).class()),a.modifier("inverted").class(this.inverted)),a.modifier("full-height").class(this.fullHeight)),ref:function(t){return e.swiper.innerEl=t}},t("div",{key:"793f837d4e6ae7e636fcf33a523c610e7639423d",id:this.swiper.containerId,role:this.controls==="tabs"?"":"list",class:Object.assign(Object.assign(Object.assign(Object.assign({},this.swiper.cssSwiperContainer()),n.class()),n.modifier("border").class(this.border)),n.modifier("is-".concat(this.aspectRatio)).class()),ref:function(t){return e.swiper.containerEl=t}},t("slot",{key:"7786bb252ef257147b3a9b1f357587710d8d0d21"}),this.border?t("div",{id:"".concat(this.swiper.id,"-border"),"aria-hidden":"true",class:Object.assign(Object.assign({},n.element("border").class()),n.element("border").modifier("inverted").class(this.inverted)),ref:function(t){return e.swiper.borderEl=t}}):"")),this.swiper.renderControls())};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["onValueChange"],steps:["onStepsChange"],itemsPerView:["onItemsPerViewChange"],controls:["onControlsChange"],interface:["onInterFaceChange"]}},enumerable:false,configurable:true});return e}());i([p({tags:["bal-carousel-item"],characterData:false}),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],C.prototype,"mutationListener",null);i([v(),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],C.prototype,"visibilityListener",null);i([f(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",void 0)],C.prototype,"swipeListener",null);i([h(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",void 0)],C.prototype,"breakpointListener",null);i([m(),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],C.prototype,"resizeListener",null);i([w(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",Promise)],C.prototype,"configChanged",null);C.style=z;var F=e("bal_carousel_item",function(){function e(e){var t=this;r(this,e);this.balNavigate=a(this,"balNavigate",7);this.balFocus=a(this,"balFocus",7);this.balBlur=a(this,"balBlur",7);this.imageInheritAttributes={};this.onClick=function(e){if(t.href!==undefined){t.balNavigate.emit(e)}};this.onFocus=function(){t.balFocus.emit()};this.onBlur=function(){t.balBlur.emit()};this.isOnLoadEventDone=false;this.containerId="";this.src=undefined;this.label="";this.htmlRole="listitem";this.elementType="button";this.name=undefined;this.value=undefined;this.href=undefined;this.target="_self";this.rel=undefined;this.download=undefined;this.color=undefined}e.prototype.componentDidLoad=function(){var e=this;y((function(){e.isOnLoadEventDone=true}))};e.prototype.componentWillLoad=function(){this.imageInheritAttributes=x(this.el,["alt"]);this.getContainerId()};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,k()];case 1:e.sent();if(this.buttonEl){this.buttonEl.focus()}return[2]}}))}))};e.prototype.getContainerId=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(r){switch(r.label){case 0:e=this.el.closest("bal-carousel");t=this;return[4,e.getContainerId()];case 1:t.containerId=r.sent();return[2]}}))}))};e.prototype.render=function(){var e=this;var r=l.block("carousel");var a=r.element("item");var n=!!this.color&&!!this.label;var i=this.el.closest("bal-carousel");var s=i&&i.controls==="tabs"?"tabpanel":"listitem";var c="".concat(this.containerId,"-").concat(u(this.label));if(!n){return t(o,{id:c,role:s,class:Object.assign({},a.class()),"aria-label":this.label},this.isOnLoadEventDone&&this.src!==undefined?t("img",Object.assign({draggable:false,onDragStart:function(){return false},src:this.src},this.imageInheritAttributes)):"",t("slot",null))}var b=a.element("button");var d=b.element("image");var h=b.element("label");var p=this,f=p.elementType,m=p.download,_=p.href,g=p.rel,v=p.target,w=p.name,y=p.value;var k=this.href===undefined?"button":"a";var x=k==="button"?{type:f,name:w,value:y}:{download:m,href:_,rel:g,target:v};return t(o,{id:c,role:s,"aria-label":this.label,class:Object.assign({},a.class())},t(k,Object.assign({},x,{class:Object.assign(Object.assign({},b.class()),b.modifier("color-".concat(this.color)).class()),part:"native",onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,ref:function(t){return e.buttonEl=t}}),this.isOnLoadEventDone&&this.src!==undefined?t("img",Object.assign({class:Object.assign({},d.class()),draggable:false,onDragStart:function(){return false},"aria-hidden":"true",src:this.src},this.imageInheritAttributes)):"",this.label!==undefined?t("span",{class:Object.assign({},h.class())},this.label):"",t("slot",null)))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}())}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,H as r,g as s}from"./p-2ccbe55a.js";import{_ as n,a as o}from"./p-43c9f5e9.js";import{c as a}from"./p-4573c419.js";import{f as h}from"./p-b8da005f.js";import{n as f,p as u}from"./p-ef6a64f4.js";import{i as c}from"./p-dd5e13d1.js";import{s as l,h as p}from"./p-e3e1d211.js";import{B as d}from"./p-ae86d0a0.js";import{d as b}from"./p-f385e205.js";import{i as m}from"./p-ad81b8ea.js";import{L as w}from"./p-b77e3348.js";import{d as g}from"./p-830d9e47.js";import{L as v}from"./p-44e7532c.js";import"./p-46251973.js";import"./p-a65354df.js";var y,j={exports:{}};y=j,function(t){var i,e=1e6,r="[big.js] ",s=r+"Invalid ",n=s+"decimal places",o=s+"rounding mode",a=r+"Division by zero",h={},f=void 0,u=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function c(t,i,e,r){var s=t.c;if(e===f&&(e=t.constructor.RM),0!==e&&1!==e&&2!==e&&3!==e)throw Error(o);if(i<1)r=3===e&&(r||!!s[0])||0===i&&(1===e&&s[0]>=5||2===e&&(s[0]>5||5===s[0]&&(r||s[1]!==f))),s.length=1,r?(t.e=t.e-i+1,s[0]=1):s[0]=t.e=0;else if(i<s.length){if(r=1===e&&s[i]>=5||2===e&&(s[i]>5||5===s[i]&&(r||s[i+1]!==f||1&s[i-1]))||3===e&&(r||!!s[0]),s.length=i,r)for(;++s[--i]>9;)if(s[i]=0,0===i){++t.e,s.unshift(1);break}for(i=s.length;!s[--i];)s.pop()}return t}function l(t,i,e){var r=t.e,s=t.c.join(""),n=s.length;if(i)s=s.charAt(0)+(n>1?"."+s.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;)s="0"+s;s="0."+s}else if(r>0)if(++r>n)for(r-=n;r--;)s+="0";else r<n&&(s=s.slice(0,r)+"."+s.slice(r));else n>1&&(s=s.charAt(0)+"."+s.slice(1));return t.s<0&&e?"-"+s:s}h.abs=function(){var t=new this.constructor(this);return t.s=1,t},h.cmp=function(t){var i,e=this,r=e.c,s=(t=new e.constructor(t)).c,n=e.s,o=t.s,a=e.e,h=t.e;if(!r[0]||!s[0])return r[0]?n:s[0]?-o:0;if(n!=o)return n;if(i=n<0,a!=h)return a>h^i?1:-1;for(o=(a=r.length)<(h=s.length)?a:h,n=-1;++n<o;)if(r[n]!=s[n])return r[n]>s[n]^i?1:-1;return a==h?0:a>h^i?1:-1},h.div=function(t){var i=this,r=i.constructor,s=i.c,o=(t=new r(t)).c,h=i.s==t.s?1:-1,u=r.DP;if(u!==~~u||u<0||u>e)throw Error(n);if(!o[0])throw Error(a);if(!s[0])return t.s=h,t.c=[t.e=0],t;var l,p,d,b,m,w=o.slice(),g=l=o.length,v=s.length,y=s.slice(0,l),j=y.length,k=t,x=k.c=[],E=0,_=u+(k.e=i.e-t.e)+1;for(k.s=h,h=_<0?0:_,w.unshift(0);j++<l;)y.push(0);do{for(d=0;d<10;d++){if(l!=(j=y.length))b=l>j?1:-1;else for(m=-1,b=0;++m<l;)if(o[m]!=y[m]){b=o[m]>y[m]?1:-1;break}if(!(b<0))break;for(p=j==l?o:w;j;){if(y[--j]<p[j]){for(m=j;m&&!y[--m];)y[m]=9;--y[m],y[j]+=10}y[j]-=p[j]}for(;!y[0];)y.shift()}x[E++]=b?d:++d,y[0]&&b?y[j]=s[g]||0:y=[s[g]]}while((g++<v||y[0]!==f)&&h--);return x[0]||1==E||(x.shift(),k.e--,_--),E>_&&c(k,_,r.RM,y[0]!==f),k},h.eq=function(t){return 0===this.cmp(t)},h.gt=function(t){return this.cmp(t)>0},h.gte=function(t){return this.cmp(t)>-1},h.lt=function(t){return this.cmp(t)<0},h.lte=function(t){return this.cmp(t)<1},h.minus=h.sub=function(t){var i,e,r,s,n=this,o=n.constructor,a=n.s,h=(t=new o(t)).s;if(a!=h)return t.s=-h,n.plus(t);var f=n.c.slice(),u=n.e,c=t.c,l=t.e;if(!f[0]||!c[0])return c[0]?t.s=-h:f[0]?t=new o(n):t.s=1,t;if(a=u-l){for((s=a<0)?(a=-a,r=f):(l=u,r=c),r.reverse(),h=a;h--;)r.push(0);r.reverse()}else for(e=((s=f.length<c.length)?f:c).length,a=h=0;h<e;h++)if(f[h]!=c[h]){s=f[h]<c[h];break}if(s&&(r=f,f=c,c=r,t.s=-t.s),(h=(e=c.length)-(i=f.length))>0)for(;h--;)f[i++]=0;for(h=i;e>a;){if(f[--e]<c[e]){for(i=e;i&&!f[--i];)f[i]=9;--f[i],f[e]+=10}f[e]-=c[e]}for(;0===f[--h];)f.pop();for(;0===f[0];)f.shift(),--l;return f[0]||(t.s=1,f=[l=0]),t.c=f,t.e=l,t},h.mod=function(t){var i,e=this,r=e.constructor,s=e.s,n=(t=new r(t)).s;if(!t.c[0])throw Error(a);return e.s=t.s=1,i=1==t.cmp(e),e.s=s,t.s=n,i?new r(e):(s=r.DP,n=r.RM,r.DP=r.RM=0,e=e.div(t),r.DP=s,r.RM=n,this.minus(e.times(t)))},h.neg=function(){var t=new this.constructor(this);return t.s=-t.s,t},h.plus=h.add=function(t){var i,e,r,s=this,n=s.constructor;if(t=new n(t),s.s!=t.s)return t.s=-t.s,s.minus(t);var o=s.e,a=s.c,h=t.e,f=t.c;if(!a[0]||!f[0])return f[0]||(a[0]?t=new n(s):t.s=s.s),t;if(a=a.slice(),i=o-h){for(i>0?(h=o,r=f):(i=-i,r=a),r.reverse();i--;)r.push(0);r.reverse()}for(a.length-f.length<0&&(r=f,f=a,a=r),i=f.length,e=0;i;a[i]%=10)e=(a[--i]=a[i]+f[i]+e)/10|0;for(e&&(a.unshift(e),++h),i=a.length;0===a[--i];)a.pop();return t.c=a,t.e=h,t},h.pow=function(t){var i=this,e=new i.constructor("1"),r=e,n=t<0;if(t!==~~t||t<-1e6||t>1e6)throw Error(s+"exponent");for(n&&(t=-t);1&t&&(r=r.times(i)),t>>=1;)i=i.times(i);return n?e.div(r):r},h.prec=function(t,i){if(t!==~~t||t<1||t>e)throw Error(s+"precision");return c(new this.constructor(this),t,i)},h.round=function(t,i){if(t===f)t=0;else if(t!==~~t||t<-e||t>e)throw Error(n);return c(new this.constructor(this),t+this.e+1,i)},h.sqrt=function(){var t,i,e,s=this,n=s.constructor,o=s.s,a=s.e,h=new n("0.5");if(!s.c[0])return new n(s);if(o<0)throw Error(r+"No square root");0===(o=Math.sqrt(s+""))||o===1/0?((i=s.c.join("")).length+a&1||(i+="0"),a=((a+1)/2|0)-(a<0||1&a),t=new n(((o=Math.sqrt(i))==1/0?"5e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+a)):t=new n(o+""),a=t.e+(n.DP+=4);do{t=h.times((e=t).plus(s.div(e)))}while(e.c.slice(0,a).join("")!==t.c.slice(0,a).join(""));return c(t,(n.DP-=4)+t.e+1,n.RM)},h.times=h.mul=function(t){var i,e=this,r=e.c,s=(t=new(0,e.constructor)(t)).c,n=r.length,o=s.length,a=e.e,h=t.e;if(t.s=e.s==t.s?1:-1,!r[0]||!s[0])return t.c=[t.e=0],t;for(t.e=a+h,n<o&&(i=r,r=s,s=i,h=n,n=o,o=h),i=new Array(h=n+o);h--;)i[h]=0;for(a=o;a--;){for(o=0,h=n+a;h>a;)o=i[h]+s[a]*r[h-a-1]+o,i[h--]=o%10,o=o/10|0;i[h]=o}for(o?++t.e:i.shift(),a=i.length;!i[--a];)i.pop();return t.c=i,t},h.toExponential=function(t,i){var r=this,s=r.c[0];if(t!==f){if(t!==~~t||t<0||t>e)throw Error(n);for(r=c(new r.constructor(r),++t,i);r.c.length<t;)r.c.push(0)}return l(r,!0,!!s)},h.toFixed=function(t,i){var r=this,s=r.c[0];if(t!==f){if(t!==~~t||t<0||t>e)throw Error(n);for(t=t+(r=c(new r.constructor(r),t+r.e+1,i)).e+1;r.c.length<t;)r.c.push(0)}return l(r,!1,!!s)},h.toJSON=h.toString=function(){var t=this,i=t.constructor;return l(t,t.e<=i.NE||t.e>=i.PE,!!t.c[0])},h.toNumber=function(){var t=Number(l(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(t.toString()))throw Error(r+"Imprecise conversion");return t},h.toPrecision=function(t,i){var r=this,n=r.constructor,o=r.c[0];if(t!==f){if(t!==~~t||t<1||t>e)throw Error(s+"precision");for(r=c(new n(r),t,i);r.c.length<t;)r.c.push(0)}return l(r,t<=r.e||r.e<=n.NE||r.e>=n.PE,!!o)},h.valueOf=function(){var t=this,i=t.constructor;if(!0===i.strict)throw Error(r+"valueOf disallowed");return l(t,t.e<=i.NE||t.e>=i.PE,!0)},(i=function t(){function i(e){var r=this;if(!(r instanceof i))return e===f?t():new i(e);if(e instanceof i)r.s=e.s,r.e=e.e,r.c=e.c.slice();else{if("string"!=typeof e){if(!0===i.strict&&"bigint"!=typeof e)throw TypeError(s+"value");e=0===e&&1/e<0?"-0":String(e)}!function(t,i){var e,r,n;if(!u.test(i))throw Error(s+"number");for(t.s="-"==i.charAt(0)?(i=i.slice(1),-1):1,(e=i.indexOf("."))>-1&&(i=i.replace(".","")),(r=i.search(/e/i))>0?(e<0&&(e=r),e+=+i.slice(r+1),i=i.substring(0,r)):e<0&&(e=i.length),n=i.length,r=0;r<n&&"0"==i.charAt(r);)++r;if(r==n)t.c=[t.e=0];else{for(;n>0&&"0"==i.charAt(--n););for(t.e=e-r-1,t.c=[],e=0;r<=n;)t.c[e++]=+i.charAt(r++)}}(r,e)}r.constructor=i}return i.prototype=h,i.DP=20,i.RM=1,i.NE=-7,i.PE=21,i.strict=!1,i.roundDown=0,i.roundHalfUp=1,i.roundHalfEven=2,i.roundUp=3,i}()).default=i.Big=i,y.exports?y.exports=i:t.Big=i}(a);const k=j.exports,x=class{constructor(e){t(this,e),this.balChange=i(this,"balChange",7),this.balInput=i(this,"balInput",7),this.balIncrease=i(this,"balIncrease",7),this.balDecrease=i(this,"balDecrease",7),this.balFocus=i(this,"balFocus",7),this.balBlur=i(this,"balBlur",7),this.inputId="bal-input-stepper-"+E++,this.inheritedAttributes={},this.decreaseHasFocus=!1,this.increaseHasFocus=!1,this.initialValue=0,this.onFocusDecrease=t=>{this.decreaseHasFocus=!0,this.onFocus(t)},this.onFocusIncrease=t=>{this.increaseHasFocus=!0,this.onFocus(t)},this.onFocus=t=>{l(t),this.balFocus.emit(t.detail)},this.onBlurDecrease=t=>{l(t),this.decreaseHasFocus=!1,f((()=>this.onBlur(t.detail)))},this.onBlurIncrease=t=>{l(t),this.increaseHasFocus=!1,f((()=>this.onBlur(t.detail)))},this.onBlur=t=>{this.decreaseHasFocus||this.increaseHasFocus||this.balBlur.emit(t)},this.focused=!1,this.language=g.language,this.region=g.region,this.ariaForm=b,this.name=this.inputId,this.min=0,this.max=10,this.steps=1,this.disabled=!1,this.readonly=!1,this.invalid=!1,this.debounce=0,this.value=0,this.autoInvalidOff=!1}createLogger(t){this.log=t}debounceChanged(){this.balChange=u(this.balChange,this.debounce)}listenOnClick(t){p(this,t)}resetHandler(t){const i=t.target;(null==i?void 0:i.contains(this.el))&&(this.value=this.initialValue)}connectedCallback(){this.debounceChanged(),this.initialValue=this.value}componentWillLoad(){this.inheritedAttributes=c(this.el,["aria-label","tabindex","title"])}async configChanged(t){this.language=t.language,this.region=t.region}getInputElement(){return Promise.resolve(this.nativeInput)}async setAriaForm(t){this.ariaForm=Object.assign({},t)}increase(){if(!this.disabled&&!this.readonly){const t=new k(this.value).plus(this.steps).toNumber();t<=this.max&&(this.value=t,this.balInput.emit(t),this.balChange.emit(t),this.balIncrease.emit(t))}}decrease(){if(!this.disabled&&!this.readonly){const t=new k(this.value).minus(this.steps).toNumber();t>=this.min&&(this.value=t,this.balInput.emit(t),this.balChange.emit(t),this.balDecrease.emit(t))}}render(){const t=d.block("input-stepper"),i=t.element("input"),s=t.element("inner"),n=s.element("text"),o=m[this.language].increase,a=m[this.language].decrease;return e(r,{key:"dfab36b5eddcafb9735e2f0864ea193dcded0ed0","aria-disabled":this.disabled?"true":null,"aria-focused":this.focused?"true":null,class:Object.assign({},t.class())},e("div",{key:"995012f045bff801123eb570e9e15a325887fe44",class:Object.assign({},s.class())},e("bal-button",{key:"00be7e79c60caca77ec9da3afbbcff9366d62ce2",aria:{title:a,label:a,controls:this.ariaForm.controlId||this.inputId},size:"small",square:!0,"data-testid":"bal-input-stepper-decrease",outlined:!this.invalid,icon:"minus",color:this.invalid?"danger":"info",disabled:this.disabled||this.readonly||this.value<=this.min,onClick:()=>this.decrease(),onBalFocus:t=>this.onFocusDecrease(t),onBalBlur:t=>this.onBlurDecrease(t)}),e("bal-text",{key:"58a83c975658a26b268fdaa01ec5755648232052",space:"none",color:this.disabled||this.readonly?"grey":this.invalid?"danger":"",bold:!0,class:Object.assign({},n.class()),"data-testid":"bal-input-stepper-text"},h(this.value)),e("bal-button",{key:"65067189b64d42fa3b06cb9b128c60b9d68a481d",aria:{title:o,label:o,controls:this.ariaForm.controlId||this.inputId},size:"small","data-testid":"bal-input-stepper-increase",square:!0,outlined:!this.invalid,icon:"plus",color:this.invalid?"danger":"info",disabled:this.disabled||this.readonly||this.value>=this.max,onClick:()=>this.increase(),onBalFocus:t=>this.onFocusIncrease(t),onBalBlur:t=>this.onBlurIncrease(t)})),e("input",Object.assign({key:"609736bcab366e2276240d35c1d39369fa31d066",class:Object.assign({},i.class()),id:this.ariaForm.controlId||this.inputId,"aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,"aria-invalid":!0===this.invalid?"true":"false","aria-disabled":this.disabled?"true":null,"data-testid":"bal-input-stepper",type:"text",value:this.value,name:this.name,tabindex:"-1",ref:t=>this.nativeInput=t,readonly:this.readonly,disabled:this.disabled},this.inheritedAttributes)))}get el(){return s(this)}static get watchers(){return{debounce:["debounceChanged"]}}};n([w("bal-input-stepper"),o("design:type",Function),o("design:paramtypes",[Function]),o("design:returntype",void 0)],x.prototype,"createLogger",null),n([v(),o("design:type",Function),o("design:paramtypes",[Object]),o("design:returntype",Promise)],x.prototype,"configChanged",null);let E=0;x.style=".bal-input-stepper{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:static;display:inline-block}.bal-input-stepper__inner{display:-ms-flexbox;display:flex;gap:.25rem;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.bal-input-stepper__inner__text{min-width:3rem;text-align:center}.bal-input-stepper__input{position:absolute;width:0;height:0;left:0;top:0;margin:0;padding:0;opacity:0;outline:0}";export{x as bal_input_stepper}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,c as o,h as e,H as b,g as c}from"./p-2ccbe55a.js";import{_ as l,a as r}from"./p-43c9f5e9.js";import{j as i,v as d}from"./p-ef6a64f4.js";import{B as h}from"./p-ae86d0a0.js";import{F as t}from"./p-ca119357.js";import{L as k}from"./p-b77e3348.js";import{i as x}from"./p-dd5e13d1.js";import{s}from"./p-e3e1d211.js";import{d as n}from"./p-f385e205.js";import{d as _}from"./p-dc98854c.js";import{L as v}from"./p-4d7c0d39.js";import{L as u}from"./p-ca3bb9ce.js";import"./p-a65354df.js";import"./p-46251973.js";import"./p-acf222fd.js";const g=class{constructor(e){a(this,e),this.balFocus=o(this,"balFocus",7),this.balBlur=o(this,"balBlur",7),this.balChange=o(this,"balChange",7),this.inputId="bal-rb-"+f++,this.inheritedAttributes={},this.keyboardMode=!0,this.onKeypress=a=>{if(_(a)){const o=a.target;if(o.href)return;"INPUT"!==o.nodeName||this.disabled||this.readonly?s(a):(this.toggleChecked(),a.preventDefault())}},this.onClick=a=>{var o;const e=a.target;e.href||("INPUT"===e.nodeName||this.disabled||this.readonly?s(a):(this.toggleChecked(),null===(o=this.nativeInput)||void 0===o||o.focus(),a.preventDefault()))},this.onFocus=a=>{if(this.disabled||this.readonly)return this.focused=!1,s(a);this.balFocus.emit(a),this.keyboardMode&&(this.focused=!0)},this.onBlur=a=>{if(this.disabled||this.readonly)return s(a);this.balBlur.emit(a),this.focused=!1},this.onPointerDown=()=>this.keyboardMode=!1,this.onKeydown=a=>this.keyboardMode=t.includes(a.key),this.checked=!1,this.focused=!1,this.buttonTabindex=void 0,this.ariaForm=n,this.name=this.inputId,this.value=void 0,this.label="",this.invisible=!1,this.labelHidden=!1,this.flat=!1,this.interface="radio",this.disabled=!1,this.readonly=!1,this.required=!1,this.nonSubmit=!1,this.invalid=!1,this.hovered=!1,this.pressed=!1}createLogger(a){this.log=a}connectedCallback(){void 0===this.value&&(this.value=this.inputId);const a=this.radioGroup;(this.radioButton||a)&&this.updateState(),a&&a.addEventListener("balInput",this.updateState),this.el.addEventListener("keydown",this.onKeydown),this.el.addEventListener("touchstart",this.onPointerDown),this.el.addEventListener("mousedown",this.onPointerDown)}componentWillLoad(){this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"])}disconnectedCallback(){const a=this.radioGroup;a&&a.removeEventListener("balInput",this.updateState),this.el.removeEventListener("keydown",this.onKeydown),this.el.removeEventListener("touchstart",this.onPointerDown),this.el.removeEventListener("mousedown",this.onPointerDown)}listenOnClick(a){(this.disabled||this.readonly)&&a.target&&(a.target===this.el||i(this.el,a.target))&&s(a)}async setFocus(a){a.stopPropagation(),a.preventDefault(),this.nativeInput.focus(),this.focused=!0}async setButtonTabindex(a){this.buttonTabindex=this.radioButton?-1:a}async getInputElement(){return Promise.resolve(this.nativeInput)}async getOption(){return this.option}async updateState(){if(this.radioGroup){const a=this.radioGroup.value===this.value;a!==this.checked&&(this.checked=a)}this.radioButton&&(this.buttonTabindex=-1,this.radioButton.setChecked&&this.radioButton.setChecked(this.checked))}async setAriaForm(a){this.ariaForm=Object.assign({},a)}get radioButton(){return this.el.closest("bal-radio-button")}get radioGroup(){return this.el.closest("bal-radio-group")}get option(){return{name:this.name,value:this.value,label:this.label,labelHidden:this.labelHidden,flat:this.flat,interface:this.interface,disabled:this.disabled,readonly:this.readonly,required:this.required,nonSubmit:this.nonSubmit,invisible:this.invisible,invalid:this.invalid}}toggleChecked(){this.checked=!this.checked,this.balChange.emit(this.checked),this.updateState()}render(){const a=h.block("radio-checkbox"),o=a.element("input"),c=a.element("label"),l=c.element("text"),r=this.focused&&-1!==this.buttonTabindex,i="boolean"==typeof this.value?JSON.stringify(this.value):this.value,d=this.inheritedAttributes;void 0!==this.buttonTabindex&&(d.tabIndex=this.buttonTabindex);const t=this.ariaForm.controlId||this.inputId;let k=this.ariaForm.labelId||null;const x=this.labelHidden?"span":"label",s={};return this.labelHidden||(k=`${k||""} ${t}-lbl`.trim(),s.id=`${t}-lbl`,s.htmlFor=t),e(b,{key:"058d9b48247c0989348d58117017753092fa6afa","aria-checked":`${this.checked}`,"aria-disabled":this.disabled?"true":null,"aria-hidden":this.disabled?"true":null,"aria-focused":r?"true":null,class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"bal-focused":r},a.class()),a.modifier("radio").class()),a.modifier("select-button").class("select-button"===this.interface)),a.modifier("invalid").class(this.invalid)),a.modifier("checked").class(this.checked)),a.modifier("flat").class(this.flat)),a.modifier("disabled").class(this.disabled||this.readonly)),a.modifier("hovered").class(this.hovered)),a.modifier("pressed").class(this.pressed)),a.modifier("invisible").class(this.invisible)),onKeypress:this.onKeypress,onClick:this.onClick},e("input",Object.assign({key:"4c935cb7f8a25f77afaea78b0a8e311166e44067",class:Object.assign(Object.assign({},o.class()),o.modifier("select-button").class("select-button"===this.interface)),"data-testid":"bal-radio-input",type:"radio",id:t,"aria-labelledby":k,"aria-describedby":this.ariaForm.messageId,"aria-invalid":!0===this.invalid?"true":"false","aria-disabled":this.disabled?"true":null,"aria-checked":`${this.checked}`,name:this.name,value:i,checked:this.checked,disabled:this.disabled||this.nonSubmit,readonly:this.readonly,required:this.required,onFocus:this.onFocus,onBlur:this.onBlur,ref:a=>this.nativeInput=a},d)),this.invisible?"":e(x,Object.assign({class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},c.class()),c.modifier("radio").class()),c.modifier("checked").class(this.checked)),c.modifier("hidden").class(this.labelHidden)),c.modifier("flat").class(this.flat))},s,{"data-testid":"bal-radio-label"}),e("span",{class:Object.assign(Object.assign(Object.assign({},l.class()),l.modifier("hidden").class(this.labelHidden)),l.modifier("flat").class(this.flat)),"data-testid":"bal-radio-text"},this.label,e("slot",null))))}get el(){return c(this)}};l([k("bal-radio"),r("design:type",Function),r("design:paramtypes",[Function]),r("design:returntype",void 0)],g.prototype,"createLogger",null);let f=0;g.style='@media (hover: hover)and (pointer: fine){.bal-radio-checkbox.bal-focused .bal-radio-checkbox__input:not(.bal-radio-checkbox__input--select-button)+.bal-radio-checkbox__label::before,.bal-radio-checkbox.bal-focused.bal-radio-checkbox--select-button{-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}:root{--bal-radio-checkbox-symbol-size:1.5rem;--bal-radio-checkbox-symbol-width:calc(0.5rem - 1px);--bal-radio-checkbox-symbol-height:calc(0.875rem - 1px);--bal-radio-checkbox-symbol-left:calc(0.5rem + 1px);--bal-radio-checkbox-symbol-margin-top:0.25rem;--bal-radio-checkbox-label-min-height:1.5rem;--bal-radio-checkbox-select-button-background-hover:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-checked:var(--bal-color-primary);--bal-radio-checkbox-select-button-background-checked-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-background-checked-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-background-invalid:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-hover:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-active:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-background-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-background-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-background-disabled-hover-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-before:var(--bal-color-primary-1);--bal-radio-checkbox-switch-label-background-after:var(--bal-color-primary);--bal-radio-checkbox-switch-label-background-hover-after:var(--bal-color-light-blue-5);--bal-radio-checkbox-switch-label-background-active-after:var(--bal-color-primary-6);--bal-radio-checkbox-switch-label-background-checked-before:var(--bal-color-success-4);--bal-radio-checkbox-switch-label-background-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-checked-hover-before:var(--bal-color-success-5);--bal-radio-checkbox-switch-label-background-checked-active-before:var(--bal-color-success-6);--bal-radio-checkbox-switch-label-background-invalid-before:var(--bal-color-danger-1);--bal-radio-checkbox-switch-label-background-invalid-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-hover-after:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-invalid-active-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-checked-before:var(--bal-color-danger-4);--bal-radio-checkbox-switch-label-background-invalid-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before:var(--bal-color-danger-5);--bal-radio-checkbox-switch-label-background-invalid-checked-active-before:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-disabled-hover-active-before:var(--bal-color-grey-3);--bal-radio-checkbox-switch-label-background-disabled-hover-active-after:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after:var(--bal-color-white);--bal-radio-checkbox-button-background:transparent;--bal-radio-checkbox-button-background-checked-green:var(--bal-color-green-1);--bal-radio-checkbox-button-background-checked-purple:var(--bal-color-purple-1);--bal-radio-checkbox-button-background-checked-red:var(--bal-color-red-1);--bal-radio-checkbox-button-background-checked-yellow:var(--bal-color-yellow-1);--bal-radio-checkbox-button-background-disabled:var(--bal-color-grey-1);--bal-radio-checkbox-button-background-hover:var(--bal-color-grey-1);--bal-radio-checkbox-select-button-border-color:var(--bal-color-primary);--bal-radio-checkbox-select-button-border-color-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-border-color-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-border-color-invalid:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-disabled-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-hover:var(--bal-color-border-primary-hovered);--bal-radio-checkbox-button-border-color-active:var(--bal-color-border-primary-pressed);--bal-radio-checkbox-button-border-color-invalid-hover:var(--bal-color-border-danger-hovered);--bal-radio-checkbox-button-border-color-invalid-active:var(--bal-color-border-danger-pressed);--bal-radio-checkbox-button-border-color:var(--bal-color-border);--bal-radio-checkbox-button-border-color-checked:var(--bal-color-border-primary);--bal-radio-checkbox-button-border-color-disabled:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-invalid:var(--bal-color-border-danger)}bal-radio .bal-radio-checkbox__label::before,bal-radio .bal-radio-checkbox__label::after{margin-top:0px !important}.bal-radio-checkbox-group{display:inline-block;position:relative;width:100%}.bal-radio-checkbox-group__inner{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:stretch;align-items:stretch;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--bal-space-normal)}.bal-radio-checkbox-group__inner--select-button{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex:1;flex:1;gap:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-radio-checkbox-group__inner--select-button{-ms-flex-direction:row;flex-direction:row}}.bal-radio-checkbox-group__inner--expanded{-ms-flex-align:stretch;align-items:stretch}.bal-radio-checkbox-group__inner--expanded .bal-radio-checkbox{-ms-flex:1;flex:1}@media screen and (max-width: 768px){.bal-radio-checkbox-group__inner--expanded .bal-radio-checkbox{width:100%}}.bal-radio-checkbox-group__inner--select-button.bal-radio-checkbox-group__inner--vertical{gap:var(--bal-space-x-small)}.bal-radio-checkbox-group__inner--vertical{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}@media screen and (min-width: 769px),print{.bal-radio-checkbox-group__inner--vertical{-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width: 768px){.bal-radio-checkbox-group__inner--vertical-mobile{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}}.bal-radio-checkbox{position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;outline:none;min-width:1.5rem;min-height:3rem}.bal-radio-checkbox--flat:not(.bal-radio-checkbox--select-button){min-height:1.5rem}.bal-radio-checkbox__input{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-radio-checkbox--invisible{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-radio-checkbox:not(.bal-radio-checkbox--disabled),.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input,.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input+label,.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input+label>span{cursor:pointer}.bal-radio-checkbox__label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0;line-height:1.5rem;contain:layout style;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:left;min-height:var(--bal-radio-checkbox-label-min-height);font-family:var(--bal-font-family-text)}.bal-radio-checkbox__label__text{padding-left:2rem;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;padding-top:.25rem;padding-bottom:.25rem}.bal-radio-checkbox__label__text--hidden{padding-left:0;display:none}.bal-radio-checkbox__label__text--flat{padding-top:0;padding-bottom:0}.bal-radio-checkbox__label--flat:not(.bal-radio-checkbox--select-button)::before,.bal-radio-checkbox__label--flat:not(.bal-radio-checkbox--select-button)::after{top:0px !important}.bal-radio-checkbox__label--hidden::before,.bal-radio-checkbox__label--hidden::after{top:0px !important}.bal-radio-checkbox__label::before,.bal-radio-checkbox__label::after{display:inline-block;position:absolute;left:0;top:.25rem;height:var(--bal-radio-checkbox-symbol-size);width:var(--bal-radio-checkbox-symbol-size);background-color:rgba(0,0,0,0);background-position:center;background-repeat:no-repeat;background-size:var(--bal-radio-checkbox-symbol-size) var(--bal-radio-checkbox-symbol-size)}.bal-radio-checkbox__label::before{content:"";border-style:var(--bal-form-field-control-border-style);border-width:2px}.bal-radio-checkbox__label::after{content:none}.bal-radio-checkbox__label--checked::after{content:""}.bal-radio-checkbox__label--radio::before,.bal-radio-checkbox__label--radio::after{border-radius:50%}.bal-radio-checkbox__label--radio::after{left:0;-webkit-transform:scale(0.25);transform:scale(0.25)}.bal-radio-checkbox__label--checkbox::before{border-radius:var(--bal-form-field-control-radius)}.bal-radio-checkbox__label--checkbox::after{border-top:0;border-right-style:var(--bal-form-field-control-border-style);border-right-width:2px;border-bottom-style:var(--bal-form-field-control-border-style);border-bottom-width:2px;border-left:0;border-radius:1px;width:var(--bal-radio-checkbox-symbol-width);height:var(--bal-radio-checkbox-symbol-height);left:var(--bal-radio-checkbox-symbol-left);margin-top:var(--bal-radio-checkbox-symbol-margin-top);-webkit-transform:rotate(45deg);transform:rotate(45deg)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-primary);background:var(--bal-color-transparent)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-light-blue-5);background:var(--bal-color-grey-2)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-blue-6);background:var(--bal-color-grey-2)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-border-danger);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-danger-5);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-danger-6);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-border-grey-dark);background:var(--bal-color-grey-2)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-primary)}.bal-radio-checkbox:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-light-blue-5)}.bal-radio-checkbox:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-blue-6)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-danger-6)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-text-grey)}.bal-radio-checkbox--inline{display:inline}.bal-radio-checkbox--select-button{padding-left:.75rem;padding-right:.75rem;min-width:3rem;border-width:2px;border-style:var(--bal-form-field-control-border-style);border-radius:var(--bal-form-field-control-radius);border-color:var(--bal-radio-checkbox-select-button-border-color)}.bal-radio-checkbox--select-button:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-hover);background:var(--bal-radio-checkbox-select-button-background-hover)}.bal-radio-checkbox--select-button:active{border-color:var(--bal-radio-checkbox-select-button-border-color-active);background:var(--bal-radio-checkbox-select-button-background-active)}.bal-radio-checkbox--select-button label::before{top:unset}.bal-radio-checkbox--select-button label::after{top:unset;margin-top:-3px}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat::before{top:unset !important}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat::after{margin-top:-3px;top:unset !important}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat .bal-radio-checkbox__label__text--flat{padding-top:.25rem;padding-bottom:.25rem}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked{background:var(--bal-radio-checkbox-select-button-background-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-radio-checkbox-select-button-link-text-color-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover{background:var(--bal-radio-checkbox-select-button-background-checked-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active{background:var(--bal-radio-checkbox-select-button-background-checked-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid);background:var(--bal-radio-checkbox-select-button-background-invalid)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-form-field-label-danger-color)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-hover);background:var(--bal-radio-checkbox-select-button-background-invalid-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid:active{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-active);background:var(--bal-radio-checkbox-select-button-background-invalid-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked);background:var(--bal-radio-checkbox-select-button-background-invalid-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked-hover);background:var(--bal-radio-checkbox-select-button-background-invalid-checked-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked-active);background:var(--bal-radio-checkbox-select-button-background-invalid-checked-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:hover,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:active{border-color:var(--bal-radio-checkbox-select-button-border-color-disabled-hover-active);background:var(--bal-radio-checkbox-select-button-background-disabled-hover-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-form-field-label-disabled-color)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active{border-color:var(--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active);background:var(--bal-radio-checkbox-select-button-background-disabled-checked-hover-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--switch{min-width:2.5rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label{padding-left:1rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label::before{border-radius:1.5rem;position:absolute;display:block;top:0;left:0;width:2.5rem;height:1.5rem;border:1.6px solid rgba(0,0,0,0);content:"";-webkit-transition:left .25s ease-out,background .25s ease-out;transition:left .25s ease-out,background .25s ease-out;margin-top:.25rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label::after{border:none;margin:0;border-radius:50%;display:block;position:absolute;top:.25rem !important;left:.25rem;width:1rem;height:1rem;z-index:2;margin-top:.25rem;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:left .25s ease-out,background .25s ease-out;transition:left .25s ease-out,background .25s ease-out;content:""}.bal-radio-checkbox--switch .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-before)}.bal-radio-checkbox--switch .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-after)}.bal-radio-checkbox--switch:hover .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-hover-after)}.bal-radio-checkbox--switch:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--flat .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--flat .bal-radio-checkbox__label::after{margin-top:0}.bal-radio-checkbox--switch.bal-radio-checkbox--checked .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked .bal-radio-checkbox__label::after{left:1.25rem;background:var(--bal-radio-checkbox-switch-label-background-checked-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-hover-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-hover-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-disabled-hover-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-disabled-hover-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after)}.bal-radio-checkbox__icon{position:absolute !important;left:5.5px;z-index:1}.bal-radio-checkbox__icon--hidden{display:none !important}';const w=class{constructor(e){a(this,e),this.balChange=o(this,"balChange",7),this.balFocus=o(this,"balFocus",7),this.balBlur=o(this,"balBlur",7),this.inputId="bal-rg-"+p++,this.inheritedAttributes={},this.hasFocus=!1,this.mutationObserverActive=!0,this.onOptionChange=async()=>{this.setRadioTabindex(this.value),this.setRadioChecked()},this.setRadioTabindex=a=>{const o=this.getRadios(),e=o.find((a=>!a.disabled)),b=o.find((o=>o.value===a&&!o.disabled));if(!e&&!b)return;const c=b||e;for(const a of o)a.setButtonTabindex(a===c?0:-1)},this.onClick=a=>{if(a.target.href)return;a.preventDefault();const o=a.target&&a.target.closest("bal-radio");if(o&&!o.disabled&&!o.readonly){const a=o.value;a!==this.value?this.value=a:this.allowEmptySelection&&(this.value=void 0),this.balChange.emit(this.value)}},this.ariaForm=n,this.options=void 0,this.allowEmptySelection=!1,this.name=this.inputId,this.value=void 0,this.interface=void 0,this.vertical=!1,this.verticalOnMobile=!1,this.expanded=!1,this.invalid=void 0,this.disabled=void 0,this.readonly=void 0,this.grid=1,this.columnsTablet=1,this.columnsMobile=1,this.autoInvalidOff=!1}createLogger(a){this.log=a}async optionChanged(){this.onOptionChange(),this.mutationObserverActive=void 0===this.options}valueChanged(){this.onOptionChange()}invalidChanged(a){void 0!==a&&(this.getRadios().forEach((o=>{o.invalid=a})),this.getRadioButtons().forEach((o=>{o.invalid=a})))}disabledChanged(a){void 0!==a&&(this.getRadios().forEach((o=>{o.disabled=a})),this.getRadioButtons().forEach((o=>{o.disabled=a})))}readonlyChanged(a){void 0!==a&&(this.getRadios().forEach((o=>{o.readonly=a})),this.getRadioButtons().forEach((o=>{o.readonly=a})))}columnsChanged(a){this.getRadioButtons().forEach((o=>o.colSize=a))}columnsTabletChanged(a){this.getRadioButtons().forEach((o=>o.colSizeTablet=a))}columnsMobileChanged(a){this.getRadioButtons().forEach((o=>o.colSizeMobile=a))}connectedCallback(){this.initialValue=this.value,this.mutationObserverActive=void 0===this.options}componentWillLoad(){this.setRadioInterface(),this.disabledChanged(this.disabled),this.readonlyChanged(this.readonly),this.invalidChanged(this.invalid),this.columnsChanged(this.grid),this.columnsTabletChanged(this.columnsTablet),this.columnsMobileChanged(this.columnsMobile),this.onOptionChange(),this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"])}focusInListener(a){this.balFocus.emit(a)}focusOutListener(a){this.balBlur.emit(a)}mutationListener(){this.setRadioInterface(),this.disabledChanged(this.disabled),this.readonlyChanged(this.readonly),this.invalidChanged(this.invalid),this.columnsChanged(this.grid),this.columnsTabletChanged(this.columnsTablet),this.columnsMobileChanged(this.columnsMobile),this.onOptionChange()}listenOnClick(a){i(this.el,a.target)&&s(a)}radioFocusListener(a){const{target:o}=a;o&&i(this.el,o)&&d(o,"bal-radio")&&s(a)}radioBlurListener(a){const{target:o}=a;o&&i(this.el,o)&&d(o,"bal-radio")&&s(a)}resetListener(a){const o=a.target;(null==o?void 0:o.contains(this.el))&&(this.value=this.initialValue)}onKeydown(a){if(a.target&&!this.el.contains(a.target))return;const o=this.getRadios().filter((a=>!a.disabled)),e=a.target.closest("bal-radio");if(e&&o.includes(e)){const b=o.findIndex((a=>a===e)),c=o[b];let l;["ArrowDown","ArrowRight"].includes(a.code)&&(l=b===o.length-1?o[0]:o[b+1]),["ArrowUp","ArrowLeft"].includes(a.code)&&(l=0===b?o[o.length-1]:o[b-1]),l&&o.includes(l)&&(l.setFocus(a),this.value=l.value,this.balChange.emit(this.value)),["Space"].includes(a.code)&&(this.value=this.allowEmptySelection&&void 0!==this.value?void 0:c.value,a.preventDefault())}}async setValue(a){this.value=a}async getOptionByValue(a){const o=this.options;if(o)return o.find((o=>o.value===a))}async setAriaForm(a){this.ariaForm=Object.assign({},a)}setRadioInterface(){this.getRadios().forEach((a=>{this.interface&&(a.interface=this.interface)}))}setRadioChecked(){this.getRadios().forEach((a=>{a.updateState&&a.updateState()}))}getRadios(){return Array.from(this.el.querySelectorAll("bal-radio"))}getRadioButtons(){return Array.from(this.el.querySelectorAll("bal-radio-button"))}render(){const a=h.block("radio-checkbox-group"),o=a.element("inner"),c=(this.options||[]).map((a=>"function"==typeof a.html?Object.assign(Object.assign({},a),{html:a.html()}):a));return e(b,Object.assign({class:Object.assign({},a.class()),role:"radiogroup","aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,"aria-disabled":this.disabled?"true":null,onClick:this.onClick},this.inheritedAttributes),e("div",{class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},o.class()),o.modifier("vertical-mobile").class(this.verticalOnMobile)),o.modifier("vertical").class(this.vertical)),o.modifier("expanded").class(this.expanded)),o.modifier("select-button").class("select-button"===this.interface))},e("slot",null),c.map((a=>e("bal-radio",{key:a.value,name:a.name||this.name,value:a.value,labelHidden:a.labelHidden,flat:a.flat,interface:a.interface,disabled:a.disabled,readonly:a.readonly,required:a.required,nonSubmit:!!a.nonSubmit,invalid:a.invalid,innerHTML:a.html})))))}get el(){return c(this)}static get watchers(){return{options:["optionChanged"],value:["valueChanged"],invalid:["invalidChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"],grid:["columnsChanged"],columnsTablet:["columnsTabletChanged"],columnsMobile:["columnsMobileChanged"]}}};l([k("bal-radio-group"),r("design:type",Function),r("design:paramtypes",[Function]),r("design:returntype",void 0)],w.prototype,"createLogger",null),l([v(),r("design:type",Function),r("design:paramtypes",[FocusEvent]),r("design:returntype",void 0)],w.prototype,"focusInListener",null),l([v(),r("design:type",Function),r("design:paramtypes",[FocusEvent]),r("design:returntype",void 0)],w.prototype,"focusOutListener",null),l([u({tags:["bal-radio-group","bal-radio"],attributes:!1,characterData:!1}),r("design:type",Function),r("design:paramtypes",[]),r("design:returntype",void 0)],w.prototype,"mutationListener",null);let p=0;export{g as bal_radio,w as bal_radio_group}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as a,g as e}from"./p-2ccbe55a.js";import{_ as h,a as o}from"./p-43c9f5e9.js";import{B as n,i as l}from"./p-1a094c1b.js";import{B as r}from"./p-ae86d0a0.js";import{L as d}from"./p-b77e3348.js";import{i as c}from"./p-dd5e13d1.js";import{s as p}from"./p-e3e1d211.js";import{p as b}from"./p-ef6a64f4.js";import{d as u}from"./p-f385e205.js";import{b as m}from"./p-35baa468.js";import{d as f}from"./p-dc98854c.js";import{d as y}from"./p-830d9e47.js";import{L as v}from"./p-44e7532c.js";import"./p-46251973.js";import"./p-a65354df.js";const g=class{constructor(s){t(this,s),this.balInput=i(this,"balInput",7),this.balChange=i(this,"balChange",7),this.balWillAnimate=i(this,"balWillAnimate",7),this.balDidAnimate=i(this,"balDidAnimate",7),this.balBlur=i(this,"balBlur",7),this.balFocus=i(this,"balFocus",7),this.balInputClick=i(this,"balInputClick",7),this.balIconClick=i(this,"balIconClick",7),this.balPopoverPrepare=i(this,"balPopoverPrepare",7),this.inputId="bal-da-"+w++,this.inheritedAttributes={},this.onIconClick=async()=>{this.triggerIcon?await this.toggle():await this.open()},this.onInputClick=async()=>{this.triggerIcon||await this.open()},this.onCalendarChange=t=>{p(t),this.value=t.detail,this.balChange.emit(this.value),this.closeOnSelect&&this.close()},this.onInputInput=t=>{if(p(t),this.balInput.emit(t.detail),t.detail){const i=n.fromAnyFormat(t.detail);i.isValid&&(this.calendarValue=i.toISODate())}},this.onInputChange=t=>{p(t),this.value=t.detail,this.balChange.emit(this.value)},this.onInputFocus=t=>{p(t),this.balFocus.emit(t.detail)},this.onInputBlur=t=>{p(t),this.balBlur.emit(t.detail)},this.onKeyPress=async({detail:t})=>{f(t)&&!this.triggerIcon&&(this.isExpanded?await this.close():await this.open())},this.isExpanded=!1,this.language=y.language,this.calendarValue=void 0,this.ariaForm=u,this.name=this.inputId,this.invalid=!1,this.required=!1,this.disabled=!1,this.readonly=!1,this.freeSolo=!1,this.placeholder=void 0,this.triggerIcon=!1,this.closeOnSelect=!0,this.autocomplete="off",this.value=void 0,this.min=void 0,this.max=void 0,this.minYearProp=void 0,this.maxYearProp=void 0,this.defaultDate=void 0,this.allowedDates=void 0,this.allowInvalidValue=!1,this.debounce=0,this.autoInvalidOff=!1}createLogger(t){this.log=t}valueChanged(){this.calendarValue=this.value}debounceChanged(){this.balChange=b(this.balChange,this.debounce)}connectedCallback(){this.valueChanged()}componentWillLoad(){this.inheritedAttributes=c(this.el,["aria-label","tabindex","title"])}async listenToKeydown(t){!this.isExpanded||"Escape"!==t.key&&"Esc"!==t.key||(t.preventDefault(),await this.close())}async listenOnKeyup(t){"Tab"===t.key&&!this.el.contains(document.activeElement)&&this.isExpanded&&await this.close()}async listenOnclick(t){this.isExpanded&&!this.el.contains(t.target)&&await this.close()}async listenOnPopoverPrepare(t){this.inputId!==t.detail&&await this.close()}async configChanged(t){this.language=t.language}async open(){return this.expand()}async close(){return this.collapse()}async toggle(){return this.isExpanded?this.collapse():this.expand()}async select(t){const i=n.fromISO(t);i.isValid&&(this.value=i.toISODate(),this.calendarValue=this.value)}async setFocus(){var t;null===(t=this.inputEl)||void 0===t||t.setFocus()}async setBlur(){var t;null===(t=this.inputEl)||void 0===t||t.setBlur()}async getInputElement(){var t;return null===(t=this.inputEl)||void 0===t?void 0:t.getInputElement()}async setAriaForm(t){var i;this.ariaForm=Object.assign({},t),null===(i=this.inputEl)||void 0===i||i.setAriaForm(t)}async expand(){if(this.referenceEl&&this.floatingEl){const t=await m.load();this.balPopoverPrepare.emit(this.inputId),this.balWillAnimate.emit(),this.isExpanded=!0,this.popupCleanup=t.autoUpdate(this.referenceEl,this.floatingEl,(()=>{this.updatePosition(this.referenceEl,this.floatingEl)}))}return this.isExpanded}async collapse(){return this.floatingEl&&(this.balWillAnimate.emit(),this.isExpanded=!1,this.popupCleanup&&this.popupCleanup(),this.balDidAnimate.emit()),this.isExpanded}async updatePosition(t,i){const s=await m.load();s.computePosition(t,i,{placement:"bottom-start",middleware:[s.offset(4),s.flip({crossAxis:!1})]}).then((({x:t,y:s})=>{Object.assign(i.style,{left:`${t}px`,top:`${s}px`}),this.balDidAnimate.emit()}))}render(){const t=r.block("date"),i=t.element("icon"),e=t.element("popup");return s(a,{key:"b795b526c8e86eb1f96ad07bc8d2f484b41f1f32",id:this.inputId,class:Object.assign({},t.class())},s("bal-input-group",{key:"4e4eeacea6fa61affc57ddae68036250d0ef76cc",invalid:this.invalid,readonly:this.readonly,disabled:this.disabled,ref:t=>this.referenceEl=t},s("bal-input-date",Object.assign({key:"311169f2038c5548cb4a1c182c0fb8a61e404fbb",name:this.name,required:this.required,placeholder:this.placeholder,value:this.value,min:this.min,max:this.max,invalid:this.invalid,readonly:this.readonly,disabled:this.disabled,allowInvalidValue:this.allowInvalidValue,autocomplete:this.autocomplete,onClick:this.onInputClick,onBalInput:this.onInputInput,onBalChange:this.onInputChange,onBalFocus:this.onInputFocus,onBalBlur:this.onInputBlur,onBalKeyPress:this.onKeyPress,ref:t=>this.inputEl=t},this.inheritedAttributes)),this.freeSolo?"":s("bal-icon",{name:"date",role:"button",tabindex:-1,class:Object.assign(Object.assign({},i.class()),i.modifier("clickable").class(!this.disabled&&!this.readonly)),"is-right":!0,color:this.disabled||this.readonly?"grey":this.invalid?"danger":"primary",onClick:this.onIconClick,"aria-label":l[this.language].toggleDatepicker,"aria-haspopup":"true","aria-expanded":this.isExpanded?"true":"false"})),s("div",{key:"65512ad855b4c33fc85ea703129b5b4af777216a",role:"dialog",class:Object.assign(Object.assign({},e.class()),e.modifier("visible").class(this.isExpanded)),ref:t=>this.floatingEl=t,"aria-hidden":`${!0!==this.isExpanded}`,"aria-presented":`${!0===this.isExpanded}`},s("bal-date-calendar",{key:"229c68237b8a13335448e5a3f940065535bff2a4",value:this.calendarValue,min:this.min,max:this.max,minYearProp:this.minYearProp,maxYearProp:this.maxYearProp,defaultDate:this.defaultDate,allowedDates:this.allowedDates,onBalChange:this.onCalendarChange})))}get el(){return e(this)}static get watchers(){return{value:["valueChanged"],debounce:["debounceChanged"]}}};h([d("bal-date"),o("design:type",Function),o("design:paramtypes",[Function]),o("design:returntype",void 0)],g.prototype,"createLogger",null),h([v(),o("design:type",Function),o("design:paramtypes",[Object]),o("design:returntype",Promise)],g.prototype,"configChanged",null);let w=0;g.style=":root{--bal-date-popup-z-index:var(--bal-z-index-tooltip);--bal-date-popup-shadow:var(--bal-shadow-normal);--bal-date-popup-radius:var(--bal-radius-normal)}:root{--bal-z-index-tooltip:1300}.bal-date{display:block;font-family:var(--bal-font-family-text);width:100%}.bal-date__icon--clickable{cursor:pointer}.bal-date__popup{display:none;width:-webkit-max-content;width:-moz-max-content;width:max-content;position:absolute;top:0;left:0;z-index:var(--bal-date-popup-z-index);-webkit-box-shadow:var(--bal-date-popup-shadow);box-shadow:var(--bal-date-popup-shadow);border-radius:var(--bal-date-popup-radius)}.bal-date__popup--visible{display:block}";export{g as bal_date}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as a,h as e,H as i,g as s}from"./p-2ccbe55a.js";import{a as n}from"./p-dd5e13d1.js";import{_ as o,a as r}from"./p-43c9f5e9.js";import{a as l}from"./p-00b37ea2.js";import{o as b,h as _,t as d,k as h,p as c,u as v,m,j as p,b as u}from"./p-ef6a64f4.js";import{B as f}from"./p-ae86d0a0.js";import{L as g}from"./p-b77e3348.js";import{n as w}from"./p-f3f5ce4f.js";import{s as x}from"./p-e3e1d211.js";import{b as y}from"./p-a65354df.js";import{t as j,S as k,g as O,a as L}from"./p-513f6b88.js";import{b as z}from"./p-3a7c9c15.js";import{d as C}from"./p-830d9e47.js";import{L as $}from"./p-ca3bb9ce.js";import{L as A}from"./p-71352a52.js";import{L as S}from"./p-3f88c54b.js";import{L as T}from"./p-b7fbadbe.js";import{L as E}from"./p-fe6cbf28.js";import{L as F}from"./p-4f4c99db.js";import{L as I}from"./p-44e7532c.js";import"./p-9a3d9e17.js";import"./p-166d571e.js";import"./p-4573c419.js";import"./p-46251973.js";import"./p-dc98854c.js";import"./p-96216bd1.js";import"./p-acf222fd.js";import"./p-ca9e987e.js";import"./p-caacebbe.js";const P=class{constructor(e){t(this,e),this.balNavigate=a(this,"balNavigate",7),this.inheritAttributes={},this.tabPanelID="bal-tab-panel-id-"+V++,this.isActive=!1,this.active=!1,this.value="",this.label="",this.href="",this.target="_self",this.bubble=!1,this.disabled=!1,this.invisible=!1,this.prevent=!1,this.icon=void 0,this.noPanel=!1,this.aria=void 0,this.subLabel="",this.svg=""}componentWillLoad(){this.inheritAttributes=n(this.el)}async getOptions(){return this.options}async setActive(t){this.isActive=t}get options(){return{tabPanelID:this.tabPanelID,value:this.value,icon:this.icon,label:this.label,href:this.href,target:this.target,active:this.active,disabled:this.disabled,invisible:this.invisible,bubble:this.bubble,passed:!1,prevent:this.prevent,navigate:this.balNavigate,trackingData:this.inheritAttributes,noPanel:this.noPanel,aria:this.aria,subLabel:this.subLabel,svg:this.svg}}render(){const t=!this.noPanel,a=!this.isActive||this.noPanel;return e(i,{key:"73cd7faf737780486e58b71b4c51508e0311e277",id:this.tabPanelID,class:{"bal-tab-item":!0,"bal-tab-item--active":this.isActive},role:t?"tabpanel":void 0,"aria-label":t?this.label:void 0,"aria-hidden":a?"true":"false",tabindex:a?"-1":void 0,hidden:!!a||void 0},e("slot",{key:"d533d087306ee17ba5b78c9b756db6cf923ef1a5"}))}get el(){return s(this)}};let V=0;const B=({items:t,value:a,onSelectTab:i})=>{const s=f.block("tabs").element("select");return e("bal-select",{class:Object.assign({},s.class()),value:a,onBalChange:a=>(a=>{const e=t.filter((t=>t.value===a.detail));if(e.length>0){const t=e[0];""!==t.href&&void 0!==t.href&&y.hasWindow&&window.open(t.href,t.target),i(a,t)}})(a)},t.filter((t=>!t.disabled&&!t.invisible)).map((t=>e("bal-select-option",{key:t.value,label:t.label,value:t.value},t.label))))},M=({item:t,inverted:a,accordion:i,isAccordionOpen:s,isMobile:n,hasBubble:o})=>{const r=f.block("tabs").element("nav").element("item").element("icon");let l=t.disabled?"grey":"primary";return a&&(l=t.disabled?"primary-light":"white"),e("span",{class:Object.assign(Object.assign(Object.assign(Object.assign({},r.class()),r.modifier("active").class(t.active)),r.modifier("disabled").class(t.disabled)),r.modifier("display-svg").class(void 0!==t.svg))},e("bal-icon",t.svg?{svg:t.svg,size:"large",color:"auto"}:{size:n||i?"small":"",name:i?"nav-go-down":t.icon,color:l,turn:i&&!0===s&&t.active}),o?e("bal-badge",{class:Object.assign({},r.element("bubble").class()),size:"small"},t.bubble):"")},D=({item:t,inverted:a,hasBubble:i,isExpanded:s,isVertical:n,context:o})=>{const r=f.block("tabs").element("nav").element("item").element("label");return e("span",{class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},r.class()),r.modifier("inverted").class(a)),r.modifier("active").class(t.active)),r.modifier("disabled").class(t.disabled)),r.modifier("vertical").class(n)),r.modifier("expanded").class(s)),r.modifier(`context-${o}`).class(void 0!==o)),r.modifier("with-svg").class(t.svg&&t.svg.length>0)),"data-testid":"bal-tabs-item-label"},t.label,t.subLabel&&e("span",{class:r.element("sub-label").class()},t.subLabel),i?e("bal-badge",{class:Object.assign({},r.element("bubble").class()),size:"small"},t.bubble):"")},N=({item:t,tabsId:a,isFirst:i,isLast:s,isMobile:n,isVertical:o,accordion:r,isAccordionOpen:l,isLinkList:b,inverted:_,isExpanded:d,spaceless:h,clickable:c,iconPosition:v,context:m,onSelectTab:p,hasSubLabelInGroup:u,dimInactiveElements:g})=>{var w;const x=f.block("tabs").element("nav").element("item");if(t.invisible)return;const y=!1!==t.bubble,k=void 0!==t.icon,O=k&&y&&"horizontal"!==v&&!r||n&&k&&y&&!o&&!r,L=r&&y||r&&n&&k&&y&&!o,z=!k&&y&&!r||y&&!n&&"horizontal"===v&&!r||y&&o&&!r,C=void 0===t.href||""===t.href,$=C?"button":"a",A=C?{type:"button",role:"tab","aria-controls":(null===(w=t.aria)||void 0===w?void 0:w.controls)||t.tabPanelID||void 0,"aria-expanded":t.active?"true":"false","aria-disabled":`${t.disabled}`,"aria-label":t.label}:{href:t.href,target:t.target};return b||(A.tabindex=t.active?"0":"-1"),e($,Object.assign({id:`${a}-button-${j(t.value)}`,class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},x.class()),x.modifier("active").class(t.active)),x.modifier("disabled").class(t.disabled)),x.modifier("clickable").class(c)),x.modifier("accordion").class(r)),x.modifier("inverted").class(_)),x.modifier("expanded").class(d)),x.modifier("spaceless").class(h)),x.modifier("first").class(i)),x.modifier("last").class(s)),x.modifier("passed").class(t.passed)),x.modifier("vertical").class(o)),x.modifier(`context-${m}`).class(void 0!==m)),x.modifier(`icon-position-${v}`).class("horizontal"!==v)),x.modifier("display-svg").class(t.svg&&t.svg.length>0)),x.modifier("group-has-sub-label").class(u)),x.modifier("dim-inactive-elements").class(g)),{"bal-focusable":!t.disabled&&!t.invisible}),draggable:!1,"data-tabs":a,"data-label":t.label,"data-value":t.value,"data-index":t.index,"data-testid":"bal-tabs-item","aria-selected":C?t.active?"true":"false":void 0},A,{onClick:a=>p(a,t)}),t.icon||t.svg?e(M,{accordion:!1,item:t,isMobile:n,hasBubble:O,inverted:_}):"",e(D,{item:t,isMobile:n,isVertical:o,isExpanded:d,hasBubble:z,inverted:_,context:m}),r&&!t.href?e(M,{accordion:r,isAccordionOpen:l,item:t,isMobile:n,hasBubble:L,inverted:_}):"")},R=({swiper:t,items:a,tabsId:i,isVertical:s,inNavbar:n,isMobile:o,isTouch:r,lineActive:l,lineHidden:b,isLinkList:_,border:d,accordion:h,isAccordionOpen:c,inverted:v,clickable:m,animated:p,spaceless:u,expanded:g,verticalColSize:w,showSwiperControls:x,iconPosition:y,context:j,onSelectTab:k,dimInactiveElements:O})=>{const L=f.block("tabs").element("nav"),z=L.element("inner"),C=L.element("container"),$=L.element("line"),A=L.element("border"),S=a.filter((t=>!t.invisible)),T=n&&!r,E=a.some((t=>t.subLabel&&t.subLabel.length>0)),F=({item:t,index:a})=>e(N,{item:t,isLinkList:_,tabsId:i,isFirst:0===a,isLast:a===S.length-1,isMobile:o,isVertical:s,iconPosition:y,spaceless:u,inverted:v,accordion:h,isAccordionOpen:c,context:j,isExpanded:g,clickable:m&&!t.disabled,onSelectTab:k,hasSubLabelInGroup:E,dimInactiveElements:O});return e("div",{class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},L.class()),L.modifier("vertical").class(s)),L.modifier("full-height").class(T)),L.modifier(`vertical-col-${w}`).class(s)),t.cssSwiper())},e("div",{id:`${i}-nav`,class:Object.assign(Object.assign(Object.assign({},t.cssInnerSwiper()),z.class()),z.modifier("full-height").class(T)),ref:a=>t.innerEl=a},e("nav",{id:t.containerId,class:Object.assign(Object.assign(Object.assign(Object.assign({},t.cssSwiperContainer()),C.class()),C.modifier("vertical").class(s)),C.modifier("expanded").class(g&&!s)),role:"tablist",ref:a=>t.containerEl=a},S.map(((t,a)=>e(F,{item:t,index:a}))),e("div",{id:`${i}-line`,class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},$.class()),$.modifier("active").class(l)),$.modifier("inverted").class(v)),$.modifier("animated").class(p)),$.modifier("vertical").class(s)),$.modifier("hidden").class(b))}),d?e("div",{id:`${i}-border`,class:Object.assign(Object.assign(Object.assign({},A.class()),A.modifier("inverted").class(v)),A.modifier("vertical").class(s))}):"")),x?t.renderControls():"")},W=class{constructor(e){t(this,e),this.balChange=a(this,"balChange",7),this.balWillAnimate=a(this,"balWillAnimate",7),this.balDidAnimate=a(this,"balDidAnimate",7),this.tabsId="bal-tabs-"+G++,this.swiper=new k,this.mutationObserverActive=!0,this.getOptions=()=>this.options.length>0?[...this.options.map(w)]:Promise.all(this.items.map((t=>t.getOptions()))),this.updateStore=t=>{l(this.store,t)?!this.optionalTabSelection&&!this.accordion&&void 0===this.value&&this.store.length>0&&(this.value=this.store[0].value):this.store=t},this.setActiveItem=()=>{const t=this.store.filter((t=>t.active));t.length>0&&(this.value=t[0].value)},this.setActiveContent=()=>{0===this.options.length&&this.items.forEach((t=>t.setActive(this.isTabActive(t))))},this.getLineSize=(t,a)=>{if(t){if(this.isVertical())return t.clientHeight;{const e=t.clientWidth;return this.expanded?e:e-(a.left+a.right)}}return 0},this.getOffset=(t,a)=>{if(this.isVertical()){if(t.offsetTop)return t.offsetTop}else{if(null!=t.offsetLeft)return this.expanded?t.offsetLeft:t.offsetLeft+a.left;const e=t.closest(".bal-tabs__nav__item");if(e)return this.expanded?e.offsetLeft:e.offsetLeft+a.left}return 0},this.animateLine=async()=>{this.enableLineRender&&this.shouldAnimate()&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),b((async()=>{await _(this.el,!0),this.currentRaf=b((async()=>{const t=this.getTargetElement(this.value);if(!t)return;if("_blank"===t.getAttribute("target"))return;const a=O(t),e=this.getLineSize(t,a),i=this.getOffset(t,a),s=this.getLineElement();if(s){const t=this.isVertical();this.balWillAnimate.emit(this.value);const a=d(s,300);if(t)s.style.setProperty("transform",`translateY(${i}px)`),s.style.setProperty("min-height",`${e}px`),s.style.setProperty("height",`${e}px`),s.style.removeProperty("min-width"),s.style.removeProperty("width");else{s.style.setProperty("transform",`translateX(${i}px)`),s.style.setProperty("min-width",`${e}px`),s.style.setProperty("width",`${e}px`),s.style.removeProperty("min-height"),s.style.removeProperty("height");const t=this.getBorderElement(),n=this.getCarouselElement();if(t&&n)if(this.expanded)t.style.setProperty("width","100%");else{const a=L(n);t.style.setProperty("width",`${a}px`)}await a,this.balDidAnimate.emit(this.value)}}}))})))},this.toggleAccordionState=(t=!1)=>{this.accordion&&(this.isAccordionOpen?this.collapseAccordion(t):this.expandAccordion(t))},this.expandAccordion=()=>{this.isAccordionOpen=!0,4!==this.accordionState&&(this.accordionState=4,this.balWillAnimate.emit(this.value),this.balDidAnimate.emit(this.value))},this.collapseAccordion=()=>{this.isAccordionOpen=!1,1!==this.accordionState&&(this.accordionState=1,this.balWillAnimate.emit(this.value),this.balDidAnimate.emit(this.value))},this.shouldAnimate=()=>"undefined"!=typeof window&&this.animated,this.onOptionChange=h((()=>this.onOptionChangeInternal()),100),this.onOptionChangeInternal=async()=>{try{const t=await this.getOptions();this.updateStore(t),this.setActiveItem(),this.setActiveContent(),this.animateLine()}catch(t){console.warn("[WARN] - Could not read tab options")}},this.onSelectTab=async(t,a)=>{(a.prevent||a.disabled||!this.clickable)&&x(t),!a.disabled&&this.clickable&&(this.accordion&&(a.value===this.value?this.toggleAccordionState():this.expandAccordion()),a.navigate&&a.navigate.emit(t),a.value!==this.value&&(this.balChange.emit(a.value),await this.select(a),await this.focus(a)))},this.isAccordionOpen=!1,this.accordionState=1,this.isNavbarOpen=!1,this.inNavbar=!1,this.inNavbarLight=!1,this.enableLineRender=!1,this.hasAnimated=!1,this.index=0,this.isMobile=z.isMobile,this.isTablet=z.isTablet,this.language=C.language,this.store=[],this.animated=!0,this.float="left",this.fullwidth=!1,this.accordion=!1,this.overflow=!0,this.options=[],this.context=void 0,this.iconPosition="horizontal",this.expanded=!1,this.spaceless=!1,this.clickable=!0,this.border=!1,this.inverted=!1,this.optionalTabSelection=!1,this.debounce=0,this.vertical=!1,this.verticalColSize="one-third",this.selectOnMobile=!1,this.value=void 0,this.dimInactiveElements=!1}createLogger(t){this.log=t}async optionChanged(){this.onOptionChange(),this.mutationObserverActive=void 0===this.options}expandedChanged(){this.updateSwiper()}debounceChanged(){this.balChange=c(this.balChange,this.debounce)}verticalChanged(){this.updateSwiper()}async valueChanged(t,a){t!==a&&this.onOptionChange()}connectedCallback(){if(this.swiper.connectedCallback(this),this.swiper.controls="small",this.updateSwiper(),this.inNavbar=v("bal-navbar",this.el),this.inNavbar){const t=this.el.closest("bal-navbar");t&&(this.inNavbarLight=t.light)}this.debounceChanged(),this.mutationObserverActive=void 0===this.options||this.options.length<1,this.accordion&&(v("bal-nav-menu-bar",this.el)?this.isAccordionOpen=!1:void 0!==this.value&&this.value.length>0?this.expandAccordion(!0):this.collapseAccordion(!0))}componentDidRender(){this.animateLine()}componentWillRender(){this.updateSwiper()}componentDidLoad(){this.onOptionChange(),m((()=>{this.enableLineRender=!0,this.animateLine(!0)}))}disconnectedCallback(){this.swiper.disconnectedCallback()}mutationListener(){this.onOptionChange(),this.swiper.notifyChange()}visibilityListener(){this.swiper.notifyChange()}breakpointListener(t){this.isMobile=t.mobile,this.isTablet=t.tablet,this.swiper.notifyChange()}resizeListener(t){this.swiper.notifyChange(),(!this.isVertical()&&t.width||this.isVertical()&&t.height)&&this.animateLine()}swipeListener({left:t,right:a}){t?this.swiper.next():a&&this.swiper.previous()}animationListener(t){this.isUsedInNavbar(t.target),this.animateLine()}listenToKeyDown(t){this.isTabList&&(!1!==this.vertical?"ArrowDown"===t.code?this.tabListSelectNext(t):"ArrowUp"===t.code&&this.tabListSelectPrevious(t):"ArrowRight"===t.code?this.tabListSelectNext(t):"ArrowLeft"===t.code&&this.tabListSelectPrevious(t))}async configChanged(t){this.animated=t.animated}async select(t){this.value=t.value}async getOptionByValue(t){return this.store.find((a=>a.value===t))}async renderLine(){this.animateLine()}async closeAccordion(){this.isAccordionOpen&&this.collapseAccordion()}swiperOnChange(t){this.index=t}swiperGetAllChildrenElements(){return Array.from(this.el.querySelectorAll(".bal-tabs__nav__item"))}get isTabList(){return 0===this.store.filter((t=>!!t.href)).length}get items(){return Array.from(this.el.querySelectorAll(`#${this.tabsId} > bal-tab-item`))}getTargetElement(t){return Array.from(this.el.querySelectorAll(`[data-tabs="${this.tabsId}"]`)).filter((a=>a.getAttribute("data-value")==t))[0]}getLineElement(){return this.el.querySelector(`#${this.tabsId}-line`)}getBorderElement(){return this.el.querySelector(`#${this.tabsId}-border`)}getCarouselElement(){return this.el.querySelector(`#${this.swiper.containerId}`)}updateSwiper(){this.overflow?this.expanded||this.isVertical()?this.swiper.disable():this.swiper.activate():this.swiper.disable()}isUsedInNavbar(t){const a=t.closest("bal-navbar"),e=t;a&&p(a,this.el)&&(this.isNavbarOpen=e)}isTabActive(t){return t.value===this.value}isTabVisible(t){return!t.hidden}parseVertical(){return"true"===this.vertical||""===this.vertical||"false"!==this.vertical&&void 0!==this.vertical&&("mobile"===this.vertical?this.isMobile:"tablet"===this.vertical?this.isTablet||this.isMobile:this.vertical)}isVertical(){return this.parseVertical()||(this.isMobile||this.isTablet)&&this.inNavbar}findNextTab(t=!1){const a=this.store.findIndex((t=>this.isTabActive(t)));let e=this.store.map(((t,a)=>({index:a,visible:!t.hidden&&!t.disabled})));t&&(e=e.reverse());const i=e.filter((t=>t.visible)).map((t=>t.index)),s=t?(t,e)=>t<a||e>=t?t:e:(t,e)=>t>a||e<=t?t:e,n=i.reduce(((t,a)=>s(t,a)),a);return this.store[n]}findPreviousTab(){return this.findNextTab(!0)}tabListSelectNext(t){const a=this.findNextTab();a&&this.onSelectTab(t,a)}tabListSelectPrevious(t){const a=this.findPreviousTab();a&&this.onSelectTab(t,a)}async focus(t){const a=null!==this.el.querySelector("button.bal-focused");if(this.swiper.isActive()){const a=(await this.getOptions()).findIndex((a=>a.value===t.value));this.swiper.updateIndex(a)}if(await u(),a){const a=this.el.querySelector(`#${this.tabsId}-button-${j(t.value)}`);a&&a.focus({preventScroll:!0})}}render(){const t=f.block("tabs"),a=t.element("content"),s=this.isMobile,n=s||this.isTablet,o=this.inNavbar&&!n&&!this.inNavbarLight||!this.inNavbar&&this.inverted,r=this.isVertical(),l=this.border||this.inNavbar&&n,b=s&&this.selectOnMobile,_=this.store.map((t=>Object.assign(Object.assign({},t),{active:t.value===this.value}))),d=4===this.accordionState||8===this.accordionState?"content expanded":"content",h=void 0!==this.value&&!!this.store.find((t=>t.value===this.value)),c=!this.isTabList,v=this.store.filter((t=>this.isTabActive(t))).map((t=>t.value)).join(","),m=this.store.filter((t=>this.isTabActive(t))).map((t=>t.label)).join(",");return e(i,{key:"a1d8a76b19bfde81e59e6c59277d6445aa085cc8",class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},t.class()),t.modifier("navbar").class(this.inNavbar)),t.modifier("vertical").class(r)),t.modifier("fullwidth").class(this.expanded||this.fullwidth)),t.modifier("accordion").class(this.accordion)),t.modifier("animated").class(this.animated)),t.modifier("expanding").class(8===this.accordionState)),t.modifier("expanded").class(4===this.accordionState)),t.modifier("collapsing").class(2===this.accordionState)),t.modifier("collapsed").class(1===this.accordionState)),"data-value":v,"data-label":m},b?e(B,{value:this.value,items:_,onSelectTab:this.onSelectTab}):e(R,{swiper:this.swiper,items:_,isLinkList:c,tabsId:this.tabsId,clickable:this.clickable,accordion:this.accordion,isAccordionOpen:this.isAccordionOpen,lineActive:h,lineHidden:!this.enableLineRender,inverted:o,animated:this.animated,context:this.context,border:l,spaceless:this.spaceless,expanded:this.expanded,isMobile:s,isTouch:n,isVertical:r,inNavbar:this.inNavbar,iconPosition:this.iconPosition,showSwiperControls:!this.isVertical(),verticalColSize:this.verticalColSize,onSelectTab:this.onSelectTab,dimInactiveElements:this.dimInactiveElements}),e("div",{key:"1a460259f8231a6f669e423343ab32f7b718fa06",part:d,class:Object.assign(Object.assign(Object.assign({},a.class()),a.modifier("vertical").class(this.isVertical())),a.modifier("hidden").class("meta"===this.context||"navbar"===this.context||"navigation"===this.context))},e("div",{key:"40d55adc3c7bdb32ab8e26eb80a6a4766079c54a",id:this.tabsId,class:Object.assign({},a.element("wrapper").class())},e("slot",{key:"ad35eebf2cb6c481217f8539f4932096406df50d"}))))}get el(){return s(this)}static get watchers(){return{options:["optionChanged"],expanded:["expandedChanged"],debounce:["debounceChanged"],vertical:["verticalChanged"],value:["valueChanged"]}}};o([g("bal-tabs"),r("design:type",Function),r("design:paramtypes",[Function]),r("design:returntype",void 0)],W.prototype,"createLogger",null),o([$({tags:["bal-tabs","bal-tab-item"]}),r("design:type",Function),r("design:paramtypes",[]),r("design:returntype",void 0)],W.prototype,"mutationListener",null),o([A(),r("design:type",Function),r("design:paramtypes",[]),r("design:returntype",void 0)],W.prototype,"visibilityListener",null),o([S(),r("design:type",Function),r("design:paramtypes",[Object]),r("design:returntype",void 0)],W.prototype,"breakpointListener",null),o([T(),r("design:type",Function),r("design:paramtypes",[Object]),r("design:returntype",void 0)],W.prototype,"resizeListener",null),o([E(),r("design:type",Function),r("design:paramtypes",[Object]),r("design:returntype",void 0)],W.prototype,"swipeListener",null),o([F(),r("design:type",Function),r("design:paramtypes",[Object]),r("design:returntype",void 0)],W.prototype,"animationListener",null),o([I(),r("design:type",Function),r("design:paramtypes",[Object]),r("design:returntype",Promise)],W.prototype,"configChanged",null);let G=0;W.style='@media (hover: hover)and (pointer: fine){.bal-tabs__nav__item.bal-focused{-webkit-box-shadow:var(--bal-focus-shadow-inset) !important;box-shadow:var(--bal-focus-shadow-inset) !important}}@media (hover: hover)and (pointer: fine){.bal-tabs__nav__item.bal-focused.bal-tabs__nav__item--inverted{-webkit-box-shadow:var(--bal-focus-shadow-inverted-inset) !important;box-shadow:var(--bal-focus-shadow-inverted-inset) !important}}@media (hover: hover)and (pointer: fine){.bal-tabs__nav__item.bal-focused{-webkit-box-shadow:var(--bal-focus-shadow-inset) !important;box-shadow:var(--bal-focus-shadow-inset) !important}}@media (hover: hover)and (pointer: fine){.bal-tabs__nav__item.bal-focused.bal-tabs__nav__item--inverted{-webkit-box-shadow:var(--bal-focus-shadow-inverted-inset) !important;box-shadow:var(--bal-focus-shadow-inverted-inset) !important}}.bal-tabs__nav__line{position:absolute;background:var(--bal-tabs-tab-nav-line-background);border-radius:var(--bal-tabs-tab-nav-line-radius);left:1px;z-index:1}.bal-tabs__nav__line--hidden{display:none}.bal-tabs__nav__line--vertical{top:0;min-height:2.5rem}.bal-tabs__nav__line--vertical.bal-tabs__nav__line--active{width:var(--bal-border-width-normal)}.bal-tabs__nav__line:not(.bal-tabs__nav__line--vertical){bottom:0;min-width:5rem}.bal-tabs__nav__line:not(.bal-tabs__nav__line--vertical).bal-tabs__nav__line--active{height:var(--bal-border-width-normal)}.bal-tabs__nav__line--animated{will-change:min-width,width,min-height,height,transform;-webkit-transition:all var(--bal-animation-transition-duration) var(--bal-animation-transition-easing);transition:all var(--bal-animation-transition-duration) var(--bal-animation-transition-easing)}.bal-tabs__nav__line--inverted{background:var(--bal-tabs-tab-nav-line-background-inverted)}@media screen and (min-width: 769px),print{.bal-tabs__nav--vertical-col-one-third{-ms-flex:none;flex:none;width:33.3333%}.bal-tabs__nav--vertical-col-half{-ms-flex:none;flex:none;width:33.3333%}.bal-tabs__nav--vertical-col-two-thirds{-ms-flex:none;flex:none;width:66.6666%}.bal-tabs__nav--vertical-col-three-quarters{-ms-flex:none;flex:none;width:75%}.bal-tabs__nav--vertical-col-full{-ms-flex:none;flex:none;width:100%}}.bal-tabs__nav__container--expanded{position:relative;display:-ms-flexbox;display:flex;width:100%;min-width:100%;-ms-flex:1;flex:1}.bal-tabs__nav__container--vertical{overflow:hidden}@media (hover: hover)and (pointer: fine){.bal-tabs__nav__item.bal-focused{-webkit-box-shadow:var(--bal-focus-shadow-inset) !important;box-shadow:var(--bal-focus-shadow-inset) !important}}@media (hover: hover)and (pointer: fine){.bal-tabs__nav__item.bal-focused.bal-tabs__nav__item--inverted{-webkit-box-shadow:var(--bal-focus-shadow-inverted-inset) !important;box-shadow:var(--bal-focus-shadow-inverted-inset) !important}}.bal-tabs__nav__item{display:-ms-flexbox;display:flex;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-direction:column;flex-direction:column;-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-decoration:none;cursor:default;gap:.5rem;padding:.25rem .75rem;border-radius:var(--bal-tabs-tab-button-radius);min-width:3rem;min-height:3rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;background-color:rgba(0,0,0,0);border:unset;width:auto}@media screen and (min-width: 769px),print{.bal-tabs__nav__item{-ms-flex-direction:row;flex-direction:row;min-height:3.5rem}}@media screen and (max-width: 768px){.bal-tabs__nav__item--group-has-sub-label{height:5rem}}.bal-tabs__nav__item--dim-inactive-elements:not(.bal-tabs__nav__item--active){opacity:.6}.bal-tabs__nav__item--display-svg{-ms-flex-direction:row;flex-direction:row}@media screen and (max-width: 768px){.bal-tabs__nav__item--display-svg:not(.bal-tabs__nav__item--display-svg.bal-tabs__nav__item--active){-ms-flex:0 0 auto;flex:0 0 auto;min-width:3rem;width:6rem;padding:.25rem}}.bal-tabs__nav__item--accordion{-ms-flex-direction:row;flex-direction:row}.bal-tabs__nav__item--hidden{display:none !important;visibility:hidden !important}.bal-tabs__nav__item--expanded{-ms-flex:1;flex:1;width:5rem;min-width:5rem}.bal-tabs__nav__item--icon-position-vertical{-ms-flex-direction:column;flex-direction:column}.bal-tabs__nav__item--clickable{cursor:pointer;pointer-events:all}@media (hover: hover)and (pointer: fine){.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled):hover .bal-tabs__nav__item__label{color:var(--bal-tabs-tab-button-label-text-color-hover)}.bal-tabs__nav__item__icon:not(.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled):hover-display-svg) svg,.bal-tabs__nav__item__icon:not(.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled):hover-display-svg) g,.bal-tabs__nav__item__icon:not(.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled):hover-display-svg) path,.bal-tabs__nav__item__icon:not(.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled):hover-display-svg) circle{fill:var(--bal-tabs-tab-button-icon-text-color-hover)}}.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled):active .bal-tabs__nav__item__label{color:var(--bal-tabs-tab-button-label-text-color-active)}.bal-tabs__nav__item__icon:not(.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled):active-display-svg) svg,.bal-tabs__nav__item__icon:not(.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled):active-display-svg) g,.bal-tabs__nav__item__icon:not(.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled):active-display-svg) path,.bal-tabs__nav__item__icon:not(.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled):active-display-svg) circle{fill:var(--bal-tabs-tab-button-icon-text-color-active)}@media (hover: hover)and (pointer: fine){.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled).bal-tabs__nav__item--inverted:hover .bal-tabs__nav__item__label{color:var(--bal-tabs-tab-button-label-text-color-inverted-hover)}.bal-tabs__nav__item__icon:not(.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled).bal-tabs__nav__item--inverted:hover-display-svg) svg,.bal-tabs__nav__item__icon:not(.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled).bal-tabs__nav__item--inverted:hover-display-svg) g,.bal-tabs__nav__item__icon:not(.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled).bal-tabs__nav__item--inverted:hover-display-svg) path,.bal-tabs__nav__item__icon:not(.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled).bal-tabs__nav__item--inverted:hover-display-svg) circle{fill:var(--bal-tabs-tab-button-icon-text-color-inverted-hover)}}.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled).bal-tabs__nav__item--inverted:active .bal-tabs__nav__item__label{color:var(--bal-tabs-tab-button-label-text-color-inverted-active)}.bal-tabs__nav__item__icon:not(.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled).bal-tabs__nav__item--inverted:active-display-svg) svg,.bal-tabs__nav__item__icon:not(.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled).bal-tabs__nav__item--inverted:active-display-svg) g,.bal-tabs__nav__item__icon:not(.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled).bal-tabs__nav__item--inverted:active-display-svg) path,.bal-tabs__nav__item__icon:not(.bal-tabs__nav__item:not(.bal-tabs__nav__item--disabled).bal-tabs__nav__item--inverted:active-display-svg) circle{fill:var(--bal-tabs-tab-button-icon-text-color-inverted-active)}.bal-tabs__nav__item--vertical{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;min-height:2.5rem;padding:.5rem 1rem}.bal-tabs__nav__item--spaceless.bal-tabs__nav__item--first{padding-left:0}.bal-tabs__nav__item--spaceless.bal-tabs__nav__item--last{padding-right:0}.bal-tabs__nav__item--context-meta{min-height:3rem;height:3rem}.bal-tabs__nav__item--context-navigation{min-height:3rem;height:3rem}@media screen and (min-width: 1024px){.bal-tabs__nav__item--context-navigation{min-height:4rem;height:4rem}}@media screen and (min-width: 1280px){.bal-tabs__nav__item--context-navigation{min-height:4rem;height:4rem}}@media screen and (min-width: 1440px){.bal-tabs__nav__item--context-navigation{min-height:5rem;height:5rem}}@media (hover: hover)and (pointer: fine){.bal-tabs__nav__item.bal-focused{-webkit-box-shadow:var(--bal-focus-shadow-inset) !important;box-shadow:var(--bal-focus-shadow-inset) !important}}@media (hover: hover)and (pointer: fine){.bal-tabs__nav__item.bal-focused.bal-tabs__nav__item--inverted{-webkit-box-shadow:var(--bal-focus-shadow-inverted-inset) !important;box-shadow:var(--bal-focus-shadow-inverted-inset) !important}}.bal-tabs__nav__item__icon{position:relative}.bal-tabs__nav__item__icon__bubble{position:absolute;right:-0.75rem;top:-0.25rem}@media screen and (min-width: 769px),print{.bal-tabs__nav__item__icon__bubble{right:-0.625rem;top:-0.25rem}}@media (hover: hover)and (pointer: fine){.bal-tabs__nav__item.bal-focused{-webkit-box-shadow:var(--bal-focus-shadow-inset) !important;box-shadow:var(--bal-focus-shadow-inset) !important}}@media (hover: hover)and (pointer: fine){.bal-tabs__nav__item.bal-focused.bal-tabs__nav__item--inverted{-webkit-box-shadow:var(--bal-focus-shadow-inverted-inset) !important;box-shadow:var(--bal-focus-shadow-inverted-inset) !important}}.bal-tabs__nav__item__label{display:block;position:relative;font-family:var(--bal-font-family-title);font-weight:var(--bal-font-weight-bold);font-size:var(--bal-text-size-normal);line-height:var(--bal-body-line-height);text-align:center;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:var(--bal-tabs-tab-label-text-color)}.bal-tabs__nav__item__label--with-svg{text-align:left;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (max-width: 768px){.bal-tabs__nav__item__label--with-svg:not(.bal-tabs__nav__item__label--active){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;white-space:nowrap;border:0}}.bal-tabs__nav__item__label--disabled{color:var(--bal-tabs-tab-label-text-color-disabled)}.bal-tabs__nav__item__label--inverted{font-family:var(--bal-font-family-text);color:var(--bal-tabs-tab-label-text-color-inverted)}.bal-tabs__nav__item__label--inverted.bal-tabs__nav__item__label--disabled{color:var(--bal-tabs-tab-label-text-color-inverted-disabled)}.bal-tabs__nav__item__label--inverted{font-weight:var(--bal-font-weight-regular);letter-spacing:.1085px}.bal-tabs__nav__item__label--inverted.bal-tabs__nav__item__label--active{font-weight:var(--bal-font-weight-bold);letter-spacing:0}.bal-tabs__nav__item__label__bubble{position:absolute;right:-0.5rem;top:-0.5rem}.bal-tabs__nav__item__label--vertical{text-align:left;width:auto;white-space:normal}.bal-tabs__nav__item__label--expanded{white-space:normal}.bal-tabs__nav__item__label--context-meta{font-size:var(--bal-text-size-small)}@media (hover: hover)and (pointer: fine){.bal-tabs__nav__item.bal-focused{-webkit-box-shadow:var(--bal-focus-shadow-inset) !important;box-shadow:var(--bal-focus-shadow-inset) !important}}@media (hover: hover)and (pointer: fine){.bal-tabs__nav__item.bal-focused.bal-tabs__nav__item--inverted{-webkit-box-shadow:var(--bal-focus-shadow-inverted-inset) !important;box-shadow:var(--bal-focus-shadow-inverted-inset) !important}}:root{--bal-tabs-tab-nav-border-background:var(--bal-color-border);--bal-tabs-tab-nav-border-background-inverted:var(--bal-color-border-inverted);--bal-tabs-tab-nav-line-background:var(--bal-color-border-primary);--bal-tabs-tab-nav-line-background-inverted:var(--bal-color-border-inverted);--bal-tabs-tab-button-radius:var(--bal-radius-normal);--bal-tabs-tab-nav-border-radius:var(--bal-radius-rounded);--bal-tabs-tab-nav-line-radius:var(--bal-radius-rounded);--bal-tabs-tab-button-label-text-color-hover:var(--bal-color-light-blue-5);--bal-tabs-tab-button-icon-text-color-hover:var(--bal-color-light-blue-5);--bal-tabs-tab-button-label-text-color-active:var(--bal-color-primary-6);--bal-tabs-tab-button-icon-text-color-active:var(--bal-color-primary-6);--bal-tabs-tab-button-label-text-color-inverted-hover:var(--bal-color-light-blue-2);--bal-tabs-tab-button-icon-text-color-inverted-hover:var(--bal-color-light-blue-2);--bal-tabs-tab-button-label-text-color-inverted-active:var(--bal-color-text-info);--bal-tabs-tab-button-icon-text-color-inverted-active:var(--bal-color-text-info);--bal-tabs-tab-label-text-color:var(--bal-color-text-primary);--bal-tabs-tab-label-text-color-disabled:var(--bal-color-text-grey);--bal-tabs-tab-label-text-color-inverted:var(--bal-color-text-white);--bal-tabs-tab-label-text-color-inverted-disabled:var(--bal-color-text-primary-light)}.bal-swiper{position:relative;display:block}.bal-swiper__inner{display:block;position:relative;margin-left:auto;margin-right:auto;overflow:clip;list-style:none;padding:0;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-overflow-scrolling:touch}.bal-swiper__inner--items-per-view-auto .bal-carousel__item{width:auto}.bal-swiper__inner--items-per-view-1 .bal-carousel__item{width:100%}.bal-swiper__inner--items-per-view-2 .bal-carousel__item{width:50%}.bal-swiper__inner--items-per-view-3 .bal-carousel__item{width:33.3333%}.bal-swiper__inner--items-per-view-4 .bal-carousel__item{width:25%}.bal-swiper__container{position:relative;max-width:100%;width:100%;height:100%;display:-ms-flexbox;display:flex;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-duration:0ms;transition-duration:0ms;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}.bal-swiper__controls{width:100%}.bal-swiper__controls--dots{position:relative}@media screen and (max-width: 768px){.bal-swiper__controls--large{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;gap:2rem;margin-top:1rem}}@media screen and (min-width: 769px),print{.bal-swiper__controls--large{position:absolute;top:calc(50% - 1.5rem)}.bal-swiper__controls--large .bal-swiper__controls__button{position:absolute;z-index:7}.bal-swiper__controls--large .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--large .bal-swiper__controls__button--right{right:0}}.bal-swiper__controls__button--hidden{display:none !important;visibility:none !important}.bal-swiper__controls--small{position:absolute;top:calc(50% - 1rem)}.bal-swiper__controls--small .bal-swiper__controls__button{position:absolute;z-index:7}.bal-swiper__controls--small .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--small .bal-swiper__controls__button--right{right:0}.bal-swiper__controls--small .bal-swiper__controls__button--hidden{display:none !important;visibility:hidden !important}.bal-swiper__inner--shadow-left::before,.bal-swiper__inner--shadow-right::after{position:absolute;width:3rem;height:100%;top:0}.bal-swiper__inner--shadow-left::before{content:"";left:0;background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right::after{content:"";right:0;background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-after) 50%)}.bal-swiper__inner--shadow-left.bal-swiper__inner--inverted::before{background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-inverted-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-inverted-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right.bal-swiper__inner--inverted::after{background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-inverted-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-inverted-after) 50%)}.bal-tabs{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:0}.bal-tabs--fullwidth{width:100%}.bal-tabs--vertical{-ms-flex-direction:column;flex-direction:column;gap:var(--bal-space-x-large)}@media screen and (min-width: 769px),print{.bal-tabs--vertical{-ms-flex-direction:row;flex-direction:row;gap:var(--bal-space-normal)}}@media screen and (min-width: 769px),print{.bal-tabs--navbar{height:100%}}.bal-tab-item{width:100%;display:none}.bal-tab-item--active{display:block}.bal-tabs--accordion .bal-tabs__content{overflow:hidden}.bal-tabs--accordion.bal-tabs--collapsed .bal-tabs__content{display:none}.bal-tabs__content{width:100%}.bal-tabs__content--vertical{width:auto;-ms-flex:1;flex:1}.bal-tabs__content--hidden{display:none}.bal-tabs__nav--full-height,.bal-tabs__nav__inner--full-height{height:100%}.bal-tabs__nav__border{position:absolute;background:var(--bal-tabs-tab-nav-border-background);border-radius:var(--bal-tabs-tab-nav-border-radius);height:var(--bal-border-width-normal);left:1px;right:1px;bottom:0;min-width:100%}.bal-tabs__nav__border--hidden{display:none}.bal-tabs__nav__border--vertical{min-width:var(--bal-border-width-normal);max-width:var(--bal-border-width-normal);width:var(--bal-border-width-normal);height:100%;top:0;right:auto}.bal-tabs__nav__border--inverted{background:var(--bal-tabs-tab-nav-border-background-inverted)}';export{P as bal_tab_item,W as bal_tabs}
|