@screenreader-speech-capture/bridge 0.0.0-stage → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (328) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +46 -2
  3. package/dist/cli.mjs +6291 -0
  4. package/dist/ui/adapter-node.js +11 -0
  5. package/dist/ui/client/ui/_app/immutable/assets/0.ONZWQgDA.css +1 -0
  6. package/dist/ui/client/ui/_app/immutable/assets/0.ONZWQgDA.css.br +0 -0
  7. package/dist/ui/client/ui/_app/immutable/assets/0.ONZWQgDA.css.gz +0 -0
  8. package/dist/ui/client/ui/_app/immutable/assets/2.DSVNnDlO.css +1 -0
  9. package/dist/ui/client/ui/_app/immutable/assets/2.DSVNnDlO.css.br +3 -0
  10. package/dist/ui/client/ui/_app/immutable/assets/2.DSVNnDlO.css.gz +0 -0
  11. package/dist/ui/client/ui/_app/immutable/assets/3.WduKm4aT.css +1 -0
  12. package/dist/ui/client/ui/_app/immutable/assets/3.WduKm4aT.css.br +0 -0
  13. package/dist/ui/client/ui/_app/immutable/assets/3.WduKm4aT.css.gz +0 -0
  14. package/dist/ui/client/ui/_app/immutable/assets/4.DyY1vjRV.css +1 -0
  15. package/dist/ui/client/ui/_app/immutable/assets/4.DyY1vjRV.css.br +0 -0
  16. package/dist/ui/client/ui/_app/immutable/assets/4.DyY1vjRV.css.gz +0 -0
  17. package/dist/ui/client/ui/_app/immutable/assets/5.YyxFzHED.css +1 -0
  18. package/dist/ui/client/ui/_app/immutable/assets/5.YyxFzHED.css.br +0 -0
  19. package/dist/ui/client/ui/_app/immutable/assets/5.YyxFzHED.css.gz +0 -0
  20. package/dist/ui/client/ui/_app/immutable/assets/6.C0Nhvs_m.css +1 -0
  21. package/dist/ui/client/ui/_app/immutable/assets/6.C0Nhvs_m.css.br +0 -0
  22. package/dist/ui/client/ui/_app/immutable/assets/6.C0Nhvs_m.css.gz +0 -0
  23. package/dist/ui/client/ui/_app/immutable/assets/ExternalLink.CYXazpKA.css +1 -0
  24. package/dist/ui/client/ui/_app/immutable/assets/ExternalLink.CYXazpKA.css.br +0 -0
  25. package/dist/ui/client/ui/_app/immutable/assets/ExternalLink.CYXazpKA.css.gz +0 -0
  26. package/dist/ui/client/ui/_app/immutable/assets/Pane.Dgdg5KMw.css +1 -0
  27. package/dist/ui/client/ui/_app/immutable/assets/Pane.Dgdg5KMw.css.br +0 -0
  28. package/dist/ui/client/ui/_app/immutable/assets/Pane.Dgdg5KMw.css.gz +0 -0
  29. package/dist/ui/client/ui/_app/immutable/assets/material-symbols-outlined-latin-400-normal.BhEvR8fk.woff2 +0 -0
  30. package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-cyrillic-ext-opsz-normal.nDQikIyu.woff2 +0 -0
  31. package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-cyrillic-opsz-normal.SjuC5rw5.woff2 +0 -0
  32. package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-greek-opsz-normal.C14fFRny.woff2 +0 -0
  33. package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-latin-ext-opsz-normal.xNclTVCo.woff2 +0 -0
  34. package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-latin-opsz-normal.hy8fyBBC.woff2 +0 -0
  35. package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-vietnamese-opsz-normal.C-H_yGOU.woff2 +0 -0
  36. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-400-normal.B3hIXASd.woff +0 -0
  37. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-400-normal.C-_K-ZCn.woff2 +0 -0
  38. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-500-normal.DGZ7-lUP.woff2 +0 -0
  39. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-500-normal.NpUJFYX7.woff +0 -0
  40. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-ext-400-normal.BHxv52bw.woff2 +0 -0
  41. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-ext-400-normal.W26xs1TL.woff +0 -0
  42. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-ext-500-normal.6xdwlG7p.woff +0 -0
  43. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-ext-500-normal.DC57U9n8.woff2 +0 -0
  44. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-greek-400-normal.CH_u3Aru.woff2 +0 -0
  45. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-greek-400-normal.P8xe1gs1.woff +0 -0
  46. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-greek-500-normal.C2M8jX6G.woff +0 -0
  47. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-greek-500-normal.DpRFkptA.woff2 +0 -0
  48. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-400-normal.DBZPkcnn.woff +0 -0
  49. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-400-normal.GekRknry.woff2 +0 -0
  50. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-500-normal.D6j6AMzd.woff +0 -0
  51. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-500-normal.pxIOXZmA.woff2 +0 -0
  52. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-ext-400-normal.BwLXVYNz.woff +0 -0
  53. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-ext-400-normal.DLAV9S_w.woff2 +0 -0
  54. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-ext-500-normal.B1IjfbhL.woff +0 -0
  55. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-ext-500-normal.Db3ge6Oe.woff2 +0 -0
  56. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-vietnamese-400-normal.CzWHQABp.woff +0 -0
  57. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-vietnamese-400-normal.yYTFiTTs.woff2 +0 -0
  58. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-vietnamese-500-normal.Cq-quQMu.woff2 +0 -0
  59. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-vietnamese-500-normal.IxzxMIj7.woff +0 -0
  60. package/dist/ui/client/ui/_app/immutable/chunks/0FroJ-XN.js +3 -0
  61. package/dist/ui/client/ui/_app/immutable/chunks/0FroJ-XN.js.br +0 -0
  62. package/dist/ui/client/ui/_app/immutable/chunks/0FroJ-XN.js.gz +0 -0
  63. package/dist/ui/client/ui/_app/immutable/chunks/4wvZDMeR.js +33 -0
  64. package/dist/ui/client/ui/_app/immutable/chunks/4wvZDMeR.js.br +0 -0
  65. package/dist/ui/client/ui/_app/immutable/chunks/4wvZDMeR.js.gz +0 -0
  66. package/dist/ui/client/ui/_app/immutable/chunks/B1Ryegye.js +3 -0
  67. package/dist/ui/client/ui/_app/immutable/chunks/B1Ryegye.js.br +0 -0
  68. package/dist/ui/client/ui/_app/immutable/chunks/B1Ryegye.js.gz +0 -0
  69. package/dist/ui/client/ui/_app/immutable/chunks/B1vArRqi.js +3 -0
  70. package/dist/ui/client/ui/_app/immutable/chunks/B1vArRqi.js.br +0 -0
  71. package/dist/ui/client/ui/_app/immutable/chunks/B1vArRqi.js.gz +0 -0
  72. package/dist/ui/client/ui/_app/immutable/chunks/BS7n1gMj.js +40 -0
  73. package/dist/ui/client/ui/_app/immutable/chunks/BS7n1gMj.js.br +0 -0
  74. package/dist/ui/client/ui/_app/immutable/chunks/BS7n1gMj.js.gz +0 -0
  75. package/dist/ui/client/ui/_app/immutable/chunks/B_ZElYu_.js +1 -0
  76. package/dist/ui/client/ui/_app/immutable/chunks/B_ZElYu_.js.br +2 -0
  77. package/dist/ui/client/ui/_app/immutable/chunks/B_ZElYu_.js.gz +0 -0
  78. package/dist/ui/client/ui/_app/immutable/chunks/Beqi9dRN.js +72 -0
  79. package/dist/ui/client/ui/_app/immutable/chunks/Beqi9dRN.js.br +0 -0
  80. package/dist/ui/client/ui/_app/immutable/chunks/Beqi9dRN.js.gz +0 -0
  81. package/dist/ui/client/ui/_app/immutable/chunks/BnU72Mow.js +2 -0
  82. package/dist/ui/client/ui/_app/immutable/chunks/BnU72Mow.js.br +0 -0
  83. package/dist/ui/client/ui/_app/immutable/chunks/BnU72Mow.js.gz +0 -0
  84. package/dist/ui/client/ui/_app/immutable/chunks/Bvlvl8SZ.js +1 -0
  85. package/dist/ui/client/ui/_app/immutable/chunks/Bvlvl8SZ.js.br +0 -0
  86. package/dist/ui/client/ui/_app/immutable/chunks/Bvlvl8SZ.js.gz +0 -0
  87. package/dist/ui/client/ui/_app/immutable/chunks/CK3uUd4t.js +48 -0
  88. package/dist/ui/client/ui/_app/immutable/chunks/CK3uUd4t.js.br +0 -0
  89. package/dist/ui/client/ui/_app/immutable/chunks/CK3uUd4t.js.gz +0 -0
  90. package/dist/ui/client/ui/_app/immutable/chunks/CMWEX9XL.js +138 -0
  91. package/dist/ui/client/ui/_app/immutable/chunks/CMWEX9XL.js.br +0 -0
  92. package/dist/ui/client/ui/_app/immutable/chunks/CMWEX9XL.js.gz +0 -0
  93. package/dist/ui/client/ui/_app/immutable/chunks/CVpgcnu3.js +1 -0
  94. package/dist/ui/client/ui/_app/immutable/chunks/CVpgcnu3.js.br +0 -0
  95. package/dist/ui/client/ui/_app/immutable/chunks/CVpgcnu3.js.gz +0 -0
  96. package/dist/ui/client/ui/_app/immutable/chunks/D-2Nx62w.js +1 -0
  97. package/dist/ui/client/ui/_app/immutable/chunks/D-2Nx62w.js.br +4 -0
  98. package/dist/ui/client/ui/_app/immutable/chunks/D-2Nx62w.js.gz +0 -0
  99. package/dist/ui/client/ui/_app/immutable/chunks/D0famktY.js +1 -0
  100. package/dist/ui/client/ui/_app/immutable/chunks/D0famktY.js.br +2 -0
  101. package/dist/ui/client/ui/_app/immutable/chunks/D0famktY.js.gz +0 -0
  102. package/dist/ui/client/ui/_app/immutable/chunks/DHsTyp2W.js +1 -0
  103. package/dist/ui/client/ui/_app/immutable/chunks/DHsTyp2W.js.br +2 -0
  104. package/dist/ui/client/ui/_app/immutable/chunks/DHsTyp2W.js.gz +0 -0
  105. package/dist/ui/client/ui/_app/immutable/chunks/DOY87jO2.js +1 -0
  106. package/dist/ui/client/ui/_app/immutable/chunks/DOY87jO2.js.br +0 -0
  107. package/dist/ui/client/ui/_app/immutable/chunks/DOY87jO2.js.gz +0 -0
  108. package/dist/ui/client/ui/_app/immutable/chunks/DUTjbZNf.js +1 -0
  109. package/dist/ui/client/ui/_app/immutable/chunks/DUTjbZNf.js.br +0 -0
  110. package/dist/ui/client/ui/_app/immutable/chunks/DUTjbZNf.js.gz +0 -0
  111. package/dist/ui/client/ui/_app/immutable/chunks/Dvxhfd7j.js +3 -0
  112. package/dist/ui/client/ui/_app/immutable/chunks/Dvxhfd7j.js.br +0 -0
  113. package/dist/ui/client/ui/_app/immutable/chunks/Dvxhfd7j.js.gz +0 -0
  114. package/dist/ui/client/ui/_app/immutable/chunks/DzInmTUe.js +1 -0
  115. package/dist/ui/client/ui/_app/immutable/chunks/DzInmTUe.js.br +1 -0
  116. package/dist/ui/client/ui/_app/immutable/chunks/DzInmTUe.js.gz +0 -0
  117. package/dist/ui/client/ui/_app/immutable/chunks/tKonUL5Y.js +4 -0
  118. package/dist/ui/client/ui/_app/immutable/chunks/tKonUL5Y.js.br +0 -0
  119. package/dist/ui/client/ui/_app/immutable/chunks/tKonUL5Y.js.gz +0 -0
  120. package/dist/ui/client/ui/_app/immutable/entry/app.C8tsut3X.js +2 -0
  121. package/dist/ui/client/ui/_app/immutable/entry/app.C8tsut3X.js.br +0 -0
  122. package/dist/ui/client/ui/_app/immutable/entry/app.C8tsut3X.js.gz +0 -0
  123. package/dist/ui/client/ui/_app/immutable/entry/payload.DSmR2FwN.js +1 -0
  124. package/dist/ui/client/ui/_app/immutable/entry/payload.DSmR2FwN.js.br +0 -0
  125. package/dist/ui/client/ui/_app/immutable/entry/payload.DSmR2FwN.js.gz +0 -0
  126. package/dist/ui/client/ui/_app/immutable/entry/start.DqIv9xYX.js +2 -0
  127. package/dist/ui/client/ui/_app/immutable/entry/start.DqIv9xYX.js.br +0 -0
  128. package/dist/ui/client/ui/_app/immutable/entry/start.DqIv9xYX.js.gz +0 -0
  129. package/dist/ui/client/ui/_app/immutable/nodes/0.3bVKqGbx.js +1 -0
  130. package/dist/ui/client/ui/_app/immutable/nodes/0.3bVKqGbx.js.br +0 -0
  131. package/dist/ui/client/ui/_app/immutable/nodes/0.3bVKqGbx.js.gz +0 -0
  132. package/dist/ui/client/ui/_app/immutable/nodes/1.C81neQJL.js +1 -0
  133. package/dist/ui/client/ui/_app/immutable/nodes/1.C81neQJL.js.br +0 -0
  134. package/dist/ui/client/ui/_app/immutable/nodes/1.C81neQJL.js.gz +0 -0
  135. package/dist/ui/client/ui/_app/immutable/nodes/2.CmlyeAx_.js +1 -0
  136. package/dist/ui/client/ui/_app/immutable/nodes/2.CmlyeAx_.js.br +0 -0
  137. package/dist/ui/client/ui/_app/immutable/nodes/2.CmlyeAx_.js.gz +0 -0
  138. package/dist/ui/client/ui/_app/immutable/nodes/3.WT26F_BF.js +5 -0
  139. package/dist/ui/client/ui/_app/immutable/nodes/3.WT26F_BF.js.br +0 -0
  140. package/dist/ui/client/ui/_app/immutable/nodes/3.WT26F_BF.js.gz +0 -0
  141. package/dist/ui/client/ui/_app/immutable/nodes/4.tiDJxi6M.js +160 -0
  142. package/dist/ui/client/ui/_app/immutable/nodes/4.tiDJxi6M.js.br +0 -0
  143. package/dist/ui/client/ui/_app/immutable/nodes/4.tiDJxi6M.js.gz +0 -0
  144. package/dist/ui/client/ui/_app/immutable/nodes/5.MzfJoePg.js +6 -0
  145. package/dist/ui/client/ui/_app/immutable/nodes/5.MzfJoePg.js.br +0 -0
  146. package/dist/ui/client/ui/_app/immutable/nodes/5.MzfJoePg.js.gz +0 -0
  147. package/dist/ui/client/ui/_app/immutable/nodes/6.bNZhqiRK.js +6 -0
  148. package/dist/ui/client/ui/_app/immutable/nodes/6.bNZhqiRK.js.br +0 -0
  149. package/dist/ui/client/ui/_app/immutable/nodes/6.bNZhqiRK.js.gz +0 -0
  150. package/dist/ui/client/ui/_app/version.json +1 -0
  151. package/dist/ui/client/ui/_app/version.json.br +0 -0
  152. package/dist/ui/client/ui/_app/version.json.gz +0 -0
  153. package/dist/ui/client/ui/robots.txt +3 -0
  154. package/dist/ui/client/ui/robots.txt.br +0 -0
  155. package/dist/ui/client/ui/robots.txt.gz +0 -0
  156. package/dist/ui/handler.js +1 -0
  157. package/dist/ui/index.js +1 -0
  158. package/dist/ui/server/.vite/manifest.json +761 -0
  159. package/dist/ui/server/_app/immutable/assets/ExternalLink.CYXazpKA.css +1 -0
  160. package/dist/ui/server/_app/immutable/assets/Pane.Dgdg5KMw.css +1 -0
  161. package/dist/ui/server/_app/immutable/assets/_layout.DSVNnDlO.css +1 -0
  162. package/dist/ui/server/_app/immutable/assets/_layout.ONZWQgDA.css +1 -0
  163. package/dist/ui/server/_app/immutable/assets/_page.C0Nhvs_m.css +1 -0
  164. package/dist/ui/server/_app/immutable/assets/_page.DyY1vjRV.css +1 -0
  165. package/dist/ui/server/_app/immutable/assets/_page.WduKm4aT.css +1 -0
  166. package/dist/ui/server/_app/immutable/assets/_page.YyxFzHED.css +1 -0
  167. package/dist/ui/server/_app/immutable/assets/material-symbols-outlined-latin-400-normal.BhEvR8fk.woff2 +0 -0
  168. package/dist/ui/server/_app/immutable/assets/roboto-flex-cyrillic-ext-opsz-normal.nDQikIyu.woff2 +0 -0
  169. package/dist/ui/server/_app/immutable/assets/roboto-flex-cyrillic-opsz-normal.SjuC5rw5.woff2 +0 -0
  170. package/dist/ui/server/_app/immutable/assets/roboto-flex-greek-opsz-normal.C14fFRny.woff2 +0 -0
  171. package/dist/ui/server/_app/immutable/assets/roboto-flex-latin-ext-opsz-normal.xNclTVCo.woff2 +0 -0
  172. package/dist/ui/server/_app/immutable/assets/roboto-flex-latin-opsz-normal.hy8fyBBC.woff2 +0 -0
  173. package/dist/ui/server/_app/immutable/assets/roboto-flex-vietnamese-opsz-normal.C-H_yGOU.woff2 +0 -0
  174. package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-400-normal.B3hIXASd.woff +0 -0
  175. package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-400-normal.C-_K-ZCn.woff2 +0 -0
  176. package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-500-normal.DGZ7-lUP.woff2 +0 -0
  177. package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-500-normal.NpUJFYX7.woff +0 -0
  178. package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-ext-400-normal.BHxv52bw.woff2 +0 -0
  179. package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-ext-400-normal.W26xs1TL.woff +0 -0
  180. package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-ext-500-normal.6xdwlG7p.woff +0 -0
  181. package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-ext-500-normal.DC57U9n8.woff2 +0 -0
  182. package/dist/ui/server/_app/immutable/assets/roboto-mono-greek-400-normal.CH_u3Aru.woff2 +0 -0
  183. package/dist/ui/server/_app/immutable/assets/roboto-mono-greek-400-normal.P8xe1gs1.woff +0 -0
  184. package/dist/ui/server/_app/immutable/assets/roboto-mono-greek-500-normal.C2M8jX6G.woff +0 -0
  185. package/dist/ui/server/_app/immutable/assets/roboto-mono-greek-500-normal.DpRFkptA.woff2 +0 -0
  186. package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-400-normal.DBZPkcnn.woff +0 -0
  187. package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-400-normal.GekRknry.woff2 +0 -0
  188. package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-500-normal.D6j6AMzd.woff +0 -0
  189. package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-500-normal.pxIOXZmA.woff2 +0 -0
  190. package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-ext-400-normal.BwLXVYNz.woff +0 -0
  191. package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-ext-400-normal.DLAV9S_w.woff2 +0 -0
  192. package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-ext-500-normal.B1IjfbhL.woff +0 -0
  193. package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-ext-500-normal.Db3ge6Oe.woff2 +0 -0
  194. package/dist/ui/server/_app/immutable/assets/roboto-mono-vietnamese-400-normal.CzWHQABp.woff +0 -0
  195. package/dist/ui/server/_app/immutable/assets/roboto-mono-vietnamese-400-normal.yYTFiTTs.woff2 +0 -0
  196. package/dist/ui/server/_app/immutable/assets/roboto-mono-vietnamese-500-normal.Cq-quQMu.woff2 +0 -0
  197. package/dist/ui/server/_app/immutable/assets/roboto-mono-vietnamese-500-normal.IxzxMIj7.woff +0 -0
  198. package/dist/ui/server/adapter-env.js +1 -0
  199. package/dist/ui/server/adapter-index.js +73 -0
  200. package/dist/ui/server/adapter-index.js.map +1 -0
  201. package/dist/ui/server/adapter-node-env.js +63 -0
  202. package/dist/ui/server/adapter-node-env.js.map +1 -0
  203. package/dist/ui/server/adapter-node-handler.js +638 -0
  204. package/dist/ui/server/adapter-node-handler.js.map +1 -0
  205. package/dist/ui/server/chunks/ExternalLink.js +12 -0
  206. package/dist/ui/server/chunks/ExternalLink.js.map +1 -0
  207. package/dist/ui/server/chunks/Pane.js +13 -0
  208. package/dist/ui/server/chunks/Pane.js.map +1 -0
  209. package/dist/ui/server/chunks/composition.js +3468 -0
  210. package/dist/ui/server/chunks/composition.js.map +1 -0
  211. package/dist/ui/server/chunks/config-state.js +21 -0
  212. package/dist/ui/server/chunks/config-state.js.map +1 -0
  213. package/dist/ui/server/chunks/config.js +145 -0
  214. package/dist/ui/server/chunks/config.js.map +1 -0
  215. package/dist/ui/server/chunks/dialog.js +592 -0
  216. package/dist/ui/server/chunks/dialog.js.map +1 -0
  217. package/dist/ui/server/chunks/exports.js +352 -0
  218. package/dist/ui/server/chunks/exports.js.map +1 -0
  219. package/dist/ui/server/chunks/filled-button.js +116 -0
  220. package/dist/ui/server/chunks/filled-button.js.map +1 -0
  221. package/dist/ui/server/chunks/functions.js +29 -0
  222. package/dist/ui/server/chunks/functions.js.map +1 -0
  223. package/dist/ui/server/chunks/icon-button.js +234 -0
  224. package/dist/ui/server/chunks/icon-button.js.map +1 -0
  225. package/dist/ui/server/chunks/icon.js +49 -0
  226. package/dist/ui/server/chunks/icon.js.map +1 -0
  227. package/dist/ui/server/chunks/index-server.js +6 -0
  228. package/dist/ui/server/chunks/index-server.js.map +1 -0
  229. package/dist/ui/server/chunks/instance.js +3577 -0
  230. package/dist/ui/server/chunks/instance.js.map +1 -0
  231. package/dist/ui/server/chunks/internal.js +3577 -0
  232. package/dist/ui/server/chunks/internal.js.map +1 -0
  233. package/dist/ui/server/chunks/navigation.js +11 -0
  234. package/dist/ui/server/chunks/navigation.js.map +1 -0
  235. package/dist/ui/server/chunks/navigation2.js +15 -0
  236. package/dist/ui/server/chunks/navigation2.js.map +1 -0
  237. package/dist/ui/server/chunks/outlined-text-field.js +1477 -0
  238. package/dist/ui/server/chunks/outlined-text-field.js.map +1 -0
  239. package/dist/ui/server/chunks/paths.js +2 -0
  240. package/dist/ui/server/chunks/redispatch-event.js +91 -0
  241. package/dist/ui/server/chunks/redispatch-event.js.map +1 -0
  242. package/dist/ui/server/chunks/remote-1j2tn2d.js +4 -0
  243. package/dist/ui/server/chunks/remote.js +1580 -0
  244. package/dist/ui/server/chunks/remote.js.map +1 -0
  245. package/dist/ui/server/chunks/scope.js +13 -0
  246. package/dist/ui/server/chunks/scope.js.map +1 -0
  247. package/dist/ui/server/chunks/server-errors.js +471 -0
  248. package/dist/ui/server/chunks/server-errors.js.map +1 -0
  249. package/dist/ui/server/chunks/server.js +8 -0
  250. package/dist/ui/server/chunks/server.js.map +1 -0
  251. package/dist/ui/server/chunks/server2.js +1960 -0
  252. package/dist/ui/server/chunks/server2.js.map +1 -0
  253. package/dist/ui/server/chunks/sessions.js +65 -0
  254. package/dist/ui/server/chunks/sessions.js.map +1 -0
  255. package/dist/ui/server/chunks/sessions.remote.js +56 -0
  256. package/dist/ui/server/chunks/sessions.remote.js.map +1 -0
  257. package/dist/ui/server/chunks/shared-errors.js +198 -0
  258. package/dist/ui/server/chunks/shared-errors.js.map +1 -0
  259. package/dist/ui/server/chunks/shared.js +85 -0
  260. package/dist/ui/server/chunks/shared.js.map +1 -0
  261. package/dist/ui/server/chunks/src.js +1217 -0
  262. package/dist/ui/server/chunks/src.js.map +1 -0
  263. package/dist/ui/server/chunks/state.js +38 -0
  264. package/dist/ui/server/chunks/state.js.map +1 -0
  265. package/dist/ui/server/chunks/static-html.js +38 -0
  266. package/dist/ui/server/chunks/static-html.js.map +1 -0
  267. package/dist/ui/server/chunks/text-button.js +307 -0
  268. package/dist/ui/server/chunks/text-button.js.map +1 -0
  269. package/dist/ui/server/entries/endpoints/api/config/_server.ts.js +19 -0
  270. package/dist/ui/server/entries/endpoints/api/config/_server.ts.js.map +1 -0
  271. package/dist/ui/server/entries/endpoints/api/input/keys/_server.ts.js +14 -0
  272. package/dist/ui/server/entries/endpoints/api/input/keys/_server.ts.js.map +1 -0
  273. package/dist/ui/server/entries/endpoints/api/markers/_server.ts.js +13 -0
  274. package/dist/ui/server/entries/endpoints/api/markers/_server.ts.js.map +1 -0
  275. package/dist/ui/server/entries/endpoints/api/sessions/_id_id_/_server.ts.js +12 -0
  276. package/dist/ui/server/entries/endpoints/api/sessions/_id_id_/_server.ts.js.map +1 -0
  277. package/dist/ui/server/entries/endpoints/api/sessions/_server.ts.js +13 -0
  278. package/dist/ui/server/entries/endpoints/api/sessions/_server.ts.js.map +1 -0
  279. package/dist/ui/server/entries/endpoints/api/sessions/end/_server.ts.js +9 -0
  280. package/dist/ui/server/entries/endpoints/api/sessions/end/_server.ts.js.map +1 -0
  281. package/dist/ui/server/entries/endpoints/api/speech/_server.ts.js +25 -0
  282. package/dist/ui/server/entries/endpoints/api/speech/_server.ts.js.map +1 -0
  283. package/dist/ui/server/entries/endpoints/api/speech/stream/_server.ts.js +19 -0
  284. package/dist/ui/server/entries/endpoints/api/speech/stream/_server.ts.js.map +1 -0
  285. package/dist/ui/server/entries/endpoints/api/status/_server.ts.js +9 -0
  286. package/dist/ui/server/entries/endpoints/api/status/_server.ts.js.map +1 -0
  287. package/dist/ui/server/entries/hooks.server.js +161 -0
  288. package/dist/ui/server/entries/hooks.server.js.map +1 -0
  289. package/dist/ui/server/entries/pages/_error.svelte.js +16 -0
  290. package/dist/ui/server/entries/pages/_error.svelte.js.map +1 -0
  291. package/dist/ui/server/entries/pages/_layout.server.ts.js +17 -0
  292. package/dist/ui/server/entries/pages/_layout.server.ts.js.map +1 -0
  293. package/dist/ui/server/entries/pages/_layout.svelte.js +175 -0
  294. package/dist/ui/server/entries/pages/_layout.svelte.js.map +1 -0
  295. package/dist/ui/server/entries/pages/_page.server.ts.js +18 -0
  296. package/dist/ui/server/entries/pages/_page.server.ts.js.map +1 -0
  297. package/dist/ui/server/entries/pages/_page.svelte.js +444 -0
  298. package/dist/ui/server/entries/pages/_page.svelte.js.map +1 -0
  299. package/dist/ui/server/entries/pages/settings/_page.server.ts.js +12 -0
  300. package/dist/ui/server/entries/pages/settings/_page.server.ts.js.map +1 -0
  301. package/dist/ui/server/entries/pages/settings/_page.svelte.js +3531 -0
  302. package/dist/ui/server/entries/pages/settings/_page.svelte.js.map +1 -0
  303. package/dist/ui/server/entries/pages/setup/_layout.svelte.js +51 -0
  304. package/dist/ui/server/entries/pages/setup/_layout.svelte.js.map +1 -0
  305. package/dist/ui/server/entries/pages/setup/_page.svelte.js +230 -0
  306. package/dist/ui/server/entries/pages/setup/_page.svelte.js.map +1 -0
  307. package/dist/ui/server/entries/pages/setup/instructions/_page.server.ts.js +12 -0
  308. package/dist/ui/server/entries/pages/setup/instructions/_page.server.ts.js.map +1 -0
  309. package/dist/ui/server/entries/pages/setup/instructions/_page.svelte.js +271 -0
  310. package/dist/ui/server/entries/pages/setup/instructions/_page.svelte.js.map +1 -0
  311. package/dist/ui/server/entries/params.js +60 -0
  312. package/dist/ui/server/entries/params.js.map +1 -0
  313. package/dist/ui/server/env.js +1 -0
  314. package/dist/ui/server/handler.js +1 -0
  315. package/dist/ui/server/index.js +67 -0
  316. package/dist/ui/server/index.js.map +1 -0
  317. package/dist/ui/server/manifest-full.js +126 -0
  318. package/dist/ui/server/manifest.js +126 -0
  319. package/dist/ui/server/nodes/0.js +10 -0
  320. package/dist/ui/server/nodes/1.js +8 -0
  321. package/dist/ui/server/nodes/2.js +8 -0
  322. package/dist/ui/server/nodes/3.js +10 -0
  323. package/dist/ui/server/nodes/4.js +10 -0
  324. package/dist/ui/server/nodes/5.js +8 -0
  325. package/dist/ui/server/nodes/6.js +10 -0
  326. package/dist/ui/server/remote-entry.js +1 -0
  327. package/dist/ui/server/server.js +128 -0
  328. package/package.json +39 -3
