@tangle-network/sandbox-ui 2.0.17 → 2.0.19

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 (469) hide show
  1. package/README.md +2 -0
  2. package/dist/agent-stream-CBZ2fXJ2.d.ts +66 -0
  3. package/dist/code-view-BlhCS1SD.js +177 -0
  4. package/dist/globals.css +186 -150
  5. package/dist/hooks/use-document.d.ts +2 -0
  6. package/dist/hooks/use-document.js +142 -0
  7. package/dist/hooks.d.ts +2 -1
  8. package/dist/hooks.js +2 -1
  9. package/dist/{index-BtR5Sc3u.d.ts → index-BnaVprN6.d.ts} +3 -66
  10. package/dist/index.d.ts +2 -1
  11. package/dist/index.js +6 -3
  12. package/dist/run/live.d.ts +11 -0
  13. package/dist/run/live.js +412 -0
  14. package/dist/run.d.ts +2 -1
  15. package/dist/run.js +2 -1
  16. package/dist/runtime-viewer/AgentGraphCanvas-B74GN1o6-DC3EH_ss.js +8564 -0
  17. package/dist/runtime-viewer/abap-CJVxDCih.js +2 -0
  18. package/dist/runtime-viewer/actionscript-3-DxxSN0a_.js +2 -0
  19. package/dist/runtime-viewer/ada-Cl3FVDZo.js +2 -0
  20. package/dist/runtime-viewer/ahk-wK-qmFta.js +2 -0
  21. package/dist/runtime-viewer/ahk2-H2JA2Yl6.js +2 -0
  22. package/dist/runtime-viewer/andromeeda--b5O3zh8.js +134 -0
  23. package/dist/runtime-viewer/andromeeda-Gms6gP4X.js +3 -0
  24. package/dist/runtime-viewer/angular-html-rj1gmhWN.js +15 -0
  25. package/dist/runtime-viewer/angular-ts-Bqgem-S1.js +17 -0
  26. package/dist/runtime-viewer/apache-BUhlrTDV.js +2 -0
  27. package/dist/runtime-viewer/apex-BB9dj6FH.js +2 -0
  28. package/dist/runtime-viewer/apl-Bbo6_Uyo.js +15 -0
  29. package/dist/runtime-viewer/appendItems-Cd9l6s5M.js +709 -0
  30. package/dist/runtime-viewer/applescript-ADDjRuDN.js +2 -0
  31. package/dist/runtime-viewer/ara-qq1xXFYH.js +2 -0
  32. package/dist/runtime-viewer/asciidoc-DM4EX7__.js +2 -0
  33. package/dist/runtime-viewer/asm-BG-prohY.js +2 -0
  34. package/dist/runtime-viewer/astro-DLFBJCYZ.js +17 -0
  35. package/dist/runtime-viewer/aurora-x-9XZt7weA.js +3 -0
  36. package/dist/runtime-viewer/aurora-x-CUDrP6dl.js +148 -0
  37. package/dist/runtime-viewer/awk-CLViK1AN.js +2 -0
  38. package/dist/runtime-viewer/ayu-dark-Cn6mFqgG.js +3 -0
  39. package/dist/runtime-viewer/ayu-dark-KXkHEKeT.js +124 -0
  40. package/dist/runtime-viewer/ayu-light-CiMsj1GY.js +124 -0
  41. package/dist/runtime-viewer/ayu-light-DT1rcejT.js +3 -0
  42. package/dist/runtime-viewer/ayu-mirage-B9PABb6M.js +3 -0
  43. package/dist/runtime-viewer/ayu-mirage-D866knu2.js +124 -0
  44. package/dist/runtime-viewer/ballerina-CEQUp96R.js +2 -0
  45. package/dist/runtime-viewer/bash-CEf3P1Io.js +1 -0
  46. package/dist/runtime-viewer/bat-CZr3fv67.js +2 -0
  47. package/dist/runtime-viewer/beancount-VKRy3bBi.js +2 -0
  48. package/dist/runtime-viewer/berry-BwT4aLVg.js +2 -0
  49. package/dist/runtime-viewer/bibtex-CqljWi0V.js +2 -0
  50. package/dist/runtime-viewer/bicep-B4J9qq-Z.js +2 -0
  51. package/dist/runtime-viewer/bird2-aEHxasJz.js +2 -0
  52. package/dist/runtime-viewer/blade-CSrWCe1q.js +19 -0
  53. package/dist/runtime-viewer/bsl-BihRw6wC.js +4 -0
  54. package/dist/runtime-viewer/c-DqEbRro5.js +1 -0
  55. package/dist/runtime-viewer/c-nuWrC4_R.js +4 -0
  56. package/dist/runtime-viewer/c3-B1ecFreZ.js +2 -0
  57. package/dist/runtime-viewer/cadence-DRL7VEtm.js +2 -0
  58. package/dist/runtime-viewer/cairo-Mf356MxB.js +4 -0
  59. package/dist/runtime-viewer/catppuccin-frappe-CaZDpwbh.js +3 -0
  60. package/dist/runtime-viewer/catppuccin-frappe-D40A-eC-.js +253 -0
  61. package/dist/runtime-viewer/catppuccin-latte-BY0gIWQk.js +253 -0
  62. package/dist/runtime-viewer/catppuccin-latte-Cto1Jf_t.js +3 -0
  63. package/dist/runtime-viewer/catppuccin-macchiato-BshuwwL_.js +253 -0
  64. package/dist/runtime-viewer/catppuccin-macchiato-Da4JtJzk.js +3 -0
  65. package/dist/runtime-viewer/catppuccin-mocha-DDZ3zh14.js +253 -0
  66. package/dist/runtime-viewer/catppuccin-mocha-VxvWTjH_.js +3 -0
  67. package/dist/runtime-viewer/chapel-OTK-UUIg.js +4 -0
  68. package/dist/runtime-viewer/clarity-VQN67-z4.js +2 -0
  69. package/dist/runtime-viewer/clojure-CO3ptKNj.js +2 -0
  70. package/dist/runtime-viewer/cmake-Daw-aSZt.js +2 -0
  71. package/dist/runtime-viewer/cobol-Cf_qPd6-.js +9 -0
  72. package/dist/runtime-viewer/codeowners-RB6Ky2d_.js +2 -0
  73. package/dist/runtime-viewer/codeql-DWYIUtYc.js +2 -0
  74. package/dist/runtime-viewer/coffee-Ddb4DMEu.js +4 -0
  75. package/dist/runtime-viewer/common-lisp-Z5pdmE3i.js +2 -0
  76. package/dist/runtime-viewer/constants-BJYchxfN.js +3 -0
  77. package/dist/runtime-viewer/coq-JC5iWOqp.js +2 -0
  78. package/dist/runtime-viewer/core-CpUX80b1.js +3279 -0
  79. package/dist/runtime-viewer/cpp-ClbMDAkS.js +1 -0
  80. package/dist/runtime-viewer/cpp-DHh405em.js +15 -0
  81. package/dist/runtime-viewer/crystal-DO6lJkkC.js +17 -0
  82. package/dist/runtime-viewer/csharp-lEK6y4jq.js +2 -0
  83. package/dist/runtime-viewer/csharp-rZvb5Mvv.js +1 -0
  84. package/dist/runtime-viewer/css-CwgM346x.js +1 -0
  85. package/dist/runtime-viewer/css-D0s2ehNl.js +4 -0
  86. package/dist/runtime-viewer/csv-DDLVNpF_.js +2 -0
  87. package/dist/runtime-viewer/cue-D9icO3Iq.js +2 -0
  88. package/dist/runtime-viewer/cypher-CtaxHT1L.js +2 -0
  89. package/dist/runtime-viewer/d-D4yE5Vyh.js +2 -0
  90. package/dist/runtime-viewer/dark-plus-BrGvqa0b.js +132 -0
  91. package/dist/runtime-viewer/dark-plus-Fqa0GMhm.js +3 -0
  92. package/dist/runtime-viewer/dart-BQKGVcgZ.js +2 -0
  93. package/dist/runtime-viewer/dax-B_fglzFE.js +2 -0
  94. package/dist/runtime-viewer/desktop-D1YOnHEY.js +2 -0
  95. package/dist/runtime-viewer/diff-CiTjO3HD.js +1 -0
  96. package/dist/runtime-viewer/diff-Diuv0qGT.js +2 -0
  97. package/dist/runtime-viewer/docker-DbYJRRXH.js +4 -0
  98. package/dist/runtime-viewer/dockerfile-BFrtbjpQ.js +1 -0
  99. package/dist/runtime-viewer/dotenv-FA1qqDb1.js +2 -0
  100. package/dist/runtime-viewer/dracula-Btj3GSO9.js +3 -0
  101. package/dist/runtime-viewer/dracula-D8HPTJym.js +152 -0
  102. package/dist/runtime-viewer/dracula-soft-C8zQlEh_.js +102 -0
  103. package/dist/runtime-viewer/dracula-soft-D6LcM51i.js +3 -0
  104. package/dist/runtime-viewer/dream-maker-hpDz6By6.js +2 -0
  105. package/dist/runtime-viewer/edge-BB4FSmZo.js +11 -0
  106. package/dist/runtime-viewer/elixir-DuATaRNn.js +4 -0
  107. package/dist/runtime-viewer/elk.bundled-CqF3Dyp2.js +45979 -0
  108. package/dist/runtime-viewer/elm-82HhQ2nm.js +4 -0
  109. package/dist/runtime-viewer/emacs-lisp-C5QNYC99.js +2 -0
  110. package/dist/runtime-viewer/engine-javascript-0MH9JO7M.js +2372 -0
  111. package/dist/runtime-viewer/engine-oniguruma-7Bv9BGGj.js +237 -0
  112. package/dist/runtime-viewer/erb-YvvBNDWy.js +9 -0
  113. package/dist/runtime-viewer/erlang-X9awClOJ.js +4 -0
  114. package/dist/runtime-viewer/everforest-dark-CzXjGmbf.js +3 -0
  115. package/dist/runtime-viewer/everforest-dark-DPX_5Sj-.js +86 -0
  116. package/dist/runtime-viewer/everforest-light-BMqXq4Th.js +3 -0
  117. package/dist/runtime-viewer/everforest-light-D1PD4A7K.js +86 -0
  118. package/dist/runtime-viewer/fennel-f1xl4Q05.js +2 -0
  119. package/dist/runtime-viewer/fish-99YblEc7.js +2 -0
  120. package/dist/runtime-viewer/fluent-4LP_8ZRP.js +2 -0
  121. package/dist/runtime-viewer/formatCSSVariablePrefix-Dw8K8---.js +5 -0
  122. package/dist/runtime-viewer/fortran-fixed-form-CXgWKejO.js +4 -0
  123. package/dist/runtime-viewer/fortran-free-form-BJnwWphW.js +2 -0
  124. package/dist/runtime-viewer/fsharp-lb4HOh0M.js +4 -0
  125. package/dist/runtime-viewer/gdresource-B4QpWOUk.js +9 -0
  126. package/dist/runtime-viewer/gdscript-Dc0nUXdB.js +2 -0
  127. package/dist/runtime-viewer/gdshader-D7XodLZw.js +2 -0
  128. package/dist/runtime-viewer/genie-ufotYGgo.js +2 -0
  129. package/dist/runtime-viewer/gherkin-TDn2lJS-.js +2 -0
  130. package/dist/runtime-viewer/git-commit-Cp1Pt-h7.js +4 -0
  131. package/dist/runtime-viewer/git-rebase-CXUuGQB4.js +4 -0
  132. package/dist/runtime-viewer/github-dark-BsaUiyss.js +129 -0
  133. package/dist/runtime-viewer/github-dark-CzJ4LJRs.js +3 -0
  134. package/dist/runtime-viewer/github-dark-default-C6vmm66I.js +3 -0
  135. package/dist/runtime-viewer/github-dark-default-DHpmzBTU.js +75 -0
  136. package/dist/runtime-viewer/github-dark-dimmed-Bg7ahiYc.js +124 -0
  137. package/dist/runtime-viewer/github-dark-dimmed-CntRzgqu.js +3 -0
  138. package/dist/runtime-viewer/github-dark-high-contrast-BP5LnlnO.js +124 -0
  139. package/dist/runtime-viewer/github-dark-high-contrast-gviVHGeU.js +3 -0
  140. package/dist/runtime-viewer/github-light-2Z3gmJhd.js +3 -0
  141. package/dist/runtime-viewer/github-light-BAncjKrl.js +129 -0
  142. package/dist/runtime-viewer/github-light-default-kDVra9RT.js +124 -0
  143. package/dist/runtime-viewer/github-light-default-qgi3RC4t.js +3 -0
  144. package/dist/runtime-viewer/github-light-high-contrast-B2kY0DMu.js +124 -0
  145. package/dist/runtime-viewer/github-light-high-contrast-T0lGRgzi.js +3 -0
  146. package/dist/runtime-viewer/gleam-LV2mKtnv.js +2 -0
  147. package/dist/runtime-viewer/glimmer-js-BX9ckA-I.js +13 -0
  148. package/dist/runtime-viewer/glimmer-ts-DAfjLnWM.js +13 -0
  149. package/dist/runtime-viewer/glsl-BStsalM0.js +5 -0
  150. package/dist/runtime-viewer/gn-ChOGRsKV.js +2 -0
  151. package/dist/runtime-viewer/gnuplot-Di7UZXvs.js +2 -0
  152. package/dist/runtime-viewer/go-BrUQhiM2.js +1 -0
  153. package/dist/runtime-viewer/go-DM5FkVJr.js +2 -0
  154. package/dist/runtime-viewer/graphql-C8jzeQ3m.js +1 -0
  155. package/dist/runtime-viewer/graphql-C_WRV-qo.js +14 -0
  156. package/dist/runtime-viewer/groovy-DNa91fQJ.js +2 -0
  157. package/dist/runtime-viewer/gruvbox-dark-hard-BK-BcNOC.js +127 -0
  158. package/dist/runtime-viewer/gruvbox-dark-hard-fgme3GSG.js +3 -0
  159. package/dist/runtime-viewer/gruvbox-dark-medium-Btvv2ALk.js +127 -0
  160. package/dist/runtime-viewer/gruvbox-dark-medium-GM28AOs3.js +3 -0
  161. package/dist/runtime-viewer/gruvbox-dark-soft-D12Dlf7E.js +3 -0
  162. package/dist/runtime-viewer/gruvbox-dark-soft-ScIRFHp0.js +127 -0
  163. package/dist/runtime-viewer/gruvbox-light-hard-D0LtL2QG.js +3 -0
  164. package/dist/runtime-viewer/gruvbox-light-hard-D3d04bym.js +127 -0
  165. package/dist/runtime-viewer/gruvbox-light-medium-BUM64AiQ.js +127 -0
  166. package/dist/runtime-viewer/gruvbox-light-medium-Dbiuwhcl.js +3 -0
  167. package/dist/runtime-viewer/gruvbox-light-soft-BFyUZF8I.js +3 -0
  168. package/dist/runtime-viewer/gruvbox-light-soft-Deemyp2j.js +127 -0
  169. package/dist/runtime-viewer/hack-DrxrxETA.js +9 -0
  170. package/dist/runtime-viewer/haml-DtaFw5Wt.js +10 -0
  171. package/dist/runtime-viewer/handlebars-DdC6ISBc.js +13 -0
  172. package/dist/runtime-viewer/haskell-D6RgJWqJ.js +2 -0
  173. package/dist/runtime-viewer/haxe-CIYKU3E4.js +2 -0
  174. package/dist/runtime-viewer/hcl-B9zco17t.js +2 -0
  175. package/dist/runtime-viewer/highlights-Dcx2AVJg.js +1342 -0
  176. package/dist/runtime-viewer/hjson-sMCeQDUn.js +2 -0
  177. package/dist/runtime-viewer/hlsl-WeeDt2Wp.js +2 -0
  178. package/dist/runtime-viewer/horizon-B8n8qcHx.js +84 -0
  179. package/dist/runtime-viewer/horizon-aRqT-seq.js +3 -0
  180. package/dist/runtime-viewer/horizon-bright-DACv8zK_.js +84 -0
  181. package/dist/runtime-viewer/horizon-bright-DEevCdc_.js +3 -0
  182. package/dist/runtime-viewer/houston-CsNpjGGD.js +194 -0
  183. package/dist/runtime-viewer/houston-Dg2jxmDJ.js +3 -0
  184. package/dist/runtime-viewer/html-CPjHaxbO.js +1 -0
  185. package/dist/runtime-viewer/html-Di2iyAsX.js +10 -0
  186. package/dist/runtime-viewer/html-derivative-Rauq0RVM.js +4 -0
  187. package/dist/runtime-viewer/http-CkmWBydm.js +13 -0
  188. package/dist/runtime-viewer/hurl-BGjXa70x.js +11 -0
  189. package/dist/runtime-viewer/hxml-Bo5YTIXF.js +4 -0
  190. package/dist/runtime-viewer/hy-C-tRiv34.js +2 -0
  191. package/dist/runtime-viewer/imba-v7ELlTL6.js +2 -0
  192. package/dist/runtime-viewer/ini-DtrnrQj2.js +2 -0
  193. package/dist/runtime-viewer/java-DVlvG-lL.js +1 -0
  194. package/dist/runtime-viewer/java-DzBtATHG.js +4 -0
  195. package/dist/runtime-viewer/javascript--K52AMOb.js +4 -0
  196. package/dist/runtime-viewer/javascript-soGjNmbd.js +1 -0
  197. package/dist/runtime-viewer/jinja-CZBKZHkS.js +4 -0
  198. package/dist/runtime-viewer/jison-Bqt-LhEh.js +4 -0
  199. package/dist/runtime-viewer/json-DN-CB1kQ.js +4 -0
  200. package/dist/runtime-viewer/json-D_yoNICS.js +1 -0
  201. package/dist/runtime-viewer/json5-BdfUTtLp.js +2 -0
  202. package/dist/runtime-viewer/jsonc-ElU8pfhL.js +1 -0
  203. package/dist/runtime-viewer/jsonc-IKox2JSV.js +2 -0
  204. package/dist/runtime-viewer/jsonl-CfuX4G6U.js +2 -0
  205. package/dist/runtime-viewer/jsonnet-Yq9KcR8E.js +2 -0
  206. package/dist/runtime-viewer/jssm-BvR7SnkK.js +2 -0
  207. package/dist/runtime-viewer/jsx-D_XQMdaK.js +4 -0
  208. package/dist/runtime-viewer/jsx-snoZUiUS.js +1 -0
  209. package/dist/runtime-viewer/julia-C8lwf2tT.js +15 -0
  210. package/dist/runtime-viewer/just-CQnb5pIW.js +17 -0
  211. package/dist/runtime-viewer/kanagawa-dragon-Cx4OB0dC.js +3 -0
  212. package/dist/runtime-viewer/kanagawa-dragon-OValCvAZ.js +146 -0
  213. package/dist/runtime-viewer/kanagawa-lotus-C1sYcneT.js +146 -0
  214. package/dist/runtime-viewer/kanagawa-lotus-TwFRI7_8.js +3 -0
  215. package/dist/runtime-viewer/kanagawa-wave-BJYCyv2X.js +146 -0
  216. package/dist/runtime-viewer/kanagawa-wave-BiOn36ux.js +3 -0
  217. package/dist/runtime-viewer/kdl-D97SquIS.js +2 -0
  218. package/dist/runtime-viewer/kotlin-EmJjLeRz.js +2 -0
  219. package/dist/runtime-viewer/kotlin-LwxBtHgj.js +1 -0
  220. package/dist/runtime-viewer/kusto-DHanPw0g.js +2 -0
  221. package/dist/runtime-viewer/langs-D4STZqO4.js +1322 -0
  222. package/dist/runtime-viewer/laserwave-CV_0dg5c.js +71 -0
  223. package/dist/runtime-viewer/laserwave-PpzazpgI.js +3 -0
  224. package/dist/runtime-viewer/latest-events-iiWwpIck-BTK0vSlR.js +3657 -0
  225. package/dist/runtime-viewer/latex-Csew0MLK.js +4 -0
  226. package/dist/runtime-viewer/lean-E61_xvh-.js +2 -0
  227. package/dist/runtime-viewer/less-Bis9Y9oi.js +2 -0
  228. package/dist/runtime-viewer/lib-B7rl8i0A.js +1712 -0
  229. package/dist/runtime-viewer/light-plus-DOInvhGO.js +133 -0
  230. package/dist/runtime-viewer/light-plus-DnhX_5eg.js +3 -0
  231. package/dist/runtime-viewer/liquid-CuxywBoN.js +13 -0
  232. package/dist/runtime-viewer/llvm-DOIFdCJg.js +2 -0
  233. package/dist/runtime-viewer/loader-NcDPTN_h.js +79 -0
  234. package/dist/runtime-viewer/log-Awf6LbyY.js +2 -0
  235. package/dist/runtime-viewer/logo-Cn9nW1nw.js +2 -0
  236. package/dist/runtime-viewer/lua-BtojQCeL.js +5 -0
  237. package/dist/runtime-viewer/luau-DHSqpUrS.js +2 -0
  238. package/dist/runtime-viewer/make-CJ4tc-MS.js +2 -0
  239. package/dist/runtime-viewer/markdown-CNVZ8ok-.js +2 -0
  240. package/dist/runtime-viewer/markdown-Co5Krewy.js +1 -0
  241. package/dist/runtime-viewer/marko-CRIKirQp.js +13 -0
  242. package/dist/runtime-viewer/material-theme-D5uz9rje.js +3 -0
  243. package/dist/runtime-viewer/material-theme-darker-DbzCDLF8.js +92 -0
  244. package/dist/runtime-viewer/material-theme-darker-Dqalv5VE.js +3 -0
  245. package/dist/runtime-viewer/material-theme-lighter-CVJ0oH_V.js +3 -0
  246. package/dist/runtime-viewer/material-theme-lighter-CytgYJOd.js +92 -0
  247. package/dist/runtime-viewer/material-theme-ocean-BgKy5sU3.js +92 -0
  248. package/dist/runtime-viewer/material-theme-ocean-CRXu0cdY.js +3 -0
  249. package/dist/runtime-viewer/material-theme-palenight-C6iiJcUB.js +3 -0
  250. package/dist/runtime-viewer/material-theme-palenight-DZK7nXDy.js +92 -0
  251. package/dist/runtime-viewer/material-theme-yF3uaT0h.js +92 -0
  252. package/dist/runtime-viewer/matlab-Dn3Clolk.js +2 -0
  253. package/dist/runtime-viewer/mdc-D0bRQBcT.js +11 -0
  254. package/dist/runtime-viewer/mdx-C5T-IRbL.js +2 -0
  255. package/dist/runtime-viewer/mdx-DM8tlqVf.js +1 -0
  256. package/dist/runtime-viewer/mermaid-C4AYlmk3.js +2 -0
  257. package/dist/runtime-viewer/min-dark-BGA1sv8W.js +3 -0
  258. package/dist/runtime-viewer/min-dark-C1XOhi4b.js +109 -0
  259. package/dist/runtime-viewer/min-light-Bi5vyNSJ.js +109 -0
  260. package/dist/runtime-viewer/min-light-CYXBjZLR.js +3 -0
  261. package/dist/runtime-viewer/mipsasm-Bwfx99oh.js +2 -0
  262. package/dist/runtime-viewer/mojo-CRl08dek.js +2 -0
  263. package/dist/runtime-viewer/monokai-D9Ylqri2.js +149 -0
  264. package/dist/runtime-viewer/monokai-i6D4lZa3.js +3 -0
  265. package/dist/runtime-viewer/moonbit-CF1zF40g.js +2 -0
  266. package/dist/runtime-viewer/move-BP-e5w2W.js +2 -0
  267. package/dist/runtime-viewer/narrat-CrPIhy6S.js +2 -0
  268. package/dist/runtime-viewer/nextflow-D_hnf_jC.js +4 -0
  269. package/dist/runtime-viewer/nextflow-groovy-BLKP0md9.js +2 -0
  270. package/dist/runtime-viewer/nginx-87WOq-zh.js +4 -0
  271. package/dist/runtime-viewer/night-owl-BIeenDB2.js +175 -0
  272. package/dist/runtime-viewer/night-owl-NpADjULE.js +3 -0
  273. package/dist/runtime-viewer/night-owl-light-CPFD_YWe.js +3 -0
  274. package/dist/runtime-viewer/night-owl-light-cj7zoq2Q.js +176 -0
  275. package/dist/runtime-viewer/nim-CDdExumk.js +19 -0
  276. package/dist/runtime-viewer/nix-D_5rVnnj.js +2 -0
  277. package/dist/runtime-viewer/nord-DtfXNtHW.js +3 -0
  278. package/dist/runtime-viewer/nord-LUKuJt-q.js +115 -0
  279. package/dist/runtime-viewer/nsis-R3iO3ArE.js +2 -0
  280. package/dist/runtime-viewer/nushell-Ctp5mfhf.js +2 -0
  281. package/dist/runtime-viewer/objective-c-DPJeQfV6.js +2 -0
  282. package/dist/runtime-viewer/objective-cpp-1I3jYeMe.js +2 -0
  283. package/dist/runtime-viewer/ocaml-DOrLjeoA.js +2 -0
  284. package/dist/runtime-viewer/odin-CyrMbkLb.js +2 -0
  285. package/dist/runtime-viewer/one-dark-pro-CoHxEOhG.js +3 -0
  286. package/dist/runtime-viewer/one-dark-pro-DJGEbENq.js +111 -0
  287. package/dist/runtime-viewer/one-light-CTMiOsB9.js +137 -0
  288. package/dist/runtime-viewer/one-light-DRcvOwa6.js +3 -0
  289. package/dist/runtime-viewer/openscad-BdifjW6z.js +2 -0
  290. package/dist/runtime-viewer/org-DqaIvCPP.js +99 -0
  291. package/dist/runtime-viewer/pascal-CWF557wL.js +2 -0
  292. package/dist/runtime-viewer/perl-CNf3SVpk.js +15 -0
  293. package/dist/runtime-viewer/php-BPw4EY34.js +17 -0
  294. package/dist/runtime-viewer/php-CftiA0NJ.js +1 -0
  295. package/dist/runtime-viewer/pierre-dark-Bdb1mzqq.js +153 -0
  296. package/dist/runtime-viewer/pierre-dark-C6-jOUHM.js +3 -0
  297. package/dist/runtime-viewer/pierre-dark-protanopia-deuteranopia-DCuPErCj.js +153 -0
  298. package/dist/runtime-viewer/pierre-dark-protanopia-deuteranopia-duePIMEV.js +3 -0
  299. package/dist/runtime-viewer/pierre-dark-soft-BAcQZBxz.js +3 -0
  300. package/dist/runtime-viewer/pierre-dark-soft-BbEG7yMD.js +153 -0
  301. package/dist/runtime-viewer/pierre-dark-tritanopia-DOpkeqXJ.js +153 -0
  302. package/dist/runtime-viewer/pierre-dark-tritanopia-D_B2XvmS.js +3 -0
  303. package/dist/runtime-viewer/pierre-dark-vibrant-Cjjp0Ett.js +3 -0
  304. package/dist/runtime-viewer/pierre-dark-vibrant-wch72KIm.js +153 -0
  305. package/dist/runtime-viewer/pierre-light-BOFVfKvu.js +153 -0
  306. package/dist/runtime-viewer/pierre-light-LcifP5tb.js +3 -0
  307. package/dist/runtime-viewer/pierre-light-protanopia-deuteranopia-BQUu7m7e.js +153 -0
  308. package/dist/runtime-viewer/pierre-light-protanopia-deuteranopia-BwLihlmJ.js +3 -0
  309. package/dist/runtime-viewer/pierre-light-soft-BOBDofkU.js +153 -0
  310. package/dist/runtime-viewer/pierre-light-soft-X5R_lHC5.js +3 -0
  311. package/dist/runtime-viewer/pierre-light-tritanopia-DHKQqobW.js +153 -0
  312. package/dist/runtime-viewer/pierre-light-tritanopia-_xB326N3.js +3 -0
  313. package/dist/runtime-viewer/pierre-light-vibrant-BQ8t4eUq.js +153 -0
  314. package/dist/runtime-viewer/pierre-light-vibrant-CpysSVqa.js +3 -0
  315. package/dist/runtime-viewer/pkl-D57k4LLs.js +2 -0
  316. package/dist/runtime-viewer/plastic-B9GSmjqY.js +3 -0
  317. package/dist/runtime-viewer/plastic-BVwrkRXf.js +124 -0
  318. package/dist/runtime-viewer/plsql-CFYD0AaB.js +2 -0
  319. package/dist/runtime-viewer/po-3OOmP4Qc.js +2 -0
  320. package/dist/runtime-viewer/poimandres-BOYLUaPj.js +3 -0
  321. package/dist/runtime-viewer/poimandres-pq5u2ANt.js +111 -0
  322. package/dist/runtime-viewer/polar-B5m1_AiD.js +2 -0
  323. package/dist/runtime-viewer/postcss-DaNMuZdy.js +2 -0
  324. package/dist/runtime-viewer/powerquery-Ds3ATR9s.js +2 -0
  325. package/dist/runtime-viewer/powershell-C6Oz4_dd.js +2 -0
  326. package/dist/runtime-viewer/prisma-RRr5YdGg.js +2 -0
  327. package/dist/runtime-viewer/prolog-DSStdQTq.js +2 -0
  328. package/dist/runtime-viewer/proto-Chh6Q5CM.js +2 -0
  329. package/dist/runtime-viewer/pug-jgpaAltF.js +11 -0
  330. package/dist/runtime-viewer/puppet-BLsUK3yq.js +2 -0
  331. package/dist/runtime-viewer/purescript-B02W4seQ.js +2 -0
  332. package/dist/runtime-viewer/python-BHaXfePs.js +2 -0
  333. package/dist/runtime-viewer/python-CqjzihlT.js +1 -0
  334. package/dist/runtime-viewer/qml-LuB2sppG.js +4 -0
  335. package/dist/runtime-viewer/qmldir-COlmh4fX.js +2 -0
  336. package/dist/runtime-viewer/qss-DQUGDdeL.js +2 -0
  337. package/dist/runtime-viewer/r-DLQ-WMyZ.js +4 -0
  338. package/dist/runtime-viewer/racket-Dh3q-EfD.js +2 -0
  339. package/dist/runtime-viewer/raku-CdFQrZmh.js +2 -0
  340. package/dist/runtime-viewer/razor-DyYB-qxm.js +9 -0
  341. package/dist/runtime-viewer/rbs-jMgpabM7.js +2 -0
  342. package/dist/runtime-viewer/red-CCCMngeG.js +3 -0
  343. package/dist/runtime-viewer/red-Dab29wid.js +153 -0
  344. package/dist/runtime-viewer/reg-BY6GKaZK.js +2 -0
  345. package/dist/runtime-viewer/regexp-DGXwIvno.js +4 -0
  346. package/dist/runtime-viewer/rel-DjgjjaPM.js +2 -0
  347. package/dist/runtime-viewer/riscv-e0swiQQT.js +2 -0
  348. package/dist/runtime-viewer/rolldown-runtime-CwxnZyOB.js +22 -0
  349. package/dist/runtime-viewer/ron-Ba9vjMyp.js +2 -0
  350. package/dist/runtime-viewer/rose-pine-B-dgSkpN.js +3 -0
  351. package/dist/runtime-viewer/rose-pine-BtbnV2yy.js +123 -0
  352. package/dist/runtime-viewer/rose-pine-dawn-Bdn8gWo3.js +123 -0
  353. package/dist/runtime-viewer/rose-pine-dawn-wnKgbnkN.js +3 -0
  354. package/dist/runtime-viewer/rose-pine-moon-Bo6Tj-LK.js +3 -0
  355. package/dist/runtime-viewer/rose-pine-moon-f0wTyd2e.js +123 -0
  356. package/dist/runtime-viewer/rosmsg-33FkgZa7.js +2 -0
  357. package/dist/runtime-viewer/rst-B4Blahjm.js +21 -0
  358. package/dist/runtime-viewer/ruby-DYURXRgy.js +1 -0
  359. package/dist/runtime-viewer/ruby-ZzNzsyR7.js +29 -0
  360. package/dist/runtime-viewer/rust-CbGaYpW0.js +2 -0
  361. package/dist/runtime-viewer/rust-DesRWqWI.js +1 -0
  362. package/dist/runtime-viewer/sandbox-ui-z5RGk327.css +2 -0
  363. package/dist/runtime-viewer/sas-y9RoKb_L.js +4 -0
  364. package/dist/runtime-viewer/sass-B4OMkGSD.js +2 -0
  365. package/dist/runtime-viewer/scala--rETK160.js +2 -0
  366. package/dist/runtime-viewer/scheme-CvovbBgk.js +2 -0
  367. package/dist/runtime-viewer/scss-DcI9-N4n.js +1 -0
  368. package/dist/runtime-viewer/scss-DopO6P6Z.js +5 -0
  369. package/dist/runtime-viewer/sdbl-BibMD0HR.js +2 -0
  370. package/dist/runtime-viewer/shaderlab-TCf2V7Bu.js +4 -0
  371. package/dist/runtime-viewer/shellscript-CMmvhdtO.js +4 -0
  372. package/dist/runtime-viewer/shellsession-C-hBmRFA.js +4 -0
  373. package/dist/runtime-viewer/shiki-CKiqbkeh.js +472 -0
  374. package/dist/runtime-viewer/slack-dark-Cdsw60PX.js +71 -0
  375. package/dist/runtime-viewer/slack-dark-awEjS_Yb.js +3 -0
  376. package/dist/runtime-viewer/slack-ochin-BKdp7_AN.js +94 -0
  377. package/dist/runtime-viewer/slack-ochin-CabfdAmS.js +3 -0
  378. package/dist/runtime-viewer/smalltalk-DxjZ-YtB.js +2 -0
  379. package/dist/runtime-viewer/smithy-tPvbDXO4.js +2 -0
  380. package/dist/runtime-viewer/snazzy-light-BYOmyMID.js +80 -0
  381. package/dist/runtime-viewer/snazzy-light-DqG5DUoz.js +3 -0
  382. package/dist/runtime-viewer/solarized-dark-DW7IHQvx.js +3 -0
  383. package/dist/runtime-viewer/solarized-dark-DbW2e0tz.js +147 -0
  384. package/dist/runtime-viewer/solarized-light-CAggmb5U.js +147 -0
  385. package/dist/runtime-viewer/solarized-light-DHtUsXC-.js +3 -0
  386. package/dist/runtime-viewer/solidity-CzRNc7l4.js +2 -0
  387. package/dist/runtime-viewer/solidity-DcnQs1tt.js +1 -0
  388. package/dist/runtime-viewer/soy-Di0gqQmR.js +4 -0
  389. package/dist/runtime-viewer/sparql-9pWczk0C.js +4 -0
  390. package/dist/runtime-viewer/splunk-mpquMt_8.js +2 -0
  391. package/dist/runtime-viewer/sql-BKQgqUK-.js +4 -0
  392. package/dist/runtime-viewer/sql-CWnPlVS6.js +1 -0
  393. package/dist/runtime-viewer/ssh-config-DcnVpK-n.js +2 -0
  394. package/dist/runtime-viewer/stata-D1hxcba5.js +4 -0
  395. package/dist/runtime-viewer/stream-tokenizer-BWCJrHj9.js +97 -0
  396. package/dist/runtime-viewer/stylus-Bk8v-7oM.js +2 -0
  397. package/dist/runtime-viewer/surrealql-D20GSlYu.js +4 -0
  398. package/dist/runtime-viewer/svelte-C1MdtiIu.js +13 -0
  399. package/dist/runtime-viewer/swift-1fpvFsbf.js +2 -0
  400. package/dist/runtime-viewer/swift-DdLix5IB.js +1 -0
  401. package/dist/runtime-viewer/synthwave-84-DEoLt5E0.js +3 -0
  402. package/dist/runtime-viewer/synthwave-84-DYyyPr4g.js +397 -0
  403. package/dist/runtime-viewer/system-verilog-9E6eQ6kG.js +2 -0
  404. package/dist/runtime-viewer/systemd-CS6cln6J.js +2 -0
  405. package/dist/runtime-viewer/talonscript-COzgILOx.js +2 -0
  406. package/dist/runtime-viewer/tasl-CrL-TM3j.js +2 -0
  407. package/dist/runtime-viewer/tcl-BK--alTs.js +2 -0
  408. package/dist/runtime-viewer/templ-DKjVFvC3.js +11 -0
  409. package/dist/runtime-viewer/terraform-BKVT4lTN.js +2 -0
  410. package/dist/runtime-viewer/tex-BMGJ-FHF.js +5 -0
  411. package/dist/runtime-viewer/themes-D2drbHm6.js +235 -0
  412. package/dist/runtime-viewer/tokyo-night-BDW-4G1n.js +3 -0
  413. package/dist/runtime-viewer/tokyo-night-CnwkSle4.js +140 -0
  414. package/dist/runtime-viewer/toml-BygInOIB.js +1 -0
  415. package/dist/runtime-viewer/toml-CXAVGmfI.js +2 -0
  416. package/dist/runtime-viewer/ts-tags-BMg-6tE-.js +37 -0
  417. package/dist/runtime-viewer/tsv-r5fpGho9.js +2 -0
  418. package/dist/runtime-viewer/tsx-CdftCu0x.js +1 -0
  419. package/dist/runtime-viewer/tsx-sVSKAISV.js +4 -0
  420. package/dist/runtime-viewer/turtle-BbiQBLu0.js +2 -0
  421. package/dist/runtime-viewer/twig-09z_6B11.js +17 -0
  422. package/dist/runtime-viewer/typescript-COKJUNHB.js +4 -0
  423. package/dist/runtime-viewer/typescript-DCN8T-9u.js +1 -0
  424. package/dist/runtime-viewer/typespec-CtiCKN_c.js +2 -0
  425. package/dist/runtime-viewer/typst-D_sC_VAT.js +119 -0
  426. package/dist/runtime-viewer/unwrapDefault-CNWG9hDr.js +5 -0
  427. package/dist/runtime-viewer/v-BdhLiTpS.js +2 -0
  428. package/dist/runtime-viewer/vala-sKTZx7aP.js +2 -0
  429. package/dist/runtime-viewer/vb-BAyoHiqq.js +2 -0
  430. package/dist/runtime-viewer/verilog-DrDp-nNs.js +2 -0
  431. package/dist/runtime-viewer/vesper-BOAJeYxj.js +3 -0
  432. package/dist/runtime-viewer/vesper-DMgHxe32.js +83 -0
  433. package/dist/runtime-viewer/vhdl-D4xoRBgL.js +2 -0
  434. package/dist/runtime-viewer/viml-C41wSeLL.js +2 -0
  435. package/dist/runtime-viewer/vitesse-black-CxSugKJt.js +3 -0
  436. package/dist/runtime-viewer/vitesse-black-D8_Gc8uG.js +183 -0
  437. package/dist/runtime-viewer/vitesse-dark-Dg-H5YXt.js +183 -0
  438. package/dist/runtime-viewer/vitesse-dark-DvdlNt-O.js +3 -0
  439. package/dist/runtime-viewer/vitesse-light-BU-cJySG.js +183 -0
  440. package/dist/runtime-viewer/vitesse-light-q0_0oW1f.js +3 -0
  441. package/dist/runtime-viewer/vue-BbJX7dLK.js +20 -0
  442. package/dist/runtime-viewer/vue-html-DvOnaPby.js +4 -0
  443. package/dist/runtime-viewer/vue-vine-NYLtCzNK.js +17 -0
  444. package/dist/runtime-viewer/vyper-D4A1KnBn.js +2 -0
  445. package/dist/runtime-viewer/wasm-CVPYyV9Y.js +2 -0
  446. package/dist/runtime-viewer/wasm-DrbRUT8q.js +3 -0
  447. package/dist/runtime-viewer/wenyan-Czq8OMMr.js +2 -0
  448. package/dist/runtime-viewer/wgsl-C_l-ZpBu.js +2 -0
  449. package/dist/runtime-viewer/wikitext-B7epQZx2.js +2 -0
  450. package/dist/runtime-viewer/wit-DswQpcNx.js +2 -0
  451. package/dist/runtime-viewer/wolfram-CSEjVwta.js +2 -0
  452. package/dist/runtime-viewer/xml-CBKvpQFb.js +1 -0
  453. package/dist/runtime-viewer/xml-Ct7jrUZw.js +5 -0
  454. package/dist/runtime-viewer/xsl-DovPFRzJ.js +4 -0
  455. package/dist/runtime-viewer/yaml-BfN4AWuy.js +4 -0
  456. package/dist/runtime-viewer/yaml-DWRq8wls.js +1 -0
  457. package/dist/runtime-viewer/zenscript-YvYHF5y3.js +2 -0
  458. package/dist/runtime-viewer/zig-BgXWauKx.js +2 -0
  459. package/dist/styles.css +189 -150
  460. package/dist/tailwind.css +156 -150
  461. package/dist/{run-CJ48hJz0.js → trace-workspace-C8dHRBDV.js} +2 -3
  462. package/dist/use-document-DCXGpk0q.d.ts +16 -0
  463. package/dist/{workbench-BozOdGCX.js → workbench-Z9wbei53.js} +4 -172
  464. package/dist/workbench.js +2 -1
  465. package/dist/{workspace-CJnBqCqj.js → workspace-CzikYt_y.js} +5 -364
  466. package/dist/workspace-files-pane-DB9Nvwh4.js +367 -0
  467. package/dist/workspace-viewer.js +44446 -0
  468. package/dist/workspace.js +2 -1
  469. package/package.json +13 -4
