@loadsmart/miranda-wc 2.0.0-beta.4 → 2.0.0-beta.6

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.
Files changed (73) hide show
  1. package/dist/{alert-circle-13ESz5ak-B-aw95xw.js → alert-circle-13ESz5ak-ruz_HSn3.js} +2 -2
  2. package/dist/{alert-circle-13ESz5ak-B-aw95xw.js.map → alert-circle-13ESz5ak-ruz_HSn3.js.map} +1 -1
  3. package/dist/{arrow-left-BIb7jStw-BIjyUABQ.js → arrow-left-BIb7jStw-DT5V_pxw.js} +2 -2
  4. package/dist/{arrow-left-BIb7jStw-BIjyUABQ.js.map → arrow-left-BIb7jStw-DT5V_pxw.js.map} +1 -1
  5. package/dist/{arrow-right-Wku0rRI4-B3qRkoF2.js → arrow-right-Wku0rRI4-DQQXIvFX.js} +2 -2
  6. package/dist/{arrow-right-Wku0rRI4-B3qRkoF2.js.map → arrow-right-Wku0rRI4-DQQXIvFX.js.map} +1 -1
  7. package/dist/{arrow-sort-down-C3RSPGLc-fvdvbRd8.js → arrow-sort-down-C3RSPGLc-BnY5Q4D3.js} +2 -2
  8. package/dist/{arrow-sort-down-C3RSPGLc-fvdvbRd8.js.map → arrow-sort-down-C3RSPGLc-BnY5Q4D3.js.map} +1 -1
  9. package/dist/{arrow-sort-up-C1WwiQwF-2SB-EeCk.js → arrow-sort-up-C1WwiQwF-CZuf4YLn.js} +2 -2
  10. package/dist/{arrow-sort-up-C1WwiQwF-2SB-EeCk.js.map → arrow-sort-up-C1WwiQwF-CZuf4YLn.js.map} +1 -1
  11. package/dist/{arrow-sort-up-down-NESBEFJF-bHHp0Nrg.js → arrow-sort-up-down-NESBEFJF-C8MwEfyl.js} +2 -2
  12. package/dist/{arrow-sort-up-down-NESBEFJF-bHHp0Nrg.js.map → arrow-sort-up-down-NESBEFJF-C8MwEfyl.js.map} +1 -1
  13. package/dist/{attention-WyayRaua-BC5zN8br.js → attention-WyayRaua-BiJBHLWj.js} +2 -2
  14. package/dist/{attention-WyayRaua-BC5zN8br.js.map → attention-WyayRaua-BiJBHLWj.js.map} +1 -1
  15. package/dist/{bell-Clm8vjZV-BSMe8YHN.js → bell-Clm8vjZV-DQIeHHmN.js} +2 -2
  16. package/dist/{bell-Clm8vjZV-BSMe8YHN.js.map → bell-Clm8vjZV-DQIeHHmN.js.map} +1 -1
  17. package/dist/{calendar-BRIt01fG-DyFes3_5.js → calendar-BRIt01fG-Dmj-ATgI.js} +2 -2
  18. package/dist/{calendar-BRIt01fG-DyFes3_5.js.map → calendar-BRIt01fG-Dmj-ATgI.js.map} +1 -1
  19. package/dist/{canada-flag-CtubPybt-D9llubLb.js → canada-flag-CtubPybt-CcBbaB6P.js} +2 -2
  20. package/dist/{canada-flag-CtubPybt-D9llubLb.js.map → canada-flag-CtubPybt-CcBbaB6P.js.map} +1 -1
  21. package/dist/{caret-down-CbGsyZM2-Bdc5Z7R0.js → caret-down-CbGsyZM2-D59nexsI.js} +2 -2
  22. package/dist/{caret-down-CbGsyZM2-Bdc5Z7R0.js.map → caret-down-CbGsyZM2-D59nexsI.js.map} +1 -1
  23. package/dist/{caret-left--WzPVkEi-BZKesK5g.js → caret-left--WzPVkEi-B8etqB0O.js} +2 -2
  24. package/dist/{caret-left--WzPVkEi-BZKesK5g.js.map → caret-left--WzPVkEi-B8etqB0O.js.map} +1 -1
  25. package/dist/{caret-right-B8YYUqFi-BbODUzwi.js → caret-right-B8YYUqFi-C0igTq4U.js} +2 -2
  26. package/dist/{caret-right-B8YYUqFi-BbODUzwi.js.map → caret-right-B8YYUqFi-C0igTq4U.js.map} +1 -1
  27. package/dist/{caret-up-BGiFV-Dg-kVieiWUL.js → caret-up-BGiFV-Dg-Db9-qcaW.js} +2 -2
  28. package/dist/{caret-up-BGiFV-Dg-kVieiWUL.js.map → caret-up-BGiFV-Dg-Db9-qcaW.js.map} +1 -1
  29. package/dist/{check-CVTSfUcw-CyG5Q5r7.js → check-CVTSfUcw-DBty4XVc.js} +2 -2
  30. package/dist/{check-CVTSfUcw-CyG5Q5r7.js.map → check-CVTSfUcw-DBty4XVc.js.map} +1 -1
  31. package/dist/{close-D7cBQXEF-PCPFZfqi.js → close-D7cBQXEF-Dv0PVyUS.js} +2 -2
  32. package/dist/{close-D7cBQXEF-PCPFZfqi.js.map → close-D7cBQXEF-Dv0PVyUS.js.map} +1 -1
  33. package/dist/components/field/field-hint.d.ts.map +1 -1
  34. package/dist/components/field/field.context.d.ts +2 -2
  35. package/dist/components/field/field.context.d.ts.map +1 -1
  36. package/dist/components/field/field.d.ts +1 -0
  37. package/dist/components/field/field.d.ts.map +1 -1
  38. package/dist/components/field/field.styles.d.ts +3 -0
  39. package/dist/components/field/field.styles.d.ts.map +1 -0
  40. package/dist/components/text-field/text-field.d.ts +37 -48
  41. package/dist/components/text-field/text-field.d.ts.map +1 -1
  42. package/dist/components/text-field/text-field.styles.d.ts.map +1 -1
  43. package/dist/{double-caret-left-Uqi0RfBk-Bz_PVZOg.js → double-caret-left-Uqi0RfBk-MtVeUzqQ.js} +2 -2
  44. package/dist/{double-caret-left-Uqi0RfBk-Bz_PVZOg.js.map → double-caret-left-Uqi0RfBk-MtVeUzqQ.js.map} +1 -1
  45. package/dist/{double-caret-right-CDksftDh-DaGZBleC.js → double-caret-right-CDksftDh-Bhn-yTX6.js} +2 -2
  46. package/dist/{double-caret-right-CDksftDh-DaGZBleC.js.map → double-caret-right-CDksftDh-Bhn-yTX6.js.map} +1 -1
  47. package/dist/{indeterminate-BDGHbswY-DNmEoQVL.js → indeterminate-BDGHbswY-Bxr4qmv9.js} +2 -2
  48. package/dist/{indeterminate-BDGHbswY-DNmEoQVL.js.map → indeterminate-BDGHbswY-Bxr4qmv9.js.map} +1 -1
  49. package/dist/{index-BLNAH2JI.js → index-DCVKm8ZC.js} +79 -88
  50. package/dist/index-DCVKm8ZC.js.map +1 -0
  51. package/dist/index.js +1 -1
  52. package/dist/{info-circle-DXejYqGk-D_weQ1S0.js → info-circle-DXejYqGk-CseOI-JK.js} +2 -2
  53. package/dist/{info-circle-DXejYqGk-D_weQ1S0.js.map → info-circle-DXejYqGk-CseOI-JK.js.map} +1 -1
  54. package/dist/{mexico-flag-B5FobyK_-zoRu8slx.js → mexico-flag-B5FobyK_-DvHkcRBs.js} +2 -2
  55. package/dist/{mexico-flag-B5FobyK_-zoRu8slx.js.map → mexico-flag-B5FobyK_-DvHkcRBs.js.map} +1 -1
  56. package/dist/{pencil-CU-oQ9JK-DP8LY4L7.js → pencil-CU-oQ9JK-C7c94L6U.js} +2 -2
  57. package/dist/{pencil-CU-oQ9JK-DP8LY4L7.js.map → pencil-CU-oQ9JK-C7c94L6U.js.map} +1 -1
  58. package/dist/{plus-ahnlojdq-BNhYxGe7.js → plus-ahnlojdq-C7xMI4Yz.js} +2 -2
  59. package/dist/{plus-ahnlojdq-BNhYxGe7.js.map → plus-ahnlojdq-C7xMI4Yz.js.map} +1 -1
  60. package/dist/{question-BmAxpIax-GNv5TLuh.js → question-BmAxpIax-CT_ZBBc1.js} +2 -2
  61. package/dist/{question-BmAxpIax-GNv5TLuh.js.map → question-BmAxpIax-CT_ZBBc1.js.map} +1 -1
  62. package/dist/{telephone-Bs5Zwfs--CxsDB1CA.js → telephone-Bs5Zwfs--COv31kn6.js} +2 -2
  63. package/dist/{telephone-Bs5Zwfs--CxsDB1CA.js.map → telephone-Bs5Zwfs--COv31kn6.js.map} +1 -1
  64. package/dist/{trash-ClFxC-Bb-JG79GWbv.js → trash-ClFxC-Bb-DypUwY92.js} +2 -2
  65. package/dist/{trash-ClFxC-Bb-JG79GWbv.js.map → trash-ClFxC-Bb-DypUwY92.js.map} +1 -1
  66. package/dist/{united-states-flag-cGVvcvd_-Bd0x06ve.js → united-states-flag-cGVvcvd_-CwiAdoDc.js} +2 -2
  67. package/dist/{united-states-flag-cGVvcvd_-Bd0x06ve.js.map → united-states-flag-cGVvcvd_-CwiAdoDc.js.map} +1 -1
  68. package/dist/{user-BQBtu3DJ-CM1M-W6y.js → user-BQBtu3DJ-3D8IDPNQ.js} +2 -2
  69. package/dist/{user-BQBtu3DJ-CM1M-W6y.js.map → user-BQBtu3DJ-3D8IDPNQ.js.map} +1 -1
  70. package/package.json +1 -1
  71. package/dist/components/field/field-hint.styles.d.ts +0 -3
  72. package/dist/components/field/field-hint.styles.d.ts.map +0 -1
  73. package/dist/index-BLNAH2JI.js.map +0 -1
@@ -65,7 +65,7 @@ var l$5,o$9;u$3[d$3]=!0,u$3.elementProperties=new Map,u$3.elementStyles=[],u$3.s
65
65
  background-color: ${getColor("color-background-tertiary")};
66
66
  }
67
67
  }
