@mhmo91/schmancy 0.10.28 → 0.10.30

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 (451) hide show
  1. package/custom-elements.json +7 -2
  2. package/dist/SchmancyElement-BQ4DFufc.js +300 -0
  3. package/dist/SchmancyElement-BQ4DFufc.js.map +1 -0
  4. package/dist/SchmancyElement-DhSiMp6Y.cjs +2 -0
  5. package/dist/SchmancyElement-DhSiMp6Y.cjs.map +1 -0
  6. package/dist/agent/{flow-3RrZM-e7.js.map → flow-CvG1fLW5.js.map} +1 -1
  7. package/dist/agent/schmancy.agent.js +7843 -3334
  8. package/dist/agent/schmancy.agent.js.map +1 -1
  9. package/dist/agent/schmancy.manifest.json +1 -2
  10. package/dist/agent/{vendor-material-color-33Mj762T.js.map → vendor-material-color-DcL7ZPxx.js.map} +1 -1
  11. package/dist/animation-CCOIW4wJ.cjs.map +1 -1
  12. package/dist/animation-DCznELuT.js.map +1 -1
  13. package/dist/{area-C_Yvjmad.js → area-BjpUWvzE.js} +7 -7
  14. package/dist/{area-C_Yvjmad.js.map → area-BjpUWvzE.js.map} +1 -1
  15. package/dist/area-CgTzkxah.cjs +21 -0
  16. package/dist/{area-BSVOYQDA.cjs.map → area-CgTzkxah.cjs.map} +1 -1
  17. package/dist/area.cjs +1 -1
  18. package/dist/area.js +1 -1
  19. package/dist/{audio-CxO5a2HL.js → audio-CwBJntnB.js} +1 -1
  20. package/dist/{audio-CxO5a2HL.js.map → audio-CwBJntnB.js.map} +1 -1
  21. package/dist/{audio-Cvmemu84.cjs → audio-DISBFOaR.cjs} +1 -1
  22. package/dist/{audio-Cvmemu84.cjs.map → audio-DISBFOaR.cjs.map} +1 -1
  23. package/dist/audio.cjs +1 -1
  24. package/dist/audio.js +2 -2
  25. package/dist/{autocomplete-B50VXUzw.cjs → autocomplete-DbCUOgWU.cjs} +2 -2
  26. package/dist/{autocomplete-B50VXUzw.cjs.map → autocomplete-DbCUOgWU.cjs.map} +1 -1
  27. package/dist/{autocomplete-C6I1mfOT.js → autocomplete-Dy708jem.js} +7 -7
  28. package/dist/{autocomplete-C6I1mfOT.js.map → autocomplete-Dy708jem.js.map} +1 -1
  29. package/dist/autocomplete.cjs +1 -1
  30. package/dist/autocomplete.js +1 -1
  31. package/dist/avatar.cjs +3 -3
  32. package/dist/avatar.cjs.map +1 -1
  33. package/dist/avatar.js +5 -5
  34. package/dist/avatar.js.map +1 -1
  35. package/dist/badge.cjs +1 -1
  36. package/dist/badge.js +1 -1
  37. package/dist/{boat-DVQBNkk5.cjs → boat-BzZN_iwp.cjs} +11 -11
  38. package/dist/{boat-DVQBNkk5.cjs.map → boat-BzZN_iwp.cjs.map} +1 -1
  39. package/dist/{boat-C94QZ4Zt.js → boat-Z4Lzl3ai.js} +8 -8
  40. package/dist/{boat-C94QZ4Zt.js.map → boat-Z4Lzl3ai.js.map} +1 -1
  41. package/dist/boat.cjs +1 -1
  42. package/dist/boat.js +1 -1
  43. package/dist/breadcrumb.cjs +4 -4
  44. package/dist/breadcrumb.cjs.map +1 -1
  45. package/dist/breadcrumb.js +7 -7
  46. package/dist/breadcrumb.js.map +1 -1
  47. package/dist/{busy--bNb42rM.js → busy-CRFGPkcP.js} +7 -7
  48. package/dist/{busy--bNb42rM.js.map → busy-CRFGPkcP.js.map} +1 -1
  49. package/dist/{busy-DuxFvEkY.cjs → busy-Cu-47DfN.cjs} +8 -8
  50. package/dist/{busy-DuxFvEkY.cjs.map → busy-Cu-47DfN.cjs.map} +1 -1
  51. package/dist/busy.cjs +1 -1
  52. package/dist/busy.js +1 -1
  53. package/dist/{button-DAFZ5A4O.cjs → button-CN_JTjRd.cjs} +15 -15
  54. package/dist/{button-DAFZ5A4O.cjs.map → button-CN_JTjRd.cjs.map} +1 -1
  55. package/dist/{button-B7b9L_h5.js → button-D_USF3tt.js} +10 -10
  56. package/dist/{button-B7b9L_h5.js.map → button-D_USF3tt.js.map} +1 -1
  57. package/dist/button.cjs +19 -19
  58. package/dist/button.cjs.map +1 -1
  59. package/dist/button.js +9 -9
  60. package/dist/button.js.map +1 -1
  61. package/dist/{card-DZPd24Sn.cjs → card-D4P5_gg9.cjs} +10 -10
  62. package/dist/{card-DZPd24Sn.cjs.map → card-D4P5_gg9.cjs.map} +1 -1
  63. package/dist/{card-ixzxOW-Q.js → card-DpN5KIYc.js} +15 -15
  64. package/dist/{card-ixzxOW-Q.js.map → card-DpN5KIYc.js.map} +1 -1
  65. package/dist/card.cjs +1 -1
  66. package/dist/card.js +1 -1
  67. package/dist/{checkbox-DdGpepTh.js → checkbox-C8ChypKf.js} +5 -5
  68. package/dist/{checkbox-DdGpepTh.js.map → checkbox-C8ChypKf.js.map} +1 -1
  69. package/dist/{checkbox-Bi_Fm2mf.cjs → checkbox-hhXVXDV1.cjs} +3 -3
  70. package/dist/{checkbox-Bi_Fm2mf.cjs.map → checkbox-hhXVXDV1.cjs.map} +1 -1
  71. package/dist/checkbox.cjs +1 -1
  72. package/dist/checkbox.js +1 -1
  73. package/dist/{chips-DLTynyVB.js → chips-B8R9q4yl.js} +27 -27
  74. package/dist/{chips-DLTynyVB.js.map → chips-B8R9q4yl.js.map} +1 -1
  75. package/dist/{chips-DWQMZErr.cjs → chips-BTLlO_Ow.cjs} +18 -18
  76. package/dist/{chips-DWQMZErr.cjs.map → chips-BTLlO_Ow.cjs.map} +1 -1
  77. package/dist/chips.cjs +1 -1
  78. package/dist/chips.js +2 -2
  79. package/dist/connectivity.cjs +7 -7
  80. package/dist/connectivity.cjs.map +1 -1
  81. package/dist/connectivity.js +5 -5
  82. package/dist/connectivity.js.map +1 -1
  83. package/dist/content-drawer.cjs +1 -1
  84. package/dist/content-drawer.js +1 -1
  85. package/dist/cursor-glow-Ah7VXSj7.js.map +1 -1
  86. package/dist/cursor-glow-Bulq-38P.cjs.map +1 -1
  87. package/dist/{date-range-DQpmMJH-.cjs → date-range-9h6ZSkZb.cjs} +3 -3
  88. package/dist/{date-range-DQpmMJH-.cjs.map → date-range-9h6ZSkZb.cjs.map} +1 -1
  89. package/dist/{date-range-CJ6MiTpF.js → date-range-CS96dWMh.js} +7 -7
  90. package/dist/{date-range-CJ6MiTpF.js.map → date-range-CS96dWMh.js.map} +1 -1
  91. package/dist/date-range-inline-CAxnHA-l.cjs +43 -0
  92. package/dist/{date-range-inline-nPWIs-3C.cjs.map → date-range-inline-CAxnHA-l.cjs.map} +1 -1
  93. package/dist/{date-range-inline-Ho3CENTh.js → date-range-inline-DCXdGeRv.js} +5 -5
  94. package/dist/{date-range-inline-Ho3CENTh.js.map → date-range-inline-DCXdGeRv.js.map} +1 -1
  95. package/dist/date-range-inline.cjs +1 -1
  96. package/dist/date-range-inline.js +1 -1
  97. package/dist/date-range.cjs +1 -1
  98. package/dist/date-range.js +1 -1
  99. package/dist/delay.cjs +4 -4
  100. package/dist/delay.cjs.map +1 -1
  101. package/dist/delay.js +6 -6
  102. package/dist/delay.js.map +1 -1
  103. package/dist/{details-BnRWMZdt.cjs → details-BC0IObBd.cjs} +2 -2
  104. package/dist/{details-BnRWMZdt.cjs.map → details-BC0IObBd.cjs.map} +1 -1
  105. package/dist/{details-CcMTvYo7.js → details-Pgd0slKn.js} +11 -11
  106. package/dist/{details-CcMTvYo7.js.map → details-Pgd0slKn.js.map} +1 -1
  107. package/dist/details.cjs +1 -1
  108. package/dist/details.js +1 -1
  109. package/dist/{directives-DgPbz0lQ.js → directives-B-RT9R2u.js} +3 -3
  110. package/dist/{directives-DgPbz0lQ.js.map → directives-B-RT9R2u.js.map} +1 -1
  111. package/dist/{directives-BkSqmLBV.cjs → directives-CFWacnWU.cjs} +1 -1
  112. package/dist/{directives-BkSqmLBV.cjs.map → directives-CFWacnWU.cjs.map} +1 -1
  113. package/dist/directives.cjs +1 -1
  114. package/dist/directives.js +2 -2
  115. package/dist/discovery.service-CIa3Eeuk.cjs.map +1 -1
  116. package/dist/discovery.service-DZFxtRwW.js.map +1 -1
  117. package/dist/{divider-CZCj0ioH.js → divider-BMzm0lOz.js} +5 -5
  118. package/dist/{divider-CZCj0ioH.js.map → divider-BMzm0lOz.js.map} +1 -1
  119. package/dist/{divider-C6yJSL1c.cjs → divider-D1OzaRAQ.cjs} +3 -3
  120. package/dist/{divider-C6yJSL1c.cjs.map → divider-D1OzaRAQ.cjs.map} +1 -1
  121. package/dist/divider.cjs +1 -1
  122. package/dist/divider.js +1 -1
  123. package/dist/dropdown.cjs +4 -4
  124. package/dist/dropdown.cjs.map +1 -1
  125. package/dist/dropdown.js +8 -8
  126. package/dist/dropdown.js.map +1 -1
  127. package/dist/{expand-Cc6ogXsR.js → expand-C0Uqxfv0.js} +10 -10
  128. package/dist/{expand-Cc6ogXsR.js.map → expand-C0Uqxfv0.js.map} +1 -1
  129. package/dist/{expand-D4EhwOYh.cjs → expand-CiQkzth9.cjs} +3 -3
  130. package/dist/{expand-D4EhwOYh.cjs.map → expand-CiQkzth9.cjs.map} +1 -1
  131. package/dist/expand.cjs +1 -1
  132. package/dist/expand.js +1 -1
  133. package/dist/float-Bu_IfKRd.cjs +1 -0
  134. package/dist/{float-B8EPc_OG.cjs.map → float-Bu_IfKRd.cjs.map} +1 -1
  135. package/dist/{float-BvI3HTtB.js → float-DwBMXhek.js} +2 -2
  136. package/dist/{float-BvI3HTtB.js.map → float-DwBMXhek.js.map} +1 -1
  137. package/dist/float.cjs +1 -1
  138. package/dist/float.js +1 -1
  139. package/dist/{form-FtYtZScl.js → form-B9Je2W_m.js} +15 -95
  140. package/dist/form-B9Je2W_m.js.map +1 -0
  141. package/dist/{form-SHg5FLsd.cjs → form-BnbAVZyf.cjs} +4 -19
  142. package/dist/form-BnbAVZyf.cjs.map +1 -0
  143. package/dist/form.cjs +18 -1
  144. package/dist/form.cjs.map +1 -0
  145. package/dist/form.js +93 -9
  146. package/dist/form.js.map +1 -0
  147. package/dist/gravity-6pL6CfIr.cjs.map +1 -1
  148. package/dist/gravity-sVK3zGBF.js.map +1 -1
  149. package/dist/handover/agent-runtime-followups.md +1 -1
  150. package/dist/handover/agent-runtime-v1.md +3 -3
  151. package/dist/hashContent-BqU6v1Xr.js.map +1 -1
  152. package/dist/hashContent-iRZJJWtE.cjs.map +1 -1
  153. package/dist/{icon-CgIXAvKI.cjs → icons-BfWQl5k5.cjs} +6 -6
  154. package/dist/icons-BfWQl5k5.cjs.map +1 -0
  155. package/dist/{icon-B1eZr2ZL.js → icons-DJHPXKgR.js} +4 -4
  156. package/dist/{icon-CgIXAvKI.cjs.map → icons-DJHPXKgR.js.map} +1 -1
  157. package/dist/icons.cjs +1 -1
  158. package/dist/icons.js +1 -1
  159. package/dist/{iframe-CmpAZc61.js → iframe-DLz8ll0s.js} +5 -5
  160. package/dist/{iframe-CmpAZc61.js.map → iframe-DLz8ll0s.js.map} +1 -1
  161. package/dist/{iframe-BO3BpRLH.cjs → iframe-UtczJypj.cjs} +5 -5
  162. package/dist/{iframe-BO3BpRLH.cjs.map → iframe-UtczJypj.cjs.map} +1 -1
  163. package/dist/iframe.cjs +1 -1
  164. package/dist/iframe.js +1 -1
  165. package/dist/index.cjs +1 -1
  166. package/dist/index.js +69 -69
  167. package/dist/{input-_Hft9vov.js → input-AQbBEj2f.js} +15 -15
  168. package/dist/{input-_Hft9vov.js.map → input-AQbBEj2f.js.map} +1 -1
  169. package/dist/{input-5YL2oUBr.cjs → input-Pp6A1m3s.cjs} +2 -2
  170. package/dist/{input-5YL2oUBr.cjs.map → input-Pp6A1m3s.cjs.map} +1 -1
  171. package/dist/{input-chip-DKMNpcED.cjs → input-chip-B5vYNuEm.cjs} +9 -9
  172. package/dist/{input-chip-DKMNpcED.cjs.map → input-chip-B5vYNuEm.cjs.map} +1 -1
  173. package/dist/{input-chip-BNTojQT6.js → input-chip-Bbs_gXOB.js} +10 -10
  174. package/dist/{input-chip-BNTojQT6.js.map → input-chip-Bbs_gXOB.js.map} +1 -1
  175. package/dist/input.cjs +1 -1
  176. package/dist/input.js +1 -1
  177. package/dist/json.cjs +3 -3
  178. package/dist/json.cjs.map +1 -1
  179. package/dist/json.js +5 -5
  180. package/dist/json.js.map +1 -1
  181. package/dist/kbd.cjs +2 -2
  182. package/dist/kbd.cjs.map +1 -1
  183. package/dist/kbd.js +5 -5
  184. package/dist/kbd.js.map +1 -1
  185. package/dist/{layout-DSAjo92m.js → layout-9K1zxhZn.js} +1 -1
  186. package/dist/{layout-DSAjo92m.js.map → layout-9K1zxhZn.js.map} +1 -1
  187. package/dist/{layout-eXb9wjDh.cjs → layout-B0dct--7.cjs} +1 -1
  188. package/dist/{layout-eXb9wjDh.cjs.map → layout-B0dct--7.cjs.map} +1 -1
  189. package/dist/layout.cjs +2 -2
  190. package/dist/layout.cjs.map +1 -1
  191. package/dist/layout.js +7 -7
  192. package/dist/layout.js.map +1 -1
  193. package/dist/lazy-CayEFyC3.cjs.map +1 -1
  194. package/dist/lazy-D-bO2r4m.js.map +1 -1
  195. package/dist/{lightbox-t4dvb8_A.cjs → lightbox-D_EizrG3.cjs} +21 -21
  196. package/dist/{lightbox-t4dvb8_A.cjs.map → lightbox-D_EizrG3.cjs.map} +1 -1
  197. package/dist/{lightbox-CKlYcnHV.js → lightbox-DmJTs2My.js} +9 -9
  198. package/dist/{lightbox-CKlYcnHV.js.map → lightbox-DmJTs2My.js.map} +1 -1
  199. package/dist/lightbox.cjs +1 -1
  200. package/dist/lightbox.js +1 -1
  201. package/dist/{list-21mWtDKg.cjs → list-BSn8czyO.cjs} +5 -5
  202. package/dist/{list-21mWtDKg.cjs.map → list-BSn8czyO.cjs.map} +1 -1
  203. package/dist/{list-B6QhxgRJ.js → list-DjSSRZxF.js} +12 -12
  204. package/dist/{list-B6QhxgRJ.js.map → list-DjSSRZxF.js.map} +1 -1
  205. package/dist/list.cjs +1 -1
  206. package/dist/list.js +1 -1
  207. package/dist/magnetic-B2VKNfDu.js.map +1 -1
  208. package/dist/magnetic-MQ3HMHJi.cjs.map +1 -1
  209. package/dist/{menu-C5qcgMnw.js → menu-CCVEde6u.js} +7 -7
  210. package/dist/{menu-C5qcgMnw.js.map → menu-CCVEde6u.js.map} +1 -1
  211. package/dist/menu-DTNnq7j_.cjs +23 -0
  212. package/dist/{menu-Cuxt5K4Y.cjs.map → menu-DTNnq7j_.cjs.map} +1 -1
  213. package/dist/menu.cjs +1 -1
  214. package/dist/menu.js +1 -1
  215. package/dist/mixins-BYfSDvbP.js +412 -0
  216. package/dist/mixins-BYfSDvbP.js.map +1 -0
  217. package/dist/mixins-YQI9JogS.cjs +245 -0
  218. package/dist/mixins-YQI9JogS.cjs.map +1 -0
  219. package/dist/mixins.cjs +1 -1
  220. package/dist/mixins.js +3 -2
  221. package/dist/nav-drawer.cjs +1 -1
  222. package/dist/nav-drawer.js +1 -1
  223. package/dist/navigation-bar.cjs +1 -1
  224. package/dist/navigation-bar.js +1 -1
  225. package/dist/navigation-rail.cjs +10 -10
  226. package/dist/navigation-rail.cjs.map +1 -1
  227. package/dist/navigation-rail.js +15 -15
  228. package/dist/navigation-rail.js.map +1 -1
  229. package/dist/{notification-CDKBKh63.js → notification-BNEuu3Q2.js} +7 -7
  230. package/dist/{notification-CDKBKh63.js.map → notification-BNEuu3Q2.js.map} +1 -1
  231. package/dist/notification-RhaYvA1I.cjs +24 -0
  232. package/dist/{notification-CcNoBFEJ.cjs.map → notification-RhaYvA1I.cjs.map} +1 -1
  233. package/dist/notification.cjs +1 -1
  234. package/dist/notification.js +1 -1
  235. package/dist/{option-BWfmDJvm.js → option-BLMYRy5C.js} +6 -6
  236. package/dist/{option-BWfmDJvm.js.map → option-BLMYRy5C.js.map} +1 -1
  237. package/dist/{option-DejeqOad.cjs → option-Dk7UFFlr.cjs} +5 -5
  238. package/dist/{option-DejeqOad.cjs.map → option-Dk7UFFlr.cjs.map} +1 -1
  239. package/dist/option.cjs +1 -1
  240. package/dist/option.js +1 -1
  241. package/dist/overlay-BbntqsVm.cjs +43 -0
  242. package/dist/overlay-BbntqsVm.cjs.map +1 -0
  243. package/dist/{overlay-D3c_NY18.js → overlay-CujzmLxg.js} +93 -144
  244. package/dist/overlay-CujzmLxg.js.map +1 -0
  245. package/dist/overlay-stack-Bdr9lOqi.cjs.map +1 -1
  246. package/dist/overlay-stack-D2rgxQLh.js.map +1 -1
  247. package/dist/overlay.cjs +1 -1
  248. package/dist/overlay.confirm-body-CMge0LP5.cjs +70 -0
  249. package/dist/overlay.confirm-body-CMge0LP5.cjs.map +1 -0
  250. package/dist/{overlay.confirm-body-B_v0ivkn.js → overlay.confirm-body-CRk4MvKh.js} +15 -27
  251. package/dist/overlay.confirm-body-CRk4MvKh.js.map +1 -0
  252. package/dist/overlay.js +3 -3
  253. package/dist/{overlay.service-B3FjXCqc.js → overlay.service-DnT4SBlJ.js} +31 -27
  254. package/dist/{overlay.service-B3FjXCqc.js.map → overlay.service-DnT4SBlJ.js.map} +1 -1
  255. package/dist/overlay.service-Dq5XtSEL.cjs +1 -0
  256. package/dist/{overlay.service-BkSeqXIv.cjs.map → overlay.service-Dq5XtSEL.cjs.map} +1 -1
  257. package/dist/{progress-6_rb3Ah9.cjs → progress-Bqd4DdOQ.cjs} +7 -7
  258. package/dist/{progress-6_rb3Ah9.cjs.map → progress-Bqd4DdOQ.cjs.map} +1 -1
  259. package/dist/{progress-CFcmO0wv.js → progress-Cu_wh6Sl.js} +10 -10
  260. package/dist/{progress-CFcmO0wv.js.map → progress-Cu_wh6Sl.js.map} +1 -1
  261. package/dist/progress.cjs +1 -1
  262. package/dist/progress.js +1 -1
  263. package/dist/radio-group-C8rUbYL6.cjs +19 -0
  264. package/dist/{radio-group-_WZg8EKM.cjs.map → radio-group-C8rUbYL6.cjs.map} +1 -1
  265. package/dist/{radio-group-Bd8y9QpX.js → radio-group-Duzgx17I.js} +7 -7
  266. package/dist/{radio-group-Bd8y9QpX.js.map → radio-group-Duzgx17I.js.map} +1 -1
  267. package/dist/radio-group.cjs +1 -1
  268. package/dist/radio-group.js +1 -1
  269. package/dist/range.cjs +2 -2
  270. package/dist/range.cjs.map +1 -1
  271. package/dist/range.js +5 -5
  272. package/dist/range.js.map +1 -1
  273. package/dist/reduced-motion-D-L12p7G.js.map +1 -1
  274. package/dist/reduced-motion-Ds-HjMzn.cjs.map +1 -1
  275. package/dist/rxjs-utils-Csnks202.cjs.map +1 -1
  276. package/dist/rxjs-utils-d-ivVN84.js.map +1 -1
  277. package/dist/search-DPKoC-dT.cjs.map +1 -1
  278. package/dist/search-MvIBA93K.js.map +1 -1
  279. package/dist/{select-Czpl1ztD.js → select-CzCv1f1c.js} +6 -6
  280. package/dist/{select-Czpl1ztD.js.map → select-CzCv1f1c.js.map} +1 -1
  281. package/dist/{select-BaioT3yY.cjs → select-DdqEsfnG.cjs} +2 -2
  282. package/dist/{select-BaioT3yY.cjs.map → select-DdqEsfnG.cjs.map} +1 -1
  283. package/dist/select.cjs +1 -1
  284. package/dist/select.js +1 -1
  285. package/dist/skeleton.cjs +2 -2
  286. package/dist/skeleton.cjs.map +1 -1
  287. package/dist/skeleton.js +5 -5
  288. package/dist/skeleton.js.map +1 -1
  289. package/dist/skills/form.md +34 -0
  290. package/dist/skills/schmancy/form.md +34 -0
  291. package/dist/slider.cjs +7 -7
  292. package/dist/slider.cjs.map +1 -1
  293. package/dist/slider.js +6 -6
  294. package/dist/slider.js.map +1 -1
  295. package/dist/{sound.service-v_jqCkos.js → sound.service-BOWTBG16.js} +1 -1
  296. package/dist/{sound.service-v_jqCkos.js.map → sound.service-BOWTBG16.js.map} +1 -1
  297. package/dist/{sound.service-DVJZb9ox.cjs → sound.service-BwIzAFQx.cjs} +1 -1
  298. package/dist/{sound.service-DVJZb9ox.cjs.map → sound.service-BwIzAFQx.cjs.map} +1 -1
  299. package/dist/{splash-screen-YtTVkJg8.js → splash-screen-Dj-zuGuB.js} +6 -6
  300. package/dist/{splash-screen-YtTVkJg8.js.map → splash-screen-Dj-zuGuB.js.map} +1 -1
  301. package/dist/splash-screen-_KhxgneW.cjs +41 -0
  302. package/dist/{splash-screen-3FtgdVy3.cjs.map → splash-screen-_KhxgneW.cjs.map} +1 -1
  303. package/dist/splash-screen.cjs +1 -1
  304. package/dist/splash-screen.js +1 -1
  305. package/dist/src-BSjgxN07.cjs +263 -0
  306. package/dist/{src-AYRNg63f.cjs.map → src-BSjgxN07.cjs.map} +1 -1
  307. package/dist/{src-DKMEgT2z.js → src-Curgs4Yp.js} +83 -83
  308. package/dist/{src-DKMEgT2z.js.map → src-Curgs4Yp.js.map} +1 -1
  309. package/dist/state-BthYuA3T.cjs +1 -0
  310. package/dist/state-BthYuA3T.cjs.map +1 -0
  311. package/dist/{state-CHbIt2Dw.js → state-E0bVrZ7q.js} +293 -279
  312. package/dist/state-E0bVrZ7q.js.map +1 -0
  313. package/dist/state.cjs +1 -1
  314. package/dist/state.js +3 -3
  315. package/dist/steps.cjs +10 -10
  316. package/dist/steps.cjs.map +1 -1
  317. package/dist/steps.js +9 -9
  318. package/dist/steps.js.map +1 -1
  319. package/dist/{surface-CVxyQPln.js → surface-C2TIedTq.js} +4 -4
  320. package/dist/{surface-CVxyQPln.js.map → surface-C2TIedTq.js.map} +1 -1
  321. package/dist/surface-D-GqzyLn.cjs +7 -0
  322. package/dist/{surface-BNvxLEDN.cjs.map → surface-D-GqzyLn.cjs.map} +1 -1
  323. package/dist/surface.cjs +1 -1
  324. package/dist/surface.js +1 -1
  325. package/dist/switch.cjs +2 -2
  326. package/dist/switch.cjs.map +1 -1
  327. package/dist/switch.js +6 -6
  328. package/dist/switch.js.map +1 -1
  329. package/dist/table.cjs +11 -11
  330. package/dist/table.cjs.map +1 -1
  331. package/dist/table.js +10 -10
  332. package/dist/table.js.map +1 -1
  333. package/dist/{tabs-CnPXvZuZ.js → tabs-CLRVe23a.js} +11 -11
  334. package/dist/{tabs-CnPXvZuZ.js.map → tabs-CLRVe23a.js.map} +1 -1
  335. package/dist/{tabs-DTU7748z.cjs → tabs-C_493iod.cjs} +4 -4
  336. package/dist/{tabs-DTU7748z.cjs.map → tabs-C_493iod.cjs.map} +1 -1
  337. package/dist/tabs.cjs +1 -1
  338. package/dist/tabs.js +1 -1
  339. package/dist/teleport.cjs +1 -1
  340. package/dist/teleport.js +1 -1
  341. package/dist/{textarea-mQPsppmd.js → textarea-BWEyOtPy.js} +9 -9
  342. package/dist/{textarea-mQPsppmd.js.map → textarea-BWEyOtPy.js.map} +1 -1
  343. package/dist/textarea-CICgd2oP.cjs +43 -0
  344. package/dist/{textarea-Bqth6Q8P.cjs.map → textarea-CICgd2oP.cjs.map} +1 -1
  345. package/dist/textarea.cjs +1 -1
  346. package/dist/textarea.js +1 -1
  347. package/dist/{theme-BJqpv4cG.js → theme-Bfg_H2AF.js} +12 -12
  348. package/dist/{theme-BJqpv4cG.js.map → theme-Bfg_H2AF.js.map} +1 -1
  349. package/dist/theme-D7zOJiyg.cjs +181 -0
  350. package/dist/{theme-D4HGKt7N.cjs.map → theme-D7zOJiyg.cjs.map} +1 -1
  351. package/dist/{theme-button-Jap7G_IH.js → theme-button-C53GdQER.js} +4 -4
  352. package/dist/{theme-button-Jap7G_IH.js.map → theme-button-C53GdQER.js.map} +1 -1
  353. package/dist/theme-button-DgeBcqFm.cjs +8 -0
  354. package/dist/{theme-button-LP-Dgr17.cjs.map → theme-button-DgeBcqFm.cjs.map} +1 -1
  355. package/dist/theme-button.cjs +1 -1
  356. package/dist/theme-button.js +1 -1
  357. package/dist/theme.cjs +1 -1
  358. package/dist/theme.interface-CSt7JUBD.cjs.map +1 -1
  359. package/dist/theme.interface-odQEpZZH.js.map +1 -1
  360. package/dist/theme.js +3 -3
  361. package/dist/{theme.service-Bh08uOSJ.js → theme.service-BqDuioYc.js} +1 -1
  362. package/dist/{theme.service-Bh08uOSJ.js.map → theme.service-BqDuioYc.js.map} +1 -1
  363. package/dist/{theme.service-Y-e8b331.cjs → theme.service-C3PoISGd.cjs} +1 -1
  364. package/dist/{theme.service-Y-e8b331.cjs.map → theme.service-C3PoISGd.cjs.map} +1 -1
  365. package/dist/tooltip.cjs.map +1 -1
  366. package/dist/tooltip.js.map +1 -1
  367. package/dist/tree.cjs +3 -3
  368. package/dist/tree.cjs.map +1 -1
  369. package/dist/tree.js +4 -4
  370. package/dist/tree.js.map +1 -1
  371. package/dist/types.cjs.map +1 -1
  372. package/dist/types.js.map +1 -1
  373. package/dist/typewriter.cjs.map +1 -1
  374. package/dist/typewriter.js.map +1 -1
  375. package/dist/{typography-Bc4MmSal.cjs → typography-B19fJ5YT.cjs} +4 -4
  376. package/dist/{typography-Bc4MmSal.cjs.map → typography-B19fJ5YT.cjs.map} +1 -1
  377. package/dist/{typography-BJMm6b0b.js → typography-CzbQv-X0.js} +10 -10
  378. package/dist/{typography-BJMm6b0b.js.map → typography-CzbQv-X0.js.map} +1 -1
  379. package/dist/typography.cjs +1 -1
  380. package/dist/typography.js +1 -1
  381. package/dist/utils-DTa3QHxk.cjs.map +1 -1
  382. package/dist/utils-H8wNknWC.js.map +1 -1
  383. package/dist/visually-hidden.cjs +2 -2
  384. package/dist/visually-hidden.cjs.map +1 -1
  385. package/dist/visually-hidden.js +4 -4
  386. package/dist/visually-hidden.js.map +1 -1
  387. package/dist/window-DXB53PuA.cjs +59 -0
  388. package/dist/{window-CNu_WnsY.cjs.map → window-DXB53PuA.cjs.map} +1 -1
  389. package/dist/{window-DZTjkE24.js → window-DpctMXiy.js} +9 -9
  390. package/dist/{window-DZTjkE24.js.map → window-DpctMXiy.js.map} +1 -1
  391. package/dist/window.cjs +1 -1
  392. package/dist/window.js +1 -1
  393. package/package.json +1 -1
  394. package/skills/schmancy/form.md +34 -0
  395. package/src/form/form.ts +5 -1
  396. package/src/overlay/overlay.animations.ts +0 -29
  397. package/src/overlay/overlay.component.ts +30 -38
  398. package/src/overlay/overlay.confirm-body.ts +3 -15
  399. package/src/overlay/overlay.layout.ts +11 -53
  400. package/src/overlay/overlay.stack.test.ts +113 -0
  401. package/src/overlay/overlay.types.ts +17 -11
  402. package/src/state/active-host.ts +50 -1
  403. package/src/state/index.ts +50 -11
  404. package/src/state/schmancy-context.ts +97 -88
  405. package/src/surface/surface.styles.ts +14 -10
  406. package/types/src/form/form.d.ts +1 -0
  407. package/types/src/overlay/overlay.confirm-body.d.ts +1 -1
  408. package/types/src/overlay/overlay.layout.d.ts +10 -30
  409. package/types/src/overlay/overlay.stack.test.d.ts +1 -0
  410. package/types/src/overlay/overlay.types.d.ts +17 -11
  411. package/types/src/state/active-host.d.ts +3 -0
  412. package/types/src/state/index.d.ts +16 -2
  413. package/types/src/state/schmancy-context.d.ts +2 -2
  414. package/dist/active-host-BP0zy_Y9.js +0 -63
  415. package/dist/active-host-BP0zy_Y9.js.map +0 -1
  416. package/dist/active-host-jH3iloCR.cjs +0 -1
  417. package/dist/active-host-jH3iloCR.cjs.map +0 -1
  418. package/dist/agent/overlay.confirm-body-BZoUgkdK.js +0 -4574
  419. package/dist/agent/overlay.confirm-body-BZoUgkdK.js.map +0 -1
  420. package/dist/area-BSVOYQDA.cjs +0 -21
  421. package/dist/date-range-inline-nPWIs-3C.cjs +0 -43
  422. package/dist/float-B8EPc_OG.cjs +0 -1
  423. package/dist/form-FtYtZScl.js.map +0 -1
  424. package/dist/form-SHg5FLsd.cjs.map +0 -1
  425. package/dist/icon-B1eZr2ZL.js.map +0 -1
  426. package/dist/menu-Cuxt5K4Y.cjs +0 -23
  427. package/dist/mixins-8dT5j6CS.js +0 -627
  428. package/dist/mixins-8dT5j6CS.js.map +0 -1
  429. package/dist/mixins-BF3Vj8_c.cjs +0 -242
  430. package/dist/mixins-BF3Vj8_c.cjs.map +0 -1
  431. package/dist/notification-CcNoBFEJ.cjs +0 -24
  432. package/dist/overlay-D3c_NY18.js.map +0 -1
  433. package/dist/overlay-Dv2utO4C.cjs +0 -43
  434. package/dist/overlay-Dv2utO4C.cjs.map +0 -1
  435. package/dist/overlay.confirm-body-B2ntyquG.cjs +0 -79
  436. package/dist/overlay.confirm-body-B2ntyquG.cjs.map +0 -1
  437. package/dist/overlay.confirm-body-B_v0ivkn.js.map +0 -1
  438. package/dist/overlay.service-BkSeqXIv.cjs +0 -1
  439. package/dist/radio-group-_WZg8EKM.cjs +0 -19
  440. package/dist/splash-screen-3FtgdVy3.cjs +0 -41
  441. package/dist/src-AYRNg63f.cjs +0 -263
  442. package/dist/state-CHbIt2Dw.js.map +0 -1
  443. package/dist/state-DcGj-pJJ.cjs +0 -1
  444. package/dist/state-DcGj-pJJ.cjs.map +0 -1
  445. package/dist/surface-BNvxLEDN.cjs +0 -7
  446. package/dist/textarea-Bqth6Q8P.cjs +0 -43
  447. package/dist/theme-D4HGKt7N.cjs +0 -181
  448. package/dist/theme-button-LP-Dgr17.cjs +0 -8
  449. package/dist/window-CNu_WnsY.cjs +0 -59
  450. /package/dist/agent/{flow-3RrZM-e7.js → flow-CvG1fLW5.js} +0 -0
  451. /package/dist/agent/{vendor-material-color-33Mj762T.js → vendor-material-color-DcL7ZPxx.js} +0 -0
