@polderlabs/bizar 10.4.2 → 10.4.4

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 (262) hide show
  1. package/bizar-dash/dist/assets/{ActivityFeed-DtRtg-JN.js → ActivityFeed-RQeyFifx.js} +1 -1
  2. package/bizar-dash/dist/assets/{ActivityFeed-DtRtg-JN.js.map → ActivityFeed-RQeyFifx.js.map} +1 -1
  3. package/bizar-dash/dist/assets/{ActivityView-CoTXDyU_.js → ActivityView-CibyssPM.js} +1 -1
  4. package/bizar-dash/dist/assets/{ActivityView-CoTXDyU_.js.map → ActivityView-CibyssPM.js.map} +1 -1
  5. package/bizar-dash/dist/assets/AdminView-BjczABeB.js +11 -0
  6. package/bizar-dash/dist/assets/AdminView-BjczABeB.js.map +1 -0
  7. package/bizar-dash/dist/assets/{AgentActivity-CrX7LmQ6.js → AgentActivity-Bywt1twv.js} +1 -1
  8. package/bizar-dash/dist/assets/{AgentActivity-CrX7LmQ6.js.map → AgentActivity-Bywt1twv.js.map} +1 -1
  9. package/bizar-dash/dist/assets/AgentsView-BnOjjM74.js +15 -0
  10. package/bizar-dash/dist/assets/AgentsView-BnOjjM74.js.map +1 -0
  11. package/bizar-dash/dist/assets/{Alert-B6DjfRFI.js → Alert-BZGk39mB.js} +1 -1
  12. package/bizar-dash/dist/assets/{Alert-B6DjfRFI.js.map → Alert-BZGk39mB.js.map} +1 -1
  13. package/bizar-dash/dist/assets/{ArtifactsView-znhN8GTR.js → ArtifactsView-CfYB1le1.js} +3 -3
  14. package/bizar-dash/dist/assets/ArtifactsView-CfYB1le1.js.map +1 -0
  15. package/bizar-dash/dist/assets/{AuthView-Rk8eKUPr.js → AuthView-D4frSShw.js} +1 -1
  16. package/bizar-dash/dist/assets/{AuthView-Rk8eKUPr.js.map → AuthView-D4frSShw.js.map} +1 -1
  17. package/bizar-dash/dist/assets/Avatar-BYg0rkPA.js +6 -0
  18. package/bizar-dash/dist/assets/Avatar-BYg0rkPA.js.map +1 -0
  19. package/bizar-dash/dist/assets/{BackgroundJobsView-BLWuN9qz.js → BackgroundJobsView-DEStvILz.js} +1 -1
  20. package/bizar-dash/dist/assets/{BackgroundJobsView-BLWuN9qz.js.map → BackgroundJobsView-DEStvILz.js.map} +1 -1
  21. package/bizar-dash/dist/assets/{BackupView-CqbtcnuQ.js → BackupView-B875KQa4.js} +1 -1
  22. package/bizar-dash/dist/assets/{BackupView-CqbtcnuQ.js.map → BackupView-B875KQa4.js.map} +1 -1
  23. package/bizar-dash/dist/assets/Banner-C8HEcT5l.js +1 -0
  24. package/bizar-dash/dist/assets/Banner-C8HEcT5l.js.map +1 -0
  25. package/bizar-dash/dist/assets/{Card-rF59wHiO.js → Card-BtsmkhJa.js} +1 -1
  26. package/bizar-dash/dist/assets/{Card-rF59wHiO.js.map → Card-BtsmkhJa.js.map} +1 -1
  27. package/bizar-dash/dist/assets/ChatView-CkNS0SD8.js +9 -0
  28. package/bizar-dash/dist/assets/ChatView-CkNS0SD8.js.map +1 -0
  29. package/bizar-dash/dist/assets/{Chip-Dc2KmeWl.js → Chip-XPOk0d_E.js} +1 -1
  30. package/bizar-dash/dist/assets/{Chip-Dc2KmeWl.js.map → Chip-XPOk0d_E.js.map} +1 -1
  31. package/bizar-dash/dist/assets/{ClaudeSessionsView-CiaHQdDZ.js → ClaudeSessionsView-BprGo67K.js} +1 -1
  32. package/bizar-dash/dist/assets/{ClaudeSessionsView-CiaHQdDZ.js.map → ClaudeSessionsView-BprGo67K.js.map} +1 -1
  33. package/bizar-dash/dist/assets/ClipboardView-CPlTU5VG.js +1 -0
  34. package/bizar-dash/dist/assets/ClipboardView-CPlTU5VG.js.map +1 -0
  35. package/bizar-dash/dist/assets/{ConfigView-B2ysnTZU.js → ConfigView-BntUrW7s.js} +1 -1
  36. package/bizar-dash/dist/assets/{ConfigView-B2ysnTZU.js.map → ConfigView-BntUrW7s.js.map} +1 -1
  37. package/bizar-dash/dist/assets/DiagnosticsView-4x0Zu3yP.js +2 -0
  38. package/bizar-dash/dist/assets/DiagnosticsView-4x0Zu3yP.js.map +1 -0
  39. package/bizar-dash/dist/assets/DialogsView-Xd02dVAX.js +6 -0
  40. package/bizar-dash/dist/assets/DialogsView-Xd02dVAX.js.map +1 -0
  41. package/bizar-dash/dist/assets/{DoctorView-BQwqvMAh.js → DoctorView-DepBdQGR.js} +2 -2
  42. package/bizar-dash/dist/assets/{DoctorView-BQwqvMAh.js.map → DoctorView-DepBdQGR.js.map} +1 -1
  43. package/bizar-dash/dist/assets/{EmptyState-D65J5FQN.js → EmptyState-DjKtY1Qi.js} +1 -1
  44. package/bizar-dash/dist/assets/{EmptyState-D65J5FQN.js.map → EmptyState-DjKtY1Qi.js.map} +1 -1
  45. package/bizar-dash/dist/assets/{EnvVarsView-DX-3oGH-.js → EnvVarsView-S4Pbm128.js} +3 -3
  46. package/bizar-dash/dist/assets/{EnvVarsView-DX-3oGH-.js.map → EnvVarsView-S4Pbm128.js.map} +1 -1
  47. package/bizar-dash/dist/assets/{ErrorState-DULZnttJ.js → ErrorState-CBJbEQ8B.js} +1 -1
  48. package/bizar-dash/dist/assets/{ErrorState-DULZnttJ.js.map → ErrorState-CBJbEQ8B.js.map} +1 -1
  49. package/bizar-dash/dist/assets/EvalView-BeAyMCD1.js +1 -0
  50. package/bizar-dash/dist/assets/{EvalView-CpdFu_ID.js.map → EvalView-BeAyMCD1.js.map} +1 -1
  51. package/bizar-dash/dist/assets/{GoalsView-Br8oPPfb.js → GoalsView-BZr8In4c.js} +1 -1
  52. package/bizar-dash/dist/assets/{GoalsView-Br8oPPfb.js.map → GoalsView-BZr8In4c.js.map} +1 -1
  53. package/bizar-dash/dist/assets/{Grid-BSXhsCPC.js → Grid--WKvqu5h.js} +1 -1
  54. package/bizar-dash/dist/assets/{Grid-BSXhsCPC.js.map → Grid--WKvqu5h.js.map} +1 -1
  55. package/bizar-dash/dist/assets/{HistoryView-D0J3aoZF.js → HistoryView-djEbzqtk.js} +1 -1
  56. package/bizar-dash/dist/assets/{HistoryView-D0J3aoZF.js.map → HistoryView-djEbzqtk.js.map} +1 -1
  57. package/bizar-dash/dist/assets/{Input-CZmRw5QX.js → Input-h_nSOtwm.js} +1 -1
  58. package/bizar-dash/dist/assets/{Input-CZmRw5QX.js.map → Input-h_nSOtwm.js.map} +1 -1
  59. package/bizar-dash/dist/assets/LibrariesView-Vez8CvNq.js +6 -0
  60. package/bizar-dash/dist/assets/{LibrariesView-B1YX9wzp.js.map → LibrariesView-Vez8CvNq.js.map} +1 -1
  61. package/bizar-dash/dist/assets/{LightRAGView-CykR0t9y.js → LightRAGView-DvqzQoBp.js} +1 -1
  62. package/bizar-dash/dist/assets/{LightRAGView-CykR0t9y.js.map → LightRAGView-DvqzQoBp.js.map} +1 -1
  63. package/bizar-dash/dist/assets/{ListHeader-Dpun-r36.js → ListHeader-CM8QoIWG.js} +1 -1
  64. package/bizar-dash/dist/assets/{ListHeader-Dpun-r36.js.map → ListHeader-CM8QoIWG.js.map} +1 -1
  65. package/bizar-dash/dist/assets/{MemoryView-BbER5ZKt.js → MemoryView-DnL8E2vI.js} +1 -1
  66. package/bizar-dash/dist/assets/{MemoryView-BbER5ZKt.js.map → MemoryView-DnL8E2vI.js.map} +1 -1
  67. package/bizar-dash/dist/assets/{MessageBubble-5vUAquDx.js → MessageBubble-CrCJ0SYG.js} +1 -1
  68. package/bizar-dash/dist/assets/{MessageBubble-5vUAquDx.js.map → MessageBubble-CrCJ0SYG.js.map} +1 -1
  69. package/bizar-dash/dist/assets/MiscView-B2YQXhZ_.js +1 -0
  70. package/bizar-dash/dist/assets/MiscView-B2YQXhZ_.js.map +1 -0
  71. package/bizar-dash/dist/assets/{ModsView-P7gDeNHM.js → ModsView-BVM3X5xc.js} +1 -1
  72. package/bizar-dash/dist/assets/{ModsView-P7gDeNHM.js.map → ModsView-BVM3X5xc.js.map} +1 -1
  73. package/bizar-dash/dist/assets/NotificationsView-A-Xs8BL1.js +6 -0
  74. package/bizar-dash/dist/assets/NotificationsView-A-Xs8BL1.js.map +1 -0
  75. package/bizar-dash/dist/assets/ObsidianView-mI3qW9OP.js +1 -0
  76. package/bizar-dash/dist/assets/{ObsidianView-Ci80gnwS.js.map → ObsidianView-mI3qW9OP.js.map} +1 -1
  77. package/bizar-dash/dist/assets/OverviewView-By69Cr5H.js +1 -0
  78. package/bizar-dash/dist/assets/OverviewView-By69Cr5H.js.map +1 -0
  79. package/bizar-dash/dist/assets/{ProgressBar-BahmeJhP.js → ProgressBar-BnaBqv-W.js} +1 -1
  80. package/bizar-dash/dist/assets/{ProgressBar-BahmeJhP.js.map → ProgressBar-BnaBqv-W.js.map} +1 -1
  81. package/bizar-dash/dist/assets/ProjectsView-C81WTFka.js +11 -0
  82. package/bizar-dash/dist/assets/ProjectsView-C81WTFka.js.map +1 -0
  83. package/bizar-dash/dist/assets/{ProvidersView-BftGn8Cr.js → ProvidersView-2cn-TALE.js} +2 -2
  84. package/bizar-dash/dist/assets/{ProvidersView-BftGn8Cr.js.map → ProvidersView-2cn-TALE.js.map} +1 -1
  85. package/bizar-dash/dist/assets/{SchedulesView-CtNxtzN6.js → SchedulesView-o9AtIsH9.js} +1 -1
  86. package/bizar-dash/dist/assets/{SchedulesView-CtNxtzN6.js.map → SchedulesView-o9AtIsH9.js.map} +1 -1
  87. package/bizar-dash/dist/assets/{Select-0VcfTDeL.js → Select-CiGWEN8I.js} +1 -1
  88. package/bizar-dash/dist/assets/{Select-0VcfTDeL.js.map → Select-CiGWEN8I.js.map} +1 -1
  89. package/bizar-dash/dist/assets/{SettingsRow-BLic3DQl.js → SettingsRow-CflGJymA.js} +1 -1
  90. package/bizar-dash/dist/assets/{SettingsRow-BLic3DQl.js.map → SettingsRow-CflGJymA.js.map} +1 -1
  91. package/bizar-dash/dist/assets/{SettingsView-BjS3i4nr.js → SettingsView-2HSFJPPK.js} +1 -1
  92. package/bizar-dash/dist/assets/{SettingsView-BjS3i4nr.js.map → SettingsView-2HSFJPPK.js.map} +1 -1
  93. package/bizar-dash/dist/assets/{Sheet-BOProMs2.js → Sheet-B-CMP9-_.js} +1 -1
  94. package/bizar-dash/dist/assets/{Sheet-BOProMs2.js.map → Sheet-B-CMP9-_.js.map} +1 -1
  95. package/bizar-dash/dist/assets/{Slider-B0eLEEUt.js → Slider-Z4TP_CXY.js} +1 -1
  96. package/bizar-dash/dist/assets/{Slider-B0eLEEUt.js.map → Slider-Z4TP_CXY.js.map} +1 -1
  97. package/bizar-dash/dist/assets/{Sparkline-SSrdgyW0.js → Sparkline-cvkv2HbU.js} +1 -1
  98. package/bizar-dash/dist/assets/{Sparkline-SSrdgyW0.js.map → Sparkline-cvkv2HbU.js.map} +1 -1
  99. package/bizar-dash/dist/assets/{Switch-B3EQzb_q.js → Switch-jcYo4lmp.js} +1 -1
  100. package/bizar-dash/dist/assets/{Switch-B3EQzb_q.js.map → Switch-jcYo4lmp.js.map} +1 -1
  101. package/bizar-dash/dist/assets/{TasksView-SWjF_ZUQ.js → TasksView-CQaSFzWY.js} +2 -2
  102. package/bizar-dash/dist/assets/{TasksView-SWjF_ZUQ.js.map → TasksView-CQaSFzWY.js.map} +1 -1
  103. package/bizar-dash/dist/assets/{Textarea-QuofpMlq.js → Textarea-xnAybFGd.js} +1 -1
  104. package/bizar-dash/dist/assets/{Textarea-QuofpMlq.js.map → Textarea-xnAybFGd.js.map} +1 -1
  105. package/bizar-dash/dist/assets/UpdateView-BUAEcRCX.js +1 -0
  106. package/bizar-dash/dist/assets/UpdateView-BUAEcRCX.js.map +1 -0
  107. package/bizar-dash/dist/assets/{UsageView-BqOw6FBg.js → UsageView-DMFbBOfH.js} +1 -1
  108. package/bizar-dash/dist/assets/{UsageView-BqOw6FBg.js.map → UsageView-DMFbBOfH.js.map} +1 -1
  109. package/bizar-dash/dist/assets/{ViewHeader-B6P-C4GD.js → ViewHeader-C-t1U2cQ.js} +1 -1
  110. package/bizar-dash/dist/assets/{ViewHeader-B6P-C4GD.js.map → ViewHeader-C-t1U2cQ.js.map} +1 -1
  111. package/bizar-dash/dist/assets/VoiceView-aoPVT6LJ.js +1 -0
  112. package/bizar-dash/dist/assets/VoiceView-aoPVT6LJ.js.map +1 -0
  113. package/bizar-dash/dist/assets/{brain-CwZt9Kta.js → brain-DhAzcHUk.js} +1 -1
  114. package/bizar-dash/dist/assets/{brain-CwZt9Kta.js.map → brain-DhAzcHUk.js.map} +1 -1
  115. package/bizar-dash/dist/assets/{calendar-C5oK0_nM.js → calendar-B9Wbemh7.js} +1 -1
  116. package/bizar-dash/dist/assets/{calendar-C5oK0_nM.js.map → calendar-B9Wbemh7.js.map} +1 -1
  117. package/bizar-dash/dist/assets/{circle-D1Lc_P2a.js → circle-6NJF_Xl6.js} +1 -1
  118. package/bizar-dash/dist/assets/{circle-D1Lc_P2a.js.map → circle-6NJF_Xl6.js.map} +1 -1
  119. package/bizar-dash/dist/assets/{circle-alert-HdHe7m8K.js → circle-alert-Dz8lGfCZ.js} +1 -1
  120. package/bizar-dash/dist/assets/{circle-alert-HdHe7m8K.js.map → circle-alert-Dz8lGfCZ.js.map} +1 -1
  121. package/bizar-dash/dist/assets/{circle-check-Cs-xoV7R.js → circle-check-DFB50ojt.js} +1 -1
  122. package/bizar-dash/dist/assets/{circle-check-Cs-xoV7R.js.map → circle-check-DFB50ojt.js.map} +1 -1
  123. package/bizar-dash/dist/assets/{clock-DEIuPV60.js → clock-ClVA6-hQ.js} +1 -1
  124. package/bizar-dash/dist/assets/{clock-DEIuPV60.js.map → clock-ClVA6-hQ.js.map} +1 -1
  125. package/bizar-dash/dist/assets/{cmdk-DVxytz9i.js → cmdk-C3F6LD6N.js} +5 -5
  126. package/bizar-dash/dist/assets/{cmdk-DVxytz9i.js.map → cmdk-C3F6LD6N.js.map} +1 -1
  127. package/bizar-dash/dist/assets/{dnd-kit-DrHErSkw.js → dnd-kit-BAOLODOI.js} +1 -1
  128. package/bizar-dash/dist/assets/{dnd-kit-DrHErSkw.js.map → dnd-kit-BAOLODOI.js.map} +1 -1
  129. package/bizar-dash/dist/assets/{download-Clkq90Ct.js → download-BvJddD8D.js} +1 -1
  130. package/bizar-dash/dist/assets/{download-Clkq90Ct.js.map → download-BvJddD8D.js.map} +1 -1
  131. package/bizar-dash/dist/assets/{external-link-D5tq2o_I.js → external-link-DvL89gaZ.js} +1 -1
  132. package/bizar-dash/dist/assets/{external-link-D5tq2o_I.js.map → external-link-DvL89gaZ.js.map} +1 -1
  133. package/bizar-dash/dist/assets/{file-text-CQ12t7Oc.js → file-text-BOroDtZE.js} +1 -1
  134. package/bizar-dash/dist/assets/{file-text-CQ12t7Oc.js.map → file-text-BOroDtZE.js.map} +1 -1
  135. package/bizar-dash/dist/assets/{filter-BcbE37wP.js → filter-DwPjMRQt.js} +1 -1
  136. package/bizar-dash/dist/assets/{filter-BcbE37wP.js.map → filter-DwPjMRQt.js.map} +1 -1
  137. package/bizar-dash/dist/assets/{git-pull-request-D1qNDRia.js → git-pull-request-TDb1inux.js} +1 -1
  138. package/bizar-dash/dist/assets/{git-pull-request-D1qNDRia.js.map → git-pull-request-TDb1inux.js.map} +1 -1
  139. package/bizar-dash/dist/assets/{index-CASP1n-5.js → index-B1OIS316.js} +1 -1
  140. package/bizar-dash/dist/assets/{index-CASP1n-5.js.map → index-B1OIS316.js.map} +1 -1
  141. package/bizar-dash/dist/assets/{index-C4Vq_2LM.js → index-CR0TeJmc.js} +1 -1
  142. package/bizar-dash/dist/assets/{index-C4Vq_2LM.js.map → index-CR0TeJmc.js.map} +1 -1
  143. package/bizar-dash/dist/assets/{main-CcQfRfIJ.css → main-B7D_IMTh.css} +1 -1
  144. package/bizar-dash/dist/assets/main-BURAlktW.js +277 -0
  145. package/bizar-dash/dist/assets/main-BURAlktW.js.map +1 -0
  146. package/bizar-dash/dist/assets/{network-DJdvVaHx.js → network-BcCoCzIY.js} +1 -1
  147. package/bizar-dash/dist/assets/{network-DJdvVaHx.js.map → network-BcCoCzIY.js.map} +1 -1
  148. package/bizar-dash/dist/assets/{pause-DUn9L5PB.js → pause-BllItT2_.js} +1 -1
  149. package/bizar-dash/dist/assets/{pause-DUn9L5PB.js.map → pause-BllItT2_.js.map} +1 -1
  150. package/bizar-dash/dist/assets/{pencil-DVrBlYV3.js → pencil-DAwM-CC3.js} +1 -1
  151. package/bizar-dash/dist/assets/{pencil-DVrBlYV3.js.map → pencil-DAwM-CC3.js.map} +1 -1
  152. package/bizar-dash/dist/assets/{play-CZjsr3XM.js → play-mJh67AXo.js} +2 -2
  153. package/bizar-dash/dist/assets/{play-CZjsr3XM.js.map → play-mJh67AXo.js.map} +1 -1
  154. package/bizar-dash/dist/assets/{plug-BKuyIe5W.js → plug-BjfntCMC.js} +1 -1
  155. package/bizar-dash/dist/assets/{plug-BKuyIe5W.js.map → plug-BjfntCMC.js.map} +1 -1
  156. package/bizar-dash/dist/assets/{plus-77h62zZm.js → plus-Cm6-fo14.js} +1 -1
  157. package/bizar-dash/dist/assets/{plus-77h62zZm.js.map → plus-Cm6-fo14.js.map} +1 -1
  158. package/bizar-dash/dist/assets/{power-DLmx-gCP.js → power-CXN9y2KV.js} +1 -1
  159. package/bizar-dash/dist/assets/{power-DLmx-gCP.js.map → power-CXN9y2KV.js.map} +1 -1
  160. package/bizar-dash/dist/assets/{power-off-BFKzHXic.js → power-off-DUZqwMf9.js} +1 -1
  161. package/bizar-dash/dist/assets/{power-off-BFKzHXic.js.map → power-off-DUZqwMf9.js.map} +1 -1
  162. package/bizar-dash/dist/assets/{refresh-ccw-DenGBOcq.js → refresh-ccw-DA8_IB9l.js} +1 -1
  163. package/bizar-dash/dist/assets/{refresh-ccw-DenGBOcq.js.map → refresh-ccw-DA8_IB9l.js.map} +1 -1
  164. package/bizar-dash/dist/assets/{refresh-cw-ENBVR8hW.js → refresh-cw-DwlP59en.js} +1 -1
  165. package/bizar-dash/dist/assets/{refresh-cw-ENBVR8hW.js.map → refresh-cw-DwlP59en.js.map} +1 -1
  166. package/bizar-dash/dist/assets/{rotate-ccw-MxryaY7q.js → rotate-ccw-DMTASfAn.js} +1 -1
  167. package/bizar-dash/dist/assets/{rotate-ccw-MxryaY7q.js.map → rotate-ccw-DMTASfAn.js.map} +1 -1
  168. package/bizar-dash/dist/assets/{rotate-cw-CDOlRtUR.js → rotate-cw-BDX5SE2s.js} +1 -1
  169. package/bizar-dash/dist/assets/{rotate-cw-CDOlRtUR.js.map → rotate-cw-BDX5SE2s.js.map} +1 -1
  170. package/bizar-dash/dist/assets/{save-Db1b-1Uq.js → save-Y0jPK5D6.js} +1 -1
  171. package/bizar-dash/dist/assets/{save-Db1b-1Uq.js.map → save-Y0jPK5D6.js.map} +1 -1
  172. package/bizar-dash/dist/assets/{send-yz6HFZM5.js → send-C8wwPHhR.js} +2 -2
  173. package/bizar-dash/dist/assets/{send-yz6HFZM5.js.map → send-C8wwPHhR.js.map} +1 -1
  174. package/bizar-dash/dist/assets/{shield-alert-DY6RAaC8.js → shield-alert-DEvq9UG0.js} +1 -1
  175. package/bizar-dash/dist/assets/{shield-alert-DY6RAaC8.js.map → shield-alert-DEvq9UG0.js.map} +1 -1
  176. package/bizar-dash/dist/assets/{trash-2-Cv7U38jw.js → trash-2-D6qePV_q.js} +2 -2
  177. package/bizar-dash/dist/assets/{trash-2-Cv7U38jw.js.map → trash-2-D6qePV_q.js.map} +1 -1
  178. package/bizar-dash/dist/assets/{trending-up-CRPNagyX.js → trending-up-BZzo_1ic.js} +1 -1
  179. package/bizar-dash/dist/assets/{trending-up-CRPNagyX.js.map → trending-up-BZzo_1ic.js.map} +1 -1
  180. package/bizar-dash/dist/assets/{triangle-alert-tUTXbcEP.js → triangle-alert-B2oHbmoh.js} +1 -1
  181. package/bizar-dash/dist/assets/{triangle-alert-tUTXbcEP.js.map → triangle-alert-B2oHbmoh.js.map} +1 -1
  182. package/bizar-dash/dist/assets/{upload-Cq7uTsrT.js → upload-Dy59aZn6.js} +1 -1
  183. package/bizar-dash/dist/assets/{upload-Cq7uTsrT.js.map → upload-Dy59aZn6.js.map} +1 -1
  184. package/bizar-dash/dist/assets/{zap-5lAQBAPX.js → zap-DENVhJnO.js} +2 -2
  185. package/bizar-dash/dist/assets/{zap-5lAQBAPX.js.map → zap-DENVhJnO.js.map} +1 -1
  186. package/bizar-dash/dist/index.html +3 -3
  187. package/bizar-dash/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -1
  188. package/bizar-dash/src/web/v8/App.tsx +87 -6
  189. package/bizar-dash/src/web/v8/__tests__/chat-view.test.tsx +4 -4
  190. package/bizar-dash/src/web/v8/shell/AppShell.tsx +38 -2
  191. package/bizar-dash/src/web/v8/shell/Sidebar.tsx +52 -38
  192. package/bizar-dash/src/web/v8/shell/Topbar.tsx +62 -3
  193. package/bizar-dash/src/web/v8/ui/styles/globals.css +40 -0
  194. package/bizar-dash/src/web/v8/ui/theme/ThemeToggle.tsx +11 -6
  195. package/bizar-dash/src/web/v8/views/Admin/AdminView.tsx +32 -5
  196. package/bizar-dash/src/web/v8/views/Agents/AgentsView.tsx +36 -4
  197. package/bizar-dash/src/web/v8/views/Artifacts/ArtifactsView.tsx +1 -1
  198. package/bizar-dash/src/web/v8/views/Chat/ChatView.tsx +13 -1
  199. package/bizar-dash/src/web/v8/views/ClaudeSessions/NewSessionModal.tsx +136 -0
  200. package/bizar-dash/src/web/v8/views/Clipboard/ClipboardView.tsx +1 -1
  201. package/bizar-dash/src/web/v8/views/CommandPalette/AppCommandPalette.tsx +14 -4
  202. package/bizar-dash/src/web/v8/views/Diagnostics/DiagnosticsView.tsx +50 -7
  203. package/bizar-dash/src/web/v8/views/Dialogs/DialogsView.tsx +1 -1
  204. package/bizar-dash/src/web/v8/views/Libraries/LibrariesView.tsx +6 -1
  205. package/bizar-dash/src/web/v8/views/Misc/MiscView.tsx +1 -1
  206. package/bizar-dash/src/web/v8/views/Notifications/NotificationsView.tsx +82 -13
  207. package/bizar-dash/src/web/v8/views/Overview/OverviewView.tsx +19 -0
  208. package/bizar-dash/src/web/v8/views/Projects/ProjectsView.tsx +21 -1
  209. package/bizar-dash/src/web/v8/views/Voice/VoiceView.tsx +1 -1
  210. package/bizar-dash/tests/admin-labels.test.mjs +42 -0
  211. package/bizar-dash/tests/admin-run-grouping.test.mjs +42 -0
  212. package/bizar-dash/tests/agents-preview-truncate.test.mjs +35 -0
  213. package/bizar-dash/tests/agents-summary-sanitize.test.ts +51 -0
  214. package/bizar-dash/tests/chat-new-session.test.mjs +63 -0
  215. package/bizar-dash/tests/empty-state-docs.test.mjs +55 -0
  216. package/bizar-dash/tests/focus-visible.test.mjs +30 -0
  217. package/bizar-dash/tests/kanban-empty-column.test.mjs +56 -0
  218. package/bizar-dash/tests/library-dedupe.test.mjs +62 -0
  219. package/bizar-dash/tests/notifications-dismiss-restore.test.mjs +85 -0
  220. package/bizar-dash/tests/palette-shortcut-hint.test.mjs +58 -0
  221. package/bizar-dash/tests/projects-filter.test.mjs +48 -0
  222. package/bizar-dash/tests/settings-labels.test.mjs +80 -0
  223. package/bizar-dash/tests/sidebar-distinct-icons.test.mjs +28 -0
  224. package/bizar-dash/tests/sidebar-responsive.test.tsx +48 -0
  225. package/bizar-dash/tests/sidebar-section-toggle.test.tsx +63 -0
  226. package/bizar-dash/tests/theme-toggle-icon.test.mjs +28 -0
  227. package/bizar-dash/tests/topbar-design-system.test.mjs +56 -0
  228. package/bizar-dash/vite.config.ts +8 -0
  229. package/package.json +1 -1
  230. package/packages/sdk/package.json +1 -1
  231. package/bizar-dash/dist/assets/AdminView-DNc5Ll7L.js +0 -11
  232. package/bizar-dash/dist/assets/AdminView-DNc5Ll7L.js.map +0 -1
  233. package/bizar-dash/dist/assets/AgentsView-Du-G_skK.js +0 -13
  234. package/bizar-dash/dist/assets/AgentsView-Du-G_skK.js.map +0 -1
  235. package/bizar-dash/dist/assets/ArtifactsView-znhN8GTR.js.map +0 -1
  236. package/bizar-dash/dist/assets/Avatar-B41upSD1.js +0 -6
  237. package/bizar-dash/dist/assets/Avatar-B41upSD1.js.map +0 -1
  238. package/bizar-dash/dist/assets/ChatView-CUriVEgU.js +0 -9
  239. package/bizar-dash/dist/assets/ChatView-CUriVEgU.js.map +0 -1
  240. package/bizar-dash/dist/assets/ClipboardView-DdP6aVso.js +0 -1
  241. package/bizar-dash/dist/assets/ClipboardView-DdP6aVso.js.map +0 -1
  242. package/bizar-dash/dist/assets/DiagnosticsView-88OZ5k0f.js +0 -2
  243. package/bizar-dash/dist/assets/DiagnosticsView-88OZ5k0f.js.map +0 -1
  244. package/bizar-dash/dist/assets/DialogsView-BcqDDCZQ.js +0 -6
  245. package/bizar-dash/dist/assets/DialogsView-BcqDDCZQ.js.map +0 -1
  246. package/bizar-dash/dist/assets/EvalView-CpdFu_ID.js +0 -1
  247. package/bizar-dash/dist/assets/LibrariesView-B1YX9wzp.js +0 -6
  248. package/bizar-dash/dist/assets/MiscView-DLNEGdML.js +0 -1
  249. package/bizar-dash/dist/assets/MiscView-DLNEGdML.js.map +0 -1
  250. package/bizar-dash/dist/assets/NotificationsView-DAm2O0yf.js +0 -6
  251. package/bizar-dash/dist/assets/NotificationsView-DAm2O0yf.js.map +0 -1
  252. package/bizar-dash/dist/assets/ObsidianView-Ci80gnwS.js +0 -1
  253. package/bizar-dash/dist/assets/OverviewView-rriw1GjA.js +0 -1
  254. package/bizar-dash/dist/assets/OverviewView-rriw1GjA.js.map +0 -1
  255. package/bizar-dash/dist/assets/ProjectsView-ChzM12bs.js +0 -11
  256. package/bizar-dash/dist/assets/ProjectsView-ChzM12bs.js.map +0 -1
  257. package/bizar-dash/dist/assets/UpdateView-CEHW2nd6.js +0 -6
  258. package/bizar-dash/dist/assets/UpdateView-CEHW2nd6.js.map +0 -1
  259. package/bizar-dash/dist/assets/VoiceView-CwrPwWgi.js +0 -1
  260. package/bizar-dash/dist/assets/VoiceView-CwrPwWgi.js.map +0 -1
  261. package/bizar-dash/dist/assets/main-Cxeu4LhG.js +0 -244
  262. package/bizar-dash/dist/assets/main-Cxeu4LhG.js.map +0 -1
