@awc-ui/core 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (793) hide show
  1. package/bin/templates/astro/package.json +2 -2
  2. package/bin/templates/html/index.html +3 -3
  3. package/bin/templates/html/package.json +2 -2
  4. package/bin/templates/next/package.json +3 -3
  5. package/bin/templates/nuxt/package.json +2 -2
  6. package/bin/templates/sveltekit/package.json +2 -2
  7. package/custom-elements.json +644 -1
  8. package/dist/cjs/data-elements-Cs49KP5R.js +151 -0
  9. package/dist/cjs/data-elements-Cs49KP5R.js.map +1 -0
  10. package/dist/cjs/{index-DLOFxFlM.js → index-DHpWaYWF.js} +23 -3
  11. package/dist/cjs/{index-DLOFxFlM.js.map → index-DHpWaYWF.js.map} +1 -1
  12. package/dist/cjs/{initial-motion-DVmpmKD8.js → initial-motion-COVdXmbQ.js} +3 -3
  13. package/dist/cjs/{initial-motion-DVmpmKD8.js.map → initial-motion-COVdXmbQ.js.map} +1 -1
  14. package/dist/cjs/{lazy-loading-indicator-Bgw5HXaX.js → lazy-loading-indicator-DqjeYBZo.js} +4 -4
  15. package/dist/cjs/{lazy-loading-indicator-Bgw5HXaX.js.map → lazy-loading-indicator-DqjeYBZo.js.map} +1 -1
  16. package/dist/cjs/loader.cjs.js +2 -2
  17. package/dist/cjs/md-accordion-item.cjs.entry.js +5 -5
  18. package/dist/cjs/md-accordion.cjs.entry.js +2 -2
  19. package/dist/cjs/md-app-bar.cjs.entry.js +3 -3
  20. package/dist/cjs/md-area-chart.cjs.entry.js +27 -15
  21. package/dist/cjs/md-area-chart.cjs.entry.js.map +1 -1
  22. package/dist/cjs/md-autocomplete.cjs.entry.js +3 -3
  23. package/dist/cjs/md-avatar_2.cjs.entry.js +3 -3
  24. package/dist/cjs/md-badge.cjs.entry.js +4 -4
  25. package/dist/cjs/md-bar-chart.cjs.entry.js +27 -15
  26. package/dist/cjs/md-bar-chart.cjs.entry.js.map +1 -1
  27. package/dist/cjs/md-bottom-sheet.cjs.entry.js +6 -6
  28. package/dist/cjs/md-breadcrumb-item.cjs.entry.js +2 -2
  29. package/dist/cjs/md-breadcrumbs.cjs.entry.js +2 -2
  30. package/dist/cjs/md-button-group.cjs.entry.js +2 -2
  31. package/dist/cjs/md-button_6.cjs.entry.js +12 -12
  32. package/dist/cjs/md-chart-series.cjs.entry.js +122 -0
  33. package/dist/cjs/md-chart-series.cjs.entry.js.map +1 -0
  34. package/dist/cjs/md-checkbox.cjs.entry.js +5 -5
  35. package/dist/cjs/md-chip.cjs.entry.js +4 -4
  36. package/dist/cjs/md-color-picker.cjs.entry.js +3 -3
  37. package/dist/cjs/md-date-picker.cjs.entry.js +3 -3
  38. package/dist/cjs/md-dialog.cjs.entry.js +5 -5
  39. package/dist/cjs/md-divider.cjs.entry.js +4 -4
  40. package/dist/cjs/md-fab-menu-item.cjs.entry.js +4 -4
  41. package/dist/cjs/md-fab-menu.cjs.entry.js +5 -5
  42. package/dist/cjs/md-fab.cjs.entry.js +4 -4
  43. package/dist/cjs/md-line-chart.cjs.entry.js +31 -19
  44. package/dist/cjs/md-line-chart.cjs.entry.js.map +1 -1
  45. package/dist/cjs/md-list-item.cjs.entry.js +2 -2
  46. package/dist/cjs/md-list.cjs.entry.js +2 -2
  47. package/dist/cjs/{md-loading-indicator-BB9ghhFd.js → md-loading-indicator-Px_NR8tC.js} +4 -4
  48. package/dist/cjs/{md-loading-indicator-BB9ghhFd.js.map → md-loading-indicator-Px_NR8tC.js.map} +1 -1
  49. package/dist/cjs/md-loading-indicator.cjs.entry.js +3 -3
  50. package/dist/cjs/md-menu-item-group.cjs.entry.js +3 -3
  51. package/dist/cjs/md-menu_2.cjs.entry.js +8 -8
  52. package/dist/cjs/md-meter.cjs.entry.js +4 -4
  53. package/dist/cjs/md-multi-select.cjs.entry.js +5 -5
  54. package/dist/cjs/md-navigation-bar.cjs.entry.js +2 -2
  55. package/dist/cjs/md-navigation-rail-tab.cjs.entry.js +3 -3
  56. package/dist/cjs/md-navigation-rail.cjs.entry.js +4 -4
  57. package/dist/cjs/md-navigation-tab.cjs.entry.js +2 -2
  58. package/dist/cjs/md-number-field.cjs.entry.js +2 -2
  59. package/dist/cjs/md-organization-chart.cjs.entry.js +2 -2
  60. package/dist/cjs/md-otp-field.cjs.entry.js +2 -2
  61. package/dist/cjs/md-pie-chart.cjs.entry.js +25 -15
  62. package/dist/cjs/md-pie-chart.cjs.entry.js.map +1 -1
  63. package/dist/cjs/md-pie-slice.cjs.entry.js +59 -0
  64. package/dist/cjs/md-pie-slice.cjs.entry.js.map +1 -0
  65. package/dist/cjs/md-progress-indicator.cjs.entry.js +3 -3
  66. package/dist/cjs/md-rating.cjs.entry.js +4 -4
  67. package/dist/cjs/md-search.cjs.entry.js +4 -4
  68. package/dist/cjs/md-segmented-button-set.cjs.entry.js +4 -4
  69. package/dist/cjs/md-segmented-button.cjs.entry.js +5 -5
  70. package/dist/cjs/md-select-option.cjs.entry.js +3 -3
  71. package/dist/cjs/md-select.cjs.entry.js +5 -5
  72. package/dist/cjs/md-side-sheet.cjs.entry.js +6 -6
  73. package/dist/cjs/md-skeleton.cjs.entry.js +3 -3
  74. package/dist/cjs/md-slider.cjs.entry.js +2 -2
  75. package/dist/cjs/md-sparkline-point.cjs.entry.js +43 -0
  76. package/dist/cjs/md-sparkline-point.cjs.entry.js.map +1 -0
  77. package/dist/cjs/md-sparkline.cjs.entry.js +22 -12
  78. package/dist/cjs/md-sparkline.cjs.entry.js.map +1 -1
  79. package/dist/cjs/md-split-button.cjs.entry.js +5 -5
  80. package/dist/cjs/md-status-dot.cjs.entry.js +3 -3
  81. package/dist/cjs/md-step.cjs.entry.js +8 -8
  82. package/dist/cjs/md-stepper.cjs.entry.js +5 -5
  83. package/dist/cjs/md-sub-menu-item.cjs.entry.js +4 -4
  84. package/dist/cjs/md-switch.cjs.entry.js +4 -4
  85. package/dist/cjs/md-tab-panel.cjs.entry.js +3 -3
  86. package/dist/cjs/md-tab-panels.cjs.entry.js +3 -3
  87. package/dist/cjs/md-tab.cjs.entry.js +6 -6
  88. package/dist/cjs/md-table-body.cjs.entry.js +3 -3
  89. package/dist/cjs/md-table-cell.cjs.entry.js +4 -4
  90. package/dist/cjs/md-table-container.cjs.entry.js +4 -4
  91. package/dist/cjs/md-table-expand-toggle.cjs.entry.js +4 -4
  92. package/dist/cjs/md-table-foot.cjs.entry.js +3 -3
  93. package/dist/cjs/md-table-head.cjs.entry.js +3 -3
  94. package/dist/cjs/md-table-pagination.cjs.entry.js +4 -4
  95. package/dist/cjs/md-table-row.cjs.entry.js +6 -6
  96. package/dist/cjs/md-table-sort-label.cjs.entry.js +4 -4
  97. package/dist/cjs/md-table-toolbar.cjs.entry.js +5 -5
  98. package/dist/cjs/md-table.cjs.entry.js +5 -5
  99. package/dist/cjs/md-tabs.cjs.entry.js +4 -4
  100. package/dist/cjs/md-text-field.cjs.entry.js +9 -9
  101. package/dist/cjs/md-time-picker.cjs.entry.js +4 -4
  102. package/dist/cjs/md-toolbar.cjs.entry.js +5 -5
  103. package/dist/cjs/md-transfer-list.cjs.entry.js +3 -3
  104. package/dist/cjs/md3.cjs.js +2 -2
  105. package/dist/cjs/{overlay-lifecycle-CUc_dfNl.js → overlay-lifecycle-Bhu5zauR.js} +3 -3
  106. package/dist/cjs/{overlay-lifecycle-CUc_dfNl.js.map → overlay-lifecycle-Bhu5zauR.js.map} +1 -1
  107. package/dist/cjs/series-elements-B4T7vF5A.js +90 -0
  108. package/dist/cjs/series-elements-B4T7vF5A.js.map +1 -0
  109. package/dist/collection/collection-manifest.json +4 -1
  110. package/dist/collection/components/md-accordion-item/md-accordion-item.js +3 -3
  111. package/dist/collection/components/md-app-bar/md-app-bar.js +1 -1
  112. package/dist/collection/components/md-area-chart/md-area-chart.js +35 -22
  113. package/dist/collection/components/md-area-chart/md-area-chart.js.map +1 -1
  114. package/dist/collection/components/md-badge/md-badge.js +2 -2
  115. package/dist/collection/components/md-bar-chart/md-bar-chart.js +31 -18
  116. package/dist/collection/components/md-bar-chart/md-bar-chart.js.map +1 -1
  117. package/dist/collection/components/md-bottom-sheet/md-bottom-sheet.js +4 -4
  118. package/dist/collection/components/md-chart-series/md-chart-series.css +4 -0
  119. package/dist/collection/components/md-chart-series/md-chart-series.js +654 -0
  120. package/dist/collection/components/md-chart-series/md-chart-series.js.map +1 -0
  121. package/dist/collection/components/md-checkbox/md-checkbox.js +3 -3
  122. package/dist/collection/components/md-chip/md-chip.js +2 -2
  123. package/dist/collection/components/md-dialog/md-dialog.js +2 -2
  124. package/dist/collection/components/md-divider/md-divider.js +2 -2
  125. package/dist/collection/components/md-fab/md-fab.js +2 -2
  126. package/dist/collection/components/md-fab-menu/md-fab-menu.js +2 -2
  127. package/dist/collection/components/md-fab-menu-item/md-fab-menu-item.js +2 -2
  128. package/dist/collection/components/md-icon-button/md-icon-button.js +4 -4
  129. package/dist/collection/components/md-line-chart/md-line-chart.js +31 -18
  130. package/dist/collection/components/md-line-chart/md-line-chart.js.map +1 -1
  131. package/dist/collection/components/md-menu/md-menu.js +3 -3
  132. package/dist/collection/components/md-menu-item/md-menu-item.js +2 -2
  133. package/dist/collection/components/md-menu-item-group/md-menu-item-group.js +1 -1
  134. package/dist/collection/components/md-meter/md-meter.js +2 -2
  135. package/dist/collection/components/md-multi-select/md-multi-select.js +2 -2
  136. package/dist/collection/components/md-navigation-rail/md-navigation-rail.js +2 -2
  137. package/dist/collection/components/md-navigation-rail-tab/md-navigation-rail-tab.js +1 -1
  138. package/dist/collection/components/md-pie-chart/md-pie-chart.js +25 -14
  139. package/dist/collection/components/md-pie-chart/md-pie-chart.js.map +1 -1
  140. package/dist/collection/components/md-pie-slice/md-pie-slice.css +1 -0
  141. package/dist/collection/components/md-pie-slice/md-pie-slice.js +227 -0
  142. package/dist/collection/components/md-pie-slice/md-pie-slice.js.map +1 -0
  143. package/dist/collection/components/md-progress-indicator/md-progress-indicator.js +1 -1
  144. package/dist/collection/components/md-radio/md-radio.js +2 -2
  145. package/dist/collection/components/md-rating/md-rating.js +2 -2
  146. package/dist/collection/components/md-ripple/md-ripple.js +1 -1
  147. package/dist/collection/components/md-segmented-button/md-segmented-button.js +3 -3
  148. package/dist/collection/components/md-segmented-button-set/md-segmented-button-set.js +2 -2
  149. package/dist/collection/components/md-select/md-select.js +2 -2
  150. package/dist/collection/components/md-select-option/md-select-option.js +1 -1
  151. package/dist/collection/components/md-side-sheet/md-side-sheet.js +3 -3
  152. package/dist/collection/components/md-skeleton/md-skeleton.js +1 -1
  153. package/dist/collection/components/md-snackbar/md-snackbar.js +2 -2
  154. package/dist/collection/components/md-sparkline/md-sparkline.js +22 -11
  155. package/dist/collection/components/md-sparkline/md-sparkline.js.map +1 -1
  156. package/dist/collection/components/md-sparkline-point/md-sparkline-point.css +1 -0
  157. package/dist/collection/components/md-sparkline-point/md-sparkline-point.js +96 -0
  158. package/dist/collection/components/md-sparkline-point/md-sparkline-point.js.map +1 -0
  159. package/dist/collection/components/md-split-button/md-split-button.js +3 -3
  160. package/dist/collection/components/md-status-dot/md-status-dot.js +1 -1
  161. package/dist/collection/components/md-step/md-step.js +6 -6
  162. package/dist/collection/components/md-stepper/md-stepper.js +3 -3
  163. package/dist/collection/components/md-sub-menu-item/md-sub-menu-item.js +2 -2
  164. package/dist/collection/components/md-switch/md-switch.js +2 -2
  165. package/dist/collection/components/md-tab/md-tab.js +4 -4
  166. package/dist/collection/components/md-tab-panel/md-tab-panel.js +1 -1
  167. package/dist/collection/components/md-tab-panels/md-tab-panels.js +1 -1
  168. package/dist/collection/components/md-table/md-table.js +3 -3
  169. package/dist/collection/components/md-table-body/md-table-body.js +1 -1
  170. package/dist/collection/components/md-table-cell/md-table-cell.js +2 -2
  171. package/dist/collection/components/md-table-container/md-table-container.js +2 -2
  172. package/dist/collection/components/md-table-expand-toggle/md-table-expand-toggle.js +2 -2
  173. package/dist/collection/components/md-table-foot/md-table-foot.js +1 -1
  174. package/dist/collection/components/md-table-head/md-table-head.js +1 -1
  175. package/dist/collection/components/md-table-pagination/md-table-pagination.js +2 -2
  176. package/dist/collection/components/md-table-row/md-table-row.js +4 -4
  177. package/dist/collection/components/md-table-sort-label/md-table-sort-label.js +2 -2
  178. package/dist/collection/components/md-table-toolbar/md-table-toolbar.js +3 -3
  179. package/dist/collection/components/md-tabs/md-tabs.js +2 -2
  180. package/dist/collection/components/md-text-field/md-text-field.js +7 -7
  181. package/dist/collection/components/md-time-picker/md-time-picker.js +1 -1
  182. package/dist/collection/components/md-toolbar/md-toolbar.js +3 -3
  183. package/dist/collection/components/md-tooltip/md-tooltip.js +1 -1
  184. package/dist/collection/components/md-transfer-list/md-transfer-list.js +1 -1
  185. package/dist/collection/index.js.map +1 -1
  186. package/dist/collection/utils/charts/data-elements.js +138 -0
  187. package/dist/collection/utils/charts/data-elements.js.map +1 -0
  188. package/dist/collection/utils/charts/series-elements.js +82 -0
  189. package/dist/collection/utils/charts/series-elements.js.map +1 -0
  190. package/dist/components/index.js +1 -1
  191. package/dist/components/md-accordion-item.js +1 -1
  192. package/dist/components/md-accordion.js +1 -1
  193. package/dist/components/md-app-bar.js +1 -1
  194. package/dist/components/md-area-chart.js +1 -1
  195. package/dist/components/md-area-chart.js.map +1 -1
  196. package/dist/components/md-autocomplete.js +1 -1
  197. package/dist/components/md-avatar.js +1 -1
  198. package/dist/components/md-badge.js +1 -1
  199. package/dist/components/md-bar-chart.js +1 -1
  200. package/dist/components/md-bar-chart.js.map +1 -1
  201. package/dist/components/md-bottom-sheet.js +1 -1
  202. package/dist/components/md-breadcrumb-item.js +1 -1
  203. package/dist/components/md-breadcrumbs.js +1 -1
  204. package/dist/components/md-button-group.js +1 -1
  205. package/dist/components/md-button.js +1 -1
  206. package/dist/components/md-card.js +1 -1
  207. package/dist/components/md-chart-series.d.ts +11 -0
  208. package/dist/components/md-chart-series.js +2 -0
  209. package/dist/components/md-chart-series.js.map +1 -0
  210. package/dist/components/md-checkbox.js +1 -1
  211. package/dist/components/md-chip.js +1 -1
  212. package/dist/components/md-color-picker.js +1 -1
  213. package/dist/components/md-date-picker.js +1 -1
  214. package/dist/components/md-dialog.js +1 -1
  215. package/dist/components/md-divider.js +1 -1
  216. package/dist/components/md-fab-menu-item.js +1 -1
  217. package/dist/components/md-fab-menu.js +1 -1
  218. package/dist/components/md-fab.js +1 -1
  219. package/dist/components/md-icon-button.js +1 -1
  220. package/dist/components/md-line-chart.js +1 -1
  221. package/dist/components/md-line-chart.js.map +1 -1
  222. package/dist/components/md-list-item.js +1 -1
  223. package/dist/components/md-list.js +1 -1
  224. package/dist/components/md-loading-indicator.js +1 -1
  225. package/dist/components/md-menu-item-group.js +1 -1
  226. package/dist/components/md-menu-item.js +1 -1
  227. package/dist/components/md-menu.js +1 -1
  228. package/dist/components/md-meter.js +1 -1
  229. package/dist/components/md-multi-select.js +1 -1
  230. package/dist/components/md-navigation-bar.js +1 -1
  231. package/dist/components/md-navigation-rail-tab.js +1 -1
  232. package/dist/components/md-navigation-rail.js +1 -1
  233. package/dist/components/md-navigation-tab.js +1 -1
  234. package/dist/components/md-number-field.js +1 -1
  235. package/dist/components/md-organization-chart.js +1 -1
  236. package/dist/components/md-otp-field.js +1 -1
  237. package/dist/components/md-pie-chart.js +1 -1
  238. package/dist/components/md-pie-chart.js.map +1 -1
  239. package/dist/components/md-pie-slice.d.ts +11 -0
  240. package/dist/components/md-pie-slice.js +2 -0
  241. package/dist/components/md-pie-slice.js.map +1 -0
  242. package/dist/components/md-progress-indicator.js +1 -1
  243. package/dist/components/md-radio.js +1 -1
  244. package/dist/components/md-rating.js +1 -1
  245. package/dist/components/md-ripple.js +1 -1
  246. package/dist/components/md-search.js +1 -1
  247. package/dist/components/md-segmented-button-set.js +1 -1
  248. package/dist/components/md-segmented-button.js +1 -1
  249. package/dist/components/md-select-option.js +1 -1
  250. package/dist/components/md-select-option.js.map +1 -1
  251. package/dist/components/md-select.js +1 -1
  252. package/dist/components/md-side-sheet.js +1 -1
  253. package/dist/components/md-skeleton.js +1 -1
  254. package/dist/components/md-slider.js +1 -1
  255. package/dist/components/md-snackbar.js +1 -1
  256. package/dist/components/md-sparkline-point.d.ts +11 -0
  257. package/dist/components/md-sparkline-point.js +2 -0
  258. package/dist/components/md-sparkline-point.js.map +1 -0
  259. package/dist/components/md-sparkline.js +1 -1
  260. package/dist/components/md-sparkline.js.map +1 -1
  261. package/dist/components/md-split-button.js +1 -1
  262. package/dist/components/md-status-dot.js +1 -1
  263. package/dist/components/md-step.js +1 -1
  264. package/dist/components/md-stepper.js +1 -1
  265. package/dist/components/md-sub-menu-item.js +1 -1
  266. package/dist/components/md-switch.js +1 -1
  267. package/dist/components/md-tab-panel.js +1 -1
  268. package/dist/components/md-tab-panels.js +1 -1
  269. package/dist/components/md-tab.js +1 -1
  270. package/dist/components/md-tab.js.map +1 -1
  271. package/dist/components/md-table-body.js +1 -1
  272. package/dist/components/md-table-cell.js +1 -1
  273. package/dist/components/md-table-container.js +1 -1
  274. package/dist/components/md-table-expand-toggle.js +1 -1
  275. package/dist/components/md-table-foot.js +1 -1
  276. package/dist/components/md-table-head.js +1 -1
  277. package/dist/components/md-table-pagination.js +1 -1
  278. package/dist/components/md-table-pagination.js.map +1 -1
  279. package/dist/components/md-table-row.js +1 -1
  280. package/dist/components/md-table-sort-label.js +1 -1
  281. package/dist/components/md-table-toolbar.js +1 -1
  282. package/dist/components/md-table.js +1 -1
  283. package/dist/components/md-tabs.js +1 -1
  284. package/dist/components/md-text-field.js +1 -1
  285. package/dist/components/md-time-picker.js +1 -1
  286. package/dist/components/md-toolbar.js +1 -1
  287. package/dist/components/md-tooltip.js +1 -1
  288. package/dist/components/md-transfer-list.js +1 -1
  289. package/dist/{md3/p-BytnCy9Z.js → components/p-0hoYij4e.js} +2 -2
  290. package/dist/{components-csr/p-mPtoRtT7.js → components/p-8ZntJ7QX.js} +2 -2
  291. package/dist/components/p-BcgBd7Uo.js +2 -0
  292. package/dist/components/p-BcgBd7Uo.js.map +1 -0
  293. package/dist/components/{p-DIGH4LlS.js → p-Be_QxD6y.js} +2 -2
  294. package/dist/components/{p-BcOsCkxa.js → p-C9Z-3TKn.js} +2 -2
  295. package/dist/components/p-CGLhTKkQ.js +2 -0
  296. package/dist/components/p-CGLhTKkQ.js.map +1 -0
  297. package/dist/components/{p-CGKlSro0.js → p-CWveMYei.js} +2 -2
  298. package/dist/{components-csr/p-B3y4Sfu7.js → components/p-CXuNI4mJ.js} +2 -2
  299. package/dist/components/{p-BCAoGEfF.js → p-CjebvGxr.js} +2 -2
  300. package/dist/components/{p-BWCwdLDy.js → p-Cui8F6rf.js} +2 -2
  301. package/dist/components/{p-B9jJRlnU.js → p-D9C2BtN-.js} +2 -2
  302. package/dist/components/{p-AD7q8XNf.js → p-DI0ebvMQ.js} +2 -2
  303. package/dist/components/{p-BJAKwQqQ.js → p-DM30Y_8c.js} +2 -2
  304. package/dist/components/{p-CXOHmY2w.js → p-DTAVEp79.js} +2 -2
  305. package/dist/{components-csr/p-DQL7SnR8.js → components/p-DoQ8iQ1K.js} +2 -2
  306. package/dist/components/{p-CjV5tPMM.js → p-OutEvCQi.js} +2 -2
  307. package/dist/components/{p-D_fs8IXJ.js → p-bn_S0ywb.js} +2 -2
  308. package/dist/components/{p-CspVD-eh.js → p-t9lomFml.js} +2 -2
  309. package/dist/components/p-t9lomFml.js.map +1 -0
  310. package/dist/components/{p-63ROhs5i.js → p-xuLJPnDM.js} +2 -2
  311. package/dist/components/{p-KXxaSDnZ.js → p-y5Rx7xpR.js} +2 -2
  312. package/dist/components-csr/index.js +1 -1
  313. package/dist/components-csr/md-accordion-item.js +1 -1
  314. package/dist/components-csr/md-accordion.js +1 -1
  315. package/dist/components-csr/md-app-bar.js +1 -1
  316. package/dist/components-csr/md-area-chart.js +1 -1
  317. package/dist/components-csr/md-area-chart.js.map +1 -1
  318. package/dist/components-csr/md-autocomplete.js +1 -1
  319. package/dist/components-csr/md-avatar.js +1 -1
  320. package/dist/components-csr/md-badge.js +1 -1
  321. package/dist/components-csr/md-bar-chart.js +1 -1
  322. package/dist/components-csr/md-bar-chart.js.map +1 -1
  323. package/dist/components-csr/md-bottom-sheet.js +1 -1
  324. package/dist/components-csr/md-breadcrumb-item.js +1 -1
  325. package/dist/components-csr/md-breadcrumbs.js +1 -1
  326. package/dist/components-csr/md-button-group.js +1 -1
  327. package/dist/components-csr/md-button.js +1 -1
  328. package/dist/components-csr/md-card.js +1 -1
  329. package/dist/components-csr/md-chart-series.js +2 -0
  330. package/dist/components-csr/md-chart-series.js.map +1 -0
  331. package/dist/components-csr/md-checkbox.js +1 -1
  332. package/dist/components-csr/md-chip.js +1 -1
  333. package/dist/components-csr/md-color-picker.js +1 -1
  334. package/dist/components-csr/md-date-picker.js +1 -1
  335. package/dist/components-csr/md-dialog.js +1 -1
  336. package/dist/components-csr/md-divider.js +1 -1
  337. package/dist/components-csr/md-fab-menu-item.js +1 -1
  338. package/dist/components-csr/md-fab-menu.js +1 -1
  339. package/dist/components-csr/md-fab.js +1 -1
  340. package/dist/components-csr/md-icon-button.js +1 -1
  341. package/dist/components-csr/md-line-chart.js +1 -1
  342. package/dist/components-csr/md-line-chart.js.map +1 -1
  343. package/dist/components-csr/md-list-item.js +1 -1
  344. package/dist/components-csr/md-list.js +1 -1
  345. package/dist/components-csr/md-loading-indicator.js +1 -1
  346. package/dist/components-csr/md-menu-item-group.js +1 -1
  347. package/dist/components-csr/md-menu-item.js +1 -1
  348. package/dist/components-csr/md-menu.js +1 -1
  349. package/dist/components-csr/md-meter.js +1 -1
  350. package/dist/components-csr/md-multi-select.js +1 -1
  351. package/dist/components-csr/md-navigation-bar.js +1 -1
  352. package/dist/components-csr/md-navigation-rail-tab.js +1 -1
  353. package/dist/components-csr/md-navigation-rail.js +1 -1
  354. package/dist/components-csr/md-navigation-tab.js +1 -1
  355. package/dist/components-csr/md-number-field.js +1 -1
  356. package/dist/components-csr/md-organization-chart.js +1 -1
  357. package/dist/components-csr/md-otp-field.js +1 -1
  358. package/dist/components-csr/md-pie-chart.js +1 -1
  359. package/dist/components-csr/md-pie-chart.js.map +1 -1
  360. package/dist/components-csr/md-pie-slice.js +2 -0
  361. package/dist/components-csr/md-pie-slice.js.map +1 -0
  362. package/dist/components-csr/md-progress-indicator.js +1 -1
  363. package/dist/components-csr/md-radio.js +1 -1
  364. package/dist/components-csr/md-rating.js +1 -1
  365. package/dist/components-csr/md-ripple.js +1 -1
  366. package/dist/components-csr/md-search.js +1 -1
  367. package/dist/components-csr/md-segmented-button-set.js +1 -1
  368. package/dist/components-csr/md-segmented-button.js +1 -1
  369. package/dist/components-csr/md-select-option.js +1 -1
  370. package/dist/components-csr/md-select-option.js.map +1 -1
  371. package/dist/components-csr/md-select.js +1 -1
  372. package/dist/components-csr/md-side-sheet.js +1 -1
  373. package/dist/components-csr/md-skeleton.js +1 -1
  374. package/dist/components-csr/md-slider.js +1 -1
  375. package/dist/components-csr/md-snackbar.js +1 -1
  376. package/dist/components-csr/md-sparkline-point.js +2 -0
  377. package/dist/components-csr/md-sparkline-point.js.map +1 -0
  378. package/dist/components-csr/md-sparkline.js +1 -1
  379. package/dist/components-csr/md-sparkline.js.map +1 -1
  380. package/dist/components-csr/md-split-button.js +1 -1
  381. package/dist/components-csr/md-status-dot.js +1 -1
  382. package/dist/components-csr/md-step.js +1 -1
  383. package/dist/components-csr/md-stepper.js +1 -1
  384. package/dist/components-csr/md-sub-menu-item.js +1 -1
  385. package/dist/components-csr/md-switch.js +1 -1
  386. package/dist/components-csr/md-tab-panel.js +1 -1
  387. package/dist/components-csr/md-tab-panels.js +1 -1
  388. package/dist/components-csr/md-tab.js +1 -1
  389. package/dist/components-csr/md-tab.js.map +1 -1
  390. package/dist/components-csr/md-table-body.js +1 -1
  391. package/dist/components-csr/md-table-cell.js +1 -1
  392. package/dist/components-csr/md-table-container.js +1 -1
  393. package/dist/components-csr/md-table-expand-toggle.js +1 -1
  394. package/dist/components-csr/md-table-foot.js +1 -1
  395. package/dist/components-csr/md-table-head.js +1 -1
  396. package/dist/components-csr/md-table-pagination.js +1 -1
  397. package/dist/components-csr/md-table-pagination.js.map +1 -1
  398. package/dist/components-csr/md-table-row.js +1 -1
  399. package/dist/components-csr/md-table-sort-label.js +1 -1
  400. package/dist/components-csr/md-table-toolbar.js +1 -1
  401. package/dist/components-csr/md-table.js +1 -1
  402. package/dist/components-csr/md-tabs.js +1 -1
  403. package/dist/components-csr/md-text-field.js +1 -1
  404. package/dist/components-csr/md-time-picker.js +1 -1
  405. package/dist/components-csr/md-toolbar.js +1 -1
  406. package/dist/components-csr/md-tooltip.js +1 -1
  407. package/dist/components-csr/md-transfer-list.js +1 -1
  408. package/dist/components-csr/{p-C7SO-MXq.js → p--clgeNUW.js} +2 -2
  409. package/dist/components-csr/{p-BT43J7lo.js → p-17dQVZNR.js} +2 -2
  410. package/dist/{components/p-DoJOR0pW.js → components-csr/p-B28l7X5i.js} +2 -2
  411. package/dist/components-csr/{p-CZp-Xecz.js → p-B2vk3_BC.js} +2 -2
  412. package/dist/components-csr/p-BcgBd7Uo.js +2 -0
  413. package/dist/components-csr/p-BcgBd7Uo.js.map +1 -0
  414. package/dist/components-csr/{p-D5zCIaks.js → p-BwQyYHuZ.js} +2 -2
  415. package/dist/components-csr/{p-Cr1trPWZ.js → p-C9XZMCL-.js} +2 -2
  416. package/dist/components-csr/p-CGLhTKkQ.js +2 -0
  417. package/dist/components-csr/p-CGLhTKkQ.js.map +1 -0
  418. package/dist/components-csr/{p-CWxDc07j.js → p-D-dmT5kY.js} +2 -2
  419. package/dist/components-csr/{p-CQoO26r0.js → p-D6ADzLya.js} +2 -2
  420. package/dist/{components/p-WQOlnYmQ.js → components-csr/p-D7AEBQIw.js} +2 -2
  421. package/dist/components-csr/{p-B_K-3G0S.js → p-D9cIx3li.js} +2 -2
  422. package/dist/components-csr/{p-Ca8f4AyH.js → p-DERBQrj5.js} +2 -2
  423. package/dist/components-csr/{p-CUMT_XYv.js → p-DFJO04Vn.js} +2 -2
  424. package/dist/components-csr/{p-Px_e-xy9.js → p-DH9RCl21.js} +2 -2
  425. package/dist/components-csr/{p-CB_bjwk9.js → p-DHw4bV7s.js} +2 -2
  426. package/dist/components-csr/{p-BuMwJsnQ.js → p-DeGXyF1I.js} +2 -2
  427. package/dist/components-csr/{p-B37-0L5e.js → p-dBZ_5SDM.js} +2 -2
  428. package/dist/components-csr/p-dBZ_5SDM.js.map +1 -0
  429. package/dist/{components/p-C6Dk5I_4.js → components-csr/p-jG7JIK7t.js} +2 -2
  430. package/dist/components-csr/{p-CvTDNP2i.js → p-oV2Z2HiI.js} +2 -2
  431. package/dist/esm/data-elements-D_7JTg9V.js +142 -0
  432. package/dist/esm/data-elements-D_7JTg9V.js.map +1 -0
  433. package/dist/esm/{index-DkJ2hl1A.js → index-DuCsV-Tv.js} +23 -3
  434. package/dist/esm/{index-DkJ2hl1A.js.map → index-DuCsV-Tv.js.map} +1 -1
  435. package/dist/esm/{initial-motion-DdqthWsh.js → initial-motion-D_VxK6y5.js} +3 -3
  436. package/dist/esm/{initial-motion-DdqthWsh.js.map → initial-motion-D_VxK6y5.js.map} +1 -1
  437. package/dist/esm/{lazy-loading-indicator-CrT32bSG.js → lazy-loading-indicator-D01l1mnu.js} +4 -4
  438. package/dist/esm/{lazy-loading-indicator-CrT32bSG.js.map → lazy-loading-indicator-D01l1mnu.js.map} +1 -1
  439. package/dist/esm/loader.js +3 -3
  440. package/dist/esm/md-accordion-item.entry.js +5 -5
  441. package/dist/esm/md-accordion.entry.js +2 -2
  442. package/dist/esm/md-app-bar.entry.js +3 -3
  443. package/dist/esm/md-area-chart.entry.js +27 -15
  444. package/dist/esm/md-area-chart.entry.js.map +1 -1
  445. package/dist/esm/md-autocomplete.entry.js +3 -3
  446. package/dist/esm/md-avatar_2.entry.js +3 -3
  447. package/dist/esm/md-badge.entry.js +4 -4
  448. package/dist/esm/md-bar-chart.entry.js +27 -15
  449. package/dist/esm/md-bar-chart.entry.js.map +1 -1
  450. package/dist/esm/md-bottom-sheet.entry.js +6 -6
  451. package/dist/esm/md-breadcrumb-item.entry.js +2 -2
  452. package/dist/esm/md-breadcrumbs.entry.js +2 -2
  453. package/dist/esm/md-button-group.entry.js +2 -2
  454. package/dist/esm/md-button_6.entry.js +12 -12
  455. package/dist/esm/md-chart-series.entry.js +120 -0
  456. package/dist/esm/md-chart-series.entry.js.map +1 -0
  457. package/dist/esm/md-checkbox.entry.js +5 -5
  458. package/dist/esm/md-chip.entry.js +4 -4
  459. package/dist/esm/md-color-picker.entry.js +3 -3
  460. package/dist/esm/md-date-picker.entry.js +3 -3
  461. package/dist/esm/md-dialog.entry.js +5 -5
  462. package/dist/esm/md-divider.entry.js +4 -4
  463. package/dist/esm/md-fab-menu-item.entry.js +4 -4
  464. package/dist/esm/md-fab-menu.entry.js +5 -5
  465. package/dist/esm/md-fab.entry.js +4 -4
  466. package/dist/esm/md-line-chart.entry.js +31 -19
  467. package/dist/esm/md-line-chart.entry.js.map +1 -1
  468. package/dist/esm/md-list-item.entry.js +2 -2
  469. package/dist/esm/md-list.entry.js +2 -2
  470. package/dist/esm/{md-loading-indicator-y7Swvv8I.js → md-loading-indicator-DvHmp-e1.js} +4 -4
  471. package/dist/esm/{md-loading-indicator-y7Swvv8I.js.map → md-loading-indicator-DvHmp-e1.js.map} +1 -1
  472. package/dist/esm/md-loading-indicator.entry.js +3 -3
  473. package/dist/esm/md-menu-item-group.entry.js +3 -3
  474. package/dist/esm/md-menu_2.entry.js +8 -8
  475. package/dist/esm/md-meter.entry.js +4 -4
  476. package/dist/esm/md-multi-select.entry.js +5 -5
  477. package/dist/esm/md-navigation-bar.entry.js +2 -2
  478. package/dist/esm/md-navigation-rail-tab.entry.js +3 -3
  479. package/dist/esm/md-navigation-rail.entry.js +4 -4
  480. package/dist/esm/md-navigation-tab.entry.js +2 -2
  481. package/dist/esm/md-number-field.entry.js +2 -2
  482. package/dist/esm/md-organization-chart.entry.js +2 -2
  483. package/dist/esm/md-otp-field.entry.js +2 -2
  484. package/dist/esm/md-pie-chart.entry.js +25 -15
  485. package/dist/esm/md-pie-chart.entry.js.map +1 -1
  486. package/dist/esm/md-pie-slice.entry.js +57 -0
  487. package/dist/esm/md-pie-slice.entry.js.map +1 -0
  488. package/dist/esm/md-progress-indicator.entry.js +3 -3
  489. package/dist/esm/md-rating.entry.js +4 -4
  490. package/dist/esm/md-search.entry.js +4 -4
  491. package/dist/esm/md-segmented-button-set.entry.js +4 -4
  492. package/dist/esm/md-segmented-button.entry.js +5 -5
  493. package/dist/esm/md-select-option.entry.js +3 -3
  494. package/dist/esm/md-select.entry.js +5 -5
  495. package/dist/esm/md-side-sheet.entry.js +6 -6
  496. package/dist/esm/md-skeleton.entry.js +3 -3
  497. package/dist/esm/md-slider.entry.js +2 -2
  498. package/dist/esm/md-sparkline-point.entry.js +41 -0
  499. package/dist/esm/md-sparkline-point.entry.js.map +1 -0
  500. package/dist/esm/md-sparkline.entry.js +22 -12
  501. package/dist/esm/md-sparkline.entry.js.map +1 -1
  502. package/dist/esm/md-split-button.entry.js +5 -5
  503. package/dist/esm/md-status-dot.entry.js +3 -3
  504. package/dist/esm/md-step.entry.js +8 -8
  505. package/dist/esm/md-stepper.entry.js +5 -5
  506. package/dist/esm/md-sub-menu-item.entry.js +4 -4
  507. package/dist/esm/md-switch.entry.js +4 -4
  508. package/dist/esm/md-tab-panel.entry.js +3 -3
  509. package/dist/esm/md-tab-panels.entry.js +3 -3
  510. package/dist/esm/md-tab.entry.js +6 -6
  511. package/dist/esm/md-table-body.entry.js +3 -3
  512. package/dist/esm/md-table-cell.entry.js +4 -4
  513. package/dist/esm/md-table-container.entry.js +4 -4
  514. package/dist/esm/md-table-expand-toggle.entry.js +4 -4
  515. package/dist/esm/md-table-foot.entry.js +3 -3
  516. package/dist/esm/md-table-head.entry.js +3 -3
  517. package/dist/esm/md-table-pagination.entry.js +4 -4
  518. package/dist/esm/md-table-row.entry.js +6 -6
  519. package/dist/esm/md-table-sort-label.entry.js +4 -4
  520. package/dist/esm/md-table-toolbar.entry.js +5 -5
  521. package/dist/esm/md-table.entry.js +5 -5
  522. package/dist/esm/md-tabs.entry.js +4 -4
  523. package/dist/esm/md-text-field.entry.js +9 -9
  524. package/dist/esm/md-time-picker.entry.js +4 -4
  525. package/dist/esm/md-toolbar.entry.js +5 -5
  526. package/dist/esm/md-transfer-list.entry.js +3 -3
  527. package/dist/esm/md3.js +3 -3
  528. package/dist/esm/{overlay-lifecycle-B4XGZ4dz.js → overlay-lifecycle-CcRpkenI.js} +3 -3
  529. package/dist/esm/{overlay-lifecycle-B4XGZ4dz.js.map → overlay-lifecycle-CcRpkenI.js.map} +1 -1
  530. package/dist/esm/series-elements-BcgBd7Uo.js +86 -0
  531. package/dist/esm/series-elements-BcgBd7Uo.js.map +1 -0
  532. package/dist/md3/md3.css +1 -1
  533. package/dist/md3/md3.esm.js +1 -1
  534. package/dist/md3/p-02e4b894.entry.js +2 -0
  535. package/dist/md3/{p-6d4889c1.entry.js.map → p-02e4b894.entry.js.map} +1 -1
  536. package/dist/md3/{p-9fe46046.entry.js → p-05960ec0.entry.js} +2 -2
  537. package/dist/md3/{p-77635ead.entry.js → p-08ef6b8f.entry.js} +2 -2
  538. package/dist/md3/{p-a0f17bfb.entry.js → p-1020166c.entry.js} +2 -2
  539. package/dist/md3/{p-db74251c.entry.js → p-11531ae7.entry.js} +2 -2
  540. package/dist/md3/p-1426ea48.entry.js +2 -0
  541. package/dist/md3/p-1426ea48.entry.js.map +1 -0
  542. package/dist/md3/{p-908456a6.entry.js → p-18a1fe71.entry.js} +2 -2
  543. package/dist/md3/p-19222f36.entry.js +2 -0
  544. package/dist/md3/{p-16306734.entry.js.map → p-19222f36.entry.js.map} +1 -1
  545. package/dist/md3/{p-fd02aa37.entry.js → p-197f8e6c.entry.js} +2 -2
  546. package/dist/md3/{p-9d1c66a8.entry.js → p-1c930a91.entry.js} +2 -2
  547. package/dist/md3/p-22fd4581.entry.js +2 -0
  548. package/dist/md3/p-22fd4581.entry.js.map +1 -0
  549. package/dist/md3/{p-96cbfdca.entry.js → p-28eb088f.entry.js} +2 -2
  550. package/dist/md3/{p-ffbde7ad.entry.js → p-292823f3.entry.js} +2 -2
  551. package/dist/md3/p-2ab73869.entry.js +2 -0
  552. package/dist/md3/p-2ab73869.entry.js.map +1 -0
  553. package/dist/md3/{p-bc863e1b.entry.js → p-2b4ca89b.entry.js} +2 -2
  554. package/dist/md3/{p-af437c3c.entry.js → p-2caf7fb6.entry.js} +2 -2
  555. package/dist/md3/p-333e5f08.entry.js +2 -0
  556. package/dist/md3/p-333e5f08.entry.js.map +1 -0
  557. package/dist/md3/{p-b5a8f03c.entry.js → p-35216f14.entry.js} +2 -2
  558. package/dist/md3/{p-272ef8cb.entry.js → p-3e07b199.entry.js} +2 -2
  559. package/dist/md3/{p-c664501b.entry.js → p-3fc79692.entry.js} +2 -2
  560. package/dist/md3/{p-1b506237.entry.js → p-45931478.entry.js} +2 -2
  561. package/dist/md3/{p-03f06a3c.entry.js → p-4a60f85d.entry.js} +2 -2
  562. package/dist/md3/{p-3d90a202.entry.js → p-4c3e159a.entry.js} +2 -2
  563. package/dist/md3/{p-0c795946.entry.js → p-50dad3c7.entry.js} +2 -2
  564. package/dist/md3/{p-1ed83da9.entry.js → p-54c42926.entry.js} +2 -2
  565. package/dist/md3/{p-eef9c775.entry.js → p-56529078.entry.js} +2 -2
  566. package/dist/md3/{p-d2692d90.entry.js → p-57084546.entry.js} +2 -2
  567. package/dist/md3/{p-3b8b58ae.entry.js → p-58eaadac.entry.js} +2 -2
  568. package/dist/md3/{p-5ec552ec.entry.js → p-63669cbe.entry.js} +2 -2
  569. package/dist/md3/{p-c7746547.entry.js → p-63c26c74.entry.js} +2 -2
  570. package/dist/md3/p-656be0be.entry.js +2 -0
  571. package/dist/md3/p-656be0be.entry.js.map +1 -0
  572. package/dist/md3/{p-8a863529.entry.js → p-6b984e4d.entry.js} +2 -2
  573. package/dist/md3/p-7a651133.entry.js +2 -0
  574. package/dist/md3/{p-4f7838e1.entry.js.map → p-7a651133.entry.js.map} +1 -1
  575. package/dist/md3/{p-097ad5a5.entry.js → p-7cbef5e9.entry.js} +2 -2
  576. package/dist/md3/p-7ce532aa.entry.js +2 -0
  577. package/dist/md3/{p-b098f546.entry.js → p-81c1fc3e.entry.js} +2 -2
  578. package/dist/md3/{p-d70d0db3.entry.js → p-891e5635.entry.js} +2 -2
  579. package/dist/md3/{p-85e00706.entry.js → p-8a037b98.entry.js} +2 -2
  580. package/dist/md3/{p-f8b52c07.entry.js → p-93d4cca0.entry.js} +2 -2
  581. package/dist/md3/{p-858dda75.entry.js → p-9aabec5d.entry.js} +2 -2
  582. package/dist/md3/{p-8077ceaf.entry.js → p-9ab44705.entry.js} +2 -2
  583. package/dist/md3/{p-a9fbc697.entry.js → p-9ed391e9.entry.js} +2 -2
  584. package/dist/md3/{p-RiA8nMw1.js → p-BOlcFCii.js} +2 -2
  585. package/dist/md3/{p-RiA8nMw1.js.map → p-BOlcFCii.js.map} +1 -1
  586. package/dist/md3/p-BcgBd7Uo.js +2 -0
  587. package/dist/md3/p-BcgBd7Uo.js.map +1 -0
  588. package/dist/md3/{p-ZTAwTx66.js → p-BgRw_myY.js} +2 -2
  589. package/dist/md3/{p-ZTAwTx66.js.map → p-BgRw_myY.js.map} +1 -1
  590. package/dist/{components/p-gd9_5R5P.js → md3/p-CUho8MPx.js} +2 -2
  591. package/dist/md3/{p-BytnCy9Z.js.map → p-CUho8MPx.js.map} +1 -1
  592. package/dist/md3/{p-Bin9vIoJ.js → p-DH_rSF2a.js} +2 -2
  593. package/dist/md3/{p-Bin9vIoJ.js.map → p-DH_rSF2a.js.map} +1 -1
  594. package/dist/md3/p-D_7JTg9V.js +2 -0
  595. package/dist/md3/p-D_7JTg9V.js.map +1 -0
  596. package/dist/md3/{p-DkJ2hl1A.js → p-DuCsV-Tv.js} +2 -2
  597. package/dist/md3/{p-DkJ2hl1A.js.map → p-DuCsV-Tv.js.map} +1 -1
  598. package/dist/md3/p-a003e769.entry.js +2 -0
  599. package/dist/md3/{p-3f8959d1.entry.js.map → p-a003e769.entry.js.map} +1 -1
  600. package/dist/md3/{p-93afcce6.entry.js → p-a7b61854.entry.js} +2 -2
  601. package/dist/md3/{p-b50448b3.entry.js → p-ac834a37.entry.js} +2 -2
  602. package/dist/md3/{p-e3211f30.entry.js → p-b3b6a95b.entry.js} +2 -2
  603. package/dist/md3/{p-67d958e6.entry.js → p-b3fb40d3.entry.js} +2 -2
  604. package/dist/md3/{p-eb3958a7.entry.js → p-b68af555.entry.js} +2 -2
  605. package/dist/md3/{p-d5a459bf.entry.js → p-b7c0e652.entry.js} +2 -2
  606. package/dist/md3/p-b7c8253a.entry.js +2 -0
  607. package/dist/md3/{p-19aea41a.entry.js → p-b88b8b01.entry.js} +2 -2
  608. package/dist/md3/{p-4d5100e0.entry.js → p-ba7975b3.entry.js} +2 -2
  609. package/dist/md3/{p-4bee383f.entry.js → p-bcb6b76c.entry.js} +2 -2
  610. package/dist/md3/{p-be2082bc.entry.js → p-be7a6e2c.entry.js} +2 -2
  611. package/dist/md3/{p-5adc9387.entry.js → p-c069c032.entry.js} +2 -2
  612. package/dist/md3/{p-6f8d6ff0.entry.js → p-c0f9a8ce.entry.js} +2 -2
  613. package/dist/md3/{p-5355af66.entry.js → p-c46dcf66.entry.js} +2 -2
  614. package/dist/md3/{p-e2b5d561.entry.js → p-c60d37e8.entry.js} +2 -2
  615. package/dist/md3/{p-94da49fa.entry.js → p-c74eecab.entry.js} +2 -2
  616. package/dist/md3/{p-b1da3d4f.entry.js → p-caab4c1f.entry.js} +2 -2
  617. package/dist/md3/p-cfff8d6e.entry.js +2 -0
  618. package/dist/md3/{p-c41bd8c9.entry.js.map → p-cfff8d6e.entry.js.map} +1 -1
  619. package/dist/md3/{p-137d6f2a.entry.js → p-d369a8c5.entry.js} +2 -2
  620. package/dist/md3/{p-2e1e04c6.entry.js → p-d76f4326.entry.js} +2 -2
  621. package/dist/md3/{p-b9e28a86.entry.js → p-d7a4c007.entry.js} +2 -2
  622. package/dist/md3/{p-26122b64.entry.js → p-d8e45f74.entry.js} +2 -2
  623. package/dist/md3/{p-47aa8306.entry.js → p-d9b44b23.entry.js} +2 -2
  624. package/dist/md3/{p-b14baec4.entry.js → p-d9e58e9d.entry.js} +2 -2
  625. package/dist/md3/{p-19e517bc.entry.js → p-da4139f6.entry.js} +2 -2
  626. package/dist/md3/p-e2442bac.entry.js +2 -0
  627. package/dist/md3/p-e2442bac.entry.js.map +1 -0
  628. package/dist/md3/{p-cb498d56.entry.js → p-e3704fc4.entry.js} +2 -2
  629. package/dist/md3/p-e6091e31.entry.js +2 -0
  630. package/dist/md3/p-e6091e31.entry.js.map +1 -0
  631. package/dist/md3/{p-8003b9d7.entry.js → p-ede7415a.entry.js} +2 -2
  632. package/dist/md3/{p-b38d7576.entry.js → p-f61cc27a.entry.js} +2 -2
  633. package/dist/md3/{p-2a220f40.entry.js → p-f7abc084.entry.js} +2 -2
  634. package/dist/md3/p-fbe29776.entry.js +2 -0
  635. package/dist/md3/p-fbe29776.entry.js.map +1 -0
  636. package/dist/md3/{p-ea762ac2.entry.js → p-fcfd76d6.entry.js} +2 -2
  637. package/dist/md3/p-feb6458b.entry.js +2 -0
  638. package/dist/md3/{p-c1ace95d.entry.js.map → p-feb6458b.entry.js.map} +1 -1
  639. package/dist/sources/1072375249d01bb6640401cf49dc3d9e87d0ebac412fcfcd1afd3b5cb37df7b7/app-data +3 -0
  640. package/dist/sources/35dadf059de729b390f3df3b0fd05fd1578e1afbd6f0fa9d382cd0d8794c32aa/series-elements.ts +81 -0
  641. package/dist/sources/54db212ca26584b16f4acb70c806fc3f94f045143349e8ec72ca2008a5162a7a/md-sparkline-point.tsx +25 -0
  642. package/dist/sources/{31256da68371b553f1d4bcf905fb37affca24680ba4be391b39695839fd4d855 → 66e71d8e4dbd2ceea6f5d062c7103815560620a7b21193bfa57d29cddba5757e}/md-sparkline.tsx +23 -8
  643. package/dist/sources/{d3f592ff8c47ce0c056b6e6cbcaa9d43687c53ebe7c8d193110a731a3e3a4af2 → 85eac5ca1350ced6718812f829f335dc5aa0026c954125260013367c738a7c9e}/index.ts +1 -0
  644. package/dist/sources/{0257008c17c104ed27ee727cf7dbbad94cf14f4148dd8e281b510dd37a34c730 → 88da03acb5e30b2d52fe3d0021dfc64d19dffb81a9f5c630b8bb67de21c9465d}/md-line-chart.tsx +31 -15
  645. package/dist/sources/{e6f1f0a964cd8962a51c61e3cdf7851c46e88a48833ea5e3da575166bde936c3 → aee3bad879c53f8a56ed81e96b445b3979341c756330370f1e41c5faee0af1a6}/md-bar-chart.tsx +30 -14
  646. package/dist/sources/c47db83f1e7e32d375ee8a963e744523d1c0455f96183657bd7d85378b063d17/md-pie-slice.css_tag_md-pie-slice_encapsulation_shadow +1 -0
  647. package/dist/sources/c47db83f1e7e32d375ee8a963e744523d1c0455f96183657bd7d85378b063d17/md-sparkline-point.css_tag_md-sparkline-point_encapsulation_shadow +1 -0
  648. package/dist/sources/c721f0ed0c4097f171e84a2ae5b4c537ad352844cffded2d805afc600255d248/md-chart-series.tsx +84 -0
  649. package/dist/sources/{2f88f34ffdcaef324270476cf641a5f8fa62c288ad7d5d92acbae19cb08f7d5c → c8e8a52259b376459bd17703d1d97716abc1fa35931cc95aedc07f1a3196b0c9}/md-area-chart.tsx +33 -17
  650. package/dist/sources/cd1f7d7eb12ae719865e4d72507e1c83935839f312f92c6006c0afda6006fc43/md-pie-slice.tsx +35 -0
  651. package/dist/sources/cf81dec71be5e02fb010aeb51bd2dab53f9abb5d4f38bd4e3fcf4fca7713a0fc/data-elements.ts +125 -0
  652. package/dist/sources/d1d5e4161ad69f87c2c806ba8c8308c99911631504a5e3c1867b7de0b5e58853/md-chart-series.css_tag_md-chart-series_encapsulation_shadow +4 -0
  653. package/dist/sources/dc5930bf3b00c49a265ba4bb975468f4d4f69b6d9f0e2eb6f6912e856fe5f27f/app-data +3 -0
  654. package/dist/sources/{7a73bbcfec9d73868501427987950513fe4f7261f768148ed765bd98327cf27e → e82b4aa8f83e6d24aaa681939bc983114812458c3973d18c664c2d59697e81bd}/md-pie-chart.tsx +25 -11
  655. package/dist/sources/fcfb5850a256d7109a45b7925913ecd1427f826af8d94c955c17dc6a5f6a7b89/app-data +3 -0
  656. package/dist/types/components/md-area-chart/md-area-chart.d.ts +9 -5
  657. package/dist/types/components/md-bar-chart/md-bar-chart.d.ts +7 -3
  658. package/dist/types/components/md-chart-series/md-chart-series.d.ts +61 -0
  659. package/dist/types/components/md-line-chart/md-line-chart.d.ts +5 -1
  660. package/dist/types/components/md-pie-chart/md-pie-chart.d.ts +4 -0
  661. package/dist/types/components/md-pie-slice/md-pie-slice.d.ts +25 -0
  662. package/dist/types/components/md-sparkline/md-sparkline.d.ts +5 -1
  663. package/dist/types/components/md-sparkline-point/md-sparkline-point.d.ts +14 -0
  664. package/dist/types/components.d.ts +429 -18
  665. package/dist/types/index.d.ts +1 -1
  666. package/dist/types/utils/charts/data-elements.d.ts +32 -0
  667. package/dist/types/utils/charts/series-elements.d.ts +38 -0
  668. package/hydrate/index.js +734 -190
  669. package/hydrate/index.mjs +734 -190
  670. package/package.json +2 -2
  671. package/src/components/md-chart-series/readme.md +25 -0
  672. package/src/components/md-pie-slice/readme.md +21 -0
  673. package/src/components/md-sparkline-point/readme.md +19 -0
  674. package/dist/components/p-CspVD-eh.js.map +0 -1
  675. package/dist/components-csr/p-B37-0L5e.js.map +0 -1
  676. package/dist/md3/p-0baf9f88.entry.js +0 -2
  677. package/dist/md3/p-0baf9f88.entry.js.map +0 -1
  678. package/dist/md3/p-16306734.entry.js +0 -2
  679. package/dist/md3/p-2f99585e.entry.js +0 -2
  680. package/dist/md3/p-2f99585e.entry.js.map +0 -1
  681. package/dist/md3/p-3d251149.entry.js +0 -2
  682. package/dist/md3/p-3d251149.entry.js.map +0 -1
  683. package/dist/md3/p-3d703571.entry.js +0 -2
  684. package/dist/md3/p-3d703571.entry.js.map +0 -1
  685. package/dist/md3/p-3f8959d1.entry.js +0 -2
  686. package/dist/md3/p-4f7838e1.entry.js +0 -2
  687. package/dist/md3/p-6d4889c1.entry.js +0 -2
  688. package/dist/md3/p-9379dfca.entry.js +0 -2
  689. package/dist/md3/p-9379dfca.entry.js.map +0 -1
  690. package/dist/md3/p-9f0f41c8.entry.js +0 -2
  691. package/dist/md3/p-c1ace95d.entry.js +0 -2
  692. package/dist/md3/p-c41bd8c9.entry.js +0 -2
  693. package/dist/md3/p-de0967a6.entry.js +0 -2
  694. package/dist/sources/249f56e5f4c1e582903551d8d8a39d83e268058e66194832a21408420ea4a5fb/app-data +0 -3
  695. package/dist/sources/a9800d32bbcaf3d8baa4abf6f1c13d77f4f7e22dd03bfd1c90ad1cc9c5ac49a9/app-data +0 -3
  696. package/dist/sources/bb0c438a1a8f4b6d77c43db8d11b2366bfa6c0c48d4daa3ebbdbcd2bdefa4749/app-data +0 -3
  697. /package/dist/components/{p-gd9_5R5P.js.map → p-0hoYij4e.js.map} +0 -0
  698. /package/dist/components/{p-WQOlnYmQ.js.map → p-8ZntJ7QX.js.map} +0 -0
  699. /package/dist/components/{p-DIGH4LlS.js.map → p-Be_QxD6y.js.map} +0 -0
  700. /package/dist/components/{p-BcOsCkxa.js.map → p-C9Z-3TKn.js.map} +0 -0
  701. /package/dist/components/{p-CGKlSro0.js.map → p-CWveMYei.js.map} +0 -0
  702. /package/dist/components/{p-DoJOR0pW.js.map → p-CXuNI4mJ.js.map} +0 -0
  703. /package/dist/components/{p-BCAoGEfF.js.map → p-CjebvGxr.js.map} +0 -0
  704. /package/dist/components/{p-BWCwdLDy.js.map → p-Cui8F6rf.js.map} +0 -0
  705. /package/dist/components/{p-B9jJRlnU.js.map → p-D9C2BtN-.js.map} +0 -0
  706. /package/dist/components/{p-AD7q8XNf.js.map → p-DI0ebvMQ.js.map} +0 -0
  707. /package/dist/components/{p-BJAKwQqQ.js.map → p-DM30Y_8c.js.map} +0 -0
  708. /package/dist/components/{p-CXOHmY2w.js.map → p-DTAVEp79.js.map} +0 -0
  709. /package/dist/components/{p-C6Dk5I_4.js.map → p-DoQ8iQ1K.js.map} +0 -0
  710. /package/dist/components/{p-CjV5tPMM.js.map → p-OutEvCQi.js.map} +0 -0
  711. /package/dist/components/{p-D_fs8IXJ.js.map → p-bn_S0ywb.js.map} +0 -0
  712. /package/dist/components/{p-63ROhs5i.js.map → p-xuLJPnDM.js.map} +0 -0
  713. /package/dist/components/{p-KXxaSDnZ.js.map → p-y5Rx7xpR.js.map} +0 -0
  714. /package/dist/components-csr/{p-C7SO-MXq.js.map → p--clgeNUW.js.map} +0 -0
  715. /package/dist/components-csr/{p-BT43J7lo.js.map → p-17dQVZNR.js.map} +0 -0
  716. /package/dist/components-csr/{p-B3y4Sfu7.js.map → p-B28l7X5i.js.map} +0 -0
  717. /package/dist/components-csr/{p-CZp-Xecz.js.map → p-B2vk3_BC.js.map} +0 -0
  718. /package/dist/components-csr/{p-D5zCIaks.js.map → p-BwQyYHuZ.js.map} +0 -0
  719. /package/dist/components-csr/{p-Cr1trPWZ.js.map → p-C9XZMCL-.js.map} +0 -0
  720. /package/dist/components-csr/{p-CWxDc07j.js.map → p-D-dmT5kY.js.map} +0 -0
  721. /package/dist/components-csr/{p-CQoO26r0.js.map → p-D6ADzLya.js.map} +0 -0
  722. /package/dist/components-csr/{p-mPtoRtT7.js.map → p-D7AEBQIw.js.map} +0 -0
  723. /package/dist/components-csr/{p-B_K-3G0S.js.map → p-D9cIx3li.js.map} +0 -0
  724. /package/dist/components-csr/{p-Ca8f4AyH.js.map → p-DERBQrj5.js.map} +0 -0
  725. /package/dist/components-csr/{p-CUMT_XYv.js.map → p-DFJO04Vn.js.map} +0 -0
  726. /package/dist/components-csr/{p-Px_e-xy9.js.map → p-DH9RCl21.js.map} +0 -0
  727. /package/dist/components-csr/{p-CB_bjwk9.js.map → p-DHw4bV7s.js.map} +0 -0
  728. /package/dist/components-csr/{p-BuMwJsnQ.js.map → p-DeGXyF1I.js.map} +0 -0
  729. /package/dist/components-csr/{p-DQL7SnR8.js.map → p-jG7JIK7t.js.map} +0 -0
  730. /package/dist/components-csr/{p-CvTDNP2i.js.map → p-oV2Z2HiI.js.map} +0 -0
  731. /package/dist/md3/{p-9fe46046.entry.js.map → p-05960ec0.entry.js.map} +0 -0
  732. /package/dist/md3/{p-77635ead.entry.js.map → p-08ef6b8f.entry.js.map} +0 -0
  733. /package/dist/md3/{p-a0f17bfb.entry.js.map → p-1020166c.entry.js.map} +0 -0
  734. /package/dist/md3/{p-db74251c.entry.js.map → p-11531ae7.entry.js.map} +0 -0
  735. /package/dist/md3/{p-908456a6.entry.js.map → p-18a1fe71.entry.js.map} +0 -0
  736. /package/dist/md3/{p-fd02aa37.entry.js.map → p-197f8e6c.entry.js.map} +0 -0
  737. /package/dist/md3/{p-9d1c66a8.entry.js.map → p-1c930a91.entry.js.map} +0 -0
  738. /package/dist/md3/{p-96cbfdca.entry.js.map → p-28eb088f.entry.js.map} +0 -0
  739. /package/dist/md3/{p-ffbde7ad.entry.js.map → p-292823f3.entry.js.map} +0 -0
  740. /package/dist/md3/{p-bc863e1b.entry.js.map → p-2b4ca89b.entry.js.map} +0 -0
  741. /package/dist/md3/{p-af437c3c.entry.js.map → p-2caf7fb6.entry.js.map} +0 -0
  742. /package/dist/md3/{p-b5a8f03c.entry.js.map → p-35216f14.entry.js.map} +0 -0
  743. /package/dist/md3/{p-272ef8cb.entry.js.map → p-3e07b199.entry.js.map} +0 -0
  744. /package/dist/md3/{p-c664501b.entry.js.map → p-3fc79692.entry.js.map} +0 -0
  745. /package/dist/md3/{p-1b506237.entry.js.map → p-45931478.entry.js.map} +0 -0
  746. /package/dist/md3/{p-03f06a3c.entry.js.map → p-4a60f85d.entry.js.map} +0 -0
  747. /package/dist/md3/{p-3d90a202.entry.js.map → p-4c3e159a.entry.js.map} +0 -0
  748. /package/dist/md3/{p-0c795946.entry.js.map → p-50dad3c7.entry.js.map} +0 -0
  749. /package/dist/md3/{p-1ed83da9.entry.js.map → p-54c42926.entry.js.map} +0 -0
  750. /package/dist/md3/{p-eef9c775.entry.js.map → p-56529078.entry.js.map} +0 -0
  751. /package/dist/md3/{p-d2692d90.entry.js.map → p-57084546.entry.js.map} +0 -0
  752. /package/dist/md3/{p-3b8b58ae.entry.js.map → p-58eaadac.entry.js.map} +0 -0
  753. /package/dist/md3/{p-5ec552ec.entry.js.map → p-63669cbe.entry.js.map} +0 -0
  754. /package/dist/md3/{p-c7746547.entry.js.map → p-63c26c74.entry.js.map} +0 -0
  755. /package/dist/md3/{p-8a863529.entry.js.map → p-6b984e4d.entry.js.map} +0 -0
  756. /package/dist/md3/{p-097ad5a5.entry.js.map → p-7cbef5e9.entry.js.map} +0 -0
  757. /package/dist/md3/{p-9f0f41c8.entry.js.map → p-7ce532aa.entry.js.map} +0 -0
  758. /package/dist/md3/{p-b098f546.entry.js.map → p-81c1fc3e.entry.js.map} +0 -0
  759. /package/dist/md3/{p-d70d0db3.entry.js.map → p-891e5635.entry.js.map} +0 -0
  760. /package/dist/md3/{p-85e00706.entry.js.map → p-8a037b98.entry.js.map} +0 -0
  761. /package/dist/md3/{p-f8b52c07.entry.js.map → p-93d4cca0.entry.js.map} +0 -0
  762. /package/dist/md3/{p-858dda75.entry.js.map → p-9aabec5d.entry.js.map} +0 -0
  763. /package/dist/md3/{p-8077ceaf.entry.js.map → p-9ab44705.entry.js.map} +0 -0
  764. /package/dist/md3/{p-a9fbc697.entry.js.map → p-9ed391e9.entry.js.map} +0 -0
  765. /package/dist/md3/{p-93afcce6.entry.js.map → p-a7b61854.entry.js.map} +0 -0
  766. /package/dist/md3/{p-b50448b3.entry.js.map → p-ac834a37.entry.js.map} +0 -0
  767. /package/dist/md3/{p-e3211f30.entry.js.map → p-b3b6a95b.entry.js.map} +0 -0
  768. /package/dist/md3/{p-67d958e6.entry.js.map → p-b3fb40d3.entry.js.map} +0 -0
  769. /package/dist/md3/{p-eb3958a7.entry.js.map → p-b68af555.entry.js.map} +0 -0
  770. /package/dist/md3/{p-d5a459bf.entry.js.map → p-b7c0e652.entry.js.map} +0 -0
  771. /package/dist/md3/{p-de0967a6.entry.js.map → p-b7c8253a.entry.js.map} +0 -0
  772. /package/dist/md3/{p-19aea41a.entry.js.map → p-b88b8b01.entry.js.map} +0 -0
  773. /package/dist/md3/{p-4d5100e0.entry.js.map → p-ba7975b3.entry.js.map} +0 -0
  774. /package/dist/md3/{p-4bee383f.entry.js.map → p-bcb6b76c.entry.js.map} +0 -0
  775. /package/dist/md3/{p-be2082bc.entry.js.map → p-be7a6e2c.entry.js.map} +0 -0
  776. /package/dist/md3/{p-5adc9387.entry.js.map → p-c069c032.entry.js.map} +0 -0
  777. /package/dist/md3/{p-6f8d6ff0.entry.js.map → p-c0f9a8ce.entry.js.map} +0 -0
  778. /package/dist/md3/{p-5355af66.entry.js.map → p-c46dcf66.entry.js.map} +0 -0
  779. /package/dist/md3/{p-e2b5d561.entry.js.map → p-c60d37e8.entry.js.map} +0 -0
  780. /package/dist/md3/{p-94da49fa.entry.js.map → p-c74eecab.entry.js.map} +0 -0
  781. /package/dist/md3/{p-b1da3d4f.entry.js.map → p-caab4c1f.entry.js.map} +0 -0
  782. /package/dist/md3/{p-137d6f2a.entry.js.map → p-d369a8c5.entry.js.map} +0 -0
  783. /package/dist/md3/{p-2e1e04c6.entry.js.map → p-d76f4326.entry.js.map} +0 -0
  784. /package/dist/md3/{p-b9e28a86.entry.js.map → p-d7a4c007.entry.js.map} +0 -0
  785. /package/dist/md3/{p-26122b64.entry.js.map → p-d8e45f74.entry.js.map} +0 -0
  786. /package/dist/md3/{p-47aa8306.entry.js.map → p-d9b44b23.entry.js.map} +0 -0
  787. /package/dist/md3/{p-b14baec4.entry.js.map → p-d9e58e9d.entry.js.map} +0 -0
  788. /package/dist/md3/{p-19e517bc.entry.js.map → p-da4139f6.entry.js.map} +0 -0
  789. /package/dist/md3/{p-cb498d56.entry.js.map → p-e3704fc4.entry.js.map} +0 -0
  790. /package/dist/md3/{p-8003b9d7.entry.js.map → p-ede7415a.entry.js.map} +0 -0
  791. /package/dist/md3/{p-b38d7576.entry.js.map → p-f61cc27a.entry.js.map} +0 -0
  792. /package/dist/md3/{p-2a220f40.entry.js.map → p-f7abc084.entry.js.map} +0 -0
  793. /package/dist/md3/{p-ea762ac2.entry.js.map → p-fcfd76d6.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as s,c as e,h as r,H as a,g as t}from"./p-DkJ2hl1A.js";import{b as i,c as n,i as d,d as o,r as m,p as h}from"./p-Bin9vIoJ.js";import{t as l}from"./p-DYBUr7K_.js";import{f as c,s as p}from"./p-Txd_z073.js";const v=()=>`:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;const u=()=>`:host{display:flex;align-items:center;position:relative;overflow:visible;cursor:pointer;user-select:none;min-height:calc(48px + var(--md-sys-density-scale, 0) * 4px);--_icon-size:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));padding:0 var(--md-sys-spacing-inset-md, 12px);gap:var(--md-sys-spacing-gap-sm, 8px);color:var(--md-sys-color-on-surface, #1C1B1F);box-sizing:border-box;-webkit-tap-highlight-color:transparent;outline:none;transition:background-color var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), color var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-radius var(--md-sys-motion-duration-medium2, 300ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1))}@media (prefers-reduced-motion: reduce){:host{transition:none}}.md-sub-menu-item__state-layer{position:absolute;inset:0;border-radius:inherit;background-color:var(--md-sys-color-on-surface, #1C1B1F);opacity:0;pointer-events:none;transition:opacity var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}:host(:hover) .md-sub-menu-item__state-layer{opacity:0.08}:host(:active) .md-sub-menu-item__state-layer{opacity:0.12}:host(:focus-visible) .md-sub-menu-item__state-layer,:host([data-md-focused]) .md-sub-menu-item__state-layer{opacity:0.12}:host(:focus-visible),:host([data-md-focused]){outline:3px solid var(--md-sys-color-secondary, #625B71);outline-offset:-3px}:host(.md-sub-menu-item--open) .md-sub-menu-item__state-layer{opacity:0.08}:host(.md-sub-menu-item--disabled){cursor:default;opacity:0.38;pointer-events:none}.md-sub-menu-item__leading{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:var(--_icon-size);height:var(--_icon-size);color:var(--md-sys-color-on-surface-variant, #49454F)}.md-sub-menu-item__leading ::slotted(*:not(md-badge)){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}.md-sub-menu-item__content{flex:1;display:flex;flex-direction:column;overflow:hidden;min-width:0}.md-sub-menu-item__headline{font-family:var(--md-sys-typescale-body-large-font-family, Roboto, sans-serif);font-size:max(13px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));font-weight:var(--md-sys-typescale-body-large-weight, 400);line-height:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.md-sub-menu-item__supporting{font-family:var(--md-sys-typescale-body-medium-font-family, Roboto, sans-serif);font-size:max(11px, calc(14px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px));color:var(--md-sys-color-on-surface-variant, #49454F);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.md-sub-menu-item__badge{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;height:20px;padding:0 8px;border-radius:var(--md-sys-shape-corner-full, 9999px);background-color:var(--md-sys-color-tertiary-container, #FFD8E4);color:var(--md-sys-color-on-tertiary-container, #31111D);font-family:var(--md-sys-typescale-label-small-font-family, Roboto, sans-serif);font-size:var(--md-sys-typescale-label-small-size, 11px);font-weight:var(--md-sys-typescale-label-small-weight, 500);line-height:var(--md-sys-typescale-label-small-line-height, 16px);letter-spacing:var(--md-sys-typescale-label-small-tracking, 0.5px);white-space:nowrap}.md-sub-menu-item__arrow{font-family:var(--md-sys-icon-font-family, 'Material Symbols Outlined', 'Material Icons');font-weight:normal;font-style:normal;font-size:var(--_icon-size);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;overflow-wrap:normal;direction:ltr;font-feature-settings:'liga';-webkit-font-smoothing:antialiased;flex-shrink:0;color:var(--md-sys-color-on-surface-variant, #49454F);transition:transform var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}:host([dir="rtl"]) .md-sub-menu-item__arrow,:host-context([dir="rtl"]) .md-sub-menu-item__arrow{--_arrow-flip:-1}.md-sub-menu-item__arrow{transform:scaleX(var(--_arrow-flip, 1))}:host(.md-sub-menu-item--open) .md-sub-menu-item__arrow{transform:scaleX(var(--_arrow-flip, 1)) rotate(90deg)}.md-sub-menu-item__submenu{position:fixed;inset:auto;z-index:1001;display:none;--md-menu-avail-block:initial}:host(.md-sub-menu-item--open) .md-sub-menu-item__submenu{display:block}.md-sub-menu-item__submenu[data-md-placing]{visibility:hidden;pointer-events:none}:host(.md-sub-menu-item--divider){padding-bottom:8px;margin-bottom:8px}:host(.md-sub-menu-item--divider)::after{content:'';position:absolute;bottom:0;inset-inline:0;height:1px;background-color:var(--md-sys-color-outline-variant, #CAC4D0)}:host([data-variant="standard"]){--_rest-ss:var(--md-sys-shape-corner-small, 8px);--_rest-se:var(--md-sys-shape-corner-small, 8px);--_rest-es:var(--md-sys-shape-corner-small, 8px);--_rest-ee:var(--md-sys-shape-corner-small, 8px);color:var(--md-sys-color-on-surface, #1C1B1F);border-radius:var(--md-sys-shape-corner-small, 8px)}:host([data-variant="standard"]:first-child){--_rest-ss:var(--md-sys-shape-corner-large, 16px);--_rest-se:var(--md-sys-shape-corner-large, 16px);border-start-start-radius:var(--md-sys-shape-corner-large, 16px);border-start-end-radius:var(--md-sys-shape-corner-large, 16px)}:host([data-variant="standard"]:last-child){--_rest-es:var(--md-sys-shape-corner-large, 16px);--_rest-ee:var(--md-sys-shape-corner-large, 16px);border-end-start-radius:var(--md-sys-shape-corner-large, 16px);border-end-end-radius:var(--md-sys-shape-corner-large, 16px)}:host([data-variant="standard"]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="standard"]:active){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ee)))}:host([data-variant="standard"]:first-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="standard"]:last-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="standard"][data-after-gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="standard"][gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="standard"][data-after-gap][gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="vibrant"]){--_rest-ss:var(--md-sys-shape-corner-small, 8px);--_rest-se:var(--md-sys-shape-corner-small, 8px);--_rest-es:var(--md-sys-shape-corner-small, 8px);--_rest-ee:var(--md-sys-shape-corner-small, 8px);color:var(--md-sys-color-on-tertiary-container, #31111D);border-radius:var(--md-sys-shape-corner-small, 8px)}:host([data-variant="vibrant"]:first-child){--_rest-ss:var(--md-sys-shape-corner-large, 16px);--_rest-se:var(--md-sys-shape-corner-large, 16px);border-start-start-radius:var(--md-sys-shape-corner-large, 16px);border-start-end-radius:var(--md-sys-shape-corner-large, 16px)}:host([data-variant="vibrant"]:last-child){--_rest-es:var(--md-sys-shape-corner-large, 16px);--_rest-ee:var(--md-sys-shape-corner-large, 16px);border-end-start-radius:var(--md-sys-shape-corner-large, 16px);border-end-end-radius:var(--md-sys-shape-corner-large, 16px)}:host([data-variant="vibrant"]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="vibrant"]:active){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ee)))}:host([data-variant="vibrant"]:first-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="vibrant"]:last-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="vibrant"][data-after-gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="vibrant"][gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="vibrant"][data-after-gap][gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="vibrant"]) .md-sub-menu-item__leading,:host([data-variant="vibrant"]) .md-sub-menu-item__supporting,:host([data-variant="vibrant"]) .md-sub-menu-item__arrow{color:var(--md-sys-color-on-tertiary-container, #31111D)}:host([data-variant="vibrant"]) .md-sub-menu-item__state-layer{background-color:var(--md-sys-color-on-tertiary-container, #31111D)}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}:host([hidden]){display:none !important}`;const b=8;const y=200;const f=100;const _=400;const x=250;const g=new WeakMap;function w(s,e,r){return(s.x-r.x)*(e.y-r.y)-(e.x-r.x)*(s.y-r.y)}function k(s,e,r,a){const t=w(s,e,r);const i=w(s,r,a);const n=w(s,a,e);const d=t<0||i<0||n<0;const o=t>0||i>0||n>0;return!(d&&o)}function z(){return typeof performance!=="undefined"?performance.now():Date.now()}const M=class{constructor(r){s(this,r);this.mdClick=e(this,"mdClick",7);this.headline="";this.supportingText="";this.disabled=false;this.divider=false;this.gap=false;this.badge="";this.openDelay=f;this.closeDelay=_;this.density=0;this.submenuOpen=false;this.hasLeadingIcon=false;this.positionWatchTargets=[];this.placing=false;this.handleCorridorMove=s=>{const e=this.lastPointer;const r={x:s.clientX,y:s.clientY};this.lastPointer=r;if(!e||!this.submenuOpen||!this.corridorMenu)return;const a=this.corridorGeometry();if(!a)return;if(!k(r,e,{x:a.nearX,y:a.top},{x:a.nearX,y:a.bottom})){return}g.set(this.corridorMenu,z()+x)};this.handleReposition=()=>{if(!this.submenuOpen||this.repositionFrame!==undefined)return;this.repositionFrame=requestAnimationFrame((()=>{this.repositionFrame=undefined;if(!this.submenuOpen)return;if(this.rowScrolledOutOfView())this.closeSubmenu();else this.autoPositionSubmenu()}))};this.handleMouseEnter=()=>{this.scheduleOpen()};this.handleMouseLeave=()=>{this.scheduleClose()};this.handleFlyoutEnter=()=>{clearTimeout(this.closeIntentTimer);this.openSubmenu(false)};this.handleFlyoutLeave=()=>{this.scheduleClose()};this.handleKeyDown=s=>{if(this.disabled)return;if(s.key==="ArrowRight"||s.key==="Enter"||s.key===" "){s.preventDefault();s.stopPropagation();l(this.el);this.openSubmenu(true)}if((s.key==="ArrowLeft"||s.key==="Escape")&&this.submenuOpen){s.preventDefault();s.stopPropagation();this.closeSubmenu();this.el.focus();this.el.setAttribute("data-md-focused","")}};this.handleClick=s=>{if(this.disabled){s.preventDefault();s.stopPropagation();return}this.mdClick.emit()}}componentWillLoad(){i(this);this.hasLeadingIcon=!!this.el.querySelector('[slot="leading-icon"]')}componentDidLoad(){try{const s=this.getNestedMenu();if(s?.open){s.style.position="relative";this.beginPlacement();this.submenuOpen=true;this.schedulePlacement();this.startPositionWatch();this.startCorridorWatch()}}finally{n(this)}}componentDidRender(){d(this);if(this.placing)this.finishPlacement()}getNestedMenu(){return this.el.querySelector('[slot="submenu"]')}getContainer(){return this.el.shadowRoot?.querySelector(".md-sub-menu-item__submenu")??null}beginPlacement(){const s=this.getContainer();if(!s)return;this.placing=true;s.setAttribute("data-md-placing","")}finishPlacement(){if(!this.placing)return;this.placing=false;this.autoPositionSubmenu();this.getContainer()?.removeAttribute("data-md-placing")}async collapse(){this.cancelHoverIntent();clearTimeout(this.closeTimer);this.stopPositionWatch();this.stopCorridorWatch();const s=this.getNestedMenu();if(s?.open)s.open=false;this.submenuOpen=false;this.resetSubmenuStyles();this.el.removeAttribute("data-md-focused")}openSubmenu(s=false){if(this.disabled)return;this.cancelHoverIntent();clearTimeout(this.closeTimer);const e=this.submenuOpen;if(!e){this.collapseSiblings();this.beginPlacement()}this.submenuOpen=true;if(s){this.el.removeAttribute("data-md-focused")}const r=this.getNestedMenu();if(r){r.style.position="relative";if(r.show)r.show({autoFocus:s})}this.schedulePlacement();this.startPositionWatch();this.startCorridorWatch()}collapseSiblings(){const s=this.owningMenu();if(!s)return;const e=Array.from(s.querySelectorAll("md-sub-menu-item"));for(const r of e){if(r===this.el)continue;if(r.closest("md-menu")!==s)continue;void r.collapse?.()}}owningMenu(){return this.el.closest("md-menu")}schedulePlacement(){requestAnimationFrame((()=>{requestAnimationFrame((()=>{if(this.placing)this.finishPlacement();else this.autoPositionSubmenu()}))}))}autoPositionSubmenu(){const s=this.getContainer();if(!s)return;s.style.left="0px";s.style.top="0px";s.style.right="auto";s.style.bottom="auto";const e=this.el.getBoundingClientRect();const r=s.getBoundingClientRect();const a=r.width>0?r.width:y;const t=r.height>0?r.height:y;const i=window.innerWidth;const n=window.innerHeight;const d=b;const o=this.resolveDirection()==="rtl";const m=o?e.left-a:e.right;const h=o?e.right:e.left-a;const l=s=>s>=0&&s+a<=i;let p=m;if(!l(m)&&l(h))p=h;let v=e.top;if(v+t>n)v=e.bottom-t;p=Math.max(d,Math.min(p,i-a-d));v=Math.max(d,Math.min(v,n-t-d));const u=c(s);s.style.left=`${p-u.x}px`;s.style.top=`${v-u.y}px`;this.corridorRect=undefined}startPositionWatch(){if(this.positionWatchTargets.length)return;const s=[];if(typeof getComputedStyle==="function"){const e=s=>!!s&&s!=="visible";let r=p(this.el);while(r){const a=getComputedStyle(r);if(e(a.overflowY)||e(a.overflowX))s.push(r);r=p(r)}}s.push(window);for(const e of s){e.addEventListener("scroll",this.handleReposition,{passive:true})}window.addEventListener("resize",this.handleReposition);this.positionWatchTargets=s}stopPositionWatch(){for(const s of this.positionWatchTargets){s.removeEventListener("scroll",this.handleReposition)}this.positionWatchTargets=[];window.removeEventListener("resize",this.handleReposition);if(this.repositionFrame!==undefined){cancelAnimationFrame(this.repositionFrame);this.repositionFrame=undefined}}startCorridorWatch(){if(this.corridorMenu)return;const s=this.owningMenu();if(!s)return;this.corridorMenu=s;this.lastPointer=undefined;s.addEventListener("pointermove",this.handleCorridorMove)}stopCorridorWatch(){if(!this.corridorMenu)return;this.corridorMenu.removeEventListener("pointermove",this.handleCorridorMove);g.delete(this.corridorMenu);this.corridorMenu=undefined;this.lastPointer=undefined;this.corridorRect=undefined}corridorGeometry(){if(this.corridorRect)return this.corridorRect;const s=this.getContainer();if(!s)return undefined;const e=s.getBoundingClientRect();if(e.width<=0||e.height<=0)return undefined;const r=this.el.getBoundingClientRect();this.corridorRect={nearX:e.left>=r.right?e.left:e.right,top:e.top,bottom:e.bottom};return this.corridorRect}corridorRemaining(){const s=this.owningMenu();if(!s)return 0;const e=g.get(s);return e?Math.max(0,e-z()):0}rowScrolledOutOfView(){const s=this.el.getBoundingClientRect();for(const e of this.positionWatchTargets){if(e===window)continue;const r=e.getBoundingClientRect();if(r.height===0)continue;if(s.bottom<=r.top||s.top>=r.bottom)return true}return false}resolveDirection(){let s=this.el;while(s){const e=s.getAttribute?.("dir");if(e==="rtl"||e==="ltr")return e;s=s.parentElement}return"ltr"}closeSubmenu(){this.cancelHoverIntent();const s=this.getNestedMenu();if(s?.close)s.close();this.stopPositionWatch();this.stopCorridorWatch();this.closeTimer=setTimeout((()=>{this.submenuOpen=false;this.resetSubmenuStyles()}),100)}resetSubmenuStyles(){const s=this.getContainer();if(s){this.placing=true;s.setAttribute("data-md-placing","")}const e=this.el.querySelector('[slot="submenu"]');if(e){e.style.position=""}if(s){s.style.left="";s.style.top="";s.style.right="";s.style.bottom=""}}cancelHoverIntent(){clearTimeout(this.openTimer);clearTimeout(this.closeIntentTimer)}scheduleOpen(){if(this.disabled)return;clearTimeout(this.closeIntentTimer);if(this.submenuOpen)return;clearTimeout(this.openTimer);this.openTimer=setTimeout((()=>this.attemptScheduledOpen()),Math.max(0,this.openDelay))}attemptScheduledOpen(){const s=this.corridorRemaining();if(s>0){this.openTimer=setTimeout((()=>this.attemptScheduledOpen()),s);return}this.openSubmenu(false)}scheduleClose(){clearTimeout(this.openTimer);if(!this.submenuOpen)return;clearTimeout(this.closeIntentTimer);this.closeIntentTimer=setTimeout((()=>this.closeSubmenu()),Math.max(0,this.closeDelay))}disconnectedCallback(){o(this);this.cancelHoverIntent();clearTimeout(this.closeTimer);this.stopPositionWatch();this.stopCorridorWatch()}render(){return r(a,{key:"04b17e36b4c3a5631e3a24c26706f2bbfad685fb",class:{"md-sub-menu-item":true,"md-sub-menu-item--disabled":this.disabled,"md-sub-menu-item--open":this.submenuOpen,"md-sub-menu-item--divider":this.divider,"md-sub-menu-item--gap":this.gap},role:"menuitem","aria-haspopup":"menu","aria-expanded":String(this.submenuOpen),"aria-disabled":this.disabled?"true":"false",tabindex:"-1",onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onKeyDown:this.handleKeyDown},r("md-ripple",{key:"4f75c4a0b1b7fd3a960581d9423b29f29fba0dcb",disabled:this.disabled}),r("span",{key:"4fce40ae1911bec1b46660dd03db49b9d2d807d7",class:"md-sub-menu-item__state-layer",part:"state-layer","aria-hidden":"true"}),this.hasLeadingIcon&&r("span",{key:"926b2e53ac193082cf08ef39ace03e661d55714b",class:"md-sub-menu-item__leading",part:"leading-icon","aria-hidden":"true"},r("slot",{key:"5149984d36372787d74309a798f08508d83dfb98",name:"leading-icon"})),r("span",{key:"72e18bc743d90d224e3be7b49f9d7064d1f1445f",class:"md-sub-menu-item__content",part:"content"},r("span",{key:"334cd4bf562c07c7f3e30878ad2bdea33b2f54b6",class:"md-sub-menu-item__headline",part:"headline"},this.headline),this.supportingText&&r("span",{key:"f7505bfeb627eb5d1c0fa78b6d60c3762b2c0b48",class:"md-sub-menu-item__supporting",part:"supporting-text"},this.supportingText)),this.badge&&r("span",{key:"b5d533ea14ba65871f681f17ca828c51d8db07c1",class:"md-sub-menu-item__badge",part:"badge"},this.badge),r("span",{key:"3c1ab6ab662ca4fb6ba373bf940147340a80cf80",class:"md-sub-menu-item__arrow material-symbols-outlined","aria-hidden":"true"},"arrow_right"),r("div",{key:"ee08f366e2bcc2b55ce285966af434ec1875909a",class:"md-sub-menu-item__submenu",onMouseEnter:this.handleFlyoutEnter,onMouseLeave:this.handleFlyoutLeave},r("slot",{key:"6bb23ceb4b05589c79c60bb8eb16fc16d31d092b",name:"submenu"})))}connectedCallback(){m(this)}componentShouldUpdate(){h(this);return true}get el(){return t(this)}};M.style=v()+u();export{M as md_sub_menu_item};
2
- //# sourceMappingURL=p-eb3958a7.entry.js.map
1
+ import{r as s,c as e,h as r,H as a,g as t}from"./p-DuCsV-Tv.js";import{b as i,c as n,i as d,d as o,r as m,p as h}from"./p-DH_rSF2a.js";import{t as l}from"./p-DYBUr7K_.js";import{f as c,s as p}from"./p-Txd_z073.js";const v=()=>`:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;const u=()=>`:host{display:flex;align-items:center;position:relative;overflow:visible;cursor:pointer;user-select:none;min-height:calc(48px + var(--md-sys-density-scale, 0) * 4px);--_icon-size:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));padding:0 var(--md-sys-spacing-inset-md, 12px);gap:var(--md-sys-spacing-gap-sm, 8px);color:var(--md-sys-color-on-surface, #1C1B1F);box-sizing:border-box;-webkit-tap-highlight-color:transparent;outline:none;transition:background-color var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), color var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-radius var(--md-sys-motion-duration-medium2, 300ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1))}@media (prefers-reduced-motion: reduce){:host{transition:none}}.md-sub-menu-item__state-layer{position:absolute;inset:0;border-radius:inherit;background-color:var(--md-sys-color-on-surface, #1C1B1F);opacity:0;pointer-events:none;transition:opacity var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}:host(:hover) .md-sub-menu-item__state-layer{opacity:0.08}:host(:active) .md-sub-menu-item__state-layer{opacity:0.12}:host(:focus-visible) .md-sub-menu-item__state-layer,:host([data-md-focused]) .md-sub-menu-item__state-layer{opacity:0.12}:host(:focus-visible),:host([data-md-focused]){outline:3px solid var(--md-sys-color-secondary, #625B71);outline-offset:-3px}:host(.md-sub-menu-item--open) .md-sub-menu-item__state-layer{opacity:0.08}:host(.md-sub-menu-item--disabled){cursor:default;opacity:0.38;pointer-events:none}.md-sub-menu-item__leading{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:var(--_icon-size);height:var(--_icon-size);color:var(--md-sys-color-on-surface-variant, #49454F)}.md-sub-menu-item__leading ::slotted(*:not(md-badge)){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}.md-sub-menu-item__content{flex:1;display:flex;flex-direction:column;overflow:hidden;min-width:0}.md-sub-menu-item__headline{font-family:var(--md-sys-typescale-body-large-font-family, Roboto, sans-serif);font-size:max(13px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));font-weight:var(--md-sys-typescale-body-large-weight, 400);line-height:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.md-sub-menu-item__supporting{font-family:var(--md-sys-typescale-body-medium-font-family, Roboto, sans-serif);font-size:max(11px, calc(14px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px));color:var(--md-sys-color-on-surface-variant, #49454F);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.md-sub-menu-item__badge{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;height:20px;padding:0 8px;border-radius:var(--md-sys-shape-corner-full, 9999px);background-color:var(--md-sys-color-tertiary-container, #FFD8E4);color:var(--md-sys-color-on-tertiary-container, #31111D);font-family:var(--md-sys-typescale-label-small-font-family, Roboto, sans-serif);font-size:var(--md-sys-typescale-label-small-size, 11px);font-weight:var(--md-sys-typescale-label-small-weight, 500);line-height:var(--md-sys-typescale-label-small-line-height, 16px);letter-spacing:var(--md-sys-typescale-label-small-tracking, 0.5px);white-space:nowrap}.md-sub-menu-item__arrow{font-family:var(--md-sys-icon-font-family, 'Material Symbols Outlined', 'Material Icons');font-weight:normal;font-style:normal;font-size:var(--_icon-size);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;overflow-wrap:normal;direction:ltr;font-feature-settings:'liga';-webkit-font-smoothing:antialiased;flex-shrink:0;color:var(--md-sys-color-on-surface-variant, #49454F);transition:transform var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}:host([dir="rtl"]) .md-sub-menu-item__arrow,:host-context([dir="rtl"]) .md-sub-menu-item__arrow{--_arrow-flip:-1}.md-sub-menu-item__arrow{transform:scaleX(var(--_arrow-flip, 1))}:host(.md-sub-menu-item--open) .md-sub-menu-item__arrow{transform:scaleX(var(--_arrow-flip, 1)) rotate(90deg)}.md-sub-menu-item__submenu{position:fixed;inset:auto;z-index:1001;display:none;--md-menu-avail-block:initial}:host(.md-sub-menu-item--open) .md-sub-menu-item__submenu{display:block}.md-sub-menu-item__submenu[data-md-placing]{visibility:hidden;pointer-events:none}:host(.md-sub-menu-item--divider){padding-bottom:8px;margin-bottom:8px}:host(.md-sub-menu-item--divider)::after{content:'';position:absolute;bottom:0;inset-inline:0;height:1px;background-color:var(--md-sys-color-outline-variant, #CAC4D0)}:host([data-variant="standard"]){--_rest-ss:var(--md-sys-shape-corner-small, 8px);--_rest-se:var(--md-sys-shape-corner-small, 8px);--_rest-es:var(--md-sys-shape-corner-small, 8px);--_rest-ee:var(--md-sys-shape-corner-small, 8px);color:var(--md-sys-color-on-surface, #1C1B1F);border-radius:var(--md-sys-shape-corner-small, 8px)}:host([data-variant="standard"]:first-child){--_rest-ss:var(--md-sys-shape-corner-large, 16px);--_rest-se:var(--md-sys-shape-corner-large, 16px);border-start-start-radius:var(--md-sys-shape-corner-large, 16px);border-start-end-radius:var(--md-sys-shape-corner-large, 16px)}:host([data-variant="standard"]:last-child){--_rest-es:var(--md-sys-shape-corner-large, 16px);--_rest-ee:var(--md-sys-shape-corner-large, 16px);border-end-start-radius:var(--md-sys-shape-corner-large, 16px);border-end-end-radius:var(--md-sys-shape-corner-large, 16px)}:host([data-variant="standard"]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="standard"]:active){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ee)))}:host([data-variant="standard"]:first-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="standard"]:last-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="standard"][data-after-gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="standard"][gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="standard"][data-after-gap][gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="vibrant"]){--_rest-ss:var(--md-sys-shape-corner-small, 8px);--_rest-se:var(--md-sys-shape-corner-small, 8px);--_rest-es:var(--md-sys-shape-corner-small, 8px);--_rest-ee:var(--md-sys-shape-corner-small, 8px);color:var(--md-sys-color-on-tertiary-container, #31111D);border-radius:var(--md-sys-shape-corner-small, 8px)}:host([data-variant="vibrant"]:first-child){--_rest-ss:var(--md-sys-shape-corner-large, 16px);--_rest-se:var(--md-sys-shape-corner-large, 16px);border-start-start-radius:var(--md-sys-shape-corner-large, 16px);border-start-end-radius:var(--md-sys-shape-corner-large, 16px)}:host([data-variant="vibrant"]:last-child){--_rest-es:var(--md-sys-shape-corner-large, 16px);--_rest-ee:var(--md-sys-shape-corner-large, 16px);border-end-start-radius:var(--md-sys-shape-corner-large, 16px);border-end-end-radius:var(--md-sys-shape-corner-large, 16px)}:host([data-variant="vibrant"]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="vibrant"]:active){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-medium, 12px) - var(--_rest-ee)))}:host([data-variant="vibrant"]:first-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="vibrant"]:last-child:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="vibrant"][data-after-gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ee)))}:host([data-variant="vibrant"][gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-extra-small, 4px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="vibrant"][data-after-gap][gap]:hover){border-start-start-radius:calc(var(--_rest-ss) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ss)));border-start-end-radius:calc(var(--_rest-se) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-se)));border-end-start-radius:calc(var(--_rest-es) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-es)));border-end-end-radius:calc(var(--_rest-ee) + var(--md-sys-shape-morph-enabled, 1) * (var(--md-sys-shape-corner-large, 16px) - var(--_rest-ee)))}:host([data-variant="vibrant"]) .md-sub-menu-item__leading,:host([data-variant="vibrant"]) .md-sub-menu-item__supporting,:host([data-variant="vibrant"]) .md-sub-menu-item__arrow{color:var(--md-sys-color-on-tertiary-container, #31111D)}:host([data-variant="vibrant"]) .md-sub-menu-item__state-layer{background-color:var(--md-sys-color-on-tertiary-container, #31111D)}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}:host([hidden]){display:none !important}`;const b=8;const y=200;const f=100;const _=400;const x=250;const g=new WeakMap;function w(s,e,r){return(s.x-r.x)*(e.y-r.y)-(e.x-r.x)*(s.y-r.y)}function k(s,e,r,a){const t=w(s,e,r);const i=w(s,r,a);const n=w(s,a,e);const d=t<0||i<0||n<0;const o=t>0||i>0||n>0;return!(d&&o)}function z(){return typeof performance!=="undefined"?performance.now():Date.now()}const C=class{constructor(r){s(this,r);this.mdClick=e(this,"mdClick",7);this.headline="";this.supportingText="";this.disabled=false;this.divider=false;this.gap=false;this.badge="";this.openDelay=f;this.closeDelay=_;this.density=0;this.submenuOpen=false;this.hasLeadingIcon=false;this.positionWatchTargets=[];this.placing=false;this.handleCorridorMove=s=>{const e=this.lastPointer;const r={x:s.clientX,y:s.clientY};this.lastPointer=r;if(!e||!this.submenuOpen||!this.corridorMenu)return;const a=this.corridorGeometry();if(!a)return;if(!k(r,e,{x:a.nearX,y:a.top},{x:a.nearX,y:a.bottom})){return}g.set(this.corridorMenu,z()+x)};this.handleReposition=()=>{if(!this.submenuOpen||this.repositionFrame!==undefined)return;this.repositionFrame=requestAnimationFrame((()=>{this.repositionFrame=undefined;if(!this.submenuOpen)return;if(this.rowScrolledOutOfView())this.closeSubmenu();else this.autoPositionSubmenu()}))};this.handleMouseEnter=()=>{this.scheduleOpen()};this.handleMouseLeave=()=>{this.scheduleClose()};this.handleFlyoutEnter=()=>{clearTimeout(this.closeIntentTimer);this.openSubmenu(false)};this.handleFlyoutLeave=()=>{this.scheduleClose()};this.handleKeyDown=s=>{if(this.disabled)return;if(s.key==="ArrowRight"||s.key==="Enter"||s.key===" "){s.preventDefault();s.stopPropagation();l(this.el);this.openSubmenu(true)}if((s.key==="ArrowLeft"||s.key==="Escape")&&this.submenuOpen){s.preventDefault();s.stopPropagation();this.closeSubmenu();this.el.focus();this.el.setAttribute("data-md-focused","")}};this.handleClick=s=>{if(this.disabled){s.preventDefault();s.stopPropagation();return}this.mdClick.emit()}}componentWillLoad(){i(this);this.hasLeadingIcon=!!this.el.querySelector('[slot="leading-icon"]')}componentDidLoad(){try{const s=this.getNestedMenu();if(s?.open){s.style.position="relative";this.beginPlacement();this.submenuOpen=true;this.schedulePlacement();this.startPositionWatch();this.startCorridorWatch()}}finally{n(this)}}componentDidRender(){d(this);if(this.placing)this.finishPlacement()}getNestedMenu(){return this.el.querySelector('[slot="submenu"]')}getContainer(){return this.el.shadowRoot?.querySelector(".md-sub-menu-item__submenu")??null}beginPlacement(){const s=this.getContainer();if(!s)return;this.placing=true;s.setAttribute("data-md-placing","")}finishPlacement(){if(!this.placing)return;this.placing=false;this.autoPositionSubmenu();this.getContainer()?.removeAttribute("data-md-placing")}async collapse(){this.cancelHoverIntent();clearTimeout(this.closeTimer);this.stopPositionWatch();this.stopCorridorWatch();const s=this.getNestedMenu();if(s?.open)s.open=false;this.submenuOpen=false;this.resetSubmenuStyles();this.el.removeAttribute("data-md-focused")}openSubmenu(s=false){if(this.disabled)return;this.cancelHoverIntent();clearTimeout(this.closeTimer);const e=this.submenuOpen;if(!e){this.collapseSiblings();this.beginPlacement()}this.submenuOpen=true;if(s){this.el.removeAttribute("data-md-focused")}const r=this.getNestedMenu();if(r){r.style.position="relative";if(r.show)r.show({autoFocus:s})}this.schedulePlacement();this.startPositionWatch();this.startCorridorWatch()}collapseSiblings(){const s=this.owningMenu();if(!s)return;const e=Array.from(s.querySelectorAll("md-sub-menu-item"));for(const r of e){if(r===this.el)continue;if(r.closest("md-menu")!==s)continue;void r.collapse?.()}}owningMenu(){return this.el.closest("md-menu")}schedulePlacement(){requestAnimationFrame((()=>{requestAnimationFrame((()=>{if(this.placing)this.finishPlacement();else this.autoPositionSubmenu()}))}))}autoPositionSubmenu(){const s=this.getContainer();if(!s)return;s.style.left="0px";s.style.top="0px";s.style.right="auto";s.style.bottom="auto";const e=this.el.getBoundingClientRect();const r=s.getBoundingClientRect();const a=r.width>0?r.width:y;const t=r.height>0?r.height:y;const i=window.innerWidth;const n=window.innerHeight;const d=b;const o=this.resolveDirection()==="rtl";const m=o?e.left-a:e.right;const h=o?e.right:e.left-a;const l=s=>s>=0&&s+a<=i;let p=m;if(!l(m)&&l(h))p=h;let v=e.top;if(v+t>n)v=e.bottom-t;p=Math.max(d,Math.min(p,i-a-d));v=Math.max(d,Math.min(v,n-t-d));const u=c(s);s.style.left=`${p-u.x}px`;s.style.top=`${v-u.y}px`;this.corridorRect=undefined}startPositionWatch(){if(this.positionWatchTargets.length)return;const s=[];if(typeof getComputedStyle==="function"){const e=s=>!!s&&s!=="visible";let r=p(this.el);while(r){const a=getComputedStyle(r);if(e(a.overflowY)||e(a.overflowX))s.push(r);r=p(r)}}s.push(window);for(const e of s){e.addEventListener("scroll",this.handleReposition,{passive:true})}window.addEventListener("resize",this.handleReposition);this.positionWatchTargets=s}stopPositionWatch(){for(const s of this.positionWatchTargets){s.removeEventListener("scroll",this.handleReposition)}this.positionWatchTargets=[];window.removeEventListener("resize",this.handleReposition);if(this.repositionFrame!==undefined){cancelAnimationFrame(this.repositionFrame);this.repositionFrame=undefined}}startCorridorWatch(){if(this.corridorMenu)return;const s=this.owningMenu();if(!s)return;this.corridorMenu=s;this.lastPointer=undefined;s.addEventListener("pointermove",this.handleCorridorMove)}stopCorridorWatch(){if(!this.corridorMenu)return;this.corridorMenu.removeEventListener("pointermove",this.handleCorridorMove);g.delete(this.corridorMenu);this.corridorMenu=undefined;this.lastPointer=undefined;this.corridorRect=undefined}corridorGeometry(){if(this.corridorRect)return this.corridorRect;const s=this.getContainer();if(!s)return undefined;const e=s.getBoundingClientRect();if(e.width<=0||e.height<=0)return undefined;const r=this.el.getBoundingClientRect();this.corridorRect={nearX:e.left>=r.right?e.left:e.right,top:e.top,bottom:e.bottom};return this.corridorRect}corridorRemaining(){const s=this.owningMenu();if(!s)return 0;const e=g.get(s);return e?Math.max(0,e-z()):0}rowScrolledOutOfView(){const s=this.el.getBoundingClientRect();for(const e of this.positionWatchTargets){if(e===window)continue;const r=e.getBoundingClientRect();if(r.height===0)continue;if(s.bottom<=r.top||s.top>=r.bottom)return true}return false}resolveDirection(){let s=this.el;while(s){const e=s.getAttribute?.("dir");if(e==="rtl"||e==="ltr")return e;s=s.parentElement}return"ltr"}closeSubmenu(){this.cancelHoverIntent();const s=this.getNestedMenu();if(s?.close)s.close();this.stopPositionWatch();this.stopCorridorWatch();this.closeTimer=setTimeout((()=>{this.submenuOpen=false;this.resetSubmenuStyles()}),100)}resetSubmenuStyles(){const s=this.getContainer();if(s){this.placing=true;s.setAttribute("data-md-placing","")}const e=this.el.querySelector('[slot="submenu"]');if(e){e.style.position=""}if(s){s.style.left="";s.style.top="";s.style.right="";s.style.bottom=""}}cancelHoverIntent(){clearTimeout(this.openTimer);clearTimeout(this.closeIntentTimer)}scheduleOpen(){if(this.disabled)return;clearTimeout(this.closeIntentTimer);if(this.submenuOpen)return;clearTimeout(this.openTimer);this.openTimer=setTimeout((()=>this.attemptScheduledOpen()),Math.max(0,this.openDelay))}attemptScheduledOpen(){const s=this.corridorRemaining();if(s>0){this.openTimer=setTimeout((()=>this.attemptScheduledOpen()),s);return}this.openSubmenu(false)}scheduleClose(){clearTimeout(this.openTimer);if(!this.submenuOpen)return;clearTimeout(this.closeIntentTimer);this.closeIntentTimer=setTimeout((()=>this.closeSubmenu()),Math.max(0,this.closeDelay))}disconnectedCallback(){o(this);this.cancelHoverIntent();clearTimeout(this.closeTimer);this.stopPositionWatch();this.stopCorridorWatch()}render(){return r(a,{key:"4a6583db9631c4ee8e799b957e30273824b68441",class:{"md-sub-menu-item":true,"md-sub-menu-item--disabled":this.disabled,"md-sub-menu-item--open":this.submenuOpen,"md-sub-menu-item--divider":this.divider,"md-sub-menu-item--gap":this.gap},role:"menuitem","aria-haspopup":"menu","aria-expanded":String(this.submenuOpen),"aria-disabled":this.disabled?"true":"false",tabindex:"-1",onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onKeyDown:this.handleKeyDown},r("md-ripple",{key:"ca1b30af552cf08bf676cb3636e6282e2b391223",disabled:this.disabled}),r("span",{key:"7b49a451e9dfb691c4c77bc99b61549f24a9c563",class:"md-sub-menu-item__state-layer",part:"state-layer","aria-hidden":"true"}),this.hasLeadingIcon&&r("span",{key:"c6b1b9eb3541695cbc8992fefbbbda5098461406",class:"md-sub-menu-item__leading",part:"leading-icon","aria-hidden":"true"},r("slot",{key:"43a9c65ee0a602e6ac15f69b2f6b0c709e811368",name:"leading-icon"})),r("span",{key:"1015cba9ee50205b7860ed0c7621692ce42ff91a",class:"md-sub-menu-item__content",part:"content"},r("span",{key:"1cdee332c2ca800988e5a9a8fe0e4342cd2ef59f",class:"md-sub-menu-item__headline",part:"headline"},this.headline),this.supportingText&&r("span",{key:"0fe305667451760e7c6e3e42a56e34dc1140fc2b",class:"md-sub-menu-item__supporting",part:"supporting-text"},this.supportingText)),this.badge&&r("span",{key:"7894162f6a1a5fe85ef785986f76c7065b7f5641",class:"md-sub-menu-item__badge",part:"badge"},this.badge),r("span",{key:"08adf0867e0c17ec428b64bfe808deedf85d2768",class:"md-sub-menu-item__arrow material-symbols-outlined","aria-hidden":"true"},"arrow_right"),r("div",{key:"e49b20b191ad71402a23985133a0f7aad8de8e1e",class:"md-sub-menu-item__submenu",onMouseEnter:this.handleFlyoutEnter,onMouseLeave:this.handleFlyoutLeave},r("slot",{key:"977992b62a111aebc54b881dc4855f0c4eff6d3b",name:"submenu"})))}connectedCallback(){m(this)}componentShouldUpdate(){h(this);return true}get el(){return t(this)}};C.style=v()+u();export{C as md_sub_menu_item};
2
+ //# sourceMappingURL=p-b68af555.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as s,h as i,H as e,g as n}from"./p-DkJ2hl1A.js";import{r as o,c as a,d as h,a as r,e as c,s as m,b as d,i as f,p as l}from"./p-Bin9vIoJ.js";import{O as u}from"./p-BytnCy9Z.js";const b=new WeakMap;function p(t,s){const i=b.get(t);const e=i??new Map;if(!i)b.set(t,e);let n=e.get(s);if(!n){const i=new Set;e.set(s,i);void t.whenDefined(s).then((()=>{e.delete(s);for(const t of i){queueMicrotask((()=>{if(i.delete(t))t()}))}}),(()=>{e.delete(s);i.clear()}));n=i}return n}function y(t,s,i){const e=p(t,s);const n=()=>i();e.add(n);return()=>{e.delete(n)}}const g=()=>`:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;const w=()=>`:host{display:none;position:fixed;inset:0;z-index:var(--md-sys-z-index-popup, 1000);pointer-events:none}:host(.md-fab-menu--open),:host(.md-fab-menu--closing){display:block}.md-fab-menu__container{position:fixed;display:flex;align-items:end;pointer-events:auto}:host(.md-fab-menu--up) .md-fab-menu__container{flex-direction:column}:host(.md-fab-menu--up) .md-fab-menu__items{display:flex;flex-direction:column-reverse;align-items:end;gap:var(--md-fab-menu-item-gap, var(--md-sys-spacing-gap-xs, 4px))}:host(.md-fab-menu--down) .md-fab-menu__container{flex-direction:column}:host(.md-fab-menu--down) .md-fab-menu__items{display:flex;flex-direction:column;align-items:end;gap:var(--md-fab-menu-item-gap, var(--md-sys-spacing-gap-xs, 4px))}:host(.md-fab-menu--primary){--md-fab-menu-item-container-color:var(--md-sys-color-primary-container);--md-fab-menu-item-label-color:var(--md-sys-color-on-primary-container)}:host(.md-fab-menu--secondary){--md-fab-menu-item-container-color:var(--md-sys-color-secondary-container);--md-fab-menu-item-label-color:var(--md-sys-color-on-secondary-container)}:host(.md-fab-menu--tertiary){--md-fab-menu-item-container-color:var(--md-sys-color-tertiary-container);--md-fab-menu-item-label-color:var(--md-sys-color-on-tertiary-container)}.md-fab-menu__container{opacity:0;transform:scaleY(0.8);transition:opacity var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)), transform var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1))}:host(.md-fab-menu--up) .md-fab-menu__container{transform-origin:bottom right}:host(.md-fab-menu--down) .md-fab-menu__container{transform-origin:top right}:host(.md-fab-menu--open) .md-fab-menu__container{opacity:1;transform:none}@starting-style{:host(.md-fab-menu--open) .md-fab-menu__container{opacity:0;transform:scaleY(0.8)}}:host(.md-fab-menu--closing) .md-fab-menu__container{opacity:0;transform:scaleY(0.8);transition:opacity var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-emphasized-accelerate, cubic-bezier(0.3, 0, 0.8, 0.15)), transform var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-emphasized-accelerate, cubic-bezier(0.3, 0, 0.8, 0.15))}@media (prefers-reduced-motion: reduce){.md-fab-menu__container,:host(.md-fab-menu--open) .md-fab-menu__container,:host(.md-fab-menu--closing) .md-fab-menu__container{transition:none;opacity:1;transform:none}}@media (forced-colors: active){:host{forced-color-adjust:none}}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}:host([hidden]){display:none !important}`;const v=180;const _=120;const k={primary:{bg:"var(--md-sys-color-primary)",fg:"var(--md-sys-color-on-primary)"},secondary:{bg:"var(--md-sys-color-secondary)",fg:"var(--md-sys-color-on-secondary)"},tertiary:{bg:"var(--md-sys-color-tertiary)",fg:"var(--md-sys-color-on-tertiary)"}};let x=0;const A=class{constructor(i){t(this,i);this.mdOpen=s(this,"mdOpen",7);this.mdClose=s(this,"mdClose",7);this.overlayLifecycle=new u((()=>this.el),(()=>this.open));this.open=false;this.anchor="";this.variant="primary";this.placement="up";this.quick=false;this.menuLabel="Actions";this.density=0;this.closing=false;this.effectivePlacement="up";this.menuId=`md-fab-menu-${++x}`;this.loaded=false;this.openTaskGeneration=0;this.openTaskFrames=new Set;this.openTaskTimers=new Set;this.anchorIconGeneration=0;this.wiredAnchor=null;this.focusedIndex=-1;this.openedViaKeyboard=false;this.pointerActivated=false;this.anchorFocusedAtActivation=false;this.positionRafId=null;this.lastAnchorRect=null;this.anchorKeyHandler=t=>{if(t.key!=="Enter"&&t.key!==" ")return;this.openedViaKeyboard=true;const s=this.getAnchorEl();if(!s)return;const i=s.tagName.toLowerCase();if(i==="md-fab"||i==="md-button"||i==="button")return;t.preventDefault();t.stopPropagation();this.toggleMenu()};this.anchorClickHandler=t=>{if(!this.pointerActivated&&t.detail===0){this.openedViaKeyboard=true}this.pointerActivated=false;t.stopPropagation();this.toggleMenu()};this.anchorPointerHandler=()=>{this.pointerActivated=true;this.openedViaKeyboard=false;const t=this.getAnchorEl();const s=typeof document!=="undefined"?document.activeElement:null;this.anchorFocusedAtActivation=!!t&&!!s&&(t===s||t.contains(s))};this.handleKeyDown=t=>{if(!this.open)return;const s=t.target;if(s&&s.closest("md-fab-menu")!==this.el)return;const i=this.getItems();if(!i.length)return;switch(t.key){case"Escape":t.preventDefault();this.close();this.restoreFocusToAnchor();break;case"ArrowUp":t.preventDefault();if(this.effectivePlacement==="up"){this.focusItem(i,this.focusedIndex+1)}else{if(this.focusedIndex<=0){this.focusAnchor()}else{this.focusItem(i,this.focusedIndex-1)}}break;case"ArrowDown":t.preventDefault();if(this.effectivePlacement==="up"){if(this.focusedIndex<=0){this.focusAnchor()}else{this.focusItem(i,this.focusedIndex-1)}}else{this.focusItem(i,this.focusedIndex+1)}break;case"Home":t.preventDefault();this.focusItem(i,0);break;case"End":t.preventDefault();this.focusItem(i,i.length-1);break;case"Tab":{const e=this.getItemIndex(s,i);const n=e>=0?e:this.focusedIndex;if(t.shiftKey){if(n<=0){t.preventDefault();this.focusAnchor()}else{t.preventDefault();this.focusItem(i,n-1,false)}}else if(n>=i.length-1){t.stopPropagation();this.close()}else{t.preventDefault();this.focusItem(i,n+1,false)}break}default:if(t.key.length===1&&!t.ctrlKey&&!t.altKey&&!t.metaKey){this.handleTypeahead(i,t.key)}break}};this.typeaheadBuffer="";this.handleAnchorKeyDown=t=>{if(!this.open&&!this.closing)return;switch(t.key){case"Escape":t.preventDefault();this.close();break;case"ArrowUp":if(this.effectivePlacement==="up"){t.preventDefault();this.focusItem(null,0)}break;case"ArrowDown":if(this.effectivePlacement==="down"){t.preventDefault();this.focusItem(null,0)}break;case"Tab":if(!t.shiftKey){t.preventDefault();this.focusItem(null,0,false)}break}};this.handleOutsideClick=t=>{const s=t.composedPath();const i=this.getAnchorEl();if(!s.includes(this.el)&&(!i||!s.includes(i))){this.close()}};this.handleItemClick=()=>{this.close();this.restoreFocusToAnchor()}}connectedCallback(){o(this);this.overlayLifecycle.connected();this.effectivePlacement=this.placement==="auto"?"up":this.placement;if(this.loaded){this.closing=false;if(this.open)this.overlayLifecycle.opened();this.setupInitialState()}}componentDidLoad(){try{this.loaded=true;this.overlayLifecycle.loaded();this.setupInitialState()}finally{a(this)}}setupInitialState(){this.wireAnchor();if(this.open){this.resolveEffectivePlacement();this.updateAnchorAria(true);this.morphAnchorFab(true,false);this.positionMenu();this.addGlobalListeners();this.updateItemDelays();this.scheduleFocus((()=>this.initRovingTabindex()))}}disconnectedCallback(){h(this);this.cancelOpenTasks();this.overlayLifecycle.disconnect();this.resetAnchorFab(this.wiredAnchor??this.getAnchorEl());this.unwireAnchor();this.removeGlobalListeners();clearTimeout(this.closeTimer);clearTimeout(this.typeaheadTimer)}onAnchorChange(){if(this.wiredAnchor){if(this.open)this.wiredAnchor.setAttribute("aria-expanded","false");this.resetAnchorFab(this.wiredAnchor)}this.wireAnchor();if(this.open&&!this.closing&&this.el.isConnected){this.updateAnchorAria(true);this.morphAnchorFab(true,false);this.resolveEffectivePlacement();this.positionMenu()}}onPlacementChange(){if(this.placement!=="auto"){this.effectivePlacement=this.placement}}onOpenChange(t){this.cancelOpenTasks();if(t)this.overlayLifecycle.opened();else this.overlayLifecycle.closed();if(t){this.resolveEffectivePlacement();this.deferOpenFrame((()=>this.positionMenu()));this.mdOpen.emit();if(!this.open||this.closing||!this.el.isConnected)return;this.updateAnchorAria(true);this.morphAnchorFab(true);this.addGlobalListeners();this.updateItemDelays();this.scheduleOpeningFocus()}else{this.updateAnchorAria(false);this.morphAnchorFab(false);this.removeGlobalListeners();this.mdClose.emit();this.focusedIndex=-1;this.resetRovingTabindex();this.restoreFocusToAnchor()}}handleFocusIn(t){if(!this.open)return;const s=t.target;const i=this.getItems();const e=this.getItemIndex(s,i);if(e>=0&&e!==this.focusedIndex){if(this.focusedIndex>=0&&this.focusedIndex<i.length){i[this.focusedIndex].setAttribute("tabindex","-1")}this.focusedIndex=e;s.setAttribute("tabindex","0")}if(e>=0){this.clearRovingFocusVisible(i)}}async show(){this.cancelOpenTasks();await this.overlayLifecycle.show((()=>{const t=this.open;clearTimeout(this.closeTimer);if(!t||this.closing)r(this.el);this.closing=false;this.open=true;if(t&&this.open&&!this.closing){this.deferOpenFrame((()=>this.positionMenu()));this.addGlobalListeners();this.scheduleOpeningFocus()}}))}async whenClosed(){await this.overlayLifecycle.whenClosed()}async close(){this.cancelOpenTasks();this.overlayLifecycle.cancelOpen();if(!this.open||this.closing)return;r(this.el);if(this.quick){this.open=false;return}this.closing=true;this.closeTimer=setTimeout((()=>{this.closing=false;this.open=false}),v)}getAnchorEl(){return this.anchor?this.el.ownerDocument.getElementById(this.anchor):null}toggleMenu(){if(this.open||this.closing){this.close()}else{this.show()}}wireAnchor(){this.unwireAnchor();if(!this.anchor||typeof document==="undefined")return;const t=this.getAnchorEl();if(!t)return;this.wiredAnchor=t;t.addEventListener("keydown",this.anchorKeyHandler,true);t.addEventListener("click",this.anchorClickHandler,true);t.addEventListener("mousedown",this.anchorPointerHandler);t.addEventListener("pointerdown",this.anchorPointerHandler)}unwireAnchor(){const t=this.wiredAnchor;this.wiredAnchor=null;if(!t)return;t.removeEventListener("keydown",this.anchorKeyHandler,true);t.removeEventListener("click",this.anchorClickHandler,true);t.removeEventListener("mousedown",this.anchorPointerHandler);t.removeEventListener("pointerdown",this.anchorPointerHandler)}updateAnchorAria(t){const s=this.getAnchorEl();if(!s)return;if(t){s.setAttribute("aria-expanded","true");s.setAttribute("aria-haspopup","menu");s.setAttribute("aria-controls",this.menuId)}else{s.setAttribute("aria-expanded","false")}}morphAnchorFab(t,s=c(this.el)){this.cancelAnchorIconUpdate();const i=this.anchorIconGeneration;const e=this.getAnchorEl();if(!e)return;if(s){r(e);e.setAttribute("data-icon-morphing","")}else{m(e)}if(t){e.setAttribute("data-shape","circle");const t=k[this.variant];if(t){e.style.setProperty("--md-fab-container-color",t.bg);e.style.setProperty("--md-fab-icon-color",t.fg)}e.addEventListener("keydown",this.handleAnchorKeyDown)}else{e.removeAttribute("data-shape");e.style.removeProperty("--md-fab-container-color");e.style.removeProperty("--md-fab-icon-color");e.removeEventListener("keydown",this.handleAnchorKeyDown)}const n=()=>{this.updateAnchorIcon(e,t,i);e.removeAttribute("data-icon-morphing")};if(s)this.iconMorphTimer=setTimeout(n,_);else n()}updateAnchorIcon(t,s,i){if(typeof t.setMenuIcon==="function"){void t.setMenuIcon(s?"close":null)}else if(s&&t.localName==="md-fab"){const s=t.ownerDocument.defaultView?.customElements;if(!s)return;this.cancelAnchorDefinition=y(s,"md-fab",(()=>{if(i!==this.anchorIconGeneration)return;this.cancelAnchorDefinition=undefined;if(!this.open||this.closing||!this.el.isConnected||!t.isConnected||this.getAnchorEl()!==t)return;m(t);void t.setMenuIcon?.("close")}))}}cancelAnchorIconUpdate(){++this.anchorIconGeneration;clearTimeout(this.iconMorphTimer);this.cancelAnchorDefinition?.();this.cancelAnchorDefinition=undefined}resetAnchorFab(t=this.getAnchorEl()){this.cancelAnchorIconUpdate();if(!t)return;m(t);t.removeAttribute("data-shape");t.removeAttribute("data-icon-morphing");void t.setMenuIcon?.(null);t.style.removeProperty("--md-fab-container-color");t.style.removeProperty("--md-fab-icon-color");t.removeEventListener("keydown",this.handleAnchorKeyDown)}restoreFocusToAnchor(){this.getAnchorEl()?.focus()}resolveEffectivePlacement(){if(this.placement!=="auto"){this.effectivePlacement=this.placement;return}const t=this.getAnchorEl();if(!t){this.effectivePlacement="up";return}const s=t.getBoundingClientRect();const i=s.top;const e=window.innerHeight-s.bottom;this.effectivePlacement=i>e?"up":"down"}positionMenu(){const t=this.getAnchorEl();const s=this.el.shadowRoot?.querySelector(".md-fab-menu__container");if(!t||!s)return;const i=t.getBoundingClientRect();const e=getComputedStyle(this.el).direction==="rtl";const n=8;if(e){s.style.left=`${i.left}px`;s.style.right=""}else{s.style.right=`${window.innerWidth-i.right}px`;s.style.left=""}if(this.effectivePlacement==="up"){s.style.bottom=`${window.innerHeight-i.top+n}px`;s.style.top=""}else{s.style.top=`${i.bottom+n}px`;s.style.bottom=""}}getItems(){return Array.from(this.el.querySelectorAll("md-fab-menu-item"))}getItemIndex(t,s){const i=s.indexOf(t);if(i>=0)return i;return s.findIndex((s=>s===t||s.contains(t)))}getEnabledItems(){return this.getItems().filter((t=>!t.hasAttribute("disabled")))}updateItemDelays(){const t=this.getItems();t.forEach(((t,s)=>{t.style.setProperty("--_fab-menu-item-index",String(s))}))}initRovingTabindex(){const t=this.getItems();t.forEach(((t,s)=>{t.setAttribute("tabindex",s===0?"0":"-1")}));this.focusedIndex=0}resetRovingTabindex(){const t=this.getItems();t.forEach((t=>{t.setAttribute("tabindex","-1")}));this.clearRovingFocusVisible(t)}cancelOpenTasks(){++this.openTaskGeneration;this.openTaskFrames.forEach((t=>cancelAnimationFrame(t)));this.openTaskFrames.clear();this.openTaskTimers.forEach((t=>clearTimeout(t)));this.openTaskTimers.clear()}deferOpenFrame(t){const s=this.openTaskGeneration;const i=requestAnimationFrame((()=>{this.openTaskFrames.delete(i);if(s!==this.openTaskGeneration||!this.open||this.closing||!this.el.isConnected)return;t()}));this.openTaskFrames.add(i)}scheduleFocus(t){const s=this.openTaskGeneration;const i=setTimeout((()=>{this.openTaskTimers.delete(i);if(s!==this.openTaskGeneration||!this.open||this.closing||!this.el.isConnected)return;this.deferOpenFrame(t)}),0);this.openTaskTimers.add(i)}scheduleOpeningFocus(){if(this.openedViaKeyboard||this.anchorFocusedAtActivation)this.scheduleFocus((()=>this.focusFirstItem(3,true)));else this.scheduleFocus((()=>this.initRovingTabindex()));this.openedViaKeyboard=false;this.anchorFocusedAtActivation=false}setRovingFocusVisible(t,s,i){t.forEach(((t,e)=>{t.rovingFocusVisible=i&&e===s}))}clearRovingFocusVisible(t){t.forEach((t=>{t.rovingFocusVisible=false}))}focusFirstItem(t=3,s=false){const i=this.getItems();if(i.length){this.focusItem(i,0,s)}else if(t>0){this.scheduleFocus((()=>this.focusFirstItem(t-1,s)))}}focusAnchor(){const t=this.getItems();t.forEach((t=>{t.setAttribute("tabindex","-1")}));this.clearRovingFocusVisible(t);const s=this.getAnchorEl();s?.focus();this.focusedIndex=-1}focusItem(t,s,i=true){const e=t??this.getItems();if(e.length===0)return;if(s<0)s=e.length-1;if(s>=e.length)s=0;if(this.focusedIndex>=0&&this.focusedIndex<e.length){e[this.focusedIndex].setAttribute("tabindex","-1")}this.focusedIndex=s;e[s].setAttribute("tabindex","0");this.setRovingFocusVisible(e,s,i);e[s].focus()}handleTypeahead(t,s){clearTimeout(this.typeaheadTimer);this.typeaheadBuffer+=s.toLowerCase();this.typeaheadTimer=setTimeout((()=>{this.typeaheadBuffer=""}),300);const i=this.focusedIndex>=0?this.focusedIndex:0;const e=t.length;for(let s=1;s<=e;s++){const n=(i+s)%e;const o=t[n];const a=(o.label??o.getAttribute("label")??"").trim()||(o.textContent||"").trim();if(a.toLowerCase().startsWith(this.typeaheadBuffer)){this.focusItem(t,n);return}}}startAnchorTracking(){this.stopAnchorTracking();const t=()=>{if(!this.open||!this.el.isConnected)return;this.repositionIfAnchorMoved();this.positionRafId=requestAnimationFrame(t)};this.positionRafId=requestAnimationFrame(t)}repositionIfAnchorMoved(){const t=this.getAnchorEl();if(!t)return;const s=t.getBoundingClientRect();const i=this.lastAnchorRect;if(!i||i.top!==s.top||i.left!==s.left||i.right!==s.right||i.bottom!==s.bottom){this.lastAnchorRect={top:s.top,left:s.left,right:s.right,bottom:s.bottom};this.positionMenu()}}stopAnchorTracking(){if(this.positionRafId!==null){cancelAnimationFrame(this.positionRafId);this.positionRafId=null}this.lastAnchorRect=null}addGlobalListeners(){this.deferOpenFrame((()=>{document.addEventListener("click",this.handleOutsideClick)}));this.startAnchorTracking();this.el.addEventListener("mdClick",this.handleItemClick)}removeGlobalListeners(){document.removeEventListener("click",this.handleOutsideClick);this.stopAnchorTracking();this.el.removeEventListener("mdClick",this.handleItemClick)}render(){return i(e,{key:"a3ccb79bfa749b82702cde5042703ca145c29f68",class:{"md-fab-menu":true,"md-fab-menu--open":this.open,"md-fab-menu--closing":this.closing,[`md-fab-menu--${this.variant}`]:true,[`md-fab-menu--${this.effectivePlacement}`]:true},role:"menu",id:this.menuId,"aria-label":this.menuLabel,"aria-orientation":"vertical","aria-hidden":!this.open&&!this.closing?"true":"false",onKeyDown:this.handleKeyDown},i("div",{key:"ae5e757ce1cfeb7ed3eaf83bcfd511e5bcfab26c",class:"md-fab-menu__container"},i("div",{key:"403be5df27c9b53a7bec38f8d74e2a974f665c9b",class:"md-fab-menu__items"},i("slot",{key:"c0892d237659b64cb1185aeff604801e42c746eb"}))))}componentWillLoad(){d(this)}componentDidRender(){f(this)}componentShouldUpdate(){l(this);return true}get el(){return n(this)}static get watchers(){return{anchor:[{onAnchorChange:0}],placement:[{onPlacementChange:0}],open:[{onOpenChange:0}]}}};A.style=g()+w();export{A as md_fab_menu};
2
- //# sourceMappingURL=p-d5a459bf.entry.js.map
1
+ import{r as t,c as s,h as i,H as e,g as n}from"./p-DuCsV-Tv.js";import{r as o,c as a,d as h,a as r,e as c,s as m,b as d,i as f,p as u}from"./p-DH_rSF2a.js";import{O as l}from"./p-CUho8MPx.js";const b=new WeakMap;function p(t,s){const i=b.get(t);const e=i??new Map;if(!i)b.set(t,e);let n=e.get(s);if(!n){const i=new Set;e.set(s,i);void t.whenDefined(s).then((()=>{e.delete(s);for(const t of i){queueMicrotask((()=>{if(i.delete(t))t()}))}}),(()=>{e.delete(s);i.clear()}));n=i}return n}function y(t,s,i){const e=p(t,s);const n=()=>i();e.add(n);return()=>{e.delete(n)}}const g=()=>`:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;const w=()=>`:host{display:none;position:fixed;inset:0;z-index:var(--md-sys-z-index-popup, 1000);pointer-events:none}:host(.md-fab-menu--open),:host(.md-fab-menu--closing){display:block}.md-fab-menu__container{position:fixed;display:flex;align-items:end;pointer-events:auto}:host(.md-fab-menu--up) .md-fab-menu__container{flex-direction:column}:host(.md-fab-menu--up) .md-fab-menu__items{display:flex;flex-direction:column-reverse;align-items:end;gap:var(--md-fab-menu-item-gap, var(--md-sys-spacing-gap-xs, 4px))}:host(.md-fab-menu--down) .md-fab-menu__container{flex-direction:column}:host(.md-fab-menu--down) .md-fab-menu__items{display:flex;flex-direction:column;align-items:end;gap:var(--md-fab-menu-item-gap, var(--md-sys-spacing-gap-xs, 4px))}:host(.md-fab-menu--primary){--md-fab-menu-item-container-color:var(--md-sys-color-primary-container);--md-fab-menu-item-label-color:var(--md-sys-color-on-primary-container)}:host(.md-fab-menu--secondary){--md-fab-menu-item-container-color:var(--md-sys-color-secondary-container);--md-fab-menu-item-label-color:var(--md-sys-color-on-secondary-container)}:host(.md-fab-menu--tertiary){--md-fab-menu-item-container-color:var(--md-sys-color-tertiary-container);--md-fab-menu-item-label-color:var(--md-sys-color-on-tertiary-container)}.md-fab-menu__container{opacity:0;transform:scaleY(0.8);transition:opacity var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)), transform var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1))}:host(.md-fab-menu--up) .md-fab-menu__container{transform-origin:bottom right}:host(.md-fab-menu--down) .md-fab-menu__container{transform-origin:top right}:host(.md-fab-menu--open) .md-fab-menu__container{opacity:1;transform:none}@starting-style{:host(.md-fab-menu--open) .md-fab-menu__container{opacity:0;transform:scaleY(0.8)}}:host(.md-fab-menu--closing) .md-fab-menu__container{opacity:0;transform:scaleY(0.8);transition:opacity var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-emphasized-accelerate, cubic-bezier(0.3, 0, 0.8, 0.15)), transform var(--md-sys-motion-duration-short3, 150ms) var(--md-sys-motion-easing-emphasized-accelerate, cubic-bezier(0.3, 0, 0.8, 0.15))}@media (prefers-reduced-motion: reduce){.md-fab-menu__container,:host(.md-fab-menu--open) .md-fab-menu__container,:host(.md-fab-menu--closing) .md-fab-menu__container{transition:none;opacity:1;transform:none}}@media (forced-colors: active){:host{forced-color-adjust:none}}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}:host([hidden]){display:none !important}`;const v=180;const _=120;const x={primary:{bg:"var(--md-sys-color-primary)",fg:"var(--md-sys-color-on-primary)"},secondary:{bg:"var(--md-sys-color-secondary)",fg:"var(--md-sys-color-on-secondary)"},tertiary:{bg:"var(--md-sys-color-tertiary)",fg:"var(--md-sys-color-on-tertiary)"}};let k=0;const A=class{constructor(i){t(this,i);this.mdOpen=s(this,"mdOpen",7);this.mdClose=s(this,"mdClose",7);this.overlayLifecycle=new l((()=>this.el),(()=>this.open));this.open=false;this.anchor="";this.variant="primary";this.placement="up";this.quick=false;this.menuLabel="Actions";this.density=0;this.closing=false;this.effectivePlacement="up";this.menuId=`md-fab-menu-${++k}`;this.loaded=false;this.openTaskGeneration=0;this.openTaskFrames=new Set;this.openTaskTimers=new Set;this.anchorIconGeneration=0;this.wiredAnchor=null;this.focusedIndex=-1;this.openedViaKeyboard=false;this.pointerActivated=false;this.anchorFocusedAtActivation=false;this.positionRafId=null;this.lastAnchorRect=null;this.anchorKeyHandler=t=>{if(t.key!=="Enter"&&t.key!==" ")return;this.openedViaKeyboard=true;const s=this.getAnchorEl();if(!s)return;const i=s.tagName.toLowerCase();if(i==="md-fab"||i==="md-button"||i==="button")return;t.preventDefault();t.stopPropagation();this.toggleMenu()};this.anchorClickHandler=t=>{if(!this.pointerActivated&&t.detail===0){this.openedViaKeyboard=true}this.pointerActivated=false;t.stopPropagation();this.toggleMenu()};this.anchorPointerHandler=()=>{this.pointerActivated=true;this.openedViaKeyboard=false;const t=this.getAnchorEl();const s=typeof document!=="undefined"?document.activeElement:null;this.anchorFocusedAtActivation=!!t&&!!s&&(t===s||t.contains(s))};this.handleKeyDown=t=>{if(!this.open)return;const s=t.target;if(s&&s.closest("md-fab-menu")!==this.el)return;const i=this.getItems();if(!i.length)return;switch(t.key){case"Escape":t.preventDefault();this.close();this.restoreFocusToAnchor();break;case"ArrowUp":t.preventDefault();if(this.effectivePlacement==="up"){this.focusItem(i,this.focusedIndex+1)}else{if(this.focusedIndex<=0){this.focusAnchor()}else{this.focusItem(i,this.focusedIndex-1)}}break;case"ArrowDown":t.preventDefault();if(this.effectivePlacement==="up"){if(this.focusedIndex<=0){this.focusAnchor()}else{this.focusItem(i,this.focusedIndex-1)}}else{this.focusItem(i,this.focusedIndex+1)}break;case"Home":t.preventDefault();this.focusItem(i,0);break;case"End":t.preventDefault();this.focusItem(i,i.length-1);break;case"Tab":{const e=this.getItemIndex(s,i);const n=e>=0?e:this.focusedIndex;if(t.shiftKey){if(n<=0){t.preventDefault();this.focusAnchor()}else{t.preventDefault();this.focusItem(i,n-1,false)}}else if(n>=i.length-1){t.stopPropagation();this.close()}else{t.preventDefault();this.focusItem(i,n+1,false)}break}default:if(t.key.length===1&&!t.ctrlKey&&!t.altKey&&!t.metaKey){this.handleTypeahead(i,t.key)}break}};this.typeaheadBuffer="";this.handleAnchorKeyDown=t=>{if(!this.open&&!this.closing)return;switch(t.key){case"Escape":t.preventDefault();this.close();break;case"ArrowUp":if(this.effectivePlacement==="up"){t.preventDefault();this.focusItem(null,0)}break;case"ArrowDown":if(this.effectivePlacement==="down"){t.preventDefault();this.focusItem(null,0)}break;case"Tab":if(!t.shiftKey){t.preventDefault();this.focusItem(null,0,false)}break}};this.handleOutsideClick=t=>{const s=t.composedPath();const i=this.getAnchorEl();if(!s.includes(this.el)&&(!i||!s.includes(i))){this.close()}};this.handleItemClick=()=>{this.close();this.restoreFocusToAnchor()}}connectedCallback(){o(this);this.overlayLifecycle.connected();this.effectivePlacement=this.placement==="auto"?"up":this.placement;if(this.loaded){this.closing=false;if(this.open)this.overlayLifecycle.opened();this.setupInitialState()}}componentDidLoad(){try{this.loaded=true;this.overlayLifecycle.loaded();this.setupInitialState()}finally{a(this)}}setupInitialState(){this.wireAnchor();if(this.open){this.resolveEffectivePlacement();this.updateAnchorAria(true);this.morphAnchorFab(true,false);this.positionMenu();this.addGlobalListeners();this.updateItemDelays();this.scheduleFocus((()=>this.initRovingTabindex()))}}disconnectedCallback(){h(this);this.cancelOpenTasks();this.overlayLifecycle.disconnect();this.resetAnchorFab(this.wiredAnchor??this.getAnchorEl());this.unwireAnchor();this.removeGlobalListeners();clearTimeout(this.closeTimer);clearTimeout(this.typeaheadTimer)}onAnchorChange(){if(this.wiredAnchor){if(this.open)this.wiredAnchor.setAttribute("aria-expanded","false");this.resetAnchorFab(this.wiredAnchor)}this.wireAnchor();if(this.open&&!this.closing&&this.el.isConnected){this.updateAnchorAria(true);this.morphAnchorFab(true,false);this.resolveEffectivePlacement();this.positionMenu()}}onPlacementChange(){if(this.placement!=="auto"){this.effectivePlacement=this.placement}}onOpenChange(t){this.cancelOpenTasks();if(t)this.overlayLifecycle.opened();else this.overlayLifecycle.closed();if(t){this.resolveEffectivePlacement();this.deferOpenFrame((()=>this.positionMenu()));this.mdOpen.emit();if(!this.open||this.closing||!this.el.isConnected)return;this.updateAnchorAria(true);this.morphAnchorFab(true);this.addGlobalListeners();this.updateItemDelays();this.scheduleOpeningFocus()}else{this.updateAnchorAria(false);this.morphAnchorFab(false);this.removeGlobalListeners();this.mdClose.emit();this.focusedIndex=-1;this.resetRovingTabindex();this.restoreFocusToAnchor()}}handleFocusIn(t){if(!this.open)return;const s=t.target;const i=this.getItems();const e=this.getItemIndex(s,i);if(e>=0&&e!==this.focusedIndex){if(this.focusedIndex>=0&&this.focusedIndex<i.length){i[this.focusedIndex].setAttribute("tabindex","-1")}this.focusedIndex=e;s.setAttribute("tabindex","0")}if(e>=0){this.clearRovingFocusVisible(i)}}async show(){this.cancelOpenTasks();await this.overlayLifecycle.show((()=>{const t=this.open;clearTimeout(this.closeTimer);if(!t||this.closing)r(this.el);this.closing=false;this.open=true;if(t&&this.open&&!this.closing){this.deferOpenFrame((()=>this.positionMenu()));this.addGlobalListeners();this.scheduleOpeningFocus()}}))}async whenClosed(){await this.overlayLifecycle.whenClosed()}async close(){this.cancelOpenTasks();this.overlayLifecycle.cancelOpen();if(!this.open||this.closing)return;r(this.el);if(this.quick){this.open=false;return}this.closing=true;this.closeTimer=setTimeout((()=>{this.closing=false;this.open=false}),v)}getAnchorEl(){return this.anchor?this.el.ownerDocument.getElementById(this.anchor):null}toggleMenu(){if(this.open||this.closing){this.close()}else{this.show()}}wireAnchor(){this.unwireAnchor();if(!this.anchor||typeof document==="undefined")return;const t=this.getAnchorEl();if(!t)return;this.wiredAnchor=t;t.addEventListener("keydown",this.anchorKeyHandler,true);t.addEventListener("click",this.anchorClickHandler,true);t.addEventListener("mousedown",this.anchorPointerHandler);t.addEventListener("pointerdown",this.anchorPointerHandler)}unwireAnchor(){const t=this.wiredAnchor;this.wiredAnchor=null;if(!t)return;t.removeEventListener("keydown",this.anchorKeyHandler,true);t.removeEventListener("click",this.anchorClickHandler,true);t.removeEventListener("mousedown",this.anchorPointerHandler);t.removeEventListener("pointerdown",this.anchorPointerHandler)}updateAnchorAria(t){const s=this.getAnchorEl();if(!s)return;if(t){s.setAttribute("aria-expanded","true");s.setAttribute("aria-haspopup","menu");s.setAttribute("aria-controls",this.menuId)}else{s.setAttribute("aria-expanded","false")}}morphAnchorFab(t,s=c(this.el)){this.cancelAnchorIconUpdate();const i=this.anchorIconGeneration;const e=this.getAnchorEl();if(!e)return;if(s){r(e);e.setAttribute("data-icon-morphing","")}else{m(e)}if(t){e.setAttribute("data-shape","circle");const t=x[this.variant];if(t){e.style.setProperty("--md-fab-container-color",t.bg);e.style.setProperty("--md-fab-icon-color",t.fg)}e.addEventListener("keydown",this.handleAnchorKeyDown)}else{e.removeAttribute("data-shape");e.style.removeProperty("--md-fab-container-color");e.style.removeProperty("--md-fab-icon-color");e.removeEventListener("keydown",this.handleAnchorKeyDown)}const n=()=>{this.updateAnchorIcon(e,t,i);e.removeAttribute("data-icon-morphing")};if(s)this.iconMorphTimer=setTimeout(n,_);else n()}updateAnchorIcon(t,s,i){if(typeof t.setMenuIcon==="function"){void t.setMenuIcon(s?"close":null)}else if(s&&t.localName==="md-fab"){const s=t.ownerDocument.defaultView?.customElements;if(!s)return;this.cancelAnchorDefinition=y(s,"md-fab",(()=>{if(i!==this.anchorIconGeneration)return;this.cancelAnchorDefinition=undefined;if(!this.open||this.closing||!this.el.isConnected||!t.isConnected||this.getAnchorEl()!==t)return;m(t);void t.setMenuIcon?.("close")}))}}cancelAnchorIconUpdate(){++this.anchorIconGeneration;clearTimeout(this.iconMorphTimer);this.cancelAnchorDefinition?.();this.cancelAnchorDefinition=undefined}resetAnchorFab(t=this.getAnchorEl()){this.cancelAnchorIconUpdate();if(!t)return;m(t);t.removeAttribute("data-shape");t.removeAttribute("data-icon-morphing");void t.setMenuIcon?.(null);t.style.removeProperty("--md-fab-container-color");t.style.removeProperty("--md-fab-icon-color");t.removeEventListener("keydown",this.handleAnchorKeyDown)}restoreFocusToAnchor(){this.getAnchorEl()?.focus()}resolveEffectivePlacement(){if(this.placement!=="auto"){this.effectivePlacement=this.placement;return}const t=this.getAnchorEl();if(!t){this.effectivePlacement="up";return}const s=t.getBoundingClientRect();const i=s.top;const e=window.innerHeight-s.bottom;this.effectivePlacement=i>e?"up":"down"}positionMenu(){const t=this.getAnchorEl();const s=this.el.shadowRoot?.querySelector(".md-fab-menu__container");if(!t||!s)return;const i=t.getBoundingClientRect();const e=getComputedStyle(this.el).direction==="rtl";const n=8;if(e){s.style.left=`${i.left}px`;s.style.right=""}else{s.style.right=`${window.innerWidth-i.right}px`;s.style.left=""}if(this.effectivePlacement==="up"){s.style.bottom=`${window.innerHeight-i.top+n}px`;s.style.top=""}else{s.style.top=`${i.bottom+n}px`;s.style.bottom=""}}getItems(){return Array.from(this.el.querySelectorAll("md-fab-menu-item"))}getItemIndex(t,s){const i=s.indexOf(t);if(i>=0)return i;return s.findIndex((s=>s===t||s.contains(t)))}getEnabledItems(){return this.getItems().filter((t=>!t.hasAttribute("disabled")))}updateItemDelays(){const t=this.getItems();t.forEach(((t,s)=>{t.style.setProperty("--_fab-menu-item-index",String(s))}))}initRovingTabindex(){const t=this.getItems();t.forEach(((t,s)=>{t.setAttribute("tabindex",s===0?"0":"-1")}));this.focusedIndex=0}resetRovingTabindex(){const t=this.getItems();t.forEach((t=>{t.setAttribute("tabindex","-1")}));this.clearRovingFocusVisible(t)}cancelOpenTasks(){++this.openTaskGeneration;this.openTaskFrames.forEach((t=>cancelAnimationFrame(t)));this.openTaskFrames.clear();this.openTaskTimers.forEach((t=>clearTimeout(t)));this.openTaskTimers.clear()}deferOpenFrame(t){const s=this.openTaskGeneration;const i=requestAnimationFrame((()=>{this.openTaskFrames.delete(i);if(s!==this.openTaskGeneration||!this.open||this.closing||!this.el.isConnected)return;t()}));this.openTaskFrames.add(i)}scheduleFocus(t){const s=this.openTaskGeneration;const i=setTimeout((()=>{this.openTaskTimers.delete(i);if(s!==this.openTaskGeneration||!this.open||this.closing||!this.el.isConnected)return;this.deferOpenFrame(t)}),0);this.openTaskTimers.add(i)}scheduleOpeningFocus(){if(this.openedViaKeyboard||this.anchorFocusedAtActivation)this.scheduleFocus((()=>this.focusFirstItem(3,true)));else this.scheduleFocus((()=>this.initRovingTabindex()));this.openedViaKeyboard=false;this.anchorFocusedAtActivation=false}setRovingFocusVisible(t,s,i){t.forEach(((t,e)=>{t.rovingFocusVisible=i&&e===s}))}clearRovingFocusVisible(t){t.forEach((t=>{t.rovingFocusVisible=false}))}focusFirstItem(t=3,s=false){const i=this.getItems();if(i.length){this.focusItem(i,0,s)}else if(t>0){this.scheduleFocus((()=>this.focusFirstItem(t-1,s)))}}focusAnchor(){const t=this.getItems();t.forEach((t=>{t.setAttribute("tabindex","-1")}));this.clearRovingFocusVisible(t);const s=this.getAnchorEl();s?.focus();this.focusedIndex=-1}focusItem(t,s,i=true){const e=t??this.getItems();if(e.length===0)return;if(s<0)s=e.length-1;if(s>=e.length)s=0;if(this.focusedIndex>=0&&this.focusedIndex<e.length){e[this.focusedIndex].setAttribute("tabindex","-1")}this.focusedIndex=s;e[s].setAttribute("tabindex","0");this.setRovingFocusVisible(e,s,i);e[s].focus()}handleTypeahead(t,s){clearTimeout(this.typeaheadTimer);this.typeaheadBuffer+=s.toLowerCase();this.typeaheadTimer=setTimeout((()=>{this.typeaheadBuffer=""}),300);const i=this.focusedIndex>=0?this.focusedIndex:0;const e=t.length;for(let s=1;s<=e;s++){const n=(i+s)%e;const o=t[n];const a=(o.label??o.getAttribute("label")??"").trim()||(o.textContent||"").trim();if(a.toLowerCase().startsWith(this.typeaheadBuffer)){this.focusItem(t,n);return}}}startAnchorTracking(){this.stopAnchorTracking();const t=()=>{if(!this.open||!this.el.isConnected)return;this.repositionIfAnchorMoved();this.positionRafId=requestAnimationFrame(t)};this.positionRafId=requestAnimationFrame(t)}repositionIfAnchorMoved(){const t=this.getAnchorEl();if(!t)return;const s=t.getBoundingClientRect();const i=this.lastAnchorRect;if(!i||i.top!==s.top||i.left!==s.left||i.right!==s.right||i.bottom!==s.bottom){this.lastAnchorRect={top:s.top,left:s.left,right:s.right,bottom:s.bottom};this.positionMenu()}}stopAnchorTracking(){if(this.positionRafId!==null){cancelAnimationFrame(this.positionRafId);this.positionRafId=null}this.lastAnchorRect=null}addGlobalListeners(){this.deferOpenFrame((()=>{document.addEventListener("click",this.handleOutsideClick)}));this.startAnchorTracking();this.el.addEventListener("mdClick",this.handleItemClick)}removeGlobalListeners(){document.removeEventListener("click",this.handleOutsideClick);this.stopAnchorTracking();this.el.removeEventListener("mdClick",this.handleItemClick)}render(){return i(e,{key:"bf627e4349e28a06fae5da7448e7d5efe506a256",class:{"md-fab-menu":true,"md-fab-menu--open":this.open,"md-fab-menu--closing":this.closing,[`md-fab-menu--${this.variant}`]:true,[`md-fab-menu--${this.effectivePlacement}`]:true},role:"menu",id:this.menuId,"aria-label":this.menuLabel,"aria-orientation":"vertical","aria-hidden":!this.open&&!this.closing?"true":"false",onKeyDown:this.handleKeyDown},i("div",{key:"45501a7e11e1e8a433d8e883707da1b87a9ab73b",class:"md-fab-menu__container"},i("div",{key:"5233379b8773a7e963ea84222c4e5abc1fae648b",class:"md-fab-menu__items"},i("slot",{key:"7b6de0428eef650bb1dd6fdf996a2226c156ac99"}))))}componentWillLoad(){d(this)}componentDidRender(){f(this)}componentShouldUpdate(){u(this);return true}get el(){return n(this)}static get watchers(){return{anchor:[{onAnchorChange:0}],placement:[{onPlacementChange:0}],open:[{onOpenChange:0}]}}};A.style=g()+w();export{A as md_fab_menu};
2
+ //# sourceMappingURL=p-b7c0e652.entry.js.map
@@ -0,0 +1,2 @@
1
+ export{MdLoadingIndicator as md_loading_indicator}from"./p-BgRw_myY.js";import"./p-DuCsV-Tv.js";import"./p-DH_rSF2a.js";
2
+ //# sourceMappingURL=p-b7c8253a.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as e,h as o,H as s,g as n}from"./p-DkJ2hl1A.js";import{c as a,b as i,i as r,r as d,d as c,p as h}from"./p-Bin9vIoJ.js";const l=()=>`:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;const m=()=>`:host{display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr;box-sizing:border-box;vertical-align:middle}@media (prefers-reduced-motion: reduce){:host{transition:none}}@media (forced-colors: active){:host{forced-color-adjust:none}}:host([hidden]){display:none !important}`;const u=class{constructor(o){t(this,o);this.mdChange=e(this,"mdChange",7);this.multiselect=false;this.density=0;this.handleSlotChange=()=>{this.syncSegments()}}onPropsChange(){this.syncSegments()}componentDidLoad(){try{this.syncSegments()}finally{a(this)}}handleSegmentClick(t){t.stopPropagation();const e=this.getSegments();const o=t.target;if(!o)return;const{selected:s}=t.detail;if(this.multiselect){o.selected=s}else{for(const t of e){t.selected=t===o}}this.mdChange.emit(e.filter((t=>t.selected)).map((t=>t.value)))}getSegments(){return Array.from(this.el.querySelectorAll("md-segmented-button"))}syncSegments(){const t=this.getSegments();const e=t.length;for(let o=0;o<e;o++){const s=t[o];s.segmentIndex=o;s.segmentTotal=e;s.segmentDensity=this.density;s.segmentMultiselect=this.multiselect}}render(){return o(s,{key:"6a57d73b6af3ed979b7bd56b70334836e4be7d78",class:{"md-segmented-button-set":true,[`md-segmented-button-set--density-${Math.abs(this.density)}`]:this.density!==0},role:this.multiselect?"group":"radiogroup"},o("slot",{key:"0300a0fe2b4074531b0eb857e8c86e8d7999e86e",onSlotchange:this.handleSlotChange}))}componentWillLoad(){i(this)}componentDidRender(){r(this)}connectedCallback(){d(this)}disconnectedCallback(){c(this)}componentShouldUpdate(){h(this);return true}get el(){return n(this)}static get watchers(){return{multiselect:[{onPropsChange:0}],density:[{onPropsChange:0}]}}};u.style=l()+m();export{u as md_segmented_button_set};
2
- //# sourceMappingURL=p-19aea41a.entry.js.map
1
+ import{r as t,c as e,h as o,H as s,g as n}from"./p-DuCsV-Tv.js";import{c as a,b as i,i as r,r as d,d as c,p as h}from"./p-DH_rSF2a.js";const m=()=>`:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;const l=()=>`:host{display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr;box-sizing:border-box;vertical-align:middle}@media (prefers-reduced-motion: reduce){:host{transition:none}}@media (forced-colors: active){:host{forced-color-adjust:none}}:host([hidden]){display:none !important}`;const f=class{constructor(o){t(this,o);this.mdChange=e(this,"mdChange",7);this.multiselect=false;this.density=0;this.handleSlotChange=()=>{this.syncSegments()}}onPropsChange(){this.syncSegments()}componentDidLoad(){try{this.syncSegments()}finally{a(this)}}handleSegmentClick(t){t.stopPropagation();const e=this.getSegments();const o=t.target;if(!o)return;const{selected:s}=t.detail;if(this.multiselect){o.selected=s}else{for(const t of e){t.selected=t===o}}this.mdChange.emit(e.filter((t=>t.selected)).map((t=>t.value)))}getSegments(){return Array.from(this.el.querySelectorAll("md-segmented-button"))}syncSegments(){const t=this.getSegments();const e=t.length;for(let o=0;o<e;o++){const s=t[o];s.segmentIndex=o;s.segmentTotal=e;s.segmentDensity=this.density;s.segmentMultiselect=this.multiselect}}render(){return o(s,{key:"542fcc93259149aa8cc56eb25a44ff272b26fa50",class:{"md-segmented-button-set":true,[`md-segmented-button-set--density-${Math.abs(this.density)}`]:this.density!==0},role:this.multiselect?"group":"radiogroup"},o("slot",{key:"903c36bb9f5a0e22082b1c787351d670245f7eef",onSlotchange:this.handleSlotChange}))}componentWillLoad(){i(this)}componentDidRender(){r(this)}connectedCallback(){d(this)}disconnectedCallback(){c(this)}componentShouldUpdate(){h(this);return true}get el(){return n(this)}static get watchers(){return{multiselect:[{onPropsChange:0}],density:[{onPropsChange:0}]}}};f.style=m()+l();export{f as md_segmented_button_set};
2
+ //# sourceMappingURL=p-b88b8b01.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as e,h as i,H as s,g as d}from"./p-DkJ2hl1A.js";import{b as o,c as l,i as r,d as a,r as n,p as c}from"./p-Bin9vIoJ.js";import{c as h}from"./p-mwCGMdmr.js";import{I as f,a as m,g as x,w as u,d as p}from"./p-BmnO2PGu.js";const _=()=>`:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;const b=()=>`:host{--_container-color:var(--md-text-field-container-color, var(--md-sys-color-surface-container-highest, #E6E0E9));--_input-color:var(--md-text-field-input-color, var(--md-sys-color-on-surface, #1C1B1F));--_label-color:var(--md-text-field-label-color, var(--md-sys-color-on-surface-variant, #49454F));--_active-indicator-color:var(--md-text-field-active-indicator-color, var(--md-sys-color-primary, #6750A4));--_outline-color:var(--md-text-field-outline-color, var(--md-sys-color-outline, #79747E));--_error-color:var(--md-text-field-error-color, var(--md-sys-color-error, #B3261E));--_supporting-text-color:var(--md-text-field-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454F));--_icon-color:var(--md-text-field-icon-color, var(--md-sys-color-on-surface-variant, #49454F));--_text-inset:calc(var(--md-sys-spacing-inset-lg, 16px) + 7px);--_icon-size:var(--md-text-field-icon-size, max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px)));--_container-shape:var(--md-text-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px));--_filled-pill:var(--md-text-field-filled-pill, 0);--_filled-block-end-radius:calc(var(--_filled-pill) * var(--_container-shape));display:flex;flex-direction:column;position:relative;font-family:var(--md-sys-typescale-body-large-font-family, Roboto, sans-serif);width:100%;box-sizing:border-box}.md-text-field__container{position:relative;display:flex;align-items:stretch;min-height:calc(56px + var(--md-sys-density-scale, 0) * 4px);cursor:var(--md-text-field-cursor, text);box-sizing:border-box}:host(.md-text-field--filled) .md-text-field__container{background-color:var(--_container-color);border-start-start-radius:var(--_container-shape);border-start-end-radius:var(--_container-shape);border-end-start-radius:var(--_filled-block-end-radius);border-end-end-radius:var(--_filled-block-end-radius);padding-block:max(2px, calc(8px + var(--md-sys-density-scale, 0) * 0.5px));padding-inline-start:var(--md-text-field-padding-inline-start, var(--_text-inset));padding-inline-end:var(--md-text-field-padding-inline-end, var(--_text-inset));transition:background-color var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1))}:host(.md-text-field--filled.md-text-field--focused) .md-text-field__container{background-color:var(--_container-color)}:host(.md-text-field--outlined) .md-text-field__container{background-color:transparent;border-radius:var(--_container-shape);padding-block:max(2px, calc(8px + var(--md-sys-density-scale, 0) * 1px));padding-inline-start:var(--md-text-field-padding-inline-start, var(--_text-inset));padding-inline-end:var(--md-text-field-padding-inline-end, var(--_text-inset))}:host(.md-text-field--outlined) .md-text-field__input{position:relative;inset-block-start:var(--md-text-field-optical-nudge, 0px)}:host(.md-text-field--clearable) .md-text-field__input::-webkit-search-cancel-button,:host(.md-text-field--clearable) .md-text-field__input::-webkit-search-decoration{display:none}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}.md-text-field__state-layer{position:absolute;inset:0;border-radius:inherit;background-color:var(--md-sys-color-on-surface, #1C1B1F);opacity:0;transition:opacity var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1));pointer-events:none}:host(.md-text-field--filled:hover:not(.md-text-field--disabled)) .md-text-field__state-layer{opacity:var(--md-sys-state-hover-state-layer-opacity, 0.08)}:host(.md-text-field--outlined) .md-text-field__state-layer{display:none}.md-text-field__input-wrap{flex:1;display:flex;flex-direction:column;justify-content:center;min-width:0;position:relative;padding:0}:host(.md-text-field--filled) .md-text-field__input-wrap{justify-content:flex-end}:host(.md-text-field--filled.md-text-field--without-label:not(.md-text-field--multiline)) .md-text-field__input-wrap{justify-content:center}.md-text-field__input-row{display:flex;align-items:center}.md-text-field__chips{display:inline-flex;flex-wrap:nowrap;align-items:center;gap:4px;min-inline-size:0;overflow:hidden}:host(.md-text-field--with-chips:not([chips-wrap])) .md-text-field__chips{flex:1 1 auto}:host(.md-text-field--with-chips) .md-text-field__input-row{flex-wrap:nowrap;gap:4px;min-inline-size:0}:host(.md-text-field--with-chips:not([chips-wrap])) .md-text-field__input{flex:0 1 0;min-inline-size:0}:host(.md-text-field--with-chips) .md-text-field__input{flex:1 0 40px;min-inline-size:40px}:host(.md-text-field--with-chips[chips-wrap]) .md-text-field__input-row{flex-wrap:wrap;row-gap:6px}:host([chips-wrap]) .md-text-field__chips{flex-wrap:wrap;overflow:visible}.md-text-field__input{flex:1;border:none;outline:none;background:transparent;font-family:inherit;font-size:max(13px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));font-weight:var(--md-sys-typescale-body-large-weight, 400);letter-spacing:var(--md-sys-typescale-body-large-tracking, 0.5px);color:var(--_input-color);caret-color:var(--_active-indicator-color);cursor:var(--md-text-field-cursor, text);padding:0;margin:0;min-width:0;width:100%}.md-text-field__input::placeholder{color:var(--_label-color)}:host(.md-text-field--error) .md-text-field__input{caret-color:var(--_error-color)}.md-text-field__input--textarea{resize:none;overflow-wrap:break-word}.md-text-field__input--auto-grow{overflow:hidden}.md-text-field__input--fixed{overflow-y:auto}:host(.md-text-field--multiline) .md-text-field__container{align-items:flex-start;min-height:auto}:host(.md-text-field--multiline) .md-text-field__input-wrap{justify-content:flex-start}:host(.md-text-field--multiline.md-text-field--filled) .md-text-field__input-wrap{justify-content:flex-start;padding-block-start:20px}:host(.md-text-field--multiline) .md-text-field__input-row{align-items:flex-start}:host(.md-text-field--filled.md-text-field--floating.md-text-field--with-chips:not(.md-text-field--without-label)) .md-text-field__input-wrap{padding-block-start:max(12px, calc(16px + var(--md-sys-density-scale, 0) * 1px))}:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__icon,:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__trailing-icon-button,:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__clear,:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__password-toggle,:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__speech{align-self:flex-start;margin-block-start:16px}:host(.md-text-field--auto-grow) .md-text-field__icon,:host(.md-text-field--auto-grow) .md-text-field__trailing-icon-button,:host(.md-text-field--auto-grow) .md-text-field__clear,:host(.md-text-field--auto-grow) .md-text-field__password-toggle,:host(.md-text-field--auto-grow) .md-text-field__speech{align-self:center}.md-text-field__label{position:absolute;inset-inline-start:0;font-size:max(13px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));color:var(--_label-color);pointer-events:none;transition:top var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), inset-inline-start var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), font-size var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), line-height var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), transform var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), background-color var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), padding var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), color var(--md-sys-motion-duration-short2, 100ms) ease;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}:host(.md-text-field--filled) .md-text-field__label{top:50%;transform:translateY(-50%)}:host(.md-text-field--multiline:not(.md-text-field--floating)) .md-text-field__label{top:28px}:host(.md-text-field--multiline.md-text-field--outlined:not(.md-text-field--floating)) .md-text-field__label{top:12px;}:host(.md-text-field--multiline.md-text-field--filled:not(.md-text-field--floating)) .md-text-field__label{top:32px;}:host(.md-text-field--filled.md-text-field--floating) .md-text-field__label{top:0;transform:translateY(0);font-size:max(11px, calc(var(--md-sys-typescale-body-small-size, 12px) + var(--md-sys-density-scale, 0) * 0.25px));line-height:max(12px, calc(var(--md-sys-typescale-body-small-line-height, 16px) + var(--md-sys-density-scale, 0) * 1px))}:host(.md-text-field--outlined) .md-text-field__label{top:50%;transform:translateY(-50%);background-color:transparent;padding:0}:host(.md-text-field--outlined.md-text-field--floating) .md-text-field__label{top:calc(-8px - var(--md-sys-density-scale, 0) * 1px);inset-inline-start:0;transform:translateY(-50%);font-size:max(10px, calc(12px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(12px, calc(16px + var(--md-sys-density-scale, 0) * 1px));background-color:transparent;padding:0}:host([density='-1'].md-text-field--filled.md-text-field--floating) .md-text-field__label,:host([density='-2'].md-text-field--filled.md-text-field--floating) .md-text-field__label,:host([density='-3'].md-text-field--filled.md-text-field--floating) .md-text-field__label,:host([density='-4'].md-text-field--filled.md-text-field--floating) .md-text-field__label{font-size:11px;line-height:12px;top:1px}:host([density='-2'].md-text-field--filled.md-text-field--floating) .md-text-field__label{top:-2px;}:host([density='-3'].md-text-field--outlined.md-text-field--floating) .md-text-field__label,:host([density='-4'].md-text-field--outlined.md-text-field--floating) .md-text-field__label{top:-4px}:host(.md-text-field--filled) .md-text-field__input{line-height:max(16px, calc(24px + var(--md-sys-density-scale, 0) * 2px))}:host(.md-text-field--outlined.md-text-field--floating.md-text-field--with-leading) .md-text-field__label{inset-inline-start:calc(-1 * (var(--_icon-size) + var(--md-sys-spacing-gap-lg, 16px)))}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__label{color:var(--md-sys-color-on-surface, #1C1B1F)}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__label{color:var(--md-sys-color-on-error-container, #8C1D18)}:host(.md-text-field--focused) .md-text-field__label{color:var(--_active-indicator-color)}:host(.md-text-field--error) .md-text-field__label{color:var(--_error-color)}.md-text-field__prefix,.md-text-field__suffix{font-size:max(13px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));color:var(--_supporting-text-color);white-space:nowrap;user-select:none;transition:color var(--md-sys-motion-duration-short2, 100ms) ease}.md-text-field__prefix{margin-inline-end:2px}.md-text-field__suffix{margin-inline-start:2px}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled)) .md-text-field__prefix,:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled)) .md-text-field__suffix{color:var(--md-sys-color-on-surface, #1C1B1F)}.md-text-field__icon{display:flex;align-items:center;justify-content:center;font-size:var(--_icon-size);color:var(--_icon-color);flex-shrink:0;align-self:center;user-select:none;transition:color var(--md-sys-motion-duration-short2, 100ms) ease}.md-text-field__icon ::slotted(*){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}.md-text-field__icon--leading{margin-inline-end:var(--md-sys-spacing-gap-lg, 16px)}.md-text-field__icon--trailing{margin-inline-start:0}.md-text-field__trailing-icon-button{display:flex;align-items:center;flex-shrink:0;align-self:center;margin-inline-start:0}.md-text-field__error-icon+.md-text-field__trailing-icon-button{margin-inline-start:4px}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled)) .md-text-field__icon--leading{color:var(--md-sys-color-on-surface, #1C1B1F)}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__icon--trailing{color:var(--md-sys-color-on-surface, #1C1B1F)}:host(.md-text-field--error) .md-text-field__icon--trailing{color:var(--_error-color)}:host(.md-text-field--error) .md-text-field__icon--trailing ::slotted(*){color:inherit}.md-text-field__clear{display:flex;align-items:center;justify-content:center;align-self:center;border:none;background:none;padding:0;margin:0;margin-inline-start:var(--md-sys-spacing-gap-lg, 16px);cursor:pointer;border-radius:50%;width:var(--_icon-size);height:var(--_icon-size);flex-shrink:0;color:var(--_icon-color);transition:color var(--md-sys-motion-duration-short2, 100ms) ease, opacity var(--md-sys-motion-duration-short2, 100ms) ease}.md-text-field__clear ::slotted(*){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}.md-text-field__clear:hover:not(:disabled){color:var(--md-sys-color-on-surface, #1C1B1F)}.md-text-field__clear:focus-visible,.md-text-field__password-toggle:focus-visible,.md-text-field__speech:focus-visible{outline:2px solid var(--md-sys-color-secondary, #625B71);outline-offset:-6px}.md-text-field__clear--disabled{color:var(--md-sys-color-on-surface, #1C1B1F);opacity:0.38;cursor:default;pointer-events:none}:host(.md-text-field--error) .md-text-field__clear:not(:disabled){color:var(--_error-color)}.md-text-field__password-toggle{display:flex;align-items:center;justify-content:center;align-self:center;border:none;background:none;padding:0;margin:0;margin-inline-start:var(--md-sys-spacing-gap-lg, 16px);cursor:pointer;border-radius:50%;width:var(--_icon-size);height:var(--_icon-size);flex-shrink:0;color:var(--_icon-color);transition:color var(--md-sys-motion-duration-short2, 100ms) ease}.md-text-field__password-toggle ::slotted(*){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}.md-text-field__password-toggle:hover:not(:disabled){color:var(--md-sys-color-on-surface, #1C1B1F)}.md-text-field__password-toggle--disabled{color:var(--md-sys-color-on-surface, #1C1B1F);opacity:0.38;cursor:default;pointer-events:none}:host(.md-text-field--error) .md-text-field__password-toggle:not(:disabled){color:var(--_error-color)}.md-text-field__speech{display:flex;align-items:center;justify-content:center;align-self:center;border:none;background:none;padding:0;margin:0;margin-inline-start:var(--md-sys-spacing-gap-lg, 16px);cursor:pointer;border-radius:50%;width:var(--_icon-size);height:var(--_icon-size);flex-shrink:0;color:var(--_icon-color);transition:color var(--md-sys-motion-duration-short2, 100ms) ease}.md-text-field__speech ::slotted(*){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}.md-text-field__speech:hover:not(:disabled){color:var(--md-sys-color-on-surface, #1C1B1F)}.md-text-field__speech--listening{color:var(--_error-color);animation:md-speech-pulse 1.2s ease-in-out infinite}.md-text-field__speech--disabled{color:var(--md-sys-color-on-surface, #1C1B1F);opacity:0.38;cursor:default;pointer-events:none}:host(.md-text-field--error) .md-text-field__speech:not(:disabled):not(.md-text-field__speech--listening){color:var(--_error-color)}@keyframes md-speech-pulse{0%,100%{opacity:1}50%{opacity:0.4}}.md-text-field__error-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;align-self:center;width:var(--_icon-size);height:var(--_icon-size);font-size:var(--_icon-size);line-height:1;margin-inline-start:var(--md-sys-spacing-gap-lg, 16px);color:var(--_error-color)}.md-text-field__error-icon ::slotted(*){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__error-icon{align-self:flex-start;margin-block-start:16px}:host(.md-text-field--auto-grow) .md-text-field__error-icon{align-self:center}.md-text-field__indicator{position:absolute;inset-block-end:0;inset-inline:0;height:1px;background-color:var(--md-sys-color-on-surface-variant, #49454F);opacity:calc(1 - var(--_filled-pill));transition:height var(--md-sys-motion-duration-short2, 100ms) ease, background-color var(--md-sys-motion-duration-short2, 100ms) ease, opacity var(--md-sys-motion-duration-short2, 100ms) ease}:host(.md-text-field--focused) .md-text-field__indicator{height:var(--md-text-field-focus-border-width, 3px);background-color:var(--_active-indicator-color);transition:height var(--md-sys-motion-duration-short2, 100ms) ease}:host(.md-text-field--error) .md-text-field__indicator{background-color:var(--_error-color)}:host(.md-text-field--error.md-text-field--focused) .md-text-field__indicator{height:var(--md-text-field-focus-border-width, 3px);background-color:var(--_error-color);transition:height var(--md-sys-motion-duration-short2, 100ms) ease;}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__indicator{height:1px;background-color:var(--md-sys-color-on-surface, #1C1B1F)}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__indicator{height:1px;background-color:var(--md-sys-color-on-error-container, #8C1D18)}.md-text-field__fieldset{position:absolute;inset:0;margin:0;max-inline-size:100%;min-inline-size:0;overflow:hidden;padding-inline-start:calc( var(--md-text-field-padding-inline-start, var(--_text-inset)) - 1px - var(--_legend-inline-padding, 4px) );padding-inline-end:calc( var(--md-text-field-padding-inline-end, var(--_text-inset)) - 1px - var(--_legend-inline-padding, 4px) );padding-block:0;border:1px solid var(--_outline-color);border-radius:var(--_container-shape);pointer-events:none;transition:border-color var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1))}:host(.md-text-field--focused) .md-text-field__fieldset{border-color:var(--_active-indicator-color);border-width:var(--md-text-field-focus-border-width, 3px);inset:var(--md-text-field-focus-inset, 0);transition:none}:host(.md-text-field--error) .md-text-field__fieldset{border-color:var(--_error-color)}:host(.md-text-field--error.md-text-field--focused) .md-text-field__fieldset{border-color:var(--_error-color);border-width:var(--md-text-field-focus-border-width, 3px);inset:var(--md-text-field-focus-inset, 0);transition:none;}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__fieldset{border-color:var(--md-sys-color-on-surface, #1C1B1F)}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__fieldset{border-color:var(--md-sys-color-on-error-container, #8C1D18)}.md-text-field__legend{max-inline-size:calc(100% - 16px);overflow:hidden;height:0;padding:0;font-size:max(10px, calc(12px + var(--md-sys-density-scale, 0) * 0.5px));max-width:0;transition:max-width var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), padding-inline var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1));white-space:nowrap}.md-text-field__legend--active{max-width:100%;padding-inline:var(--_legend-inline-padding, 4px);transition:max-width var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), padding-inline var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1))}.md-text-field__legend span{display:inline-block;padding:0;visibility:hidden}.md-text-field__support-row{display:flex;justify-content:space-between;padding:4px 16px 0;gap:16px}.md-text-field__support-text{font-size:max(10px, calc(12px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(14px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));color:var(--_supporting-text-color)}.md-text-field__support-text--error{color:var(--_error-color)}.md-text-field__counter{font-size:max(10px, calc(12px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(14px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));color:var(--_supporting-text-color);flex-shrink:0}:host(.md-text-field--disabled) .md-text-field__container{cursor:default;pointer-events:none}:host(.md-text-field--disabled.md-text-field--filled) .md-text-field__container{background-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 4%, transparent)}:host(.md-text-field--disabled) .md-text-field__label{color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}:host(.md-text-field--disabled) .md-text-field__input{color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}:host(.md-text-field--disabled) .md-text-field__indicator{background-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}:host(.md-text-field--disabled) .md-text-field__fieldset{border-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 12%, transparent)}:host(.md-text-field--disabled) .md-text-field__icon{color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}:host(.md-text-field--disabled) .md-text-field__icon ::slotted(*){color:inherit}:host(.md-text-field--disabled) .md-text-field__support-text,:host(.md-text-field--disabled) .md-text-field__counter{color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}:host(.md-text-field--disabled) .md-text-field__prefix,:host(.md-text-field--disabled) .md-text-field__suffix{color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}.material-symbols-outlined{font-family:var(--md-sys-icon-font-family, 'Material Symbols Outlined', 'Material Icons');font-weight:normal;font-style:normal;font-size:var(--_icon-size);inline-size:1em;block-size:1em;flex:none;overflow:hidden;text-align:center;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;overflow-wrap:normal;direction:ltr;font-feature-settings:'liga';-webkit-font-smoothing:antialiased}@keyframes md-tf-autofill-start{from{--md-tf-autofill:1}}@keyframes md-tf-autofill-cancel{from{--md-tf-autofill:0}}.md-text-field__input:-webkit-autofill{animation-name:md-tf-autofill-start;box-shadow:0 0 0 1000px var(--_container-color, #E6E1E6) inset;-webkit-text-fill-color:var(--md-text-field-input-color, var(--md-sys-color-on-surface, #1D1B20));caret-color:var(--md-text-field-input-color, var(--md-sys-color-on-surface, #1D1B20))}.md-text-field__input:not(:-webkit-autofill){animation-name:md-tf-autofill-cancel}@media (prefers-reduced-motion: reduce){.md-text-field__label,.md-text-field__indicator,.md-text-field__state-layer,.md-text-field__fieldset,.md-text-field__legend,.md-text-field__legend>span,.md-text-field__container{transition-duration:0.01ms !important}.md-text-field__speech--listening,.md-text-field__speech--listening *{animation:none !important}}@media (forced-colors: active){:host(.md-text-field--filled) .md-text-field__container,:host(.md-text-field--filled.md-text-field--focused) .md-text-field__container,:host(.md-text-field--filled.md-text-field--disabled) .md-text-field__container,:host(.md-text-field--outlined) .md-text-field__container,.md-text-field__container{border:1px solid ButtonText;forced-color-adjust:none;background:Field;color:FieldText}:host(.md-text-field--focused) .md-text-field__indicator{background-color:Highlight}.md-text-field__input{caret-color:FieldText}:host(.md-text-field--filled.md-text-field--disabled) .md-text-field__indicator{background-color:GrayText}:host(.md-text-field--outlined.md-text-field--disabled) .md-text-field__fieldset{border-color:GrayText}:host(.md-text-field--focused) .md-text-field__label,:host(.md-text-field--error) .md-text-field__label,:host(.md-text-field--disabled) .md-text-field__label{color:FieldText}:host(.md-text-field--disabled) .md-text-field__label,:host(.md-text-field--disabled) .md-text-field__input{color:GrayText}:host(.md-text-field--error) .md-text-field__indicator{background-color:LinkText}.md-text-field__input{background:Field;color:FieldText}:host(.md-text-field--focused) .md-text-field__container{outline:2px solid Highlight;outline-offset:1px}:host(.md-text-field--error) .md-text-field__container{border-color:LinkText}:host(.md-text-field--disabled) .md-text-field__container,:host(.md-text-field--disabled) .md-text-field__input{color:GrayText;border-color:GrayText}.md-text-field__support-text,.md-text-field__counter{color:CanvasText}.md-text-field__support-text--error{color:LinkText}.md-text-field__label,.md-text-field__prefix,.md-text-field__suffix,.md-text-field__icon,.md-text-field__clear,.md-text-field__password-toggle,.md-text-field__speech{color:FieldText;forced-color-adjust:none}.md-text-field__error-icon{color:LinkText}.md-text-field__indicator{background-color:FieldText}:host(.md-text-field--outlined) .md-text-field__container{border:none}:host(.md-text-field--outlined) .md-text-field__fieldset{border-color:ButtonText}:host(.md-text-field--outlined.md-text-field--error) .md-text-field__fieldset{border-color:LinkText}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__label,:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__label,:host(:hover) .md-text-field__prefix,:host(:hover) .md-text-field__suffix,:host(:hover) .md-text-field__icon{color:FieldText}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__label{color:LinkText}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__indicator,:host(:hover:not(.md-text-field--focused)) .md-text-field__indicator{background-color:FieldText}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__indicator{background-color:LinkText}:host(:hover) .md-text-field__clear,:host(:hover) .md-text-field__password-toggle,:host(:hover) .md-text-field__speech{color:FieldText;background:none}}:host(.md-text-field--outlined) .md-text-field__input:-webkit-autofill{box-shadow:0 0 0 1000px var(--md-sys-color-surface, #FEF7FF) inset}.md-text-field__clear,.md-text-field__password-toggle,.md-text-field__speech{min-inline-size:40px;min-block-size:40px;display:inline-flex;align-items:center;justify-content:center;margin-inline:-6px;margin-block:-8px}.md-text-field__clear--empty{visibility:hidden}:host([hidden]){display:none !important}`;const g={numeric:/[^0-9]/g,integer:/[^0-9-]/g,decimal:/[^0-9.\-]/g,alpha:/[^a-zA-Z]/g,alphanumeric:/[^a-zA-Z0-9]/g};const y=class{constructor(i){t(this,i);this.mdInput=e(this,"mdInput",7);this.mdChange=e(this,"mdChange",7);this.mdSearch=e(this,"mdSearch",7);this.mdClear=e(this,"mdClear",7);this.mdPasswordToggle=e(this,"mdPasswordToggle",7);this.mdSpeechResult=e(this,"mdSpeechResult",7);this.mdValidityChange=e(this,"mdValidityChange",5);if(i.$hostElement$["s-ei"]){this.internals=i.$hostElement$["s-ei"]}else{this.internals=i.$hostElement$.attachInternals();i.$hostElement$["s-ei"]=this.internals}this.reserveSupportingSpace=false;this.variant="filled";this.label="";this.value="";this.placeholder="";this.type="text";this.name="";this.pattern="";this.autocomplete="";this.inputMode="";this.enterKeyHint="";this.autoCapitalize="";this.spellcheck=true;this.disabled=false;this.readOnly=false;this.required=false;this.error=false;this.errorText="";this.supportingText="";this.prefixText="";this.suffixText="";this.clearable=false;this.passwordToggle=false;this.showPasswordLabel="Show password";this.hidePasswordLabel="Hide password";this.density=0;this.multiline=false;this.speechToText=false;this.speechLang="";this.restrict="";this.formatOn="blur";this.focusBorderWidth=3;this.appearFocused=false;this.chipsWrap=false;this.debounce=0;this.throttle=0;this.focused=false;this.formDisabled=false;this.autofilled=false;this.hostAriaLabel="";this.passwordVisible=false;this.hasSlottedLeading=false;this.hasSlottedChips=false;this.hasSlottedTrailing=false;this.hasTrailingIconButton=false;this.listening=false;this.displayValue="";this.validationMessage="";this.validation=new f({host:()=>this.el,validity:()=>this.readValidationState(),message:t=>{this.validationMessage=t},focus:()=>this.setFocus()});this.defaultValue="";this.internalWrite=false;this.composing=false;this.warnedLiveFormat=false;this.uid=h("md-text-field");this.throttlePending=false;this.customValidityMessage="";this.inputRole="";this.inputExpanded=false;this.inputAriaAutocomplete="";this.lastValidityKey=null;this.pendingTypeResync=false;this.formatterEpoch=0;this.handleInput=t=>{const e=t.target||this.inputEl;if(!e)return;if(this.composing)return;let i=e.value;let s=e.selectionStart??i.length;let d=this.applyRestrict(i);if(this.restrict&&this.maxLength!=null&&!isNaN(this.maxLength)&&d.length>this.maxLength){const t=Array.from(d);let e="";for(const i of t){if((e+i).length>this.maxLength)break;e+=i}d=e}if(d!==i){const t=this.applyRestrict(i.substring(0,s));i=d;e.value=i;s=Math.min(t.length,i.length);try{e.setSelectionRange(s,s)}catch{}}this.internalWrite=true;try{this.value=this.parser?this.parser(i):i}catch(t){this.value=i}if(this.formatter&&this.effectiveFormatOn==="input"&&this.maxLength!=null){const t=this.value.replace(/[-/\s]/g,"");if(t.length>this.maxLength){const e=Array.from(t);let i="";for(const t of e){if((i+t).length>this.maxLength)break;i+=t}this.value=i}}if(this.formatter&&this.effectiveFormatOn==="input"){try{const t=t=>this.parser?this.parser(t).length:(t.match(/[0-9a-zA-Z]/g)||[]).length;const d=t(i.substring(0,s));const o=this.formatter(this.value);this.displayValue=o;e.value=o;let l=d===0?0:o.length;for(let e=0;d>0&&e<o.length;e++){if(t(o.slice(0,e+1))===d){l=e+1;break}}try{e.setSelectionRange(l,l)}catch{}}catch(t){this.displayValue=this.value;e.value=this.value}}if(!(this.formatter&&this.effectiveFormatOn==="input")){this.displayValue=e.value}this.internalWrite=false;this.mdInput.emit(this.value);this.emitSearch(this.value);if(this.multiline==="auto-grow"){this.autoGrow()}};this.handleCompositionStart=()=>{this.composing=true};this.handleCompositionEnd=t=>{this.composing=false;this.handleInput(t)};this.handleKeyDown=t=>{m(this.internals,t,{disabled:this.isDisabled,composing:this.composing,multiline:!!this.multiline});if(t.key==="Escape"&&!this.composing&&this.clearable==="internal"&&this.value&&!this.readOnly&&!this.isDisabled){t.stopPropagation();t.preventDefault();this.clearValue();this.mdClear.emit()}};this.handleAutofillStart=t=>{if(t.animationName==="md-tf-autofill-start")this.autofilled=true;if(t.animationName==="md-tf-autofill-cancel")this.autofilled=false};this.handleChange=()=>{this.mdChange.emit(this.value);this.el.dispatchEvent(new CustomEvent("change",{bubbles:true}))};this.handleFocus=()=>{this.focused=true;if(this.formatter&&this.effectiveFormatOn==="blur"&&this.inputEl){this.displayValue=this.value;this.inputEl.value=this.value}};this.handleBlur=()=>{this.focused=false;this.composing=false;this.syncDisplayValue();if(this.inputEl){this.inputEl.value=this.displayValue}};this.handleContainerClick=()=>{this.inputEl?.focus()};this.handleClear=t=>{t.stopPropagation();if(this.isDisabled||this.readOnly||!this.value)return;if(this.clearable==="internal"){this.clearValue()}this.mdClear.emit();this.inputEl?.focus()};this.handlePasswordToggle=t=>{t.stopPropagation();if(this.isDisabled)return;if(this.passwordToggle==="internal"){this.passwordVisible=!this.passwordVisible;this.mdPasswordToggle.emit({visible:this.passwordVisible})}else{this.mdPasswordToggle.emit({visible:this.type==="password"})}this.inputEl?.focus()};this.handleSpeechToggle=t=>{t.stopPropagation();if(this.isDisabled||this.readOnly)return;if(this.speechToText==="external"){this.listening=!this.listening;this.mdSpeechResult.emit({transcript:"",listening:this.listening});return}if(this.listening){this.recognition?.stop();return}const e=window.SpeechRecognition||window.webkitSpeechRecognition;if(!e){console.warn("md-text-field: SpeechRecognition API not supported in this browser.");return}const i=new e;i.continuous=false;i.interimResults=true;if(this.speechLang){i.lang=this.speechLang}let s="";const d=this.value;i.onresult=t=>{let e="";for(let i=t.resultIndex;i<t.results.length;i++){const d=t.results[i][0].transcript;if(t.results[i].isFinal){s+=d}else{e+=d}}const i=d&&!d.endsWith(" ")?" ":"";this.internalWrite=true;this.value=d+i+s+e;this.internalWrite=false;if(this.inputEl)this.inputEl.value=this.value;this.mdInput.emit(this.value);this.mdSpeechResult.emit({transcript:s+e,listening:true})};i.onend=()=>{this.listening=false;this.recognition=undefined;const t=d&&!d.endsWith(" ")?" ":"";this.internalWrite=true;this.value=d+t+s;this.internalWrite=false;if(this.inputEl)this.inputEl.value=this.value;this.mdInput.emit(this.value);this.mdChange.emit(this.value);this.mdSpeechResult.emit({transcript:s,listening:false})};i.onerror=t=>{if(t.error!=="aborted"){console.warn("md-text-field: Speech recognition error:",t.error)}this.listening=false;this.recognition=undefined};this.recognition=i;this.listening=true;i.start()}}resetValidationPresentation(){this.validation.reset()}onInvalid(t){this.validation.handleInvalid(t)}readValidationState(){if(this.internals&&"validity"in this.internals)return x(this.internals);return{valid:this.inputEl?.validity.valid??true,validationMessage:this.inputEl?.validationMessage||""}}get hasError(){return this.error||!!this.validationMessage}get supportMessage(){return this.hasError?this.errorText||this.validationMessage||this.supportingText:this.supportingText}get isDisabled(){return this.disabled||this.formDisabled}get effectiveFormatOn(){if(this.formatOn==="input"&&this.formatter&&!this.parser){return"blur"}return this.formatOn}static isInteractive(t){const e=t.tagName.toLowerCase();return["md-icon-button","md-button","button","a","input","select","textarea"].includes(e)||t.hasAttribute("tabindex")}get isFloating(){return this.focused||this.appearFocused||!!this.value||!!this.placeholder||this.autofilled||this.hasSlottedChips}get effectiveRows(){if(this.rows!=null)return this.rows;return this.multiline==="fixed"?4:2}get restrictPattern(){if(!this.restrict)return null;if(g[this.restrict])return g[this.restrict];try{const t=this.restrict.startsWith("[")&&this.restrict.endsWith("]")?this.restrict.slice(1,-1):this.restrict;return new RegExp(`[^${t}]`,"g")}catch{return null}}applyRestrict(t){const e=this.restrictPattern;return e?t.replace(e,""):t}syncTrailingSlotState(t){if(!t)return;this.hasSlottedTrailing=t.assignedNodes().length>0;this.hasTrailingIconButton=t.assignedElements().some((t=>y.isInteractive(t)))}syncHostSlottedIcons(){const t=this.el.querySelector('[slot="leading-icon"]');const e=this.el.querySelector('[slot="trailing-icon"]');this.hasSlottedLeading=!!t;this.hasSlottedTrailing=!!e;this.hasTrailingIconButton=!!e&&y.isInteractive(e)}static normaliseMode(t){return t===true?"internal":t}normaliseModes(){this.clearable=y.normaliseMode(this.clearable);this.passwordToggle=y.normaliseMode(this.passwordToggle);this.speechToText=y.normaliseMode(this.speechToText)}handleModeChange(){this.normaliseModes()}componentWillLoad(){o(this);this.bridgeFormatterProps();this.normaliseModes();if(this.el.hasAttribute("clearable")&&!this.clearable)this.clearable="internal";if(this.el.hasAttribute("password-toggle")&&!this.passwordToggle)this.passwordToggle="internal";if(this.el.hasAttribute("speech-to-text")&&!this.speechToText)this.speechToText="internal";if(this.maxLength==null&&this.el.hasAttribute("maxlength")){this.maxLength=parseInt(this.el.getAttribute("maxlength"),10)}if(this.minLength==null&&this.el.hasAttribute("minlength")){this.minLength=parseInt(this.el.getAttribute("minlength"),10)}if(!this.label&&!this.hostAriaLabel){const t=this.el.getAttribute("aria-label");if(t){this.hostAriaLabel=t;this.el.removeAttribute("aria-label")}}if(!this.multiline&&/[\r\n]/.test(this.value)){this.value=this.value.replace(/[\r\n]+/g,"")}this.defaultValue=this.value;this.syncDisplayValue();this.syncHostSlottedIcons();this.updateFormValue()}updateFormValue(){try{this.internals?.setFormValue(this.value)}catch{}}updateValidity(){const t=this.inputEl;if(!t)return;try{if(this.customValidityMessage){this.internals?.setValidity({customError:true},this.customValidityMessage,t);return}const e=t.validity;if(!e)return;if(this.focused&&t.value!==this.value)return;const i=t.value;let s=false;if(t.value!==this.value){t.value=this.value;s=true;if(t.value!==this.value){t.value=i;this.internals?.setValidity({badInput:true},"Invalid value",t);return}}const d={valueMissing:e.valueMissing,typeMismatch:e.typeMismatch,patternMismatch:e.patternMismatch,tooLong:e.tooLong,tooShort:e.tooShort,rangeUnderflow:e.rangeUnderflow,rangeOverflow:e.rangeOverflow,stepMismatch:e.stepMismatch,badInput:e.badInput};const o=e.valid;const l=t.validationMessage;if(s)t.value=i;if(o){this.internals?.setValidity({})}else{this.internals?.setValidity(d,l||"Invalid value",t)}}catch{}finally{this.validation.refresh();this.emitValidityChange()}}formResetCallback(){this.validation.reset();this.internalWrite=false;this.value=this.defaultValue;this.syncDisplayValue();if(this.inputEl)this.inputEl.value=this.displayValue;this.updateFormValue()}formDisabledCallback(t){if(t)queueMicrotask((()=>this.validation.reset()));queueMicrotask((()=>{this.formDisabled=t}))}async setFocus(){this.inputEl?.focus()}async select(){this.inputEl?.select()}async getInputElement(){return this.inputEl??null}async getValidity(){try{const t=this.internals.validity;return{valid:t.valid,validationMessage:this.internals.validationMessage,flags:{valueMissing:t.valueMissing,typeMismatch:t.typeMismatch,patternMismatch:t.patternMismatch,tooLong:t.tooLong,tooShort:t.tooShort,rangeUnderflow:t.rangeUnderflow,rangeOverflow:t.rangeOverflow,stepMismatch:t.stepMismatch,badInput:t.badInput,customError:t.customError}}}catch{return{valid:true,validationMessage:"",flags:{}}}}async setCustomValidity(t){this.customValidityMessage=t;this.updateValidity()}formStateRestoreCallback(t){if(typeof t==="string"){this.value=t}}emitValidityChange(){const t=x(this.internals);const e=`${t.valid}|${t.validationMessage}`;if(this.lastValidityKey===e)return;const i=this.lastValidityKey!==null;this.lastValidityKey=e;if(i)this.mdValidityChange.emit(t)}async checkValidity(){try{return u((()=>this.internals.checkValidity()))}catch{return u((()=>this.inputEl?.checkValidity()??true))}}async reportValidity(){try{return p((()=>this.internals.reportValidity()))}catch{return p((()=>this.inputEl?.reportValidity()??true))}}componentDidLoad(){try{const t=this.el.shadowRoot;const e=t?.querySelector('slot[name="leading-icon"]');e?.addEventListener("slotchange",(()=>{this.hasSlottedLeading=e.assignedNodes().length>0}));const i=t?.querySelector('slot[name="trailing-icon"]');i?.addEventListener("slotchange",(()=>{this.syncTrailingSlotState(i)}));const s=t?.querySelector('slot[name="chips"]');s?.addEventListener("slotchange",(()=>{this.hasSlottedChips=s.assignedNodes().length>0}));this.hasSlottedLeading=(e?.assignedNodes().length??0)>0;this.hasSlottedChips=(s?.assignedNodes().length??0)>0;this.syncTrailingSlotState(i);if(this.multiline==="auto-grow"){this.autoGrow()}this.syncDisplayValue();this.updateValidity()}finally{l(this)}}onValueChange(){if(this.value==null){this.value="";return}if(!this.internalWrite&&!this.multiline&&/[\r\n]/.test(this.value)){this.value=this.value.replace(/[\r\n]+/g,"");return}if(this.multiline==="auto-grow"){this.autoGrow()}this.updateFormValue();if(!this.focused){this.syncDisplayValue();return}if(!this.internalWrite){this.composing=false;this.syncDisplayValue();const t=this.inputEl;if(t){t.value=this.effectiveFormatOn==="blur"&&this.formatter?this.value:this.displayValue;const e=t.value.length;try{t.setSelectionRange(e,e)}catch{}}this.updateValidity()}}onTypeChange(){this.pendingTypeResync=true}componentDidRender(){r(this);if(this.pendingTypeResync){this.pendingTypeResync=false;const t=this.inputEl;if(t){const e=this.focused&&this.formatter&&this.effectiveFormatOn==="blur"?this.value:this.displayValue;if(t.value!==e){t.value=e}}}this.updateValidity()}bridgeFormatterProps(){const t=this.el===this;["formatter","parser"].forEach((e=>{let i=this[e];Object.defineProperty(this.el,e,{configurable:true,get:()=>t?i:this[e],set:s=>{if(t)i=s;else this[e]=s;if(!this.focused){this.syncDisplayValue()}this.formatterEpoch++}})}))}syncDisplayValue(){if(this.formatter){try{const t=this.formatter(this.value);this.displayValue=typeof t==="string"?t:this.value}catch(t){this.displayValue=this.value}}else{this.displayValue=this.value}}emitSearchDistinct(t){if(t===this.lastEmittedSearch)return;this.lastEmittedSearch=t;this.mdSearch.emit(t)}emitSearch(t){if(this.debounce>0){clearTimeout(this.debounceTimer);this.debounceTimer=setTimeout((()=>this.emitSearchDistinct(t)),this.debounce)}if(this.throttle>0){if(!this.throttleTimer){this.emitSearchDistinct(t);this.throttlePending=false;this.throttleTimer=setTimeout((()=>{this.throttleTimer=undefined;if(this.throttlePending){this.emitSearchDistinct(this.value);this.throttlePending=false}}),this.throttle)}else{this.throttlePending=true}}if(this.debounce<=0&&this.throttle<=0){this.emitSearchDistinct(t)}}autoGrow(){const t=this.inputEl;if(!t)return;t.value=this.value;t.style.height="auto";t.style.height=`${t.scrollHeight}px`}clearValue(){this.internalWrite=true;this.value="";this.internalWrite=false;if(this.inputEl){this.inputEl.value=""}this.displayValue="";this.updateValidity();this.mdInput.emit(this.value);this.mdChange.emit(this.value);this.emitSearch("")}disconnectedCallback(){a(this);this.recognition?.abort();this.recognition=undefined;clearTimeout(this.debounceTimer);clearTimeout(this.throttleTimer);this.debounceTimer=undefined;this.throttleTimer=undefined;this.throttlePending=false}renderInputElement(){const t=this.passwordToggle==="internal"&&this.passwordVisible?"text":this.type;const e=this.focused&&this.formatter&&this.effectiveFormatOn==="blur";const s=e?this.value:this.displayValue;const d=this.supportMessage;const o=[d?`${this.uid}-support`:"",this.maxLength!=null&&!isNaN(this.maxLength)?`${this.uid}-counter`:""].filter(Boolean).join(" ");const l=this.el.getAttribute("aria-haspopup");const r=l==="dialog"||l==="listbox"?l:null;const a=this.inputRole==="combobox"?"combobox":undefined;const n={placeholder:this.isFloating?this.placeholder:"",disabled:this.isDisabled,readOnly:this.readOnly,required:this.required,maxLength:this.formatter&&this.effectiveFormatOn==="input"||this.restrict?undefined:this.maxLength,pattern:this.pattern||undefined,minLength:this.minLength,min:this.min,max:this.max,step:this.step,autocomplete:this.autocomplete||undefined,inputMode:this.inputMode||undefined,enterKeyHint:this.enterKeyHint||undefined,autoCapitalize:this.autoCapitalize||undefined,spellcheck:this.spellcheck,value:s,"aria-label":this.label||this.hostAriaLabel||undefined,"aria-haspopup":r||undefined,role:a,"aria-expanded":a?String(this.inputExpanded):undefined,"aria-autocomplete":a&&this.inputAriaAutocomplete?this.inputAriaAutocomplete:undefined,"aria-describedby":o||undefined,"aria-invalid":this.hasError?"true":undefined,"aria-required":this.required?"true":undefined,id:`${this.uid}-input`,onInvalid:t=>this.validation.handleInputInvalid(t),onInput:this.handleInput,onChange:this.handleChange,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onAnimationStart:this.handleAutofillStart};if(this.multiline){return i("textarea",{ref:t=>{this.inputEl=t},...n,rows:this.effectiveRows,part:"input",class:{"md-text-field__input":true,"md-text-field__input--textarea":true,"md-text-field__input--auto-grow":this.multiline==="auto-grow","md-text-field__input--fixed":this.multiline==="fixed"}},s)}return i("input",{ref:t=>{this.inputEl=t},class:"md-text-field__input",part:"input",type:t,...n})}render(){const t=this.supportMessage;const e=!!this.clearable;const d=!this.multiline&&!!this.passwordToggle;const o=!!this.speechToText;const l=this.hasSlottedLeading;const r=this.hasSlottedTrailing||e||d||o||this.hasError;const a=!!this.formatter&&this.effectiveFormatOn==="input";const n=a?this.value.replace(/[-/\s]/g,"").length:this.value.length;const c=this.maxLength!=null&&!isNaN(this.maxLength)?`${n}/${this.maxLength}`:"";const h=this.isDisabled||this.readOnly||!this.value;const f=!t&&!c;const m=this.passwordToggle==="internal"?this.passwordVisible:this.type!=="password";const x=m?"visibility_off":"visibility";return i(s,{key:"4d65e7c6cc2c705c4ae72a1b227616e5741ba2d6",class:{"md-text-field":true,[`md-text-field--${this.variant}`]:true,"md-text-field--focused":this.focused||this.appearFocused,"md-text-field--error":this.hasError,"md-text-field--disabled":this.isDisabled,"md-text-field--with-leading":l,"md-text-field--with-trailing":r,"md-text-field--clearable":e,"md-text-field--with-chips":this.hasSlottedChips,"md-text-field--floating":this.isFloating,"md-text-field--without-label":!this.label,[`md-text-field--density${this.density}`]:this.density!==0,"md-text-field--multiline":!!this.multiline,"md-text-field--auto-grow":this.multiline==="auto-grow","md-text-field--textarea":this.multiline==="fixed","md-text-field--listening":this.listening},style:Number(this.focusBorderWidth)!==3?{"--md-text-field-focus-border-width":`${Number(this.focusBorderWidth)}px`,"--md-text-field-focus-inset":`${-(Number(this.focusBorderWidth)-1)}px`}:undefined},i("div",{key:"d9de6cc28325120a41d7a72f3097a2540690d052",class:"md-text-field__container",part:"container","data-md-anchor-box":f?"":null,onClick:this.handleContainerClick},i("div",{key:"35c4607862bc94347be53050361c6602e8f85361",class:"md-text-field__state-layer","aria-hidden":"true"}),i("span",{key:"3e97e2d2001a380f4c305194a1b1b378e698a6dd",class:"md-text-field__icon md-text-field__icon--leading","aria-hidden":"true",style:{display:l?undefined:"none"}},i("slot",{key:"e99843619e6f963e8cab429f1ca9abfe74b3ec6f",name:"leading-icon"})),i("div",{key:"460942cfa642b61354300ff8db342ab0fb64310c",class:"md-text-field__input-wrap"},this.label&&i("label",{key:"353fa54c95fea53bbe7ecfec76cb48490fe93902",class:"md-text-field__label",part:"label",htmlFor:`${this.uid}-input`},this.label),i("div",{key:"9598d6bf839897f521985b020817baabd844ee93",class:"md-text-field__input-row"},i("span",{key:"75ecb4875a1aa4fce966654b23faad0cdb2a8691",class:"md-text-field__chips",part:"chips",style:{display:this.hasSlottedChips?undefined:"none"}},i("slot",{key:"59f46272090fe520cc62c3803668639d92f78e4f",name:"chips"})),this.prefixText&&this.isFloating&&i("span",{key:"6ba03fbdcff7869d6837dbc82d509d9cd47df533",class:"md-text-field__prefix"},this.prefixText),this.renderInputElement(),this.suffixText&&this.isFloating&&i("span",{key:"3402333bcd06161e273be2aebd32baa0963ec31c",class:"md-text-field__suffix"},this.suffixText))),e&&i("button",{key:"80df7aa2092b845b0c168cd4fa8cb3b5bd1d94fd",type:"button",class:{"md-text-field__clear":true,"md-text-field__clear--disabled":h,"md-text-field__clear--empty":!this.value},disabled:h,onClick:this.handleClear,"aria-label":"Clear"},i("slot",{key:"457e3c03ddc32728f527d9ffa1516226ded6765d",name:"clear-icon"},i("span",{key:"34a935716e43a96dec0516bc8f50dda8e2768d7c",class:"material-symbols-outlined","aria-hidden":"true"},"cancel"))),d&&i("button",{key:"6b8c663be5146f57baa83dedac4ac3fd405107f9",type:"button",class:{"md-text-field__password-toggle":true,"md-text-field__password-toggle--disabled":this.isDisabled},disabled:this.isDisabled,onClick:this.handlePasswordToggle,"aria-label":m?this.hidePasswordLabel:this.showPasswordLabel,"aria-pressed":m?"true":"false"},i("slot",{key:"9b99f0d8ad8a6473e0f2516240816b44e7c2127d",name:"password-toggle-icon"},i("span",{key:"4c2a9d991fd0720b88d2a9abac3811716829c511",class:"material-symbols-outlined","aria-hidden":"true"},x))),o&&i("button",{key:"46a1b28a730eca5695f74cc28f3e233ddc7c4218",type:"button",class:{"md-text-field__speech":true,"md-text-field__speech--listening":this.listening,"md-text-field__speech--disabled":this.isDisabled},disabled:this.isDisabled||this.readOnly,onClick:this.handleSpeechToggle,"aria-label":this.listening?"Stop listening":"Start voice input","aria-pressed":this.listening?"true":"false"},i("slot",{key:"9eebf8566639cdd26221633fd18c56d98c8d620c",name:"speech-icon"},i("span",{key:"361f015c7e65a473aa3e22e712398a529aaa25b2",class:"material-symbols-outlined","aria-hidden":"true"},this.listening?"hearing":"mic"))),this.hasError&&i("span",{key:"dae4ccd14be7d63e6c73419279c26b489239359e",class:"md-text-field__error-icon","aria-hidden":"true"},i("slot",{key:"dfbab8ad95de6872ebeb197c3d06136bd953fbe3",name:"error-icon"},i("span",{key:"75de9f5c7360548d8e9465538c641d194ee922b0",class:"material-symbols-outlined",style:{fontVariationSettings:"'FILL' 1"}},"error"))),i("span",{key:"8057be053f34a5bfbcec3fd70570d7ae6a118c6c",class:{"md-text-field__icon":!this.hasTrailingIconButton,"md-text-field__icon--trailing":!this.hasTrailingIconButton,"md-text-field__trailing-icon-button":this.hasTrailingIconButton},"aria-hidden":this.hasTrailingIconButton?null:"true",style:{display:this.hasSlottedTrailing?undefined:"none"}},i("slot",{key:"4a350af87d3e6e16abd1b9cb0bed675eac04614c",name:"trailing-icon"})),this.variant==="filled"&&i("div",{key:"815ab5ed51c71d79aa3f0223428f9b8f72dd3249",class:"md-text-field__indicator"}),this.variant==="outlined"&&i("fieldset",{key:"b8b068cbbe07eda6131cc011c5bb036effa49b4a",class:"md-text-field__fieldset"},i("legend",{key:"f52d287b48a27b56dee19d0c73dedc07ee27cbe9",class:{"md-text-field__legend":true,"md-text-field__legend--active":this.isFloating&&!!this.label}},i("span",{key:"ea9af9be64882cd0766c93967965c62268e41b90"},this.label)))),(t||c||this.reserveSupportingSpace)&&i("div",{key:"7c6a8350ed4e79576238205a5fabe858d8226d44",class:"md-text-field__support-row"},i("span",{key:"fed199a3d990c59167b50ca56086a71fd0775d34",id:`${this.uid}-support`,part:"supporting-text",role:this.hasError?"alert":undefined,class:{"md-text-field__support-text":true,"md-text-field__support-text--error":this.hasError}},t||(this.reserveSupportingSpace?"​":"")),c&&i("span",{key:"1d67ae0fddd178855f8cd95566deb3949f95d534",id:`${this.uid}-counter`,part:"counter",class:"md-text-field__counter"},c)))}connectedCallback(){n(this)}componentShouldUpdate(){c(this);return true}static get delegatesFocus(){return true}static get formAssociated(){return true}get el(){return d(this)}static get watchers(){return{name:[{resetValidationPresentation:0}],clearable:[{handleModeChange:0}],passwordToggle:[{handleModeChange:0}],speechToText:[{handleModeChange:0}],value:[{onValueChange:0}],type:[{onTypeChange:0}]}}};y.style=_()+b();export{y as md_text_field};
2
- //# sourceMappingURL=p-4d5100e0.entry.js.map
1
+ import{r as t,c as e,h as i,H as s,g as d}from"./p-DuCsV-Tv.js";import{b as o,c as l,i as r,d as a,r as n,p as c}from"./p-DH_rSF2a.js";import{c as h}from"./p-mwCGMdmr.js";import{I as f,a as m,g as x,w as u,d as p}from"./p-BmnO2PGu.js";const _=()=>`:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;const g=()=>`:host{--_container-color:var(--md-text-field-container-color, var(--md-sys-color-surface-container-highest, #E6E0E9));--_input-color:var(--md-text-field-input-color, var(--md-sys-color-on-surface, #1C1B1F));--_label-color:var(--md-text-field-label-color, var(--md-sys-color-on-surface-variant, #49454F));--_active-indicator-color:var(--md-text-field-active-indicator-color, var(--md-sys-color-primary, #6750A4));--_outline-color:var(--md-text-field-outline-color, var(--md-sys-color-outline, #79747E));--_error-color:var(--md-text-field-error-color, var(--md-sys-color-error, #B3261E));--_supporting-text-color:var(--md-text-field-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454F));--_icon-color:var(--md-text-field-icon-color, var(--md-sys-color-on-surface-variant, #49454F));--_text-inset:calc(var(--md-sys-spacing-inset-lg, 16px) + 7px);--_icon-size:var(--md-text-field-icon-size, max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px)));--_container-shape:var(--md-text-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px));--_filled-pill:var(--md-text-field-filled-pill, 0);--_filled-block-end-radius:calc(var(--_filled-pill) * var(--_container-shape));display:flex;flex-direction:column;position:relative;font-family:var(--md-sys-typescale-body-large-font-family, Roboto, sans-serif);width:100%;box-sizing:border-box}.md-text-field__container{position:relative;display:flex;align-items:stretch;min-height:calc(56px + var(--md-sys-density-scale, 0) * 4px);cursor:var(--md-text-field-cursor, text);box-sizing:border-box}:host(.md-text-field--filled) .md-text-field__container{background-color:var(--_container-color);border-start-start-radius:var(--_container-shape);border-start-end-radius:var(--_container-shape);border-end-start-radius:var(--_filled-block-end-radius);border-end-end-radius:var(--_filled-block-end-radius);padding-block:max(2px, calc(8px + var(--md-sys-density-scale, 0) * 0.5px));padding-inline-start:var(--md-text-field-padding-inline-start, var(--_text-inset));padding-inline-end:var(--md-text-field-padding-inline-end, var(--_text-inset));transition:background-color var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1))}:host(.md-text-field--filled.md-text-field--focused) .md-text-field__container{background-color:var(--_container-color)}:host(.md-text-field--outlined) .md-text-field__container{background-color:transparent;border-radius:var(--_container-shape);padding-block:max(2px, calc(8px + var(--md-sys-density-scale, 0) * 1px));padding-inline-start:var(--md-text-field-padding-inline-start, var(--_text-inset));padding-inline-end:var(--md-text-field-padding-inline-end, var(--_text-inset))}:host(.md-text-field--outlined) .md-text-field__input{position:relative;inset-block-start:var(--md-text-field-optical-nudge, 0px)}:host(.md-text-field--clearable) .md-text-field__input::-webkit-search-cancel-button,:host(.md-text-field--clearable) .md-text-field__input::-webkit-search-decoration{display:none}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}.md-text-field__state-layer{position:absolute;inset:0;border-radius:inherit;background-color:var(--md-sys-color-on-surface, #1C1B1F);opacity:0;transition:opacity var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1));pointer-events:none}:host(.md-text-field--filled:hover:not(.md-text-field--disabled)) .md-text-field__state-layer{opacity:var(--md-sys-state-hover-state-layer-opacity, 0.08)}:host(.md-text-field--outlined) .md-text-field__state-layer{display:none}.md-text-field__input-wrap{flex:1;display:flex;flex-direction:column;justify-content:center;min-width:0;position:relative;padding:0}:host(.md-text-field--filled) .md-text-field__input-wrap{justify-content:flex-end}:host(.md-text-field--filled.md-text-field--without-label:not(.md-text-field--multiline)) .md-text-field__input-wrap{justify-content:center}.md-text-field__input-row{display:flex;align-items:center}.md-text-field__chips{display:inline-flex;flex-wrap:nowrap;align-items:center;gap:4px;min-inline-size:0;overflow:hidden}:host(.md-text-field--with-chips:not([chips-wrap])) .md-text-field__chips{flex:1 1 auto}:host(.md-text-field--with-chips) .md-text-field__input-row{flex-wrap:nowrap;gap:4px;min-inline-size:0}:host(.md-text-field--with-chips:not([chips-wrap])) .md-text-field__input{flex:0 1 0;min-inline-size:0}:host(.md-text-field--with-chips) .md-text-field__input{flex:1 0 40px;min-inline-size:40px}:host(.md-text-field--with-chips[chips-wrap]) .md-text-field__input-row{flex-wrap:wrap;row-gap:6px}:host([chips-wrap]) .md-text-field__chips{flex-wrap:wrap;overflow:visible}.md-text-field__input{flex:1;border:none;outline:none;background:transparent;font-family:inherit;font-size:max(13px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));font-weight:var(--md-sys-typescale-body-large-weight, 400);letter-spacing:var(--md-sys-typescale-body-large-tracking, 0.5px);color:var(--_input-color);caret-color:var(--_active-indicator-color);cursor:var(--md-text-field-cursor, text);padding:0;margin:0;min-width:0;width:100%}.md-text-field__input::placeholder{color:var(--_label-color)}:host(.md-text-field--error) .md-text-field__input{caret-color:var(--_error-color)}.md-text-field__input--textarea{resize:none;overflow-wrap:break-word}.md-text-field__input--auto-grow{overflow:hidden}.md-text-field__input--fixed{overflow-y:auto}:host(.md-text-field--multiline) .md-text-field__container{align-items:flex-start;min-height:auto}:host(.md-text-field--multiline) .md-text-field__input-wrap{justify-content:flex-start}:host(.md-text-field--multiline.md-text-field--filled) .md-text-field__input-wrap{justify-content:flex-start;padding-block-start:20px}:host(.md-text-field--multiline) .md-text-field__input-row{align-items:flex-start}:host(.md-text-field--filled.md-text-field--floating.md-text-field--with-chips:not(.md-text-field--without-label)) .md-text-field__input-wrap{padding-block-start:max(12px, calc(16px + var(--md-sys-density-scale, 0) * 1px))}:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__icon,:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__trailing-icon-button,:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__clear,:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__password-toggle,:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__speech{align-self:flex-start;margin-block-start:16px}:host(.md-text-field--auto-grow) .md-text-field__icon,:host(.md-text-field--auto-grow) .md-text-field__trailing-icon-button,:host(.md-text-field--auto-grow) .md-text-field__clear,:host(.md-text-field--auto-grow) .md-text-field__password-toggle,:host(.md-text-field--auto-grow) .md-text-field__speech{align-self:center}.md-text-field__label{position:absolute;inset-inline-start:0;font-size:max(13px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));color:var(--_label-color);pointer-events:none;transition:top var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), inset-inline-start var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), font-size var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), line-height var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), transform var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), background-color var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), padding var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), color var(--md-sys-motion-duration-short2, 100ms) ease;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}:host(.md-text-field--filled) .md-text-field__label{top:50%;transform:translateY(-50%)}:host(.md-text-field--multiline:not(.md-text-field--floating)) .md-text-field__label{top:28px}:host(.md-text-field--multiline.md-text-field--outlined:not(.md-text-field--floating)) .md-text-field__label{top:12px;}:host(.md-text-field--multiline.md-text-field--filled:not(.md-text-field--floating)) .md-text-field__label{top:32px;}:host(.md-text-field--filled.md-text-field--floating) .md-text-field__label{top:0;transform:translateY(0);font-size:max(11px, calc(var(--md-sys-typescale-body-small-size, 12px) + var(--md-sys-density-scale, 0) * 0.25px));line-height:max(12px, calc(var(--md-sys-typescale-body-small-line-height, 16px) + var(--md-sys-density-scale, 0) * 1px))}:host(.md-text-field--outlined) .md-text-field__label{top:50%;transform:translateY(-50%);background-color:transparent;padding:0}:host(.md-text-field--outlined.md-text-field--floating) .md-text-field__label{top:calc(-8px - var(--md-sys-density-scale, 0) * 1px);inset-inline-start:0;transform:translateY(-50%);font-size:max(10px, calc(12px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(12px, calc(16px + var(--md-sys-density-scale, 0) * 1px));background-color:transparent;padding:0}:host([density='-1'].md-text-field--filled.md-text-field--floating) .md-text-field__label,:host([density='-2'].md-text-field--filled.md-text-field--floating) .md-text-field__label,:host([density='-3'].md-text-field--filled.md-text-field--floating) .md-text-field__label,:host([density='-4'].md-text-field--filled.md-text-field--floating) .md-text-field__label{font-size:11px;line-height:12px;top:1px}:host([density='-2'].md-text-field--filled.md-text-field--floating) .md-text-field__label{top:-2px;}:host([density='-3'].md-text-field--outlined.md-text-field--floating) .md-text-field__label,:host([density='-4'].md-text-field--outlined.md-text-field--floating) .md-text-field__label{top:-4px}:host(.md-text-field--filled) .md-text-field__input{line-height:max(16px, calc(24px + var(--md-sys-density-scale, 0) * 2px))}:host(.md-text-field--outlined.md-text-field--floating.md-text-field--with-leading) .md-text-field__label{inset-inline-start:calc(-1 * (var(--_icon-size) + var(--md-sys-spacing-gap-lg, 16px)))}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__label{color:var(--md-sys-color-on-surface, #1C1B1F)}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__label{color:var(--md-sys-color-on-error-container, #8C1D18)}:host(.md-text-field--focused) .md-text-field__label{color:var(--_active-indicator-color)}:host(.md-text-field--error) .md-text-field__label{color:var(--_error-color)}.md-text-field__prefix,.md-text-field__suffix{font-size:max(13px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));color:var(--_supporting-text-color);white-space:nowrap;user-select:none;transition:color var(--md-sys-motion-duration-short2, 100ms) ease}.md-text-field__prefix{margin-inline-end:2px}.md-text-field__suffix{margin-inline-start:2px}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled)) .md-text-field__prefix,:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled)) .md-text-field__suffix{color:var(--md-sys-color-on-surface, #1C1B1F)}.md-text-field__icon{display:flex;align-items:center;justify-content:center;font-size:var(--_icon-size);color:var(--_icon-color);flex-shrink:0;align-self:center;user-select:none;transition:color var(--md-sys-motion-duration-short2, 100ms) ease}.md-text-field__icon ::slotted(*){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}.md-text-field__icon--leading{margin-inline-end:var(--md-sys-spacing-gap-lg, 16px)}.md-text-field__icon--trailing{margin-inline-start:0}.md-text-field__trailing-icon-button{display:flex;align-items:center;flex-shrink:0;align-self:center;margin-inline-start:0}.md-text-field__error-icon+.md-text-field__trailing-icon-button{margin-inline-start:4px}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled)) .md-text-field__icon--leading{color:var(--md-sys-color-on-surface, #1C1B1F)}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__icon--trailing{color:var(--md-sys-color-on-surface, #1C1B1F)}:host(.md-text-field--error) .md-text-field__icon--trailing{color:var(--_error-color)}:host(.md-text-field--error) .md-text-field__icon--trailing ::slotted(*){color:inherit}.md-text-field__clear{display:flex;align-items:center;justify-content:center;align-self:center;border:none;background:none;padding:0;margin:0;margin-inline-start:var(--md-sys-spacing-gap-lg, 16px);cursor:pointer;border-radius:50%;width:var(--_icon-size);height:var(--_icon-size);flex-shrink:0;color:var(--_icon-color);transition:color var(--md-sys-motion-duration-short2, 100ms) ease, opacity var(--md-sys-motion-duration-short2, 100ms) ease}.md-text-field__clear ::slotted(*){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}.md-text-field__clear:hover:not(:disabled){color:var(--md-sys-color-on-surface, #1C1B1F)}.md-text-field__clear:focus-visible,.md-text-field__password-toggle:focus-visible,.md-text-field__speech:focus-visible{outline:2px solid var(--md-sys-color-secondary, #625B71);outline-offset:-6px}.md-text-field__clear--disabled{color:var(--md-sys-color-on-surface, #1C1B1F);opacity:0.38;cursor:default;pointer-events:none}:host(.md-text-field--error) .md-text-field__clear:not(:disabled){color:var(--_error-color)}.md-text-field__password-toggle{display:flex;align-items:center;justify-content:center;align-self:center;border:none;background:none;padding:0;margin:0;margin-inline-start:var(--md-sys-spacing-gap-lg, 16px);cursor:pointer;border-radius:50%;width:var(--_icon-size);height:var(--_icon-size);flex-shrink:0;color:var(--_icon-color);transition:color var(--md-sys-motion-duration-short2, 100ms) ease}.md-text-field__password-toggle ::slotted(*){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}.md-text-field__password-toggle:hover:not(:disabled){color:var(--md-sys-color-on-surface, #1C1B1F)}.md-text-field__password-toggle--disabled{color:var(--md-sys-color-on-surface, #1C1B1F);opacity:0.38;cursor:default;pointer-events:none}:host(.md-text-field--error) .md-text-field__password-toggle:not(:disabled){color:var(--_error-color)}.md-text-field__speech{display:flex;align-items:center;justify-content:center;align-self:center;border:none;background:none;padding:0;margin:0;margin-inline-start:var(--md-sys-spacing-gap-lg, 16px);cursor:pointer;border-radius:50%;width:var(--_icon-size);height:var(--_icon-size);flex-shrink:0;color:var(--_icon-color);transition:color var(--md-sys-motion-duration-short2, 100ms) ease}.md-text-field__speech ::slotted(*){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}.md-text-field__speech:hover:not(:disabled){color:var(--md-sys-color-on-surface, #1C1B1F)}.md-text-field__speech--listening{color:var(--_error-color);animation:md-speech-pulse 1.2s ease-in-out infinite}.md-text-field__speech--disabled{color:var(--md-sys-color-on-surface, #1C1B1F);opacity:0.38;cursor:default;pointer-events:none}:host(.md-text-field--error) .md-text-field__speech:not(:disabled):not(.md-text-field__speech--listening){color:var(--_error-color)}@keyframes md-speech-pulse{0%,100%{opacity:1}50%{opacity:0.4}}.md-text-field__error-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;align-self:center;width:var(--_icon-size);height:var(--_icon-size);font-size:var(--_icon-size);line-height:1;margin-inline-start:var(--md-sys-spacing-gap-lg, 16px);color:var(--_error-color)}.md-text-field__error-icon ::slotted(*){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__error-icon{align-self:flex-start;margin-block-start:16px}:host(.md-text-field--auto-grow) .md-text-field__error-icon{align-self:center}.md-text-field__indicator{position:absolute;inset-block-end:0;inset-inline:0;height:1px;background-color:var(--md-sys-color-on-surface-variant, #49454F);opacity:calc(1 - var(--_filled-pill));transition:height var(--md-sys-motion-duration-short2, 100ms) ease, background-color var(--md-sys-motion-duration-short2, 100ms) ease, opacity var(--md-sys-motion-duration-short2, 100ms) ease}:host(.md-text-field--focused) .md-text-field__indicator{height:var(--md-text-field-focus-border-width, 3px);background-color:var(--_active-indicator-color);transition:height var(--md-sys-motion-duration-short2, 100ms) ease}:host(.md-text-field--error) .md-text-field__indicator{background-color:var(--_error-color)}:host(.md-text-field--error.md-text-field--focused) .md-text-field__indicator{height:var(--md-text-field-focus-border-width, 3px);background-color:var(--_error-color);transition:height var(--md-sys-motion-duration-short2, 100ms) ease;}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__indicator{height:1px;background-color:var(--md-sys-color-on-surface, #1C1B1F)}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__indicator{height:1px;background-color:var(--md-sys-color-on-error-container, #8C1D18)}.md-text-field__fieldset{position:absolute;inset:0;margin:0;max-inline-size:100%;min-inline-size:0;overflow:hidden;padding-inline-start:calc( var(--md-text-field-padding-inline-start, var(--_text-inset)) - 1px - var(--_legend-inline-padding, 4px) );padding-inline-end:calc( var(--md-text-field-padding-inline-end, var(--_text-inset)) - 1px - var(--_legend-inline-padding, 4px) );padding-block:0;border:1px solid var(--_outline-color);border-radius:var(--_container-shape);pointer-events:none;transition:border-color var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1))}:host(.md-text-field--focused) .md-text-field__fieldset{border-color:var(--_active-indicator-color);border-width:var(--md-text-field-focus-border-width, 3px);inset:var(--md-text-field-focus-inset, 0);transition:none}:host(.md-text-field--error) .md-text-field__fieldset{border-color:var(--_error-color)}:host(.md-text-field--error.md-text-field--focused) .md-text-field__fieldset{border-color:var(--_error-color);border-width:var(--md-text-field-focus-border-width, 3px);inset:var(--md-text-field-focus-inset, 0);transition:none;}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__fieldset{border-color:var(--md-sys-color-on-surface, #1C1B1F)}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__fieldset{border-color:var(--md-sys-color-on-error-container, #8C1D18)}.md-text-field__legend{max-inline-size:calc(100% - 16px);overflow:hidden;height:0;padding:0;font-size:max(10px, calc(12px + var(--md-sys-density-scale, 0) * 0.5px));max-width:0;transition:max-width var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), padding-inline var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1));white-space:nowrap}.md-text-field__legend--active{max-width:100%;padding-inline:var(--_legend-inline-padding, 4px);transition:max-width var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), padding-inline var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1))}.md-text-field__legend span{display:inline-block;padding:0;visibility:hidden}.md-text-field__support-row{display:flex;justify-content:space-between;padding:4px 16px 0;gap:16px}.md-text-field__support-text{font-size:max(10px, calc(12px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(14px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));color:var(--_supporting-text-color)}.md-text-field__support-text--error{color:var(--_error-color)}.md-text-field__counter{font-size:max(10px, calc(12px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(14px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));color:var(--_supporting-text-color);flex-shrink:0}:host(.md-text-field--disabled) .md-text-field__container{cursor:default;pointer-events:none}:host(.md-text-field--disabled.md-text-field--filled) .md-text-field__container{background-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 4%, transparent)}:host(.md-text-field--disabled) .md-text-field__label{color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}:host(.md-text-field--disabled) .md-text-field__input{color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}:host(.md-text-field--disabled) .md-text-field__indicator{background-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}:host(.md-text-field--disabled) .md-text-field__fieldset{border-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 12%, transparent)}:host(.md-text-field--disabled) .md-text-field__icon{color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}:host(.md-text-field--disabled) .md-text-field__icon ::slotted(*){color:inherit}:host(.md-text-field--disabled) .md-text-field__support-text,:host(.md-text-field--disabled) .md-text-field__counter{color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}:host(.md-text-field--disabled) .md-text-field__prefix,:host(.md-text-field--disabled) .md-text-field__suffix{color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}.material-symbols-outlined{font-family:var(--md-sys-icon-font-family, 'Material Symbols Outlined', 'Material Icons');font-weight:normal;font-style:normal;font-size:var(--_icon-size);inline-size:1em;block-size:1em;flex:none;overflow:hidden;text-align:center;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;overflow-wrap:normal;direction:ltr;font-feature-settings:'liga';-webkit-font-smoothing:antialiased}@keyframes md-tf-autofill-start{from{--md-tf-autofill:1}}@keyframes md-tf-autofill-cancel{from{--md-tf-autofill:0}}.md-text-field__input:-webkit-autofill{animation-name:md-tf-autofill-start;box-shadow:0 0 0 1000px var(--_container-color, #E6E1E6) inset;-webkit-text-fill-color:var(--md-text-field-input-color, var(--md-sys-color-on-surface, #1D1B20));caret-color:var(--md-text-field-input-color, var(--md-sys-color-on-surface, #1D1B20))}.md-text-field__input:not(:-webkit-autofill){animation-name:md-tf-autofill-cancel}@media (prefers-reduced-motion: reduce){.md-text-field__label,.md-text-field__indicator,.md-text-field__state-layer,.md-text-field__fieldset,.md-text-field__legend,.md-text-field__legend>span,.md-text-field__container{transition-duration:0.01ms !important}.md-text-field__speech--listening,.md-text-field__speech--listening *{animation:none !important}}@media (forced-colors: active){:host(.md-text-field--filled) .md-text-field__container,:host(.md-text-field--filled.md-text-field--focused) .md-text-field__container,:host(.md-text-field--filled.md-text-field--disabled) .md-text-field__container,:host(.md-text-field--outlined) .md-text-field__container,.md-text-field__container{border:1px solid ButtonText;forced-color-adjust:none;background:Field;color:FieldText}:host(.md-text-field--focused) .md-text-field__indicator{background-color:Highlight}.md-text-field__input{caret-color:FieldText}:host(.md-text-field--filled.md-text-field--disabled) .md-text-field__indicator{background-color:GrayText}:host(.md-text-field--outlined.md-text-field--disabled) .md-text-field__fieldset{border-color:GrayText}:host(.md-text-field--focused) .md-text-field__label,:host(.md-text-field--error) .md-text-field__label,:host(.md-text-field--disabled) .md-text-field__label{color:FieldText}:host(.md-text-field--disabled) .md-text-field__label,:host(.md-text-field--disabled) .md-text-field__input{color:GrayText}:host(.md-text-field--error) .md-text-field__indicator{background-color:LinkText}.md-text-field__input{background:Field;color:FieldText}:host(.md-text-field--focused) .md-text-field__container{outline:2px solid Highlight;outline-offset:1px}:host(.md-text-field--error) .md-text-field__container{border-color:LinkText}:host(.md-text-field--disabled) .md-text-field__container,:host(.md-text-field--disabled) .md-text-field__input{color:GrayText;border-color:GrayText}.md-text-field__support-text,.md-text-field__counter{color:CanvasText}.md-text-field__support-text--error{color:LinkText}.md-text-field__label,.md-text-field__prefix,.md-text-field__suffix,.md-text-field__icon,.md-text-field__clear,.md-text-field__password-toggle,.md-text-field__speech{color:FieldText;forced-color-adjust:none}.md-text-field__error-icon{color:LinkText}.md-text-field__indicator{background-color:FieldText}:host(.md-text-field--outlined) .md-text-field__container{border:none}:host(.md-text-field--outlined) .md-text-field__fieldset{border-color:ButtonText}:host(.md-text-field--outlined.md-text-field--error) .md-text-field__fieldset{border-color:LinkText}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__label,:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__label,:host(:hover) .md-text-field__prefix,:host(:hover) .md-text-field__suffix,:host(:hover) .md-text-field__icon{color:FieldText}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__label{color:LinkText}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__indicator,:host(:hover:not(.md-text-field--focused)) .md-text-field__indicator{background-color:FieldText}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__indicator{background-color:LinkText}:host(:hover) .md-text-field__clear,:host(:hover) .md-text-field__password-toggle,:host(:hover) .md-text-field__speech{color:FieldText;background:none}}:host(.md-text-field--outlined) .md-text-field__input:-webkit-autofill{box-shadow:0 0 0 1000px var(--md-sys-color-surface, #FEF7FF) inset}.md-text-field__clear,.md-text-field__password-toggle,.md-text-field__speech{min-inline-size:40px;min-block-size:40px;display:inline-flex;align-items:center;justify-content:center;margin-inline:-6px;margin-block:-8px}.md-text-field__clear--empty{visibility:hidden}:host([hidden]){display:none !important}`;const b={numeric:/[^0-9]/g,integer:/[^0-9-]/g,decimal:/[^0-9.\-]/g,alpha:/[^a-zA-Z]/g,alphanumeric:/[^a-zA-Z0-9]/g};const y=class{constructor(i){t(this,i);this.mdInput=e(this,"mdInput",7);this.mdChange=e(this,"mdChange",7);this.mdSearch=e(this,"mdSearch",7);this.mdClear=e(this,"mdClear",7);this.mdPasswordToggle=e(this,"mdPasswordToggle",7);this.mdSpeechResult=e(this,"mdSpeechResult",7);this.mdValidityChange=e(this,"mdValidityChange",5);if(i.$hostElement$["s-ei"]){this.internals=i.$hostElement$["s-ei"]}else{this.internals=i.$hostElement$.attachInternals();i.$hostElement$["s-ei"]=this.internals}this.reserveSupportingSpace=false;this.variant="filled";this.label="";this.value="";this.placeholder="";this.type="text";this.name="";this.pattern="";this.autocomplete="";this.inputMode="";this.enterKeyHint="";this.autoCapitalize="";this.spellcheck=true;this.disabled=false;this.readOnly=false;this.required=false;this.error=false;this.errorText="";this.supportingText="";this.prefixText="";this.suffixText="";this.clearable=false;this.passwordToggle=false;this.showPasswordLabel="Show password";this.hidePasswordLabel="Hide password";this.density=0;this.multiline=false;this.speechToText=false;this.speechLang="";this.restrict="";this.formatOn="blur";this.focusBorderWidth=3;this.appearFocused=false;this.chipsWrap=false;this.debounce=0;this.throttle=0;this.focused=false;this.formDisabled=false;this.autofilled=false;this.hostAriaLabel="";this.passwordVisible=false;this.hasSlottedLeading=false;this.hasSlottedChips=false;this.hasSlottedTrailing=false;this.hasTrailingIconButton=false;this.listening=false;this.displayValue="";this.validationMessage="";this.validation=new f({host:()=>this.el,validity:()=>this.readValidationState(),message:t=>{this.validationMessage=t},focus:()=>this.setFocus()});this.defaultValue="";this.internalWrite=false;this.composing=false;this.warnedLiveFormat=false;this.uid=h("md-text-field");this.throttlePending=false;this.customValidityMessage="";this.inputRole="";this.inputExpanded=false;this.inputAriaAutocomplete="";this.lastValidityKey=null;this.pendingTypeResync=false;this.formatterEpoch=0;this.handleInput=t=>{const e=t.target||this.inputEl;if(!e)return;if(this.composing)return;let i=e.value;let s=e.selectionStart??i.length;let d=this.applyRestrict(i);if(this.restrict&&this.maxLength!=null&&!isNaN(this.maxLength)&&d.length>this.maxLength){const t=Array.from(d);let e="";for(const i of t){if((e+i).length>this.maxLength)break;e+=i}d=e}if(d!==i){const t=this.applyRestrict(i.substring(0,s));i=d;e.value=i;s=Math.min(t.length,i.length);try{e.setSelectionRange(s,s)}catch{}}this.internalWrite=true;try{this.value=this.parser?this.parser(i):i}catch(t){this.value=i}if(this.formatter&&this.effectiveFormatOn==="input"&&this.maxLength!=null){const t=this.value.replace(/[-/\s]/g,"");if(t.length>this.maxLength){const e=Array.from(t);let i="";for(const t of e){if((i+t).length>this.maxLength)break;i+=t}this.value=i}}if(this.formatter&&this.effectiveFormatOn==="input"){try{const t=t=>this.parser?this.parser(t).length:(t.match(/[0-9a-zA-Z]/g)||[]).length;const d=t(i.substring(0,s));const o=this.formatter(this.value);this.displayValue=o;e.value=o;let l=d===0?0:o.length;for(let e=0;d>0&&e<o.length;e++){if(t(o.slice(0,e+1))===d){l=e+1;break}}try{e.setSelectionRange(l,l)}catch{}}catch(t){this.displayValue=this.value;e.value=this.value}}if(!(this.formatter&&this.effectiveFormatOn==="input")){this.displayValue=e.value}this.internalWrite=false;this.mdInput.emit(this.value);this.emitSearch(this.value);if(this.multiline==="auto-grow"){this.autoGrow()}};this.handleCompositionStart=()=>{this.composing=true};this.handleCompositionEnd=t=>{this.composing=false;this.handleInput(t)};this.handleKeyDown=t=>{m(this.internals,t,{disabled:this.isDisabled,composing:this.composing,multiline:!!this.multiline});if(t.key==="Escape"&&!this.composing&&this.clearable==="internal"&&this.value&&!this.readOnly&&!this.isDisabled){t.stopPropagation();t.preventDefault();this.clearValue();this.mdClear.emit()}};this.handleAutofillStart=t=>{if(t.animationName==="md-tf-autofill-start")this.autofilled=true;if(t.animationName==="md-tf-autofill-cancel")this.autofilled=false};this.handleChange=()=>{this.mdChange.emit(this.value);this.el.dispatchEvent(new CustomEvent("change",{bubbles:true}))};this.handleFocus=()=>{this.focused=true;if(this.formatter&&this.effectiveFormatOn==="blur"&&this.inputEl){this.displayValue=this.value;this.inputEl.value=this.value}};this.handleBlur=()=>{this.focused=false;this.composing=false;this.syncDisplayValue();if(this.inputEl){this.inputEl.value=this.displayValue}};this.handleContainerClick=()=>{this.inputEl?.focus()};this.handleClear=t=>{t.stopPropagation();if(this.isDisabled||this.readOnly||!this.value)return;if(this.clearable==="internal"){this.clearValue()}this.mdClear.emit();this.inputEl?.focus()};this.handlePasswordToggle=t=>{t.stopPropagation();if(this.isDisabled)return;if(this.passwordToggle==="internal"){this.passwordVisible=!this.passwordVisible;this.mdPasswordToggle.emit({visible:this.passwordVisible})}else{this.mdPasswordToggle.emit({visible:this.type==="password"})}this.inputEl?.focus()};this.handleSpeechToggle=t=>{t.stopPropagation();if(this.isDisabled||this.readOnly)return;if(this.speechToText==="external"){this.listening=!this.listening;this.mdSpeechResult.emit({transcript:"",listening:this.listening});return}if(this.listening){this.recognition?.stop();return}const e=window.SpeechRecognition||window.webkitSpeechRecognition;if(!e){console.warn("md-text-field: SpeechRecognition API not supported in this browser.");return}const i=new e;i.continuous=false;i.interimResults=true;if(this.speechLang){i.lang=this.speechLang}let s="";const d=this.value;i.onresult=t=>{let e="";for(let i=t.resultIndex;i<t.results.length;i++){const d=t.results[i][0].transcript;if(t.results[i].isFinal){s+=d}else{e+=d}}const i=d&&!d.endsWith(" ")?" ":"";this.internalWrite=true;this.value=d+i+s+e;this.internalWrite=false;if(this.inputEl)this.inputEl.value=this.value;this.mdInput.emit(this.value);this.mdSpeechResult.emit({transcript:s+e,listening:true})};i.onend=()=>{this.listening=false;this.recognition=undefined;const t=d&&!d.endsWith(" ")?" ":"";this.internalWrite=true;this.value=d+t+s;this.internalWrite=false;if(this.inputEl)this.inputEl.value=this.value;this.mdInput.emit(this.value);this.mdChange.emit(this.value);this.mdSpeechResult.emit({transcript:s,listening:false})};i.onerror=t=>{if(t.error!=="aborted"){console.warn("md-text-field: Speech recognition error:",t.error)}this.listening=false;this.recognition=undefined};this.recognition=i;this.listening=true;i.start()}}resetValidationPresentation(){this.validation.reset()}onInvalid(t){this.validation.handleInvalid(t)}readValidationState(){if(this.internals&&"validity"in this.internals)return x(this.internals);return{valid:this.inputEl?.validity.valid??true,validationMessage:this.inputEl?.validationMessage||""}}get hasError(){return this.error||!!this.validationMessage}get supportMessage(){return this.hasError?this.errorText||this.validationMessage||this.supportingText:this.supportingText}get isDisabled(){return this.disabled||this.formDisabled}get effectiveFormatOn(){if(this.formatOn==="input"&&this.formatter&&!this.parser){return"blur"}return this.formatOn}static isInteractive(t){const e=t.tagName.toLowerCase();return["md-icon-button","md-button","button","a","input","select","textarea"].includes(e)||t.hasAttribute("tabindex")}get isFloating(){return this.focused||this.appearFocused||!!this.value||!!this.placeholder||this.autofilled||this.hasSlottedChips}get effectiveRows(){if(this.rows!=null)return this.rows;return this.multiline==="fixed"?4:2}get restrictPattern(){if(!this.restrict)return null;if(b[this.restrict])return b[this.restrict];try{const t=this.restrict.startsWith("[")&&this.restrict.endsWith("]")?this.restrict.slice(1,-1):this.restrict;return new RegExp(`[^${t}]`,"g")}catch{return null}}applyRestrict(t){const e=this.restrictPattern;return e?t.replace(e,""):t}syncTrailingSlotState(t){if(!t)return;this.hasSlottedTrailing=t.assignedNodes().length>0;this.hasTrailingIconButton=t.assignedElements().some((t=>y.isInteractive(t)))}syncHostSlottedIcons(){const t=this.el.querySelector('[slot="leading-icon"]');const e=this.el.querySelector('[slot="trailing-icon"]');this.hasSlottedLeading=!!t;this.hasSlottedTrailing=!!e;this.hasTrailingIconButton=!!e&&y.isInteractive(e)}static normaliseMode(t){return t===true?"internal":t}normaliseModes(){this.clearable=y.normaliseMode(this.clearable);this.passwordToggle=y.normaliseMode(this.passwordToggle);this.speechToText=y.normaliseMode(this.speechToText)}handleModeChange(){this.normaliseModes()}componentWillLoad(){o(this);this.bridgeFormatterProps();this.normaliseModes();if(this.el.hasAttribute("clearable")&&!this.clearable)this.clearable="internal";if(this.el.hasAttribute("password-toggle")&&!this.passwordToggle)this.passwordToggle="internal";if(this.el.hasAttribute("speech-to-text")&&!this.speechToText)this.speechToText="internal";if(this.maxLength==null&&this.el.hasAttribute("maxlength")){this.maxLength=parseInt(this.el.getAttribute("maxlength"),10)}if(this.minLength==null&&this.el.hasAttribute("minlength")){this.minLength=parseInt(this.el.getAttribute("minlength"),10)}if(!this.label&&!this.hostAriaLabel){const t=this.el.getAttribute("aria-label");if(t){this.hostAriaLabel=t;this.el.removeAttribute("aria-label")}}if(!this.multiline&&/[\r\n]/.test(this.value)){this.value=this.value.replace(/[\r\n]+/g,"")}this.defaultValue=this.value;this.syncDisplayValue();this.syncHostSlottedIcons();this.updateFormValue()}updateFormValue(){try{this.internals?.setFormValue(this.value)}catch{}}updateValidity(){const t=this.inputEl;if(!t)return;try{if(this.customValidityMessage){this.internals?.setValidity({customError:true},this.customValidityMessage,t);return}const e=t.validity;if(!e)return;if(this.focused&&t.value!==this.value)return;const i=t.value;let s=false;if(t.value!==this.value){t.value=this.value;s=true;if(t.value!==this.value){t.value=i;this.internals?.setValidity({badInput:true},"Invalid value",t);return}}const d={valueMissing:e.valueMissing,typeMismatch:e.typeMismatch,patternMismatch:e.patternMismatch,tooLong:e.tooLong,tooShort:e.tooShort,rangeUnderflow:e.rangeUnderflow,rangeOverflow:e.rangeOverflow,stepMismatch:e.stepMismatch,badInput:e.badInput};const o=e.valid;const l=t.validationMessage;if(s)t.value=i;if(o){this.internals?.setValidity({})}else{this.internals?.setValidity(d,l||"Invalid value",t)}}catch{}finally{this.validation.refresh();this.emitValidityChange()}}formResetCallback(){this.validation.reset();this.internalWrite=false;this.value=this.defaultValue;this.syncDisplayValue();if(this.inputEl)this.inputEl.value=this.displayValue;this.updateFormValue()}formDisabledCallback(t){if(t)queueMicrotask((()=>this.validation.reset()));queueMicrotask((()=>{this.formDisabled=t}))}async setFocus(){this.inputEl?.focus()}async select(){this.inputEl?.select()}async getInputElement(){return this.inputEl??null}async getValidity(){try{const t=this.internals.validity;return{valid:t.valid,validationMessage:this.internals.validationMessage,flags:{valueMissing:t.valueMissing,typeMismatch:t.typeMismatch,patternMismatch:t.patternMismatch,tooLong:t.tooLong,tooShort:t.tooShort,rangeUnderflow:t.rangeUnderflow,rangeOverflow:t.rangeOverflow,stepMismatch:t.stepMismatch,badInput:t.badInput,customError:t.customError}}}catch{return{valid:true,validationMessage:"",flags:{}}}}async setCustomValidity(t){this.customValidityMessage=t;this.updateValidity()}formStateRestoreCallback(t){if(typeof t==="string"){this.value=t}}emitValidityChange(){const t=x(this.internals);const e=`${t.valid}|${t.validationMessage}`;if(this.lastValidityKey===e)return;const i=this.lastValidityKey!==null;this.lastValidityKey=e;if(i)this.mdValidityChange.emit(t)}async checkValidity(){try{return u((()=>this.internals.checkValidity()))}catch{return u((()=>this.inputEl?.checkValidity()??true))}}async reportValidity(){try{return p((()=>this.internals.reportValidity()))}catch{return p((()=>this.inputEl?.reportValidity()??true))}}componentDidLoad(){try{const t=this.el.shadowRoot;const e=t?.querySelector('slot[name="leading-icon"]');e?.addEventListener("slotchange",(()=>{this.hasSlottedLeading=e.assignedNodes().length>0}));const i=t?.querySelector('slot[name="trailing-icon"]');i?.addEventListener("slotchange",(()=>{this.syncTrailingSlotState(i)}));const s=t?.querySelector('slot[name="chips"]');s?.addEventListener("slotchange",(()=>{this.hasSlottedChips=s.assignedNodes().length>0}));this.hasSlottedLeading=(e?.assignedNodes().length??0)>0;this.hasSlottedChips=(s?.assignedNodes().length??0)>0;this.syncTrailingSlotState(i);if(this.multiline==="auto-grow"){this.autoGrow()}this.syncDisplayValue();this.updateValidity()}finally{l(this)}}onValueChange(){if(this.value==null){this.value="";return}if(!this.internalWrite&&!this.multiline&&/[\r\n]/.test(this.value)){this.value=this.value.replace(/[\r\n]+/g,"");return}if(this.multiline==="auto-grow"){this.autoGrow()}this.updateFormValue();if(!this.focused){this.syncDisplayValue();return}if(!this.internalWrite){this.composing=false;this.syncDisplayValue();const t=this.inputEl;if(t){t.value=this.effectiveFormatOn==="blur"&&this.formatter?this.value:this.displayValue;const e=t.value.length;try{t.setSelectionRange(e,e)}catch{}}this.updateValidity()}}onTypeChange(){this.pendingTypeResync=true}componentDidRender(){r(this);if(this.pendingTypeResync){this.pendingTypeResync=false;const t=this.inputEl;if(t){const e=this.focused&&this.formatter&&this.effectiveFormatOn==="blur"?this.value:this.displayValue;if(t.value!==e){t.value=e}}}this.updateValidity()}bridgeFormatterProps(){const t=this.el===this;["formatter","parser"].forEach((e=>{let i=this[e];Object.defineProperty(this.el,e,{configurable:true,get:()=>t?i:this[e],set:s=>{if(t)i=s;else this[e]=s;if(!this.focused){this.syncDisplayValue()}this.formatterEpoch++}})}))}syncDisplayValue(){if(this.formatter){try{const t=this.formatter(this.value);this.displayValue=typeof t==="string"?t:this.value}catch(t){this.displayValue=this.value}}else{this.displayValue=this.value}}emitSearchDistinct(t){if(t===this.lastEmittedSearch)return;this.lastEmittedSearch=t;this.mdSearch.emit(t)}emitSearch(t){if(this.debounce>0){clearTimeout(this.debounceTimer);this.debounceTimer=setTimeout((()=>this.emitSearchDistinct(t)),this.debounce)}if(this.throttle>0){if(!this.throttleTimer){this.emitSearchDistinct(t);this.throttlePending=false;this.throttleTimer=setTimeout((()=>{this.throttleTimer=undefined;if(this.throttlePending){this.emitSearchDistinct(this.value);this.throttlePending=false}}),this.throttle)}else{this.throttlePending=true}}if(this.debounce<=0&&this.throttle<=0){this.emitSearchDistinct(t)}}autoGrow(){const t=this.inputEl;if(!t)return;t.value=this.value;t.style.height="auto";t.style.height=`${t.scrollHeight}px`}clearValue(){this.internalWrite=true;this.value="";this.internalWrite=false;if(this.inputEl){this.inputEl.value=""}this.displayValue="";this.updateValidity();this.mdInput.emit(this.value);this.mdChange.emit(this.value);this.emitSearch("")}disconnectedCallback(){a(this);this.recognition?.abort();this.recognition=undefined;clearTimeout(this.debounceTimer);clearTimeout(this.throttleTimer);this.debounceTimer=undefined;this.throttleTimer=undefined;this.throttlePending=false}renderInputElement(){const t=this.passwordToggle==="internal"&&this.passwordVisible?"text":this.type;const e=this.focused&&this.formatter&&this.effectiveFormatOn==="blur";const s=e?this.value:this.displayValue;const d=this.supportMessage;const o=[d?`${this.uid}-support`:"",this.maxLength!=null&&!isNaN(this.maxLength)?`${this.uid}-counter`:""].filter(Boolean).join(" ");const l=this.el.getAttribute("aria-haspopup");const r=l==="dialog"||l==="listbox"?l:null;const a=this.inputRole==="combobox"?"combobox":undefined;const n={placeholder:this.isFloating?this.placeholder:"",disabled:this.isDisabled,readOnly:this.readOnly,required:this.required,maxLength:this.formatter&&this.effectiveFormatOn==="input"||this.restrict?undefined:this.maxLength,pattern:this.pattern||undefined,minLength:this.minLength,min:this.min,max:this.max,step:this.step,autocomplete:this.autocomplete||undefined,inputMode:this.inputMode||undefined,enterKeyHint:this.enterKeyHint||undefined,autoCapitalize:this.autoCapitalize||undefined,spellcheck:this.spellcheck,value:s,"aria-label":this.label||this.hostAriaLabel||undefined,"aria-haspopup":r||undefined,role:a,"aria-expanded":a?String(this.inputExpanded):undefined,"aria-autocomplete":a&&this.inputAriaAutocomplete?this.inputAriaAutocomplete:undefined,"aria-describedby":o||undefined,"aria-invalid":this.hasError?"true":undefined,"aria-required":this.required?"true":undefined,id:`${this.uid}-input`,onInvalid:t=>this.validation.handleInputInvalid(t),onInput:this.handleInput,onChange:this.handleChange,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onAnimationStart:this.handleAutofillStart};if(this.multiline){return i("textarea",{ref:t=>{this.inputEl=t},...n,rows:this.effectiveRows,part:"input",class:{"md-text-field__input":true,"md-text-field__input--textarea":true,"md-text-field__input--auto-grow":this.multiline==="auto-grow","md-text-field__input--fixed":this.multiline==="fixed"}},s)}return i("input",{ref:t=>{this.inputEl=t},class:"md-text-field__input",part:"input",type:t,...n})}render(){const t=this.supportMessage;const e=!!this.clearable;const d=!this.multiline&&!!this.passwordToggle;const o=!!this.speechToText;const l=this.hasSlottedLeading;const r=this.hasSlottedTrailing||e||d||o||this.hasError;const a=!!this.formatter&&this.effectiveFormatOn==="input";const n=a?this.value.replace(/[-/\s]/g,"").length:this.value.length;const c=this.maxLength!=null&&!isNaN(this.maxLength)?`${n}/${this.maxLength}`:"";const h=this.isDisabled||this.readOnly||!this.value;const f=!t&&!c;const m=this.passwordToggle==="internal"?this.passwordVisible:this.type!=="password";const x=m?"visibility_off":"visibility";return i(s,{key:"061691f1e95cbdf682109da550a49745dc391e76",class:{"md-text-field":true,[`md-text-field--${this.variant}`]:true,"md-text-field--focused":this.focused||this.appearFocused,"md-text-field--error":this.hasError,"md-text-field--disabled":this.isDisabled,"md-text-field--with-leading":l,"md-text-field--with-trailing":r,"md-text-field--clearable":e,"md-text-field--with-chips":this.hasSlottedChips,"md-text-field--floating":this.isFloating,"md-text-field--without-label":!this.label,[`md-text-field--density${this.density}`]:this.density!==0,"md-text-field--multiline":!!this.multiline,"md-text-field--auto-grow":this.multiline==="auto-grow","md-text-field--textarea":this.multiline==="fixed","md-text-field--listening":this.listening},style:Number(this.focusBorderWidth)!==3?{"--md-text-field-focus-border-width":`${Number(this.focusBorderWidth)}px`,"--md-text-field-focus-inset":`${-(Number(this.focusBorderWidth)-1)}px`}:undefined},i("div",{key:"50cfc32ef79750387900859ecb1ba31dabd16edc",class:"md-text-field__container",part:"container","data-md-anchor-box":f?"":null,onClick:this.handleContainerClick},i("div",{key:"1c96d847025dd4de029ba59d161511aed603708e",class:"md-text-field__state-layer","aria-hidden":"true"}),i("span",{key:"95991983f4e93402762b282491f9dc092d4ba3a1",class:"md-text-field__icon md-text-field__icon--leading","aria-hidden":"true",style:{display:l?undefined:"none"}},i("slot",{key:"bcd14b98147366760e6b1dfe70cd83ea8a981767",name:"leading-icon"})),i("div",{key:"0b10e6e36080b436838ef888fac691f7b5405733",class:"md-text-field__input-wrap"},this.label&&i("label",{key:"ab36c56adc19dcec97ac895fd23442f4d1927436",class:"md-text-field__label",part:"label",htmlFor:`${this.uid}-input`},this.label),i("div",{key:"4ce284640ecafd6c49a69a0e0e5a183967187b63",class:"md-text-field__input-row"},i("span",{key:"2ea2ba3359529c2e3e289eac5018c66b038eec83",class:"md-text-field__chips",part:"chips",style:{display:this.hasSlottedChips?undefined:"none"}},i("slot",{key:"3ce54f6abb58c243f9215616081e50fd56efa129",name:"chips"})),this.prefixText&&this.isFloating&&i("span",{key:"a50c124331338c72e3b7a4ff8f95ee1e95a9e325",class:"md-text-field__prefix"},this.prefixText),this.renderInputElement(),this.suffixText&&this.isFloating&&i("span",{key:"1fb65e217c1115fd1dd69ccf1bd0825d365030e6",class:"md-text-field__suffix"},this.suffixText))),e&&i("button",{key:"d075b767d4330459f4561feb0d906ffbca9380e6",type:"button",class:{"md-text-field__clear":true,"md-text-field__clear--disabled":h,"md-text-field__clear--empty":!this.value},disabled:h,onClick:this.handleClear,"aria-label":"Clear"},i("slot",{key:"7e7581848e69a7550d432ed3caaf46ae2aa782a7",name:"clear-icon"},i("span",{key:"a5ec604f07538e4d2fa9df04601a7b3944f16472",class:"material-symbols-outlined","aria-hidden":"true"},"cancel"))),d&&i("button",{key:"8ebaec3739e831e910f70d728dfcb96bf54bc874",type:"button",class:{"md-text-field__password-toggle":true,"md-text-field__password-toggle--disabled":this.isDisabled},disabled:this.isDisabled,onClick:this.handlePasswordToggle,"aria-label":m?this.hidePasswordLabel:this.showPasswordLabel,"aria-pressed":m?"true":"false"},i("slot",{key:"2dc8f2a58f0c9780db876ebc85962051d7941140",name:"password-toggle-icon"},i("span",{key:"5160dd18a967452549ea5c1ae7fd7b6484ec0292",class:"material-symbols-outlined","aria-hidden":"true"},x))),o&&i("button",{key:"5b1b3102a5cfa6253a7b7bbb68099380918e738b",type:"button",class:{"md-text-field__speech":true,"md-text-field__speech--listening":this.listening,"md-text-field__speech--disabled":this.isDisabled},disabled:this.isDisabled||this.readOnly,onClick:this.handleSpeechToggle,"aria-label":this.listening?"Stop listening":"Start voice input","aria-pressed":this.listening?"true":"false"},i("slot",{key:"d4c441c36c8a21b391816854ca5adfd80584abc8",name:"speech-icon"},i("span",{key:"f6edcc02a90db906cccb51c4f5be7bcd861660a7",class:"material-symbols-outlined","aria-hidden":"true"},this.listening?"hearing":"mic"))),this.hasError&&i("span",{key:"4587beee2d0d81e64212a3f111acc8ea7102adff",class:"md-text-field__error-icon","aria-hidden":"true"},i("slot",{key:"57b5c81b99a433a01d8d6a52a3b9ad3b6dd5583c",name:"error-icon"},i("span",{key:"e67cc638651eb44f8e8a6cda7601ecafb45cc41b",class:"material-symbols-outlined",style:{fontVariationSettings:"'FILL' 1"}},"error"))),i("span",{key:"d13de105c1aa0794993fef23364e96698496fc19",class:{"md-text-field__icon":!this.hasTrailingIconButton,"md-text-field__icon--trailing":!this.hasTrailingIconButton,"md-text-field__trailing-icon-button":this.hasTrailingIconButton},"aria-hidden":this.hasTrailingIconButton?null:"true",style:{display:this.hasSlottedTrailing?undefined:"none"}},i("slot",{key:"ef3741ed55c66d513ae07a7f00c494f3d4fa693c",name:"trailing-icon"})),this.variant==="filled"&&i("div",{key:"21baa5358c13d3ac9078fc8010eb0ed184b39bbd",class:"md-text-field__indicator"}),this.variant==="outlined"&&i("fieldset",{key:"28488690280273565c9b9332684ed3484fa5dfac",class:"md-text-field__fieldset"},i("legend",{key:"95e0464500545b0c03825acaeb244ccf1b612a39",class:{"md-text-field__legend":true,"md-text-field__legend--active":this.isFloating&&!!this.label}},i("span",{key:"32941710d1069adb10a37dfa0f8dddd235e75abd"},this.label)))),(t||c||this.reserveSupportingSpace)&&i("div",{key:"48092261149f38adb26b7cf39701e64c071d629b",class:"md-text-field__support-row"},i("span",{key:"ff9400bd72fe6352da130828f3c849323bde2810",id:`${this.uid}-support`,part:"supporting-text",role:this.hasError?"alert":undefined,class:{"md-text-field__support-text":true,"md-text-field__support-text--error":this.hasError}},t||(this.reserveSupportingSpace?"​":"")),c&&i("span",{key:"57327d058b0c4d965af1c9c95b1c767fd1229cec",id:`${this.uid}-counter`,part:"counter",class:"md-text-field__counter"},c)))}connectedCallback(){n(this)}componentShouldUpdate(){c(this);return true}static get delegatesFocus(){return true}static get formAssociated(){return true}get el(){return d(this)}static get watchers(){return{name:[{resetValidationPresentation:0}],clearable:[{handleModeChange:0}],passwordToggle:[{handleModeChange:0}],speechToText:[{handleModeChange:0}],value:[{onValueChange:0}],type:[{onTypeChange:0}]}}};y.style=_()+g();export{y as md_text_field};
2
+ //# sourceMappingURL=p-ba7975b3.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as i,h as e,H as a,g as s}from"./p-DkJ2hl1A.js";import{b as n,c as r,d as o,i as h,r as d,p as c}from"./p-Bin9vIoJ.js";const l=()=>`:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;const f=()=>`:host{--_container-color:var( --md-navigation-bar-container-color, var(--md-sys-color-surface-container, #F3EDF7) );--_container-height:var(--md-navigation-bar-container-height, 64px);--_container-shape:var(--md-navigation-bar-container-shape, 0);--_container-elevation:var(--md-navigation-bar-container-elevation, none);--_divider-color:var(--md-navigation-bar-divider-color, transparent);--_divider-width:var(--md-navigation-bar-divider-width, 0);--_z-index:var(--md-navigation-bar-z-index, var(--md-sys-z-index-navigation, 200));display:block;inline-size:100%;box-sizing:border-box;background-color:var(--_container-color);border-radius:var(--_container-shape);border-block-start:var(--_divider-width) solid var(--_divider-color);box-shadow:var(--_container-elevation);color:var(--md-sys-color-on-surface, #1C1B1F);z-index:var(--_z-index);position:relative}.md-navigation-bar__container{display:flex;flex-direction:row;align-items:stretch;justify-content:space-around;inline-size:100%;min-block-size:max(48px, calc(var(--_container-height) + var(--md-sys-density-scale, 0) * 4px));block-size:max(48px, calc(var(--_container-height) + var(--md-sys-density-scale, 0) * 4px));box-sizing:border-box}::slotted(md-navigation-tab){flex:1 1 0;min-inline-size:64px}@media (forced-colors: active){:host{--_container-color:Canvas;--_divider-color:CanvasText;--_divider-width:1px}}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}:host([hidden]){display:none !important}`;const b=class{constructor(e){t(this,e);this.mdChange=i(this,"mdChange",7);this.activeIndex=0;this.labelBehavior="always";this.manualActivation=false;this.density=0;this.tabs=[];this.previousIndex=-1;this.hasInitializedSelection=false;this.normalizingSelection=false}componentWillLoad(){n(this);this.tabs=Array.from(this.el.children).filter((t=>t.tagName==="MD-NAVIGATION-TAB"&&!t.getAttribute("slot")));if(this.tabs.length>0){this.hasInitializedSelection=true;this.tabs.forEach((t=>this.propagateLabelBehavior(t)));this.updateSelection(this.activeIndex,false)}}componentDidLoad(){try{this.syncTabs()}finally{r(this)}}disconnectedCallback(){o(this);this.slotObserver?.disconnect()}onActiveIndexChange(t){if(this.normalizingSelection||!this.hasInitializedSelection)return;this.updateSelection(t,true)}onLabelBehaviorChange(){this.tabs.forEach((t=>this.propagateLabelBehavior(t)))}async select(t){if(!this.hasInitializedSelection){this.activeIndex=t;return}this.updateSelection(t,true)}async focusTab(t){const i=this.tabs[t];if(!i||this.isHardDisabled(i))return;i.focus()}syncTabs(){const t=this.el.shadowRoot;if(!t)return;const i=t.querySelector("slot");if(!i)return;this.tabs=i.assignedElements().filter((t=>t.tagName==="MD-NAVIGATION-TAB"));if(this.tabs.length>0){this.el.setAttribute("data-tab-count",String(this.tabs.length))}else{this.el.removeAttribute("data-tab-count")}this.tabs.forEach((t=>this.propagateLabelBehavior(t)));if(!this.hasInitializedSelection&&this.tabs.length===0){this.applyActiveState(-1,false);return}this.hasInitializedSelection=true;this.updateSelection(this.activeIndex,false)}propagateLabelBehavior(t){if(!t.hasAttribute("label-behavior")){t.labelBehavior=this.labelBehavior;t.setAttribute("data-md-inherited-label-behavior",this.labelBehavior)}}isDisabled(t){return t.hasAttribute("disabled")||t.hasAttribute("soft-disabled")||t.getAttribute("aria-disabled")==="true"}isHardDisabled(t){return t.hasAttribute("disabled")}clampToEnabled(t){if(this.tabs.length===0)return-1;const i=Number.isNaN(t)?0:Math.trunc(t);const e=Math.max(0,Math.min(i,this.tabs.length-1));if(!this.isDisabled(this.tabs[e]))return e;for(let t=e+1;t<this.tabs.length;t++){if(!this.isDisabled(this.tabs[t]))return t}for(let t=e-1;t>=0;t--){if(!this.isDisabled(this.tabs[t]))return t}return-1}updateSelection(t,i){const e=this.clampToEnabled(t);if(this.activeIndex!==e){this.normalizingSelection=true;try{this.activeIndex=e}finally{this.normalizingSelection=false}}this.applyActiveState(e,i)}applyActiveState(t,i){this.tabs.forEach(((i,e)=>{const a=e===t;if("active"in i)i.active=a;if(a){if(!i.hasAttribute("active"))i.setAttribute("active","");i.setAttribute("tabindex","0");i.setAttribute("aria-selected","true")}else{if(i.hasAttribute("active"))i.removeAttribute("active");i.setAttribute("tabindex","-1");i.setAttribute("aria-selected","false")}}));const e=this.previousIndex;this.previousIndex=t;if(i&&t!==e){this.mdChange.emit({index:t,previousIndex:e})}}handleTabClick(t){t.stopPropagation();const i=t.target;if(!i)return;if(this.isDisabled(i))return;const e=this.tabs.indexOf(i);if(e<0)return;if(e===this.activeIndex)return;this.activeIndex=e}handleKeyDown(t){if(this.tabs.length===0)return;const i=document.activeElement;const e=t.composedPath()[0]??i;const a=this.tabs.findIndex((t=>t===e||t.contains(e)));if(a===-1)return;let s=null;const n=getComputedStyle(this.el).direction==="rtl";const r=n?"ArrowLeft":"ArrowRight";const o=n?"ArrowRight":"ArrowLeft";switch(t.key){case r:t.preventDefault();s=this.nextEnabled(a,1);break;case o:t.preventDefault();s=this.nextEnabled(a,-1);break;case"Home":t.preventDefault();s=this.firstEnabled();break;case"End":t.preventDefault();s=this.lastEnabled();break}if(s===null||s===a)return;this.tabs[s].focus();if(!this.manualActivation&&!this.isDisabled(this.tabs[s])){this.activeIndex=s}}nextEnabled(t,i){const e=this.tabs.length;let a=t;for(let t=0;t<e;t++){a=(a+i+e)%e;if(!this.isHardDisabled(this.tabs[a]))return a}return t}firstEnabled(){for(let t=0;t<this.tabs.length;t++){if(!this.isHardDisabled(this.tabs[t]))return t}return 0}lastEnabled(){for(let t=this.tabs.length-1;t>=0;t--){if(!this.isHardDisabled(this.tabs[t]))return t}return this.tabs.length-1}render(){return e(a,{key:"af6f29d1261a63cff69bbfc2a192a1df8b7e1e16",role:"navigation"},e("div",{key:"a4eeaf787b08a9d0765f8e5be79158b8b9d4f466",class:"md-navigation-bar__container",part:"container",role:"tablist","aria-orientation":"horizontal"},e("slot",{key:"04107d83f6beefefaa2ac8eeab0e17844a99e512",onSlotchange:()=>this.syncTabs()})))}componentDidRender(){h(this)}connectedCallback(){d(this)}componentShouldUpdate(){c(this);return true}get el(){return s(this)}static get watchers(){return{activeIndex:[{onActiveIndexChange:0}],labelBehavior:[{onLabelBehaviorChange:0}]}}};b.style=l()+f();export{b as md_navigation_bar};
2
- //# sourceMappingURL=p-4bee383f.entry.js.map
1
+ import{r as t,c as i,h as e,H as a,g as s}from"./p-DuCsV-Tv.js";import{b as n,c as r,d as o,i as h,r as d,p as c}from"./p-DH_rSF2a.js";const l=()=>`:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;const f=()=>`:host{--_container-color:var( --md-navigation-bar-container-color, var(--md-sys-color-surface-container, #F3EDF7) );--_container-height:var(--md-navigation-bar-container-height, 64px);--_container-shape:var(--md-navigation-bar-container-shape, 0);--_container-elevation:var(--md-navigation-bar-container-elevation, none);--_divider-color:var(--md-navigation-bar-divider-color, transparent);--_divider-width:var(--md-navigation-bar-divider-width, 0);--_z-index:var(--md-navigation-bar-z-index, var(--md-sys-z-index-navigation, 200));display:block;inline-size:100%;box-sizing:border-box;background-color:var(--_container-color);border-radius:var(--_container-shape);border-block-start:var(--_divider-width) solid var(--_divider-color);box-shadow:var(--_container-elevation);color:var(--md-sys-color-on-surface, #1C1B1F);z-index:var(--_z-index);position:relative}.md-navigation-bar__container{display:flex;flex-direction:row;align-items:stretch;justify-content:space-around;inline-size:100%;min-block-size:max(48px, calc(var(--_container-height) + var(--md-sys-density-scale, 0) * 4px));block-size:max(48px, calc(var(--_container-height) + var(--md-sys-density-scale, 0) * 4px));box-sizing:border-box}::slotted(md-navigation-tab){flex:1 1 0;min-inline-size:64px}@media (forced-colors: active){:host{--_container-color:Canvas;--_divider-color:CanvasText;--_divider-width:1px}}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}:host([hidden]){display:none !important}`;const b=class{constructor(e){t(this,e);this.mdChange=i(this,"mdChange",7);this.activeIndex=0;this.labelBehavior="always";this.manualActivation=false;this.density=0;this.tabs=[];this.previousIndex=-1;this.hasInitializedSelection=false;this.normalizingSelection=false}componentWillLoad(){n(this);this.tabs=Array.from(this.el.children).filter((t=>t.tagName==="MD-NAVIGATION-TAB"&&!t.getAttribute("slot")));if(this.tabs.length>0){this.hasInitializedSelection=true;this.tabs.forEach((t=>this.propagateLabelBehavior(t)));this.updateSelection(this.activeIndex,false)}}componentDidLoad(){try{this.syncTabs()}finally{r(this)}}disconnectedCallback(){o(this);this.slotObserver?.disconnect()}onActiveIndexChange(t){if(this.normalizingSelection||!this.hasInitializedSelection)return;this.updateSelection(t,true)}onLabelBehaviorChange(){this.tabs.forEach((t=>this.propagateLabelBehavior(t)))}async select(t){if(!this.hasInitializedSelection){this.activeIndex=t;return}this.updateSelection(t,true)}async focusTab(t){const i=this.tabs[t];if(!i||this.isHardDisabled(i))return;i.focus()}syncTabs(){const t=this.el.shadowRoot;if(!t)return;const i=t.querySelector("slot");if(!i)return;this.tabs=i.assignedElements().filter((t=>t.tagName==="MD-NAVIGATION-TAB"));if(this.tabs.length>0){this.el.setAttribute("data-tab-count",String(this.tabs.length))}else{this.el.removeAttribute("data-tab-count")}this.tabs.forEach((t=>this.propagateLabelBehavior(t)));if(!this.hasInitializedSelection&&this.tabs.length===0){this.applyActiveState(-1,false);return}this.hasInitializedSelection=true;this.updateSelection(this.activeIndex,false)}propagateLabelBehavior(t){if(!t.hasAttribute("label-behavior")){t.labelBehavior=this.labelBehavior;t.setAttribute("data-md-inherited-label-behavior",this.labelBehavior)}}isDisabled(t){return t.hasAttribute("disabled")||t.hasAttribute("soft-disabled")||t.getAttribute("aria-disabled")==="true"}isHardDisabled(t){return t.hasAttribute("disabled")}clampToEnabled(t){if(this.tabs.length===0)return-1;const i=Number.isNaN(t)?0:Math.trunc(t);const e=Math.max(0,Math.min(i,this.tabs.length-1));if(!this.isDisabled(this.tabs[e]))return e;for(let t=e+1;t<this.tabs.length;t++){if(!this.isDisabled(this.tabs[t]))return t}for(let t=e-1;t>=0;t--){if(!this.isDisabled(this.tabs[t]))return t}return-1}updateSelection(t,i){const e=this.clampToEnabled(t);if(this.activeIndex!==e){this.normalizingSelection=true;try{this.activeIndex=e}finally{this.normalizingSelection=false}}this.applyActiveState(e,i)}applyActiveState(t,i){this.tabs.forEach(((i,e)=>{const a=e===t;if("active"in i)i.active=a;if(a){if(!i.hasAttribute("active"))i.setAttribute("active","");i.setAttribute("tabindex","0");i.setAttribute("aria-selected","true")}else{if(i.hasAttribute("active"))i.removeAttribute("active");i.setAttribute("tabindex","-1");i.setAttribute("aria-selected","false")}}));const e=this.previousIndex;this.previousIndex=t;if(i&&t!==e){this.mdChange.emit({index:t,previousIndex:e})}}handleTabClick(t){t.stopPropagation();const i=t.target;if(!i)return;if(this.isDisabled(i))return;const e=this.tabs.indexOf(i);if(e<0)return;if(e===this.activeIndex)return;this.activeIndex=e}handleKeyDown(t){if(this.tabs.length===0)return;const i=document.activeElement;const e=t.composedPath()[0]??i;const a=this.tabs.findIndex((t=>t===e||t.contains(e)));if(a===-1)return;let s=null;const n=getComputedStyle(this.el).direction==="rtl";const r=n?"ArrowLeft":"ArrowRight";const o=n?"ArrowRight":"ArrowLeft";switch(t.key){case r:t.preventDefault();s=this.nextEnabled(a,1);break;case o:t.preventDefault();s=this.nextEnabled(a,-1);break;case"Home":t.preventDefault();s=this.firstEnabled();break;case"End":t.preventDefault();s=this.lastEnabled();break}if(s===null||s===a)return;this.tabs[s].focus();if(!this.manualActivation&&!this.isDisabled(this.tabs[s])){this.activeIndex=s}}nextEnabled(t,i){const e=this.tabs.length;let a=t;for(let t=0;t<e;t++){a=(a+i+e)%e;if(!this.isHardDisabled(this.tabs[a]))return a}return t}firstEnabled(){for(let t=0;t<this.tabs.length;t++){if(!this.isHardDisabled(this.tabs[t]))return t}return 0}lastEnabled(){for(let t=this.tabs.length-1;t>=0;t--){if(!this.isHardDisabled(this.tabs[t]))return t}return this.tabs.length-1}render(){return e(a,{key:"af6f29d1261a63cff69bbfc2a192a1df8b7e1e16",role:"navigation"},e("div",{key:"a4eeaf787b08a9d0765f8e5be79158b8b9d4f466",class:"md-navigation-bar__container",part:"container",role:"tablist","aria-orientation":"horizontal"},e("slot",{key:"04107d83f6beefefaa2ac8eeab0e17844a99e512",onSlotchange:()=>this.syncTabs()})))}componentDidRender(){h(this)}connectedCallback(){d(this)}componentShouldUpdate(){c(this);return true}get el(){return s(this)}static get watchers(){return{activeIndex:[{onActiveIndexChange:0}],labelBehavior:[{onLabelBehaviorChange:0}]}}};b.style=l()+f();export{b as md_navigation_bar};
2
+ //# sourceMappingURL=p-bcb6b76c.entry.js.map