@holoviz/panel 0.14.3 → 1.0.0-a.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/@microsoft/fast-components@2.30.6/dist/fast-components.iife.min.js +217 -0
- package/dist/bundled/@microsoft/fast-components@2.30.6/dist/fast-components.js +28286 -0
- package/dist/bundled/@microsoft/fast-components@2.30.6/dist/fast-components.min.js +217 -0
- package/dist/bundled/bootstrap/css/bootstrap.css +688 -0
- package/dist/bundled/bootstrap5/css/bootstrap-grid.css +4226 -0
- package/dist/bundled/bootstrap5/css/bootstrap-grid.min.css +6 -0
- package/dist/bundled/bootstrap5/css/bootstrap-grid.rtl.css +4225 -0
- package/dist/bundled/bootstrap5/css/bootstrap-grid.rtl.min.css +6 -0
- package/dist/bundled/bootstrap5/css/bootstrap-reboot.css +591 -0
- package/dist/bundled/bootstrap5/css/bootstrap-reboot.min.css +6 -0
- package/dist/bundled/bootstrap5/css/bootstrap-reboot.rtl.css +588 -0
- package/dist/bundled/bootstrap5/css/bootstrap-reboot.rtl.min.css +6 -0
- package/dist/bundled/bootstrap5/css/bootstrap-utilities.css +5099 -0
- package/dist/bundled/bootstrap5/css/bootstrap-utilities.min.css +6 -0
- package/dist/bundled/bootstrap5/css/bootstrap-utilities.rtl.css +5090 -0
- package/dist/bundled/bootstrap5/css/bootstrap-utilities.rtl.min.css +6 -0
- package/dist/bundled/bootstrap5/css/bootstrap.css +11783 -0
- package/dist/bundled/bootstrap5/css/bootstrap.min.css +6 -0
- package/dist/bundled/bootstrap5/css/bootstrap.rtl.css +11747 -0
- package/dist/bundled/bootstrap5/css/bootstrap.rtl.min.css +6 -0
- package/dist/bundled/bootstrap5/js/bootstrap.bundle.js +6295 -0
- package/dist/bundled/bootstrap5/js/bootstrap.bundle.js.map +1 -0
- package/dist/bundled/bootstrap5/js/bootstrap.bundle.min.js +7 -0
- package/dist/bundled/bootstrap5/js/bootstrap.bundle.min.js.map +1 -0
- package/dist/bundled/bootstrap5/js/bootstrap.esm.js +4422 -0
- package/dist/bundled/bootstrap5/js/bootstrap.esm.js.map +1 -0
- package/dist/bundled/bootstrap5/js/bootstrap.esm.min.js +7 -0
- package/dist/bundled/bootstrap5/js/bootstrap.esm.min.js.map +1 -0
- package/dist/bundled/bootstrap5/js/bootstrap.js +4468 -0
- package/dist/bundled/bootstrap5/js/bootstrap.js.map +1 -0
- package/dist/bundled/bootstrap5/js/bootstrap.min.js +7 -0
- package/dist/bundled/bootstrap5/js/bootstrap.min.js.map +1 -0
- package/dist/bundled/bootstrapdarktheme/bootstrap_dark.css +170 -0
- package/dist/bundled/bootstrapdefaulttheme/bootstrap_default.css +120 -0
- package/dist/bundled/bootstraptemplate/bootstrap.css +119 -77
- package/dist/bundled/darktheme/dark.css +33 -106
- package/dist/bundled/datatabulator/tabulator-tables@5.3.2/dist/css/tabulator_fast.min.css +1 -0
- package/dist/bundled/defaulttheme/default.css +33 -2
- package/dist/bundled/fast/css/fast.css +919 -0
- package/dist/bundled/fast/js/fast_design.js +87 -0
- package/dist/bundled/fastbasetemplate/fast.css +335 -0
- package/dist/bundled/fastgridtemplate/fast_grid_template.css +256 -232
- package/dist/bundled/golden-layout@1.5.9/dist/css/goldenlayout-base.css +1 -0
- package/dist/bundled/golden-layout@1.5.9/dist/css/theme/goldenlayout-dark-theme.css +1 -0
- package/dist/bundled/goldentemplate/golden.css +2 -22
- package/dist/bundled/material/css/material.css +443 -0
- package/dist/bundled/materialtemplate/dark.css +2 -20
- package/dist/bundled/materialtemplate/default.css +2 -17
- package/dist/bundled/materialtemplate/material.css +119 -114
- package/dist/bundled/materialthememixin/material_variables.css +19 -0
- package/dist/bundled/native/css/native.css +28 -0
- package/dist/bundled/notificationarea/panel/1.0.0-a.1/dist/bundled/font-awesome/css/all.min.css +2 -0
- package/dist/bundled/panel/1.0.0-a.1/dist/bundled/bootstrap5/css/bootstrap.min.css +2 -0
- package/dist/bundled/panel/1.0.0-a.1/dist/bundled/bootstrap5/js/bootstrap.bundle.min.js +2 -0
- package/dist/bundled/panel/1.0.0-a.1/dist/bundled/font-awesome/css/all.min.css +2 -0
- package/dist/bundled/panel/1.0.0-a.1/dist/bundled/jquery/jquery.slim.min.js +2 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/fonts.css +1 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/material-dark.css +1 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/material.css +1 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/monokai.css +1 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/solarized-dark.css +1 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/solarized.css +1 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/themes.css +1 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/vaporwave.css +1 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/variables.css +0 -0
- package/dist/bundled/plotlyplot/panel/1.0.0-a.1/dist/bundled/jquery/jquery.slim.min.js +2 -0
- package/dist/bundled/react-dom@17/umd/react-dom.production.min.js +245 -0
- package/dist/bundled/react-grid-layout@1.3.4/dist/react-grid-layout.min.js +2 -0
- package/dist/bundled/react-grid-layout@1.3.4/dist/react-grid-layout.min.js.map +1 -0
- package/dist/bundled/react@17/umd/react.production.min.js +31 -0
- package/dist/bundled/reacttemplate/react.css +0 -12
- package/dist/bundled/vanillatemplate/vanilla.css +129 -134
- package/dist/css/alerts.css +64 -64
- package/dist/css/booleanstatus.css +48 -0
- package/dist/css/card.css +16 -8
- package/dist/css/dataframe.css +7 -2
- package/dist/css/debugger.css +16 -10
- package/dist/css/divider.css +10 -0
- package/dist/css/editable_slider.css +22 -0
- package/dist/css/katex.css +3 -0
- package/dist/css/loadingspinner.css +119 -0
- package/dist/css/markdown.css +2 -1
- package/dist/css/perspective-datatable.css +504 -0
- package/dist/css/plotly.css +246 -0
- package/dist/css/progress.css +209 -0
- package/dist/css/widgetbox.css +9 -0
- package/dist/css/widgets.css +0 -305
- package/dist/dts/styles/alerts.css.d.ts +3 -0
- package/dist/dts/styles/booleanstatus.css.d.ts +3 -0
- package/dist/dts/styles/card.css.d.ts +3 -0
- package/dist/dts/styles/dataframe.css.d.ts +3 -0
- package/dist/dts/styles/debugger.css.d.ts +3 -0
- package/dist/dts/styles/divider.css.d.ts +4 -0
- package/dist/dts/styles/editable_slider.css.d.ts +8 -0
- package/dist/dts/styles/json.css.d.ts +3 -0
- package/dist/dts/styles/katex.css.d.ts +3 -0
- package/dist/dts/styles/loading.css.d.ts +3 -0
- package/dist/dts/styles/loadingspinner.css.d.ts +3 -0
- package/dist/dts/styles/markdown.css.d.ts +3 -0
- package/dist/dts/styles/perspective-datatable.css.d.ts +3 -0
- package/dist/dts/styles/plotly.css.d.ts +3 -0
- package/dist/dts/styles/progress.css.d.ts +3 -0
- package/dist/dts/styles/widgetbox.css.d.ts +3 -0
- package/dist/dts/styles/widgets.css.d.ts +4 -0
- package/dist/lib/models/ace.d.ts +3 -5
- package/dist/lib/models/ace.js +24 -23
- package/dist/lib/models/ace.js.map +1 -1
- package/dist/lib/models/audio.d.ts +2 -4
- package/dist/lib/models/audio.js +18 -18
- package/dist/lib/models/audio.js.map +1 -1
- package/dist/lib/models/card.d.ts +3 -3
- package/dist/lib/models/card.js +56 -62
- package/dist/lib/models/card.js.map +1 -1
- package/dist/lib/models/comm_manager.d.ts +2 -2
- package/dist/lib/models/comm_manager.js +20 -19
- package/dist/lib/models/comm_manager.js.map +1 -1
- package/dist/lib/models/data.js +1 -1
- package/dist/lib/models/data.js.map +1 -1
- package/dist/lib/models/datetime_picker.d.ts +8 -7
- package/dist/lib/models/datetime_picker.js +128 -34
- package/dist/lib/models/datetime_picker.js.map +1 -1
- package/dist/lib/models/deckgl.d.ts +2 -4
- package/dist/lib/models/deckgl.js +24 -25
- package/dist/lib/models/deckgl.js.map +1 -1
- package/dist/lib/models/echarts.d.ts +3 -2
- package/dist/lib/models/echarts.js +22 -12
- package/dist/lib/models/echarts.js.map +1 -1
- package/dist/lib/models/file_download.d.ts +2 -2
- package/dist/lib/models/file_download.js +18 -17
- package/dist/lib/models/file_download.js.map +1 -1
- package/dist/lib/models/html.d.ts +5 -3
- package/dist/lib/models/html.js +20 -16
- package/dist/lib/models/html.js.map +1 -1
- package/dist/lib/models/index.d.ts +1 -2
- package/dist/lib/models/index.js +1 -2
- package/dist/lib/models/index.js.map +1 -1
- package/dist/lib/models/ipywidget.d.ts +2 -6
- package/dist/lib/models/ipywidget.js +14 -24
- package/dist/lib/models/ipywidget.js.map +1 -1
- package/dist/lib/models/json.d.ts +1 -1
- package/dist/lib/models/json.js +14 -12
- package/dist/lib/models/json.js.map +1 -1
- package/dist/lib/models/jsoneditor.d.ts +9 -6
- package/dist/lib/models/jsoneditor.js +27 -18
- package/dist/lib/models/jsoneditor.js.map +1 -1
- package/dist/lib/models/katex.d.ts +0 -1
- package/dist/lib/models/katex.js +7 -6
- package/dist/lib/models/katex.js.map +1 -1
- package/dist/lib/models/layout.d.ts +25 -22
- package/dist/lib/models/layout.js +75 -81
- package/dist/lib/models/layout.js.map +1 -1
- package/dist/lib/models/location.d.ts +0 -1
- package/dist/lib/models/location.js +15 -14
- package/dist/lib/models/location.js.map +1 -1
- package/dist/lib/models/mathjax.d.ts +0 -3
- package/dist/lib/models/mathjax.js +6 -16
- package/dist/lib/models/mathjax.js.map +1 -1
- package/dist/lib/models/pdf.d.ts +24 -0
- package/dist/lib/models/pdf.js +62 -0
- package/dist/lib/models/pdf.js.map +1 -0
- package/dist/lib/models/perspective.d.ts +4 -9
- package/dist/lib/models/perspective.js +36 -64
- package/dist/lib/models/perspective.js.map +1 -1
- package/dist/lib/models/player.d.ts +0 -1
- package/dist/lib/models/player.js +18 -17
- package/dist/lib/models/player.js.map +1 -1
- package/dist/lib/models/plotly.d.ts +3 -7
- package/dist/lib/models/plotly.js +60 -67
- package/dist/lib/models/plotly.js.map +1 -1
- package/dist/lib/models/progress.d.ts +4 -7
- package/dist/lib/models/progress.js +28 -32
- package/dist/lib/models/progress.js.map +1 -1
- package/dist/lib/models/quill.d.ts +3 -6
- package/dist/lib/models/quill.js +25 -24
- package/dist/lib/models/quill.js.map +1 -1
- package/dist/lib/models/reactive_html.d.ts +6 -12
- package/dist/lib/models/reactive_html.js +48 -121
- package/dist/lib/models/reactive_html.js.map +1 -1
- package/dist/lib/models/singleselect.d.ts +0 -1
- package/dist/lib/models/singleselect.js +11 -10
- package/dist/lib/models/singleselect.js.map +1 -1
- package/dist/lib/models/speech_to_text.d.ts +1 -2
- package/dist/lib/models/speech_to_text.js +27 -26
- package/dist/lib/models/speech_to_text.js.map +1 -1
- package/dist/lib/models/state.d.ts +0 -2
- package/dist/lib/models/state.js +12 -13
- package/dist/lib/models/state.js.map +1 -1
- package/dist/lib/models/tabulator.d.ts +10 -14
- package/dist/lib/models/tabulator.js +73 -150
- package/dist/lib/models/tabulator.js.map +1 -1
- package/dist/lib/models/terminal.d.ts +6 -7
- package/dist/lib/models/terminal.js +20 -26
- package/dist/lib/models/terminal.js.map +1 -1
- package/dist/lib/models/text_to_speech.d.ts +1 -2
- package/dist/lib/models/text_to_speech.js +16 -15
- package/dist/lib/models/text_to_speech.js.map +1 -1
- package/dist/lib/models/trend.d.ts +1 -2
- package/dist/lib/models/trend.js +24 -23
- package/dist/lib/models/trend.js.map +1 -1
- package/dist/lib/models/vega.d.ts +7 -6
- package/dist/lib/models/vega.js +31 -36
- package/dist/lib/models/vega.js.map +1 -1
- package/dist/lib/models/video.d.ts +2 -4
- package/dist/lib/models/video.js +18 -18
- package/dist/lib/models/video.js.map +1 -1
- package/dist/lib/models/videostream.d.ts +2 -4
- package/dist/lib/models/videostream.js +19 -19
- package/dist/lib/models/videostream.js.map +1 -1
- package/dist/lib/models/vtk/util.d.ts +4 -4
- package/dist/lib/models/vtk/vtkaxes.d.ts +1 -2
- package/dist/lib/models/vtk/vtkaxes.js +15 -14
- package/dist/lib/models/vtk/vtkaxes.js.map +1 -1
- package/dist/lib/models/vtk/vtkjs.d.ts +0 -1
- package/dist/lib/models/vtk/vtkjs.js +9 -8
- package/dist/lib/models/vtk/vtkjs.js.map +1 -1
- package/dist/lib/models/vtk/vtklayout.d.ts +2 -5
- package/dist/lib/models/vtk/vtklayout.js +24 -30
- package/dist/lib/models/vtk/vtklayout.js.map +1 -1
- package/dist/lib/models/vtk/vtksynchronized.d.ts +0 -1
- package/dist/lib/models/vtk/vtksynchronized.js +17 -16
- package/dist/lib/models/vtk/vtksynchronized.js.map +1 -1
- package/dist/lib/models/vtk/vtkvolume.d.ts +0 -1
- package/dist/lib/models/vtk/vtkvolume.js +27 -26
- package/dist/lib/models/vtk/vtkvolume.js.map +1 -1
- package/dist/lib/styles/alerts.css.d.ts +1 -2
- package/dist/lib/styles/alerts.css.js +1 -139
- package/dist/lib/styles/booleanstatus.css.d.ts +1 -0
- package/dist/lib/styles/booleanstatus.css.js +1 -0
- package/dist/lib/styles/card.css.d.ts +1 -2
- package/dist/lib/styles/card.css.js +1 -43
- package/dist/lib/styles/dataframe.css.d.ts +1 -2
- package/dist/lib/styles/dataframe.css.js +1 -44
- package/dist/lib/styles/debugger.css.d.ts +1 -2
- package/dist/lib/styles/debugger.css.js +1 -68
- package/dist/lib/styles/divider.css.d.ts +2 -0
- package/dist/lib/styles/divider.css.js +2 -0
- package/dist/lib/styles/editable_slider.css.d.ts +6 -0
- package/dist/lib/styles/editable_slider.css.js +6 -0
- package/dist/lib/styles/json.css.d.ts +1 -2
- package/dist/lib/styles/json.css.js +1 -197
- package/dist/lib/styles/katex.css.d.ts +1 -0
- package/dist/lib/styles/katex.css.js +1 -0
- package/dist/lib/styles/loading.css.d.ts +1 -2
- package/dist/lib/styles/loading.css.js +1 -31
- package/dist/lib/styles/loadingspinner.css.d.ts +1 -0
- package/dist/lib/styles/loadingspinner.css.js +17 -0
- package/dist/lib/styles/markdown.css.d.ts +1 -2
- package/dist/lib/styles/markdown.css.js +1 -91
- package/dist/lib/styles/perspective-datatable.css.d.ts +1 -0
- package/dist/lib/styles/perspective-datatable.css.js +1 -0
- package/dist/lib/styles/plotly.css.d.ts +1 -0
- package/dist/lib/styles/plotly.css.js +1 -0
- package/dist/lib/styles/progress.css.d.ts +1 -0
- package/dist/lib/styles/progress.css.js +22 -0
- package/dist/lib/styles/widgetbox.css.d.ts +1 -0
- package/dist/lib/styles/widgetbox.css.js +1 -0
- package/dist/lib/styles/widgets.css.d.ts +2 -2
- package/dist/lib/styles/widgets.css.js +2 -320
- package/dist/panel.js +4467 -5894
- package/dist/panel.js.map +1 -1
- package/dist/panel.json +1 -1
- package/dist/panel.min.js +65 -102
- package/dist/wheels/bokeh-3.1.0.dev4-py3-none-any.whl +0 -0
- package/dist/wheels/panel-1.0.0a1-py3-none-any.whl +0 -0
- package/package.json +5 -4
- package/dist/bundled/bootstraptemplate/dark.css +0 -19
- package/dist/bundled/css/golden-layout@1.5.9/src/css/goldenlayout-base.css +0 -1
- package/dist/bundled/css/panel/0.14.3/dist/bundled/bootstrap4/css/bootstrap.min.css +0 -2
- package/dist/bundled/css/panel/0.14.3/dist/bundled/font-awesome/css/all.min.css +0 -2
- package/dist/bundled/datatabulator/@holoviz/panel@0.14.3/dist/bundled/datatabulator/tabulator-tables@5.3.2/dist/css/fast/tabulator_fast.min.css +0 -1
- package/dist/bundled/datatabulator/tabulator-tables@5.3.2/dist/css/fast/tabulator_fast.min.css +0 -1
- package/dist/bundled/fastbasetemplate/fast_awesome.css +0 -13
- package/dist/bundled/fastbasetemplate/fast_bokeh.css +0 -1646
- package/dist/bundled/fastbasetemplate/fast_bokeh_slickgrid.css +0 -200
- package/dist/bundled/fastbasetemplate/fast_panel.css +0 -53
- package/dist/bundled/fastbasetemplate/fast_panel_dataframe.css +0 -14
- package/dist/bundled/fastbasetemplate/fast_panel_markdown.css +0 -23
- package/dist/bundled/fastbasetemplate/fast_panel_widgets.css +0 -301
- package/dist/bundled/fastbasetemplate/fast_root.css +0 -41
- package/dist/bundled/fastdarktheme/fast_root_dark.css +0 -4
- package/dist/bundled/fastdefaulttheme/fast_root_default.css +0 -4
- package/dist/bundled/fastgridtemplate/dark.css +0 -26
- package/dist/bundled/fastgridtemplate/default.css +0 -4
- package/dist/bundled/fastlisttemplate/dark.css +0 -13
- package/dist/bundled/fastlisttemplate/default.css +0 -1
- package/dist/bundled/fastlisttemplate/fast_list_template.css +0 -237
- package/dist/bundled/goldentemplate/dark.css +0 -26
- package/dist/bundled/goldentemplate/default.css +0 -23
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/array-pixel-blob.js +0 -39
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-blending.js +0 -270
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-converters.js +0 -524
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-hsl.js +0 -42
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-hsv.js +0 -42
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-interpolation.js +0 -133
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-lab.js +0 -47
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-lch.js +0 -50
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-palette.js +0 -285
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-quantization.js +0 -135
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-rgba-64.js +0 -95
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-scale.js +0 -176
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-xyz.js +0 -50
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/component-state-color-palette.js +0 -113
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/histogram.js +0 -76
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/index.js +0 -19
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/math-utilities.js +0 -138
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/named-colors.js +0 -743
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/palette-extractor.js +0 -134
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/parse-color.js +0 -219
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/pixel-blob.js +0 -72
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/pixel-box.js +0 -249
- package/dist/bundled/js/@microsoft/fast-components@1.21.8/__test__/harness.js +0 -33
- package/dist/bundled/js/@microsoft/fast-components@1.21.8/__test__/server.js +0 -36
- package/dist/bundled/js/@microsoft/fast-components@1.21.8/dist/fast-components.iife.min.js +0 -19
- package/dist/bundled/js/@microsoft/fast-components@1.21.8/dist/fast-components.js +0 -25813
- package/dist/bundled/js/@microsoft/fast-components@1.21.8/dist/fast-components.min.js +0 -19
- package/dist/bundled/js/ajax/libs/react-grid-layout/1.1.1/react-grid-layout.min.js +0 -7
- package/dist/bundled/js/ajax/libs/react-grid-layout/1.1.1/react-grid-layout.min.js.map +0 -1
- package/dist/bundled/js/panel/0.14.3/dist/bundled/bootstrap4/js/bootstrap.bundle.min.js +0 -2
- package/dist/bundled/js/panel/0.14.3/dist/bundled/jquery/jquery.slim.min.js +0 -2
- package/dist/bundled/js/react-dom@18/umd/react-dom.production.min.js +0 -267
- package/dist/bundled/js/react@18/umd/react.production.min.js +0 -31
- package/dist/bundled/notificationarea/panel/0.14.3/dist/bundled/font-awesome/css/all.min.css +0 -2
- package/dist/bundled/plotlyplot/panel/0.14.3/dist/bundled/jquery/jquery.slim.min.js +0 -2
- package/dist/bundled/reacttemplate/dark.css +0 -18
- package/dist/bundled/reacttemplate/default.css +0 -12
- package/dist/bundled/theme/dark.css +0 -107
- package/dist/bundled/theme/default.css +0 -3
- package/dist/bundled/vanillatemplate/default.css +0 -8
- package/dist/idom/package.json +0 -38
- package/dist/lib/models/idom.d.ts +0 -36
- package/dist/lib/models/idom.js +0 -239
- package/dist/lib/models/idom.js.map +0 -1
- package/dist/lib/models/tabs.d.ts +0 -24
- package/dist/lib/models/tabs.js +0 -231
- package/dist/lib/models/tabs.js.map +0 -1
- package/dist/wheels/bokeh-2.4.3-py3-none-any.whl +0 -0
- package/dist/wheels/panel-0.14.3-py3-none-any.whl +0 -0
- /package/dist/bundled/{js/babel-standalone@latest → babel-standalone@latest}/babel.min.js +0 -0
- /package/dist/bundled/{js/golden-layout@1.5.9 → golden-layout@1.5.9}/dist/goldenlayout.min.js +0 -0
- /package/dist/bundled/{css/material-components-web@7.0.0 → material-components-web@7.0.0}/dist/material-components-web.min.css +0 -0
- /package/dist/bundled/{js/material-components-web@7.0.0 → material-components-web@7.0.0}/dist/material-components-web.min.js +0 -0
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/*! *****************************************************************************
|
|
2
|
-
Copyright (c) Microsoft Corporation.
|
|
3
|
-
|
|
4
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
-
purpose with or without fee is hereby granted.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
-
***************************************************************************** */
|
|
15
|
-
function t(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r}const e=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof global)return global;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;try{return new Function("return this")()}catch(t){return{}}}();void 0===e.trustedTypes&&(e.trustedTypes={createPolicy:(t,e)=>e});const i=Object.freeze([]),o=[],s=e.trustedTypes.createPolicy("fast-html",{createHTML:t=>t});let n=s;function r(){let t=0;for(;t<o.length;){if(o[t].call(),t++,t>1024){for(let e=0,i=o.length-t;e<i;e++)o[e]=o[e+t];o.length-=t,t=0}}o.length=0}const a="fast-"+Math.random().toString(36).substring(2,8),l=a+"{",c="}"+a,d=Object.freeze({supportsAdoptedStyleSheets:Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,setHTMLPolicy(t){if(n!==s)throw new Error("The HTML policy can only be set once.");n=t},createHTML:t=>n.createHTML(t),isMarker:t=>t&&8===t.nodeType&&t.data.startsWith(a),extractDirectiveIndexFromMarker:t=>parseInt(t.data.replace(a+":","")),createInterpolationPlaceholder:t=>`${l}${t}${c}`,createCustomAttributePlaceholder(t,e){return`${t}="${this.createInterpolationPlaceholder(e)}"`},createBlockPlaceholder:t=>`\x3c!--${a}:${t}--\x3e`,queueUpdate(t){o.length<1&&window.requestAnimationFrame(r),o.push(t)},nextUpdate:()=>new Promise(t=>{d.queueUpdate(t)}),setAttribute(t,e,i){null==i?t.removeAttribute(e):t.setAttribute(e,i)},setBooleanAttribute(t,e,i){i?t.setAttribute(e,""):t.removeAttribute(e)},removeChildNodes(t){for(let e=t.firstChild;null!==e;e=t.firstChild)t.removeChild(e)},createTemplateWalker:t=>document.createTreeWalker(t,133,null,!1)});function h(t){const e=this.spillover;-1===e.indexOf(t)&&e.push(t)}function u(t){const e=this.spillover,i=e.indexOf(t);-1!==i&&e.splice(i,1)}function p(t){const e=this.spillover,i=this.source;for(let o=0,s=e.length;o<s;++o)e[o].handleChange(i,t)}function g(t){return-1!==this.spillover.indexOf(t)}class f{constructor(t,e){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.source=t,this.sub1=e}has(t){return this.sub1===t||this.sub2===t}subscribe(t){this.has(t)||(void 0!==this.sub1?void 0!==this.sub2?(this.spillover=[this.sub1,this.sub2,t],this.subscribe=h,this.unsubscribe=u,this.notify=p,this.has=g,this.sub1=void 0,this.sub2=void 0):this.sub2=t:this.sub1=t)}unsubscribe(t){this.sub1===t?this.sub1=void 0:this.sub2===t&&(this.sub2=void 0)}notify(t){const e=this.sub1,i=this.sub2,o=this.source;void 0!==e&&e.handleChange(o,t),void 0!==i&&i.handleChange(o,t)}}class v{constructor(t){this.subscribers={},this.source=t}notify(t){const e=this.subscribers[t];void 0!==e&&e.notify(t)}subscribe(t,e){let i=this.subscribers[e];void 0===i&&(this.subscribers[e]=i=new f(this.source)),i.subscribe(t)}unsubscribe(t,e){const i=this.subscribers[e];void 0!==i&&i.unsubscribe(t)}}const b=/(:|&&|\|\||if)/,m=new WeakMap,y=new WeakMap;let x=void 0,$=t=>{throw new Error("Must call enableArrayObservation before observing arrays.")};class w{constructor(t){this.name=t,this.field="_"+t,this.callback=t+"Changed"}getValue(t){return void 0!==x&&x.watch(t,this.name),t[this.field]}setValue(t,e){const i=this.field,o=t[i];if(o!==e){t[i]=e;const s=t[this.callback];"function"==typeof s&&s.call(t,o,e),k(t).notify(this.name)}}}const C=Object.freeze({setArrayObserverFactory(t){$=t},getNotifier(t){let e=t.$fastController||m.get(t);return void 0===e&&(Array.isArray(t)?e=$(t):m.set(t,e=new v(t))),e},track(t,e){void 0!==x&&x.watch(t,e)},trackVolatile(){void 0!==x&&(x.needsRefresh=!0)},notify(t,e){k(t).notify(e)},defineProperty(t,e){"string"==typeof e&&(e=new w(e)),this.getAccessors(t).push(e),Reflect.defineProperty(t,e.name,{enumerable:!0,get:function(){return e.getValue(this)},set:function(t){e.setValue(this,t)}})},getAccessors(t){let e=y.get(t);if(void 0===e){let i=Reflect.getPrototypeOf(t);for(;void 0===e&&null!==i;)e=y.get(i),i=Reflect.getPrototypeOf(i);e=void 0===e?[]:e.slice(0),y.set(t,e)}return e},binding(t,e,i=this.isVolatileBinding(t)){return new O(t,e,i)},isVolatileBinding:t=>b.test(t.toString())}),k=C.getNotifier,T=C.trackVolatile,I=d.queueUpdate;function S(t,e){C.defineProperty(t,e)}function F(t,e,i){return Object.assign({},i,{get:function(){return T(),i.get.apply(this)}})}let D=null;function P(t){D=t}class E{constructor(){this.index=0,this.length=0,this.parent=null,this.parentContext=null}get event(){return D}get isEven(){return this.index%2==0}get isOdd(){return this.index%2!=0}get isFirst(){return 0===this.index}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}}C.defineProperty(E.prototype,"index"),C.defineProperty(E.prototype,"length");const A=Object.seal(new E);class O extends f{constructor(t,e,i=!1){super(t,e),this.binding=t,this.isVolatileBinding=i,this.needsRefresh=!0,this.needsQueue=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}observe(t,e){this.needsRefresh&&null!==this.last&&this.disconnect();const i=x;x=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;const o=this.binding(t,e);return x=i,o}disconnect(){if(null!==this.last){let t=this.first;for(;void 0!==t;)t.notifier.unsubscribe(this,t.propertyName),t=t.next;this.last=null,this.needsRefresh=this.needsQueue=!0}}watch(t,e){const i=this.last,o=k(t),s=null===i?this.first:{};if(s.propertySource=t,s.propertyName=e,s.notifier=o,o.subscribe(this,e),null!==i){if(!this.needsRefresh){x=void 0;const e=i.propertySource[i.propertyName];x=this,t===e&&(this.needsRefresh=!0)}i.next=s}this.last=s}handleChange(){this.needsQueue&&(this.needsQueue=!1,I(this))}call(){null!==this.last&&(this.needsQueue=!0,this.notify(this))}records(){let t=this.first;return{next:()=>{const e=t;return void 0===e?{value:void 0,done:!0}:(t=t.next,{value:e,done:!1})},[Symbol.iterator]:function(){return this}}}}class R{constructor(){this.targetIndex=0}}class L extends R{constructor(){super(...arguments),this.createPlaceholder=d.createInterpolationPlaceholder}}class H extends R{constructor(t,e,i){super(),this.name=t,this.behavior=e,this.options=i}createPlaceholder(t){return d.createCustomAttributePlaceholder(this.name,t)}createBehavior(t){return new this.behavior(t,this.options)}}function B(t,e){this.source=t,this.context=e,null===this.bindingObserver&&(this.bindingObserver=C.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(t,e))}function z(t,e){this.source=t,this.context=e,this.target.addEventListener(this.targetName,this)}function M(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function N(){this.bindingObserver.disconnect(),this.source=null,this.context=null;const t=this.target.$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}function V(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function j(t){d.setAttribute(this.target,this.targetName,t)}function _(t){d.setBooleanAttribute(this.target,this.targetName,t)}function q(t){if(null==t&&(t=""),t.create){this.target.textContent="";let e=this.target.$fastView;void 0===e?e=t.create():this.target.$fastTemplate!==t&&(e.isComposed&&(e.remove(),e.unbind()),e=t.create()),e.isComposed?e.needsBindOnly&&(e.needsBindOnly=!1,e.bind(this.source,this.context)):(e.isComposed=!0,e.bind(this.source,this.context),e.insertBefore(this.target),this.target.$fastView=e,this.target.$fastTemplate=t)}else{const e=this.target.$fastView;void 0!==e&&e.isComposed&&(e.isComposed=!1,e.remove(),e.needsBindOnly?e.needsBindOnly=!1:e.unbind()),this.target.textContent=t}}function U(t){this.target[this.targetName]=t}function G(t){const e=this.classVersions||Object.create(null),i=this.target;let o=this.version||0;if(null!=t&&t.length){const s=t.split(/\s+/);for(let t=0,n=s.length;t<n;++t){const n=s[t];""!==n&&(e[n]=o,i.classList.add(n))}}if(this.classVersions=e,this.version=o+1,0!==o){o-=1;for(const t in e)e[t]===o&&i.classList.remove(t)}}class W extends L{constructor(t){super(),this.binding=t,this.bind=B,this.unbind=M,this.updateTarget=j,this.isBindingVolatile=C.isVolatileBinding(this.binding)}get targetName(){return this.originalTargetName}set targetName(t){if(this.originalTargetName=t,void 0!==t)switch(t[0]){case":":if(this.cleanedTargetName=t.substr(1),this.updateTarget=U,"innerHTML"===this.cleanedTargetName){const t=this.binding;this.binding=(e,i)=>d.createHTML(t(e,i))}break;case"?":this.cleanedTargetName=t.substr(1),this.updateTarget=_;break;case"@":this.cleanedTargetName=t.substr(1),this.bind=z,this.unbind=V;break;default:this.cleanedTargetName=t,"class"===t&&(this.updateTarget=G)}}targetAtContent(){this.updateTarget=q,this.unbind=N}createBehavior(t){return new K(t,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}}class K{constructor(t,e,i,o,s,n,r){this.source=null,this.context=null,this.bindingObserver=null,this.target=t,this.binding=e,this.isBindingVolatile=i,this.bind=o,this.unbind=s,this.updateTarget=n,this.targetName=r}handleChange(){this.updateTarget(this.bindingObserver.observe(this.source,this.context))}handleEvent(t){P(t);const e=this.binding(this.source,this.context);P(null),!0!==e&&t.preventDefault()}}let Q=null;class X{addFactory(t){t.targetIndex=this.targetIndex,this.behaviorFactories.push(t)}captureContentBinding(t){t.targetAtContent(),this.addFactory(t)}reset(){this.behaviorFactories=[],this.targetIndex=-1}release(){Q=this}static borrow(t){const e=Q||new X;return e.directives=t,e.reset(),Q=null,e}}function Y(t){if(1===t.length)return t[0];let e;const i=t.length,o=t.map(t=>"string"==typeof t?()=>t:(e=t.targetName||e,t.binding)),s=new W((t,e)=>{let s="";for(let n=0;n<i;++n)s+=o[n](t,e);return s});return s.targetName=e,s}const Z=c.length;function J(t,e){const i=e.split(l);if(1===i.length)return null;const o=[];for(let e=0,s=i.length;e<s;++e){const s=i[e],n=s.indexOf(c);let r;if(-1===n)r=s;else{const e=parseInt(s.substring(0,n));o.push(t.directives[e]),r=s.substring(n+Z)}""!==r&&o.push(r)}return o}function tt(t,e,i=!1){const o=e.attributes;for(let s=0,n=o.length;s<n;++s){const r=o[s],a=r.value,l=J(t,a);let c=null;null===l?i&&(c=new W(()=>a),c.targetName=r.name):c=Y(l),null!==c&&(e.removeAttributeNode(r),s--,n--,t.addFactory(c))}}function et(t,e,i){const o=J(t,e.textContent);if(null!==o){let s=e;for(let n=0,r=o.length;n<r;++n){const r=o[n],a=0===n?e:s.parentNode.insertBefore(document.createTextNode(""),s.nextSibling);"string"==typeof r?a.textContent=r:(a.textContent=" ",t.captureContentBinding(r)),s=a,t.targetIndex++,a!==e&&i.nextNode()}t.targetIndex--}}function it(t,e){const i=t.content;document.adoptNode(i);const o=X.borrow(e);tt(o,t,!0);const s=o.behaviorFactories;o.reset();const n=d.createTemplateWalker(i);let r;for(;r=n.nextNode();)switch(o.targetIndex++,r.nodeType){case 1:tt(o,r);break;case 3:et(o,r,n);break;case 8:d.isMarker(r)&&o.addFactory(e[d.extractDirectiveIndexFromMarker(r)])}let a=0;(d.isMarker(i.firstChild)||1===i.childNodes.length&&e.length)&&(i.insertBefore(document.createComment(""),i.firstChild),a=-1);const l=o.behaviorFactories;return o.release(),{fragment:i,viewBehaviorFactories:l,hostBehaviorFactories:s,targetOffset:a}}const ot=document.createRange();class st{constructor(t,e){this.fragment=t,this.behaviors=e,this.source=null,this.context=null,this.firstChild=t.firstChild,this.lastChild=t.lastChild}appendTo(t){t.appendChild(this.fragment)}insertBefore(t){if(this.fragment.hasChildNodes())t.parentNode.insertBefore(this.fragment,t);else{const e=t.parentNode,i=this.lastChild;let o,s=this.firstChild;for(;s!==i;)o=s.nextSibling,e.insertBefore(s,t),s=o;e.insertBefore(i,t)}}remove(){const t=this.fragment,e=this.lastChild;let i,o=this.firstChild;for(;o!==e;)i=o.nextSibling,t.appendChild(o),o=i;t.appendChild(e)}dispose(){const t=this.firstChild.parentNode,e=this.lastChild;let i,o=this.firstChild;for(;o!==e;)i=o.nextSibling,t.removeChild(o),o=i;t.removeChild(e);const s=this.behaviors,n=this.source;for(let t=0,e=s.length;t<e;++t)s[t].unbind(n)}bind(t,e){const i=this.behaviors;if(this.source!==t)if(null!==this.source){const o=this.source;this.source=t,this.context=e;for(let s=0,n=i.length;s<n;++s){const n=i[s];n.unbind(o),n.bind(t,e)}}else{this.source=t,this.context=e;for(let o=0,s=i.length;o<s;++o)i[o].bind(t,e)}}unbind(){if(null===this.source)return;const t=this.behaviors,e=this.source;for(let i=0,o=t.length;i<o;++i)t[i].unbind(e);this.source=null}static disposeContiguousBatch(t){if(0!==t.length){ot.setStartBefore(t[0].firstChild),ot.setEndAfter(t[t.length-1].lastChild),ot.deleteContents();for(let e=0,i=t.length;e<i;++e){const i=t[e],o=i.behaviors,s=i.source;for(let t=0,e=o.length;t<e;++t)o[t].unbind(s)}}}}class nt{constructor(t,e){this.behaviorCount=0,this.hasHostBehaviors=!1,this.fragment=null,this.targetOffset=0,this.viewBehaviorFactories=null,this.hostBehaviorFactories=null,this.html=t,this.directives=e}create(t){if(null===this.fragment){let t;const e=this.html;if("string"==typeof e){t=document.createElement("template"),t.innerHTML=d.createHTML(e);const i=t.content.firstElementChild;null!==i&&"TEMPLATE"===i.tagName&&(t=i)}else t=e;const i=it(t,this.directives);this.fragment=i.fragment,this.viewBehaviorFactories=i.viewBehaviorFactories,this.hostBehaviorFactories=i.hostBehaviorFactories,this.targetOffset=i.targetOffset,this.behaviorCount=this.viewBehaviorFactories.length+this.hostBehaviorFactories.length,this.hasHostBehaviors=this.hostBehaviorFactories.length>0}const e=this.fragment.cloneNode(!0),i=this.viewBehaviorFactories,o=new Array(this.behaviorCount),s=d.createTemplateWalker(e);let n=0,r=this.targetOffset,a=s.nextNode();for(let t=i.length;n<t;++n){const t=i[n],e=t.targetIndex;for(;null!==a;){if(r===e){o[n]=t.createBehavior(a);break}a=s.nextNode(),r++}}if(this.hasHostBehaviors){const e=this.hostBehaviorFactories;for(let i=0,s=e.length;i<s;++i,++n)o[n]=e[i].createBehavior(t)}return new st(e,o)}render(t,e,i){"string"==typeof e&&(e=document.getElementById(e)),void 0===i&&(i=e);const o=this.create(i);return o.bind(t,A),o.appendTo(e),o}}const rt=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function at(t,...e){const i=[];let o="";for(let s=0,n=t.length-1;s<n;++s){const n=t[s];let r=e[s];if(o+=n,r instanceof nt){const t=r;r=()=>t}if("function"==typeof r&&(r=new W(r)),r instanceof L){const t=rt.exec(n);null!==t&&(r.targetName=t[2])}r instanceof R?(o+=r.createPlaceholder(i.length),i.push(r)):o+=r}return o+=t[t.length-1],new nt(o,i)}class lt{constructor(){this.targets=new WeakSet,this.behaviors=null}addStylesTo(t){this.targets.add(t)}removeStylesFrom(t){this.targets.delete(t)}isAttachedTo(t){return this.targets.has(t)}withBehaviors(...t){return this.behaviors=null===this.behaviors?t:this.behaviors.concat(t),this}}function ct(t){return t.map(t=>t instanceof lt?ct(t.styles):[t]).reduce((t,e)=>t.concat(e),[])}function dt(t){return t.map(t=>t instanceof lt?t.behaviors:null).reduce((t,e)=>null===e?t:(null===t&&(t=[]),t.concat(e)),null)}lt.create=(()=>{if(d.supportsAdoptedStyleSheets){const t=new Map;return e=>new ht(e,t)}return t=>new pt(t)})();class ht extends lt{constructor(t,e){super(),this.styles=t,this.styleSheetCache=e,this._styleSheets=void 0,this.behaviors=dt(t)}get styleSheets(){if(void 0===this._styleSheets){const t=this.styles,e=this.styleSheetCache;this._styleSheets=ct(t).map(t=>{if(t instanceof CSSStyleSheet)return t;let i=e.get(t);return void 0===i&&(i=new CSSStyleSheet,i.replaceSync(t),e.set(t,i)),i})}return this._styleSheets}addStylesTo(t){t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.styleSheets],super.addStylesTo(t)}removeStylesFrom(t){const e=this.styleSheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter(t=>-1===e.indexOf(t)),super.removeStylesFrom(t)}}let ut=0;class pt extends lt{constructor(t){super(),this.styles=t,this.behaviors=null,this.behaviors=dt(t),this.styleSheets=ct(t),this.styleClass="fast-style-class-"+ ++ut}addStylesTo(t){const e=this.styleSheets,i=this.styleClass;t=this.normalizeTarget(t);for(let o=e.length-1;o>-1;--o){const s=document.createElement("style");s.innerHTML=e[o],s.className=i,t.prepend(s)}super.addStylesTo(t)}removeStylesFrom(t){const e=(t=this.normalizeTarget(t)).querySelectorAll("."+this.styleClass);for(let i=0,o=e.length;i<o;++i)t.removeChild(e[i]);super.removeStylesFrom(t)}isAttachedTo(t){return super.isAttachedTo(this.normalizeTarget(t))}normalizeTarget(t){return t===document?document.body:t}}const gt={toView:t=>t?"true":"false",fromView:t=>null!=t&&"false"!==t&&!1!==t&&0!==t},ft={toView(t){if(null==t)return null;const e=1*t;return isNaN(e)?null:e.toString()},fromView(t){if(null==t)return null;const e=1*t;return isNaN(e)?null:e}};class vt{constructor(t,e,i=e.toLowerCase(),o="reflect",s){this.guards=new Set,this.Owner=t,this.name=e,this.attribute=i,this.mode=o,this.converter=s,this.fieldName="_"+e,this.callbackName=e+"Changed",this.hasCallback=this.callbackName in t.prototype,"boolean"===o&&void 0===s&&(this.converter=gt)}setValue(t,e){const i=t[this.fieldName],o=this.converter;void 0!==o&&(e=o.fromView(e)),i!==e&&(t[this.fieldName]=e,this.tryReflectToAttribute(t),this.hasCallback&&t[this.callbackName](i,e),t.$fastController.notify(this.name))}getValue(t){return C.track(t,this.name),t[this.fieldName]}onAttributeChangedCallback(t,e){this.guards.has(t)||(this.guards.add(t),this.setValue(t,e),this.guards.delete(t))}tryReflectToAttribute(t){const e=this.mode,i=this.guards;i.has(t)||"fromView"===e||d.queueUpdate(()=>{i.add(t);const o=t[this.fieldName];switch(e){case"reflect":const e=this.converter;d.setAttribute(t,this.attribute,void 0!==e?e.toView(o):o);break;case"boolean":d.setBooleanAttribute(t,this.attribute,o)}i.delete(t)})}static collect(t,...e){const i=[];e.push(t.attributes);for(let o=0,s=e.length;o<s;++o){const s=e[o];if(void 0!==s)for(let e=0,o=s.length;e<o;++e){const o=s[e];"string"==typeof o?i.push(new vt(t,o)):i.push(new vt(t,o.property,o.attribute,o.mode,o.converter))}}return i}}function bt(t,e){let i;function o(t,e){arguments.length>1&&(i.property=e);const o=t.constructor.attributes||(t.constructor.attributes=[]);o.push(i)}return arguments.length>1?(i={},void o(t,e)):(i=void 0===t?{}:t,o)}const mt={mode:"open"},yt={},xt=new Map;class $t{constructor(t,e=t.definition){"string"==typeof e&&(e={name:e}),this.type=t,this.name=e.name,this.template=e.template;const i=vt.collect(t,e.attributes),o=new Array(i.length),s={},n={};for(let t=0,e=i.length;t<e;++t){const e=i[t];o[t]=e.attribute,s[e.name]=e,n[e.attribute]=e}this.attributes=i,this.observedAttributes=o,this.propertyLookup=s,this.attributeLookup=n,this.shadowOptions=void 0===e.shadowOptions?mt:null===e.shadowOptions?void 0:Object.assign(Object.assign({},mt),e.shadowOptions),this.elementOptions=void 0===e.elementOptions?yt:Object.assign(Object.assign({},yt),e.elementOptions),this.styles=void 0===e.styles?void 0:Array.isArray(e.styles)?lt.create(e.styles):e.styles instanceof lt?e.styles:lt.create([e.styles])}define(t=customElements){const e=this.type;if(!this.isDefined){const t=this.attributes,i=e.prototype;for(let e=0,o=t.length;e<o;++e)C.defineProperty(i,t[e]);Reflect.defineProperty(e,"observedAttributes",{value:this.observedAttributes,enumerable:!0}),xt.set(e,this),this.isDefined=!0}return t.get(this.name)||t.define(this.name,e,this.elementOptions),this}static forType(t){return xt.get(t)}}const wt=new WeakMap,Ct={bubbles:!0,composed:!0,cancelable:!0};function kt(t){return t.shadowRoot||wt.get(t)||null}class Tt extends v{constructor(t,e){super(t),this.boundObservables=null,this.behaviors=null,this.needsInitialization=!0,this._template=null,this._styles=null,this._isConnected=!1,this.view=null,this.element=t,this.definition=e;const i=e.shadowOptions;if(void 0!==i){const e=t.attachShadow(i);"closed"===i.mode&&wt.set(t,e)}const o=C.getAccessors(t);if(o.length>0){const e=this.boundObservables=Object.create(null);for(let i=0,s=o.length;i<s;++i){const s=o[i].name,n=t[s];void 0!==n&&(delete t[s],e[s]=n)}}}get isConnected(){return C.track(this,"isConnected"),this._isConnected}setIsConnected(t){this._isConnected=t,C.notify(this,"isConnected")}get template(){return this._template}set template(t){this._template!==t&&(this._template=t,this.needsInitialization||this.renderTemplate(t))}get styles(){return this._styles}set styles(t){this._styles!==t&&(null!==this._styles&&this.removeStyles(this._styles),this._styles=t,this.needsInitialization||null===t||this.addStyles(t))}addStyles(t){const e=kt(this.element)||this.element.getRootNode();if(t instanceof HTMLStyleElement)e.prepend(t);else if(!t.isAttachedTo(e)){const i=t.behaviors;t.addStylesTo(e),null!==i&&this.addBehaviors(i)}}removeStyles(t){const e=kt(this.element)||this.element.getRootNode();if(t instanceof HTMLStyleElement)e.removeChild(t);else if(t.isAttachedTo(e)){const i=t.behaviors;t.removeStylesFrom(e),null!==i&&this.removeBehaviors(i)}}addBehaviors(t){const e=this.behaviors||(this.behaviors=new Map),i=t.length,o=[];for(let s=0;s<i;++s){const i=t[s];e.has(i)?e.set(i,e.get(i)+1):(e.set(i,1),o.push(i))}if(this._isConnected){const t=this.element;for(let e=0;e<o.length;++e)o[e].bind(t,A)}}removeBehaviors(t,e=!1){const i=this.behaviors;if(null===i)return;const o=t.length,s=[];for(let n=0;n<o;++n){const o=t[n];if(i.has(o)){const t=i.get(o)-1;0===t||e?i.delete(o)&&s.push(o):i.set(o,t)}}if(this._isConnected){const t=this.element;for(let e=0;e<s.length;++e)s[e].unbind(t)}}onConnectedCallback(){if(this._isConnected)return;const t=this.element;this.needsInitialization?this.finishInitialization():null!==this.view&&this.view.bind(t,A);const e=this.behaviors;if(null!==e)for(const[i]of e)i.bind(t,A);this.setIsConnected(!0)}onDisconnectedCallback(){if(!this._isConnected)return;this.setIsConnected(!1);const t=this.view;null!==t&&t.unbind();const e=this.behaviors;if(null!==e){const t=this.element;for(const[i]of e)i.unbind(t)}}onAttributeChangedCallback(t,e,i){const o=this.definition.attributeLookup[t];void 0!==o&&o.onAttributeChangedCallback(this.element,i)}emit(t,e,i){return!!this._isConnected&&this.element.dispatchEvent(new CustomEvent(t,Object.assign(Object.assign({detail:e},Ct),i)))}finishInitialization(){const t=this.element,e=this.boundObservables;if(null!==e){const i=Object.keys(e);for(let o=0,s=i.length;o<s;++o){const s=i[o];t[s]=e[s]}this.boundObservables=null}const i=this.definition;null===this._template&&(this.element.resolveTemplate?this._template=this.element.resolveTemplate():i.template&&(this._template=i.template||null)),null!==this._template&&this.renderTemplate(this._template),null===this._styles&&(this.element.resolveStyles?this._styles=this.element.resolveStyles():i.styles&&(this._styles=i.styles||null)),null!==this._styles&&this.addStyles(this._styles),this.needsInitialization=!1}renderTemplate(t){const e=this.element,i=kt(e)||e;null!==this.view?(this.view.dispose(),this.view=null):this.needsInitialization||d.removeChildNodes(i),t&&(this.view=t.render(e,i,e))}static forCustomElement(t){const e=t.$fastController;if(void 0!==e)return e;const i=$t.forType(t.constructor);if(void 0===i)throw new Error("Missing FASTElement definition.");return t.$fastController=new Tt(t,i)}}function It(t){return class extends t{constructor(){super(),Tt.forCustomElement(this)}$emit(t,e,i){return this.$fastController.emit(t,e,i)}connectedCallback(){this.$fastController.onConnectedCallback()}disconnectedCallback(){this.$fastController.onDisconnectedCallback()}attributeChangedCallback(t,e,i){this.$fastController.onAttributeChangedCallback(t,e,i)}}}const St=Object.assign(It(HTMLElement),{from:t=>It(t),define:(t,e)=>new $t(t,e).define().type});function Ft(t){return function(e){new $t(e,t).define()}}class Dt{createCSS(){return""}createBehavior(){}}function Pt(t,e){const i=[];let o="";const s=[];for(let n=0,r=t.length-1;n<r;++n){o+=t[n];let r=e[n];if(r instanceof Dt){const t=r.createBehavior();r=r.createCSS(),t&&s.push(t)}r instanceof lt||r instanceof CSSStyleSheet?(""!==o.trim()&&(i.push(o),o=""),i.push(r)):o+=r}return o+=t[t.length-1],""!==o.trim()&&i.push(o),{styles:i,behaviors:s}}function Et(t,...e){const{styles:i,behaviors:o}=Pt(t,e),s=lt.create(i);return o.length&&s.withBehaviors(...o),s}class At extends Dt{constructor(t,e){super(),this.behaviors=e,this.css="";const i=t.reduce((t,e)=>("string"==typeof e?this.css+=e:t.push(e),t),[]);i.length&&(this.styles=lt.create(i))}createBehavior(){return this}createCSS(){return this.css}bind(t){this.styles&&t.$fastController.addStyles(this.styles),this.behaviors.length&&t.$fastController.addBehaviors(this.behaviors)}unbind(t){this.styles&&t.$fastController.removeStyles(this.styles),this.behaviors.length&&t.$fastController.removeBehaviors(this.behaviors)}}function Ot(t,...e){const{styles:i,behaviors:o}=Pt(t,e);return new At(i,o)}function Rt(t,e,i){return{index:t,removed:e,addedCount:i}}function Lt(t,e,o,s,n,r){let a=0,l=0;const c=Math.min(o-e,r-n);if(0===e&&0===n&&(a=function(t,e,i){for(let o=0;o<i;++o)if(t[o]!==e[o])return o;return i}(t,s,c)),o===t.length&&r===s.length&&(l=function(t,e,i){let o=t.length,s=e.length,n=0;for(;n<i&&t[--o]===e[--s];)n++;return n}(t,s,c-a)),n+=a,r-=l,(o-=l)-(e+=a)==0&&r-n==0)return i;if(e===o){const t=Rt(e,[],0);for(;n<r;)t.removed.push(s[n++]);return[t]}if(n===r)return[Rt(e,[],o-e)];const d=function(t){let e=t.length-1,i=t[0].length-1,o=t[e][i];const s=[];for(;e>0||i>0;){if(0===e){s.push(2),i--;continue}if(0===i){s.push(3),e--;continue}const n=t[e-1][i-1],r=t[e-1][i],a=t[e][i-1];let l;l=r<a?r<n?r:n:a<n?a:n,l===n?(n===o?s.push(0):(s.push(1),o=n),e--,i--):l===r?(s.push(3),e--,o=r):(s.push(2),i--,o=a)}return s.reverse(),s}(function(t,e,i,o,s,n){const r=n-s+1,a=i-e+1,l=new Array(r);let c,d;for(let t=0;t<r;++t)l[t]=new Array(a),l[t][0]=t;for(let t=0;t<a;++t)l[0][t]=t;for(let i=1;i<r;++i)for(let n=1;n<a;++n)t[e+n-1]===o[s+i-1]?l[i][n]=l[i-1][n-1]:(c=l[i-1][n]+1,d=l[i][n-1]+1,l[i][n]=c<d?c:d);return l}(t,e,o,s,n,r)),h=[];let u=void 0,p=e,g=n;for(let t=0;t<d.length;++t)switch(d[t]){case 0:void 0!==u&&(h.push(u),u=void 0),p++,g++;break;case 1:void 0===u&&(u=Rt(p,[],0)),u.addedCount++,p++,u.removed.push(s[g]),g++;break;case 2:void 0===u&&(u=Rt(p,[],0)),u.addedCount++,p++;break;case 3:void 0===u&&(u=Rt(p,[],0)),u.removed.push(s[g]),g++}return void 0!==u&&h.push(u),h}const Ht=Array.prototype.push;function Bt(t,e,i,o){const s=Rt(e,i,o);let n=!1,r=0;for(let e=0;e<t.length;e++){const i=t[e];if(i.index+=r,n)continue;const o=(a=s.index,l=s.index+s.removed.length,c=i.index,d=i.index+i.addedCount,l<c||d<a?-1:l===c||d===a?0:a<c?l<d?l-c:d-c:d<l?d-a:l-a);if(o>=0){t.splice(e,1),e--,r-=i.addedCount-i.removed.length,s.addedCount+=i.addedCount-o;const a=s.removed.length+i.removed.length-o;if(s.addedCount||a){let t=i.removed;if(s.index<i.index){const e=s.removed.slice(0,i.index-s.index);Ht.apply(e,t),t=e}if(s.index+s.removed.length>i.index+i.addedCount){const e=s.removed.slice(i.index+i.addedCount-s.index);Ht.apply(t,e)}s.removed=t,i.index<s.index&&(s.index=i.index)}else n=!0}else if(s.index<i.index){n=!0,t.splice(e,0,s),e++;const o=s.addedCount-s.removed.length;i.index+=o,r+=o}}var a,l,c,d;n||t.push(s)}function zt(t,e){let i=[];const o=function(t){const e=[];for(let i=0,o=t.length;i<o;i++){const o=t[i];Bt(e,o.index,o.removed,o.addedCount)}return e}(e);for(let e=0,s=o.length;e<s;++e){const s=o[e];1!==s.addedCount||1!==s.removed.length?i=i.concat(Lt(t,s.index,s.index+s.addedCount,s.removed,0,s.removed.length)):s.removed[0]!==t[s.index]&&i.push(s)}return i}let Mt=!1;function Nt(t,e){let i=t.index;const o=e.length;return i>o?i=o-t.addedCount:i<0&&(i=o+t.removed.length+i-t.addedCount),i<0&&(i=0),t.index=i,t}class Vt extends f{constructor(t){super(t),this.oldCollection=void 0,this.splices=void 0,this.needsQueue=!0,this.call=this.flush,t.$fastController=this}addSplice(t){void 0===this.splices?this.splices=[t]:this.splices.push(t),this.needsQueue&&(this.needsQueue=!1,d.queueUpdate(this))}reset(t){this.oldCollection=t,this.needsQueue&&(this.needsQueue=!1,d.queueUpdate(this))}flush(){const t=this.splices,e=this.oldCollection;if(void 0===t&&void 0===e)return;this.needsQueue=!0,this.splices=void 0,this.oldCollection=void 0;const i=void 0===e?zt(this.source,t):Lt(this.source,0,this.source.length,e,0,e.length);this.notify(i)}}function jt(){if(Mt)return;Mt=!0,C.setArrayObserverFactory(t=>new Vt(t));const t=Array.prototype,e=t.pop,i=t.push,o=t.reverse,s=t.shift,n=t.sort,r=t.splice,a=t.unshift;t.pop=function(){const t=this.length>0,i=e.apply(this,arguments),o=this.$fastController;return void 0!==o&&t&&o.addSplice(Rt(this.length,[i],0)),i},t.push=function(){const t=i.apply(this,arguments),e=this.$fastController;return void 0!==e&&e.addSplice(Nt(Rt(this.length-arguments.length,[],arguments.length),this)),t},t.reverse=function(){let t;const e=this.$fastController;void 0!==e&&(e.flush(),t=this.slice());const i=o.apply(this,arguments);return void 0!==e&&e.reset(t),i},t.shift=function(){const t=this.length>0,e=s.apply(this,arguments),i=this.$fastController;return void 0!==i&&t&&i.addSplice(Rt(0,[e],0)),e},t.sort=function(){let t;const e=this.$fastController;void 0!==e&&(e.flush(),t=this.slice());const i=n.apply(this,arguments);return void 0!==e&&e.reset(t),i},t.splice=function(){const t=r.apply(this,arguments),e=this.$fastController;return void 0!==e&&e.addSplice(Nt(Rt(+arguments[0],t,arguments.length>2?arguments.length-2:0),this)),t},t.unshift=function(){const t=a.apply(this,arguments),e=this.$fastController;return void 0!==e&&e.addSplice(Nt(Rt(0,[],arguments.length),this)),t}}class _t{constructor(t,e){this.target=t,this.propertyName=e}bind(t){t[this.propertyName]=this.target}unbind(){}}function qt(t){return new H("fast-ref",_t,t)}function Ut(t,e){const i="function"==typeof e?e:()=>e;return(e,o)=>t(e,o)?i(e,o):null}const Gt=Object.freeze({positioning:!1});function Wt(t,e,i,o){t.bind(e[i],o)}function Kt(t,e,i,o){const s=Object.create(o);s.index=i,s.length=e.length,t.bind(e[i],s)}class Qt{constructor(t,e,i,o,s,n){this.location=t,this.itemsBinding=e,this.templateBinding=o,this.options=n,this.source=null,this.views=[],this.items=null,this.itemsObserver=null,this.originalContext=void 0,this.childContext=void 0,this.bindView=Wt,this.itemsBindingObserver=C.binding(e,this,i),this.templateBindingObserver=C.binding(o,this,s),n.positioning&&(this.bindView=Kt)}bind(t,e){this.source=t,this.originalContext=e,this.childContext=Object.create(e),this.childContext.parent=t,this.childContext.parentContext=this.originalContext,this.items=this.itemsBindingObserver.observe(t,this.originalContext),this.template=this.templateBindingObserver.observe(t,this.originalContext),this.observeItems(!0),this.refreshAllViews()}unbind(){this.source=null,this.items=null,null!==this.itemsObserver&&this.itemsObserver.unsubscribe(this),this.unbindAllViews(),this.itemsBindingObserver.disconnect(),this.templateBindingObserver.disconnect()}handleChange(t,e){t===this.itemsBinding?(this.items=this.itemsBindingObserver.observe(this.source,this.originalContext),this.observeItems(),this.refreshAllViews()):t===this.templateBinding?(this.template=this.templateBindingObserver.observe(this.source,this.originalContext),this.refreshAllViews(!0)):this.updateViews(e)}observeItems(t=!1){if(!this.items)return void(this.items=i);const e=this.itemsObserver,o=this.itemsObserver=C.getNotifier(this.items),s=e!==o;s&&null!==e&&e.unsubscribe(this),(s||t)&&o.subscribe(this)}updateViews(t){const e=this.childContext,i=this.views,o=[],s=this.bindView;let n=0;for(let e=0,s=t.length;e<s;++e){const s=t[e],r=s.removed;o.push(...i.splice(s.index+n,r.length)),n-=s.addedCount}const r=this.items,a=this.template;for(let n=0,l=t.length;n<l;++n){const l=t[n];let c=l.index;const d=c+l.addedCount;for(;c<d;++c){const t=i[c],n=t?t.firstChild:this.location,l=o.length>0?o.shift():a.create();i.splice(c,0,l),s(l,r,c,e),l.insertBefore(n)}}for(let t=0,e=o.length;t<e;++t)o[t].dispose();if(this.options.positioning)for(let t=0,e=i.length;t<e;++t){const o=i[t].context;o.length=e,o.index=t}}refreshAllViews(t=!1){const e=this.items,i=this.childContext,o=this.template,s=this.location,n=this.bindView;let r=e.length,a=this.views,l=a.length;if((0===r||t)&&(st.disposeContiguousBatch(a),l=0),0===l){this.views=a=new Array(r);for(let t=0;t<r;++t){const r=o.create();n(r,e,t,i),a[t]=r,r.insertBefore(s)}}else{let t=0;for(;t<r;++t)if(t<l){n(a[t],e,t,i)}else{const r=o.create();n(r,e,t,i),a.push(r),r.insertBefore(s)}const c=a.splice(t,l-t);for(t=0,r=c.length;t<r;++t)c[t].dispose()}}unbindAllViews(){const t=this.views;for(let e=0,i=t.length;e<i;++e)t[e].unbind()}}class Xt extends R{constructor(t,e,i){super(),this.itemsBinding=t,this.templateBinding=e,this.options=i,this.createPlaceholder=d.createBlockPlaceholder,jt(),this.isItemsBindingVolatile=C.isVolatileBinding(t),this.isTemplateBindingVolatile=C.isVolatileBinding(e)}createBehavior(t){return new Qt(t,this.itemsBinding,this.isItemsBindingVolatile,this.templateBinding,this.isTemplateBindingVolatile,this.options)}}function Yt(t,e,i=Gt){return new Xt(t,"function"==typeof e?e:()=>e,i)}function Zt(t){return t?function(e,i,o){return 1===e.nodeType&&e.matches(t)}:function(t,e,i){return 1===t.nodeType}}class Jt{constructor(t,e){this.target=t,this.options=e,this.source=null}bind(t){const e=this.options.property;this.shouldUpdate=C.getAccessors(t).some(t=>t.name===e),this.source=t,this.updateTarget(this.computeNodes()),this.shouldUpdate&&this.observe()}unbind(){this.updateTarget(i),this.source=null,this.shouldUpdate&&this.disconnect()}handleEvent(){this.updateTarget(this.computeNodes())}computeNodes(){let t=this.getNodes();return void 0!==this.options.filter&&(t=t.filter(this.options.filter)),t}updateTarget(t){this.source[this.options.property]=t}}class te extends Jt{constructor(t,e){super(t,e)}observe(){this.target.addEventListener("slotchange",this)}disconnect(){this.target.removeEventListener("slotchange",this)}getNodes(){return this.target.assignedNodes(this.options)}}function ee(t){return"string"==typeof t&&(t={property:t}),new H("fast-slotted",te,t)}class ie extends Jt{constructor(t,e){super(t,e),this.observer=null,e.childList=!0}observe(){null===this.observer&&(this.observer=new MutationObserver(this.handleEvent.bind(this))),this.observer.observe(this.target,this.options)}disconnect(){this.observer.disconnect()}getNodes(){return"subtree"in this.options?Array.from(this.target.querySelectorAll(this.options.selector)):Array.from(this.target.childNodes)}}function oe(t){return"string"==typeof t&&(t={property:t}),new H("fast-children",ie,t)}class se{handleStartContentChange(){this.startContainer.classList.toggle("start",this.start.assignedNodes().length>0)}handleEndContentChange(){this.endContainer.classList.toggle("end",this.end.assignedNodes().length>0)}}const ne=at`<span part="end" ${qt("endContainer")}><slot name="end" ${qt("end")}@slotchange="${t=>t.handleEndContentChange()}"></slot></span>`,re=at`<span part="start" ${qt("startContainer")}><slot name="start" ${qt("start")}@slotchange="${t=>t.handleStartContentChange()}"></slot></span>`,ae=at`<template class="${t=>t.expanded?"expanded":""}" slot="item"><div class="heading" part="heading" role="heading" aria-level="${t=>t.headinglevel}"><button class="button" part="button" ${qt("expandbutton")}aria-expanded="${t=>t.expanded}" aria-controls="${t=>t.id}-panel" id="${t=>t.id}" @click="${(t,e)=>t.clickHandler(e.event)}"><span class="heading"><slot name="heading" part="heading"></slot></span></button>${re} ${ne}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon" part="expanded-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.78 3h12.44c.43 0 .78.35.78.78v12.44c0 .43-.35.78-.78.78H3.78a.78.78 0 01-.78-.78V3.78c0-.43.35-.78.78-.78zm12.44-1H3.78C2.8 2 2 2.8 2 3.78v12.44C2 17.2 2.8 18 3.78 18h12.44c.98 0 1.78-.8 1.78-1.78V3.78C18 2.8 17.2 2 16.22 2zM14 9H6v2h8V9z" /></svg></slot><slot name="collapsed-icon" part="collapsed-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.22 3H3.78a.78.78 0 00-.78.78v12.44c0 .43.35.78.78.78h12.44c.43 0 .78-.35.78-.78V3.78a.78.78 0 00-.78-.78zM3.78 2h12.44C17.2 2 18 2.8 18 3.78v12.44c0 .98-.8 1.78-1.78 1.78H3.78C2.8 18 2 17.2 2 16.22V3.78C2 2.8 2.8 2 3.78 2zM11 9h3v2h-3v3H9v-3H6V9h3V6h2v3z" /></svg></slot><span></div><div class="region" part="region" id="${t=>t.id}-panel" role="region" aria-labelledby="${t=>t.id}"><slot></slot></div></template>`;function le(t,...e){e.forEach(e=>{if(Object.getOwnPropertyNames(e.prototype).forEach(i=>{Object.defineProperty(t.prototype,i,Object.getOwnPropertyDescriptor(e.prototype,i))}),e.attributes){const i=t.attributes||[];t.attributes=i.concat(e.attributes)}})}class ce extends St{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.clickHandler=t=>{this.expanded=!this.expanded,this.change()},this.change=()=>{this.$emit("change")}}}t([bt({attribute:"heading-level",mode:"fromView",converter:ft})],ce.prototype,"headinglevel",void 0),t([bt({mode:"boolean"})],ce.prototype,"expanded",void 0),t([bt],ce.prototype,"id",void 0),le(ce,se);const de=at`<template><slot name="item" part="item" ${ee("accordionItems")}></slot></template>`;var he;!function(t){t.horizontal="horizontal",t.vertical="vertical"}(he||(he={}));var ue="object"==typeof global&&global&&global.Object===Object&&global,pe="object"==typeof self&&self&&self.Object===Object&&self,ge=ue||pe||Function("return this")(),fe=ge.Symbol,ve=Object.prototype,be=ve.hasOwnProperty,me=ve.toString,ye=fe?fe.toStringTag:void 0;var xe=Object.prototype.toString;var $e=fe?fe.toStringTag:void 0;function we(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":$e&&$e in Object(t)?function(t){var e=be.call(t,ye),i=t[ye];try{t[ye]=void 0;var o=!0}catch(t){}var s=me.call(t);return o&&(e?t[ye]=i:delete t[ye]),s}(t):function(t){return xe.call(t)}(t)}function Ce(t){return null!=t&&"object"==typeof t}function ke(t){return"symbol"==typeof t||Ce(t)&&"[object Symbol]"==we(t)}var Te=Array.isArray,Ie=fe?fe.prototype:void 0,Se=Ie?Ie.toString:void 0;function Fe(t){if("string"==typeof t)return t;if(Te(t))return function(t,e){for(var i=-1,o=null==t?0:t.length,s=Array(o);++i<o;)s[i]=e(t[i],i,t);return s}(t,Fe)+"";if(ke(t))return Se?Se.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function De(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var Pe=/^\s+|\s+$/g,Ee=/^[-+]0x[0-9a-f]+$/i,Ae=/^0b[01]+$/i,Oe=/^0o[0-7]+$/i,Re=parseInt;function Le(t){if("number"==typeof t)return t;if(ke(t))return NaN;if(De(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=De(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Pe,"");var i=Ae.test(t);return i||Oe.test(t)?Re(t.slice(2),i?2:8):Ee.test(t)?NaN:+t}function He(t){return t?(t=Le(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function Be(t){if(!De(t))return!1;var e=we(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}var ze,Me=ge["__core-js_shared__"],Ne=(ze=/[^.]+$/.exec(Me&&Me.keys&&Me.keys.IE_PROTO||""))?"Symbol(src)_1."+ze:"";var Ve=Function.prototype.toString;var je=/^\[object .+?Constructor\]$/,_e=Function.prototype,qe=Object.prototype,Ue=_e.toString,Ge=qe.hasOwnProperty,We=RegExp("^"+Ue.call(Ge).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ke(t){return!(!De(t)||(e=t,Ne&&Ne in e))&&(Be(t)?We:je).test(function(t){if(null!=t){try{return Ve.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}function Qe(t,e){var i=function(t,e){return null==t?void 0:t[e]}(t,e);return Ke(i)?i:void 0}var Xe=/^(?:0|[1-9]\d*)$/;function Ye(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Xe.test(t))&&t>-1&&t%1==0&&t<e}function Ze(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}var Je=Object.prototype;function ti(t){return Ce(t)&&"[object Arguments]"==we(t)}var ei=Object.prototype,ii=ei.hasOwnProperty,oi=ei.propertyIsEnumerable,si=ti(function(){return arguments}())?ti:function(t){return Ce(t)&&ii.call(t,"callee")&&!oi.call(t,"callee")};var ni="object"==typeof exports&&exports&&!exports.nodeType&&exports,ri=ni&&"object"==typeof module&&module&&!module.nodeType&&module,ai=ri&&ri.exports===ni?ge.Buffer:void 0,li=(ai?ai.isBuffer:void 0)||function(){return!1},ci={};ci["[object Float32Array]"]=ci["[object Float64Array]"]=ci["[object Int8Array]"]=ci["[object Int16Array]"]=ci["[object Int32Array]"]=ci["[object Uint8Array]"]=ci["[object Uint8ClampedArray]"]=ci["[object Uint16Array]"]=ci["[object Uint32Array]"]=!0,ci["[object Arguments]"]=ci["[object Array]"]=ci["[object ArrayBuffer]"]=ci["[object Boolean]"]=ci["[object DataView]"]=ci["[object Date]"]=ci["[object Error]"]=ci["[object Function]"]=ci["[object Map]"]=ci["[object Number]"]=ci["[object Object]"]=ci["[object RegExp]"]=ci["[object Set]"]=ci["[object String]"]=ci["[object WeakMap]"]=!1;var di,hi="object"==typeof exports&&exports&&!exports.nodeType&&exports,ui=hi&&"object"==typeof module&&module&&!module.nodeType&&module,pi=ui&&ui.exports===hi&&ue.process,gi=function(){try{var t=ui&&ui.require&&ui.require("util").types;return t||pi&&pi.binding&&pi.binding("util")}catch(t){}}(),fi=gi&&gi.isTypedArray,vi=fi?(di=fi,function(t){return di(t)}):function(t){return Ce(t)&&Ze(t.length)&&!!ci[we(t)]},bi=Object.prototype.hasOwnProperty;function mi(t,e){var i=Te(t),o=!i&&si(t),s=!i&&!o&&li(t),n=!i&&!o&&!s&&vi(t),r=i||o||s||n,a=r?function(t,e){for(var i=-1,o=Array(t);++i<t;)o[i]=e(i);return o}(t.length,String):[],l=a.length;for(var c in t)!e&&!bi.call(t,c)||r&&("length"==c||s&&("offset"==c||"parent"==c)||n&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ye(c,l))||a.push(c);return a}var yi=function(t,e){return function(i){return t(e(i))}}(Object.keys,Object),xi=Object.prototype.hasOwnProperty;function $i(t){if(i=(e=t)&&e.constructor,e!==("function"==typeof i&&i.prototype||Je))return yi(t);var e,i,o=[];for(var s in Object(t))xi.call(t,s)&&"constructor"!=s&&o.push(s);return o}function wi(t){return null!=(e=t)&&Ze(e.length)&&!Be(e)?mi(t):$i(t);var e}var Ci=Qe(Object,"create");var ki=Object.prototype.hasOwnProperty;var Ti=Object.prototype.hasOwnProperty;function Ii(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var o=t[e];this.set(o[0],o[1])}}function Si(t,e){for(var i,o,s=t.length;s--;)if((i=t[s][0])===(o=e)||i!=i&&o!=o)return s;return-1}Ii.prototype.clear=function(){this.__data__=Ci?Ci(null):{},this.size=0},Ii.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Ii.prototype.get=function(t){var e=this.__data__;if(Ci){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return ki.call(e,t)?e[t]:void 0},Ii.prototype.has=function(t){var e=this.__data__;return Ci?void 0!==e[t]:Ti.call(e,t)},Ii.prototype.set=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Ci&&void 0===e?"__lodash_hash_undefined__":e,this};var Fi=Array.prototype.splice;function Di(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var o=t[e];this.set(o[0],o[1])}}Di.prototype.clear=function(){this.__data__=[],this.size=0},Di.prototype.delete=function(t){var e=this.__data__,i=Si(e,t);return!(i<0)&&(i==e.length-1?e.pop():Fi.call(e,i,1),--this.size,!0)},Di.prototype.get=function(t){var e=this.__data__,i=Si(e,t);return i<0?void 0:e[i][1]},Di.prototype.has=function(t){return Si(this.__data__,t)>-1},Di.prototype.set=function(t,e){var i=this.__data__,o=Si(i,t);return o<0?(++this.size,i.push([t,e])):i[o][1]=e,this};var Pi=Qe(ge,"Map");function Ei(t,e){var i,o,s=t.__data__;return("string"==(o=typeof(i=e))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==i:null===i)?s["string"==typeof e?"string":"hash"]:s.map}function Ai(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var o=t[e];this.set(o[0],o[1])}}Ai.prototype.clear=function(){this.size=0,this.__data__={hash:new Ii,map:new(Pi||Di),string:new Ii}},Ai.prototype.delete=function(t){var e=Ei(this,t).delete(t);return this.size-=e?1:0,e},Ai.prototype.get=function(t){return Ei(this,t).get(t)},Ai.prototype.has=function(t){return Ei(this,t).has(t)},Ai.prototype.set=function(t,e){var i=Ei(this,t),o=i.size;return i.set(t,e),this.size+=i.size==o?0:1,this};function Oi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var o=arguments,s=e?e.apply(this,o):o[0],n=i.cache;if(n.has(s))return n.get(s);var r=t.apply(this,o);return i.cache=n.set(s,r)||n,r};return i.cache=new(Oi.Cache||Ai),i}Oi.Cache=Ai;var Ri,Li=function(t,e,i){for(var o=-1,s=Object(t),n=i(t),r=n.length;r--;){var a=n[Ri?r:++o];if(!1===e(s[a],a,s))break}return t};var Hi=Math.max,Bi=Math.min;function zi(t,e,i){return e=He(e),void 0===i?(i=e,e=0):i=He(i),function(t,e,i){return t>=Bi(e,i)&&t<Hi(e,i)}(t=Le(t),e,i)}function Mi(t,e,i,o){return function(t,e){t&&Li(t,e,wi)}(t,(function(t,s,n){e(o,i(t),s,n)})),o}var Ni,Vi,ji=Object.prototype.toString,_i=(Ni=function(t,e,i){null!=e&&"function"!=typeof e.toString&&(e=ji.call(e)),t[e]=i},Vi=function(t){return function(){return t}}((function(t){return t})),function(t,e){return Mi(t,Ni,Vi(e),{})});var qi=0;function Ui(t){var e,i=++qi;return(null==(e=t)?"":Fe(e))+i}function Gi(...t){return t.every(t=>t instanceof HTMLElement)}let Wi;var Ki;!function(t){t[t.alt=18]="alt",t[t.arrowDown=40]="arrowDown",t[t.arrowLeft=37]="arrowLeft",t[t.arrowRight=39]="arrowRight",t[t.arrowUp=38]="arrowUp",t[t.back=8]="back",t[t.backSlash=220]="backSlash",t[t.break=19]="break",t[t.capsLock=20]="capsLock",t[t.closeBracket=221]="closeBracket",t[t.colon=186]="colon",t[t.colon2=59]="colon2",t[t.comma=188]="comma",t[t.ctrl=17]="ctrl",t[t.delete=46]="delete",t[t.end=35]="end",t[t.enter=13]="enter",t[t.equals=187]="equals",t[t.equals2=61]="equals2",t[t.equals3=107]="equals3",t[t.escape=27]="escape",t[t.forwardSlash=191]="forwardSlash",t[t.function1=112]="function1",t[t.function10=121]="function10",t[t.function11=122]="function11",t[t.function12=123]="function12",t[t.function2=113]="function2",t[t.function3=114]="function3",t[t.function4=115]="function4",t[t.function5=116]="function5",t[t.function6=117]="function6",t[t.function7=118]="function7",t[t.function8=119]="function8",t[t.function9=120]="function9",t[t.home=36]="home",t[t.insert=45]="insert",t[t.menu=93]="menu",t[t.minus=189]="minus",t[t.minus2=109]="minus2",t[t.numLock=144]="numLock",t[t.numPad0=96]="numPad0",t[t.numPad1=97]="numPad1",t[t.numPad2=98]="numPad2",t[t.numPad3=99]="numPad3",t[t.numPad4=100]="numPad4",t[t.numPad5=101]="numPad5",t[t.numPad6=102]="numPad6",t[t.numPad7=103]="numPad7",t[t.numPad8=104]="numPad8",t[t.numPad9=105]="numPad9",t[t.numPadDivide=111]="numPadDivide",t[t.numPadDot=110]="numPadDot",t[t.numPadMinus=109]="numPadMinus",t[t.numPadMultiply=106]="numPadMultiply",t[t.numPadPlus=107]="numPadPlus",t[t.openBracket=219]="openBracket",t[t.pageDown=34]="pageDown",t[t.pageUp=33]="pageUp",t[t.period=190]="period",t[t.print=44]="print",t[t.quote=222]="quote",t[t.scrollLock=145]="scrollLock",t[t.shift=16]="shift",t[t.space=32]="space",t[t.tab=9]="tab",t[t.tilde=192]="tilde",t[t.windowsLeft=91]="windowsLeft",t[t.windowsOpera=219]="windowsOpera",t[t.windowsRight=92]="windowsRight"}(Ki||(Ki={}));const Qi={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var Xi,Yi,Zi;function Ji(t,e,i){return i<t?e:i>e?t:i}function to(t,e,i){return Math.min(Math.max(i,t),e)}!function(t){t.ltr="ltr",t.rtl="rtl"}(Xi||(Xi={})),function(t){t.Canvas="Canvas",t.CanvasText="CanvasText",t.LinkText="LinkText",t.VisitedText="VisitedText",t.ActiveText="ActiveText",t.ButtonFace="ButtonFace",t.ButtonText="ButtonText",t.Field="Field",t.FieldText="FieldText",t.Highlight="Highlight",t.HighlightText="HighlightText",t.GrayText="GrayText"}(Yi||(Yi={})),function(t){t.single="single",t.multi="multi"}(Zi||(Zi={}));class eo extends St{constructor(){super(...arguments),this.expandmode=Zi.multi,this.activeItemIndex=0,this.change=()=>{this.$emit("change")},this.setItems=()=>{this.accordionIds=this.getItemIds(),this.accordionItems.forEach((t,e)=>{t instanceof ce&&(t.addEventListener("change",this.activeItemChange),this.isSingleExpandMode()&&(this.activeItemIndex!==e?t.expanded=!1:t.expanded=!0));const i=this.accordionIds[e];t.setAttribute("id","string"!=typeof i?"accordion-"+(e+1):i),this.activeid=this.accordionIds[this.activeItemIndex],t.addEventListener("keydown",this.handleItemKeyDown),t.addEventListener("focus",this.handleItemFocus)})},this.removeItemListeners=t=>{t.forEach((t,e)=>{t.removeEventListener("change",this.activeItemChange),t.removeEventListener("keydown",this.handleItemKeyDown),t.removeEventListener("focus",this.handleItemFocus)})},this.activeItemChange=t=>{const e=t.target;this.isSingleExpandMode()&&(this.resetItems(),t.target.expanded=!0),this.activeid=t.target.getAttribute("id"),this.activeItemIndex=Array.from(this.accordionItems).indexOf(e),this.change()},this.handleItemKeyDown=t=>{if(t.target!==t.currentTarget)return;const e=t.keyCode;switch(this.accordionIds=this.getItemIds(),e){case 38:t.preventDefault(),this.adjust(-1);break;case 40:t.preventDefault(),this.adjust(1);break;case 36:this.activeItemIndex=0,this.focusItem();break;case 35:this.activeItemIndex=this.accordionItems.length-1,this.focusItem()}},this.handleItemFocus=t=>{if(t.target===t.currentTarget){const e=t.target,i=this.activeItemIndex=Array.from(this.accordionItems).indexOf(e);this.activeItemIndex!==i&&-1!==i&&(this.activeItemIndex=i,this.activeid=this.accordionIds[this.activeItemIndex])}}}accordionItemsChanged(t,e){this.$fastController.isConnected&&(this.removeItemListeners(t),this.accordionIds=this.getItemIds(),this.setItems())}resetItems(){this.accordionItems.forEach((t,e)=>{t.expanded=!1})}getItemIds(){return this.accordionItems.map(t=>t.getAttribute("id"))}isSingleExpandMode(){return this.expandmode===Zi.single}adjust(t){this.activeItemIndex=Ji(0,this.accordionItems.length-1,this.activeItemIndex+t),this.focusItem()}focusItem(){const t=this.accordionItems[this.activeItemIndex];t instanceof ce&&t.expandbutton.focus()}}t([bt({attribute:"expand-mode"})],eo.prototype,"expandmode",void 0),t([S],eo.prototype,"accordionItems",void 0);const io=at`<a class="control" part="control" download="${t=>t.download}" href="${t=>t.href}" hreflang="${t=>t.hreflang}" ping="${t=>t.ping}" referrerpolicy="${t=>t.referrerpolicy}" rel="${t=>t.rel}" target="${t=>t.target}" type="${t=>t.type}" aria-atomic="${t=>t.ariaAtomic}" aria-busy="${t=>t.ariaBusy}" aria-controls="${t=>t.ariaControls}" aria-current="${t=>t.ariaCurrent}" aria-describedBy="${t=>t.ariaDescribedby}" aria-details="${t=>t.ariaDetails}" aria-disabled="${t=>t.ariaDisabled}" aria-errormessage="${t=>t.ariaErrormessage}" aria-expanded="${t=>t.ariaExpanded}" aria-flowto="${t=>t.ariaFlowto}" aria-haspopup="${t=>t.ariaHaspopup}" aria-hidden="${t=>t.ariaHidden}" aria-invalid="${t=>t.ariaInvalid}" aria-keyshortcuts="${t=>t.ariaKeyshortcuts}" aria-label="${t=>t.ariaLabel}" aria-labelledby="${t=>t.ariaLabelledby}" aria-live="${t=>t.ariaLive}" aria-owns="${t=>t.ariaOwns}" aria-relevant="${t=>t.ariaRelevant}" aria-roledescription="${t=>t.ariaRoledescription}" ${qt("control")}>${re}<span class="content" part="content"><slot ${ee("defaultSlottedContent")}></slot></span>${ne}</a>`;class oo{}t([bt({attribute:"aria-atomic",mode:"fromView"})],oo.prototype,"ariaAtomic",void 0),t([bt({attribute:"aria-busy",mode:"fromView"})],oo.prototype,"ariaBusy",void 0),t([bt({attribute:"aria-controls",mode:"fromView"})],oo.prototype,"ariaControls",void 0),t([bt({attribute:"aria-current",mode:"fromView"})],oo.prototype,"ariaCurrent",void 0),t([bt({attribute:"aria-describedby",mode:"fromView"})],oo.prototype,"ariaDescribedby",void 0),t([bt({attribute:"aria-details",mode:"fromView"})],oo.prototype,"ariaDetails",void 0),t([bt({attribute:"aria-disabled",mode:"fromView"})],oo.prototype,"ariaDisabled",void 0),t([bt({attribute:"aria-errormessage",mode:"fromView"})],oo.prototype,"ariaErrormessage",void 0),t([bt({attribute:"aria-flowto",mode:"fromView"})],oo.prototype,"ariaFlowto",void 0),t([bt({attribute:"aria-haspopup",mode:"fromView"})],oo.prototype,"ariaHaspopup",void 0),t([bt({attribute:"aria-hidden",mode:"fromView"})],oo.prototype,"ariaHidden",void 0),t([bt({attribute:"aria-invalid",mode:"fromView"})],oo.prototype,"ariaInvalid",void 0),t([bt({attribute:"aria-keyshortcuts",mode:"fromView"})],oo.prototype,"ariaKeyshortcuts",void 0),t([bt({attribute:"aria-label",mode:"fromView"})],oo.prototype,"ariaLabel",void 0),t([bt({attribute:"aria-labelledby",mode:"fromView"})],oo.prototype,"ariaLabelledby",void 0),t([bt({attribute:"aria-live",mode:"fromView"})],oo.prototype,"ariaLive",void 0),t([bt({attribute:"aria-owns",mode:"fromView"})],oo.prototype,"ariaOwns",void 0),t([bt({attribute:"aria-relevant",mode:"fromView"})],oo.prototype,"ariaRelevant",void 0),t([bt({attribute:"aria-roledescription",mode:"fromView"})],oo.prototype,"ariaRoledescription",void 0);class so extends St{}t([bt],so.prototype,"download",void 0),t([bt],so.prototype,"href",void 0),t([bt],so.prototype,"hreflang",void 0),t([bt],so.prototype,"ping",void 0),t([bt],so.prototype,"referrerpolicy",void 0),t([bt],so.prototype,"rel",void 0),t([bt],so.prototype,"target",void 0),t([bt],so.prototype,"type",void 0),t([S],so.prototype,"defaultSlottedContent",void 0);class no{}t([bt({attribute:"aria-expanded",mode:"fromView"})],no.prototype,"ariaExpanded",void 0),le(no,oo),le(so,se,no);const ro=at`<template class="${t=>t.initialLayoutComplete?"loaded":""}">${Ut(t=>t.initialLayoutComplete,at`<slot></slot>`)}</template>`;function ao(t){const e=t.parentElement;if(e)return e;{const e=t.getRootNode();if(e.host instanceof HTMLElement)return e.host}return null}class lo{constructor(t){this.listenerCache=new WeakMap,this.query=t}bind(t){const{query:e}=this,i=this.constructListener(t);i.bind(e)(),e.addListener(i),this.listenerCache.set(t,i)}unbind(t){const e=this.listenerCache.get(t);e&&(this.query.removeListener(e),this.listenerCache.delete(t))}}class co extends lo{constructor(t,e){super(t),this.styles=e}static with(t){return e=>new co(t,e)}constructListener(t){let e=!1;const i=this.styles;return function(){const{matches:o}=this;o&&!e?(t.$fastController.addStyles(i),e=o):!o&&e&&(t.$fastController.removeStyles(i),e=o)}}unbind(t){super.unbind(t),t.$fastController.removeStyles(this.styles)}}function ho(t){return co.with(t)}const uo=co.with(window.matchMedia("(forced-colors)")),po=co.with(window.matchMedia("(prefers-color-scheme: dark)")),go=co.with(window.matchMedia("(prefers-color-scheme: light)"));class fo{constructor(t,e,i){this.propertyName=t,this.value=e,this.styles=i}bind(t){C.getNotifier(t).subscribe(this,this.propertyName),this.handleChange(t,this.propertyName)}unbind(t){C.getNotifier(t).unsubscribe(this,this.propertyName),t.$fastController.removeStyles(this.styles)}handleChange(t,e){t[e]===this.value?t.$fastController.addStyles(this.styles):t.$fastController.removeStyles(this.styles)}}const vo="not-allowed",bo=":host([hidden]){display:none}";function mo(t){return`${bo}:host{display:${t}}`}const yo=function(){if(!0===(t=Wi)||!1===t||Ce(t)&&"[object Boolean]"==we(t))return Wi;var t;if("undefined"==typeof window||!window.document||!window.document.createElement)return Wi=!1,Wi;const e=document.createElement("style"),i=function(){const t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null}();null!==i&&e.setAttribute("nonce",i),document.head.appendChild(e);try{e.sheet.insertRule("foo:focus-visible {color:inherit}",0),Wi=!0}catch(t){Wi=!1}finally{document.head.removeChild(e)}return Wi}()?"focus-visible":"focus";class xo{constructor(){this.queue=new Set,this.customPropertyTarget=null,this._owner=null,this.ticking=!1,this.cssCustomPropertyDefinitions=new Map}get owner(){return this._owner}register(t){const e=this.cssCustomPropertyDefinitions.get(t.name);e?e.count+=1:(this.cssCustomPropertyDefinitions.set(t.name,Object.assign(Object.assign({},t),{count:1})),this.set(t))}unregister(t){const e=this.cssCustomPropertyDefinitions.get(t);e&&(e.count-=1,0===e.count&&(this.cssCustomPropertyDefinitions.delete(t),this.remove(t)))}set(t){this.owner&&(this.customPropertyTarget?this.customPropertyTarget.setProperty("--"+t.name,this.owner.evaluate(t)):this.queue.add(this.set.bind(this,t)))}remove(t){this.customPropertyTarget?this.customPropertyTarget.removeProperty("--"+t):this.queue.add(this.remove.bind(this,t))}setAll(){this.ticking||(this.ticking=!0,d.queueUpdate(()=>{this.ticking=!1,this.cssCustomPropertyDefinitions.forEach(t=>{this.set(t)})}))}}class $o extends xo{constructor(t){super(),this.subscribers=new Set,this.sheet=t,this.styles=lt.create([t]),this.customPropertyTarget=t.cssRules[t.insertRule(":host{}")].style}subscribe(t){this.subscribers.add(t),1===this.subscribers.size&&(this._owner=t),t.cssCustomPropertyDefinitions.forEach(t=>{this.register(t)}),t.$fastController.addStyles(this.styles)}unsubscribe(t){this.subscribers.delete(t),t.cssCustomPropertyDefinitions.forEach(t=>this.unregister(t.name)),this.owner===t&&(this._owner=this.subscribers.size?this.subscribers.values().next().value:null),!this.sheet.ownerNode&&this.styles&&t.$fastController.removeStyles(this.styles)}isSubscribed(t){return this.subscribers.has(t)}}class wo extends xo{constructor(t,e){super(),this._sheet=null,this.handleConnection={handleChange:()=>{var t;this._sheet=this.styles.sheet;const e=this.sheet.insertRule(":host{}");this.customPropertyTarget=this.sheet.rules[e].style,C.getNotifier(null===(t=this._owner)||void 0===t?void 0:t.$fastController).unsubscribe(this.handleConnection,"isConnected")}};const i=e.$fastController;i.addStyles(t),this.styles=t,this._owner=e,e.isConnected?this.handleConnection.handleChange():C.getNotifier(i).subscribe(this.handleConnection,"isConnected"),e.cssCustomPropertyDefinitions.forEach(t=>{this.register(t)})}get sheet(){return this._sheet}customPropertyTargetChanged(t,e){!t&&this.queue.size&&(this.queue.forEach(t=>t()),this.queue.clear())}}function Co(t){const e=t.provider;return null!=e&&To.isDesignSystemProvider(e)}t([S],wo.prototype,"customPropertyTarget",void 0);const ko={bind(t){t.provider=To.findProvider(t)},unbind(t){}};class To extends St{constructor(){super(),this.isDesignSystemProvider=!0,this.designSystem={},this.useDefaults=!1,this.provider=null,this.cssCustomPropertyDefinitions=new Map,this.attributeChangeHandler={handleChange:(t,e)=>{const i=this[e],o=this.customPropertyManager;if(this.isValidDesignSystemValue(i)){this.designSystem[e]=i;const t=this.designSystemProperties[e];t&&t.cssCustomProperty&&o&&o.set({name:t.cssCustomProperty,value:i})}else{this.syncDesignSystemWithProvider();const t=this.designSystemProperties[e].cssCustomProperty;o&&("string"==typeof t&&o.remove(t),o.setAll())}}},this.localDesignSystemChangeHandler={handleChange:()=>{const t=this.customPropertyManager;t&&t.owner===this&&t.setAll()}},this.providerDesignSystemChangeHandler={handleChange:(t,e)=>{t[e]===this.designSystem[e]||this.isValidDesignSystemValue(this[e])||(this.designSystem[e]=t[e])}},d.supportsAdoptedStyleSheets?this.customPropertyManager=new $o(new CSSStyleSheet):this.customPropertyManager=new wo(document.createElement("style"),this),void 0===this.designSystemProperties&&(this.designSystemProperties={}),this.$fastController.addBehaviors([ko])}static get tagNames(){return To._tagNames}static isDesignSystemProvider(t){return t.isDesignSystemProvider||-1!==To.tagNames.indexOf(t.tagName)}static findProvider(t){if(Co(t))return t.provider;let e=ao(t);for(;null!==e;){if(To.isDesignSystemProvider(e))return t.provider=e,e;if(Co(e))return t.provider=e.provider,e.provider;e=ao(e)}return null}static registerTagName(t){const e=t.toUpperCase();-1===To.tagNames.indexOf(e)&&To._tagNames.push(e)}useDefaultsChanged(){if(this.useDefaults){const t=this.designSystemProperties;Object.keys(t).forEach(e=>{void 0===this[e]&&(this[e]=t[e].default)})}}providerChanged(t,e){if(t instanceof HTMLElement){const e=C.getNotifier(t.designSystem);C.getAccessors(t.designSystem).forEach(t=>{e.unsubscribe(this.providerDesignSystemChangeHandler,t.name)})}if(e instanceof HTMLElement&&To.isDesignSystemProvider(e)){const t=C.getNotifier(e.designSystem),i=C.getAccessors(this.designSystem).reduce((t,e)=>Object.assign(Object.assign({},t),{[e.name]:e}),{}),o=C.getNotifier(this.designSystem);C.getAccessors(e.designSystem).forEach(e=>{t.subscribe(this.providerDesignSystemChangeHandler,e.name),i[e.name]||(S(this.designSystem,e.name),o.subscribe(this.localDesignSystemChangeHandler,e.name))}),this.syncDesignSystemWithProvider()}}customPropertyManagerChanged(t,e){t&&t.unsubscribe&&t.unsubscribe(this),e.subscribe&&e.subscribe(this)}connectedCallback(){super.connectedCallback(),this.customPropertyManager.subscribe&&this.customPropertyManager.isSubscribed&&!this.customPropertyManager.isSubscribed(this)&&this.customPropertyManager.subscribe(this);const t=C.getNotifier(this),e=C.getNotifier(this.designSystem);if(Object.keys(this.designSystemProperties).forEach(i=>{S(this.designSystem,i),t.subscribe(this.attributeChangeHandler,i),e.subscribe(this.localDesignSystemChangeHandler,i);const o=this[i];if(this.isValidDesignSystemValue(o)){this.designSystem[i]=o;const{cssCustomProperty:t}=this.designSystemProperties[i];"string"==typeof t&&this.customPropertyManager&&this.customPropertyManager.owner===this&&this.customPropertyManager.set({name:t,value:this[i]})}}),Array.isArray(this.disconnectedCSSCustomPropertyRegistry)){for(let t=0;t<this.disconnectedCSSCustomPropertyRegistry.length;t++)this.registerCSSCustomProperty(this.disconnectedCSSCustomPropertyRegistry[t]);delete this.disconnectedCSSCustomPropertyRegistry}if(Array.isArray(this.disconnectedRegistry)){for(let t=0;t<this.disconnectedRegistry.length;t++)this.disconnectedRegistry[t](this);delete this.disconnectedRegistry}}disconnectedCallback(){super.disconnectedCallback(),this.customPropertyManager.unsubscribe&&this.customPropertyManager.unsubscribe(this)}registerCSSCustomProperty(t){this.cssCustomPropertyDefinitions.set(t.name,t),this.customPropertyManager.register(t)}unregisterCSSCustomProperty(t){this.cssCustomPropertyDefinitions.delete(t.name),this.customPropertyManager.unregister(t.name)}evaluate(t){return"function"==typeof t.value?t.value(Object.assign({},this.designSystem)):t.value}syncDesignSystemWithProvider(){if(this.provider){const t=C.getAccessors(this.designSystem).reduce((t,e)=>(t[e.name]=e,t),{});C.getAccessors(this.provider.designSystem).forEach(e=>{var i;this.designSystemProperties.hasOwnProperty(e.name)&&this.isValidDesignSystemValue(this[e.name])||!this.isValidDesignSystemValue(null===(i=this.provider)||void 0===i?void 0:i.designSystem[e.name])||(t[e.name]||C.defineProperty(this.designSystem,e.name),this.designSystem[e.name]=this.provider.designSystem[e.name])})}}isValidDesignSystemValue(t){return null!=t}}function Io(t){return e=>{Ft(t)(e),e.registerTagName("string"==typeof t?t:t.name)}}To._tagNames=[],t([bt({attribute:"use-defaults",mode:"boolean"})],To.prototype,"useDefaults",void 0),t([S],To.prototype,"provider",void 0),t([S],To.prototype,"customPropertyManager",void 0);const So=Io;function Fo(t){return(e,i)=>{((t,e,i)=>{const{cssCustomProperty:o,attribute:s}=i;t.designSystemProperties||(t.designSystemProperties={}),!1===s?S(t,e):(void 0===i.mode&&(i=Object.assign(Object.assign({},i),{mode:"fromView"})),bt(i)(t,e)),t.designSystemProperties[e]={cssCustomProperty:!1!==o&&("string"==typeof o?o:"string"==typeof s?s:e),default:i.default}})(e,i,t)}}const Do=at`<slot></slot>`;class Po{constructor(t,e){this.cache=new WeakMap,this.ltr=t,this.rtl=e}bind(t){const e=To.findProvider(t);null!==e&&(e.$fastController&&e.$fastController.isConnected?this.attach(t,e):(Array.isArray(e.disconnectedRegistry)||(e.disconnectedRegistry=[]),e.disconnectedRegistry.push(this.attach.bind(this,t))))}unbind(t){const e=this.cache.get(t);e&&C.getNotifier(e[0].designSystem).unsubscribe(e[1])}attach(t,e){const i=new Eo(this.ltr,this.rtl,t);C.getNotifier(e.designSystem).subscribe(i,"direction"),i.attach(e.designSystem.direction),this.cache.set(t,[e,i])}}class Eo{constructor(t,e,i){this.ltr=t,this.rtl=e,this.source=i,this.attached=null}handleChange(t){this.attach(t.direction)}attach(t){this.attached!==this[t]&&(null!==this.attached&&this.source.$fastController.removeStyles(this.attached),this.attached=this[t],null!==this.attached&&this.source.$fastController.addStyles(this.attached))}}const Ao=t=>{const e=t.closest("[dir]");return null!==e&&"rtl"===e.dir?Xi.rtl:Xi.ltr};function Oo(t,e,i){return t.nodeType!==Node.TEXT_NODE||"string"==typeof t.nodeValue&&!!t.nodeValue.trim().length}class Ro extends St{constructor(){super(...arguments),this.anchor="",this.viewport="",this.horizontalPositioningMode="uncontrolled",this.horizontalDefaultPosition="unset",this.horizontalInset=!1,this.horizontalScaling="content",this.verticalPositioningMode="uncontrolled",this.verticalDefaultPosition="unset",this.verticalInset=!1,this.verticalScaling="content",this.fixedPlacement=!1,this.autoUpdateMode="anchor",this.anchorElement=null,this.viewportElement=null,this.initialLayoutComplete=!1,this.resizeDetector=null,this.pendingPositioningUpdate=!1,this.pendingLayoutUpdate=!1,this.pendingReset=!1,this.currentDirection=Xi.ltr,this.regionVisible=!1,this.updateThreshold=.5,this.update=()=>{null!==this.viewportRect&&null!==this.regionDimension?this.requestPositionUpdates():this.requestLayoutUpdate()},this.updateAnchorOffset=(t,e)=>{this.anchorLeft=this.anchorLeft+t,this.anchorRight=this.anchorRight+t,this.anchorTop=this.anchorTop+e,this.anchorBottom=this.anchorBottom+e,this.updateLayout()},this.startObservers=()=>{this.stopObservers(),null!==this.anchorElement&&(this.requestPositionUpdates(),null!==this.resizeDetector&&this.resizeDetector.observe(this.anchorElement))},this.requestPositionUpdates=()=>{null===this.anchorElement||this.pendingPositioningUpdate||(Ro.intersectionService.requestPosition(this,this.handleIntersection),Ro.intersectionService.requestPosition(this.anchorElement,this.handleIntersection),null!==this.viewportElement&&Ro.intersectionService.requestPosition(this.viewportElement,this.handleIntersection),this.pendingPositioningUpdate=!0)},this.stopObservers=()=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,Ro.intersectionService.cancelRequestPosition(this,this.handleIntersection),null!==this.anchorElement&&Ro.intersectionService.cancelRequestPosition(this.anchorElement,this.handleIntersection),null!==this.viewportElement&&Ro.intersectionService.cancelRequestPosition(this.viewportElement,this.handleIntersection)),null!==this.resizeDetector&&this.resizeDetector.disconnect()},this.getViewport=()=>"string"!=typeof this.viewport||""===this.viewport?document.documentElement:document.getElementById(this.viewport),this.getAnchor=()=>document.getElementById(this.anchor),this.handleIntersection=t=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,this.applyIntersectionEntries(t)&&null!==this.regionRect&&(this.initialLayoutComplete||(this.containingBlockHeight=this.regionRect.height,this.containingBlockWidth=this.regionRect.width),this.updateRegionOffset(this.regionRect),this.updateLayout()))},this.applyIntersectionEntries=t=>{let e=t.find(t=>t.target===this),i=t.find(t=>t.target===this.anchorElement),o=t.find(t=>t.target===this.viewportElement);return void 0!==e&&void 0!==o&&void 0!==i&&(!!(null===this.regionRect||null===this.anchorRect||null===this.viewportRect||this.isRectDifferent(this.anchorRect,i.boundingClientRect)||this.isRectDifferent(this.viewportRect,o.boundingClientRect)||this.isRectDifferent(this.regionRect,e.boundingClientRect))&&(this.regionRect=e.boundingClientRect,this.anchorRect=i.boundingClientRect,this.viewportRect=o.boundingClientRect,this.handleRegionIntersection(e),this.handleAnchorIntersection(i),!0))},this.isRectDifferent=(t,e)=>Math.abs(t.top-e.top)>this.updateThreshold||Math.abs(t.right-e.right)>this.updateThreshold||Math.abs(t.bottom-e.bottom)>this.updateThreshold||Math.abs(t.left-e.left)>this.updateThreshold,this.handleAnchorIntersection=t=>{this.anchorTop=t.boundingClientRect.top,this.anchorRight=t.boundingClientRect.right,this.anchorBottom=t.boundingClientRect.bottom,this.anchorLeft=t.boundingClientRect.left,this.anchorHeight=t.boundingClientRect.height,this.anchorWidth=t.boundingClientRect.width},this.handleRegionIntersection=t=>{const e=t.boundingClientRect;this.regionDimension={height:e.height,width:e.width}},this.handleResize=t=>{this.initialLayoutComplete&&this.update()},this.reset=()=>{this.pendingReset&&(this.pendingReset=!1,null===this.anchorElement&&(this.anchorElement=this.getAnchor()),null===this.viewportElement&&(this.viewportElement=this.getViewport()),this.currentDirection=Ao(this),this.startObservers())},this.updateLayout=()=>{this.pendingLayoutUpdate=!1;let t="undefined",e="undefined";if("uncontrolled"!==this.horizontalPositioningMode){const t=this.getHorizontalPositioningOptions();if("unset"!==this.horizontalDefaultPosition){let t=this.horizontalDefaultPosition;if("start"===t||"end"===t){const e=Ao(this);if(e!==this.currentDirection)return this.currentDirection=e,void this.initialize();t=this.currentDirection===Xi.ltr?"start"===t?"left":"right":"start"===t?"right":"left"}switch(t){case"left":e=this.horizontalInset?"insetLeft":"left";break;case"right":e=this.horizontalInset?"insetRight":"right"}}const i=void 0!==this.horizontalThreshold?this.horizontalThreshold:this.regionDimension.width;("undefined"===e||"locktodefault"!==this.horizontalPositioningMode&&this.getAvailableWidth(e)<i)&&(e=this.getAvailableWidth(t[0])>this.getAvailableWidth(t[1])?t[0]:t[1])}if("uncontrolled"!==this.verticalPositioningMode){const e=this.getVerticalPositioningOptions();if("unset"!==this.verticalDefaultPosition)switch(this.verticalDefaultPosition){case"top":t=this.verticalInset?"insetTop":"top";break;case"bottom":t=this.verticalInset?"insetBottom":"bottom"}const i=void 0!==this.verticalThreshold?this.verticalThreshold:this.regionDimension.height;("undefined"===t||"locktodefault"!==this.verticalPositioningMode&&this.getAvailableHeight(t)<i)&&(t=this.getAvailableHeight(e[0])>this.getAvailableHeight(e[1])?e[0]:e[1])}const i=this.getNextRegionDimension(e,t),o=this.horizontalPosition!==e||this.verticalPosition!==t;if(this.setHorizontalPosition(e,i),this.setVerticalPosition(t,i),this.updateRegionStyle(),!this.initialLayoutComplete)return this.initialLayoutComplete=!0,void this.requestPositionUpdates();this.regionVisible||(this.regionVisible=!0,this.style.removeProperty("pointer-events"),this.style.removeProperty("opacity"),this.classList.toggle("loaded",!0),this.$emit("loaded",this,{bubbles:!1})),o&&(this.requestPositionUpdates(),this.$emit("positionchange",this,{bubbles:!1}))},this.updateRegionStyle=()=>{this.classList.toggle("top","top"===this.verticalPosition),this.classList.toggle("bottom","bottom"===this.verticalPosition),this.classList.toggle("inset-top","insetTop"===this.verticalPosition),this.classList.toggle("inset-bottom","insetBottom"===this.verticalPosition),this.classList.toggle("left","left"===this.horizontalPosition),this.classList.toggle("right","right"===this.horizontalPosition),this.classList.toggle("inset-left","insetLeft"===this.horizontalPosition),this.classList.toggle("inset-right","insetRight"===this.horizontalPosition),this.style.position=this.fixedPlacement?"fixed":"absolute",this.style.transformOrigin=`${this.yTransformOrigin} ${this.xTransformOrigin}`,"uncontrolled"===this.horizontalPositioningMode?(this.style.width="unset",this.style.right="unset",this.style.left="unset"):(this.style.width=this.regionWidth,this.style.right=this.regionRight,this.style.left=this.regionLeft),"uncontrolled"===this.verticalPositioningMode?(this.style.height="unset",this.style.top="unset",this.style.bottom="unset"):(this.style.height=this.regionHeight,this.style.top=this.regionTop,this.style.bottom=this.regionBottom)},this.setHorizontalPosition=(t,e)=>{let i=null,o=null,s="left";switch(t){case"left":s="right",i=this.containingBlockWidth-this.baseHorizontalOffset;break;case"insetLeft":s="right",i=this.containingBlockWidth-this.anchorWidth-this.baseHorizontalOffset;break;case"insetRight":s="left",o=this.baseHorizontalOffset;break;case"right":s="left",o=this.anchorWidth+this.baseHorizontalOffset}switch(this.xTransformOrigin=s,this.regionRight=null===i?"unset":i+"px",this.regionLeft=null===o?"unset":o+"px",this.horizontalPosition=t,this.horizontalScaling){case"anchor":this.regionWidth=this.anchorWidth+"px";break;case"fill":this.regionWidth=e.width+"px";break;case"content":this.regionWidth="unset"}},this.setVerticalPosition=(t,e)=>{let i=null,o=null,s="top";switch(t){case"top":s="bottom",o=this.containingBlockHeight-this.baseVerticalOffset;break;case"insetTop":s="bottom",o=this.containingBlockHeight-this.baseVerticalOffset-this.anchorHeight;break;case"insetBottom":s="top",i=this.baseVerticalOffset;break;case"bottom":s="top",i=this.baseVerticalOffset+this.anchorHeight}switch(this.yTransformOrigin=s,this.regionTop=null===i?"unset":i+"px",this.regionBottom=null===o?"unset":o+"px",this.verticalPosition=t,this.verticalScaling){case"anchor":this.regionHeight=this.anchorHeight+"px";break;case"fill":this.regionHeight=e.height+"px";break;case"content":this.regionHeight="unset"}},this.updateRegionOffset=t=>{if("uncontrolled"===this.horizontalPositioningMode)this.baseHorizontalOffset=this.anchorLeft-t.left;else switch(this.horizontalPosition){case"undefined":this.baseHorizontalOffset=this.anchorLeft-t.left;break;case"left":this.baseHorizontalOffset=this.baseHorizontalOffset+(this.anchorLeft-t.right);break;case"insetLeft":this.baseHorizontalOffset=this.baseHorizontalOffset+(this.anchorRight-t.right);break;case"insetRight":this.baseHorizontalOffset=this.baseHorizontalOffset+(this.anchorLeft-t.left);break;case"right":this.baseHorizontalOffset=this.baseHorizontalOffset+(this.anchorRight-t.left)}if("uncontrolled"===this.verticalPositioningMode)this.baseVerticalOffset=this.anchorTop-t.top;else switch(this.verticalPosition){case"undefined":this.baseVerticalOffset=this.anchorTop-t.top;break;case"top":this.baseVerticalOffset=this.baseVerticalOffset+(this.anchorTop-t.bottom);break;case"insetTop":this.baseVerticalOffset=this.baseVerticalOffset+(this.anchorBottom-t.bottom);break;case"insetBottom":this.baseVerticalOffset=this.baseVerticalOffset+(this.anchorTop-t.top);break;case"bottom":this.baseVerticalOffset=this.baseVerticalOffset+(this.anchorBottom-t.top)}},this.getHorizontalPositioningOptions=()=>this.horizontalInset?["insetLeft","insetRight"]:["left","right"],this.getVerticalPositioningOptions=()=>this.verticalInset?["insetTop","insetBottom"]:["top","bottom"],this.getAvailableWidth=t=>{if(null!==this.viewportRect){const e=this.anchorLeft-this.viewportRect.left,i=this.viewportRect.right-(this.anchorLeft+this.anchorWidth);switch(t){case"left":return e;case"insetLeft":return e+this.anchorWidth;case"insetRight":return i+this.anchorWidth;case"right":return i}}return 0},this.getAvailableHeight=t=>{if(null!==this.viewportRect){const e=this.anchorTop-this.viewportRect.top,i=this.viewportRect.bottom-(this.anchorTop+this.anchorHeight);switch(t){case"top":return e;case"insetTop":return e+this.anchorHeight;case"insetBottom":return i+this.anchorHeight;case"bottom":return i}}return 0},this.getNextRegionDimension=(t,e)=>{const i={height:this.regionDimension.height,width:this.regionDimension.width};return"fill"===this.horizontalScaling&&(i.width=this.getAvailableWidth(t)),"fill"===this.verticalScaling&&(i.height=this.getAvailableHeight(e)),i},this.startAutoUpdateEventListeners=()=>{window.addEventListener("resize",this.update),window.addEventListener("scroll",this.update,!0),null!==this.resizeDetector&&null!==this.viewportElement&&this.resizeDetector.observe(this.viewportElement)},this.stopAutoUpdateEventListeners=()=>{window.removeEventListener("resize",this.update),window.removeEventListener("scroll",this.update),null!==this.resizeDetector&&null!==this.viewportElement&&this.resizeDetector.unobserve(this.viewportElement)}}anchorChanged(){this.initialLayoutComplete&&(this.anchorElement=this.getAnchor())}viewportChanged(){this.initialLayoutComplete&&(this.viewportElement=this.getViewport())}horizontalPositioningModeChanged(){this.requestReset()}horizontalDefaultPositionChanged(){this.updateForAttributeChange()}horizontalInsetChanged(){this.updateForAttributeChange()}horizontalThresholdChanged(){this.updateForAttributeChange()}horizontalScalingChanged(){this.updateForAttributeChange()}verticalPositioningModeChanged(){this.requestReset()}verticalDefaultPositionChanged(){this.updateForAttributeChange()}verticalInsetChanged(){this.updateForAttributeChange()}verticalThresholdChanged(){this.updateForAttributeChange()}verticalScalingChanged(){this.updateForAttributeChange()}fixedPlacementChanged(){this.$fastController.isConnected&&this.initialLayoutComplete&&this.initialize()}autoUpdateModeChanged(t,e){this.$fastController.isConnected&&this.initialLayoutComplete&&("auto"===t&&this.stopAutoUpdateEventListeners(),"auto"===e&&this.startAutoUpdateEventListeners())}anchorElementChanged(){this.requestReset()}viewportElementChanged(){this.$fastController.isConnected&&this.initialLayoutComplete&&this.initialize()}connectedCallback(){super.connectedCallback(),"auto"===this.autoUpdateMode&&this.startAutoUpdateEventListeners(),this.initialize()}disconnectedCallback(){super.disconnectedCallback(),"auto"===this.autoUpdateMode&&this.stopAutoUpdateEventListeners(),this.stopObservers(),this.disconnectResizeDetector()}adoptedCallback(){this.initialize()}disconnectResizeDetector(){null!==this.resizeDetector&&(this.resizeDetector.disconnect(),this.resizeDetector=null)}initializeResizeDetector(){this.disconnectResizeDetector(),this.resizeDetector=new window.ResizeObserver(this.handleResize)}updateForAttributeChange(){this.$fastController.isConnected&&this.initialLayoutComplete&&this.update()}initialize(){this.initializeResizeDetector(),null===this.anchorElement&&(this.anchorElement=this.getAnchor()),this.requestReset()}requestLayoutUpdate(){!1===this.pendingLayoutUpdate&&!1===this.pendingReset&&(this.pendingLayoutUpdate=!0,d.queueUpdate(()=>this.updateLayout()))}requestReset(){this.$fastController.isConnected&&!1===this.pendingReset&&(this.pendingLayoutUpdate=!1,this.setInitialState(),d.queueUpdate(()=>this.reset()),this.pendingReset=!0)}setInitialState(){this.initialLayoutComplete=!1,this.regionVisible=!1,this.regionTop="0",this.regionRight="0",this.regionBottom="0",this.regionLeft="0",this.regionWidth="100%",this.regionHeight="100%",this.xTransformOrigin="left",this.yTransformOrigin="top",this.viewportRect=null,this.regionRect=null,this.anchorRect=null,this.regionDimension={height:0,width:0},this.anchorTop=0,this.anchorRight=0,this.anchorBottom=0,this.anchorLeft=0,this.anchorHeight=0,this.anchorWidth=0,this.verticalPosition="undefined",this.horizontalPosition="undefined",this.baseHorizontalOffset=0,this.baseVerticalOffset=0,this.style.opacity="0",this.style.pointerEvents="none",this.updateRegionStyle()}}Ro.intersectionService=new class{constructor(){this.intersectionDetector=null,this.observedElements=new Map,this.requestPosition=(t,e)=>{var i;null!==this.intersectionDetector&&(this.observedElements.has(t)?null===(i=this.observedElements.get(t))||void 0===i||i.push(e):(this.observedElements.set(t,[e]),this.intersectionDetector.observe(t)))},this.cancelRequestPosition=(t,e)=>{const i=this.observedElements.get(t);if(void 0!==i){const t=i.indexOf(e);-1!==t&&i.splice(t,1)}},this.initializeIntersectionDetector=()=>{e.IntersectionObserver&&(this.intersectionDetector=new IntersectionObserver(this.handleIntersection,{root:null,rootMargin:"0px",threshold:[0,1]}))},this.handleIntersection=t=>{if(null===this.intersectionDetector)return;const e=[],i=[];t.forEach(t=>{var o;null===(o=this.intersectionDetector)||void 0===o||o.unobserve(t.target);const s=this.observedElements.get(t.target);void 0!==s&&(s.forEach(o=>{let s=e.indexOf(o);-1===s&&(s=e.length,e.push(o),i.push([])),i[s].push(t)}),this.observedElements.delete(t.target))}),e.forEach((t,e)=>{t(i[e])})},this.initializeIntersectionDetector()}},t([bt],Ro.prototype,"anchor",void 0),t([bt],Ro.prototype,"viewport",void 0),t([bt({attribute:"horizontal-positioning-mode"})],Ro.prototype,"horizontalPositioningMode",void 0),t([bt({attribute:"horizontal-default-position"})],Ro.prototype,"horizontalDefaultPosition",void 0),t([bt({attribute:"horizontal-inset",mode:"boolean"})],Ro.prototype,"horizontalInset",void 0),t([bt({attribute:"horizontal-threshold"})],Ro.prototype,"horizontalThreshold",void 0),t([bt({attribute:"horizontal-scaling"})],Ro.prototype,"horizontalScaling",void 0),t([bt({attribute:"vertical-positioning-mode"})],Ro.prototype,"verticalPositioningMode",void 0),t([bt({attribute:"vertical-default-position"})],Ro.prototype,"verticalDefaultPosition",void 0),t([bt({attribute:"vertical-inset",mode:"boolean"})],Ro.prototype,"verticalInset",void 0),t([bt({attribute:"vertical-threshold"})],Ro.prototype,"verticalThreshold",void 0),t([bt({attribute:"vertical-scaling"})],Ro.prototype,"verticalScaling",void 0),t([bt({attribute:"fixed-placement",mode:"boolean"})],Ro.prototype,"fixedPlacement",void 0),t([bt({attribute:"auto-update-mode"})],Ro.prototype,"autoUpdateMode",void 0),t([S],Ro.prototype,"anchorElement",void 0),t([S],Ro.prototype,"viewportElement",void 0),t([S],Ro.prototype,"initialLayoutComplete",void 0);const Lo=at`<template class="${t=>t.circular?"circular":""}"><div class="control" part="control" style="${t=>t.generateBadgeStyle()}"><slot></slot></div></template>`;class Ho extends St{constructor(){super(...arguments),this.generateBadgeStyle=()=>{if(!this.fill&&!this.color)return;const t=`background-color: var(--badge-fill-${this.fill});`,e=`color: var(--badge-color-${this.color});`;return this.fill&&!this.color?t:this.color&&!this.fill?e:`${e} ${t}`}}}t([bt({attribute:"fill"})],Ho.prototype,"fill",void 0),t([bt({attribute:"color"})],Ho.prototype,"color",void 0),t([bt({mode:"boolean"})],Ho.prototype,"circular",void 0);const Bo=at`<div role="listitem" class="listitem" part="listitem">${Ut(t=>t.href&&t.href.length>0,at` ${io} `)} ${Ut(t=>!t.href,at` ${re}<slot></slot>${ne} `)} ${Ut(t=>t.separator,at`<span class="separator" part="separator" aria-hidden="true"><slot name="separator">/</slot></span>`)}</div>`;class zo extends so{constructor(){super(...arguments),this.separator=!0}}t([S],zo.prototype,"separator",void 0),le(zo,se,no);const Mo=at`<template role="navigation"><div role="list" class="list" part="list"><slot ${ee({property:"slottedBreadcrumbItems",filter:Zt()})}></slot></div></template>`;class No extends St{slottedBreadcrumbItemsChanged(){if(this.$fastController.isConnected){if(void 0===this.slottedBreadcrumbItems||0===this.slottedBreadcrumbItems.length)return;const t=this.slottedBreadcrumbItems[this.slottedBreadcrumbItems.length-1];this.setItemSeparator(t),this.setLastItemAriaCurrent(t)}}setItemSeparator(t){this.slottedBreadcrumbItems.forEach(t=>{t instanceof zo&&(t.separator=!0)}),t instanceof zo&&(t.separator=!1)}findChildWithHref(t){var e,i;return t.childElementCount>0?t.querySelector("a[href]"):(null===(e=t.shadowRoot)||void 0===e?void 0:e.childElementCount)?null===(i=t.shadowRoot)||void 0===i?void 0:i.querySelector("a[href]"):null}setLastItemAriaCurrent(t){const e=this.findChildWithHref(t);null===e&&t.hasAttribute("href")&&t instanceof zo?t.ariaCurrent="page":null!==e&&e.setAttribute("aria-current","page")}}t([S],No.prototype,"slottedBreadcrumbItems",void 0);const Vo=at`<button class="control" part="control" ?autofocus="${t=>t.autofocus}" ?disabled="${t=>t.disabled}" form="${t=>t.formId}" formaction="${t=>t.formaction}" formenctype="${t=>t.formenctype}" formmethod="${t=>t.formmethod}" formnovalidate="${t=>t.formnovalidate}" formtarget="${t=>t.formtarget}" name="${t=>t.name}" type="${t=>t.type}" value="${t=>t.value}" aria-atomic="${t=>t.ariaAtomic}" aria-busy="${t=>t.ariaBusy}" aria-controls="${t=>t.ariaControls}" aria-current="${t=>t.ariaCurrent}" aria-describedBy="${t=>t.ariaDescribedby}" aria-details="${t=>t.ariaDetails}" aria-disabled="${t=>t.ariaDisabled}" aria-errormessage="${t=>t.ariaErrormessage}" aria-expanded="${t=>t.ariaExpanded}" aria-flowto="${t=>t.ariaFlowto}" aria-haspopup="${t=>t.ariaHaspopup}" aria-hidden="${t=>t.ariaHidden}" aria-invalid="${t=>t.ariaInvalid}" aria-keyshortcuts="${t=>t.ariaKeyshortcuts}" aria-label="${t=>t.ariaLabel}" aria-labelledby="${t=>t.ariaLabelledby}" aria-live="${t=>t.ariaLive}" aria-owns="${t=>t.ariaOwns}" aria-pressed="${t=>t.ariaPressed}" aria-relevant="${t=>t.ariaRelevant}" aria-roledescription="${t=>t.ariaRoledescription}" ${qt("control")}>${re}<span class="content" part="content"><slot ${ee("defaultSlottedContent")}></slot></span>${ne}</button>`,jo="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,_o=new Map;function qo(t){const e=class extends t{constructor(...t){super(...t),this.dirtyValue=!1,this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.formDisabledCallback=t=>{this.disabled=t},this.formResetCallback=()=>{this.value=this.initialValue,this.dirtyValue=!1},this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||""}static get formAssociated(){return jo}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const t=this.proxy.labels,e=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),i=t?e.concat(Array.from(t)):e;return Object.freeze(i)}return i}valueChanged(t,e){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.setFormValue(this.value),this.validate()}initialValueChanged(t,e){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),d.queueUpdate(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),d.queueUpdate(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!jo)return null;let t=_o.get(this);return t||(t=this.attachInternals(),_o.set(this,t)),t}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback)}disconnectedCallback(){this.proxyEventsToBlock.forEach(t=>this.proxy.removeEventListener(t,this.stopPropagation)),this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(t,e,i){this.elementInternals?this.elementInternals.setValidity(t,e,i):"string"==typeof e&&this.proxy.setCustomValidity(e)}attachProxy(){var t;this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach(t=>this.proxy.addEventListener(t,this.stopPropagation)),this.proxy.disabled=this.disabled,this.proxy.required=this.required,"string"==typeof this.name&&(this.proxy.name=this.name),"string"==typeof this.value&&(this.proxy.value=this.value),this.proxy.setAttribute("slot","form-associated-proxy"),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name","form-associated-proxy")),null===(t=this.shadowRoot)||void 0===t||t.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var t;this.removeChild(this.proxy),null===(t=this.shadowRoot)||void 0===t||t.removeChild(this.proxySlot)}validate(){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage)}setFormValue(t,e){this.elementInternals&&this.elementInternals.setFormValue(t,e||t)}_keypressHandler(t){switch(t.keyCode){case 13:if(this.form instanceof HTMLFormElement){const t=this.form.querySelector("[type=submit]");null==t||t.click()}}}stopPropagation(t){t.stopPropagation()}};return bt({mode:"boolean"})(e.prototype,"disabled"),bt({mode:"fromView",attribute:"value"})(e.prototype,"initialValue"),bt(e.prototype,"name"),bt({mode:"boolean"})(e.prototype,"required"),S(e.prototype,"value"),e}class Uo extends St{}class Go extends(qo(Uo)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Wo extends Go{constructor(){super(...arguments),this.handleSubmission=()=>{if(!this.form)return;const t=this.proxy.isConnected;t||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),t||this.detachProxy()},this.handleFormReset=()=>{var t;null===(t=this.form)||void 0===t||t.reset()}}formactionChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formAction=this.formaction)}formenctypeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formEnctype=this.formenctype)}formmethodChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formMethod=this.formmethod)}formnovalidateChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formNoValidate=this.formnovalidate)}formtargetChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formTarget=this.formtarget)}typeChanged(t,e){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),"submit"===e&&this.addEventListener("click",this.handleSubmission),"submit"===t&&this.removeEventListener("click",this.handleSubmission),"reset"===e&&this.addEventListener("click",this.handleFormReset),"reset"===t&&this.removeEventListener("click",this.handleFormReset)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}get root(){return this.control}}t([bt({mode:"boolean"})],Wo.prototype,"autofocus",void 0),t([bt({attribute:"form"})],Wo.prototype,"formId",void 0),t([bt],Wo.prototype,"formaction",void 0),t([bt],Wo.prototype,"formenctype",void 0),t([bt],Wo.prototype,"formmethod",void 0),t([bt({mode:"boolean"})],Wo.prototype,"formnovalidate",void 0),t([bt],Wo.prototype,"formtarget",void 0),t([bt],Wo.prototype,"type",void 0),t([S],Wo.prototype,"defaultSlottedContent",void 0);class Ko{}t([bt({attribute:"aria-expanded",mode:"fromView"})],Ko.prototype,"ariaExpanded",void 0),t([bt({attribute:"aria-pressed",mode:"fromView"})],Ko.prototype,"ariaPressed",void 0),le(Ko,oo),le(Wo,se,Ko);const Qo=at`<slot></slot>`;class Xo extends St{}const Yo=at`<template role="checkbox" aria-checked="${t=>t.checked}" aria-required="${t=>t.required}" aria-disabled="${t=>t.disabled}" aria-readonly="${t=>t.readOnly}" tabindex="${t=>t.disabled?null:0}" @keypress="${(t,e)=>t.keypressHandler(e.event)}" @click="${(t,e)=>t.clickHandler(e.event)}" class="${t=>t.readOnly?"readonly":""} ${t=>t.checked?"checked":""} ${t=>t.indeterminate?"indeterminate":""}"><div part="control" class="control"><slot name="checked-indicator"><svg aria-hidden="true" part="checked-indicator" class="checked-indicator" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.143 12.6697L15.235 4.5L16.8 5.90363L8.23812 15.7667L3.80005 11.2556L5.27591 9.7555L8.143 12.6697Z" /></svg></slot><slot name="indeterminate-indicator"><div part="indeterminate-indicator" class="indeterminate-indicator"></div></slot></div><label part="label" class="${t=>t.defaultSlottedNodes&&t.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${ee("defaultSlottedNodes")}></slot></label></template>`;class Zo extends St{}class Jo extends(qo(Zo)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class ts extends Jo{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.dirtyChecked=!1,this.constructed=!1,this.formResetCallback=()=>{this.checked=this.checkedAttribute,this.dirtyChecked=!1},this.keypressHandler=t=>{switch(t.keyCode){case 32:this.checked=!this.checked}},this.clickHandler=t=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.defaultChecked=!!this.checkedAttribute,this.checked=this.defaultChecked,this.constructed=!0}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(){this.dirtyChecked||(this.dirtyChecked=!0),this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),this.constructed&&this.$emit("change"),this.validate()}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","checkbox"),this.updateForm()}updateForm(){const t=this.checked?this.value:null;this.setFormValue(t,t)}}var es,is,os,ss;function ns(t){return Gi(t)&&("option"===t.getAttribute("role")||t instanceof HTMLOptionElement)}t([bt({attribute:"readonly",mode:"boolean"})],ts.prototype,"readOnly",void 0),t([bt({attribute:"checked",mode:"boolean"})],ts.prototype,"checkedAttribute",void 0),t([S],ts.prototype,"defaultSlottedNodes",void 0),t([S],ts.prototype,"defaultChecked",void 0),t([S],ts.prototype,"checked",void 0),t([S],ts.prototype,"indeterminate",void 0),function(t){t.above="above",t.below="below"}(es||(es={})),function(t){t.combobox="combobox"}(is||(is={}));class rs extends St{constructor(t,e,i,o){super(),this.defaultSelected=!1,this.dirtySelected=!1,this.selected=this.defaultSelected,this.dirtyValue=!1,this.initialValue=this.initialValue||"",t&&(this.textContent=t),e&&(this.initialValue=e),i&&(this.defaultSelected=i),o&&(this.selected=o),this.proxy=new Option(""+this.textContent,this.initialValue,this.defaultSelected,this.selected),this.proxy.disabled=this.disabled}defaultSelectedChanged(){this.dirtySelected||(this.selected=this.defaultSelected,this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.defaultSelected))}disabledChanged(t,e){this.proxy instanceof HTMLOptionElement&&(this.proxy.disabled=this.disabled)}selectedAttributeChanged(){this.defaultSelected=this.selectedAttribute,this.proxy instanceof HTMLOptionElement&&(this.proxy.defaultSelected=this.defaultSelected)}selectedChanged(){this.$fastController.isConnected&&(this.dirtySelected||(this.dirtySelected=!0),this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.selected))}initialValueChanged(t,e){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}get label(){return this.value?this.value:this.textContent?this.textContent:""}get text(){return this.textContent}set value(t){this._value=t,this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=t),C.notify(this,"value")}get value(){return C.track(this,"value"),this._value?this._value:this.text}get form(){return this.proxy?this.proxy.form:null}}t([S],rs.prototype,"defaultSelected",void 0),t([bt({mode:"boolean"})],rs.prototype,"disabled",void 0),t([bt({attribute:"selected",mode:"boolean"})],rs.prototype,"selectedAttribute",void 0),t([S],rs.prototype,"selected",void 0),t([bt({attribute:"value",mode:"fromView"})],rs.prototype,"initialValue",void 0),le(rs,se),function(t){t.listbox="listbox"}(os||(os={}));class as extends St{constructor(){super(...arguments),this.selectedIndex=-1,this.typeaheadBuffer="",this.typeaheadTimeout=-1,this.typeAheadExpired=!0,this.role=os.listbox,this._options=[],this.selectedOptions=[],this.shouldSkipFocus=!1,this.handleTypeAhead=t=>{this.typeaheadTimeout&&window.clearTimeout(this.typeaheadTimeout),this.typeaheadTimeout=window.setTimeout(()=>this.typeAheadExpired=!0,as.TYPE_AHEAD_TIMEOUT_MS),t.length>1||(this.typeaheadBuffer=`${this.typeAheadExpired?"":this.typeaheadBuffer}${t}`)}}selectedIndexChanged(t,e){this.setSelectedOptions()}typeaheadBufferChanged(t,e){if(this.$fastController.isConnected){const t=this.typeaheadBuffer.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),e=new RegExp("^"+t,"gi"),i=this.options.filter(t=>t.text.trim().match(e));if(i.length){const t=this.options.indexOf(i[0]);t>-1&&(this.selectedIndex=t)}this.typeAheadExpired=!1}}slottedOptionsChanged(t,e){this.$fastController.isConnected&&(this.options=e.reduce((t,e)=>(ns(e)&&t.push(e),t),[]),this.options.forEach(t=>{t.id=t.id||Ui("option-")}),this.setSelectedOptions(),this.setDefaultSelectedOption())}get options(){return C.track(this,"options"),this._options}set options(t){this._options=t,C.notify(this,"options")}selectedOptionsChanged(t,e){this.$fastController.isConnected&&this.options.forEach(t=>{t.selected=e.includes(t)})}get firstSelectedOption(){return this.selectedOptions[0]}focusAndScrollOptionIntoView(){this.contains(document.activeElement)&&this.firstSelectedOption&&(this.firstSelectedOption.focus(),requestAnimationFrame(()=>{this.firstSelectedOption.scrollIntoView({block:"nearest"})}))}focusinHandler(t){this.shouldSkipFocus||t.target!==t.currentTarget||(this.setSelectedOptions(),this.focusAndScrollOptionIntoView()),this.shouldSkipFocus=!1}mousedownHandler(t){return this.shouldSkipFocus=!this.contains(document.activeElement),!0}setDefaultSelectedOption(){if(this.options&&this.$fastController.isConnected){const t=this.options.findIndex(t=>null!==t.getAttribute("selected"));if(-1!==t)return void(this.selectedIndex=t);this.selectedIndex=0}}setSelectedOptions(){if(this.$fastController.isConnected&&this.options){const t=this.options[this.selectedIndex]||null;this.selectedOptions=this.options.filter(e=>e.isSameNode(t)),this.ariaActiveDescendant=this.firstSelectedOption?this.firstSelectedOption.id:"",this.focusAndScrollOptionIntoView()}}selectFirstOption(){this.disabled||(this.selectedIndex=0)}selectLastOption(){this.disabled||(this.selectedIndex=this.options.length-1)}selectNextOption(){!this.disabled&&this.options&&this.selectedIndex<this.options.length-1&&(this.selectedIndex+=1)}get length(){return this.options?this.options.length:0}selectPreviousOption(){!this.disabled&&this.selectedIndex>0&&(this.selectedIndex=this.selectedIndex-1)}clickHandler(t){const e=t.target.closest("option,[role=option]");if(e&&!e.disabled)return this.selectedIndex=this.options.indexOf(e),!0}keydownHandler(t){if(this.disabled)return!0;this.shouldSkipFocus=!1;const e=t.key;switch(e){case"Home":t.shiftKey||(t.preventDefault(),this.selectFirstOption());break;case"ArrowDown":t.shiftKey||(t.preventDefault(),this.selectNextOption());break;case"ArrowUp":t.shiftKey||(t.preventDefault(),this.selectPreviousOption());break;case"End":t.preventDefault(),this.selectLastOption();break;case"Tab":return this.focusAndScrollOptionIntoView(),!0;case"Enter":case"Escape":return!0;case" ":if(this.typeAheadExpired)return!0;default:return 1===e.length&&this.handleTypeAhead(""+e),!0}}}as.TYPE_AHEAD_TIMEOUT_MS=1e3,as.slottedOptionFilter=t=>ns(t)&&!t.disabled&&!t.hidden,t([S],as.prototype,"selectedIndex",void 0),t([S],as.prototype,"typeaheadBuffer",void 0),t([bt],as.prototype,"role",void 0),t([bt({mode:"boolean"})],as.prototype,"disabled",void 0),t([S],as.prototype,"slottedOptions",void 0),t([S],as.prototype,"selectedOptions",void 0);class ls{constructor(){this.ariaActiveDescendant=""}}t([S],ls.prototype,"ariaActiveDescendant",void 0),t([S],ls.prototype,"ariaDisabled",void 0),t([S],ls.prototype,"ariaExpanded",void 0),le(ls,oo),le(as,ls);class cs extends as{}class ds extends(qo(cs)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}!function(t){t.inline="inline",t.list="list",t.both="both",t.none="none"}(ss||(ss={}));class hs extends ds{constructor(){super(...arguments),this._value="",this.filteredOptions=[],this.filter="",this.forcedPosition=!1,this.formResetCallback=()=>{this.value=this.initialValue,this.dirtyValue=!1,this.setDefaultSelectedOption(),this.updateValue()},this.listboxId=Ui("listbox-"),this.maxHeight=0,this.open=!1,this.position=es.below,this.role=is.combobox}get isAutocompleteInline(){return this.autocomplete===ss.inline||this.isAutocompleteBoth}get isAutocompleteList(){return this.autocomplete===ss.list||this.isAutocompleteBoth}get isAutocompleteBoth(){return this.autocomplete===ss.both}openChanged(){this.ariaExpanded=this.open?"true":"false",this.open&&(this.setPositioning(),this.focusAndScrollOptionIntoView())}get options(){return C.track(this,"options"),this.filteredOptions.length?this.filteredOptions:this._options}set options(t){this._options=t,C.notify(this,"options")}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}get value(){return C.track(this,"value"),this._value}set value(t){var e,i,o;const s=""+this._value;if(this.$fastController.isConnected&&this.options){const s=this.options.findIndex(e=>e.text.toLowerCase()===t.toLowerCase()),n=null===(e=this.options[this.selectedIndex])||void 0===e?void 0:e.text,r=null===(i=this.options[s])||void 0===i?void 0:i.text;this.selectedIndex=n!==r?s:this.selectedIndex,t=(null===(o=this.firstSelectedOption)||void 0===o?void 0:o.text)||t}s!==t&&(this._value=t,super.valueChanged(s,t),C.notify(this,"value"))}clickHandler(t){if(!this.disabled){if(this.open){const e=t.target.closest("option,[role=option]");if(!e||e.disabled)return;this.selectedOptions=[e],this.control.value=e.text}return this.open=!this.open,this.open||this.updateValue(!0),!0}}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.value&&(this.initialValue=this.value)}disabledChanged(t,e){super.disabledChanged&&super.disabledChanged(t,e),this.ariaDisabled=this.disabled?"true":"false"}filterOptions(){this.autocomplete&&this.autocomplete!==ss.none||(this.filter="");const t=this.filter.toLowerCase();this.filteredOptions=this._options.filter(t=>t.text.toLowerCase().startsWith(this.filter.toLowerCase())),this.isAutocompleteList&&(this.filteredOptions.length||t||(this.filteredOptions=this._options),this._options.forEach(t=>{t.hidden=!this.filteredOptions.includes(t)}))}focusoutHandler(t){if(this.updateValue(),!this.open)return!0;const e=t.relatedTarget;this.isSameNode(e)?this.focus():this.options&&this.options.includes(e)||(this.open=!1)}inputHandler(t){if(this.filter=this.control.value,this.filterOptions(),"deleteContentBackward"===t.inputType||!this.filter.length)return!0;this.isAutocompleteList&&!this.open&&(this.open=!0),this.isAutocompleteInline&&this.filteredOptions.length&&(this.selectedOptions=[this.filteredOptions[0]],this.selectedIndex=this.options.indexOf(this.firstSelectedOption),this.setInlineSelection())}keydownHandler(t){const e=t.key;if(t.ctrlKey||t.shiftKey)return!0;switch(e){case"Enter":{this.updateValue(!0),this.isAutocompleteInline&&(this.filter=this.value),this.open=!1;const t=this.control.value.length;this.control.setSelectionRange(t,t);break}case"Escape":if(this.isAutocompleteInline||(this.selectedIndex=-1),this.open){this.open=!1;break}this.value="",this.control.value="",this.filter="",this.filterOptions();break;case"Tab":if(this.updateValue(),!this.open)return!0;t.preventDefault(),this.open=!1;break;case"ArrowUp":case"ArrowDown":if(this.filterOptions(),!this.open){this.open=!0;break}this.filteredOptions.length>0&&super.keydownHandler(t),this.isAutocompleteInline&&(this.updateValue(),this.setInlineSelection());break;default:return!0}}keyupHandler(t){switch(t.key){case"ArrowLeft":case"ArrowRight":case"Backspace":case"Delete":case"Home":case"End":this.filter=this.control.value,this.selectedIndex=-1,this.filterOptions()}}selectedIndexChanged(t,e){if(this.$fastController.isConnected){if((e=to(-1,this.options.length-1,e))!==this.selectedIndex)return void(this.selectedIndex=e);super.selectedIndexChanged(t,e)}}selectPreviousOption(){!this.disabled&&this.selectedIndex>=0&&(this.selectedIndex=this.selectedIndex-1)}setDefaultSelectedOption(){if(this.$fastController.isConnected&&this.options){const t=this.options.findIndex(t=>null!==t.getAttribute("selected")||t.selected);this.selectedIndex=t,!this.dirtyValue&&this.firstSelectedOption&&(this.value=this.firstSelectedOption.text),this.setSelectedOptions()}}setInlineSelection(){this.firstSelectedOption&&(this.control.value=this.firstSelectedOption.text,this.control.focus(),this.control.setSelectionRange(this.filter.length,this.control.value.length,"backward"))}setPositioning(){const t=this.getBoundingClientRect(),e=window.innerHeight-t.bottom;this.position=this.forcedPosition?this.positionAttribute:t.top>e?es.above:es.below,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===es.above?~~t.top:~~e}selectedOptionsChanged(t,e){this.$fastController.isConnected&&this._options.forEach(t=>{t.selected=e.includes(t)})}slottedOptionsChanged(t,e){super.slottedOptionsChanged(t,e),this.updateValue()}updateValue(t){var e;this.$fastController.isConnected&&(this.value=(null===(e=this.firstSelectedOption)||void 0===e?void 0:e.text)||this.control.value),t&&this.$emit("change")}}t([bt({attribute:"autocomplete",mode:"fromView"})],hs.prototype,"autocomplete",void 0),t([S],hs.prototype,"maxHeight",void 0),t([bt({attribute:"open",mode:"boolean"})],hs.prototype,"open",void 0),t([bt],hs.prototype,"placeholder",void 0),t([bt({attribute:"position"})],hs.prototype,"positionAttribute",void 0),t([S],hs.prototype,"position",void 0);class us{}t([bt({attribute:"aria-autocomplete",mode:"fromView"})],us.prototype,"ariaAutocomplete",void 0),le(us,oo),le(hs,se,us);const ps=at`<template autocomplete="${t=>t.autocomplete}" class="${t=>t.disabled?"disabled":""} ${t=>t.position}" tabindex="${t=>t.disabled?null:"0"}" aria-disabled="${t=>t.ariaDisabled}" aria-autocomplete="${t=>t.autocomplete}" @click="${(t,e)=>t.clickHandler(e.event)}" @focusout="${(t,e)=>t.focusoutHandler(e.event)}"><div class="control" part="control">${re}<slot name="control"><input class="selected-value" part="selected-value" placeholder="${t=>t.placeholder}" role="${t=>t.role}" type="text" aria-activedescendant="${t=>t.open?t.ariaActiveDescendant:null}" aria-controls="${t=>t.listboxId}" aria-expanded="${t=>t.ariaExpanded}" aria-haspopup="listbox" ?disabled="${t=>t.disabled}" :value="${t=>t.value}" @input="${(t,e)=>t.inputHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}" @keyup="${(t,e)=>t.keyupHandler(e.event)}" ${qt("control")}/><div class="indicator" part="indicator" aria-hidden="true"><slot name="indicator"><svg class="select-indicator" part="select-indicator" viewBox="0 0 12 7" xmlns="http://www.w3.org/2000/svg"><path d="M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z" /></svg></slot></div></slot>${ne}</div><div aria-disabled="${t=>t.disabled}" class="listbox" id="${t=>t.listboxId}" part="listbox" role="listbox" style="--max-height:${t=>t.maxHeight}px" ?disabled="${t=>t.disabled}" ?hidden="${t=>!t.open}"><slot ${ee({filter:as.slottedOptionFilter,flatten:!0,property:"slottedOptions"})}></slot></div></template>`;class gs{constructor(t,e,i){this.name=t,this.value=e,this.host=i,this.propertyName="--"+t,this.var=`var(${this.propertyName})`}bind(t){const e=this.host(t);null!==e&&("function"==typeof e.registerCSSCustomProperty?e.registerCSSCustomProperty(this):(Array.isArray(e.disconnectedCSSCustomPropertyRegistry)||(e.disconnectedCSSCustomPropertyRegistry=[]),e.disconnectedCSSCustomPropertyRegistry.push(this)))}unbind(t){const e=this.host(t);null!==e&&"function"==typeof e.unregisterCSSCustomProperty&&e.unregisterCSSCustomProperty(this)}}function fs(t,e,i){return new gs(t,e,i)}function vs(t){return at`<template role="grid" tabindex="0" :prefix="${t}" :defaultRowItemTemplate="${function(t){return at`<${t}-data-grid-row :rowData="${t=>t}" :cellItemTemplate="${(t,e)=>e.parent.cellItemTemplate}" :headerCellItemTemplate="${(t,e)=>e.parent.headerCellItemTemplate}"></${t}-data-grid-row>`}(t)}" ${oe({property:"rowElements",filter:Zt("[role=row]")})}><slot></slot></template>`}var bs,ms,ys;!function(t){t.none="none",t.default="default",t.sticky="sticky"}(bs||(bs={})),function(t){t.default="default",t.columnHeader="columnheader"}(ms||(ms={})),function(t){t.default="default",t.header="header",t.stickyHeader="sticky-header"}(ys||(ys={}));class xs extends St{constructor(){super(),this.generateHeader=bs.default,this.rowsData=[],this.columnDefinitions=null,this.focusRowIndex=0,this.focusColumnIndex=0,this.rowsPlaceholder=null,this.generatedHeader=null,this.isUpdatingFocus=!1,this.pendingFocusUpdate=!1,this.rowindexUpdateQueued=!1,this.columnDefinitionsStale=!0,this.generatedGridTemplateColumns="",this.focusOnCell=(t,e,i)=>{if(0===this.rowElements.length)return this.focusRowIndex=0,void(this.focusColumnIndex=0);const o=Math.max(0,Math.min(this.rowElements.length-1,t)),s=this.rowElements[o].querySelectorAll('[role="cell"], [role="gridcell"], [role="columnheader"]'),n=s[Math.max(0,Math.min(s.length-1,e))];i&&this.scrollHeight!==this.clientHeight&&(o<this.focusRowIndex&&this.scrollTop>0||o>this.focusRowIndex&&this.scrollTop<this.scrollHeight-this.clientHeight)&&n.scrollIntoView({block:"center",inline:"center"}),n.focus()},this.onChildListChange=(t,e)=>{t.length&&(t.forEach(t=>{t.addedNodes.forEach(t=>{1===t.nodeType&&"row"===t.getAttribute("role")&&(t.columnDefinitions=this.columnDefinitions)})}),this.queueRowIndexUpdate())},this.queueRowIndexUpdate=()=>{this.rowindexUpdateQueued||(this.rowindexUpdateQueued=!0,d.queueUpdate(this.updateRowIndexes))},this.updateRowIndexes=()=>{const t=void 0===this.gridTemplateColumns?this.generatedGridTemplateColumns:this.gridTemplateColumns;this.rowElements.forEach((e,i)=>{const o=e;o.rowIndex=i,o.gridTemplateColumns=t,this.columnDefinitionsStale&&(o.columnDefinitions=this.columnDefinitions)}),this.rowindexUpdateQueued=!1,this.columnDefinitionsStale=!1}}static generateTemplateColumns(t){let e="";return t.forEach(t=>{e=`${e}${""===e?"":" "}1fr`}),e}generateHeaderChanged(){this.$fastController.isConnected&&this.toggleGeneratedHeader()}gridTemplateColumnsChanged(){this.$fastController.isConnected&&this.updateRowIndexes()}rowsDataChanged(){null===this.columnDefinitions&&this.rowsData.length>0&&(this.columnDefinitions=xs.generateColumns(this.rowsData[0]))}columnDefinitionsChanged(){null!==this.columnDefinitions?(this.generatedGridTemplateColumns=xs.generateTemplateColumns(this.columnDefinitions),this.$fastController.isConnected&&(this.columnDefinitionsStale=!0,this.queueRowIndexUpdate())):this.generatedGridTemplateColumns=""}headerCellItemTemplateChanged(){this.$fastController.isConnected&&null!==this.generatedHeader&&(this.generatedHeader.headerCellItemTemplate=this.headerCellItemTemplate)}focusRowIndexChanged(){this.$fastController.isConnected&&this.queueFocusUpdate()}focusColumnIndexChanged(){this.$fastController.isConnected&&this.queueFocusUpdate()}connectedCallback(){super.connectedCallback(),void 0===this.rowItemTemplate&&(this.rowItemTemplate=this.defaultRowItemTemplate),this.rowsPlaceholder=document.createComment(""),this.appendChild(this.rowsPlaceholder),this.toggleGeneratedHeader(),this.rowsRepeatBehavior=new Xt(t=>t.rowsData,t=>t.rowItemTemplate,{positioning:!0}).createBehavior(this.rowsPlaceholder),this.$fastController.addBehaviors([this.rowsRepeatBehavior]),this.addEventListener("row-focused",this.handleRowFocus),this.addEventListener("focus",this.handleFocus),this.addEventListener("keydown",this.handleKeydown),this.addEventListener("focusout",this.handleFocusOut),this.observer=new MutationObserver(this.onChildListChange),this.observer.observe(this,{childList:!0}),d.queueUpdate(this.queueRowIndexUpdate)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("row-focused",this.handleRowFocus),this.removeEventListener("focus",this.handleFocus),this.removeEventListener("keydown",this.handleKeydown),this.removeEventListener("focusout",this.handleFocusOut),this.observer.disconnect(),this.rowsPlaceholder=null,this.generatedHeader=null}handleRowFocus(t){this.isUpdatingFocus=!0;const e=t.target;this.focusRowIndex=this.rowElements.indexOf(e),this.focusColumnIndex=e.focusColumnIndex,this.setAttribute("tabIndex","-1"),this.isUpdatingFocus=!1}handleFocus(t){this.focusOnCell(this.focusRowIndex,this.focusColumnIndex,!0)}handleFocusOut(t){null!==t.relatedTarget&&this.contains(t.relatedTarget)||this.setAttribute("tabIndex","0")}handleKeydown(t){if(t.defaultPrevented)return;let e;const i=this.rowElements.length-1,o=this.offsetHeight+this.scrollTop,s=this.rowElements[i];switch(t.keyCode){case 38:t.preventDefault(),this.focusOnCell(this.focusRowIndex-1,this.focusColumnIndex,!0);break;case 40:t.preventDefault(),this.focusOnCell(this.focusRowIndex+1,this.focusColumnIndex,!0);break;case 33:if(t.preventDefault(),0===this.rowElements.length){this.focusOnCell(0,0,!1);break}if(0===this.focusRowIndex)return void this.focusOnCell(0,this.focusColumnIndex,!1);for(e=this.focusRowIndex-1;e>=0;e--){const t=this.rowElements[e];if(t.offsetTop<this.scrollTop){this.scrollTop=t.offsetTop+t.clientHeight-this.clientHeight;break}}this.focusOnCell(e,this.focusColumnIndex,!1);break;case 34:if(t.preventDefault(),0===this.rowElements.length){this.focusOnCell(0,0,!1);break}if(this.focusRowIndex>=i||s.offsetTop+s.offsetHeight<=o)return void this.focusOnCell(i,this.focusColumnIndex,!1);for(e=this.focusRowIndex+1;e<=i;e++){const t=this.rowElements[e];if(t.offsetTop+t.offsetHeight>o){let e=0;this.generateHeader===bs.sticky&&null!==this.generatedHeader&&(e=this.generatedHeader.clientHeight),this.scrollTop=t.offsetTop-e;break}}this.focusOnCell(e,this.focusColumnIndex,!1);break;case 36:t.ctrlKey&&(t.preventDefault(),this.focusOnCell(0,0,!0));break;case 35:t.ctrlKey&&null!==this.columnDefinitions&&(t.preventDefault(),this.focusOnCell(this.rowElements.length-1,this.columnDefinitions.length-1,!0))}}queueFocusUpdate(){this.isUpdatingFocus&&(this.contains(document.activeElement)||this===document.activeElement)||!1===this.pendingFocusUpdate&&(this.pendingFocusUpdate=!0,d.queueUpdate(()=>this.updateFocus()))}updateFocus(){this.pendingFocusUpdate=!1,this.focusOnCell(this.focusRowIndex,this.focusColumnIndex,!0)}toggleGeneratedHeader(){if(null!==this.generatedHeader&&(this.removeChild(this.generatedHeader),this.generatedHeader=null),this.generateHeader!==bs.none){const t=document.createElement(this.prefix+"-data-grid-row");return this.generatedHeader=t,this.generatedHeader.columnDefinitions=this.columnDefinitions,this.generatedHeader.gridTemplateColumns=this.gridTemplateColumns,this.generatedHeader.rowType=this.generateHeader===bs.sticky?ys.stickyHeader:ys.header,void(null===this.firstChild&&null===this.rowsPlaceholder||this.insertBefore(t,null!==this.firstChild?this.firstChild:this.rowsPlaceholder))}}}function $s(t){return at`<template role="row" class="${t=>"default"!==t.rowType?t.rowType:""}" :defaultCellItemTemplate="${function(t){return at`<${t}-data-grid-cell grid-column="${(t,e)=>e.index+1}" :rowData="${(t,e)=>e.parent.rowData}" :columnDefinition="${t=>t}"></${t}-data-grid-cell>`}(t)}" :defaultHeaderCellItemTemplate="${function(t){return at`<${t}-data-grid-cell cell-type="columnheader" grid-column="${(t,e)=>e.index+1}" :columnDefinition="${t=>t}"></${t}-data-grid-cell>`}(t)}" ${oe({property:"cellElements",filter:Zt('[role="cell"],[role="gridcell"],[role="columnheader"]')})}><slot ${ee("slottedCellElements")}></slot></template>`}xs.generateColumns=t=>Object.getOwnPropertyNames(t).map((t,e)=>({columnDataKey:t,gridColumn:""+e})),t([bt({attribute:"generate-header"})],xs.prototype,"generateHeader",void 0),t([bt({attribute:"grid-template-columns"})],xs.prototype,"gridTemplateColumns",void 0),t([S],xs.prototype,"rowsData",void 0),t([S],xs.prototype,"columnDefinitions",void 0),t([S],xs.prototype,"rowItemTemplate",void 0),t([S],xs.prototype,"cellItemTemplate",void 0),t([S],xs.prototype,"headerCellItemTemplate",void 0),t([S],xs.prototype,"focusRowIndex",void 0),t([S],xs.prototype,"focusColumnIndex",void 0),t([S],xs.prototype,"defaultRowItemTemplate",void 0),t([S],xs.prototype,"prefix",void 0),t([S],xs.prototype,"rowElements",void 0);class ws extends St{constructor(){super(...arguments),this.rowType=ys.default,this.rowData=null,this.columnDefinitions=null,this.isActiveRow=!1,this.cellsRepeatBehavior=null,this.cellsPlaceholder=null,this.focusColumnIndex=0,this.refocusOnLoad=!1,this.updateRowStyle=()=>{this.style.gridTemplateColumns=this.gridTemplateColumns}}gridTemplateColumnsChanged(){this.$fastController.isConnected&&this.updateRowStyle()}rowTypeChanged(){this.$fastController.isConnected&&this.updateItemTemplate()}rowDataChanged(){null!==this.rowData&&this.isActiveRow&&(this.refocusOnLoad=!0)}cellItemTemplateChanged(){this.updateItemTemplate()}headerCellItemTemplateChanged(){this.updateItemTemplate()}connectedCallback(){super.connectedCallback(),null===this.cellsRepeatBehavior&&(this.cellsPlaceholder=document.createComment(""),this.appendChild(this.cellsPlaceholder),this.updateItemTemplate(),this.cellsRepeatBehavior=new Xt(t=>t.columnDefinitions,t=>t.activeCellItemTemplate,{positioning:!0}).createBehavior(this.cellsPlaceholder),this.$fastController.addBehaviors([this.cellsRepeatBehavior])),this.addEventListener("cell-focused",this.handleCellFocus),this.addEventListener("focusout",this.handleFocusout),this.addEventListener("keydown",this.handleKeydown),this.updateRowStyle(),this.refocusOnLoad&&(this.refocusOnLoad=!1,this.cellElements.length>this.focusColumnIndex&&this.cellElements[this.focusColumnIndex].focus())}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("cell-focused",this.handleCellFocus),this.removeEventListener("focusout",this.handleFocusout),this.removeEventListener("keydown",this.handleKeydown)}handleFocusout(t){this.contains(t.target)||(this.isActiveRow=!1,this.focusColumnIndex=0)}handleCellFocus(t){this.isActiveRow=!0,this.focusColumnIndex=this.cellElements.indexOf(t.target),this.$emit("row-focused",this)}handleKeydown(t){if(t.defaultPrevented)return;let e=0;switch(t.keyCode){case 37:e=Math.max(0,this.focusColumnIndex-1),this.cellElements[e].focus(),t.preventDefault();break;case 39:e=Math.min(this.cellElements.length-1,this.focusColumnIndex+1),this.cellElements[e].focus(),t.preventDefault();break;case 36:t.ctrlKey||(this.cellElements[0].focus(),t.preventDefault());break;case 35:t.ctrlKey||(this.cellElements[this.cellElements.length-1].focus(),t.preventDefault())}}updateItemTemplate(){this.activeCellItemTemplate=this.rowType===ys.default&&void 0!==this.cellItemTemplate?this.cellItemTemplate:this.rowType===ys.default&&void 0===this.cellItemTemplate?this.defaultCellItemTemplate:void 0!==this.headerCellItemTemplate?this.headerCellItemTemplate:this.defaultHeaderCellItemTemplate}}function Cs(t){return at`<template tabindex="-1" role="${t=>"columnheader"===t.cellType?"columnheader":"gridcell"}" class="${t=>"columnheader"===t.cellType?"column-header":""}"><slot></slot></template>`}t([bt({attribute:"grid-template-columns"})],ws.prototype,"gridTemplateColumns",void 0),t([bt({attribute:"row-type"})],ws.prototype,"rowType",void 0),t([S],ws.prototype,"rowData",void 0),t([S],ws.prototype,"columnDefinitions",void 0),t([S],ws.prototype,"cellItemTemplate",void 0),t([S],ws.prototype,"headerCellItemTemplate",void 0),t([S],ws.prototype,"rowIndex",void 0),t([S],ws.prototype,"isActiveRow",void 0),t([S],ws.prototype,"activeCellItemTemplate",void 0),t([S],ws.prototype,"defaultCellItemTemplate",void 0),t([S],ws.prototype,"defaultHeaderCellItemTemplate",void 0),t([S],ws.prototype,"cellElements",void 0);const ks=at`<template>${t=>null===t.rowData||null===t.columnDefinition||null===t.columnDefinition.columnDataKey?null:t.rowData[t.columnDefinition.columnDataKey]}</template>`,Ts=at`<template>${t=>null===t.columnDefinition?null:void 0===t.columnDefinition.title?t.columnDefinition.columnDataKey:t.columnDefinition.title}</template>`;class Is extends St{constructor(){super(...arguments),this.rowData=null,this.columnDefinition=null,this.isActiveCell=!1,this.customCellView=null,this.isInternalFocused=!1,this.updateCellStyle=()=>{this.style.gridColumn=this.gridColumn}}cellTypeChanged(){this.$fastController.isConnected&&this.updateCellView()}gridColumnChanged(){this.$fastController.isConnected&&this.updateCellStyle()}columnDefinitionChanged(t,e){this.$fastController.isConnected&&this.updateCellView()}connectedCallback(){var t;super.connectedCallback(),this.addEventListener("focusin",this.handleFocusin),this.addEventListener("focusout",this.handleFocusout),this.addEventListener("keydown",this.handleKeydown),this.style.gridColumn=""+(void 0===(null===(t=this.columnDefinition)||void 0===t?void 0:t.gridColumn)?0:this.columnDefinition.gridColumn),this.updateCellView(),this.updateCellStyle()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusin",this.handleFocusin),this.removeEventListener("focusout",this.handleFocusout),this.removeEventListener("keydown",this.handleKeydown),this.disconnectCellView()}handleFocusin(t){if(!this.isActiveCell){switch(this.isActiveCell=!0,this.cellType){case ms.columnHeader:if(null!==this.columnDefinition&&!0!==this.columnDefinition.headerCellInternalFocusQueue&&"function"==typeof this.columnDefinition.headerCellFocusTargetCallback){const t=this.columnDefinition.headerCellFocusTargetCallback(this);null!==t&&t.focus()}break;default:if(null!==this.columnDefinition&&!0!==this.columnDefinition.cellInternalFocusQueue&&"function"==typeof this.columnDefinition.cellFocusTargetCallback){const t=this.columnDefinition.cellFocusTargetCallback(this);null!==t&&t.focus()}}this.$emit("cell-focused",this)}}handleFocusout(t){this===document.activeElement||this.contains(document.activeElement)||(this.isActiveCell=!1,this.isInternalFocused=!1)}handleKeydown(t){if(!(t.defaultPrevented||null===this.columnDefinition||this.cellType===ms.default&&!0!==this.columnDefinition.cellInternalFocusQueue||this.cellType===ms.columnHeader&&!0!==this.columnDefinition.headerCellInternalFocusQueue))switch(t.keyCode){case 13:case 113:if(this.isInternalFocused||void 0===this.columnDefinition)return;switch(this.cellType){case ms.default:if(void 0!==this.columnDefinition.cellFocusTargetCallback){const e=this.columnDefinition.cellFocusTargetCallback(this);null!==e&&(this.isInternalFocused=!0,e.focus()),t.preventDefault()}break;case ms.columnHeader:if(void 0!==this.columnDefinition.headerCellFocusTargetCallback){const e=this.columnDefinition.headerCellFocusTargetCallback(this);null!==e&&(this.isInternalFocused=!0,e.focus()),t.preventDefault()}}break;case 27:this.isInternalFocused&&(this.focus(),this.isInternalFocused=!1,t.preventDefault())}}updateCellView(){if(this.disconnectCellView(),null!==this.columnDefinition)switch(this.cellType){case ms.columnHeader:void 0!==this.columnDefinition.headerCellTemplate?this.customCellView=this.columnDefinition.headerCellTemplate.render(this,this):this.customCellView=Ts.render(this,this);break;case void 0:case ms.default:void 0!==this.columnDefinition.cellTemplate?this.customCellView=this.columnDefinition.cellTemplate.render(this,this):this.customCellView=ks.render(this,this)}}disconnectCellView(){null!==this.customCellView&&(this.customCellView.dispose(),this.customCellView=null)}}t([bt({attribute:"cell-type"})],Is.prototype,"cellType",void 0),t([bt({attribute:"grid-column"})],Is.prototype,"gridColumn",void 0),t([S],Is.prototype,"rowData",void 0),t([S],Is.prototype,"columnDefinition",void 0);const Ss=new Map;"metadata"in Reflect||(Reflect.metadata=function(t,e){return function(i){Reflect.defineMetadata(t,e,i)}},Reflect.defineMetadata=function(t,e,i){let o=Ss.get(i);void 0===o&&Ss.set(i,o=new Map),o.set(t,e)},Reflect.getOwnMetadata=function(t,e){const i=Ss.get(e);if(void 0!==i)return i.get(t)});class Fs{constructor(t,e){this.container=t,this.key=e}instance(t){return this.registerResolver(0,t)}singleton(t){return this.registerResolver(1,t)}transient(t){return this.registerResolver(2,t)}callback(t){return this.registerResolver(3,t)}cachedCallback(t){return this.registerResolver(3,dn(t))}aliasTo(t){return this.registerResolver(5,t)}registerResolver(t,e){const{container:i,key:o}=this;return this.container=this.key=void 0,i.registerResolver(o,new Ys(o,t,e))}}function Ds(t){const e=t.slice(),i=Object.keys(t),o=i.length;let s;for(let n=0;n<o;++n)s=i[n],mn(s)||(e[s]=t[s]);return e}const Ps=Object.freeze({none(t){throw Error(t.toString()+" not registered, did you forget to add @singleton()?")},singleton:t=>new Ys(t,1,t),transient:t=>new Ys(t,2,t)}),Es=Object.freeze({default:Object.freeze({parentLocator:()=>null,responsibleForOwnerRequests:!1,defaultResolver:Ps.singleton})}),As=new Map;function Os(t){return e=>Reflect.getOwnMetadata(t,e)}const Rs=Object.freeze({createContainer:t=>new ln(null,Object.assign({},Es.default,t)),findResponsibleContainer(t){const e=t.$container;return e&&e.responsibleForOwnerRequests?e:Rs.findParentContainer(t)},findParentContainer(t){const e=new CustomEvent(rn,{bubbles:!0,composed:!0,cancelable:!0,detail:{container:void 0}});return t.dispatchEvent(e),e.detail.container||Rs.getOrCreateDOMContainer()},getOrCreateDOMContainer:(t=document.body,e)=>t.$container||new ln(t,Object.assign({},Es.default,e,{parentLocator:t===document.body?()=>null:Rs.findParentContainer})),getDesignParamtypes:Os("design:paramtypes"),getAnnotationParamtypes:Os("di:paramtypes"),getOrCreateAnnotationParamTypes(t){let e=this.getAnnotationParamtypes(t);return void 0===e&&Reflect.defineMetadata("di:paramtypes",e=[],t),e},getDependencies(t){let e=As.get(t);if(void 0===e){const i=t.inject;if(void 0===i){const i=Rs.getDesignParamtypes(t),o=Rs.getAnnotationParamtypes(t);if(void 0===i)if(void 0===o){const i=Object.getPrototypeOf(t);e="function"==typeof i&&i!==Function.prototype?Ds(Rs.getDependencies(i)):[]}else e=Ds(o);else if(void 0===o)e=Ds(i);else{e=Ds(i);let t,s=o.length;for(let i=0;i<s;++i)t=o[i],void 0!==t&&(e[i]=t);const n=Object.keys(o);let r;s=n.length;for(let t=0;t<s;++t)r=n[t],mn(r)||(e[r]=o[r])}}else e=Ds(i);As.set(t,e)}return e},defineProperty(t,e,i,o=!1){const s="$di_"+e;Reflect.defineProperty(t,e,{get:function(){let t=this[s];if(void 0===t){const n=this instanceof HTMLElement?Rs.findResponsibleContainer(this):Rs.getOrCreateDOMContainer();if(t=n.get(i),this[s]=t,o&&this instanceof St){const o=this.$fastController,n=()=>{Rs.findResponsibleContainer(this).get(i)!==this[s]&&(this[s]=t,o.notify(e))};o.subscribe({handleChange:n},"isConnected")}}return t}})},createInterface(t,e){const i="function"==typeof t?t:e,o="string"==typeof t?t:t&&"friendlyName"in t&&t.friendlyName||gn,s="string"!=typeof t&&(t&&"respectConnection"in t&&t.respectConnection||!1),n=function(t,e,i){if(null==t||void 0!==new.target)throw new Error(`No registration for interface: '${n.friendlyName}'`);if(e)Rs.defineProperty(t,e,n,s);else{Rs.getOrCreateAnnotationParamTypes(t)[i]=n}};return n.$isInterface=!0,n.friendlyName=null==o?"(anonymous)":o,null!=i&&(n.register=function(t,e){return i(new Fs(t,null!=e?e:n))}),n.toString=function(){return`InterfaceSymbol<${n.friendlyName}>`},n},inject:(...t)=>function(e,i,o){if("number"==typeof o){const i=Rs.getOrCreateAnnotationParamTypes(e),s=t[0];void 0!==s&&(i[o]=s)}else if(i)Rs.defineProperty(e,i,t[0]);else{const i=o?Rs.getOrCreateAnnotationParamTypes(o.value):Rs.getOrCreateAnnotationParamTypes(e);let s;for(let e=0;e<t.length;++e)s=t[e],void 0!==s&&(i[e]=s)}},transient:t=>(t.register=function(e){return hn.transient(t,t).register(e,t)},t.registerInRequestor=!1,t),singleton:(t,e=Vs)=>(t.register=function(e){return hn.singleton(t,t).register(e,t)},t.registerInRequestor=e.scoped,t)}),Ls=Rs.createInterface("Container"),Hs=Ls;function Bs(t){return function(e){const i=function(t,e,o){Rs.inject(i)(t,e,o)};return i.$isResolver=!0,i.resolve=function(i,o){return t(e,i,o)},i}}const zs=Rs.inject;function Ms(t){return Rs.transient(t)}function Ns(t){return null==t?Ms:Ms(t)}const Vs={scoped:!1};function js(t){return"function"==typeof t?Rs.singleton(t):function(e){return Rs.singleton(e,t)}}const _s=(qs=(t,e,i,o)=>i.getAll(t,o),function(t,e){e=!!e;const i=function(t,e,o){Rs.inject(i)(t,e,o)};return i.$isResolver=!0,i.resolve=function(i,o){return qs(t,i,o,e)},i});var qs;const Us=Bs((t,e,i)=>()=>i.get(t)),Gs=Bs((t,e,i)=>i.has(t,!0)?i.get(t):void 0);function Ws(t,e,i){Rs.inject(Ws)(t,e,i)}Ws.$isResolver=!0,Ws.resolve=()=>{};const Ks=Bs((t,e,i)=>{const o=Xs(t,e),s=new Ys(t,0,o);return i.registerResolver(t,s),o}),Qs=Bs((t,e,i)=>Xs(t,e));function Xs(t,e){return e.getFactory(t).construct(e)}class Ys{constructor(t,e,i){this.key=t,this.strategy=e,this.state=i,this.resolving=!1}get $isResolver(){return!0}register(t,e){return t.registerResolver(e||this.key,this)}resolve(t,e){switch(this.strategy){case 0:return this.state;case 1:if(this.resolving)throw new Error("Cyclic dependency found: "+this.state.name);return this.resolving=!0,this.state=t.getFactory(this.state).construct(e),this.strategy=0,this.resolving=!1,this.state;case 2:{const i=t.getFactory(this.state);if(null===i)throw new Error(`Resolver for ${String(this.key)} returned a null factory`);return i.construct(e)}case 3:return this.state(t,e,this);case 4:return this.state[0].resolve(t,e);case 5:return e.get(this.state);default:throw new Error(`Invalid resolver strategy specified: ${this.strategy}.`)}}getFactory(t){var e,i,o;switch(this.strategy){case 1:case 2:return t.getFactory(this.state);case 5:return null!==(o=null===(i=null===(e=t.getResolver(this.state))||void 0===e?void 0:e.getFactory)||void 0===i?void 0:i.call(e,t))&&void 0!==o?o:null;default:return null}}}function Zs(t){return this.get(t)}function Js(t,e){return e(t)}class tn{constructor(t,e){this.Type=t,this.dependencies=e,this.transformers=null}construct(t,e){let i;return i=void 0===e?new this.Type(...this.dependencies.map(Zs,t)):new this.Type(...this.dependencies.map(Zs,t),...e),null==this.transformers?i:this.transformers.reduce(Js,i)}registerTransformer(t){(this.transformers||(this.transformers=[])).push(t)}}const en={$isResolver:!0,resolve:(t,e)=>e};function on(t){return"function"==typeof t.register}function sn(t){return function(t){return on(t)&&"boolean"==typeof t.registerInRequestor}(t)&&t.registerInRequestor}const nn=new Set(["Array","ArrayBuffer","Boolean","DataView","Date","Error","EvalError","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Number","Object","Promise","RangeError","ReferenceError","RegExp","Set","SharedArrayBuffer","String","SyntaxError","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakMap","WeakSet"]),rn="__DI_LOCATE_PARENT__",an=new Map;class ln{constructor(t,e){this.owner=t,this.config=e,this._parent=void 0,this.registerDepth=0,null!==t&&(t.$container=this),this.resolvers=new Map,this.resolvers.set(Ls,en),t instanceof HTMLElement&&t.addEventListener(rn,t=>{t.composedPath()[0]!==this.owner&&(t.detail.container=this,t.stopImmediatePropagation())})}get parent(){return void 0===this._parent&&(this._parent=this.config.parentLocator(this.owner)),this._parent}get depth(){return null===this.parent?0:this.parent.depth+1}get responsibleForOwnerRequests(){return this.config.responsibleForOwnerRequests}register(...t){if(100==++this.registerDepth)throw new Error("Unable to autoregister dependency");let e,i,o,s,n;for(let r=0,a=t.length;r<a;++r)if(e=t[r],fn(e))if(on(e))e.register(this);else if(void 0!==e.prototype)hn.singleton(e,e).register(this);else for(i=Object.keys(e),s=0,n=i.length;s<n;++s)o=e[i[s]],fn(o)&&(on(o)?o.register(this):this.register(o));return--this.registerDepth,this}registerResolver(t,e){un(t);const i=this.resolvers,o=i.get(t);return null==o?i.set(t,e):o instanceof Ys&&4===o.strategy?o.state.push(e):i.set(t,new Ys(t,4,[o,e])),e}registerTransformer(t,e){const i=this.getResolver(t);if(null==i)return!1;if(i.getFactory){const t=i.getFactory(this);return null!=t&&(t.registerTransformer(e),!0)}return!1}getResolver(t,e=!0){if(un(t),void 0!==t.resolve)return t;let i,o=this;for(;null!=o;){if(i=o.resolvers.get(t),null!=i)return i;if(null==o.parent){const i=sn(t)?this:o;return e?this.jitRegister(t,i):null}o=o.parent}return null}has(t,e=!1){return!!this.resolvers.has(t)||!(!e||null==this.parent)&&this.parent.has(t,!0)}get(t){if(un(t),t.$isResolver)return t.resolve(this,this);let e,i=this;for(;null!=i;){if(e=i.resolvers.get(t),null!=e)return e.resolve(i,this);if(null==i.parent){const o=sn(t)?this:i;return e=this.jitRegister(t,o),e.resolve(i,this)}i=i.parent}throw new Error("Unable to resolve key: "+t)}getAll(t,e=!1){un(t);const o=this;let s,n=o;if(e){let e=i;for(;null!=n;)s=n.resolvers.get(t),null!=s&&(e=e.concat(pn(s,n,o))),n=n.parent;return e}for(;null!=n;){if(s=n.resolvers.get(t),null!=s)return pn(s,n,o);if(n=n.parent,null==n)return i}return i}getFactory(t){let e=an.get(t);if(void 0===e){if(vn(t))throw new Error(t.name+" is a native function and therefore cannot be safely constructed by DI. If this is intentional, please use a callback or cachedCallback resolver.");an.set(t,e=new tn(t,Rs.getDependencies(t)))}return e}registerFactory(t,e){an.set(t,e)}createChild(t){return new ln(null,Object.assign({},this.config,t,{parentLocator:()=>this}))}jitRegister(t,e){if("function"!=typeof t)throw new Error(`Attempted to jitRegister something that is not a constructor: '${t}'. Did you forget to register this resource?`);if(nn.has(t.name))throw new Error(`Attempted to jitRegister an intrinsic type: ${t.name}. Did you forget to add @inject(Key)`);if(on(t)){const i=t.register(e,t);if(!(i instanceof Object)||null==i.resolve){const i=e.resolvers.get(t);if(null!=i)return i;throw new Error("A valid resolver was not returned from the static register method")}return i}if(t.$isInterface)throw new Error("Attempted to jitRegister an interface: "+t.friendlyName);{const i=this.config.defaultResolver(t,e);return e.resolvers.set(t,i),i}}}const cn=new WeakMap;function dn(t){return function(e,i,o){if(cn.has(o))return cn.get(o);const s=t(e,i,o);return cn.set(o,s),s}}const hn=Object.freeze({instance:(t,e)=>new Ys(t,0,e),singleton:(t,e)=>new Ys(t,1,e),transient:(t,e)=>new Ys(t,2,e),callback:(t,e)=>new Ys(t,3,e),cachedCallback:(t,e)=>new Ys(t,3,dn(e)),aliasTo:(t,e)=>new Ys(e,5,t)});function un(t){if(null==t)throw new Error("key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?")}function pn(t,e,i){if(t instanceof Ys&&4===t.strategy){const o=t.state;let s=o.length;const n=new Array(s);for(;s--;)n[s]=o[s].resolve(e,i);return n}return[t.resolve(e,i)]}const gn="(anonymous)";function fn(t){return"object"==typeof t&&null!==t||"function"==typeof t}const vn=function(){const t=new WeakMap;let e=!1,i="",o=0;return function(s){return e=t.get(s),void 0===e&&(i=s.toString(),o=i.length,e=o>=29&&o<=100&&125===i.charCodeAt(o-1)&&i.charCodeAt(o-2)<=32&&93===i.charCodeAt(o-3)&&101===i.charCodeAt(o-4)&&100===i.charCodeAt(o-5)&&111===i.charCodeAt(o-6)&&99===i.charCodeAt(o-7)&&32===i.charCodeAt(o-8)&&101===i.charCodeAt(o-9)&&118===i.charCodeAt(o-10)&&105===i.charCodeAt(o-11)&&116===i.charCodeAt(o-12)&&97===i.charCodeAt(o-13)&&110===i.charCodeAt(o-14)&&88===i.charCodeAt(o-15),t.set(s,e)),e}}(),bn={};function mn(t){switch(typeof t){case"number":return t>=0&&(0|t)===t;case"string":{const e=bn[t];if(void 0!==e)return e;const i=t.length;if(0===i)return bn[t]=!1;let o=0;for(let e=0;e<i;++e)if(o=t.charCodeAt(e),0===e&&48===o&&i>1||o<48||o>57)return bn[t]=!1;return bn[t]=!0}default:return!1}}const yn=Rs.createInterface(),xn=new Map,$n=new Map;class wn{constructor(){this.registrations=[],this.prefix="fast",this.disambiguate=()=>null}withPrefix(t){return this.prefix=t,this}withElementDisambiguation(t){return this.disambiguate=t,this}register(...t){return this.registrations.push(...t),this}applyTo(t){const e=Rs.getOrCreateDOMContainer(t),i=[],o=this.disambiguate,s={elementPrefix:this.prefix,tryDefineElement(t,s,n){let r=t,a=xn.get(r);for(;a&&r;)r=o(r,s,a),r&&(a=xn.get(r));const l=!!r;l&&($n.has(s)&&(s=class extends s{}),xn.set(r,s),$n.set(s,r)),i.push(new Cn(e,r||t,s,n,l))}};e.register(hn.instance(yn,s)),e.register(...this.registrations);for(const t of i)t.callback(t),t.willDefine&&null!==t.definition&&t.definition.define();return e}}class Cn{constructor(t,e,i,o,s){this.container=t,this.name=e,this.type=i,this.callback=o,this.willDefine=s,this.definition=null}defineElement(t){this.definition=new $t(this.type,Object.assign(Object.assign({},t),{name:this.name}))}tagFor(t){return $n.get(t)}}const kn=new Map,Tn=Object.freeze({keyFrom(t){const e=t.toLowerCase();let i=kn.get(e);return void 0===i&&(i=Rs.createInterface(e+":presentation"),kn.set(e,i)),i}});class In{constructor(t,e){this.template=t||null,this.styles=void 0===e?null:Array.isArray(e)?lt.create(e):e instanceof lt?e:lt.create([e])}applyTo(t){const e=t.$fastController;null===e.template&&(e.template=this.template),null===e.styles&&(e.styles=this.styles)}}class Sn{getElementStyles(t,e){let i=Sn.cache.get(t.cssCustomProperty);i||(i=new Map,Sn.cache.set(t.cssCustomProperty,i));let o=i.get(e);return o||(o=this.createElementStyles(t,e),i.set(e,o)),o}getOrCreateAppliedCache(t){return(Sn.appliedCache.has(t)||Sn.appliedCache.set(t,new Map))&&Sn.appliedCache.get(t)}createElementStyles(t,e){return Et`:host{${t.cssCustomProperty}:${e}}`}addTo(t,e,i){if(Fn(t)){const o=this.getElementStyles(e,i);t.$fastController.addStyles(o),this.getOrCreateAppliedCache(t).set(e.cssCustomProperty,o)}else d.queueUpdate(()=>t.style.setProperty(e.cssCustomProperty,i))}removeFrom(t,e){if(Fn(t)){const i=this.getOrCreateAppliedCache(t),o=i.get(e.cssCustomProperty);o&&(t.$fastController.removeStyles(o),i.delete(e.cssCustomProperty))}else d.queueUpdate(()=>t.style.removeProperty(e.cssCustomProperty))}}function Fn(t){return t instanceof St}Sn.cache=new Map,Sn.appliedCache=new WeakMap;const Dn=new Sn,Pn=document.body;class En extends Dt{constructor(t){super(),this.subscribers=new WeakMap,this._appliedTo=new Set,this.name=t.name,null!==t.cssCustomPropertyName&&(this.cssCustomProperty="--"+t.cssCustomPropertyName,this.cssVar=`var(${this.cssCustomProperty})`)}get appliedTo(){return[...this._appliedTo]}static from(t){return new En({name:"string"==typeof t?t:t.name,cssCustomPropertyName:"string"==typeof t?t:void 0===t.cssCustomPropertyName?t.name:t.cssCustomPropertyName})}static isCSSDesignToken(t){return"string"==typeof t.cssCustomProperty}getOrCreateSubscriberSet(t=this){return this.subscribers.get(t)||this.subscribers.set(t,new Set)&&this.subscribers.get(t)}createCSS(){return this.cssVar||""}getValueFor(t){const e=Hn.for(this,t);return C.track(e,"value"),Hn.for(this,t).value}setValueFor(t,e){if(this._appliedTo.add(t),e instanceof En){const t=e;e=e=>Hn.for(t,e).value}return Hn.for(this,t).set(e),[...this.getOrCreateSubscriberSet(this),...this.getOrCreateSubscriberSet(t)].forEach(e=>e.handleChange({token:this,target:t})),this}deleteValueFor(t){return this._appliedTo.delete(t),Hn.for(this,t).delete(),this}withDefault(t){return Hn.for(this,Pn).set(t),this}subscribe(t,e){const i=this.getOrCreateSubscriberSet(e);i.has(t)||i.add(t)}unsubscribe(t,e){this.getOrCreateSubscriberSet(e).delete(t)}}const An=new WeakMap,On=new Map,Rn=new WeakMap,Ln=Function.prototype;class Hn{constructor(t,e){var i;if(this.token=t,this.target=e,this.children=new Set,this.useCSSCustomProperty=!1,this.handleChange=this.unsetValueChangeHandler,this.bindingChangeHandler={handleChange:()=>{C.getNotifier(this).notify("value")}},this.cssCustomPropertySubscriber={handleChange:()=>{Dn.removeFrom(this.target,this.token),Dn.addTo(this.target,this.token,this.resolveCSSValue(this.value))},dispose:()=>{Dn.removeFrom(this.target,this.token)}},this.tokenDependencySubscriber={handleChange:t=>{const e=this.resolveRawValue(),i=Hn.for(this.token,t.target);this.contains(i)&&!i.useCSSCustomProperty&&i.resolveRawValue()===e&&(i.useCSSCustomProperty=!0)}},An.has(e)&&An.get(e).has(t))throw new Error(`DesignTokenNode already created for ${t.name} and ${e}. Use DesignTokenNode.for() to ensure proper reuse`);const o=Rs.getOrCreateDOMContainer(this.target),s=Hn.channel(t);o.register(hn.instance(s,this)),En.isCSSDesignToken(t)||delete this.useCSSCustomPropertyChanged,e instanceof St?e.$fastController.addBehaviors([this]):null===(i=this.findParentNode())||void 0===i||i.appendChild(this)}_rawValueChanged(){C.getNotifier(this).notify("value")}get rawValue(){return this._rawValue}useCSSCustomPropertyChanged(t,e){e?(C.getNotifier(this).subscribe(this.cssCustomPropertySubscriber,"value"),this.cssCustomPropertySubscriber.handleChange()):t&&(C.getNotifier(this).unsubscribe(this.cssCustomPropertySubscriber,"value"),this.cssCustomPropertySubscriber.dispose())}bind(){var t;null===(t=this.findParentNode())||void 0===t||t.appendChild(this)}unbind(){var t;null===(t=Rn.get(this))||void 0===t||t.removeChild(this),this.tearDownBindingObserver()}resolveRealValue(){const t=this.resolveRawValue();return Hn.isDerivedTokenValue(t)?(this.bindingObserver&&this.bindingObserver.source===t||this.setupBindingObserver(t),this.bindingObserver.observe(this.target,A)):(this.bindingObserver&&this.tearDownBindingObserver(),t)}resolveRawValue(){let t=this;do{const{rawValue:e}=t;if(void 0!==e)return e;t=Rn.get(t)}while(void 0!==t);if(!Rn.has(this)){const t=this.findParentNode();if(t)return t.appendChild(this),this.resolveRawValue()}throw new Error(`Value could not be retrieved for token named "${this.token.name}". Ensure the value is set for ${this.target} or an ancestor of ${this.target}. `)}resolveCSSValue(t){return t&&"function"==typeof t.createCSS?t.createCSS():t}static channel(t){return(On.has(t)||On.set(t,Rs.createInterface()))&&On.get(t)}static isDerivedTokenValue(t){return"function"==typeof t}unsetValueChangeHandler(t,e){void 0===this._rawValue&&C.getNotifier(this).notify("value")}setupBindingObserver(t){this.tearDownBindingObserver(),this.bindingObserver=C.binding(t,this.bindingChangeHandler)}tearDownBindingObserver(){this.bindingObserver&&(this.bindingObserver.disconnect(),this.bindingObserver=void 0)}static for(t,e){const i=(An.has(e)||An.set(e,new Map))&&An.get(e);return(i.has(t)||i.set(t,new Hn(t,e)))&&i.get(t)}appendChild(t){this.children.has(t)||(this.children.forEach(e=>{t.contains(e)&&(this.removeChild(e),t.appendChild(e))}),this.children.add(t),C.getNotifier(this).subscribe(t,"value"),Rn.set(t,this))}removeChild(t){this.children.delete(t),Rn.delete(t),C.getNotifier(this).unsubscribe(t,"value")}contains(t){return this.target.contains(t.target)}findParentNode(){if(this.target===Pn)return null;const t=ao(this.target);if(this.target!==document.body&&t){const e=Rs.getOrCreateDOMContainer(t);if(e.has(Hn.channel(this.token),!0))return e.get(Hn.channel(this.token))}return Hn.for(this.token,Pn)}get value(){return this.resolveRealValue()}set(t){if(t!==this._rawValue&&(this.handleChange=Ln,this._rawValue=t,this.useCSSCustomProperty||(this.useCSSCustomProperty=!0),this.bindingObserver)){const t=this.bindingObserver.records();for(const e of t)if(e.propertySource instanceof Hn&&e.propertySource.token instanceof En){const{token:t}=e.propertySource;t.subscribe(this.tokenDependencySubscriber),t.appliedTo.forEach(e=>this.tokenDependencySubscriber.handleChange({token:t,target:e}))}}}delete(){this.useCSSCustomProperty&&(this.useCSSCustomProperty=!1),this._rawValue=void 0,this.handleChange=this.unsetValueChangeHandler,this.tearDownBindingObserver()}}t([S],Hn.prototype,"_rawValue",void 0),t([S],Hn.prototype,"useCSSCustomProperty",void 0);const Bn=Object.freeze({create:function(t){return En.from(t)}}),zn=at`<div class="positioning-region" part="positioning-region">${Ut(t=>t.modal,at`<div class="overlay" part="overlay" role="presentation" tabindex="-1" @click="${t=>t.dismiss()}"></div>`)}<div role="dialog" class="control" part="control" aria-modal="${t=>t.modal}" aria-describedby="${t=>t.ariaDescribedby}" aria-labelledby="${t=>t.ariaLabelledby}" aria-label="${t=>t.ariaLabel}" ${qt("dialog")}><slot></slot></div></div>`
|
|
16
|
-
/*!
|
|
17
|
-
* tabbable 5.2.0
|
|
18
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
19
|
-
*/;var Mn=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],Nn=Mn.join(","),Vn="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,jn=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return isNaN(e)?function(t){return"true"===t.contentEditable}(t)?0:"AUDIO"!==t.nodeName&&"VIDEO"!==t.nodeName&&"DETAILS"!==t.nodeName||null!==t.getAttribute("tabindex")?t.tabIndex:0:e},_n=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},qn=function(t){return"INPUT"===t.tagName},Un=function(t){return function(t){return qn(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0;var e,i=t.form||t.ownerDocument,o=function(t){return i.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=o(window.CSS.escape(t.name));else try{e=o(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var s=function(t,e){for(var i=0;i<t.length;i++)if(t[i].checked&&t[i].form===e)return t[i]}(e,t.form);return!s||s===t}(t)},Gn=function(t,e){return!(e.disabled||function(t){return qn(t)&&"hidden"===t.type}(e)||function(t,e){if("hidden"===getComputedStyle(t).visibility)return!0;var i=Vn.call(t,"details>summary:first-of-type")?t.parentElement:t;if(Vn.call(i,"details:not([open]) *"))return!0;if(e&&"full"!==e){if("non-zero-area"===e){var o=t.getBoundingClientRect(),s=o.width,n=o.height;return 0===s&&0===n}}else for(;t;){if("none"===getComputedStyle(t).display)return!0;t=t.parentElement}return!1}(e,t.displayCheck)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}(e))},Wn=function(t,e){return!(!Gn(t,e)||Un(e)||jn(e)<0)},Kn=function(t,e){var i=[],o=[];return function(t,e,i){var o=Array.prototype.slice.apply(t.querySelectorAll(Nn));return e&&Vn.call(t,Nn)&&o.unshift(t),o=o.filter(i)}(t,(e=e||{}).includeContainer,Wn.bind(null,e)).forEach((function(t,e){var s=jn(t);0===s?i.push(t):o.push({documentOrder:e,tabIndex:s,node:t})})),o.sort(_n).map((function(t){return t.node})).concat(i)},Qn=Mn.concat("iframe").join(","),Xn=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==Vn.call(t,Qn)&&Gn(e,t)};class Yn extends St{constructor(){super(...arguments),this.modal=!0,this.hidden=!1,this.trapFocus=!0,this.onChildListChange=t=>{t.length&&(this.tabbableElements=Kn(this))},this.trapFocusChanged=()=>{this.trapFocus?(this.tabbableElements=Kn(this),document.addEventListener("focusin",this.handleDocumentFocus),this.shouldForceFocus(document.activeElement)&&this.focusFirstElement()):document.removeEventListener("focusin",this.handleDocumentFocus)},this.handleDocumentKeydown=t=>{if(!t.defaultPrevented&&!this.hidden)switch(t.keyCode){case 27:this.dismiss();break;case 9:this.handleTabKeyDown(t)}},this.handleDocumentFocus=t=>{!t.defaultPrevented&&this.shouldForceFocus(t.target)&&(this.focusFirstElement(),t.preventDefault())},this.handleTabKeyDown=t=>{if(!this.trapFocus)return;const e=this.tabbableElements.length;if(0===e)return this.dialog.focus(),void t.preventDefault();t.shiftKey&&t.target===this.tabbableElements[0]?(this.tabbableElements[e-1].focus(),t.preventDefault()):t.shiftKey||t.target!==this.tabbableElements[e-1]||(this.tabbableElements[0].focus(),t.preventDefault())},this.focusFirstElement=()=>{0===this.tabbableElements.length?this.dialog.focus():this.tabbableElements[0].focus()},this.shouldForceFocus=t=>!this.hidden&&!this.contains(t)}dismiss(){this.$emit("dismiss")}show(){this.hidden=!1}hide(){this.hidden=!0}connectedCallback(){super.connectedCallback(),this.observer=new MutationObserver(this.onChildListChange),this.observer.observe(this,{childList:!0}),document.addEventListener("keydown",this.handleDocumentKeydown),d.queueUpdate(this.trapFocusChanged)}disconnectedCallback(){super.disconnectedCallback(),this.observer.disconnect(),document.removeEventListener("keydown",this.handleDocumentKeydown),this.trapFocus&&document.removeEventListener("focusin",this.handleDocumentFocus)}}t([bt({mode:"boolean"})],Yn.prototype,"modal",void 0),t([bt({mode:"boolean"})],Yn.prototype,"hidden",void 0),t([bt({attribute:"trap-focus",mode:"boolean"})],Yn.prototype,"trapFocus",void 0),t([bt({attribute:"aria-describedby"})],Yn.prototype,"ariaDescribedby",void 0),t([bt({attribute:"aria-labelledby"})],Yn.prototype,"ariaLabelledby",void 0),t([bt({attribute:"aria-label"})],Yn.prototype,"ariaLabel",void 0);const Zn=at`<details class="disclosure" ${qt("details")}><summary class="invoker" role="button" aria-controls="disclosure-content" aria-expanded="${t=>t.expanded}"><slot name="start"></slot><slot name="title">${t=>t.title}</slot><slot name="end"></slot></summary><div id="disclosure-content"><slot></slot></div></details>`;class Jn extends St{connectedCallback(){super.connectedCallback(),this.setup()}disconnectedCallback(){super.disconnectedCallback(),this.details.removeEventListener("toggle",this.onToggle)}show(){this.details.open=!0}hide(){this.details.open=!1}toggle(){this.details.open=!this.details.open}setup(){this.onToggle=this.onToggle.bind(this),this.details.addEventListener("toggle",this.onToggle),this.expanded&&this.show()}onToggle(){this.expanded=this.details.open,this.$emit("toggle")}}t([bt({mode:"boolean"})],Jn.prototype,"expanded",void 0),t([bt],Jn.prototype,"title",void 0);const tr=at`<template role="${t=>t.role}"></template>`;var er,ir;!function(t){t.separator="separator",t.presentation="presentation"}(er||(er={}));class or extends St{constructor(){super(...arguments),this.role=er.separator}}t([bt],or.prototype,"role",void 0),function(t){t.next="next",t.previous="previous"}(ir||(ir={}));const sr=at`<template role="button" aria-disabled="${t=>!!t.disabled||void 0}" tabindex="${t=>t.hiddenFromAT?-1:0}" class="${t=>t.direction} ${t=>t.disabled?"disabled":""}">${Ut(t=>t.direction===ir.next,at`<span part="next" class="next"><slot name="next"><svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z" /></svg></slot></span>`)} ${Ut(t=>t.direction===ir.previous,at`<span part="previous" class="previous"><slot name="previous"><svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.273 15.977L3.29 8 11.273.023l.704.704L4.71 8l7.266 7.273-.704.704z" /></svg></slot></span>`)}</template>`;class nr extends St{constructor(){super(...arguments),this.hiddenFromAT=!0,this.direction=ir.next}}t([bt({mode:"boolean"})],nr.prototype,"disabled",void 0),t([bt({attribute:"aria-hidden",converter:gt})],nr.prototype,"hiddenFromAT",void 0),t([bt],nr.prototype,"direction",void 0);class rr extends St{constructor(){super(...arguments),this._presentation=null}get $presentation(){return null===this._presentation&&(this._presentation=this.container.get(Tn.keyFrom(this.tagName))),this._presentation}templateChanged(){void 0!==this.template&&(this.$fastController.template=this.template)}stylesChanged(){void 0!==this.styles&&(this.$fastController.styles=this.styles)}connectedCallback(){this.$presentation.applyTo(this),super.connectedCallback()}static compose(t){return(e={})=>new lr(this===rr?class extends rr{}:this,t,e)}}function ar(t,e,i){return"function"==typeof t?t(e,i):t}t([Ls],rr.prototype,"container",void 0),t([S],rr.prototype,"template",void 0),t([S],rr.prototype,"styles",void 0);class lr{constructor(t,e,i){this.type=t,this.elementDefinition=e,this.overrideDefinition=i}register(t){const e=Object.assign(Object.assign({},this.elementDefinition),this.overrideDefinition),i=t.get(yn),o=`${e.prefix||i.elementPrefix}-${e.baseName}`;i.tryDefineElement(o,this.type,t=>{const i=new In(ar(e.template,t,e),ar(e.styles,t,e));t.container.register(hn.instance(Tn.keyFrom(t.name),i)),t.defineElement({elementOptions:ar(e.elementOptions,t,e),shadowOptions:ar(e.shadowOptions,t,e),attributes:ar(e.attributes,t,e)})})}}const cr=at`<template aria-selected="${t=>t.selected}" class="${t=>t.selected?"selected":""} ${t=>t.disabled?"disabled":""}" role="option">${re}<span class="content" part="content"><slot></slot></span>${ne}</template>`,dr=at`<template aria-activedescendant="${t=>t.ariaActiveDescendant}" class="listbox" role="${t=>t.role}" tabindex="${t=>t.disabled?null:"0"}" @click="${(t,e)=>t.clickHandler(e.event)}" @focusin="${(t,e)=>t.focusinHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}" @mousedown="${(t,e)=>t.mousedownHandler(e.event)}"><slot ${ee({filter:as.slottedOptionFilter,flatten:!0,property:"slottedOptions"})}></slot></template>`;var hr;!function(t){t.menuitem="menuitem",t.menuitemcheckbox="menuitemcheckbox",t.menuitemradio="menuitemradio"}(hr||(hr={}));class ur extends St{constructor(){super(...arguments),this.role=hr.menuitem,this.hasSubmenu=!1,this.currentDirection=Xi.ltr,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=t=>{if(t.defaultPrevented)return!1;switch(t.keyCode){case 13:case 32:return this.invoke(),!1;case 39:return this.expandAndFocus(),!1;case 37:if(this.expanded)return this.expanded=!1,this.focus(),!1}return!0},this.handleMenuItemClick=t=>(t.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.hasSubmenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=t=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=t=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case hr.menuitemcheckbox:this.checked=!this.checked,this.$emit("change");break;case hr.menuitem:this.updateSubmenu(),this.hasSubmenu?this.expandAndFocus():this.$emit("change");break;case hr.menuitemradio:this.checked||(this.checked=!0)}},this.updateSubmenu=()=>{this.submenu=this.domChildren().find(t=>"menu"===t.getAttribute("role")),this.hasSubmenu=void 0!==this.submenu}}expandedChanged(t){if(this.$fastController.isConnected){if(void 0===this.submenu)return;!1===this.expanded?this.submenu.collapseExpandedItem():this.currentDirection=Ao(this),this.$emit("expanded-change",this,{bubbles:!1})}}checkedChanged(t,e){this.$fastController.isConnected&&this.$emit("change")}connectedCallback(){super.connectedCallback(),d.queueUpdate(()=>{this.updateSubmenu()}),this.observer=new MutationObserver(this.updateSubmenu)}disconnectedCallback(){super.disconnectedCallback(),this.submenu=void 0,void 0!==this.observer&&(this.observer.disconnect(),this.observer=void 0)}domChildren(){return Array.from(this.children)}}t([bt({mode:"boolean"})],ur.prototype,"disabled",void 0),t([bt({attribute:"expanded"})],ur.prototype,"expanded",void 0),t([bt],ur.prototype,"role",void 0),t([bt],ur.prototype,"checked",void 0),t([S],ur.prototype,"submenuRegion",void 0),t([S],ur.prototype,"hasSubmenu",void 0),t([S],ur.prototype,"currentDirection",void 0),t([S],ur.prototype,"submenu",void 0),le(ur,se);const pr=gr("fast");function gr(t){return at`<template role="${t=>t.role}" aria-haspopup="${t=>t.hasSubmenu?"menu":void 0}" aria-checked="${t=>t.role!==hr.menuitem?t.checked:void 0}" aria-disabled="${t=>t.disabled}" aria-expanded="${t=>t.expanded}" @keydown="${(t,e)=>t.handleMenuItemKeyDown(e.event)}" @click="${(t,e)=>t.handleMenuItemClick(e.event)}" @mouseover="${(t,e)=>t.handleMouseOver(e.event)}" @mouseout="${(t,e)=>t.handleMouseOut(e.event)}" class="${t=>t.disabled?"disabled":""} ${t=>t.expanded?"expanded":""}">${Ut(t=>t.role===hr.menuitemcheckbox,at`<div part="input-container" class="input-container"><span part="checkbox" class="checkbox"><slot name="checkbox-indicator"><svg aria-hidden="true" part="checkbox-indicator" class="checkbox-indicator" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.143 12.6697L15.235 4.5L16.8 5.90363L8.23812 15.7667L3.80005 11.2556L5.27591 9.7555L8.143 12.6697Z" /></svg></slot></span></div>`)} ${Ut(t=>t.role===hr.menuitemradio,at`<div part="input-container" class="input-container"><span part="radio" class="radio"><slot name="radio-indicator"><span part="radio-indicator" class="radio-indicator"></span></slot></span></div>`)} ${Ut(t=>t.hasSubmenu,at`<div part="expand-collapse-glyph-container" class="expand-collapse-glyph-container"><span part="expand-collapse" class="expand-collapse"><slot name="expand-collapse-indicator"><svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="expand-collapse-glyph" part="expand-collapse-glyph"><path d="M5.00001 12.3263C5.00124 12.5147 5.05566 12.699 5.15699 12.8578C5.25831 13.0167 5.40243 13.1437 5.57273 13.2242C5.74304 13.3047 5.9326 13.3354 6.11959 13.3128C6.30659 13.2902 6.4834 13.2152 6.62967 13.0965L10.8988 8.83532C11.0739 8.69473 11.2153 8.51658 11.3124 8.31402C11.4096 8.11146 11.46 7.88966 11.46 7.66499C11.46 7.44033 11.4096 7.21853 11.3124 7.01597C11.2153 6.81341 11.0739 6.63526 10.8988 6.49467L6.62967 2.22347C6.48274 2.10422 6.30501 2.02912 6.11712 2.00691C5.92923 1.9847 5.73889 2.01628 5.56823 2.09799C5.39757 2.17969 5.25358 2.30817 5.153 2.46849C5.05241 2.62882 4.99936 2.8144 5.00001 3.00369V12.3263Z" /></svg></slot></span></div>`)}</div>${re}<span class="content" part="content"><slot></slot></span>${ne} ${Ut(t=>t.expanded,at`<${t}-anchored-region :anchorElement="${t=>t}" vertical-positioning-mode="dynamic" vertical-default-position="bottom" vertical-inset="true" horizontal-positioning-mode="dynamic" horizontal-default-position="end" class="submenu-region" dir="${t=>t.currentDirection}" @loaded="${t=>t.submenuLoaded()}" ${qt("submenuRegion")}part="submenu-region"><slot name="submenu"></slot></${t}-anchored-region>`)}</template>`}const fr=at`<template slot="${t=>t.isNestedMenu()?"submenu":void 0}" role="menu" @keydown="${(t,e)=>t.handleMenuKeyDown(e.event)}" @focusout="${(t,e)=>t.handleFocusOut(e.event)}"><slot ${ee("items")}></slot></template>`;class vr extends St{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&Gi(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=t=>{if(!this.contains(t.relatedTarget)){this.collapseExpandedItem();const t=this.menuItems.findIndex(this.isFocusableElement);this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.focusIndex=t}},this.handleItemFocus=t=>{const e=t.target;e!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(e),e.setAttribute("tabindex","0"))},this.handleExpandedChanged=t=>{if(t.defaultPrevented||null===t.target||this.menuItems.indexOf(t.target)<0)return;t.preventDefault();const e=t.target;null===this.expandedItem||e!==this.expandedItem||!1!==e.expanded?e.expanded&&(null!==this.expandedItem&&this.expandedItem!==e&&(this.expandedItem.expanded=!1),this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.expandedItem=e,this.focusIndex=this.menuItems.indexOf(e),e.setAttribute("tabindex","0")):this.expandedItem=null},this.setItems=()=>{const t=this.menuItems.filter(this.isMenuItemElement);t.length&&(this.focusIndex=0),t.forEach((t,e)=>{t.setAttribute("tabindex",0===e?"0":"-1"),t.addEventListener("expanded-change",this.handleExpandedChanged),t.addEventListener("focus",this.handleItemFocus)})},this.resetItems=t=>{t.forEach(t=>{t.removeEventListener("expanded-change",this.handleExpandedChanged),t.removeEventListener("focus",this.handleItemFocus)})},this.changeHandler=t=>{const e=t.target,i=this.menuItems.indexOf(e);if(-1!==i&&"menuitemradio"===e.role&&!0===e.checked){for(let t=i-1;t>=0;--t){const e=this.menuItems[t],i=e.getAttribute("role");if(i===hr.menuitemradio&&(e.checked=!1),"separator"===i)break}const t=this.menuItems.length-1;for(let e=i+1;e<=t;++e){const t=this.menuItems[e],i=t.getAttribute("role");if(i===hr.menuitemradio&&(t.checked=!1),"separator"===i)break}}},this.isMenuItemElement=t=>Gi(t)&&vr.focusableElementRoles.hasOwnProperty(t.getAttribute("role")),this.isFocusableElement=t=>this.isMenuItemElement(t)}itemsChanged(t,e){this.$fastController.isConnected&&(this.menuItems=this.domChildren(),this.resetItems(t),this.setItems())}connectedCallback(){super.connectedCallback(),this.menuItems=this.domChildren(),this.addEventListener("change",this.changeHandler)}disconnectedCallback(){super.disconnectedCallback(),this.menuItems=[],this.removeEventListener("change",this.changeHandler)}focus(){this.setFocus(0,1)}collapseExpandedItem(){null!==this.expandedItem&&(this.expandedItem.expanded=!1,this.expandedItem=null)}handleMenuKeyDown(t){if(!t.defaultPrevented)switch(t.keyCode){case 40:return void this.setFocus(this.focusIndex+1,1);case 38:return void this.setFocus(this.focusIndex-1,-1);case 35:return void this.setFocus(this.menuItems.length-1,-1);case 36:return void this.setFocus(0,1);default:return!0}}domChildren(){return Array.from(this.children)}setFocus(t,e){if(void 0!==this.menuItems)for(;zi(t,this.menuItems.length);){const i=this.menuItems[t];if(this.isFocusableElement(i)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=t,i.setAttribute("tabindex","0"),i.focus();break}t+=e}}}vr.focusableElementRoles=_i(hr),t([S],vr.prototype,"items",void 0);const br=at`<template class="${t=>t.readOnly?"readonly":""}"><label part="label" for="control" class="${t=>t.defaultSlottedNodes&&t.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${ee("defaultSlottedNodes")}></slot></label><div class="root" part="root">${re}<input class="control" part="control" id="control" @input="${t=>t.handleTextInput()}" @change="${t=>t.handleChange()}" ?autofocus="${t=>t.autofocus}" ?disabled="${t=>t.disabled}" list="${t=>t.list}" maxlength="${t=>t.maxlength}" minlength="${t=>t.minlength}" placeholder="${t=>t.placeholder}" ?readonly="${t=>t.readOnly}" ?required="${t=>t.required}" size="${t=>t.size}" :value="${t=>t.value}" type="text" inputmode="numeric" min="${t=>t.min}" max="${t=>t.max}" step="${t=>t.step}" aria-atomic="${t=>t.ariaAtomic}" aria-busy="${t=>t.ariaBusy}" aria-controls="${t=>t.ariaControls}" aria-current="${t=>t.ariaCurrent}" aria-describedBy="${t=>t.ariaDescribedby}" aria-details="${t=>t.ariaDetails}" aria-disabled="${t=>t.ariaDisabled}" aria-errormessage="${t=>t.ariaErrormessage}" aria-flowto="${t=>t.ariaFlowto}" aria-haspopup="${t=>t.ariaHaspopup}" aria-hidden="${t=>t.ariaHidden}" aria-invalid="${t=>t.ariaInvalid}" aria-keyshortcuts="${t=>t.ariaKeyshortcuts}" aria-label="${t=>t.ariaLabel}" aria-labelledby="${t=>t.ariaLabelledby}" aria-live="${t=>t.ariaLive}" aria-owns="${t=>t.ariaOwns}" aria-relevant="${t=>t.ariaRelevant}" aria-roledescription="${t=>t.ariaRoledescription}" ${qt("control")}/>${Ut(t=>!t.hideStep,at`<div class="controls" part="controls"><div class="step-up" part="step-up" @click="${t=>t.stepUp()}"></div><div class="step-down" part="step-down" @click="${t=>t.stepDown()}"></div></div>`)} ${ne}</div></template>`,mr=at`<template class=" ${t=>t.readOnly?"readonly":""}"><label part="label" for="control" class="${t=>t.defaultSlottedNodes&&t.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${ee({property:"defaultSlottedNodes",filter:Oo})}></slot></label><div class="root" part="root">${re}<input class="control" part="control" id="control" @input="${t=>t.handleTextInput()}" @change="${t=>t.handleChange()}" ?autofocus="${t=>t.autofocus}" ?disabled="${t=>t.disabled}" list="${t=>t.list}" maxlength="${t=>t.maxlength}" minlength="${t=>t.minlength}" pattern="${t=>t.pattern}" placeholder="${t=>t.placeholder}" ?readonly="${t=>t.readOnly}" ?required="${t=>t.required}" size="${t=>t.size}" ?spellcheck="${t=>t.spellcheck}" :value="${t=>t.value}" type="${t=>t.type}" aria-atomic="${t=>t.ariaAtomic}" aria-busy="${t=>t.ariaBusy}" aria-controls="${t=>t.ariaControls}" aria-current="${t=>t.ariaCurrent}" aria-describedBy="${t=>t.ariaDescribedby}" aria-details="${t=>t.ariaDetails}" aria-disabled="${t=>t.ariaDisabled}" aria-errormessage="${t=>t.ariaErrormessage}" aria-flowto="${t=>t.ariaFlowto}" aria-haspopup="${t=>t.ariaHaspopup}" aria-hidden="${t=>t.ariaHidden}" aria-invalid="${t=>t.ariaInvalid}" aria-keyshortcuts="${t=>t.ariaKeyshortcuts}" aria-label="${t=>t.ariaLabel}" aria-labelledby="${t=>t.ariaLabelledby}" aria-live="${t=>t.ariaLive}" aria-owns="${t=>t.ariaOwns}" aria-relevant="${t=>t.ariaRelevant}" aria-roledescription="${t=>t.ariaRoledescription}" ${qt("control")}/>${ne}</div></template>`;class yr extends St{}class xr extends(qo(yr)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var $r;!function(t){t.email="email",t.password="password",t.tel="tel",t.text="text",t.url="url"}($r||($r={}));class wr extends xr{constructor(){super(...arguments),this.type=$r.text}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}typeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type,this.validate())}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.validate(),this.autofocus&&d.queueUpdate(()=>{this.focus()})}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}}t([bt({attribute:"readonly",mode:"boolean"})],wr.prototype,"readOnly",void 0),t([bt({mode:"boolean"})],wr.prototype,"autofocus",void 0),t([bt],wr.prototype,"placeholder",void 0),t([bt],wr.prototype,"type",void 0),t([bt],wr.prototype,"list",void 0),t([bt({converter:ft})],wr.prototype,"maxlength",void 0),t([bt({converter:ft})],wr.prototype,"minlength",void 0),t([bt],wr.prototype,"pattern",void 0),t([bt({converter:ft})],wr.prototype,"size",void 0),t([bt({mode:"boolean"})],wr.prototype,"spellcheck",void 0),t([S],wr.prototype,"defaultSlottedNodes",void 0);class Cr{}le(Cr,oo),le(wr,se,Cr);class kr extends St{}class Tr extends(qo(kr)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Ir extends Tr{constructor(){super(...arguments),this.hideStep=!1,this.step=1}maxChanged(t,e){const i=parseFloat(e);void 0!==i&&(void 0!==this.min&&i<this.min?(this.max=this.min,this.min=i):this.max=i)}minChanged(t,e){const i=parseFloat(e);void 0!==i&&(void 0!==this.max&&i>this.max?(this.min=this.max,this.max=i):this.min=i)}valueChanged(t,e){super.valueChanged(t,e);const i=parseFloat(e);let o=i==e?e:i;o=""===e||isNaN(i)?"":this.getValidValue(i),this.value=o,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value)}getValidValue(t){return void 0!==this.min&&t<this.min?t=this.min:void 0!==this.max&&t>this.max&&(t=this.max),parseFloat(t.toPrecision(12)).toString()}stepUp(){const t=this.step+(parseFloat(this.value)||0);this.value=this.getValidValue(t),this.$emit("input")}stepDown(){const t=(parseFloat(this.value)||0)-this.step;this.value=this.getValidValue(t),this.$emit("input")}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","number"),this.validate(),this.autofocus&&d.queueUpdate(()=>{this.focus()})}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}}t([bt({attribute:"readonly",mode:"boolean"})],Ir.prototype,"readOnly",void 0),t([bt({mode:"boolean"})],Ir.prototype,"autofocus",void 0),t([bt({attribute:"hide-step",mode:"boolean"})],Ir.prototype,"hideStep",void 0),t([bt],Ir.prototype,"placeholder",void 0),t([bt],Ir.prototype,"list",void 0),t([bt({converter:ft})],Ir.prototype,"maxlength",void 0),t([bt({converter:ft})],Ir.prototype,"minlength",void 0),t([bt({converter:ft})],Ir.prototype,"size",void 0),t([bt({converter:ft})],Ir.prototype,"step",void 0),t([bt({converter:ft})],Ir.prototype,"max",void 0),t([bt({converter:ft})],Ir.prototype,"min",void 0),t([S],Ir.prototype,"defaultSlottedNodes",void 0),le(Ir,se,Cr);const Sr=at`<template role="progressbar" aria-valuenow="${t=>t.value}" aria-valuemin="${t=>t.min}" aria-valuemax="${t=>t.max}" class="${t=>t.paused?"paused":""}">${Ut(t=>"number"==typeof t.value,at`<svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate"><circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle><circle class="determinate" part="determinate" style="stroke-dasharray:${t=>44*t.value/100}px 44px" cx="8px" cy="8px" r="7px"></circle></svg>`)} ${Ut(t=>"number"!=typeof t.value,at`<slot name="indeterminate" slot="indeterminate"><svg class="progress" part="progress" viewBox="0 0 16 16"><circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle><circle class="indeterminate-indicator-1" part="indeterminate-indicator-1" cx="8px" cy="8px" r="7px"></circle></svg></slot>`)}</template>`;class Fr extends St{}t([bt({converter:ft})],Fr.prototype,"value",void 0),t([bt({converter:ft})],Fr.prototype,"min",void 0),t([bt({converter:ft})],Fr.prototype,"max",void 0),t([bt({mode:"boolean"})],Fr.prototype,"paused",void 0);const Dr=at`<template role="progressbar" aria-valuenow="${t=>t.value}" aria-valuemin="${t=>t.min}" aria-valuemax="${t=>t.max}" class="${t=>t.paused?"paused":""}">${Ut(t=>"number"==typeof t.value,at`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width:${t=>t.value}%"></div></div>`)} ${Ut(t=>"number"!=typeof t.value,at`<div class="progress" part="progress" slot="indeterminate"><slot class="indeterminate" name="indeterminate"><span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span><span class="indeterminate-indicator-2" part="indeterminate-indicator-2"></span></slot></div>`)}</template>`,Pr=at`<template role="radiogroup" aria-disabled="${t=>t.disabled}" aria-readonly="${t=>t.readOnly}" @click="${(t,e)=>t.clickHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}" @focusout="${(t,e)=>t.focusOutHandler(e.event)}"><slot name="label"></slot><div class="positioning-region ${t=>t.orientation===he.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${ee({property:"slottedRadioButtons",filter:Zt("[role=radio]")})}></slot></div></template>`;class Er extends St{constructor(){super(...arguments),this.orientation=he.horizontal,this.radioChangeHandler=t=>{const e=t.target;e.checked&&(this.slottedRadioButtons.forEach(t=>{t!==e&&(t.checked=!1,this.isInsideFoundationToolbar||t.setAttribute("tabindex","-1"))}),this.selectedRadio=e,this.value=e.value,e.setAttribute("tabindex","0"),this.focusedRadio=e),t.stopPropagation()},this.moveToRadioByIndex=(t,e)=>{const i=t[e];this.isInsideToolbar||(i.setAttribute("tabindex","0"),i.readOnly?this.slottedRadioButtons.forEach(t=>{t!==i&&t.setAttribute("tabindex","-1")}):(i.checked=!0,this.selectedRadio=i)),this.focusedRadio=i,i.focus()},this.moveRightOffGroup=()=>{var t;null===(t=this.nextElementSibling)||void 0===t||t.focus()},this.moveLeftOffGroup=()=>{var t;null===(t=this.previousElementSibling)||void 0===t||t.focus()},this.focusOutHandler=t=>{const e=this.slottedRadioButtons,i=t.target,o=null!==i?e.indexOf(i):0,s=this.focusedRadio?e.indexOf(this.focusedRadio):-1;return(0===s&&o===s||s===e.length-1&&s===o)&&(this.selectedRadio?(this.focusedRadio=this.selectedRadio,this.isInsideFoundationToolbar||(this.selectedRadio.setAttribute("tabindex","0"),e.forEach(t=>{t!==this.selectedRadio&&t.setAttribute("tabindex","-1")}))):(this.focusedRadio=e[0],this.focusedRadio.setAttribute("tabindex","0"),e.forEach(t=>{t!==this.focusedRadio&&t.setAttribute("tabindex","-1")}))),!0},this.clickHandler=t=>{const e=t.target;if(e){const t=this.slottedRadioButtons;e.checked||0===t.indexOf(e)?(e.setAttribute("tabindex","0"),this.selectedRadio=e):(e.setAttribute("tabindex","-1"),this.selectedRadio=null),this.focusedRadio=e}t.preventDefault()},this.shouldMoveOffGroupToTheRight=(t,e,i)=>t===e.length&&this.isInsideToolbar&&39===i,this.shouldMoveOffGroupToTheLeft=(t,e)=>(this.focusedRadio?t.indexOf(this.focusedRadio)-1:0)<0&&this.isInsideToolbar&&37===e,this.checkFocusedRadio=()=>{null===this.focusedRadio||this.focusedRadio.readOnly||this.focusedRadio.checked||(this.focusedRadio.checked=!0,this.focusedRadio.setAttribute("tabindex","0"),this.focusedRadio.focus(),this.selectedRadio=this.focusedRadio)},this.moveRight=t=>{const e=this.slottedRadioButtons;let i=0;if(i=this.focusedRadio?e.indexOf(this.focusedRadio)+1:1,this.shouldMoveOffGroupToTheRight(i,e,t.keyCode))this.moveRightOffGroup();else for(i===e.length&&(i=0);i<e.length&&e.length>1;){if(!e[i].disabled){this.moveToRadioByIndex(e,i);break}if(this.focusedRadio&&i===e.indexOf(this.focusedRadio))break;if(i+1>=e.length){if(this.isInsideToolbar)break;i=0}else i+=1}},this.moveLeft=t=>{const e=this.slottedRadioButtons;let i=0;if(i=this.focusedRadio?e.indexOf(this.focusedRadio)-1:0,i=i<0?e.length-1:i,this.shouldMoveOffGroupToTheLeft(e,t.keyCode))this.moveLeftOffGroup();else for(;i>=0&&e.length>1;){if(!e[i].disabled){this.moveToRadioByIndex(e,i);break}if(this.focusedRadio&&i===e.indexOf(this.focusedRadio))break;i-1<0?i=e.length-1:i-=1}},this.keydownHandler=t=>{const e=t.key;if(e in Qi&&this.isInsideFoundationToolbar)return!0;switch(e){case"Enter":this.checkFocusedRadio();break;case"ArrowRight":case"ArrowDown":this.direction===Xi.ltr?this.moveRight(t):this.moveLeft(t);break;case"ArrowLeft":case"ArrowUp":this.direction===Xi.ltr?this.moveLeft(t):this.moveRight(t);break;default:return!0}}}readOnlyChanged(){void 0!==this.slottedRadioButtons&&this.slottedRadioButtons.forEach(t=>{this.readOnly?t.readOnly=!0:t.readOnly=!1})}disabledChanged(){void 0!==this.slottedRadioButtons&&this.slottedRadioButtons.forEach(t=>{this.disabled?t.disabled=!0:t.disabled=!1})}nameChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(t=>{t.setAttribute("name",this.name)})}valueChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(t=>{t.getAttribute("value")===this.value&&(t.checked=!0,this.selectedRadio=t)}),this.$emit("change")}slottedRadioButtonsChanged(t,e){this.slottedRadioButtons&&this.slottedRadioButtons.length>0&&this.setupRadioButtons()}get parentToolbar(){return this.closest('[role="toolbar"]')}get isInsideToolbar(){var t;return null!==(t=this.parentToolbar)&&void 0!==t&&t}get isInsideFoundationToolbar(){var t;return!!(null===(t=this.parentToolbar)||void 0===t?void 0:t.$fastController)}connectedCallback(){super.connectedCallback(),this.direction=Ao(this),this.setupRadioButtons()}disconnectedCallback(){this.slottedRadioButtons.forEach(t=>{t.removeEventListener("change",this.radioChangeHandler)})}setupRadioButtons(){const t=this.slottedRadioButtons.filter(t=>t.hasAttribute("checked")),e=t?t.length:0;if(e>1){t[e-1].checked=!0}let i=!1;if(this.slottedRadioButtons.forEach(t=>{void 0!==this.name&&t.setAttribute("name",this.name),this.disabled&&(t.disabled=!0),this.readOnly&&(t.readOnly=!0),this.value&&this.value===t.getAttribute("value")?(this.selectedRadio=t,this.focusedRadio=t,t.checked=!0,t.setAttribute("tabindex","0"),i=!0):(this.isInsideFoundationToolbar||t.setAttribute("tabindex","-1"),t.checked=!1),t.addEventListener("change",this.radioChangeHandler)}),void 0===this.value&&this.slottedRadioButtons.length>0){const t=this.slottedRadioButtons.filter(t=>t.hasAttribute("checked")),e=null!==t?t.length:0;if(e>0&&!i){const i=t[e-1];i.checked=!0,this.focusedRadio=i,i.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}t([bt({attribute:"readonly",mode:"boolean"})],Er.prototype,"readOnly",void 0),t([bt({attribute:"disabled",mode:"boolean"})],Er.prototype,"disabled",void 0),t([bt],Er.prototype,"name",void 0),t([bt],Er.prototype,"value",void 0),t([bt],Er.prototype,"orientation",void 0),t([S],Er.prototype,"childItems",void 0),t([S],Er.prototype,"slottedRadioButtons",void 0);const Ar=at`<template role="radio" class="${t=>t.checked?"checked":""} ${t=>t.readOnly?"readonly":""}" aria-checked="${t=>t.checked}" aria-required="${t=>t.required}" aria-disabled="${t=>t.disabled}" aria-readonly="${t=>t.readOnly}" @keypress="${(t,e)=>t.keypressHandler(e.event)}" @click="${(t,e)=>t.clickHandler(e.event)}"><div part="control" class="control"><slot name="checked-indicator"><div part="checked-indicator" class="checked-indicator"></div></slot></div><label part="label" class="${t=>t.defaultSlottedNodes&&t.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${ee("defaultSlottedNodes")}></slot></label></template>`;class Or extends St{}class Rr extends(qo(Or)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Lr extends Rr{constructor(){var t;super(),this.initialValue="on",this.checkedAttribute=!1,this.dirtyChecked=!1,this.formResetCallback=()=>{this.checked=!!this.defaultChecked,this.dirtyChecked=!1},this.keypressHandler=t=>{switch(t.keyCode){case 32:return void(this.checked||this.readOnly||(this.checked=!0))}return!0},this.clickHandler=t=>{this.disabled||this.readOnly||this.checked||(this.checked=!0)},this.checked=null!==(t=this.defaultChecked)&&void 0!==t&&t}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){var t;this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!==(t=this.defaultChecked)&&void 0!==t&&t,this.dirtyChecked=!1))}checkedChanged(){this.$fastController.isConnected&&(this.dirtyChecked||(this.dirtyChecked=!0),this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),this.$emit("change"),this.validate())}connectedCallback(){var t,e;super.connectedCallback(),this.proxy.setAttribute("type","radio"),this.validate(),"radiogroup"!==(null===(t=this.parentElement)||void 0===t?void 0:t.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.updateForm(),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!==(e=this.defaultChecked)&&void 0!==e&&e,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.closest("[role=radiogroup]")}updateForm(){const t=this.checked?this.value:null;this.setFormValue(t,t)}}t([bt({attribute:"readonly",mode:"boolean"})],Lr.prototype,"readOnly",void 0),t([S],Lr.prototype,"name",void 0),t([bt({attribute:"checked",mode:"boolean"})],Lr.prototype,"checkedAttribute",void 0),t([S],Lr.prototype,"defaultSlottedNodes",void 0),t([S],Lr.prototype,"defaultChecked",void 0),t([S],Lr.prototype,"checked",void 0);class Hr extends St{constructor(){super(...arguments),this.framesPerSecond=120,this.updatingItems=!1,this.speed=600,this.easing="ease-in-out",this.scrolling=!1,this.resizeDetector=null}get frameTime(){return 1e3/this.framesPerSecond}get isRtl(){return this.scrollItems.length>1&&this.scrollItems[0].offsetLeft>this.scrollItems[1].offsetLeft}connectedCallback(){super.connectedCallback(),this.initializeResizeDetector()}disconnectedCallback(){super.disconnectedCallback(),this.disconnectResizeDetector()}scrollItemsChanged(t,e){e&&!this.updatingItems&&this.setStops()}disconnectResizeDetector(){this.resizeDetector&&(this.resizeDetector.disconnect(),this.resizeDetector=null)}initializeResizeDetector(){this.disconnectResizeDetector(),this.resizeDetector=new window.ResizeObserver(this.resized.bind(this)),this.resizeDetector.observe(this)}updateScrollStops(){this.updatingItems=!0;let t=[];this.scrollItems.forEach(e=>{e instanceof HTMLSlotElement?t=t.concat(e.assignedElements()):t.push(e)}),this.scrollItems=t,this.updatingItems=!1}setStops(){this.updateScrollStops(),this.width=this.offsetWidth;let t=0,e=this.scrollItems.map(({offsetLeft:e,offsetWidth:i},o)=>{const s=e+i;return this.isRtl?-s:(t=s,0===o?0:e)}).concat(t);e=this.fixScrollMisalign(e),e.sort((t,e)=>Math.abs(t)-Math.abs(e)),this.scrollStops=e,this.setFlippers()}fixScrollMisalign(t){if(this.isRtl&&t.some(t=>t>0)){t.sort((t,e)=>e-t);const e=t[0];t=t.map(t=>t-e)}return t}setFlippers(){const t=this.scrollContainer.scrollLeft;if(this.previousFlipper&&this.previousFlipper.classList.toggle("disabled",0===t),this.nextFlipper&&this.scrollStops){const e=Math.abs(this.scrollStops[this.scrollStops.length-1]);this.nextFlipper.classList.toggle("disabled",Math.abs(t)+this.width>=e)}}scrollToPrevious(){const t=this.scrollContainer.scrollLeft,e=this.scrollStops.findIndex((e,i)=>e<=t&&(this.isRtl||i===this.scrollStops.length-1||this.scrollStops[i+1]>t)),i=Math.abs(this.scrollStops[e+1]);let o=this.scrollStops.findIndex(t=>Math.abs(t)+this.width>i);(o>e||-1===o)&&(o=e>0?e-1:0),this.scrollToPosition(this.scrollStops[o],t)}scrollToNext(){const t=this.scrollContainer.scrollLeft,e=this.scrollStops.findIndex(e=>Math.abs(e)>=Math.abs(t)),i=this.scrollStops.findIndex(e=>Math.abs(t)+this.width<=Math.abs(e));let o=e;i>e+2?o=i-2:e<this.scrollStops.length-2&&(o=e+1);const s=this.scrollStops[o];this.scrollToPosition(s,t)}scrollToPosition(t,e=this.scrollContainer.scrollLeft){if(this.scrolling)return;this.scrolling=!0;const i=[],o=e<t?1:-1,s=Math.abs(t-e),n=s/this.speed,r=Math.floor(this.framesPerSecond*n);if(r<1)this.scrolling=!1;else{for(let t=0;t<r;t++){const n=t/r,a=s*this.getEasedFactor(this.easing,n)*o;i.push(a+e)}i.push(t),this.move(i,this.frameTime)}}move(t,e){if(!t||t.length<=0)return this.setFlippers(),void(this.scrolling=!1);this.moveStartTime=requestAnimationFrame(i=>{if(i-this.moveStartTime>=e){const e=t.shift();this.scrollContainer.scrollLeft=null!=e?e:this.scrollContainer.scrollLeft}this.move(t,e)})}resized(){this.resizeTimeout&&(this.resizeTimeout=clearTimeout(this.resizeTimeout)),this.resizeTimeout=setTimeout(()=>{this.width=this.offsetWidth,this.setFlippers()},this.frameTime)}scrolled(){this.scrollTimeout&&(this.scrollTimeout=clearTimeout(this.scrollTimeout)),this.scrollTimeout=setTimeout(()=>{this.setFlippers()},this.frameTime)}getEasedFactor(t,e){switch(e>1&&(e=1),t){case"ease-in":return Math.pow(e,1.675);case"ease-out":return 1-Math.pow(1-e,1.675);case"ease-in-out":return.5*(Math.sin((e-.5)*Math.PI)+1);default:return e}}}t([bt({converter:ft})],Hr.prototype,"speed",void 0),t([bt],Hr.prototype,"easing",void 0),t([S],Hr.prototype,"scrollItems",void 0),t([bt({attribute:"view"})],Hr.prototype,"view",void 0);const Br=at`<template class="horizontal-scroll">${re}<div class="scroll-area"><div class="scroll-view" @scroll="${t=>t.scrolled()}" ${qt("scrollContainer")}><div class="content-container"><slot ${ee({property:"scrollItems",filter:Zt()})}></slot></div></div>${Ut(t=>"mobile"!==t.view,at`<div class="scroll scroll-prev" part="scroll-prev" ${qt("previousFlipper")}><div class="scroll-action" @click="${t=>t.scrollToPrevious()}"><slot name="previous-flipper"></slot></div></div><div class="scroll scroll-next" part="scroll-next" ${qt("nextFlipper")}><div class="scroll-action" @click="${t=>t.scrollToNext()}"><slot name="next-flipper"></slot></div></div>`)}</div>${ne}</template>`;class zr extends as{}class Mr extends(qo(zr)){constructor(){super(...arguments),this.proxy=document.createElement("select")}}class Nr extends Mr{constructor(){super(...arguments),this.open=!1,this.forcedPosition=!1,this.role=is.combobox,this.position=es.below,this.maxHeight=0,this.displayValue="",this.formResetCallback=()=>{this.setProxyOptions(),this.setDefaultSelectedOption(),this.value=this.firstSelectedOption.value}}openChanged(){this.ariaExpanded=this.open?"true":"false",this.open&&(this.setPositioning(),this.focusAndScrollOptionIntoView(),this.indexWhenOpened=this.selectedIndex)}get value(){return C.track(this,"value"),this._value}set value(t){const e=""+this._value;if(this.$fastController.isConnected&&this.options){const e=this.options.findIndex(e=>e.value===t),i=this.options[this.selectedIndex],o=this.options[e],s=i?i.value:null,n=o?o.value:null;-1!==e&&s===n||(t="",this.selectedIndex=e),this.firstSelectedOption&&(t=this.firstSelectedOption.value)}e!==t&&(this._value=t,super.valueChanged(e,t),C.notify(this,"value"))}updateValue(t){this.$fastController.isConnected&&(this.value=this.firstSelectedOption?this.firstSelectedOption.value:"",this.displayValue=this.firstSelectedOption?this.firstSelectedOption.textContent||this.firstSelectedOption.value:this.value),t&&this.$emit("change")}selectedIndexChanged(t,e){super.selectedIndexChanged(t,e),this.updateValue()}setPositioning(){const t=this.getBoundingClientRect(),e=window.innerHeight-t.bottom;this.position=this.forcedPosition?this.positionAttribute:t.top>e?es.above:es.below,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===es.above?~~t.top:~~e}disabledChanged(t,e){super.disabledChanged&&super.disabledChanged(t,e),this.ariaDisabled=this.disabled?"true":"false"}clickHandler(t){if(!this.disabled){if(this.open){const e=t.target.closest("option,[role=option]");if(e&&e.disabled)return}return super.clickHandler(t),this.open=!this.open,this.open||this.indexWhenOpened===this.selectedIndex||this.updateValue(!0),!0}}focusoutHandler(t){if(!this.open)return!0;const e=t.relatedTarget;this.isSameNode(e)?this.focus():this.options&&this.options.includes(e)||(this.open=!1)}slottedOptionsChanged(t,e){super.slottedOptionsChanged(t,e),this.setProxyOptions(),this.updateValue()}setProxyOptions(){this.proxy instanceof HTMLSelectElement&&this.options&&(this.proxy.options.length=0,this.options.forEach(t=>{const e=t.proxy||(t instanceof HTMLOptionElement?t.cloneNode():null);e&&this.proxy.appendChild(e)}))}keydownHandler(t){super.keydownHandler(t);switch(t.key||t.key.charCodeAt(0)){case" ":this.typeAheadExpired&&(t.preventDefault(),this.open=!this.open);break;case"Enter":t.preventDefault(),this.open=!this.open;break;case"Escape":this.open&&(t.preventDefault(),this.open=!1);break;case"Tab":if(!this.open)return!0;t.preventDefault(),this.open=!1}return this.open||this.indexWhenOpened===this.selectedIndex||this.updateValue(!0),!0}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute}}t([bt({attribute:"open",mode:"boolean"})],Nr.prototype,"open",void 0),t([bt({attribute:"position"})],Nr.prototype,"positionAttribute",void 0),t([S],Nr.prototype,"position",void 0),t([S],Nr.prototype,"maxHeight",void 0),t([S],Nr.prototype,"displayValue",void 0);class Vr{}t([S],Vr.prototype,"ariaExpanded",void 0),t([bt({attribute:"aria-pressed",mode:"fromView"})],Vr.prototype,"ariaPressed",void 0),le(Vr,oo),le(Nr,se,Vr);const jr=at`<template class="${t=>t.open?"open":""} ${t=>t.disabled?"disabled":""} ${t=>t.position}" role="${t=>t.role}" tabindex="${t=>t.disabled?null:"0"}" aria-disabled="${t=>t.ariaDisabled}" aria-expanded="${t=>t.ariaExpanded}" @click="${(t,e)=>t.clickHandler(e.event)}" @focusout="${(t,e)=>t.focusoutHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}"><div aria-activedescendant="${t=>t.open?t.ariaActiveDescendant:null}" aria-controls="listbox" aria-expanded="${t=>t.ariaExpanded}" aria-haspopup="listbox" class="control" part="control" role="button" ?disabled="${t=>t.disabled}">${re}<slot name="button-container"><div class="selected-value" part="selected-value"><slot name="selected-value">${t=>t.displayValue}</slot></div><div class="indicator" part="indicator" aria-hidden="true"><slot name="indicator"><svg class="select-indicator" part="select-indicator" viewBox="0 0 12 7" xmlns="http://www.w3.org/2000/svg"><path d="M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z" /></svg></slot></div></slot>${ne}</div><div aria-disabled="${t=>t.disabled}" class="listbox" id="listbox" part="listbox" role="listbox" style="--max-height:${t=>t.maxHeight}px" ?disabled="${t=>t.disabled}" ?hidden="${t=>!t.open}"><slot ${ee({filter:as.slottedOptionFilter,flatten:!0,property:"slottedOptions"})}></slot></div></template>`,_r=at`<template class="${t=>"circle"===t.shape?"circle":"rect"}" pattern="${t=>t.pattern}" ?shimmer="${t=>t.shimmer}">${Ut(t=>!0===t.shimmer,at`<span class="shimmer"></span>`)}<object type="image/svg+xml" data="${t=>t.pattern}"><img class="pattern" src="${t=>t.pattern}" /></object><slot></slot></template>`;class qr extends St{constructor(){super(...arguments),this.shape="rect"}}t([bt],qr.prototype,"fill",void 0),t([bt],qr.prototype,"shape",void 0),t([bt],qr.prototype,"pattern",void 0),t([bt({mode:"boolean"})],qr.prototype,"shimmer",void 0);const Ur=at`<template aria-disabled="${t=>t.disabled}" class="${t=>t.sliderOrientation||he.horizontal} ${t=>t.disabled?"disabled":""}"><div ${qt("root")}part="root" class="root" style="${t=>t.positionStyle}"><div class="container">${Ut(t=>!t.hideMark,at`<div class="mark"></div>`)}<div class="label"><slot></slot></div></div></div></template>`;function Gr(t,e,i,o){let s=to(0,1,(t-e)/(i-e));return o===Xi.rtl&&(s=1-s),s}const Wr={min:0,max:0,direction:Xi.ltr,orientation:he.horizontal,disabled:!1};class Kr extends St{constructor(){super(...arguments),this.hideMark=!1,this.sliderDirection=Xi.ltr,this.getSliderConfiguration=()=>{if(this.isSliderConfig(this.parentNode)){const t=this.parentNode,{min:e,max:i,direction:o,orientation:s,disabled:n}=t;void 0!==n&&(this.disabled=n),this.sliderDirection=o||Xi.ltr,this.sliderOrientation=s||he.horizontal,this.sliderMaxPosition=i,this.sliderMinPosition=e}else this.sliderDirection=Wr.direction||Xi.ltr,this.sliderOrientation=Wr.orientation||he.horizontal,this.sliderMaxPosition=Wr.max,this.sliderMinPosition=Wr.min},this.positionAsStyle=()=>{const t=this.sliderDirection?this.sliderDirection:Xi.ltr,e=Gr(Number(this.position),Number(this.sliderMinPosition),Number(this.sliderMaxPosition));let i=Math.round(100*(1-e)),o=Math.round(100*e);return o===Number.NaN&&i===Number.NaN&&(i=50,o=50),this.sliderOrientation===he.horizontal?t===Xi.rtl?`right: ${o}%; left: ${i}%;`:`left: ${o}%; right: ${i}%;`:`top: ${o}%; bottom: ${i}%;`}}positionChanged(){this.positionStyle=this.positionAsStyle()}sliderOrientationChanged(){}connectedCallback(){super.connectedCallback(),this.getSliderConfiguration(),this.positionStyle=this.positionAsStyle(),this.notifier=C.getNotifier(this.parentNode),this.notifier.subscribe(this,"orientation"),this.notifier.subscribe(this,"direction"),this.notifier.subscribe(this,"max"),this.notifier.subscribe(this,"min")}disconnectedCallback(){super.disconnectedCallback(),this.notifier.unsubscribe(this,"orientation"),this.notifier.unsubscribe(this,"direction"),this.notifier.unsubscribe(this,"max"),this.notifier.unsubscribe(this,"min")}handleChange(t,e){switch(e){case"direction":this.sliderDirection=t.direction;break;case"orientation":this.sliderOrientation=t.orientation;break;case"max":this.sliderMinPosition=t.max;break;case"min":this.sliderMinPosition=t.min}this.positionStyle=this.positionAsStyle()}isSliderConfig(t){return void 0!==t.max&&void 0!==t.min}}t([S],Kr.prototype,"positionStyle",void 0),t([bt],Kr.prototype,"position",void 0),t([bt({attribute:"hide-mark",mode:"boolean"})],Kr.prototype,"hideMark",void 0),t([bt({attribute:"disabled",mode:"boolean"})],Kr.prototype,"disabled",void 0),t([S],Kr.prototype,"sliderOrientation",void 0),t([S],Kr.prototype,"sliderMinPosition",void 0),t([S],Kr.prototype,"sliderMaxPosition",void 0),t([S],Kr.prototype,"sliderDirection",void 0);const Qr=at`<template role="slider" class="${t=>t.readOnly?"readonly":""} ${t=>t.orientation||he.horizontal}" tabindex="${t=>t.disabled?null:0}" aria-valuetext="${t=>t.valueTextFormatter(t.value)}" aria-valuenow="${t=>t.value}" aria-valuemin="${t=>t.min}" aria-valuemax="${t=>t.max}" aria-disabled="${t=>!!t.disabled||void 0}" aria-readonly="${t=>!!t.readOnly||void 0}" aria-orientation="${t=>t.orientation}" class="${t=>t.orientation}"><div part="positioning-region" class="positioning-region"><div ${qt("track")}part="track-container" class="track"><slot name="track"></slot></div><slot></slot><div ${qt("thumb")}part="thumb-container" class="thumb-container" style="${t=>t.position}"><slot name="thumb"><div class="thumb-cursor"></div></slot></div></div></template>`;class Xr extends St{}class Yr extends(qo(Xr)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var Zr;!function(t){t.singleValue="single-value"}(Zr||(Zr={}));class Jr extends Yr{constructor(){super(...arguments),this.direction=Xi.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>null,this.min=0,this.max=10,this.step=1,this.orientation=he.horizontal,this.mode=Zr.singleValue,this.keypressHandler=t=>{if(9!==t.keyCode&&t.preventDefault(),36===t.keyCode)this.value=""+this.min;else if(35===t.keyCode)this.value=""+this.max;else if(!t.shiftKey)switch(t.keyCode){case 39:case 38:this.increment();break;case 37:case 40:this.decrement()}},this.setupTrackConstraints=()=>{const t=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=t.bottom,this.trackMinHeight=t.top,this.trackLeft=this.getBoundingClientRect().left,0===this.trackWidth&&(this.trackWidth=1)},this.setupListeners=()=>{this.addEventListener("keydown",this.keypressHandler),this.addEventListener("mousedown",this.handleMouseDown),this.thumb.addEventListener("mousedown",this.handleThumbMouseDown),this.thumb.addEventListener("touchstart",this.handleThumbMouseDown)},this.initialValue="",this.handleThumbMouseDown=t=>{this.readOnly||this.disabled||t.defaultPrevented||(t.preventDefault(),t.target.focus(),window.addEventListener("mouseup",this.handleWindowMouseUp),window.addEventListener("mousemove",this.handleMouseMove),window.addEventListener("touchmove",this.handleMouseMove),window.addEventListener("touchend",this.handleWindowMouseUp),this.isDragging=!0)},this.handleMouseMove=t=>{if(this.readOnly||this.disabled||t.defaultPrevented)return;const e=window.TouchEvent&&t instanceof TouchEvent?t.touches[0]:t,i=this.orientation===he.horizontal?e.pageX-this.trackLeft:e.pageY;this.value=""+this.calculateNewValue(i)},this.calculateNewValue=t=>{const e=Gr(t,this.orientation===he.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===he.horizontal?this.trackWidth:this.trackHeight,this.direction),i=(this.max-this.min)*e+this.min;return this.convertToConstrainedValue(i)},this.handleWindowMouseUp=t=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,window.removeEventListener("mouseup",this.handleWindowMouseUp),window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("touchmove",this.handleMouseMove),window.removeEventListener("touchend",this.handleWindowMouseUp)},this.handleMouseDown=t=>{if(t.preventDefault(),!this.disabled&&!this.readOnly){this.setupTrackConstraints(),t.target.focus(),window.addEventListener("mouseup",this.handleWindowMouseUp),window.addEventListener("mousemove",this.handleMouseMove);const e=this.orientation===he.horizontal?t.pageX-this.trackLeft:t.pageY;this.value=""+this.calculateNewValue(e)}},this.convertToConstrainedValue=t=>{isNaN(t)&&(t=this.min);let e=t-this.min;const i=e-Math.round(e/this.step)*(this.stepMultiplier*this.step)/this.stepMultiplier;return e=i>=Number(this.step)/2?e-i+Number(this.step):e-i,e+this.min}}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}valueChanged(t,e){super.valueChanged(t,e),this.$fastController.isConnected&&this.setThumbPositionForOrientation(this.direction),this.$emit("change")}minChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.min=""+this.min),this.validate()}maxChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.max=""+this.max),this.validate()}stepChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.step=""+this.step),this.updateStepMultiplier(),this.validate()}orientationChanged(){this.$fastController.isConnected&&this.setThumbPositionForOrientation(this.direction)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction=Ao(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.removeEventListener("keydown",this.keypressHandler),this.removeEventListener("mousedown",this.handleMouseDown),this.thumb.removeEventListener("mousedown",this.handleThumbMouseDown),this.thumb.removeEventListener("touchstart",this.handleThumbMouseDown)}increment(){const t=this.direction!==Xi.rtl&&this.orientation!==he.vertical?Number(this.value)+Number(this.step):Number(this.value)-Number(this.step),e=this.convertToConstrainedValue(t),i=e<Number(this.max)?""+e:""+this.max;this.value=i}decrement(){const t=this.direction!==Xi.rtl&&this.orientation!==he.vertical?Number(this.value)-Number(this.step):Number(this.value)+Number(this.step),e=this.convertToConstrainedValue(t),i=e>Number(this.min)?""+e:""+this.min;this.value=i}setThumbPositionForOrientation(t){const e=Gr(Number(this.value),Number(this.min),Number(this.max),t),i=Math.round(100*(1-e));this.orientation===he.horizontal?this.position=this.isDragging?`right: ${i}%; transition: none;`:`right: ${i}%; transition: all 0.2s ease;`:this.position=this.isDragging?`bottom: ${i}%; transition: none;`:`bottom: ${i}%; transition: all 0.2s ease;`}updateStepMultiplier(){const t=this.step+"",e=this.step%1?t.length-t.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,e)}get midpoint(){return""+this.convertToConstrainedValue((this.max+this.min)/2)}setupDefaultValue(){if("string"==typeof this.value)if(0===this.value.length)this.initialValue=this.midpoint;else{const t=parseFloat(this.value);!Number.isNaN(t)&&(t<this.min||t>this.max)&&(this.value=this.midpoint)}}}t([bt({attribute:"readonly",mode:"boolean"})],Jr.prototype,"readOnly",void 0),t([S],Jr.prototype,"direction",void 0),t([S],Jr.prototype,"isDragging",void 0),t([S],Jr.prototype,"position",void 0),t([S],Jr.prototype,"trackWidth",void 0),t([S],Jr.prototype,"trackMinWidth",void 0),t([S],Jr.prototype,"trackHeight",void 0),t([S],Jr.prototype,"trackLeft",void 0),t([S],Jr.prototype,"trackMinHeight",void 0),t([S],Jr.prototype,"valueTextFormatter",void 0),t([bt({converter:ft})],Jr.prototype,"min",void 0),t([bt({converter:ft})],Jr.prototype,"max",void 0),t([bt({converter:ft})],Jr.prototype,"step",void 0),t([bt],Jr.prototype,"orientation",void 0),t([bt],Jr.prototype,"mode",void 0);const ta=at`<template role="switch" aria-checked="${t=>t.checked}" aria-disabled="${t=>t.disabled}" aria-readonly="${t=>t.readOnly}" tabindex="${t=>t.disabled?null:0}" @keypress="${(t,e)=>t.keypressHandler(e.event)}" @click="${(t,e)=>t.clickHandler(e.event)}" class="${t=>t.checked?"checked":""}"><label part="label" class="${t=>t.defaultSlottedNodes&&t.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${ee("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><span class="checked-indicator" part="checked-indicator"></span></div><span class="status-message" part="status-message"><span class="checked-message" part="checked-message"><slot name="checked-message"></slot></span><span class="unchecked-message" part="unchecked-message"><slot name="unchecked-message"></slot></span></span></template>`;class ea extends St{}class ia extends(qo(ea)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class oa extends ia{constructor(){super(),this.initialValue="on",this.dirtyChecked=!1,this.formResetCallback=()=>{this.checked=this.checkedAttribute,this.dirtyChecked=!1},this.keypressHandler=t=>{switch(t.keyCode){case 32:this.checked=!this.checked}},this.clickHandler=t=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.defaultChecked=!!this.checkedAttribute,this.checked=this.defaultChecked}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly),this.readOnly?this.classList.add("readonly"):this.classList.remove("readonly")}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(){this.dirtyChecked||(this.dirtyChecked=!0),this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),this.$emit("change"),this.checked?this.classList.add("checked"):this.classList.remove("checked"),this.validate()}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","checkbox"),this.updateForm()}updateForm(){const t=this.checked?this.value:null;this.setFormValue(t,t)}}t([bt({attribute:"readonly",mode:"boolean"})],oa.prototype,"readOnly",void 0),t([bt({attribute:"checked",mode:"boolean"})],oa.prototype,"checkedAttribute",void 0),t([S],oa.prototype,"defaultSlottedNodes",void 0),t([S],oa.prototype,"defaultChecked",void 0),t([S],oa.prototype,"checked",void 0);const sa=at`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`;class na extends St{}const ra=at`<template slot="tab" role="tab" aria-disabled="${t=>t.disabled}"><slot></slot></template>`;class aa extends St{}t([bt({mode:"boolean"})],aa.prototype,"disabled",void 0);const la=at`<template class="${t=>t.orientation}">${re}<div class="tablist" part="tablist" role="tablist"><slot class="tab" name="tab" part="tab" ${ee("tabs")}></slot>${Ut(t=>t.showActiveIndicator,at`<div ${qt("activeIndicatorRef")}class="activeIndicator" part="activeIndicator"></div>`)}</div>${ne}<div class="tabpanel"><slot name="tabpanel" part="tabpanel" ${ee("tabpanels")}></slot></div></template>`;var ca,da;!function(t){t.vertical="vertical",t.horizontal="horizontal"}(ca||(ca={}));class ha extends St{constructor(){super(...arguments),this.orientation=ca.horizontal,this.activeindicator=!0,this.showActiveIndicator=!0,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.ticking=!1,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=t=>"true"===t.getAttribute("aria-disabled"),this.isFocusableElement=t=>!this.isDisabledElement(t),this.setTabs=()=>{const t=this.isHorizontal()?"gridColumn":"gridRow";this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex(),this.showActiveIndicator=!1,this.tabs.forEach((e,i)=>{if("tab"===e.slot&&this.isFocusableElement(e)){this.activeindicator&&(this.showActiveIndicator=!0);const t=this.tabIds[i],o=this.tabpanelIds[i];e.setAttribute("id","string"!=typeof t?"tab-"+(i+1):t),e.setAttribute("aria-selected",this.activeTabIndex===i?"true":"false"),e.setAttribute("aria-controls","string"!=typeof o?"panel-"+(i+1):o),e.addEventListener("click",this.handleTabClick),e.addEventListener("keydown",this.handleTabKeyDown),e.setAttribute("tabindex",this.activeTabIndex===i?"0":"-1"),this.activeTabIndex===i&&(this.activetab=e)}e.style[t]=""+(i+1),this.isHorizontal()?e.classList.remove("vertical"):e.classList.add("vertical")})},this.setTabPanels=()=>{this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.tabpanels.forEach((t,e)=>{const i=this.tabIds[e],o=this.tabpanelIds[e];t.setAttribute("id","string"!=typeof o?"panel-"+(e+1):o),t.setAttribute("aria-labelledby","string"!=typeof i?"tab-"+(e+1):i),this.activeTabIndex!==e?t.setAttribute("hidden",""):t.removeAttribute("hidden")})},this.handleTabClick=t=>{const e=t.currentTarget;1===e.nodeType&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(e),this.setComponent())},this.handleTabKeyDown=t=>{const e=t.keyCode;if(this.isHorizontal())switch(e){case 37:t.preventDefault(),this.adjustBackward(t);break;case 39:t.preventDefault(),this.adjustForward(t)}else switch(e){case 38:t.preventDefault(),this.adjustBackward(t);break;case 40:t.preventDefault(),this.adjustForward(t)}switch(e){case 36:t.preventDefault(),this.adjust(-this.activeTabIndex);break;case 35:t.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}},this.adjustForward=t=>{const e=this.tabs;let i=0;for(i=this.activetab?e.indexOf(this.activetab)+1:1,i===e.length&&(i=0);i<e.length&&e.length>1;){if(this.isFocusableElement(e[i])){this.moveToTabByIndex(e,i);break}if(this.activetab&&i===e.indexOf(this.activetab))break;i+1>=e.length?i=0:i+=1}},this.adjustBackward=t=>{const e=this.tabs;let i=0;for(i=this.activetab?e.indexOf(this.activetab)-1:0,i=i<0?e.length-1:i;i>=0&&e.length>1;){if(this.isFocusableElement(e[i])){this.moveToTabByIndex(e,i);break}i-1<0?i=e.length-1:i-=1}},this.moveToTabByIndex=(t,e)=>{const i=t[e];this.activetab=i,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=e,i.focus(),this.setComponent()}}activeidChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}getTabIds(){return this.tabs.map(t=>t.getAttribute("id"))}getTabPanelIds(){return this.tabpanels.map(t=>t.getAttribute("id"))}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.change(),this.setTabs(),this.handleActiveIndicatorPosition(),this.setTabPanels(),this.focusTab(),this.change())}isHorizontal(){return this.orientation===ca.horizontal}handleActiveIndicatorPosition(){this.showActiveIndicator&&this.activeindicator&&this.activeTabIndex!==this.prevActiveTabIndex&&(this.ticking?this.ticking=!1:(this.ticking=!0,this.animateActiveIndicator()))}animateActiveIndicator(){this.ticking=!0;const t=this.isHorizontal()?"gridColumn":"gridRow",e=this.isHorizontal()?"translateX":"translateY",i=this.isHorizontal()?"offsetLeft":"offsetTop",o=this.activeIndicatorRef[i];this.activeIndicatorRef.style[t]=""+(this.activeTabIndex+1);const s=this.activeIndicatorRef[i];this.activeIndicatorRef.style[t]=""+(this.prevActiveTabIndex+1);const n=s-o;this.activeIndicatorRef.style.transform=`${e}(${n}px)`,this.activeIndicatorRef.classList.add("activeIndicatorTransition"),this.activeIndicatorRef.addEventListener("transitionend",()=>{this.ticking=!1,this.activeIndicatorRef.style[t]=""+(this.activeTabIndex+1),this.activeIndicatorRef.style.transform=e+"(0px)",this.activeIndicatorRef.classList.remove("activeIndicatorTransition")})}adjust(t){this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=Ji(0,this.tabs.length-1,this.activeTabIndex+t),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}t([bt],ha.prototype,"orientation",void 0),t([bt],ha.prototype,"activeid",void 0),t([S],ha.prototype,"tabs",void 0),t([S],ha.prototype,"tabpanels",void 0),t([bt({mode:"boolean"})],ha.prototype,"activeindicator",void 0),t([S],ha.prototype,"activeIndicatorRef",void 0),t([S],ha.prototype,"showActiveIndicator",void 0),le(ha,se);class ua extends St{}class pa extends(qo(ua)){constructor(){super(...arguments),this.proxy=document.createElement("textarea")}}!function(t){t.none="none",t.both="both",t.horizontal="horizontal",t.vertical="vertical"}(da||(da={}));class ga extends pa{constructor(){super(...arguments),this.resize=da.none,this.cols=20,this.handleTextInput=()=>{this.value=this.control.value}}readOnlyChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.readOnly=this.readOnly)}autofocusChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.autofocus=this.autofocus)}listChanged(){this.proxy instanceof HTMLTextAreaElement&&this.proxy.setAttribute("list",this.list)}maxlengthChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.maxLength=this.maxlength)}minlengthChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.minLength=this.minlength)}spellcheckChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.spellcheck=this.spellcheck)}handleChange(){this.$emit("change")}}t([bt({mode:"boolean"})],ga.prototype,"readOnly",void 0),t([bt],ga.prototype,"resize",void 0),t([bt({mode:"boolean"})],ga.prototype,"autofocus",void 0),t([bt({attribute:"form"})],ga.prototype,"formId",void 0),t([bt],ga.prototype,"list",void 0),t([bt({converter:ft})],ga.prototype,"maxlength",void 0),t([bt({converter:ft})],ga.prototype,"minlength",void 0),t([bt],ga.prototype,"name",void 0),t([bt],ga.prototype,"placeholder",void 0),t([bt({converter:ft,mode:"fromView"})],ga.prototype,"cols",void 0),t([bt({converter:ft,mode:"fromView"})],ga.prototype,"rows",void 0),t([bt({mode:"boolean"})],ga.prototype,"spellcheck",void 0),t([S],ga.prototype,"defaultSlottedNodes",void 0),le(ga,Cr);const fa=at`<template class=" ${t=>t.readOnly?"readonly":""} ${t=>t.resize!==da.none?"resize-"+t.resize:""}"><label part="label" for="control" class="${t=>t.defaultSlottedNodes&&t.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${ee("defaultSlottedNodes")}></slot></label><textarea part="control" class="control" id="control" ?autofocus="${t=>t.autofocus}" cols="${t=>t.cols}" ?disabled="${t=>t.disabled}" form="${t=>t.form}" list="${t=>t.list}" maxlength="${t=>t.maxlength}" minlength="${t=>t.minlength}" name="${t=>t.name}" placeholder="${t=>t.placeholder}" ?readonly="${t=>t.readOnly}" ?required="${t=>t.required}" rows="${t=>t.rows}" ?spellcheck="${t=>t.spellcheck}" :value="${t=>t.value}" aria-atomic="${t=>t.ariaAtomic}" aria-busy="${t=>t.ariaBusy}" aria-controls="${t=>t.ariaControls}" aria-current="${t=>t.ariaCurrent}" aria-describedBy="${t=>t.ariaDescribedby}" aria-details="${t=>t.ariaDetails}" aria-disabled="${t=>t.ariaDisabled}" aria-errormessage="${t=>t.ariaErrormessage}" aria-flowto="${t=>t.ariaFlowto}" aria-haspopup="${t=>t.ariaHaspopup}" aria-hidden="${t=>t.ariaHidden}" aria-invalid="${t=>t.ariaInvalid}" aria-keyshortcuts="${t=>t.ariaKeyshortcuts}" aria-label="${t=>t.ariaLabel}" aria-labelledby="${t=>t.ariaLabelledby}" aria-live="${t=>t.ariaLive}" aria-owns="${t=>t.ariaOwns}" aria-relevant="${t=>t.ariaRelevant}" aria-roledescription="${t=>t.ariaRoledescription}" @input="${(t,e)=>t.handleTextInput()}" @change="${t=>t.handleChange()}" ${qt("control")}></textarea></template>`,va=at`<template aria-label="${t=>t.ariaLabel}" aria-labelledby="${t=>t.ariaLabelledby}" aria-orientation="${t=>t.orientation}" orientation="${t=>t.orientation}" role="toolbar" @click="${(t,e)=>t.clickHandler(e.event)}" @focusin="${(t,e)=>t.focusinHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}"><slot name="label"></slot><div class="positioning-region" part="positioning-region">${re}<slot ${ee({filter:Zt(),property:"slottedItems"})}></slot>${ne}</div></template>`,ba=Object.freeze({[Qi.ArrowUp]:{[he.vertical]:-1},[Qi.ArrowDown]:{[he.vertical]:1},[Qi.ArrowLeft]:{[he.horizontal]:{[Xi.ltr]:-1,[Xi.rtl]:1}},[Qi.ArrowRight]:{[he.horizontal]:{[Xi.ltr]:1,[Xi.rtl]:-1}}});class ma extends St{constructor(){super(...arguments),this._activeIndex=0,this.direction=Xi.ltr,this.orientation=he.horizontal}get activeIndex(){return C.track(this,"activeIndex"),this._activeIndex}set activeIndex(t){this.$fastController.isConnected&&(this._activeIndex=to(0,this.focusableElements.length-1,t),C.notify(this,"activeIndex"))}slottedItemsChanged(t,e){this.$fastController.isConnected&&(this.focusableElements=e.reduce(ma.reduceFocusableItems,[]),this.setFocusableElements())}clickHandler(t){var e;const i=null===(e=this.focusableElements)||void 0===e?void 0:e.indexOf(t.target);return i>-1&&this.activeIndex!==i&&this.setFocusedElement(i),!0}connectedCallback(){super.connectedCallback(),this.direction=Ao(this)}focusinHandler(t){const e=t.relatedTarget;e&&!this.contains(e)&&this.setFocusedElement()}getDirectionalIncrementer(t){var e,i,o,s,n;return null!==(n=null!==(o=null===(i=null===(e=ba[t])||void 0===e?void 0:e[this.orientation])||void 0===i?void 0:i[this.direction])&&void 0!==o?o:null===(s=ba[t])||void 0===s?void 0:s[this.orientation])&&void 0!==n?n:0}keydownHandler(t){const e=t.key;if(!(e in Qi)||t.defaultPrevented||t.shiftKey)return!0;const i=this.getDirectionalIncrementer(e);if(!i)return!t.target.closest("[role=radiogroup]");const o=this.activeIndex+i;return this.focusableElements[o]&&t.preventDefault(),this.setFocusedElement(o),!0}setFocusedElement(t=this.activeIndex){var e;this.activeIndex=t,this.setFocusableElements(),null===(e=this.focusableElements[this.activeIndex])||void 0===e||e.focus()}static reduceFocusableItems(t,e){var i,o,s,n;const r="radio"===e.getAttribute("role"),a=null===(o=null===(i=e.$fastController)||void 0===i?void 0:i.definition.shadowOptions)||void 0===o?void 0:o.delegatesFocus,l=Array.from(null!==(n=null===(s=e.shadowRoot)||void 0===s?void 0:s.querySelectorAll("*"))&&void 0!==n?n:[]).some(t=>Xn(t));return Xn(e)||r||a||l?(t.push(e),t):e.childElementCount?t.concat(Array.from(e.children).reduce(ma.reduceFocusableItems,[])):t}setFocusableElements(){this.$fastController.isConnected&&this.focusableElements.length>0&&this.focusableElements.forEach((t,e)=>{t.tabIndex=this.activeIndex===e?0:-1})}}t([S],ma.prototype,"direction",void 0),t([bt],ma.prototype,"orientation",void 0),t([S],ma.prototype,"slottedItems",void 0),t([S],ma.prototype,"slottedLabel",void 0);class ya{}function xa(t){return at` ${Ut(t=>t.tooltipVisible,at`<${t}-anchored-region fixed-placement="true" vertical-positioning-mode="${t=>t.verticalPositioningMode}" vertical-default-position="${t=>t.verticalDefaultPosition}" vertical-inset="${t=>t.verticalInset}" vertical-scaling="${t=>t.verticalScaling}" horizontal-positioning-mode="${t=>t.horizontalPositioningMode}" horizontal-default-position="${t=>t.horizontalDefaultPosition}" horizontal-scaling="${t=>t.horizontalScaling}" horizontal-inset="${t=>t.horizontalInset}" dir="${t=>t.currentDirection}" ${qt("region")}><div class="tooltip" part="tooltip" role="tooltip"><slot></slot></div></${t}-anchored-region>`)} `}var $a;t([bt({attribute:"aria-labelledby"})],ya.prototype,"ariaLabelledby",void 0),t([bt({attribute:"aria-label"})],ya.prototype,"ariaLabel",void 0),le(ya,oo),le(ma,se,ya),function(t){t.top="top",t.right="right",t.bottom="bottom",t.left="left",t.start="start",t.end="end"}($a||($a={}));class wa extends St{constructor(){super(...arguments),this.anchor="",this.delay=300,this.anchorElement=null,this.viewportElement=null,this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.horizontalInset="true",this.verticalInset="false",this.horizontalScaling="anchor",this.verticalScaling="content",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition=void 0,this.tooltipVisible=!1,this.currentDirection=Xi.ltr,this.delayTimer=null,this.isAnchorHovered=!1,this.handlePositionChange=t=>{this.classList.toggle("top","top"===this.region.verticalPosition),this.classList.toggle("bottom","bottom"===this.region.verticalPosition),this.classList.toggle("inset-top","insetTop"===this.region.verticalPosition),this.classList.toggle("inset-bottom","insetBottom"===this.region.verticalPosition),this.classList.toggle("left","left"===this.region.horizontalPosition),this.classList.toggle("right","right"===this.region.horizontalPosition),this.classList.toggle("inset-left","insetLeft"===this.region.horizontalPosition),this.classList.toggle("inset-right","insetRight"===this.region.horizontalPosition)},this.handleAnchorMouseOver=t=>{this.startHoverTimer()},this.handleAnchorMouseOut=t=>{this.isAnchorHovered&&(this.isAnchorHovered=!1,this.updateTooltipVisibility()),this.clearDelayTimer()},this.startHoverTimer=()=>{this.isAnchorHovered||(this.delay>1?null===this.delayTimer&&(this.delayTimer=window.setTimeout(()=>{this.startHover()},this.delay)):this.startHover())},this.startHover=()=>{this.isAnchorHovered=!0,this.updateTooltipVisibility()},this.clearDelayTimer=()=>{null!==this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},this.getAnchor=()=>{const t=this.getRootNode();return t instanceof ShadowRoot?t.getElementById(this.anchor):document.getElementById(this.anchor)},this.handleDocumentKeydown=t=>{if(!t.defaultPrevented&&this.tooltipVisible)switch(t.keyCode){case 27:this.isAnchorHovered=!1,this.updateTooltipVisibility(),this.$emit("dismiss")}},this.updateTooltipVisibility=()=>{if(!1===this.visible)this.hideTooltip();else if(!0===this.visible)this.showTooltip();else{if(this.isAnchorHovered)return void this.showTooltip();this.hideTooltip()}},this.showTooltip=()=>{this.tooltipVisible||(this.currentDirection=Ao(this),this.tooltipVisible=!0,document.addEventListener("keydown",this.handleDocumentKeydown),d.queueUpdate(this.setRegionProps))},this.hideTooltip=()=>{this.tooltipVisible&&(null!==this.region&&void 0!==this.region&&(this.region.removeEventListener("positionchange",this.handlePositionChange),this.region.viewportElement=null,this.region.anchorElement=null),document.removeEventListener("keydown",this.handleDocumentKeydown),this.tooltipVisible=!1)},this.setRegionProps=()=>{this.tooltipVisible&&(this.viewportElement=document.body,this.region.viewportElement=this.viewportElement,this.region.anchorElement=this.anchorElement,this.region.addEventListener("positionchange",this.handlePositionChange))}}visibleChanged(){this.$fastController.isConnected&&(this.updateTooltipVisibility(),this.updateLayout())}anchorChanged(){this.$fastController.isConnected&&this.updateLayout()}positionChanged(){this.$fastController.isConnected&&this.updateLayout()}anchorElementChanged(t){if(this.$fastController.isConnected){if(null!=t&&(t.removeEventListener("mouseover",this.handleAnchorMouseOver),t.removeEventListener("mouseout",this.handleAnchorMouseOut)),null!==this.anchorElement&&void 0!==this.anchorElement){this.anchorElement.addEventListener("mouseover",this.handleAnchorMouseOver,{passive:!0}),this.anchorElement.addEventListener("mouseout",this.handleAnchorMouseOut,{passive:!0});const t=this.anchorElement.id;null!==this.anchorElement.parentElement&&this.anchorElement.parentElement.querySelectorAll(":hover").forEach(e=>{e.id===t&&this.startHoverTimer()})}null!==this.region&&void 0!==this.region&&this.tooltipVisible&&(this.region.anchorElement=this.anchorElement),this.updateLayout()}}viewportElementChanged(){null!==this.region&&void 0!==this.region&&(this.region.viewportElement=this.viewportElement),this.updateLayout()}connectedCallback(){super.connectedCallback(),this.anchorElement=this.getAnchor(),this.updateLayout(),this.updateTooltipVisibility()}disconnectedCallback(){this.hideTooltip(),this.clearDelayTimer(),super.disconnectedCallback()}updateLayout(){switch(this.position){case $a.top:case $a.bottom:this.verticalPositioningMode="locktodefault",this.horizontalPositioningMode="dynamic",this.verticalDefaultPosition=this.position,this.horizontalDefaultPosition=void 0,this.horizontalInset="true",this.verticalInset="false",this.horizontalScaling="anchor",this.verticalScaling="content";break;case $a.right:case $a.left:case $a.start:case $a.end:this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="locktodefault",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition=this.position,this.horizontalInset="false",this.verticalInset="true",this.horizontalScaling="content",this.verticalScaling="anchor";break;default:this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition=void 0,this.horizontalInset="true",this.verticalInset="false",this.horizontalScaling="anchor",this.verticalScaling="content"}}}wa.DirectionAttributeName="dir",t([bt({mode:"boolean"})],wa.prototype,"visible",void 0),t([bt],wa.prototype,"anchor",void 0),t([bt],wa.prototype,"delay",void 0),t([bt],wa.prototype,"position",void 0),t([S],wa.prototype,"anchorElement",void 0),t([S],wa.prototype,"viewportElement",void 0),t([S],wa.prototype,"verticalPositioningMode",void 0),t([S],wa.prototype,"horizontalPositioningMode",void 0),t([S],wa.prototype,"horizontalInset",void 0),t([S],wa.prototype,"verticalInset",void 0),t([S],wa.prototype,"horizontalScaling",void 0),t([S],wa.prototype,"verticalScaling",void 0),t([S],wa.prototype,"verticalDefaultPosition",void 0),t([S],wa.prototype,"horizontalDefaultPosition",void 0),t([S],wa.prototype,"tooltipVisible",void 0),t([S],wa.prototype,"currentDirection",void 0);const Ca=at`<template role="treeitem" slot="${t=>t.isNestedItem()?"item":void 0}" tabindex="${t=>t.disabled||!t.focusable?void 0:0}" class="${t=>t.expanded?"expanded":""} ${t=>t.selected?"selected":""} ${t=>t.nested?"nested":""} ${t=>t.disabled?"disabled":""}" aria-expanded="${t=>t.childItems&&t.childItemLength()>0?t.expanded:void 0}" aria-selected="${t=>t.selected}" aria-disabled="${t=>t.disabled}" @keydown="${(t,e)=>t.handleKeyDown(e.event)}" @click="${(t,e)=>t.handleClick(e.event)}" ${oe({property:"childItems",filter:Zt()})}><div class="positioning-region" part="positioning-region"><div class="content-region" part="content-region">${Ut(t=>t.childItems&&t.childItemLength()>0,at`<div aria-hidden="true" class="expand-collapse-button" part="expand-collapse-button" @click="${(t,e)=>t.handleExpandCollapseButtonClick(e.event)}" ${qt("expandCollapseButton")}><slot name="expand-collapse-glyph"><svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="expand-collapse-glyph"><path d="M5.00001 12.3263C5.00124 12.5147 5.05566 12.699 5.15699 12.8578C5.25831 13.0167 5.40243 13.1437 5.57273 13.2242C5.74304 13.3047 5.9326 13.3354 6.11959 13.3128C6.30659 13.2902 6.4834 13.2152 6.62967 13.0965L10.8988 8.83532C11.0739 8.69473 11.2153 8.51658 11.3124 8.31402C11.4096 8.11146 11.46 7.88966 11.46 7.66499C11.46 7.44033 11.4096 7.21853 11.3124 7.01597C11.2153 6.81341 11.0739 6.63526 10.8988 6.49467L6.62967 2.22347C6.48274 2.10422 6.30501 2.02912 6.11712 2.00691C5.92923 1.9847 5.73889 2.01628 5.56823 2.09799C5.39757 2.17969 5.25358 2.30817 5.153 2.46849C5.05241 2.62882 4.99936 2.8144 5.00001 3.00369V12.3263Z" /></svg></slot></div>`)} ${re}<slot></slot>${ne}</div></div>${Ut(t=>t.childItems&&t.childItemLength()>0&&(t.expanded||t.renderCollapsedChildren),at`<div role="group" class="items" part="items"><slot name="item" ${ee("items")}></slot></div>`)}</template>`;function ka(t){return Gi(t)&&"treeitem"===t.getAttribute("role")}class Ta extends St{constructor(){super(...arguments),this.expanded=!1,this.focusable=!1,this.enabledChildTreeItems=[],this.handleFocus=t=>{},this.handleBlur=t=>{},this.handleKeyDown=t=>{if(t.target!==t.currentTarget)return!0;switch(t.keyCode){case 37:t.preventDefault(),this.collapseOrFocusParent();break;case 39:t.preventDefault(),this.expandOrFocusFirstChild();break;case 40:t.preventDefault(),this.focusNextNode(1);break;case 38:t.preventDefault(),this.focusNextNode(-1);break;case 13:this.handleSelected(t)}return!0},this.handleExpandCollapseButtonClick=t=>{this.disabled||(t.preventDefault(),this.setExpanded(!this.expanded))},this.handleClick=t=>{t.defaultPrevented||this.disabled||this.handleSelected(t)},this.isNestedItem=()=>ka(this.parentElement)}itemsChanged(t,e){this.$fastController.isConnected&&(this.items.forEach(t=>{ka(t)&&(t.nested=!0)}),this.enabledChildTreeItems=this.items.filter(t=>ka(t)&&!t.hasAttribute("disabled")))}getParentTreeNode(){return this.parentElement.closest("[role='tree']")}connectedCallback(){super.connectedCallback();const t=this.getParentTreeNode();t&&(t.hasAttribute("render-collapsed-nodes")&&(this.renderCollapsedChildren="true"===t.getAttribute("render-collapsed-nodes")),this.notifier=C.getNotifier(t),this.notifier.subscribe(this,"renderCollapsedNodes"))}disconnectedCallback(){super.disconnectedCallback(),this.notifier&&this.notifier.unsubscribe(this,"renderCollapsedNodes")}static focusItem(t){t.setAttribute("tabindex","0"),t.focusable=!0,t.focus()}handleChange(t,e){switch(e){case"renderCollapsedNodes":this.renderCollapsedChildren=t.renderCollapsedNodes}}childItemLength(){const t=this.childItems.filter(t=>ka(t));return t?t.length:0}collapseOrFocusParent(){if(this.expanded)this.setExpanded(!1);else if(Gi(this.parentElement)){const t=this.parentElement.closest("[role='treeitem']");Gi(t)&&Ta.focusItem(t)}}expandOrFocusFirstChild(){"boolean"==typeof this.expanded&&(!this.expanded&&this.childItemLength()>0?this.setExpanded(!0):this.enabledChildTreeItems.length>0&&Ta.focusItem(this.enabledChildTreeItems[0]))}focusNextNode(t){const e=this.getVisibleNodes();if(!e)return;const i=e.indexOf(this);if(-1!==i){let o=e[i+t];if(void 0!==o)for(;o.hasAttribute("disabled");){if(o=e[i+t+(t>=0?1:-1)],!o)break}Gi(o)&&Ta.focusItem(o)}}getVisibleNodes(){return function(t,e){if(!Gi(t))return;return Array.from(t.querySelectorAll(e)).filter(t=>null!==t.offsetParent)}(this.getTreeRoot(),"[role='treeitem']")}getTreeRoot(){return Gi(this)?this.closest("[role='tree']"):null}handleSelected(t){this.selected=!this.selected,this.$emit("selected-change",t)}setExpanded(t){this.expanded=t,this.$emit("expanded-change",this)}}t([bt({mode:"boolean"})],Ta.prototype,"expanded",void 0),t([bt({mode:"boolean"})],Ta.prototype,"selected",void 0),t([bt({mode:"boolean"})],Ta.prototype,"disabled",void 0),t([S],Ta.prototype,"focusable",void 0),t([S],Ta.prototype,"childItems",void 0),t([S],Ta.prototype,"items",void 0),t([S],Ta.prototype,"nested",void 0),t([S],Ta.prototype,"renderCollapsedChildren",void 0),le(Ta,se);const Ia=at`<template role="tree" ${qt("treeView")}@keydown="${(t,e)=>t.handleKeyDown(e.event)}" @focus="${(t,e)=>t.handleFocus(e.event)}" @focusout="${(t,e)=>t.handleBlur(e.event)}"><slot ${ee("slottedTreeItems")}></slot></template>`;class Sa extends St{constructor(){super(...arguments),this.focusable=!0,this.handleBlur=t=>{const{relatedTarget:e,target:i}=t;e instanceof HTMLElement&&i instanceof HTMLElement&&this.contains(e)&&i.removeAttribute("tabindex")},this.handleFocus=t=>{},this.handleKeyDown=t=>{if(!this.treeItems)return!0;switch(t.keyCode){case 36:this.treeItems&&this.treeItems.length&&Ta.focusItem(this.treeItems[0]);break;case 35:this.treeItems&&this.treeItems.length&&Ta.focusItem(this.treeItems[this.treeItems.length-1]);break;default:return!0}},this.setItems=()=>{const t=this.treeItems.findIndex(this.isFocusableElement);for(let e=0;e<this.treeItems.length;e++)e!==t||this.treeItems[e].hasAttribute("disabled")||this.treeItems[e].setAttribute("tabindex","0"),this.treeItems[e].addEventListener("selected-change",this.handleItemSelected)},this.resetItems=()=>{for(let t=0;t<this.treeItems.length;t++)this.treeItems[t].removeEventListener("selected-change",this.handleItemSelected)},this.handleItemSelected=t=>{const e=t.target;e!==this.currentSelected&&(this.currentSelected&&(this.currentSelected.removeAttribute("selected"),this.currentSelected.selected=!1),this.currentSelected=e)},this.isFocusableElement=t=>ka(t)&&!this.isDisabledElement(t),this.isDisabledElement=t=>ka(t)&&"true"===t.getAttribute("aria-disabled")}slottedTreeItemsChanged(t,e){this.$fastController.isConnected&&(this.resetItems(),this.treeItems=this.getVisibleNodes(),this.setItems(),this.checkForNestedItems()&&this.slottedTreeItems.forEach(t=>{ka(t)&&(t.nested=!0)}))}checkForNestedItems(){return this.slottedTreeItems.some(t=>ka(t)&&t.querySelector("[role='treeitem']"))}connectedCallback(){super.connectedCallback(),this.treeItems=this.getVisibleNodes(),d.queueUpdate(()=>{const t=this.treeView.querySelector("[aria-selected='true']");t&&(this.currentSelected=t)})}getVisibleNodes(){const t=[];return void 0!==this.slottedTreeItems&&this.slottedTreeItems.forEach(e=>{ka(e)&&t.push(e)}),t}}t([bt({attribute:"render-collapsed-nodes"})],Sa.prototype,"renderCollapsedNodes",void 0),t([S],Sa.prototype,"focusable",void 0),t([S],Sa.prototype,"currentSelected",void 0),t([S],Sa.prototype,"lastFocused",void 0),t([S],Sa.prototype,"nested",void 0),t([S],Sa.prototype,"slottedTreeItems",void 0);const Fa={typeRampMinus2FontSize:"10px",typeRampMinus2LineHeight:"16px",typeRampMinus1FontSize:"12px",typeRampMinus1LineHeight:"16px",typeRampBaseFontSize:"14px",typeRampBaseLineHeight:"20px",typeRampPlus1FontSize:"16px",typeRampPlus1LineHeight:"24px",typeRampPlus2FontSize:"20px",typeRampPlus2LineHeight:"28px",typeRampPlus3FontSize:"28px",typeRampPlus3LineHeight:"36px",typeRampPlus4FontSize:"34px",typeRampPlus4LineHeight:"44px",typeRampPlus5FontSize:"46px",typeRampPlus5LineHeight:"56px",typeRampPlus6FontSize:"60px",typeRampPlus6LineHeight:"72px",accentBaseColor:"#DA1A5F",accentPalette:["#FFFFFF","#FEFBFC","#FEF7FA","#FDF4F7","#FDF0F5","#FCECF2","#FBE8EF","#FBE5ED","#FAE1EA","#FADDE7","#F9D9E5","#F8D6E2","#F8D2E0","#F7CEDD","#F7CADA","#F6C7D8","#F5C3D5","#F5BFD2","#F4BBD0","#F3B8CD","#F3B4CB","#F2B0C8","#F2ACC5","#F1A9C3","#F0A5C0","#F0A1BD","#EF9DBB","#EF9AB8","#EE96B6","#ED92B3","#ED8EB0","#EC8BAE","#EC87AB","#EB83A8","#EA7FA6","#EA7CA3","#E978A1","#E9749E","#E8709B","#E76D99","#E76996","#E66593","#E66191","#E55E8E","#E45A8C","#E45689","#E35286","#E24F84","#E24B81","#E1477E","#E1437C","#E04079","#DF3C77","#DF3874","#DE3471","#DE316F","#DD2D6C","#DC2969","#DC2567","#DB2264","#DB1E62","#DA1A5F","#D4195C","#CD1859","#C71857","#C01754","#BA1651","#B3154E","#AD154B","#A71449","#A01346","#9A1243","#931240","#8D113D","#86103B","#800F38","#7A0F35","#730E32","#6D0D2F","#660C2D","#600B2A","#590B27","#530A24","#4D0921","#46081F","#40081C","#3B071A","#350617","#300615","#2B0513","#260511","#21040E","#1C030C","#000000"],backgroundColor:"#181818",baseHeightMultiplier:10,baseHorizontalSpacingMultiplier:3,cornerRadius:3,density:0,designUnit:4,direction:Xi.ltr,disabledOpacity:.3,focusOutlineWidth:2,neutralPalette:["#FFFFFF","#FCFCFC","#FAFAFA","#F7F7F7","#F5F5F5","#F2F2F2","#EFEFEF","#EDEDED","#EAEAEA","#E8E8E8","#E5E5E5","#E2E2E2","#E0E0E0","#DDDDDD","#DBDBDB","#D8D8D8","#D6D6D6","#D3D3D3","#D0D0D0","#CECECE","#CBCBCB","#C9C9C9","#C6C6C6","#C3C3C3","#C1C1C1","#BEBEBE","#BCBCBC","#B9B9B9","#B6B6B6","#B4B4B4","#B1B1B1","#AFAFAF","#ACACAC","#A9A9A9","#A7A7A7","#A4A4A4","#A2A2A2","#9F9F9F","#9D9D9D","#9A9A9A","#979797","#959595","#929292","#909090","#8D8D8D","#8A8A8A","#888888","#858585","#838383","#808080","#7D7D7D","#7B7B7B","#787878","#767676","#737373","#717171","#6E6E6E","#6B6B6B","#696969","#666666","#646464","#616161","#5F5F5F","#5C5C5C","#5A5A5A","#575757","#545454","#525252","#4F4F4F","#4D4D4D","#4A4A4A","#484848","#454545","#424242","#404040","#3D3D3D","#3B3B3B","#383838","#363636","#333333","#313131","#2E2E2E","#2B2B2B","#292929","#262626","#242424","#212121","#1E1E1E","#1B1B1B","#181818","#151515","#121212","#101010","#000000"],outlineWidth:1,accentFillRestDelta:0,accentFillHoverDelta:4,accentFillActiveDelta:-5,accentFillFocusDelta:0,accentFillSelectedDelta:12,accentForegroundRestDelta:0,accentForegroundHoverDelta:6,accentForegroundActiveDelta:-4,accentForegroundFocusDelta:0,neutralFillRestDelta:7,neutralFillHoverDelta:10,neutralFillActiveDelta:5,neutralFillFocusDelta:0,neutralFillSelectedDelta:7,neutralFillInputRestDelta:0,neutralFillInputHoverDelta:0,neutralFillInputActiveDelta:0,neutralFillInputFocusDelta:0,neutralFillInputSelectedDelta:0,neutralFillStealthRestDelta:0,neutralFillStealthHoverDelta:5,neutralFillStealthActiveDelta:3,neutralFillStealthFocusDelta:0,neutralFillStealthSelectedDelta:7,neutralFillToggleHoverDelta:8,neutralFillToggleActiveDelta:-5,neutralFillToggleFocusDelta:0,baseLayerLuminance:-1,neutralFillCardDelta:3,neutralForegroundHoverDelta:0,neutralForegroundActiveDelta:0,neutralForegroundFocusDelta:0,neutralDividerRestDelta:8,neutralOutlineRestDelta:25,neutralOutlineHoverDelta:40,neutralOutlineActiveDelta:16,neutralOutlineFocusDelta:25,neutralContrastFillRestDelta:0,neutralContrastFillHoverDelta:-3,neutralContrastFillActiveDelta:7,neutralContrastFillFocusDelta:0};function Da(t,e){return"function"==typeof t?t(e):t}function Pa(t){return e=>e&&void 0!==e[t]?e[t]:Fa[t]}const Ea=Pa("backgroundColor"),Aa=Pa("accentBaseColor"),Oa=Pa("neutralPalette"),Ra=Pa("accentPalette"),La=Pa("direction"),Ha=Pa("accentFillHoverDelta"),Ba=Pa("accentFillActiveDelta"),za=Pa("accentFillFocusDelta"),Ma=Pa("accentFillSelectedDelta"),Na=Pa("accentForegroundRestDelta"),Va=Pa("accentForegroundHoverDelta"),ja=Pa("accentForegroundActiveDelta"),_a=Pa("accentForegroundFocusDelta"),qa=Pa("neutralFillRestDelta"),Ua=Pa("neutralFillHoverDelta"),Ga=Pa("neutralFillActiveDelta"),Wa=Pa("neutralFillFocusDelta"),Ka=Pa("neutralFillSelectedDelta"),Qa=Pa("neutralFillInputRestDelta"),Xa=Pa("neutralFillInputHoverDelta"),Ya=Pa("neutralFillInputActiveDelta"),Za=Pa("neutralFillInputFocusDelta"),Ja=Pa("neutralFillInputSelectedDelta"),tl=Pa("neutralFillStealthRestDelta"),el=Pa("neutralFillStealthHoverDelta"),il=Pa("neutralFillStealthActiveDelta"),ol=Pa("neutralFillStealthFocusDelta"),sl=Pa("neutralFillStealthSelectedDelta"),nl=Pa("neutralFillToggleHoverDelta"),rl=Pa("neutralFillToggleActiveDelta"),al=Pa("neutralFillToggleFocusDelta"),ll=Pa("baseLayerLuminance"),cl=Pa("neutralFillCardDelta"),dl=Pa("neutralForegroundHoverDelta"),hl=Pa("neutralForegroundActiveDelta"),ul=Pa("neutralForegroundFocusDelta"),pl=Pa("neutralDividerRestDelta"),gl=Pa("neutralOutlineRestDelta"),fl=Pa("neutralOutlineHoverDelta"),vl=Pa("neutralOutlineActiveDelta"),bl=Pa("neutralOutlineFocusDelta"),ml=Pa("neutralContrastFillHoverDelta"),yl=Pa("neutralContrastFillActiveDelta"),xl=Pa("neutralContrastFillFocusDelta");function $l(t,e,i){return isNaN(t)||t<=e?e:t>=i?i:t}function wl(t,e,i){return isNaN(t)||t<=e?0:t>=i?1:t/(i-e)}function Cl(t,e,i){return isNaN(t)?e:e+t*(i-e)}function kl(t){return t*(Math.PI/180)}function Tl(t,e,i){return isNaN(t)||t<=0?e:t>=1?i:e+t*(i-e)}function Il(t,e,i){if(t<=0)return e%360;if(t>=1)return i%360;const o=(e-i+360)%360;return o<=(i-e+360)%360?(e-o*t+360)%360:(e+o*t+360)%360}function Sl(t,e){const i=Math.pow(10,e);return Math.round(t*i)/i}class Fl{constructor(t,e,i){this.h=t,this.s=e,this.l=i}static fromObject(t){return!t||isNaN(t.h)||isNaN(t.s)||isNaN(t.l)?null:new Fl(t.h,t.s,t.l)}equalValue(t){return this.h===t.h&&this.s===t.s&&this.l===t.l}roundToPrecision(t){return new Fl(Sl(this.h,t),Sl(this.s,t),Sl(this.l,t))}toObject(){return{h:this.h,s:this.s,l:this.l}}}class Dl{constructor(t,e,i){this.h=t,this.s=e,this.v=i}static fromObject(t){return!t||isNaN(t.h)||isNaN(t.s)||isNaN(t.v)?null:new Dl(t.h,t.s,t.v)}equalValue(t){return this.h===t.h&&this.s===t.s&&this.v===t.v}roundToPrecision(t){return new Dl(Sl(this.h,t),Sl(this.s,t),Sl(this.v,t))}toObject(){return{h:this.h,s:this.s,v:this.v}}}class Pl{constructor(t,e,i){this.l=t,this.a=e,this.b=i}static fromObject(t){return!t||isNaN(t.l)||isNaN(t.a)||isNaN(t.b)?null:new Pl(t.l,t.a,t.b)}equalValue(t){return this.l===t.l&&this.a===t.a&&this.b===t.b}roundToPrecision(t){return new Pl(Sl(this.l,t),Sl(this.a,t),Sl(this.b,t))}toObject(){return{l:this.l,a:this.a,b:this.b}}}Pl.epsilon=216/24389,Pl.kappa=24389/27;class El{constructor(t,e,i){this.l=t,this.c=e,this.h=i}static fromObject(t){return!t||isNaN(t.l)||isNaN(t.c)||isNaN(t.h)?null:new El(t.l,t.c,t.h)}equalValue(t){return this.l===t.l&&this.c===t.c&&this.h===t.h}roundToPrecision(t){return new El(Sl(this.l,t),Sl(this.c,t),Sl(this.h,t))}toObject(){return{l:this.l,c:this.c,h:this.h}}}class Al{constructor(t,e,i,o){this.r=t,this.g=e,this.b=i,this.a="number"!=typeof o||isNaN(o)?1:o}static fromObject(t){return!t||isNaN(t.r)||isNaN(t.g)||isNaN(t.b)?null:new Al(t.r,t.g,t.b,t.a)}equalValue(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}toStringHexRGB(){return"#"+[this.r,this.g,this.b].map(this.formatHexValue).join("")}toStringHexRGBA(){return this.toStringHexRGB()+this.formatHexValue(this.a)}toStringHexARGB(){return"#"+[this.a,this.r,this.g,this.b].map(this.formatHexValue).join("")}toStringWebRGB(){return`rgb(${Math.round(Cl(this.r,0,255))},${Math.round(Cl(this.g,0,255))},${Math.round(Cl(this.b,0,255))})`}toStringWebRGBA(){return`rgba(${Math.round(Cl(this.r,0,255))},${Math.round(Cl(this.g,0,255))},${Math.round(Cl(this.b,0,255))},${$l(this.a,0,1)})`}roundToPrecision(t){return new Al(Sl(this.r,t),Sl(this.g,t),Sl(this.b,t),Sl(this.a,t))}clamp(){return new Al($l(this.r,0,1),$l(this.g,0,1),$l(this.b,0,1),$l(this.a,0,1))}toObject(){return{r:this.r,g:this.g,b:this.b,a:this.a}}formatHexValue(t){return function(t){const e=Math.round($l(t,0,255)).toString(16);return 1===e.length?"0"+e:e}(Cl(t,0,255))}}class Ol{constructor(t,e,i){this.x=t,this.y=e,this.z=i}static fromObject(t){return!t||isNaN(t.x)||isNaN(t.y)||isNaN(t.z)?null:new Ol(t.x,t.y,t.z)}equalValue(t){return this.x===t.x&&this.y===t.y&&this.z===t.z}roundToPrecision(t){return new Ol(Sl(this.x,t),Sl(this.y,t),Sl(this.z,t))}toObject(){return{x:this.x,y:this.y,z:this.z}}}function Rl(t){return.2126*t.r+.7152*t.g+.0722*t.b}function Ll(t){function e(t){return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}return Rl(new Al(e(t.r),e(t.g),e(t.b),1))}Ol.whitePoint=new Ol(.95047,1,1.08883);const Hl=(t,e)=>(t+.05)/(e+.05);function Bl(t,e){const i=Ll(t),o=Ll(e);return i>o?Hl(i,o):Hl(o,i)}function zl(t){const e=Math.max(t.r,t.g,t.b),i=Math.min(t.r,t.g,t.b),o=e-i;let s=0;0!==o&&(s=e===t.r?(t.g-t.b)/o%6*60:e===t.g?60*((t.b-t.r)/o+2):60*((t.r-t.g)/o+4)),s<0&&(s+=360);const n=(e+i)/2;let r=0;return 0!==o&&(r=o/(1-Math.abs(2*n-1))),new Fl(s,r,n)}function Ml(t,e=1){const i=(1-Math.abs(2*t.l-1))*t.s,o=i*(1-Math.abs(t.h/60%2-1)),s=t.l-i/2;let n=0,r=0,a=0;return t.h<60?(n=i,r=o,a=0):t.h<120?(n=o,r=i,a=0):t.h<180?(n=0,r=i,a=o):t.h<240?(n=0,r=o,a=i):t.h<300?(n=o,r=0,a=i):t.h<360&&(n=i,r=0,a=o),new Al(n+s,r+s,a+s,e)}function Nl(t){const e=Math.max(t.r,t.g,t.b),i=e-Math.min(t.r,t.g,t.b);let o=0;0!==i&&(o=e===t.r?(t.g-t.b)/i%6*60:e===t.g?60*((t.b-t.r)/i+2):60*((t.r-t.g)/i+4)),o<0&&(o+=360);let s=0;return 0!==e&&(s=i/e),new Dl(o,s,e)}function Vl(t){let e=0;(Math.abs(t.b)>.001||Math.abs(t.a)>.001)&&(e=Math.atan2(t.b,t.a)*(180/Math.PI)),e<0&&(e+=360);const i=Math.sqrt(t.a*t.a+t.b*t.b);return new El(t.l,i,e)}function jl(t){function e(t){return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}const i=e(t.r),o=e(t.g),s=e(t.b);return new Ol(.4124564*i+.3575761*o+.1804375*s,.2126729*i+.7151522*o+.072175*s,.0193339*i+.119192*o+.9503041*s)}function _l(t,e=1){function i(t){return t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055}const o=i(3.2404542*t.x-1.5371385*t.y-.4985314*t.z),s=i(-.969266*t.x+1.8760108*t.y+.041556*t.z),n=i(.0556434*t.x-.2040259*t.y+1.0572252*t.z);return new Al(o,s,n,e)}function ql(t){return function(t){function e(t){return t>Pl.epsilon?Math.pow(t,1/3):(Pl.kappa*t+16)/116}const i=e(t.x/Ol.whitePoint.x),o=e(t.y/Ol.whitePoint.y),s=e(t.z/Ol.whitePoint.z);return new Pl(116*o-16,500*(i-o),200*(o-s))}(jl(t))}function Ul(t,e=1){return _l(function(t){const e=(t.l+16)/116,i=e+t.a/500,o=e-t.b/200,s=Math.pow(i,3),n=Math.pow(e,3),r=Math.pow(o,3);let a=0;a=s>Pl.epsilon?s:(116*i-16)/Pl.kappa;let l=0;l=t.l>Pl.epsilon*Pl.kappa?n:t.l/Pl.kappa;let c=0;return c=r>Pl.epsilon?r:(116*o-16)/Pl.kappa,a=Ol.whitePoint.x*a,l=Ol.whitePoint.y*l,c=Ol.whitePoint.z*c,new Ol(a,l,c)}(t),e)}function Gl(t){return Vl(ql(t))}function Wl(t,e=1){return Ul(function(t){let e=0,i=0;return 0!==t.h&&(e=Math.cos(kl(t.h))*t.c,i=Math.sin(kl(t.h))*t.c),new Pl(t.l,e,i)}(t),e)}function Kl(t,e,i=18){const o=Gl(t);let s=o.c+e*i;return s<0&&(s=0),Wl(new El(o.l,s,o.h))}function Ql(t,e){return t*e}function Xl(t,e){return new Al(Ql(t.r,e.r),Ql(t.g,e.g),Ql(t.b,e.b),1)}function Yl(t,e){return $l(t<.5?2*e*t:1-2*(1-e)*(1-t),0,1)}function Zl(t,e){return new Al(Yl(t.r,e.r),Yl(t.g,e.g),Yl(t.b,e.b),1)}var Jl,tc;function ec(t,e,i,o){if(isNaN(t)||t<=0)return i;if(t>=1)return o;switch(e){case tc.HSL:return Ml(function(t,e,i){return isNaN(t)||t<=0?e:t>=1?i:new Fl(Il(t,e.h,i.h),Tl(t,e.s,i.s),Tl(t,e.l,i.l))}(t,zl(i),zl(o)));case tc.HSV:return function(t,e=1){const i=t.s*t.v,o=i*(1-Math.abs(t.h/60%2-1)),s=t.v-i;let n=0,r=0,a=0;return t.h<60?(n=i,r=o,a=0):t.h<120?(n=o,r=i,a=0):t.h<180?(n=0,r=i,a=o):t.h<240?(n=0,r=o,a=i):t.h<300?(n=o,r=0,a=i):t.h<360&&(n=i,r=0,a=o),new Al(n+s,r+s,a+s,e)}(function(t,e,i){return isNaN(t)||t<=0?e:t>=1?i:new Dl(Il(t,e.h,i.h),Tl(t,e.s,i.s),Tl(t,e.v,i.v))}(t,Nl(i),Nl(o)));case tc.XYZ:return _l(function(t,e,i){return isNaN(t)||t<=0?e:t>=1?i:new Ol(Tl(t,e.x,i.x),Tl(t,e.y,i.y),Tl(t,e.z,i.z))}(t,jl(i),jl(o)));case tc.LAB:return Ul(function(t,e,i){return isNaN(t)||t<=0?e:t>=1?i:new Pl(Tl(t,e.l,i.l),Tl(t,e.a,i.a),Tl(t,e.b,i.b))}(t,ql(i),ql(o)));case tc.LCH:return Wl(function(t,e,i){return isNaN(t)||t<=0?e:t>=1?i:new El(Tl(t,e.l,i.l),Tl(t,e.c,i.c),Il(t,e.h,i.h))}(t,Gl(i),Gl(o)));default:return function(t,e,i){return isNaN(t)||t<=0?e:t>=1?i:new Al(Tl(t,e.r,i.r),Tl(t,e.g,i.g),Tl(t,e.b,i.b),Tl(t,e.a,i.a))}(t,i,o)}}!function(t){t[t.Burn=0]="Burn",t[t.Color=1]="Color",t[t.Darken=2]="Darken",t[t.Dodge=3]="Dodge",t[t.Lighten=4]="Lighten",t[t.Multiply=5]="Multiply",t[t.Overlay=6]="Overlay",t[t.Screen=7]="Screen"}(Jl||(Jl={})),function(t){t[t.RGB=0]="RGB",t[t.HSL=1]="HSL",t[t.HSV=2]="HSV",t[t.XYZ=3]="XYZ",t[t.LAB=4]="LAB",t[t.LCH=5]="LCH"}(tc||(tc={}));class ic{constructor(t){if(null==t||0===t.length)throw new Error("The stops argument must be non-empty");this.stops=this.sortColorScaleStops(t)}static createBalancedColorScale(t){if(null==t||0===t.length)throw new Error("The colors argument must be non-empty");const e=new Array(t.length);for(let i=0;i<t.length;i++)0===i?e[i]={color:t[i],position:0}:i===t.length-1?e[i]={color:t[i],position:1}:e[i]={color:t[i],position:i*(1/(t.length-1))};return new ic(e)}getColor(t,e=tc.RGB){if(1===this.stops.length)return this.stops[0].color;if(t<=0)return this.stops[0].color;if(t>=1)return this.stops[this.stops.length-1].color;let i=0;for(let e=0;e<this.stops.length;e++)this.stops[e].position<=t&&(i=e);let o=i+1;o>=this.stops.length&&(o=this.stops.length-1);return ec((t-this.stops[i].position)*(1/(this.stops[o].position-this.stops[i].position)),e,this.stops[i].color,this.stops[o].color)}trim(t,e,i=tc.RGB){if(t<0||e>1||e<t)throw new Error("Invalid bounds");if(t===e)return new ic([{color:this.getColor(t,i),position:0}]);const o=[];for(let i=0;i<this.stops.length;i++)this.stops[i].position>=t&&this.stops[i].position<=e&&o.push(this.stops[i]);if(0===o.length)return new ic([{color:this.getColor(t),position:t},{color:this.getColor(e),position:e}]);o[0].position!==t&&o.unshift({color:this.getColor(t),position:t}),o[o.length-1].position!==e&&o.push({color:this.getColor(e),position:e});const s=e-t,n=new Array(o.length);for(let e=0;e<o.length;e++)n[e]={color:o[e].color,position:(o[e].position-t)/s};return new ic(n)}findNextColor(t,e,i=!1,o=tc.RGB,s=.005,n=32){isNaN(t)||t<=0?t=0:t>=1&&(t=1);const r=this.getColor(t,o),a=i?0:1;if(Bl(r,this.getColor(a,o))<=e)return a;let l=i?0:t,c=i?t:0,d=a,h=0;for(;h<=n;){d=Math.abs(c-l)/2+l;const t=Bl(r,this.getColor(d,o));if(Math.abs(t-e)<=s)return d;t>e?i?l=d:c=d:i?c=d:l=d,h++}return d}clone(){const t=new Array(this.stops.length);for(let e=0;e<t.length;e++)t[e]={color:this.stops[e].color,position:this.stops[e].position};return new ic(t)}sortColorScaleStops(t){return t.sort((t,e)=>{const i=t.position,o=e.position;return i<o?-1:i>o?1:0})}}const oc=/^rgb\(\s*((?:(?:25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*,\s*){2}(?:25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*)\)$/i,sc=/^#((?:[0-9a-f]{6}|[0-9a-f]{3}))$/i;function nc(t){const e=sc.exec(t);if(null===e)return null;let i=e[1];if(3===i.length){const t=i.charAt(0),e=i.charAt(1),o=i.charAt(2);i=t.concat(t,e,e,o,o)}const o=parseInt(i,16);return isNaN(o)?null:new Al(wl((16711680&o)>>>16,0,255),wl((65280&o)>>>8,0,255),wl(255&o,0,255),1)}class rc{constructor(t){this.config=Object.assign({},rc.defaultPaletteConfig,t),this.palette=[],this.updatePaletteColors()}updatePaletteGenerationValues(t){let e=!1;for(const i in t)this.config[i]&&(this.config[i].equalValue?this.config[i].equalValue(t[i])||(this.config[i]=t[i],e=!0):t[i]!==this.config[i]&&(this.config[i]=t[i],e=!0));return e&&this.updatePaletteColors(),e}updatePaletteColors(){const t=this.generatePaletteColorScale();for(let e=0;e<this.config.steps;e++)this.palette[e]=t.getColor(e/(this.config.steps-1),this.config.interpolationMode)}generatePaletteColorScale(){const t=zl(this.config.baseColor),e=new ic([{position:0,color:this.config.scaleColorLight},{position:.5,color:this.config.baseColor},{position:1,color:this.config.scaleColorDark}]).trim(this.config.clipLight,1-this.config.clipDark);let i=e.getColor(0),o=e.getColor(1);if(t.s>=this.config.saturationAdjustmentCutoff&&(i=Kl(i,this.config.saturationLight),o=Kl(o,this.config.saturationDark)),0!==this.config.multiplyLight){const t=Xl(this.config.baseColor,i);i=ec(this.config.multiplyLight,this.config.interpolationMode,i,t)}if(0!==this.config.multiplyDark){const t=Xl(this.config.baseColor,o);o=ec(this.config.multiplyDark,this.config.interpolationMode,o,t)}if(0!==this.config.overlayLight){const t=Zl(this.config.baseColor,i);i=ec(this.config.overlayLight,this.config.interpolationMode,i,t)}if(0!==this.config.overlayDark){const t=Zl(this.config.baseColor,o);o=ec(this.config.overlayDark,this.config.interpolationMode,o,t)}return this.config.baseScalePosition?this.config.baseScalePosition<=0?new ic([{position:0,color:this.config.baseColor},{position:1,color:o.clamp()}]):this.config.baseScalePosition>=1?new ic([{position:0,color:i.clamp()},{position:1,color:this.config.baseColor}]):new ic([{position:0,color:i.clamp()},{position:this.config.baseScalePosition,color:this.config.baseColor},{position:1,color:o.clamp()}]):new ic([{position:0,color:i.clamp()},{position:.5,color:this.config.baseColor},{position:1,color:o.clamp()}])}}rc.defaultPaletteConfig={baseColor:nc("#808080"),steps:11,interpolationMode:tc.RGB,scaleColorLight:new Al(1,1,1,1),scaleColorDark:new Al(0,0,0,1),clipLight:.185,clipDark:.16,saturationAdjustmentCutoff:.05,saturationLight:.35,saturationDark:1.25,overlayLight:0,overlayDark:.25,multiplyLight:0,multiplyDark:0,baseScalePosition:.5},rc.greyscalePaletteConfig={baseColor:nc("#808080"),steps:11,interpolationMode:tc.RGB,scaleColorLight:new Al(1,1,1,1),scaleColorDark:new Al(0,0,0,1),clipLight:0,clipDark:0,saturationAdjustmentCutoff:0,saturationLight:0,saturationDark:0,overlayLight:0,overlayDark:0,multiplyLight:0,multiplyDark:0,baseScalePosition:.5},rc.defaultPaletteConfig.scaleColorLight,rc.defaultPaletteConfig.scaleColorDark;class ac{constructor(t){this.palette=[],this.config=Object.assign({},ac.defaultPaletteConfig,t),this.regenPalettes()}regenPalettes(){let t=this.config.steps;(isNaN(t)||t<3)&&(t=3);const e=new Al(.14,.14,.14,1),i=new rc(Object.assign(Object.assign({},rc.greyscalePaletteConfig),{baseColor:e,baseScalePosition:86/94,steps:t})).palette,o=(Rl(this.config.baseColor)+zl(this.config.baseColor).l)/2,s=this.matchRelativeLuminanceIndex(o,i)/(t-1),n=this.matchRelativeLuminanceIndex(.14,i)/(t-1),r=zl(this.config.baseColor),a=Ml(Fl.fromObject({h:r.h,s:r.s,l:.14})),l=Ml(Fl.fromObject({h:r.h,s:r.s,l:.06})),c=new Array(5);c[0]={position:0,color:new Al(1,1,1,1)},c[1]={position:s,color:this.config.baseColor},c[2]={position:n,color:a},c[3]={position:.99,color:l},c[4]={position:1,color:new Al(0,0,0,1)};const d=new ic(c);this.palette=new Array(t);for(let e=0;e<t;e++){const i=d.getColor(e/(t-1),tc.RGB);this.palette[e]=i}}matchRelativeLuminanceIndex(t,e){let i=Number.MAX_VALUE,o=0,s=0;const n=e.length;for(;s<n;s++){const n=Math.abs(Rl(e[s])-t);n<i&&(i=n,o=s)}return o}}var lc;function cc(t){const e=Oi(t);return function(t){return"function"==typeof t||"string"==typeof t?i=>e(Object.assign({},i,{backgroundColor:"function"==typeof t?t(i):t})):e(t)}}function dc(t,e){const i=Oi(e);return e=>"function"==typeof e||"string"==typeof e?o=>i(Object.assign({},o,{backgroundColor:"function"==typeof e?e(o):e}))[t]:i(e)[t]}ac.defaultPaletteConfig={baseColor:nc("#808080"),steps:94},function(t){t.rest="rest",t.hover="hover",t.active="active",t.focus="focus",t.selected="selected"}(lc||(lc={}));const hc=Oi(t=>{let e=nc(t);if(null!==e)return e;if(e=function(t){const e=oc.exec(t);if(null===e)return null;const i=e[1].split(",");return new Al(wl(Number(i[0]),0,255),wl(Number(i[1]),0,255),wl(Number(i[2]),0,255),1)}(t),null!==e)return e;throw new Error(t+' cannot be converted to a ColorRGBA64. Color strings must be one of the following formats: "#RGB", "#RRGGBB", or "rgb(r, g, b)"')});function uc(t){return e=t,sc.test(e)||function(t){return oc.test(t)}(t);var e}const pc=Oi((t,e)=>Bl(hc(t),hc(e)),(t,e)=>t+e);function gc(t){return Ll(hc(t))}function fc(...t){return e=>Math.max.apply(null,t.map(t=>t(e)))}const vc=(t,e,i)=>Math.min(Math.max(t,e),i);var bc;function mc(t){return e=>{switch(t){case bc.accent:return Ra(e);case bc.neutral:default:return Oa(e)}}}function yc(t,e){return i=>{if(!uc(e))return-1;const o=Da(t,i),s=o.indexOf(e);return-1!==s?s:o.findIndex(t=>{return uc(t)&&(i=t,hc(e).equalValue(hc(i)));var i})}}function xc(t,e){return i=>{const o=Da(t,i),s=Da(e,i),n=yc(o,s)(i);let r;if(-1!==n)return n;try{r=gc(s)}catch(t){r=-1}return-1===r?0:o.map((t,e)=>({luminance:gc(t),index:e})).reduce((t,e)=>Math.abs(e.luminance-r)<Math.abs(t.luminance-r)?e:t).index}}function $c(t){return gc(Ea(t))<=(-.1+Math.sqrt(.21))/2}function wc(t,e){return"function"==typeof t?i=>e(i)[vc(t(i),0,e(i).length-1)]:e[vc(t,0,e.length-1)]}function Cc(t){return(e,i)=>o=>wc($c(o)?Da(i,o):Da(e,o),t(o))}function kc(t){return e=>i=>o=>s=>n=>{const r=Da(t,n),a=Da(e,n),l=a.length,c=vc(i(r,a,n),0,l-1),d=o(c,a,n);const h=[].concat(a),u=l-1;let p=c;return-1===d&&(h.reverse(),p=u-p),function t(e,i,o=0,s=e.length-1){if(s===o)return e[o];const n=Math.floor((s-o)/2)+o;return i(e[n])?t(e,i,o,n):t(e,i,n+1,s)}(h,(function(t){return s(pc(r,t))}),p,u)}}function Tc(t,e,i){return xc(e,t)(i)}function Ic(t){return xc(Oa,Ea(t))(t)}function Sc(t,e,i,o,s,n){return r=>{const a=Da(t,r),l=$c(r)?-1:1,c=kc(Ea)(a)(Tc)(()=>l)((d=Da(e,r),t=>t>=d))(r);var d;const h=yc(t,c)(r),u=Da(i,r),p=Da(o,r),g=Da(s,r),f=Da(n,r);return function(t,e,i,o,s,n,r){const a=t+i*Math.abs(o-s),l=1===i?o<s:i*o>i*s,c=l?t:a,d=l?a:t,h=c+i*n,u=c+i*r;return{rest:wc(c,e),hover:wc(d,e),active:wc(h,e),focus:wc(u,e)}}(h,a,l,u,p,g,f)}}!function(t){t.neutral="neutral",t.accent="accent"}(bc||(bc={}));const Fc=cc(Sc(Oa,14,0,dl,hl,ul)),Dc=dc(lc.rest,Fc),Pc=dc(lc.hover,Fc),Ec=dc(lc.active,Fc);dc(lc.focus,Fc);const Ac=cc(Sc(Oa,4.5,0,nl,rl,al)),Oc=dc(lc.rest,Ac),Rc=dc(lc.hover,Ac),Lc=dc(lc.active,Ac);dc(lc.focus,Ac);const Hc=(t,e)=>pc("#FFFFFF",t)>=e?"#FFFFFF":"#000000";function Bc(t){return function(e){return"function"==typeof e||"string"==typeof e?i=>Hc("function"==typeof e?e(i):e,t):Hc(Oc(e),t)}}const zc=Bc(4.5),Mc=Bc(3),Nc=(t,e)=>pc("#FFFFFF",t)>=e?"#FFFFFF":"#000000";function Vc(t){return function(e){return"function"==typeof e||"string"==typeof e?i=>Nc("function"==typeof e?e(i):e,t):Nc(Aa(e),t)}}const jc=Vc(4.5),_c=Vc(3);function qc(t){return Sc(Oa,t,0,0,0,0)}const Uc=dc(lc.rest,cc(qc(4.5))),Gc=dc(lc.rest,cc(qc(3)));function Wc(t){return e=>{const i=Ra(e),o=Aa(e),s=xc(Ra,o)(e),n={rest:Na(e),hover:Va(e),active:ja(e),focus:_a(e)},r=$c(e)?-1:1,a=s+(1===r?Math.min(n.rest,n.hover):Math.max(r*n.rest,r*n.hover)),l=kc(Ea)(Ra)(()=>a)(()=>r)(e=>e>=t)(e),c=yc(Ra,l)(e),d=c+r*Math.abs(n.rest-n.hover),h=1===r?n.rest<n.hover:r*n.rest>r*n.hover,u=h?c:d,p=h?d:c,g=u+r*n.active,f=u+r*n.focus;return{rest:wc(u,i),hover:wc(p,i),active:wc(g,i),focus:wc(f,i)}}}const Kc=cc(Wc(4.5)),Qc=cc(Wc(3)),Xc=dc(lc.rest,Kc),Yc=dc(lc.hover,Kc),Zc=dc(lc.active,Kc);dc(lc.focus,Kc);const Jc=dc(lc.rest,Qc),td=dc(lc.hover,Qc),ed=dc(lc.active,Qc);dc(lc.focus,Qc);const id=fc(qa,Ua,Ga,Wa);function od(t){return e=>{const i=Ic(e);return wc(i+(i>=id(e)?-1:1)*t(e),Oa(e))}}const sd=cc(od(qa)),nd=cc(od(Ua)),rd=cc(od(Ga)),ad=cc(od(Wa)),ld=cc(od(Ka)),cd=cc(t=>({rest:sd(t),hover:nd(t),active:rd(t),focus:ad(t),selected:ld(t)})),dd=fc(qa,Ua,Ga,Wa,tl,el,il,ol);function hd(t){return e=>{const i=Ic(e);return wc(i+(i>=dd(e)?-1:1)*t(e),Oa(e))}}const ud=cc(hd(tl)),pd=cc(hd(el)),gd=cc(hd(il)),fd=cc(hd(ol)),vd=cc(hd(sl)),bd=cc(t=>({rest:ud(t),hover:pd(t),active:gd(t),focus:fd(t),selected:vd(t)}));function md(t){return e=>{const i=$c(e)?-1:1;return wc(Ic(e)-t(e)*i,Oa(e))}}const yd=cc(md(Qa)),xd=cc(md(Xa)),$d=cc(md(Ya)),wd=cc(md(Za)),Cd=cc(md(Ja)),kd=cc(t=>({rest:yd(t),hover:xd(t),active:$d(t),focus:wd(t),selected:Cd(t)})),Td=fc(qa,Ua,Ga);function Id(t){return e=>{const i=Ra(e),o=i.length,s=Aa(e),n=jc(Object.assign({},e,{backgroundColor:s})),r=Ha(e),a=Ic(e)>=Td(e)?-1:1,l=o-1,c=xc(Ra,s)(e);let d=0;for(;d<a*r&&zi(c+d+a,0,o)&&pc(i[c+d+a],n)>=t&&zi(c+d+a+a,0,l);)d+=a;const h=c+d,u=h+-1*a*r,p=u+a*Ba(e),g=u+a*za(e);return{rest:wc(u,i),hover:wc(h,i),active:wc(p,i),focus:wc(g,i),selected:wc(u+($c(e)?-1*Ma(e):Ma(e)),i)}}}const Sd=cc(Id(4.5)),Fd=cc(Id(3)),Dd=dc(lc.rest,Sd),Pd=dc(lc.hover,Sd),Ed=dc(lc.active,Sd);dc(lc.focus,Sd);const Ad=dc(lc.selected,Sd),Od=dc(lc.rest,Fd),Rd=dc(lc.hover,Fd),Ld=dc(lc.active,Fd);dc(lc.focus,Fd);const Hd=dc(lc.selected,Fd),Bd=cc(Sc(Oa,14,0,ml,yl,xl)),zd=dc(lc.rest,Bd),Md=dc(lc.hover,Bd),Nd=dc(lc.active,Bd);dc(lc.focus,Bd);const Vd=t=>{const e=cl(t),i=xc(Oa,Ea(t))(t);return wc(i-(i<e?-1*e:e),Oa(t))};function jd(t){return"function"==typeof t?e=>Vd(Object.assign({},e,{backgroundColor:t(e)})):Vd(t)}const _d=cc(t=>{const e=Oa(t),i=Ic(t),o=$c(t)?-1:1,s=gl(t),n=i+o*s,r=n+o*(fl(t)-s),a=n+o*(vl(t)-s),l=n+o*(bl(t)-s);return{rest:wc(n,e),hover:wc(r,e),active:wc(a,e),focus:wc(l,e)}}),qd=dc(lc.rest,_d),Ud=dc(lc.hover,_d),Gd=dc(lc.active,_d);dc(lc.focus,_d);const Wd=cc(t=>{const e=Oa(t),i=Ic(t),o=pl(t);return wc(i+($c(t)?-1:1)*o,e)});function Kd(t){return(...e)=>i=>{const o=e[0];let s="function"==typeof o?o(i):o;for(let o=1;o<e.length;o++){const n=e[o];s=t(s,"function"==typeof n?n(i):n)}return s}}const Qd=Kd((t,e)=>t+e),Xd=Kd((t,e)=>t-e),Yd=Kd((t,e)=>t*e);function Zd(...t){return Qd.apply(this,t)}function Jd(...t){return Xd.apply(this,t)}function th(...t){return Yd.apply(this,t)}var eh;function ih(t,e){return i=>-1===ll(i)?e(i):t(i)}!function(t){t[t.LightMode=1]="LightMode",t[t.DarkMode=.23]="DarkMode"}(eh||(eh={}));const oh=xc(Oa,t=>{const e=ll(t);return new Al(e,e,e,1).toStringHexRGB()}),sh=t=>$l(Jd(oh,cl)(t),0,Oa(t).length-1),nh=fc(qa,Ua,Ga),rh=fc(Zd(oh,cl),nh),ah=t=>{const e=new Al(.14,.14,.14,1);return xc(Oa,e.toStringHexRGB())(t)},lh=cc(ih(wc(Jd(sh,cl),Oa),Cc(Oa)(0,Jd(ah,th(cl,5))))),ch=cc(ih(wc(sh,Oa),Cc(Oa)(0,Jd(ah,th(cl,4))))),dh=cc(ih(wc(Zd(sh,cl),Oa),Cc(Oa)(cl,Jd(ah,th(cl,3))))),hh=cc(ih(wc(oh,Oa),Cc(Oa)(0,Jd(ah,th(cl,3))))),uh=dh,ph=cc(ih(wc(rh,Oa),Cc(Oa)(nh,Jd(ah,th(cl,2))))),gh=cc(ih(wc(Zd(rh,cl),Oa),Cc(Oa)(Zd(nh,cl),Jd(ah,cl)))),fh=cc(ih(wc(Zd(rh,th(cl,2)),Oa),Cc(Oa)(Zd(nh,th(cl,2)),ah)));function vh(t){return t>3.5}const bh=cc(kc(Ea)(Oa)((function(t,e,i){return xc(Oa,t)(i)}))((function(t,e,i){return $c(i)?-1:1}))(vh));function mh(t,e,i){return $c(i)?1:-1}function yh(t){return kc(bh)(Ra)(function(t){return(e,i,o)=>i.indexOf(t(o))}(t))(mh)(vh)}function xh(t){return new ac({baseColor:t}).palette.map(t=>t.toStringHexRGB().toUpperCase())}const $h=Et` ${mo("block")};`,wh=new gs("neutral-foreground-rest",Dc,t=>t),Ch=Et` :host{background-color: var(--background-color);color: ${wh.var}}`.withBehaviors(wh,uo(Et` :host{background-color: ${Yi.ButtonFace};box-shadow: 0 0 0 1px ${Yi.CanvasText};color: ${Yi.ButtonText}}`));let kh=class extends To{constructor(){super(...arguments),this.noPaint=!1}noPaintChanged(){this.noPaint||void 0===this.backgroundColor?this.$fastController.removeStyles(Ch):this.$fastController.addStyles(Ch)}backgroundColorChanged(){this.noPaintChanged()}};t([bt({attribute:"no-paint",mode:"boolean"})],kh.prototype,"noPaint",void 0),t([Fo({attribute:"background-color",default:Fa.backgroundColor})],kh.prototype,"backgroundColor",void 0),t([Fo({attribute:"accent-base-color",cssCustomProperty:!1,default:Fa.accentBaseColor})],kh.prototype,"accentBaseColor",void 0),t([Fo({attribute:!1,cssCustomProperty:!1,default:Fa.neutralPalette})],kh.prototype,"neutralPalette",void 0),t([Fo({attribute:!1,cssCustomProperty:!1,default:Fa.accentPalette})],kh.prototype,"accentPalette",void 0),t([Fo({default:Fa.density,converter:ft})],kh.prototype,"density",void 0),t([Fo({attribute:"design-unit",converter:ft,default:Fa.designUnit})],kh.prototype,"designUnit",void 0),t([Fo({attribute:"direction",cssCustomProperty:!1,default:Fa.direction})],kh.prototype,"direction",void 0),t([Fo({attribute:"base-height-multiplier",default:Fa.baseHeightMultiplier,converter:ft})],kh.prototype,"baseHeightMultiplier",void 0),t([Fo({attribute:"base-horizontal-spacing-multiplier",converter:ft,default:Fa.baseHorizontalSpacingMultiplier})],kh.prototype,"baseHorizontalSpacingMultiplier",void 0),t([Fo({attribute:"corner-radius",converter:ft,default:Fa.cornerRadius})],kh.prototype,"cornerRadius",void 0),t([Fo({attribute:"outline-width",converter:ft,default:Fa.outlineWidth})],kh.prototype,"outlineWidth",void 0),t([Fo({attribute:"focus-outline-width",converter:ft,default:Fa.focusOutlineWidth})],kh.prototype,"focusOutlineWidth",void 0),t([Fo({attribute:"disabled-opacity",converter:ft,default:Fa.disabledOpacity})],kh.prototype,"disabledOpacity",void 0),t([Fo({attribute:"type-ramp-minus-2-font-size",default:Fa.typeRampMinus2FontSize})],kh.prototype,"typeRampMinus2FontSize",void 0),t([Fo({attribute:"type-ramp-minus-2-line-height",default:Fa.typeRampMinus2LineHeight})],kh.prototype,"typeRampMinus2LineHeight",void 0),t([Fo({attribute:"type-ramp-minus-1-font-size",default:Fa.typeRampMinus1FontSize})],kh.prototype,"typeRampMinus1FontSize",void 0),t([Fo({attribute:"type-ramp-minus-1-line-height",default:Fa.typeRampMinus1LineHeight})],kh.prototype,"typeRampMinus1LineHeight",void 0),t([Fo({attribute:"type-ramp-base-font-size",default:Fa.typeRampBaseFontSize})],kh.prototype,"typeRampBaseFontSize",void 0),t([Fo({attribute:"type-ramp-base-line-height",default:Fa.typeRampBaseLineHeight})],kh.prototype,"typeRampBaseLineHeight",void 0),t([Fo({attribute:"type-ramp-plus-1-font-size",default:Fa.typeRampPlus1FontSize})],kh.prototype,"typeRampPlus1FontSize",void 0),t([Fo({attribute:"type-ramp-plus-1-line-height",default:Fa.typeRampPlus1LineHeight})],kh.prototype,"typeRampPlus1LineHeight",void 0),t([Fo({attribute:"type-ramp-plus-2-font-size",default:Fa.typeRampPlus2FontSize})],kh.prototype,"typeRampPlus2FontSize",void 0),t([Fo({attribute:"type-ramp-plus-2-line-height",default:Fa.typeRampPlus2LineHeight})],kh.prototype,"typeRampPlus2LineHeight",void 0),t([Fo({attribute:"type-ramp-plus-3-font-size",default:Fa.typeRampPlus3FontSize})],kh.prototype,"typeRampPlus3FontSize",void 0),t([Fo({attribute:"type-ramp-plus-3-line-height",default:Fa.typeRampPlus3LineHeight})],kh.prototype,"typeRampPlus3LineHeight",void 0),t([Fo({attribute:"type-ramp-plus-4-font-size",default:Fa.typeRampPlus4FontSize})],kh.prototype,"typeRampPlus4FontSize",void 0),t([Fo({attribute:"type-ramp-plus-4-line-height",default:Fa.typeRampPlus4LineHeight})],kh.prototype,"typeRampPlus4LineHeight",void 0),t([Fo({attribute:"type-ramp-plus-5-font-size",default:Fa.typeRampPlus5FontSize})],kh.prototype,"typeRampPlus5FontSize",void 0),t([Fo({attribute:"type-ramp-plus-5-line-height",default:Fa.typeRampPlus5LineHeight})],kh.prototype,"typeRampPlus5LineHeight",void 0),t([Fo({attribute:"type-ramp-plus-6-font-size",default:Fa.typeRampPlus6FontSize})],kh.prototype,"typeRampPlus6FontSize",void 0),t([Fo({attribute:"type-ramp-plus-6-line-height",default:Fa.typeRampPlus6LineHeight})],kh.prototype,"typeRampPlus6LineHeight",void 0),t([Fo({attribute:"accent-fill-rest-delta",converter:ft,cssCustomProperty:!1,default:Fa.accentFillRestDelta})],kh.prototype,"accentFillRestDelta",void 0),t([Fo({attribute:"accent-fill-hover-delta",cssCustomProperty:!1,converter:ft,default:Fa.accentFillHoverDelta})],kh.prototype,"accentFillHoverDelta",void 0),t([Fo({attribute:"accent-fill-active-delta",cssCustomProperty:!1,converter:ft,default:Fa.accentFillActiveDelta})],kh.prototype,"accentFillActiveDelta",void 0),t([Fo({attribute:"accent-fill-focus-delta",converter:ft,cssCustomProperty:!1,default:Fa.accentFillFocusDelta})],kh.prototype,"accentFillFocusDelta",void 0),t([Fo({attribute:"accent-fill-selected-delta",converter:ft,cssCustomProperty:!1,default:Fa.accentFillSelectedDelta})],kh.prototype,"accentFillSelectedDelta",void 0),t([Fo({attribute:"accent-foreground-rest-delta",converter:ft,cssCustomProperty:!1,default:Fa.accentForegroundRestDelta})],kh.prototype,"accentForegroundRestDelta",void 0),t([Fo({attribute:"accent-foreground-hover-delta",converter:ft,cssCustomProperty:!1,default:Fa.accentForegroundHoverDelta})],kh.prototype,"accentForegroundHoverDelta",void 0),t([Fo({attribute:"accent-foreground-active-delta",converter:ft,cssCustomProperty:!1,default:Fa.accentForegroundActiveDelta})],kh.prototype,"accentForegroundActiveDelta",void 0),t([Fo({attribute:"accent-foreground-focus-delta",converter:ft,cssCustomProperty:!1,default:Fa.accentForegroundFocusDelta})],kh.prototype,"accentForegroundFocusDelta",void 0),t([Fo({attribute:"neutral-fill-rest-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillRestDelta})],kh.prototype,"neutralFillRestDelta",void 0),t([Fo({attribute:"neutral-fill-hover-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillHoverDelta})],kh.prototype,"neutralFillHoverDelta",void 0),t([Fo({attribute:"neutral-fill-active-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillActiveDelta})],kh.prototype,"neutralFillActiveDelta",void 0),t([Fo({attribute:"neutral-fill-focus-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillFocusDelta})],kh.prototype,"neutralFillFocusDelta",void 0),t([Fo({attribute:"neutral-fill-selected-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillSelectedDelta})],kh.prototype,"neutralFillSelectedDelta",void 0),t([Fo({attribute:"neutral-fill-input-rest-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillInputRestDelta})],kh.prototype,"neutralFillInputRestDelta",void 0),t([Fo({attribute:"neutral-fill-input-hover-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillInputHoverDelta})],kh.prototype,"neutralFillInputHoverDelta",void 0),t([Fo({attribute:"neutral-fill-input-active-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillInputActiveDelta})],kh.prototype,"neutralFillInputActiveDelta",void 0),t([Fo({attribute:"neutral-fill-input-focus-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillInputFocusDelta})],kh.prototype,"neutralFillInputFocusDelta",void 0),t([Fo({attribute:"neutral-fill-input-selected-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillInputSelectedDelta})],kh.prototype,"neutralFillInputSelectedDelta",void 0),t([Fo({attribute:"neutral-fill-stealth-rest-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillStealthRestDelta})],kh.prototype,"neutralFillStealthRestDelta",void 0),t([Fo({attribute:"neutral-fill-stealth-hover-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillStealthHoverDelta})],kh.prototype,"neutralFillStealthHoverDelta",void 0),t([Fo({attribute:"neutral-fill-stealth-active-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillStealthActiveDelta})],kh.prototype,"neutralFillStealthActiveDelta",void 0),t([Fo({attribute:"neutral-fill-stealth-focus-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillStealthFocusDelta})],kh.prototype,"neutralFillStealthFocusDelta",void 0),t([Fo({attribute:"neutral-fill-stealth-selected-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillStealthSelectedDelta})],kh.prototype,"neutralFillStealthSelectedDelta",void 0),t([Fo({attribute:"neutral-fill-toggle-hover-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillToggleHoverDelta})],kh.prototype,"neutralFillToggleHoverDelta",void 0),t([Fo({attribute:"neutral-fill-toggle-active-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillToggleActiveDelta})],kh.prototype,"neutralFillToggleActiveDelta",void 0),t([Fo({attribute:"neutral-fill-toggle-focus-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillToggleFocusDelta})],kh.prototype,"neutralFillToggleFocusDelta",void 0),t([Fo({attribute:"base-layer-luminance",converter:ft,cssCustomProperty:!1,default:Fa.baseLayerLuminance})],kh.prototype,"baseLayerLuminance",void 0),t([Fo({attribute:"neutral-fill-card-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralFillCardDelta})],kh.prototype,"neutralFillCardDelta",void 0),t([Fo({attribute:"neutral-foreground-hover-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralForegroundHoverDelta})],kh.prototype,"neutralForegroundHoverDelta",void 0),t([Fo({attribute:"neutral-foreground-active-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralForegroundActiveDelta})],kh.prototype,"neutralForegroundActiveDelta",void 0),t([Fo({attribute:"neutral-foreground-focus-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralForegroundFocusDelta})],kh.prototype,"neutralForegroundFocusDelta",void 0),t([Fo({attribute:"neutral-divider-rest-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralDividerRestDelta})],kh.prototype,"neutralDividerRestDelta",void 0),t([Fo({attribute:"neutral-outline-rest-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralOutlineRestDelta})],kh.prototype,"neutralOutlineRestDelta",void 0),t([Fo({attribute:"neutral-outline-hover-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralOutlineHoverDelta})],kh.prototype,"neutralOutlineHoverDelta",void 0),t([Fo({attribute:"neutral-outline-active-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralOutlineActiveDelta})],kh.prototype,"neutralOutlineActiveDelta",void 0),t([Fo({attribute:"neutral-outline-focus-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralOutlineFocusDelta})],kh.prototype,"neutralOutlineFocusDelta",void 0),t([Fo({attribute:"neutral-contrast-fill-rest-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralContrastFillRestDelta})],kh.prototype,"neutralContrastFillRestDelta",void 0),t([Fo({attribute:"neutral-contrast-fill-hover-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralContrastFillHoverDelta})],kh.prototype,"neutralContrastFillHoverDelta",void 0),t([Fo({attribute:"neutral-contrast-fill-active-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralContrastFillActiveDelta})],kh.prototype,"neutralContrastFillActiveDelta",void 0),t([Fo({attribute:"neutral-contrast-fill-focus-delta",converter:ft,cssCustomProperty:!1,default:Fa.neutralContrastFillFocusDelta})],kh.prototype,"neutralContrastFillFocusDelta",void 0),kh=t([So({name:"fast-design-system-provider",template:Do,styles:$h})],kh);const Th=fs("neutral-foreground-rest",t=>Fc(t).rest,kh.findProvider),Ih=fs("neutral-foreground-hover",t=>Fc(t).hover,kh.findProvider),Sh=fs("neutral-foreground-active",t=>Fc(t).active,kh.findProvider),Fh=fs("neutral-foreground-focus",t=>Fc(t).focus,kh.findProvider),Dh=fs("neutral-foreground-toggle",zc,kh.findProvider),Ph=fs("neutral-foreground-toggle-large",Mc,kh.findProvider),Eh=fs("neutral-foreground-hint",Uc,kh.findProvider),Ah=fs("neutral-foreground-hint-large",Gc,kh.findProvider),Oh=fs("accent-foreground-rest",t=>Kc(t).rest,kh.findProvider),Rh=fs("accent-foreground-hover",t=>Kc(t).hover,kh.findProvider),Lh=fs("accent-foreground-active",t=>Kc(t).active,kh.findProvider),Hh=fs("accent-foreground-focus",t=>Kc(t).focus,kh.findProvider),Bh=fs("accent-foreground-cut-rest",t=>jc(t),kh.findProvider),zh=fs("accent-foreground-large-rest",t=>Qc(t).rest,kh.findProvider),Mh=fs("accent-foreground-large-hover",t=>Qc(t).hover,kh.findProvider),Nh=fs("accent-foreground-large-active",t=>Qc(t).active,kh.findProvider),Vh=fs("accent-foreground-large-focus",t=>Qc(t).focus,kh.findProvider),jh=fs("neutral-fill-rest",t=>cd(t).rest,kh.findProvider),_h=fs("neutral-fill-hover",t=>cd(t).hover,kh.findProvider),qh=fs("neutral-fill-active",t=>cd(t).active,kh.findProvider),Uh=fs("neutral-fill-focus",t=>cd(t).focus,kh.findProvider),Gh=fs("neutral-fill-selected",t=>cd(t).selected,kh.findProvider),Wh=fs("neutral-fill-stealth-rest",t=>bd(t).rest,kh.findProvider),Kh=fs("neutral-fill-stealth-hover",t=>bd(t).hover,kh.findProvider),Qh=fs("neutral-fill-stealth-active",t=>bd(t).active,kh.findProvider),Xh=fs("neutral-fill-stealth-focus",t=>bd(t).focus,kh.findProvider),Yh=fs("neutral-fill-stealth-selected",t=>bd(t).selected,kh.findProvider),Zh=fs("neutral-fill-toggle-rest",t=>Ac(t).rest,kh.findProvider),Jh=fs("neutral-fill-toggle-hover",t=>Ac(t).hover,kh.findProvider),tu=fs("neutral-fill-toggle-active",t=>Ac(t).active,kh.findProvider),eu=fs("neutral-fill-toggle-focus",t=>Ac(t).focus,kh.findProvider),iu=fs("neutral-fill-input-rest",t=>kd(t).rest,kh.findProvider),ou=fs("neutral-fill-input-hover",t=>kd(t).hover,kh.findProvider),su=fs("neutral-fill-input-active",t=>kd(t).active,kh.findProvider),nu=fs("neutral-fill-input-selected",t=>kd(t).selected,kh.findProvider),ru=fs("neutral-fill-input-focus",t=>kd(t).focus,kh.findProvider),au=fs("accent-fill-rest",t=>Sd(t).rest,kh.findProvider),lu=fs("accent-fill-hover",t=>Sd(t).hover,kh.findProvider),cu=fs("accent-fill-active",t=>Sd(t).active,kh.findProvider),du=fs("accent-fill-focus",t=>Sd(t).focus,kh.findProvider),hu=fs("accent-fill-selected",t=>Sd(t).selected,kh.findProvider),uu=fs("accent-fill-large-rest",t=>Fd(t).rest,kh.findProvider),pu=fs("accent-fill-large-hover",t=>Fd(t).hover,kh.findProvider),gu=fs("accent-fill-large-active",t=>Fd(t).active,kh.findProvider),fu=fs("accent-fill-large-focus",t=>Fd(t).focus,kh.findProvider),vu=fs("accent-fill-large-selected",t=>Fd(t).selected,kh.findProvider),bu=fs("neutral-fill-card-rest",t=>jd(t),kh.findProvider),mu=fs("neutral-outline-rest",t=>_d(t).rest,kh.findProvider),yu=fs("neutral-outline-hover",t=>_d(t).hover,kh.findProvider),xu=fs("neutral-outline-active",t=>_d(t).active,kh.findProvider),$u=fs("neutral-outline-focus",t=>_d(t).focus,kh.findProvider),wu=fs("neutral-divider-rest",Wd,kh.findProvider),Cu=fs("neutral-layer-floating",lh,kh.findProvider),ku=fs("neutral-layer-card",ch,kh.findProvider),Tu=fs("neutral-layer-card-container",dh,kh.findProvider),Iu=fs("neutral-layer-l1",hh,kh.findProvider),Su=fs("neutral-layer-l1-alt",uh,kh.findProvider),Fu=fs("neutral-layer-l2",ph,kh.findProvider),Du=fs("neutral-layer-l3",gh,kh.findProvider),Pu=fs("neutral-layer-l4",fh,kh.findProvider),Eu=fs("neutral-focus",bh,kh.findProvider),Au=fs("neutral-focus-inner-accent",yh(Aa),kh.findProvider),Ou=fs("neutral-contrast-foreground-rest",t=>Dc(zd)(t),kh.findProvider),Ru=fs("neutral-contrast-fill-rest",t=>Bd(t).rest,kh.findProvider),Lu=fs("neutral-contrast-fill-hover",t=>Bd(t).hover,kh.findProvider),Hu=fs("neutral-contrast-fill-active",t=>Bd(t).active,kh.findProvider),Bu=fs("neutral-contrast-fill-focus",t=>Bd(t).focus,kh.findProvider),zu=Et` ${mo("flex")} :host{box-sizing: border-box;flex-direction: column;font-family: var(--body-font);font-size: var(--type-ramp-minus-1-font-size);line-height: var(--type-ramp-minus-1-line-height);color: ${Th.var};border-top: calc(var(--outline-width) * 1px) solid ${wu.var}}`.withBehaviors(wu,Th),Mu="(var(--base-height-multiplier) + var(--density)) * var(--design-unit)",Nu=Et` ${mo("flex")} :host{box-sizing: border-box;font-family: var(--body-font);flex-direction: column;font-size: var(--type-ramp-minus-1-font-size);line-height: var(--type-ramp-minus-1-line-height);border-bottom: calc(var(--outline-width) * 1px) solid var(--neutral-divider-rest)}.region{display: none;padding: calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px)}.heading{display: grid;position: relative;grid-template-columns: auto 1fr auto calc(${Mu} * 1px);z-index: 2}.button{appearance: none;border: none;background: none;grid-column: 2;grid-row: 1;outline: none;padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);text-align: left;height: calc(${Mu} * 1px);color: ${Th.var};cursor: pointer;font-family: inherit}.button:hover{color: ${Ih.var}}.button:active{color: ${Sh.var}}.button::before{content: "";position: absolute;top: 0;left: 0;right: 0;bottom: 0;z-index: 1;cursor: pointer}.button:${yo}::before{outline: none;border: calc(var(--outline-width) * 1px) solid ${Eu.var};box-shadow: 0 0 0 calc((var(--focus-outline-width) - var(--outline-width)) * 1px) ${Eu.var}}:host([expanded]) .region{display: block}.icon{display: flex;align-items: center;justify-content: center;grid-column: 4;z-index: 2;pointer-events: none}slot[name="expanded-icon"], slot[name="collapsed-icon"]{fill: ${au.var}}slot[name="collapsed-icon"]{display: flex}:host([expanded]) slot[name="collapsed-icon"]{display: none}slot[name="expanded-icon"]{display: none}:host([expanded]) slot[name="expanded-icon"]{display: flex}.start{display: flex;align-items: center;padding-inline-start: calc(var(--design-unit) * 1px);justify-content: center;grid-column: 1;z-index: 2}.end{display: flex;align-items: center;justify-content: center;grid-column: 3;z-index: 2}`.withBehaviors(au,wu,Sh,Fh,Ih,Th,Eu,uo(Et` .button:${yo}::before{border-color: ${Yi.Highlight};box-shadow: 0 0 0 calc((var(--focus-outline-width) - var(--outline-width)) * 1px) ${Yi.Highlight}}`));let Vu=class extends ce{};Vu=t([Ft({name:"fast-accordion-item",template:ae,styles:Nu})],Vu);const ju=Nu;let _u=class extends eo{};_u=t([Ft({name:"fast-accordion",template:de,styles:zu})],_u);const qu=zu,Uu="box-shadow: 0 0 calc((var(--elevation) * 0.225px) + 2px) rgba(0, 0, 0, calc(.11 * (2 - var(--background-luminance, 1)))), 0 calc(var(--elevation) * 0.4px) calc((var(--elevation) * 0.9px)) rgba(0, 0, 0, calc(.13 * (2 - var(--background-luminance, 1))));",Gu=Et` ${mo("inline-flex")} :host{font-family: var(--body-font);outline: none;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);height: calc(${Mu} * 1px);min-width: calc(${Mu} * 1px);background-color: ${jh.var};color: ${Th.var};border-radius: calc(var(--corner-radius) * 1px);fill: currentcolor;cursor: pointer}.control{background: transparent;height: inherit;flex-grow: 1;box-sizing: border-box;display: inline-flex;justify-content: center;align-items: center;padding: 0 calc((10 + (var(--design-unit) * 2 * var(--density))) * 1px);white-space: nowrap;outline: none;text-decoration: none;border: calc(var(--outline-width) * 1px) solid transparent;color: inherit;border-radius: inherit;fill: inherit;cursor: inherit;font-family: inherit;font-size: inherit;line-height: inherit}:host(:hover){background-color: ${_h.var}}:host(:active){background-color: ${qh.var}}.control:${yo}{border: calc(var(--outline-width) * 1px) solid ${Eu.var};box-shadow: 0 0 0 calc((var(--focus-outline-width) - var(--outline-width)) * 1px) ${Eu.var}}.control::-moz-focus-inner{border: 0}.start, .end{display: flex}.control.icon-only{padding: 0;line-height: 0}::slotted(svg){${""} width: 16px;height: 16px;pointer-events: none}.start{margin-inline-end: 11px}.end{margin-inline-start: 11px}`.withBehaviors(jh,Th,_h,qh,uo(Et` :host .control{background-color: ${Yi.ButtonFace};border-color: ${Yi.ButtonText};color: ${Yi.ButtonText};fill: currentColor}:host(:hover) .control{forced-color-adjust: none;background-color: ${Yi.Highlight};color: ${Yi.HighlightText}}.control:${yo}{forced-color-adjust: none;background-color: ${Yi.Highlight};border-color: ${Yi.ButtonText};box-shadow: 0 0 0 calc((var(--focus-outline-width) - var(--outline-width)) * 1px) ${Yi.ButtonText};color: ${Yi.HighlightText}}.control:hover, :host([appearance="outline"]) .control:hover{border-color: ${Yi.ButtonText}}:host([href]) .control{border-color: ${Yi.LinkText};color: ${Yi.LinkText}}:host([href]) .control:hover, :host([href]) .control:${yo}{forced-color-adjust: none;background: ${Yi.ButtonFace};border-color: ${Yi.LinkText};box-shadow: 0 0 0 1px ${Yi.LinkText} inset;color: ${Yi.LinkText};fill: currentColor}`)),Wu=Et` :host([appearance="accent"]){background: ${au.var};color: ${Bh.var}}:host([appearance="accent"]:hover){background: ${lu.var}}:host([appearance="accent"]:active) .control:active{background: ${cu.var}}:host([appearance="accent"]) .control:${yo}{box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${Au.var}}`.withBehaviors(au,Bh,lu,cu,Au,uo(Et` :host([appearance="accent"]) .control{forced-color-adjust: none;background: ${Yi.Highlight};color: ${Yi.HighlightText}}:host([appearance="accent"]) .control:hover{background: ${Yi.HighlightText};border-color: ${Yi.Highlight};color: ${Yi.Highlight}}:host([appearance="accent"]) .control:${yo}{border-color: ${Yi.ButtonText};box-shadow: 0 0 0 2px ${Yi.HighlightText} inset}:host([appearance="accent"][href]) .control{background: ${Yi.LinkText};color: ${Yi.HighlightText}}:host([appearance="accent"][href]) .control:hover{background: ${Yi.ButtonFace};border-color: ${Yi.LinkText};box-shadow: none;color: ${Yi.LinkText};fill: currentColor}:host([appearance="accent"][href]) .control:${yo}{border-color: ${Yi.LinkText};box-shadow: 0 0 0 2px ${Yi.HighlightText} inset}`)),Ku=Et` :host([appearance="hypertext"]){font-size: inherit;line-height: inherit;height: auto;min-width: 0;background: transparent}:host([appearance="hypertext"]) .control{display: inline;padding: 0;border: none;box-shadow: none;border-radius: 0;line-height: 1}:host a.control:not(:link){background-color: transparent;cursor: default}:host([appearance="hypertext"]) .control:link, :host([appearance="hypertext"]) .control:visited{background: transparent;color: ${Oh.var};border-bottom: calc(var(--outline-width) * 1px) solid ${Oh.var}}:host([appearance="hypertext"]:hover), :host([appearance="hypertext"]) .control:hover{background: transparent;border-bottom-color: ${Rh.var}}:host([appearance="hypertext"]:active), :host([appearance="hypertext"]) .control:active{background: transparent;border-bottom-color: ${Lh.var}}:host([appearance="hypertext"]) .control:${yo}{border-bottom: calc(var(--focus-outline-width) * 1px) solid ${Eu.var};margin-bottom: calc(calc(var(--outline-width) - var(--focus-outline-width)) * 1px)}`.withBehaviors(Oh,Rh,Lh,Eu,uo(Et` :host([appearance="hypertext"]:hover){background-color: ${Yi.ButtonFace};color: ${Yi.ButtonText}}:host([appearance="hypertext"][href]) .control:hover, :host([appearance="hypertext"][href]) .control:active, :host([appearance="hypertext"][href]) .control:${yo}{color: ${Yi.LinkText};border-bottom-color: ${Yi.LinkText};box-shadow: none}`)),Qu=Et` :host([appearance="lightweight"]){background: transparent;color: ${Oh.var}}:host([appearance="lightweight"]) .control{padding: 0;height: initial;border: none;box-shadow: none;border-radius: 0}:host([appearance="lightweight"]:hover){background: transparent;color: ${Rh.var}}:host([appearance="lightweight"]:active){background: transparent;color: ${Lh.var}}:host([appearance="lightweight"]) .content{position: relative}:host([appearance="lightweight"]) .content::before{content: "";display: block;height: calc(var(--outline-width) * 1px);position: absolute;top: calc(1em + 4px);width: 100%}:host([appearance="lightweight"]:hover) .content::before{background: ${Rh.var}}:host([appearance="lightweight"]:active) .content::before{background: ${Lh.var}}:host([appearance="lightweight"]) .control:${yo} .content::before{background: ${Th.var};height: calc(var(--focus-outline-width) * 1px)}`.withBehaviors(Oh,Rh,Lh,Rh,Th,uo(Et` :host([appearance="lightweight"]) .control:hover, :host([appearance="lightweight"]) .control:${yo}{forced-color-adjust: none;background: ${Yi.ButtonFace};color: ${Yi.Highlight}}:host([appearance="lightweight"]) .control:hover .content::before, :host([appearance="lightweight"]) .control:${yo} .content::before{background: ${Yi.Highlight}}:host([appearance="lightweight"][href]) .control:hover, :host([appearance="lightweight"][href]) .control:${yo}{background: ${Yi.ButtonFace};box-shadow: none;color: ${Yi.LinkText}}:host([appearance="lightweight"][href]) .control:hover .content::before, :host([appearance="lightweight"][href]) .control:${yo} .content::before{background: ${Yi.LinkText}}`)),Xu=Et` :host([appearance="outline"]){background: transparent;border-color: ${au.var}}:host([appearance="outline"]:hover){border-color: ${lu.var}}:host([appearance="outline"]:active){border-color: ${cu.var}}:host([appearance="outline"]) .control{border-color: inherit}:host([appearance="outline"]) .control:${yo}{box-shadow: 0 0 0 calc((var(--focus-outline-width) - var(--outline-width)) * 1px) ${Eu.var};border-color: ${Eu.var}}`.withBehaviors(au,lu,cu,Eu,uo(Et` :host([appearance="outline"]) .control{border-color: ${Yi.ButtonText}}:host([appearance="outline"]) .control:${yo}{forced-color-adjust: none;background-color: ${Yi.Highlight};border-color: ${Yi.ButtonText};box-shadow: 0 0 0 calc((var(--focus-outline-width) - var(--outline-width)) * 1px) ${Yi.ButtonText};color: ${Yi.HighlightText};fill: currentColor}:host([appearance="outline"][href]) .control{background: ${Yi.ButtonFace};border-color: ${Yi.LinkText};color: ${Yi.LinkText};fill: currentColor}:host([appearance="outline"][href]) .control:hover, :host([appearance="outline"][href]) .control:${yo}{forced-color-adjust: none;border-color: ${Yi.LinkText};box-shadow: 0 0 0 1px ${Yi.LinkText} inset}`)),Yu=Et` :host([appearance="stealth"]){background: ${Wh.var}}:host([appearance="stealth"]:hover){background: ${Kh.var}}:host([appearance="stealth"]:active){background: ${Qh.var}}`.withBehaviors(Wh,Kh,Qh,uo(Et` :host([appearance="stealth"]), :host([appearance="stealth"]) .control{forced-color-adjust: none;background: ${Yi.ButtonFace};border-color: transparent;color: ${Yi.ButtonText};fill: currentColor}:host([appearance="stealth"]:hover) .control{background: ${Yi.Highlight};border-color: ${Yi.Highlight};color: ${Yi.HighlightText};fill: currentColor}:host([appearance="stealth"]:${yo}) .control{background: ${Yi.Highlight};box-shadow: 0 0 0 1px ${Yi.Highlight};color: ${Yi.HighlightText};fill: currentColor}:host([appearance="stealth"][href]) .control{color: ${Yi.LinkText}}:host([appearance="stealth"][href]:hover) .control, :host([appearance="stealth"][href]:${yo}) .control{background: ${Yi.LinkText};border-color: ${Yi.LinkText};color: ${Yi.HighlightText};fill: currentColor}:host([appearance="stealth"][href]:${yo}) .control{forced-color-adjust: none;box-shadow: 0 0 0 1px ${Yi.LinkText}}`)),Zu=fs("inline-start",t=>La(t)===Xi.ltr?"left":"right",kh.findProvider),Ju=fs("inline-end",t=>La(t)===Xi.ltr?"right":"left",kh.findProvider);function tp(t,e){return new fo("appearance",t,e)}const ep=Et` ${Gu}`.withBehaviors(tp("accent",Wu),tp("hypertext",Ku),tp("lightweight",Qu),tp("outline",Xu),tp("stealth",Yu));let ip=class extends so{appearanceChanged(t,e){t!==e&&(this.classList.add(e),this.classList.remove(t))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="neutral")}defaultSlottedContentChanged(t,e){const i=this.defaultSlottedContent.filter(t=>t.nodeType===Node.ELEMENT_NODE);1===i.length&&i[0]instanceof SVGElement?this.control.classList.add("icon-only"):this.control.classList.remove("icon-only")}};t([bt],ip.prototype,"appearance",void 0),ip=t([Ft({name:"fast-anchor",template:io,styles:ep,shadowOptions:{delegatesFocus:!0}})],ip);const op=ep,sp=Et` :host{contain: layout;display: block}`;let np=class extends Ro{};np=t([Ft({name:"fast-anchored-region",template:ro,styles:sp})],np);const rp=sp,ap=Et` ${mo("inline-block")} :host{box-sizing: border-box;font-family: var(--body-font);font-size: var(--type-ramp-minus-1-font-size);line-height: var(--type-ramp-minus-1-line-height)}.control{border-radius: calc(var(--corner-radius) * 1px);padding: calc(var(--design-unit) * 0.5px) calc(var(--design-unit) * 1px);color: ${Oh.var};font-weight: 600}.control[style]{font-weight: 400}:host([circular]) .control{border-radius: 100px;padding: 0 calc(var(--design-unit) * 1px);${""} height: calc((${Mu} - (var(--design-unit) * 3)) * 1px);min-width: calc((${Mu} - (var(--design-unit) * 3)) * 1px);display: flex;align-items: center;justify-content: center;box-sizing: border-box}`.withBehaviors(Oh);let lp=class extends Ho{};lp=t([Ft({name:"fast-badge",template:Lo,styles:ap})],lp);const cp=ap,dp=Et` ${mo("inline-block")} :host{box-sizing: border-box;font-family: var(--body-font);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height)}.list{display: flex}`;let hp=class extends No{};hp=t([Ft({name:"fast-breadcrumb",template:Mo,styles:dp})],hp);const up=Et` ${mo("inline-flex")} :host{background: transparent;box-sizing: border-box;font-family: var(--body-font);font-size: var(--type-ramp-base-font-size);fill: currentColor;line-height: var(--type-ramp-base-line-height);min-width: calc(${Mu} * 1px);outline: none}.listitem{display: flex;align-items: center;width: max-content}.separator{margin: 0 6px}.control{align-items: center;box-sizing: border-box;color: ${Oh.var};cursor: pointer;display: flex;fill: inherit;outline: none;text-decoration: none;white-space: nowrap}.control:hover{color: ${Rh.var}}.control:active{color: ${Lh.var}}.control .content{position: relative}.control .content::before{content: "";display: block;height: calc(var(--outline-width) * 1px);left: 0;position: absolute;right: 0;top: calc(1em + 4px);width: 100%}.control:hover .content::before{background: ${Rh.var}}.control:active .content::before{background: ${Lh.var}}.control:${yo} .content::before{background: ${Th.var};height: calc(var(--focus-outline-width) * 1px)}.control:not([href]){color: ${Th.var};cursor: default}.control:not([href]) .content::before{background: none}.start, .end{display: flex}::slotted(svg){${""} width: 16px;height: 16px}.start{margin-inline-end: 6px}.end{margin-inline-start: 6px}`.withBehaviors(Oh,Rh,Lh,Rh,Th,uo(Et` .control:hover .content::before{background: ${Yi.LinkText}}`));let pp=class extends zo{};pp=t([Ft({name:"fast-breadcrumb-item",template:Bo,styles:up,shadowOptions:{delegatesFocus:!0}})],pp);const gp=Et` :host([disabled]), :host([disabled]:hover), :host([disabled]:active){opacity: var(--disabled-opacity);background-color: ${jh.var};cursor: ${"not-allowed"}}${Gu}`.withBehaviors(uo(Et` :host([disabled]), :host([disabled]) .control{forced-color-adjust: none;background-color: ${Yi.ButtonFace};border-color: ${Yi.GrayText};color: ${Yi.GrayText};cursor: ${"not-allowed"};opacity: 1}`),tp("accent",Et` :host([appearance="accent"][disabled]), :host([appearance="accent"][disabled]:hover), :host([appearance="accent"][disabled]:active){background: ${au.var}}${Wu} `.withBehaviors(uo(Et` :host([appearance="accent"][disabled]) .control, :host([appearance="accent"][disabled]) .control:hover{background: ${Yi.ButtonFace};border-color: ${Yi.GrayText};color: ${Yi.GrayText}}`))),tp("lightweight",Et` :host([appearance="lightweight"][disabled]:hover), :host([appearance="lightweight"][disabled]:active){background-color: transparent;color: ${Oh.var}}:host([appearance="lightweight"][disabled]) .content::before, :host([appearance="lightweight"][disabled]:hover) .content::before, :host([appearance="lightweight"][disabled]:active) .content::before{background: transparent}${Qu} `.withBehaviors(uo(Et` :host([appearance="lightweight"].disabled) .control{forced-color-adjust: none;color: ${Yi.GrayText}}:host([appearance="lightweight"].disabled) .control:hover .content::before{background: none}`))),tp("outline",Et` :host([appearance="outline"][disabled]), :host([appearance="outline"][disabled]:hover), :host([appearance="outline"][disabled]:active){background: transparent;border-color: ${au.var}}${Xu} `.withBehaviors(uo(Et` :host([appearance="outline"][disabled]) .control{border-color: ${Yi.GrayText}}`))),tp("stealth",Et` :host([appearance="stealth"][disabled]), :host([appearance="stealth"][disabled]:hover), :host([appearance="stealth"][disabled]:active){background: ${Wh.var}}${Yu} `.withBehaviors(uo(Et` :host([appearance="stealth"][disabled]){background: ${Yi.ButtonFace}}:host([appearance="stealth"][disabled]) .control{background: ${Yi.ButtonFace};border-color: transparent;color: ${Yi.GrayText}}`))));let fp=class extends Wo{connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="neutral")}defaultSlottedContentChanged(t,e){const i=this.defaultSlottedContent.filter(t=>t.nodeType===Node.ELEMENT_NODE);1===i.length&&i[0]instanceof SVGElement?this.control.classList.add("icon-only"):this.control.classList.remove("icon-only")}};t([bt],fp.prototype,"appearance",void 0),fp=t([Ft({name:"fast-button",template:Vo,styles:gp,shadowOptions:{delegatesFocus:!0}})],fp);const vp=gp,bp=Et` ${mo("block")} :host{--elevation: 4;display: block;contain: content;height: var(--card-height, 100%);width: var(--card-width, 100%);box-sizing: border-box;background: var(--background-color);border-radius: calc(var(--corner-radius) * 1px);${Uu}}`.withBehaviors(uo(Et` :host{forced-color-adjust: none;background: ${Yi.Canvas};box-shadow: 0 0 0 1px ${Yi.CanvasText}}`)),mp=new Map;let yp=class extends To{cardBackgroundColorChanged(t,e){if(e){const t=nc(this.cardBackgroundColor);if(null!==t){if(mp.has(t))this.neutralPalette=mp.get(t);else{const e=xh(t);mp.set(t,e),this.neutralPalette=e}this.backgroundColor=this.cardBackgroundColor}}else this.provider&&this.provider.designSystem&&this.handleChange(this.provider.designSystem,"backgroundColor")}handleChange(t,e){this.cardBackgroundColor||(this.backgroundColor=jd(t))}connectedCallback(){var t,e;super.connectedCallback();const i=C.getNotifier(null===(t=this.provider)||void 0===t?void 0:t.designSystem);i.subscribe(this,"backgroundColor"),i.subscribe(this,"neutralPalette"),this.handleChange(null===(e=this.provider)||void 0===e?void 0:e.designSystem,"backgroundColor")}};t([Fo({attribute:!1,cssCustomProperty:"background-color",default:"#FFFFFF"})],yp.prototype,"backgroundColor",void 0),t([bt({attribute:"card-background-color"})],yp.prototype,"cardBackgroundColor",void 0),t([Fo({attribute:!1,default:xh(nc("#FFFFFF")),cssCustomProperty:!1})],yp.prototype,"neutralPalette",void 0),yp=t([Ft({name:"fast-card",template:Qo,styles:bp})],yp);const xp=bp,$p=Et` ${mo("inline-flex")} :host{align-items: center;outline: none;margin: calc(var(--design-unit) * 1px) 0;${""} user-select: none}.control{position: relative;width: calc((${Mu} / 2 + var(--design-unit)) * 1px);height: calc((${Mu} / 2 + var(--design-unit)) * 1px);box-sizing: border-box;border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid ${mu.var};background: ${iu.var};outline: none;cursor: pointer}.label{font-family: var(--body-font);color: ${Th.var};${""} padding-inline-start: calc(var(--design-unit) * 2px + 2px);margin-inline-end: calc(var(--design-unit) * 2px + 2px);cursor: pointer;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height)}.label__hidden{display: none;visibility: hidden}.checked-indicator{width: 100%;height: 100%;display: block;fill: ${Bh.var};opacity: 0;pointer-events: none}.indeterminate-indicator{border-radius: calc(var(--corner-radius) * 1px);background: ${Bh.var};position: absolute;top: 50%;left: 50%;width: 50%;height: 50%;transform: translate(-50%, -50%);opacity: 0}:host(:not([disabled])) .control:hover{background: ${ou.var};border-color: ${yu.var}}:host(:not([disabled])) .control:active{background: ${su.var};border-color: ${xu.var}}:host(:${yo}) .control{box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px ${Eu.var};border-color: ${Eu.var}}:host([aria-checked="true"]) .control{background: ${au.var};border: calc(var(--outline-width) * 1px) solid ${au.var}}:host([aria-checked="true"]:not([disabled])) .control:hover{background: ${lu.var};border: calc(var(--outline-width) * 1px) solid ${lu.var}}:host([aria-checked="true"]:not([disabled])) .control:active{background: ${cu.var};border: calc(var(--outline-width) * 1px) solid ${cu.var}}:host([aria-checked="true"]:${yo}:not([disabled])) .control{box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px ${Eu.var};border-color: transparent}:host([disabled]) .label, :host([readonly]) .label, :host([readonly]) .control, :host([disabled]) .control{cursor: ${"not-allowed"}}:host([aria-checked="true"]:not(.indeterminate)) .checked-indicator, :host(.indeterminate) .indeterminate-indicator{opacity: 1}:host([disabled]){opacity: var(--disabled-opacity)}`.withBehaviors(cu,lu,au,Bh,su,ou,iu,Eu,Au,Th,xu,yu,mu,uo(Et` .control{forced-color-adjust: none;border-color: ${Yi.FieldText};background: ${Yi.Field}}.checked-indicator{fill: ${Yi.FieldText}}.indeterminate-indicator{background: ${Yi.FieldText}}:host(:not([disabled])) .control:hover, .control:active{border-color: ${Yi.Highlight};background: ${Yi.Field}}:host(:${yo}) .control{border-color: ${Yi.Highlight};box-shadow: 0 0 0 2px ${Yi.Field}, 0 0 0 4px ${Yi.FieldText}}:host([aria-checked="true"]:${yo}:not([disabled])) .control{box-shadow: 0 0 0 2px ${Yi.Field}, 0 0 0 4px ${Yi.FieldText}}:host([aria-checked="true"]) .control{background: ${Yi.Highlight};border-color: ${Yi.Highlight}}:host([aria-checked="true"]:not([disabled])) .control:hover, .control:active{border-color: ${Yi.Highlight};background: ${Yi.HighlightText}}:host([aria-checked="true"]) .checked-indicator{fill: ${Yi.HighlightText}}:host([aria-checked="true"]:not([disabled])) .control:hover .checked-indicator{fill: ${Yi.Highlight}}:host([aria-checked="true"]) .indeterminate-indicator{background: ${Yi.HighlightText}}:host([aria-checked="true"]) .control:hover .indeterminate-indicator{background: ${Yi.Highlight}}:host([disabled]){opacity: 1}:host([disabled]) .control{forced-color-adjust: none;border-color: ${Yi.GrayText};background: ${Yi.Field}}:host([disabled]) .indeterminate-indicator, :host([aria-checked="true"][disabled]) .control:hover .indeterminate-indicator{forced-color-adjust: none;background: ${Yi.GrayText}}:host([disabled]) .checked-indicator, :host([aria-checked="true"][disabled]) .control:hover .checked-indicator{forced-color-adjust: none;fill: ${Yi.GrayText}}`));let wp=class extends ts{};wp=t([Ft({name:"fast-checkbox",template:Yo,styles:$p})],wp);const Cp=$p,kp=Et` ${mo("inline-flex")} :host{--elevation: 14;background: ${iu.var};border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid ${au.var};box-sizing: border-box;color: ${Th.var};font-family: var(--body-font);height: calc(${Mu} * 1px);position: relative;user-select: none;min-width: 250px;outline: none;vertical-align: top}.listbox{${Uu} background: ${Cu.var};border: calc(var(--outline-width) * 1px) solid ${mu.var};border-radius: calc(var(--corner-radius) * 1px);box-sizing: border-box;display: inline-flex;flex-direction: column;left: 0;max-height: calc(var(--max-height) - (${Mu} * 1px));padding: calc(var(--design-unit) * 1px) 0;overflow-y: auto;position: absolute;width: 100%;z-index: 1}.listbox[hidden]{display: none}.control{align-items: center;box-sizing: border-box;cursor: pointer;display: flex;font-size: var(--type-ramp-base-font-size);font-family: inherit;line-height: var(--type-ramp-base-line-height);min-height: 100%;padding: 0 calc(var(--design-unit) * 2.25px);width: 100%}:host(:not([disabled]):hover){background: ${ou.var};border-color: ${lu.var}}:host(:${yo}){border-color: ${Eu.var};box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) ${Eu.var}}:host(:${yo}) ::slotted([aria-selected="true"][role="option"]:not([disabled])){box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${Au.var};border-color: ${Eu.var};background: ${lu.var};color: ${Bh.var}}:host([disabled]){cursor: ${"not-allowed"};opacity: var(--disabled-opacity)}:host([disabled]) .control{cursor: ${"not-allowed"};user-select: none}:host([disabled]:hover){background: ${Wh.var};color: ${Th.var};fill: currentcolor}:host(:not([disabled])) .control:active{background: ${su.var};border-color: ${cu.var}}:host([open][position="above"]) .listbox, :host([open][position="below"]) .control{border-bottom-left-radius: 0;border-bottom-right-radius: 0}:host([open][position="above"]) .control, :host([open][position="below"]) .listbox{border-top-left-radius: 0;border-top-right-radius: 0}:host([open][position="above"]) .listbox{border-bottom: 0;bottom: calc(${Mu} * 1px)}:host([open][position="below"]) .listbox{border-top: 0;top: calc(${Mu} * 1px)}.selected-value{flex: 1 1 auto;font-family: inherit;text-align: start;white-space: nowrap;text-overflow: ellipsis;overflow: hidden}.indicator{flex: 0 0 auto;margin-inline-start: 1em}slot[name="listbox"]{display: none;width: 100%}:host([open]) slot[name="listbox"]{display: flex;position: absolute;${Uu}}.end{margin-inline-start: auto}.start, .end, .indicator, .select-indicator, ::slotted(svg){${""} fill: currentcolor;height: 1em;min-height: calc(var(--design-unit) * 4px);min-width: calc(var(--design-unit) * 4px);width: 1em}::slotted([role="option"]), ::slotted(option){flex: 0 0 auto}`.withBehaviors(cu,lu,au,Bh,Hh,uo(Et` :host(:not([disabled]):hover), :host(:not([disabled]):active){border-color: ${Yi.Highlight}}:host(:not([disabled]):${yo}){background-color: ${Yi.ButtonFace};box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) ${Yi.Highlight};color: ${Yi.ButtonText};fill: currentcolor;forced-color-adjust: none}:host(:not([disabled]):${yo}) .listbox{background: ${Yi.ButtonFace}}:host([disabled]){border-color: ${Yi.GrayText};background-color: ${Yi.ButtonFace};color: ${Yi.GrayText};fill: currentcolor;opacity: 1;forced-color-adjust: none}:host([disabled]:hover){background: ${Yi.ButtonFace}}:host([disabled]) .control{color: ${Yi.GrayText};border-color: ${Yi.GrayText}}:host([disabled]) .control .select-indicator{fill: ${Yi.GrayText}}:host(:${yo}) ::slotted([aria-selected="true"][role="option"]), :host(:${yo}) ::slotted(option[aria-selected="true"]), :host(:${yo}) ::slotted([aria-selected="true"][role="option"]:not([disabled])){background: ${Yi.Highlight};border-color: ${Yi.ButtonText};box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${Yi.HighlightText};color: ${Yi.HighlightText};fill: currentcolor}.start, .end, .indicator, .select-indicator, ::slotted(svg){color: ${Yi.ButtonText};fill: currentcolor}`),su,ou,iu,Eu,Au,Th,Cu,mu),Tp=Et` ${kp} :host(:empty) .listbox{display: none}:host([disabled]) *, :host([disabled]){cursor: ${"not-allowed"};user-select: none}.selected-value{-webkit-appearance: none;background: transparent;border: none;color: inherit;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);height: calc(100% - (var(--outline-width) * 1px));margin: auto 0;width: 100%}.selected-value:hover, .selected-value:${yo}, .selected-value:disabled, .selected-value:active{outline: none}`;let Ip=class extends hs{};Ip=t([Ft({name:"fast-combobox",template:ps,styles:Tp,shadowOptions:{delegatesFocus:!0}})],Ip);const Sp=Tp,Fp=Et` :host{display: flex;position: relative;flex-direction: column}`,Dp=Et` :host{display: grid;padding: 1px 0;box-sizing: border-box;width: 100%;border-bottom: calc(var(--outline-width) * 1px) solid var(--neutral-divider-rest)}:host(.header){}:host(.sticky-header){background: ${jh.var};position: sticky;top: 0}`.withBehaviors(wu,jh,uo(Et` :host{}`)),Pp=Et` :host{padding: calc(var(--design-unit) * 1px) calc(var(--design-unit) * 3px);color: ${Th.var};box-sizing: border-box;font-family: var(--body-font);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);font-weight: 400;border: transparent calc(var(--outline-width) * 1px) solid;overflow: hidden;white-space: nowrap;border-radius: calc(var(--corner-radius) * 1px)}:host(.column-header){font-weight: 600}:host(:${yo}){border: ${Eu.var} calc(var(--outline-width) * 1px) solid;color: ${Sh.var}}`.withBehaviors(Eu,Sh,Th,uo(Et` :host{forced-color-adjust: none;border-color: transparent;background: ${Yi.Field};color: ${Yi.FieldText}}:host(:${yo}){border-color: ${Yi.FieldText};box-shadow: 0 0 0 2px inset ${Yi.Field};color: ${Yi.FieldText}}`)),Ep=vs("fast"),Ap=$s("fast"),Op=Cs();let Rp=class extends xs{};Rp=t([Ft({name:"fast-data-grid",template:Ep,styles:Fp})],Rp);const Lp=Fp;let Hp=class extends ws{};Hp=t([Ft({name:"fast-data-grid-row",template:Ap,styles:Dp})],Hp);const Bp=Dp;let zp=class extends Is{};zp=t([Ft({name:"fast-data-grid-cell",template:Op,styles:Pp})],zp);const Mp=Pp,Np=Et` :host([hidden]){display: none}:host{--elevation: 14;--dialog-height: 480px;--dialog-width: 640px;display: block}.overlay{position: fixed;top: 0;left: 0;right: 0;bottom: 0;background: rgba(0, 0, 0, 0.3);touch-action: none}.positioning-region{display: flex;justify-content: center;position: fixed;top: 0;bottom: 0;left: 0;right: 0;overflow: auto}.control{${Uu} margin-top: auto;margin-bottom: auto;width: var(--dialog-width);height: var(--dialog-height);background-color: var(--background-color);z-index: 1;border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid transparent}`;let Vp=class extends Yn{};Vp=t([Ft({name:"fast-dialog",template:zn,styles:Np})],Vp);const jp=Np,_p=Et` .disclosure{transition: height 0.35s}.disclosure .invoker::-webkit-details-marker{display: none}.disclosure .invoker{list-style-type: none}:host([appearance="accent"]) .invoker{background: ${au.var};color: ${Bh.var};font-family: var(--body-font);font-size: var(--type-ramp-base-font-size);border-radius: calc(var(--corner-radius) * 1px);outline: none;cursor: pointer;margin: 16px 0;padding: 12px;max-width: max-content}:host([appearance="accent"]) .invoker:active{background: ${cu.var}}:host([appearance="accent"]) .invoker:hover{background: ${lu.var}}:host([appearance="lightweight"]) .invoker{background: transparent;color: ${Oh.var};border-bottom: calc(var(--outline-width) * 1px) solid var(--accent-foreground-rest);cursor: pointer;width: max-content;margin: 16px 0}:host([appearance="lightweight"]) .invoker:active{border-bottom-color: ${Lh.var}}:host([appearance="lightweight"]) .invoker:hover{border-bottom-color: ${Rh.var}}.disclosure[open] .invoker ~ *{animation: fadeIn 0.5s ease-in-out}@keyframes fadeIn{0%{opacity: 0}100%{opacity: 1}}`.withBehaviors(au,Oh,Bh,Lh,Rh,lu,cu);let qp=class extends Jn{appearanceChanged(t,e){t!==e&&(this.classList.add(e),this.classList.remove(t))}onToggle(){super.onToggle(),this.details.style.setProperty("height",this.disclosureHeight+"px")}setup(){super.setup(),this.appearance||(this.appearance="accent");const t=()=>this.details.getBoundingClientRect().height;this.show(),this.totalHeight=t(),this.hide(),this.height=t(),this.expanded&&this.show()}get disclosureHeight(){return this.expanded?this.totalHeight:this.height}};t([bt],qp.prototype,"appearance",void 0),qp=t([Ft({name:"fast-disclosure",template:Zn,styles:_p})],qp);const Up=_p,Gp=Et` ${mo("block")} :host{box-sizing: content-box;height: 0;margin: calc(var(--design-unit) * 1px) 0;border: none;border-top: calc(var(--outline-width) * 1px) solid ${wu.var}}`.withBehaviors(wu);let Wp=class extends or{};Wp=t([Ft({name:"fast-divider",template:tr,styles:Gp})],Wp);const Kp=Gp,Qp=Et` ${mo("inline-flex")} :host{width: calc(${Mu} * 1px);height: calc(${Mu} * 1px);justify-content: center;align-items: center;margin: 0;position: relative;fill: currentcolor;color: ${Bh.var};background: transparent;outline: none;border: none;padding: 0}:host::before{content: "";background: ${au.var};border: calc(var(--outline-width) * 1px) solid ${au.var};border-radius: 50%;position: absolute;top: 0;right: 0;left: 0;bottom: 0;transition: all 0.1s ease-in-out}.next, .previous{position: relative;${""} width: 16px;height: 16px;display: grid}:host([disabled]){opacity: var(--disabled-opacity);cursor: ${"not-allowed"};fill: currentcolor;color: ${Th.var}}:host([disabled])::before, :host([disabled]:hover)::before, :host([disabled]:active)::before{background: ${Wh.var};border: calc(var(--outline-width) * 1px) solid ${mu.var}}:host(:hover)::before{background: ${lu.var};border-color: ${lu.var}}:host(:active)::before{background: ${cu.var};border-color: ${cu.var}}:host(:${yo}){outline: none}:host(:${yo})::before{box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${Au.var};border-color: ${Eu.var}}:host::-moz-focus-inner{border: 0}`.withBehaviors(cu,lu,au,Bh,Wh,Eu,Au,Th,mu,uo(Et` :host{background: ${Yi.Canvas}}:host .next, :host .previous{color: ${Yi.ButtonText};fill: currentcolor}:host::before{background: ${Yi.Canvas};border-color: ${Yi.ButtonText}}:host(:hover)::before{forced-color-adjust: none;background: ${Yi.Highlight};border-color: ${Yi.ButtonText};opacity: 1}:host(:hover) .next, :host(:hover) .previous{forced-color-adjust: none;color: ${Yi.HighlightText};fill: currentcolor}:host([disabled]){opacity: 1}:host([disabled])::before, :host([disabled]:hover)::before, :host([disabled]) .next, :host([disabled]) .previous{forced-color-adjust: none;background: ${Yi.Canvas};border-color: ${Yi.GrayText};color: ${Yi.GrayText};fill: ${Yi.GrayText}}:host(:${yo})::before{forced-color-adjust: none;border-color: ${Yi.Highlight};box-shadow: 0 0 0 2px ${Yi.Field}, 0 0 0 4px ${Yi.FieldText}}`));let Xp=class extends nr{};Xp=t([Ft({name:"fast-flipper",template:sr,styles:Qp})],Xp);const Yp=Qp,Zp=Et` .scroll-prev{right: auto;left: 0}.scroll.scroll-next::before, .scroll-next .scroll-action{left: auto;right: 0}.scroll.scroll-next::before{background: linear-gradient(to right, transparent, var(--scroll-fade-next))}.scroll-next .scroll-action{transform: translate(50%, -50%)}`,Jp=Et` .scroll.scroll-next{right: auto;left: 0}.scroll.scroll-next::before{background: linear-gradient(to right, var(--scroll-fade-next), transparent);left: auto;right: 0}.scroll.scroll-prev::before{background: linear-gradient(to right, transparent, var(--scroll-fade-previous))}.scroll-prev .scroll-action{left: auto;right: 0;transform: translate(50%, -50%)}`,tg=Et` .scroll-area{position: relative}div.scroll-view{overflow-x: hidden}.scroll{bottom: 0;pointer-events: none;position: absolute;right: 0;top: 0;user-select: none;width: 100px}.scroll.disabled{display: none}.scroll::before, .scroll-action{left: 0;position: absolute}.scroll::before{background: linear-gradient(to right, var(--scroll-fade-previous), transparent);content: "";display: block;height: 100%;width: 100%}.scroll-action{pointer-events: auto;right: auto;top: 50%;transform: translate(-50%, -50%)}`.withBehaviors(new Po(Zp,Jp)),eg=Et` ${mo("block")} :host{--scroll-align: center;--scroll-item-spacing: 5px;contain: layout;position: relative}.scroll-view{overflow-x: auto;scrollbar-width: none}::-webkit-scrollbar{display: none}.content-container{align-items: var(--scroll-align);display: inline-flex;flex-wrap: nowrap;position: relative}.content-container ::slotted(*){margin-right: var(--scroll-item-spacing)}.content-container ::slotted(*:last-child){margin-right: 0}`;let ig=class extends Hr{connectedCallback(){super.connectedCallback(),"mobile"!==this.view&&this.$fastController.addStyles(tg)}};ig=t([Ft({name:"fast-horizontal-scroll",template:Br,styles:eg})],ig);const og=Et` ${mo("inline-flex")} :host{background: ${Cu.var};border: calc(var(--outline-width) * 1px) solid ${mu.var};border-radius: calc(var(--corner-radius) * 1px);box-sizing: border-box;flex-direction: column;padding: calc(var(--design-unit) * 1px) 0}:host(:focus-within:not([disabled])){border-color: ${Eu.var};box-shadow: 0 0 0 1px ${Eu.var} inset}`.withBehaviors(uo(Et` :host(:${yo}) ::slotted([aria-selected="true"][role="option"]){background: ${Yi.Highlight};border-color: ${Yi.ButtonText};box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${Yi.HighlightText};color: ${Yi.HighlightText};fill: currentcolor}:host(:${yo}) ::slotted([aria-selected="true"][role="option"]){background: ${Yi.Highlight};border-color: ${Yi.ButtonText};box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${Yi.HighlightText};color: ${Yi.HighlightText};fill: currentcolor}`),Cu,mu,$u);let sg=class extends as{};sg=t([Ft({name:"fast-listbox",template:dr,styles:og})],sg);const ng=og,rg=Et` ${mo("inline-flex")} :host{align-items: center;font-family: var(--body-font);border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--focus-outline-width) * 1px) solid transparent;box-sizing: border-box;color: ${Th.var};cursor: pointer;fill: currentcolor;font-size: var(--type-ramp-base-font-size);height: calc(${Mu} * 1px);line-height: var(--type-ramp-base-line-height);margin: 0 calc(var(--design-unit) * 1px);outline: none;overflow: hidden;padding: 0 calc(var(--design-unit) * 2.25px);user-select: none;white-space: nowrap}:host(:${yo}){box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${Au.var};border-color: ${Eu.var};background: ${lu.var};color: ${Bh.var}}:host([aria-selected="true"]){background: ${lu.var};color: ${Bh.var}}:host(:active){background: ${cu.var};color: ${Bh.var}}:host(:not([aria-selected="true"]):hover){background: ${_h.var};color: ${Ih.var}}:host(:not([aria-selected="true"]):active){background: ${_h.var};color: ${Ih.var}}:host([disabled]){cursor: ${"not-allowed"};opacity: var(--disabled-opacity)}:host([disabled]:hover){background-color: inherit}.content{grid-column-start: 2;justify-self: start;overflow: hidden;text-overflow: ellipsis}.start, .end, ::slotted(svg){display: flex}::slotted(svg){${""} height: calc(var(--design-unit) * 4px);width: calc(var(--design-unit) * 4px)}::slotted([slot="end"]){margin-inline-start: 1ch}::slotted([slot="start"]){margin-inline-end: 1ch}`.withBehaviors(cu,lu,hu,Bh,uo(Et` :host{border-color: transparent;forced-color-adjust: none;color: ${Yi.ButtonText};fill: currentcolor}:host(:not([aria-selected="true"]):hover), :host([aria-selected="true"]){background: ${Yi.Highlight};color: ${Yi.HighlightText}}:host([disabled]), :host([disabled]:not([aria-selected="true"]):hover){background: ${Yi.Canvas};color: ${Yi.GrayText};fill: currentcolor;opacity: 1}`),_h,Kh,Wh,Yh,Eu,Au,Ih,Th,Iu);let ag=class extends rs{};ag=t([Ft({name:"fast-option",template:cr,styles:rg})],ag);const lg=rg,cg=Et` ${mo("block")} :host{--elevation: 11;background: ${Cu.var};border: calc(var(--outline-width) * 1px) solid transparent;${Uu} margin: 0;border-radius: calc(var(--corner-radius) * 1px);padding: calc(var(--design-unit) * 1px) 0;max-width: 368px;min-width: 64px}:host([slot="submenu"]){width: max-content;margin: 0 calc(var(--design-unit) * 1px)}::slotted(hr){box-sizing: content-box;height: 0;margin: 0;border: none;border-top: calc(var(--outline-width) * 1px) solid var(--neutral-divider-rest)}`.withBehaviors(Cu,wu,uo(Et` :host{background: ${Yi.Canvas};border-color: ${Yi.CanvasText}}`));let dg=class extends vr{};dg=t([Ft({name:"fast-menu",template:fr,styles:cg})],dg);const hg=cg,ug=Et` ${mo("grid")} :host{contain: layout;overflow: visible;font-family: var(--body-font);outline: none;box-sizing: border-box;height: calc(${Mu} * 1px);grid-template-columns: minmax(42px, auto) 1fr minmax(42px, auto);grid-template-rows: auto;justify-items: center;align-items: center;padding: 0;margin: 0 calc(var(--design-unit) * 1px);white-space: nowrap;color: ${Th.var};fill: currentcolor;cursor: pointer;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--focus-outline-width) * 1px) solid transparent}:host(:${yo}){border-color: ${Eu.var};background: ${Du.var};color: ${Th.var}}:host(:hover){background: ${Du.var};color: ${Ih.var}}:host([aria-checked="true"]), :host(:active), :host(.expanded){background: ${Fu.var};color: ${Th.var}}:host([disabled]){cursor: ${"not-allowed"};opacity: var(--disabled-opacity)}:host([disabled]:hover){color: ${Th.var};fill: currentcolor;background: ${Wh.var}}:host([disabled]:hover) .start, :host([disabled]:hover) .end, :host([disabled]:hover)::slotted(svg){fill: ${Th.var}}.expand-collapse-glyph{${""} width: 16px;height: 16px;transition: transform 0.1s linear;fill: currentcolor}.content{grid-column-start: 2;justify-self: start;overflow: hidden;text-overflow: ellipsis}.start, .end{display: flex;justify-content: center}::slotted(svg){${""} width: 16px;height: 16px}:host(:hover) .start, :host(:hover) .end, :host(:hover)::slotted(svg), :host(:active) .start, :host(:active) .end, :host(:active)::slotted(svg){fill: ${Th.var}}:host([aria-haspopup="menu"]), :host([role="menuitemcheckbox"]), :host([role="menuitemradio"]){display: grid;grid-template-columns: auto auto 1fr minmax(42px, auto);align-items: center;min-height: 32px}:host .input-container, :host .expand-collapse-glyph-container{display: none}:host([aria-haspopup="menu"]) .expand-collapse-glyph-container, :host([role="menuitemcheckbox"]) .input-container, :host([role="menuitemradio"]) .input-container{display: grid;margin-inline-end: 10px}:host([aria-haspopup="menu"]) .start, :host([role="menuitemcheckbox"]) .start, :host([role="menuitemradio"]) .start{grid-column-start: 2;margin-inline-end: 10px}:host([aria-haspopup="menu"]) .content, :host([role="menuitemcheckbox"]) .content, :host([role="menuitemradio"]) .content{grid-column-start: 3}:host([aria-haspopup="menu"]) .end, :host([role="menuitemcheckbox"]) .end, :host([role="menuitemradio"]) .end{grid-column-start: 4}:host .expand-collapse, :host .checkbox, :host .radio{display: flex;align-items: center;justify-content: center;position: relative;width: 20px;height: 20px;box-sizing: border-box;outline: none;margin-inline-start: 10px}:host .checkbox, :host .radio{border: calc(var(--outline-width) * 1px) solid ${Th.var}}:host([aria-checked="true"]) .checkbox, :host([aria-checked="true"]) .radio{background: ${au.var};border-color: ${au.var}}:host .checkbox{border-radius: calc(var(--corner-radius) * 1px)}:host .radio{border-radius: 999px}:host .checkbox-indicator, :host .radio-indicator, :host .expand-collapse-indicator, ::slotted([slot="checkbox-indicator"]), ::slotted([slot="radio-indicator"]), ::slotted([slot="expand-collapse-indicator"]){display: none}:host([aria-checked="true"]) .checkbox-indicator, :host([aria-checked="true"]) ::slotted([slot="checkbox-indicator"]){width: 100%;height: 100%;display: block;fill: ${Th.var};pointer-events: none}:host([aria-checked="true"]) .radio-indicator{position: absolute;top: 4px;left: 4px;right: 4px;bottom: 4px;border-radius: 999px;display: block;background: ${Th.var};pointer-events: none}:host([aria-checked="true"]) ::slotted([slot="radio-indicator"]){display: block;pointer-events: none}`.withBehaviors(au,Wh,Eu,Ih,Th,Fu,Du,uo(Et` :host{border-color: transparent;color: ${Yi.ButtonText};forced-color-adjust: none}:host(:hover){background: ${Yi.Highlight};color: ${Yi.HighlightText}}:host(:hover) .start, :host(:hover) .end, :host(:hover)::slotted(svg), :host(:active) .start, :host(:active) .end, :host(:active)::slotted(svg){fill: ${Yi.HighlightText}}:host(.expanded){background: ${Yi.Highlight};border-color: ${Yi.Highlight};color: ${Yi.HighlightText}}:host(:${yo}){background: ${Yi.Highlight};border-color: ${Yi.ButtonText};box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${Yi.HighlightText};color: ${Yi.HighlightText};fill: currentcolor}:host([disabled]), :host([disabled]:hover), :host([disabled]:hover) .start, :host([disabled]:hover) .end, :host([disabled]:hover)::slotted(svg){background: ${Yi.Canvas};color: ${Yi.GrayText};fill: currentcolor;opacity: 1}:host .expanded-toggle, :host .checkbox, :host .radio{border-color: ${Yi.ButtonText};background: ${Yi.HighlightText}}:host([checked="true"]) .checkbox, :host([checked="true"]) .radio{background: ${Yi.HighlightText};border-color: ${Yi.HighlightText}}:host(:hover) .expanded-toggle, :host(:hover) .checkbox, :host(:hover) .radio, :host(:${yo}) .expanded-toggle, :host(:${yo}) .checkbox, :host(:${yo}) .radio, :host([checked="true"]:hover) .checkbox, :host([checked="true"]:hover) .radio, :host([checked="true"]:${yo}) .checkbox, :host([checked="true"]:${yo}) .radio{border-color: ${Yi.HighlightText}}:host([aria-checked="true"]){background: ${Yi.Highlight};color: ${Yi.HighlightText}}:host([aria-checked="true"]) .checkbox-indicator, :host([aria-checked="true"]) ::slotted([slot="checkbox-indicator"]), :host([aria-checked="true"]) ::slotted([slot="radio-indicator"]){fill: ${Yi.Highlight}}:host([aria-checked="true"]) .radio-indicator{background: ${Yi.Highlight}}`),new Po(Et` .expand-collapse-glyph{transform: rotate(0deg)}:host([expanded="true"]) .expand-collapse-glyph{transform: rotate(45deg)}`,Et` .expand-collapse-glyph{transform: rotate(180deg)}:host([expanded="true"]) .expand-collapse-glyph{transform: rotate(135deg)}`)),pg=gr("fast");let gg=class extends ur{};gg=t([Ft({name:"fast-menu-item",template:pg,styles:ug})],gg);const fg=ug,vg=Et` ${mo("inline-block")} :host{font-family: var(--body-font);outline: none;user-select: none}.root{box-sizing: border-box;position: relative;display: flex;flex-direction: row;color: ${Th.var};background: ${iu.var};border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid ${au.var};height: calc(${Mu} * 1px)}.control{-webkit-appearance: none;font: inherit;background: transparent;border: 0;color: inherit;height: calc(100% - 4px);width: 100%;margin-top: auto;margin-bottom: auto;border: none;padding: 0 calc(var(--design-unit) * 2px + 1px);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height)}.control:hover, .control:${yo}, .control:disabled, .control:active{outline: none}.controls{opacity: 0}.label{display: block;color: ${Th.var};cursor: pointer;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);margin-bottom: 4px}.label__hidden{display: none;visibility: hidden}.start, .end{margin: auto;fill: currentcolor}.step-up, .step-down{padding: 4px 10px;cursor: pointer}.step-up:before, .step-down:before{content: '';display: block;border: solid transparent 6px}.step-up:before{border-bottom-color: ${Th.var}}.step-down:before{border-top-color: ${Th.var}}::slotted(svg){${""} width: 16px;height: 16px}.start{margin-inline-start: 11px}.end{margin-inline-end: 11px}:host(:hover:not([disabled])) .root{background: ${ou.var};border-color: ${lu.var}}:host(:active:not([disabled])) .root{background: ${ou.var};border-color: ${cu.var}}:host(:focus-within:not([disabled])) .root{border-color: ${Eu.var};box-shadow: 0 0 0 1px ${Eu.var} inset}:host(:hover:not([disabled])) .controls, :host(:focus-within:not([disabled])) .controls{opacity: 1}:host([appearance="filled"]) .root{background: ${jh.var}}:host([appearance="filled"]:hover:not([disabled])) .root{background: ${_h.var}}:host([disabled]) .label, :host([readonly]) .label, :host([readonly]) .control, :host([disabled]) .control{cursor: ${"not-allowed"}}:host([disabled]){opacity: var(--disabled-opacity)}:host([disabled]) .control{border-color: ${mu.var}}`.withBehaviors(cu,lu,au,_h,ou,iu,jh,Eu,Th,mu,uo(Et` .root, :host([appearance="filled"]) .root{forced-color-adjust: none;background: ${Yi.Field};border-color: ${Yi.FieldText}}:host(:hover:not([disabled])) .root, :host([appearance="filled"]:hover:not([disabled])) .root, :host([appearance="filled"]:hover) .root{background: ${Yi.Field};border-color: ${Yi.Highlight}}.start, .end{fill: currentcolor}:host([disabled]){opacity: 1}:host([disabled]) .root, :host([appearance="filled"]:hover[disabled]) .root{border-color: ${Yi.GrayText};background: ${Yi.Field}}:host(:focus-within:enabled) .root{border-color: ${Yi.Highlight};box-shadow: 0 0 0 1px ${Yi.Highlight} inset}`));let bg=class extends Ir{connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="outline")}};t([bt],bg.prototype,"appearance",void 0),bg=t([Ft({name:"fast-number-field",shadowOptions:{delegatesFocus:!0},styles:vg,template:br})],bg);const mg=vg,yg=Et` ${mo("flex")} :host{align-items: center;outline: none;height: calc(var(--design-unit) * 1px);margin: calc(var(--design-unit) * 1px) 0}.progress{background-color: ${jh.var};border-radius: calc(var(--design-unit) * 1px);width: 100%;height: 100%;display: flex;align-items: center;position: relative}.determinate{background-color: ${Oh.var};border-radius: calc(var(--design-unit) * 1px);height: 100%;transition: all 0.2s ease-in-out;display: flex}.indeterminate{height: 100%;border-radius: calc(var(--design-unit) * 1px);display: flex;width: 100%;position: relative;overflow: hidden}.indeterminate-indicator-1{position: absolute;opacity: 0;height: 100%;background-color: ${Oh.var};border-radius: calc(var(--design-unit) * 1px);animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);width: 40%;animation: indeterminate-1 2s infinite}.indeterminate-indicator-2{position: absolute;opacity: 0;height: 100%;background-color: ${Oh.var};border-radius: calc(var(--design-unit) * 1px);animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);width: 60%;animation: indeterminate-2 2s infinite}:host([paused]) .indeterminate-indicator-1, :host([paused]) .indeterminate-indicator-2{animation-play-state: paused;background-color: ${jh.var}}:host([paused]) .determinate{background-color: ${Eh.var}}@keyframes indeterminate-1{0%{opacity: 1;transform: translateX(-100%)}70%{opacity: 1;transform: translateX(300%)}70.01%{opacity: 0}100%{opacity: 0;transform: translateX(300%)}}@keyframes indeterminate-2{0%{opacity: 0;transform: translateX(-150%)}29.99%{opacity: 0}30%{opacity: 1;transform: translateX(-150%)}100%{transform: translateX(166.66%);opacity: 1}}`.withBehaviors(Oh,jh,Eh,uo(Et` .progress{forced-color-adjust: none;background-color: ${Yi.Field};box-shadow: 0 0 0 1px inset ${Yi.FieldText}}.determinate, .indeterminate-indicator-1, .indeterminate-indicator-2{forced-color-adjust: none;background-color: ${Yi.FieldText}}:host([paused]) .determinate, :host([paused]) .indeterminate-indicator-1, :host([paused]) .indeterminate-indicator-2{background-color: ${Yi.GrayText}}`));let xg=class extends Fr{};xg=t([Ft({name:"fast-progress",template:Dr,styles:yg})],xg);const $g=yg,wg=Et` ${mo("flex")} :host{align-items: center;outline: none;height: calc(${Mu} * 1px);width: calc(${Mu} * 1px);margin: calc(${Mu} * 1px) 0}.progress{height: 100%;width: 100%}.background{stroke: ${jh.var};fill: none;stroke-width: 2px}.determinate{stroke: ${Oh.var};fill: none;stroke-width: 2px;stroke-linecap: round;transform-origin: 50% 50%;transform: rotate(-90deg);transition: all 0.2s ease-in-out}.indeterminate-indicator-1{stroke: ${Oh.var};fill: none;stroke-width: 2px;stroke-linecap: round;transform-origin: 50% 50%;transform: rotate(-90deg);transition: all 0.2s ease-in-out;animation: spin-infinite 2s linear infinite}:host([paused]) .indeterminate-indicator-1{animation-play-state: paused;stroke: ${jh.var}}:host([paused]) .determinate{stroke: ${Eh.var}}@keyframes spin-infinite{0%{stroke-dasharray: 0.01px 43.97px;transform: rotate(0deg)}50%{stroke-dasharray: 21.99px 21.99px;transform: rotate(450deg)}100%{stroke-dasharray: 0.01px 43.97px;transform: rotate(1080deg)}}`.withBehaviors(Oh,jh,Eh,uo(Et` .indeterminate-indicator-1, .determinate{stroke: ${Yi.FieldText}}.background{stroke: ${Yi.Field}}:host([paused]) .indeterminate-indicator-1{stroke: ${Yi.Field}}:host([paused]) .determinate{stroke: ${Yi.GrayText}}`));let Cg=class extends Fr{};Cg=t([Ft({name:"fast-progress-ring",template:Sr,styles:wg})],Cg);const kg=wg,Tg=Et` ${mo("inline-flex")} :host{--input-size: calc((${Mu} / 2) + var(--design-unit));align-items: center;outline: none;margin: calc(var(--design-unit) * 1px) 0;${""} user-select: none;position: relative;flex-direction: row;transition: all 0.2s ease-in-out}.control{position: relative;width: calc((${Mu} / 2 + var(--design-unit)) * 1px);height: calc((${Mu} / 2 + var(--design-unit)) * 1px);box-sizing: border-box;border-radius: 999px;border: calc(var(--outline-width) * 1px) solid ${mu.var};background: ${iu.var};outline: none;cursor: pointer}.label{font-family: var(--body-font);color: ${Th.var};${""} padding-inline-start: calc(var(--design-unit) * 2px + 2px);margin-inline-end: calc(var(--design-unit) * 2px + 2px);cursor: pointer;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height)}.label__hidden{display: none;visibility: hidden}.control, .checked-indicator{flex-shrink: 0}.checked-indicator{position: absolute;top: 5px;left: 5px;right: 5px;bottom: 5px;border-radius: 999px;display: inline-block;background: ${Bh.var};fill: ${Bh.var};opacity: 0;pointer-events: none}:host(:not([disabled])) .control:hover{background: ${ou.var};border-color: ${yu.var}}:host(:not([disabled])) .control:active{background: ${su.var};border-color: ${xu.var}}:host(:${yo}) .control{box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px ${Eu.var};border-color: ${Eu.var}}:host([aria-checked="true"]) .control{background: ${au.var};border: calc(var(--outline-width) * 1px) solid ${au.var}}:host([aria-checked="true"]:not([disabled])) .control:hover{background: ${lu.var};border: calc(var(--outline-width) * 1px) solid ${lu.var}}:host([aria-checked="true"]:not([disabled])) .control:active{background: ${cu.var};border: calc(var(--outline-width) * 1px) solid ${cu.var}}:host([aria-checked="true"]:${yo}:not([disabled])) .control{box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px ${Eu.var};border-color: transparent}:host([disabled]) .label, :host([readonly]) .label, :host([readonly]) .control, :host([disabled]) .control{cursor: ${"not-allowed"}}:host([aria-checked="true"]) .checked-indicator{opacity: 1}:host([disabled]){opacity: var(--disabled-opacity)}`.withBehaviors(cu,lu,au,Bh,su,ou,iu,Eu,Th,xu,yu,mu,uo(Et` .control, :host([checked]:not([disabled])) .control{forced-color-adjust: none;border-color: ${Yi.FieldText};background: ${Yi.Field}}:host(:not([disabled])) .control:hover{border-color: ${Yi.Highlight};background: ${Yi.Field}}:host([checked]:not([disabled])) .control:hover, :host([checked]:not([disabled])) .control:active{border-color: ${Yi.Highlight};background: ${Yi.Highlight}}:host([checked]) .checked-indicator{background: ${Yi.Highlight};fill: ${Yi.Highlight}}:host([checked]:not([disabled])) .control:hover .checked-indicator, :host([checked]:not([disabled])) .control:active .checked-indicator{background: ${Yi.HighlightText};fill: ${Yi.HighlightText}}:host(:${yo}) .control{border-color: ${Yi.Highlight};box-shadow: 0 0 0 2px ${Yi.Field}, 0 0 0 4px ${Yi.FieldText}}:host([checked]:${yo}:not([disabled])) .control{border-color: ${Yi.Highlight};box-shadow: 0 0 0 2px ${Yi.Field}, 0 0 0 4px ${Yi.FieldText}}:host([disabled]){forced-color-adjust: none;opacity: 1}:host([disabled]) .label{color: ${Yi.GrayText}}:host([disabled]) .control, :host([checked][disabled]) .control:hover, .control:active{background: ${Yi.Field};border-color: ${Yi.GrayText}}:host([disabled]) .checked-indicator, :host([checked][disabled]) .control:hover .checked-indicator{fill: ${Yi.GrayText};background: ${Yi.GrayText}}`));let Ig=class extends Lr{};Ig=t([Ft({name:"fast-radio",template:Ar,styles:Tg})],Ig);const Sg=Tg,Fg=Et` ${mo("flex")} :host{align-items: flex-start;margin: calc(var(--design-unit) * 1px) 0;flex-direction: column}.positioning-region{display: flex;flex-wrap: wrap}:host([orientation="vertical"]) .positioning-region{flex-direction: column}:host([orientation="horizontal"]) .positioning-region{flex-direction: row}`;let Dg=class extends Er{};Dg=t([Ft({name:"fast-radio-group",template:Pr,styles:Fg})],Dg);const Pg=Fg;let Eg=class extends Nr{};Eg=t([Ft({name:"fast-select",template:jr,styles:kp})],Eg);const Ag=kp,Og=Et` ${mo("block")} :host{--skeleton-fill-default: #e1dfdd;overflow: hidden;width: 100%;position: relative;background-color: var(--skeleton-fill, var(--skeleton-fill-default));--skeleton-animation-gradient-default: linear-gradient( 270deg, var(--skeleton-fill, var(--skeleton-fill-default)) 0%, #f3f2f1 51.13%, var(--skeleton-fill, var(--skeleton-fill-default)) 100% );--skeleton-animation-timing-default: ease-in-out}:host([shape="rect"]){border-radius: calc(var(--corner-radius) * 1px)}:host([shape="circle"]){border-radius: 100%;overflow: hidden}object{position: absolute;width: 100%;height: auto;z-index: 2}object img{width: 100%;height: auto}${mo("block")} span.shimmer{position: absolute;width: 100%;height: 100%;background-image: var( --skeleton-animation-gradient, var(--skeleton-animation-gradient-default) );background-size: 0px 0px / 90% 100%;background-repeat: no-repeat;background-color: var(--skeleton-animation-fill, ${jh.var});animation: shimmer 2s infinite;animation-timing-function: var( --skeleton-animation-timing, var(--skeleton-timing-default) );animation-direction: normal;z-index: 1}::slotted(svg){z-index: 2}::slotted(.pattern){width: 100%;height: 100%}@keyframes shimmer{0%{transform: translateX(-100%)}100%{transform: translateX(100%)}}`.withBehaviors(jh,uo(Et` :host{forced-color-adjust: none;background-color: ${Yi.ButtonFace};box-shadow: 0 0 0 1px ${Yi.ButtonText}}${mo("block")} span.shimmer{display: none}`));let Rg=class extends qr{};Rg=t([Ft({name:"fast-skeleton",template:_r,styles:Og})],Rg);const Lg=Og,Hg=Et` :host([hidden]){display: none}${mo("inline-grid")} :host{--thumb-size: calc(${Mu} * 0.5 - var(--design-unit));--thumb-translate: calc(var(--thumb-size) * 0.5);--track-overhang: calc((var(--design-unit) / 2) * -1);--track-width: var(--design-unit);--fast-slider-height: calc(var(--thumb-size) * 10);align-items: center;width: 100%;margin: calc(var(--design-unit) * 1px) 0;user-select: none;box-sizing: border-box;border-radius: calc(var(--corner-radius) * 1px);outline: none;cursor: pointer}:host([orientation="horizontal"]) .positioning-region{position: relative;margin: 0 8px;display: grid;grid-template-rows: calc(var(--thumb-size) * 1px) 1fr}:host([orientation="vertical"]) .positioning-region{position: relative;margin: 0 8px;display: grid;height: 100%;grid-template-columns: calc(var(--thumb-size) * 1px) 1fr}:host(:${yo}) .thumb-cursor{box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px var(--neutral-focus)}.thumb-container{position: absolute;height: calc(var(--thumb-size) * 1px);width: calc(var(--thumb-size) * 1px);transition: all 0.2s ease;color: ${Th.var};fill: currentcolor}.thumb-cursor{border: none;width: calc(var(--thumb-size) * 1px);height: calc(var(--thumb-size) * 1px);background: ${Th.var};border-radius: calc(var(--corner-radius) * 1px)}.thumb-cursor:hover{background: ${Ih.var};border-color: ${yu.var}}.thumb-cursor:active{background: ${Sh.var}}:host([orientation="horizontal"]) .thumb-container{transform: translateX(calc(var(--thumb-translate) * 1px))}:host([orientation="vertical"]) .thumb-container{transform: translateY(calc(var(--thumb-translate) * 1px))}:host([orientation="horizontal"]){min-width: calc(var(--thumb-size) * 1px)}:host([orientation="horizontal"]) .track{right: calc(var(--track-overhang) * 1px);left: calc(var(--track-overhang) * 1px);align-self: start;margin-top: calc((var(--design-unit) + calc(var(--density) + 2)) * 1px);height: calc(var(--track-width) * 1px)}:host([orientation="vertical"]) .track{top: calc(var(--track-overhang) * 1px);bottom: calc(var(--track-overhang) * 1px);width: calc(var(--track-width) * 1px);margin-inline-start: calc((var(--design-unit) + calc(var(--density) + 2)) * 1px);height: 100%}.track{background: ${mu.var};position: absolute;border-radius: calc(var(--corner-radius) * 1px)}:host([orientation="vertical"]){height: calc(var(--fast-slider-height) * 1px);min-height: calc(var(--thumb-size) * 1px);min-width: calc(var(--design-unit) * 20px)}:host([disabled]), :host([readonly]){cursor: ${"not-allowed"}}:host([disabled]){opacity: var(--disabled-opacity)}`.withBehaviors(Eu,Sh,Ih,Th,yu,mu,uo(Et` .thumb-cursor{forced-color-adjust: none;border-color: ${Yi.FieldText};background: ${Yi.FieldText}}.thumb-cursor:hover, .thumb-cursor:active{background: ${Yi.Highlight}}.track{forced-color-adjust: none;background: ${Yi.FieldText}}:host(:${yo}) .thumb-cursor{border-color: ${Yi.Highlight}}:host([disabled]){opacity: 1}:host([disabled]) .track, :host([disabled]) .thumb-cursor{forced-color-adjust: none;background: ${Yi.GrayText}}:host(:${yo}) .thumb-cursor{background: ${Yi.Highlight};border-color: ${Yi.Highlight};box-shadow: 0 0 0 2px ${Yi.Field}, 0 0 0 4px ${Yi.FieldText}}`));let Bg=class extends Jr{};Bg=t([Ft({name:"fast-slider",template:Qr,styles:Hg})],Bg);const zg=Hg,Mg=Et` :host{align-self: start;grid-row: 2;margin-top: -2px;height: calc((${Mu} / 2 + var(--design-unit)) * 1px);width: auto}.container{grid-template-rows: auto auto;grid-template-columns: 0}.label{margin: 2px 0}`,Ng=Et` :host{justify-self: start;grid-column: 2;margin-left: 2px;height: auto;width: calc((${Mu} / 2 + var(--design-unit)) * 1px)}.container{grid-template-columns: auto auto;grid-template-rows: 0;min-width: calc(var(--thumb-size) * 1px);height: calc(var(--thumb-size) * 1px)}.mark{transform: rotate(90deg);align-self: center}.label{margin-left: calc((var(--design-unit) / 2) * 3px);align-self: center}`,Vg=Et` ${mo("block")} :host{font-family: var(--body-font);color: ${Th.var};fill: currentcolor}.root{position: absolute;display: grid}.container{display: grid;justify-self: center}.label{justify-self: center;align-self: center;white-space: nowrap;max-width: 30px}.mark{width: calc((var(--design-unit) / 4) * 1px);height: calc(${Mu} * 0.25 * 1px);background: ${mu.var};justify-self: center}:host(.disabled){opacity: var(--disabled-opacity)}`.withBehaviors(Th,mu,uo(Et` .mark{forced-color-adjust: none;background: ${Yi.FieldText}}:host(.disabled){forced-color-adjust: none;opacity: 1}:host(.disabled) .label{color: ${Yi.GrayText}}:host(.disabled) .mark{background: ${Yi.GrayText}}`));let jg=class extends Kr{sliderOrientationChanged(){this.sliderOrientation===he.horizontal?(this.$fastController.addStyles(Mg),this.$fastController.removeStyles(Ng)):(this.$fastController.addStyles(Ng),this.$fastController.removeStyles(Mg))}};jg=t([Ft({name:"fast-slider-label",template:Ur,styles:Vg})],jg);const _g=Vg,qg=Et` :host([hidden]){display: none}${mo("inline-flex")} :host{align-items: center;outline: none;font-family: var(--body-font);margin: calc(var(--design-unit) * 1px) 0;${""} user-select: none}:host([disabled]){opacity: var(--disabled-opacity)}:host([disabled]) .label, :host([readonly]) .label, :host([readonly]) .switch, :host([disabled]) .switch{cursor: ${"not-allowed"}}.switch{position: relative;outline: none;box-sizing: border-box;width: calc(${Mu} * 1px);height: calc((${Mu} / 2 + var(--design-unit)) * 1px);background: ${iu.var};border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid ${mu.var}}.switch:hover{background: ${ou.var};border-color: ${yu.var};cursor: pointer}host([disabled]) .switch:hover, host([readonly]) .switch:hover{background: ${ou.var};border-color: ${yu.var};cursor: ${"not-allowed"}}:host(:not([disabled])) .switch:active{background: ${su.var};border-color: ${xu.var}}:host(:${yo}) .switch{box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px ${Eu.var};border-color: ${Eu.var}}.checked-indicator{position: absolute;top: 5px;bottom: 5px;background: ${Th.var};border-radius: calc(var(--corner-radius) * 1px);transition: all 0.2s ease-in-out}.status-message{color: ${Th.var};cursor: pointer;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height)}:host([disabled]) .status-message, :host([readonly]) .status-message{cursor: ${"not-allowed"}}.label{color: ${Th.var};${""} margin-inline-end: calc(var(--design-unit) * 2px + 2px);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);cursor: pointer}.label__hidden{display: none;visibility: hidden}::slotted(*){${""} margin-inline-start: calc(var(--design-unit) * 2px + 2px)}:host([aria-checked="true"]) .checked-indicator{background: ${Bh.var}}:host([aria-checked="true"]) .switch{background: ${au.var};border-color: ${au.var}}:host([aria-checked="true"]:not([disabled])) .switch:hover{background: ${lu.var};border-color: ${lu.var}}:host([aria-checked="true"]:not([disabled])) .switch:active{background: ${cu.var};border-color: ${cu.var}}:host([aria-checked="true"]:${yo}:not([disabled])) .switch{box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px ${Eu.var};border-color: transparent}.unchecked-message{display: block}.checked-message{display: none}:host([aria-checked="true"]) .unchecked-message{display: none}:host([aria-checked="true"]) .checked-message{display: block}`.withBehaviors(cu,lu,au,Bh,su,ou,iu,Eu,Th,xu,yu,mu,uo(Et` .checked-indicator, :host(:not([disabled])) .switch:active .checked-indicator{forced-color-adjust: none;background: ${Yi.FieldText}}.switch{forced-color-adjust: none;background: ${Yi.Field};border-color: ${Yi.FieldText}}:host(:not([disabled])) .switch:hover{background: ${Yi.HighlightText};border-color: ${Yi.Highlight}}:host([aria-checked="true"]) .switch{background: ${Yi.Highlight};border-color: ${Yi.Highlight}}:host([aria-checked="true"]:not([disabled])) .switch:hover, :host(:not([disabled])) .switch:active{background: ${Yi.HighlightText};border-color: ${Yi.Highlight}}:host([aria-checked="true"]) .checked-indicator{background: ${Yi.HighlightText}}:host([aria-checked="true"]:not([disabled])) .switch:hover .checked-indicator{background: ${Yi.Highlight}}:host([disabled]){opacity: 1}:host(:${yo}) .switch{border-color: ${Yi.Highlight};box-shadow: 0 0 0 2px ${Yi.Field}, 0 0 0 4px ${Yi.FieldText}}:host([aria-checked="true"]:${yo}:not([disabled])) .switch{box-shadow: 0 0 0 2px ${Yi.Field}, 0 0 0 4px ${Yi.FieldText}}:host([disabled]) .checked-indicator{background: ${Yi.GrayText}}:host([disabled]) .switch{background: ${Yi.Field};border-color: ${Yi.GrayText}}`),new Po(Et` .checked-indicator{left: 5px;right: calc(((${Mu} / 2) + 1) * 1px)}:host([aria-checked="true"]) .checked-indicator{left: calc(((${Mu} / 2) + 1) * 1px);right: 5px}`,Et` .checked-indicator{right: 5px;left: calc(((${Mu} / 2) + 1) * 1px)}:host([aria-checked="true"]) .checked-indicator{right: calc(((${Mu} / 2) + 1) * 1px);left: 5px}`));let Ug=class extends oa{};Ug=t([Ft({name:"fast-switch",template:ta,styles:qg})],Ug);const Gg=qg,Wg=Et` ${mo("grid")} :host{box-sizing: border-box;font-family: var(--body-font);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);color: ${Th.var};grid-template-columns: auto 1fr auto;grid-template-rows: auto 1fr}.tablist{display: grid;grid-template-rows: auto auto;grid-template-columns: auto;position: relative;width: max-content;align-self: end;padding: calc(var(--design-unit) * 4px) calc(var(--design-unit) * 4px) 0;box-sizing: border-box}.start, .end{align-self: center}.activeIndicator{grid-row: 2;grid-column: 1;width: 100%;height: 5px;justify-self: center;background: ${au.var};margin-top: 10px;border-radius: calc(var(--corner-radius) * 1px) calc(var(--corner-radius) * 1px) 0 0}.activeIndicatorTransition{transition: transform 0.2s ease-in-out}.tabpanel{grid-row: 2;grid-column-start: 1;grid-column-end: 4;position: relative}:host([orientation="vertical"]){grid-template-rows: auto 1fr auto;grid-template-columns: auto 1fr}:host([orientation="vertical"]) .tablist{grid-row-start: 2;grid-row-end: 2;display: grid;grid-template-rows: auto;grid-template-columns: auto 1fr;position: relative;width: max-content;justify-self: end;width: 100%;padding: calc((${Mu} - var(--design-unit)) * 1px) calc(var(--design-unit) * 4px) calc((${Mu} - var(--design-unit)) * 1px) 0}:host([orientation="vertical"]) .tabpanel{grid-column: 2;grid-row-start: 1;grid-row-end: 4}:host([orientation="vertical"]) .end{grid-row: 3}:host([orientation="vertical"]) .activeIndicator{grid-column: 1;grid-row: 1;width: 5px;height: 100%;margin-inline-end: 10px;align-self: center;background: ${au.var};margin-top: 0;border-radius: 0 calc(var(--corner-radius) * 1px) calc(var(--corner-radius) * 1px) 0}:host([orientation="vertical"]) .activeIndicatorTransition{transition: transform 0.2s linear}`.withBehaviors(au,Th,uo(Et` .activeIndicator, :host([orientation="vertical"]) .activeIndicator{forced-color-adjust: none;background: ${Yi.Highlight}}`)),Kg=Et` ${mo("inline-flex")} :host{box-sizing: border-box;font-family: var(--body-font);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);height: calc(${Mu} * 1px);padding: calc(var(--design-unit) * 5px) calc(var(--design-unit) * 4px);color: ${Eh.var};fill: currentcolor;border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid transparent;align-items: center;justify-content: center;grid-row: 1;cursor: pointer}:host(:hover){color: ${Ih.var};fill: currentcolor}:host(:active){color: ${Sh.var};fill: currentcolor}:host([disabled]){cursor: ${"not-allowed"};opacity: var(--disabled-opacity)}:host([disabled]:hover){color: ${Eh.var};background: ${Wh.var}}:host([aria-selected="true"]){background: ${jh.var};color: ${Oh.var};fill: currentcolor}:host([aria-selected="true"]:hover){background: ${_h.var};color: ${Rh.var};fill: currentcolor}:host([aria-selected="true"]:active){background: ${qh.var};color: ${Lh.var};fill: currentcolor}:host(:${yo}){outline: none;border: calc(var(--outline-width) * 1px) solid ${Eu.var};box-shadow: 0 0 0 calc((var(--focus-outline-width) - var(--outline-width)) * 1px) ${Eu.var}}:host(:focus){outline: none}:host(.vertical){justify-content: end;grid-column: 2}:host(.vertical[aria-selected="true"]){z-index: 2}:host(.vertical:hover){color: ${Ih.var}}:host(.vertical:active){color: ${Sh.var}}:host(.vertical:hover[aria-selected="true"]){}`.withBehaviors(cu,lu,au,Lh,Rh,Oh,qh,_h,jh,Wh,Eu,Eh,Sh,Ih,Th,uo(Et` :host{forced-color-adjust: none;border-color: transparent;color: ${Yi.ButtonText};fill: currentcolor}:host(:hover), :host(.vertical:hover), :host([aria-selected="true"]:hover){background: ${Yi.Highlight};color: ${Yi.HighlightText};fill: currentcolor}:host([aria-selected="true"]){background: ${Yi.HighlightText};color: ${Yi.Highlight};fill: currentcolor}:host(:${yo}){border-color: ${Yi.ButtonText};box-shadow: none}`));let Qg=class extends aa{};Qg=t([Ft({name:"fast-tab",template:ra,styles:Kg})],Qg);const Xg=Kg,Yg=Et` ${mo("flex")} :host{box-sizing: border-box;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px)}`;let Zg=class extends na{};Zg=t([Ft({name:"fast-tab-panel",template:sa,styles:Yg})],Zg);const Jg=Yg;let tf=class extends ha{};tf=t([Ft({name:"fast-tabs",template:la,styles:Wg})],tf);const ef=Wg,of=Et` ${mo("inline-block")} :host{font-family: var(--body-font);outline: none;user-select: none}.control{box-sizing: border-box;position: relative;color: ${Th.var};background: ${iu.var};border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid ${au.var};height: calc(${Mu} * 2px);font: inherit;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);padding: calc(var(--design-unit) * 2px + 1px);width: 100%;resize: none}.control:hover:enabled{background: ${ou.var};border-color: ${lu.var}}.control:active:enabled{background: ${su.var};border-color: ${cu.var}}.control:hover, .control:${yo}, .control:disabled, .control:active{outline: none}:host(:focus-within) .control{border-color: ${Eu.var};box-shadow: 0 0 0 1px ${Eu.var} inset}:host([appearance="filled"]) .control{background: ${jh.var}}:host([appearance="filled"]:hover:not([disabled])) .control{background: ${_h.var}}:host([resize="both"]) .control{resize: both}:host([resize="horizontal"]) .control{resize: horizontal}:host([resize="vertical"]) .control{resize: vertical}.label{display: block;color: ${Th.var};cursor: pointer;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);margin-bottom: 4px}.label__hidden{display: none;visibility: hidden}:host([disabled]) .label, :host([readonly]) .label, :host([readonly]) .control, :host([disabled]) .control{cursor: ${"not-allowed"}}:host([disabled]){opacity: var(--disabled-opacity)}:host([disabled]) .control{border-color: ${mu.var}}`.withBehaviors(cu,lu,au,_h,su,ou,iu,jh,Eu,Th,mu,uo(Et` :host([disabled]){opacity: 1}`));let sf=class extends ga{connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="outline")}};t([bt],sf.prototype,"appearance",void 0),sf=t([Ft({name:"fast-text-area",template:fa,styles:of,shadowOptions:{delegatesFocus:!0}})],sf);const nf=of,rf=Et` ${mo("inline-block")} :host{font-family: var(--body-font);outline: none;user-select: none}.root{box-sizing: border-box;position: relative;display: flex;flex-direction: row;color: ${Th.var};background: ${iu.var};border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid ${au.var};height: calc(${Mu} * 1px)}.control{-webkit-appearance: none;font: inherit;background: transparent;border: 0;color: inherit;height: calc(100% - 4px);width: 100%;margin-top: auto;margin-bottom: auto;border: none;padding: 0 calc(var(--design-unit) * 2px + 1px);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height)}.control:hover, .control:${yo}, .control:disabled, .control:active{outline: none}.label{display: block;color: ${Th.var};cursor: pointer;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);margin-bottom: 4px}.label__hidden{display: none;visibility: hidden}.start, .end{margin: auto;fill: currentcolor}::slotted(svg){${""} width: 16px;height: 16px}.start{margin-inline-start: 11px}.end{margin-inline-end: 11px}:host(:hover:not([disabled])) .root{background: ${ou.var};border-color: ${lu.var}}:host(:active:not([disabled])) .root{background: ${ou.var};border-color: ${cu.var}}:host(:focus-within:not([disabled])) .root{border-color: ${Eu.var};box-shadow: 0 0 0 1px ${Eu.var} inset}:host([appearance="filled"]) .root{background: ${jh.var}}:host([appearance="filled"]:hover:not([disabled])) .root{background: ${_h.var}}:host([disabled]) .label, :host([readonly]) .label, :host([readonly]) .control, :host([disabled]) .control{cursor: ${"not-allowed"}}:host([disabled]){opacity: var(--disabled-opacity)}:host([disabled]) .control{border-color: ${mu.var}}`.withBehaviors(cu,lu,au,_h,ou,iu,jh,Eu,Th,mu,uo(Et` .root, :host([appearance="filled"]) .root{forced-color-adjust: none;background: ${Yi.Field};border-color: ${Yi.FieldText}}:host(:hover:not([disabled])) .root, :host([appearance="filled"]:hover:not([disabled])) .root, :host([appearance="filled"]:hover) .root{background: ${Yi.Field};border-color: ${Yi.Highlight}}.start, .end{fill: currentcolor}:host([disabled]){opacity: 1}:host([disabled]) .root, :host([appearance="filled"]:hover[disabled]) .root{border-color: ${Yi.GrayText};background: ${Yi.Field}}:host(:focus-within:enabled) .root{border-color: ${Yi.Highlight};box-shadow: 0 0 0 1px ${Yi.Highlight} inset}`));let af=class extends wr{connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="outline")}};t([bt],af.prototype,"appearance",void 0),af=t([Ft({name:"fast-text-field",template:mr,styles:rf,shadowOptions:{delegatesFocus:!0}})],af);const lf=rf,cf=Et` ${mo("inline-flex")} :host{--toolbar-item-gap: calc((var(--design-unit) + calc(var(--density) + 2)) * 1px);background-color: ${bu.var};border-radius: calc(var(--corner-radius) * 1px);fill: currentcolor;padding: var(--toolbar-item-gap)}:host(${yo}){outline: calc(var(--outline-width) * 1px) solid ${$u.var}}.positioning-region{align-items: flex-start;display: inline-flex;flex-flow: row wrap;justify-content: flex-start}:host([orientation="vertical"]) .positioning-region{flex-direction: column}::slotted(:not([slot])){flex: 0 0 auto;margin: 0 var(--toolbar-item-gap)}:host([orientation="vertical"]) ::slotted(:not([slot])){margin: var(--toolbar-item-gap) 0}.start, .end{display: flex;margin: auto;margin-inline: 0}::slotted(svg){${""} width: 16px;height: 16px}`.withBehaviors(bu,Eu,$u,uo(Et` :host(:${yo}){box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) ${Yi.Highlight};color: ${Yi.ButtonText};forced-color-adjust: none}`));let df=class extends ma{};df=t([Ft({name:"fast-toolbar",template:va,styles:cf,shadowOptions:{delegatesFocus:!0}})],df);const hf=Et` :host{contain: layout;overflow: visible;height: 0;width: 0}.tooltip{box-sizing: border-box;border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid ${Eu.var};box-shadow: 0 0 0 1px ${Eu.var} inset;background: ${jh.var};color: ${Th.var};padding: 4px;height: fit-content;width: fit-content;font-family: var(--body-font);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);white-space: nowrap;${""} z-index: 10000}fast-anchored-region{display: flex;justify-content: center;align-items: center;overflow: visible;flex-direction: row}fast-anchored-region.right, fast-anchored-region.left{flex-direction: column}fast-anchored-region.top .tooltip{margin-bottom: 4px}fast-anchored-region.bottom .tooltip{margin-top: 4px}fast-anchored-region.left .tooltip{margin-right: 4px}fast-anchored-region.right .tooltip{margin-left: 4px}`.withBehaviors(cu,lu,au,_h,su,ou,iu,jh,Eu,Th,mu,uo(Et` :host([disabled]){opacity: 1}`));let uf=class extends wa{};uf=t([Ft({name:"fast-tooltip",template:xa("fast"),styles:hf})],uf);const pf=Et` :host([hidden]){display: none}${mo("flex")} :host{flex-direction: column;align-items: stretch;min-width: fit-content;font-size: 0}:host:focus-visible{outline: none}`;let gf=class extends Sa{};gf=t([Ft({name:"fast-tree-view",template:Ia,styles:pf})],gf);const ff=pf,vf=Et` .expand-collapse-glyph{transform: rotate(0deg)}:host(.nested) .expand-collapse-button{left: var(--expand-collapse-button-nested-width, calc(${Mu} * -1px))}:host([selected])::after{left: calc(var(--focus-outline-width) * 1px)}:host([expanded]) > .positioning-region .expand-collapse-glyph{transform: rotate(45deg)}`,bf=Et` .expand-collapse-glyph{transform: rotate(180deg)}:host(.nested) .expand-collapse-button{right: var(--expand-collapse-button-nested-width, calc(${Mu} * -1px))}:host([selected])::after{right: calc(var(--focus-outline-width) * 1px)}:host([expanded]) > .positioning-region .expand-collapse-glyph{transform: rotate(135deg)}`,mf="((var(--base-height-multiplier) / 2) * var(--design-unit)) + ((var(--design-unit) * var(--density)) / 2)",yf=fs("neutral-stealth-hover-over-hover",t=>pd(pd)(t),kh.findProvider),xf=fs("neutral-stealth-hover-over-selected",t=>pd(vd)(t),kh.findProvider),$f=Et` ${mo("block")} :host{contain: content;position: relative;outline: none;color: ${Th.var};background: ${Wh.var};cursor: pointer;font-family: var(--body-font);--expand-collapse-button-size: calc(${Mu} * 1px);--tree-item-nested-width: 0}:host(:focus) > .positioning-region{outline: none}:host(:focus) .content-region{outline: none}:host(:${yo}) .positioning-region{border: ${Eu.var} calc(var(--outline-width) * 1px) solid;border-radius: calc(var(--corner-radius) * 1px);color: ${Sh.var}}.positioning-region{display: flex;position: relative;box-sizing: border-box;border: transparent calc(var(--outline-width) * 1px) solid;height: calc((${Mu} + 1) * 1px)}.positioning-region::before{content: "";display: block;width: var(--tree-item-nested-width);flex-shrink: 0}.positioning-region:hover{background: ${Kh.var}}.positioning-region:active{background: ${Qh.var}}.content-region{display: inline-flex;align-items: center;white-space: nowrap;width: 100%;height: calc(${Mu} * 1px);margin-inline-start: calc(var(--design-unit) * 2px + 8px);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);font-weight: 400}.items{display: none;${""} font-size: calc(1em + (var(--design-unit) + 16) * 1px)}.expand-collapse-button{background: none;border: none;outline: none;${""} width: calc((${mf} + (var(--design-unit) * 2)) * 1px);height: calc((${mf} + (var(--design-unit) * 2)) * 1px);padding: 0;display: flex;justify-content: center;align-items: center;cursor: pointer;margin-left: 6px;margin-right: 6px}.expand-collapse-glyph{${""} width: 16px;height: 16px;transition: transform 0.1s linear;pointer-events: none;fill: currentcolor}.start, .end{display: flex;fill: currentcolor}::slotted(svg){${""} width: 16px;height: 16px}.start{${""} margin-inline-end: calc(var(--design-unit) * 2px + 2px)}.end{${""} margin-inline-start: calc(var(--design-unit) * 2px + 2px)}:host([expanded]) > .items{display: block}:host([disabled]) .content-region{opacity: var(--disabled-opacity);cursor: ${"not-allowed"}}:host(.nested) .content-region{position: relative;margin-inline-start: var(--expand-collapse-button-size)}:host(.nested) .expand-collapse-button{position: absolute}:host(.nested) .expand-collapse-button:hover{background: ${yf.var}}:host([selected]) .positioning-region{background: ${Yh.var}}:host([selected]) .expand-collapse-button:hover{background: ${xf.var}}:host([selected])::after{content: "";display: block;position: absolute;top: calc((${Mu} / 4) * 1px);width: 3px;height: calc((${Mu} / 2) * 1px);${""} background: ${Oh.var};border-radius: calc(var(--corner-radius) * 1px)}::slotted(fast-tree-item){--tree-item-nested-width: 1em;--expand-collapse-button-nested-width: calc(${Mu} * -1px)}`.withBehaviors(Oh,Yh,Qh,yf,Kh,xf,Wh,Eu,Au,Sh,Th,new Po(vf,bf),uo(Et` :host{forced-color-adjust: none;border-color: transparent;background: ${Yi.Field};color: ${Yi.FieldText}}:host .content-region .expand-collapse-glyph{fill: ${Yi.FieldText}}:host .positioning-region:hover, :host([selected]) .positioning-region{background: ${Yi.Highlight}}:host .positioning-region:hover .content-region, :host([selected]) .positioning-region .content-region{color: ${Yi.HighlightText}}:host .positioning-region:hover .content-region .expand-collapse-glyph, :host .positioning-region:hover .content-region .start, :host .positioning-region:hover .content-region .end, :host([selected]) .content-region .expand-collapse-glyph, :host([selected]) .content-region .start, :host([selected]) .content-region .end{fill: ${Yi.HighlightText}}:host([selected])::after{background: ${Yi.Field}}:host(:${yo}) .positioning-region{border-color: ${Yi.FieldText};box-shadow: 0 0 0 2px inset ${Yi.Field};color: ${Yi.FieldText}}:host([disabled]) .content-region, :host([disabled]) .positioning-region:hover .content-region{opacity: 1;color: ${Yi.GrayText}}:host([disabled]) .content-region .expand-collapse-glyph, :host([disabled]) .content-region .start, :host([disabled]) .content-region .end, :host([disabled]) .positioning-region:hover .content-region .expand-collapse-glyph, :host([disabled]) .positioning-region:hover .content-region .start, :host([disabled]) .positioning-region:hover .content-region .end{fill: ${Yi.GrayText}}:host([disabled]) .positioning-region:hover{background: ${Yi.Field}}.expand-collapse-glyph, .start, .end{fill: ${Yi.FieldText}}:host(.nested) .expand-collapse-button:hover{background: ${Yi.Field}}:host(.nested) .expand-collapse-button:hover .expand-collapse-glyph{fill: ${Yi.FieldText}}`));let wf=class extends Ta{};wf=t([Ft({name:"fast-tree-item",template:Ca,styles:$f})],wf);const Cf=$f;export{e as $global,oo as ARIAGlobalStatesAndProperties,eo as Accordion,Zi as AccordionExpandMode,ce as AccordionItem,ju as AccordionItemStyles,ae as AccordionItemTemplate,qu as AccordionStyles,de as AccordionTemplate,so as Anchor,op as AnchorStyles,io as AnchorTemplate,Ro as AnchoredRegion,rp as AnchoredRegionStyles,ro as AnchoredRegionTemplate,H as AttachedBehaviorHTMLDirective,vt as AttributeDefinition,Ho as Badge,cp as BadgeStyles,Lo as BadgeTemplate,Fr as BaseProgress,K as BindingBehavior,No as Breadcrumb,zo as BreadcrumbItem,Bo as BreadcrumbItemTemplate,Mo as BreadcrumbTemplate,Wo as Button,vp as ButtonStyles,Vo as ButtonTemplate,gs as CSSCustomPropertyBehavior,Dt as CSSDirective,Xo as Card,xp as CardStyles,Qo as CardTemplate,ts as Checkbox,Cp as CheckboxStyles,Yo as CheckboxTemplate,ie as ChildrenBehavior,hs as Combobox,ss as ComboboxAutocomplete,Sp as ComboboxStyles,ps as ComboboxTemplate,Tn as ComponentPresentation,$o as ConstructableStylesCustomPropertyManager,Ls as Container,Es as ContainerConfiguration,ln as ContainerImpl,Tt as Controller,Rs as DI,d as DOM,xs as DataGrid,Is as DataGridCell,Mp as DataGridCellStyles,ms as DataGridCellTypes,ws as DataGridRow,Bp as DataGridRowStyles,ys as DataGridRowTypes,Lp as DataGridStyles,In as DefaultComponentPresentation,Ps as DefaultResolver,Ko as DelegatesARIAButton,us as DelegatesARIACombobox,no as DelegatesARIALink,ls as DelegatesARIAListbox,Vr as DelegatesARIASelect,Cr as DelegatesARIATextbox,ya as DelegatesARIAToolbar,wn as DesignSystem,To as DesignSystemProvider,Do as DesignSystemProviderTemplate,yn as DesignSystemRegistrationContext,Bn as DesignToken,Yn as Dialog,jp as DialogStyles,zn as DialogTemplate,Po as DirectionalStyleSheetBehavior,Jn as Disclosure,Up as DisclosureStyles,Zn as DisclosureTemplate,or as Divider,er as DividerRole,Kp as DividerStyles,tr as DividerTemplate,lt as ElementStyles,E as ExecutionContext,_u as FASTAccordion,Vu as FASTAccordionItem,ip as FASTAnchor,np as FASTAnchoredRegion,lp as FASTBadge,hp as FASTBreadcrumb,pp as FASTBreadcrumbItem,fp as FASTButton,yp as FASTCard,wp as FASTCheckbox,Ip as FASTCombobox,Rp as FASTDataGrid,zp as FASTDataGridCell,Hp as FASTDataGridRow,kh as FASTDesignSystemProvider,Vp as FASTDialog,qp as FASTDisclosure,Wp as FASTDivider,St as FASTElement,$t as FASTElementDefinition,Xp as FASTFlipper,ig as FASTHorizontalScroll,sg as FASTListbox,dg as FASTMenu,gg as FASTMenuItem,bg as FASTNumberField,ag as FASTOption,xg as FASTProgress,Cg as FASTProgressRing,Ig as FASTRadio,Dg as FASTRadioGroup,Eg as FASTSelect,Rg as FASTSkeleton,Bg as FASTSlider,jg as FASTSliderLabel,Ug as FASTSwitch,Qg as FASTTab,Zg as FASTTabPanel,tf as FASTTabs,sf as FASTTextArea,af as FASTTextField,df as FASTToolbar,uf as FASTTooltip,wf as FASTTreeItem,gf as FASTTreeView,tn as FactoryImpl,nr as Flipper,ir as FlipperDirection,Yp as FlipperStyles,sr as FlipperTemplate,qo as FormAssociated,rr as FoundationElement,bs as GenerateHeaderOptions,W as HTMLBindingDirective,R as HTMLDirective,st as HTMLView,Hr as HorizontalScroll,Br as HorizontalScrollTemplate,as as Listbox,rs as ListboxOption,cr as ListboxOptionTemplate,os as ListboxRole,ng as ListboxStyles,dr as ListboxTemplate,lo as MatchMediaBehavior,co as MatchMediaStyleSheetBehavior,vr as Menu,ur as MenuItem,hr as MenuItemRole,fg as MenuItemStyles,pr as MenuItemTemplate,hg as MenuStyles,fr as MenuTemplate,Ir as NumberField,mg as NumberFieldStyles,br as NumberFieldTemplate,C as Observable,lg as OptionStyles,bc as PaletteType,kg as ProgressRingStyles,Sr as ProgressRingTemplate,$g as ProgressStyles,Dr as ProgressTemplate,v as PropertyChangeNotifier,fo as PropertyStyleSheetBehavior,Lr as Radio,Er as RadioGroup,Pg as RadioGroupStyles,Pr as RadioGroupTemplate,Sg as RadioStyles,Ar as RadioTemplate,_t as RefBehavior,hn as Registration,Qt as RepeatBehavior,Xt as RepeatDirective,Fs as ResolverBuilder,Ys as ResolverImpl,Nr as Select,es as SelectPosition,is as SelectRole,Ag as SelectStyles,jr as SelectTemplate,Hs as ServiceLocator,qr as Skeleton,Lg as SkeletonStyles,_r as SkeletonTemplate,Jr as Slider,Kr as SliderLabel,_g as SliderLabelStyles,Ur as SliderLabelTemplate,Zr as SliderMode,zg as SliderStyles,Qr as SliderTemplate,te as SlottedBehavior,eh as StandardLuminance,se as StartEnd,wo as StyleElementCustomPropertyManager,f as SubscriberSet,oa as Switch,Gg as SwitchStyles,ta as SwitchTemplate,aa as Tab,na as TabPanel,Jg as TabPanelStyles,sa as TabPanelTemplate,Xg as TabStyles,ra as TabTemplate,ha as Tabs,ca as TabsOrientation,ef as TabsStyles,la as TabsTemplate,L as TargetedHTMLDirective,ga as TextArea,da as TextAreaResize,nf as TextAreaStyles,fa as TextAreaTemplate,wr as TextField,lf as TextFieldStyles,mr as TextFieldTemplate,$r as TextFieldType,ma as Toolbar,cf as ToolbarStyles,va as ToolbarTemplate,wa as Tooltip,$a as TooltipPosition,Ta as TreeItem,Cf as TreeItemStyles,Ca as TreeItemTemplate,Sa as TreeView,ff as TreeViewStyles,Ia as TreeViewTemplate,nt as ViewTemplate,Sd as accentFill,Ed as accentFillActive,cu as accentFillActiveBehavior,du as accentFillFocusBehavior,Pd as accentFillHover,lu as accentFillHoverBehavior,Fd as accentFillLarge,Ld as accentFillLargeActive,gu as accentFillLargeActiveBehavior,fu as accentFillLargeFocusBehavior,Rd as accentFillLargeHover,pu as accentFillLargeHoverBehavior,Od as accentFillLargeRest,uu as accentFillLargeRestBehavior,Hd as accentFillLargeSelected,vu as accentFillLargeSelectedBehavior,Dd as accentFillRest,au as accentFillRestBehavior,Ad as accentFillSelected,hu as accentFillSelectedBehavior,Kc as accentForeground,Zc as accentForegroundActive,Lh as accentForegroundActiveBehavior,jc as accentForegroundCut,_c as accentForegroundCutLarge,Bh as accentForegroundCutRestBehavior,Hh as accentForegroundFocusBehavior,Yc as accentForegroundHover,Rh as accentForegroundHoverBehavior,Qc as accentForegroundLarge,ed as accentForegroundLargeActive,Nh as accentForegroundLargeActiveBehavior,Vh as accentForegroundLargeFocusBehavior,td as accentForegroundLargeHover,Mh as accentForegroundLargeHoverBehavior,Jc as accentForegroundLargeRest,zh as accentForegroundLargeRestBehavior,Xc as accentForegroundRest,Oh as accentForegroundRestBehavior,_s as all,le as applyMixins,bt as attr,gt as booleanConverter,oe as children,it as compileTemplate,ao as composedParent,xh as createColorPalette,Cs as createDataGridCellTemplate,$s as createDataGridRowTemplate,vs as createDataGridTemplate,gr as createMenuItemTemplate,xa as createTooltipTemplate,Et as css,fs as cssCustomPropertyBehaviorFactory,Ot as cssPartial,Ft as customElement,po as darkModeStylesheetBehavior,A as defaultExecutionContext,Io as defineDesignSystemProvider,ko as designSystemConsumerBehavior,Fo as designSystemProperty,So as designSystemProvider,vo as disabledCursor,mo as display,Zt as elements,i as emptyArray,jt as enableArrayObservation,ne as endTemplate,Fa as fastDesignSystemDefaults,yo as focusVisible,uo as forcedColorsStylesheetBehavior,Ao as getDirection,bo as hidden,at as html,Ws as ignore,zs as inject,Ju as inlineEndBehavior,Zu as inlineStartBehavior,$c as isDarkMode,Co as isDesignSystemConsumer,ns as isListboxOption,ka as isTreeItemElement,Us as lazy,go as lightModeStylesheetBehavior,ho as matchMediaStylesheetBehaviorFactory,Bd as neutralContrastFill,Nd as neutralContrastFillActive,Hu as neutralContrastFillActiveBehavior,Bu as neutralContrastFillFocusBehavior,Md as neutralContrastFillHover,Lu as neutralContrastFillHoverBehavior,zd as neutralContrastFillRest,Ru as neutralContrastFillRestBehavior,Ou as neutralContrastForegroundRestBehavior,Wd as neutralDividerRest,wu as neutralDividerRestBehavior,cd as neutralFill,rd as neutralFillActive,qh as neutralFillActiveBehavior,jd as neutralFillCard,bu as neutralFillCardRestBehavior,Uh as neutralFillFocusBehavior,nd as neutralFillHover,_h as neutralFillHoverBehavior,kd as neutralFillInput,$d as neutralFillInputActive,su as neutralFillInputActiveBehavior,ru as neutralFillInputFocusBehavior,xd as neutralFillInputHover,ou as neutralFillInputHoverBehavior,yd as neutralFillInputRest,iu as neutralFillInputRestBehavior,Cd as neutralFillInputSelected,nu as neutralFillInputSelectedBehavior,sd as neutralFillRest,jh as neutralFillRestBehavior,ld as neutralFillSelected,Gh as neutralFillSelectedBehavior,bd as neutralFillStealth,gd as neutralFillStealthActive,Qh as neutralFillStealthActiveBehavior,Xh as neutralFillStealthFocusBehavior,pd as neutralFillStealthHover,Kh as neutralFillStealthHoverBehavior,ud as neutralFillStealthRest,Wh as neutralFillStealthRestBehavior,vd as neutralFillStealthSelected,Yh as neutralFillStealthSelectedBehavior,Ac as neutralFillToggle,Lc as neutralFillToggleActive,tu as neutralFillToggleActiveBehavior,eu as neutralFillToggleFocusBehavior,Rc as neutralFillToggleHover,Jh as neutralFillToggleHoverBehavior,Oc as neutralFillToggleRest,Zh as neutralFillToggleRestBehavior,bh as neutralFocus,Eu as neutralFocusBehavior,yh as neutralFocusInnerAccent,Au as neutralFocusInnerAccentBehavior,Fc as neutralForeground,Ec as neutralForegroundActive,Sh as neutralForegroundActiveBehavior,Fh as neutralForegroundFocusBehavior,Uc as neutralForegroundHint,Eh as neutralForegroundHintBehavior,Gc as neutralForegroundHintLarge,Ah as neutralForegroundHintLargeBehavior,Pc as neutralForegroundHover,Ih as neutralForegroundHoverBehavior,Dc as neutralForegroundRest,Th as neutralForegroundRestBehavior,zc as neutralForegroundToggle,Dh as neutralForegroundToggleBehavior,Mc as neutralForegroundToggleLarge,Ph as neutralForegroundToggleLargeBehavior,ch as neutralLayerCard,ku as neutralLayerCardBehavior,dh as neutralLayerCardContainer,Tu as neutralLayerCardContainerBehavior,lh as neutralLayerFloating,Cu as neutralLayerFloatingBehavior,hh as neutralLayerL1,uh as neutralLayerL1Alt,Su as neutralLayerL1AltBehavior,Iu as neutralLayerL1Behavior,ph as neutralLayerL2,Fu as neutralLayerL2Behavior,gh as neutralLayerL3,Du as neutralLayerL3Behavior,fh as neutralLayerL4,Pu as neutralLayerL4Behavior,_d as neutralOutline,Gd as neutralOutlineActive,xu as neutralOutlineActiveBehavior,$u as neutralOutlineFocusBehavior,Ud as neutralOutlineHover,yu as neutralOutlineHoverBehavior,qd as neutralOutlineRest,mu as neutralOutlineRestBehavior,Ks as newInstanceForScope,Qs as newInstanceOf,ft as nullableNumberConverter,S as observable,Gs as optional,mc as palette,hc as parseColorString,qt as ref,Yt as repeat,P as setCurrentEvent,js as singleton,ee as slotted,re as startTemplate,jo as supportsElementInternals,Ns as transient,un as validateKey,F as volatile,Ut as when,Oo as whitespaceFilter};
|