68
- `;const DEFAULT_TRANSITION_CONFIG={property:"all",delay:"0s",duration:"0.35s",easing:"ease-in-out"};function toTransition(t){const e={...DEFAULT_TRANSITION_CONFIG,...t};return r$9(`${e.property} ${e.duration} ${e.easing} ${e.delay}`)}function transition(t){const e=toArray$1(t).map((t=>toTransition(t))).join(", ");return r$9(`\n\t\ttransition: ${e}\n\t`)}const typographyVariants=["body-lg-bold","body-lg","body-md-bold-underline","body-md-bold","body-md-underline","body-md","body-sm-bold-underline","body-sm-bold","body-sm-underline","body-sm","button-lg","button-md","button-sm","chips-md","chips-sm","heading-lg-bold","heading-lg","heading-md-bold","heading-md","heading-sm-bold","heading-sm","hero-lg-bold","hero-lg","hero-md-bold","hero-md","hero-sm-bold","hero-sm","number-md","number-sm","table-header-md","table-header-sm"];function getVariant(t){switch(t){case"hero-lg-bold":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-6")};\n\t\t\t\tfont-size: ${getToken("font-size-9")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"hero-lg":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-6")};\n\t\t\t\tfont-size: ${getToken("font-size-9")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"hero-md-bold":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-6")};\n\t\t\t\tfont-size: ${getToken("font-size-8")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"hero-md":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-6")};\n\t\t\t\tfont-size: ${getToken("font-size-8")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"hero-sm-bold":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-6")};\n\t\t\t\tfont-size: ${getToken("font-size-7")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"hero-sm":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-6")};\n\t\t\t\tfont-size: ${getToken("font-size-7")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"heading-lg-bold":return`\n\t\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\t\tfont-size: ${getToken("font-size-6")};\n\t\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t\t`;case"heading-lg":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-6")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"heading-md-bold":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-5")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"heading-md":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-5")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"heading-sm-bold":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-4")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"heading-sm":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-4")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"body-lg-bold":return`\n\t\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\t\tline-height: ${getToken("line-height-6")};\n\t\t\t\t\tfont-size: ${getToken("font-size-5")};\n\t\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t\t`;case"body-lg":return`\n\t\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\t\tline-height: ${getToken("line-height-6")};\n\t\t\t\t\tfont-size: ${getToken("font-size-5")};\n\t\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t\t`;case"body-md":case"number-md":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-3")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"body-md-underline":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-3")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-md-bold":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-3")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"body-md-bold-underline":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-3")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm":case"number-sm":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-4")};\n\t\t\t\tfont-size: ${getToken("font-size-2")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"body-sm-underline":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-4")};\n\t\t\t\tfont-size: ${getToken("font-size-2")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm-bold":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-4")};\n\t\t\t\tfont-size: ${getToken("font-size-2")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"body-sm-bold-underline":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-4")};\n\t\t\t\tfont-size: ${getToken("font-size-2")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"button-lg":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-1")};\n\t\t\t\tfont-size: ${getToken("font-size-4")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"button-md":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-1")};\n\t\t\t\tfont-size: ${getToken("font-size-3")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"button-sm":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-1")};\n\t\t\t\tfont-size: ${getToken("font-size-2")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"table-header-md":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-1")};\n\t\t\t\tfont-size: ${getToken("font-size-3")};\n\t\t\t\tfont-weight: ${getToken("font-weight-medium")};\n\t\t\t\ttext-transform: uppercase\n\t\t\t`;case"table-header-sm":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-1")};\n\t\t\t\tfont-size: ${getToken("font-size-2")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"chips-md":return`\n\t\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\t\tline-height: ${getToken("line-height-1")};\n\t\t\t\t\tfont-size: ${getToken("font-size-2")};\n\t\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t\t`;case"chips-sm":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-1")};\n\t\t\t\tfont-size: ${getToken("font-size-1")};\n\t\t\t\tfont-weight: ${getToken("font-weight-medium")};\n\t\t\t\ttext-transform: uppercase\n\t\t\t`;default:return""}}function typography(t){const e=r$9("\n\t\tfont-style: normal;\n\t\tfont-stretch: normal;\n\t\tletter-spacing: normal;\n\n\t\tfont-synthesis: none;\n\t\ttext-rendering: optimizeLegibility;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-moz-osx-font-smoothing: grayscale;\n\t\t-webkit-text-size-adjust: 100%;\n\t");return r$9(`${e}\n${getVariant(t)}`)}function styles$I(){return i$5`
68
+ `;const DEFAULT_TRANSITION_CONFIG={property:"all",delay:"0s",duration:"0.35s",easing:"ease-in-out"};function toTransition(t){const e={...DEFAULT_TRANSITION_CONFIG,...t};return r$9(`${e.property} ${e.duration} ${e.easing} ${e.delay}`)}function transition(t){const e=toArray$1(t).map((t=>toTransition(t))).join(", ");return r$9(`\n\t\ttransition: ${e}\n\t`)}const typographyVariants=["body-lg-bold","body-lg","body-md-bold-underline","body-md-bold","body-md-underline","body-md","body-sm-bold-underline","body-sm-bold","body-sm-underline","body-sm","button-lg","button-md","button-sm","chips-md","chips-sm","heading-lg-bold","heading-lg","heading-md-bold","heading-md","heading-sm-bold","heading-sm","hero-lg-bold","hero-lg","hero-md-bold","hero-md","hero-sm-bold","hero-sm","number-md","number-sm","table-header-md","table-header-sm"];function getVariant(t){switch(t){case"hero-lg-bold":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-6")};\n\t\t\t\tfont-size: ${getToken("font-size-9")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"hero-lg":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-6")};\n\t\t\t\tfont-size: ${getToken("font-size-9")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"hero-md-bold":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-6")};\n\t\t\t\tfont-size: ${getToken("font-size-8")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"hero-md":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-6")};\n\t\t\t\tfont-size: ${getToken("font-size-8")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"hero-sm-bold":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-6")};\n\t\t\t\tfont-size: ${getToken("font-size-7")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"hero-sm":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-6")};\n\t\t\t\tfont-size: ${getToken("font-size-7")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"heading-lg-bold":return`\n\t\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\t\tfont-size: ${getToken("font-size-6")};\n\t\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t\t`;case"heading-lg":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-6")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"heading-md-bold":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-5")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"heading-md":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-5")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"heading-sm-bold":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-4")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"heading-sm":return`\n\t\t\t\tfont-family: ${getToken("font-family-title")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-4")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"body-lg-bold":return`\n\t\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\t\tline-height: ${getToken("line-height-6")};\n\t\t\t\t\tfont-size: ${getToken("font-size-5")};\n\t\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t\t`;case"body-lg":return`\n\t\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\t\tline-height: ${getToken("line-height-6")};\n\t\t\t\t\tfont-size: ${getToken("font-size-5")};\n\t\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t\t`;case"body-md":case"number-md":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-3")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"body-md-underline":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-3")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-md-bold":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-3")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"body-md-bold-underline":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-5")};\n\t\t\t\tfont-size: ${getToken("font-size-3")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm":case"number-sm":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-4")};\n\t\t\t\tfont-size: ${getToken("font-size-2")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"body-sm-underline":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-4")};\n\t\t\t\tfont-size: ${getToken("font-size-2")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm-bold":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-4")};\n\t\t\t\tfont-size: ${getToken("font-size-2")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"body-sm-bold-underline":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-4")};\n\t\t\t\tfont-size: ${getToken("font-size-2")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"button-lg":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-1")};\n\t\t\t\tfont-size: ${getToken("font-size-4")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"button-md":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-1")};\n\t\t\t\tfont-size: ${getToken("font-size-3")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"button-sm":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-1")};\n\t\t\t\tfont-size: ${getToken("font-size-2")};\n\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t`;case"table-header-md":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-1")};\n\t\t\t\tfont-size: ${getToken("font-size-3")};\n\t\t\t\tfont-weight: ${getToken("font-weight-medium")};\n\t\t\t\ttext-transform: uppercase\n\t\t\t`;case"table-header-sm":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-1")};\n\t\t\t\tfont-size: ${getToken("font-size-2")};\n\t\t\t\tfont-weight: ${getToken("font-weight-regular")}\n\t\t\t`;case"chips-md":return`\n\t\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\t\tline-height: ${getToken("line-height-1")};\n\t\t\t\t\tfont-size: ${getToken("font-size-2")};\n\t\t\t\t\tfont-weight: ${getToken("font-weight-bold")}\n\t\t\t\t`;case"chips-sm":return`\n\t\t\t\tfont-family: ${getToken("font-family-default")};\n\t\t\t\tline-height: ${getToken("line-height-1")};\n\t\t\t\tfont-size: ${getToken("font-size-1")};\n\t\t\t\tfont-weight: ${getToken("font-weight-medium")};\n\t\t\t\ttext-transform: uppercase\n\t\t\t`;default:return""}}function typography(t){const e=r$9("\n\t\tfont-style: normal;\n\t\tfont-stretch: normal;\n\t\tletter-spacing: normal;\n\n\t\tfont-synthesis: none;\n\t\ttext-rendering: optimizeLegibility;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-moz-osx-font-smoothing: grayscale;\n\t\t-webkit-text-size-adjust: 100%;\n\t");return r$9(`${e}\n${getVariant(t)}`)}function styles$H(){return i$5`
69
69
  :host {
70
70
  background-color: ${getColor("color-background-primary")};
71
71
  width: 100%;
@@ -196,7 +196,7 @@ const t$3=window,e$5=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.native
196
196
  * @license
197
197
  * Copyright 2017 Google LLC
198
198
  * SPDX-License-Identifier: BSD-3-Clause
199
- */var l$4,o$1$1;u[d]=!0,u.elementProperties=new Map,u.elementStyles=[],u.shadowRootOptions={mode:"open"},null==o$2$1||o$2$1({ReactiveElement:u}),(null!==(s$1$1=e$1$1.reactiveElementVersions)&&void 0!==s$1$1?s$1$1:e$1$1.reactiveElementVersions=[]).push("1.6.3");let s$6=class extends u{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=D(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return T}};s$6.finalized=!0,s$6._$litElement$=!0,null===(l$4=globalThis.litElementHydrateSupport)||void 0===l$4||l$4.call(globalThis,{LitElement:s$6});const n$1$1=globalThis.litElementPolyfillSupport;null==n$1$1||n$1$1({LitElement:s$6}),(null!==(o$1$1=globalThis.litElementVersions)&&void 0!==o$1$1?o$1$1:globalThis.litElementVersions=[]).push("3.3.3");var toCSSValue,themes={LoadsmartTheme:{"brand-color-brand":"20, 214, 77","brand-color-brand-accent-1":"0, 215, 215","brand-color-brand-accent-2":"132, 241, 30","border-radius-none":"0px","border-radius-s":"4px","border-radius-m":"8px","border-radius-l":"16px","border-radius-circle":"50%","border-none":0,"border-thin":"1px","border-medium":"2px","border-thick":"4px","color-background-primary":"252, 252, 255","color-background-secondary":"248, 249, 251","color-background-tertiary":"230, 237, 242","color-background-highlight":"202, 219, 221","color-background-inverted":"32, 41, 49","color-background-secondary-inverted":"61, 74, 85","color-border-input":"193, 206, 217","color-border":"230, 237, 242","color-divider":"230, 237, 242","color-brand":"20, 214, 77","color-brand-accent-1":"0, 215, 215","color-brand-accent-2":"132, 241, 30","color-primary-20":"202, 219, 221","color-primary-60":"0, 84, 84","color-primary-100":"0, 51, 51","color-accent-20":"229, 245, 255","color-accent-60":"0, 98, 159","color-accent-100":"15, 66, 97","color-neutral-0":"252, 252, 255","color-neutral-10":"248, 249, 251","color-neutral-20":"230, 237, 242","color-neutral-40":"193, 206, 217","color-neutral-60":"94, 118, 138","color-neutral-80":"92, 106, 118","color-neutral-90":"61, 74, 85","color-neutral-100":"32, 41, 49","color-success-20":"227, 247, 239","color-success-60":"3, 124, 94","color-success-100":"0, 94, 71","color-danger-20":"255, 233, 230","color-danger-60":"186, 27, 27","color-danger-100":"104, 0, 3","color-warning-20":"255, 243, 214","color-warning-60":"248, 182, 14","color-warning-100":"102, 63, 25","color-text-primary":"32, 41, 49","color-text-secondary":"61, 74, 85","color-text-tertiary":"92, 106, 118","color-text-placeholder":"94, 118, 138","color-text-disabled":"193, 206, 217","color-text-inverted":"252, 252, 255","color-text-secondary-inverted":"193, 206, 217","color-text-error":"186, 27, 27","color-text-highlight":"0, 98, 159","color-text-link":"0, 84, 84","font-family-default":"'Manrope', sans-serif","font-family-title":"'Plus Jakarta Sans', 'Manrope', sans-serif","font-size-1":"0.625rem","font-size-2":"0.75rem","font-size-3":"0.875rem","font-size-4":"1rem","font-size-5":"1.25rem","font-size-6":"1.625rem","font-size-7":"2.375rem","font-size-8":"3rem","font-size-9":"3.625rem","font-weight-regular":500,"font-weight-medium":600,"font-weight-bold":700,"line-height-1":"100%","line-height-2":"125%","line-height-3":"130%","line-height-4":"140%","line-height-5":"150%","line-height-6":"180%","media-screen-desktop":"1025px","media-screen-tablet":"481px","opacity-0":"0%","opacity-20":"20%","opacity-40":"40%","opacity-60":"60%","opacity-100":"100%","elevation-1":"0px 0px 2px rgba(94, 118, 138, 0.1), 0px 1px 6px 2px rgba(61, 74, 85, 0.15)","elevation-2":"0px 1px 3px rgba(94, 118, 138, 0.2), 0px 4px 8px 3px rgba(61, 74, 85, 0.15)","elevation-3":"0px 0px 4px rgba(94, 118, 138, 0.2), 0px 6px 12px 6px rgba(61, 74, 85, 0.15)","elevation-4":"0px 5px 6px 4px rgba(94, 118, 138, 0.2), 0px 8px 10px rgba(61, 74, 85, 0.1)","glow-primary":"0.0px 0.0px 4.0px 0px rgb(3, 124, 94, .5)","glow-warning":"0.0px 0.0px 4.0px 0px rgba(255, 206, 79, 1.0)","spacing-1":"4px","spacing-2":"8px","spacing-3":"12px","spacing-4":"16px","spacing-5":"20px","spacing-6":"24px","spacing-8":"32px","spacing-10":"40px","spacing-12":"48px","spacing-14":"56px","spacing-16":"64px","spacing-20":"80px","spacing-30":"120px","spacing-0-5":"2px","global-height-small":"1.75rem","global-height-default":"2.5rem","global-height-large":"3rem","platform-font-default":"'Manrope', sans-serif","platform-font-title":"'Plus Jakarta Sans', 'Manrope', sans-serif"}},r$6=themes;function t$4(t,e,o){if(o||2===arguments.length)for(var i,r=0,n=e.length;r<n;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}function e$6(t,e){return t.filter((function(t){return t.startsWith(e)}))}function o$7(t,e){return t.filter((function(t){return!t.startsWith(e)}))}"function"==typeof SuppressedError&&SuppressedError;var n$7=Object.keys(r$6.LoadsmartTheme),a$4=t$4([],o$7(o$7(n$7,"brand-"),"platform-"),!0).sort((function(t,e){return t.localeCompare(e,void 0,{numeric:!0,sensitivity:"base"})}));e$6(a$4,"color-background-"),e$6(a$4,"border-radius-"),e$6(a$4,"border-"),e$6(a$4,"color-"),e$6(a$4,"elevation-"),e$6(a$4,"font-family-"),e$6(a$4,"font-size-"),e$6(a$4,"font-weight-"),e$6(a$4,"global-"),e$6(a$4,"glow-"),e$6(a$4,"line-height-"),e$6(a$4,"opacity-");var _=e$6(a$4,"spacing-");function K(t){return r$6.LoadsmartTheme[t]}function m(t){var e=K(t);return null==e?e:"--m-".concat(t)}function h(t,e){var o=K(t);return null==o?"":t.startsWith("color-")?"rgba(var(".concat(m(t),", ").concat(o,"), ").concat(null!=e?e:1,")"):"var(".concat(m(t),", ").concat(o,")")}function styles$H(){return[i$3`
199
+ */var l$4,o$1$1;u[d]=!0,u.elementProperties=new Map,u.elementStyles=[],u.shadowRootOptions={mode:"open"},null==o$2$1||o$2$1({ReactiveElement:u}),(null!==(s$1$1=e$1$1.reactiveElementVersions)&&void 0!==s$1$1?s$1$1:e$1$1.reactiveElementVersions=[]).push("1.6.3");let s$6=class extends u{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=D(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return T}};s$6.finalized=!0,s$6._$litElement$=!0,null===(l$4=globalThis.litElementHydrateSupport)||void 0===l$4||l$4.call(globalThis,{LitElement:s$6});const n$1$1=globalThis.litElementPolyfillSupport;null==n$1$1||n$1$1({LitElement:s$6}),(null!==(o$1$1=globalThis.litElementVersions)&&void 0!==o$1$1?o$1$1:globalThis.litElementVersions=[]).push("3.3.3");var toCSSValue,themes={LoadsmartTheme:{"brand-color-brand":"20, 214, 77","brand-color-brand-accent-1":"0, 215, 215","brand-color-brand-accent-2":"132, 241, 30","border-radius-none":"0px","border-radius-s":"4px","border-radius-m":"8px","border-radius-l":"16px","border-radius-circle":"50%","border-none":0,"border-thin":"1px","border-medium":"2px","border-thick":"4px","color-background-primary":"252, 252, 255","color-background-secondary":"248, 249, 251","color-background-tertiary":"230, 237, 242","color-background-highlight":"202, 219, 221","color-background-inverted":"32, 41, 49","color-background-secondary-inverted":"61, 74, 85","color-border-input":"193, 206, 217","color-border":"230, 237, 242","color-divider":"230, 237, 242","color-brand":"20, 214, 77","color-brand-accent-1":"0, 215, 215","color-brand-accent-2":"132, 241, 30","color-primary-20":"202, 219, 221","color-primary-60":"0, 84, 84","color-primary-100":"0, 51, 51","color-accent-20":"229, 245, 255","color-accent-60":"0, 98, 159","color-accent-100":"15, 66, 97","color-neutral-0":"252, 252, 255","color-neutral-10":"248, 249, 251","color-neutral-20":"230, 237, 242","color-neutral-40":"193, 206, 217","color-neutral-60":"94, 118, 138","color-neutral-80":"92, 106, 118","color-neutral-90":"61, 74, 85","color-neutral-100":"32, 41, 49","color-success-20":"227, 247, 239","color-success-60":"3, 124, 94","color-success-100":"0, 94, 71","color-danger-20":"255, 233, 230","color-danger-60":"186, 27, 27","color-danger-100":"104, 0, 3","color-warning-20":"255, 243, 214","color-warning-60":"248, 182, 14","color-warning-100":"102, 63, 25","color-text-primary":"32, 41, 49","color-text-secondary":"61, 74, 85","color-text-tertiary":"92, 106, 118","color-text-placeholder":"94, 118, 138","color-text-disabled":"193, 206, 217","color-text-inverted":"252, 252, 255","color-text-secondary-inverted":"193, 206, 217","color-text-error":"186, 27, 27","color-text-highlight":"0, 98, 159","color-text-link":"0, 84, 84","font-family-default":"'Manrope', sans-serif","font-family-title":"'Plus Jakarta Sans', 'Manrope', sans-serif","font-size-1":"0.625rem","font-size-2":"0.75rem","font-size-3":"0.875rem","font-size-4":"1rem","font-size-5":"1.25rem","font-size-6":"1.625rem","font-size-7":"2.375rem","font-size-8":"3rem","font-size-9":"3.625rem","font-weight-regular":500,"font-weight-medium":600,"font-weight-bold":700,"line-height-1":"100%","line-height-2":"125%","line-height-3":"130%","line-height-4":"140%","line-height-5":"150%","line-height-6":"180%","media-screen-desktop":"1025px","media-screen-tablet":"481px","opacity-0":"0%","opacity-20":"20%","opacity-40":"40%","opacity-60":"60%","opacity-100":"100%","elevation-1":"0px 0px 2px rgba(94, 118, 138, 0.1), 0px 1px 6px 2px rgba(61, 74, 85, 0.15)","elevation-2":"0px 1px 3px rgba(94, 118, 138, 0.2), 0px 4px 8px 3px rgba(61, 74, 85, 0.15)","elevation-3":"0px 0px 4px rgba(94, 118, 138, 0.2), 0px 6px 12px 6px rgba(61, 74, 85, 0.15)","elevation-4":"0px 5px 6px 4px rgba(94, 118, 138, 0.2), 0px 8px 10px rgba(61, 74, 85, 0.1)","glow-primary":"0.0px 0.0px 4.0px 0px rgb(3, 124, 94, .5)","glow-warning":"0.0px 0.0px 4.0px 0px rgba(255, 206, 79, 1.0)","spacing-1":"4px","spacing-2":"8px","spacing-3":"12px","spacing-4":"16px","spacing-5":"20px","spacing-6":"24px","spacing-8":"32px","spacing-10":"40px","spacing-12":"48px","spacing-14":"56px","spacing-16":"64px","spacing-20":"80px","spacing-30":"120px","spacing-0-5":"2px","global-height-small":"1.75rem","global-height-default":"2.5rem","global-height-large":"3rem","platform-font-default":"'Manrope', sans-serif","platform-font-title":"'Plus Jakarta Sans', 'Manrope', sans-serif"}},r$6=themes;function t$4(t,e,o){if(o||2===arguments.length)for(var i,r=0,n=e.length;r<n;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}function e$6(t,e){return t.filter((function(t){return t.startsWith(e)}))}function o$7(t,e){return t.filter((function(t){return!t.startsWith(e)}))}"function"==typeof SuppressedError&&SuppressedError;var n$7=Object.keys(r$6.LoadsmartTheme),a$4=t$4([],o$7(o$7(n$7,"brand-"),"platform-"),!0).sort((function(t,e){return t.localeCompare(e,void 0,{numeric:!0,sensitivity:"base"})}));e$6(a$4,"color-background-"),e$6(a$4,"border-radius-"),e$6(a$4,"border-"),e$6(a$4,"color-"),e$6(a$4,"elevation-"),e$6(a$4,"font-family-"),e$6(a$4,"font-size-"),e$6(a$4,"font-weight-"),e$6(a$4,"global-"),e$6(a$4,"glow-"),e$6(a$4,"line-height-"),e$6(a$4,"opacity-");var _=e$6(a$4,"spacing-");function K(t){return r$6.LoadsmartTheme[t]}function m(t){var e=K(t);return null==e?e:"--m-".concat(t)}function h(t,e){var o=K(t);return null==o?"":t.startsWith("color-")?"rgba(var(".concat(m(t),", ").concat(o,"), ").concat(null!=e?e:1,")"):"var(".concat(m(t),", ").concat(o,")")}function styles$G(){return[i$3`
200
200
  :host {
201
201
  --m-icon-size: 16px;
202
202
  --m-icon-color: ${r$2(toCSSValue("color-text-primary"))};
@@ -218,7 +218,7 @@ const t$3=window,e$5=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.native
218
218
  color: var(--m-icon-color);
219
219
  fill: var(--m-icon-color);
220
220
  }
221
- `]}e$6(a$4,"media-"),t$4(["none"],_,!0),toCSSValue=h;const icons=new Map([["alert-circle",()=>import("./alert-circle-13ESz5ak-B-aw95xw.js")],["arrow-left",()=>import("./arrow-left-BIb7jStw-BIjyUABQ.js")],["arrow-right",()=>import("./arrow-right-Wku0rRI4-B3qRkoF2.js")],["arrow-sort-down",()=>import("./arrow-sort-down-C3RSPGLc-fvdvbRd8.js")],["arrow-sort-up",()=>import("./arrow-sort-up-C1WwiQwF-2SB-EeCk.js")],["arrow-sort-up-down",()=>import("./arrow-sort-up-down-NESBEFJF-bHHp0Nrg.js")],["attention",()=>import("./attention-WyayRaua-BC5zN8br.js")],["bell",()=>import("./bell-Clm8vjZV-BSMe8YHN.js")],["calendar",()=>import("./calendar-BRIt01fG-DyFes3_5.js")],["canada-flag",()=>import("./canada-flag-CtubPybt-D9llubLb.js")],["caret-down",()=>import("./caret-down-CbGsyZM2-Bdc5Z7R0.js")],["caret-left",()=>import("./caret-left--WzPVkEi-BZKesK5g.js")],["caret-right",()=>import("./caret-right-B8YYUqFi-BbODUzwi.js")],["caret-up",()=>import("./caret-up-BGiFV-Dg-kVieiWUL.js")],["check",()=>import("./check-CVTSfUcw-CyG5Q5r7.js")],["close",()=>import("./close-D7cBQXEF-PCPFZfqi.js")],["double-caret-left",()=>import("./double-caret-left-Uqi0RfBk-Bz_PVZOg.js")],["double-caret-right",()=>import("./double-caret-right-CDksftDh-DaGZBleC.js")],["indeterminate",()=>import("./indeterminate-BDGHbswY-DNmEoQVL.js")],["info-circle",()=>import("./info-circle-DXejYqGk-D_weQ1S0.js")],["mexico-flag",()=>import("./mexico-flag-B5FobyK_-zoRu8slx.js")],["pencil",()=>import("./pencil-CU-oQ9JK-DP8LY4L7.js")],["plus",()=>import("./plus-ahnlojdq-BNhYxGe7.js")],["telephone",()=>import("./telephone-Bs5Zwfs--CxsDB1CA.js")],["trash",()=>import("./trash-ClFxC-Bb-JG79GWbv.js")],["united-states-flag",()=>import("./united-states-flag-cGVvcvd_-Bd0x06ve.js")],["user",()=>import("./user-BQBtu3DJ-CM1M-W6y.js")],["question",()=>import("./question-BmAxpIax-GNv5TLuh.js")]]),AVAILABLE_ICONS=[...icons.keys()];var _Icon_loadIcon,_Accordion_instances,_Accordion_accordionTrigger_get,_Accordion_accordionPanel_get,_Accordion_accordionContent_get,_Accordion_handleExpand,_Accordion_toggle,_Accordion_handleTransition;class Icon extends s$6{static get properties(){return{name:{type:String},size:{type:String},color:{type:String},loading:{state:!0}}}constructor(){super(),this.icon=null,_Icon_loadIcon.set(this,(async()=>{icons.has(this.name);try{this.icon=null;const{default:t}=await icons.get(this.name)();this.icon=t}catch{}finally{this.requestUpdate()}})),this.icon=null}connectedCallback(){super.connectedCallback(),__classPrivateFieldGet(this,_Icon_loadIcon,"f").call(this)}update(t){super.update(t),t.has("name")&&__classPrivateFieldGet(this,_Icon_loadIcon,"f").call(this)}updated(t){super.updated(t),t.has("size")&&null!=this.size&&this.style.setProperty("--m-icon-size",`${parseInt(String(this.size),10)||16}px`),t.has("color")&&null!=this.color&&this.style.setProperty("--m-icon-color",toCSSValue(this.color))}render(){return null!=this.name&&icons.has(this.name)&&null!=this.icon?this.icon:A}}_Icon_loadIcon=new WeakMap,Icon.styles=[styles$H()],window.customElements.define("m-icon",Icon);class Accordion extends Component{static get properties(){return{disabled:{type:Boolean,reflect:!0},expanded:{type:Boolean,reflect:!0}}}constructor(){super(),_Accordion_instances.add(this),_Accordion_handleTransition.set(this,(()=>{this.expanded&&!this.disabled&&(__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).style.height="auto")})),this.disabled=!1,this.expanded=!1,this.resizeObserver=new ResizeObserver((t=>{this.panelHeight=t[0].target.scrollHeight}))}firstUpdated(){__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionContent_get).style.transition="visibility 0.35s",__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionContent_get).setAttribute("role","region"),this.resizeObserver.observe(__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get)),__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).addEventListener("transitionend",__classPrivateFieldGet$1(this,_Accordion_handleTransition,"f"))}update(t){super.update(t),(t.has("expanded")||t.has("disabled"))&&__classPrivateFieldGet$1(this,_Accordion_instances,"m",_Accordion_handleExpand).call(this)}disconnectedCallback(){super.disconnectedCallback(),__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).removeEventListener("transitionend",__classPrivateFieldGet$1(this,_Accordion_handleTransition,"f")),this.resizeObserver.disconnect()}render(){return x`
221
+ `]}e$6(a$4,"media-"),t$4(["none"],_,!0),toCSSValue=h;const icons=new Map([["alert-circle",()=>import("./alert-circle-13ESz5ak-ruz_HSn3.js")],["arrow-left",()=>import("./arrow-left-BIb7jStw-DT5V_pxw.js")],["arrow-right",()=>import("./arrow-right-Wku0rRI4-DQQXIvFX.js")],["arrow-sort-down",()=>import("./arrow-sort-down-C3RSPGLc-BnY5Q4D3.js")],["arrow-sort-up",()=>import("./arrow-sort-up-C1WwiQwF-CZuf4YLn.js")],["arrow-sort-up-down",()=>import("./arrow-sort-up-down-NESBEFJF-C8MwEfyl.js")],["attention",()=>import("./attention-WyayRaua-BiJBHLWj.js")],["bell",()=>import("./bell-Clm8vjZV-DQIeHHmN.js")],["calendar",()=>import("./calendar-BRIt01fG-Dmj-ATgI.js")],["canada-flag",()=>import("./canada-flag-CtubPybt-CcBbaB6P.js")],["caret-down",()=>import("./caret-down-CbGsyZM2-D59nexsI.js")],["caret-left",()=>import("./caret-left--WzPVkEi-B8etqB0O.js")],["caret-right",()=>import("./caret-right-B8YYUqFi-C0igTq4U.js")],["caret-up",()=>import("./caret-up-BGiFV-Dg-Db9-qcaW.js")],["check",()=>import("./check-CVTSfUcw-DBty4XVc.js")],["close",()=>import("./close-D7cBQXEF-Dv0PVyUS.js")],["double-caret-left",()=>import("./double-caret-left-Uqi0RfBk-MtVeUzqQ.js")],["double-caret-right",()=>import("./double-caret-right-CDksftDh-Bhn-yTX6.js")],["indeterminate",()=>import("./indeterminate-BDGHbswY-Bxr4qmv9.js")],["info-circle",()=>import("./info-circle-DXejYqGk-CseOI-JK.js")],["mexico-flag",()=>import("./mexico-flag-B5FobyK_-DvHkcRBs.js")],["pencil",()=>import("./pencil-CU-oQ9JK-C7c94L6U.js")],["plus",()=>import("./plus-ahnlojdq-C7xMI4Yz.js")],["telephone",()=>import("./telephone-Bs5Zwfs--COv31kn6.js")],["trash",()=>import("./trash-ClFxC-Bb-DypUwY92.js")],["united-states-flag",()=>import("./united-states-flag-cGVvcvd_-CwiAdoDc.js")],["user",()=>import("./user-BQBtu3DJ-3D8IDPNQ.js")],["question",()=>import("./question-BmAxpIax-CT_ZBBc1.js")]]),AVAILABLE_ICONS=[...icons.keys()];var _Icon_loadIcon,_Accordion_instances,_Accordion_accordionTrigger_get,_Accordion_accordionPanel_get,_Accordion_accordionContent_get,_Accordion_handleExpand,_Accordion_toggle,_Accordion_handleTransition;class Icon extends s$6{static get properties(){return{name:{type:String},size:{type:String},color:{type:String},loading:{state:!0}}}constructor(){super(),this.icon=null,_Icon_loadIcon.set(this,(async()=>{icons.has(this.name);try{this.icon=null;const{default:t}=await icons.get(this.name)();this.icon=t}catch{}finally{this.requestUpdate()}})),this.icon=null}connectedCallback(){super.connectedCallback(),__classPrivateFieldGet(this,_Icon_loadIcon,"f").call(this)}update(t){super.update(t),t.has("name")&&__classPrivateFieldGet(this,_Icon_loadIcon,"f").call(this)}updated(t){super.updated(t),t.has("size")&&null!=this.size&&this.style.setProperty("--m-icon-size",`${parseInt(String(this.size),10)||16}px`),t.has("color")&&null!=this.color&&this.style.setProperty("--m-icon-color",toCSSValue(this.color))}render(){return null!=this.name&&icons.has(this.name)&&null!=this.icon?this.icon:A}}_Icon_loadIcon=new WeakMap,Icon.styles=[styles$G()],window.customElements.define("m-icon",Icon);class Accordion extends Component{static get properties(){return{disabled:{type:Boolean,reflect:!0},expanded:{type:Boolean,reflect:!0}}}constructor(){super(),_Accordion_instances.add(this),_Accordion_handleTransition.set(this,(()=>{this.expanded&&!this.disabled&&(__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).style.height="auto")})),this.disabled=!1,this.expanded=!1,this.resizeObserver=new ResizeObserver((t=>{this.panelHeight=t[0].target.scrollHeight}))}firstUpdated(){__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionContent_get).style.transition="visibility 0.35s",__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionContent_get).setAttribute("role","region"),this.resizeObserver.observe(__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get)),__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).addEventListener("transitionend",__classPrivateFieldGet$1(this,_Accordion_handleTransition,"f"))}update(t){super.update(t),(t.has("expanded")||t.has("disabled"))&&__classPrivateFieldGet$1(this,_Accordion_instances,"m",_Accordion_handleExpand).call(this)}disconnectedCallback(){super.disconnectedCallback(),__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).removeEventListener("transitionend",__classPrivateFieldGet$1(this,_Accordion_handleTransition,"f")),this.resizeObserver.disconnect()}render(){return x`
222
222
  <article class="m-accordion">
223
223
  <h3 class="m-accordion-header">
224
224
  <button
@@ -242,10 +242,10 @@ const t$3=window,e$5=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.native
242
242
  <slot name="content"></slot>
243
243
  </section>
244
244
  </article>
245
- `}}_Accordion_handleTransition=new WeakMap,_Accordion_instances=new WeakSet,_Accordion_accordionTrigger_get=function(){return this.renderRoot.querySelector(".m-accordion-trigger")},_Accordion_accordionPanel_get=function(){return this.renderRoot.querySelector(".m-accordion-panel")},_Accordion_accordionContent_get=function(){return this.querySelector("m-accordion-content")},_Accordion_handleExpand=function(){__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionTrigger_get).setAttribute("aria-expanded",`${this.expanded&&!this.disabled}`),__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).style.height=`${this.panelHeight}px`,this.expanded&&!this.disabled?__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionContent_get).style.visibility="visible":setTimeout((()=>{__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).style.height="0px",__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionContent_get).style.visibility="hidden"}))},_Accordion_toggle=function(){this.expanded=!this.expanded,this.emit("m-toggle",{detail:{name:"accordion",value:this.expanded}})},Accordion.styles=[styles$I()],window.customElements.define("m-accordion",Accordion);class AccordionTitle extends Component{static get properties(){return{slot:{type:String,reflect:!0}}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.slot="title"}render(){return x`
245
+ `}}_Accordion_handleTransition=new WeakMap,_Accordion_instances=new WeakSet,_Accordion_accordionTrigger_get=function(){return this.renderRoot.querySelector(".m-accordion-trigger")},_Accordion_accordionPanel_get=function(){return this.renderRoot.querySelector(".m-accordion-panel")},_Accordion_accordionContent_get=function(){return this.querySelector("m-accordion-content")},_Accordion_handleExpand=function(){__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionTrigger_get).setAttribute("aria-expanded",`${this.expanded&&!this.disabled}`),__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).style.height=`${this.panelHeight}px`,this.expanded&&!this.disabled?__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionContent_get).style.visibility="visible":setTimeout((()=>{__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).style.height="0px",__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionContent_get).style.visibility="hidden"}))},_Accordion_toggle=function(){this.expanded=!this.expanded,this.emit("m-toggle",{detail:{name:"accordion",value:this.expanded}})},Accordion.styles=[styles$H()],window.customElements.define("m-accordion",Accordion);class AccordionTitle extends Component{static get properties(){return{slot:{type:String,reflect:!0}}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.slot="title"}render(){return x`
246
246
  <slot name="leading"></slot>
247
247
  <div class="m-accordion-text"><slot></slot></div>
248
- `}}AccordionTitle.styles=[accordionTitleStyles()],window.customElements.define("m-accordion-title",AccordionTitle);class AccordionContent extends s$a{static get properties(){return{slot:{type:String,reflect:!0}}}connectedCallback(){super.connectedCallback(),this.slot="content"}render(){return x`<div class="m-accordion-content"><slot></slot></div>`}}function styles$G(){return i$5`
248
+ `}}AccordionTitle.styles=[accordionTitleStyles()],window.customElements.define("m-accordion-title",AccordionTitle);class AccordionContent extends s$a{static get properties(){return{slot:{type:String,reflect:!0}}}connectedCallback(){super.connectedCallback(),this.slot="content"}render(){return x`<div class="m-accordion-content"><slot></slot></div>`}}function styles$F(){return i$5`
249
249
  :host {
250
250
  display: block;
251
251
  }
@@ -254,7 +254,7 @@ const t$3=window,e$5=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.native
254
254
  * @license
255
255
  * Copyright 2018 Google LLC
256
256
  * SPDX-License-Identifier: BSD-3-Clause
257
- */AccordionContent.styles=[accordionContentStyles()],window.customElements.define("m-accordion-content",AccordionContent);const l$2=t=>null!=t?t:A$1;function styles$F(t="#button"){return i$5`
257
+ */AccordionContent.styles=[accordionContentStyles()],window.customElements.define("m-accordion-content",AccordionContent);const l$2=t=>null!=t?t:A$1;function styles$E(t="#button"){return i$5`
258
258
  :host {
259
259
  contain: layout style;
260
260
 
@@ -367,7 +367,7 @@ const t$3=window,e$5=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.native
367
367
  slot[name='trailing']::slotted(span) {
368
368
  justify-content: center;
369
369
  }
370
- `}function styles$E(){return[styles$F(),i$5`
370
+ `}function styles$D(){return[styles$E(),i$5`
371
371
  :host([variant='primary']) {
372
372
  --m-button-background-color: ${getColor("color-primary-60")};
373
373
  --m-button-border-color: ${getColor("color-primary-60")};
@@ -649,11 +649,11 @@ const t$3=window,e$5=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.native
649
649
  <!-- TODO: Replace this with the loading dots component as soon as it is ready. -->
650
650
  ${this.loading&&!["icon","icon-secondary"].includes(this.variant)?x`<span id="loader">&#x25cf;&#x25cf;&#x25cf;</span>`:A$1}
651
651
  ${t?this.renderAsLink():this.renderAsButton()}
652
- `}get button(){return this.renderRoot?.querySelector("button")??null}get anchor(){return this.renderRoot?.querySelector("a")??null}formDisabledCallback(t){super.formDisabledCallback(t),__classPrivateFieldGet$1(this,_Button_handleDisabledChange,"f").call(this,t)}}_Button_handleDisabledChange=new WeakMap,_Button_handleClick=new WeakMap,_Button_handleLinkClick=new WeakMap,_Button_handleSubmit=new WeakMap,_Button_handleReset=new WeakMap,_Button_isDisabled=new WeakMap,_Button_isLink=new WeakMap,Button.shadowRootOptions={...s$a.shadowRootOptions,delegatesFocus:!0},Button.styles=[styles$E()],window.customElements.define("m-button",Button);class BackButton extends s$a{static get properties(){return{slot:{type:String,reflect:!0}}}constructor(){super(),this.slot="back-button"}render(){return x`
652
+ `}get button(){return this.renderRoot?.querySelector("button")??null}get anchor(){return this.renderRoot?.querySelector("a")??null}formDisabledCallback(t){super.formDisabledCallback(t),__classPrivateFieldGet$1(this,_Button_handleDisabledChange,"f").call(this,t)}}_Button_handleDisabledChange=new WeakMap,_Button_handleClick=new WeakMap,_Button_handleLinkClick=new WeakMap,_Button_handleSubmit=new WeakMap,_Button_handleReset=new WeakMap,_Button_isDisabled=new WeakMap,_Button_isLink=new WeakMap,Button.shadowRootOptions={...s$a.shadowRootOptions,delegatesFocus:!0},Button.styles=[styles$D()],window.customElements.define("m-button",Button);class BackButton extends s$a{static get properties(){return{slot:{type:String,reflect:!0}}}constructor(){super(),this.slot="back-button"}render(){return x`
653
653
  <m-button variant="icon" size="default">
654
654
  <m-icon name="arrow-left"></m-icon>
655
655
  </m-button>
656
- `}}BackButton.styles=[styles$G()],window.customElements.define("m-back-button",BackButton);
656
+ `}}BackButton.styles=[styles$F()],window.customElements.define("m-back-button",BackButton);
657
657
  /**
658
658
  * @license
659
659
  * Copyright 2017 Google LLC
@@ -664,7 +664,7 @@ const t$2={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6}
664
664
  * @license
665
665
  * Copyright 2018 Google LLC
666
666
  * SPDX-License-Identifier: BSD-3-Clause
667
- */const o$3=e$4(class extends i$2{constructor(t){var e;if(super(t),t.type!==t$2.ATTRIBUTE||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var o,i;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(o=this.nt)||void 0===o?void 0:o.has(t))&&this.it.add(t);return this.render(e)}const r=t.element.classList;this.it.forEach((t=>{t in e||(r.remove(t),this.it.delete(t))}));for(const t in e){const o=!!e[t];o===this.it.has(t)||(null===(i=this.nt)||void 0===i?void 0:i.has(t))||(o?(r.add(t),this.it.add(t)):(r.remove(t),this.it.delete(t)))}return T$1}});function styles$D(){return i$5`
667
+ */const o$3=e$4(class extends i$2{constructor(t){var e;if(super(t),t.type!==t$2.ATTRIBUTE||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var o,i;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(o=this.nt)||void 0===o?void 0:o.has(t))&&this.it.add(t);return this.render(e)}const r=t.element.classList;this.it.forEach((t=>{t in e||(r.remove(t),this.it.delete(t))}));for(const t in e){const o=!!e[t];o===this.it.has(t)||(null===(i=this.nt)||void 0===i?void 0:i.has(t))||(o?(r.add(t),this.it.add(t)):(r.remove(t),this.it.delete(t)))}return T$1}});function styles$C(){return i$5`
668
668
  :host {
669
669
  --m-host-size: 24px;
670
670
  --m-badge-size: 12px;
@@ -722,7 +722,7 @@ const t$2={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6}
722
722
  class=${o$3({badge:!0,"-hidden":__classPrivateFieldGet$1(this,_Badge_instances,"a",_Badge_counter_get)<=0,"-large-badge":__classPrivateFieldGet$1(this,_Badge_instances,"a",_Badge_counter_get)>=10&&__classPrivateFieldGet$1(this,_Badge_instances,"a",_Badge_counter_get)<100,"-extra-large-badge":__classPrivateFieldGet$1(this,_Badge_instances,"a",_Badge_counter_get)>=100})}
723
723
  >${__classPrivateFieldGet$1(this,_Badge_instances,"m",_Badge_formatCounter).call(this)}</span
724
724
  >
725
- `}}_Badge_instances=new WeakSet,_Badge_counter_get=function(){return"number"!=typeof this.counter||Number.isNaN(this.counter)||this.counter<0?0:this.counter},_Badge_formatCounter=function(){return"default"===this.size?__classPrivateFieldGet$1(this,_Badge_instances,"a",_Badge_counter_get)>99?"99+":__classPrivateFieldGet$1(this,_Badge_instances,"a",_Badge_counter_get):A$1},Badge.styles=[styles$D()],window.customElements.define("m-badge",Badge);class BannerActionPrimary extends Button{constructor(){super(),this.size="small"}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","primary-action")}}window.customElements.define("m-banner-action-primary",BannerActionPrimary);class BannerActionSecondary extends Button{constructor(){super(),this.variant="tertiary",this.size="small"}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","secondary-action")}}function styles$C(){return i$5`
725
+ `}}_Badge_instances=new WeakSet,_Badge_counter_get=function(){return"number"!=typeof this.counter||Number.isNaN(this.counter)||this.counter<0?0:this.counter},_Badge_formatCounter=function(){return"default"===this.size?__classPrivateFieldGet$1(this,_Badge_instances,"a",_Badge_counter_get)>99?"99+":__classPrivateFieldGet$1(this,_Badge_instances,"a",_Badge_counter_get):A$1},Badge.styles=[styles$C()],window.customElements.define("m-badge",Badge);class BannerActionPrimary extends Button{constructor(){super(),this.size="small"}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","primary-action")}}window.customElements.define("m-banner-action-primary",BannerActionPrimary);class BannerActionSecondary extends Button{constructor(){super(),this.variant="tertiary",this.size="small"}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","secondary-action")}}function styles$B(){return i$5`
726
726
  :host {
727
727
  display: flex;
728
728
  justify-content: flex-end;
@@ -731,17 +731,17 @@ const t$2={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6}
731
731
  `}window.customElements.define("m-banner-action-secondary",BannerActionSecondary);class BannerActions extends s$a{connectedCallback(){super.connectedCallback(),this.setAttribute("slot","actions")}render(){return x`
732
732
  <slot name="secondary-action"></slot>
733
733
  <slot name="primary-action"></slot>
734
- `}}function styles$B(){return i$5`
734
+ `}}function styles$A(){return i$5`
735
735
  :host {
736
736
  ${typography("body-md")};
737
737
  color: ${getColor("color-text-secondary")};
738
738
  }
739
- `}BannerActions.styles=[styles$C()],window.customElements.define("m-banner-actions",BannerActions);class BannerDescription extends s$a{connectedCallback(){super.connectedCallback(),this.setAttribute("slot","description")}render(){return x`<slot></slot>`}}BannerDescription.styles=[styles$B()],window.customElements.define("m-banner-description",BannerDescription);class BannerIcon extends s$a{connectedCallback(){super.connectedCallback(),this.setAttribute("slot","icon")}render(){return x`<slot></slot>`}}function styles$A(){return i$5`
739
+ `}BannerActions.styles=[styles$B()],window.customElements.define("m-banner-actions",BannerActions);class BannerDescription extends s$a{connectedCallback(){super.connectedCallback(),this.setAttribute("slot","description")}render(){return x`<slot></slot>`}}BannerDescription.styles=[styles$A()],window.customElements.define("m-banner-description",BannerDescription);class BannerIcon extends s$a{connectedCallback(){super.connectedCallback(),this.setAttribute("slot","icon")}render(){return x`<slot></slot>`}}function styles$z(){return i$5`
740
740
  :host {
741
741
  ${typography("body-md-bold")};
742
742
  color: ${getColor("color-text-secondary")};
743
743
  }
744
- `}window.customElements.define("m-banner-icon",BannerIcon);class BannerTitle extends s$a{connectedCallback(){super.connectedCallback(),this.setAttribute("slot","title")}render(){return x`<slot></slot>`}}function styles$z(){return i$5`
744
+ `}window.customElements.define("m-banner-icon",BannerIcon);class BannerTitle extends s$a{connectedCallback(){super.connectedCallback(),this.setAttribute("slot","title")}render(){return x`<slot></slot>`}}function styles$y(){return i$5`
745
745
  :host {
746
746
  display: block;
747
747
  width: 100%;
@@ -811,7 +811,7 @@ const t$2={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6}
811
811
  flex-grow: 1;
812
812
  gap: ${getToken("spacing-1")};
813
813
  }
814
- `}BannerTitle.styles=[styles$A()],window.customElements.define("m-banner-title",BannerTitle);var _KeyboardSupportController_handleKeyUp,_CloseButton_instances,_CloseButton_controllers,_CloseButton_button_get,_CloseButton_handleClick,indexFlGcVSBB={BASE_PIXELS:16,toRem:function(t,e=16){return parseInt(String(t),10)/e+"rem"}},e$3=indexFlGcVSBB,toRem$1=e$3.toRem,rem=getDefaultExportFromCjs(toRem$1);function toRem(t,e){return r$9(rem(t,e))}function styles$y(){return i$5`
814
+ `}BannerTitle.styles=[styles$z()],window.customElements.define("m-banner-title",BannerTitle);var _KeyboardSupportController_handleKeyUp,_CloseButton_instances,_CloseButton_controllers,_CloseButton_button_get,_CloseButton_handleClick,indexFlGcVSBB={BASE_PIXELS:16,toRem:function(t,e=16){return parseInt(String(t),10)/e+"rem"}},e$3=indexFlGcVSBB,toRem$1=e$3.toRem,rem=getDefaultExportFromCjs(toRem$1);function toRem(t,e){return r$9(rem(t,e))}function styles$x(){return i$5`
815
815
  :host {
816
816
  /**
817
817
  * TODO: name is misleading here.
@@ -899,13 +899,13 @@ const t$2={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6}
899
899
  pointer-events: none;
900
900
  user-select: none;
901
901
  }
902
- `}function getShortcutKey(t){return[t.alt?"alt":"",t.ctrl?"ctrl":"",t.meta?"cmd":"",t.shift?"shift":"",t.key.toLowerCase()].filter(Boolean).join("+")}class KeyboardSupportController{constructor(t,e,o){this.keymap=new Map,_KeyboardSupportController_handleKeyUp.set(this,(t=>{const e=getShortcutKey({key:t.key,meta:t.metaKey,shift:t.shiftKey,ctrl:t.ctrlKey,alt:t.altKey});if(this.keymap.has(e)){this.keymap.get(e)(t)}else;})),this.keymap=new Map(toArray$1(e).reduce(((t,{shortcut:e,handler:o})=>t.concat(toArray$1(e).map((t=>[getShortcutKey(t),o])))),[])),this.getEventTarget=o?.getEventTarget??(()=>t),(this.host=t).addController(this)}async hostConnected(){this.getEventTarget(this.host).addEventListener("keyup",__classPrivateFieldGet$1(this,_KeyboardSupportController_handleKeyUp,"f"))}hostDisconnected(){this.getEventTarget(this.host).removeEventListener("keyup",__classPrivateFieldGet$1(this,_KeyboardSupportController_handleKeyUp,"f"))}}_KeyboardSupportController_handleKeyUp=new WeakMap;class CloseButton extends Component{static get properties(){return{controls:{type:String},disabled:{type:Boolean,reflect:!0},inverted:{type:Boolean,reflect:!0},label:{type:String},size:{type:String,reflect:!0}}}constructor(){super(),_CloseButton_instances.add(this),_CloseButton_controllers.set(this,void 0),_CloseButton_handleClick.set(this,(()=>{this.disabled||this.emit("m-close")})),this.disabled=!1,this.inverted=!1,this.label="Close",this.size="default",__classPrivateFieldSet(this,_CloseButton_controllers,{keyboard:new KeyboardSupportController(this,[{shortcut:[{key:"Enter"},{key:" "}],handler:t=>{const{target:e}=t;e&&__classPrivateFieldGet$1(this,_CloseButton_handleClick,"f").call(this)}}])},"f")}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.controls&&this.setAttribute("aria-controls",this.controls),this.addEventListener("click",__classPrivateFieldGet$1(this,_CloseButton_handleClick,"f"))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",__classPrivateFieldGet$1(this,_CloseButton_handleClick,"f"))}update(t){super.update(t),t.has("label")&&!this.hasAttribute("aria-label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label")),t.has("disabled")&&(this.disabled?(this.setAttribute("aria-disabled","true"),this.setAttribute("tabindex","-1")):(this.setAttribute("tabindex","0"),this.removeAttribute("aria-disabled")))}render(){return x`<m-icon name="close"></m-icon>`}focus(t){__classPrivateFieldGet$1(this,_CloseButton_instances,"a",_CloseButton_button_get)?.focus(t)}}_CloseButton_controllers=new WeakMap,_CloseButton_handleClick=new WeakMap,_CloseButton_instances=new WeakSet,_CloseButton_button_get=function(){return this.renderRoot.querySelector("button")??null},CloseButton.styles=[styles$y()],window.customElements.define("m-close-button",CloseButton);
902
+ `}function getShortcutKey(t){return[t.alt?"alt":"",t.ctrl?"ctrl":"",t.meta?"cmd":"",t.shift?"shift":"",t.key.toLowerCase()].filter(Boolean).join("+")}class KeyboardSupportController{constructor(t,e,o){this.keymap=new Map,_KeyboardSupportController_handleKeyUp.set(this,(t=>{const e=getShortcutKey({key:t.key,meta:t.metaKey,shift:t.shiftKey,ctrl:t.ctrlKey,alt:t.altKey});if(this.keymap.has(e)){this.keymap.get(e)(t)}else;})),this.keymap=new Map(toArray$1(e).reduce(((t,{shortcut:e,handler:o})=>t.concat(toArray$1(e).map((t=>[getShortcutKey(t),o])))),[])),this.getEventTarget=o?.getEventTarget??(()=>t),(this.host=t).addController(this)}async hostConnected(){this.getEventTarget(this.host).addEventListener("keyup",__classPrivateFieldGet$1(this,_KeyboardSupportController_handleKeyUp,"f"))}hostDisconnected(){this.getEventTarget(this.host).removeEventListener("keyup",__classPrivateFieldGet$1(this,_KeyboardSupportController_handleKeyUp,"f"))}}_KeyboardSupportController_handleKeyUp=new WeakMap;class CloseButton extends Component{static get properties(){return{controls:{type:String},disabled:{type:Boolean,reflect:!0},inverted:{type:Boolean,reflect:!0},label:{type:String},size:{type:String,reflect:!0}}}constructor(){super(),_CloseButton_instances.add(this),_CloseButton_controllers.set(this,void 0),_CloseButton_handleClick.set(this,(()=>{this.disabled||this.emit("m-close")})),this.disabled=!1,this.inverted=!1,this.label="Close",this.size="default",__classPrivateFieldSet(this,_CloseButton_controllers,{keyboard:new KeyboardSupportController(this,[{shortcut:[{key:"Enter"},{key:" "}],handler:t=>{const{target:e}=t;e&&__classPrivateFieldGet$1(this,_CloseButton_handleClick,"f").call(this)}}])},"f")}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.controls&&this.setAttribute("aria-controls",this.controls),this.addEventListener("click",__classPrivateFieldGet$1(this,_CloseButton_handleClick,"f"))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",__classPrivateFieldGet$1(this,_CloseButton_handleClick,"f"))}update(t){super.update(t),t.has("label")&&!this.hasAttribute("aria-label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label")),t.has("disabled")&&(this.disabled?(this.setAttribute("aria-disabled","true"),this.setAttribute("tabindex","-1")):(this.setAttribute("tabindex","0"),this.removeAttribute("aria-disabled")))}render(){return x`<m-icon name="close"></m-icon>`}focus(t){__classPrivateFieldGet$1(this,_CloseButton_instances,"a",_CloseButton_button_get)?.focus(t)}}_CloseButton_controllers=new WeakMap,_CloseButton_handleClick=new WeakMap,_CloseButton_instances=new WeakSet,_CloseButton_button_get=function(){return this.renderRoot.querySelector("button")??null},CloseButton.styles=[styles$x()],window.customElements.define("m-close-button",CloseButton);
903
903
  /**
904
904
  * @license
905
905
  * Copyright 2020 Google LLC
906
906
  * SPDX-License-Identifier: BSD-3-Clause
907
907
  */
908
- const e$2=Symbol.for(""),l$1=t=>{if((null==t?void 0:t.r)===e$2)return null==t?void 0:t._$litStatic$},o$2=t=>({_$litStatic$:t,r:e$2}),i$1=(t,...e)=>({_$litStatic$:e.reduce(((e,o,i)=>e+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(o)+t[i+1]),t[0]),r:e$2}),s$1=new Map,a=t=>(e,...o)=>{const i=o.length;let r,n;const s=[],a=[];let l,c=0,d=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=l$1(n));)l+=r+e[++c],d=!0;c!==i&&a.push(n),s.push(l),c++}if(c===i&&s.push(e[i]),d){const t=s.join("$$lit$$");void 0===(e=s$1.get(t))&&(s.raw=s,s$1.set(t,e=s)),o=a}return t(e,...o)},n$3=a(x);function styles$x(){return i$5`
908
+ const e$2=Symbol.for(""),l$1=t=>{if((null==t?void 0:t.r)===e$2)return null==t?void 0:t._$litStatic$},o$2=t=>({_$litStatic$:t,r:e$2}),i$1=(t,...e)=>({_$litStatic$:e.reduce(((e,o,i)=>e+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(o)+t[i+1]),t[0]),r:e$2}),s$1=new Map,a=t=>(e,...o)=>{const i=o.length;let r,n;const s=[],a=[];let l,c=0,d=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=l$1(n));)l+=r+e[++c],d=!0;c!==i&&a.push(n),s.push(l),c++}if(c===i&&s.push(e[i]),d){const t=s.join("$$lit$$");void 0===(e=s$1.get(t))&&(s.raw=s,s$1.set(t,e=s)),o=a}return t(e,...o)},n$3=a(x);function styles$w(){return i$5`
909
909
  :host {
910
910
  --m-text-color: ${getColor("color-text-primary")};
911
911
  --m-text-display: inline-block;
@@ -1050,7 +1050,7 @@ const e$2=Symbol.for(""),l$1=t=>{if((null==t?void 0:t.r)===e$2)return null==t?vo
1050
1050
  white-space: nowrap;
1051
1051
  max-width: var(--m-text-max-width);
1052
1052
  }
1053
- `}class Text extends s$a{static get properties(){return{as:{type:String,reflect:!0},color:{type:String,reflect:!0},ellipsized:{type:Boolean,reflect:!0},variant:{type:String,reflect:!0}}}constructor(){super(),this.ellipsized=!1,this.variant="body-md"}update(t){if(super.update(t),t.has("color")&&this.color&&this.style.setProperty("--m-text-color",toCSSValue$1(this.color)),t.has("as")&&this.as){const[,t]=this.as.split("h");t?(this.ariaLevel=t,this.role="heading"):(this.ariaLevel=null,this.role=null)}}render(){return n$3`<slot></slot>`}}var _Banner_primaryAction,_Banner_handleDismissClick;function getIcon(t){switch(t){case"success":return"check";case"warning":case"danger":return"attention";default:return"info-circle"}}function getPrimaryActionVariant(t){switch(t){case"warning":return"warning";case"danger":return"danger";default:return"primary"}}Text.styles=[styles$x()],window.customElements.define("m-text",Text);class Banner extends Component{static get properties(){return{variant:{type:String},dismissible:{type:Boolean},dismissed:{type:Boolean,reflect:!0}}}constructor(){super(),_Banner_primaryAction.set(this,void 0),_Banner_handleDismissClick.set(this,(()=>{this.dismissed=!0,this.emit("m-dismiss",{composed:!0})})),this.variant="neutral",this.dismissible=!1,this.dismissed=!1}get primaryAction(){return null==__classPrivateFieldGet$1(this,_Banner_primaryAction,"f")&&__classPrivateFieldSet(this,_Banner_primaryAction,this.querySelector("m-banner-action-primary"),"f"),__classPrivateFieldGet$1(this,_Banner_primaryAction,"f")}updated(t){super.updated(t),t.has("variant")&&null!=this.primaryAction&&(this.primaryAction.variant=getPrimaryActionVariant(this.variant))}render(){if(this.dismissed)return A$1;const t=null!=this.querySelector("*[slot='description']"),e=null!=this.querySelector("*[slot='actions']"),o=x`
1053
+ `}class Text extends s$a{static get properties(){return{as:{type:String,reflect:!0},color:{type:String,reflect:!0},ellipsized:{type:Boolean,reflect:!0},variant:{type:String,reflect:!0}}}constructor(){super(),this.ellipsized=!1,this.variant="body-md"}update(t){if(super.update(t),t.has("color")&&this.color&&this.style.setProperty("--m-text-color",toCSSValue$1(this.color)),t.has("as")&&this.as){const[,t]=this.as.split("h");t?(this.ariaLevel=t,this.role="heading"):(this.ariaLevel=null,this.role=null)}}render(){return n$3`<slot></slot>`}}var _Banner_primaryAction,_Banner_handleDismissClick;function getIcon(t){switch(t){case"success":return"check";case"warning":case"danger":return"attention";default:return"info-circle"}}function getPrimaryActionVariant(t){switch(t){case"warning":return"warning";case"danger":return"danger";default:return"primary"}}Text.styles=[styles$w()],window.customElements.define("m-text",Text);class Banner extends Component{static get properties(){return{variant:{type:String},dismissible:{type:Boolean},dismissed:{type:Boolean,reflect:!0}}}constructor(){super(),_Banner_primaryAction.set(this,void 0),_Banner_handleDismissClick.set(this,(()=>{this.dismissed=!0,this.emit("m-dismiss",{composed:!0})})),this.variant="neutral",this.dismissible=!1,this.dismissed=!1}get primaryAction(){return null==__classPrivateFieldGet$1(this,_Banner_primaryAction,"f")&&__classPrivateFieldSet(this,_Banner_primaryAction,this.querySelector("m-banner-action-primary"),"f"),__classPrivateFieldGet$1(this,_Banner_primaryAction,"f")}updated(t){super.updated(t),t.has("variant")&&null!=this.primaryAction&&(this.primaryAction.variant=getPrimaryActionVariant(this.variant))}render(){if(this.dismissed)return A$1;const t=null!=this.querySelector("*[slot='description']"),e=null!=this.querySelector("*[slot='actions']"),o=x`
1054
1054
  <m-close-button
1055
1055
  id="close"
1056
1056
  label="Dismiss"
@@ -1072,7 +1072,7 @@ const e$2=Symbol.for(""),l$1=t=>{if((null==t?void 0:t.r)===e$2)return null==t?vo
1072
1072
  </div>
1073
1073
  <slot name="actions"></slot>
1074
1074
  </div>
1075
- `}}function styles$w(){return i$5`
1075
+ `}}function styles$v(){return i$5`
1076
1076
  :host {
1077
1077
  display: block;
1078
1078
  box-sizing: border-box;
@@ -1092,7 +1092,7 @@ const e$2=Symbol.for(""),l$1=t=>{if((null==t?void 0:t.r)===e$2)return null==t?vo
1092
1092
  padding: ${getToken("spacing-6")};
1093
1093
  }
1094
1094
  `)}
1095
- `}_Banner_primaryAction=new WeakMap,_Banner_handleDismissClick=new WeakMap,Banner.styles=[styles$z()],window.customElements.define("m-banner",Banner);class Body extends s$a{static get properties(){return{slot:{type:String,reflect:!0}}}constructor(){super(),this.slot="page-body"}render(){return n$3`<div class="body-wrapper"><slot></slot></div>`}}Body.styles=[styles$w()],window.customElements.define("m-body",Body);
1095
+ `}_Banner_primaryAction=new WeakMap,_Banner_handleDismissClick=new WeakMap,Banner.styles=[styles$y()],window.customElements.define("m-banner",Banner);class Body extends s$a{static get properties(){return{slot:{type:String,reflect:!0}}}constructor(){super(),this.slot="page-body"}render(){return n$3`<div class="body-wrapper"><slot></slot></div>`}}Body.styles=[styles$v()],window.customElements.define("m-body",Body);
1096
1096
  /**
1097
1097
  * @license
1098
1098
  * Copyright 2018 Google LLC
@@ -1463,7 +1463,7 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
1463
1463
  <slot name="leading"></slot>
1464
1464
  <slot></slot>
1465
1465
  </div>
1466
- `}}function styles$v(){return i$5`
1466
+ `}}function styles$u(){return i$5`
1467
1467
  .m-divider {
1468
1468
  border: 0;
1469
1469
  border-block-end: solid 1px ${getColor("color-divider")};
@@ -1476,7 +1476,7 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
1476
1476
  var(--m-divider-margin-y, 0)
1477
1477
  );
1478
1478
  }
1479
- `}CardTitle.styles=[cardTitleStyles()],window.customElements.define("m-card-title",CardTitle);class Divider extends s$a{render(){return x`<hr class="m-divider" />`}}Divider.styles=[styles$v()],window.customElements.define("m-divider",Divider);class CardDivider extends Divider{constructor(){super(),this.slot="divider"}}CardDivider.styles=[...Divider.styles,cardDividerStyles()],CardDivider.properties={slot:{attribute:!0,type:String,reflect:!0}},window.customElements.define("m-card-divider",CardDivider);class CardFooter extends s$a{static get properties(){return{slot:{type:String,reflect:!0},gap:{type:String},align:{type:String},justify:{type:String}}}constructor(){super(),this.slot="footer",this.gap="spacing-2",this.align="stretch",this.justify="flex-start"}render(){return x`<div class="m-card-footer">
1479
+ `}CardTitle.styles=[cardTitleStyles()],window.customElements.define("m-card-title",CardTitle);class Divider extends s$a{render(){return x`<hr class="m-divider" />`}}Divider.styles=[styles$u()],window.customElements.define("m-divider",Divider);class CardDivider extends Divider{constructor(){super(),this.slot="divider"}}CardDivider.styles=[...Divider.styles,cardDividerStyles()],CardDivider.properties={slot:{attribute:!0,type:String,reflect:!0}},window.customElements.define("m-card-divider",CardDivider);class CardFooter extends s$a{static get properties(){return{slot:{type:String,reflect:!0},gap:{type:String},align:{type:String},justify:{type:String}}}constructor(){super(),this.slot="footer",this.gap="spacing-2",this.align="stretch",this.justify="flex-start"}render(){return x`<div class="m-card-footer">
1480
1480
  <m-card-divider></m-card-divider>
1481
1481
  <m-group
1482
1482
  gap=${this.gap}
@@ -1487,7 +1487,7 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
1487
1487
  >
1488
1488
  <slot></slot>
1489
1489
  </m-group>
1490
- </div>`}}window.customElements.define("m-card-footer",CardFooter);class CardActionPrimary extends Button{constructor(){super(),this.type="button",this.variant="primary"}}window.customElements.define("m-card-action-primary",CardActionPrimary);class CardActionSecondary extends Button{constructor(){super(),this.type="button",this.variant="secondary"}}window.customElements.define("m-card-action-secondary",CardActionSecondary);class CardActionTertiary extends Button{constructor(){super(),this.type="button",this.variant="tertiary"}}function styles$u(){return i$5`
1490
+ </div>`}}window.customElements.define("m-card-footer",CardFooter);class CardActionPrimary extends Button{constructor(){super(),this.type="button",this.variant="primary"}}window.customElements.define("m-card-action-primary",CardActionPrimary);class CardActionSecondary extends Button{constructor(){super(),this.type="button",this.variant="secondary"}}window.customElements.define("m-card-action-secondary",CardActionSecondary);class CardActionTertiary extends Button{constructor(){super(),this.type="button",this.variant="tertiary"}}function styles$t(){return i$5`
1491
1491
  :host {
1492
1492
  contain: layout style;
1493
1493
 
@@ -1645,7 +1645,7 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
1645
1645
  <label id="label" for="input">
1646
1646
  <slot></slot>
1647
1647
  </label>
1648
- `}get input(){return this.renderRoot?.querySelector("#input")??null}set checked(t){__classPrivateFieldGet$1(this,_Checkbox_handleCheckedChange,"f").call(this,t)}get checked(){return Boolean(this.input?.checked)}set indeterminate(t){__classPrivateFieldGet$1(this,_Checkbox_handleIndeterminateChange,"f").call(this,t)}get indeterminate(){return Boolean(this.input?.indeterminate)}formResetCallback(){__classPrivateFieldGet$1(this,_Checkbox_instances,"m",_Checkbox_initialize).call(this)}formStateRestoreCallback(t){null!=t&&(this.checked=Boolean(t))}formDisabledCallback(t){super.formDisabledCallback(t),__classPrivateFieldGet$1(this,_Checkbox_handleDisabledChange,"f").call(this,t)}}_Checkbox_handleCheckedChange=new WeakMap,_Checkbox_handleDisabledChange=new WeakMap,_Checkbox_handleIndeterminateChange=new WeakMap,_Checkbox_handleValueChange=new WeakMap,_Checkbox_handleInternalClick=new WeakMap,_Checkbox_handleHostClick=new WeakMap,_Checkbox_handleChange=new WeakMap,_Checkbox_instances=new WeakSet,_Checkbox_initialize=function(t){__classPrivateFieldGet$1(this,_Checkbox_handleCheckedChange,"f").call(this,t??this.hasAttribute("initial-checked")),__classPrivateFieldGet$1(this,_Checkbox_handleIndeterminateChange,"f").call(this,this.hasAttribute("indeterminate"))},Checkbox.shadowRootOptions={...s$a.shadowRootOptions,delegatesFocus:!0},Checkbox.styles=[styles$u()],window.customElements.define("m-checkbox",Checkbox);var waitForAnimations_1=async function(t,e){const o=t.getAnimations(e).map((({finished:t})=>t));await Promise.allSettled(o)};let isAttached=!1;function attachContextRoot(){if(isAttached)return;(new t$6).attach(document.body),isAttached=!0}const dialogContext=n$9(Symbol("dialog"));function styles$t(){return i$5`
1648
+ `}get input(){return this.renderRoot?.querySelector("#input")??null}set checked(t){__classPrivateFieldGet$1(this,_Checkbox_handleCheckedChange,"f").call(this,t)}get checked(){return Boolean(this.input?.checked)}set indeterminate(t){__classPrivateFieldGet$1(this,_Checkbox_handleIndeterminateChange,"f").call(this,t)}get indeterminate(){return Boolean(this.input?.indeterminate)}formResetCallback(){__classPrivateFieldGet$1(this,_Checkbox_instances,"m",_Checkbox_initialize).call(this)}formStateRestoreCallback(t){null!=t&&(this.checked=Boolean(t))}formDisabledCallback(t){super.formDisabledCallback(t),__classPrivateFieldGet$1(this,_Checkbox_handleDisabledChange,"f").call(this,t)}}_Checkbox_handleCheckedChange=new WeakMap,_Checkbox_handleDisabledChange=new WeakMap,_Checkbox_handleIndeterminateChange=new WeakMap,_Checkbox_handleValueChange=new WeakMap,_Checkbox_handleInternalClick=new WeakMap,_Checkbox_handleHostClick=new WeakMap,_Checkbox_handleChange=new WeakMap,_Checkbox_instances=new WeakSet,_Checkbox_initialize=function(t){__classPrivateFieldGet$1(this,_Checkbox_handleCheckedChange,"f").call(this,t??this.hasAttribute("initial-checked")),__classPrivateFieldGet$1(this,_Checkbox_handleIndeterminateChange,"f").call(this,this.hasAttribute("indeterminate"))},Checkbox.shadowRootOptions={...s$a.shadowRootOptions,delegatesFocus:!0},Checkbox.styles=[styles$t()],window.customElements.define("m-checkbox",Checkbox);var waitForAnimations_1=async function(t,e){const o=t.getAnimations(e).map((({finished:t})=>t));await Promise.allSettled(o)};let isAttached=!1;function attachContextRoot(){if(isAttached)return;(new t$6).attach(document.body),isAttached=!0}const dialogContext=n$9(Symbol("dialog"));function styles$s(){return i$5`
1649
1649
  :host {
1650
1650
  --margin: ${getToken("spacing-6")};
1651
1651
  --padding: ${getToken("spacing-6")};
@@ -1749,14 +1749,14 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
1749
1749
  <slot name="footer"></slot>
1750
1750
  <slot name="actions"></slot>
1751
1751
  </dialog>
1752
- `}updated(t){super.updated(t),t.has("variant")&&__classPrivateFieldGet$1(this,_Dialog_contextProvider,"f").setValue({variant:this.variant??"neutral"}),t.has("open")&&__classPrivateFieldGet$1(this,_Dialog_instances,"m",_Dialog_toggleVisibility).call(this,t.get("open"))}show(){this.open=!0}hide(){this.open=!1}}_Dialog_contextProvider=new WeakMap,_Dialog_instances=new WeakSet,_Dialog_dialog_get=function(){return this.renderRoot?.querySelector("dialog")},_Dialog_toggleVisibility=async function(t){const e=__classPrivateFieldGet$1(this,_Dialog_instances,"a",_Dialog_dialog_get);e&&(!t&&this.open?(this.style.display="block",__classPrivateFieldGet$1(this,_Dialog_instances,"m",_Dialog_emitLifecycleEvent).call(this,"m-opening"),e.showModal(),await waitForAnimations_1(e),__classPrivateFieldGet$1(this,_Dialog_instances,"m",_Dialog_emitLifecycleEvent).call(this,"m-opened")):t&&!this.open?(__classPrivateFieldGet$1(this,_Dialog_instances,"m",_Dialog_emitLifecycleEvent).call(this,"m-closing"),e.classList.add("is-hiding"),await waitForAnimations_1(e),e.classList.remove("is-hiding"),e.close(),__classPrivateFieldGet$1(this,_Dialog_instances,"m",_Dialog_emitLifecycleEvent).call(this,"m-closed"),this.style.display="none"):null!=t||this.open||(this.style.display="none"))},_Dialog_emitLifecycleEvent=function(t){this.emit(t,{cancelable:!1,bubbles:!1})},_Dialog_emitCloseEvent=function(){this.open&&this.emit("m-close")},_Dialog_handleClick=function(t){const e=t.target instanceof HTMLDialogElement,o=__classPrivateFieldGet$1(this,_Dialog_instances,"a",_Dialog_dialog_get)?.getBoundingClientRect();if(e&&o){(t.clientY<o.top||t.clientY>o.bottom||t.clientX<o.left||t.clientX>o.right)&&(t.preventDefault(),t.stopPropagation(),__classPrivateFieldGet$1(this,_Dialog_instances,"m",_Dialog_emitCloseEvent).call(this))}},_Dialog_handleCancel=function(t){t.preventDefault(),__classPrivateFieldGet$1(this,_Dialog_instances,"m",_Dialog_emitCloseEvent).call(this)},Dialog.styles=[styles$t()],window.customElements.define("m-dialog",Dialog);const DIALOG_SIZES=["small","medium","large","extra-large"],DIALOG_VARIANTS=["neutral","success","warning","danger"];var _DialogActionPrimary_contextCallback,_DialogHeader_instances,_DialogHeader_context,_DialogHeader_icon_get,_Drawer_instances,_Drawer_dialog_get,_Drawer_toggleVisibility,_Drawer_emitLifecycleEvent,_Drawer_emitCloseEvent,_Drawer_handleClick,_Drawer_handleCancel;class DialogActionPrimary extends Button{constructor(){super(),_DialogActionPrimary_contextCallback.set(this,(t=>{switch(t.variant){case"danger":this.variant="danger";break;case"warning":this.variant="warning";break;default:this.variant="primary"}})),this.type="button",this.variant="primary",this.context=new s$8(this,{context:dialogContext,callback:__classPrivateFieldGet$1(this,_DialogActionPrimary_contextCallback,"f"),subscribe:!0})}}_DialogActionPrimary_contextCallback=new WeakMap,window.customElements.define("m-dialog-action-primary",DialogActionPrimary);class DialogActionSecondary extends Button{constructor(){super(),this.type="button",this.variant="secondary"}}window.customElements.define("m-dialog-action-secondary",DialogActionSecondary);class DialogActionTertiary extends Button{constructor(){super(),this.type="button",this.variant="tertiary"}}window.customElements.define("m-dialog-action-tertiary",DialogActionTertiary);class DialogActions extends Group{constructor(){super(),this.align="center",this.gap="spacing-3",this.justify="flex-end"}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","actions")}}function styles$s(){return i$5`
1752
+ `}updated(t){super.updated(t),t.has("variant")&&__classPrivateFieldGet$1(this,_Dialog_contextProvider,"f").setValue({variant:this.variant??"neutral"}),t.has("open")&&__classPrivateFieldGet$1(this,_Dialog_instances,"m",_Dialog_toggleVisibility).call(this,t.get("open"))}show(){this.open=!0}hide(){this.open=!1}}_Dialog_contextProvider=new WeakMap,_Dialog_instances=new WeakSet,_Dialog_dialog_get=function(){return this.renderRoot?.querySelector("dialog")},_Dialog_toggleVisibility=async function(t){const e=__classPrivateFieldGet$1(this,_Dialog_instances,"a",_Dialog_dialog_get);e&&(!t&&this.open?(this.style.display="block",__classPrivateFieldGet$1(this,_Dialog_instances,"m",_Dialog_emitLifecycleEvent).call(this,"m-opening"),e.showModal(),await waitForAnimations_1(e),__classPrivateFieldGet$1(this,_Dialog_instances,"m",_Dialog_emitLifecycleEvent).call(this,"m-opened")):t&&!this.open?(__classPrivateFieldGet$1(this,_Dialog_instances,"m",_Dialog_emitLifecycleEvent).call(this,"m-closing"),e.classList.add("is-hiding"),await waitForAnimations_1(e),e.classList.remove("is-hiding"),e.close(),__classPrivateFieldGet$1(this,_Dialog_instances,"m",_Dialog_emitLifecycleEvent).call(this,"m-closed"),this.style.display="none"):null!=t||this.open||(this.style.display="none"))},_Dialog_emitLifecycleEvent=function(t){this.emit(t,{cancelable:!1,bubbles:!1})},_Dialog_emitCloseEvent=function(){this.open&&this.emit("m-close")},_Dialog_handleClick=function(t){const e=t.target instanceof HTMLDialogElement,o=__classPrivateFieldGet$1(this,_Dialog_instances,"a",_Dialog_dialog_get)?.getBoundingClientRect();if(e&&o){(t.clientY<o.top||t.clientY>o.bottom||t.clientX<o.left||t.clientX>o.right)&&(t.preventDefault(),t.stopPropagation(),__classPrivateFieldGet$1(this,_Dialog_instances,"m",_Dialog_emitCloseEvent).call(this))}},_Dialog_handleCancel=function(t){t.preventDefault(),__classPrivateFieldGet$1(this,_Dialog_instances,"m",_Dialog_emitCloseEvent).call(this)},Dialog.styles=[styles$s()],window.customElements.define("m-dialog",Dialog);const DIALOG_SIZES=["small","medium","large","extra-large"],DIALOG_VARIANTS=["neutral","success","warning","danger"];var _DialogActionPrimary_contextCallback,_DialogHeader_instances,_DialogHeader_context,_DialogHeader_icon_get,_Drawer_instances,_Drawer_dialog_get,_Drawer_toggleVisibility,_Drawer_emitLifecycleEvent,_Drawer_emitCloseEvent,_Drawer_handleClick,_Drawer_handleCancel;class DialogActionPrimary extends Button{constructor(){super(),_DialogActionPrimary_contextCallback.set(this,(t=>{switch(t.variant){case"danger":this.variant="danger";break;case"warning":this.variant="warning";break;default:this.variant="primary"}})),this.type="button",this.variant="primary",this.context=new s$8(this,{context:dialogContext,callback:__classPrivateFieldGet$1(this,_DialogActionPrimary_contextCallback,"f"),subscribe:!0})}}_DialogActionPrimary_contextCallback=new WeakMap,window.customElements.define("m-dialog-action-primary",DialogActionPrimary);class DialogActionSecondary extends Button{constructor(){super(),this.type="button",this.variant="secondary"}}window.customElements.define("m-dialog-action-secondary",DialogActionSecondary);class DialogActionTertiary extends Button{constructor(){super(),this.type="button",this.variant="tertiary"}}window.customElements.define("m-dialog-action-tertiary",DialogActionTertiary);class DialogActions extends Group{constructor(){super(),this.align="center",this.gap="spacing-3",this.justify="flex-end"}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","actions")}}function styles$r(){return i$5`
1753
1753
  :host {
1754
1754
  overflow-y: auto;
1755
1755
  overscroll-behavior: contain;
1756
1756
 
1757
1757
  ${typography("body-md")};
1758
1758
  }
1759
- `}window.customElements.define("m-dialog-actions",DialogActions);class DialogBody extends s$a{connectedCallback(){super.connectedCallback(),this.setAttribute("slot","body")}render(){return x`<slot></slot>`}}DialogBody.styles=[styles$s()],window.customElements.define("m-dialog-body",DialogBody);class DialogClose extends CloseButton{constructor(){super(),this.size="large"}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","close")}}window.customElements.define("m-dialog-close",DialogClose);class DialogFooter extends s$a{connectedCallback(){super.connectedCallback(),this.setAttribute("slot","footer")}render(){return x`<slot></slot>`}}function styles$r(){return i$5`
1759
+ `}window.customElements.define("m-dialog-actions",DialogActions);class DialogBody extends s$a{connectedCallback(){super.connectedCallback(),this.setAttribute("slot","body")}render(){return x`<slot></slot>`}}DialogBody.styles=[styles$r()],window.customElements.define("m-dialog-body",DialogBody);class DialogClose extends CloseButton{constructor(){super(),this.size="large"}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","close")}}window.customElements.define("m-dialog-close",DialogClose);class DialogFooter extends s$a{connectedCallback(){super.connectedCallback(),this.setAttribute("slot","footer")}render(){return x`<slot></slot>`}}function styles$q(){return i$5`
1760
1760
  h1 {
1761
1761
  margin: 0;
1762
1762
  padding: 0;
@@ -1771,7 +1771,7 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
1771
1771
  </m-group>
1772
1772
  <slot name="close"></slot>
1773
1773
  </m-group>
1774
- `}}function styles$q(){return i$5`
1774
+ `}}function styles$p(){return i$5`
1775
1775
  :host {
1776
1776
  --padding: ${getToken("spacing-6")};
1777
1777
  --m-drawer-header-border: none;
@@ -1871,13 +1871,13 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
1871
1871
  }
1872
1872
  `}_DialogHeader_context=new WeakMap,_DialogHeader_instances=new WeakSet,_DialogHeader_icon_get=function(){const{value:t}=__classPrivateFieldGet$1(this,_DialogHeader_context,"f");let e,o;switch(t?.variant){case"danger":e="attention",o="color-danger-60";break;case"warning":e="alert-circle",o="color-warning-60";break;case"success":e="check",o="color-success-60";break;default:return A$1}return x`
1873
1873
  <m-icon name=${e} color=${o} size="24" aria-hidden="true"></m-icon>
1874
- `},DialogHeader.styles=[styles$r()],window.customElements.define("m-dialog-header",DialogHeader),attachContextRoot();class Drawer extends Component{static get properties(){return{open:{type:Boolean,reflect:!0},size:{type:String,reflect:!0},divided:{type:Boolean,reflect:!0}}}constructor(){super(),_Drawer_instances.add(this),this.open=!1,this.size="small",this.divided=!1}render(){return x`
1874
+ `},DialogHeader.styles=[styles$q()],window.customElements.define("m-dialog-header",DialogHeader),attachContextRoot();class Drawer extends Component{static get properties(){return{open:{type:Boolean,reflect:!0},size:{type:String,reflect:!0},divided:{type:Boolean,reflect:!0}}}constructor(){super(),_Drawer_instances.add(this),this.open=!1,this.size="small",this.divided=!1}render(){return x`
1875
1875
  <dialog @click=${__classPrivateFieldGet$1(this,_Drawer_instances,"m",_Drawer_handleClick)} @cancel=${__classPrivateFieldGet$1(this,_Drawer_instances,"m",_Drawer_handleCancel)}>
1876
1876
  <slot name="header"></slot>
1877
1877
  <slot name="body"></slot>
1878
1878
  <slot name="actions"></slot>
1879
1879
  </dialog>
1880
- `}updated(t){super.updated(t),t.has("open")&&__classPrivateFieldGet$1(this,_Drawer_instances,"m",_Drawer_toggleVisibility).call(this,t.get("open"))}show(){this.open=!0}hide(){this.open=!1}}_Drawer_instances=new WeakSet,_Drawer_dialog_get=function(){return this.renderRoot?.querySelector("dialog")},_Drawer_toggleVisibility=async function(t){const e=__classPrivateFieldGet$1(this,_Drawer_instances,"a",_Drawer_dialog_get);e&&(!t&&this.open?(this.style.display="block",__classPrivateFieldGet$1(this,_Drawer_instances,"m",_Drawer_emitLifecycleEvent).call(this,"m-opening"),e.showModal(),await waitForAnimations_1(e),__classPrivateFieldGet$1(this,_Drawer_instances,"m",_Drawer_emitLifecycleEvent).call(this,"m-opened")):t&&!this.open?(__classPrivateFieldGet$1(this,_Drawer_instances,"m",_Drawer_emitLifecycleEvent).call(this,"m-closing"),e.classList.add("is-hiding"),await waitForAnimations_1(e),e.classList.remove("is-hiding"),e.close(),__classPrivateFieldGet$1(this,_Drawer_instances,"m",_Drawer_emitLifecycleEvent).call(this,"m-closed"),this.style.display="none"):null!=t||this.open||(this.style.display="none"))},_Drawer_emitLifecycleEvent=function(t){this.emit(t,{cancelable:!1,bubbles:!1})},_Drawer_emitCloseEvent=function(){this.open&&this.emit("m-close")},_Drawer_handleClick=function(t){const e=t.target instanceof HTMLDialogElement,o=__classPrivateFieldGet$1(this,_Drawer_instances,"a",_Drawer_dialog_get)?.getBoundingClientRect();if(e&&o){(t.clientY<o.top||t.clientY>o.bottom||t.clientX<o.left||t.clientX>o.right)&&(t.preventDefault(),t.stopPropagation(),__classPrivateFieldGet$1(this,_Drawer_instances,"m",_Drawer_emitCloseEvent).call(this))}},_Drawer_handleCancel=function(t){t.preventDefault(),__classPrivateFieldGet$1(this,_Drawer_instances,"m",_Drawer_emitCloseEvent).call(this)},Drawer.styles=[styles$q()],window.customElements.define("m-drawer",Drawer);const DRAWER_SIZES=["small","medium","large"];class DrawerActionPrimary extends Button{constructor(){super(),this.variant="primary"}}window.customElements.define("m-drawer-action-primary",DrawerActionPrimary);class DrawerActionSecondary extends Button{constructor(){super(),this.variant="secondary"}}window.customElements.define("m-drawer-action-secondary",DrawerActionSecondary);class DrawerActionTertiary extends Button{constructor(){super(),this.variant="tertiary"}}function styles$p(){return i$5`
1880
+ `}updated(t){super.updated(t),t.has("open")&&__classPrivateFieldGet$1(this,_Drawer_instances,"m",_Drawer_toggleVisibility).call(this,t.get("open"))}show(){this.open=!0}hide(){this.open=!1}}_Drawer_instances=new WeakSet,_Drawer_dialog_get=function(){return this.renderRoot?.querySelector("dialog")},_Drawer_toggleVisibility=async function(t){const e=__classPrivateFieldGet$1(this,_Drawer_instances,"a",_Drawer_dialog_get);e&&(!t&&this.open?(this.style.display="block",__classPrivateFieldGet$1(this,_Drawer_instances,"m",_Drawer_emitLifecycleEvent).call(this,"m-opening"),e.showModal(),await waitForAnimations_1(e),__classPrivateFieldGet$1(this,_Drawer_instances,"m",_Drawer_emitLifecycleEvent).call(this,"m-opened")):t&&!this.open?(__classPrivateFieldGet$1(this,_Drawer_instances,"m",_Drawer_emitLifecycleEvent).call(this,"m-closing"),e.classList.add("is-hiding"),await waitForAnimations_1(e),e.classList.remove("is-hiding"),e.close(),__classPrivateFieldGet$1(this,_Drawer_instances,"m",_Drawer_emitLifecycleEvent).call(this,"m-closed"),this.style.display="none"):null!=t||this.open||(this.style.display="none"))},_Drawer_emitLifecycleEvent=function(t){this.emit(t,{cancelable:!1,bubbles:!1})},_Drawer_emitCloseEvent=function(){this.open&&this.emit("m-close")},_Drawer_handleClick=function(t){const e=t.target instanceof HTMLDialogElement,o=__classPrivateFieldGet$1(this,_Drawer_instances,"a",_Drawer_dialog_get)?.getBoundingClientRect();if(e&&o){(t.clientY<o.top||t.clientY>o.bottom||t.clientX<o.left||t.clientX>o.right)&&(t.preventDefault(),t.stopPropagation(),__classPrivateFieldGet$1(this,_Drawer_instances,"m",_Drawer_emitCloseEvent).call(this))}},_Drawer_handleCancel=function(t){t.preventDefault(),__classPrivateFieldGet$1(this,_Drawer_instances,"m",_Drawer_emitCloseEvent).call(this)},Drawer.styles=[styles$p()],window.customElements.define("m-drawer",Drawer);const DRAWER_SIZES=["small","medium","large"];class DrawerActionPrimary extends Button{constructor(){super(),this.variant="primary"}}window.customElements.define("m-drawer-action-primary",DrawerActionPrimary);class DrawerActionSecondary extends Button{constructor(){super(),this.variant="secondary"}}window.customElements.define("m-drawer-action-secondary",DrawerActionSecondary);class DrawerActionTertiary extends Button{constructor(){super(),this.variant="tertiary"}}function styles$o(){return i$5`
1881
1881
  :host {
1882
1882
  margin-top: auto;
1883
1883
  padding-inline: var(--padding);
@@ -1885,7 +1885,7 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
1885
1885
  background-color: ${getColor("color-background-primary")};
1886
1886
  border-top: var(--m-drawer-actions-border);
1887
1887
  }
1888
- `}window.customElements.define("m-drawer-action-tertiary",DrawerActionTertiary);class DrawerActions extends Group{constructor(){super(),this.align="center",this.gap="spacing-3",this.justify="flex-end"}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","actions")}}function styles$o(){return i$5`
1888
+ `}window.customElements.define("m-drawer-action-tertiary",DrawerActionTertiary);class DrawerActions extends Group{constructor(){super(),this.align="center",this.gap="spacing-3",this.justify="flex-end"}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","actions")}}function styles$n(){return i$5`
1889
1889
  :host {
1890
1890
  overflow-y: auto;
1891
1891
  overscroll-behavior: contain;
@@ -1894,7 +1894,7 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
1894
1894
 
1895
1895
  ${typography("body-md")};
1896
1896
  }
1897
- `}DrawerActions.styles=[...Group.styles,styles$p()],window.customElements.define("m-drawer-actions",DrawerActions);class DrawerBody extends s$a{connectedCallback(){super.connectedCallback(),this.setAttribute("slot","body")}render(){return x`<slot></slot>`}}DrawerBody.styles=[styles$o()],window.customElements.define("m-drawer-body",DrawerBody);class DrawerClose extends CloseButton{constructor(){super(),this.size="large"}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","close")}}function styles$n(){return i$5`
1897
+ `}DrawerActions.styles=[...Group.styles,styles$o()],window.customElements.define("m-drawer-actions",DrawerActions);class DrawerBody extends s$a{connectedCallback(){super.connectedCallback(),this.setAttribute("slot","body")}render(){return x`<slot></slot>`}}DrawerBody.styles=[styles$n()],window.customElements.define("m-drawer-body",DrawerBody);class DrawerClose extends CloseButton{constructor(){super(),this.size="large"}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","close")}}function styles$m(){return i$5`
1898
1898
  :host {
1899
1899
  padding-inline: var(--padding);
1900
1900
  padding-block: var(--padding);
@@ -1916,7 +1916,7 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
1916
1916
  </m-group>
1917
1917
  <slot name="close"></slot>
1918
1918
  </m-group>
1919
- `}}DrawerHeader.styles=[styles$n()],window.customElements.define("m-drawer-header",DrawerHeader);const sides=["top","right","bottom","left"],min=Math.min,max=Math.max,round=Math.round,floor=Math.floor,createCoords=t=>({x:t,y:t}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp$1(t,e,o){return max(t,min(e,o))}function evaluate(t,e){return"function"==typeof t?t(e):t}function getSide(t){return t.split("-")[0]}function getAlignment(t){return t.split("-")[1]}function getOppositeAxis(t){return"x"===t?"y":"x"}function getAxisLength(t){return"y"===t?"height":"width"}function getSideAxis(t){return["top","bottom"].includes(getSide(t))?"y":"x"}function getAlignmentAxis(t){return getOppositeAxis(getSideAxis(t))}function getAlignmentSides(t,e,o){void 0===o&&(o=!1);const i=getAlignment(t),r=getAlignmentAxis(t),n=getAxisLength(r);let s="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(s=getOppositePlacement(s)),[s,getOppositePlacement(s)]}function getExpandedPlacements(t){const e=getOppositePlacement(t);return[getOppositeAlignmentPlacement(t),e,getOppositeAlignmentPlacement(e)]}function getOppositeAlignmentPlacement(t){return t.replace(/start|end/g,(t=>oppositeAlignmentMap[t]))}function getSideList(t,e,o){const i=["left","right"],r=["right","left"],n=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return o?e?r:i:e?i:r;case"left":case"right":return e?n:s;default:return[]}}function getOppositeAxisPlacements(t,e,o,i){const r=getAlignment(t);let n=getSideList(getSide(t),"start"===o,i);return r&&(n=n.map((t=>t+"-"+r)),e&&(n=n.concat(n.map(getOppositeAlignmentPlacement)))),n}function getOppositePlacement(t){return t.replace(/left|right|bottom|top/g,(t=>oppositeSideMap[t]))}function expandPaddingObject(t){return{top:0,right:0,bottom:0,left:0,...t}}function getPaddingObject(t){return"number"!=typeof t?expandPaddingObject(t):{top:t,right:t,bottom:t,left:t}}function rectToClientRect(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function computeCoordsFromPlacement(t,e,o){let{reference:i,floating:r}=t;const n=getSideAxis(e),s=getAlignmentAxis(e),a=getAxisLength(s),l=getSide(e),c="y"===n,d=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,u=i[a]/2-r[a]/2;let g;switch(l){case"top":g={x:d,y:i.y-r.height};break;case"bottom":g={x:d,y:i.y+i.height};break;case"right":g={x:i.x+i.width,y:h};break;case"left":g={x:i.x-r.width,y:h};break;default:g={x:i.x,y:i.y}}switch(getAlignment(e)){case"start":g[s]-=u*(o&&c?-1:1);break;case"end":g[s]+=u*(o&&c?-1:1)}return g}const computePosition$1=async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:s}=o,a=n.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:d,y:h}=computeCoordsFromPlacement(c,i,l),u=i,g={},p=0;for(let o=0;o<a.length;o++){const{name:n,fn:m}=a[o],{x:b,y:$,data:_,reset:f}=await m({x:d,y:h,initialPlacement:i,placement:u,strategy:r,middlewareData:g,rects:c,platform:s,elements:{reference:t,floating:e}});d=null!=b?b:d,h=null!=$?$:h,g={...g,[n]:{...g[n],..._}},f&&p<=50&&(p++,"object"==typeof f&&(f.placement&&(u=f.placement),f.rects&&(c=!0===f.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):f.rects),({x:d,y:h}=computeCoordsFromPlacement(c,u,l))),o=-1)}return{x:d,y:h,placement:u,strategy:r,middlewareData:g}};async function detectOverflow(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:u=!1,padding:g=0}=evaluate(e,t),p=getPaddingObject(g),m=a[u?"floating"===h?"reference":"floating":h],b=rectToClientRect(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(m)))||o?m:m.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),$="floating"===h?{...s.floating,x:i,y:r}:s.reference,_=await(null==n.getOffsetParent?void 0:n.getOffsetParent(a.floating)),f=await(null==n.isElement?void 0:n.isElement(_))&&await(null==n.getScale?void 0:n.getScale(_))||{x:1,y:1},y=rectToClientRect(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:$,offsetParent:_,strategy:l}):$);return{top:(b.top-y.top+p.top)/f.y,bottom:(y.bottom-b.bottom+p.bottom)/f.y,left:(b.left-y.left+p.left)/f.x,right:(y.right-b.right+p.right)/f.x}}const arrow$1=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:i,placement:r,rects:n,platform:s,elements:a,middlewareData:l}=e,{element:c,padding:d=0}=evaluate(t,e)||{};if(null==c)return{};const h=getPaddingObject(d),u={x:o,y:i},g=getAlignmentAxis(r),p=getAxisLength(g),m=await s.getDimensions(c),b="y"===g,$=b?"top":"left",_=b?"bottom":"right",f=b?"clientHeight":"clientWidth",y=n.reference[p]+n.reference[g]-u[g]-n.floating[p],v=u[g]-n.reference[g],x=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let w=x?x[f]:0;w&&await(null==s.isElement?void 0:s.isElement(x))||(w=a.floating[f]||n.floating[p]);const k=y/2-v/2,C=w/2-m[p]/2-1,S=min(h[$],C),T=min(h[_],C),P=S,A=w-m[p]-T,F=w/2-m[p]/2+k,z=clamp$1(P,F,A),B=!l.arrow&&null!=getAlignment(r)&&F!==z&&n.reference[p]/2-(F<P?S:T)-m[p]/2<0,G=B?F<P?F-P:F-A:0;return{[g]:u[g]+G,data:{[g]:z,centerOffset:F-z-G,...B&&{alignmentOffset:G}},reset:B}}}),flip$1=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var o,i;const{placement:r,middlewareData:n,rects:s,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:u,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...b}=evaluate(t,e);if(null!=(o=n.arrow)&&o.alignmentOffset)return{};const $=getSide(r),_=getSide(a)===a,f=await(null==l.isRTL?void 0:l.isRTL(c.floating)),y=u||(_||!m?[getOppositePlacement(a)]:getExpandedPlacements(a));u||"none"===p||y.push(...getOppositeAxisPlacements(a,m,p,f));const v=[a,...y],x=await detectOverflow(e,b),w=[];let k=(null==(i=n.flip)?void 0:i.overflows)||[];if(d&&w.push(x[$]),h){const t=getAlignmentSides(r,s,f);w.push(x[t[0]],x[t[1]])}if(k=[...k,{placement:r,overflows:w}],!w.every((t=>t<=0))){var C,S;const t=((null==(C=n.flip)?void 0:C.index)||0)+1,e=v[t];if(e)return{data:{index:t,overflows:k},reset:{placement:e}};let o=null==(S=k.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:S.placement;if(!o)switch(g){case"bestFit":{var T;const t=null==(T=k.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:T[0];t&&(o=t);break}case"initialPlacement":o=a}if(r!==o)return{reset:{placement:o}}}return{}}}};function getSideOffsets(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function isAnySideFullyClipped(t){return sides.some((e=>t[e]>=0))}const hide$1=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:o}=e,{strategy:i="referenceHidden",...r}=evaluate(t,e);switch(i){case"referenceHidden":{const t=getSideOffsets(await detectOverflow(e,{...r,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:isAnySideFullyClipped(t)}}}case"escaped":{const t=getSideOffsets(await detectOverflow(e,{...r,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:isAnySideFullyClipped(t)}}}default:return{}}}}},shift$1=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=evaluate(t,e),c={x:o,y:i},d=await detectOverflow(e,l),h=getSideAxis(getSide(r)),u=getOppositeAxis(h);let g=c[u],p=c[h];if(n){const t="y"===u?"bottom":"right";g=clamp$1(g+d["y"===u?"top":"left"],g,g-d[t])}if(s){const t="y"===h?"bottom":"right";p=clamp$1(p+d["y"===h?"top":"left"],p,p-d[t])}const m=a.fn({...e,[u]:g,[h]:p});return{...m,data:{x:m.x-o,y:m.y-i}}}}};function getNodeName(t){return isNode(t)?(t.nodeName||"").toLowerCase():"#document"}function getWindow(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function getDocumentElement(t){var e;return null==(e=(isNode(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function isNode(t){return t instanceof Node||t instanceof getWindow(t).Node}function isElement(t){return t instanceof Element||t instanceof getWindow(t).Element}function isHTMLElement(t){return t instanceof HTMLElement||t instanceof getWindow(t).HTMLElement}function isShadowRoot(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof getWindow(t).ShadowRoot)}function isOverflowElement(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=getComputedStyle$1(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function isTableElement(t){return["table","td","th"].includes(getNodeName(t))}function isContainingBlock(t){const e=isWebKit(),o=getComputedStyle$1(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function getContainingBlock(t){let e=getParentNode(t);for(;isHTMLElement(e)&&!isLastTraversableNode(e);){if(isContainingBlock(e))return e;e=getParentNode(e)}return null}function isWebKit(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(t){return["html","body","#document"].includes(getNodeName(t))}function getComputedStyle$1(t){return getWindow(t).getComputedStyle(t)}function getNodeScroll(t){return isElement(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function getParentNode(t){if("html"===getNodeName(t))return t;const e=t.assignedSlot||t.parentNode||isShadowRoot(t)&&t.host||getDocumentElement(t);return isShadowRoot(e)?e.host:e}function getNearestOverflowAncestor(t){const e=getParentNode(t);return isLastTraversableNode(e)?t.ownerDocument?t.ownerDocument.body:t.body:isHTMLElement(e)&&isOverflowElement(e)?e:getNearestOverflowAncestor(e)}function getOverflowAncestors(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=getNearestOverflowAncestor(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),s=getWindow(r);return n?e.concat(s,s.visualViewport||[],isOverflowElement(r)?r:[],s.frameElement&&o?getOverflowAncestors(s.frameElement):[]):e.concat(r,getOverflowAncestors(r,[],o))}function getCssDimensions(t){const e=getComputedStyle$1(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=isHTMLElement(t),n=r?t.offsetWidth:o,s=r?t.offsetHeight:i,a=round(o)!==n||round(i)!==s;return a&&(o=n,i=s),{width:o,height:i,$:a}}function unwrapElement(t){return isElement(t)?t:t.contextElement}function getScale(t){const e=unwrapElement(t);if(!isHTMLElement(e))return createCoords(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=getCssDimensions(e);let s=(n?round(o.width):o.width)/i,a=(n?round(o.height):o.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const noOffsets=createCoords(0);function getVisualOffsets(t){const e=getWindow(t);return isWebKit()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:noOffsets}function shouldAddVisualOffsets(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==getWindow(t))&&e}function getBoundingClientRect(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=unwrapElement(t);let s=createCoords(1);e&&(i?isElement(i)&&(s=getScale(i)):s=getScale(t));const a=shouldAddVisualOffsets(n,o,i)?getVisualOffsets(n):createCoords(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,d=r.width/s.x,h=r.height/s.y;if(n){const t=getWindow(n),e=i&&isElement(i)?getWindow(i):i;let o=t,r=o.frameElement;for(;r&&i&&e!==o;){const t=getScale(r),e=r.getBoundingClientRect(),i=getComputedStyle$1(r),n=e.left+(r.clientLeft+parseFloat(i.paddingLeft))*t.x,s=e.top+(r.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,d*=t.x,h*=t.y,l+=n,c+=s,o=getWindow(r),r=o.frameElement}}return rectToClientRect({width:d,height:h,x:l,y:c})}const topLayerSelectors=[":popover-open",":modal"];function isTopLayer(t){return topLayerSelectors.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function convertOffsetParentRelativeRectToViewportRelativeRect(t){let{elements:e,rect:o,offsetParent:i,strategy:r}=t;const n="fixed"===r,s=getDocumentElement(i),a=!!e&&isTopLayer(e.floating);if(i===s||a&&n)return o;let l={scrollLeft:0,scrollTop:0},c=createCoords(1);const d=createCoords(0),h=isHTMLElement(i);if((h||!h&&!n)&&(("body"!==getNodeName(i)||isOverflowElement(s))&&(l=getNodeScroll(i)),isHTMLElement(i))){const t=getBoundingClientRect(i);c=getScale(i),d.x=t.x+i.clientLeft,d.y=t.y+i.clientTop}return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-l.scrollLeft*c.x+d.x,y:o.y*c.y-l.scrollTop*c.y+d.y}}function getClientRects(t){return Array.from(t.getClientRects())}function getWindowScrollBarX(t){return getBoundingClientRect(getDocumentElement(t)).left+getNodeScroll(t).scrollLeft}function getDocumentRect(t){const e=getDocumentElement(t),o=getNodeScroll(t),i=t.ownerDocument.body,r=max(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=max(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-o.scrollLeft+getWindowScrollBarX(t);const a=-o.scrollTop;return"rtl"===getComputedStyle$1(i).direction&&(s+=max(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:s,y:a}}function getViewportRect(t,e){const o=getWindow(t),i=getDocumentElement(t),r=o.visualViewport;let n=i.clientWidth,s=i.clientHeight,a=0,l=0;if(r){n=r.width,s=r.height;const t=isWebKit();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:n,height:s,x:a,y:l}}function getInnerBoundingClientRect(t,e){const o=getBoundingClientRect(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=isHTMLElement(t)?getScale(t):createCoords(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}function getClientRectFromClippingAncestor(t,e,o){let i;if("viewport"===e)i=getViewportRect(t,o);else if("document"===e)i=getDocumentRect(getDocumentElement(t));else if(isElement(e))i=getInnerBoundingClientRect(e,o);else{const o=getVisualOffsets(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return rectToClientRect(i)}function hasFixedPositionAncestor(t,e){const o=getParentNode(t);return!(o===e||!isElement(o)||isLastTraversableNode(o))&&("fixed"===getComputedStyle$1(o).position||hasFixedPositionAncestor(o,e))}function getClippingElementAncestors(t,e){const o=e.get(t);if(o)return o;let i=getOverflowAncestors(t,[],!1).filter((t=>isElement(t)&&"body"!==getNodeName(t))),r=null;const n="fixed"===getComputedStyle$1(t).position;let s=n?getParentNode(t):t;for(;isElement(s)&&!isLastTraversableNode(s);){const e=getComputedStyle$1(s),o=isContainingBlock(s);o||"fixed"!==e.position||(r=null);(n?!o&&!r:!o&&"static"===e.position&&!!r&&["absolute","fixed"].includes(r.position)||isOverflowElement(s)&&!o&&hasFixedPositionAncestor(t,s))?i=i.filter((t=>t!==s)):r=e,s=getParentNode(s)}return e.set(t,i),i}function getClippingRect(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?getClippingElementAncestors(e,this._c):[].concat(o),i],s=n[0],a=n.reduce(((t,o)=>{const i=getClientRectFromClippingAncestor(e,o,r);return t.top=max(i.top,t.top),t.right=min(i.right,t.right),t.bottom=min(i.bottom,t.bottom),t.left=max(i.left,t.left),t}),getClientRectFromClippingAncestor(e,s,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function getDimensions(t){const{width:e,height:o}=getCssDimensions(t);return{width:e,height:o}}function getRectRelativeToOffsetParent(t,e,o){const i=isHTMLElement(e),r=getDocumentElement(e),n="fixed"===o,s=getBoundingClientRect(t,!0,n,e);let a={scrollLeft:0,scrollTop:0};const l=createCoords(0);if(i||!i&&!n)if(("body"!==getNodeName(e)||isOverflowElement(r))&&(a=getNodeScroll(e)),i){const t=getBoundingClientRect(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=getWindowScrollBarX(r));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function getTrueOffsetParent(t,e){return isHTMLElement(t)&&"fixed"!==getComputedStyle$1(t).position?e?e(t):t.offsetParent:null}function getOffsetParent(t,e){const o=getWindow(t);if(!isHTMLElement(t)||isTopLayer(t))return o;let i=getTrueOffsetParent(t,e);for(;i&&isTableElement(i)&&"static"===getComputedStyle$1(i).position;)i=getTrueOffsetParent(i,e);return i&&("html"===getNodeName(i)||"body"===getNodeName(i)&&"static"===getComputedStyle$1(i).position&&!isContainingBlock(i))?o:i||getContainingBlock(t)||o}const getElementRects=async function(t){const e=this.getOffsetParent||getOffsetParent,o=this.getDimensions;return{reference:getRectRelativeToOffsetParent(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,...await o(t.floating)}}};function isRTL(t){return"rtl"===getComputedStyle$1(t).direction}const platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function observeMove(t,e){let o,i=null;const r=getDocumentElement(t);function n(){var t;clearTimeout(o),null==(t=i)||t.disconnect(),i=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),n();const{left:c,top:d,width:h,height:u}=t.getBoundingClientRect();if(a||e(),!h||!u)return;const g={rootMargin:-floor(d)+"px "+-floor(r.clientWidth-(c+h))+"px "+-floor(r.clientHeight-(d+u))+"px "+-floor(c)+"px",threshold:max(0,min(1,l))||1};let p=!0;function m(t){const e=t[0].intersectionRatio;if(e!==l){if(!p)return s();e?s(!1,e):o=setTimeout((()=>{s(!1,1e-7)}),100)}p=!1}try{i=new IntersectionObserver(m,{...g,root:r.ownerDocument})}catch(t){i=new IntersectionObserver(m,g)}i.observe(t)}(!0),n}function autoUpdate(t,e,o,i){void 0===i&&(i={});const{ancestorScroll:r=!0,ancestorResize:n=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,c=unwrapElement(t),d=r||n?[...c?getOverflowAncestors(c):[],...getOverflowAncestors(e)]:[];d.forEach((t=>{r&&t.addEventListener("scroll",o,{passive:!0}),n&&t.addEventListener("resize",o)}));const h=c&&a?observeMove(c,o):null;let u,g=-1,p=null;s&&(p=new ResizeObserver((t=>{let[i]=t;i&&i.target===c&&p&&(p.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var t;null==(t=p)||t.observe(e)}))),o()})),c&&!l&&p.observe(c),p.observe(e));let m=l?getBoundingClientRect(t):null;return l&&function e(){const i=getBoundingClientRect(t);!m||i.x===m.x&&i.y===m.y&&i.width===m.width&&i.height===m.height||o();m=i,u=requestAnimationFrame(e)}(),o(),()=>{var t;d.forEach((t=>{r&&t.removeEventListener("scroll",o),n&&t.removeEventListener("resize",o)})),null==h||h(),null==(t=p)||t.disconnect(),p=null,l&&cancelAnimationFrame(u)}}const shift=shift$1,flip=flip$1,hide=hide$1,arrow=arrow$1,computePosition=(t,e,o)=>{const i=new Map,r={platform,...o},n={...r.platform,_c:i};return computePosition$1(t,e,{...r,platform:n})};function offsetParent(t){return offsetParentPolyfill(t)}function flatTreeParent(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function offsetParentPolyfill(t){for(let e=t;e;e=flatTreeParent(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=flatTreeParent(t);e;e=flatTreeParent(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}function supportsPopover(){return Object.hasOwn(HTMLElement.prototype,"popover")}function isPopover(t){return!!t&&(supportsPopover()&&t.matches("[popover]"))}function getPositionOffset(t,e,o){const i="var(--m-popover-arrow-size)";switch(e){case"top":case"left":return t?`-1 * ${i} - ${o}px`:`-1 * ${o}px`;case"bottom":case"right":return t?`${i} + ${o}px`:`${o}px`;default:return"0px"}}var _Popover_updateCleanup,_Popover_getArrowPosition;const POPOVER_PLACEMENT_VALUES=["top","left","right","bottom","top-start","top-end","bottom-start","bottom-end"];class Popover extends Component{static get properties(){return{position:{type:String,reflect:!0},placement:{type:String},open:{type:Boolean,reflect:!0},asPopover:{type:Boolean,attribute:"as-popover"}}}constructor(){super(),_Popover_updateCleanup.set(this,void 0),this.getFloatingOffset=()=>10,this.renderArrow=()=>x`<span id="arrow"></span>`,this.reposition=async t=>{if(null==this.floating||null==this.reference)return;const{x:e,y:o,placement:i,middlewareData:r}=await computePosition(this.reference,this.floating,{strategy:this.position??"fixed",placement:this.placement??"bottom-start",platform:{...platform,getOffsetParent:t=>platform.getOffsetParent(t,offsetParent)},middleware:[flip(),shift(),this.arrow?arrow({element:this.arrow,padding:10}):void 0,hide()]});if(r.hide?.referenceHidden)return void Object.assign(this.floating.style,{visibility:"hidden"});const[n]=i.split("-"),s=null!=this.arrow,a={top:{x:"0px",y:getPositionOffset(s,"top",this.getFloatingOffset())},bottom:{x:"0px",y:getPositionOffset(s,"bottom",this.getFloatingOffset())},right:{x:getPositionOffset(s,"right",this.getFloatingOffset()),y:"0px"},left:{x:getPositionOffset(s,"left",this.getFloatingOffset()),y:"0px"}};Object.assign(this.floating.style,{visibility:"visible",top:`calc(${o}px + ${a[n].y})`,left:`calc(${e}px + ${a[n].x})`}),null!=this.arrow&&r.arrow&&Object.assign(this.arrow.style,__classPrivateFieldGet$1(this,_Popover_getArrowPosition,"f").call(this,r.arrow,n)),this.emit("m-popover-reposition",{detail:{reason:t}})},_Popover_getArrowPosition.set(this,((t,e)=>{if(null==this.floating||null==this.reference||null==this.arrow||null==t)return{};const o={top:"bottom",right:"left",bottom:"top",left:"right"}[e],{x:i,y:r}=t;return{left:null!=i?`${i}px`:"",top:null!=r?`${r}px`:"",right:"",bottom:"",[o]:-this.arrow.offsetWidth/2+"px"}})),this.position="fixed",this.placement="top-end",this.open=!1,this.asPopover=!1}disconnectedCallback(){super.disconnectedCallback(),__classPrivateFieldGet$1(this,_Popover_updateCleanup,"f")?.call(this)}firstUpdated(){this.asPopover&&supportsPopover()&&this.floating&&this.floating.setAttribute("popover","manual"),this.open&&this.show()}updated(t){super.updated(t),this.open&&null!=t.get("placement")&&null!=this.placement&&this.reposition("placement")}get reference(){return this.getReferenceElement()}get floating(){return this.getFloatingElement()}get arrow(){return this.getArrowElement()}show(){this.open||(this.open=!0,this.reference&&this.floating&&(isPopover(this.floating)&&this.floating.showPopover(),__classPrivateFieldSet(this,_Popover_updateCleanup,autoUpdate(this.reference,this.floating,(()=>{this.reposition("auto")})),"f")))}hide(){this.open&&(this.open=!1,null!=this.floating&&isPopover(this.floating)&&this.floating.hidePopover(),__classPrivateFieldGet$1(this,_Popover_updateCleanup,"f")?.call(this))}toggle(){this.open?this.hide():this.show()}}_Popover_updateCleanup=new WeakMap,_Popover_getArrowPosition=new WeakMap;const DEFAULT_SELECTORS={referenceSelector:"slot[name='reference']::slotted(*),",floatingSelector:"slot[name='floating']::slotted(*)"};function styles$m(t=DEFAULT_SELECTORS){const{referenceSelector:e,floatingSelector:o}={...DEFAULT_SELECTORS,...t};return[i$5`
1919
+ `}}DrawerHeader.styles=[styles$m()],window.customElements.define("m-drawer-header",DrawerHeader);const sides=["top","right","bottom","left"],min=Math.min,max=Math.max,round=Math.round,floor=Math.floor,createCoords=t=>({x:t,y:t}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp$1(t,e,o){return max(t,min(e,o))}function evaluate(t,e){return"function"==typeof t?t(e):t}function getSide(t){return t.split("-")[0]}function getAlignment(t){return t.split("-")[1]}function getOppositeAxis(t){return"x"===t?"y":"x"}function getAxisLength(t){return"y"===t?"height":"width"}function getSideAxis(t){return["top","bottom"].includes(getSide(t))?"y":"x"}function getAlignmentAxis(t){return getOppositeAxis(getSideAxis(t))}function getAlignmentSides(t,e,o){void 0===o&&(o=!1);const i=getAlignment(t),r=getAlignmentAxis(t),n=getAxisLength(r);let s="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(s=getOppositePlacement(s)),[s,getOppositePlacement(s)]}function getExpandedPlacements(t){const e=getOppositePlacement(t);return[getOppositeAlignmentPlacement(t),e,getOppositeAlignmentPlacement(e)]}function getOppositeAlignmentPlacement(t){return t.replace(/start|end/g,(t=>oppositeAlignmentMap[t]))}function getSideList(t,e,o){const i=["left","right"],r=["right","left"],n=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return o?e?r:i:e?i:r;case"left":case"right":return e?n:s;default:return[]}}function getOppositeAxisPlacements(t,e,o,i){const r=getAlignment(t);let n=getSideList(getSide(t),"start"===o,i);return r&&(n=n.map((t=>t+"-"+r)),e&&(n=n.concat(n.map(getOppositeAlignmentPlacement)))),n}function getOppositePlacement(t){return t.replace(/left|right|bottom|top/g,(t=>oppositeSideMap[t]))}function expandPaddingObject(t){return{top:0,right:0,bottom:0,left:0,...t}}function getPaddingObject(t){return"number"!=typeof t?expandPaddingObject(t):{top:t,right:t,bottom:t,left:t}}function rectToClientRect(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function computeCoordsFromPlacement(t,e,o){let{reference:i,floating:r}=t;const n=getSideAxis(e),s=getAlignmentAxis(e),a=getAxisLength(s),l=getSide(e),c="y"===n,d=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,u=i[a]/2-r[a]/2;let g;switch(l){case"top":g={x:d,y:i.y-r.height};break;case"bottom":g={x:d,y:i.y+i.height};break;case"right":g={x:i.x+i.width,y:h};break;case"left":g={x:i.x-r.width,y:h};break;default:g={x:i.x,y:i.y}}switch(getAlignment(e)){case"start":g[s]-=u*(o&&c?-1:1);break;case"end":g[s]+=u*(o&&c?-1:1)}return g}const computePosition$1=async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:s}=o,a=n.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:d,y:h}=computeCoordsFromPlacement(c,i,l),u=i,g={},p=0;for(let o=0;o<a.length;o++){const{name:n,fn:m}=a[o],{x:b,y:_,data:$,reset:f}=await m({x:d,y:h,initialPlacement:i,placement:u,strategy:r,middlewareData:g,rects:c,platform:s,elements:{reference:t,floating:e}});d=null!=b?b:d,h=null!=_?_:h,g={...g,[n]:{...g[n],...$}},f&&p<=50&&(p++,"object"==typeof f&&(f.placement&&(u=f.placement),f.rects&&(c=!0===f.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):f.rects),({x:d,y:h}=computeCoordsFromPlacement(c,u,l))),o=-1)}return{x:d,y:h,placement:u,strategy:r,middlewareData:g}};async function detectOverflow(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:u=!1,padding:g=0}=evaluate(e,t),p=getPaddingObject(g),m=a[u?"floating"===h?"reference":"floating":h],b=rectToClientRect(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(m)))||o?m:m.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),_="floating"===h?{...s.floating,x:i,y:r}:s.reference,$=await(null==n.getOffsetParent?void 0:n.getOffsetParent(a.floating)),f=await(null==n.isElement?void 0:n.isElement($))&&await(null==n.getScale?void 0:n.getScale($))||{x:1,y:1},y=rectToClientRect(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:_,offsetParent:$,strategy:l}):_);return{top:(b.top-y.top+p.top)/f.y,bottom:(y.bottom-b.bottom+p.bottom)/f.y,left:(b.left-y.left+p.left)/f.x,right:(y.right-b.right+p.right)/f.x}}const arrow$1=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:i,placement:r,rects:n,platform:s,elements:a,middlewareData:l}=e,{element:c,padding:d=0}=evaluate(t,e)||{};if(null==c)return{};const h=getPaddingObject(d),u={x:o,y:i},g=getAlignmentAxis(r),p=getAxisLength(g),m=await s.getDimensions(c),b="y"===g,_=b?"top":"left",$=b?"bottom":"right",f=b?"clientHeight":"clientWidth",y=n.reference[p]+n.reference[g]-u[g]-n.floating[p],v=u[g]-n.reference[g],x=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let w=x?x[f]:0;w&&await(null==s.isElement?void 0:s.isElement(x))||(w=a.floating[f]||n.floating[p]);const k=y/2-v/2,C=w/2-m[p]/2-1,S=min(h[_],C),T=min(h[$],C),P=S,F=w-m[p]-T,A=w/2-m[p]/2+k,z=clamp$1(P,A,F),B=!l.arrow&&null!=getAlignment(r)&&A!==z&&n.reference[p]/2-(A<P?S:T)-m[p]/2<0,G=B?A<P?A-P:A-F:0;return{[g]:u[g]+G,data:{[g]:z,centerOffset:A-z-G,...B&&{alignmentOffset:G}},reset:B}}}),flip$1=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var o,i;const{placement:r,middlewareData:n,rects:s,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:u,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...b}=evaluate(t,e);if(null!=(o=n.arrow)&&o.alignmentOffset)return{};const _=getSide(r),$=getSide(a)===a,f=await(null==l.isRTL?void 0:l.isRTL(c.floating)),y=u||($||!m?[getOppositePlacement(a)]:getExpandedPlacements(a));u||"none"===p||y.push(...getOppositeAxisPlacements(a,m,p,f));const v=[a,...y],x=await detectOverflow(e,b),w=[];let k=(null==(i=n.flip)?void 0:i.overflows)||[];if(d&&w.push(x[_]),h){const t=getAlignmentSides(r,s,f);w.push(x[t[0]],x[t[1]])}if(k=[...k,{placement:r,overflows:w}],!w.every((t=>t<=0))){var C,S;const t=((null==(C=n.flip)?void 0:C.index)||0)+1,e=v[t];if(e)return{data:{index:t,overflows:k},reset:{placement:e}};let o=null==(S=k.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:S.placement;if(!o)switch(g){case"bestFit":{var T;const t=null==(T=k.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:T[0];t&&(o=t);break}case"initialPlacement":o=a}if(r!==o)return{reset:{placement:o}}}return{}}}};function getSideOffsets(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function isAnySideFullyClipped(t){return sides.some((e=>t[e]>=0))}const hide$1=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:o}=e,{strategy:i="referenceHidden",...r}=evaluate(t,e);switch(i){case"referenceHidden":{const t=getSideOffsets(await detectOverflow(e,{...r,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:isAnySideFullyClipped(t)}}}case"escaped":{const t=getSideOffsets(await detectOverflow(e,{...r,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:isAnySideFullyClipped(t)}}}default:return{}}}}},shift$1=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=evaluate(t,e),c={x:o,y:i},d=await detectOverflow(e,l),h=getSideAxis(getSide(r)),u=getOppositeAxis(h);let g=c[u],p=c[h];if(n){const t="y"===u?"bottom":"right";g=clamp$1(g+d["y"===u?"top":"left"],g,g-d[t])}if(s){const t="y"===h?"bottom":"right";p=clamp$1(p+d["y"===h?"top":"left"],p,p-d[t])}const m=a.fn({...e,[u]:g,[h]:p});return{...m,data:{x:m.x-o,y:m.y-i}}}}};function getNodeName(t){return isNode(t)?(t.nodeName||"").toLowerCase():"#document"}function getWindow(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function getDocumentElement(t){var e;return null==(e=(isNode(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function isNode(t){return t instanceof Node||t instanceof getWindow(t).Node}function isElement(t){return t instanceof Element||t instanceof getWindow(t).Element}function isHTMLElement(t){return t instanceof HTMLElement||t instanceof getWindow(t).HTMLElement}function isShadowRoot(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof getWindow(t).ShadowRoot)}function isOverflowElement(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=getComputedStyle$1(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function isTableElement(t){return["table","td","th"].includes(getNodeName(t))}function isContainingBlock(t){const e=isWebKit(),o=getComputedStyle$1(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function getContainingBlock(t){let e=getParentNode(t);for(;isHTMLElement(e)&&!isLastTraversableNode(e);){if(isContainingBlock(e))return e;e=getParentNode(e)}return null}function isWebKit(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(t){return["html","body","#document"].includes(getNodeName(t))}function getComputedStyle$1(t){return getWindow(t).getComputedStyle(t)}function getNodeScroll(t){return isElement(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function getParentNode(t){if("html"===getNodeName(t))return t;const e=t.assignedSlot||t.parentNode||isShadowRoot(t)&&t.host||getDocumentElement(t);return isShadowRoot(e)?e.host:e}function getNearestOverflowAncestor(t){const e=getParentNode(t);return isLastTraversableNode(e)?t.ownerDocument?t.ownerDocument.body:t.body:isHTMLElement(e)&&isOverflowElement(e)?e:getNearestOverflowAncestor(e)}function getOverflowAncestors(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=getNearestOverflowAncestor(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),s=getWindow(r);return n?e.concat(s,s.visualViewport||[],isOverflowElement(r)?r:[],s.frameElement&&o?getOverflowAncestors(s.frameElement):[]):e.concat(r,getOverflowAncestors(r,[],o))}function getCssDimensions(t){const e=getComputedStyle$1(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=isHTMLElement(t),n=r?t.offsetWidth:o,s=r?t.offsetHeight:i,a=round(o)!==n||round(i)!==s;return a&&(o=n,i=s),{width:o,height:i,$:a}}function unwrapElement(t){return isElement(t)?t:t.contextElement}function getScale(t){const e=unwrapElement(t);if(!isHTMLElement(e))return createCoords(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=getCssDimensions(e);let s=(n?round(o.width):o.width)/i,a=(n?round(o.height):o.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const noOffsets=createCoords(0);function getVisualOffsets(t){const e=getWindow(t);return isWebKit()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:noOffsets}function shouldAddVisualOffsets(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==getWindow(t))&&e}function getBoundingClientRect(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=unwrapElement(t);let s=createCoords(1);e&&(i?isElement(i)&&(s=getScale(i)):s=getScale(t));const a=shouldAddVisualOffsets(n,o,i)?getVisualOffsets(n):createCoords(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,d=r.width/s.x,h=r.height/s.y;if(n){const t=getWindow(n),e=i&&isElement(i)?getWindow(i):i;let o=t,r=o.frameElement;for(;r&&i&&e!==o;){const t=getScale(r),e=r.getBoundingClientRect(),i=getComputedStyle$1(r),n=e.left+(r.clientLeft+parseFloat(i.paddingLeft))*t.x,s=e.top+(r.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,d*=t.x,h*=t.y,l+=n,c+=s,o=getWindow(r),r=o.frameElement}}return rectToClientRect({width:d,height:h,x:l,y:c})}const topLayerSelectors=[":popover-open",":modal"];function isTopLayer(t){return topLayerSelectors.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function convertOffsetParentRelativeRectToViewportRelativeRect(t){let{elements:e,rect:o,offsetParent:i,strategy:r}=t;const n="fixed"===r,s=getDocumentElement(i),a=!!e&&isTopLayer(e.floating);if(i===s||a&&n)return o;let l={scrollLeft:0,scrollTop:0},c=createCoords(1);const d=createCoords(0),h=isHTMLElement(i);if((h||!h&&!n)&&(("body"!==getNodeName(i)||isOverflowElement(s))&&(l=getNodeScroll(i)),isHTMLElement(i))){const t=getBoundingClientRect(i);c=getScale(i),d.x=t.x+i.clientLeft,d.y=t.y+i.clientTop}return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-l.scrollLeft*c.x+d.x,y:o.y*c.y-l.scrollTop*c.y+d.y}}function getClientRects(t){return Array.from(t.getClientRects())}function getWindowScrollBarX(t){return getBoundingClientRect(getDocumentElement(t)).left+getNodeScroll(t).scrollLeft}function getDocumentRect(t){const e=getDocumentElement(t),o=getNodeScroll(t),i=t.ownerDocument.body,r=max(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=max(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-o.scrollLeft+getWindowScrollBarX(t);const a=-o.scrollTop;return"rtl"===getComputedStyle$1(i).direction&&(s+=max(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:s,y:a}}function getViewportRect(t,e){const o=getWindow(t),i=getDocumentElement(t),r=o.visualViewport;let n=i.clientWidth,s=i.clientHeight,a=0,l=0;if(r){n=r.width,s=r.height;const t=isWebKit();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:n,height:s,x:a,y:l}}function getInnerBoundingClientRect(t,e){const o=getBoundingClientRect(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=isHTMLElement(t)?getScale(t):createCoords(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}function getClientRectFromClippingAncestor(t,e,o){let i;if("viewport"===e)i=getViewportRect(t,o);else if("document"===e)i=getDocumentRect(getDocumentElement(t));else if(isElement(e))i=getInnerBoundingClientRect(e,o);else{const o=getVisualOffsets(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return rectToClientRect(i)}function hasFixedPositionAncestor(t,e){const o=getParentNode(t);return!(o===e||!isElement(o)||isLastTraversableNode(o))&&("fixed"===getComputedStyle$1(o).position||hasFixedPositionAncestor(o,e))}function getClippingElementAncestors(t,e){const o=e.get(t);if(o)return o;let i=getOverflowAncestors(t,[],!1).filter((t=>isElement(t)&&"body"!==getNodeName(t))),r=null;const n="fixed"===getComputedStyle$1(t).position;let s=n?getParentNode(t):t;for(;isElement(s)&&!isLastTraversableNode(s);){const e=getComputedStyle$1(s),o=isContainingBlock(s);o||"fixed"!==e.position||(r=null);(n?!o&&!r:!o&&"static"===e.position&&!!r&&["absolute","fixed"].includes(r.position)||isOverflowElement(s)&&!o&&hasFixedPositionAncestor(t,s))?i=i.filter((t=>t!==s)):r=e,s=getParentNode(s)}return e.set(t,i),i}function getClippingRect(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?getClippingElementAncestors(e,this._c):[].concat(o),i],s=n[0],a=n.reduce(((t,o)=>{const i=getClientRectFromClippingAncestor(e,o,r);return t.top=max(i.top,t.top),t.right=min(i.right,t.right),t.bottom=min(i.bottom,t.bottom),t.left=max(i.left,t.left),t}),getClientRectFromClippingAncestor(e,s,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function getDimensions(t){const{width:e,height:o}=getCssDimensions(t);return{width:e,height:o}}function getRectRelativeToOffsetParent(t,e,o){const i=isHTMLElement(e),r=getDocumentElement(e),n="fixed"===o,s=getBoundingClientRect(t,!0,n,e);let a={scrollLeft:0,scrollTop:0};const l=createCoords(0);if(i||!i&&!n)if(("body"!==getNodeName(e)||isOverflowElement(r))&&(a=getNodeScroll(e)),i){const t=getBoundingClientRect(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=getWindowScrollBarX(r));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function getTrueOffsetParent(t,e){return isHTMLElement(t)&&"fixed"!==getComputedStyle$1(t).position?e?e(t):t.offsetParent:null}function getOffsetParent(t,e){const o=getWindow(t);if(!isHTMLElement(t)||isTopLayer(t))return o;let i=getTrueOffsetParent(t,e);for(;i&&isTableElement(i)&&"static"===getComputedStyle$1(i).position;)i=getTrueOffsetParent(i,e);return i&&("html"===getNodeName(i)||"body"===getNodeName(i)&&"static"===getComputedStyle$1(i).position&&!isContainingBlock(i))?o:i||getContainingBlock(t)||o}const getElementRects=async function(t){const e=this.getOffsetParent||getOffsetParent,o=this.getDimensions;return{reference:getRectRelativeToOffsetParent(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,...await o(t.floating)}}};function isRTL(t){return"rtl"===getComputedStyle$1(t).direction}const platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function observeMove(t,e){let o,i=null;const r=getDocumentElement(t);function n(){var t;clearTimeout(o),null==(t=i)||t.disconnect(),i=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),n();const{left:c,top:d,width:h,height:u}=t.getBoundingClientRect();if(a||e(),!h||!u)return;const g={rootMargin:-floor(d)+"px "+-floor(r.clientWidth-(c+h))+"px "+-floor(r.clientHeight-(d+u))+"px "+-floor(c)+"px",threshold:max(0,min(1,l))||1};let p=!0;function m(t){const e=t[0].intersectionRatio;if(e!==l){if(!p)return s();e?s(!1,e):o=setTimeout((()=>{s(!1,1e-7)}),100)}p=!1}try{i=new IntersectionObserver(m,{...g,root:r.ownerDocument})}catch(t){i=new IntersectionObserver(m,g)}i.observe(t)}(!0),n}function autoUpdate(t,e,o,i){void 0===i&&(i={});const{ancestorScroll:r=!0,ancestorResize:n=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,c=unwrapElement(t),d=r||n?[...c?getOverflowAncestors(c):[],...getOverflowAncestors(e)]:[];d.forEach((t=>{r&&t.addEventListener("scroll",o,{passive:!0}),n&&t.addEventListener("resize",o)}));const h=c&&a?observeMove(c,o):null;let u,g=-1,p=null;s&&(p=new ResizeObserver((t=>{let[i]=t;i&&i.target===c&&p&&(p.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var t;null==(t=p)||t.observe(e)}))),o()})),c&&!l&&p.observe(c),p.observe(e));let m=l?getBoundingClientRect(t):null;return l&&function e(){const i=getBoundingClientRect(t);!m||i.x===m.x&&i.y===m.y&&i.width===m.width&&i.height===m.height||o();m=i,u=requestAnimationFrame(e)}(),o(),()=>{var t;d.forEach((t=>{r&&t.removeEventListener("scroll",o),n&&t.removeEventListener("resize",o)})),null==h||h(),null==(t=p)||t.disconnect(),p=null,l&&cancelAnimationFrame(u)}}const shift=shift$1,flip=flip$1,hide=hide$1,arrow=arrow$1,computePosition=(t,e,o)=>{const i=new Map,r={platform,...o},n={...r.platform,_c:i};return computePosition$1(t,e,{...r,platform:n})};function offsetParent(t){return offsetParentPolyfill(t)}function flatTreeParent(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function offsetParentPolyfill(t){for(let e=t;e;e=flatTreeParent(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=flatTreeParent(t);e;e=flatTreeParent(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}function supportsPopover(){return Object.hasOwn(HTMLElement.prototype,"popover")}function isPopover(t){return!!t&&(supportsPopover()&&t.matches("[popover]"))}function getPositionOffset(t,e,o){const i="var(--m-popover-arrow-size)";switch(e){case"top":case"left":return t?`-1 * ${i} - ${o}px`:`-1 * ${o}px`;case"bottom":case"right":return t?`${i} + ${o}px`:`${o}px`;default:return"0px"}}var _Popover_updateCleanup,_Popover_getArrowPosition;const POPOVER_PLACEMENT_VALUES=["top","left","right","bottom","top-start","top-end","bottom-start","bottom-end"];class Popover extends Component{static get properties(){return{position:{type:String,reflect:!0},placement:{type:String},open:{type:Boolean,reflect:!0},asPopover:{type:Boolean,attribute:"as-popover"}}}constructor(){super(),_Popover_updateCleanup.set(this,void 0),this.getFloatingOffset=()=>10,this.renderArrow=()=>x`<span id="arrow"></span>`,this.reposition=async t=>{if(null==this.floating||null==this.reference)return;const{x:e,y:o,placement:i,middlewareData:r}=await computePosition(this.reference,this.floating,{strategy:this.position??"fixed",placement:this.placement??"bottom-start",platform:{...platform,getOffsetParent:t=>platform.getOffsetParent(t,offsetParent)},middleware:[flip(),shift(),this.arrow?arrow({element:this.arrow,padding:10}):void 0,hide()]});if(r.hide?.referenceHidden)return void Object.assign(this.floating.style,{visibility:"hidden"});const[n]=i.split("-"),s=null!=this.arrow,a={top:{x:"0px",y:getPositionOffset(s,"top",this.getFloatingOffset())},bottom:{x:"0px",y:getPositionOffset(s,"bottom",this.getFloatingOffset())},right:{x:getPositionOffset(s,"right",this.getFloatingOffset()),y:"0px"},left:{x:getPositionOffset(s,"left",this.getFloatingOffset()),y:"0px"}};Object.assign(this.floating.style,{visibility:"visible",top:`calc(${o}px + ${a[n].y})`,left:`calc(${e}px + ${a[n].x})`}),null!=this.arrow&&r.arrow&&Object.assign(this.arrow.style,__classPrivateFieldGet$1(this,_Popover_getArrowPosition,"f").call(this,r.arrow,n)),this.emit("m-popover-reposition",{detail:{reason:t}})},_Popover_getArrowPosition.set(this,((t,e)=>{if(null==this.floating||null==this.reference||null==this.arrow||null==t)return{};const o={top:"bottom",right:"left",bottom:"top",left:"right"}[e],{x:i,y:r}=t;return{left:null!=i?`${i}px`:"",top:null!=r?`${r}px`:"",right:"",bottom:"",[o]:-this.arrow.offsetWidth/2+"px"}})),this.position="fixed",this.placement="top-end",this.open=!1,this.asPopover=!1}disconnectedCallback(){super.disconnectedCallback(),__classPrivateFieldGet$1(this,_Popover_updateCleanup,"f")?.call(this)}firstUpdated(){this.asPopover&&supportsPopover()&&this.floating&&this.floating.setAttribute("popover","manual"),this.open&&this.show()}updated(t){super.updated(t),this.open&&null!=t.get("placement")&&null!=this.placement&&this.reposition("placement")}get reference(){return this.getReferenceElement()}get floating(){return this.getFloatingElement()}get arrow(){return this.getArrowElement()}show(){this.open||(this.open=!0,this.reference&&this.floating&&(isPopover(this.floating)&&this.floating.showPopover(),__classPrivateFieldSet(this,_Popover_updateCleanup,autoUpdate(this.reference,this.floating,(()=>{this.reposition("auto")})),"f")))}hide(){this.open&&(this.open=!1,null!=this.floating&&isPopover(this.floating)&&this.floating.hidePopover(),__classPrivateFieldGet$1(this,_Popover_updateCleanup,"f")?.call(this))}toggle(){this.open?this.hide():this.show()}}_Popover_updateCleanup=new WeakMap,_Popover_getArrowPosition=new WeakMap;const DEFAULT_SELECTORS={referenceSelector:"slot[name='reference']::slotted(*),",floatingSelector:"slot[name='floating']::slotted(*)"};function styles$l(t=DEFAULT_SELECTORS){const{referenceSelector:e,floatingSelector:o}={...DEFAULT_SELECTORS,...t};return[i$5`
1920
1920
  :host {
1921
1921
  --m-popover-background-color: ${getColor("color-background-secondary-inverted")};
1922
1922
  --m-popover-border-radius: ${getToken("border-radius-m")};
@@ -2004,7 +2004,7 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
2004
2004
  .-fixed {
2005
2005
  position: fixed;
2006
2006
  }
2007
- `]}var _BoundaryController_instances,_BoundaryController_subscribe,_BoundaryController_unsubscribe,_BoundaryController_handleEvent,_BoundaryController_handleBlurEvent,_FocusManagerController_instances,_FocusManagerController_focusElement,_FocusManagerController_focusIndex,_FocusManagerController_focusPosition,_FocusManagerController_getIndexOfQueried,_FocusManagerController_findQueriedById,_FocusManagerController_handleKeyPress,_FocusManagerController_clearBufferAfterDelay,_FocusManagerController_findMatchInRange;class BoundaryController{constructor(t,e){_BoundaryController_instances.add(this),this.activate=()=>{this.active||(__classPrivateFieldGet$1(this,_BoundaryController_instances,"m",_BoundaryController_subscribe).call(this),this.active=!0)},this.deactivate=()=>{this.active&&(__classPrivateFieldGet$1(this,_BoundaryController_instances,"m",_BoundaryController_unsubscribe).call(this),this.active=!1)},_BoundaryController_handleEvent.set(this,(t=>{const e=isInsideElement(t,this.host);!e||t instanceof KeyboardEvent&&"Escape"===t.key?this.host.dispatchEvent(new CustomEvent("m-interact-out")):e&&this.host.dispatchEvent(new CustomEvent("m-interact-in"))})),_BoundaryController_handleBlurEvent.set(this,(t=>{isInsideElement(t,this.host)||this.host.dispatchEvent(new CustomEvent("m-interact-out"))})),this.host=t,this.active=Boolean(e??!1),this.host.addController(this)}hostConnected(){this.active?__classPrivateFieldGet$1(this,_BoundaryController_instances,"m",_BoundaryController_subscribe).call(this):__classPrivateFieldGet$1(this,_BoundaryController_instances,"m",_BoundaryController_unsubscribe).call(this)}hostDisconnected(){this.active&&__classPrivateFieldGet$1(this,_BoundaryController_instances,"m",_BoundaryController_unsubscribe).call(this)}}function isDisabled(t){return null!=t&&"object"==typeof t&&"disabled"in t&&!0===t.disabled}function isPrintableCharacter(t){return 1===t.length&&/\S/.test(t)}_BoundaryController_handleEvent=new WeakMap,_BoundaryController_handleBlurEvent=new WeakMap,_BoundaryController_instances=new WeakSet,_BoundaryController_subscribe=function(){document.addEventListener("mousedown",__classPrivateFieldGet$1(this,_BoundaryController_handleEvent,"f")),document.addEventListener("keyup",__classPrivateFieldGet$1(this,_BoundaryController_handleEvent,"f")),document.addEventListener("touchend",__classPrivateFieldGet$1(this,_BoundaryController_handleEvent,"f")),window.addEventListener("blur",__classPrivateFieldGet$1(this,_BoundaryController_handleBlurEvent,"f"),!0)},_BoundaryController_unsubscribe=function(){document.removeEventListener("mousedown",__classPrivateFieldGet$1(this,_BoundaryController_handleEvent,"f")),document.removeEventListener("keyup",__classPrivateFieldGet$1(this,_BoundaryController_handleEvent,"f")),document.removeEventListener("touchend",__classPrivateFieldGet$1(this,_BoundaryController_handleEvent,"f")),window.removeEventListener("blur",__classPrivateFieldGet$1(this,_BoundaryController_handleBlurEvent,"f"),!0)};class FocusManagerController{constructor(t,e){_FocusManagerController_instances.add(this),this.activeDescendant=null,_FocusManagerController_focusElement.set(this,(t=>{t&&!isDisabled(t)&&t.id&&(this.clear(),this.activeDescendant=t.id,this.getInteractiveElement(this.host).setAttribute("aria-activedescendant",t.id),t.classList.add("is-focused"),t.scrollIntoView({block:"start",inline:"nearest",behavior:"smooth"}))})),_FocusManagerController_focusIndex.set(this,(t=>{__classPrivateFieldGet$1(this,_FocusManagerController_focusElement,"f").call(this,this.queried.at(t))})),_FocusManagerController_focusPosition.set(this,(t=>{const e=__classPrivateFieldGet$1(this,_FocusManagerController_instances,"m",_FocusManagerController_getIndexOfQueried).call(this,this.focused);switch(t){case"first":__classPrivateFieldGet$1(this,_FocusManagerController_focusIndex,"f").call(this,0);break;case"last":__classPrivateFieldGet$1(this,_FocusManagerController_focusIndex,"f").call(this,this.queried.length-1);break;case"previous":{if(-1===e)return;const t=(e-1+this.queried.length)%this.queried.length;__classPrivateFieldGet$1(this,_FocusManagerController_focusIndex,"f").call(this,t);break}case"next":{if(-1===e)return;const t=(e+1)%this.queried.length;__classPrivateFieldGet$1(this,_FocusManagerController_focusIndex,"f").call(this,t);break}}})),_FocusManagerController_handleKeyPress.set(this,(t=>{const{key:e}=t;if(!isPrintableCharacter(e))return;const o=__classPrivateFieldGet$1(this,_FocusManagerController_instances,"m",_FocusManagerController_getIndexOfQueried).call(this,this.focused);this.quickSearchBuffer+=e,__classPrivateFieldGet$1(this,_FocusManagerController_clearBufferAfterDelay,"f").call(this);let i=__classPrivateFieldGet$1(this,_FocusManagerController_findMatchInRange,"f").call(this,o+1,this.queried.length);i||(i=__classPrivateFieldGet$1(this,_FocusManagerController_findMatchInRange,"f").call(this,0,o)),null!=i&&this.focus(i)})),_FocusManagerController_clearBufferAfterDelay.set(this,(()=>{this.quickSearchBufferTimeout&&(window.clearTimeout(this.quickSearchBufferTimeout),this.quickSearchBufferTimeout=null),this.quickSearchBufferTimeout=window.setTimeout((()=>{this.quickSearchBuffer="",this.quickSearchBufferTimeout=null}),500)})),_FocusManagerController_findMatchInRange.set(this,((t,e)=>{for(let o=t;o<e;o++){const t=this.queried[o].innerText.toLowerCase();if(t&&0===t.indexOf(this.quickSearchBuffer))return this.queried[o]}return null})),this.query=toArray$1(e.query).join(","),this.focusOnType=Boolean(e.focusOnType??!0),this.getInteractiveElement=e.getInteractiveElement??(()=>t),this.quickSearchBuffer="",(this.host=t).addController(this)}hostConnected(){this.focusOnType&&this.host.addEventListener("keyup",__classPrivateFieldGet$1(this,_FocusManagerController_handleKeyPress,"f"))}hostDisconnected(){this.host.removeEventListener("keyup",__classPrivateFieldGet$1(this,_FocusManagerController_handleKeyPress,"f"))}get queried(){return Array.from(this.host.querySelectorAll(this.query))}get focused(){return this.activeDescendant?__classPrivateFieldGet$1(this,_FocusManagerController_instances,"m",_FocusManagerController_findQueriedById).call(this,this.activeDescendant):null}focusNext(){this.focus("next")}focusPrevious(){this.focus("previous")}focusFirst(){this.focus(0)}focusLast(){this.focus(this.queried.length-1)}focus(t){"number"==typeof t?__classPrivateFieldGet$1(this,_FocusManagerController_focusIndex,"f").call(this,t):"string"==typeof t?__classPrivateFieldGet$1(this,_FocusManagerController_focusPosition,"f").call(this,t):__classPrivateFieldGet$1(this,_FocusManagerController_focusElement,"f").call(this,t)}clear(){this.getInteractiveElement(this.host).removeAttribute("aria-activedescendant");const t=this.focused;this.activeDescendant=null,t&&t.classList.remove("is-focused")}}_FocusManagerController_focusElement=new WeakMap,_FocusManagerController_focusIndex=new WeakMap,_FocusManagerController_focusPosition=new WeakMap,_FocusManagerController_handleKeyPress=new WeakMap,_FocusManagerController_clearBufferAfterDelay=new WeakMap,_FocusManagerController_findMatchInRange=new WeakMap,_FocusManagerController_instances=new WeakSet,_FocusManagerController_getIndexOfQueried=function(t){return t?this.queried.indexOf(t):-1},_FocusManagerController_findQueriedById=function(t){return this.queried.find((e=>e.id===t))??null};const TRIGGER_SELECTOR='[aria-haspopup="true"]',MENU_SELECTOR='[role="menu"]',ITEM_SELECTOR='[role="menuitem"]';function dropdownStyles(){return[styles$m({referenceSelector:`::slotted(${TRIGGER_SELECTOR})`,floatingSelector:`::slotted(${MENU_SELECTOR})`}),i$5`
2007
+ `]}var _BoundaryController_instances,_BoundaryController_subscribe,_BoundaryController_unsubscribe,_BoundaryController_handleEvent,_BoundaryController_handleBlurEvent,_FocusManagerController_instances,_FocusManagerController_focusElement,_FocusManagerController_focusIndex,_FocusManagerController_focusPosition,_FocusManagerController_getIndexOfQueried,_FocusManagerController_findQueriedById,_FocusManagerController_handleKeyPress,_FocusManagerController_clearBufferAfterDelay,_FocusManagerController_findMatchInRange;class BoundaryController{constructor(t,e){_BoundaryController_instances.add(this),this.activate=()=>{this.active||(__classPrivateFieldGet$1(this,_BoundaryController_instances,"m",_BoundaryController_subscribe).call(this),this.active=!0)},this.deactivate=()=>{this.active&&(__classPrivateFieldGet$1(this,_BoundaryController_instances,"m",_BoundaryController_unsubscribe).call(this),this.active=!1)},_BoundaryController_handleEvent.set(this,(t=>{const e=isInsideElement(t,this.host);!e||t instanceof KeyboardEvent&&"Escape"===t.key?this.host.dispatchEvent(new CustomEvent("m-interact-out")):e&&this.host.dispatchEvent(new CustomEvent("m-interact-in"))})),_BoundaryController_handleBlurEvent.set(this,(t=>{isInsideElement(t,this.host)||this.host.dispatchEvent(new CustomEvent("m-interact-out"))})),this.host=t,this.active=Boolean(e??!1),this.host.addController(this)}hostConnected(){this.active?__classPrivateFieldGet$1(this,_BoundaryController_instances,"m",_BoundaryController_subscribe).call(this):__classPrivateFieldGet$1(this,_BoundaryController_instances,"m",_BoundaryController_unsubscribe).call(this)}hostDisconnected(){this.active&&__classPrivateFieldGet$1(this,_BoundaryController_instances,"m",_BoundaryController_unsubscribe).call(this)}}function isDisabled(t){return null!=t&&"object"==typeof t&&"disabled"in t&&!0===t.disabled}function isPrintableCharacter(t){return 1===t.length&&/\S/.test(t)}_BoundaryController_handleEvent=new WeakMap,_BoundaryController_handleBlurEvent=new WeakMap,_BoundaryController_instances=new WeakSet,_BoundaryController_subscribe=function(){document.addEventListener("mousedown",__classPrivateFieldGet$1(this,_BoundaryController_handleEvent,"f")),document.addEventListener("keyup",__classPrivateFieldGet$1(this,_BoundaryController_handleEvent,"f")),document.addEventListener("touchend",__classPrivateFieldGet$1(this,_BoundaryController_handleEvent,"f")),window.addEventListener("blur",__classPrivateFieldGet$1(this,_BoundaryController_handleBlurEvent,"f"),!0)},_BoundaryController_unsubscribe=function(){document.removeEventListener("mousedown",__classPrivateFieldGet$1(this,_BoundaryController_handleEvent,"f")),document.removeEventListener("keyup",__classPrivateFieldGet$1(this,_BoundaryController_handleEvent,"f")),document.removeEventListener("touchend",__classPrivateFieldGet$1(this,_BoundaryController_handleEvent,"f")),window.removeEventListener("blur",__classPrivateFieldGet$1(this,_BoundaryController_handleBlurEvent,"f"),!0)};class FocusManagerController{constructor(t,e){_FocusManagerController_instances.add(this),this.activeDescendant=null,_FocusManagerController_focusElement.set(this,(t=>{t&&!isDisabled(t)&&t.id&&(this.clear(),this.activeDescendant=t.id,this.getInteractiveElement(this.host).setAttribute("aria-activedescendant",t.id),t.classList.add("is-focused"),t.scrollIntoView({block:"start",inline:"nearest",behavior:"smooth"}))})),_FocusManagerController_focusIndex.set(this,(t=>{__classPrivateFieldGet$1(this,_FocusManagerController_focusElement,"f").call(this,this.queried.at(t))})),_FocusManagerController_focusPosition.set(this,(t=>{const e=__classPrivateFieldGet$1(this,_FocusManagerController_instances,"m",_FocusManagerController_getIndexOfQueried).call(this,this.focused);switch(t){case"first":__classPrivateFieldGet$1(this,_FocusManagerController_focusIndex,"f").call(this,0);break;case"last":__classPrivateFieldGet$1(this,_FocusManagerController_focusIndex,"f").call(this,this.queried.length-1);break;case"previous":{if(-1===e)return;const t=(e-1+this.queried.length)%this.queried.length;__classPrivateFieldGet$1(this,_FocusManagerController_focusIndex,"f").call(this,t);break}case"next":{if(-1===e)return;const t=(e+1)%this.queried.length;__classPrivateFieldGet$1(this,_FocusManagerController_focusIndex,"f").call(this,t);break}}})),_FocusManagerController_handleKeyPress.set(this,(t=>{const{key:e}=t;if(!isPrintableCharacter(e))return;const o=__classPrivateFieldGet$1(this,_FocusManagerController_instances,"m",_FocusManagerController_getIndexOfQueried).call(this,this.focused);this.quickSearchBuffer+=e,__classPrivateFieldGet$1(this,_FocusManagerController_clearBufferAfterDelay,"f").call(this);let i=__classPrivateFieldGet$1(this,_FocusManagerController_findMatchInRange,"f").call(this,o+1,this.queried.length);i||(i=__classPrivateFieldGet$1(this,_FocusManagerController_findMatchInRange,"f").call(this,0,o)),null!=i&&this.focus(i)})),_FocusManagerController_clearBufferAfterDelay.set(this,(()=>{this.quickSearchBufferTimeout&&(window.clearTimeout(this.quickSearchBufferTimeout),this.quickSearchBufferTimeout=null),this.quickSearchBufferTimeout=window.setTimeout((()=>{this.quickSearchBuffer="",this.quickSearchBufferTimeout=null}),500)})),_FocusManagerController_findMatchInRange.set(this,((t,e)=>{for(let o=t;o<e;o++){const t=this.queried[o].innerText.toLowerCase();if(t&&0===t.indexOf(this.quickSearchBuffer))return this.queried[o]}return null})),this.query=toArray$1(e.query).join(","),this.focusOnType=Boolean(e.focusOnType??!0),this.getInteractiveElement=e.getInteractiveElement??(()=>t),this.quickSearchBuffer="",(this.host=t).addController(this)}hostConnected(){this.focusOnType&&this.host.addEventListener("keyup",__classPrivateFieldGet$1(this,_FocusManagerController_handleKeyPress,"f"))}hostDisconnected(){this.host.removeEventListener("keyup",__classPrivateFieldGet$1(this,_FocusManagerController_handleKeyPress,"f"))}get queried(){return Array.from(this.host.querySelectorAll(this.query))}get focused(){return this.activeDescendant?__classPrivateFieldGet$1(this,_FocusManagerController_instances,"m",_FocusManagerController_findQueriedById).call(this,this.activeDescendant):null}focusNext(){this.focus("next")}focusPrevious(){this.focus("previous")}focusFirst(){this.focus(0)}focusLast(){this.focus(this.queried.length-1)}focus(t){"number"==typeof t?__classPrivateFieldGet$1(this,_FocusManagerController_focusIndex,"f").call(this,t):"string"==typeof t?__classPrivateFieldGet$1(this,_FocusManagerController_focusPosition,"f").call(this,t):__classPrivateFieldGet$1(this,_FocusManagerController_focusElement,"f").call(this,t)}clear(){this.getInteractiveElement(this.host).removeAttribute("aria-activedescendant");const t=this.focused;this.activeDescendant=null,t&&t.classList.remove("is-focused")}}_FocusManagerController_focusElement=new WeakMap,_FocusManagerController_focusIndex=new WeakMap,_FocusManagerController_focusPosition=new WeakMap,_FocusManagerController_handleKeyPress=new WeakMap,_FocusManagerController_clearBufferAfterDelay=new WeakMap,_FocusManagerController_findMatchInRange=new WeakMap,_FocusManagerController_instances=new WeakSet,_FocusManagerController_getIndexOfQueried=function(t){return t?this.queried.indexOf(t):-1},_FocusManagerController_findQueriedById=function(t){return this.queried.find((e=>e.id===t))??null};const TRIGGER_SELECTOR='[aria-haspopup="true"]',MENU_SELECTOR='[role="menu"]',ITEM_SELECTOR='[role="menuitem"]';function dropdownStyles(){return[styles$l({referenceSelector:`::slotted(${TRIGGER_SELECTOR})`,floatingSelector:`::slotted(${MENU_SELECTOR})`}),i$5`
2008
2008
  :host {
2009
2009
  --m-popover-floating-spacing-x: ${getToken("spacing-2")};
2010
2010
  --m-popover-floating-spacing-y: ${getToken("spacing-2")};
@@ -2206,7 +2206,7 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
2206
2206
  <slot name="leading"></slot>
2207
2207
  <slot></slot>
2208
2208
  <slot name="trailing"></slot>
2209
- `}}DropdownItem.styles=[itemStyles()],window.customElements.define("m-dropdown-item",DropdownItem);const emptyStateContext=n$9(Symbol("empty-state"));function getActionSize(t){switch(t){case"panel":case"card":case"card-horizontal":return"small";default:return"default"}}var _EmptyStateAction_contextCallback,_EmptyStateHeader_contextCallback;class EmptyStateAction extends Button{constructor(){super(),_EmptyStateAction_contextCallback.set(this,(({variant:t})=>{this.size=getActionSize(t)})),this.type="button",this.variant="primary",this.context=new s$8(this,{context:emptyStateContext,callback:__classPrivateFieldGet$1(this,_EmptyStateAction_contextCallback,"f"),subscribe:!0})}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","action")}}_EmptyStateAction_contextCallback=new WeakMap,window.customElements.define("m-empty-state-action",EmptyStateAction);class EmptyStateHeader extends Text{constructor(){super(),_EmptyStateHeader_contextCallback.set(this,(t=>{switch(t.variant){case"panel":this.variant="body-md-bold";break;case"card":case"card-horizontal":this.variant="body-sm-bold";break;default:this.variant="heading-sm-bold"}})),this.variant="heading-sm-bold",this.context=new s$8(this,{context:emptyStateContext,callback:__classPrivateFieldGet$1(this,_EmptyStateHeader_contextCallback,"f"),subscribe:!0})}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","header")}}function styles$l(){return i$5`
2209
+ `}}DropdownItem.styles=[itemStyles()],window.customElements.define("m-dropdown-item",DropdownItem);const emptyStateContext=n$9(Symbol("empty-state"));function getActionSize(t){switch(t){case"panel":case"card":case"card-horizontal":return"small";default:return"default"}}var _EmptyStateAction_contextCallback,_EmptyStateHeader_contextCallback;class EmptyStateAction extends Button{constructor(){super(),_EmptyStateAction_contextCallback.set(this,(({variant:t})=>{this.size=getActionSize(t)})),this.type="button",this.variant="primary",this.context=new s$8(this,{context:emptyStateContext,callback:__classPrivateFieldGet$1(this,_EmptyStateAction_contextCallback,"f"),subscribe:!0})}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","action")}}_EmptyStateAction_contextCallback=new WeakMap,window.customElements.define("m-empty-state-action",EmptyStateAction);class EmptyStateHeader extends Text{constructor(){super(),_EmptyStateHeader_contextCallback.set(this,(t=>{switch(t.variant){case"panel":this.variant="body-md-bold";break;case"card":case"card-horizontal":this.variant="body-sm-bold";break;default:this.variant="heading-sm-bold"}})),this.variant="heading-sm-bold",this.context=new s$8(this,{context:emptyStateContext,callback:__classPrivateFieldGet$1(this,_EmptyStateHeader_contextCallback,"f"),subscribe:!0})}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","header")}}function styles$k(){return i$5`
2210
2210
  slot {
2211
2211
  display: block;
2212
2212
  }
@@ -2365,40 +2365,40 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
2365
2365
  </div>
2366
2366
  ${e}
2367
2367
  <slot name="action">${o}</slot>
2368
- `}}_EmptyState_contextProvider=new WeakMap,_EmptyState_instances=new WeakSet,_EmptyState_handleClickAction=function(t){t.preventDefault(),t.stopPropagation(),this.emit("m-action")},EmptyState.styles=[styles$l()],window.customElements.define("m-empty-state",EmptyState);const EMPTY_STATE_VARIANTS=["page","panel","card","card-horizontal"];function styles$k(){return[i$5`
2368
+ `}}_EmptyState_contextProvider=new WeakMap,_EmptyState_instances=new WeakSet,_EmptyState_handleClickAction=function(t){t.preventDefault(),t.stopPropagation(),this.emit("m-action")},EmptyState.styles=[styles$k()],window.customElements.define("m-empty-state",EmptyState);const EMPTY_STATE_VARIANTS=["page","panel","card","card-horizontal"];function fieldStyles(){return[i$5`
2369
2369
  :host {
2370
2370
  --m-field-hint-color: ${getColor("color-text-tertiary")};
2371
2371
  }
2372
2372
 
2373
- m-group {
2374
- ${px(getToken("spacing-2"))};
2373
+ :host([status='danger']) {
2374
+ --m-field-hint-color: ${getColor("color-danger-60")};
2375
2375
  }
2376
+ `]}function hintStyles(){return[i$5`
2377
+ :host {
2378
+ ${px(getToken("spacing-2"))};
2376
2379
 
2377
- .-status-danger {
2378
- --m-field-hint-color: ${getColor("color-danger-60")};
2380
+ display: flex;
2381
+ flex-wrap: wrap;
2382
+ gap: ${getToken("spacing-0-5")};
2383
+ align-items: center;
2384
+ justify-content: flex-start;
2385
+
2386
+ color: var(--m-field-hint-color);
2379
2387
  }
2380
2388
 
2381
- .hint {
2389
+ #message {
2382
2390
  ${typography("body-sm")};
2383
- color: var(--m-field-hint-color);
2391
+
2392
+ color: inherit;
2384
2393
  }
2385
- `]}var _FieldHint_instances,_FieldHint_getStatus;class FieldHint extends Component{static get properties(){return{status:{type:String},slot:{type:String,reflect:!0}}}constructor(){super(),_FieldHint_instances.add(this),this.field=new s$8(this,{context:fieldContext,subscribe:!0}),this.slot="hint"}render(){const t={"-status-default":"default"===__classPrivateFieldGet$1(this,_FieldHint_instances,"m",_FieldHint_getStatus).call(this),"-status-danger":"danger"===__classPrivateFieldGet$1(this,_FieldHint_instances,"m",_FieldHint_getStatus).call(this)};return x` <m-group
2386
- gap="spacing-0-5"
2387
- align="center"
2388
- class=${o$3(t)}
2389
- >
2390
- <slot name="leading"
2394
+ `]}var _FieldHint_instances,_FieldHint_getStatus;class FieldHint extends Component{static get properties(){return{status:{type:String},slot:{type:String,reflect:!0}}}constructor(){super(),_FieldHint_instances.add(this),this.field=new s$8(this,{context:fieldContext,subscribe:!0}),this.slot="hint"}render(){return x`<slot name="leading"
2391
2395
  >${"danger"===__classPrivateFieldGet$1(this,_FieldHint_instances,"m",_FieldHint_getStatus).call(this)?x`<m-icon
2392
2396
  name="attention"
2393
2397
  size="10"
2394
2398
  color="color-danger-60"
2395
2399
  ></m-icon>`:A$1}</slot
2396
2400
  >
2397
- <span
2398
- class=${o$3({hint:!0,...t})}
2399
- ><slot></slot>
2400
- </span>
2401
- </m-group>`}}function styles$j(){return[i$5`
2401
+ <span id="message"><slot></slot></span>`}}function styles$j(){return[i$5`
2402
2402
  .label {
2403
2403
  ${typography("body-md")};
2404
2404
 
@@ -2420,9 +2420,9 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
2420
2420
  .-size-small {
2421
2421
  ${typography("body-sm")};
2422
2422
  }
2423
- `]}_FieldHint_instances=new WeakSet,_FieldHint_getStatus=function(){return this.status||this.field.value?.status},FieldHint.styles=[styles$k()],window.customElements.define("m-field-hint",FieldHint);class Label extends Component{static get properties(){return{required:{type:Boolean},size:{type:String},slot:{type:String,reflect:!0}}}requiredTemplate(){return this.isRequired()?x`<span class="required" aria-hidden="true"> *</span>`:A$1}labelClassList(){const t=this.getSize();return o$3({label:!0,"-size-small":"small"===t})}render(){return x`<label class=${this.labelClassList()}
2423
+ `]}_FieldHint_instances=new WeakSet,_FieldHint_getStatus=function(){return this.status||this.field.value?.status},FieldHint.styles=[hintStyles()],window.customElements.define("m-field-hint",FieldHint);class Label extends Component{static get properties(){return{required:{type:Boolean},size:{type:String},slot:{type:String,reflect:!0}}}requiredTemplate(){return this.isRequired()?x`<span class="required" aria-hidden="true"> *</span>`:A$1}labelClassList(){const t=this.getSize();return o$3({label:!0,"-size-small":"small"===t})}render(){return x`<label class=${this.labelClassList()}
2424
2424
  ><slot></slot>${this.requiredTemplate()}</label
2425
- >`}getSize(){return this.size}isRequired(){return Boolean(this.required)}}Label.styles=[styles$j()],window.customElements.define("m-label",Label);class FieldLabel extends Label{constructor(){super(...arguments),this.field=new s$8(this,{context:fieldContext,subscribe:!0})}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","label")}isRequired(){return null!=this.required?this.required:Boolean(this.field.value?.required)}getSize(){return this.size??this.field.value?.size}}window.customElements.define("m-field-label",FieldLabel),attachContextRoot();class Field extends Component{static get properties(){return{label:{type:String},hint:{type:String},required:{type:Boolean},status:{type:String},size:{type:String},align:{type:String}}}constructor(){super(),this.provider=new i$4(this,fieldContext,{required:!1,size:"default",status:"default"}),this.required=!1,this.status="default",this.size="default",this.align="stretch"}update(t){super.update(t),(t.has("required")||t.has("status")||t.has("size"))&&this.provider.setValue({required:this.required,status:this.status,size:this.size})}render(){return x`<m-stack gap="spacing-1" align="${l$2(this.align)}">
2425
+ >`}getSize(){return this.size}isRequired(){return Boolean(this.required)}}Label.styles=[styles$j()],window.customElements.define("m-label",Label);class FieldLabel extends Label{constructor(){super(...arguments),this.field=new s$8(this,{context:fieldContext,subscribe:!0})}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","label")}isRequired(){return null!=this.required?this.required:Boolean(this.field.value?.required)}getSize(){return this.size??this.field.value?.size}}window.customElements.define("m-field-label",FieldLabel),attachContextRoot();class Field extends Component{static get properties(){return{label:{type:String},hint:{type:String},required:{type:Boolean},status:{type:String},size:{type:String},align:{type:String}}}constructor(){super(),this.provider=new i$4(this,{context:fieldContext,initialValue:{required:!1,size:"default"}}),this.required=!1,this.size="default",this.align="stretch"}update(t){super.update(t),(t.has("required")||t.has("status")||t.has("size"))&&this.provider.setValue({required:Boolean(this.required),status:this.status,size:this.size??"default"})}render(){return x`<m-stack gap="spacing-1" align="${l$2(this.align)}">
2426
2426
  <slot name="label"
2427
2427
  >${this.label?x`<m-field-label>${this.label}</m-field-label>`:A$1}</slot
2428
2428
  >
@@ -2432,7 +2432,7 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
2432
2432
  <slot name="hint">
2433
2433
  ${this.hint?x`<m-field-hint>${this.hint}</m-field-hint>`:A$1}
2434
2434
  </slot>
2435
- </m-stack>`}}window.customElements.define("m-field",Field);const FIELD_STATUSES=["default","danger"];function styles$i(){return i$5`
2435
+ </m-stack>`}}Field.styles=[fieldStyles()],window.customElements.define("m-field",Field);const FIELD_STATUSES=["default","danger"];function styles$i(){return i$5`
2436
2436
  :host {
2437
2437
  --m-header-background-color: ${getColor("color-background-primary")};
2438
2438
 
@@ -3775,7 +3775,7 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
3775
3775
  @m-close=${__classPrivateFieldGet$1(this,_ActionableTag_handleClose,"f")}
3776
3776
  ></m-close-button>
3777
3777
  </${this.tag}>
3778
- `}}_ActionableTag_isSkeleton=new WeakMap,_ActionableTag_isRemovable=new WeakMap,_ActionableTag_isSelectable=new WeakMap,_ActionableTag_isSelected=new WeakMap,_ActionableTag_isDisabled=new WeakMap,_ActionableTag_handleClose=new WeakMap,_ActionableTag_handleClick=new WeakMap,_ActionableTag_instances=new WeakSet,_ActionableTag_toggle=function(){this.selected=!this.selected,this.emit("m-change",{detail:{selected:this.selected}})},ActionableTag.styles=[actionableTagStyles()],window.customElements.define("m-actionable-tag",ActionableTag);var e=new Map;function t(t){var o=e.get(t);o&&o.destroy()}function o(t){var o=e.get(t);o&&o.update()}var r=null;"undefined"==typeof window?((r=function(t){return t}).destroy=function(t){return t},r.update=function(t){return t}):((r=function(t,o){return t&&Array.prototype.forEach.call(t.length?t:[t],(function(t){return function(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!e.has(t)){var o,i=null,r=window.getComputedStyle(t),n=(o=t.value,function(){a({testForHeightReduction:""===o||!t.value.startsWith(o),restoreTextAlign:null}),o=t.value}),s=function(o){t.removeEventListener("autosize:destroy",s),t.removeEventListener("autosize:update",l),t.removeEventListener("input",n),window.removeEventListener("resize",l),Object.keys(o).forEach((function(e){return t.style[e]=o[e]})),e.delete(t)}.bind(t,{height:t.style.height,resize:t.style.resize,textAlign:t.style.textAlign,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",s),t.addEventListener("autosize:update",l),t.addEventListener("input",n),window.addEventListener("resize",l),t.style.overflowX="hidden",t.style.wordWrap="break-word",e.set(t,{destroy:s,update:l}),l()}function a(e){var o,n,s=e.restoreTextAlign,l=void 0===s?null:s,c=e.testForHeightReduction,d=void 0===c||c,h=r.overflowY;if(0!==t.scrollHeight&&("vertical"===r.resize?t.style.resize="none":"both"===r.resize&&(t.style.resize="horizontal"),d&&(o=function(t){for(var e=[];t&&t.parentNode&&t.parentNode instanceof Element;)t.parentNode.scrollTop&&e.push([t.parentNode,t.parentNode.scrollTop]),t=t.parentNode;return function(){return e.forEach((function(t){var e=t[0],o=t[1];e.style.scrollBehavior="auto",e.scrollTop=o,e.style.scrollBehavior=null}))}}(t),t.style.height=""),n="content-box"===r.boxSizing?t.scrollHeight-(parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)):t.scrollHeight+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),"none"!==r.maxHeight&&n>parseFloat(r.maxHeight)?("hidden"===r.overflowY&&(t.style.overflow="scroll"),n=parseFloat(r.maxHeight)):"hidden"!==r.overflowY&&(t.style.overflow="hidden"),t.style.height=n+"px",l&&(t.style.textAlign=l),o&&o(),i!==n&&(t.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),i=n),h!==r.overflow&&!l)){var u=r.textAlign;"hidden"===r.overflow&&(t.style.textAlign="start"===u?"end":"start"),a({restoreTextAlign:u,testForHeightReduction:!0})}}function l(){a({testForHeightReduction:!0,restoreTextAlign:null})}}(t)})),t}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],t),e},r.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],o),t});var _TextArea_handleInput,_TextArea_updateStatusClass,_TextField_instances,_TextField_isClearVisible,_TextField_updateStatusClass,_TextField_handleInput,_TextField_handleClear,n=r;function styles$5(){return i$5`
3778
+ `}}_ActionableTag_isSkeleton=new WeakMap,_ActionableTag_isRemovable=new WeakMap,_ActionableTag_isSelectable=new WeakMap,_ActionableTag_isSelected=new WeakMap,_ActionableTag_isDisabled=new WeakMap,_ActionableTag_handleClose=new WeakMap,_ActionableTag_handleClick=new WeakMap,_ActionableTag_instances=new WeakSet,_ActionableTag_toggle=function(){this.selected=!this.selected,this.emit("m-change",{detail:{selected:this.selected}})},ActionableTag.styles=[actionableTagStyles()],window.customElements.define("m-actionable-tag",ActionableTag);var e=new Map;function t(t){var o=e.get(t);o&&o.destroy()}function o(t){var o=e.get(t);o&&o.update()}var r=null;"undefined"==typeof window?((r=function(t){return t}).destroy=function(t){return t},r.update=function(t){return t}):((r=function(t,o){return t&&Array.prototype.forEach.call(t.length?t:[t],(function(t){return function(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!e.has(t)){var o,i=null,r=window.getComputedStyle(t),n=(o=t.value,function(){a({testForHeightReduction:""===o||!t.value.startsWith(o),restoreTextAlign:null}),o=t.value}),s=function(o){t.removeEventListener("autosize:destroy",s),t.removeEventListener("autosize:update",l),t.removeEventListener("input",n),window.removeEventListener("resize",l),Object.keys(o).forEach((function(e){return t.style[e]=o[e]})),e.delete(t)}.bind(t,{height:t.style.height,resize:t.style.resize,textAlign:t.style.textAlign,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",s),t.addEventListener("autosize:update",l),t.addEventListener("input",n),window.addEventListener("resize",l),t.style.overflowX="hidden",t.style.wordWrap="break-word",e.set(t,{destroy:s,update:l}),l()}function a(e){var o,n,s=e.restoreTextAlign,l=void 0===s?null:s,c=e.testForHeightReduction,d=void 0===c||c,h=r.overflowY;if(0!==t.scrollHeight&&("vertical"===r.resize?t.style.resize="none":"both"===r.resize&&(t.style.resize="horizontal"),d&&(o=function(t){for(var e=[];t&&t.parentNode&&t.parentNode instanceof Element;)t.parentNode.scrollTop&&e.push([t.parentNode,t.parentNode.scrollTop]),t=t.parentNode;return function(){return e.forEach((function(t){var e=t[0],o=t[1];e.style.scrollBehavior="auto",e.scrollTop=o,e.style.scrollBehavior=null}))}}(t),t.style.height=""),n="content-box"===r.boxSizing?t.scrollHeight-(parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)):t.scrollHeight+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),"none"!==r.maxHeight&&n>parseFloat(r.maxHeight)?("hidden"===r.overflowY&&(t.style.overflow="scroll"),n=parseFloat(r.maxHeight)):"hidden"!==r.overflowY&&(t.style.overflow="hidden"),t.style.height=n+"px",l&&(t.style.textAlign=l),o&&o(),i!==n&&(t.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),i=n),h!==r.overflow&&!l)){var u=r.textAlign;"hidden"===r.overflow&&(t.style.textAlign="start"===u?"end":"start"),a({restoreTextAlign:u,testForHeightReduction:!0})}}function l(){a({testForHeightReduction:!0,restoreTextAlign:null})}}(t)})),t}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],t),e},r.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],o),t});var _TextArea_handleInput,_TextArea_updateStatusClass,_TextField_instances,_TextField_clear_get,_TextField_initialize,_TextField_handleChange,_TextField_handleInput,_TextField_handleValueChange,_TextField_handleDisabledChange,_TextField_updateClearButton,_TextField_handleClear,n=r;function styles$5(){return i$5`
3779
3779
  :host {
3780
3780
  --m-text-area-background-color: ${getColor("color-background-primary")};
3781
3781
  --m-text-area-border-color: ${getColor("color-border-input")};
@@ -3937,7 +3937,6 @@ ${this.value}</textarea
3937
3937
 
3938
3938
  position: relative;
3939
3939
  box-sizing: border-box;
3940
- width: 100%;
3941
3940
  block-size: var(--m-text-field-height);
3942
3941
 
3943
3942
  ${px(getToken("spacing-2"))};
@@ -3962,17 +3961,15 @@ ${this.value}</textarea
3962
3961
  --m-text-field-padding-y: ${getToken("spacing-3")};
3963
3962
  }
3964
3963
 
3965
- :host(.-status-danger) {
3964
+ :host([status='danger']) {
3966
3965
  --m-text-field-border-color: ${getColor("color-danger-60")};
3967
3966
  }
3968
3967
 
3969
- :host([disabled]) {
3968
+ :host(:disabled) {
3970
3969
  --m-text-field-background-color: ${getColor("color-background-tertiary")};
3971
-
3972
- cursor: default;
3973
3970
  }
3974
3971
 
3975
- :host([disabled]) * {
3972
+ :host(:disabled) * {
3976
3973
  pointer-events: none;
3977
3974
  }
3978
3975
 
@@ -3984,23 +3981,23 @@ ${this.value}</textarea
3984
3981
  cursor: default;
3985
3982
  }
3986
3983
 
3987
- :host(:not([disabled]):hover) {
3984
+ :host(:enabled:hover) {
3988
3985
  --m-text-field-border-color: ${getColor("color-primary-60")};
3989
3986
  }
3990
3987
 
3991
- :host(:not([disabled]):is(:focus, :focus-visible, :focus-within)) {
3988
+ :host(:enabled:is(:focus, :focus-visible, :focus-within)) {
3992
3989
  --m-text-field-border-color: ${getColor("color-primary-100")};
3993
3990
  }
3994
3991
 
3995
- ${on("input").not.disabled.active},
3996
- ${on("input").not.disabled.focus} {
3992
+ ${on("#input").not.disabled.active},
3993
+ ${on("#input").not.disabled.focus} {
3997
3994
  -webkit-appearance: none;
3998
3995
  background: none;
3999
3996
  border: none;
4000
3997
  outline: none;
4001
3998
  }
4002
3999
 
4003
- input {
4000
+ #input {
4004
4001
  ${typography("body-md")};
4005
4002
 
4006
4003
  align-self: stretch;
@@ -4016,47 +4013,41 @@ ${this.value}</textarea
4016
4013
  color: var(--m-text-field-color);
4017
4014
  }
4018
4015
 
4019
- input::placeholder {
4020
- color: var(--m-text-field-placeholder-color);
4016
+ #input:disabled {
4017
+ cursor: default;
4021
4018
  }
4022
4019
 
4023
- .clear {
4024
- visibility: hidden;
4020
+ #input::placeholder {
4021
+ color: var(--m-text-field-placeholder-color);
4025
4022
  }
4026
4023
 
4027
- .clear.is-visible {
4028
- visibility: visible;
4024
+ #clear {
4025
+ visibility: hidden;
4029
4026
  }
4030
- `}_TextArea_handleInput=new WeakMap,_TextArea_updateStatusClass=new WeakMap,TextArea.styles=[styles$5()],window.customElements.define("m-text-area",TextArea);class TextField extends Component{static get properties(){return{clearable:{type:Boolean},disabled:{type:Boolean,reflect:!0},inputMode:{type:String,attribute:"input-mode"},max:{type:String},maxLength:{type:Number,reflect:!0,attribute:"max-length"},min:{type:String},minLength:{type:Number,reflect:!0,attribute:"min-length"},name:{type:String},pattern:{type:String},placeholder:{type:String},readOnly:{type:Boolean,reflect:!0,attribute:"read-only"},size:{type:String,reflect:!0},status:{type:String,reflect:!0},step:{type:String},type:{type:String},value:{type:String}}}constructor(){super(),_TextField_instances.add(this),this.inputElement=null,this.field=new s$8(this,{context:fieldContext,subscribe:!0,callback:()=>{__classPrivateFieldGet$1(this,_TextField_updateStatusClass,"f").call(this)}}),_TextField_updateStatusClass.set(this,(()=>{const t=this.status||this.field.value?.status||"default";this.classList.remove("-status-default","-status-danger"),this.classList.add(`-status-${t}`)})),_TextField_handleInput.set(this,(t=>{this.value=t.target.value,this.reemit(t)})),_TextField_handleClear.set(this,(t=>{t.stopPropagation(),this.clear()})),this.clearable=!1,this.disabled=!1,this.placeholder=void 0,this.size="default",this.type="text",this.value=void 0,this.max=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","textbox")}update(t){super.update(t),t.has("status")&&__classPrivateFieldGet$1(this,_TextField_updateStatusClass,"f").call(this)}render(){return x`
4027
+ `}_TextArea_handleInput=new WeakMap,_TextArea_updateStatusClass=new WeakMap,TextArea.styles=[styles$5()],window.customElements.define("m-text-area",TextArea);class TextField extends FormComponent{static get properties(){return{...super.properties,clearable:{type:Boolean},initialValue:{type:String,attribute:"initial-value",reflect:!0},inputMode:{type:String,attribute:"input-mode"},max:{type:String},maxLength:{type:Number,reflect:!0,attribute:"max-length"},min:{type:String},minLength:{type:Number,reflect:!0,attribute:"min-length"},pattern:{type:String},placeholder:{type:String},readOnly:{type:Boolean,reflect:!0,attribute:"read-only"},size:{type:String,reflect:!0},status:{type:String,reflect:!0},step:{type:String},type:{type:String},value:{type:String,reflect:!0}}}constructor(){super(),_TextField_instances.add(this),_TextField_handleChange.set(this,(t=>{this.disabled?t.preventDefault():this.reemit(t)})),_TextField_handleInput.set(this,(()=>{this.setFormValue(this.value),__classPrivateFieldGet$1(this,_TextField_updateClearButton,"f").call(this)})),_TextField_handleValueChange.set(this,(t=>{this.input&&(this.input.value=t,this.setFormValue(t),__classPrivateFieldGet$1(this,_TextField_updateClearButton,"f").call(this))})),_TextField_handleDisabledChange.set(this,(t=>{this.disabled=t,this.input&&(this.input.disabled=t)})),_TextField_updateClearButton.set(this,(()=>{if(__classPrivateFieldGet$1(this,_TextField_instances,"a",_TextField_clear_get)){const t=Boolean(this.clearable)&&!this.disabled&&this.value.length>0;__classPrivateFieldGet$1(this,_TextField_instances,"a",_TextField_clear_get).style.visibility=t?"visible":"hidden"}})),_TextField_handleClear.set(this,(t=>{t.stopPropagation(),this.clear()})),this.clearable=!1,this.size="default",this.type="text",this.value="",this.max=""}createRenderRoot(){const t=super.createRenderRoot();return t.addEventListener("change",__classPrivateFieldGet$1(this,_TextField_handleChange,"f")),t}async connectedCallback(){super.connectedCallback(),this.type=this.type??"text",this.inputMode=this.inputMode??"text",this.addEventListener("input",__classPrivateFieldGet$1(this,_TextField_handleInput,"f")),await this.updateComplete,__classPrivateFieldGet$1(this,_TextField_instances,"m",_TextField_initialize).call(this,this.getAttribute("value")??this.getAttribute("initial-value")??"")}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("input",__classPrivateFieldGet$1(this,_TextField_handleInput,"f"))}update(t){t.has("disabled")&&__classPrivateFieldGet$1(this,_TextField_handleDisabledChange,"f").call(this,Boolean(this.disabled)),super.update(t)}updated(t){super.updated(t),t.has("clearable")&&__classPrivateFieldGet$1(this,_TextField_updateClearButton,"f").call(this)}render(){return x`
4031
4028
  <slot name="leading"></slot>
4032
4029
  <input
4033
- ?disabled="${this.disabled}"
4030
+ id="input"
4034
4031
  ?readonly=${this.readOnly}
4035
- @change=${this.reemit}
4036
- @input=${__classPrivateFieldGet$1(this,_TextField_handleInput,"f")}
4037
- aria-disabled=${this.disabled?"true":"false"}
4038
4032
  autocomplete=${l$2(this.autocomplete)}
4039
- id="${l$2(this.id)}"
4040
4033
  inputmode=${l$2(this.inputMode)}
4041
4034
  max=${this.max||A$1}
4042
4035
  maxlength=${l$2(null!=this.maxLength&&this.maxLength>-1?this.maxLength:void 0)}
4043
4036
  min=${this.min||A$1}
4044
4037
  minlength=${l$2(null!=this.minLength&&this.minLength>-1?this.minLength:void 0)}
4045
- name="${l$2(this.name)}"
4046
4038
  pattern=${l$2(this.pattern)}
4047
4039
  placeholder="${l$2(this.placeholder)}"
4048
4040
  step=${this.step||A$1}
4049
4041
  type="${l$2(this.type)}"
4050
- value="${l$2(this.value)}"
4051
4042
  />
4052
4043
  ${this.clearable?x`<m-close-button
4053
- class=${o$3({clear:!0,"is-visible":__classPrivateFieldGet$1(this,_TextField_instances,"m",_TextField_isClearVisible).call(this)})}
4054
- controls="${l$2(this.id)}"
4044
+ id="clear"
4045
+ controls="input"
4055
4046
  @m-close=${__classPrivateFieldGet$1(this,_TextField_handleClear,"f")}
4056
4047
  label="Clear input"
4057
4048
  ></m-close-button>`:A$1}
4058
4049
  <slot name="trailing"></slot>
4059
- `}get input(){return null==this.inputElement&&(this.inputElement=this.renderRoot?.querySelector("input")??null),this.inputElement}clear(){this.value="",this.input&&(this.input.value=""),this.emit("m-clear"),this.focus()}focus(){this.input?.focus()}}function timelineStyles(){return i$5`
4050
+ `}get input(){return this.renderRoot?.querySelector("#input")??null}set value(t){__classPrivateFieldGet$1(this,_TextField_handleValueChange,"f").call(this,t)}get value(){return this.input?.value??""}clear(){this.value="",this.emit("m-clear"),this.focus()}focus(){this.input?.focus()}formResetCallback(){__classPrivateFieldGet$1(this,_TextField_instances,"m",_TextField_initialize).call(this)}formStateRestoreCallback(t){t&&(this.value=t)}formDisabledCallback(t){super.formDisabledCallback(t),__classPrivateFieldGet$1(this,_TextField_handleDisabledChange,"f").call(this,t)}}function timelineStyles(){return i$5`
4060
4051
  ::slotted(*) {
4061
4052
  width: 100%;
4062
4053
  }
@@ -4278,7 +4269,7 @@ ${this.value}</textarea
4278
4269
  display: flex;
4279
4270
  box-sizing: border-box;
4280
4271
  }
4281
- `}_TextField_updateStatusClass=new WeakMap,_TextField_handleInput=new WeakMap,_TextField_handleClear=new WeakMap,_TextField_instances=new WeakSet,_TextField_isClearVisible=function(){const t=this.value||"";return!this.disabled&&t.length>0},TextField.styles=[styles$4()],window.customElements.define("m-text-field",TextField);class Timeline extends Component{update(t){if(super.update(t),null!=this.activeEntry){let t=!0;for(const e of this.entries)e.active?t=!1:(e.completed=t,e.active=!1)}}render(){return x`<slot name="item"></slot>`}get entries(){return Array.from(this.querySelectorAll("m-timeline-item"))}get activeEntry(){return this.querySelector("m-timeline-item[active]")}}Timeline.styles=[timelineStyles()],window.customElements.define("m-timeline",Timeline);const timelineItemContext=n$9(Symbol("timeline-item"));var _TimelineExpandableItem_instances,_TimelineExpandableItem_contextProvider,_TimelineExpandableItem_timelineItemHeaderTrigger_get,_TimelineExpandableItem_timelineItemBodySection_get,_TimelineExpandableItem_timelineItemBody_get,_TimelineExpandableItem_handleExpand,_TimelineExpandableItem_toggle,_TimelineExpandableItem_handleTransition,_TimelineItem_contextProvider,_TimelineItemHeaderTitle_context,_TimelineItemHeaderTitle_updateTextStyle;attachContextRoot();class TimelineExpandableItem extends Component{constructor(){super(...arguments),_TimelineExpandableItem_instances.add(this),_TimelineExpandableItem_contextProvider.set(this,new i$4(this,{context:timelineItemContext,initialValue:{variant:"neutral",completed:!1,active:!1}})),_TimelineExpandableItem_handleTransition.set(this,(()=>{this.expanded&&(__classPrivateFieldGet$1(this,_TimelineExpandableItem_instances,"a",_TimelineExpandableItem_timelineItemBodySection_get).style.height="auto")}))}static get properties(){return{completed:{type:Boolean,reflect:!0},active:{type:Boolean,reflect:!0},variant:{type:String,reflect:!0},expanded:{type:Boolean,reflect:!0},divider:{type:Boolean,reflect:!0}}}connectedCallback(){super.connectedCallback(),this.slot="item",this.variant=this.variant??"neutral",this.active=this.active??!1,this.completed=this.completed??!1,this.divider=this.divider??!1,this.expanded=this.expanded??!1,this.resizeObserver=new ResizeObserver((t=>{this.bodyHeight=t[0].target.scrollHeight}))}firstUpdated(){__classPrivateFieldGet$1(this,_TimelineExpandableItem_instances,"a",_TimelineExpandableItem_timelineItemBody_get).style.transition="visibility 0.35s",__classPrivateFieldGet$1(this,_TimelineExpandableItem_instances,"a",_TimelineExpandableItem_timelineItemBody_get).setAttribute("role","region"),this.resizeObserver.observe(__classPrivateFieldGet$1(this,_TimelineExpandableItem_instances,"a",_TimelineExpandableItem_timelineItemBodySection_get)),__classPrivateFieldGet$1(this,_TimelineExpandableItem_instances,"a",_TimelineExpandableItem_timelineItemBodySection_get).addEventListener("transitionend",__classPrivateFieldGet$1(this,_TimelineExpandableItem_handleTransition,"f"))}update(t){super.update(t),t.has("active")&&(this.active?(this.setAttribute("tabindex","0"),this.setAttribute("aria-active","step"),this.closest("m-timeline")?.requestUpdate()):(this.removeAttribute("tabindex"),this.removeAttribute("aria-active"))),t.has("expanded")&&__classPrivateFieldGet$1(this,_TimelineExpandableItem_instances,"m",_TimelineExpandableItem_handleExpand).call(this)}updated(t){super.updated(t),(t.has("active")||t.has("completed")||t.has("variant"))&&__classPrivateFieldGet$1(this,_TimelineExpandableItem_contextProvider,"f").setValue({variant:this.variant??"neutral",completed:Boolean(this.completed),active:Boolean(this.active)})}disconnectedCallback(){super.disconnectedCallback(),__classPrivateFieldGet$1(this,_TimelineExpandableItem_instances,"a",_TimelineExpandableItem_timelineItemBodySection_get).removeEventListener("transitionend",__classPrivateFieldGet$1(this,_TimelineExpandableItem_handleTransition,"f")),this.resizeObserver.disconnect()}render(){return x`
4272
+ `}_TextField_handleChange=new WeakMap,_TextField_handleInput=new WeakMap,_TextField_handleValueChange=new WeakMap,_TextField_handleDisabledChange=new WeakMap,_TextField_updateClearButton=new WeakMap,_TextField_handleClear=new WeakMap,_TextField_instances=new WeakSet,_TextField_clear_get=function(){return this.renderRoot?.querySelector("#clear")??null},_TextField_initialize=function(t){this.value=t??this.getAttribute("initial-value")??""},TextField.shadowRootOptions={...s$a.shadowRootOptions,delegatesFocus:!0},TextField.styles=[styles$4()],window.customElements.define("m-text-field",TextField);class Timeline extends Component{update(t){if(super.update(t),null!=this.activeEntry){let t=!0;for(const e of this.entries)e.active?t=!1:(e.completed=t,e.active=!1)}}render(){return x`<slot name="item"></slot>`}get entries(){return Array.from(this.querySelectorAll("m-timeline-item"))}get activeEntry(){return this.querySelector("m-timeline-item[active]")}}Timeline.styles=[timelineStyles()],window.customElements.define("m-timeline",Timeline);const timelineItemContext=n$9(Symbol("timeline-item"));var _TimelineExpandableItem_instances,_TimelineExpandableItem_contextProvider,_TimelineExpandableItem_timelineItemHeaderTrigger_get,_TimelineExpandableItem_timelineItemBodySection_get,_TimelineExpandableItem_timelineItemBody_get,_TimelineExpandableItem_handleExpand,_TimelineExpandableItem_toggle,_TimelineExpandableItem_handleTransition,_TimelineItem_contextProvider,_TimelineItemHeaderTitle_context,_TimelineItemHeaderTitle_updateTextStyle;attachContextRoot();class TimelineExpandableItem extends Component{constructor(){super(...arguments),_TimelineExpandableItem_instances.add(this),_TimelineExpandableItem_contextProvider.set(this,new i$4(this,{context:timelineItemContext,initialValue:{variant:"neutral",completed:!1,active:!1}})),_TimelineExpandableItem_handleTransition.set(this,(()=>{this.expanded&&(__classPrivateFieldGet$1(this,_TimelineExpandableItem_instances,"a",_TimelineExpandableItem_timelineItemBodySection_get).style.height="auto")}))}static get properties(){return{completed:{type:Boolean,reflect:!0},active:{type:Boolean,reflect:!0},variant:{type:String,reflect:!0},expanded:{type:Boolean,reflect:!0},divider:{type:Boolean,reflect:!0}}}connectedCallback(){super.connectedCallback(),this.slot="item",this.variant=this.variant??"neutral",this.active=this.active??!1,this.completed=this.completed??!1,this.divider=this.divider??!1,this.expanded=this.expanded??!1,this.resizeObserver=new ResizeObserver((t=>{this.bodyHeight=t[0].target.scrollHeight}))}firstUpdated(){__classPrivateFieldGet$1(this,_TimelineExpandableItem_instances,"a",_TimelineExpandableItem_timelineItemBody_get).style.transition="visibility 0.35s",__classPrivateFieldGet$1(this,_TimelineExpandableItem_instances,"a",_TimelineExpandableItem_timelineItemBody_get).setAttribute("role","region"),this.resizeObserver.observe(__classPrivateFieldGet$1(this,_TimelineExpandableItem_instances,"a",_TimelineExpandableItem_timelineItemBodySection_get)),__classPrivateFieldGet$1(this,_TimelineExpandableItem_instances,"a",_TimelineExpandableItem_timelineItemBodySection_get).addEventListener("transitionend",__classPrivateFieldGet$1(this,_TimelineExpandableItem_handleTransition,"f"))}update(t){super.update(t),t.has("active")&&(this.active?(this.setAttribute("tabindex","0"),this.setAttribute("aria-active","step"),this.closest("m-timeline")?.requestUpdate()):(this.removeAttribute("tabindex"),this.removeAttribute("aria-active"))),t.has("expanded")&&__classPrivateFieldGet$1(this,_TimelineExpandableItem_instances,"m",_TimelineExpandableItem_handleExpand).call(this)}updated(t){super.updated(t),(t.has("active")||t.has("completed")||t.has("variant"))&&__classPrivateFieldGet$1(this,_TimelineExpandableItem_contextProvider,"f").setValue({variant:this.variant??"neutral",completed:Boolean(this.completed),active:Boolean(this.active)})}disconnectedCallback(){super.disconnectedCallback(),__classPrivateFieldGet$1(this,_TimelineExpandableItem_instances,"a",_TimelineExpandableItem_timelineItemBodySection_get).removeEventListener("transitionend",__classPrivateFieldGet$1(this,_TimelineExpandableItem_handleTransition,"f")),this.resizeObserver.disconnect()}render(){return x`
4282
4273
  <div class="side">
4283
4274
  <span aria-hidden="true" class="circle">
4284
4275
  <slot name="item-icon">
@@ -4371,7 +4362,7 @@ ${this.value}</textarea
4371
4362
  >
4372
4363
  <slot></slot>
4373
4364
  </m-group>
4374
- `}}function styles$2(){return[styles$F(),i$5`
4365
+ `}}function styles$2(){return[styles$E(),i$5`
4375
4366
  :host {
4376
4367
  /*
4377
4368
  * These custom properties are here because they are meant to be
@@ -4425,7 +4416,7 @@ ${this.value}</textarea
4425
4416
 
4426
4417
  <slot></slot>
4427
4418
  </button>
4428
- `}focus(t){__classPrivateFieldGet$1(this,_Toggle_instances,"a",_Toggle_button_get)?.focus(t)}}function trim(t){return t.trim()}function convertTriggerFromAttribute(t){return t?String(t).split(/[\s,]+/).map(trim).filter(Boolean):["hover"]}function styles$1(){return[styles$m({floatingSelector:"#floating"}),i$5`
4419
+ `}focus(t){__classPrivateFieldGet$1(this,_Toggle_instances,"a",_Toggle_button_get)?.focus(t)}}function trim(t){return t.trim()}function convertTriggerFromAttribute(t){return t?String(t).split(/[\s,]+/).map(trim).filter(Boolean):["hover"]}function styles$1(){return[styles$l({floatingSelector:"#floating"}),i$5`
4429
4420
  :host {
4430
4421
  --m-popover-width: max-content;
4431
4422
  --m-popover-min-width: 80px;
@@ -4458,4 +4449,4 @@ ${this.value}</textarea
4458
4449
  transform-origin: center;
4459
4450
  }
4460
4451
  `}var _LogoLoader_instances,_LogoLoader_getSize;const DEFAULT_SIZE="48";class LogoLoader extends s$a{constructor(){super(...arguments),_LogoLoader_instances.add(this)}static get properties(){return{size:{type:String,reflect:!0}}}connectedCallback(){super.connectedCallback(),this.style.setProperty("--m-logo-size",__classPrivateFieldGet$1(this,_LogoLoader_instances,"m",_LogoLoader_getSize).call(this))}update(t){super.update(t),t.has("size")&&this.style.setProperty("--m-logo-size",__classPrivateFieldGet$1(this,_LogoLoader_instances,"m",_LogoLoader_getSize).call(this))}render(){return b$1`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 49 48"><g opacity=".7"><mask id="a" width="49" height="16" x="0" y="32" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M32.1364 48H.5l15.1072-15.2727H48.5L33.4266 47.317c-.3323.3324-.818.683-1.2902.683Z"/></mask><g mask="url(#a)"><path fill="url(#b)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g></g><mask id="c" width="32" height="17" x="17" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M17.9546 16.3636V0H48.5L33.2273 16.3636H17.9546Z"/></mask><g mask="url(#c)"><path fill="url(#d)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g><g opacity=".7"><mask id="e" width="16" height="31" x="33" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M48.5 30.5455H33.2273V16.3637L48.5 0v30.5455Z"/></mask><g mask="url(#e)"><path fill="url(#f)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g></g><mask id="g" width="16" height="48" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M15.7727 0v32.7273L.5 48V16.94c0-.4722.18803-.9226.52036-1.2571L15.7727 0Z"/></mask><g mask="url(#g)"><path fill="url(#h)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g><defs><linearGradient id="b" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="d" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="f" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="h" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient></defs></svg>`}}_LogoLoader_instances=new WeakSet,_LogoLoader_getSize=function(){const t=parseInt(this.size??"48",10);return Number.isNaN(t)?"48px":`${t||"48"}px`},LogoLoader.styles=[styles()],window.customElements.define("m-logo-loader",LogoLoader);export{EmptyStateHeader as $,Accordion as A,BackButton as B,Card as C,Dialog as D,DialogActionPrimary as E,DialogActionSecondary as F,DialogActionTertiary as G,DialogActions as H,DialogBody as I,DialogClose as J,DialogFooter as K,DialogHeader as L,Divider as M,Drawer as N,DRAWER_SIZES as O,DrawerActionPrimary as P,DrawerActionSecondary as Q,DrawerActionTertiary as R,DrawerActions as S,DrawerBody as T,DrawerClose as U,DrawerHeader as V,Dropdown as W,DropdownTrigger as X,DropdownMenu as Y,DropdownItem as Z,EmptyStateAction as _,AccordionTitle as a,Tabs as a$,EmptyStateIllustration as a0,EmptyStateMessage as a1,EmptyState as a2,EMPTY_STATE_VARIANTS as a3,Field as a4,FieldHint as a5,FieldLabel as a6,FIELD_STATUSES as a7,Header as a8,HeaderActions as a9,Column as aA,Link as aB,PageContent as aC,Pagination as aD,ProgressBar as aE,ProgressBarCountdown as aF,Radio as aG,RadioGroup as aH,Section as aI,SectionTitle as aJ,SpinnerWheel as aK,Steps as aL,Step as aM,Switch as aN,Table as aO,defaultTableProps as aP,TableHead as aQ,TableHeadCell as aR,defaultTableHeadCellProps as aS,TableBody as aT,TableFoot as aU,TableRow as aV,TableCell as aW,defaultTableCellProps as aX,TableToolbar as aY,TableFeedback as aZ,TableActions as a_,HeaderContent as aa,HeaderTitle as ab,SubHeader as ac,AVAILABLE_ICONS as ad,Icon as ae,Label as af,defaultLabeledValueProps as ag,LabeledValue as ah,LabeledValueLabel as ai,LabeledValueValue as aj,ALIGN_ITEMS_VALUES as ak,JUSTIFY_CONTENT_VALUES as al,Box as am,defaultBoxProps as an,Group as ao,defaultGroupProps as ap,Stack as aq,defaultStackProps as ar,Grid as as,defaultGridProps as at,Sidebar as au,defaultSidebarProps as av,Switcher as aw,defaultSwitcherProps as ax,Container as ay,Row as az,b,Tab as b0,TabPanel as b1,Tag as b2,ActionableTag as b3,Text as b4,TextArea as b5,TextField as b6,Timeline as b7,TimelineExpandableItem as b8,TimelineItem as b9,TimelineItemBody as ba,TimelineItemFooter as bb,TimelineItemHeader as bc,TimelineItemHeaderSubtitle as bd,TimelineItemHeaderTitle as be,TimelineItemIcon as bf,ToggleGroup as bg,Toggle as bh,Tooltip as bi,TOOLTIP_PLACEMENT_VALUES as bj,LogoLoader as bk,AccordionContent as c,Badge as d,BannerActionPrimary as e,BannerActionSecondary as f,BannerActions as g,BannerDescription as h,BannerIcon as i,BannerTitle as j,Banner as k,Body as l,Button as m,CardBody as n,CardSubtitle as o,CardTitle as p,CardDivider as q,CardFooter as r,CardActionPrimary as s,typographyVariants as t,CardActionSecondary as u,CardActionTertiary as v,Checkbox as w,CloseButton as x,DIALOG_SIZES as y,DIALOG_VARIANTS as z};
4461
- //# sourceMappingURL=index-BLNAH2JI.js.map
4452
+ //# sourceMappingURL=index-DCVKm8ZC.js.map