@claudiolabs/claudio 0.1.13 → 0.1.15

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 (610) hide show
  1. package/dist/chunks/AgentTool-0.1.15-aene6e12.mjs +1 -0
  2. package/dist/chunks/App-0.1.15-skbrajfh.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.1.15-zkd425a9.mjs +1 -0
  4. package/dist/chunks/{AssistantSessionChooser-0.1.13-tcg2ckh4.mjs → AssistantSessionChooser-0.1.15-3wyrkte5.mjs} +1 -1
  5. package/dist/chunks/AutoModeOptInDialog-0.1.15-xemnqw1q.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.1.15-51n3nd6r.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.15-g407nd3p.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.1.15-80g71gdg.mjs +1 -0
  9. package/dist/chunks/{DiffDialog-0.1.13-3a9b1b48.mjs → DiffDialog-0.1.15-86m0j64m.mjs} +1 -1
  10. package/dist/chunks/Doctor-0.1.15-9x07ccn6.mjs +1 -0
  11. package/dist/chunks/Grove-0.1.15-jdcp80ev.mjs +1 -0
  12. package/dist/chunks/ITermBackend-0.1.15-ejm7gc8d.mjs +1 -0
  13. package/dist/chunks/{InProcessTransport-0.1.13-k5mkjvww.mjs → InProcessTransport-0.1.15-p32k8qva.mjs} +1 -1
  14. package/dist/chunks/InvalidConfigDialog-0.1.15-rctrbcsm.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.1.15-bjsk3qxm.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.1.15-6x3bjqw1.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.1.15-pqx4v1wq.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.1.15-t8sezf1q.mjs +1 -0
  19. package/dist/chunks/REPL-0.1.15-6e0xrr9y.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.1.15-fm1gvj49.mjs +1 -0
  21. package/dist/chunks/{SnapshotUpdateDialog-0.1.13-has41zv0.mjs → SnapshotUpdateDialog-0.1.15-t3evkrvq.mjs} +1 -1
  22. package/dist/chunks/TeleportProgress-0.1.15-gad6kpfq.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.1.15-00rkfxqs.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.1.15-bwv0syaw.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-0.1.15-0d8n5p59.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-0.1.15-1cemq4m9.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.1.15-srz2xcqx.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.1.15-1fp1bec5.mjs +1 -0
  29. package/dist/chunks/add-dir-0.1.15-qj517xx8.mjs +1 -0
  30. package/dist/chunks/agents-0.1.15-vkekdkan.mjs +3 -0
  31. package/dist/chunks/agents-0.1.15-x18jhwwk.mjs +111 -0
  32. package/dist/chunks/api-0.1.15-jq17qdd8.mjs +1 -0
  33. package/dist/chunks/{asciicast-0.1.13-d6ce2h4r.mjs → asciicast-0.1.15-4t4tanfk.mjs} +1 -1
  34. package/dist/chunks/assistant-0.1.15-9fhfbk14.mjs +1 -0
  35. package/dist/chunks/auth-0.1.15-ddyv63ax.mjs +1 -0
  36. package/dist/chunks/{auth-0.1.13-fwdmg15h.mjs → auth-0.1.15-x6bxj6d1.mjs} +1 -1
  37. package/dist/chunks/{autoMode-0.1.13-4xh49kt4.mjs → autoMode-0.1.15-p9r45wxy.mjs} +1 -1
  38. package/dist/chunks/backgroundHousekeeping-0.1.15-sbv1p8kj.mjs +1 -0
  39. package/dist/chunks/branch-0.1.15-cqq1x0cj.mjs +4 -0
  40. package/dist/chunks/{bridgePointer-0.1.13-s1qw0857.mjs → bridgePointer-0.1.15-p6kq1zz7.mjs} +1 -1
  41. package/dist/chunks/btw-0.1.15-q693ppfr.mjs +1 -0
  42. package/dist/chunks/{buddy-0.1.13-2wvpbqx1.mjs → buddy-0.1.15-vcca6k2p.mjs} +1 -1
  43. package/dist/chunks/cacache-0.1.15-tj6nes3h.mjs +1 -0
  44. package/dist/chunks/{cache-probe-0.1.13-ze8mf958.mjs → cache-probe-0.1.15-dfdjj53r.mjs} +1 -1
  45. package/dist/chunks/{cacheStats-0.1.13-jtrw4rdj.mjs → cacheStats-0.1.15-v9v9y02q.mjs} +1 -1
  46. package/dist/chunks/caches-0.1.15-tynjvd5a.mjs +1 -0
  47. package/dist/chunks/{claudeDesktop-0.1.13-fs8rre9b.mjs → claudeDesktop-0.1.15-rxtx8hbf.mjs} +1 -1
  48. package/dist/chunks/claudemd-0.1.15-s942v7vd.mjs +1 -0
  49. package/dist/chunks/clear-0.1.15-2tqn4fj6.mjs +1 -0
  50. package/dist/chunks/clearTerminal-0.1.15-qycj6c0p.mjs +1 -0
  51. package/dist/chunks/cli-0.1.15-0a38j3t8.mjs +2 -0
  52. package/dist/chunks/{cli-0.1.13-s9fgd2dx.mjs → cli-0.1.15-0g0abv7y.mjs} +2 -2
  53. package/dist/chunks/{cli-0.1.13-gd3nndc7.mjs → cli-0.1.15-11sdbfxy.mjs} +2 -2
  54. package/dist/chunks/cli-0.1.15-12azgmva.mjs +2 -0
  55. package/dist/chunks/cli-0.1.15-1hxkpjgs.mjs +2 -0
  56. package/dist/chunks/cli-0.1.15-1kmf57b0.mjs +2 -0
  57. package/dist/chunks/cli-0.1.15-1nkkhw5c.mjs +2 -0
  58. package/dist/chunks/{cli-0.1.13-2cdtdhek.mjs → cli-0.1.15-20tvdt2s.mjs} +2 -2
  59. package/dist/chunks/{cli-0.1.13-ks4x4cct.mjs → cli-0.1.15-216kns0c.mjs} +2 -2
  60. package/dist/chunks/cli-0.1.15-229xqnrp.mjs +2 -0
  61. package/dist/chunks/{cli-0.1.13-zgnanj3x.mjs → cli-0.1.15-23cavaaa.mjs} +2 -2
  62. package/dist/chunks/{cli-0.1.13-fh5dndvp.mjs → cli-0.1.15-26hkdean.mjs} +919 -915
  63. package/dist/chunks/{cli-0.1.13-fwd5b6q8.mjs → cli-0.1.15-2ccapgj1.mjs} +2 -2
  64. package/dist/chunks/cli-0.1.15-2h647znt.mjs +2 -0
  65. package/dist/chunks/cli-0.1.15-2te4sfkh.mjs +2 -0
  66. package/dist/chunks/{cli-0.1.13-cjmpc9q5.mjs → cli-0.1.15-2vwx57re.mjs} +2 -2
  67. package/dist/chunks/{cli-0.1.13-mkw72mxc.mjs → cli-0.1.15-30tz5ck8.mjs} +2 -2
  68. package/dist/chunks/cli-0.1.15-36pxgzf6.mjs +2 -0
  69. package/dist/chunks/cli-0.1.15-3jz926ax.mjs +2 -0
  70. package/dist/chunks/{cli-0.1.13-3pctg5zc.mjs → cli-0.1.15-3qwnw3ca.mjs} +2 -2
  71. package/dist/chunks/cli-0.1.15-3rcdvk7c.mjs +2 -0
  72. package/dist/chunks/{cli-0.1.13-30j4h365.mjs → cli-0.1.15-3z0tzzs8.mjs} +2 -2
  73. package/dist/chunks/{cli-0.1.13-dag38tkx.mjs → cli-0.1.15-4892kydg.mjs} +5 -5
  74. package/dist/chunks/{cli-0.1.13-13fh0g36.mjs → cli-0.1.15-4fc5wnse.mjs} +2 -2
  75. package/dist/chunks/{cli-0.1.13-b24n1wvw.mjs → cli-0.1.15-4hnhxg2w.mjs} +2 -2
  76. package/dist/chunks/cli-0.1.15-4hzd3m6p.mjs +2 -0
  77. package/dist/chunks/{cli-0.1.13-dak36ez8.mjs → cli-0.1.15-4y7051f2.mjs} +2 -2
  78. package/dist/chunks/{cli-0.1.13-5ydypzty.mjs → cli-0.1.15-5denzf1p.mjs} +3 -3
  79. package/dist/chunks/{cli-0.1.13-p4nz8zmd.mjs → cli-0.1.15-5g0zxgxn.mjs} +2 -2
  80. package/dist/chunks/{cli-0.1.13-3k1n20ra.mjs → cli-0.1.15-5qx5p8cd.mjs} +2 -2
  81. package/dist/chunks/cli-0.1.15-5tz7z79g.mjs +2 -0
  82. package/dist/chunks/{cli-0.1.13-m5c2efjx.mjs → cli-0.1.15-618hqv9f.mjs} +1 -1
  83. package/dist/chunks/{cli-0.1.13-hjqn3n5a.mjs → cli-0.1.15-68f0jtkh.mjs} +2 -2
  84. package/dist/chunks/{cli-0.1.13-pqk4c7m7.mjs → cli-0.1.15-69kq5chw.mjs} +2 -2
  85. package/dist/chunks/{cli-0.1.13-pw5dks39.mjs → cli-0.1.15-6mad0r56.mjs} +2 -2
  86. package/dist/chunks/{cli-0.1.13-bkg3sva7.mjs → cli-0.1.15-6nwbd09n.mjs} +2 -2
  87. package/dist/chunks/{cli-0.1.13-9043n2e8.mjs → cli-0.1.15-6r12ayea.mjs} +2 -2
  88. package/dist/chunks/{cli-0.1.13-0hyneh5t.mjs → cli-0.1.15-6r630k68.mjs} +2 -2
  89. package/dist/chunks/{cli-0.1.13-vn7ckv16.mjs → cli-0.1.15-77346q11.mjs} +2 -2
  90. package/dist/chunks/{cli-0.1.13-fdmvysv0.mjs → cli-0.1.15-7mfwj2xs.mjs} +1 -1
  91. package/dist/chunks/{cli-0.1.13-b40skdsz.mjs → cli-0.1.15-7myqm617.mjs} +2 -2
  92. package/dist/chunks/{cli-0.1.13-hgkwnhwv.mjs → cli-0.1.15-7rr53z40.mjs} +2 -2
  93. package/dist/chunks/cli-0.1.15-7ve9h395.mjs +2 -0
  94. package/dist/chunks/{cli-0.1.13-zm2zgw7m.mjs → cli-0.1.15-82r3zgmq.mjs} +2 -2
  95. package/dist/chunks/cli-0.1.15-8k69z9kk.mjs +2 -0
  96. package/dist/chunks/{cli-0.1.13-p2wyk6z7.mjs → cli-0.1.15-8sgewact.mjs} +3 -3
  97. package/dist/chunks/{cli-0.1.13-g654740k.mjs → cli-0.1.15-8v8bskr0.mjs} +2 -2
  98. package/dist/chunks/{cli-0.1.13-8sszxge2.mjs → cli-0.1.15-90ye3yqx.mjs} +2 -2
  99. package/dist/chunks/cli-0.1.15-99wmm9j7.mjs +2 -0
  100. package/dist/chunks/{cli-0.1.13-1gbn4dgj.mjs → cli-0.1.15-9m2znwvb.mjs} +2 -2
  101. package/dist/chunks/{cli-0.1.13-1g6bgaa6.mjs → cli-0.1.15-9pe3dbgs.mjs} +2 -2
  102. package/dist/chunks/cli-0.1.15-9w140hjt.mjs +2 -0
  103. package/dist/chunks/{cli-0.1.13-jeyjdb2m.mjs → cli-0.1.15-a10ekh15.mjs} +2 -2
  104. package/dist/chunks/{cli-0.1.13-ct9m5223.mjs → cli-0.1.15-a8kgfrkd.mjs} +2 -2
  105. package/dist/chunks/{cli-0.1.13-tknwgkgp.mjs → cli-0.1.15-acdm8b28.mjs} +3 -3
  106. package/dist/chunks/cli-0.1.15-ajg1d1bh.mjs +2 -0
  107. package/dist/chunks/{cli-0.1.13-0xy8k6yv.mjs → cli-0.1.15-asts8hm3.mjs} +2 -2
  108. package/dist/chunks/{cli-0.1.13-apjxy5tn.mjs → cli-0.1.15-b1t6c81s.mjs} +2 -2
  109. package/dist/chunks/cli-0.1.15-b21k5hzy.mjs +2 -0
  110. package/dist/chunks/{cli-0.1.13-x461rxn2.mjs → cli-0.1.15-b6gdqjbg.mjs} +2 -2
  111. package/dist/chunks/cli-0.1.15-b7f6hacc.mjs +2 -0
  112. package/dist/chunks/{cli-0.1.13-hyvpn2ht.mjs → cli-0.1.15-b7p48xfw.mjs} +2 -2
  113. package/dist/chunks/{cli-0.1.13-njvp7vtc.mjs → cli-0.1.15-be4mz6ka.mjs} +2 -2
  114. package/dist/chunks/cli-0.1.15-behp1dag.mjs +2 -0
  115. package/dist/chunks/{cli-0.1.13-8pw4n94k.mjs → cli-0.1.15-bfd337b0.mjs} +2 -2
  116. package/dist/chunks/{cli-0.1.13-dmgp48vg.mjs → cli-0.1.15-bpcmpy8b.mjs} +2 -2
  117. package/dist/chunks/{cli-0.1.13-8snyqhjj.mjs → cli-0.1.15-bz57rf9t.mjs} +2 -2
  118. package/dist/chunks/cli-0.1.15-cbseyggr.mjs +2 -0
  119. package/dist/chunks/{cli-0.1.13-v32xwe08.mjs → cli-0.1.15-cenwnwnx.mjs} +2 -2
  120. package/dist/chunks/{cli-0.1.13-qdtwrf9z.mjs → cli-0.1.15-cf4s92e9.mjs} +2 -2
  121. package/dist/chunks/{cli-0.1.13-s928gjab.mjs → cli-0.1.15-cqzrzsh5.mjs} +3 -3
  122. package/dist/chunks/{cli-0.1.13-v467fj8c.mjs → cli-0.1.15-cr7qy3wd.mjs} +2 -2
  123. package/dist/chunks/cli-0.1.15-cyq0gbzk.mjs +2 -0
  124. package/dist/chunks/{cli-0.1.13-yd536yw4.mjs → cli-0.1.15-d9nfa2yf.mjs} +2 -2
  125. package/dist/chunks/{cli-0.1.13-0zpmhn2j.mjs → cli-0.1.15-dcabmk2v.mjs} +2 -2
  126. package/dist/chunks/{cli-0.1.13-b3xc1r3k.mjs → cli-0.1.15-dcxa8b6s.mjs} +2 -2
  127. package/dist/chunks/{cli-0.1.13-t5w452fj.mjs → cli-0.1.15-dp2e8j4f.mjs} +2 -2
  128. package/dist/chunks/cli-0.1.15-dq954y1q.mjs +2 -0
  129. package/dist/chunks/cli-0.1.15-dqkhbs67.mjs +2 -0
  130. package/dist/chunks/{cli-0.1.13-fzb4yx18.mjs → cli-0.1.15-e2e7hn7p.mjs} +4 -4
  131. package/dist/chunks/cli-0.1.15-e494j2sj.mjs +4 -0
  132. package/dist/chunks/{cli-0.1.13-vj532g9m.mjs → cli-0.1.15-e64w5wan.mjs} +2 -2
  133. package/dist/chunks/{cli-0.1.13-6gmqjyv9.mjs → cli-0.1.15-e70ktyft.mjs} +2 -2
  134. package/dist/chunks/cli-0.1.15-em40knm7.mjs +4 -0
  135. package/dist/chunks/{cli-0.1.13-y7aqqca1.mjs → cli-0.1.15-en9ppdbd.mjs} +2 -2
  136. package/dist/chunks/{cli-0.1.13-9jajvw4r.mjs → cli-0.1.15-f838g4vw.mjs} +2 -2
  137. package/dist/chunks/{cli-0.1.13-d6tr2j76.mjs → cli-0.1.15-f8abjagh.mjs} +2 -2
  138. package/dist/chunks/cli-0.1.15-fe92jeft.mjs +2 -0
  139. package/dist/chunks/{cli-0.1.13-v6z41645.mjs → cli-0.1.15-fmnyh9j9.mjs} +2 -2
  140. package/dist/chunks/{cli-0.1.13-nsbk0w3b.mjs → cli-0.1.15-fr83vs1y.mjs} +2 -2
  141. package/dist/chunks/{cli-0.1.13-rftgy1b8.mjs → cli-0.1.15-ft6xtjsa.mjs} +2 -2
  142. package/dist/chunks/{cli-0.1.13-87xfe2f3.mjs → cli-0.1.15-g5wt8d3g.mjs} +2 -2
  143. package/dist/chunks/{cli-0.1.13-xvvtja1h.mjs → cli-0.1.15-ghvjjc4g.mjs} +2 -2
  144. package/dist/chunks/{cli-0.1.13-579v6j6d.mjs → cli-0.1.15-gkzany0s.mjs} +2 -2
  145. package/dist/chunks/{cli-0.1.13-jz57znb6.mjs → cli-0.1.15-gmdv5ny8.mjs} +2 -2
  146. package/dist/chunks/{cli-0.1.13-1pxg82cx.mjs → cli-0.1.15-gn4wnxx3.mjs} +2 -2
  147. package/dist/chunks/{cli-0.1.13-xde08pkt.mjs → cli-0.1.15-gqf82qvm.mjs} +2 -2
  148. package/dist/chunks/{cli-0.1.13-kzn9sspk.mjs → cli-0.1.15-gqp8kzp0.mjs} +2 -2
  149. package/dist/chunks/{cli-0.1.13-ctjpk124.mjs → cli-0.1.15-gtn9gx9w.mjs} +2 -2
  150. package/dist/chunks/cli-0.1.15-gwbebdj7.mjs +2 -0
  151. package/dist/chunks/{cli-0.1.13-ck28msre.mjs → cli-0.1.15-gxgy4enj.mjs} +2 -2
  152. package/dist/chunks/{cli-0.1.13-saz6qetz.mjs → cli-0.1.15-h3a2cbdb.mjs} +2 -2
  153. package/dist/chunks/{cli-0.1.13-wz7v1tqx.mjs → cli-0.1.15-h4erh2cn.mjs} +2 -2
  154. package/dist/chunks/cli-0.1.15-h7cb0pw7.mjs +2 -0
  155. package/dist/chunks/{cli-0.1.13-mahtf0ay.mjs → cli-0.1.15-htms4w3h.mjs} +2 -2
  156. package/dist/chunks/cli-0.1.15-hyydz4kc.mjs +12 -0
  157. package/dist/chunks/{cli-0.1.13-2vrh3n9y.mjs → cli-0.1.15-j5m3s9r5.mjs} +2 -2
  158. package/dist/chunks/{cli-0.1.13-s6w3ej6f.mjs → cli-0.1.15-jy7cjb23.mjs} +2 -2
  159. package/dist/chunks/{cli-0.1.13-tq3dqmem.mjs → cli-0.1.15-k0bn0cze.mjs} +2 -2
  160. package/dist/chunks/{cli-0.1.13-asrdd8dh.mjs → cli-0.1.15-knpxv22b.mjs} +2 -2
  161. package/dist/chunks/{cli-0.1.13-m61dhxfs.mjs → cli-0.1.15-ks9rz9tk.mjs} +3 -3
  162. package/dist/chunks/{cli-0.1.13-6p0jxfnp.mjs → cli-0.1.15-kw7che8m.mjs} +2 -2
  163. package/dist/chunks/cli-0.1.15-m0v1d1kt.mjs +821 -0
  164. package/dist/chunks/{cli-0.1.13-8gd1x101.mjs → cli-0.1.15-m7gtc61y.mjs} +2 -2
  165. package/dist/chunks/{cli-0.1.13-bj67mp7n.mjs → cli-0.1.15-mhbfhhf6.mjs} +1 -1
  166. package/dist/chunks/cli-0.1.15-my0y22r7.mjs +6 -0
  167. package/dist/chunks/{cli-0.1.13-nc3ce357.mjs → cli-0.1.15-n97y4hq4.mjs} +2 -2
  168. package/dist/chunks/{cli-0.1.13-d8wkcw90.mjs → cli-0.1.15-ncammv2n.mjs} +2 -2
  169. package/dist/chunks/cli-0.1.15-nejf7yqz.mjs +2 -0
  170. package/dist/chunks/{cli-0.1.13-rkaxch5j.mjs → cli-0.1.15-njg0k6ga.mjs} +2 -2
  171. package/dist/chunks/{cli-0.1.13-144gn3fd.mjs → cli-0.1.15-nk50qhet.mjs} +2 -2
  172. package/dist/chunks/{cli-0.1.13-a4xga299.mjs → cli-0.1.15-nkn6jfmb.mjs} +2 -2
  173. package/dist/chunks/cli-0.1.15-nts79xbr.mjs +2 -0
  174. package/dist/chunks/cli-0.1.15-nw94frpp.mjs +2 -0
  175. package/dist/chunks/{cli-0.1.13-2c7g6rpx.mjs → cli-0.1.15-nx5v1cvm.mjs} +2 -2
  176. package/dist/chunks/{cli-0.1.13-0gfnmq08.mjs → cli-0.1.15-p159ga3t.mjs} +2 -2
  177. package/dist/chunks/cli-0.1.15-p47rrzrn.mjs +2 -0
  178. package/dist/chunks/{cli-0.1.13-xv6wh44y.mjs → cli-0.1.15-p5ty029c.mjs} +2 -2
  179. package/dist/chunks/cli-0.1.15-pcqjreq6.mjs +2 -0
  180. package/dist/chunks/{cli-0.1.13-5061js0h.mjs → cli-0.1.15-pxf97j8y.mjs} +2 -2
  181. package/dist/chunks/{cli-0.1.13-wxdmc1dd.mjs → cli-0.1.15-pya8tbx3.mjs} +2 -2
  182. package/dist/chunks/cli-0.1.15-q021qg07.mjs +2 -0
  183. package/dist/chunks/cli-0.1.15-q35rzjnz.mjs +16 -0
  184. package/dist/chunks/{cli-0.1.13-gvz2qezh.mjs → cli-0.1.15-qhz07at6.mjs} +2 -2
  185. package/dist/chunks/cli-0.1.15-qns6xv34.mjs +134 -0
  186. package/dist/chunks/{cli-0.1.13-myd004mr.mjs → cli-0.1.15-r626437v.mjs} +2 -2
  187. package/dist/chunks/{cli-0.1.13-xkdwvsg9.mjs → cli-0.1.15-r8qzzahw.mjs} +2 -2
  188. package/dist/chunks/cli-0.1.15-r9nrfwrq.mjs +2 -0
  189. package/dist/chunks/{cli-0.1.13-fabrrwqa.mjs → cli-0.1.15-rbx47sc3.mjs} +2 -2
  190. package/dist/chunks/{cli-0.1.13-ga4mmwbc.mjs → cli-0.1.15-rq9n4js4.mjs} +2 -2
  191. package/dist/chunks/{cli-0.1.13-wwnez3j0.mjs → cli-0.1.15-rr65b3dk.mjs} +2 -2
  192. package/dist/chunks/cli-0.1.15-rs5swvy0.mjs +4 -0
  193. package/dist/chunks/{cli-0.1.13-h7a36dnk.mjs → cli-0.1.15-rv6zpjh8.mjs} +2 -2
  194. package/dist/chunks/cli-0.1.15-rvtve9kq.mjs +3 -0
  195. package/dist/chunks/cli-0.1.15-rwx8446j.mjs +2 -0
  196. package/dist/chunks/{cli-0.1.13-p625yxtg.mjs → cli-0.1.15-s7trme0x.mjs} +2 -2
  197. package/dist/chunks/{cli-0.1.13-ajsw8n7h.mjs → cli-0.1.15-sct02cw6.mjs} +2 -2
  198. package/dist/chunks/{cli-0.1.13-d85aba8r.mjs → cli-0.1.15-sd5jysf2.mjs} +2 -2
  199. package/dist/chunks/{cli-0.1.13-0p3b9j40.mjs → cli-0.1.15-sg3n1v0w.mjs} +2 -2
  200. package/dist/chunks/{cli-0.1.13-nwt2jc8b.mjs → cli-0.1.15-svhrqvzp.mjs} +2 -2
  201. package/dist/chunks/{cli-0.1.13-8ppsn0an.mjs → cli-0.1.15-tj4kzvth.mjs} +2 -2
  202. package/dist/chunks/cli-0.1.15-tn4214gj.mjs +2 -0
  203. package/dist/chunks/{cli-0.1.13-79vtnprb.mjs → cli-0.1.15-tp614m5f.mjs} +2 -2
  204. package/dist/chunks/{cli-0.1.13-j7796v8f.mjs → cli-0.1.15-twq0mjmr.mjs} +2 -2
  205. package/dist/chunks/{cli-0.1.13-84tbx1nf.mjs → cli-0.1.15-v07ep52w.mjs} +2 -2
  206. package/dist/chunks/cli-0.1.15-v8zwx5j6.mjs +3 -0
  207. package/dist/chunks/{cli-0.1.13-mezw1vk8.mjs → cli-0.1.15-vwb8h4r1.mjs} +2 -2
  208. package/dist/chunks/{cli-0.1.13-vwt4hc0t.mjs → cli-0.1.15-vzk22hwe.mjs} +2 -2
  209. package/dist/chunks/{cli-0.1.13-cyj5snev.mjs → cli-0.1.15-w8q8f37x.mjs} +2 -2
  210. package/dist/chunks/{cli-0.1.13-rjjyq9ej.mjs → cli-0.1.15-wfn10357.mjs} +2 -2
  211. package/dist/chunks/cli-0.1.15-wmwtv0tz.mjs +2 -0
  212. package/dist/chunks/cli-0.1.15-wn40n534.mjs +2 -0
  213. package/dist/chunks/{cli-0.1.13-5j5bg3t2.mjs → cli-0.1.15-x3yhaxm9.mjs} +2 -2
  214. package/dist/chunks/{cli-0.1.13-wh68ve92.mjs → cli-0.1.15-x69hfzmj.mjs} +2 -2
  215. package/dist/chunks/{cli-0.1.13-00qdyz6f.mjs → cli-0.1.15-xaw2s45s.mjs} +2 -2
  216. package/dist/chunks/{cli-0.1.13-ky4z1s1h.mjs → cli-0.1.15-xe4dq144.mjs} +2 -2
  217. package/dist/chunks/{cli-0.1.13-e58n0k16.mjs → cli-0.1.15-xery8c8c.mjs} +2 -2
  218. package/dist/chunks/cli-0.1.15-y2pbhx6p.mjs +2 -0
  219. package/dist/chunks/{cli-0.1.13-5c4fyghf.mjs → cli-0.1.15-y6fkcbes.mjs} +2 -2
  220. package/dist/chunks/cli-0.1.15-y7xkk5ds.mjs +2 -0
  221. package/dist/chunks/cli-0.1.15-yghcqf7h.mjs +2 -0
  222. package/dist/chunks/{cli-0.1.13-w8h6wdez.mjs → cli-0.1.15-yjxhk7qj.mjs} +2 -2
  223. package/dist/chunks/{cli-0.1.13-eh7dqeqt.mjs → cli-0.1.15-ywed2hpz.mjs} +2 -2
  224. package/dist/chunks/{cli-0.1.13-s90a26ca.mjs → cli-0.1.15-yxm6wwfz.mjs} +2 -2
  225. package/dist/chunks/cli-0.1.15-yym7bka2.mjs +2 -0
  226. package/dist/chunks/cli-0.1.15-z2yexprk.mjs +4 -0
  227. package/dist/chunks/{cli-0.1.13-5krmz4nd.mjs → cli-0.1.15-z35x5bfj.mjs} +2 -2
  228. package/dist/chunks/{cli-0.1.13-fz5dm31h.mjs → cli-0.1.15-zap1wk9j.mjs} +2 -2
  229. package/dist/chunks/cli-0.1.15-zf1s8y92.mjs +2 -0
  230. package/dist/chunks/cli-0.1.15-ztxn2vjm.mjs +2 -0
  231. package/dist/chunks/client-0.1.15-pbb4218v.mjs +1 -0
  232. package/dist/chunks/color-0.1.15-w9tvjt51.mjs +1 -0
  233. package/dist/chunks/compact-0.1.15-2a2eywaz.mjs +3 -0
  234. package/dist/chunks/config-0.1.15-m4gwmfb1.mjs +1 -0
  235. package/dist/chunks/config-0.1.15-r15yk3zr.mjs +1 -0
  236. package/dist/chunks/context-0.1.15-ghkedaaw.mjs +1 -0
  237. package/dist/chunks/context-noninteractive-0.1.15-wwa3qz84.mjs +1 -0
  238. package/dist/chunks/conversation-0.1.15-n1bn5vmb.mjs +1 -0
  239. package/dist/chunks/{copy-0.1.13-03jy5tfn.mjs → copy-0.1.15-53q3e2fk.mjs} +1 -1
  240. package/dist/chunks/cost-0.1.15-garxyfxy.mjs +1 -0
  241. package/dist/chunks/createSession-0.1.15-krz8fv09.mjs +1 -0
  242. package/dist/chunks/desktop-0.1.15-j0znhh3a.mjs +1 -0
  243. package/dist/chunks/detectRepository-0.1.15-f34tbbq5.mjs +1 -0
  244. package/dist/chunks/detection-0.1.15-qfkk58tf.mjs +1 -0
  245. package/dist/chunks/diff-0.1.15-gc5686z3.mjs +1 -0
  246. package/dist/chunks/doctor-0.1.15-hhtv9s33.mjs +1 -0
  247. package/dist/chunks/earlyInput-0.1.15-ftgt9y2w.mjs +1 -0
  248. package/dist/chunks/effort-0.1.15-5za6yh63.mjs +8 -0
  249. package/dist/chunks/environmentSelection-0.1.15-59904m5c.mjs +1 -0
  250. package/dist/chunks/environments-0.1.15-fn4ybjrt.mjs +1 -0
  251. package/dist/chunks/exit-0.1.15-qxj6czd5.mjs +1 -0
  252. package/dist/chunks/export-0.1.15-h5n9s624.mjs +2 -0
  253. package/dist/chunks/extra-usage-0.1.15-4a6e6rsa.mjs +1 -0
  254. package/dist/chunks/extra-usage-noninteractive-0.1.15-rgqd9ef7.mjs +1 -0
  255. package/dist/chunks/fast-0.1.15-98jhvjxk.mjs +1 -0
  256. package/dist/chunks/feedback-0.1.15-pqe68x4v.mjs +14 -0
  257. package/dist/chunks/{firstPartyEventLogger-0.1.13-6m3fvkcj.mjs → firstPartyEventLogger-0.1.15-pss0293k.mjs} +1 -1
  258. package/dist/chunks/git-0.1.15-002t17pq.mjs +1 -0
  259. package/dist/chunks/githubModelsCredentials-0.1.15-2a6dqqse.mjs +1 -0
  260. package/dist/chunks/{growthbook-0.1.13-sramqmzv.mjs → growthbook-0.1.15-m7gdvgqa.mjs} +1 -1
  261. package/dist/chunks/{heapdump-0.1.13-3n7hv372.mjs → heapdump-0.1.15-s8h9rwpe.mjs} +1 -1
  262. package/dist/chunks/help-0.1.15-y48dg88b.mjs +1 -0
  263. package/dist/chunks/{hookChains-0.1.13-te9q466p.mjs → hookChains-0.1.15-z46c2xkf.mjs} +2 -2
  264. package/dist/chunks/{hooks-0.1.13-g6kx1mk3.mjs → hooks-0.1.15-f81kq7m2.mjs} +1 -1
  265. package/dist/chunks/hooks-0.1.15-vanat6cg.mjs +1 -0
  266. package/dist/chunks/{ide-0.1.13-ke3v5mb7.mjs → ide-0.1.15-xepj09gj.mjs} +1 -1
  267. package/dist/chunks/image-processor-napi-0.1.15-5w5sybn1.mjs +1 -0
  268. package/dist/chunks/index-0.1.15-0z186jwx.mjs +1 -0
  269. package/dist/chunks/index-0.1.15-136649ke.mjs +1 -0
  270. package/dist/chunks/{index-0.1.13-psynrf7p.mjs → index-0.1.15-15ftbc8a.mjs} +2 -2
  271. package/dist/chunks/index-0.1.15-1r19582s.mjs +1 -0
  272. package/dist/chunks/{index-0.1.13-9meb2pab.mjs → index-0.1.15-3jxezstk.mjs} +1 -1
  273. package/dist/chunks/index-0.1.15-52zxtxf2.mjs +1 -0
  274. package/dist/chunks/{index-0.1.13-tvt8fxrq.mjs → index-0.1.15-628tag5v.mjs} +1 -1
  275. package/dist/chunks/{index-0.1.13-018yhz6j.mjs → index-0.1.15-77j1wp6f.mjs} +1 -1
  276. package/dist/chunks/index-0.1.15-7cp4n6z6.mjs +1 -0
  277. package/dist/chunks/{index-0.1.13-mc5ag4wj.mjs → index-0.1.15-832xm57n.mjs} +1 -1
  278. package/dist/chunks/{index-0.1.13-j9c4bjzh.mjs → index-0.1.15-abzge0fa.mjs} +1 -1
  279. package/dist/chunks/{index-0.1.13-nm8pkj0f.mjs → index-0.1.15-b9sdtjj4.mjs} +2 -2
  280. package/dist/chunks/index-0.1.15-bvr8e4dt.mjs +1 -0
  281. package/dist/chunks/{index-0.1.13-5g9shrc4.mjs → index-0.1.15-d4ea93sj.mjs} +1 -1
  282. package/dist/chunks/{index-0.1.13-c29wq5dx.mjs → index-0.1.15-f1y1067a.mjs} +1 -1
  283. package/dist/chunks/{index-0.1.13-3zjrdjrv.mjs → index-0.1.15-n2q4dkvc.mjs} +1 -1
  284. package/dist/chunks/{index-0.1.13-bc4sh2m1.mjs → index-0.1.15-nzmg6zng.mjs} +1 -1
  285. package/dist/chunks/{index-0.1.13-4cjfx282.mjs → index-0.1.15-r9ck21mp.mjs} +1 -1
  286. package/dist/chunks/index-0.1.15-rb4nqzzk.mjs +1 -0
  287. package/dist/chunks/{index-0.1.13-7c5y7cbf.mjs → index-0.1.15-tf5b20vy.mjs} +1 -1
  288. package/dist/chunks/{index-0.1.13-a06q9ad9.mjs → index-0.1.15-x8ghxne4.mjs} +1 -1
  289. package/dist/chunks/index-0.1.15-z3k5tm3n.mjs +1 -0
  290. package/dist/chunks/initReplBridge-0.1.15-g7q1qemf.mjs +1 -0
  291. package/dist/chunks/ink-0.1.15-rd56fvsx.mjs +1 -0
  292. package/dist/chunks/{insights-0.1.13-t81417ej.mjs → insights-0.1.15-2zt9898j.mjs} +1 -1
  293. package/dist/chunks/install-0.1.15-z6a6aa3t.mjs +1 -0
  294. package/dist/chunks/{install-github-app-0.1.13-yvnx16za.mjs → install-github-app-0.1.15-h746hza3.mjs} +1 -1
  295. package/dist/chunks/install-slack-app-0.1.15-2yhy3kwz.mjs +1 -0
  296. package/dist/chunks/{instrumentation-0.1.13-bvt39wrk.mjs → instrumentation-0.1.15-bwm4tb1y.mjs} +1 -1
  297. package/dist/chunks/interactiveHelpers-0.1.15-z5nx1rw2.mjs +1 -0
  298. package/dist/chunks/keybindings-0.1.15-cxmw2kd4.mjs +2 -0
  299. package/dist/chunks/knowledge-0.1.15-2bnycc4a.mjs +2 -0
  300. package/dist/chunks/loadAgentsDir-0.1.15-e4ms71xe.mjs +1 -0
  301. package/dist/chunks/loadPluginHooks-0.1.15-rcg3267j.mjs +1 -0
  302. package/dist/chunks/lsp-0.1.15-veqrp99h.mjs +1 -0
  303. package/dist/chunks/main-0.1.15-bfvfcwwj.mjs +1 -0
  304. package/dist/chunks/managedEnv-0.1.15-1mxydytg.mjs +1 -0
  305. package/dist/chunks/mcp-0.1.15-rfy9pyrt.mjs +1 -0
  306. package/dist/chunks/{mcp-0.1.13-x9twbpqk.mjs → mcp-0.1.15-tw9s435t.mjs} +3 -3
  307. package/dist/chunks/mcp-0.1.15-zc7h2fyj.mjs +4 -0
  308. package/dist/chunks/mcpServer-0.1.15-t7dsptwh.mjs +1 -0
  309. package/dist/chunks/mcpb-0.1.15-5mam984d.mjs +1 -0
  310. package/dist/chunks/memory-0.1.15-b6zkcs44.mjs +3 -0
  311. package/dist/chunks/{mobile-0.1.13-pzekbte3.mjs → mobile-0.1.15-sm8kbft4.mjs} +1 -1
  312. package/dist/chunks/model-0.1.15-843f7654.mjs +1 -0
  313. package/dist/chunks/model-0.1.15-e62wxf7h.mjs +2 -0
  314. package/dist/chunks/{oauth-0.1.13-bk91rvfd.mjs → oauth-0.1.15-gxgmqwwx.mjs} +1 -1
  315. package/dist/chunks/{openaiShim-0.1.13-c9z5r4zj.mjs → openaiShim-0.1.15-0yryhq9r.mjs} +1 -1
  316. package/dist/chunks/{output-style-0.1.13-c4ah6hc0.mjs → output-style-0.1.15-d20e4vc3.mjs} +1 -1
  317. package/dist/chunks/package-WSP46L7M-0.1.15-jsqef57n.mjs +1 -0
  318. package/dist/chunks/parser-0.1.15-wbja947p.mjs +1 -0
  319. package/dist/chunks/passes-0.1.15-726y1cyq.mjs +1 -0
  320. package/dist/chunks/permissions-0.1.15-4pqgyt4h.mjs +3 -0
  321. package/dist/chunks/plan-0.1.15-p06bpb7x.mjs +1 -0
  322. package/dist/chunks/plist-0.1.15-fseac2c0.mjs +1 -0
  323. package/dist/chunks/plugin-0.1.15-yeqq1san.mjs +29 -0
  324. package/dist/chunks/pluginStartupCheck-0.1.15-s9v7kq6q.mjs +1 -0
  325. package/dist/chunks/{plugins-0.1.13-1nvjxkbc.mjs → plugins-0.1.15-3rpwr86v.mjs} +2 -2
  326. package/dist/chunks/{print-0.1.13-g2dmfpmq.mjs → print-0.1.15-64y2p7wj.mjs} +4 -4
  327. package/dist/chunks/privacy-settings-0.1.15-rq35tcyk.mjs +1 -0
  328. package/dist/chunks/{process-0.1.13-ycxbd26n.mjs → process-0.1.15-g6km3z8k.mjs} +1 -1
  329. package/dist/chunks/processBashCommand-0.1.15-57ga0c30.mjs +1 -0
  330. package/dist/chunks/{processSlashCommand-0.1.13-16gwwvqz.mjs → processSlashCommand-0.1.15-mee2mbyy.mjs} +1 -1
  331. package/dist/chunks/prompt-0.1.15-gm20yk5m.mjs +1 -0
  332. package/dist/chunks/prompt-0.1.15-gxjy2vnc.mjs +1 -0
  333. package/dist/chunks/prompts-0.1.15-v7p366n5.mjs +1 -0
  334. package/dist/chunks/provider-0.1.15-gz0fhpp7.mjs +2 -0
  335. package/dist/chunks/providerProfiles-0.1.15-v7p3m9kf.mjs +1 -0
  336. package/dist/chunks/rate-limit-options-0.1.15-3vs25v7e.mjs +1 -0
  337. package/dist/chunks/registry-0.1.15-3h7bxrc2.mjs +1 -0
  338. package/dist/chunks/release-notes-0.1.15-1g908440.mjs +5 -0
  339. package/dist/chunks/reload-plugins-0.1.15-5r2acf43.mjs +2 -0
  340. package/dist/chunks/remote-env-0.1.15-fd5z1adp.mjs +1 -0
  341. package/dist/chunks/remoteBridgeCore-0.1.15-kbthngek.mjs +1 -0
  342. package/dist/chunks/remoteSession-0.1.15-yrg8c3z1.mjs +1 -0
  343. package/dist/chunks/rename-0.1.15-8079z5ff.mjs +1 -0
  344. package/dist/chunks/replBridgeHandle-0.1.15-cz1pf5m3.mjs +1 -0
  345. package/dist/chunks/resume-0.1.15-s4hv4t9y.mjs +2 -0
  346. package/dist/chunks/{rewind-0.1.13-zxcfrje2.mjs → rewind-0.1.15-fevxgefp.mjs} +1 -1
  347. package/dist/chunks/sandbox-adapter-0.1.15-yra7frkv.mjs +1 -0
  348. package/dist/chunks/sandbox-toggle-0.1.15-fn86ac4p.mjs +1 -0
  349. package/dist/chunks/session-0.1.15-crg226x4.mjs +2 -0
  350. package/dist/chunks/sessionFileAccessHooks-0.1.15-f3kpf3s7.mjs +1 -0
  351. package/dist/chunks/sessionStorage-0.1.15-x0gw4hbz.mjs +1 -0
  352. package/dist/chunks/setup-0.1.15-6znmc2q6.mjs +5 -0
  353. package/dist/chunks/sinks-0.1.15-npqf68gv.mjs +1 -0
  354. package/dist/chunks/skills-0.1.15-sybv0v2p.mjs +1 -0
  355. package/dist/chunks/startupProfiler-0.1.15-nwkwwtx6.mjs +1 -0
  356. package/dist/chunks/state-0.1.15-rr5k0vbf.mjs +1 -0
  357. package/dist/chunks/{stats-0.1.13-yrtt99gr.mjs → stats-0.1.15-3c4f5zp4.mjs} +1 -1
  358. package/dist/chunks/status-0.1.15-cvscafrs.mjs +1 -0
  359. package/dist/chunks/stickers-0.1.15-ee8ptkd4.mjs +1 -0
  360. package/dist/chunks/subprocessEnv-0.1.15-330g0p7g.mjs +1 -0
  361. package/dist/chunks/tasks-0.1.15-a4y42df2.mjs +1 -0
  362. package/dist/chunks/teamHelpers-0.1.15-gw6hwmyj.mjs +1 -0
  363. package/dist/chunks/teammateModeSnapshot-0.1.15-t2czx776.mjs +1 -0
  364. package/dist/chunks/teleport-0.1.15-bg434zjk.mjs +1 -0
  365. package/dist/chunks/terminalSetup-0.1.15-ged9eavp.mjs +1 -0
  366. package/dist/chunks/theme-0.1.15-zq998m8x.mjs +1 -0
  367. package/dist/chunks/thinkback-0.1.15-g09k62ck.mjs +1 -0
  368. package/dist/chunks/thinkback-play-0.1.15-mn7j6mm2.mjs +1 -0
  369. package/dist/chunks/toolPool-0.1.15-wej7eaff.mjs +1 -0
  370. package/dist/chunks/toolSearch-0.1.15-v6zmdk1y.mjs +1 -0
  371. package/dist/chunks/trustedDevice-0.1.15-t9sax8yq.mjs +1 -0
  372. package/dist/chunks/{turndown.cjs-0.1.13-2wbn8j6y.mjs → turndown.cjs-0.1.15-pmxpe7z8.mjs} +1 -1
  373. package/dist/chunks/{ultrareviewCommand-0.1.13-sj6asgpk.mjs → ultrareviewCommand-0.1.15-3gjgaeyn.mjs} +1 -1
  374. package/dist/chunks/{update-0.1.13-sx7hc0kj.mjs → update-0.1.15-jtd1h3e7.mjs} +11 -11
  375. package/dist/chunks/upgrade-0.1.15-07pcdyyq.mjs +1 -0
  376. package/dist/chunks/{upstreamproxy-0.1.13-pwxv6kww.mjs → upstreamproxy-0.1.15-wtbs40ct.mjs} +1 -1
  377. package/dist/chunks/usage-0.1.15-ayne7pw6.mjs +1 -0
  378. package/dist/chunks/util-0.1.15-vs1eanbw.mjs +1 -0
  379. package/dist/chunks/utils-0.1.15-aq7vgwy1.mjs +1 -0
  380. package/dist/chunks/vim-0.1.15-syferjfa.mjs +1 -0
  381. package/dist/chunks/watcher-0.1.15-bh7ych8a.mjs +1 -0
  382. package/dist/chunks/{wiki-0.1.13-regg8ff2.mjs → wiki-0.1.15-pp951r9h.mjs} +1 -1
  383. package/dist/chunks/worktree-0.1.15-twyfdw3p.mjs +1 -0
  384. package/dist/chunks/worktreeModeEnabled-0.1.15-afv7sbw1.mjs +1 -0
  385. package/dist/chunks/{wrapper-0.1.13-8nsef109.mjs → wrapper-0.1.15-dw3awx2b.mjs} +1 -1
  386. package/dist/claudio-vscode.vsix +0 -0
  387. package/dist/cli.mjs +5 -5
  388. package/package.json +1 -1
  389. package/dist/chunks/AgentTool-0.1.13-yacqe6gs.mjs +0 -1
  390. package/dist/chunks/App-0.1.13-45tpe56w.mjs +0 -1
  391. package/dist/chunks/ApproveApiKey-0.1.13-rvk3ghpz.mjs +0 -1
  392. package/dist/chunks/AutoModeOptInDialog-0.1.13-4qkeekab.mjs +0 -1
  393. package/dist/chunks/BypassPermissionsModeDialog-0.1.13-wpjjxqtw.mjs +0 -1
  394. package/dist/chunks/ClaudeInChromeOnboarding-0.1.13-k8349mz5.mjs +0 -1
  395. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.13-jg36gq05.mjs +0 -1
  396. package/dist/chunks/ConsoleOAuthFlow-0.1.13-svk1vdbj.mjs +0 -1
  397. package/dist/chunks/Doctor-0.1.13-zktnx7ce.mjs +0 -1
  398. package/dist/chunks/Grove-0.1.13-1hnmb7jn.mjs +0 -1
  399. package/dist/chunks/ITermBackend-0.1.13-esbr21j4.mjs +0 -1
  400. package/dist/chunks/InvalidConfigDialog-0.1.13-7wr7g7vx.mjs +0 -1
  401. package/dist/chunks/InvalidSettingsDialog-0.1.13-j8t2pnak.mjs +0 -1
  402. package/dist/chunks/MigrationDialog-0.1.13-jd2k6vk6.mjs +0 -1
  403. package/dist/chunks/Onboarding-0.1.13-j8d7hwbe.mjs +0 -1
  404. package/dist/chunks/ProviderManager-0.1.13-qcfa4ppx.mjs +0 -1
  405. package/dist/chunks/REPL-0.1.13-zpcaf2zq.mjs +0 -1
  406. package/dist/chunks/ResumeConversation-0.1.13-nwwjp69z.mjs +0 -1
  407. package/dist/chunks/TeleportProgress-0.1.13-ssgexm6r.mjs +0 -1
  408. package/dist/chunks/TeleportRepoMismatchDialog-0.1.13-r95sr8bp.mjs +0 -1
  409. package/dist/chunks/TeleportResumeWrapper-0.1.13-1qxft9es.mjs +0 -1
  410. package/dist/chunks/TmuxBackend-0.1.13-jf14wbka.mjs +0 -9
  411. package/dist/chunks/ToolSearchTool-0.1.13-xzmz0wz4.mjs +0 -1
  412. package/dist/chunks/TrustDialog-0.1.13-pegd35qh.mjs +0 -1
  413. package/dist/chunks/activeProvider-0.1.13-n3mrppkb.mjs +0 -1
  414. package/dist/chunks/add-dir-0.1.13-3zm44vdy.mjs +0 -1
  415. package/dist/chunks/agents-0.1.13-a0aj4df9.mjs +0 -111
  416. package/dist/chunks/agents-0.1.13-phdd6357.mjs +0 -3
  417. package/dist/chunks/api-0.1.13-vmdan95h.mjs +0 -1
  418. package/dist/chunks/assistant-0.1.13-y9yer51w.mjs +0 -1
  419. package/dist/chunks/auth-0.1.13-gw7n7j0w.mjs +0 -1
  420. package/dist/chunks/backgroundHousekeeping-0.1.13-tagm38w5.mjs +0 -1
  421. package/dist/chunks/branch-0.1.13-hjmxvn3n.mjs +0 -4
  422. package/dist/chunks/btw-0.1.13-ggywf7w1.mjs +0 -1
  423. package/dist/chunks/cacache-0.1.13-sy5bqn6j.mjs +0 -1
  424. package/dist/chunks/caches-0.1.13-0swwryxr.mjs +0 -1
  425. package/dist/chunks/chrome-0.1.13-ztyyyz4s.mjs +0 -1
  426. package/dist/chunks/chromeNativeHost-0.1.13-96ex7t46.mjs +0 -2
  427. package/dist/chunks/claude-for-chrome-mcp-0.1.13-6hy7w25p.mjs +0 -1
  428. package/dist/chunks/claudemd-0.1.13-942nfe7r.mjs +0 -1
  429. package/dist/chunks/clear-0.1.13-zge2t5n9.mjs +0 -1
  430. package/dist/chunks/clearTerminal-0.1.13-b5v1edw2.mjs +0 -1
  431. package/dist/chunks/cli-0.1.13-0b728dvh.mjs +0 -2
  432. package/dist/chunks/cli-0.1.13-0gyt273r.mjs +0 -2
  433. package/dist/chunks/cli-0.1.13-1hw65avy.mjs +0 -2
  434. package/dist/chunks/cli-0.1.13-1y21vq1h.mjs +0 -2
  435. package/dist/chunks/cli-0.1.13-2sx61wcx.mjs +0 -2
  436. package/dist/chunks/cli-0.1.13-3rr4fg79.mjs +0 -2
  437. package/dist/chunks/cli-0.1.13-45hjhcbc.mjs +0 -2
  438. package/dist/chunks/cli-0.1.13-4prgqshq.mjs +0 -2
  439. package/dist/chunks/cli-0.1.13-52f40ba4.mjs +0 -2
  440. package/dist/chunks/cli-0.1.13-5b7hgn91.mjs +0 -2
  441. package/dist/chunks/cli-0.1.13-5d4ke9a2.mjs +0 -4
  442. package/dist/chunks/cli-0.1.13-5rnhv49w.mjs +0 -2
  443. package/dist/chunks/cli-0.1.13-5s4m8qj9.mjs +0 -100
  444. package/dist/chunks/cli-0.1.13-6q3wa261.mjs +0 -2
  445. package/dist/chunks/cli-0.1.13-73w3wbmf.mjs +0 -3
  446. package/dist/chunks/cli-0.1.13-73yztj5x.mjs +0 -10
  447. package/dist/chunks/cli-0.1.13-85w0nxy9.mjs +0 -2
  448. package/dist/chunks/cli-0.1.13-91b1h8ww.mjs +0 -2
  449. package/dist/chunks/cli-0.1.13-9a1hzdsv.mjs +0 -2
  450. package/dist/chunks/cli-0.1.13-bzgpcgdt.mjs +0 -16
  451. package/dist/chunks/cli-0.1.13-c5b4ygdq.mjs +0 -2
  452. package/dist/chunks/cli-0.1.13-crcgrfse.mjs +0 -2
  453. package/dist/chunks/cli-0.1.13-d66pryf3.mjs +0 -2
  454. package/dist/chunks/cli-0.1.13-dgw8xfv1.mjs +0 -2
  455. package/dist/chunks/cli-0.1.13-f6gfa426.mjs +0 -2
  456. package/dist/chunks/cli-0.1.13-ft5k86va.mjs +0 -2
  457. package/dist/chunks/cli-0.1.13-g2v4avcv.mjs +0 -2
  458. package/dist/chunks/cli-0.1.13-gtgqh4bn.mjs +0 -2
  459. package/dist/chunks/cli-0.1.13-h3vb5402.mjs +0 -2
  460. package/dist/chunks/cli-0.1.13-hzdj03rn.mjs +0 -2
  461. package/dist/chunks/cli-0.1.13-jakv6e7b.mjs +0 -2
  462. package/dist/chunks/cli-0.1.13-m5aaczvd.mjs +0 -2
  463. package/dist/chunks/cli-0.1.13-mywk7e49.mjs +0 -134
  464. package/dist/chunks/cli-0.1.13-n1tj5bdc.mjs +0 -2
  465. package/dist/chunks/cli-0.1.13-n31sw1c8.mjs +0 -2
  466. package/dist/chunks/cli-0.1.13-nc8ww3rn.mjs +0 -6
  467. package/dist/chunks/cli-0.1.13-p00rtvrc.mjs +0 -2
  468. package/dist/chunks/cli-0.1.13-p84ry3q5.mjs +0 -2
  469. package/dist/chunks/cli-0.1.13-q93vqpjh.mjs +0 -833
  470. package/dist/chunks/cli-0.1.13-qxtrzerx.mjs +0 -2
  471. package/dist/chunks/cli-0.1.13-r09724ac.mjs +0 -2
  472. package/dist/chunks/cli-0.1.13-sgxk7d0h.mjs +0 -2
  473. package/dist/chunks/cli-0.1.13-sr9axhrw.mjs +0 -2
  474. package/dist/chunks/cli-0.1.13-ss1k5gqk.mjs +0 -3
  475. package/dist/chunks/cli-0.1.13-ssgwnxc5.mjs +0 -4
  476. package/dist/chunks/cli-0.1.13-t1zx7s60.mjs +0 -2
  477. package/dist/chunks/cli-0.1.13-t34z5r3c.mjs +0 -2
  478. package/dist/chunks/cli-0.1.13-v1b9yhsy.mjs +0 -2
  479. package/dist/chunks/cli-0.1.13-v56n2wqm.mjs +0 -2
  480. package/dist/chunks/cli-0.1.13-vdz792pb.mjs +0 -2
  481. package/dist/chunks/cli-0.1.13-w08qr05m.mjs +0 -2
  482. package/dist/chunks/cli-0.1.13-wpsqhe6v.mjs +0 -4
  483. package/dist/chunks/cli-0.1.13-wr0c9hyh.mjs +0 -4
  484. package/dist/chunks/cli-0.1.13-x3zt8q8r.mjs +0 -2
  485. package/dist/chunks/cli-0.1.13-x4n4my99.mjs +0 -2
  486. package/dist/chunks/cli-0.1.13-xwkys72y.mjs +0 -12
  487. package/dist/chunks/cli-0.1.13-y3aj3amr.mjs +0 -4
  488. package/dist/chunks/cli-0.1.13-y3e5jkh7.mjs +0 -2
  489. package/dist/chunks/cli-0.1.13-yeb03vme.mjs +0 -2
  490. package/dist/chunks/cli-0.1.13-yhe2a0cx.mjs +0 -2
  491. package/dist/chunks/cli-0.1.13-yrvakyyp.mjs +0 -2
  492. package/dist/chunks/cli-0.1.13-z0jm6xd0.mjs +0 -2
  493. package/dist/chunks/cli-0.1.13-z387wpj9.mjs +0 -2
  494. package/dist/chunks/cli-0.1.13-zmft0mps.mjs +0 -2
  495. package/dist/chunks/client-0.1.13-mbp3h3fc.mjs +0 -1
  496. package/dist/chunks/color-0.1.13-p7kzn9d4.mjs +0 -1
  497. package/dist/chunks/compact-0.1.13-603r2t03.mjs +0 -3
  498. package/dist/chunks/config-0.1.13-fn4hrgp2.mjs +0 -1
  499. package/dist/chunks/config-0.1.13-q8fcew9w.mjs +0 -1
  500. package/dist/chunks/context-0.1.13-5fz212w3.mjs +0 -1
  501. package/dist/chunks/context-noninteractive-0.1.13-fjn2461g.mjs +0 -1
  502. package/dist/chunks/conversation-0.1.13-zjqxzcfr.mjs +0 -1
  503. package/dist/chunks/cost-0.1.13-zch21h6x.mjs +0 -1
  504. package/dist/chunks/createSession-0.1.13-mh3jt0b0.mjs +0 -1
  505. package/dist/chunks/desktop-0.1.13-w51djw8z.mjs +0 -1
  506. package/dist/chunks/detectRepository-0.1.13-5tt2922a.mjs +0 -1
  507. package/dist/chunks/detection-0.1.13-k001d88v.mjs +0 -1
  508. package/dist/chunks/diff-0.1.13-vz7x7nm3.mjs +0 -1
  509. package/dist/chunks/doctor-0.1.13-egkgh28s.mjs +0 -1
  510. package/dist/chunks/earlyInput-0.1.13-tpq0qmw0.mjs +0 -1
  511. package/dist/chunks/effort-0.1.13-11mfjfnb.mjs +0 -8
  512. package/dist/chunks/environmentSelection-0.1.13-8fagqvgw.mjs +0 -1
  513. package/dist/chunks/environments-0.1.13-x1xw45es.mjs +0 -1
  514. package/dist/chunks/exit-0.1.13-3m34eg2x.mjs +0 -1
  515. package/dist/chunks/export-0.1.13-sq3jk66f.mjs +0 -2
  516. package/dist/chunks/extra-usage-0.1.13-dh2sxr12.mjs +0 -1
  517. package/dist/chunks/extra-usage-noninteractive-0.1.13-7yfmamd2.mjs +0 -1
  518. package/dist/chunks/fast-0.1.13-w1sk95j2.mjs +0 -1
  519. package/dist/chunks/feedback-0.1.13-ewxaenqk.mjs +0 -14
  520. package/dist/chunks/git-0.1.13-2rp45xgd.mjs +0 -1
  521. package/dist/chunks/githubModelsCredentials-0.1.13-e9c7cay9.mjs +0 -1
  522. package/dist/chunks/help-0.1.13-knrgw1dq.mjs +0 -1
  523. package/dist/chunks/hooks-0.1.13-1cp6zhk0.mjs +0 -1
  524. package/dist/chunks/image-processor-napi-0.1.13-h7fg935p.mjs +0 -1
  525. package/dist/chunks/index-0.1.13-0z5ns7r2.mjs +0 -1
  526. package/dist/chunks/index-0.1.13-1y9cm2x6.mjs +0 -1
  527. package/dist/chunks/index-0.1.13-7fm7tk25.mjs +0 -1
  528. package/dist/chunks/index-0.1.13-98j8cxkv.mjs +0 -1
  529. package/dist/chunks/index-0.1.13-h2mpm4c0.mjs +0 -1
  530. package/dist/chunks/index-0.1.13-h4wytk4z.mjs +0 -1
  531. package/dist/chunks/index-0.1.13-m9m61529.mjs +0 -1
  532. package/dist/chunks/index-0.1.13-qjt3h799.mjs +0 -1
  533. package/dist/chunks/initReplBridge-0.1.13-cd8avwfa.mjs +0 -1
  534. package/dist/chunks/ink-0.1.13-8ga6a1ny.mjs +0 -1
  535. package/dist/chunks/install-0.1.13-1bq7fwkd.mjs +0 -1
  536. package/dist/chunks/install-slack-app-0.1.13-2a6ydfjg.mjs +0 -1
  537. package/dist/chunks/interactiveHelpers-0.1.13-p29payqv.mjs +0 -1
  538. package/dist/chunks/keybindings-0.1.13-nr2he9m8.mjs +0 -2
  539. package/dist/chunks/knowledge-0.1.13-9a2md3fm.mjs +0 -2
  540. package/dist/chunks/loadAgentsDir-0.1.13-jmqfw7w4.mjs +0 -1
  541. package/dist/chunks/loadPluginHooks-0.1.13-qagn7gmw.mjs +0 -1
  542. package/dist/chunks/logout-0.1.13-d6ghx6h9.mjs +0 -1
  543. package/dist/chunks/lsp-0.1.13-q6xr2am5.mjs +0 -1
  544. package/dist/chunks/main-0.1.13-e5tbkphz.mjs +0 -1
  545. package/dist/chunks/managedEnv-0.1.13-n073hj5h.mjs +0 -1
  546. package/dist/chunks/mcp-0.1.13-0bw6qtwy.mjs +0 -4
  547. package/dist/chunks/mcp-0.1.13-1kaxfeey.mjs +0 -1
  548. package/dist/chunks/mcpServer-0.1.13-jf5dhyys.mjs +0 -1
  549. package/dist/chunks/mcpb-0.1.13-e55321kr.mjs +0 -1
  550. package/dist/chunks/memory-0.1.13-qwtbe97v.mjs +0 -3
  551. package/dist/chunks/model-0.1.13-a42465ep.mjs +0 -1
  552. package/dist/chunks/model-0.1.13-mqqrpy8m.mjs +0 -2
  553. package/dist/chunks/package-WSP46L7M-0.1.13-sme2jxpt.mjs +0 -1
  554. package/dist/chunks/parser-0.1.13-mm8j9rwt.mjs +0 -1
  555. package/dist/chunks/passes-0.1.13-bcbvjdzs.mjs +0 -1
  556. package/dist/chunks/permissions-0.1.13-c03934ka.mjs +0 -3
  557. package/dist/chunks/plan-0.1.13-fgs4vbwk.mjs +0 -1
  558. package/dist/chunks/plist-0.1.13-f3bfg2tf.mjs +0 -1
  559. package/dist/chunks/plugin-0.1.13-p5aqty2y.mjs +0 -29
  560. package/dist/chunks/pluginStartupCheck-0.1.13-f8tcmc9s.mjs +0 -1
  561. package/dist/chunks/privacy-settings-0.1.13-xkaezd0n.mjs +0 -1
  562. package/dist/chunks/processBashCommand-0.1.13-x4ggp1t8.mjs +0 -1
  563. package/dist/chunks/prompt-0.1.13-j0tnske2.mjs +0 -1
  564. package/dist/chunks/prompt-0.1.13-mdxfbbqp.mjs +0 -1
  565. package/dist/chunks/prompts-0.1.13-gtp7vnge.mjs +0 -1
  566. package/dist/chunks/provider-0.1.13-e9ayet7n.mjs +0 -2
  567. package/dist/chunks/providerProfiles-0.1.13-y9gs55qq.mjs +0 -1
  568. package/dist/chunks/rate-limit-options-0.1.13-va0322ws.mjs +0 -1
  569. package/dist/chunks/registry-0.1.13-e33aasxk.mjs +0 -1
  570. package/dist/chunks/release-notes-0.1.13-jmkp5g6h.mjs +0 -5
  571. package/dist/chunks/reload-plugins-0.1.13-0p5x4cr9.mjs +0 -2
  572. package/dist/chunks/remote-env-0.1.13-d7evw9tc.mjs +0 -1
  573. package/dist/chunks/remoteBridgeCore-0.1.13-sq5rr5x0.mjs +0 -1
  574. package/dist/chunks/remoteSession-0.1.13-zjhajyna.mjs +0 -1
  575. package/dist/chunks/rename-0.1.13-t30c4tx9.mjs +0 -1
  576. package/dist/chunks/replBridgeHandle-0.1.13-38jvakp0.mjs +0 -1
  577. package/dist/chunks/resume-0.1.13-ta7t0vbz.mjs +0 -2
  578. package/dist/chunks/sandbox-adapter-0.1.13-x04v4bxn.mjs +0 -1
  579. package/dist/chunks/sandbox-toggle-0.1.13-w0p8r4ta.mjs +0 -1
  580. package/dist/chunks/session-0.1.13-cjn060z1.mjs +0 -2
  581. package/dist/chunks/sessionFileAccessHooks-0.1.13-mr3y5jpc.mjs +0 -1
  582. package/dist/chunks/sessionStorage-0.1.13-8gahjm86.mjs +0 -1
  583. package/dist/chunks/setup-0.1.13-ap9dpanw.mjs +0 -5
  584. package/dist/chunks/sinks-0.1.13-r13nv1fw.mjs +0 -1
  585. package/dist/chunks/skills-0.1.13-jd5g0cex.mjs +0 -1
  586. package/dist/chunks/startupProfiler-0.1.13-d4g7sykt.mjs +0 -1
  587. package/dist/chunks/state-0.1.13-cv8jd04r.mjs +0 -1
  588. package/dist/chunks/status-0.1.13-4x7h3dec.mjs +0 -1
  589. package/dist/chunks/stickers-0.1.13-8szx17mh.mjs +0 -1
  590. package/dist/chunks/subprocessEnv-0.1.13-9asfa8pp.mjs +0 -1
  591. package/dist/chunks/tasks-0.1.13-dsy415kp.mjs +0 -1
  592. package/dist/chunks/teamHelpers-0.1.13-z4fpbggy.mjs +0 -1
  593. package/dist/chunks/teammateModeSnapshot-0.1.13-cc6scthx.mjs +0 -1
  594. package/dist/chunks/teleport-0.1.13-gx6zbjr3.mjs +0 -1
  595. package/dist/chunks/terminalSetup-0.1.13-wmg8wa4f.mjs +0 -1
  596. package/dist/chunks/theme-0.1.13-m8mdm37k.mjs +0 -1
  597. package/dist/chunks/thinkback-0.1.13-4jwhbbcv.mjs +0 -1
  598. package/dist/chunks/thinkback-play-0.1.13-0vz0yjza.mjs +0 -1
  599. package/dist/chunks/toolPool-0.1.13-z741g6f2.mjs +0 -1
  600. package/dist/chunks/toolSearch-0.1.13-jaadtdmb.mjs +0 -1
  601. package/dist/chunks/trustedDevice-0.1.13-w279yc46.mjs +0 -1
  602. package/dist/chunks/upgrade-0.1.13-dce1xd29.mjs +0 -1
  603. package/dist/chunks/usage-0.1.13-mr2bn5g6.mjs +0 -1
  604. package/dist/chunks/util-0.1.13-ef9r7w41.mjs +0 -1
  605. package/dist/chunks/utils-0.1.13-03dvz81t.mjs +0 -1
  606. package/dist/chunks/vim-0.1.13-3x0ehdme.mjs +0 -1
  607. package/dist/chunks/watcher-0.1.13-yzxxvgz3.mjs +0 -1
  608. package/dist/chunks/worktree-0.1.13-kdhzfvjx.mjs +0 -1
  609. package/dist/chunks/worktreeModeEnabled-0.1.13-d4t06wcm.mjs +0 -1
  610. /package/dist/chunks/{cli-0.1.13-gs7rcvne.mjs → cli-0.1.15-p6bypqrv.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- import{CV as mj,HV as __}from"./cli-0.1.13-nwt2jc8b.mjs";import{IV as q_,KV as d1,NV as B_}from"./cli-0.1.13-wxdmc1dd.mjs";import{wX as Q0,xX as e6,yX as m0}from"./cli-0.1.13-ck28msre.mjs";import{zX as n0}from"./cli-0.1.13-79vtnprb.mjs";import{$0 as aj,D0 as k4,E0 as C4,F0 as c4,G0 as qQ,H0 as M8,I0 as Ez,J0 as W6,K0 as kB,L0 as _K,M0 as gB,N0 as HQ,O0 as qZ,P0 as OH,Q0 as HH,R0 as yU,S0 as r2,T0 as vU,U0 as UJ,V0 as AQ,W0 as kG,X0 as e2,Y0 as cj,Z0 as lj,_0 as dj,a1 as dB,b1 as aB,c1 as Pj,d1 as yj,e1 as Z9,f1 as zJ,g1 as J9,h1 as Q9,i1 as _8,j1 as Zj,l1 as U_}from"./cli-0.1.13-0zpmhn2j.mjs";import{L5 as lO,M5 as K0,N5 as Lz}from"./cli-0.1.13-v6z41645.mjs";import{Z6 as IF,_6 as PF}from"./cli-0.1.13-cyj5snev.mjs";import{$7 as XF,L_ as DQ,Mba as t3,N_ as c1,Pba as QK,S7 as L8,X7 as M1,_7 as gO,d8 as U4,f8 as PB,gca as o3}from"./cli-0.1.13-dag38tkx.mjs";import{Bfa as eN,Cfa as mY,Dfa as fY,Efa as pY,Ffa as wY,Gfa as UQ,Hfa as U1,Ifa as X7,Jfa as KQ}from"./cli-0.1.13-gd3nndc7.mjs";import{jga as bG,pga as GO}from"./cli-0.1.13-xde08pkt.mjs";import{oha as KZ,rha as G5}from"./cli-0.1.13-144gn3fd.mjs";import{Bha as N8,Cha as IB,Lha as Rz}from"./cli-0.1.13-1g6bgaa6.mjs";import{Oia as UB,Pia as hA,Xja as Ij,Yja as kO,bla as bB,gna as $z}from"./cli-0.1.13-52f40ba4.mjs";import{jna as ZB,kna as yA,pna as p5,qna as Bz}from"./cli-0.1.13-xv6wh44y.mjs";import{Tna as U0,Vna as g5,Xna as P}from"./cli-0.1.13-bj67mp7n.mjs";var R7=g5((fW,l3)=>{var RA=U0(n0()),XA=Object.create,r9=Object.defineProperty,zA=Object.getOwnPropertyDescriptor,UA=Object.getOwnPropertyNames,qA=Object.getPrototypeOf,BA=Object.prototype.hasOwnProperty,YA=(Z,K)=>{for(var G in K)r9(Z,G,{get:K[G],enumerable:!0})},p3=(Z,K,G,z)=>{if(K&&typeof K==="object"||typeof K==="function"){for(let q of UA(K))if(!BA.call(Z,q)&&q!==G)r9(Z,q,{get:()=>K[q],enumerable:!(z=zA(K,q))||z.enumerable})}return Z},jA=(Z,K,G)=>(G=Z!=null?XA(qA(Z)):{},p3(K||!Z||!Z.__esModule?r9(G,"default",{value:Z,enumerable:!0}):G,Z)),OA=(Z)=>p3(r9({},"__esModule",{value:!0}),Z),c3={};YA(c3,{$dispatcherGuard:()=>AA,$makeReadOnly:()=>MA,$reset:()=>NA,$structuralCheck:()=>$A,c:()=>VA,clearRenderCounterRegistry:()=>_A,renderCounterRegistry:()=>j6,useRenderCounter:()=>LA});l3.exports=OA(c3);var nJ=jA(RA),{useRef:HA,useEffect:DA,isValidElement:iJ}=nJ,g3,Kz=(g3=nJ.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)!=null?g3:nJ.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Gz=Symbol.for("react.memo_cache_sentinel"),h3,VA=typeof((h3=nJ.__COMPILER_RUNTIME)==null?void 0:h3.c)==="function"?nJ.__COMPILER_RUNTIME.c:function(K){return nJ.useMemo(()=>{let G=Array(K);for(let z=0;z<K;z++)G[z]=Gz;return G[Gz]=!0,G},[])},o9={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach((Z)=>{o9[Z]=()=>{throw Error(`[React] Unexpected React hook call (${Z}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var Y6=null;o9.useMemoCache=(Z)=>{if(Y6==null)throw Error("React Compiler internal invariant violation: unexpected null dispatcher");else return Y6.useMemoCache(Z)};function t9(Z){return Kz.ReactCurrentDispatcher.current=Z,Kz.ReactCurrentDispatcher.current}var sJ=[];function AA(Z){let K=Kz.ReactCurrentDispatcher.current;if(Z===0){if(sJ.push(K),sJ.length===1)Y6=K;if(K===o9)throw Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");t9(o9)}else if(Z===1){let G=sJ.pop();if(G==null)throw Error("React Compiler internal error: unexpected null in guard stack");if(sJ.length===0)Y6=null;t9(G)}else if(Z===2)sJ.push(K),t9(Y6);else if(Z===3){let G=sJ.pop();if(G==null)throw Error("React Compiler internal error: unexpected null in guard stack");t9(G)}else throw Error("React Compiler internal error: unreachable block"+Z)}function NA(Z){for(let K=0;K<Z.length;K++)Z[K]=Gz}function MA(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var j6=new Map;function _A(){for(let Z of j6.values())Z.forEach((K)=>{K.count=0})}function FA(Z,K){let G=j6.get(Z);if(G==null)G=new Set,j6.set(Z,G);G.add(K)}function WA(Z,K){let G=j6.get(Z);if(G==null)return;G.delete(K)}function LA(Z){let K=HA(null);if(K.current!=null)K.current.count+=1;DA(()=>{if(K.current==null){let G={count:0};FA(Z,G),K.current=G}return()=>{if(K.current!==null)WA(Z,K.current)}})}var u3=new Set;function $A(Z,K,G,z,q,Y){function j(V,A,M,F){let _=`${z}:${Y} [${q}] ${G}${M} changed from ${V} to ${A} at depth ${F}`;if(u3.has(_))return;u3.add(_),console.error(_)}let H=2;function D(V,A,M,F){if(F>H)return;else if(V===A)return;else if(typeof V!==typeof A)j(`type ${typeof V}`,`type ${typeof A}`,M,F);else if(typeof V==="object"){let _=Array.isArray(V),R=Array.isArray(A);if(V===null&&A!==null)j("null",`type ${typeof A}`,M,F);else if(A===null)j(`type ${typeof V}`,"null",M,F);else if(V instanceof Map)if(!(A instanceof Map))j("Map instance","other value",M,F);else if(V.size!==A.size)j(`Map instance with size ${V.size}`,`Map instance with size ${A.size}`,M,F);else for(let[W,E]of V)if(!A.has(W))j(`Map instance with key ${W}`,`Map instance without key ${W}`,M,F);else D(E,A.get(W),`${M}.get(${W})`,F+1);else if(A instanceof Map)j("other value","Map instance",M,F);else if(V instanceof Set){if(!(A instanceof Set))j("Set instance","other value",M,F);else if(V.size!==A.size)j(`Set instance with size ${V.size}`,`Set instance with size ${A.size}`,M,F);else for(let W of A)if(!V.has(W))j(`Set instance without element ${W}`,`Set instance with element ${W}`,M,F)}else if(A instanceof Set)j("other value","Set instance",M,F);else if(_||R)if(_!==R)j(`type ${_?"array":"object"}`,`type ${R?"array":"object"}`,M,F);else if(V.length!==A.length)j(`array with length ${V.length}`,`array with length ${A.length}`,M,F);else for(let W=0;W<V.length;W++)D(V[W],A[W],`${M}[${W}]`,F+1);else if(iJ(V)||iJ(A))if(iJ(V)!==iJ(A))j(`type ${iJ(V)?"React element":"object"}`,`type ${iJ(A)?"React element":"object"}`,M,F);else if(V.type!==A.type)j(`React element of type ${V.type}`,`React element of type ${A.type}`,M,F);else D(V.props,A.props,`[props of ${M}]`,F+1);else{for(let W in A)if(!(W in V))j(`object without key ${W}`,`object with key ${W}`,M,F);for(let W in V)if(!(W in A))j(`object with key ${W}`,`object without key ${W}`,M,F);else D(V[W],A[W],`${M}.${W}`,F+1)}}else if(typeof V==="function")return;else if(isNaN(V)||isNaN(A)){if(isNaN(V)!==isNaN(A))j(`${isNaN(V)?"NaN":"non-NaN value"}`,`${isNaN(A)?"NaN":"non-NaN value"}`,M,F)}else if(V!==A)j(V,A,M,F)}D(Z,K,"",0)}});class G4{_didStopImmediatePropagation=!1;didStopImmediatePropagation(){return this._didStopImmediatePropagation}stopImmediatePropagation(){this._didStopImmediatePropagation=!0}}var h5=()=>{};import{EventEmitter as EA}from"events";var tJ;var e9=P(()=>{h5();tJ=class tJ extends EA{constructor(){super();this.setMaxListeners(0)}emit(Z,...K){if(Z==="error")return super.emit(Z,...K);let G=this.rawListeners(Z);if(G.length===0)return!1;let z=K[0]instanceof G4?K[0]:null;for(let q of G)if(q.apply(this,K),z?.didStopImmediatePropagation())break;return!0}}});var d3,a3,u5;var ZK=P(()=>{e9();d3=U0(n0(),1),a3=d3.createContext({stdin:process.stdin,internal_eventEmitter:new tJ,setRawMode(){},isRawModeSupported:!1,internal_exitOnCtrlC:!0,internal_querier:null});a3.displayName="InternalStdinContext";u5=a3});var i3,TA=()=>i3.useContext(u5),O6;var JK=P(()=>{ZK();i3=U0(n0(),1),O6=TA});function H6(){if(Xz===void 0)Xz=CA()??"dark";return Xz}function dW(Z){if(Z==="auto")return H6();return Z}function CA(){let Z=process.env.COLORFGBG;if(!Z)return;let K=Z.split(";"),G=K[K.length-1];if(G===void 0||G==="")return;let z=Number(G);if(!Number.isInteger(z)||z<0||z>15)return;return z<=6||z===8?"dark":"light"}var Xz;var s3=()=>{};function SA(){return QK().theme}function vA(Z){t3((K)=>({...K,theme:Z}))}function Uz({children:Z,initialState:K,onThemeSave:G=vA}){let[z,q]=f7.useState(K??SA),[Y,j]=f7.useState(null),[H,D]=f7.useState(()=>(K??z)==="auto"?H6():"dark"),V=Y??z,{internal_querier:A}=O6();f7.useEffect(()=>{},[V,A]);let M=V==="auto"?H:V,F=f7.useMemo(()=>({themeSetting:z,setThemeSetting:(_)=>{if(q(_),j(null),_==="auto")D(H6());G?.(_)},setPreviewTheme:(_)=>{if(j(_),_==="auto")D(H6())},savePreview:()=>{if(Y!==null)q(Y),j(null),G?.(Y)},cancelPreview:()=>{if(Y!==null)j(null)},currentTheme:M}),[z,Y,M,G]);return Q0(KK.Provider,{value:F,children:Z})}function D6(){let Z=zz.c(3),{currentTheme:K,setThemeSetting:G}=f7.useContext(KK),z;if(Z[0]!==K||Z[1]!==G)z=[K,G],Z[0]=K,Z[1]=G,Z[2]=z;else z=Z[2];return z}function xA(){return f7.useContext(KK).themeSetting}function bA(){let Z=zz.c(4),{setPreviewTheme:K,savePreview:G,cancelPreview:z}=f7.useContext(KK),q;if(Z[0]!==z||Z[1]!==G||Z[2]!==K)q={setPreviewTheme:K,savePreview:G,cancelPreview:z},Z[0]=z,Z[1]=G,Z[2]=K,Z[3]=q;else q=Z[3];return q}var zz,f7,n3="dark",KK;var V6=P(()=>{JK();o3();s3();m0();zz=U0(R7(),1),f7=U0(n0(),1),KK=f7.createContext({themeSetting:n3,setThemeSetting:()=>{},setPreviewTheme:()=>{},savePreview:()=>{},cancelPreview:()=>{},currentTheme:n3})});function qz(Z,{include:K,exclude:G}={}){let z=(q)=>{let Y=(j)=>typeof j==="string"?q===j:j.test(q);if(K)return K.some(Y);if(G)return!G.some(Y);return!0};for(let[q,Y]of IA(Z.constructor.prototype)){if(Y==="constructor"||!z(Y))continue;let j=Reflect.getOwnPropertyDescriptor(q,Y);if(j&&typeof j.value==="function")Z[Y]=Z[Y].bind(Z)}return Z}var IA=(Z)=>{let K=new Set;do for(let G of Reflect.ownKeys(Z))K.add([Z,G]);while((Z=Reflect.getPrototypeOf(Z))&&Z!==Object.prototype);return K};var r3=()=>{};function PA(){}var GK;var e3=P(()=>{GK=PA});var mA=function(){return ZB.Date.now()},XK;var JB=P(()=>{yA();XK=mA});function wA(Z){var K=Z.length;while(K--&&fA.test(Z.charAt(K)));return K}var fA,QB;var KB=P(()=>{fA=/\s/;QB=wA});function gA(Z){return Z?Z.slice(0,QB(Z)+1).replace(kA,""):Z}var kA,GB;var XB=P(()=>{KB();kA=/^\s+/;GB=gA});function dA(Z){if(typeof Z=="number")return Z;if(UB(Z))return zB;if(p5(Z)){var K=typeof Z.valueOf=="function"?Z.valueOf():Z;Z=p5(K)?K+"":K}if(typeof Z!="string")return Z===0?Z:+Z;Z=GB(Z);var G=pA.test(Z);return G||cA.test(Z)?lA(Z.slice(2),G?2:8):uA.test(Z)?zB:+Z}var zB=NaN,uA,pA,cA,lA,Yz;var qB=P(()=>{XB();Bz();hA();uA=/^[-+]0x[0-9a-f]+$/i,pA=/^0b[01]+$/i,cA=/^0o[0-7]+$/i,lA=parseInt;Yz=dA});function nA(Z,K,G){var z,q,Y,j,H,D,V=0,A=!1,M=!1,F=!0;if(typeof Z!="function")throw TypeError(aA);if(K=Yz(K)||0,p5(G))A=!!G.leading,M="maxWait"in G,Y=M?iA(Yz(G.maxWait)||0,K):Y,F="trailing"in G?!!G.trailing:F;function _(b){var u=z,f=q;return z=q=void 0,V=b,j=Z.apply(f,u),j}function R(b){return V=b,H=setTimeout(T,K),A?_(b):j}function W(b){var u=b-D,f=b-V,w=K-u;return M?sA(w,Y-f):w}function E(b){var u=b-D,f=b-V;return D===void 0||u>=K||u<0||M&&f>=Y}function T(){var b=XK();if(E(b))return $(b);H=setTimeout(T,W(b))}function $(b){if(H=void 0,F&&z)return _(b);return z=q=void 0,j}function I(){if(H!==void 0)clearTimeout(H);V=0,z=D=q=H=void 0}function y(){return H===void 0?j:$(XK())}function m(){var b=XK(),u=E(b);if(z=arguments,q=this,D=b,u){if(H===void 0)return R(D);if(M)return clearTimeout(H),H=setTimeout(T,K),_(D)}if(H===void 0)H=setTimeout(T,K);return j}return m.cancel=I,m.flush=y,m}var aA="Expected a function",iA,sA,BB;var YB=P(()=>{Bz();JB();qB();iA=Math.max,sA=Math.min;BB=nA});function oA(Z,K,G){var z=!0,q=!0;if(typeof Z!="function")throw TypeError(tA);if(p5(G))z="leading"in G?!!G.leading:z,q="trailing"in G?!!G.trailing:q;return BB(Z,K,{leading:z,maxWait:K,trailing:q})}var tA="Expected a function",jB;var OB=P(()=>{YB();Bz();jB=oA});var zK=8,UK=32,jz=2,qK=0;var BK=()=>{};var V0,YK,H8,r0,HB,TZ,f4,G7,F0,c5,l5,tZ,D8;var DB=P(()=>{V0={Auto:0,FlexStart:1,Center:2,FlexEnd:3,Stretch:4,Baseline:5,SpaceBetween:6,SpaceAround:7,SpaceEvenly:8},YK={Inherit:0,LTR:1,RTL:2},H8={Flex:0,None:1,Contents:2},r0={Left:0,Top:1,Right:2,Bottom:3,Start:4,End:5,Horizontal:6,Vertical:7,All:8},HB={None:0,StretchFlexBasis:1,AbsolutePositionWithoutInsetsExcludesPadding:2,AbsolutePercentAgainstInnerSize:4,All:2147483647,Classic:2147483646},TZ={Column:0,ColumnReverse:1,Row:2,RowReverse:3},f4={Column:0,Row:1,All:2},G7={FlexStart:0,Center:1,FlexEnd:2,SpaceBetween:3,SpaceAround:4,SpaceEvenly:5},F0={Undefined:0,Exactly:1,AtMost:2},c5={Visible:0,Hidden:1,Scroll:2},l5={Static:0,Relative:1,Absolute:2},tZ={Undefined:0,Point:1,Percent:2,Auto:3},D8={NoWrap:0,Wrap:1,WrapReverse:2}});function VK(Z){return{unit:tZ.Point,value:Z}}function X4(Z){return{unit:tZ.Percent,value:Z}}function DZ(Z,K){switch(Z.unit){case tZ.Point:return Z.value;case tZ.Percent:return isNaN(K)?NaN:Z.value*K/100;default:return NaN}}function D0(Z){return!isNaN(Z)}function D7(Z,K){return Z===K||Z!==Z&&K!==K}function VB(){return{direction:YK.Inherit,flexDirection:TZ.Column,justifyContent:G7.FlexStart,alignItems:V0.Stretch,alignSelf:V0.Auto,alignContent:V0.FlexStart,flexWrap:D8.NoWrap,overflow:c5.Visible,display:H8.Flex,positionType:l5.Relative,flexGrow:0,flexShrink:0,flexBasis:V8,margin:[,,,,,,,,,].fill(i7),padding:[,,,,,,,,,].fill(i7),border:[,,,,,,,,,].fill(i7),position:[,,,,,,,,,].fill(i7),gap:[,,,].fill(i7),width:V8,height:V8,minWidth:i7,minHeight:i7,maxWidth:i7,maxHeight:i7}}function J5(Z,K,G,z=!1){let q=Z[K];if(q.unit===tZ.Undefined)if(K===E7||K===z4)q=Z[r0.Horizontal];else q=Z[r0.Vertical];if(q.unit===tZ.Undefined)q=Z[r0.All];if(q.unit===tZ.Undefined){if(K===E7)q=Z[r0.Start];if(K===z4)q=Z[r0.End]}if(q.unit===tZ.Undefined)return 0;if(q.unit===tZ.Auto)return z?NaN:0;return DZ(q,G)}function R4(Z,K){let G=Z[K];if(G.unit===tZ.Undefined)if(K===E7||K===z4)G=Z[r0.Horizontal];else G=Z[r0.Vertical];if(G.unit===tZ.Undefined)G=Z[r0.All];if(G.unit===tZ.Undefined){if(K===E7)G=Z[r0.Start];if(K===z4)G=Z[r0.End]}return G}function w4(Z,K){return R4(Z,K).unit===tZ.Auto}function AB(Z){for(let K=0;K<9;K++)if(Z[K].unit===3)return!0;return!1}function jK(Z){for(let K=0;K<9;K++)if(Z[K].unit!==0)return!0;return!1}function Oz(Z,K,G){let z=Z[6],q=Z[7],Y=Z[8],j=Z[4],H=Z[5],D=isNaN(K)?NaN:K/100,V=Z[0];if(V.unit===0)V=z;if(V.unit===0)V=Y;if(V.unit===0)V=j;if(G[0]=V.unit===1?V.value:V.unit===2?V.value*D:0,V=Z[1],V.unit===0)V=q;if(V.unit===0)V=Y;if(G[1]=V.unit===1?V.value:V.unit===2?V.value*D:0,V=Z[2],V.unit===0)V=z;if(V.unit===0)V=Y;if(V.unit===0)V=H;if(G[2]=V.unit===1?V.value:V.unit===2?V.value*D:0,V=Z[3],V.unit===0)V=q;if(V.unit===0)V=Y;G[3]=V.unit===1?V.value:V.unit===2?V.value*D:0}function M6(Z){return Z===TZ.Row||Z===TZ.RowReverse}function WB(Z){return Z===TZ.RowReverse||Z===TZ.ColumnReverse}function rA(Z){return M6(Z)?TZ.Column:TZ.Row}function Az(Z){switch(Z){case TZ.Row:return E7;case TZ.RowReverse:return z4;case TZ.Column:return $4;case TZ.ColumnReverse:return A8}}function Nz(Z){switch(Z){case TZ.Row:return z4;case TZ.RowReverse:return E7;case TZ.Column:return A8;case TZ.ColumnReverse:return $4}}function LB(){let Z={pointScaleFactor:1,errata:HB.None,useWebDefaults:!1,free(){},isExperimentalFeatureEnabled(){return!1},setExperimentalFeatureEnabled(){},setPointScaleFactor(K){Z.pointScaleFactor=K},getErrata(){return Z.errata},setErrata(K){Z.errata=K},setUseWebDefaults(K){Z.useWebDefaults=K}};return Z}class DK{style;layout;parent;children;measureFunc;config;isDirty_;isReferenceBaseline_;_flexBasis=0;_mainSize=0;_crossSize=0;_lineIndex=0;_hasAutoMargin=!1;_hasPosition=!1;_hasPadding=!1;_hasBorder=!1;_hasMargin=!1;_lW=NaN;_lH=NaN;_lWM=0;_lHM=0;_lOW=NaN;_lOH=NaN;_lFW=!1;_lFH=!1;_lOutW=NaN;_lOutH=NaN;_hasL=!1;_mW=NaN;_mH=NaN;_mWM=0;_mHM=0;_mOW=NaN;_mOH=NaN;_mOutW=NaN;_mOutH=NaN;_hasM=!1;_fbBasis=NaN;_fbOwnerW=NaN;_fbOwnerH=NaN;_fbAvailMain=NaN;_fbAvailCross=NaN;_fbCrossMode=0;_fbGen=-1;_cIn=null;_cOut=null;_cGen=-1;_cN=0;_cWr=0;constructor(Z){this.style=VB(),this.layout={left:0,top:0,width:0,height:0,border:[0,0,0,0],padding:[0,0,0,0],margin:[0,0,0,0]},this.parent=null,this.children=[],this.measureFunc=null,this.config=Z??eA,this.isDirty_=!0,this.isReferenceBaseline_=!1,Mz++}insertChild(Z,K){Z.parent=this,this.children.splice(K,0,Z),this.markDirty()}removeChild(Z){let K=this.children.indexOf(Z);if(K>=0)this.children.splice(K,1),Z.parent=null,this.markDirty()}getChild(Z){return this.children[Z]}getChildCount(){return this.children.length}getParent(){return this.parent}free(){this.parent=null,this.children=[],this.measureFunc=null,this._cIn=null,this._cOut=null,Mz--}freeRecursive(){for(let Z of this.children)Z.freeRecursive();this.free()}reset(){this.style=VB(),this.children=[],this.parent=null,this.measureFunc=null,this.isDirty_=!0,this._hasAutoMargin=!1,this._hasPosition=!1,this._hasPadding=!1,this._hasBorder=!1,this._hasMargin=!1,this._hasL=!1,this._hasM=!1,this._cN=0,this._cWr=0,this._fbBasis=NaN}markDirty(){if(this.isDirty_=!0,this.parent&&!this.parent.isDirty_)this.parent.markDirty()}isDirty(){return this.isDirty_}hasNewLayout(){return!0}markLayoutSeen(){}setMeasureFunc(Z){this.measureFunc=Z,this.markDirty()}unsetMeasureFunc(){this.measureFunc=null,this.markDirty()}getComputedLeft(){return this.layout.left}getComputedTop(){return this.layout.top}getComputedWidth(){return this.layout.width}getComputedHeight(){return this.layout.height}getComputedRight(){let Z=this.parent;return Z?Z.layout.width-this.layout.left-this.layout.width:0}getComputedBottom(){let Z=this.parent;return Z?Z.layout.height-this.layout.top-this.layout.height:0}getComputedLayout(){return{left:this.layout.left,top:this.layout.top,right:this.getComputedRight(),bottom:this.getComputedBottom(),width:this.layout.width,height:this.layout.height}}getComputedBorder(Z){return this.layout.border[Vz(Z)]}getComputedPadding(Z){return this.layout.padding[Vz(Z)]}getComputedMargin(Z){return this.layout.margin[Vz(Z)]}setWidth(Z){this.style.width=W4(Z),this.markDirty()}setWidthPercent(Z){this.style.width=X4(Z),this.markDirty()}setWidthAuto(){this.style.width=V8,this.markDirty()}setHeight(Z){this.style.height=W4(Z),this.markDirty()}setHeightPercent(Z){this.style.height=X4(Z),this.markDirty()}setHeightAuto(){this.style.height=V8,this.markDirty()}setMinWidth(Z){this.style.minWidth=W4(Z),this.markDirty()}setMinWidthPercent(Z){this.style.minWidth=X4(Z),this.markDirty()}setMinHeight(Z){this.style.minHeight=W4(Z),this.markDirty()}setMinHeightPercent(Z){this.style.minHeight=X4(Z),this.markDirty()}setMaxWidth(Z){this.style.maxWidth=W4(Z),this.markDirty()}setMaxWidthPercent(Z){this.style.maxWidth=X4(Z),this.markDirty()}setMaxHeight(Z){this.style.maxHeight=W4(Z),this.markDirty()}setMaxHeightPercent(Z){this.style.maxHeight=X4(Z),this.markDirty()}setFlexDirection(Z){this.style.flexDirection=Z,this.markDirty()}setFlexGrow(Z){this.style.flexGrow=Z??0,this.markDirty()}setFlexShrink(Z){this.style.flexShrink=Z??0,this.markDirty()}setFlex(Z){if(Z===void 0||isNaN(Z))this.style.flexGrow=0,this.style.flexShrink=0;else if(Z>0)this.style.flexGrow=Z,this.style.flexShrink=1,this.style.flexBasis=VK(0);else if(Z<0)this.style.flexGrow=0,this.style.flexShrink=-Z;else this.style.flexGrow=0,this.style.flexShrink=0;this.markDirty()}setFlexBasis(Z){this.style.flexBasis=W4(Z),this.markDirty()}setFlexBasisPercent(Z){this.style.flexBasis=X4(Z),this.markDirty()}setFlexBasisAuto(){this.style.flexBasis=V8,this.markDirty()}setFlexWrap(Z){this.style.flexWrap=Z,this.markDirty()}setAlignItems(Z){this.style.alignItems=Z,this.markDirty()}setAlignSelf(Z){this.style.alignSelf=Z,this.markDirty()}setAlignContent(Z){this.style.alignContent=Z,this.markDirty()}setJustifyContent(Z){this.style.justifyContent=Z,this.markDirty()}setDisplay(Z){this.style.display=Z,this.markDirty()}getDisplay(){return this.style.display}setPositionType(Z){this.style.positionType=Z,this.markDirty()}setPosition(Z,K){this.style.position[Z]=W4(K),this._hasPosition=jK(this.style.position),this.markDirty()}setPositionPercent(Z,K){this.style.position[Z]=X4(K),this._hasPosition=!0,this.markDirty()}setPositionAuto(Z){this.style.position[Z]=V8,this._hasPosition=!0,this.markDirty()}setOverflow(Z){this.style.overflow=Z,this.markDirty()}setDirection(Z){this.style.direction=Z,this.markDirty()}setBoxSizing(Z){}setMargin(Z,K){let G=W4(K);if(this.style.margin[Z]=G,G.unit===tZ.Auto)this._hasAutoMargin=!0;else this._hasAutoMargin=AB(this.style.margin);this._hasMargin=this._hasAutoMargin||jK(this.style.margin),this.markDirty()}setMarginPercent(Z,K){this.style.margin[Z]=X4(K),this._hasAutoMargin=AB(this.style.margin),this._hasMargin=!0,this.markDirty()}setMarginAuto(Z){this.style.margin[Z]=V8,this._hasAutoMargin=!0,this._hasMargin=!0,this.markDirty()}setPadding(Z,K){this.style.padding[Z]=W4(K),this._hasPadding=jK(this.style.padding),this.markDirty()}setPaddingPercent(Z,K){this.style.padding[Z]=X4(K),this._hasPadding=!0,this.markDirty()}setBorder(Z,K){this.style.border[Z]=K===void 0?i7:VK(K),this._hasBorder=jK(this.style.border),this.markDirty()}setGap(Z,K){this.style.gap[Z]=W4(K),this.markDirty()}setGapPercent(Z,K){this.style.gap[Z]=X4(K),this.markDirty()}getFlexDirection(){return this.style.flexDirection}getJustifyContent(){return this.style.justifyContent}getAlignItems(){return this.style.alignItems}getAlignSelf(){return this.style.alignSelf}getAlignContent(){return this.style.alignContent}getFlexGrow(){return this.style.flexGrow}getFlexShrink(){return this.style.flexShrink}getFlexBasis(){return this.style.flexBasis}getFlexWrap(){return this.style.flexWrap}getWidth(){return this.style.width}getHeight(){return this.style.height}getOverflow(){return this.style.overflow}getPositionType(){return this.style.positionType}getDirection(){return this.style.direction}copyStyle(Z){}setDirtiedFunc(Z){}unsetDirtiedFunc(){}setIsReferenceBaseline(Z){this.isReferenceBaseline_=Z,this.markDirty()}isReferenceBaseline(){return this.isReferenceBaseline_}setAspectRatio(Z){}getAspectRatio(){return NaN}setAlwaysFormsContainingBlock(Z){}calculateLayout(Z,K,G){Fz=0,Wz=0,A6=0,Q5++;let z=Z===void 0?NaN:Z,q=K===void 0?NaN:K;N6(this,z,q,D0(z)?F0.Exactly:F0.Undefined,D0(q)?F0.Exactly:F0.Undefined,z,q,!0);let Y=this.layout.margin,j=DZ(R4(this.style.position,E7),D0(z)?z:0),H=DZ(R4(this.style.position,$4),D0(z)?z:0);this.layout.left=Y[E7]+(D0(j)?j:0),this.layout.top=Y[$4]+(D0(H)?H:0),CB(this,this.config.pointScaleFactor,0,0)}}function Hz(Z,K,G,z,q,Y,j,H,D,V){if(!Z._cIn)Z._cIn=new Float64Array(OK*8),Z._cOut=new Float64Array(OK*2);if(V&&Z._cGen!==Q5)Z._cN=0,Z._cWr=0;let A=Z._cWr++%OK;if(Z._cN<OK)Z._cN=Z._cWr;let M=A*8,F=Z._cIn;F[M]=K,F[M+1]=G,F[M+2]=z,F[M+3]=q,F[M+4]=Y,F[M+5]=j,F[M+6]=H?1:0,F[M+7]=D?1:0,Z._cOut[A*2]=Z.layout.width,Z._cOut[A*2+1]=Z.layout.height,Z._cGen=Q5}function Dz(Z,K){if(K)Z._lOutW=Z.layout.width,Z._lOutH=Z.layout.height;else Z._mOutW=Z.layout.width,Z._mOutH=Z.layout.height}function AK(){return{visited:Fz,measured:Wz,cacheHits:A6,live:Mz}}function N6(Z,K,G,z,q,Y,j,H,D=!1,V=!1){Fz++;let{style:A,layout:M}=Z,F=Z._cGen===Q5&&!H;if(!Z.isDirty_||F){if(!Z.isDirty_&&Z._hasL&&Z._lWM===z&&Z._lHM===q&&Z._lFW===D&&Z._lFH===V&&D7(Z._lW,K)&&D7(Z._lH,G)&&D7(Z._lOW,Y)&&D7(Z._lOH,j)){A6++,M.width=Z._lOutW,M.height=Z._lOutH;return}if(Z._cN>0&&(F||!Z.isDirty_)){let a=Z._cIn;for(let W0=0;W0<Z._cN;W0++){let j0=W0*8;if(a[j0+2]===z&&a[j0+3]===q&&a[j0+6]===(D?1:0)&&a[j0+7]===(V?1:0)&&D7(a[j0],K)&&D7(a[j0+1],G)&&D7(a[j0+4],Y)&&D7(a[j0+5],j)){M.width=Z._cOut[W0*2],M.height=Z._cOut[W0*2+1],A6++;return}}}if(!Z.isDirty_&&!H&&Z._hasM&&Z._mWM===z&&Z._mHM===q&&D7(Z._mW,K)&&D7(Z._mH,G)&&D7(Z._mOW,Y)&&D7(Z._mOH,j)){M.width=Z._mOutW,M.height=Z._mOutH,A6++;return}}let _=Z.isDirty_;if(H){if(Z._lW=K,Z._lH=G,Z._lWM=z,Z._lHM=q,Z._lOW=Y,Z._lOH=j,Z._lFW=D,Z._lFH=V,Z._hasL=!0,Z.isDirty_=!1,_)Z._hasM=!1}else if(Z._mW=K,Z._mH=G,Z._mWM=z,Z._mHM=q,Z._mOW=Y,Z._mOH=j,Z._hasM=!0,_)Z._hasL=!1;let{padding:R,border:W,margin:E}=M;if(Z._hasPadding)Oz(A.padding,Y,R);else R[0]=R[1]=R[2]=R[3]=0;if(Z._hasBorder)Oz(A.border,Y,W);else W[0]=W[1]=W[2]=W[3]=0;if(Z._hasMargin)Oz(A.margin,Y,E);else E[0]=E[1]=E[2]=E[3]=0;let T=R[0]+R[2]+W[0]+W[2],$=R[1]+R[3]+W[1]+W[3],I=D?NaN:DZ(A.width,Y),y=V?NaN:DZ(A.height,j),m=K,b=G,u=z,f=q;if(D0(I))m=I,u=F0.Exactly;if(D0(y))b=y,f=F0.Exactly;if(m=L4(A,!0,m,Y,j),b=L4(A,!1,b,Y,j),Z.measureFunc&&Z.children.length===0){let a=u===F0.Undefined?NaN:Math.max(0,m-T),W0=f===F0.Undefined?NaN:Math.max(0,b-$);Wz++;let j0=Z.measureFunc(a,u,W0,f);Z.layout.width=u===F0.Exactly?m:L4(A,!0,(j0.width??0)+T,Y,j),Z.layout.height=f===F0.Exactly?b:L4(A,!1,(j0.height??0)+$,Y,j),Dz(Z,H),Hz(Z,K,G,z,q,Y,j,D,V,_);return}if(Z.children.length===0){Z.layout.width=u===F0.Exactly?m:L4(A,!0,T,Y,j),Z.layout.height=f===F0.Exactly?b:L4(A,!1,$,Y,j),Dz(Z,H),Hz(Z,K,G,z,q,Y,j,D,V,_);return}let w=A.flexDirection,i=rA(w),h=M6(w),l=h?m:b,s=h?b:m,n=h?u:f,N0=h?f:u,ZZ=h?T:$,u0=h?$:T,d0=D0(l)?Math.max(0,l-ZZ):NaN,p0=D0(s)?Math.max(0,s-u0):NaN,oZ=_B(A,h?f4.Column:f4.Row,d0),AZ=[],N7=[];TB(Z,AZ,N7);let JZ=D0(m)?m:NaN,_Z=D0(b)?b:NaN,NZ=A.flexWrap!==D8.NoWrap,q7=_B(A,h?f4.Row:f4.Column,p0);for(let a of AZ)a._flexBasis=JN(a,w,d0,p0,N0,JZ,_Z);let fZ=[];if(!NZ||!D0(d0)||AZ.length===0){for(let a of AZ)a._lineIndex=0;fZ.push(AZ)}else{let a=0,W0=0;for(let j0=0;j0<AZ.length;j0++){let YZ=AZ[j0],L0=L4(YZ.style,h,YZ._flexBasis,JZ,_Z),O0=Math.max(0,L0)+HK(YZ,w,JZ),_7=j0>a?oZ:0;if(j0>a&&W0+_7+O0>d0)fZ.push(AZ.slice(a,j0)),a=j0,W0=O0;else W0+=_7+O0;YZ._lineIndex=fZ.length}fZ.push(AZ.slice(a))}let x0=fZ.length,rZ=GN(Z,AZ),uZ=Array(x0),M7=Array(x0),g0=rZ?Array(x0).fill(0):[],c0=0,FZ=0;for(let a=0;a<x0;a++){let W0=fZ[a],j0=W0.length>1?oZ*(W0.length-1):0,YZ=j0;for(let $0 of W0)YZ+=$0._flexBasis+HK($0,w,JZ);let L0=d0;if(!D0(L0)){let $0=h?Y:j,I0=DZ(h?A.minWidth:A.minHeight,$0),a0=DZ(h?A.maxWidth:A.maxHeight,$0);if(D0(a0)&&YZ>a0-ZZ)L0=Math.max(0,a0-ZZ);else if(D0(I0)&&YZ<I0-ZZ)L0=Math.max(0,I0-ZZ)}QN(W0,L0,YZ,h,JZ,_Z);let O0=0;for(let $0 of W0){let I0=$0.style,a0=I0.alignSelf===V0.Auto?A.alignItems:I0.alignSelf,LZ=HK($0,i,JZ),q0=NaN,h0=F0.Undefined,zZ=DZ(h?I0.height:I0.width,h?_Z:JZ),O4=h?$4:E7,W7=h?A8:z4,lZ=$0._hasAutoMargin&&(w4(I0.margin,O4)||w4(I0.margin,W7));if(D0(zZ))q0=zZ,h0=F0.Exactly;else if(a0===V0.Stretch&&!lZ&&!NZ&&D0(p0)&&N0===F0.Exactly)q0=Math.max(0,p0-LZ),h0=F0.Exactly;else if(!NZ&&D0(p0))q0=Math.max(0,p0-LZ),h0=F0.AtMost;let xZ=h?$0._mainSize:q0,$Z=h?q0:$0._mainSize;N6($0,xZ,$Z,h?F0.Exactly:h0,h?h0:F0.Exactly,JZ,_Z,H,h,!h),$0._crossSize=h?$0.layout.height:$0.layout.width,O0=Math.max(O0,$0._crossSize+LZ)}if(rZ){let $0=0,I0=0;for(let a0 of W0){if(RB(Z,a0)!==V0.Baseline)continue;let LZ=J5(a0.style.margin,$4,JZ),q0=J5(a0.style.margin,A8,JZ),h0=_z(a0)+LZ,zZ=a0.layout.height+LZ+q0-h0;if(h0>$0)$0=h0;if(zZ>I0)I0=zZ}if(g0[a]=$0,$0+I0>O0)O0=$0+I0}let _7=Az(w),F7=Nz(w),w7=j0;for(let $0 of W0){let I0=$0.layout.margin;w7+=$0._mainSize+I0[_7]+I0[F7]}uZ[a]=w7,M7[a]=O0,c0=Math.max(c0,w7),FZ+=O0}let vZ=x0>1?q7*(x0-1):0;FZ+=vZ;let pZ=A.overflow===c5.Scroll,S4=c0+ZZ,t7=n===F0.Exactly?l:n===F0.AtMost&&pZ?Math.max(Math.min(l,S4),ZZ):NZ&&x0>1&&n===F0.AtMost?l:S4,o=FZ+u0,H0=N0===F0.Exactly?s:N0===F0.AtMost&&pZ?Math.max(Math.min(s,o),u0):o;if(Z.layout.width=L4(A,!0,h?t7:H0,Y,j),Z.layout.height=L4(A,!1,h?H0:t7,Y,j),Dz(Z,H),Hz(Z,K,G,z,q,Y,j,D,V,_),!H)return;let z0=(h?Z.layout.width:Z.layout.height)-ZZ,g=(h?Z.layout.height:Z.layout.width)-u0,E0=Az(w),e=Nz(w),Z0=h?$4:E7,J0=h?A8:z4,t0=WB(w),M0=h?Z.layout.width:Z.layout.height,b0=R[Z0]+W[Z0],BZ=q7,cZ=g-FZ;if(x0===1&&!NZ&&!rZ)M7[0]=g;else{let a=Math.max(0,cZ);switch(A.alignContent){case V0.FlexStart:break;case V0.Center:b0+=cZ/2;break;case V0.FlexEnd:b0+=cZ;break;case V0.Stretch:if(x0>0&&a>0){let W0=a/x0;for(let j0=0;j0<x0;j0++)M7[j0]+=W0}break;case V0.SpaceBetween:if(x0>1)BZ+=a/(x0-1);break;case V0.SpaceAround:if(x0>0)BZ+=a/x0,b0+=a/x0/2;break;case V0.SpaceEvenly:if(x0>0)BZ+=a/(x0+1),b0+=a/(x0+1);break;default:break}}let WZ=A.flexWrap===D8.WrapReverse,eZ=h?Z.layout.height:Z.layout.width,T0=b0;for(let a=0;a<x0;a++){let W0=fZ[a],j0=M7[a],YZ=uZ[a],L0=W0.length;if(NZ||N0!==F0.Exactly)for(let q0 of W0){let h0=q0.style,zZ=h0.alignSelf===V0.Auto?A.alignItems:h0.alignSelf,O4=D0(DZ(h?h0.height:h0.width,h?_Z:JZ)),W7=q0._hasAutoMargin&&(w4(h0.margin,Z0)||w4(h0.margin,J0));if(zZ===V0.Stretch&&!O4&&!W7){let lZ=HK(q0,i,JZ),xZ=Math.max(0,j0-lZ);if(q0._crossSize!==xZ){let $Z=h?q0._mainSize:xZ,H4=h?xZ:q0._mainSize;N6(q0,$Z,H4,F0.Exactly,F0.Exactly,JZ,_Z,H,h,!h),q0._crossSize=xZ}}}let O0=R[E0]+W[E0],_7=oZ,F7=0;for(let q0 of W0){if(!q0._hasAutoMargin)continue;if(w4(q0.style.margin,E0))F7++;if(w4(q0.style.margin,e))F7++}let w7=z0-YZ,$0=Math.max(0,w7),I0=F7>0&&$0>0?$0/F7:0;if(F7===0)switch(A.justifyContent){case G7.FlexStart:break;case G7.Center:O0+=w7/2;break;case G7.FlexEnd:O0+=w7;break;case G7.SpaceBetween:if(L0>1)_7+=$0/(L0-1);break;case G7.SpaceAround:if(L0>0)_7+=$0/L0,O0+=$0/L0/2;break;case G7.SpaceEvenly:if(L0>0)_7+=$0/(L0+1),O0+=$0/(L0+1);break}let a0=WZ?eZ-T0-j0:T0,LZ=O0;for(let q0 of W0){let h0=q0.style.margin,zZ=q0.layout.margin,O4=!1,W7=!1,lZ=!1,xZ=!1,$Z,H4,C7,S7;if(q0._hasAutoMargin)O4=w4(h0,E0),W7=w4(h0,e),lZ=w4(h0,Z0),xZ=w4(h0,J0),$Z=O4?I0:zZ[E0],H4=W7?I0:zZ[e],C7=lZ?0:zZ[Z0],S7=xZ?0:zZ[J0];else $Z=zZ[E0],H4=zZ[e],C7=zZ[Z0],S7=zZ[J0];let v4=t0?M0-(LZ+$Z)-q0._mainSize:LZ+$Z,k7=q0.style.alignSelf===V0.Auto?A.alignItems:q0.style.alignSelf,RZ=a0+C7,g7=j0-q0._crossSize-C7-S7;if(lZ&&xZ)RZ+=Math.max(0,g7)/2;else if(lZ)RZ+=Math.max(0,g7);else if(xZ);else switch(k7){case V0.FlexStart:case V0.Stretch:if(WZ)RZ+=g7;break;case V0.Center:RZ+=g7/2;break;case V0.FlexEnd:if(!WZ)RZ+=g7;break;case V0.Baseline:if(rZ)RZ=a0+g0[a]-_z(q0);break;default:break}let x4=0,v7=0;if(q0._hasPosition){let o7=DZ(R4(q0.style.position,E7),JZ),j5=DZ(R4(q0.style.position,z4),JZ),b8=DZ(R4(q0.style.position,$4),JZ),b4=DZ(R4(q0.style.position,A8),JZ);x4=D0(o7)?o7:D0(j5)?-j5:0,v7=D0(b8)?b8:D0(b4)?-b4:0}if(h)q0.layout.left=v4+x4,q0.layout.top=RZ+v7;else q0.layout.left=RZ+x4,q0.layout.top=v4+v7;LZ+=q0._mainSize+$Z+H4+_7}T0+=j0+BZ}for(let a of N7)ZN(Z,a,Z.layout.width,Z.layout.height,R,W)}function ZN(Z,K,G,z,q,Y){let j=K.style,H=R4(j.position,E7),D=R4(j.position,z4),V=R4(j.position,$4),A=R4(j.position,A8),M=DZ(H,G),F=DZ(D,G),_=DZ(V,z),R=DZ(A,z),W=G-Y[0]-Y[2],E=z-Y[1]-Y[3],T=DZ(j.width,W),$=DZ(j.height,E);if(!D0(T)&&D0(M)&&D0(F))T=W-M-F;if(!D0($)&&D0(_)&&D0(R))$=E-_-R;N6(K,T,$,D0(T)?F0.Exactly:F0.Undefined,D0($)?F0.Exactly:F0.Undefined,W,E,!0);let I=J5(j.margin,E7,G),y=J5(j.margin,$4,G),m=J5(j.margin,z4,G),b=J5(j.margin,A8,G),u=Z.style.flexDirection,f=WB(u),w=M6(u),i=Z.style.flexWrap===D8.WrapReverse,h=j.alignSelf===V0.Auto?Z.style.alignItems:j.alignSelf,l;if(D0(M))l=Y[0]+M+I;else if(D0(F))l=G-Y[2]-F-K.layout.width-m;else if(w){let n=q[0]+Y[0],N0=G-q[2]-Y[2];l=f?N0-K.layout.width-m:NB(Z.style.justifyContent,n,N0,K.layout.width)+I}else l=MB(h,q[0]+Y[0],G-q[2]-Y[2],K.layout.width,i)+I;let s;if(D0(_))s=Y[1]+_+y;else if(D0(R))s=z-Y[3]-R-K.layout.height-b;else if(w)s=MB(h,q[1]+Y[1],z-q[3]-Y[3],K.layout.height,i)+y;else{let n=q[1]+Y[1],N0=z-q[3]-Y[3];s=f?N0-K.layout.height-b:NB(Z.style.justifyContent,n,N0,K.layout.height)+y}K.layout.left=l,K.layout.top=s}function NB(Z,K,G,z){switch(Z){case G7.Center:return K+(G-K-z)/2;case G7.FlexEnd:return G-z;default:return K}}function MB(Z,K,G,z,q){switch(Z){case V0.Center:return K+(G-K-z)/2;case V0.FlexEnd:return q?K:G-z;default:return q?G-z:K}}function JN(Z,K,G,z,q,Y,j){if((Z._fbGen===Q5||!Z.isDirty_)&&Z._fbCrossMode===q&&D7(Z._fbOwnerW,Y)&&D7(Z._fbOwnerH,j)&&D7(Z._fbAvailMain,G)&&D7(Z._fbAvailCross,z))return Z._fbBasis;let D=Z.style,V=M6(K),A=DZ(D.flexBasis,G);if(D0(A)){let w=Math.max(0,A);return Z._fbBasis=w,Z._fbOwnerW=Y,Z._fbOwnerH=j,Z._fbAvailMain=G,Z._fbAvailCross=z,Z._fbCrossMode=q,Z._fbGen=Q5,w}let M=V?D.width:D.height,_=DZ(M,V?Y:j);if(D0(_)){let w=Math.max(0,_);return Z._fbBasis=w,Z._fbOwnerW=Y,Z._fbOwnerH=j,Z._fbAvailMain=G,Z._fbAvailCross=z,Z._fbCrossMode=q,Z._fbGen=Q5,w}let R=V?D.height:D.width,E=DZ(R,V?j:Y),T=D0(E)?F0.Exactly:F0.Undefined;if(!D0(E)&&D0(z))E=z,T=q===F0.Exactly&&KN(Z)?F0.Exactly:F0.AtMost;let $=NaN,I=F0.Undefined;if(V&&D0(G)&&$B(Z))$=G,I=F0.AtMost;N6(Z,V?$:E,V?E:$,V?I:T,V?T:I,Y,j,!1);let f=V?Z.layout.width:Z.layout.height;return Z._fbBasis=f,Z._fbOwnerW=Y,Z._fbOwnerH=j,Z._fbAvailMain=G,Z._fbAvailCross=z,Z._fbCrossMode=q,Z._fbGen=Q5,f}function $B(Z){if(Z.measureFunc)return!0;for(let K of Z.children)if($B(K))return!0;return!1}function QN(Z,K,G,z,q,Y){let j=Z.length,H=Array(j).fill(!1),D=D0(K)?K-G:0;for(let A=0;A<j;A++){let M=Z[A],F=L4(M.style,z,M._flexBasis,q,Y);if(!D0(K)||(D>=0?M.style.flexGrow===0:M.style.flexShrink===0))M._mainSize=Math.max(0,F),H[A]=!0;else M._mainSize=M._flexBasis}let V=Array(j);for(let A=0;A<=j;A++){let M=0,F=0,_=0,R=0;for(let $=0;$<j;$++){let I=Z[$];if(H[$])M+=I._mainSize-I._flexBasis;else F+=I.style.flexGrow,_+=I.style.flexShrink*I._flexBasis,R++}if(R===0)break;let W=D-M;if(W>0&&F>0&&F<1){let $=D*F;if($<W)W=$}else if(W<0&&_>0){let $=0;for(let I=0;I<j;I++)if(!H[I])$+=Z[I].style.flexShrink;if($<1){let I=D*$;if(I>W)W=I}}let E=0;for(let $=0;$<j;$++){if(H[$])continue;let I=Z[$],y=I._flexBasis;if(W>0&&F>0)y+=W*I.style.flexGrow/F;else if(W<0&&_>0)y+=W*(I.style.flexShrink*I._flexBasis)/_;V[$]=y;let m=Math.max(0,L4(I.style,z,y,q,Y));I._mainSize=m,E+=m-y}if(E===0)break;let T=!1;for(let $=0;$<j;$++){if(H[$])continue;let I=Z[$]._mainSize-V[$];if(E>0&&I>0||E<0&&I<0)H[$]=!0,T=!0}if(!T)break}}function KN(Z){let K=Z.parent;if(!K)return!1;return(Z.style.alignSelf===V0.Auto?K.style.alignItems:Z.style.alignSelf)===V0.Stretch}function RB(Z,K){return K.style.alignSelf===V0.Auto?Z.style.alignItems:K.style.alignSelf}function _z(Z){let K=null;for(let G of Z.children){if(G._lineIndex>0)break;if(G.style.positionType===l5.Absolute)continue;if(G.style.display===H8.None)continue;if(RB(Z,G)===V0.Baseline||G.isReferenceBaseline_){K=G;break}if(K===null)K=G}if(K===null)return Z.layout.height;return _z(K)+K.layout.top}function GN(Z,K){if(!M6(Z.style.flexDirection))return!1;if(Z.style.alignItems===V0.Baseline)return!0;for(let G of K)if(G.style.alignSelf===V0.Baseline)return!0;return!1}function HK(Z,K,G){if(!Z._hasMargin)return 0;let z=J5(Z.style.margin,Az(K),G),q=J5(Z.style.margin,Nz(K),G);return z+q}function _B(Z,K,G){let z=Z.gap[K];if(z.unit===tZ.Undefined)z=Z.gap[f4.All];let q=DZ(z,G);return D0(q)?Math.max(0,q):0}function L4(Z,K,G,z,q){let Y=K?Z.minWidth:Z.minHeight,j=K?Z.maxWidth:Z.maxHeight,H=Y.unit,D=j.unit;if(H===0&&D===0)return G;let V=K?z:q,A=G;if(D===1){if(A>j.value)A=j.value}else if(D===2){let M=j.value*V/100;if(M===M&&A>M)A=M}if(H===1){if(A<Y.value)A=Y.value}else if(H===2){let M=Y.value*V/100;if(M===M&&A<M)A=M}return A}function EB(Z){for(let K of Z.children)K.layout.left=0,K.layout.top=0,K.layout.width=0,K.layout.height=0,K.isDirty_=!0,K._hasL=!1,K._hasM=!1,EB(K)}function TB(Z,K,G){for(let z of Z.children){let q=z.style.display;if(q===H8.None)z.layout.left=0,z.layout.top=0,z.layout.width=0,z.layout.height=0,EB(z);else if(q===H8.Contents)z.layout.left=0,z.layout.top=0,z.layout.width=0,z.layout.height=0,TB(z,K,G);else if(z.style.positionType===l5.Absolute)G.push(z);else K.push(z)}}function CB(Z,K,G,z){if(K===0)return;let q=Z.layout,Y=q.left,j=q.top,H=q.width,D=q.height,V=G+Y,A=z+j,M=Z.measureFunc!==null;q.left=oJ(Y,K,!1,M),q.top=oJ(j,K,!1,M);let F=V+H,_=A+D,R=!FB(H*K),W=!FB(D*K);q.width=oJ(F,K,M&&R,M&&!R)-oJ(V,K,!1,M),q.height=oJ(_,K,M&&W,M&&!W)-oJ(A,K,!1,M);for(let E of Z.children)CB(E,K,V,A)}function FB(Z){let K=Z-Math.floor(Z);return K<0.0001||K>0.9999}function oJ(Z,K,G,z){let q=Z*K,Y=q-Math.floor(q);if(Y<0)Y+=1;if(Y<0.0001)q=Math.floor(q);else if(Y>0.9999)q=Math.ceil(q);else if(G)q=Math.ceil(q);else if(z)q=Math.floor(q);else q=Math.floor(q)+(Y>=0.4999?1:0);return q/K}function W4(Z){if(Z===void 0)return i7;if(Z==="auto")return V8;if(typeof Z==="number")return Number.isFinite(Z)?VK(Z):i7;if(typeof Z==="string"&&Z.endsWith("%"))return X4(parseFloat(Z));let K=parseFloat(Z);return isNaN(K)?i7:VK(K)}function Vz(Z){switch(Z){case r0.Left:case r0.Start:return E7;case r0.Top:return $4;case r0.Right:case r0.End:return z4;case r0.Bottom:return A8;default:return E7}}var i7,V8,E7=0,$4=1,z4=2,A8=3,eA,OK=4,Q5=0,Fz=0,Wz=0,A6=0,Mz=0,XN,SB;var NK=P(()=>{DB();i7={unit:tZ.Undefined,value:NaN},V8={unit:tZ.Auto,value:NaN};eA=LB();XN={Config:{create:LB,destroy(){}},Node:{create:(Z)=>new DK(Z),createDefault:()=>new DK,createWithConfig:(Z)=>new DK(Z),destroy(){}}},SB=XN});function zN(){if(process.env.TERM_PROGRAM==="vscode"&&K0.level===2)return K0.level=3,!0;return!1}function UN(){if(process.env.CLAUDE_CODE_TMUX_TRUECOLOR)return!1;if(process.env.TMUX&&K0.level>2)return K0.level=2,!0;return!1}function rJ(Z,K){let G=Z;if(K.inverse)G=K0.inverse(G);if(K.strikethrough)G=K0.strikethrough(G);if(K.underline)G=K0.underline(G);if(K.italic)G=K0.italic(G);if(K.bold)G=K0.bold(G);if(K.dim)G=K0.dim(G);if(K.color)G=K5(G,K.color,"foreground");if(K.backgroundColor)G=K5(G,K.backgroundColor,"background");return G}function MK(Z,K){if(!K)return Z;return K5(Z,K,"foreground")}var EL,TL,qN,BN,K5=(Z,K,G)=>{if(!K)return Z;if(K.startsWith("ansi:"))switch(K.substring(5)){case"black":return G==="foreground"?K0.black(Z):K0.bgBlack(Z);case"red":return G==="foreground"?K0.red(Z):K0.bgRed(Z);case"green":return G==="foreground"?K0.green(Z):K0.bgGreen(Z);case"yellow":return G==="foreground"?K0.yellow(Z):K0.bgYellow(Z);case"blue":return G==="foreground"?K0.blue(Z):K0.bgBlue(Z);case"magenta":return G==="foreground"?K0.magenta(Z):K0.bgMagenta(Z);case"cyan":return G==="foreground"?K0.cyan(Z):K0.bgCyan(Z);case"white":return G==="foreground"?K0.white(Z):K0.bgWhite(Z);case"blackBright":return G==="foreground"?K0.blackBright(Z):K0.bgBlackBright(Z);case"redBright":return G==="foreground"?K0.redBright(Z):K0.bgRedBright(Z);case"greenBright":return G==="foreground"?K0.greenBright(Z):K0.bgGreenBright(Z);case"yellowBright":return G==="foreground"?K0.yellowBright(Z):K0.bgYellowBright(Z);case"blueBright":return G==="foreground"?K0.blueBright(Z):K0.bgBlueBright(Z);case"magentaBright":return G==="foreground"?K0.magentaBright(Z):K0.bgMagentaBright(Z);case"cyanBright":return G==="foreground"?K0.cyanBright(Z):K0.bgCyanBright(Z);case"whiteBright":return G==="foreground"?K0.whiteBright(Z):K0.bgWhiteBright(Z)}if(K.startsWith("#"))return G==="foreground"?K0.hex(K)(Z):K0.bgHex(K)(Z);if(K.startsWith("ansi256")){let z=BN.exec(K);if(!z)return Z;let q=Number(z[1]);return G==="foreground"?K0.ansi256(q)(Z):K0.bgAnsi256(q)(Z)}if(K.startsWith("rgb")){let z=qN.exec(K);if(!z)return Z;let q=Number(z[1]),Y=Number(z[2]),j=Number(z[3]);return G==="foreground"?K0.rgb(q,Y,j)(Z):K0.bgRgb(q,Y,j)(Z)}return Z};var _6=P(()=>{Lz();EL=zN(),TL=UN(),qN=/^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/,BN=/^ansi256\(\s?(\d+)\s?\)$/});import{spawnSync as YN}from"child_process";function jN(){if(!process.env.TMUX)return!1;if(process.env.TERM_PROGRAM!=="iTerm.app")return!1;let Z=process.env.TERM??"";return!Z.startsWith("screen")&&!Z.startsWith("tmux")}function ON(){if(F6=jN(),F6)return;if(!process.env.TMUX)return;if(process.env.TERM_PROGRAM)return;let Z;try{Z=YN("tmux",["display-message","-p","#{client_control_mode}"],{encoding:"utf8",timeout:2000})}catch{return}if(Z.status!==0)return;F6=Z.stdout.trim()==="1"}function yB(){if(F6===void 0)ON();return F6??!1}function HN(){if(IB(process.env.CLAUDE_CODE_NO_FLICKER))return!1;if(N8(process.env.CLAUDE_CODE_NO_FLICKER))return!0;if(yB()){if(!vB)vB=!0,KZ("fullscreen disabled: tmux -CC (iTerm2 integration mode) detected · set CLAUDE_CODE_NO_FLICKER=1 to override");return!1}let Z=QK().flickerFreeMode;if(Z!==void 0)return Z;return!1}function yL(){return!N8(process.env.CLAUDE_CODE_DISABLE_MOUSE)}function mB(){return N8(process.env.CLAUDE_CODE_DISABLE_MOUSE_CLICKS)}function DN(){return bB()&&HN()}async function mL(){if(!process.env.TMUX)return null;if(!DN()||yB())return null;if(xB)return null;xB=!0;let{stdout:Z,code:K}=await U4("tmux",["show","-Av","mouse"],{useCwd:!1,timeout:2000});if(K!==0||Z.trim()==="on")return null;return"tmux detected · scroll with PgUp/PgDn · or add 'set -g mouse on' to ~/.tmux.conf for wheel scroll"}var vB=!1,xB=!1,F6;var fB=P(()=>{$z();o3();G5();Rz();PB()});function eJ(Z){let K="ground",G="",z=Z?.x10Mouse??!1;return{feed(q){let Y=wB(q,K,G,!1,z);return K=Y.state.state,G=Y.state.buffer,Y.tokens},flush(){let q=wB("",K,G,!0,z);return K=q.state.state,G=q.state.buffer,q.tokens},reset(){K="ground",G=""},buffer(){return G}}}function wB(Z,K,G,z,q){let Y=[],j={state:K,buffer:""},H=G+Z,D=0,V=0,A=0,M=()=>{if(D>V){let _=H.slice(V,D);if(_)Y.push({type:"text",value:_})}V=D},F=(_)=>{if(_)Y.push({type:"sequence",value:_});j.state="ground",V=D};while(D<H.length){let _=H.charCodeAt(D);switch(j.state){case"ground":if(_===k4.ESC)M(),A=D,j.state="escape",D++;else D++;break;case"escape":if(_===M8.CSI)j.state="csi",D++;else if(_===M8.OSC)j.state="osc",D++;else if(_===M8.DCS)j.state="dcs",D++;else if(_===M8.APC)j.state="apc",D++;else if(_===79)j.state="ss3",D++;else if(_K(_))j.state="escapeIntermediate",D++;else if(Ez(_))D++,F(H.slice(A,D));else if(_===k4.ESC)F(H.slice(A,D)),A=D,j.state="escape",D++;else j.state="ground",V=A;break;case"escapeIntermediate":if(_K(_))D++;else if(Ez(_))D++,F(H.slice(A,D));else j.state="ground",V=A;break;case"csi":if(q&&_===77&&D-A===2&&(D+1>=H.length||H.charCodeAt(D+1)>=32)&&(D+2>=H.length||H.charCodeAt(D+2)>=32)&&(D+3>=H.length||H.charCodeAt(D+3)>=32)){if(D+4<=H.length)D+=4,F(H.slice(A,D));else D=H.length;break}if(gB(_))D++,F(H.slice(A,D));else if(kB(_)||_K(_))D++;else j.state="ground",V=A;break;case"ss3":if(_>=64&&_<=126)D++,F(H.slice(A,D));else j.state="ground",V=A;break;case"osc":if(_===k4.BEL)D++,F(H.slice(A,D));else if(_===k4.ESC&&D+1<H.length&&H.charCodeAt(D+1)===M8.ST)D+=2,F(H.slice(A,D));else D++;break;case"dcs":case"apc":if(_===k4.BEL)D++,F(H.slice(A,D));else if(_===k4.ESC&&D+1<H.length&&H.charCodeAt(D+1)===M8.ST)D+=2,F(H.slice(A,D));else D++;break}}if(j.state==="ground")M();else if(z){let _=H.slice(A);if(_)Y.push({type:"sequence",value:_});j.state="ground"}else j.buffer=H.slice(A);return{tokens:Y,state:j}}var FK=P(()=>{W6();_8()});import{Buffer as VN}from"buffer";function hB(Z){return{kind:"key",name:"",fn:!1,ctrl:!1,meta:!1,shift:!1,option:!1,super:!1,sequence:Z,raw:Z,isPasted:!0}}function CN(Z){if(Z.startsWith("\x1B[")){let K;if(K=FN.exec(Z))return{type:"decrpm",mode:parseInt(K[1],10),status:parseInt(K[2],10)};if(K=WN.exec(Z))return{type:"da1",params:uB(K[1])};if(K=LN.exec(Z))return{type:"da2",params:uB(K[1])};if(K=$N.exec(Z))return{type:"kittyKeyboard",flags:parseInt(K[1],10)};if(K=RN.exec(Z))return{type:"cursorPosition",row:parseInt(K[1],10),col:parseInt(K[2],10)};return null}if(Z.startsWith("\x1B]")){let K=EN.exec(Z);if(K)return{type:"osc",code:parseInt(K[1],10),data:K[2]}}if(Z.startsWith("\x1BP")){let K=TN.exec(Z);if(K)return{type:"xtversion",name:K[1]}}return null}function uB(Z){if(!Z)return[];return Z.split(";").map((K)=>parseInt(K,10))}function SN(Z){if(VN.isBuffer(Z))if(Z[0]>127&&Z[1]===void 0)return Z[0]-=128,"\x1B"+String(Z);else return String(Z);else if(Z!==void 0&&typeof Z!=="string")return String(Z);else if(!Z)return"";else return Z}function nB(Z,K=""){let G=K===null,z=G?"":SN(K),q=Z._tokenizer??eJ({x10Mouse:!0}),Y=G?q.flush():q.feed(z),j=[],H=Z.mode==="IN_PASTE",D=Z.pasteBuffer;for(let A of Y)if(A.type==="sequence")if(A.value===dB)H=!0,D="";else if(A.value===aB)j.push(hB(D)),H=!1,D="";else if(H)D+=A.value;else{let M=CN(A.value);if(M)j.push({kind:"response",sequence:A.value,response:M});else{let F=lB(A.value);if(F)j.push(F);else j.push(Tz(A.value))}}else if(A.type==="text")if(H)D+=A.value;else if(/^\[<\d+;\d+;\d+[Mm]$/.test(A.value)||/^\[M[\x60-\x7f][\x20-\uffff]{2}$/.test(A.value)){let M="\x1B"+A.value,F=lB(M);j.push(F??Tz(M))}else j.push(Tz(A.value));if(G&&H&&D)j.push(hB(D)),H=!1,D="";let V={mode:H?"IN_PASTE":"NORMAL",incomplete:q.buffer(),pasteBuffer:D,_tokenizer:q};return[j,V]}function pB(Z){let K=Math.max(Z,1)-1;return{shift:!!(K&1),meta:!!(K&2),ctrl:!!(K&4),super:!!(K&8)}}function bN(Z){return Z>=57344&&Z<=63743||Z>=983040&&Z<=1048573||Z>=1048576&&Z<=1114109}function cB(Z){switch(Z){case 9:return"tab";case 13:return"return";case 27:return"escape";case 32:return"space";case 127:return"backspace";case 57399:return"0";case 57400:return"1";case 57401:return"2";case 57402:return"3";case 57403:return"4";case 57404:return"5";case 57405:return"6";case 57406:return"7";case 57407:return"8";case 57408:return"9";case 57409:return".";case 57410:return"/";case 57411:return"*";case 57412:return"-";case 57413:return"+";case 57414:return"return";case 57415:return"=";default:if(Z>=32&&Z<=126)return String.fromCharCode(Z).toLowerCase();if(Z>31&&Z!==127&&(Z<128||Z>159)&&Z<=1114111&&(Z<55296||Z>57343)&&!bN(Z))return String.fromCodePoint(Z);return}}function lB(Z){let K=iB.exec(Z);if(!K)return null;let G=parseInt(K[1],10);if((G&64)!==0)return null;return{kind:"mouse",button:G,action:K[4]==="M"?"press":"release",col:parseInt(K[2],10),row:parseInt(K[3],10),sequence:Z}}function Tz(Z=""){let K,G={kind:"key",name:"",fn:!1,ctrl:!1,meta:!1,shift:!1,option:!1,super:!1,sequence:Z,raw:Z,isPasted:!1};G.sequence=G.sequence||Z||G.name;let z;if(z=MN.exec(Z)){let q=parseInt(z[1],10),Y=z[2]?parseInt(z[2],10):1,j=pB(Y);return{kind:"key",name:cB(q),fn:!1,ctrl:j.ctrl,meta:j.meta,shift:j.shift,option:!1,super:j.super,sequence:Z,raw:Z,isPasted:!1}}if(z=_N.exec(Z)){let q=pB(parseInt(z[1],10));return{kind:"key",name:cB(parseInt(z[2],10)),fn:!1,ctrl:q.ctrl,meta:q.meta,shift:q.shift,option:!1,super:q.super,sequence:Z,raw:Z,isPasted:!1}}if(z=iB.exec(Z)){let q=parseInt(z[1],10);if((q&67)===64)return q4(Z,"wheelup",!1);if((q&67)===65)return q4(Z,"wheeldown",!1);return q4(Z,"mouse",!1)}if(Z.length===6&&Z.startsWith("\x1B[M")){let q=Z.charCodeAt(3)-32;if((q&67)===64)return q4(Z,"wheelup",!1);if((q&67)===65)return q4(Z,"wheeldown",!1);return q4(Z,"mouse",!1)}if(Z==="\r")G.raw=void 0,G.name="return";else if(Z===`
1
+ import{hV as mj,mV as __}from"./cli-0.1.15-svhrqvzp.mjs";import{nV as q_,pV as d1,sV as B_}from"./cli-0.1.15-pya8tbx3.mjs";import{EV as Q0,FV as e6,GV as m0}from"./cli-0.1.15-gxgy4enj.mjs";import{HV as n0}from"./cli-0.1.15-tp614m5f.mjs";import{$Y as vU,LY as k4,MY as C4,NY as c4,OY as qQ,PY as M8,QY as Ez,RY as W6,SY as kB,TY as _K,UY as gB,VY as HQ,WY as qZ,XY as OH,YY as HH,ZY as yU,_Y as r2,aZ as UJ,bZ as AQ,cZ as kG,dZ as e2,eZ as cj,fZ as lj,gZ as dj,hZ as aj,iZ as dB,jZ as aB,kZ as Pj,lZ as yj,mZ as Z9,nZ as zJ,oZ as J9,pZ as Q9,qZ as _8,rZ as Zj,tZ as U_}from"./cli-0.1.15-dcabmk2v.mjs";import{T3 as lO,U3 as K0,V3 as Lz}from"./cli-0.1.15-fmnyh9j9.mjs";import{f5 as IF,g5 as PF}from"./cli-0.1.15-w8q8f37x.mjs";import{T8 as DQ,U$ as t3,V8 as c1,X$ as QK,_5 as L8,d6 as M1,g6 as gO,h6 as XF,l6 as U4,n6 as PB,oaa as o3}from"./cli-0.1.15-4892kydg.mjs";import{Jda as eN,Kda as mY,Lda as fY,Mda as pY,Nda as wY,Oda as UQ,Pda as U1,Qda as X7,Rda as KQ}from"./cli-0.1.15-11sdbfxy.mjs";import{rea as bG,xea as GO}from"./cli-0.1.15-gqf82qvm.mjs";import{wfa as KZ,zfa as G5}from"./cli-0.1.15-nk50qhet.mjs";import{Dfa as N8,Efa as IB,Nfa as Rz}from"./cli-0.1.15-9pe3dbgs.mjs";import{Wga as UB,Xga as hA,dia as Ij,eia as kO,jja as bB,mla as $z}from"./cli-0.1.15-12azgmva.mjs";import{pla as ZB,qla as yA,vla as p5,wla as Bz}from"./cli-0.1.15-p5ty029c.mjs";import{$la as g5,Zla as U0,bma as P}from"./cli-0.1.15-mhbfhhf6.mjs";var R7=g5((fW,l3)=>{var RA=U0(n0()),XA=Object.create,r9=Object.defineProperty,zA=Object.getOwnPropertyDescriptor,UA=Object.getOwnPropertyNames,qA=Object.getPrototypeOf,BA=Object.prototype.hasOwnProperty,YA=(Z,K)=>{for(var G in K)r9(Z,G,{get:K[G],enumerable:!0})},p3=(Z,K,G,z)=>{if(K&&typeof K==="object"||typeof K==="function"){for(let q of UA(K))if(!BA.call(Z,q)&&q!==G)r9(Z,q,{get:()=>K[q],enumerable:!(z=zA(K,q))||z.enumerable})}return Z},jA=(Z,K,G)=>(G=Z!=null?XA(qA(Z)):{},p3(K||!Z||!Z.__esModule?r9(G,"default",{value:Z,enumerable:!0}):G,Z)),OA=(Z)=>p3(r9({},"__esModule",{value:!0}),Z),c3={};YA(c3,{$dispatcherGuard:()=>AA,$makeReadOnly:()=>MA,$reset:()=>NA,$structuralCheck:()=>$A,c:()=>VA,clearRenderCounterRegistry:()=>_A,renderCounterRegistry:()=>j6,useRenderCounter:()=>LA});l3.exports=OA(c3);var nJ=jA(RA),{useRef:HA,useEffect:DA,isValidElement:iJ}=nJ,g3,Kz=(g3=nJ.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)!=null?g3:nJ.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Gz=Symbol.for("react.memo_cache_sentinel"),h3,VA=typeof((h3=nJ.__COMPILER_RUNTIME)==null?void 0:h3.c)==="function"?nJ.__COMPILER_RUNTIME.c:function(K){return nJ.useMemo(()=>{let G=Array(K);for(let z=0;z<K;z++)G[z]=Gz;return G[Gz]=!0,G},[])},o9={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach((Z)=>{o9[Z]=()=>{throw Error(`[React] Unexpected React hook call (${Z}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var Y6=null;o9.useMemoCache=(Z)=>{if(Y6==null)throw Error("React Compiler internal invariant violation: unexpected null dispatcher");else return Y6.useMemoCache(Z)};function t9(Z){return Kz.ReactCurrentDispatcher.current=Z,Kz.ReactCurrentDispatcher.current}var sJ=[];function AA(Z){let K=Kz.ReactCurrentDispatcher.current;if(Z===0){if(sJ.push(K),sJ.length===1)Y6=K;if(K===o9)throw Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");t9(o9)}else if(Z===1){let G=sJ.pop();if(G==null)throw Error("React Compiler internal error: unexpected null in guard stack");if(sJ.length===0)Y6=null;t9(G)}else if(Z===2)sJ.push(K),t9(Y6);else if(Z===3){let G=sJ.pop();if(G==null)throw Error("React Compiler internal error: unexpected null in guard stack");t9(G)}else throw Error("React Compiler internal error: unreachable block"+Z)}function NA(Z){for(let K=0;K<Z.length;K++)Z[K]=Gz}function MA(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var j6=new Map;function _A(){for(let Z of j6.values())Z.forEach((K)=>{K.count=0})}function FA(Z,K){let G=j6.get(Z);if(G==null)G=new Set,j6.set(Z,G);G.add(K)}function WA(Z,K){let G=j6.get(Z);if(G==null)return;G.delete(K)}function LA(Z){let K=HA(null);if(K.current!=null)K.current.count+=1;DA(()=>{if(K.current==null){let G={count:0};FA(Z,G),K.current=G}return()=>{if(K.current!==null)WA(Z,K.current)}})}var u3=new Set;function $A(Z,K,G,z,q,Y){function j(V,A,M,F){let _=`${z}:${Y} [${q}] ${G}${M} changed from ${V} to ${A} at depth ${F}`;if(u3.has(_))return;u3.add(_),console.error(_)}let H=2;function D(V,A,M,F){if(F>H)return;else if(V===A)return;else if(typeof V!==typeof A)j(`type ${typeof V}`,`type ${typeof A}`,M,F);else if(typeof V==="object"){let _=Array.isArray(V),R=Array.isArray(A);if(V===null&&A!==null)j("null",`type ${typeof A}`,M,F);else if(A===null)j(`type ${typeof V}`,"null",M,F);else if(V instanceof Map)if(!(A instanceof Map))j("Map instance","other value",M,F);else if(V.size!==A.size)j(`Map instance with size ${V.size}`,`Map instance with size ${A.size}`,M,F);else for(let[W,E]of V)if(!A.has(W))j(`Map instance with key ${W}`,`Map instance without key ${W}`,M,F);else D(E,A.get(W),`${M}.get(${W})`,F+1);else if(A instanceof Map)j("other value","Map instance",M,F);else if(V instanceof Set){if(!(A instanceof Set))j("Set instance","other value",M,F);else if(V.size!==A.size)j(`Set instance with size ${V.size}`,`Set instance with size ${A.size}`,M,F);else for(let W of A)if(!V.has(W))j(`Set instance without element ${W}`,`Set instance with element ${W}`,M,F)}else if(A instanceof Set)j("other value","Set instance",M,F);else if(_||R)if(_!==R)j(`type ${_?"array":"object"}`,`type ${R?"array":"object"}`,M,F);else if(V.length!==A.length)j(`array with length ${V.length}`,`array with length ${A.length}`,M,F);else for(let W=0;W<V.length;W++)D(V[W],A[W],`${M}[${W}]`,F+1);else if(iJ(V)||iJ(A))if(iJ(V)!==iJ(A))j(`type ${iJ(V)?"React element":"object"}`,`type ${iJ(A)?"React element":"object"}`,M,F);else if(V.type!==A.type)j(`React element of type ${V.type}`,`React element of type ${A.type}`,M,F);else D(V.props,A.props,`[props of ${M}]`,F+1);else{for(let W in A)if(!(W in V))j(`object without key ${W}`,`object with key ${W}`,M,F);for(let W in V)if(!(W in A))j(`object with key ${W}`,`object without key ${W}`,M,F);else D(V[W],A[W],`${M}.${W}`,F+1)}}else if(typeof V==="function")return;else if(isNaN(V)||isNaN(A)){if(isNaN(V)!==isNaN(A))j(`${isNaN(V)?"NaN":"non-NaN value"}`,`${isNaN(A)?"NaN":"non-NaN value"}`,M,F)}else if(V!==A)j(V,A,M,F)}D(Z,K,"",0)}});class G4{_didStopImmediatePropagation=!1;didStopImmediatePropagation(){return this._didStopImmediatePropagation}stopImmediatePropagation(){this._didStopImmediatePropagation=!0}}var h5=()=>{};import{EventEmitter as EA}from"events";var tJ;var e9=P(()=>{h5();tJ=class tJ extends EA{constructor(){super();this.setMaxListeners(0)}emit(Z,...K){if(Z==="error")return super.emit(Z,...K);let G=this.rawListeners(Z);if(G.length===0)return!1;let z=K[0]instanceof G4?K[0]:null;for(let q of G)if(q.apply(this,K),z?.didStopImmediatePropagation())break;return!0}}});var d3,a3,u5;var ZK=P(()=>{e9();d3=U0(n0(),1),a3=d3.createContext({stdin:process.stdin,internal_eventEmitter:new tJ,setRawMode(){},isRawModeSupported:!1,internal_exitOnCtrlC:!0,internal_querier:null});a3.displayName="InternalStdinContext";u5=a3});var i3,TA=()=>i3.useContext(u5),O6;var JK=P(()=>{ZK();i3=U0(n0(),1),O6=TA});function H6(){if(Xz===void 0)Xz=CA()??"dark";return Xz}function dW(Z){if(Z==="auto")return H6();return Z}function CA(){let Z=process.env.COLORFGBG;if(!Z)return;let K=Z.split(";"),G=K[K.length-1];if(G===void 0||G==="")return;let z=Number(G);if(!Number.isInteger(z)||z<0||z>15)return;return z<=6||z===8?"dark":"light"}var Xz;var s3=()=>{};function SA(){return QK().theme}function vA(Z){t3((K)=>({...K,theme:Z}))}function Uz({children:Z,initialState:K,onThemeSave:G=vA}){let[z,q]=f7.useState(K??SA),[Y,j]=f7.useState(null),[H,D]=f7.useState(()=>(K??z)==="auto"?H6():"dark"),V=Y??z,{internal_querier:A}=O6();f7.useEffect(()=>{},[V,A]);let M=V==="auto"?H:V,F=f7.useMemo(()=>({themeSetting:z,setThemeSetting:(_)=>{if(q(_),j(null),_==="auto")D(H6());G?.(_)},setPreviewTheme:(_)=>{if(j(_),_==="auto")D(H6())},savePreview:()=>{if(Y!==null)q(Y),j(null),G?.(Y)},cancelPreview:()=>{if(Y!==null)j(null)},currentTheme:M}),[z,Y,M,G]);return Q0(KK.Provider,{value:F,children:Z})}function D6(){let Z=zz.c(3),{currentTheme:K,setThemeSetting:G}=f7.useContext(KK),z;if(Z[0]!==K||Z[1]!==G)z=[K,G],Z[0]=K,Z[1]=G,Z[2]=z;else z=Z[2];return z}function xA(){return f7.useContext(KK).themeSetting}function bA(){let Z=zz.c(4),{setPreviewTheme:K,savePreview:G,cancelPreview:z}=f7.useContext(KK),q;if(Z[0]!==z||Z[1]!==G||Z[2]!==K)q={setPreviewTheme:K,savePreview:G,cancelPreview:z},Z[0]=z,Z[1]=G,Z[2]=K,Z[3]=q;else q=Z[3];return q}var zz,f7,n3="dark",KK;var V6=P(()=>{JK();o3();s3();m0();zz=U0(R7(),1),f7=U0(n0(),1),KK=f7.createContext({themeSetting:n3,setThemeSetting:()=>{},setPreviewTheme:()=>{},savePreview:()=>{},cancelPreview:()=>{},currentTheme:n3})});function qz(Z,{include:K,exclude:G}={}){let z=(q)=>{let Y=(j)=>typeof j==="string"?q===j:j.test(q);if(K)return K.some(Y);if(G)return!G.some(Y);return!0};for(let[q,Y]of IA(Z.constructor.prototype)){if(Y==="constructor"||!z(Y))continue;let j=Reflect.getOwnPropertyDescriptor(q,Y);if(j&&typeof j.value==="function")Z[Y]=Z[Y].bind(Z)}return Z}var IA=(Z)=>{let K=new Set;do for(let G of Reflect.ownKeys(Z))K.add([Z,G]);while((Z=Reflect.getPrototypeOf(Z))&&Z!==Object.prototype);return K};var r3=()=>{};function PA(){}var GK;var e3=P(()=>{GK=PA});var mA=function(){return ZB.Date.now()},XK;var JB=P(()=>{yA();XK=mA});function wA(Z){var K=Z.length;while(K--&&fA.test(Z.charAt(K)));return K}var fA,QB;var KB=P(()=>{fA=/\s/;QB=wA});function gA(Z){return Z?Z.slice(0,QB(Z)+1).replace(kA,""):Z}var kA,GB;var XB=P(()=>{KB();kA=/^\s+/;GB=gA});function dA(Z){if(typeof Z=="number")return Z;if(UB(Z))return zB;if(p5(Z)){var K=typeof Z.valueOf=="function"?Z.valueOf():Z;Z=p5(K)?K+"":K}if(typeof Z!="string")return Z===0?Z:+Z;Z=GB(Z);var G=pA.test(Z);return G||cA.test(Z)?lA(Z.slice(2),G?2:8):uA.test(Z)?zB:+Z}var zB=NaN,uA,pA,cA,lA,Yz;var qB=P(()=>{XB();Bz();hA();uA=/^[-+]0x[0-9a-f]+$/i,pA=/^0b[01]+$/i,cA=/^0o[0-7]+$/i,lA=parseInt;Yz=dA});function nA(Z,K,G){var z,q,Y,j,H,D,V=0,A=!1,M=!1,F=!0;if(typeof Z!="function")throw TypeError(aA);if(K=Yz(K)||0,p5(G))A=!!G.leading,M="maxWait"in G,Y=M?iA(Yz(G.maxWait)||0,K):Y,F="trailing"in G?!!G.trailing:F;function _(b){var u=z,f=q;return z=q=void 0,V=b,j=Z.apply(f,u),j}function R(b){return V=b,H=setTimeout(T,K),A?_(b):j}function W(b){var u=b-D,f=b-V,w=K-u;return M?sA(w,Y-f):w}function E(b){var u=b-D,f=b-V;return D===void 0||u>=K||u<0||M&&f>=Y}function T(){var b=XK();if(E(b))return $(b);H=setTimeout(T,W(b))}function $(b){if(H=void 0,F&&z)return _(b);return z=q=void 0,j}function I(){if(H!==void 0)clearTimeout(H);V=0,z=D=q=H=void 0}function y(){return H===void 0?j:$(XK())}function m(){var b=XK(),u=E(b);if(z=arguments,q=this,D=b,u){if(H===void 0)return R(D);if(M)return clearTimeout(H),H=setTimeout(T,K),_(D)}if(H===void 0)H=setTimeout(T,K);return j}return m.cancel=I,m.flush=y,m}var aA="Expected a function",iA,sA,BB;var YB=P(()=>{Bz();JB();qB();iA=Math.max,sA=Math.min;BB=nA});function oA(Z,K,G){var z=!0,q=!0;if(typeof Z!="function")throw TypeError(tA);if(p5(G))z="leading"in G?!!G.leading:z,q="trailing"in G?!!G.trailing:q;return BB(Z,K,{leading:z,maxWait:K,trailing:q})}var tA="Expected a function",jB;var OB=P(()=>{YB();Bz();jB=oA});var zK=8,UK=32,jz=2,qK=0;var BK=()=>{};var V0,YK,H8,r0,HB,TZ,f4,G7,F0,c5,l5,tZ,D8;var DB=P(()=>{V0={Auto:0,FlexStart:1,Center:2,FlexEnd:3,Stretch:4,Baseline:5,SpaceBetween:6,SpaceAround:7,SpaceEvenly:8},YK={Inherit:0,LTR:1,RTL:2},H8={Flex:0,None:1,Contents:2},r0={Left:0,Top:1,Right:2,Bottom:3,Start:4,End:5,Horizontal:6,Vertical:7,All:8},HB={None:0,StretchFlexBasis:1,AbsolutePositionWithoutInsetsExcludesPadding:2,AbsolutePercentAgainstInnerSize:4,All:2147483647,Classic:2147483646},TZ={Column:0,ColumnReverse:1,Row:2,RowReverse:3},f4={Column:0,Row:1,All:2},G7={FlexStart:0,Center:1,FlexEnd:2,SpaceBetween:3,SpaceAround:4,SpaceEvenly:5},F0={Undefined:0,Exactly:1,AtMost:2},c5={Visible:0,Hidden:1,Scroll:2},l5={Static:0,Relative:1,Absolute:2},tZ={Undefined:0,Point:1,Percent:2,Auto:3},D8={NoWrap:0,Wrap:1,WrapReverse:2}});function VK(Z){return{unit:tZ.Point,value:Z}}function X4(Z){return{unit:tZ.Percent,value:Z}}function DZ(Z,K){switch(Z.unit){case tZ.Point:return Z.value;case tZ.Percent:return isNaN(K)?NaN:Z.value*K/100;default:return NaN}}function D0(Z){return!isNaN(Z)}function D7(Z,K){return Z===K||Z!==Z&&K!==K}function VB(){return{direction:YK.Inherit,flexDirection:TZ.Column,justifyContent:G7.FlexStart,alignItems:V0.Stretch,alignSelf:V0.Auto,alignContent:V0.FlexStart,flexWrap:D8.NoWrap,overflow:c5.Visible,display:H8.Flex,positionType:l5.Relative,flexGrow:0,flexShrink:0,flexBasis:V8,margin:[,,,,,,,,,].fill(i7),padding:[,,,,,,,,,].fill(i7),border:[,,,,,,,,,].fill(i7),position:[,,,,,,,,,].fill(i7),gap:[,,,].fill(i7),width:V8,height:V8,minWidth:i7,minHeight:i7,maxWidth:i7,maxHeight:i7}}function J5(Z,K,G,z=!1){let q=Z[K];if(q.unit===tZ.Undefined)if(K===E7||K===z4)q=Z[r0.Horizontal];else q=Z[r0.Vertical];if(q.unit===tZ.Undefined)q=Z[r0.All];if(q.unit===tZ.Undefined){if(K===E7)q=Z[r0.Start];if(K===z4)q=Z[r0.End]}if(q.unit===tZ.Undefined)return 0;if(q.unit===tZ.Auto)return z?NaN:0;return DZ(q,G)}function R4(Z,K){let G=Z[K];if(G.unit===tZ.Undefined)if(K===E7||K===z4)G=Z[r0.Horizontal];else G=Z[r0.Vertical];if(G.unit===tZ.Undefined)G=Z[r0.All];if(G.unit===tZ.Undefined){if(K===E7)G=Z[r0.Start];if(K===z4)G=Z[r0.End]}return G}function w4(Z,K){return R4(Z,K).unit===tZ.Auto}function AB(Z){for(let K=0;K<9;K++)if(Z[K].unit===3)return!0;return!1}function jK(Z){for(let K=0;K<9;K++)if(Z[K].unit!==0)return!0;return!1}function Oz(Z,K,G){let z=Z[6],q=Z[7],Y=Z[8],j=Z[4],H=Z[5],D=isNaN(K)?NaN:K/100,V=Z[0];if(V.unit===0)V=z;if(V.unit===0)V=Y;if(V.unit===0)V=j;if(G[0]=V.unit===1?V.value:V.unit===2?V.value*D:0,V=Z[1],V.unit===0)V=q;if(V.unit===0)V=Y;if(G[1]=V.unit===1?V.value:V.unit===2?V.value*D:0,V=Z[2],V.unit===0)V=z;if(V.unit===0)V=Y;if(V.unit===0)V=H;if(G[2]=V.unit===1?V.value:V.unit===2?V.value*D:0,V=Z[3],V.unit===0)V=q;if(V.unit===0)V=Y;G[3]=V.unit===1?V.value:V.unit===2?V.value*D:0}function M6(Z){return Z===TZ.Row||Z===TZ.RowReverse}function WB(Z){return Z===TZ.RowReverse||Z===TZ.ColumnReverse}function rA(Z){return M6(Z)?TZ.Column:TZ.Row}function Az(Z){switch(Z){case TZ.Row:return E7;case TZ.RowReverse:return z4;case TZ.Column:return $4;case TZ.ColumnReverse:return A8}}function Nz(Z){switch(Z){case TZ.Row:return z4;case TZ.RowReverse:return E7;case TZ.Column:return A8;case TZ.ColumnReverse:return $4}}function LB(){let Z={pointScaleFactor:1,errata:HB.None,useWebDefaults:!1,free(){},isExperimentalFeatureEnabled(){return!1},setExperimentalFeatureEnabled(){},setPointScaleFactor(K){Z.pointScaleFactor=K},getErrata(){return Z.errata},setErrata(K){Z.errata=K},setUseWebDefaults(K){Z.useWebDefaults=K}};return Z}class DK{style;layout;parent;children;measureFunc;config;isDirty_;isReferenceBaseline_;_flexBasis=0;_mainSize=0;_crossSize=0;_lineIndex=0;_hasAutoMargin=!1;_hasPosition=!1;_hasPadding=!1;_hasBorder=!1;_hasMargin=!1;_lW=NaN;_lH=NaN;_lWM=0;_lHM=0;_lOW=NaN;_lOH=NaN;_lFW=!1;_lFH=!1;_lOutW=NaN;_lOutH=NaN;_hasL=!1;_mW=NaN;_mH=NaN;_mWM=0;_mHM=0;_mOW=NaN;_mOH=NaN;_mOutW=NaN;_mOutH=NaN;_hasM=!1;_fbBasis=NaN;_fbOwnerW=NaN;_fbOwnerH=NaN;_fbAvailMain=NaN;_fbAvailCross=NaN;_fbCrossMode=0;_fbGen=-1;_cIn=null;_cOut=null;_cGen=-1;_cN=0;_cWr=0;constructor(Z){this.style=VB(),this.layout={left:0,top:0,width:0,height:0,border:[0,0,0,0],padding:[0,0,0,0],margin:[0,0,0,0]},this.parent=null,this.children=[],this.measureFunc=null,this.config=Z??eA,this.isDirty_=!0,this.isReferenceBaseline_=!1,Mz++}insertChild(Z,K){Z.parent=this,this.children.splice(K,0,Z),this.markDirty()}removeChild(Z){let K=this.children.indexOf(Z);if(K>=0)this.children.splice(K,1),Z.parent=null,this.markDirty()}getChild(Z){return this.children[Z]}getChildCount(){return this.children.length}getParent(){return this.parent}free(){this.parent=null,this.children=[],this.measureFunc=null,this._cIn=null,this._cOut=null,Mz--}freeRecursive(){for(let Z of this.children)Z.freeRecursive();this.free()}reset(){this.style=VB(),this.children=[],this.parent=null,this.measureFunc=null,this.isDirty_=!0,this._hasAutoMargin=!1,this._hasPosition=!1,this._hasPadding=!1,this._hasBorder=!1,this._hasMargin=!1,this._hasL=!1,this._hasM=!1,this._cN=0,this._cWr=0,this._fbBasis=NaN}markDirty(){if(this.isDirty_=!0,this.parent&&!this.parent.isDirty_)this.parent.markDirty()}isDirty(){return this.isDirty_}hasNewLayout(){return!0}markLayoutSeen(){}setMeasureFunc(Z){this.measureFunc=Z,this.markDirty()}unsetMeasureFunc(){this.measureFunc=null,this.markDirty()}getComputedLeft(){return this.layout.left}getComputedTop(){return this.layout.top}getComputedWidth(){return this.layout.width}getComputedHeight(){return this.layout.height}getComputedRight(){let Z=this.parent;return Z?Z.layout.width-this.layout.left-this.layout.width:0}getComputedBottom(){let Z=this.parent;return Z?Z.layout.height-this.layout.top-this.layout.height:0}getComputedLayout(){return{left:this.layout.left,top:this.layout.top,right:this.getComputedRight(),bottom:this.getComputedBottom(),width:this.layout.width,height:this.layout.height}}getComputedBorder(Z){return this.layout.border[Vz(Z)]}getComputedPadding(Z){return this.layout.padding[Vz(Z)]}getComputedMargin(Z){return this.layout.margin[Vz(Z)]}setWidth(Z){this.style.width=W4(Z),this.markDirty()}setWidthPercent(Z){this.style.width=X4(Z),this.markDirty()}setWidthAuto(){this.style.width=V8,this.markDirty()}setHeight(Z){this.style.height=W4(Z),this.markDirty()}setHeightPercent(Z){this.style.height=X4(Z),this.markDirty()}setHeightAuto(){this.style.height=V8,this.markDirty()}setMinWidth(Z){this.style.minWidth=W4(Z),this.markDirty()}setMinWidthPercent(Z){this.style.minWidth=X4(Z),this.markDirty()}setMinHeight(Z){this.style.minHeight=W4(Z),this.markDirty()}setMinHeightPercent(Z){this.style.minHeight=X4(Z),this.markDirty()}setMaxWidth(Z){this.style.maxWidth=W4(Z),this.markDirty()}setMaxWidthPercent(Z){this.style.maxWidth=X4(Z),this.markDirty()}setMaxHeight(Z){this.style.maxHeight=W4(Z),this.markDirty()}setMaxHeightPercent(Z){this.style.maxHeight=X4(Z),this.markDirty()}setFlexDirection(Z){this.style.flexDirection=Z,this.markDirty()}setFlexGrow(Z){this.style.flexGrow=Z??0,this.markDirty()}setFlexShrink(Z){this.style.flexShrink=Z??0,this.markDirty()}setFlex(Z){if(Z===void 0||isNaN(Z))this.style.flexGrow=0,this.style.flexShrink=0;else if(Z>0)this.style.flexGrow=Z,this.style.flexShrink=1,this.style.flexBasis=VK(0);else if(Z<0)this.style.flexGrow=0,this.style.flexShrink=-Z;else this.style.flexGrow=0,this.style.flexShrink=0;this.markDirty()}setFlexBasis(Z){this.style.flexBasis=W4(Z),this.markDirty()}setFlexBasisPercent(Z){this.style.flexBasis=X4(Z),this.markDirty()}setFlexBasisAuto(){this.style.flexBasis=V8,this.markDirty()}setFlexWrap(Z){this.style.flexWrap=Z,this.markDirty()}setAlignItems(Z){this.style.alignItems=Z,this.markDirty()}setAlignSelf(Z){this.style.alignSelf=Z,this.markDirty()}setAlignContent(Z){this.style.alignContent=Z,this.markDirty()}setJustifyContent(Z){this.style.justifyContent=Z,this.markDirty()}setDisplay(Z){this.style.display=Z,this.markDirty()}getDisplay(){return this.style.display}setPositionType(Z){this.style.positionType=Z,this.markDirty()}setPosition(Z,K){this.style.position[Z]=W4(K),this._hasPosition=jK(this.style.position),this.markDirty()}setPositionPercent(Z,K){this.style.position[Z]=X4(K),this._hasPosition=!0,this.markDirty()}setPositionAuto(Z){this.style.position[Z]=V8,this._hasPosition=!0,this.markDirty()}setOverflow(Z){this.style.overflow=Z,this.markDirty()}setDirection(Z){this.style.direction=Z,this.markDirty()}setBoxSizing(Z){}setMargin(Z,K){let G=W4(K);if(this.style.margin[Z]=G,G.unit===tZ.Auto)this._hasAutoMargin=!0;else this._hasAutoMargin=AB(this.style.margin);this._hasMargin=this._hasAutoMargin||jK(this.style.margin),this.markDirty()}setMarginPercent(Z,K){this.style.margin[Z]=X4(K),this._hasAutoMargin=AB(this.style.margin),this._hasMargin=!0,this.markDirty()}setMarginAuto(Z){this.style.margin[Z]=V8,this._hasAutoMargin=!0,this._hasMargin=!0,this.markDirty()}setPadding(Z,K){this.style.padding[Z]=W4(K),this._hasPadding=jK(this.style.padding),this.markDirty()}setPaddingPercent(Z,K){this.style.padding[Z]=X4(K),this._hasPadding=!0,this.markDirty()}setBorder(Z,K){this.style.border[Z]=K===void 0?i7:VK(K),this._hasBorder=jK(this.style.border),this.markDirty()}setGap(Z,K){this.style.gap[Z]=W4(K),this.markDirty()}setGapPercent(Z,K){this.style.gap[Z]=X4(K),this.markDirty()}getFlexDirection(){return this.style.flexDirection}getJustifyContent(){return this.style.justifyContent}getAlignItems(){return this.style.alignItems}getAlignSelf(){return this.style.alignSelf}getAlignContent(){return this.style.alignContent}getFlexGrow(){return this.style.flexGrow}getFlexShrink(){return this.style.flexShrink}getFlexBasis(){return this.style.flexBasis}getFlexWrap(){return this.style.flexWrap}getWidth(){return this.style.width}getHeight(){return this.style.height}getOverflow(){return this.style.overflow}getPositionType(){return this.style.positionType}getDirection(){return this.style.direction}copyStyle(Z){}setDirtiedFunc(Z){}unsetDirtiedFunc(){}setIsReferenceBaseline(Z){this.isReferenceBaseline_=Z,this.markDirty()}isReferenceBaseline(){return this.isReferenceBaseline_}setAspectRatio(Z){}getAspectRatio(){return NaN}setAlwaysFormsContainingBlock(Z){}calculateLayout(Z,K,G){Fz=0,Wz=0,A6=0,Q5++;let z=Z===void 0?NaN:Z,q=K===void 0?NaN:K;N6(this,z,q,D0(z)?F0.Exactly:F0.Undefined,D0(q)?F0.Exactly:F0.Undefined,z,q,!0);let Y=this.layout.margin,j=DZ(R4(this.style.position,E7),D0(z)?z:0),H=DZ(R4(this.style.position,$4),D0(z)?z:0);this.layout.left=Y[E7]+(D0(j)?j:0),this.layout.top=Y[$4]+(D0(H)?H:0),CB(this,this.config.pointScaleFactor,0,0)}}function Hz(Z,K,G,z,q,Y,j,H,D,V){if(!Z._cIn)Z._cIn=new Float64Array(OK*8),Z._cOut=new Float64Array(OK*2);if(V&&Z._cGen!==Q5)Z._cN=0,Z._cWr=0;let A=Z._cWr++%OK;if(Z._cN<OK)Z._cN=Z._cWr;let M=A*8,F=Z._cIn;F[M]=K,F[M+1]=G,F[M+2]=z,F[M+3]=q,F[M+4]=Y,F[M+5]=j,F[M+6]=H?1:0,F[M+7]=D?1:0,Z._cOut[A*2]=Z.layout.width,Z._cOut[A*2+1]=Z.layout.height,Z._cGen=Q5}function Dz(Z,K){if(K)Z._lOutW=Z.layout.width,Z._lOutH=Z.layout.height;else Z._mOutW=Z.layout.width,Z._mOutH=Z.layout.height}function AK(){return{visited:Fz,measured:Wz,cacheHits:A6,live:Mz}}function N6(Z,K,G,z,q,Y,j,H,D=!1,V=!1){Fz++;let{style:A,layout:M}=Z,F=Z._cGen===Q5&&!H;if(!Z.isDirty_||F){if(!Z.isDirty_&&Z._hasL&&Z._lWM===z&&Z._lHM===q&&Z._lFW===D&&Z._lFH===V&&D7(Z._lW,K)&&D7(Z._lH,G)&&D7(Z._lOW,Y)&&D7(Z._lOH,j)){A6++,M.width=Z._lOutW,M.height=Z._lOutH;return}if(Z._cN>0&&(F||!Z.isDirty_)){let a=Z._cIn;for(let W0=0;W0<Z._cN;W0++){let j0=W0*8;if(a[j0+2]===z&&a[j0+3]===q&&a[j0+6]===(D?1:0)&&a[j0+7]===(V?1:0)&&D7(a[j0],K)&&D7(a[j0+1],G)&&D7(a[j0+4],Y)&&D7(a[j0+5],j)){M.width=Z._cOut[W0*2],M.height=Z._cOut[W0*2+1],A6++;return}}}if(!Z.isDirty_&&!H&&Z._hasM&&Z._mWM===z&&Z._mHM===q&&D7(Z._mW,K)&&D7(Z._mH,G)&&D7(Z._mOW,Y)&&D7(Z._mOH,j)){M.width=Z._mOutW,M.height=Z._mOutH,A6++;return}}let _=Z.isDirty_;if(H){if(Z._lW=K,Z._lH=G,Z._lWM=z,Z._lHM=q,Z._lOW=Y,Z._lOH=j,Z._lFW=D,Z._lFH=V,Z._hasL=!0,Z.isDirty_=!1,_)Z._hasM=!1}else if(Z._mW=K,Z._mH=G,Z._mWM=z,Z._mHM=q,Z._mOW=Y,Z._mOH=j,Z._hasM=!0,_)Z._hasL=!1;let{padding:R,border:W,margin:E}=M;if(Z._hasPadding)Oz(A.padding,Y,R);else R[0]=R[1]=R[2]=R[3]=0;if(Z._hasBorder)Oz(A.border,Y,W);else W[0]=W[1]=W[2]=W[3]=0;if(Z._hasMargin)Oz(A.margin,Y,E);else E[0]=E[1]=E[2]=E[3]=0;let T=R[0]+R[2]+W[0]+W[2],$=R[1]+R[3]+W[1]+W[3],I=D?NaN:DZ(A.width,Y),y=V?NaN:DZ(A.height,j),m=K,b=G,u=z,f=q;if(D0(I))m=I,u=F0.Exactly;if(D0(y))b=y,f=F0.Exactly;if(m=L4(A,!0,m,Y,j),b=L4(A,!1,b,Y,j),Z.measureFunc&&Z.children.length===0){let a=u===F0.Undefined?NaN:Math.max(0,m-T),W0=f===F0.Undefined?NaN:Math.max(0,b-$);Wz++;let j0=Z.measureFunc(a,u,W0,f);Z.layout.width=u===F0.Exactly?m:L4(A,!0,(j0.width??0)+T,Y,j),Z.layout.height=f===F0.Exactly?b:L4(A,!1,(j0.height??0)+$,Y,j),Dz(Z,H),Hz(Z,K,G,z,q,Y,j,D,V,_);return}if(Z.children.length===0){Z.layout.width=u===F0.Exactly?m:L4(A,!0,T,Y,j),Z.layout.height=f===F0.Exactly?b:L4(A,!1,$,Y,j),Dz(Z,H),Hz(Z,K,G,z,q,Y,j,D,V,_);return}let w=A.flexDirection,i=rA(w),h=M6(w),l=h?m:b,s=h?b:m,n=h?u:f,N0=h?f:u,ZZ=h?T:$,u0=h?$:T,d0=D0(l)?Math.max(0,l-ZZ):NaN,p0=D0(s)?Math.max(0,s-u0):NaN,oZ=_B(A,h?f4.Column:f4.Row,d0),AZ=[],N7=[];TB(Z,AZ,N7);let JZ=D0(m)?m:NaN,_Z=D0(b)?b:NaN,NZ=A.flexWrap!==D8.NoWrap,q7=_B(A,h?f4.Row:f4.Column,p0);for(let a of AZ)a._flexBasis=JN(a,w,d0,p0,N0,JZ,_Z);let fZ=[];if(!NZ||!D0(d0)||AZ.length===0){for(let a of AZ)a._lineIndex=0;fZ.push(AZ)}else{let a=0,W0=0;for(let j0=0;j0<AZ.length;j0++){let YZ=AZ[j0],L0=L4(YZ.style,h,YZ._flexBasis,JZ,_Z),O0=Math.max(0,L0)+HK(YZ,w,JZ),_7=j0>a?oZ:0;if(j0>a&&W0+_7+O0>d0)fZ.push(AZ.slice(a,j0)),a=j0,W0=O0;else W0+=_7+O0;YZ._lineIndex=fZ.length}fZ.push(AZ.slice(a))}let x0=fZ.length,rZ=GN(Z,AZ),uZ=Array(x0),M7=Array(x0),g0=rZ?Array(x0).fill(0):[],c0=0,FZ=0;for(let a=0;a<x0;a++){let W0=fZ[a],j0=W0.length>1?oZ*(W0.length-1):0,YZ=j0;for(let $0 of W0)YZ+=$0._flexBasis+HK($0,w,JZ);let L0=d0;if(!D0(L0)){let $0=h?Y:j,I0=DZ(h?A.minWidth:A.minHeight,$0),a0=DZ(h?A.maxWidth:A.maxHeight,$0);if(D0(a0)&&YZ>a0-ZZ)L0=Math.max(0,a0-ZZ);else if(D0(I0)&&YZ<I0-ZZ)L0=Math.max(0,I0-ZZ)}QN(W0,L0,YZ,h,JZ,_Z);let O0=0;for(let $0 of W0){let I0=$0.style,a0=I0.alignSelf===V0.Auto?A.alignItems:I0.alignSelf,LZ=HK($0,i,JZ),q0=NaN,h0=F0.Undefined,zZ=DZ(h?I0.height:I0.width,h?_Z:JZ),O4=h?$4:E7,W7=h?A8:z4,lZ=$0._hasAutoMargin&&(w4(I0.margin,O4)||w4(I0.margin,W7));if(D0(zZ))q0=zZ,h0=F0.Exactly;else if(a0===V0.Stretch&&!lZ&&!NZ&&D0(p0)&&N0===F0.Exactly)q0=Math.max(0,p0-LZ),h0=F0.Exactly;else if(!NZ&&D0(p0))q0=Math.max(0,p0-LZ),h0=F0.AtMost;let xZ=h?$0._mainSize:q0,$Z=h?q0:$0._mainSize;N6($0,xZ,$Z,h?F0.Exactly:h0,h?h0:F0.Exactly,JZ,_Z,H,h,!h),$0._crossSize=h?$0.layout.height:$0.layout.width,O0=Math.max(O0,$0._crossSize+LZ)}if(rZ){let $0=0,I0=0;for(let a0 of W0){if(RB(Z,a0)!==V0.Baseline)continue;let LZ=J5(a0.style.margin,$4,JZ),q0=J5(a0.style.margin,A8,JZ),h0=_z(a0)+LZ,zZ=a0.layout.height+LZ+q0-h0;if(h0>$0)$0=h0;if(zZ>I0)I0=zZ}if(g0[a]=$0,$0+I0>O0)O0=$0+I0}let _7=Az(w),F7=Nz(w),w7=j0;for(let $0 of W0){let I0=$0.layout.margin;w7+=$0._mainSize+I0[_7]+I0[F7]}uZ[a]=w7,M7[a]=O0,c0=Math.max(c0,w7),FZ+=O0}let vZ=x0>1?q7*(x0-1):0;FZ+=vZ;let pZ=A.overflow===c5.Scroll,S4=c0+ZZ,t7=n===F0.Exactly?l:n===F0.AtMost&&pZ?Math.max(Math.min(l,S4),ZZ):NZ&&x0>1&&n===F0.AtMost?l:S4,o=FZ+u0,H0=N0===F0.Exactly?s:N0===F0.AtMost&&pZ?Math.max(Math.min(s,o),u0):o;if(Z.layout.width=L4(A,!0,h?t7:H0,Y,j),Z.layout.height=L4(A,!1,h?H0:t7,Y,j),Dz(Z,H),Hz(Z,K,G,z,q,Y,j,D,V,_),!H)return;let z0=(h?Z.layout.width:Z.layout.height)-ZZ,g=(h?Z.layout.height:Z.layout.width)-u0,E0=Az(w),e=Nz(w),Z0=h?$4:E7,J0=h?A8:z4,t0=WB(w),M0=h?Z.layout.width:Z.layout.height,b0=R[Z0]+W[Z0],BZ=q7,cZ=g-FZ;if(x0===1&&!NZ&&!rZ)M7[0]=g;else{let a=Math.max(0,cZ);switch(A.alignContent){case V0.FlexStart:break;case V0.Center:b0+=cZ/2;break;case V0.FlexEnd:b0+=cZ;break;case V0.Stretch:if(x0>0&&a>0){let W0=a/x0;for(let j0=0;j0<x0;j0++)M7[j0]+=W0}break;case V0.SpaceBetween:if(x0>1)BZ+=a/(x0-1);break;case V0.SpaceAround:if(x0>0)BZ+=a/x0,b0+=a/x0/2;break;case V0.SpaceEvenly:if(x0>0)BZ+=a/(x0+1),b0+=a/(x0+1);break;default:break}}let WZ=A.flexWrap===D8.WrapReverse,eZ=h?Z.layout.height:Z.layout.width,T0=b0;for(let a=0;a<x0;a++){let W0=fZ[a],j0=M7[a],YZ=uZ[a],L0=W0.length;if(NZ||N0!==F0.Exactly)for(let q0 of W0){let h0=q0.style,zZ=h0.alignSelf===V0.Auto?A.alignItems:h0.alignSelf,O4=D0(DZ(h?h0.height:h0.width,h?_Z:JZ)),W7=q0._hasAutoMargin&&(w4(h0.margin,Z0)||w4(h0.margin,J0));if(zZ===V0.Stretch&&!O4&&!W7){let lZ=HK(q0,i,JZ),xZ=Math.max(0,j0-lZ);if(q0._crossSize!==xZ){let $Z=h?q0._mainSize:xZ,H4=h?xZ:q0._mainSize;N6(q0,$Z,H4,F0.Exactly,F0.Exactly,JZ,_Z,H,h,!h),q0._crossSize=xZ}}}let O0=R[E0]+W[E0],_7=oZ,F7=0;for(let q0 of W0){if(!q0._hasAutoMargin)continue;if(w4(q0.style.margin,E0))F7++;if(w4(q0.style.margin,e))F7++}let w7=z0-YZ,$0=Math.max(0,w7),I0=F7>0&&$0>0?$0/F7:0;if(F7===0)switch(A.justifyContent){case G7.FlexStart:break;case G7.Center:O0+=w7/2;break;case G7.FlexEnd:O0+=w7;break;case G7.SpaceBetween:if(L0>1)_7+=$0/(L0-1);break;case G7.SpaceAround:if(L0>0)_7+=$0/L0,O0+=$0/L0/2;break;case G7.SpaceEvenly:if(L0>0)_7+=$0/(L0+1),O0+=$0/(L0+1);break}let a0=WZ?eZ-T0-j0:T0,LZ=O0;for(let q0 of W0){let h0=q0.style.margin,zZ=q0.layout.margin,O4=!1,W7=!1,lZ=!1,xZ=!1,$Z,H4,C7,S7;if(q0._hasAutoMargin)O4=w4(h0,E0),W7=w4(h0,e),lZ=w4(h0,Z0),xZ=w4(h0,J0),$Z=O4?I0:zZ[E0],H4=W7?I0:zZ[e],C7=lZ?0:zZ[Z0],S7=xZ?0:zZ[J0];else $Z=zZ[E0],H4=zZ[e],C7=zZ[Z0],S7=zZ[J0];let v4=t0?M0-(LZ+$Z)-q0._mainSize:LZ+$Z,k7=q0.style.alignSelf===V0.Auto?A.alignItems:q0.style.alignSelf,RZ=a0+C7,g7=j0-q0._crossSize-C7-S7;if(lZ&&xZ)RZ+=Math.max(0,g7)/2;else if(lZ)RZ+=Math.max(0,g7);else if(xZ);else switch(k7){case V0.FlexStart:case V0.Stretch:if(WZ)RZ+=g7;break;case V0.Center:RZ+=g7/2;break;case V0.FlexEnd:if(!WZ)RZ+=g7;break;case V0.Baseline:if(rZ)RZ=a0+g0[a]-_z(q0);break;default:break}let x4=0,v7=0;if(q0._hasPosition){let o7=DZ(R4(q0.style.position,E7),JZ),j5=DZ(R4(q0.style.position,z4),JZ),b8=DZ(R4(q0.style.position,$4),JZ),b4=DZ(R4(q0.style.position,A8),JZ);x4=D0(o7)?o7:D0(j5)?-j5:0,v7=D0(b8)?b8:D0(b4)?-b4:0}if(h)q0.layout.left=v4+x4,q0.layout.top=RZ+v7;else q0.layout.left=RZ+x4,q0.layout.top=v4+v7;LZ+=q0._mainSize+$Z+H4+_7}T0+=j0+BZ}for(let a of N7)ZN(Z,a,Z.layout.width,Z.layout.height,R,W)}function ZN(Z,K,G,z,q,Y){let j=K.style,H=R4(j.position,E7),D=R4(j.position,z4),V=R4(j.position,$4),A=R4(j.position,A8),M=DZ(H,G),F=DZ(D,G),_=DZ(V,z),R=DZ(A,z),W=G-Y[0]-Y[2],E=z-Y[1]-Y[3],T=DZ(j.width,W),$=DZ(j.height,E);if(!D0(T)&&D0(M)&&D0(F))T=W-M-F;if(!D0($)&&D0(_)&&D0(R))$=E-_-R;N6(K,T,$,D0(T)?F0.Exactly:F0.Undefined,D0($)?F0.Exactly:F0.Undefined,W,E,!0);let I=J5(j.margin,E7,G),y=J5(j.margin,$4,G),m=J5(j.margin,z4,G),b=J5(j.margin,A8,G),u=Z.style.flexDirection,f=WB(u),w=M6(u),i=Z.style.flexWrap===D8.WrapReverse,h=j.alignSelf===V0.Auto?Z.style.alignItems:j.alignSelf,l;if(D0(M))l=Y[0]+M+I;else if(D0(F))l=G-Y[2]-F-K.layout.width-m;else if(w){let n=q[0]+Y[0],N0=G-q[2]-Y[2];l=f?N0-K.layout.width-m:NB(Z.style.justifyContent,n,N0,K.layout.width)+I}else l=MB(h,q[0]+Y[0],G-q[2]-Y[2],K.layout.width,i)+I;let s;if(D0(_))s=Y[1]+_+y;else if(D0(R))s=z-Y[3]-R-K.layout.height-b;else if(w)s=MB(h,q[1]+Y[1],z-q[3]-Y[3],K.layout.height,i)+y;else{let n=q[1]+Y[1],N0=z-q[3]-Y[3];s=f?N0-K.layout.height-b:NB(Z.style.justifyContent,n,N0,K.layout.height)+y}K.layout.left=l,K.layout.top=s}function NB(Z,K,G,z){switch(Z){case G7.Center:return K+(G-K-z)/2;case G7.FlexEnd:return G-z;default:return K}}function MB(Z,K,G,z,q){switch(Z){case V0.Center:return K+(G-K-z)/2;case V0.FlexEnd:return q?K:G-z;default:return q?G-z:K}}function JN(Z,K,G,z,q,Y,j){if((Z._fbGen===Q5||!Z.isDirty_)&&Z._fbCrossMode===q&&D7(Z._fbOwnerW,Y)&&D7(Z._fbOwnerH,j)&&D7(Z._fbAvailMain,G)&&D7(Z._fbAvailCross,z))return Z._fbBasis;let D=Z.style,V=M6(K),A=DZ(D.flexBasis,G);if(D0(A)){let w=Math.max(0,A);return Z._fbBasis=w,Z._fbOwnerW=Y,Z._fbOwnerH=j,Z._fbAvailMain=G,Z._fbAvailCross=z,Z._fbCrossMode=q,Z._fbGen=Q5,w}let M=V?D.width:D.height,_=DZ(M,V?Y:j);if(D0(_)){let w=Math.max(0,_);return Z._fbBasis=w,Z._fbOwnerW=Y,Z._fbOwnerH=j,Z._fbAvailMain=G,Z._fbAvailCross=z,Z._fbCrossMode=q,Z._fbGen=Q5,w}let R=V?D.height:D.width,E=DZ(R,V?j:Y),T=D0(E)?F0.Exactly:F0.Undefined;if(!D0(E)&&D0(z))E=z,T=q===F0.Exactly&&KN(Z)?F0.Exactly:F0.AtMost;let $=NaN,I=F0.Undefined;if(V&&D0(G)&&$B(Z))$=G,I=F0.AtMost;N6(Z,V?$:E,V?E:$,V?I:T,V?T:I,Y,j,!1);let f=V?Z.layout.width:Z.layout.height;return Z._fbBasis=f,Z._fbOwnerW=Y,Z._fbOwnerH=j,Z._fbAvailMain=G,Z._fbAvailCross=z,Z._fbCrossMode=q,Z._fbGen=Q5,f}function $B(Z){if(Z.measureFunc)return!0;for(let K of Z.children)if($B(K))return!0;return!1}function QN(Z,K,G,z,q,Y){let j=Z.length,H=Array(j).fill(!1),D=D0(K)?K-G:0;for(let A=0;A<j;A++){let M=Z[A],F=L4(M.style,z,M._flexBasis,q,Y);if(!D0(K)||(D>=0?M.style.flexGrow===0:M.style.flexShrink===0))M._mainSize=Math.max(0,F),H[A]=!0;else M._mainSize=M._flexBasis}let V=Array(j);for(let A=0;A<=j;A++){let M=0,F=0,_=0,R=0;for(let $=0;$<j;$++){let I=Z[$];if(H[$])M+=I._mainSize-I._flexBasis;else F+=I.style.flexGrow,_+=I.style.flexShrink*I._flexBasis,R++}if(R===0)break;let W=D-M;if(W>0&&F>0&&F<1){let $=D*F;if($<W)W=$}else if(W<0&&_>0){let $=0;for(let I=0;I<j;I++)if(!H[I])$+=Z[I].style.flexShrink;if($<1){let I=D*$;if(I>W)W=I}}let E=0;for(let $=0;$<j;$++){if(H[$])continue;let I=Z[$],y=I._flexBasis;if(W>0&&F>0)y+=W*I.style.flexGrow/F;else if(W<0&&_>0)y+=W*(I.style.flexShrink*I._flexBasis)/_;V[$]=y;let m=Math.max(0,L4(I.style,z,y,q,Y));I._mainSize=m,E+=m-y}if(E===0)break;let T=!1;for(let $=0;$<j;$++){if(H[$])continue;let I=Z[$]._mainSize-V[$];if(E>0&&I>0||E<0&&I<0)H[$]=!0,T=!0}if(!T)break}}function KN(Z){let K=Z.parent;if(!K)return!1;return(Z.style.alignSelf===V0.Auto?K.style.alignItems:Z.style.alignSelf)===V0.Stretch}function RB(Z,K){return K.style.alignSelf===V0.Auto?Z.style.alignItems:K.style.alignSelf}function _z(Z){let K=null;for(let G of Z.children){if(G._lineIndex>0)break;if(G.style.positionType===l5.Absolute)continue;if(G.style.display===H8.None)continue;if(RB(Z,G)===V0.Baseline||G.isReferenceBaseline_){K=G;break}if(K===null)K=G}if(K===null)return Z.layout.height;return _z(K)+K.layout.top}function GN(Z,K){if(!M6(Z.style.flexDirection))return!1;if(Z.style.alignItems===V0.Baseline)return!0;for(let G of K)if(G.style.alignSelf===V0.Baseline)return!0;return!1}function HK(Z,K,G){if(!Z._hasMargin)return 0;let z=J5(Z.style.margin,Az(K),G),q=J5(Z.style.margin,Nz(K),G);return z+q}function _B(Z,K,G){let z=Z.gap[K];if(z.unit===tZ.Undefined)z=Z.gap[f4.All];let q=DZ(z,G);return D0(q)?Math.max(0,q):0}function L4(Z,K,G,z,q){let Y=K?Z.minWidth:Z.minHeight,j=K?Z.maxWidth:Z.maxHeight,H=Y.unit,D=j.unit;if(H===0&&D===0)return G;let V=K?z:q,A=G;if(D===1){if(A>j.value)A=j.value}else if(D===2){let M=j.value*V/100;if(M===M&&A>M)A=M}if(H===1){if(A<Y.value)A=Y.value}else if(H===2){let M=Y.value*V/100;if(M===M&&A<M)A=M}return A}function EB(Z){for(let K of Z.children)K.layout.left=0,K.layout.top=0,K.layout.width=0,K.layout.height=0,K.isDirty_=!0,K._hasL=!1,K._hasM=!1,EB(K)}function TB(Z,K,G){for(let z of Z.children){let q=z.style.display;if(q===H8.None)z.layout.left=0,z.layout.top=0,z.layout.width=0,z.layout.height=0,EB(z);else if(q===H8.Contents)z.layout.left=0,z.layout.top=0,z.layout.width=0,z.layout.height=0,TB(z,K,G);else if(z.style.positionType===l5.Absolute)G.push(z);else K.push(z)}}function CB(Z,K,G,z){if(K===0)return;let q=Z.layout,Y=q.left,j=q.top,H=q.width,D=q.height,V=G+Y,A=z+j,M=Z.measureFunc!==null;q.left=oJ(Y,K,!1,M),q.top=oJ(j,K,!1,M);let F=V+H,_=A+D,R=!FB(H*K),W=!FB(D*K);q.width=oJ(F,K,M&&R,M&&!R)-oJ(V,K,!1,M),q.height=oJ(_,K,M&&W,M&&!W)-oJ(A,K,!1,M);for(let E of Z.children)CB(E,K,V,A)}function FB(Z){let K=Z-Math.floor(Z);return K<0.0001||K>0.9999}function oJ(Z,K,G,z){let q=Z*K,Y=q-Math.floor(q);if(Y<0)Y+=1;if(Y<0.0001)q=Math.floor(q);else if(Y>0.9999)q=Math.ceil(q);else if(G)q=Math.ceil(q);else if(z)q=Math.floor(q);else q=Math.floor(q)+(Y>=0.4999?1:0);return q/K}function W4(Z){if(Z===void 0)return i7;if(Z==="auto")return V8;if(typeof Z==="number")return Number.isFinite(Z)?VK(Z):i7;if(typeof Z==="string"&&Z.endsWith("%"))return X4(parseFloat(Z));let K=parseFloat(Z);return isNaN(K)?i7:VK(K)}function Vz(Z){switch(Z){case r0.Left:case r0.Start:return E7;case r0.Top:return $4;case r0.Right:case r0.End:return z4;case r0.Bottom:return A8;default:return E7}}var i7,V8,E7=0,$4=1,z4=2,A8=3,eA,OK=4,Q5=0,Fz=0,Wz=0,A6=0,Mz=0,XN,SB;var NK=P(()=>{DB();i7={unit:tZ.Undefined,value:NaN},V8={unit:tZ.Auto,value:NaN};eA=LB();XN={Config:{create:LB,destroy(){}},Node:{create:(Z)=>new DK(Z),createDefault:()=>new DK,createWithConfig:(Z)=>new DK(Z),destroy(){}}},SB=XN});function zN(){if(process.env.TERM_PROGRAM==="vscode"&&K0.level===2)return K0.level=3,!0;return!1}function UN(){if(process.env.CLAUDE_CODE_TMUX_TRUECOLOR)return!1;if(process.env.TMUX&&K0.level>2)return K0.level=2,!0;return!1}function rJ(Z,K){let G=Z;if(K.inverse)G=K0.inverse(G);if(K.strikethrough)G=K0.strikethrough(G);if(K.underline)G=K0.underline(G);if(K.italic)G=K0.italic(G);if(K.bold)G=K0.bold(G);if(K.dim)G=K0.dim(G);if(K.color)G=K5(G,K.color,"foreground");if(K.backgroundColor)G=K5(G,K.backgroundColor,"background");return G}function MK(Z,K){if(!K)return Z;return K5(Z,K,"foreground")}var EL,TL,qN,BN,K5=(Z,K,G)=>{if(!K)return Z;if(K.startsWith("ansi:"))switch(K.substring(5)){case"black":return G==="foreground"?K0.black(Z):K0.bgBlack(Z);case"red":return G==="foreground"?K0.red(Z):K0.bgRed(Z);case"green":return G==="foreground"?K0.green(Z):K0.bgGreen(Z);case"yellow":return G==="foreground"?K0.yellow(Z):K0.bgYellow(Z);case"blue":return G==="foreground"?K0.blue(Z):K0.bgBlue(Z);case"magenta":return G==="foreground"?K0.magenta(Z):K0.bgMagenta(Z);case"cyan":return G==="foreground"?K0.cyan(Z):K0.bgCyan(Z);case"white":return G==="foreground"?K0.white(Z):K0.bgWhite(Z);case"blackBright":return G==="foreground"?K0.blackBright(Z):K0.bgBlackBright(Z);case"redBright":return G==="foreground"?K0.redBright(Z):K0.bgRedBright(Z);case"greenBright":return G==="foreground"?K0.greenBright(Z):K0.bgGreenBright(Z);case"yellowBright":return G==="foreground"?K0.yellowBright(Z):K0.bgYellowBright(Z);case"blueBright":return G==="foreground"?K0.blueBright(Z):K0.bgBlueBright(Z);case"magentaBright":return G==="foreground"?K0.magentaBright(Z):K0.bgMagentaBright(Z);case"cyanBright":return G==="foreground"?K0.cyanBright(Z):K0.bgCyanBright(Z);case"whiteBright":return G==="foreground"?K0.whiteBright(Z):K0.bgWhiteBright(Z)}if(K.startsWith("#"))return G==="foreground"?K0.hex(K)(Z):K0.bgHex(K)(Z);if(K.startsWith("ansi256")){let z=BN.exec(K);if(!z)return Z;let q=Number(z[1]);return G==="foreground"?K0.ansi256(q)(Z):K0.bgAnsi256(q)(Z)}if(K.startsWith("rgb")){let z=qN.exec(K);if(!z)return Z;let q=Number(z[1]),Y=Number(z[2]),j=Number(z[3]);return G==="foreground"?K0.rgb(q,Y,j)(Z):K0.bgRgb(q,Y,j)(Z)}return Z};var _6=P(()=>{Lz();EL=zN(),TL=UN(),qN=/^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/,BN=/^ansi256\(\s?(\d+)\s?\)$/});import{spawnSync as YN}from"child_process";function jN(){if(!process.env.TMUX)return!1;if(process.env.TERM_PROGRAM!=="iTerm.app")return!1;let Z=process.env.TERM??"";return!Z.startsWith("screen")&&!Z.startsWith("tmux")}function ON(){if(F6=jN(),F6)return;if(!process.env.TMUX)return;if(process.env.TERM_PROGRAM)return;let Z;try{Z=YN("tmux",["display-message","-p","#{client_control_mode}"],{encoding:"utf8",timeout:2000})}catch{return}if(Z.status!==0)return;F6=Z.stdout.trim()==="1"}function yB(){if(F6===void 0)ON();return F6??!1}function HN(){if(IB(process.env.CLAUDE_CODE_NO_FLICKER))return!1;if(N8(process.env.CLAUDE_CODE_NO_FLICKER))return!0;if(yB()){if(!vB)vB=!0,KZ("fullscreen disabled: tmux -CC (iTerm2 integration mode) detected · set CLAUDE_CODE_NO_FLICKER=1 to override");return!1}let Z=QK().flickerFreeMode;if(Z!==void 0)return Z;return!1}function yL(){return!N8(process.env.CLAUDE_CODE_DISABLE_MOUSE)}function mB(){return N8(process.env.CLAUDE_CODE_DISABLE_MOUSE_CLICKS)}function DN(){return bB()&&HN()}async function mL(){if(!process.env.TMUX)return null;if(!DN()||yB())return null;if(xB)return null;xB=!0;let{stdout:Z,code:K}=await U4("tmux",["show","-Av","mouse"],{useCwd:!1,timeout:2000});if(K!==0||Z.trim()==="on")return null;return"tmux detected · scroll with PgUp/PgDn · or add 'set -g mouse on' to ~/.tmux.conf for wheel scroll"}var vB=!1,xB=!1,F6;var fB=P(()=>{$z();o3();G5();Rz();PB()});function eJ(Z){let K="ground",G="",z=Z?.x10Mouse??!1;return{feed(q){let Y=wB(q,K,G,!1,z);return K=Y.state.state,G=Y.state.buffer,Y.tokens},flush(){let q=wB("",K,G,!0,z);return K=q.state.state,G=q.state.buffer,q.tokens},reset(){K="ground",G=""},buffer(){return G}}}function wB(Z,K,G,z,q){let Y=[],j={state:K,buffer:""},H=G+Z,D=0,V=0,A=0,M=()=>{if(D>V){let _=H.slice(V,D);if(_)Y.push({type:"text",value:_})}V=D},F=(_)=>{if(_)Y.push({type:"sequence",value:_});j.state="ground",V=D};while(D<H.length){let _=H.charCodeAt(D);switch(j.state){case"ground":if(_===k4.ESC)M(),A=D,j.state="escape",D++;else D++;break;case"escape":if(_===M8.CSI)j.state="csi",D++;else if(_===M8.OSC)j.state="osc",D++;else if(_===M8.DCS)j.state="dcs",D++;else if(_===M8.APC)j.state="apc",D++;else if(_===79)j.state="ss3",D++;else if(_K(_))j.state="escapeIntermediate",D++;else if(Ez(_))D++,F(H.slice(A,D));else if(_===k4.ESC)F(H.slice(A,D)),A=D,j.state="escape",D++;else j.state="ground",V=A;break;case"escapeIntermediate":if(_K(_))D++;else if(Ez(_))D++,F(H.slice(A,D));else j.state="ground",V=A;break;case"csi":if(q&&_===77&&D-A===2&&(D+1>=H.length||H.charCodeAt(D+1)>=32)&&(D+2>=H.length||H.charCodeAt(D+2)>=32)&&(D+3>=H.length||H.charCodeAt(D+3)>=32)){if(D+4<=H.length)D+=4,F(H.slice(A,D));else D=H.length;break}if(gB(_))D++,F(H.slice(A,D));else if(kB(_)||_K(_))D++;else j.state="ground",V=A;break;case"ss3":if(_>=64&&_<=126)D++,F(H.slice(A,D));else j.state="ground",V=A;break;case"osc":if(_===k4.BEL)D++,F(H.slice(A,D));else if(_===k4.ESC&&D+1<H.length&&H.charCodeAt(D+1)===M8.ST)D+=2,F(H.slice(A,D));else D++;break;case"dcs":case"apc":if(_===k4.BEL)D++,F(H.slice(A,D));else if(_===k4.ESC&&D+1<H.length&&H.charCodeAt(D+1)===M8.ST)D+=2,F(H.slice(A,D));else D++;break}}if(j.state==="ground")M();else if(z){let _=H.slice(A);if(_)Y.push({type:"sequence",value:_});j.state="ground"}else j.buffer=H.slice(A);return{tokens:Y,state:j}}var FK=P(()=>{W6();_8()});import{Buffer as VN}from"buffer";function hB(Z){return{kind:"key",name:"",fn:!1,ctrl:!1,meta:!1,shift:!1,option:!1,super:!1,sequence:Z,raw:Z,isPasted:!0}}function CN(Z){if(Z.startsWith("\x1B[")){let K;if(K=FN.exec(Z))return{type:"decrpm",mode:parseInt(K[1],10),status:parseInt(K[2],10)};if(K=WN.exec(Z))return{type:"da1",params:uB(K[1])};if(K=LN.exec(Z))return{type:"da2",params:uB(K[1])};if(K=$N.exec(Z))return{type:"kittyKeyboard",flags:parseInt(K[1],10)};if(K=RN.exec(Z))return{type:"cursorPosition",row:parseInt(K[1],10),col:parseInt(K[2],10)};return null}if(Z.startsWith("\x1B]")){let K=EN.exec(Z);if(K)return{type:"osc",code:parseInt(K[1],10),data:K[2]}}if(Z.startsWith("\x1BP")){let K=TN.exec(Z);if(K)return{type:"xtversion",name:K[1]}}return null}function uB(Z){if(!Z)return[];return Z.split(";").map((K)=>parseInt(K,10))}function SN(Z){if(VN.isBuffer(Z))if(Z[0]>127&&Z[1]===void 0)return Z[0]-=128,"\x1B"+String(Z);else return String(Z);else if(Z!==void 0&&typeof Z!=="string")return String(Z);else if(!Z)return"";else return Z}function nB(Z,K=""){let G=K===null,z=G?"":SN(K),q=Z._tokenizer??eJ({x10Mouse:!0}),Y=G?q.flush():q.feed(z),j=[],H=Z.mode==="IN_PASTE",D=Z.pasteBuffer;for(let A of Y)if(A.type==="sequence")if(A.value===dB)H=!0,D="";else if(A.value===aB)j.push(hB(D)),H=!1,D="";else if(H)D+=A.value;else{let M=CN(A.value);if(M)j.push({kind:"response",sequence:A.value,response:M});else{let F=lB(A.value);if(F)j.push(F);else j.push(Tz(A.value))}}else if(A.type==="text")if(H)D+=A.value;else if(/^\[<\d+;\d+;\d+[Mm]$/.test(A.value)||/^\[M[\x60-\x7f][\x20-\uffff]{2}$/.test(A.value)){let M="\x1B"+A.value,F=lB(M);j.push(F??Tz(M))}else j.push(Tz(A.value));if(G&&H&&D)j.push(hB(D)),H=!1,D="";let V={mode:H?"IN_PASTE":"NORMAL",incomplete:q.buffer(),pasteBuffer:D,_tokenizer:q};return[j,V]}function pB(Z){let K=Math.max(Z,1)-1;return{shift:!!(K&1),meta:!!(K&2),ctrl:!!(K&4),super:!!(K&8)}}function bN(Z){return Z>=57344&&Z<=63743||Z>=983040&&Z<=1048573||Z>=1048576&&Z<=1114109}function cB(Z){switch(Z){case 9:return"tab";case 13:return"return";case 27:return"escape";case 32:return"space";case 127:return"backspace";case 57399:return"0";case 57400:return"1";case 57401:return"2";case 57402:return"3";case 57403:return"4";case 57404:return"5";case 57405:return"6";case 57406:return"7";case 57407:return"8";case 57408:return"9";case 57409:return".";case 57410:return"/";case 57411:return"*";case 57412:return"-";case 57413:return"+";case 57414:return"return";case 57415:return"=";default:if(Z>=32&&Z<=126)return String.fromCharCode(Z).toLowerCase();if(Z>31&&Z!==127&&(Z<128||Z>159)&&Z<=1114111&&(Z<55296||Z>57343)&&!bN(Z))return String.fromCodePoint(Z);return}}function lB(Z){let K=iB.exec(Z);if(!K)return null;let G=parseInt(K[1],10);if((G&64)!==0)return null;return{kind:"mouse",button:G,action:K[4]==="M"?"press":"release",col:parseInt(K[2],10),row:parseInt(K[3],10),sequence:Z}}function Tz(Z=""){let K,G={kind:"key",name:"",fn:!1,ctrl:!1,meta:!1,shift:!1,option:!1,super:!1,sequence:Z,raw:Z,isPasted:!1};G.sequence=G.sequence||Z||G.name;let z;if(z=MN.exec(Z)){let q=parseInt(z[1],10),Y=z[2]?parseInt(z[2],10):1,j=pB(Y);return{kind:"key",name:cB(q),fn:!1,ctrl:j.ctrl,meta:j.meta,shift:j.shift,option:!1,super:j.super,sequence:Z,raw:Z,isPasted:!1}}if(z=_N.exec(Z)){let q=pB(parseInt(z[1],10));return{kind:"key",name:cB(parseInt(z[2],10)),fn:!1,ctrl:q.ctrl,meta:q.meta,shift:q.shift,option:!1,super:q.super,sequence:Z,raw:Z,isPasted:!1}}if(z=iB.exec(Z)){let q=parseInt(z[1],10);if((q&67)===64)return q4(Z,"wheelup",!1);if((q&67)===65)return q4(Z,"wheeldown",!1);return q4(Z,"mouse",!1)}if(Z.length===6&&Z.startsWith("\x1B[M")){let q=Z.charCodeAt(3)-32;if((q&67)===64)return q4(Z,"wheelup",!1);if((q&67)===65)return q4(Z,"wheeldown",!1);return q4(Z,"mouse",!1)}if(Z==="\r")G.raw=void 0,G.name="return";else if(Z===`
2
2
  `)G.name="enter";else if(Z==="\t")G.name="tab";else if(Z==="\b"||Z==="\x1B\b")G.name="backspace",G.meta=Z.charAt(0)==="\x1B";else if(Z===""||Z==="\x1B")G.name="backspace",G.meta=Z.charAt(0)==="\x1B";else if(Z==="\x1B"||Z==="\x1B\x1B")G.name="escape",G.meta=Z.length===2;else if(Z===" "||Z==="\x1B ")G.name="space",G.meta=Z.length===2;else if(Z==="\x1F")G.name="_",G.ctrl=!0;else if(Z<="\x1A"&&Z.length===1)G.name=String.fromCharCode(Z.charCodeAt(0)+97-1),G.ctrl=!0;else if(Z.length===1&&Z>="0"&&Z<="9")G.name="number";else if(Z.length===1&&Z>="a"&&Z<="z")G.name=Z;else if(Z.length===1&&Z>="A"&&Z<="Z")G.name=Z.toLowerCase(),G.shift=!0;else if(K=AN.exec(Z))G.meta=!0,G.shift=/^[A-Z]$/.test(K[1]);else if(K=NN.exec(Z)){let q=[...Z];if(q[0]==="\x1B"&&q[1]==="\x1B")G.option=!0;let Y=[K[1],K[2],K[4],K[6]].filter(Boolean).join(""),j=(K[3]||K[5]||1)-1;G.ctrl=!!(j&4),G.meta=!!(j&2),G.super=!!(j&8),G.shift=!!(j&1),G.code=Y,G.name=tB[Y],G.shift=vN(Y)||G.shift,G.ctrl=xN(Y)||G.ctrl}if(G.raw==="\x1Bb")G.meta=!0,G.name="left";else if(G.raw==="\x1Bf")G.meta=!0,G.name="right";switch(Z){case"\x1B[1~":return q4(Z,"home",!1);case"\x1B[4~":return q4(Z,"end",!1);case"\x1B[5~":return q4(Z,"pageup",!1);case"\x1B[6~":return q4(Z,"pagedown",!1);case"\x1B[1;5D":return q4(Z,"left",!0);case"\x1B[1;5C":return q4(Z,"right",!0)}return G}function q4(Z,K,G){return{kind:"key",name:K,ctrl:G,meta:!1,shift:!1,option:!1,super:!1,fn:!1,sequence:Z,raw:Z,isPasted:!1}}var AN,NN,MN,_N,FN,WN,LN,$N,RN,EN,TN,iB,sB,tB,oB,vN=(Z)=>{return["[a","[b","[c","[d","[e","[2$","[3$","[5$","[6$","[7$","[8$","[Z"].includes(Z)},xN=(Z)=>{return["Oa","Ob","Oc","Od","Oe","[2^","[3^","[5^","[6^","[7^","[8^"].includes(Z)};var Cz=P(()=>{_8();FK();AN=/^(?:\x1b)([a-zA-Z0-9])$/,NN=/^(?:\x1b+)(O|N|\[|\[\[)(?:(\d+)(?:;(\d+))?([~^$])|(?:1;)?(\d+)?([a-zA-Z]))/,MN=/^\x1b\[(\d+)(?:;(\d+))?u/,_N=/^\x1b\[27;(\d+);(\d+)~/,FN=/^\x1b\[\?(\d+);(\d+)\$y$/,WN=/^\x1b\[\?([\d;]*)c$/,LN=/^\x1b\[>([\d;]*)c$/,$N=/^\x1b\[\?(\d+)u$/,RN=/^\x1b\[\?(\d+);(\d+)R$/,EN=/^\x1b\](\d+);(.*?)(?:\x07|\x1b\\)$/s,TN=/^\x1bP>\|(.*?)(?:\x07|\x1b\\)$/s,iB=/^\x1b\[<(\d+);(\d+);(\d+)([Mm])$/;sB={mode:"NORMAL",incomplete:"",pasteBuffer:""};tB={OP:"f1",OQ:"f2",OR:"f3",OS:"f4",Op:"0",Oq:"1",Or:"2",Os:"3",Ot:"4",Ou:"5",Ov:"6",Ow:"7",Ox:"8",Oy:"9",Oj:"*",Ok:"+",Ol:",",Om:"-",On:".",Oo:"/",OM:"return","[11~":"f1","[12~":"f2","[13~":"f3","[14~":"f4","[[A":"f1","[[B":"f2","[[C":"f3","[[D":"f4","[[E":"f5","[15~":"f5","[17~":"f6","[18~":"f7","[19~":"f8","[20~":"f9","[21~":"f10","[23~":"f11","[24~":"f12","[A":"up","[B":"down","[C":"right","[D":"left","[E":"clear","[F":"end","[H":"home",OA:"up",OB:"down",OC:"right",OD:"left",OE:"clear",OF:"end",OH:"home","[1~":"home","[2~":"insert","[3~":"delete","[4~":"end","[5~":"pageup","[6~":"pagedown","[[5~":"pageup","[[6~":"pagedown","[7~":"home","[8~":"end","[a":"up","[b":"down","[c":"right","[d":"left","[e":"clear","[2$":"insert","[3$":"delete","[5$":"pageup","[6$":"pagedown","[7$":"home","[8$":"end",Oa:"up",Ob:"down",Oc:"right",Od:"left",Oe:"clear","[2^":"insert","[3^":"delete","[5^":"pageup","[6^":"pagedown","[7^":"home","[8^":"end","[Z":"tab"},oB=[...Object.values(tB).filter((Z)=>Z.length>1),"escape","backspace","wheelup","wheeldown","mouse"]});function IN(Z){let K={upArrow:Z.name==="up",downArrow:Z.name==="down",leftArrow:Z.name==="left",rightArrow:Z.name==="right",pageDown:Z.name==="pagedown",pageUp:Z.name==="pageup",wheelUp:Z.name==="wheelup",wheelDown:Z.name==="wheeldown",home:Z.name==="home",end:Z.name==="end",return:Z.name==="return",escape:Z.name==="escape",fn:Z.fn,ctrl:Z.ctrl,shift:Z.shift,tab:Z.name==="tab",backspace:Z.name==="backspace",delete:Z.name==="delete",meta:Z.meta||Z.name==="escape"||Z.option,super:Z.super},G=Z.ctrl?Z.name:Z.sequence;if(G===void 0)G="";if(Z.ctrl&&G==="space")G=" ";if(Z.code&&!Z.name)G="";if(!Z.name&&/^\[<\d+;\d+;\d+[Mm]/.test(G))G="";if(G.startsWith("\x1B"))G=G.slice(1);let z=!1;if(/^\[\d/.test(G)&&G.endsWith("u")){if(!Z.name)G="";else G=Z.name==="space"?" ":Z.name==="escape"?"":Z.name;z=!0}if(G.startsWith("[27;")&&G.endsWith("~")){if(!Z.name)G="";else G=Z.name==="space"?" ":Z.name==="escape"?"":Z.name;z=!0}if(G.startsWith("O")&&G.length===2&&Z.name&&Z.name.length===1)G=Z.name,z=!0;if(!z&&Z.name&&oB.includes(Z.name))G="";if(G.length===1&&typeof G[0]==="string"&&G[0]>="A"&&G[0]<="Z")K.shift=!0;return[K,G]}var WK;var Sz=P(()=>{Cz();h5();WK=class WK extends G4{keypress;key;input;constructor(Z){super();let[K,G]=IN(Z);this.keypress=Z,this.key=K,this.input=G}}});var L6;var vz=P(()=>{h5();L6=class L6 extends G4{type;constructor(Z){super();this.type=Z}}});function Iz(Z,K){var G=Z.length;Z.push(K);Z:for(;0<G;){var z=G-1>>>1,q=Z[z];if(0<LK(q,K))Z[z]=K,Z[G]=q,G=z;else break Z}}function g4(Z){return Z.length===0?null:Z[0]}function TK(Z){if(Z.length===0)return null;var K=Z[0],G=Z.pop();if(G!==K){Z[0]=G;Z:for(var z=0,q=Z.length,Y=q>>>1;z<Y;){var j=2*(z+1)-1,H=Z[j],D=j+1,V=Z[D];if(0>LK(H,G))D<q&&0>LK(V,H)?(Z[z]=V,Z[D]=G,z=D):(Z[z]=H,Z[j]=G,z=j);else if(D<q&&0>LK(V,G))Z[z]=V,Z[D]=G,z=D;else break Z}}return K}function LK(Z,K){var G=Z.sortIndex-K.sortIndex;return G!==0?G:Z.id-K.id}function RK(Z){for(var K=g4(X5);K!==null;){if(K.callback===null)TK(X5);else if(K.startTime<=Z)TK(X5),K.sortIndex=K.expirationTime,Iz(F8,K);else break;K=g4(X5)}}function kz(Z){if(R6=!1,RK(Z),!$6)if(g4(F8)!==null)$6=!0,JQ||(JQ=!0,ZQ());else{var K=g4(X5);K!==null&&gz(kz,K.startTime-Z)}}function QY(){return wz?!0:h4()-JY<yN?!1:!0}function bz(){if(wz=!1,JQ){var Z=h4();JY=Z;var K=!0;try{Z:{$6=!1,R6&&(R6=!1,ZY(E6),E6=-1),mz=!0;var G=xz;try{J:{RK(Z);for(B4=g4(F8);B4!==null&&!(B4.expirationTime>Z&&QY());){var z=B4.callback;if(typeof z==="function"){B4.callback=null,xz=B4.priorityLevel;var q=z(B4.expirationTime<=Z);if(Z=h4(),typeof q==="function"){B4.callback=q,RK(Z),K=!0;break J}B4===g4(F8)&&TK(F8),RK(Z)}else TK(F8);B4=g4(F8)}if(B4!==null)K=!0;else{var Y=g4(X5);Y!==null&&gz(kz,Y.startTime-Z),K=!1}}break Z}finally{B4=null,xz=G,mz=!1}K=void 0}}finally{K?ZQ():JQ=!1}}}function gz(Z,K){E6=eB(function(){Z(h4())},K)}var h4=void 0,Pz,$K,yz,F8,X5,PN=1,B4=null,xz=3,mz=!1,$6=!1,R6=!1,wz=!1,eB,ZY,rB,JQ=!1,E6=-1,yN=5,JY=-1,ZQ,EK,fz,hz=5,uz=1,CK=3,pz=2,cz=function(Z){Z.callback=null},lz=function(){wz=!0},SK=function(Z,K,G){var z=h4();switch(typeof G==="object"&&G!==null?(G=G.delay,G=typeof G==="number"&&0<G?z+G:z):G=z,Z){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5000}return q=G+q,Z={id:PN++,callback:K,priorityLevel:Z,startTime:G,expirationTime:q,sortIndex:-1},G>z?(Z.sortIndex=G,Iz(X5,Z),g4(F8)===null&&Z===g4(X5)&&(R6?(ZY(E6),E6=-1):R6=!0,gz(kz,G-z))):(Z.sortIndex=q,Iz(F8,Z),$6||mz||($6=!0,JQ||(JQ=!0,ZQ()))),Z},dz;var GY=P(()=>{if(typeof performance==="object"&&typeof performance.now==="function")Pz=performance,h4=function(){return Pz.now()};else $K=Date,yz=$K.now(),h4=function(){return $K.now()-yz};F8=[],X5=[],eB=typeof setTimeout==="function"?setTimeout:null,ZY=typeof clearTimeout==="function"?clearTimeout:null,rB=typeof setImmediate<"u"?setImmediate:null;if(typeof rB==="function")ZQ=function(){rB(bz)};else if(typeof MessageChannel<"u")EK=new MessageChannel,fz=EK.port2,EK.port1.onmessage=bz,ZQ=function(){fz.postMessage(null)};else ZQ=function(){eB(bz,0)};dz=QY});var XY=g5((nL,T6)=>{GY();var az=U0(n0());T6.exports=function(Z){function K(J,Q,X,U){return new jD(J,Q,X,U)}function G(){}function z(J){var Q="https://react.dev/errors/"+J;if(1<arguments.length){Q+="?args[]="+encodeURIComponent(arguments[1]);for(var X=2;X<arguments.length;X++)Q+="&args[]="+encodeURIComponent(arguments[X])}return"Minified React error #"+J+"; visit "+Q+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function q(J){var Q=J,X=J;if(J.alternate)for(;Q.return;)Q=Q.return;else{J=Q;do Q=J,(Q.flags&4098)!==0&&(X=Q.return),J=Q.return;while(J)}return Q.tag===3?X:null}function Y(J){if(q(J)!==J)throw Error(z(188))}function j(J){var Q=J.alternate;if(!Q){if(Q=q(J),Q===null)throw Error(z(188));return Q!==J?null:J}for(var X=J,U=Q;;){var B=X.return;if(B===null)break;var O=B.alternate;if(O===null){if(U=B.return,U!==null){X=U;continue}break}if(B.child===O.child){for(O=B.child;O;){if(O===X)return Y(B),J;if(O===U)return Y(B),Q;O=O.sibling}throw Error(z(188))}if(X.return!==U.return)X=B,U=O;else{for(var N=!1,L=B.child;L;){if(L===X){N=!0,X=B,U=O;break}if(L===U){N=!0,U=B,X=O;break}L=L.sibling}if(!N){for(L=O.child;L;){if(L===X){N=!0,X=O,U=B;break}if(L===U){N=!0,U=O,X=B;break}L=L.sibling}if(!N)throw Error(z(189))}}if(X.alternate!==U)throw Error(z(190))}if(X.tag!==3)throw Error(z(188));return X.stateNode.current===X?J:Q}function H(J){var Q=J.tag;if(Q===5||Q===26||Q===27||Q===6)return J;for(J=J.child;J!==null;){if(Q=H(J),Q!==null)return Q;J=J.sibling}return null}function D(J){var Q=J.tag;if(Q===5||Q===26||Q===27||Q===6)return J;for(J=J.child;J!==null;){if(J.tag!==4&&(Q=D(J),Q!==null))return Q;J=J.sibling}return null}function V(J){if(J===null||typeof J!=="object")return null;return J=G3&&J[G3]||J["@@iterator"],typeof J==="function"?J:null}function A(J){if(J==null)return null;if(typeof J==="function")return J.$$typeof===VD?null:J.displayName||J.name||null;if(typeof J==="string")return J;switch(J){case CJ:return"Fragment";case $X:return"Profiler";case Q3:return"StrictMode";case EX:return"Suspense";case TX:return"SuspenseList";case SX:return"Activity"}if(typeof J==="object")switch(J.$$typeof){case TJ:return"Portal";case l8:return J.displayName||"Context";case K3:return(J._context.displayName||"Context")+".Consumer";case RX:var Q=J.render;return J=J.displayName,J||(J=Q.displayName||Q.name||"",J=J!==""?"ForwardRef("+J+")":"ForwardRef"),J;case CX:return Q=J.displayName||null,Q!==null?Q:A(J.type)||"Memo";case d8:Q=J._payload,J=J._init;try{return A(J(Q))}catch(X){}}return null}function M(J){return{current:J}}function F(J){0>xJ||(J.current=yX[xJ],yX[xJ]=null,xJ--)}function _(J,Q){xJ++,yX[xJ]=J.current,J.current=Q}function R(J){return J>>>=0,J===0?32:31-(cV(J)/lV|0)|0}function W(J){var Q=J&42;if(Q!==0)return Q;switch(J&-J){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return J&261888;case 262144:case 524288:case 1048576:case 2097152:return J&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return J&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return J}}function E(J,Q,X){var U=J.pendingLanes;if(U===0)return 0;var B=0,O=J.suspendedLanes,N=J.pingedLanes;J=J.warmLanes;var L=U&134217727;return L!==0?(U=L&~O,U!==0?B=W(U):(N&=L,N!==0?B=W(N):X||(X=L&~J,X!==0&&(B=W(X))))):(L=U&~O,L!==0?B=W(L):N!==0?B=W(N):X||(X=U&~J,X!==0&&(B=W(X)))),B===0?0:Q!==0&&Q!==B&&(Q&O)===0&&(O=B&-B,X=Q&-Q,O>=X||O===32&&(X&4194048)!==0)?Q:B}function T(J,Q){return(J.pendingLanes&~(J.suspendedLanes&~J.pingedLanes)&Q)===0}function $(J,Q){switch(J){case 1:case 2:case 4:case 8:case 64:return Q+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return Q+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function I(){var J=b9;return b9<<=1,(b9&62914560)===0&&(b9=4194304),J}function y(J){for(var Q=[],X=0;31>X;X++)Q.push(J);return Q}function m(J,Q){J.pendingLanes|=Q,Q!==268435456&&(J.suspendedLanes=0,J.pingedLanes=0,J.warmLanes=0)}function b(J,Q,X,U,B,O){var N=J.pendingLanes;J.pendingLanes=X,J.suspendedLanes=0,J.pingedLanes=0,J.warmLanes=0,J.expiredLanes&=X,J.entangledLanes&=X,J.errorRecoveryDisabledLanes&=X,J.shellSuspendCounter=0;var{entanglements:L,expirationTimes:x,hiddenUpdates:k}=J;for(X=N&~X;0<X;){var d=31-u7(X),p=1<<d;L[d]=0,x[d]=-1;var t=k[d];if(t!==null)for(k[d]=null,d=0;d<t.length;d++){var A0=t[d];A0!==null&&(A0.lane&=-536870913)}X&=~p}U!==0&&u(J,U,0),O!==0&&B===0&&J.tag!==0&&(J.suspendedLanes|=O&~(N&~Q))}function u(J,Q,X){J.pendingLanes|=Q,J.suspendedLanes&=~Q;var U=31-u7(Q);J.entangledLanes|=Q,J.entanglements[U]=J.entanglements[U]|1073741824|X&261930}function f(J,Q){var X=J.entangledLanes|=Q;for(J=J.entanglements;X;){var U=31-u7(X),B=1<<U;B&Q|J[U]&Q&&(J[U]|=Q),X&=~B}}function w(J,Q){var X=Q&-Q;return X=(X&42)!==0?1:i(X),(X&(J.suspendedLanes|Q))!==0?0:X}function i(J){switch(J){case 2:J=1;break;case 8:J=4;break;case 32:J=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:J=128;break;case 268435456:J=134217728;break;default:J=0}return J}function h(J){return J&=-J,2<J?8<J?(J&134217727)!==0?32:268435456:8:2}function l(J){if(typeof nV==="function"&&tV(J),p7&&typeof p7.setStrictMode==="function")try{p7.setStrictMode(rQ,J)}catch(Q){}}function s(J,Q){return J===Q&&(J!==0||1/J===1/Q)||J!==J&&Q!==Q}function n(J){if(wX===void 0)try{throw Error()}catch(X){var Q=X.stack.trim().match(/\n( *(at )?)/);wX=Q&&Q[1]||"",x3=-1<X.stack.indexOf(`
3
3
  at`)?" (<anonymous>)":-1<X.stack.indexOf("@")?"@unknown:0:0":""}return`
4
4
  `+wX+J+x3}function N0(J,Q){if(!J||kX)return"";kX=!0;var X=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var U={DetermineComponentFrameRoot:function(){try{if(Q){var p=function(){throw Error()};if(Object.defineProperty(p.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(p,[])}catch(A0){var t=A0}Reflect.construct(J,[],p)}else{try{p.call()}catch(A0){t=A0}J.call(p.prototype)}}else{try{throw Error()}catch(A0){t=A0}(p=J())&&typeof p.catch==="function"&&p.catch(function(){})}}catch(A0){if(A0&&t&&typeof A0.stack==="string")return[A0.stack,t.stack]}return[null,null]}};U.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var B=Object.getOwnPropertyDescriptor(U.DetermineComponentFrameRoot,"name");B&&B.configurable&&Object.defineProperty(U.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var O=U.DetermineComponentFrameRoot(),N=O[0],L=O[1];if(N&&L){var x=N.split(`
@@ -56,4 +56,4 @@ ${D}`)))},[Z]),G=j4.useCallback(({message:j,title:H,id:D})=>{Z(A7(hZ(XZ.KITTY,`i
56
56
  culprit: ${n.length?n.join(" < "):"(no owner chain captured)"}`,{level:"warn"})}}let R=performance.now(),W=HU(M),E=performance.now()-R,T=W.length>0;if(this.altScreenActive&&T){if(this.needsEraseBeforePaint)this.needsEraseBeforePaint=!1,W.unshift(jF);else W.unshift(YF);W.push(this.altScreenParkPatch)}let $=this.cursorDeclaration,I=$!==null?CZ.get($.node):void 0,y=$!==null&&I!==void 0?{x:I.x+$.relativeX,y:I.y+$.relativeY}:null,m=this.displayCursor,b=y!==null&&(m===null||m.x!==y.x||m.y!==y.y);if(T||b||y===null&&m!==null){if(m!==null&&!this.altScreenActive&&T){let s=D.cursor.x-m.x,n=D.cursor.y-m.y;if(s!==0||n!==0)W.unshift({type:"stdout",content:AQ(s,n)})}if(y!==null){if(this.altScreenActive){let s=Math.min(Math.max(y.y+1,1),G),n=Math.min(Math.max(y.x+1,1),K);W.push({type:"stdout",content:vU(s,n)})}else{let s=!T&&m!==null?m:{x:z.cursor.x,y:z.cursor.y},n=y.x-s.x,N0=y.y-s.y;if(n!==0||N0!==0)W.push({type:"stdout",content:AQ(n,N0)})}this.displayCursor=y}else{if(m!==null&&!this.altScreenActive&&!T){let s=z.cursor.x-m.x,n=z.cursor.y-m.y;if(s!==0||n!==0)W.push({type:"stdout",content:AQ(s,n)})}this.displayCursor=null}}let u=performance.now(),f=this.altScreenActive?!a1:A||Xj();i1(this.terminal,W,f);let w=performance.now()-u;if(this.prevFrameContaminated=j||H,z.scrollDrainPending)this.drainTimer=setTimeout(()=>this.onRender(),GJ>>2);let i=D2(),h=V2(),l=this.lastYogaCounters;A2(),this.lastYogaCounters={ms:0,visited:0,measured:0,cacheHits:0,live:0},this.options.onFrame?.({durationMs:performance.now()-Z,phases:{renderer:q,diff:F,optimize:E,write:w,patches:M.length,yoga:i,commit:h,yogaVisited:l.visited,yogaMeasured:l.measured,yogaCacheHits:l.cacheHits,yogaLive:l.live},flickers:_})}pause(){p4.flushSyncFromReconciler(),this.onRender(),this.isPaused=!0}resume(){this.isPaused=!1,this.onRender()}repaint(){this.frontFrame=B5(this.frontFrame.viewport.height,this.frontFrame.viewport.width,this.stylePool,this.charPool,this.hyperlinkPool),this.backFrame=B5(this.backFrame.viewport.height,this.backFrame.viewport.width,this.stylePool,this.charPool,this.hyperlinkPool),this.log.reset(),this.displayCursor=null}forceRedraw(){if(!this.options.stdout.isTTY||this.isUnmounted||this.isPaused)return;if(this.options.stdout.write(kG+UJ),this.altScreenActive)this.resetFramesForAltScreen();else this.repaint(),this.prevFrameContaminated=!0;this.onRender()}invalidatePrevFrame(){this.prevFrameContaminated=!0}setAltScreenActive(Z,K=!1){if(this.altScreenActive===Z)return;if(this.altScreenActive=Z,this.altScreenMouseTracking=Z&&K,Z)this.resetFramesForAltScreen();else this.repaint()}get isAltScreenActive(){return this.altScreenActive}reassertTerminalModes=(Z=!1)=>{if(!this.options.stdout.isTTY)return;if(this.isPaused)return;if(t6())this.options.stdout.write(zJ+Z9+J9);if(!this.altScreenActive)return;if(this.altScreenMouseTracking)this.options.stdout.write(i6);if(Z)this.reenterAltScreen()};detachForShutdown(){this.isUnmounted=!0,this.scheduleRender.cancel?.();let Z=this.options.stdin;if(this.drainStdin(),Z.isTTY&&Z.isRaw&&Z.setRawMode)Z.setRawMode(!1)}drainStdin(){OF(this.options.stdin)}reenterAltScreen(){this.options.stdout.write(p1+kG+UJ+(this.altScreenMouseTracking?i6:"")),this.resetFramesForAltScreen()}resetFramesForAltScreen(){let Z=this.terminalRows,K=this.terminalColumns,G=()=>({screen:R8(K,Z,this.stylePool,this.charPool,this.hyperlinkPool),viewport:{width:K,height:Z+1},cursor:{x:0,y:0,visible:!0}});this.frontFrame=G(),this.backFrame=G(),this.log.reset(),this.displayCursor=null,this.prevFrameContaminated=!0}copySelectionNoClear(){if(!Y4(this.selection))return"";let Z=k2(this.selection,this.frontFrame.screen);if(Z)s2(Z).then((K)=>{if(K)this.options.stdout.write(K)});return Z}copySelection(){if(!Y4(this.selection))return"";let Z=this.copySelectionNoClear();return l6(this.selection),this.notifySelectionChange(),Z}clearTextSelection(){if(!Y4(this.selection))return;l6(this.selection),this.notifySelectionChange()}setSearchHighlight(Z){if(this.searchHighlightQuery===Z)return;this.searchHighlightQuery=Z,this.scheduleRender()}scanElementSubtree(Z){if(!this.searchHighlightQuery||!Z.yogaNode)return[];let K=Math.ceil(Z.yogaNode.getComputedWidth()),G=Math.ceil(Z.yogaNode.getComputedHeight());if(K<=0||G<=0)return[];let z=Z.yogaNode.getComputedLeft(),q=Z.yogaNode.getComputedTop(),Y=R8(K,G,this.stylePool,this.charPool,this.hyperlinkPool),j=new qJ({width:K,height:G,stylePool:this.stylePool,screen:Y});U9(Z,j,{offsetX:-z,offsetY:-q,prevScreen:void 0});let H=j.get();T7(Z);let D=SO(H,this.searchHighlightQuery);return KZ(`scanElementSubtree: q='${this.searchHighlightQuery}' el=${K}x${G}@(${z},${q}) n=${D.length} [${D.slice(0,10).map((V)=>`${V.row}:${V.col}`).join(",")}${D.length>10?",…":""}]`),D}setSearchPositions(Z){this.searchPositions=Z,this.scheduleRender()}setSelectionBgColor(Z){let K=K5("\x00",Z,"background"),G=K.indexOf("\x00");if(G<=0||G===K.length-1){this.stylePool.setSelectionBg(null);return}this.stylePool.setSelectionBg({type:"ansi",code:K.slice(0,G),endCode:K.slice(G+1)})}captureScrolledRows(Z,K,G){jG(this.selection,this.frontFrame.screen,Z,K,G)}shiftSelectionForScroll(Z,K,G){let z=Y4(this.selection);if(m2(this.selection,Z,K,G,this.frontFrame.screen.width),z&&!Y4(this.selection))this.notifySelectionChange()}moveSelectionFocus(Z){if(!this.altScreenActive)return;let{focus:K}=this.selection;if(!K)return;let{width:G,height:z}=this.frontFrame.screen,q=G-1,Y=z-1,{col:j,row:H}=K;switch(Z){case"left":if(j>0)j--;else if(H>0)j=q,H--;break;case"right":if(j<q)j++;else if(H<Y)j=0,H++;break;case"up":if(H>0)H--;break;case"down":if(H<Y)H++;break;case"lineStart":j=0;break;case"lineEnd":j=q;break}if(j===K.col&&H===K.row)return;y2(this.selection,j,H),this.notifySelectionChange()}hasTextSelection(){return Y4(this.selection)}subscribeToSelectionChange(Z){return this.selectionListeners.add(Z),()=>this.selectionListeners.delete(Z)}notifySelectionChange(){this.onRender();for(let Z of this.selectionListeners)Z()}dispatchClick(Z,K){if(!this.altScreenActive)return!1;let G=XG(this.frontFrame.screen,Z,K);return hj(this.rootNode,Z,K,G)}dispatchHover(Z,K){if(!this.altScreenActive)return;uj(this.rootNode,Z,K,this.hoveredNodes)}dispatchKeyboardEvent(Z){let K=this.focusManager.activeElement??this.rootNode,G=new qU(Z);if($8.dispatchDiscrete(K,G),!G.defaultPrevented&&Z.name==="tab"&&!Z.ctrl&&!Z.meta)if(Z.shift)this.focusManager.focusPrevious(this.rootNode);else this.focusManager.focusNext(this.rootNode)}getHyperlinkAt(Z,K){if(!this.altScreenActive)return;let G=this.frontFrame.screen,z=z7(G,Z,K),q=z?.hyperlink;if(!q&&z?.width===2&&Z>0)q=z7(G,Z-1,K)?.hyperlink;return q??b2(G,Z,K)}onHyperlinkClick;openHyperlink(Z){this.onHyperlinkClick?.(Z)}handleMultiClick(Z,K,G){if(!this.altScreenActive)return;let z=this.frontFrame.screen;if(BG(this.selection,Z,K),G===2)x2(this.selection,z,Z,K);else I2(this.selection,z,K);if(!this.selection.focus)this.selection.focus=this.selection.anchor;this.notifySelectionChange()}handleSelectionDrag(Z,K){if(!this.altScreenActive)return;let G=this.selection;if(G.anchorSpan)P2(G,this.frontFrame.screen,Z,K);else S2(G,Z,K);this.notifySelectionChange()}stdinListeners=[];wasRawMode=!1;suspendStdin(){let Z=this.options.stdin;if(!Z.isTTY)return;let K=Z.listeners("readable");KZ(`[stdin] suspendStdin: removing ${K.length} readable listener(s), wasRawMode=${Z.isRaw??!1}`),K.forEach((z)=>{this.stdinListeners.push({event:"readable",listener:z}),Z.removeListener("readable",z)});let G=Z;if(G.isRaw&&G.setRawMode)G.setRawMode(!1),this.wasRawMode=!0}resumeStdin(){let Z=this.options.stdin;if(!Z.isTTY)return;if(this.stdinListeners.length===0&&!this.wasRawMode)KZ("[stdin] resumeStdin: called with no stored listeners and wasRawMode=false (possible desync)",{level:"warn"});if(KZ(`[stdin] resumeStdin: re-attaching ${this.stdinListeners.length} listener(s), wasRawMode=${this.wasRawMode}`),this.stdinListeners.forEach(({event:K,listener:G})=>{Z.addListener(K,G)}),this.stdinListeners=[],this.wasRawMode){let K=Z;if(K.setRawMode)K.setRawMode(!0);this.wasRawMode=!1}}writeRaw(Z){this.options.stdout.write(Z)}setCursorDeclaration=(Z,K)=>{if(Z===null&&K!==void 0&&this.cursorDeclaration?.node!==K)return;this.cursorDeclaration=Z};render(Z){KZ("[Ink:render] start"),this.currentNode=Z;let K=Q0($G,{stdin:this.options.stdin,stdout:this.options.stdout,stderr:this.options.stderr,exitOnCtrlC:this.options.exitOnCtrlC,onExit:this.unmount,terminalColumns:this.terminalColumns,terminalRows:this.terminalRows,selection:this.selection,onSelectionChange:this.notifySelectionChange,onClickAt:this.dispatchClick,onHoverAt:this.dispatchHover,getHyperlinkAt:this.getHyperlinkAt,onOpenHyperlink:this.openHyperlink,onMultiClick:this.handleMultiClick,onSelectionDrag:this.handleSelectionDrag,onStdinResume:this.reassertTerminalModes,onCursorDeclaration:this.setCursorDeclaration,dispatchKeyboardEvent:this.dispatchKeyboardEvent,children:Q0(yO,{value:this.writeRaw,children:Z})});p4.updateContainerSync(K,this.container,null,GK),p4.flushSyncWork(),KZ("[Ink:render] updateContainer complete")}unmount(Z){if(this.isUnmounted)return;if(this.onRender(),this.unsubscribeExit(),typeof this.restoreConsole==="function")this.restoreConsole();this.restoreStderr?.(),this.unsubscribeTTYHandlers?.();let K=this.log.renderPreviousOutput_DEPRECATED(this.frontFrame);if(i1(this.terminal,HU(K)),this.options.stdout.isTTY){if(this.altScreenActive)v8(1,c2);if(v8(1,s6),this.drainStdin(),v8(1,Q9),v8(1,zJ),v8(1,d6),v8(1,HG),v8(1,ZJ),v8(1,t2),VQ())v8(1,A7(AG))}if(this.isUnmounted=!0,this.scheduleRender.cancel?.(),this.drainTimer!==null)clearTimeout(this.drainTimer),this.drainTimer=null;if(p4.updateContainerSync(null,this.container,null,GK),p4.flushSyncWork(),d4.delete(this.options.stdout),this.rootNode.yogaNode?.free(),this.rootNode.yogaNode=void 0,Z instanceof Error)this.rejectExitPromise(Z);else this.resolveExitPromise()}async waitUntilExit(){return this.exitPromise||=new Promise((Z,K)=>{this.resolveExitPromise=Z,this.rejectExitPromise=K}),this.exitPromise}resetLineCount(){if(this.options.stdout.isTTY)this.backFrame=this.frontFrame,this.frontFrame=B5(this.frontFrame.viewport.height,this.frontFrame.viewport.width,this.stylePool,this.charPool,this.hyperlinkPool),this.log.reset(),this.displayCursor=null}resetPools(){this.charPool=new g6,this.hyperlinkPool=new h6,F2(this.frontFrame.screen,this.charPool,this.hyperlinkPool),this.backFrame.screen.charPool=this.charPool,this.backFrame.screen.hyperlinkPool=this.hyperlinkPool}patchConsole(){let Z=console,K={},G=(...q)=>KZ(`console.log: ${fO(...q)}`),z=(...q)=>L8(Error(`console.error: ${fO(...q)}`));for(let q of HF)K[q]=Z[q],Z[q]=G;for(let q of DF)K[q]=Z[q],Z[q]=z;return K.assert=Z.assert,Z.assert=(q,...Y)=>{if(!q)z(...Y)},()=>Object.assign(Z,K)}patchStderr(){let Z=process.stderr,K=Z.write,G=!1,z=(q,Y,j)=>{let H=typeof Y==="function"?Y:j;if(G){let D=typeof Y==="string"?Y:void 0;return K.call(Z,q,D,H)}G=!0;try{let D=typeof q==="string"?q:Buffer.from(q).toString("utf8");if(KZ(`[stderr] ${D}`,{level:"warn"}),this.altScreenActive&&!this.isUnmounted&&!this.isPaused)this.prevFrameContaminated=!0,this.scheduleRender()}finally{G=!1,H?.()}return!0};return Z.write=z,()=>{if(Z.write===z)Z.write=K}}}function OF(Z=process.stdin){if(!Z.isTTY)return;try{while(Z.read()!==null);}catch{}if(process.platform==="win32")return;let K=Z,G=K.isRaw===!0,z=-1;try{if(!G)K.setRawMode?.(!0);z=UF("/dev/tty",mO.O_RDONLY|mO.O_NONBLOCK);let q=Buffer.alloc(1024);for(let Y=0;Y<64;Y++)if(qF(z,q,0,q.length,null)<=0)break}catch{}finally{if(z>=0)try{zF(z)}catch{}if(!G)try{K.setRawMode?.(!1)}catch{}}}var BF,YF,jF,HF,DF;var hO=P(()=>{r3();e3();OB();BK();XF();$z();NK();G5();M1();_6();wj();JU();y6();kj();w6();gj();pj();EG();nj();GQ();tj();IG();ZG();fG();xO();bO();T8();PO();OG();o6();_8();n6();l4();wG();m0();BF=Object.freeze({x:0,y:0,visible:!1}),YF=Object.freeze({type:"stdout",content:UJ}),jF=Object.freeze({type:"stdout",content:kG+UJ});HF=["log","info","debug","dir","dirxml","count","countReset","group","groupCollapsed","groupEnd","table","time","timeEnd","timeLog"],DF=["warn","error","trace"]});import{Stream as VF}from"stream";async function uO({stdout:Z=process.stdout,stdin:K=process.stdin,stderr:G=process.stderr,exitOnCtrlC:z=!0,patchConsole:q=!0,onFrame:Y}={}){await Promise.resolve();let j=new q9({stdout:Z,stdin:K,stderr:G,exitOnCtrlC:z,patchConsole:q,onFrame:Y});return d4.set(Z,j),{render:(H)=>j.render(H),unmount:()=>j.unmount(),waitUntilExit:()=>j.waitUntilExit()}}var AF=(Z,K)=>{let G=MF(K),z={stdout:process.stdout,stdin:process.stdin,stderr:process.stderr,exitOnCtrlC:!0,patchConsole:!0,...G},q=_F(z.stdout,()=>new q9(z));return q.render(Z),{rerender:q.render,unmount(){q.unmount()},waitUntilExit:q.waitUntilExit,cleanup:()=>d4.delete(z.stdout)}},NF=async(Z,K)=>{await Promise.resolve();let G=AF(Z,K);return KZ(`[render] first ink render: ${Math.round(process.uptime()*1000)}ms since process start`),G},pO,MF=(Z={})=>{if(Z instanceof VF)return{stdout:Z,stdin:process.stdin};return Z},_F=(Z,K)=>{let G=d4.get(Z);if(!G)G=K(),d4.set(Z,G);return G};var cO=P(()=>{G5();hO();EG();pO=NF});function EQ(Z){switch(Z){case"light":return WF;case"light-ansi":return LF;case"dark-ansi":return $F;case"light-daltonized":return RF;case"dark-daltonized":return TF;default:return EF}}function vS(Z){let K=Z.match(/rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)/);if(K){let G=parseInt(K[1],10),z=parseInt(K[2],10),q=parseInt(K[3],10),Y=CF.rgb(G,z,q)("X");return Y.slice(0,Y.indexOf("X"))}return"\x1B[35m"}var FF,SS,WF,LF,$F,RF,EF,TF,CF;var gG=P(()=>{Lz();c1();FF=["dark","light","light-daltonized","dark-daltonized","light-ansi","dark-ansi"],SS=["auto",...FF],WF={autoAccept:"rgb(135,0,255)",bashBorder:"rgb(255,0,135)",claude:"rgb(215,119,87)",claudeShimmer:"rgb(245,149,117)",claudeBlue_FOR_SYSTEM_SPINNER:"rgb(87,105,247)",claudeBlueShimmer_FOR_SYSTEM_SPINNER:"rgb(117,135,255)",permission:"rgb(87,105,247)",permissionShimmer:"rgb(137,155,255)",planMode:"rgb(0,102,102)",ide:"rgb(71,130,200)",promptBorder:"rgb(153,153,153)",promptBorderShimmer:"rgb(183,183,183)",text:"rgb(0,0,0)",inverseText:"rgb(255,255,255)",inactive:"rgb(102,102,102)",inactiveShimmer:"rgb(142,142,142)",subtle:"rgb(175,175,175)",suggestion:"rgb(87,105,247)",remember:"rgb(0,0,255)",background:"rgb(0,153,153)",success:"rgb(44,122,57)",error:"rgb(171,43,63)",warning:"rgb(150,108,30)",merged:"rgb(135,0,255)",warningShimmer:"rgb(200,158,80)",diffAdded:"rgb(105,219,124)",diffRemoved:"rgb(255,168,180)",diffAddedDimmed:"rgb(199,225,203)",diffRemovedDimmed:"rgb(253,210,216)",diffAddedWord:"rgb(47,157,68)",diffRemovedWord:"rgb(209,69,75)",red_FOR_SUBAGENTS_ONLY:"rgb(220,38,38)",blue_FOR_SUBAGENTS_ONLY:"rgb(37,99,235)",green_FOR_SUBAGENTS_ONLY:"rgb(22,163,74)",yellow_FOR_SUBAGENTS_ONLY:"rgb(202,138,4)",purple_FOR_SUBAGENTS_ONLY:"rgb(147,51,234)",orange_FOR_SUBAGENTS_ONLY:"rgb(234,88,12)",pink_FOR_SUBAGENTS_ONLY:"rgb(219,39,119)",cyan_FOR_SUBAGENTS_ONLY:"rgb(8,145,178)",professionalBlue:"rgb(106,155,204)",chromeYellow:"rgb(251,188,4)",clawd_body:"rgb(215,119,87)",clawd_background:"rgb(0,0,0)",userMessageBackground:"rgb(240, 240, 240)",userMessageBackgroundHover:"rgb(252, 252, 252)",messageActionsBackground:"rgb(232, 236, 244)",selectionBg:"rgb(180, 213, 255)",bashMessageBackgroundColor:"rgb(250, 245, 250)",memoryBackgroundColor:"rgb(230, 245, 250)",rate_limit_fill:"rgb(87,105,247)",rate_limit_empty:"rgb(39,47,111)",fastMode:"rgb(255,106,0)",fastModeShimmer:"rgb(255,150,50)",briefLabelYou:"rgb(37,99,235)",briefLabelClaude:"rgb(215,119,87)",rainbow_red:"rgb(235,95,87)",rainbow_orange:"rgb(245,139,87)",rainbow_yellow:"rgb(250,195,95)",rainbow_green:"rgb(145,200,130)",rainbow_blue:"rgb(130,170,220)",rainbow_indigo:"rgb(155,130,200)",rainbow_violet:"rgb(200,130,180)",rainbow_red_shimmer:"rgb(250,155,147)",rainbow_orange_shimmer:"rgb(255,185,137)",rainbow_yellow_shimmer:"rgb(255,225,155)",rainbow_green_shimmer:"rgb(185,230,180)",rainbow_blue_shimmer:"rgb(180,205,240)",rainbow_indigo_shimmer:"rgb(195,180,230)",rainbow_violet_shimmer:"rgb(230,180,210)"},LF={autoAccept:"ansi:magenta",bashBorder:"ansi:magenta",claude:"ansi:redBright",claudeShimmer:"ansi:yellowBright",claudeBlue_FOR_SYSTEM_SPINNER:"ansi:blue",claudeBlueShimmer_FOR_SYSTEM_SPINNER:"ansi:blueBright",permission:"ansi:blue",permissionShimmer:"ansi:blueBright",planMode:"ansi:cyan",ide:"ansi:blueBright",promptBorder:"ansi:white",promptBorderShimmer:"ansi:whiteBright",text:"ansi:black",inverseText:"ansi:white",inactive:"ansi:blackBright",inactiveShimmer:"ansi:white",subtle:"ansi:blackBright",suggestion:"ansi:blue",remember:"ansi:blue",background:"ansi:cyan",success:"ansi:green",error:"ansi:red",warning:"ansi:yellow",merged:"ansi:magenta",warningShimmer:"ansi:yellowBright",diffAdded:"ansi:green",diffRemoved:"ansi:red",diffAddedDimmed:"ansi:green",diffRemovedDimmed:"ansi:red",diffAddedWord:"ansi:greenBright",diffRemovedWord:"ansi:redBright",red_FOR_SUBAGENTS_ONLY:"ansi:red",blue_FOR_SUBAGENTS_ONLY:"ansi:blue",green_FOR_SUBAGENTS_ONLY:"ansi:green",yellow_FOR_SUBAGENTS_ONLY:"ansi:yellow",purple_FOR_SUBAGENTS_ONLY:"ansi:magenta",orange_FOR_SUBAGENTS_ONLY:"ansi:redBright",pink_FOR_SUBAGENTS_ONLY:"ansi:magentaBright",cyan_FOR_SUBAGENTS_ONLY:"ansi:cyan",professionalBlue:"ansi:blueBright",chromeYellow:"ansi:yellow",clawd_body:"ansi:redBright",clawd_background:"ansi:black",userMessageBackground:"ansi:white",userMessageBackgroundHover:"ansi:whiteBright",messageActionsBackground:"ansi:white",selectionBg:"ansi:cyan",bashMessageBackgroundColor:"ansi:whiteBright",memoryBackgroundColor:"ansi:white",rate_limit_fill:"ansi:yellow",rate_limit_empty:"ansi:black",fastMode:"ansi:red",fastModeShimmer:"ansi:redBright",briefLabelYou:"ansi:blue",briefLabelClaude:"ansi:redBright",rainbow_red:"ansi:red",rainbow_orange:"ansi:redBright",rainbow_yellow:"ansi:yellow",rainbow_green:"ansi:green",rainbow_blue:"ansi:cyan",rainbow_indigo:"ansi:blue",rainbow_violet:"ansi:magenta",rainbow_red_shimmer:"ansi:redBright",rainbow_orange_shimmer:"ansi:yellow",rainbow_yellow_shimmer:"ansi:yellowBright",rainbow_green_shimmer:"ansi:greenBright",rainbow_blue_shimmer:"ansi:cyanBright",rainbow_indigo_shimmer:"ansi:blueBright",rainbow_violet_shimmer:"ansi:magentaBright"},$F={autoAccept:"ansi:magentaBright",bashBorder:"ansi:magentaBright",claude:"ansi:redBright",claudeShimmer:"ansi:yellowBright",claudeBlue_FOR_SYSTEM_SPINNER:"ansi:blueBright",claudeBlueShimmer_FOR_SYSTEM_SPINNER:"ansi:blueBright",permission:"ansi:blueBright",permissionShimmer:"ansi:blueBright",planMode:"ansi:cyanBright",ide:"ansi:blue",promptBorder:"ansi:white",promptBorderShimmer:"ansi:whiteBright",text:"ansi:whiteBright",inverseText:"ansi:black",inactive:"ansi:white",inactiveShimmer:"ansi:whiteBright",subtle:"ansi:white",suggestion:"ansi:blueBright",remember:"ansi:blueBright",background:"ansi:cyanBright",success:"ansi:greenBright",error:"ansi:redBright",warning:"ansi:yellowBright",merged:"ansi:magentaBright",warningShimmer:"ansi:yellowBright",diffAdded:"ansi:green",diffRemoved:"ansi:red",diffAddedDimmed:"ansi:green",diffRemovedDimmed:"ansi:red",diffAddedWord:"ansi:greenBright",diffRemovedWord:"ansi:redBright",red_FOR_SUBAGENTS_ONLY:"ansi:redBright",blue_FOR_SUBAGENTS_ONLY:"ansi:blueBright",green_FOR_SUBAGENTS_ONLY:"ansi:greenBright",yellow_FOR_SUBAGENTS_ONLY:"ansi:yellowBright",purple_FOR_SUBAGENTS_ONLY:"ansi:magentaBright",orange_FOR_SUBAGENTS_ONLY:"ansi:redBright",pink_FOR_SUBAGENTS_ONLY:"ansi:magentaBright",cyan_FOR_SUBAGENTS_ONLY:"ansi:cyanBright",professionalBlue:"rgb(106,155,204)",chromeYellow:"ansi:yellowBright",clawd_body:"ansi:redBright",clawd_background:"ansi:black",userMessageBackground:"ansi:blackBright",userMessageBackgroundHover:"ansi:white",messageActionsBackground:"ansi:blackBright",selectionBg:"ansi:blue",bashMessageBackgroundColor:"ansi:black",memoryBackgroundColor:"ansi:blackBright",rate_limit_fill:"ansi:yellow",rate_limit_empty:"ansi:white",fastMode:"ansi:redBright",fastModeShimmer:"ansi:redBright",briefLabelYou:"ansi:blueBright",briefLabelClaude:"ansi:redBright",rainbow_red:"ansi:red",rainbow_orange:"ansi:redBright",rainbow_yellow:"ansi:yellow",rainbow_green:"ansi:green",rainbow_blue:"ansi:cyan",rainbow_indigo:"ansi:blue",rainbow_violet:"ansi:magenta",rainbow_red_shimmer:"ansi:redBright",rainbow_orange_shimmer:"ansi:yellow",rainbow_yellow_shimmer:"ansi:yellowBright",rainbow_green_shimmer:"ansi:greenBright",rainbow_blue_shimmer:"ansi:cyanBright",rainbow_indigo_shimmer:"ansi:blueBright",rainbow_violet_shimmer:"ansi:magentaBright"},RF={autoAccept:"rgb(135,0,255)",bashBorder:"rgb(0,102,204)",claude:"rgb(255,153,51)",claudeShimmer:"rgb(255,183,101)",claudeBlue_FOR_SYSTEM_SPINNER:"rgb(51,102,255)",claudeBlueShimmer_FOR_SYSTEM_SPINNER:"rgb(101,152,255)",permission:"rgb(51,102,255)",permissionShimmer:"rgb(101,152,255)",planMode:"rgb(51,102,102)",ide:"rgb(71,130,200)",promptBorder:"rgb(153,153,153)",promptBorderShimmer:"rgb(183,183,183)",text:"rgb(0,0,0)",inverseText:"rgb(255,255,255)",inactive:"rgb(102,102,102)",inactiveShimmer:"rgb(142,142,142)",subtle:"rgb(175,175,175)",suggestion:"rgb(51,102,255)",remember:"rgb(51,102,255)",background:"rgb(0,153,153)",success:"rgb(0,102,153)",error:"rgb(204,0,0)",warning:"rgb(255,153,0)",merged:"rgb(135,0,255)",warningShimmer:"rgb(255,183,50)",diffAdded:"rgb(153,204,255)",diffRemoved:"rgb(255,204,204)",diffAddedDimmed:"rgb(209,231,253)",diffRemovedDimmed:"rgb(255,233,233)",diffAddedWord:"rgb(51,102,204)",diffRemovedWord:"rgb(153,51,51)",red_FOR_SUBAGENTS_ONLY:"rgb(204,0,0)",blue_FOR_SUBAGENTS_ONLY:"rgb(0,102,204)",green_FOR_SUBAGENTS_ONLY:"rgb(0,204,0)",yellow_FOR_SUBAGENTS_ONLY:"rgb(255,204,0)",purple_FOR_SUBAGENTS_ONLY:"rgb(128,0,128)",orange_FOR_SUBAGENTS_ONLY:"rgb(255,128,0)",pink_FOR_SUBAGENTS_ONLY:"rgb(255,102,178)",cyan_FOR_SUBAGENTS_ONLY:"rgb(0,178,178)",professionalBlue:"rgb(106,155,204)",chromeYellow:"rgb(251,188,4)",clawd_body:"rgb(215,119,87)",clawd_background:"rgb(0,0,0)",userMessageBackground:"rgb(220, 220, 220)",userMessageBackgroundHover:"rgb(232, 232, 232)",messageActionsBackground:"rgb(210, 216, 226)",selectionBg:"rgb(180, 213, 255)",bashMessageBackgroundColor:"rgb(250, 245, 250)",memoryBackgroundColor:"rgb(230, 245, 250)",rate_limit_fill:"rgb(51,102,255)",rate_limit_empty:"rgb(23,46,114)",fastMode:"rgb(255,106,0)",fastModeShimmer:"rgb(255,150,50)",briefLabelYou:"rgb(37,99,235)",briefLabelClaude:"rgb(255,153,51)",rainbow_red:"rgb(235,95,87)",rainbow_orange:"rgb(245,139,87)",rainbow_yellow:"rgb(250,195,95)",rainbow_green:"rgb(145,200,130)",rainbow_blue:"rgb(130,170,220)",rainbow_indigo:"rgb(155,130,200)",rainbow_violet:"rgb(200,130,180)",rainbow_red_shimmer:"rgb(250,155,147)",rainbow_orange_shimmer:"rgb(255,185,137)",rainbow_yellow_shimmer:"rgb(255,225,155)",rainbow_green_shimmer:"rgb(185,230,180)",rainbow_blue_shimmer:"rgb(180,205,240)",rainbow_indigo_shimmer:"rgb(195,180,230)",rainbow_violet_shimmer:"rgb(230,180,210)"},EF={autoAccept:"rgb(175,135,255)",bashBorder:"rgb(253,93,177)",claude:"rgb(215,119,87)",claudeShimmer:"rgb(235,159,127)",claudeBlue_FOR_SYSTEM_SPINNER:"rgb(147,165,255)",claudeBlueShimmer_FOR_SYSTEM_SPINNER:"rgb(177,195,255)",permission:"rgb(177,185,249)",permissionShimmer:"rgb(207,215,255)",planMode:"rgb(72,150,140)",ide:"rgb(71,130,200)",promptBorder:"rgb(136,136,136)",promptBorderShimmer:"rgb(166,166,166)",text:"rgb(255,255,255)",inverseText:"rgb(0,0,0)",inactive:"rgb(153,153,153)",inactiveShimmer:"rgb(193,193,193)",subtle:"rgb(80,80,80)",suggestion:"rgb(177,185,249)",remember:"rgb(177,185,249)",background:"rgb(0,204,204)",success:"rgb(78,186,101)",error:"rgb(255,107,128)",warning:"rgb(255,193,7)",merged:"rgb(175,135,255)",warningShimmer:"rgb(255,223,57)",diffAdded:"rgb(34,92,43)",diffRemoved:"rgb(122,41,54)",diffAddedDimmed:"rgb(71,88,74)",diffRemovedDimmed:"rgb(105,72,77)",diffAddedWord:"rgb(56,166,96)",diffRemovedWord:"rgb(179,89,107)",red_FOR_SUBAGENTS_ONLY:"rgb(220,38,38)",blue_FOR_SUBAGENTS_ONLY:"rgb(37,99,235)",green_FOR_SUBAGENTS_ONLY:"rgb(22,163,74)",yellow_FOR_SUBAGENTS_ONLY:"rgb(202,138,4)",purple_FOR_SUBAGENTS_ONLY:"rgb(147,51,234)",orange_FOR_SUBAGENTS_ONLY:"rgb(234,88,12)",pink_FOR_SUBAGENTS_ONLY:"rgb(219,39,119)",cyan_FOR_SUBAGENTS_ONLY:"rgb(8,145,178)",professionalBlue:"rgb(106,155,204)",chromeYellow:"rgb(251,188,4)",clawd_body:"rgb(215,119,87)",clawd_background:"rgb(0,0,0)",userMessageBackground:"rgb(55, 55, 55)",userMessageBackgroundHover:"rgb(70, 70, 70)",messageActionsBackground:"rgb(44, 50, 62)",selectionBg:"rgb(38, 79, 120)",bashMessageBackgroundColor:"rgb(65, 60, 65)",memoryBackgroundColor:"rgb(55, 65, 70)",rate_limit_fill:"rgb(177,185,249)",rate_limit_empty:"rgb(80,83,112)",fastMode:"rgb(255,120,20)",fastModeShimmer:"rgb(255,165,70)",briefLabelYou:"rgb(122,180,232)",briefLabelClaude:"rgb(215,119,87)",rainbow_red:"rgb(235,95,87)",rainbow_orange:"rgb(245,139,87)",rainbow_yellow:"rgb(250,195,95)",rainbow_green:"rgb(145,200,130)",rainbow_blue:"rgb(130,170,220)",rainbow_indigo:"rgb(155,130,200)",rainbow_violet:"rgb(200,130,180)",rainbow_red_shimmer:"rgb(250,155,147)",rainbow_orange_shimmer:"rgb(255,185,137)",rainbow_yellow_shimmer:"rgb(255,225,155)",rainbow_green_shimmer:"rgb(185,230,180)",rainbow_blue_shimmer:"rgb(180,205,240)",rainbow_indigo_shimmer:"rgb(195,180,230)",rainbow_violet_shimmer:"rgb(230,180,210)"},TF={autoAccept:"rgb(175,135,255)",bashBorder:"rgb(51,153,255)",claude:"rgb(255,153,51)",claudeShimmer:"rgb(255,183,101)",claudeBlue_FOR_SYSTEM_SPINNER:"rgb(153,204,255)",claudeBlueShimmer_FOR_SYSTEM_SPINNER:"rgb(183,224,255)",permission:"rgb(153,204,255)",permissionShimmer:"rgb(183,224,255)",planMode:"rgb(102,153,153)",ide:"rgb(71,130,200)",promptBorder:"rgb(136,136,136)",promptBorderShimmer:"rgb(166,166,166)",text:"rgb(255,255,255)",inverseText:"rgb(0,0,0)",inactive:"rgb(153,153,153)",inactiveShimmer:"rgb(193,193,193)",subtle:"rgb(80,80,80)",suggestion:"rgb(153,204,255)",remember:"rgb(153,204,255)",background:"rgb(0,204,204)",success:"rgb(51,153,255)",error:"rgb(255,102,102)",warning:"rgb(255,204,0)",merged:"rgb(175,135,255)",warningShimmer:"rgb(255,234,50)",diffAdded:"rgb(0,68,102)",diffRemoved:"rgb(102,0,0)",diffAddedDimmed:"rgb(62,81,91)",diffRemovedDimmed:"rgb(62,44,44)",diffAddedWord:"rgb(0,119,179)",diffRemovedWord:"rgb(179,0,0)",red_FOR_SUBAGENTS_ONLY:"rgb(255,102,102)",blue_FOR_SUBAGENTS_ONLY:"rgb(102,178,255)",green_FOR_SUBAGENTS_ONLY:"rgb(102,255,102)",yellow_FOR_SUBAGENTS_ONLY:"rgb(255,255,102)",purple_FOR_SUBAGENTS_ONLY:"rgb(178,102,255)",orange_FOR_SUBAGENTS_ONLY:"rgb(255,178,102)",pink_FOR_SUBAGENTS_ONLY:"rgb(255,153,204)",cyan_FOR_SUBAGENTS_ONLY:"rgb(102,204,204)",professionalBlue:"rgb(106,155,204)",chromeYellow:"rgb(251,188,4)",clawd_body:"rgb(215,119,87)",clawd_background:"rgb(0,0,0)",userMessageBackground:"rgb(55, 55, 55)",userMessageBackgroundHover:"rgb(70, 70, 70)",messageActionsBackground:"rgb(44, 50, 62)",selectionBg:"rgb(38, 79, 120)",bashMessageBackgroundColor:"rgb(65, 60, 65)",memoryBackgroundColor:"rgb(55, 65, 70)",rate_limit_fill:"rgb(153,204,255)",rate_limit_empty:"rgb(69,92,115)",fastMode:"rgb(255,120,20)",fastModeShimmer:"rgb(255,165,70)",briefLabelYou:"rgb(122,180,232)",briefLabelClaude:"rgb(255,153,51)",rainbow_red:"rgb(235,95,87)",rainbow_orange:"rgb(245,139,87)",rainbow_yellow:"rgb(250,195,95)",rainbow_green:"rgb(145,200,130)",rainbow_blue:"rgb(130,170,220)",rainbow_indigo:"rgb(155,130,200)",rainbow_violet:"rgb(200,130,180)",rainbow_red_shimmer:"rgb(250,155,147)",rainbow_orange_shimmer:"rgb(255,185,137)",rainbow_yellow_shimmer:"rgb(255,225,155)",rainbow_green_shimmer:"rgb(185,230,180)",rainbow_blue_shimmer:"rgb(180,205,240)",rainbow_indigo_shimmer:"rgb(195,180,230)",rainbow_violet_shimmer:"rgb(230,180,210)"};CF=DQ.terminal==="Apple_Terminal"?new lO({level:2}):K0});function SF(Z,K,G="foreground"){return(z)=>{if(!Z)return z;if(Z.startsWith("rgb(")||Z.startsWith("#")||Z.startsWith("ansi256(")||Z.startsWith("ansi:"))return K5(z,Z,G);return K5(z,EQ(K)[Z],G)}}var dO=P(()=>{_6();gG()});function TQ(Z,K){if(!Z)return;if(Z.startsWith("rgb(")||Z.startsWith("#")||Z.startsWith("ansi256(")||Z.startsWith("ansi:"))return Z;return K[Z]}function vF(Z,K){let G=aO.c(33),z,q,Y,j,H,D,V,A;if(G[0]!==Z)({borderColor:Y,borderTopColor:D,borderBottomColor:q,borderLeftColor:j,borderRightColor:H,backgroundColor:z,children:V,...A}=Z),G[0]=Z,G[1]=z,G[2]=q,G[3]=Y,G[4]=j,G[5]=H,G[6]=D,G[7]=V,G[8]=A;else z=G[1],q=G[2],Y=G[3],j=G[4],H=G[5],D=G[6],V=G[7],A=G[8];let[M]=D6(),F,_,R,W,E,T;if(G[10]!==z||G[11]!==q||G[12]!==Y||G[13]!==j||G[14]!==H||G[15]!==D||G[16]!==M){let y=EQ(M);_=TQ(Y,y),E=TQ(D,y),F=TQ(q,y),R=TQ(j,y),W=TQ(H,y),T=TQ(z,y),G[10]=z,G[11]=q,G[12]=Y,G[13]=j,G[14]=H,G[15]=D,G[16]=M,G[17]=F,G[18]=_,G[19]=R,G[20]=W,G[21]=E,G[22]=T}else F=G[17],_=G[18],R=G[19],W=G[20],E=G[21],T=G[22];let $=T,I;if(G[23]!==V||G[24]!==K||G[25]!==$||G[26]!==F||G[27]!==_||G[28]!==R||G[29]!==W||G[30]!==E||G[31]!==A)I=Q0(n7,{ref:K,borderColor:_,borderTopColor:E,borderBottomColor:F,borderLeftColor:R,borderRightColor:W,backgroundColor:$,...A,children:V}),G[23]=V,G[24]=K,G[25]=$,G[26]=F,G[27]=_,G[28]=R,G[29]=W,G[30]=E,G[31]=A,G[32]=I;else I=G[32];return I}var aO,iO,sO,xF;var nO=P(()=>{XJ();gG();V6();m0();aO=U0(R7(),1),iO=U0(n0(),1);sO=iO.default.forwardRef(vF);sO.displayName="ThemedBox";xF=sO});function tO(Z,K){if(!Z)return;if(Z.startsWith("rgb(")||Z.startsWith("#")||Z.startsWith("ansi256(")||Z.startsWith("ansi:"))return Z;return K[Z]}function rO(Z){let K=oO.c(10),{color:G,backgroundColor:z,dimColor:q,bold:Y,italic:j,underline:H,strikethrough:D,inverse:V,wrap:A,children:M}=Z,F=q===void 0?!1:q,_=Y===void 0?!1:Y,R=j===void 0?!1:j,W=H===void 0?!1:H,E=D===void 0?!1:D,T=V===void 0?!1:V,$=A===void 0?"wrap":A,[I]=D6(),y=EQ(I),m=hG.useContext(bF),b=!G&&m?tO(m,y):F?y.inactive:tO(G,y),u=z?y[z]:void 0,f;if(K[0]!==_||K[1]!==M||K[2]!==T||K[3]!==R||K[4]!==u||K[5]!==b||K[6]!==E||K[7]!==W||K[8]!==$)f=Q0(SZ,{color:b,backgroundColor:u,bold:_,italic:R,underline:W,strikethrough:E,inverse:T,wrap:$,children:M}),K[0]=_,K[1]=M,K[2]=T,K[3]=R,K[4]=u,K[5]=b,K[6]=E,K[7]=W,K[8]=$,K[9]=f;else f=K[9];return f}var oO,hG,bF;var eO=P(()=>{_Q();gG();V6();m0();oO=U0(R7(),1),hG=U0(n0(),1),bF=hG.default.createContext(void 0)});var QH=g5((lS,JH)=>{var yF=PF(),CQ=IF();function ZH(Z){if(/^\d{3,4}$/.test(Z)){let G=/(\d{1,2})(\d{2})/.exec(Z)||[];return{major:0,minor:parseInt(G[1],10),patch:parseInt(G[2],10)}}let K=(Z||"").split(".").map((G)=>parseInt(G,10));return{major:K[0],minor:K[1],patch:K[2]}}function xU(Z){let{CI:K,FORCE_HYPERLINK:G,NETLIFY:z,TEAMCITY_VERSION:q,TERM_PROGRAM:Y,TERM_PROGRAM_VERSION:j,VTE_VERSION:H,TERM:D}=process.env;if(G)return!(G.length>0&&parseInt(G,10)===0);if(CQ("no-hyperlink")||CQ("no-hyperlinks")||CQ("hyperlink=false")||CQ("hyperlink=never"))return!1;if(CQ("hyperlink=true")||CQ("hyperlink=always"))return!0;if(z)return!0;if(!yF.supportsColor(Z))return!1;if(Z&&!Z.isTTY)return!1;if("WT_SESSION"in process.env)return!0;if(process.platform==="win32")return!1;if(K)return!1;if(q)return!1;if(Y){let V=ZH(j||"");switch(Y){case"iTerm.app":if(V.major===3)return V.minor>=1;return V.major>3;case"WezTerm":return V.major>=20200620;case"vscode":return V.major>1||V.major===1&&V.minor>=72;case"ghostty":return!0}}if(H){if(H==="0.50.0")return!1;let V=ZH(H);return V.major>0||V.minor>=50}switch(D){case"alacritty":return!0}return!1}JH.exports={supportsHyperlink:xU,stdout:xU(process.stdout),stderr:xU(process.stderr)}});function GH(Z){if(Z?.stdoutSupported??bU.default.stdout)return!0;let G=Z?.env??process.env,z=G.TERM_PROGRAM;if(z&&KH.includes(z))return!0;let q=G.LC_TERMINAL;if(q&&KH.includes(q))return!0;if(G.TERM?.includes("kitty"))return!0;return!1}var bU,KH;var XH=P(()=>{bU=U0(QH(),1),KH=["ghostty","Hyper","kitty","alacritty","iTerm.app","iTerm2"]});function B9(Z){let K=zH.c(5),{children:G,url:z,fallback:q}=Z,Y=G??z;if(GH()){let D;if(K[0]!==Y||K[1]!==z)D=Q0(SZ,{children:Q0("ink-link",{href:z,children:Y})}),K[0]=Y,K[1]=z,K[2]=D;else D=K[2];return D}let j=q??Y,H;if(K[3]!==j)H=Q0(SZ,{children:j}),K[3]=j,K[4]=H;else H=K[4];return H}var zH;var IU=P(()=>{XH();_Q();m0();zH=U0(R7(),1)});function UH(Z){if(Z.length===0)return null;let K=Z[0];if(K==="c")return{type:"reset"};if(K==="7")return{type:"cursor",action:{type:"save"}};if(K==="8")return{type:"cursor",action:{type:"restore"}};if(K==="D")return{type:"cursor",action:{type:"move",direction:"down",count:1}};if(K==="M")return{type:"cursor",action:{type:"move",direction:"up",count:1}};if(K==="E")return{type:"cursor",action:{type:"nextLine",count:1}};if(K==="H")return null;if("()".includes(K)&&Z.length>=2)return null;return{type:"unknown",sequence:`\x1B${Z}`}}var qH=()=>{};function SQ(){return{bold:!1,dim:!1,italic:!1,underline:"none",blink:!1,inverse:!1,hidden:!1,strikethrough:!1,overline:!1,fg:{type:"default"},bg:{type:"default"},underlineColor:{type:"default"}}}var uG=()=>{};function fF(Z){if(Z==="")return[{value:0,subparams:[],colon:!1}];let K=[],G={value:null,subparams:[],colon:!1},z="",q=!1;for(let Y=0;Y<=Z.length;Y++){let j=Z[Y];if(j===";"||j===void 0){let H=z===""?null:parseInt(z,10);if(q){if(H!==null)G.subparams.push(H)}else G.value=H;K.push(G),G={value:null,subparams:[],colon:!1},z="",q=!1}else if(j===":"){let H=z===""?null:parseInt(z,10);if(!q)G.value=H,G.colon=!0,q=!0;else if(H!==null)G.subparams.push(H);z=""}else if(j>="0"&&j<="9")z+=j}return K}function PU(Z,K){let G=Z[K];if(!G)return null;if(G.colon&&G.subparams.length>=1){if(G.subparams[0]===5&&G.subparams.length>=2)return{index:G.subparams[1]};if(G.subparams[0]===2&&G.subparams.length>=4){let q=G.subparams.length>=5?1:0;return{r:G.subparams[1+q],g:G.subparams[2+q],b:G.subparams[3+q]}}}let z=Z[K+1];if(!z)return null;if(z.value===5&&Z[K+2]?.value!==null&&Z[K+2]?.value!==void 0)return{index:Z[K+2].value};if(z.value===2){let q=Z[K+2]?.value,Y=Z[K+3]?.value,j=Z[K+4]?.value;if(q!==null&&q!==void 0&&Y!==null&&Y!==void 0&&j!==null&&j!==void 0)return{r:q,g:Y,b:j}}return null}function BH(Z,K){let G=fF(Z),z={...K},q=0;while(q<G.length){let Y=G[q],j=Y.value??0;if(j===0){z=SQ(),q++;continue}if(j===1){z.bold=!0,q++;continue}if(j===2){z.dim=!0,q++;continue}if(j===3){z.italic=!0,q++;continue}if(j===4){z.underline=Y.colon?mF[Y.subparams[0]]??"single":"single",q++;continue}if(j===5||j===6){z.blink=!0,q++;continue}if(j===7){z.inverse=!0,q++;continue}if(j===8){z.hidden=!0,q++;continue}if(j===9){z.strikethrough=!0,q++;continue}if(j===21){z.underline="double",q++;continue}if(j===22){z.bold=!1,z.dim=!1,q++;continue}if(j===23){z.italic=!1,q++;continue}if(j===24){z.underline="none",q++;continue}if(j===25){z.blink=!1,q++;continue}if(j===27){z.inverse=!1,q++;continue}if(j===28){z.hidden=!1,q++;continue}if(j===29){z.strikethrough=!1,q++;continue}if(j===53){z.overline=!0,q++;continue}if(j===55){z.overline=!1,q++;continue}if(j>=30&&j<=37){z.fg={type:"named",name:pG[j-30]},q++;continue}if(j===39){z.fg={type:"default"},q++;continue}if(j>=40&&j<=47){z.bg={type:"named",name:pG[j-40]},q++;continue}if(j===49){z.bg={type:"default"},q++;continue}if(j>=90&&j<=97){z.fg={type:"named",name:pG[j-90+8]},q++;continue}if(j>=100&&j<=107){z.bg={type:"named",name:pG[j-100+8]},q++;continue}if(j===38){let H=PU(G,q);if(H){z.fg="index"in H?{type:"indexed",index:H.index}:{type:"rgb",...H},q+=Y.colon?1:("index"in H)?3:5;continue}}if(j===48){let H=PU(G,q);if(H){z.bg="index"in H?{type:"indexed",index:H.index}:{type:"rgb",...H},q+=Y.colon?1:("index"in H)?3:5;continue}}if(j===58){let H=PU(G,q);if(H){z.underlineColor="index"in H?{type:"indexed",index:H.index}:{type:"rgb",...H},q+=Y.colon?1:("index"in H)?3:5;continue}}if(j===59){z.underlineColor={type:"default"},q++;continue}q++}return z}var pG,mF;var YH=P(()=>{uG();pG=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],mF=["none","single","double","curly","dotted","dashed"]});function wF(Z){return Z>=9728&&Z<=9983||Z>=9984&&Z<=10175||Z>=127744&&Z<=129535||Z>=129536&&Z<=129791||Z>=127456&&Z<=127487}function kF(Z){return Z>=4352&&Z<=4447||Z>=11904&&Z<=40959||Z>=44032&&Z<=55203||Z>=63744&&Z<=64255||Z>=65040&&Z<=65055||Z>=65072&&Z<=65135||Z>=65280&&Z<=65376||Z>=65504&&Z<=65510||Z>=131072&&Z<=196605||Z>=196608&&Z<=262141}function gF(Z){let K=0;for(let G of Z)if(K++,K>1)return!0;return!1}function hF(Z){if(gF(Z))return 2;let K=Z.codePointAt(0);if(K===void 0)return 1;if(wF(K)||kF(K))return 2;return 1}function*jH(Z){for(let{segment:K}of bG().segment(Z))yield{value:K,width:hF(K)}}function uF(Z){if(Z==="")return[];return Z.split(/[;:]/).map((K)=>K===""?0:parseInt(K,10))}function pF(Z){let K=Z.slice(2);if(K.length===0)return null;let G=K.charCodeAt(K.length-1),z=K.slice(0,-1),q="",Y=z,j="";if(z.length>0&&"?>=".includes(z[0]))q=z[0],Y=z.slice(1);let H=Y.match(/([^0-9;:]+)$/);if(H)j=H[1],Y=Y.slice(0,-j.length);let D=uF(Y),V=D[0]??1,A=D[1]??1;if(G===qZ.SGR&&q==="")return{type:"sgr",params:Y};if(G===qZ.CUU)return{type:"cursor",action:{type:"move",direction:"up",count:V}};if(G===qZ.CUD)return{type:"cursor",action:{type:"move",direction:"down",count:V}};if(G===qZ.CUF)return{type:"cursor",action:{type:"move",direction:"forward",count:V}};if(G===qZ.CUB)return{type:"cursor",action:{type:"move",direction:"back",count:V}};if(G===qZ.CNL)return{type:"cursor",action:{type:"nextLine",count:V}};if(G===qZ.CPL)return{type:"cursor",action:{type:"prevLine",count:V}};if(G===qZ.CHA)return{type:"cursor",action:{type:"column",col:V}};if(G===qZ.CUP||G===qZ.HVP)return{type:"cursor",action:{type:"position",row:V,col:A}};if(G===qZ.VPA)return{type:"cursor",action:{type:"row",row:V}};if(G===qZ.ED)return{type:"erase",action:{type:"display",region:OH[D[0]??0]??"toEnd"}};if(G===qZ.EL)return{type:"erase",action:{type:"line",region:HH[D[0]??0]??"toEnd"}};if(G===qZ.ECH)return{type:"erase",action:{type:"chars",count:V}};if(G===qZ.SU)return{type:"scroll",action:{type:"up",count:V}};if(G===qZ.SD)return{type:"scroll",action:{type:"down",count:V}};if(G===qZ.DECSTBM)return{type:"scroll",action:{type:"setRegion",top:V,bottom:A}};if(G===qZ.SCOSC)return{type:"cursor",action:{type:"save"}};if(G===qZ.SCORC)return{type:"cursor",action:{type:"restore"}};if(G===qZ.DECSCUSR&&j===" ")return{type:"cursor",action:{type:"style",...yU[V]??yU[0]}};if(q==="?"&&(G===qZ.SM||G===qZ.RM)){let M=G===qZ.SM;if(V===e0.CURSOR_VISIBLE)return{type:"cursor",action:M?{type:"show"}:{type:"hide"}};if(V===e0.ALT_SCREEN_CLEAR||V===e0.ALT_SCREEN)return{type:"mode",action:{type:"alternateScreen",enabled:M}};if(V===e0.BRACKETED_PASTE)return{type:"mode",action:{type:"bracketedPaste",enabled:M}};if(V===e0.MOUSE_NORMAL)return{type:"mode",action:{type:"mouseTracking",mode:M?"normal":"off"}};if(V===e0.MOUSE_BUTTON)return{type:"mode",action:{type:"mouseTracking",mode:M?"button":"off"}};if(V===e0.MOUSE_ANY)return{type:"mode",action:{type:"mouseTracking",mode:M?"any":"off"}};if(V===e0.FOCUS_EVENTS)return{type:"mode",action:{type:"focusEvents",enabled:M}}}return{type:"unknown",sequence:Z}}function cF(Z){if(Z.length<2)return"unknown";if(Z.charCodeAt(0)!==k4.ESC)return"unknown";let K=Z.charCodeAt(1);if(K===91)return"csi";if(K===93)return"osc";if(K===79)return"ss3";return"esc"}class cG{tokenizer=eJ();style=SQ();inLink=!1;linkUrl;reset(){this.tokenizer.reset(),this.style=SQ(),this.inLink=!1,this.linkUrl=void 0}feed(Z){let K=this.tokenizer.feed(Z),G=[];for(let z of K){let q=this.processToken(z);G.push(...q)}return G}processToken(Z){switch(Z.type){case"text":return this.processText(Z.value);case"sequence":return this.processSequence(Z.value)}}processText(Z){let K=[],G="";for(let z of Z)if(z.charCodeAt(0)===k4.BEL){if(G){let q=[...jH(G)];if(q.length>0)K.push({type:"text",graphemes:q,style:{...this.style}});G=""}K.push({type:"bell"})}else G+=z;if(G){let z=[...jH(G)];if(z.length>0)K.push({type:"text",graphemes:z,style:{...this.style}})}return K}processSequence(Z){switch(cF(Z)){case"csi":{let G=pF(Z);if(!G)return[];if(G.type==="sgr")return this.style=BH(G.params,this.style),[];return[G]}case"osc":{let G=Z.slice(2);if(G.endsWith("\x07"))G=G.slice(0,-1);else if(G.endsWith("\x1B\\"))G=G.slice(0,-2);let z=n2(G);if(z){if(z.type==="link")if(z.action.type==="start")this.inLink=!0,this.linkUrl=z.action.url;else this.inLink=!1,this.linkUrl=void 0;return[z]}return[]}case"esc":{let G=Z.slice(1),z=UH(G);return z?[z]:[]}case"ss3":return[{type:"unknown",sequence:Z}];default:return[{type:"unknown",sequence:Z}]}}}var DH=P(()=>{GO();W6();_8();n6();qH();l4();YH();FK();uG()});var VH=P(()=>{DH();uG()});function dF(Z){let G=new cG().feed(Z),z=[],q;for(let Y of G){if(Y.type==="link"){if(Y.action.type==="start")q=Y.action.url;else q=void 0;continue}if(Y.type==="text"){let j=Y.graphemes.map((V)=>V.value).join("");if(!j)continue;let H=aF(Y.style);if(q)H.hyperlink=q;let D=z[z.length-1];if(D&&sF(D.props,H))D.text+=j;else z.push({text:j,props:H})}}return z}function aF(Z){let K={};if(Z.bold)K.bold=!0;if(Z.dim)K.dim=!0;if(Z.italic)K.italic=!0;if(Z.underline!=="none")K.underline=!0;if(Z.strikethrough)K.strikethrough=!0;if(Z.inverse)K.inverse=!0;let G=AH(Z.fg);if(G)K.color=G;let z=AH(Z.bg);if(z)K.backgroundColor=z;return K}function AH(Z){switch(Z.type){case"named":return iF[Z.name];case"indexed":return`ansi256(${Z.index})`;case"rgb":return`rgb(${Z.r},${Z.g},${Z.b})`;case"default":return}}function sF(Z,K){return Z.color===K.color&&Z.backgroundColor===K.backgroundColor&&Z.bold===K.bold&&Z.dim===K.dim&&Z.italic===K.italic&&Z.underline===K.underline&&Z.strikethrough===K.strikethrough&&Z.inverse===K.inverse&&Z.hyperlink===K.hyperlink}function nF(Z){return Z.color!==void 0||Z.backgroundColor!==void 0||Z.dim===!0||Z.bold===!0||Z.italic===!0||Z.underline===!0||Z.strikethrough===!0||Z.inverse===!0||Z.hyperlink!==void 0}function tF(Z){return Z.color!==void 0||Z.backgroundColor!==void 0||Z.dim===!0||Z.bold===!0||Z.italic===!0||Z.underline===!0||Z.strikethrough===!0||Z.inverse===!0}function NH(Z){let K=mU.c(14),G,z,q,Y;if(K[0]!==Z)({bold:G,dim:q,children:z,...Y}=Z),K[0]=Z,K[1]=G,K[2]=z,K[3]=q,K[4]=Y;else G=K[1],z=K[2],q=K[3],Y=K[4];if(q){let H;if(K[5]!==z||K[6]!==Y)H=Q0(SZ,{...Y,dim:!0,children:z}),K[5]=z,K[6]=Y,K[7]=H;else H=K[7];return H}if(G){let H;if(K[8]!==z||K[9]!==Y)H=Q0(SZ,{...Y,bold:!0,children:z}),K[8]=z,K[9]=Y,K[10]=H;else H=K[10];return H}let j;if(K[11]!==z||K[12]!==Y)j=Q0(SZ,{...Y,children:z}),K[11]=z,K[12]=Y,K[13]=j;else j=K[13];return j}var mU,MH,lF,iF;var _H=P(()=>{IU();_Q();VH();m0();mU=U0(R7(),1),MH=U0(n0(),1),lF=MH.default.memo(function(K){let G=mU.c(12),{children:z,dimColor:q}=K;if(typeof z!=="string"){let V;if(G[0]!==z||G[1]!==q)V=q?Q0(SZ,{dim:!0,children:String(z)}):Q0(SZ,{children:String(z)}),G[0]=z,G[1]=q,G[2]=V;else V=G[2];return V}if(z==="")return null;let Y,j;if(G[3]!==z||G[4]!==q){j=Symbol.for("react.early_return_sentinel");Z:{let V=dF(z);if(V.length===0){j=null;break Z}if(V.length===1&&!nF(V[0].props)){j=q?Q0(SZ,{dim:!0,children:V[0].text}):Q0(SZ,{children:V[0].text});break Z}let A;if(G[7]!==q)A=(M,F)=>{let _=M.props.hyperlink;if(q)M.props.dim=!0;let R=tF(M.props);if(_)return R?Q0(B9,{url:_,children:Q0(NH,{color:M.props.color,backgroundColor:M.props.backgroundColor,dim:M.props.dim,bold:M.props.bold,italic:M.props.italic,underline:M.props.underline,strikethrough:M.props.strikethrough,inverse:M.props.inverse,children:M.text})},F):Q0(B9,{url:_,children:M.text},F);return R?Q0(NH,{color:M.props.color,backgroundColor:M.props.backgroundColor,dim:M.props.dim,bold:M.props.bold,italic:M.props.italic,underline:M.props.underline,strikethrough:M.props.strikethrough,inverse:M.props.inverse,children:M.text},F):M.text},G[7]=q,G[8]=A;else A=G[8];Y=V.map(A)}G[3]=z,G[4]=q,G[5]=Y,G[6]=j}else Y=G[5],j=G[6];if(j!==Symbol.for("react.early_return_sentinel"))return j;let H=Y,D;if(G[9]!==H||G[10]!==q)D=q?Q0(SZ,{dim:!0,children:H}):Q0(SZ,{children:H}),G[9]=H,G[10]=q,G[11]=D;else D=G[11];return D});iF={black:"ansi:black",red:"ansi:red",green:"ansi:green",yellow:"ansi:yellow",blue:"ansi:blue",magenta:"ansi:magenta",cyan:"ansi:cyan",white:"ansi:white",brightBlack:"ansi:blackBright",brightRed:"ansi:redBright",brightGreen:"ansi:greenBright",brightYellow:"ansi:yellowBright",brightBlue:"ansi:blueBright",brightMagenta:"ansi:magentaBright",brightCyan:"ansi:cyanBright",brightWhite:"ansi:whiteBright"}});function oF(Z){let K=FH.c(30),G,z,q,Y,j,H;if(K[0]!==Z)({onAction:q,tabIndex:H,autoFocus:G,children:z,ref:Y,...j}=Z),K[0]=Z,K[1]=G,K[2]=z,K[3]=q,K[4]=Y,K[5]=j,K[6]=H;else G=K[1],z=K[2],q=K[3],Y=K[4],j=K[5],H=K[6];let D=H===void 0?0:H,[V,A]=Y5.useState(!1),[M,F]=Y5.useState(!1),[_,R]=Y5.useState(!1),W=Y5.useRef(null),E,T;if(K[7]===Symbol.for("react.memo_cache_sentinel"))E=()=>()=>{if(W.current)clearTimeout(W.current)},T=[],K[7]=E,K[8]=T;else E=K[7],T=K[8];Y5.useEffect(E,T);let $;if(K[9]!==q)$=(u0)=>{if(u0.key==="return"||u0.key===" "){if(u0.preventDefault(),R(!0),q(),W.current)clearTimeout(W.current);W.current=setTimeout(rF,100,R)}},K[9]=q,K[10]=$;else $=K[10];let I=$,y;if(K[11]!==q)y=(u0)=>{q()},K[11]=q,K[12]=y;else y=K[12];let m=y,b;if(K[13]===Symbol.for("react.memo_cache_sentinel"))b=(u0)=>A(!0),K[13]=b;else b=K[13];let u=b,f;if(K[14]===Symbol.for("react.memo_cache_sentinel"))f=(u0)=>A(!1),K[14]=f;else f=K[14];let w=f,i;if(K[15]===Symbol.for("react.memo_cache_sentinel"))i=()=>F(!0),K[15]=i;else i=K[15];let h=i,l;if(K[16]===Symbol.for("react.memo_cache_sentinel"))l=()=>F(!1),K[16]=l;else l=K[16];let s=l,n;if(K[17]!==z||K[18]!==_||K[19]!==V||K[20]!==M)n=typeof z==="function"?z({focused:V,hovered:M,active:_}):z,K[17]=z,K[18]=_,K[19]=V,K[20]=M,K[21]=n;else n=K[21];let N0=n,ZZ;if(K[22]!==G||K[23]!==N0||K[24]!==m||K[25]!==I||K[26]!==Y||K[27]!==j||K[28]!==D)ZZ=Q0(n7,{ref:Y,tabIndex:D,autoFocus:G,onKeyDown:I,onClick:m,onFocus:u,onBlur:w,onMouseEnter:h,onMouseLeave:s,...j,children:N0}),K[22]=G,K[23]=N0,K[24]=m,K[25]=I,K[26]=Y,K[27]=j,K[28]=D,K[29]=ZZ;else ZZ=K[29];return ZZ}function rF(Z){return Z(!1)}var FH,Y5,eF;var WH=P(()=>{XJ();m0();FH=U0(R7(),1),Y5=U0(n0(),1);eF=oF});function $H(Z){let K=LH.c(4),{count:G}=Z,z=G===void 0?1:G,q;if(K[0]!==z)q=`
57
57
  `.repeat(z),K[0]=z,K[1]=q;else q=K[1];let Y;if(K[2]!==q)Y=Q0("ink-text",{children:q}),K[2]=q,K[3]=Y;else Y=K[3];return Y}var LH;var RH=P(()=>{m0();LH=U0(R7(),1)});function ZW(Z){let K=EH.c(8),G,z,q;if(K[0]!==Z)({children:z,fromLeftEdge:q,...G}=Z),K[0]=Z,K[1]=G,K[2]=z,K[3]=q;else G=K[1],z=K[2],q=K[3];let Y=q?"from-left-edge":!0,j;if(K[4]!==G||K[5]!==z||K[6]!==Y)j=Q0(n7,{...G,noSelect:Y,children:z}),K[4]=G,K[5]=z,K[6]=Y,K[7]=j;else j=K[7];return j}var EH;var TH=P(()=>{XJ();m0();EH=U0(R7(),1)});function JW(Z){let K=CH.c(6),{lines:G,width:z}=Z;if(G.length===0)return null;let q;if(K[0]!==G)q=G.join(`
58
58
  `),K[0]=G,K[1]=q;else q=K[1];let Y;if(K[2]!==G.length||K[3]!==q||K[4]!==z)Y=Q0("ink-raw-ansi",{rawText:q,rawWidth:z,rawHeight:G.length}),K[2]=G.length,K[3]=q,K[4]=z,K[5]=Y;else Y=K[5];return Y}var CH;var SH=P(()=>{m0();CH=U0(R7(),1)});function xH(){let Z=vH.c(1),K;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))K=Q0(n7,{flexGrow:1}),Z[0]=K;else K=Z[0];return K}var vH;var bH=P(()=>{XJ();m0();vH=U0(R7(),1)});function fU(){let Z=x8.useContext(LG),K=x8.useRef(null),G=x8.useRef({isVisible:!0}),z=x8.useCallback((q)=>{K.current=q},[]);return x8.useLayoutEffect(()=>{let q=K.current;if(!q?.yogaNode||!Z)return;let Y=q.yogaNode.getComputedHeight(),j=Z.rows,H=q.yogaNode.getComputedTop(),D=q.parentNode,V=q.yogaNode;while(D){if(D.yogaNode)H+=D.yogaNode.getComputedTop(),V=D.yogaNode;if(D.scrollTop)H-=D.scrollTop;D=D.parentNode}let A=V.getComputedHeight(),M=H+Y,F=A>j?1:0,_=Math.max(0,A-j)+F,R=_+j,W=M>_&&H<R;if(W!==G.current.isVisible)G.current={isVisible:W}}),[z,G.current]}var x8;var wU=P(()=>{UU();x8=U0(n0(),1)});function QW(Z=16){let K=vQ.useContext(MQ),[G,{isVisible:z}]=fU(),[q,Y]=vQ.useState(()=>K?.now()??0),j=z&&Z!==null;return vQ.useEffect(()=>{if(!K||!j)return;let H=K.now(),D=()=>{let V=K.now();if(V-H>=Z)H=V,Y(V)};return K.subscribe(D,!0)},[K,Z,j]),[G,q]}var vQ;var IH=P(()=>{WG();wU();vQ=U0(n0(),1)});var PH,KW=()=>PH.useContext(FG),GW;var yH=P(()=>{ZU();PH=U0(n0(),1),GW=KW});var kH=g5((pv,wH)=>{var XW="Expected a function",mH=NaN,zW="[object Symbol]",UW=/^\s+|\s+$/g,qW=/^[-+]0x[0-9a-f]+$/i,BW=/^0b[01]+$/i,YW=/^0o[0-7]+$/i,jW=parseInt,OW=typeof global=="object"&&global&&global.Object===Object&&global,HW=typeof self=="object"&&self&&self.Object===Object&&self,DW=OW||HW||Function("return this")(),VW=Object.prototype,AW=VW.toString,NW=Math.max,MW=Math.min,kU=function(){return DW.Date.now()};function _W(Z,K,G){var z,q,Y,j,H,D,V=0,A=!1,M=!1,F=!0;if(typeof Z!="function")throw TypeError(XW);if(K=fH(K)||0,gU(G))A=!!G.leading,M="maxWait"in G,Y=M?NW(fH(G.maxWait)||0,K):Y,F="trailing"in G?!!G.trailing:F;function _(b){var u=z,f=q;return z=q=void 0,V=b,j=Z.apply(f,u),j}function R(b){return V=b,H=setTimeout(T,K),A?_(b):j}function W(b){var u=b-D,f=b-V,w=K-u;return M?MW(w,Y-f):w}function E(b){var u=b-D,f=b-V;return D===void 0||u>=K||u<0||M&&f>=Y}function T(){var b=kU();if(E(b))return $(b);H=setTimeout(T,W(b))}function $(b){if(H=void 0,F&&z)return _(b);return z=q=void 0,j}function I(){if(H!==void 0)clearTimeout(H);V=0,z=D=q=H=void 0}function y(){return H===void 0?j:$(kU())}function m(){var b=kU(),u=E(b);if(z=arguments,q=this,D=b,u){if(H===void 0)return R(D);if(M)return H=setTimeout(T,K),_(D)}if(H===void 0)H=setTimeout(T,K);return j}return m.cancel=I,m.flush=y,m}function gU(Z){var K=typeof Z;return!!Z&&(K=="object"||K=="function")}function FW(Z){return!!Z&&typeof Z=="object"}function WW(Z){return typeof Z=="symbol"||FW(Z)&&AW.call(Z)==zW}function fH(Z){if(typeof Z=="number")return Z;if(WW(Z))return mH;if(gU(Z)){var K=typeof Z.valueOf=="function"?Z.valueOf():Z;Z=gU(K)?K+"":K}if(typeof Z!="string")return Z===0?Z:+Z;Z=Z.replace(UW,"");var G=BW.test(Z);return G||YW.test(Z)?jW(Z.slice(2),G?2:8):qW.test(Z)?mH:+Z}wH.exports=_W});function cv(Z,K){let G=U7.useRef(Z);gH(()=>{G.current=Z},[Z]),U7.useEffect(()=>{if(K===null)return;let z=setInterval(()=>{G.current()},K);return()=>{clearInterval(z)}},[K])}function hH(Z){let K=U7.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return gH(()=>{K.current=Z},[Z]),U7.useCallback((...G)=>{var z;return(z=K.current)==null?void 0:z.call(K,...G)},[K])}function LW(Z){let K=U7.useRef(Z);K.current=Z,U7.useEffect(()=>()=>{K.current()},[])}function lv(Z,K=500,G){let z=U7.useRef();LW(()=>{if(z.current)z.current.cancel()});let q=U7.useMemo(()=>{let Y=hU.default(Z,K,G),j=(...H)=>{return Y(...H)};return j.cancel=()=>{Y.cancel()},j.isPending=()=>{return!!z.current},j.flush=()=>{return Y.flush()},j},[Z,K,G]);return U7.useEffect(()=>{z.current=hU.default(Z,K,G)},[Z,K,G]),q}var U7,hU,gH;var uH=P(()=>{U7=U0(n0(),1),hU=U0(kH(),1),gH=typeof window<"u"?U7.useLayoutEffect:U7.useEffect});var lG,$W=(Z,K={})=>{let{setRawMode:G,internal_exitOnCtrlC:z,internal_eventEmitter:q}=O6();lG.useLayoutEffect(()=>{if(K.isActive===!1)return;return G(!0),()=>{G(!1)}},[K.isActive,G]);let Y=hH((j)=>{if(K.isActive===!1)return;let{input:H,key:D}=j;if(!(H==="c"&&D.ctrl)||!z)Z(H,D,j)});lG.useEffect(()=>{return q?.on("input",Y),()=>{q?.removeListener("input",Y)}},[q,Y])},RW;var pH=P(()=>{uH();JK();lG=U0(n0(),1),RW=$W});function EW(Z){let K=a4.useContext(MQ),[G,z]=a4.useState(()=>K?.now()??0);return a4.useEffect(()=>{if(!K)return;let q=K.now(),Y=()=>{let j=K.now();if(j-q>=Z)q=j,z(j)};return K.subscribe(Y,!1)},[K,Z]),G}function TW(Z,K){let G=a4.useRef(Z);G.current=Z;let z=a4.useContext(MQ);a4.useEffect(()=>{if(!z||K===null)return;let q=z.now(),Y=()=>{let j=z.now();if(j-q>=K)q=j,G.current()};return z.subscribe(Y,!1)},[z,K])}var a4;var cH=P(()=>{WG();a4=U0(n0(),1)});function CW(){BJ.useContext(u5);let Z=d4.get(process.stdout);return BJ.useMemo(()=>{if(!Z)return{copySelection:()=>"",copySelectionNoClear:()=>"",clearSelection:()=>{},hasSelection:()=>!1,getState:()=>null,subscribe:()=>()=>{},shiftAnchor:()=>{},shiftSelection:()=>{},moveFocus:()=>{},captureScrolledRows:()=>{},setSelectionBgColor:()=>{}};return{copySelection:()=>Z.copySelection(),copySelectionNoClear:()=>Z.copySelectionNoClear(),clearSelection:()=>Z.clearTextSelection(),hasSelection:()=>Z.hasTextSelection(),getState:()=>Z.selection,subscribe:(K)=>Z.subscribeToSelectionChange(K),shiftAnchor:(K,G,z)=>YG(Z.selection,K,G,z),shiftSelection:(K,G,z)=>Z.shiftSelectionForScroll(K,G,z),moveFocus:(K)=>Z.moveSelectionFocus(K),captureScrolledRows:(K,G,z)=>Z.captureScrolledRows(K,G,z),setSelectionBgColor:(K)=>Z.setSelectionBgColor(K)}},[Z])}function Zx(){BJ.useContext(u5);let Z=d4.get(process.stdout);return BJ.useSyncExternalStore(Z?Z.subscribeToSelectionChange:SW,Z?Z.hasTextSelection:vW)}var BJ,SW=()=>()=>{},vW=()=>!1;var lH=P(()=>{ZK();EG();OG();BJ=U0(n0(),1)});function bW(Z){let K=bQ.useContext(RQ),G=bQ.useRef(null);bQ.useEffect(()=>{if(Z===null){if(G.current!==null&&K&&VQ())K(A7(AG));G.current=null;return}if(G.current=Z,!K||!VQ())return;K(A7(o2(xW[Z])))},[Z,K])}var bQ,xQ=(Z,K,G)=>({type:"rgb",r:Z,g:K,b:G}),xW;var dH=P(()=>{l4();wG();bQ=U0(n0(),1),xW={idle:{indicator:xQ(0,215,95),status:"Idle",statusColor:xQ(136,136,136)},busy:{indicator:xQ(255,149,0),status:"Working…",statusColor:xQ(255,149,0)},waiting:{indicator:xQ(95,135,255),status:"Waiting",statusColor:xQ(95,135,255)}}});function IW(Z){let K=dG.useContext(RQ);dG.useEffect(()=>{if(Z===null||!K)return;let G=UQ(Z);if(process.platform==="win32")process.title=G;else K(hZ(XZ.SET_TITLE_AND_ICON,G))},[Z,K])}var dG;var aH=P(()=>{U1();l4();wG();dG=U0(n0(),1)});var PW=(Z)=>({width:Z.yogaNode?.getComputedWidth()??0,height:Z.yogaNode?.getComputedHeight()??0}),yW;var iH=P(()=>{yW=PW});function nH(Z){return sH.createElement(Uz,null,Z)}async function Ox(Z,K){return pO(nH(Z),K)}async function Hx(Z){let K=await uO(Z);return{...K,render:(G)=>K.render(nH(G))}}var sH;var mW=P(()=>{V6();cO();dO();nO();eO();V6();_H();XJ();WH();IU();RH();TH();SH();bH();_Q();BU();e9();h5();Sz();vz();w6();IH();yH();pH();cH();lH();JK();dH();XU();aH();wU();iH();l4();iK();sH=U0(n0(),1)});
59
- export{R7 as jT,G4 as kT,tJ as lT,u5 as mT,ZK as nT,O6 as oT,dW as pT,s3 as qT,Uz as rT,D6 as sT,xA as tT,bA as uT,V6 as vT,GK as wT,e3 as xT,MK as yT,_6 as zT,HN as AT,yL as BT,DN as CT,mL as DT,fB as ET,WK as FT,L6 as GT,u4 as HT,zQ as IT,v6 as JT,pK as KT,x6 as LT,n5 as MT,z1 as NT,j1 as OT,tY as PT,o5 as QT,T7 as RT,VR as ST,y6 as TT,f6 as UT,kR as VT,ZG as WT,e5 as XT,JG as YT,HG as ZT,d6 as _T,ZJ as $T,p1 as aU,c2 as bU,i6 as cU,s6 as dU,n6 as eU,l2 as fU,d2 as gU,A7 as hU,UE as iU,s2 as jU,t2 as kU,qE as lU,AG as mU,VQ as nU,l4 as oU,Y_ as pU,MG as qU,AE as rU,o6 as sU,_G as tU,qj as uU,o1 as vU,r1 as wU,GU as xU,XU as yU,Fj as zU,Wj as AU,Lj as BU,n7 as CU,XJ as DU,SZ as EU,_Q as FU,LG as GU,UU as HU,qU as IU,kj as JU,RG as KU,d4 as LU,EG as MU,RQ as NU,fC as OU,wG as PU,EQ as QU,vS as RU,gG as SU,SF as TU,dO as UU,xF as VU,bF as WU,rO as XU,eO as YU,GH as ZU,XH as _U,B9 as $U,IU as aV,lF as bV,eF as cV,$H as dV,ZW as eV,JW as fV,xH as gV,fU as hV,wU as iV,QW as jV,GW as kV,yH as lV,cv as mV,lv as nV,uH as oV,RW as pV,EW as qV,TW as rV,CW as sV,Zx as tV,lH as uV,bW as vV,IW as wV,yW as xV,Ox as yV,Hx as zV,mW as AV};
59
+ export{R7 as QS,G4 as RS,tJ as SS,u5 as TS,ZK as US,O6 as VS,dW as WS,s3 as XS,Uz as YS,D6 as ZS,xA as _S,bA as $S,V6 as aT,GK as bT,e3 as cT,MK as dT,_6 as eT,HN as fT,yL as gT,DN as hT,mL as iT,fB as jT,WK as kT,L6 as lT,u4 as mT,zQ as nT,v6 as oT,pK as pT,x6 as qT,n5 as rT,z1 as sT,j1 as tT,tY as uT,o5 as vT,T7 as wT,VR as xT,y6 as yT,f6 as zT,kR as AT,ZG as BT,e5 as CT,JG as DT,HG as ET,d6 as FT,ZJ as GT,p1 as HT,c2 as IT,i6 as JT,s6 as KT,n6 as LT,l2 as MT,d2 as NT,A7 as OT,UE as PT,s2 as QT,t2 as RT,qE as ST,AG as TT,VQ as UT,l4 as VT,Y_ as WT,MG as XT,AE as YT,o6 as ZT,_G as _T,qj as $T,o1 as aU,r1 as bU,GU as cU,XU as dU,Fj as eU,Wj as fU,Lj as gU,n7 as hU,XJ as iU,SZ as jU,_Q as kU,LG as lU,UU as mU,qU as nU,kj as oU,RG as pU,d4 as qU,EG as rU,RQ as sU,fC as tU,wG as uU,EQ as vU,vS as wU,gG as xU,SF as yU,dO as zU,xF as AU,bF as BU,rO as CU,eO as DU,GH as EU,XH as FU,B9 as GU,IU as HU,lF as IU,eF as JU,$H as KU,ZW as LU,JW as MU,xH as NU,fU as OU,wU as PU,QW as QU,GW as RU,yH as SU,cv as TU,lv as UU,uH as VU,RW as WU,EW as XU,TW as YU,CW as ZU,Zx as _U,lH as $U,bW as aV,IW as bV,yW as cV,Ox as dV,Hx as eV,mW as fV};
@@ -1,2 +1,2 @@
1
- import{b2 as H,c2 as _,d2 as Y,e2 as y}from"./cli-0.1.13-bzgpcgdt.mjs";import{B7 as M,D7 as v}from"./cli-0.1.13-dag38tkx.mjs";import{Qga as V,Wga as R,eha as P,iha as p,oha as x,rha as S,uga as F,wga as f}from"./cli-0.1.13-144gn3fd.mjs";import{Bha as U,Lha as g}from"./cli-0.1.13-1g6bgaa6.mjs";import{gna as A,wla as D,xla as W}from"./cli-0.1.13-52f40ba4.mjs";import{Xna as L}from"./cli-0.1.13-bj67mp7n.mjs";function I(){let q=D();if(q!==void 0)return q;let G=process.env.CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR;if(!G){let w=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,z=Y(w,"session ingress token");return W(z),z}let Q=parseInt(G,10);if(Number.isNaN(Q))return x(`CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR must be a valid file descriptor number, got: ${G}`,{level:"error"}),W(null),null;try{let w=P(),z=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${Q}`:`/proc/self/fd/${Q}`,X=w.readFileSync(z,{encoding:"utf8"}).trim();if(!X)return x("File descriptor contained empty token",{level:"error"}),W(null),null;return x(`Successfully read token from file descriptor ${Q}`),W(X),_(H,X,"session ingress token"),X}catch(w){x(`Failed to read token from file descriptor ${Q}: ${V(w)}`,{level:"error"});let z=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,X=Y(z,"session ingress token");return W(X),X}}function k(){let q=process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN;if(q)return q;return I()}function s(){let q=k();if(!q)return{};if(q.startsWith("sk-ant-sid")){let G={Cookie:`sessionKey=${q}`},Q=process.env.CLAUDE_CODE_ORGANIZATION_UUID;if(Q)G["X-Organization-Uuid"]=Q;return G}return{Authorization:`Bearer ${q}`}}function o(q){process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN=q}var u=L(()=>{A();y();S();R();p()});var r;var b=L(()=>{r={input_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0,output_tokens:0,server_tool_use:{web_search_requests:0,web_fetch_requests:0},service_tier:"standard",cache_creation:{ephemeral_1h_input_tokens:0,ephemeral_5m_input_tokens:0},inference_geo:"",iterations:[],speed:"standard"}});function E(){j(),K=setInterval(()=>{if(M("debug","session_keepalive_heartbeat",{refcount:J}),U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()},C)}function h(){if(j(),$===null)return;B=setTimeout(()=>{M("info","session_idle_30s"),B=null},C)}function j(){if(B!==null)clearTimeout(B),B=null}function Gq(q){if($=q,J>0&&K===null)E()}function Jq(){if($=null,K!==null)clearInterval(K),K=null;j()}function Kq(){if(U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()}function Qq(){return $!==null}function Xq(q){if(J++,Z.set(q,(Z.get(q)??0)+1),J===1){if(O=Date.now(),$!==null&&K===null)E()}if(!N)N=!0,F(async()=>{M("info","session_activity_at_shutdown",{refcount:J,active:Object.fromEntries(Z),oldest_activity_ms:J>0&&O!==null?Date.now()-O:null})})}function $q(q){if(J>0)J--;let G=(Z.get(q)??0)-1;if(G>0)Z.set(q,G);else Z.delete(q);if(J===0&&K!==null)clearInterval(K),K=null,h()}var C=30000,$=null,J=0,Z,O=null,K=null,B=null,N=!1;var m=L(()=>{f();v();g();Z=new Map});
2
- export{k as hP,s as iP,o as jP,u as kP,Gq as lP,Jq as mP,Kq as nP,Qq as oP,Xq as pP,$q as qP,m as rP,r as sP,b as tP};
1
+ import{j0 as H,k0 as _,l0 as Y,m0 as y}from"./cli-0.1.15-q35rzjnz.mjs";import{J5 as M,L5 as v}from"./cli-0.1.15-4892kydg.mjs";import{Cea as F,Eea as f,Yea as V,cfa as R,mfa as P,qfa as p,wfa as x,zfa as S}from"./cli-0.1.15-nk50qhet.mjs";import{Dfa as U,Nfa as g}from"./cli-0.1.15-9pe3dbgs.mjs";import{Eja as D,Fja as W,mla as A}from"./cli-0.1.15-12azgmva.mjs";import{bma as L}from"./cli-0.1.15-mhbfhhf6.mjs";function I(){let q=D();if(q!==void 0)return q;let G=process.env.CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR;if(!G){let w=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,z=Y(w,"session ingress token");return W(z),z}let Q=parseInt(G,10);if(Number.isNaN(Q))return x(`CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR must be a valid file descriptor number, got: ${G}`,{level:"error"}),W(null),null;try{let w=P(),z=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${Q}`:`/proc/self/fd/${Q}`,X=w.readFileSync(z,{encoding:"utf8"}).trim();if(!X)return x("File descriptor contained empty token",{level:"error"}),W(null),null;return x(`Successfully read token from file descriptor ${Q}`),W(X),_(H,X,"session ingress token"),X}catch(w){x(`Failed to read token from file descriptor ${Q}: ${V(w)}`,{level:"error"});let z=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,X=Y(z,"session ingress token");return W(X),X}}function k(){let q=process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN;if(q)return q;return I()}function s(){let q=k();if(!q)return{};if(q.startsWith("sk-ant-sid")){let G={Cookie:`sessionKey=${q}`},Q=process.env.CLAUDE_CODE_ORGANIZATION_UUID;if(Q)G["X-Organization-Uuid"]=Q;return G}return{Authorization:`Bearer ${q}`}}function o(q){process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN=q}var u=L(()=>{A();y();S();R();p()});var r;var b=L(()=>{r={input_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0,output_tokens:0,server_tool_use:{web_search_requests:0,web_fetch_requests:0},service_tier:"standard",cache_creation:{ephemeral_1h_input_tokens:0,ephemeral_5m_input_tokens:0},inference_geo:"",iterations:[],speed:"standard"}});function E(){j(),K=setInterval(()=>{if(M("debug","session_keepalive_heartbeat",{refcount:J}),U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()},C)}function h(){if(j(),$===null)return;B=setTimeout(()=>{M("info","session_idle_30s"),B=null},C)}function j(){if(B!==null)clearTimeout(B),B=null}function Gq(q){if($=q,J>0&&K===null)E()}function Jq(){if($=null,K!==null)clearInterval(K),K=null;j()}function Kq(){if(U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()}function Qq(){return $!==null}function Xq(q){if(J++,Z.set(q,(Z.get(q)??0)+1),J===1){if(O=Date.now(),$!==null&&K===null)E()}if(!N)N=!0,F(async()=>{M("info","session_activity_at_shutdown",{refcount:J,active:Object.fromEntries(Z),oldest_activity_ms:J>0&&O!==null?Date.now()-O:null})})}function $q(q){if(J>0)J--;let G=(Z.get(q)??0)-1;if(G>0)Z.set(q,G);else Z.delete(q);if(J===0&&K!==null)clearInterval(K),K=null,h()}var C=30000,$=null,J=0,Z,O=null,K=null,B=null,N=!1;var m=L(()=>{f();v();g();Z=new Map});
2
+ export{k as WO,s as XO,o as YO,u as ZO,Gq as _O,Jq as $O,Kq as aP,Qq as bP,Xq as cP,$q as dP,m as eP,r as fP,b as gP};
@@ -1,2 +1,2 @@
1
- import{Xna as M}from"./cli-0.1.13-bj67mp7n.mjs";function J(){return"prod"}function W(){if(process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL)return"-custom-oauth";switch(J()){case"local":return"-local-oauth";case"staging":return"-staging-oauth";case"prod":return""}}function $(){let k=process.env.CLAUDE_LOCAL_OAUTH_API_BASE?.replace(/\/$/,"")??"http://localhost:8000",x=process.env.CLAUDE_LOCAL_OAUTH_APPS_BASE?.replace(/\/$/,"")??"http://localhost:4000",q=process.env.CLAUDE_LOCAL_OAUTH_CONSOLE_BASE?.replace(/\/$/,"")??"http://localhost:3000";return{BASE_API_URL:k,CONSOLE_AUTHORIZE_URL:`${q}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${x}/oauth/authorize`,CLAUDE_AI_ORIGIN:x,TOKEN_URL:`${k}/v1/oauth/token`,API_KEY_URL:`${k}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${k}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${q}/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code`,CLAUDEAI_SUCCESS_URL:`${q}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${q}/oauth/code/callback`,CLIENT_ID:"22422756-60c9-4084-8eb7-27705fd5cf9a",OAUTH_FILE_SUFFIX:"-local-oauth",MCP_PROXY_URL:"http://localhost:8205",MCP_PROXY_PATH:"/v1/toolbox/shttp/mcp/{server_id}"}}function h(){let k=(()=>{switch(J()){case"local":return $();case"staging":return z;case"prod":return z}})(),x=process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL;if(x){let j=x.replace(/\/$/,"");if(!m.includes(j))throw Error("CLAUDE_CODE_CUSTOM_OAUTH_URL is not an approved endpoint.");k={...k,BASE_API_URL:j,CONSOLE_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_ORIGIN:j,TOKEN_URL:`${j}/v1/oauth/token`,API_KEY_URL:`${j}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${j}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,CLAUDEAI_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${j}/oauth/code/callback`,OAUTH_FILE_SUFFIX:"-custom-oauth"}}let q=process.env.CLAUDE_CODE_OAUTH_CLIENT_ID;if(q)k={...k,CLIENT_ID:q};return k}var Q="user:inference",K="user:profile",V="org:create_api_key",X="oauth-2025-04-20",Y,Z,y,z,G="https://claude.ai/oauth/claude-code-client-metadata",m;var w=M(()=>{Y=[V,K],Z=[K,Q,"user:sessions:claude_code","user:mcp_servers","user:file_upload"],y=Array.from(new Set([...Y,...Z])),z={BASE_API_URL:"https://api.anthropic.com",CONSOLE_AUTHORIZE_URL:"https://platform.claude.com/oauth/authorize",CLAUDE_AI_AUTHORIZE_URL:"https://claude.com/cai/oauth/authorize",CLAUDE_AI_ORIGIN:"https://claude.ai",TOKEN_URL:"https://platform.claude.com/v1/oauth/token",API_KEY_URL:"https://api.anthropic.com/api/oauth/claude_cli/create_api_key",ROLES_URL:"https://api.anthropic.com/api/oauth/claude_cli/roles",CONSOLE_SUCCESS_URL:"https://platform.claude.com/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code",CLAUDEAI_SUCCESS_URL:"https://platform.claude.com/oauth/code/success?app=claude-code",MANUAL_REDIRECT_URL:"https://platform.claude.com/oauth/code/callback",CLIENT_ID:"9d1c250a-e61b-44d9-88ed-5944d1962f5e",OAUTH_FILE_SUFFIX:"",MCP_PROXY_URL:"https://mcp-proxy.anthropic.com",MCP_PROXY_PATH:"/v1/mcp/{server_id}"};m=["https://beacon.claude-ai.staging.ant.dev","https://claude.fedstart.com","https://claude-staging.fedstart.com"]});
2
- export{W as Tea,Q as Uea,K as Vea,X as Wea,Y as Xea,Z as Yea,y as Zea,G as _ea,h as $ea,w as afa};
1
+ import{bma as M}from"./cli-0.1.15-mhbfhhf6.mjs";function J(){return"prod"}function W(){if(process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL)return"-custom-oauth";switch(J()){case"local":return"-local-oauth";case"staging":return"-staging-oauth";case"prod":return""}}function $(){let k=process.env.CLAUDE_LOCAL_OAUTH_API_BASE?.replace(/\/$/,"")??"http://localhost:8000",x=process.env.CLAUDE_LOCAL_OAUTH_APPS_BASE?.replace(/\/$/,"")??"http://localhost:4000",q=process.env.CLAUDE_LOCAL_OAUTH_CONSOLE_BASE?.replace(/\/$/,"")??"http://localhost:3000";return{BASE_API_URL:k,CONSOLE_AUTHORIZE_URL:`${q}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${x}/oauth/authorize`,CLAUDE_AI_ORIGIN:x,TOKEN_URL:`${k}/v1/oauth/token`,API_KEY_URL:`${k}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${k}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${q}/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code`,CLAUDEAI_SUCCESS_URL:`${q}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${q}/oauth/code/callback`,CLIENT_ID:"22422756-60c9-4084-8eb7-27705fd5cf9a",OAUTH_FILE_SUFFIX:"-local-oauth",MCP_PROXY_URL:"http://localhost:8205",MCP_PROXY_PATH:"/v1/toolbox/shttp/mcp/{server_id}"}}function h(){let k=(()=>{switch(J()){case"local":return $();case"staging":return z;case"prod":return z}})(),x=process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL;if(x){let j=x.replace(/\/$/,"");if(!m.includes(j))throw Error("CLAUDE_CODE_CUSTOM_OAUTH_URL is not an approved endpoint.");k={...k,BASE_API_URL:j,CONSOLE_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_ORIGIN:j,TOKEN_URL:`${j}/v1/oauth/token`,API_KEY_URL:`${j}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${j}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,CLAUDEAI_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${j}/oauth/code/callback`,OAUTH_FILE_SUFFIX:"-custom-oauth"}}let q=process.env.CLAUDE_CODE_OAUTH_CLIENT_ID;if(q)k={...k,CLIENT_ID:q};return k}var Q="user:inference",K="user:profile",V="org:create_api_key",X="oauth-2025-04-20",Y,Z,y,z,G="https://claude.ai/oauth/claude-code-client-metadata",m;var w=M(()=>{Y=[V,K],Z=[K,Q,"user:sessions:claude_code","user:mcp_servers","user:file_upload"],y=Array.from(new Set([...Y,...Z])),z={BASE_API_URL:"https://api.anthropic.com",CONSOLE_AUTHORIZE_URL:"https://platform.claude.com/oauth/authorize",CLAUDE_AI_AUTHORIZE_URL:"https://claude.com/cai/oauth/authorize",CLAUDE_AI_ORIGIN:"https://claude.ai",TOKEN_URL:"https://platform.claude.com/v1/oauth/token",API_KEY_URL:"https://api.anthropic.com/api/oauth/claude_cli/create_api_key",ROLES_URL:"https://api.anthropic.com/api/oauth/claude_cli/roles",CONSOLE_SUCCESS_URL:"https://platform.claude.com/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code",CLAUDEAI_SUCCESS_URL:"https://platform.claude.com/oauth/code/success?app=claude-code",MANUAL_REDIRECT_URL:"https://platform.claude.com/oauth/code/callback",CLIENT_ID:"9d1c250a-e61b-44d9-88ed-5944d1962f5e",OAUTH_FILE_SUFFIX:"",MCP_PROXY_URL:"https://mcp-proxy.anthropic.com",MCP_PROXY_PATH:"/v1/mcp/{server_id}"};m=["https://beacon.claude-ai.staging.ant.dev","https://claude.fedstart.com","https://claude-staging.fedstart.com"]});
2
+ export{W as $ca,Q as ada,K as bda,X as cda,Y as dda,Z as eda,y as fda,G as gda,h as hda,w as ida};
@@ -1,4 +1,4 @@
1
- import{c8 as M,e8 as K,f8 as Q}from"./cli-0.1.13-dag38tkx.mjs";import{Xna as O}from"./cli-0.1.13-bj67mp7n.mjs";function X(k){if(k<=1)return!1;try{return process.kill(k,0),!0}catch{return!1}}async function Y(k,z=10){if(process.platform==="win32"){let B=`
1
+ import{k6 as M,m6 as K,n6 as Q}from"./cli-0.1.15-4892kydg.mjs";import{bma as O}from"./cli-0.1.15-mhbfhhf6.mjs";function X(k){if(k<=1)return!1;try{return process.kill(k,0),!0}catch{return!1}}async function Y(k,z=10){if(process.platform==="win32"){let B=`
2
2
  $pid = ${String(k)}
3
3
  $ancestors = @()
4
4
  for ($i = 0; $i -lt ${z}; $i++) {
@@ -21,4 +21,4 @@ import{c8 as M,e8 as K,f8 as Q}from"./cli-0.1.13-dag38tkx.mjs";import{Xna as O}f
21
21
  }
22
22
  $commands -join [char]0
23
23
  `.trim(),H=await K("powershell.exe",["-NoProfile","-Command",B],{timeout:3000});if(H.code!==0||!H.stdout?.trim())return[];return H.stdout.split("\x00").filter(Boolean)}let J=`currentpid=${String(k)}; for i in $(seq 1 ${z}); do cmd=$(ps -o command= -p $currentpid 2>/dev/null); if [ -n "$cmd" ]; then printf '%s\\0' "$cmd"; fi; ppid=$(ps -o ppid= -p $currentpid 2>/dev/null | tr -d ' '); if [ -z "$ppid" ] || [ "$ppid" = "0" ] || [ "$ppid" = "1" ]; then break; fi; currentpid=$ppid; done`,q=await K("sh",["-c",J],{timeout:3000});if(q.code!==0||!q.stdout?.trim())return[];return q.stdout.split("\x00").filter(Boolean)}var U=O(()=>{Q()});
24
- export{X as LY,Y as MY,Z as NY,$ as OY,U as PY};
24
+ export{X as TW,Y as UW,Z as VW,$ as WW,U as XW};
@@ -1,2 +1,2 @@
1
- import{cg as Vq,dg as fq}from"./cli-0.1.13-1pxg82cx.mjs";import{$S as pq,LS as Pq,MS as mq,_S as o,bT as Qq,dT as Uq,eT as Hq}from"./cli-0.1.13-g654740k.mjs";import{AV as Wq,VU as M,XU as g,jT as Sq}from"./cli-0.1.13-hjqn3n5a.mjs";import{wX as Z,xX as F,yX as Jq}from"./cli-0.1.13-ck28msre.mjs";import{zX as _q}from"./cli-0.1.13-79vtnprb.mjs";import{Ifa as s,Jfa as jq}from"./cli-0.1.13-gd3nndc7.mjs";import{Tna as Lq,Xna as wq}from"./cli-0.1.13-bj67mp7n.mjs";function lq(A){let q=C.c(25),{title:J,color:V,defaultTab:Q,children:L,hidden:G,useFullWidth:K,selectedTab:E,onTabChange:k,banner:T,disableNavigation:a,initialHeaderFocused:n,contentHeight:y,navFromContent:d}=A,Xq=n===void 0?!0:n,Yq=d===void 0?!1:d,{columns:t}=Pq(),X=L.map(Iq),e=Q?X.findIndex((U)=>Q===U[0]):0,x=E!==void 0,[Zq,kq]=P.useState(e!==-1?e:0),qq=x?X.findIndex((U)=>U[0]===E):-1,z=x?qq!==-1?qq:0:Zq,N=Uq(),[Y,v]=P.useState(Xq),O;if(q[0]===Symbol.for("react.memo_cache_sentinel"))O=()=>v(!0),q[0]=O;else O=q[0];let zq=O,R;if(q[1]===Symbol.for("react.memo_cache_sentinel"))R=()=>v(!1),q[1]=R;else R=q[1];let Eq=R,[Nq,Aq]=P.useState(0),w;if(q[2]===Symbol.for("react.memo_cache_sentinel"))w=()=>{return Aq(Cq),()=>Aq(gq)},q[2]=w;else w=q[2];let vq=w,j=Nq>0,_=(U)=>{let H=(z+X.length+U)%X.length,f=X[H]?.[0];if(x&&k&&f)k(f);else kq(H);v(!0)},b=!G&&!a&&Y,S;if(q[3]!==b)S={context:"Tabs",isActive:b},q[3]=b,q[4]=S;else S=q[4];o({"tabs:next":()=>_(1),"tabs:previous":()=>_(-1)},S);let W;if(q[5]!==Y||q[6]!==G||q[7]!==j)W=(U)=>{if(!Y||!j||G)return;if(U.key==="down")U.preventDefault(),v(!1)},q[5]=Y,q[6]=G,q[7]=j,q[8]=W;else W=q[8];let u=W,$=Yq&&!Y&&j&&!G&&!a,m;if(q[9]!==$)m={context:"Tabs",isActive:$},q[9]=$,q[10]=m;else m=q[10];o({"tabs:next":()=>{_(1),v(!0)},"tabs:previous":()=>{_(-1),v(!0)}},m);let Dq=J?s(J)+1:0,Mq=X.reduce(Fq,0),Bq=Dq+Mq,Gq=K?Math.max(0,t-Bq):0,B=K?t:void 0,h=M,Kq="column",yq=0,Oq=!0,c=N?0:void 0,r=!G&&F(M,{flexDirection:"row",gap:1,flexShrink:N?0:void 0,children:[J!==void 0&&Z(g,{bold:!0,color:V,children:J}),X.map((U,H)=>{let[f,Rq]=U,i=z===H,l=V&&i&&Y;return F(g,{backgroundColor:l?V:void 0,color:l?"inverseText":void 0,inverse:i&&!l,bold:i,children:[" ",Rq," "]},f)}),Gq>0&&Z(g,{children:" ".repeat(Gq)})]},`${z}-${Y?"focused":"blurred"}`),D;if(q[11]!==L||q[12]!==y||q[13]!==B||q[14]!==G||q[15]!==N||q[16]!==z)D=N?Z(M,{width:B,marginTop:G?0:1,flexShrink:0,children:Z(Vq,{ref:N,flexDirection:"column",flexShrink:0,children:L},z)}):Z(M,{width:B,marginTop:G?0:1,height:y,overflowY:y!==void 0?"hidden":void 0,children:L}),q[11]=L,q[12]=y,q[13]=B,q[14]=G,q[15]=N,q[16]=z,q[17]=D;else D=q[17];let p;if(q[18]!==h||q[19]!==T||q[20]!==u||q[21]!==c||q[22]!==r||q[23]!==D)p=F(h,{flexDirection:Kq,tabIndex:yq,autoFocus:Oq,onKeyDown:u,flexShrink:c,children:[r,T,D]}),q[18]=h,q[19]=T,q[20]=u,q[21]=c,q[22]=r,q[23]=D,q[24]=p;else p=q[24];return Z(I.Provider,{value:{selectedTab:X[z][0],width:B,headerFocused:Y,focusHeader:zq,blurHeader:Eq,registerOptIn:vq},children:p})}function Fq(A,q){let[,J]=q;return A+(J?s(J):0)+2+1}function gq(A){return A-1}function Cq(A){return A+1}function Iq(A){return[A.props.id??A.props.title,A.props.title]}function oq(A){let q=C.c(4),{title:J,id:V,children:Q}=A,{selectedTab:L,width:G}=P.useContext(I),K=Qq();if(L!==(V??J))return null;let E=K?0:void 0,k;if(q[0]!==Q||q[1]!==E||q[2]!==G)k=Z(M,{width:G,flexShrink:E,children:Q}),q[0]=Q,q[1]=E,q[2]=G,q[3]=k;else k=q[3];return k}function sq(){let{width:A}=P.useContext(I);return A}function aq(){let A=C.c(6),{headerFocused:q,focusHeader:J,blurHeader:V,registerOptIn:Q}=P.useContext(I),L;if(A[0]!==Q)L=[Q],A[0]=Q,A[1]=L;else L=A[1];P.useEffect(Q,L);let G;if(A[2]!==V||A[3]!==J||A[4]!==q)G={headerFocused:q,focusHeader:J,blurHeader:V},A[2]=V,A[3]=J,A[4]=q,A[5]=G;else G=A[5];return G}var C,P,I;var Tq=wq(()=>{Hq();mq();fq();jq();Wq();pq();Jq();C=Lq(Sq(),1),P=Lq(_q(),1),I=P.createContext({selectedTab:void 0,width:void 0,headerFocused:!1,focusHeader:()=>{},blurHeader:()=>{},registerOptIn:()=>()=>{}})});
2
- export{lq as Of,oq as Pf,sq as Qf,aq as Rf,Tq as Sf};
1
+ import{wg as Vq,xg as fq}from"./cli-0.1.15-gn4wnxx3.mjs";import{FS as o,GS as pq,IS as Qq,KS as Uq,LS as Hq,qS as Pq,rS as mq}from"./cli-0.1.15-8v8bskr0.mjs";import{AU as M,CU as g,QS as Sq,fV as Wq}from"./cli-0.1.15-68f0jtkh.mjs";import{EV as Z,FV as F,GV as Jq}from"./cli-0.1.15-gxgy4enj.mjs";import{HV as _q}from"./cli-0.1.15-tp614m5f.mjs";import{Qda as s,Rda as jq}from"./cli-0.1.15-11sdbfxy.mjs";import{Zla as Lq,bma as wq}from"./cli-0.1.15-mhbfhhf6.mjs";function lq(A){let q=C.c(25),{title:J,color:V,defaultTab:Q,children:L,hidden:G,useFullWidth:K,selectedTab:E,onTabChange:k,banner:T,disableNavigation:a,initialHeaderFocused:n,contentHeight:y,navFromContent:d}=A,Xq=n===void 0?!0:n,Yq=d===void 0?!1:d,{columns:t}=Pq(),X=L.map(Iq),e=Q?X.findIndex((U)=>Q===U[0]):0,x=E!==void 0,[Zq,kq]=P.useState(e!==-1?e:0),qq=x?X.findIndex((U)=>U[0]===E):-1,z=x?qq!==-1?qq:0:Zq,N=Uq(),[Y,v]=P.useState(Xq),O;if(q[0]===Symbol.for("react.memo_cache_sentinel"))O=()=>v(!0),q[0]=O;else O=q[0];let zq=O,R;if(q[1]===Symbol.for("react.memo_cache_sentinel"))R=()=>v(!1),q[1]=R;else R=q[1];let Eq=R,[Nq,Aq]=P.useState(0),w;if(q[2]===Symbol.for("react.memo_cache_sentinel"))w=()=>{return Aq(Cq),()=>Aq(gq)},q[2]=w;else w=q[2];let vq=w,j=Nq>0,_=(U)=>{let H=(z+X.length+U)%X.length,f=X[H]?.[0];if(x&&k&&f)k(f);else kq(H);v(!0)},b=!G&&!a&&Y,S;if(q[3]!==b)S={context:"Tabs",isActive:b},q[3]=b,q[4]=S;else S=q[4];o({"tabs:next":()=>_(1),"tabs:previous":()=>_(-1)},S);let W;if(q[5]!==Y||q[6]!==G||q[7]!==j)W=(U)=>{if(!Y||!j||G)return;if(U.key==="down")U.preventDefault(),v(!1)},q[5]=Y,q[6]=G,q[7]=j,q[8]=W;else W=q[8];let u=W,$=Yq&&!Y&&j&&!G&&!a,m;if(q[9]!==$)m={context:"Tabs",isActive:$},q[9]=$,q[10]=m;else m=q[10];o({"tabs:next":()=>{_(1),v(!0)},"tabs:previous":()=>{_(-1),v(!0)}},m);let Dq=J?s(J)+1:0,Mq=X.reduce(Fq,0),Bq=Dq+Mq,Gq=K?Math.max(0,t-Bq):0,B=K?t:void 0,h=M,Kq="column",yq=0,Oq=!0,c=N?0:void 0,r=!G&&F(M,{flexDirection:"row",gap:1,flexShrink:N?0:void 0,children:[J!==void 0&&Z(g,{bold:!0,color:V,children:J}),X.map((U,H)=>{let[f,Rq]=U,i=z===H,l=V&&i&&Y;return F(g,{backgroundColor:l?V:void 0,color:l?"inverseText":void 0,inverse:i&&!l,bold:i,children:[" ",Rq," "]},f)}),Gq>0&&Z(g,{children:" ".repeat(Gq)})]},`${z}-${Y?"focused":"blurred"}`),D;if(q[11]!==L||q[12]!==y||q[13]!==B||q[14]!==G||q[15]!==N||q[16]!==z)D=N?Z(M,{width:B,marginTop:G?0:1,flexShrink:0,children:Z(Vq,{ref:N,flexDirection:"column",flexShrink:0,children:L},z)}):Z(M,{width:B,marginTop:G?0:1,height:y,overflowY:y!==void 0?"hidden":void 0,children:L}),q[11]=L,q[12]=y,q[13]=B,q[14]=G,q[15]=N,q[16]=z,q[17]=D;else D=q[17];let p;if(q[18]!==h||q[19]!==T||q[20]!==u||q[21]!==c||q[22]!==r||q[23]!==D)p=F(h,{flexDirection:Kq,tabIndex:yq,autoFocus:Oq,onKeyDown:u,flexShrink:c,children:[r,T,D]}),q[18]=h,q[19]=T,q[20]=u,q[21]=c,q[22]=r,q[23]=D,q[24]=p;else p=q[24];return Z(I.Provider,{value:{selectedTab:X[z][0],width:B,headerFocused:Y,focusHeader:zq,blurHeader:Eq,registerOptIn:vq},children:p})}function Fq(A,q){let[,J]=q;return A+(J?s(J):0)+2+1}function gq(A){return A-1}function Cq(A){return A+1}function Iq(A){return[A.props.id??A.props.title,A.props.title]}function oq(A){let q=C.c(4),{title:J,id:V,children:Q}=A,{selectedTab:L,width:G}=P.useContext(I),K=Qq();if(L!==(V??J))return null;let E=K?0:void 0,k;if(q[0]!==Q||q[1]!==E||q[2]!==G)k=Z(M,{width:G,flexShrink:E,children:Q}),q[0]=Q,q[1]=E,q[2]=G,q[3]=k;else k=q[3];return k}function sq(){let{width:A}=P.useContext(I);return A}function aq(){let A=C.c(6),{headerFocused:q,focusHeader:J,blurHeader:V,registerOptIn:Q}=P.useContext(I),L;if(A[0]!==Q)L=[Q],A[0]=Q,A[1]=L;else L=A[1];P.useEffect(Q,L);let G;if(A[2]!==V||A[3]!==J||A[4]!==q)G={headerFocused:q,focusHeader:J,blurHeader:V},A[2]=V,A[3]=J,A[4]=q,A[5]=G;else G=A[5];return G}var C,P,I;var Tq=wq(()=>{Hq();mq();fq();jq();Wq();pq();Jq();C=Lq(Sq(),1),P=Lq(_q(),1),I=P.createContext({selectedTab:void 0,width:void 0,headerFocused:!1,focusHeader:()=>{},blurHeader:()=>{},registerOptIn:()=>()=>{}})});
2
+ export{lq as Lf,oq as Mf,sq as Nf,aq as Of,Tq as Pf};