@@ -0,0 +1,3657 @@
1
+ import { i as e, t } from "./rolldown-runtime-CwxnZyOB.js";
2
+ // node_modules/.pnpm/react@19.3.1/node_modules/react/cjs/react.production.js
3
+ var n = /* @__PURE__ */ t(((e) => {
4
+ var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), f = Symbol.for("react.activity"), p = Symbol.for("react.view_transition"), m = Symbol.iterator;
5
+ function h(e) {
6
+ return typeof e != "object" || !e ? null : (e = m && e[m] || e["@@iterator"], typeof e == "function" ? e : null);
7
+ }
8
+ var g = {
9
+ isMounted: function() {
10
+ return !1;
11
+ },
12
+ enqueueForceUpdate: function() {},
13
+ enqueueReplaceState: function() {},
14
+ enqueueSetState: function() {}
15
+ }, _ = Object.assign, v = {};
16
+ function y(e, t, n) {
17
+ this.props = e, this.context = t, this.refs = v, this.updater = n || g;
18
+ }
19
+ y.prototype.isReactComponent = {}, y.prototype.setState = function(e, t) {
20
+ if (typeof e != "object" && typeof e != "function" && e != null) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
21
+ this.updater.enqueueSetState(this, e, t, "setState");
22
+ }, y.prototype.forceUpdate = function(e) {
23
+ this.updater.enqueueForceUpdate(this, e, "forceUpdate");
24
+ };
25
+ function b() {}
26
+ b.prototype = y.prototype;
27
+ function x(e, t, n) {
28
+ this.props = e, this.context = t, this.refs = v, this.updater = n || g;
29
+ }
30
+ var S = x.prototype = new b();
31
+ S.constructor = x, _(S, y.prototype), S.isPureReactComponent = !0;
32
+ var C = Array.isArray;
33
+ function w() {}
34
+ var T = {
35
+ H: null,
36
+ A: null,
37
+ T: null,
38
+ S: null
39
+ }, E = Object.prototype.hasOwnProperty;
40
+ function D(e, n, r) {
41
+ var i = r.ref;
42
+ return {
43
+ $$typeof: t,
44
+ type: e,
45
+ key: n,
46
+ ref: i === void 0 ? null : i,
47
+ props: r
48
+ };
49
+ }
50
+ function O(e, t) {
51
+ return D(e.type, t, e.props);
52
+ }
53
+ function k(e) {
54
+ return typeof e == "object" && !!e && e.$$typeof === t;
55
+ }
56
+ function ee(e) {
57
+ var t = {
58
+ "=": "=0",
59
+ ":": "=2"
60
+ };
61
+ return "$" + e.replace(/[=:]/g, function(e) {
62
+ return t[e];
63
+ });
64
+ }
65
+ var A = /\/+/g;
66
+ function j(e, t) {
67
+ return typeof e == "object" && e && e.key != null ? ee("" + e.key) : t.toString(36);
68
+ }
69
+ function M(e) {
70
+ switch (e.status) {
71
+ case "fulfilled": return e.value;
72
+ case "rejected": throw e.reason;
73
+ default: switch (typeof e.status == "string" ? e.then(w, w) : (e.status = "pending", e.then(function(t) {
74
+ e.status === "pending" && (e.status = "fulfilled", e.value = t);
75
+ }, function(t) {
76
+ e.status === "pending" && (e.status = "rejected", e.reason = t);
77
+ })), e.status) {
78
+ case "fulfilled": return e.value;
79
+ case "rejected": throw e.reason;
80
+ }
81
+ }
82
+ throw e;
83
+ }
84
+ function N(e, r, i, a, o) {
85
+ var s = typeof e;
86
+ (s === "undefined" || s === "boolean") && (e = null);
87
+ var c = !1;
88
+ if (e === null) c = !0;
89
+ else switch (s) {
90
+ case "bigint":
91
+ case "string":
92
+ case "number":
93
+ c = !0;
94
+ break;
95
+ case "object": switch (e.$$typeof) {
96
+ case t:
97
+ case n:
98
+ c = !0;
99
+ break;
100
+ case d: return c = e._init, N(c(e._payload), r, i, a, o);
101
+ }
102
+ }
103
+ if (c) return o = o(e), c = a === "" ? "." + j(e, 0) : a, C(o) ? (i = "", c != null && (i = c.replace(A, "$&/") + "/"), N(o, r, i, "", function(e) {
104
+ return e;
105
+ })) : o != null && (k(o) && (o = O(o, i + (o.key == null || e && e.key === o.key ? "" : ("" + o.key).replace(A, "$&/") + "/") + c)), r.push(o)), 1;
106
+ c = 0;
107
+ var l = a === "" ? "." : a + ":";
108
+ if (C(e)) for (var u = 0; u < e.length; u++) a = e[u], s = l + j(a, u), c += N(a, r, i, s, o);
109
+ else if (u = h(e), typeof u == "function") for (e = u.call(e), u = 0; !(a = e.next()).done;) a = a.value, s = l + j(a, u++), c += N(a, r, i, s, o);
110
+ else if (s === "object") {
111
+ if (typeof e.then == "function") return N(M(e), r, i, a, o);
112
+ throw r = String(e), Error("Objects are not valid as a React child (found: " + (r === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : r) + "). If you meant to render a collection of children, use an array instead.");
113
+ }
114
+ return c;
115
+ }
116
+ function P(e, t, n) {
117
+ if (e == null) return e;
118
+ var r = [], i = 0;
119
+ return N(e, r, "", "", function(e) {
120
+ return t.call(n, e, i++);
121
+ }), r;
122
+ }
123
+ function F(e) {
124
+ if (e._status === -1) {
125
+ var t = e._result, n = t();
126
+ n.then(function(t) {
127
+ (e._status === 0 || e._status === -1) && (e._status = 1, e._result = t, n.status === void 0 && (n.status = "fulfilled", n.value = t));
128
+ }, function(t) {
129
+ (e._status === 0 || e._status === -1) && (e._status = 2, e._result = t, n.status === void 0 && (n.status = "rejected", n.reason = t));
130
+ }), e._status === -1 && (e._status = 0, e._result = n);
131
+ }
132
+ if (e._status === 1) return e._result.default;
133
+ throw e._result;
134
+ }
135
+ var I = typeof reportError == "function" ? reportError : function(e) {
136
+ if (typeof window == "object" && typeof window.ErrorEvent == "function") {
137
+ var t = new window.ErrorEvent("error", {
138
+ bubbles: !0,
139
+ cancelable: !0,
140
+ message: typeof e == "object" && e && typeof e.message == "string" ? String(e.message) : String(e),
141
+ error: e
142
+ });
143
+ if (!window.dispatchEvent(t)) return;
144
+ } else if (typeof process == "object" && typeof process.emit == "function") {
145
+ process.emit("uncaughtException", e);
146
+ return;
147
+ }
148
+ console.error(e);
149
+ };
150
+ function te(e) {
151
+ var t = T.T, n = {};
152
+ n.types = t === null ? null : t.types, T.T = n;
153
+ try {
154
+ var r = e(), i = T.S;
155
+ i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, I);
156
+ } catch (e) {
157
+ I(e);
158
+ } finally {
159
+ t !== null && n.types !== null && (t.types = n.types), T.T = t;
160
+ }
161
+ }
162
+ function ne(e) {
163
+ var t = T.T;
164
+ if (t !== null) {
165
+ var n = t.types;
166
+ n === null ? t.types = [e] : n.indexOf(e) === -1 && n.push(e);
167
+ } else te(ne.bind(null, e));
168
+ }
169
+ var re = {
170
+ map: P,
171
+ forEach: function(e, t, n) {
172
+ P(e, function() {
173
+ t.apply(this, arguments);
174
+ }, n);
175
+ },
176
+ count: function(e) {
177
+ var t = 0;
178
+ return P(e, function() {
179
+ t++;
180
+ }), t;
181
+ },
182
+ toArray: function(e) {
183
+ return P(e, function(e) {
184
+ return e;
185
+ }) || [];
186
+ },
187
+ only: function(e) {
188
+ if (!k(e)) throw Error("React.Children.only expected to receive a single React element child.");
189
+ return e;
190
+ }
191
+ };
192
+ e.Activity = f, e.Children = re, e.Component = y, e.Fragment = r, e.Profiler = a, e.PureComponent = x, e.StrictMode = i, e.Suspense = l, e.ViewTransition = p, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = T, e.__COMPILER_RUNTIME = {
193
+ __proto__: null,
194
+ c: function(e) {
195
+ return T.H.useMemoCache(e);
196
+ }
197
+ }, e.addTransitionType = ne, e.cache = function(e) {
198
+ return function() {
199
+ return e.apply(null, arguments);
200
+ };
201
+ }, e.cacheSignal = function() {
202
+ return null;
203
+ }, e.cloneElement = function(e, t, n) {
204
+ if (e == null) throw Error("The argument must be a React element, but you passed " + e + ".");
205
+ var r = _({}, e.props), i = e.key;
206
+ if (t != null) for (a in t.key !== void 0 && (i = "" + t.key), t) !E.call(t, a) || a === "key" || a === "__self" || a === "__source" || a === "ref" && t.ref === void 0 || (r[a] = t[a]);
207
+ var a = arguments.length - 2;
208
+ if (a === 1) r.children = n;
209
+ else if (1 < a) {
210
+ for (var o = Array(a), s = 0; s < a; s++) o[s] = arguments[s + 2];
211
+ r.children = o;
212
+ }
213
+ return D(e.type, i, r);
214
+ }, e.createContext = function(e) {
215
+ return e = {
216
+ $$typeof: s,
217
+ _currentValue: e,
218
+ _currentValue2: e,
219
+ _threadCount: 0,
220
+ Provider: null,
221
+ Consumer: null
222
+ }, e.Provider = e, e.Consumer = {
223
+ $$typeof: o,
224
+ _context: e
225
+ }, e;
226
+ }, e.createElement = function(e, t, n) {
227
+ var r, i = {}, a = null;
228
+ if (t != null) for (r in t.key !== void 0 && (a = "" + t.key), t) E.call(t, r) && r !== "key" && r !== "__self" && r !== "__source" && (i[r] = t[r]);
229
+ var o = arguments.length - 2;
230
+ if (o === 1) i.children = n;
231
+ else if (1 < o) {
232
+ for (var s = Array(o), c = 0; c < o; c++) s[c] = arguments[c + 2];
233
+ i.children = s;
234
+ }
235
+ if (e && e.defaultProps) for (r in o = e.defaultProps, o) i[r] === void 0 && (i[r] = o[r]);
236
+ return D(e, a, i);
237
+ }, e.createRef = function() {
238
+ return { current: null };
239
+ }, e.forwardRef = function(e) {
240
+ return {
241
+ $$typeof: c,
242
+ render: e
243
+ };
244
+ }, e.isValidElement = k, e.lazy = function(e) {
245
+ return {
246
+ $$typeof: d,
247
+ _payload: {
248
+ _status: -1,
249
+ _result: e
250
+ },
251
+ _init: F
252
+ };
253
+ }, e.memo = function(e, t) {
254
+ return {
255
+ $$typeof: u,
256
+ type: e,
257
+ compare: t === void 0 ? null : t
258
+ };
259
+ }, e.startTransition = te, e.unstable_useCacheRefresh = function() {
260
+ return T.H.useCacheRefresh();
261
+ }, e.use = function(e) {
262
+ return T.H.use(e);
263
+ }, e.useActionState = function(e, t, n) {
264
+ return T.H.useActionState(e, t, n);
265
+ }, e.useCallback = function(e, t) {
266
+ return T.H.useCallback(e, t);
267
+ }, e.useContext = function(e) {
268
+ return T.H.useContext(e);
269
+ }, e.useDebugValue = function() {}, e.useDeferredValue = function(e, t) {
270
+ return T.H.useDeferredValue(e, t);
271
+ }, e.useEffect = function(e, t) {
272
+ return T.H.useEffect(e, t);
273
+ }, e.useEffectEvent = function(e) {
274
+ return T.H.useEffectEvent(e);
275
+ }, e.useId = function() {
276
+ return T.H.useId();
277
+ }, e.useImperativeHandle = function(e, t, n) {
278
+ return T.H.useImperativeHandle(e, t, n);
279
+ }, e.useInsertionEffect = function(e, t) {
280
+ return T.H.useInsertionEffect(e, t);
281
+ }, e.useLayoutEffect = function(e, t) {
282
+ return T.H.useLayoutEffect(e, t);
283
+ }, e.useMemo = function(e, t) {
284
+ return T.H.useMemo(e, t);
285
+ }, e.useOptimistic = function(e, t) {
286
+ return T.H.useOptimistic(e, t);
287
+ }, e.useReducer = function(e, t, n) {
288
+ return T.H.useReducer(e, t, n);
289
+ }, e.useRef = function(e) {
290
+ return T.H.useRef(e);
291
+ }, e.useState = function(e) {
292
+ return T.H.useState(e);
293
+ }, e.useSyncExternalStore = function(e, t, n) {
294
+ return T.H.useSyncExternalStore(e, t, n);
295
+ }, e.useTransition = function() {
296
+ return T.H.useTransition();
297
+ }, e.version = "19.3.1";
298
+ })), r = /* @__PURE__ */ t(((e, t) => {
299
+ t.exports = n();
300
+ })), i = /* @__PURE__ */ t(((e) => {
301
+ var t = r();
302
+ function n(e) {
303
+ var t = "https://react.dev/errors/" + e;
304
+ if (1 < arguments.length) {
305
+ t += "?args[]=" + encodeURIComponent(arguments[1]);
306
+ for (var n = 2; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
307
+ }
308
+ return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
309
+ }
310
+ function i() {}
311
+ var a = {
312
+ d: {
313
+ f: i,
314
+ r: function() {
315
+ throw Error(n(522));
316
+ },
317
+ D: i,
318
+ C: i,
319
+ L: i,
320
+ m: i,
321
+ X: i,
322
+ S: i,
323
+ M: i
324
+ },
325
+ p: 0,
326
+ findDOMNode: null
327
+ }, o = Symbol.for("react.portal"), s = Symbol.for("react.recoverable"), c = Symbol.for("react.optimistic_key");
328
+ function l(e, t, n) {
329
+ var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
330
+ return {
331
+ $$typeof: o,
332
+ key: r == null ? null : r === c ? c : "" + r,
333
+ children: e,
334
+ containerInfo: t,
335
+ implementation: n
336
+ };
337
+ }
338
+ var u = t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
339
+ function d(e, t) {
340
+ if (e === "font") return "";
341
+ if (typeof t == "string") return t === "use-credentials" ? t : "";
342
+ }
343
+ e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = a, e.browser = function(e) {
344
+ return {
345
+ $$typeof: s,
346
+ _reason: e
347
+ };
348
+ }, e.createPortal = function(e, t) {
349
+ var r = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
350
+ if (!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11) throw Error(n(299));
351
+ return l(e, t, null, r);
352
+ }, e.flushSync = function(e) {
353
+ var t = u.T, n = a.p;
354
+ try {
355
+ if (u.T = null, a.p = 2, e) return e();
356
+ } finally {
357
+ u.T = t, a.p = n, a.d.f();
358
+ }
359
+ }, e.preconnect = function(e, t) {
360
+ typeof e == "string" && (t ? (t = t.crossOrigin, t = typeof t == "string" ? t === "use-credentials" ? t : "" : void 0) : t = null, a.d.C(e, t));
361
+ }, e.prefetchDNS = function(e) {
362
+ typeof e == "string" && a.d.D(e);
363
+ }, e.preinit = function(e, t) {
364
+ if (typeof e == "string" && t && typeof t.as == "string") {
365
+ var n = t.as, r = d(n, t.crossOrigin), i = typeof t.integrity == "string" ? t.integrity : void 0, o = typeof t.fetchPriority == "string" ? t.fetchPriority : void 0;
366
+ n === "style" ? a.d.S(e, typeof t.precedence == "string" ? t.precedence : void 0, {
367
+ crossOrigin: r,
368
+ integrity: i,
369
+ fetchPriority: o
370
+ }) : n === "script" && a.d.X(e, {
371
+ crossOrigin: r,
372
+ integrity: i,
373
+ fetchPriority: o,
374
+ nonce: typeof t.nonce == "string" ? t.nonce : void 0
375
+ });
376
+ }
377
+ }, e.preinitModule = function(e, t) {
378
+ if (typeof e == "string") {
379
+ if (typeof t == "object" && t) {
380
+ if (t.as == null || t.as === "script") {
381
+ var n = d(t.as, t.crossOrigin);
382
+ a.d.M(e, {
383
+ crossOrigin: n,
384
+ integrity: typeof t.integrity == "string" ? t.integrity : void 0,
385
+ nonce: typeof t.nonce == "string" ? t.nonce : void 0,
386
+ fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0
387
+ });
388
+ }
389
+ } else t ?? a.d.M(e);
390
+ }
391
+ }, e.preload = function(e, t) {
392
+ if (typeof e == "string" && typeof t == "object" && t && typeof t.as == "string") {
393
+ var n = t.as, r = d(n, t.crossOrigin);
394
+ a.d.L(e, n, {
395
+ crossOrigin: r,
396
+ integrity: typeof t.integrity == "string" ? t.integrity : void 0,
397
+ nonce: typeof t.nonce == "string" ? t.nonce : void 0,
398
+ type: typeof t.type == "string" ? t.type : void 0,
399
+ fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0,
400
+ referrerPolicy: typeof t.referrerPolicy == "string" ? t.referrerPolicy : void 0,
401
+ imageSrcSet: typeof t.imageSrcSet == "string" ? t.imageSrcSet : void 0,
402
+ imageSizes: typeof t.imageSizes == "string" ? t.imageSizes : void 0,
403
+ media: typeof t.media == "string" ? t.media : void 0
404
+ });
405
+ }
406
+ }, e.preloadModule = function(e, t) {
407
+ if (typeof e == "string") {
408
+ if (t) {
409
+ var n = d(t.as, t.crossOrigin);
410
+ a.d.m(e, {
411
+ as: typeof t.as == "string" && t.as !== "script" ? t.as : void 0,
412
+ crossOrigin: n,
413
+ integrity: typeof t.integrity == "string" ? t.integrity : void 0,
414
+ nonce: typeof t.nonce == "string" ? t.nonce : void 0,
415
+ fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0
416
+ });
417
+ } else a.d.m(e);
418
+ }
419
+ }, e.requestFormReset = function(e) {
420
+ a.d.r(e);
421
+ }, e.unstable_batchedUpdates = function(e, t) {
422
+ return e(t);
423
+ }, e.useFormState = function(e, t, n) {
424
+ return u.H.useFormState(e, t, n);
425
+ }, e.useFormStatus = function() {
426
+ return u.H.useHostTransitionStatus();
427
+ }, e.version = "19.3.1";
428
+ })), a = /* @__PURE__ */ t(((e, t) => {
429
+ function n() {
430
+ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE == "function") try {
431
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);
432
+ } catch (e) {
433
+ console.error(e);
434
+ }
435
+ }
436
+ n(), t.exports = i();
437
+ })), o = /* @__PURE__ */ t(((e) => {
438
+ var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
439
+ function r(e, n, r) {
440
+ var i = null;
441
+ if (r !== void 0 && (i = "" + r), n.key !== void 0 && (i = "" + n.key), "key" in n) for (var a in r = {}, n) a !== "key" && (r[a] = n[a]);
442
+ else r = n;
443
+ return n = r.ref, {
444
+ $$typeof: t,
445
+ type: e,
446
+ key: i,
447
+ ref: n === void 0 ? null : n,
448
+ props: r
449
+ };
450
+ }
451
+ e.Fragment = n, e.jsx = r, e.jsxs = r;
452
+ })), s = /* @__PURE__ */ t(((e, t) => {
453
+ t.exports = o();
454
+ })), c = (e) => typeof e == "number" && Number.isFinite(e) ? e : void 0, l = (e) => typeof e == "number" && Number.isSafeInteger(e) && e >= 0 ? e : void 0;
455
+ function u(e) {
456
+ if (e.length && !e.some((e) => l(e) === void 0)) return l(e.reduce((e, t) => e + t, 0));
457
+ }
458
+ // node_modules/.pnpm/@tangle-network+charts@2.0.17_@xyflow+react@12.12.0_@types+react-dom@19.3.0_@types+reac_8e3190d6d56297d136c67efaea3d6d83/node_modules/@tangle-network/charts/dist/flow-waterfall-model-DvrgPLGS.js
459
+ var d = s(), f = /* @__PURE__ */ e(r(), 1);
460
+ function p(e) {
461
+ var t, n, r = "";
462
+ if (typeof e == "string" || typeof e == "number") r += e;
463
+ else if (typeof e == "object") {
464
+ if (Array.isArray(e)) {
465
+ var i = e.length;
466
+ for (t = 0; t < i; t++) e[t] && (n = p(e[t])) && (r && (r += " "), r += n);
467
+ } else for (n in e) e[n] && (r && (r += " "), r += n);
468
+ }
469
+ return r;
470
+ }
471
+ function m() {
472
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = p(e)) && (r && (r += " "), r += t);
473
+ return r;
474
+ }
475
+ var h = (e, t) => {
476
+ let n = Array(e.length + t.length);
477
+ for (let t = 0; t < e.length; t++) n[t] = e[t];
478
+ for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
479
+ return n;
480
+ }, g = (e, t) => ({
481
+ classGroupId: e,
482
+ validator: t
483
+ }), _ = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
484
+ nextPart: e,
485
+ validators: t,
486
+ classGroupId: n
487
+ }), v = "-", y = [], b = "arbitrary..", x = (e) => {
488
+ let t = w(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
489
+ return {
490
+ getClassGroupId: (e) => {
491
+ if (e.startsWith("[") && e.endsWith("]")) return C(e);
492
+ let n = e.split(v);
493
+ return S(n, +(n[0] === "" && n.length > 1), t);
494
+ },
495
+ getConflictingClassGroupIds: (e, t) => {
496
+ if (t) {
497
+ let t = r[e], i = n[e];
498
+ return t ? i ? h(i, t) : t : i || y;
499
+ }
500
+ return n[e] || y;
501
+ }
502
+ };
503
+ }, S = (e, t, n) => {
504
+ if (e.length - t === 0) return n.classGroupId;
505
+ let r = e[t], i = n.nextPart.get(r);
506
+ if (i) {
507
+ let n = S(e, t + 1, i);
508
+ if (n) return n;
509
+ }
510
+ let a = n.validators;
511
+ if (a === null) return;
512
+ let o = t === 0 ? e.join(v) : e.slice(t).join(v), s = a.length;
513
+ for (let e = 0; e < s; e++) {
514
+ let t = a[e];
515
+ if (t.validator(o)) return t.classGroupId;
516
+ }
517
+ }, C = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
518
+ let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
519
+ return r ? b + r : void 0;
520
+ })(), w = (e) => {
521
+ let { theme: t, classGroups: n } = e;
522
+ return T(n, t);
523
+ }, T = (e, t) => {
524
+ let n = _();
525
+ for (let r in e) {
526
+ let i = e[r];
527
+ E(i, n, r, t);
528
+ }
529
+ return n;
530
+ }, E = (e, t, n, r) => {
531
+ let i = e.length;
532
+ for (let a = 0; a < i; a++) {
533
+ let i = e[a];
534
+ D(i, t, n, r);
535
+ }
536
+ }, D = (e, t, n, r) => {
537
+ typeof e == "string" ? O(e, t, n) : typeof e == "function" ? k(e, t, n, r) : ee(e, t, n, r);
538
+ }, O = (e, t, n) => {
539
+ let r = e === "" ? t : A(t, e);
540
+ r.classGroupId = n;
541
+ }, k = (e, t, n, r) => {
542
+ j(e) ? E(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(g(n, e)));
543
+ }, ee = (e, t, n, r) => {
544
+ let i = Object.entries(e), a = i.length;
545
+ for (let e = 0; e < a; e++) {
546
+ let [a, o] = i[e];
547
+ E(o, A(t, a), n, r);
548
+ }
549
+ }, A = (e, t) => {
550
+ let n = e, r = t.split(v), i = r.length;
551
+ for (let e = 0; e < i; e++) {
552
+ let t = r[e], i = n.nextPart.get(t);
553
+ i || (i = _(), n.nextPart.set(t, i)), n = i;
554
+ }
555
+ return n;
556
+ }, j = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, M = (e) => {
557
+ if (e < 1) return {
558
+ get: () => void 0,
559
+ set: () => {}
560
+ };
561
+ let t = 0, n = Object.create(null), r = Object.create(null), i = (i, a) => {
562
+ n[i] = a, t++, t > e && (t = 0, r = n, n = Object.create(null));
563
+ };
564
+ return {
565
+ get(e) {
566
+ let t = n[e];
567
+ if (t !== void 0) return t;
568
+ if ((t = r[e]) !== void 0) return i(e, t), t;
569
+ },
570
+ set(e, t) {
571
+ e in n ? n[e] = t : i(e, t);
572
+ }
573
+ };
574
+ }, N = "!", P = ":", F = [], I = (e, t, n, r, i) => ({
575
+ modifiers: e,
576
+ hasImportantModifier: t,
577
+ baseClassName: n,
578
+ maybePostfixModifierPosition: r,
579
+ isExternal: i
580
+ }), te = (e) => {
581
+ let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
582
+ let t = [], n = 0, r = 0, i = 0, a, o = e.length;
583
+ for (let s = 0; s < o; s++) {
584
+ let o = e[s];
585
+ if (n === 0 && r === 0) {
586
+ if (o === P) {
587
+ t.push(e.slice(i, s)), i = s + 1;
588
+ continue;
589
+ }
590
+ if (o === "/") {
591
+ a = s;
592
+ continue;
593
+ }
594
+ }
595
+ o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
596
+ }
597
+ let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
598
+ s.endsWith(N) ? (c = s.slice(0, -1), l = !0) : s.startsWith(N) && (c = s.slice(1), l = !0);
599
+ let u = a && a > i ? a - i : void 0;
600
+ return I(t, l, c, u);
601
+ };
602
+ if (t) {
603
+ let e = t + P, n = r;
604
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : I(F, !1, t, void 0, !0);
605
+ }
606
+ if (n) {
607
+ let e = r;
608
+ r = (t) => n({
609
+ className: t,
610
+ parseClassName: e
611
+ });
612
+ }
613
+ return r;
614
+ }, ne = (e) => {
615
+ let t = /* @__PURE__ */ new Map();
616
+ return e.orderSensitiveModifiers.forEach((e, n) => {
617
+ t.set(e, 1e6 + n);
618
+ }), (e) => {
619
+ let n = [], r = [];
620
+ for (let i = 0; i < e.length; i++) {
621
+ let a = e[i], o = a[0] === "[", s = t.has(a);
622
+ o || s ? (r.length > 0 && (r.sort(), n.push(...r), r = []), n.push(a)) : r.push(a);
623
+ }
624
+ return r.length > 0 && (r.sort(), n.push(...r)), n;
625
+ };
626
+ }, re = (e) => ({
627
+ cache: M(e.cacheSize),
628
+ parseClassName: te(e),
629
+ sortModifiers: ne(e),
630
+ postfixLookupClassGroupIds: L(e),
631
+ ...x(e)
632
+ }), L = (e) => {
633
+ let t = Object.create(null), n = e.postfixLookupClassGroups;
634
+ if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
635
+ return t;
636
+ }, R = /\s+/, ie = (e, t) => {
637
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(R), l = "";
638
+ for (let e = c.length - 1; e >= 0; --e) {
639
+ let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
640
+ if (u) {
641
+ l = t + (l.length > 0 ? " " + l : l);
642
+ continue;
643
+ }
644
+ let h = !!m, g;
645
+ if (h) {
646
+ g = r(p.substring(0, m));
647
+ let e = g && o[g] ? r(p) : void 0;
648
+ e && e !== g && (g = e, h = !1);
649
+ } else g = r(p);
650
+ if (!g) {
651
+ if (!h || (g = r(p), !g)) {
652
+ l = t + (l.length > 0 ? " " + l : l);
653
+ continue;
654
+ }
655
+ h = !1;
656
+ }
657
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + N : _, y = v + g;
658
+ if (s.indexOf(y) > -1) continue;
659
+ s.push(y);
660
+ let b = i(g, h);
661
+ for (let e = 0; e < b.length; ++e) {
662
+ let t = b[e];
663
+ s.push(v + t);
664
+ }
665
+ l = t + (l.length > 0 ? " " + l : l);
666
+ }
667
+ return l;
668
+ }, ae = (...e) => {
669
+ let t = 0, n, r, i = "";
670
+ for (; t < e.length;) (n = e[t++]) && (r = z(n)) && (i && (i += " "), i += r);
671
+ return i;
672
+ }, z = (e) => {
673
+ if (typeof e == "string") return e;
674
+ let t, n = "";
675
+ for (let r = 0; r < e.length; r++) e[r] && (t = z(e[r])) && (n && (n += " "), n += t);
676
+ return n;
677
+ }, oe = (e, ...t) => {
678
+ let n, r, i, a, o = (o) => (n = re(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
679
+ let t = r(e);
680
+ if (t) return t;
681
+ let a = ie(e, n);
682
+ return i(e, a), a;
683
+ };
684
+ return a = o, (...e) => a(ae(...e));
685
+ }, se = [], B = (e) => {
686
+ let t = (t) => t[e] || se;
687
+ return t.isThemeGetter = !0, t.themeKey = e, t;
688
+ }, ce = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, le = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ue = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, de = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, fe = /\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$/, pe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, me = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, he = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, V = (e) => ue.test(e), H = (e) => !!e && !Number.isNaN(Number(e)), U = (e) => !!e && Number.isInteger(Number(e)), ge = (e) => e.endsWith("%") && H(e.slice(0, -1)), W = (e) => de.test(e), _e = () => !0, ve = (e) => fe.test(e) && !pe.test(e), ye = () => !1, be = (e) => me.test(e), xe = (e) => he.test(e), Se = (e) => !G(e) && !q(e), Ce = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), we = (e) => J(e, Be, ye), G = (e) => ce.test(e), K = (e) => J(e, Ve, ve), Te = (e) => J(e, He, H), Ee = (e) => J(e, We, _e), De = (e) => J(e, Ue, ye), Oe = (e) => J(e, Re, ye), ke = (e) => J(e, ze, xe), Ae = (e) => J(e, Ge, be), q = (e) => le.test(e), je = (e) => Y(e, Ve), Me = (e) => Y(e, Ue), Ne = (e) => Y(e, Re), Pe = (e) => Y(e, Be), Fe = (e) => Y(e, ze), Ie = (e) => Y(e, Ge, !0), Le = (e) => Y(e, We, !0), J = (e, t, n) => {
689
+ let r = ce.exec(e);
690
+ return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
691
+ }, Y = (e, t, n = !1) => {
692
+ let r = le.exec(e);
693
+ return r ? r[1] ? t(r[1]) : n : !1;
694
+ }, Re = (e) => e === "position" || e === "percentage", ze = (e) => e === "image" || e === "url", Be = (e) => e === "length" || e === "size" || e === "bg-size", Ve = (e) => e === "length", He = (e) => e === "number", Ue = (e) => e === "family-name", We = (e) => e === "number" || e === "weight", Ge = (e) => e === "shadow", Ke = /*#__PURE__*/ oe(() => {
695
+ let e = B("color"), t = B("font"), n = B("text"), r = B("font-weight"), i = B("tracking"), a = B("leading"), o = B("breakpoint"), s = B("container"), c = B("spacing"), l = B("radius"), u = B("shadow"), d = B("inset-shadow"), f = B("text-shadow"), p = B("drop-shadow"), m = B("blur"), h = B("perspective"), g = B("aspect"), _ = B("ease"), v = B("animate"), y = () => [
696
+ "auto",
697
+ "avoid",
698
+ "all",
699
+ "avoid-page",
700
+ "page",
701
+ "left",
702
+ "right",
703
+ "column"
704
+ ], b = () => [
705
+ "center",
706
+ "top",
707
+ "bottom",
708
+ "left",
709
+ "right",
710
+ "top-left",
711
+ "left-top",
712
+ "top-right",
713
+ "right-top",
714
+ "bottom-right",
715
+ "right-bottom",
716
+ "bottom-left",
717
+ "left-bottom"
718
+ ], x = () => [
719
+ ...b(),
720
+ q,
721
+ G
722
+ ], S = () => [
723
+ "auto",
724
+ "hidden",
725
+ "clip",
726
+ "visible",
727
+ "scroll"
728
+ ], C = () => [
729
+ "auto",
730
+ "contain",
731
+ "none"
732
+ ], w = () => [
733
+ q,
734
+ G,
735
+ c
736
+ ], T = () => [
737
+ V,
738
+ "full",
739
+ "auto",
740
+ ...w()
741
+ ], E = () => [
742
+ U,
743
+ "none",
744
+ "subgrid",
745
+ q,
746
+ G
747
+ ], D = () => [
748
+ "auto",
749
+ { span: [
750
+ "full",
751
+ U,
752
+ q,
753
+ G
754
+ ] },
755
+ U,
756
+ q,
757
+ G
758
+ ], O = () => [
759
+ U,
760
+ "auto",
761
+ q,
762
+ G
763
+ ], k = () => [
764
+ "auto",
765
+ "min",
766
+ "max",
767
+ "fr",
768
+ q,
769
+ G
770
+ ], ee = () => [
771
+ "start",
772
+ "end",
773
+ "center",
774
+ "between",
775
+ "around",
776
+ "evenly",
777
+ "stretch",
778
+ "baseline",
779
+ "center-safe",
780
+ "end-safe"
781
+ ], A = () => [
782
+ "start",
783
+ "end",
784
+ "center",
785
+ "stretch",
786
+ "center-safe",
787
+ "end-safe"
788
+ ], j = () => ["auto", ...w()], M = () => [
789
+ V,
790
+ "auto",
791
+ "full",
792
+ "dvw",
793
+ "dvh",
794
+ "lvw",
795
+ "lvh",
796
+ "svw",
797
+ "svh",
798
+ "min",
799
+ "max",
800
+ "fit",
801
+ ...w()
802
+ ], N = () => [
803
+ s,
804
+ V,
805
+ "screen",
806
+ "full",
807
+ "dvw",
808
+ "lvw",
809
+ "svw",
810
+ "min",
811
+ "max",
812
+ "fit",
813
+ ...w()
814
+ ], P = () => [
815
+ V,
816
+ "screen",
817
+ "full",
818
+ "lh",
819
+ "dvh",
820
+ "lvh",
821
+ "svh",
822
+ "min",
823
+ "max",
824
+ "fit",
825
+ ...w()
826
+ ], F = () => [
827
+ e,
828
+ q,
829
+ G
830
+ ], I = () => [
831
+ ...b(),
832
+ Ne,
833
+ Oe,
834
+ { position: [q, G] }
835
+ ], te = () => ["no-repeat", { repeat: [
836
+ "",
837
+ "x",
838
+ "y",
839
+ "space",
840
+ "round"
841
+ ] }], ne = () => [
842
+ "auto",
843
+ "cover",
844
+ "contain",
845
+ Pe,
846
+ we,
847
+ { size: [q, G] }
848
+ ], re = () => [
849
+ ge,
850
+ je,
851
+ K
852
+ ], L = () => [
853
+ "",
854
+ "none",
855
+ "full",
856
+ l,
857
+ q,
858
+ G
859
+ ], R = () => [
860
+ "",
861
+ H,
862
+ je,
863
+ K
864
+ ], ie = () => [
865
+ "solid",
866
+ "dashed",
867
+ "dotted",
868
+ "double"
869
+ ], ae = () => [
870
+ "normal",
871
+ "multiply",
872
+ "screen",
873
+ "overlay",
874
+ "darken",
875
+ "lighten",
876
+ "color-dodge",
877
+ "color-burn",
878
+ "hard-light",
879
+ "soft-light",
880
+ "difference",
881
+ "exclusion",
882
+ "hue",
883
+ "saturation",
884
+ "color",
885
+ "luminosity"
886
+ ], z = () => [
887
+ H,
888
+ ge,
889
+ Ne,
890
+ Oe
891
+ ], oe = () => [
892
+ "",
893
+ "none",
894
+ m,
895
+ q,
896
+ G
897
+ ], se = () => [
898
+ "none",
899
+ H,
900
+ q,
901
+ G
902
+ ], ce = () => [
903
+ "none",
904
+ H,
905
+ q,
906
+ G
907
+ ], le = () => [
908
+ H,
909
+ q,
910
+ G
911
+ ], ue = () => [
912
+ V,
913
+ "full",
914
+ ...w()
915
+ ];
916
+ return {
917
+ cacheSize: 500,
918
+ theme: {
919
+ animate: [
920
+ "spin",
921
+ "ping",
922
+ "pulse",
923
+ "bounce"
924
+ ],
925
+ aspect: ["video"],
926
+ blur: [W],
927
+ breakpoint: [W],
928
+ color: [_e],
929
+ container: [W],
930
+ "drop-shadow": [W],
931
+ ease: [
932
+ "in",
933
+ "out",
934
+ "in-out"
935
+ ],
936
+ font: [Se],
937
+ "font-weight": [
938
+ "thin",
939
+ "extralight",
940
+ "light",
941
+ "normal",
942
+ "medium",
943
+ "semibold",
944
+ "bold",
945
+ "extrabold",
946
+ "black"
947
+ ],
948
+ "inset-shadow": [W],
949
+ leading: [
950
+ "none",
951
+ "tight",
952
+ "snug",
953
+ "normal",
954
+ "relaxed",
955
+ "loose"
956
+ ],
957
+ perspective: [
958
+ "dramatic",
959
+ "near",
960
+ "normal",
961
+ "midrange",
962
+ "distant",
963
+ "none"
964
+ ],
965
+ radius: [W],
966
+ shadow: [W],
967
+ spacing: ["px", H],
968
+ text: [W],
969
+ "text-shadow": [W],
970
+ tracking: [
971
+ "tighter",
972
+ "tight",
973
+ "normal",
974
+ "wide",
975
+ "wider",
976
+ "widest"
977
+ ]
978
+ },
979
+ classGroups: {
980
+ aspect: [{ aspect: [
981
+ "auto",
982
+ "square",
983
+ V,
984
+ G,
985
+ q,
986
+ g
987
+ ] }],
988
+ container: ["container"],
989
+ "container-type": [{ "@container": [
990
+ "",
991
+ "normal",
992
+ "size",
993
+ q,
994
+ G
995
+ ] }],
996
+ "container-named": [Ce],
997
+ columns: [{ columns: [
998
+ H,
999
+ "auto",
1000
+ G,
1001
+ q,
1002
+ s
1003
+ ] }],
1004
+ "break-after": [{ "break-after": y() }],
1005
+ "break-before": [{ "break-before": y() }],
1006
+ "break-inside": [{ "break-inside": [
1007
+ "auto",
1008
+ "avoid",
1009
+ "avoid-page",
1010
+ "avoid-column"
1011
+ ] }],
1012
+ "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
1013
+ box: [{ box: ["border", "content"] }],
1014
+ display: [
1015
+ "block",
1016
+ "inline-block",
1017
+ "inline",
1018
+ "flex",
1019
+ "inline-flex",
1020
+ "table",
1021
+ "inline-table",
1022
+ "table-caption",
1023
+ "table-cell",
1024
+ "table-column",
1025
+ "table-column-group",
1026
+ "table-footer-group",
1027
+ "table-header-group",
1028
+ "table-row-group",
1029
+ "table-row",
1030
+ "flow-root",
1031
+ "grid",
1032
+ "inline-grid",
1033
+ "contents",
1034
+ "list-item",
1035
+ "hidden"
1036
+ ],
1037
+ sr: ["sr-only", "not-sr-only"],
1038
+ float: [{ float: [
1039
+ "right",
1040
+ "left",
1041
+ "none",
1042
+ "start",
1043
+ "end"
1044
+ ] }],
1045
+ clear: [{ clear: [
1046
+ "left",
1047
+ "right",
1048
+ "both",
1049
+ "none",
1050
+ "start",
1051
+ "end"
1052
+ ] }],
1053
+ isolation: ["isolate", "isolation-auto"],
1054
+ "object-fit": [{ object: [
1055
+ "contain",
1056
+ "cover",
1057
+ "fill",
1058
+ "none",
1059
+ "scale-down"
1060
+ ] }],
1061
+ "object-position": [{ object: x() }],
1062
+ overflow: [{ overflow: S() }],
1063
+ "overflow-x": [{ "overflow-x": S() }],
1064
+ "overflow-y": [{ "overflow-y": S() }],
1065
+ overscroll: [{ overscroll: C() }],
1066
+ "overscroll-x": [{ "overscroll-x": C() }],
1067
+ "overscroll-y": [{ "overscroll-y": C() }],
1068
+ position: [
1069
+ "static",
1070
+ "fixed",
1071
+ "absolute",
1072
+ "relative",
1073
+ "sticky"
1074
+ ],
1075
+ inset: [{ inset: T() }],
1076
+ "inset-x": [{ "inset-x": T() }],
1077
+ "inset-y": [{ "inset-y": T() }],
1078
+ start: [{
1079
+ "inset-s": T(),
1080
+ start: T()
1081
+ }],
1082
+ end: [{
1083
+ "inset-e": T(),
1084
+ end: T()
1085
+ }],
1086
+ "inset-bs": [{ "inset-bs": T() }],
1087
+ "inset-be": [{ "inset-be": T() }],
1088
+ top: [{ top: T() }],
1089
+ right: [{ right: T() }],
1090
+ bottom: [{ bottom: T() }],
1091
+ left: [{ left: T() }],
1092
+ visibility: [
1093
+ "visible",
1094
+ "invisible",
1095
+ "collapse"
1096
+ ],
1097
+ z: [{ z: [
1098
+ U,
1099
+ "auto",
1100
+ q,
1101
+ G
1102
+ ] }],
1103
+ basis: [{ basis: [
1104
+ V,
1105
+ "full",
1106
+ "auto",
1107
+ s,
1108
+ ...w()
1109
+ ] }],
1110
+ "flex-direction": [{ flex: [
1111
+ "row",
1112
+ "row-reverse",
1113
+ "col",
1114
+ "col-reverse"
1115
+ ] }],
1116
+ "flex-wrap": [{ flex: [
1117
+ "nowrap",
1118
+ "wrap",
1119
+ "wrap-reverse"
1120
+ ] }],
1121
+ flex: [{ flex: [
1122
+ H,
1123
+ V,
1124
+ "auto",
1125
+ "initial",
1126
+ "none",
1127
+ G
1128
+ ] }],
1129
+ grow: [{ grow: [
1130
+ "",
1131
+ H,
1132
+ q,
1133
+ G
1134
+ ] }],
1135
+ shrink: [{ shrink: [
1136
+ "",
1137
+ H,
1138
+ q,
1139
+ G
1140
+ ] }],
1141
+ order: [{ order: [
1142
+ U,
1143
+ "first",
1144
+ "last",
1145
+ "none",
1146
+ q,
1147
+ G
1148
+ ] }],
1149
+ "grid-cols": [{ "grid-cols": E() }],
1150
+ "col-start-end": [{ col: D() }],
1151
+ "col-start": [{ "col-start": O() }],
1152
+ "col-end": [{ "col-end": O() }],
1153
+ "grid-rows": [{ "grid-rows": E() }],
1154
+ "row-start-end": [{ row: D() }],
1155
+ "row-start": [{ "row-start": O() }],
1156
+ "row-end": [{ "row-end": O() }],
1157
+ "grid-flow": [{ "grid-flow": [
1158
+ "row",
1159
+ "col",
1160
+ "dense",
1161
+ "row-dense",
1162
+ "col-dense"
1163
+ ] }],
1164
+ "auto-cols": [{ "auto-cols": k() }],
1165
+ "auto-rows": [{ "auto-rows": k() }],
1166
+ gap: [{ gap: w() }],
1167
+ "gap-x": [{ "gap-x": w() }],
1168
+ "gap-y": [{ "gap-y": w() }],
1169
+ "justify-content": [{ justify: [...ee(), "normal"] }],
1170
+ "justify-items": [{ "justify-items": [...A(), "normal"] }],
1171
+ "justify-self": [{ "justify-self": ["auto", ...A()] }],
1172
+ "align-content": [{ content: ["normal", ...ee()] }],
1173
+ "align-items": [{ items: [...A(), { baseline: ["", "last"] }] }],
1174
+ "align-self": [{ self: [
1175
+ "auto",
1176
+ ...A(),
1177
+ { baseline: ["", "last"] }
1178
+ ] }],
1179
+ "place-content": [{ "place-content": ee() }],
1180
+ "place-items": [{ "place-items": [...A(), "baseline"] }],
1181
+ "place-self": [{ "place-self": ["auto", ...A()] }],
1182
+ p: [{ p: w() }],
1183
+ px: [{ px: w() }],
1184
+ py: [{ py: w() }],
1185
+ ps: [{ ps: w() }],
1186
+ pe: [{ pe: w() }],
1187
+ pbs: [{ pbs: w() }],
1188
+ pbe: [{ pbe: w() }],
1189
+ pt: [{ pt: w() }],
1190
+ pr: [{ pr: w() }],
1191
+ pb: [{ pb: w() }],
1192
+ pl: [{ pl: w() }],
1193
+ m: [{ m: j() }],
1194
+ mx: [{ mx: j() }],
1195
+ my: [{ my: j() }],
1196
+ ms: [{ ms: j() }],
1197
+ me: [{ me: j() }],
1198
+ mbs: [{ mbs: j() }],
1199
+ mbe: [{ mbe: j() }],
1200
+ mt: [{ mt: j() }],
1201
+ mr: [{ mr: j() }],
1202
+ mb: [{ mb: j() }],
1203
+ ml: [{ ml: j() }],
1204
+ "space-x": [{ "space-x": w() }],
1205
+ "space-x-reverse": ["space-x-reverse"],
1206
+ "space-y": [{ "space-y": w() }],
1207
+ "space-y-reverse": ["space-y-reverse"],
1208
+ size: [{ size: M() }],
1209
+ "inline-size": [{ inline: ["auto", ...N()] }],
1210
+ "min-inline-size": [{ "min-inline": ["auto", ...N()] }],
1211
+ "max-inline-size": [{ "max-inline": ["none", ...N()] }],
1212
+ "block-size": [{ block: ["auto", ...P()] }],
1213
+ "min-block-size": [{ "min-block": ["auto", ...P()] }],
1214
+ "max-block-size": [{ "max-block": ["none", ...P()] }],
1215
+ w: [{ w: [
1216
+ s,
1217
+ "screen",
1218
+ ...M()
1219
+ ] }],
1220
+ "min-w": [{ "min-w": [
1221
+ s,
1222
+ "screen",
1223
+ "none",
1224
+ ...M()
1225
+ ] }],
1226
+ "max-w": [{ "max-w": [
1227
+ s,
1228
+ "screen",
1229
+ "none",
1230
+ "prose",
1231
+ { screen: [o] },
1232
+ ...M()
1233
+ ] }],
1234
+ h: [{ h: [
1235
+ "screen",
1236
+ "lh",
1237
+ ...M()
1238
+ ] }],
1239
+ "min-h": [{ "min-h": [
1240
+ "screen",
1241
+ "lh",
1242
+ "none",
1243
+ ...M()
1244
+ ] }],
1245
+ "max-h": [{ "max-h": [
1246
+ "screen",
1247
+ "lh",
1248
+ "none",
1249
+ ...M()
1250
+ ] }],
1251
+ "font-size": [{ text: [
1252
+ "base",
1253
+ n,
1254
+ je,
1255
+ K
1256
+ ] }],
1257
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1258
+ "font-style": ["italic", "not-italic"],
1259
+ "font-weight": [{ font: [
1260
+ r,
1261
+ Le,
1262
+ Ee
1263
+ ] }],
1264
+ "font-stretch": [{ "font-stretch": [
1265
+ "ultra-condensed",
1266
+ "extra-condensed",
1267
+ "condensed",
1268
+ "semi-condensed",
1269
+ "normal",
1270
+ "semi-expanded",
1271
+ "expanded",
1272
+ "extra-expanded",
1273
+ "ultra-expanded",
1274
+ ge,
1275
+ G
1276
+ ] }],
1277
+ "font-family": [{ font: [
1278
+ Me,
1279
+ De,
1280
+ t
1281
+ ] }],
1282
+ "font-features": [{ "font-features": [G] }],
1283
+ "fvn-normal": ["normal-nums"],
1284
+ "fvn-ordinal": ["ordinal"],
1285
+ "fvn-slashed-zero": ["slashed-zero"],
1286
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1287
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1288
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1289
+ tracking: [{ tracking: [
1290
+ i,
1291
+ q,
1292
+ G
1293
+ ] }],
1294
+ "line-clamp": [{ "line-clamp": [
1295
+ H,
1296
+ "none",
1297
+ q,
1298
+ Te
1299
+ ] }],
1300
+ leading: [{ leading: [
1301
+ "none",
1302
+ a,
1303
+ ...w()
1304
+ ] }],
1305
+ "list-image": [{ "list-image": [
1306
+ "none",
1307
+ q,
1308
+ G
1309
+ ] }],
1310
+ "list-style-position": [{ list: ["inside", "outside"] }],
1311
+ "list-style-type": [{ list: [
1312
+ "disc",
1313
+ "decimal",
1314
+ "none",
1315
+ q,
1316
+ G
1317
+ ] }],
1318
+ "text-alignment": [{ text: [
1319
+ "left",
1320
+ "center",
1321
+ "right",
1322
+ "justify",
1323
+ "start",
1324
+ "end"
1325
+ ] }],
1326
+ "placeholder-color": [{ placeholder: F() }],
1327
+ "text-color": [{ text: F() }],
1328
+ "text-decoration": [
1329
+ "underline",
1330
+ "overline",
1331
+ "line-through",
1332
+ "no-underline"
1333
+ ],
1334
+ "text-decoration-style": [{ decoration: [...ie(), "wavy"] }],
1335
+ "text-decoration-thickness": [{ decoration: [
1336
+ H,
1337
+ "from-font",
1338
+ "auto",
1339
+ q,
1340
+ K
1341
+ ] }],
1342
+ "text-decoration-color": [{ decoration: F() }],
1343
+ "underline-offset": [{ "underline-offset": [
1344
+ H,
1345
+ "auto",
1346
+ q,
1347
+ G
1348
+ ] }],
1349
+ "text-transform": [
1350
+ "uppercase",
1351
+ "lowercase",
1352
+ "capitalize",
1353
+ "normal-case"
1354
+ ],
1355
+ "text-overflow": [
1356
+ "truncate",
1357
+ "text-ellipsis",
1358
+ "text-clip"
1359
+ ],
1360
+ "text-wrap": [{ text: [
1361
+ "wrap",
1362
+ "nowrap",
1363
+ "balance",
1364
+ "pretty"
1365
+ ] }],
1366
+ indent: [{ indent: w() }],
1367
+ "tab-size": [{ tab: [
1368
+ U,
1369
+ q,
1370
+ G
1371
+ ] }],
1372
+ "vertical-align": [{ align: [
1373
+ "baseline",
1374
+ "top",
1375
+ "middle",
1376
+ "bottom",
1377
+ "text-top",
1378
+ "text-bottom",
1379
+ "sub",
1380
+ "super",
1381
+ q,
1382
+ G
1383
+ ] }],
1384
+ whitespace: [{ whitespace: [
1385
+ "normal",
1386
+ "nowrap",
1387
+ "pre",
1388
+ "pre-line",
1389
+ "pre-wrap",
1390
+ "break-spaces"
1391
+ ] }],
1392
+ break: [{ break: [
1393
+ "normal",
1394
+ "words",
1395
+ "all",
1396
+ "keep"
1397
+ ] }],
1398
+ wrap: [{ wrap: [
1399
+ "break-word",
1400
+ "anywhere",
1401
+ "normal"
1402
+ ] }],
1403
+ hyphens: [{ hyphens: [
1404
+ "none",
1405
+ "manual",
1406
+ "auto"
1407
+ ] }],
1408
+ content: [{ content: [
1409
+ "none",
1410
+ q,
1411
+ G
1412
+ ] }],
1413
+ "bg-attachment": [{ bg: [
1414
+ "fixed",
1415
+ "local",
1416
+ "scroll"
1417
+ ] }],
1418
+ "bg-clip": [{ "bg-clip": [
1419
+ "border",
1420
+ "padding",
1421
+ "content",
1422
+ "text"
1423
+ ] }],
1424
+ "bg-origin": [{ "bg-origin": [
1425
+ "border",
1426
+ "padding",
1427
+ "content"
1428
+ ] }],
1429
+ "bg-position": [{ bg: I() }],
1430
+ "bg-repeat": [{ bg: te() }],
1431
+ "bg-size": [{ bg: ne() }],
1432
+ "bg-image": [{ bg: [
1433
+ "none",
1434
+ {
1435
+ linear: [
1436
+ { to: [
1437
+ "t",
1438
+ "tr",
1439
+ "r",
1440
+ "br",
1441
+ "b",
1442
+ "bl",
1443
+ "l",
1444
+ "tl"
1445
+ ] },
1446
+ U,
1447
+ q,
1448
+ G
1449
+ ],
1450
+ radial: [
1451
+ "",
1452
+ q,
1453
+ G
1454
+ ],
1455
+ conic: [
1456
+ "",
1457
+ U,
1458
+ q,
1459
+ G
1460
+ ]
1461
+ },
1462
+ Fe,
1463
+ ke
1464
+ ] }],
1465
+ "bg-color": [{ bg: F() }],
1466
+ "gradient-from-pos": [{ from: re() }],
1467
+ "gradient-via-pos": [{ via: re() }],
1468
+ "gradient-to-pos": [{ to: re() }],
1469
+ "gradient-from": [{ from: F() }],
1470
+ "gradient-via": [{ via: F() }],
1471
+ "gradient-to": [{ to: F() }],
1472
+ rounded: [{ rounded: L() }],
1473
+ "rounded-s": [{ "rounded-s": L() }],
1474
+ "rounded-e": [{ "rounded-e": L() }],
1475
+ "rounded-t": [{ "rounded-t": L() }],
1476
+ "rounded-r": [{ "rounded-r": L() }],
1477
+ "rounded-b": [{ "rounded-b": L() }],
1478
+ "rounded-l": [{ "rounded-l": L() }],
1479
+ "rounded-ss": [{ "rounded-ss": L() }],
1480
+ "rounded-se": [{ "rounded-se": L() }],
1481
+ "rounded-ee": [{ "rounded-ee": L() }],
1482
+ "rounded-es": [{ "rounded-es": L() }],
1483
+ "rounded-tl": [{ "rounded-tl": L() }],
1484
+ "rounded-tr": [{ "rounded-tr": L() }],
1485
+ "rounded-br": [{ "rounded-br": L() }],
1486
+ "rounded-bl": [{ "rounded-bl": L() }],
1487
+ "border-w": [{ border: R() }],
1488
+ "border-w-x": [{ "border-x": R() }],
1489
+ "border-w-y": [{ "border-y": R() }],
1490
+ "border-w-s": [{ "border-s": R() }],
1491
+ "border-w-e": [{ "border-e": R() }],
1492
+ "border-w-bs": [{ "border-bs": R() }],
1493
+ "border-w-be": [{ "border-be": R() }],
1494
+ "border-w-t": [{ "border-t": R() }],
1495
+ "border-w-r": [{ "border-r": R() }],
1496
+ "border-w-b": [{ "border-b": R() }],
1497
+ "border-w-l": [{ "border-l": R() }],
1498
+ "divide-x": [{ "divide-x": R() }],
1499
+ "divide-x-reverse": ["divide-x-reverse"],
1500
+ "divide-y": [{ "divide-y": R() }],
1501
+ "divide-y-reverse": ["divide-y-reverse"],
1502
+ "border-style": [{ border: [
1503
+ ...ie(),
1504
+ "hidden",
1505
+ "none"
1506
+ ] }],
1507
+ "divide-style": [{ divide: [
1508
+ ...ie(),
1509
+ "hidden",
1510
+ "none"
1511
+ ] }],
1512
+ "border-color": [{ border: F() }],
1513
+ "border-color-x": [{ "border-x": F() }],
1514
+ "border-color-y": [{ "border-y": F() }],
1515
+ "border-color-s": [{ "border-s": F() }],
1516
+ "border-color-e": [{ "border-e": F() }],
1517
+ "border-color-bs": [{ "border-bs": F() }],
1518
+ "border-color-be": [{ "border-be": F() }],
1519
+ "border-color-t": [{ "border-t": F() }],
1520
+ "border-color-r": [{ "border-r": F() }],
1521
+ "border-color-b": [{ "border-b": F() }],
1522
+ "border-color-l": [{ "border-l": F() }],
1523
+ "divide-color": [{ divide: F() }],
1524
+ "outline-style": [{ outline: [
1525
+ ...ie(),
1526
+ "none",
1527
+ "hidden"
1528
+ ] }],
1529
+ "outline-offset": [{ "outline-offset": [
1530
+ H,
1531
+ q,
1532
+ G
1533
+ ] }],
1534
+ "outline-w": [{ outline: [
1535
+ "",
1536
+ H,
1537
+ je,
1538
+ K
1539
+ ] }],
1540
+ "outline-color": [{ outline: F() }],
1541
+ shadow: [{ shadow: [
1542
+ "",
1543
+ "inner",
1544
+ "none",
1545
+ u,
1546
+ Ie,
1547
+ Ae
1548
+ ] }],
1549
+ "shadow-color": [{ shadow: F() }],
1550
+ "inset-shadow": [{ "inset-shadow": [
1551
+ "none",
1552
+ d,
1553
+ Ie,
1554
+ Ae
1555
+ ] }],
1556
+ "inset-shadow-color": [{ "inset-shadow": F() }],
1557
+ "ring-w": [{ ring: R() }],
1558
+ "ring-w-inset": ["ring-inset"],
1559
+ "ring-color": [{ ring: F() }],
1560
+ "ring-offset-w": [{ "ring-offset": [H, K] }],
1561
+ "ring-offset-color": [{ "ring-offset": F() }],
1562
+ "inset-ring-w": [{ "inset-ring": R() }],
1563
+ "inset-ring-color": [{ "inset-ring": F() }],
1564
+ "text-shadow": [{ "text-shadow": [
1565
+ "none",
1566
+ f,
1567
+ Ie,
1568
+ Ae
1569
+ ] }],
1570
+ "text-shadow-color": [{ "text-shadow": F() }],
1571
+ opacity: [{ opacity: [
1572
+ H,
1573
+ q,
1574
+ G
1575
+ ] }],
1576
+ "mix-blend": [{ "mix-blend": [
1577
+ ...ae(),
1578
+ "plus-darker",
1579
+ "plus-lighter"
1580
+ ] }],
1581
+ "bg-blend": [{ "bg-blend": ae() }],
1582
+ "mask-clip": [{ "mask-clip": [
1583
+ "border",
1584
+ "padding",
1585
+ "content",
1586
+ "fill",
1587
+ "stroke",
1588
+ "view"
1589
+ ] }, "mask-no-clip"],
1590
+ "mask-composite": [{ mask: [
1591
+ "add",
1592
+ "subtract",
1593
+ "intersect",
1594
+ "exclude"
1595
+ ] }],
1596
+ "mask-image-linear-pos": [{ "mask-linear": [H] }],
1597
+ "mask-image-linear-from-pos": [{ "mask-linear-from": z() }],
1598
+ "mask-image-linear-to-pos": [{ "mask-linear-to": z() }],
1599
+ "mask-image-linear-from-color": [{ "mask-linear-from": F() }],
1600
+ "mask-image-linear-to-color": [{ "mask-linear-to": F() }],
1601
+ "mask-image-t-from-pos": [{ "mask-t-from": z() }],
1602
+ "mask-image-t-to-pos": [{ "mask-t-to": z() }],
1603
+ "mask-image-t-from-color": [{ "mask-t-from": F() }],
1604
+ "mask-image-t-to-color": [{ "mask-t-to": F() }],
1605
+ "mask-image-r-from-pos": [{ "mask-r-from": z() }],
1606
+ "mask-image-r-to-pos": [{ "mask-r-to": z() }],
1607
+ "mask-image-r-from-color": [{ "mask-r-from": F() }],
1608
+ "mask-image-r-to-color": [{ "mask-r-to": F() }],
1609
+ "mask-image-b-from-pos": [{ "mask-b-from": z() }],
1610
+ "mask-image-b-to-pos": [{ "mask-b-to": z() }],
1611
+ "mask-image-b-from-color": [{ "mask-b-from": F() }],
1612
+ "mask-image-b-to-color": [{ "mask-b-to": F() }],
1613
+ "mask-image-l-from-pos": [{ "mask-l-from": z() }],
1614
+ "mask-image-l-to-pos": [{ "mask-l-to": z() }],
1615
+ "mask-image-l-from-color": [{ "mask-l-from": F() }],
1616
+ "mask-image-l-to-color": [{ "mask-l-to": F() }],
1617
+ "mask-image-x-from-pos": [{ "mask-x-from": z() }],
1618
+ "mask-image-x-to-pos": [{ "mask-x-to": z() }],
1619
+ "mask-image-x-from-color": [{ "mask-x-from": F() }],
1620
+ "mask-image-x-to-color": [{ "mask-x-to": F() }],
1621
+ "mask-image-y-from-pos": [{ "mask-y-from": z() }],
1622
+ "mask-image-y-to-pos": [{ "mask-y-to": z() }],
1623
+ "mask-image-y-from-color": [{ "mask-y-from": F() }],
1624
+ "mask-image-y-to-color": [{ "mask-y-to": F() }],
1625
+ "mask-image-radial": [{ "mask-radial": [q, G] }],
1626
+ "mask-image-radial-from-pos": [{ "mask-radial-from": z() }],
1627
+ "mask-image-radial-to-pos": [{ "mask-radial-to": z() }],
1628
+ "mask-image-radial-from-color": [{ "mask-radial-from": F() }],
1629
+ "mask-image-radial-to-color": [{ "mask-radial-to": F() }],
1630
+ "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
1631
+ "mask-image-radial-size": [{ "mask-radial": [{
1632
+ closest: ["side", "corner"],
1633
+ farthest: ["side", "corner"]
1634
+ }] }],
1635
+ "mask-image-radial-pos": [{ "mask-radial-at": b() }],
1636
+ "mask-image-conic-pos": [{ "mask-conic": [H] }],
1637
+ "mask-image-conic-from-pos": [{ "mask-conic-from": z() }],
1638
+ "mask-image-conic-to-pos": [{ "mask-conic-to": z() }],
1639
+ "mask-image-conic-from-color": [{ "mask-conic-from": F() }],
1640
+ "mask-image-conic-to-color": [{ "mask-conic-to": F() }],
1641
+ "mask-mode": [{ mask: [
1642
+ "alpha",
1643
+ "luminance",
1644
+ "match"
1645
+ ] }],
1646
+ "mask-origin": [{ "mask-origin": [
1647
+ "border",
1648
+ "padding",
1649
+ "content",
1650
+ "fill",
1651
+ "stroke",
1652
+ "view"
1653
+ ] }],
1654
+ "mask-position": [{ mask: I() }],
1655
+ "mask-repeat": [{ mask: te() }],
1656
+ "mask-size": [{ mask: ne() }],
1657
+ "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
1658
+ "mask-image": [{ mask: [
1659
+ "none",
1660
+ q,
1661
+ G
1662
+ ] }],
1663
+ filter: [{ filter: [
1664
+ "",
1665
+ "none",
1666
+ q,
1667
+ G
1668
+ ] }],
1669
+ blur: [{ blur: oe() }],
1670
+ brightness: [{ brightness: [
1671
+ H,
1672
+ q,
1673
+ G
1674
+ ] }],
1675
+ contrast: [{ contrast: [
1676
+ H,
1677
+ q,
1678
+ G
1679
+ ] }],
1680
+ "drop-shadow": [{ "drop-shadow": [
1681
+ "",
1682
+ "none",
1683
+ p,
1684
+ Ie,
1685
+ Ae
1686
+ ] }],
1687
+ "drop-shadow-color": [{ "drop-shadow": F() }],
1688
+ grayscale: [{ grayscale: [
1689
+ "",
1690
+ H,
1691
+ q,
1692
+ G
1693
+ ] }],
1694
+ "hue-rotate": [{ "hue-rotate": [
1695
+ H,
1696
+ q,
1697
+ G
1698
+ ] }],
1699
+ invert: [{ invert: [
1700
+ "",
1701
+ H,
1702
+ q,
1703
+ G
1704
+ ] }],
1705
+ saturate: [{ saturate: [
1706
+ H,
1707
+ q,
1708
+ G
1709
+ ] }],
1710
+ sepia: [{ sepia: [
1711
+ "",
1712
+ H,
1713
+ q,
1714
+ G
1715
+ ] }],
1716
+ "backdrop-filter": [{ "backdrop-filter": [
1717
+ "",
1718
+ "none",
1719
+ q,
1720
+ G
1721
+ ] }],
1722
+ "backdrop-blur": [{ "backdrop-blur": oe() }],
1723
+ "backdrop-brightness": [{ "backdrop-brightness": [
1724
+ H,
1725
+ q,
1726
+ G
1727
+ ] }],
1728
+ "backdrop-contrast": [{ "backdrop-contrast": [
1729
+ H,
1730
+ q,
1731
+ G
1732
+ ] }],
1733
+ "backdrop-grayscale": [{ "backdrop-grayscale": [
1734
+ "",
1735
+ H,
1736
+ q,
1737
+ G
1738
+ ] }],
1739
+ "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
1740
+ H,
1741
+ q,
1742
+ G
1743
+ ] }],
1744
+ "backdrop-invert": [{ "backdrop-invert": [
1745
+ "",
1746
+ H,
1747
+ q,
1748
+ G
1749
+ ] }],
1750
+ "backdrop-opacity": [{ "backdrop-opacity": [
1751
+ H,
1752
+ q,
1753
+ G
1754
+ ] }],
1755
+ "backdrop-saturate": [{ "backdrop-saturate": [
1756
+ H,
1757
+ q,
1758
+ G
1759
+ ] }],
1760
+ "backdrop-sepia": [{ "backdrop-sepia": [
1761
+ "",
1762
+ H,
1763
+ q,
1764
+ G
1765
+ ] }],
1766
+ "border-collapse": [{ border: ["collapse", "separate"] }],
1767
+ "border-spacing": [{ "border-spacing": w() }],
1768
+ "border-spacing-x": [{ "border-spacing-x": w() }],
1769
+ "border-spacing-y": [{ "border-spacing-y": w() }],
1770
+ "table-layout": [{ table: ["auto", "fixed"] }],
1771
+ caption: [{ caption: ["top", "bottom"] }],
1772
+ transition: [{ transition: [
1773
+ "",
1774
+ "all",
1775
+ "colors",
1776
+ "opacity",
1777
+ "shadow",
1778
+ "transform",
1779
+ "none",
1780
+ q,
1781
+ G
1782
+ ] }],
1783
+ "transition-behavior": [{ transition: ["normal", "discrete"] }],
1784
+ duration: [{ duration: [
1785
+ H,
1786
+ "initial",
1787
+ q,
1788
+ G
1789
+ ] }],
1790
+ ease: [{ ease: [
1791
+ "linear",
1792
+ "initial",
1793
+ _,
1794
+ q,
1795
+ G
1796
+ ] }],
1797
+ delay: [{ delay: [
1798
+ H,
1799
+ q,
1800
+ G
1801
+ ] }],
1802
+ animate: [{ animate: [
1803
+ "none",
1804
+ v,
1805
+ q,
1806
+ G
1807
+ ] }],
1808
+ backface: [{ backface: ["hidden", "visible"] }],
1809
+ perspective: [{ perspective: [
1810
+ h,
1811
+ q,
1812
+ G
1813
+ ] }],
1814
+ "perspective-origin": [{ "perspective-origin": x() }],
1815
+ rotate: [{ rotate: se() }],
1816
+ "rotate-x": [{ "rotate-x": se() }],
1817
+ "rotate-y": [{ "rotate-y": se() }],
1818
+ "rotate-z": [{ "rotate-z": se() }],
1819
+ scale: [{ scale: ce() }],
1820
+ "scale-x": [{ "scale-x": ce() }],
1821
+ "scale-y": [{ "scale-y": ce() }],
1822
+ "scale-z": [{ "scale-z": ce() }],
1823
+ "scale-3d": ["scale-3d"],
1824
+ skew: [{ skew: le() }],
1825
+ "skew-x": [{ "skew-x": le() }],
1826
+ "skew-y": [{ "skew-y": le() }],
1827
+ transform: [{ transform: [
1828
+ q,
1829
+ G,
1830
+ "",
1831
+ "none",
1832
+ "gpu",
1833
+ "cpu"
1834
+ ] }],
1835
+ "transform-origin": [{ origin: x() }],
1836
+ "transform-style": [{ transform: ["3d", "flat"] }],
1837
+ translate: [{ translate: ue() }],
1838
+ "translate-x": [{ "translate-x": ue() }],
1839
+ "translate-y": [{ "translate-y": ue() }],
1840
+ "translate-z": [{ "translate-z": ue() }],
1841
+ "translate-none": ["translate-none"],
1842
+ zoom: [{ zoom: [
1843
+ U,
1844
+ q,
1845
+ G
1846
+ ] }],
1847
+ accent: [{ accent: F() }],
1848
+ appearance: [{ appearance: ["none", "auto"] }],
1849
+ "caret-color": [{ caret: F() }],
1850
+ "color-scheme": [{ scheme: [
1851
+ "normal",
1852
+ "dark",
1853
+ "light",
1854
+ "light-dark",
1855
+ "only-dark",
1856
+ "only-light"
1857
+ ] }],
1858
+ cursor: [{ cursor: [
1859
+ "auto",
1860
+ "default",
1861
+ "pointer",
1862
+ "wait",
1863
+ "text",
1864
+ "move",
1865
+ "help",
1866
+ "not-allowed",
1867
+ "none",
1868
+ "context-menu",
1869
+ "progress",
1870
+ "cell",
1871
+ "crosshair",
1872
+ "vertical-text",
1873
+ "alias",
1874
+ "copy",
1875
+ "no-drop",
1876
+ "grab",
1877
+ "grabbing",
1878
+ "all-scroll",
1879
+ "col-resize",
1880
+ "row-resize",
1881
+ "n-resize",
1882
+ "e-resize",
1883
+ "s-resize",
1884
+ "w-resize",
1885
+ "ne-resize",
1886
+ "nw-resize",
1887
+ "se-resize",
1888
+ "sw-resize",
1889
+ "ew-resize",
1890
+ "ns-resize",
1891
+ "nesw-resize",
1892
+ "nwse-resize",
1893
+ "zoom-in",
1894
+ "zoom-out",
1895
+ q,
1896
+ G
1897
+ ] }],
1898
+ "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
1899
+ "pointer-events": [{ "pointer-events": ["auto", "none"] }],
1900
+ resize: [{ resize: [
1901
+ "none",
1902
+ "",
1903
+ "y",
1904
+ "x"
1905
+ ] }],
1906
+ "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
1907
+ "scrollbar-thumb-color": [{ "scrollbar-thumb": F() }],
1908
+ "scrollbar-track-color": [{ "scrollbar-track": F() }],
1909
+ "scrollbar-gutter": [{ "scrollbar-gutter": [
1910
+ "auto",
1911
+ "stable",
1912
+ "both"
1913
+ ] }],
1914
+ "scrollbar-w": [{ scrollbar: [
1915
+ "auto",
1916
+ "thin",
1917
+ "none"
1918
+ ] }],
1919
+ "scroll-m": [{ "scroll-m": w() }],
1920
+ "scroll-mx": [{ "scroll-mx": w() }],
1921
+ "scroll-my": [{ "scroll-my": w() }],
1922
+ "scroll-ms": [{ "scroll-ms": w() }],
1923
+ "scroll-me": [{ "scroll-me": w() }],
1924
+ "scroll-mbs": [{ "scroll-mbs": w() }],
1925
+ "scroll-mbe": [{ "scroll-mbe": w() }],
1926
+ "scroll-mt": [{ "scroll-mt": w() }],
1927
+ "scroll-mr": [{ "scroll-mr": w() }],
1928
+ "scroll-mb": [{ "scroll-mb": w() }],
1929
+ "scroll-ml": [{ "scroll-ml": w() }],
1930
+ "scroll-p": [{ "scroll-p": w() }],
1931
+ "scroll-px": [{ "scroll-px": w() }],
1932
+ "scroll-py": [{ "scroll-py": w() }],
1933
+ "scroll-ps": [{ "scroll-ps": w() }],
1934
+ "scroll-pe": [{ "scroll-pe": w() }],
1935
+ "scroll-pbs": [{ "scroll-pbs": w() }],
1936
+ "scroll-pbe": [{ "scroll-pbe": w() }],
1937
+ "scroll-pt": [{ "scroll-pt": w() }],
1938
+ "scroll-pr": [{ "scroll-pr": w() }],
1939
+ "scroll-pb": [{ "scroll-pb": w() }],
1940
+ "scroll-pl": [{ "scroll-pl": w() }],
1941
+ "snap-align": [{ snap: [
1942
+ "start",
1943
+ "end",
1944
+ "center",
1945
+ "align-none"
1946
+ ] }],
1947
+ "snap-stop": [{ snap: ["normal", "always"] }],
1948
+ "snap-type": [{ snap: [
1949
+ "none",
1950
+ "x",
1951
+ "y",
1952
+ "both"
1953
+ ] }],
1954
+ "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
1955
+ touch: [{ touch: [
1956
+ "auto",
1957
+ "none",
1958
+ "manipulation"
1959
+ ] }],
1960
+ "touch-x": [{ "touch-pan": [
1961
+ "x",
1962
+ "left",
1963
+ "right"
1964
+ ] }],
1965
+ "touch-y": [{ "touch-pan": [
1966
+ "y",
1967
+ "up",
1968
+ "down"
1969
+ ] }],
1970
+ "touch-pz": ["touch-pinch-zoom"],
1971
+ select: [{ select: [
1972
+ "none",
1973
+ "text",
1974
+ "all",
1975
+ "auto"
1976
+ ] }],
1977
+ "will-change": [{ "will-change": [
1978
+ "auto",
1979
+ "scroll",
1980
+ "contents",
1981
+ "transform",
1982
+ q,
1983
+ G
1984
+ ] }],
1985
+ fill: [{ fill: ["none", ...F()] }],
1986
+ "stroke-w": [{ stroke: [
1987
+ H,
1988
+ je,
1989
+ K,
1990
+ Te
1991
+ ] }],
1992
+ stroke: [{ stroke: ["none", ...F()] }],
1993
+ "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
1994
+ },
1995
+ conflictingClassGroups: {
1996
+ "container-named": ["container-type"],
1997
+ overflow: ["overflow-x", "overflow-y"],
1998
+ overscroll: ["overscroll-x", "overscroll-y"],
1999
+ inset: [
2000
+ "inset-x",
2001
+ "inset-y",
2002
+ "inset-bs",
2003
+ "inset-be",
2004
+ "start",
2005
+ "end",
2006
+ "top",
2007
+ "right",
2008
+ "bottom",
2009
+ "left"
2010
+ ],
2011
+ "inset-x": [
2012
+ "start",
2013
+ "end",
2014
+ "right",
2015
+ "left"
2016
+ ],
2017
+ "inset-y": [
2018
+ "inset-bs",
2019
+ "inset-be",
2020
+ "top",
2021
+ "bottom"
2022
+ ],
2023
+ flex: [
2024
+ "basis",
2025
+ "grow",
2026
+ "shrink"
2027
+ ],
2028
+ gap: ["gap-x", "gap-y"],
2029
+ p: [
2030
+ "px",
2031
+ "py",
2032
+ "ps",
2033
+ "pe",
2034
+ "pbs",
2035
+ "pbe",
2036
+ "pt",
2037
+ "pr",
2038
+ "pb",
2039
+ "pl"
2040
+ ],
2041
+ px: [
2042
+ "ps",
2043
+ "pe",
2044
+ "pr",
2045
+ "pl"
2046
+ ],
2047
+ py: [
2048
+ "pbs",
2049
+ "pbe",
2050
+ "pt",
2051
+ "pb"
2052
+ ],
2053
+ m: [
2054
+ "mx",
2055
+ "my",
2056
+ "ms",
2057
+ "me",
2058
+ "mbs",
2059
+ "mbe",
2060
+ "mt",
2061
+ "mr",
2062
+ "mb",
2063
+ "ml"
2064
+ ],
2065
+ mx: [
2066
+ "ms",
2067
+ "me",
2068
+ "mr",
2069
+ "ml"
2070
+ ],
2071
+ my: [
2072
+ "mbs",
2073
+ "mbe",
2074
+ "mt",
2075
+ "mb"
2076
+ ],
2077
+ size: ["w", "h"],
2078
+ "font-size": ["leading"],
2079
+ "fvn-normal": [
2080
+ "fvn-ordinal",
2081
+ "fvn-slashed-zero",
2082
+ "fvn-figure",
2083
+ "fvn-spacing",
2084
+ "fvn-fraction"
2085
+ ],
2086
+ "fvn-ordinal": ["fvn-normal"],
2087
+ "fvn-slashed-zero": ["fvn-normal"],
2088
+ "fvn-figure": ["fvn-normal"],
2089
+ "fvn-spacing": ["fvn-normal"],
2090
+ "fvn-fraction": ["fvn-normal"],
2091
+ "line-clamp": ["display", "overflow"],
2092
+ rounded: [
2093
+ "rounded-s",
2094
+ "rounded-e",
2095
+ "rounded-t",
2096
+ "rounded-r",
2097
+ "rounded-b",
2098
+ "rounded-l",
2099
+ "rounded-ss",
2100
+ "rounded-se",
2101
+ "rounded-ee",
2102
+ "rounded-es",
2103
+ "rounded-tl",
2104
+ "rounded-tr",
2105
+ "rounded-br",
2106
+ "rounded-bl"
2107
+ ],
2108
+ "rounded-s": ["rounded-ss", "rounded-es"],
2109
+ "rounded-e": ["rounded-se", "rounded-ee"],
2110
+ "rounded-t": ["rounded-tl", "rounded-tr"],
2111
+ "rounded-r": ["rounded-tr", "rounded-br"],
2112
+ "rounded-b": ["rounded-br", "rounded-bl"],
2113
+ "rounded-l": ["rounded-tl", "rounded-bl"],
2114
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
2115
+ "border-w": [
2116
+ "border-w-x",
2117
+ "border-w-y",
2118
+ "border-w-s",
2119
+ "border-w-e",
2120
+ "border-w-bs",
2121
+ "border-w-be",
2122
+ "border-w-t",
2123
+ "border-w-r",
2124
+ "border-w-b",
2125
+ "border-w-l"
2126
+ ],
2127
+ "border-w-x": [
2128
+ "border-w-s",
2129
+ "border-w-e",
2130
+ "border-w-r",
2131
+ "border-w-l"
2132
+ ],
2133
+ "border-w-y": [
2134
+ "border-w-bs",
2135
+ "border-w-be",
2136
+ "border-w-t",
2137
+ "border-w-b"
2138
+ ],
2139
+ "border-color": [
2140
+ "border-color-x",
2141
+ "border-color-y",
2142
+ "border-color-s",
2143
+ "border-color-e",
2144
+ "border-color-bs",
2145
+ "border-color-be",
2146
+ "border-color-t",
2147
+ "border-color-r",
2148
+ "border-color-b",
2149
+ "border-color-l"
2150
+ ],
2151
+ "border-color-x": [
2152
+ "border-color-s",
2153
+ "border-color-e",
2154
+ "border-color-r",
2155
+ "border-color-l"
2156
+ ],
2157
+ "border-color-y": [
2158
+ "border-color-bs",
2159
+ "border-color-be",
2160
+ "border-color-t",
2161
+ "border-color-b"
2162
+ ],
2163
+ translate: [
2164
+ "translate-x",
2165
+ "translate-y",
2166
+ "translate-none"
2167
+ ],
2168
+ "translate-none": [
2169
+ "translate",
2170
+ "translate-x",
2171
+ "translate-y",
2172
+ "translate-z"
2173
+ ],
2174
+ "scroll-m": [
2175
+ "scroll-mx",
2176
+ "scroll-my",
2177
+ "scroll-ms",
2178
+ "scroll-me",
2179
+ "scroll-mbs",
2180
+ "scroll-mbe",
2181
+ "scroll-mt",
2182
+ "scroll-mr",
2183
+ "scroll-mb",
2184
+ "scroll-ml"
2185
+ ],
2186
+ "scroll-mx": [
2187
+ "scroll-ms",
2188
+ "scroll-me",
2189
+ "scroll-mr",
2190
+ "scroll-ml"
2191
+ ],
2192
+ "scroll-my": [
2193
+ "scroll-mbs",
2194
+ "scroll-mbe",
2195
+ "scroll-mt",
2196
+ "scroll-mb"
2197
+ ],
2198
+ "scroll-p": [
2199
+ "scroll-px",
2200
+ "scroll-py",
2201
+ "scroll-ps",
2202
+ "scroll-pe",
2203
+ "scroll-pbs",
2204
+ "scroll-pbe",
2205
+ "scroll-pt",
2206
+ "scroll-pr",
2207
+ "scroll-pb",
2208
+ "scroll-pl"
2209
+ ],
2210
+ "scroll-px": [
2211
+ "scroll-ps",
2212
+ "scroll-pe",
2213
+ "scroll-pr",
2214
+ "scroll-pl"
2215
+ ],
2216
+ "scroll-py": [
2217
+ "scroll-pbs",
2218
+ "scroll-pbe",
2219
+ "scroll-pt",
2220
+ "scroll-pb"
2221
+ ],
2222
+ touch: [
2223
+ "touch-x",
2224
+ "touch-y",
2225
+ "touch-pz"
2226
+ ],
2227
+ "touch-x": ["touch"],
2228
+ "touch-y": ["touch"],
2229
+ "touch-pz": ["touch"]
2230
+ },
2231
+ conflictingClassGroupModifiers: { "font-size": ["leading"] },
2232
+ postfixLookupClassGroups: ["container-type"],
2233
+ orderSensitiveModifiers: [
2234
+ "*",
2235
+ "**",
2236
+ "after",
2237
+ "backdrop",
2238
+ "before",
2239
+ "details-content",
2240
+ "file",
2241
+ "first-letter",
2242
+ "first-line",
2243
+ "marker",
2244
+ "placeholder",
2245
+ "selection"
2246
+ ]
2247
+ };
2248
+ });
2249
+ function qe(...e) {
2250
+ return Ke(m(e));
2251
+ }
2252
+ var Je = (e) => e?.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
2253
+ function Ye(e, t, n = []) {
2254
+ if (t == null) throw Error("[lucide]: iconNode is required when icon name is used");
2255
+ return {
2256
+ name: Je(e),
2257
+ size: 24,
2258
+ node: t,
2259
+ ...n.length > 0 ? { aliases: n } : {}
2260
+ };
2261
+ }
2262
+ var Xe = (e) => {
2263
+ let t = "", n = !1;
2264
+ for (let r of e) r === "-" || r === "_" || r <= " " ? n = t.length > 0 : (t.length === 0 ? t += r.toLowerCase() : t += n ? r.toUpperCase() : r, n = !1);
2265
+ return t;
2266
+ }, Ze = (e) => {
2267
+ let t = Xe(e);
2268
+ return t.charAt(0).toUpperCase() + t.slice(1);
2269
+ }, Qe = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), X = {
2270
+ xmlns: "http://www.w3.org/2000/svg",
2271
+ width: 24,
2272
+ height: 24,
2273
+ viewBox: "0 0 24 24",
2274
+ fill: "none",
2275
+ stroke: "currentColor",
2276
+ "stroke-width": 2,
2277
+ "stroke-linecap": "round",
2278
+ "stroke-linejoin": "round"
2279
+ };
2280
+ function $e(e) {
2281
+ return e != null;
2282
+ }
2283
+ function et(e, t = {}) {
2284
+ let n = t.attributeNames ?? {}, r = (e) => n[e] ?? e, i = e.size ?? e.width ?? X.width, a = e.size ?? e.height ?? X.height, o = e.aliases?.filter((e) => typeof e == "string" && e.trim() !== "").map((e) => `lucide-${e}`) ?? [], s = [...e.name ? [`lucide-${e.name}`] : [], ...o], c = t.className?.split(" ").filter(Boolean) ?? [], l = t.includeDefaultClasses === !1 ? Qe(...c) : Qe("lucide", ...s, ...c), u = t.absoluteStrokeWidth ? Number(t.strokeWidth ?? X["stroke-width"]) * Number(e.size ?? e.width ?? X.width) / Number(t.size ?? t.width ?? X.width) : t.strokeWidth ?? X["stroke-width"];
2285
+ return [
2286
+ "svg",
2287
+ {
2288
+ ...Object.entries(X).reduce((e, [t, n]) => (e[r(t)] = n, e), {}),
2289
+ ..."color" in t && t.color && { [r("stroke")]: t.color },
2290
+ ..."size" in t && $e(t.size) && {
2291
+ [r("width")]: t.size,
2292
+ [r("height")]: t.size
2293
+ },
2294
+ ..."width" in t && $e(t.width) && { [r("width")]: t.width },
2295
+ ..."height" in t && $e(t.height) && { [r("height")]: t.height },
2296
+ [r("stroke-width")]: u,
2297
+ ...l && { [r("class")]: l },
2298
+ [r("viewBox")]: `0 0 ${i} ${a}`,
2299
+ ...t.hasA11yProp === !1 ? { [r("aria-hidden")]: "true" } : {},
2300
+ ..."attributes" in t && t.attributes
2301
+ },
2302
+ e.node.map((e) => {
2303
+ let [n, i, a] = e, o = t.nonScalingStroke ? {
2304
+ [r("vector-effect")]: "non-scaling-stroke",
2305
+ ...i
2306
+ } : i;
2307
+ return a ? [
2308
+ n,
2309
+ o,
2310
+ a
2311
+ ] : [n, o];
2312
+ })
2313
+ ];
2314
+ }
2315
+ function tt(e, t = {}) {
2316
+ return et(e, {
2317
+ ...t,
2318
+ attributeNames: {
2319
+ ...t.attributeNames,
2320
+ class: "className",
2321
+ "stroke-width": "strokeWidth",
2322
+ "stroke-linecap": "strokeLinecap",
2323
+ "stroke-linejoin": "strokeLinejoin",
2324
+ "vector-effect": "vectorEffect"
2325
+ }
2326
+ });
2327
+ }
2328
+ var nt = (e) => {
2329
+ for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
2330
+ return !1;
2331
+ }, rt = (0, f.createContext)({}), it = () => (0, f.useContext)(rt), at = (0, f.forwardRef)(({ color: e, size: t, width: n, height: r, strokeWidth: i, absoluteStrokeWidth: a, nonScalingStroke: o, className: s = "", children: c, iconNode: l = [], icon: u = {
2332
+ node: l,
2333
+ aliases: [],
2334
+ size: 24
2335
+ }, ...d }, p) => {
2336
+ let { size: m = 24, strokeWidth: h = 2, absoluteStrokeWidth: g = !1, nonScalingStroke: _ = !1, color: v = "currentColor", className: y = "" } = it() ?? {}, b = !!c || nt(d), [x, S, C = []] = tt(u, {
2337
+ color: e ?? v,
2338
+ width: n ?? t ?? m,
2339
+ height: r ?? t ?? m,
2340
+ strokeWidth: i ?? h,
2341
+ absoluteStrokeWidth: a ?? g,
2342
+ nonScalingStroke: o ?? _,
2343
+ className: Qe(y, s),
2344
+ hasA11yProp: b,
2345
+ attributes: d
2346
+ });
2347
+ return (0, f.createElement)(x, {
2348
+ ref: p,
2349
+ ...S
2350
+ }, [...C.map(([e, t]) => (0, f.createElement)(e, t)), ...Array.isArray(c) ? c : [c]]);
2351
+ });
2352
+ function Z(e, t = [], n = []) {
2353
+ let r = typeof e == "string" ? Ye(e, t, n) : e, i = (0, f.forwardRef)(({ className: e, ...t }, n) => (0, f.createElement)(at, {
2354
+ ref: n,
2355
+ icon: r,
2356
+ className: e,
2357
+ ...t
2358
+ }));
2359
+ return r.name && (i.displayName = Ze(r.name)), i;
2360
+ }
2361
+ var ot = {
2362
+ name: "circle-check",
2363
+ size: 24,
2364
+ node: [["circle", {
2365
+ cx: "12",
2366
+ cy: "12",
2367
+ r: "10",
2368
+ key: "1mglay"
2369
+ }], ["path", {
2370
+ d: "m16 9-5.5 5.5L8 12",
2371
+ key: "xofnsj"
2372
+ }]],
2373
+ aliases: ["check-circle-2"]
2374
+ };
2375
+ ot.node;
2376
+ var st = Z(ot), ct = {
2377
+ name: "circle-dashed",
2378
+ size: 24,
2379
+ node: [
2380
+ ["path", {
2381
+ d: "M10.1 2.182a10 10 0 0 1 3.8 0",
2382
+ key: "5ilxe3"
2383
+ }],
2384
+ ["path", {
2385
+ d: "M13.9 21.818a10 10 0 0 1-3.8 0",
2386
+ key: "11zvb9"
2387
+ }],
2388
+ ["path", {
2389
+ d: "M17.609 3.721a10 10 0 0 1 2.69 2.7",
2390
+ key: "1iw5b2"
2391
+ }],
2392
+ ["path", {
2393
+ d: "M2.182 13.9a10 10 0 0 1 0-3.8",
2394
+ key: "c0bmvh"
2395
+ }],
2396
+ ["path", {
2397
+ d: "M20.279 17.609a10 10 0 0 1-2.7 2.69",
2398
+ key: "1ruxm7"
2399
+ }],
2400
+ ["path", {
2401
+ d: "M21.818 10.1a10 10 0 0 1 0 3.8",
2402
+ key: "qkgqxc"
2403
+ }],
2404
+ ["path", {
2405
+ d: "M3.721 6.391a10 10 0 0 1 2.7-2.69",
2406
+ key: "1mcia2"
2407
+ }],
2408
+ ["path", {
2409
+ d: "M6.391 20.279a10 10 0 0 1-2.69-2.7",
2410
+ key: "1fvljs"
2411
+ }]
2412
+ ]
2413
+ };
2414
+ ct.node;
2415
+ var lt = Z(ct), ut = {
2416
+ name: "circle-dot",
2417
+ size: 24,
2418
+ node: [["circle", {
2419
+ cx: "12",
2420
+ cy: "12",
2421
+ r: "1",
2422
+ key: "41hilf"
2423
+ }], ["circle", {
2424
+ cx: "12",
2425
+ cy: "12",
2426
+ r: "10",
2427
+ key: "1mglay"
2428
+ }]]
2429
+ };
2430
+ ut.node;
2431
+ var dt = Z(ut), ft = {
2432
+ name: "circle-question-mark",
2433
+ size: 24,
2434
+ node: [
2435
+ ["circle", {
2436
+ cx: "12",
2437
+ cy: "12",
2438
+ r: "10",
2439
+ key: "1mglay"
2440
+ }],
2441
+ ["path", {
2442
+ d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",
2443
+ key: "1u773s"
2444
+ }],
2445
+ ["path", {
2446
+ d: "M12 17h.01",
2447
+ key: "p32p05"
2448
+ }]
2449
+ ],
2450
+ aliases: ["help-circle", "circle-help"]
2451
+ };
2452
+ ft.node;
2453
+ var pt = Z(ft), mt = {
2454
+ name: "circle-stop",
2455
+ size: 24,
2456
+ node: [["circle", {
2457
+ cx: "12",
2458
+ cy: "12",
2459
+ r: "10",
2460
+ key: "1mglay"
2461
+ }], ["rect", {
2462
+ x: "9",
2463
+ y: "9",
2464
+ width: "6",
2465
+ height: "6",
2466
+ rx: "1",
2467
+ key: "1ssd4o"
2468
+ }]],
2469
+ aliases: ["stop-circle"]
2470
+ };
2471
+ mt.node;
2472
+ var ht = Z(mt), gt = {
2473
+ name: "circle-x",
2474
+ size: 24,
2475
+ node: [
2476
+ ["circle", {
2477
+ cx: "12",
2478
+ cy: "12",
2479
+ r: "10",
2480
+ key: "1mglay"
2481
+ }],
2482
+ ["path", {
2483
+ d: "m15 9-6 6",
2484
+ key: "1uzhvr"
2485
+ }],
2486
+ ["path", {
2487
+ d: "m9 9 6 6",
2488
+ key: "z0biqf"
2489
+ }]
2490
+ ],
2491
+ aliases: ["x-circle"]
2492
+ };
2493
+ gt.node;
2494
+ var _t = Z(gt), vt = {
2495
+ name: "hand",
2496
+ size: 24,
2497
+ node: [
2498
+ ["path", {
2499
+ d: "M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",
2500
+ key: "1fvzgz"
2501
+ }],
2502
+ ["path", {
2503
+ d: "M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",
2504
+ key: "1kc0my"
2505
+ }],
2506
+ ["path", {
2507
+ d: "M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",
2508
+ key: "10h0bg"
2509
+ }],
2510
+ ["path", {
2511
+ d: "M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",
2512
+ key: "1s1gnw"
2513
+ }]
2514
+ ]
2515
+ };
2516
+ vt.node;
2517
+ var yt = Z(vt), bt = {
2518
+ name: "hourglass",
2519
+ size: 24,
2520
+ node: [
2521
+ ["path", {
2522
+ d: "M5 22h14",
2523
+ key: "ehvnwv"
2524
+ }],
2525
+ ["path", {
2526
+ d: "M5 2h14",
2527
+ key: "pdyrp9"
2528
+ }],
2529
+ ["path", {
2530
+ d: "M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",
2531
+ key: "1d314k"
2532
+ }],
2533
+ ["path", {
2534
+ d: "M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",
2535
+ key: "1vvvr6"
2536
+ }]
2537
+ ]
2538
+ };
2539
+ bt.node;
2540
+ var xt = Z(bt), St = {
2541
+ running: {
2542
+ label: "Running",
2543
+ icon: dt,
2544
+ token: "--surface-info-text"
2545
+ },
2546
+ waiting: {
2547
+ label: "Waiting",
2548
+ icon: xt,
2549
+ token: "--surface-neutral-text"
2550
+ },
2551
+ "needs-you": {
2552
+ label: "Needs you",
2553
+ icon: yt,
2554
+ token: "--surface-warning-text"
2555
+ },
2556
+ done: {
2557
+ label: "Done",
2558
+ icon: st,
2559
+ token: "--surface-success-text"
2560
+ },
2561
+ failed: {
2562
+ label: "Failed",
2563
+ icon: _t,
2564
+ token: "--surface-danger-text"
2565
+ },
2566
+ stopped: {
2567
+ label: "Stopped",
2568
+ icon: ht,
2569
+ token: "--surface-neutral-text"
2570
+ },
2571
+ idle: {
2572
+ label: "Idle",
2573
+ icon: lt,
2574
+ token: "--surface-neutral-text"
2575
+ },
2576
+ unknown: {
2577
+ label: "Unknown",
2578
+ icon: pt,
2579
+ token: "--surface-neutral-text"
2580
+ }
2581
+ }, Ct = {
2582
+ active: "running",
2583
+ in_progress: "running",
2584
+ "in-progress": "running",
2585
+ streaming: "running",
2586
+ pending: "waiting",
2587
+ queued: "waiting",
2588
+ blocked: "waiting",
2589
+ "attention-needed": "needs-you",
2590
+ needs_you: "needs-you",
2591
+ needs_input: "needs-you",
2592
+ awaiting_input: "needs-you",
2593
+ completed: "done",
2594
+ complete: "done",
2595
+ success: "done",
2596
+ succeeded: "done",
2597
+ shipped: "done",
2598
+ error: "failed",
2599
+ errored: "failed",
2600
+ cancelled: "stopped",
2601
+ canceled: "stopped",
2602
+ aborted: "stopped"
2603
+ };
2604
+ function wt(e) {
2605
+ let t = e.trim().toLowerCase();
2606
+ return Object.hasOwn(St, t) ? t : Object.hasOwn(Ct, t) ? Ct[t] : "unknown";
2607
+ }
2608
+ function Tt(e) {
2609
+ return St[wt(e)];
2610
+ }
2611
+ function Et({ status: e, className: t, style: n, ...r }) {
2612
+ let i = wt(e), { label: a, icon: o, token: s } = St[i], c = i === "running";
2613
+ return /* @__PURE__ */ (0, d.jsx)(o, {
2614
+ role: "img",
2615
+ "aria-label": a,
2616
+ size: 16,
2617
+ strokeWidth: 1.75,
2618
+ "data-run-status": i,
2619
+ "data-motion": c ? "essential" : void 0,
2620
+ className: qe("shrink-0", c && "animate-[tangle-breathe_var(--motion-ambient)_infinite]", t),
2621
+ style: {
2622
+ color: `var(${s})`,
2623
+ ...n
2624
+ },
2625
+ ...r
2626
+ });
2627
+ }
2628
+ var Dt = (e) => e.kind === "model" || e.modelCall ? "model" : "tool", Ot = (e) => e?.split(" · ")[0], kt = (e) => e > 0 && e <= 5 ? e : 0, At = (e) => e.status === "failed", Q = (e) => e.status === "running", jt = (e, t) => new Map((e.facts ?? []).map((e) => [e.label.toLowerCase(), e.value])).get(t.toLowerCase()), Mt = (e) => Number.isFinite(e.startMs) && Number.isFinite(e.endMs) && e.endMs >= e.startMs;
2629
+ function Nt(e) {
2630
+ if (!Number.isFinite(e) || e < 0) return "—";
2631
+ if (e < 1e3) return `${Math.round(e)}ms`;
2632
+ if (e < 1e4) return `${(e / 1e3).toFixed(1)}s`;
2633
+ if (e < 6e4) return `${Math.round(e / 1e3)}s`;
2634
+ if (e < 36e5) {
2635
+ let t = Math.floor(e / 6e4), n = Math.round(e % 6e4 / 1e3);
2636
+ return n === 60 ? `${t + 1}m` : n ? `${t}m ${n}s` : `${t}m`;
2637
+ }
2638
+ let t = Math.floor(e / 36e5), n = Math.round(e % 36e5 / 6e4);
2639
+ return n === 60 ? `${t + 1}h` : `${t}h ${String(n).padStart(2, "0")}m`;
2640
+ }
2641
+ function $(e) {
2642
+ return c(e) === void 0 ? "—" : e === 0 ? "$0.00" : e < .01 ? `$${e.toPrecision(1).replace(/0+$/, "")}` : `$${e.toFixed(2)}`;
2643
+ }
2644
+ function Pt(e) {
2645
+ return l(e) === void 0 ? "—" : e < 1e3 ? String(e) : e < 1e6 ? `${(e / 1e3).toFixed(1)}K` : `${(e / 1e6).toFixed(1)}M`;
2646
+ }
2647
+ function Ft(e, t, n = 240) {
2648
+ e.sort((e, t) => e.startMs - t.startMs);
2649
+ let r = t;
2650
+ for (let t = 0; t < 40; t++, r *= 2) {
2651
+ let t = [], i = /* @__PURE__ */ new Map();
2652
+ for (let n of e) {
2653
+ let e = t[t.length - 1], a = Math.min(n.endMs, n.startMs + r * 4) - n.startMs, o = (e) => e.retry || e.kind === "failed", s = a < r || e !== void 0 && e.endMs - e.startMs < r;
2654
+ if (e && !o(e) && !o(n) && e.tone === n.tone && n.startMs - e.endMs <= r && (e.kind === n.kind || s)) {
2655
+ let t = i.get(e) ?? {
2656
+ model: e.kind === "model" ? e.endMs - e.startMs : 0,
2657
+ tool: e.kind === "tool" ? e.endMs - e.startMs : 0
2658
+ };
2659
+ t[n.kind === "model" ? "model" : "tool"] += a, i.set(e, t), e.endMs = Math.max(e.endMs, n.endMs), e.count += n.count, e.tool !== n.tool && (e.tool = void 0), n.costUsd !== void 0 && (e.costUsd = (e.costUsd ?? 0) + n.costUsd), e.kind = t.model >= t.tool ? "model" : "tool";
2660
+ } else t.push({ ...n });
2661
+ }
2662
+ if (t.length <= n) return t;
2663
+ }
2664
+ return e;
2665
+ }
2666
+ function It(e, t) {
2667
+ let n = /* @__PURE__ */ new Set(), r = [...e.spans].map((e, t) => {
2668
+ let n = wt(e.status ?? "unknown"), r = {
2669
+ label: Tt(n).label,
2670
+ tone: n === "running" ? "live" : n === "done" ? "ok" : n === "needs-you" ? "warn" : n === "failed" ? "failed" : "neutral",
2671
+ ...n === "unknown" ? { ring: !0 } : {}
2672
+ }, i = {
2673
+ ...e,
2674
+ outcome: e.outcome ?? r,
2675
+ detail: jt(e, e.kind === "tool" ? "Provider" : "Model") ?? e.detail
2676
+ };
2677
+ return {
2678
+ span: i,
2679
+ key: i.id ?? `span-${t}`
2680
+ };
2681
+ }).sort((e, t) => e.span.startMs - t.span.startMs).map(({ span: t, key: r }, i) => {
2682
+ let a = r, o = i;
2683
+ for (; n.has(a);) a = `${r}:${o++}`;
2684
+ return n.add(a), {
2685
+ id: a,
2686
+ parentId: t.parentId,
2687
+ name: t.name,
2688
+ kind: t.kind,
2689
+ durationLabel: Mt(t) ? `${Nt(t.endMs - t.startMs)}${t.approx ? "~" : ""}` : "—",
2690
+ approx: t.approx === !0,
2691
+ ok: !At(t),
2692
+ depth: 0,
2693
+ hasChildren: !1,
2694
+ span: t,
2695
+ tone: -1,
2696
+ descendants: 0,
2697
+ segments: [],
2698
+ own: [],
2699
+ retry: t.retryOf !== void 0,
2700
+ hasAgents: !1,
2701
+ ...t.costBound === "lower" || t.costBound === void 0 && e.costBound === "lower" ? { costFloor: !0 } : {}
2702
+ };
2703
+ }), i = new Map(r.map((e) => [e.id, e])), a = /* @__PURE__ */ new Map();
2704
+ for (let e of r) {
2705
+ let t = /* @__PURE__ */ new Set([e.id]), n = e.parentId;
2706
+ for (; n && i.has(n);) {
2707
+ if (t.has(n)) {
2708
+ e.parentId = void 0;
2709
+ break;
2710
+ }
2711
+ t.add(n), n = i.get(n)?.parentId;
2712
+ }
2713
+ if (e.parentId && !i.has(e.parentId) && (e.parentId = void 0), e.parentId) {
2714
+ let t = a.get(e.parentId) ?? [];
2715
+ t.push(e), a.set(e.parentId, t);
2716
+ }
2717
+ }
2718
+ let o = Math.max(1, Number.isFinite(e.totalMs) ? e.totalMs : 1), s = t ?? o / 900, c = [], u = 0, d = (e, t, n) => {
2719
+ e.depth = t, e.tone = e.kind === "pipeline" ? u++ : n;
2720
+ let r = a.get(e.id) ?? [];
2721
+ e.hasChildren = r.length > 0, c.push(e);
2722
+ let i = [], o = e.span.promptTokens !== void 0 || e.span.completionTokens !== void 0 || e.span.cachedTokens !== void 0, f = e.span.costUsd ?? 0, p = e.span.kind !== "model" || e.span.costUsd !== void 0;
2723
+ for (let n of r) {
2724
+ for (let r of d(n, t + 1, e.tone)) i.push(r);
2725
+ e.descendants += 1 + n.descendants, n.kind === "pipeline" && (e.hasAgents = !0);
2726
+ let r = n.hasChildren ? n.rollupCostUsd : n.span.costUsd;
2727
+ r === void 0 ? (n.kind === "model" || n.hasChildren) && (p = !1) : f += r, n.kind !== "pipeline" && n.kind !== "waiting" && Mt(n.span) && e.own.push(Bt(n));
2728
+ }
2729
+ Object.assign(e, Lt(r));
2730
+ let m = o ? {
2731
+ prompt: l(e.span.promptTokens),
2732
+ completion: l(e.span.completionTokens),
2733
+ cached: l(e.span.cachedTokens)
2734
+ } : zt(r);
2735
+ return m && (e.tokens = m), e.hasChildren && p && (e.rollupCostUsd = f), e.hasChildren && (e.segments = Ft(i.map((e) => ({ ...e })), s), e.own = Ft(e.own, s)), e.kind === "pipeline" || e.kind === "waiting" || !Mt(e.span) || i.push(Bt(e)), i;
2736
+ };
2737
+ for (let e of r) e.parentId || d(e, 0, -1);
2738
+ return c;
2739
+ }
2740
+ function Lt(e) {
2741
+ let t, n = [];
2742
+ for (let r of e) if (r.kind !== "pipeline" && r.kind !== "waiting" && Mt(r.span)) {
2743
+ if (t ??= {
2744
+ model: 0,
2745
+ tool: 0,
2746
+ failed: 0,
2747
+ retried: 0,
2748
+ tools: {}
2749
+ }, r.ok || t.failed++, r.retry && t.retried++, r.kind === "model") t.model++, Q(r.span) || n.push(r.span.endMs - r.span.startMs);
2750
+ else {
2751
+ t.tool++;
2752
+ let e = Ot(r.name) || r.kind;
2753
+ t.tools[e] = (t.tools[e] ?? 0) + 1;
2754
+ }
2755
+ }
2756
+ return t ? {
2757
+ counts: t,
2758
+ modelMs: n.sort((e, t) => e - t)
2759
+ } : {};
2760
+ }
2761
+ function Rt(e) {
2762
+ let t;
2763
+ for (let n of e) if (n.counts) {
2764
+ t ??= {
2765
+ model: 0,
2766
+ tool: 0,
2767
+ failed: 0,
2768
+ retried: 0,
2769
+ tools: {}
2770
+ }, t.model += n.counts.model, t.tool += n.counts.tool, t.failed += n.counts.failed, t.retried += n.counts.retried;
2771
+ for (let [e, r] of Object.entries(n.counts.tools)) t.tools[e] = (t.tools[e] ?? 0) + r;
2772
+ }
2773
+ let n = zt(e);
2774
+ return {
2775
+ ...t ? {
2776
+ counts: t,
2777
+ modelMs: e.flatMap((e) => e.modelMs ?? []).sort((e, t) => e - t)
2778
+ } : {},
2779
+ ...n ? { tokens: n } : {}
2780
+ };
2781
+ }
2782
+ function zt(e) {
2783
+ let t, n = e.filter((e) => e.kind === "model" || e.tokens !== void 0);
2784
+ for (let e of [
2785
+ "prompt",
2786
+ "completion",
2787
+ "cached"
2788
+ ]) {
2789
+ let r = u(n.map((t) => t.tokens?.[e]));
2790
+ r !== void 0 && ((t ??= {})[e] = r);
2791
+ }
2792
+ return t;
2793
+ }
2794
+ function Bt(e) {
2795
+ return {
2796
+ startMs: e.span.startMs,
2797
+ endMs: Q(e.span) ? Infinity : e.span.endMs,
2798
+ kind: e.ok ? e.kind === "model" ? "model" : "tool" : "failed",
2799
+ tone: e.tone,
2800
+ id: e.id,
2801
+ count: 1,
2802
+ retry: e.retry,
2803
+ name: e.name,
2804
+ tool: Ot(e.name),
2805
+ ...e.span.costUsd === void 0 ? {} : { costUsd: e.span.costUsd },
2806
+ ...!e.ok && e.kind === "model" ? { modelCall: !0 } : {}
2807
+ };
2808
+ }
2809
+ function Vt(e, t, n) {
2810
+ let r = t.trim(), i = r.toLowerCase();
2811
+ return new Set(e.filter((e) => n ? n(e.span, r) : `${e.name} ${e.span.detail ?? ""} ${e.kind} ${e.ok ? "" : "failed"} ${e.span.status ?? ""}`.toLowerCase().includes(i)).map((e) => e.id));
2812
+ }
2813
+ function Ht(e, t, n, r) {
2814
+ let i = new Map(e.map((e) => [e.id, e]));
2815
+ if (t.trim()) {
2816
+ let n = /* @__PURE__ */ new Set();
2817
+ for (let a of Vt(e, t, r)) {
2818
+ let e = i.get(a);
2819
+ for (; e && !n.has(e.id);) n.add(e.id), e = e.parentId ? i.get(e.parentId) : void 0;
2820
+ }
2821
+ return e.filter((e) => n.has(e.id));
2822
+ }
2823
+ let a = /* @__PURE__ */ new Set();
2824
+ return e.filter((e) => {
2825
+ let t = e.parentId !== void 0 && (n.has(e.parentId) || a.has(e.parentId));
2826
+ return t && a.add(e.id), !t;
2827
+ });
2828
+ }
2829
+ function Ut(e, t) {
2830
+ let n, r = -1;
2831
+ for (let i of e) {
2832
+ if (i.hasChildren || i.kind === "pipeline" || i.kind === "waiting" || i.durationLabel === "—" || i.span.startMs > t) continue;
2833
+ let e = (Q(i.span) ? Math.max(i.span.endMs, t) : Math.min(i.span.endMs, t)) - i.span.startMs;
2834
+ e > r && (n = i, r = e);
2835
+ }
2836
+ return n;
2837
+ }
2838
+ function Wt(e) {
2839
+ let t = /* @__PURE__ */ new Map();
2840
+ for (let n of e) {
2841
+ if (!n.parentId) continue;
2842
+ let e = t.get(n.parentId);
2843
+ e ? e.push(n) : t.set(n.parentId, [n]);
2844
+ }
2845
+ let n;
2846
+ for (let r of e) {
2847
+ if (r.parentId) continue;
2848
+ let e = [], i = r.span.endMs;
2849
+ for (let n = r; n;) e.push(n.id), i = Math.max(i, n.span.endMs), n = t.get(n.id)?.reduce((e, t) => !e || t.span.endMs > e.span.endMs ? t : e, void 0);
2850
+ (!n || i > n.end) && (n = {
2851
+ end: i,
2852
+ chain: e
2853
+ });
2854
+ }
2855
+ return new Set(n?.chain);
2856
+ }
2857
+ function Gt(e, t) {
2858
+ let n, r = -1, i, a = -1, o = 0, s = 0;
2859
+ for (let c of e) {
2860
+ if (c.durationLabel === "—" || c.span.startMs > t || c.kind !== "pipeline" || c.hasAgents || c.id.startsWith("family:") || c.id.startsWith("run:")) continue;
2861
+ let e = (Q(c.span) ? Math.max(c.span.endMs, t) : Math.min(c.span.endMs, t)) - c.span.startMs;
2862
+ jt(c.span, "Ran for") === void 0 && (s += 1, e > r && (n = c, r = e));
2863
+ let l = jt(c.span, "Cost") === void 0 ? c.span.costUsd ?? c.rollupCostUsd : void 0;
2864
+ typeof l == "number" && Number.isFinite(l) && (o += 1, l > a && (i = c, a = l));
2865
+ }
2866
+ return {
2867
+ slowestId: s > 1 ? n?.id : void 0,
2868
+ costliestId: o > 1 && a > 0 ? i?.id : void 0
2869
+ };
2870
+ }
2871
+ function Kt(e, t) {
2872
+ let n = 0, r = -Infinity;
2873
+ for (let i of e.own) {
2874
+ let e = Math.max(i.startMs, r), a = Math.min(i.endMs, t);
2875
+ a > e && (n += a - e), r = Math.max(r, Math.min(i.endMs, t));
2876
+ }
2877
+ return n;
2878
+ }
2879
+ function qt(e, t) {
2880
+ let n = 0, r = !1, i = !1, a = [];
2881
+ for (let o of e.spans) {
2882
+ if (o.startMs > t) continue;
2883
+ let e = o.meta?.["cli_bridge.usage.scope"] === "sum_of_children";
2884
+ o.endMs > t || (o.costUsd !== void 0 && (n += o.costUsd, r = !0), e || o.kind !== "model" && o.promptTokens === void 0 && o.completionTokens === void 0 || (a.push(u([o.promptTokens, o.completionTokens])), i ||= o.promptTokens !== void 0 || o.completionTokens !== void 0));
2885
+ }
2886
+ return {
2887
+ costUsd: e.costUsd === void 0 ? void 0 : r ? n : e.costUsd,
2888
+ tokens: u(i ? a : [e.promptTokens, e.completionTokens]),
2889
+ modelCalls: l(e.modelCalls),
2890
+ toolCalls: l(e.toolCalls),
2891
+ errors: l(e.errors)
2892
+ };
2893
+ }
2894
+ function Jt(e, t) {
2895
+ e = c(e);
2896
+ let n = c(t.billedUsd), r = t.costBasis === "list", i = r ? "Cost · list price" : "Cost";
2897
+ if (e === void 0) return n === void 0 ? {
2898
+ value: "—",
2899
+ title: "No cost source: the harness recorded no cost and no price catalog was given",
2900
+ label: i
2901
+ } : {
2902
+ value: `${$(n)} billed`,
2903
+ title: "No list price for these calls; billed is the seat charge",
2904
+ label: i
2905
+ };
2906
+ let a = t.costCoverage, o = a !== void 0 && a.priced < a.total, s = !o && t.costBound === "upper";
2907
+ return {
2908
+ value: `${o || t.costBound === "lower" ? "≥" : s ? "≤" : r ? "≈" : ""}${$(e)}${n === void 0 ? "" : ` · ${$(n)} billed`}`,
2909
+ title: [
2910
+ o ? `${a.priced} of ${a.total} model calls priced` : a ? `all ${a.total} model calls priced` : "",
2911
+ r ? "at the model catalog list price; not a bill" : "",
2912
+ s ? "cached input is not split out, so it is priced as fresh input: at most this" : "",
2913
+ t.costBound === "lower" ? "a floor: the producer reports at least this" : "",
2914
+ n === void 0 ? "" : `billed ${$(n)} (the seat charge)`
2915
+ ].filter(Boolean).join("; "),
2916
+ label: i
2917
+ };
2918
+ }
2919
+ var Yt = (e) => e.replace(/[-\s]\d+$/, "");
2920
+ function Xt(e, t, n) {
2921
+ let r = e.length <= t, i = Zt(e, /* @__PURE__ */ new Set()).filter((e) => e.id.startsWith("family:")).map((e) => e.id);
2922
+ return new Set(i.filter((e) => r !== n.has(e)));
2923
+ }
2924
+ function Zt(e, t) {
2925
+ let n = /* @__PURE__ */ new Map();
2926
+ for (let t of e) {
2927
+ let e = t.parentId === void 0 ? `root:${t.id}` : Yt(t.name);
2928
+ n.set(e, [...n.get(e) ?? [], t]);
2929
+ }
2930
+ let r = [], i = 0, a = (e) => e.tone <= 0 || ++i > 5 ? 0 : 1 + [...Yt(e.name)].reduce((e, t) => e * 31 + t.charCodeAt(0) >>> 0, 0) % 5;
2931
+ for (let [e, i] of n) {
2932
+ if (i.length < 2) {
2933
+ let e = i[0], t = a(e);
2934
+ r.push({
2935
+ ...e,
2936
+ tone: t,
2937
+ own: e.own.map((e) => ({
2938
+ ...e,
2939
+ tone: t
2940
+ }))
2941
+ });
2942
+ continue;
2943
+ }
2944
+ let n = a(i[0]), o = `family:${e}`, s = Math.min(...i.map((e) => e.span.startMs)), c = Math.max(...i.map((e) => e.span.endMs)), l = i.some((e) => Q(e.span)), u = i.map((e) => e.span.costUsd ?? (jt(e.span, "Cost") === void 0 ? e.rollupCostUsd : void 0)).filter((e) => e !== void 0 && Number.isFinite(e)), d = i.filter((e) => e.span.outcome ? e.span.outcome.tone === "failed" : !e.ok).length, f = i.every((e) => e.span.outcome && e.span.outcome.tone === i[0].span.outcome?.tone && !e.span.outcome.ring == !i[0].span.outcome?.ring) ? i[0].span.outcome : void 0, p = i.flatMap((e) => (e.span.facts ?? []).filter(({ label: t }) => [
2945
+ "model",
2946
+ "model calls",
2947
+ "tool calls",
2948
+ "model latency",
2949
+ "failures",
2950
+ "retries"
2951
+ ].includes(t.toLowerCase()) || t.toLowerCase() === "tokens" && ![
2952
+ e.span.promptTokens,
2953
+ e.span.completionTokens,
2954
+ e.span.cachedTokens
2955
+ ].some(Number.isFinite) || t.toLowerCase() === "cost" && u.length === 0)).map(({ label: e }) => ({
2956
+ label: e,
2957
+ value: "Not recorded"
2958
+ }));
2959
+ r.push({
2960
+ costFloor: u.length < i.length || i.some((e) => e.costFloor),
2961
+ id: o,
2962
+ parentId: i[0].parentId,
2963
+ name: e,
2964
+ kind: "pipeline",
2965
+ durationLabel: Nt(c - s),
2966
+ approx: i.some((e) => e.approx),
2967
+ ok: d === 0,
2968
+ depth: 0,
2969
+ hasChildren: !0,
2970
+ tone: n,
2971
+ outcomes: [...new Map(i.map((e) => {
2972
+ let t = e.span.outcome ?? {
2973
+ tone: "neutral",
2974
+ label: "Unknown",
2975
+ ring: !0
2976
+ };
2977
+ return [`${t.label}:${t.tone}:${t.ring}`, t];
2978
+ })).values()],
2979
+ descendants: i.length,
2980
+ segments: [],
2981
+ retry: !1,
2982
+ hasAgents: !1,
2983
+ own: i.flatMap((e, t) => e.own.map((e) => ({
2984
+ ...e,
2985
+ tone: n,
2986
+ alt: t % 2 == 1
2987
+ }))).sort((e, t) => e.startMs - t.startMs),
2988
+ ...u.length ? { rollupCostUsd: u.reduce((e, t) => e + t, 0) } : {},
2989
+ ...Rt(i),
2990
+ span: {
2991
+ id: o,
2992
+ kind: "pipeline",
2993
+ name: e,
2994
+ startMs: s,
2995
+ endMs: c,
2996
+ activityAt: i.flatMap((e) => e.span.activityAt ?? e.own.flatMap((e) => [e.startMs, e.endMs])),
2997
+ status: l ? "running" : d ? "failed" : "done",
2998
+ ...f ? { outcome: f } : {},
2999
+ detail: i.every((e) => e.span.detail === i[0].span.detail) ? i[0].span.detail : void 0,
3000
+ facts: p,
3001
+ meta: {
3002
+ failedAgents: d,
3003
+ costPartial: u.length < i.length,
3004
+ members: i.map((e) => e.id)
3005
+ }
3006
+ }
3007
+ }), t.has(o) && r.push(...i.map((e, t) => ({
3008
+ ...e,
3009
+ family: o,
3010
+ inset: 1,
3011
+ tone: n,
3012
+ own: e.own.map((e) => ({
3013
+ ...e,
3014
+ tone: n,
3015
+ alt: t % 2 == 1
3016
+ }))
3017
+ })));
3018
+ }
3019
+ return r;
3020
+ }
3021
+ function Qt(e) {
3022
+ if (e.id.startsWith("family:")) {
3023
+ let t = Number(e.span.meta?.failedAgents ?? 0);
3024
+ return [`${e.descendants} agents`, ...t ? [`${t} failed`] : []];
3025
+ }
3026
+ if (e.id.startsWith("run:")) {
3027
+ let t = e.own.filter((e) => e.kind === "failed").length;
3028
+ return [t ? `${t} failed` : "all done"];
3029
+ }
3030
+ let t = new Map((e.span.facts ?? []).map(({ label: e, value: t }) => [e.toLowerCase(), t])), n = [[
3031
+ "Model calls",
3032
+ e.counts?.model,
3033
+ "model"
3034
+ ], [
3035
+ "Tool calls",
3036
+ e.counts?.tool,
3037
+ "tool"
3038
+ ]].map(([e, n, r]) => t.has(e.toLowerCase()) ? `${e}: ${t.get(e.toLowerCase())}` : n ? `${n} ${r} ${n === 1 ? "call" : "calls"}` : "");
3039
+ return [e.span.outcome?.label ?? (Q(e.span) ? "running" : e.ok ? e.kind === "pipeline" ? "" : "done" : "failed"), ...n].filter(Boolean);
3040
+ }
3041
+ function $t(e, t, n, r) {
3042
+ let i = Zt(e, n);
3043
+ if (r.size === 0) return i;
3044
+ let a = /* @__PURE__ */ new Map();
3045
+ for (let e of t) e.parentId !== void 0 && r.has(e.parentId) && e.kind !== "pipeline" && a.set(e.parentId, [...a.get(e.parentId) ?? [], e]);
3046
+ return i.flatMap((e) => r.has(e.id) ? [e, ...en(a.get(e.id) ?? []).map((t) => ({
3047
+ ...t,
3048
+ stepOf: e.id,
3049
+ inset: (e.inset ?? 0) + 1,
3050
+ tone: e.tone,
3051
+ own: t.own.map((t) => ({
3052
+ ...t,
3053
+ tone: e.tone
3054
+ }))
3055
+ }))] : [e]);
3056
+ }
3057
+ function en(e) {
3058
+ let t = [];
3059
+ for (let n = 0; n < e.length;) {
3060
+ let r = n;
3061
+ for (; r < e.length && e[r].kind === e[n].kind && e[r].name === e[n].name;) r++;
3062
+ let i = e.slice(n, r);
3063
+ if (i.length < 3) {
3064
+ t.push(...i), n = r;
3065
+ continue;
3066
+ }
3067
+ let a = i[0], o = Math.min(...i.map((e) => e.span.startMs)), s = Math.max(...i.map((e) => e.span.endMs)), c = i.filter((e) => !e.ok).length, l = i.map((e) => e.span.costUsd ?? e.rollupCostUsd).filter((e) => e !== void 0), u = a.kind === "model" ? "model calls" : a.kind === "tool" ? `${a.name} calls` : `${a.name} steps`;
3068
+ t.push({
3069
+ ...a,
3070
+ id: `run:${a.id}`,
3071
+ name: `${i.length} ${u}`,
3072
+ durationLabel: Nt(s - o),
3073
+ ok: c === 0,
3074
+ hasChildren: !1,
3075
+ descendants: 0,
3076
+ segments: [],
3077
+ ...Lt(i),
3078
+ tokens: zt(i),
3079
+ own: i.map((e) => ({
3080
+ ...Bt(e),
3081
+ tone: a.tone
3082
+ })),
3083
+ ...l.length ? { rollupCostUsd: l.reduce((e, t) => e + t, 0) } : {},
3084
+ span: {
3085
+ ...a.span,
3086
+ id: `run:${a.id}`,
3087
+ name: `${i.length} ${u}`,
3088
+ startMs: o,
3089
+ endMs: s,
3090
+ status: c ? "failed" : a.span.status,
3091
+ costUsd: void 0
3092
+ }
3093
+ }), n = r;
3094
+ }
3095
+ return t;
3096
+ }
3097
+ function tn(e, t) {
3098
+ let n = t.find((t) => t.id === e.id);
3099
+ if (n) return n;
3100
+ let r = t.find((t) => (t.span.meta?.members)?.includes(e.id));
3101
+ return r ? {
3102
+ ...e,
3103
+ tone: r.tone
3104
+ } : e;
3105
+ }
3106
+ var nn = (e, t) => jt(e.span, "Cost") ?? (t === void 0 ? "" : `${e.costFloor ? "≥" : ""}${$(t)}`);
3107
+ function rn(e, t) {
3108
+ let n = [...e.span.activityAt ?? e.own.flatMap((e) => [e.startMs, e.endMs])].filter(Number.isFinite).sort((e, t) => e - t), r = n.at(-1) ?? NaN, i = n.slice(1).map((e, t) => e - n[t]).sort((e, t) => e - t), a = Math.floor(i.length / 2), o = i.length ? i.length % 2 ? i[a] : (i[a - 1] + i[a]) / 2 : 0, s = e.span.medianEventGapMs, c = an(r, typeof s == "number" && Number.isFinite(s) && s >= 0 ? s : o, t);
3109
+ return {
3110
+ last: r,
3111
+ ...c,
3112
+ quiet: Q(e.span) && c.quiet
3113
+ };
3114
+ }
3115
+ function an(e, t, n) {
3116
+ let r = Number.isFinite(e) ? Math.max(0, n - e) : 0;
3117
+ return {
3118
+ quietMs: r,
3119
+ quiet: Number.isFinite(e) && r > Math.max(3e5, 3 * t)
3120
+ };
3121
+ }
3122
+ // node_modules/.pnpm/@tangle-network+charts@2.0.17_@xyflow+react@12.12.0_@types+react-dom@19.3.0_@types+reac_8e3190d6d56297d136c67efaea3d6d83/node_modules/@tangle-network/charts/dist/graph-style-fealnLLn.js
3123
+ function on(e) {
3124
+ if (!(e === void 0 || !Number.isFinite(e) || e < 0)) return e === 0 ? "$0" : e < .01 ? `$${e.toFixed(4)}` : `$${e.toFixed(2)}`;
3125
+ }
3126
+ function sn(e) {
3127
+ if (!(e == null || !Number.isFinite(e) || e < 0)) return e < 1e3 ? `${Math.round(e)} tok` : e < 1e6 ? `${(e / 1e3).toFixed(+(e < 1e4))}k tok` : `${(e / 1e6).toFixed(1)}M tok`;
3128
+ }
3129
+ function cn(e, t, n = !1) {
3130
+ if (e == null || !Number.isFinite(e)) return "—";
3131
+ if (n) return new Date(e).toLocaleTimeString([], {
3132
+ hour: "2-digit",
3133
+ minute: "2-digit",
3134
+ hourCycle: "h23"
3135
+ });
3136
+ let r = Math.max(0, Math.floor((t - e) / 1e3));
3137
+ return r < 5 ? "now" : r < 60 ? `${r}s` : r < 3600 ? `${Math.floor(r / 60)}m` : `${Math.floor(r / 3600)}h`;
3138
+ }
3139
+ var ln = /* @__PURE__ */ new Set(), un = Date.now(), dn;
3140
+ function fn() {
3141
+ un = Date.now();
3142
+ for (let e of ln) e();
3143
+ dn = setTimeout(fn, 1e3 - Date.now() % 1e3);
3144
+ }
3145
+ function pn(e) {
3146
+ return ln.add(e), ln.size === 1 && fn(), () => {
3147
+ ln.delete(e), ln.size || clearTimeout(dn);
3148
+ };
3149
+ }
3150
+ var mn = () => () => {};
3151
+ function hn(e) {
3152
+ let t = (0, f.useSyncExternalStore)(e === void 0 ? pn : mn, () => e ?? un, () => e ?? 0);
3153
+ return e ?? t;
3154
+ }
3155
+ var gn = () => typeof matchMedia > "u" ? null : matchMedia("(prefers-reduced-motion: reduce)"), _n = (e) => {
3156
+ let t = gn();
3157
+ return t?.addEventListener("change", e), () => t?.removeEventListener("change", e);
3158
+ };
3159
+ function vn() {
3160
+ return (0, f.useSyncExternalStore)(_n, () => gn()?.matches === !1, () => !1);
3161
+ }
3162
+ function yn(e, t) {
3163
+ if (typeof document > "u") return 0;
3164
+ let n = getComputedStyle(t ?? document.documentElement).getPropertyValue(e).trim();
3165
+ return (parseFloat(n) || 0) * (n.endsWith("ms") ? 1 : 1e3);
3166
+ }
3167
+ var bn = { animation: "tangle-breathe var(--motion-ambient) infinite" };
3168
+ function xn(e) {
3169
+ for (let t of e.currentTarget.getAnimations()) t.animationName === "tangle-breathe" && (t.startTime = 0);
3170
+ }
3171
+ function Sn(e) {
3172
+ let t = Number.isFinite(e.lastActivityAt) && Number.isFinite(e.medianEventGapMs) && e.medianEventGapMs >= 0 ? [] : (e.events ?? []).flatMap((e) => e.at != null && Number.isFinite(e.at) ? [e.at] : []).sort((e, t) => e - t), n = Number.isFinite(e.lastActivityAt) ? e.lastActivityAt : t.at(-1), r = t.slice(1).map((e, n) => e - t[n]).sort((e, t) => e - t), i = Math.floor(r.length / 2);
3173
+ return {
3174
+ lastActivityAt: n,
3175
+ medianEventGapMs: Number.isFinite(e.medianEventGapMs) && e.medianEventGapMs >= 0 ? e.medianEventGapMs : r.length ? r.length % 2 ? r[i] : (r[i - 1] + r[i]) / 2 : 0
3176
+ };
3177
+ }
3178
+ function Cn(e, t) {
3179
+ if (e.status !== "running") return null;
3180
+ let { lastActivityAt: n, medianEventGapMs: r } = Sn(e);
3181
+ if (n == null || !Number.isFinite(n)) return null;
3182
+ let { quietMs: i, quiet: a } = an(n, r, t);
3183
+ return a ? {
3184
+ quietMs: i,
3185
+ label: `Quiet ${Math.floor(i / 6e4)}m`
3186
+ } : null;
3187
+ }
3188
+ function wn(e, t) {
3189
+ let n = vn();
3190
+ (0, f.useEffect)(() => {
3191
+ let r = e.current;
3192
+ if (!r || !n || t !== "needs-you" && t !== "failed") return;
3193
+ let i = Tt(t).token, a = yn("--duration-ambient", r) * (t === "needs-you" ? .45 : .3);
3194
+ r.dataset.attn = t;
3195
+ let o = getComputedStyle(r).boxShadow, s = o === "none" ? "" : `, ${o}`, c = r.animate([{ boxShadow: `0 0 0 0 color-mix(in srgb, var(${i}) 40%, transparent)${s}` }, { boxShadow: `0 0 0 6px transparent${s}` }], {
3196
+ duration: a,
3197
+ iterations: t === "needs-you" ? 2 : 1,
3198
+ easing: getComputedStyle(r).getPropertyValue("--ease-exit").trim() || "ease-out"
3199
+ }), l = setTimeout(() => {
3200
+ delete r.dataset.attn;
3201
+ }, a * (t === "needs-you" ? 2 : 1));
3202
+ return () => {
3203
+ c.cancel(), clearTimeout(l), delete r.dataset.attn;
3204
+ };
3205
+ }, [
3206
+ e,
3207
+ t,
3208
+ n
3209
+ ]);
3210
+ }
3211
+ function Tn(e, t = 2, n = 350) {
3212
+ return e().catch((r) => {
3213
+ if (t <= 0) throw r;
3214
+ return new Promise((r, i) => {
3215
+ setTimeout(() => Tn(e, t - 1, n).then(r, i), n);
3216
+ });
3217
+ });
3218
+ }
3219
+ var En = class extends f.Component {
3220
+ state = { hasError: !1 };
3221
+ static getDerivedStateFromError() {
3222
+ return { hasError: !0 };
3223
+ }
3224
+ render() {
3225
+ return this.state.hasError ? this.props.fallback : this.props.children;
3226
+ }
3227
+ }, Dn;
3228
+ function On() {
3229
+ return Dn ??= import("./elk.bundled-CqF3Dyp2.js").then((t) => /* @__PURE__ */ e(t.default, 1)).then((e) => {
3230
+ let t = e.default;
3231
+ return new t();
3232
+ }).catch(() => null), Dn;
3233
+ }
3234
+ var kn = /* @__PURE__ */ new Set(/* @__PURE__ */ "ai.api.cd.ci.cli.cpu.css.csv.db.dns.gpu.html.http.https.id.io.ip.json.llm.mcp.ml.pr.qa.sdk.sla.sql.ssh.ui.url.uuid.vm.yaml".split("."));
3235
+ function An(e) {
3236
+ return e.replace(/[._\-/]+/g, " ").replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1 $2").trim().split(/\s+/).filter(Boolean);
3237
+ }
3238
+ function jn(e, t = "sentence") {
3239
+ let n = An(e);
3240
+ return n.length === 0 ? e : n.map((e, n) => {
3241
+ let r = e.toLowerCase();
3242
+ if (kn.has(r)) return r.toUpperCase();
3243
+ let i = r.charAt(0).toUpperCase() + r.slice(1);
3244
+ return t === "title" ? i : n > 0 || t === "lower" ? r : i;
3245
+ }).join(" ");
3246
+ }
3247
+ function Mn(e) {
3248
+ let t = e.lastIndexOf("/");
3249
+ return t === -1 ? e : e.slice(t + 1);
3250
+ }
3251
+ function Nn(e) {
3252
+ if (typeof document > "u" || typeof window > "u") return "light";
3253
+ let t = window.getComputedStyle(e ?? document.documentElement).colorScheme;
3254
+ return t.startsWith("dark") ? "dark" : t.startsWith("light") ? "light" : (e ?? document.documentElement).closest(".dark") ? "dark" : "light";
3255
+ }
3256
+ function Pn(e, t) {
3257
+ let [n, r] = (0, f.useState)(() => Nn(null));
3258
+ return (0, f.useLayoutEffect)(() => {
3259
+ let n = t ? e.current : null, i = () => r(Nn(n));
3260
+ i();
3261
+ let a = new MutationObserver(i);
3262
+ for (let e = n ?? document.documentElement; e; e = e.parentElement) a.observe(e, {
3263
+ attributes: !0,
3264
+ attributeFilter: [
3265
+ "class",
3266
+ "data-theme",
3267
+ "data-sandbox-theme",
3268
+ "style"
3269
+ ]
3270
+ });
3271
+ return () => a.disconnect();
3272
+ }, [e, t]), n;
3273
+ }
3274
+ var Fn = {
3275
+ outline: "1px solid hsl(var(--foreground) / .45)",
3276
+ outlineOffset: 2
3277
+ }, In = "inset 0 1px 0 hsl(var(--foreground) / 0.06), 0 1px 3px hsl(var(--shadow-color) / 0.08)", Ln = "hsl(var(--foreground) / 0.14)";
3278
+ function Rn(e) {
3279
+ return e === "failed" || e === "waiting" ? `var(${Tt(e === "waiting" ? "needs-you" : "failed").token})` : "color-mix(in srgb, hsl(var(--muted-foreground)) 80%, transparent)";
3280
+ }
3281
+ // node_modules/.pnpm/@tangle-network+charts@2.0.17_@xyflow+react@12.12.0_@types+react-dom@19.3.0_@types+reac_8e3190d6d56297d136c67efaea3d6d83/node_modules/@tangle-network/charts/dist/latest-events-iiWwpIck.js
3282
+ var zn = {
3283
+ name: "bot",
3284
+ size: 24,
3285
+ node: [
3286
+ ["path", {
3287
+ d: "M12 8V4H8",
3288
+ key: "hb8ula"
3289
+ }],
3290
+ ["rect", {
3291
+ width: "16",
3292
+ height: "12",
3293
+ x: "4",
3294
+ y: "8",
3295
+ rx: "2",
3296
+ key: "enze0r"
3297
+ }],
3298
+ ["path", {
3299
+ d: "M2 14h2",
3300
+ key: "vft8re"
3301
+ }],
3302
+ ["path", {
3303
+ d: "M20 14h2",
3304
+ key: "4cs60a"
3305
+ }],
3306
+ ["path", {
3307
+ d: "M15 13v2",
3308
+ key: "1xurst"
3309
+ }],
3310
+ ["path", {
3311
+ d: "M9 13v2",
3312
+ key: "rq6x2g"
3313
+ }]
3314
+ ]
3315
+ };
3316
+ zn.node;
3317
+ var Bn = Z(zn), Vn = {
3318
+ name: "wrench",
3319
+ size: 24,
3320
+ node: [["path", {
3321
+ d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",
3322
+ key: "1ngwbx"
3323
+ }]]
3324
+ };
3325
+ Vn.node;
3326
+ var Hn = Z(Vn), Un = (0, f.createContext)({}), Wn = Un.Provider;
3327
+ function Gn({ agent: e, layout: t, size: n }) {
3328
+ let { renderAgentMark: r } = (0, f.useContext)(Un);
3329
+ return e && r ? r(e, t, n) : /* @__PURE__ */ (0, d.jsx)(Bn, {
3330
+ size: t === "tree" ? n : 16,
3331
+ "aria-hidden": !0
3332
+ });
3333
+ }
3334
+ function Kn({ tool: e, label: t, size: n }) {
3335
+ let { renderToolMark: r } = (0, f.useContext)(Un);
3336
+ return r ? r(e, t, n) : /* @__PURE__ */ (0, d.jsx)(Hn, {
3337
+ size: n * .4,
3338
+ "aria-hidden": !0
3339
+ });
3340
+ }
3341
+ var qn = {
3342
+ width: 240,
3343
+ height: 88
3344
+ }, Jn = {
3345
+ width: 296,
3346
+ height: 164
3347
+ }, Yn = 10, Xn = 12, Zn = 56, Qn = 24;
3348
+ function $n(e, t) {
3349
+ let n = /* @__PURE__ */ new Set(), r = [];
3350
+ for (let t of e) n.has(t.id) || (n.add(t.id), r.push(t.id));
3351
+ let i = /* @__PURE__ */ new Set(), a = [], o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
3352
+ for (let e of t) {
3353
+ if (e.kind !== "spawn" || e.from === e.to || !n.has(e.from) || !n.has(e.to)) continue;
3354
+ let t = `${e.from}\u0000${e.to}`;
3355
+ i.has(t) || (i.add(t), a.push({
3356
+ from: e.from,
3357
+ to: e.to
3358
+ }), o.set(e.from, [...o.get(e.from) ?? [], e.to]), s.set(e.to, (s.get(e.to) ?? 0) + 1));
3359
+ }
3360
+ let c = [], l = /* @__PURE__ */ new Map();
3361
+ for (let e of r) {
3362
+ let t = (o.get(e) ?? []).filter((e) => !o.has(e) && s.get(e) === 1);
3363
+ if (t.length < 4) continue;
3364
+ let n = `agent-group:${e}`;
3365
+ c.push({
3366
+ id: n,
3367
+ parentId: e,
3368
+ memberIds: t
3369
+ });
3370
+ for (let e of t) l.set(e, n);
3371
+ }
3372
+ return {
3373
+ key: JSON.stringify([r, a.map((e) => [e.from, e.to])]),
3374
+ agentIds: r,
3375
+ spawns: a,
3376
+ groups: c,
3377
+ groupOf: l
3378
+ };
3379
+ }
3380
+ function er(e, t, n, r = !1) {
3381
+ if (r) return {
3382
+ width: n.width + 24,
3383
+ height: 80
3384
+ };
3385
+ let i = Math.max(1, Math.min(t, e)), a = Math.ceil(e / i);
3386
+ return {
3387
+ width: i * n.width + (i - 1) * Yn + 24,
3388
+ height: 80 + a * n.height + (a - 1) * Yn + Xn
3389
+ };
3390
+ }
3391
+ function tr(e, t, n, r) {
3392
+ let i = [], a = new Map(e.groups.map((e) => [e.parentId, e.id]));
3393
+ for (let t of e.agentIds) !e.groupOf.has(t) && !a.has(t) && i.push({
3394
+ id: t,
3395
+ width: n.width,
3396
+ height: n.height
3397
+ });
3398
+ for (let a of e.groups) i.push({
3399
+ id: a.id,
3400
+ ...er(a.memberIds.length, t, n, r.has(a.id))
3401
+ });
3402
+ let o = (t) => e.groupOf.get(t) ?? a.get(t) ?? t, s = /* @__PURE__ */ new Set(), c = [];
3403
+ for (let t of e.spawns) {
3404
+ let e = o(t.from), n = o(t.to), r = `${e}\u0000${n}`;
3405
+ e === n || s.has(r) || (s.add(r), c.push({
3406
+ from: e,
3407
+ to: n
3408
+ }));
3409
+ }
3410
+ return {
3411
+ units: i,
3412
+ links: c
3413
+ };
3414
+ }
3415
+ async function nr(e, t, n) {
3416
+ let r = await On();
3417
+ if (!r) return null;
3418
+ let i = {
3419
+ id: "root",
3420
+ layoutOptions: {
3421
+ "elk.algorithm": "layered",
3422
+ "elk.direction": n === "LR" ? "RIGHT" : "DOWN",
3423
+ "elk.layered.considerModelOrder.strategy": "NODES_AND_EDGES",
3424
+ "elk.layered.nodePlacement.strategy": "BRANDES_KOEPF",
3425
+ "elk.layered.nodePlacement.bk.fixedAlignment": "BALANCED",
3426
+ "elk.layered.spacing.nodeNodeBetweenLayers": String(Zn),
3427
+ "elk.spacing.nodeNode": String(Qn),
3428
+ "elk.spacing.componentComponent": "48",
3429
+ "elk.separateConnectedComponents": "true",
3430
+ "elk.padding": "[top=0,left=0,bottom=0,right=0]"
3431
+ },
3432
+ children: e.map((e) => ({
3433
+ id: e.id,
3434
+ width: e.width,
3435
+ height: e.height
3436
+ })),
3437
+ edges: t.map((e, t) => ({
3438
+ id: `e${t}`,
3439
+ sources: [e.from],
3440
+ targets: [e.to]
3441
+ }))
3442
+ };
3443
+ try {
3444
+ let e = await r.layout(i), t = /* @__PURE__ */ new Map();
3445
+ for (let n of e.children ?? []) t.set(n.id, {
3446
+ x: n.x ?? 0,
3447
+ y: n.y ?? 0
3448
+ });
3449
+ return t;
3450
+ } catch {
3451
+ return null;
3452
+ }
3453
+ }
3454
+ function rr(e, t, n) {
3455
+ let r = /* @__PURE__ */ new Map();
3456
+ for (let e of t) r.set(e.to, [...r.get(e.to) ?? [], e.from]);
3457
+ let i = /* @__PURE__ */ new Map(), a = (e, t) => {
3458
+ let n = i.get(e);
3459
+ if (n !== void 0) return n;
3460
+ if (t.has(e)) return 0;
3461
+ t.add(e);
3462
+ let o = Math.max(-1, ...(r.get(e) ?? []).map((e) => a(e, t))) + 1;
3463
+ return t.delete(e), i.set(e, o), o;
3464
+ }, o = [];
3465
+ for (let t of e) (o[a(t.id, /* @__PURE__ */ new Set())] ??= []).push(t);
3466
+ let s = (e) => n === "TB" ? e.width : e.height, c = (e) => n === "TB" ? e.height : e.width, l = o.map((e) => e.reduce((e, t) => e + s(t), 0) + (e.length - 1) * Qn), u = Math.max(...l), d = /* @__PURE__ */ new Map(), f = 0;
3467
+ return o.forEach((e, t) => {
3468
+ let r = (u - l[t]) / 2;
3469
+ for (let t of e) d.set(t.id, n === "TB" ? {
3470
+ x: r,
3471
+ y: f
3472
+ } : {
3473
+ x: f,
3474
+ y: r
3475
+ }), r += s(t) + Qn;
3476
+ f += Math.max(...e.map(c)) + Zn;
3477
+ }), d;
3478
+ }
3479
+ async function ir(e, t, n, r = qn, i = /* @__PURE__ */ new Set()) {
3480
+ let { units: a, links: o } = tr(e, n, r, i), s = await nr(a, o, t) ?? rr(a, o, t), c = /* @__PURE__ */ new Map(), l = [], u = 0, d = 0;
3481
+ for (let e of a) {
3482
+ let t = s.get(e.id) ?? {
3483
+ x: 0,
3484
+ y: 0
3485
+ };
3486
+ u = Math.max(u, t.x + e.width), d = Math.max(d, t.y + e.height), c.set(e.id, t);
3487
+ }
3488
+ for (let t of e.groups) {
3489
+ let e = c.get(t.id) ?? {
3490
+ x: 0,
3491
+ y: 0
3492
+ };
3493
+ c.delete(t.id);
3494
+ let a = i.has(t.id), o = er(t.memberIds.length, n, r, a);
3495
+ if (l.push({
3496
+ group: t,
3497
+ ...e,
3498
+ ...o,
3499
+ collapsed: a
3500
+ }), c.set(t.parentId, {
3501
+ x: e.x + Xn,
3502
+ y: e.y + 8
3503
+ }), a) continue;
3504
+ let s = Math.max(1, Math.min(n, t.memberIds.length));
3505
+ t.memberIds.forEach((t, n) => {
3506
+ c.set(t, {
3507
+ x: e.x + Xn + n % s * (r.width + Yn),
3508
+ y: e.y + 80 + Math.floor(n / s) * (r.height + Yn)
3509
+ });
3510
+ });
3511
+ }
3512
+ return {
3513
+ columns: n,
3514
+ positions: c,
3515
+ frames: l,
3516
+ width: u,
3517
+ height: d
3518
+ };
3519
+ }
3520
+ function ar({ entry: e, now: t, onSelect: n }) {
3521
+ let r = Tt(e.observed ? e.status : "unknown"), i = cn(e.at, t);
3522
+ return /* @__PURE__ */ (0, d.jsx)("li", { children: /* @__PURE__ */ (0, d.jsxs)("button", {
3523
+ type: "button",
3524
+ disabled: !n,
3525
+ onClick: () => n?.(e),
3526
+ title: e.name + ": " + e.label,
3527
+ children: [
3528
+ /* @__PURE__ */ (0, d.jsx)("span", {
3529
+ className: "ag-latest-dot",
3530
+ style: {
3531
+ background: e.observed ? "var(" + r.token + ")" : "transparent",
3532
+ border: e.observed ? void 0 : "1.5px solid var(" + r.token + ")"
3533
+ },
3534
+ "aria-hidden": !0
3535
+ }),
3536
+ /* @__PURE__ */ (0, d.jsx)("strong", { children: e.name }),
3537
+ e.observed && /* @__PURE__ */ (0, d.jsxs)("span", {
3538
+ className: "ag-latest-state",
3539
+ style: { color: "var(" + r.token + ")" },
3540
+ children: [e.status !== "running" && /* @__PURE__ */ (0, d.jsx)(Et, {
3541
+ status: e.status,
3542
+ size: 14,
3543
+ "aria-hidden": !0
3544
+ }), r.label]
3545
+ }),
3546
+ /* @__PURE__ */ (0, d.jsx)("span", {
3547
+ className: "ag-latest-label",
3548
+ children: e.label
3549
+ }),
3550
+ /* @__PURE__ */ (0, d.jsxs)("time", { children: [
3551
+ e.observed ? "Observed " : "",
3552
+ i,
3553
+ i !== "now" && i !== "—" ? " ago" : ""
3554
+ ] })
3555
+ ]
3556
+ }) });
3557
+ }
3558
+ function or({ agents: e, n: t = 5, now: n, live: r = n === void 0, selectedId: i, onSelect: a }) {
3559
+ let o = hn(n), s = Number.isFinite(t) ? Math.max(1, Math.trunc(t)) : 5, c = (0, f.useMemo)(() => e.flatMap((e) => (e.events ?? []).map((t) => ({
3560
+ id: e.id + ":" + t.id,
3561
+ agentId: e.id,
3562
+ name: e.label,
3563
+ label: t.label,
3564
+ at: t.at,
3565
+ status: e.status
3566
+ }))).sort((e, t) => (Number.isFinite(t.at) ? t.at : -Infinity) - (Number.isFinite(e.at) ? e.at : -Infinity) || e.id.localeCompare(t.id)).slice(0, s), [e, s]), [l, u] = (0, f.useState)(c), [p, m] = (0, f.useState)([]), [h, g] = (0, f.useState)(""), [_, v] = (0, f.useState)(!1), [y, b] = (0, f.useState)(!1), x = _ || y, S = (0, f.useRef)(c), C = (0, f.useRef)(void 0), w = (0, f.useRef)(void 0), T = (0, f.useRef)(/* @__PURE__ */ new Map());
3567
+ S.current = c;
3568
+ let E = (0, f.useRef)(new Map(e.map((e) => [e.id, e.status])));
3569
+ (0, f.useEffect)(() => {
3570
+ let t = e.filter((e) => E.current.has(e.id) && E.current.get(e.id) !== e.status).map((e) => ({
3571
+ id: e.id + ":status:" + o,
3572
+ agentId: e.id,
3573
+ name: e.label,
3574
+ status: e.status,
3575
+ label: e.result ?? e.turn ?? "Status changed",
3576
+ at: o,
3577
+ observed: !0
3578
+ }));
3579
+ if (E.current = new Map(e.map((e) => [e.id, e.status])), !r) {
3580
+ m((e) => e.length ? [] : e), T.current.clear(), clearTimeout(w.current), w.current = void 0;
3581
+ return;
3582
+ }
3583
+ let n = new Set(e.map((e) => e.id));
3584
+ if (m((e) => {
3585
+ let r = [...t, ...e.filter((e) => n.has(e.agentId) && !t.some((t) => t.agentId === e.agentId))].slice(0, s);
3586
+ return !t.length && r.length === e.length ? e : r;
3587
+ }), t.length) {
3588
+ for (let e of t) T.current.set(e.agentId, e.name + ": " + Tt(e.status).label);
3589
+ w.current === void 0 && (w.current = setTimeout(() => {
3590
+ g([...T.current.values()].join("; ")), T.current.clear(), w.current = void 0;
3591
+ }, yn("--duration-ambient")));
3592
+ }
3593
+ }, [
3594
+ e,
3595
+ o,
3596
+ s,
3597
+ r
3598
+ ]), (0, f.useEffect)(() => {
3599
+ i && m((e) => e.filter((e) => e.agentId !== i));
3600
+ }, [i]), (0, f.useEffect)(() => {
3601
+ x ? (clearTimeout(C.current), C.current = void 0) : C.current === void 0 && (C.current = setTimeout(() => {
3602
+ u(S.current), C.current = void 0;
3603
+ }, yn("--duration-ambient") / 2));
3604
+ }, [c, x]), (0, f.useEffect)(() => () => {
3605
+ clearTimeout(C.current), clearTimeout(w.current);
3606
+ }, []);
3607
+ let D = [...p, ...l.filter((e) => !p.some((t) => t.agentId === e.agentId))].slice(0, s), O = (0, f.useRef)(D);
3608
+ (0, f.useLayoutEffect)(() => {
3609
+ x || (O.current = D);
3610
+ }, [D, x]);
3611
+ let k = x ? O.current : D;
3612
+ return /* @__PURE__ */ (0, d.jsxs)("section", {
3613
+ className: "ag-latest",
3614
+ "aria-label": "Latest activity",
3615
+ tabIndex: 0,
3616
+ onPointerEnter: () => v(!0),
3617
+ onPointerLeave: () => v(!1),
3618
+ onFocusCapture: () => b(!0),
3619
+ onBlurCapture: (e) => {
3620
+ e.currentTarget.contains(e.relatedTarget) || b(!1);
3621
+ },
3622
+ children: [
3623
+ /* @__PURE__ */ (0, d.jsxs)("header", { children: [
3624
+ /* @__PURE__ */ (0, d.jsx)("strong", { children: "Latest activity" }),
3625
+ /* @__PURE__ */ (0, d.jsx)("span", { children: x ? "Paused while reading" : "Recorded events · age" }),
3626
+ x && /* @__PURE__ */ (0, d.jsx)("button", {
3627
+ type: "button",
3628
+ onClick: () => {
3629
+ u([...S.current]), O.current = [...p, ...S.current.filter((e) => !p.some((t) => t.agentId === e.agentId))].slice(0, s);
3630
+ },
3631
+ children: "Show latest"
3632
+ })
3633
+ ] }),
3634
+ /* @__PURE__ */ (0, d.jsx)("ol", {
3635
+ tabIndex: 0,
3636
+ "aria-label": "Recorded activity events",
3637
+ children: k.length ? k.map((e) => /* @__PURE__ */ (0, d.jsx)(ar, {
3638
+ entry: e,
3639
+ now: o,
3640
+ onSelect: a ? (e) => {
3641
+ m((t) => t.filter((t) => t.agentId !== e.agentId)), a(e.agentId);
3642
+ } : void 0
3643
+ }, e.id)) : /* @__PURE__ */ (0, d.jsx)("li", {
3644
+ className: "ag-latest-empty",
3645
+ children: "No activity events were reported."
3646
+ })
3647
+ }),
3648
+ /* @__PURE__ */ (0, d.jsx)("span", {
3649
+ className: "sr-only",
3650
+ role: "status",
3651
+ "aria-live": "polite",
3652
+ children: h
3653
+ })
3654
+ ]
3655
+ });
3656
+ }
3657
+ export { kt as $, Et as A, It as B, Mn as C, Pn as D, wn as E, Jt as F, nn as G, Pt as H, Z as I, Ut as J, wt as K, Wt as L, Qt as M, $t as N, vn as O, Kt as P, Tt as Q, Xt as R, Tn as S, yn as T, Nt as U, $ as V, rn as W, At as X, jt as Y, Q as Z, Rn as _, or as a, s as at, sn as b, $n as c, Ln as d, qt as et, In as f, bn as g, Cn as h, Jn as i, u as it, Gt as j, hn as k, ir as l, Sn as m, Gn as n, Dt as nt, Kn as o, a as ot, Fn as p, Vt as q, Wn as r, l as rt, Hn as s, r as st, qn as t, Ht as tt, En as u, on as v, xn as w, jn as x, cn as y, tn as z };