@@ -0,0 +1,1477 @@
1
+ import { A as i$4, B as e$2, E as EASING, F as E, G as t$1, H as r$1, I as T, K as __decorate, L as Z, M as i$2, N as A, O as e$1, P as B, S as mixinElementInternals, T as mixinDelegatesAria, U as n$2, W as i$3, b as mixinFormAssociated, j as t$2, k as e$3, x as internals, y as getFormValue } from "./composition.js";
2
+ import { r as o$1 } from "./text-button.js";
3
+ import { n as u$1, t as i$5 } from "./static-html.js";
4
+ import { t as redispatchEvent } from "./redispatch-event.js";
5
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/field/internal/field.js
6
+ /**
7
+ * @license
8
+ * Copyright 2021 Google LLC
9
+ * SPDX-License-Identifier: Apache-2.0
10
+ */
11
+ /**
12
+ * A field component.
13
+ */
14
+ var Field = class extends i$2 {
15
+ constructor() {
16
+ super(...arguments);
17
+ this.disabled = false;
18
+ this.error = false;
19
+ this.focused = false;
20
+ this.label = "";
21
+ this.noAsterisk = false;
22
+ this.populated = false;
23
+ this.required = false;
24
+ this.resizable = false;
25
+ this.supportingText = "";
26
+ this.errorText = "";
27
+ this.count = -1;
28
+ this.max = -1;
29
+ /**
30
+ * Whether or not the field has leading content.
31
+ */
32
+ this.hasStart = false;
33
+ /**
34
+ * Whether or not the field has trailing content.
35
+ */
36
+ this.hasEnd = false;
37
+ this.isAnimating = false;
38
+ /**
39
+ * When set to true, the error text's `role="alert"` will be removed, then
40
+ * re-added after an animation frame. This will re-announce an error message
41
+ * to screen readers.
42
+ */
43
+ this.refreshErrorAlert = false;
44
+ this.disableTransitions = false;
45
+ }
46
+ get counterText() {
47
+ const countAsNumber = this.count ?? -1;
48
+ const maxAsNumber = this.max ?? -1;
49
+ if (countAsNumber < 0 || maxAsNumber <= 0) return "";
50
+ return `${countAsNumber} / ${maxAsNumber}`;
51
+ }
52
+ get supportingOrErrorText() {
53
+ return this.error && this.errorText ? this.errorText : this.supportingText;
54
+ }
55
+ /**
56
+ * Re-announces the field's error supporting text to screen readers.
57
+ *
58
+ * Error text announces to screen readers anytime it is visible and changes.
59
+ * Use the method to re-announce the message when the text has not changed,
60
+ * but announcement is still needed (such as for `reportValidity()`).
61
+ */
62
+ reannounceError() {
63
+ this.refreshErrorAlert = true;
64
+ }
65
+ update(props) {
66
+ if (props.has("disabled") && props.get("disabled") !== void 0) this.disableTransitions = true;
67
+ if (this.disabled && this.focused) {
68
+ props.set("focused", true);
69
+ this.focused = false;
70
+ }
71
+ this.animateLabelIfNeeded({
72
+ wasFocused: props.get("focused"),
73
+ wasPopulated: props.get("populated")
74
+ });
75
+ super.update(props);
76
+ }
77
+ render() {
78
+ const floatingLabel = this.renderLabel(true);
79
+ const restingLabel = this.renderLabel(false);
80
+ const outline = this.renderOutline?.(floatingLabel);
81
+ const classes = {
82
+ "disabled": this.disabled,
83
+ "disable-transitions": this.disableTransitions,
84
+ "error": this.error && !this.disabled,
85
+ "focused": this.focused,
86
+ "with-start": this.hasStart,
87
+ "with-end": this.hasEnd,
88
+ "populated": this.populated,
89
+ "resizable": this.resizable,
90
+ "required": this.required,
91
+ "no-label": !this.label
92
+ };
93
+ return T`
94
+ <div class="field ${e$1(classes)}">
95
+ <div class="container-overflow">
96
+ ${this.renderBackground?.()}
97
+ <slot name="container"></slot>
98
+ ${this.renderStateLayer?.()} ${this.renderIndicator?.()} ${outline}
99
+ <div class="container">
100
+ <div class="start">
101
+ <slot name="start"></slot>
102
+ </div>
103
+ <div class="middle">
104
+ <div class="label-wrapper">
105
+ ${restingLabel} ${outline ? A : floatingLabel}
106
+ </div>
107
+ <div class="content">
108
+ <slot></slot>
109
+ </div>
110
+ </div>
111
+ <div class="end">
112
+ <slot name="end"></slot>
113
+ </div>
114
+ </div>
115
+ </div>
116
+ ${this.renderSupportingText()}
117
+ </div>
118
+ `;
119
+ }
120
+ updated(changed) {
121
+ if (changed.has("supportingText") || changed.has("errorText") || changed.has("count") || changed.has("max")) this.updateSlottedAriaDescribedBy();
122
+ if (this.refreshErrorAlert) requestAnimationFrame(() => {
123
+ this.refreshErrorAlert = false;
124
+ });
125
+ if (this.disableTransitions) requestAnimationFrame(() => {
126
+ this.disableTransitions = false;
127
+ });
128
+ }
129
+ renderSupportingText() {
130
+ const { supportingOrErrorText, counterText } = this;
131
+ if (!supportingOrErrorText && !counterText) return A;
132
+ const start = T`<span>${supportingOrErrorText}</span>`;
133
+ const end = counterText ? T`<span class="counter">${counterText}</span>` : A;
134
+ const role = this.error && this.errorText && !this.refreshErrorAlert ? "alert" : A;
135
+ return T`
136
+ <div class="supporting-text" role=${role}>${start}${end}</div>
137
+ <slot
138
+ name="aria-describedby"
139
+ @slotchange=${this.updateSlottedAriaDescribedBy}></slot>
140
+ `;
141
+ }
142
+ updateSlottedAriaDescribedBy() {
143
+ for (const element of this.slottedAriaDescribedBy) {
144
+ B(T`${this.supportingOrErrorText} ${this.counterText}`, element);
145
+ element.setAttribute("hidden", "");
146
+ }
147
+ }
148
+ renderLabel(isFloating) {
149
+ if (!this.label) return A;
150
+ let visible;
151
+ if (isFloating) visible = this.focused || this.populated || this.isAnimating;
152
+ else visible = !this.focused && !this.populated && !this.isAnimating;
153
+ const classes = {
154
+ "hidden": !visible,
155
+ "floating": isFloating,
156
+ "resting": !isFloating
157
+ };
158
+ const labelText = `${this.label}${this.required && !this.noAsterisk ? "*" : ""}`;
159
+ return T`
160
+ <span class="label ${e$1(classes)}" aria-hidden=${!visible}
161
+ >${labelText}</span
162
+ >
163
+ `;
164
+ }
165
+ animateLabelIfNeeded({ wasFocused, wasPopulated }) {
166
+ if (!this.label) return;
167
+ wasFocused ??= this.focused;
168
+ wasPopulated ??= this.populated;
169
+ if ((wasFocused || wasPopulated) === (this.focused || this.populated)) return;
170
+ const keyframes = this.getLabelKeyframes();
171
+ if (!keyframes.length) return;
172
+ this.isAnimating = true;
173
+ this.labelAnimation?.cancel();
174
+ this.labelAnimation = this.floatingLabelEl?.animate(keyframes, {
175
+ duration: 150,
176
+ easing: EASING.STANDARD
177
+ });
178
+ this.labelAnimation?.addEventListener("finish", () => {
179
+ this.isAnimating = false;
180
+ });
181
+ }
182
+ getLabelKeyframes() {
183
+ const { floatingLabelEl, restingLabelEl } = this;
184
+ if (!floatingLabelEl || !restingLabelEl) return [];
185
+ const { x: floatingX, y: floatingY, height: floatingHeight } = floatingLabelEl.getBoundingClientRect();
186
+ const { x: restingX, y: restingY, height: restingHeight } = restingLabelEl.getBoundingClientRect();
187
+ const floatingScrollWidth = floatingLabelEl.scrollWidth;
188
+ const restingScrollWidth = restingLabelEl.scrollWidth;
189
+ if (floatingScrollWidth === 0 || restingScrollWidth === 0) return [];
190
+ const scale = restingScrollWidth / floatingScrollWidth;
191
+ const restTransform = `translateX(${restingX - floatingX}px) translateY(${restingY - floatingY + Math.round((restingHeight - floatingHeight * scale) / 2)}px) scale(${scale})`;
192
+ const floatTransform = `translateX(0) translateY(0) scale(1)`;
193
+ const restingClientWidth = restingLabelEl.clientWidth;
194
+ const width = restingScrollWidth > restingClientWidth ? `${restingClientWidth / scale}px` : "";
195
+ if (this.focused || this.populated) return [{
196
+ transform: restTransform,
197
+ width
198
+ }, {
199
+ transform: floatTransform,
200
+ width
201
+ }];
202
+ return [{
203
+ transform: floatTransform,
204
+ width
205
+ }, {
206
+ transform: restTransform,
207
+ width
208
+ }];
209
+ }
210
+ getSurfacePositionClientRect() {
211
+ return this.containerEl.getBoundingClientRect();
212
+ }
213
+ };
214
+ __decorate([n$2({ type: Boolean })], Field.prototype, "disabled", void 0);
215
+ __decorate([n$2({ type: Boolean })], Field.prototype, "error", void 0);
216
+ __decorate([n$2({ type: Boolean })], Field.prototype, "focused", void 0);
217
+ __decorate([n$2()], Field.prototype, "label", void 0);
218
+ __decorate([n$2({
219
+ type: Boolean,
220
+ attribute: "no-asterisk"
221
+ })], Field.prototype, "noAsterisk", void 0);
222
+ __decorate([n$2({ type: Boolean })], Field.prototype, "populated", void 0);
223
+ __decorate([n$2({ type: Boolean })], Field.prototype, "required", void 0);
224
+ __decorate([n$2({ type: Boolean })], Field.prototype, "resizable", void 0);
225
+ __decorate([n$2({ attribute: "supporting-text" })], Field.prototype, "supportingText", void 0);
226
+ __decorate([n$2({ attribute: "error-text" })], Field.prototype, "errorText", void 0);
227
+ __decorate([n$2({ type: Number })], Field.prototype, "count", void 0);
228
+ __decorate([n$2({ type: Number })], Field.prototype, "max", void 0);
229
+ __decorate([n$2({
230
+ type: Boolean,
231
+ attribute: "has-start"
232
+ })], Field.prototype, "hasStart", void 0);
233
+ __decorate([n$2({
234
+ type: Boolean,
235
+ attribute: "has-end"
236
+ })], Field.prototype, "hasEnd", void 0);
237
+ __decorate([o$1({ slot: "aria-describedby" })], Field.prototype, "slottedAriaDescribedBy", void 0);
238
+ __decorate([r$1()], Field.prototype, "isAnimating", void 0);
239
+ __decorate([r$1()], Field.prototype, "refreshErrorAlert", void 0);
240
+ __decorate([r$1()], Field.prototype, "disableTransitions", void 0);
241
+ __decorate([e$2(".label.floating")], Field.prototype, "floatingLabelEl", void 0);
242
+ __decorate([e$2(".label.resting")], Field.prototype, "restingLabelEl", void 0);
243
+ __decorate([e$2(".container")], Field.prototype, "containerEl", void 0);
244
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/field/internal/outlined-field.js
245
+ /**
246
+ * @license
247
+ * Copyright 2021 Google LLC
248
+ * SPDX-License-Identifier: Apache-2.0
249
+ */
250
+ /**
251
+ * An outlined field component.
252
+ */
253
+ var OutlinedField = class extends Field {
254
+ renderOutline(floatingLabel) {
255
+ return T`
256
+ <div class="outline">
257
+ <div class="outline-start"></div>
258
+ <div class="outline-notch">
259
+ <div class="outline-panel-inactive"></div>
260
+ <div class="outline-panel-active"></div>
261
+ <div class="outline-label">${floatingLabel}</div>
262
+ </div>
263
+ <div class="outline-end"></div>
264
+ </div>
265
+ `;
266
+ }
267
+ };
268
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/field/internal/outlined-styles.cssresult.js
269
+ /**
270
+ * @license
271
+ * Copyright 2026 Google LLC
272
+ * SPDX-License-Identifier: Apache-2.0
273
+ */
274
+ var styles$3 = i$3`@layer styles{:host{--_bottom-space: var(--md-outlined-field-bottom-space, 16px);--_content-color: var(--md-outlined-field-content-color, var(--md-sys-color-on-surface, #1d1b20));--_content-font: var(--md-outlined-field-content-font, var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto)));--_content-line-height: var(--md-outlined-field-content-line-height, var(--md-sys-typescale-body-large-line-height, 1.5rem));--_content-size: var(--md-outlined-field-content-size, var(--md-sys-typescale-body-large-size, 1rem));--_content-space: var(--md-outlined-field-content-space, 16px);--_content-weight: var(--md-outlined-field-content-weight, var(--md-sys-typescale-body-large-weight, var(--md-ref-typeface-weight-regular, 400)));--_disabled-content-color: var(--md-outlined-field-disabled-content-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-content-opacity: var(--md-outlined-field-disabled-content-opacity, 0.38);--_disabled-label-text-color: var(--md-outlined-field-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-outlined-field-disabled-label-text-opacity, 0.38);--_disabled-leading-content-color: var(--md-outlined-field-disabled-leading-content-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-leading-content-opacity: var(--md-outlined-field-disabled-leading-content-opacity, 0.38);--_disabled-outline-color: var(--md-outlined-field-disabled-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-outline-opacity: var(--md-outlined-field-disabled-outline-opacity, 0.12);--_disabled-outline-width: var(--md-outlined-field-disabled-outline-width, 1px);--_disabled-supporting-text-color: var(--md-outlined-field-disabled-supporting-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-supporting-text-opacity: var(--md-outlined-field-disabled-supporting-text-opacity, 0.38);--_disabled-trailing-content-color: var(--md-outlined-field-disabled-trailing-content-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-trailing-content-opacity: var(--md-outlined-field-disabled-trailing-content-opacity, 0.38);--_error-content-color: var(--md-outlined-field-error-content-color, var(--md-sys-color-on-surface, #1d1b20));--_error-focus-content-color: var(--md-outlined-field-error-focus-content-color, var(--md-sys-color-on-surface, #1d1b20));--_error-focus-label-text-color: var(--md-outlined-field-error-focus-label-text-color, var(--md-sys-color-error, #b3261e));--_error-focus-leading-content-color: var(--md-outlined-field-error-focus-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-focus-outline-color: var(--md-outlined-field-error-focus-outline-color, var(--md-sys-color-error, #b3261e));--_error-focus-supporting-text-color: var(--md-outlined-field-error-focus-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-focus-trailing-content-color: var(--md-outlined-field-error-focus-trailing-content-color, var(--md-sys-color-error, #b3261e));--_error-hover-content-color: var(--md-outlined-field-error-hover-content-color, var(--md-sys-color-on-surface, #1d1b20));--_error-hover-label-text-color: var(--md-outlined-field-error-hover-label-text-color, var(--md-sys-color-on-error-container, #410e0b));--_error-hover-leading-content-color: var(--md-outlined-field-error-hover-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-hover-outline-color: var(--md-outlined-field-error-hover-outline-color, var(--md-sys-color-on-error-container, #410e0b));--_error-hover-supporting-text-color: var(--md-outlined-field-error-hover-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-hover-trailing-content-color: var(--md-outlined-field-error-hover-trailing-content-color, var(--md-sys-color-on-error-container, #410e0b));--_error-label-text-color: var(--md-outlined-field-error-label-text-color, var(--md-sys-color-error, #b3261e));--_error-leading-content-color: var(--md-outlined-field-error-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-outline-color: var(--md-outlined-field-error-outline-color, var(--md-sys-color-error, #b3261e));--_error-supporting-text-color: var(--md-outlined-field-error-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-trailing-content-color: var(--md-outlined-field-error-trailing-content-color, var(--md-sys-color-error, #b3261e));--_focus-content-color: var(--md-outlined-field-focus-content-color, var(--md-sys-color-on-surface, #1d1b20));--_focus-label-text-color: var(--md-outlined-field-focus-label-text-color, var(--md-sys-color-primary, #6750a4));--_focus-leading-content-color: var(--md-outlined-field-focus-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_focus-outline-color: var(--md-outlined-field-focus-outline-color, var(--md-sys-color-primary, #6750a4));--_focus-outline-width: var(--md-outlined-field-focus-outline-width, 3px);--_focus-supporting-text-color: var(--md-outlined-field-focus-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_focus-trailing-content-color: var(--md-outlined-field-focus-trailing-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-content-color: var(--md-outlined-field-hover-content-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-label-text-color: var(--md-outlined-field-hover-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-leading-content-color: var(--md-outlined-field-hover-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-outline-color: var(--md-outlined-field-hover-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-outline-width: var(--md-outlined-field-hover-outline-width, 1px);--_hover-supporting-text-color: var(--md-outlined-field-hover-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-trailing-content-color: var(--md-outlined-field-hover-trailing-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_label-text-color: var(--md-outlined-field-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_label-text-font: var(--md-outlined-field-label-text-font, var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-outlined-field-label-text-line-height, var(--md-sys-typescale-body-large-line-height, 1.5rem));--_label-text-padding-bottom: var(--md-outlined-field-label-text-padding-bottom, 8px);--_label-text-populated-line-height: var(--md-outlined-field-label-text-populated-line-height, var(--md-sys-typescale-body-small-line-height, 1rem));--_label-text-populated-size: var(--md-outlined-field-label-text-populated-size, var(--md-sys-typescale-body-small-size, 0.75rem));--_label-text-size: var(--md-outlined-field-label-text-size, var(--md-sys-typescale-body-large-size, 1rem));--_label-text-weight: var(--md-outlined-field-label-text-weight, var(--md-sys-typescale-body-large-weight, var(--md-ref-typeface-weight-regular, 400)));--_leading-content-color: var(--md-outlined-field-leading-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_leading-space: var(--md-outlined-field-leading-space, 16px);--_outline-color: var(--md-outlined-field-outline-color, var(--md-sys-color-outline, #79747e));--_outline-label-padding: var(--md-outlined-field-outline-label-padding, 4px);--_outline-width: var(--md-outlined-field-outline-width, 1px);--_supporting-text-color: var(--md-outlined-field-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_supporting-text-font: var(--md-outlined-field-supporting-text-font, var(--md-sys-typescale-body-small-font, var(--md-ref-typeface-plain, Roboto)));--_supporting-text-leading-space: var(--md-outlined-field-supporting-text-leading-space, 16px);--_supporting-text-line-height: var(--md-outlined-field-supporting-text-line-height, var(--md-sys-typescale-body-small-line-height, 1rem));--_supporting-text-size: var(--md-outlined-field-supporting-text-size, var(--md-sys-typescale-body-small-size, 0.75rem));--_supporting-text-top-space: var(--md-outlined-field-supporting-text-top-space, 4px);--_supporting-text-trailing-space: var(--md-outlined-field-supporting-text-trailing-space, 16px);--_supporting-text-weight: var(--md-outlined-field-supporting-text-weight, var(--md-sys-typescale-body-small-weight, var(--md-ref-typeface-weight-regular, 400)));--_top-space: var(--md-outlined-field-top-space, 16px);--_trailing-content-color: var(--md-outlined-field-trailing-content-color, var(--md-sys-color-on-surface-variant, #49454f));--_trailing-space: var(--md-outlined-field-trailing-space, 16px);--_with-leading-content-leading-space: var(--md-outlined-field-with-leading-content-leading-space, 12px);--_with-trailing-content-trailing-space: var(--md-outlined-field-with-trailing-content-trailing-space, 12px);--_container-shape-start-start: var(--md-outlined-field-container-shape-start-start, var(--md-outlined-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-start-end: var(--md-outlined-field-container-shape-start-end, var(--md-outlined-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-end-end: var(--md-outlined-field-container-shape-end-end, var(--md-outlined-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-end-start: var(--md-outlined-field-container-shape-end-start, var(--md-outlined-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)))}.outline{border-color:var(--_outline-color);border-radius:inherit;display:flex;pointer-events:none;height:100%;position:absolute;width:100%;z-index:1}.outline-start::before,.outline-start::after,.outline-panel-inactive::before,.outline-panel-inactive::after,.outline-panel-active::before,.outline-panel-active::after,.outline-end::before,.outline-end::after{border:inherit;content:"";inset:0;position:absolute}.outline-start,.outline-end{border:inherit;border-radius:inherit;box-sizing:border-box;position:relative}.outline-start::before,.outline-start::after,.outline-end::before,.outline-end::after{border-bottom-style:solid;border-top-style:solid}.outline-start::after,.outline-end::after{opacity:0;transition:opacity 150ms cubic-bezier(0.2, 0, 0, 1)}.focused .outline-start::after,.focused .outline-end::after{opacity:1}.outline-start::before,.outline-start::after{border-inline-start-style:solid;border-inline-end-style:none;border-start-start-radius:inherit;border-start-end-radius:0;border-end-start-radius:inherit;border-end-end-radius:0;margin-inline-end:var(--_outline-label-padding)}.outline-end{flex-grow:1;margin-inline-start:calc(-1*var(--_outline-label-padding))}.outline-end::before,.outline-end::after{border-inline-start-style:none;border-inline-end-style:solid;border-start-start-radius:0;border-start-end-radius:inherit;border-end-start-radius:0;border-end-end-radius:inherit}.outline-notch{align-items:flex-start;border:inherit;display:flex;margin-inline-start:calc(-1*var(--_outline-label-padding));margin-inline-end:var(--_outline-label-padding);max-width:calc(100% - var(--_leading-space) - var(--_trailing-space));padding:0 var(--_outline-label-padding);position:relative}.no-label .outline-notch{display:none}.outline-panel-inactive,.outline-panel-active{border:inherit;border-bottom-style:solid;inset:0;position:absolute}.outline-panel-inactive::before,.outline-panel-inactive::after,.outline-panel-active::before,.outline-panel-active::after{border-top-style:solid;border-bottom:none;bottom:auto;transform:scaleX(1);transition:transform 150ms cubic-bezier(0.2, 0, 0, 1)}.outline-panel-inactive::before,.outline-panel-active::before{right:50%;transform-origin:top left}.outline-panel-inactive::after,.outline-panel-active::after{left:50%;transform-origin:top right}.populated .outline-panel-inactive::before,.populated .outline-panel-inactive::after,.populated .outline-panel-active::before,.populated .outline-panel-active::after,.focused .outline-panel-inactive::before,.focused .outline-panel-inactive::after,.focused .outline-panel-active::before,.focused .outline-panel-active::after{transform:scaleX(0)}.outline-panel-active{opacity:0;transition:opacity 150ms cubic-bezier(0.2, 0, 0, 1)}.focused .outline-panel-active{opacity:1}.outline-label{display:flex;max-width:100%;transform:translateY(calc(-100% + var(--_label-text-padding-bottom)))}.outline-start,.field:not(.with-start) .content ::slotted(*){padding-inline-start:max(var(--_leading-space),max(var(--_container-shape-start-start),var(--_container-shape-end-start)) + var(--_outline-label-padding))}.field:not(.with-start) .label-wrapper{margin-inline-start:max(var(--_leading-space),max(var(--_container-shape-start-start),var(--_container-shape-end-start)) + var(--_outline-label-padding))}.field:not(.with-end) .content ::slotted(*){padding-inline-end:max(var(--_trailing-space),max(var(--_container-shape-start-end),var(--_container-shape-end-end)))}.field:not(.with-end) .label-wrapper{margin-inline-end:max(var(--_trailing-space),max(var(--_container-shape-start-end),var(--_container-shape-end-end)))}.outline-start::before,.outline-end::before,.outline-panel-inactive,.outline-panel-inactive::before,.outline-panel-inactive::after{border-width:var(--_outline-width)}:hover .outline{border-color:var(--_hover-outline-color);color:var(--_hover-outline-color)}:hover .outline-start::before,:hover .outline-end::before,:hover .outline-panel-inactive,:hover .outline-panel-inactive::before,:hover .outline-panel-inactive::after{border-width:var(--_hover-outline-width)}.focused .outline{border-color:var(--_focus-outline-color);color:var(--_focus-outline-color)}.outline-start::after,.outline-end::after,.outline-panel-active,.outline-panel-active::before,.outline-panel-active::after{border-width:var(--_focus-outline-width)}.disabled .outline{border-color:var(--_disabled-outline-color);color:var(--_disabled-outline-color)}.disabled .outline-start,.disabled .outline-end,.disabled .outline-panel-inactive{opacity:var(--_disabled-outline-opacity)}.disabled .outline-start::before,.disabled .outline-end::before,.disabled .outline-panel-inactive,.disabled .outline-panel-inactive::before,.disabled .outline-panel-inactive::after{border-width:var(--_disabled-outline-width)}.error .outline{border-color:var(--_error-outline-color);color:var(--_error-outline-color)}.error:hover .outline{border-color:var(--_error-hover-outline-color);color:var(--_error-hover-outline-color)}.error.focused .outline{border-color:var(--_error-focus-outline-color);color:var(--_error-focus-outline-color)}.resizable .container{bottom:var(--_focus-outline-width);inset-inline-end:var(--_focus-outline-width);clip-path:inset(var(--_focus-outline-width) 0 0 var(--_focus-outline-width))}.resizable .container>*{top:var(--_focus-outline-width);inset-inline-start:var(--_focus-outline-width)}.resizable .container:dir(rtl){clip-path:inset(var(--_focus-outline-width) var(--_focus-outline-width) 0 0)}}@layer hcm{@media(forced-colors: active){.disabled .outline{border-color:GrayText;color:GrayText}.disabled :is(.outline-start,.outline-end,.outline-panel-inactive){opacity:1}}}
275
+ `;
276
+ styles$3.styleSheet;
277
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/field/internal/shared-styles.cssresult.js
278
+ /**
279
+ * @license
280
+ * Copyright 2026 Google LLC
281
+ * SPDX-License-Identifier: Apache-2.0
282
+ */
283
+ var styles$2 = i$3`:host{display:inline-flex;resize:both}.field{display:flex;flex:1;flex-direction:column;writing-mode:horizontal-tb;max-width:100%}.container-overflow{border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-end-radius:var(--_container-shape-end-end);border-end-start-radius:var(--_container-shape-end-start);display:flex;height:100%;position:relative}.container{align-items:center;border-radius:inherit;display:flex;flex:1;max-height:100%;min-height:100%;min-width:min-content;position:relative}.field,.container-overflow{resize:inherit}.resizable:not(.disabled) .container{resize:inherit;overflow:hidden}.disabled{pointer-events:none}slot[name=container]{border-radius:inherit}slot[name=container]::slotted(*){border-radius:inherit;inset:0;pointer-events:none;position:absolute}@layer styles{.start,.middle,.end{display:flex;box-sizing:border-box;height:100%;position:relative}.start{color:var(--_leading-content-color)}.end{color:var(--_trailing-content-color)}.start,.end{align-items:center;justify-content:center}.with-start .start{margin-inline:var(--_with-leading-content-leading-space) var(--_content-space)}.with-end .end{margin-inline:var(--_content-space) var(--_with-trailing-content-trailing-space)}.middle{align-items:stretch;align-self:baseline;flex:1}.content{color:var(--_content-color);display:flex;flex:1;opacity:0;transition:opacity 83ms cubic-bezier(0.2, 0, 0, 1)}.no-label .content,.focused .content,.populated .content{opacity:1;transition-delay:67ms}:is(.disabled,.disable-transitions) .content{transition:none}.content ::slotted(*){all:unset;color:currentColor;font-family:var(--_content-font);font-size:var(--_content-size);line-height:var(--_content-line-height);font-weight:var(--_content-weight);width:100%;overflow-wrap:revert;white-space:revert}.content ::slotted(:not(textarea)){padding-top:var(--_top-space);padding-bottom:var(--_bottom-space)}.content ::slotted(textarea){margin-top:var(--_top-space);margin-bottom:var(--_bottom-space)}:hover .content{color:var(--_hover-content-color)}:hover .start{color:var(--_hover-leading-content-color)}:hover .end{color:var(--_hover-trailing-content-color)}.focused .content{color:var(--_focus-content-color)}.focused .start{color:var(--_focus-leading-content-color)}.focused .end{color:var(--_focus-trailing-content-color)}.disabled .content{color:var(--_disabled-content-color)}.disabled.no-label .content,.disabled.focused .content,.disabled.populated .content{opacity:var(--_disabled-content-opacity)}.disabled .start{color:var(--_disabled-leading-content-color);opacity:var(--_disabled-leading-content-opacity)}.disabled .end{color:var(--_disabled-trailing-content-color);opacity:var(--_disabled-trailing-content-opacity)}.error .content{color:var(--_error-content-color)}.error .start{color:var(--_error-leading-content-color)}.error .end{color:var(--_error-trailing-content-color)}.error:hover .content{color:var(--_error-hover-content-color)}.error:hover .start{color:var(--_error-hover-leading-content-color)}.error:hover .end{color:var(--_error-hover-trailing-content-color)}.error.focused .content{color:var(--_error-focus-content-color)}.error.focused .start{color:var(--_error-focus-leading-content-color)}.error.focused .end{color:var(--_error-focus-trailing-content-color)}}@layer hcm{@media(forced-colors: active){.disabled :is(.start,.content,.end){color:GrayText;opacity:1}}}@layer styles{.label{box-sizing:border-box;color:var(--_label-text-color);overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap;z-index:1;font-family:var(--_label-text-font);font-size:var(--_label-text-size);line-height:var(--_label-text-line-height);font-weight:var(--_label-text-weight);width:min-content}.label-wrapper{inset:0;pointer-events:none;position:absolute}.label.resting{position:absolute;top:var(--_top-space)}.label.floating{font-size:var(--_label-text-populated-size);line-height:var(--_label-text-populated-line-height);transform-origin:top left}.label.hidden{opacity:0}.no-label .label{display:none}.label-wrapper{inset:0;position:absolute;text-align:initial}:hover .label{color:var(--_hover-label-text-color)}.focused .label{color:var(--_focus-label-text-color)}.disabled .label{color:var(--_disabled-label-text-color)}.disabled .label:not(.hidden){opacity:var(--_disabled-label-text-opacity)}.error .label{color:var(--_error-label-text-color)}.error:hover .label{color:var(--_error-hover-label-text-color)}.error.focused .label{color:var(--_error-focus-label-text-color)}}@layer hcm{@media(forced-colors: active){.disabled .label:not(.hidden){color:GrayText;opacity:1}}}@layer styles{.supporting-text{color:var(--_supporting-text-color);display:flex;font-family:var(--_supporting-text-font);font-size:var(--_supporting-text-size);line-height:var(--_supporting-text-line-height);font-weight:var(--_supporting-text-weight);gap:16px;justify-content:space-between;padding-inline-start:var(--_supporting-text-leading-space);padding-inline-end:var(--_supporting-text-trailing-space);padding-top:var(--_supporting-text-top-space)}.supporting-text :nth-child(2){flex-shrink:0}:hover .supporting-text{color:var(--_hover-supporting-text-color)}.focus .supporting-text{color:var(--_focus-supporting-text-color)}.disabled .supporting-text{color:var(--_disabled-supporting-text-color);opacity:var(--_disabled-supporting-text-opacity)}.error .supporting-text{color:var(--_error-supporting-text-color)}.error:hover .supporting-text{color:var(--_error-hover-supporting-text-color)}.error.focus .supporting-text{color:var(--_error-focus-supporting-text-color)}}@layer hcm{@media(forced-colors: active){.disabled .supporting-text{color:GrayText;opacity:1}}}
284
+ `;
285
+ styles$2.styleSheet;
286
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/field/outlined-field.js
287
+ /**
288
+ * @license
289
+ * Copyright 2021 Google LLC
290
+ * SPDX-License-Identifier: Apache-2.0
291
+ */
292
+ /**
293
+ * TODO(b/228525797): add docs
294
+ * @final
295
+ * @suppress {visibility}
296
+ */
297
+ var MdOutlinedField = class MdOutlinedField extends OutlinedField {};
298
+ MdOutlinedField.styles = [styles$2, styles$3];
299
+ MdOutlinedField = __decorate([t$1("md-outlined-field")], MdOutlinedField);
300
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/textfield/internal/outlined-styles.cssresult.js
301
+ /**
302
+ * @license
303
+ * Copyright 2026 Google LLC
304
+ * SPDX-License-Identifier: Apache-2.0
305
+ */
306
+ var styles$1 = i$3`:host{--_caret-color: var(--md-outlined-text-field-caret-color, var(--md-sys-color-primary, #6750a4));--_disabled-input-text-color: var(--md-outlined-text-field-disabled-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-input-text-opacity: var(--md-outlined-text-field-disabled-input-text-opacity, 0.38);--_disabled-label-text-color: var(--md-outlined-text-field-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-outlined-text-field-disabled-label-text-opacity, 0.38);--_disabled-leading-icon-color: var(--md-outlined-text-field-disabled-leading-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-leading-icon-opacity: var(--md-outlined-text-field-disabled-leading-icon-opacity, 0.38);--_disabled-outline-color: var(--md-outlined-text-field-disabled-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-outline-opacity: var(--md-outlined-text-field-disabled-outline-opacity, 0.12);--_disabled-outline-width: var(--md-outlined-text-field-disabled-outline-width, 1px);--_disabled-supporting-text-color: var(--md-outlined-text-field-disabled-supporting-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-supporting-text-opacity: var(--md-outlined-text-field-disabled-supporting-text-opacity, 0.38);--_disabled-trailing-icon-color: var(--md-outlined-text-field-disabled-trailing-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-trailing-icon-opacity: var(--md-outlined-text-field-disabled-trailing-icon-opacity, 0.38);--_error-focus-caret-color: var(--md-outlined-text-field-error-focus-caret-color, var(--md-sys-color-error, #b3261e));--_error-focus-input-text-color: var(--md-outlined-text-field-error-focus-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_error-focus-label-text-color: var(--md-outlined-text-field-error-focus-label-text-color, var(--md-sys-color-error, #b3261e));--_error-focus-leading-icon-color: var(--md-outlined-text-field-error-focus-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-focus-outline-color: var(--md-outlined-text-field-error-focus-outline-color, var(--md-sys-color-error, #b3261e));--_error-focus-supporting-text-color: var(--md-outlined-text-field-error-focus-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-focus-trailing-icon-color: var(--md-outlined-text-field-error-focus-trailing-icon-color, var(--md-sys-color-error, #b3261e));--_error-hover-input-text-color: var(--md-outlined-text-field-error-hover-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_error-hover-label-text-color: var(--md-outlined-text-field-error-hover-label-text-color, var(--md-sys-color-on-error-container, #410e0b));--_error-hover-leading-icon-color: var(--md-outlined-text-field-error-hover-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-hover-outline-color: var(--md-outlined-text-field-error-hover-outline-color, var(--md-sys-color-on-error-container, #410e0b));--_error-hover-supporting-text-color: var(--md-outlined-text-field-error-hover-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-hover-trailing-icon-color: var(--md-outlined-text-field-error-hover-trailing-icon-color, var(--md-sys-color-on-error-container, #410e0b));--_error-input-text-color: var(--md-outlined-text-field-error-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_error-label-text-color: var(--md-outlined-text-field-error-label-text-color, var(--md-sys-color-error, #b3261e));--_error-leading-icon-color: var(--md-outlined-text-field-error-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_error-outline-color: var(--md-outlined-text-field-error-outline-color, var(--md-sys-color-error, #b3261e));--_error-supporting-text-color: var(--md-outlined-text-field-error-supporting-text-color, var(--md-sys-color-error, #b3261e));--_error-trailing-icon-color: var(--md-outlined-text-field-error-trailing-icon-color, var(--md-sys-color-error, #b3261e));--_focus-input-text-color: var(--md-outlined-text-field-focus-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_focus-label-text-color: var(--md-outlined-text-field-focus-label-text-color, var(--md-sys-color-primary, #6750a4));--_focus-leading-icon-color: var(--md-outlined-text-field-focus-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_focus-outline-color: var(--md-outlined-text-field-focus-outline-color, var(--md-sys-color-primary, #6750a4));--_focus-outline-width: var(--md-outlined-text-field-focus-outline-width, 3px);--_focus-supporting-text-color: var(--md-outlined-text-field-focus-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_focus-trailing-icon-color: var(--md-outlined-text-field-focus-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-input-text-color: var(--md-outlined-text-field-hover-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-label-text-color: var(--md-outlined-text-field-hover-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-leading-icon-color: var(--md-outlined-text-field-hover-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-outline-color: var(--md-outlined-text-field-hover-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-outline-width: var(--md-outlined-text-field-hover-outline-width, 1px);--_hover-supporting-text-color: var(--md-outlined-text-field-hover-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-trailing-icon-color: var(--md-outlined-text-field-hover-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_input-text-color: var(--md-outlined-text-field-input-text-color, var(--md-sys-color-on-surface, #1d1b20));--_input-text-font: var(--md-outlined-text-field-input-text-font, var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto)));--_input-text-line-height: var(--md-outlined-text-field-input-text-line-height, var(--md-sys-typescale-body-large-line-height, 1.5rem));--_input-text-placeholder-color: var(--md-outlined-text-field-input-text-placeholder-color, var(--md-sys-color-on-surface-variant, #49454f));--_input-text-prefix-color: var(--md-outlined-text-field-input-text-prefix-color, var(--md-sys-color-on-surface-variant, #49454f));--_input-text-size: var(--md-outlined-text-field-input-text-size, var(--md-sys-typescale-body-large-size, 1rem));--_input-text-suffix-color: var(--md-outlined-text-field-input-text-suffix-color, var(--md-sys-color-on-surface-variant, #49454f));--_input-text-weight: var(--md-outlined-text-field-input-text-weight, var(--md-sys-typescale-body-large-weight, var(--md-ref-typeface-weight-regular, 400)));--_label-text-color: var(--md-outlined-text-field-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_label-text-font: var(--md-outlined-text-field-label-text-font, var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-outlined-text-field-label-text-line-height, var(--md-sys-typescale-body-large-line-height, 1.5rem));--_label-text-populated-line-height: var(--md-outlined-text-field-label-text-populated-line-height, var(--md-sys-typescale-body-small-line-height, 1rem));--_label-text-populated-size: var(--md-outlined-text-field-label-text-populated-size, var(--md-sys-typescale-body-small-size, 0.75rem));--_label-text-size: var(--md-outlined-text-field-label-text-size, var(--md-sys-typescale-body-large-size, 1rem));--_label-text-weight: var(--md-outlined-text-field-label-text-weight, var(--md-sys-typescale-body-large-weight, var(--md-ref-typeface-weight-regular, 400)));--_leading-icon-color: var(--md-outlined-text-field-leading-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_leading-icon-size: var(--md-outlined-text-field-leading-icon-size, 24px);--_outline-color: var(--md-outlined-text-field-outline-color, var(--md-sys-color-outline, #79747e));--_outline-width: var(--md-outlined-text-field-outline-width, 1px);--_supporting-text-color: var(--md-outlined-text-field-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_supporting-text-font: var(--md-outlined-text-field-supporting-text-font, var(--md-sys-typescale-body-small-font, var(--md-ref-typeface-plain, Roboto)));--_supporting-text-line-height: var(--md-outlined-text-field-supporting-text-line-height, var(--md-sys-typescale-body-small-line-height, 1rem));--_supporting-text-size: var(--md-outlined-text-field-supporting-text-size, var(--md-sys-typescale-body-small-size, 0.75rem));--_supporting-text-weight: var(--md-outlined-text-field-supporting-text-weight, var(--md-sys-typescale-body-small-weight, var(--md-ref-typeface-weight-regular, 400)));--_trailing-icon-color: var(--md-outlined-text-field-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_trailing-icon-size: var(--md-outlined-text-field-trailing-icon-size, 24px);--_container-shape-start-start: var(--md-outlined-text-field-container-shape-start-start, var(--md-outlined-text-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-start-end: var(--md-outlined-text-field-container-shape-start-end, var(--md-outlined-text-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-end-end: var(--md-outlined-text-field-container-shape-end-end, var(--md-outlined-text-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_container-shape-end-start: var(--md-outlined-text-field-container-shape-end-start, var(--md-outlined-text-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px)));--_icon-input-space: var(--md-outlined-text-field-icon-input-space, 16px);--_leading-space: var(--md-outlined-text-field-leading-space, 16px);--_trailing-space: var(--md-outlined-text-field-trailing-space, 16px);--_top-space: var(--md-outlined-text-field-top-space, 16px);--_bottom-space: var(--md-outlined-text-field-bottom-space, 16px);--_input-text-prefix-trailing-space: var(--md-outlined-text-field-input-text-prefix-trailing-space, 2px);--_input-text-suffix-leading-space: var(--md-outlined-text-field-input-text-suffix-leading-space, 2px);--_focus-caret-color: var(--md-outlined-text-field-focus-caret-color, var(--md-sys-color-primary, #6750a4));--_with-leading-icon-leading-space: var(--md-outlined-text-field-with-leading-icon-leading-space, 12px);--_with-trailing-icon-trailing-space: var(--md-outlined-text-field-with-trailing-icon-trailing-space, 12px);--md-outlined-field-bottom-space: var(--_bottom-space);--md-outlined-field-container-shape-end-end: var(--_container-shape-end-end);--md-outlined-field-container-shape-end-start: var(--_container-shape-end-start);--md-outlined-field-container-shape-start-end: var(--_container-shape-start-end);--md-outlined-field-container-shape-start-start: var(--_container-shape-start-start);--md-outlined-field-content-color: var(--_input-text-color);--md-outlined-field-content-font: var(--_input-text-font);--md-outlined-field-content-line-height: var(--_input-text-line-height);--md-outlined-field-content-size: var(--_input-text-size);--md-outlined-field-content-space: var(--_icon-input-space);--md-outlined-field-content-weight: var(--_input-text-weight);--md-outlined-field-disabled-content-color: var(--_disabled-input-text-color);--md-outlined-field-disabled-content-opacity: var(--_disabled-input-text-opacity);--md-outlined-field-disabled-label-text-color: var(--_disabled-label-text-color);--md-outlined-field-disabled-label-text-opacity: var(--_disabled-label-text-opacity);--md-outlined-field-disabled-leading-content-color: var(--_disabled-leading-icon-color);--md-outlined-field-disabled-leading-content-opacity: var(--_disabled-leading-icon-opacity);--md-outlined-field-disabled-outline-color: var(--_disabled-outline-color);--md-outlined-field-disabled-outline-opacity: var(--_disabled-outline-opacity);--md-outlined-field-disabled-outline-width: var(--_disabled-outline-width);--md-outlined-field-disabled-supporting-text-color: var(--_disabled-supporting-text-color);--md-outlined-field-disabled-supporting-text-opacity: var(--_disabled-supporting-text-opacity);--md-outlined-field-disabled-trailing-content-color: var(--_disabled-trailing-icon-color);--md-outlined-field-disabled-trailing-content-opacity: var(--_disabled-trailing-icon-opacity);--md-outlined-field-error-content-color: var(--_error-input-text-color);--md-outlined-field-error-focus-content-color: var(--_error-focus-input-text-color);--md-outlined-field-error-focus-label-text-color: var(--_error-focus-label-text-color);--md-outlined-field-error-focus-leading-content-color: var(--_error-focus-leading-icon-color);--md-outlined-field-error-focus-outline-color: var(--_error-focus-outline-color);--md-outlined-field-error-focus-supporting-text-color: var(--_error-focus-supporting-text-color);--md-outlined-field-error-focus-trailing-content-color: var(--_error-focus-trailing-icon-color);--md-outlined-field-error-hover-content-color: var(--_error-hover-input-text-color);--md-outlined-field-error-hover-label-text-color: var(--_error-hover-label-text-color);--md-outlined-field-error-hover-leading-content-color: var(--_error-hover-leading-icon-color);--md-outlined-field-error-hover-outline-color: var(--_error-hover-outline-color);--md-outlined-field-error-hover-supporting-text-color: var(--_error-hover-supporting-text-color);--md-outlined-field-error-hover-trailing-content-color: var(--_error-hover-trailing-icon-color);--md-outlined-field-error-label-text-color: var(--_error-label-text-color);--md-outlined-field-error-leading-content-color: var(--_error-leading-icon-color);--md-outlined-field-error-outline-color: var(--_error-outline-color);--md-outlined-field-error-supporting-text-color: var(--_error-supporting-text-color);--md-outlined-field-error-trailing-content-color: var(--_error-trailing-icon-color);--md-outlined-field-focus-content-color: var(--_focus-input-text-color);--md-outlined-field-focus-label-text-color: var(--_focus-label-text-color);--md-outlined-field-focus-leading-content-color: var(--_focus-leading-icon-color);--md-outlined-field-focus-outline-color: var(--_focus-outline-color);--md-outlined-field-focus-outline-width: var(--_focus-outline-width);--md-outlined-field-focus-supporting-text-color: var(--_focus-supporting-text-color);--md-outlined-field-focus-trailing-content-color: var(--_focus-trailing-icon-color);--md-outlined-field-hover-content-color: var(--_hover-input-text-color);--md-outlined-field-hover-label-text-color: var(--_hover-label-text-color);--md-outlined-field-hover-leading-content-color: var(--_hover-leading-icon-color);--md-outlined-field-hover-outline-color: var(--_hover-outline-color);--md-outlined-field-hover-outline-width: var(--_hover-outline-width);--md-outlined-field-hover-supporting-text-color: var(--_hover-supporting-text-color);--md-outlined-field-hover-trailing-content-color: var(--_hover-trailing-icon-color);--md-outlined-field-label-text-color: var(--_label-text-color);--md-outlined-field-label-text-font: var(--_label-text-font);--md-outlined-field-label-text-line-height: var(--_label-text-line-height);--md-outlined-field-label-text-populated-line-height: var(--_label-text-populated-line-height);--md-outlined-field-label-text-populated-size: var(--_label-text-populated-size);--md-outlined-field-label-text-size: var(--_label-text-size);--md-outlined-field-label-text-weight: var(--_label-text-weight);--md-outlined-field-leading-content-color: var(--_leading-icon-color);--md-outlined-field-leading-space: var(--_leading-space);--md-outlined-field-outline-color: var(--_outline-color);--md-outlined-field-outline-width: var(--_outline-width);--md-outlined-field-supporting-text-color: var(--_supporting-text-color);--md-outlined-field-supporting-text-font: var(--_supporting-text-font);--md-outlined-field-supporting-text-line-height: var(--_supporting-text-line-height);--md-outlined-field-supporting-text-size: var(--_supporting-text-size);--md-outlined-field-supporting-text-weight: var(--_supporting-text-weight);--md-outlined-field-top-space: var(--_top-space);--md-outlined-field-trailing-content-color: var(--_trailing-icon-color);--md-outlined-field-trailing-space: var(--_trailing-space);--md-outlined-field-with-leading-content-leading-space: var(--_with-leading-icon-leading-space);--md-outlined-field-with-trailing-content-trailing-space: var(--_with-trailing-icon-trailing-space)}
307
+ `;
308
+ styles$1.styleSheet;
309
+ // ../../node_modules/.pnpm/lit-html@3.3.3/node_modules/lit-html/node/directive-helpers.js
310
+ /**
311
+ * @license
312
+ * Copyright 2020 Google LLC
313
+ * SPDX-License-Identifier: BSD-3-Clause
314
+ */ var { I: t } = Z, r = (o) => void 0 === o.strings, m = {}, p = (o, t = m) => o._$AH = t;
315
+ // ../../node_modules/.pnpm/lit-html@3.3.3/node_modules/lit-html/node/directives/live.js
316
+ /**
317
+ * @license
318
+ * Copyright 2020 Google LLC
319
+ * SPDX-License-Identifier: BSD-3-Clause
320
+ */ var l = e$3(class extends i$4 {
321
+ constructor(r$2) {
322
+ if (super(r$2), r$2.type !== t$2.PROPERTY && r$2.type !== t$2.ATTRIBUTE && r$2.type !== t$2.BOOLEAN_ATTRIBUTE) throw Error("The `live` directive is not allowed on child or event bindings");
323
+ if (!r(r$2)) throw Error("`live` bindings can only contain a single expression");
324
+ }
325
+ render(r) {
326
+ return r;
327
+ }
328
+ update(i, [t]) {
329
+ if (t === E || t === A) return t;
330
+ const o = i.element, l = i.name;
331
+ if (i.type === t$2.PROPERTY) {
332
+ if (t === o[l]) return E;
333
+ } else if (i.type === t$2.BOOLEAN_ATTRIBUTE) {
334
+ if (!!t === o.hasAttribute(l)) return E;
335
+ } else if (i.type === t$2.ATTRIBUTE && o.getAttribute(l) === t + "") return E;
336
+ return p(i), t;
337
+ }
338
+ });
339
+ // ../../node_modules/.pnpm/lit-html@3.3.3/node_modules/lit-html/node/directives/style-map.js
340
+ /**
341
+ * @license
342
+ * Copyright 2018 Google LLC
343
+ * SPDX-License-Identifier: BSD-3-Clause
344
+ */ var n = "important";
345
+ var i = " !" + n;
346
+ var o = e$3(class extends i$4 {
347
+ constructor(t) {
348
+ if (super(t), t.type !== t$2.ATTRIBUTE || "style" !== t.name || t.strings?.length > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
349
+ }
350
+ render(t) {
351
+ return Object.keys(t).reduce((e, r) => {
352
+ const s = t[r];
353
+ return null == s ? e : e + `${r = r.includes("-") ? r : r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${s};`;
354
+ }, "");
355
+ }
356
+ update(e, [r]) {
357
+ const { style: s } = e.element;
358
+ if (void 0 === this.ft) return this.ft = new Set(Object.keys(r)), this.render(r);
359
+ for (const t of this.ft) r[t] ?? (this.ft.delete(t), t.includes("-") ? s.removeProperty(t) : s[t] = null);
360
+ for (const t in r) {
361
+ const e = r[t];
362
+ if (null != e) {
363
+ this.ft.add(t);
364
+ const r = "string" == typeof e && e.endsWith(i);
365
+ t.includes("-") || r ? s.setProperty(t, r ? e.slice(0, -11) : e, r ? n : "") : s[t] = e;
366
+ }
367
+ }
368
+ return E;
369
+ }
370
+ });
371
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/internal/controller/string-converter.js
372
+ /**
373
+ * @license
374
+ * Copyright 2022 Google LLC
375
+ * SPDX-License-Identifier: Apache-2.0
376
+ */
377
+ var stringConverter = {
378
+ fromAttribute(value) {
379
+ return value ?? "";
380
+ },
381
+ toAttribute(value) {
382
+ return value || null;
383
+ }
384
+ };
385
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/labs/behaviors/constraint-validation.js
386
+ /**
387
+ * @license
388
+ * Copyright 2023 Google LLC
389
+ * SPDX-License-Identifier: Apache-2.0
390
+ */
391
+ /**
392
+ * A symbol property used to create a constraint validation `Validator`.
393
+ * Required for all `mixinConstraintValidation()` elements.
394
+ */
395
+ var createValidator = Symbol("createValidator");
396
+ /**
397
+ * A symbol property used to return an anchor for constraint validation popups.
398
+ * Required for all `mixinConstraintValidation()` elements.
399
+ */
400
+ var getValidityAnchor = Symbol("getValidityAnchor");
401
+ var privateSyncValidity = Symbol("privateSyncValidity");
402
+ var privateCustomValidationMessage = Symbol("privateCustomValidationMessage");
403
+ /**
404
+ * Mixes in constraint validation APIs for an element.
405
+ *
406
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Constraint_validation
407
+ * for more details.
408
+ *
409
+ * Implementations must provide a validator to cache and compute its validity,
410
+ * along with a shadow root element to anchor validation popups to.
411
+ *
412
+ * @example
413
+ * ```ts
414
+ * const baseClass = mixinConstraintValidation(
415
+ * mixinFormAssociated(mixinElementInternals(LitElement))
416
+ * );
417
+ *
418
+ * class MyCheckbox extends baseClass {
419
+ * \@property({type: Boolean}) checked = false;
420
+ * \@property({type: Boolean}) required = false;
421
+ *
422
+ * [createValidator]() {
423
+ * return new CheckboxValidator(() => this);
424
+ * }
425
+ *
426
+ * [getValidityAnchor]() {
427
+ * return this.renderRoot.querySelector('.root');
428
+ * }
429
+ * }
430
+ * ```
431
+ *
432
+ * @param base The class to mix functionality into.
433
+ * @return The provided class with `ConstraintValidation` mixed in.
434
+ */
435
+ function mixinConstraintValidation(base) {
436
+ var _a;
437
+ class ConstraintValidationElement extends base {
438
+ constructor() {
439
+ super(...arguments);
440
+ /**
441
+ * Needed for Safari, see https://bugs.webkit.org/show_bug.cgi?id=261432
442
+ * Replace with this[internals].validity.customError when resolved.
443
+ */
444
+ this[_a] = "";
445
+ }
446
+ get validity() {
447
+ this[privateSyncValidity]();
448
+ return this[internals].validity;
449
+ }
450
+ get validationMessage() {
451
+ this[privateSyncValidity]();
452
+ return this[internals].validationMessage;
453
+ }
454
+ get willValidate() {
455
+ this[privateSyncValidity]();
456
+ return this[internals].willValidate;
457
+ }
458
+ checkValidity() {
459
+ this[privateSyncValidity]();
460
+ return this[internals].checkValidity();
461
+ }
462
+ reportValidity() {
463
+ this[privateSyncValidity]();
464
+ return this[internals].reportValidity();
465
+ }
466
+ setCustomValidity(error) {
467
+ this[privateCustomValidationMessage] = error;
468
+ this[privateSyncValidity]();
469
+ }
470
+ requestUpdate(name, oldValue, options) {
471
+ super.requestUpdate(name, oldValue, options);
472
+ this[privateSyncValidity]();
473
+ }
474
+ firstUpdated(changed) {
475
+ super.firstUpdated(changed);
476
+ this[privateSyncValidity]();
477
+ }
478
+ [(_a = privateCustomValidationMessage, privateSyncValidity)]() {}
479
+ [createValidator]() {
480
+ throw new Error("Implement [createValidator]");
481
+ }
482
+ [getValidityAnchor]() {
483
+ throw new Error("Implement [getValidityAnchor]");
484
+ }
485
+ }
486
+ return ConstraintValidationElement;
487
+ }
488
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/labs/behaviors/on-report-validity.js
489
+ /**
490
+ * @license
491
+ * Copyright 2023 Google LLC
492
+ * SPDX-License-Identifier: Apache-2.0
493
+ */
494
+ /**
495
+ * A symbol property used for a callback when validity has been reported.
496
+ */
497
+ var onReportValidity = Symbol("onReportValidity");
498
+ var privateCleanupFormListeners = Symbol("privateCleanupFormListeners");
499
+ var privateDoNotReportInvalid = Symbol("privateDoNotReportInvalid");
500
+ var privateIsSelfReportingValidity = Symbol("privateIsSelfReportingValidity");
501
+ var privateCallOnReportValidity = Symbol("privateCallOnReportValidity");
502
+ /**
503
+ * Mixes in a callback for constraint validation when validity should be
504
+ * styled and reported to the user.
505
+ *
506
+ * This is commonly used in text-field-like controls that display error styles
507
+ * and error messages.
508
+ *
509
+ * @example
510
+ * ```ts
511
+ * const baseClass = mixinOnReportValidity(
512
+ * mixinConstraintValidation(
513
+ * mixinFormAssociated(mixinElementInternals(LitElement)),
514
+ * ),
515
+ * );
516
+ *
517
+ * class MyField extends baseClass {
518
+ * \@property({type: Boolean}) error = false;
519
+ * \@property() errorMessage = '';
520
+ *
521
+ * [onReportValidity](invalidEvent: Event | null) {
522
+ * this.error = !!invalidEvent;
523
+ * this.errorMessage = this.validationMessage;
524
+ *
525
+ * // Optionally prevent platform popup from displaying
526
+ * invalidEvent?.preventDefault();
527
+ * }
528
+ * }
529
+ * ```
530
+ *
531
+ * @param base The class to mix functionality into.
532
+ * @return The provided class with `OnReportValidity` mixed in.
533
+ */
534
+ function mixinOnReportValidity(base) {
535
+ var _a, _b, _c;
536
+ class OnReportValidityElement extends base {
537
+ constructor(...args) {
538
+ super(...args);
539
+ /**
540
+ * Used to clean up event listeners when a new form is associated.
541
+ */
542
+ this[_a] = new AbortController();
543
+ /**
544
+ * Used to determine if an invalid event should report validity. Invalid
545
+ * events from `checkValidity()` do not trigger reporting.
546
+ */
547
+ this[_b] = false;
548
+ /**
549
+ * Used to determine if the control is reporting validity from itself, or
550
+ * if a `<form>` is causing the validity report. Forms have different
551
+ * control focusing behavior.
552
+ */
553
+ this[_c] = false;
554
+ }
555
+ checkValidity() {
556
+ this[privateDoNotReportInvalid] = true;
557
+ const valid = super.checkValidity();
558
+ this[privateDoNotReportInvalid] = false;
559
+ return valid;
560
+ }
561
+ reportValidity() {
562
+ this[privateIsSelfReportingValidity] = true;
563
+ const valid = super.reportValidity();
564
+ if (valid) this[privateCallOnReportValidity](null);
565
+ this[privateIsSelfReportingValidity] = false;
566
+ return valid;
567
+ }
568
+ [(_a = privateCleanupFormListeners, _b = privateDoNotReportInvalid, _c = privateIsSelfReportingValidity, privateCallOnReportValidity)](invalidEvent) {
569
+ const wasCanceled = invalidEvent?.defaultPrevented;
570
+ if (wasCanceled) return;
571
+ this[onReportValidity](invalidEvent);
572
+ if (!(!wasCanceled && invalidEvent?.defaultPrevented)) return;
573
+ if (this[privateIsSelfReportingValidity] || isFirstInvalidControlInForm(this[internals].form, this)) this.focus();
574
+ }
575
+ [onReportValidity](invalidEvent) {
576
+ throw new Error("Implement [onReportValidity]");
577
+ }
578
+ formAssociatedCallback(form) {
579
+ if (super.formAssociatedCallback) super.formAssociatedCallback(form);
580
+ this[privateCleanupFormListeners].abort();
581
+ if (!form) return;
582
+ this[privateCleanupFormListeners] = new AbortController();
583
+ addFormReportValidListener(this, form, () => {
584
+ this[privateCallOnReportValidity](null);
585
+ }, this[privateCleanupFormListeners].signal);
586
+ }
587
+ }
588
+ return OnReportValidityElement;
589
+ }
590
+ /**
591
+ * Add a listener that fires when a form runs constraint validation on a control
592
+ * and it is valid. This is needed to clear previously invalid styles.
593
+ *
594
+ * @param control The control of the form to listen for valid events.
595
+ * @param form The control's form that can run constraint validation.
596
+ * @param onControlValid A listener that is called when the form runs constraint
597
+ * validation and the control is valid.
598
+ * @param cleanup A cleanup signal to remove the listener.
599
+ */
600
+ function addFormReportValidListener(control, form, onControlValid, cleanup) {
601
+ const validateHooks = getFormValidateHooks(form);
602
+ let controlFiredInvalid = false;
603
+ let cleanupInvalidListener;
604
+ let isNextSubmitFromHook = false;
605
+ validateHooks.addEventListener("before", () => {
606
+ isNextSubmitFromHook = true;
607
+ cleanupInvalidListener = new AbortController();
608
+ controlFiredInvalid = false;
609
+ control.addEventListener("invalid", () => {
610
+ controlFiredInvalid = true;
611
+ }, { signal: cleanupInvalidListener.signal });
612
+ }, { signal: cleanup });
613
+ validateHooks.addEventListener("after", () => {
614
+ isNextSubmitFromHook = false;
615
+ cleanupInvalidListener?.abort();
616
+ if (controlFiredInvalid) return;
617
+ onControlValid();
618
+ }, { signal: cleanup });
619
+ form.addEventListener("submit", () => {
620
+ if (isNextSubmitFromHook) return;
621
+ onControlValid();
622
+ }, { signal: cleanup });
623
+ }
624
+ var FORM_VALIDATE_HOOKS = /* @__PURE__ */ new WeakMap();
625
+ /**
626
+ * Get a hooks `EventTarget` that dispatches 'before' and 'after' events that
627
+ * fire before a form runs constraint validation and immediately after it
628
+ * finishes running constraint validation on its controls.
629
+ *
630
+ * This happens during `form.reportValidity()` and `form.requestSubmit()`.
631
+ *
632
+ * @param form The form to get or set up hooks for.
633
+ * @return A hooks `EventTarget` to add listeners to.
634
+ */
635
+ function getFormValidateHooks(form) {
636
+ if (!FORM_VALIDATE_HOOKS.has(form)) {
637
+ const hooks = new EventTarget();
638
+ FORM_VALIDATE_HOOKS.set(form, hooks);
639
+ for (const methodName of ["reportValidity", "requestSubmit"]) {
640
+ const superMethod = form[methodName];
641
+ form[methodName] = function() {
642
+ hooks.dispatchEvent(new Event("before"));
643
+ const result = Reflect.apply(superMethod, this, arguments);
644
+ hooks.dispatchEvent(new Event("after"));
645
+ return result;
646
+ };
647
+ }
648
+ }
649
+ return FORM_VALIDATE_HOOKS.get(form);
650
+ }
651
+ /**
652
+ * Checks if a control is the first invalid control in a form.
653
+ *
654
+ * @param form The control's form. When `null`, the control doesn't have a form
655
+ * and the method returns true.
656
+ * @param control The control to check.
657
+ * @return True if there is no form or if the control is the form's first
658
+ * invalid control.
659
+ */
660
+ function isFirstInvalidControlInForm(form, control) {
661
+ if (!form) return true;
662
+ let firstInvalidControl;
663
+ for (const element of form.elements) if (element.matches(":invalid")) {
664
+ firstInvalidControl = element;
665
+ break;
666
+ }
667
+ return firstInvalidControl === control;
668
+ }
669
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/labs/behaviors/validators/validator.js
670
+ /**
671
+ * @license
672
+ * Copyright 2023 Google LLC
673
+ * SPDX-License-Identifier: Apache-2.0
674
+ */
675
+ /**
676
+ * A class that computes and caches `ValidityStateFlags` for a component with
677
+ * a given `State` interface.
678
+ *
679
+ * Cached performance before computing validity is important since constraint
680
+ * validation must be checked frequently and synchronously when properties
681
+ * change.
682
+ *
683
+ * @template State The expected interface of properties relevant to constraint
684
+ * validation.
685
+ */
686
+ var Validator = class {
687
+ /**
688
+ * Creates a new validator.
689
+ *
690
+ * @param getCurrentState A callback that returns the current state of
691
+ * constraint validation-related properties.
692
+ */
693
+ constructor(getCurrentState) {
694
+ this.getCurrentState = getCurrentState;
695
+ /**
696
+ * The current validity state and message. This is cached and returns if
697
+ * constraint validation state does not change.
698
+ */
699
+ this.currentValidity = {
700
+ validity: {},
701
+ validationMessage: ""
702
+ };
703
+ }
704
+ /**
705
+ * Returns the current `ValidityStateFlags` and validation message for the
706
+ * validator.
707
+ *
708
+ * If the constraint validation state has not changed, this will return a
709
+ * cached result. This is important since `getValidity()` can be called
710
+ * frequently in response to synchronous property changes.
711
+ *
712
+ * @return The current validity and validation message.
713
+ */
714
+ getValidity() {
715
+ const state = this.getCurrentState();
716
+ if (!(!this.prevState || !this.equals(this.prevState, state))) return this.currentValidity;
717
+ const { validity, validationMessage } = this.computeValidity(state);
718
+ this.prevState = this.copy(state);
719
+ this.currentValidity = {
720
+ validationMessage,
721
+ validity: {
722
+ badInput: validity.badInput,
723
+ customError: validity.customError,
724
+ patternMismatch: validity.patternMismatch,
725
+ rangeOverflow: validity.rangeOverflow,
726
+ rangeUnderflow: validity.rangeUnderflow,
727
+ stepMismatch: validity.stepMismatch,
728
+ tooLong: validity.tooLong,
729
+ tooShort: validity.tooShort,
730
+ typeMismatch: validity.typeMismatch,
731
+ valueMissing: validity.valueMissing
732
+ }
733
+ };
734
+ return this.currentValidity;
735
+ }
736
+ };
737
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/labs/behaviors/validators/text-field-validator.js
738
+ /**
739
+ * @license
740
+ * Copyright 2023 Google LLC
741
+ * SPDX-License-Identifier: Apache-2.0
742
+ */
743
+ /**
744
+ * A validator that provides constraint validation that emulates `<input>` and
745
+ * `<textarea>` validation.
746
+ */
747
+ var TextFieldValidator = class extends Validator {
748
+ computeValidity({ state, renderedControl }) {
749
+ let inputOrTextArea = renderedControl;
750
+ if (isInputState(state) && !inputOrTextArea) {
751
+ inputOrTextArea = this.inputControl || document.createElement("input");
752
+ this.inputControl = inputOrTextArea;
753
+ } else if (!inputOrTextArea) {
754
+ inputOrTextArea = this.textAreaControl || document.createElement("textarea");
755
+ this.textAreaControl = inputOrTextArea;
756
+ }
757
+ const input = isInputState(state) ? inputOrTextArea : null;
758
+ if (input) input.type = state.type;
759
+ if (inputOrTextArea.value !== state.value) inputOrTextArea.value = state.value;
760
+ inputOrTextArea.required = state.required;
761
+ if (input) {
762
+ const inputState = state;
763
+ if (inputState.pattern) input.pattern = inputState.pattern;
764
+ else input.removeAttribute("pattern");
765
+ if (inputState.min) input.min = inputState.min;
766
+ else input.removeAttribute("min");
767
+ if (inputState.max) input.max = inputState.max;
768
+ else input.removeAttribute("max");
769
+ if (inputState.step) input.step = inputState.step;
770
+ else input.removeAttribute("step");
771
+ }
772
+ if ((state.minLength ?? -1) > -1) inputOrTextArea.setAttribute("minlength", String(state.minLength));
773
+ else inputOrTextArea.removeAttribute("minlength");
774
+ if ((state.maxLength ?? -1) > -1) inputOrTextArea.setAttribute("maxlength", String(state.maxLength));
775
+ else inputOrTextArea.removeAttribute("maxlength");
776
+ return {
777
+ validity: inputOrTextArea.validity,
778
+ validationMessage: inputOrTextArea.validationMessage
779
+ };
780
+ }
781
+ equals({ state: prev }, { state: next }) {
782
+ const inputOrTextAreaEqual = prev.type === next.type && prev.value === next.value && prev.required === next.required && prev.minLength === next.minLength && prev.maxLength === next.maxLength;
783
+ if (!isInputState(prev) || !isInputState(next)) return inputOrTextAreaEqual;
784
+ return inputOrTextAreaEqual && prev.pattern === next.pattern && prev.min === next.min && prev.max === next.max && prev.step === next.step;
785
+ }
786
+ copy({ state }) {
787
+ return {
788
+ state: isInputState(state) ? this.copyInput(state) : this.copyTextArea(state),
789
+ renderedControl: null
790
+ };
791
+ }
792
+ copyInput(state) {
793
+ const { type, pattern, min, max, step } = state;
794
+ return {
795
+ ...this.copySharedState(state),
796
+ type,
797
+ pattern,
798
+ min,
799
+ max,
800
+ step
801
+ };
802
+ }
803
+ copyTextArea(state) {
804
+ return {
805
+ ...this.copySharedState(state),
806
+ type: state.type
807
+ };
808
+ }
809
+ copySharedState({ value, required, minLength, maxLength }) {
810
+ return {
811
+ value,
812
+ required,
813
+ minLength,
814
+ maxLength
815
+ };
816
+ }
817
+ };
818
+ function isInputState(state) {
819
+ return state.type !== "textarea";
820
+ }
821
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/textfield/internal/text-field.js
822
+ /**
823
+ * @license
824
+ * Copyright 2021 Google LLC
825
+ * SPDX-License-Identifier: Apache-2.0
826
+ */
827
+ var textFieldBaseClass = mixinDelegatesAria(mixinOnReportValidity(mixinConstraintValidation(mixinFormAssociated(mixinElementInternals(i$2)))));
828
+ /**
829
+ * A text field component.
830
+ *
831
+ * @fires select {Event} The native `select` event on
832
+ * [`<input>`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select_event)
833
+ * --bubbles
834
+ * @fires change {Event} The native `change` event on
835
+ * [`<input>`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event)
836
+ * --bubbles
837
+ * @fires input {InputEvent} The native `input` event on
838
+ * [`<input>`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event)
839
+ * --bubbles --composed
840
+ */
841
+ var TextField = class extends textFieldBaseClass {
842
+ constructor() {
843
+ super(...arguments);
844
+ /**
845
+ * Gets or sets whether or not the text field is in a visually invalid state.
846
+ *
847
+ * This error state overrides the error state controlled by
848
+ * `reportValidity()`.
849
+ */
850
+ this.error = false;
851
+ /**
852
+ * The error message that replaces supporting text when `error` is true. If
853
+ * `errorText` is an empty string, then the supporting text will continue to
854
+ * show.
855
+ *
856
+ * This error message overrides the error message displayed by
857
+ * `reportValidity()`.
858
+ */
859
+ this.errorText = "";
860
+ /**
861
+ * The floating Material label of the textfield component. It informs the user
862
+ * about what information is requested for a text field. It is aligned with
863
+ * the input text, is always visible, and it floats when focused or when text
864
+ * is entered into the textfield. This label also sets accessibilty labels,
865
+ * but the accessible label is overriden by `aria-label`.
866
+ *
867
+ * Learn more about floating labels from the Material Design guidelines:
868
+ * https://m3.material.io/components/text-fields/guidelines
869
+ */
870
+ this.label = "";
871
+ /**
872
+ * Disables the asterisk on the floating label, when the text field is
873
+ * required.
874
+ */
875
+ this.noAsterisk = false;
876
+ /**
877
+ * Indicates that the user must specify a value for the input before the
878
+ * owning form can be submitted and will render an error state when
879
+ * `reportValidity()` is invoked when value is empty. Additionally the
880
+ * floating label will render an asterisk `"*"` when true.
881
+ *
882
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required
883
+ */
884
+ this.required = false;
885
+ /**
886
+ * The current value of the text field. It is always a string.
887
+ */
888
+ this.value = "";
889
+ /**
890
+ * An optional prefix to display before the input value.
891
+ */
892
+ this.prefixText = "";
893
+ /**
894
+ * An optional suffix to display after the input value.
895
+ */
896
+ this.suffixText = "";
897
+ /**
898
+ * Whether or not the text field has a leading icon. Used for SSR.
899
+ */
900
+ this.hasLeadingIcon = false;
901
+ /**
902
+ * Whether or not the text field has a trailing icon. Used for SSR.
903
+ */
904
+ this.hasTrailingIcon = false;
905
+ /**
906
+ * Conveys additional information below the text field, such as how it should
907
+ * be used.
908
+ */
909
+ this.supportingText = "";
910
+ /**
911
+ * Override the input text CSS `direction`. Useful for RTL languages that use
912
+ * LTR notation for fractions.
913
+ */
914
+ this.textDirection = "";
915
+ /**
916
+ * The number of rows to display for a `type="textarea"` text field.
917
+ * Defaults to 2.
918
+ */
919
+ this.rows = 2;
920
+ /**
921
+ * The number of cols to display for a `type="textarea"` text field.
922
+ * Defaults to 20.
923
+ */
924
+ this.cols = 20;
925
+ this.inputMode = "";
926
+ /**
927
+ * Defines the greatest value in the range of permitted values.
928
+ *
929
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max
930
+ */
931
+ this.max = "";
932
+ /**
933
+ * The maximum number of characters a user can enter into the text field. Set
934
+ * to -1 for none.
935
+ *
936
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength
937
+ */
938
+ this.maxLength = -1;
939
+ /**
940
+ * Defines the most negative value in the range of permitted values.
941
+ *
942
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min
943
+ */
944
+ this.min = "";
945
+ /**
946
+ * The minimum number of characters a user can enter into the text field. Set
947
+ * to -1 for none.
948
+ *
949
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength
950
+ */
951
+ this.minLength = -1;
952
+ /**
953
+ * When true, hide the spinner for `type="number"` text fields.
954
+ */
955
+ this.noSpinner = false;
956
+ /**
957
+ * A regular expression that the text field's value must match to pass
958
+ * constraint validation.
959
+ *
960
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#pattern
961
+ */
962
+ this.pattern = "";
963
+ /**
964
+ * Defines the text displayed in the textfield when it has no value. Provides
965
+ * a brief hint to the user as to the expected type of data that should be
966
+ * entered into the control. Unlike `label`, the placeholder is not visible
967
+ * and does not float when the textfield has a value.
968
+ *
969
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/placeholder
970
+ */
971
+ this.placeholder = "";
972
+ /**
973
+ * Indicates whether or not a user should be able to edit the text field's
974
+ * value.
975
+ *
976
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#readonly
977
+ */
978
+ this.readOnly = false;
979
+ /**
980
+ * Indicates that input accepts multiple email addresses.
981
+ *
982
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email#multiple
983
+ */
984
+ this.multiple = false;
985
+ /**
986
+ * Returns or sets the element's step attribute, which works with min and max
987
+ * to limit the increments at which a numeric or date-time value can be set.
988
+ *
989
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#step
990
+ */
991
+ this.step = "";
992
+ /**
993
+ * The `<input>` type to use, defaults to "text". The type greatly changes how
994
+ * the text field behaves.
995
+ *
996
+ * Text fields support a limited number of `<input>` types:
997
+ *
998
+ * - text
999
+ * - textarea
1000
+ * - email
1001
+ * - number
1002
+ * - password
1003
+ * - search
1004
+ * - tel
1005
+ * - url
1006
+ *
1007
+ * See
1008
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
1009
+ * for more details on each input type.
1010
+ */
1011
+ this.type = "text";
1012
+ /**
1013
+ * Describes what, if any, type of autocomplete functionality the input
1014
+ * should provide.
1015
+ *
1016
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
1017
+ */
1018
+ this.autocomplete = "";
1019
+ /**
1020
+ * Returns true when the text field has been interacted with. Native
1021
+ * validation errors only display in response to user interactions.
1022
+ */
1023
+ this.dirty = false;
1024
+ this.focused = false;
1025
+ /**
1026
+ * Whether or not a native error has been reported via `reportValidity()`.
1027
+ */
1028
+ this.nativeError = false;
1029
+ /**
1030
+ * The validation message displayed from a native error via
1031
+ * `reportValidity()`.
1032
+ */
1033
+ this.nativeErrorText = "";
1034
+ }
1035
+ /**
1036
+ * Gets or sets the direction in which selection occurred.
1037
+ */
1038
+ get selectionDirection() {
1039
+ return this.getInputOrTextarea().selectionDirection;
1040
+ }
1041
+ set selectionDirection(value) {
1042
+ this.getInputOrTextarea().selectionDirection = value;
1043
+ }
1044
+ /**
1045
+ * Gets or sets the end position or offset of a text selection.
1046
+ */
1047
+ get selectionEnd() {
1048
+ return this.getInputOrTextarea().selectionEnd;
1049
+ }
1050
+ set selectionEnd(value) {
1051
+ this.getInputOrTextarea().selectionEnd = value;
1052
+ }
1053
+ /**
1054
+ * Gets or sets the starting position or offset of a text selection.
1055
+ */
1056
+ get selectionStart() {
1057
+ return this.getInputOrTextarea().selectionStart;
1058
+ }
1059
+ set selectionStart(value) {
1060
+ this.getInputOrTextarea().selectionStart = value;
1061
+ }
1062
+ /**
1063
+ * The text field's value as a number.
1064
+ */
1065
+ get valueAsNumber() {
1066
+ const input = this.getInput();
1067
+ if (!input) return NaN;
1068
+ return input.valueAsNumber;
1069
+ }
1070
+ set valueAsNumber(value) {
1071
+ const input = this.getInput();
1072
+ if (!input) return;
1073
+ input.valueAsNumber = value;
1074
+ this.value = input.value;
1075
+ }
1076
+ /**
1077
+ * The text field's value as a Date.
1078
+ */
1079
+ get valueAsDate() {
1080
+ const input = this.getInput();
1081
+ if (!input) return null;
1082
+ return input.valueAsDate;
1083
+ }
1084
+ set valueAsDate(value) {
1085
+ const input = this.getInput();
1086
+ if (!input) return;
1087
+ input.valueAsDate = value;
1088
+ this.value = input.value;
1089
+ }
1090
+ get hasError() {
1091
+ return this.error || this.nativeError;
1092
+ }
1093
+ /**
1094
+ * Selects all the text in the text field.
1095
+ *
1096
+ * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select
1097
+ */
1098
+ select() {
1099
+ this.getInputOrTextarea().select();
1100
+ }
1101
+ setRangeText(...args) {
1102
+ this.getInputOrTextarea().setRangeText(...args);
1103
+ this.value = this.getInputOrTextarea().value;
1104
+ }
1105
+ /**
1106
+ * Sets the start and end positions of a selection in the text field.
1107
+ *
1108
+ * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange
1109
+ *
1110
+ * @param start The offset into the text field for the start of the selection.
1111
+ * @param end The offset into the text field for the end of the selection.
1112
+ * @param direction The direction in which the selection is performed.
1113
+ */
1114
+ setSelectionRange(start, end, direction) {
1115
+ this.getInputOrTextarea().setSelectionRange(start, end, direction);
1116
+ }
1117
+ /**
1118
+ * Shows the browser picker for an input element of type "date", "time", etc.
1119
+ *
1120
+ * For a full list of supported types, see:
1121
+ * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/showPicker#browser_compatibility
1122
+ *
1123
+ * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/showPicker
1124
+ */
1125
+ showPicker() {
1126
+ const input = this.getInput();
1127
+ if (!input) return;
1128
+ input.showPicker();
1129
+ }
1130
+ /**
1131
+ * Decrements the value of a numeric type text field by `step` or `n` `step`
1132
+ * number of times.
1133
+ *
1134
+ * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepDown
1135
+ *
1136
+ * @param stepDecrement The number of steps to decrement, defaults to 1.
1137
+ */
1138
+ stepDown(stepDecrement) {
1139
+ const input = this.getInput();
1140
+ if (!input) return;
1141
+ input.stepDown(stepDecrement);
1142
+ this.value = input.value;
1143
+ }
1144
+ /**
1145
+ * Increments the value of a numeric type text field by `step` or `n` `step`
1146
+ * number of times.
1147
+ *
1148
+ * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepUp
1149
+ *
1150
+ * @param stepIncrement The number of steps to increment, defaults to 1.
1151
+ */
1152
+ stepUp(stepIncrement) {
1153
+ const input = this.getInput();
1154
+ if (!input) return;
1155
+ input.stepUp(stepIncrement);
1156
+ this.value = input.value;
1157
+ }
1158
+ /**
1159
+ * Reset the text field to its default value.
1160
+ */
1161
+ reset() {
1162
+ this.dirty = false;
1163
+ this.value = this.getAttribute("value") ?? "";
1164
+ this.nativeError = false;
1165
+ this.nativeErrorText = "";
1166
+ }
1167
+ attributeChangedCallback(attribute, newValue, oldValue) {
1168
+ if (attribute === "value" && this.dirty) return;
1169
+ super.attributeChangedCallback(attribute, newValue, oldValue);
1170
+ }
1171
+ render() {
1172
+ const classes = {
1173
+ "disabled": this.disabled,
1174
+ "error": !this.disabled && this.hasError,
1175
+ "textarea": this.type === "textarea",
1176
+ "no-spinner": this.noSpinner
1177
+ };
1178
+ return T`
1179
+ <span class="text-field ${e$1(classes)}">
1180
+ ${this.renderField()}
1181
+ </span>
1182
+ `;
1183
+ }
1184
+ updated(changedProperties) {
1185
+ const value = this.getInputOrTextarea().value;
1186
+ if (this.value !== value) this.value = value;
1187
+ }
1188
+ renderField() {
1189
+ return u$1`<${this.fieldTag}
1190
+ class="field"
1191
+ count=${this.value.length}
1192
+ ?disabled=${this.disabled}
1193
+ ?error=${this.hasError}
1194
+ error-text=${this.getErrorText()}
1195
+ ?focused=${this.focused}
1196
+ ?has-end=${this.hasTrailingIcon}
1197
+ ?has-start=${this.hasLeadingIcon}
1198
+ label=${this.label}
1199
+ ?no-asterisk=${this.noAsterisk}
1200
+ max=${this.maxLength}
1201
+ ?populated=${!!this.value}
1202
+ ?required=${this.required}
1203
+ ?resizable=${this.type === "textarea"}
1204
+ supporting-text=${this.supportingText}
1205
+ >
1206
+ ${this.renderLeadingIcon()}
1207
+ ${this.renderInputOrTextarea()}
1208
+ ${this.renderTrailingIcon()}
1209
+ <div id="description" slot="aria-describedby"></div>
1210
+ <slot name="container" slot="container"></slot>
1211
+ </${this.fieldTag}>`;
1212
+ }
1213
+ renderLeadingIcon() {
1214
+ return T`
1215
+ <span class="icon leading" slot="start">
1216
+ <slot name="leading-icon" @slotchange=${this.handleIconChange}></slot>
1217
+ </span>
1218
+ `;
1219
+ }
1220
+ renderTrailingIcon() {
1221
+ return T`
1222
+ <span class="icon trailing" slot="end">
1223
+ <slot name="trailing-icon" @slotchange=${this.handleIconChange}></slot>
1224
+ </span>
1225
+ `;
1226
+ }
1227
+ renderInputOrTextarea() {
1228
+ const style = { "direction": this.textDirection };
1229
+ const ariaLabel = this.ariaLabel || this.label || A;
1230
+ const autocomplete = this.autocomplete;
1231
+ const hasMaxLength = (this.maxLength ?? -1) > -1;
1232
+ const hasMinLength = (this.minLength ?? -1) > -1;
1233
+ if (this.type === "textarea") return T`
1234
+ <textarea
1235
+ class="input"
1236
+ style=${o(style)}
1237
+ aria-describedby="description"
1238
+ aria-invalid=${this.hasError}
1239
+ aria-label=${ariaLabel}
1240
+ autocomplete=${autocomplete || A}
1241
+ name=${this.name || A}
1242
+ ?disabled=${this.disabled}
1243
+ maxlength=${hasMaxLength ? this.maxLength : A}
1244
+ minlength=${hasMinLength ? this.minLength : A}
1245
+ placeholder=${this.placeholder || A}
1246
+ ?readonly=${this.readOnly}
1247
+ ?required=${this.required}
1248
+ rows=${this.rows}
1249
+ cols=${this.cols}
1250
+ .value=${l(this.value)}
1251
+ @change=${this.redispatchEvent}
1252
+ @focus=${this.handleFocusChange}
1253
+ @blur=${this.handleFocusChange}
1254
+ @input=${this.handleInput}
1255
+ @select=${this.redispatchEvent}></textarea>
1256
+ `;
1257
+ const prefix = this.renderPrefix();
1258
+ const suffix = this.renderSuffix();
1259
+ const inputMode = this.inputMode;
1260
+ return T`
1261
+ <div class="input-wrapper">
1262
+ ${prefix}
1263
+ <input
1264
+ class="input"
1265
+ style=${o(style)}
1266
+ aria-describedby="description"
1267
+ aria-invalid=${this.hasError}
1268
+ aria-label=${ariaLabel}
1269
+ autocomplete=${autocomplete || A}
1270
+ name=${this.name || A}
1271
+ ?disabled=${this.disabled}
1272
+ inputmode=${inputMode || A}
1273
+ max=${this.max || A}
1274
+ maxlength=${hasMaxLength ? this.maxLength : A}
1275
+ min=${this.min || A}
1276
+ minlength=${hasMinLength ? this.minLength : A}
1277
+ pattern=${this.pattern || A}
1278
+ placeholder=${this.placeholder || A}
1279
+ ?readonly=${this.readOnly}
1280
+ ?required=${this.required}
1281
+ ?multiple=${this.multiple}
1282
+ step=${this.step || A}
1283
+ type=${this.type}
1284
+ .value=${l(this.value)}
1285
+ @change=${this.redispatchEvent}
1286
+ @focus=${this.handleFocusChange}
1287
+ @blur=${this.handleFocusChange}
1288
+ @input=${this.handleInput}
1289
+ @select=${this.redispatchEvent} />
1290
+ ${suffix}
1291
+ </div>
1292
+ `;
1293
+ }
1294
+ renderPrefix() {
1295
+ return this.renderAffix(this.prefixText, false);
1296
+ }
1297
+ renderSuffix() {
1298
+ return this.renderAffix(this.suffixText, true);
1299
+ }
1300
+ renderAffix(text, isSuffix) {
1301
+ if (!text) return A;
1302
+ return T`<span class="${e$1({
1303
+ "suffix": isSuffix,
1304
+ "prefix": !isSuffix
1305
+ })}">${text}</span>`;
1306
+ }
1307
+ getErrorText() {
1308
+ return this.error ? this.errorText : this.nativeErrorText;
1309
+ }
1310
+ handleFocusChange() {
1311
+ this.focused = this.inputOrTextarea?.matches(":focus") ?? false;
1312
+ }
1313
+ handleInput(event) {
1314
+ this.dirty = true;
1315
+ this.value = event.target.value;
1316
+ }
1317
+ redispatchEvent(event) {
1318
+ redispatchEvent(this, event);
1319
+ }
1320
+ getInputOrTextarea() {
1321
+ if (!this.inputOrTextarea) {
1322
+ this.connectedCallback();
1323
+ this.scheduleUpdate();
1324
+ }
1325
+ if (this.isUpdatePending) this.scheduleUpdate();
1326
+ return this.inputOrTextarea;
1327
+ }
1328
+ getInput() {
1329
+ if (this.type === "textarea") return null;
1330
+ return this.getInputOrTextarea();
1331
+ }
1332
+ handleIconChange() {
1333
+ this.hasLeadingIcon = this.leadingIcons.length > 0;
1334
+ this.hasTrailingIcon = this.trailingIcons.length > 0;
1335
+ }
1336
+ [getFormValue]() {
1337
+ return this.value;
1338
+ }
1339
+ formResetCallback() {
1340
+ this.reset();
1341
+ }
1342
+ formStateRestoreCallback(state) {
1343
+ this.value = state;
1344
+ }
1345
+ focus() {
1346
+ this.getInputOrTextarea().focus();
1347
+ }
1348
+ [createValidator]() {
1349
+ return new TextFieldValidator(() => ({
1350
+ state: this,
1351
+ renderedControl: this.inputOrTextarea
1352
+ }));
1353
+ }
1354
+ [getValidityAnchor]() {
1355
+ return this.inputOrTextarea;
1356
+ }
1357
+ [onReportValidity](invalidEvent) {
1358
+ invalidEvent?.preventDefault();
1359
+ const prevMessage = this.getErrorText();
1360
+ this.nativeError = !!invalidEvent;
1361
+ this.nativeErrorText = this.validationMessage;
1362
+ if (prevMessage === this.getErrorText()) this.field?.reannounceError();
1363
+ }
1364
+ };
1365
+ /** @nocollapse */
1366
+ TextField.shadowRootOptions = {
1367
+ ...i$2.shadowRootOptions,
1368
+ delegatesFocus: true
1369
+ };
1370
+ __decorate([n$2({
1371
+ type: Boolean,
1372
+ reflect: true
1373
+ })], TextField.prototype, "error", void 0);
1374
+ __decorate([n$2({ attribute: "error-text" })], TextField.prototype, "errorText", void 0);
1375
+ __decorate([n$2()], TextField.prototype, "label", void 0);
1376
+ __decorate([n$2({
1377
+ type: Boolean,
1378
+ attribute: "no-asterisk"
1379
+ })], TextField.prototype, "noAsterisk", void 0);
1380
+ __decorate([n$2({
1381
+ type: Boolean,
1382
+ reflect: true
1383
+ })], TextField.prototype, "required", void 0);
1384
+ __decorate([n$2()], TextField.prototype, "value", void 0);
1385
+ __decorate([n$2({ attribute: "prefix-text" })], TextField.prototype, "prefixText", void 0);
1386
+ __decorate([n$2({ attribute: "suffix-text" })], TextField.prototype, "suffixText", void 0);
1387
+ __decorate([n$2({
1388
+ type: Boolean,
1389
+ attribute: "has-leading-icon"
1390
+ })], TextField.prototype, "hasLeadingIcon", void 0);
1391
+ __decorate([n$2({
1392
+ type: Boolean,
1393
+ attribute: "has-trailing-icon"
1394
+ })], TextField.prototype, "hasTrailingIcon", void 0);
1395
+ __decorate([n$2({ attribute: "supporting-text" })], TextField.prototype, "supportingText", void 0);
1396
+ __decorate([n$2({ attribute: "text-direction" })], TextField.prototype, "textDirection", void 0);
1397
+ __decorate([n$2({ type: Number })], TextField.prototype, "rows", void 0);
1398
+ __decorate([n$2({ type: Number })], TextField.prototype, "cols", void 0);
1399
+ __decorate([n$2({ reflect: true })], TextField.prototype, "inputMode", void 0);
1400
+ __decorate([n$2()], TextField.prototype, "max", void 0);
1401
+ __decorate([n$2({ type: Number })], TextField.prototype, "maxLength", void 0);
1402
+ __decorate([n$2()], TextField.prototype, "min", void 0);
1403
+ __decorate([n$2({ type: Number })], TextField.prototype, "minLength", void 0);
1404
+ __decorate([n$2({
1405
+ type: Boolean,
1406
+ attribute: "no-spinner"
1407
+ })], TextField.prototype, "noSpinner", void 0);
1408
+ __decorate([n$2()], TextField.prototype, "pattern", void 0);
1409
+ __decorate([n$2({
1410
+ reflect: true,
1411
+ converter: stringConverter
1412
+ })], TextField.prototype, "placeholder", void 0);
1413
+ __decorate([n$2({
1414
+ type: Boolean,
1415
+ reflect: true
1416
+ })], TextField.prototype, "readOnly", void 0);
1417
+ __decorate([n$2({
1418
+ type: Boolean,
1419
+ reflect: true
1420
+ })], TextField.prototype, "multiple", void 0);
1421
+ __decorate([n$2()], TextField.prototype, "step", void 0);
1422
+ __decorate([n$2({ reflect: true })], TextField.prototype, "type", void 0);
1423
+ __decorate([n$2({ reflect: true })], TextField.prototype, "autocomplete", void 0);
1424
+ __decorate([r$1()], TextField.prototype, "dirty", void 0);
1425
+ __decorate([r$1()], TextField.prototype, "focused", void 0);
1426
+ __decorate([r$1()], TextField.prototype, "nativeError", void 0);
1427
+ __decorate([r$1()], TextField.prototype, "nativeErrorText", void 0);
1428
+ __decorate([e$2(".input")], TextField.prototype, "inputOrTextarea", void 0);
1429
+ __decorate([e$2(".field")], TextField.prototype, "field", void 0);
1430
+ __decorate([o$1({ slot: "leading-icon" })], TextField.prototype, "leadingIcons", void 0);
1431
+ __decorate([o$1({ slot: "trailing-icon" })], TextField.prototype, "trailingIcons", void 0);
1432
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/textfield/internal/outlined-text-field.js
1433
+ /**
1434
+ * @license
1435
+ * Copyright 2021 Google LLC
1436
+ * SPDX-License-Identifier: Apache-2.0
1437
+ */
1438
+ /**
1439
+ * An outlined text field component
1440
+ */
1441
+ var OutlinedTextField = class extends TextField {
1442
+ constructor() {
1443
+ super(...arguments);
1444
+ this.fieldTag = i$5`md-outlined-field`;
1445
+ }
1446
+ };
1447
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/textfield/internal/shared-styles.cssresult.js
1448
+ /**
1449
+ * @license
1450
+ * Copyright 2026 Google LLC
1451
+ * SPDX-License-Identifier: Apache-2.0
1452
+ */
1453
+ var styles = i$3`:host{display:inline-flex;outline:none;resize:both;text-align:start;-webkit-tap-highlight-color:rgba(0,0,0,0)}.text-field,.field{width:100%}.text-field{display:inline-flex}.field{cursor:text}.disabled .field{cursor:default}.text-field,.textarea .field{resize:inherit}slot[name=container]{border-radius:inherit}.icon{color:currentColor;display:flex;align-items:center;justify-content:center;fill:currentColor;position:relative}.icon ::slotted(*){display:flex;position:absolute}[has-start] .icon.leading{font-size:var(--_leading-icon-size);height:var(--_leading-icon-size);width:var(--_leading-icon-size)}[has-end] .icon.trailing{font-size:var(--_trailing-icon-size);height:var(--_trailing-icon-size);width:var(--_trailing-icon-size)}.input-wrapper{display:flex}.input-wrapper>*{all:inherit;padding:0}.input{caret-color:var(--_caret-color);overflow-x:hidden;text-align:inherit}.input::placeholder{color:currentColor;opacity:1}.input::-webkit-calendar-picker-indicator{display:none}.input::-webkit-search-decoration,.input::-webkit-search-cancel-button{display:none}@media(forced-colors: active){.input{background:none}}.no-spinner .input::-webkit-inner-spin-button,.no-spinner .input::-webkit-outer-spin-button{display:none}.no-spinner .input[type=number]{-moz-appearance:textfield}:focus-within .input{caret-color:var(--_focus-caret-color)}.error:focus-within .input{caret-color:var(--_error-focus-caret-color)}.text-field:not(.disabled) .prefix{color:var(--_input-text-prefix-color)}.text-field:not(.disabled) .suffix{color:var(--_input-text-suffix-color)}.text-field:not(.disabled) .input::placeholder{color:var(--_input-text-placeholder-color)}.prefix,.suffix{text-wrap:nowrap;width:min-content}.prefix{padding-inline-end:var(--_input-text-prefix-trailing-space)}.suffix{padding-inline-start:var(--_input-text-suffix-leading-space)}
1454
+ `;
1455
+ styles.styleSheet;
1456
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/textfield/outlined-text-field.js
1457
+ /**
1458
+ * @license
1459
+ * Copyright 2021 Google LLC
1460
+ * SPDX-License-Identifier: Apache-2.0
1461
+ */
1462
+ /**
1463
+ * TODO(b/228525797): Add docs
1464
+ * @final
1465
+ * @suppress {visibility}
1466
+ */
1467
+ var MdOutlinedTextField = class MdOutlinedTextField extends OutlinedTextField {
1468
+ constructor() {
1469
+ super(...arguments);
1470
+ this.fieldTag = i$5`md-outlined-field`;
1471
+ }
1472
+ };
1473
+ MdOutlinedTextField.styles = [styles, styles$1];
1474
+ MdOutlinedTextField = __decorate([t$1("md-outlined-text-field")], MdOutlinedTextField);
1475
+ export { getValidityAnchor as a, createValidator as i, mixinOnReportValidity as n, mixinConstraintValidation as o, onReportValidity as r, o as s, Validator as t };
1476
+
1477
+ //# sourceMappingURL=outlined-text-field.js.map