@awc-ui/core 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/templates/astro/package.json +2 -2
- package/bin/templates/html/index.html +3 -3
- package/bin/templates/html/package.json +2 -2
- package/bin/templates/next/package.json +3 -3
- package/bin/templates/nuxt/package.json +2 -2
- package/bin/templates/sveltekit/package.json +2 -2
- package/custom-elements.json +644 -1
- package/dist/cjs/data-elements-Cs49KP5R.js +151 -0
- package/dist/cjs/data-elements-Cs49KP5R.js.map +1 -0
- package/dist/cjs/{index-DLOFxFlM.js → index-DHpWaYWF.js} +23 -3
- package/dist/cjs/{index-DLOFxFlM.js.map → index-DHpWaYWF.js.map} +1 -1
- package/dist/cjs/{initial-motion-DVmpmKD8.js → initial-motion-COVdXmbQ.js} +3 -3
- package/dist/cjs/{initial-motion-DVmpmKD8.js.map → initial-motion-COVdXmbQ.js.map} +1 -1
- package/dist/cjs/{lazy-loading-indicator-Bgw5HXaX.js → lazy-loading-indicator-DqjeYBZo.js} +4 -4
- package/dist/cjs/{lazy-loading-indicator-Bgw5HXaX.js.map → lazy-loading-indicator-DqjeYBZo.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/md-accordion-item.cjs.entry.js +5 -5
- package/dist/cjs/md-accordion.cjs.entry.js +2 -2
- package/dist/cjs/md-app-bar.cjs.entry.js +3 -3
- package/dist/cjs/md-area-chart.cjs.entry.js +27 -15
- package/dist/cjs/md-area-chart.cjs.entry.js.map +1 -1
- package/dist/cjs/md-autocomplete.cjs.entry.js +3 -3
- package/dist/cjs/md-avatar_2.cjs.entry.js +3 -3
- package/dist/cjs/md-badge.cjs.entry.js +4 -4
- package/dist/cjs/md-bar-chart.cjs.entry.js +27 -15
- package/dist/cjs/md-bar-chart.cjs.entry.js.map +1 -1
- package/dist/cjs/md-bottom-sheet.cjs.entry.js +6 -6
- package/dist/cjs/md-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/md-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/md-button-group.cjs.entry.js +2 -2
- package/dist/cjs/md-button_6.cjs.entry.js +12 -12
- package/dist/cjs/md-chart-series.cjs.entry.js +122 -0
- package/dist/cjs/md-chart-series.cjs.entry.js.map +1 -0
- package/dist/cjs/md-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/md-chip.cjs.entry.js +4 -4
- package/dist/cjs/md-color-picker.cjs.entry.js +3 -3
- package/dist/cjs/md-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/md-dialog.cjs.entry.js +5 -5
- package/dist/cjs/md-divider.cjs.entry.js +4 -4
- package/dist/cjs/md-fab-menu-item.cjs.entry.js +4 -4
- package/dist/cjs/md-fab-menu.cjs.entry.js +5 -5
- package/dist/cjs/md-fab.cjs.entry.js +4 -4
- package/dist/cjs/md-line-chart.cjs.entry.js +31 -19
- package/dist/cjs/md-line-chart.cjs.entry.js.map +1 -1
- package/dist/cjs/md-list-item.cjs.entry.js +2 -2
- package/dist/cjs/md-list.cjs.entry.js +2 -2
- package/dist/cjs/{md-loading-indicator-BB9ghhFd.js → md-loading-indicator-Px_NR8tC.js} +4 -4
- package/dist/cjs/{md-loading-indicator-BB9ghhFd.js.map → md-loading-indicator-Px_NR8tC.js.map} +1 -1
- package/dist/cjs/md-loading-indicator.cjs.entry.js +3 -3
- package/dist/cjs/md-menu-item-group.cjs.entry.js +3 -3
- package/dist/cjs/md-menu_2.cjs.entry.js +8 -8
- package/dist/cjs/md-meter.cjs.entry.js +4 -4
- package/dist/cjs/md-multi-select.cjs.entry.js +5 -5
- package/dist/cjs/md-navigation-bar.cjs.entry.js +2 -2
- package/dist/cjs/md-navigation-rail-tab.cjs.entry.js +3 -3
- package/dist/cjs/md-navigation-rail.cjs.entry.js +4 -4
- package/dist/cjs/md-navigation-tab.cjs.entry.js +2 -2
- package/dist/cjs/md-number-field.cjs.entry.js +2 -2
- package/dist/cjs/md-organization-chart.cjs.entry.js +2 -2
- package/dist/cjs/md-otp-field.cjs.entry.js +2 -2
- package/dist/cjs/md-pie-chart.cjs.entry.js +25 -15
- package/dist/cjs/md-pie-chart.cjs.entry.js.map +1 -1
- package/dist/cjs/md-pie-slice.cjs.entry.js +59 -0
- package/dist/cjs/md-pie-slice.cjs.entry.js.map +1 -0
- package/dist/cjs/md-progress-indicator.cjs.entry.js +3 -3
- package/dist/cjs/md-rating.cjs.entry.js +4 -4
- package/dist/cjs/md-search.cjs.entry.js +4 -4
- package/dist/cjs/md-segmented-button-set.cjs.entry.js +4 -4
- package/dist/cjs/md-segmented-button.cjs.entry.js +5 -5
- package/dist/cjs/md-select-option.cjs.entry.js +3 -3
- package/dist/cjs/md-select.cjs.entry.js +5 -5
- package/dist/cjs/md-side-sheet.cjs.entry.js +6 -6
- package/dist/cjs/md-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/md-slider.cjs.entry.js +2 -2
- package/dist/cjs/md-sparkline-point.cjs.entry.js +43 -0
- package/dist/cjs/md-sparkline-point.cjs.entry.js.map +1 -0
- package/dist/cjs/md-sparkline.cjs.entry.js +22 -12
- package/dist/cjs/md-sparkline.cjs.entry.js.map +1 -1
- package/dist/cjs/md-split-button.cjs.entry.js +5 -5
- package/dist/cjs/md-status-dot.cjs.entry.js +3 -3
- package/dist/cjs/md-step.cjs.entry.js +8 -8
- package/dist/cjs/md-stepper.cjs.entry.js +5 -5
- package/dist/cjs/md-sub-menu-item.cjs.entry.js +4 -4
- package/dist/cjs/md-switch.cjs.entry.js +4 -4
- package/dist/cjs/md-tab-panel.cjs.entry.js +3 -3
- package/dist/cjs/md-tab-panels.cjs.entry.js +3 -3
- package/dist/cjs/md-tab.cjs.entry.js +6 -6
- package/dist/cjs/md-table-body.cjs.entry.js +3 -3
- package/dist/cjs/md-table-cell.cjs.entry.js +4 -4
- package/dist/cjs/md-table-container.cjs.entry.js +4 -4
- package/dist/cjs/md-table-expand-toggle.cjs.entry.js +4 -4
- package/dist/cjs/md-table-foot.cjs.entry.js +3 -3
- package/dist/cjs/md-table-head.cjs.entry.js +3 -3
- package/dist/cjs/md-table-pagination.cjs.entry.js +4 -4
- package/dist/cjs/md-table-row.cjs.entry.js +6 -6
- package/dist/cjs/md-table-sort-label.cjs.entry.js +4 -4
- package/dist/cjs/md-table-toolbar.cjs.entry.js +5 -5
- package/dist/cjs/md-table.cjs.entry.js +5 -5
- package/dist/cjs/md-tabs.cjs.entry.js +4 -4
- package/dist/cjs/md-text-field.cjs.entry.js +9 -9
- package/dist/cjs/md-time-picker.cjs.entry.js +4 -4
- package/dist/cjs/md-toolbar.cjs.entry.js +5 -5
- package/dist/cjs/md-transfer-list.cjs.entry.js +3 -3
- package/dist/cjs/md3.cjs.js +2 -2
- package/dist/cjs/{overlay-lifecycle-CUc_dfNl.js → overlay-lifecycle-Bhu5zauR.js} +3 -3
- package/dist/cjs/{overlay-lifecycle-CUc_dfNl.js.map → overlay-lifecycle-Bhu5zauR.js.map} +1 -1
- package/dist/cjs/series-elements-B4T7vF5A.js +90 -0
- package/dist/cjs/series-elements-B4T7vF5A.js.map +1 -0
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/md-accordion-item/md-accordion-item.js +3 -3
- package/dist/collection/components/md-app-bar/md-app-bar.js +1 -1
- package/dist/collection/components/md-area-chart/md-area-chart.js +35 -22
- package/dist/collection/components/md-area-chart/md-area-chart.js.map +1 -1
- package/dist/collection/components/md-badge/md-badge.js +2 -2
- package/dist/collection/components/md-bar-chart/md-bar-chart.js +31 -18
- package/dist/collection/components/md-bar-chart/md-bar-chart.js.map +1 -1
- package/dist/collection/components/md-bottom-sheet/md-bottom-sheet.js +4 -4
- package/dist/collection/components/md-chart-series/md-chart-series.css +4 -0
- package/dist/collection/components/md-chart-series/md-chart-series.js +654 -0
- package/dist/collection/components/md-chart-series/md-chart-series.js.map +1 -0
- package/dist/collection/components/md-checkbox/md-checkbox.js +3 -3
- package/dist/collection/components/md-chip/md-chip.js +2 -2
- package/dist/collection/components/md-dialog/md-dialog.js +2 -2
- package/dist/collection/components/md-divider/md-divider.js +2 -2
- package/dist/collection/components/md-fab/md-fab.js +2 -2
- package/dist/collection/components/md-fab-menu/md-fab-menu.js +2 -2
- package/dist/collection/components/md-fab-menu-item/md-fab-menu-item.js +2 -2
- package/dist/collection/components/md-icon-button/md-icon-button.js +4 -4
- package/dist/collection/components/md-line-chart/md-line-chart.js +31 -18
- package/dist/collection/components/md-line-chart/md-line-chart.js.map +1 -1
- package/dist/collection/components/md-menu/md-menu.js +3 -3
- package/dist/collection/components/md-menu-item/md-menu-item.js +2 -2
- package/dist/collection/components/md-menu-item-group/md-menu-item-group.js +1 -1
- package/dist/collection/components/md-meter/md-meter.js +2 -2
- package/dist/collection/components/md-multi-select/md-multi-select.js +2 -2
- package/dist/collection/components/md-navigation-rail/md-navigation-rail.js +2 -2
- package/dist/collection/components/md-navigation-rail-tab/md-navigation-rail-tab.js +1 -1
- package/dist/collection/components/md-pie-chart/md-pie-chart.js +25 -14
- package/dist/collection/components/md-pie-chart/md-pie-chart.js.map +1 -1
- package/dist/collection/components/md-pie-slice/md-pie-slice.css +1 -0
- package/dist/collection/components/md-pie-slice/md-pie-slice.js +227 -0
- package/dist/collection/components/md-pie-slice/md-pie-slice.js.map +1 -0
- package/dist/collection/components/md-progress-indicator/md-progress-indicator.js +1 -1
- package/dist/collection/components/md-radio/md-radio.js +2 -2
- package/dist/collection/components/md-rating/md-rating.js +2 -2
- package/dist/collection/components/md-ripple/md-ripple.js +1 -1
- package/dist/collection/components/md-segmented-button/md-segmented-button.js +3 -3
- package/dist/collection/components/md-segmented-button-set/md-segmented-button-set.js +2 -2
- package/dist/collection/components/md-select/md-select.js +2 -2
- package/dist/collection/components/md-select-option/md-select-option.js +1 -1
- package/dist/collection/components/md-side-sheet/md-side-sheet.js +3 -3
- package/dist/collection/components/md-skeleton/md-skeleton.js +1 -1
- package/dist/collection/components/md-snackbar/md-snackbar.js +2 -2
- package/dist/collection/components/md-sparkline/md-sparkline.js +22 -11
- package/dist/collection/components/md-sparkline/md-sparkline.js.map +1 -1
- package/dist/collection/components/md-sparkline-point/md-sparkline-point.css +1 -0
- package/dist/collection/components/md-sparkline-point/md-sparkline-point.js +96 -0
- package/dist/collection/components/md-sparkline-point/md-sparkline-point.js.map +1 -0
- package/dist/collection/components/md-split-button/md-split-button.js +3 -3
- package/dist/collection/components/md-status-dot/md-status-dot.js +1 -1
- package/dist/collection/components/md-step/md-step.js +6 -6
- package/dist/collection/components/md-stepper/md-stepper.js +3 -3
- package/dist/collection/components/md-sub-menu-item/md-sub-menu-item.js +2 -2
- package/dist/collection/components/md-switch/md-switch.js +2 -2
- package/dist/collection/components/md-tab/md-tab.js +4 -4
- package/dist/collection/components/md-tab-panel/md-tab-panel.js +1 -1
- package/dist/collection/components/md-tab-panels/md-tab-panels.js +1 -1
- package/dist/collection/components/md-table/md-table.js +3 -3
- package/dist/collection/components/md-table-body/md-table-body.js +1 -1
- package/dist/collection/components/md-table-cell/md-table-cell.js +2 -2
- package/dist/collection/components/md-table-container/md-table-container.js +2 -2
- package/dist/collection/components/md-table-expand-toggle/md-table-expand-toggle.js +2 -2
- package/dist/collection/components/md-table-foot/md-table-foot.js +1 -1
- package/dist/collection/components/md-table-head/md-table-head.js +1 -1
- package/dist/collection/components/md-table-pagination/md-table-pagination.js +2 -2
- package/dist/collection/components/md-table-row/md-table-row.js +4 -4
- package/dist/collection/components/md-table-sort-label/md-table-sort-label.js +2 -2
- package/dist/collection/components/md-table-toolbar/md-table-toolbar.js +3 -3
- package/dist/collection/components/md-tabs/md-tabs.js +2 -2
- package/dist/collection/components/md-text-field/md-text-field.js +7 -7
- package/dist/collection/components/md-time-picker/md-time-picker.js +1 -1
- package/dist/collection/components/md-toolbar/md-toolbar.js +3 -3
- package/dist/collection/components/md-tooltip/md-tooltip.js +1 -1
- package/dist/collection/components/md-transfer-list/md-transfer-list.js +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/utils/charts/data-elements.js +138 -0
- package/dist/collection/utils/charts/data-elements.js.map +1 -0
- package/dist/collection/utils/charts/series-elements.js +82 -0
- package/dist/collection/utils/charts/series-elements.js.map +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/md-accordion-item.js +1 -1
- package/dist/components/md-accordion.js +1 -1
- package/dist/components/md-app-bar.js +1 -1
- package/dist/components/md-area-chart.js +1 -1
- package/dist/components/md-area-chart.js.map +1 -1
- package/dist/components/md-autocomplete.js +1 -1
- package/dist/components/md-avatar.js +1 -1
- package/dist/components/md-badge.js +1 -1
- package/dist/components/md-bar-chart.js +1 -1
- package/dist/components/md-bar-chart.js.map +1 -1
- package/dist/components/md-bottom-sheet.js +1 -1
- package/dist/components/md-breadcrumb-item.js +1 -1
- package/dist/components/md-breadcrumbs.js +1 -1
- package/dist/components/md-button-group.js +1 -1
- package/dist/components/md-button.js +1 -1
- package/dist/components/md-card.js +1 -1
- package/dist/components/md-chart-series.d.ts +11 -0
- package/dist/components/md-chart-series.js +2 -0
- package/dist/components/md-chart-series.js.map +1 -0
- package/dist/components/md-checkbox.js +1 -1
- package/dist/components/md-chip.js +1 -1
- package/dist/components/md-color-picker.js +1 -1
- package/dist/components/md-date-picker.js +1 -1
- package/dist/components/md-dialog.js +1 -1
- package/dist/components/md-divider.js +1 -1
- package/dist/components/md-fab-menu-item.js +1 -1
- package/dist/components/md-fab-menu.js +1 -1
- package/dist/components/md-fab.js +1 -1
- package/dist/components/md-icon-button.js +1 -1
- package/dist/components/md-line-chart.js +1 -1
- package/dist/components/md-line-chart.js.map +1 -1
- package/dist/components/md-list-item.js +1 -1
- package/dist/components/md-list.js +1 -1
- package/dist/components/md-loading-indicator.js +1 -1
- package/dist/components/md-menu-item-group.js +1 -1
- package/dist/components/md-menu-item.js +1 -1
- package/dist/components/md-menu.js +1 -1
- package/dist/components/md-meter.js +1 -1
- package/dist/components/md-multi-select.js +1 -1
- package/dist/components/md-navigation-bar.js +1 -1
- package/dist/components/md-navigation-rail-tab.js +1 -1
- package/dist/components/md-navigation-rail.js +1 -1
- package/dist/components/md-navigation-tab.js +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-pie-chart.js +1 -1
- package/dist/components/md-pie-chart.js.map +1 -1
- package/dist/components/md-pie-slice.d.ts +11 -0
- package/dist/components/md-pie-slice.js +2 -0
- package/dist/components/md-pie-slice.js.map +1 -0
- package/dist/components/md-progress-indicator.js +1 -1
- package/dist/components/md-radio.js +1 -1
- package/dist/components/md-rating.js +1 -1
- package/dist/components/md-ripple.js +1 -1
- package/dist/components/md-search.js +1 -1
- package/dist/components/md-segmented-button-set.js +1 -1
- package/dist/components/md-segmented-button.js +1 -1
- package/dist/components/md-select-option.js +1 -1
- package/dist/components/md-select-option.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-skeleton.js +1 -1
- package/dist/components/md-slider.js +1 -1
- package/dist/components/md-snackbar.js +1 -1
- package/dist/components/md-sparkline-point.d.ts +11 -0
- package/dist/components/md-sparkline-point.js +2 -0
- package/dist/components/md-sparkline-point.js.map +1 -0
- package/dist/components/md-sparkline.js +1 -1
- package/dist/components/md-sparkline.js.map +1 -1
- package/dist/components/md-split-button.js +1 -1
- package/dist/components/md-status-dot.js +1 -1
- package/dist/components/md-step.js +1 -1
- package/dist/components/md-stepper.js +1 -1
- package/dist/components/md-sub-menu-item.js +1 -1
- package/dist/components/md-switch.js +1 -1
- package/dist/components/md-tab-panel.js +1 -1
- package/dist/components/md-tab-panels.js +1 -1
- package/dist/components/md-tab.js +1 -1
- package/dist/components/md-tab.js.map +1 -1
- package/dist/components/md-table-body.js +1 -1
- package/dist/components/md-table-cell.js +1 -1
- package/dist/components/md-table-container.js +1 -1
- package/dist/components/md-table-expand-toggle.js +1 -1
- package/dist/components/md-table-foot.js +1 -1
- package/dist/components/md-table-head.js +1 -1
- package/dist/components/md-table-pagination.js +1 -1
- package/dist/components/md-table-pagination.js.map +1 -1
- package/dist/components/md-table-row.js +1 -1
- package/dist/components/md-table-sort-label.js +1 -1
- package/dist/components/md-table-toolbar.js +1 -1
- package/dist/components/md-table.js +1 -1
- package/dist/components/md-tabs.js +1 -1
- package/dist/components/md-text-field.js +1 -1
- package/dist/components/md-time-picker.js +1 -1
- package/dist/components/md-toolbar.js +1 -1
- package/dist/components/md-tooltip.js +1 -1
- package/dist/components/md-transfer-list.js +1 -1
- package/dist/{md3/p-BytnCy9Z.js → components/p-0hoYij4e.js} +2 -2
- package/dist/{components-csr/p-mPtoRtT7.js → components/p-8ZntJ7QX.js} +2 -2
- package/dist/components/p-BcgBd7Uo.js +2 -0
- package/dist/components/p-BcgBd7Uo.js.map +1 -0
- package/dist/components/{p-DIGH4LlS.js → p-Be_QxD6y.js} +2 -2
- package/dist/components/{p-BcOsCkxa.js → p-C9Z-3TKn.js} +2 -2
- package/dist/components/p-CGLhTKkQ.js +2 -0
- package/dist/components/p-CGLhTKkQ.js.map +1 -0
- package/dist/components/{p-CGKlSro0.js → p-CWveMYei.js} +2 -2
- package/dist/{components-csr/p-B3y4Sfu7.js → components/p-CXuNI4mJ.js} +2 -2
- package/dist/components/{p-BCAoGEfF.js → p-CjebvGxr.js} +2 -2
- package/dist/components/{p-BWCwdLDy.js → p-Cui8F6rf.js} +2 -2
- package/dist/components/{p-B9jJRlnU.js → p-D9C2BtN-.js} +2 -2
- package/dist/components/{p-AD7q8XNf.js → p-DI0ebvMQ.js} +2 -2
- package/dist/components/{p-BJAKwQqQ.js → p-DM30Y_8c.js} +2 -2
- package/dist/components/{p-CXOHmY2w.js → p-DTAVEp79.js} +2 -2
- package/dist/{components-csr/p-DQL7SnR8.js → components/p-DoQ8iQ1K.js} +2 -2
- package/dist/components/{p-CjV5tPMM.js → p-OutEvCQi.js} +2 -2
- package/dist/components/{p-D_fs8IXJ.js → p-bn_S0ywb.js} +2 -2
- package/dist/components/{p-CspVD-eh.js → p-t9lomFml.js} +2 -2
- package/dist/components/p-t9lomFml.js.map +1 -0
- package/dist/components/{p-63ROhs5i.js → p-xuLJPnDM.js} +2 -2
- package/dist/components/{p-KXxaSDnZ.js → p-y5Rx7xpR.js} +2 -2
- package/dist/components-csr/index.js +1 -1
- package/dist/components-csr/md-accordion-item.js +1 -1
- package/dist/components-csr/md-accordion.js +1 -1
- package/dist/components-csr/md-app-bar.js +1 -1
- package/dist/components-csr/md-area-chart.js +1 -1
- package/dist/components-csr/md-area-chart.js.map +1 -1
- package/dist/components-csr/md-autocomplete.js +1 -1
- package/dist/components-csr/md-avatar.js +1 -1
- package/dist/components-csr/md-badge.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-breadcrumb-item.js +1 -1
- package/dist/components-csr/md-breadcrumbs.js +1 -1
- package/dist/components-csr/md-button-group.js +1 -1
- package/dist/components-csr/md-button.js +1 -1
- package/dist/components-csr/md-card.js +1 -1
- package/dist/components-csr/md-chart-series.js +2 -0
- package/dist/components-csr/md-chart-series.js.map +1 -0
- package/dist/components-csr/md-checkbox.js +1 -1
- package/dist/components-csr/md-chip.js +1 -1
- package/dist/components-csr/md-color-picker.js +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-divider.js +1 -1
- package/dist/components-csr/md-fab-menu-item.js +1 -1
- package/dist/components-csr/md-fab-menu.js +1 -1
- package/dist/components-csr/md-fab.js +1 -1
- package/dist/components-csr/md-icon-button.js +1 -1
- package/dist/components-csr/md-line-chart.js +1 -1
- package/dist/components-csr/md-line-chart.js.map +1 -1
- package/dist/components-csr/md-list-item.js +1 -1
- package/dist/components-csr/md-list.js +1 -1
- package/dist/components-csr/md-loading-indicator.js +1 -1
- package/dist/components-csr/md-menu-item-group.js +1 -1
- package/dist/components-csr/md-menu-item.js +1 -1
- package/dist/components-csr/md-menu.js +1 -1
- package/dist/components-csr/md-meter.js +1 -1
- package/dist/components-csr/md-multi-select.js +1 -1
- package/dist/components-csr/md-navigation-bar.js +1 -1
- package/dist/components-csr/md-navigation-rail-tab.js +1 -1
- package/dist/components-csr/md-navigation-rail.js +1 -1
- package/dist/components-csr/md-navigation-tab.js +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-pie-chart.js +1 -1
- package/dist/components-csr/md-pie-chart.js.map +1 -1
- package/dist/components-csr/md-pie-slice.js +2 -0
- package/dist/components-csr/md-pie-slice.js.map +1 -0
- package/dist/components-csr/md-progress-indicator.js +1 -1
- package/dist/components-csr/md-radio.js +1 -1
- package/dist/components-csr/md-rating.js +1 -1
- package/dist/components-csr/md-ripple.js +1 -1
- package/dist/components-csr/md-search.js +1 -1
- package/dist/components-csr/md-segmented-button-set.js +1 -1
- package/dist/components-csr/md-segmented-button.js +1 -1
- package/dist/components-csr/md-select-option.js +1 -1
- package/dist/components-csr/md-select-option.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-skeleton.js +1 -1
- package/dist/components-csr/md-slider.js +1 -1
- package/dist/components-csr/md-snackbar.js +1 -1
- package/dist/components-csr/md-sparkline-point.js +2 -0
- package/dist/components-csr/md-sparkline-point.js.map +1 -0
- package/dist/components-csr/md-sparkline.js +1 -1
- package/dist/components-csr/md-sparkline.js.map +1 -1
- package/dist/components-csr/md-split-button.js +1 -1
- package/dist/components-csr/md-status-dot.js +1 -1
- package/dist/components-csr/md-step.js +1 -1
- package/dist/components-csr/md-stepper.js +1 -1
- package/dist/components-csr/md-sub-menu-item.js +1 -1
- package/dist/components-csr/md-switch.js +1 -1
- package/dist/components-csr/md-tab-panel.js +1 -1
- package/dist/components-csr/md-tab-panels.js +1 -1
- package/dist/components-csr/md-tab.js +1 -1
- package/dist/components-csr/md-tab.js.map +1 -1
- package/dist/components-csr/md-table-body.js +1 -1
- package/dist/components-csr/md-table-cell.js +1 -1
- package/dist/components-csr/md-table-container.js +1 -1
- package/dist/components-csr/md-table-expand-toggle.js +1 -1
- package/dist/components-csr/md-table-foot.js +1 -1
- package/dist/components-csr/md-table-head.js +1 -1
- package/dist/components-csr/md-table-pagination.js +1 -1
- package/dist/components-csr/md-table-pagination.js.map +1 -1
- package/dist/components-csr/md-table-row.js +1 -1
- package/dist/components-csr/md-table-sort-label.js +1 -1
- package/dist/components-csr/md-table-toolbar.js +1 -1
- package/dist/components-csr/md-table.js +1 -1
- package/dist/components-csr/md-tabs.js +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-toolbar.js +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-C7SO-MXq.js → p--clgeNUW.js} +2 -2
- package/dist/components-csr/{p-BT43J7lo.js → p-17dQVZNR.js} +2 -2
- package/dist/{components/p-DoJOR0pW.js → components-csr/p-B28l7X5i.js} +2 -2
- package/dist/components-csr/{p-CZp-Xecz.js → p-B2vk3_BC.js} +2 -2
- package/dist/components-csr/p-BcgBd7Uo.js +2 -0
- package/dist/components-csr/p-BcgBd7Uo.js.map +1 -0
- package/dist/components-csr/{p-D5zCIaks.js → p-BwQyYHuZ.js} +2 -2
- package/dist/components-csr/{p-Cr1trPWZ.js → p-C9XZMCL-.js} +2 -2
- package/dist/components-csr/p-CGLhTKkQ.js +2 -0
- package/dist/components-csr/p-CGLhTKkQ.js.map +1 -0
- package/dist/components-csr/{p-CWxDc07j.js → p-D-dmT5kY.js} +2 -2
- package/dist/components-csr/{p-CQoO26r0.js → p-D6ADzLya.js} +2 -2
- package/dist/{components/p-WQOlnYmQ.js → components-csr/p-D7AEBQIw.js} +2 -2
- package/dist/components-csr/{p-B_K-3G0S.js → p-D9cIx3li.js} +2 -2
- package/dist/components-csr/{p-Ca8f4AyH.js → p-DERBQrj5.js} +2 -2
- package/dist/components-csr/{p-CUMT_XYv.js → p-DFJO04Vn.js} +2 -2
- package/dist/components-csr/{p-Px_e-xy9.js → p-DH9RCl21.js} +2 -2
- package/dist/components-csr/{p-CB_bjwk9.js → p-DHw4bV7s.js} +2 -2
- package/dist/components-csr/{p-BuMwJsnQ.js → p-DeGXyF1I.js} +2 -2
- package/dist/components-csr/{p-B37-0L5e.js → p-dBZ_5SDM.js} +2 -2
- package/dist/components-csr/p-dBZ_5SDM.js.map +1 -0
- package/dist/{components/p-C6Dk5I_4.js → components-csr/p-jG7JIK7t.js} +2 -2
- package/dist/components-csr/{p-CvTDNP2i.js → p-oV2Z2HiI.js} +2 -2
- package/dist/esm/data-elements-D_7JTg9V.js +142 -0
- package/dist/esm/data-elements-D_7JTg9V.js.map +1 -0
- package/dist/esm/{index-DkJ2hl1A.js → index-DuCsV-Tv.js} +23 -3
- package/dist/esm/{index-DkJ2hl1A.js.map → index-DuCsV-Tv.js.map} +1 -1
- package/dist/esm/{initial-motion-DdqthWsh.js → initial-motion-D_VxK6y5.js} +3 -3
- package/dist/esm/{initial-motion-DdqthWsh.js.map → initial-motion-D_VxK6y5.js.map} +1 -1
- package/dist/esm/{lazy-loading-indicator-CrT32bSG.js → lazy-loading-indicator-D01l1mnu.js} +4 -4
- package/dist/esm/{lazy-loading-indicator-CrT32bSG.js.map → lazy-loading-indicator-D01l1mnu.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/md-accordion-item.entry.js +5 -5
- package/dist/esm/md-accordion.entry.js +2 -2
- package/dist/esm/md-app-bar.entry.js +3 -3
- package/dist/esm/md-area-chart.entry.js +27 -15
- package/dist/esm/md-area-chart.entry.js.map +1 -1
- package/dist/esm/md-autocomplete.entry.js +3 -3
- package/dist/esm/md-avatar_2.entry.js +3 -3
- package/dist/esm/md-badge.entry.js +4 -4
- package/dist/esm/md-bar-chart.entry.js +27 -15
- package/dist/esm/md-bar-chart.entry.js.map +1 -1
- package/dist/esm/md-bottom-sheet.entry.js +6 -6
- package/dist/esm/md-breadcrumb-item.entry.js +2 -2
- package/dist/esm/md-breadcrumbs.entry.js +2 -2
- package/dist/esm/md-button-group.entry.js +2 -2
- package/dist/esm/md-button_6.entry.js +12 -12
- package/dist/esm/md-chart-series.entry.js +120 -0
- package/dist/esm/md-chart-series.entry.js.map +1 -0
- package/dist/esm/md-checkbox.entry.js +5 -5
- package/dist/esm/md-chip.entry.js +4 -4
- package/dist/esm/md-color-picker.entry.js +3 -3
- package/dist/esm/md-date-picker.entry.js +3 -3
- package/dist/esm/md-dialog.entry.js +5 -5
- package/dist/esm/md-divider.entry.js +4 -4
- package/dist/esm/md-fab-menu-item.entry.js +4 -4
- package/dist/esm/md-fab-menu.entry.js +5 -5
- package/dist/esm/md-fab.entry.js +4 -4
- package/dist/esm/md-line-chart.entry.js +31 -19
- package/dist/esm/md-line-chart.entry.js.map +1 -1
- package/dist/esm/md-list-item.entry.js +2 -2
- package/dist/esm/md-list.entry.js +2 -2
- package/dist/esm/{md-loading-indicator-y7Swvv8I.js → md-loading-indicator-DvHmp-e1.js} +4 -4
- package/dist/esm/{md-loading-indicator-y7Swvv8I.js.map → md-loading-indicator-DvHmp-e1.js.map} +1 -1
- package/dist/esm/md-loading-indicator.entry.js +3 -3
- package/dist/esm/md-menu-item-group.entry.js +3 -3
- package/dist/esm/md-menu_2.entry.js +8 -8
- package/dist/esm/md-meter.entry.js +4 -4
- package/dist/esm/md-multi-select.entry.js +5 -5
- package/dist/esm/md-navigation-bar.entry.js +2 -2
- package/dist/esm/md-navigation-rail-tab.entry.js +3 -3
- package/dist/esm/md-navigation-rail.entry.js +4 -4
- package/dist/esm/md-navigation-tab.entry.js +2 -2
- package/dist/esm/md-number-field.entry.js +2 -2
- package/dist/esm/md-organization-chart.entry.js +2 -2
- package/dist/esm/md-otp-field.entry.js +2 -2
- package/dist/esm/md-pie-chart.entry.js +25 -15
- package/dist/esm/md-pie-chart.entry.js.map +1 -1
- package/dist/esm/md-pie-slice.entry.js +57 -0
- package/dist/esm/md-pie-slice.entry.js.map +1 -0
- package/dist/esm/md-progress-indicator.entry.js +3 -3
- package/dist/esm/md-rating.entry.js +4 -4
- package/dist/esm/md-search.entry.js +4 -4
- package/dist/esm/md-segmented-button-set.entry.js +4 -4
- package/dist/esm/md-segmented-button.entry.js +5 -5
- package/dist/esm/md-select-option.entry.js +3 -3
- package/dist/esm/md-select.entry.js +5 -5
- package/dist/esm/md-side-sheet.entry.js +6 -6
- package/dist/esm/md-skeleton.entry.js +3 -3
- package/dist/esm/md-slider.entry.js +2 -2
- package/dist/esm/md-sparkline-point.entry.js +41 -0
- package/dist/esm/md-sparkline-point.entry.js.map +1 -0
- package/dist/esm/md-sparkline.entry.js +22 -12
- package/dist/esm/md-sparkline.entry.js.map +1 -1
- package/dist/esm/md-split-button.entry.js +5 -5
- package/dist/esm/md-status-dot.entry.js +3 -3
- package/dist/esm/md-step.entry.js +8 -8
- package/dist/esm/md-stepper.entry.js +5 -5
- package/dist/esm/md-sub-menu-item.entry.js +4 -4
- package/dist/esm/md-switch.entry.js +4 -4
- package/dist/esm/md-tab-panel.entry.js +3 -3
- package/dist/esm/md-tab-panels.entry.js +3 -3
- package/dist/esm/md-tab.entry.js +6 -6
- package/dist/esm/md-table-body.entry.js +3 -3
- package/dist/esm/md-table-cell.entry.js +4 -4
- package/dist/esm/md-table-container.entry.js +4 -4
- package/dist/esm/md-table-expand-toggle.entry.js +4 -4
- package/dist/esm/md-table-foot.entry.js +3 -3
- package/dist/esm/md-table-head.entry.js +3 -3
- package/dist/esm/md-table-pagination.entry.js +4 -4
- package/dist/esm/md-table-row.entry.js +6 -6
- package/dist/esm/md-table-sort-label.entry.js +4 -4
- package/dist/esm/md-table-toolbar.entry.js +5 -5
- package/dist/esm/md-table.entry.js +5 -5
- package/dist/esm/md-tabs.entry.js +4 -4
- package/dist/esm/md-text-field.entry.js +9 -9
- package/dist/esm/md-time-picker.entry.js +4 -4
- package/dist/esm/md-toolbar.entry.js +5 -5
- package/dist/esm/md-transfer-list.entry.js +3 -3
- package/dist/esm/md3.js +3 -3
- package/dist/esm/{overlay-lifecycle-B4XGZ4dz.js → overlay-lifecycle-CcRpkenI.js} +3 -3
- package/dist/esm/{overlay-lifecycle-B4XGZ4dz.js.map → overlay-lifecycle-CcRpkenI.js.map} +1 -1
- package/dist/esm/series-elements-BcgBd7Uo.js +86 -0
- package/dist/esm/series-elements-BcgBd7Uo.js.map +1 -0
- package/dist/md3/md3.css +1 -1
- package/dist/md3/md3.esm.js +1 -1
- package/dist/md3/p-02e4b894.entry.js +2 -0
- package/dist/md3/{p-6d4889c1.entry.js.map → p-02e4b894.entry.js.map} +1 -1
- package/dist/md3/{p-9fe46046.entry.js → p-05960ec0.entry.js} +2 -2
- package/dist/md3/{p-77635ead.entry.js → p-08ef6b8f.entry.js} +2 -2
- package/dist/md3/{p-a0f17bfb.entry.js → p-1020166c.entry.js} +2 -2
- package/dist/md3/{p-db74251c.entry.js → p-11531ae7.entry.js} +2 -2
- package/dist/md3/p-1426ea48.entry.js +2 -0
- package/dist/md3/p-1426ea48.entry.js.map +1 -0
- package/dist/md3/{p-908456a6.entry.js → p-18a1fe71.entry.js} +2 -2
- package/dist/md3/p-19222f36.entry.js +2 -0
- package/dist/md3/{p-16306734.entry.js.map → p-19222f36.entry.js.map} +1 -1
- package/dist/md3/{p-fd02aa37.entry.js → p-197f8e6c.entry.js} +2 -2
- package/dist/md3/{p-9d1c66a8.entry.js → p-1c930a91.entry.js} +2 -2
- package/dist/md3/p-22fd4581.entry.js +2 -0
- package/dist/md3/p-22fd4581.entry.js.map +1 -0
- package/dist/md3/{p-96cbfdca.entry.js → p-28eb088f.entry.js} +2 -2
- package/dist/md3/{p-ffbde7ad.entry.js → p-292823f3.entry.js} +2 -2
- package/dist/md3/p-2ab73869.entry.js +2 -0
- package/dist/md3/p-2ab73869.entry.js.map +1 -0
- package/dist/md3/{p-bc863e1b.entry.js → p-2b4ca89b.entry.js} +2 -2
- package/dist/md3/{p-af437c3c.entry.js → p-2caf7fb6.entry.js} +2 -2
- package/dist/md3/p-333e5f08.entry.js +2 -0
- package/dist/md3/p-333e5f08.entry.js.map +1 -0
- package/dist/md3/{p-b5a8f03c.entry.js → p-35216f14.entry.js} +2 -2
- package/dist/md3/{p-272ef8cb.entry.js → p-3e07b199.entry.js} +2 -2
- package/dist/md3/{p-c664501b.entry.js → p-3fc79692.entry.js} +2 -2
- package/dist/md3/{p-1b506237.entry.js → p-45931478.entry.js} +2 -2
- package/dist/md3/{p-03f06a3c.entry.js → p-4a60f85d.entry.js} +2 -2
- package/dist/md3/{p-3d90a202.entry.js → p-4c3e159a.entry.js} +2 -2
- package/dist/md3/{p-0c795946.entry.js → p-50dad3c7.entry.js} +2 -2
- package/dist/md3/{p-1ed83da9.entry.js → p-54c42926.entry.js} +2 -2
- package/dist/md3/{p-eef9c775.entry.js → p-56529078.entry.js} +2 -2
- package/dist/md3/{p-d2692d90.entry.js → p-57084546.entry.js} +2 -2
- package/dist/md3/{p-3b8b58ae.entry.js → p-58eaadac.entry.js} +2 -2
- package/dist/md3/{p-5ec552ec.entry.js → p-63669cbe.entry.js} +2 -2
- package/dist/md3/{p-c7746547.entry.js → p-63c26c74.entry.js} +2 -2
- package/dist/md3/p-656be0be.entry.js +2 -0
- package/dist/md3/p-656be0be.entry.js.map +1 -0
- package/dist/md3/{p-8a863529.entry.js → p-6b984e4d.entry.js} +2 -2
- package/dist/md3/p-7a651133.entry.js +2 -0
- package/dist/md3/{p-4f7838e1.entry.js.map → p-7a651133.entry.js.map} +1 -1
- package/dist/md3/{p-097ad5a5.entry.js → p-7cbef5e9.entry.js} +2 -2
- package/dist/md3/p-7ce532aa.entry.js +2 -0
- package/dist/md3/{p-b098f546.entry.js → p-81c1fc3e.entry.js} +2 -2
- package/dist/md3/{p-d70d0db3.entry.js → p-891e5635.entry.js} +2 -2
- package/dist/md3/{p-85e00706.entry.js → p-8a037b98.entry.js} +2 -2
- package/dist/md3/{p-f8b52c07.entry.js → p-93d4cca0.entry.js} +2 -2
- package/dist/md3/{p-858dda75.entry.js → p-9aabec5d.entry.js} +2 -2
- package/dist/md3/{p-8077ceaf.entry.js → p-9ab44705.entry.js} +2 -2
- package/dist/md3/{p-a9fbc697.entry.js → p-9ed391e9.entry.js} +2 -2
- package/dist/md3/{p-RiA8nMw1.js → p-BOlcFCii.js} +2 -2
- package/dist/md3/{p-RiA8nMw1.js.map → p-BOlcFCii.js.map} +1 -1
- package/dist/md3/p-BcgBd7Uo.js +2 -0
- package/dist/md3/p-BcgBd7Uo.js.map +1 -0
- package/dist/md3/{p-ZTAwTx66.js → p-BgRw_myY.js} +2 -2
- package/dist/md3/{p-ZTAwTx66.js.map → p-BgRw_myY.js.map} +1 -1
- package/dist/{components/p-gd9_5R5P.js → md3/p-CUho8MPx.js} +2 -2
- package/dist/md3/{p-BytnCy9Z.js.map → p-CUho8MPx.js.map} +1 -1
- package/dist/md3/{p-Bin9vIoJ.js → p-DH_rSF2a.js} +2 -2
- package/dist/md3/{p-Bin9vIoJ.js.map → p-DH_rSF2a.js.map} +1 -1
- package/dist/md3/p-D_7JTg9V.js +2 -0
- package/dist/md3/p-D_7JTg9V.js.map +1 -0
- package/dist/md3/{p-DkJ2hl1A.js → p-DuCsV-Tv.js} +2 -2
- package/dist/md3/{p-DkJ2hl1A.js.map → p-DuCsV-Tv.js.map} +1 -1
- package/dist/md3/p-a003e769.entry.js +2 -0
- package/dist/md3/{p-3f8959d1.entry.js.map → p-a003e769.entry.js.map} +1 -1
- package/dist/md3/{p-93afcce6.entry.js → p-a7b61854.entry.js} +2 -2
- package/dist/md3/{p-b50448b3.entry.js → p-ac834a37.entry.js} +2 -2
- package/dist/md3/{p-e3211f30.entry.js → p-b3b6a95b.entry.js} +2 -2
- package/dist/md3/{p-67d958e6.entry.js → p-b3fb40d3.entry.js} +2 -2
- package/dist/md3/{p-eb3958a7.entry.js → p-b68af555.entry.js} +2 -2
- package/dist/md3/{p-d5a459bf.entry.js → p-b7c0e652.entry.js} +2 -2
- package/dist/md3/p-b7c8253a.entry.js +2 -0
- package/dist/md3/{p-19aea41a.entry.js → p-b88b8b01.entry.js} +2 -2
- package/dist/md3/{p-4d5100e0.entry.js → p-ba7975b3.entry.js} +2 -2
- package/dist/md3/{p-4bee383f.entry.js → p-bcb6b76c.entry.js} +2 -2
- package/dist/md3/{p-be2082bc.entry.js → p-be7a6e2c.entry.js} +2 -2
- package/dist/md3/{p-5adc9387.entry.js → p-c069c032.entry.js} +2 -2
- package/dist/md3/{p-6f8d6ff0.entry.js → p-c0f9a8ce.entry.js} +2 -2
- package/dist/md3/{p-5355af66.entry.js → p-c46dcf66.entry.js} +2 -2
- package/dist/md3/{p-e2b5d561.entry.js → p-c60d37e8.entry.js} +2 -2
- package/dist/md3/{p-94da49fa.entry.js → p-c74eecab.entry.js} +2 -2
- package/dist/md3/{p-b1da3d4f.entry.js → p-caab4c1f.entry.js} +2 -2
- package/dist/md3/p-cfff8d6e.entry.js +2 -0
- package/dist/md3/{p-c41bd8c9.entry.js.map → p-cfff8d6e.entry.js.map} +1 -1
- package/dist/md3/{p-137d6f2a.entry.js → p-d369a8c5.entry.js} +2 -2
- package/dist/md3/{p-2e1e04c6.entry.js → p-d76f4326.entry.js} +2 -2
- package/dist/md3/{p-b9e28a86.entry.js → p-d7a4c007.entry.js} +2 -2
- package/dist/md3/{p-26122b64.entry.js → p-d8e45f74.entry.js} +2 -2
- package/dist/md3/{p-47aa8306.entry.js → p-d9b44b23.entry.js} +2 -2
- package/dist/md3/{p-b14baec4.entry.js → p-d9e58e9d.entry.js} +2 -2
- package/dist/md3/{p-19e517bc.entry.js → p-da4139f6.entry.js} +2 -2
- package/dist/md3/p-e2442bac.entry.js +2 -0
- package/dist/md3/p-e2442bac.entry.js.map +1 -0
- package/dist/md3/{p-cb498d56.entry.js → p-e3704fc4.entry.js} +2 -2
- package/dist/md3/p-e6091e31.entry.js +2 -0
- package/dist/md3/p-e6091e31.entry.js.map +1 -0
- package/dist/md3/{p-8003b9d7.entry.js → p-ede7415a.entry.js} +2 -2
- package/dist/md3/{p-b38d7576.entry.js → p-f61cc27a.entry.js} +2 -2
- package/dist/md3/{p-2a220f40.entry.js → p-f7abc084.entry.js} +2 -2
- package/dist/md3/p-fbe29776.entry.js +2 -0
- package/dist/md3/p-fbe29776.entry.js.map +1 -0
- package/dist/md3/{p-ea762ac2.entry.js → p-fcfd76d6.entry.js} +2 -2
- package/dist/md3/p-feb6458b.entry.js +2 -0
- package/dist/md3/{p-c1ace95d.entry.js.map → p-feb6458b.entry.js.map} +1 -1
- package/dist/sources/1072375249d01bb6640401cf49dc3d9e87d0ebac412fcfcd1afd3b5cb37df7b7/app-data +3 -0
- package/dist/sources/35dadf059de729b390f3df3b0fd05fd1578e1afbd6f0fa9d382cd0d8794c32aa/series-elements.ts +81 -0
- package/dist/sources/54db212ca26584b16f4acb70c806fc3f94f045143349e8ec72ca2008a5162a7a/md-sparkline-point.tsx +25 -0
- package/dist/sources/{31256da68371b553f1d4bcf905fb37affca24680ba4be391b39695839fd4d855 → 66e71d8e4dbd2ceea6f5d062c7103815560620a7b21193bfa57d29cddba5757e}/md-sparkline.tsx +23 -8
- package/dist/sources/{d3f592ff8c47ce0c056b6e6cbcaa9d43687c53ebe7c8d193110a731a3e3a4af2 → 85eac5ca1350ced6718812f829f335dc5aa0026c954125260013367c738a7c9e}/index.ts +1 -0
- package/dist/sources/{0257008c17c104ed27ee727cf7dbbad94cf14f4148dd8e281b510dd37a34c730 → 88da03acb5e30b2d52fe3d0021dfc64d19dffb81a9f5c630b8bb67de21c9465d}/md-line-chart.tsx +31 -15
- package/dist/sources/{e6f1f0a964cd8962a51c61e3cdf7851c46e88a48833ea5e3da575166bde936c3 → aee3bad879c53f8a56ed81e96b445b3979341c756330370f1e41c5faee0af1a6}/md-bar-chart.tsx +30 -14
- package/dist/sources/c47db83f1e7e32d375ee8a963e744523d1c0455f96183657bd7d85378b063d17/md-pie-slice.css_tag_md-pie-slice_encapsulation_shadow +1 -0
- package/dist/sources/c47db83f1e7e32d375ee8a963e744523d1c0455f96183657bd7d85378b063d17/md-sparkline-point.css_tag_md-sparkline-point_encapsulation_shadow +1 -0
- package/dist/sources/c721f0ed0c4097f171e84a2ae5b4c537ad352844cffded2d805afc600255d248/md-chart-series.tsx +84 -0
- package/dist/sources/{2f88f34ffdcaef324270476cf641a5f8fa62c288ad7d5d92acbae19cb08f7d5c → c8e8a52259b376459bd17703d1d97716abc1fa35931cc95aedc07f1a3196b0c9}/md-area-chart.tsx +33 -17
- package/dist/sources/cd1f7d7eb12ae719865e4d72507e1c83935839f312f92c6006c0afda6006fc43/md-pie-slice.tsx +35 -0
- package/dist/sources/cf81dec71be5e02fb010aeb51bd2dab53f9abb5d4f38bd4e3fcf4fca7713a0fc/data-elements.ts +125 -0
- package/dist/sources/d1d5e4161ad69f87c2c806ba8c8308c99911631504a5e3c1867b7de0b5e58853/md-chart-series.css_tag_md-chart-series_encapsulation_shadow +4 -0
- package/dist/sources/dc5930bf3b00c49a265ba4bb975468f4d4f69b6d9f0e2eb6f6912e856fe5f27f/app-data +3 -0
- package/dist/sources/{7a73bbcfec9d73868501427987950513fe4f7261f768148ed765bd98327cf27e → e82b4aa8f83e6d24aaa681939bc983114812458c3973d18c664c2d59697e81bd}/md-pie-chart.tsx +25 -11
- package/dist/sources/fcfb5850a256d7109a45b7925913ecd1427f826af8d94c955c17dc6a5f6a7b89/app-data +3 -0
- package/dist/types/components/md-area-chart/md-area-chart.d.ts +9 -5
- package/dist/types/components/md-bar-chart/md-bar-chart.d.ts +7 -3
- package/dist/types/components/md-chart-series/md-chart-series.d.ts +61 -0
- package/dist/types/components/md-line-chart/md-line-chart.d.ts +5 -1
- package/dist/types/components/md-pie-chart/md-pie-chart.d.ts +4 -0
- package/dist/types/components/md-pie-slice/md-pie-slice.d.ts +25 -0
- package/dist/types/components/md-sparkline/md-sparkline.d.ts +5 -1
- package/dist/types/components/md-sparkline-point/md-sparkline-point.d.ts +14 -0
- package/dist/types/components.d.ts +429 -18
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/charts/data-elements.d.ts +32 -0
- package/dist/types/utils/charts/series-elements.d.ts +38 -0
- package/hydrate/index.js +734 -190
- package/hydrate/index.mjs +734 -190
- package/package.json +2 -2
- package/src/components/md-chart-series/readme.md +25 -0
- package/src/components/md-pie-slice/readme.md +21 -0
- package/src/components/md-sparkline-point/readme.md +19 -0
- package/dist/components/p-CspVD-eh.js.map +0 -1
- package/dist/components-csr/p-B37-0L5e.js.map +0 -1
- package/dist/md3/p-0baf9f88.entry.js +0 -2
- package/dist/md3/p-0baf9f88.entry.js.map +0 -1
- package/dist/md3/p-16306734.entry.js +0 -2
- package/dist/md3/p-2f99585e.entry.js +0 -2
- package/dist/md3/p-2f99585e.entry.js.map +0 -1
- package/dist/md3/p-3d251149.entry.js +0 -2
- package/dist/md3/p-3d251149.entry.js.map +0 -1
- package/dist/md3/p-3d703571.entry.js +0 -2
- package/dist/md3/p-3d703571.entry.js.map +0 -1
- package/dist/md3/p-3f8959d1.entry.js +0 -2
- package/dist/md3/p-4f7838e1.entry.js +0 -2
- package/dist/md3/p-6d4889c1.entry.js +0 -2
- package/dist/md3/p-9379dfca.entry.js +0 -2
- package/dist/md3/p-9379dfca.entry.js.map +0 -1
- package/dist/md3/p-9f0f41c8.entry.js +0 -2
- package/dist/md3/p-c1ace95d.entry.js +0 -2
- package/dist/md3/p-c41bd8c9.entry.js +0 -2
- package/dist/md3/p-de0967a6.entry.js +0 -2
- package/dist/sources/249f56e5f4c1e582903551d8d8a39d83e268058e66194832a21408420ea4a5fb/app-data +0 -3
- package/dist/sources/a9800d32bbcaf3d8baa4abf6f1c13d77f4f7e22dd03bfd1c90ad1cc9c5ac49a9/app-data +0 -3
- package/dist/sources/bb0c438a1a8f4b6d77c43db8d11b2366bfa6c0c48d4daa3ebbdbcd2bdefa4749/app-data +0 -3
- /package/dist/components/{p-gd9_5R5P.js.map → p-0hoYij4e.js.map} +0 -0
- /package/dist/components/{p-WQOlnYmQ.js.map → p-8ZntJ7QX.js.map} +0 -0
- /package/dist/components/{p-DIGH4LlS.js.map → p-Be_QxD6y.js.map} +0 -0
- /package/dist/components/{p-BcOsCkxa.js.map → p-C9Z-3TKn.js.map} +0 -0
- /package/dist/components/{p-CGKlSro0.js.map → p-CWveMYei.js.map} +0 -0
- /package/dist/components/{p-DoJOR0pW.js.map → p-CXuNI4mJ.js.map} +0 -0
- /package/dist/components/{p-BCAoGEfF.js.map → p-CjebvGxr.js.map} +0 -0
- /package/dist/components/{p-BWCwdLDy.js.map → p-Cui8F6rf.js.map} +0 -0
- /package/dist/components/{p-B9jJRlnU.js.map → p-D9C2BtN-.js.map} +0 -0
- /package/dist/components/{p-AD7q8XNf.js.map → p-DI0ebvMQ.js.map} +0 -0
- /package/dist/components/{p-BJAKwQqQ.js.map → p-DM30Y_8c.js.map} +0 -0
- /package/dist/components/{p-CXOHmY2w.js.map → p-DTAVEp79.js.map} +0 -0
- /package/dist/components/{p-C6Dk5I_4.js.map → p-DoQ8iQ1K.js.map} +0 -0
- /package/dist/components/{p-CjV5tPMM.js.map → p-OutEvCQi.js.map} +0 -0
- /package/dist/components/{p-D_fs8IXJ.js.map → p-bn_S0ywb.js.map} +0 -0
- /package/dist/components/{p-63ROhs5i.js.map → p-xuLJPnDM.js.map} +0 -0
- /package/dist/components/{p-KXxaSDnZ.js.map → p-y5Rx7xpR.js.map} +0 -0
- /package/dist/components-csr/{p-C7SO-MXq.js.map → p--clgeNUW.js.map} +0 -0
- /package/dist/components-csr/{p-BT43J7lo.js.map → p-17dQVZNR.js.map} +0 -0
- /package/dist/components-csr/{p-B3y4Sfu7.js.map → p-B28l7X5i.js.map} +0 -0
- /package/dist/components-csr/{p-CZp-Xecz.js.map → p-B2vk3_BC.js.map} +0 -0
- /package/dist/components-csr/{p-D5zCIaks.js.map → p-BwQyYHuZ.js.map} +0 -0
- /package/dist/components-csr/{p-Cr1trPWZ.js.map → p-C9XZMCL-.js.map} +0 -0
- /package/dist/components-csr/{p-CWxDc07j.js.map → p-D-dmT5kY.js.map} +0 -0
- /package/dist/components-csr/{p-CQoO26r0.js.map → p-D6ADzLya.js.map} +0 -0
- /package/dist/components-csr/{p-mPtoRtT7.js.map → p-D7AEBQIw.js.map} +0 -0
- /package/dist/components-csr/{p-B_K-3G0S.js.map → p-D9cIx3li.js.map} +0 -0
- /package/dist/components-csr/{p-Ca8f4AyH.js.map → p-DERBQrj5.js.map} +0 -0
- /package/dist/components-csr/{p-CUMT_XYv.js.map → p-DFJO04Vn.js.map} +0 -0
- /package/dist/components-csr/{p-Px_e-xy9.js.map → p-DH9RCl21.js.map} +0 -0
- /package/dist/components-csr/{p-CB_bjwk9.js.map → p-DHw4bV7s.js.map} +0 -0
- /package/dist/components-csr/{p-BuMwJsnQ.js.map → p-DeGXyF1I.js.map} +0 -0
- /package/dist/components-csr/{p-DQL7SnR8.js.map → p-jG7JIK7t.js.map} +0 -0
- /package/dist/components-csr/{p-CvTDNP2i.js.map → p-oV2Z2HiI.js.map} +0 -0
- /package/dist/md3/{p-9fe46046.entry.js.map → p-05960ec0.entry.js.map} +0 -0
- /package/dist/md3/{p-77635ead.entry.js.map → p-08ef6b8f.entry.js.map} +0 -0
- /package/dist/md3/{p-a0f17bfb.entry.js.map → p-1020166c.entry.js.map} +0 -0
- /package/dist/md3/{p-db74251c.entry.js.map → p-11531ae7.entry.js.map} +0 -0
- /package/dist/md3/{p-908456a6.entry.js.map → p-18a1fe71.entry.js.map} +0 -0
- /package/dist/md3/{p-fd02aa37.entry.js.map → p-197f8e6c.entry.js.map} +0 -0
- /package/dist/md3/{p-9d1c66a8.entry.js.map → p-1c930a91.entry.js.map} +0 -0
- /package/dist/md3/{p-96cbfdca.entry.js.map → p-28eb088f.entry.js.map} +0 -0
- /package/dist/md3/{p-ffbde7ad.entry.js.map → p-292823f3.entry.js.map} +0 -0
- /package/dist/md3/{p-bc863e1b.entry.js.map → p-2b4ca89b.entry.js.map} +0 -0
- /package/dist/md3/{p-af437c3c.entry.js.map → p-2caf7fb6.entry.js.map} +0 -0
- /package/dist/md3/{p-b5a8f03c.entry.js.map → p-35216f14.entry.js.map} +0 -0
- /package/dist/md3/{p-272ef8cb.entry.js.map → p-3e07b199.entry.js.map} +0 -0
- /package/dist/md3/{p-c664501b.entry.js.map → p-3fc79692.entry.js.map} +0 -0
- /package/dist/md3/{p-1b506237.entry.js.map → p-45931478.entry.js.map} +0 -0
- /package/dist/md3/{p-03f06a3c.entry.js.map → p-4a60f85d.entry.js.map} +0 -0
- /package/dist/md3/{p-3d90a202.entry.js.map → p-4c3e159a.entry.js.map} +0 -0
- /package/dist/md3/{p-0c795946.entry.js.map → p-50dad3c7.entry.js.map} +0 -0
- /package/dist/md3/{p-1ed83da9.entry.js.map → p-54c42926.entry.js.map} +0 -0
- /package/dist/md3/{p-eef9c775.entry.js.map → p-56529078.entry.js.map} +0 -0
- /package/dist/md3/{p-d2692d90.entry.js.map → p-57084546.entry.js.map} +0 -0
- /package/dist/md3/{p-3b8b58ae.entry.js.map → p-58eaadac.entry.js.map} +0 -0
- /package/dist/md3/{p-5ec552ec.entry.js.map → p-63669cbe.entry.js.map} +0 -0
- /package/dist/md3/{p-c7746547.entry.js.map → p-63c26c74.entry.js.map} +0 -0
- /package/dist/md3/{p-8a863529.entry.js.map → p-6b984e4d.entry.js.map} +0 -0
- /package/dist/md3/{p-097ad5a5.entry.js.map → p-7cbef5e9.entry.js.map} +0 -0
- /package/dist/md3/{p-9f0f41c8.entry.js.map → p-7ce532aa.entry.js.map} +0 -0
- /package/dist/md3/{p-b098f546.entry.js.map → p-81c1fc3e.entry.js.map} +0 -0
- /package/dist/md3/{p-d70d0db3.entry.js.map → p-891e5635.entry.js.map} +0 -0
- /package/dist/md3/{p-85e00706.entry.js.map → p-8a037b98.entry.js.map} +0 -0
- /package/dist/md3/{p-f8b52c07.entry.js.map → p-93d4cca0.entry.js.map} +0 -0
- /package/dist/md3/{p-858dda75.entry.js.map → p-9aabec5d.entry.js.map} +0 -0
- /package/dist/md3/{p-8077ceaf.entry.js.map → p-9ab44705.entry.js.map} +0 -0
- /package/dist/md3/{p-a9fbc697.entry.js.map → p-9ed391e9.entry.js.map} +0 -0
- /package/dist/md3/{p-93afcce6.entry.js.map → p-a7b61854.entry.js.map} +0 -0
- /package/dist/md3/{p-b50448b3.entry.js.map → p-ac834a37.entry.js.map} +0 -0
- /package/dist/md3/{p-e3211f30.entry.js.map → p-b3b6a95b.entry.js.map} +0 -0
- /package/dist/md3/{p-67d958e6.entry.js.map → p-b3fb40d3.entry.js.map} +0 -0
- /package/dist/md3/{p-eb3958a7.entry.js.map → p-b68af555.entry.js.map} +0 -0
- /package/dist/md3/{p-d5a459bf.entry.js.map → p-b7c0e652.entry.js.map} +0 -0
- /package/dist/md3/{p-de0967a6.entry.js.map → p-b7c8253a.entry.js.map} +0 -0
- /package/dist/md3/{p-19aea41a.entry.js.map → p-b88b8b01.entry.js.map} +0 -0
- /package/dist/md3/{p-4d5100e0.entry.js.map → p-ba7975b3.entry.js.map} +0 -0
- /package/dist/md3/{p-4bee383f.entry.js.map → p-bcb6b76c.entry.js.map} +0 -0
- /package/dist/md3/{p-be2082bc.entry.js.map → p-be7a6e2c.entry.js.map} +0 -0
- /package/dist/md3/{p-5adc9387.entry.js.map → p-c069c032.entry.js.map} +0 -0
- /package/dist/md3/{p-6f8d6ff0.entry.js.map → p-c0f9a8ce.entry.js.map} +0 -0
- /package/dist/md3/{p-5355af66.entry.js.map → p-c46dcf66.entry.js.map} +0 -0
- /package/dist/md3/{p-e2b5d561.entry.js.map → p-c60d37e8.entry.js.map} +0 -0
- /package/dist/md3/{p-94da49fa.entry.js.map → p-c74eecab.entry.js.map} +0 -0
- /package/dist/md3/{p-b1da3d4f.entry.js.map → p-caab4c1f.entry.js.map} +0 -0
- /package/dist/md3/{p-137d6f2a.entry.js.map → p-d369a8c5.entry.js.map} +0 -0
- /package/dist/md3/{p-2e1e04c6.entry.js.map → p-d76f4326.entry.js.map} +0 -0
- /package/dist/md3/{p-b9e28a86.entry.js.map → p-d7a4c007.entry.js.map} +0 -0
- /package/dist/md3/{p-26122b64.entry.js.map → p-d8e45f74.entry.js.map} +0 -0
- /package/dist/md3/{p-47aa8306.entry.js.map → p-d9b44b23.entry.js.map} +0 -0
- /package/dist/md3/{p-b14baec4.entry.js.map → p-d9e58e9d.entry.js.map} +0 -0
- /package/dist/md3/{p-19e517bc.entry.js.map → p-da4139f6.entry.js.map} +0 -0
- /package/dist/md3/{p-cb498d56.entry.js.map → p-e3704fc4.entry.js.map} +0 -0
- /package/dist/md3/{p-8003b9d7.entry.js.map → p-ede7415a.entry.js.map} +0 -0
- /package/dist/md3/{p-b38d7576.entry.js.map → p-f61cc27a.entry.js.map} +0 -0
- /package/dist/md3/{p-2a220f40.entry.js.map → p-f7abc084.entry.js.map} +0 -0
- /package/dist/md3/{p-ea762ac2.entry.js.map → p-fcfd76d6.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as t,H as i,c as s,h as r,d as e,t as a}from"./p-B37-0L5e.js";import{b as n,c as o,i as h,d as c,r as d,p as l}from"./p-B_K-3G0S.js";const m=()=>`:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;const p=()=>`:host{--_active-color:var(--md-progress-indicator-active-indicator-color, var(--md-sys-color-primary, #6750A4));--_active-shape:var(--md-progress-indicator-active-indicator-shape, var(--_track-shape));--_track-color:var(--md-progress-indicator-track-color, var(--md-sys-color-secondary-container, #E8DEF8));--_track-shape:var(--md-progress-indicator-track-shape, var(--md-sys-shape-corner-full, 9999px));--_stop-color:var(--md-progress-indicator-stop-indicator-color, var(--md-sys-color-primary, #6750A4));--_stop-shape:var(--md-progress-indicator-stop-indicator-shape, var(--md-sys-shape-corner-full, 9999px));--_stop-size:var(--md-progress-indicator-stop-indicator-size, max(2px, calc(4px + var(--md-sys-density-scale, 0) * 0.5px)));--_four-color-1:var(--md-progress-indicator-four-color-1, var(--md-sys-color-primary, #6750A4));--_four-color-2:var(--md-progress-indicator-four-color-2, var(--md-sys-color-primary-container, #EADDFF));--_four-color-3:var(--md-progress-indicator-four-color-3, var(--md-sys-color-tertiary, #7D5260));--_four-color-4:var(--md-progress-indicator-four-color-4, var(--md-sys-color-tertiary-container, #FFD8E4));--_gap:var(--md-progress-indicator-track-active-indicator-space, max(2px, calc(4px + var(--md-sys-density-scale, 0) * 0.5px)));--_stop-trailing-space:var(--md-progress-indicator-stop-indicator-trailing-space, 0px);--_thickness:max(2px, calc(4px + var(--md-sys-density-scale, 0) * 0.5px));--_linear-height:max(2px, calc(4px + var(--md-sys-density-scale, 0) * 0.5px));--_size:max(28px, calc(40px + var(--md-sys-density-scale, 0) * 3px));display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}:host(.md-progress-indicator--linear){display:flex;inline-size:100%;block-size:var(--_linear-height, 4px)}.md-progress-indicator__linear{position:relative;display:flex;align-items:center;inline-size:100%;block-size:100%;overflow:hidden;border-radius:var(--_track-shape)}.md-progress-indicator__track{position:absolute;inset-inline-start:var(--_track-start, 0);inset-inline-end:0;inset-block:0;margin-block:auto;block-size:var(--_thickness, 4px);border-radius:var(--_track-shape);background-color:var(--_track-color)}.md-progress-indicator__track--full{inset-inline-start:0}.md-progress-indicator__track--determinate{transition:none}.md-progress-indicator__active{position:absolute;inset-inline-start:0;inset-block:0;margin-block:auto;inline-size:var(--_fill-width, 0);block-size:var(--_thickness, 4px);background-color:var(--_active-color);border-radius:var(--_active-shape);transition:none}.md-progress-indicator__active--wave{block-size:var(--_linear-height, 10px);border-radius:0;background-color:var(--_active-color);mask-image:var(--_wave-mask);mask-size:var(--_wave-mask-size);mask-repeat:repeat-x;mask-position:left center;animation:md-wave-travel var(--_wave-duration, 1000ms) linear infinite}@keyframes md-wave-travel{to{mask-position:var(--_wave-length-px, 40px) center}}.md-progress-indicator__linear-wave-svg{position:absolute;inset:0;pointer-events:none}.md-progress-indicator__linear-wave-path{fill:var(--_active-color)}.md-progress-indicator__stop{position:absolute;inset-inline-end:var(--_stop-trailing-space, 0);inset-block:0;margin-block:auto;inline-size:min(var(--_stop-size), var(--_thickness, 4px));block-size:min(var(--_stop-size), var(--_thickness, 4px));border-radius:var(--_stop-shape);background-color:var(--_stop-color)}.md-progress-indicator__bar{position:absolute;inset-block:0;margin-block:auto;inline-size:100%;block-size:var(--_thickness, 4px);transform-origin:left center}.md-progress-indicator__bar-inner{position:absolute;inset:0;inline-size:100%;block-size:100%;background-color:var(--_active-color);border-radius:var(--_active-shape);transform-origin:center}.md-progress-indicator__bar--primary{inset-inline-start:-145%;animation:md-linear-primary-translate 2000ms linear infinite;animation-delay:-1666ms}.md-progress-indicator__bar--primary>.md-progress-indicator__bar-inner{animation:md-linear-primary-scale 2000ms linear infinite;animation-delay:-1666ms}.md-progress-indicator__bar--secondary{inset-inline-start:-55%;animation:md-linear-secondary-translate 2000ms linear infinite}.md-progress-indicator__bar--secondary>.md-progress-indicator__bar-inner{animation:md-linear-secondary-scale 2000ms linear infinite}@keyframes md-linear-primary-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.7017, 0.4958);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.3024, 0.3814, 0.55, 0.9564);transform:translateX(83.6714%)}100%{transform:translateX(250%)}}@keyframes md-linear-primary-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.3347, 0.1248, 0.7858, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.58)}100%{transform:scaleX(0.62)}}@keyframes md-linear-secondary-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.5151, 0.4097);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.3103, 0.2841, 0.8, 0.7337);transform:translateX(37.6519%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627, 0.6, 0.902);transform:translateX(84.3862%)}100%{transform:translateX(160.278%)}}@keyframes md-linear-secondary-scale{0%{animation-timing-function:cubic-bezier(0.205, 0.0571, 0.5766, 0.454);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.1523, 0.1964, 0.6484, 1.0043);transform:scaleX(0.4571)}44.15%{animation-timing-function:cubic-bezier(0.2578, -0.0032, 0.2118, 1.3818);transform:scaleX(0.58)}100%{transform:scaleX(0.62)}}.md-progress-indicator__bar--wave{block-size:var(--_linear-height, 10px);mask-image:var(--_wave-mask);mask-size:var(--_wave-mask-size);mask-repeat:repeat-x;mask-position:left center}.md-progress-indicator__bar--wave>.md-progress-indicator__bar-inner{border-radius:0}.md-progress-indicator__bar-inner--ghost{background-color:transparent}.md-progress-indicator__bar--primary.md-progress-indicator__bar--wave{animation:md-linear-primary-translate 2000ms linear infinite, md-wave-travel var(--_wave-duration, 500ms) linear infinite;animation-delay:-1666ms, 0ms}.md-progress-indicator__bar--secondary.md-progress-indicator__bar--wave{animation:md-linear-secondary-translate 2000ms linear infinite, md-wave-travel var(--_wave-duration, 500ms) linear infinite}:host-context([dir="rtl"]).md-progress-indicator--indeterminate .md-progress-indicator__linear,:host([dir="rtl"]).md-progress-indicator--indeterminate .md-progress-indicator__linear{transform:scaleX(-1)}:host(.md-progress-indicator--circular){inline-size:var(--_size, 40px);block-size:var(--_size, 40px)}.md-progress-indicator__circular{inline-size:100%;block-size:100%}.md-progress-indicator__circular-track{stroke:var(--_track-color)}.md-progress-indicator__circular-track--determinate{transition:none}.md-progress-indicator__circular-active{stroke:var(--_active-color);transition:none}.md-progress-indicator__circular-active-path{stroke:var(--_active-color)}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular{animation:md-circular-rotate 1568ms linear infinite}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-active{transition:none;animation:md-circular-dash 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-track--spinner{transition:none;animation:md-circular-dash-track 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite}@keyframes md-circular-rotate{100%{transform:rotate(360deg)}}@keyframes md-circular-dash{0%{stroke-dasharray:0.05 1;stroke-dashoffset:0}50%{stroke-dasharray:0.70 1;stroke-dashoffset:-0.18}100%{stroke-dasharray:0.05 1;stroke-dashoffset:-0.92}}@keyframes md-circular-dash-track{0%{stroke-dasharray:var(--_spin-da-0, 0.81) var(--_spin-gap-0, 0.19);stroke-dashoffset:var(--_spin-do-0, -0.12)}50%{stroke-dasharray:var(--_spin-da-50, 0.16) var(--_spin-gap-50, 0.84);stroke-dashoffset:var(--_spin-do-50, -0.95)}100%{stroke-dasharray:var(--_spin-da-100, 0.81) var(--_spin-gap-100, 0.19);stroke-dashoffset:var(--_spin-do-100, -1.04)}}:host(.md-progress-indicator--four-color.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-active{animation:md-circular-dash 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite, md-four-color 5332ms linear infinite}@keyframes md-four-color{0%,15%{stroke:var(--_four-color-1)}25%,40%{stroke:var(--_four-color-2)}50%,65%{stroke:var(--_four-color-3)}75%,90%{stroke:var(--_four-color-4)}100%{stroke:var(--_four-color-1)}}@media (prefers-reduced-motion: reduce){.md-progress-indicator__active,.md-progress-indicator__circular-active{transition-duration:0s}.md-progress-indicator__active--wave{animation:none}.md-progress-indicator__bar--primary,.md-progress-indicator__bar--primary>.md-progress-indicator__bar-inner,.md-progress-indicator__bar--secondary,.md-progress-indicator__bar--secondary>.md-progress-indicator__bar-inner{animation-duration:6s}.md-progress-indicator__bar--primary,.md-progress-indicator__bar--primary>.md-progress-indicator__bar-inner{animation-delay:-4998ms}.md-progress-indicator__bar--primary.md-progress-indicator__bar--wave{animation:md-linear-primary-translate 6s linear infinite;animation-delay:-4998ms}.md-progress-indicator__bar--secondary.md-progress-indicator__bar--wave{animation:md-linear-secondary-translate 6s linear infinite}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular{animation-duration:4s}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-active,:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-track--spinner{animation-duration:3s}:host(.md-progress-indicator--four-color.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-active{animation-duration:3s, 16s}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate.md-progress-indicator--wave) .md-progress-indicator__circular{animation:md-circular-rotate 4s linear infinite}}@keyframes md-linear-complete{0%{transform:scaleY(1)}60%{transform:scaleY(0.1)}100%{transform:scaleY(0)}}:host(.md-progress-indicator--linear.md-progress-indicator--completing) .md-progress-indicator__linear{transform-origin:center;animation:md-linear-complete 300ms cubic-bezier(0.2, 0, 1, 0.8) forwards}:host(.md-progress-indicator--complete){visibility:hidden}@media (forced-colors: active){.md-progress-indicator__active,.md-progress-indicator__active--wave,.md-progress-indicator__bar,.md-progress-indicator__stop{background-color:CanvasText}.md-progress-indicator__track{background-color:GrayText}.md-progress-indicator__circular-track{stroke:GrayText}.md-progress-indicator__circular-active,.md-progress-indicator__circular-active-path{stroke:CanvasText}.md-progress-indicator__linear-wave-path{fill:CanvasText}}: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 u=4;const f=40;const _=15;const g=3;const v=1.6;const k=40;const y=48;const b=24;const M=240;const w=8;const $=500;const x=[.2,0,0,1];const z=[.3,0,.8,.15];const C=6e3;const A=.1;const D=.87;const L=1080;const S=5;function F([t,i,s,r]){if(t===i&&s===r)return t=>t;const e=3*t;const a=3*(s-t)-e;const n=1-e-a;const o=3*i;const h=3*(r-i)-o;const c=1-o-h;const d=t=>((n*t+a)*t+e)*t;const l=t=>((c*t+h)*t+o)*t;const m=t=>(3*n*t+2*a)*t+e;return t=>{if(t<=0)return 0;if(t>=1)return 1;let i=t;for(let s=0;s<8;s++){const s=d(i)-t;const r=m(i);if(Math.abs(s)<1e-5)break;if(Math.abs(r)<1e-6)break;i-=s/r}return l(Math.min(1,Math.max(0,i)))}}const X=F(x);const I=F(z);const T=F([.2,0,0,1]);const E=t(class t extends i{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.mdComplete=s(this,"mdComplete",7);this.variant="linear";this.value=0;this.max=100;this.indeterminate=false;this.thickness=4;this.wave=false;this.waveAmplitude=0;this.waveLength=0;this.waveSpeed=0;this.size=0;this.fourColor=false;this.label="Progress";this.complete=false;this.density=0;this.reducedMotion=false;this._completing=false;this._completed=false;this._completedTrack=false;this._fillComplete=false;this.raf=0;this.phase=0;this.linearPhase=0;this.amp=0;this.ampFrom=0;this.ampTo=0;this.ampStartTs=-1;this.ampEase=X;this.lastTs=-1;this.indetStartTs=-1;this.renderFraction=0;this.linearRenderFraction=0;this.linearWaveRef=null;this.linearWaveSvgRef=null;this.linearWaveTrackRef=null;this.flatActiveRef=null;this.flatTrackRef=null;this.indetBar1Ref=null;this.indetBar2Ref=null;this.indetPath1Ref=null;this.indetPath2Ref=null;this.indetTrackRef=null;this.linearWidth=0;this.visible=true;this.rtl=false;this.completingFromFrac=0;this.circularFlatTrackRef=null;this.circularFlatCompleteRef=null;this.ccPhase=0;this.ccStart=-1;this.ccFrac=0;this.ccErase=0;this.CC_FILL_DUR=500;this.CC_FLATTEN_DUR=300;this.CC_WAIT=150;this.CC_ERASE_DUR=550;this.CC_TRACK_REVEAL_DUR=300;this.wlcPhase=0;this.wlcStart=-1;this.wlcFromFrac=0;this.wlcFrac=0;this.WLC_FILL_DUR=300;this.WLC_FLATTEN_DUR=300;this.flcPhase=0;this.onReducedMotionChange=t=>{this.reducedMotion=t.matches};this.onLinearAnimEnd=t=>{if(t.animationName==="md-linear-complete")this.handleComplete()};this.frame=t=>{this.raf=0;if(this.lastTs<0)this.lastTs=t;const i=Math.min(64,t-this.lastTs);this.lastTs=t;if(this.ccPhase>0&&this.variant==="circular"){if(this.ccStart<0)this.ccStart=t;if(this.wave){const t=this.resolvedWaveSpeed/this.resolvedWavelength;this.phase+=2*Math.PI*t*(i/1e3);if(this.phase>1e6)this.phase=this.phase%(2*Math.PI)}if(this.ccPhase===1){const i=Math.min(1,(t-this.ccStart)/this.CC_FILL_DUR);this.ccFrac=this.completingFromFrac+(1-this.completingFromFrac)*T(i);this.paintCircularCompletion();if(i>=1){this.ccFrac=1;this.ccStart=t;if(this.wave){this.ccPhase=2;this.ampFrom=this.amp}else{this.ccPhase=3}}}else if(this.ccPhase===2){const i=Math.min(1,(t-this.ccStart)/this.CC_FLATTEN_DUR);this.amp=this.ampFrom*(1-X(i));this.paintCircularCompletion();if(i>=1){this.amp=0;this.ccPhase=3;this.ccStart=t}}else if(this.ccPhase===3){const i=Math.min(1,(t-this.ccStart-this.CC_WAIT)/this.CC_ERASE_DUR);this.ccErase=i<=0?0:T(i);this.paintCircularCompletion();if(i>=1){if(!this.wave){this.ccPhase=4;this.ccStart=t}else{this.handleComplete();this.stopLoop();return}}}else{const i=Math.min(1,(t-this.ccStart)/this.CC_TRACK_REVEAL_DUR);this.circularFlatCompleteRef?.setAttribute("d","");if(this.activeCircleRef)this.activeCircleRef.style.opacity="0";if(this.circularFlatTrackRef){const t=this.circularFlatTrackRef;t.removeAttribute("stroke-dasharray");t.removeAttribute("stroke-dashoffset");t.style.opacity=`${T(i)}`}if(i>=1){this.handleComplete();this.stopLoop();return}}this.raf=requestAnimationFrame(this.frame);return}if(this.wlcPhase>0){if(this.wlcStart<0)this.wlcStart=t;const s=this.resolvedWaveSpeed/this.resolvedWavelength;this.linearPhase+=2*Math.PI*s*(i/1e3);if(this.linearPhase>1e6)this.linearPhase=this.linearPhase%(2*Math.PI);if(this.wlcPhase===1){const i=Math.min(1,(t-this.wlcStart)/this.WLC_FILL_DUR);this.wlcFrac=this.wlcFromFrac+(1-this.wlcFromFrac)*T(i);this.updateLinearPath();if(i>=1){this.wlcFrac=1;this.wlcPhase=2;this.wlcStart=t;this.ampFrom=1;this.ampTo=0;this.ampEase=X;this.ampStartTs=t}}else{const i=Math.min(1,(t-this.ampStartTs)/this.WLC_FLATTEN_DUR);this.amp=this.ampFrom*(1-this.ampEase(i));this.updateLinearPath();if(i>=1){this.amp=0;this.wlcPhase=0;this._completing=true;this.stopLoop();return}}this.raf=requestAnimationFrame(this.frame);return}if(this.amp!==this.ampTo){if(this.ampStartTs<0)this.ampStartTs=t;const i=Math.min(1,(t-this.ampStartTs)/$);this.amp=this.ampFrom+(this.ampTo-this.ampFrom)*this.ampEase(i);if(i>=1){this.amp=this.ampTo;this.ampStartTs=-2}}if(this.variant==="circular"&&this.wave){const t=this.resolvedWaveSpeed/this.resolvedWavelength;this.phase+=2*Math.PI*t*(i/1e3);if(this.phase>1e6)this.phase=this.phase%(2*Math.PI);const s=1-Math.exp(-i/160);this.renderFraction+=(this.fraction-this.renderFraction)*s;if(Math.abs(this.fraction-this.renderFraction)<.001)this.renderFraction=this.fraction;this.updateCircularPath()}else if(this.variant==="circular"&&!this.wave&&!this.indeterminate){const t=1-Math.exp(-i/160);this.renderFraction+=(this.fraction-this.renderFraction)*t;if(Math.abs(this.fraction-this.renderFraction)<.001)this.renderFraction=this.fraction;this.updateCircularFlat()}else if(this.variant==="linear"&&this.wave&&!this.indeterminate){const t=this.resolvedWaveSpeed/this.resolvedWavelength;this.linearPhase+=2*Math.PI*t*(i/1e3);if(this.linearPhase>1e6)this.linearPhase=this.linearPhase%(2*Math.PI);if(this.wlcPhase===0){const t=1-Math.exp(-i/80);this.linearRenderFraction+=(this.fraction-this.linearRenderFraction)*t;if(Math.abs(this.fraction-this.linearRenderFraction)<.001)this.linearRenderFraction=this.fraction}this.updateLinearPath()}else if(this.variant==="linear"&&this.wave&&this.indeterminate){const t=this.resolvedWaveSpeed/this.resolvedWavelength;this.linearPhase+=2*Math.PI*t*(i/1e3);if(this.linearPhase>1e6)this.linearPhase=this.linearPhase%(2*Math.PI);this.updateLinearIndeterminate()}else if(this.variant==="linear"&&!this.wave&&!this.indeterminate){const t=this.flcPhase===1?1:this.fraction;const s=1-Math.exp(-i/80);this.linearRenderFraction+=(t-this.linearRenderFraction)*s;if(Math.abs(t-this.linearRenderFraction)<.001){this.linearRenderFraction=t;if(this.flcPhase===1){this.flcPhase=0;this.updateLinearFlat();this._completing=true;this.stopLoop();return}}this.updateLinearFlat()}else{this.applyAmplitude()}if(this.shouldAnimate()){this.raf=requestAnimationFrame(this.frame)}else{this.stopLoop()}}}get fraction(){if(!this.max)return 0;return Math.min(1,Math.max(0,this.value/this.max))}get densityScale(){if(!this.el)return 0;const t=getComputedStyle(this.el).getPropertyValue("--md-sys-density-scale").trim();return t?Number(t):0}get resolvedSize(){const t=this.densityScale;const i=this.size>0?this.size:(this.wave?y:k)+t*3;return Math.min(M,Math.max(b,i))}get resolvedWavelength(){if(this.waveLength>0)return this.waveLength;if(this.variant==="circular")return _;return f}get resolvedAmplitude(){if(this.waveAmplitude>0)return this.waveAmplitude;if(this.variant==="circular")return v;return g}get resolvedThickness(){if(this.thickness!==4)return this.thickness;return Math.max(2,4+this.densityScale*.5)}get resolvedWaveStroke(){return this.resolvedThickness}get effectiveThickness(){return this.resolvedThickness}get resolvedWaveSpeed(){if(this.waveSpeed>0)return this.waveSpeed;return this.resolvedWavelength}get linearWaveHeight(){return 2*this.resolvedAmplitude+this.resolvedWaveStroke}get amplitudeTarget(){if(!this.wave||this.reducedMotion)return 0;if(this.indeterminate)return 1;return this.fraction>0?1:0}componentWillLoad(){n(this);this.amp=this.amplitudeTarget;this.ampTo=this.amp;this.renderFraction=this.fraction;this.linearRenderFraction=this.fraction;this.syncHostStyles();if(typeof window!=="undefined"&&window.matchMedia){this.mql=window.matchMedia("(prefers-reduced-motion: reduce)");this.reducedMotion=this.mql.matches;this.mql.addEventListener?.("change",this.onReducedMotionChange)}}componentDidLoad(){try{if(typeof IntersectionObserver!=="undefined"){this.io=new IntersectionObserver((t=>{this.visible=t.some((t=>t.isIntersecting));this.ensureLoop()}));this.io.observe(this.el)}if(typeof ResizeObserver!=="undefined"){this.ro=new ResizeObserver((()=>{this.measureLinearWidth();this.updateLinearPath()}));this.ro.observe(this.el)}this.ensureLoop()}finally{o(this)}}componentDidRender(){h(this);this.ensureLoop();this.rtl=this.computeRtl();if(this.wave&&this.variant==="linear"&&!this.indeterminate){this.measureLinearWidth();if(this.wlcPhase===0&&!this._completing&&!this._completed){if(!this.raf)this.linearRenderFraction=this.fraction;this.updateLinearPath()}}if(!this.wave&&this.variant==="linear"&&!this.indeterminate){if(this.flcPhase===0&&!this._completing&&!this._completed){if(!this.raf)this.linearRenderFraction=this.fraction;this.updateLinearFlat()}}if(this.variant==="circular"&&!this.wave&&!this.indeterminate){if(this.ccPhase===0&&!this._completing&&!this._completed&&!this._completedTrack){if(!this.raf)this.renderFraction=this.fraction;this.updateCircularFlat()}}}measureLinearWidth(){const t=this.linearWaveSvgRef?.getBoundingClientRect().width||this.el.getBoundingClientRect().width||this.el.clientWidth||0;if(t)this.linearWidth=t;return this.linearWidth}computeRtl(){if(typeof getComputedStyle==="undefined"||!this.el)return false;return getComputedStyle(this.el).direction==="rtl"}disconnectedCallback(){c(this);this.stopLoop();this.mql?.removeEventListener?.("change",this.onReducedMotionChange);this.io?.disconnect();this.ro?.disconnect()}onDimensionChange(){this.syncHostStyles()}onAmplitudeInputChange(){if(this.ccPhase>0)return;this.retargetAmplitude();this.ensureLoop()}onCompleteChange(t){if(!t||this.indeterminate||this._completing||this._completed||this._completedTrack||this.ccPhase>0)return;if(this.variant==="linear"&&this.wave){this.amp=1;this.ampFrom=1;this.ampTo=1;this.ampStartTs=-2;this.wlcPhase=1;this.wlcStart=-1;this.wlcFromFrac=this.fraction;this.wlcFrac=this.fraction;this.ensureLoop();return}if(this.variant==="linear"&&!this.wave){if(this.reducedMotion||typeof requestAnimationFrame==="undefined"){this._fillComplete=true;this._completing=true;return}this.flcPhase=1;this.ensureLoop();return}if(this.reducedMotion||typeof requestAnimationFrame==="undefined"){this.handleComplete();return}this.renderFraction=this.fraction;this.completingFromFrac=this.fraction;this.ccFrac=this.completingFromFrac;this.ccErase=0;this.ccStart=-1;if(this.wave){this.amp=1;this.ampTo=1;this.ampStartTs=-2;this.ampFrom=this.amp}if(this.completingFromFrac>=1-.001){this.ccFrac=1;this.ccPhase=this.wave?2:3}else{this.ccPhase=1}this.ensureLoop()}handleComplete(){this._completing=false;this._fillComplete=false;this.ccPhase=0;this.flcPhase=0;if(this.variant==="circular"&&!this.wave){this._completedTrack=true}else{this._completed=true}this.mdComplete.emit()}syncHostStyles(){const t=this.el?.style;if(!t)return;const i=this.resolvedThickness;t.setProperty("--_thickness",`${i}px`);t.setProperty("--_linear-height",`${this.wave?this.linearWaveHeight:i}px`);if(this.variant==="circular"||this.size>0){t.setProperty("--_size",`${this.resolvedSize}px`)}else{t.removeProperty("--_size")}if(this.wave&&this.variant==="linear"){const i=this.resolvedWavelength;t.setProperty("--_wave-length-px",`${i}px`);t.setProperty("--_wave-mask-size",`${i}px ${this.linearWaveHeight}px`);const s=Math.max(50,Math.round(i/this.resolvedWaveSpeed*1e3));t.setProperty("--_wave-duration",`${s}ms`);this.updateLinearMask()}else{["--_wave-length-px","--_wave-mask","--_wave-mask-size","--_wave-duration"].forEach((i=>t.removeProperty(i)))}this.syncSpinnerTrackVars(t)}syncSpinnerTrackVars(t){if(this.variant!=="circular")return;const i=this.circularRadius;const s=2*Math.PI*i;const r=s>0?(u+this.effectiveThickness)/s:0;const e=(i,s,e)=>{const a=Math.max(1e-4,Math.min(1,1-s-2*r));t.setProperty(`--_spin-da-${i}`,a.toFixed(4));t.setProperty(`--_spin-gap-${i}`,(1-a).toFixed(4));t.setProperty(`--_spin-do-${i}`,(e-s-r).toFixed(4))};e("0",.05,0);e("50",.7,-.18);e("100",.05,-.92)}retargetAmplitude(){if(this.wlcPhase>0||this.ccPhase>0)return;const t=this.amplitudeTarget;if(t===this.ampTo&&this.ampStartTs<0)return;if(t===this.ampTo)return;this.ampFrom=this.amp;this.ampTo=t;this.ampEase=t>this.ampFrom?X:I;this.ampStartTs=-1;if(this.reducedMotion||typeof requestAnimationFrame==="undefined"){this.amp=t;this.ampStartTs=-2;this.applyAmplitude();return}this.ensureLoop()}applyAmplitude(){if(this.variant==="linear"){if(this.wave&&!this.indeterminate)this.updateLinearPath();else if(!this.wave)this.updateLinearMask()}else{this.updateCircularPath()}}shouldAnimate(){if(typeof requestAnimationFrame==="undefined")return false;if(!this.visible||this.reducedMotion)return false;if(this.ccPhase>0)return true;if(this.wlcPhase>0)return true;if(this._completing&&this.variant==="linear")return false;if(this.variant==="circular"&&this.wave){if(this.indeterminate)return true;return this.amp>0||this.amp!==this.ampTo||Math.abs(this.renderFraction-this.fraction)>.001}if(this.variant==="circular"&&!this.wave&&!this.indeterminate){return!this._completedTrack&&Math.abs(this.renderFraction-this.fraction)>.001}if(this.variant==="linear"&&this.wave&&!this.indeterminate){return this.amp>0||this.amp!==this.ampTo||Math.abs(this.linearRenderFraction-this.fraction)>.001}if(this.variant==="linear"&&this.wave&&this.indeterminate)return true;if(this.variant==="linear"&&!this.wave&&!this.indeterminate){if(this.flcPhase>0)return true;return Math.abs(this.linearRenderFraction-this.fraction)>.001}return false}ensureLoop(){if(this.shouldAnimate()){if(!this.raf)this.raf=requestAnimationFrame(this.frame)}else if(this.amp===this.ampTo){this.stopLoop()}}stopLoop(){if(this.raf)cancelAnimationFrame(this.raf);this.raf=0;this.lastTs=-1;this.indetStartTs=-1}updateLinearPath(){if(!(this.wave&&this.variant==="linear"&&!this.indeterminate))return;if(!this.linearWaveRef)return;const t=this.linearWidth||this.measureLinearWidth();if(!t)return;const i=this.wlcPhase>0?this.wlcFrac:this.linearRenderFraction;const s=i*t;let r="";if(s>0){r=this.rtl?this.buildLinearWaveSVGPath(t-s,t,this.amp,this.linearPhase,true):this.buildLinearWaveSVGPath(0,s,this.amp,this.linearPhase,true)}this.linearWaveRef.setAttribute("d",r);if(this.linearWaveTrackRef){const t=+(i*100).toFixed(3);this.linearWaveTrackRef.style.setProperty("--_track-start",t>0?`calc(${t}% + var(--_gap))`:"0")}}updateLinearFlat(){if(!(this.variant==="linear"&&!this.wave&&!this.indeterminate))return;const t=+(this.linearRenderFraction*100).toFixed(3);this.flatActiveRef?.style.setProperty("--_fill-width",`${t}%`);this.flatTrackRef?.style.setProperty("--_track-start",t>=100?"calc(100% + var(--_gap))":t>0?`calc(${t}% + var(--_gap))`:"0")}updateLinearIndeterminate(){if(!(this.wave&&this.variant==="linear"&&this.indeterminate))return;const t=this.linearWaveSvgRef?.getBoundingClientRect();const i=t??this.el.getBoundingClientRect();const s=i.width;if(!s)return;const r=this.effectiveThickness/2;const e=[];const a=(t,s)=>{if(!t||!s)return;const a=t.getBoundingClientRect();const n=a.left-i.left;const o=a.right-i.left;if(o-n<1){s.setAttribute("d","");return}s.setAttribute("d",this.buildLinearWaveSVGPath(n,o,this.amp,this.linearPhase));e.push([n-r,o+r])};a(this.indetBar1Ref,this.indetPath1Ref);a(this.indetBar2Ref,this.indetPath2Ref);if(this.indetTrackRef){const t=this.buildTrackMask(e,s);this.indetTrackRef.style.setProperty("-webkit-mask-image",t);this.indetTrackRef.style.setProperty("mask-image",t)}}buildTrackMask(t,i){const s=t.map((([t,s])=>[Math.max(0,Math.min(100,t/i*100)),Math.max(0,Math.min(100,s/i*100))])).filter((([t,i])=>i>t)).sort(((t,i)=>t[0]-i[0]));const r=[];for(const[t,i]of s){const s=r[r.length-1];if(s&&t<=s[1])s[1]=Math.max(s[1],i);else r.push([t,i])}if(!r.length)return"none";const e=[];let a=0;for(const[t,i]of r){e.push(`#fff ${a.toFixed(2)}%`,`#fff ${t.toFixed(2)}%`,`transparent ${t.toFixed(2)}%`,`transparent ${i.toFixed(2)}%`,`#fff ${i.toFixed(2)}%`);a=i}e.push(`#fff ${a.toFixed(2)}%`,`#fff 100%`);return`linear-gradient(to right, ${e.join(", ")})`}buildLinearWaveSVGPath(t,i,s,r,e=false){if(i<=t)return"";const a=this.linearWaveHeight;const n=a/2;const o=this.resolvedWavelength;const h=this.effectiveThickness/2;const c=e?t+h:t;const d=e?i-h:i;const l=Math.max(0,d-c);const m=s*this.resolvedAmplitude*Math.min(1,l/o);if(e&&d<=c){const s=(t+i)/2;const r=(i-t)/2;return`M ${(s-r).toFixed(2)} ${n.toFixed(2)} `+`a ${r.toFixed(2)} ${r.toFixed(2)} 0 1 0 ${(2*r).toFixed(2)} 0 `+`a ${r.toFixed(2)} ${r.toFixed(2)} 0 1 0 ${(-2*r).toFixed(2)} 0 Z`}const p=Math.max(8,Math.round((d-c)/o*w));const u=[];const f=[];for(let t=0;t<=p;t++){const i=c+(d-c)*t/p;const s=n-m*Math.sin(2*Math.PI*i/o+r);u.push([i,s+h]);f.unshift([i,s-h])}const _=n-m*Math.sin(2*Math.PI*c/o+r);const g=n-m*Math.sin(2*Math.PI*d/o+r);const v=`M ${c.toFixed(2)} ${(_-h).toFixed(2)}`;const k=`A ${h.toFixed(2)} ${h.toFixed(2)} 0 0 0 ${c.toFixed(2)} ${(_+h).toFixed(2)}`;const y=q(u).replace(/^M \S+ \S+ /,"");const b=`A ${h.toFixed(2)} ${h.toFixed(2)} 0 0 0 ${d.toFixed(2)} ${(g-h).toFixed(2)}`;const M=q(f).replace(/^M \S+ \S+ /,"");return`${v} ${k} ${y} ${b} ${M} Z`}updateLinearMask(){if(!(this.wave&&this.variant==="linear"))return;const t=this.el?.style;if(!t)return;t.setProperty("--_wave-mask",this.buildLinearMask(this.amp))}buildLinearMask(t){const i=this.resolvedWavelength;const s=this.resolvedWaveStroke;const r=this.linearWaveHeight;const e=r/2;const a=t*this.resolvedAmplitude;const n=Math.max(16,Math.round(i/2));const o=[];const h=[];for(let t=0;t<=n;t++){const r=i*t/n;const c=a*Math.sin(2*Math.PI*r/i);o.push([r,e-c-s/2]);h.unshift([r,e-c+s/2])}const c=q(o);const d=q(h).replace(/^M \S+ \S+/,`L ${h[0][0].toFixed(2)} ${h[0][1].toFixed(2)}`);const l=`${c} ${d} Z`;const m=`<svg xmlns='http://www.w3.org/2000/svg' width='${i}' height='${r}' viewBox='0 0 ${i} ${r}'>`+`<path d='${l}' fill='black'/></svg>`;return`url("data:image/svg+xml,${encodeURIComponent(m)}")`}get circularRadius(){const t=(this.resolvedSize-this.effectiveThickness)/2-(this.wave?this.resolvedAmplitude:0);return Math.max(.5,t)}get circularVertices(){const t=this.circularRadius;const i=this.resolvedWavelength;return Math.max(S,Math.round(2*Math.PI*t/i))}wavyArcPath(t,i,s,r){const e=this.resolvedSize/2;const a=this.resolvedSize/2;const n=this.circularRadius;const o=this.circularVertices;const h=s*this.resolvedAmplitude;const c=i-t;const d=Math.max(8,Math.ceil(Math.abs(c)/(2*Math.PI)*o*8));const l=[];for(let i=0;i<=d;i++){const s=t+c*(i/d);const m=n+h*Math.cos(o*s-r);l.push([e+m*Math.cos(s),a+m*Math.sin(s)])}return q(l)}arcPath(t,i){const s=this.resolvedSize/2;const r=this.resolvedSize/2;const e=this.circularRadius;const a=Math.abs(i-t)>Math.PI?1:0;const n=i>t?1:0;const o=s+e*Math.cos(t);const h=r+e*Math.sin(t);const c=s+e*Math.cos(i);const d=r+e*Math.sin(i);return`M ${o.toFixed(2)} ${h.toFixed(2)} A ${e} ${e} 0 ${a} ${n} ${c.toFixed(2)} ${d.toFixed(2)}`}circularPaths(t,i,s,r,e){const a=-Math.PI/2;const n=this.effectiveThickness;const o=this.circularRadius;const h=a+(r?e??A:t)*2*Math.PI;const c=h-a<1e-4?"":this.wavyArcPath(a,h,i,s);let d;if(!r&&t>0&&t<1){const t=(u+n+i*this.resolvedAmplitude)/o;const s=h+t;const r=a+2*Math.PI-t;d=r>s?this.arcPath(s,r):""}else if(!r){d=this.arcPath(a,a+2*Math.PI-.001)}else{d=""}return{active:c,track:d}}paintCircularCompletion(){const t=-Math.PI/2;const i=this.ccPhase===3;const s=i?this.ccErase:0;const r=i?1:this.ccFrac;const e=r-s;const a=2*Math.PI*this.circularRadius;const n=a>0?this.effectiveThickness/a:.04;const o=!i?1:e<=1e-4?0:e<n?Math.max(0,e/n):1;const h=t+s*2*Math.PI;const c=t+r*2*Math.PI;if(this.wave){const t=e<1e-4?"":this.wavyArcPath(h,c,this.amp,this.phase);if(this.activeRef){this.activeRef.style.opacity=o>=1?"":`${o}`;this.activeRef.setAttribute("d",t)}this.trackRef?.setAttribute("d","")}else{const t=e<1e-4?"":this.wavyArcPath(h,c,0,this.phase);if(this.circularFlatCompleteRef){this.circularFlatCompleteRef.style.opacity=o>=1?"":`${o}`;this.circularFlatCompleteRef.setAttribute("d",t)}if(this.activeCircleRef)this.activeCircleRef.style.opacity="0";if(this.circularFlatTrackRef){const t=this.circularFlatTrackRef;t.removeAttribute("stroke-dasharray");t.removeAttribute("stroke-dashoffset");t.style.opacity="0"}}}get flatCompletionD(){if(this.ccPhase===0)return"";const t=-Math.PI/2;const i=this.ccPhase===3;const s=i?this.ccErase:0;const r=i?1:this.ccFrac;if(r-s<1e-4)return"";return this.wavyArcPath(t+s*2*Math.PI,t+r*2*Math.PI,0,this.phase)}updateCircularPath(){if(!(this.wave&&this.variant==="circular"))return;const t=this.indeterminate?this.indeterminateSweep():undefined;const{active:i,track:s}=this.circularPaths(this.renderFraction,this.amp,this.phase,this.indeterminate,t);this.activeRef?.setAttribute("d",i);if(this.indeterminate){const i=this.indeterminateRotation();const s=this.resolvedSize/2;this.rotRef?.setAttribute("transform",`rotate(${i.toFixed(2)} ${s} ${s})`);const r=i*Math.PI/180;const e=this.circularRadius;const a=(u+this.effectiveThickness+this.amp*this.resolvedAmplitude)/e;const n=-Math.PI/2;const o=(t??A)*2*Math.PI;const h=n+r+o;const c=n+r;const d=h+a;const l=c+2*Math.PI-a;this.trackRef?.setAttribute("d",l>d?this.arcPath(d,l):"")}else{this.trackRef?.setAttribute("d",s)}}updateCircularFlat(){if(!(this.variant==="circular"&&!this.wave&&!this.indeterminate))return;if(this.ccPhase>0||this._completedTrack)return;const t=this.renderFraction;const i=this.circularRadius;const s=2*Math.PI*i;const r=this.effectiveThickness;const e=s>0?(u+r)/s:0;const a=this.activeCircleRef;if(a){if(t>=1-1e-4)a.removeAttribute("stroke-dasharray");else a.setAttribute("stroke-dasharray",`${t.toFixed(4)} 1`)}const n=this.circularFlatTrackRef;if(n){if(t<=1e-4){n.removeAttribute("stroke-dasharray");n.removeAttribute("stroke-dashoffset");n.style.opacity=""}else if(t>=1-1e-4){n.style.opacity="0"}else{const i=1-t-2*e;const a=s>0?r/s:.04;if(i<=1e-4){n.style.opacity="0"}else if(i<a){n.style.opacity=Math.max(0,i/a).toFixed(3);n.setAttribute("stroke-dasharray",`${a.toFixed(4)} 1`);n.setAttribute("stroke-dashoffset",`${(-(1-e-a)).toFixed(4)}`)}else{n.style.opacity="";n.setAttribute("stroke-dasharray",`${i.toFixed(4)} 1`);n.setAttribute("stroke-dashoffset",`${(-(t+e)).toFixed(4)}`)}}}}indeterminateSweep(){if(this.indetStartTs<0)this.indetStartTs=this.lastTs;const t=(this.lastTs-this.indetStartTs)%C/C;const i=D-A;if(t<.5)return A+i*T(t/.5);return D-i*T((t-.5)/.5)}indeterminateRotation(){if(this.indetStartTs<0)this.indetStartTs=this.lastTs;const t=this.lastTs-this.indetStartTs;return(L+360)*(t/C)%360}get ariaValueMax(){return Number.isFinite(this.max)&&this.max>0?this.max:0}get ariaValueNow(){if(this.indeterminate)return undefined;const t=Math.min(this.ariaValueMax,Math.max(0,this.value));return Number.isFinite(t)?t:0}renderLinear(){return this.indeterminate?this.renderLinearIndeterminate():this.renderLinearDeterminate()}renderLinearDeterminate(){const t=this._fillComplete||this._completing?100:this.fraction*100;const i=this.fraction*100;const s=t>0;if(this.wave){return r("div",{class:"md-progress-indicator__linear","aria-hidden":"true",onAnimationEnd:this.onLinearAnimEnd},i<100&&r("div",{class:"md-progress-indicator__track",part:"track",ref:t=>{this.linearWaveTrackRef=t},style:{"--_track-start":s?`calc(${i}% + var(--_gap))`:"0"}}),r("div",{class:"md-progress-indicator__stop",part:"stop-indicator"}),r("svg",{class:"md-progress-indicator__linear-wave-svg",width:"100%","aria-hidden":"true",ref:t=>{this.linearWaveSvgRef=t}},r("path",{class:"md-progress-indicator__linear-wave-path",part:"active-indicator",ref:t=>{this.linearWaveRef=t}})))}return r("div",{class:"md-progress-indicator__linear","aria-hidden":"true",onAnimationEnd:this.onLinearAnimEnd},r("div",{class:"md-progress-indicator__active",part:"active-indicator",ref:t=>{this.flatActiveRef=t},style:{"--_fill-width":`${t}%`}}),r("div",{class:"md-progress-indicator__track md-progress-indicator__track--determinate",part:"track",ref:t=>{this.flatTrackRef=t},style:{"--_track-start":t>=100?"calc(100% + var(--_gap))":s?`calc(${i}% + var(--_gap))`:"0"}}),r("div",{class:"md-progress-indicator__stop",part:"stop-indicator"}))}renderLinearIndeterminate(){if(this.wave&&!this.reducedMotion){return r("div",{class:"md-progress-indicator__linear","aria-hidden":"true"},r("div",{class:"md-progress-indicator__track md-progress-indicator__track--full",part:"track",ref:t=>{this.indetTrackRef=t}}),r("div",{class:"md-progress-indicator__bar md-progress-indicator__bar--primary"},r("div",{class:"md-progress-indicator__bar-inner md-progress-indicator__bar-inner--ghost",ref:t=>{this.indetBar1Ref=t}})),r("div",{class:"md-progress-indicator__bar md-progress-indicator__bar--secondary"},r("div",{class:"md-progress-indicator__bar-inner md-progress-indicator__bar-inner--ghost",ref:t=>{this.indetBar2Ref=t}})),r("svg",{class:"md-progress-indicator__linear-wave-svg",width:"100%","aria-hidden":"true",ref:t=>{this.linearWaveSvgRef=t}},r("path",{class:"md-progress-indicator__linear-wave-path",ref:t=>{this.indetPath1Ref=t}}),r("path",{class:"md-progress-indicator__linear-wave-path",ref:t=>{this.indetPath2Ref=t}})))}const t=t=>({"md-progress-indicator__bar":true,[`md-progress-indicator__bar--${t}`]:true,"md-progress-indicator__bar--wave":this.wave});return r("div",{class:"md-progress-indicator__linear","aria-hidden":"true"},r("div",{class:"md-progress-indicator__track md-progress-indicator__track--full",part:"track"}),r("div",{class:t("primary"),part:"active-indicator"},r("div",{class:"md-progress-indicator__bar-inner"})),r("div",{class:t("secondary")},r("div",{class:"md-progress-indicator__bar-inner"})))}renderCircular(){return this.wave?this.renderCircularWave():this.renderCircularFlat()}renderCircularFlat(){const t=this.resolvedSize;const i=this.effectiveThickness;const s=this.circularRadius;const e=t/2;const a=this.fraction;const n=2*Math.PI*s;const o=n>0?(u+i)/n:0;const h=a>0&&a<1;const c=h?Math.max(0,1-a-2*o):0;const d=h&&c>0;return r("svg",{class:"md-progress-indicator__circular",viewBox:`0 0 ${t} ${t}`,"aria-hidden":"true"},this.indeterminate?r("circle",{key:"circ-track",class:"md-progress-indicator__circular-track md-progress-indicator__circular-track--spinner",part:"track",cx:e,cy:e,r:s,"stroke-width":i,fill:"none",pathLength:1,"stroke-linecap":"round",transform:`rotate(-90 ${e} ${e})`,ref:t=>{this.circularFlatTrackRef=t}}):r("circle",{key:"circ-track",class:"md-progress-indicator__circular-track md-progress-indicator__circular-track--determinate",part:"track",cx:e,cy:e,r:s,"stroke-width":i,fill:"none",pathLength:1,"stroke-linecap":"round",transform:`rotate(-90 ${e} ${e})`,"stroke-dasharray":this._completedTrack?undefined:d?`${c} 1`:undefined,"stroke-dashoffset":this._completedTrack?undefined:d?-(a+o):undefined,style:this._completedTrack?undefined:this.ccPhase>0||h&&c<=0?{opacity:"0"}:undefined,ref:t=>{this.circularFlatTrackRef=t}}),r("circle",{key:"circ-active",class:"md-progress-indicator__circular-active",part:"active-indicator",cx:e,cy:e,r:s,"stroke-width":i,fill:"none",pathLength:1,"stroke-linecap":"round","stroke-dasharray":this.indeterminate||a>=1?undefined:`${a} ${1}`,style:this.ccPhase>0||this._completed||this._completedTrack?{opacity:"0"}:undefined,transform:`rotate(-90 ${e} ${e})`,ref:t=>{this.activeCircleRef=t}}),r("path",{class:"md-progress-indicator__circular-active-path","stroke-width":i,fill:"none","stroke-linecap":"round",d:this.flatCompletionD,ref:t=>{this.circularFlatCompleteRef=t}}))}renderCircularWave(){const t=this.resolvedSize;const i=this.effectiveThickness;const{active:s,track:e}=this.circularPaths(this.renderFraction,this.amp,this.phase,this.indeterminate,this.indeterminate?A:undefined);return r("svg",{class:"md-progress-indicator__circular",viewBox:`0 0 ${t} ${t}`,"aria-hidden":"true"},r("path",{class:"md-progress-indicator__circular-track",part:"track",d:this.ccPhase>0?"":e,"stroke-width":i,fill:"none","stroke-linecap":"round",ref:t=>this.trackRef=t}),r("g",{ref:t=>this.rotRef=t},r("path",{class:"md-progress-indicator__circular-active",part:"active-indicator",d:s,"stroke-width":i,fill:"none","stroke-linecap":"round",ref:t=>this.activeRef=t})))}render(){return r(e,{key:"f2d5c2bf27f48775f3996fbff253894ce5fffa7a",class:{"md-progress-indicator":true,[`md-progress-indicator--${this.variant}`]:true,"md-progress-indicator--indeterminate":this.indeterminate,"md-progress-indicator--wave":this.wave,"md-progress-indicator--four-color":this.fourColor,"md-progress-indicator--completing":this._completing,"md-progress-indicator--complete":this._completed},role:"progressbar","aria-label":this.label||undefined,"aria-valuemin":0,"aria-valuemax":this.ariaValueMax,"aria-valuenow":this.ariaValueNow},this.variant==="circular"?this.renderCircular():this.renderLinear())}connectedCallback(){d(this)}componentShouldUpdate(){l(this);return true}get el(){return this}static get watchers(){return{thickness:[{onDimensionChange:0}],size:[{onDimensionChange:0}],wave:[{onDimensionChange:0},{onAmplitudeInputChange:0}],waveAmplitude:[{onDimensionChange:0}],waveLength:[{onDimensionChange:0}],variant:[{onDimensionChange:0}],value:[{onAmplitudeInputChange:0}],max:[{onAmplitudeInputChange:0}],indeterminate:[{onAmplitudeInputChange:0}],reducedMotion:[{onAmplitudeInputChange:0}],complete:[{onCompleteChange:0}]}}static get style(){return m()+p()}},[1,"md-progress-indicator",{variant:[1],value:[2],max:[2],indeterminate:[516],thickness:[2],wave:[516],waveAmplitude:[2,"wave-amplitude"],waveLength:[2,"wave-length"],waveSpeed:[2,"wave-speed"],size:[2],fourColor:[516,"four-color"],label:[1],complete:[4],density:[514],reducedMotion:[32],_completing:[32],_completed:[32],_completedTrack:[32],_fillComplete:[32]},undefined,{thickness:[{onDimensionChange:0}],size:[{onDimensionChange:0}],wave:[{onDimensionChange:0},{onAmplitudeInputChange:0}],waveAmplitude:[{onDimensionChange:0}],waveLength:[{onDimensionChange:0}],variant:[{onDimensionChange:0}],value:[{onAmplitudeInputChange:0}],max:[{onAmplitudeInputChange:0}],indeterminate:[{onAmplitudeInputChange:0}],reducedMotion:[{onAmplitudeInputChange:0}],complete:[{onCompleteChange:0}]}]);function q(t){if(t.length<2)return"";const i=[`M ${t[0][0].toFixed(2)} ${t[0][1].toFixed(2)}`];for(let s=0;s<t.length-1;s++){const r=t[s-1]||t[s];const e=t[s];const a=t[s+1];const n=t[s+2]||a;const o=e[0]+(a[0]-r[0])/6;const h=e[1]+(a[1]-r[1])/6;const c=a[0]-(n[0]-e[0])/6;const d=a[1]-(n[1]-e[1])/6;i.push(`C ${o.toFixed(2)} ${h.toFixed(2)} ${c.toFixed(2)} ${d.toFixed(2)} ${a[0].toFixed(2)} ${a[1].toFixed(2)}`)}return i.join(" ")}function W(){if(typeof customElements==="undefined"){return}const t=["md-progress-indicator"];t.forEach((t=>{switch(t){case"md-progress-indicator":if(!customElements.get(a(t))){customElements.define(a(t),E)}break}}))}W();export{E as M,W as d};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as t,H as i,c as s,h as r,d as e,t as a}from"./p-t9lomFml.js";import{b as n,c as o,i as h,d as c,r as d,p as l}from"./p-D9C2BtN-.js";const m=()=>`:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;const p=()=>`:host{--_active-color:var(--md-progress-indicator-active-indicator-color, var(--md-sys-color-primary, #6750A4));--_active-shape:var(--md-progress-indicator-active-indicator-shape, var(--_track-shape));--_track-color:var(--md-progress-indicator-track-color, var(--md-sys-color-secondary-container, #E8DEF8));--_track-shape:var(--md-progress-indicator-track-shape, var(--md-sys-shape-corner-full, 9999px));--_stop-color:var(--md-progress-indicator-stop-indicator-color, var(--md-sys-color-primary, #6750A4));--_stop-shape:var(--md-progress-indicator-stop-indicator-shape, var(--md-sys-shape-corner-full, 9999px));--_stop-size:var(--md-progress-indicator-stop-indicator-size, max(2px, calc(4px + var(--md-sys-density-scale, 0) * 0.5px)));--_four-color-1:var(--md-progress-indicator-four-color-1, var(--md-sys-color-primary, #6750A4));--_four-color-2:var(--md-progress-indicator-four-color-2, var(--md-sys-color-primary-container, #EADDFF));--_four-color-3:var(--md-progress-indicator-four-color-3, var(--md-sys-color-tertiary, #7D5260));--_four-color-4:var(--md-progress-indicator-four-color-4, var(--md-sys-color-tertiary-container, #FFD8E4));--_gap:var(--md-progress-indicator-track-active-indicator-space, max(2px, calc(4px + var(--md-sys-density-scale, 0) * 0.5px)));--_stop-trailing-space:var(--md-progress-indicator-stop-indicator-trailing-space, 0px);--_thickness:max(2px, calc(4px + var(--md-sys-density-scale, 0) * 0.5px));--_linear-height:max(2px, calc(4px + var(--md-sys-density-scale, 0) * 0.5px));--_size:max(28px, calc(40px + var(--md-sys-density-scale, 0) * 3px));display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}:host(.md-progress-indicator--linear){display:flex;inline-size:100%;block-size:var(--_linear-height, 4px)}.md-progress-indicator__linear{position:relative;display:flex;align-items:center;inline-size:100%;block-size:100%;overflow:hidden;border-radius:var(--_track-shape)}.md-progress-indicator__track{position:absolute;inset-inline-start:var(--_track-start, 0);inset-inline-end:0;inset-block:0;margin-block:auto;block-size:var(--_thickness, 4px);border-radius:var(--_track-shape);background-color:var(--_track-color)}.md-progress-indicator__track--full{inset-inline-start:0}.md-progress-indicator__track--determinate{transition:none}.md-progress-indicator__active{position:absolute;inset-inline-start:0;inset-block:0;margin-block:auto;inline-size:var(--_fill-width, 0);block-size:var(--_thickness, 4px);background-color:var(--_active-color);border-radius:var(--_active-shape);transition:none}.md-progress-indicator__active--wave{block-size:var(--_linear-height, 10px);border-radius:0;background-color:var(--_active-color);mask-image:var(--_wave-mask);mask-size:var(--_wave-mask-size);mask-repeat:repeat-x;mask-position:left center;animation:md-wave-travel var(--_wave-duration, 1000ms) linear infinite}@keyframes md-wave-travel{to{mask-position:var(--_wave-length-px, 40px) center}}.md-progress-indicator__linear-wave-svg{position:absolute;inset:0;pointer-events:none}.md-progress-indicator__linear-wave-path{fill:var(--_active-color)}.md-progress-indicator__stop{position:absolute;inset-inline-end:var(--_stop-trailing-space, 0);inset-block:0;margin-block:auto;inline-size:min(var(--_stop-size), var(--_thickness, 4px));block-size:min(var(--_stop-size), var(--_thickness, 4px));border-radius:var(--_stop-shape);background-color:var(--_stop-color)}.md-progress-indicator__bar{position:absolute;inset-block:0;margin-block:auto;inline-size:100%;block-size:var(--_thickness, 4px);transform-origin:left center}.md-progress-indicator__bar-inner{position:absolute;inset:0;inline-size:100%;block-size:100%;background-color:var(--_active-color);border-radius:var(--_active-shape);transform-origin:center}.md-progress-indicator__bar--primary{inset-inline-start:-145%;animation:md-linear-primary-translate 2000ms linear infinite;animation-delay:-1666ms}.md-progress-indicator__bar--primary>.md-progress-indicator__bar-inner{animation:md-linear-primary-scale 2000ms linear infinite;animation-delay:-1666ms}.md-progress-indicator__bar--secondary{inset-inline-start:-55%;animation:md-linear-secondary-translate 2000ms linear infinite}.md-progress-indicator__bar--secondary>.md-progress-indicator__bar-inner{animation:md-linear-secondary-scale 2000ms linear infinite}@keyframes md-linear-primary-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.7017, 0.4958);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.3024, 0.3814, 0.55, 0.9564);transform:translateX(83.6714%)}100%{transform:translateX(250%)}}@keyframes md-linear-primary-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.3347, 0.1248, 0.7858, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.58)}100%{transform:scaleX(0.62)}}@keyframes md-linear-secondary-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.5151, 0.4097);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.3103, 0.2841, 0.8, 0.7337);transform:translateX(37.6519%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627, 0.6, 0.902);transform:translateX(84.3862%)}100%{transform:translateX(160.278%)}}@keyframes md-linear-secondary-scale{0%{animation-timing-function:cubic-bezier(0.205, 0.0571, 0.5766, 0.454);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.1523, 0.1964, 0.6484, 1.0043);transform:scaleX(0.4571)}44.15%{animation-timing-function:cubic-bezier(0.2578, -0.0032, 0.2118, 1.3818);transform:scaleX(0.58)}100%{transform:scaleX(0.62)}}.md-progress-indicator__bar--wave{block-size:var(--_linear-height, 10px);mask-image:var(--_wave-mask);mask-size:var(--_wave-mask-size);mask-repeat:repeat-x;mask-position:left center}.md-progress-indicator__bar--wave>.md-progress-indicator__bar-inner{border-radius:0}.md-progress-indicator__bar-inner--ghost{background-color:transparent}.md-progress-indicator__bar--primary.md-progress-indicator__bar--wave{animation:md-linear-primary-translate 2000ms linear infinite, md-wave-travel var(--_wave-duration, 500ms) linear infinite;animation-delay:-1666ms, 0ms}.md-progress-indicator__bar--secondary.md-progress-indicator__bar--wave{animation:md-linear-secondary-translate 2000ms linear infinite, md-wave-travel var(--_wave-duration, 500ms) linear infinite}:host-context([dir="rtl"]).md-progress-indicator--indeterminate .md-progress-indicator__linear,:host([dir="rtl"]).md-progress-indicator--indeterminate .md-progress-indicator__linear{transform:scaleX(-1)}:host(.md-progress-indicator--circular){inline-size:var(--_size, 40px);block-size:var(--_size, 40px)}.md-progress-indicator__circular{inline-size:100%;block-size:100%}.md-progress-indicator__circular-track{stroke:var(--_track-color)}.md-progress-indicator__circular-track--determinate{transition:none}.md-progress-indicator__circular-active{stroke:var(--_active-color);transition:none}.md-progress-indicator__circular-active-path{stroke:var(--_active-color)}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular{animation:md-circular-rotate 1568ms linear infinite}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-active{transition:none;animation:md-circular-dash 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-track--spinner{transition:none;animation:md-circular-dash-track 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite}@keyframes md-circular-rotate{100%{transform:rotate(360deg)}}@keyframes md-circular-dash{0%{stroke-dasharray:0.05 1;stroke-dashoffset:0}50%{stroke-dasharray:0.70 1;stroke-dashoffset:-0.18}100%{stroke-dasharray:0.05 1;stroke-dashoffset:-0.92}}@keyframes md-circular-dash-track{0%{stroke-dasharray:var(--_spin-da-0, 0.81) var(--_spin-gap-0, 0.19);stroke-dashoffset:var(--_spin-do-0, -0.12)}50%{stroke-dasharray:var(--_spin-da-50, 0.16) var(--_spin-gap-50, 0.84);stroke-dashoffset:var(--_spin-do-50, -0.95)}100%{stroke-dasharray:var(--_spin-da-100, 0.81) var(--_spin-gap-100, 0.19);stroke-dashoffset:var(--_spin-do-100, -1.04)}}:host(.md-progress-indicator--four-color.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-active{animation:md-circular-dash 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite, md-four-color 5332ms linear infinite}@keyframes md-four-color{0%,15%{stroke:var(--_four-color-1)}25%,40%{stroke:var(--_four-color-2)}50%,65%{stroke:var(--_four-color-3)}75%,90%{stroke:var(--_four-color-4)}100%{stroke:var(--_four-color-1)}}@media (prefers-reduced-motion: reduce){.md-progress-indicator__active,.md-progress-indicator__circular-active{transition-duration:0s}.md-progress-indicator__active--wave{animation:none}.md-progress-indicator__bar--primary,.md-progress-indicator__bar--primary>.md-progress-indicator__bar-inner,.md-progress-indicator__bar--secondary,.md-progress-indicator__bar--secondary>.md-progress-indicator__bar-inner{animation-duration:6s}.md-progress-indicator__bar--primary,.md-progress-indicator__bar--primary>.md-progress-indicator__bar-inner{animation-delay:-4998ms}.md-progress-indicator__bar--primary.md-progress-indicator__bar--wave{animation:md-linear-primary-translate 6s linear infinite;animation-delay:-4998ms}.md-progress-indicator__bar--secondary.md-progress-indicator__bar--wave{animation:md-linear-secondary-translate 6s linear infinite}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular{animation-duration:4s}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-active,:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-track--spinner{animation-duration:3s}:host(.md-progress-indicator--four-color.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-active{animation-duration:3s, 16s}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate.md-progress-indicator--wave) .md-progress-indicator__circular{animation:md-circular-rotate 4s linear infinite}}@keyframes md-linear-complete{0%{transform:scaleY(1)}60%{transform:scaleY(0.1)}100%{transform:scaleY(0)}}:host(.md-progress-indicator--linear.md-progress-indicator--completing) .md-progress-indicator__linear{transform-origin:center;animation:md-linear-complete 300ms cubic-bezier(0.2, 0, 1, 0.8) forwards}:host(.md-progress-indicator--complete){visibility:hidden}@media (forced-colors: active){.md-progress-indicator__active,.md-progress-indicator__active--wave,.md-progress-indicator__bar,.md-progress-indicator__stop{background-color:CanvasText}.md-progress-indicator__track{background-color:GrayText}.md-progress-indicator__circular-track{stroke:GrayText}.md-progress-indicator__circular-active,.md-progress-indicator__circular-active-path{stroke:CanvasText}.md-progress-indicator__linear-wave-path{fill:CanvasText}}: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 u=4;const f=40;const _=15;const g=3;const v=1.6;const k=40;const y=48;const b=24;const M=240;const w=8;const $=500;const x=[.2,0,0,1];const z=[.3,0,.8,.15];const C=6e3;const A=.1;const D=.87;const L=1080;const S=5;function F([t,i,s,r]){if(t===i&&s===r)return t=>t;const e=3*t;const a=3*(s-t)-e;const n=1-e-a;const o=3*i;const h=3*(r-i)-o;const c=1-o-h;const d=t=>((n*t+a)*t+e)*t;const l=t=>((c*t+h)*t+o)*t;const m=t=>(3*n*t+2*a)*t+e;return t=>{if(t<=0)return 0;if(t>=1)return 1;let i=t;for(let s=0;s<8;s++){const s=d(i)-t;const r=m(i);if(Math.abs(s)<1e-5)break;if(Math.abs(r)<1e-6)break;i-=s/r}return l(Math.min(1,Math.max(0,i)))}}const X=F(x);const I=F(z);const T=F([.2,0,0,1]);const E=t(class t extends i{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.mdComplete=s(this,"mdComplete",7);this.variant="linear";this.value=0;this.max=100;this.indeterminate=false;this.thickness=4;this.wave=false;this.waveAmplitude=0;this.waveLength=0;this.waveSpeed=0;this.size=0;this.fourColor=false;this.label="Progress";this.complete=false;this.density=0;this.reducedMotion=false;this._completing=false;this._completed=false;this._completedTrack=false;this._fillComplete=false;this.raf=0;this.phase=0;this.linearPhase=0;this.amp=0;this.ampFrom=0;this.ampTo=0;this.ampStartTs=-1;this.ampEase=X;this.lastTs=-1;this.indetStartTs=-1;this.renderFraction=0;this.linearRenderFraction=0;this.linearWaveRef=null;this.linearWaveSvgRef=null;this.linearWaveTrackRef=null;this.flatActiveRef=null;this.flatTrackRef=null;this.indetBar1Ref=null;this.indetBar2Ref=null;this.indetPath1Ref=null;this.indetPath2Ref=null;this.indetTrackRef=null;this.linearWidth=0;this.visible=true;this.rtl=false;this.completingFromFrac=0;this.circularFlatTrackRef=null;this.circularFlatCompleteRef=null;this.ccPhase=0;this.ccStart=-1;this.ccFrac=0;this.ccErase=0;this.CC_FILL_DUR=500;this.CC_FLATTEN_DUR=300;this.CC_WAIT=150;this.CC_ERASE_DUR=550;this.CC_TRACK_REVEAL_DUR=300;this.wlcPhase=0;this.wlcStart=-1;this.wlcFromFrac=0;this.wlcFrac=0;this.WLC_FILL_DUR=300;this.WLC_FLATTEN_DUR=300;this.flcPhase=0;this.onReducedMotionChange=t=>{this.reducedMotion=t.matches};this.onLinearAnimEnd=t=>{if(t.animationName==="md-linear-complete")this.handleComplete()};this.frame=t=>{this.raf=0;if(this.lastTs<0)this.lastTs=t;const i=Math.min(64,t-this.lastTs);this.lastTs=t;if(this.ccPhase>0&&this.variant==="circular"){if(this.ccStart<0)this.ccStart=t;if(this.wave){const t=this.resolvedWaveSpeed/this.resolvedWavelength;this.phase+=2*Math.PI*t*(i/1e3);if(this.phase>1e6)this.phase=this.phase%(2*Math.PI)}if(this.ccPhase===1){const i=Math.min(1,(t-this.ccStart)/this.CC_FILL_DUR);this.ccFrac=this.completingFromFrac+(1-this.completingFromFrac)*T(i);this.paintCircularCompletion();if(i>=1){this.ccFrac=1;this.ccStart=t;if(this.wave){this.ccPhase=2;this.ampFrom=this.amp}else{this.ccPhase=3}}}else if(this.ccPhase===2){const i=Math.min(1,(t-this.ccStart)/this.CC_FLATTEN_DUR);this.amp=this.ampFrom*(1-X(i));this.paintCircularCompletion();if(i>=1){this.amp=0;this.ccPhase=3;this.ccStart=t}}else if(this.ccPhase===3){const i=Math.min(1,(t-this.ccStart-this.CC_WAIT)/this.CC_ERASE_DUR);this.ccErase=i<=0?0:T(i);this.paintCircularCompletion();if(i>=1){if(!this.wave){this.ccPhase=4;this.ccStart=t}else{this.handleComplete();this.stopLoop();return}}}else{const i=Math.min(1,(t-this.ccStart)/this.CC_TRACK_REVEAL_DUR);this.circularFlatCompleteRef?.setAttribute("d","");if(this.activeCircleRef)this.activeCircleRef.style.opacity="0";if(this.circularFlatTrackRef){const t=this.circularFlatTrackRef;t.removeAttribute("stroke-dasharray");t.removeAttribute("stroke-dashoffset");t.style.opacity=`${T(i)}`}if(i>=1){this.handleComplete();this.stopLoop();return}}this.raf=requestAnimationFrame(this.frame);return}if(this.wlcPhase>0){if(this.wlcStart<0)this.wlcStart=t;const s=this.resolvedWaveSpeed/this.resolvedWavelength;this.linearPhase+=2*Math.PI*s*(i/1e3);if(this.linearPhase>1e6)this.linearPhase=this.linearPhase%(2*Math.PI);if(this.wlcPhase===1){const i=Math.min(1,(t-this.wlcStart)/this.WLC_FILL_DUR);this.wlcFrac=this.wlcFromFrac+(1-this.wlcFromFrac)*T(i);this.updateLinearPath();if(i>=1){this.wlcFrac=1;this.wlcPhase=2;this.wlcStart=t;this.ampFrom=1;this.ampTo=0;this.ampEase=X;this.ampStartTs=t}}else{const i=Math.min(1,(t-this.ampStartTs)/this.WLC_FLATTEN_DUR);this.amp=this.ampFrom*(1-this.ampEase(i));this.updateLinearPath();if(i>=1){this.amp=0;this.wlcPhase=0;this._completing=true;this.stopLoop();return}}this.raf=requestAnimationFrame(this.frame);return}if(this.amp!==this.ampTo){if(this.ampStartTs<0)this.ampStartTs=t;const i=Math.min(1,(t-this.ampStartTs)/$);this.amp=this.ampFrom+(this.ampTo-this.ampFrom)*this.ampEase(i);if(i>=1){this.amp=this.ampTo;this.ampStartTs=-2}}if(this.variant==="circular"&&this.wave){const t=this.resolvedWaveSpeed/this.resolvedWavelength;this.phase+=2*Math.PI*t*(i/1e3);if(this.phase>1e6)this.phase=this.phase%(2*Math.PI);const s=1-Math.exp(-i/160);this.renderFraction+=(this.fraction-this.renderFraction)*s;if(Math.abs(this.fraction-this.renderFraction)<.001)this.renderFraction=this.fraction;this.updateCircularPath()}else if(this.variant==="circular"&&!this.wave&&!this.indeterminate){const t=1-Math.exp(-i/160);this.renderFraction+=(this.fraction-this.renderFraction)*t;if(Math.abs(this.fraction-this.renderFraction)<.001)this.renderFraction=this.fraction;this.updateCircularFlat()}else if(this.variant==="linear"&&this.wave&&!this.indeterminate){const t=this.resolvedWaveSpeed/this.resolvedWavelength;this.linearPhase+=2*Math.PI*t*(i/1e3);if(this.linearPhase>1e6)this.linearPhase=this.linearPhase%(2*Math.PI);if(this.wlcPhase===0){const t=1-Math.exp(-i/80);this.linearRenderFraction+=(this.fraction-this.linearRenderFraction)*t;if(Math.abs(this.fraction-this.linearRenderFraction)<.001)this.linearRenderFraction=this.fraction}this.updateLinearPath()}else if(this.variant==="linear"&&this.wave&&this.indeterminate){const t=this.resolvedWaveSpeed/this.resolvedWavelength;this.linearPhase+=2*Math.PI*t*(i/1e3);if(this.linearPhase>1e6)this.linearPhase=this.linearPhase%(2*Math.PI);this.updateLinearIndeterminate()}else if(this.variant==="linear"&&!this.wave&&!this.indeterminate){const t=this.flcPhase===1?1:this.fraction;const s=1-Math.exp(-i/80);this.linearRenderFraction+=(t-this.linearRenderFraction)*s;if(Math.abs(t-this.linearRenderFraction)<.001){this.linearRenderFraction=t;if(this.flcPhase===1){this.flcPhase=0;this.updateLinearFlat();this._completing=true;this.stopLoop();return}}this.updateLinearFlat()}else{this.applyAmplitude()}if(this.shouldAnimate()){this.raf=requestAnimationFrame(this.frame)}else{this.stopLoop()}}}get fraction(){if(!this.max)return 0;return Math.min(1,Math.max(0,this.value/this.max))}get densityScale(){if(!this.el)return 0;const t=getComputedStyle(this.el).getPropertyValue("--md-sys-density-scale").trim();return t?Number(t):0}get resolvedSize(){const t=this.densityScale;const i=this.size>0?this.size:(this.wave?y:k)+t*3;return Math.min(M,Math.max(b,i))}get resolvedWavelength(){if(this.waveLength>0)return this.waveLength;if(this.variant==="circular")return _;return f}get resolvedAmplitude(){if(this.waveAmplitude>0)return this.waveAmplitude;if(this.variant==="circular")return v;return g}get resolvedThickness(){if(this.thickness!==4)return this.thickness;return Math.max(2,4+this.densityScale*.5)}get resolvedWaveStroke(){return this.resolvedThickness}get effectiveThickness(){return this.resolvedThickness}get resolvedWaveSpeed(){if(this.waveSpeed>0)return this.waveSpeed;return this.resolvedWavelength}get linearWaveHeight(){return 2*this.resolvedAmplitude+this.resolvedWaveStroke}get amplitudeTarget(){if(!this.wave||this.reducedMotion)return 0;if(this.indeterminate)return 1;return this.fraction>0?1:0}componentWillLoad(){n(this);this.amp=this.amplitudeTarget;this.ampTo=this.amp;this.renderFraction=this.fraction;this.linearRenderFraction=this.fraction;this.syncHostStyles();if(typeof window!=="undefined"&&window.matchMedia){this.mql=window.matchMedia("(prefers-reduced-motion: reduce)");this.reducedMotion=this.mql.matches;this.mql.addEventListener?.("change",this.onReducedMotionChange)}}componentDidLoad(){try{if(typeof IntersectionObserver!=="undefined"){this.io=new IntersectionObserver((t=>{this.visible=t.some((t=>t.isIntersecting));this.ensureLoop()}));this.io.observe(this.el)}if(typeof ResizeObserver!=="undefined"){this.ro=new ResizeObserver((()=>{this.measureLinearWidth();this.updateLinearPath()}));this.ro.observe(this.el)}this.ensureLoop()}finally{o(this)}}componentDidRender(){h(this);this.ensureLoop();this.rtl=this.computeRtl();if(this.wave&&this.variant==="linear"&&!this.indeterminate){this.measureLinearWidth();if(this.wlcPhase===0&&!this._completing&&!this._completed){if(!this.raf)this.linearRenderFraction=this.fraction;this.updateLinearPath()}}if(!this.wave&&this.variant==="linear"&&!this.indeterminate){if(this.flcPhase===0&&!this._completing&&!this._completed){if(!this.raf)this.linearRenderFraction=this.fraction;this.updateLinearFlat()}}if(this.variant==="circular"&&!this.wave&&!this.indeterminate){if(this.ccPhase===0&&!this._completing&&!this._completed&&!this._completedTrack){if(!this.raf)this.renderFraction=this.fraction;this.updateCircularFlat()}}}measureLinearWidth(){const t=this.linearWaveSvgRef?.getBoundingClientRect().width||this.el.getBoundingClientRect().width||this.el.clientWidth||0;if(t)this.linearWidth=t;return this.linearWidth}computeRtl(){if(typeof getComputedStyle==="undefined"||!this.el)return false;return getComputedStyle(this.el).direction==="rtl"}disconnectedCallback(){c(this);this.stopLoop();this.mql?.removeEventListener?.("change",this.onReducedMotionChange);this.io?.disconnect();this.ro?.disconnect()}onDimensionChange(){this.syncHostStyles()}onAmplitudeInputChange(){if(this.ccPhase>0)return;this.retargetAmplitude();this.ensureLoop()}onCompleteChange(t){if(!t||this.indeterminate||this._completing||this._completed||this._completedTrack||this.ccPhase>0)return;if(this.variant==="linear"&&this.wave){this.amp=1;this.ampFrom=1;this.ampTo=1;this.ampStartTs=-2;this.wlcPhase=1;this.wlcStart=-1;this.wlcFromFrac=this.fraction;this.wlcFrac=this.fraction;this.ensureLoop();return}if(this.variant==="linear"&&!this.wave){if(this.reducedMotion||typeof requestAnimationFrame==="undefined"){this._fillComplete=true;this._completing=true;return}this.flcPhase=1;this.ensureLoop();return}if(this.reducedMotion||typeof requestAnimationFrame==="undefined"){this.handleComplete();return}this.renderFraction=this.fraction;this.completingFromFrac=this.fraction;this.ccFrac=this.completingFromFrac;this.ccErase=0;this.ccStart=-1;if(this.wave){this.amp=1;this.ampTo=1;this.ampStartTs=-2;this.ampFrom=this.amp}if(this.completingFromFrac>=1-.001){this.ccFrac=1;this.ccPhase=this.wave?2:3}else{this.ccPhase=1}this.ensureLoop()}handleComplete(){this._completing=false;this._fillComplete=false;this.ccPhase=0;this.flcPhase=0;if(this.variant==="circular"&&!this.wave){this._completedTrack=true}else{this._completed=true}this.mdComplete.emit()}syncHostStyles(){const t=this.el?.style;if(!t)return;const i=this.resolvedThickness;t.setProperty("--_thickness",`${i}px`);t.setProperty("--_linear-height",`${this.wave?this.linearWaveHeight:i}px`);if(this.variant==="circular"||this.size>0){t.setProperty("--_size",`${this.resolvedSize}px`)}else{t.removeProperty("--_size")}if(this.wave&&this.variant==="linear"){const i=this.resolvedWavelength;t.setProperty("--_wave-length-px",`${i}px`);t.setProperty("--_wave-mask-size",`${i}px ${this.linearWaveHeight}px`);const s=Math.max(50,Math.round(i/this.resolvedWaveSpeed*1e3));t.setProperty("--_wave-duration",`${s}ms`);this.updateLinearMask()}else{["--_wave-length-px","--_wave-mask","--_wave-mask-size","--_wave-duration"].forEach((i=>t.removeProperty(i)))}this.syncSpinnerTrackVars(t)}syncSpinnerTrackVars(t){if(this.variant!=="circular")return;const i=this.circularRadius;const s=2*Math.PI*i;const r=s>0?(u+this.effectiveThickness)/s:0;const e=(i,s,e)=>{const a=Math.max(1e-4,Math.min(1,1-s-2*r));t.setProperty(`--_spin-da-${i}`,a.toFixed(4));t.setProperty(`--_spin-gap-${i}`,(1-a).toFixed(4));t.setProperty(`--_spin-do-${i}`,(e-s-r).toFixed(4))};e("0",.05,0);e("50",.7,-.18);e("100",.05,-.92)}retargetAmplitude(){if(this.wlcPhase>0||this.ccPhase>0)return;const t=this.amplitudeTarget;if(t===this.ampTo&&this.ampStartTs<0)return;if(t===this.ampTo)return;this.ampFrom=this.amp;this.ampTo=t;this.ampEase=t>this.ampFrom?X:I;this.ampStartTs=-1;if(this.reducedMotion||typeof requestAnimationFrame==="undefined"){this.amp=t;this.ampStartTs=-2;this.applyAmplitude();return}this.ensureLoop()}applyAmplitude(){if(this.variant==="linear"){if(this.wave&&!this.indeterminate)this.updateLinearPath();else if(!this.wave)this.updateLinearMask()}else{this.updateCircularPath()}}shouldAnimate(){if(typeof requestAnimationFrame==="undefined")return false;if(!this.visible||this.reducedMotion)return false;if(this.ccPhase>0)return true;if(this.wlcPhase>0)return true;if(this._completing&&this.variant==="linear")return false;if(this.variant==="circular"&&this.wave){if(this.indeterminate)return true;return this.amp>0||this.amp!==this.ampTo||Math.abs(this.renderFraction-this.fraction)>.001}if(this.variant==="circular"&&!this.wave&&!this.indeterminate){return!this._completedTrack&&Math.abs(this.renderFraction-this.fraction)>.001}if(this.variant==="linear"&&this.wave&&!this.indeterminate){return this.amp>0||this.amp!==this.ampTo||Math.abs(this.linearRenderFraction-this.fraction)>.001}if(this.variant==="linear"&&this.wave&&this.indeterminate)return true;if(this.variant==="linear"&&!this.wave&&!this.indeterminate){if(this.flcPhase>0)return true;return Math.abs(this.linearRenderFraction-this.fraction)>.001}return false}ensureLoop(){if(this.shouldAnimate()){if(!this.raf)this.raf=requestAnimationFrame(this.frame)}else if(this.amp===this.ampTo){this.stopLoop()}}stopLoop(){if(this.raf)cancelAnimationFrame(this.raf);this.raf=0;this.lastTs=-1;this.indetStartTs=-1}updateLinearPath(){if(!(this.wave&&this.variant==="linear"&&!this.indeterminate))return;if(!this.linearWaveRef)return;const t=this.linearWidth||this.measureLinearWidth();if(!t)return;const i=this.wlcPhase>0?this.wlcFrac:this.linearRenderFraction;const s=i*t;let r="";if(s>0){r=this.rtl?this.buildLinearWaveSVGPath(t-s,t,this.amp,this.linearPhase,true):this.buildLinearWaveSVGPath(0,s,this.amp,this.linearPhase,true)}this.linearWaveRef.setAttribute("d",r);if(this.linearWaveTrackRef){const t=+(i*100).toFixed(3);this.linearWaveTrackRef.style.setProperty("--_track-start",t>0?`calc(${t}% + var(--_gap))`:"0")}}updateLinearFlat(){if(!(this.variant==="linear"&&!this.wave&&!this.indeterminate))return;const t=+(this.linearRenderFraction*100).toFixed(3);this.flatActiveRef?.style.setProperty("--_fill-width",`${t}%`);this.flatTrackRef?.style.setProperty("--_track-start",t>=100?"calc(100% + var(--_gap))":t>0?`calc(${t}% + var(--_gap))`:"0")}updateLinearIndeterminate(){if(!(this.wave&&this.variant==="linear"&&this.indeterminate))return;const t=this.linearWaveSvgRef?.getBoundingClientRect();const i=t??this.el.getBoundingClientRect();const s=i.width;if(!s)return;const r=this.effectiveThickness/2;const e=[];const a=(t,s)=>{if(!t||!s)return;const a=t.getBoundingClientRect();const n=a.left-i.left;const o=a.right-i.left;if(o-n<1){s.setAttribute("d","");return}s.setAttribute("d",this.buildLinearWaveSVGPath(n,o,this.amp,this.linearPhase));e.push([n-r,o+r])};a(this.indetBar1Ref,this.indetPath1Ref);a(this.indetBar2Ref,this.indetPath2Ref);if(this.indetTrackRef){const t=this.buildTrackMask(e,s);this.indetTrackRef.style.setProperty("-webkit-mask-image",t);this.indetTrackRef.style.setProperty("mask-image",t)}}buildTrackMask(t,i){const s=t.map((([t,s])=>[Math.max(0,Math.min(100,t/i*100)),Math.max(0,Math.min(100,s/i*100))])).filter((([t,i])=>i>t)).sort(((t,i)=>t[0]-i[0]));const r=[];for(const[t,i]of s){const s=r[r.length-1];if(s&&t<=s[1])s[1]=Math.max(s[1],i);else r.push([t,i])}if(!r.length)return"none";const e=[];let a=0;for(const[t,i]of r){e.push(`#fff ${a.toFixed(2)}%`,`#fff ${t.toFixed(2)}%`,`transparent ${t.toFixed(2)}%`,`transparent ${i.toFixed(2)}%`,`#fff ${i.toFixed(2)}%`);a=i}e.push(`#fff ${a.toFixed(2)}%`,`#fff 100%`);return`linear-gradient(to right, ${e.join(", ")})`}buildLinearWaveSVGPath(t,i,s,r,e=false){if(i<=t)return"";const a=this.linearWaveHeight;const n=a/2;const o=this.resolvedWavelength;const h=this.effectiveThickness/2;const c=e?t+h:t;const d=e?i-h:i;const l=Math.max(0,d-c);const m=s*this.resolvedAmplitude*Math.min(1,l/o);if(e&&d<=c){const s=(t+i)/2;const r=(i-t)/2;return`M ${(s-r).toFixed(2)} ${n.toFixed(2)} `+`a ${r.toFixed(2)} ${r.toFixed(2)} 0 1 0 ${(2*r).toFixed(2)} 0 `+`a ${r.toFixed(2)} ${r.toFixed(2)} 0 1 0 ${(-2*r).toFixed(2)} 0 Z`}const p=Math.max(8,Math.round((d-c)/o*w));const u=[];const f=[];for(let t=0;t<=p;t++){const i=c+(d-c)*t/p;const s=n-m*Math.sin(2*Math.PI*i/o+r);u.push([i,s+h]);f.unshift([i,s-h])}const _=n-m*Math.sin(2*Math.PI*c/o+r);const g=n-m*Math.sin(2*Math.PI*d/o+r);const v=`M ${c.toFixed(2)} ${(_-h).toFixed(2)}`;const k=`A ${h.toFixed(2)} ${h.toFixed(2)} 0 0 0 ${c.toFixed(2)} ${(_+h).toFixed(2)}`;const y=q(u).replace(/^M \S+ \S+ /,"");const b=`A ${h.toFixed(2)} ${h.toFixed(2)} 0 0 0 ${d.toFixed(2)} ${(g-h).toFixed(2)}`;const M=q(f).replace(/^M \S+ \S+ /,"");return`${v} ${k} ${y} ${b} ${M} Z`}updateLinearMask(){if(!(this.wave&&this.variant==="linear"))return;const t=this.el?.style;if(!t)return;t.setProperty("--_wave-mask",this.buildLinearMask(this.amp))}buildLinearMask(t){const i=this.resolvedWavelength;const s=this.resolvedWaveStroke;const r=this.linearWaveHeight;const e=r/2;const a=t*this.resolvedAmplitude;const n=Math.max(16,Math.round(i/2));const o=[];const h=[];for(let t=0;t<=n;t++){const r=i*t/n;const c=a*Math.sin(2*Math.PI*r/i);o.push([r,e-c-s/2]);h.unshift([r,e-c+s/2])}const c=q(o);const d=q(h).replace(/^M \S+ \S+/,`L ${h[0][0].toFixed(2)} ${h[0][1].toFixed(2)}`);const l=`${c} ${d} Z`;const m=`<svg xmlns='http://www.w3.org/2000/svg' width='${i}' height='${r}' viewBox='0 0 ${i} ${r}'>`+`<path d='${l}' fill='black'/></svg>`;return`url("data:image/svg+xml,${encodeURIComponent(m)}")`}get circularRadius(){const t=(this.resolvedSize-this.effectiveThickness)/2-(this.wave?this.resolvedAmplitude:0);return Math.max(.5,t)}get circularVertices(){const t=this.circularRadius;const i=this.resolvedWavelength;return Math.max(S,Math.round(2*Math.PI*t/i))}wavyArcPath(t,i,s,r){const e=this.resolvedSize/2;const a=this.resolvedSize/2;const n=this.circularRadius;const o=this.circularVertices;const h=s*this.resolvedAmplitude;const c=i-t;const d=Math.max(8,Math.ceil(Math.abs(c)/(2*Math.PI)*o*8));const l=[];for(let i=0;i<=d;i++){const s=t+c*(i/d);const m=n+h*Math.cos(o*s-r);l.push([e+m*Math.cos(s),a+m*Math.sin(s)])}return q(l)}arcPath(t,i){const s=this.resolvedSize/2;const r=this.resolvedSize/2;const e=this.circularRadius;const a=Math.abs(i-t)>Math.PI?1:0;const n=i>t?1:0;const o=s+e*Math.cos(t);const h=r+e*Math.sin(t);const c=s+e*Math.cos(i);const d=r+e*Math.sin(i);return`M ${o.toFixed(2)} ${h.toFixed(2)} A ${e} ${e} 0 ${a} ${n} ${c.toFixed(2)} ${d.toFixed(2)}`}circularPaths(t,i,s,r,e){const a=-Math.PI/2;const n=this.effectiveThickness;const o=this.circularRadius;const h=a+(r?e??A:t)*2*Math.PI;const c=h-a<1e-4?"":this.wavyArcPath(a,h,i,s);let d;if(!r&&t>0&&t<1){const t=(u+n+i*this.resolvedAmplitude)/o;const s=h+t;const r=a+2*Math.PI-t;d=r>s?this.arcPath(s,r):""}else if(!r){d=this.arcPath(a,a+2*Math.PI-.001)}else{d=""}return{active:c,track:d}}paintCircularCompletion(){const t=-Math.PI/2;const i=this.ccPhase===3;const s=i?this.ccErase:0;const r=i?1:this.ccFrac;const e=r-s;const a=2*Math.PI*this.circularRadius;const n=a>0?this.effectiveThickness/a:.04;const o=!i?1:e<=1e-4?0:e<n?Math.max(0,e/n):1;const h=t+s*2*Math.PI;const c=t+r*2*Math.PI;if(this.wave){const t=e<1e-4?"":this.wavyArcPath(h,c,this.amp,this.phase);if(this.activeRef){this.activeRef.style.opacity=o>=1?"":`${o}`;this.activeRef.setAttribute("d",t)}this.trackRef?.setAttribute("d","")}else{const t=e<1e-4?"":this.wavyArcPath(h,c,0,this.phase);if(this.circularFlatCompleteRef){this.circularFlatCompleteRef.style.opacity=o>=1?"":`${o}`;this.circularFlatCompleteRef.setAttribute("d",t)}if(this.activeCircleRef)this.activeCircleRef.style.opacity="0";if(this.circularFlatTrackRef){const t=this.circularFlatTrackRef;t.removeAttribute("stroke-dasharray");t.removeAttribute("stroke-dashoffset");t.style.opacity="0"}}}get flatCompletionD(){if(this.ccPhase===0)return"";const t=-Math.PI/2;const i=this.ccPhase===3;const s=i?this.ccErase:0;const r=i?1:this.ccFrac;if(r-s<1e-4)return"";return this.wavyArcPath(t+s*2*Math.PI,t+r*2*Math.PI,0,this.phase)}updateCircularPath(){if(!(this.wave&&this.variant==="circular"))return;const t=this.indeterminate?this.indeterminateSweep():undefined;const{active:i,track:s}=this.circularPaths(this.renderFraction,this.amp,this.phase,this.indeterminate,t);this.activeRef?.setAttribute("d",i);if(this.indeterminate){const i=this.indeterminateRotation();const s=this.resolvedSize/2;this.rotRef?.setAttribute("transform",`rotate(${i.toFixed(2)} ${s} ${s})`);const r=i*Math.PI/180;const e=this.circularRadius;const a=(u+this.effectiveThickness+this.amp*this.resolvedAmplitude)/e;const n=-Math.PI/2;const o=(t??A)*2*Math.PI;const h=n+r+o;const c=n+r;const d=h+a;const l=c+2*Math.PI-a;this.trackRef?.setAttribute("d",l>d?this.arcPath(d,l):"")}else{this.trackRef?.setAttribute("d",s)}}updateCircularFlat(){if(!(this.variant==="circular"&&!this.wave&&!this.indeterminate))return;if(this.ccPhase>0||this._completedTrack)return;const t=this.renderFraction;const i=this.circularRadius;const s=2*Math.PI*i;const r=this.effectiveThickness;const e=s>0?(u+r)/s:0;const a=this.activeCircleRef;if(a){if(t>=1-1e-4)a.removeAttribute("stroke-dasharray");else a.setAttribute("stroke-dasharray",`${t.toFixed(4)} 1`)}const n=this.circularFlatTrackRef;if(n){if(t<=1e-4){n.removeAttribute("stroke-dasharray");n.removeAttribute("stroke-dashoffset");n.style.opacity=""}else if(t>=1-1e-4){n.style.opacity="0"}else{const i=1-t-2*e;const a=s>0?r/s:.04;if(i<=1e-4){n.style.opacity="0"}else if(i<a){n.style.opacity=Math.max(0,i/a).toFixed(3);n.setAttribute("stroke-dasharray",`${a.toFixed(4)} 1`);n.setAttribute("stroke-dashoffset",`${(-(1-e-a)).toFixed(4)}`)}else{n.style.opacity="";n.setAttribute("stroke-dasharray",`${i.toFixed(4)} 1`);n.setAttribute("stroke-dashoffset",`${(-(t+e)).toFixed(4)}`)}}}}indeterminateSweep(){if(this.indetStartTs<0)this.indetStartTs=this.lastTs;const t=(this.lastTs-this.indetStartTs)%C/C;const i=D-A;if(t<.5)return A+i*T(t/.5);return D-i*T((t-.5)/.5)}indeterminateRotation(){if(this.indetStartTs<0)this.indetStartTs=this.lastTs;const t=this.lastTs-this.indetStartTs;return(L+360)*(t/C)%360}get ariaValueMax(){return Number.isFinite(this.max)&&this.max>0?this.max:0}get ariaValueNow(){if(this.indeterminate)return undefined;const t=Math.min(this.ariaValueMax,Math.max(0,this.value));return Number.isFinite(t)?t:0}renderLinear(){return this.indeterminate?this.renderLinearIndeterminate():this.renderLinearDeterminate()}renderLinearDeterminate(){const t=this._fillComplete||this._completing?100:this.fraction*100;const i=this.fraction*100;const s=t>0;if(this.wave){return r("div",{class:"md-progress-indicator__linear","aria-hidden":"true",onAnimationEnd:this.onLinearAnimEnd},i<100&&r("div",{class:"md-progress-indicator__track",part:"track",ref:t=>{this.linearWaveTrackRef=t},style:{"--_track-start":s?`calc(${i}% + var(--_gap))`:"0"}}),r("div",{class:"md-progress-indicator__stop",part:"stop-indicator"}),r("svg",{class:"md-progress-indicator__linear-wave-svg",width:"100%","aria-hidden":"true",ref:t=>{this.linearWaveSvgRef=t}},r("path",{class:"md-progress-indicator__linear-wave-path",part:"active-indicator",ref:t=>{this.linearWaveRef=t}})))}return r("div",{class:"md-progress-indicator__linear","aria-hidden":"true",onAnimationEnd:this.onLinearAnimEnd},r("div",{class:"md-progress-indicator__active",part:"active-indicator",ref:t=>{this.flatActiveRef=t},style:{"--_fill-width":`${t}%`}}),r("div",{class:"md-progress-indicator__track md-progress-indicator__track--determinate",part:"track",ref:t=>{this.flatTrackRef=t},style:{"--_track-start":t>=100?"calc(100% + var(--_gap))":s?`calc(${i}% + var(--_gap))`:"0"}}),r("div",{class:"md-progress-indicator__stop",part:"stop-indicator"}))}renderLinearIndeterminate(){if(this.wave&&!this.reducedMotion){return r("div",{class:"md-progress-indicator__linear","aria-hidden":"true"},r("div",{class:"md-progress-indicator__track md-progress-indicator__track--full",part:"track",ref:t=>{this.indetTrackRef=t}}),r("div",{class:"md-progress-indicator__bar md-progress-indicator__bar--primary"},r("div",{class:"md-progress-indicator__bar-inner md-progress-indicator__bar-inner--ghost",ref:t=>{this.indetBar1Ref=t}})),r("div",{class:"md-progress-indicator__bar md-progress-indicator__bar--secondary"},r("div",{class:"md-progress-indicator__bar-inner md-progress-indicator__bar-inner--ghost",ref:t=>{this.indetBar2Ref=t}})),r("svg",{class:"md-progress-indicator__linear-wave-svg",width:"100%","aria-hidden":"true",ref:t=>{this.linearWaveSvgRef=t}},r("path",{class:"md-progress-indicator__linear-wave-path",ref:t=>{this.indetPath1Ref=t}}),r("path",{class:"md-progress-indicator__linear-wave-path",ref:t=>{this.indetPath2Ref=t}})))}const t=t=>({"md-progress-indicator__bar":true,[`md-progress-indicator__bar--${t}`]:true,"md-progress-indicator__bar--wave":this.wave});return r("div",{class:"md-progress-indicator__linear","aria-hidden":"true"},r("div",{class:"md-progress-indicator__track md-progress-indicator__track--full",part:"track"}),r("div",{class:t("primary"),part:"active-indicator"},r("div",{class:"md-progress-indicator__bar-inner"})),r("div",{class:t("secondary")},r("div",{class:"md-progress-indicator__bar-inner"})))}renderCircular(){return this.wave?this.renderCircularWave():this.renderCircularFlat()}renderCircularFlat(){const t=this.resolvedSize;const i=this.effectiveThickness;const s=this.circularRadius;const e=t/2;const a=this.fraction;const n=2*Math.PI*s;const o=n>0?(u+i)/n:0;const h=a>0&&a<1;const c=h?Math.max(0,1-a-2*o):0;const d=h&&c>0;return r("svg",{class:"md-progress-indicator__circular",viewBox:`0 0 ${t} ${t}`,"aria-hidden":"true"},this.indeterminate?r("circle",{key:"circ-track",class:"md-progress-indicator__circular-track md-progress-indicator__circular-track--spinner",part:"track",cx:e,cy:e,r:s,"stroke-width":i,fill:"none",pathLength:1,"stroke-linecap":"round",transform:`rotate(-90 ${e} ${e})`,ref:t=>{this.circularFlatTrackRef=t}}):r("circle",{key:"circ-track",class:"md-progress-indicator__circular-track md-progress-indicator__circular-track--determinate",part:"track",cx:e,cy:e,r:s,"stroke-width":i,fill:"none",pathLength:1,"stroke-linecap":"round",transform:`rotate(-90 ${e} ${e})`,"stroke-dasharray":this._completedTrack?undefined:d?`${c} 1`:undefined,"stroke-dashoffset":this._completedTrack?undefined:d?-(a+o):undefined,style:this._completedTrack?undefined:this.ccPhase>0||h&&c<=0?{opacity:"0"}:undefined,ref:t=>{this.circularFlatTrackRef=t}}),r("circle",{key:"circ-active",class:"md-progress-indicator__circular-active",part:"active-indicator",cx:e,cy:e,r:s,"stroke-width":i,fill:"none",pathLength:1,"stroke-linecap":"round","stroke-dasharray":this.indeterminate||a>=1?undefined:`${a} ${1}`,style:this.ccPhase>0||this._completed||this._completedTrack?{opacity:"0"}:undefined,transform:`rotate(-90 ${e} ${e})`,ref:t=>{this.activeCircleRef=t}}),r("path",{class:"md-progress-indicator__circular-active-path","stroke-width":i,fill:"none","stroke-linecap":"round",d:this.flatCompletionD,ref:t=>{this.circularFlatCompleteRef=t}}))}renderCircularWave(){const t=this.resolvedSize;const i=this.effectiveThickness;const{active:s,track:e}=this.circularPaths(this.renderFraction,this.amp,this.phase,this.indeterminate,this.indeterminate?A:undefined);return r("svg",{class:"md-progress-indicator__circular",viewBox:`0 0 ${t} ${t}`,"aria-hidden":"true"},r("path",{class:"md-progress-indicator__circular-track",part:"track",d:this.ccPhase>0?"":e,"stroke-width":i,fill:"none","stroke-linecap":"round",ref:t=>this.trackRef=t}),r("g",{ref:t=>this.rotRef=t},r("path",{class:"md-progress-indicator__circular-active",part:"active-indicator",d:s,"stroke-width":i,fill:"none","stroke-linecap":"round",ref:t=>this.activeRef=t})))}render(){return r(e,{key:"b1496e204f3e169dd4d52f3d04110d902174a3f3",class:{"md-progress-indicator":true,[`md-progress-indicator--${this.variant}`]:true,"md-progress-indicator--indeterminate":this.indeterminate,"md-progress-indicator--wave":this.wave,"md-progress-indicator--four-color":this.fourColor,"md-progress-indicator--completing":this._completing,"md-progress-indicator--complete":this._completed},role:"progressbar","aria-label":this.label||undefined,"aria-valuemin":0,"aria-valuemax":this.ariaValueMax,"aria-valuenow":this.ariaValueNow},this.variant==="circular"?this.renderCircular():this.renderLinear())}connectedCallback(){d(this)}componentShouldUpdate(){l(this);return true}get el(){return this}static get watchers(){return{thickness:[{onDimensionChange:0}],size:[{onDimensionChange:0}],wave:[{onDimensionChange:0},{onAmplitudeInputChange:0}],waveAmplitude:[{onDimensionChange:0}],waveLength:[{onDimensionChange:0}],variant:[{onDimensionChange:0}],value:[{onAmplitudeInputChange:0}],max:[{onAmplitudeInputChange:0}],indeterminate:[{onAmplitudeInputChange:0}],reducedMotion:[{onAmplitudeInputChange:0}],complete:[{onCompleteChange:0}]}}static get style(){return m()+p()}},[1,"md-progress-indicator",{variant:[1],value:[2],max:[2],indeterminate:[516],thickness:[2],wave:[516],waveAmplitude:[2,"wave-amplitude"],waveLength:[2,"wave-length"],waveSpeed:[2,"wave-speed"],size:[2],fourColor:[516,"four-color"],label:[1],complete:[4],density:[514],reducedMotion:[32],_completing:[32],_completed:[32],_completedTrack:[32],_fillComplete:[32]},undefined,{thickness:[{onDimensionChange:0}],size:[{onDimensionChange:0}],wave:[{onDimensionChange:0},{onAmplitudeInputChange:0}],waveAmplitude:[{onDimensionChange:0}],waveLength:[{onDimensionChange:0}],variant:[{onDimensionChange:0}],value:[{onAmplitudeInputChange:0}],max:[{onAmplitudeInputChange:0}],indeterminate:[{onAmplitudeInputChange:0}],reducedMotion:[{onAmplitudeInputChange:0}],complete:[{onCompleteChange:0}]}]);function q(t){if(t.length<2)return"";const i=[`M ${t[0][0].toFixed(2)} ${t[0][1].toFixed(2)}`];for(let s=0;s<t.length-1;s++){const r=t[s-1]||t[s];const e=t[s];const a=t[s+1];const n=t[s+2]||a;const o=e[0]+(a[0]-r[0])/6;const h=e[1]+(a[1]-r[1])/6;const c=a[0]-(n[0]-e[0])/6;const d=a[1]-(n[1]-e[1])/6;i.push(`C ${o.toFixed(2)} ${h.toFixed(2)} ${c.toFixed(2)} ${d.toFixed(2)} ${a[0].toFixed(2)} ${a[1].toFixed(2)}`)}return i.join(" ")}function W(){if(typeof customElements==="undefined"){return}const t=["md-progress-indicator"];t.forEach((t=>{switch(t){case"md-progress-indicator":if(!customElements.get(a(t))){customElements.define(a(t),E)}break}}))}W();export{E as M,W as d};
|
|
2
|
+
//# sourceMappingURL=p-CXuNI4mJ.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as s,c as a,h as r,d as t,t as d}from"./p-CspVD-eh.js";import{b as n,c as i,i as o,r as m,d as l,p as c}from"./p-B9jJRlnU.js";import{t as p}from"./p-DYBUr7K_.js";import{d as h}from"./p-BWCwdLDy.js";const v=()=>`:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;const y=()=>`:host{display:flex;align-items:center;position:relative;overflow:hidden;cursor:pointer;user-select:none;min-height:var(--md-menu-item-height, calc(48px + var(--md-sys-density-scale, 0) * 4px));--_icon-size:var(--md-menu-item-icon-size, max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px)));--_check-size:var(--md-menu-item-check-size, max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px)));padding:0 var(--md-menu-item-padding-inline, var(--md-sys-spacing-inset-md, 12px));gap:var(--md-menu-item-gap, var(--md-sys-spacing-gap-md, 12px));color:var(--md-sys-color-on-surface, #1C1B1F);box-sizing:border-box;-webkit-tap-highlight-color:transparent;outline:none;transition:background-color var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-standard, 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)), border-radius var(--md-sys-motion-duration-medium2, 300ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1))}@media (prefers-reduced-motion: reduce){:host{transition:none}}.md-menu-item__state-layer{position:absolute;inset:0;background-color:var(--md-sys-color-on-surface, #1C1B1F);opacity:0;pointer-events:none;}:host-context(md-menu-item-group[data-use-gap]) .md-menu-item__state-layer{border-radius:calc(var(--md-menu-group-shape, 12px) - var(--md-sys-spacing-inset-xs, 4px))}:host(:hover) .md-menu-item__state-layer{opacity:0.08}:host(:active) .md-menu-item__state-layer{opacity:0.12}:host(:focus-visible) .md-menu-item__state-layer,:host([data-md-focused]) .md-menu-item__state-layer{opacity:0.12}:host(:hover) .md-menu-item__state-layer,:host(:active) .md-menu-item__state-layer{transition:opacity var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}:host(:focus-visible),:host([data-md-focused]){outline:3px solid var(--md-sys-color-secondary, #625B71);outline-offset:-3px}:host(.md-menu-item--selected){background-color:var(--md-sys-color-secondary-container, #E8DEF8)}:host([data-variant="standard"].md-menu-item--selected){background-color:var(--md-sys-color-tertiary-container, #FFD8E4);color:var(--md-sys-color-on-tertiary-container, #31111D);border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ee)))}:host([data-variant="standard"]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="standard"]:active){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ee)))}:host([data-variant="standard"]:first-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="standard"]:last-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="standard"]:first-child:last-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="standard"][data-after-gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="standard"][gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="standard"][data-after-gap][gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="vibrant"].md-menu-item--selected){background-color:var(--md-sys-color-tertiary, #7D5260);color:var(--md-sys-color-on-tertiary, #FFFFFF);border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ee)))}:host([data-variant="vibrant"]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="vibrant"]:active){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ee)))}:host([data-variant="vibrant"]:first-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="vibrant"]:last-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="vibrant"]:first-child:last-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="vibrant"][data-after-gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="vibrant"][gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="vibrant"][data-after-gap][gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host(.md-menu-item--disabled){cursor:default;opacity:0.38;pointer-events:none}.md-menu-item__leading{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:var(--_icon-size);height:var(--_icon-size);color:var(--md-sys-color-on-surface-variant, #49454F)}.md-menu-item__leading ::slotted(*){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}:host(.md-menu-item--selected) .md-menu-item__leading{color:inherit}.md-menu-item__content{flex:1;display:flex;flex-direction:column;overflow:hidden;min-width:0}.md-menu-item__headline{font-family:var(--md-sys-typescale-body-large-font-family, Roboto, sans-serif);font-size:max(13px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));font-weight:var(--md-sys-typescale-body-large-weight, 400);line-height:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.md-menu-item__supporting{font-family:var(--md-sys-typescale-body-medium-font-family, Roboto, sans-serif);font-size:max(11px, calc(14px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px));color:var(--md-sys-color-on-surface-variant, #49454F);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.md-menu-item__badge{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;height:20px;margin-inline-start:12px;padding:0 8px;border-radius:var(--md-sys-shape-corner-full, 9999px);background-color:var(--md-sys-color-tertiary-container, #FFD8E4);color:var(--md-sys-color-on-tertiary-container, #31111D);font-family:var(--md-sys-typescale-label-small-font-family, Roboto, sans-serif);font-size:var(--md-sys-typescale-label-small-size, 11px);font-weight:var(--md-sys-typescale-label-small-weight, 500);line-height:var(--md-sys-typescale-label-small-line-height, 16px);letter-spacing:var(--md-sys-typescale-label-small-tracking, 0.5px);white-space:nowrap}.md-menu-item__trailing{display:flex;align-items:center;flex-shrink:0;margin-inline-start:8px;color:var(--md-sys-color-on-surface-variant, #49454F)}.md-menu-item__trailing ::slotted(*:not(md-badge)){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}.md-menu-item__trailing-text{font-family:var(--md-sys-typescale-label-small-font-family, Roboto, sans-serif);font-size:var(--md-sys-typescale-label-small-size, 11px);color:var(--md-sys-color-on-surface-variant, #49454F)}.md-menu-item__trailing:not(:has(::slotted(*),.md-menu-item__trailing-text)){display:none}:host(.md-menu-item--selected) .md-menu-item__trailing,:host(.md-menu-item--selected) .md-menu-item__trailing-text,:host(.md-menu-item--selected) .md-menu-item__supporting{color:inherit}.md-menu-item__check{display:flex;align-items:center;justify-content:center;width:var(--_check-size);height:var(--_check-size);flex-shrink:0;margin-inline-start:8px;color:inherit}.md-menu-item__check .material-symbols-outlined{font-family:var(--md-sys-icon-font-family, 'Material Symbols Outlined', 'Material Icons');font-weight:normal;font-style:normal;font-size:var(--_check-size);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}:host(.md-menu-item--divider){padding-bottom:0;margin-bottom:0}:host(.md-menu-item--divider)::after{content:'';position:absolute;bottom:0;inset-inline:0;height:1px;background-color:var(--md-sys-color-outline-variant, #CAC4D0)}:host([data-variant="standard"]){--_rest-ss:var(--md-sys-shape-corner-small, 8px);--_rest-se:var(--md-sys-shape-corner-small, 8px);--_rest-es:var(--md-sys-shape-corner-small, 8px);--_rest-ee:var(--md-sys-shape-corner-small, 8px);color:var(--md-sys-color-on-surface, #1C1B1F);gap:8px;border-radius:var(--md-sys-shape-corner-small, 8px);--_icon-size:var(--md-menu-item-icon-size, max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px)))}:host([data-variant="standard"]:first-child){--_rest-ss:var(--md-sys-shape-corner-large, 16px);--_rest-se:var(--md-sys-shape-corner-large, 16px);border-start-start-radius:var(--md-sys-shape-corner-large, 16px);border-start-end-radius:var(--md-sys-shape-corner-large, 16px)}:host([data-variant="standard"]:last-child){--_rest-es:var(--md-sys-shape-corner-large, 16px);--_rest-ee:var(--md-sys-shape-corner-large, 16px);border-end-start-radius:var(--md-sys-shape-corner-large, 16px);border-end-end-radius:var(--md-sys-shape-corner-large, 16px)}:host([data-variant="standard"]) .md-menu-item__leading{color:var(--md-sys-color-on-surface-variant, #49454F)}:host([data-variant="standard"]) .md-menu-item__trailing,:host([data-variant="standard"]) .md-menu-item__supporting,:host([data-variant="standard"]) .md-menu-item__trailing-text{color:var(--md-sys-color-on-surface-variant, #49454F)}:host([data-variant="standard"].md-menu-item--selected) .md-menu-item__leading,:host([data-variant="standard"].md-menu-item--selected) .md-menu-item__trailing,:host([data-variant="standard"].md-menu-item--selected) .md-menu-item__trailing-text,:host([data-variant="standard"].md-menu-item--selected) .md-menu-item__supporting{color:inherit}:host([data-variant="vibrant"]){--_rest-ss:var(--md-sys-shape-corner-small, 8px);--_rest-se:var(--md-sys-shape-corner-small, 8px);--_rest-es:var(--md-sys-shape-corner-small, 8px);--_rest-ee:var(--md-sys-shape-corner-small, 8px);color:var(--md-sys-color-on-tertiary-container, #31111D);gap:8px;border-radius:var(--md-sys-shape-corner-small, 8px);--_icon-size:var(--md-menu-item-icon-size, max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px)))}:host([data-variant="vibrant"]:first-child){--_rest-ss:var(--md-sys-shape-corner-large, 16px);--_rest-se:var(--md-sys-shape-corner-large, 16px);border-start-start-radius:var(--md-sys-shape-corner-large, 16px);border-start-end-radius:var(--md-sys-shape-corner-large, 16px)}:host([data-variant="vibrant"]:last-child){--_rest-es:var(--md-sys-shape-corner-large, 16px);--_rest-ee:var(--md-sys-shape-corner-large, 16px);border-end-start-radius:var(--md-sys-shape-corner-large, 16px);border-end-end-radius:var(--md-sys-shape-corner-large, 16px)}:host([data-variant="vibrant"]) .md-menu-item__leading{color:var(--md-sys-color-on-tertiary-container, #31111D)}:host([data-variant="vibrant"]) .md-menu-item__trailing,:host([data-variant="vibrant"]) .md-menu-item__supporting,:host([data-variant="vibrant"]) .md-menu-item__trailing-text{color:var(--md-sys-color-on-tertiary-container, #31111D)}:host([data-variant="vibrant"].md-menu-item--selected) .md-menu-item__leading,:host([data-variant="vibrant"].md-menu-item--selected) .md-menu-item__trailing,:host([data-variant="vibrant"].md-menu-item--selected) .md-menu-item__trailing-text,:host([data-variant="vibrant"].md-menu-item--selected) .md-menu-item__supporting{color:inherit}:host([data-variant="vibrant"]) .md-menu-item__state-layer{background-color:var(--md-sys-color-on-tertiary-container, #31111D)}: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 u=e(class e extends s{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.mdClick=a(this,"mdClick",7);this.headline="";this.supportingText="";this.trailingText="";this.disabled=false;this.selected=false;this.indeterminate=false;this.keepOpen=false;this.divider=false;this.gap=false;this.badge="";this.type="button";this.checkPosition="end";this.presentation="menuitem";this.roleOverride="";this.density=0;this.hasLeadingIcon=false;this.hasTrailingIcon=false;this.handleClick=e=>{if(this.disabled){e.preventDefault();e.stopPropagation();return}if(this.type==="checkbox"){this.selected=!this.selected}else if(this.type==="radio"){this.selected=true;this.deselectSiblingRadios()}this.mdClick.emit();if(!this.keepOpen){let e=this.el.closest("md-menu");let s=e;while(e){const a=e.parentElement?.closest("md-menu");if(a){s=a;e=a}else{break}}if(s){const e=s;if(e.anchor){document.getElementById(e.anchor)?.focus()}setTimeout((()=>e.close?.()),150)}}};this.handleKeyDown=e=>{if(e.key==="Enter"){e.preventDefault();if(!this.disabled)p(this.el);this.el.click()}else if(e.key===" "){e.preventDefault();if(this.disabled)return;p(this.el);if(this.type==="checkbox"){this.selected=!this.selected;this.mdClick.emit()}else if(this.type==="radio"){this.selected=true;this.deselectSiblingRadios();this.mdClick.emit()}else{this.el.click()}}}}componentWillLoad(){n(this);this.hasLeadingIcon=!!this.el.querySelector('[slot="leading-icon"]');this.hasTrailingIcon=!!this.el.querySelector('[slot="trailing-icon"]')}deselectSiblingRadios(){if(this.type!=="radio")return;const e=this.el.closest("md-menu-item-group")||this.el.closest("md-menu");if(!e)return;const s=Array.from(e.querySelectorAll("md-menu-item"));for(const e of s){if(e!==this.el&&e.type==="radio"&&e.selected){e.selected=false}}}get role(){if(this.roleOverride)return this.roleOverride;if(this.presentation==="option")return"option";if(this.type==="checkbox")return"menuitemcheckbox";if(this.type==="radio")return"menuitemradio";return"menuitem"}render(){return r(t,{key:"f7bcd8217367f6ec055594fc5e416ecf6771d0d4",class:{"md-menu-item":true,"md-menu-item--selected":this.selected,"md-menu-item--disabled":this.disabled,"md-menu-item--divider":this.divider,"md-menu-item--gap":this.gap},role:this.role,"aria-disabled":this.disabled?"true":"false","aria-selected":this.presentation==="option"?String(this.selected):undefined,"aria-checked":this.presentation!=="option"&&this.type!=="button"?this.indeterminate&&!this.selected?"mixed":String(this.selected):undefined,tabindex:"-1",onClick:this.handleClick,onKeyDown:this.handleKeyDown},r("md-ripple",{key:"9e14a66444332de6d47eea81b35b29519a7d3afa",disabled:this.disabled}),r("span",{key:"0de716c25171553893d47c9840c97781dcd6c995",class:"md-menu-item__state-layer",part:"state-layer","aria-hidden":"true"}),this.type!=="button"&&this.checkPosition==="start"&&r("span",{key:"ba8e08997fb615c7fb62406e8264218ed28bd7b8",class:"md-menu-item__check","aria-hidden":"true"},r("span",{key:"635348e810b274172eef9e1dbee8c05c3a6ccc2e",class:"material-symbols-outlined"},this.selected?"check":this.indeterminate?"remove":"")),this.hasLeadingIcon&&r("span",{key:"3157b6be3a277ec51f5bdbacffbf789c6f31e029",class:"md-menu-item__leading",part:"leading-icon","aria-hidden":"true"},r("slot",{key:"3f7ac3fe439229a8bacc9626364bfd05621b6d7a",name:"leading-icon"})),r("span",{key:"71a0707ac3b8f401a076f045943acb2c23636a16",class:"md-menu-item__content",part:"content"},r("span",{key:"b15c4b78b3e15e15a98ae16fc05960457f5a4b3c",class:"md-menu-item__headline",part:"headline"},this.headline),this.supportingText&&r("span",{key:"187bbd419906b902fdca36c3c81b29ccc6b406cc",class:"md-menu-item__supporting",part:"supporting-text"},this.supportingText)),this.badge&&r("span",{key:"dc81f76f87cc18c8a70c31da624bf3b57231912d",class:"md-menu-item__badge",part:"badge"},this.badge),(this.hasTrailingIcon||this.trailingText)&&r("span",{key:"ebbee567d3239cbf5cfc25f3af3a9d1cbcad2f1b",class:"md-menu-item__trailing",part:"trailing"},r("slot",{key:"96ba8fd1ad46935dd49a46aa989411e1c028e53a",name:"trailing-icon"},this.trailingText&&r("span",{key:"d05af6663ec0e4f2295791bb78e1beeea25d7da4",class:"md-menu-item__trailing-text"},this.trailingText))),this.type!=="button"&&this.checkPosition==="end"&&r("span",{key:"f8780f1a9f4d76e3d7e384c49c16cc966a14df67",class:"md-menu-item__check","aria-hidden":"true"},r("span",{key:"23e2a0759c11c5e6ebace83dafcd8731c6308fec",class:"material-symbols-outlined"},this.selected?"check":this.indeterminate?"remove":"")))}componentDidLoad(){i(this)}componentDidRender(){o(this)}connectedCallback(){m(this)}disconnectedCallback(){l(this)}componentShouldUpdate(){c(this);return true}get el(){return this}static get style(){return v()+y()}},[257,"md-menu-item",{headline:[1],supportingText:[1,"supporting-text"],trailingText:[1,"trailing-text"],disabled:[516],selected:[1540],indeterminate:[1540],keepOpen:[4,"keep-open"],divider:[516],gap:[516],badge:[1],type:[1],checkPosition:[513,"check-position"],presentation:[513],roleOverride:[1,"role-override"],density:[514],hasLeadingIcon:[32],hasTrailingIcon:[32]}]);function b(){if(typeof customElements==="undefined"){return}const e=["md-menu-item","md-ripple"];e.forEach((e=>{switch(e){case"md-menu-item":if(!customElements.get(d(e))){customElements.define(d(e),u)}break;case"md-ripple":if(!customElements.get(d(e))){h()}break}}))}b();export{u as M,b as d};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as e,H as s,c as r,h as a,d as t,t as d}from"./p-t9lomFml.js";import{b as n,c as i,i as o,r as m,d as l,p as c}from"./p-D9C2BtN-.js";import{t as p}from"./p-DYBUr7K_.js";import{d as h}from"./p-Cui8F6rf.js";const v=()=>`:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;const y=()=>`:host{display:flex;align-items:center;position:relative;overflow:hidden;cursor:pointer;user-select:none;min-height:var(--md-menu-item-height, calc(48px + var(--md-sys-density-scale, 0) * 4px));--_icon-size:var(--md-menu-item-icon-size, max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px)));--_check-size:var(--md-menu-item-check-size, max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px)));padding:0 var(--md-menu-item-padding-inline, var(--md-sys-spacing-inset-md, 12px));gap:var(--md-menu-item-gap, var(--md-sys-spacing-gap-md, 12px));color:var(--md-sys-color-on-surface, #1C1B1F);box-sizing:border-box;-webkit-tap-highlight-color:transparent;outline:none;transition:background-color var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-standard, 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)), border-radius var(--md-sys-motion-duration-medium2, 300ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1))}@media (prefers-reduced-motion: reduce){:host{transition:none}}.md-menu-item__state-layer{position:absolute;inset:0;background-color:var(--md-sys-color-on-surface, #1C1B1F);opacity:0;pointer-events:none;}:host-context(md-menu-item-group[data-use-gap]) .md-menu-item__state-layer{border-radius:calc(var(--md-menu-group-shape, 12px) - var(--md-sys-spacing-inset-xs, 4px))}:host(:hover) .md-menu-item__state-layer{opacity:0.08}:host(:active) .md-menu-item__state-layer{opacity:0.12}:host(:focus-visible) .md-menu-item__state-layer,:host([data-md-focused]) .md-menu-item__state-layer{opacity:0.12}:host(:hover) .md-menu-item__state-layer,:host(:active) .md-menu-item__state-layer{transition:opacity var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}:host(:focus-visible),:host([data-md-focused]){outline:3px solid var(--md-sys-color-secondary, #625B71);outline-offset:-3px}:host(.md-menu-item--selected){background-color:var(--md-sys-color-secondary-container, #E8DEF8)}:host([data-variant="standard"].md-menu-item--selected){background-color:var(--md-sys-color-tertiary-container, #FFD8E4);color:var(--md-sys-color-on-tertiary-container, #31111D);border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ee)))}:host([data-variant="standard"]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="standard"]:active){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ee)))}:host([data-variant="standard"]:first-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="standard"]:last-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="standard"]:first-child:last-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="standard"][data-after-gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="standard"][gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="standard"][data-after-gap][gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="vibrant"].md-menu-item--selected){background-color:var(--md-sys-color-tertiary, #7D5260);color:var(--md-sys-color-on-tertiary, #FFFFFF);border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ee)))}:host([data-variant="vibrant"]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="vibrant"]:active){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ee)))}:host([data-variant="vibrant"]:first-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="vibrant"]:last-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="vibrant"]:first-child:last-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="vibrant"][data-after-gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="vibrant"][gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="vibrant"][data-after-gap][gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host(.md-menu-item--disabled){cursor:default;opacity:0.38;pointer-events:none}.md-menu-item__leading{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:var(--_icon-size);height:var(--_icon-size);color:var(--md-sys-color-on-surface-variant, #49454F)}.md-menu-item__leading ::slotted(*){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}:host(.md-menu-item--selected) .md-menu-item__leading{color:inherit}.md-menu-item__content{flex:1;display:flex;flex-direction:column;overflow:hidden;min-width:0}.md-menu-item__headline{font-family:var(--md-sys-typescale-body-large-font-family, Roboto, sans-serif);font-size:max(13px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));font-weight:var(--md-sys-typescale-body-large-weight, 400);line-height:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.md-menu-item__supporting{font-family:var(--md-sys-typescale-body-medium-font-family, Roboto, sans-serif);font-size:max(11px, calc(14px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px));color:var(--md-sys-color-on-surface-variant, #49454F);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.md-menu-item__badge{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;height:20px;margin-inline-start:12px;padding:0 8px;border-radius:var(--md-sys-shape-corner-full, 9999px);background-color:var(--md-sys-color-tertiary-container, #FFD8E4);color:var(--md-sys-color-on-tertiary-container, #31111D);font-family:var(--md-sys-typescale-label-small-font-family, Roboto, sans-serif);font-size:var(--md-sys-typescale-label-small-size, 11px);font-weight:var(--md-sys-typescale-label-small-weight, 500);line-height:var(--md-sys-typescale-label-small-line-height, 16px);letter-spacing:var(--md-sys-typescale-label-small-tracking, 0.5px);white-space:nowrap}.md-menu-item__trailing{display:flex;align-items:center;flex-shrink:0;margin-inline-start:8px;color:var(--md-sys-color-on-surface-variant, #49454F)}.md-menu-item__trailing ::slotted(*:not(md-badge)){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}.md-menu-item__trailing-text{font-family:var(--md-sys-typescale-label-small-font-family, Roboto, sans-serif);font-size:var(--md-sys-typescale-label-small-size, 11px);color:var(--md-sys-color-on-surface-variant, #49454F)}.md-menu-item__trailing:not(:has(::slotted(*),.md-menu-item__trailing-text)){display:none}:host(.md-menu-item--selected) .md-menu-item__trailing,:host(.md-menu-item--selected) .md-menu-item__trailing-text,:host(.md-menu-item--selected) .md-menu-item__supporting{color:inherit}.md-menu-item__check{display:flex;align-items:center;justify-content:center;width:var(--_check-size);height:var(--_check-size);flex-shrink:0;margin-inline-start:8px;color:inherit}.md-menu-item__check .material-symbols-outlined{font-family:var(--md-sys-icon-font-family, 'Material Symbols Outlined', 'Material Icons');font-weight:normal;font-style:normal;font-size:var(--_check-size);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}:host(.md-menu-item--divider){padding-bottom:0;margin-bottom:0}:host(.md-menu-item--divider)::after{content:'';position:absolute;bottom:0;inset-inline:0;height:1px;background-color:var(--md-sys-color-outline-variant, #CAC4D0)}:host([data-variant="standard"]){--_rest-ss:var(--md-sys-shape-corner-small, 8px);--_rest-se:var(--md-sys-shape-corner-small, 8px);--_rest-es:var(--md-sys-shape-corner-small, 8px);--_rest-ee:var(--md-sys-shape-corner-small, 8px);color:var(--md-sys-color-on-surface, #1C1B1F);gap:8px;border-radius:var(--md-sys-shape-corner-small, 8px);--_icon-size:var(--md-menu-item-icon-size, max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px)))}:host([data-variant="standard"]:first-child){--_rest-ss:var(--md-sys-shape-corner-large, 16px);--_rest-se:var(--md-sys-shape-corner-large, 16px);border-start-start-radius:var(--md-sys-shape-corner-large, 16px);border-start-end-radius:var(--md-sys-shape-corner-large, 16px)}:host([data-variant="standard"]:last-child){--_rest-es:var(--md-sys-shape-corner-large, 16px);--_rest-ee:var(--md-sys-shape-corner-large, 16px);border-end-start-radius:var(--md-sys-shape-corner-large, 16px);border-end-end-radius:var(--md-sys-shape-corner-large, 16px)}:host([data-variant="standard"]) .md-menu-item__leading{color:var(--md-sys-color-on-surface-variant, #49454F)}:host([data-variant="standard"]) .md-menu-item__trailing,:host([data-variant="standard"]) .md-menu-item__supporting,:host([data-variant="standard"]) .md-menu-item__trailing-text{color:var(--md-sys-color-on-surface-variant, #49454F)}:host([data-variant="standard"].md-menu-item--selected) .md-menu-item__leading,:host([data-variant="standard"].md-menu-item--selected) .md-menu-item__trailing,:host([data-variant="standard"].md-menu-item--selected) .md-menu-item__trailing-text,:host([data-variant="standard"].md-menu-item--selected) .md-menu-item__supporting{color:inherit}:host([data-variant="vibrant"]){--_rest-ss:var(--md-sys-shape-corner-small, 8px);--_rest-se:var(--md-sys-shape-corner-small, 8px);--_rest-es:var(--md-sys-shape-corner-small, 8px);--_rest-ee:var(--md-sys-shape-corner-small, 8px);color:var(--md-sys-color-on-tertiary-container, #31111D);gap:8px;border-radius:var(--md-sys-shape-corner-small, 8px);--_icon-size:var(--md-menu-item-icon-size, max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px)))}:host([data-variant="vibrant"]:first-child){--_rest-ss:var(--md-sys-shape-corner-large, 16px);--_rest-se:var(--md-sys-shape-corner-large, 16px);border-start-start-radius:var(--md-sys-shape-corner-large, 16px);border-start-end-radius:var(--md-sys-shape-corner-large, 16px)}:host([data-variant="vibrant"]:last-child){--_rest-es:var(--md-sys-shape-corner-large, 16px);--_rest-ee:var(--md-sys-shape-corner-large, 16px);border-end-start-radius:var(--md-sys-shape-corner-large, 16px);border-end-end-radius:var(--md-sys-shape-corner-large, 16px)}:host([data-variant="vibrant"]) .md-menu-item__leading{color:var(--md-sys-color-on-tertiary-container, #31111D)}:host([data-variant="vibrant"]) .md-menu-item__trailing,:host([data-variant="vibrant"]) .md-menu-item__supporting,:host([data-variant="vibrant"]) .md-menu-item__trailing-text{color:var(--md-sys-color-on-tertiary-container, #31111D)}:host([data-variant="vibrant"].md-menu-item--selected) .md-menu-item__leading,:host([data-variant="vibrant"].md-menu-item--selected) .md-menu-item__trailing,:host([data-variant="vibrant"].md-menu-item--selected) .md-menu-item__trailing-text,:host([data-variant="vibrant"].md-menu-item--selected) .md-menu-item__supporting{color:inherit}:host([data-variant="vibrant"]) .md-menu-item__state-layer{background-color:var(--md-sys-color-on-tertiary-container, #31111D)}: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 u=e(class e extends s{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.mdClick=r(this,"mdClick",7);this.headline="";this.supportingText="";this.trailingText="";this.disabled=false;this.selected=false;this.indeterminate=false;this.keepOpen=false;this.divider=false;this.gap=false;this.badge="";this.type="button";this.checkPosition="end";this.presentation="menuitem";this.roleOverride="";this.density=0;this.hasLeadingIcon=false;this.hasTrailingIcon=false;this.handleClick=e=>{if(this.disabled){e.preventDefault();e.stopPropagation();return}if(this.type==="checkbox"){this.selected=!this.selected}else if(this.type==="radio"){this.selected=true;this.deselectSiblingRadios()}this.mdClick.emit();if(!this.keepOpen){let e=this.el.closest("md-menu");let s=e;while(e){const r=e.parentElement?.closest("md-menu");if(r){s=r;e=r}else{break}}if(s){const e=s;if(e.anchor){document.getElementById(e.anchor)?.focus()}setTimeout((()=>e.close?.()),150)}}};this.handleKeyDown=e=>{if(e.key==="Enter"){e.preventDefault();if(!this.disabled)p(this.el);this.el.click()}else if(e.key===" "){e.preventDefault();if(this.disabled)return;p(this.el);if(this.type==="checkbox"){this.selected=!this.selected;this.mdClick.emit()}else if(this.type==="radio"){this.selected=true;this.deselectSiblingRadios();this.mdClick.emit()}else{this.el.click()}}}}componentWillLoad(){n(this);this.hasLeadingIcon=!!this.el.querySelector('[slot="leading-icon"]');this.hasTrailingIcon=!!this.el.querySelector('[slot="trailing-icon"]')}deselectSiblingRadios(){if(this.type!=="radio")return;const e=this.el.closest("md-menu-item-group")||this.el.closest("md-menu");if(!e)return;const s=Array.from(e.querySelectorAll("md-menu-item"));for(const e of s){if(e!==this.el&&e.type==="radio"&&e.selected){e.selected=false}}}get role(){if(this.roleOverride)return this.roleOverride;if(this.presentation==="option")return"option";if(this.type==="checkbox")return"menuitemcheckbox";if(this.type==="radio")return"menuitemradio";return"menuitem"}render(){return a(t,{key:"044bf1116a7d1a5f92a45e5eb79b5785883ea64b",class:{"md-menu-item":true,"md-menu-item--selected":this.selected,"md-menu-item--disabled":this.disabled,"md-menu-item--divider":this.divider,"md-menu-item--gap":this.gap},role:this.role,"aria-disabled":this.disabled?"true":"false","aria-selected":this.presentation==="option"?String(this.selected):undefined,"aria-checked":this.presentation!=="option"&&this.type!=="button"?this.indeterminate&&!this.selected?"mixed":String(this.selected):undefined,tabindex:"-1",onClick:this.handleClick,onKeyDown:this.handleKeyDown},a("md-ripple",{key:"4b066da8166903308a0528c19d47868da51e7d1d",disabled:this.disabled}),a("span",{key:"b27783b685caffa92483c0f627d31d8d1ed7315f",class:"md-menu-item__state-layer",part:"state-layer","aria-hidden":"true"}),this.type!=="button"&&this.checkPosition==="start"&&a("span",{key:"997ba486886d77d693ee125cf228aca4ee382435",class:"md-menu-item__check","aria-hidden":"true"},a("span",{key:"da216eb638e72940afdd2005010342e8e2559a3f",class:"material-symbols-outlined"},this.selected?"check":this.indeterminate?"remove":"")),this.hasLeadingIcon&&a("span",{key:"77bb682406d1aa2dccbd238fd069227497ab918c",class:"md-menu-item__leading",part:"leading-icon","aria-hidden":"true"},a("slot",{key:"88d48af27e9e36118bfb2f3107ee89b486bf36b1",name:"leading-icon"})),a("span",{key:"db70aeb5f05fa451a30f07ba0d47829f80977e27",class:"md-menu-item__content",part:"content"},a("span",{key:"c6d279af685e33f59f6075417b138390651a333f",class:"md-menu-item__headline",part:"headline"},this.headline),this.supportingText&&a("span",{key:"b8b1ffeb1d9f751405381eb4044d1882a77fa781",class:"md-menu-item__supporting",part:"supporting-text"},this.supportingText)),this.badge&&a("span",{key:"7f372e35e68e42b35d4d016c8a4bd35f71c2b338",class:"md-menu-item__badge",part:"badge"},this.badge),(this.hasTrailingIcon||this.trailingText)&&a("span",{key:"e71b83ddc884ab43f26f6f0472d565cb3763dd65",class:"md-menu-item__trailing",part:"trailing"},a("slot",{key:"8bd8e40e113b9a2e3065f2a99ecee354ec24b7bf",name:"trailing-icon"},this.trailingText&&a("span",{key:"a5931b8562da0856f19e2bba479007c7282ed6ad",class:"md-menu-item__trailing-text"},this.trailingText))),this.type!=="button"&&this.checkPosition==="end"&&a("span",{key:"01c14121482342db34a1a145e659fa43a29e2e37",class:"md-menu-item__check","aria-hidden":"true"},a("span",{key:"19410770b18b078178add23fe0e4c30a1c28c2dd",class:"material-symbols-outlined"},this.selected?"check":this.indeterminate?"remove":"")))}componentDidLoad(){i(this)}componentDidRender(){o(this)}connectedCallback(){m(this)}disconnectedCallback(){l(this)}componentShouldUpdate(){c(this);return true}get el(){return this}static get style(){return v()+y()}},[257,"md-menu-item",{headline:[1],supportingText:[1,"supporting-text"],trailingText:[1,"trailing-text"],disabled:[516],selected:[1540],indeterminate:[1540],keepOpen:[4,"keep-open"],divider:[516],gap:[516],badge:[1],type:[1],checkPosition:[513,"check-position"],presentation:[513],roleOverride:[1,"role-override"],density:[514],hasLeadingIcon:[32],hasTrailingIcon:[32]}]);function b(){if(typeof customElements==="undefined"){return}const e=["md-menu-item","md-ripple"];e.forEach((e=>{switch(e){case"md-menu-item":if(!customElements.get(d(e))){customElements.define(d(e),u)}break;case"md-ripple":if(!customElements.get(d(e))){h()}break}}))}b();export{u as M,b as d};
|
|
2
|
+
//# sourceMappingURL=p-CjebvGxr.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as t,H as e,h as s,d as i,t as n}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as t,H as e,h as s,d as i,t as n}from"./p-t9lomFml.js";import{r as o,d as r,b as a,c as h,i as c,p as l}from"./p-D9C2BtN-.js";const p=()=>`:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;const d=()=>`:host{display:contents;border-radius:inherit;--_color:var(--md-ripple-color, currentColor)}.md-ripple{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none}.md-ripple__wave{position:absolute;border-radius:50%;pointer-events:none;background:var(--_color);opacity:0;transform:scale(0);will-change:transform, opacity}.md-ripple{opacity:var(--md-sys-ripple-enabled, 1)}:host([hidden]){display:none !important}`;const u=450;const m=150;const f=.12;const y="cubic-bezier(0.2, 0, 0, 1)";const w="--md-ripple-grow-duration";const b="--md-ripple-grow-easing";const g=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.disabled=false;this.hostEl=null;this.activeWave=null;this.growAnimation=null;this.activeOpacity=f;this.bound=false;this.settlePromise=null;this.settleResolve=null;this.onPointerDown=t=>{if(this.disabled||this.rippleSuppressed())return;const e=this.el.shadowRoot?.querySelector(".md-ripple");if(!e||!this.hostEl)return;this.endWave();const s=this.hostEl.getBoundingClientRect();const i=this.resolveExtent("--md-ripple-extend-inline");const n=this.resolveExtent("--md-ripple-extend-block");const o=s.left-i;const r=s.right+i;const a=s.top-n;const h=s.bottom+n;const c=Math.max(Math.abs(t.clientX-o),Math.abs(t.clientX-r));const l=Math.max(Math.abs(t.clientY-a),Math.abs(t.clientY-h));const p=Math.sqrt(c*c+l*l);const d=p*2;const u=t.clientX-s.left-p;const m=t.clientY-s.top-p;const f=document.createElement("span");f.classList.add("md-ripple__wave");f.style.width=f.style.height=`${d}px`;f.style.left=`${u}px`;f.style.top=`${m}px`;e.appendChild(f);this.activeWave=f;this.activeOpacity=this.resolveOpacity();this.beginSettle();this.growAnimation=f.animate([{transform:"scale(0)",opacity:this.activeOpacity},{transform:"scale(1)",opacity:this.activeOpacity}],{duration:this.resolveGrowDuration(),easing:this.resolveGrowEasing(),fill:"forwards"});window.addEventListener("pointerup",this.onRelease,{once:true});window.addEventListener("pointercancel",this.onRelease,{once:true})};this.onRelease=()=>{this.endWave()}}rippleSuppressed(){if(typeof getComputedStyle!=="function")return false;try{return getComputedStyle(this.el).getPropertyValue("--md-sys-ripple-enabled").trim()==="0"}catch{return false}}resolveOpacity(){if(!this.hostEl)return f;const t=getComputedStyle(this.hostEl).getPropertyValue("--md-ripple-opacity").trim();if(!t)return f;const e=parseFloat(t);return Number.isFinite(e)?e:f}resolveExtent(t){const e=getComputedStyle(this.el).getPropertyValue(t).trim();if(!e)return 0;const s=parseFloat(e);return Number.isFinite(s)&&s>0?s:0}resolveGrowDuration(){const t=getComputedStyle(this.el).getPropertyValue(w).trim();if(!t)return u;const e=parseFloat(t);return Number.isFinite(e)&&e>0?e:u}resolveGrowEasing(){const t=getComputedStyle(this.el).getPropertyValue(b).trim();return t||y}beginSettle(){this.finishSettle();this.settlePromise=new Promise((t=>{this.settleResolve=t}))}finishSettle(){this.settleResolve?.();this.settleResolve=null;this.settlePromise=null}async whenSettled(){if(!this.settlePromise)return;const t=new Promise((t=>{setTimeout(t,m+50)}));await Promise.race([this.settlePromise,t]);this.finishSettle()}generatesNoBox(t){if(typeof getComputedStyle!=="function")return false;try{return getComputedStyle(t).display==="contents"}catch{return false}}resolveHost(){const t=this.el.getRootNode();let e=this.el.parentElement;while(e&&this.generatesNoBox(e))e=e.parentElement;return e??(t instanceof ShadowRoot?t.host:null)}bind(){if(this.bound)return;this.hostEl=this.resolveHost();if(!this.hostEl)return;this.bound=true;this.hostEl.addEventListener("pointerdown",this.onPointerDown)}connectedCallback(){o(this);this.bind();if(!this.bound){queueMicrotask((()=>this.bind()))}}disconnectedCallback(){r(this);this.hostEl?.removeEventListener("pointerdown",this.onPointerDown);this.hostEl=null;this.bound=false}async endWave(){const t=this.activeWave;const e=this.growAnimation;if(!t||!e)return;this.activeWave=null;this.growAnimation=null;if(e.playState!=="finished"){await e.finished}const s=t.animate([{opacity:this.activeOpacity},{opacity:0}],{duration:m,easing:y,fill:"forwards"});try{if(typeof s.finished?.then==="function"){await s.finished}else{await new Promise((t=>setTimeout(t,m)))}}catch{}t.remove();this.finishSettle()}async trigger(){if(this.disabled||this.rippleSuppressed())return;if(!this.hostEl)this.hostEl=this.resolveHost();const t=this.el.shadowRoot?.querySelector(".md-ripple");if(!t||!this.hostEl)return;this.endWave();const e=this.hostEl.getBoundingClientRect();const s=this.resolveExtent("--md-ripple-extend-inline");const i=this.resolveExtent("--md-ripple-extend-block");const n=e.width/2;const o=e.height/2;const r=n+s;const a=o+i;const h=Math.sqrt(r*r+a*a);const c=h*2;const l=document.createElement("span");l.classList.add("md-ripple__wave");l.style.width=l.style.height=`${c}px`;l.style.left=`${n-h}px`;l.style.top=`${o-h}px`;t.appendChild(l);this.activeWave=l;this.activeOpacity=this.resolveOpacity();this.beginSettle();this.growAnimation=l.animate([{transform:"scale(0)",opacity:this.activeOpacity},{transform:"scale(1)",opacity:this.activeOpacity}],{duration:this.resolveGrowDuration(),easing:this.resolveGrowEasing(),fill:"forwards"});this.growAnimation.addEventListener("finish",(()=>this.endWave()),{once:true})}render(){return s(i,{key:"729a4e6378597ff503bd774e8112f9835feb851c","aria-hidden":"true"},s("div",{key:"2c90bface7e00c00c32df72a4c5d4a76bf0e88a3",class:"md-ripple"}))}componentWillLoad(){a(this)}componentDidLoad(){h(this)}componentDidRender(){c(this)}componentShouldUpdate(){l(this);return true}get el(){return this}static get style(){return p()+d()}},[1,"md-ripple",{disabled:[4],whenSettled:[64],trigger:[64]}]);function v(){if(typeof customElements==="undefined"){return}const t=["md-ripple"];t.forEach((t=>{switch(t){case"md-ripple":if(!customElements.get(n(t))){customElements.define(n(t),g)}break}}))}v();export{g as M,v as d};
|
|
2
|
+
//# sourceMappingURL=p-Cui8F6rf.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e as n}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{e as n}from"./p-t9lomFml.js";const t="data-awc-motion-ready";const e=new WeakMap;const f=new WeakMap;function i(t){return t.nodeType===1?t:n(t)}function o(n){if(n.assignedSlot)return n.assignedSlot;if(n.parentElement)return n.parentElement;const t=n.getRootNode();return t.host??null}function r(n,t=Infinity){for(let f=o(n);f;f=o(f)){const n=e.get(f);if(n&&!n.ready&&(!n.loaded||n.frames<t))return true}return false}function u(n){if(!n.registry.readyCount)return;const t=[n.element];const f=new Set;while(t.length){const i=t.pop();if(f.has(i))continue;f.add(i);if(i!==n.element){const t=e.get(i);if(t?.ready)p(t);if(!n.registry.readyCount)return}for(const n of Array.from(i.children))t.push(n);if(i.shadowRoot)for(const n of Array.from(i.shadowRoot.children))t.push(n);if(i.localName==="slot"){for(const n of i.assignedElements?.()??[])t.push(n)}}}function s(n){if(n.frame!==undefined||n.timer!==undefined||!n.pending.size)return;const t=n.document.defaultView;if(!t)return;if(n.document.hidden||!t.requestAnimationFrame){const e=t.Promise??Promise;const f=new e((e=>{n.timer=t.setTimeout(e,16)}));const i=n.timer;void f.then((()=>{if(n.timer!==i)return;n.timer=undefined;d(n)}))}else{const e=t.Promise??Promise;const f=new e((e=>{n.frame=t.requestAnimationFrame(e)}));const i=n.frame;void f.then((()=>{if(n.frame!==i)return;n.frame=undefined;d(n)}))}}function c(n){n.ready=true;a(n,true);n.registry.pending.delete(n);n.element.setAttribute(t,"")}function a(n,t){if(n.counted===t)return;n.counted=t;n.registry.readyCount+=t?1:-1}function d(n){for(const t of n.pending){if(!t.element.isConnected){n.pending.delete(t)}else if(t.loaded){t.frames++}}for(const t of n.pending){if(!t.loaded||t.frames<2)continue;if(!r(t.element,2))c(t)}for(const t of n.pending){if(t.loaded&&t.element.isConnected&&!r(t.element,0)){s(n);break}}}function l(n){let t=f.get(n);if(t)return t;t={document:n,pending:new Set,frame:undefined,timer:undefined,readyCount:0,inputEpoch:0,inputEvents:[],flushedEpoch:-1};f.set(n,t);const i=n=>{if(!t.pending.size)return;if(!m(t)){const n=++t.inputEpoch;setTimeout((()=>{if(t.inputEpoch===n)t.inputEvents.length=0}),0)}t.inputEvents.push(n);const f=n.composedPath();const i=f.find((n=>e.has(n)));if(i)g(i)};for(const t of["pointerdown","keydown","click"])n.addEventListener(t,i,true);return t}function m(n){if(!n)return false;const{inputEvents:t}=n;while(t.at(-1)?.eventPhase===0)t.pop();return t.length>0}function p(n){n.ready=false;a(n,false);n.frames=0;n.element.removeAttribute(t);if(n.element.isConnected)n.registry.pending.add(n)}function w(n){const t=i(n);if(e.has(t))return;const f=l(t.ownerDocument);const o={element:t,loaded:false,rendered:false,ready:false,counted:false,frames:0,registry:f};e.set(t,o);p(o);u(o)}function y(n){const t=i(n);if(!e.has(t))w(t);const f=e.get(t);f.loaded=true;f.frames=0;if(!f.ready&&t.isConnected)f.registry.pending.add(f);s(f.registry)}function h(n){const t=e.get(i(n));if(!t)return;t.rendered=true;if(t.ready)return;t.frames=0;if(t.loaded&&t.element.isConnected){t.registry.pending.add(t);s(t.registry)}}function k(n){const t=e.get(i(n));if(!t)return;if(t.registry.document!==t.element.ownerDocument){const n=t.registry;a(t,false);n.pending.delete(t);E(n);t.registry=l(t.element.ownerDocument);if(!t.ready&&t.loaded&&t.rendered&&t.element.isConnected){t.element.getBoundingClientRect();c(t)}}if(t.ready){a(t,true);return}if(!t.loaded)return;t.frames=0;t.registry.pending.add(t);s(t.registry)}function v(n){const t=e.get(i(n));if(!t)return;a(t,false);t.registry.pending.delete(t);E(t.registry)}function E(n){if(n.pending.size)return;if(n.frame!==undefined){n.document.defaultView?.cancelAnimationFrame(n.frame);n.frame=undefined}if(n.timer!==undefined){n.document.defaultView?.clearTimeout(n.timer);n.timer=undefined}}function b(n){const t=e.get(n);if(!t)return;p(t);u(t);s(t.registry)}function g(n){const t=f.get(n.ownerDocument);if(!t?.pending.size)return;const i=[];let r=n;for(let t=n;t;t=o(t)){const n=e.get(t);if(!n)continue;r=t;if(!n.ready&&n.rendered&&t.isConnected)i.push(n)}if(!i.length)return;if(!m(t)||t.flushedEpoch!==t.inputEpoch){r.getBoundingClientRect();t.flushedEpoch=t.inputEpoch}for(const n of i)c(n)}function A(n){const t=i(n);const e=f.get(t.ownerDocument);if(m(e))g(t)}function M(n){if(!n.isConnected)return false;if(m(f.get(n.ownerDocument)))g(n);if(!n.hasAttribute(t))return false;if(n.ownerDocument.defaultView?.matchMedia?.("(prefers-reduced-motion: reduce)").matches)return false;return!r(n)}export{M as a,w as b,y as c,v as d,g as e,h as i,A as p,k as r,b as s};
|
|
2
|
+
//# sourceMappingURL=p-D9C2BtN-.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{h as t}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{h as t}from"./p-t9lomFml.js";const n="md-loading-"+"indicator";let e=false;function o(){if(e)return;const t=typeof customElements==="undefined"?null:customElements;if(!t)return;e=true;if(t.get(n))return;import("./p-DTAVEp79.js").then((e=>{if(t.get(n))return;const o=e.defineCustomElement;if(typeof o==="function"){o()}else if(typeof e.MdLoadingIndicator==="function"){t.define(n,e.MdLoadingIndicator)}}),(()=>{e=false}))}const f=(e,f)=>{o();const r=n;return t(r,{...e},f)};export{f as L};
|
|
2
|
+
//# sourceMappingURL=p-DI0ebvMQ.js.map
|