@awc-ui/core 1.0.0 → 1.0.1
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/README.md +4 -3
- package/bin/templates/astro/package.json +3 -3
- package/bin/templates/html/index.html +2 -2
- package/bin/templates/html/package.json +2 -2
- package/bin/templates/next/package.json +9 -4
- package/bin/templates/nuxt/package.json +3 -3
- package/bin/templates/sveltekit/README.md +4 -4
- package/bin/templates/sveltekit/package.json +11 -6
- package/dist/cjs/{a11y-BpJz93TM.js → a11y-t_JVsXPZ.js} +3 -3
- package/dist/cjs/{a11y-BpJz93TM.js.map → a11y-t_JVsXPZ.js.map} +1 -1
- package/dist/cjs/{bar-chart-MNgwqQFs.js → bar-chart-CGTCHpcn.js} +4 -4
- package/dist/cjs/{bar-chart-MNgwqQFs.js.map → bar-chart-CGTCHpcn.js.map} +1 -1
- package/dist/cjs/{chart-D0Am1NfS.js → chart-DdMm6cH_.js} +4 -4
- package/dist/cjs/{chart-D0Am1NfS.js.map → chart-DdMm6cH_.js.map} +1 -1
- package/dist/cjs/{hit-test-BUzBtP84.js → hit-test-DeZBOKAn.js} +3 -3
- package/dist/cjs/{hit-test-BUzBtP84.js.map → hit-test-DeZBOKAn.js.map} +1 -1
- package/dist/cjs/id-BokG8IAT.js +21 -0
- package/dist/cjs/id-BokG8IAT.js.map +1 -0
- package/dist/cjs/md-area-chart.cjs.entry.js +4 -4
- package/dist/cjs/md-avatar_2.cjs.entry.js +3 -2
- package/dist/cjs/md-avatar_2.cjs.entry.js.map +1 -1
- package/dist/cjs/md-bar-chart.cjs.entry.js +4 -4
- package/dist/cjs/md-bottom-sheet.cjs.entry.js +6 -7
- package/dist/cjs/md-bottom-sheet.cjs.entry.js.map +1 -1
- package/dist/cjs/md-button_6.cjs.entry.js +4 -3
- package/dist/cjs/md-button_6.cjs.entry.js.map +1 -1
- package/dist/cjs/md-checkbox.cjs.entry.js +4 -3
- package/dist/cjs/md-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/md-color-picker.cjs.entry.js +2 -2
- package/dist/cjs/md-color-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/md-dialog.cjs.entry.js +5 -4
- package/dist/cjs/md-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/md-line-chart.cjs.entry.js +4 -4
- package/dist/cjs/md-navigation-rail-tab.cjs.entry.js +3 -2
- package/dist/cjs/md-navigation-rail-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/md-navigation-rail.cjs.entry.js +4 -3
- package/dist/cjs/md-navigation-rail.cjs.entry.js.map +1 -1
- package/dist/cjs/md-otp-field.cjs.entry.js +5 -4
- package/dist/cjs/md-otp-field.cjs.entry.js.map +1 -1
- package/dist/cjs/md-pie-chart.cjs.entry.js +2 -2
- package/dist/cjs/md-side-sheet.cjs.entry.js +5 -4
- package/dist/cjs/md-side-sheet.cjs.entry.js.map +1 -1
- package/dist/cjs/md-sparkline.cjs.entry.js +4 -4
- package/dist/cjs/md-switch.cjs.entry.js +4 -3
- package/dist/cjs/md-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/md-tab-panels.cjs.entry.js +3 -2
- package/dist/cjs/md-tab-panels.cjs.entry.js.map +1 -1
- package/dist/cjs/md-tabs.cjs.entry.js +4 -3
- package/dist/cjs/md-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/md-text-field.cjs.entry.js +9 -8
- package/dist/cjs/md-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/md-time-picker.cjs.entry.js +3 -3
- package/dist/cjs/md-time-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/{rtl-BlpfdSXx.js → rtl-DqtkGwAz.js} +3 -3
- package/dist/cjs/{rtl-BlpfdSXx.js.map → rtl-DqtkGwAz.js.map} +1 -1
- package/dist/collection/components/md-bottom-sheet/md-bottom-sheet.js +6 -7
- package/dist/collection/components/md-bottom-sheet/md-bottom-sheet.js.map +1 -1
- package/dist/collection/components/md-checkbox/md-checkbox.js +4 -3
- package/dist/collection/components/md-checkbox/md-checkbox.js.map +1 -1
- package/dist/collection/components/md-color-picker/md-color-picker.js +2 -2
- package/dist/collection/components/md-color-picker/md-color-picker.js.map +1 -1
- package/dist/collection/components/md-dialog/md-dialog.js +5 -4
- package/dist/collection/components/md-dialog/md-dialog.js.map +1 -1
- package/dist/collection/components/md-navigation-rail/md-navigation-rail.js +4 -3
- package/dist/collection/components/md-navigation-rail/md-navigation-rail.js.map +1 -1
- package/dist/collection/components/md-navigation-rail-tab/md-navigation-rail-tab.js +3 -2
- package/dist/collection/components/md-navigation-rail-tab/md-navigation-rail-tab.js.map +1 -1
- package/dist/collection/components/md-otp-field/md-otp-field.js +5 -4
- package/dist/collection/components/md-otp-field/md-otp-field.js.map +1 -1
- package/dist/collection/components/md-radio/md-radio.js +4 -3
- package/dist/collection/components/md-radio/md-radio.js.map +1 -1
- package/dist/collection/components/md-side-sheet/md-side-sheet.js +5 -4
- package/dist/collection/components/md-side-sheet/md-side-sheet.js.map +1 -1
- package/dist/collection/components/md-switch/md-switch.js +4 -3
- package/dist/collection/components/md-switch/md-switch.js.map +1 -1
- package/dist/collection/components/md-tab-panels/md-tab-panels.js +3 -2
- package/dist/collection/components/md-tab-panels/md-tab-panels.js.map +1 -1
- package/dist/collection/components/md-tabs/md-tabs.js +4 -3
- package/dist/collection/components/md-tabs/md-tabs.js.map +1 -1
- package/dist/collection/components/md-text-field/md-text-field.js +9 -8
- package/dist/collection/components/md-text-field/md-text-field.js.map +1 -1
- package/dist/collection/components/md-time-picker/md-time-picker.js +3 -3
- package/dist/collection/components/md-time-picker/md-time-picker.js.map +1 -1
- package/dist/collection/components/md-tooltip/md-tooltip.js +3 -2
- package/dist/collection/components/md-tooltip/md-tooltip.js.map +1 -1
- package/dist/collection/utils/charts/engine/color.js +1 -1
- package/dist/collection/utils/charts/engine/color.js.map +1 -1
- package/dist/collection/utils/id.js +15 -0
- package/dist/collection/utils/id.js.map +1 -0
- package/dist/components/md-area-chart.js +1 -1
- package/dist/components/md-autocomplete.js +1 -1
- package/dist/components/md-bar-chart.js +1 -1
- package/dist/components/md-bottom-sheet.js +1 -1
- package/dist/components/md-bottom-sheet.js.map +1 -1
- package/dist/components/md-checkbox.js +1 -1
- package/dist/components/md-color-picker.js +1 -1
- package/dist/components/md-color-picker.js.map +1 -1
- package/dist/components/md-date-picker.js +1 -1
- package/dist/components/md-dialog.js +1 -1
- package/dist/components/md-dialog.js.map +1 -1
- package/dist/components/md-line-chart.js +1 -1
- package/dist/components/md-list-item.js +1 -1
- package/dist/components/md-multi-select.js +1 -1
- package/dist/components/md-navigation-rail-tab.js +1 -1
- package/dist/components/md-navigation-rail-tab.js.map +1 -1
- package/dist/components/md-navigation-rail.js +1 -1
- package/dist/components/md-navigation-rail.js.map +1 -1
- package/dist/components/md-number-field.js +1 -1
- package/dist/components/md-organization-chart.js +1 -1
- package/dist/components/md-otp-field.js +1 -1
- package/dist/components/md-otp-field.js.map +1 -1
- package/dist/components/md-pie-chart.js +1 -1
- package/dist/components/md-radio.js +1 -1
- package/dist/components/md-radio.js.map +1 -1
- package/dist/components/md-select.js +1 -1
- package/dist/components/md-side-sheet.js +1 -1
- package/dist/components/md-side-sheet.js.map +1 -1
- package/dist/components/md-sparkline.js +1 -1
- package/dist/components/md-switch.js +1 -1
- package/dist/components/md-switch.js.map +1 -1
- package/dist/components/md-tab-panels.js +1 -1
- package/dist/components/md-tab-panels.js.map +1 -1
- package/dist/components/md-table-pagination.js +1 -1
- package/dist/components/md-tabs.js +1 -1
- package/dist/components/md-tabs.js.map +1 -1
- package/dist/components/md-text-field.js +1 -1
- package/dist/components/md-time-picker.js +1 -1
- package/dist/components/md-time-picker.js.map +1 -1
- package/dist/components/md-tooltip.js +1 -1
- package/dist/components/md-transfer-list.js +1 -1
- package/dist/components/{p-gvwcgwKe.js → p-BMKTaRiv.js} +2 -2
- package/dist/components/{p-LjoAJJQR.js → p-BnzVj-uY.js} +2 -2
- package/dist/components/{p-B9Nqbpjt.js → p-CDYr1xVr.js} +2 -2
- package/dist/components/{p-Bt29agtr.js → p-CO3L7Bki.js} +2 -2
- package/dist/components/p-CZfrvIOV.js +2 -0
- package/dist/components/p-CZfrvIOV.js.map +1 -0
- package/dist/components/p-DJLHsp6c.js +2 -0
- package/dist/components/{p-DDR-x268.js.map → p-DJLHsp6c.js.map} +1 -1
- package/dist/components/p-DRBO2_C1.js +2 -0
- package/dist/components/p-DRBO2_C1.js.map +1 -0
- package/dist/components/{p-CgPh8hKp.js → p-DnjAYLoh.js} +2 -2
- package/dist/components/p-DuRj_2H2.js +2 -0
- package/dist/components/p-DuRj_2H2.js.map +1 -0
- package/dist/components/p-mwCGMdmr.js +2 -0
- package/dist/components/p-mwCGMdmr.js.map +1 -0
- package/dist/components-csr/md-area-chart.js +1 -1
- package/dist/components-csr/md-autocomplete.js +1 -1
- package/dist/components-csr/md-bar-chart.js +1 -1
- package/dist/components-csr/md-bar-chart.js.map +1 -1
- package/dist/components-csr/md-bottom-sheet.js +1 -1
- package/dist/components-csr/md-bottom-sheet.js.map +1 -1
- package/dist/components-csr/md-checkbox.js +1 -1
- package/dist/components-csr/md-color-picker.js +1 -1
- package/dist/components-csr/md-color-picker.js.map +1 -1
- package/dist/components-csr/md-date-picker.js +1 -1
- package/dist/components-csr/md-dialog.js +1 -1
- package/dist/components-csr/md-dialog.js.map +1 -1
- package/dist/components-csr/md-line-chart.js +1 -1
- package/dist/components-csr/md-list-item.js +1 -1
- package/dist/components-csr/md-multi-select.js +1 -1
- package/dist/components-csr/md-navigation-rail-tab.js +1 -1
- package/dist/components-csr/md-navigation-rail-tab.js.map +1 -1
- package/dist/components-csr/md-navigation-rail.js +1 -1
- package/dist/components-csr/md-navigation-rail.js.map +1 -1
- package/dist/components-csr/md-number-field.js +1 -1
- package/dist/components-csr/md-organization-chart.js +1 -1
- package/dist/components-csr/md-otp-field.js +1 -1
- package/dist/components-csr/md-otp-field.js.map +1 -1
- package/dist/components-csr/md-pie-chart.js +1 -1
- package/dist/components-csr/md-radio.js +1 -1
- package/dist/components-csr/md-radio.js.map +1 -1
- package/dist/components-csr/md-select.js +1 -1
- package/dist/components-csr/md-side-sheet.js +1 -1
- package/dist/components-csr/md-side-sheet.js.map +1 -1
- package/dist/components-csr/md-sparkline.js +1 -1
- package/dist/components-csr/md-switch.js +1 -1
- package/dist/components-csr/md-switch.js.map +1 -1
- package/dist/components-csr/md-tab-panels.js +1 -1
- package/dist/components-csr/md-tab-panels.js.map +1 -1
- package/dist/components-csr/md-table-pagination.js +1 -1
- package/dist/components-csr/md-tabs.js +1 -1
- package/dist/components-csr/md-tabs.js.map +1 -1
- package/dist/components-csr/md-text-field.js +1 -1
- package/dist/components-csr/md-time-picker.js +1 -1
- package/dist/components-csr/md-time-picker.js.map +1 -1
- package/dist/components-csr/md-tooltip.js +1 -1
- package/dist/components-csr/md-transfer-list.js +1 -1
- package/dist/components-csr/{p-gvwcgwKe.js → p-BMKTaRiv.js} +2 -2
- package/dist/components-csr/p-BONcO8ij.js +2 -0
- package/dist/components-csr/p-BONcO8ij.js.map +1 -0
- package/dist/components-csr/{p-CNZ_UxvV.js → p-BjTPISfB.js} +2 -2
- package/dist/components-csr/{p-LjoAJJQR.js → p-BnzVj-uY.js} +2 -2
- package/dist/components-csr/p-C5f-Bp-B.js +2 -0
- package/dist/components-csr/p-C5f-Bp-B.js.map +1 -0
- package/dist/components-csr/{p-Bt29agtr.js → p-CO3L7Bki.js} +2 -2
- package/dist/components-csr/p-DJLHsp6c.js +2 -0
- package/dist/components-csr/{p-DDR-x268.js.map → p-DJLHsp6c.js.map} +1 -1
- package/dist/components-csr/p-DfW4VWXn.js +2 -0
- package/dist/components-csr/p-DfW4VWXn.js.map +1 -0
- package/dist/components-csr/{p-CgPh8hKp.js → p-DnjAYLoh.js} +2 -2
- package/dist/components-csr/p-mwCGMdmr.js +2 -0
- package/dist/components-csr/p-mwCGMdmr.js.map +1 -0
- package/dist/esm/{a11y-BY0m_7q-.js → a11y-MZ_Jd9Qh.js} +3 -3
- package/dist/esm/{a11y-BY0m_7q-.js.map → a11y-MZ_Jd9Qh.js.map} +1 -1
- package/dist/esm/{bar-chart-AoSxFydO.js → bar-chart-qeJoD5XG.js} +4 -4
- package/dist/esm/{bar-chart-AoSxFydO.js.map → bar-chart-qeJoD5XG.js.map} +1 -1
- package/dist/esm/{chart-Vh60PbK_.js → chart-nxmUffz8.js} +4 -4
- package/dist/esm/{chart-Vh60PbK_.js.map → chart-nxmUffz8.js.map} +1 -1
- package/dist/esm/{hit-test-DXAx7dtr.js → hit-test-CGPhVlVa.js} +3 -3
- package/dist/esm/{hit-test-DXAx7dtr.js.map → hit-test-CGPhVlVa.js.map} +1 -1
- package/dist/esm/id-mwCGMdmr.js +19 -0
- package/dist/esm/id-mwCGMdmr.js.map +1 -0
- package/dist/esm/md-area-chart.entry.js +4 -4
- package/dist/esm/md-avatar_2.entry.js +3 -2
- package/dist/esm/md-avatar_2.entry.js.map +1 -1
- package/dist/esm/md-bar-chart.entry.js +4 -4
- package/dist/esm/md-bottom-sheet.entry.js +6 -7
- package/dist/esm/md-bottom-sheet.entry.js.map +1 -1
- package/dist/esm/md-button_6.entry.js +4 -3
- package/dist/esm/md-button_6.entry.js.map +1 -1
- package/dist/esm/md-checkbox.entry.js +4 -3
- package/dist/esm/md-checkbox.entry.js.map +1 -1
- package/dist/esm/md-color-picker.entry.js +2 -2
- package/dist/esm/md-color-picker.entry.js.map +1 -1
- package/dist/esm/md-dialog.entry.js +5 -4
- package/dist/esm/md-dialog.entry.js.map +1 -1
- package/dist/esm/md-line-chart.entry.js +4 -4
- package/dist/esm/md-navigation-rail-tab.entry.js +3 -2
- package/dist/esm/md-navigation-rail-tab.entry.js.map +1 -1
- package/dist/esm/md-navigation-rail.entry.js +4 -3
- package/dist/esm/md-navigation-rail.entry.js.map +1 -1
- package/dist/esm/md-otp-field.entry.js +5 -4
- package/dist/esm/md-otp-field.entry.js.map +1 -1
- package/dist/esm/md-pie-chart.entry.js +2 -2
- package/dist/esm/md-side-sheet.entry.js +5 -4
- package/dist/esm/md-side-sheet.entry.js.map +1 -1
- package/dist/esm/md-sparkline.entry.js +4 -4
- package/dist/esm/md-switch.entry.js +4 -3
- package/dist/esm/md-switch.entry.js.map +1 -1
- package/dist/esm/md-tab-panels.entry.js +3 -2
- package/dist/esm/md-tab-panels.entry.js.map +1 -1
- package/dist/esm/md-tabs.entry.js +4 -3
- package/dist/esm/md-tabs.entry.js.map +1 -1
- package/dist/esm/md-text-field.entry.js +9 -8
- package/dist/esm/md-text-field.entry.js.map +1 -1
- package/dist/esm/md-time-picker.entry.js +3 -3
- package/dist/esm/md-time-picker.entry.js.map +1 -1
- package/dist/esm/{rtl-uZRvZT4w.js → rtl-BlY3kGkC.js} +3 -3
- package/dist/esm/{rtl-uZRvZT4w.js.map → rtl-BlY3kGkC.js.map} +1 -1
- package/dist/md3/md3.esm.js +1 -1
- package/dist/md3/p-02861409.entry.js +2 -0
- package/dist/md3/p-02861409.entry.js.map +1 -0
- package/dist/md3/p-12ad9af5.entry.js +2 -0
- package/dist/md3/p-12ad9af5.entry.js.map +1 -0
- package/dist/md3/p-157487b5.entry.js +2 -0
- package/dist/md3/p-157487b5.entry.js.map +1 -0
- package/dist/md3/p-2c73fdfd.entry.js +2 -0
- package/dist/md3/p-2c73fdfd.entry.js.map +1 -0
- package/dist/md3/p-348d2276.entry.js +2 -0
- package/dist/md3/p-348d2276.entry.js.map +1 -0
- package/dist/md3/p-356d9106.entry.js +2 -0
- package/dist/md3/p-356d9106.entry.js.map +1 -0
- package/dist/md3/p-43e01823.entry.js +2 -0
- package/dist/md3/p-43e01823.entry.js.map +1 -0
- package/dist/md3/p-43eb2f64.entry.js +2 -0
- package/dist/md3/p-43eb2f64.entry.js.map +1 -0
- package/dist/md3/p-4846e791.entry.js +2 -0
- package/dist/md3/p-4846e791.entry.js.map +1 -0
- package/dist/md3/{p-d75378a4.entry.js → p-48ffbe07.entry.js} +2 -2
- package/dist/md3/p-75c83c45.entry.js +2 -0
- package/dist/md3/p-75c83c45.entry.js.map +1 -0
- package/dist/md3/{p-a935c9d9.entry.js → p-761ad020.entry.js} +2 -2
- package/dist/md3/p-92cb9a66.entry.js +2 -0
- package/dist/md3/p-92cb9a66.entry.js.map +1 -0
- package/dist/md3/{p-83ff8c55.entry.js → p-9490a60e.entry.js} +2 -2
- package/dist/md3/p-9dd5a298.entry.js +2 -0
- package/dist/md3/p-9dd5a298.entry.js.map +1 -0
- package/dist/md3/p-Bi_jvoYB.js +2 -0
- package/dist/md3/{p-B5avc5rk.js.map → p-Bi_jvoYB.js.map} +1 -1
- package/dist/md3/p-BlY3kGkC.js +2 -0
- package/dist/md3/{p-uZRvZT4w.js.map → p-BlY3kGkC.js.map} +1 -1
- package/dist/md3/{p-C2NkFxq6.js → p-CPDT9bo8.js} +2 -2
- package/dist/md3/{p-C2NkFxq6.js.map → p-CPDT9bo8.js.map} +1 -1
- package/dist/md3/{p-HupQdS6t.js → p-D73I-I3Y.js} +2 -2
- package/dist/md3/{p-HupQdS6t.js.map → p-D73I-I3Y.js.map} +1 -1
- package/dist/md3/{p-BHU42QEq.js → p-DxYEnQN_.js} +2 -2
- package/dist/md3/{p-BHU42QEq.js.map → p-DxYEnQN_.js.map} +1 -1
- package/dist/md3/p-d5f4acee.entry.js +2 -0
- package/dist/md3/p-d5f4acee.entry.js.map +1 -0
- package/dist/md3/p-df399883.entry.js +2 -0
- package/dist/md3/p-df399883.entry.js.map +1 -0
- package/dist/md3/p-e9f3d01c.entry.js +2 -0
- package/dist/md3/p-e9f3d01c.entry.js.map +1 -0
- package/dist/md3/{p-4c610916.entry.js → p-f2a38bc5.entry.js} +2 -2
- package/dist/md3/{p-b21f0112.entry.js → p-fc94bc80.entry.js} +2 -2
- package/dist/md3/p-mwCGMdmr.js +2 -0
- package/dist/md3/p-mwCGMdmr.js.map +1 -0
- package/dist/sources/{1c65f6be7cebba6e01351c392297ba5cc30090a83548e3ec490a43843fccdb0d → 00cdfb3a94ee1f3eebec93b2c2e3efc959ea51a8c8c741bfefd127a0c743be0c}/md-time-picker.tsx +2 -2
- package/dist/sources/{4c675f0caaf379b694c4cdd7ca351ed7147e5219b7a64f62db4f2f45f8527c0f → 02593e05aa5c543017beb14ad39be4db2e4720a8d828dd1ee02ac815d78cd9b8}/md-radio.tsx +2 -1
- package/dist/sources/{b3d606320b653bcbde553e6d61569edd0fc6cbdb1cb179f4d36ad796e76b133c → 07048edbff6b2929b7bb5bada65b0d10c18130a84fd47ba9e3ff631119b508f9}/md-navigation-rail-tab.tsx +2 -1
- package/dist/sources/{e9ae836c40eea6db02a3598215af809993ad89acafeb874a064e7bdeaf79c242 → 1d870ca11c863eb8152d212c834678828ee78947a642f2fc9b78d72ec50e82b0}/md-otp-field.tsx +2 -1
- package/dist/sources/50f3027997a647cfc4bff52f59eab57bfa79b349bf5398484d1270d2ca84432e/id.ts +16 -0
- package/dist/sources/{ae95ff3e224eaf96970ab353591faf7e15467d2c54ddbbfa1b8896e22c55d389 → 5d29413a48bee87e589d3d70af7f6e331c7f0ab065f0535f861d3854f6849555}/md-bottom-sheet.tsx +2 -3
- package/dist/sources/{402f5a2492107abfa1fcb92162d5c73f149c6ca89411288cbc436f117daffbd3 → 73fb3ad02d0cbb8147d665699e2f2d4ef1f08fd4a6762a4310b732dca897a71a}/md-tooltip.tsx +2 -1
- package/dist/sources/{dfff86d088c1ff15d867fd9d2bb2551d3553ba4237806aeb3725de3be6aaa006 → 7c9338f359081efc62c0a64697a266bd9e7210cffbe51c0627ffda6db80c2358}/md-text-field.tsx +2 -1
- package/dist/sources/{79a4a375fda3e8a596d4e62110a9eace64593d8e72063d5fe04e34b4eba47f38 → 80020e60521850b557c1976bc838dca458a203cfae309e5c4b6ef25d2f96d784}/md-tab-panels.tsx +2 -1
- package/dist/sources/{12e68b45d1474ba21c1e199d024e405583a9c4b734aba0a35fae8dc5ee673429 → 80a5162cdeebd7f2729a943e9c9f3a32678c86c5b0ee75b8bb39d1f5d54007b6}/md-checkbox.tsx +2 -1
- package/dist/sources/{5f9406175f71cdc0cdb61713fb3a98544de58ebe450f3e0afc9799212b3e506a → 8a93102305bd5b1c419522473dd7d93b3a2f263f02144949353fd2c285688cd1}/color.ts +1 -1
- package/dist/sources/{65736d26ce598e886bffbbd09e7f8aa312efd75fdc8228d9e622b845f23ed985 → 91eb4f5d0803f25b9eb10e7358f99d2cb4e79ece6c1f186f7c9d7c4c35ee724d}/md-switch.tsx +2 -1
- package/dist/sources/{bac1e6c3f412a4b2ac3f7a17c310893494b2da91d660291a8efca51b7891fc4b → 938daeb41a180127214dabe713c4cf427fb33893ef1c138f0940528d982d5d8e}/md-dialog.tsx +3 -2
- package/dist/sources/{1d2144637d607fb9d0996be31e6bcb40c69c0408107e62e3579445025db8d423 → a54f6d4fbabe6cd425c526b2c3721e696fbd5cf270d8d201aac66b8c40be897d}/md-tabs.tsx +2 -1
- package/dist/sources/{b9a1e9c1101331d3cf36b88cb75e12a701d74f1e058849c74c883a0d3b134f58 → a9270896d6cce920b328291a0b45937e3c2eb96dc69b314c5295bd8aee1abdd4}/md-side-sheet.tsx +2 -1
- package/dist/sources/{0ff3480d9a3ad4d643358cd2d23546b2045fcacf8afbea2e0280ca4d1d7c2d09 → e0929b8e7a1d74ad87f89c6653c3156ca64678c21c000222407bf1fe60bab9f0}/md-navigation-rail.tsx +2 -1
- package/dist/sources/{a1ffc8361a60263979c4b8d18a5f6bbf14c32551b3880695514304debcdc90e3 → e1b24b5bed5b2be4234763edeab8754631b6d654630bb244e28f6bf07a6bdcb8}/md-color-picker.tsx +2 -2
- package/dist/types/components/md-time-picker/md-time-picker.d.ts +0 -1
- package/dist/types/utils/id.d.ts +6 -0
- package/hydrate/index.js +65 -54
- package/hydrate/index.mjs +65 -54
- package/main-llm.md +8 -8
- package/package.json +3 -3
- package/dist/components/p-BIi84oDg.js +0 -2
- package/dist/components/p-BIi84oDg.js.map +0 -1
- package/dist/components/p-CHfVUlvI.js +0 -2
- package/dist/components/p-CHfVUlvI.js.map +0 -1
- package/dist/components/p-CPjaB7Lv.js +0 -2
- package/dist/components/p-CPjaB7Lv.js.map +0 -1
- package/dist/components/p-DDR-x268.js +0 -2
- package/dist/components-csr/p-B3gZAg_4.js +0 -2
- package/dist/components-csr/p-B3gZAg_4.js.map +0 -1
- package/dist/components-csr/p-BleC9P8P.js +0 -2
- package/dist/components-csr/p-BleC9P8P.js.map +0 -1
- package/dist/components-csr/p-DC2ZvxAb.js +0 -2
- package/dist/components-csr/p-DC2ZvxAb.js.map +0 -1
- package/dist/components-csr/p-DDR-x268.js +0 -2
- package/dist/md3/p-012b6609.entry.js +0 -2
- package/dist/md3/p-012b6609.entry.js.map +0 -1
- package/dist/md3/p-0a8c367d.entry.js +0 -2
- package/dist/md3/p-0a8c367d.entry.js.map +0 -1
- package/dist/md3/p-0f05a59b.entry.js +0 -2
- package/dist/md3/p-0f05a59b.entry.js.map +0 -1
- package/dist/md3/p-278a039e.entry.js +0 -2
- package/dist/md3/p-278a039e.entry.js.map +0 -1
- package/dist/md3/p-2a5bf77b.entry.js +0 -2
- package/dist/md3/p-2a5bf77b.entry.js.map +0 -1
- package/dist/md3/p-2f30cb74.entry.js +0 -2
- package/dist/md3/p-2f30cb74.entry.js.map +0 -1
- package/dist/md3/p-3c11072b.entry.js +0 -2
- package/dist/md3/p-3c11072b.entry.js.map +0 -1
- package/dist/md3/p-3d7283b1.entry.js +0 -2
- package/dist/md3/p-3d7283b1.entry.js.map +0 -1
- package/dist/md3/p-6950bf56.entry.js +0 -2
- package/dist/md3/p-6950bf56.entry.js.map +0 -1
- package/dist/md3/p-7dcfe441.entry.js +0 -2
- package/dist/md3/p-7dcfe441.entry.js.map +0 -1
- package/dist/md3/p-85c169ac.entry.js +0 -2
- package/dist/md3/p-85c169ac.entry.js.map +0 -1
- package/dist/md3/p-90bb186b.entry.js +0 -2
- package/dist/md3/p-90bb186b.entry.js.map +0 -1
- package/dist/md3/p-91ed88af.entry.js +0 -2
- package/dist/md3/p-91ed88af.entry.js.map +0 -1
- package/dist/md3/p-B5avc5rk.js +0 -2
- package/dist/md3/p-a50ed612.entry.js +0 -2
- package/dist/md3/p-a50ed612.entry.js.map +0 -1
- package/dist/md3/p-a985fe73.entry.js +0 -2
- package/dist/md3/p-a985fe73.entry.js.map +0 -1
- package/dist/md3/p-uZRvZT4w.js +0 -2
- /package/dist/components/{p-gvwcgwKe.js.map → p-BMKTaRiv.js.map} +0 -0
- /package/dist/components/{p-LjoAJJQR.js.map → p-BnzVj-uY.js.map} +0 -0
- /package/dist/components/{p-B9Nqbpjt.js.map → p-CDYr1xVr.js.map} +0 -0
- /package/dist/components/{p-Bt29agtr.js.map → p-CO3L7Bki.js.map} +0 -0
- /package/dist/components/{p-CgPh8hKp.js.map → p-DnjAYLoh.js.map} +0 -0
- /package/dist/components-csr/{p-gvwcgwKe.js.map → p-BMKTaRiv.js.map} +0 -0
- /package/dist/components-csr/{p-CNZ_UxvV.js.map → p-BjTPISfB.js.map} +0 -0
- /package/dist/components-csr/{p-LjoAJJQR.js.map → p-BnzVj-uY.js.map} +0 -0
- /package/dist/components-csr/{p-Bt29agtr.js.map → p-CO3L7Bki.js.map} +0 -0
- /package/dist/components-csr/{p-CgPh8hKp.js.map → p-DnjAYLoh.js.map} +0 -0
- /package/dist/md3/{p-d75378a4.entry.js.map → p-48ffbe07.entry.js.map} +0 -0
- /package/dist/md3/{p-a935c9d9.entry.js.map → p-761ad020.entry.js.map} +0 -0
- /package/dist/md3/{p-83ff8c55.entry.js.map → p-9490a60e.entry.js.map} +0 -0
- /package/dist/md3/{p-4c610916.entry.js.map → p-f2a38bc5.entry.js.map} +0 -0
- /package/dist/md3/{p-b21f0112.entry.js.map → p-fc94bc80.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["EN_LABELS","close","cancel","ok","TRANSLATIONS","ar","de","es","fr","hi","it","ja","ko","nl","pl","pt","ro","ru","zh","languageCode","locale","tag","trim","Intl","Locale","language","split","toLowerCase","resolveDialogLabel","key","lang","mdDialogCss","MdDialog","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","overlayLifecycle","OverlayLifecycle","el","open","headline","icon","fullscreen","scrimDismissible","closeLabel","cancelLabel","okLabel","divider","headerDivider","density","animating","hasSlottedIcon","hasSlottedHeadline","hasSlottedActions","headlineId","
|
|
1
|
+
{"version":3,"names":["EN_LABELS","close","cancel","ok","TRANSLATIONS","ar","de","es","fr","hi","it","ja","ko","nl","pl","pt","ro","ru","zh","languageCode","locale","tag","trim","Intl","Locale","language","split","toLowerCase","resolveDialogLabel","key","lang","mdDialogCss","MdDialog","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","overlayLifecycle","OverlayLifecycle","el","open","headline","icon","fullscreen","scrimDismissible","closeLabel","cancelLabel","okLabel","divider","headerDivider","density","animating","hasSlottedIcon","hasSlottedHeadline","hasSlottedActions","headlineId","createId","contentId","previousFocus","handleScrimClick","mdCancel","emit","handleCloseClick","handleDefaultOkClick","openChanged","newVal","cancelOpenFocus","opened","closed","setTimeout","document","activeElement","body","style","overflow","mdOpen","openFocusFrame","requestAnimationFrame","undefined","isConnected","focusFirst","mdClose","focus","preventScroll","connectedCallback","connected","componentWillLoad","hasDirectSlottedChild","slotName","children","i","length","getAttribute","componentDidLoad","loaded","bindSlotListener","v","name","setter","slot","shadowRoot","querySelector","addEventListener","assignedElements","disconnectedCallback","disconnect","show","whenClosed","cancelOpen","handleKeyDown","e","preventDefault","stopPropagation","trapFocus","resolvedLabel","explicit","cancelAnimationFrame","containerEl","focusable","getFocusableElements","first","last","deep","getDeepActiveElement","shiftKey","renderActions","h","class","part","variant","onMdClick","collected","collectTabbablesDeep","FOCUSABLE_SELECTOR","filter","isVisible","render","hasIcon","hasHeadline","Host","onClick","role","tabindex","ref","viewBox","width","height","fill","d","id","root","selector","out","seen","Set","visit","element","has","add","hasAttribute","localName","assigned","flatten","Array","from","forEach","shadow","excluded","Number","delegatesFocus","matches","push","active","sr","rect","getBoundingClientRect","offsetWidth","offsetHeight","getClientRects"],"sources":["../sources/ebdfb1e145698bad26920a37ef2aed1a40a4ecb0454f1c42249f58af3607f07b/dialog-utils.ts","../sources/7cbc6a3c7c0780304b7f83b2fa1445da8cd264128a69100a51786cf41485c9a9/md-dialog.css_tag_md-dialog_encapsulation_shadow","../sources/938daeb41a180127214dabe713c4cf427fb33893ef1c138f0940528d982d5d8e/md-dialog.tsx"],"mappings":"uNASA,MAAMA,EAA4C,CAChDC,MAAO,QACPC,OAAQ,SACRC,GAAI,MAIN,MAAMC,EAAwE,CAC5EC,GAAI,CAAEJ,MAAO,QAASC,OAAQ,QAASC,GAAI,SAC3CG,GAAI,CAAEL,MAAO,YAAaC,OAAQ,YAAaC,GAAI,MACnDI,GAAI,CAAEN,MAAO,SAAUC,OAAQ,WAAYC,GAAI,WAC/CK,GAAI,CAAEP,MAAO,SAAUC,OAAQ,UAAWC,GAAI,MAC9CM,GAAI,CAAER,MAAO,WAAYC,OAAQ,YAAaC,GAAI,OAClDO,GAAI,CAAET,MAAO,SAAUC,OAAQ,UAAWC,GAAI,MAC9CQ,GAAI,CAAEV,MAAO,MAAOC,OAAQ,QAASC,GAAI,MACzCS,GAAI,CAAEX,MAAO,KAAMC,OAAQ,KAAMC,GAAI,MACrCU,GAAI,CAAEZ,MAAO,UAAWC,OAAQ,YAAaC,GAAI,MACjDW,GAAI,CAAEb,MAAO,UAAWC,OAAQ,SAAUC,GAAI,MAC9CY,GAAI,CAAEd,MAAO,SAAUC,OAAQ,WAAYC,GAAI,MAC/Ca,GAAI,CAAEf,MAAO,UAAWC,OAAQ,WAAYC,GAAI,MAChDc,GAAI,CAAEhB,MAAO,UAAWC,OAAQ,SAAUC,GAAI,MAC9Ce,GAAI,CAAEjB,MAAO,KAAMC,OAAQ,KAAMC,GAAI,OAIvC,SAASgB,EAAaC,GACpB,MAAMC,EAAMD,EAAOE,OACnB,IAAKD,EAAK,MAAO,KACjB,IACE,OAAO,IAAIE,KAAKC,OAAOH,GAAKI,Q,CAC5B,MACA,OAAOJ,EAAIK,MAAM,KAAK,GAAGC,a,CAE7B,CAMM,SAAUC,EACdR,EACAS,GAEA,MAAMC,EAAOX,EAAaC,GAAU,SACpC,OAAOhB,EAAa0B,KAAQD,IAAQ7B,EAAU6B,EAChD,CCtDA,MAAME,EAAc,IAAM,65O,MCUbC,EAAQC,EAAA,MAAAD,UAAAE,EALrB,WAAAC,CAAAC,G,qKAQUC,KAAAC,iBAAmB,IAAIC,GAAiB,IAAMF,KAAKG,KAAI,IAAMH,KAAKI,OAGlCJ,KAAAI,KAAgB,MAGhDJ,KAAAK,SAAmB,GAGnBL,KAAAM,KAAe,GAGEN,KAAAO,WAAsB,MAGLP,KAAAQ,iBAA4B,KAG9DR,KAAAjB,OAAiB,QAMWiB,KAAAS,WAAqB,GAMpBT,KAAAU,YAAsB,GAM1BV,KAAAW,QAAkB,GAG1BX,KAAAY,QAAmB,MAGUZ,KAAAa,cAAyB,MAOtDb,KAAAc,QAAiC,EAWzCd,KAAAe,UAAqB,MACrBf,KAAAgB,eAAiB,MACjBhB,KAAAiB,mBAAqB,MACrBjB,KAAAkB,kBAAoB,MAE7BlB,KAAAmB,WAAaC,EAAS,sBACtBpB,KAAAqB,UAAYD,EAAS,qBAErBpB,KAAAsB,cAAoC,KAuIpCtB,KAAAuB,iBAAmB,KACzB,IAAKvB,KAAKQ,iBAAkB,OAC5BR,KAAKwB,SAASC,OACdzB,KAAKI,KAAO,KAAK,EAGXJ,KAAA0B,iBAAmB,KACzB1B,KAAKwB,SAASC,OACdzB,KAAKI,KAAO,KAAK,EAGXJ,KAAA2B,qBAAuB,KAC7B3B,KAAKI,KAAO,KAAK,CAiNpB,CAhWC,WAAAwB,CAAYC,GACV7B,KAAK8B,kBACL,GAAID,EAAQ7B,KAAKC,iBAAiB8B,cAC7B/B,KAAKC,iBAAiB+B,SAC3BhC,KAAKe,UAAY,KACjBkB,YAAW,KAAQjC,KAAKe,UAAY,KAAK,GAAK,KAE9C,GAAIc,EAAQ,CACV7B,KAAKsB,cAAgBY,SAASC,cAC9BD,SAASE,KAAKC,MAAMC,SAAW,SAC/BtC,KAAKuC,OAAOd,OACZzB,KAAKwC,eAAiBC,uBAAsB,KAC1CzC,KAAKwC,eAAiBE,UACtB,IAAK1C,KAAKI,OAASJ,KAAKG,GAAGwC,YAAa,OACxC3C,KAAK4C,YAAY,G,KAEd,CACLV,SAASE,KAAKC,MAAMC,SAAW,GAC/BtC,KAAK6C,QAAQpB,OAIbzB,KAAKsB,eAAewB,QAAQ,CAAEC,cAAe,OAC7C/C,KAAKsB,cAAgB,I,EAIzB,iBAAA0B,GACEhD,KAAKC,iBAAiBgD,YACtB,GAAIjD,KAAKI,KAAM,CACb8B,SAASE,KAAKC,MAAMC,SAAW,Q,EAInC,iBAAAY,GAeElD,KAAKiB,mBAAqBjB,KAAKmD,sBAAsB,YACrDnD,KAAKgB,eAAiBhB,KAAKmD,sBAAsB,QACjDnD,KAAKkB,kBAAoBlB,KAAKmD,sBAAsB,U,CAG9C,qBAAAA,CAAsBC,GAC5B,MAAMC,EAAWrD,KAAKG,GAAGkD,SACzB,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAASE,OAAQD,GAAK,EAAG,CAC3C,GAAID,EAASC,GAAGE,aAAa,UAAYJ,EAAU,OAAO,I,CAE5D,OAAO,K,CAGT,gBAAAK,GACEzD,KAAKC,iBAAiByD,SAItB1D,KAAK2D,iBAAiB,QAASC,IAAQ5D,KAAKgB,eAAiB4C,CAAC,IAC9D5D,KAAK2D,iBAAiB,YAAaC,IACjC5D,KAAKiB,mBAAqB2C,CAAC,IAE7B5D,KAAK2D,iBAAiB,WAAYC,IAChC5D,KAAKkB,kBAAoB0C,CAAC,G,CAItB,gBAAAD,CACNE,EACAC,GAEA,MAAMC,EAAO/D,KAAKG,GAAG6D,YAAYC,cAC/B,cAAcJ,OAEhB,IAAKE,EAAM,OACXA,EAAKG,iBAAiB,cAAc,KAClCJ,EAAOC,EAAKI,mBAAmBZ,OAAS,EAAE,G,CAI9C,oBAAAa,GACEpE,KAAK8B,kBACL9B,KAAKC,iBAAiBoE,aACtBnC,SAASE,KAAKC,MAAMC,SAAW,E,CAKjC,UAAMgC,SACEtE,KAAKC,iBAAiBqE,MAAK,KAAQtE,KAAKI,KAAO,IAAI,G,CAK3D,gBAAMmE,SACEvE,KAAKC,iBAAiBsE,Y,CAK9B,WAAM3G,GACJoC,KAAKC,iBAAiBuE,aACtBxE,KAAKI,KAAO,K,CAId,aAAAqE,CAAcC,GACZ,IAAK1E,KAAKI,KAAM,OAEhB,GAAIsE,EAAElF,MAAQ,SAAU,CACtBkF,EAAEC,iBACFD,EAAEE,kBACF5E,KAAKwB,SAASC,OACdzB,KAAKI,KAAO,MACZ,M,CAGF,GAAIsE,EAAElF,MAAQ,MAAO,CACnBQ,KAAK6E,UAAUH,E,EAmBX,aAAAI,CACNC,EACAvF,GAEA,OAAOuF,GAAYxF,EAAmBS,KAAKjB,OAAQS,E,CAG7C,eAAAsC,GACN,GAAI9B,KAAKwC,iBAAmBE,UAAW,OACvCsC,qBAAqBhF,KAAKwC,gBAC1BxC,KAAKwC,eAAiBE,S,CAGhB,UAAAE,GACN,IAAK5C,KAAKiF,YAAa,OACvB,MAAMC,EAAYlF,KAAKmF,uBACvB,GAAID,EAAU3B,OAAS,EAAG,CACxB2B,EAAU,GAAGpC,O,KACR,CACL9C,KAAKiF,YAAYnC,O,EAIb,SAAA+B,CAAUH,GAChB,MAAMQ,EAAYlF,KAAKmF,uBACvB,GAAID,EAAU3B,SAAW,EAAG,OAE5B,MAAM6B,EAAQF,EAAU,GACxB,MAAMG,EAAOH,EAAUA,EAAU3B,OAAS,GAS1C,MAAM+B,EAAOC,IAEb,GAAIb,EAAEc,SAAU,CACd,GAAIF,IAASF,EAAO,CAClBV,EAAEC,iBACFU,EAAKvC,O,MAEF,CACL,GAAIwC,IAASD,EAAM,CACjBX,EAAEC,iBACFS,EAAMtC,O,GAeJ,aAAA2C,GACN,GAAIzF,KAAKkB,kBAAmB,CAC1B,OACEwE,EAAA,OAAKC,MAAM,qBAAqBC,KAAK,WACnCF,EAAA,QAAM7B,KAAK,Y,CAKjB,OACE6B,EAAA,OAAKC,MAAM,qBAAqBC,KAAK,WACnCF,EAAA,aACEG,QAAQ,OACRC,UAAW9F,KAAK0B,iBAChBkE,KAAK,iBAEJ5F,KAAK8E,cAAc9E,KAAKU,YAAa,WAExCgF,EAAA,aACEG,QAAQ,SACRC,UAAW9F,KAAK2B,qBAChBiE,KAAK,aAEJ5F,KAAK8E,cAAc9E,KAAKW,QAAS,O,CAMlC,oBAAAwE,GACN,IAAKnF,KAAKiF,YAAa,MAAO,GAE9B,MAAMc,EAA2B,GACjCC,EAAqBhG,KAAKiF,YAAatF,EAASsG,mBAAoBF,GACpE,OAAOA,EAAUG,OAAOC,E,CAG1B,MAAAC,GACE,MAAMC,IAAYrG,KAAKM,MAAQN,KAAKgB,eAMpC,MAAMsF,IAAgBtG,KAAKK,UAAYL,KAAKiB,mBAE5C,OACEyE,EAACa,EAAI,CAAA/G,IAAA,2CACHmG,MAAO,CACL,YAAa,KACb,kBAAmB3F,KAAKI,KACxB,wBAAyBJ,KAAKO,WAC9B,uBAAwBP,KAAKe,UAC7B,sBAAuBsF,KAIvBrG,KAAKO,YACLmF,EAAA,OAAAlG,IAAA,2CACEmG,MAAM,mBACNC,KAAK,QAAO,cACA,OACZY,QAASxG,KAAKuB,mBAKlBmE,EAAA,OAAAlG,IAAA,2CACEmG,MAAM,uBACNC,KAAK,YACLa,KAAMzG,KAAKO,WAAa,SAAW,cAAa,aACrC,OAAM,kBACA+F,EAActG,KAAKmB,WAAauB,UAAS,mBACxC1C,KAAKqB,UACvBqF,UAAU,EACVC,IAAMxG,GAAQH,KAAKiF,YAAc9E,GAGhCH,KAAKO,YACJmF,EAAA,OAAAlG,IAAA,2CAAKmG,MAAM,oBAAoBC,KAAK,UAClCF,EAAA,UAAAlG,IAAA,2CACEmG,MAAM,uBACNC,KAAK,eAAc,aACP5F,KAAK8E,cAAc9E,KAAKS,WAAY,SAChD+F,QAASxG,KAAK0B,kBAEdgE,EAAA,OAAAlG,IAAA,2CAAKoH,QAAQ,YAAYC,MAAM,KAAKC,OAAO,KAAKC,KAAK,eAAc,cAAa,QAC9ErB,EAAA,QAAAlG,IAAA,2CAAMwH,EAAE,4GAGXV,GACCZ,EAAA,QAAAlG,IAAA,2CAAMyH,GAAIjH,KAAKmB,WAAYwE,MAAM,6BAA6BC,KAAK,YAChE5F,KAAKK,UAGVqF,EAAA,QAAAlG,IAAA,2CAAMqE,KAAK,mBAId7D,KAAKO,YAAcP,KAAKa,eACvB6E,EAAA,OAAAlG,IAAA,2CAAKmG,MAAM,qBAAqBC,KAAK,UAAS,cAAa,UAI3D5F,KAAKO,YACLmF,EAAA,OAAAlG,IAAA,2CAAKmG,MAAM,0BAA0BC,KAAK,UAExCF,EAAA,QAAAlG,IAAA,2CAAMqE,KAAK,QACR7D,KAAKM,MACJoF,EAAA,QAAAlG,IAAA,2CAAMmG,MAAM,4CAA4CC,KAAK,OAAM,cAAa,QAC7E5F,KAAKM,OAMXgG,GACCZ,EAAA,OAAAlG,IAAA,2CACEyH,GAAIjH,KAAKmB,WACTwE,MAAM,sBACNC,KAAK,YAELF,EAAA,QAAAlG,IAAA,2CAAMqE,KAAK,YAAY7D,KAAKK,YAOpCqF,EAAA,OAAAlG,IAAA,2CAAKyH,GAAIjH,KAAKqB,UAAWsE,MAAM,qBAAqBC,KAAK,WACvDF,EAAA,QAAAlG,IAAA,8CAIDQ,KAAKY,SACJ8E,EAAA,OAAAlG,IAAA,2CAAKmG,MAAM,qBAAqBC,KAAK,UAAS,cAAa,SAI5D5F,KAAKyF,iB,2iBAlJC9F,EAAAsG,mBACb,oCACA,+CACA,qDACA,8CACA,kCA+JJ,SAASD,EACPkB,EACAC,EACAC,GAEA,MAAMC,EAAO,IAAIC,IACjB,MAAMC,EAASC,IACb,GAAIH,EAAKI,IAAID,GAAU,OACvBH,EAAKK,IAAIF,GACT,GAAIA,EAAQG,aAAa,WAAaH,EAAQG,aAAa,SAAU,OAErE,GAAIH,EAAQI,YAAc,OAAQ,CAChC,MAAMC,EAAYL,EAA4BrD,iBAAiB,CAAE2D,QAAS,OAC1E,MAAMzE,EAAWwE,EAAStE,OAASsE,EAAWE,MAAMC,KAAKR,EAAQnE,UACjEA,EAAS4E,QAAQV,GACjB,M,CAGF,MAAMW,EAASV,EAAQxD,WACvB,MAAM0C,EAAWc,EAAQhE,aAAa,YACtC,MAAM2E,EAAWzB,IAAa,MAAQ0B,OAAO1B,GAAY,EAGzD,GAAIwB,GAAUC,EAAU,OAIxB,IAAKA,IAAaD,GAAQG,gBAAkBb,EAAQc,QAAQnB,GAAW,CACrEC,EAAImB,KAAKf,E,CAEXO,MAAMC,MAAME,GAAUV,GAASnE,UAAU4E,QAAQV,EAAM,EAEzDQ,MAAMC,KAAKd,EAAK7D,UAAU4E,QAAQV,EACpC,CASA,SAAShC,IACP,IAAIiD,EAAyBtG,SAASC,cACtC,MAAOqG,EAAQ,CACb,MAAMC,EAAMD,EACTxE,WACH,IAAKyE,IAAOA,EAAGtG,cAAe,MAC9BqG,EAASC,EAAGtG,a,CAEd,OAAOqG,CACT,CAOA,SAASrC,EAAUhG,GACjB,IAAKA,EAAGwC,YAAa,OAAO,MAC5B,MAAM+F,EAAOvI,EAAGwI,wBAChB,GAAID,EAAK7B,MAAQ,GAAK6B,EAAK5B,OAAS,EAAG,OAAO,KAI9C,OAAO3G,EAAGyI,YAAc,GAAKzI,EAAG0I,aAAe,GAAK1I,EAAG2I,iBAAiBvF,OAAS,CACnF,C","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as t,H as e,c as i,h as s,d as n,t as a}from"./p-CB5yqdO-.js";import{d as o}from"./p-D_r-nz9d.js";import{d as r}from"./p-BNUOK5hc.js";import{c as h,r as l,d,b as c,a as m}from"./p-CgPh8hKp.js";import{w as p,d as u,a as y,r as b,b as f,p as g}from"./p-DDR-x268.js";import{L as x}from"./p-LjoAJJQR.js";const v=()=>`:host{--_block-size:var(--md-line-chart-block-size, auto);--_min-block-size:var(--md-line-chart-min-block-size, max(120px, calc(160px + var(--md-sys-density-scale, 0) * 8px)));--_aspect-ratio:var(--md-line-chart-aspect-ratio, 16 / 9);--_background:var(--md-line-chart-background, var(--md-sys-color-surface-container-low, #F7F2FA));--_padding:var(--md-line-chart-padding, max(8px, calc(16px + var(--md-sys-density-scale, 0) * 2px)));--_shape:var(--md-line-chart-shape, max(8px, calc(16px + var(--md-sys-density-scale, 0) * 2px)));--_empty-color:var(--md-line-chart-empty-color, var(--md-sys-color-on-surface-variant, #49454F));--_empty-background:var(--md-line-chart-empty-background, var(--_background));--_empty-font:var(--md-line-chart-empty-font, var(--md-sys-typescale-body-medium-font-family, Roboto, sans-serif));--_empty-font-size:var(--md-line-chart-empty-font-size, var(--md-sys-typescale-body-medium-font-size, 14px));--_empty-icon-size:var(--md-line-chart-empty-icon-size, 40px);--_zoom-size:var(--md-line-chart-zoom-size, 28px);--_zoom-track-color:var(--md-line-chart-zoom-track-color, var(--md-sys-color-surface-container-highest, #E6E0E9));--_zoom-window-color:var(--md-line-chart-zoom-window-color, var(--md-sys-color-secondary-container, #E8DEF8));--_zoom-handle-color:var(--md-line-chart-zoom-handle-color, var(--md-sys-color-primary, #6750A4));--_zoom-band-color:var(--md-line-chart-zoom-band-color, color-mix(in srgb, var(--md-sys-color-primary, #6750A4) 16%, transparent));--_zoom-pan-inset:10px;display:block;position:relative;inline-size:100%;block-size:var(--_block-size);min-block-size:var(--_min-block-size);background:var(--_background);padding:var(--_padding);border-radius:var(--_shape);box-sizing:border-box;min-inline-size:0;aspect-ratio:var(--_aspect-ratio)}.md-line-chart__header,.md-line-chart__footer{display:contents}.md-line-chart__header>slot[name='header']::slotted(*),.md-line-chart__footer>slot[name='footer']::slotted(*){display:block;margin-block:8px}.md-line-chart__canvas{position:absolute;inset:var(--_padding);min-block-size:0;min-inline-size:0}.md-line-chart__empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;padding:24px;background:var(--_empty-background);border-radius:var(--_shape);color:var(--_empty-color);font-family:var(--_empty-font);font-size:var(--_empty-font-size);line-height:var(--md-sys-typescale-body-medium-line-height, 20px);pointer-events:none;text-align:center}.md-line-chart__loading{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;padding:24px;background:var(--_empty-background);border-radius:var(--_shape);color:var(--_empty-color);font-family:var(--_empty-font);font-size:var(--_empty-font-size);text-align:center}.md-line-chart__spinner{inline-size:var(--_empty-icon-size);block-size:var(--_empty-icon-size)}.md-line-chart__empty ::slotted(.material-symbols-outlined),.md-line-chart__empty ::slotted(.material-symbols-rounded),.md-line-chart__empty ::slotted(.material-symbols-sharp),.md-line-chart__empty ::slotted(.material-icons){font-size:var(--_empty-icon-size) !important;line-height:1;opacity:0.55}:host(.md-line-chart--zoom-slider) .md-line-chart__canvas{bottom:calc(var(--_padding) + var(--_zoom-size))}:host(.md-line-chart--zoom-drag) .md-line-chart__canvas{cursor:ew-resize}.md-line-chart__zoom{position:absolute;inset-inline:var(--_padding);bottom:var(--_padding);block-size:var(--_zoom-size);display:flex;align-items:center}.md-line-chart__zoom-slider{--md-slider-active-color:var(--_zoom-window-color);--md-slider-inactive-color:var(--_zoom-track-color);--md-slider-thumb-color:var(--_zoom-handle-color);--md-slider-thumb-height:var(--_zoom-size);--md-slider-track-height:12px}.md-line-chart__zoom-pan{position:absolute;inset-block:0;z-index:1;cursor:grab;touch-action:none}.md-line-chart__zoom-pan:active{cursor:grabbing}.md-line-chart__zoom-band{position:absolute;background:var(--_zoom-band-color);border-inline:1px solid var(--_zoom-handle-color);pointer-events:none}.md-line-chart__live{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}[part='legend'] button:focus-visible{outline:3px solid var(--md-sys-color-secondary, #625B71);outline-offset:2px;border-radius:6px}.md-line-chart__canvas:focus-visible{outline:3px solid var(--md-sys-color-secondary, #625B71);outline-offset:-3px;border-radius:4px}.md-line-chart__a11y-table{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@media (forced-colors: active){:host{forced-color-adjust:auto}}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}:host([hidden]){display:none !important}`;const _=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.mdMarkerClick=i(this,"mdMarkerClick",7);this.mdLineClick=i(this,"mdLineClick",7);this.mdAreaClick=i(this,"mdAreaClick",7);this.mdAxisClick=i(this,"mdAxisClick",7);this.mdLegendClick=i(this,"mdLegendClick",7);this.mdHover=i(this,"mdHover",7);this.mdReady=i(this,"mdReady",7);this.mdZoom=i(this,"mdZoom",7);this.label="";this.titleAlign="start";this.series=[];this.curve="smooth";this.stack="none";this.connectNulls=false;this.showMarks=false;this.area=false;this.showLine=true;this.legend="top-end";this.tooltip="axis";this.grid="horizontal";this.axisTicks=false;this.inverted=false;this.showLabels=false;this.seriesLabels=false;this.zoom="none";this.locale="";this.labelEmpty="No data to display";this.labelPlot="Chart data. Use the arrow keys to move between points, Home and End for the first and last, Escape to leave.";this.labelPoint="%x%: %values%";this.labelZoomStart="Zoom range start";this.labelZoomEnd="Zoom range end";this.summary="";this.noAnimation=false;this.animation="expressive";this.loading=false;this.loadingLabel="Loading chart…";this.density=0;this.mounted=false;this.kbIndex=-1;this.announcement="";this.zoomWin=null;this.dragBand=null;this.grab=null;this.engine=null;this.ro=null;this.legendHidden=new Map;this.mergeCache=null;this.bindChartHost=t=>{this.chartHost=t};this.bindA11yTableHost=t=>{this.a11yTableHost=t};this.onPlotPointerDown=t=>{if(!this.zoomInside||t.button!==0||this.grab)return;if(!this.insidePlot(t))return;const e=this.hostX(t);this.grab={id:t.pointerId,kind:"band",x:e,win:this.win()};this.dragBand={x1:e,x2:e};const i=t.composedPath?.()[0]??t.target;i.setPointerCapture?.(t.pointerId)};this.onPointerMove=t=>{const e=this.grab;if(!e||e.id!==t.pointerId)return;if(e.kind==="band"){const i=this.plotRect();if(!i)return;this.dragBand={x1:e.x,x2:Math.min(Math.max(this.hostX(t),i.x),i.x+i.width)};return}const i=this.trackFrac(t.clientX);const s=this.trackFrac(e.x);if(i==null||s==null)return;const n=Math.max(1,this.dataLength()-1);const a=e.win.end-e.win.start;const o=Math.round((i-s)*n);const r=Math.min(Math.max(0,e.win.start+o),n-a);this.applyZoom(r,r+a)};this.onPointerUp=t=>{const e=this.grab;if(!e||e.id!==t.pointerId)return;this.grab=null;const i=this.dragBand;this.dragBand=null;if(e.kind!=="band"||!i)return;if(Math.abs(i.x2-i.x1)<8)return;const[s,n]=[this.indexAtX(i.x1),this.indexAtX(i.x2)].sort(((t,e)=>t-e));if(n-s>=1)this.applyZoom(s,n)};this.onPlotKeyDown=t=>{const e=Math.max(0,this.dataLength()-1);if(e<0)return;const i=typeof getComputedStyle==="function"&&getComputedStyle(this.el).direction==="rtl";const s=i?"ArrowLeft":"ArrowRight";const n=i?"ArrowRight":"ArrowLeft";let a=this.kbIndex;switch(t.key){case s:a=this.kbIndex<0?0:Math.min(e,this.kbIndex+1);break;case n:a=this.kbIndex<0?e:Math.max(0,this.kbIndex-1);break;case"Home":a=0;break;case"End":a=e;break;case"Escape":if(this.kbIndex<0)return;a=-1;break;case"Enter":case" ":if(this.kbIndex<0)return;this.mdAxisClick.emit(this.axisDetail(this.kbIndex,this.seriesValuesAt(this.kbIndex),t));t.preventDefault();return;default:return}t.preventDefault();this.moveKeyboardCursor(a)};this.onPlotBlur=()=>{if(this.kbIndex>=0)this.moveKeyboardCursor(-1)};this.onPlotDblClick=t=>{if(this.zoomInside&&this.zoomWin&&this.insidePlot(t))this.resetZoom()};this.onZoomPanDown=t=>{if(t.button!==0)return;t.stopPropagation();t.preventDefault();this.grab={id:t.pointerId,kind:"pan",x:t.clientX,win:this.win()};t.target.setPointerCapture?.(t.pointerId)};this.onZoomSliderInput=t=>{t.stopPropagation();const{valueStart:e,valueEnd:i}=t.detail??{};if(e==null||i==null)return;this.applyZoom(e,i)};this.onZoomSliderEvent=t=>t.stopPropagation()}componentDidLoad(){this.initChart();this.disposeThemeWatch=p(this.el,(()=>this.applyEngine()))}disconnectedCallback(){this.ro?.disconnect();this.ro=null;this.engine?.dispose();this.engine=null;this.disposeThemeWatch?.();this.disposeThemeWatch=undefined}onAnyPropChange(){this.applyEngine();this.rebuildA11yTable()}onLoadingChange(t,e){if(e&&!t)this.engine?.replay()}async refreshTheme(){this.applyEngine()}async resize(){this.engine?.resize()}async replay(){this.engine?.replay()}async toDataURL(){return this.engine?.toDataURL("image/png")??""}async getInstance(){return this.engine}initChart(){this.makeEngine();this.applyEngine();this.rebuildA11yTable();this.mounted=true;this.mdReady.emit()}makeEngine(){if(!this.chartHost)return;this.ro?.disconnect();this.ro=null;this.engine?.dispose();try{this.engine=new x(this.chartHost)}catch{this.engine=null}if(this.engine&&typeof ResizeObserver!=="undefined"){this.ro=new ResizeObserver((()=>this.engine?.resize()));this.ro.observe(this.chartHost)}}buildEngineTheme(t){return{background:t.background,textColor:t.textColor,textColorMuted:t.textColorMuted,axisLineColor:t.axisLineColor,gridLineColor:t.gridColor,surface:t.surface,fontFamily:t.fontFamily,labelSize:t.labelSize,titleSize:t.titleSize}}seriesKeys(){const t=new Map;return this.series.map(((e,i)=>{const s=e.id!=null?`id:${e.id}`:e.label!=null?`label:${e.label}`:`pos:${i}`;const n=t.get(s)??0;t.set(s,n+1);return n===0?s:`${s}#${n}`}))}rememberLegendToggle(t,e){const i=this.seriesKeys()[t];if(i==null)return;this.legendHidden.set(i,e);if(this.legendHidden.size>256){const t=this.legendHidden.keys().next().value;this.legendHidden.delete(t)}}get zoomInside(){return this.zoom==="inside"||this.zoom==="both"}get zoomSliderOn(){return this.zoom==="slider"||this.zoom==="both"}get merged(){const t=this.xAxis?.scale??"category";const e=this.xAxis?.data;const i=this.mergeCache;if(i&&i.series===this.series&&i.axis===e&&i.scale===t)return i.out;const s=h(this.series??[],e,t);this.mergeCache={series:this.series,axis:e,scale:t,out:s};return s}dataLength(){const t=this.merged;const e=t.data.reduce(((t,e)=>Math.max(t,e?.length??0)),0);return Math.max(e,t.xValues.length)}win(){const t=Math.max(0,this.dataLength()-1);const e=this.zoomWin;if(!e)return{start:0,end:t};const i=Math.min(Math.max(0,e.start),Math.max(0,t-1));return{start:i,end:Math.min(Math.max(i+1,e.end),t)}}applyZoom(t,e,i=false){const s=Math.max(0,this.dataLength()-1);const n=Math.min(Math.max(0,Math.round(t)),Math.max(0,s-1));const a=Math.min(Math.max(n+1,Math.round(e)),s);this.zoomWin=i?null:{start:n,end:a};this.applyEngine();this.rebuildA11yTable();this.mdZoom.emit({startIndex:i?0:n,endIndex:i?s:a,reset:i})}async setZoom(t,e){this.applyZoom(t,e)}async resetZoom(){this.applyZoom(0,0,true)}plotRect(){const t=this.engine?.getScene()?.plot;return t?{x:t.x,y:t.y,width:t.width,height:t.height}:null}canvasOffset(){const t=this.chartHost;if(!t)return{x:0,y:0};const e=this.el.getBoundingClientRect();const i=t.getBoundingClientRect();return{x:i.left-e.left,y:i.top-e.top}}zoomBandStyle(){const t=this.plotRect();if(!this.dragBand||!t)return undefined;const e=this.canvasOffset();const{x1:i,x2:s}=this.dragBand;return{left:`${e.x+Math.min(i,s)}px`,width:`${Math.abs(s-i)}px`,top:`${e.y+t.y}px`,height:`${t.height}px`}}indexAtX(t){const e=this.engine?.getScene();const i=this.win();if(!e?.xPositions?.length)return i.start;let s=0;let n=Infinity;e.xPositions.forEach(((e,i)=>{const a=Math.abs(e-t);if(a<n){n=a;s=i}}));return i.start+s}hostX(t){return t.clientX-(this.chartHost??this.el).getBoundingClientRect().left}insidePlot(t){const e=this.plotRect();if(!e)return false;const i=(this.chartHost??this.el).getBoundingClientRect();const s=t.clientX-i.left;const n=t.clientY-i.top;return s>=e.x&&s<=e.x+e.width&&n>=e.y&&n<=e.y+e.height}moveKeyboardCursor(t){this.kbIndex=t;this.engine?.focusIndex(t);if(t<0){this.announcement="";return}const e=this.merged;const i=e.xValues[t];const s=this.xAxis?.valueFormatter?this.xAxis.valueFormatter(i):u(i??t+1,this.locale);const n=t=>this.valueFormatter?this.valueFormatter(t):t.toLocaleString(this.locale||undefined);const a=this.seriesValuesAt(t).filter((t=>t.value!=null)).map((t=>`${t.label} ${n(t.value)}`)).join(", ");this.announcement=this.labelPoint.replace("%x%",s).replace("%values%",a);this.mdHover.emit({dataIndex:t,axisValue:i,seriesIndices:this.visibleSeriesIndices()})}sliderTrackRect(){const t=this.el.shadowRoot?.querySelector(".md-line-chart__zoom-slider");if(!t)return null;const e=t.getBoundingClientRect();if(!e.width)return null;return{left:e.left,width:e.width,rtl:getComputedStyle(this.el).direction==="rtl"}}trackFrac(t){const e=this.sliderTrackRect();if(!e)return null;const i=(t-e.left)/e.width;return Math.min(Math.max(e.rtl?1-i:i,0),1)}buildSpec(t){const e=this.stack==="percentage";const i=t=>this.valueFormatter?this.valueFormatter(t):t.toLocaleString(this.locale||undefined);const s=this.seriesKeys();const n=this.zoomWin?this.win():null;const a=t=>t&&n?t.slice(n.start,n.end+1):t;const o=t=>{if(!t||!n)return t;const e={};for(const[i,s]of Object.entries(t)){const t=Number(i)-n.start;if(t>=0&&t<=n.end-n.start)e[t]=s}return e};const r=this.merged;const h=this.series.map(((e,i)=>{const h=s[i];const d=this.legendHidden.get(h);const c=r.toMerged[i];const m=e.dashAfter!=null&&c?c[e.dashAfter]:e.dashAfter;if(e.hidden!==undefined)this.legendHidden.delete(h);return{label:e.label??`Series ${i+1}`,color:y(this.el,e.color,g(t.palette,i)),data:a(r.data[i])??r.data[i]??[],curve:e.curve??this.curve,connectNulls:e.connectNulls??this.connectNulls,showMarks:e.showMarks??this.showMarks,hidden:e.hidden??d??false,dash:e.dash,symbol:e.symbol,pointSymbols:o(l(e.pointSymbols,c)),yAxisIndex:e.yAxisIndex,dashAfter:m!=null&&m>=0&&n?m-n.start:m,hollow:e.hollow,stroke:e.stroke??(this.showLine?undefined:false),lineWidth:e.lineWidth??this.lineWidth,markSize:e.markSize??this.markSize}}));return{series:h,title:this.label||undefined,subtitle:this.subtitle||undefined,markLines:this.markLines?.map((t=>{const e=n!=null&&(this.xAxis?.scale??"category")==="category"&&typeof t.value==="number";const i=e?t.value-n.start:t.value;return{value:i,label:t.label,color:t.color!=null?y(this.el,t.color,t.color):undefined,dash:t.dash,offscreen:e&&(Number(i)<0||Number(i)>n.end-n.start)}})).filter((t=>!t.offscreen)).map((({offscreen:t,...e})=>e)),titleAlign:this.titleAlign,xValues:a(r.xValues)??[],xScale:this.xAxis?.scale??"category",xFormatter:this.xAxis?.valueFormatter??(t=>u(t,this.locale)),xLabel:this.xAxis?.label,xHidden:this.xAxis?.hidden,xHideTicks:this.xAxis?.hideTicks,xDash:this.xAxis?.dash,xGridDash:this.xAxis?.gridDash,xBands:b(this.el,this.xAxis?.bands),yBands:b(this.el,this.yAxis?.bands),xBreaks:this.xAxis?.breaks,yBreaks:this.yAxis?.breaks,yScale:this.yAxis?.scale??"value",yMin:e?0:this.yAxis?.min,yMax:e?100:this.yAxis?.max,yFormatter:e?t=>`${Math.round(t)}%`:i,yTickFormatter:!e&&this.yAxis?.valueFormatter?t=>this.yAxis.valueFormatter(t):undefined,yLabel:this.yAxis?.label,yHidden:this.yAxis?.hidden,yHideTicks:this.yAxis?.hideTicks,yDash:this.yAxis?.dash,yGridDash:this.yAxis?.gridDash,yAxes:this.yAxes?.length?this.yAxes.map((t=>({scale:t.scale??"value",min:t.min,max:t.max,formatter:t.valueFormatter?e=>t.valueFormatter(e):t=>t.toLocaleString(this.locale||undefined),label:t.label,position:t.position,hidden:t.hidden,hideTicks:t.hideTicks,color:t.color!=null?y(this.el,t.color,t.color):undefined,bands:b(this.el,t.bands),dash:t.dash,gridDash:t.gridDash}))):undefined,stack:this.stack,area:this.area,legend:this.legend,gridY:this.grid==="horizontal"||this.grid==="both",gridX:this.grid==="vertical"||this.grid==="both",axisTicks:this.axisTicks,inverted:this.inverted,showLabels:this.showLabels,seriesLabels:this.seriesLabels,animation:this.noAnimation?"none":this.animation,animationDuration:this.animationDuration}}applyEngine(){if(!this.engine)return;const t=f(this.el);this.engine.setSpec(this.buildSpec(t),this.buildEngineTheme(t),{onHover:t=>{if(t<0)return;const e=t+(this.zoomWin?this.win().start:0);this.mdHover.emit({dataIndex:e,axisValue:this.merged.xValues[e],seriesIndices:this.visibleSeriesIndices()})},onLegendClick:t=>{this.rememberLegendToggle(t.seriesIndex,!!t.hidden);this.mdLegendClick.emit({seriesIndex:t.seriesIndex,seriesId:this.series[t.seriesIndex]?.id,selected:!t.hidden})},onPointClick:(t,e,i)=>{const s=this.clickDetail(t,e,i);if(s)this.mdMarkerClick.emit(s)},onLineClick:(t,e,i)=>{const s=this.clickDetail(t,e,i);if(s)this.mdLineClick.emit(s)},onAreaClick:(t,e,i)=>{const s=this.clickDetail(t,e,i);if(s)this.mdAreaClick.emit(s)},onAxisClick:(t,e,i)=>this.mdAxisClick.emit(this.axisDetail(t,e,i))});this.engine.setHoverEnabled(this.tooltip!=="none");this.engine.setTooltip({render:this.tooltipRenderer,missingFormatter:this.valueFormatter,trigger:this.tooltip==="item"?"item":"axis"})}clickDetail(t,e,i){const s=this.series[t];if(!s)return null;const n=e+(this.zoomWin?this.win().start:0);const a=this.ownIndex(t,n);return{seriesIndex:t,seriesId:s.id,dataIndex:a>=0?a:n,value:a>=0?d(s.data[a]):null,axisValue:this.merged.xValues[n],nativeEvent:i,series:s}}ownIndex(t,e){const i=this.merged.toOwn[t];return i?i[e]??-1:e}seriesValuesAt(t){const e=this.engine?.getScene()?.hoverPoints??[];return e.map((e=>({seriesIndex:e.seriesIndex,label:e.label,value:e.byIndex[t]?.value??null})))}axisDetail(t,e,i){const s=t+(this.zoomWin?this.win().start:0);const n=e.map((t=>{const e=this.ownIndex(t.seriesIndex,s);return{seriesIndex:t.seriesIndex,seriesId:this.series[t.seriesIndex]?.id,label:t.label,dataIndex:t.value==null?-1:e,value:t.value}}));return{dataIndex:s,axisValue:this.merged.xValues[s],seriesValues:n,nativeEvent:i}}visibleSeriesIndices(){const t=this.engine?.getScene()?.hoverPoints;if(t)return t.map((t=>t.seriesIndex));const e=this.seriesKeys();return this.series.map(((t,e)=>e)).filter((t=>!(this.series[t].hidden??this.legendHidden.get(e[t])??false)))}rebuildA11yTable(){if(!this.a11yTableHost)return;const t=this.merged;this.a11yTableHost.innerHTML=c({title:this.label,xAxisLabel:this.xAxis?.label,xAxisData:t.xValues,xValueFormatter:this.xAxis?.valueFormatter??(t=>u(t,this.locale)),locale:this.locale,labels:this.tableLabels,series:this.series.map(((e,i)=>({label:e.label,data:t.data[i]??[]}))),valueFormatter:this.valueFormatter})}renderZoomSlider(){const t=Math.max(1,this.dataLength()-1);const e=this.win();const i=e=>e/t*100;const n=t=>String(this.xAxis?.data?.[t]??t);return s("div",{class:"md-line-chart__zoom",part:"zoom"},s("md-slider",{class:"md-line-chart__zoom-slider",part:"zoom-slider",exportparts:"track: zoom-track, track-active: zoom-window, thumb-knob: zoom-handle",range:true,controlled:true,min:0,max:t,step:1,valueStart:e.start,valueEnd:e.end,ariaLabelStart:this.labelZoomStart,ariaLabelEnd:this.labelZoomEnd,valueStartText:n(e.start),valueEndText:n(e.end),onMdInput:this.onZoomSliderInput,onMdChange:this.onZoomSliderEvent,onMdDragStart:this.onZoomSliderEvent,onMdDragEnd:this.onZoomSliderEvent,onMdFocus:this.onZoomSliderEvent,onMdBlur:this.onZoomSliderEvent}),s("div",{class:"md-line-chart__zoom-pan",part:"zoom-pan",style:{insetInlineStart:`calc(${i(e.start)}% + var(--_zoom-pan-inset))`,inlineSize:`max(0px, calc(${i(e.end)-i(e.start)}% - 2 * var(--_zoom-pan-inset)))`},onPointerDown:this.onZoomPanDown}))}render(){const t=this.merged.xValues;const e=this.summary||m({title:this.label,chartType:this.area?"area":"line",seriesCount:this.series.length,xMin:t[0],xMax:t[t.length-1],locale:this.locale});const i=this.series.length===0&&!this.loading;return s(n,{key:"c9752b87ab832527211bb0497898086d84035fca",class:{"md-line-chart":true,"md-line-chart--empty":i,"md-line-chart--loading":this.loading,"md-line-chart--mounted":this.mounted,"md-line-chart--zoom-slider":this.zoomSliderOn,"md-line-chart--zoom-drag":this.zoomInside},role:"figure","aria-label":e,"aria-busy":this.loading?"true":null,style:this.heightProp?{blockSize:this.heightProp}:undefined,onPointerDown:this.onPlotPointerDown,onPointerMove:this.onPointerMove,onPointerUp:this.onPointerUp,onPointerCancel:this.onPointerUp,onDblClick:this.onPlotDblClick},s("header",{key:"63ad5739447778ace54a78a730d0443133af01ba",class:"md-line-chart__header",part:"header"},s("slot",{key:"154b9768046137c2ed967ec1061a0387151d8b76",name:"header"})),s("div",{key:"ed871f526015fd9b3db82957513c06ba3fa0edc1",class:"md-line-chart__canvas",part:"canvas",ref:t=>this.bindChartHost(t),tabindex:i?undefined:"0",role:i?undefined:"application","aria-label":i?undefined:this.labelPlot,onKeyDown:this.onPlotKeyDown,onBlur:this.onPlotBlur}),i&&s("div",{key:"23fce2485b0a1590299fb0120a668c0c034d92d2",class:"md-line-chart__empty",part:"empty"},s("slot",{key:"cf57085190c31f2c5e1087a902d8cd7bc4984235",name:"empty"},this.labelEmpty)),this.loading&&s("div",{key:"3a316ef05ecfb9ded081cd5c8b539aa63c872a2a",class:"md-line-chart__loading",part:"loading",role:"status"},s("slot",{key:"6531dbf774e55a44da05479565c379685909925b",name:"loader"},s("slot",{key:"c2f9e0f398ca2ae00822e937e77c4f787df65553",name:"loading"},s("md-progress-indicator",{key:"e10d1a968964074a92a361268181e936f04fcde7",class:"md-line-chart__spinner",variant:"circular",indeterminate:true,label:this.loadingLabel}),s("span",{key:"4edc04776013ac2943ef6254020d27624c27d9cb",class:"md-line-chart__loading-text"},this.loadingLabel)))),this.dragBand&&Math.abs(this.dragBand.x2-this.dragBand.x1)>1&&s("div",{key:"8547c35490526fb8d50bbb107d73bfa26fd88d98",class:"md-line-chart__zoom-band",part:"zoom-band",style:this.zoomBandStyle()}),this.zoomSliderOn&&this.renderZoomSlider(),s("footer",{key:"460051b9bc689dfdb996daf035c8126a6e9bd8b4",class:"md-line-chart__footer",part:"footer"},s("slot",{key:"435023505957f2720810cd2dd18b4c6249b97ecc",name:"footer"})),s("div",{key:"1b34870e30dfb989dfd17ca86988dcbb795d9e51",class:"md-line-chart__a11y-table",ref:t=>this.bindA11yTableHost(t)}),s("div",{key:"60422b9008272276b89eff6ce136a07599ab9d56",class:"md-line-chart__live",role:"status","aria-live":"polite","aria-atomic":"true"},this.announcement))}get el(){return this}static get watchers(){return{series:[{onAnyPropChange:0}],xAxis:[{onAnyPropChange:0}],yAxis:[{onAnyPropChange:0}],yAxes:[{onAnyPropChange:0}],curve:[{onAnyPropChange:0}],stack:[{onAnyPropChange:0}],area:[{onAnyPropChange:0}],showLine:[{onAnyPropChange:0}],legend:[{onAnyPropChange:0}],tooltip:[{onAnyPropChange:0}],grid:[{onAnyPropChange:0}],axisTicks:[{onAnyPropChange:0}],inverted:[{onAnyPropChange:0}],showLabels:[{onAnyPropChange:0}],seriesLabels:[{onAnyPropChange:0}],connectNulls:[{onAnyPropChange:0}],showMarks:[{onAnyPropChange:0}],lineWidth:[{onAnyPropChange:0}],markSize:[{onAnyPropChange:0}],label:[{onAnyPropChange:0}],subtitle:[{onAnyPropChange:0}],markLines:[{onAnyPropChange:0}],titleAlign:[{onAnyPropChange:0}],animation:[{onAnyPropChange:0}],animationDuration:[{onAnyPropChange:0}],tooltipRenderer:[{onAnyPropChange:0}],valueFormatter:[{onAnyPropChange:0}],loading:[{onLoadingChange:0}]}}static get style(){return v()}},[257,"md-line-chart",{label:[1],subtitle:[1],markLines:[16],titleAlign:[1,"title-align"],series:[16],xAxis:[16],yAxis:[16],yAxes:[16],curve:[1],stack:[1],connectNulls:[4,"connect-nulls"],showMarks:[4,"show-marks"],lineWidth:[2,"line-width"],markSize:[2,"mark-size"],area:[4],showLine:[4,"show-line"],legend:[513],tooltip:[1],grid:[1],axisTicks:[4,"axis-ticks"],inverted:[4],showLabels:[4,"show-labels"],seriesLabels:[4,"series-labels"],zoom:[1],locale:[1],labelEmpty:[1,"label-empty"],labelPlot:[1,"label-plot"],labelPoint:[1,"label-point"],labelZoomStart:[1,"label-zoom-start"],labelZoomEnd:[1,"label-zoom-end"],summary:[1],tableLabels:[16],valueFormatter:[16],tooltipRenderer:[16],heightProp:[1,"height"],noAnimation:[4,"no-animation"],animation:[1],animationDuration:[2,"animation-duration"],loading:[516],loadingLabel:[1,"loading-label"],density:[514],mounted:[32],kbIndex:[32],announcement:[32],zoomWin:[32],dragBand:[32],refreshTheme:[64],resize:[64],replay:[64],toDataURL:[64],getInstance:[64],setZoom:[64],resetZoom:[64]},undefined,{series:[{onAnyPropChange:0}],xAxis:[{onAnyPropChange:0}],yAxis:[{onAnyPropChange:0}],yAxes:[{onAnyPropChange:0}],curve:[{onAnyPropChange:0}],stack:[{onAnyPropChange:0}],area:[{onAnyPropChange:0}],showLine:[{onAnyPropChange:0}],legend:[{onAnyPropChange:0}],tooltip:[{onAnyPropChange:0}],grid:[{onAnyPropChange:0}],axisTicks:[{onAnyPropChange:0}],inverted:[{onAnyPropChange:0}],showLabels:[{onAnyPropChange:0}],seriesLabels:[{onAnyPropChange:0}],connectNulls:[{onAnyPropChange:0}],showMarks:[{onAnyPropChange:0}],lineWidth:[{onAnyPropChange:0}],markSize:[{onAnyPropChange:0}],label:[{onAnyPropChange:0}],subtitle:[{onAnyPropChange:0}],markLines:[{onAnyPropChange:0}],titleAlign:[{onAnyPropChange:0}],animation:[{onAnyPropChange:0}],animationDuration:[{onAnyPropChange:0}],tooltipRenderer:[{onAnyPropChange:0}],valueFormatter:[{onAnyPropChange:0}],loading:[{onLoadingChange:0}]}]);function k(){if(typeof customElements==="undefined"){return}const t=["md-line-chart","md-progress-indicator","md-slider"];t.forEach((t=>{switch(t){case"md-line-chart":if(!customElements.get(a(t))){customElements.define(a(t),_)}break;case"md-progress-indicator":if(!customElements.get(a(t))){o()}break;case"md-slider":if(!customElements.get(a(t))){r()}break}}))}k();const z=_;const A=k;export{z as MdLineChart,A as defineCustomElement};
|
|
1
|
+
import{p as t,H as e,c as i,h as s,d as n,t as a}from"./p-CB5yqdO-.js";import{d as o}from"./p-D_r-nz9d.js";import{d as r}from"./p-BNUOK5hc.js";import{c as h,r as l,d,b as c,a as m}from"./p-DnjAYLoh.js";import{w as p,d as u,a as y,r as b,b as f,p as g}from"./p-DJLHsp6c.js";import{L as x}from"./p-BnzVj-uY.js";const v=()=>`:host{--_block-size:var(--md-line-chart-block-size, auto);--_min-block-size:var(--md-line-chart-min-block-size, max(120px, calc(160px + var(--md-sys-density-scale, 0) * 8px)));--_aspect-ratio:var(--md-line-chart-aspect-ratio, 16 / 9);--_background:var(--md-line-chart-background, var(--md-sys-color-surface-container-low, #F7F2FA));--_padding:var(--md-line-chart-padding, max(8px, calc(16px + var(--md-sys-density-scale, 0) * 2px)));--_shape:var(--md-line-chart-shape, max(8px, calc(16px + var(--md-sys-density-scale, 0) * 2px)));--_empty-color:var(--md-line-chart-empty-color, var(--md-sys-color-on-surface-variant, #49454F));--_empty-background:var(--md-line-chart-empty-background, var(--_background));--_empty-font:var(--md-line-chart-empty-font, var(--md-sys-typescale-body-medium-font-family, Roboto, sans-serif));--_empty-font-size:var(--md-line-chart-empty-font-size, var(--md-sys-typescale-body-medium-font-size, 14px));--_empty-icon-size:var(--md-line-chart-empty-icon-size, 40px);--_zoom-size:var(--md-line-chart-zoom-size, 28px);--_zoom-track-color:var(--md-line-chart-zoom-track-color, var(--md-sys-color-surface-container-highest, #E6E0E9));--_zoom-window-color:var(--md-line-chart-zoom-window-color, var(--md-sys-color-secondary-container, #E8DEF8));--_zoom-handle-color:var(--md-line-chart-zoom-handle-color, var(--md-sys-color-primary, #6750A4));--_zoom-band-color:var(--md-line-chart-zoom-band-color, color-mix(in srgb, var(--md-sys-color-primary, #6750A4) 16%, transparent));--_zoom-pan-inset:10px;display:block;position:relative;inline-size:100%;block-size:var(--_block-size);min-block-size:var(--_min-block-size);background:var(--_background);padding:var(--_padding);border-radius:var(--_shape);box-sizing:border-box;min-inline-size:0;aspect-ratio:var(--_aspect-ratio)}.md-line-chart__header,.md-line-chart__footer{display:contents}.md-line-chart__header>slot[name='header']::slotted(*),.md-line-chart__footer>slot[name='footer']::slotted(*){display:block;margin-block:8px}.md-line-chart__canvas{position:absolute;inset:var(--_padding);min-block-size:0;min-inline-size:0}.md-line-chart__empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;padding:24px;background:var(--_empty-background);border-radius:var(--_shape);color:var(--_empty-color);font-family:var(--_empty-font);font-size:var(--_empty-font-size);line-height:var(--md-sys-typescale-body-medium-line-height, 20px);pointer-events:none;text-align:center}.md-line-chart__loading{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;padding:24px;background:var(--_empty-background);border-radius:var(--_shape);color:var(--_empty-color);font-family:var(--_empty-font);font-size:var(--_empty-font-size);text-align:center}.md-line-chart__spinner{inline-size:var(--_empty-icon-size);block-size:var(--_empty-icon-size)}.md-line-chart__empty ::slotted(.material-symbols-outlined),.md-line-chart__empty ::slotted(.material-symbols-rounded),.md-line-chart__empty ::slotted(.material-symbols-sharp),.md-line-chart__empty ::slotted(.material-icons){font-size:var(--_empty-icon-size) !important;line-height:1;opacity:0.55}:host(.md-line-chart--zoom-slider) .md-line-chart__canvas{bottom:calc(var(--_padding) + var(--_zoom-size))}:host(.md-line-chart--zoom-drag) .md-line-chart__canvas{cursor:ew-resize}.md-line-chart__zoom{position:absolute;inset-inline:var(--_padding);bottom:var(--_padding);block-size:var(--_zoom-size);display:flex;align-items:center}.md-line-chart__zoom-slider{--md-slider-active-color:var(--_zoom-window-color);--md-slider-inactive-color:var(--_zoom-track-color);--md-slider-thumb-color:var(--_zoom-handle-color);--md-slider-thumb-height:var(--_zoom-size);--md-slider-track-height:12px}.md-line-chart__zoom-pan{position:absolute;inset-block:0;z-index:1;cursor:grab;touch-action:none}.md-line-chart__zoom-pan:active{cursor:grabbing}.md-line-chart__zoom-band{position:absolute;background:var(--_zoom-band-color);border-inline:1px solid var(--_zoom-handle-color);pointer-events:none}.md-line-chart__live{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}[part='legend'] button:focus-visible{outline:3px solid var(--md-sys-color-secondary, #625B71);outline-offset:2px;border-radius:6px}.md-line-chart__canvas:focus-visible{outline:3px solid var(--md-sys-color-secondary, #625B71);outline-offset:-3px;border-radius:4px}.md-line-chart__a11y-table{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@media (forced-colors: active){:host{forced-color-adjust:auto}}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}:host([hidden]){display:none !important}`;const _=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.mdMarkerClick=i(this,"mdMarkerClick",7);this.mdLineClick=i(this,"mdLineClick",7);this.mdAreaClick=i(this,"mdAreaClick",7);this.mdAxisClick=i(this,"mdAxisClick",7);this.mdLegendClick=i(this,"mdLegendClick",7);this.mdHover=i(this,"mdHover",7);this.mdReady=i(this,"mdReady",7);this.mdZoom=i(this,"mdZoom",7);this.label="";this.titleAlign="start";this.series=[];this.curve="smooth";this.stack="none";this.connectNulls=false;this.showMarks=false;this.area=false;this.showLine=true;this.legend="top-end";this.tooltip="axis";this.grid="horizontal";this.axisTicks=false;this.inverted=false;this.showLabels=false;this.seriesLabels=false;this.zoom="none";this.locale="";this.labelEmpty="No data to display";this.labelPlot="Chart data. Use the arrow keys to move between points, Home and End for the first and last, Escape to leave.";this.labelPoint="%x%: %values%";this.labelZoomStart="Zoom range start";this.labelZoomEnd="Zoom range end";this.summary="";this.noAnimation=false;this.animation="expressive";this.loading=false;this.loadingLabel="Loading chart…";this.density=0;this.mounted=false;this.kbIndex=-1;this.announcement="";this.zoomWin=null;this.dragBand=null;this.grab=null;this.engine=null;this.ro=null;this.legendHidden=new Map;this.mergeCache=null;this.bindChartHost=t=>{this.chartHost=t};this.bindA11yTableHost=t=>{this.a11yTableHost=t};this.onPlotPointerDown=t=>{if(!this.zoomInside||t.button!==0||this.grab)return;if(!this.insidePlot(t))return;const e=this.hostX(t);this.grab={id:t.pointerId,kind:"band",x:e,win:this.win()};this.dragBand={x1:e,x2:e};const i=t.composedPath?.()[0]??t.target;i.setPointerCapture?.(t.pointerId)};this.onPointerMove=t=>{const e=this.grab;if(!e||e.id!==t.pointerId)return;if(e.kind==="band"){const i=this.plotRect();if(!i)return;this.dragBand={x1:e.x,x2:Math.min(Math.max(this.hostX(t),i.x),i.x+i.width)};return}const i=this.trackFrac(t.clientX);const s=this.trackFrac(e.x);if(i==null||s==null)return;const n=Math.max(1,this.dataLength()-1);const a=e.win.end-e.win.start;const o=Math.round((i-s)*n);const r=Math.min(Math.max(0,e.win.start+o),n-a);this.applyZoom(r,r+a)};this.onPointerUp=t=>{const e=this.grab;if(!e||e.id!==t.pointerId)return;this.grab=null;const i=this.dragBand;this.dragBand=null;if(e.kind!=="band"||!i)return;if(Math.abs(i.x2-i.x1)<8)return;const[s,n]=[this.indexAtX(i.x1),this.indexAtX(i.x2)].sort(((t,e)=>t-e));if(n-s>=1)this.applyZoom(s,n)};this.onPlotKeyDown=t=>{const e=Math.max(0,this.dataLength()-1);if(e<0)return;const i=typeof getComputedStyle==="function"&&getComputedStyle(this.el).direction==="rtl";const s=i?"ArrowLeft":"ArrowRight";const n=i?"ArrowRight":"ArrowLeft";let a=this.kbIndex;switch(t.key){case s:a=this.kbIndex<0?0:Math.min(e,this.kbIndex+1);break;case n:a=this.kbIndex<0?e:Math.max(0,this.kbIndex-1);break;case"Home":a=0;break;case"End":a=e;break;case"Escape":if(this.kbIndex<0)return;a=-1;break;case"Enter":case" ":if(this.kbIndex<0)return;this.mdAxisClick.emit(this.axisDetail(this.kbIndex,this.seriesValuesAt(this.kbIndex),t));t.preventDefault();return;default:return}t.preventDefault();this.moveKeyboardCursor(a)};this.onPlotBlur=()=>{if(this.kbIndex>=0)this.moveKeyboardCursor(-1)};this.onPlotDblClick=t=>{if(this.zoomInside&&this.zoomWin&&this.insidePlot(t))this.resetZoom()};this.onZoomPanDown=t=>{if(t.button!==0)return;t.stopPropagation();t.preventDefault();this.grab={id:t.pointerId,kind:"pan",x:t.clientX,win:this.win()};t.target.setPointerCapture?.(t.pointerId)};this.onZoomSliderInput=t=>{t.stopPropagation();const{valueStart:e,valueEnd:i}=t.detail??{};if(e==null||i==null)return;this.applyZoom(e,i)};this.onZoomSliderEvent=t=>t.stopPropagation()}componentDidLoad(){this.initChart();this.disposeThemeWatch=p(this.el,(()=>this.applyEngine()))}disconnectedCallback(){this.ro?.disconnect();this.ro=null;this.engine?.dispose();this.engine=null;this.disposeThemeWatch?.();this.disposeThemeWatch=undefined}onAnyPropChange(){this.applyEngine();this.rebuildA11yTable()}onLoadingChange(t,e){if(e&&!t)this.engine?.replay()}async refreshTheme(){this.applyEngine()}async resize(){this.engine?.resize()}async replay(){this.engine?.replay()}async toDataURL(){return this.engine?.toDataURL("image/png")??""}async getInstance(){return this.engine}initChart(){this.makeEngine();this.applyEngine();this.rebuildA11yTable();this.mounted=true;this.mdReady.emit()}makeEngine(){if(!this.chartHost)return;this.ro?.disconnect();this.ro=null;this.engine?.dispose();try{this.engine=new x(this.chartHost)}catch{this.engine=null}if(this.engine&&typeof ResizeObserver!=="undefined"){this.ro=new ResizeObserver((()=>this.engine?.resize()));this.ro.observe(this.chartHost)}}buildEngineTheme(t){return{background:t.background,textColor:t.textColor,textColorMuted:t.textColorMuted,axisLineColor:t.axisLineColor,gridLineColor:t.gridColor,surface:t.surface,fontFamily:t.fontFamily,labelSize:t.labelSize,titleSize:t.titleSize}}seriesKeys(){const t=new Map;return this.series.map(((e,i)=>{const s=e.id!=null?`id:${e.id}`:e.label!=null?`label:${e.label}`:`pos:${i}`;const n=t.get(s)??0;t.set(s,n+1);return n===0?s:`${s}#${n}`}))}rememberLegendToggle(t,e){const i=this.seriesKeys()[t];if(i==null)return;this.legendHidden.set(i,e);if(this.legendHidden.size>256){const t=this.legendHidden.keys().next().value;this.legendHidden.delete(t)}}get zoomInside(){return this.zoom==="inside"||this.zoom==="both"}get zoomSliderOn(){return this.zoom==="slider"||this.zoom==="both"}get merged(){const t=this.xAxis?.scale??"category";const e=this.xAxis?.data;const i=this.mergeCache;if(i&&i.series===this.series&&i.axis===e&&i.scale===t)return i.out;const s=h(this.series??[],e,t);this.mergeCache={series:this.series,axis:e,scale:t,out:s};return s}dataLength(){const t=this.merged;const e=t.data.reduce(((t,e)=>Math.max(t,e?.length??0)),0);return Math.max(e,t.xValues.length)}win(){const t=Math.max(0,this.dataLength()-1);const e=this.zoomWin;if(!e)return{start:0,end:t};const i=Math.min(Math.max(0,e.start),Math.max(0,t-1));return{start:i,end:Math.min(Math.max(i+1,e.end),t)}}applyZoom(t,e,i=false){const s=Math.max(0,this.dataLength()-1);const n=Math.min(Math.max(0,Math.round(t)),Math.max(0,s-1));const a=Math.min(Math.max(n+1,Math.round(e)),s);this.zoomWin=i?null:{start:n,end:a};this.applyEngine();this.rebuildA11yTable();this.mdZoom.emit({startIndex:i?0:n,endIndex:i?s:a,reset:i})}async setZoom(t,e){this.applyZoom(t,e)}async resetZoom(){this.applyZoom(0,0,true)}plotRect(){const t=this.engine?.getScene()?.plot;return t?{x:t.x,y:t.y,width:t.width,height:t.height}:null}canvasOffset(){const t=this.chartHost;if(!t)return{x:0,y:0};const e=this.el.getBoundingClientRect();const i=t.getBoundingClientRect();return{x:i.left-e.left,y:i.top-e.top}}zoomBandStyle(){const t=this.plotRect();if(!this.dragBand||!t)return undefined;const e=this.canvasOffset();const{x1:i,x2:s}=this.dragBand;return{left:`${e.x+Math.min(i,s)}px`,width:`${Math.abs(s-i)}px`,top:`${e.y+t.y}px`,height:`${t.height}px`}}indexAtX(t){const e=this.engine?.getScene();const i=this.win();if(!e?.xPositions?.length)return i.start;let s=0;let n=Infinity;e.xPositions.forEach(((e,i)=>{const a=Math.abs(e-t);if(a<n){n=a;s=i}}));return i.start+s}hostX(t){return t.clientX-(this.chartHost??this.el).getBoundingClientRect().left}insidePlot(t){const e=this.plotRect();if(!e)return false;const i=(this.chartHost??this.el).getBoundingClientRect();const s=t.clientX-i.left;const n=t.clientY-i.top;return s>=e.x&&s<=e.x+e.width&&n>=e.y&&n<=e.y+e.height}moveKeyboardCursor(t){this.kbIndex=t;this.engine?.focusIndex(t);if(t<0){this.announcement="";return}const e=this.merged;const i=e.xValues[t];const s=this.xAxis?.valueFormatter?this.xAxis.valueFormatter(i):u(i??t+1,this.locale);const n=t=>this.valueFormatter?this.valueFormatter(t):t.toLocaleString(this.locale||undefined);const a=this.seriesValuesAt(t).filter((t=>t.value!=null)).map((t=>`${t.label} ${n(t.value)}`)).join(", ");this.announcement=this.labelPoint.replace("%x%",s).replace("%values%",a);this.mdHover.emit({dataIndex:t,axisValue:i,seriesIndices:this.visibleSeriesIndices()})}sliderTrackRect(){const t=this.el.shadowRoot?.querySelector(".md-line-chart__zoom-slider");if(!t)return null;const e=t.getBoundingClientRect();if(!e.width)return null;return{left:e.left,width:e.width,rtl:getComputedStyle(this.el).direction==="rtl"}}trackFrac(t){const e=this.sliderTrackRect();if(!e)return null;const i=(t-e.left)/e.width;return Math.min(Math.max(e.rtl?1-i:i,0),1)}buildSpec(t){const e=this.stack==="percentage";const i=t=>this.valueFormatter?this.valueFormatter(t):t.toLocaleString(this.locale||undefined);const s=this.seriesKeys();const n=this.zoomWin?this.win():null;const a=t=>t&&n?t.slice(n.start,n.end+1):t;const o=t=>{if(!t||!n)return t;const e={};for(const[i,s]of Object.entries(t)){const t=Number(i)-n.start;if(t>=0&&t<=n.end-n.start)e[t]=s}return e};const r=this.merged;const h=this.series.map(((e,i)=>{const h=s[i];const d=this.legendHidden.get(h);const c=r.toMerged[i];const m=e.dashAfter!=null&&c?c[e.dashAfter]:e.dashAfter;if(e.hidden!==undefined)this.legendHidden.delete(h);return{label:e.label??`Series ${i+1}`,color:y(this.el,e.color,g(t.palette,i)),data:a(r.data[i])??r.data[i]??[],curve:e.curve??this.curve,connectNulls:e.connectNulls??this.connectNulls,showMarks:e.showMarks??this.showMarks,hidden:e.hidden??d??false,dash:e.dash,symbol:e.symbol,pointSymbols:o(l(e.pointSymbols,c)),yAxisIndex:e.yAxisIndex,dashAfter:m!=null&&m>=0&&n?m-n.start:m,hollow:e.hollow,stroke:e.stroke??(this.showLine?undefined:false),lineWidth:e.lineWidth??this.lineWidth,markSize:e.markSize??this.markSize}}));return{series:h,title:this.label||undefined,subtitle:this.subtitle||undefined,markLines:this.markLines?.map((t=>{const e=n!=null&&(this.xAxis?.scale??"category")==="category"&&typeof t.value==="number";const i=e?t.value-n.start:t.value;return{value:i,label:t.label,color:t.color!=null?y(this.el,t.color,t.color):undefined,dash:t.dash,offscreen:e&&(Number(i)<0||Number(i)>n.end-n.start)}})).filter((t=>!t.offscreen)).map((({offscreen:t,...e})=>e)),titleAlign:this.titleAlign,xValues:a(r.xValues)??[],xScale:this.xAxis?.scale??"category",xFormatter:this.xAxis?.valueFormatter??(t=>u(t,this.locale)),xLabel:this.xAxis?.label,xHidden:this.xAxis?.hidden,xHideTicks:this.xAxis?.hideTicks,xDash:this.xAxis?.dash,xGridDash:this.xAxis?.gridDash,xBands:b(this.el,this.xAxis?.bands),yBands:b(this.el,this.yAxis?.bands),xBreaks:this.xAxis?.breaks,yBreaks:this.yAxis?.breaks,yScale:this.yAxis?.scale??"value",yMin:e?0:this.yAxis?.min,yMax:e?100:this.yAxis?.max,yFormatter:e?t=>`${Math.round(t)}%`:i,yTickFormatter:!e&&this.yAxis?.valueFormatter?t=>this.yAxis.valueFormatter(t):undefined,yLabel:this.yAxis?.label,yHidden:this.yAxis?.hidden,yHideTicks:this.yAxis?.hideTicks,yDash:this.yAxis?.dash,yGridDash:this.yAxis?.gridDash,yAxes:this.yAxes?.length?this.yAxes.map((t=>({scale:t.scale??"value",min:t.min,max:t.max,formatter:t.valueFormatter?e=>t.valueFormatter(e):t=>t.toLocaleString(this.locale||undefined),label:t.label,position:t.position,hidden:t.hidden,hideTicks:t.hideTicks,color:t.color!=null?y(this.el,t.color,t.color):undefined,bands:b(this.el,t.bands),dash:t.dash,gridDash:t.gridDash}))):undefined,stack:this.stack,area:this.area,legend:this.legend,gridY:this.grid==="horizontal"||this.grid==="both",gridX:this.grid==="vertical"||this.grid==="both",axisTicks:this.axisTicks,inverted:this.inverted,showLabels:this.showLabels,seriesLabels:this.seriesLabels,animation:this.noAnimation?"none":this.animation,animationDuration:this.animationDuration}}applyEngine(){if(!this.engine)return;const t=f(this.el);this.engine.setSpec(this.buildSpec(t),this.buildEngineTheme(t),{onHover:t=>{if(t<0)return;const e=t+(this.zoomWin?this.win().start:0);this.mdHover.emit({dataIndex:e,axisValue:this.merged.xValues[e],seriesIndices:this.visibleSeriesIndices()})},onLegendClick:t=>{this.rememberLegendToggle(t.seriesIndex,!!t.hidden);this.mdLegendClick.emit({seriesIndex:t.seriesIndex,seriesId:this.series[t.seriesIndex]?.id,selected:!t.hidden})},onPointClick:(t,e,i)=>{const s=this.clickDetail(t,e,i);if(s)this.mdMarkerClick.emit(s)},onLineClick:(t,e,i)=>{const s=this.clickDetail(t,e,i);if(s)this.mdLineClick.emit(s)},onAreaClick:(t,e,i)=>{const s=this.clickDetail(t,e,i);if(s)this.mdAreaClick.emit(s)},onAxisClick:(t,e,i)=>this.mdAxisClick.emit(this.axisDetail(t,e,i))});this.engine.setHoverEnabled(this.tooltip!=="none");this.engine.setTooltip({render:this.tooltipRenderer,missingFormatter:this.valueFormatter,trigger:this.tooltip==="item"?"item":"axis"})}clickDetail(t,e,i){const s=this.series[t];if(!s)return null;const n=e+(this.zoomWin?this.win().start:0);const a=this.ownIndex(t,n);return{seriesIndex:t,seriesId:s.id,dataIndex:a>=0?a:n,value:a>=0?d(s.data[a]):null,axisValue:this.merged.xValues[n],nativeEvent:i,series:s}}ownIndex(t,e){const i=this.merged.toOwn[t];return i?i[e]??-1:e}seriesValuesAt(t){const e=this.engine?.getScene()?.hoverPoints??[];return e.map((e=>({seriesIndex:e.seriesIndex,label:e.label,value:e.byIndex[t]?.value??null})))}axisDetail(t,e,i){const s=t+(this.zoomWin?this.win().start:0);const n=e.map((t=>{const e=this.ownIndex(t.seriesIndex,s);return{seriesIndex:t.seriesIndex,seriesId:this.series[t.seriesIndex]?.id,label:t.label,dataIndex:t.value==null?-1:e,value:t.value}}));return{dataIndex:s,axisValue:this.merged.xValues[s],seriesValues:n,nativeEvent:i}}visibleSeriesIndices(){const t=this.engine?.getScene()?.hoverPoints;if(t)return t.map((t=>t.seriesIndex));const e=this.seriesKeys();return this.series.map(((t,e)=>e)).filter((t=>!(this.series[t].hidden??this.legendHidden.get(e[t])??false)))}rebuildA11yTable(){if(!this.a11yTableHost)return;const t=this.merged;this.a11yTableHost.innerHTML=c({title:this.label,xAxisLabel:this.xAxis?.label,xAxisData:t.xValues,xValueFormatter:this.xAxis?.valueFormatter??(t=>u(t,this.locale)),locale:this.locale,labels:this.tableLabels,series:this.series.map(((e,i)=>({label:e.label,data:t.data[i]??[]}))),valueFormatter:this.valueFormatter})}renderZoomSlider(){const t=Math.max(1,this.dataLength()-1);const e=this.win();const i=e=>e/t*100;const n=t=>String(this.xAxis?.data?.[t]??t);return s("div",{class:"md-line-chart__zoom",part:"zoom"},s("md-slider",{class:"md-line-chart__zoom-slider",part:"zoom-slider",exportparts:"track: zoom-track, track-active: zoom-window, thumb-knob: zoom-handle",range:true,controlled:true,min:0,max:t,step:1,valueStart:e.start,valueEnd:e.end,ariaLabelStart:this.labelZoomStart,ariaLabelEnd:this.labelZoomEnd,valueStartText:n(e.start),valueEndText:n(e.end),onMdInput:this.onZoomSliderInput,onMdChange:this.onZoomSliderEvent,onMdDragStart:this.onZoomSliderEvent,onMdDragEnd:this.onZoomSliderEvent,onMdFocus:this.onZoomSliderEvent,onMdBlur:this.onZoomSliderEvent}),s("div",{class:"md-line-chart__zoom-pan",part:"zoom-pan",style:{insetInlineStart:`calc(${i(e.start)}% + var(--_zoom-pan-inset))`,inlineSize:`max(0px, calc(${i(e.end)-i(e.start)}% - 2 * var(--_zoom-pan-inset)))`},onPointerDown:this.onZoomPanDown}))}render(){const t=this.merged.xValues;const e=this.summary||m({title:this.label,chartType:this.area?"area":"line",seriesCount:this.series.length,xMin:t[0],xMax:t[t.length-1],locale:this.locale});const i=this.series.length===0&&!this.loading;return s(n,{key:"c9752b87ab832527211bb0497898086d84035fca",class:{"md-line-chart":true,"md-line-chart--empty":i,"md-line-chart--loading":this.loading,"md-line-chart--mounted":this.mounted,"md-line-chart--zoom-slider":this.zoomSliderOn,"md-line-chart--zoom-drag":this.zoomInside},role:"figure","aria-label":e,"aria-busy":this.loading?"true":null,style:this.heightProp?{blockSize:this.heightProp}:undefined,onPointerDown:this.onPlotPointerDown,onPointerMove:this.onPointerMove,onPointerUp:this.onPointerUp,onPointerCancel:this.onPointerUp,onDblClick:this.onPlotDblClick},s("header",{key:"63ad5739447778ace54a78a730d0443133af01ba",class:"md-line-chart__header",part:"header"},s("slot",{key:"154b9768046137c2ed967ec1061a0387151d8b76",name:"header"})),s("div",{key:"ed871f526015fd9b3db82957513c06ba3fa0edc1",class:"md-line-chart__canvas",part:"canvas",ref:t=>this.bindChartHost(t),tabindex:i?undefined:"0",role:i?undefined:"application","aria-label":i?undefined:this.labelPlot,onKeyDown:this.onPlotKeyDown,onBlur:this.onPlotBlur}),i&&s("div",{key:"23fce2485b0a1590299fb0120a668c0c034d92d2",class:"md-line-chart__empty",part:"empty"},s("slot",{key:"cf57085190c31f2c5e1087a902d8cd7bc4984235",name:"empty"},this.labelEmpty)),this.loading&&s("div",{key:"3a316ef05ecfb9ded081cd5c8b539aa63c872a2a",class:"md-line-chart__loading",part:"loading",role:"status"},s("slot",{key:"6531dbf774e55a44da05479565c379685909925b",name:"loader"},s("slot",{key:"c2f9e0f398ca2ae00822e937e77c4f787df65553",name:"loading"},s("md-progress-indicator",{key:"e10d1a968964074a92a361268181e936f04fcde7",class:"md-line-chart__spinner",variant:"circular",indeterminate:true,label:this.loadingLabel}),s("span",{key:"4edc04776013ac2943ef6254020d27624c27d9cb",class:"md-line-chart__loading-text"},this.loadingLabel)))),this.dragBand&&Math.abs(this.dragBand.x2-this.dragBand.x1)>1&&s("div",{key:"8547c35490526fb8d50bbb107d73bfa26fd88d98",class:"md-line-chart__zoom-band",part:"zoom-band",style:this.zoomBandStyle()}),this.zoomSliderOn&&this.renderZoomSlider(),s("footer",{key:"460051b9bc689dfdb996daf035c8126a6e9bd8b4",class:"md-line-chart__footer",part:"footer"},s("slot",{key:"435023505957f2720810cd2dd18b4c6249b97ecc",name:"footer"})),s("div",{key:"1b34870e30dfb989dfd17ca86988dcbb795d9e51",class:"md-line-chart__a11y-table",ref:t=>this.bindA11yTableHost(t)}),s("div",{key:"60422b9008272276b89eff6ce136a07599ab9d56",class:"md-line-chart__live",role:"status","aria-live":"polite","aria-atomic":"true"},this.announcement))}get el(){return this}static get watchers(){return{series:[{onAnyPropChange:0}],xAxis:[{onAnyPropChange:0}],yAxis:[{onAnyPropChange:0}],yAxes:[{onAnyPropChange:0}],curve:[{onAnyPropChange:0}],stack:[{onAnyPropChange:0}],area:[{onAnyPropChange:0}],showLine:[{onAnyPropChange:0}],legend:[{onAnyPropChange:0}],tooltip:[{onAnyPropChange:0}],grid:[{onAnyPropChange:0}],axisTicks:[{onAnyPropChange:0}],inverted:[{onAnyPropChange:0}],showLabels:[{onAnyPropChange:0}],seriesLabels:[{onAnyPropChange:0}],connectNulls:[{onAnyPropChange:0}],showMarks:[{onAnyPropChange:0}],lineWidth:[{onAnyPropChange:0}],markSize:[{onAnyPropChange:0}],label:[{onAnyPropChange:0}],subtitle:[{onAnyPropChange:0}],markLines:[{onAnyPropChange:0}],titleAlign:[{onAnyPropChange:0}],animation:[{onAnyPropChange:0}],animationDuration:[{onAnyPropChange:0}],tooltipRenderer:[{onAnyPropChange:0}],valueFormatter:[{onAnyPropChange:0}],loading:[{onLoadingChange:0}]}}static get style(){return v()}},[257,"md-line-chart",{label:[1],subtitle:[1],markLines:[16],titleAlign:[1,"title-align"],series:[16],xAxis:[16],yAxis:[16],yAxes:[16],curve:[1],stack:[1],connectNulls:[4,"connect-nulls"],showMarks:[4,"show-marks"],lineWidth:[2,"line-width"],markSize:[2,"mark-size"],area:[4],showLine:[4,"show-line"],legend:[513],tooltip:[1],grid:[1],axisTicks:[4,"axis-ticks"],inverted:[4],showLabels:[4,"show-labels"],seriesLabels:[4,"series-labels"],zoom:[1],locale:[1],labelEmpty:[1,"label-empty"],labelPlot:[1,"label-plot"],labelPoint:[1,"label-point"],labelZoomStart:[1,"label-zoom-start"],labelZoomEnd:[1,"label-zoom-end"],summary:[1],tableLabels:[16],valueFormatter:[16],tooltipRenderer:[16],heightProp:[1,"height"],noAnimation:[4,"no-animation"],animation:[1],animationDuration:[2,"animation-duration"],loading:[516],loadingLabel:[1,"loading-label"],density:[514],mounted:[32],kbIndex:[32],announcement:[32],zoomWin:[32],dragBand:[32],refreshTheme:[64],resize:[64],replay:[64],toDataURL:[64],getInstance:[64],setZoom:[64],resetZoom:[64]},undefined,{series:[{onAnyPropChange:0}],xAxis:[{onAnyPropChange:0}],yAxis:[{onAnyPropChange:0}],yAxes:[{onAnyPropChange:0}],curve:[{onAnyPropChange:0}],stack:[{onAnyPropChange:0}],area:[{onAnyPropChange:0}],showLine:[{onAnyPropChange:0}],legend:[{onAnyPropChange:0}],tooltip:[{onAnyPropChange:0}],grid:[{onAnyPropChange:0}],axisTicks:[{onAnyPropChange:0}],inverted:[{onAnyPropChange:0}],showLabels:[{onAnyPropChange:0}],seriesLabels:[{onAnyPropChange:0}],connectNulls:[{onAnyPropChange:0}],showMarks:[{onAnyPropChange:0}],lineWidth:[{onAnyPropChange:0}],markSize:[{onAnyPropChange:0}],label:[{onAnyPropChange:0}],subtitle:[{onAnyPropChange:0}],markLines:[{onAnyPropChange:0}],titleAlign:[{onAnyPropChange:0}],animation:[{onAnyPropChange:0}],animationDuration:[{onAnyPropChange:0}],tooltipRenderer:[{onAnyPropChange:0}],valueFormatter:[{onAnyPropChange:0}],loading:[{onLoadingChange:0}]}]);function k(){if(typeof customElements==="undefined"){return}const t=["md-line-chart","md-progress-indicator","md-slider"];t.forEach((t=>{switch(t){case"md-line-chart":if(!customElements.get(a(t))){customElements.define(a(t),_)}break;case"md-progress-indicator":if(!customElements.get(a(t))){o()}break;case"md-slider":if(!customElements.get(a(t))){r()}break}}))}k();const z=_;const A=k;export{z as MdLineChart,A as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=md-line-chart.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as t,H as e,c as i,h as s,d as a,t as n}from"./p-CB5yqdO-.js";import{t as r}from"./p-DYBUr7K_.js";import{s as o,a as l,S as d}from"./p-BdEoSBtL.js";import{d as m}from"./p-BbY1uep7.js";import{d as c}from"./p-Cqg4krGd.js";import{d as p}from"./p-CfwUHJJY.js";import{d as h}from"./p-CPjaB7Lv.js";const g=()=>`:host{--_container-color:var(--md-list-item-container-color, var(--md-sys-color-surface, #fef7ff));--_container-shape:var(--md-list-item-container-shape, 0px);--_container-shape-start-start:var(--md-list-item-container-shape-start-start, var(--_container-shape));--_container-shape-start-end:var(--md-list-item-container-shape-start-end, var(--_container-shape));--_container-shape-end-start:var(--md-list-item-container-shape-end-start, var(--_container-shape));--_container-shape-end-end:var(--md-list-item-container-shape-end-end, var(--_container-shape));--_hover-container-shape:var(--md-list-item-hover-container-shape, var(--md-list-item-active-container-shape, 0px));--_focus-container-shape:calc(var(--md-list-item-focus-container-shape, var(--md-list-item-active-container-shape, var(--md-sys-shape-corner-large, 16px))) * var(--md-sys-shape-morph-enabled, 1));--_pressed-container-shape:calc(var(--md-list-item-pressed-container-shape, var(--md-list-item-active-container-shape, var(--md-sys-shape-corner-large, 16px))) * var(--md-sys-shape-morph-enabled, 1));--_selected-container-shape:calc(var(--md-list-item-selected-container-shape, var(--md-list-item-active-container-shape, var(--md-sys-shape-corner-large, 16px))) * var(--md-sys-shape-morph-enabled, 1));--_dragged-container-shape:var(--md-list-item-dragged-container-shape, var(--md-list-item-active-container-shape, var(--md-sys-shape-corner-large, 16px)));--_label-text-color:var(--md-list-item-label-text-color, var(--md-sys-color-on-surface, #1c1b1f));--_label-text-font:var(--md-list-item-label-text-font, var(--md-sys-typescale-body-large-font-family, Roboto, sans-serif));--_supporting-text-color:var(--md-list-item-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_supporting-text-font:var(--md-list-item-supporting-text-font, var(--md-sys-typescale-body-medium-font-family, Roboto, sans-serif));--_overline-color:var(--md-list-item-overline-color, var(--md-sys-color-on-surface-variant, #49454f));--_trailing-supporting-text-color:var(--md-list-item-trailing-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_trailing-supporting-text-font:var(--md-list-item-trailing-supporting-text-font, var(--md-sys-typescale-label-small-font-family, Roboto, sans-serif));--_leading-icon-color:var(--md-list-item-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_leading-icon-size:var(--md-list-item-leading-icon-size, max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px)));--_leading-icon-expressive-size:var(--md-list-item-leading-icon-expressive-size, max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px)));--_trailing-icon-color:var(--md-list-item-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_unselected-trailing-icon-color:var(--md-list-item-unselected-trailing-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_trailing-icon-size:var(--md-list-item-trailing-icon-size, max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px)));--_trailing-icon-expressive-size:var(--md-list-item-trailing-icon-expressive-size, max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px)));--_leading-avatar-color:var(--md-list-item-leading-avatar-color, var(--md-sys-color-primary-container, #eaddff));--_leading-avatar-label-color:var(--md-list-item-leading-avatar-label-color, var(--md-sys-color-on-primary-container, #21005d));--_leading-avatar-size:var(--md-list-item-leading-avatar-size, 40px);--_leading-avatar-shape:var(--md-list-item-leading-avatar-shape, var(--md-sys-shape-corner-full, 9999px));--_leading-image-width:var(--md-list-item-leading-image-width, 56px);--_leading-image-height:var(--md-list-item-leading-image-height, 56px);--_leading-image-shape:var(--md-list-item-leading-image-shape, var(--md-sys-shape-corner-none, 0px));--_leading-image-expressive-shape:var(--md-list-item-leading-image-expressive-shape, var(--md-sys-shape-corner-small, 8px));--_leading-image-selection-scrim-color:var( --md-list-item-leading-image-selection-scrim-color, color-mix(in srgb, var(--md-sys-color-scrim, #000000) 32%, transparent) );--_leading-image-selection-circle-color:var( --md-list-item-leading-image-selection-circle-color, color-mix(in srgb, var(--md-sys-color-on-surface, #1d1b20) 60%, transparent) );--_leading-image-selection-icon-color:var( --md-list-item-leading-image-selection-icon-color, var(--md-sys-color-surface, #fef7ff) );--_leading-image-selection-icon-size:var(--md-list-item-leading-image-selection-icon-size, 24px);--_leading-video-width:var(--md-list-item-leading-video-width, 100px);--_leading-video-height:var(--md-list-item-leading-video-height, 56px);--_leading-video-shape:var(--md-list-item-leading-video-shape, var(--md-sys-shape-corner-small, 8px));--_selected-container-color:var(--md-list-item-selected-container-color, var(--md-sys-color-secondary-container, #e8def8));--_selected-label-text-color:var(--md-list-item-selected-label-text-color, var(--md-sys-color-on-secondary-container, #4a4458));--_selected-active-icon-color:var(--md-list-item-selected-active-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_selected-disabled-container-color:var( --md-list-item-selected-disabled-container-color, color-mix(in srgb, var(--md-sys-color-on-surface, #1d1b20) 12%, transparent) );--_state-layer-color:var(--md-sys-color-on-surface, #1c1b1f);--_hover-state-layer-opacity:var(--md-list-item-hover-state-layer-opacity, var(--md-sys-state-hover-state-layer-opacity, 0.08));--_focus-state-layer-opacity:var(--md-list-item-focus-state-layer-opacity, 0.1);--_pressed-state-layer-opacity:var(--md-list-item-pressed-state-layer-opacity, 0.1);--_dragged-state-layer-opacity:var(--md-list-item-dragged-state-layer-opacity, 0.16);--_disabled-state-layer-opacity:var(--md-list-item-disabled-state-layer-opacity, 0);--_leading-space:var(--md-list-item-leading-space, var(--md-sys-spacing-inset-lg, 16px));--_trailing-space:var(--md-list-item-trailing-space, var(--md-sys-spacing-inset-lg, 16px));--_top-space:var(--md-list-item-top-space, max(2px, calc(8px + var(--md-sys-density-scale, 0) * 1.5px)));--_bottom-space:var(--md-list-item-bottom-space, max(2px, calc(8px + var(--md-sys-density-scale, 0) * 1.5px)));--_between-space:var(--md-list-item-between-space, max(8px, var(--md-sys-spacing-gap-md, 12px)));--_three-line-top-space:var(--md-list-item-three-line-top-space, max(2px, calc(12px + var(--md-sys-density-scale, 0) * 2.5px)));--_three-line-bottom-space:var(--md-list-item-three-line-bottom-space, max(2px, calc(12px + var(--md-sys-density-scale, 0) * 2.5px)));--_density-delta:calc(var(--md-sys-density-scale, 0) * 4px);--_density-delta-multi:calc(var(--md-sys-density-scale, 0) * 6px);--_dragged-container-elevation:var(--md-list-item-dragged-container-elevation, var(--md-sys-elevation-4, 0px 6px 10px 4px rgba(0,0,0,0.15), 0px 2px 3px rgba(0,0,0,0.3)));--_expand-chevron-color:var(--md-list-item-expand-chevron-color, var(--md-sys-color-on-surface-variant, #49454f));--_expand-duration:var(--md-list-item-expand-duration, var(--md-sys-motion-duration-medium3, 350ms));--_collapse-duration:var(--md-list-item-collapse-duration, var(--md-sys-motion-duration-short4, 200ms));--_expand-easing:var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1));--_collapse-easing:var(--md-sys-motion-easing-emphasized-accelerate, cubic-bezier(0.3, 0, 0.8, 0.15));--_expanded-panel-padding-block:var(--md-list-item-expanded-panel-padding-block, 0px);--_expanded-panel-padding-inline:var(--md-list-item-expanded-panel-padding-inline, 0px);--_expanded-panel-padding-inline-start:var( --md-list-item-expanded-panel-padding-inline-start, var(--md-list-item-expanded-panel-padding-inline, 0px) );--_expanded-panel-background:var(--md-list-item-expanded-panel-background, transparent);display:block;position:relative;background-color:var(--_container-color);color:var(--_label-text-color);border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end);box-sizing:border-box;-webkit-tap-highlight-color:transparent;outline:none;overflow:clip;transition:box-shadow var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-start-start-radius var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)), border-start-end-radius var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)), border-end-start-radius var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)), border-end-end-radius var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1))}.md-list-item__row{display:flex;align-items:center;position:relative;min-block-size:calc(56px + var(--_density-delta));padding-block-start:var(--_top-space);padding-block-end:var(--_bottom-space);padding-inline-start:var(--_leading-space);padding-inline-end:var(--_trailing-space);gap:var(--_between-space);box-sizing:border-box;overflow:hidden;transition:border-start-start-radius var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)), border-start-end-radius var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)), border-end-start-radius var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)), border-end-end-radius var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1))}:host(.md-list-item--interactive) .md-list-item__row{cursor:pointer;user-select:none}:host(.md-list-item--type-text:not(.md-list-item--selection-mode):not(.md-list-item--expandable)) .md-list-item__row{cursor:default}.md-list-item__primary{display:flex;align-items:center;flex:1 1 auto;min-inline-size:0;gap:var(--_between-space);appearance:none;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:inherit;text-decoration:none;cursor:inherit;outline:none;-webkit-tap-highlight-color:transparent}:host(.md-list-item--3-line) .md-list-item__primary{align-items:flex-start;align-self:stretch}:host(.md-list-item--1-line) .md-list-item__row{min-block-size:calc(56px + var(--_density-delta))}:host(.md-list-item--2-line) .md-list-item__row{min-block-size:calc(72px + var(--_density-delta-multi))}:host(.md-list-item--3-line) .md-list-item__row{min-block-size:calc(88px + var(--_density-delta-multi));padding-block-start:var(--_three-line-top-space);padding-block-end:var(--_three-line-bottom-space);align-items:flex-start}:host(.md-list-item--with-video){--_top-space:var(--md-list-item-leading-video-top-space, max(4px, calc(12px + var(--md-sys-density-scale, 0) * 2px)));--_bottom-space:max(4px, calc(12px + var(--md-sys-density-scale, 0) * 2px))}:host(.md-list-item--3-line) .md-list-item__leading{align-self:flex-start;}:host(.md-list-item--3-line.md-list-item--with-avatar) .md-list-item__leading{align-self:center}:host(.md-list-item--3-line:has(md-avatar[slot='leading'])) .md-list-item__leading{align-self:center}:host(.md-list-item--3-line) .md-list-item__trailing{align-self:stretch;flex-direction:column;align-items:flex-end;justify-content:flex-start;gap:0}:host(.md-list-item--3-line) .md-list-item__trailing-icon{margin-block:auto}:host-context(.md-list--standard),:host-context(.md-list--segmented){--_leading-icon-size:var(--md-list-item-leading-icon-size, var(--_leading-icon-expressive-size));--_trailing-icon-size:var(--md-list-item-trailing-icon-size, var(--_trailing-icon-expressive-size));--_leading-image-shape:var(--md-list-item-leading-image-shape, var(--_leading-image-expressive-shape))}:host-context(.md-list--standard):host(:first-of-type){--md-list-item-container-shape-start-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-start-end:var(--md-sys-shape-corner-large, 16px)}:host-context(.md-list--standard):host(:last-of-type){--md-list-item-container-shape-end-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-end-end:var(--md-sys-shape-corner-large, 16px)}:host-context(.md-list--standard):host(:only-of-type){--md-list-item-container-shape-start-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-start-end:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-end-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-end-end:var(--md-sys-shape-corner-large, 16px)}:host(.md-list-item--expandable.md-list-item--expanded){--md-list-item-container-shape-end-start:0px;--md-list-item-container-shape-end-end:0px}:host-context(.md-list--segmented){--_container-shape:var(--md-list-item-container-shape, var(--md-sys-shape-corner-extra-small, 4px))}:host-context(.md-list--segmented):host(:first-of-type){--md-list-item-container-shape-start-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-start-end:var(--md-sys-shape-corner-large, 16px)}:host-context(.md-list--segmented):host(:last-of-type){--md-list-item-container-shape-end-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-end-end:var(--md-sys-shape-corner-large, 16px)}:host-context(.md-list--segmented):host(:only-of-type){--md-list-item-container-shape-start-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-start-end:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-end-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-end-end:var(--md-sys-shape-corner-large, 16px)}.md-list-item__state-layer{position:absolute;inset:0;border-radius:inherit;background-color:var(--_state-layer-color);opacity:0;transition:opacity var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1));pointer-events:none}:host(.md-list-item--interactive) .md-list-item__row:hover .md-list-item__state-layer{opacity:var(--_hover-state-layer-opacity)}:host(.md-list-item--interactive:focus-visible) .md-list-item__state-layer,:host(.md-list-item--interactive.md-list-item--roving-focus-visible:not(:focus)) .md-list-item__state-layer{opacity:var(--_focus-state-layer-opacity)}:host(.md-list-item--interactive:has(.md-list-item__primary:focus-visible)) .md-list-item__state-layer{opacity:var(--_focus-state-layer-opacity)}:host(.md-list-item--interactive) .md-list-item__row:active .md-list-item__state-layer,:host(.md-list-item--pressed) .md-list-item__state-layer{opacity:var(--_pressed-state-layer-opacity)}:host(.md-list-item--dragged) .md-list-item__state-layer{opacity:var(--_dragged-state-layer-opacity)}:host(.md-list-item--dragged) md-ripple{display:none}:host(.md-list-item--dragged){box-shadow:var(--_dragged-container-elevation);z-index:1}:host(.md-list-item--interactive:focus-visible),:host(.md-list-item--interactive.md-list-item--roving-focus-visible:not(:focus)){box-shadow:inset 0 0 0 3px var(--md-sys-color-secondary, #625b71);outline:none;z-index:1}:host(.md-list-item--interactive:has(.md-list-item__primary:focus-visible)){box-shadow:inset 0 0 0 3px var(--md-sys-color-secondary, #625b71);outline:none;z-index:1}:host(.md-list-item--dragged:focus-visible){box-shadow:var(--_dragged-container-elevation), inset 0 0 0 3px var(--md-sys-color-secondary, #625b71)}:host(.md-list-item--interactive:focus-visible),:host(.md-list-item--interactive.md-list-item--roving-focus-visible:not(:focus)),:host(.md-list-item--selected),:host(.md-list-item--interactive:active),:host(.md-list-item--pressed),:host(.md-list-item--dragged){transition:box-shadow var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-start-start-radius var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-start-end-radius var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-end-start-radius var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-end-end-radius var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}:host(.md-list-item--interactive:focus-visible) .md-list-item__row,:host(.md-list-item--interactive.md-list-item--roving-focus-visible:not(:focus)) .md-list-item__row,:host(.md-list-item--selected) .md-list-item__row,:host(.md-list-item--interactive:active) .md-list-item__row,:host(.md-list-item--pressed) .md-list-item__row,:host(.md-list-item--dragged) .md-list-item__row{transition:border-start-start-radius var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-start-end-radius var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-end-start-radius var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-end-end-radius var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}:host(.md-list-item--interactive:focus-visible),:host(.md-list-item--interactive.md-list-item--roving-focus-visible:not(:focus)),:host(.md-list-item--interactive:focus-visible) .md-list-item__row,:host(.md-list-item--interactive.md-list-item--roving-focus-visible:not(:focus)) .md-list-item__row{border-start-start-radius:max(var(--_container-shape-start-start), var(--_focus-container-shape));border-start-end-radius:max(var(--_container-shape-start-end), var(--_focus-container-shape));border-end-start-radius:max(var(--_container-shape-end-start), var(--_focus-container-shape));border-end-end-radius:max(var(--_container-shape-end-end), var(--_focus-container-shape))}:host(.md-list-item--selected),:host(.md-list-item--selected) .md-list-item__row{border-start-start-radius:max(var(--_container-shape-start-start), var(--_selected-container-shape));border-start-end-radius:max(var(--_container-shape-start-end), var(--_selected-container-shape));border-end-start-radius:max(var(--_container-shape-end-start), var(--_selected-container-shape));border-end-end-radius:max(var(--_container-shape-end-end), var(--_selected-container-shape))}:host(.md-list-item--interactive:active),:host(.md-list-item--pressed),:host(.md-list-item--dragged),:host(.md-list-item--interactive:active) .md-list-item__row,:host(.md-list-item--pressed) .md-list-item__row,:host(.md-list-item--dragged) .md-list-item__row{border-start-start-radius:max(var(--_container-shape-start-start), var(--_pressed-container-shape));border-start-end-radius:max(var(--_container-shape-start-end), var(--_pressed-container-shape));border-end-start-radius:max(var(--_container-shape-end-start), var(--_pressed-container-shape));border-end-end-radius:max(var(--_container-shape-end-end), var(--_pressed-container-shape))}:host(.md-list-item--dragged),:host(.md-list-item--dragged) .md-list-item__row{border-start-start-radius:max(var(--_container-shape-start-start), var(--_dragged-container-shape));border-start-end-radius:max(var(--_container-shape-start-end), var(--_dragged-container-shape));border-end-start-radius:max(var(--_container-shape-end-start), var(--_dragged-container-shape));border-end-end-radius:max(var(--_container-shape-end-end), var(--_dragged-container-shape))}:host(.md-list-item--selected){--_container-color:var(--_selected-container-color);--_label-text-color:var(--_selected-label-text-color);--_supporting-text-color:var(--_selected-label-text-color);--_overline-color:var(--_selected-label-text-color);--_leading-icon-color:var(--_selected-label-text-color);--_trailing-icon-color:var(--_selected-label-text-color);--_trailing-supporting-text-color:var(--_selected-label-text-color);--_state-layer-color:var(--_selected-label-text-color);--_expand-chevron-color:var(--_selected-label-text-color)}:host(.md-list-item--selection-mode:not(.md-list-item--selected)){--_trailing-icon-color:var(--_unselected-trailing-icon-color)}:host(.md-list-item--selected.md-list-item--interactive:hover),:host(.md-list-item--selected.md-list-item--interactive:focus-visible),:host(.md-list-item--selected.md-list-item--interactive.md-list-item--roving-focus-visible:not(:focus)),:host(.md-list-item--selected.md-list-item--interactive:active),:host(.md-list-item--selected.md-list-item--pressed),:host(.md-list-item--selected.md-list-item--dragged){--_leading-icon-color:var(--_selected-active-icon-color);--_trailing-icon-color:var(--_selected-active-icon-color)}:host(.md-list-item--expandable),:host(.md-list-item--expandable[selected]),:host(.md-list-item--expandable.md-list-item--selected),:host(.md-list-item--expandable.md-list-item--selected.md-list-item--interactive:hover),:host(.md-list-item--expandable.md-list-item--selected.md-list-item--interactive:focus-visible),:host(.md-list-item--expandable.md-list-item--selected.md-list-item--interactive:active),:host(.md-list-item--expandable.md-list-item--selected.md-list-item--pressed),:host(.md-list-item--expandable.md-list-item--selected.md-list-item--dragged){--_container-color:var(--md-list-item-container-color, var(--md-sys-color-surface, #fef7ff));--_label-text-color:var(--md-list-item-label-text-color, var(--md-sys-color-on-surface, #1c1b1f));--_supporting-text-color:var(--md-list-item-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_overline-color:var(--md-list-item-overline-color, var(--md-sys-color-on-surface-variant, #49454f));--_leading-icon-color:var(--md-list-item-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_trailing-icon-color:var(--md-list-item-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_trailing-supporting-text-color:var( --md-list-item-trailing-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f) );--_state-layer-color:var(--md-sys-color-on-surface, #1c1b1f);--_expand-chevron-color:var(--md-list-item-expand-chevron-color, var(--md-sys-color-on-surface-variant, #49454f))}:host(.md-list-item--expandable.md-list-item--selected),:host(.md-list-item--expandable.md-list-item--selected) .md-list-item__row{border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end)}:host(.md-list-item--disabled){cursor:default;pointer-events:none;--_label-text-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1c1b1f) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);--_supporting-text-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1c1b1f) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);--_overline-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1c1b1f) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);--_leading-icon-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1c1b1f) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);--_trailing-icon-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1c1b1f) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);--_trailing-supporting-text-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1c1b1f) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);--_expand-chevron-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1c1b1f) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent)}:host(.md-list-item--disabled) .md-list-item__state-layer{opacity:var(--_disabled-state-layer-opacity)}:host(.md-list-item--selected.md-list-item--disabled){--_container-color:var(--_selected-disabled-container-color)}:host([soft-disabled]){pointer-events:auto}:host([soft-disabled]) .md-list-item__row{cursor:default}:host([soft-disabled]) .md-list-item__state-layer{display:none}.md-list-item__leading{display:flex;align-items:center;justify-content:center;flex-shrink:0;min-inline-size:24px;color:var(--_leading-icon-color)}.md-list-item__leading--empty,.md-list-item__overline--empty,.md-list-item__supporting-text--empty,.md-list-item__trailing-text--empty{display:none}.md-list-item__icon{font-size:var(--_leading-icon-size);inline-size:var(--_leading-icon-size);block-size:var(--_leading-icon-size);line-height:1;color:var(--_leading-icon-color);font-variation-settings:'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;transition:font-variation-settings var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}:host(.md-list-item--expanded) .md-list-item__icon{font-variation-settings:'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24}md-avatar.md-list-item__avatar{--md-avatar-size:var(--_leading-avatar-size);--md-avatar-container-shape:var(--_leading-avatar-shape);--md-avatar-container-color:var(--_leading-avatar-color);--md-avatar-label-color:var(--_leading-avatar-label-color)}.md-list-item__image-wrap{position:relative;display:inline-flex;flex-shrink:0;inline-size:var(--_leading-image-width);block-size:var(--_leading-image-height);border-radius:var(--_leading-image-shape);overflow:hidden}.md-list-item__image{inline-size:100%;block-size:100%;object-fit:cover}.md-list-item__image-selection-indicator{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background-color:var(--_leading-image-selection-scrim-color);pointer-events:none;opacity:0;transition:opacity var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}:host(.md-list-item--selected) .md-list-item__image-selection-indicator{opacity:1}.md-list-item__image-selection-circle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;inline-size:var(--_leading-image-selection-icon-size);block-size:var(--_leading-image-selection-icon-size);border-radius:var(--md-sys-shape-corner-full, 9999px);background-color:var(--_leading-image-selection-circle-color);transform:scale(0);opacity:0}:host(.md-list-item--selected) .md-list-item__image-selection-circle{animation:md-list-item-image-selection-in var(--md-sys-motion-duration-medium2, 250ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)) both}@keyframes md-list-item-image-selection-in{0%{transform:scale(0);opacity:0}60%{transform:scale(1.08);opacity:1}100%{transform:scale(1);opacity:1}}.md-list-item__image-selection-check.material-symbols-outlined{display:inline-flex;align-items:center;justify-content:center;inline-size:calc(var(--_leading-image-selection-icon-size) * 0.667);block-size:calc(var(--_leading-image-selection-icon-size) * 0.667);font-size:calc(var(--_leading-image-selection-icon-size) * 0.667);line-height:1;color:var(--_leading-image-selection-icon-color);font-weight:normal;font-variation-settings:'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24}::slotted([slot="leading"]){display:inline-flex;align-items:center;justify-content:center;color:var(--_leading-icon-color);fill:currentColor}::slotted(video[slot="leading"]){inline-size:var(--_leading-video-width);block-size:var(--_leading-video-height);border-radius:var(--_leading-video-shape);object-fit:cover}.md-list-item__content{flex:1;display:flex;flex-direction:column;min-inline-size:0;overflow:hidden;gap:0}.md-list-item__overline{font-family:var(--md-sys-typescale-label-small-font-family, Roboto, sans-serif);font-size:var(--md-sys-typescale-label-small-font-size, 11px);font-weight:var(--md-sys-typescale-label-small-font-weight, 500);line-height:var(--md-sys-typescale-label-small-line-height, 16px);letter-spacing:var(--md-sys-typescale-label-small-letter-spacing, 0.5px);color:var(--_overline-color);contain:inline-size;min-inline-size:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;text-transform:uppercase;transition:none}.md-list-item__headline{font-family:var(--_label-text-font);font-size:max(13px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));font-weight:var(--md-sys-typescale-body-large-font-weight, 400);line-height:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));letter-spacing:var(--md-sys-typescale-body-large-letter-spacing, 0.5px);color:var(--_label-text-color);display:block;contain:inline-size;min-inline-size:0;max-inline-size:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;transition:none}.md-list-item__supporting-text{font-family:var(--_supporting-text-font);font-size:max(11px, calc(14px + var(--md-sys-density-scale, 0) * 0.5px));font-weight:var(--md-sys-typescale-body-medium-font-weight, 400);line-height:max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px));letter-spacing:var(--md-sys-typescale-body-medium-letter-spacing, 0.25px);color:var(--_supporting-text-color);display:block;contain:inline-size;min-inline-size:0;max-inline-size:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;transition:none}:host(.md-list-item--3-line) .md-list-item__supporting-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal}md-tooltip.md-list-item__headline-tooltip,md-tooltip.md-list-item__supporting-tooltip{display:block;min-inline-size:0;max-inline-size:100%;overflow:hidden;--md-tooltip-plain-max-inline-size:320px}md-tooltip.md-list-item__supporting-tooltip--empty{display:none}.md-list-item__trailing{display:flex;align-items:center;gap:4px;flex-shrink:0;color:var(--_trailing-icon-color)}.md-list-item__trailing-text{font-family:var(--_trailing-supporting-text-font);font-size:var(--md-sys-typescale-label-small-font-size, 11px);font-weight:var(--md-sys-typescale-label-small-font-weight, 500);line-height:var(--md-sys-typescale-label-small-line-height, 16px);color:var(--_trailing-supporting-text-color);white-space:nowrap}.md-list-item__trailing-icon{display:inline-flex;align-items:center;justify-content:center;font-size:var(--_trailing-icon-size);inline-size:var(--_trailing-icon-size);block-size:var(--_trailing-icon-size);line-height:1;color:var(--_trailing-icon-color)}::slotted([slot="trailing"]:not(md-badge)){display:inline-flex;align-items:center;justify-content:center;color:var(--_trailing-icon-color);fill:currentColor;pointer-events:auto}::slotted(md-badge[slot="trailing"]){display:inline-flex;align-items:center;justify-content:center;pointer-events:auto;position:static;inset-block-start:auto;inset-inline-end:auto;transform:none;flex-shrink:0}:host(.md-list-item--3-line) ::slotted(md-badge[slot="trailing"]){margin-block:auto}.md-list-item__drag-handle.material-symbols-outlined{display:inline-flex;align-items:center;justify-content:center;inline-size:24px;block-size:24px;flex-shrink:0;font-size:22px;line-height:1;color:var(--_trailing-icon-color);opacity:0.55;cursor:grab;touch-action:none;pointer-events:auto;transition:opacity var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), transform var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), color var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}.md-list-item__drag-handle.material-symbols-outlined:hover{opacity:1;color:var(--md-sys-color-on-surface, #1c1b1f);transform:scale(1.08)}.md-list-item__drag-handle.material-symbols-outlined:active{cursor:grabbing}:host(.md-list-item--dragged) .md-list-item__drag-handle{opacity:1;color:var(--md-sys-color-on-surface, #1c1b1f);cursor:grabbing}:host(.md-list-item--shifting){transition:transform var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1));will-change:transform}.md-list-item__expand-button{flex-shrink:0;--md-icon-button-container-width:var(--md-list-item-expand-button-size, 32px);--md-icon-button-container-height:var(--md-list-item-expand-button-size, 32px);--md-icon-button-icon-size:var(--md-list-item-expand-chevron-size, 24px);--md-icon-button-icon-color:var(--_expand-chevron-color);--md-icon-button-state-layer-color:var(--_expand-chevron-color);margin-inline-end:-4px}.md-list-item__expand-button--expanded{--md-icon-button-container-color:var(--md-sys-color-primary, #6750a4);--md-icon-button-icon-color:var(--md-sys-color-on-primary, #ffffff);--md-icon-button-state-layer-color:var(--md-sys-color-on-primary, #ffffff);--md-icon-button-outline-color:transparent}.md-list-item__expand-button::part(icon){transition:transform var(--md-sys-motion-duration-medium2, 250ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1));transform-origin:center}.md-list-item__expand-button--expanded::part(icon){transform:rotate(180deg)}.md-list-item__expanded-panel{display:grid;grid-template-rows:0fr;opacity:0;background-color:var(--_expanded-panel-background);transition:grid-template-rows var(--_collapse-duration) var(--_collapse-easing), opacity var(--_collapse-duration) var(--_collapse-easing)}:host(.md-list-item--expanded) .md-list-item__expanded-panel{grid-template-rows:1fr;opacity:1;transition:grid-template-rows var(--_expand-duration) var(--_expand-easing), opacity var(--_expand-duration) var(--_expand-easing)}.md-list-item__expanded-panel-inner{min-block-size:0;overflow:hidden;transform:translateY(-8px);transition:transform var(--_collapse-duration) var(--_collapse-easing);padding-block:var(--_expanded-panel-padding-block);padding-inline-start:var(--_expanded-panel-padding-inline-start);padding-inline-end:var(--_expanded-panel-padding-inline)}:host(.md-list-item--expanded) .md-list-item__expanded-panel-inner{transform:translateY(0);transition:transform var(--_expand-duration) var(--_expand-easing)}:host(.md-list-item--expandable) ::slotted(md-list-item[slot="expanded-content"]){--md-list-item-container-shape:0px;--md-list-item-container-shape-start-start:0px;--md-list-item-container-shape-start-end:0px;--md-list-item-container-shape-end-start:0px;--md-list-item-container-shape-end-end:0px;display:block;inline-size:100%;box-sizing:border-box}:host-context(.md-list--standard):host(:last-of-type.md-list-item--expanded) ::slotted(md-list-item[slot="expanded-content"]:last-of-type),:host-context(.md-list--segmented):host(:last-of-type.md-list-item--expanded) ::slotted(md-list-item[slot="expanded-content"]:last-of-type){--md-list-item-container-shape-end-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-end-end:var(--md-sys-shape-corner-large, 16px)}::slotted(md-divider[slot="expanded-content"]){display:block}::slotted([slot="expanded-content"]){display:block}.md-list-item__expanded-panel[hidden]{display:grid}@media (prefers-reduced-motion: reduce){:host{transition-property:box-shadow}.md-list-item__row,.md-list-item__expanded-panel,.md-list-item__expanded-panel-inner,.md-list-item__drag-handle{transition:none}.md-list-item__drag-handle.material-symbols-outlined:hover{transform:none}.md-list-item__expand-button::part(icon){transition:none}.md-list-item__image-selection-indicator{transition:none}:host(.md-list-item--selected) .md-list-item__image-selection-circle{animation:none;transform:scale(1);opacity:1}}.material-symbols-outlined{font-family:var(--md-sys-icon-font-family, 'Material Symbols Outlined', 'Material Icons');font-weight:normal;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;overflow-wrap:normal;direction:ltr;font-feature-settings:'liga';-webkit-font-smoothing:antialiased;pointer-events:none}:host([dir="rtl"]) .md-list-item__trailing-icon[data-rtl-mirror],:host-context([dir="rtl"]) .md-list-item__trailing-icon[data-rtl-mirror]{transform:scaleX(-1)}:host(.md-list-item--with-image) .md-list-item__row{padding-inline-start:16px}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}:host([hidden]){display:none !important}`;let v=0;const u=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.mdClick=i(this,"mdClick",7);this.mdItemClick=i(this,"mdItemClick",7);this.mdItemSelect=i(this,"mdItemSelect",7);this.mdRequestActivation=i(this,"mdRequestActivation",7);this.mdItemRequestReorder=i(this,"mdItemRequestReorder",7);this.mdExpand=i(this,"mdExpand",7);this.type="text";this.headline="";this.overline="";this.supportingText="";this.trailingSupportingText="";this.leadingIcon="";this.trailingIcon="";this.leadingAvatar="";this.leadingAvatarAlt="";this.leadingAvatarName="";this.leadingAvatarLabel="";this.leadingImage="";this.leadingImageAlt="";this.lines=1;this.href="";this.target="_self";this.disabled=false;this.softDisabled=false;this.selected=false;this.expandable=false;this.expanded=false;this.tabbable=true;this.rovingFocusVisible=false;this.selectionMode="none";this.interactionMode="single-action";this.containerRole="";this.reorderable=false;this.density=0;this.hasSlottedLeading=false;this.hasSlottedTrailing=false;this.hasSlottedHeadline=false;this.hasSlottedOverline=false;this.hasSlottedSupportingText=false;this.hasSlottedTrailingSupportingText=false;this.hasSlottedExpandedContent=false;this.hasExpandedListItemChildren=false;this.hasLeadingVideo=false;this.pressed=false;this.hostedByList=false;this.observer=null;this.expandedPanelId=`md-list-item-panel-${++v}`;this.resizeObserver=null;this.truncationRaf=0;this.truncationDebounceTimer=0;this.headlineTruncated=false;this.supportingTruncated=false;this.handleCaretToggle=t=>{t.stopPropagation();this.toggleExpanded()};this.handleClick=t=>{if(!this.isInteractive)return;if(this.isEffectivelyDisabled){t.preventDefault();return}if(this.isDragHandleTarget(t))return;if(this.isTrailingActionTarget(t))return;if(this.isExpandButtonTarget(t))return;if(this.isExpandedContentTarget(t))return;if(this.expandable){this.expanded=!this.expanded;const t=o(this.href);if(this.type==="link"&&t&&!this.hasPrimaryAction){window.open(t,this.target,l)}this.mdClick.emit({item:this.el});return}const e=o(this.href);if(this.type==="link"&&e&&!this.hasPrimaryAction){window.open(e,this.target,l)}this.mdClick.emit({item:this.el});this.mdItemClick.emit({index:this.computeIndex(),selected:this.selected})};this.handleKeyDown=t=>{if(this.reorderable&&!this.isEffectivelyDisabled&&t.altKey&&(t.key==="ArrowUp"||t.key==="ArrowDown")){t.preventDefault();this.mdItemRequestReorder.emit({direction:t.key==="ArrowUp"?"up":"down",from:this.computeIndex()});return}if(!this.isInteractive)return;if(this.expandable&&!this.isEffectivelyDisabled){if(t.key==="ArrowRight"&&!this.expanded){t.preventDefault();this.expanded=true;return}if(t.key==="ArrowLeft"&&this.expanded){t.preventDefault();this.expanded=false;return}}if(t.key==="Enter"||t.key===" "){t.preventDefault();if(!this.isEffectivelyDisabled){this.pressed=true;r(this.el);if(this.type==="link"&&this.primaryEl){this.primaryEl.click()}else{this.el.click()}window.setTimeout((()=>{this.pressed=false}),150)}}};this.handlePointerDown=t=>{if(this.isExpandButtonTarget(t)||this.isTrailingActionTarget(t))return;if(this.isExpandedContentTarget(t))return;if(this.isInteractive&&!this.isEffectivelyDisabled)this.pressed=true};this.handlePointerUp=()=>{this.pressed=false};this.handleFocus=()=>{if(this.hostedByList&&this.isInteractive){this.mdRequestActivation.emit()}};this.scheduleTruncationCheck=()=>{if(this.truncationDebounceTimer)clearTimeout(this.truncationDebounceTimer);this.truncationDebounceTimer=typeof setTimeout!=="undefined"?setTimeout((()=>{this.truncationDebounceTimer=0;this.runTruncationCheck()}),100):0};this.runTruncationCheck=()=>{const t=()=>{this.truncationRaf=0;this.applyTooltipToggle(this.headlineEl,this.headlineTooltipEl,"headlineTruncated",false);this.applyTooltipToggle(this.supportingEl,this.supportingTooltipEl,"supportingTruncated",this.effectiveLines===3)};if(typeof requestAnimationFrame==="function"){if(this.truncationRaf)cancelAnimationFrame(this.truncationRaf);this.truncationRaf=requestAnimationFrame(t)}else{t()}}}get inSelectionMode(){return this.selectionMode!=="none"}get isExpandedContentSlotted(){return this.el.getAttribute("slot")==="expanded-content"}get participatesInSelection(){return this.inSelectionMode&&!this.expandable&&!this.isExpandedContentSlotted}get isMultiAction(){return this.interactionMode==="multi-action"}get isEffectivelyDisabled(){return this.disabled||this.softDisabled}get isInteractive(){return!this.disabled&&(this.type!=="text"||this.inSelectionMode||this.expandable)}get isMenuContext(){return this.containerRole==="menu"||this.containerRole==="menubar"}get hasPrimaryAction(){return!this.participatesInSelection&&!this.reorderable&&!this.isMenuContext&&(this.type==="button"||this.type==="link")}get hasLeadingContent(){return!!this.leadingIcon||!!this.leadingAvatar||!!this.leadingAvatarLabel||!!this.leadingAvatarName||!!this.leadingImage||this.hasSlottedLeading}get hasTrailingContent(){return!!this.trailingIcon||!!this.trailingSupportingText||this.hasSlottedTrailing||this.hasSlottedTrailingSupportingText||this.expandable||this.reorderable}get effectiveLines(){if(this.lines!==1)return this.lines;const t=!!this.overline||this.hasSlottedOverline;const e=!!this.supportingText||this.hasSlottedSupportingText;if(t&&e)return 3;if(t||e)return 2;return 1}componentWillLoad(){const t=this.el.parentElement;this.hostedByList=!!t&&t.tagName==="MD-LIST";if(this.expandable&&this.selected){this.selected=false}if(this.selectionMode==="none"){const t=this.el.getAttribute("data-selection-mode");if(t==="single-select"||t==="multi-select"){this.selectionMode=t}}if(this.interactionMode==="single-action"){const t=this.el.getAttribute("data-interaction-mode");if(t==="multi-action"){this.interactionMode="multi-action"}}this.detectSlottedFromLightDom();if(this.expandable&&this.selected){this.selected=false}}detectSlottedFromLightDom(){if(!this.el||!this.el.children)return;const t=Array.from(this.el.children);const e=e=>t.some((t=>t.getAttribute("slot")===e));const i=e("trailing");if(i!==this.hasSlottedTrailing)this.hasSlottedTrailing=i;const s=e("trailing-supporting-text");if(s!==this.hasSlottedTrailingSupportingText){this.hasSlottedTrailingSupportingText=s}const a=e("headline");if(a!==this.hasSlottedHeadline)this.hasSlottedHeadline=a;const n=e("supporting-text");if(n!==this.hasSlottedSupportingText)this.hasSlottedSupportingText=n;const r=e("overline");if(r!==this.hasSlottedOverline)this.hasSlottedOverline=r;const o=e("leading");if(o!==this.hasSlottedLeading)this.hasSlottedLeading=o;const l=t.some((t=>t.tagName==="VIDEO"&&t.getAttribute("slot")==="leading"));if(l!==this.hasLeadingVideo)this.hasLeadingVideo=l;const d=t.some((t=>t.tagName==="MD-LIST-ITEM"&&t.getAttribute("slot")==="expanded-content"));if(d!==this.hasExpandedListItemChildren){this.hasExpandedListItemChildren=d}}componentDidLoad(){const t=this.el.shadowRoot;if(!t)return;const e=(e,i,s)=>{const a=t.querySelector(`slot[name="${e}"]`);if(!a)return;const n=()=>{try{i(a.assignedElements().length>0)}catch{}s?.()};a.addEventListener("slotchange",n);n()};e("leading",(t=>this.hasSlottedLeading=t));e("trailing",(t=>this.hasSlottedTrailing=t));e("headline",(t=>this.hasSlottedHeadline=t),(()=>this.scheduleTruncationCheck()));e("overline",(t=>this.hasSlottedOverline=t));e("supporting-text",(t=>this.hasSlottedSupportingText=t),(()=>this.scheduleTruncationCheck()));e("trailing-supporting-text",(t=>this.hasSlottedTrailingSupportingText=t));e("expanded-content",(t=>this.hasSlottedExpandedContent=t));if(typeof MutationObserver!=="undefined"){this.observer=new MutationObserver((t=>{let e=false;for(const i of t){if(i.type==="attributes"&&i.target===this.el&&i.attributeName==="data-selection-mode"){const t=this.el.getAttribute("data-selection-mode");if(t==="single-select"||t==="multi-select"){this.selectionMode=t}else if(!t){this.selectionMode="none"}}if(i.type==="attributes"&&i.target===this.el&&i.attributeName==="data-interaction-mode"){const t=this.el.getAttribute("data-interaction-mode");if(t==="multi-action"){this.interactionMode="multi-action"}else if(!t){this.interactionMode="single-action"}}if(i.type==="childList")e=true;if(i.type==="attributes"&&i.attributeName==="slot"&&i.target!==this.el){e=true}}if(e){this.detectSlottedFromLightDom();this.syncExpandedContentSelectionMode();this.syncExpandedContentDividers()}}));this.observer.observe(this.el,{attributes:true,attributeFilter:["data-selection-mode","data-interaction-mode","slot"],childList:true,subtree:true})}if(typeof ResizeObserver!=="undefined"){this.resizeObserver=new ResizeObserver((()=>this.scheduleTruncationCheck()));this.resizeObserver.observe(this.el)}this.runTruncationCheck();this.syncExpandedContentSelectionMode();this.syncExpandedContentDividers()}disconnectedCallback(){this.observer?.disconnect();this.observer=null;this.resizeObserver?.disconnect();this.resizeObserver=null;if(this.truncationDebounceTimer){clearTimeout(this.truncationDebounceTimer);this.truncationDebounceTimer=0}if(this.truncationRaf&&typeof cancelAnimationFrame==="function"){cancelAnimationFrame(this.truncationRaf);this.truncationRaf=0}}onSelectedChange(t){if(this.expandable&&t){this.selected=false}}onExpandableChange(){if(this.expandable&&this.selected){this.selected=false}this.syncExpandedContentSelectionMode();this.syncExpandedContentDividers()}onSelectionModeChange(){this.syncExpandedContentSelectionMode()}onExpandedChange(t,e){if(t!==e){this.mdExpand.emit(this.buildExpandDetail(t))}}onHeadlineChange(){this.scheduleTruncationCheck()}onSupportingTextChange(){this.scheduleTruncationCheck()}resolveFocusTarget(){if(this.hasPrimaryAction&&this.primaryEl)return this.primaryEl;return this.el}async setFocus(t){const e=this.resolveFocusTarget();if(!e)return;if(e.getAttribute("tabindex")===null){e.setAttribute("tabindex",this.tabbable?"0":"-1")}e.focus(t)}async focusItem(){await this.setFocus()}async toggle(){if(!this.expandable||this.isEffectivelyDisabled)return;this.expanded=!this.expanded}async expand(){if(!this.expandable||this.isEffectivelyDisabled)return;this.expanded=true}async collapse(){if(!this.expandable||this.isEffectivelyDisabled)return;this.expanded=false}isTrailingActionTarget(t){const e=typeof t.composedPath==="function"?t.composedPath():[t.target];for(const t of e){if(!t||t===this.el||!this.isElementLike(t))continue;let e=t;while(e&&e!==this.el){if(e.getAttribute("slot")==="trailing"&&this.isInteractiveTrailingElement(e)){return true}e=e.parentElement}}return false}isElementLike(t){return typeof t.getAttribute==="function"}isInteractiveTrailingElement(t){const e=t.tagName;const i=new Set(["MD-ICON-BUTTON","MD-SWITCH","MD-CHECKBOX","MD-BUTTON","MD-FAB","BUTTON","A","INPUT","SELECT","TEXTAREA"]);if(i.has(e))return true;const s=t;if(typeof s.tabIndex==="number"&&s.tabIndex>=0)return true;const a=t.getAttribute("role");if(a==="button"||a==="switch"||a==="checkbox"||a==="menuitem"){return true}return false}isDragHandleTarget(t){const e=typeof t.composedPath==="function"?t.composedPath():[t.target];return e.some((t=>t?.dataset?.listDragHandle==="true"))}getExpandedContentItems(){return Array.from(this.el.children).filter((t=>t.tagName==="MD-LIST-ITEM"&&t.getAttribute("slot")==="expanded-content"))}isExpandedContentChild(t){return t.parentElement===this.el&&t.getAttribute("slot")==="expanded-content"}syncExpandedContentSelectionMode(){if(!this.expandable)return;const t=this.selectionMode;this.getExpandedContentItems().forEach((e=>{e.selectionMode=t;if(t==="none"){e.removeAttribute("data-selection-mode")}else{e.setAttribute("data-selection-mode",t)}}))}syncExpandedContentDividers(){if(!this.expandable)return;Array.from(this.el.children).forEach((t=>{if(t.tagName==="MD-DIVIDER"&&t.getAttribute("slot")==="expanded-content"){t.setAttribute("aria-hidden","true")}}))}isExpandedContentTarget(t){const e=typeof t.composedPath==="function"?t.composedPath():[t.target];const i=Array.from(this.el.children).filter((t=>t.getAttribute("slot")==="expanded-content"));for(const t of e){if(!t||t===this.el)continue;for(const e of i){if(t===e)return true;if(t instanceof Node&&e.contains(t))return true}}return false}isExpandButtonTarget(t){const e=typeof t.composedPath==="function"?t.composedPath():[t.target];return e.some((t=>t?.dataset?.expandToggle==="true"))}toggleExpanded(){if(!this.expandable||this.isEffectivelyDisabled)return;this.expanded=!this.expanded}expandToggleLabel(){const t=this.expanded?"Collapse":"Expand";const e=this.headlineFullText();return e?`${t} ${e}`:t}onExpandedChildItemClick(t){if(!this.expandable||this.selectionMode==="none")return;const e=t.composedPath().find((t=>t?.tagName==="MD-LIST-ITEM"));if(!e||e===this.el||!this.isExpandedContentChild(e))return;t.stopPropagation();const i=this.getExpandedContentItems();if(this.selectionMode==="single-select"){i.forEach((t=>{t.selected=t===e}))}else if(this.selectionMode==="multi-select"){e.selected=!e.selected}const s=i.indexOf(e);this.mdItemSelect.emit({index:s,value:e.headline||(e.textContent??"").trim(),selected:e.selected,item:e})}computeIndex(){const t=this.el.parentElement;if(!t)return 0;const e=Array.from(t.children).filter((t=>t.tagName==="MD-LIST-ITEM"));return e.indexOf(this.el)}buildExpandDetail(t){const e=this.el;const i=this.computeIndex();const s=this.headlineFullText();return{expanded:t,...i>=0?{index:i}:{},...s?{value:s}:{},item:e}}getSlottedText(t){const e=this.el.shadowRoot?.querySelector(`slot[name="${t}"]`);if(!e)return"";try{return e.assignedNodes().map((t=>t.textContent||"")).join("").trim()}catch{return""}}getDefaultSlotText(){return Array.from(this.el.children).filter((t=>!t.hasAttribute("slot"))).map((t=>t.textContent||"")).join("").trim()}headlineFullText(){return this.hasSlottedHeadline?this.getSlottedText("headline"):this.headline||this.getDefaultSlotText()}supportingFullText(){return this.hasSlottedSupportingText?this.getSlottedText("supporting-text"):this.supportingText}applyTooltipToggle(t,e,i,s){if(!t||!e)return;if(typeof t.scrollWidth!=="number")return;const a=t.scrollWidth>t.clientWidth||s&&t.scrollHeight>t.clientHeight;if(a===this[i])return;this[i]=a;e.disabled=!a}renderLeading(){return s("span",{class:{"md-list-item__leading":true,"md-list-item__leading--empty":!this.hasLeadingContent},part:"leading"},s("slot",{name:"leading"},this.leadingAvatar||this.leadingAvatarLabel||this.leadingAvatarName?s("md-avatar",{class:"md-list-item__avatar",exportparts:"image: avatar-image, initials: avatar-initials, icon: avatar-icon",part:"avatar",src:this.leadingAvatar||undefined,alt:this.leadingAvatarAlt||undefined,name:this.leadingAvatarName||undefined,initials:this.leadingAvatarLabel||undefined,size:"medium",shape:"circle"}):this.leadingImage?s("span",{class:"md-list-item__image-wrap",part:"image-wrap"},s("img",{class:"md-list-item__image",part:"image",src:this.leadingImage,alt:this.leadingImageAlt||"","aria-hidden":!this.leadingImageAlt?"true":null}),s("span",{class:"md-list-item__image-selection-indicator",part:"image-selection-indicator","aria-hidden":"true"},s("span",{class:"md-list-item__image-selection-circle",part:"image-selection-circle"},s("span",{class:"md-list-item__image-selection-check material-symbols-outlined",part:"image-selection-check","aria-hidden":"true"},"check")))):this.leadingIcon?s("span",{class:"md-list-item__icon material-symbols-outlined",part:"leading-icon","aria-hidden":"true"},this.leadingIcon):null))}renderContent(){const t=!!this.overline||this.hasSlottedOverline;const e=!!this.supportingText||this.hasSlottedSupportingText;return s("span",{class:"md-list-item__content",part:"content"},s("span",{class:{"md-list-item__overline":true,"md-list-item__overline--empty":!t},part:"overline"},s("slot",{name:"overline"},this.overline)),s("md-tooltip",{class:"md-list-item__headline-tooltip",variant:"plain",text:this.headlineFullText()||undefined,disabled:!this.headlineTruncated,exportparts:"popup: headline-tooltip-popup",ref:t=>this.headlineTooltipEl=t},s("span",{class:"md-list-item__headline",part:"headline",ref:t=>this.headlineEl=t},s("slot",{name:"headline"},this.headline||s("slot",null)))),s("md-tooltip",{class:{"md-list-item__supporting-tooltip":true,"md-list-item__supporting-tooltip--empty":!e},variant:"plain",text:this.supportingFullText()||undefined,disabled:!this.supportingTruncated,exportparts:"popup: supporting-tooltip-popup",ref:t=>this.supportingTooltipEl=t},s("span",{class:{"md-list-item__supporting-text":true,"md-list-item__supporting-text--empty":!e},part:"supporting-text",ref:t=>this.supportingEl=t},s("slot",{name:"supporting-text"},this.supportingText))))}renderTrailing(){if(!this.hasTrailingContent)return null;const t=!!this.trailingSupportingText||this.hasSlottedTrailingSupportingText;return s("span",{class:"md-list-item__trailing",part:"trailing"},s("slot",{name:"trailing"},t&&s("span",{class:"md-list-item__trailing-text",part:"trailing-supporting-text"},s("slot",{name:"trailing-supporting-text"},this.trailingSupportingText)),this.trailingIcon&&s("span",{class:"md-list-item__trailing-icon material-symbols-outlined",part:"trailing-icon","aria-hidden":"true"},this.trailingIcon)),this.expandable&&s("md-icon-button",{class:{"md-list-item__expand-button":true,"md-list-item__expand-button--expanded":this.expanded},part:"expand-button",exportparts:"state-layer:expand-button-state-layer,icon:expand-button-icon","data-expand-toggle":"true",variant:"standard",size:"xs",buttonWidth:"narrow",icon:"expand_more",selected:this.expanded,disabled:this.isEffectivelyDisabled,"aria-expanded":this.expanded?"true":"false","aria-controls":this.expandedPanelId,"aria-label":this.expandToggleLabel(),onMdClick:this.handleCaretToggle}),this.reorderable&&s("span",{class:"md-list-item__drag-handle material-symbols-outlined",part:"drag-handle","data-list-drag-handle":"true","aria-hidden":"true"},"drag_indicator"))}renderPrimary(t){const e=t=>this.primaryEl=t;if(this.type==="link"){const i=o(this.href);return s("a",{class:"md-list-item__primary",part:"primary",role:"link",href:i,target:i?this.target:undefined,rel:i&&this.target?d:undefined,tabindex:t??undefined,"aria-disabled":this.isEffectivelyDisabled?"true":null,onFocus:this.handleFocus,ref:t=>e(t)},this.renderLeading(),this.renderContent())}return s("span",{class:"md-list-item__primary",part:"primary",role:"button",tabindex:t??undefined,"aria-disabled":this.isEffectivelyDisabled?"true":null,onFocus:this.handleFocus,ref:t=>e(t)},this.renderLeading(),this.renderContent())}render(){const t=this.effectiveLines;const e=this.isInteractive;const i=this.hasPrimaryAction;const n=this.isMenuContext&&!this.participatesInSelection&&(this.type==="button"||this.type==="link");let r;if(this.participatesInSelection){r="option"}else if(n){r="menuitem"}else{r="listitem"}const o=this.expandable&&!this.participatesInSelection&&this.type==="text";const l=this.participatesInSelection?this.selected?"true":"false":null;const d=e&&!o||this.reorderable;const m=d?this.tabbable?"0":"-1":null;const c=i?null:m;const p=i?m:null;const h=this.hasExpandedListItemChildren?"list":this.inSelectionMode?"group":"region";const g=h==="region"?undefined:this.headlineFullText()||undefined;return s(a,{key:"7f47f42e3729f58f96d35e9edad3b0d3913071a4",class:{"md-list-item":true,[`md-list-item--${t}-line`]:true,[`md-list-item--type-${this.type}`]:true,"md-list-item--selection-mode":this.participatesInSelection,"md-list-item--multi-action":this.isMultiAction,"md-list-item--interactive":e,"md-list-item--disabled":this.disabled||this.softDisabled,"md-list-item--soft-disabled":this.softDisabled,"md-list-item--selected":this.selected&&!this.expandable,"md-list-item--pressed":this.pressed,"md-list-item--with-leading":this.hasLeadingContent,"md-list-item--with-trailing":this.hasTrailingContent,"md-list-item--with-avatar":!!this.leadingAvatar||!!this.leadingAvatarLabel||!!this.leadingAvatarName,"md-list-item--with-image":!!this.leadingImage,"md-list-item--with-video":this.hasLeadingVideo,"md-list-item--expandable":this.expandable,"md-list-item--expanded":this.expandable&&this.expanded,"md-list-item--reorderable":this.reorderable,"md-list-item--roving-focus-visible":this.rovingFocusVisible},role:r,"aria-disabled":this.isEffectivelyDisabled?"true":null,"aria-selected":l,tabindex:c,onClick:e?this.handleClick:undefined,onKeyDown:e||this.reorderable?this.handleKeyDown:undefined,onPointerDown:e?this.handlePointerDown:undefined,onPointerUp:e?this.handlePointerUp:undefined,onPointerLeave:e?this.handlePointerUp:undefined,onPointerCancel:e?this.handlePointerUp:undefined,onFocus:e&&!i?this.handleFocus:undefined},s("span",{key:"318c0e4d49c04a5732cc5783481378d9ee43691f",class:"md-list-item__row",part:"row"},e&&s("md-ripple",{key:"d34ab9b776e9783fa3c30114b04f8ef5635a504d",disabled:this.isEffectivelyDisabled}),e&&s("span",{key:"4a9fa8a4878610573370a7b0fc901ebda85e05f5",class:"md-list-item__state-layer",part:"state-layer","aria-hidden":"true"}),i&&this.renderPrimary(p),!i&&this.renderLeading(),!i&&this.renderContent(),this.renderTrailing()),this.expandable&&s("span",{key:"7011ec1fc1663d4267528fa69c12940847ee40d6",class:"md-list-item__expanded-panel",part:"expanded-panel",id:this.expandedPanelId,role:h,"aria-label":g,hidden:!this.expanded},s("span",{key:"5c2a758e56dcc4998336635c26f91d1710f8f874",class:"md-list-item__expanded-panel-inner",part:"expanded-panel-inner"},s("slot",{key:"c19fd154bf14d1597ab85183031b7015682c928a",name:"expanded-content"}))))}get el(){return this}static get watchers(){return{selected:[{onSelectedChange:0}],expandable:[{onExpandableChange:0}],selectionMode:[{onSelectionModeChange:0}],expanded:[{onExpandedChange:0}],headline:[{onHeadlineChange:0}],supportingText:[{onSupportingTextChange:0}]}}static get style(){return g()}},[257,"md-list-item",{type:[513],headline:[1],overline:[1],supportingText:[1,"supporting-text"],trailingSupportingText:[1,"trailing-supporting-text"],leadingIcon:[1,"leading-icon"],trailingIcon:[1,"trailing-icon"],leadingAvatar:[1,"leading-avatar"],leadingAvatarAlt:[1,"leading-avatar-alt"],leadingAvatarName:[1,"leading-avatar-name"],leadingAvatarLabel:[1,"leading-avatar-label"],leadingImage:[1,"leading-image"],leadingImageAlt:[1,"leading-image-alt"],lines:[2],href:[1],target:[1],disabled:[516],softDisabled:[516,"soft-disabled"],selected:[1540],expandable:[516],expanded:[1540],tabbable:[1028],rovingFocusVisible:[1028,"roving-focus-visible"],selectionMode:[1025,"selection-mode"],interactionMode:[1025,"interaction-mode"],containerRole:[1025,"container-role"],reorderable:[1028],density:[514],hasSlottedLeading:[32],hasSlottedTrailing:[32],hasSlottedHeadline:[32],hasSlottedOverline:[32],hasSlottedSupportingText:[32],hasSlottedTrailingSupportingText:[32],hasSlottedExpandedContent:[32],hasExpandedListItemChildren:[32],hasLeadingVideo:[32],pressed:[32],hostedByList:[32],setFocus:[64],focusItem:[64],toggle:[64],expand:[64],collapse:[64]},[[0,"mdItemClick","onExpandedChildItemClick"]],{selected:[{onSelectedChange:0}],expandable:[{onExpandableChange:0}],selectionMode:[{onSelectionModeChange:0}],expanded:[{onExpandedChange:0}],headline:[{onHeadlineChange:0}],supportingText:[{onSupportingTextChange:0}]}]);function f(){if(typeof customElements==="undefined"){return}const t=["md-list-item","md-avatar","md-icon-button","md-ripple","md-tooltip"];t.forEach((t=>{switch(t){case"md-list-item":if(!customElements.get(n(t))){customElements.define(n(t),u)}break;case"md-avatar":if(!customElements.get(n(t))){m()}break;case"md-icon-button":if(!customElements.get(n(t))){c()}break;case"md-ripple":if(!customElements.get(n(t))){p()}break;case"md-tooltip":if(!customElements.get(n(t))){h()}break}}))}f();const _=u;const x=f;export{_ as MdListItem,x as defineCustomElement};
|
|
1
|
+
import{p as t,H as e,c as i,h as s,d as a,t as n}from"./p-CB5yqdO-.js";import{t as r}from"./p-DYBUr7K_.js";import{s as o,a as l,S as d}from"./p-BdEoSBtL.js";import{d as m}from"./p-BbY1uep7.js";import{d as c}from"./p-Cqg4krGd.js";import{d as p}from"./p-CfwUHJJY.js";import{d as h}from"./p-DuRj_2H2.js";const g=()=>`:host{--_container-color:var(--md-list-item-container-color, var(--md-sys-color-surface, #fef7ff));--_container-shape:var(--md-list-item-container-shape, 0px);--_container-shape-start-start:var(--md-list-item-container-shape-start-start, var(--_container-shape));--_container-shape-start-end:var(--md-list-item-container-shape-start-end, var(--_container-shape));--_container-shape-end-start:var(--md-list-item-container-shape-end-start, var(--_container-shape));--_container-shape-end-end:var(--md-list-item-container-shape-end-end, var(--_container-shape));--_hover-container-shape:var(--md-list-item-hover-container-shape, var(--md-list-item-active-container-shape, 0px));--_focus-container-shape:calc(var(--md-list-item-focus-container-shape, var(--md-list-item-active-container-shape, var(--md-sys-shape-corner-large, 16px))) * var(--md-sys-shape-morph-enabled, 1));--_pressed-container-shape:calc(var(--md-list-item-pressed-container-shape, var(--md-list-item-active-container-shape, var(--md-sys-shape-corner-large, 16px))) * var(--md-sys-shape-morph-enabled, 1));--_selected-container-shape:calc(var(--md-list-item-selected-container-shape, var(--md-list-item-active-container-shape, var(--md-sys-shape-corner-large, 16px))) * var(--md-sys-shape-morph-enabled, 1));--_dragged-container-shape:var(--md-list-item-dragged-container-shape, var(--md-list-item-active-container-shape, var(--md-sys-shape-corner-large, 16px)));--_label-text-color:var(--md-list-item-label-text-color, var(--md-sys-color-on-surface, #1c1b1f));--_label-text-font:var(--md-list-item-label-text-font, var(--md-sys-typescale-body-large-font-family, Roboto, sans-serif));--_supporting-text-color:var(--md-list-item-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_supporting-text-font:var(--md-list-item-supporting-text-font, var(--md-sys-typescale-body-medium-font-family, Roboto, sans-serif));--_overline-color:var(--md-list-item-overline-color, var(--md-sys-color-on-surface-variant, #49454f));--_trailing-supporting-text-color:var(--md-list-item-trailing-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_trailing-supporting-text-font:var(--md-list-item-trailing-supporting-text-font, var(--md-sys-typescale-label-small-font-family, Roboto, sans-serif));--_leading-icon-color:var(--md-list-item-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_leading-icon-size:var(--md-list-item-leading-icon-size, max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px)));--_leading-icon-expressive-size:var(--md-list-item-leading-icon-expressive-size, max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px)));--_trailing-icon-color:var(--md-list-item-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_unselected-trailing-icon-color:var(--md-list-item-unselected-trailing-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_trailing-icon-size:var(--md-list-item-trailing-icon-size, max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px)));--_trailing-icon-expressive-size:var(--md-list-item-trailing-icon-expressive-size, max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px)));--_leading-avatar-color:var(--md-list-item-leading-avatar-color, var(--md-sys-color-primary-container, #eaddff));--_leading-avatar-label-color:var(--md-list-item-leading-avatar-label-color, var(--md-sys-color-on-primary-container, #21005d));--_leading-avatar-size:var(--md-list-item-leading-avatar-size, 40px);--_leading-avatar-shape:var(--md-list-item-leading-avatar-shape, var(--md-sys-shape-corner-full, 9999px));--_leading-image-width:var(--md-list-item-leading-image-width, 56px);--_leading-image-height:var(--md-list-item-leading-image-height, 56px);--_leading-image-shape:var(--md-list-item-leading-image-shape, var(--md-sys-shape-corner-none, 0px));--_leading-image-expressive-shape:var(--md-list-item-leading-image-expressive-shape, var(--md-sys-shape-corner-small, 8px));--_leading-image-selection-scrim-color:var( --md-list-item-leading-image-selection-scrim-color, color-mix(in srgb, var(--md-sys-color-scrim, #000000) 32%, transparent) );--_leading-image-selection-circle-color:var( --md-list-item-leading-image-selection-circle-color, color-mix(in srgb, var(--md-sys-color-on-surface, #1d1b20) 60%, transparent) );--_leading-image-selection-icon-color:var( --md-list-item-leading-image-selection-icon-color, var(--md-sys-color-surface, #fef7ff) );--_leading-image-selection-icon-size:var(--md-list-item-leading-image-selection-icon-size, 24px);--_leading-video-width:var(--md-list-item-leading-video-width, 100px);--_leading-video-height:var(--md-list-item-leading-video-height, 56px);--_leading-video-shape:var(--md-list-item-leading-video-shape, var(--md-sys-shape-corner-small, 8px));--_selected-container-color:var(--md-list-item-selected-container-color, var(--md-sys-color-secondary-container, #e8def8));--_selected-label-text-color:var(--md-list-item-selected-label-text-color, var(--md-sys-color-on-secondary-container, #4a4458));--_selected-active-icon-color:var(--md-list-item-selected-active-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_selected-disabled-container-color:var( --md-list-item-selected-disabled-container-color, color-mix(in srgb, var(--md-sys-color-on-surface, #1d1b20) 12%, transparent) );--_state-layer-color:var(--md-sys-color-on-surface, #1c1b1f);--_hover-state-layer-opacity:var(--md-list-item-hover-state-layer-opacity, var(--md-sys-state-hover-state-layer-opacity, 0.08));--_focus-state-layer-opacity:var(--md-list-item-focus-state-layer-opacity, 0.1);--_pressed-state-layer-opacity:var(--md-list-item-pressed-state-layer-opacity, 0.1);--_dragged-state-layer-opacity:var(--md-list-item-dragged-state-layer-opacity, 0.16);--_disabled-state-layer-opacity:var(--md-list-item-disabled-state-layer-opacity, 0);--_leading-space:var(--md-list-item-leading-space, var(--md-sys-spacing-inset-lg, 16px));--_trailing-space:var(--md-list-item-trailing-space, var(--md-sys-spacing-inset-lg, 16px));--_top-space:var(--md-list-item-top-space, max(2px, calc(8px + var(--md-sys-density-scale, 0) * 1.5px)));--_bottom-space:var(--md-list-item-bottom-space, max(2px, calc(8px + var(--md-sys-density-scale, 0) * 1.5px)));--_between-space:var(--md-list-item-between-space, max(8px, var(--md-sys-spacing-gap-md, 12px)));--_three-line-top-space:var(--md-list-item-three-line-top-space, max(2px, calc(12px + var(--md-sys-density-scale, 0) * 2.5px)));--_three-line-bottom-space:var(--md-list-item-three-line-bottom-space, max(2px, calc(12px + var(--md-sys-density-scale, 0) * 2.5px)));--_density-delta:calc(var(--md-sys-density-scale, 0) * 4px);--_density-delta-multi:calc(var(--md-sys-density-scale, 0) * 6px);--_dragged-container-elevation:var(--md-list-item-dragged-container-elevation, var(--md-sys-elevation-4, 0px 6px 10px 4px rgba(0,0,0,0.15), 0px 2px 3px rgba(0,0,0,0.3)));--_expand-chevron-color:var(--md-list-item-expand-chevron-color, var(--md-sys-color-on-surface-variant, #49454f));--_expand-duration:var(--md-list-item-expand-duration, var(--md-sys-motion-duration-medium3, 350ms));--_collapse-duration:var(--md-list-item-collapse-duration, var(--md-sys-motion-duration-short4, 200ms));--_expand-easing:var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1));--_collapse-easing:var(--md-sys-motion-easing-emphasized-accelerate, cubic-bezier(0.3, 0, 0.8, 0.15));--_expanded-panel-padding-block:var(--md-list-item-expanded-panel-padding-block, 0px);--_expanded-panel-padding-inline:var(--md-list-item-expanded-panel-padding-inline, 0px);--_expanded-panel-padding-inline-start:var( --md-list-item-expanded-panel-padding-inline-start, var(--md-list-item-expanded-panel-padding-inline, 0px) );--_expanded-panel-background:var(--md-list-item-expanded-panel-background, transparent);display:block;position:relative;background-color:var(--_container-color);color:var(--_label-text-color);border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end);box-sizing:border-box;-webkit-tap-highlight-color:transparent;outline:none;overflow:clip;transition:box-shadow var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-start-start-radius var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)), border-start-end-radius var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)), border-end-start-radius var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)), border-end-end-radius var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1))}.md-list-item__row{display:flex;align-items:center;position:relative;min-block-size:calc(56px + var(--_density-delta));padding-block-start:var(--_top-space);padding-block-end:var(--_bottom-space);padding-inline-start:var(--_leading-space);padding-inline-end:var(--_trailing-space);gap:var(--_between-space);box-sizing:border-box;overflow:hidden;transition:border-start-start-radius var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)), border-start-end-radius var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)), border-end-start-radius var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)), border-end-end-radius var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1))}:host(.md-list-item--interactive) .md-list-item__row{cursor:pointer;user-select:none}:host(.md-list-item--type-text:not(.md-list-item--selection-mode):not(.md-list-item--expandable)) .md-list-item__row{cursor:default}.md-list-item__primary{display:flex;align-items:center;flex:1 1 auto;min-inline-size:0;gap:var(--_between-space);appearance:none;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:inherit;text-decoration:none;cursor:inherit;outline:none;-webkit-tap-highlight-color:transparent}:host(.md-list-item--3-line) .md-list-item__primary{align-items:flex-start;align-self:stretch}:host(.md-list-item--1-line) .md-list-item__row{min-block-size:calc(56px + var(--_density-delta))}:host(.md-list-item--2-line) .md-list-item__row{min-block-size:calc(72px + var(--_density-delta-multi))}:host(.md-list-item--3-line) .md-list-item__row{min-block-size:calc(88px + var(--_density-delta-multi));padding-block-start:var(--_three-line-top-space);padding-block-end:var(--_three-line-bottom-space);align-items:flex-start}:host(.md-list-item--with-video){--_top-space:var(--md-list-item-leading-video-top-space, max(4px, calc(12px + var(--md-sys-density-scale, 0) * 2px)));--_bottom-space:max(4px, calc(12px + var(--md-sys-density-scale, 0) * 2px))}:host(.md-list-item--3-line) .md-list-item__leading{align-self:flex-start;}:host(.md-list-item--3-line.md-list-item--with-avatar) .md-list-item__leading{align-self:center}:host(.md-list-item--3-line:has(md-avatar[slot='leading'])) .md-list-item__leading{align-self:center}:host(.md-list-item--3-line) .md-list-item__trailing{align-self:stretch;flex-direction:column;align-items:flex-end;justify-content:flex-start;gap:0}:host(.md-list-item--3-line) .md-list-item__trailing-icon{margin-block:auto}:host-context(.md-list--standard),:host-context(.md-list--segmented){--_leading-icon-size:var(--md-list-item-leading-icon-size, var(--_leading-icon-expressive-size));--_trailing-icon-size:var(--md-list-item-trailing-icon-size, var(--_trailing-icon-expressive-size));--_leading-image-shape:var(--md-list-item-leading-image-shape, var(--_leading-image-expressive-shape))}:host-context(.md-list--standard):host(:first-of-type){--md-list-item-container-shape-start-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-start-end:var(--md-sys-shape-corner-large, 16px)}:host-context(.md-list--standard):host(:last-of-type){--md-list-item-container-shape-end-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-end-end:var(--md-sys-shape-corner-large, 16px)}:host-context(.md-list--standard):host(:only-of-type){--md-list-item-container-shape-start-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-start-end:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-end-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-end-end:var(--md-sys-shape-corner-large, 16px)}:host(.md-list-item--expandable.md-list-item--expanded){--md-list-item-container-shape-end-start:0px;--md-list-item-container-shape-end-end:0px}:host-context(.md-list--segmented){--_container-shape:var(--md-list-item-container-shape, var(--md-sys-shape-corner-extra-small, 4px))}:host-context(.md-list--segmented):host(:first-of-type){--md-list-item-container-shape-start-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-start-end:var(--md-sys-shape-corner-large, 16px)}:host-context(.md-list--segmented):host(:last-of-type){--md-list-item-container-shape-end-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-end-end:var(--md-sys-shape-corner-large, 16px)}:host-context(.md-list--segmented):host(:only-of-type){--md-list-item-container-shape-start-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-start-end:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-end-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-end-end:var(--md-sys-shape-corner-large, 16px)}.md-list-item__state-layer{position:absolute;inset:0;border-radius:inherit;background-color:var(--_state-layer-color);opacity:0;transition:opacity var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1));pointer-events:none}:host(.md-list-item--interactive) .md-list-item__row:hover .md-list-item__state-layer{opacity:var(--_hover-state-layer-opacity)}:host(.md-list-item--interactive:focus-visible) .md-list-item__state-layer,:host(.md-list-item--interactive.md-list-item--roving-focus-visible:not(:focus)) .md-list-item__state-layer{opacity:var(--_focus-state-layer-opacity)}:host(.md-list-item--interactive:has(.md-list-item__primary:focus-visible)) .md-list-item__state-layer{opacity:var(--_focus-state-layer-opacity)}:host(.md-list-item--interactive) .md-list-item__row:active .md-list-item__state-layer,:host(.md-list-item--pressed) .md-list-item__state-layer{opacity:var(--_pressed-state-layer-opacity)}:host(.md-list-item--dragged) .md-list-item__state-layer{opacity:var(--_dragged-state-layer-opacity)}:host(.md-list-item--dragged) md-ripple{display:none}:host(.md-list-item--dragged){box-shadow:var(--_dragged-container-elevation);z-index:1}:host(.md-list-item--interactive:focus-visible),:host(.md-list-item--interactive.md-list-item--roving-focus-visible:not(:focus)){box-shadow:inset 0 0 0 3px var(--md-sys-color-secondary, #625b71);outline:none;z-index:1}:host(.md-list-item--interactive:has(.md-list-item__primary:focus-visible)){box-shadow:inset 0 0 0 3px var(--md-sys-color-secondary, #625b71);outline:none;z-index:1}:host(.md-list-item--dragged:focus-visible){box-shadow:var(--_dragged-container-elevation), inset 0 0 0 3px var(--md-sys-color-secondary, #625b71)}:host(.md-list-item--interactive:focus-visible),:host(.md-list-item--interactive.md-list-item--roving-focus-visible:not(:focus)),:host(.md-list-item--selected),:host(.md-list-item--interactive:active),:host(.md-list-item--pressed),:host(.md-list-item--dragged){transition:box-shadow var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-start-start-radius var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-start-end-radius var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-end-start-radius var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-end-end-radius var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}:host(.md-list-item--interactive:focus-visible) .md-list-item__row,:host(.md-list-item--interactive.md-list-item--roving-focus-visible:not(:focus)) .md-list-item__row,:host(.md-list-item--selected) .md-list-item__row,:host(.md-list-item--interactive:active) .md-list-item__row,:host(.md-list-item--pressed) .md-list-item__row,:host(.md-list-item--dragged) .md-list-item__row{transition:border-start-start-radius var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-start-end-radius var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-end-start-radius var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-end-end-radius var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}:host(.md-list-item--interactive:focus-visible),:host(.md-list-item--interactive.md-list-item--roving-focus-visible:not(:focus)),:host(.md-list-item--interactive:focus-visible) .md-list-item__row,:host(.md-list-item--interactive.md-list-item--roving-focus-visible:not(:focus)) .md-list-item__row{border-start-start-radius:max(var(--_container-shape-start-start), var(--_focus-container-shape));border-start-end-radius:max(var(--_container-shape-start-end), var(--_focus-container-shape));border-end-start-radius:max(var(--_container-shape-end-start), var(--_focus-container-shape));border-end-end-radius:max(var(--_container-shape-end-end), var(--_focus-container-shape))}:host(.md-list-item--selected),:host(.md-list-item--selected) .md-list-item__row{border-start-start-radius:max(var(--_container-shape-start-start), var(--_selected-container-shape));border-start-end-radius:max(var(--_container-shape-start-end), var(--_selected-container-shape));border-end-start-radius:max(var(--_container-shape-end-start), var(--_selected-container-shape));border-end-end-radius:max(var(--_container-shape-end-end), var(--_selected-container-shape))}:host(.md-list-item--interactive:active),:host(.md-list-item--pressed),:host(.md-list-item--dragged),:host(.md-list-item--interactive:active) .md-list-item__row,:host(.md-list-item--pressed) .md-list-item__row,:host(.md-list-item--dragged) .md-list-item__row{border-start-start-radius:max(var(--_container-shape-start-start), var(--_pressed-container-shape));border-start-end-radius:max(var(--_container-shape-start-end), var(--_pressed-container-shape));border-end-start-radius:max(var(--_container-shape-end-start), var(--_pressed-container-shape));border-end-end-radius:max(var(--_container-shape-end-end), var(--_pressed-container-shape))}:host(.md-list-item--dragged),:host(.md-list-item--dragged) .md-list-item__row{border-start-start-radius:max(var(--_container-shape-start-start), var(--_dragged-container-shape));border-start-end-radius:max(var(--_container-shape-start-end), var(--_dragged-container-shape));border-end-start-radius:max(var(--_container-shape-end-start), var(--_dragged-container-shape));border-end-end-radius:max(var(--_container-shape-end-end), var(--_dragged-container-shape))}:host(.md-list-item--selected){--_container-color:var(--_selected-container-color);--_label-text-color:var(--_selected-label-text-color);--_supporting-text-color:var(--_selected-label-text-color);--_overline-color:var(--_selected-label-text-color);--_leading-icon-color:var(--_selected-label-text-color);--_trailing-icon-color:var(--_selected-label-text-color);--_trailing-supporting-text-color:var(--_selected-label-text-color);--_state-layer-color:var(--_selected-label-text-color);--_expand-chevron-color:var(--_selected-label-text-color)}:host(.md-list-item--selection-mode:not(.md-list-item--selected)){--_trailing-icon-color:var(--_unselected-trailing-icon-color)}:host(.md-list-item--selected.md-list-item--interactive:hover),:host(.md-list-item--selected.md-list-item--interactive:focus-visible),:host(.md-list-item--selected.md-list-item--interactive.md-list-item--roving-focus-visible:not(:focus)),:host(.md-list-item--selected.md-list-item--interactive:active),:host(.md-list-item--selected.md-list-item--pressed),:host(.md-list-item--selected.md-list-item--dragged){--_leading-icon-color:var(--_selected-active-icon-color);--_trailing-icon-color:var(--_selected-active-icon-color)}:host(.md-list-item--expandable),:host(.md-list-item--expandable[selected]),:host(.md-list-item--expandable.md-list-item--selected),:host(.md-list-item--expandable.md-list-item--selected.md-list-item--interactive:hover),:host(.md-list-item--expandable.md-list-item--selected.md-list-item--interactive:focus-visible),:host(.md-list-item--expandable.md-list-item--selected.md-list-item--interactive:active),:host(.md-list-item--expandable.md-list-item--selected.md-list-item--pressed),:host(.md-list-item--expandable.md-list-item--selected.md-list-item--dragged){--_container-color:var(--md-list-item-container-color, var(--md-sys-color-surface, #fef7ff));--_label-text-color:var(--md-list-item-label-text-color, var(--md-sys-color-on-surface, #1c1b1f));--_supporting-text-color:var(--md-list-item-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_overline-color:var(--md-list-item-overline-color, var(--md-sys-color-on-surface-variant, #49454f));--_leading-icon-color:var(--md-list-item-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_trailing-icon-color:var(--md-list-item-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_trailing-supporting-text-color:var( --md-list-item-trailing-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f) );--_state-layer-color:var(--md-sys-color-on-surface, #1c1b1f);--_expand-chevron-color:var(--md-list-item-expand-chevron-color, var(--md-sys-color-on-surface-variant, #49454f))}:host(.md-list-item--expandable.md-list-item--selected),:host(.md-list-item--expandable.md-list-item--selected) .md-list-item__row{border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end)}:host(.md-list-item--disabled){cursor:default;pointer-events:none;--_label-text-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1c1b1f) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);--_supporting-text-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1c1b1f) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);--_overline-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1c1b1f) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);--_leading-icon-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1c1b1f) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);--_trailing-icon-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1c1b1f) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);--_trailing-supporting-text-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1c1b1f) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);--_expand-chevron-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1c1b1f) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent)}:host(.md-list-item--disabled) .md-list-item__state-layer{opacity:var(--_disabled-state-layer-opacity)}:host(.md-list-item--selected.md-list-item--disabled){--_container-color:var(--_selected-disabled-container-color)}:host([soft-disabled]){pointer-events:auto}:host([soft-disabled]) .md-list-item__row{cursor:default}:host([soft-disabled]) .md-list-item__state-layer{display:none}.md-list-item__leading{display:flex;align-items:center;justify-content:center;flex-shrink:0;min-inline-size:24px;color:var(--_leading-icon-color)}.md-list-item__leading--empty,.md-list-item__overline--empty,.md-list-item__supporting-text--empty,.md-list-item__trailing-text--empty{display:none}.md-list-item__icon{font-size:var(--_leading-icon-size);inline-size:var(--_leading-icon-size);block-size:var(--_leading-icon-size);line-height:1;color:var(--_leading-icon-color);font-variation-settings:'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;transition:font-variation-settings var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}:host(.md-list-item--expanded) .md-list-item__icon{font-variation-settings:'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24}md-avatar.md-list-item__avatar{--md-avatar-size:var(--_leading-avatar-size);--md-avatar-container-shape:var(--_leading-avatar-shape);--md-avatar-container-color:var(--_leading-avatar-color);--md-avatar-label-color:var(--_leading-avatar-label-color)}.md-list-item__image-wrap{position:relative;display:inline-flex;flex-shrink:0;inline-size:var(--_leading-image-width);block-size:var(--_leading-image-height);border-radius:var(--_leading-image-shape);overflow:hidden}.md-list-item__image{inline-size:100%;block-size:100%;object-fit:cover}.md-list-item__image-selection-indicator{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background-color:var(--_leading-image-selection-scrim-color);pointer-events:none;opacity:0;transition:opacity var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}:host(.md-list-item--selected) .md-list-item__image-selection-indicator{opacity:1}.md-list-item__image-selection-circle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;inline-size:var(--_leading-image-selection-icon-size);block-size:var(--_leading-image-selection-icon-size);border-radius:var(--md-sys-shape-corner-full, 9999px);background-color:var(--_leading-image-selection-circle-color);transform:scale(0);opacity:0}:host(.md-list-item--selected) .md-list-item__image-selection-circle{animation:md-list-item-image-selection-in var(--md-sys-motion-duration-medium2, 250ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)) both}@keyframes md-list-item-image-selection-in{0%{transform:scale(0);opacity:0}60%{transform:scale(1.08);opacity:1}100%{transform:scale(1);opacity:1}}.md-list-item__image-selection-check.material-symbols-outlined{display:inline-flex;align-items:center;justify-content:center;inline-size:calc(var(--_leading-image-selection-icon-size) * 0.667);block-size:calc(var(--_leading-image-selection-icon-size) * 0.667);font-size:calc(var(--_leading-image-selection-icon-size) * 0.667);line-height:1;color:var(--_leading-image-selection-icon-color);font-weight:normal;font-variation-settings:'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24}::slotted([slot="leading"]){display:inline-flex;align-items:center;justify-content:center;color:var(--_leading-icon-color);fill:currentColor}::slotted(video[slot="leading"]){inline-size:var(--_leading-video-width);block-size:var(--_leading-video-height);border-radius:var(--_leading-video-shape);object-fit:cover}.md-list-item__content{flex:1;display:flex;flex-direction:column;min-inline-size:0;overflow:hidden;gap:0}.md-list-item__overline{font-family:var(--md-sys-typescale-label-small-font-family, Roboto, sans-serif);font-size:var(--md-sys-typescale-label-small-font-size, 11px);font-weight:var(--md-sys-typescale-label-small-font-weight, 500);line-height:var(--md-sys-typescale-label-small-line-height, 16px);letter-spacing:var(--md-sys-typescale-label-small-letter-spacing, 0.5px);color:var(--_overline-color);contain:inline-size;min-inline-size:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;text-transform:uppercase;transition:none}.md-list-item__headline{font-family:var(--_label-text-font);font-size:max(13px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));font-weight:var(--md-sys-typescale-body-large-font-weight, 400);line-height:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));letter-spacing:var(--md-sys-typescale-body-large-letter-spacing, 0.5px);color:var(--_label-text-color);display:block;contain:inline-size;min-inline-size:0;max-inline-size:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;transition:none}.md-list-item__supporting-text{font-family:var(--_supporting-text-font);font-size:max(11px, calc(14px + var(--md-sys-density-scale, 0) * 0.5px));font-weight:var(--md-sys-typescale-body-medium-font-weight, 400);line-height:max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px));letter-spacing:var(--md-sys-typescale-body-medium-letter-spacing, 0.25px);color:var(--_supporting-text-color);display:block;contain:inline-size;min-inline-size:0;max-inline-size:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;transition:none}:host(.md-list-item--3-line) .md-list-item__supporting-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal}md-tooltip.md-list-item__headline-tooltip,md-tooltip.md-list-item__supporting-tooltip{display:block;min-inline-size:0;max-inline-size:100%;overflow:hidden;--md-tooltip-plain-max-inline-size:320px}md-tooltip.md-list-item__supporting-tooltip--empty{display:none}.md-list-item__trailing{display:flex;align-items:center;gap:4px;flex-shrink:0;color:var(--_trailing-icon-color)}.md-list-item__trailing-text{font-family:var(--_trailing-supporting-text-font);font-size:var(--md-sys-typescale-label-small-font-size, 11px);font-weight:var(--md-sys-typescale-label-small-font-weight, 500);line-height:var(--md-sys-typescale-label-small-line-height, 16px);color:var(--_trailing-supporting-text-color);white-space:nowrap}.md-list-item__trailing-icon{display:inline-flex;align-items:center;justify-content:center;font-size:var(--_trailing-icon-size);inline-size:var(--_trailing-icon-size);block-size:var(--_trailing-icon-size);line-height:1;color:var(--_trailing-icon-color)}::slotted([slot="trailing"]:not(md-badge)){display:inline-flex;align-items:center;justify-content:center;color:var(--_trailing-icon-color);fill:currentColor;pointer-events:auto}::slotted(md-badge[slot="trailing"]){display:inline-flex;align-items:center;justify-content:center;pointer-events:auto;position:static;inset-block-start:auto;inset-inline-end:auto;transform:none;flex-shrink:0}:host(.md-list-item--3-line) ::slotted(md-badge[slot="trailing"]){margin-block:auto}.md-list-item__drag-handle.material-symbols-outlined{display:inline-flex;align-items:center;justify-content:center;inline-size:24px;block-size:24px;flex-shrink:0;font-size:22px;line-height:1;color:var(--_trailing-icon-color);opacity:0.55;cursor:grab;touch-action:none;pointer-events:auto;transition:opacity var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), transform var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), color var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}.md-list-item__drag-handle.material-symbols-outlined:hover{opacity:1;color:var(--md-sys-color-on-surface, #1c1b1f);transform:scale(1.08)}.md-list-item__drag-handle.material-symbols-outlined:active{cursor:grabbing}:host(.md-list-item--dragged) .md-list-item__drag-handle{opacity:1;color:var(--md-sys-color-on-surface, #1c1b1f);cursor:grabbing}:host(.md-list-item--shifting){transition:transform var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1));will-change:transform}.md-list-item__expand-button{flex-shrink:0;--md-icon-button-container-width:var(--md-list-item-expand-button-size, 32px);--md-icon-button-container-height:var(--md-list-item-expand-button-size, 32px);--md-icon-button-icon-size:var(--md-list-item-expand-chevron-size, 24px);--md-icon-button-icon-color:var(--_expand-chevron-color);--md-icon-button-state-layer-color:var(--_expand-chevron-color);margin-inline-end:-4px}.md-list-item__expand-button--expanded{--md-icon-button-container-color:var(--md-sys-color-primary, #6750a4);--md-icon-button-icon-color:var(--md-sys-color-on-primary, #ffffff);--md-icon-button-state-layer-color:var(--md-sys-color-on-primary, #ffffff);--md-icon-button-outline-color:transparent}.md-list-item__expand-button::part(icon){transition:transform var(--md-sys-motion-duration-medium2, 250ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1));transform-origin:center}.md-list-item__expand-button--expanded::part(icon){transform:rotate(180deg)}.md-list-item__expanded-panel{display:grid;grid-template-rows:0fr;opacity:0;background-color:var(--_expanded-panel-background);transition:grid-template-rows var(--_collapse-duration) var(--_collapse-easing), opacity var(--_collapse-duration) var(--_collapse-easing)}:host(.md-list-item--expanded) .md-list-item__expanded-panel{grid-template-rows:1fr;opacity:1;transition:grid-template-rows var(--_expand-duration) var(--_expand-easing), opacity var(--_expand-duration) var(--_expand-easing)}.md-list-item__expanded-panel-inner{min-block-size:0;overflow:hidden;transform:translateY(-8px);transition:transform var(--_collapse-duration) var(--_collapse-easing);padding-block:var(--_expanded-panel-padding-block);padding-inline-start:var(--_expanded-panel-padding-inline-start);padding-inline-end:var(--_expanded-panel-padding-inline)}:host(.md-list-item--expanded) .md-list-item__expanded-panel-inner{transform:translateY(0);transition:transform var(--_expand-duration) var(--_expand-easing)}:host(.md-list-item--expandable) ::slotted(md-list-item[slot="expanded-content"]){--md-list-item-container-shape:0px;--md-list-item-container-shape-start-start:0px;--md-list-item-container-shape-start-end:0px;--md-list-item-container-shape-end-start:0px;--md-list-item-container-shape-end-end:0px;display:block;inline-size:100%;box-sizing:border-box}:host-context(.md-list--standard):host(:last-of-type.md-list-item--expanded) ::slotted(md-list-item[slot="expanded-content"]:last-of-type),:host-context(.md-list--segmented):host(:last-of-type.md-list-item--expanded) ::slotted(md-list-item[slot="expanded-content"]:last-of-type){--md-list-item-container-shape-end-start:var(--md-sys-shape-corner-large, 16px);--md-list-item-container-shape-end-end:var(--md-sys-shape-corner-large, 16px)}::slotted(md-divider[slot="expanded-content"]){display:block}::slotted([slot="expanded-content"]){display:block}.md-list-item__expanded-panel[hidden]{display:grid}@media (prefers-reduced-motion: reduce){:host{transition-property:box-shadow}.md-list-item__row,.md-list-item__expanded-panel,.md-list-item__expanded-panel-inner,.md-list-item__drag-handle{transition:none}.md-list-item__drag-handle.material-symbols-outlined:hover{transform:none}.md-list-item__expand-button::part(icon){transition:none}.md-list-item__image-selection-indicator{transition:none}:host(.md-list-item--selected) .md-list-item__image-selection-circle{animation:none;transform:scale(1);opacity:1}}.material-symbols-outlined{font-family:var(--md-sys-icon-font-family, 'Material Symbols Outlined', 'Material Icons');font-weight:normal;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;overflow-wrap:normal;direction:ltr;font-feature-settings:'liga';-webkit-font-smoothing:antialiased;pointer-events:none}:host([dir="rtl"]) .md-list-item__trailing-icon[data-rtl-mirror],:host-context([dir="rtl"]) .md-list-item__trailing-icon[data-rtl-mirror]{transform:scaleX(-1)}:host(.md-list-item--with-image) .md-list-item__row{padding-inline-start:16px}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}:host([hidden]){display:none !important}`;let v=0;const u=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.mdClick=i(this,"mdClick",7);this.mdItemClick=i(this,"mdItemClick",7);this.mdItemSelect=i(this,"mdItemSelect",7);this.mdRequestActivation=i(this,"mdRequestActivation",7);this.mdItemRequestReorder=i(this,"mdItemRequestReorder",7);this.mdExpand=i(this,"mdExpand",7);this.type="text";this.headline="";this.overline="";this.supportingText="";this.trailingSupportingText="";this.leadingIcon="";this.trailingIcon="";this.leadingAvatar="";this.leadingAvatarAlt="";this.leadingAvatarName="";this.leadingAvatarLabel="";this.leadingImage="";this.leadingImageAlt="";this.lines=1;this.href="";this.target="_self";this.disabled=false;this.softDisabled=false;this.selected=false;this.expandable=false;this.expanded=false;this.tabbable=true;this.rovingFocusVisible=false;this.selectionMode="none";this.interactionMode="single-action";this.containerRole="";this.reorderable=false;this.density=0;this.hasSlottedLeading=false;this.hasSlottedTrailing=false;this.hasSlottedHeadline=false;this.hasSlottedOverline=false;this.hasSlottedSupportingText=false;this.hasSlottedTrailingSupportingText=false;this.hasSlottedExpandedContent=false;this.hasExpandedListItemChildren=false;this.hasLeadingVideo=false;this.pressed=false;this.hostedByList=false;this.observer=null;this.expandedPanelId=`md-list-item-panel-${++v}`;this.resizeObserver=null;this.truncationRaf=0;this.truncationDebounceTimer=0;this.headlineTruncated=false;this.supportingTruncated=false;this.handleCaretToggle=t=>{t.stopPropagation();this.toggleExpanded()};this.handleClick=t=>{if(!this.isInteractive)return;if(this.isEffectivelyDisabled){t.preventDefault();return}if(this.isDragHandleTarget(t))return;if(this.isTrailingActionTarget(t))return;if(this.isExpandButtonTarget(t))return;if(this.isExpandedContentTarget(t))return;if(this.expandable){this.expanded=!this.expanded;const t=o(this.href);if(this.type==="link"&&t&&!this.hasPrimaryAction){window.open(t,this.target,l)}this.mdClick.emit({item:this.el});return}const e=o(this.href);if(this.type==="link"&&e&&!this.hasPrimaryAction){window.open(e,this.target,l)}this.mdClick.emit({item:this.el});this.mdItemClick.emit({index:this.computeIndex(),selected:this.selected})};this.handleKeyDown=t=>{if(this.reorderable&&!this.isEffectivelyDisabled&&t.altKey&&(t.key==="ArrowUp"||t.key==="ArrowDown")){t.preventDefault();this.mdItemRequestReorder.emit({direction:t.key==="ArrowUp"?"up":"down",from:this.computeIndex()});return}if(!this.isInteractive)return;if(this.expandable&&!this.isEffectivelyDisabled){if(t.key==="ArrowRight"&&!this.expanded){t.preventDefault();this.expanded=true;return}if(t.key==="ArrowLeft"&&this.expanded){t.preventDefault();this.expanded=false;return}}if(t.key==="Enter"||t.key===" "){t.preventDefault();if(!this.isEffectivelyDisabled){this.pressed=true;r(this.el);if(this.type==="link"&&this.primaryEl){this.primaryEl.click()}else{this.el.click()}window.setTimeout((()=>{this.pressed=false}),150)}}};this.handlePointerDown=t=>{if(this.isExpandButtonTarget(t)||this.isTrailingActionTarget(t))return;if(this.isExpandedContentTarget(t))return;if(this.isInteractive&&!this.isEffectivelyDisabled)this.pressed=true};this.handlePointerUp=()=>{this.pressed=false};this.handleFocus=()=>{if(this.hostedByList&&this.isInteractive){this.mdRequestActivation.emit()}};this.scheduleTruncationCheck=()=>{if(this.truncationDebounceTimer)clearTimeout(this.truncationDebounceTimer);this.truncationDebounceTimer=typeof setTimeout!=="undefined"?setTimeout((()=>{this.truncationDebounceTimer=0;this.runTruncationCheck()}),100):0};this.runTruncationCheck=()=>{const t=()=>{this.truncationRaf=0;this.applyTooltipToggle(this.headlineEl,this.headlineTooltipEl,"headlineTruncated",false);this.applyTooltipToggle(this.supportingEl,this.supportingTooltipEl,"supportingTruncated",this.effectiveLines===3)};if(typeof requestAnimationFrame==="function"){if(this.truncationRaf)cancelAnimationFrame(this.truncationRaf);this.truncationRaf=requestAnimationFrame(t)}else{t()}}}get inSelectionMode(){return this.selectionMode!=="none"}get isExpandedContentSlotted(){return this.el.getAttribute("slot")==="expanded-content"}get participatesInSelection(){return this.inSelectionMode&&!this.expandable&&!this.isExpandedContentSlotted}get isMultiAction(){return this.interactionMode==="multi-action"}get isEffectivelyDisabled(){return this.disabled||this.softDisabled}get isInteractive(){return!this.disabled&&(this.type!=="text"||this.inSelectionMode||this.expandable)}get isMenuContext(){return this.containerRole==="menu"||this.containerRole==="menubar"}get hasPrimaryAction(){return!this.participatesInSelection&&!this.reorderable&&!this.isMenuContext&&(this.type==="button"||this.type==="link")}get hasLeadingContent(){return!!this.leadingIcon||!!this.leadingAvatar||!!this.leadingAvatarLabel||!!this.leadingAvatarName||!!this.leadingImage||this.hasSlottedLeading}get hasTrailingContent(){return!!this.trailingIcon||!!this.trailingSupportingText||this.hasSlottedTrailing||this.hasSlottedTrailingSupportingText||this.expandable||this.reorderable}get effectiveLines(){if(this.lines!==1)return this.lines;const t=!!this.overline||this.hasSlottedOverline;const e=!!this.supportingText||this.hasSlottedSupportingText;if(t&&e)return 3;if(t||e)return 2;return 1}componentWillLoad(){const t=this.el.parentElement;this.hostedByList=!!t&&t.tagName==="MD-LIST";if(this.expandable&&this.selected){this.selected=false}if(this.selectionMode==="none"){const t=this.el.getAttribute("data-selection-mode");if(t==="single-select"||t==="multi-select"){this.selectionMode=t}}if(this.interactionMode==="single-action"){const t=this.el.getAttribute("data-interaction-mode");if(t==="multi-action"){this.interactionMode="multi-action"}}this.detectSlottedFromLightDom();if(this.expandable&&this.selected){this.selected=false}}detectSlottedFromLightDom(){if(!this.el||!this.el.children)return;const t=Array.from(this.el.children);const e=e=>t.some((t=>t.getAttribute("slot")===e));const i=e("trailing");if(i!==this.hasSlottedTrailing)this.hasSlottedTrailing=i;const s=e("trailing-supporting-text");if(s!==this.hasSlottedTrailingSupportingText){this.hasSlottedTrailingSupportingText=s}const a=e("headline");if(a!==this.hasSlottedHeadline)this.hasSlottedHeadline=a;const n=e("supporting-text");if(n!==this.hasSlottedSupportingText)this.hasSlottedSupportingText=n;const r=e("overline");if(r!==this.hasSlottedOverline)this.hasSlottedOverline=r;const o=e("leading");if(o!==this.hasSlottedLeading)this.hasSlottedLeading=o;const l=t.some((t=>t.tagName==="VIDEO"&&t.getAttribute("slot")==="leading"));if(l!==this.hasLeadingVideo)this.hasLeadingVideo=l;const d=t.some((t=>t.tagName==="MD-LIST-ITEM"&&t.getAttribute("slot")==="expanded-content"));if(d!==this.hasExpandedListItemChildren){this.hasExpandedListItemChildren=d}}componentDidLoad(){const t=this.el.shadowRoot;if(!t)return;const e=(e,i,s)=>{const a=t.querySelector(`slot[name="${e}"]`);if(!a)return;const n=()=>{try{i(a.assignedElements().length>0)}catch{}s?.()};a.addEventListener("slotchange",n);n()};e("leading",(t=>this.hasSlottedLeading=t));e("trailing",(t=>this.hasSlottedTrailing=t));e("headline",(t=>this.hasSlottedHeadline=t),(()=>this.scheduleTruncationCheck()));e("overline",(t=>this.hasSlottedOverline=t));e("supporting-text",(t=>this.hasSlottedSupportingText=t),(()=>this.scheduleTruncationCheck()));e("trailing-supporting-text",(t=>this.hasSlottedTrailingSupportingText=t));e("expanded-content",(t=>this.hasSlottedExpandedContent=t));if(typeof MutationObserver!=="undefined"){this.observer=new MutationObserver((t=>{let e=false;for(const i of t){if(i.type==="attributes"&&i.target===this.el&&i.attributeName==="data-selection-mode"){const t=this.el.getAttribute("data-selection-mode");if(t==="single-select"||t==="multi-select"){this.selectionMode=t}else if(!t){this.selectionMode="none"}}if(i.type==="attributes"&&i.target===this.el&&i.attributeName==="data-interaction-mode"){const t=this.el.getAttribute("data-interaction-mode");if(t==="multi-action"){this.interactionMode="multi-action"}else if(!t){this.interactionMode="single-action"}}if(i.type==="childList")e=true;if(i.type==="attributes"&&i.attributeName==="slot"&&i.target!==this.el){e=true}}if(e){this.detectSlottedFromLightDom();this.syncExpandedContentSelectionMode();this.syncExpandedContentDividers()}}));this.observer.observe(this.el,{attributes:true,attributeFilter:["data-selection-mode","data-interaction-mode","slot"],childList:true,subtree:true})}if(typeof ResizeObserver!=="undefined"){this.resizeObserver=new ResizeObserver((()=>this.scheduleTruncationCheck()));this.resizeObserver.observe(this.el)}this.runTruncationCheck();this.syncExpandedContentSelectionMode();this.syncExpandedContentDividers()}disconnectedCallback(){this.observer?.disconnect();this.observer=null;this.resizeObserver?.disconnect();this.resizeObserver=null;if(this.truncationDebounceTimer){clearTimeout(this.truncationDebounceTimer);this.truncationDebounceTimer=0}if(this.truncationRaf&&typeof cancelAnimationFrame==="function"){cancelAnimationFrame(this.truncationRaf);this.truncationRaf=0}}onSelectedChange(t){if(this.expandable&&t){this.selected=false}}onExpandableChange(){if(this.expandable&&this.selected){this.selected=false}this.syncExpandedContentSelectionMode();this.syncExpandedContentDividers()}onSelectionModeChange(){this.syncExpandedContentSelectionMode()}onExpandedChange(t,e){if(t!==e){this.mdExpand.emit(this.buildExpandDetail(t))}}onHeadlineChange(){this.scheduleTruncationCheck()}onSupportingTextChange(){this.scheduleTruncationCheck()}resolveFocusTarget(){if(this.hasPrimaryAction&&this.primaryEl)return this.primaryEl;return this.el}async setFocus(t){const e=this.resolveFocusTarget();if(!e)return;if(e.getAttribute("tabindex")===null){e.setAttribute("tabindex",this.tabbable?"0":"-1")}e.focus(t)}async focusItem(){await this.setFocus()}async toggle(){if(!this.expandable||this.isEffectivelyDisabled)return;this.expanded=!this.expanded}async expand(){if(!this.expandable||this.isEffectivelyDisabled)return;this.expanded=true}async collapse(){if(!this.expandable||this.isEffectivelyDisabled)return;this.expanded=false}isTrailingActionTarget(t){const e=typeof t.composedPath==="function"?t.composedPath():[t.target];for(const t of e){if(!t||t===this.el||!this.isElementLike(t))continue;let e=t;while(e&&e!==this.el){if(e.getAttribute("slot")==="trailing"&&this.isInteractiveTrailingElement(e)){return true}e=e.parentElement}}return false}isElementLike(t){return typeof t.getAttribute==="function"}isInteractiveTrailingElement(t){const e=t.tagName;const i=new Set(["MD-ICON-BUTTON","MD-SWITCH","MD-CHECKBOX","MD-BUTTON","MD-FAB","BUTTON","A","INPUT","SELECT","TEXTAREA"]);if(i.has(e))return true;const s=t;if(typeof s.tabIndex==="number"&&s.tabIndex>=0)return true;const a=t.getAttribute("role");if(a==="button"||a==="switch"||a==="checkbox"||a==="menuitem"){return true}return false}isDragHandleTarget(t){const e=typeof t.composedPath==="function"?t.composedPath():[t.target];return e.some((t=>t?.dataset?.listDragHandle==="true"))}getExpandedContentItems(){return Array.from(this.el.children).filter((t=>t.tagName==="MD-LIST-ITEM"&&t.getAttribute("slot")==="expanded-content"))}isExpandedContentChild(t){return t.parentElement===this.el&&t.getAttribute("slot")==="expanded-content"}syncExpandedContentSelectionMode(){if(!this.expandable)return;const t=this.selectionMode;this.getExpandedContentItems().forEach((e=>{e.selectionMode=t;if(t==="none"){e.removeAttribute("data-selection-mode")}else{e.setAttribute("data-selection-mode",t)}}))}syncExpandedContentDividers(){if(!this.expandable)return;Array.from(this.el.children).forEach((t=>{if(t.tagName==="MD-DIVIDER"&&t.getAttribute("slot")==="expanded-content"){t.setAttribute("aria-hidden","true")}}))}isExpandedContentTarget(t){const e=typeof t.composedPath==="function"?t.composedPath():[t.target];const i=Array.from(this.el.children).filter((t=>t.getAttribute("slot")==="expanded-content"));for(const t of e){if(!t||t===this.el)continue;for(const e of i){if(t===e)return true;if(t instanceof Node&&e.contains(t))return true}}return false}isExpandButtonTarget(t){const e=typeof t.composedPath==="function"?t.composedPath():[t.target];return e.some((t=>t?.dataset?.expandToggle==="true"))}toggleExpanded(){if(!this.expandable||this.isEffectivelyDisabled)return;this.expanded=!this.expanded}expandToggleLabel(){const t=this.expanded?"Collapse":"Expand";const e=this.headlineFullText();return e?`${t} ${e}`:t}onExpandedChildItemClick(t){if(!this.expandable||this.selectionMode==="none")return;const e=t.composedPath().find((t=>t?.tagName==="MD-LIST-ITEM"));if(!e||e===this.el||!this.isExpandedContentChild(e))return;t.stopPropagation();const i=this.getExpandedContentItems();if(this.selectionMode==="single-select"){i.forEach((t=>{t.selected=t===e}))}else if(this.selectionMode==="multi-select"){e.selected=!e.selected}const s=i.indexOf(e);this.mdItemSelect.emit({index:s,value:e.headline||(e.textContent??"").trim(),selected:e.selected,item:e})}computeIndex(){const t=this.el.parentElement;if(!t)return 0;const e=Array.from(t.children).filter((t=>t.tagName==="MD-LIST-ITEM"));return e.indexOf(this.el)}buildExpandDetail(t){const e=this.el;const i=this.computeIndex();const s=this.headlineFullText();return{expanded:t,...i>=0?{index:i}:{},...s?{value:s}:{},item:e}}getSlottedText(t){const e=this.el.shadowRoot?.querySelector(`slot[name="${t}"]`);if(!e)return"";try{return e.assignedNodes().map((t=>t.textContent||"")).join("").trim()}catch{return""}}getDefaultSlotText(){return Array.from(this.el.children).filter((t=>!t.hasAttribute("slot"))).map((t=>t.textContent||"")).join("").trim()}headlineFullText(){return this.hasSlottedHeadline?this.getSlottedText("headline"):this.headline||this.getDefaultSlotText()}supportingFullText(){return this.hasSlottedSupportingText?this.getSlottedText("supporting-text"):this.supportingText}applyTooltipToggle(t,e,i,s){if(!t||!e)return;if(typeof t.scrollWidth!=="number")return;const a=t.scrollWidth>t.clientWidth||s&&t.scrollHeight>t.clientHeight;if(a===this[i])return;this[i]=a;e.disabled=!a}renderLeading(){return s("span",{class:{"md-list-item__leading":true,"md-list-item__leading--empty":!this.hasLeadingContent},part:"leading"},s("slot",{name:"leading"},this.leadingAvatar||this.leadingAvatarLabel||this.leadingAvatarName?s("md-avatar",{class:"md-list-item__avatar",exportparts:"image: avatar-image, initials: avatar-initials, icon: avatar-icon",part:"avatar",src:this.leadingAvatar||undefined,alt:this.leadingAvatarAlt||undefined,name:this.leadingAvatarName||undefined,initials:this.leadingAvatarLabel||undefined,size:"medium",shape:"circle"}):this.leadingImage?s("span",{class:"md-list-item__image-wrap",part:"image-wrap"},s("img",{class:"md-list-item__image",part:"image",src:this.leadingImage,alt:this.leadingImageAlt||"","aria-hidden":!this.leadingImageAlt?"true":null}),s("span",{class:"md-list-item__image-selection-indicator",part:"image-selection-indicator","aria-hidden":"true"},s("span",{class:"md-list-item__image-selection-circle",part:"image-selection-circle"},s("span",{class:"md-list-item__image-selection-check material-symbols-outlined",part:"image-selection-check","aria-hidden":"true"},"check")))):this.leadingIcon?s("span",{class:"md-list-item__icon material-symbols-outlined",part:"leading-icon","aria-hidden":"true"},this.leadingIcon):null))}renderContent(){const t=!!this.overline||this.hasSlottedOverline;const e=!!this.supportingText||this.hasSlottedSupportingText;return s("span",{class:"md-list-item__content",part:"content"},s("span",{class:{"md-list-item__overline":true,"md-list-item__overline--empty":!t},part:"overline"},s("slot",{name:"overline"},this.overline)),s("md-tooltip",{class:"md-list-item__headline-tooltip",variant:"plain",text:this.headlineFullText()||undefined,disabled:!this.headlineTruncated,exportparts:"popup: headline-tooltip-popup",ref:t=>this.headlineTooltipEl=t},s("span",{class:"md-list-item__headline",part:"headline",ref:t=>this.headlineEl=t},s("slot",{name:"headline"},this.headline||s("slot",null)))),s("md-tooltip",{class:{"md-list-item__supporting-tooltip":true,"md-list-item__supporting-tooltip--empty":!e},variant:"plain",text:this.supportingFullText()||undefined,disabled:!this.supportingTruncated,exportparts:"popup: supporting-tooltip-popup",ref:t=>this.supportingTooltipEl=t},s("span",{class:{"md-list-item__supporting-text":true,"md-list-item__supporting-text--empty":!e},part:"supporting-text",ref:t=>this.supportingEl=t},s("slot",{name:"supporting-text"},this.supportingText))))}renderTrailing(){if(!this.hasTrailingContent)return null;const t=!!this.trailingSupportingText||this.hasSlottedTrailingSupportingText;return s("span",{class:"md-list-item__trailing",part:"trailing"},s("slot",{name:"trailing"},t&&s("span",{class:"md-list-item__trailing-text",part:"trailing-supporting-text"},s("slot",{name:"trailing-supporting-text"},this.trailingSupportingText)),this.trailingIcon&&s("span",{class:"md-list-item__trailing-icon material-symbols-outlined",part:"trailing-icon","aria-hidden":"true"},this.trailingIcon)),this.expandable&&s("md-icon-button",{class:{"md-list-item__expand-button":true,"md-list-item__expand-button--expanded":this.expanded},part:"expand-button",exportparts:"state-layer:expand-button-state-layer,icon:expand-button-icon","data-expand-toggle":"true",variant:"standard",size:"xs",buttonWidth:"narrow",icon:"expand_more",selected:this.expanded,disabled:this.isEffectivelyDisabled,"aria-expanded":this.expanded?"true":"false","aria-controls":this.expandedPanelId,"aria-label":this.expandToggleLabel(),onMdClick:this.handleCaretToggle}),this.reorderable&&s("span",{class:"md-list-item__drag-handle material-symbols-outlined",part:"drag-handle","data-list-drag-handle":"true","aria-hidden":"true"},"drag_indicator"))}renderPrimary(t){const e=t=>this.primaryEl=t;if(this.type==="link"){const i=o(this.href);return s("a",{class:"md-list-item__primary",part:"primary",role:"link",href:i,target:i?this.target:undefined,rel:i&&this.target?d:undefined,tabindex:t??undefined,"aria-disabled":this.isEffectivelyDisabled?"true":null,onFocus:this.handleFocus,ref:t=>e(t)},this.renderLeading(),this.renderContent())}return s("span",{class:"md-list-item__primary",part:"primary",role:"button",tabindex:t??undefined,"aria-disabled":this.isEffectivelyDisabled?"true":null,onFocus:this.handleFocus,ref:t=>e(t)},this.renderLeading(),this.renderContent())}render(){const t=this.effectiveLines;const e=this.isInteractive;const i=this.hasPrimaryAction;const n=this.isMenuContext&&!this.participatesInSelection&&(this.type==="button"||this.type==="link");let r;if(this.participatesInSelection){r="option"}else if(n){r="menuitem"}else{r="listitem"}const o=this.expandable&&!this.participatesInSelection&&this.type==="text";const l=this.participatesInSelection?this.selected?"true":"false":null;const d=e&&!o||this.reorderable;const m=d?this.tabbable?"0":"-1":null;const c=i?null:m;const p=i?m:null;const h=this.hasExpandedListItemChildren?"list":this.inSelectionMode?"group":"region";const g=h==="region"?undefined:this.headlineFullText()||undefined;return s(a,{key:"7f47f42e3729f58f96d35e9edad3b0d3913071a4",class:{"md-list-item":true,[`md-list-item--${t}-line`]:true,[`md-list-item--type-${this.type}`]:true,"md-list-item--selection-mode":this.participatesInSelection,"md-list-item--multi-action":this.isMultiAction,"md-list-item--interactive":e,"md-list-item--disabled":this.disabled||this.softDisabled,"md-list-item--soft-disabled":this.softDisabled,"md-list-item--selected":this.selected&&!this.expandable,"md-list-item--pressed":this.pressed,"md-list-item--with-leading":this.hasLeadingContent,"md-list-item--with-trailing":this.hasTrailingContent,"md-list-item--with-avatar":!!this.leadingAvatar||!!this.leadingAvatarLabel||!!this.leadingAvatarName,"md-list-item--with-image":!!this.leadingImage,"md-list-item--with-video":this.hasLeadingVideo,"md-list-item--expandable":this.expandable,"md-list-item--expanded":this.expandable&&this.expanded,"md-list-item--reorderable":this.reorderable,"md-list-item--roving-focus-visible":this.rovingFocusVisible},role:r,"aria-disabled":this.isEffectivelyDisabled?"true":null,"aria-selected":l,tabindex:c,onClick:e?this.handleClick:undefined,onKeyDown:e||this.reorderable?this.handleKeyDown:undefined,onPointerDown:e?this.handlePointerDown:undefined,onPointerUp:e?this.handlePointerUp:undefined,onPointerLeave:e?this.handlePointerUp:undefined,onPointerCancel:e?this.handlePointerUp:undefined,onFocus:e&&!i?this.handleFocus:undefined},s("span",{key:"318c0e4d49c04a5732cc5783481378d9ee43691f",class:"md-list-item__row",part:"row"},e&&s("md-ripple",{key:"d34ab9b776e9783fa3c30114b04f8ef5635a504d",disabled:this.isEffectivelyDisabled}),e&&s("span",{key:"4a9fa8a4878610573370a7b0fc901ebda85e05f5",class:"md-list-item__state-layer",part:"state-layer","aria-hidden":"true"}),i&&this.renderPrimary(p),!i&&this.renderLeading(),!i&&this.renderContent(),this.renderTrailing()),this.expandable&&s("span",{key:"7011ec1fc1663d4267528fa69c12940847ee40d6",class:"md-list-item__expanded-panel",part:"expanded-panel",id:this.expandedPanelId,role:h,"aria-label":g,hidden:!this.expanded},s("span",{key:"5c2a758e56dcc4998336635c26f91d1710f8f874",class:"md-list-item__expanded-panel-inner",part:"expanded-panel-inner"},s("slot",{key:"c19fd154bf14d1597ab85183031b7015682c928a",name:"expanded-content"}))))}get el(){return this}static get watchers(){return{selected:[{onSelectedChange:0}],expandable:[{onExpandableChange:0}],selectionMode:[{onSelectionModeChange:0}],expanded:[{onExpandedChange:0}],headline:[{onHeadlineChange:0}],supportingText:[{onSupportingTextChange:0}]}}static get style(){return g()}},[257,"md-list-item",{type:[513],headline:[1],overline:[1],supportingText:[1,"supporting-text"],trailingSupportingText:[1,"trailing-supporting-text"],leadingIcon:[1,"leading-icon"],trailingIcon:[1,"trailing-icon"],leadingAvatar:[1,"leading-avatar"],leadingAvatarAlt:[1,"leading-avatar-alt"],leadingAvatarName:[1,"leading-avatar-name"],leadingAvatarLabel:[1,"leading-avatar-label"],leadingImage:[1,"leading-image"],leadingImageAlt:[1,"leading-image-alt"],lines:[2],href:[1],target:[1],disabled:[516],softDisabled:[516,"soft-disabled"],selected:[1540],expandable:[516],expanded:[1540],tabbable:[1028],rovingFocusVisible:[1028,"roving-focus-visible"],selectionMode:[1025,"selection-mode"],interactionMode:[1025,"interaction-mode"],containerRole:[1025,"container-role"],reorderable:[1028],density:[514],hasSlottedLeading:[32],hasSlottedTrailing:[32],hasSlottedHeadline:[32],hasSlottedOverline:[32],hasSlottedSupportingText:[32],hasSlottedTrailingSupportingText:[32],hasSlottedExpandedContent:[32],hasExpandedListItemChildren:[32],hasLeadingVideo:[32],pressed:[32],hostedByList:[32],setFocus:[64],focusItem:[64],toggle:[64],expand:[64],collapse:[64]},[[0,"mdItemClick","onExpandedChildItemClick"]],{selected:[{onSelectedChange:0}],expandable:[{onExpandableChange:0}],selectionMode:[{onSelectionModeChange:0}],expanded:[{onExpandedChange:0}],headline:[{onHeadlineChange:0}],supportingText:[{onSupportingTextChange:0}]}]);function f(){if(typeof customElements==="undefined"){return}const t=["md-list-item","md-avatar","md-icon-button","md-ripple","md-tooltip"];t.forEach((t=>{switch(t){case"md-list-item":if(!customElements.get(n(t))){customElements.define(n(t),u)}break;case"md-avatar":if(!customElements.get(n(t))){m()}break;case"md-icon-button":if(!customElements.get(n(t))){c()}break;case"md-ripple":if(!customElements.get(n(t))){p()}break;case"md-tooltip":if(!customElements.get(n(t))){h()}break}}))}f();const _=u;const x=f;export{_ as MdListItem,x as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=md-list-item.js.map
|