@@ -0,0 +1,277 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/OverviewView-By69Cr5H.js","assets/cmdk-C3F6LD6N.js","assets/ActivityFeed-RQeyFifx.js","assets/trending-up-BZzo_1ic.js","assets/Card-BtsmkhJa.js","assets/Banner-C8HEcT5l.js","assets/ViewHeader-C-t1U2cQ.js","assets/Sparkline-cvkv2HbU.js","assets/circle-check-DFB50ojt.js","assets/triangle-alert-B2oHbmoh.js","assets/git-pull-request-TDb1inux.js","assets/TasksView-CQaSFzWY.js","assets/AgentActivity-Bywt1twv.js","assets/dnd-kit-BAOLODOI.js","assets/plus-Cm6-fo14.js","assets/calendar-B9Wbemh7.js","assets/Avatar-BYg0rkPA.js","assets/index-B1OIS316.js","assets/index-CR0TeJmc.js","assets/Select-CiGWEN8I.js","assets/Grid--WKvqu5h.js","assets/Input-h_nSOtwm.js","assets/Textarea-xnAybFGd.js","assets/Switch-jcYo4lmp.js","assets/Slider-Z4TP_CXY.js","assets/Alert-BZGk39mB.js","assets/circle-alert-Dz8lGfCZ.js","assets/EmptyState-DjKtY1Qi.js","assets/Sheet-B-CMP9-_.js","assets/Chip-XPOk0d_E.js","assets/trash-2-D6qePV_q.js","assets/filter-DwPjMRQt.js","assets/ProgressBar-BnaBqv-W.js","assets/SettingsRow-CflGJymA.js","assets/MessageBubble-CrCJ0SYG.js","assets/GoalsView-BZr8In4c.js","assets/external-link-DvL89gaZ.js","assets/ErrorState-CBJbEQ8B.js","assets/refresh-ccw-DA8_IB9l.js","assets/ListHeader-CM8QoIWG.js","assets/AgentsView-BnOjjM74.js","assets/zap-DENVhJnO.js","assets/play-mJh67AXo.js","assets/pause-BllItT2_.js","assets/refresh-cw-DwlP59en.js","assets/send-C8wwPHhR.js","assets/rotate-cw-BDX5SE2s.js","assets/network-BcCoCzIY.js","assets/ActivityView-CibyssPM.js","assets/circle-6NJF_Xl6.js","assets/clock-ClVA6-hQ.js","assets/MemoryView-DnL8E2vI.js","assets/file-text-BOroDtZE.js","assets/download-BvJddD8D.js","assets/brain-DhAzcHUk.js","assets/LibrariesView-Vez8CvNq.js","assets/power-CXN9y2KV.js","assets/SettingsView-2HSFJPPK.js","assets/plug-BjfntCMC.js","assets/SchedulesView-o9AtIsH9.js","assets/BackgroundJobsView-DEStvILz.js","assets/DoctorView-DepBdQGR.js","assets/UsageView-DMFbBOfH.js","assets/BackupView-B875KQa4.js","assets/NotificationsView-A-Xs8BL1.js","assets/rotate-ccw-DMTASfAn.js","assets/DiagnosticsView-4x0Zu3yP.js","assets/EvalView-BeAyMCD1.js","assets/ChatView-CkNS0SD8.js","assets/ProjectsView-C81WTFka.js","assets/ClaudeSessionsView-BprGo67K.js","assets/pencil-DAwM-CC3.js","assets/HistoryView-djEbzqtk.js","assets/AdminView-BjczABeB.js","assets/power-off-DUZqwMf9.js","assets/shield-alert-DEvq9UG0.js","assets/AuthView-D4frSShw.js","assets/EnvVarsView-S4Pbm128.js","assets/ConfigView-BntUrW7s.js","assets/save-Y0jPK5D6.js","assets/DialogsView-Xd02dVAX.js","assets/ProvidersView-2cn-TALE.js","assets/ModsView-BVM3X5xc.js","assets/upload-Dy59aZn6.js","assets/UpdateView-BUAEcRCX.js","assets/ArtifactsView-CfYB1le1.js","assets/LightRAGView-DvqzQoBp.js","assets/VoiceView-aoPVT6LJ.js","assets/ClipboardView-CPlTU5VG.js","assets/ObsidianView-mI3qW9OP.js","assets/MiscView-B2YQXhZ_.js"])))=>i.map(i=>d[i]);
2
+ var Wn=Object.defineProperty;var Bn=(e,t,r)=>t in e?Wn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ct=(e,t,r)=>Bn(e,typeof t!="symbol"?t+"":t,r);import{a as ar,r as f,j as i,P as Le,u as Ge,c as ir,b as Qe,d as Fn,e as cr,f as Hn,h as Gn,g as qn,i as Me,k as Un,l as Kn,F as Yn,D as Xn,m as Zn,n as Jn,S as Qn,o as lr,p as dr,q as ur,s as fr,t as eo,v as to,w as ro,_ as be}from"./cmdk-C3F6LD6N.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(o){if(o.ep)return;o.ep=!0;const s=r(o);fetch(o.href,s)}})();var pr,$t=ar;pr=$t.createRoot,$t.hydrateRoot;const hr=f.createContext(null),gt="bizar:theme";function no(){if(typeof window>"u")return"system";const e=window.localStorage.getItem(gt);return e==="light"||e==="dark"||e==="system"?e:"system"}function oo(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia("(prefers-color-scheme: dark)").matches}function so(e){typeof document>"u"||(document.documentElement.dataset.theme=e)}function ao({children:e,defaultMode:t}){const[r,n]=f.useState(()=>t??no()),[o,s]=f.useState(oo);f.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const h=window.matchMedia("(prefers-color-scheme: dark)"),u=m=>s(m.matches);return h.addEventListener("change",u),()=>h.removeEventListener("change",u)},[]);const a=r==="system"?o?"dark":"light":r;f.useEffect(()=>{so(a)},[a]);const c=f.useCallback(h=>{n(h),typeof window<"u"&&window.localStorage.setItem(gt,h)},[]),l=f.useCallback(()=>{n(h=>{const u=h==="light"?"dark":h==="dark"?"system":"light";return typeof window<"u"&&window.localStorage.setItem(gt,u),u})},[]),d=f.useMemo(()=>({mode:r,resolved:a,setMode:c,cycle:l}),[r,a,c,l]);return i.jsx(hr.Provider,{value:d,children:e})}const gr=f.createContext(null),mt="bizar:density";function io(){if(typeof window>"u")return"comfortable";const e=window.localStorage.getItem(mt);return e==="comfortable"||e==="compact"?e:"comfortable"}function co(e){typeof document>"u"||(document.documentElement.dataset.density=e)}function lo({children:e,defaultDensity:t}){const[r,n]=f.useState(()=>t??io());f.useEffect(()=>{co(r)},[r]);const o=f.useCallback(c=>{n(c),typeof window<"u"&&window.localStorage.setItem(mt,c)},[]),s=f.useCallback(()=>{n(c=>{const l=c==="comfortable"?"compact":"comfortable";return typeof window<"u"&&window.localStorage.setItem(mt,l),l})},[]),a=f.useMemo(()=>({density:r,setDensity:o,toggle:s}),[r,o,s]);return i.jsx(gr.Provider,{value:a,children:e})}/**
3
+ * @license lucide-react v0.460.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */const uo=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),mr=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim();/**
8
+ * @license lucide-react v0.460.0 - ISC
9
+ *
10
+ * This source code is licensed under the ISC license.
11
+ * See the LICENSE file in the root directory of this source tree.
12
+ */var fo={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
13
+ * @license lucide-react v0.460.0 - ISC
14
+ *
15
+ * This source code is licensed under the ISC license.
16
+ * See the LICENSE file in the root directory of this source tree.
17
+ */const po=f.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:o="",children:s,iconNode:a,...c},l)=>f.createElement("svg",{ref:l,...fo,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:mr("lucide",o),...c},[...a.map(([d,h])=>f.createElement(d,h)),...Array.isArray(s)?s:[s]]));/**
18
+ * @license lucide-react v0.460.0 - ISC
19
+ *
20
+ * This source code is licensed under the ISC license.
21
+ * See the LICENSE file in the root directory of this source tree.
22
+ */const j=(e,t)=>{const r=f.forwardRef(({className:n,...o},s)=>f.createElement(po,{ref:s,iconNode:t,className:mr(`lucide-${uo(e)}`,n),...o}));return r.displayName=`${e}`,r};/**
23
+ * @license lucide-react v0.460.0 - ISC
24
+ *
25
+ * This source code is licensed under the ISC license.
26
+ * See the LICENSE file in the root directory of this source tree.
27
+ */const vr=j("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/**
28
+ * @license lucide-react v0.460.0 - ISC
29
+ *
30
+ * This source code is licensed under the ISC license.
31
+ * See the LICENSE file in the root directory of this source tree.
32
+ */const ho=j("AlignJustify",[["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 18h18",key:"1h113x"}],["path",{d:"M3 6h18",key:"d0wm0j"}]]);/**
33
+ * @license lucide-react v0.460.0 - ISC
34
+ *
35
+ * This source code is licensed under the ISC license.
36
+ * See the LICENSE file in the root directory of this source tree.
37
+ */const yr=j("Archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);/**
38
+ * @license lucide-react v0.460.0 - ISC
39
+ *
40
+ * This source code is licensed under the ISC license.
41
+ * See the LICENSE file in the root directory of this source tree.
42
+ */const wt=j("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/**
43
+ * @license lucide-react v0.460.0 - ISC
44
+ *
45
+ * This source code is licensed under the ISC license.
46
+ * See the LICENSE file in the root directory of this source tree.
47
+ */const br=j("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
48
+ * @license lucide-react v0.460.0 - ISC
49
+ *
50
+ * This source code is licensed under the ISC license.
51
+ * See the LICENSE file in the root directory of this source tree.
52
+ */const xr=j("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
53
+ * @license lucide-react v0.460.0 - ISC
54
+ *
55
+ * This source code is licensed under the ISC license.
56
+ * See the LICENSE file in the root directory of this source tree.
57
+ */const wr=j("Boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]);/**
58
+ * @license lucide-react v0.460.0 - ISC
59
+ *
60
+ * This source code is licensed under the ISC license.
61
+ * See the LICENSE file in the root directory of this source tree.
62
+ */const go=j("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
63
+ * @license lucide-react v0.460.0 - ISC
64
+ *
65
+ * This source code is licensed under the ISC license.
66
+ * See the LICENSE file in the root directory of this source tree.
67
+ */const mo=j("CalendarClock",[["path",{d:"M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5",key:"1osxxc"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M3 10h5",key:"r794hk"}],["path",{d:"M17.5 17.5 16 16.3V14",key:"akvzfd"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]]);/**
68
+ * @license lucide-react v0.460.0 - ISC
69
+ *
70
+ * This source code is licensed under the ISC license.
71
+ * See the LICENSE file in the root directory of this source tree.
72
+ */const kr=j("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
73
+ * @license lucide-react v0.460.0 - ISC
74
+ *
75
+ * This source code is licensed under the ISC license.
76
+ * See the LICENSE file in the root directory of this source tree.
77
+ */const vo=j("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
78
+ * @license lucide-react v0.460.0 - ISC
79
+ *
80
+ * This source code is licensed under the ISC license.
81
+ * See the LICENSE file in the root directory of this source tree.
82
+ */const yo=j("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
83
+ * @license lucide-react v0.460.0 - ISC
84
+ *
85
+ * This source code is licensed under the ISC license.
86
+ * See the LICENSE file in the root directory of this source tree.
87
+ */const bo=j("ChevronsLeft",[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]]);/**
88
+ * @license lucide-react v0.460.0 - ISC
89
+ *
90
+ * This source code is licensed under the ISC license.
91
+ * See the LICENSE file in the root directory of this source tree.
92
+ */const xo=j("ChevronsRight",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]]);/**
93
+ * @license lucide-react v0.460.0 - ISC
94
+ *
95
+ * This source code is licensed under the ISC license.
96
+ * See the LICENSE file in the root directory of this source tree.
97
+ */const Sr=j("CircleArrowUp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]]);/**
98
+ * @license lucide-react v0.460.0 - ISC
99
+ *
100
+ * This source code is licensed under the ISC license.
101
+ * See the LICENSE file in the root directory of this source tree.
102
+ */const jr=j("ClipboardPaste",[["path",{d:"M15 2H9a1 1 0 0 0-1 1v2c0 .6.4 1 1 1h6c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1Z",key:"1pp7kr"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2M16 4h2a2 2 0 0 1 2 2v2M11 14h10",key:"2ik1ml"}],["path",{d:"m17 10 4 4-4 4",key:"vp2hj1"}]]);/**
103
+ * @license lucide-react v0.460.0 - ISC
104
+ *
105
+ * This source code is licensed under the ISC license.
106
+ * See the LICENSE file in the root directory of this source tree.
107
+ */const Ar=j("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
108
+ * @license lucide-react v0.460.0 - ISC
109
+ *
110
+ * This source code is licensed under the ISC license.
111
+ * See the LICENSE file in the root directory of this source tree.
112
+ */const Cr=j("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/**
113
+ * @license lucide-react v0.460.0 - ISC
114
+ *
115
+ * This source code is licensed under the ISC license.
116
+ * See the LICENSE file in the root directory of this source tree.
117
+ */const Rr=j("FlaskConical",[["path",{d:"M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2",key:"pzvekw"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M7 16h10",key:"wp8him"}]]);/**
118
+ * @license lucide-react v0.460.0 - ISC
119
+ *
120
+ * This source code is licensed under the ISC license.
121
+ * See the LICENSE file in the root directory of this source tree.
122
+ */const Pr=j("Folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);/**
123
+ * @license lucide-react v0.460.0 - ISC
124
+ *
125
+ * This source code is licensed under the ISC license.
126
+ * See the LICENSE file in the root directory of this source tree.
127
+ */const Er=j("Goal",[["path",{d:"M12 13V2l8 4-8 4",key:"5wlwwj"}],["path",{d:"M20.561 10.222a9 9 0 1 1-12.55-5.29",key:"1c0wjv"}],["path",{d:"M8.002 9.997a5 5 0 1 0 8.9 2.02",key:"gb1g7m"}]]);/**
128
+ * @license lucide-react v0.460.0 - ISC
129
+ *
130
+ * This source code is licensed under the ISC license.
131
+ * See the LICENSE file in the root directory of this source tree.
132
+ */const _r=j("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);/**
133
+ * @license lucide-react v0.460.0 - ISC
134
+ *
135
+ * This source code is licensed under the ISC license.
136
+ * See the LICENSE file in the root directory of this source tree.
137
+ */const Fe=j("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/**
138
+ * @license lucide-react v0.460.0 - ISC
139
+ *
140
+ * This source code is licensed under the ISC license.
141
+ * See the LICENSE file in the root directory of this source tree.
142
+ */const wo=j("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
143
+ * @license lucide-react v0.460.0 - ISC
144
+ *
145
+ * This source code is licensed under the ISC license.
146
+ * See the LICENSE file in the root directory of this source tree.
147
+ */const Mr=j("Library",[["path",{d:"m16 6 4 14",key:"ji33uf"}],["path",{d:"M12 6v14",key:"1n7gus"}],["path",{d:"M8 8v12",key:"1gg7y9"}],["path",{d:"M4 4v16",key:"6qkkli"}]]);/**
148
+ * @license lucide-react v0.460.0 - ISC
149
+ *
150
+ * This source code is licensed under the ISC license.
151
+ * See the LICENSE file in the root directory of this source tree.
152
+ */const ko=j("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
153
+ * @license lucide-react v0.460.0 - ISC
154
+ *
155
+ * This source code is licensed under the ISC license.
156
+ * See the LICENSE file in the root directory of this source tree.
157
+ */const So=j("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
158
+ * @license lucide-react v0.460.0 - ISC
159
+ *
160
+ * This source code is licensed under the ISC license.
161
+ * See the LICENSE file in the root directory of this source tree.
162
+ */const Or=j("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
163
+ * @license lucide-react v0.460.0 - ISC
164
+ *
165
+ * This source code is licensed under the ISC license.
166
+ * See the LICENSE file in the root directory of this source tree.
167
+ */const zr=j("MessageSquareText",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}],["path",{d:"M13 8H7",key:"14i4kc"}],["path",{d:"M17 12H7",key:"16if0g"}]]);/**
168
+ * @license lucide-react v0.460.0 - ISC
169
+ *
170
+ * This source code is licensed under the ISC license.
171
+ * See the LICENSE file in the root directory of this source tree.
172
+ */const Vr=j("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
173
+ * @license lucide-react v0.460.0 - ISC
174
+ *
175
+ * This source code is licensed under the ISC license.
176
+ * See the LICENSE file in the root directory of this source tree.
177
+ */const Lr=j("Mic",[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]]);/**
178
+ * @license lucide-react v0.460.0 - ISC
179
+ *
180
+ * This source code is licensed under the ISC license.
181
+ * See the LICENSE file in the root directory of this source tree.
182
+ */const jo=j("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
183
+ * @license lucide-react v0.460.0 - ISC
184
+ *
185
+ * This source code is licensed under the ISC license.
186
+ * See the LICENSE file in the root directory of this source tree.
187
+ */const Ao=j("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
188
+ * @license lucide-react v0.460.0 - ISC
189
+ *
190
+ * This source code is licensed under the ISC license.
191
+ * See the LICENSE file in the root directory of this source tree.
192
+ */const Co=j("Package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7",key:"yx3hmr"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);/**
193
+ * @license lucide-react v0.460.0 - ISC
194
+ *
195
+ * This source code is licensed under the ISC license.
196
+ * See the LICENSE file in the root directory of this source tree.
197
+ */const Ro=j("Rows3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]]);/**
198
+ * @license lucide-react v0.460.0 - ISC
199
+ *
200
+ * This source code is licensed under the ISC license.
201
+ * See the LICENSE file in the root directory of this source tree.
202
+ */const et=j("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
203
+ * @license lucide-react v0.460.0 - ISC
204
+ *
205
+ * This source code is licensed under the ISC license.
206
+ * See the LICENSE file in the root directory of this source tree.
207
+ */const Tr=j("ServerCog",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M4.5 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-.5",key:"tn8das"}],["path",{d:"M4.5 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-.5",key:"1g2pve"}],["path",{d:"M6 6h.01",key:"1utrut"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"m15.7 13.4-.9-.3",key:"1jwmzr"}],["path",{d:"m9.2 10.9-.9-.3",key:"qapnim"}],["path",{d:"m10.6 15.7.3-.9",key:"quwk0k"}],["path",{d:"m13.6 15.7-.4-1",key:"cb9xp7"}],["path",{d:"m10.8 9.3-.4-1",key:"1uaiz5"}],["path",{d:"m8.3 13.6 1-.4",key:"s6srou"}],["path",{d:"m14.7 10.8 1-.4",key:"4d31cq"}],["path",{d:"m13.4 8.3-.3.9",key:"1bm987"}]]);/**
208
+ * @license lucide-react v0.460.0 - ISC
209
+ *
210
+ * This source code is licensed under the ISC license.
211
+ * See the LICENSE file in the root directory of this source tree.
212
+ */const Ir=j("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
213
+ * @license lucide-react v0.460.0 - ISC
214
+ *
215
+ * This source code is licensed under the ISC license.
216
+ * See the LICENSE file in the root directory of this source tree.
217
+ */const Nr=j("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
218
+ * @license lucide-react v0.460.0 - ISC
219
+ *
220
+ * This source code is licensed under the ISC license.
221
+ * See the LICENSE file in the root directory of this source tree.
222
+ */const Dr=j("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
223
+ * @license lucide-react v0.460.0 - ISC
224
+ *
225
+ * This source code is licensed under the ISC license.
226
+ * See the LICENSE file in the root directory of this source tree.
227
+ */const $r=j("SquareCheckBig",[["path",{d:"M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5",key:"1uzm8b"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
228
+ * @license lucide-react v0.460.0 - ISC
229
+ *
230
+ * This source code is licensed under the ISC license.
231
+ * See the LICENSE file in the root directory of this source tree.
232
+ */const Wr=j("Stethoscope",[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]]);/**
233
+ * @license lucide-react v0.460.0 - ISC
234
+ *
235
+ * This source code is licensed under the ISC license.
236
+ * See the LICENSE file in the root directory of this source tree.
237
+ */const Po=j("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
238
+ * @license lucide-react v0.460.0 - ISC
239
+ *
240
+ * This source code is licensed under the ISC license.
241
+ * See the LICENSE file in the root directory of this source tree.
242
+ */const Br=j("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
243
+ * @license lucide-react v0.460.0 - ISC
244
+ *
245
+ * This source code is licensed under the ISC license.
246
+ * See the LICENSE file in the root directory of this source tree.
247
+ */const Fr=j("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
248
+ * @license lucide-react v0.460.0 - ISC
249
+ *
250
+ * This source code is licensed under the ISC license.
251
+ * See the LICENSE file in the root directory of this source tree.
252
+ */const Hr=j("Variable",[["path",{d:"M8 21s-4-3-4-9 4-9 4-9",key:"uto9ud"}],["path",{d:"M16 3s4 3 4 9-4 9-4 9",key:"4w2vsq"}],["line",{x1:"15",x2:"9",y1:"9",y2:"15",key:"f7djnv"}],["line",{x1:"9",x2:"15",y1:"9",y2:"15",key:"1shsy8"}]]);/**
253
+ * @license lucide-react v0.460.0 - ISC
254
+ *
255
+ * This source code is licensed under the ISC license.
256
+ * See the LICENSE file in the root directory of this source tree.
257
+ */const Eo=j("Webhook",[["path",{d:"M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2",key:"q3hayz"}],["path",{d:"m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06",key:"1go1hn"}],["path",{d:"m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8",key:"qlwsc0"}]]);/**
258
+ * @license lucide-react v0.460.0 - ISC
259
+ *
260
+ * This source code is licensed under the ISC license.
261
+ * See the LICENSE file in the root directory of this source tree.
262
+ */const Gr=j("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/**
263
+ * @license lucide-react v0.460.0 - ISC
264
+ *
265
+ * This source code is licensed under the ISC license.
266
+ * See the LICENSE file in the root directory of this source tree.
267
+ */const _o=j("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function qr(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=qr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Mo(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=qr(e))&&(n&&(n+=" "),n+=t);return n}const kt="-",Oo=e=>{const t=Vo(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{const c=a.split(kt);return c[0]===""&&c.length!==1&&c.shift(),Ur(c,t)||zo(a)},getConflictingClassGroupIds:(a,c)=>{const l=r[a]||[];return c&&n[a]?[...l,...n[a]]:l}}},Ur=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?Ur(e.slice(1),n):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(kt);return(a=t.validators.find(({validator:c})=>c(s)))==null?void 0:a.classGroupId},Wt=/^\[(.+)\]$/,zo=e=>{if(Wt.test(e)){const t=Wt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Vo=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return To(Object.entries(e.classGroups),r).forEach(([s,a])=>{vt(a,n,s,t)}),n},vt=(e,t,r,n)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:Bt(t,o);s.classGroupId=r;return}if(typeof o=="function"){if(Lo(o)){vt(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([s,a])=>{vt(a,Bt(t,s),r,n)})})},Bt=(e,t)=>{let r=e;return t.split(kt).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Lo=e=>e.isThemeGetter,To=(e,t)=>t?e.map(([r,n])=>{const o=n.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,c])=>[t+a,c])):s);return[r,o]}):e,Io=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const o=(s,a)=>{r.set(s,a),t++,t>e&&(t=0,n=r,r=new Map)};return{get(s){let a=r.get(s);if(a!==void 0)return a;if((a=n.get(s))!==void 0)return o(s,a),a},set(s,a){r.has(s)?r.set(s,a):o(s,a)}}},Kr="!",No=e=>{const{separator:t,experimentalParseClassName:r}=e,n=t.length===1,o=t[0],s=t.length,a=c=>{const l=[];let d=0,h=0,u;for(let v=0;v<c.length;v++){let b=c[v];if(d===0){if(b===o&&(n||c.slice(v,v+s)===t)){l.push(c.slice(h,v)),h=v+s;continue}if(b==="/"){u=v;continue}}b==="["?d++:b==="]"&&d--}const m=l.length===0?c:c.substring(h),g=m.startsWith(Kr),p=g?m.substring(1):m,y=u&&u>h?u-h:void 0;return{modifiers:l,hasImportantModifier:g,baseClassName:p,maybePostfixModifierPosition:y}};return r?c=>r({className:c,parseClassName:a}):a},Do=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},$o=e=>({cache:Io(e.cacheSize),parseClassName:No(e),...Oo(e)}),Wo=/\s+/,Bo=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,s=[],a=e.trim().split(Wo);let c="";for(let l=a.length-1;l>=0;l-=1){const d=a[l],{modifiers:h,hasImportantModifier:u,baseClassName:m,maybePostfixModifierPosition:g}=r(d);let p=!!g,y=n(p?m.substring(0,g):m);if(!y){if(!p){c=d+(c.length>0?" "+c:c);continue}if(y=n(m),!y){c=d+(c.length>0?" "+c:c);continue}p=!1}const v=Do(h).join(":"),b=u?v+Kr:v,w=b+y;if(s.includes(w))continue;s.push(w);const A=o(y,p);for(let S=0;S<A.length;++S){const P=A[S];s.push(b+P)}c=d+(c.length>0?" "+c:c)}return c};function Fo(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Yr(t))&&(n&&(n+=" "),n+=r);return n}const Yr=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Yr(e[n]))&&(r&&(r+=" "),r+=t);return r};function Ho(e,...t){let r,n,o,s=a;function a(l){const d=t.reduce((h,u)=>u(h),e());return r=$o(d),n=r.cache.get,o=r.cache.set,s=c,c(l)}function c(l){const d=n(l);if(d)return d;const h=Bo(l,r);return o(l,h),h}return function(){return s(Fo.apply(null,arguments))}}const $=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Xr=/^\[(?:([a-z-]+):)?(.+)\]$/i,Go=/^\d+\/\d+$/,qo=new Set(["px","full","screen"]),Uo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ko=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Yo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Xo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Zo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,J=e=>xe(e)||qo.has(e)||Go.test(e),se=e=>je(e,"length",ss),xe=e=>!!e&&!Number.isNaN(Number(e)),lt=e=>je(e,"number",xe),Pe=e=>!!e&&Number.isInteger(Number(e)),Jo=e=>e.endsWith("%")&&xe(e.slice(0,-1)),R=e=>Xr.test(e),ae=e=>Uo.test(e),Qo=new Set(["length","size","percentage"]),es=e=>je(e,Qo,Zr),ts=e=>je(e,"position",Zr),rs=new Set(["image","url"]),ns=e=>je(e,rs,is),os=e=>je(e,"",as),Ee=()=>!0,je=(e,t,r)=>{const n=Xr.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},ss=e=>Ko.test(e)&&!Yo.test(e),Zr=()=>!1,as=e=>Xo.test(e),is=e=>Zo.test(e),cs=()=>{const e=$("colors"),t=$("spacing"),r=$("blur"),n=$("brightness"),o=$("borderColor"),s=$("borderRadius"),a=$("borderSpacing"),c=$("borderWidth"),l=$("contrast"),d=$("grayscale"),h=$("hueRotate"),u=$("invert"),m=$("gap"),g=$("gradientColorStops"),p=$("gradientColorStopPositions"),y=$("inset"),v=$("margin"),b=$("opacity"),w=$("padding"),A=$("saturate"),S=$("scale"),P=$("sepia"),x=$("skew"),k=$("space"),M=$("translate"),W=()=>["auto","contain","none"],z=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto",R,t],E=()=>[R,t],L=()=>["",J,se],D=()=>["auto",xe,R],F=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],C=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",R],G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[xe,R];return{cacheSize:500,separator:":",theme:{colors:[Ee],spacing:[J,se],blur:["none","",ae,R],brightness:U(),borderColor:[e],borderRadius:["none","","full",ae,R],borderSpacing:E(),borderWidth:L(),contrast:U(),grayscale:N(),hueRotate:U(),invert:N(),gap:E(),gradientColorStops:[e],gradientColorStopPositions:[Jo,se],inset:H(),margin:H(),opacity:U(),padding:E(),saturate:U(),scale:U(),sepia:N(),skew:U(),space:E(),translate:E()},classGroups:{aspect:[{aspect:["auto","square","video",R]}],container:["container"],columns:[{columns:[ae]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...F(),R]}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Pe,R]}],basis:[{basis:H()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",R]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",Pe,R]}],"grid-cols":[{"grid-cols":[Ee]}],"col-start-end":[{col:["auto",{span:["full",Pe,R]},R]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[Ee]}],"row-start-end":[{row:["auto",{span:[Pe,R]},R]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",R]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",R]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...C()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...C(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...C(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",R,t]}],"min-w":[{"min-w":[R,t,"min","max","fit"]}],"max-w":[{"max-w":[R,t,"none","full","min","max","fit","prose",{screen:[ae]},ae]}],h:[{h:[R,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[R,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[R,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[R,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ae,se]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",lt]}],"font-family":[{font:[Ee]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",R]}],"line-clamp":[{"line-clamp":["none",xe,lt]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",J,R]}],"list-image":[{"list-image":["none",R]}],"list-style-type":[{list:["none","disc","decimal",R]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",J,se]}],"underline-offset":[{"underline-offset":["auto",J,R]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",R]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",R]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...F(),ts]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",es]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ns]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[p]}],"gradient-via-pos":[{via:[p]}],"gradient-to-pos":[{to:[p]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:V()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[J,R]}],"outline-w":[{outline:[J,se]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[J,se]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ae,os]}],"shadow-color":[{shadow:[Ee]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",ae,R]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[u]}],saturate:[{saturate:[A]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[A]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",R]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",R]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",R]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[Pe,R]}],"translate-x":[{"translate-x":[M]}],"translate-y":[{"translate-y":[M]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",R]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",R]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",R]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[J,se,lt]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},ls=Ho(cs);function q(...e){return ls(Mo(e))}const Q={0:"var(--space-0, 0)",1:"var(--space-1)",2:"var(--space-2)",3:"var(--space-3)",4:"var(--space-4)",5:"var(--space-5)",6:"var(--space-6)",8:"var(--space-8)",10:"var(--space-10)",12:"var(--space-12)",16:"var(--space-16)"},ds={none:"0",sm:"var(--radius-sm)",md:"var(--radius)",lg:"var(--radius-lg)",pill:"var(--radius-pill)"},us={none:"none",1:"var(--shadow-1)",2:"var(--shadow-2)",3:"var(--shadow-3)",4:"var(--shadow-4)"},I=f.forwardRef(function(t,r){const{as:n,p:o,px:s,py:a,pt:c,pb:l,pl:d,pr:h,bg:u,border:m,borderColor:g,rounded:p,shadow:y,inline:v,display:b,className:w,style:A,children:S,...P}=t,x=n??"div",k={...A};return o!==void 0&&(k.padding=Q[o]),s!==void 0&&(k.paddingLeft=Q[s],k.paddingRight=Q[s]),a!==void 0&&(k.paddingTop=Q[a],k.paddingBottom=Q[a]),c!==void 0&&(k.paddingTop=Q[c]),l!==void 0&&(k.paddingBottom=Q[l]),d!==void 0&&(k.paddingLeft=Q[d]),h!==void 0&&(k.paddingRight=Q[h]),u!==void 0&&u!=="transparent"&&(k.background=`var(--${u})`),m&&(k.borderWidth="1px",k.borderStyle="solid",k.borderColor=`var(--${g??"border"})`),p!==void 0&&(k.borderRadius=ds[p]),y!==void 0&&(k.boxShadow=us[y]),b!==void 0?k.display=b:v&&(k.display="inline-flex"),i.jsx(x,{ref:r,className:q("v8-box",w),style:k,...P,children:S})}),fs={0:"0",1:"var(--space-1)",2:"var(--space-2)",3:"var(--space-3)",4:"var(--space-4)",5:"var(--space-5)",6:"var(--space-6)",8:"var(--space-8)",10:"var(--space-10)",12:"var(--space-12)",16:"var(--space-16)"},ps={start:"flex-start",center:"center",end:"flex-end",baseline:"baseline",stretch:"stretch"},hs={start:"flex-start",center:"center",end:"flex-end",between:"space-between",around:"space-around"},he=f.forwardRef(function(t,r){const{as:n,gap:o=2,align:s,justify:a,wrap:c,children:l,className:d,style:h,...u}=t,m=n??"div",g={display:"flex",flexDirection:"row",gap:fs[o],...s!==void 0&&{alignItems:ps[s]},...a!==void 0&&{justifyContent:hs[a]},...c&&{flexWrap:"wrap"},...h};return i.jsx(m,{ref:r,className:q("v8-inline",d),style:g,...u,children:l})}),gs={0:"0",1:"var(--space-1)",2:"var(--space-2)",3:"var(--space-3)",4:"var(--space-4)",5:"var(--space-5)",6:"var(--space-6)",8:"var(--space-8)",10:"var(--space-10)",12:"var(--space-12)",16:"var(--space-16)"},ms={start:"flex-start",center:"center",end:"flex-end",baseline:"baseline",stretch:"stretch"},vs={start:"flex-start",center:"center",end:"flex-end",between:"space-between",around:"space-around"},Ft=f.forwardRef(function(t,r){const{as:n,gap:o=2,align:s,justify:a,children:c,className:l,style:d,...h}=t,u=n??"div",m={display:"flex",flexDirection:"row",flexWrap:"wrap",gap:gs[o],...s!==void 0&&{alignItems:ms[s]},...a!==void 0&&{justifyContent:vs[a]},...d};return i.jsx(u,{ref:r,className:q("v8-cluster",l),style:m,...h,children:c})}),Oe=f.forwardRef(function(t,r){const{orientation:n="horizontal",decorative:o,tone:s="border",className:a,style:c,...l}=t,d={background:`var(--${s})`,...n==="horizontal"?{height:"1px",width:"100%"}:{width:"1px",height:"100%",alignSelf:"stretch"},...c};return i.jsx("div",{ref:r,role:o?"presentation":"separator","aria-orientation":o?void 0:n,"aria-hidden":o?"true":void 0,className:q("v8-separator",a),style:d,...l})}),ys=["top","right","bottom","left"],ce=Math.min,ee=Math.max,Ke=Math.round,He=Math.floor,te=e=>({x:e,y:e}),bs={left:"right",right:"left",bottom:"top",top:"bottom"};function Jr(e,t,r){return ee(e,ce(t,r))}function ne(e,t){return typeof e=="function"?e(t):e}function le(e){return e.split("-")[0]}function Ae(e){return e.split("-")[1]}function St(e){return e==="x"?"y":"x"}function jt(e){return e==="y"?"height":"width"}function Y(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function At(e){return St(Y(e))}function xs(e,t,r){r===void 0&&(r=!1);const n=Ae(e),o=At(e),s=jt(o);let a=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=Ye(a)),[a,Ye(a)]}function ws(e){const t=Ye(e);return[yt(e),t,yt(t)]}function yt(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Ht=["left","right"],Gt=["right","left"],ks=["top","bottom"],Ss=["bottom","top"];function js(e,t,r){switch(e){case"top":case"bottom":return r?t?Gt:Ht:t?Ht:Gt;case"left":case"right":return t?ks:Ss;default:return[]}}function As(e,t,r,n){const o=Ae(e);let s=js(le(e),r==="start",n);return o&&(s=s.map(a=>a+"-"+o),t&&(s=s.concat(s.map(yt)))),s}function Ye(e){const t=le(e);return bs[t]+e.slice(t.length)}function Cs(e){var t,r,n,o;return{top:(t=e.top)!=null?t:0,right:(r=e.right)!=null?r:0,bottom:(n=e.bottom)!=null?n:0,left:(o=e.left)!=null?o:0}}function Qr(e){return typeof e!="number"?Cs(e):{top:e,right:e,bottom:e,left:e}}function Xe(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function qt(e,t,r){let{reference:n,floating:o}=e;const s=Y(t),a=At(t),c=jt(a),l=le(t),d=s==="y",h=n.x+n.width/2-o.width/2,u=n.y+n.height/2-o.height/2,m=n[c]/2-o[c]/2;let g;switch(l){case"top":g={x:h,y:n.y-o.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:u};break;case"left":g={x:n.x-o.width,y:u};break;default:g={x:n.x,y:n.y}}const p=Ae(t);return p&&(g[a]+=m*(p==="end"?1:-1)*(r&&d?-1:1)),g}async function Rs(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:s,rects:a,elements:c,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:g=0}=ne(t,e),p=Qr(g),v=c[m?u==="floating"?"reference":"floating":u],b=Xe(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(v)))==null||r?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:d,rootBoundary:h,strategy:l})),w=u==="floating"?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,A=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),S=await(s.isElement==null?void 0:s.isElement(A))&&await(s.getScale==null?void 0:s.getScale(A))||{x:1,y:1},P=Xe(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:A,strategy:l}):w);return{top:(b.top-P.top+p.top)/S.y,bottom:(P.bottom-b.bottom+p.bottom)/S.y,left:(b.left-P.left+p.left)/S.x,right:(P.right-b.right+p.right)/S.x}}const Ps=50,Es=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:a}=r,c=a.detectOverflow?a:{...a,detectOverflow:Rs},l=await(a.isRTL==null?void 0:a.isRTL(t));let d=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y:u}=qt(d,n,l),m=n,g=0;const p={};for(let y=0;y<s.length;y++){const v=s[y];if(!v)continue;const{name:b,fn:w}=v,{x:A,y:S,data:P,reset:x}=await w({x:h,y:u,initialPlacement:n,placement:m,strategy:o,middlewareData:p,rects:d,platform:c,elements:{reference:e,floating:t}});h=A??h,u=S??u,p[b]={...p[b],...P},x&&g<Ps&&(g++,typeof x=="object"&&(x.placement&&(m=x.placement),x.rects&&(d=x.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:h,y:u}=qt(d,m,l)),y=-1)}return{x:h,y:u,placement:m,strategy:o,middlewareData:p}},_s=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:s,platform:a,elements:c,middlewareData:l}=t,{element:d,padding:h=0}=ne(e,t)||{};if(d==null)return{};const u=Qr(h),m={x:r,y:n},g=At(o),p=jt(g),y=await a.getDimensions(d),v=g==="y",b=v?"top":"left",w=v?"bottom":"right",A=v?"clientHeight":"clientWidth",S=s.reference[p]+s.reference[g]-m[g]-s.floating[p],P=m[g]-s.reference[g],x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d));let k=x?x[A]:0;(!k||!await(a.isElement==null?void 0:a.isElement(x)))&&(k=c.floating[A]||s.floating[p]);const M=S/2-P/2,W=k/2-y[p]/2-1,z=ce(u[b],W),H=ce(u[w],W),E=k-y[p]-H,L=k/2-y[p]/2+M,D=Jr(z,L,E),F=!l.arrow&&Ae(o)!=null&&L!==D&&s.reference[p]/2-(L<z?z:H)-y[p]/2<0,V=F?L<z?L-z:L-E:0;return{[g]:m[g]+V,data:{[g]:D,centerOffset:L-D-V,...F&&{alignmentOffset:V}},reset:F}}}),Ms=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:s,rects:a,initialPlacement:c,platform:l,elements:d}=t,{mainAxis:h=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:y=!0,...v}=ne(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const b=le(o),w=Y(c),A=le(c)===c,S=await(l.isRTL==null?void 0:l.isRTL(d.floating)),P=m||(A||!y?[Ye(c)]:ws(c)),x=p!=="none";!m&&x&&P.push(...As(c,y,p,S));const k=[c,...P],M=await l.detectOverflow(t,v),W=[];let z=((n=s.flip)==null?void 0:n.overflows)||[];if(h&&W.push(M[b]),u){const D=xs(o,a,S);W.push(M[D[0]],M[D[1]])}if(z=[...z,{placement:o,overflows:W}],!W.every(D=>D<=0)){var H,E;const D=(((H=s.flip)==null?void 0:H.index)||0)+1,F=k[D];if(F&&(!(u==="alignment"?w!==Y(F):!1)||z.every(C=>Y(C.placement)===w?C.overflows[0]>0:!0)))return{data:{index:D,overflows:z},reset:{placement:F}};let V=(E=z.filter(B=>B.overflows[0]<=0).sort((B,C)=>B.overflows[1]-C.overflows[1])[0])==null?void 0:E.placement;if(!V)switch(g){case"bestFit":{var L;const B=(L=z.filter(C=>{if(x){const N=Y(C.placement);return N===w||N==="y"}return!0}).map(C=>[C.placement,C.overflows.filter(N=>N>0).reduce((N,G)=>N+G,0)]).sort((C,N)=>C[1]-N[1])[0])==null?void 0:L[0];B&&(V=B);break}case"initialPlacement":V=c;break}if(o!==V)return{reset:{placement:V}}}return{}}}};function Ut(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Kt(e){return ys.some(t=>e[t]>=0)}const Os=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:n}=t,{strategy:o="referenceHidden",...s}=ne(e,t);switch(o){case"referenceHidden":{const a=await n.detectOverflow(t,{...s,elementContext:"reference"}),c=Ut(a,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Kt(c)}}}case"escaped":{const a=await n.detectOverflow(t,{...s,altBoundary:!0}),c=Ut(a,r.floating);return{data:{escapedOffsets:c,escaped:Kt(c)}}}default:return{}}}}},en=new Set(["left","top"]);async function zs(e,t){const{placement:r,platform:n,elements:o}=e,s=await(n.isRTL==null?void 0:n.isRTL(o.floating)),a=le(r),c=Ae(r),l=Y(r)==="y",d=en.has(a)?-1:1,h=s&&l?-1:1,u=ne(t,e);let{mainAxis:m,crossAxis:g,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof p=="number"&&(g=c==="end"?p*-1:p),l?{x:g*h,y:m*d}:{x:m*d,y:g*h}}const Vs=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:s,placement:a,middlewareData:c}=t,l=await zs(t,e);return a===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:a}}}}},Ls=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o,platform:s}=t,{mainAxis:a=!0,crossAxis:c=!1,limiter:l={fn:w=>{let{x:A,y:S}=w;return{x:A,y:S}}},...d}=ne(e,t),h={x:r,y:n},u=await s.detectOverflow(t,d),m=Y(o),g=St(m);let p=h[g],y=h[m];const v=(w,A)=>Jr(A+u[w==="y"?"top":"left"],A,A-u[w==="y"?"bottom":"right"]);a&&(p=v(g,p)),c&&(y=v(m,y));const b=l.fn({...t,[g]:p,[m]:y});return{...b,data:{x:b.x-r,y:b.y-n,enabled:{[g]:a,[m]:c}}}}}},Ts=function(e){return e===void 0&&(e={}),{options:e,fn(t){var r,n;const{x:o,y:s,placement:a,rects:c,middlewareData:l}=t,{offset:d=0,mainAxis:h=!0,crossAxis:u=!0}=ne(e,t),m={x:o,y:s},g=Y(a),p=St(g);let y=m[p],v=m[g];const b=ne(d,t),w=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:(r=b.mainAxis)!=null?r:0,crossAxis:(n=b.crossAxis)!=null?n:0};if(h){const P=p==="y"?"height":"width",x=c.reference[p]-c.floating[P]+w.mainAxis,k=c.reference[p]+c.reference[P]-w.mainAxis;y<x?y=x:y>k&&(y=k)}if(u){var A,S;const P=p==="y"?"width":"height",x=en.has(le(a)),k=c.reference[g]-c.floating[P]+(x&&((A=l.offset)==null?void 0:A[g])||0)+(x?0:w.crossAxis),M=c.reference[g]+c.reference[P]+(x?0:((S=l.offset)==null?void 0:S[g])||0)-(x?w.crossAxis:0);v<k?v=k:v>M&&(v=M)}return{[p]:y,[g]:v}}}},Is=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:s}=t,{apply:a=()=>{},...c}=ne(e,t),l=await o.detectOverflow(t,c),d=le(r),h=Ae(r),u=Y(r)==="y",{width:m,height:g}=n.floating;let p,y;d==="top"||d==="bottom"?(p=d,y=h===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(y=d,p=h==="end"?"top":"bottom");const v=g-l.top-l.bottom,b=m-l.left-l.right,w=ce(g-l[p],v),A=ce(m-l[y],b),S=t.middlewareData.shift,P=!S;let x=w,k=A;S!=null&&S.enabled.x&&(k=b),S!=null&&S.enabled.y&&(x=v),P&&!h&&(u?k=m-2*ee(l.left,l.right):x=g-2*ee(l.top,l.bottom)),await a({...t,availableWidth:k,availableHeight:x});const M=await o.getDimensions(s.floating);return m!==M.width||g!==M.height?{reset:{rects:!0}}:{}}}};function tt(){return typeof window<"u"}function Ce(e){return tn(e)?(e.nodeName||"").toLowerCase():"#document"}function K(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function oe(e){var t;return(t=(tn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function tn(e){return tt()?e instanceof Node||e instanceof K(e).Node:!1}function X(e){return tt()?e instanceof Element||e instanceof K(e).Element:!1}function de(e){return tt()?e instanceof HTMLElement||e instanceof K(e).HTMLElement:!1}function Yt(e){return!tt()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof K(e).ShadowRoot}function rt(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Z(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&o!=="inline"&&o!=="contents"}function Ns(e){return/^(table|td|th)$/.test(Ce(e))}function nt(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Ds=/transform|translate|scale|rotate|perspective|filter/,$s=/paint|layout|strict|content/,pe=e=>!!e&&e!=="none";let dt;function Ct(e){const t=X(e)?Z(e):e;return pe(t.transform)||pe(t.translate)||pe(t.scale)||pe(t.rotate)||pe(t.perspective)||!Rt()&&(pe(t.backdropFilter)||pe(t.filter))||Ds.test(t.willChange||"")||$s.test(t.contain||"")}function Ws(e){let t=ge(e);for(;de(t)&&!ze(t);){if(Ct(t))return t;if(nt(t))return null;t=ge(t)}return null}function Rt(){return dt==null&&(dt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),dt}function ze(e){return/^(html|body|#document)$/.test(Ce(e))}function Z(e){return K(e).getComputedStyle(e)}function ot(e){return X(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ge(e){if(Ce(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Yt(e)&&e.host||oe(e);return Yt(t)?t.host:t}function rn(e){const t=ge(e);return ze(t)?(e.ownerDocument||e).body:de(t)&&rt(t)?t:rn(t)}function Ve(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=rn(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),a=K(o);if(s){const c=bt(a);return t.concat(a,a.visualViewport||[],rt(o)?o:[],c&&r?Ve(c):[])}else return t.concat(o,Ve(o,[],r))}function bt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function nn(e){const t=Z(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=de(e),s=o?e.offsetWidth:r,a=o?e.offsetHeight:n,c=Ke(r)!==s||Ke(n)!==a;return c&&(r=s,n=a),{width:r,height:n,$:c}}function Pt(e){return X(e)?e:e.contextElement}function we(e){const t=Pt(e);if(!de(t))return te(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:s}=nn(t);let a=(s?Ke(r.width):r.width)/n,c=(s?Ke(r.height):r.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const Bs=te(0);function on(e){const t=K(e);return!Rt()||!t.visualViewport?Bs:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Fs(e,t,r){return t===void 0&&(t=!1),!!r&&t&&r===K(e)}function me(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),s=Pt(e);let a=te(1);t&&(n?X(n)&&(a=we(n)):a=we(e));const c=Fs(s,r,n)?on(s):te(0);let l=(o.left+c.x)/a.x,d=(o.top+c.y)/a.y,h=o.width/a.x,u=o.height/a.y;if(s&&n){const m=K(s),g=X(n)?K(n):n;let p=m,y=bt(p);for(;y&&g!==p;){const v=we(y),b=y.getBoundingClientRect(),w=Z(y),A=b.left+(y.clientLeft+parseFloat(w.paddingLeft))*v.x,S=b.top+(y.clientTop+parseFloat(w.paddingTop))*v.y;l*=v.x,d*=v.y,h*=v.x,u*=v.y,l+=A,d+=S,p=K(y),y=bt(p)}}return Xe({width:h,height:u,x:l,y:d})}function st(e,t){const r=ot(e).scrollLeft;return t?t.left+r:me(oe(e)).left+r}function sn(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-st(e,r),o=r.top+t.scrollTop;return{x:n,y:o}}function Hs(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const s=o==="fixed",a=oe(n),c=t?nt(t.floating):!1;if(n===a||c&&s)return r;let l={scrollLeft:0,scrollTop:0},d=te(1);const h=te(0),u=de(n);if((u||!s)&&((Ce(n)!=="body"||rt(a))&&(l=ot(n)),u)){const g=me(n);d=we(n),h.x=g.x+n.clientLeft,h.y=g.y+n.clientTop}const m=a&&!u&&!s?sn(a,l):te(0);return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-l.scrollLeft*d.x+h.x+m.x,y:r.y*d.y-l.scrollTop*d.y+h.y+m.y}}function Gs(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function qs(e){const t=ot(e),r=e.ownerDocument.body,n=ee(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),o=ee(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let s=-t.scrollLeft+st(e);const a=-t.scrollTop;return Z(r).direction==="rtl"&&(s+=ee(e.clientWidth,r.clientWidth)-n),{width:n,height:o,x:s,y:a}}const Us=25;function Ks(e,t,r){r===void 0&&(r="viewport");const n=r==="layoutViewport",o=K(e),s=oe(e),a=o.visualViewport;let c=s.clientWidth,l=s.clientHeight,d=0,h=0;if(a){const m=!Rt()||t==="fixed";n?m||(d=-a.offsetLeft,h=-a.offsetTop):(c=a.width,l=a.height,m&&(d=a.offsetLeft,h=a.offsetTop))}if(st(s)<=0){const m=s.ownerDocument,g=m.body,p=getComputedStyle(g),y=m.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,v=Math.abs(s.clientWidth-g.clientWidth-y),b=getComputedStyle(s).scrollbarGutter==="stable both-edges"?v/2:v;b<=Us&&(c-=b)}return{width:c,height:l,x:d,y:h}}function Ys(e,t){const r=me(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,s=we(e),a=e.clientWidth*s.x,c=e.clientHeight*s.y,l=o*s.x,d=n*s.y;return{width:a,height:c,x:l,y:d}}function Xt(e,t,r){let n;if(t==="viewport"||t==="layoutViewport")n=Ks(e,r,t);else if(t==="document")n=qs(oe(e));else if(X(t))n=Ys(t,r);else{const o=on(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Xe(n)}function Xs(e,t){const r=t.get(e);if(r)return r;let n=Ve(e,[],!1).filter(c=>X(c)&&Ce(c)!=="body"),o=null;const s=Z(e).position==="fixed";let a=s?ge(e):e;for(;X(a)&&!ze(a);){const c=Z(a),l=Ct(a),d=o?o.position:s?"fixed":"";!l&&(d==="fixed"||d==="absolute"&&c.position==="static")?n=n.filter(u=>u!==a):o=c,a=ge(a)}return t.set(e,n),n}function Zs(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?nt(t)?[]:Xs(t,this._c):[].concat(r),n],c=Xt(t,a[0],o);let l=c.top,d=c.right,h=c.bottom,u=c.left;for(let m=1;m<a.length;m++){const g=Xt(t,a[m],o);l=ee(g.top,l),d=ce(g.right,d),h=ce(g.bottom,h),u=ee(g.left,u)}return{width:d-u,height:h-l,x:u,y:l}}function Js(e){const{width:t,height:r}=nn(e);return{width:t,height:r}}function Qs(e,t,r){const n=de(t),o=oe(t),s=r==="fixed",a=me(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const l=te(0);if((n||!s)&&((Ce(t)!=="body"||rt(o))&&(c=ot(t)),n)){const m=me(t,!0,s,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}!n&&o&&(l.x=st(o));const d=o&&!n&&!s?sn(o,c):te(0),h=a.left+c.scrollLeft-l.x-d.x,u=a.top+c.scrollTop-l.y-d.y;return{x:h,y:u,width:a.width,height:a.height}}function ut(e){return Z(e).position==="static"}function Zt(e,t){if(!de(e)||Z(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return oe(e)===r&&(r=r.ownerDocument.body),r}function an(e,t){const r=K(e);if(nt(e))return r;if(!de(e)){let o=ge(e);for(;o&&!ze(o);){if(X(o)&&!ut(o))return o;o=ge(o)}return r}let n=Zt(e,t);for(;n&&Ns(n)&&ut(n);)n=Zt(n,t);return n&&ze(n)&&ut(n)&&!Ct(n)?r:n||Ws(e)||r}const ea=async function(e){const t=this.getOffsetParent||an,r=this.getDimensions,n=await r(e.floating);return{reference:Qs(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function ta(e){return Z(e).direction==="rtl"}const ra={convertOffsetParentRelativeRectToViewportRelativeRect:Hs,getDocumentElement:oe,getClippingRect:Zs,getOffsetParent:an,getElementRects:ea,getClientRects:Gs,getDimensions:Js,getScale:we,isElement:X,isRTL:ta};function cn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function na(e,t,r){let n=null,o;const s=oe(e);function a(){var h;clearTimeout(o),(h=n)==null||h.disconnect(),n=null}function c(h,u){h===void 0&&(h=!1),u===void 0&&(u=1),a();const m=e.getBoundingClientRect(),{left:g,top:p,width:y,height:v}=m;if(h||t(),!y||!v)return;const b=He(p),w=He(s.clientWidth-(g+y)),A=He(s.clientHeight-(p+v)),S=He(g),x={rootMargin:-b+"px "+-w+"px "+-A+"px "+-S+"px",threshold:ee(0,ce(1,u))||1};let k=!0;function M(W){const z=W[0].intersectionRatio;if(!cn(m,e.getBoundingClientRect()))return c();if(z!==u){if(!k)return c();z?c(!1,z):o=setTimeout(()=>{c(!1,1e-7)},1e3)}k=!1}try{n=new IntersectionObserver(M,{...x,root:s.ownerDocument})}catch{n=new IntersectionObserver(M,x)}n.observe(e)}const l=K(e),d=()=>c(r);return l.addEventListener("resize",d),c(!0),()=>{l.removeEventListener("resize",d),a()}}function oa(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,d=Pt(e),h=o||s?[...d?Ve(d):[],...t?Ve(t):[]]:[];h.forEach(b=>{o&&b.addEventListener("scroll",r),s&&b.addEventListener("resize",r)});const u=d&&c?na(d,r,s):null;let m=-1,g=null;a&&(g=new ResizeObserver(b=>{let[w]=b;w&&w.target===d&&g&&t&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var A;(A=g)==null||A.observe(t)})),r()}),d&&!l&&g.observe(d),t&&g.observe(t));let p,y=l?me(e):null;l&&v();function v(){const b=me(e);y&&!cn(y,b)&&r(),y=b,p=requestAnimationFrame(v)}return r(),()=>{var b;h.forEach(w=>{o&&w.removeEventListener("scroll",r),s&&w.removeEventListener("resize",r)}),u==null||u(),(b=g)==null||b.disconnect(),g=null,l&&cancelAnimationFrame(p)}}const sa=Vs,aa=Ls,ia=Ms,ca=Is,la=Os,Jt=_s,da=Ts,ua=(e,t,r)=>{const n=new Map,o=r??{},s={...ra,...o.platform,_c:n};return Es(e,t,{...o,platform:s})};var fa=typeof document<"u",pa=function(){},qe=fa?f.useLayoutEffect:pa;function Ze(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!Ze(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const s=o[n];if(!(s==="_owner"&&e.$$typeof)&&!Ze(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function ln(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Qt(e,t){const r=ln(e);return Math.round(t*r)/r}function ft(e){const t=f.useRef(e);return qe(()=>{t.current=e}),t}function ha(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:s,floating:a}={},transform:c=!0,whileElementsMounted:l,open:d}=e,[h,u]=f.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[m,g]=f.useState(n);Ze(m,n)||g(n);const[p,y]=f.useState(null),[v,b]=f.useState(null),w=f.useCallback(C=>{C!==x.current&&(x.current=C,y(C))},[]),A=f.useCallback(C=>{C!==k.current&&(k.current=C,b(C))},[]),S=s||p,P=a||v,x=f.useRef(null),k=f.useRef(null),M=f.useRef(h),W=l!=null,z=ft(l),H=ft(o),E=ft(d),L=f.useCallback(()=>{if(!x.current||!k.current)return;const C={placement:t,strategy:r,middleware:m};H.current&&(C.platform=H.current),ua(x.current,k.current,C).then(N=>{const G={...N,isPositioned:E.current!==!1};D.current&&!Ze(M.current,G)&&(M.current=G,ar.flushSync(()=>{u(G)}))})},[m,t,r,H,E]);qe(()=>{d===!1&&M.current.isPositioned&&(M.current.isPositioned=!1,u(C=>({...C,isPositioned:!1})))},[d]);const D=f.useRef(!1);qe(()=>(D.current=!0,()=>{D.current=!1}),[]),qe(()=>{if(S&&(x.current=S),P&&(k.current=P),S&&P){if(z.current)return z.current(S,P,L);L()}},[S,P,L,z,W]);const F=f.useMemo(()=>({reference:x,floating:k,setReference:w,setFloating:A}),[w,A]),V=f.useMemo(()=>({reference:S,floating:P}),[S,P]),B=f.useMemo(()=>{const C={position:r,left:0,top:0};if(!V.floating)return C;const N=Qt(V.floating,h.x),G=Qt(V.floating,h.y);return c?{...C,transform:"translate("+N+"px, "+G+"px)",...ln(V.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:N,top:G}},[r,c,V.floating,h.x,h.y]);return f.useMemo(()=>({...h,update:L,refs:F,elements:V,floatingStyles:B}),[h,L,F,V,B])}const ga=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:o}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?Jt({element:n.current,padding:o}).fn(r):{}:n?Jt({element:n,padding:o}).fn(r):{}}}},ma=(e,t)=>{const r=sa(e);return{name:r.name,fn:r.fn,options:[e,t]}},va=(e,t)=>{const r=aa(e);return{name:r.name,fn:r.fn,options:[e,t]}},ya=(e,t)=>({fn:da(e).fn,options:[e,t]}),ba=(e,t)=>{const r=ia(e);return{name:r.name,fn:r.fn,options:[e,t]}},xa=(e,t)=>{const r=ca(e);return{name:r.name,fn:r.fn,options:[e,t]}},wa=(e,t)=>{const r=la(e);return{name:r.name,fn:r.fn,options:[e,t]}},ka=(e,t)=>{const r=ga(e);return{name:r.name,fn:r.fn,options:[e,t]}};var Sa="Arrow",dn=f.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...s}=e;return i.jsx(Le.svg,{...s,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:i.jsx("polygon",{points:"0,0 30,0 15,10"})})});dn.displayName=Sa;var ja=dn;function Aa(e){const[t,r]=f.useState(void 0);return Ge(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let a,c;if("borderBoxSize"in s){const l=s.borderBoxSize,d=Array.isArray(l)?l[0]:l;a=d.inlineSize,c=d.blockSize}else a=e.offsetWidth,c=e.offsetHeight;r({width:a,height:c})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var Et="Popper",[un,fn]=ir(Et),[Ca,pn]=un(Et),hn=e=>{const{__scopePopper:t,children:r}=e,[n,o]=f.useState(null),[s,a]=f.useState(void 0);return i.jsx(Ca,{scope:t,anchor:n,onAnchorChange:o,placementState:s,setPlacementState:a,children:r})};hn.displayName=Et;var gn="PopperAnchor",mn=f.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,s=pn(gn,r),a=f.useRef(null),c=s.onAnchorChange,l=f.useCallback(p=>{a.current=p,p&&c(p)},[c]),d=Qe(t,l),h=f.useRef(null);f.useEffect(()=>{if(!n)return;const p=h.current;h.current=n.current,p!==h.current&&c(h.current)});const u=s.placementState&&Mt(s.placementState),m=u==null?void 0:u[0],g=u==null?void 0:u[1];return n?null:i.jsx(Le.div,{"data-radix-popper-side":m,"data-radix-popper-align":g,...o,ref:d})});mn.displayName=gn;var _t="PopperContent",[Ra,Pa]=un(_t),vn=f.forwardRef((e,t)=>{var Re,Vt,Lt,Tt,It,Nt;const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:s="center",alignOffset:a=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:d=[],collisionPadding:h=0,sticky:u="partial",hideWhenDetached:m=!1,updatePositionStrategy:g="optimized",onPlaced:p,...y}=e,v=pn(_t,r),[b,w]=f.useState(null),A=Qe(t,w),[S,P]=f.useState(null),x=Aa(S),k=(x==null?void 0:x.width)??0,M=(x==null?void 0:x.height)??0,W=n+(s!=="center"?"-"+s:""),z=typeof h=="number"?h:{top:0,right:0,bottom:0,left:0,...h},H=Array.isArray(d)?d:[d],E=H.length>0,L={padding:z,boundary:H.filter(_a),altBoundary:E},{refs:D,floatingStyles:F,placement:V,isPositioned:B,middlewareData:C}=ha({strategy:"fixed",placement:W,whileElementsMounted:(...it)=>oa(...it,{animationFrame:g==="always"}),elements:{reference:v.anchor},middleware:[ma({mainAxis:o+M,alignmentAxis:a}),l&&va({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?ya():void 0,...L}),l&&ba({...L}),xa({...L,apply:({elements:it,rects:Dt,availableWidth:In,availableHeight:Nn})=>{const{width:Dn,height:$n}=Dt.reference,Be=it.floating.style;Be.setProperty("--radix-popper-available-width",`${In}px`),Be.setProperty("--radix-popper-available-height",`${Nn}px`),Be.setProperty("--radix-popper-anchor-width",`${Dn}px`),Be.setProperty("--radix-popper-anchor-height",`${$n}px`)}}),S&&ka({element:S,padding:c}),Ma({arrowWidth:k,arrowHeight:M}),m&&wa({strategy:"referenceHidden",...L,boundary:E?L.boundary:void 0})]}),N=v.setPlacementState;Ge(()=>(N(V),()=>{N(void 0)}),[V,N]);const[G,U]=Mt(V),fe=Fn(p);Ge(()=>{B&&(fe==null||fe())},[B,fe]);const Ie=(Re=C.arrow)==null?void 0:Re.x,Ne=(Vt=C.arrow)==null?void 0:Vt.y,De=((Lt=C.arrow)==null?void 0:Lt.centerOffset)!==0,[$e,We]=f.useState();return Ge(()=>{b&&We(window.getComputedStyle(b).zIndex)},[b]),i.jsx("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...F,transform:B?F.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:$e,"--radix-popper-transform-origin":[(Tt=C.transformOrigin)==null?void 0:Tt.x,(It=C.transformOrigin)==null?void 0:It.y].join(" "),...((Nt=C.hide)==null?void 0:Nt.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:i.jsx(Ra,{scope:r,placedSide:G,placedAlign:U,onArrowChange:P,arrowX:Ie,arrowY:Ne,shouldHideArrow:De,children:i.jsx(Le.div,{"data-side":G,"data-align":U,...y,ref:A,style:{...y.style,animation:B?void 0:"none"}})})})});vn.displayName=_t;var yn="PopperArrow",Ea={top:"bottom",right:"left",bottom:"top",left:"right"},bn=f.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,s=Pa(yn,n),a=Ea[s.placedSide];return i.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:i.jsx(ja,{...o,ref:r,style:{...o.style,display:"block"}})})});bn.displayName=yn;function _a(e){return e!==null}var Ma=e=>({name:"transformOrigin",options:e,fn(t){var v,b,w;const{placement:r,rects:n,middlewareData:o}=t,a=((v=o.arrow)==null?void 0:v.centerOffset)!==0,c=a?0:e.arrowWidth,l=a?0:e.arrowHeight,[d,h]=Mt(r),u={start:"0%",center:"50%",end:"100%"}[h],m=(((b=o.arrow)==null?void 0:b.x)??0)+c/2,g=(((w=o.arrow)==null?void 0:w.y)??0)+l/2;let p="",y="";return d==="bottom"?(p=a?u:`${m}px`,y=`${-l}px`):d==="top"?(p=a?u:`${m}px`,y=`${n.floating.height+l}px`):d==="right"?(p=`${-l}px`,y=a?u:`${g}px`):d==="left"&&(p=`${n.floating.width+l}px`,y=a?u:`${g}px`),{data:{x:p,y}}}});function Mt(e){const[t,r="center"]=e.split("-");return[t,r]}var Oa=hn,xn=mn,za=vn,Va=bn,at="Popover",[wn]=ir(at,[fn]),Te=fn(),[La,ue]=wn(at),kn=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:s,modal:a=!1}=e,c=Te(t),l=f.useRef(null),[d,h]=f.useState(!1),[u,m]=Zn({prop:n,defaultProp:o??!1,onChange:s,caller:at});return i.jsx(Oa,{...c,children:i.jsx(La,{scope:t,contentId:Jn(),triggerRef:l,open:u,onOpenChange:m,onOpenToggle:f.useCallback(()=>m(g=>!g),[m]),hasCustomAnchor:d,onCustomAnchorAdd:f.useCallback(()=>h(!0),[]),onCustomAnchorRemove:f.useCallback(()=>h(!1),[]),modal:a,children:r})})};kn.displayName=at;var Sn="PopoverAnchor",Ta=f.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ue(Sn,r),s=Te(r),{onCustomAnchorAdd:a,onCustomAnchorRemove:c}=o;return f.useEffect(()=>(a(),()=>c()),[a,c]),i.jsx(xn,{...s,...n,ref:t})});Ta.displayName=Sn;var jn="PopoverTrigger",An=f.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ue(jn,r),s=Te(r),a=Qe(t,o.triggerRef),c=i.jsx(Le.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":Mn(o.open),...n,ref:a,onClick:Me(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?c:i.jsx(xn,{asChild:!0,...s,children:c})});An.displayName=jn;var Ot="PopoverPortal",[Ia,Na]=wn(Ot,{forceMount:void 0}),Cn=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,s=ue(Ot,t);return i.jsx(Ia,{scope:t,forceMount:r,children:i.jsx(cr,{present:r||s.open,children:i.jsx(Hn,{asChild:!0,container:o,children:n})})})};Cn.displayName=Ot;var ke="PopoverContent",Rn=f.forwardRef((e,t)=>{const r=Na(ke,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,s=ue(ke,e.__scopePopover);return i.jsx(cr,{present:n||s.open,children:s.modal?i.jsx($a,{...o,ref:t}):i.jsx(Wa,{...o,ref:t})})});Rn.displayName=ke;var Da=Un("PopoverContent.RemoveScroll"),$a=f.forwardRef((e,t)=>{const r=ue(ke,e.__scopePopover),n=f.useRef(null),o=Qe(t,n),s=f.useRef(!1);return f.useEffect(()=>{const a=n.current;if(a)return Gn(a)},[]),i.jsx(qn,{as:Da,allowPinchZoom:!0,children:i.jsx(Pn,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Me(e.onCloseAutoFocus,a=>{var c;a.preventDefault(),s.current||(c=r.triggerRef.current)==null||c.focus()}),onPointerDownOutside:Me(e.onPointerDownOutside,a=>{const c=a.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0,d=c.button===2||l;s.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:Me(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),Wa=f.forwardRef((e,t)=>{const r=ue(ke,e.__scopePopover),n=f.useRef(!1),o=f.useRef(!1);return i.jsx(Pn,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var a,c;(a=e.onCloseAutoFocus)==null||a.call(e,s),s.defaultPrevented||(n.current||(c=r.triggerRef.current)==null||c.focus(),s.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:s=>{var l,d;(l=e.onInteractOutside)==null||l.call(e,s),s.defaultPrevented||(n.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const a=s.target;((d=r.triggerRef.current)==null?void 0:d.contains(a))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),Pn=f.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:a,onEscapeKeyDown:c,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:h,...u}=e,m=ue(ke,r),g=Te(r);return Kn(),i.jsx(Yn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:s,children:i.jsx(Xn,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:h,onEscapeKeyDown:c,onPointerDownOutside:l,onFocusOutside:d,onDismiss:()=>m.onOpenChange(!1),deferPointerDownOutside:!0,children:i.jsx(za,{"data-state":Mn(m.open),role:"dialog",id:m.contentId,...g,...u,ref:t,style:{...u.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),En="PopoverClose",Ba=f.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ue(En,r);return i.jsx(Le.button,{type:"button",...n,ref:t,onClick:Me(e.onClick,()=>o.onOpenChange(!1))})});Ba.displayName=En;var Fa="PopoverArrow",_n=f.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Te(r);return i.jsx(Va,{...o,...n,ref:t})});_n.displayName=Fa;function Mn(e){return e?"open":"closed"}var Ha=kn,Ga=An,qa=Cn,Ua=Rn,Ka=_n;const Ya=({children:e,...t})=>i.jsx(Ha,{...t,children:e}),Xa=Ga,Za=f.forwardRef(function(t,r){const{className:n,children:o,sideOffset:s=6,...a}=t;return i.jsx(qa,{children:i.jsxs(Ua,{ref:r,sideOffset:s,className:q("v8-popover",n),style:{background:"var(--surface-popover)",border:"1px solid var(--border)",borderRadius:"var(--radius)",boxShadow:"var(--shadow-3)",padding:"var(--space-3)",minWidth:200,maxWidth:360,zIndex:"var(--z-popover)"},...a,children:[o,i.jsx(Ka,{style:{fill:"var(--surface-popover)"}})]})})});function On(){const e=f.useContext(hr);if(e===null)throw new Error("useTheme must be used inside <ThemeProvider>.");return e}function zn(){const e=f.useContext(gr);if(e===null)throw new Error("useDensity must be used inside <DensityProvider>.");return e}const Ja={light:Po,dark:Ao,system:jo},er={light:"Switch to dark theme",dark:"Switch to system theme",system:"Switch to light theme"};function Qa({className:e}){const{mode:t,resolved:r,cycle:n}=On(),o=Ja[r];return i.jsx("button",{type:"button",onClick:n,"aria-label":er[t],title:`${er[t]} (currently: ${r})`,className:q("v8-theme-toggle","inline-flex h-8 w-8 items-center justify-center","rounded-[var(--radius-sm)]","text-[var(--fg-muted)] hover:text-[var(--fg)] hover:bg-[var(--surface-1)]","transition-colors duration-[var(--motion-fast)]",e),children:i.jsx(o,{size:16,"aria-hidden":"true"})})}function ei({className:e}){const{density:t,toggle:r}=zn(),n=t==="comfortable",o=n?Ro:ho;return i.jsx("button",{type:"button",onClick:r,"aria-label":`Switch to ${n?"compact":"comfortable"} density`,title:`Density: ${t}`,"data-density":t,className:q("v8-density-toggle","inline-flex h-8 w-8 items-center justify-center","rounded-[var(--radius-sm)]","text-[var(--fg-muted)] hover:text-[var(--fg)] hover:bg-[var(--surface-1)]","transition-colors duration-[var(--motion-fast)]",e),children:i.jsx(o,{size:16,"aria-hidden":"true"})})}class zt extends Error{constructor(r,n,o){super(n);ct(this,"status");ct(this,"body");this.name="FetchError",this.status=r,this.body=o}}async function re(e,t={}){const r={method:t.method||"GET",headers:{Accept:"application/json",...t.body?{"Content-Type":"application/json"}:{},...t.headers||{}},signal:t.signal};t.body!==void 0&&(r.body=JSON.stringify(t.body));const n=(t.base||"")+e,o=await fetch(n,r),s=await o.text();let a=null;if(s)try{a=JSON.parse(s)}catch{a=s}if(!o.ok){const c=a&&typeof a=="object"&&"message"in a&&typeof a.message=="string"?a.message:`HTTP ${o.status}`;throw new zt(o.status,c,a)}return a}function ie(e){const[t,r]=f.useState(null),[n,o]=f.useState(null),[s,a]=f.useState(!!e),[c,l]=f.useState(0),d=f.useRef(e);d.current=e,f.useEffect(()=>{if(!e){r(null),o(null),a(!1);return}const u=new AbortController;let m=!1;return a(!0),o(null),re(e,{signal:u.signal}).then(g=>{m||(r(g),a(!1))}).catch(g=>{m||g&&typeof g=="object"&&"name"in g&&g.name==="AbortError"||(o(g instanceof Error?g:new zt(0,String(g),null)),a(!1))}),()=>{m=!0,u.abort()}},[e,c]);const h=f.useCallback(()=>{l(u=>u+1)},[]);return{data:t,error:n,loading:s,refetch:h}}const ti=3e4,ri=6e4,T={socket:null,listeners:new Set,retries:0,retryTimer:null,connectedListeners:new Set,lastMessageAt:0,heartbeatTimer:null};function ni(){return typeof window>"u"?"":`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/ws`}function tr(e){for(const t of T.connectedListeners)try{t(e)}catch{}}function oi(){T.heartbeatTimer||(T.heartbeatTimer=setInterval(()=>{const e=T.socket;if(e&&e.readyState===WebSocket.OPEN){if(Date.now()-T.lastMessageAt>ri){try{e.close()}catch{}return}try{e.send("ping")}catch{}}},ti))}function si(){T.heartbeatTimer&&(clearInterval(T.heartbeatTimer),T.heartbeatTimer=null)}function Vn(){if(typeof window>"u"||T.socket&&(T.socket.readyState===WebSocket.OPEN||T.socket.readyState===WebSocket.CONNECTING))return;let e;try{e=new WebSocket(ni())}catch{rr();return}T.socket=e,e.addEventListener("open",()=>{T.retries=0,T.lastMessageAt=Date.now(),tr(!0),oi()}),e.addEventListener("message",t=>{T.lastMessageAt=Date.now();let r;try{r=JSON.parse(typeof t.data=="string"?t.data:"")}catch{return}for(const n of T.listeners)try{n(r)}catch{}}),e.addEventListener("close",()=>{T.socket=null,tr(!1),si(),rr()}),e.addEventListener("error",()=>{})}function rr(){if(T.retryTimer)return;const e=Math.min(3e4,500*Math.pow(2,T.retries++));T.retryTimer=setTimeout(()=>{T.retryTimer=null,Vn()},e)}function ai(e){f.useEffect(()=>(T.listeners.add(e),T.socket||Vn(),()=>{T.listeners.delete(e)}),[e])}function Ue(e,t){const r=Array.isArray(e)?new Set(e):new Set([e]);ai(n=>{typeof n=="object"&&n&&"type"in n&&r.has(n.type)&&t(n)})}function ii(e){f.useEffect(()=>{var t;return T.connectedListeners.add(e),e(((t=T.socket)==null?void 0:t.readyState)===WebSocket.OPEN),()=>{T.connectedListeners.delete(e)}},[e])}function ci(){var r;const[e,t]=f.useState(((r=T.socket)==null?void 0:r.readyState)===WebSocket.OPEN);return ii(t),e}const li={0:"0",1:"var(--space-1)",2:"var(--space-2)",3:"var(--space-3)",4:"var(--space-4)",5:"var(--space-5)",6:"var(--space-6)",8:"var(--space-8)",10:"var(--space-10)",12:"var(--space-12)",16:"var(--space-16)"},di={start:"flex-start",center:"center",end:"flex-end",stretch:"stretch"},ui={start:"flex-start",center:"center",end:"flex-end",between:"space-between",around:"space-around"},Se=f.forwardRef(function(t,r){const{as:n,gap:o=3,align:s,justify:a,wrap:c,children:l,className:d,style:h,...u}=t,m=n??"div",g={display:"flex",flexDirection:"column",gap:li[o],...s!==void 0&&{alignItems:di[s]},...a!==void 0&&{justifyContent:ui[a]},...c&&{flexWrap:"wrap"},...h};return i.jsx(m,{ref:r,className:q("v8-stack",d),style:g,...u,children:l})}),fi={sm:{h:28,px:10,fs:"var(--fs-12)"},md:{h:32,px:14,fs:"var(--fs-13)"},lg:{h:40,px:18,fs:"var(--fs-14)"},icon:{h:32,px:0,fs:"var(--fs-13)"}},pi={primary:"var(--accent)",secondary:"var(--surface-1)",ghost:"transparent",danger:"var(--danger)",outline:"transparent"},hi={primary:"var(--fg-on-accent)",secondary:"var(--fg)",ghost:"var(--fg-muted)",danger:"var(--fg-on-accent)",outline:"var(--fg)"},gi={primary:"transparent",secondary:"var(--border)",ghost:"transparent",danger:"transparent",outline:"var(--border)"},mi={primary:"var(--accent-hover)",secondary:"var(--surface-2)",ghost:"var(--surface-1)",danger:"color-mix(in oklch, var(--danger), black 10%)",outline:"var(--surface-1)"},Je=f.forwardRef(function(t,r){const{variant:n="secondary",size:o="md",asChild:s,loading:a,disabled:c,leftIcon:l,rightIcon:d,fullWidth:h,children:u,className:m,style:g,type:p,...y}=t,v=s?Qn:"button",b=fi[o],w=c===!0||a===!0,A={display:"inline-flex",alignItems:"center",justifyContent:"center",gap:"var(--space-2)",height:b.h,paddingLeft:b.px,paddingRight:b.px,width:h===!0?"100%":void 0,fontSize:b.fs,fontWeight:500,lineHeight:1,letterSpacing:"var(--tracking-base)",background:pi[n],color:hi[n],border:"1px solid",borderColor:gi[n],borderRadius:"var(--radius-sm)",cursor:w?"not-allowed":"pointer",opacity:w?.55:1,transition:"background var(--motion-fast) var(--ease-out), border-color var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out)",whiteSpace:"nowrap",userSelect:"none",...g},S={"--btn-hover-bg":mi[n]};return i.jsxs(v,{ref:r,type:s?void 0:p??"button",disabled:w,"aria-busy":a===!0?"true":void 0,className:q("v8-btn",`v8-btn--${n}`,`v8-btn--${o}`,m),style:{...A,...S},...y,children:[a===!0?i.jsx(ko,{size:14,"aria-hidden":"true",className:"v8-btn__spinner"}):l,u,d]})}),vi={neutral:"var(--fg-muted)",info:"var(--info)",success:"var(--success)",warning:"var(--warning)",danger:"var(--danger)",accent:"var(--accent)"},yi={neutral:"color-mix(in oklch, var(--fg-muted) 12%, transparent)",info:"color-mix(in oklch, var(--info) 14%, transparent)",success:"color-mix(in oklch, var(--success) 14%, transparent)",warning:"color-mix(in oklch, var(--warning) 14%, transparent)",danger:"color-mix(in oklch, var(--danger) 14%, transparent)",accent:"color-mix(in oklch, var(--accent) 14%, transparent)"},bi={neutral:"var(--fg-muted)",info:"var(--info)",success:"var(--success)",warning:"var(--warning)",danger:"var(--danger)",accent:"var(--accent)"},xi=f.forwardRef(function(t,r){const{tone:n="neutral",size:o="md",dot:s,children:a,className:c,style:l,...d}=t,h=o==="sm"?18:22;return i.jsxs("span",{ref:r,className:q("v8-badge",`v8-badge--${n}`,`v8-badge--${o}`,c),style:{display:"inline-flex",alignItems:"center",gap:"var(--space-1)",height:h,padding:"0 8px",borderRadius:"var(--radius-pill)",background:yi[n],color:vi[n],fontSize:o==="sm"?"var(--fs-12)":"var(--fs-13)",fontWeight:500,lineHeight:1,whiteSpace:"nowrap",...l},...d,children:[s===!0&&i.jsx("span",{"aria-hidden":"true",style:{width:6,height:6,borderRadius:"var(--radius-pill)",background:bi[n],flexShrink:0}}),a]})});function wi(e){if(typeof e!="number")return"";const t=new Date(e),r=new Date;return t.toDateString()===r.toDateString()?t.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):t.toLocaleDateString([],{month:"short",day:"numeric"})}const nr={warning:"warning",danger:"danger",error:"danger",success:"success"};function ki(){const[e,t]=f.useState(!1),[r,n]=f.useState([]),[o,s]=f.useState(!1),a=f.useRef(null),c=async()=>{s(!0);try{const u=await re("/api/notifications?unread=true");n(u.notifications??[])}catch{}finally{s(!1)}};f.useEffect(()=>{c()},[]),Ue("notifications:change",()=>{c()}),f.useEffect(()=>{if(!e)return;const u=g=>{a.current&&!a.current.contains(g.target)&&t(!1)},m=g=>{g.key==="Escape"&&t(!1)};return document.addEventListener("mousedown",u),document.addEventListener("keydown",m),()=>{document.removeEventListener("mousedown",u),document.removeEventListener("keydown",m)}},[e]);const l=async u=>{n(m=>m.filter(g=>g.id!==u));try{await re(`/api/notifications/${encodeURIComponent(u)}/read`,{method:"POST"})}catch{c()}},d=async()=>{const u=r;n([]);try{await re("/api/notifications/read-all",{method:"POST"})}catch{n(u)}},h=r.length;return i.jsxs(I,{style:{position:"relative"},ref:a,children:[i.jsxs("button",{type:"button","aria-label":`Notifications (${h} unread)`,"data-testid":"topbar-notifications",onClick:()=>t(u=>!u),style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:32,height:32,background:"transparent",border:"1px solid transparent",borderRadius:"var(--radius-sm)",color:"var(--fg-muted)",position:"relative",cursor:"pointer"},children:[i.jsx(wt,{size:16,"aria-hidden":!0}),h>0&&i.jsx(I,{"aria-hidden":"true","data-testid":"topbar-notifications-count",style:{position:"absolute",top:4,right:4,minWidth:16,height:16,borderRadius:"var(--radius-pill)",background:"var(--danger)",color:"var(--fg-on-accent)",fontSize:"var(--fs-12)",fontWeight:600,lineHeight:"16px",padding:"0 4px"},children:h>99?"99+":h})]}),e&&i.jsxs(I,{role:"dialog","aria-label":"Notifications",style:{position:"absolute",top:"calc(100% + 8px)",right:0,width:360,maxHeight:480,background:"var(--bg)",border:"1px solid var(--border)",borderRadius:"var(--radius-md)",boxShadow:"0 10px 30px rgba(0,0,0,0.15)",zIndex:50,overflow:"hidden",display:"flex",flexDirection:"column"},children:[i.jsxs(he,{align:"center",justify:"between",style:{padding:"var(--space-3)",borderBottom:"1px solid var(--border)",background:"var(--surface-1)"},children:[i.jsx("span",{style:{fontSize:"var(--fs-13)",fontWeight:600},children:"Notifications"}),h>0&&i.jsxs(Je,{variant:"ghost",size:"sm",onClick:()=>{d()},children:[i.jsx(vo,{size:12,"aria-hidden":!0})," Mark all read"]})]}),i.jsxs(I,{style:{overflowY:"auto",flex:1},children:[o&&r.length===0&&i.jsx(I,{style:{padding:"var(--space-4)",fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:"Loading…"}),!o&&r.length===0&&i.jsx(I,{style:{padding:"var(--space-4)",fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:"No unread notifications."}),r.map(u=>{const m=nr[u.tone??""]??nr[u.kind??""]??"info";return i.jsx(I,{style:{padding:"var(--space-3)",borderBottom:"1px solid var(--border)"},children:i.jsxs(Se,{gap:1,children:[i.jsxs(he,{align:"center",justify:"between",gap:2,children:[i.jsx("span",{style:{fontSize:"var(--fs-13)",fontWeight:500},children:u.title||u.kind||"Notification"}),i.jsx(xi,{tone:m,size:"sm",children:u.kind??u.tone??"info"})]}),u.body!==void 0&&i.jsx("span",{style:{fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:u.body}),i.jsxs(he,{align:"center",justify:"between",children:[i.jsx("span",{style:{fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:wi(u.ts)}),i.jsx(Je,{variant:"ghost",size:"sm",onClick:()=>{l(u.id)},children:"Mark read"})]})]})},u.id)})]})]})]})}function Ln({leading:e,brand:t,center:r,actions:n,status:o}){return i.jsx(I,{as:"header",role:"banner",className:"v8-topbar",style:{height:"var(--topbar-h)",flexShrink:0,background:"var(--bg)",borderBottom:"1px solid var(--border)",paddingLeft:"var(--space-4)",paddingRight:"var(--space-4)"},children:i.jsxs(he,{align:"center",justify:"between",gap:4,style:{height:"100%"},children:[i.jsxs(Ft,{align:"center",gap:3,children:[e,t??i.jsx(Si,{})]}),i.jsx(I,{style:{flex:1,minWidth:0},children:r??null}),i.jsx(Ft,{align:"center",gap:2,children:n??i.jsx(ji,{status:o})})]})})}function Si(){var m,g,p,y;const e=ie("/api/projects"),t=((m=e.data)==null?void 0:m.projects)??[],r=typeof((g=e.data)==null?void 0:g.active)=="string"?e.data.active:(y=(p=e.data)==null?void 0:p.active)==null?void 0:y.id,n=t.find(v=>v.id===r),o=(n==null?void 0:n.name)||r||"workspace",[s,a]=f.useState(!1),[c,l]=f.useState(null),[d,h]=f.useState(null),u=async v=>{l(v),h(null);try{await re(`/api/projects/${encodeURIComponent(v)}/activate`,{method:"POST"}),e.refetch(),a(!1)}catch(b){h(b instanceof zt||b instanceof Error?b.message:String(b))}finally{l(null)}};return i.jsxs(he,{align:"center",gap:2,children:[i.jsx(I,{style:{width:24,height:24,borderRadius:"var(--radius-sm)",background:"var(--accent)",color:"var(--fg-on-accent)",fontWeight:700,fontSize:"var(--fs-14)",lineHeight:"24px",textAlign:"center"},"aria-hidden":"true",children:"ᛒ"}),i.jsx(I,{style:{fontWeight:600,fontSize:"var(--fs-14)"},children:"Bizar"}),i.jsx(Oe,{orientation:"vertical",style:{height:16}}),i.jsxs(Ya,{open:s,onOpenChange:a,children:[i.jsx(Xa,{asChild:!0,children:i.jsxs("button",{type:"button","aria-label":`Switch project (current: ${o})`,"aria-haspopup":"menu","aria-expanded":s,"data-testid":"topbar-project-selector",style:{display:"inline-flex",alignItems:"center",gap:4,padding:"4px 8px",borderRadius:"var(--radius-sm)",border:"1px solid var(--border)",background:"var(--surface-1)",color:"var(--fg)",fontSize:"var(--fs-13)",cursor:"pointer"},children:[i.jsx("span",{"data-testid":"topbar-active-project",title:r??void 0,children:o}),i.jsx(yo,{size:12,"aria-hidden":"true"})]})}),i.jsxs(Za,{align:"start",sideOffset:6,children:[i.jsx(I,{style:{fontSize:"var(--fs-12)",color:"var(--fg-muted)",marginBottom:8},children:"Switch project"}),t.length===0?i.jsx(I,{style:{fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:"No projects registered"}):i.jsx("ul",{role:"menu",style:{listStyle:"none",margin:0,padding:0,display:"flex",flexDirection:"column",gap:2},children:t.map(v=>{const b=v.id===r;return i.jsx("li",{role:"none",children:i.jsxs("button",{type:"button",role:"menuitem",disabled:c!==null,onClick:()=>{u(v.id)},"data-testid":`topbar-project-option-${v.id}`,"aria-current":b?"true":void 0,style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between",gap:8,padding:"6px 8px",background:b?"var(--surface-2)":"transparent",border:0,borderRadius:"var(--radius-sm)",color:"var(--fg)",cursor:c!==null?"wait":"pointer",fontSize:"var(--fs-13)",textAlign:"left"},children:[i.jsx("span",{style:{minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:v.name||v.id}),b&&i.jsx("span",{style:{fontSize:"var(--fs-11)",color:"var(--accent)"},children:"●"}),!b&&c===v.id&&i.jsx("span",{style:{fontSize:"var(--fs-11)",color:"var(--fg-muted)"},children:"…"})]})},v.id)})}),d!==null&&i.jsx(I,{role:"alert","data-testid":"topbar-project-error",style:{marginTop:8,fontSize:"var(--fs-12)",color:"var(--danger)"},children:d})]})]})]})}function ji({status:e}){const t=ci();return i.jsxs(i.Fragment,{children:[e??i.jsxs(he,{align:"center",gap:1,"aria-live":"polite","data-testid":"topbar-connection-state",style:{fontSize:"var(--fs-12)",color:t?"var(--success)":"var(--warning)"},children:[i.jsx(I,{"aria-hidden":"true",style:{width:8,height:8,borderRadius:"var(--radius-pill)",background:t?"var(--success)":"var(--warning)"}}),i.jsx("span",{children:t?"live":"offline"})]}),i.jsx(Oe,{orientation:"vertical",style:{height:16}}),i.jsx(Ai,{}),i.jsx(Oe,{orientation:"vertical",style:{height:16}}),i.jsx(ki,{}),i.jsx(Oe,{orientation:"vertical",style:{height:16}}),i.jsx(ei,{}),i.jsx(Qa,{})]})}function Ai(){const e=typeof navigator<"u"&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),t=e?"⌘K":"Ctrl K";return i.jsxs("button",{type:"button",onClick:()=>{window.dispatchEvent(new KeyboardEvent("keydown",{key:"k",metaKey:e,ctrlKey:!e,bubbles:!0}))},"aria-label":"Open command palette",title:`Open command palette (${t})`,"data-testid":"topbar-palette-trigger",style:{display:"inline-flex",alignItems:"center",gap:"var(--space-2)",height:28,padding:"0 8px 0 6px",borderRadius:"var(--radius-sm)",border:"1px solid var(--border)",background:"var(--surface-1)",color:"var(--fg-muted)",fontSize:"var(--fs-12)",cursor:"pointer"},children:[i.jsx(et,{size:14,"aria-hidden":"true"}),i.jsx("span",{children:"Search…"}),i.jsx("kbd",{"aria-hidden":"true",style:{padding:"1px 4px",borderRadius:"var(--radius-sm)",border:"1px solid var(--border)",background:"var(--surface-2)",fontSize:"var(--fs-11)",fontFamily:"var(--font-mono)",color:"var(--fg)"},children:t})]})}const Ci=f.forwardRef(function(t,r){const{direction:n="y",shadowTop:o,shadowBottom:s,maxHeight:a,maxWidth:c,children:l,className:d,style:h,...u}=t,p={overflowX:n==="x"||n==="both"?"auto":"hidden",overflowY:n==="y"||n==="both"?"auto":"hidden",...a!==void 0&&{maxHeight:a},...c!==void 0&&{maxWidth:c},...h};return i.jsx("div",{ref:r,className:q("v8-scroll-area",d),style:p,...u,children:l})}),pt="bizar:sidebar:collapsed",Ri=[{id:"workspace",label:"Workspace",items:[{id:"overview",label:"Overview",icon:wo},{id:"tasks",label:"Tasks",icon:$r,count:47,active:!0},{id:"goals",label:"Goals",icon:Br,count:3},{id:"chat",label:"Chat",icon:zr,live:!0},{id:"projects-list",label:"Projects",icon:Pr},{id:"claude-sessions",label:"Claude sessions",icon:Or}]},{id:"operations",label:"Operations",items:[{id:"agents",label:"Agents",icon:xr,count:"8/16"},{id:"activity",label:"Activity",icon:vr,live:!0},{id:"memory",label:"Memory",icon:Ar}]},{id:"libraries",label:"Libraries",items:[{id:"skills",label:"Skills",icon:Er,count:18},{id:"mcps",label:"MCPs",icon:Mr,count:3},{id:"hooks",label:"Hooks",icon:Eo,count:5}]},{id:"system",label:"System",items:[{id:"history",label:"History",icon:_r},{id:"admin",label:"Admin",icon:Gr},{id:"auth",label:"Auth",icon:Nr},{id:"env-vars",label:"Env vars",icon:Hr},{id:"config",label:"Config",icon:Tr},{id:"dialogs",label:"Dialogs",icon:Vr},{id:"providers",label:"Providers",icon:Dr},{id:"mods",label:"Mods",icon:wr},{id:"update",label:"Update",icon:Sr},{id:"artifacts",label:"Artifacts",icon:Co},{id:"lightrag",label:"LightRAG",icon:Cr},{id:"voice",label:"Voice",icon:Lr},{id:"clipboard",label:"Clipboard",icon:jr},{id:"obsidian",label:"Obsidian",icon:br},{id:"misc",label:"Misc",icon:et},{id:"doctor",label:"Doctor",icon:Wr},{id:"usage",label:"Usage",icon:kr},{id:"backup",label:"Backups",icon:yr},{id:"notifications",label:"Notifications",icon:wt},{id:"diagnostics",label:"Diagnostics",icon:Fr},{id:"eval",label:"Eval",icon:Rr},{id:"settings",label:"Settings",icon:Ir}]}];function xt({sections:e,defaultSections:t=!0,footer:r,defaultCollapsed:n,onItemSelect:o,activeId:s,className:a}){const c=n??(typeof window<"u"&&window.localStorage.getItem(pt)==="1"),[l,d]=f.useState(c),h=e??(t?Ri:[]),u=l?"var(--sidebar-w-collapsed)":"var(--sidebar-w)",m=g=>s!==void 0?g===s:!1;return i.jsxs(I,{as:"aside",role:"navigation","aria-label":"Primary navigation",className:q("v8-sidebar",a),style:{width:u,flexShrink:0,height:"100%",background:"var(--sidebar-bg)",color:"var(--sidebar-fg)",borderRight:"1px solid var(--sidebar-border)",display:"flex",flexDirection:"column",transition:"width var(--motion-base) var(--ease-out)"},children:[i.jsx(Ci,{style:{flex:1,padding:"var(--space-3) var(--space-2)"},children:i.jsx(Se,{gap:4,children:h.map(g=>i.jsx(Pi,{section:g,collapsed:l,onItemSelect:o,isItemActive:m},g.id))})}),i.jsx(Oe,{}),i.jsx(I,{style:{padding:"var(--space-3) var(--space-3)",display:"flex",alignItems:"center",justifyContent:l?"center":"space-between",gap:"var(--space-2)"},children:l?i.jsxs(Se,{align:"center",gap:2,children:[i.jsx(I,{"aria-hidden":"true",style:{width:8,height:8,borderRadius:"var(--radius-pill)",background:"var(--success)",boxShadow:"0 0 0 4px color-mix(in oklch, var(--success) 24%, transparent)"}}),i.jsx("button",{type:"button",onClick:()=>{d(g=>{const p=!g;return typeof window<"u"&&window.localStorage.setItem(pt,p?"1":"0"),p})},"aria-label":"Expand sidebar",title:"Expand sidebar","data-testid":"sidebar-expand",style:{width:24,height:24,display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--radius-sm)",color:"var(--fg-muted)",background:"transparent",border:"1px solid var(--border)",cursor:"pointer"},children:i.jsx(xo,{size:14})})]}):i.jsxs(i.Fragment,{children:[i.jsxs(I,{style:{fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:[i.jsxs("div",{"data-testid":"sidebar-version",children:["◉ online · v",void 0]}),i.jsxs("div",{"data-testid":"sidebar-build-sha",style:{fontFamily:"var(--font-mono)"},title:"build dev",children:["build ","dev"]})]}),i.jsx("button",{type:"button",onClick:()=>{d(g=>{const p=!g;return typeof window<"u"&&window.localStorage.setItem(pt,p?"1":"0"),p})},"aria-label":"Collapse sidebar",title:"Collapse sidebar","data-testid":"sidebar-collapse",style:{width:28,height:28,cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--radius-sm)",color:"var(--fg-muted)",background:"transparent",border:"1px solid var(--border)"},children:i.jsx(bo,{size:14})})]})}),!l&&r]})}function Pi({section:e,collapsed:t,onItemSelect:r,isItemActive:n}){const o=`bizar:sidebar:section:collapsed:${e.id}`,s=typeof window<"u"&&window.localStorage.getItem(o)==="1",[a,c]=f.useState(!s),l=()=>{c(d=>{const h=!d;return typeof window<"u"&&window.localStorage.setItem(o,h?"0":"1"),h})};return i.jsxs(Se,{gap:1,"data-sidebar-section":e.id,children:[!t&&i.jsxs("div",{role:"presentation",style:{display:"flex",alignItems:"center",gap:"var(--space-2)"},children:[i.jsx("span",{style:{fontSize:"var(--fs-12)",fontWeight:600,color:"var(--fg-subtle)",letterSpacing:"var(--tracking-wide)",textTransform:"uppercase",flex:1,padding:"var(--space-1) var(--space-3)"},children:e.label}),i.jsx("button",{type:"button",onClick:l,"aria-expanded":a,"aria-controls":`sidebar-section-${e.id}`,"data-section-toggle":e.id,"data-testid":`sidebar-section-toggle-${e.id}`,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:20,height:20,background:"transparent",border:0,color:"var(--fg-subtle)",cursor:"pointer",padding:0},children:i.jsx("span",{"aria-hidden":"true","data-testid":`sidebar-section-chevron-${e.id}`,style:{display:"inline-block",transition:"transform var(--motion-fast) var(--ease-out)",transform:a?"rotate(90deg)":"rotate(0deg)",fontSize:10},children:"▸"})})]}),a&&i.jsx("div",{id:`sidebar-section-${e.id}`,role:"group","aria-label":e.label,children:e.items.map(d=>i.jsx(Ei,{item:d,collapsed:t,active:n(d.id),onSelect:r},d.id))})]})}function Ei({item:e,collapsed:t,active:r,onSelect:n}){const o=e.icon;return i.jsxs("button",{type:"button",onClick:()=>n==null?void 0:n(e.id),"aria-current":r?"page":void 0,"aria-label":e.label,title:t?e.label:void 0,"data-sidebar-item":e.id,"data-nav-item":e.id,className:q("v8-sidebar-item",r&&"is-active"),style:{display:"flex",alignItems:"center",gap:"var(--space-2)",padding:t?"var(--space-2)":"var(--space-2) var(--space-3)",borderRadius:"var(--radius-sm)",fontSize:"var(--fs-13)",color:r?"var(--fg)":"var(--fg-muted)",background:r?"var(--sidebar-hover)":"transparent",fontWeight:r?500:400,justifyContent:t?"center":"flex-start",minHeight:32,boxShadow:r?"inset 2px 0 0 0 var(--sidebar-accent)":"none",border:"none",cursor:"pointer",textAlign:"left",transition:"background var(--motion-fast) var(--ease-out)"},children:[i.jsx(o,{size:16,"aria-hidden":"true"}),!t&&i.jsxs(i.Fragment,{children:[i.jsx("span",{style:{flex:1,minWidth:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.label}),e.live&&i.jsx(I,{"aria-hidden":"true",style:{width:6,height:6,borderRadius:"var(--radius-pill)",background:"var(--success)"}}),e.count!==void 0&&i.jsx(I,{style:{fontSize:"var(--fs-12)",color:"var(--fg-subtle)",fontVariantNumeric:"tabular-nums"},children:e.count})]})]})}const _i=f.forwardRef(function({topbar:t,sidebar:r,mobileMenuOpen:n,onMobileMenuClose:o,children:s},a){return i.jsxs(I,{className:"v8-app-shell",style:{display:"flex",flexDirection:"column",height:"100vh",background:"var(--bg)",color:"var(--fg)"},children:[t??i.jsx(Ln,{}),i.jsxs(I,{className:"v8-app-shell-body",style:{display:"flex",flex:1,minHeight:0},children:[i.jsx(I,{className:"v8-desktop-sidebar",style:{flexShrink:0},children:r??i.jsx(xt,{})}),i.jsx(lr,{open:n,onOpenChange:c=>{c||o==null||o()},children:i.jsxs(dr,{children:[i.jsx(ur,{className:"v8-mobile-sidebar-overlay",style:{position:"fixed",inset:0,background:"oklch(0 0 0 / 0.4)",zIndex:"var(--z-modal)"}}),i.jsx(fr,{className:"v8-mobile-sidebar","aria-label":"Navigation",style:{position:"fixed",top:0,left:0,bottom:0,width:"var(--sidebar-w)",zIndex:"calc(var(--z-modal) + 1)"},children:r??i.jsx(xt,{})})]})}),i.jsx(I,{as:"main",ref:a,id:"main",tabIndex:-1,className:"v8-sidebar-inset",role:"main",style:{flex:1,minWidth:0,overflow:"auto",background:"var(--bg)",outline:"none"},children:i.jsx(I,{className:"v8-sidebar-inset-inner",style:{maxWidth:1440,margin:"0 auto",padding:"var(--space-6) var(--space-6)",width:"100%"},children:s})})]})]})}),Mi="modulepreload",Oi=function(e){return"/"+e},or={},O=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),c=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=Promise.allSettled(r.map(l=>{if(l=Oi(l),l in or)return;or[l]=!0;const d=l.endsWith(".css"),h=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${h}`))return;const u=document.createElement("link");if(u.rel=d?"stylesheet":Mi,d||(u.as="script"),u.crossOrigin="",u.href=l,c&&u.setAttribute("nonce",c),document.head.appendChild(u),d)return new Promise((m,g)=>{u.addEventListener("load",m),u.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(a){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=a,window.dispatchEvent(c),!c.defaultPrevented)throw a}return o.then(a=>{for(const c of a||[])c.status==="rejected"&&s(c.reason);return t().catch(s)})},sr=f.lazy(()=>O(()=>import("./OverviewView-By69Cr5H.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])).then(e=>({default:e.OverviewView}))),zi=f.lazy(()=>O(()=>import("./TasksView-CQaSFzWY.js"),__vite__mapDeps([11,1,6,12,13,14,15,16,17,2,3,18,19,20,21,22,23,24,25,26,9,8,5,27,28,4,29,7,30,31,32,33,34])).then(e=>({default:e.TasksView}))),Vi=f.lazy(()=>O(()=>import("./GoalsView-BZr8In4c.js"),__vite__mapDeps([35,1,20,29,6,32,15,28,21,19,18,17,36,30,14,4,37,25,26,9,8,38,39,22])).then(e=>({default:e.GoalsView}))),Li=f.lazy(()=>O(()=>import("./AgentsView-BnOjjM74.js"),__vite__mapDeps([40,1,20,6,39,16,32,41,28,22,4,42,43,44,45,46,29,5,37,25,26,9,8,38,21,27,47,14])).then(e=>({default:e.AgentsView}))),Ti=f.lazy(()=>O(()=>import("./ActivityView-CibyssPM.js"),__vite__mapDeps([48,1,6,39,7,4,37,25,26,9,8,38,23,17,24,18,49,31,10,50])).then(e=>({default:e.ActivityView}))),Ii=f.lazy(()=>O(()=>import("./MemoryView-DnL8E2vI.js"),__vite__mapDeps([51,1,6,52,27,29,28,22,53,14,54])).then(e=>({default:e.MemoryView}))),ht=f.lazy(()=>O(()=>import("./LibrariesView-Vez8CvNq.js"),__vite__mapDeps([55,1,6,20,12,13,14,15,16,17,2,3,18,19,21,22,23,24,25,26,9,8,5,27,28,4,29,7,32,56,33,34,37,38])).then(e=>({default:e.LibrariesView}))),Ni=f.lazy(()=>O(()=>import("./SettingsView-2HSFJPPK.js"),__vite__mapDeps([57,1,20,23,17,24,18,21,22,33,58,54,46,14,30])).then(e=>({default:e.SettingsView}))),Di=f.lazy(()=>O(()=>import("./SchedulesView-o9AtIsH9.js"),__vite__mapDeps([59,1,20,6,4,23,17,22,28,21,14,50,42,44,30])).then(e=>({default:e.SchedulesView}))),$i=f.lazy(()=>O(()=>import("./BackgroundJobsView-DEStvILz.js"),__vite__mapDeps([60,1,6,4,43,42,46,30,9,8])).then(e=>({default:e.BackgroundJobsView}))),Wi=f.lazy(()=>O(()=>import("./DoctorView-DepBdQGR.js"),__vite__mapDeps([61,1,6,4,27,37,25,26,9,8,38,44])).then(e=>({default:e.DoctorView}))),Bi=f.lazy(()=>O(()=>import("./UsageView-DMFbBOfH.js"),__vite__mapDeps([62,1,20,6,4,37,25,26,9,8,38,3,41,50])).then(e=>({default:e.UsageView}))),Fi=f.lazy(()=>O(()=>import("./BackupView-B875KQa4.js"),__vite__mapDeps([63,1,6,39,4,21,27,28,14,46,30])).then(e=>({default:e.BackupView}))),Hi=f.lazy(()=>O(()=>import("./NotificationsView-A-Xs8BL1.js"),__vite__mapDeps([64,1,6,4,27,44,65,30])).then(e=>({default:e.NotificationsView}))),Gi=f.lazy(()=>O(()=>import("./DiagnosticsView-4x0Zu3yP.js"),__vite__mapDeps([66,1,20,6,4,44,52])).then(e=>({default:e.DiagnosticsView}))),qi=f.lazy(()=>O(()=>import("./EvalView-BeAyMCD1.js"),__vite__mapDeps([67,1,6,4,27,42,44,15,14,30])).then(e=>({default:e.EvalView}))),Ui=f.lazy(()=>O(()=>import("./ChatView-CkNS0SD8.js"),__vite__mapDeps([68,1,6,4,22,27,34,21,28,44,45])).then(e=>({default:e.ChatView}))),Ki=f.lazy(()=>O(()=>import("./ProjectsView-C81WTFka.js"),__vite__mapDeps([69,1,6,39,4,21,28,27,38,30])).then(e=>({default:e.ProjectsView}))),Yi=f.lazy(()=>O(()=>import("./ClaudeSessionsView-BprGo67K.js"),__vite__mapDeps([70,1,6,4,21,28,27,34,38,45,14,71,30])).then(e=>({default:e.ClaudeSessionsView}))),Xi=f.lazy(()=>O(()=>import("./HistoryView-djEbzqtk.js"),__vite__mapDeps([72,1,6,4,27,37,25,26,9,8,38])).then(e=>({default:e.HistoryView}))),Zi=f.lazy(()=>O(()=>import("./AdminView-BjczABeB.js"),__vite__mapDeps([73,1,6,4,20,30,54,74,53,75,44])).then(e=>({default:e.AdminView}))),Ji=f.lazy(()=>O(()=>import("./AuthView-D4frSShw.js"),__vite__mapDeps([76,1,6,4,21,75,46])).then(e=>({default:e.AuthView}))),Qi=f.lazy(()=>O(()=>import("./EnvVarsView-S4Pbm128.js"),__vite__mapDeps([77,1,6,39,4,21,28,27,53,38,14,71,30])).then(e=>({default:e.EnvVarsView}))),ec=f.lazy(()=>O(()=>import("./ConfigView-BntUrW7s.js"),__vite__mapDeps([78,1,6,4,21,27,58,38,79,14,71,30])).then(e=>({default:e.ConfigView}))),tc=f.lazy(()=>O(()=>import("./DialogsView-Xd02dVAX.js"),__vite__mapDeps([80,1,6,39,4,27,37,25,26,9,8,38,30])).then(e=>({default:e.DialogsView}))),rc=f.lazy(()=>O(()=>import("./ProvidersView-2cn-TALE.js"),__vite__mapDeps([81,1,6,39,4,27,38,14,46,71,74,56,30])).then(e=>({default:e.ProvidersView}))),nc=f.lazy(()=>O(()=>import("./ModsView-BVM3X5xc.js"),__vite__mapDeps([82,1,6,39,4,21,28,27,38,14,56,74,65,30,53,83])).then(e=>({default:e.ModsView}))),oc=f.lazy(()=>O(()=>import("./UpdateView-BUAEcRCX.js"),__vite__mapDeps([84,1,6,4,27,38,53,8,26])).then(e=>({default:e.UpdateView}))),sc=f.lazy(()=>O(()=>import("./ArtifactsView-CfYB1le1.js"),__vite__mapDeps([85,1,6,4,21,22,28,27,9,36,38,14,30])).then(e=>({default:e.ArtifactsView}))),ac=f.lazy(()=>O(()=>import("./LightRAGView-DvqzQoBp.js"),__vite__mapDeps([86,1,6,4,21,38,79,49])).then(e=>({default:e.LightRAGView}))),ic=f.lazy(()=>O(()=>import("./VoiceView-aoPVT6LJ.js"),__vite__mapDeps([87,1,6,4,28,27,38,83,30])).then(e=>({default:e.VoiceView}))),cc=f.lazy(()=>O(()=>import("./ClipboardView-CPlTU5VG.js"),__vite__mapDeps([88,1,6,4,21,22,28,27,38,14,36,30])).then(e=>({default:e.ClipboardView}))),lc=f.lazy(()=>O(()=>import("./ObsidianView-mI3qW9OP.js"),__vite__mapDeps([89,1,6,4,21,27,38,65,52,30])).then(e=>({default:e.ObsidianView}))),dc=f.lazy(()=>O(()=>import("./MiscView-B2YQXhZ_.js"),__vite__mapDeps([90,1,6,4,21,47,38,56,74,52])).then(e=>({default:e.MiscView})));function uc(e){return f.useMemo(()=>{switch(e){case"overview":return i.jsx(sr,{});case"tasks":return i.jsx(zi,{});case"goals":return i.jsx(Vi,{});case"agents":return i.jsx(Li,{});case"activity":return i.jsx(Ti,{});case"memory":return i.jsx(Ii,{});case"skills":return i.jsx(ht,{kind:"skills"});case"mcps":return i.jsx(ht,{kind:"mcps"});case"hooks":return i.jsx(ht,{kind:"hooks"});case"settings":return i.jsx(Ni,{});case"schedules":return i.jsx(Di,{});case"background":return i.jsx($i,{});case"doctor":return i.jsx(Wi,{});case"usage":return i.jsx(Bi,{});case"backup":return i.jsx(Fi,{});case"notifications":return i.jsx(Hi,{});case"diagnostics":return i.jsx(Gi,{});case"eval":return i.jsx(qi,{});case"chat":return i.jsx(Ui,{});case"projects-list":return i.jsx(Ki,{});case"claude-sessions":return i.jsx(Yi,{});case"history":return i.jsx(Xi,{});case"admin":return i.jsx(Zi,{});case"auth":return i.jsx(Ji,{});case"env-vars":return i.jsx(Qi,{});case"config":return i.jsx(ec,{});case"dialogs":return i.jsx(tc,{});case"providers":return i.jsx(rc,{});case"mods":return i.jsx(nc,{});case"update":return i.jsx(oc,{});case"artifacts":return i.jsx(sc,{});case"lightrag":return i.jsx(ac,{});case"voice":return i.jsx(ic,{});case"clipboard":return i.jsx(cc,{});case"obsidian":return i.jsx(lc,{});case"misc":return i.jsx(dc,{});default:return i.jsx(sr,{})}},[e])}const fc=({children:e,...t})=>i.jsx(lr,{...t,children:e}),pc={sm:"420px",md:"560px",lg:"800px",full:"100%"},hc=f.forwardRef(function(t,r){const{className:n,size:o="md",title:s,description:a,hideClose:c,children:l,...d}=t;return i.jsxs(dr,{children:[i.jsx(ur,{className:"v8-dialog-overlay",style:{position:"fixed",inset:0,background:"oklch(0 0 0 / 0.4)",backdropFilter:"none",zIndex:"var(--z-modal)",animation:"v8-dialog-overlay-in var(--motion-base) var(--ease-out)"}}),i.jsxs(fr,{ref:r,className:q("v8-dialog-content",n),style:{position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:pc[o],maxWidth:"calc(100vw - 32px)",maxHeight:"calc(100vh - 64px)",background:"var(--surface-popover)",border:"1px solid var(--border)",borderRadius:"var(--radius-lg)",boxShadow:"var(--shadow-4)",padding:"var(--space-6)",overflow:"auto",zIndex:"calc(var(--z-modal) + 1)",animation:"v8-dialog-content-in var(--motion-base) var(--ease-out)"},...d,children:[i.jsx(eo,{style:{fontSize:"var(--fs-18)",fontWeight:600,marginBottom:a!==void 0?"var(--space-1)":"var(--space-4)"},children:s}),a!==void 0&&i.jsx(to,{style:{fontSize:"var(--fs-13)",color:"var(--fg-muted)",marginBottom:"var(--space-4)"},children:a}),l,c!==!0&&i.jsx(ro,{"aria-label":"Close",style:{position:"absolute",top:12,right:12,width:28,height:28,display:"inline-flex",alignItems:"center",justifyContent:"center",background:"transparent",border:0,borderRadius:"var(--radius-sm)",color:"var(--fg-muted)",cursor:"pointer"},children:i.jsx(_o,{size:16,"aria-hidden":"true"})})]})]})});function gc(e){const{query:t,onQueryChange:r,placeholder:n="Type a command or search…",hideIcon:o,emptyMessage:s="No results found.",children:a,className:c}=e;return i.jsxs(be,{className:q("v8-command",c),label:"Command palette",shouldFilter:!0,children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"var(--space-2)",padding:"var(--space-3) var(--space-4)",borderBottom:"1px solid var(--border)"},children:[o!==!0&&i.jsx(et,{size:14,"aria-hidden":"true",style:{color:"var(--fg-muted)"}}),i.jsx(be.Input,{value:t,onValueChange:r,placeholder:n,style:{flex:1,border:0,outline:0,background:"transparent",fontFamily:"inherit",fontSize:"var(--fs-14)",color:"var(--fg)"}})]}),i.jsxs(be.List,{style:{maxHeight:"min(60vh, 480px)",overflow:"auto",padding:"var(--space-2)"},children:[i.jsx(be.Empty,{style:{padding:"var(--space-6)",textAlign:"center",color:"var(--fg-muted)",fontSize:"var(--fs-13)"},children:s}),a]}),i.jsx("style",{children:`
268
+ [cmdk-item][data-selected='true'] {
269
+ background: var(--surface-2);
270
+ }
271
+ [cmdk-item][data-disabled='true'] {
272
+ color: var(--fg-subtle);
273
+ }
274
+ `})]})}function ve({heading:e,children:t}){return i.jsxs(be.Group,{style:{padding:"var(--space-1) 0"},heading:typeof e=="string"?e:void 0,children:[e!==void 0&&i.jsx("div",{style:{padding:"var(--space-2) var(--space-3) var(--space-1)",fontSize:"var(--fs-12)",fontWeight:600,color:"var(--fg-subtle)",textTransform:"uppercase",letterSpacing:"var(--tracking-wide)"},children:e}),t]})}function ye({value:e,children:t,shortcut:r,disabled:n,onSelect:o}){return i.jsxs(be.Item,{value:e,disabled:n,onSelect:o,style:{display:"flex",alignItems:"center",gap:"var(--space-2)",height:32,padding:"0 var(--space-3)",borderRadius:"var(--radius-sm)",fontSize:"var(--fs-13)",color:"var(--fg)",cursor:n===!0?"not-allowed":"pointer",userSelect:"none"},children:[i.jsx("span",{style:{flex:1,minWidth:0},children:t}),r!==void 0&&i.jsx("span",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:r})]})}function mc(){const[e,t]=f.useState(!1);return f.useEffect(()=>{const r=n=>{(n.metaKey||n.ctrlKey)&&(n.key==="k"||n.key==="K")?(n.preventDefault(),t(s=>!s)):n.key==="Escape"&&t(!1)};return window.addEventListener("keydown",r),()=>window.removeEventListener("keydown",r)},[]),[e,t]}const vc=f.forwardRef(function(t,r){const{children:n,inverted:o,className:s,style:a,...c}=t;return i.jsx("kbd",{ref:r,className:q("v8-kbd",o&&"is-inverted",s),style:{display:"inline-flex",alignItems:"center",justifyContent:"center",minWidth:"1.4em",height:"1.4em",padding:"0 6px",fontFamily:"var(--font-mono)",fontSize:"var(--fs-12)",fontWeight:500,color:o===!0?"var(--bg)":"var(--fg-muted)",background:o===!0?"var(--fg)":"var(--surface-1)",border:"1px solid var(--border)",borderBottomWidth:2,borderRadius:"var(--radius-sm)",...a},...c,children:n})}),yc=[{id:"overview",label:"Go to Overview"},{id:"tasks",label:"Go to Tasks"},{id:"goals",label:"Go to Goals"},{id:"agents",label:"Go to Agents"},{id:"activity",label:"Go to Activity"},{id:"memory",label:"Go to Memory"},{id:"skills",label:"Go to Skills"},{id:"mcps",label:"Go to MCPs"},{id:"hooks",label:"Go to Hooks"},{id:"settings",label:"Go to Settings",shortcut:"⌘,"}],bc=[{id:"__theme",label:"Toggle theme"},{id:"__density",label:"Toggle density"}],xc=[{id:"section:general",label:"Settings · General"},{id:"section:theme",label:"Settings · Theme"},{id:"section:density",label:"Settings · Density"},{id:"section:density-rules",label:"Settings · Density rules"},{id:"section:palette",label:"Settings · Command palette"},{id:"section:keyboard",label:"Settings · Keyboard"},{id:"section:notifications",label:"Settings · Notifications"},{id:"section:storage",label:"Settings · Storage"},{id:"section:plugins",label:"Settings · Plugins"},{id:"section:mcps",label:"Settings · MCP servers"},{id:"section:skills",label:"Settings · Skills"},{id:"section:hooks",label:"Settings · Hooks"},{id:"section:activity",label:"Settings · Activity"},{id:"section:memory",label:"Settings · Memory"},{id:"section:privacy",label:"Settings · Privacy"},{id:"section:advanced",label:"Settings · Advanced"}],wc=[{id:"spawn:coder",label:"Spawn · Coder agent"},{id:"spawn:researcher",label:"Spawn · Researcher agent"},{id:"spawn:planner",label:"Spawn · Planner agent"},{id:"spawn:reviewer",label:"Spawn · Reviewer agent"}],kc=[{id:"task:new",label:"New task…"},{id:"tasks:open",label:"Go to tasks board"}];function Sc(e,t){return r=>{if(r.startsWith("section:")){const n=r.slice(8);e("settings"),requestAnimationFrame(()=>{var o;(o=document.getElementById(n))==null||o.scrollIntoView({behavior:"smooth",block:"start"})}),t(!1);return}e(r),t(!1)}}function jc(e){return/^(bizar-(e2e|real-env|admin)|bh-(cold-boot|walk-proj))/.test(e.id)||e.name!=null&&e.name===e.id}async function Ac(e,t,r){try{const n=["coder","researcher","planner","reviewer"].includes(e),c=await re(n?"/api/spawn/agent":"/api/agents",{method:"POST",body:n?{agent:e,prompt:"Spawned via command palette",worktree:r}:{kind:e,prompt:"Spawned via command palette"}});c.error||c.message&&!c.ok?t==null||t({kind:"error",text:c.error||c.message||"spawn failed"}):t==null||t({kind:"success",text:`Spawned ${e} agent`})}catch(n){t==null||t({kind:"error",text:n instanceof Error?n.message:String(n)})}}async function Cc(e,t){try{await re(`/api/projects/${encodeURIComponent(e)}/activate`,{method:"POST"}),t==null||t({kind:"success",text:`Switched to ${e}`})}catch(r){t==null||t({kind:"error",text:r instanceof Error?r.message:String(r)})}}async function Rc(e,t){try{await re("/api/tasks/submit",{method:"POST",body:{title:e,priority:"medium"}}),t==null||t({kind:"success",text:`Dispatched task "${e.slice(0,30)}"`})}catch(r){t==null||t({kind:"error",text:r instanceof Error?r.message:String(r)})}}function Pc(e){const{open:t,onOpenChange:r,onNavigate:n,onToast:o}=e,s=Sc(n,r),[a,c]=f.useState([]),[l,d]=f.useState(void 0);f.useEffect(()=>{if(!t)return;let p=!1;return(async()=>{var y;try{const v=await re("/api/projects");!p&&v.projects&&c(v.projects),!p&&((y=v.active)!=null&&y.cwd)&&d(v.active.cwd)}catch{}})(),()=>{p=!0}},[t]);const h=p=>{const y=p.slice(6);r(!1),Ac(y,o,l)},u=p=>{const y=p.slice(8);r(!1),Cc(y,o)},m=()=>{const p=window.prompt("New task title")||"";p.trim()&&(r(!1),Rc(p,o))},g=a.filter(p=>!jc(p)).map(p=>({id:`project:${p.id}`,label:`Switch to ${p.name||p.id}`}));return i.jsx(fc,{open:t,onOpenChange:r,children:i.jsx(hc,{title:"Command palette",size:"md",children:i.jsxs(gc,{placeholder:"Type a command, page, or setting…",children:[i.jsx(ve,{heading:"Navigation",children:yc.map(p=>i.jsxs(ye,{value:p.label,onSelect:()=>s(p.id),children:[i.jsx("span",{children:p.label}),p.shortcut!==void 0&&i.jsx(vc,{children:p.shortcut})]},p.id))}),i.jsx(ve,{heading:"Actions",children:bc.map(p=>i.jsx(ye,{value:p.label,onSelect:()=>s(p.id),children:i.jsx("span",{children:p.label})},p.id))}),i.jsx(ve,{heading:"Agents",children:wc.map(p=>i.jsx(ye,{value:p.label,onSelect:()=>h(p.id),children:i.jsx("span",{children:p.label})},p.id))}),i.jsx(ve,{heading:"Tasks",children:kc.map(p=>i.jsx(ye,{value:p.label,onSelect:()=>p.id==="task:new"?m():s("tasks"),children:i.jsx("span",{children:p.label})},p.id))}),g.length>0&&i.jsx(ve,{heading:"Projects",children:g.map(p=>i.jsx(ye,{value:p.label,onSelect:()=>u(p.id),children:i.jsx("span",{children:p.label})},p.id))}),i.jsx(ve,{heading:"Settings",children:xc.map(p=>i.jsx(ye,{value:p.label,onSelect:()=>s(p.id),children:i.jsx("span",{children:p.label})},p.id))})]})})})}function _e({width:e="100%",height:t=16,radius:r="sm",className:n,style:o,...s}){const a=r==="sm"?"var(--radius-sm)":r==="pill"?"var(--radius-pill)":"var(--radius)";return i.jsx("div",{className:q("v8-skeleton",n),style:{display:"inline-block",width:typeof e=="number"?`${e}px`:e,height:typeof t=="number"?`${t}px`:t,background:"linear-gradient(90deg, var(--surface-1) 0%, var(--surface-2) 50%, var(--surface-1) 100%)",backgroundSize:"200% 100%",borderRadius:a,animation:"v8-skeleton-pulse 1.4s ease-in-out infinite",...o},"aria-hidden":"true",...s})}function Ec(){return i.jsx(I,{role:"status","aria-busy":"true","aria-live":"polite",style:{padding:"var(--space-5) var(--space-6)"},children:i.jsxs(Se,{gap:5,children:[i.jsx(_e,{height:32,width:"40%"}),i.jsx(_e,{height:16,width:"65%"}),i.jsxs(Se,{gap:2,children:[i.jsx(_e,{height:14,width:"100%"}),i.jsx(_e,{height:14,width:"92%"}),i.jsx(_e,{height:14,width:"78%"})]})]})})}function _(e){switch(e){case"overview":return Fe;case"tasks":return $r;case"goals":return Br;case"agents":return xr;case"activity":return vr;case"memory":return Ar;case"skills":return Er;case"mcps":return Mr;case"hooks":return Fe;case"settings":return Ir;case"schedules":return mo;case"background":return go;case"chat":return zr;case"projects-list":return Pr;case"claude-sessions":return Or;case"history":return _r;case"admin":return Gr;case"auth":return Nr;case"env-vars":return Hr;case"config":return Tr;case"dialogs":return Vr;case"providers":return Dr;case"mods":return wr;case"update":return Sr;case"artifacts":return Fe;case"lightrag":return Cr;case"voice":return Lr;case"clipboard":return jr;case"obsidian":return br;case"misc":return et;case"doctor":return Wr;case"usage":return kr;case"backup":return yr;case"notifications":return wt;case"diagnostics":return Fr;case"eval":return Rr;default:return Fe}}function _c(){const[e,t]=f.useState("overview"),[r,n]=f.useState(!1),o=On(),s=zn(),[a,c]=mc(),l=f.useRef(null);f.useEffect(()=>{var x;(x=l.current)==null||x.focus({preventScroll:!0})},[e]),f.useEffect(()=>{const x=window.location.hash;if(x.startsWith("#/")){const k=x.slice(2);k&&t(k)}},[]),f.useEffect(()=>{const x=()=>{const k=window.location.hash;if(k.startsWith("#/")){const M=k.slice(2);M&&t(M)}else t("overview")};return window.addEventListener("popstate",x),()=>window.removeEventListener("popstate",x)},[]),f.useEffect(()=>{window.history.pushState(null,"","#/"+e)},[e]);const d=ie("/api/tasks"),h=ie("/api/goals"),u=ie("/api/agents"),m=ie("/api/cc-agents"),g=ie("/api/skills?kind=skills"),p=ie("/api/skills?kind=mcps"),y=ie("/api/skills?kind=hooks"),[v,b]=f.useState(0);f.useEffect(()=>{const x=()=>b(k=>k+1);return window.addEventListener("focus",x),()=>{window.removeEventListener("focus",x)}},[]),Ue("tasks:change",()=>b(x=>x+1)),Ue("goals:change",()=>b(x=>x+1)),Ue("agents:change",()=>b(x=>x+1)),f.useEffect(()=>{const x=k=>{const M=k.detail;!M||typeof M.id!="string"||t(M.id)};return window.addEventListener("bizar:navigate",x),()=>window.removeEventListener("bizar:navigate",x)},[]);const w=f.useMemo(()=>{var L,D,F,V,B,C,N,G,U,fe,Ie,Ne,De,$e,We;const k=(((L=d.data)==null?void 0:L.tasks)||[]).length||((D=d.data)==null?void 0:D.count)||0,M=(((F=h.data)==null?void 0:F.goals)||[]).length||((V=h.data)==null?void 0:V.count)||0,W=((B=u.data)==null?void 0:B.agents)||[],z=((C=m.data)==null?void 0:C.agents)||[],H=W.filter(Re=>Re.status==="busy"||Re.status==="working").length,E=W.length+z.length;return{tasksTotal:k,goals:M,agentsRunning:`${H+z.length}/${E||0}`,skills:((N=g.data)==null?void 0:N.count)??((U=(G=g.data)==null?void 0:G.skills)==null?void 0:U.length),mcps:((fe=p.data)==null?void 0:fe.count)??((Ne=(Ie=p.data)==null?void 0:Ie.skills)==null?void 0:Ne.length),hooks:((De=y.data)==null?void 0:De.count)??((We=($e=y.data)==null?void 0:$e.skills)==null?void 0:We.length)}},[d.data,h.data,u.data,m.data,g.data,p.data,y.data,v]),A=[{id:"workspace",label:"Workspace",items:[{id:"overview",label:"Overview",icon:_("overview")},{id:"tasks",label:"Tasks",icon:_("tasks"),count:w.tasksTotal},{id:"goals",label:"Goals",icon:_("goals"),count:w.goals},{id:"chat",label:"Chat",icon:_("chat"),live:!0},{id:"projects-list",label:"Projects",icon:_("projects-list")},{id:"claude-sessions",label:"Claude sessions",icon:_("claude-sessions")}]},{id:"operations",label:"Operations",items:[{id:"agents",label:"Agents",icon:_("agents"),count:w.agentsRunning},{id:"activity",label:"Activity",icon:_("activity"),live:!0},{id:"memory",label:"Memory",icon:_("memory")},{id:"schedules",label:"Schedules",icon:_("schedules")},{id:"background",label:"Background",icon:_("background")}]},{id:"libraries",label:"Libraries",items:[{id:"skills",label:"Skills",icon:_("skills"),count:w.skills??0},{id:"mcps",label:"MCPs",icon:_("mcps"),count:w.mcps??0},{id:"hooks",label:"Hooks",icon:_("hooks"),count:w.hooks??0}]},{id:"system",label:"System",items:[{id:"history",label:"History",icon:_("history")},{id:"admin",label:"Admin",icon:_("admin")},{id:"auth",label:"Auth",icon:_("auth")},{id:"env-vars",label:"Env vars",icon:_("env-vars")},{id:"config",label:"Config",icon:_("config")},{id:"dialogs",label:"Dialogs",icon:_("dialogs")},{id:"providers",label:"Providers",icon:_("providers")},{id:"mods",label:"Mods",icon:_("mods")},{id:"update",label:"Update",icon:_("update")},{id:"artifacts",label:"Artifacts",icon:_("artifacts")},{id:"lightrag",label:"LightRAG",icon:_("lightrag")},{id:"voice",label:"Voice",icon:_("voice")},{id:"clipboard",label:"Clipboard",icon:_("clipboard")},{id:"obsidian",label:"Obsidian",icon:_("obsidian")},{id:"misc",label:"Misc",icon:_("misc")},{id:"doctor",label:"Doctor",icon:_("doctor")},{id:"usage",label:"Usage",icon:_("usage")},{id:"backup",label:"Backups",icon:_("backup")},{id:"notifications",label:"Notifications",icon:_("notifications")},{id:"diagnostics",label:"Diagnostics",icon:_("diagnostics")},{id:"eval",label:"Eval",icon:_("eval")},{id:"settings",label:"Settings",icon:_("settings")}]}],S=x=>{if(x==="__theme"){const k=o.mode==="dark"?"light":"dark";o.setMode(k);return}if(x==="__density"){const k=s.density==="comfortable"?"compact":"comfortable";s.setDensity(k);return}t(x)},P=uc(e);return i.jsxs(_i,{ref:l,topbar:i.jsx(Ln,{leading:i.jsx("button",{type:"button","aria-label":"Open navigation menu","data-testid":"mobile-menu-toggle",onClick:()=>n(!0),style:{display:"none",alignItems:"center",justifyContent:"center",width:32,height:32,background:"transparent",border:"1px solid var(--border)",borderRadius:"var(--radius-sm)",color:"var(--fg-muted)",cursor:"pointer"},className:"mobile-menu-toggle",children:i.jsx(So,{size:16,"aria-hidden":"true"})}),center:i.jsxs(he,{align:"center",gap:2,children:[i.jsxs(Je,{variant:"ghost",size:"sm",onClick:()=>c(!0),"aria-label":"Open command palette","data-testid":"palette-trigger",style:{display:"inline-flex",alignItems:"center",gap:"var(--space-2)",padding:"6px var(--space-3)",background:"var(--surface-1)",border:"1px solid var(--border)",borderRadius:"var(--radius)",color:"var(--fg-muted)",fontSize:"var(--fs-13)",width:360,maxWidth:"100%",justifyContent:"space-between"},children:[i.jsx("span",{children:"Type a command, page, or setting…"}),i.jsx(I,{as:"kbd",style:{fontFamily:"var(--font-mono)",fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:"⌘K"})]}),i.jsx(Je,{variant:"ghost",size:"icon","aria-label":"Keyboard shortcuts","data-testid":"shortcuts-help",title:"Keyboard shortcuts",onClick:()=>{const x=["⌘K — Command palette","⌘/ — Toggle sidebar","⌘, — Settings","⌘. — Dismiss notification"].join(`
275
+ `);window.alert(`Keyboard Shortcuts
276
+
277
+ `+x)},children:"?"})]})}),sidebar:i.jsx(xt,{sections:A,defaultSections:!1,activeId:e,onItemSelect:x=>{S(x),n(!1)}}),mobileMenuOpen:r,onMobileMenuClose:()=>n(!1),children:[i.jsx(f.Suspense,{fallback:i.jsx(Ec,{}),children:P}),i.jsx(Pc,{open:a,onOpenChange:c,onNavigate:S})]})}const Tn=document.getElementById("root");if(Tn===null)throw new Error("v8 mount target #root not found in DOM.");const Mc=pr(Tn);Mc.render(i.jsx(f.StrictMode,{children:i.jsx(ao,{children:i.jsx(lo,{children:i.jsx(_c,{})})})}));export{jr as $,vr as A,Je as B,yo as C,Cr as D,$r as E,zt as F,Nr as G,Wr as H,he as I,ko as J,kr as K,Fe as L,Vr as M,Rr as N,zr as O,_r as P,Tr as Q,Oa as R,Se as S,Br as T,wr as U,Hr as V,Gr as W,_o as X,Sr as Y,Co as Z,Lr as _,Ue as a,br as a0,Pr as a1,xi as b,xr as c,j as d,yr as e,et as f,q as g,_e as h,re as i,Ar as j,Ir as k,vo as l,Aa as m,xn as n,Va as o,fn as p,za as q,bo as r,xo as s,On as t,ie as u,zn as v,Dr as w,Fr as x,wt as y,Mr as z};