@govbr-ds/webcomponents 2.5.0 → 2.6.0
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/cem/custom-elements.json +4228 -996
- package/cem/webcomponents.html-custom-data.json +354 -48
- package/dist/cjs/br-avatar.cjs.entry.js +2 -2
- package/dist/cjs/br-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/br-breadcrumb.cjs.entry.js +11 -11
- package/dist/cjs/br-button_2.cjs.entry.js +5 -5
- package/dist/cjs/br-card.cjs.entry.js +2 -2
- package/dist/cjs/br-carousel-page.cjs.entry.js +2 -2
- package/dist/cjs/br-carousel.cjs.entry.js +5 -5
- package/dist/cjs/br-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/br-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/br-checkgroup.cjs.entry.js +1 -1
- package/dist/cjs/br-collapse_2.cjs.entry.js +8 -8
- package/dist/cjs/br-cookiebar-cookie.cjs.entry.js +2 -2
- package/dist/cjs/br-cookiebar-group.cjs.entry.js +4 -4
- package/dist/cjs/br-cookiebar-header.cjs.entry.js +2 -2
- package/dist/cjs/br-cookiebar-link.cjs.entry.js +3 -3
- package/dist/cjs/br-cookiebar-note-group.cjs.entry.js +3 -3
- package/dist/cjs/br-cookiebar-note.cjs.entry.js +2 -2
- package/dist/cjs/br-cookiebar.cjs.entry.js +5 -5
- package/dist/cjs/br-crumb.cjs.entry.js +1 -1
- package/dist/cjs/br-date-picker_3.cjs.entry.js +14 -14
- package/dist/cjs/br-datetime-picker.cjs.entry.js +6 -23
- package/dist/cjs/br-divider.cjs.entry.js +2 -2
- package/dist/cjs/br-dropdown.cjs.entry.js +677 -0
- package/dist/cjs/br-footer-category.cjs.entry.js +2 -2
- package/dist/cjs/br-footer-item.cjs.entry.js +2 -2
- package/dist/cjs/br-footer-legal.cjs.entry.js +2 -2
- package/dist/cjs/br-footer-logo.cjs.entry.js +2 -2
- package/dist/cjs/br-footer-social.cjs.entry.js +3 -3
- package/dist/cjs/br-footer.cjs.entry.js +2 -2
- package/dist/cjs/br-header-function.cjs.entry.js +2 -2
- package/dist/cjs/br-header-link.cjs.entry.js +2 -2
- package/dist/cjs/br-header-list.cjs.entry.js +4 -4
- package/dist/cjs/br-header-logo.cjs.entry.js +2 -2
- package/dist/cjs/br-header.cjs.entry.js +6 -6
- package/dist/cjs/br-icon.cjs.entry.js +172 -158
- package/dist/cjs/br-input_2.cjs.entry.js +1427 -0
- package/dist/cjs/br-item.cjs.entry.js +2 -2
- package/dist/cjs/br-link.cjs.entry.js +2 -2
- package/dist/cjs/br-magic-button.cjs.entry.js +11 -12
- package/dist/cjs/br-menu-group.cjs.entry.js +2 -2
- package/dist/cjs/br-menu-header.cjs.entry.js +3 -3
- package/dist/cjs/br-menu-info.cjs.entry.js +2 -2
- package/dist/cjs/br-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/br-menu-link.cjs.entry.js +3 -3
- package/dist/cjs/br-menu-list.cjs.entry.js +2 -2
- package/dist/cjs/br-menu-logo.cjs.entry.js +2 -2
- package/dist/cjs/br-menu-social.cjs.entry.js +2 -2
- package/dist/cjs/br-menu.cjs.entry.js +5 -5
- package/dist/cjs/br-modal.cjs.entry.js +2 -2
- package/dist/cjs/br-notification-body.cjs.entry.js +2 -2
- package/dist/cjs/br-notification-header.cjs.entry.js +2 -2
- package/dist/cjs/br-notification-item.cjs.entry.js +2 -2
- package/dist/cjs/br-notification.cjs.entry.js +2 -2
- package/dist/cjs/{br-dropdown_2.cjs.entry.js → br-pagination_2.cjs.entry.js} +812 -557
- package/dist/cjs/br-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/br-radio.cjs.entry.js +2 -2
- package/dist/cjs/br-scrim.cjs.entry.js +2 -2
- package/dist/cjs/br-select-input_3.cjs.entry.js +16 -93
- package/dist/cjs/br-sign-in.cjs.entry.js +3 -3
- package/dist/cjs/br-skip-link-item.cjs.entry.js +1 -1
- package/dist/cjs/br-skip-link.cjs.entry.js +2 -2
- package/dist/cjs/br-skiplink-item.cjs.entry.js +2 -2
- package/dist/cjs/br-slider.cjs.entry.js +3 -3
- package/dist/cjs/br-step_2.cjs.entry.js +3 -3
- package/dist/cjs/br-switch.cjs.entry.js +2 -2
- package/dist/cjs/br-tab-item.cjs.entry.js +3 -3
- package/dist/cjs/br-tab.cjs.entry.js +7 -7
- package/dist/cjs/br-table-action_6.cjs.entry.js +1500 -0
- package/dist/cjs/br-table-body.cjs.entry.js +4 -16
- package/dist/cjs/br-table-header.cjs.entry.js +4 -16
- package/dist/cjs/br-table.cjs.entry.js +2616 -433
- package/dist/cjs/br-tag.cjs.entry.js +4 -4
- package/dist/cjs/br-textarea.cjs.entry.js +3 -3
- package/dist/cjs/br-tooltip.cjs.entry.js +5 -29
- package/dist/cjs/br-upload.cjs.entry.js +4 -4
- package/dist/cjs/br-wizard-panel.cjs.entry.js +3 -3
- package/dist/cjs/br-wizard.cjs.entry.js +3 -3
- package/dist/cjs/helpers-DkkDubv1.js +28 -0
- package/dist/cjs/{icon.utils-DF6kMskA.js → icon.utils-CMs0ukvR.js} +1 -1
- package/dist/cjs/{index-Bc30P_6z.js → index-BP8UIQro.js} +34 -34
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/table.utils-De-9_NgJ.js +749 -0
- package/dist/cjs/webcomponents.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/avatar/avatar.css +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.css +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.js +9 -9
- package/dist/collection/components/button/button.css +1 -1
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/card/card.css +1 -1
- package/dist/collection/components/carousel/carousel-page/carousel-page.css +1 -1
- package/dist/collection/components/carousel/carousel.css +1 -1
- package/dist/collection/components/carousel/carousel.js +3 -3
- package/dist/collection/components/checkbox/checkbox.css +1 -1
- package/dist/collection/components/checkbox-group/checkbox-group.css +1 -1
- package/dist/collection/components/collapse/collapse.css +1 -1
- package/dist/collection/components/collapse/collapse.js +9 -9
- package/dist/collection/components/cookiebar/cookiebar-cookie/cookiebar-cookie.css +1 -1
- package/dist/collection/components/cookiebar/cookiebar-group/cookiebar-group.css +1 -1
- package/dist/collection/components/cookiebar/cookiebar-group/cookiebar-group.js +2 -2
- package/dist/collection/components/cookiebar/cookiebar-header/cookiebar-header.css +1 -1
- package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.css +1 -1
- package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.js +1 -1
- package/dist/collection/components/cookiebar/cookiebar-note/cookiebar-note.css +1 -1
- package/dist/collection/components/cookiebar/cookiebar-note-group/cookiebar-note-group.css +1 -1
- package/dist/collection/components/cookiebar/cookiebar-note-group/cookiebar-note-group.js +1 -1
- package/dist/collection/components/cookiebar/cookiebar.css +1 -1
- package/dist/collection/components/cookiebar/cookiebar.js +3 -3
- package/dist/collection/components/datetime-picker/date-picker/date-picker.css +1 -1
- package/dist/collection/components/datetime-picker/date-picker/date-picker.js +4 -4
- package/dist/collection/components/datetime-picker/datetime-input/datetime-input.css +1 -1
- package/dist/collection/components/datetime-picker/datetime-input/datetime-input.js +3 -3
- package/dist/collection/components/datetime-picker/datetime-picker.css +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.utils.js +6 -6
- package/dist/collection/components/datetime-picker/time-picker/time-picker.css +1 -1
- package/dist/collection/components/datetime-picker/time-picker/time-picker.js +3 -3
- package/dist/collection/components/divider/divider.css +1 -1
- package/dist/collection/components/dropdown/dropdown.css +1 -1
- package/dist/collection/components/dropdown/dropdown.js +6 -8
- package/dist/collection/components/footer/footer-category/footer-category.css +1 -1
- package/dist/collection/components/footer/footer-item/footer-item.css +1 -1
- package/dist/collection/components/footer/footer-legal/footer-legal.css +1 -1
- package/dist/collection/components/footer/footer-logo/footer-logo.css +1 -1
- package/dist/collection/components/footer/footer-social/footer-social.css +1 -1
- package/dist/collection/components/footer/footer-social/footer-social.js +2 -2
- package/dist/collection/components/footer/footer.css +1 -1
- package/dist/collection/components/header/header-function/header-function.css +1 -1
- package/dist/collection/components/header/header-link/header-link.css +1 -1
- package/dist/collection/components/header/header-list/header-list.css +1 -1
- package/dist/collection/components/header/header-list/header-list.js +2 -2
- package/dist/collection/components/header/header-logo/header-logo.css +1 -1
- package/dist/collection/components/header/header.css +1 -1
- package/dist/collection/components/header/header.js +4 -4
- package/dist/collection/components/icon/default-icons-cache.js +159 -146
- package/dist/collection/components/icon/icon.css +1 -1
- package/dist/collection/components/icon/icon.js +17 -13
- package/dist/collection/components/icon/icon.utils.js +1 -1
- package/dist/collection/components/input/input.css +1 -1
- package/dist/collection/components/input/input.js +120 -2
- package/dist/collection/components/item/item.css +1 -1
- package/dist/collection/components/link/link.css +1 -1
- package/dist/collection/components/list/list.css +1 -1
- package/dist/collection/components/loading/loading.css +1 -1
- package/dist/collection/components/magic-button/magic-button.css +1 -1
- package/dist/collection/components/magic-button/magic-button.js +11 -12
- package/dist/collection/components/menu/menu-group/menu-group.css +1 -1
- package/dist/collection/components/menu/menu-header/menu-header.css +1 -1
- package/dist/collection/components/menu/menu-header/menu-header.js +1 -1
- package/dist/collection/components/menu/menu-info/menu-info.css +1 -1
- package/dist/collection/components/menu/menu-item/menu-item.css +1 -1
- package/dist/collection/components/menu/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu/menu-link/menu-link.css +1 -1
- package/dist/collection/components/menu/menu-link/menu-link.js +1 -1
- package/dist/collection/components/menu/menu-list/menu-list.css +1 -1
- package/dist/collection/components/menu/menu-logo/menu-logo.css +1 -1
- package/dist/collection/components/menu/menu-social/menu-social.css +1 -1
- package/dist/collection/components/menu/menu-social/menu-social.js +1 -1
- package/dist/collection/components/menu/menu.css +1 -1
- package/dist/collection/components/menu/menu.js +3 -3
- package/dist/collection/components/message/message.css +1 -1
- package/dist/collection/components/modal/modal.css +1 -1
- package/dist/collection/components/notification/notification-body/notification-body.css +1 -1
- package/dist/collection/components/notification/notification-header/notification-header.css +1 -1
- package/dist/collection/components/notification/notification-item/notification-item.css +1 -1
- package/dist/collection/components/notification/notification.css +1 -1
- package/dist/collection/components/pagination/pagination.css +1 -1
- package/dist/collection/components/pagination/pagination.js +4 -4
- package/dist/collection/components/radio/radio.css +1 -1
- package/dist/collection/components/radio-group/radio-group.css +1 -1
- package/dist/collection/components/scrim/scrim.css +1 -1
- package/dist/collection/components/select/select-input/select-input.css +1 -1
- package/dist/collection/components/select/select-input/select-input.js +6 -84
- package/dist/collection/components/select/select-list/select-list.css +1 -1
- package/dist/collection/components/select/select-option/select-option.css +1 -1
- package/dist/collection/components/select/select-option/select-option.js +8 -7
- package/dist/collection/components/select/select.css +1 -1
- package/dist/collection/components/select/select.js +22 -6
- package/dist/collection/components/sign-in/sign-in.css +1 -1
- package/dist/collection/components/sign-in/sign-in.js +1 -1
- package/dist/collection/components/skip-link/skip-link-item/skip-link-item.css +1 -1
- package/dist/collection/components/skip-link/skip-link.css +1 -1
- package/dist/collection/components/slider/slider.css +1 -1
- package/dist/collection/components/slider/slider.js +4 -4
- package/dist/collection/components/step/step-item/step-item.css +1 -1
- package/dist/collection/components/step/step.css +1 -1
- package/dist/collection/components/switch/switch.css +1 -1
- package/dist/collection/components/tab/tab-item/tab-item.css +1 -1
- package/dist/collection/components/tab/tab-item/tab-item.js +2 -2
- package/dist/collection/components/tab/tab.css +1 -1
- package/dist/collection/components/tab/tab.js +4 -4
- package/dist/collection/components/table/table-action/table-action.css +1 -0
- package/dist/collection/components/table/table-action/table-action.js +349 -0
- package/dist/collection/components/table/table-bar/table-bar.css +1 -0
- package/dist/collection/components/table/table-bar/table-bar.js +652 -0
- package/dist/collection/components/table/table-body/table-body.css +1 -1
- package/dist/collection/components/table/table-body/table-body.js +12 -17
- package/dist/collection/components/table/table-cell/table-cell.css +1 -1
- package/dist/collection/components/table/table-cell/table-cell.js +556 -83
- package/dist/collection/components/table/table-footer/table-footer.css +1 -0
- package/dist/collection/components/table/table-footer/table-footer.js +233 -0
- package/dist/collection/components/table/table-header/table-header.css +1 -1
- package/dist/collection/components/table/table-header/table-header.js +11 -17
- package/dist/collection/components/table/table-header-cell/table-header-cell.css +1 -1
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +287 -86
- package/dist/collection/components/table/table-row/table-row.css +1 -1
- package/dist/collection/components/table/table-row/table-row.js +312 -57
- package/dist/collection/components/table/table.actions-tooltip.js +33 -0
- package/dist/collection/components/table/{table-constants.js → table.constants.js} +54 -77
- package/dist/collection/components/table/table.css +1 -1
- package/dist/collection/components/table/table.data.js +461 -0
- package/dist/collection/components/table/table.expansion.elements.js +70 -0
- package/dist/collection/components/table/table.expansion.js +179 -0
- package/dist/collection/components/table/table.grouping.js +97 -0
- package/dist/collection/components/table/table.header-height.js +47 -0
- package/dist/collection/components/table/table.js +2499 -618
- package/dist/collection/components/table/table.keyboard.js +340 -0
- package/dist/collection/components/table/table.scroll-shadows.js +36 -0
- package/dist/collection/components/table/table.selection.elements.js +63 -0
- package/dist/collection/components/table/table.selection.js +239 -0
- package/dist/collection/components/table/table.tokens.js +28 -0
- package/dist/collection/components/table/table.types.js +1 -0
- package/dist/collection/components/table/table.utils.js +75 -0
- package/dist/collection/components/table/table.virtual-list.js +342 -0
- package/dist/collection/components/tag/tag.css +1 -1
- package/dist/collection/components/tag/tag.js +2 -2
- package/dist/collection/components/textarea/textarea.css +1 -1
- package/dist/collection/components/textarea/textarea.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +1 -1
- package/dist/collection/components/tooltip/tooltip.js +3 -27
- package/dist/collection/components/upload/upload.css +1 -1
- package/dist/collection/components/upload/upload.js +2 -2
- package/dist/collection/components/wizard/wizard-panel/wizard-panel.css +1 -1
- package/dist/collection/components/wizard/wizard-panel/wizard-panel.js +1 -1
- package/dist/collection/components/wizard/wizard.css +1 -1
- package/dist/collection/components/wizard/wizard.js +1 -1
- package/dist/collection/pages/scripts/code-editor.js +28 -3
- package/dist/collection/pages/scripts/pageLoader.js +286 -20
- package/dist/collection/pages/scripts/pageloader-preview.js +3 -1
- package/dist/components/br-avatar.js +1 -1
- package/dist/components/br-breadcrumb-item.js +1 -1
- package/dist/components/br-breadcrumb.js +1 -1
- package/dist/components/br-button.js +1 -1
- package/dist/components/br-card.js +1 -1
- package/dist/components/br-carousel-page.js +1 -1
- package/dist/components/br-carousel.js +1 -1
- package/dist/components/br-checkbox-group.js +1 -1
- package/dist/components/br-checkbox.js +1 -1
- package/dist/components/br-checkgroup.js +1 -1
- package/dist/components/br-collapse.js +1 -1
- package/dist/components/br-cookiebar-cookie.js +1 -1
- package/dist/components/br-cookiebar-group.js +1 -1
- package/dist/components/br-cookiebar-header.js +1 -1
- package/dist/components/br-cookiebar-link.js +1 -1
- package/dist/components/br-cookiebar-note-group.js +1 -1
- package/dist/components/br-cookiebar-note.js +1 -1
- package/dist/components/br-cookiebar.js +1 -1
- package/dist/components/br-crumb.js +1 -1
- package/dist/components/br-date-picker.js +1 -1
- package/dist/components/br-datetime-input.js +1 -1
- package/dist/components/br-datetime-picker.js +1 -1
- package/dist/components/br-divider.js +1 -1
- package/dist/components/br-dropdown.js +1 -1
- package/dist/components/br-footer-category.js +1 -1
- package/dist/components/br-footer-item.js +1 -1
- package/dist/components/br-footer-legal.js +1 -1
- package/dist/components/br-footer-logo.js +1 -1
- package/dist/components/br-footer-social.js +1 -1
- package/dist/components/br-footer.js +1 -1
- package/dist/components/br-header-function.js +1 -1
- package/dist/components/br-header-link.js +1 -1
- package/dist/components/br-header-list.js +1 -1
- package/dist/components/br-header-logo.js +1 -1
- package/dist/components/br-header.js +1 -1
- package/dist/components/br-icon.js +1 -1
- package/dist/components/br-input.js +1 -1
- package/dist/components/br-item.js +1 -1
- package/dist/components/br-link.js +1 -1
- package/dist/components/br-list.js +1 -1
- package/dist/components/br-loading.js +1 -1
- package/dist/components/br-magic-button.js +1 -1
- package/dist/components/br-menu-group.js +1 -1
- package/dist/components/br-menu-header.js +1 -1
- package/dist/components/br-menu-info.js +1 -1
- package/dist/components/br-menu-item.js +1 -1
- package/dist/components/br-menu-link.js +1 -1
- package/dist/components/br-menu-list.js +1 -1
- package/dist/components/br-menu-logo.js +1 -1
- package/dist/components/br-menu-social.js +1 -1
- package/dist/components/br-menu.js +1 -1
- package/dist/components/br-message.js +1 -1
- package/dist/components/br-modal.js +1 -1
- package/dist/components/br-notification-body.js +1 -1
- package/dist/components/br-notification-header.js +1 -1
- package/dist/components/br-notification-item.js +1 -1
- package/dist/components/br-notification.js +1 -1
- package/dist/components/br-pagination.js +1 -1
- package/dist/components/br-radio-group.js +1 -1
- package/dist/components/br-radio.js +1 -1
- package/dist/components/br-scrim.js +1 -1
- package/dist/components/br-select-input.js +1 -1
- package/dist/components/br-select-list.js +1 -1
- package/dist/components/br-select-option.js +1 -1
- package/dist/components/br-select.js +1 -1
- package/dist/components/br-sign-in.js +1 -1
- package/dist/components/br-skip-link-item.js +1 -1
- package/dist/components/br-skip-link.js +1 -1
- package/dist/components/br-skiplink-item.js +1 -1
- package/dist/components/br-slider.js +1 -1
- package/dist/components/br-step-item.js +1 -1
- package/dist/components/br-step.js +1 -1
- package/dist/components/br-switch.js +1 -1
- package/dist/components/br-tab-item.js +1 -1
- package/dist/components/br-tab.js +1 -1
- package/dist/components/br-table-action.d.ts +11 -0
- package/dist/components/br-table-action.js +5 -0
- package/dist/components/br-table-bar.d.ts +11 -0
- package/dist/components/br-table-bar.js +5 -0
- package/dist/components/br-table-body.js +1 -1
- package/dist/components/br-table-cell.js +1 -1
- package/dist/components/br-table-footer.d.ts +11 -0
- package/dist/components/br-table-footer.js +5 -0
- package/dist/components/br-table-header-cell.js +1 -1
- package/dist/components/br-table-header.js +1 -1
- package/dist/components/br-table-row.js +1 -1
- package/dist/components/br-table.js +1 -1
- package/dist/components/br-tag.js +1 -1
- package/dist/components/br-textarea.js +1 -1
- package/dist/components/br-time-picker.js +1 -1
- package/dist/components/br-tooltip.js +1 -1
- package/dist/components/br-upload.js +1 -1
- package/dist/components/br-wizard-panel.js +1 -1
- package/dist/components/br-wizard.js +1 -1
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-082jxuTj.js +5 -0
- package/dist/components/p-381n6AwK.js +5 -0
- package/dist/components/{p-CyXVsiz9.js → p-B5_zbRAr.js} +1 -1
- package/dist/components/p-BE1gDPwC.js +5 -0
- package/dist/components/p-BV-c2pxt.js +5 -0
- package/dist/components/p-BfFbYAuJ.js +5 -0
- package/dist/components/{p-DcMjwTqu.js → p-Bi2E_w9Q.js} +1 -1
- package/dist/components/p-Bk8YcMql.js +5 -0
- package/dist/components/p-C3ISxUGw.js +5 -0
- package/dist/components/p-C3J0TVQO.js +5 -0
- package/dist/components/p-C6m13lCc.js +5 -0
- package/dist/components/{p-DBmwzG9E.js → p-CCWJ-H33.js} +1 -1
- package/dist/components/p-CJuHirYK.js +5 -0
- package/dist/components/{p-SWQlgYWR.js → p-CKS7ggLM.js} +1 -1
- package/dist/components/p-COSFBwu9.js +5 -0
- package/dist/components/p-CWPrXYam.js +5 -0
- package/dist/components/p-Ca89D_0s.js +5 -0
- package/dist/components/p-CbN58CFi.js +5 -0
- package/dist/components/p-CjjxTkKb.js +5 -0
- package/dist/components/p-Ck9t4WSb.js +5 -0
- package/dist/components/p-CvfVwD6_.js +5 -0
- package/dist/components/p-D-1sfjhG.js +5 -0
- package/dist/components/p-D-p4vLlP.js +5 -0
- package/dist/components/p-D6DArHGH.js +5 -0
- package/dist/components/p-DD3BItoS.js +5 -0
- package/dist/components/{p-448Z5r2f.js → p-DEIKwFIf.js} +1 -1
- package/dist/components/p-DHHAIESt.js +5 -0
- package/dist/components/{p-Jk_KQE5V.js → p-DMj5iO7_.js} +1 -1
- package/dist/components/p-DUI-S07G.js +5 -0
- package/dist/components/p-D_K9JH6J.js +5 -0
- package/dist/components/p-DiQp2Lap.js +5 -0
- package/dist/components/{p-DJKZ8ktB.js → p-Dvbqhybt.js} +1 -1
- package/dist/components/p-Dy7MSvt-.js +5 -0
- package/dist/components/p-DywTXNHQ.js +5 -0
- package/dist/components/p-Ft_P7Roz.js +5 -0
- package/dist/components/p-KuiFoKDl.js +5 -0
- package/dist/components/p-MiiczSWA.js +5 -0
- package/dist/components/p-Um3K2SHu.js +5 -0
- package/dist/components/p-YxddSP6q.js +5 -0
- package/dist/components/p-Zk91ebVT.js +5 -0
- package/dist/components/p-jv2oG0vH.js +5 -0
- package/dist/components/p-nrG_Gd0c.js +5 -0
- package/dist/components/p-syLEZrcg.js +5 -0
- package/dist/components/{p-jvKQA6x7.js → p-ydfWTgrA.js} +1 -1
- package/dist/esm/br-avatar.entry.js +3 -3
- package/dist/esm/br-breadcrumb-item.entry.js +1 -1
- package/dist/esm/br-breadcrumb.entry.js +12 -12
- package/dist/esm/br-button_2.entry.js +6 -6
- package/dist/esm/br-card.entry.js +2 -2
- package/dist/esm/br-carousel-page.entry.js +2 -2
- package/dist/esm/br-carousel.entry.js +6 -6
- package/dist/esm/br-checkbox-group.entry.js +3 -3
- package/dist/esm/br-checkbox.entry.js +3 -3
- package/dist/esm/br-checkgroup.entry.js +1 -1
- package/dist/esm/br-collapse_2.entry.js +9 -9
- package/dist/esm/br-cookiebar-cookie.entry.js +2 -2
- package/dist/esm/br-cookiebar-group.entry.js +4 -4
- package/dist/esm/br-cookiebar-header.entry.js +2 -2
- package/dist/esm/br-cookiebar-link.entry.js +4 -4
- package/dist/esm/br-cookiebar-note-group.entry.js +3 -3
- package/dist/esm/br-cookiebar-note.entry.js +2 -2
- package/dist/esm/br-cookiebar.entry.js +6 -6
- package/dist/esm/br-crumb.entry.js +1 -1
- package/dist/esm/br-date-picker_3.entry.js +14 -14
- package/dist/esm/br-datetime-picker.entry.js +5 -22
- package/dist/esm/br-divider.entry.js +3 -3
- package/dist/esm/br-dropdown.entry.js +675 -0
- package/dist/esm/br-footer-category.entry.js +2 -2
- package/dist/esm/br-footer-item.entry.js +3 -3
- package/dist/esm/br-footer-legal.entry.js +2 -2
- package/dist/esm/br-footer-logo.entry.js +3 -3
- package/dist/esm/br-footer-social.entry.js +4 -4
- package/dist/esm/br-footer.entry.js +3 -3
- package/dist/esm/br-header-function.entry.js +3 -3
- package/dist/esm/br-header-link.entry.js +3 -3
- package/dist/esm/br-header-list.entry.js +4 -4
- package/dist/esm/br-header-logo.entry.js +3 -3
- package/dist/esm/br-header.entry.js +7 -7
- package/dist/esm/br-icon.entry.js +173 -159
- package/dist/esm/br-input_2.entry.js +1424 -0
- package/dist/esm/br-item.entry.js +3 -3
- package/dist/esm/br-link.entry.js +3 -3
- package/dist/esm/br-magic-button.entry.js +12 -13
- package/dist/esm/br-menu-group.entry.js +2 -2
- package/dist/esm/br-menu-header.entry.js +3 -3
- package/dist/esm/br-menu-info.entry.js +2 -2
- package/dist/esm/br-menu-item.entry.js +4 -4
- package/dist/esm/br-menu-link.entry.js +4 -4
- package/dist/esm/br-menu-list.entry.js +2 -2
- package/dist/esm/br-menu-logo.entry.js +2 -2
- package/dist/esm/br-menu-social.entry.js +3 -3
- package/dist/esm/br-menu.entry.js +6 -6
- package/dist/esm/br-modal.entry.js +3 -3
- package/dist/esm/br-notification-body.entry.js +2 -2
- package/dist/esm/br-notification-header.entry.js +2 -2
- package/dist/esm/br-notification-item.entry.js +3 -3
- package/dist/esm/br-notification.entry.js +3 -3
- package/dist/esm/{br-dropdown_2.entry.js → br-pagination_2.entry.js} +813 -558
- package/dist/esm/br-radio-group.entry.js +3 -3
- package/dist/esm/br-radio.entry.js +3 -3
- package/dist/esm/br-scrim.entry.js +3 -3
- package/dist/esm/br-select-input_3.entry.js +17 -94
- package/dist/esm/br-sign-in.entry.js +4 -4
- package/dist/esm/br-skip-link-item.entry.js +1 -1
- package/dist/esm/br-skip-link.entry.js +3 -3
- package/dist/esm/br-skiplink-item.entry.js +3 -3
- package/dist/esm/br-slider.entry.js +4 -4
- package/dist/esm/br-step_2.entry.js +4 -4
- package/dist/esm/br-switch.entry.js +3 -3
- package/dist/esm/br-tab-item.entry.js +4 -4
- package/dist/esm/br-tab.entry.js +8 -8
- package/dist/esm/br-table-action_6.entry.js +1493 -0
- package/dist/esm/br-table-body.entry.js +4 -16
- package/dist/esm/br-table-header.entry.js +4 -16
- package/dist/esm/br-table.entry.js +2591 -408
- package/dist/esm/br-tag.entry.js +5 -5
- package/dist/esm/br-textarea.entry.js +4 -4
- package/dist/esm/br-tooltip.entry.js +6 -30
- package/dist/esm/br-upload.entry.js +5 -5
- package/dist/esm/br-wizard-panel.entry.js +3 -3
- package/dist/esm/br-wizard.entry.js +4 -4
- package/dist/esm/helpers-BNW9pAhl.js +26 -0
- package/dist/esm/{icon.utils-zlORkiHQ.js → icon.utils-CXDYKUBz.js} +1 -1
- package/dist/esm/{index-ConyRdJe.js → index-CwL52661.js} +34 -35
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{props-D07GjR4_.js → props-BbxNgEcJ.js} +1 -1
- package/dist/esm/table.utils-CtVdlcgI.js +706 -0
- package/dist/esm/webcomponents.js +3 -3
- package/dist/hydrate/index.js +5269 -1302
- package/dist/hydrate/index.mjs +5269 -1302
- package/dist/types/components/collapse/collapse.d.ts +2 -2
- package/dist/types/components/footer/footer-social/footer-social.d.ts +2 -3
- package/dist/types/components/icon/icon.d.ts +6 -6
- package/dist/types/components/icon/icon.utils.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +7 -1
- package/dist/types/components/input/input.types.d.ts +18 -0
- package/dist/types/components/magic-button/magic-button.d.ts +7 -8
- package/dist/types/components/menu/menu-social/menu-social.d.ts +2 -3
- package/dist/types/components/select/select-input/select-input.d.ts +1 -4
- package/dist/types/components/select/select-option/select-option.d.ts +3 -1
- package/dist/types/components/slider/slider.d.ts +4 -4
- package/dist/types/components/tab/tab-item/tab-item.d.ts +2 -2
- package/dist/types/components/tab/tab.d.ts +1 -1
- package/dist/types/components/table/table-action/table-action.d.ts +107 -0
- package/dist/types/components/table/table-bar/table-bar.d.ts +193 -0
- package/dist/types/components/table/table-body/table-body.d.ts +11 -16
- package/dist/types/components/table/table-cell/table-cell.d.ts +178 -38
- package/dist/types/components/table/table-footer/table-footer.d.ts +40 -0
- package/dist/types/components/table/table-footer/table-footer.types.d.ts +12 -0
- package/dist/types/components/table/table-header/table-header.d.ts +10 -16
- package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +102 -53
- package/dist/types/components/table/table-row/table-row.d.ts +88 -29
- package/dist/types/components/table/table.actions-tooltip.d.ts +11 -0
- package/dist/types/components/table/{table-constants.d.ts → table.constants.d.ts} +50 -77
- package/dist/types/components/table/table.d.ts +601 -222
- package/dist/types/components/table/table.data.d.ts +78 -0
- package/dist/types/components/table/table.expansion.d.ts +65 -0
- package/dist/types/components/table/table.expansion.elements.d.ts +30 -0
- package/dist/types/components/table/table.grouping.d.ts +25 -0
- package/dist/types/components/table/table.header-height.d.ts +17 -0
- package/dist/types/components/table/table.keyboard.d.ts +53 -0
- package/dist/types/components/table/table.scroll-shadows.d.ts +11 -0
- package/dist/types/components/table/table.selection.d.ts +84 -0
- package/dist/types/components/table/table.selection.elements.d.ts +42 -0
- package/dist/types/components/table/table.tokens.d.ts +24 -0
- package/dist/types/components/table/table.types.d.ts +199 -0
- package/dist/types/components/table/table.utils.d.ts +52 -0
- package/dist/types/components/table/table.virtual-list.d.ts +96 -0
- package/dist/types/components.d.ts +1401 -279
- package/dist/webcomponents/{p-85c8d060.entry.js → p-07e80bf8.entry.js} +1 -1
- package/dist/webcomponents/p-10d81622.entry.js +5 -0
- package/dist/webcomponents/{p-a9f16a65.entry.js → p-12d5f533.entry.js} +1 -1
- package/dist/webcomponents/p-15699e8a.entry.js +5 -0
- package/dist/webcomponents/{p-bbcde1ea.entry.js → p-15e2f5cc.entry.js} +1 -1
- package/dist/webcomponents/{p-5528b466.entry.js → p-16d27d5c.entry.js} +1 -1
- package/dist/webcomponents/p-18d3fab8.entry.js +5 -0
- package/dist/webcomponents/p-23c916d9.entry.js +5 -0
- package/dist/webcomponents/p-2aee69fd.entry.js +5 -0
- package/dist/webcomponents/p-2d3db296.entry.js +5 -0
- package/dist/webcomponents/p-2ed6afdd.entry.js +5 -0
- package/dist/webcomponents/{p-bbf47e78.entry.js → p-30c865e6.entry.js} +1 -1
- package/dist/webcomponents/p-32afb78c.entry.js +5 -0
- package/dist/webcomponents/p-33d24cbd.entry.js +5 -0
- package/dist/webcomponents/p-35d63edd.entry.js +5 -0
- package/dist/webcomponents/p-3b1ff55e.entry.js +5 -0
- package/dist/webcomponents/p-3c7246cf.entry.js +5 -0
- package/dist/webcomponents/{p-11d4edc5.entry.js → p-407e7b69.entry.js} +1 -1
- package/dist/webcomponents/{p-53550e8c.entry.js → p-41b12e3c.entry.js} +1 -1
- package/dist/webcomponents/p-47adc17f.entry.js +5 -0
- package/dist/webcomponents/{p-21e10074.entry.js → p-48fc8e56.entry.js} +1 -1
- package/dist/webcomponents/p-4a44c8b8.entry.js +5 -0
- package/dist/webcomponents/{p-6d58ab4f.entry.js → p-4b0f3701.entry.js} +1 -1
- package/dist/webcomponents/{p-84dfbfdd.entry.js → p-4b66200c.entry.js} +1 -1
- package/dist/webcomponents/{p-324afbce.entry.js → p-4c0a1c05.entry.js} +1 -1
- package/dist/webcomponents/p-4c72d706.entry.js +5 -0
- package/dist/webcomponents/p-505173e0.entry.js +5 -0
- package/dist/webcomponents/p-50caea68.entry.js +5 -0
- package/dist/webcomponents/p-5419fd2c.entry.js +5 -0
- package/dist/webcomponents/{p-ed3fa8ec.entry.js → p-5693e0e7.entry.js} +1 -1
- package/dist/webcomponents/p-58247764.entry.js +5 -0
- package/dist/webcomponents/{p-3926cc91.entry.js → p-5d0f4851.entry.js} +1 -1
- package/dist/webcomponents/{p-39a7826d.entry.js → p-60c949c8.entry.js} +1 -1
- package/dist/webcomponents/p-61b84035.entry.js +5 -0
- package/dist/webcomponents/{p-e121429a.entry.js → p-62a74e0a.entry.js} +1 -1
- package/dist/webcomponents/p-6450913e.entry.js +5 -0
- package/dist/webcomponents/p-66c8b8d9.entry.js +5 -0
- package/dist/webcomponents/{p-c6f2f17b.entry.js → p-67281ef1.entry.js} +1 -1
- package/dist/webcomponents/{p-087ed5e7.entry.js → p-6e128c7a.entry.js} +1 -1
- package/dist/webcomponents/p-725e92ab.entry.js +5 -0
- package/dist/webcomponents/{p-19b4b1b7.entry.js → p-74726f20.entry.js} +1 -1
- package/dist/webcomponents/{p-975ea5c7.entry.js → p-75bd655b.entry.js} +1 -1
- package/dist/webcomponents/p-7bf78e48.entry.js +5 -0
- package/dist/webcomponents/p-7cc28ecf.entry.js +5 -0
- package/dist/webcomponents/{p-913d6f28.entry.js → p-7ec01a99.entry.js} +1 -1
- package/dist/webcomponents/{p-d205f3fd.entry.js → p-7f17dbca.entry.js} +1 -1
- package/dist/webcomponents/{p-152482f9.entry.js → p-8120f3ce.entry.js} +1 -1
- package/dist/webcomponents/p-8ded7870.entry.js +5 -0
- package/dist/webcomponents/p-9ab989d1.entry.js +5 -0
- package/dist/webcomponents/p-9be642ff.entry.js +5 -0
- package/dist/webcomponents/p-9d41995a.entry.js +5 -0
- package/dist/webcomponents/{p-EbtQZm5s.js → p-CjVabz-h.js} +1 -1
- package/dist/webcomponents/{p-ConyRdJe.js → p-CwL52661.js} +2 -2
- package/dist/webcomponents/p-Zk91ebVT.js +5 -0
- package/dist/webcomponents/p-_BMaB_68.js +5 -0
- package/dist/webcomponents/p-a150b61d.entry.js +5 -0
- package/dist/webcomponents/{p-55e0822d.entry.js → p-a264acf6.entry.js} +1 -1
- package/dist/webcomponents/p-a5616523.entry.js +5 -0
- package/dist/webcomponents/{p-eb5806c7.entry.js → p-ae3dfb9c.entry.js} +1 -1
- package/dist/webcomponents/p-b1aeb805.entry.js +5 -0
- package/dist/webcomponents/p-b8eea3ef.entry.js +5 -0
- package/dist/webcomponents/p-c6952f8d.entry.js +5 -0
- package/dist/webcomponents/p-c743e5c5.entry.js +5 -0
- package/dist/webcomponents/p-d0c659c3.entry.js +5 -0
- package/dist/webcomponents/p-d3dec923.entry.js +5 -0
- package/dist/webcomponents/{p-12dd22af.entry.js → p-d5405bbe.entry.js} +1 -1
- package/dist/webcomponents/{p-c29268b5.entry.js → p-d6d3a552.entry.js} +1 -1
- package/dist/webcomponents/p-dab66328.entry.js +5 -0
- package/dist/webcomponents/{p-cb1e08b1.entry.js → p-db02533d.entry.js} +1 -1
- package/dist/webcomponents/p-dda22999.entry.js +5 -0
- package/dist/webcomponents/p-e2a46f44.entry.js +5 -0
- package/dist/webcomponents/{p-e0ccf189.entry.js → p-e3680ff8.entry.js} +1 -1
- package/dist/webcomponents/p-e5b9652d.entry.js +5 -0
- package/dist/webcomponents/p-e7f02302.entry.js +5 -0
- package/dist/webcomponents/p-f0720e23.entry.js +5 -0
- package/dist/webcomponents/p-f244009d.entry.js +5 -0
- package/dist/webcomponents/p-f32c40ee.entry.js +5 -0
- package/dist/webcomponents/{p-e4b968b5.entry.js → p-f697abbd.entry.js} +1 -1
- package/dist/webcomponents/p-f7ed35ef.entry.js +5 -0
- package/dist/webcomponents/p-f8576e0a.entry.js +5 -0
- package/dist/webcomponents/p-fcc62731.entry.js +5 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/br-input.cjs.entry.js +0 -763
- package/dist/cjs/br-loading.cjs.entry.js +0 -567
- package/dist/cjs/br-pagination.cjs.entry.js +0 -916
- package/dist/cjs/br-table-cell.cjs.entry.js +0 -201
- package/dist/cjs/br-table-header-cell.cjs.entry.js +0 -189
- package/dist/cjs/br-table-row.cjs.entry.js +0 -95
- package/dist/cjs/table-constants-BOPSay0B.js +0 -183
- package/dist/collection/components/table/table-tokens.js +0 -50
- package/dist/collection/components/table/table-utils.js +0 -44
- package/dist/components/p-AhfgJCUp.js +0 -5
- package/dist/components/p-AoNL6BaW.js +0 -5
- package/dist/components/p-B468MCYC.js +0 -5
- package/dist/components/p-B985Ov_x.js +0 -5
- package/dist/components/p-BOWQIHQA.js +0 -5
- package/dist/components/p-BPQrgCRr.js +0 -5
- package/dist/components/p-BwQT0fOJ.js +0 -5
- package/dist/components/p-CAgbUwsx.js +0 -5
- package/dist/components/p-CFXey8i8.js +0 -5
- package/dist/components/p-CW8xwk6J.js +0 -5
- package/dist/components/p-CXMwM9m4.js +0 -5
- package/dist/components/p-CYZVdKeO.js +0 -5
- package/dist/components/p-CeWbZN7V.js +0 -5
- package/dist/components/p-DDe0tQEO.js +0 -5
- package/dist/components/p-DRsZ9GNg.js +0 -5
- package/dist/components/p-DU54cqCf.js +0 -5
- package/dist/components/p-DVJlmlEX.js +0 -5
- package/dist/components/p-Dd1qCWAK.js +0 -5
- package/dist/components/p-DiLI514I.js +0 -5
- package/dist/components/p-DoWy_P8b.js +0 -5
- package/dist/components/p-HbhTnepI.js +0 -5
- package/dist/components/p-Or3FLzbz.js +0 -5
- package/dist/components/p-Zb9nyfTY.js +0 -5
- package/dist/components/p-pQb-3jFY.js +0 -5
- package/dist/components/p-qX6sHxOk.js +0 -5
- package/dist/esm/br-input.entry.js +0 -761
- package/dist/esm/br-loading.entry.js +0 -565
- package/dist/esm/br-pagination.entry.js +0 -914
- package/dist/esm/br-table-cell.entry.js +0 -199
- package/dist/esm/br-table-header-cell.entry.js +0 -187
- package/dist/esm/br-table-row.entry.js +0 -93
- package/dist/esm/table-constants-CXMwM9m4.js +0 -170
- package/dist/types/components/table/table-tokens.d.ts +0 -46
- package/dist/types/components/table/table-types.d.ts +0 -107
- package/dist/types/components/table/table-utils.d.ts +0 -47
- package/dist/webcomponents/p-031a2256.entry.js +0 -5
- package/dist/webcomponents/p-0602e5b1.entry.js +0 -5
- package/dist/webcomponents/p-079d5f69.entry.js +0 -5
- package/dist/webcomponents/p-0d5a9ebf.entry.js +0 -5
- package/dist/webcomponents/p-105b4d06.entry.js +0 -5
- package/dist/webcomponents/p-14aedf0d.entry.js +0 -5
- package/dist/webcomponents/p-1cd1126e.entry.js +0 -5
- package/dist/webcomponents/p-2271ea84.entry.js +0 -5
- package/dist/webcomponents/p-271b1ede.entry.js +0 -5
- package/dist/webcomponents/p-28f732fc.entry.js +0 -5
- package/dist/webcomponents/p-2971d38a.entry.js +0 -5
- package/dist/webcomponents/p-2ac48875.entry.js +0 -5
- package/dist/webcomponents/p-2b1a919c.entry.js +0 -5
- package/dist/webcomponents/p-2da57966.entry.js +0 -5
- package/dist/webcomponents/p-2e81b0b3.entry.js +0 -5
- package/dist/webcomponents/p-2eececed.entry.js +0 -5
- package/dist/webcomponents/p-2f904c4a.entry.js +0 -5
- package/dist/webcomponents/p-32414f1c.entry.js +0 -5
- package/dist/webcomponents/p-32ea6342.entry.js +0 -5
- package/dist/webcomponents/p-330ec8ab.entry.js +0 -5
- package/dist/webcomponents/p-374f83b1.entry.js +0 -5
- package/dist/webcomponents/p-3bcc2c58.entry.js +0 -5
- package/dist/webcomponents/p-3c7ce0e4.entry.js +0 -5
- package/dist/webcomponents/p-467842ca.entry.js +0 -5
- package/dist/webcomponents/p-53e71a8a.entry.js +0 -5
- package/dist/webcomponents/p-58bacbe1.entry.js +0 -5
- package/dist/webcomponents/p-5a5ed7d8.entry.js +0 -5
- package/dist/webcomponents/p-621f0fa8.entry.js +0 -5
- package/dist/webcomponents/p-6514a75d.entry.js +0 -5
- package/dist/webcomponents/p-678b43a6.entry.js +0 -5
- package/dist/webcomponents/p-6b6be415.entry.js +0 -5
- package/dist/webcomponents/p-6ff9b26e.entry.js +0 -5
- package/dist/webcomponents/p-992167bc.entry.js +0 -5
- package/dist/webcomponents/p-CXMwM9m4.js +0 -5
- package/dist/webcomponents/p-a21872bf.entry.js +0 -5
- package/dist/webcomponents/p-b8d4ace3.entry.js +0 -5
- package/dist/webcomponents/p-bf35e506.entry.js +0 -5
- package/dist/webcomponents/p-c09af3cd.entry.js +0 -5
- package/dist/webcomponents/p-c3e61c39.entry.js +0 -5
- package/dist/webcomponents/p-c6b2545a.entry.js +0 -5
- package/dist/webcomponents/p-cae39e13.entry.js +0 -5
- package/dist/webcomponents/p-cb690a87.entry.js +0 -5
- package/dist/webcomponents/p-d0be7243.entry.js +0 -5
- package/dist/webcomponents/p-d191c6e3.entry.js +0 -5
- package/dist/webcomponents/p-d3bd2c40.entry.js +0 -5
- package/dist/webcomponents/p-dbeea64e.entry.js +0 -5
- package/dist/webcomponents/p-df475129.entry.js +0 -5
- package/dist/webcomponents/p-e661c024.entry.js +0 -5
- package/dist/webcomponents/p-e6c6f305.entry.js +0 -5
- package/dist/webcomponents/p-e8291be2.entry.js +0 -5
- package/dist/webcomponents/p-f9084f16.entry.js +0 -5
- package/dist/webcomponents/p-fad3aa61.entry.js +0 -5
- /package/dist/collection/components/table/{table-types.js → table-footer/table-footer.types.js} +0 -0
- /package/dist/webcomponents/{p-zlORkiHQ.js → p-CXDYKUBz.js} +0 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Construído por SERPRO
|
|
3
|
+
* © https://serpro.gov.br/ - MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import{p as t,H as i,c as e,h as a,d as r,t as o}from"./p-DMj5iO7_.js";import{r as s}from"./p-BC7f6MK8.js";import{r as n,a as l,g as c,s as h,i as d,b as g,c as b,d as m}from"./p-CDTENPaP.js";import{g as p}from"./p-BeJxz5TQ.js";import{b as u,r as v}from"./p-CJuHirYK.js";import{a as f,b as w}from"./p-BNckUhK6.js";import{d as x}from"./p-CWPrXYam.js";import{d as k}from"./p-Ca89D_0s.js";import{d as y}from"./p-YxddSP6q.js";const z=["right","left","top"],C=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.checkedChange=e(this,"checkedChange",7),this.brSwitchValidationChange=e(this,"brSwitchValidationChange",7),this.elementInternals=this.attachInternals(),this._slotDefault=!1,this.formDisabled=!1,this.hasFeedbackSlot=!1,this.manualValidationMessage="",this.validatorMessage=null,this.isValidating=!1,this.disabled=!1,this.required=!1,this.checked=!1,this.customId=p(),this.labelPosition="left",this.hasIcon=!1,this.density="medium",this.validationRunId=0,this.initialChecked=!1,this.handleCheckedInput=t=>{this.isDisabled()||(this.checked=t.target.checked,this.checkedChange.emit(this.checked),s(this.el,t,"input"))},this.handleCheckedChange=t=>{s(this.el,t,"change"),this.validate()},this.handleClick=t=>{this.isDisabled()&&t.preventDefault(),t.stopPropagation()}}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){this.nativeInput&&this.nativeInput.setCustomValidity(""),this.manualValidationMessage="",this.validatorMessage=null,this.validationRunId++,this.checked=this.initialChecked,this.syncFormState()}formStateRestoreCallback(t){this.checked="checked"===t,this.syncFormState()}checkedChanged(){this.syncFormState()}componentWillLoad(){this._hasSlotContentDefault(),this.initialChecked=this.checked,this.syncFormState()}componentDidLoad(){this.hasFeedbackSlot=null!==this.el.querySelector('[slot="feedback"]'),this.updateValidity()}componentDidUpdate(){this.updateValidity()}async checkValidity(){return this.elementInternals?.checkValidity?.()??!0}async reportValidity(){return this.elementInternals?.reportValidity?.()??!0}async setCustomValidity(t){this.manualValidationMessage=t,this.nativeInput&&(this.nativeInput.setCustomValidity(t),this.updateValidity())}async validate(){const t=n(this.validator);if(!t||this.isDisabled())return this.checkValidity();const i=++this.validationRunId;this.isValidating=!0,this.validatorMessage=null,this.updateValidity(),this.brSwitchValidationChange.emit({validating:!0,valid:null,message:null});const e=await l(t,this.checked);if(i!==this.validationRunId)return!1;this.validatorMessage=e,this.isValidating=!1,this.updateValidity();const a=null===e&&await this.checkValidity();return this.brSwitchValidationChange.emit({validating:!1,valid:a,message:e}),a}async getValidationState(){return c(this.elementInternals)}async toggleChecked(){this.isDisabled()||(this.checked=!this.checked)}syncFormState(){h(this.elementInternals,m(this.checked,this.value),b(this.checked)),this.updateValidity()}isDisabled(){return d(this.disabled,this.formDisabled)}updateValidity(){this.nativeInput&&this.nativeInput.setCustomValidity(this.manualValidationMessage||this.validatorMessage||""),g(this.elementInternals,this.nativeInput)}_hasSlotContentDefault(){this._slotDefault=f(this.el)}getAccessibilityLabel(){const t=this.el.getAttribute("aria-label");return t&&""!==t.trim()?t:this.label&&""!==this.label.trim()?this.label:"string"==typeof this.labelOn&&""!==this.labelOn.trim()&&"string"==typeof this.labelOff&&""!==this.labelOff.trim()?`Alternar entre ${this.labelOff} e ${this.labelOn}`:"Alternar seleção"}hasVisibleText(){return this._slotDefault||null!=this.label&&""!==this.label.trim()}getCssClassMap(){const t=u(this.el,this.density),i=this.effectiveLabelPosition;return{"br-switch":!0,icon:this.showIcon??this.hasIcon,top:"top"===i,right:"right"===i,large:"large"===t,small:"small"===t,disabled:this.isDisabled()}}get effectiveLabelPosition(){return v(this.el,"labelPosition",this.labelPosition,z,"left")}render(){const t=this.hasVisibleText();return a(r,{key:"141b4f6f371d03a6554a01a15996ce89b26f962c","aria-disabled":this.isDisabled()?"true":null},a("div",{key:"7cdf5f1cbd227f33144d4c960a71b991c8c51c11",class:this.getCssClassMap(),part:"container"},a("input",{key:"4a54952ba5dda655270b20d20eab2ca427d9e4c1",part:"input",ref:t=>this.nativeInput=t,id:this.customId,type:"checkbox",name:this.name,checked:this.checked,disabled:this.isDisabled(),required:this.required,role:"switch","aria-checked":this.checked?"true":"false","aria-busy":this.isValidating?"true":null,"aria-describedby":this.hasFeedbackSlot||this.manualValidationMessage||this.validatorMessage?`${this.customId}-feedback`:null,"aria-errormessage":this.manualValidationMessage||this.validatorMessage||this.hasFeedbackSlot?`${this.customId}-feedback`:null,onInput:this.handleCheckedInput,onChange:this.handleCheckedChange,onClick:this.handleClick,...t?{}:{"aria-label":this.getAccessibilityLabel()}}),a("label",{key:"2d4f0422b86a75add78b798b0d4432cde6e6115a",part:"label",htmlFor:this.customId},this._slotDefault?a("slot",null):this.label||""),this.labelOn&&this.labelOff&&a("div",{key:"21a5d6c5711287154942ac4e02bfbcd28692311b",class:"switch-data","data-enabled":this.labelOn,"data-disabled":this.labelOff,"aria-hidden":"true",part:"data"})),a("div",{key:"fb6a97b0bfad1c1d51dc908e7b2e4a106aca01bc",id:`${this.customId}-feedback`,part:"feedback",hidden:!this.hasFeedbackSlot&&!this.manualValidationMessage&&!this.validatorMessage},a("slot",{key:"5e1123a152e4b467b33c6773b69fa1a4e1d4374a",name:"feedback",onSlotchange:t=>this.hasFeedbackSlot=w(t.currentTarget)}),this.hasFeedbackSlot||!this.manualValidationMessage&&!this.validatorMessage?null:a("br-message",{state:"danger",message:this.manualValidationMessage||this.validatorMessage})))}static get delegatesFocus(){return!0}static get formAssociated(){return!0}get el(){return this}static get watchers(){return{checked:[{checkedChanged:0}]}}static get style(){return'*,*::before,*::after{box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}small{font-size:80%}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:flex !important}}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown>.br-notification{left:auto;right:0}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{flex:1 0 0%;min-width:8.3333333333%}.col-auto{flex:0 0 auto;width:auto}.col-2{flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-fluid,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:flex;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}.col-sm-4{flex-basis:33.3333333333%;max-width:33.3333333333%}}@media (min-width: 992px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}.col-lg-3{flex-basis:25%;max-width:25%}}@media (min-width: 1600px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.ease{animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-out{animation-timing-function:cubic-bezier(0, 0, 0.58, 1)}.ease-in-out{animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.fast{animation-duration:var(--duration-fast)}.slow{animation-duration:var(--duration-slow)}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.ml-1{margin-left:var(--spacing-scale-half) !important}.mb-4{margin-bottom:var(--spacing-scale-3x) !important}.pt-half{padding-top:var(--spacing-scale-half) !important}.highlight{background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}fieldset[disabled]{opacity:1}.text-center{text-align:center !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a.focus-visible,a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}.main-content a{text-decoration:underline}button{cursor:pointer}img{max-width:100%;vertical-align:middle}h2,.h2{color:var(--color);font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2xh);margin-top:var(--spacing-scale-3xh);padding-bottom:var(--spacing-scale-2xh)}@media (min-width: 576px){.h2,h2{font-size:var(--font-size-scale-up-05);font-weight:var(--font-weight-regular)}}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}tr.selected,tr.is-selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}fieldset,.fieldset{border:var(--surface-width-none);margin-bottom:var(--spacing-scale-5x);margin-top:0;padding:0}legend,.legend{color:var(--color);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2x);margin-top:var(--spacing-scale-2x)}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}pre,.pre{background:var(--gray-5);margin:var(--spacing-scale-2x) 0 var(--spacing-scale-4x);padding:var(--spacing-scale-2x)}mark,.mark{background:var(--red-warm-vivid-10);color:var(--color)}*[data-toggle=collapse]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse].focus-visible,*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}@media (prefers-reduced-motion: reduce){:host,:host::before,:host::after,:host *,:host *::before,:host *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}}:host-context([data-wbc-reduced-motion=true])::before,:host-context([data-wbc-reduced-motion=true])::after,:host-context([data-wbc-reduced-motion=true]) *,:host-context([data-wbc-reduced-motion=true]) *::before,:host-context([data-wbc-reduced-motion=true]) *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}.br-switch{--switch-height:var(--switch-height-medium);--switch-width:var(--switch-width-medium);--switch-toggle-size:var(--switch-toggle-medium);--switch-icon-size:var(--switch-icon-medium);--switch-height-small:24px;--switch-height-medium:30px;--switch-height-large:36px;--switch-width-small:40px;--switch-width-medium:52px;--switch-width-large:64px;--switch-toggle-small:16px;--switch-toggle-medium:22px;--switch-toggle-large:28px;--switch-icon-small:var(--icon-size-xs);--switch-icon-medium:var(--icon-size-sm);--switch-icon-large:var(--icon-size-base);display:inline-flex;min-height:var(--switch-height)}.br-switch input{opacity:0;position:absolute}.br-switch input+label{align-items:center;color:var(--color);cursor:pointer;display:inline-flex;font-size:var(--font-size-scale-base);margin-bottom:0;position:relative}.br-switch input+label::before{background:var(--background-light);border:1px solid var(--border-color);border-radius:100em;content:"";height:var(--switch-height);position:absolute;width:var(--switch-width)}.br-switch input+label::after{background-color:var(--off);border-radius:50%;content:"";height:var(--switch-toggle-size);position:absolute;transition:all .3s ease-in-out;width:var(--switch-toggle-size)}.br-switch input:checked+label::after{background-color:var(--on)}.br-switch input+label{padding-right:calc(var(--spacing-scale-2x) + var(--switch-width))}.br-switch input+label:empty{padding-right:var(--switch-width)}.br-switch input+label::before{right:0}.br-switch input+label::after{right:calc(4px + var(--switch-toggle-size))}.br-switch input:checked+label::after{right:4px}.br-switch.right input+label{padding-left:calc(var(--spacing-scale-2x) + var(--switch-width));padding-right:0}.br-switch.right input+label::before{left:0}.br-switch.right input+label::after{left:4px}.br-switch.right input:checked+label::after{left:calc(var(--switch-width) - var(--switch-toggle-size) - 4px)}.br-switch.top{min-height:calc(var(--switch-height)*2)}.br-switch.top input+label{align-items:flex-start;padding-right:0}.br-switch.top input+label::before{bottom:0;left:0}.br-switch.top input+label::after{bottom:4px;left:4px}.br-switch.top input:checked+label::after{left:calc(var(--switch-width) - var(--switch-toggle-size) - 4px)}.br-switch.small{--switch-height:var(--switch-height-small);--switch-width:var(--switch-width-small);--switch-toggle-size:var(--switch-toggle-small);--switch-icon-size:var(--switch-icon-small)}.br-switch.medium{--switch-height:var(--switch-height-medium);--switch-width:var(--switch-width-medium);--switch-toggle-size:var(--switch-toggle-medium);--switch-icon-size:var(--switch-icon-medium)}.br-switch.large{--switch-height:var(--switch-height-large);--switch-width:var(--switch-width-large);--switch-toggle-size:var(--switch-toggle-large);--switch-icon-size:var(--switch-icon-large)}.br-switch input~.switch-data{align-self:center;color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);margin-left:8px}.br-switch input~.switch-data::before{content:attr(data-disabled)}.br-switch input:checked~.switch-data{color:var(--color)}.br-switch input:checked~.switch-data::before{content:attr(data-enabled)}.br-switch.icon input+label::after{align-items:center;color:var(--color-dark);content:"";display:inline-flex;font-family:"Font Awesome 5 Free",sans-serif;font-size:var(--switch-icon-size);font-weight:var(--font-weight-black);justify-content:center}.br-switch.icon input:checked+label::after{content:""}.br-switch input:focus-visible+label::before,.br-switch input.focus-visible+label::before{border-color:var(--focus) !important;box-shadow:0 0 0 var(--surface-width-md) var(--focus);outline:none}.br-switch input:hover:not([disabled]):checked+label::before{background-image:linear-gradient(rgba(var(--on-rgb), var(--hover)), rgba(var(--on-rgb), var(--hover)))}.br-switch input:hover:not([disabled]):not(:checked)+label::before{background-image:linear-gradient(rgba(var(--off-rgb), var(--hover)), rgba(var(--off-rgb), var(--hover)))}.br-switch input:active:not([disabled]):checked+label::before{background-image:linear-gradient(rgba(var(--on-rgb), var(--pressed)), rgba(var(--on-rgb), var(--pressed)))}.br-switch input:active:not([disabled]):not(:checked)+label::before{background-image:linear-gradient(rgba(var(--off-rgb), var(--pressed)), rgba(var(--off-rgb), var(--pressed)))}.br-switch.inverted,.br-switch.inverted label,.br-switch.dark-mode,.br-switch.dark-mode label{color:var(--color-dark)}:host{display:inline-block;margin-bottom:var(--spacing-scale-base)}.br-switch input+label::after{transition:none}@media (prefers-reduced-motion: no-preference){.br-switch input+label::after{transition:right var(--duration-fast, 300ms) var(--animation-ease-in-out, ease-in-out),background-color var(--duration-fast, 300ms) var(--animation-ease-in-out, ease-in-out)}}:host([disabled]) .br-switch.disabled{opacity:1}:host([disabled]) .br-switch,:host([disabled]) .br-switch label,:host([disabled]) .br-switch input{cursor:not-allowed}'}},[337,"br-switch",{disabled:[516],required:[516],validator:[16],checked:[1540],customId:[513,"custom-id"],label:[1],labelPosition:[513,"label-position"],labelOn:[513,"label-on"],labelOff:[513,"label-off"],hasIcon:[516,"has-icon"],showIcon:[516,"show-icon"],name:[513],value:[513],density:[513],_slotDefault:[32],formDisabled:[32],hasFeedbackSlot:[32],manualValidationMessage:[32],validatorMessage:[32],isValidating:[32],checkValidity:[64],reportValidity:[64],setCustomValidity:[64],validate:[64],getValidationState:[64],toggleChecked:[64]},void 0,{checked:[{checkedChanged:0}]}]);function j(){"undefined"!=typeof customElements&&["br-switch","br-button","br-icon","br-message"].forEach((t=>{switch(t){case"br-switch":customElements.get(o(t))||customElements.define(o(t),C);break;case"br-button":customElements.get(o(t))||x();break;case"br-icon":customElements.get(o(t))||k();break;case"br-message":customElements.get(o(t))||y()}}))}export{C as S,j as d}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Construído por SERPRO
|
|
3
3
|
* © https://serpro.gov.br/ - MIT License.
|
|
4
4
|
*/
|
|
5
|
-
function t(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var e,n=(e,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[s]])=>{if(31&s||32&s){const s=e[o],i=t(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);i&&Object.defineProperty(e,o,{get(){return i.get.call(this)},set(t){i.set.call(this,t)},configurable:!0,enumerable:!0}),n.i.has(o)?e[o]=n.i.get(o):void 0!==s&&(e[o]=s)}}))},o=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},s=(t,e)=>e in t,i=(t,e)=>(0,console.error)(t,e),l=new Map,r="http://www.w3.org/1999/xlink",c=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],f="undefined"!=typeof window?window:{},u=f.HTMLElement||class{},a={l:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},h=(()=>{var t;let e=!1;try{null==(t=f.document)||t.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),d=(()=>{try{return!!f.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),p=!!d&&(()=>!!f.document&&Object.getOwnPropertyDescriptor(f.document.adoptedStyleSheets,"length").writable)(),b=!1,v=[],m=[],g=()=>{var t;return(null==(t=f.document)?void 0:t.hidden)?j($):a.raf($)},y=(t,e)=>n=>{t.push(n),b||(b=!0,e&&4&a.l?j($):g())},w=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){i(t)}t.length=0},$=()=>{w(v),w(m),(b=v.length>0)&&g()},j=t=>Promise.resolve(undefined).then(t),O=y(m,!0),S=t=>{const e=new URL(t,a.u);return e.origin!==f.location.origin?e.href:e.pathname},N=t=>a.u=t;function C(t){const n={mode:"open"};n.delegatesFocus=!!(16&t.l);const o=this.attachShadow(n);void 0===e&&(e=null),e&&(p?o.adoptedStyleSheets.push(e):o.adoptedStyleSheets=[...o.adoptedStyleSheets,e])}var k=t=>{const e=G(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&E(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!M(t,A(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&G(t,"childNodes").length&&k(t)}},x=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function E(t,e,n){let o,s=0,i=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||A(o)===n)&&(i.push(o),void 0!==n))return i;i=[...i,...E(G(o,"childNodes"),e,n)]}return i}var M=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)A(s)!==e||!n&&s["s-sr"]||o.push(s);return o},_=(t,e,n)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const o=document.createTextNode("");if(o["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode;G(s,n?"prepend":"appendChild").call(s,o),t["s-ol"]=o,t["s-sh"]=e["s-hn"]},A=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function L(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function R(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=A(t)||"";return{slotNode:E(G(e,"childNodes"),e.tagName,o)[0],slotName:o}}var T=t=>{if(t.__cloneNode)return;const e=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const n=this.shadowRoot&&true,o=e.call(this,!!n&&t);if(!n&&t){let t,e,n=0;const s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],i=this.__childNodes||this.childNodes;for(;n<i.length;n++)t=i[n]["s-nr"],e=s.every((t=>!i[n][t])),t&&(o.__appendChild?o.__appendChild(t.cloneNode(!0)):o.appendChild(t.cloneNode(!0))),e&&o.appendChild(i[n].cloneNode(!0))}return o}},D=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=R(t,this);if(n){_(t,n);const o=M(n,e),s=o[o.length-1],i=G(s,"parentNode"),l=G(i,"insertBefore")(t,s.nextSibling);return L(n),k(this),l}return this.__appendChild(t)})},F=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&E(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void k(this)):this.__removeChild(t)})},B=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=A(e))||"",o=E(G(this,"childNodes"),this.tagName,n)[0];if(o){_(e,o,!0);const t=M(o,n)[0],s=G(t,"parentNode"),i=G(s,"insertBefore")(e,G(t,"nextSibling"));return L(o),i}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},H=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},P=t=>{if(t.__insertAdjacentHTML)return;const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},U=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},W=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=R(t,this),s=this.__childNodes?this.childNodes:x(this.childNodes);if(o){let i=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(i=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){_(t,o);const n=G(e,"parentNode");G(n,"insertBefore")(t,e),L(o)}}})),i)return t}const i=null==e?void 0:e.__parentNode;return i&&!this.isSameNode(i)?this.appendChild(t):this.__insertBefore(t,e)})},V=t=>{if(t.__insertAdjacentElement)return;const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},q=t=>{Z("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:x(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:x(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},z=t=>{class e extends Array{item(t){return this[t]}}Z("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Z("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]||null}}),Z("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]||null}}),Z("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...x(this.__childNodes)),t}})},I=["children","nextElementSibling","previousElementSibling"],Y=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Z(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;I.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):Y.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function G(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var J,K=new WeakMap,Q=t=>"sc-"+t.h,X=t=>"object"==(t=typeof t)||"function"===t,tt=(t,e,...n)=>{let o=null,s=null,l=!1,r=!1;const c=[],f=e=>{for(let n=0;n<e.length;n++)if(o=e[n],Array.isArray(o))f(o);else if(null!=o&&"boolean"!=typeof o){if(l="function"!=typeof t&&!X(o))o=String(o);else if("function"!=typeof t&&void 0===o.l){i("Invalid vNode child");continue}l&&r?c[c.length-1].p+=o:c.push(l?et(null,o):o),r=l}};if(f(n),e){e.key&&(s=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,ot);const u=et(t,null);return u.v=e,c.length>0&&(u.m=c),u.$=s,u},et=(t,e)=>({l:0,j:t,p:null!=e?e:null,O:null,m:null,v:null,$:null}),nt={},ot={forEach:(t,e)=>t.map(st).forEach(e),map:(t,e)=>t.map(st).map(e).map(it)},st=t=>({vattrs:t.v,vchildren:t.m,vkey:t.$,vname:t.S,vtag:t.j,vtext:t.p}),it=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),tt(t.vtag,e,...t.vchildren||[])}const e=et(t.vtag,t.vtext);return e.v=t.vattrs,e.m=t.vchildren,e.$=t.vkey,e.S=t.vname,e},lt=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const o of e){if(n)break;for(const e of t[o])if("string"==typeof e){n=!0;break}}if(!n)return t;const o={};for(const n of e)o[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return o},rt=(t,e,n)=>null==t||X(t)?t:4&e?(n&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?String(t):t,ct=(t,e,n)=>{const o=t;return{emit:t=>ft(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},ft=(t,e,n)=>{const o=a.ce(e,n);return t.dispatchEvent(o),o},ut=(t,e,n,i,l,c)=>{if(n===i)return;let u=s(t,e),h=e.toLowerCase();if("class"===e){const e=t.classList,o=pt(n);let s=pt(i);e.remove(...o.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!o.includes(t))))}else if("style"===e){for(const e in n)i&&null!=i[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in i)n&&i[e]===n[e]||(e.includes("-")?t.style.setProperty(e,i[e]):t.style[e]=i[e])}else if("key"===e);else if("ref"===e)i&&Et(i,t);else if(t.__lookupSetter__(e)||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const n=e.slice(5);let s;{const e=o(t);if(e&&e.o&&e.o.t){const t=e.o.t[n];t&&t[1]&&(s=t[1])}}return s||(s=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==i||!1===i?!1===i&&""!==t.getAttribute(s)||t.removeAttribute(s):t.setAttribute(s,!0===i?"":i))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=i}catch(t){}return}{const o=X(i);if((u||o&&null!==i)&&!l)try{if(t.tagName.includes("-"))t[e]!==i&&(t[e]=i);else{const o=null==i?"":i;"list"===e?u=!1:null!=n&&t[e]===o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}let s=!1;h!==(h=h.replace(/^xlink\:?/,""))&&(e=h,s=!0),null==i||!1===i?(!1!==i||""===t.getAttribute(e)||4&c&&!ht(e))&&(s?t.removeAttributeNS(r,e):t.removeAttribute(e)):(!u||4&c||l)&&!o&&1===t.nodeType&&(i=!0===i?"":i,s?t.setAttributeNS(r,e,i):t.setAttribute(e,i))}}else if(e="-"===e[2]?e.slice(3):s(f,h)?h.slice(2):h[2]+e.slice(3),n||i){const o=e.endsWith(bt);e=e.replace(vt,""),n&&a.rel(t,e,n,o),i&&a.ael(t,e,i,o)}},at=new Set(["draggable","contenteditable","spellcheck"]),ht=t=>at.has(t)||t.startsWith("aria-"),dt=/\s/,pt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(dt):[]),bt="Capture",vt=new RegExp(bt+"$"),mt=(t,e,n)=>{const o=11===e.O.nodeType&&e.O.host?e.O.host:e.O,s=t&&t.v||{},i=e.v||{};for(const t of gt(Object.keys(s)))t in i||ut(o,t,s[t],void 0,n,e.l);for(const t of gt(Object.keys(i)))ut(o,t,s[t],i[t],n,e.l)};function gt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var yt=!1,wt=!1,$t=[],jt=[],Ot=(t,e,n)=>{const o=e.m[n];let s,i,l=0;if(null!=o.p)s=o.O=f.document.createTextNode(o.p);else{if(wt||(wt="svg"===o.j),!f.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=o.O=f.document.createElementNS(wt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.j),wt&&"foreignObject"===o.j&&(wt=!1),mt(null,o,wt),o.m){const e="template"===o.j?s.content:s;for(l=0;l<o.m.length;++l)i=Ot(t,o,l),i&&e.appendChild(i)}"svg"===o.j?wt=!1:"foreignObject"===s.tagName&&(wt=!0)}return s["s-hn"]=J,s},St=(t,e,n,o,s,i)=>{let l,r=t;for(r.shadowRoot&&r.tagName===J&&(r=r.shadowRoot),"template"===n.j&&(r=r.content);s<=i;++s)o[s]&&(l=Ot(null,n,s),l&&(o[s].O=l,Mt(r,l,e)))},Nt=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.O;xt(e),t&&t.remove()}}},Ct=(t,e,n=!1)=>t.j===e.j&&(n?(n&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),kt=(t,e,n=!1)=>{const o=e.O=t.O,s=t.m,i=e.m,l=e.j,r=e.p;null==r?(wt="svg"===l||"foreignObject"!==l&&wt,"slot"!==l||yt||t.S!==e.S&&(e.O["s-sn"]=e.S||"",(t=>{a.l|=1;const e=t.closest(J.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(Mt(e,t,null!=n?n:null),t["s-sh"]=void 0)}a.l&=-2})(e.O.parentElement)),mt(t,e,wt),null!==s&&null!==i?((t,e,n,o,s=!1)=>{let i,l,r=0,c=0,f=0,u=0,a=e.length-1,h=e[0],d=e[a],p=o.length-1,b=o[0],v=o[p];const m="template"===n.j?t.content:t;for(;r<=a&&c<=p;)if(null==h)h=e[++r];else if(null==d)d=e[--a];else if(null==b)b=o[++c];else if(null==v)v=o[--p];else if(Ct(h,b,s))kt(h,b,s),h=e[++r],b=o[++c];else if(Ct(d,v,s))kt(d,v,s),d=e[--a],v=o[--p];else if(Ct(h,v,s))kt(h,v,s),Mt(m,h.O,d.O.nextSibling),h=e[++r],v=o[--p];else if(Ct(d,b,s))kt(d,b,s),Mt(m,d.O,h.O),d=e[--a],b=o[++c];else{for(f=-1,u=r;u<=a;++u)if(e[u]&&null!==e[u].$&&e[u].$===b.$){f=u;break}f>=0?(l=e[f],l.j!==b.j?i=Ot(e&&e[c],n,c):(kt(l,b,s),e[f]=void 0,i=l.O),b=o[++c]):(i=Ot(e&&e[c],n,c),b=o[++c]),i&&Mt(h.O.parentNode,i,h.O)}r>a?St(t,null==o[p+1]?null:o[p+1].O,n,o,c,p):c>p&&Nt(e,r,a)})(o,s,e,i,n):null!==i?(null!==t.p&&(o.textContent=""),St(o,null,e,i,0,i.length-1)):!n&&null!==s&&Nt(s,0,s.length-1),wt&&"svg"===l&&(wt=!1)):t.p!==r&&(o.data=r)},xt=t=>{t.v&&t.v.ref&&$t.push((()=>t.v.ref(null))),t.m&&t.m.map(xt)},Et=(t,e)=>{jt.push((()=>t(e)))},Mt=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),_t=(t,e,n=!1)=>{const o=t.$hostElement$,s=t.o,i=t.N||et(null,null);var l;const r=(l=e)&&l.j===nt?e:tt(null,null,e);if(J=o.tagName,s.C&&(r.v=r.v||{},s.C.forEach((([t,e])=>{r.v[e]=o[t]}))),n&&r.v)for(const t of Object.keys(r.v))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(r.v[t]=o[t]);r.j=null,r.l|=4,t.N=r,r.O=i.O=o.shadowRoot||o,yt=!(!(1&s.l)||128&s.l),kt(i,r,n),$t.forEach((t=>t())),$t.length=0,jt.forEach((t=>t())),jt.length=0},At=(t,e)=>{if(e&&!t.k&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.k=()=>{e["s-p"].splice(n-1,1),o()})))}},Lt=(t,e)=>{if(t.l|=16,4&t.l)return void(t.l|=512);At(t,t.M);const n=()=>Rt(t,e);if(!e)return O(n);queueMicrotask((()=>{n()}))},Rt=(t,e)=>{const n=t.$hostElement$,o=n;if(!o)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return s=Ut(o,e?"componentWillLoad":"componentWillUpdate",void 0,n),s=Tt(s,(()=>Ut(o,"componentWillRender",void 0,n))),Tt(s,(()=>Ft(t,o,e)))},Tt=(t,e)=>Dt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Dt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Ft=async(t,e,n)=>{var o;const s=t.$hostElement$,i=s["s-rc"];n&&(t=>{const e=t.o,n=t.$hostElement$,o=e.l,s=((t,e)=>{var n,o,s;const i=Q(e),r=l.get(i);if(!f.document)return i;if(t=11===t.nodeType?t:f.document,r)if("string"==typeof r){let s,l=K.get(t=t.head||t);if(l||K.set(t,l=new Set),!l.has(i)){s=f.document.createElement("style"),s.textContent=r;const c=null!=(n=a._)?n:function(){var t,e,n;return null!=(n=null==(e=null==(t=f.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?n:void 0}();if(null!=c&&s.setAttribute("nonce",c),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(d){const e=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(r),p?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=r+e.textContent:t.prepend(s)}else t.append(s);1&e.l&&t.insertBefore(s,null),4&e.l&&(s.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),l&&l.add(i)}}else{let e=K.get(t);if(e||K.set(t,e=new Set),!e.has(i)){const n=null!=(s=t.defaultView)?s:t.ownerDocument.defaultView;let o;if(r.constructor===n.CSSStyleSheet)o=r;else{o=new n.CSSStyleSheet;for(let t=0;t<r.cssRules.length;t++)o.insertRule(r.cssRules[t].cssText,t)}p?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],e.add(i)}}return i})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(t);Bt(t,e,s,n),i&&(i.map((t=>t())),s["s-rc"]=void 0);{const e=null!=(o=s["s-p"])?o:[],n=()=>Ht(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.l|=4,e.length=0)}},Bt=(t,e,n,o)=>{try{e=e.render(),t.l&=-17,t.l|=2,_t(t,e,o)}catch(e){i(e,t.$hostElement$)}return null},Ht=t=>{const e=t.$hostElement$,n=e,o=t.M;Ut(n,"componentDidRender",void 0,e),64&t.l?Ut(n,"componentDidUpdate",void 0,e):(t.l|=64,Wt(e),Ut(n,"componentDidLoad",void 0,e),t.A(e),o||Pt()),t.k&&(t.k(),t.k=void 0),512&t.l&&j((()=>Lt(t,!1))),t.l&=-517},Pt=()=>{j((()=>ft(f,"appload",{detail:{namespace:"webcomponents"}})))},Ut=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){i(t,o)}},Wt=t=>t.classList.add("hydrated"),Vt=(t,e,n,s)=>{const l=o(t);if(!l)return;const r=t,c=l.i.get(e),f=l.l,u=r;n=rt(n,s.t[e][0],!!(64&s.l));const a=Number.isNaN(c)&&Number.isNaN(n);if(n!==c&&!a){if(l.i.set(e,n),s.L){const t=s.L[e];t&&t.map((t=>{try{const[[o,s]]=Object.entries(t);(128&f||1&s)&&(u?u[o](n,c,e):l.R.push((()=>{l.T[o](n,c,e)})))}catch(t){i(t,r)}}))}if(2&f){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(n,c,e)&&!(16&f))return;16&f||Lt(l,!1)}}},qt=(e,n,s)=>{var i,l;const r=e.prototype;64&n.l&&1&s&&c.forEach((t=>{const e=r[t];Object.defineProperty(r,t,{value(...n){var s;const i=o(this),l=this;l?"function"==typeof e&&e.call(l,...n):null==(s=null==i?void 0:i.D)||s.then((e=>{const o=e[t];"function"==typeof o&&o.call(e,...n)}))}})}));{e.watchers&&!n.L&&(n.L=lt(e.watchers)),e.deserializers&&!n.F&&(n.F=e.deserializers),e.serializers&&!n.B&&(n.B=e.serializers);const s=Object.entries(null!=(i=n.t)?i:{});s.map((([e,[s]])=>{if(31&s||32&s){const{get:i,set:l}=t(r,e)||{};i&&(n.t[e][0]|=2048),l&&(n.t[e][0]|=4096),Object.defineProperty(r,e,{get(){return i?i.apply(this):(t=e,o(this).i.get(t));var t},configurable:!0,enumerable:!0}),Object.defineProperty(r,e,{set(t){const i=o(this);if(i){if(l)return void 0===(32&s?this[e]:i.$hostElement$[e])&&i.i.get(e)&&(t=i.i.get(e)),l.apply(this,[rt(t,s,!!(64&n.l))]),void Vt(this,e,t=32&s?this[e]:i.$hostElement$[e],n);Vt(this,e,t,n)}}})}}));{const t=new Map;r.attributeChangedCallback=function(e,i,l){a.jmp((()=>{var c;const f=t.get(e),u=o(this);if(this.hasOwnProperty(f),r.hasOwnProperty(f)&&"number"==typeof this[f]&&this[f]==l)return;if(null==f){const t=null==u?void 0:u.l;if(u&&t&&!(8&t)&&l!==i){const o=this,s=null==(c=n.L)?void 0:c[e];null==s||s.forEach((n=>{const[[s,r]]=Object.entries(n);null!=o[s]&&(128&t||1&r)&&o[s].call(o,l,i,e)}))}return}const a=s.find((([t])=>t===f)),h=a?a[1][0]:0,d=4&h;if(512&h&&8&h&&!X(this[f])&&(null==(p=this[f])||!1===p?null:!0===p?"":String(p))===l)return;var p;const b=d&&null===l&&void 0===this[f];d&&(l=null!==l&&"false"!==l);const v=this[f],m=Object.getOwnPropertyDescriptor(r,f);b||l==v||m.get&&!m.set||(this[f]=l)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=n.L)?l:{}),...s.filter((([t,e])=>31&e[0])).map((([e,o])=>{var s;const i=o[1]||e;return t.set(i,e),512&o[0]&&(null==(s=n.C)||s.push([e,i])),i}))]))}}return e},zt=async(t,e,n)=>{let o;try{if(!(32&e.l)&&(e.l|=32,e.l&=-1025,o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128)),o&&o.style)){let t;"string"==typeof o.style&&(t=o.style);const e=Q(n);if(!l.has(e)){const o=()=>{};((t,e,n)=>{let o=l.get(t);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,l.set(t,o)})(e,t,!!(1&n.l)),o()}}const s=e.M,i=()=>Lt(e,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()}catch(n){i(n,t),e.k&&(e.k(),e.k=void 0),!e.A||1024&e.l||e.A(t)}},It=(t,e)=>{const s={l:e[0],h:e[1]};try{s.t=e[2],s.H=e[3],s.L=lt(t.L),s.F=t.F,s.B=t.B,s.C=[],!(1&s.l)&&256&s.l?(T(l=t.prototype),D(l),H(l),B(l),V(l),P(l),U(l),W(l),q(l),z(l),F(l)):T(t.prototype);const i=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,e)=>{const o={l:0,$hostElement$:t,o:e,i:new Map,P:new Map};o.D=new Promise((t=>o.A=t)),t["s-p"]=[],t["s-rc"]=[];const s=o;t.__stencil__getHostRef=()=>s,512&e.l&&n(t,o)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=o(this);if(!t)return;Zt(this,t,s.H),this.__hasHostListenerAttached=!0}(t=>{if(!(1&a.l)){const e=o(t);if(!e)return;const n=e.o,s=()=>{};if(1&e.l)Zt(t,e,n.H),(null==e?void 0:e.T)||(1024&e.l?setTimeout((()=>zt(t,e,n)),1e3):(null==e?void 0:e.D)&&e.D.then((()=>{})));else{e.l|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){At(e,e.M=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),zt(t,e,n)}s()}})(this),i&&i.call(this)},disconnectedCallback(){(async t=>{if(!(1&a.l)){const e=o(t);(null==e?void 0:e.U)&&(e.U.map((t=>t())),e.U=void 0)}K.has(t)&&K.delete(t),t.shadowRoot&&K.has(t.shadowRoot)&&K.delete(t.shadowRoot)})(this),r&&r.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${s.h}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else C.call(this,s)}}),Object.defineProperty(t,"is",{value:s.h,configurable:!0}),qt(t,s,3)}catch(e){return i(e),t}var l},Yt=(t,e)=>e,Zt=(t,e,n)=>{n&&f.document&&n.map((([n,o,s])=>{const i=Jt(f.document,t,n),l=Gt(e,s),r=Kt(n);a.ael(i,o,l,r),(e.U=e.U||[]).push((()=>a.rel(i,o,l,r)))}))},Gt=(t,e)=>n=>{try{t.$hostElement$[e](n)}catch(e){i(e,t.$hostElement$)}},Jt=(t,e,n)=>4&n?t:8&n?f:e,Kt=t=>h?{passive:!!(1&t),capture:!!(2&t)}:!!(2&t),Qt=t=>a._=t,Xt=t=>Object.assign(a,t),te=new WeakMap;function ee(t,e){let n=te.get(e);n||(n={l:0,o:{l:0,h:e.tagName},$hostElement$:e},te.set(e,n)),_t(n,t)}function ne(t){return t}export{Yt as F,u as H,Qt as a,Xt as b,ct as c,nt as d,S as g,tt as h,It as p,ee as r,N as s,ne as t}
|
|
5
|
+
function t(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var e,n=(e,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[s]])=>{if(31&s||32&s){const s=e[o],i=t(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);i&&Object.defineProperty(e,o,{get(){return i.get.call(this)},set(t){i.set.call(this,t)},configurable:!0,enumerable:!0}),n.i.has(o)?e[o]=n.i.get(o):void 0!==s&&(e[o]=s)}}))},o=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},s=(t,e)=>e in t,i=(t,e)=>(0,console.error)(t,e),l=new Map,r="http://www.w3.org/1999/xlink",c=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],f="undefined"!=typeof window?window:{},u=f.HTMLElement||class{},a={l:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},h=(()=>{var t;let e=!1;try{null==(t=f.document)||t.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),d=(()=>{try{return!!f.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),p=!!d&&(()=>!!f.document&&Object.getOwnPropertyDescriptor(f.document.adoptedStyleSheets,"length").writable)(),b=!1,v=[],m=[],g=()=>{var t;return(null==(t=f.document)?void 0:t.hidden)?j($):a.raf($)},y=(t,e)=>n=>{t.push(n),b||(b=!0,e&&4&a.l?j($):g())},w=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){i(t)}t.length=0},$=()=>{w(v),w(m),(b=v.length>0)&&g()},j=t=>Promise.resolve(undefined).then(t),O=y(m,!0),S=t=>{const e=new URL(t,a.u);return e.origin!==f.location.origin?e.href:e.pathname},N=t=>a.u=t;function C(t){const n={mode:"open"};n.delegatesFocus=!!(16&t.l);const o=this.attachShadow(n);void 0===e&&(e=null),e&&(p?o.adoptedStyleSheets.push(e):o.adoptedStyleSheets=[...o.adoptedStyleSheets,e])}var k=t=>{const e=G(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&E(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!M(t,A(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&G(t,"childNodes").length&&k(t)}},x=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function E(t,e,n){let o,s=0,i=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||A(o)===n)&&(i.push(o),void 0!==n))return i;i=[...i,...E(G(o,"childNodes"),e,n)]}return i}var M=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)A(s)!==e||!n&&s["s-sr"]||o.push(s);return o},_=(t,e,n)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const o=document.createTextNode("");if(o["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode;G(s,n?"prepend":"appendChild").call(s,o),t["s-ol"]=o,t["s-sh"]=e["s-hn"]},A=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function L(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function R(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=A(t)||"";return{slotNode:E(G(e,"childNodes"),e.tagName,o)[0],slotName:o}}var T=t=>{if(t.__cloneNode)return;const e=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const n=this.shadowRoot&&true,o=e.call(this,!!n&&t);if(!n&&t){let t,e,n=0;const s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],i=this.__childNodes||this.childNodes;for(;n<i.length;n++)t=i[n]["s-nr"],e=s.every((t=>!i[n][t])),t&&(o.__appendChild?o.__appendChild(t.cloneNode(!0)):o.appendChild(t.cloneNode(!0))),e&&o.appendChild(i[n].cloneNode(!0))}return o}},D=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=R(t,this);if(n){_(t,n);const o=M(n,e),s=o[o.length-1],i=G(s,"parentNode"),l=G(i,"insertBefore")(t,s.nextSibling);return L(n),k(this),l}return this.__appendChild(t)})},F=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&E(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void k(this)):this.__removeChild(t)})},B=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=A(e))||"",o=E(G(this,"childNodes"),this.tagName,n)[0];if(o){_(e,o,!0);const t=M(o,n)[0],s=G(t,"parentNode"),i=G(s,"insertBefore")(e,G(t,"nextSibling"));return L(o),i}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},H=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},P=t=>{if(t.__insertAdjacentHTML)return;const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},U=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},W=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=R(t,this),s=this.__childNodes?this.childNodes:x(this.childNodes);if(o){let i=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(i=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){_(t,o);const n=G(e,"parentNode");G(n,"insertBefore")(t,e),L(o)}}})),i)return t}const i=null==e?void 0:e.__parentNode;return i&&!this.isSameNode(i)?this.appendChild(t):this.__insertBefore(t,e)})},V=t=>{if(t.__insertAdjacentElement)return;const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},q=t=>{Z("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:x(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:x(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},z=t=>{class e extends Array{item(t){return this[t]}}Z("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Z("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]||null}}),Z("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]||null}}),Z("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...x(this.__childNodes)),t}})},I=["children","nextElementSibling","previousElementSibling"],Y=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Z(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;I.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):Y.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function G(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var J,K=new WeakMap,Q=t=>"sc-"+t.h,X=t=>"object"==(t=typeof t)||"function"===t,tt=(t,e,...n)=>{let o=null,s=null,l=!1,r=!1;const c=[],f=e=>{for(let n=0;n<e.length;n++)if(o=e[n],Array.isArray(o))f(o);else if(null!=o&&"boolean"!=typeof o){if(l="function"!=typeof t&&!X(o))o=String(o);else if("function"!=typeof t&&void 0===o.l){i("Invalid vNode child");continue}l&&r?c[c.length-1].p+=o:c.push(l?et(null,o):o),r=l}};if(f(n),e){e.key&&(s=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,ot);const u=et(t,null);return u.v=e,c.length>0&&(u.m=c),u.$=s,u},et=(t,e)=>({l:0,j:t,p:null!=e?e:null,O:null,m:null,v:null,$:null}),nt={},ot={forEach:(t,e)=>t.map(st).forEach(e),map:(t,e)=>t.map(st).map(e).map(it)},st=t=>({vattrs:t.v,vchildren:t.m,vkey:t.$,vname:t.S,vtag:t.j,vtext:t.p}),it=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),tt(t.vtag,e,...t.vchildren||[])}const e=et(t.vtag,t.vtext);return e.v=t.vattrs,e.m=t.vchildren,e.$=t.vkey,e.S=t.vname,e},lt=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const o of e){if(n)break;for(const e of t[o])if("string"==typeof e){n=!0;break}}if(!n)return t;const o={};for(const n of e)o[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return o},rt=(t,e,n)=>null==t||X(t)?t:4&e?(n&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?String(t):t,ct=(t,e,n)=>{const o=t;return{emit:t=>ft(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},ft=(t,e,n)=>{const o=a.ce(e,n);return t.dispatchEvent(o),o},ut=(t,e,n,i,l,c)=>{if(n===i)return;let u=s(t,e),h=e.toLowerCase();if("class"===e){const e=t.classList,o=pt(n);let s=pt(i);e.remove(...o.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!o.includes(t))))}else if("style"===e){for(const e in n)i&&null!=i[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in i)n&&i[e]===n[e]||(e.includes("-")?t.style.setProperty(e,i[e]):t.style[e]=i[e])}else if("key"===e);else if("ref"===e)i&&Et(i,t);else if(t.__lookupSetter__(e)||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const n=e.slice(5);let s;{const e=o(t);if(e&&e.o&&e.o.t){const t=e.o.t[n];t&&t[1]&&(s=t[1])}}return s||(s=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==i||!1===i?!1===i&&""!==t.getAttribute(s)||t.removeAttribute(s):t.setAttribute(s,!0===i?"":i))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=i}catch(t){}return}{const o=X(i);if((u||o&&null!==i)&&!l)try{if(t.tagName.includes("-"))t[e]!==i&&(t[e]=i);else{const o=null==i?"":i;"list"===e?u=!1:null!=n&&t[e]===o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}let s=!1;h!==(h=h.replace(/^xlink\:?/,""))&&(e=h,s=!0),null==i||!1===i?(!1!==i||""===t.getAttribute(e)||4&c&&!ht(e))&&(s?t.removeAttributeNS(r,e):t.removeAttribute(e)):(!u||4&c||l)&&!o&&1===t.nodeType&&(i=!0===i?"":i,s?t.setAttributeNS(r,e,i):t.setAttribute(e,i))}}else if(e="-"===e[2]?e.slice(3):s(f,h)?h.slice(2):h[2]+e.slice(3),n||i){const o=e.endsWith(bt);e=e.replace(vt,""),n&&a.rel(t,e,n,o),i&&a.ael(t,e,i,o)}},at=new Set(["draggable","contenteditable","spellcheck"]),ht=t=>at.has(t)||t.startsWith("aria-"),dt=/\s/,pt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(dt):[]),bt="Capture",vt=new RegExp(bt+"$"),mt=(t,e,n)=>{const o=11===e.O.nodeType&&e.O.host?e.O.host:e.O,s=t&&t.v||{},i=e.v||{};for(const t of gt(Object.keys(s)))t in i||ut(o,t,s[t],void 0,n,e.l);for(const t of gt(Object.keys(i)))ut(o,t,s[t],i[t],n,e.l)};function gt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var yt=!1,wt=!1,$t=[],jt=[],Ot=(t,e,n)=>{const o=e.m[n];let s,i,l=0;if(null!=o.p)s=o.O=f.document.createTextNode(o.p);else{if(wt||(wt="svg"===o.j),!f.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=o.O=f.document.createElementNS(wt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.j),wt&&"foreignObject"===o.j&&(wt=!1),mt(null,o,wt),o.m){const e="template"===o.j?s.content:s;for(l=0;l<o.m.length;++l)i=Ot(t,o,l),i&&e.appendChild(i)}"svg"===o.j?wt=!1:"foreignObject"===s.tagName&&(wt=!0)}return s["s-hn"]=J,s},St=(t,e,n,o,s,i)=>{let l,r=t;for(r.shadowRoot&&r.tagName===J&&(r=r.shadowRoot),"template"===n.j&&(r=r.content);s<=i;++s)o[s]&&(l=Ot(null,n,s),l&&(o[s].O=l,Mt(r,l,e)))},Nt=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.O;xt(e),t&&t.remove()}}},Ct=(t,e,n=!1)=>t.j===e.j&&(n?(n&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),kt=(t,e,n=!1)=>{const o=e.O=t.O,s=t.m,i=e.m,l=e.j,r=e.p;null==r?(wt="svg"===l||"foreignObject"!==l&&wt,"slot"!==l||yt||t.S!==e.S&&(e.O["s-sn"]=e.S||"",(t=>{a.l|=1;const e=t.closest(J.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(Mt(e,t,null!=n?n:null),t["s-sh"]=void 0)}a.l&=-2})(e.O.parentElement)),mt(t,e,wt),null!==s&&null!==i?((t,e,n,o,s=!1)=>{let i,l,r=0,c=0,f=0,u=0,a=e.length-1,h=e[0],d=e[a],p=o.length-1,b=o[0],v=o[p];const m="template"===n.j?t.content:t;for(;r<=a&&c<=p;)if(null==h)h=e[++r];else if(null==d)d=e[--a];else if(null==b)b=o[++c];else if(null==v)v=o[--p];else if(Ct(h,b,s))kt(h,b,s),h=e[++r],b=o[++c];else if(Ct(d,v,s))kt(d,v,s),d=e[--a],v=o[--p];else if(Ct(h,v,s))kt(h,v,s),Mt(m,h.O,d.O.nextSibling),h=e[++r],v=o[--p];else if(Ct(d,b,s))kt(d,b,s),Mt(m,d.O,h.O),d=e[--a],b=o[++c];else{for(f=-1,u=r;u<=a;++u)if(e[u]&&null!==e[u].$&&e[u].$===b.$){f=u;break}f>=0?(l=e[f],l.j!==b.j?i=Ot(e&&e[c],n,c):(kt(l,b,s),e[f]=void 0,i=l.O),b=o[++c]):(i=Ot(e&&e[c],n,c),b=o[++c]),i&&Mt(h.O.parentNode,i,h.O)}r>a?St(t,null==o[p+1]?null:o[p+1].O,n,o,c,p):c>p&&Nt(e,r,a)})(o,s,e,i,n):null!==i?(null!==t.p&&(o.textContent=""),St(o,null,e,i,0,i.length-1)):!n&&null!==s&&Nt(s,0,s.length-1),wt&&"svg"===l&&(wt=!1)):t.p!==r&&(o.data=r)},xt=t=>{t.v&&t.v.ref&&$t.push((()=>t.v.ref(null))),t.m&&t.m.map(xt)},Et=(t,e)=>{jt.push((()=>t(e)))},Mt=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),_t=(t,e,n=!1)=>{const o=t.$hostElement$,s=t.o,i=t.N||et(null,null);var l;const r=(l=e)&&l.j===nt?e:tt(null,null,e);if(J=o.tagName,s.C&&(r.v=r.v||{},s.C.forEach((([t,e])=>{r.v[e]=o[t]}))),n&&r.v)for(const t of Object.keys(r.v))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(r.v[t]=o[t]);r.j=null,r.l|=4,t.N=r,r.O=i.O=o.shadowRoot||o,yt=!(!(1&s.l)||128&s.l),kt(i,r,n),$t.forEach((t=>t())),$t.length=0,jt.forEach((t=>t())),jt.length=0},At=(t,e)=>{if(e&&!t.k&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.k=()=>{e["s-p"].splice(n-1,1),o()})))}},Lt=(t,e)=>{if(t.l|=16,4&t.l)return void(t.l|=512);At(t,t.M);const n=()=>Rt(t,e);if(!e)return O(n);queueMicrotask((()=>{n()}))},Rt=(t,e)=>{const n=t.$hostElement$,o=n;if(!o)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return s=Wt(o,e?"componentWillLoad":"componentWillUpdate",void 0,n),s=Tt(s,(()=>Wt(o,"componentWillRender",void 0,n))),Tt(s,(()=>Ft(t,o,e)))},Tt=(t,e)=>Dt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Dt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Ft=async(t,e,n)=>{var o;const s=t.$hostElement$,i=s["s-rc"];n&&(t=>{const e=t.o,n=t.$hostElement$,o=e.l,s=((t,e)=>{var n,o,s;const i=Q(e),r=l.get(i);if(!f.document)return i;if(t=11===t.nodeType?t:f.document,r)if("string"==typeof r){let s,l=K.get(t=t.head||t);if(l||K.set(t,l=new Set),!l.has(i)){s=f.document.createElement("style"),s.textContent=r;const c=null!=(n=a._)?n:function(){var t,e,n;return null!=(n=null==(e=null==(t=f.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?n:void 0}();if(null!=c&&s.setAttribute("nonce",c),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(d){const e=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(r),p?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=r+e.textContent:t.prepend(s)}else t.append(s);1&e.l&&t.insertBefore(s,null),4&e.l&&(s.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),l&&l.add(i)}}else{let e=K.get(t);if(e||K.set(t,e=new Set),!e.has(i)){const n=null!=(s=t.defaultView)?s:t.ownerDocument.defaultView;let o;if(r.constructor===n.CSSStyleSheet)o=r;else{o=new n.CSSStyleSheet;for(let t=0;t<r.cssRules.length;t++)o.insertRule(r.cssRules[t].cssText,t)}p?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],e.add(i)}}return i})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(t);Bt(t,e,s,n),i&&(i.map((t=>t())),s["s-rc"]=void 0);{const e=null!=(o=s["s-p"])?o:[],n=()=>Ht(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.l|=4,e.length=0)}},Bt=(t,e,n,o)=>{try{e=e.render(),t.l&=-17,t.l|=2,_t(t,e,o)}catch(e){i(e,t.$hostElement$)}return null},Ht=t=>{const e=t.$hostElement$,n=e,o=t.M;Wt(n,"componentDidRender",void 0,e),64&t.l?Wt(n,"componentDidUpdate",void 0,e):(t.l|=64,Vt(e),Wt(n,"componentDidLoad",void 0,e),t.A(e),o||Ut()),t.k&&(t.k(),t.k=void 0),512&t.l&&j((()=>Lt(t,!1))),t.l&=-517},Pt=t=>{var e;{const n=o(t),s=null==(e=null==n?void 0:n.$hostElement$)?void 0:e.isConnected;return s&&2==(18&n.l)&&Lt(n,!1),s}},Ut=()=>{j((()=>ft(f,"appload",{detail:{namespace:"webcomponents"}})))},Wt=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){i(t,o)}},Vt=t=>t.classList.add("hydrated"),qt=(t,e,n,s)=>{const l=o(t);if(!l)return;const r=t,c=l.i.get(e),f=l.l,u=r;n=rt(n,s.t[e][0],!!(64&s.l));const a=Number.isNaN(c)&&Number.isNaN(n);if(n!==c&&!a){if(l.i.set(e,n),s.L){const t=s.L[e];t&&t.map((t=>{try{const[[o,s]]=Object.entries(t);(128&f||1&s)&&(u?u[o](n,c,e):l.R.push((()=>{l.T[o](n,c,e)})))}catch(t){i(t,r)}}))}if(2&f){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(n,c,e)&&!(16&f))return;16&f||Lt(l,!1)}}},zt=(e,n,s)=>{var i,l;const r=e.prototype;64&n.l&&1&s&&c.forEach((t=>{const e=r[t];Object.defineProperty(r,t,{value(...n){var s;const i=o(this),l=this;l?"function"==typeof e&&e.call(l,...n):null==(s=null==i?void 0:i.D)||s.then((e=>{const o=e[t];"function"==typeof o&&o.call(e,...n)}))}})}));{e.watchers&&!n.L&&(n.L=lt(e.watchers)),e.deserializers&&!n.F&&(n.F=e.deserializers),e.serializers&&!n.B&&(n.B=e.serializers);const s=Object.entries(null!=(i=n.t)?i:{});s.map((([e,[s]])=>{if(31&s||32&s){const{get:i,set:l}=t(r,e)||{};i&&(n.t[e][0]|=2048),l&&(n.t[e][0]|=4096),Object.defineProperty(r,e,{get(){return i?i.apply(this):(t=e,o(this).i.get(t));var t},configurable:!0,enumerable:!0}),Object.defineProperty(r,e,{set(t){const i=o(this);if(i){if(l)return void 0===(32&s?this[e]:i.$hostElement$[e])&&i.i.get(e)&&(t=i.i.get(e)),l.apply(this,[rt(t,s,!!(64&n.l))]),void qt(this,e,t=32&s?this[e]:i.$hostElement$[e],n);qt(this,e,t,n)}}})}}));{const t=new Map;r.attributeChangedCallback=function(e,i,l){a.jmp((()=>{var c;const f=t.get(e),u=o(this);if(this.hasOwnProperty(f),r.hasOwnProperty(f)&&"number"==typeof this[f]&&this[f]==l)return;if(null==f){const t=null==u?void 0:u.l;if(u&&t&&!(8&t)&&l!==i){const o=this,s=null==(c=n.L)?void 0:c[e];null==s||s.forEach((n=>{const[[s,r]]=Object.entries(n);null!=o[s]&&(128&t||1&r)&&o[s].call(o,l,i,e)}))}return}const a=s.find((([t])=>t===f)),h=a?a[1][0]:0,d=4&h;if(512&h&&8&h&&!X(this[f])&&(null==(p=this[f])||!1===p?null:!0===p?"":String(p))===l)return;var p;const b=d&&null===l&&void 0===this[f];d&&(l=null!==l&&"false"!==l);const v=this[f],m=Object.getOwnPropertyDescriptor(r,f);b||l==v||m.get&&!m.set||(this[f]=l)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=n.L)?l:{}),...s.filter((([t,e])=>31&e[0])).map((([e,o])=>{var s;const i=o[1]||e;return t.set(i,e),512&o[0]&&(null==(s=n.C)||s.push([e,i])),i}))]))}}return e},It=async(t,e,n)=>{let o;try{if(!(32&e.l)&&(e.l|=32,e.l&=-1025,o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128)),o&&o.style)){let t;"string"==typeof o.style&&(t=o.style);const e=Q(n);if(!l.has(e)){const o=()=>{};((t,e,n)=>{let o=l.get(t);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,l.set(t,o)})(e,t,!!(1&n.l)),o()}}const s=e.M,i=()=>Lt(e,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()}catch(n){i(n,t),e.k&&(e.k(),e.k=void 0),!e.A||1024&e.l||e.A(t)}},Yt=(t,e)=>{const s={l:e[0],h:e[1]};try{s.t=e[2],s.H=e[3],s.L=lt(t.L),s.F=t.F,s.B=t.B,s.C=[],!(1&s.l)&&256&s.l?(T(l=t.prototype),D(l),H(l),B(l),V(l),P(l),U(l),W(l),q(l),z(l),F(l)):T(t.prototype);const i=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,e)=>{const o={l:0,$hostElement$:t,o:e,i:new Map,P:new Map};o.D=new Promise((t=>o.A=t)),t["s-p"]=[],t["s-rc"]=[];const s=o;t.__stencil__getHostRef=()=>s,512&e.l&&n(t,o)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=o(this);if(!t)return;Gt(this,t,s.H),this.__hasHostListenerAttached=!0}(t=>{if(!(1&a.l)){const e=o(t);if(!e)return;const n=e.o,s=()=>{};if(1&e.l)Gt(t,e,n.H),(null==e?void 0:e.T)||(1024&e.l?setTimeout((()=>It(t,e,n)),1e3):(null==e?void 0:e.D)&&e.D.then((()=>{})));else{e.l|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){At(e,e.M=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),It(t,e,n)}s()}})(this),i&&i.call(this)},disconnectedCallback(){(async t=>{if(!(1&a.l)){const e=o(t);(null==e?void 0:e.U)&&(e.U.map((t=>t())),e.U=void 0)}K.has(t)&&K.delete(t),t.shadowRoot&&K.has(t.shadowRoot)&&K.delete(t.shadowRoot)})(this),r&&r.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${s.h}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else C.call(this,s)}}),Object.defineProperty(t,"is",{value:s.h,configurable:!0}),zt(t,s,3)}catch(e){return i(e),t}var l},Zt=(t,e)=>e,Gt=(t,e,n)=>{n&&f.document&&n.map((([n,o,s])=>{const i=Kt(f.document,t,n),l=Jt(e,s),r=Qt(n);a.ael(i,o,l,r),(e.U=e.U||[]).push((()=>a.rel(i,o,l,r)))}))},Jt=(t,e)=>n=>{try{t.$hostElement$[e](n)}catch(e){i(e,t.$hostElement$)}},Kt=(t,e,n)=>4&n?t:8&n?f:e,Qt=t=>h?{passive:!!(1&t),capture:!!(2&t)}:!!(2&t),Xt=t=>a._=t,te=t=>Object.assign(a,t),ee=new WeakMap;function ne(t,e){let n=ee.get(e);n||(n={l:0,o:{l:0,h:e.tagName},$hostElement$:e},ee.set(e,n)),_t(n,t)}function oe(t){return t}export{Zt as F,u as H,Xt as a,te as b,ct as c,nt as d,Pt as f,S as g,tt as h,Yt as p,ne as r,N as s,oe as t}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Construído por SERPRO
|
|
3
|
+
* © https://serpro.gov.br/ - MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import{p as t,H as e,c as a,h as r,F as i,d as o,t as n}from"./p-DMj5iO7_.js";import{e as l,f as s,a as c,b as d,g as h}from"./p-nrG_Gd0c.js";import{T as g}from"./p-DD3BItoS.js";import{a as b}from"./p-D-1sfjhG.js";import{d as u}from"./p-CWPrXYam.js";import{d as p}from"./p-Ca89D_0s.js";import{d as m}from"./p-CjjxTkKb.js";function v(t){const e=Number(t);return Number.isInteger(e)&&e>0&&e<=1e3?e:1}function f(t,e){const a=t.map((()=>[])),r=[];return t.forEach(((i,o)=>{let n=0;Array.from(i.children).filter((t=>t.matches(e))).forEach((e=>{const i=Math.min(v(e.getAttribute("row-span")),t.length-o),l=v(e.getAttribute("col-span"));for(;Array.from({length:l},((t,e)=>a[o][n+e])).some(Boolean);)n++;r.push({cell:e,row:o,column:n,rowSpan:i,colSpan:l});for(let t=o;t<o+i;t++)for(let e=n;e<n+l;e++)a[t][e]=!0;n+=l}))})),r}function w(t){const e=[];for(const a of f(t,"br-table-header-cell"))for(let t=a.column;t<a.column+a.colSpan;t++)e[t]=a.cell;return e}function x(t){const e=[];let a;for(const r of t){const t=r.getAttribute("row-group")?.trim()||void 0;void 0!==t&&t===a?e[e.length-1].push(r):e.push([r]),a=t}return e}function y(t,e,a){const r=t[e]?.getAttribute("row-group")?.trim(),i=t[a-1]?.getAttribute("row-group")?.trim();for(;r&&e>0&&t[e-1].getAttribute("row-group")?.trim()===r;)e--;for(;i&&a<t.length&&t[a].getAttribute("row-group")?.trim()===i;)a++;return{start:e,end:a}}function k(t){for(const{cell:e,row:a,column:r,rowSpan:i,colSpan:o}of t){const t=a+1,n=a+i+1;e.style.setProperty("--table-cell-grid-column",`${r+1} / span ${o}`),e.style.setProperty("--table-cell-grid-row",`${t} / ${n}`),e.setAttribute("aria-colindex",String(r+1)),o>1?e.setAttribute("aria-colspan",String(o)):e.removeAttribute("aria-colspan"),i>1?e.setAttribute("aria-rowspan",String(i)):e.removeAttribute("aria-rowspan")}}function z(t){const e=Array.from(t?.querySelectorAll(":scope > br-table-row")??[]);t?.toggleAttribute("data-multilevel",e.length>1),e[0]?.querySelectorAll(`[${l}], [${s}]`).forEach((t=>{t.getAttribute("row-span")!==String(e.length)&&t.setAttribute("row-span",String(e.length))})),k(f(e,"br-table-header-cell"))}class C{constructor(t,e){this.host=t,this.surface=e,this.refresh=()=>{void 0===this.observer&&this.host.isConnected&&this.publish(this.surface.getBoundingClientRect().height)}}connect(){this.disconnect(),null!==this.host.closest("br-table")&&(this.publish(this.surface.getBoundingClientRect().height),"undefined"!=typeof ResizeObserver&&(this.observer=new ResizeObserver((([t])=>{if(!this.host.isConnected||void 0===t)return;const e=t.borderBoxSize[0],a=!/^(vertical|sideways)/.test(getComputedStyle(this.surface).writingMode);this.publish(void 0===e?this.surface.getBoundingClientRect().height:a?e.blockSize:e.inlineSize)})),this.observer.observe(this.surface,{box:"border-box"})))}disconnect(){this.observer?.disconnect(),this.observer=void 0}publish(t){this.host.dispatchEvent(new CustomEvent("brInternalTableHeaderHeight",{bubbles:!0,composed:!1,detail:{host:this.host,height:t,refresh:this.refresh}}))}}const j=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.brColumnWidthChange=a(this,"brColumnWidthChange",7),this.brAlignmentChange=a(this,"brAlignmentChange",7),this.brOverflowChange=a(this,"brOverflowChange",7),this.brInternalTableSortRequest=a(this,"brInternalTableSortRequest",4),this.colSpan=1,this.rowSpan=1,this.sortable=!1,this.isTooltipVisible=!1,this.tooltipContent="",this.tooltipRef=null,this.truncateContentRef=null,this.contentSlotRef=null,this.handleMouseEnter=async()=>{if(this.resolveTooltipMode()!==c.ENABLED)return;const t=this.truncateContentRef;null!==t&&t.scrollWidth>t.clientWidth&&(this.tooltipContent=this.getFullCellContent(),0!==this.tooltipContent.length&&(this.isTooltipVisible=!0,await b(),this.el.isConnected&&t.isConnected?this.tooltipRef?.isConnected&&(await this.tooltipRef.setTriggerElement(t),await this.tooltipRef.showTooltip()):await this.closeContentTooltip()))},this.closeContentTooltip=async()=>{const t=this.tooltipRef;if(null!==t)try{await t.hideTooltip()}catch{}this.tooltipRef=null,this.isTooltipVisible=!1},this.handleMouseLeave=async()=>{await this.closeContentTooltip()},this.handleSortClick=t=>{t.preventDefault(),t.stopPropagation(),this.brInternalTableSortRequest.emit()}}connectedCallback(){this.keyboard?.connect(),this.headerHeightObserver?.connect()}componentDidLoad(){const t=this.el.shadowRoot?.querySelector('[part="cell"]');null!=t&&(this.keyboard=new g(this.el,t),this.keyboard.connect(),this.headerHeightObserver=new C(this.el,t),this.headerHeightObserver.connect()),this.notifyColumnWidthChange(),this.notifyAlignmentChange(),this.notifyOverflowChange()}disconnectedCallback(){this.keyboard?.disconnect(),this.headerHeightObserver?.disconnect(),this.closeContentTooltip()}handleColumnWidthChange(){this.notifyColumnWidthChange()}handleAlignmentChange(){this.notifyAlignmentChange()}handleOverflowChange(){this.notifyOverflowChange()}getFullCellContent(){return null===this.contentSlotRef?"":this.contentSlotRef.assignedNodes({flatten:!0}).map((t=>t.textContent?.trim()||"")).filter((t=>t.length>0)).join(" ")}resolveTooltipState(){const t=this.el.getAttribute("tooltip-state");if(null!==t)return t;const e=this.el.closest("br-table-row"),a=e?.getAttribute("tooltip-state");if(null!==a)return a;const r=this.el.closest("br-table"),i=r?.getAttribute("tooltip-state");return null!==i?i:d.INFO}resolveTooltipMode(){const t=this.el.getAttribute("tooltip-mode");if(null!==t&&t!==c.INHERIT)return t;const e=this.el.closest("br-table-row"),a=e?.getAttribute("tooltip-mode");if(null!==a&&a!==c.INHERIT)return a;const r=this.el.closest("br-table"),i=r?.getAttribute("tooltip-mode");return null!==i&&i!==c.INHERIT?i:c.DISABLED}notifyColumnWidthChange(){this.brColumnWidthChange.emit()}notifyAlignmentChange(){this.brAlignmentChange.emit()}notifyOverflowChange(){this.brOverflowChange.emit()}getSortAriaLabel(){const t=this.getFullCellContent()||"Coluna";return this.sortDirection===h.ASC?`${t}: ordenado de forma crescente. Alterar para decrescente`:this.sortDirection===h.DESC?`${t}: ordenado de forma decrescente. Remover ordenação`:`${t}: sem ordenação. Ordenar de forma crescente`}renderSortIcons(){return this.sortDirection===h.ASC||this.sortDirection===h.DESC?r("br-icon",{class:"sort-icon","prop:iconName":this.sortDirection===h.ASC?"fa-solid:sort-up":"fa-solid:sort-down"}):r("span",{class:"sort-icon-pair"},r("br-icon",{class:"sort-icon","prop:iconName":"fa-solid:sort"}))}render(){const t=this.sortable&&1===v(String(this.colSpan)),e=r(i,{key:"e327ea2a7c797ddf0b32b912f8a949c26e54809e"},r("div",{key:"6cfb56797ad5cc29c930234feb9a0354c741d537",class:"br-table-header-cell-label",role:"presentation"},r("div",{key:"597d2e9316228ce200b39a9a2c5a359616fa413d",class:"br-table-header-cell-truncate",role:"presentation",ref:t=>this.truncateContentRef=t,onPointerEnter:this.handleMouseEnter,onPointerLeave:this.handleMouseLeave},r("slot",{key:"49a331d81d404684f8778e235350963b1805170d",ref:t=>this.contentSlotRef=t}))),t&&this.renderSortIcons());return r(o,{key:"7c219d7b4648522255b1b85d057f0c408e3f0702",role:"columnheader"},r("div",{key:"56e593dddb114f847f99a2d541273a46cdf1a534",class:{"br-table-header-cell":!0,"is-sortable":t,"is-sorted":void 0!==this.sortDirection},role:"presentation",part:"cell"},t?r("button",{class:"br-table-header-cell-content br-table-sort-trigger",type:"button",part:"content","aria-label":this.getSortAriaLabel(),onClick:this.handleSortClick},e):r("div",{class:"br-table-header-cell-content",role:"presentation",part:"content"},e),this.isTooltipVisible&&r("br-tooltip",{key:"b1fd2f34e818ed7789d21342b0abcde05c19f6f6",ref:t=>this.tooltipRef=t,position:"top",state:this.resolveTooltipState()===d.DANGER?"danger":this.resolveTooltipState()},r("span",{key:"3bd5d137c146815d170c1dd21acd06f084c85329",slot:"content"},this.tooltipContent))))}get el(){return this}static get watchers(){return{columnWidth:[{handleColumnWidthChange:0}],horizontalAlignment:[{handleAlignmentChange:0}],verticalAlignment:[{handleAlignmentChange:0}],overflow:[{handleOverflowChange:0}]}}static get style(){return'*,*::before,*::after{box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}small{font-size:80%}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:flex !important}}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown>.br-notification{left:auto;right:0}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{flex:1 0 0%;min-width:8.3333333333%}.col-auto{flex:0 0 auto;width:auto}.col-2{flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-fluid,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:flex;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}.col-sm-4{flex-basis:33.3333333333%;max-width:33.3333333333%}}@media (min-width: 992px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}.col-lg-3{flex-basis:25%;max-width:25%}}@media (min-width: 1600px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.ease{animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-out{animation-timing-function:cubic-bezier(0, 0, 0.58, 1)}.ease-in-out{animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.fast{animation-duration:var(--duration-fast)}.slow{animation-duration:var(--duration-slow)}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.ml-1{margin-left:var(--spacing-scale-half) !important}.mb-4{margin-bottom:var(--spacing-scale-3x) !important}.pt-half{padding-top:var(--spacing-scale-half) !important}.highlight{background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}fieldset[disabled]{opacity:1}.text-center{text-align:center !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a.focus-visible,a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}.main-content a{text-decoration:underline}button{cursor:pointer}img{max-width:100%;vertical-align:middle}h2,.h2{color:var(--color);font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2xh);margin-top:var(--spacing-scale-3xh);padding-bottom:var(--spacing-scale-2xh)}@media (min-width: 576px){.h2,h2{font-size:var(--font-size-scale-up-05);font-weight:var(--font-weight-regular)}}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}tr.selected,tr.is-selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}fieldset,.fieldset{border:var(--surface-width-none);margin-bottom:var(--spacing-scale-5x);margin-top:0;padding:0}legend,.legend{color:var(--color);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2x);margin-top:var(--spacing-scale-2x)}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}pre,.pre{background:var(--gray-5);margin:var(--spacing-scale-2x) 0 var(--spacing-scale-4x);padding:var(--spacing-scale-2x)}mark,.mark{background:var(--red-warm-vivid-10);color:var(--color)}*[data-toggle=collapse]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse].focus-visible,*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}@media (prefers-reduced-motion: reduce){:host,:host::before,:host::after,:host *,:host *::before,:host *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}}:host-context([data-wbc-reduced-motion=true])::before,:host-context([data-wbc-reduced-motion=true])::after,:host-context([data-wbc-reduced-motion=true]) *,:host-context([data-wbc-reduced-motion=true]) *::before,:host-context([data-wbc-reduced-motion=true]) *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}:host{--table-cell-grid-column:auto;--table-cell-grid-row:auto;display:contents}.br-table-header-cell{position:sticky;top:0;z-index:2;grid-column:var(--table-cell-grid-column, auto);grid-row:var(--table-cell-grid-row, auto);min-width:0;padding:var(--br-table-density) var(--table-row-size);background-color:var(--background-alternative);border-right:calc(var(--br-table-divider-base-width, 0px)*var(--br-table-column-divider-factor, 0)) var(--br-table-divider-style, solid) var(--border-color);color:var(--interactive);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold)}.br-table-header-cell.is-sortable{position:sticky;cursor:pointer}.br-table-header-cell:focus-visible{outline:var(--focus) var(--focus-style) var(--focus-width);outline-offset:calc(var(--focus-width)*-1)}.br-table-header-cell.is-sortable::before{position:absolute;z-index:0;inset:0;background-color:var(--interactive);content:"";opacity:0;pointer-events:none}.br-table-header-cell.is-sortable:hover::before{opacity:var(--surface-opacity-xs)}.br-table-header-cell.is-sortable:active::before{opacity:var(--surface-opacity-md)}.br-table-header-cell-content{position:relative;z-index:1;display:flex;align-items:var(--br-table-vertical-alignment);justify-content:flex-start;min-width:0;gap:var(--spacing-scale-base);height:100%}.br-table-header-cell-label{display:flex;flex:1 1 auto;align-items:var(--br-table-vertical-alignment);justify-content:flex-start;min-width:0}:host([data-selection-column]) .br-table-header-cell,:host([data-expansion-column]) .br-table-header-cell{padding:var(--br-table-density) var(--spacing-scale-base)}:host([data-selection-column]) .br-table-header-cell,:host([data-expansion-column]) .br-table-header-cell{display:flex;align-items:var(--br-table-vertical-alignment);justify-content:var(--br-table-horizontal-alignment)}:host([data-selection-column]) .br-table-header-cell-content,:host([data-selection-column]) .br-table-header-cell-label{width:fit-content;height:auto}:host([data-expansion-column]) .br-table-header-cell-content,:host([data-expansion-column]) .br-table-header-cell-label{width:fit-content;height:auto}:host([data-selection-column]) .br-table-header-cell-truncate{display:flex;align-items:center;justify-content:inherit;width:fit-content;overflow:visible}:host([data-expansion-column]) .br-table-header-cell-truncate{display:flex;align-items:center;justify-content:inherit;width:fit-content}:host([data-selection-column]) ::slotted(br-checkbox){flex:0 0 auto;align-self:center}.br-table-header-cell-truncate{min-width:0;max-width:100%;overflow:var(--br-table-cell-overflow);text-overflow:var(--br-table-cell-text-overflow);white-space:var(--br-table-cell-white-space);word-break:break-all}:host([data-last-column]) .br-table-header-cell{border-right:none}.br-table-sort-trigger{width:100%;margin:0;padding:0;border:0;background:rgba(0,0,0,0);color:inherit;font:inherit;text-align:inherit;cursor:pointer}.br-table-sort-trigger:focus-visible{outline:var(--surface-width-md) solid currentcolor;outline-offset:calc(var(--surface-width-sm)*-1)}.sort-icon{display:block;width:var(--spacing-scale-2x);height:var(--spacing-scale-2x);opacity:0}.br-table-header-cell.is-sortable:hover .sort-icon,.br-table-header-cell.is-sortable:focus-within .sort-icon,.br-table-header-cell.is-sortable.is-sorted .sort-icon{opacity:1}.sort-icon-pair{display:flex;align-items:center;justify-content:center}.br-table-header-cell>br-tooltip{position:absolute;inset:0 auto auto 0;width:0;height:0}:host-context(br-table-header[data-multilevel]) .br-table-header-cell{position:relative}'}},[257,"br-table-header-cell",{colSpan:[514,"col-span"],rowSpan:[514,"row-span"],columnWidth:[513,"column-width"],horizontalAlignment:[513,"horizontal-alignment"],verticalAlignment:[513,"vertical-alignment"],overflow:[513],tooltipState:[513,"tooltip-state"],tooltipMode:[513,"tooltip-mode"],sortable:[516],sortDirection:[513,"sort-direction"],isTooltipVisible:[32],tooltipContent:[32]},void 0,{columnWidth:[{handleColumnWidthChange:0}],horizontalAlignment:[{handleAlignmentChange:0}],verticalAlignment:[{handleAlignmentChange:0}],overflow:[{handleOverflowChange:0}]}]);function S(){"undefined"!=typeof customElements&&["br-table-header-cell","br-button","br-icon","br-tooltip"].forEach((t=>{switch(t){case"br-table-header-cell":customElements.get(n(t))||customElements.define(n(t),j);break;case"br-button":customElements.get(n(t))||u();break;case"br-icon":customElements.get(n(t))||p();break;case"br-tooltip":customElements.get(n(t))||m()}}))}export{j as T,w as a,f as b,k as c,S as d,y as e,z as f,x as g,v as r}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Construído por SERPRO
|
|
3
|
+
* © https://serpro.gov.br/ - MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import{p as e,H as t,h as i,d as r,t as a}from"./p-DMj5iO7_.js";import{g as o}from"./p-BeJxz5TQ.js";import{c as n,g as c}from"./p-CDtFCbKp.js";import{r as l}from"./p-CJuHirYK.js";import{d as s}from"./p-CWPrXYam.js";import{d as b}from"./p-ydfWTgrA.js";import{d}from"./p-Ca89D_0s.js";import{d as h}from"./p-YxddSP6q.js";const g=["horizontal","vertical"],p=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.checked=!1,this.isIndeterminate=!1,this.disabled=!1,this.unselectAllLabel="Desselecionar tudo",this.selectAllLabel="Selecionar tudo",this.indeterminate=!1,this.orientation="vertical",this.customId=o("br-checkbox-group"),this.syncingChildren=!1,this.managedChildren=new Set,this.reconciler=n((()=>this.updateGroupState())),this.handleSlotChange=()=>{this.setNumberOfChildren(),this.syncManagedChildren(),this.reconciler.schedule()},this.handleStructureChange=()=>{this.setNumberOfChildren(),this.syncManagedChildren(),this.reconciler.schedule()},this.handleParentChange=e=>{if(this.disabled)return;const t=this.getChildCheckboxes(),i=t.filter((e=>!this.isCheckboxDisabledOrReadonly(e))),r=i.length>0?!i.every((e=>this.isCheckboxChecked(e))):e.detail;this.checked=r,this.isIndeterminate=!1,this.syncingChildren=!0,t.forEach((e=>{this.isCheckboxDisabledOrReadonly(e)||(e.checked=r,e.indeterminate=!1)})),this.syncingChildren=!1,this.updateGroupState()}}componentWillLoad(){this.isIndeterminate=this.el.hasAttribute("indeterminate"),this.updateGroupState()}componentDidLoad(){this.setNumberOfChildren(),this.syncManagedChildren(),this.updateGroupState(),this.getSlotElement()?.addEventListener("slotchange",this.handleSlotChange),this.structureObserver=new MutationObserver(this.handleStructureChange),this.structureObserver.observe(this.el,{attributes:!0,attributeFilter:["class"],childList:!0,subtree:!0}),setTimeout((()=>this.syncManagedChildren()))}disconnectedCallback(){this.reconciler.cancel(),this.structureObserver?.disconnect(),this.structureObserver=void 0,this.getSlotElement()?.removeEventListener("slotchange",this.handleSlotChange),this.releaseManagedChildren()}handleDisabledChange(){this.syncManagedChildren()}async handleChildChange(e){if(e){const t=this.getEventCheckboxTarget(e);if(t&&this.isParentCheckbox(t))return void this.handleParentChange(e);if(t&&!this.getChildCheckboxes().includes(t))return}this.syncingChildren||this.reconciler.schedule()}handleInternalChildStateChange(e){const t=this.getEventCheckboxTarget(e);t&&!this.isParentCheckbox(t)&&this.getChildCheckboxes().includes(t)&&(this.syncingChildren||this.reconciler.schedule())}dispatchGroupState(e,t){e.dispatchEvent(new CustomEvent("brCheckboxGroupState",{bubbles:!0,composed:!0,detail:{managed:t,disabled:t&&this.disabled}}))}syncManagedChildren(){const e=new Set(this.getChildCheckboxes());for(const t of this.managedChildren)e.has(t)||(this.dispatchGroupState(t,!1),this.managedChildren.delete(t));for(const t of e)this.dispatchGroupState(t,!0),this.managedChildren.add(t)}releaseManagedChildren(){for(const e of this.managedChildren)this.dispatchGroupState(e,!1);this.managedChildren.clear()}getSlotElement(){return this.el.shadowRoot?.querySelector("slot")??null}getChildCheckboxes(){return c(this.getSlotElement(),this.el,"br-checkbox").filter((e=>"true"!==e.getAttribute("data-controller")))}getEventCheckboxTarget(e){return e.composedPath().find((e=>"br-checkbox"===e.tagName?.toLowerCase()))}isParentCheckbox(e){return e.getRootNode()===this.el.shadowRoot}isCheckboxDisabledOrReadonly(e){return e.disabled||e.hasAttribute("disabled")||Boolean(e.readonly)||Boolean(e.readOnly)||e.hasAttribute("readonly")||e.hasAttribute("read-only")||Boolean(e.closest("fieldset[disabled]"))}isCheckboxChecked(e){return Boolean(e.checked)}isCheckboxIndeterminate(e){return Boolean(e.indeterminate)}updateGroupState(){const e=this.getChildCheckboxes();if(0===e.length)return void this.setParentState(!1,!1);const t=e.some((e=>this.isCheckboxIndeterminate(e))),i=!t&&e.every((e=>this.isCheckboxChecked(e))),r=!t&&e.every((e=>!this.isCheckboxChecked(e)));this.setParentState(i,!i&&!r)}componentDidUpdate(){this.syncManagedChildren(),this.syncControllerState()}syncControllerState(){const e=this.controller??this.el.shadowRoot?.querySelector("br-checkbox");if(e){this.controller=e,e.checked=this.checked,e.indeterminate=this.isIndeterminate;const t=this.checked?this.unselectAllLabel:this.selectAllLabel;e.label=t,e.setAttribute("label",t),e.setAttribute("aria-label",t),this.checked?e.setAttribute("checked",""):e.removeAttribute("checked"),this.isIndeterminate?e.setAttribute("indeterminate",""):e.removeAttribute("indeterminate"),e.dispatchEvent(new CustomEvent("brInternalCheckboxSyncRequest"))}}setParentState(e,t){this.checked=e,this.isIndeterminate=t,this.syncControllerState()}setNumberOfChildren(){const e=this.controller??this.el.shadowRoot?.querySelector("br-checkbox"),t=this.getChildCheckboxes();e&&e.setNumberOfChildren(t.length)}getCssClassMap(){const e=this.effectiveOrientation;return{"br-checkbox-group":!0,horizontal:"horizontal"===e,vertical:"vertical"===e}}get effectiveOrientation(){return l(this.el,"orientation",this.orientation,g,"vertical")}render(){const e=this.checked?this.unselectAllLabel:this.selectAllLabel;return i(r,{key:"e48f4821d83e3fb0a61c94c801d078219c2960e5",style:{opacity:this.disabled?"1":void 0}},i("fieldset",{key:"af1c2f8e44fb69b74cf1b4397a9aac05ae26d089",class:this.getCssClassMap(),style:{width:"100%"},disabled:this.disabled},this.label&&i("legend",{key:"8949610047bf92dde039895fdf0b47fe75ebdaef"},this.label),i("div",{key:"51d3238316ee833bfa5d79e405fd0cd2a145a6b2",class:"mb-1"},i("div",{key:"2bd6eca4f179cb63a4bd2b0af1092b72be7c2ca4",class:"checkbox-group-example"},i("br-checkbox",{key:"e24c185b8b04a61e416aa7c32aced593816b4b1a",ref:e=>{this.controller=e},id:`checkbox-group-${this.customId}`,"data-controller":"true",name:`checkbox-group-${this.customId}`,checked:this.checked,indeterminate:this.isIndeterminate,label:e,"aria-label":e,disabled:this.disabled,isFather:!0,"is-father":!0}))),i("div",{key:"f018fbdb4ee141da6673285590df2195ee4d14f0",class:"checkbox-group-options"},i("slot",{key:"293012a6d34fa50d9417123ac5403c4c89b7284f"}))))}get el(){return this}static get watchers(){return{disabled:[{handleDisabledChange:0}]}}static get style(){return'*,*::before,*::after{box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}small{font-size:80%}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:flex !important}}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown>.br-notification{left:auto;right:0}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{flex:1 0 0%;min-width:8.3333333333%}.col-auto{flex:0 0 auto;width:auto}.col-2{flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-fluid,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:flex;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}.col-sm-4{flex-basis:33.3333333333%;max-width:33.3333333333%}}@media (min-width: 992px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}.col-lg-3{flex-basis:25%;max-width:25%}}@media (min-width: 1600px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.ease{animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-out{animation-timing-function:cubic-bezier(0, 0, 0.58, 1)}.ease-in-out{animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.fast{animation-duration:var(--duration-fast)}.slow{animation-duration:var(--duration-slow)}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.ml-1{margin-left:var(--spacing-scale-half) !important}.mb-4{margin-bottom:var(--spacing-scale-3x) !important}.pt-half{padding-top:var(--spacing-scale-half) !important}.highlight{background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}fieldset[disabled]{opacity:1}.text-center{text-align:center !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a.focus-visible,a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}.main-content a{text-decoration:underline}button{cursor:pointer}img{max-width:100%;vertical-align:middle}h2,.h2{color:var(--color);font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2xh);margin-top:var(--spacing-scale-3xh);padding-bottom:var(--spacing-scale-2xh)}@media (min-width: 576px){.h2,h2{font-size:var(--font-size-scale-up-05);font-weight:var(--font-weight-regular)}}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}tr.selected,tr.is-selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}fieldset,.fieldset{border:var(--surface-width-none);margin-bottom:var(--spacing-scale-5x);margin-top:0;padding:0}legend,.legend{color:var(--color);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2x);margin-top:var(--spacing-scale-2x)}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}pre,.pre{background:var(--gray-5);margin:var(--spacing-scale-2x) 0 var(--spacing-scale-4x);padding:var(--spacing-scale-2x)}mark,.mark{background:var(--red-warm-vivid-10);color:var(--color)}*[data-toggle=collapse]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse].focus-visible,*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}@media (prefers-reduced-motion: reduce){:host,:host::before,:host::after,:host *,:host *::before,:host *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}}:host-context([data-wbc-reduced-motion=true])::before,:host-context([data-wbc-reduced-motion=true])::after,:host-context([data-wbc-reduced-motion=true]) *,:host-context([data-wbc-reduced-motion=true]) *::before,:host-context([data-wbc-reduced-motion=true]) *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}.br-checkbox{--checkbox-padding:var(--spacing-scale-base);--checkbox-size:24px;display:flex;position:relative}.br-checkbox+.br-checkbox{margin-top:var(--spacing-scale-base)}.br-checkbox input{margin:0;opacity:0;position:absolute}.br-checkbox input+label{cursor:pointer;display:inline-block;margin-bottom:0;min-height:var(--checkbox-size);min-width:var(--checkbox-size);padding-left:calc(var(--spacing-scale-base) + var(--checkbox-size));position:relative}.br-checkbox input+label::before{background:var(--background-light);border:1px solid var(--border-color);border-radius:4px;content:"";height:var(--checkbox-size);left:0;position:absolute;width:var(--checkbox-size)}.br-checkbox input+label:empty{padding:0}.br-checkbox label{font-weight:var(--font-weight-medium)}.br-checkbox.hidden-label label{padding-left:calc(var(--checkbox-size) + var(--surface-width-md)*2);text-indent:-10000px;white-space:nowrap;width:0}.br-checkbox input:checked+label::after,.br-checkbox input:indeterminate+label::after{border:solid var(--selected);border-width:0 3px 3px 0;content:"";height:var(--icon-size-sm);left:8px;position:absolute;top:4px;transform:rotate(45deg);width:8px}.br-checkbox input[indeterminate]+label::before,.br-checkbox input:indeterminate+label::before{--interactive-rgb:var(--color-rgb);background:var(--selected);border-color:var(--selected)}.br-checkbox input[indeterminate]:hover:not(:disabled)+label::before,.br-checkbox input:indeterminate:hover:not(:disabled)+label::before{--interactive-rgb:var(--color-dark-rgb)}.br-checkbox input[indeterminate]:checked+label::after,.br-checkbox input[indeterminate]+label::after,.br-checkbox input:indeterminate:checked+label::after,.br-checkbox input:indeterminate+label::after{border-color:var(--background-light);border-width:0 0 3px;top:2px;transform:none}.br-checkbox.invalid input+label::before,.br-checkbox[invalid] input+label::before{--border-color:var(--danger)}.br-checkbox.invalid input:focus-visible:checked+label::before,.br-checkbox.invalid input:focus-visible+label::before,.br-checkbox.invalid input.focus-visible:checked+label::before,.br-checkbox.invalid input.focus-visible+label::before,.br-checkbox[invalid] input:focus-visible:checked+label::before,.br-checkbox[invalid] input:focus-visible+label::before,.br-checkbox[invalid] input.focus-visible:checked+label::before,.br-checkbox[invalid] input.focus-visible+label::before{--border-color:var(--focus-color)}.br-checkbox.invalid input:checked+label::before,.br-checkbox[invalid] input:checked+label::before{--border-color:var(--danger)}.br-checkbox.valid input+label::before,.br-checkbox[valid] input+label::before{--border-color:var(--success)}.br-checkbox.valid input:focus-visible:checked+label::before,.br-checkbox.valid input:focus-visible+label::before,.br-checkbox.valid input.focus-visible:checked+label::before,.br-checkbox.valid input.focus-visible+label::before,.br-checkbox[valid] input:focus-visible:checked+label::before,.br-checkbox[valid] input:focus-visible+label::before,.br-checkbox[valid] input.focus-visible:checked+label::before,.br-checkbox[valid] input.focus-visible+label::before{--border-color:var(--focus-color)}.br-checkbox.valid input:checked+label::before,.br-checkbox[valid] input:checked+label::before{--border-color:var(--success)}.br-checkbox.small input+label,.br-checkbox[small] input+label{line-height:var(--spacing-scale-2xh);min-height:var(--spacing-scale-2xh)}.br-checkbox.small input+label::before,.br-checkbox[small] input+label::before{height:var(--spacing-scale-2xh);width:var(--spacing-scale-2xh)}.br-checkbox.small input:checked+label::after,.br-checkbox[small] input:checked+label::after{border-width:0 2px 2px 0;height:var(--icon-size-sm);left:7px;top:4px;width:6px}.br-checkbox.small input[indeterminate]+label::after,.br-checkbox.small input:indeterminate+label::after,.br-checkbox[small] input[indeterminate]+label::after,.br-checkbox[small] input:indeterminate+label::after{border-color:var(--background-light);border-width:0 0 3px;left:7px;top:1px;transform:none;width:6px}.br-checkbox input:invalid+label::before{--border-color:var(--danger)}.br-checkbox input:focus-visible:checked+label::before,.br-checkbox input:focus-visible+label::before,.br-checkbox input.focus-visible:checked+label::before,.br-checkbox input.focus-visible+label::before{border-color:var(--focus) !important;box-shadow:0 0 0 var(--surface-width-md) var(--focus);outline:none}.br-checkbox input:hover:not(:disabled)+label::before{--interactive-rgb:var(--interactive-light-rgb);background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}.br-checkbox:not(.disabled) input:disabled+label{cursor:not-allowed;opacity:var(--disabled)}.br-checkbox:not(.disabled) input:disabled+label *{pointer-events:none}.br-checkbox.inverted,.br-checkbox.inverted label,.br-checkbox.dark-mode,.br-checkbox.dark-mode label{color:var(--color-dark)}:host{display:block}:host([disabled]){opacity:1 !important}fieldset{border:0;margin:0;min-inline-size:0;padding:0}legend{display:block;font:inherit;font-weight:600;margin:0 0 var(--spacing-scale-base);padding:0}.checkbox-group-options{display:flex;margin-inline-start:var(--spacing-scale-2x)}:host([orientation=horizontal]) .checkbox-group-options{flex-direction:row;flex-wrap:wrap;gap:var(--spacing-scale-2x)}:host([orientation=vertical]) .checkbox-group-options{flex-direction:column}'}},[257,"br-checkbox-group",{disabled:[516],label:[1],unselectAllLabel:[513,"unselect-all-label"],selectAllLabel:[513,"select-all-label"],indeterminate:[516],orientation:[513],customId:[513,"custom-id"],checked:[32],isIndeterminate:[32]},[[0,"checkedChange","handleChildChange"],[0,"brInternalCheckboxStateChange","handleInternalChildStateChange"]],{disabled:[{handleDisabledChange:0}]}]);function u(){"undefined"!=typeof customElements&&["br-checkbox-group","br-button","br-checkbox","br-icon","br-message"].forEach((e=>{switch(e){case"br-checkbox-group":customElements.get(a(e))||customElements.define(a(e),p);break;case"br-button":customElements.get(a(e))||s();break;case"br-checkbox":customElements.get(a(e))||b();break;case"br-icon":customElements.get(a(e))||d();break;case"br-message":customElements.get(a(e))||h()}}))}export{p as C,u as d}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Construído por SERPRO
|
|
3
|
+
* © https://serpro.gov.br/ - MIT License.
|
|
4
|
+
*/
|
|
5
|
+
class t{constructor(){this.revision=0,this.show=async()=>{const{dropdown:t,trigger:s,tooltip:i}=this;if(!s?.isConnected||!i?.isConnected||t?.isOpen)return;const a=++this.revision;await i.setTriggerElement(s),a===this.revision&&s.isConnected&&i.isConnected&&!t?.isOpen&&await i.showTooltip()},this.hide=async()=>{const t=++this.revision,s=this.tooltip;s?.isConnected&&(await s.setTriggerElement(null),t===this.revision&&s.isConnected&&await s.hideTooltip())}}}export{t as T}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Construído por SERPRO
|
|
3
3
|
* © https://serpro.gov.br/ - MIT License.
|
|
4
4
|
*/
|
|
5
|
-
import{p as t,H as i,c as e,h as o,d as s,t as n}from"./p-Jk_KQE5V.js";import{g as r}from"./p-BeJxz5TQ.js";import{g as a}from"./p-DWhzxlCx.js";import{a as l,s as h}from"./p-B55qsau4.js";import{c,a as d,r as g}from"./p-DiLI514I.js";import{c as u}from"./p-cF3ia5e9.js";const m=()=>"undefined"!=typeof window&&"undefined"!=typeof document,p={lockCount:0,config:{bodyClassName:"bq-body--scroll-lock"},scrollY:0,previousBodyStyle:{},previousDocumentOverflow:""},b=t=>{document.body.classList[t?"add":"remove"](p.config.bodyClassName)},f=()=>{m()&&0!==p.lockCount&&(p.lockCount=Math.max(0,p.lockCount-1),0===p.lockCount&&(document.body.style.position=p.previousBodyStyle.position??"",document.body.style.top=p.previousBodyStyle.top??"",document.body.style.left=p.previousBodyStyle.left??"",document.body.style.right=p.previousBodyStyle.right??"",document.body.style.width=p.previousBodyStyle.width??"",document.documentElement.style.overflow=p.previousDocumentOverflow,window.scrollTo(0,p.scrollY),b(!1)))},v=t(class t extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.brScrimOpen=e(this,"brScrimOpen",7),this.brScrimClose=e(this,"brScrimClose",7),this.legibilityBatch=u((()=>this.computeLegibilityRect())),this.hasActivatorSlot=!1,this.spotlightRect=null,this.customId=r(),this.isOpen=!1,this.disableCloseOnClick=!1,this.zIndex=null,this.bgColor=null,this.customOpacity=null,this.displayMode="fullscreen",this.scrollThreshold=50,this.activator=null,this.ariaLabel=null,this.variant="focus",this.legibilityAnchor="bottom",this.legibilitySize=null,this.legibilityTargetId=null,this.spotlightTargetId=null,this.spotlightPadding=8,this.spotlightShape="rect",this.contentLayout="default",this.displayModeExplicit=!1,this.contentRef=null,this.activatorElement=null,this.lastScrollTop=0,this.scrollOrigin=null,this.previouslyFocusedElement=null,this.focusTimeoutId=null,this.restoreFocusTimeoutId=null,this.spotlightResizeObserver=null,this.spotlightTargetElement=null,this.scrimDivRef=null,this.nativeDialogRef=null,this.legibilityResizeObserver=null,this.globalInterceptionAttached=!1,this.isModalFocusing=!1,this.modalFocusSuppressId=null,this.handleModalFocusReady=()=>{this.isModalFocusing&&(this.isModalFocusing=!1,null!==this.modalFocusSuppressId&&(clearTimeout(this.modalFocusSuppressId),this.modalFocusSuppressId=null))},this.handleModalOpen=t=>{this.isDirectChild(t.target)&&(this.suppressFocusGuard(),this.isOpen||this.open())},this.handleModalClose=t=>{this.isDirectChild(t.target)&&this.close()},this.handleActivatorClick=()=>{this.toggle()},this.handleScrollClose=()=>{if("close"===this.effectiveScrollStrategy&&this.isActive){const t=this.getScrollPosition();if(Math.abs(t-(this.scrollOrigin??this.lastScrollTop))>this.effectiveScrollThreshold){if(this.scrollOrigin=null,this.hasModalWithAutoClose())return;return void(this.isOpen=!1)}this.lastScrollTop=t}},this.handleKeyDown=t=>{if(this.isActive)if(this.shouldHandleEscape(t))this.isOpen=!1;else if("Tab"===t.key){const i=this.findModalChild();if(i?.show)return;this.handleTabNavigation(t)}},this.handleGlobalKeyDown=t=>{if(!this.isActive)return;if("Escape"===t.key&&!this.disableCloseOnClick){if(this.hasModalWithAutoClose())return;return t.preventDefault(),void(this.isOpen=!1)}const i=t.composedPath?.()[0]??t.target;return this.isElementInsideScrim(i)?void 0:(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),void this.focusFirstElement())},this.handleGlobalClick=t=>{if(!this.isActive)return;const i=t.composedPath?.()[0]??t.target;return this.isElementInsideScrim(i)?void 0:(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),void(this.disableCloseOnClick||this.close()))},this.handleGlobalFocus=t=>{if(!this.isActive)return;const i=t.composedPath?.()[0]??t.target,e=this.isElementInsideScrim(i);this.isModalFocusing||e||(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),requestAnimationFrame((()=>{this.focusFirstElement()})))},this.handleMaskClick=()=>{if(!this.disableCloseOnClick){if(this.hasModalWithAutoClose())return;if("none"===this.effectiveContentLayout)return void this.brScrimClose.emit();this.close()}},this.handleNativeCancel=t=>{t.preventDefault(),this.isOpen=!1},this.computeSpotlightRect=()=>{if(null===this.spotlightTargetElement)return;const t=this.spotlightTargetElement.getBoundingClientRect();if("parent"===this.effectiveDisplayMode&&null!==this.el.parentElement){const i=this.el.parentElement.getBoundingClientRect();this.spotlightRect=new DOMRect(t.left-i.left,t.top-i.top,t.width,t.height)}else this.spotlightRect=new DOMRect(t.left,t.top,t.width,t.height)},this.computeLegibilityRect=()=>{const t=this.resolveLegibilityTarget();if(null===t||null===this.scrimDivRef)return;const i=t.getBoundingClientRect();this.scrimDivRef.style.setProperty("position","fixed"),this.scrimDivRef.style.setProperty("inset","unset"),this.scrimDivRef.style.setProperty("top","0"),this.scrimDivRef.style.setProperty("left","0"),this.scrimDivRef.style.setProperty("width",`${i.width}px`),this.scrimDivRef.style.setProperty("height",`${i.height}px`);const e=this.scrimDivRef.getBoundingClientRect();this.scrimDivRef.style.setProperty("top",i.top-e.top+"px"),this.scrimDivRef.style.setProperty("left",i.left-e.left+"px")},this.scheduleLegibilityRect=()=>this.legibilityBatch.schedule(void 0)}get isActive(){return this.isLegibilityVariant||this.isOpen}get effectiveCustomOpacity(){return c(this.el,"customOpacity",this.customOpacity,0,1,.4,{allowNull:!0})}get effectiveScrollThreshold(){return c(this.el,"scrollThreshold",this.scrollThreshold,0,Number.MAX_SAFE_INTEGER,50)}get effectiveSpotlightPadding(){return c(this.el,"spotlightPadding",this.spotlightPadding,0,Number.MAX_SAFE_INTEGER,8)}get effectiveZIndex(){return d(this.el,"zIndex",this.zIndex,0,Number.MAX_SAFE_INTEGER,0,{allowNull:!0})}get effectivePositionContent(){return g(this.el,"positionContent",this.positionContent,["top","center","right","left","bottom"],"center")}get effectiveScrollStrategy(){return g(this.el,"scrollStrategy",this.scrollStrategy,["block","close"],"block")}get effectiveVariant(){return g(this.el,"variant",this.variant,["focus","spotlight","legibility"],"focus")}get effectiveLegibilityAnchor(){return g(this.el,"legibilityAnchor",this.legibilityAnchor,["top","bottom","left","right","center"],"bottom")}get effectiveSpotlightShape(){return g(this.el,"spotlightShape",this.spotlightShape,["rect","rounded","circle"],"rect")}get effectiveContentLayout(){return g(this.el,"contentLayout",this.contentLayout,["default","none"],"default")}handleOpenChange(t){if(null!==this.focusTimeoutId&&(clearTimeout(this.focusTimeoutId),this.focusTimeoutId=null),null!==this.restoreFocusTimeoutId&&(clearTimeout(this.restoreFocusTimeoutId),this.restoreFocusTimeoutId=null),this.isLegibilityVariant)return this.updateStyles(),void(t&&this.brScrimOpen.emit());if(t&&"close"===this.effectiveScrollStrategy){const t=window.scrollY;this.lastScrollTop=t,this.scrollOrigin=t}this.updateStyles(),this.isActive?(this.previouslyFocusedElement=document.activeElement,this.applyScrollStrategy(),"none"===this.effectiveContentLayout||this.usesNativeTopLayer||(this.addGlobalEventInterception(),null!==this.findModalChild()?this.suppressFocusGuard():this.focusTimeoutId=setTimeout((()=>{this.focusFirstElement()}),100)),this.setupSpotlight(),this.brScrimOpen.emit()):(this.closeModalChild(),this.cleanupSpotlight(),this.resetScrolling(),"none"!==this.effectiveContentLayout&&(this.removeGlobalEventInterception(),this.restoreFocus(),this.brScrimClose.emit()))}updateStyles(){this.applyVariantDefaults(),null!=this.effectiveZIndex&&(this.el.style.zIndex=`${this.effectiveZIndex}`,this.el.style.setProperty("--z-index-layer-4",`${this.effectiveZIndex}`)),null!==this.bgColor&&this.el.style.setProperty("--surface-overlay-scrim",this.bgColor),null!==this.effectiveCustomOpacity&&this.el.style.setProperty("--br-scrim-opacity",`${this.effectiveCustomOpacity}`)}handleVariantChange(){this.updateStyles(),this.isActive&&(this.isLegibilityVariant?(this.removeGlobalEventInterception(),this.resetScrolling(),this.cleanupSpotlight(),this.setupLegibility()):"spotlight"===this.effectiveVariant?(this.cleanupLegibility(),this.usesNativeTopLayer||this.addGlobalEventInterception(),this.setupSpotlight()):(this.cleanupLegibility(),this.usesNativeTopLayer||this.addGlobalEventInterception(),this.cleanupSpotlight()))}handleLayerModeChange(){this.removeGlobalEventInterception(),this.isActive&&"none"!==this.effectiveContentLayout&&!this.usesNativeTopLayer&&this.addGlobalEventInterception()}handleSpotlightChange(){this.isActive&&this.setupSpotlight()}handleLegibilityTargetChange(){this.isActive&&this.isLegibilityVariant&&this.setupLegibility()}handleActivatorChange(){this.removeActivatorClickListener(),this.setupActivator()}connectedCallback(){if("close"===this.effectiveScrollStrategy){const t=window.scrollY;this.lastScrollTop=t,this.scrollOrigin=t,window.addEventListener("scroll",this.handleScrollClose,{passive:!0})}}disconnectedCallback(){null!==this.focusTimeoutId&&(clearTimeout(this.focusTimeoutId),this.focusTimeoutId=null),null!==this.restoreFocusTimeoutId&&(clearTimeout(this.restoreFocusTimeoutId),this.restoreFocusTimeoutId=null),window.removeEventListener("scroll",this.handleScrollClose),"block"===this.effectiveScrollStrategy&&this.isActive&&f(),null!==this.contentRef&&this.contentRef.removeEventListener("keydown",this.handleKeyDown),this.removeActivatorClickListener(),this.cleanupActivatorSlotClick(),this.removeGlobalEventInterception(),this.removeModalEventListener(),this.cleanupSpotlight(),this.cleanupLegibility(),null!==this.modalFocusSuppressId&&(clearTimeout(this.modalFocusSuppressId),this.modalFocusSuppressId=null)}componentWillLoad(){this.hasActivatorSlot=this.checkActivatorSlot("activator"),this.displayModeExplicit=this.el.hasAttribute("display-mode")}componentDidLoad(){this.updateStyles(),this.setupActivator(),this.setupActivatorSlotClick(),this.addContentEventListener(),this.listenToModalEvents(),this.isLegibilityVariant?this.setupLegibility():this.isActive&&(this.applyScrollStrategy(),"none"!==this.effectiveContentLayout&&!this.usesNativeTopLayer)&&(this.addGlobalEventInterception(),null===this.findModalChild()?(this.focusFirstElement(),this.setupSpotlight()):this.suppressFocusGuard())}componentDidRender(){l(this.nativeDialogRef,this.isActive&&this.usesNativeDialog),this.isLegibilityVariant&&this.computeLegibilityRect()}async setScrollThreshold(t){this.scrollThreshold=c(this.el,"scrollThreshold",t,0,Number.MAX_SAFE_INTEGER,50)}async open(){this.isOpen=!0}async close(){this.isLegibilityVariant||(this.isOpen=!1)}async toggle(){this.isLegibilityVariant||(this.isOpen=!this.isActive)}async updateSpotlight(){this.computeSpotlightRect()}addContentEventListener(){null!==this.contentRef&&this.contentRef.addEventListener("keydown",this.handleKeyDown)}suppressFocusGuard(t=1e3){this.isModalFocusing=!0,null!==this.modalFocusSuppressId&&clearTimeout(this.modalFocusSuppressId),this.modalFocusSuppressId=setTimeout((()=>{this.isModalFocusing=!1,this.modalFocusSuppressId=null}),t)}isDirectChild(t){return this.getDirectChildren().some((i=>i===t||i.contains(t)))}listenToModalEvents(){this.el.addEventListener("brModalOpen",this.handleModalOpen),this.el.addEventListener("brModalClose",this.handleModalClose),this.el.addEventListener("brModalOpened",this.handleModalFocusReady)}removeModalEventListener(){this.el.removeEventListener("brModalOpen",this.handleModalOpen),this.el.removeEventListener("brModalClose",this.handleModalClose),this.el.removeEventListener("brModalOpened",this.handleModalFocusReady)}getDirectChildren(){const t=this.el.shadowRoot;if(null===t)return[];const i=t.querySelector("slot:not([name])");return null===i?[]:i.assignedElements()}findModalChild(){return this.getDirectChildren().find((t=>"BR-MODAL"===t.tagName))??null}hasModalWithAutoClose(){const t=this.findModalChild();return null!==t&&!0!==t.autoClose}closeModalChild(){const t=this.findModalChild();t?.show&&(t.show=!1)}checkActivatorSlot(t){return null!==this.el.querySelector(`[slot="${t}"]`)}setupActivatorSlotClick(){if(null===this.el.shadowRoot)return;const t=this.el.shadowRoot.querySelector('slot[name="activator"]');if(null==t)return;const i=t.assignedElements?.()??[];if(1===i.length){const t=i[0];t&&"function"==typeof t.addEventListener&&t.addEventListener("click",this.handleActivatorClick)}else i.length>1&&console.warn('br-scrim: Slot "activator" deve conter apenas um elemento para aplicar o onClick automaticamente.')}setupActivator(){if(this.removeActivatorClickListener(),this.activatorElement=null,!this.hasActivatorSlot&&null!=this.activator&&""!==this.activator){if("parent"===this.activator){const t=this.el.parentElement;null!==t&&(this.activatorElement=t)}else try{const t=document.querySelector(this.activator);t instanceof i&&(this.activatorElement=t)}catch{console.warn(`br-scrim: Seletor activator inválido: ${this.activator}`)}this.addActivatorClickListener()}}addActivatorClickListener(){null!=this.activatorElement&&this.activatorElement.addEventListener("click",this.handleActivatorClick)}removeActivatorClickListener(){null!=this.activatorElement&&this.activatorElement.removeEventListener("click",this.handleActivatorClick)}cleanupActivatorSlotClick(){if(null===this.el.shadowRoot)return;const t=this.el.shadowRoot.querySelector('slot[name="activator"]'),i=t?.assignedElements?.()??[];if(1===i.length){const t=i[0];t&&"function"==typeof t.removeEventListener&&t.removeEventListener("click",this.handleActivatorClick)}}applyScrollStrategy(){"block"===this.effectiveScrollStrategy?this.enableScrollBlock():"close"===this.effectiveScrollStrategy&&this.enableScrollWatcher()}getScrollPosition(){const t=this.el?.ownerDocument?.defaultView||window;return t?.scrollY??t?.pageYOffset??0}enableScrollBlock(){m()&&(p.lockCount++,1===p.lockCount&&(b(!0),p.scrollY=window.scrollY||window.pageYOffset||0,p.previousBodyStyle={left:document.body.style.left,position:document.body.style.position,right:document.body.style.right,top:document.body.style.top,width:document.body.style.width},p.previousDocumentOverflow=document.documentElement.style.overflow,document.body.style.position="fixed",document.body.style.top=`-${p.scrollY}px`,document.body.style.left="0",document.body.style.right="0",document.body.style.width="100%",document.documentElement.style.overflow="hidden"))}enableScrollWatcher(){const t=window.scrollY;this.lastScrollTop=t,this.scrollOrigin=t,window.addEventListener("scroll",this.handleScrollClose,{passive:!0})}resetScrolling(){"block"===this.effectiveScrollStrategy&&f(),window.removeEventListener("scroll",this.handleScrollClose),this.scrollOrigin=null}focusFirstElement(){if(null==this.contentRef)return;const t=this.findModalChild();if(t?.show){const i=t.shadowRoot?.querySelector(".br-modal");return void i?.focus()}this.contentRef.setAttribute("tabindex","-1"),this.contentRef.focus();const i=this.getFocusableElements();if(i.length>0){const t=i[0];null!=t&&(t.scrollIntoView({behavior:a(),block:"nearest",inline:"nearest"}),t.focus({preventScroll:!0}))}}restoreFocus(){let t=null;if(this.previouslyFocusedElement instanceof i&&this.previouslyFocusedElement.isConnected)t=this.previouslyFocusedElement;else if(this.activatorElement instanceof i)t=this.activatorElement;else{const e=this.el.shadowRoot?.querySelector('slot[name="activator"]');if(this.hasActivatorSlot){const o=e.assignedElements?.()??[];o.length>0&&o[0]instanceof i&&(t=o[0])}}null!=t&&(this.restoreFocusTimeoutId=setTimeout((()=>{try{t?.focus()}catch(t){console.warn("br-scrim: Erro ao restaurar foco:",t)}}),100))}getFocusableElements(){if(null==this.contentRef)return[];const e=this.contentRef.querySelector("slot:not([name])");if(null==e)return[];const o=e.assignedElements({flatten:!0}),s=[];return o.forEach((e=>{if(!(e instanceof i))return;e.matches(t.FOCUSABLE_SELECTORS)&&s.push(e);const o=Array.from(e.querySelectorAll(t.FOCUSABLE_SELECTORS));s.push(...o)})),this.filterVisibleElements(s)}filterVisibleElements(t){return t.filter((t=>t.offsetWidth>0&&t.offsetHeight>0&&"hidden"!==getComputedStyle(t).visibility))}handleDocumentKeyDown(t){if(this.isActive&&("Escape"===t.key||"Esc"===t.key)&&!this.disableCloseOnClick){if(this.hasModalWithAutoClose())return;this.close()}}shouldHandleEscape(t){return("Escape"===t.key||"Esc"===t.key)&&this.isActive}handleTabNavigation(t){const i=this.getFocusableElements();if(0===i.length)return void t.preventDefault();const e=i[0],o=i[i.length-1],s=!t.shiftKey;this.shouldTrapFocus(s,e,o,t)&&(t.preventDefault(),this.wrapFocus(s,e,o))}shouldTrapFocus(t,i,e,o){const s=o?.composedPath?.()[0]??document.activeElement;return t&&s===e||!t&&s===i}wrapFocus(t,i,e){(t?i:e).focus()}isElementInsideScrim(t){if(this.el.contains(t))return!0;let i=t;for(;null!==i&&i!==document;){const t=i.getRootNode();if(!(t instanceof ShadowRoot))break;{const e=t.host;if(this.el.contains(e))return!0;i=e}}return!1}addGlobalEventInterception(){this.globalInterceptionAttached||(document.addEventListener("keydown",this.handleGlobalKeyDown,!0),document.addEventListener("click",this.handleGlobalClick,!0),document.addEventListener("mousedown",this.handleGlobalClick,!0),document.addEventListener("mouseup",this.handleGlobalClick,!0),document.addEventListener("focusin",this.handleGlobalFocus,!0),this.globalInterceptionAttached=!0)}removeGlobalEventInterception(){this.globalInterceptionAttached&&(document.removeEventListener("keydown",this.handleGlobalKeyDown,!0),document.removeEventListener("click",this.handleGlobalClick,!0),document.removeEventListener("mousedown",this.handleGlobalClick,!0),document.removeEventListener("mouseup",this.handleGlobalClick,!0),document.removeEventListener("focusin",this.handleGlobalFocus,!0),this.globalInterceptionAttached=!1)}get isLegibilityVariant(){return"legibility"===this.effectiveVariant}get effectiveDisplayMode(){return"legibility"!==this.effectiveVariant||this.displayModeExplicit?g(this.el,"displayMode",this.displayMode,["fullscreen","parent"],"fullscreen"):"parent"}get usesNativeDialog(){return"fullscreen"===this.effectiveDisplayMode&&!this.isLegibilityVariant&&"none"!==this.effectiveContentLayout}get usesNativeTopLayer(){return this.usesNativeDialog&&h()}applyVariantDefaults(){switch(this.el.style.removeProperty("--surface-overlay-scrim"),this.el.style.removeProperty("--br-scrim-opacity"),this.el.style.removeProperty("--br-scrim-mask-size"),this.effectiveVariant){case"focus":case"spotlight":null===this.bgColor&&this.el.style.setProperty("--surface-overlay-scrim","#000000"),null===this.effectiveCustomOpacity&&this.el.style.setProperty("--br-scrim-opacity","0.4");break;case"legibility":null!==this.legibilitySize?this.el.style.setProperty("--br-scrim-mask-size",this.legibilitySize):this.el.style.removeProperty("--br-scrim-mask-size"),null===this.bgColor&&this.el.style.setProperty("--surface-overlay-scrim","#000000"),null===this.effectiveCustomOpacity&&this.el.style.setProperty("--br-scrim-opacity","0.64")}}setupSpotlight(){if(this.cleanupSpotlight(),"spotlight"!==this.effectiveVariant)return;const t=this.resolveSpotlightTarget();null!==t&&(this.spotlightTargetElement=t,this.computeSpotlightRect(),"undefined"!=typeof ResizeObserver&&(this.spotlightResizeObserver=new ResizeObserver(this.computeSpotlightRect),this.spotlightResizeObserver.observe(t)),window.addEventListener("resize",this.computeSpotlightRect),window.addEventListener("scroll",this.computeSpotlightRect,{capture:!0,passive:!0}))}cleanupSpotlight(){null!==this.spotlightResizeObserver&&(this.spotlightResizeObserver.disconnect(),this.spotlightResizeObserver=null),this.spotlightTargetElement=null,this.spotlightRect=null,window.removeEventListener("resize",this.computeSpotlightRect),window.removeEventListener("scroll",this.computeSpotlightRect,!0)}resolveSpotlightTarget(){if(null!==this.spotlightTargetId&&""!==this.spotlightTargetId)try{return document.querySelector(this.spotlightTargetId)}catch{console.warn(`br-scrim: Seletor spotlightTargetId inválido: ${this.spotlightTargetId}`)}return null}setupLegibility(){if(this.cleanupLegibility(),!this.isLegibilityVariant)return;const t=this.resolveLegibilityTarget();if(null!==t){if(this.computeLegibilityRect(),"undefined"!=typeof ResizeObserver){this.legibilityResizeObserver=new ResizeObserver((()=>this.scheduleLegibilityRect())),this.legibilityResizeObserver.observe(t);let i=t.parentElement;for(;null!==i&&i!==document.documentElement;)this.legibilityResizeObserver.observe(i),i=i.parentElement}else requestAnimationFrame((()=>requestAnimationFrame(this.scheduleLegibilityRect))),window.addEventListener("resize",this.scheduleLegibilityRect);window.addEventListener("scroll",this.scheduleLegibilityRect,{capture:!0,passive:!0}),window.addEventListener("load",this.scheduleLegibilityRect)}}cleanupLegibility(){null!==this.legibilityResizeObserver&&(this.legibilityResizeObserver.disconnect(),this.legibilityResizeObserver=null),this.legibilityBatch.cancel(),window.removeEventListener("resize",this.scheduleLegibilityRect),window.removeEventListener("scroll",this.scheduleLegibilityRect,!0),window.removeEventListener("load",this.scheduleLegibilityRect),this.resetLegibilityStyles()}resolveLegibilityTarget(){const t=this.legibilityTargetId??this.el.getAttribute("legibility-target-id");if(null!==t&&""!==t)try{const i=document.querySelector(t);if(null!==i)return i}catch{console.warn(`br-scrim: Seletor legibilityTargetId inválido: ${t}`)}return this.el.parentElement}resetLegibilityStyles(){null!==this.scrimDivRef&&(this.scrimDivRef.style.removeProperty("position"),this.scrimDivRef.style.removeProperty("inset"),this.scrimDivRef.style.removeProperty("top"),this.scrimDivRef.style.removeProperty("left"),this.scrimDivRef.style.removeProperty("width"),this.scrimDivRef.style.removeProperty("height"))}renderSpotlightOverlay(t,i,e){const s="circle"===this.effectiveSpotlightShape?o("ellipse",{cx:i.left+i.width/2,cy:i.top+i.height/2,rx:i.width/2+e,ry:i.height/2+e,fill:"black"}):o("rect",{x:i.left-e,y:i.top-e,width:i.width+2*e,height:i.height+2*e,rx:"rounded"===this.effectiveSpotlightShape?8:0,ry:"rounded"===this.effectiveSpotlightShape?8:0,fill:"black"});return o("svg",{class:"spotlight-overlay","aria-hidden":"true",onClick:this.handleMaskClick,xmlns:"http://www.w3.org/2000/svg"},o("defs",null,o("mask",{id:t},o("rect",{width:"100%",height:"100%",fill:"white"}),s)),o("rect",{class:"spotlight-overlay-rect",width:"100%",height:"100%",mask:`url(#${t})`}))}getCssClassMap(){return{"br-scrim":!0,opened:this.isActive,"scroll-block":"block"===this.effectiveScrollStrategy,"position-top":"top"===this.effectivePositionContent,"position-bottom":"bottom"===this.effectivePositionContent,"position-left":"left"===this.effectivePositionContent,"position-right":"right"===this.effectivePositionContent,"position-center":"center"===this.effectivePositionContent,"mode-fullscreen":"fullscreen"===this.effectiveDisplayMode,"mode-parent":"parent"===this.effectiveDisplayMode,"variant-focus":"focus"===this.effectiveVariant,"variant-spotlight":"spotlight"===this.effectiveVariant,"variant-legibility":"legibility"===this.effectiveVariant,"legibility-anchor-top":"legibility"===this.effectiveVariant&&"top"===this.effectiveLegibilityAnchor,"legibility-anchor-bottom":"legibility"===this.effectiveVariant&&"bottom"===this.effectiveLegibilityAnchor,"legibility-anchor-left":"legibility"===this.effectiveVariant&&"left"===this.effectiveLegibilityAnchor,"legibility-anchor-right":"legibility"===this.effectiveVariant&&"right"===this.effectiveLegibilityAnchor,"legibility-anchor-center":"legibility"===this.effectiveVariant&&"center"===this.effectiveLegibilityAnchor,"has-spotlight":null!==this.spotlightRect,"content-layout-none":"none"===this.effectiveContentLayout}}render(){const t=`${this.customId}-spotlight-mask`,i=this.effectiveSpotlightPadding,e=this.spotlightRect,n=!this.isLegibilityVariant&&"none"!==this.effectiveContentLayout,r=o("div",this.isLegibilityVariant?{class:"mask"}:{class:"mask",role:"button","aria-label":"Fechar sobreposição",tabIndex:0,onClick:this.handleMaskClick,onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.handleMaskClick(t))}}),a=o("div",{key:"f3103320a667135969fa3d215f9d0da97169f504",ref:t=>this.contentRef=t??null,id:`${this.customId}-content`,class:"none"===this.effectiveContentLayout?"content content-unwrapped":"content",tabIndex:"none"===this.effectiveContentLayout?void 0:-1},o("slot",{key:"5cfa134aad52330abade48d26e2777776c9996d3"}));return o(s,{key:"699b6a6137444166a9b20d486b9491a465b04e5c"},o("slot",{key:"eee056628c6752f65ae1dc3a05e3c5eb480423e2",name:"activator"}),this.usesNativeDialog?o("dialog",{ref:t=>{this.nativeDialogRef=t,this.scrimDivRef=t},class:this.getCssClassMap(),id:this.customId,role:this.usesNativeTopLayer?void 0:"dialog","aria-modal":"true","aria-label":this.ariaLabel||"Conteúdo do diálogo","data-visible":this.isActive?"true":"false",onCancel:this.handleNativeCancel,onKeyDown:this.handleKeyDown},r,null!==e&&this.renderSpotlightOverlay(t,e,i),a):o("div",n?{ref:t=>{this.nativeDialogRef=null,this.scrimDivRef=t},class:this.getCssClassMap(),id:this.customId,role:"dialog","aria-modal":"true","aria-label":this.ariaLabel||"Conteúdo do diálogo","data-visible":this.isActive?"true":"false",onKeyDown:this.handleKeyDown}:{ref:t=>{this.nativeDialogRef=null,this.scrimDivRef=t},class:this.getCssClassMap(),id:this.customId,role:"presentation","data-visible":this.isActive?"true":"false"},r,null!==e&&this.renderSpotlightOverlay(t,e,i),a))}get el(){return this}static get watchers(){return{isOpen:[{handleOpenChange:0}],zIndex:[{updateStyles:0}],bgColor:[{updateStyles:0}],customOpacity:[{updateStyles:0}],legibilitySize:[{updateStyles:0}],variant:[{handleVariantChange:0}],displayMode:[{handleLayerModeChange:0}],contentLayout:[{handleLayerModeChange:0}],spotlightTargetId:[{handleSpotlightChange:0}],spotlightPadding:[{handleSpotlightChange:0}],spotlightShape:[{handleSpotlightChange:0}],legibilityTargetId:[{handleLegibilityTargetChange:0}],activator:[{handleActivatorChange:0}]}}static get style(){return"*,*::before,*::after{box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}small{font-size:80%}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:flex !important}}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown>.br-notification{left:auto;right:0}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{flex:1 0 0%;min-width:8.3333333333%}.col-auto{flex:0 0 auto;width:auto}.col-2{flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-fluid,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:flex;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}.col-sm-4{flex-basis:33.3333333333%;max-width:33.3333333333%}}@media (min-width: 992px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}.col-lg-3{flex-basis:25%;max-width:25%}}@media (min-width: 1600px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.ease{animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-out{animation-timing-function:cubic-bezier(0, 0, 0.58, 1)}.ease-in-out{animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.fast{animation-duration:var(--duration-fast)}.slow{animation-duration:var(--duration-slow)}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.ml-1{margin-left:var(--spacing-scale-half) !important}.mx-3{margin-left:var(--spacing-scale-2x) !important;margin-right:var(--spacing-scale-2x) !important}.mb-4{margin-bottom:var(--spacing-scale-3x) !important}.ml-auto{margin-left:auto !important}.pt-half{padding-top:var(--spacing-scale-half) !important}@media (min-width: 576px){.ml-sm-0{margin-left:var(--spacing-scale-default) !important}}.highlight{background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}fieldset[disabled]{opacity:1}.text-center{text-align:center !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a.focus-visible,a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}.main-content a{text-decoration:underline}button{cursor:pointer}img{max-width:100%;vertical-align:middle}h2,.h2{color:var(--color);font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2xh);margin-top:var(--spacing-scale-3xh);padding-bottom:var(--spacing-scale-2xh)}@media (min-width: 576px){.h2,h2{font-size:var(--font-size-scale-up-05);font-weight:var(--font-weight-regular)}}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}tr.selected,tr.is-selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}fieldset,.fieldset{border:var(--surface-width-none);margin-bottom:var(--spacing-scale-5x);margin-top:0;padding:0}legend,.legend{color:var(--color);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2x);margin-top:var(--spacing-scale-2x)}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}pre,.pre{background:var(--gray-5);margin:var(--spacing-scale-2x) 0 var(--spacing-scale-4x);padding:var(--spacing-scale-2x)}*[data-toggle=collapse]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse].focus-visible,*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}@media (prefers-reduced-motion: reduce){:host,:host::before,:host::after,:host *,:host *::before,:host *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}}:host-context([data-wbc-reduced-motion=true])::before,:host-context([data-wbc-reduced-motion=true])::after,:host-context([data-wbc-reduced-motion=true]) *,:host-context([data-wbc-reduced-motion=true]) *::before,:host-context([data-wbc-reduced-motion=true]) *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}:host{--br-scrim-opacity:1}:host .br-scrim{visibility:hidden;transition:none}@media (prefers-reduced-motion: no-preference){:host .br-scrim{transition:visibility var(--duration-fast, 300ms) var(--animation-ease-linear, linear)}}:host .br-scrim{z-index:var(--z-index-layer-4);display:flex;align-items:center;justify-content:center;pointer-events:auto}:host dialog.br-scrim{background:rgba(0,0,0,0);border:0;color:inherit;margin:0;max-height:none;max-width:none;padding:0}:host dialog.br-scrim::backdrop{background:rgba(0,0,0,0)}:host .br-scrim.mode-fullscreen{position:fixed;z-index:var(--z-index-layer-4);inset:0;box-sizing:border-box;width:100%;height:100%}:host .br-scrim.mode-parent{position:absolute;z-index:var(--z-index-layer-4);inset:0;width:100%;height:100%}:host .br-scrim.opened{visibility:visible;pointer-events:auto}:host .br-scrim.variant-legibility{pointer-events:none;z-index:auto}:host .br-scrim.variant-legibility .mask{pointer-events:none;z-index:auto}:host .br-scrim.variant-legibility .content{pointer-events:auto;z-index:auto}:host .mask{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--surface-overlay-scrim);opacity:0;transition:none}@media (prefers-reduced-motion: no-preference){:host .mask{transition:opacity var(--duration-fast, 300ms) var(--animation-ease-out, ease-out)}}:host .mask{pointer-events:auto;z-index:0}:host .br-scrim.opened .mask{opacity:var(--br-scrim-opacity)}:host .br-scrim.has-spotlight .mask{display:none}:host .spotlight-overlay{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:auto;overflow:visible}:host .br-scrim.mode-fullscreen .spotlight-overlay{position:fixed}:host .spotlight-overlay-rect{fill:var(--surface-overlay-scrim, #000);opacity:0;transition:none}@media (prefers-reduced-motion: no-preference){:host .spotlight-overlay-rect{transition:opacity var(--duration-fast, 300ms) var(--animation-ease-out, ease-out)}}:host .br-scrim.opened .spotlight-overlay-rect{opacity:var(--br-scrim-opacity)}:host .br-scrim.legibility-anchor-center .mask{width:100%;height:var(--br-scrim-mask-size, 100%);top:50%;left:0;transform:translateY(-50%)}:host .br-scrim.legibility-anchor-center .content{position:absolute;top:50%;left:0;right:0;width:100%;height:var(--br-scrim-mask-size, 100%);transform:translateY(-50%);display:flex;align-items:center;justify-content:center}:host .br-scrim.legibility-anchor-top .mask,:host .br-scrim.legibility-anchor-bottom .mask{height:var(--br-scrim-mask-size, 100%);width:100%}:host .br-scrim.legibility-anchor-left .mask,:host .br-scrim.legibility-anchor-right .mask{width:var(--br-scrim-mask-size, 100%);height:100%}:host .br-scrim.legibility-anchor-top .mask{top:0;bottom:auto}:host .br-scrim.legibility-anchor-bottom .mask{bottom:0;top:auto}:host .br-scrim.legibility-anchor-left .mask{left:0;right:auto}:host .br-scrim.legibility-anchor-right .mask{right:0;left:auto}:host .br-scrim.legibility-anchor-top .content{position:absolute;inset:0 0 auto;width:100%;height:var(--br-scrim-mask-size, 100%);display:flex;align-items:center;justify-content:center}:host .br-scrim.legibility-anchor-bottom .content{position:absolute;inset:auto 0 0;width:100%;height:var(--br-scrim-mask-size, 100%);display:flex;align-items:center;justify-content:center}:host .br-scrim.legibility-anchor-left .content{position:absolute;inset:0 auto 0 0;width:var(--br-scrim-mask-size, 100%);height:100%;display:flex;align-items:center;justify-content:center}:host .br-scrim.legibility-anchor-right .content{position:absolute;inset:0 0 0 auto;width:var(--br-scrim-mask-size, 100%);height:100%;display:flex;align-items:center;justify-content:center}:host .content{position:relative;outline:none;pointer-events:auto;opacity:0;transition:none}@media (prefers-reduced-motion: no-preference){:host .content{transition:opacity var(--duration-fast, 300ms) var(--animation-ease-out, ease-out)}}:host .content{background:rgba(0,0,0,0);padding:0;margin:0;border:none;box-shadow:none;overflow:visible;contain:none;display:inline-block;width:fit-content;height:fit-content;z-index:1}:host .content:focus{outline:var(--focus-outline);outline-offset:var(--focus-offset);box-shadow:var(--focus-shadow)}:host .br-scrim.content-layout-none .content,:host .br-scrim.content-layout-none .content-unwrapped{display:contents;position:unset;opacity:1;transform:none;width:auto;height:auto;z-index:unset;pointer-events:none;outline:none;background:rgba(0,0,0,0);padding:0;margin:0;border:none;box-shadow:none;transition:none}:host .br-scrim.opened .content{opacity:1;pointer-events:auto}:host .content ::slotted(*){opacity:1 !important;filter:none}:host .br-scrim.position-top:not(.legibility-anchor-top):not(.legibility-anchor-bottom):not(.legibility-anchor-left):not(.legibility-anchor-right):not(.legibility-anchor-center) .content{position:absolute;top:0;left:50%;transform:translateX(-50%)}:host .br-scrim.position-bottom:not(.legibility-anchor-top):not(.legibility-anchor-bottom):not(.legibility-anchor-left):not(.legibility-anchor-right):not(.legibility-anchor-center) .content{position:absolute;bottom:0;left:50%;transform:translateX(-50%)}:host .br-scrim.position-left:not(.legibility-anchor-top):not(.legibility-anchor-bottom):not(.legibility-anchor-left):not(.legibility-anchor-right):not(.legibility-anchor-center) .content{position:absolute;top:50%;left:0;transform:translateY(-50%)}:host .br-scrim.position-right:not(.legibility-anchor-top):not(.legibility-anchor-bottom):not(.legibility-anchor-left):not(.legibility-anchor-right):not(.legibility-anchor-center) .content{position:absolute;top:50%;right:0;transform:translateY(-50%)}:host .br-scrim.position-center:not(.legibility-anchor-top):not(.legibility-anchor-bottom):not(.legibility-anchor-left):not(.legibility-anchor-right):not(.legibility-anchor-center) .content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}:host .br-scrim[class*=legibility-anchor-].position-top .content{align-items:flex-start;justify-content:center}:host .br-scrim[class*=legibility-anchor-].position-bottom .content{align-items:flex-end;justify-content:center}:host .br-scrim[class*=legibility-anchor-].position-left .content{align-items:center;justify-content:flex-start}:host .br-scrim[class*=legibility-anchor-].position-right .content{align-items:center;justify-content:flex-end}:host .br-scrim[class*=legibility-anchor-].position-center .content{align-items:center;justify-content:center}:host .br-scrim.legibility-anchor-center.position-top .content{align-items:flex-start;justify-content:center;transform:translateY(-50%)}:host .br-scrim.legibility-anchor-center.position-bottom .content{align-items:flex-end;justify-content:center;transform:translateY(-50%)}:host .br-scrim.legibility-anchor-center.position-left .content{align-items:center;justify-content:flex-start;transform:translateY(-50%)}:host .br-scrim.legibility-anchor-center.position-right .content{align-items:center;justify-content:flex-end;transform:translateY(-50%)}:host .br-scrim.legibility-anchor-center.position-center .content{align-items:center;justify-content:center;transform:translateY(-50%)}@media (width <= 768px){:host .content{max-width:95%;max-height:95%;width:auto}:host .br-scrim.position-top .content,:host .br-scrim.position-bottom .content{width:100%;max-width:100%;border-radius:0}}:host([data-wbc-preview-contained]){inset:0;pointer-events:none;position:absolute;z-index:1000}:host([data-wbc-preview-contained]) .br-scrim{pointer-events:auto}:host([data-wbc-preview-contained]) .br-scrim .content{box-sizing:border-box;max-width:calc(100% - var(--spacing-scale-4x, 32px));max-height:calc(100% - var(--spacing-scale-4x, 32px));overflow:auto}"}},[257,"br-scrim",{customId:[513,"custom-id"],isOpen:[1540,"is-open"],positionContent:[1,"position-content"],disableCloseOnClick:[4,"disable-close-on-click"],zIndex:[2,"z-index"],bgColor:[1,"bg-color"],customOpacity:[2,"custom-opacity"],displayMode:[513,"display-mode"],scrollStrategy:[1,"scroll-strategy"],scrollThreshold:[1026,"scroll-threshold"],activator:[1],ariaLabel:[1,"aria-label"],variant:[1],legibilityAnchor:[1,"legibility-anchor"],legibilitySize:[1,"legibility-size"],legibilityTargetId:[1,"legibility-target-id"],spotlightTargetId:[1,"spotlight-target-id"],spotlightPadding:[2,"spotlight-padding"],spotlightShape:[1,"spotlight-shape"],contentLayout:[513,"content-layout"],hasActivatorSlot:[32],spotlightRect:[32],setScrollThreshold:[64],open:[64],close:[64],toggle:[64],updateSpotlight:[64]},[[4,"keydown","handleDocumentKeyDown"]],{isOpen:[{handleOpenChange:0}],zIndex:[{updateStyles:0}],bgColor:[{updateStyles:0}],customOpacity:[{updateStyles:0}],legibilitySize:[{updateStyles:0}],variant:[{handleVariantChange:0}],displayMode:[{handleLayerModeChange:0}],contentLayout:[{handleLayerModeChange:0}],spotlightTargetId:[{handleSpotlightChange:0}],spotlightPadding:[{handleSpotlightChange:0}],spotlightShape:[{handleSpotlightChange:0}],legibilityTargetId:[{handleLegibilityTargetChange:0}],activator:[{handleActivatorChange:0}]}]);function y(){"undefined"!=typeof customElements&&["br-scrim"].forEach((t=>{"br-scrim"===t&&(customElements.get(n(t))||customElements.define(n(t),v))}))}v.FOCUSABLE_SELECTORS=["a[href]:not([disabled])","button:not([disabled])","br-button:not([disabled])","input:not([disabled])","br-input:not([disabled])","select:not([disabled])","br-select:not([disabled])","textarea:not([disabled])","br-textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(",");export{v as S,y as d}
|
|
5
|
+
import{p as t,H as i,c as e,h as o,d as s,t as n}from"./p-DMj5iO7_.js";import{g as r}from"./p-BeJxz5TQ.js";import{g as a}from"./p-DWhzxlCx.js";import{a as l,s as h}from"./p-B55qsau4.js";import{c,a as d,r as g}from"./p-CJuHirYK.js";import{c as u}from"./p-cF3ia5e9.js";const m=()=>"undefined"!=typeof window&&"undefined"!=typeof document,p={lockCount:0,config:{bodyClassName:"bq-body--scroll-lock"},scrollY:0,previousBodyStyle:{},previousDocumentOverflow:""},b=t=>{document.body.classList[t?"add":"remove"](p.config.bodyClassName)},f=()=>{m()&&0!==p.lockCount&&(p.lockCount=Math.max(0,p.lockCount-1),0===p.lockCount&&(document.body.style.position=p.previousBodyStyle.position??"",document.body.style.top=p.previousBodyStyle.top??"",document.body.style.left=p.previousBodyStyle.left??"",document.body.style.right=p.previousBodyStyle.right??"",document.body.style.width=p.previousBodyStyle.width??"",document.documentElement.style.overflow=p.previousDocumentOverflow,window.scrollTo(0,p.scrollY),b(!1)))},v=t(class t extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.brScrimOpen=e(this,"brScrimOpen",7),this.brScrimClose=e(this,"brScrimClose",7),this.legibilityBatch=u((()=>this.computeLegibilityRect())),this.hasActivatorSlot=!1,this.spotlightRect=null,this.customId=r(),this.isOpen=!1,this.disableCloseOnClick=!1,this.zIndex=null,this.bgColor=null,this.customOpacity=null,this.displayMode="fullscreen",this.scrollThreshold=50,this.activator=null,this.ariaLabel=null,this.variant="focus",this.legibilityAnchor="bottom",this.legibilitySize=null,this.legibilityTargetId=null,this.spotlightTargetId=null,this.spotlightPadding=8,this.spotlightShape="rect",this.contentLayout="default",this.displayModeExplicit=!1,this.contentRef=null,this.activatorElement=null,this.lastScrollTop=0,this.scrollOrigin=null,this.previouslyFocusedElement=null,this.focusTimeoutId=null,this.restoreFocusTimeoutId=null,this.spotlightResizeObserver=null,this.spotlightTargetElement=null,this.scrimDivRef=null,this.nativeDialogRef=null,this.legibilityResizeObserver=null,this.globalInterceptionAttached=!1,this.isModalFocusing=!1,this.modalFocusSuppressId=null,this.handleModalFocusReady=()=>{this.isModalFocusing&&(this.isModalFocusing=!1,null!==this.modalFocusSuppressId&&(clearTimeout(this.modalFocusSuppressId),this.modalFocusSuppressId=null))},this.handleModalOpen=t=>{this.isDirectChild(t.target)&&(this.suppressFocusGuard(),this.isOpen||this.open())},this.handleModalClose=t=>{this.isDirectChild(t.target)&&this.close()},this.handleActivatorClick=()=>{this.toggle()},this.handleScrollClose=()=>{if("close"===this.effectiveScrollStrategy&&this.isActive){const t=this.getScrollPosition();if(Math.abs(t-(this.scrollOrigin??this.lastScrollTop))>this.effectiveScrollThreshold){if(this.scrollOrigin=null,this.hasModalWithAutoClose())return;return void(this.isOpen=!1)}this.lastScrollTop=t}},this.handleKeyDown=t=>{if(this.isActive)if(this.shouldHandleEscape(t))this.isOpen=!1;else if("Tab"===t.key){const i=this.findModalChild();if(i?.show)return;this.handleTabNavigation(t)}},this.handleGlobalKeyDown=t=>{if(!this.isActive)return;if("Escape"===t.key&&!this.disableCloseOnClick){if(this.hasModalWithAutoClose())return;return t.preventDefault(),void(this.isOpen=!1)}const i=t.composedPath?.()[0]??t.target;return this.isElementInsideScrim(i)?void 0:(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),void this.focusFirstElement())},this.handleGlobalClick=t=>{if(!this.isActive)return;const i=t.composedPath?.()[0]??t.target;return this.isElementInsideScrim(i)?void 0:(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),void(this.disableCloseOnClick||this.close()))},this.handleGlobalFocus=t=>{if(!this.isActive)return;const i=t.composedPath?.()[0]??t.target,e=this.isElementInsideScrim(i);this.isModalFocusing||e||(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),requestAnimationFrame((()=>{this.focusFirstElement()})))},this.handleMaskClick=()=>{if(!this.disableCloseOnClick){if(this.hasModalWithAutoClose())return;if("none"===this.effectiveContentLayout)return void this.brScrimClose.emit();this.close()}},this.handleNativeCancel=t=>{t.preventDefault(),this.isOpen=!1},this.computeSpotlightRect=()=>{if(null===this.spotlightTargetElement)return;const t=this.spotlightTargetElement.getBoundingClientRect();if("parent"===this.effectiveDisplayMode&&null!==this.el.parentElement){const i=this.el.parentElement.getBoundingClientRect();this.spotlightRect=new DOMRect(t.left-i.left,t.top-i.top,t.width,t.height)}else this.spotlightRect=new DOMRect(t.left,t.top,t.width,t.height)},this.computeLegibilityRect=()=>{const t=this.resolveLegibilityTarget();if(null===t||null===this.scrimDivRef)return;const i=t.getBoundingClientRect();this.scrimDivRef.style.setProperty("position","fixed"),this.scrimDivRef.style.setProperty("inset","unset"),this.scrimDivRef.style.setProperty("top","0"),this.scrimDivRef.style.setProperty("left","0"),this.scrimDivRef.style.setProperty("width",`${i.width}px`),this.scrimDivRef.style.setProperty("height",`${i.height}px`);const e=this.scrimDivRef.getBoundingClientRect();this.scrimDivRef.style.setProperty("top",i.top-e.top+"px"),this.scrimDivRef.style.setProperty("left",i.left-e.left+"px")},this.scheduleLegibilityRect=()=>this.legibilityBatch.schedule(void 0)}get isActive(){return this.isLegibilityVariant||this.isOpen}get effectiveCustomOpacity(){return c(this.el,"customOpacity",this.customOpacity,0,1,.4,{allowNull:!0})}get effectiveScrollThreshold(){return c(this.el,"scrollThreshold",this.scrollThreshold,0,Number.MAX_SAFE_INTEGER,50)}get effectiveSpotlightPadding(){return c(this.el,"spotlightPadding",this.spotlightPadding,0,Number.MAX_SAFE_INTEGER,8)}get effectiveZIndex(){return d(this.el,"zIndex",this.zIndex,0,Number.MAX_SAFE_INTEGER,0,{allowNull:!0})}get effectivePositionContent(){return g(this.el,"positionContent",this.positionContent,["top","center","right","left","bottom"],"center")}get effectiveScrollStrategy(){return g(this.el,"scrollStrategy",this.scrollStrategy,["block","close"],"block")}get effectiveVariant(){return g(this.el,"variant",this.variant,["focus","spotlight","legibility"],"focus")}get effectiveLegibilityAnchor(){return g(this.el,"legibilityAnchor",this.legibilityAnchor,["top","bottom","left","right","center"],"bottom")}get effectiveSpotlightShape(){return g(this.el,"spotlightShape",this.spotlightShape,["rect","rounded","circle"],"rect")}get effectiveContentLayout(){return g(this.el,"contentLayout",this.contentLayout,["default","none"],"default")}handleOpenChange(t){if(null!==this.focusTimeoutId&&(clearTimeout(this.focusTimeoutId),this.focusTimeoutId=null),null!==this.restoreFocusTimeoutId&&(clearTimeout(this.restoreFocusTimeoutId),this.restoreFocusTimeoutId=null),this.isLegibilityVariant)return this.updateStyles(),void(t&&this.brScrimOpen.emit());if(t&&"close"===this.effectiveScrollStrategy){const t=window.scrollY;this.lastScrollTop=t,this.scrollOrigin=t}this.updateStyles(),this.isActive?(this.previouslyFocusedElement=document.activeElement,this.applyScrollStrategy(),"none"===this.effectiveContentLayout||this.usesNativeTopLayer||(this.addGlobalEventInterception(),null!==this.findModalChild()?this.suppressFocusGuard():this.focusTimeoutId=setTimeout((()=>{this.focusFirstElement()}),100)),this.setupSpotlight(),this.brScrimOpen.emit()):(this.closeModalChild(),this.cleanupSpotlight(),this.resetScrolling(),"none"!==this.effectiveContentLayout&&(this.removeGlobalEventInterception(),this.restoreFocus(),this.brScrimClose.emit()))}updateStyles(){this.applyVariantDefaults(),null!=this.effectiveZIndex&&(this.el.style.zIndex=`${this.effectiveZIndex}`,this.el.style.setProperty("--z-index-layer-4",`${this.effectiveZIndex}`)),null!==this.bgColor&&this.el.style.setProperty("--surface-overlay-scrim",this.bgColor),null!==this.effectiveCustomOpacity&&this.el.style.setProperty("--br-scrim-opacity",`${this.effectiveCustomOpacity}`)}handleVariantChange(){this.updateStyles(),this.isActive&&(this.isLegibilityVariant?(this.removeGlobalEventInterception(),this.resetScrolling(),this.cleanupSpotlight(),this.setupLegibility()):"spotlight"===this.effectiveVariant?(this.cleanupLegibility(),this.usesNativeTopLayer||this.addGlobalEventInterception(),this.setupSpotlight()):(this.cleanupLegibility(),this.usesNativeTopLayer||this.addGlobalEventInterception(),this.cleanupSpotlight()))}handleLayerModeChange(){this.removeGlobalEventInterception(),this.isActive&&"none"!==this.effectiveContentLayout&&!this.usesNativeTopLayer&&this.addGlobalEventInterception()}handleSpotlightChange(){this.isActive&&this.setupSpotlight()}handleLegibilityTargetChange(){this.isActive&&this.isLegibilityVariant&&this.setupLegibility()}handleActivatorChange(){this.removeActivatorClickListener(),this.setupActivator()}connectedCallback(){if("close"===this.effectiveScrollStrategy){const t=window.scrollY;this.lastScrollTop=t,this.scrollOrigin=t,window.addEventListener("scroll",this.handleScrollClose,{passive:!0})}}disconnectedCallback(){null!==this.focusTimeoutId&&(clearTimeout(this.focusTimeoutId),this.focusTimeoutId=null),null!==this.restoreFocusTimeoutId&&(clearTimeout(this.restoreFocusTimeoutId),this.restoreFocusTimeoutId=null),window.removeEventListener("scroll",this.handleScrollClose),"block"===this.effectiveScrollStrategy&&this.isActive&&f(),null!==this.contentRef&&this.contentRef.removeEventListener("keydown",this.handleKeyDown),this.removeActivatorClickListener(),this.cleanupActivatorSlotClick(),this.removeGlobalEventInterception(),this.removeModalEventListener(),this.cleanupSpotlight(),this.cleanupLegibility(),null!==this.modalFocusSuppressId&&(clearTimeout(this.modalFocusSuppressId),this.modalFocusSuppressId=null)}componentWillLoad(){this.hasActivatorSlot=this.checkActivatorSlot("activator"),this.displayModeExplicit=this.el.hasAttribute("display-mode")}componentDidLoad(){this.updateStyles(),this.setupActivator(),this.setupActivatorSlotClick(),this.addContentEventListener(),this.listenToModalEvents(),this.isLegibilityVariant?this.setupLegibility():this.isActive&&(this.applyScrollStrategy(),"none"!==this.effectiveContentLayout&&!this.usesNativeTopLayer)&&(this.addGlobalEventInterception(),null===this.findModalChild()?(this.focusFirstElement(),this.setupSpotlight()):this.suppressFocusGuard())}componentDidRender(){l(this.nativeDialogRef,this.isActive&&this.usesNativeDialog),this.isLegibilityVariant&&this.computeLegibilityRect()}async setScrollThreshold(t){this.scrollThreshold=c(this.el,"scrollThreshold",t,0,Number.MAX_SAFE_INTEGER,50)}async open(){this.isOpen=!0}async close(){this.isLegibilityVariant||(this.isOpen=!1)}async toggle(){this.isLegibilityVariant||(this.isOpen=!this.isActive)}async updateSpotlight(){this.computeSpotlightRect()}addContentEventListener(){null!==this.contentRef&&this.contentRef.addEventListener("keydown",this.handleKeyDown)}suppressFocusGuard(t=1e3){this.isModalFocusing=!0,null!==this.modalFocusSuppressId&&clearTimeout(this.modalFocusSuppressId),this.modalFocusSuppressId=setTimeout((()=>{this.isModalFocusing=!1,this.modalFocusSuppressId=null}),t)}isDirectChild(t){return this.getDirectChildren().some((i=>i===t||i.contains(t)))}listenToModalEvents(){this.el.addEventListener("brModalOpen",this.handleModalOpen),this.el.addEventListener("brModalClose",this.handleModalClose),this.el.addEventListener("brModalOpened",this.handleModalFocusReady)}removeModalEventListener(){this.el.removeEventListener("brModalOpen",this.handleModalOpen),this.el.removeEventListener("brModalClose",this.handleModalClose),this.el.removeEventListener("brModalOpened",this.handleModalFocusReady)}getDirectChildren(){const t=this.el.shadowRoot;if(null===t)return[];const i=t.querySelector("slot:not([name])");return null===i?[]:i.assignedElements()}findModalChild(){return this.getDirectChildren().find((t=>"BR-MODAL"===t.tagName))??null}hasModalWithAutoClose(){const t=this.findModalChild();return null!==t&&!0!==t.autoClose}closeModalChild(){const t=this.findModalChild();t?.show&&(t.show=!1)}checkActivatorSlot(t){return null!==this.el.querySelector(`[slot="${t}"]`)}setupActivatorSlotClick(){if(null===this.el.shadowRoot)return;const t=this.el.shadowRoot.querySelector('slot[name="activator"]');if(null==t)return;const i=t.assignedElements?.()??[];if(1===i.length){const t=i[0];t&&"function"==typeof t.addEventListener&&t.addEventListener("click",this.handleActivatorClick)}else i.length>1&&console.warn('br-scrim: Slot "activator" deve conter apenas um elemento para aplicar o onClick automaticamente.')}setupActivator(){if(this.removeActivatorClickListener(),this.activatorElement=null,!this.hasActivatorSlot&&null!=this.activator&&""!==this.activator){if("parent"===this.activator){const t=this.el.parentElement;null!==t&&(this.activatorElement=t)}else try{const t=document.querySelector(this.activator);t instanceof i&&(this.activatorElement=t)}catch{console.warn(`br-scrim: Seletor activator inválido: ${this.activator}`)}this.addActivatorClickListener()}}addActivatorClickListener(){null!=this.activatorElement&&this.activatorElement.addEventListener("click",this.handleActivatorClick)}removeActivatorClickListener(){null!=this.activatorElement&&this.activatorElement.removeEventListener("click",this.handleActivatorClick)}cleanupActivatorSlotClick(){if(null===this.el.shadowRoot)return;const t=this.el.shadowRoot.querySelector('slot[name="activator"]'),i=t?.assignedElements?.()??[];if(1===i.length){const t=i[0];t&&"function"==typeof t.removeEventListener&&t.removeEventListener("click",this.handleActivatorClick)}}applyScrollStrategy(){"block"===this.effectiveScrollStrategy?this.enableScrollBlock():"close"===this.effectiveScrollStrategy&&this.enableScrollWatcher()}getScrollPosition(){const t=this.el?.ownerDocument?.defaultView||window;return t?.scrollY??t?.pageYOffset??0}enableScrollBlock(){m()&&(p.lockCount++,1===p.lockCount&&(b(!0),p.scrollY=window.scrollY||window.pageYOffset||0,p.previousBodyStyle={left:document.body.style.left,position:document.body.style.position,right:document.body.style.right,top:document.body.style.top,width:document.body.style.width},p.previousDocumentOverflow=document.documentElement.style.overflow,document.body.style.position="fixed",document.body.style.top=`-${p.scrollY}px`,document.body.style.left="0",document.body.style.right="0",document.body.style.width="100%",document.documentElement.style.overflow="hidden"))}enableScrollWatcher(){const t=window.scrollY;this.lastScrollTop=t,this.scrollOrigin=t,window.addEventListener("scroll",this.handleScrollClose,{passive:!0})}resetScrolling(){"block"===this.effectiveScrollStrategy&&f(),window.removeEventListener("scroll",this.handleScrollClose),this.scrollOrigin=null}focusFirstElement(){if(null==this.contentRef)return;const t=this.findModalChild();if(t?.show){const i=t.shadowRoot?.querySelector(".br-modal");return void i?.focus()}this.contentRef.setAttribute("tabindex","-1"),this.contentRef.focus();const i=this.getFocusableElements();if(i.length>0){const t=i[0];null!=t&&(t.scrollIntoView({behavior:a(),block:"nearest",inline:"nearest"}),t.focus({preventScroll:!0}))}}restoreFocus(){let t=null;if(this.previouslyFocusedElement instanceof i&&this.previouslyFocusedElement.isConnected)t=this.previouslyFocusedElement;else if(this.activatorElement instanceof i)t=this.activatorElement;else{const e=this.el.shadowRoot?.querySelector('slot[name="activator"]');if(this.hasActivatorSlot){const o=e.assignedElements?.()??[];o.length>0&&o[0]instanceof i&&(t=o[0])}}null!=t&&(this.restoreFocusTimeoutId=setTimeout((()=>{try{t?.focus()}catch(t){console.warn("br-scrim: Erro ao restaurar foco:",t)}}),100))}getFocusableElements(){if(null==this.contentRef)return[];const e=this.contentRef.querySelector("slot:not([name])");if(null==e)return[];const o=e.assignedElements({flatten:!0}),s=[];return o.forEach((e=>{if(!(e instanceof i))return;e.matches(t.FOCUSABLE_SELECTORS)&&s.push(e);const o=Array.from(e.querySelectorAll(t.FOCUSABLE_SELECTORS));s.push(...o)})),this.filterVisibleElements(s)}filterVisibleElements(t){return t.filter((t=>t.offsetWidth>0&&t.offsetHeight>0&&"hidden"!==getComputedStyle(t).visibility))}handleDocumentKeyDown(t){if(this.isActive&&("Escape"===t.key||"Esc"===t.key)&&!this.disableCloseOnClick){if(this.hasModalWithAutoClose())return;this.close()}}shouldHandleEscape(t){return("Escape"===t.key||"Esc"===t.key)&&this.isActive}handleTabNavigation(t){const i=this.getFocusableElements();if(0===i.length)return void t.preventDefault();const e=i[0],o=i[i.length-1],s=!t.shiftKey;this.shouldTrapFocus(s,e,o,t)&&(t.preventDefault(),this.wrapFocus(s,e,o))}shouldTrapFocus(t,i,e,o){const s=o?.composedPath?.()[0]??document.activeElement;return t&&s===e||!t&&s===i}wrapFocus(t,i,e){(t?i:e).focus()}isElementInsideScrim(t){if(this.el.contains(t))return!0;let i=t;for(;null!==i&&i!==document;){const t=i.getRootNode();if(!(t instanceof ShadowRoot))break;{const e=t.host;if(this.el.contains(e))return!0;i=e}}return!1}addGlobalEventInterception(){this.globalInterceptionAttached||(document.addEventListener("keydown",this.handleGlobalKeyDown,!0),document.addEventListener("click",this.handleGlobalClick,!0),document.addEventListener("mousedown",this.handleGlobalClick,!0),document.addEventListener("mouseup",this.handleGlobalClick,!0),document.addEventListener("focusin",this.handleGlobalFocus,!0),this.globalInterceptionAttached=!0)}removeGlobalEventInterception(){this.globalInterceptionAttached&&(document.removeEventListener("keydown",this.handleGlobalKeyDown,!0),document.removeEventListener("click",this.handleGlobalClick,!0),document.removeEventListener("mousedown",this.handleGlobalClick,!0),document.removeEventListener("mouseup",this.handleGlobalClick,!0),document.removeEventListener("focusin",this.handleGlobalFocus,!0),this.globalInterceptionAttached=!1)}get isLegibilityVariant(){return"legibility"===this.effectiveVariant}get effectiveDisplayMode(){return"legibility"!==this.effectiveVariant||this.displayModeExplicit?g(this.el,"displayMode",this.displayMode,["fullscreen","parent"],"fullscreen"):"parent"}get usesNativeDialog(){return"fullscreen"===this.effectiveDisplayMode&&!this.isLegibilityVariant&&"none"!==this.effectiveContentLayout}get usesNativeTopLayer(){return this.usesNativeDialog&&h()}applyVariantDefaults(){switch(this.el.style.removeProperty("--surface-overlay-scrim"),this.el.style.removeProperty("--br-scrim-opacity"),this.el.style.removeProperty("--br-scrim-mask-size"),this.effectiveVariant){case"focus":case"spotlight":null===this.bgColor&&this.el.style.setProperty("--surface-overlay-scrim","#000000"),null===this.effectiveCustomOpacity&&this.el.style.setProperty("--br-scrim-opacity","0.4");break;case"legibility":null!==this.legibilitySize?this.el.style.setProperty("--br-scrim-mask-size",this.legibilitySize):this.el.style.removeProperty("--br-scrim-mask-size"),null===this.bgColor&&this.el.style.setProperty("--surface-overlay-scrim","#000000"),null===this.effectiveCustomOpacity&&this.el.style.setProperty("--br-scrim-opacity","0.64")}}setupSpotlight(){if(this.cleanupSpotlight(),"spotlight"!==this.effectiveVariant)return;const t=this.resolveSpotlightTarget();null!==t&&(this.spotlightTargetElement=t,this.computeSpotlightRect(),"undefined"!=typeof ResizeObserver&&(this.spotlightResizeObserver=new ResizeObserver(this.computeSpotlightRect),this.spotlightResizeObserver.observe(t)),window.addEventListener("resize",this.computeSpotlightRect),window.addEventListener("scroll",this.computeSpotlightRect,{capture:!0,passive:!0}))}cleanupSpotlight(){null!==this.spotlightResizeObserver&&(this.spotlightResizeObserver.disconnect(),this.spotlightResizeObserver=null),this.spotlightTargetElement=null,this.spotlightRect=null,window.removeEventListener("resize",this.computeSpotlightRect),window.removeEventListener("scroll",this.computeSpotlightRect,!0)}resolveSpotlightTarget(){if(null!==this.spotlightTargetId&&""!==this.spotlightTargetId)try{return document.querySelector(this.spotlightTargetId)}catch{console.warn(`br-scrim: Seletor spotlightTargetId inválido: ${this.spotlightTargetId}`)}return null}setupLegibility(){if(this.cleanupLegibility(),!this.isLegibilityVariant)return;const t=this.resolveLegibilityTarget();if(null!==t){if(this.computeLegibilityRect(),"undefined"!=typeof ResizeObserver){this.legibilityResizeObserver=new ResizeObserver((()=>this.scheduleLegibilityRect())),this.legibilityResizeObserver.observe(t);let i=t.parentElement;for(;null!==i&&i!==document.documentElement;)this.legibilityResizeObserver.observe(i),i=i.parentElement}else requestAnimationFrame((()=>requestAnimationFrame(this.scheduleLegibilityRect))),window.addEventListener("resize",this.scheduleLegibilityRect);window.addEventListener("scroll",this.scheduleLegibilityRect,{capture:!0,passive:!0}),window.addEventListener("load",this.scheduleLegibilityRect)}}cleanupLegibility(){null!==this.legibilityResizeObserver&&(this.legibilityResizeObserver.disconnect(),this.legibilityResizeObserver=null),this.legibilityBatch.cancel(),window.removeEventListener("resize",this.scheduleLegibilityRect),window.removeEventListener("scroll",this.scheduleLegibilityRect,!0),window.removeEventListener("load",this.scheduleLegibilityRect),this.resetLegibilityStyles()}resolveLegibilityTarget(){const t=this.legibilityTargetId??this.el.getAttribute("legibility-target-id");if(null!==t&&""!==t)try{const i=document.querySelector(t);if(null!==i)return i}catch{console.warn(`br-scrim: Seletor legibilityTargetId inválido: ${t}`)}return this.el.parentElement}resetLegibilityStyles(){null!==this.scrimDivRef&&(this.scrimDivRef.style.removeProperty("position"),this.scrimDivRef.style.removeProperty("inset"),this.scrimDivRef.style.removeProperty("top"),this.scrimDivRef.style.removeProperty("left"),this.scrimDivRef.style.removeProperty("width"),this.scrimDivRef.style.removeProperty("height"))}renderSpotlightOverlay(t,i,e){const s="circle"===this.effectiveSpotlightShape?o("ellipse",{cx:i.left+i.width/2,cy:i.top+i.height/2,rx:i.width/2+e,ry:i.height/2+e,fill:"black"}):o("rect",{x:i.left-e,y:i.top-e,width:i.width+2*e,height:i.height+2*e,rx:"rounded"===this.effectiveSpotlightShape?8:0,ry:"rounded"===this.effectiveSpotlightShape?8:0,fill:"black"});return o("svg",{class:"spotlight-overlay","aria-hidden":"true",onClick:this.handleMaskClick,xmlns:"http://www.w3.org/2000/svg"},o("defs",null,o("mask",{id:t},o("rect",{width:"100%",height:"100%",fill:"white"}),s)),o("rect",{class:"spotlight-overlay-rect",width:"100%",height:"100%",mask:`url(#${t})`}))}getCssClassMap(){return{"br-scrim":!0,opened:this.isActive,"scroll-block":"block"===this.effectiveScrollStrategy,"position-top":"top"===this.effectivePositionContent,"position-bottom":"bottom"===this.effectivePositionContent,"position-left":"left"===this.effectivePositionContent,"position-right":"right"===this.effectivePositionContent,"position-center":"center"===this.effectivePositionContent,"mode-fullscreen":"fullscreen"===this.effectiveDisplayMode,"mode-parent":"parent"===this.effectiveDisplayMode,"variant-focus":"focus"===this.effectiveVariant,"variant-spotlight":"spotlight"===this.effectiveVariant,"variant-legibility":"legibility"===this.effectiveVariant,"legibility-anchor-top":"legibility"===this.effectiveVariant&&"top"===this.effectiveLegibilityAnchor,"legibility-anchor-bottom":"legibility"===this.effectiveVariant&&"bottom"===this.effectiveLegibilityAnchor,"legibility-anchor-left":"legibility"===this.effectiveVariant&&"left"===this.effectiveLegibilityAnchor,"legibility-anchor-right":"legibility"===this.effectiveVariant&&"right"===this.effectiveLegibilityAnchor,"legibility-anchor-center":"legibility"===this.effectiveVariant&&"center"===this.effectiveLegibilityAnchor,"has-spotlight":null!==this.spotlightRect,"content-layout-none":"none"===this.effectiveContentLayout}}render(){const t=`${this.customId}-spotlight-mask`,i=this.effectiveSpotlightPadding,e=this.spotlightRect,n=!this.isLegibilityVariant&&"none"!==this.effectiveContentLayout,r=o("div",this.isLegibilityVariant?{class:"mask"}:{class:"mask",role:"button","aria-label":"Fechar sobreposição",tabIndex:0,onClick:this.handleMaskClick,onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.handleMaskClick(t))}}),a=o("div",{key:"f3103320a667135969fa3d215f9d0da97169f504",ref:t=>this.contentRef=t??null,id:`${this.customId}-content`,class:"none"===this.effectiveContentLayout?"content content-unwrapped":"content",tabIndex:"none"===this.effectiveContentLayout?void 0:-1},o("slot",{key:"5cfa134aad52330abade48d26e2777776c9996d3"}));return o(s,{key:"699b6a6137444166a9b20d486b9491a465b04e5c"},o("slot",{key:"eee056628c6752f65ae1dc3a05e3c5eb480423e2",name:"activator"}),this.usesNativeDialog?o("dialog",{ref:t=>{this.nativeDialogRef=t,this.scrimDivRef=t},class:this.getCssClassMap(),id:this.customId,role:this.usesNativeTopLayer?void 0:"dialog","aria-modal":"true","aria-label":this.ariaLabel||"Conteúdo do diálogo","data-visible":this.isActive?"true":"false",onCancel:this.handleNativeCancel,onKeyDown:this.handleKeyDown},r,null!==e&&this.renderSpotlightOverlay(t,e,i),a):o("div",n?{ref:t=>{this.nativeDialogRef=null,this.scrimDivRef=t},class:this.getCssClassMap(),id:this.customId,role:"dialog","aria-modal":"true","aria-label":this.ariaLabel||"Conteúdo do diálogo","data-visible":this.isActive?"true":"false",onKeyDown:this.handleKeyDown}:{ref:t=>{this.nativeDialogRef=null,this.scrimDivRef=t},class:this.getCssClassMap(),id:this.customId,role:"presentation","data-visible":this.isActive?"true":"false"},r,null!==e&&this.renderSpotlightOverlay(t,e,i),a))}get el(){return this}static get watchers(){return{isOpen:[{handleOpenChange:0}],zIndex:[{updateStyles:0}],bgColor:[{updateStyles:0}],customOpacity:[{updateStyles:0}],legibilitySize:[{updateStyles:0}],variant:[{handleVariantChange:0}],displayMode:[{handleLayerModeChange:0}],contentLayout:[{handleLayerModeChange:0}],spotlightTargetId:[{handleSpotlightChange:0}],spotlightPadding:[{handleSpotlightChange:0}],spotlightShape:[{handleSpotlightChange:0}],legibilityTargetId:[{handleLegibilityTargetChange:0}],activator:[{handleActivatorChange:0}]}}static get style(){return"*,*::before,*::after{box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}small{font-size:80%}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:flex !important}}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown>.br-notification{left:auto;right:0}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{flex:1 0 0%;min-width:8.3333333333%}.col-auto{flex:0 0 auto;width:auto}.col-2{flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-fluid,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:flex;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}.col-sm-4{flex-basis:33.3333333333%;max-width:33.3333333333%}}@media (min-width: 992px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}.col-lg-3{flex-basis:25%;max-width:25%}}@media (min-width: 1600px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.ease{animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-out{animation-timing-function:cubic-bezier(0, 0, 0.58, 1)}.ease-in-out{animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.fast{animation-duration:var(--duration-fast)}.slow{animation-duration:var(--duration-slow)}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.ml-1{margin-left:var(--spacing-scale-half) !important}.mb-4{margin-bottom:var(--spacing-scale-3x) !important}.pt-half{padding-top:var(--spacing-scale-half) !important}.highlight{background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}fieldset[disabled]{opacity:1}.text-center{text-align:center !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a.focus-visible,a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}.main-content a{text-decoration:underline}button{cursor:pointer}img{max-width:100%;vertical-align:middle}h2,.h2{color:var(--color);font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2xh);margin-top:var(--spacing-scale-3xh);padding-bottom:var(--spacing-scale-2xh)}@media (min-width: 576px){.h2,h2{font-size:var(--font-size-scale-up-05);font-weight:var(--font-weight-regular)}}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}tr.selected,tr.is-selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}fieldset,.fieldset{border:var(--surface-width-none);margin-bottom:var(--spacing-scale-5x);margin-top:0;padding:0}legend,.legend{color:var(--color);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2x);margin-top:var(--spacing-scale-2x)}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}pre,.pre{background:var(--gray-5);margin:var(--spacing-scale-2x) 0 var(--spacing-scale-4x);padding:var(--spacing-scale-2x)}mark,.mark{background:var(--red-warm-vivid-10);color:var(--color)}*[data-toggle=collapse]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse].focus-visible,*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}@media (prefers-reduced-motion: reduce){:host,:host::before,:host::after,:host *,:host *::before,:host *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}}:host-context([data-wbc-reduced-motion=true])::before,:host-context([data-wbc-reduced-motion=true])::after,:host-context([data-wbc-reduced-motion=true]) *,:host-context([data-wbc-reduced-motion=true]) *::before,:host-context([data-wbc-reduced-motion=true]) *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}:host{--br-scrim-opacity:1}:host .br-scrim{visibility:hidden;transition:none}@media (prefers-reduced-motion: no-preference){:host .br-scrim{transition:visibility var(--duration-fast, 300ms) var(--animation-ease-linear, linear)}}:host .br-scrim{z-index:var(--z-index-layer-4);display:flex;align-items:center;justify-content:center;pointer-events:auto}:host dialog.br-scrim{background:rgba(0,0,0,0);border:0;color:inherit;margin:0;max-height:none;max-width:none;padding:0}:host dialog.br-scrim::backdrop{background:rgba(0,0,0,0)}:host .br-scrim.mode-fullscreen{position:fixed;z-index:var(--z-index-layer-4);inset:0;box-sizing:border-box;width:100%;height:100%}:host .br-scrim.mode-parent{position:absolute;z-index:var(--z-index-layer-4);inset:0;width:100%;height:100%}:host .br-scrim.opened{visibility:visible;pointer-events:auto}:host .br-scrim.variant-legibility{pointer-events:none;z-index:auto}:host .br-scrim.variant-legibility .mask{pointer-events:none;z-index:auto}:host .br-scrim.variant-legibility .content{pointer-events:auto;z-index:auto}:host .mask{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--surface-overlay-scrim);opacity:0;transition:none}@media (prefers-reduced-motion: no-preference){:host .mask{transition:opacity var(--duration-fast, 300ms) var(--animation-ease-out, ease-out)}}:host .mask{pointer-events:auto;z-index:0}:host .br-scrim.opened .mask{opacity:var(--br-scrim-opacity)}:host .br-scrim.has-spotlight .mask{display:none}:host .spotlight-overlay{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:auto;overflow:visible}:host .br-scrim.mode-fullscreen .spotlight-overlay{position:fixed}:host .spotlight-overlay-rect{fill:var(--surface-overlay-scrim, #000);opacity:0;transition:none}@media (prefers-reduced-motion: no-preference){:host .spotlight-overlay-rect{transition:opacity var(--duration-fast, 300ms) var(--animation-ease-out, ease-out)}}:host .br-scrim.opened .spotlight-overlay-rect{opacity:var(--br-scrim-opacity)}:host .br-scrim.legibility-anchor-center .mask{width:100%;height:var(--br-scrim-mask-size, 100%);top:50%;left:0;transform:translateY(-50%)}:host .br-scrim.legibility-anchor-center .content{position:absolute;top:50%;left:0;right:0;width:100%;height:var(--br-scrim-mask-size, 100%);transform:translateY(-50%);display:flex;align-items:center;justify-content:center}:host .br-scrim.legibility-anchor-top .mask,:host .br-scrim.legibility-anchor-bottom .mask{height:var(--br-scrim-mask-size, 100%);width:100%}:host .br-scrim.legibility-anchor-left .mask,:host .br-scrim.legibility-anchor-right .mask{width:var(--br-scrim-mask-size, 100%);height:100%}:host .br-scrim.legibility-anchor-top .mask{top:0;bottom:auto}:host .br-scrim.legibility-anchor-bottom .mask{bottom:0;top:auto}:host .br-scrim.legibility-anchor-left .mask{left:0;right:auto}:host .br-scrim.legibility-anchor-right .mask{right:0;left:auto}:host .br-scrim.legibility-anchor-top .content{position:absolute;inset:0 0 auto;width:100%;height:var(--br-scrim-mask-size, 100%);display:flex;align-items:center;justify-content:center}:host .br-scrim.legibility-anchor-bottom .content{position:absolute;inset:auto 0 0;width:100%;height:var(--br-scrim-mask-size, 100%);display:flex;align-items:center;justify-content:center}:host .br-scrim.legibility-anchor-left .content{position:absolute;inset:0 auto 0 0;width:var(--br-scrim-mask-size, 100%);height:100%;display:flex;align-items:center;justify-content:center}:host .br-scrim.legibility-anchor-right .content{position:absolute;inset:0 0 0 auto;width:var(--br-scrim-mask-size, 100%);height:100%;display:flex;align-items:center;justify-content:center}:host .content{position:relative;outline:none;pointer-events:auto;opacity:0;transition:none}@media (prefers-reduced-motion: no-preference){:host .content{transition:opacity var(--duration-fast, 300ms) var(--animation-ease-out, ease-out)}}:host .content{background:rgba(0,0,0,0);padding:0;margin:0;border:none;box-shadow:none;overflow:visible;contain:none;display:inline-block;width:fit-content;height:fit-content;z-index:1}:host .content:focus{outline:var(--focus-outline);outline-offset:var(--focus-offset);box-shadow:var(--focus-shadow)}:host .br-scrim.content-layout-none .content,:host .br-scrim.content-layout-none .content-unwrapped{display:contents;position:unset;opacity:1;transform:none;width:auto;height:auto;z-index:unset;pointer-events:none;outline:none;background:rgba(0,0,0,0);padding:0;margin:0;border:none;box-shadow:none;transition:none}:host .br-scrim.opened .content{opacity:1;pointer-events:auto}:host .content ::slotted(*){opacity:1 !important;filter:none}:host .br-scrim.position-top:not(.legibility-anchor-top):not(.legibility-anchor-bottom):not(.legibility-anchor-left):not(.legibility-anchor-right):not(.legibility-anchor-center) .content{position:absolute;top:0;left:50%;transform:translateX(-50%)}:host .br-scrim.position-bottom:not(.legibility-anchor-top):not(.legibility-anchor-bottom):not(.legibility-anchor-left):not(.legibility-anchor-right):not(.legibility-anchor-center) .content{position:absolute;bottom:0;left:50%;transform:translateX(-50%)}:host .br-scrim.position-left:not(.legibility-anchor-top):not(.legibility-anchor-bottom):not(.legibility-anchor-left):not(.legibility-anchor-right):not(.legibility-anchor-center) .content{position:absolute;top:50%;left:0;transform:translateY(-50%)}:host .br-scrim.position-right:not(.legibility-anchor-top):not(.legibility-anchor-bottom):not(.legibility-anchor-left):not(.legibility-anchor-right):not(.legibility-anchor-center) .content{position:absolute;top:50%;right:0;transform:translateY(-50%)}:host .br-scrim.position-center:not(.legibility-anchor-top):not(.legibility-anchor-bottom):not(.legibility-anchor-left):not(.legibility-anchor-right):not(.legibility-anchor-center) .content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}:host .br-scrim[class*=legibility-anchor-].position-top .content{align-items:flex-start;justify-content:center}:host .br-scrim[class*=legibility-anchor-].position-bottom .content{align-items:flex-end;justify-content:center}:host .br-scrim[class*=legibility-anchor-].position-left .content{align-items:center;justify-content:flex-start}:host .br-scrim[class*=legibility-anchor-].position-right .content{align-items:center;justify-content:flex-end}:host .br-scrim[class*=legibility-anchor-].position-center .content{align-items:center;justify-content:center}:host .br-scrim.legibility-anchor-center.position-top .content{align-items:flex-start;justify-content:center;transform:translateY(-50%)}:host .br-scrim.legibility-anchor-center.position-bottom .content{align-items:flex-end;justify-content:center;transform:translateY(-50%)}:host .br-scrim.legibility-anchor-center.position-left .content{align-items:center;justify-content:flex-start;transform:translateY(-50%)}:host .br-scrim.legibility-anchor-center.position-right .content{align-items:center;justify-content:flex-end;transform:translateY(-50%)}:host .br-scrim.legibility-anchor-center.position-center .content{align-items:center;justify-content:center;transform:translateY(-50%)}@media (width <= 768px){:host .content{max-width:95%;max-height:95%;width:auto}:host .br-scrim.position-top .content,:host .br-scrim.position-bottom .content{width:100%;max-width:100%;border-radius:0}}:host([data-wbc-preview-contained]){inset:0;pointer-events:none;position:absolute;z-index:1000}:host([data-wbc-preview-contained]) .br-scrim{pointer-events:auto}:host([data-wbc-preview-contained]) .br-scrim .content{box-sizing:border-box;max-width:calc(100% - var(--spacing-scale-4x, 32px));max-height:calc(100% - var(--spacing-scale-4x, 32px));overflow:auto}"}},[257,"br-scrim",{customId:[513,"custom-id"],isOpen:[1540,"is-open"],positionContent:[1,"position-content"],disableCloseOnClick:[4,"disable-close-on-click"],zIndex:[2,"z-index"],bgColor:[1,"bg-color"],customOpacity:[2,"custom-opacity"],displayMode:[513,"display-mode"],scrollStrategy:[1,"scroll-strategy"],scrollThreshold:[1026,"scroll-threshold"],activator:[1],ariaLabel:[1,"aria-label"],variant:[1],legibilityAnchor:[1,"legibility-anchor"],legibilitySize:[1,"legibility-size"],legibilityTargetId:[1,"legibility-target-id"],spotlightTargetId:[1,"spotlight-target-id"],spotlightPadding:[2,"spotlight-padding"],spotlightShape:[1,"spotlight-shape"],contentLayout:[513,"content-layout"],hasActivatorSlot:[32],spotlightRect:[32],setScrollThreshold:[64],open:[64],close:[64],toggle:[64],updateSpotlight:[64]},[[4,"keydown","handleDocumentKeyDown"]],{isOpen:[{handleOpenChange:0}],zIndex:[{updateStyles:0}],bgColor:[{updateStyles:0}],customOpacity:[{updateStyles:0}],legibilitySize:[{updateStyles:0}],variant:[{handleVariantChange:0}],displayMode:[{handleLayerModeChange:0}],contentLayout:[{handleLayerModeChange:0}],spotlightTargetId:[{handleSpotlightChange:0}],spotlightPadding:[{handleSpotlightChange:0}],spotlightShape:[{handleSpotlightChange:0}],legibilityTargetId:[{handleLegibilityTargetChange:0}],activator:[{handleActivatorChange:0}]}]);function y(){"undefined"!=typeof customElements&&["br-scrim"].forEach((t=>{"br-scrim"===t&&(customElements.get(n(t))||customElements.define(n(t),v))}))}v.FOCUSABLE_SELECTORS=["a[href]:not([disabled])","button:not([disabled])","br-button:not([disabled])","input:not([disabled])","br-input:not([disabled])","select:not([disabled])","br-select:not([disabled])","textarea:not([disabled])","br-textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(",");export{v as S,y as d}
|