@@ -1,4574 +0,0 @@
1
- import { n as e } from "./rolldown-runtime-BIIoCavz.js";
2
- var t = function(e, n) {
3
- return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
4
- e.__proto__ = t;
5
- } || function(e, t) {
6
- for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
7
- }, t(e, n);
8
- };
9
- function n(e, n) {
10
- if (typeof n != "function" && n !== null) throw TypeError("Class extends value " + String(n) + " is not a constructor or null");
11
- function r() {
12
- this.constructor = e;
13
- }
14
- t(e, n), e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
15
- }
16
- function r(e, t, n, r) {
17
- var i, a = arguments.length, o = a < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r;
18
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(e, t, n, r);
19
- else for (var s = e.length - 1; s >= 0; s--) (i = e[s]) && (o = (a < 3 ? i(o) : a > 3 ? i(t, n, o) : i(t, n)) || o);
20
- return a > 3 && o && Object.defineProperty(t, n, o), o;
21
- }
22
- function i(e, t, n, r) {
23
- return new (n ||= Promise)(function(i, a) {
24
- function o(e) {
25
- try {
26
- c(r.next(e));
27
- } catch (e) {
28
- a(e);
29
- }
30
- }
31
- function s(e) {
32
- try {
33
- c(r.throw(e));
34
- } catch (e) {
35
- a(e);
36
- }
37
- }
38
- function c(e) {
39
- var t;
40
- e.done ? i(e.value) : (t = e.value, t instanceof n ? t : new n(function(e) {
41
- e(t);
42
- })).then(o, s);
43
- }
44
- c((r = r.apply(e, t || [])).next());
45
- });
46
- }
47
- function a(e, t) {
48
- var n, r, i, a = {
49
- label: 0,
50
- sent: function() {
51
- if (1 & i[0]) throw i[1];
52
- return i[1];
53
- },
54
- trys: [],
55
- ops: []
56
- }, o = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
57
- return o.next = s(0), o.throw = s(1), o.return = s(2), typeof Symbol == "function" && (o[Symbol.iterator] = function() {
58
- return this;
59
- }), o;
60
- function s(s) {
61
- return function(c) {
62
- return function(s) {
63
- if (n) throw TypeError("Generator is already executing.");
64
- for (; o && (o = 0, s[0] && (a = 0)), a;) try {
65
- if (n = 1, r && (i = 2 & s[0] ? r.return : s[0] ? r.throw || ((i = r.return) && i.call(r), 0) : r.next) && !(i = i.call(r, s[1])).done) return i;
66
- switch (r = 0, i && (s = [2 & s[0], i.value]), s[0]) {
67
- case 0:
68
- case 1:
69
- i = s;
70
- break;
71
- case 4: return a.label++, {
72
- value: s[1],
73
- done: !1
74
- };
75
- case 5:
76
- a.label++, r = s[1], s = [0];
77
- continue;
78
- case 7:
79
- s = a.ops.pop(), a.trys.pop();
80
- continue;
81
- default:
82
- if (i = a.trys, !((i = i.length > 0 && i[i.length - 1]) || s[0] !== 6 && s[0] !== 2)) {
83
- a = 0;
84
- continue;
85
- }
86
- if (s[0] === 3 && (!i || s[1] > i[0] && s[1] < i[3])) {
87
- a.label = s[1];
88
- break;
89
- }
90
- if (s[0] === 6 && a.label < i[1]) {
91
- a.label = i[1], i = s;
92
- break;
93
- }
94
- if (i && a.label < i[2]) {
95
- a.label = i[2], a.ops.push(s);
96
- break;
97
- }
98
- i[2] && a.ops.pop(), a.trys.pop();
99
- continue;
100
- }
101
- s = t.call(e, a);
102
- } catch (e) {
103
- s = [6, e], r = 0;
104
- } finally {
105
- n = i = 0;
106
- }
107
- if (5 & s[0]) throw s[1];
108
- return {
109
- value: s[0] ? s[1] : void 0,
110
- done: !0
111
- };
112
- }([s, c]);
113
- };
114
- }
115
- }
116
- function o(e) {
117
- var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
118
- if (n) return n.call(e);
119
- if (e && typeof e.length == "number") return { next: function() {
120
- return e && r >= e.length && (e = void 0), {
121
- value: e && e[r++],
122
- done: !e
123
- };
124
- } };
125
- throw TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
126
- }
127
- function s(e, t) {
128
- var n = typeof Symbol == "function" && e[Symbol.iterator];
129
- if (!n) return e;
130
- var r, i, a = n.call(e), o = [];
131
- try {
132
- for (; (t === void 0 || t-- > 0) && !(r = a.next()).done;) o.push(r.value);
133
- } catch (e) {
134
- i = { error: e };
135
- } finally {
136
- try {
137
- r && !r.done && (n = a.return) && n.call(a);
138
- } finally {
139
- if (i) throw i.error;
140
- }
141
- }
142
- return o;
143
- }
144
- function c(e, t, n) {
145
- if (n || arguments.length === 2) for (var r, i = 0, a = t.length; i < a; i++) !r && i in t || (r ||= Array.prototype.slice.call(t, 0, i), r[i] = t[i]);
146
- return e.concat(r || Array.prototype.slice.call(t));
147
- }
148
- function l(e) {
149
- return this instanceof l ? (this.v = e, this) : new l(e);
150
- }
151
- function u(e, t, n) {
152
- if (!Symbol.asyncIterator) throw TypeError("Symbol.asyncIterator is not defined.");
153
- var r, i = n.apply(e, t || []), a = [];
154
- return r = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), o("next"), o("throw"), o("return", function(e) {
155
- return function(t) {
156
- return Promise.resolve(t).then(e, u);
157
- };
158
- }), r[Symbol.asyncIterator] = function() {
159
- return this;
160
- }, r;
161
- function o(e, t) {
162
- i[e] && (r[e] = function(t) {
163
- return new Promise(function(n, r) {
164
- a.push([
165
- e,
166
- t,
167
- n,
168
- r
169
- ]) > 1 || s(e, t);
170
- });
171
- }, t && (r[e] = t(r[e])));
172
- }
173
- function s(e, t) {
174
- try {
175
- (function(e) {
176
- e.value instanceof l ? Promise.resolve(e.value.v).then(c, u) : d(a[0][2], e);
177
- })(i[e](t));
178
- } catch (e) {
179
- d(a[0][3], e);
180
- }
181
- }
182
- function c(e) {
183
- s("next", e);
184
- }
185
- function u(e) {
186
- s("throw", e);
187
- }
188
- function d(e, t) {
189
- e(t), a.shift(), a.length && s(a[0][0], a[0][1]);
190
- }
191
- }
192
- function d(e) {
193
- if (!Symbol.asyncIterator) throw TypeError("Symbol.asyncIterator is not defined.");
194
- var t, n = e[Symbol.asyncIterator];
195
- return n ? n.call(e) : (e = o(e), t = {}, r("next"), r("throw"), r("return"), t[Symbol.asyncIterator] = function() {
196
- return this;
197
- }, t);
198
- function r(n) {
199
- t[n] = e[n] && function(t) {
200
- return new Promise(function(r, i) {
201
- (function(e, t, n, r) {
202
- Promise.resolve(r).then(function(t) {
203
- e({
204
- value: t,
205
- done: n
206
- });
207
- }, t);
208
- })(r, i, (t = e[n](t)).done, t.value);
209
- });
210
- };
211
- }
212
- }
213
- function f(e) {
214
- return typeof e == "function";
215
- }
216
- function p(e) {
217
- var t = e(function(e) {
218
- Error.call(e), e.stack = (/* @__PURE__ */ Error()).stack;
219
- });
220
- return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
221
- }
222
- var ee = p(function(e) {
223
- return function(t) {
224
- e(this), this.message = t ? t.length + " errors occurred during unsubscription:\n" + t.map(function(e, t) {
225
- return t + 1 + ") " + e.toString();
226
- }).join("\n ") : "", this.name = "UnsubscriptionError", this.errors = t;
227
- };
228
- });
229
- function m(e, t) {
230
- if (e) {
231
- var n = e.indexOf(t);
232
- 0 <= n && e.splice(n, 1);
233
- }
234
- }
235
- var h = function() {
236
- function e(e) {
237
- this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
238
- }
239
- var t;
240
- return e.prototype.unsubscribe = function() {
241
- var e, t, n, r, i;
242
- if (!this.closed) {
243
- this.closed = !0;
244
- var a = this._parentage;
245
- if (a) if (this._parentage = null, Array.isArray(a)) try {
246
- for (var l = o(a), u = l.next(); !u.done; u = l.next()) u.value.remove(this);
247
- } catch (t) {
248
- e = { error: t };
249
- } finally {
250
- try {
251
- u && !u.done && (t = l.return) && t.call(l);
252
- } finally {
253
- if (e) throw e.error;
254
- }
255
- }
256
- else a.remove(this);
257
- var d = this.initialTeardown;
258
- if (f(d)) try {
259
- d();
260
- } catch (e) {
261
- i = e instanceof ee ? e.errors : [e];
262
- }
263
- var p = this._finalizers;
264
- if (p) {
265
- this._finalizers = null;
266
- try {
267
- for (var m = o(p), h = m.next(); !h.done; h = m.next()) {
268
- var te = h.value;
269
- try {
270
- re(te);
271
- } catch (e) {
272
- i ??= [], e instanceof ee ? i = c(c([], s(i)), s(e.errors)) : i.push(e);
273
- }
274
- }
275
- } catch (e) {
276
- n = { error: e };
277
- } finally {
278
- try {
279
- h && !h.done && (r = m.return) && r.call(m);
280
- } finally {
281
- if (n) throw n.error;
282
- }
283
- }
284
- }
285
- if (i) throw new ee(i);
286
- }
287
- }, e.prototype.add = function(t) {
288
- if (t && t !== this) if (this.closed) re(t);
289
- else {
290
- if (t instanceof e) {
291
- if (t.closed || t._hasParent(this)) return;
292
- t._addParent(this);
293
- }
294
- (this._finalizers = this._finalizers ?? []).push(t);
295
- }
296
- }, e.prototype._hasParent = function(e) {
297
- var t = this._parentage;
298
- return t === e || Array.isArray(t) && t.includes(e);
299
- }, e.prototype._addParent = function(e) {
300
- var t = this._parentage;
301
- this._parentage = Array.isArray(t) ? (t.push(e), t) : t ? [t, e] : e;
302
- }, e.prototype._removeParent = function(e) {
303
- var t = this._parentage;
304
- t === e ? this._parentage = null : Array.isArray(t) && m(t, e);
305
- }, e.prototype.remove = function(t) {
306
- var n = this._finalizers;
307
- n && m(n, t), t instanceof e && t._removeParent(this);
308
- }, e.EMPTY = ((t = new e()).closed = !0, t), e;
309
- }(), te = h.EMPTY;
310
- function ne(e) {
311
- return e instanceof h || e && "closed" in e && f(e.remove) && f(e.add) && f(e.unsubscribe);
312
- }
313
- function re(e) {
314
- f(e) ? e() : e.unsubscribe();
315
- }
316
- var ie = null, ae = null, oe = void 0, se = !1, ce = !1, le = {
317
- setTimeout: function(e, t) {
318
- var n = [...arguments].slice(2), r = le.delegate;
319
- return r?.setTimeout ? r.setTimeout.apply(r, c([e, t], s(n))) : setTimeout.apply(void 0, c([e, t], s(n)));
320
- },
321
- clearTimeout: function(e) {
322
- return (le.delegate?.clearTimeout || clearTimeout)(e);
323
- },
324
- delegate: void 0
325
- };
326
- function ue(e) {
327
- le.setTimeout(function() {
328
- if (!ie) throw e;
329
- ie(e);
330
- });
331
- }
332
- function de() {}
333
- var fe = pe("C", void 0, void 0);
334
- function pe(e, t, n) {
335
- return {
336
- kind: e,
337
- value: t,
338
- error: n
339
- };
340
- }
341
- var g = null;
342
- function me(e) {
343
- if (se) {
344
- var t = !g;
345
- if (t && (g = {
346
- errorThrown: !1,
347
- error: null
348
- }), e(), t) {
349
- var n = g, r = n.errorThrown, i = n.error;
350
- if (g = null, r) throw i;
351
- }
352
- } else e();
353
- }
354
- var he = function(e) {
355
- function t(t) {
356
- var n = e.call(this) || this;
357
- return n.isStopped = !1, t ? (n.destination = t, ne(t) && t.add(n)) : n.destination = Se, n;
358
- }
359
- return n(t, e), t.create = function(e, t, n) {
360
- return new ye(e, t, n);
361
- }, t.prototype.next = function(e) {
362
- this.isStopped ? xe(function(e) {
363
- return pe("N", e, void 0);
364
- }(e), this) : this._next(e);
365
- }, t.prototype.error = function(e) {
366
- this.isStopped ? xe(pe("E", void 0, e), this) : (this.isStopped = !0, this._error(e));
367
- }, t.prototype.complete = function() {
368
- this.isStopped ? xe(fe, this) : (this.isStopped = !0, this._complete());
369
- }, t.prototype.unsubscribe = function() {
370
- this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
371
- }, t.prototype._next = function(e) {
372
- this.destination.next(e);
373
- }, t.prototype._error = function(e) {
374
- try {
375
- this.destination.error(e);
376
- } finally {
377
- this.unsubscribe();
378
- }
379
- }, t.prototype._complete = function() {
380
- try {
381
- this.destination.complete();
382
- } finally {
383
- this.unsubscribe();
384
- }
385
- }, t;
386
- }(h), ge = Function.prototype.bind;
387
- function _e(e, t) {
388
- return ge.call(e, t);
389
- }
390
- var ve = function() {
391
- function e(e) {
392
- this.partialObserver = e;
393
- }
394
- return e.prototype.next = function(e) {
395
- var t = this.partialObserver;
396
- if (t.next) try {
397
- t.next(e);
398
- } catch (e) {
399
- be(e);
400
- }
401
- }, e.prototype.error = function(e) {
402
- var t = this.partialObserver;
403
- if (t.error) try {
404
- t.error(e);
405
- } catch (e) {
406
- be(e);
407
- }
408
- else be(e);
409
- }, e.prototype.complete = function() {
410
- var e = this.partialObserver;
411
- if (e.complete) try {
412
- e.complete();
413
- } catch (e) {
414
- be(e);
415
- }
416
- }, e;
417
- }(), ye = function(e) {
418
- function t(t, n, r) {
419
- var i, a, o = e.call(this) || this;
420
- return f(t) || !t ? i = {
421
- next: t ?? void 0,
422
- error: n ?? void 0,
423
- complete: r ?? void 0
424
- } : o && ce ? ((a = Object.create(t)).unsubscribe = function() {
425
- return o.unsubscribe();
426
- }, i = {
427
- next: t.next && _e(t.next, a),
428
- error: t.error && _e(t.error, a),
429
- complete: t.complete && _e(t.complete, a)
430
- }) : i = t, o.destination = new ve(i), o;
431
- }
432
- return n(t, e), t;
433
- }(he);
434
- function be(e) {
435
- var t;
436
- se ? (t = e, se && g && (g.errorThrown = !0, g.error = t)) : ue(e);
437
- }
438
- function xe(e, t) {
439
- var n = ae;
440
- n && le.setTimeout(function() {
441
- return n(e, t);
442
- });
443
- }
444
- var Se = {
445
- closed: !0,
446
- next: de,
447
- error: function(e) {
448
- throw e;
449
- },
450
- complete: de
451
- }, Ce = typeof Symbol == "function" && Symbol.observable || "@@observable";
452
- function we(e) {
453
- return e;
454
- }
455
- var _ = function() {
456
- function e(e) {
457
- e && (this._subscribe = e);
458
- }
459
- return e.prototype.lift = function(t) {
460
- var n = new e();
461
- return n.source = this, n.operator = t, n;
462
- }, e.prototype.subscribe = function(e, t, n) {
463
- var r, i = this, a = (r = e) && r instanceof he || function(e) {
464
- return e && f(e.next) && f(e.error) && f(e.complete);
465
- }(r) && ne(r) ? e : new ye(e, t, n);
466
- return me(function() {
467
- var e = i, t = e.operator, n = e.source;
468
- a.add(t ? t.call(a, n) : n ? i._subscribe(a) : i._trySubscribe(a));
469
- }), a;
470
- }, e.prototype._trySubscribe = function(e) {
471
- try {
472
- return this._subscribe(e);
473
- } catch (t) {
474
- e.error(t);
475
- }
476
- }, e.prototype.forEach = function(e, t) {
477
- var n = this;
478
- return new (t = (Te(t)))(function(t, r) {
479
- var i = new ye({
480
- next: function(t) {
481
- try {
482
- e(t);
483
- } catch (e) {
484
- r(e), i.unsubscribe();
485
- }
486
- },
487
- error: r,
488
- complete: t
489
- });
490
- n.subscribe(i);
491
- });
492
- }, e.prototype._subscribe = function(e) {
493
- return this.source?.subscribe(e);
494
- }, e.prototype[Ce] = function() {
495
- return this;
496
- }, e.prototype.pipe = function() {
497
- for (var e, t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n];
498
- return ((e = t).length === 0 ? we : e.length === 1 ? e[0] : function(t) {
499
- return e.reduce(function(e, t) {
500
- return t(e);
501
- }, t);
502
- })(this);
503
- }, e.prototype.toPromise = function(e) {
504
- var t = this;
505
- return new (e = (Te(e)))(function(e, n) {
506
- var r;
507
- t.subscribe(function(e) {
508
- return r = e;
509
- }, function(e) {
510
- return n(e);
511
- }, function() {
512
- return e(r);
513
- });
514
- });
515
- }, e.create = function(t) {
516
- return new e(t);
517
- }, e;
518
- }();
519
- function Te(e) {
520
- return e ?? oe ?? Promise;
521
- }
522
- function v(e) {
523
- return function(t) {
524
- if (function(e) {
525
- return f(e?.lift);
526
- }(t)) return t.lift(function(t) {
527
- try {
528
- return e(t, this);
529
- } catch (e) {
530
- this.error(e);
531
- }
532
- });
533
- throw TypeError("Unable to lift unknown Observable type");
534
- };
535
- }
536
- function y(e, t, n, r, i) {
537
- return new Ee(e, t, n, r, i);
538
- }
539
- var Ee = function(e) {
540
- function t(t, n, r, i, a, o) {
541
- var s = e.call(this, t) || this;
542
- return s.onFinalize = a, s.shouldUnsubscribe = o, s._next = n ? function(e) {
543
- try {
544
- n(e);
545
- } catch (e) {
546
- t.error(e);
547
- }
548
- } : e.prototype._next, s._error = i ? function(e) {
549
- try {
550
- i(e);
551
- } catch (e) {
552
- t.error(e);
553
- } finally {
554
- this.unsubscribe();
555
- }
556
- } : e.prototype._error, s._complete = r ? function() {
557
- try {
558
- r();
559
- } catch (e) {
560
- t.error(e);
561
- } finally {
562
- this.unsubscribe();
563
- }
564
- } : e.prototype._complete, s;
565
- }
566
- return n(t, e), t.prototype.unsubscribe = function() {
567
- var t;
568
- if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
569
- var n = this.closed;
570
- e.prototype.unsubscribe.call(this), !n && ((t = this.onFinalize) == null || t.call(this));
571
- }
572
- }, t;
573
- }(he), De = {
574
- schedule: function(e) {
575
- var t = requestAnimationFrame, n = cancelAnimationFrame, r = De.delegate;
576
- r && (t = r.requestAnimationFrame, n = r.cancelAnimationFrame);
577
- var i = t(function(t) {
578
- n = void 0, e(t);
579
- });
580
- return new h(function() {
581
- return n?.(i);
582
- });
583
- },
584
- requestAnimationFrame: function() {
585
- var e = [...arguments];
586
- return (De.delegate?.requestAnimationFrame || requestAnimationFrame).apply(void 0, c([], s(e)));
587
- },
588
- cancelAnimationFrame: function() {
589
- var e = [...arguments];
590
- return (De.delegate?.cancelAnimationFrame || cancelAnimationFrame).apply(void 0, c([], s(e)));
591
- },
592
- delegate: void 0
593
- }, Oe = p(function(e) {
594
- return function() {
595
- e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
596
- };
597
- }), ke = function(e) {
598
- function t() {
599
- var t = e.call(this) || this;
600
- return t.closed = !1, t.currentObservers = null, t.observers = [], t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
601
- }
602
- return n(t, e), t.prototype.lift = function(e) {
603
- var t = new Ae(this, this);
604
- return t.operator = e, t;
605
- }, t.prototype._throwIfClosed = function() {
606
- if (this.closed) throw new Oe();
607
- }, t.prototype.next = function(e) {
608
- var t = this;
609
- me(function() {
610
- var n, r;
611
- if (t._throwIfClosed(), !t.isStopped) {
612
- t.currentObservers ||= Array.from(t.observers);
613
- try {
614
- for (var i = o(t.currentObservers), a = i.next(); !a.done; a = i.next()) a.value.next(e);
615
- } catch (e) {
616
- n = { error: e };
617
- } finally {
618
- try {
619
- a && !a.done && (r = i.return) && r.call(i);
620
- } finally {
621
- if (n) throw n.error;
622
- }
623
- }
624
- }
625
- });
626
- }, t.prototype.error = function(e) {
627
- var t = this;
628
- me(function() {
629
- if (t._throwIfClosed(), !t.isStopped) {
630
- t.hasError = t.isStopped = !0, t.thrownError = e;
631
- for (var n = t.observers; n.length;) n.shift().error(e);
632
- }
633
- });
634
- }, t.prototype.complete = function() {
635
- var e = this;
636
- me(function() {
637
- if (e._throwIfClosed(), !e.isStopped) {
638
- e.isStopped = !0;
639
- for (var t = e.observers; t.length;) t.shift().complete();
640
- }
641
- });
642
- }, t.prototype.unsubscribe = function() {
643
- this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
644
- }, Object.defineProperty(t.prototype, "observed", {
645
- get: function() {
646
- return this.observers?.length > 0;
647
- },
648
- enumerable: !1,
649
- configurable: !0
650
- }), t.prototype._trySubscribe = function(t) {
651
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, t);
652
- }, t.prototype._subscribe = function(e) {
653
- return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
654
- }, t.prototype._innerSubscribe = function(e) {
655
- var t = this, n = this, r = n.hasError, i = n.isStopped, a = n.observers;
656
- return r || i ? te : (this.currentObservers = null, a.push(e), new h(function() {
657
- t.currentObservers = null, m(a, e);
658
- }));
659
- }, t.prototype._checkFinalizedStatuses = function(e) {
660
- var t = this, n = t.hasError, r = t.thrownError, i = t.isStopped;
661
- n ? e.error(r) : i && e.complete();
662
- }, t.prototype.asObservable = function() {
663
- var e = new _();
664
- return e.source = this, e;
665
- }, t.create = function(e, t) {
666
- return new Ae(e, t);
667
- }, t;
668
- }(_), Ae = function(e) {
669
- function t(t, n) {
670
- var r = e.call(this) || this;
671
- return r.destination = t, r.source = n, r;
672
- }
673
- return n(t, e), t.prototype.next = function(e) {
674
- var t, n;
675
- (n = (t = this.destination)?.next) == null || n.call(t, e);
676
- }, t.prototype.error = function(e) {
677
- var t, n;
678
- (n = (t = this.destination)?.error) == null || n.call(t, e);
679
- }, t.prototype.complete = function() {
680
- var e, t;
681
- (t = (e = this.destination)?.complete) == null || t.call(e);
682
- }, t.prototype._subscribe = function(e) {
683
- return this.source?.subscribe(e) ?? te;
684
- }, t;
685
- }(ke), je = function(e) {
686
- function t(t) {
687
- var n = e.call(this) || this;
688
- return n._value = t, n;
689
- }
690
- return n(t, e), Object.defineProperty(t.prototype, "value", {
691
- get: function() {
692
- return this.getValue();
693
- },
694
- enumerable: !1,
695
- configurable: !0
696
- }), t.prototype._subscribe = function(t) {
697
- var n = e.prototype._subscribe.call(this, t);
698
- return !n.closed && t.next(this._value), n;
699
- }, t.prototype.getValue = function() {
700
- var e = this, t = e.hasError, n = e.thrownError, r = e._value;
701
- if (t) throw n;
702
- return this._throwIfClosed(), r;
703
- }, t.prototype.next = function(t) {
704
- e.prototype.next.call(this, this._value = t);
705
- }, t;
706
- }(ke), Me = {
707
- now: function() {
708
- return (Me.delegate || Date).now();
709
- },
710
- delegate: void 0
711
- }, Ne = function(e) {
712
- function t(t, n) {
713
- return e.call(this) || this;
714
- }
715
- return n(t, e), t.prototype.schedule = function(e, t) {
716
- return t === void 0 && (t = 0), this;
717
- }, t;
718
- }(h), Pe = {
719
- setInterval: function(e, t) {
720
- var n = [...arguments].slice(2), r = Pe.delegate;
721
- return r?.setInterval ? r.setInterval.apply(r, c([e, t], s(n))) : setInterval.apply(void 0, c([e, t], s(n)));
722
- },
723
- clearInterval: function(e) {
724
- return (Pe.delegate?.clearInterval || clearInterval)(e);
725
- },
726
- delegate: void 0
727
- }, Fe = function(e) {
728
- function t(t, n) {
729
- var r = e.call(this, t, n) || this;
730
- return r.scheduler = t, r.work = n, r.pending = !1, r;
731
- }
732
- return n(t, e), t.prototype.schedule = function(e, t) {
733
- if (t === void 0 && (t = 0), this.closed) return this;
734
- this.state = e;
735
- var n = this.id, r = this.scheduler;
736
- return n != null && (this.id = this.recycleAsyncId(r, n, t)), this.pending = !0, this.delay = t, this.id = this.id ?? this.requestAsyncId(r, this.id, t), this;
737
- }, t.prototype.requestAsyncId = function(e, t, n) {
738
- return n === void 0 && (n = 0), Pe.setInterval(e.flush.bind(e, this), n);
739
- }, t.prototype.recycleAsyncId = function(e, t, n) {
740
- if (n === void 0 && (n = 0), n != null && this.delay === n && !1 === this.pending) return t;
741
- t != null && Pe.clearInterval(t);
742
- }, t.prototype.execute = function(e, t) {
743
- if (this.closed) return /* @__PURE__ */ Error("executing a cancelled action");
744
- this.pending = !1;
745
- var n = this._execute(e, t);
746
- if (n) return n;
747
- !1 === this.pending && this.id != null && (this.id = this.recycleAsyncId(this.scheduler, this.id, null));
748
- }, t.prototype._execute = function(e, t) {
749
- var n, r = !1;
750
- try {
751
- this.work(e);
752
- } catch (e) {
753
- r = !0, n = e || /* @__PURE__ */ Error("Scheduled action threw falsy error");
754
- }
755
- if (r) return this.unsubscribe(), n;
756
- }, t.prototype.unsubscribe = function() {
757
- if (!this.closed) {
758
- var t = this.id, n = this.scheduler, r = n.actions;
759
- this.work = this.state = this.scheduler = null, this.pending = !1, m(r, this), t != null && (this.id = this.recycleAsyncId(n, t, null)), this.delay = null, e.prototype.unsubscribe.call(this);
760
- }
761
- }, t;
762
- }(Ne), Ie = function() {
763
- function e(t, n) {
764
- n === void 0 && (n = e.now), this.schedulerActionCtor = t, this.now = n;
765
- }
766
- return e.prototype.schedule = function(e, t, n) {
767
- return t === void 0 && (t = 0), new this.schedulerActionCtor(this, e).schedule(n, t);
768
- }, e.now = Me.now, e;
769
- }(), Le = function(e) {
770
- function t(t, n) {
771
- n === void 0 && (n = Ie.now);
772
- var r = e.call(this, t, n) || this;
773
- return r.actions = [], r._active = !1, r;
774
- }
775
- return n(t, e), t.prototype.flush = function(e) {
776
- var t = this.actions;
777
- if (this._active) t.push(e);
778
- else {
779
- var n;
780
- this._active = !0;
781
- do
782
- if (n = e.execute(e.state, e.delay)) break;
783
- while (e = t.shift());
784
- if (this._active = !1, n) {
785
- for (; e = t.shift();) e.unsubscribe();
786
- throw n;
787
- }
788
- }
789
- }, t;
790
- }(Ie), Re = new Le(Fe), ze = Re, Be = function(e) {
791
- function t(t, n) {
792
- var r = e.call(this, t, n) || this;
793
- return r.scheduler = t, r.work = n, r;
794
- }
795
- return n(t, e), t.prototype.requestAsyncId = function(t, n, r) {
796
- return r === void 0 && (r = 0), r !== null && r > 0 ? e.prototype.requestAsyncId.call(this, t, n, r) : (t.actions.push(this), t._scheduled ||= De.requestAnimationFrame(function() {
797
- return t.flush(void 0);
798
- }));
799
- }, t.prototype.recycleAsyncId = function(t, n, r) {
800
- if (r === void 0 && (r = 0), r == null ? this.delay > 0 : r > 0) return e.prototype.recycleAsyncId.call(this, t, n, r);
801
- var i = t.actions;
802
- n != null && n === t._scheduled && i[i.length - 1]?.id !== n && (De.cancelAnimationFrame(n), t._scheduled = void 0);
803
- }, t;
804
- }(Fe), Ve = new (function(e) {
805
- function t() {
806
- return e !== null && e.apply(this, arguments) || this;
807
- }
808
- return n(t, e), t.prototype.flush = function(e) {
809
- var t;
810
- this._active = !0, e ? t = e.id : (t = this._scheduled, this._scheduled = void 0);
811
- var n, r = this.actions;
812
- e ||= r.shift();
813
- do
814
- if (n = e.execute(e.state, e.delay)) break;
815
- while ((e = r[0]) && e.id === t && r.shift());
816
- if (this._active = !1, n) {
817
- for (; (e = r[0]) && e.id === t && r.shift();) e.unsubscribe();
818
- throw n;
819
- }
820
- }, t;
821
- }(Le))(Be), He = new _(function(e) {
822
- return e.complete();
823
- });
824
- function Ue(e) {
825
- return e && f(e.schedule);
826
- }
827
- function We(e) {
828
- return e[e.length - 1];
829
- }
830
- function Ge(e) {
831
- return f(We(e)) ? e.pop() : void 0;
832
- }
833
- function Ke(e) {
834
- return Ue(We(e)) ? e.pop() : void 0;
835
- }
836
- var qe = function(e) {
837
- return e && typeof e.length == "number" && typeof e != "function";
838
- };
839
- function Je(e) {
840
- return f(e?.then);
841
- }
842
- function Ye(e) {
843
- return f(e[Ce]);
844
- }
845
- function Xe(e) {
846
- return Symbol.asyncIterator && f(e?.[Symbol.asyncIterator]);
847
- }
848
- function Ze(e) {
849
- return /* @__PURE__ */ TypeError("You provided " + (typeof e == "object" && e ? "an invalid object" : "'" + e + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
850
- }
851
- var Qe = typeof Symbol == "function" && Symbol.iterator ? Symbol.iterator : "@@iterator";
852
- function $e(e) {
853
- return f(e?.[Qe]);
854
- }
855
- function et(e) {
856
- return u(this, arguments, function() {
857
- var t, n, r;
858
- return a(this, function(i) {
859
- switch (i.label) {
860
- case 0: t = e.getReader(), i.label = 1;
861
- case 1: i.trys.push([
862
- 1,
863
- ,
864
- 9,
865
- 10
866
- ]), i.label = 2;
867
- case 2: return [4, l(t.read())];
868
- case 3: return n = i.sent(), r = n.value, n.done ? [4, l(void 0)] : [3, 5];
869
- case 4: return [2, i.sent()];
870
- case 5: return [4, l(r)];
871
- case 6: return [4, i.sent()];
872
- case 7: return i.sent(), [3, 2];
873
- case 8: return [3, 10];
874
- case 9: return t.releaseLock(), [7];
875
- case 10: return [2];
876
- }
877
- });
878
- });
879
- }
880
- function tt(e) {
881
- return f(e?.getReader);
882
- }
883
- function b(e) {
884
- if (e instanceof _) return e;
885
- if (e != null) {
886
- if (Ye(e)) return i = e, new _(function(e) {
887
- var t = i[Ce]();
888
- if (f(t.subscribe)) return t.subscribe(e);
889
- throw TypeError("Provided object does not correctly implement Symbol.observable");
890
- });
891
- if (qe(e)) return r = e, new _(function(e) {
892
- for (var t = 0; t < r.length && !e.closed; t++) e.next(r[t]);
893
- e.complete();
894
- });
895
- if (Je(e)) return n = e, new _(function(e) {
896
- n.then(function(t) {
897
- e.closed || (e.next(t), e.complete());
898
- }, function(t) {
899
- return e.error(t);
900
- }).then(null, ue);
901
- });
902
- if (Xe(e)) return nt(e);
903
- if ($e(e)) return t = e, new _(function(e) {
904
- var n, r;
905
- try {
906
- for (var i = o(t), a = i.next(); !a.done; a = i.next()) {
907
- var s = a.value;
908
- if (e.next(s), e.closed) return;
909
- }
910
- } catch (e) {
911
- n = { error: e };
912
- } finally {
913
- try {
914
- a && !a.done && (r = i.return) && r.call(i);
915
- } finally {
916
- if (n) throw n.error;
917
- }
918
- }
919
- e.complete();
920
- });
921
- if (tt(e)) return nt(et(e));
922
- }
923
- var t, n, r, i;
924
- throw Ze(e);
925
- }
926
- function nt(e) {
927
- return new _(function(t) {
928
- (function(e, t) {
929
- var n, r, o, s;
930
- return i(this, void 0, void 0, function() {
931
- var i, c;
932
- return a(this, function(a) {
933
- switch (a.label) {
934
- case 0: a.trys.push([
935
- 0,
936
- 5,
937
- 6,
938
- 11
939
- ]), n = d(e), a.label = 1;
940
- case 1: return [4, n.next()];
941
- case 2:
942
- if ((r = a.sent()).done) return [3, 4];
943
- if (i = r.value, t.next(i), t.closed) return [2];
944
- a.label = 3;
945
- case 3: return [3, 1];
946
- case 4: return [3, 11];
947
- case 5: return c = a.sent(), o = { error: c }, [3, 11];
948
- case 6: return a.trys.push([
949
- 6,
950
- ,
951
- 9,
952
- 10
953
- ]), r && !r.done && (s = n.return) ? [4, s.call(n)] : [3, 8];
954
- case 7: a.sent(), a.label = 8;
955
- case 8: return [3, 10];
956
- case 9:
957
- if (o) throw o.error;
958
- return [7];
959
- case 10: return [7];
960
- case 11: return t.complete(), [2];
961
- }
962
- });
963
- });
964
- })(e, t).catch(function(e) {
965
- return t.error(e);
966
- });
967
- });
968
- }
969
- function x(e, t, n, r, i) {
970
- r === void 0 && (r = 0), i === void 0 && (i = !1);
971
- var a = t.schedule(function() {
972
- n(), i ? e.add(this.schedule(null, r)) : this.unsubscribe();
973
- }, r);
974
- if (e.add(a), !i) return a;
975
- }
976
- function rt(e, t) {
977
- return t === void 0 && (t = 0), v(function(n, r) {
978
- n.subscribe(y(r, function(n) {
979
- return x(r, e, function() {
980
- return r.next(n);
981
- }, t);
982
- }, function() {
983
- return x(r, e, function() {
984
- return r.complete();
985
- }, t);
986
- }, function(n) {
987
- return x(r, e, function() {
988
- return r.error(n);
989
- }, t);
990
- }));
991
- });
992
- }
993
- function it(e, t) {
994
- return t === void 0 && (t = 0), v(function(n, r) {
995
- r.add(e.schedule(function() {
996
- return n.subscribe(r);
997
- }, t));
998
- });
999
- }
1000
- function at(e, t) {
1001
- if (!e) throw Error("Iterable cannot be null");
1002
- return new _(function(n) {
1003
- x(n, t, function() {
1004
- var r = e[Symbol.asyncIterator]();
1005
- x(n, t, function() {
1006
- r.next().then(function(e) {
1007
- e.done ? n.complete() : n.next(e.value);
1008
- });
1009
- }, 0, !0);
1010
- });
1011
- });
1012
- }
1013
- function ot(e, t) {
1014
- if (e != null) {
1015
- if (Ye(e)) return function(e, t) {
1016
- return b(e).pipe(it(t), rt(t));
1017
- }(e, t);
1018
- if (qe(e)) return function(e, t) {
1019
- return new _(function(n) {
1020
- var r = 0;
1021
- return t.schedule(function() {
1022
- r === e.length ? n.complete() : (n.next(e[r++]), n.closed || this.schedule());
1023
- });
1024
- });
1025
- }(e, t);
1026
- if (Je(e)) return function(e, t) {
1027
- return b(e).pipe(it(t), rt(t));
1028
- }(e, t);
1029
- if (Xe(e)) return at(e, t);
1030
- if ($e(e)) return function(e, t) {
1031
- return new _(function(n) {
1032
- var r;
1033
- return x(n, t, function() {
1034
- r = e[Qe](), x(n, t, function() {
1035
- var e, t, i;
1036
- try {
1037
- t = (e = r.next()).value, i = e.done;
1038
- } catch (e) {
1039
- n.error(e);
1040
- return;
1041
- }
1042
- i ? n.complete() : n.next(t);
1043
- }, 0, !0);
1044
- }), function() {
1045
- return f(r?.return) && r.return();
1046
- };
1047
- });
1048
- }(e, t);
1049
- if (tt(e)) return function(e, t) {
1050
- return at(et(e), t);
1051
- }(e, t);
1052
- }
1053
- throw Ze(e);
1054
- }
1055
- function st(e, t) {
1056
- return t ? ot(e, t) : b(e);
1057
- }
1058
- function ct(e) {
1059
- return e instanceof Date && !isNaN(e);
1060
- }
1061
- function S(e, t) {
1062
- return v(function(n, r) {
1063
- var i = 0;
1064
- n.subscribe(y(r, function(n) {
1065
- r.next(e.call(t, n, i++));
1066
- }));
1067
- });
1068
- }
1069
- var lt = Array.isArray;
1070
- function ut(e) {
1071
- return S(function(t) {
1072
- return function(e, t) {
1073
- return lt(t) ? e.apply(void 0, c([], s(t))) : e(t);
1074
- }(e, t);
1075
- });
1076
- }
1077
- function dt(e, t, n) {
1078
- return n === void 0 && (n = Infinity), f(t) ? dt(function(n, r) {
1079
- return S(function(e, i) {
1080
- return t(n, e, r, i);
1081
- })(b(e(n, r)));
1082
- }, n) : (typeof t == "number" && (n = t), v(function(t, r) {
1083
- return function(e, t, n, r, i, a, o, s) {
1084
- var c = [], l = 0, u = 0, d = !1, f = function() {
1085
- !d || c.length || l || t.complete();
1086
- }, p = function(e) {
1087
- return l < r ? ee(e) : c.push(e);
1088
- }, ee = function(e) {
1089
- a && t.next(e), l++;
1090
- var s = !1;
1091
- b(n(e, u++)).subscribe(y(t, function(e) {
1092
- i?.(e), a ? p(e) : t.next(e);
1093
- }, function() {
1094
- s = !0;
1095
- }, void 0, function() {
1096
- if (s) try {
1097
- l--;
1098
- for (var e = function() {
1099
- var e = c.shift();
1100
- o ? x(t, o, function() {
1101
- return ee(e);
1102
- }) : ee(e);
1103
- }; c.length && l < r;) e();
1104
- f();
1105
- } catch (e) {
1106
- t.error(e);
1107
- }
1108
- }));
1109
- };
1110
- return e.subscribe(y(t, p, function() {
1111
- d = !0, f();
1112
- })), function() {
1113
- s?.();
1114
- };
1115
- }(t, r, e, n);
1116
- }));
1117
- }
1118
- function ft(e) {
1119
- return e === void 0 && (e = Infinity), dt(we, e);
1120
- }
1121
- function pt() {
1122
- var e = [...arguments];
1123
- return ft(1)(st(e, Ke(e)));
1124
- }
1125
- var mt = ["addListener", "removeListener"], ht = ["addEventListener", "removeEventListener"], gt = ["on", "off"];
1126
- function C(e, t, n, r) {
1127
- if (f(n) && (r = n, n = void 0), r) return C(e, t, n).pipe(ut(r));
1128
- var i = s(function(e) {
1129
- return f(e.addEventListener) && f(e.removeEventListener);
1130
- }(e) ? ht.map(function(r) {
1131
- return function(i) {
1132
- return e[r](t, i, n);
1133
- };
1134
- }) : function(e) {
1135
- return f(e.addListener) && f(e.removeListener);
1136
- }(e) ? mt.map(_t(e, t)) : function(e) {
1137
- return f(e.on) && f(e.off);
1138
- }(e) ? gt.map(_t(e, t)) : [], 2), a = i[0], o = i[1];
1139
- if (!a && qe(e)) return dt(function(e) {
1140
- return C(e, t, n);
1141
- })(b(e));
1142
- if (!a) throw TypeError("Invalid event target");
1143
- return new _(function(e) {
1144
- var t = function() {
1145
- var t = [...arguments];
1146
- return e.next(1 < t.length ? t : t[0]);
1147
- };
1148
- return a(t), function() {
1149
- return o(t);
1150
- };
1151
- });
1152
- }
1153
- function _t(e, t) {
1154
- return function(n) {
1155
- return function(r) {
1156
- return e[n](t, r);
1157
- };
1158
- };
1159
- }
1160
- function vt(e, t, n) {
1161
- e === void 0 && (e = 0), n === void 0 && (n = ze);
1162
- var r = -1;
1163
- return t != null && (Ue(t) ? n = t : r = t), new _(function(t) {
1164
- var i = ct(e) ? +e - n.now() : e;
1165
- i < 0 && (i = 0);
1166
- var a = 0;
1167
- return n.schedule(function() {
1168
- t.closed || (t.next(a++), 0 <= r ? this.schedule(void 0, r) : t.complete());
1169
- }, i);
1170
- });
1171
- }
1172
- function yt() {
1173
- var e = [...arguments], t = Ke(e), n = function(e, t) {
1174
- return typeof We(e) == "number" ? e.pop() : t;
1175
- }(e, Infinity), r = e;
1176
- return r.length ? r.length === 1 ? b(r[0]) : ft(n)(st(r, t)) : He;
1177
- }
1178
- function w(e, t) {
1179
- return v(function(n, r) {
1180
- var i = 0;
1181
- n.subscribe(y(r, function(n) {
1182
- return e.call(t, n, i++) && r.next(n);
1183
- }));
1184
- });
1185
- }
1186
- function bt(e, t) {
1187
- return t === void 0 && (t = Re), n = function() {
1188
- return vt(e, t);
1189
- }, v(function(e, t) {
1190
- var r = !1, i = null, a = null, o = !1, s = function() {
1191
- if (a?.unsubscribe(), a = null, r) {
1192
- r = !1;
1193
- var e = i;
1194
- i = null, t.next(e);
1195
- }
1196
- o && t.complete();
1197
- }, c = function() {
1198
- a = null, o && t.complete();
1199
- };
1200
- e.subscribe(y(t, function(e) {
1201
- r = !0, i = e, a || b(n(e)).subscribe(a = y(t, s, c));
1202
- }, function() {
1203
- o = !0, (!r || !a || a.closed) && t.complete();
1204
- }));
1205
- });
1206
- var n;
1207
- }
1208
- function xt(e) {
1209
- return v(function(t, n) {
1210
- var r, i = null, a = !1;
1211
- i = t.subscribe(y(n, void 0, void 0, function(o) {
1212
- r = b(e(o, xt(e)(t))), i ? (i.unsubscribe(), i = null, r.subscribe(n)) : a = !0;
1213
- })), a && (i.unsubscribe(), i = null, r.subscribe(n));
1214
- });
1215
- }
1216
- function St(e) {
1217
- return v(function(t, n) {
1218
- var r = !1;
1219
- t.subscribe(y(n, function(e) {
1220
- r = !0, n.next(e);
1221
- }, function() {
1222
- r || n.next(e), n.complete();
1223
- }));
1224
- });
1225
- }
1226
- function Ct(e) {
1227
- return e <= 0 ? function() {
1228
- return He;
1229
- } : v(function(t, n) {
1230
- var r = 0;
1231
- t.subscribe(y(n, function(t) {
1232
- ++r <= e && (n.next(t), e <= r && n.complete());
1233
- }));
1234
- });
1235
- }
1236
- function wt(e, t) {
1237
- return t === void 0 && (t = we), e ??= Tt, v(function(n, r) {
1238
- var i, a = !0;
1239
- n.subscribe(y(r, function(n) {
1240
- var o = t(n);
1241
- !a && e(i, o) || (a = !1, i = o, r.next(n));
1242
- }));
1243
- });
1244
- }
1245
- function Tt(e, t) {
1246
- return e === t;
1247
- }
1248
- function Et() {
1249
- var e = [...arguments], t = Ke(e);
1250
- return v(function(n, r) {
1251
- (t ? pt(e, n, t) : pt(e, n)).subscribe(r);
1252
- });
1253
- }
1254
- function T(e) {
1255
- return v(function(t, n) {
1256
- b(e).subscribe(y(n, function() {
1257
- return n.complete();
1258
- }, de)), !n.closed && t.subscribe(n);
1259
- });
1260
- }
1261
- function Dt(e, t, n) {
1262
- var r = f(e) || t || n ? {
1263
- next: e,
1264
- error: t,
1265
- complete: n
1266
- } : e;
1267
- return r ? v(function(e, t) {
1268
- var n;
1269
- (n = r.subscribe) == null || n.call(r);
1270
- var i = !0;
1271
- e.subscribe(y(t, function(e) {
1272
- var n;
1273
- (n = r.next) == null || n.call(r, e), t.next(e);
1274
- }, function() {
1275
- var e;
1276
- i = !1, (e = r.complete) == null || e.call(r), t.complete();
1277
- }, function(e) {
1278
- var n;
1279
- i = !1, (n = r.error) == null || n.call(r, e), t.error(e);
1280
- }, function() {
1281
- var e, t;
1282
- i && ((e = r.unsubscribe) == null || e.call(r)), (t = r.finalize) == null || t.call(r);
1283
- }));
1284
- }) : we;
1285
- }
1286
- var Ot = globalThis, kt = (e) => e, At = Ot.trustedTypes, jt = At ? At.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Mt = "$lit$", E = `lit$${Math.random().toFixed(9).slice(2)}$`, Nt = "?" + E, Pt = `<${Nt}>`, D = document, Ft = () => D.createComment(""), It = (e) => e === null || typeof e != "object" && typeof e != "function", Lt = Array.isArray, Rt = (e) => Lt(e) || typeof e?.[Symbol.iterator] == "function", zt = "[ \n\f\r]", Bt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Vt = /-->/g, Ht = />/g, O = RegExp(`>|${zt}(?:([^\\s"'>=/]+)(${zt}*=${zt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"), Ut = /'/g, Wt = /"/g, Gt = /^(?:script|style|textarea|title)$/i, Kt = (e) => (t, ...n) => ({
1287
- _$litType$: e,
1288
- strings: t,
1289
- values: n
1290
- }), k = Kt(1), qt = Kt(2), A = Symbol.for("lit-noChange"), j = Symbol.for("lit-nothing"), Jt = /* @__PURE__ */ new WeakMap(), M = D.createTreeWalker(D, 129);
1291
- function Yt(e, t) {
1292
- if (!Lt(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
1293
- return jt === void 0 ? t : jt.createHTML(t);
1294
- }
1295
- var Xt = (e, t) => {
1296
- let n = e.length - 1, r = [], i, a = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = Bt;
1297
- for (let t = 0; t < n; t++) {
1298
- let n = e[t], s, c, l = -1, u = 0;
1299
- for (; u < n.length && (o.lastIndex = u, c = o.exec(n), c !== null);) u = o.lastIndex, o === Bt ? c[1] === "!--" ? o = Vt : c[1] === void 0 ? c[2] === void 0 ? c[3] !== void 0 && (o = O) : (Gt.test(c[2]) && (i = RegExp("</" + c[2], "g")), o = O) : o = Ht : o === O ? c[0] === ">" ? (o = i ?? Bt, l = -1) : c[1] === void 0 ? l = -2 : (l = o.lastIndex - c[2].length, s = c[1], o = c[3] === void 0 ? O : c[3] === "\"" ? Wt : Ut) : o === Wt || o === Ut ? o = O : o === Vt || o === Ht ? o = Bt : (o = O, i = void 0);
1300
- let d = o === O && e[t + 1].startsWith("/>") ? " " : "";
1301
- a += o === Bt ? n + Pt : l >= 0 ? (r.push(s), n.slice(0, l) + Mt + n.slice(l) + E + d) : n + E + (l === -2 ? t : d);
1302
- }
1303
- return [Yt(e, a + (e[n] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
1304
- }, Zt = class e {
1305
- constructor({ strings: t, _$litType$: n }, r) {
1306
- let i;
1307
- this.parts = [];
1308
- let a = 0, o = 0, s = t.length - 1, c = this.parts, [l, u] = Xt(t, n);
1309
- if (this.el = e.createElement(l, r), M.currentNode = this.el.content, n === 2 || n === 3) {
1310
- let e = this.el.content.firstChild;
1311
- e.replaceWith(...e.childNodes);
1312
- }
1313
- for (; (i = M.nextNode()) !== null && c.length < s;) {
1314
- if (i.nodeType === 1) {
1315
- if (i.hasAttributes()) for (let e of i.getAttributeNames()) if (e.endsWith(Mt)) {
1316
- let t = u[o++], n = i.getAttribute(e).split(E), r = /([.?@])?(.*)/.exec(t);
1317
- c.push({
1318
- type: 1,
1319
- index: a,
1320
- name: r[2],
1321
- strings: n,
1322
- ctor: r[1] === "." ? tn : r[1] === "?" ? nn : r[1] === "@" ? rn : en
1323
- }), i.removeAttribute(e);
1324
- } else e.startsWith(E) && (c.push({
1325
- type: 6,
1326
- index: a
1327
- }), i.removeAttribute(e));
1328
- if (Gt.test(i.tagName)) {
1329
- let e = i.textContent.split(E), t = e.length - 1;
1330
- if (t > 0) {
1331
- i.textContent = At ? At.emptyScript : "";
1332
- for (let n = 0; n < t; n++) i.append(e[n], Ft()), M.nextNode(), c.push({
1333
- type: 2,
1334
- index: ++a
1335
- });
1336
- i.append(e[t], Ft());
1337
- }
1338
- }
1339
- } else if (i.nodeType === 8) if (i.data === Nt) c.push({
1340
- type: 2,
1341
- index: a
1342
- });
1343
- else {
1344
- let e = -1;
1345
- for (; (e = i.data.indexOf(E, e + 1)) !== -1;) c.push({
1346
- type: 7,
1347
- index: a
1348
- }), e += E.length - 1;
1349
- }
1350
- a++;
1351
- }
1352
- }
1353
- static createElement(e, t) {
1354
- let n = D.createElement("template");
1355
- return n.innerHTML = e, n;
1356
- }
1357
- };
1358
- function N(e, t, n = e, r) {
1359
- if (t === A) return t;
1360
- let i = r === void 0 ? n._$Cl : n._$Co?.[r], a = It(t) ? void 0 : t._$litDirective$;
1361
- return i?.constructor !== a && (i?._$AO?.(!1), a === void 0 ? i = void 0 : (i = new a(e), i._$AT(e, n, r)), r === void 0 ? n._$Cl = i : (n._$Co ??= [])[r] = i), i !== void 0 && (t = N(e, i._$AS(e, t.values), i, r)), t;
1362
- }
1363
- var Qt = class {
1364
- constructor(e, t) {
1365
- this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
1366
- }
1367
- get parentNode() {
1368
- return this._$AM.parentNode;
1369
- }
1370
- get _$AU() {
1371
- return this._$AM._$AU;
1372
- }
1373
- u(e) {
1374
- let { el: { content: t }, parts: n } = this._$AD, r = (e?.creationScope ?? D).importNode(t, !0);
1375
- M.currentNode = r;
1376
- let i = M.nextNode(), a = 0, o = 0, s = n[0];
1377
- for (; s !== void 0;) {
1378
- if (a === s.index) {
1379
- let t;
1380
- s.type === 2 ? t = new $t(i, i.nextSibling, this, e) : s.type === 1 ? t = new s.ctor(i, s.name, s.strings, this, e) : s.type === 6 && (t = new an(i, this, e)), this._$AV.push(t), s = n[++o];
1381
- }
1382
- a !== s?.index && (i = M.nextNode(), a++);
1383
- }
1384
- return M.currentNode = D, r;
1385
- }
1386
- p(e) {
1387
- let t = 0;
1388
- for (let n of this._$AV) n !== void 0 && (n.strings === void 0 ? n._$AI(e[t]) : (n._$AI(e, n, t), t += n.strings.length - 2)), t++;
1389
- }
1390
- }, $t = class e {
1391
- get _$AU() {
1392
- return this._$AM?._$AU ?? this._$Cv;
1393
- }
1394
- constructor(e, t, n, r) {
1395
- this.type = 2, this._$AH = j, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = n, this.options = r, this._$Cv = r?.isConnected ?? !0;
1396
- }
1397
- get parentNode() {
1398
- let e = this._$AA.parentNode, t = this._$AM;
1399
- return t !== void 0 && e?.nodeType === 11 && (e = t.parentNode), e;
1400
- }
1401
- get startNode() {
1402
- return this._$AA;
1403
- }
1404
- get endNode() {
1405
- return this._$AB;
1406
- }
1407
- _$AI(e, t = this) {
1408
- e = N(this, e, t), It(e) ? e === j || e == null || e === "" ? (this._$AH !== j && this._$AR(), this._$AH = j) : e !== this._$AH && e !== A && this._(e) : e._$litType$ === void 0 ? e.nodeType === void 0 ? Rt(e) ? this.k(e) : this._(e) : this.T(e) : this.$(e);
1409
- }
1410
- O(e) {
1411
- return this._$AA.parentNode.insertBefore(e, this._$AB);
1412
- }
1413
- T(e) {
1414
- this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
1415
- }
1416
- _(e) {
1417
- this._$AH !== j && It(this._$AH) ? this._$AA.nextSibling.data = e : this.T(D.createTextNode(e)), this._$AH = e;
1418
- }
1419
- $(e) {
1420
- let { values: t, _$litType$: n } = e, r = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = Zt.createElement(Yt(n.h, n.h[0]), this.options)), n);
1421
- if (this._$AH?._$AD === r) this._$AH.p(t);
1422
- else {
1423
- let e = new Qt(r, this), n = e.u(this.options);
1424
- e.p(t), this.T(n), this._$AH = e;
1425
- }
1426
- }
1427
- _$AC(e) {
1428
- let t = Jt.get(e.strings);
1429
- return t === void 0 && Jt.set(e.strings, t = new Zt(e)), t;
1430
- }
1431
- k(t) {
1432
- Lt(this._$AH) || (this._$AH = [], this._$AR());
1433
- let n = this._$AH, r, i = 0;
1434
- for (let a of t) i === n.length ? n.push(r = new e(this.O(Ft()), this.O(Ft()), this, this.options)) : r = n[i], r._$AI(a), i++;
1435
- i < n.length && (this._$AR(r && r._$AB.nextSibling, i), n.length = i);
1436
- }
1437
- _$AR(e = this._$AA.nextSibling, t) {
1438
- for (this._$AP?.(!1, !0, t); e !== this._$AB;) {
1439
- let t = kt(e).nextSibling;
1440
- kt(e).remove(), e = t;
1441
- }
1442
- }
1443
- setConnected(e) {
1444
- this._$AM === void 0 && (this._$Cv = e, this._$AP?.(e));
1445
- }
1446
- }, en = class {
1447
- get tagName() {
1448
- return this.element.tagName;
1449
- }
1450
- get _$AU() {
1451
- return this._$AM._$AU;
1452
- }
1453
- constructor(e, t, n, r, i) {
1454
- this.type = 1, this._$AH = j, this._$AN = void 0, this.element = e, this.name = t, this._$AM = r, this.options = i, n.length > 2 || n[0] !== "" || n[1] !== "" ? (this._$AH = Array(n.length - 1).fill(/* @__PURE__ */ new String()), this.strings = n) : this._$AH = j;
1455
- }
1456
- _$AI(e, t = this, n, r) {
1457
- let i = this.strings, a = !1;
1458
- if (i === void 0) e = N(this, e, t, 0), a = !It(e) || e !== this._$AH && e !== A, a && (this._$AH = e);
1459
- else {
1460
- let r = e, o, s;
1461
- for (e = i[0], o = 0; o < i.length - 1; o++) s = N(this, r[n + o], t, o), s === A && (s = this._$AH[o]), a ||= !It(s) || s !== this._$AH[o], s === j ? e = j : e !== j && (e += (s ?? "") + i[o + 1]), this._$AH[o] = s;
1462
- }
1463
- a && !r && this.j(e);
1464
- }
1465
- j(e) {
1466
- e === j ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
1467
- }
1468
- }, tn = class extends en {
1469
- constructor() {
1470
- super(...arguments), this.type = 3;
1471
- }
1472
- j(e) {
1473
- this.element[this.name] = e === j ? void 0 : e;
1474
- }
1475
- }, nn = class extends en {
1476
- constructor() {
1477
- super(...arguments), this.type = 4;
1478
- }
1479
- j(e) {
1480
- this.element.toggleAttribute(this.name, !!e && e !== j);
1481
- }
1482
- }, rn = class extends en {
1483
- constructor(e, t, n, r, i) {
1484
- super(e, t, n, r, i), this.type = 5;
1485
- }
1486
- _$AI(e, t = this) {
1487
- if ((e = N(this, e, t, 0) ?? j) === A) return;
1488
- let n = this._$AH, r = e === j && n !== j || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, i = e !== j && (n === j || r);
1489
- r && this.element.removeEventListener(this.name, this, n), i && this.element.addEventListener(this.name, this, e), this._$AH = e;
1490
- }
1491
- handleEvent(e) {
1492
- typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, e) : this._$AH.handleEvent(e);
1493
- }
1494
- }, an = class {
1495
- constructor(e, t, n) {
1496
- this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = n;
1497
- }
1498
- get _$AU() {
1499
- return this._$AM._$AU;
1500
- }
1501
- _$AI(e) {
1502
- N(this, e);
1503
- }
1504
- }, on = {
1505
- M: Mt,
1506
- P: E,
1507
- A: Nt,
1508
- C: 1,
1509
- L: Xt,
1510
- R: Qt,
1511
- D: Rt,
1512
- V: N,
1513
- I: $t,
1514
- H: en,
1515
- N: nn,
1516
- U: rn,
1517
- B: tn,
1518
- F: an
1519
- }, sn = Ot.litHtmlPolyfillSupport;
1520
- sn?.(Zt, $t), (Ot.litHtmlVersions ??= []).push("3.3.2");
1521
- var cn = (e, t, n) => {
1522
- let r = n?.renderBefore ?? t, i = r._$litPart$;
1523
- if (i === void 0) {
1524
- let e = n?.renderBefore ?? null;
1525
- r._$litPart$ = i = new $t(t.insertBefore(Ft(), e), e, void 0, n ?? {});
1526
- }
1527
- return i._$AI(e), i;
1528
- }, ln = {
1529
- ATTRIBUTE: 1,
1530
- CHILD: 2,
1531
- PROPERTY: 3,
1532
- BOOLEAN_ATTRIBUTE: 4,
1533
- EVENT: 5,
1534
- ELEMENT: 6
1535
- }, un = (e) => (...t) => ({
1536
- _$litDirective$: e,
1537
- values: t
1538
- }), dn = class {
1539
- constructor(e) {}
1540
- get _$AU() {
1541
- return this._$AM._$AU;
1542
- }
1543
- _$AT(e, t, n) {
1544
- this._$Ct = e, this._$AM = t, this._$Ci = n;
1545
- }
1546
- _$AS(e, t) {
1547
- return this.update(e, t);
1548
- }
1549
- update(e, t) {
1550
- return this.render(...t);
1551
- }
1552
- }, fn = un(class extends dn {
1553
- constructor(e) {
1554
- if (super(e), e.type !== ln.ATTRIBUTE || e.name !== "class" || e.strings?.length > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1555
- }
1556
- render(e) {
1557
- return " " + Object.keys(e).filter((t) => e[t]).join(" ") + " ";
1558
- }
1559
- update(e, [t]) {
1560
- if (this.st === void 0) {
1561
- this.st = /* @__PURE__ */ new Set(), e.strings !== void 0 && (this.nt = new Set(e.strings.join(" ").split(/\s/).filter((e) => e !== "")));
1562
- for (let e in t) t[e] && !this.nt?.has(e) && this.st.add(e);
1563
- return this.render(t);
1564
- }
1565
- let n = e.element.classList;
1566
- for (let e of this.st) e in t || (n.remove(e), this.st.delete(e));
1567
- for (let e in t) {
1568
- let r = !!t[e];
1569
- r === this.st.has(e) || this.nt?.has(e) || (r ? (n.add(e), this.st.add(e)) : (n.remove(e), this.st.delete(e)));
1570
- }
1571
- return A;
1572
- }
1573
- }), pn = "important", mn = " !" + pn, hn = un(class extends dn {
1574
- constructor(e) {
1575
- if (super(e), e.type !== ln.ATTRIBUTE || e.name !== "style" || e.strings?.length > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
1576
- }
1577
- render(e) {
1578
- return Object.keys(e).reduce((t, n) => {
1579
- let r = e[n];
1580
- return r == null ? t : t + `${n = n.includes("-") ? n : n.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${r};`;
1581
- }, "");
1582
- }
1583
- update(e, [t]) {
1584
- let { style: n } = e.element;
1585
- if (this.ft === void 0) return this.ft = new Set(Object.keys(t)), this.render(t);
1586
- for (let e of this.ft) t[e] ?? (this.ft.delete(e), e.includes("-") ? n.removeProperty(e) : n[e] = null);
1587
- for (let e in t) {
1588
- let r = t[e];
1589
- if (r != null) {
1590
- this.ft.add(e);
1591
- let t = typeof r == "string" && r.endsWith(mn);
1592
- e.includes("-") || t ? n.setProperty(e, t ? r.slice(0, -11) : r, t ? pn : "") : n[e] = r;
1593
- }
1594
- }
1595
- return A;
1596
- }
1597
- });
1598
- function gn(e, t = 100) {
1599
- let n = `${e}-where-are-you`, r = `${e}-here-i-am`;
1600
- return new _((e) => {
1601
- let i = C(window, r).pipe(T(vt(t)), S((e) => e.detail.component), St(null)).subscribe((t) => {
1602
- e.next(t), e.complete();
1603
- });
1604
- return window.dispatchEvent(new CustomEvent(n, {
1605
- bubbles: !0,
1606
- composed: !0
1607
- })), () => i.unsubscribe();
1608
- });
1609
- }
1610
- var _n = class extends Event {
1611
- constructor(e, t, n, r) {
1612
- super("context-request", {
1613
- bubbles: !0,
1614
- composed: !0
1615
- }), this.context = e, this.contextTarget = t, this.callback = n, this.subscribe = r ?? !1;
1616
- }
1617
- };
1618
- function vn(e) {
1619
- return e;
1620
- }
1621
- var yn = class {
1622
- constructor(e, t, n, r) {
1623
- if (this.subscribe = !1, this.provided = !1, this.value = void 0, this.t = (e, t) => {
1624
- this.unsubscribe && (this.unsubscribe !== t && (this.provided = !1, this.unsubscribe()), this.subscribe || this.unsubscribe()), this.value = e, this.host.requestUpdate(), this.provided && !this.subscribe || (this.provided = !0, this.callback && this.callback(e, t)), this.unsubscribe = t;
1625
- }, this.host = e, t.context !== void 0) {
1626
- let e = t;
1627
- this.context = e.context, this.callback = e.callback, this.subscribe = e.subscribe ?? !1;
1628
- } else this.context = t, this.callback = n, this.subscribe = r ?? !1;
1629
- this.host.addController(this);
1630
- }
1631
- hostConnected() {
1632
- this.dispatchRequest();
1633
- }
1634
- hostDisconnected() {
1635
- this.unsubscribe &&= (this.unsubscribe(), void 0);
1636
- }
1637
- dispatchRequest() {
1638
- this.host.dispatchEvent(new _n(this.context, this.host, this.t, this.subscribe));
1639
- }
1640
- }, bn = class {
1641
- get value() {
1642
- return this.o;
1643
- }
1644
- set value(e) {
1645
- this.setValue(e);
1646
- }
1647
- setValue(e, t = !1) {
1648
- let n = t || !Object.is(e, this.o);
1649
- this.o = e, n && this.updateObservers();
1650
- }
1651
- constructor(e) {
1652
- this.subscriptions = /* @__PURE__ */ new Map(), this.updateObservers = () => {
1653
- for (let [e, { disposer: t }] of this.subscriptions) e(this.o, t);
1654
- }, e !== void 0 && (this.value = e);
1655
- }
1656
- addCallback(e, t, n) {
1657
- if (!n) return void e(this.value);
1658
- this.subscriptions.has(e) || this.subscriptions.set(e, {
1659
- disposer: () => {
1660
- this.subscriptions.delete(e);
1661
- },
1662
- consumerHost: t
1663
- });
1664
- let { disposer: r } = this.subscriptions.get(e);
1665
- e(this.value, r);
1666
- }
1667
- clearCallbacks() {
1668
- this.subscriptions.clear();
1669
- }
1670
- }, xn = class extends Event {
1671
- constructor(e, t) {
1672
- super("context-provider", {
1673
- bubbles: !0,
1674
- composed: !0
1675
- }), this.context = e, this.contextTarget = t;
1676
- }
1677
- }, Sn = class extends bn {
1678
- constructor(e, t, n) {
1679
- super(t.context === void 0 ? n : t.initialValue), this.onContextRequest = (e) => {
1680
- if (e.context !== this.context) return;
1681
- let t = e.contextTarget ?? e.composedPath()[0];
1682
- t !== this.host && (e.stopPropagation(), this.addCallback(e.callback, t, e.subscribe));
1683
- }, this.onProviderRequest = (e) => {
1684
- if (e.context !== this.context || (e.contextTarget ?? e.composedPath()[0]) === this.host) return;
1685
- let t = /* @__PURE__ */ new Set();
1686
- for (let [e, { consumerHost: n }] of this.subscriptions) t.has(e) || (t.add(e), n.dispatchEvent(new _n(this.context, n, e, !0)));
1687
- e.stopPropagation();
1688
- }, this.host = e, t.context === void 0 ? this.context = t : this.context = t.context, this.attachListeners(), this.host.addController?.(this);
1689
- }
1690
- attachListeners() {
1691
- this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
1692
- }
1693
- hostConnected() {
1694
- this.host.dispatchEvent(new xn(this.context, this.host));
1695
- }
1696
- };
1697
- function Cn({ context: e }) {
1698
- return (t, n) => {
1699
- let r = /* @__PURE__ */ new WeakMap();
1700
- if (typeof n == "object") return {
1701
- get() {
1702
- return t.get.call(this);
1703
- },
1704
- set(e) {
1705
- return r.get(this).setValue(e), t.set.call(this, e);
1706
- },
1707
- init(t) {
1708
- return r.set(this, new Sn(this, {
1709
- context: e,
1710
- initialValue: t
1711
- })), t;
1712
- }
1713
- };
1714
- {
1715
- t.constructor.addInitializer((t) => {
1716
- r.set(t, new Sn(t, { context: e }));
1717
- });
1718
- let i = Object.getOwnPropertyDescriptor(t, n), a;
1719
- if (i === void 0) {
1720
- let e = /* @__PURE__ */ new WeakMap();
1721
- a = {
1722
- get() {
1723
- return e.get(this);
1724
- },
1725
- set(t) {
1726
- r.get(this).setValue(t), e.set(this, t);
1727
- },
1728
- configurable: !0,
1729
- enumerable: !0
1730
- };
1731
- } else {
1732
- let e = i.set;
1733
- a = {
1734
- ...i,
1735
- set(t) {
1736
- r.get(this).setValue(t), e?.call(this, t);
1737
- }
1738
- };
1739
- }
1740
- Object.defineProperty(t, n, a);
1741
- return;
1742
- }
1743
- };
1744
- }
1745
- function wn({ context: e, subscribe: t }) {
1746
- return (n, r) => {
1747
- typeof r == "object" ? r.addInitializer(function() {
1748
- new yn(this, {
1749
- context: e,
1750
- callback: (e) => {
1751
- n.set.call(this, e);
1752
- },
1753
- subscribe: t
1754
- });
1755
- }) : n.constructor.addInitializer((n) => {
1756
- new yn(n, {
1757
- context: e,
1758
- callback: (e) => {
1759
- n[r] = e;
1760
- },
1761
- subscribe: t
1762
- });
1763
- });
1764
- };
1765
- }
1766
- var Tn = "theme-context";
1767
- function P(e, t, n, r) {
1768
- var i, a = arguments.length, o = a < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r;
1769
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(e, t, n, r);
1770
- else for (var s = e.length - 1; s >= 0; s--) (i = e[s]) && (o = (a < 3 ? i(o) : a > 3 ? i(t, n, o) : i(t, n)) || o);
1771
- return a > 3 && o && Object.defineProperty(t, n, o), o;
1772
- }
1773
- var F = (e) => (t, n) => {
1774
- n === void 0 ? customElements.define(e, t) : n.addInitializer(() => {
1775
- customElements.define(e, t);
1776
- });
1777
- }, En = globalThis, Dn = En.ShadowRoot && (En.ShadyCSS === void 0 || En.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, On = Symbol(), kn = /* @__PURE__ */ new WeakMap(), An = class {
1778
- constructor(e, t, n) {
1779
- if (this._$cssResult$ = !0, n !== On) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
1780
- this.cssText = e, this.t = t;
1781
- }
1782
- get styleSheet() {
1783
- let e = this.o, t = this.t;
1784
- if (Dn && e === void 0) {
1785
- let n = t !== void 0 && t.length === 1;
1786
- n && (e = kn.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && kn.set(t, e));
1787
- }
1788
- return e;
1789
- }
1790
- toString() {
1791
- return this.cssText;
1792
- }
1793
- }, jn = (e) => new An(typeof e == "string" ? e : e + "", void 0, On), I = (e, ...t) => new An(e.length === 1 ? e[0] : t.reduce((t, n, r) => t + ((e) => {
1794
- if (!0 === e._$cssResult$) return e.cssText;
1795
- if (typeof e == "number") return e;
1796
- throw Error("Value passed to 'css' function must be a 'css' function result: " + e + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
1797
- })(n) + e[r + 1], e[0]), e, On), Mn = Dn ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((e) => {
1798
- let t = "";
1799
- for (let n of e.cssRules) t += n.cssText;
1800
- return jn(t);
1801
- })(e) : e, { is: Nn, defineProperty: Pn, getOwnPropertyDescriptor: Fn, getOwnPropertyNames: In, getOwnPropertySymbols: Ln, getPrototypeOf: Rn } = Object, zn = globalThis, Bn = zn.trustedTypes, Vn = Bn ? Bn.emptyScript : "", Hn = zn.reactiveElementPolyfillSupport, Un = (e, t) => e, Wn = {
1802
- toAttribute(e, t) {
1803
- switch (t) {
1804
- case Boolean:
1805
- e = e ? Vn : null;
1806
- break;
1807
- case Object:
1808
- case Array: e = e == null ? e : JSON.stringify(e);
1809
- }
1810
- return e;
1811
- },
1812
- fromAttribute(e, t) {
1813
- let n = e;
1814
- switch (t) {
1815
- case Boolean:
1816
- n = e !== null;
1817
- break;
1818
- case Number:
1819
- n = e === null ? null : Number(e);
1820
- break;
1821
- case Object:
1822
- case Array: try {
1823
- n = JSON.parse(e);
1824
- } catch {
1825
- n = null;
1826
- }
1827
- }
1828
- return n;
1829
- }
1830
- }, Gn = (e, t) => !Nn(e, t), Kn = {
1831
- attribute: !0,
1832
- type: String,
1833
- converter: Wn,
1834
- reflect: !1,
1835
- useDefault: !1,
1836
- hasChanged: Gn
1837
- };
1838
- Symbol.metadata ??= Symbol("metadata"), zn.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
1839
- var qn = class extends HTMLElement {
1840
- static addInitializer(e) {
1841
- this._$Ei(), (this.l ??= []).push(e);
1842
- }
1843
- static get observedAttributes() {
1844
- return this.finalize(), this._$Eh && [...this._$Eh.keys()];
1845
- }
1846
- static createProperty(e, t = Kn) {
1847
- if (t.state && (t.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((t = Object.create(t)).wrapped = !0), this.elementProperties.set(e, t), !t.noAccessor) {
1848
- let n = Symbol(), r = this.getPropertyDescriptor(e, n, t);
1849
- r !== void 0 && Pn(this.prototype, e, r);
1850
- }
1851
- }
1852
- static getPropertyDescriptor(e, t, n) {
1853
- let { get: r, set: i } = Fn(this.prototype, e) ?? {
1854
- get() {
1855
- return this[t];
1856
- },
1857
- set(e) {
1858
- this[t] = e;
1859
- }
1860
- };
1861
- return {
1862
- get: r,
1863
- set(t) {
1864
- let a = r?.call(this);
1865
- i?.call(this, t), this.requestUpdate(e, a, n);
1866
- },
1867
- configurable: !0,
1868
- enumerable: !0
1869
- };
1870
- }
1871
- static getPropertyOptions(e) {
1872
- return this.elementProperties.get(e) ?? Kn;
1873
- }
1874
- static _$Ei() {
1875
- if (this.hasOwnProperty(Un("elementProperties"))) return;
1876
- let e = Rn(this);
1877
- e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
1878
- }
1879
- static finalize() {
1880
- if (this.hasOwnProperty(Un("finalized"))) return;
1881
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Un("properties"))) {
1882
- let e = this.properties, t = [...In(e), ...Ln(e)];
1883
- for (let n of t) this.createProperty(n, e[n]);
1884
- }
1885
- let e = this[Symbol.metadata];
1886
- if (e !== null) {
1887
- let t = litPropertyMetadata.get(e);
1888
- if (t !== void 0) for (let [e, n] of t) this.elementProperties.set(e, n);
1889
- }
1890
- this._$Eh = /* @__PURE__ */ new Map();
1891
- for (let [e, t] of this.elementProperties) {
1892
- let n = this._$Eu(e, t);
1893
- n !== void 0 && this._$Eh.set(n, e);
1894
- }
1895
- this.elementStyles = this.finalizeStyles(this.styles);
1896
- }
1897
- static finalizeStyles(e) {
1898
- let t = [];
1899
- if (Array.isArray(e)) {
1900
- let n = new Set(e.flat(Infinity).reverse());
1901
- for (let e of n) t.unshift(Mn(e));
1902
- } else e !== void 0 && t.push(Mn(e));
1903
- return t;
1904
- }
1905
- static _$Eu(e, t) {
1906
- let n = t.attribute;
1907
- return !1 === n ? void 0 : typeof n == "string" ? n : typeof e == "string" ? e.toLowerCase() : void 0;
1908
- }
1909
- constructor() {
1910
- super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
1911
- }
1912
- _$Ev() {
1913
- this._$ES = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((e) => e(this));
1914
- }
1915
- addController(e) {
1916
- (this._$EO ??= /* @__PURE__ */ new Set()).add(e), this.renderRoot !== void 0 && this.isConnected && e.hostConnected?.();
1917
- }
1918
- removeController(e) {
1919
- this._$EO?.delete(e);
1920
- }
1921
- _$E_() {
1922
- let e = /* @__PURE__ */ new Map(), t = this.constructor.elementProperties;
1923
- for (let n of t.keys()) this.hasOwnProperty(n) && (e.set(n, this[n]), delete this[n]);
1924
- e.size > 0 && (this._$Ep = e);
1925
- }
1926
- createRenderRoot() {
1927
- let e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
1928
- return ((e, t) => {
1929
- if (Dn) e.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
1930
- else for (let n of t) {
1931
- let t = document.createElement("style"), r = En.litNonce;
1932
- r !== void 0 && t.setAttribute("nonce", r), t.textContent = n.cssText, e.appendChild(t);
1933
- }
1934
- })(e, this.constructor.elementStyles), e;
1935
- }
1936
- connectedCallback() {
1937
- this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((e) => e.hostConnected?.());
1938
- }
1939
- enableUpdating(e) {}
1940
- disconnectedCallback() {
1941
- this._$EO?.forEach((e) => e.hostDisconnected?.());
1942
- }
1943
- attributeChangedCallback(e, t, n) {
1944
- this._$AK(e, n);
1945
- }
1946
- _$ET(e, t) {
1947
- let n = this.constructor.elementProperties.get(e), r = this.constructor._$Eu(e, n);
1948
- if (r !== void 0 && !0 === n.reflect) {
1949
- let i = (n.converter?.toAttribute === void 0 ? Wn : n.converter).toAttribute(t, n.type);
1950
- this._$Em = e, i == null ? this.removeAttribute(r) : this.setAttribute(r, i), this._$Em = null;
1951
- }
1952
- }
1953
- _$AK(e, t) {
1954
- let n = this.constructor, r = n._$Eh.get(e);
1955
- if (r !== void 0 && this._$Em !== r) {
1956
- let e = n.getPropertyOptions(r), i = typeof e.converter == "function" ? { fromAttribute: e.converter } : e.converter?.fromAttribute === void 0 ? Wn : e.converter;
1957
- this._$Em = r;
1958
- let a = i.fromAttribute(t, e.type);
1959
- this[r] = a ?? this._$Ej?.get(r) ?? a, this._$Em = null;
1960
- }
1961
- }
1962
- requestUpdate(e, t, n, r = !1, i) {
1963
- if (e !== void 0) {
1964
- let a = this.constructor;
1965
- if (!1 === r && (i = this[e]), n ??= a.getPropertyOptions(e), !((n.hasChanged ?? Gn)(i, t) || n.useDefault && n.reflect && i === this._$Ej?.get(e) && !this.hasAttribute(a._$Eu(e, n)))) return;
1966
- this.C(e, t, n);
1967
- }
1968
- !1 === this.isUpdatePending && (this._$ES = this._$EP());
1969
- }
1970
- C(e, t, { useDefault: n, reflect: r, wrapped: i }, a) {
1971
- n && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(e) && (this._$Ej.set(e, a ?? t ?? this[e]), !0 !== i || a !== void 0) || (this._$AL.has(e) || (this.hasUpdated || n || (t = void 0), this._$AL.set(e, t)), !0 === r && this._$Em !== e && (this._$Eq ??= /* @__PURE__ */ new Set()).add(e));
1972
- }
1973
- async _$EP() {
1974
- this.isUpdatePending = !0;
1975
- try {
1976
- await this._$ES;
1977
- } catch (e) {
1978
- Promise.reject(e);
1979
- }
1980
- let e = this.scheduleUpdate();
1981
- return e != null && await e, !this.isUpdatePending;
1982
- }
1983
- scheduleUpdate() {
1984
- return this.performUpdate();
1985
- }
1986
- performUpdate() {
1987
- if (!this.isUpdatePending) return;
1988
- if (!this.hasUpdated) {
1989
- if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
1990
- for (let [e, t] of this._$Ep) this[e] = t;
1991
- this._$Ep = void 0;
1992
- }
1993
- let e = this.constructor.elementProperties;
1994
- if (e.size > 0) for (let [t, n] of e) {
1995
- let { wrapped: e } = n, r = this[t];
1996
- !0 !== e || this._$AL.has(t) || r === void 0 || this.C(t, void 0, n, r);
1997
- }
1998
- }
1999
- let e = !1, t = this._$AL;
2000
- try {
2001
- e = this.shouldUpdate(t), e ? (this.willUpdate(t), this._$EO?.forEach((e) => e.hostUpdate?.()), this.update(t)) : this._$EM();
2002
- } catch (t) {
2003
- throw e = !1, this._$EM(), t;
2004
- }
2005
- e && this._$AE(t);
2006
- }
2007
- willUpdate(e) {}
2008
- _$AE(e) {
2009
- this._$EO?.forEach((e) => e.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(e)), this.updated(e);
2010
- }
2011
- _$EM() {
2012
- this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
2013
- }
2014
- get updateComplete() {
2015
- return this.getUpdateComplete();
2016
- }
2017
- getUpdateComplete() {
2018
- return this._$ES;
2019
- }
2020
- shouldUpdate(e) {
2021
- return !0;
2022
- }
2023
- update(e) {
2024
- this._$Eq &&= this._$Eq.forEach((e) => this._$ET(e, this[e])), this._$EM();
2025
- }
2026
- updated(e) {}
2027
- firstUpdated(e) {}
2028
- };
2029
- qn.elementStyles = [], qn.shadowRootOptions = { mode: "open" }, qn[Un("elementProperties")] = /* @__PURE__ */ new Map(), qn[Un("finalized")] = /* @__PURE__ */ new Map(), Hn?.({ ReactiveElement: qn }), (zn.reactiveElementVersions ??= []).push("2.1.2");
2030
- var Jn = {
2031
- attribute: !0,
2032
- type: String,
2033
- converter: Wn,
2034
- reflect: !1,
2035
- hasChanged: Gn
2036
- }, Yn = (e = Jn, t, n) => {
2037
- let { kind: r, metadata: i } = n, a = globalThis.litPropertyMetadata.get(i);
2038
- if (a === void 0 && globalThis.litPropertyMetadata.set(i, a = /* @__PURE__ */ new Map()), r === "setter" && ((e = Object.create(e)).wrapped = !0), a.set(n.name, e), r === "accessor") {
2039
- let { name: r } = n;
2040
- return {
2041
- set(n) {
2042
- let i = t.get.call(this);
2043
- t.set.call(this, n), this.requestUpdate(r, i, e, !0, n);
2044
- },
2045
- init(t) {
2046
- return t !== void 0 && this.C(r, void 0, e, t), t;
2047
- }
2048
- };
2049
- }
2050
- if (r === "setter") {
2051
- let { name: r } = n;
2052
- return function(n) {
2053
- let i = this[r];
2054
- t.call(this, n), this.requestUpdate(r, i, e, !0, n);
2055
- };
2056
- }
2057
- throw Error("Unsupported decorator location: " + r);
2058
- };
2059
- function L(e) {
2060
- return (t, n) => typeof n == "object" ? Yn(e, t, n) : ((e, t, n) => {
2061
- let r = t.hasOwnProperty(n);
2062
- return t.constructor.createProperty(n, e), r ? Object.getOwnPropertyDescriptor(t, n) : void 0;
2063
- })(e, t, n);
2064
- }
2065
- function Xn(e) {
2066
- return L({
2067
- ...e,
2068
- state: !0,
2069
- attribute: !1
2070
- });
2071
- }
2072
- var Zn = (e, t, n) => (n.configurable = !0, n.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(e, t, n), n);
2073
- function Qn(e, t) {
2074
- return (n, r, i) => {
2075
- let a = (t) => t.renderRoot?.querySelector(e) ?? null;
2076
- if (t) {
2077
- let { get: e, set: t } = typeof r == "object" ? n : i ?? (() => {
2078
- let e = Symbol();
2079
- return {
2080
- get() {
2081
- return this[e];
2082
- },
2083
- set(t) {
2084
- this[e] = t;
2085
- }
2086
- };
2087
- })();
2088
- return Zn(n, r, { get() {
2089
- let n = e.call(this);
2090
- return n === void 0 && (n = a(this), (n !== null || this.hasUpdated) && t.call(this, n)), n;
2091
- } });
2092
- }
2093
- return Zn(n, r, { get() {
2094
- return a(this);
2095
- } });
2096
- };
2097
- }
2098
- function $n(e) {
2099
- return (t, n) => {
2100
- let { slot: r, selector: i } = e ?? {}, a = "slot" + (r ? `[name=${r}]` : ":not([name])");
2101
- return Zn(t, n, { get() {
2102
- let t = (this.renderRoot?.querySelector(a))?.assignedElements(e) ?? [];
2103
- return i === void 0 ? t : t.filter((e) => e.matches(i));
2104
- } });
2105
- };
2106
- }
2107
- var er = globalThis, R = class extends qn {
2108
- constructor() {
2109
- super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
2110
- }
2111
- createRenderRoot() {
2112
- let e = super.createRenderRoot();
2113
- return this.renderOptions.renderBefore ??= e.firstChild, e;
2114
- }
2115
- update(e) {
2116
- let t = this.render();
2117
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = cn(t, this.renderRoot, this.renderOptions);
2118
- }
2119
- connectedCallback() {
2120
- super.connectedCallback(), this._$Do?.setConnected(!0);
2121
- }
2122
- disconnectedCallback() {
2123
- super.disconnectedCallback(), this._$Do?.setConnected(!1);
2124
- }
2125
- render() {
2126
- return A;
2127
- }
2128
- };
2129
- R._$litElement$ = !0, R.finalized = !0, er.litElementHydrateSupport?.({ LitElement: R });
2130
- var tr = er.litElementPolyfillSupport;
2131
- tr?.({ LitElement: R }), (er.litElementVersions ??= []).push("4.2.2");
2132
- var nr = Object.defineProperty, rr = (e, t, n) => (((e, t, n) => {
2133
- t in e ? nr(e, t, {
2134
- enumerable: !0,
2135
- configurable: !0,
2136
- writable: !0,
2137
- value: n
2138
- }) : e[t] = n;
2139
- })(e, typeof t == "symbol" ? t : t + "", n), n), ir = (e, t) => {
2140
- if (Object(t) !== t) throw TypeError("Cannot use the \"in\" operator on this value");
2141
- return e.has(t);
2142
- }, ar = (e, t, n) => {
2143
- if (t.has(e)) throw TypeError("Cannot add the same private member more than once");
2144
- t instanceof WeakSet ? t.add(e) : t.set(e, n);
2145
- }, or = (e, t, n) => (((e, t, n) => {
2146
- if (!t.has(e)) throw TypeError("Cannot " + n);
2147
- })(e, t, "access private method"), n);
2148
- function sr(e, t) {
2149
- return Object.is(e, t);
2150
- }
2151
- var z = null, cr = !1, lr = 1, ur = Symbol("SIGNAL");
2152
- function dr(e) {
2153
- let t = z;
2154
- return z = e, t;
2155
- }
2156
- var fr = {
2157
- version: 0,
2158
- lastCleanEpoch: 0,
2159
- dirty: !1,
2160
- producerNode: void 0,
2161
- producerLastReadVersion: void 0,
2162
- producerIndexOfThis: void 0,
2163
- nextProducerIndex: 0,
2164
- liveConsumerNode: void 0,
2165
- liveConsumerIndexOfThis: void 0,
2166
- consumerAllowSignalWrites: !1,
2167
- consumerIsAlwaysLive: !1,
2168
- producerMustRecompute: () => !1,
2169
- producerRecomputeValue: () => {},
2170
- consumerMarkedDirty: () => {},
2171
- consumerOnSignalRead: () => {}
2172
- };
2173
- function pr(e) {
2174
- if (cr) throw Error(typeof ngDevMode < "u" && ngDevMode ? "Assertion error: signal read during notification phase" : "");
2175
- if (z === null) return;
2176
- z.consumerOnSignalRead(e);
2177
- let t = z.nextProducerIndex++;
2178
- br(z), t < z.producerNode.length && z.producerNode[t] !== e && yr(z) && vr(z.producerNode[t], z.producerIndexOfThis[t]), z.producerNode[t] !== e && (z.producerNode[t] = e, z.producerIndexOfThis[t] = yr(z) ? _r(e, z, t) : 0), z.producerLastReadVersion[t] = e.version;
2179
- }
2180
- function mr(e) {
2181
- if (e.dirty || e.lastCleanEpoch !== lr) {
2182
- if (!e.producerMustRecompute(e) && !function(e) {
2183
- br(e);
2184
- for (let t = 0; t < e.producerNode.length; t++) {
2185
- let n = e.producerNode[t], r = e.producerLastReadVersion[t];
2186
- if (r !== n.version || (mr(n), r !== n.version)) return !0;
2187
- }
2188
- return !1;
2189
- }(e)) return e.dirty = !1, void (e.lastCleanEpoch = lr);
2190
- e.producerRecomputeValue(e), e.dirty = !1, e.lastCleanEpoch = lr;
2191
- }
2192
- }
2193
- function hr(e) {
2194
- if (e.liveConsumerNode === void 0) return;
2195
- let t = cr;
2196
- cr = !0;
2197
- try {
2198
- for (let t of e.liveConsumerNode) t.dirty || gr(t);
2199
- } finally {
2200
- cr = t;
2201
- }
2202
- }
2203
- function gr(e) {
2204
- var t;
2205
- e.dirty = !0, hr(e), (t = e.consumerMarkedDirty) == null || t.call(e.wrapper ?? e);
2206
- }
2207
- function _r(e, t, n) {
2208
- var r;
2209
- if (xr(e), br(e), e.liveConsumerNode.length === 0) {
2210
- (r = e.watched) == null || r.call(e.wrapper);
2211
- for (let t = 0; t < e.producerNode.length; t++) e.producerIndexOfThis[t] = _r(e.producerNode[t], e, t);
2212
- }
2213
- return e.liveConsumerIndexOfThis.push(n), e.liveConsumerNode.push(t) - 1;
2214
- }
2215
- function vr(e, t) {
2216
- var n;
2217
- if (xr(e), br(e), typeof ngDevMode < "u" && ngDevMode && t >= e.liveConsumerNode.length) throw Error(`Assertion error: active consumer index ${t} is out of bounds of ${e.liveConsumerNode.length} consumers)`);
2218
- if (e.liveConsumerNode.length === 1) {
2219
- (n = e.unwatched) == null || n.call(e.wrapper);
2220
- for (let t = 0; t < e.producerNode.length; t++) vr(e.producerNode[t], e.producerIndexOfThis[t]);
2221
- }
2222
- let r = e.liveConsumerNode.length - 1;
2223
- if (e.liveConsumerNode[t] = e.liveConsumerNode[r], e.liveConsumerIndexOfThis[t] = e.liveConsumerIndexOfThis[r], e.liveConsumerNode.length--, e.liveConsumerIndexOfThis.length--, t < e.liveConsumerNode.length) {
2224
- let n = e.liveConsumerIndexOfThis[t], r = e.liveConsumerNode[t];
2225
- br(r), r.producerIndexOfThis[n] = t;
2226
- }
2227
- }
2228
- function yr(e) {
2229
- return e.consumerIsAlwaysLive || (e?.liveConsumerNode?.length ?? 0) > 0;
2230
- }
2231
- function br(e) {
2232
- e.producerNode ??= [], e.producerIndexOfThis ??= [], e.producerLastReadVersion ??= [];
2233
- }
2234
- function xr(e) {
2235
- e.liveConsumerNode ??= [], e.liveConsumerIndexOfThis ??= [];
2236
- }
2237
- function Sr(e) {
2238
- if (mr(e), pr(e), e.value === Tr) throw e.error;
2239
- return e.value;
2240
- }
2241
- var Cr = Symbol("UNSET"), wr = Symbol("COMPUTING"), Tr = Symbol("ERRORED"), Er = {
2242
- ...fr,
2243
- value: Cr,
2244
- dirty: !0,
2245
- error: null,
2246
- equal: sr,
2247
- producerMustRecompute: (e) => e.value === Cr || e.value === wr,
2248
- producerRecomputeValue(e) {
2249
- if (e.value === wr) throw Error("Detected cycle in computations.");
2250
- let t = e.value;
2251
- e.value = wr;
2252
- let n = function(e) {
2253
- return e && (e.nextProducerIndex = 0), dr(e);
2254
- }(e), r, i = !1;
2255
- try {
2256
- r = e.computation.call(e.wrapper), i = t !== Cr && t !== Tr && e.equal.call(e.wrapper, t, r);
2257
- } catch (t) {
2258
- r = Tr, e.error = t;
2259
- } finally {
2260
- (function(e, t) {
2261
- if (dr(t), e && e.producerNode !== void 0 && e.producerIndexOfThis !== void 0 && e.producerLastReadVersion !== void 0) {
2262
- if (yr(e)) for (let t = e.nextProducerIndex; t < e.producerNode.length; t++) vr(e.producerNode[t], e.producerIndexOfThis[t]);
2263
- for (; e.producerNode.length > e.nextProducerIndex;) e.producerNode.pop(), e.producerLastReadVersion.pop(), e.producerIndexOfThis.pop();
2264
- }
2265
- })(e, n);
2266
- }
2267
- i ? e.value = t : (e.value = r, e.version++);
2268
- }
2269
- }, Dr = function() {
2270
- throw Error();
2271
- };
2272
- function Or() {
2273
- return pr(this), this.value;
2274
- }
2275
- function kr(e, t) {
2276
- !1 === z?.consumerAllowSignalWrites && Dr(), e.equal.call(e.wrapper, e.value, t) || (e.value = t, function(e) {
2277
- e.version++, lr++, hr(e);
2278
- }(e));
2279
- }
2280
- var Ar = {
2281
- ...fr,
2282
- equal: sr,
2283
- value: void 0
2284
- }, B, V = Symbol("node");
2285
- ((e) => {
2286
- var t = V, n = /* @__PURE__ */ new WeakSet(), r, i;
2287
- e.isState = (e) => typeof e == "object" && ir(n, e), e.State = class {
2288
- constructor(r, i = {}) {
2289
- ar(this, n), rr(this, t);
2290
- let a = function(e) {
2291
- let t = Object.create(Ar);
2292
- t.value = e;
2293
- let n = () => (pr(t), t.value);
2294
- return n[ur] = t, n;
2295
- }(r)[ur];
2296
- if (this[V] = a, a.wrapper = this, i) {
2297
- let t = i.equals;
2298
- t && (a.equal = t), a.watched = i[e.subtle.watched], a.unwatched = i[e.subtle.unwatched];
2299
- }
2300
- }
2301
- get() {
2302
- if (!(0, e.isState)(this)) throw TypeError("Wrong receiver type for Signal.State.prototype.get");
2303
- return Or.call(this[V]);
2304
- }
2305
- set(t) {
2306
- if (!(0, e.isState)(this)) throw TypeError("Wrong receiver type for Signal.State.prototype.set");
2307
- if (cr) throw Error("Writes to signals not permitted during Watcher callback");
2308
- kr(this[V], t);
2309
- }
2310
- }, r = V, i = /* @__PURE__ */ new WeakSet(), e.isComputed = (e) => typeof e == "object" && ir(i, e), e.Computed = class {
2311
- constructor(t, n) {
2312
- ar(this, i), rr(this, r);
2313
- let a = function(e) {
2314
- let t = Object.create(Er);
2315
- t.computation = e;
2316
- let n = () => Sr(t);
2317
- return n[ur] = t, n;
2318
- }(t)[ur];
2319
- if (a.consumerAllowSignalWrites = !0, this[V] = a, a.wrapper = this, n) {
2320
- let t = n.equals;
2321
- t && (a.equal = t), a.watched = n[e.subtle.watched], a.unwatched = n[e.subtle.unwatched];
2322
- }
2323
- }
2324
- get() {
2325
- if (!(0, e.isComputed)(this)) throw TypeError("Wrong receiver type for Signal.Computed.prototype.get");
2326
- return Sr(this[V]);
2327
- }
2328
- }, ((t) => {
2329
- var n, r, i, a;
2330
- t.untrack = function(e) {
2331
- let t, n = null;
2332
- try {
2333
- n = dr(null), t = e();
2334
- } finally {
2335
- dr(n);
2336
- }
2337
- return t;
2338
- }, t.introspectSources = function(t) {
2339
- if (!(0, e.isComputed)(t) && !(0, e.isWatcher)(t)) throw TypeError("Called introspectSources without a Computed or Watcher argument");
2340
- return t[V].producerNode?.map((e) => e.wrapper) ?? [];
2341
- }, t.introspectSinks = function(t) {
2342
- if (!(0, e.isComputed)(t) && !(0, e.isState)(t)) throw TypeError("Called introspectSinks without a Signal argument");
2343
- return t[V].liveConsumerNode?.map((e) => e.wrapper) ?? [];
2344
- }, t.hasSinks = function(t) {
2345
- if (!(0, e.isComputed)(t) && !(0, e.isState)(t)) throw TypeError("Called hasSinks without a Signal argument");
2346
- let n = t[V].liveConsumerNode;
2347
- return !!n && n.length > 0;
2348
- }, t.hasSources = function(t) {
2349
- if (!(0, e.isComputed)(t) && !(0, e.isWatcher)(t)) throw TypeError("Called hasSources without a Computed or Watcher argument");
2350
- let n = t[V].producerNode;
2351
- return !!n && n.length > 0;
2352
- }, n = V, r = /* @__PURE__ */ new WeakSet(), i = /* @__PURE__ */ new WeakSet(), a = function(t) {
2353
- for (let n of t) if (!(0, e.isComputed)(n) && !(0, e.isState)(n)) throw TypeError("Called watch/unwatch without a Computed or State argument");
2354
- }, e.isWatcher = (e) => ir(r, e), t.Watcher = class {
2355
- constructor(e) {
2356
- ar(this, r), ar(this, i), rr(this, n);
2357
- let t = Object.create(fr);
2358
- t.wrapper = this, t.consumerMarkedDirty = e, t.consumerIsAlwaysLive = !0, t.consumerAllowSignalWrites = !1, t.producerNode = [], this[V] = t;
2359
- }
2360
- watch(...t) {
2361
- if (!(0, e.isWatcher)(this)) throw TypeError("Called unwatch without Watcher receiver");
2362
- or(this, i, a).call(this, t);
2363
- let n = this[V];
2364
- n.dirty = !1;
2365
- let r = dr(n);
2366
- for (let e of t) pr(e[V]);
2367
- dr(r);
2368
- }
2369
- unwatch(...t) {
2370
- if (!(0, e.isWatcher)(this)) throw TypeError("Called unwatch without Watcher receiver");
2371
- or(this, i, a).call(this, t);
2372
- let n = this[V];
2373
- br(n);
2374
- for (let e = n.producerNode.length - 1; e >= 0; e--) if (t.includes(n.producerNode[e].wrapper)) {
2375
- vr(n.producerNode[e], n.producerIndexOfThis[e]);
2376
- let t = n.producerNode.length - 1;
2377
- if (n.producerNode[e] = n.producerNode[t], n.producerIndexOfThis[e] = n.producerIndexOfThis[t], n.producerNode.length--, n.producerIndexOfThis.length--, n.nextProducerIndex--, e < n.producerNode.length) {
2378
- let t = n.producerIndexOfThis[e], r = n.producerNode[e];
2379
- xr(r), r.liveConsumerIndexOfThis[t] = e;
2380
- }
2381
- }
2382
- }
2383
- getPending() {
2384
- if (!(0, e.isWatcher)(this)) throw TypeError("Called getPending without Watcher receiver");
2385
- return this[V].producerNode.filter((e) => e.dirty).map((e) => e.wrapper);
2386
- }
2387
- }, t.currentComputed = function() {
2388
- return z?.wrapper;
2389
- }, t.watched = Symbol("watched"), t.unwatched = Symbol("unwatched");
2390
- })(e.subtle ||= {});
2391
- })(B ||= {});
2392
- var jr = !1, Mr = new B.subtle.Watcher(() => {
2393
- jr || (jr = !0, queueMicrotask(() => {
2394
- jr = !1;
2395
- for (let e of Mr.getPending()) e.get();
2396
- Mr.watch();
2397
- }));
2398
- }), Nr = Symbol("SignalWatcherBrand"), Pr = new FinalizationRegistry((e) => {
2399
- e.unwatch(...B.subtle.introspectSources(e));
2400
- }), Fr = /* @__PURE__ */ new WeakMap(), { I: Ir } = on, Lr = (e) => e, Rr = (e, t) => t === void 0 ? e?._$litType$ !== void 0 : e?._$litType$ === t, zr = (e) => e?._$litType$?.h != null, Br = () => document.createComment(""), Vr = (e, t, n) => {
2401
- let r = e._$AA.parentNode, i = t === void 0 ? e._$AB : t._$AA;
2402
- if (n === void 0) n = new Ir(r.insertBefore(Br(), i), r.insertBefore(Br(), i), e, e.options);
2403
- else {
2404
- let t = n._$AB.nextSibling, a = n._$AM, o = a !== e;
2405
- if (o) {
2406
- let t;
2407
- n._$AQ?.(e), n._$AM = e, n._$AP !== void 0 && (t = e._$AU) !== a._$AU && n._$AP(t);
2408
- }
2409
- if (t !== i || o) {
2410
- let e = n._$AA;
2411
- for (; e !== t;) {
2412
- let t = Lr(e).nextSibling;
2413
- Lr(r).insertBefore(e, i), e = t;
2414
- }
2415
- }
2416
- }
2417
- return n;
2418
- }, Hr = (e, t, n = e) => (e._$AI(t, n), e), Ur = {}, Wr = (e, t = Ur) => e._$AH = t, Gr = (e) => e._$AH, Kr = (e) => {
2419
- e._$AR(), e._$AA.remove();
2420
- }, qr = (e) => {
2421
- e._$AR();
2422
- }, Jr = (e, t) => {
2423
- let n = e._$AN;
2424
- if (n === void 0) return !1;
2425
- for (let e of n) e._$AO?.(t, !1), Jr(e, t);
2426
- return !0;
2427
- }, Yr = (e) => {
2428
- let t, n;
2429
- do {
2430
- if ((t = e._$AM) === void 0) break;
2431
- n = t._$AN, n.delete(e), e = t;
2432
- } while (n?.size === 0);
2433
- }, Xr = (e) => {
2434
- for (let t; t = e._$AM; e = t) {
2435
- let n = t._$AN;
2436
- if (n === void 0) t._$AN = n = /* @__PURE__ */ new Set();
2437
- else if (n.has(e)) break;
2438
- n.add(e), $r(t);
2439
- }
2440
- };
2441
- function Zr(e) {
2442
- this._$AN === void 0 ? this._$AM = e : (Yr(this), this._$AM = e, Xr(this));
2443
- }
2444
- function Qr(e, t = !1, n = 0) {
2445
- let r = this._$AH, i = this._$AN;
2446
- if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(r)) for (let e = n; e < r.length; e++) Jr(r[e], !1), Yr(r[e]);
2447
- else r != null && (Jr(r, !1), Yr(r));
2448
- else Jr(this, e);
2449
- }
2450
- var $r = (e) => {
2451
- e.type == ln.CHILD && (e._$AP ??= Qr, e._$AQ ??= Zr);
2452
- }, ei = class extends dn {
2453
- constructor() {
2454
- super(...arguments), this._$AN = void 0;
2455
- }
2456
- _$AT(e, t, n) {
2457
- super._$AT(e, t, n), Xr(this), this.isConnected = e._$AU;
2458
- }
2459
- _$AO(e, t = !0) {
2460
- e !== this.isConnected && (this.isConnected = e, e ? this.reconnected?.() : this.disconnected?.()), t && (Jr(this, e), Yr(this));
2461
- }
2462
- setValue(e) {
2463
- if (((e) => e.strings === void 0)(this._$Ct)) this._$Ct._$AI(e, this);
2464
- else {
2465
- let t = [...this._$Ct._$AH];
2466
- t[this._$Ci] = e, this._$Ct._$AI(t, this, 0);
2467
- }
2468
- }
2469
- disconnected() {}
2470
- reconnected() {}
2471
- }, ti = !1, ni = new B.subtle.Watcher(async () => {
2472
- ti || (ti = !0, queueMicrotask(() => {
2473
- ti = !1;
2474
- for (let e of ni.getPending()) e.get();
2475
- ni.watch();
2476
- }));
2477
- }), ri = (B.State, B.Computed, (e, t) => new B.Computed(e, t)), ii = jn("/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-pan-x:initial;--tw-pan-y:initial;--tw-pinch-zoom:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:\"\"}}}@layer theme{:root,:host{--color-primary-default:var(--schmancy-sys-color-primary-default);--color-primary:var(--schmancy-sys-color-primary-default);--color-error:var(--schmancy-sys-color-error-default);--font-mono:var(--schmancy-font-family), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-x-6{inset-inline:1.5rem}.-top-12{top:-3rem}.top-0{top:0}.top-1\\/2{top:50%}.top-2{top:.5rem}.top-4{top:1rem}.top-8{top:2rem}.right-0{right:0}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.bottom-0{bottom:0}.bottom-4{bottom:1rem}.bottom-\\[-3\\.5rem\\]{bottom:-3.5rem}.left-0{left:0}.left-1\\/2{left:50%}.left-2{left:.5rem}.left-3{left:.75rem}.left-4{left:1rem}.left-\\[calc\\(100\\%\\+8px\\)\\]{left:calc(100% + 8px)}.isolate{isolation:isolate}.z-0{z-index:0}.z-5{z-index:5}.z-10{z-index:10}.z-20{z-index:20}.z-49{z-index:49}.z-50{z-index:50}.z-100{z-index:100}.z-1000{z-index:1000}.z-9998{z-index:9998}.z-\\[1000\\]{z-index:1000}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.-mx-1{margin-inline:-.25rem}.mx-auto{margin-inline:auto}.my-0\\.5{margin-block:.125rem}.my-4{margin-block:1rem}.-mt-2\\.5{margin-top:-.625rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.-mr-1{margin-right:-.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.-ml-2\\.5{margin-left:-.625rem}.-ml-px{margin-left:-1px}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-6{margin-left:1.5rem}.ml-\\[0\\.38em\\]{margin-left:.38em}.ml-px{margin-left:1px}.box-border{box-sizing:border-box}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-4{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-5{-webkit-line-clamp:5;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-6{-webkit-line-clamp:6;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.size-3{width:.75rem;height:.75rem}.size-5{width:1.25rem;height:1.25rem}.size-8{width:2rem;height:2rem}.size-\\[18px\\]{width:18px;height:18px}.h-0\\.5{height:.125rem}.h-1{height:.25rem}.h-1\\.5{height:.375rem}.h-2{height:.5rem}.h-2\\.5{height:.625rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-20{height:5rem}.h-64{height:16rem}.h-\\[240px\\]{height:240px}.h-\\[250px\\]{height:250px}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-\\[80vh\\]{max-height:80vh}.max-h-\\[90dvh\\]{max-height:90dvh}.max-h-\\[90vh\\]{max-height:90vh}.min-h-0{min-height:0}.min-h-12{min-height:3rem}.min-h-14{min-height:3.5rem}.min-h-\\[32px\\]{min-height:32px}.min-h-\\[36px\\]{min-height:36px}.min-h-\\[40px\\]{min-height:40px}.min-h-\\[50px\\]{min-height:50px}.min-h-\\[60px\\]{min-height:60px}.min-h-\\[400px\\]{min-height:400px}.min-h-screen{min-height:100vh}.w-0{width:0}.w-0\\.5{width:.125rem}.w-1{width:.25rem}.w-1\\.5{width:.375rem}.w-1\\/3{width:33.3333%}.w-2{width:.5rem}.w-2\\.5{width:.625rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-20{width:5rem}.w-60{width:15rem}.w-\\[240px\\]{width:240px}.w-\\[250px\\]{width:250px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-3xl{max-width:48rem}.max-w-14{max-width:3.5rem}.max-w-\\[90vw\\]{max-width:90vw}.max-w-\\[168px\\]{max-width:168px}.max-w-\\[360px\\]{max-width:360px}.max-w-\\[720px\\]{max-width:720px}.max-w-\\[min\\(480px\\,calc\\(100vw-2rem\\)\\)\\]{max-width:min(480px,100vw - 2rem)}.max-w-\\[min\\(calc\\(100vw-2rem\\)\\,560px\\)\\]{max-width:min(100vw - 2rem,560px)}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.min-w-0{min-width:0}.min-w-4{min-width:1rem}.min-w-14{min-width:3.5rem}.min-w-16{min-width:4rem}.min-w-\\[6px\\]{min-width:6px}.min-w-\\[16px\\]{min-width:16px}.min-w-\\[48px\\]{min-width:48px}.min-w-\\[120px\\]{min-width:120px}.min-w-\\[140px\\]{min-width:140px}.min-w-full{min-width:100%}.min-w-max{min-width:max-content}.flex-1{flex:1}.flex-shrink,.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.-translate-x-1{--tw-translate-x:calc(.25rem * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-95{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-\\[ripple_600ms_linear\\]{animation:.6s linear ripple}.animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.cursor-default{cursor:default}.cursor-grabbing{cursor:grabbing}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.touch-pinch-zoom{--tw-pinch-zoom:pinch-zoom;touch-action:var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.resize-x{resize:horizontal}.resize-y{resize:vertical}.appearance-none{appearance:none}.auto-cols-max{grid-auto-columns:max-content}.grid-flow-col{grid-auto-flow:column}.grid-cols-\\[1fr\\]{grid-template-columns:1fr}.grid-cols-\\[auto_1fr\\]{grid-template-columns:auto 1fr}.grid-rows-\\[1fr\\]{grid-template-rows:1fr}.grid-rows-\\[auto_1fr\\]{grid-template-rows:auto 1fr}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.justify-items-stretch{justify-items:stretch}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-\\[8px\\]{gap:8px}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(.25rem * 1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(.25rem * 1) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(.25rem * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(.25rem * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(.25rem * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(.25rem * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(.25rem * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(.25rem * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(.25rem * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(.25rem * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(.25rem * 2) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(.25rem * 2) * calc(1 - var(--tw-space-x-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-visible{overflow:visible}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[8px\\]{border-radius:8px}.rounded-\\[22px\\]{border-radius:22px}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.25rem}.rounded-xl{border-radius:.75rem}.rounded-t-\\[28px\\]{border-top-left-radius:28px;border-top-right-radius:28px}.rounded-t-full{border-top-left-radius:3.40282e38px;border-top-right-radius:3.40282e38px}.rounded-l-full{border-top-left-radius:3.40282e38px;border-bottom-left-radius:3.40282e38px}.rounded-tl-2xl{border-top-left-radius:1rem}.rounded-r-full{border-top-right-radius:3.40282e38px;border-bottom-right-radius:3.40282e38px}.rounded-tr-2xl{border-top-right-radius:1rem}.rounded-b-xl{border-bottom-right-radius:.75rem;border-bottom-left-radius:.75rem}.rounded-br-2xl{border-bottom-right-radius:1rem}.rounded-bl-2xl{border-bottom-left-radius:1rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-1{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-4{border-top-style:var(--tw-border-style);border-top-width:4px}.border-r-4{border-right-style:var(--tw-border-style);border-right-width:4px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-4{border-bottom-style:var(--tw-border-style);border-bottom-width:4px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[var\\(--schmancy-sys-color-outlineVariant\\)\\]{border-color:var(--schmancy-sys-color-outlineVariant)}.border-error-default{border-color:var(--schmancy-sys-color-error-default)}.border-info-default{border-color:var(--schmancy-sys-color-info-default)}.border-outline{border-color:var(--schmancy-sys-color-outline)}.border-outline-variant,.border-outline-variant\\/30{border-color:var(--schmancy-sys-color-outlineVariant)}@supports (color:color-mix(in lab, red, red)){.border-outline-variant\\/30{border-color:color-mix(in oklab, var(--schmancy-sys-color-outlineVariant) 30%, transparent)}}.border-outline\\/20{border-color:var(--schmancy-sys-color-outline)}@supports (color:color-mix(in lab, red, red)){.border-outline\\/20{border-color:color-mix(in oklab, var(--schmancy-sys-color-outline) 20%, transparent)}}.border-outlineVariant{border-color:var(--schmancy-sys-color-outlineVariant)}.border-primary-default{border-color:var(--schmancy-sys-color-primary-default)}.border-secondary-default{border-color:var(--schmancy-sys-color-secondary-default)}.border-success-default{border-color:var(--schmancy-sys-color-success-default)}.border-surface-container{border-color:var(--schmancy-sys-color-surface-container)}.border-surface-default{border-color:var(--schmancy-sys-color-surface-default)}.border-surface-on\\/8{border-color:var(--schmancy-sys-color-surface-on)}@supports (color:color-mix(in lab, red, red)){.border-surface-on\\/8{border-color:color-mix(in oklab, var(--schmancy-sys-color-surface-on) 8%, transparent)}}.border-transparent{border-color:#0000}.border-warning-default{border-color:var(--schmancy-sys-color-warning-default)}.border-white{border-color:#fff}.bg-\\[\\#faf7f2\\]{background-color:#faf7f2}.bg-\\[\\#ff0000\\]{background-color:red}.bg-\\[var\\(--schmancy-sys-color-X\\)\\]{background-color:var(--schmancy-sys-color-X)}.bg-black{background-color:#000}.bg-black\\/95{background-color:oklab(0% none none/.95)}.bg-black\\/\\[0\\.07\\]{background-color:oklab(0% none none/.07)}.bg-error{background-color:var(--schmancy-sys-color-error-default)}.bg-error-container{background-color:var(--schmancy-sys-color-error-container)}.bg-error-default,.bg-error-default\\/70{background-color:var(--schmancy-sys-color-error-default)}@supports (color:color-mix(in lab, red, red)){.bg-error-default\\/70{background-color:color-mix(in oklab, var(--schmancy-sys-color-error-default) 70%, transparent)}}.bg-error\\/70{background-color:var(--schmancy-sys-color-error-default)}@supports (color:color-mix(in lab, red, red)){.bg-error\\/70{background-color:color-mix(in oklab, var(--schmancy-sys-color-error-default) 70%, transparent)}}.bg-info-container{background-color:var(--schmancy-sys-color-info-container)}.bg-info-default{background-color:var(--schmancy-sys-color-info-default)}.bg-outlineVariant{background-color:var(--schmancy-sys-color-outlineVariant)}.bg-primary{background-color:var(--schmancy-sys-color-primary-default)}.bg-primary-container,.bg-primary-container\\/20{background-color:var(--schmancy-sys-color-primary-container)}@supports (color:color-mix(in lab, red, red)){.bg-primary-container\\/20{background-color:color-mix(in oklab, var(--schmancy-sys-color-primary-container) 20%, transparent)}}.bg-primary-default,.bg-primary-default\\/70{background-color:var(--schmancy-sys-color-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-primary-default\\/70{background-color:color-mix(in oklab, var(--schmancy-sys-color-primary-default) 70%, transparent)}}.bg-primary-on{background-color:var(--schmancy-sys-color-primary-on)}.bg-primary-onContainer{background-color:var(--schmancy-sys-color-primary-onContainer)}.bg-primary\\/40{background-color:var(--schmancy-sys-color-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-primary\\/40{background-color:color-mix(in oklab, var(--schmancy-sys-color-primary-default) 40%, transparent)}}.bg-primary\\/70{background-color:var(--schmancy-sys-color-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-primary\\/70{background-color:color-mix(in oklab, var(--schmancy-sys-color-primary-default) 70%, transparent)}}.bg-scrim{background-color:var(--schmancy-sys-color-scrim)}.bg-secondary{background-color:var(--schmancy-sys-color-secondary-default)}.bg-secondary-container{background-color:var(--schmancy-sys-color-secondary-container)}.bg-secondary-default,.bg-secondary-default\\/70{background-color:var(--schmancy-sys-color-secondary-default)}@supports (color:color-mix(in lab, red, red)){.bg-secondary-default\\/70{background-color:color-mix(in oklab, var(--schmancy-sys-color-secondary-default) 70%, transparent)}}.bg-secondary\\/15{background-color:var(--schmancy-sys-color-secondary-default)}@supports (color:color-mix(in lab, red, red)){.bg-secondary\\/15{background-color:color-mix(in oklab, var(--schmancy-sys-color-secondary-default) 15%, transparent)}}.bg-secondary\\/40{background-color:var(--schmancy-sys-color-secondary-default)}@supports (color:color-mix(in lab, red, red)){.bg-secondary\\/40{background-color:color-mix(in oklab, var(--schmancy-sys-color-secondary-default) 40%, transparent)}}.bg-secondary\\/70{background-color:var(--schmancy-sys-color-secondary-default)}@supports (color:color-mix(in lab, red, red)){.bg-secondary\\/70{background-color:color-mix(in oklab, var(--schmancy-sys-color-secondary-default) 70%, transparent)}}.bg-success{background-color:var(--schmancy-sys-color-success-default)}.bg-success-container{background-color:var(--schmancy-sys-color-success-container)}.bg-success-default,.bg-success-default\\/70{background-color:var(--schmancy-sys-color-success-default)}@supports (color:color-mix(in lab, red, red)){.bg-success-default\\/70{background-color:color-mix(in oklab, var(--schmancy-sys-color-success-default) 70%, transparent)}}.bg-success\\/10{background-color:var(--schmancy-sys-color-success-default)}@supports (color:color-mix(in lab, red, red)){.bg-success\\/10{background-color:color-mix(in oklab, var(--schmancy-sys-color-success-default) 10%, transparent)}}.bg-success\\/70{background-color:var(--schmancy-sys-color-success-default)}@supports (color:color-mix(in lab, red, red)){.bg-success\\/70{background-color:color-mix(in oklab, var(--schmancy-sys-color-success-default) 70%, transparent)}}.bg-surface-bright{background-color:var(--schmancy-sys-color-surface-bright)}.bg-surface-container,.bg-surface-container\\/10{background-color:var(--schmancy-sys-color-surface-container)}@supports (color:color-mix(in lab, red, red)){.bg-surface-container\\/10{background-color:color-mix(in oklab, var(--schmancy-sys-color-surface-container) 10%, transparent)}}.bg-surface-container\\/20{background-color:var(--schmancy-sys-color-surface-container)}@supports (color:color-mix(in lab, red, red)){.bg-surface-container\\/20{background-color:color-mix(in oklab, var(--schmancy-sys-color-surface-container) 20%, transparent)}}.bg-surface-container\\/85{background-color:var(--schmancy-sys-color-surface-container)}@supports (color:color-mix(in lab, red, red)){.bg-surface-container\\/85{background-color:color-mix(in oklab, var(--schmancy-sys-color-surface-container) 85%, transparent)}}.bg-surface-containerHigh{background-color:var(--schmancy-sys-color-surface-containerHigh)}.bg-surface-containerHighest{background-color:var(--schmancy-sys-color-surface-containerHighest)}.bg-surface-containerLow{background-color:var(--schmancy-sys-color-surface-containerLow)}.bg-surface-containerLowest{background-color:var(--schmancy-sys-color-surface-containerLowest)}.bg-surface-default{background-color:var(--schmancy-sys-color-surface-default)}.bg-surface-dim{background-color:var(--schmancy-sys-color-surface-dim)}.bg-surface-high{background-color:var(--schmancy-sys-color-surface-high)}.bg-surface-highest{background-color:var(--schmancy-sys-color-surface-highest)}.bg-surface-low{background-color:var(--schmancy-sys-color-surface-low)}.bg-surface-lowest,.bg-surface-lowest\\/55{background-color:var(--schmancy-sys-color-surface-lowest)}@supports (color:color-mix(in lab, red, red)){.bg-surface-lowest\\/55{background-color:color-mix(in oklab, var(--schmancy-sys-color-surface-lowest) 55%, transparent)}}.bg-surface-on{background-color:var(--schmancy-sys-color-surface-on)}.bg-surface\\/70{background-color:var(--schmancy-sys-color-surface-default)}@supports (color:color-mix(in lab, red, red)){.bg-surface\\/70{background-color:color-mix(in oklab, var(--schmancy-sys-color-surface-default) 70%, transparent)}}.bg-tertiary,.bg-tertiary-default,.bg-tertiary-default\\/70{background-color:var(--schmancy-sys-color-tertiary-default)}@supports (color:color-mix(in lab, red, red)){.bg-tertiary-default\\/70{background-color:color-mix(in oklab, var(--schmancy-sys-color-tertiary-default) 70%, transparent)}}.bg-tertiary\\/40{background-color:var(--schmancy-sys-color-tertiary-default)}@supports (color:color-mix(in lab, red, red)){.bg-tertiary\\/40{background-color:color-mix(in oklab, var(--schmancy-sys-color-tertiary-default) 40%, transparent)}}.bg-tertiary\\/70{background-color:var(--schmancy-sys-color-tertiary-default)}@supports (color:color-mix(in lab, red, red)){.bg-tertiary\\/70{background-color:color-mix(in oklab, var(--schmancy-sys-color-tertiary-default) 70%, transparent)}}.bg-transparent{background-color:#0000}.bg-warning{background-color:var(--schmancy-sys-color-warning-default)}.bg-warning-container{background-color:var(--schmancy-sys-color-warning-container)}.bg-warning-default,.bg-warning\\/70{background-color:var(--schmancy-sys-color-warning-default)}@supports (color:color-mix(in lab, red, red)){.bg-warning\\/70{background-color:color-mix(in oklab, var(--schmancy-sys-color-warning-default) 70%, transparent)}}.bg-white\\/15{background-color:oklab(100% 0 5.96046e-8/.15)}.bg-white\\/20{background-color:oklab(100% 0 5.96046e-8/.2)}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-r{--tw-gradient-position:to right}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-r{--tw-gradient-position:to right in oklab}}.bg-linear-to-r{background-image:linear-gradient(var(--tw-gradient-stops))}.from-surface-on\\/20{--tw-gradient-from:var(--schmancy-sys-color-surface-on)}@supports (color:color-mix(in lab, red, red)){.from-surface-on\\/20{--tw-gradient-from:color-mix(in oklab, var(--schmancy-sys-color-surface-on) 20%, transparent)}}.from-surface-on\\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-transparent{--tw-gradient-from:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.via-primary-default\\/40{--tw-gradient-via:var(--schmancy-sys-color-primary-default)}@supports (color:color-mix(in lab, red, red)){.via-primary-default\\/40{--tw-gradient-via:color-mix(in oklab, var(--schmancy-sys-color-primary-default) 40%, transparent)}}.via-primary-default\\/40{--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-0\\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\\.5{padding:.375rem}.p-2{padding:.5rem}.p-2\\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-12{padding:3rem}.px-1{padding-inline:.25rem}.px-1\\.5{padding-inline:.375rem}.px-2{padding-inline:.5rem}.px-2\\.5{padding-inline:.625rem}.px-3{padding-inline:.75rem}.px-4{padding-inline:1rem}.px-5{padding-inline:1.25rem}.px-6{padding-inline:1.5rem}.px-7{padding-inline:1.75rem}.py-0\\.75{padding-block:.1875rem}.py-1{padding-block:.25rem}.py-1\\.5{padding-block:.375rem}.py-2{padding-block:.5rem}.py-2\\.5{padding-block:.625rem}.py-3{padding-block:.75rem}.py-4{padding-block:1rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pt-8{padding-top:2rem}.pt-10{padding-top:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pb-6{padding-bottom:1.5rem}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--schmancy-font-family), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace}.text-2xl{font-size:1.5rem;line-height:var(--tw-leading,calc(2 / 1.5))}.text-4xl{font-size:2.25rem;line-height:var(--tw-leading,calc(2.5 / 2.25))}.text-base{font-size:1rem;line-height:var(--tw-leading,calc(1.5 / 1))}.text-lg{font-size:1.125rem;line-height:var(--tw-leading,calc(1.75 / 1.125))}.text-sm{font-size:.875rem;line-height:var(--tw-leading,calc(1.25 / .875))}.text-xl{font-size:1.25rem;line-height:var(--tw-leading,calc(1.75 / 1.25))}.text-xs{font-size:.75rem;line-height:var(--tw-leading,calc(1 / .75))}.text-\\[8px\\]{font-size:8px}.text-\\[10px\\]{font-size:10px}.text-\\[18px\\]{font-size:18px}.leading-3{--tw-leading:calc(.25rem * 3);line-height:.75rem}.leading-4{--tw-leading:calc(.25rem * 4);line-height:1rem}.leading-5{--tw-leading:calc(.25rem * 5);line-height:1.25rem}.leading-6{--tw-leading:calc(.25rem * 6);line-height:1.5rem}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:1.25;line-height:1.25}.font-bold{--tw-font-weight:700;font-weight:700}.font-medium{--tw-font-weight:500;font-weight:500}.font-semibold{--tw-font-weight:600;font-weight:600}.tracking-\\[0\\.01em\\]{--tw-tracking:.01em;letter-spacing:.01em}.tracking-\\[0\\.1px\\]{--tw-tracking:.1px;letter-spacing:.1px}.tracking-wide{--tw-tracking:.025em;letter-spacing:.025em}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-\\[\\#000\\]{color:#000}.text-error,.text-error-default{color:var(--schmancy-sys-color-error-default)}.text-error-on{color:var(--schmancy-sys-color-error-on)}.text-error-onContainer{color:var(--schmancy-sys-color-error-onContainer)}.text-info-default{color:var(--schmancy-sys-color-info-default)}.text-info-on{color:var(--schmancy-sys-color-info-on)}.text-info-onContainer{color:var(--schmancy-sys-color-info-onContainer)}.text-primary-container{color:var(--schmancy-sys-color-primary-container)}.text-primary-default{color:var(--schmancy-sys-color-primary-default)}.text-primary-on{color:var(--schmancy-sys-color-primary-on)}.text-primary-onContainer{color:var(--schmancy-sys-color-primary-onContainer)}.text-secondary-default{color:var(--schmancy-sys-color-secondary-default)}.text-secondary-on{color:var(--schmancy-sys-color-secondary-on)}.text-secondary-onContainer{color:var(--schmancy-sys-color-secondary-onContainer)}.text-success,.text-success-default{color:var(--schmancy-sys-color-success-default)}.text-success-on{color:var(--schmancy-sys-color-success-on)}.text-success-on-container,.text-success-onContainer{color:var(--schmancy-sys-color-success-onContainer)}.text-surface-on{color:var(--schmancy-sys-color-surface-on)}.text-surface-on-variant{color:var(--schmancy-sys-color-surface-onVariant)}.text-surface-on\\/40{color:var(--schmancy-sys-color-surface-on)}@supports (color:color-mix(in lab, red, red)){.text-surface-on\\/40{color:color-mix(in oklab, var(--schmancy-sys-color-surface-on) 40%, transparent)}}.text-surface-onVariant{color:var(--schmancy-sys-color-surface-onVariant)}.text-tertiary-default{color:var(--schmancy-sys-color-tertiary-default)}.text-tertiary-on{color:var(--schmancy-sys-color-tertiary-on)}.text-warning-default{color:var(--schmancy-sys-color-warning-default)}.text-warning-on{color:var(--schmancy-sys-color-warning-on)}.text-warning-onContainer{color:var(--schmancy-sys-color-warning-onContainer)}.text-white{color:#fff}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.caret-transparent{caret-color:#0000}.opacity-0{opacity:0}.opacity-1{opacity:.01}.opacity-30{opacity:.3}.opacity-38{opacity:.38}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-85{opacity:.85}.opacity-100{opacity:1}.opacity-\\[0\\.12\\]{opacity:.12}.opacity-\\[0\\.38\\]{opacity:.38}.opacity-\\[var\\(--schmancy-sys-state-disabled-opacity\\)\\]{opacity:var(--schmancy-sys-state-disabled-opacity)}.opacity-\\[var\\(--schmancy-sys-state-pressed-opacity\\)\\]{opacity:var(--schmancy-sys-state-pressed-opacity)}.shadow-1{--tw-shadow:var(--schmancy-sys-elevation-1);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_0_20px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{--tw-shadow:0 0 20px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[inset_0_1px_1px_0_rgba\\(255\\,255\\,255\\,0\\.2\\)\\]{--tw-shadow:inset 0 1px 1px 0 var(--tw-shadow-color,#fff3);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[inset_0_1px_2px_0_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{--tw-shadow:inset 0 1px 2px 0 var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-overlay{--tw-shadow:0 1px 2px var(--tw-shadow-color,#00000014), 0 28px 60px -20px var(--tw-shadow-color,#00000073), inset 0 1px 0 0 var(--tw-shadow-color,var(--schmancy-sys-color-surface-on))}@supports (color:color-mix(in lab, red, red)){.shadow-overlay{--tw-shadow:0 1px 2px var(--tw-shadow-color,#00000014), 0 28px 60px -20px var(--tw-shadow-color,#00000073), inset 0 1px 0 0 var(--tw-shadow-color,color-mix(in srgb, var(--schmancy-sys-color-surface-on) 8%, transparent))}}.shadow-overlay{box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-overlay-anchored{--tw-shadow:0 1px 2px var(--tw-shadow-color,#00000014), 0 12px 28px -12px var(--tw-shadow-color,#00000059), inset 0 1px 0 0 var(--tw-shadow-color,var(--schmancy-sys-color-surface-on))}@supports (color:color-mix(in lab, red, red)){.shadow-overlay-anchored{--tw-shadow:0 1px 2px var(--tw-shadow-color,#00000014), 0 12px 28px -12px var(--tw-shadow-color,#00000059), inset 0 1px 0 0 var(--tw-shadow-color,color-mix(in srgb, var(--schmancy-sys-color-surface-on) 8%, transparent))}}.shadow-overlay-anchored{box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-error-default{--tw-ring-color:var(--schmancy-sys-color-error-default)}.ring-primary{--tw-ring-color:var(--schmancy-sys-color-primary-default)}.ring-secondary-default{--tw-ring-color:var(--schmancy-sys-color-secondary-default)}.ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-secondary-default{outline-color:var(--schmancy-sys-color-secondary-default)}.brightness-110{--tw-brightness:brightness(110%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\\[16px\\]{--tw-backdrop-blur:blur(16px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-md{--tw-backdrop-blur:blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(24px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-xs{--tw-backdrop-blur:blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-brightness-105{--tw-backdrop-brightness:brightness(105%);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-saturate-150{--tw-backdrop-saturate:saturate(150%);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.duration-75{--tw-duration:75ms;transition-duration:75ms}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in{--tw-ease:cubic-bezier(.4, 0, 1, 1);transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{--tw-ease:cubic-bezier(.4, 0, .2, 1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{--tw-ease:linear;transition-timing-function:linear}.ease-out{--tw-ease:cubic-bezier(0, 0, .2, 1);transition-timing-function:cubic-bezier(0,0,.2,1)}.will-change-\\[clip-path\\]{will-change:clip-path}.will-change-\\[opacity\\]{will-change:opacity}.will-change-transform{will-change:transform}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\\:scale-110:is(:where(.group):hover *){--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\\:scale-125:is(:where(.group):hover *){--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\\:border-primary-default:is(:where(.group):hover *){border-color:var(--schmancy-sys-color-primary-default)}.group-hover\\:bg-primary-container:is(:where(.group):hover *){background-color:var(--schmancy-sys-color-primary-container)}.group-hover\\:bg-primary-default:is(:where(.group):hover *){background-color:var(--schmancy-sys-color-primary-default)}.group-hover\\:bg-surface-containerHighest:is(:where(.group):hover *){background-color:var(--schmancy-sys-color-surface-containerHighest)}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.group-hover\\:shadow-lg:is(:where(.group):hover *){--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:top-1\\/2:before{content:var(--tw-content);top:50%}.before\\:left-1\\/2:before{content:var(--tw-content);left:50%}.before\\:h-0:before{content:var(--tw-content);height:0}.before\\:h-\\[200\\%\\]:before{content:var(--tw-content);height:200%}.before\\:w-0:before{content:var(--tw-content);width:0}.before\\:w-\\[200\\%\\]:before{content:var(--tw-content);width:200%}.before\\:-translate-x-1\\/2:before{content:var(--tw-content);--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.before\\:-translate-y-1\\/2:before{content:var(--tw-content);--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.before\\:rounded-full:before{content:var(--tw-content);border-radius:3.40282e38px}.before\\:bg-current:before{content:var(--tw-content);background-color:currentColor}.before\\:opacity-0:before{content:var(--tw-content);opacity:0}.before\\:opacity-12:before{content:var(--tw-content);opacity:.12}.before\\:transition-all:before{content:var(--tw-content);transition-property:all;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.before\\:duration-300:before{content:var(--tw-content);--tw-duration:.3s;transition-duration:.3s}.before\\:content-\\[\\\"\\\"\\]:before{--tw-content:\"\";content:var(--tw-content)}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:right-3:after{content:var(--tw-content);right:.75rem}.after\\:bottom-\\[-4px\\]:after{content:var(--tw-content);bottom:-4px}.after\\:left-3:after{content:var(--tw-content);left:.75rem}.after\\:h-px:after{content:var(--tw-content);height:1px}.after\\:bg-outline-variant:after{content:var(--tw-content);background-color:var(--schmancy-sys-color-outlineVariant)}.after\\:opacity-12:after{content:var(--tw-content);opacity:.12}.focus-within\\:ring-1:focus-within{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-within\\:ring-error-default:focus-within{--tw-ring-color:var(--schmancy-sys-color-error-default)}.focus-within\\:ring-secondary-default:focus-within{--tw-ring-color:var(--schmancy-sys-color-secondary-default)}.focus-within\\:ring-inset:focus-within{--tw-ring-inset:inset}@media (hover:hover){.hover\\:z-\\[100\\]:hover{z-index:100}.hover\\:translate-x-0:hover{--tw-translate-x:calc(.25rem * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.hover\\:-translate-y-px:hover{--tw-translate-y:-1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:scale-\\[1\\.02\\]:hover{scale:1.02}.hover\\:border-outlineVariant:hover{border-color:var(--schmancy-sys-color-outlineVariant)}.hover\\:bg-error-container:hover{background-color:var(--schmancy-sys-color-error-container)}.hover\\:bg-error-default:hover{background-color:var(--schmancy-sys-color-error-default)}.hover\\:bg-error-on:hover{background-color:var(--schmancy-sys-color-error-on)}.hover\\:bg-info-container:hover{background-color:var(--schmancy-sys-color-info-container)}.hover\\:bg-info-default:hover{background-color:var(--schmancy-sys-color-info-default)}.hover\\:bg-info-on:hover{background-color:var(--schmancy-sys-color-info-on)}.hover\\:bg-primary-container:hover{background-color:var(--schmancy-sys-color-primary-container)}.hover\\:bg-primary-default:hover{background-color:var(--schmancy-sys-color-primary-default)}.hover\\:bg-primary-on:hover{background-color:var(--schmancy-sys-color-primary-on)}.hover\\:bg-secondary-container:hover{background-color:var(--schmancy-sys-color-secondary-container)}.hover\\:bg-secondary-default:hover{background-color:var(--schmancy-sys-color-secondary-default)}.hover\\:bg-secondary-on:hover{background-color:var(--schmancy-sys-color-secondary-on)}.hover\\:bg-success-container:hover{background-color:var(--schmancy-sys-color-success-container)}.hover\\:bg-success-default:hover{background-color:var(--schmancy-sys-color-success-default)}.hover\\:bg-success-on:hover{background-color:var(--schmancy-sys-color-success-on)}.hover\\:bg-surface-containerHigh:hover{background-color:var(--schmancy-sys-color-surface-containerHigh)}.hover\\:bg-surface-containerHighest:hover{background-color:var(--schmancy-sys-color-surface-containerHighest)}.hover\\:bg-surface-containerLow:hover{background-color:var(--schmancy-sys-color-surface-containerLow)}.hover\\:bg-surface-high:hover{background-color:var(--schmancy-sys-color-surface-high)}.hover\\:bg-surface-on:hover,.hover\\:bg-surface-on\\/5:hover{background-color:var(--schmancy-sys-color-surface-on)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-surface-on\\/5:hover{background-color:color-mix(in oklab, var(--schmancy-sys-color-surface-on) 5%, transparent)}}.hover\\:bg-surface-onVariant:hover{background-color:var(--schmancy-sys-color-surface-onVariant)}.hover\\:bg-warning-container:hover{background-color:var(--schmancy-sys-color-warning-container)}.hover\\:bg-warning-default:hover{background-color:var(--schmancy-sys-color-warning-default)}.hover\\:bg-warning-on:hover{background-color:var(--schmancy-sys-color-warning-on)}.hover\\:bg-white\\/25:hover{background-color:oklab(100% 0 5.96046e-8/.25)}.hover\\:bg-white\\/30:hover{background-color:oklab(100% 0 5.96046e-8/.3)}.hover\\:text-surface-on:hover{color:var(--schmancy-sys-color-surface-on)}.hover\\:opacity-80:hover{opacity:.8}.hover\\:opacity-100:hover{opacity:1}.hover\\:opacity-\\[0\\.08\\]:hover{opacity:.08}.hover\\:opacity-\\[var\\(--schmancy-sys-state-hover-opacity\\)\\]:hover{opacity:var(--schmancy-sys-state-hover-opacity)}.hover\\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:shadow-sm:hover{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:shadow-xs:hover{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:brightness-95:hover{--tw-brightness:brightness(95%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.hover\\:brightness-\\[0\\.92\\]:hover{--tw-brightness:brightness(.92);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.hover\\:brightness-\\[0\\.98\\]:hover{--tw-brightness:brightness(.98);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.focus\\:border-secondary-default:focus{border-color:var(--schmancy-sys-color-secondary-default)}.focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\\:ring-error-default:focus{--tw-ring-color:var(--schmancy-sys-color-error-default)}.focus\\:ring-primary-container:focus{--tw-ring-color:var(--schmancy-sys-color-primary-container)}.focus\\:ring-secondary-default:focus{--tw-ring-color:var(--schmancy-sys-color-secondary-default)}.focus\\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus\\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus\\:outline-1:focus{outline-style:var(--tw-outline-style);outline-width:1px}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus\\:ring-inset:focus{--tw-ring-inset:inset}.focus-visible\\:z-1:focus-visible{z-index:1}.focus-visible\\:opacity-\\[0\\.10\\]:focus-visible{opacity:.1}.focus-visible\\:opacity-\\[var\\(--schmancy-sys-state-focus-opacity\\)\\]:focus-visible{opacity:var(--schmancy-sys-state-focus-opacity)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-primary-default\\/50:focus-visible{--tw-ring-color:var(--schmancy-sys-color-primary-default)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-primary-default\\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--schmancy-sys-color-primary-default) 50%, transparent)}}.focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:outline:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\\:outline-offset-0:focus-visible{outline-offset:0px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-primary:focus-visible,.focus-visible\\:outline-primary-default:focus-visible{outline-color:var(--schmancy-sys-color-primary-default)}.focus-visible\\:outline-solid:focus-visible{--tw-outline-style:solid;outline-style:solid}.active\\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.active\\:bg-surface-on\\/8:active{background-color:var(--schmancy-sys-color-surface-on)}@supports (color:color-mix(in lab, red, red)){.active\\:bg-surface-on\\/8:active{background-color:color-mix(in oklab, var(--schmancy-sys-color-surface-on) 8%, transparent)}}.active\\:opacity-\\[0\\.10\\]:active{opacity:.1}.active\\:brightness-90:active{--tw-brightness:brightness(90%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.active\\:brightness-\\[0\\.85\\]:active{--tw-brightness:brightness(.85);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-40:disabled{opacity:.4}@media (prefers-reduced-motion:reduce){.motion-reduce\\:hidden{display:none}}@media (width>=40rem){.sm\\:top-2{top:.5rem}.sm\\:right-2{right:.5rem}.sm\\:bottom-\\[-3rem\\]{bottom:-3rem}.sm\\:left-4{left:1rem}.sm\\:-mx-2{margin-inline:-.5rem}.sm\\:mt-1{margin-top:.25rem}.sm\\:mt-4{margin-top:1rem}.sm\\:ml-6{margin-left:1.5rem}.sm\\:ml-10{margin-left:2.5rem}.sm\\:h-5{height:1.25rem}.sm\\:h-12{height:3rem}.sm\\:min-h-\\[40px\\]{min-height:40px}.sm\\:w-5{width:1.25rem}.sm\\:px-2{padding-inline:.5rem}.sm\\:px-3{padding-inline:.75rem}.sm\\:py-2{padding-block:.5rem}.sm\\:py-3{padding-block:.75rem}.sm\\:pb-8{padding-bottom:2rem}.sm\\:text-3xl{font-size:1.875rem;line-height:var(--tw-leading,calc(2.25 / 1.875))}}@media (width>=48rem){.md\\:top-4{top:1rem}.md\\:right-4{right:1rem}.md\\:bottom-\\[-3\\.5rem\\]{bottom:-3.5rem}.md\\:text-4xl{font-size:2.25rem;line-height:var(--tw-leading,calc(2.5 / 2.25))}.md\\:text-base{font-size:1rem;line-height:var(--tw-leading,calc(1.5 / 1))}}@media (width>=64rem){.lg\\:flex{display:flex}.lg\\:hidden{display:none}.lg\\:text-lg{font-size:1.125rem;line-height:var(--tw-leading,calc(1.75 / 1.125))}}.\\[\\&\\>\\.ripple\\]\\:scale-100>.ripple{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}}@layer schmancy.tokens;@layer schmancy.base{:host,:root{font-family:var(--schmancy-font-family);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:host,:root{--lightningcss-light: ;--lightningcss-dark:initial}}:host,:host *,*{touch-action:pan-x pan-y}.interactive{transition:transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .4s,filter .2s}.interactive:hover{filter:brightness(1.03);box-shadow:0 4px 20px -6px var(--schmancy-sys-color-primary-default);transform:translateY(-1px)}@supports (color:color-mix(in lab, red, red)){.interactive:hover{box-shadow:0 4px 20px -6px color-mix(in srgb, var(--schmancy-sys-color-primary-default) 18%, transparent)}}.interactive:active{filter:brightness(.96);box-shadow:none;transition-duration:.1s;transform:scale(.97)}@media (prefers-reduced-motion:reduce){.interactive{transition:filter .15s}.interactive:hover{box-shadow:none;transform:none}.interactive:active{transform:none}}}@layer schmancy.components;@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-pan-x{syntax:\"*\";inherits:false}@property --tw-pan-y{syntax:\"*\";inherits:false}@property --tw-pinch-zoom{syntax:\"*\";inherits:false}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:\"*\";inherits:false}@property --tw-gradient-from{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:\"*\";inherits:false}@property --tw-gradient-via-stops{syntax:\"*\";inherits:false}@property --tw-gradient-from-position{syntax:\"<length-percentage>\";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:\"<length-percentage>\";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:\"<length-percentage>\";inherits:false;initial-value:100%}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@property --tw-content{syntax:\"*\";inherits:false;initial-value:\"\"}@keyframes pulse{50%{opacity:.5}}"), ai = Symbol.for("schmancy.state.activeHost.stack"), oi = globalThis;
2478
- oi[ai] ??= { stack: [void 0] };
2479
- var H = oi[ai].stack;
2480
- if (typeof Promise < "u" && !("i" in Promise.prototype)) {
2481
- Object.defineProperty(Promise.prototype, "i", {
2482
- value: !0,
2483
- configurable: !1,
2484
- enumerable: !1,
2485
- writable: !1
2486
- });
2487
- let e = Promise.prototype.then;
2488
- Promise.prototype.then = function(t, n) {
2489
- let r = H[H.length - 1], i = t && ((e) => {
2490
- H.push(r);
2491
- try {
2492
- return t(e);
2493
- } finally {
2494
- H.pop();
2495
- }
2496
- }), a = n && ((e) => {
2497
- H.push(r);
2498
- try {
2499
- return n(e);
2500
- } finally {
2501
- H.pop();
2502
- }
2503
- });
2504
- return e.call(this, i, a);
2505
- };
2506
- }
2507
- var si = {
2508
- run(e, t) {
2509
- H.push(e);
2510
- try {
2511
- return t();
2512
- } finally {
2513
- H.pop();
2514
- }
2515
- },
2516
- get: () => H[H.length - 1]
2517
- }, ci = Symbol.for("schmancy.state.activeHost.eventHost"), U = globalThis[ci] ??= {
2518
- host: void 0,
2519
- scheduled: !1
2520
- };
2521
- function li(e) {
2522
- U.host = e, U.scheduled || (U.scheduled = !0, queueMicrotask(() => {
2523
- U.scheduled = !1, U.host = void 0;
2524
- }));
2525
- }
2526
- function ui() {
2527
- let e = si.get();
2528
- return e === void 0 ? U.host === void 0 ? typeof document < "u" && document.activeElement instanceof HTMLElement ? document.activeElement : void 0 : U.host : e;
2529
- }
2530
- function di(e) {
2531
- return Symbol.for(`schmancy.state:${e}`);
2532
- }
2533
- var fi = function(e) {
2534
- return !0 === e[Nr] ? e : class extends e {
2535
- constructor() {
2536
- super(...arguments), this._$St = /* @__PURE__ */ new Map(), this._$So = new B.State(0), this._$Si = !1;
2537
- }
2538
- _$Sl() {
2539
- var e;
2540
- let t = [], n = [];
2541
- this._$St.forEach((e, r) => {
2542
- (e?.beforeUpdate ? t : n).push(r);
2543
- });
2544
- let r = this.h?.getPending().filter((e) => e !== this._$Su && !this._$St.has(e));
2545
- t.forEach((e) => e.get()), (e = this._$Su) == null || e.get(), r.forEach((e) => e.get()), n.forEach((e) => e.get());
2546
- }
2547
- _$Sv() {
2548
- this.isUpdatePending || queueMicrotask(() => {
2549
- this.isUpdatePending || this._$Sl();
2550
- });
2551
- }
2552
- _$S_() {
2553
- if (this.h !== void 0) return;
2554
- this._$Su = new B.Computed(() => {
2555
- this._$So.get(), super.performUpdate();
2556
- });
2557
- let e = this.h = new B.subtle.Watcher(function() {
2558
- let e = Fr.get(this);
2559
- e !== void 0 && (!1 === e._$Si && (new Set(this.getPending()).has(e._$Su) ? e.requestUpdate() : e._$Sv()), this.watch());
2560
- });
2561
- Fr.set(e, this), Pr.register(this, e), e.watch(this._$Su), e.watch(...Array.from(this._$St).map(([e]) => e));
2562
- }
2563
- _$Sp() {
2564
- if (this.h === void 0) return;
2565
- let e = !1;
2566
- this.h.unwatch(...B.subtle.introspectSources(this.h).filter((t) => {
2567
- let n = !0 !== this._$St.get(t)?.manualDispose;
2568
- return n && this._$St.delete(t), e ||= !n, n;
2569
- })), e || (this._$Su = void 0, this.h = void 0, this._$St.clear());
2570
- }
2571
- updateEffect(e, t) {
2572
- var n;
2573
- this._$S_();
2574
- let r = new B.Computed(() => {
2575
- e();
2576
- });
2577
- return this.h.watch(r), this._$St.set(r, t), (n = t?.beforeUpdate) != null && n ? B.subtle.untrack(() => r.get()) : this.updateComplete.then(() => B.subtle.untrack(() => r.get())), () => {
2578
- this._$St.delete(r), this.h.unwatch(r), !1 === this.isConnected && this._$Sp();
2579
- };
2580
- }
2581
- performUpdate() {
2582
- this.isUpdatePending && (this._$S_(), this._$Si = !0, this._$So.set(this._$So.get() + 1), this._$Si = !1, this._$Sl());
2583
- }
2584
- connectedCallback() {
2585
- super.connectedCallback(), this.requestUpdate();
2586
- }
2587
- disconnectedCallback() {
2588
- super.disconnectedCallback(), queueMicrotask(() => {
2589
- !1 === this.isConnected && this._$Sp();
2590
- });
2591
- }
2592
- };
2593
- }(((e) => {
2594
- class t extends e {
2595
- constructor(...e) {
2596
- super(...e), this.disconnecting = new ke();
2597
- }
2598
- get locale() {
2599
- return this._theme?.locale ?? (typeof navigator < "u" ? navigator.language : "de-DE");
2600
- }
2601
- get stableId() {
2602
- if (this._stableId) return this._stableId;
2603
- let e = [];
2604
- for (let t = this; t?.parentElement && e.length < 5; t = t.parentElement) {
2605
- let n = t.tagName.toLowerCase(), r = Array.from(t.parentElement.children).filter((e) => e.tagName === t.tagName);
2606
- e.unshift(r.length > 1 ? `${n}:nth-of-type(${r.indexOf(t) + 1})` : n);
2607
- }
2608
- let t = Array.from(e.join(">")).reduce((e, t) => Math.imul(31, e) + t.charCodeAt(0) | 0, 0);
2609
- return this._stableId = `el-${Math.abs(t).toString(36)}`;
2610
- }
2611
- get uid() {
2612
- return this.getAttribute("uid") || (this._uid ||= `el-${crypto.randomUUID()}`, this._uid);
2613
- }
2614
- set uid(e) {
2615
- e ? this.setAttribute("uid", e) : this.removeAttribute("uid");
2616
- }
2617
- dispatchScopedEvent(e, t, n = {}) {
2618
- let { bubbles: r = !1, composed: i = !0 } = n;
2619
- this.dispatchEvent(new CustomEvent(`${e}::${this.uid}`, {
2620
- detail: t,
2621
- bubbles: r,
2622
- composed: i
2623
- })), this.dispatchEvent(new CustomEvent(e, {
2624
- detail: t,
2625
- bubbles: r,
2626
- composed: i
2627
- }));
2628
- }
2629
- classMap(e) {
2630
- let t = {};
2631
- return Object.keys(e).forEach((n) => {
2632
- n.trim().split(" ").filter(Boolean).forEach((r) => {
2633
- t[r] = e[n];
2634
- });
2635
- }), fn(t);
2636
- }
2637
- styleMap(e) {
2638
- return hn(e);
2639
- }
2640
- connectedCallback() {
2641
- super.connectedCallback(), this.setupDiscoveryResponse();
2642
- }
2643
- setupDiscoveryResponse() {
2644
- let e = this.tagName.toLowerCase(), t = `${e}-here-i-am`;
2645
- C(window, `${e}-where-are-you`).pipe(T(this.disconnecting)).subscribe(() => {
2646
- window.dispatchEvent(new CustomEvent(t, {
2647
- detail: { component: this },
2648
- bubbles: !0,
2649
- composed: !0
2650
- }));
2651
- }), C(window, "schmancy-discover").pipe(T(this.disconnecting)).subscribe(({ detail: { selector: e, requestId: t } }) => {
2652
- let n = null;
2653
- if (e.startsWith("#")) {
2654
- let t = e.slice(1);
2655
- this.id !== t && this.uid !== t || (n = this);
2656
- }
2657
- !n && this.shadowRoot && (n = this.shadowRoot.querySelector(e)), n && window.dispatchEvent(new CustomEvent("schmancy-discover-response", {
2658
- detail: {
2659
- requestId: t,
2660
- element: n
2661
- },
2662
- bubbles: !0,
2663
- composed: !0
2664
- }));
2665
- });
2666
- }
2667
- discover(e) {
2668
- return gn(e);
2669
- }
2670
- disconnectedCallback() {
2671
- this.disconnecting.next(!0), this.disconnecting.complete(), super.disconnectedCallback();
2672
- }
2673
- }
2674
- return P([wn({
2675
- context: Tn,
2676
- subscribe: !0
2677
- })], t.prototype, "_theme", void 0), t;
2678
- })(R));
2679
- function pi(e) {
2680
- return e === "constructor" || !!e.startsWith("_$");
2681
- }
2682
- var mi = /* @__PURE__ */ new WeakSet(), hi = /* @__PURE__ */ new WeakMap(), gi = class extends fi {
2683
- constructor() {
2684
- super(), this._abortController = new AbortController(), this.disconnectedSignal = this._abortController.signal, function(e) {
2685
- let t = e.prototype;
2686
- for (; t && t !== HTMLElement.prototype && !mi.has(t);) {
2687
- mi.add(t);
2688
- let e = Object.getOwnPropertyDescriptors(t);
2689
- for (let [n, r] of Object.entries(e)) {
2690
- if (pi(n) || typeof r.value != "function" || !r.configurable) continue;
2691
- let e = r.value;
2692
- Object.defineProperty(t, n, {
2693
- ...r,
2694
- value: function(...t) {
2695
- return si.run(this, () => e.apply(this, t));
2696
- }
2697
- });
2698
- }
2699
- t = Object.getPrototypeOf(t);
2700
- }
2701
- }(this.constructor);
2702
- }
2703
- static finalizeStyles(e) {
2704
- return [...super.finalizeStyles(e), ii];
2705
- }
2706
- addEventListener(e, t, n) {
2707
- t == null ? super.addEventListener(e, t, n) : super.addEventListener(e, function(e, t) {
2708
- let n = hi.get(t);
2709
- if (n) return n;
2710
- let r = function(n) {
2711
- si.run(e, () => {
2712
- typeof t == "function" ? t.call(this, n) : t.handleEvent(n);
2713
- });
2714
- };
2715
- return hi.set(t, r), r;
2716
- }(this, t), n);
2717
- }
2718
- removeEventListener(e, t, n) {
2719
- if (t == null) return void super.removeEventListener(e, t, n);
2720
- let r = hi.get(t);
2721
- super.removeEventListener(e, r ?? t, n);
2722
- }
2723
- disconnectedCallback() {
2724
- this._abortController.abort(), super.disconnectedCallback();
2725
- }
2726
- }, _i = Symbol.for("schmancy.form-field"), vi = "schmancy:field:connect";
2727
- function yi(e) {
2728
- class t extends e {
2729
- static {
2730
- this.formAssociated = !0;
2731
- }
2732
- static {
2733
- this[_i] = !0;
2734
- }
2735
- get dirty() {
2736
- return this._defaultValue !== void 0 && this.value !== this._defaultValue;
2737
- }
2738
- get pristine() {
2739
- return !this.dirty;
2740
- }
2741
- markTouched() {
2742
- this.touched ||= !0;
2743
- }
2744
- markSubmitted() {
2745
- this.submitted ||= !0;
2746
- }
2747
- clearSubmitted() {
2748
- this.submitted &&= !1;
2749
- }
2750
- async runAsyncValidator(e) {
2751
- this.isValidating && this._asyncValidatorEpoch++;
2752
- let t = ++this._asyncValidatorEpoch;
2753
- this.isValidating = !0;
2754
- try {
2755
- let n = await e();
2756
- if (t !== this._asyncValidatorEpoch) return;
2757
- this.setCustomValidity(n);
2758
- } finally {
2759
- t === this._asyncValidatorEpoch && (this.isValidating = !1);
2760
- }
2761
- }
2762
- _shouldShowError() {
2763
- if (this.submitted) return !0;
2764
- switch (this.validateOn) {
2765
- case "always": return !0;
2766
- case "touched": return this.touched;
2767
- case "dirty": return this.dirty;
2768
- case "submitted": return !1;
2769
- case "length":
2770
- if (typeof this.value == "string") {
2771
- let e = this.maxlength;
2772
- if (typeof e == "number" && e > 0) return this.value.length >= e;
2773
- }
2774
- return this.dirty;
2775
- }
2776
- }
2777
- constructor(...e) {
2778
- super(...e), this._defaultValue = void 0, this.name = "", this.value = "", this.label = "", this.required = !1, this.disabled = !1, this.readonly = !1, this.error = !1, this.validationMessage = "", this.id = `schmancy-field-${Date.now()}-${Math.floor(1e3 * Math.random())}`, this.touched = !1, this.submitted = !1, this.validateOn = "dirty", this.isValidating = !1, this._asyncValidatorEpoch = 0;
2779
- try {
2780
- this.internals = this.attachInternals();
2781
- } catch {
2782
- this.internals = void 0;
2783
- }
2784
- }
2785
- connectedCallback() {
2786
- super.connectedCallback(), this.dispatchEvent(new CustomEvent(vi, {
2787
- detail: this,
2788
- bubbles: !0,
2789
- composed: !0
2790
- }));
2791
- }
2792
- get form() {
2793
- return this.internals?.form ?? null;
2794
- }
2795
- firstUpdated(e) {
2796
- super.firstUpdated?.(e), this._defaultValue === void 0 && (this._defaultValue = this.value), this.checkValidity();
2797
- }
2798
- willUpdate(e) {
2799
- super.willUpdate(e), e.has("value") && (this.internals?.setFormValue(this.value), this.dirty ? this.internals?.states.add("dirty") : this.internals?.states.delete("dirty"), this.checkValidity()), (e.has("required") || e.has("disabled")) && this.checkValidity(), e.has("isValidating") && (this.isValidating ? this.internals?.states.add("validating") : this.internals?.states.delete("validating")), e.has("touched") && (this.touched ? this.internals?.states.add("touched") : this.internals?.states.delete("touched"), this.touched && this.dirty && this.checkValidity()), e.has("submitted") && (this.submitted ? (this.internals?.states.add("submitted"), this.checkValidity()) : this.internals?.states.delete("submitted")), e.has("error") && (this.error ? this.internals?.states.add("invalid") : this.internals?.states.delete("invalid"), this.internals && (this.internals.ariaInvalid = this.error ? "true" : "false")), (e.has("required") || e.has("disabled")) && (this.required ? this.internals?.states.add("required") : this.internals?.states.delete("required"), this.internals && (this.internals.ariaRequired = this.required && !this.disabled ? "true" : "false")), e.has("disabled") && (this.disabled ? this.internals?.states.add("disabled") : this.internals?.states.delete("disabled")), e.has("readonly") && (this.readonly ? this.internals?.states.add("readonly") : this.internals?.states.delete("readonly"));
2800
- }
2801
- formResetCallback() {
2802
- this.resetForm();
2803
- }
2804
- formDisabledCallback(e) {
2805
- this.disabled = e;
2806
- }
2807
- formStateRestoreCallback(e) {
2808
- e != null && (this.value = e);
2809
- }
2810
- resetForm() {
2811
- this.value = this._defaultValue ?? "", this.error = !1, this.validationMessage = "", this.touched = !1, this.submitted = !1, this.internals?.setValidity({});
2812
- }
2813
- toFormEntries() {
2814
- if (!this.name || this.disabled) return [];
2815
- let e = this.value;
2816
- return e == null || e === "" ? [] : Array.isArray(e) ? e.map((e) => [this.name, String(e)]) : typeof e == "boolean" ? e ? [[this.name, "on"]] : [] : [[this.name, String(e)]];
2817
- }
2818
- checkValidity() {
2819
- if (this.disabled) return this.internals?.setValidity({}), !0;
2820
- let e = this.required && (this.value === "" || this.value === void 0 || this.value === null), t = !!this.internals?.validity?.customError, n = !e && !t, r = this.errorMessages?.valueMissing ?? "This field is required", i = e ? r : "Invalid value";
2821
- return e ? this.internals?.setValidity({ valueMissing: !0 }, this.validationMessage || i) : t || this.internals?.setValidity({}), this._shouldShowError() && (this.error = !n, n || this.validationMessage ? n && (this.validationMessage = "") : this.validationMessage = i), n;
2822
- }
2823
- reportValidity() {
2824
- let e = this.checkValidity();
2825
- return e || this.internals?.reportValidity(), e;
2826
- }
2827
- setCustomValidity(e) {
2828
- this.validationMessage = e, this.error = e !== "", e ? this.internals?.setValidity({ customError: !0 }, e) : this.internals?.setValidity({});
2829
- }
2830
- emitChange(e) {
2831
- "dispatchScopedEvent" in this && typeof this.dispatchScopedEvent == "function" ? this.dispatchScopedEvent("change", e, { bubbles: !0 }) : this.dispatchEvent(new CustomEvent("change", {
2832
- detail: e,
2833
- bubbles: !0,
2834
- composed: !0
2835
- }));
2836
- }
2837
- }
2838
- return P([L({ type: String })], t.prototype, "name", void 0), P([L({ reflect: !0 })], t.prototype, "value", void 0), P([L({ type: String })], t.prototype, "label", void 0), P([L({
2839
- type: Boolean,
2840
- reflect: !0
2841
- })], t.prototype, "required", void 0), P([L({
2842
- type: Boolean,
2843
- reflect: !0
2844
- })], t.prototype, "disabled", void 0), P([L({
2845
- type: Boolean,
2846
- reflect: !0
2847
- })], t.prototype, "readonly", void 0), P([L({
2848
- type: Boolean,
2849
- reflect: !0
2850
- })], t.prototype, "error", void 0), P([L({ type: String })], t.prototype, "validationMessage", void 0), P([L({ type: String })], t.prototype, "hint", void 0), P([L({ reflect: !0 })], t.prototype, "id", void 0), P([Xn()], t.prototype, "touched", void 0), P([Xn()], t.prototype, "submitted", void 0), P([L({
2851
- type: String,
2852
- reflect: !0
2853
- })], t.prototype, "validateOn", void 0), P([L({ attribute: !1 })], t.prototype, "errorMessages", void 0), P([Xn()], t.prototype, "isValidating", void 0), t;
2854
- }
2855
- function bi(e) {
2856
- class t extends gi {
2857
- static {
2858
- this.styles = e ? [e] : [];
2859
- }
2860
- }
2861
- return yi(t);
2862
- }
2863
- var xi = I`
2864
- ${I`
2865
- /* ================================================================
2866
- STRUCTURAL TYPES — All-glass depth model.
2867
- Nothing is opaque. Every layer is translucent.
2868
- Blur creates readability. Light borders isolate layers.
2869
- Rule: text must ALWAYS be readable on every surface.
2870
- ================================================================ */
2871
-
2872
- /* Solid — dense glass, high readability ground layer (no blur — 92% opacity is enough) */
2873
- :host([type='solid']) {
2874
- --glass-base: var(--schmancy-sys-color-surface-lowest);
2875
- --glass-tint: var(--schmancy-sys-color-surface-on);
2876
- background: color-mix(in srgb, var(--glass-base) 92%, transparent);
2877
- color: var(--schmancy-sys-color-surface-on);
2878
- }
2879
-
2880
- /* Subtle — frosted glass, clearly readable */
2881
- :host([type='subtle']) {
2882
- --glass-base: var(--schmancy-sys-color-surface-container);
2883
- --glass-tint: var(--schmancy-sys-color-surface-on);
2884
- background: color-mix(in srgb, var(--glass-base) 78%, transparent);
2885
- backdrop-filter: blur(8px) saturate(130%);
2886
- -webkit-backdrop-filter: blur(8px) saturate(130%);
2887
- color: var(--schmancy-sys-color-surface-on);
2888
- }
2889
-
2890
- /* Glass — frosted glass, blur ensures readability */
2891
- :host([type='glass']) {
2892
- --glass-base: var(--schmancy-sys-color-surface-lowest);
2893
- --glass-tint: var(--schmancy-sys-color-surface-on);
2894
-
2895
- background: color-mix(in srgb, var(--glass-base) 55%, transparent);
2896
- backdrop-filter: blur(16px) saturate(180%) brightness(1.05);
2897
- -webkit-backdrop-filter: blur(16px) saturate(180%) brightness(1.05);
2898
- color: var(--schmancy-sys-color-surface-on);
2899
- contain: content;
2900
- position: relative;
2901
- overflow: hidden;
2902
- isolation: isolate;
2903
- }
2904
-
2905
- /* Luminous — glass + glow halo, heavy blur keeps readability */
2906
- :host([type='luminous']) {
2907
- --glass-base: var(--schmancy-sys-color-surface-lowest);
2908
- --glass-tint: var(--schmancy-sys-color-surface-on);
2909
- --glow-color: var(--schmancy-sys-color-primary-default);
2910
-
2911
- background: color-mix(in srgb, var(--glass-base) 42%, transparent);
2912
- backdrop-filter: blur(20px) saturate(200%) brightness(1.08);
2913
- -webkit-backdrop-filter: blur(20px) saturate(200%) brightness(1.08);
2914
- color: var(--schmancy-sys-color-surface-on);
2915
- contain: content;
2916
- position: relative;
2917
- overflow: hidden;
2918
- isolation: isolate;
2919
- }
2920
-
2921
- /* ================================================================
2922
- UTILITY TYPES
2923
- ================================================================ */
2924
-
2925
- /* Transparent — no background */
2926
- :host([type='transparent']) {
2927
- background-color: transparent;
2928
- color: var(--schmancy-sys-color-surface-on);
2929
- }
2930
-
2931
- /* Outlined — border with luminous hover potential */
2932
- :host([type='outlined']) {
2933
- background-color: transparent;
2934
- color: var(--schmancy-sys-color-surface-on);
2935
- border: 1px solid var(--schmancy-sys-color-outlineVariant);
2936
- transition: border-color 300ms ease, box-shadow 300ms ease;
2937
- }
2938
-
2939
- /* ================================================================
2940
- SEMANTIC TYPES — tinted glass for status/role
2941
- ================================================================ */
2942
-
2943
- :host([type='primary']) {
2944
- background: color-mix(in srgb, var(--schmancy-sys-color-primary-default) 12%, transparent);
2945
- backdrop-filter: blur(4px) saturate(140%);
2946
- -webkit-backdrop-filter: blur(4px) saturate(140%);
2947
- color: var(--schmancy-sys-color-primary-default);
2948
- }
2949
- :host([type='secondary']) {
2950
- background: color-mix(in srgb, var(--schmancy-sys-color-secondary-default) 12%, transparent);
2951
- backdrop-filter: blur(4px) saturate(140%);
2952
- -webkit-backdrop-filter: blur(4px) saturate(140%);
2953
- color: var(--schmancy-sys-color-secondary-default);
2954
- }
2955
- :host([type='tertiary']) {
2956
- background: color-mix(in srgb, var(--schmancy-sys-color-tertiary-default) 12%, transparent);
2957
- backdrop-filter: blur(4px) saturate(140%);
2958
- -webkit-backdrop-filter: blur(4px) saturate(140%);
2959
- color: var(--schmancy-sys-color-tertiary-default);
2960
- }
2961
- :host([type='error']) {
2962
- background: color-mix(in srgb, var(--schmancy-sys-color-error-default) 12%, transparent);
2963
- backdrop-filter: blur(4px) saturate(140%);
2964
- -webkit-backdrop-filter: blur(4px) saturate(140%);
2965
- color: var(--schmancy-sys-color-error-onContainer);
2966
- }
2967
- :host([type='success']) {
2968
- background: color-mix(in srgb, var(--schmancy-sys-color-success-default) 12%, transparent);
2969
- backdrop-filter: blur(4px) saturate(140%);
2970
- -webkit-backdrop-filter: blur(4px) saturate(140%);
2971
- color: var(--schmancy-sys-color-success-onContainer);
2972
- }
2973
- :host([type='warning']) {
2974
- background: color-mix(in srgb, var(--schmancy-sys-color-warning-default) 12%, transparent);
2975
- backdrop-filter: blur(4px) saturate(140%);
2976
- -webkit-backdrop-filter: blur(4px) saturate(140%);
2977
- color: var(--schmancy-sys-color-warning-onContainer);
2978
- }
2979
- :host([type='info']) {
2980
- background: color-mix(in srgb, var(--schmancy-sys-color-info-default) 12%, transparent);
2981
- backdrop-filter: blur(4px) saturate(140%);
2982
- -webkit-backdrop-filter: blur(4px) saturate(140%);
2983
- color: var(--schmancy-sys-color-info-onContainer);
2984
- }
2985
-
2986
- /* ================================================================
2987
- LEGACY M3 ALIASES — backward compatibility
2988
- Old type names render as their new Luminous Glass equivalents.
2989
- ================================================================ */
2990
-
2991
- /* solid aliases — dense glass */
2992
- :host([type='surface']),
2993
- :host([type='surfaceDim']),
2994
- :host([type='surfaceBright']),
2995
- :host([type='containerLowest']) {
2996
- --glass-base: var(--schmancy-sys-color-surface-lowest);
2997
- --glass-tint: var(--schmancy-sys-color-surface-on);
2998
- background: color-mix(in srgb, var(--glass-base) 92%, transparent);
2999
- color: var(--schmancy-sys-color-surface-on);
3000
- }
3001
-
3002
- /* subtle aliases — frosted glass */
3003
- :host([type='containerLow']),
3004
- :host([type='container']) {
3005
- --glass-base: var(--schmancy-sys-color-surface-container);
3006
- --glass-tint: var(--schmancy-sys-color-surface-on);
3007
- background: color-mix(in srgb, var(--glass-base) 78%, transparent);
3008
- backdrop-filter: blur(8px) saturate(130%);
3009
- -webkit-backdrop-filter: blur(8px) saturate(130%);
3010
- color: var(--schmancy-sys-color-surface-on);
3011
- }
3012
-
3013
- /* glass aliases */
3014
- :host([type='containerHigh']),
3015
- :host([type='containerHighest']),
3016
- :host([type='glassOforim']) {
3017
- --glass-base: var(--schmancy-sys-color-surface-lowest);
3018
- --glass-tint: var(--schmancy-sys-color-surface-on);
3019
-
3020
- background: color-mix(in srgb, var(--glass-base) 55%, transparent);
3021
- backdrop-filter: blur(16px) saturate(180%) brightness(1.05);
3022
- -webkit-backdrop-filter: blur(16px) saturate(180%) brightness(1.05);
3023
- color: var(--schmancy-sys-color-surface-on);
3024
- position: relative;
3025
- overflow: hidden;
3026
- isolation: isolate;
3027
- }
3028
-
3029
- /* ================================================================
3030
- REDUCED MOTION — disable glass animations
3031
- ================================================================ */
3032
- `}
3033
- ${I`
3034
- :host([rounded='none']) {
3035
- border-radius: 0;
3036
- }
3037
- :host([rounded='top']) {
3038
- border-radius: var(--schmancy-sys-shape-corner-large) var(--schmancy-sys-shape-corner-large) 0 0;
3039
- }
3040
- :host([rounded='left']) {
3041
- border-radius: var(--schmancy-sys-shape-corner-large) 0 0 var(--schmancy-sys-shape-corner-large);
3042
- }
3043
- :host([rounded='right']) {
3044
- border-radius: 0 var(--schmancy-sys-shape-corner-large) var(--schmancy-sys-shape-corner-large) 0;
3045
- }
3046
- :host([rounded='bottom']) {
3047
- border-radius: 0 0 var(--schmancy-sys-shape-corner-large) var(--schmancy-sys-shape-corner-large);
3048
- }
3049
- :host([rounded='all']) {
3050
- border-radius: var(--schmancy-sys-shape-corner-large);
3051
- }
3052
- `}
3053
- ${I`
3054
- :host([elevation='1']) {
3055
- box-shadow: 0 2px 12px -2px color-mix(in srgb, var(--schmancy-sys-color-primary-default) 15%, transparent);
3056
- position: relative;
3057
- }
3058
- :host([elevation='2']) {
3059
- box-shadow: 0 4px 20px -2px color-mix(in srgb, var(--schmancy-sys-color-primary-default) 22%, transparent);
3060
- position: relative;
3061
- }
3062
- :host([elevation='3']) {
3063
- box-shadow: 0 8px 32px -4px color-mix(in srgb, var(--schmancy-sys-color-primary-default) 28%, transparent);
3064
- position: relative;
3065
- }
3066
- :host([elevation='4']) {
3067
- box-shadow: 0 12px 44px -4px color-mix(in srgb, var(--schmancy-sys-color-primary-default) 35%, transparent);
3068
- position: relative;
3069
- }
3070
- :host([elevation='5']) {
3071
- box-shadow: 0 20px 60px -4px color-mix(in srgb, var(--schmancy-sys-color-primary-default) 42%, transparent);
3072
- position: relative;
3073
- }
3074
- `}
3075
- ${I`
3076
- :host([clickable]) {
3077
- cursor: pointer;
3078
- user-select: none;
3079
- -webkit-tap-highlight-color: transparent;
3080
- transition:
3081
- filter 200ms ease,
3082
- transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1),
3083
- box-shadow 400ms ease;
3084
- }
3085
- :host([clickable]:hover) {
3086
- filter: brightness(1.03);
3087
- }
3088
- :host([clickable]:active) {
3089
- filter: brightness(0.96);
3090
- transform: scale(0.98);
3091
- transition-duration: 100ms;
3092
- }
3093
- :host([clickable]:focus-visible) {
3094
- outline: 2px solid var(--schmancy-sys-color-primary-default);
3095
- outline-offset: 2px;
3096
- }
3097
- @media (prefers-reduced-motion: reduce) {
3098
- :host([clickable]) { transition: filter 150ms ease; }
3099
- :host([clickable]:hover) { transform: none; box-shadow: none; }
3100
- :host([clickable]:active) { transform: none; }
3101
- }
3102
- `}
3103
- `, Si = (e) => {
3104
- class t extends e {
3105
- constructor(...e) {
3106
- super(...e), this.rounded = "none", this.elevation = 0, this.type = "subtle", this.clickable = !1;
3107
- }
3108
- static finalizeStyles(t) {
3109
- return [...e.finalizeStyles(t), xi];
3110
- }
3111
- }
3112
- return P([L({ reflect: !0 })], t.prototype, "rounded", void 0), P([L({
3113
- type: Number,
3114
- reflect: !0
3115
- })], t.prototype, "elevation", void 0), P([L({ reflect: !0 })], t.prototype, "type", void 0), P([L({
3116
- type: Boolean,
3117
- reflect: !0
3118
- })], t.prototype, "clickable", void 0), t;
3119
- }, W = (e) => e ?? j, Ci = () => new wi(), wi = class {}, Ti = /* @__PURE__ */ new WeakMap(), Ei = un(class extends ei {
3120
- render(e) {
3121
- return j;
3122
- }
3123
- update(e, [t]) {
3124
- let n = t !== this.G;
3125
- return n && this.G !== void 0 && this.rt(void 0), (n || this.lt !== this.ct) && (this.G = t, this.ht = e.options?.host, this.rt(this.ct = e.element)), j;
3126
- }
3127
- rt(e) {
3128
- if (this.isConnected || (e = void 0), typeof this.G == "function") {
3129
- let t = this.ht ?? globalThis, n = Ti.get(t);
3130
- n === void 0 && (n = /* @__PURE__ */ new WeakMap(), Ti.set(t, n)), n.get(this.G) !== void 0 && this.G.call(this.ht, void 0), n.set(this.G, e), e !== void 0 && this.G.call(this.ht, e);
3131
- } else this.G.value = e;
3132
- }
3133
- get lt() {
3134
- return typeof this.G == "function" ? Ti.get(this.ht ?? globalThis)?.get(this.G) : this.G?.value;
3135
- }
3136
- disconnected() {
3137
- this.lt === this.ct && this.rt(void 0);
3138
- }
3139
- reconnected() {
3140
- this.rt(this.ct);
3141
- }
3142
- });
3143
- function G(e, t, n) {
3144
- return e ? t(e) : n?.(e);
3145
- }
3146
- var K = {
3147
- name: "smooth",
3148
- duration: 500,
3149
- easing: "linear(\n 0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%,\n 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50%, 1.015 54.8%,\n 1.017 63.3%, 1.001\n )",
3150
- easingFallback: "cubic-bezier(0.34, 1.56, 0.64, 1)",
3151
- spring: {
3152
- stiffness: 100,
3153
- damping: 15,
3154
- mass: 1
3155
- }
3156
- }, q = {
3157
- name: "snappy",
3158
- duration: 300,
3159
- easing: "linear(\n 0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 15.5%, 0.938 23.8%,\n 1.017 30.2%, 1.041 37.3%, 1.026 52.4%, 1.001\n )",
3160
- easingFallback: "cubic-bezier(0.22, 1.25, 0.36, 1)",
3161
- spring: {
3162
- stiffness: 200,
3163
- damping: 20,
3164
- mass: 1
3165
- }
3166
- }, J = {
3167
- name: "bouncy",
3168
- duration: 600,
3169
- easing: "linear(\n 0, 0.004, 0.016 2.3%, 0.065 4.8%, 0.258 9.9%, 0.489 15%,\n 0.683 20.1%, 0.847 25.4%, 0.963 30.6%, 1.039 36%, 1.086 41.8%,\n 1.107 48.1%, 1.101 55.1%, 1.064 73.1%, 1.026 85.2%, 1.001\n )",
3170
- easingFallback: "cubic-bezier(0.34, 1.8, 0.64, 1)",
3171
- spring: {
3172
- stiffness: 100,
3173
- damping: 10,
3174
- mass: 1
3175
- }
3176
- }, Di = {
3177
- name: "gentle",
3178
- duration: 700,
3179
- easing: "linear(\n 0, 0.002, 0.009 2.6%, 0.036 5.3%, 0.153 11.3%, 0.352 18.5%,\n 0.554 25.4%, 0.733 32.6%, 0.865 40.2%, 0.945 48.5%,\n 0.984 58.2%, 0.997 70.5%, 1\n )",
3180
- easingFallback: "cubic-bezier(0.4, 0, 0.2, 1)",
3181
- spring: {
3182
- stiffness: 80,
3183
- damping: 25,
3184
- mass: 1.2
3185
- }
3186
- }, Oi = K.easingFallback, ki = "ease-out", Ai = "ease-in", ji = q.duration, Mi = 150, Ni = 200, Pi = `\n\t/* Blackbird Animation System - Spring Physics */\n\n\t/* Smooth preset (Apple-style) */\n\t--blackbird-duration-smooth: ${K.duration}ms;\n\t--blackbird-easing-smooth: ${K.easingFallback};\n\t--blackbird-easing-smooth-spring: ${K.easing};\n\n\t/* Snappy preset (quick interactions) */\n\t--blackbird-duration-snappy: ${q.duration}ms;\n\t--blackbird-easing-snappy: ${q.easingFallback};\n\t--blackbird-easing-snappy-spring: ${q.easing};\n\n\t/* Bouncy preset (playful) */\n\t--blackbird-duration-bouncy: ${J.duration}ms;\n\t--blackbird-easing-bouncy: ${J.easingFallback};\n\t--blackbird-easing-bouncy-spring: ${J.easing};\n\n\t/* Gentle preset (subtle) */\n\t--blackbird-duration-gentle: ${Di.duration}ms;\n\t--blackbird-easing-gentle: ${Di.easingFallback};\n\t--blackbird-easing-gentle-spring: ${Di.easing};\n`;
3187
- function Fi(e) {
3188
- return typeof CSS < "u" && CSS.supports?.("animation-timing-function", "linear(0, 1)") ? e.easing : e.easingFallback;
3189
- }
3190
- function Ii() {
3191
- return typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
3192
- }
3193
- function Li(e, t) {
3194
- return Ii() ? {
3195
- keyframes: [t.to],
3196
- options: {
3197
- duration: 0,
3198
- fill: "forwards"
3199
- }
3200
- } : {
3201
- keyframes: [t.from, t.to],
3202
- options: {
3203
- duration: e.duration,
3204
- easing: e.easingFallback,
3205
- fill: "forwards"
3206
- }
3207
- };
3208
- }
3209
- function Ri(e = K, t = 16) {
3210
- return Li(e, {
3211
- from: {
3212
- opacity: 0,
3213
- transform: `translateY(-${t}px) scale(0.96)`
3214
- },
3215
- to: {
3216
- opacity: 1,
3217
- transform: "translateY(0) scale(1)"
3218
- }
3219
- });
3220
- }
3221
- function zi(e = K, t = 12) {
3222
- let n = Li(e, {
3223
- from: {
3224
- opacity: 1,
3225
- transform: "translateY(0) scale(1)"
3226
- },
3227
- to: {
3228
- opacity: 0,
3229
- transform: `translateY(-${t}px) scale(0.97)`
3230
- }
3231
- });
3232
- return n.options.duration && (n.options.duration = .7 * n.options.duration), n;
3233
- }
3234
- function Bi(e = q, t = .9, n = 1) {
3235
- return Li(e, {
3236
- from: {
3237
- opacity: t < n ? 0 : 1,
3238
- transform: `scale(${t})`
3239
- },
3240
- to: {
3241
- opacity: +(t < n),
3242
- transform: `scale(${n})`
3243
- }
3244
- });
3245
- }
3246
- var Vi = {
3247
- transitionTimingFunction: {
3248
- "spring-smooth": K.easingFallback,
3249
- "spring-snappy": q.easingFallback,
3250
- "spring-bouncy": J.easingFallback,
3251
- "spring-gentle": Di.easingFallback
3252
- },
3253
- transitionDuration: {
3254
- "spring-smooth": `${K.duration}ms`,
3255
- "spring-snappy": `${q.duration}ms`,
3256
- "spring-bouncy": `${J.duration}ms`,
3257
- "spring-gentle": `${Di.duration}ms`
3258
- },
3259
- keyframes: {
3260
- "blackbird-reveal": {
3261
- "0%": {
3262
- opacity: "0",
3263
- transform: "translateY(-16px) scale(0.96)"
3264
- },
3265
- "100%": {
3266
- opacity: "1",
3267
- transform: "translateY(0) scale(1)"
3268
- }
3269
- },
3270
- "blackbird-dismiss": {
3271
- "0%": {
3272
- opacity: "1",
3273
- transform: "translateY(0) scale(1)"
3274
- },
3275
- "100%": {
3276
- opacity: "0",
3277
- transform: "translateY(-12px) scale(0.97)"
3278
- }
3279
- },
3280
- "blackbird-scale-in": {
3281
- "0%": {
3282
- opacity: "0",
3283
- transform: "scale(0.9)"
3284
- },
3285
- "100%": {
3286
- opacity: "1",
3287
- transform: "scale(1)"
3288
- }
3289
- },
3290
- "blackbird-scale-out": {
3291
- "0%": {
3292
- opacity: "1",
3293
- transform: "scale(1)"
3294
- },
3295
- "100%": {
3296
- opacity: "0",
3297
- transform: "scale(0.9)"
3298
- }
3299
- },
3300
- "blackbird-slide-up": {
3301
- "0%": { transform: "translateY(100%)" },
3302
- "100%": { transform: "translateY(0)" }
3303
- },
3304
- "blackbird-slide-down": {
3305
- "0%": { transform: "translateY(0)" },
3306
- "100%": { transform: "translateY(100%)" }
3307
- }
3308
- },
3309
- animation: {
3310
- "blackbird-reveal": `blackbird-reveal ${K.duration}ms ${K.easingFallback} forwards`,
3311
- "blackbird-dismiss": `blackbird-dismiss ${.7 * K.duration}ms ${K.easingFallback} forwards`,
3312
- "blackbird-scale-in": `blackbird-scale-in ${q.duration}ms ${q.easingFallback} forwards`,
3313
- "blackbird-scale-out": `blackbird-scale-out ${.7 * q.duration}ms ${q.easingFallback} forwards`,
3314
- "blackbird-slide-up": `blackbird-slide-up ${K.duration}ms ${K.easingFallback} forwards`,
3315
- "blackbird-slide-down": `blackbird-slide-down ${.7 * K.duration}ms ${K.easingFallback} forwards`
3316
- }
3317
- }, Hi = `\n\t/* Grid-based height animation with spring physics */\n\t.blackbird-grid {\n\t\tdisplay: grid;\n\t\tgrid-template-rows: 0fr;\n\t\toverflow: hidden;\n\t\ttransition: grid-template-rows ${K.duration}ms ${K.easingFallback};\n\t}\n\n\t/* Use spring easing when linear() is supported */\n\t@supports (animation-timing-function: linear(0, 1)) {\n\t\t.blackbird-grid {\n\t\t\ttransition: grid-template-rows ${K.duration}ms ${K.easing};\n\t\t}\n\t}\n\n\t.blackbird-grid[data-open='true'],\n\t.blackbird-grid.open {\n\t\tgrid-template-rows: 1fr;\n\t}\n\n\t.blackbird-grid > * {\n\t\toverflow: hidden;\n\t}\n\n\t@media (prefers-reduced-motion: reduce) {\n\t\t.blackbird-grid {\n\t\t\ttransition: none;\n\t\t}\n\t}\n`, Ui = typeof window < "u" ? window.matchMedia("(prefers-reduced-motion: reduce)") : void 0, Wi = new je(Ui?.matches ?? !1);
3318
- Ui && C(Ui, "change").pipe(S((e) => e.matches), Et(Ui.matches)).subscribe((e) => {
3319
- Wi.next(e);
3320
- });
3321
- var Y = un(class extends ei {
3322
- constructor(...e) {
3323
- super(...e), this.hasAnimated = !1;
3324
- }
3325
- render(e) {}
3326
- update(e, [t]) {
3327
- if (e.type !== ln.ELEMENT) throw Error("gravity directive must be used on an element");
3328
- if (this.element = e.element, this.options = t, this.hasAnimated) return;
3329
- if (Wi.value) return void (this.hasAnimated = !0);
3330
- let n = Math.max(.3, Math.min(3, t?.mass ?? 1)), r = t?.distance ?? 30, i = (t?.delay ?? 0) + (t?.stagger ?? 0);
3331
- this.animate(n, r, i), this.hasAnimated = !0;
3332
- }
3333
- reconnected() {
3334
- if (this.hasAnimated = !1, this.options && !Wi.value) {
3335
- let e = Math.max(.3, Math.min(3, this.options.mass ?? 1)), t = this.options.distance ?? 30, n = (this.options.delay ?? 0) + (this.options.stagger ?? 0);
3336
- this.animate(e, t, n), this.hasAnimated = !0;
3337
- }
3338
- }
3339
- animate(e, t, n) {
3340
- let r = e < .7 ? J : K, i = r.duration * (1 / Math.sqrt(e)), a = 1 / e * t;
3341
- this.animation?.cancel(), this.element.style.willChange = "transform, opacity", this.animation = this.element.animate([{
3342
- opacity: 0,
3343
- transform: `translateY(-${a}px)`
3344
- }, {
3345
- opacity: 1,
3346
- transform: "translateY(0)"
3347
- }], {
3348
- duration: i,
3349
- delay: n,
3350
- easing: r.easingFallback,
3351
- fill: "backwards"
3352
- }), st(this.animation.finished).pipe(Ct(1), Dt(() => {
3353
- this.element.style.willChange = "", this.animation = void 0;
3354
- }), xt(() => He)).subscribe();
3355
- }
3356
- disconnected() {
3357
- this.animation?.cancel(), this.animation = void 0;
3358
- }
3359
- }), Gi = un(class extends ei {
3360
- constructor(...e) {
3361
- super(...e), this.teardown$ = new ke(), this.strength = 4, this.radius = 100;
3362
- }
3363
- render(e) {}
3364
- update(e, [t]) {
3365
- if (e.type !== ln.ELEMENT) throw Error("magnetic directive must be used on an element");
3366
- let n = JSON.stringify(t ?? {});
3367
- this.element && n === this.prevKey || (this.prevKey = n, this.element = e.element, this.strength = t?.strength ?? 4, this.radius = t?.radius ?? 100, this.element.style.transition = `translate ${q.duration}ms ${q.easingFallback}`, this.teardown$.next(), this.setupMagnetic());
3368
- }
3369
- reconnected() {
3370
- this.teardown$.next(), this.setupMagnetic();
3371
- }
3372
- setupMagnetic() {
3373
- if (Wi.value) return;
3374
- let e = this.element.parentElement ?? document;
3375
- yt(C(this.element, "mouseenter").pipe(S(() => (this.element.style.willChange = "translate", this.cachedRect = this.element.getBoundingClientRect(), null))), C(e, "mousemove").pipe(bt(0, Ve), S((e) => {
3376
- let t = this.cachedRect ?? this.element.getBoundingClientRect(), n = t.left + t.width / 2, r = t.top + t.height / 2, i = e.clientX - n, a = e.clientY - r, o = Math.sqrt(i * i + a * a);
3377
- if (o < this.radius && o > 0) {
3378
- let e = (1 - o / this.radius) * this.strength;
3379
- return {
3380
- x: i / o * e,
3381
- y: a / o * e
3382
- };
3383
- }
3384
- return {
3385
- x: 0,
3386
- y: 0
3387
- };
3388
- })), C(e, "mouseleave").pipe(S(() => (this.element.style.willChange = "", this.cachedRect = void 0, {
3389
- x: 0,
3390
- y: 0
3391
- }))), Wi.pipe(S((e) => (e && (this.element.style.translate = "", this.element.style.willChange = ""), null)))).pipe(T(this.teardown$)).subscribe((e) => {
3392
- e && (this.element.style.translate = `${e.x}px ${e.y}px`);
3393
- });
3394
- }
3395
- disconnected() {
3396
- this.teardown$.next(), this.element && (this.element.style.translate = "", this.element.style.willChange = "");
3397
- }
3398
- }), X = class extends gi {
3399
- static {
3400
- this.styles = [I`:host{
3401
- display: inline-flex;
3402
- overflow: hidden;
3403
- position: relative;
3404
- touch-action: manipulation;
3405
- border-radius: 1rem;
3406
- transition:
3407
- box-shadow 300ms cubic-bezier(0.34, 1.56, 0.64, 1),
3408
- transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
3409
- }
3410
- :host([width="full"]) {
3411
- display: flex;
3412
- width: 100%;
3413
- }
3414
- :host(:hover:not([disabled])) {
3415
- box-shadow: 0 4px 16px -4px color-mix(in srgb, var(--schmancy-sys-color-primary-default) 20%, transparent);
3416
- }
3417
- :host(:active:not([disabled])) {
3418
- transform: scale(0.97);
3419
- box-shadow: 0 1px 4px -2px color-mix(in srgb, var(--schmancy-sys-color-primary-default) 10%, transparent);
3420
- transition-duration: 100ms;
3421
- }
3422
- @media (prefers-reduced-motion: reduce) {
3423
- :host { transition: none; }
3424
- :host(:hover:not([disabled])) { box-shadow: none; }
3425
- :host(:active:not([disabled])) { transform: none; box-shadow: none; }
3426
- }
3427
- :host *,
3428
- * {
3429
- touch-action: manipulation;
3430
- }`];
3431
- }
3432
- static {
3433
- this.shadowRootOptions = {
3434
- ...R.shadowRootOptions,
3435
- mode: "open",
3436
- delegatesFocus: !0
3437
- };
3438
- }
3439
- static {
3440
- this.formAssociated = !0;
3441
- }
3442
- constructor() {
3443
- super(), this.variant = "text", this.width = "auto", this.size = "md", this.type = "button", this.disabled = !1;
3444
- try {
3445
- this.internals = this.attachInternals();
3446
- } catch {
3447
- this.internals = void 0;
3448
- }
3449
- this.addEventListener("click", (e) => {
3450
- if (this.disabled) return e.preventDefault(), void e.stopImmediatePropagation();
3451
- let t = this.internals?.form;
3452
- t && (this.type === "submit" ? (e.preventDefault(), t.requestSubmit()) : this.type === "reset" && (e.preventDefault(), t.reset()));
3453
- });
3454
- }
3455
- get form() {
3456
- return this.internals?.form ?? null;
3457
- }
3458
- formDisabledCallback(e) {
3459
- this.disabled = e;
3460
- }
3461
- connectedCallback() {
3462
- if (super.connectedCallback(), this.type !== "submit") return;
3463
- let e = this.closest("schmancy-form");
3464
- if (!e) return;
3465
- let t = () => {
3466
- e.getAttribute("aria-busy") === "true" ? (this.setAttribute("aria-busy", "true"), this.internals?.states.add("submitting")) : (this.removeAttribute("aria-busy"), this.internals?.states.delete("submitting"));
3467
- };
3468
- t(), this._formBusyObserver = new MutationObserver(t), this._formBusyObserver.observe(e, {
3469
- attributes: !0,
3470
- attributeFilter: ["aria-busy"]
3471
- });
3472
- }
3473
- disconnectedCallback() {
3474
- this._formBusyObserver?.disconnect(), this._formBusyObserver = void 0, super.disconnectedCallback();
3475
- }
3476
- set ariaLabel(e) {
3477
- let t = this._ariaLabel;
3478
- this._ariaLabel = e, this.hasAttribute("aria-label") && this.removeAttribute("aria-label"), this.requestUpdate("ariaLabel", t);
3479
- }
3480
- get ariaLabel() {
3481
- return this._ariaLabel;
3482
- }
3483
- focus(e) {
3484
- this.nativeElement.focus(e);
3485
- }
3486
- blur() {
3487
- this.nativeElement.blur();
3488
- }
3489
- get effectiveColor() {
3490
- return this.color ? this.color : (this.variant === "tonal" ? "filled tonal" : this.variant) === "filled tonal" ? "secondary" : "primary";
3491
- }
3492
- get imgClasses() {
3493
- return [{
3494
- xxs: "w-3 h-3",
3495
- xs: "w-4 h-4",
3496
- sm: "w-5 h-5",
3497
- md: "w-6 h-6",
3498
- lg: "w-7 h-7"
3499
- }[this.size], "object-contain"];
3500
- }
3501
- firstUpdated() {
3502
- this.prefixImgs?.forEach((e) => {
3503
- e.classList.add(...this.imgClasses), e.hasAttribute("alt") || e.setAttribute("alt", "");
3504
- }), this.suffixImgs?.forEach((e) => {
3505
- e.classList.add(...this.imgClasses), e.hasAttribute("alt") || e.setAttribute("alt", "");
3506
- });
3507
- }
3508
- click() {
3509
- this.dispatchEvent(new Event("click", {
3510
- bubbles: !0,
3511
- composed: !0
3512
- }));
3513
- }
3514
- _preventDefault(e) {
3515
- e.preventDefault(), e.stopPropagation();
3516
- }
3517
- render() {
3518
- let e = this.variant === "tonal" ? "filled tonal" : this.variant, t = {
3519
- "z-0 transition-all duration-200 relative rounded-2xl flex justify-center items-center outline-secondary-default focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-2 outline-hidden flex-1 overflow-hidden": !0,
3520
- "h-6": this.size === "xxs",
3521
- "h-8": this.size === "xs",
3522
- "h-10": this.size === "sm",
3523
- "h-12": this.size === "md",
3524
- "h-14": this.size === "lg",
3525
- "py-1 px-2": this.size === "xxs",
3526
- "py-2 px-4": this.size === "xs",
3527
- "py-2.5 px-5": this.size === "sm",
3528
- "py-3 px-6": this.size === "md",
3529
- "py-4 px-7": this.size === "lg",
3530
- "text-[10px] font-medium leading-3": this.size === "xxs",
3531
- "text-xs font-medium leading-4": this.size === "xs",
3532
- "text-sm font-medium leading-5": this.size === "sm" || this.size === "md",
3533
- "text-base font-medium leading-6": this.size === "lg",
3534
- "tracking-[0.1px]": !0,
3535
- "gap-0.5": this.size === "xxs",
3536
- "gap-1": this.size === "xs",
3537
- "gap-1.5": this.size === "sm",
3538
- "gap-2": this.size === "md",
3539
- "gap-2.5": this.size === "lg",
3540
- "cursor-pointer": !this.disabled,
3541
- "opacity-[0.38]": this.disabled,
3542
- "hover:shadow-sm": !this.disabled && e === "elevated",
3543
- "w-full tex-center": this.width === "full",
3544
- "bg-surface-low shadow-xs": e === "elevated",
3545
- "bg-transparent border-1 border-solid": e === "outlined",
3546
- "border-outline": e === "outlined" && this.effectiveColor === "primary",
3547
- "border-success-default": e === "outlined" && this.effectiveColor === "success",
3548
- "border-error-default": e === "outlined" && this.effectiveColor === "error",
3549
- "border-warning-default": e === "outlined" && this.effectiveColor === "warning",
3550
- "border-info-default": e === "outlined" && this.effectiveColor === "info",
3551
- "border-secondary-default": e === "outlined" && this.effectiveColor === "secondary",
3552
- "border-outline-variant": e === "outlined" && this.effectiveColor === "neutral",
3553
- "bg-primary-default": e === "filled" && this.effectiveColor === "primary",
3554
- "bg-secondary-default": e === "filled" && this.effectiveColor === "secondary",
3555
- "bg-success-default": e === "filled" && this.effectiveColor === "success",
3556
- "bg-error-default": e === "filled" && this.effectiveColor === "error",
3557
- "bg-warning-default": e === "filled" && this.effectiveColor === "warning",
3558
- "bg-info-default": e === "filled" && this.effectiveColor === "info",
3559
- "bg-surface-containerHighest": e === "filled" && this.effectiveColor === "neutral",
3560
- "text-primary-on": e === "filled" && this.effectiveColor === "primary",
3561
- "text-secondary-on": e === "filled" && this.effectiveColor === "secondary",
3562
- "text-success-on": e === "filled" && this.effectiveColor === "success",
3563
- "text-error-on": e === "filled" && this.effectiveColor === "error",
3564
- "text-warning-on": e === "filled" && this.effectiveColor === "warning",
3565
- "text-info-on": e === "filled" && this.effectiveColor === "info",
3566
- "text-surface-on": e === "filled" && this.effectiveColor === "neutral",
3567
- "bg-primary-container": e === "filled tonal" && this.effectiveColor === "primary",
3568
- "bg-secondary-container": e === "filled tonal" && this.effectiveColor === "secondary",
3569
- "bg-success-container": e === "filled tonal" && this.effectiveColor === "success",
3570
- "bg-error-container": e === "filled tonal" && this.effectiveColor === "error",
3571
- "bg-warning-container": e === "filled tonal" && this.effectiveColor === "warning",
3572
- "bg-info-container": e === "filled tonal" && this.effectiveColor === "info",
3573
- "bg-surface-containerLow": e === "filled tonal" && this.effectiveColor === "neutral",
3574
- "text-primary-onContainer": e === "filled tonal" && this.effectiveColor === "primary",
3575
- "text-secondary-onContainer": e === "filled tonal" && this.effectiveColor === "secondary",
3576
- "text-success-onContainer": e === "filled tonal" && this.effectiveColor === "success",
3577
- "text-error-onContainer": e === "filled tonal" && this.effectiveColor === "error",
3578
- "text-warning-onContainer": e === "filled tonal" && this.effectiveColor === "warning",
3579
- "text-info-onContainer": e === "filled tonal" && this.effectiveColor === "info",
3580
- "text-primary-default": (e === "text" || e === "elevated" || e === "outlined") && this.effectiveColor === "primary",
3581
- "text-secondary-default": (e === "text" || e === "elevated" || e === "outlined") && this.effectiveColor === "secondary",
3582
- "text-success-default": (e === "text" || e === "elevated" || e === "outlined") && this.effectiveColor === "success",
3583
- "text-error-default": (e === "text" || e === "elevated" || e === "outlined") && this.effectiveColor === "error",
3584
- "text-warning-default": (e === "text" || e === "elevated" || e === "outlined") && this.effectiveColor === "warning",
3585
- "text-info-default": (e === "text" || e === "elevated" || e === "outlined") && this.effectiveColor === "info",
3586
- "text-surface-onVariant": (e === "text" || e === "elevated" || e === "outlined" || e === "filled tonal") && this.effectiveColor === "neutral"
3587
- }, n = {
3588
- "absolute inset-0 hover:opacity-[0.08] z-0 rounded-2xl": !0,
3589
- "focus-visible:opacity-[0.10]": !0,
3590
- "active:opacity-[0.10]": !0,
3591
- "hover:bg-primary-on": e === "filled" && this.effectiveColor === "primary",
3592
- "hover:bg-secondary-on": e === "filled" && this.effectiveColor === "secondary",
3593
- "hover:bg-success-on": e === "filled" && this.effectiveColor === "success",
3594
- "hover:bg-error-on": e === "filled" && this.effectiveColor === "error",
3595
- "hover:bg-warning-on": e === "filled" && this.effectiveColor === "warning",
3596
- "hover:bg-info-on": e === "filled" && this.effectiveColor === "info",
3597
- "hover:bg-surface-on": e === "filled" && this.effectiveColor === "neutral",
3598
- "hover:bg-primary-default": (e === "outlined" || e === "elevated" || e === "text") && this.effectiveColor === "primary",
3599
- "hover:bg-secondary-default": (e === "outlined" || e === "elevated" || e === "text") && this.effectiveColor === "secondary",
3600
- "hover:bg-success-default": (e === "outlined" || e === "elevated" || e === "text") && this.effectiveColor === "success",
3601
- "hover:bg-error-default": (e === "outlined" || e === "elevated" || e === "text") && this.effectiveColor === "error",
3602
- "hover:bg-warning-default": (e === "outlined" || e === "elevated" || e === "text") && this.effectiveColor === "warning",
3603
- "hover:bg-info-default": (e === "outlined" || e === "elevated" || e === "text") && this.effectiveColor === "info",
3604
- "hover:bg-surface-onVariant": (e === "outlined" || e === "elevated" || e === "text") && this.effectiveColor === "neutral",
3605
- "hover:bg-primary-container": e === "filled tonal" && this.effectiveColor === "primary",
3606
- "hover:bg-secondary-container": e === "filled tonal" && this.effectiveColor === "secondary",
3607
- "hover:bg-success-container": e === "filled tonal" && this.effectiveColor === "success",
3608
- "hover:bg-error-container": e === "filled tonal" && this.effectiveColor === "error",
3609
- "hover:bg-warning-container": e === "filled tonal" && this.effectiveColor === "warning",
3610
- "hover:bg-info-container": e === "filled tonal" && this.effectiveColor === "info",
3611
- "hover:bg-surface-containerLow": e === "filled tonal" && this.effectiveColor === "neutral"
3612
- };
3613
- return this.href ? k`
3614
- <a
3615
- ${Gi({
3616
- strength: 3,
3617
- radius: 60
3618
- })}
3619
- part="base"
3620
- href=${W(this.disabled ? void 0 : this.href)}
3621
- aria-label=${W(this.ariaLabel)}
3622
- class="${this.classMap(t)}"
3623
- tabindex=${this.disabled ? "-1" : "0"}
3624
- aria-disabled=${this.disabled}
3625
- @click=${this.disabled ? this._preventDefault : void 0}
3626
- >
3627
- ${G(!this.disabled, () => k`<div class="${this.classMap(n)}"></div>`)}
3628
- <slot name="prefix"></slot>
3629
- <slot></slot>
3630
- <slot name="suffix"></slot>
3631
- </a>
3632
- ` : k`
3633
- <button
3634
- ${Gi({
3635
- strength: 3,
3636
- radius: 60
3637
- })}
3638
- part="base"
3639
- aria-label=${W(this.ariaLabel)}
3640
- ?disabled=${this.disabled}
3641
- class="${this.classMap(t)}"
3642
- type=${W(this.type)}
3643
- tabindex=${W(this.disabled ? "-1" : void 0)}
3644
- >
3645
- ${G(!this.disabled, () => k`<div class="${this.classMap(n)}"></div>`)}
3646
- <slot name="prefix"></slot>
3647
- <slot></slot>
3648
- <slot name="suffix"></slot>
3649
- </button>
3650
- `;
3651
- }
3652
- };
3653
- P([Qn("[part=\"base\"]", !0)], X.prototype, "nativeElement", void 0), P([L({
3654
- reflect: !0,
3655
- type: String
3656
- })], X.prototype, "variant", void 0), P([L({
3657
- reflect: !0,
3658
- type: String
3659
- })], X.prototype, "color", void 0), P([L({ reflect: !0 })], X.prototype, "width", void 0), P([Cn({ context: "schmancy-button-size" }), L({ type: String })], X.prototype, "size", void 0), P([L({
3660
- reflect: !0,
3661
- type: String
3662
- })], X.prototype, "type", void 0), P([L()], X.prototype, "href", void 0), P([L({
3663
- type: Boolean,
3664
- reflect: !0
3665
- })], X.prototype, "disabled", void 0), P([L({ attribute: "aria-label" })], X.prototype, "ariaLabel", null), P([$n({
3666
- slot: "prefix",
3667
- flatten: !0,
3668
- selector: "img"
3669
- })], X.prototype, "prefixImgs", void 0), P([$n({
3670
- slot: "suffix",
3671
- flatten: !0,
3672
- selector: "img"
3673
- })], X.prototype, "suffixImgs", void 0), X = P([F("schmancy-button")], X);
3674
- var Ki, Z = class extends bi(jn("/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n:host{width:100%;min-width:calc(var(--spacing,.25rem) * 0);box-sizing:border-box;max-width:100%;display:block}.date-input-container{width:100%;min-width:0;width:100%!important;max-width:100%!important}input{appearance:none;border-radius:8px;width:-webkit-fill-available;font-size:16px;transition:box-shadow .3s cubic-bezier(.34,1.56,.64,1),border-color .2s}input:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-secondary-default), 0 0 16px -4px var(--schmancy-sys-color-secondary-default)}@supports (color:color-mix(in lab, red, red)){input:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-secondary-default), 0 0 16px -4px color-mix(in srgb, var(--schmancy-sys-color-secondary-default) 20%, transparent)}}input[aria-invalid=true]{box-shadow:0 0 12px -4px var(--schmancy-sys-color-error-default)}@supports (color:color-mix(in lab, red, red)){input[aria-invalid=true]{box-shadow:0 0 12px -4px color-mix(in srgb, var(--schmancy-sys-color-error-default) 15%, transparent)}}input[aria-invalid=true]:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-error-default), 0 0 16px -4px var(--schmancy-sys-color-error-default)}@supports (color:color-mix(in lab, red, red)){input[aria-invalid=true]:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-error-default), 0 0 16px -4px color-mix(in srgb, var(--schmancy-sys-color-error-default) 25%, transparent)}}@media (prefers-reduced-motion:reduce){input{transition:none}}input[type=number]::-webkit-inner-spin-button{appearance:none;margin:calc(var(--spacing,.25rem) * 0)}input[type=number]::-webkit-outer-spin-button{appearance:none;margin:calc(var(--spacing,.25rem) * 0)}input[type=number]{appearance:textfield}input:-webkit-autofill{animation-name:onAutoFillStart;-webkit-box-shadow:0 0 0 30px var(--schmancy-sys-color-surface-highest) inset!important;-webkit-text-fill-color:var(--schmancy-sys-color-surface-on)!important}input:autofill{background-color:var(--schmancy-sys-color-surface-highest)!important;color:var(--schmancy-sys-color-surface-on)!important}input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;width:100%;line-height:inherit;border-radius:8px;min-width:100%;max-width:100%;margin:0;display:block;overflow:hidden;border-radius:8px!important;width:100%!important}input::-webkit-datetime-edit{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit-fields-wrapper{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit{flex:1;width:100%}input::-webkit-datetime-edit-fields-wrapper{flex:1;justify-content:space-between;width:100%}input::-webkit-datetime-edit-text{align-items:center;display:flex}input::-webkit-datetime-edit-day-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-month-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-year-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-hour-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-minute-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-second-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-millisecond-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-meridiem-field{flex-shrink:0;padding:0 2px}input[type=date]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=datetime-local]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=time]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=month]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=week]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}@-moz-document url-prefix(){input[type=date],input[type=datetime-local],input[type=time]{min-height:inherit}}@supports (-webkit-touch-callout:none){input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;border-radius:0;width:-webkit-fill-available!important;width:fill-available!important;padding-left:12px!important;padding-right:12px!important}input::-webkit-datetime-edit{width:100%!important;padding-left:0!important;padding-right:0!important}input::-webkit-datetime-edit-fields-wrapper{width:100%!important;margin:0!important;padding:0!important}}")) {
3675
- static {
3676
- Ki = this;
3677
- }
3678
- constructor(...e) {
3679
- super(...e), this.value = "", this.type = "text", this.placeholder = "", this.clickable = !1, this.spellcheck = !1, this.align = "left", this.step = "any", this.autofocus = !1, this.autocomplete = "on", this.tabIndex = 0, this.size = "md", this.inputRef = Ci(), this.isAutofilled = !1;
3680
- }
3681
- static {
3682
- this._idCounter = 0;
3683
- }
3684
- static {
3685
- this.shadowRootOptions = {
3686
- ...R.shadowRootOptions,
3687
- delegatesFocus: !0
3688
- };
3689
- }
3690
- willUpdate(e) {
3691
- this.id ||= "sch-input-" + Ki._idCounter++, super.willUpdate(e);
3692
- }
3693
- connectedCallback() {
3694
- super.connectedCallback(), this.setupExternalLabelAssociation();
3695
- }
3696
- setupExternalLabelAssociation() {
3697
- if (this.id) {
3698
- let e = () => {
3699
- document.querySelectorAll(`label[for="${this.id}"]`).forEach((e) => {
3700
- C(e, "click").pipe(T(this.disconnecting)).subscribe(() => {
3701
- this.focus();
3702
- });
3703
- });
3704
- };
3705
- document.readyState === "complete" ? e() : C(document, "DOMContentLoaded").pipe(T(this.disconnecting)).subscribe(e);
3706
- }
3707
- }
3708
- updated(e) {
3709
- super.updated?.(e), (e.has("value") || e.has("required") || e.has("type") || e.has("pattern") || e.has("min") || e.has("max") || e.has("minlength") || e.has("maxlength")) && this.checkValidity();
3710
- }
3711
- _firstMatchingErrorMessage(e) {
3712
- let t = this.errorMessages;
3713
- if (t) return e.valueMissing && t.valueMissing ? t.valueMissing : e.typeMismatch && t.typeMismatch ? t.typeMismatch : e.patternMismatch && t.patternMismatch ? t.patternMismatch : e.tooShort && t.tooShort ? t.tooShort : e.tooLong && t.tooLong ? t.tooLong : e.rangeUnderflow && t.rangeUnderflow ? t.rangeUnderflow : e.rangeOverflow && t.rangeOverflow ? t.rangeOverflow : e.stepMismatch && t.stepMismatch ? t.stepMismatch : e.badInput && t.badInput ? t.badInput : void 0;
3714
- }
3715
- checkValidity() {
3716
- let e = this.inputElement ?? this.inputRef.value, t = e?.validity;
3717
- if (t && !t.valid) {
3718
- let n = {
3719
- valueMissing: t.valueMissing || void 0,
3720
- typeMismatch: t.typeMismatch || void 0,
3721
- patternMismatch: t.patternMismatch || void 0,
3722
- tooShort: t.tooShort || void 0,
3723
- tooLong: t.tooLong || void 0,
3724
- rangeUnderflow: t.rangeUnderflow || void 0,
3725
- rangeOverflow: t.rangeOverflow || void 0,
3726
- stepMismatch: t.stepMismatch || void 0,
3727
- badInput: t.badInput || void 0,
3728
- customError: t.customError || void 0
3729
- }, r = this._firstMatchingErrorMessage(t);
3730
- if (this.internals?.setValidity(n, r || e.validationMessage || this.validationMessage || "Invalid value"), this._shouldShowError()) {
3731
- this.error = !0;
3732
- let n = r || e.validationMessage;
3733
- n && (this.validationMessage = n);
3734
- for (let e of [
3735
- "value-missing",
3736
- "type-mismatch",
3737
- "pattern-mismatch",
3738
- "too-short",
3739
- "too-long",
3740
- "range-underflow",
3741
- "range-overflow",
3742
- "step-mismatch",
3743
- "bad-input"
3744
- ]) this.internals?.states.delete(e);
3745
- t.valueMissing && this.internals?.states.add("value-missing"), t.typeMismatch && this.internals?.states.add("type-mismatch"), t.patternMismatch && this.internals?.states.add("pattern-mismatch"), t.tooShort && this.internals?.states.add("too-short"), t.tooLong && this.internals?.states.add("too-long"), t.rangeUnderflow && this.internals?.states.add("range-underflow"), t.rangeOverflow && this.internals?.states.add("range-overflow"), t.stepMismatch && this.internals?.states.add("step-mismatch"), t.badInput && this.internals?.states.add("bad-input");
3746
- }
3747
- return !1;
3748
- }
3749
- let n = super.checkValidity();
3750
- if (n) for (let e of [
3751
- "value-missing",
3752
- "type-mismatch",
3753
- "pattern-mismatch",
3754
- "too-short",
3755
- "too-long",
3756
- "range-underflow",
3757
- "range-overflow",
3758
- "step-mismatch",
3759
- "bad-input"
3760
- ]) this.internals?.states.delete(e);
3761
- return n;
3762
- }
3763
- reportValidity() {
3764
- this.markSubmitted();
3765
- let e = this.inputRef.value?.reportValidity() ?? !0, t = super.reportValidity();
3766
- return e && t;
3767
- }
3768
- setCustomValidity(e) {
3769
- this.inputRef.value && this.inputRef.value.setCustomValidity(e), super.setCustomValidity(e);
3770
- }
3771
- firstUpdated() {
3772
- this.autofocus && vt(0).pipe(T(this.disconnecting)).subscribe(() => this.focus()), this.setupInputEvents(), this.setupFocusBlurEvents(), this.setupAutofillDetection(), this.setupEnterKeyEvents();
3773
- }
3774
- setupInputEvents() {
3775
- C(this.inputElement, "input").pipe(S((e) => {
3776
- e.stopPropagation();
3777
- let t = e;
3778
- return {
3779
- value: e.target.value,
3780
- inputType: t.inputType,
3781
- data: t.data,
3782
- isComposing: t.isComposing,
3783
- originalEvent: e
3784
- };
3785
- }), T(this.disconnecting)).subscribe((e) => {
3786
- this.value = e.value;
3787
- let t = new CustomEvent("input", {
3788
- detail: { value: e.value },
3789
- bubbles: !0,
3790
- composed: !0
3791
- });
3792
- Object.defineProperties(t, {
3793
- inputType: { value: e.inputType },
3794
- data: { value: e.data },
3795
- isComposing: { value: e.isComposing }
3796
- }), this.dispatchEvent(t);
3797
- }), C(this.inputElement, "change").pipe(S((e) => (e.stopPropagation(), e.target.value)), wt(), T(this.disconnecting)).subscribe((e) => {
3798
- this.value = e, this.emitChange({ value: e });
3799
- });
3800
- }
3801
- setupFocusBlurEvents() {
3802
- C(this.inputElement, "focus").pipe(T(this.disconnecting)).subscribe((e) => {
3803
- let t = new CustomEvent("focus", {
3804
- bubbles: e.bubbles,
3805
- cancelable: e.cancelable,
3806
- composed: e.composed
3807
- });
3808
- Object.defineProperties(t, { relatedTarget: { value: e.relatedTarget } }), this.dispatchEvent(t);
3809
- }), C(this.inputElement, "blur").pipe(T(this.disconnecting)).subscribe((e) => {
3810
- this.markTouched();
3811
- let t = new CustomEvent("blur", {
3812
- bubbles: e.bubbles,
3813
- cancelable: e.cancelable,
3814
- composed: e.composed
3815
- });
3816
- Object.defineProperties(t, { relatedTarget: { value: e.relatedTarget } }), this.dispatchEvent(t);
3817
- });
3818
- }
3819
- setupAutofillDetection() {
3820
- C(this.inputElement, "animationstart").pipe(w((e) => e.animationName === "onAutoFillStart"), T(this.disconnecting)).subscribe((e) => {
3821
- let { value: t } = e.target;
3822
- this.value = t, this.isAutofilled = !0, this.dispatchEvent(new CustomEvent("autofill", {
3823
- detail: { value: t },
3824
- bubbles: !0,
3825
- composed: !0
3826
- })), this.emitChange({ value: t });
3827
- }), C(this.inputElement, "animationstart").pipe(w((e) => e.animationName === "onAutoFillCancel"), T(this.disconnecting)).subscribe(() => {
3828
- this.isAutofilled = !1;
3829
- });
3830
- }
3831
- setupEnterKeyEvents() {
3832
- C(this.inputElement, "keydown").pipe(w((e) => e.key === "Enter"), T(this.disconnecting)).subscribe((e) => {
3833
- let { value: t } = e.target;
3834
- this.value !== t && (this.value = t), this.inputElement.blur();
3835
- let n = new CustomEvent("enter", {
3836
- detail: { value: this.value },
3837
- bubbles: !0,
3838
- composed: !0
3839
- });
3840
- Object.defineProperties(n, {
3841
- key: { value: "Enter" },
3842
- code: { value: "Enter" },
3843
- keyCode: { value: 13 },
3844
- which: { value: 13 }
3845
- }), this.dispatchEvent(n);
3846
- });
3847
- }
3848
- select() {
3849
- return this.inputRef.value?.select();
3850
- }
3851
- getValidity() {
3852
- return this.inputRef.value?.validity;
3853
- }
3854
- setSelectionRange(e, t, n) {
3855
- this.inputRef.value?.setSelectionRange(e, t, n);
3856
- }
3857
- get selectionStart() {
3858
- return this.inputRef.value?.selectionStart ?? null;
3859
- }
3860
- get selectionEnd() {
3861
- return this.inputRef.value?.selectionEnd ?? null;
3862
- }
3863
- get selectionDirection() {
3864
- return this.inputRef.value?.selectionDirection ?? null;
3865
- }
3866
- setRangeText(e, t, n, r) {
3867
- t !== void 0 && n !== void 0 ? this.inputRef.value?.setRangeText(e, t, n, r) : this.inputRef.value?.setRangeText(e);
3868
- }
3869
- focus(e) {
3870
- this.inputRef.value?.focus(e), this.dispatchEvent(new Event("focus"));
3871
- }
3872
- click() {
3873
- this.inputRef.value?.click(), this.dispatchEvent(new Event("click"));
3874
- }
3875
- blur() {
3876
- this.inputRef.value?.blur(), this.dispatchEvent(new Event("blur"));
3877
- }
3878
- render() {
3879
- let { height: e, padding: t, fontSize: n } = (() => {
3880
- switch (this.size) {
3881
- case "xxs": return {
3882
- height: "24px",
3883
- padding: "0 8px",
3884
- fontSize: "0.625rem"
3885
- };
3886
- case "xs": return {
3887
- height: "32px",
3888
- padding: "0 12px",
3889
- fontSize: "0.75rem"
3890
- };
3891
- case "sm": return {
3892
- height: "40px",
3893
- padding: "0 16px",
3894
- fontSize: "0.875rem"
3895
- };
3896
- case "lg": return {
3897
- height: "56px",
3898
- padding: "0 20px",
3899
- fontSize: "1rem"
3900
- };
3901
- default: return {
3902
- height: "48px",
3903
- padding: "0 16px",
3904
- fontSize: "0.875rem"
3905
- };
3906
- }
3907
- })(), r = [
3908
- "date",
3909
- "datetime-local",
3910
- "time",
3911
- "month",
3912
- "week"
3913
- ].includes(this.type), i = {
3914
- "block w-full min-w-0 rounded-2xl border bg-surface-containerLowest text-surface-on": !0,
3915
- "border-outline": !this.error,
3916
- "border-error-default": this.error,
3917
- "outline-secondary-default focus:outline-1 focus:border-secondary-default": !0,
3918
- "disabled:opacity-40 disabled:cursor-not-allowed": !0,
3919
- "placeholder:text-muted": !0,
3920
- "ring-0 focus:ring-1 focus:ring-inset": !0,
3921
- "focus:ring-secondary-default": !this.error,
3922
- "focus:ring-error-default": this.error,
3923
- "caret-transparent focus:outline-hidden cursor-pointer select-none": this.readonly,
3924
- "cursor-pointer": this.clickable,
3925
- "text-left": this.align === "left" || r,
3926
- "text-center": this.align === "center" && !r,
3927
- "text-right": this.align === "right" && !r,
3928
- autofilled: this.isAutofilled
3929
- }, a = {
3930
- "block mb-1 font-medium": !0,
3931
- "opacity-40": this.disabled,
3932
- "text-[10px]": this.size === "xxs",
3933
- "text-xs": this.size === "xs",
3934
- "text-sm": this.size === "sm",
3935
- "text-base": this.size === "md",
3936
- "text-lg": this.size === "lg",
3937
- "text-primary-default": !this.error,
3938
- "text-error-default": this.error
3939
- }, o = {
3940
- height: e,
3941
- padding: t,
3942
- fontSize: n,
3943
- lineHeight: e
3944
- };
3945
- return k`
3946
- <div class="w-full min-w-0 ${r ? "date-input-container" : ""}">
3947
- ${G(this.label, () => k`
3948
- <label
3949
- for=${this.id}
3950
- class=${this.classMap(a)}
3951
- >
3952
- ${this.label}
3953
- </label>
3954
- `)}
3955
-
3956
- <input
3957
- ${Ei(this.inputRef)}
3958
- id=${this.id}
3959
- name=${this.name}
3960
- class=${this.classMap(i)}
3961
- style=${this.styleMap(o)}
3962
- .value=${this.value}
3963
- .type=${this.type}
3964
- .autocomplete=${this.autocomplete}
3965
- .spellcheck=${this.spellcheck}
3966
- placeholder=${this.placeholder}
3967
- inputmode=${W(this.inputmode)}
3968
- pattern=${W(this.pattern)}
3969
- .step=${this.step ?? ""}
3970
- minlength=${W(this.minlength)}
3971
- maxlength=${W(this.maxlength)}
3972
- min=${W(this.min)}
3973
- max=${W(this.max)}
3974
- list=${W(this.list)}
3975
- ?required=${this.required}
3976
- ?disabled=${this.disabled}
3977
- ?readonly=${this.readonly}
3978
- aria-invalid=${this.error ? "true" : "false"}
3979
- aria-required=${this.required ? "true" : "false"}
3980
- aria-labelledby=${this.label ? `label-${this.id}` : j}
3981
- aria-describedby=${this.hint || this.validationMessage ? `hint-${this.id}` : j}
3982
- aria-label=${W(this.label ? void 0 : this.placeholder || "Input")}
3983
- />
3984
-
3985
- ${G(this.hint || this.error && this.validationMessage, () => k`
3986
- <div
3987
- id="hint-${this.id}"
3988
- class="mt-1 text-sm ${this.error ? "text-error-default" : "text-surface-onVariant"}"
3989
- role=${W(this.error ? "alert" : void 0)}
3990
- >
3991
- ${this.error && this.validationMessage ? this.validationMessage : this.hint}
3992
- </div>
3993
- `)}
3994
- </div>
3995
- `;
3996
- }
3997
- };
3998
- P([L({
3999
- type: String,
4000
- reflect: !0
4001
- })], Z.prototype, "value", void 0), P([L({ reflect: !0 })], Z.prototype, "type", void 0), P([L()], Z.prototype, "placeholder", void 0), P([L({
4002
- type: String,
4003
- reflect: !0
4004
- })], Z.prototype, "pattern", void 0), P([L({
4005
- type: Boolean,
4006
- reflect: !0
4007
- })], Z.prototype, "clickable", void 0), P([L({
4008
- type: Boolean,
4009
- reflect: !0
4010
- })], Z.prototype, "spellcheck", void 0), P([L({
4011
- type: String,
4012
- reflect: !0
4013
- })], Z.prototype, "align", void 0), P([L()], Z.prototype, "inputmode", void 0), P([L({
4014
- type: Number,
4015
- reflect: !0
4016
- })], Z.prototype, "minlength", void 0), P([L({ type: Number })], Z.prototype, "maxlength", void 0), P([L()], Z.prototype, "min", void 0), P([L()], Z.prototype, "max", void 0), P([L({ reflect: !0 })], Z.prototype, "step", void 0), P([L({ type: Boolean })], Z.prototype, "autofocus", void 0), P([L({
4017
- type: String,
4018
- reflect: !0
4019
- })], Z.prototype, "autocomplete", void 0), P([L({
4020
- type: Number,
4021
- reflect: !0
4022
- })], Z.prototype, "tabIndex", void 0), P([L({
4023
- type: String,
4024
- reflect: !0
4025
- })], Z.prototype, "size", void 0), P([L({ type: String })], Z.prototype, "list", void 0), P([Qn("input")], Z.prototype, "inputElement", void 0), P([Xn()], Z.prototype, "isAutofilled", void 0);
4026
- var qi = Z = Ki = P([F("schmancy-input")], Z), Ji = class extends Z {};
4027
- Ji = P([F("sch-input")], Ji);
4028
- var Yi = class extends gi {
4029
- constructor(...e) {
4030
- super(...e), this._name = "";
4031
- }
4032
- static {
4033
- this.styles = [I`
4034
- :host {
4035
- display: inline-flex;
4036
- place-items: center;
4037
- place-content: center;
4038
- font-size: 24px;
4039
- width: 1em;
4040
- height: 1em;
4041
- flex-shrink: 0;
4042
- color: inherit;
4043
- }
4044
-
4045
- svg {
4046
- width: 100%;
4047
- height: 100%;
4048
- fill: currentColor;
4049
- overflow: visible;
4050
- }
4051
- `];
4052
- }
4053
- connectedCallback() {
4054
- super.connectedCallback(), this._name = this.textContent?.trim() ?? "", this._observer = new MutationObserver(() => {
4055
- this._name = this.textContent?.trim() ?? "";
4056
- }), this._observer.observe(this, {
4057
- childList: !0,
4058
- characterData: !0,
4059
- subtree: !0
4060
- }), this.setAttribute("aria-hidden", "true"), this.setAttribute("translate", "no");
4061
- }
4062
- disconnectedCallback() {
4063
- super.disconnectedCallback(), this._observer?.disconnect();
4064
- }
4065
- render() {
4066
- let e = window.__siIcons?.[this._name];
4067
- return k`
4068
- <slot style="display:none"></slot>
4069
- ${e ? k`<svg viewBox="0 -960 960 960" xmlns="http://www.w3.org/2000/svg">
4070
- ${qt`<path d="${e}"/>`}
4071
- </svg>` : j}
4072
- `;
4073
- }
4074
- };
4075
- P([Xn()], Yi.prototype, "_name", void 0), Yi = P([F("schmancy-icon")], Yi);
4076
- var Q = class extends gi {
4077
- constructor(...e) {
4078
- super(...e), this.type = "body", this.token = "md", this.editable = !1, this.value = "", this.placeholder = "", this._editRef = Ci();
4079
- }
4080
- static {
4081
- this.styles = [I`
4082
- :host {
4083
- display: block;
4084
- font-family: inherit;
4085
- hyphens: none;
4086
- }
4087
-
4088
- /* Text alignment */
4089
- :host([align='center']) {
4090
- text-align: center;
4091
- }
4092
-
4093
- :host([align='left']) {
4094
- text-align: start;
4095
- }
4096
-
4097
- :host([align='right']) {
4098
- text-align: right;
4099
- }
4100
-
4101
- :host([align='justify']) {
4102
- text-align: justify;
4103
- }
4104
-
4105
- /* Font weight */
4106
- :host([weight='bold']) {
4107
- font-weight: 700;
4108
- }
4109
-
4110
- :host([weight='medium']) {
4111
- font-weight: 500;
4112
- }
4113
-
4114
- :host([weight='normal']) {
4115
- font-weight: 400;
4116
- }
4117
-
4118
- /* Text transform */
4119
- :host([transform='uppercase']) {
4120
- text-transform: uppercase;
4121
- }
4122
-
4123
- :host([transform='lowercase']) {
4124
- text-transform: lowercase;
4125
- }
4126
-
4127
- :host([transform='capitalize']) {
4128
- text-transform: capitalize;
4129
- }
4130
-
4131
- :host([transform='normal']) {
4132
- text-transform: none;
4133
- }
4134
-
4135
- /* Type-based weight defaults (when using Tailwind classes without token) */
4136
- :host([type='display']),
4137
- :host([type='headline']),
4138
- :host([type='body']) {
4139
- font-weight: 400;
4140
- }
4141
-
4142
- :host([type='label']),
4143
- :host([type='subtitle']),
4144
- :host([type='title']) {
4145
- font-weight: 500;
4146
- }
4147
-
4148
- /* Display typography variants - Material Design 3 + Extended */
4149
- :host([type='display'][token='xl']) {
4150
- font-size: 72px;
4151
- line-height: 80px;
4152
- font-weight: 400;
4153
- }
4154
-
4155
- :host([type='display'][token='lg']) {
4156
- font-size: 57px;
4157
- line-height: 64px;
4158
- font-weight: 400;
4159
- }
4160
-
4161
- :host([type='display'][token='md']) {
4162
- font-size: 45px;
4163
- line-height: 52px;
4164
- font-weight: 400;
4165
- }
4166
-
4167
- :host([type='display'][token='sm']) {
4168
- font-size: 36px;
4169
- line-height: 44px;
4170
- font-weight: 400;
4171
- }
4172
-
4173
- :host([type='display'][token='xs']) {
4174
- font-size: 28px;
4175
- line-height: 36px;
4176
- font-weight: 400;
4177
- }
4178
-
4179
- /* Headline typography variants - Material Design 3 + Extended */
4180
- :host([type='headline'][token='xl']) {
4181
- font-size: 36px;
4182
- line-height: 44px;
4183
- font-weight: 400;
4184
- }
4185
-
4186
- :host([type='headline'][token='lg']) {
4187
- font-size: 32px;
4188
- line-height: 40px;
4189
- font-weight: 400;
4190
- }
4191
-
4192
- :host([type='headline'][token='md']) {
4193
- font-size: 28px;
4194
- line-height: 36px;
4195
- font-weight: 400;
4196
- }
4197
-
4198
- :host([type='headline'][token='sm']) {
4199
- font-size: 24px;
4200
- line-height: 32px;
4201
- font-weight: 400;
4202
- }
4203
-
4204
- :host([type='headline'][token='xs']) {
4205
- font-size: 20px;
4206
- line-height: 28px;
4207
- font-weight: 400;
4208
- }
4209
-
4210
- /* Title typography variants - Material Design 3 + Extended */
4211
- :host([type='title'][token='xl']) {
4212
- font-size: 24px;
4213
- line-height: 32px;
4214
- font-weight: 400;
4215
- }
4216
-
4217
- :host([type='title'][token='lg']) {
4218
- font-size: 22px;
4219
- line-height: 28px;
4220
- font-weight: 400;
4221
- }
4222
-
4223
- :host([type='title'][token='md']) {
4224
- font-size: 16px;
4225
- line-height: 24px;
4226
- font-weight: 500;
4227
- }
4228
-
4229
- :host([type='title'][token='sm']) {
4230
- font-size: 14px;
4231
- line-height: 20px;
4232
- font-weight: 500;
4233
- }
4234
-
4235
- :host([type='title'][token='xs']) {
4236
- font-size: 12px;
4237
- line-height: 16px;
4238
- font-weight: 500;
4239
- }
4240
-
4241
- /* Subtitle typography variants - Extended from Material Design 3 */
4242
- :host([type='subtitle'][token='xl']) {
4243
- font-size: 20px;
4244
- line-height: 28px;
4245
- font-weight: 500;
4246
- }
4247
-
4248
- :host([type='subtitle'][token='lg']) {
4249
- font-size: 18px;
4250
- line-height: 24px;
4251
- font-weight: 500;
4252
- }
4253
-
4254
- :host([type='subtitle'][token='md']) {
4255
- font-size: 16px;
4256
- line-height: 24px;
4257
- font-weight: 500;
4258
- }
4259
-
4260
- :host([type='subtitle'][token='sm']) {
4261
- font-size: 14px;
4262
- line-height: 20px;
4263
- font-weight: 500;
4264
- }
4265
-
4266
- :host([type='subtitle'][token='xs']) {
4267
- font-size: 12px;
4268
- line-height: 16px;
4269
- font-weight: 500;
4270
- }
4271
-
4272
- /* Body typography variants - Material Design 3 + Extended */
4273
- :host([type='body'][token='xl']) {
4274
- font-size: 18px;
4275
- line-height: 28px;
4276
- font-weight: 400;
4277
- }
4278
-
4279
- :host([type='body'][token='lg']) {
4280
- font-size: 16px;
4281
- line-height: 24px;
4282
- font-weight: 400;
4283
- }
4284
-
4285
- :host([type='body'][token='md']) {
4286
- font-size: 14px;
4287
- line-height: 20px;
4288
- font-weight: 400;
4289
- }
4290
-
4291
- :host([type='body'][token='sm']) {
4292
- font-size: 12px;
4293
- line-height: 16px;
4294
- font-weight: 400;
4295
- }
4296
-
4297
- :host([type='body'][token='xs']) {
4298
- font-size: 10px;
4299
- line-height: 14px;
4300
- font-weight: 400;
4301
- }
4302
-
4303
- /* Label typography variants - Material Design 3 + Extended */
4304
- :host([type='label'][token='xl']) {
4305
- font-size: 16px;
4306
- line-height: 22px;
4307
- font-weight: 500;
4308
- }
4309
-
4310
- :host([type='label'][token='lg']) {
4311
- font-size: 14px;
4312
- line-height: 20px;
4313
- font-weight: 500;
4314
- }
4315
-
4316
- :host([type='label'][token='md']) {
4317
- font-size: 12px;
4318
- line-height: 16px;
4319
- font-weight: 500;
4320
- }
4321
-
4322
- :host([type='label'][token='sm']) {
4323
- font-size: 11px;
4324
- line-height: 16px;
4325
- font-weight: 500;
4326
- }
4327
-
4328
- :host([type='label'][token='xs']) {
4329
- font-size: 10px;
4330
- line-height: 14px;
4331
- font-weight: 500;
4332
- }
4333
-
4334
- /* Note: Custom letter-spacing, font-size, and line-height should be applied via inline styles or Tailwind classes */
4335
-
4336
- :host([editable]) {
4337
- cursor: text;
4338
- border-radius: 4px;
4339
- transition: background 150ms;
4340
- min-height: 1em;
4341
- }
4342
- /* Editable div lives in shadow DOM so light DOM (Lit markers) is untouched */
4343
- .edit {
4344
- outline: none;
4345
- min-height: 1em;
4346
- font: inherit;
4347
- color: inherit;
4348
- letter-spacing: inherit;
4349
- line-height: inherit;
4350
- }
4351
- .edit:empty::before {
4352
- content: attr(data-placeholder);
4353
- pointer-events: none;
4354
- display: block;
4355
- opacity: 0.35;
4356
- }
4357
- `];
4358
- }
4359
- static {
4360
- this.shadowRootOptions = {
4361
- mode: "open",
4362
- delegatesFocus: !0
4363
- };
4364
- }
4365
- selectAll() {
4366
- let e = this._editRef.value;
4367
- if (!e) return;
4368
- e.focus();
4369
- let t = window.getSelection();
4370
- if (t && e.textContent) {
4371
- let n = document.createRange();
4372
- n.selectNodeContents(e), t.removeAllRanges(), t.addRange(n);
4373
- }
4374
- }
4375
- connectedCallback() {
4376
- super.connectedCallback(), C(this, "focusout").pipe(w(() => this.editable), Dt(() => {
4377
- let e = this._editRef.value;
4378
- if (!e) return;
4379
- let t = e.innerText.trim();
4380
- t !== this.value && this.dispatchEvent(new CustomEvent("change", {
4381
- detail: { value: t },
4382
- bubbles: !0,
4383
- composed: !0
4384
- })), t || (e.textContent = "");
4385
- }), T(this.disconnecting)).subscribe(), C(this, "input").pipe(w(() => this.editable), Dt(() => {
4386
- let e = this._editRef.value;
4387
- e && !e.innerText.trim() && (e.textContent = "");
4388
- }), T(this.disconnecting)).subscribe(), C(this, "keydown").pipe(w(() => this.editable), w((e) => e.key === "Enter"), Dt((e) => {
4389
- e.preventDefault(), (this._editRef.value ?? this).blur();
4390
- }), T(this.disconnecting)).subscribe();
4391
- }
4392
- updated(e) {
4393
- if (super.updated(e), e.has("maxLines") && (this.classList.remove("line-clamp-1", "line-clamp-2", "line-clamp-3", "line-clamp-4", "line-clamp-5", "line-clamp-6"), this.maxLines && this.classList.add(`line-clamp-${this.maxLines}`)), (e.has("value") || e.has("editable")) && this.editable) {
4394
- let e = this._editRef.value;
4395
- e && document.activeElement !== e && (this.value ? e.innerText = this.value : e.textContent = "");
4396
- }
4397
- }
4398
- render() {
4399
- return this.editable ? k`<div
4400
- ${Ei(this._editRef)}
4401
- class="edit"
4402
- contenteditable="true"
4403
- data-placeholder=${this.placeholder ?? ""}
4404
- ></div>` : k`<slot></slot>`;
4405
- }
4406
- };
4407
- P([L({
4408
- type: String,
4409
- reflect: !0
4410
- })], Q.prototype, "type", void 0), P([L({
4411
- type: String,
4412
- reflect: !0
4413
- })], Q.prototype, "token", void 0), P([L({
4414
- type: String,
4415
- reflect: !0
4416
- })], Q.prototype, "align", void 0), P([L({
4417
- type: String,
4418
- reflect: !0
4419
- })], Q.prototype, "weight", void 0), P([L({
4420
- type: String,
4421
- reflect: !0
4422
- })], Q.prototype, "transform", void 0), P([L({ type: Number })], Q.prototype, "maxLines", void 0), P([L({
4423
- type: Boolean,
4424
- reflect: !0
4425
- })], Q.prototype, "editable", void 0), P([L({ type: String })], Q.prototype, "value", void 0), P([L({ type: String })], Q.prototype, "placeholder", void 0), Q = P([F("schmancy-typography")], Q);
4426
- var Xi = e({ SchmancyOverlayPromptBody: () => $ }), $ = class extends gi {
4427
- constructor(...e) {
4428
- super(...e), this.confirmText = "Confirm", this.cancelText = "Cancel", this.variant = "default", this.mode = "confirm", this.defaultValue = "", this.inputType = "text", this.required = !1, this.handleCancel = () => {
4429
- this.dismiss(this.mode === "prompt" && null);
4430
- }, this.handleConfirm = () => {
4431
- if (this.mode === "prompt") {
4432
- if (this._schmancyInput && !this._schmancyInput.reportValidity()) return;
4433
- this.dismiss(this._schmancyInput?.value ?? "");
4434
- } else this.dismiss(!0);
4435
- }, this.handleSubmit = (e) => {
4436
- e.preventDefault(), this.handleConfirm();
4437
- };
4438
- }
4439
- static {
4440
- this.styles = [I`
4441
- :host {
4442
- display: block;
4443
- min-width: 280px;
4444
- max-width: 480px;
4445
- padding: 1.5rem;
4446
- }
4447
- `];
4448
- }
4449
- firstUpdated() {
4450
- this.mode === "prompt" && this._schmancyInput?.focus();
4451
- }
4452
- dismiss(e) {
4453
- this.dispatchEvent(new CustomEvent("close", {
4454
- detail: e,
4455
- bubbles: !0,
4456
- composed: !0
4457
- }));
4458
- }
4459
- render() {
4460
- return k`
4461
- <form @submit=${this.handleSubmit}>
4462
- <div class="flex flex-col gap-3">
4463
- ${G(this.variant === "danger", () => k`
4464
- <schmancy-icon
4465
- ${Y({
4466
- delay: 0,
4467
- mass: .7
4468
- })}
4469
- class="text-error-default"
4470
- style="font-size:32px"
4471
- >error_outline</schmancy-icon>
4472
- `)}
4473
-
4474
- ${G(this.heading, () => k`
4475
- <schmancy-typography
4476
- ${Y({
4477
- delay: 0,
4478
- mass: .8
4479
- })}
4480
- type="headline"
4481
- token="sm"
4482
- >${this.heading}</schmancy-typography>
4483
- `)}
4484
-
4485
- ${G(this.subtitle, () => k`
4486
- <schmancy-typography
4487
- ${Y({
4488
- delay: 60,
4489
- mass: .9
4490
- })}
4491
- type="body"
4492
- token="md"
4493
- class="opacity-70"
4494
- >${this.subtitle}</schmancy-typography>
4495
- `)}
4496
-
4497
- ${((e, t, n) => {
4498
- for (let n of t) if (n[0] === e) return (0, n[1])();
4499
- return n?.();
4500
- })(this.mode, [["prompt", () => k`
4501
- <schmancy-input
4502
- ${Y({
4503
- delay: 120,
4504
- mass: 1
4505
- })}
4506
- .label=${this.label ?? ""}
4507
- .value=${this.defaultValue}
4508
- .type=${this.inputType}
4509
- placeholder=${W(this.placeholder)}
4510
- pattern=${W(this.pattern)}
4511
- .required=${this.required}
4512
- ></schmancy-input>
4513
- ${G(this.message, () => k`
4514
- <schmancy-typography
4515
- ${Y({
4516
- delay: 180,
4517
- mass: 1
4518
- })}
4519
- type="body"
4520
- token="sm"
4521
- class="opacity-70"
4522
- >${this.message}</schmancy-typography>
4523
- `)}
4524
- `]], () => k`
4525
- ${G(this.message, () => k`
4526
- <schmancy-typography
4527
- ${Y({
4528
- delay: 60,
4529
- mass: .9
4530
- })}
4531
- type="body"
4532
- token="md"
4533
- class="opacity-70"
4534
- >${this.message}</schmancy-typography>
4535
- `)}
4536
- `)}
4537
- </div>
4538
-
4539
- <div ${Y({
4540
- delay: 180,
4541
- mass: 1
4542
- })} class="flex justify-end gap-2 mt-6">
4543
- <schmancy-button
4544
- type="button"
4545
- variant="text"
4546
- @click=${this.handleCancel}
4547
- >${this.cancelText}</schmancy-button>
4548
- <schmancy-button
4549
- type="submit"
4550
- variant="filled"
4551
- color=${this.variant === "danger" ? "error" : "primary"}
4552
- >${this.confirmText}</schmancy-button>
4553
- </div>
4554
- </form>
4555
- `;
4556
- }
4557
- };
4558
- P([L({ type: String })], $.prototype, "heading", void 0), P([L({ type: String })], $.prototype, "subtitle", void 0), P([L({ type: String })], $.prototype, "message", void 0), P([L({
4559
- type: String,
4560
- attribute: "confirm-text"
4561
- })], $.prototype, "confirmText", void 0), P([L({
4562
- type: String,
4563
- attribute: "cancel-text"
4564
- })], $.prototype, "cancelText", void 0), P([L({
4565
- type: String,
4566
- reflect: !0
4567
- })], $.prototype, "variant", void 0), P([L({ type: String })], $.prototype, "mode", void 0), P([L({ type: String })], $.prototype, "label", void 0), P([L({
4568
- type: String,
4569
- attribute: "default-value"
4570
- })], $.prototype, "defaultValue", void 0), P([L({ type: String })], $.prototype, "placeholder", void 0), P([L({
4571
- type: String,
4572
- attribute: "input-type"
4573
- })], $.prototype, "inputType", void 0), P([L({ type: String })], $.prototype, "pattern", void 0), P([L({ type: Boolean })], $.prototype, "required", void 0), P([Qn("schmancy-input")], $.prototype, "_schmancyInput", void 0), $ = P([F("schmancy-overlay-prompt-body")], $);
4574
- export { R as $, y as $t, Ci as A, xt as At, ui as B, ct as Bt, zi as C, k as Ct, Ii as D, wt as Dt, Fi as E, Et, yi as F, C as Ft, zr as G, Ge as Gt, ri as H, rt as Ht, bi as I, pt as It, Rr as J, Ve as Jt, Kr as K, Ke as Kt, gi as L, dt as Lt, W as M, w as Mt, Si as N, yt as Nt, Vi as O, Ct as Ot, vi as P, vt as Pt, B as Q, ke as Qt, si as R, ut as Rt, Li as S, A as St, Bi as T, T as Tt, ei as U, x as Ut, di as V, st as Vt, Gr as W, b as Wt, Hr as X, Me as Xt, Wr as Y, Re as Yt, Vr as Z, je as Zt, Hi as _, un as _t, qi as a, h as an, jn as at, K as b, j as bt, Y as c, f as cn, Tn as ct, Oi as d, s as dn, Sn as dt, v as en, $n as et, Ni as f, c as fn, vn as ft, ki as g, fn as gt, Ai as h, hn as ht, Ji as i, de as in, I as it, Ei as j, bt as jt, G as k, St as kt, Wi as l, r as ln, wn as lt, Mi as m, gn as mt, Xi as n, we as nn, Xn as nt, X as o, m as on, F as ot, ji as p, o as pn, _n as pt, qr as q, He as qt, Q as r, ye as rn, L as rt, Gi as s, p as sn, P as st, $ as t, _ as tn, Qn as tt, Pi as u, n as un, Cn as ut, J as v, dn as vt, Ri as w, Dt as wt, q as x, cn as xt, Di as y, ln as yt, li as z, S as zt };