@songtonyli/dsh-cli 0.1.67 → 0.1.69

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 (1830) hide show
  1. package/README.md +1 -1
  2. package/bin/dsh.mjs +1 -1
  3. package/node_modules/@anthropic-ai/sdk/CHANGELOG.md +182 -0
  4. package/node_modules/@anthropic-ai/sdk/README.md +1 -1
  5. package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js +66 -53
  6. package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs +66 -53
  7. package/node_modules/@anthropic-ai/sdk/client.js +871 -856
  8. package/node_modules/@anthropic-ai/sdk/client.mjs +872 -851
  9. package/node_modules/@anthropic-ai/sdk/core/api-promise.js +71 -69
  10. package/node_modules/@anthropic-ai/sdk/core/api-promise.mjs +71 -65
  11. package/node_modules/@anthropic-ai/sdk/core/error.js +5 -3
  12. package/node_modules/@anthropic-ai/sdk/core/error.mjs +5 -3
  13. package/node_modules/@anthropic-ai/sdk/core/pagination.js +56 -51
  14. package/node_modules/@anthropic-ai/sdk/core/pagination.mjs +56 -42
  15. package/node_modules/@anthropic-ai/sdk/core/resource.js +0 -1
  16. package/node_modules/@anthropic-ai/sdk/core/resource.mjs +0 -1
  17. package/node_modules/@anthropic-ai/sdk/core/streaming.js +214 -240
  18. package/node_modules/@anthropic-ai/sdk/core/streaming.mjs +215 -241
  19. package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.js +14 -19
  20. package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.mjs +14 -13
  21. package/node_modules/@anthropic-ai/sdk/index.js +7 -7
  22. package/node_modules/@anthropic-ai/sdk/index.mjs +3 -3
  23. package/node_modules/@anthropic-ai/sdk/internal/builtin-types.js +0 -1
  24. package/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs +0 -1
  25. package/node_modules/@anthropic-ai/sdk/internal/constants.js +1 -1
  26. package/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js +27 -24
  27. package/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs +27 -24
  28. package/node_modules/@anthropic-ai/sdk/internal/decoders/line.js +52 -49
  29. package/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs +52 -43
  30. package/node_modules/@anthropic-ai/sdk/internal/detect-platform.js +0 -1
  31. package/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs +0 -1
  32. package/node_modules/@anthropic-ai/sdk/internal/errors.js +0 -1
  33. package/node_modules/@anthropic-ai/sdk/internal/errors.mjs +0 -1
  34. package/node_modules/@anthropic-ai/sdk/internal/file-store.js +256 -258
  35. package/node_modules/@anthropic-ai/sdk/internal/file-store.mjs +256 -243
  36. package/node_modules/@anthropic-ai/sdk/internal/headers.js +0 -1
  37. package/node_modules/@anthropic-ai/sdk/internal/headers.mjs +0 -1
  38. package/node_modules/@anthropic-ai/sdk/internal/node.browser.mjs +7 -7
  39. package/node_modules/@anthropic-ai/sdk/internal/parse.js +2 -3
  40. package/node_modules/@anthropic-ai/sdk/internal/parse.mjs +3 -4
  41. package/node_modules/@anthropic-ai/sdk/internal/request-options.js +0 -1
  42. package/node_modules/@anthropic-ai/sdk/internal/request-options.mjs +0 -1
  43. package/node_modules/@anthropic-ai/sdk/internal/shim-types.js +0 -1
  44. package/node_modules/@anthropic-ai/sdk/internal/shim-types.mjs +0 -1
  45. package/node_modules/@anthropic-ai/sdk/internal/shims.js +0 -1
  46. package/node_modules/@anthropic-ai/sdk/internal/shims.mjs +0 -1
  47. package/node_modules/@anthropic-ai/sdk/internal/stainless-helper-header.js +12 -7
  48. package/node_modules/@anthropic-ai/sdk/internal/stainless-helper-header.mjs +6 -1
  49. package/node_modules/@anthropic-ai/sdk/internal/to-file.js +1 -1
  50. package/node_modules/@anthropic-ai/sdk/internal/to-file.mjs +1 -1
  51. package/node_modules/@anthropic-ai/sdk/internal/types.js +0 -1
  52. package/node_modules/@anthropic-ai/sdk/internal/types.mjs +0 -1
  53. package/node_modules/@anthropic-ai/sdk/internal/uploads.js +5 -2
  54. package/node_modules/@anthropic-ai/sdk/internal/uploads.mjs +5 -2
  55. package/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.js +66 -63
  56. package/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.mjs +66 -56
  57. package/node_modules/@anthropic-ai/sdk/internal/utils/base64.js +0 -1
  58. package/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs +0 -1
  59. package/node_modules/@anthropic-ai/sdk/internal/utils/env.js +0 -1
  60. package/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs +0 -1
  61. package/node_modules/@anthropic-ai/sdk/internal/utils/log.js +12 -1
  62. package/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs +11 -1
  63. package/node_modules/@anthropic-ai/sdk/internal/utils/query.js +0 -1
  64. package/node_modules/@anthropic-ai/sdk/internal/utils/query.mjs +0 -1
  65. package/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js +0 -1
  66. package/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs +0 -1
  67. package/node_modules/@anthropic-ai/sdk/internal/utils/values.js +0 -1
  68. package/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs +0 -1
  69. package/node_modules/@anthropic-ai/sdk/internal/utils.js +0 -1
  70. package/node_modules/@anthropic-ai/sdk/internal/utils.mjs +0 -1
  71. package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js +596 -590
  72. package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs +596 -590
  73. package/node_modules/@anthropic-ai/sdk/lib/MessageStream.js +544 -541
  74. package/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs +544 -541
  75. package/node_modules/@anthropic-ai/sdk/lib/environments/poller.js +180 -174
  76. package/node_modules/@anthropic-ai/sdk/lib/environments/poller.mjs +180 -153
  77. package/node_modules/@anthropic-ai/sdk/lib/environments/worker.js +375 -359
  78. package/node_modules/@anthropic-ai/sdk/lib/environments/worker.mjs +374 -319
  79. package/node_modules/@anthropic-ai/sdk/lib/internal/BetaToolRunnerStream.js +137 -0
  80. package/node_modules/@anthropic-ai/sdk/lib/internal/BetaToolRunnerStream.mjs +137 -0
  81. package/node_modules/@anthropic-ai/sdk/lib/internal/stub.js +6 -0
  82. package/node_modules/@anthropic-ai/sdk/lib/internal/stub.mjs +3 -0
  83. package/node_modules/@anthropic-ai/sdk/lib/internal/types.js +3 -0
  84. package/node_modules/@anthropic-ai/sdk/lib/internal/types.mjs +2 -0
  85. package/node_modules/@anthropic-ai/sdk/lib/middleware.js +20 -2
  86. package/node_modules/@anthropic-ai/sdk/lib/middleware.mjs +20 -2
  87. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.js +628 -361
  88. package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.mjs +629 -355
  89. package/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.js +600 -594
  90. package/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.mjs +599 -550
  91. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.js +39 -36
  92. package/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.mjs +39 -13
  93. package/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.js +7 -5
  94. package/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.mjs +7 -5
  95. package/node_modules/@anthropic-ai/sdk/package.json +3 -1
  96. package/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.js +135 -133
  97. package/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.mjs +135 -133
  98. package/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.js +0 -1
  99. package/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.mjs +0 -1
  100. package/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.js +0 -1
  101. package/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.mjs +0 -1
  102. package/node_modules/@anthropic-ai/sdk/resources/beta/agents.js +0 -1
  103. package/node_modules/@anthropic-ai/sdk/resources/beta/agents.mjs +0 -1
  104. package/node_modules/@anthropic-ai/sdk/resources/beta/beta.js +39 -37
  105. package/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs +39 -37
  106. package/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.js +0 -1
  107. package/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.mjs +0 -1
  108. package/node_modules/@anthropic-ai/sdk/resources/beta/deployments.js +0 -1
  109. package/node_modules/@anthropic-ai/sdk/resources/beta/deployments.mjs +0 -1
  110. package/node_modules/@anthropic-ai/sdk/resources/beta/dreams.js +45 -6
  111. package/node_modules/@anthropic-ai/sdk/resources/beta/dreams.mjs +45 -6
  112. package/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.js +157 -155
  113. package/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.mjs +157 -155
  114. package/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.js +0 -1
  115. package/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.mjs +0 -1
  116. package/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.js +255 -253
  117. package/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.mjs +255 -253
  118. package/node_modules/@anthropic-ai/sdk/resources/beta/environments.js +0 -1
  119. package/node_modules/@anthropic-ai/sdk/resources/beta/environments.mjs +0 -1
  120. package/node_modules/@anthropic-ai/sdk/resources/beta/files.js +0 -1
  121. package/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs +0 -1
  122. package/node_modules/@anthropic-ai/sdk/resources/beta/index.js +8 -8
  123. package/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs +1 -2
  124. package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.js +0 -1
  125. package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.mjs +0 -1
  126. package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.js +0 -1
  127. package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.mjs +0 -1
  128. package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.js +150 -148
  129. package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.mjs +150 -148
  130. package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.js +0 -1
  131. package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.mjs +0 -1
  132. package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.js +0 -1
  133. package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.mjs +0 -1
  134. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js +0 -1
  135. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs +0 -1
  136. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js +4 -4
  137. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs +2 -3
  138. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js +132 -112
  139. package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs +131 -111
  140. package/node_modules/@anthropic-ai/sdk/resources/beta/messages.js +0 -1
  141. package/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs +0 -1
  142. package/node_modules/@anthropic-ai/sdk/resources/beta/models.js +0 -1
  143. package/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs +0 -1
  144. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/api-keys.js +0 -1
  145. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/api-keys.mjs +0 -1
  146. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/compliance-settings.js +0 -1
  147. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/compliance-settings.mjs +0 -1
  148. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/external-keys.js +0 -1
  149. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/external-keys.mjs +0 -1
  150. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/federation.js +11 -9
  151. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/federation.mjs +11 -9
  152. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/index.js +0 -1
  153. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/index.mjs +0 -1
  154. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/issuers.js +0 -1
  155. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/issuers.mjs +0 -1
  156. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules/index.js +0 -1
  157. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules/index.mjs +0 -1
  158. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules/rules.js +187 -185
  159. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules/rules.mjs +187 -185
  160. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules/workspaces.js +0 -1
  161. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules/workspaces.mjs +0 -1
  162. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules.js +0 -1
  163. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules.mjs +0 -1
  164. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation.js +0 -1
  165. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation.mjs +0 -1
  166. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/index.js +0 -1
  167. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/index.mjs +0 -1
  168. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/invites.js +0 -1
  169. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/invites.mjs +0 -1
  170. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/organization.js +38 -36
  171. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/organization.mjs +38 -36
  172. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/rate-limits.js +0 -1
  173. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/rate-limits.mjs +0 -1
  174. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts/index.js +0 -1
  175. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts/index.mjs +0 -1
  176. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts/service-accounts.js +163 -161
  177. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts/service-accounts.mjs +163 -161
  178. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts/workspaces.js +0 -1
  179. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts/workspaces.mjs +0 -1
  180. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts.js +0 -1
  181. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts.mjs +0 -1
  182. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/users.js +0 -1
  183. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/users.mjs +0 -1
  184. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/index.js +0 -1
  185. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/index.mjs +0 -1
  186. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/members.js +0 -1
  187. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/members.mjs +0 -1
  188. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/rate-limits.js +6 -5
  189. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/rate-limits.mjs +6 -5
  190. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/service-accounts.js +0 -1
  191. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/service-accounts.mjs +0 -1
  192. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/workspaces.js +97 -95
  193. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/workspaces.mjs +97 -95
  194. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces.js +0 -1
  195. package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces.mjs +0 -1
  196. package/node_modules/@anthropic-ai/sdk/resources/beta/organization.js +0 -1
  197. package/node_modules/@anthropic-ai/sdk/resources/beta/organization.mjs +0 -1
  198. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.js +118 -116
  199. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.mjs +118 -116
  200. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.js +0 -1
  201. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.mjs +0 -1
  202. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.js +0 -1
  203. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.mjs +0 -1
  204. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.js +161 -159
  205. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.mjs +161 -159
  206. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.js +0 -1
  207. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.mjs +0 -1
  208. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.js +0 -1
  209. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.mjs +0 -1
  210. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.js +86 -84
  211. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.mjs +86 -84
  212. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.js +0 -1
  213. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.mjs +0 -1
  214. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions.js +0 -1
  215. package/node_modules/@anthropic-ai/sdk/resources/beta/sessions.mjs +0 -1
  216. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.js +0 -1
  217. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.mjs +0 -1
  218. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.js +104 -102
  219. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.mjs +104 -102
  220. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.js +0 -1
  221. package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.mjs +0 -1
  222. package/node_modules/@anthropic-ai/sdk/resources/beta/skills.js +0 -1
  223. package/node_modules/@anthropic-ai/sdk/resources/beta/skills.mjs +0 -1
  224. package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.js +0 -1
  225. package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.mjs +0 -1
  226. package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/index.js +0 -1
  227. package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/index.mjs +0 -1
  228. package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.js +188 -186
  229. package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.mjs +188 -186
  230. package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels.js +0 -1
  231. package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels.mjs +0 -1
  232. package/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.js +25 -11
  233. package/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.mjs +25 -11
  234. package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.js +0 -1
  235. package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.mjs +0 -1
  236. package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.js +0 -1
  237. package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.mjs +0 -1
  238. package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.js +156 -154
  239. package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.mjs +156 -154
  240. package/node_modules/@anthropic-ai/sdk/resources/beta/vaults.js +0 -1
  241. package/node_modules/@anthropic-ai/sdk/resources/beta/vaults.mjs +0 -1
  242. package/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.js +0 -1
  243. package/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.mjs +0 -1
  244. package/node_modules/@anthropic-ai/sdk/resources/beta.js +0 -1
  245. package/node_modules/@anthropic-ai/sdk/resources/beta.mjs +0 -1
  246. package/node_modules/@anthropic-ai/sdk/resources/completions.js +0 -1
  247. package/node_modules/@anthropic-ai/sdk/resources/completions.mjs +0 -1
  248. package/node_modules/@anthropic-ai/sdk/resources/files.js +0 -1
  249. package/node_modules/@anthropic-ai/sdk/resources/files.mjs +0 -1
  250. package/node_modules/@anthropic-ai/sdk/resources/index.js +0 -1
  251. package/node_modules/@anthropic-ai/sdk/resources/index.mjs +0 -1
  252. package/node_modules/@anthropic-ai/sdk/resources/messages/batches.js +0 -1
  253. package/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs +0 -1
  254. package/node_modules/@anthropic-ai/sdk/resources/messages/index.js +0 -1
  255. package/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs +0 -1
  256. package/node_modules/@anthropic-ai/sdk/resources/messages/messages.js +115 -113
  257. package/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs +115 -113
  258. package/node_modules/@anthropic-ai/sdk/resources/messages.js +0 -1
  259. package/node_modules/@anthropic-ai/sdk/resources/messages.mjs +0 -1
  260. package/node_modules/@anthropic-ai/sdk/resources/models.js +0 -1
  261. package/node_modules/@anthropic-ai/sdk/resources/models.mjs +0 -1
  262. package/node_modules/@anthropic-ai/sdk/resources/shared.js +0 -1
  263. package/node_modules/@anthropic-ai/sdk/resources/shared.mjs +0 -1
  264. package/node_modules/@anthropic-ai/sdk/resources/skills/index.js +0 -1
  265. package/node_modules/@anthropic-ai/sdk/resources/skills/index.mjs +0 -1
  266. package/node_modules/@anthropic-ai/sdk/resources/skills/skills.js +88 -86
  267. package/node_modules/@anthropic-ai/sdk/resources/skills/skills.mjs +88 -86
  268. package/node_modules/@anthropic-ai/sdk/resources/skills/versions.js +0 -1
  269. package/node_modules/@anthropic-ai/sdk/resources/skills/versions.mjs +0 -1
  270. package/node_modules/@anthropic-ai/sdk/resources/skills.js +0 -1
  271. package/node_modules/@anthropic-ai/sdk/resources/skills.mjs +0 -1
  272. package/node_modules/@anthropic-ai/sdk/resources/top-level.js +0 -1
  273. package/node_modules/@anthropic-ai/sdk/resources/top-level.mjs +0 -1
  274. package/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/parser.ts +71 -56
  275. package/node_modules/@anthropic-ai/sdk/src/client.ts +138 -98
  276. package/node_modules/@anthropic-ai/sdk/src/core/api-promise.ts +0 -2
  277. package/node_modules/@anthropic-ai/sdk/src/core/error.ts +0 -2
  278. package/node_modules/@anthropic-ai/sdk/src/core/pagination.ts +0 -2
  279. package/node_modules/@anthropic-ai/sdk/src/core/resource.ts +0 -2
  280. package/node_modules/@anthropic-ai/sdk/src/core/streaming.ts +3 -39
  281. package/node_modules/@anthropic-ai/sdk/src/index.ts +10 -17
  282. package/node_modules/@anthropic-ai/sdk/src/internal/builtin-types.ts +0 -2
  283. package/node_modules/@anthropic-ai/sdk/src/internal/detect-platform.ts +0 -2
  284. package/node_modules/@anthropic-ai/sdk/src/internal/errors.ts +0 -2
  285. package/node_modules/@anthropic-ai/sdk/src/internal/headers.ts +0 -2
  286. package/node_modules/@anthropic-ai/sdk/src/internal/node.browser.ts +7 -7
  287. package/node_modules/@anthropic-ai/sdk/src/internal/parse.ts +8 -13
  288. package/node_modules/@anthropic-ai/sdk/src/internal/request-options.ts +1 -3
  289. package/node_modules/@anthropic-ai/sdk/src/internal/shim-types.ts +0 -2
  290. package/node_modules/@anthropic-ai/sdk/src/internal/shims.ts +4 -5
  291. package/node_modules/@anthropic-ai/sdk/src/internal/stainless-helper-header.ts +7 -1
  292. package/node_modules/@anthropic-ai/sdk/src/internal/to-file.ts +1 -1
  293. package/node_modules/@anthropic-ai/sdk/src/internal/types.ts +0 -2
  294. package/node_modules/@anthropic-ai/sdk/src/internal/uploads.ts +5 -2
  295. package/node_modules/@anthropic-ai/sdk/src/internal/utils/base64.ts +0 -2
  296. package/node_modules/@anthropic-ai/sdk/src/internal/utils/bytes.ts +1 -1
  297. package/node_modules/@anthropic-ai/sdk/src/internal/utils/env.ts +0 -2
  298. package/node_modules/@anthropic-ai/sdk/src/internal/utils/log.ts +16 -4
  299. package/node_modules/@anthropic-ai/sdk/src/internal/utils/query.ts +0 -2
  300. package/node_modules/@anthropic-ai/sdk/src/internal/utils/uuid.ts +0 -2
  301. package/node_modules/@anthropic-ai/sdk/src/internal/utils/values.ts +0 -2
  302. package/node_modules/@anthropic-ai/sdk/src/internal/utils.ts +0 -2
  303. package/node_modules/@anthropic-ai/sdk/src/lib/.keep +0 -2
  304. package/node_modules/@anthropic-ai/sdk/src/lib/BetaMessageStream.ts +9 -6
  305. package/node_modules/@anthropic-ai/sdk/src/lib/beta-parser.ts +1 -3
  306. package/node_modules/@anthropic-ai/sdk/src/lib/environments/worker.ts +29 -15
  307. package/node_modules/@anthropic-ai/sdk/src/lib/internal/BetaToolRunnerStream.ts +170 -0
  308. package/node_modules/@anthropic-ai/sdk/src/lib/internal/stub.ts +2 -0
  309. package/node_modules/@anthropic-ai/sdk/src/lib/internal/types.ts +2 -0
  310. package/node_modules/@anthropic-ai/sdk/src/lib/middleware.ts +20 -2
  311. package/node_modules/@anthropic-ai/sdk/src/lib/parser.ts +1 -3
  312. package/node_modules/@anthropic-ai/sdk/src/lib/tools/BetaRunnableTool.ts +2 -1
  313. package/node_modules/@anthropic-ai/sdk/src/lib/tools/BetaToolRunner.ts +579 -240
  314. package/node_modules/@anthropic-ai/sdk/src/lib/transform-json-schema.ts +8 -6
  315. package/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/agents.ts +147 -53
  316. package/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/index.ts +1 -2
  317. package/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/versions.ts +0 -2
  318. package/node_modules/@anthropic-ai/sdk/src/resources/beta/agents.ts +0 -2
  319. package/node_modules/@anthropic-ai/sdk/src/resources/beta/beta.ts +67 -3
  320. package/node_modules/@anthropic-ai/sdk/src/resources/beta/deployment-runs.ts +13 -8
  321. package/node_modules/@anthropic-ai/sdk/src/resources/beta/deployments.ts +43 -27
  322. package/node_modules/@anthropic-ai/sdk/src/resources/beta/dreams.ts +279 -89
  323. package/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/environments.ts +5 -12
  324. package/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/index.ts +0 -2
  325. package/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/work.ts +0 -2
  326. package/node_modules/@anthropic-ai/sdk/src/resources/beta/environments.ts +0 -2
  327. package/node_modules/@anthropic-ai/sdk/src/resources/beta/files.ts +0 -2
  328. package/node_modules/@anthropic-ai/sdk/src/resources/beta/index.ts +191 -161
  329. package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/index.ts +0 -2
  330. package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memories.ts +82 -23
  331. package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memory-stores.ts +6 -5
  332. package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memory-versions.ts +60 -43
  333. package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores.ts +0 -2
  334. package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/batches.ts +27 -12
  335. package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/index.ts +47 -21
  336. package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/messages.ts +741 -176
  337. package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages.ts +0 -2
  338. package/node_modules/@anthropic-ai/sdk/src/resources/beta/models.ts +30 -7
  339. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/api-keys.ts +0 -2
  340. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/compliance-settings.ts +0 -2
  341. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/external-keys.ts +0 -2
  342. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/federation/federation.ts +0 -2
  343. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/federation/index.ts +0 -2
  344. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/federation/issuers.ts +4 -7
  345. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/federation/rules/index.ts +0 -2
  346. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/federation/rules/rules.ts +4 -8
  347. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/federation/rules/workspaces.ts +0 -2
  348. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/federation/rules.ts +0 -2
  349. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/federation.ts +0 -2
  350. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/index.ts +6 -2
  351. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/invites.ts +0 -2
  352. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/organization.ts +12 -2
  353. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/rate-limits.ts +112 -6
  354. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/service-accounts/index.ts +0 -2
  355. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/service-accounts/service-accounts.ts +0 -2
  356. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/service-accounts/workspaces.ts +0 -2
  357. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/service-accounts.ts +0 -2
  358. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/users.ts +0 -2
  359. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/workspaces/index.ts +2 -2
  360. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/workspaces/members.ts +0 -2
  361. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/workspaces/rate-limits.ts +58 -14
  362. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/workspaces/service-accounts.ts +0 -2
  363. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/workspaces/workspaces.ts +7 -5
  364. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/workspaces.ts +0 -2
  365. package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization.ts +0 -2
  366. package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/events.ts +234 -82
  367. package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/index.ts +10 -2
  368. package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/resources.ts +5 -9
  369. package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/sessions.ts +85 -46
  370. package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/events.ts +2 -4
  371. package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/index.ts +0 -2
  372. package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/threads.ts +21 -15
  373. package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads.ts +0 -2
  374. package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions.ts +0 -2
  375. package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/index.ts +0 -2
  376. package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/skills.ts +0 -2
  377. package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/versions.ts +0 -2
  378. package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills.ts +0 -2
  379. package/node_modules/@anthropic-ai/sdk/src/resources/beta/tunnels/certificates.ts +7 -7
  380. package/node_modules/@anthropic-ai/sdk/src/resources/beta/tunnels/index.ts +0 -2
  381. package/node_modules/@anthropic-ai/sdk/src/resources/beta/tunnels/tunnels.ts +3 -4
  382. package/node_modules/@anthropic-ai/sdk/src/resources/beta/tunnels.ts +0 -2
  383. package/node_modules/@anthropic-ai/sdk/src/resources/beta/user-profiles.ts +300 -38
  384. package/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/credentials.ts +37 -35
  385. package/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/index.ts +0 -2
  386. package/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/vaults.ts +1 -3
  387. package/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults.ts +0 -2
  388. package/node_modules/@anthropic-ai/sdk/src/resources/beta/webhooks.ts +0 -2
  389. package/node_modules/@anthropic-ai/sdk/src/resources/beta.ts +0 -2
  390. package/node_modules/@anthropic-ai/sdk/src/resources/completions.ts +3 -4
  391. package/node_modules/@anthropic-ai/sdk/src/resources/files.ts +0 -2
  392. package/node_modules/@anthropic-ai/sdk/src/resources/index.ts +17 -2
  393. package/node_modules/@anthropic-ai/sdk/src/resources/messages/batches.ts +0 -2
  394. package/node_modules/@anthropic-ai/sdk/src/resources/messages/index.ts +17 -2
  395. package/node_modules/@anthropic-ai/sdk/src/resources/messages/messages.ts +289 -93
  396. package/node_modules/@anthropic-ai/sdk/src/resources/messages.ts +0 -2
  397. package/node_modules/@anthropic-ai/sdk/src/resources/models.ts +12 -9
  398. package/node_modules/@anthropic-ai/sdk/src/resources/shared.ts +0 -2
  399. package/node_modules/@anthropic-ai/sdk/src/resources/skills/index.ts +0 -2
  400. package/node_modules/@anthropic-ai/sdk/src/resources/skills/skills.ts +0 -2
  401. package/node_modules/@anthropic-ai/sdk/src/resources/skills/versions.ts +0 -2
  402. package/node_modules/@anthropic-ai/sdk/src/resources/skills.ts +0 -2
  403. package/node_modules/@anthropic-ai/sdk/src/tools/agent-toolset/node.ts +3 -2
  404. package/node_modules/@anthropic-ai/sdk/src/tsconfig.json +13 -3
  405. package/node_modules/@anthropic-ai/sdk/src/version.ts +1 -1
  406. package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.js +0 -6
  407. package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.mjs +0 -6
  408. package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/memories.js +694 -691
  409. package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/memories.mjs +691 -631
  410. package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.browser.js +12 -12
  411. package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.js +207 -200
  412. package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.mjs +197 -186
  413. package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.js +5 -5
  414. package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/sync-interval.js +3 -3
  415. package/node_modules/@anthropic-ai/sdk/tools/memory/node.browser.js +2 -2
  416. package/node_modules/@anthropic-ai/sdk/version.js +1 -1
  417. package/node_modules/@anthropic-ai/sdk/version.mjs +1 -1
  418. package/node_modules/@deepseek-ai/cordis-plugin-loader/package.json +1 -1
  419. package/node_modules/@deepseek-ai/dsh/lib/bin.js +1 -1
  420. package/node_modules/@deepseek-ai/dsh/package.json +121 -117
  421. package/node_modules/@deepseek-ai/dsh-acp/README.i18n.yaml +2 -2
  422. package/node_modules/@deepseek-ai/dsh-acp/README.md +5 -1
  423. package/node_modules/@deepseek-ai/dsh-acp/README.zh.md +5 -1
  424. package/node_modules/@deepseek-ai/dsh-acp/lib/index.js +59 -17
  425. package/node_modules/@deepseek-ai/dsh-acp/package.json +23 -22
  426. package/node_modules/@deepseek-ai/dsh-acp-app/README.i18n.yaml +2 -2
  427. package/node_modules/@deepseek-ai/dsh-acp-app/README.md +1 -1
  428. package/node_modules/@deepseek-ai/dsh-acp-app/README.zh.md +1 -1
  429. package/node_modules/@deepseek-ai/dsh-acp-app/cordis.patch.yml +0 -1
  430. package/node_modules/@deepseek-ai/dsh-acp-app/package.json +3 -3
  431. package/node_modules/@deepseek-ai/dsh-agent/package.json +18 -18
  432. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +7 -7
  433. package/node_modules/@deepseek-ai/dsh-agent-instructions/README.i18n.yaml +12 -12
  434. package/node_modules/@deepseek-ai/dsh-agent-instructions/README.md +15 -7
  435. package/node_modules/@deepseek-ai/dsh-agent-instructions/README.zh.md +15 -7
  436. package/node_modules/@deepseek-ai/dsh-agent-instructions/lib/index.js +226 -91
  437. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +24 -22
  438. package/node_modules/@deepseek-ai/dsh-agent-loop/README.i18n.yaml +10 -10
  439. package/node_modules/@deepseek-ai/dsh-agent-loop/README.md +6 -3
  440. package/node_modules/@deepseek-ai/dsh-agent-loop/README.zh.md +6 -3
  441. package/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +67 -25
  442. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +22 -22
  443. package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +7 -7
  444. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +17 -21
  445. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/practices.md +1 -1
  446. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +9 -5
  447. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +27 -27
  448. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.i18n.yaml +8 -8
  449. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.md +4 -4
  450. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.zh.md +4 -4
  451. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/lib/index.js +1 -5
  452. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +9 -9
  453. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +5 -5
  454. package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +7 -7
  455. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +10 -10
  456. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +12 -12
  457. package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +10 -10
  458. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +477 -237
  459. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +41 -41
  460. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +2 -2
  461. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +3 -1
  462. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +3 -1
  463. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +44 -20
  464. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +43 -13
  465. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +227 -41
  466. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +199 -21
  467. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/manager.js +36 -11
  468. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/projection-store.js +1 -1
  469. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/service.js +7 -3
  470. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +40 -10
  471. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/list.js +6 -4
  472. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/skill-catalog.js +7 -6
  473. package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +73 -70
  474. package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +13 -13
  475. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.i18n.yaml +8 -8
  476. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.md +5 -5
  477. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.zh.md +5 -5
  478. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/index.js +13 -9
  479. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +21 -17
  480. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.remote-client.js +10 -10
  481. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/index.js +13 -10
  482. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +18 -17
  483. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +18 -18
  484. package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +12 -12
  485. package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +4 -4
  486. package/node_modules/@deepseek-ai/dsh-app-boot/README.md +5 -1
  487. package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +5 -1
  488. package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +61 -8
  489. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +11 -11
  490. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +1 -1
  491. package/node_modules/@deepseek-ai/dsh-attachment/package.json +3 -3
  492. package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +7 -7
  493. package/node_modules/@deepseek-ai/dsh-authorization/package.json +5 -5
  494. package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +2 -2
  495. package/node_modules/@deepseek-ai/dsh-base/README.md +3 -1
  496. package/node_modules/@deepseek-ai/dsh-base/README.zh.md +3 -1
  497. package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +13 -25
  498. package/node_modules/@deepseek-ai/dsh-base/package.json +94 -94
  499. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +8 -8
  500. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +12 -12
  501. package/node_modules/@deepseek-ai/dsh-brand/package.json +1 -1
  502. package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +1 -1
  503. package/node_modules/@deepseek-ai/dsh-client-connection/README.i18n.yaml +4 -4
  504. package/node_modules/@deepseek-ai/dsh-client-connection/README.md +5 -3
  505. package/node_modules/@deepseek-ai/dsh-client-connection/README.zh.md +5 -3
  506. package/node_modules/@deepseek-ai/dsh-client-connection/lib/index.js +94 -38
  507. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +10 -10
  508. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +9 -5
  509. package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +10 -10
  510. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +3 -3
  511. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +10 -10
  512. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +4 -4
  513. package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +11 -11
  514. package/node_modules/@deepseek-ai/dsh-client-resources/package.json +5 -5
  515. package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +8 -8
  516. package/node_modules/@deepseek-ai/dsh-client-store/package.json +4 -4
  517. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.i18n.yaml +4 -4
  518. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.md +2 -2
  519. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.zh.md +2 -2
  520. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +1 -1
  521. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +17 -17
  522. package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +13 -13
  523. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +9 -9
  524. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +5 -5
  525. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +6 -6
  526. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +19 -5
  527. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +19 -5
  528. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +5539 -4837
  529. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +38 -38
  530. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +15 -15
  531. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +2 -2
  532. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +4 -2
  533. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +4 -2
  534. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +26 -4
  535. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +33 -33
  536. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +13 -13
  537. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.i18n.yaml +6 -6
  538. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.md +3 -3
  539. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +3 -3
  540. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +26 -18
  541. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +28 -28
  542. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +8 -8
  543. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +4 -4
  544. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +15 -15
  545. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +12 -12
  546. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.i18n.yaml +2 -2
  547. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.md +1 -1
  548. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.zh.md +1 -1
  549. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +46 -33
  550. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +13 -11
  551. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.i18n.yaml +6 -6
  552. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.md +3 -3
  553. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.zh.md +3 -3
  554. package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +22 -6
  555. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +9 -9
  556. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +17 -17
  557. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +2 -2
  558. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +2 -2
  559. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +2 -2
  560. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +9 -9
  561. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +16 -16
  562. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +19 -19
  563. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.i18n.yaml +5 -5
  564. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.md +1 -1
  565. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.zh.md +4 -4
  566. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +11 -14
  567. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +15 -15
  568. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +20 -20
  569. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +12 -12
  570. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +9 -7
  571. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +9 -7
  572. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +303 -94
  573. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +17 -17
  574. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +8 -8
  575. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +6 -4
  576. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +6 -4
  577. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/CommandText.module.css +12 -0
  578. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DisclosureRow.module.css +15 -0
  579. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImageLightbox.module.css +12 -4
  580. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TerminalBlock.module.css +3 -10
  581. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +224 -120
  582. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CommandText.d.ts +16 -0
  583. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DisclosureRow.d.ts +4 -2
  584. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/PermissionIcon.d.ts +12 -0
  585. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TerminalBlock.d.ts +3 -1
  586. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +3 -1
  587. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +9 -9
  588. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +13 -13
  589. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/lib/client.js +87 -87
  590. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +3 -3
  591. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +20 -20
  592. package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +8 -8
  593. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +6 -6
  594. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
  595. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +17 -17
  596. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/lib/client.js +1 -1
  597. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +9 -9
  598. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
  599. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +13 -13
  600. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +4 -4
  601. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +4 -0
  602. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +4 -0
  603. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +54 -10
  604. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +11 -11
  605. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +13 -13
  606. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +6 -6
  607. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +9 -9
  608. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/lib/client.js +1 -1
  609. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +9 -9
  610. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/lib/client.js +1 -1
  611. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +8 -8
  612. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/lib/client.js +1 -1
  613. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +9 -9
  614. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/lib/client.js +1 -1
  615. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +9 -9
  616. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +10 -10
  617. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +2 -2
  618. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +1 -1
  619. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +1 -1
  620. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +2 -2
  621. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +12 -12
  622. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +12 -12
  623. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.excel.js +2 -2
  624. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +437 -91
  625. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +21 -21
  626. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +15 -15
  627. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +73 -33
  628. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +18 -18
  629. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.i18n.yaml +4 -4
  630. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.md +2 -2
  631. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.zh.md +2 -2
  632. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.terminal.js +27 -4
  633. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +16 -16
  634. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +15 -15
  635. package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +3 -3
  636. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.i18n.yaml +5 -5
  637. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.md +4 -4
  638. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +3 -3
  639. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +50 -35
  640. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +17 -17
  641. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +19 -16
  642. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +13 -9
  643. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +13 -9
  644. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +471 -104
  645. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/index.js +134 -14
  646. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +11 -11
  647. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +8 -8
  648. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +5 -2
  649. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +5 -2
  650. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +52 -13
  651. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +28 -26
  652. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.i18n.yaml +6 -6
  653. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.md +4 -2
  654. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.zh.md +4 -2
  655. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +60 -43
  656. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +18 -18
  657. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +1 -7
  658. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +21 -21
  659. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.i18n.yaml +6 -6
  660. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.md +3 -2
  661. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.zh.md +3 -2
  662. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +20 -12
  663. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +14 -14
  664. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +8 -8
  665. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +6 -6
  666. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +6 -6
  667. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +52 -20
  668. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +24 -24
  669. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
  670. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +8 -8
  671. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +11 -11
  672. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +11 -11
  673. package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +9 -5
  674. package/node_modules/@deepseek-ai/dsh-commands/package.json +16 -16
  675. package/node_modules/@deepseek-ai/dsh-compaction/package.json +9 -9
  676. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +21 -21
  677. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +16 -16
  678. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +12 -12
  679. package/node_modules/@deepseek-ai/dsh-config-editor/package.json +7 -7
  680. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +153 -41
  681. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +6 -6
  682. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/index.js +9 -9
  683. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +30 -22
  684. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.remote-client.js +12 -12
  685. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/index.js +12 -8
  686. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +17 -17
  687. package/node_modules/@deepseek-ai/dsh-credentials/package.json +2 -2
  688. package/node_modules/@deepseek-ai/dsh-credentials-local/lib/index.js +7 -3
  689. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +9 -9
  690. package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +7 -7
  691. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +9 -9
  692. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.i18n.yaml +2 -2
  693. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.md +1 -1
  694. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.zh.md +1 -1
  695. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/lib/index.js +25 -9
  696. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/lib/types/index.js +22 -9
  697. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +1 -1
  698. package/node_modules/@deepseek-ai/dsh-deque/package.json +1 -1
  699. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.i18n.yaml +35 -35
  700. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.md +19 -21
  701. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.zh.md +19 -21
  702. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/index.js +748 -978
  703. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/index.js +44 -22
  704. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/lifecycle.js +18 -0
  705. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/roster.js +4 -19
  706. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/session-message.js +1 -1
  707. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +20 -20
  708. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.i18n.yaml +2 -2
  709. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.md +1 -1
  710. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.zh.md +1 -1
  711. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/cordis.patch.yml +0 -1
  712. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +5 -5
  713. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/locale/en.json +6 -0
  714. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/locale/zh.json +6 -0
  715. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +7 -5
  716. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.i18n.yaml +4 -4
  717. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.md +3 -1
  718. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.zh.md +3 -1
  719. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/lib/index.js +4 -5
  720. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +41 -39
  721. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/README.i18n.yaml +37 -0
  722. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/README.md +78 -0
  723. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/README.zh.md +78 -0
  724. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/cordis.patch.yml +3 -0
  725. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/icon.svg +1 -0
  726. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/lib/index.js +1 -0
  727. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/locale/en.json +6 -0
  728. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/locale/zh.json +6 -0
  729. package/node_modules/@deepseek-ai/{dsh-hook-protocol → dsh-experimental-badge-skill-bundle}/package.json +18 -8
  730. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +23 -23
  731. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/README.i18n.yaml +37 -0
  732. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/README.md +90 -0
  733. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/README.zh.md +90 -0
  734. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/lib/client.js +4766 -0
  735. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/lib/index.js +250 -0
  736. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/lib/typert.host.js +137 -0
  737. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/lib/typert.remote-client.js +72 -0
  738. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/locale/en.json +6 -0
  739. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/locale/zh.json +6 -0
  740. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/package.json +100 -0
  741. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.i18n.yaml +4 -4
  742. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.md +3 -1
  743. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.zh.md +3 -1
  744. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/client.js +298 -24
  745. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/locale/en.json +6 -0
  746. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/locale/zh.json +6 -0
  747. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +34 -32
  748. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/README.i18n.yaml +37 -0
  749. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/README.md +81 -0
  750. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/README.zh.md +81 -0
  751. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/cordis.patch.yml +8 -0
  752. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/icon.svg +5 -0
  753. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/lib/index.js +1 -0
  754. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/en.json +6 -0
  755. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/zh.json +6 -0
  756. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/package.json +52 -0
  757. package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.i18n.yaml +2 -2
  758. package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.md +1 -1
  759. package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.zh.md +1 -1
  760. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/AutocompleteHistory-BJXpeT8x.js +73 -0
  761. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{FormatterActions-FcPgI0uV.js → FormatterActions-D6HaA-6R.js} +17 -6
  762. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/MapUtilities-C6UNTa-e.js +50 -0
  763. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/ResolverBase-BwI5i_Uj.js +33 -0
  764. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/Runnable-Mz0aa-Zm.js +22 -0
  765. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/StorageItem-_wZ3i4k_.js +12 -0
  766. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/StringUtilities-CMDxNrEc.js +190 -0
  767. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{accessibility-BY7oM_Zr.js → accessibility-B8zUkXQh.js} +225 -226
  768. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{acorn-_jSanihy.js → acorn-yx0Qbj0X.js} +58 -51
  769. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{adorners-CGSl65ls.js → adorners-DUGSZ7j5.js} +2 -4
  770. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{ai_assistance-B1wOs26S.js → ai_assistance-Clc1xIf6.js} +571 -558
  771. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{angular-Dutmu-L9.js → angular-CyYAyotN.js} +1 -1
  772. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{animation-1CaxAvi1.js → animation-Cb5WQenF.js} +91 -92
  773. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{application-a6KsIIks.js → application-oBBqvcZp.js} +2237 -2232
  774. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{autofill-DRlJ5WO3.js → autofill--bByRQmk.js} +24 -24
  775. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/autofill_manager-XEkk9oZ5.js +59 -0
  776. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{bindings-Cr5O2fL5.js → bindings-CAIo-k1a.js} +492 -462
  777. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{browser-DL1S1Kiu.js → browser-DveWkZD5.js} +1 -1
  778. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{browser_debugger-DfivmPio.js → browser_debugger--7vbe3d1.js} +146 -145
  779. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{changes-CzTmqALz.js → changes-DjWi1v9d.js} +1 -1
  780. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{changes-o7rU211I.js → changes-xRx2n786.js} +46 -45
  781. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{code_highlighter-Bh9ro2mP.js → code_highlighter-H8UOTYgG.js} +6 -3
  782. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{codemirror-CBR9VJma.js → codemirror-CENmPHF2.js} +157 -137
  783. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{color_picker-D9TxczuM.js → color_picker-BIF87165.js} +273 -273
  784. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{common-qd_KLeYO.js → common-DMSVbaSb.js} +1077 -1439
  785. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{common-LSsbP0lU.js → common-Ec_cVEiV.js} +2683 -2500
  786. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{common-DhyylFJO.js → common-kU2bwxmb.js} +1 -1
  787. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{components-DB4oenRq.js → components-B3I3NG-4.js} +68 -67
  788. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{components-CT445-PD.js → components-CaH94O_V.js} +170 -116
  789. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{components-CSVBAbW3.js → components-CsKivuxU.js} +258 -293
  790. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{console-DwIHHkNd.js → console-BmwBLvHk.js} +1 -1
  791. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{console-VAMtSW-X.js → console-CUdjJ9Xp.js} +596 -601
  792. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{console_counters-BpgnYGWt.js → console_counters-BScL6IPX.js} +26 -26
  793. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{coverage-4LvbYA2T.js → coverage-HrH22f9l.js} +1 -1
  794. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{coverage-CYnEOg6T.js → coverage-NhXPoU6-.js} +156 -150
  795. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{cpp-CdElSCaB.js → cpp-DaQzQ7EV.js} +1 -1
  796. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{css_overview-s6ziZpq8.js → css_overview-CxLMtTr9.js} +344 -345
  797. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{data_grid-UqFJQMC9.js → data_grid-CWSfqJp7.js} +109 -102
  798. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{developer_resources-BEGIXIcF.js → developer_resources-BATAp86N.js} +38 -37
  799. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{diff-qn55JSCS.js → diff-DXcO6Sla.js} +24 -7
  800. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{dom_extension-B0UaTHZj.js → dom_extension-BLny9Waw.js} +38 -14
  801. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{elements-B5_H3hT1.js → elements-BU8z2iUE.js} +1881 -1776
  802. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{elements-KASgrHtM.js → elements-Ck9kJ4zi.js} +1 -1
  803. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{emulation-DZ65TT-w.js → emulation-BIhr0HsX.js} +61 -59
  804. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{emulation-CbCy_GsY.js → emulation-CJ_3s3iH.js} +5 -5
  805. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{emulation-C518g-x2.js → emulation-CczS-vUV.js} +1 -1
  806. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{emulation-3hQQL2yf.js → emulation-DSV_4uNT.js} +277 -271
  807. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{event_listeners-DhTNoGOp.js → event_listeners-DnM83R-t.js} +63 -63
  808. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/explain-D5jDyrH1.js +745 -0
  809. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{greendev-yysgT4ng.js → greendev-IsUdA61g.js} +38 -38
  810. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{heap_snapshot-CZt2KUPL.js → heap_snapshot-CTdRQlts.js} +6 -6
  811. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{helper-DbYCW1m0.js → helper-YgGAtBRb.js} +2 -2
  812. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{helpers-C-Rya7xk.js → helpers-BQtqX6SJ.js} +2 -2
  813. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{i18n--ZipiwZ9.js → i18n-BX_qxSex.js} +4 -3
  814. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{icon_button-BKsdgzo3.js → icon_button-AiKYfeBf.js} +2 -2
  815. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{inline_editor-DaZpS-8x.js → inline_editor-C2tEGunK.js} +218 -215
  816. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{inspector_main-DkFTp37J.js → inspector_main-BqySmYv0.js} +75 -73
  817. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{issue_counter-rspQhd2r.js → issue_counter-BX-KAvOZ.js} +22 -22
  818. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{issues-DrqiU8Pw.js → issues-DaMGmAC2.js} +469 -468
  819. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{issues_manager-DZmsx4wr.js → issues_manager-e2pmpVIp.js} +537 -599
  820. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{java-7g_qfFa2.js → java-62KG1Vpd.js} +1 -1
  821. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{layer_viewer-farvqWTo.js → layer_viewer-pReGOxmi.js} +101 -100
  822. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{layers-BO25qbXj.js → layers-BsFRGUMJ.js} +22 -22
  823. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{legacy-DOCLCisy.js → legacy-BYV0pRId.js} +4 -4
  824. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{legacy-Dv5Py_9p.js → legacy-md3HQs_7.js} +6124 -5944
  825. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{less-DXiRNbd4.js → less-DmILOm_5.js} +1 -1
  826. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{lighthouse-BvKq1-jB.js → lighthouse-BZB1Bmby.js} +1 -1
  827. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{lighthouse-CawSQT5Y.js → lighthouse-NimZl1cI.js} +181 -191
  828. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{linear_memory_inspector-CGR2Z7Ph.js → linear_memory_inspector-p2-Ih16z.js} +22 -22
  829. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{live-metrics-4EBbno52.js → live-metrics-CTk3dlLJ.js} +73 -73
  830. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{main-DY6diJ-3.js → main-B8aRedWL.js} +1 -1
  831. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/main-CU6VhZTa.js +753 -0
  832. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{markdown-tZoR6Bsu.js → markdown-rVMoMV9q.js} +1 -1
  833. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{markdown_view-CxbhmCgQ.js → markdown_view-JGM1CTOq.js} +15 -12
  834. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{marked-zGgfoDxO.js → marked-CGxJO_CC.js} +20 -14
  835. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{media-DEVFcgOQ.js → media-Cf52Rd9o.js} +236 -234
  836. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{media-BeuRvD7L.js → media-Z6GjdmRm.js} +1 -1
  837. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{menus-Cjq-uD73.js → menus-Cu1y5CSe.js} +85 -83
  838. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{mobile_throttling-CuGRbE5B.js → mobile_throttling-CvudVoXO.js} +1 -1
  839. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{mobile_throttling-B_3ewTmi.js → mobile_throttling-dNBk2ECF.js} +174 -172
  840. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{network-CpKopkw0.js → network-BX1qe3_D.js} +1237 -1230
  841. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{network-C-3jvhoX.js → network-B_IYxadp.js} +1 -1
  842. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{object_ui-cmgZzf81.js → object_ui-Bkc4pMRS.js} +255 -249
  843. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{object_ui-BLzT-Z2e.js → object_ui-CYZ9Q9W6.js} +1 -1
  844. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{perf_ui-uax9xKLn.js → perf_ui-Ch0z1TZ3.js} +409 -405
  845. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{perf_ui-CYbvqQmF.js → perf_ui-Dlpk1iY7.js} +1 -1
  846. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{performance_monitor-B_RXvxih.js → performance_monitor-BTc9fFSa.js} +55 -56
  847. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{php-tl5gKrxu.js → php-DVXaM5js.js} +7 -5
  848. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/platform-D4TUCh2P.js +7 -0
  849. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{profiler-C7HGH_E8.js → profiler-CBSzVAE7.js} +707 -703
  850. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{protocol_client-Cwf_jb8R.js → protocol_client-L4-X1Qrb.js} +2 -2
  851. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/protocol_monitor-B0h70b5w.js +2 -0
  852. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{protocol_monitor-DW-p-6yH.js → protocol_monitor-DOPDE4ZB.js} +221 -225
  853. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{puppeteer-ZLIws8kb.js → puppeteer-xGpmPP-i.js} +71 -89
  854. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{python-D9AdRkMm.js → python-kisakN4d.js} +3 -3
  855. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{quick_open-C_ga_4Hq.js → quick_open-BUuhuOIx.js} +1 -1
  856. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{quick_open-DJB3P9Ki.js → quick_open-CdyeK7mh.js} +92 -94
  857. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{recorder-DGA0ByVf.js → recorder-DJPAdS_H.js} +365 -365
  858. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{request_link_icon-DPUTK49Y.js → request_link_icon-D2WGdvuX.js} +2 -2
  859. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{root-DbVQo07X.js → root-DdvV-xPu.js} +52 -74
  860. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{sass-BPQlMmw2.js → sass-CIsRpUiU.js} +1 -1
  861. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{security-BvuW7HEs.js → security-D2VNjFFC.js} +175 -181
  862. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{sensors-xT8kT9Ea.js → sensors-DjLhEaOA.js} +62 -62
  863. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{settings-z07EmGki.js → settings-D4dmilBC.js} +235 -229
  864. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{settings_ui-gaRa3Hhd.js → settings_ui-DJR_-8cd.js} +54 -53
  865. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{snackbars-CGAwPElE.js → snackbars-DazoAb8B.js} +1169 -1172
  866. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{snippets-Dfmqv8f-.js → snippets-BKl1jevC.js} +51 -50
  867. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{source_frame-_RZ4t3FM.js → source_frame-DpMQZC8A.js} +166 -165
  868. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{sources-DbXkdCVM.js → sources-BS1uHO2R.js} +1 -1
  869. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{sources-C5ZQ_xfd.js → sources-D4DLpkXp.js} +1131 -1140
  870. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{suggestion_input-Dw2hCSbK.js → suggestion_input-oulk6E-b.js} +6 -16
  871. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{svelte-DJS1itbE.js → svelte-C62W4gaL.js} +1 -1
  872. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{text_editor-DLc_XoDa.js → text_editor-zHwTtDDW.js} +374 -444
  873. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{text_utils-ohNt_gua.js → text_utils-DWSliayn.js} +161 -82
  874. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{theme_support-DXvy8kfg.js → theme_support-BF2WpOah.js} +49 -34
  875. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{third-party-web-DGiPoc0U.js → third-party-web-Dm5IRT3g.js} +1 -1
  876. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{timeline-E7l2B_oh.js → timeline-Dt3nmxBb.js} +2407 -2389
  877. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{timeline-Cg6JhvmN.js → timeline-yO_pXh7Z.js} +1 -1
  878. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{utils-CIWN0B30.js → utils-TeCpVsRE.js} +50 -52
  879. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{vue-CjH9yovn.js → vue-rRx4yj6I.js} +1 -1
  880. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{wast-CbGHiqaW.js → wast-BJdLzx63.js} +1 -1
  881. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{web_audio-CbMU64Js.js → web_audio-DuonfZJu.js} +25 -25
  882. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{webauthn-Dlb2Haex.js → webauthn-5JQ01zyM.js} +24 -24
  883. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{whats_new-DtTF4nMn.js → whats_new-nGMut_wC.js} +18 -19
  884. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{xml-DI9dcP5w.js → xml-qmN-BlAu.js} +1 -1
  885. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/entrypoints/device_mode_emulation_frame/device_mode_emulation_frame.js +1 -1
  886. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/entrypoints/devtools_app/devtools_app.js +2444 -2443
  887. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/entrypoints/formatter_worker/formatter_worker-entrypoint.js +116 -118
  888. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/entrypoints/heap_snapshot_worker/heap_snapshot_worker-entrypoint.js +289 -192
  889. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/entrypoints/lighthouse_worker/lighthouse_worker.js +428 -403
  890. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/entrypoints/wasmparser_worker/wasmparser_worker-entrypoint.js +31 -44
  891. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/models/live-metrics/web-vitals-injected/web-vitals-injected.generated.js +1 -1
  892. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/panels/recorder/injected/injected.generated.js +1 -1
  893. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/resource-manifest.json +387 -357
  894. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/index.js +9 -0
  895. package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +21 -21
  896. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +4 -4
  897. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/README.i18n.yaml +37 -0
  898. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/README.md +78 -0
  899. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/README.zh.md +78 -0
  900. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/cordis.patch.yml +16 -0
  901. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/icon.svg +1 -0
  902. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/lib/index.js +1 -0
  903. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/en.json +6 -0
  904. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/zh.json +6 -0
  905. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/package.json +50 -0
  906. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/lib/client.js +15 -7
  907. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +15 -15
  908. package/node_modules/@deepseek-ai/dsh-experimental-session-search/README.i18n.yaml +37 -0
  909. package/node_modules/@deepseek-ai/dsh-experimental-session-search/README.md +82 -0
  910. package/node_modules/@deepseek-ai/dsh-experimental-session-search/README.zh.md +82 -0
  911. package/node_modules/@deepseek-ai/dsh-experimental-session-search/cordis.patch.yml +14 -0
  912. package/node_modules/@deepseek-ai/dsh-experimental-session-search/icon.svg +1 -0
  913. package/node_modules/@deepseek-ai/dsh-experimental-session-search/lib/index.js +1 -0
  914. package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/en.json +6 -0
  915. package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/zh.json +6 -0
  916. package/node_modules/@deepseek-ai/dsh-experimental-session-search/package.json +50 -0
  917. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/README.i18n.yaml +37 -0
  918. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/README.md +78 -0
  919. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/README.zh.md +78 -0
  920. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/cordis.patch.yml +12 -0
  921. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/icon.svg +1 -0
  922. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/lib/index.js +1 -0
  923. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/en.json +6 -0
  924. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/zh.json +6 -0
  925. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/package.json +49 -0
  926. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/locale/en.json +6 -0
  927. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/locale/zh.json +6 -0
  928. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +8 -6
  929. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.i18n.yaml +2 -2
  930. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.md +1 -1
  931. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.zh.md +1 -1
  932. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/index.js +1 -0
  933. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/worker.js +15 -1
  934. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/locale/en.json +6 -0
  935. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/locale/zh.json +6 -0
  936. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +10 -8
  937. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/README.i18n.yaml +37 -0
  938. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/README.md +78 -0
  939. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/README.zh.md +78 -0
  940. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/cordis.patch.yml +19 -0
  941. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/icon.svg +1 -0
  942. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/lib/index.js +1 -0
  943. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/en.json +6 -0
  944. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/zh.json +6 -0
  945. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/package.json +51 -0
  946. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.i18n.yaml +4 -4
  947. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.md +2 -2
  948. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.zh.md +2 -2
  949. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/lib/index.js +11 -16
  950. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +22 -22
  951. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.i18n.yaml +46 -0
  952. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.md +96 -0
  953. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.zh.md +96 -0
  954. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/cordis.patch.yml +5 -0
  955. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/icon.svg +6 -0
  956. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/lib/index.js +66 -0
  957. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/en.json +6 -0
  958. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/zh.json +6 -0
  959. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/package.json +67 -0
  960. package/node_modules/@deepseek-ai/dsh-experimental-translator/README.i18n.yaml +49 -0
  961. package/node_modules/@deepseek-ai/dsh-experimental-translator/README.md +124 -0
  962. package/node_modules/@deepseek-ai/dsh-experimental-translator/README.zh.md +124 -0
  963. package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/index.js +935 -0
  964. package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/types/deepseek.js +283 -0
  965. package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/types/error.js +14 -0
  966. package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/types/index.js +148 -0
  967. package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/types/provider.js +215 -0
  968. package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/types/storage.js +215 -0
  969. package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/types/types.js +2 -0
  970. package/node_modules/@deepseek-ai/dsh-experimental-translator/package.json +68 -0
  971. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +6 -6
  972. package/node_modules/{@octokit/request-error → @deepseek-ai/dsh-experimental-worktree}/LICENSE +6 -6
  973. package/node_modules/@deepseek-ai/dsh-experimental-worktree/README.i18n.yaml +37 -0
  974. package/node_modules/@deepseek-ai/dsh-experimental-worktree/README.md +98 -0
  975. package/node_modules/@deepseek-ai/dsh-experimental-worktree/README.zh.md +98 -0
  976. package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/index.js +368 -0
  977. package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/types/directory.d.ts +7 -0
  978. package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/types/index.d.ts +54 -0
  979. package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/types/process.d.ts +29 -0
  980. package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/types/types.d.ts +20 -0
  981. package/node_modules/@deepseek-ai/dsh-experimental-worktree/package.json +58 -0
  982. package/node_modules/@deepseek-ai/dsh-file-reference/package.json +3 -3
  983. package/node_modules/@deepseek-ai/dsh-file-reference-local/README.i18n.yaml +2 -2
  984. package/node_modules/@deepseek-ai/dsh-file-reference-local/README.md +3 -1
  985. package/node_modules/@deepseek-ai/dsh-file-reference-local/README.zh.md +3 -1
  986. package/node_modules/@deepseek-ai/dsh-file-reference-local/lib/index.js +15 -10
  987. package/node_modules/@deepseek-ai/dsh-file-reference-local/lib/types/index.js +12 -10
  988. package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +15 -11
  989. package/node_modules/@deepseek-ai/dsh-fs/package.json +7 -7
  990. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +4 -4
  991. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +4 -4
  992. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +10 -10
  993. package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +9 -5
  994. package/node_modules/@deepseek-ai/dsh-goal/package.json +20 -20
  995. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +13 -13
  996. package/node_modules/@deepseek-ai/dsh-headless/README.i18n.yaml +4 -4
  997. package/node_modules/@deepseek-ai/dsh-headless/README.md +2 -2
  998. package/node_modules/@deepseek-ai/dsh-headless/README.zh.md +2 -2
  999. package/node_modules/@deepseek-ai/dsh-headless/cordis.patch.yml +0 -1
  1000. package/node_modules/@deepseek-ai/dsh-headless/lib/index.js +20 -1
  1001. package/node_modules/@deepseek-ai/dsh-headless/package.json +24 -17
  1002. package/node_modules/@deepseek-ai/dsh-hmr/lib/index.js +9 -3
  1003. package/node_modules/@deepseek-ai/dsh-hmr/package.json +10 -10
  1004. package/node_modules/@deepseek-ai/dsh-home-paths/README.i18n.yaml +13 -10
  1005. package/node_modules/@deepseek-ai/dsh-home-paths/README.md +16 -5
  1006. package/node_modules/@deepseek-ai/dsh-home-paths/README.zh.md +16 -5
  1007. package/node_modules/@deepseek-ai/dsh-home-paths/lib/index.js +65 -4
  1008. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +1 -1
  1009. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +1 -1
  1010. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.i18n.yaml +8 -8
  1011. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.md +5 -3
  1012. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.zh.md +5 -3
  1013. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/lib/index.js +30 -18
  1014. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +15 -13
  1015. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +2 -2
  1016. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +4 -4
  1017. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +6 -6
  1018. package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +5 -5
  1019. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +9 -9
  1020. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +7 -7
  1021. package/node_modules/@deepseek-ai/dsh-host-webserver/README.i18n.yaml +23 -20
  1022. package/node_modules/@deepseek-ai/dsh-host-webserver/README.md +31 -10
  1023. package/node_modules/@deepseek-ai/dsh-host-webserver/README.zh.md +31 -10
  1024. package/node_modules/@deepseek-ai/dsh-host-webserver/lib/index.js +207 -63
  1025. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +5 -3
  1026. package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +2 -2
  1027. package/node_modules/@deepseek-ai/dsh-jobs/package.json +9 -9
  1028. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +11 -11
  1029. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +1 -1
  1030. package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +1 -1
  1031. package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +2 -2
  1032. package/node_modules/@deepseek-ai/dsh-llm/README.md +19 -0
  1033. package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +19 -0
  1034. package/node_modules/@deepseek-ai/dsh-llm/lib/index.js +21 -8
  1035. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +12 -4
  1036. package/node_modules/@deepseek-ai/dsh-llm/lib/types/index.js +19 -8
  1037. package/node_modules/@deepseek-ai/dsh-llm/package.json +7 -7
  1038. package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +21 -21
  1039. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +8 -8
  1040. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +4 -4
  1041. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +4 -4
  1042. package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +37 -14
  1043. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +37 -37
  1044. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +10 -10
  1045. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.i18n.yaml +2 -2
  1046. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.md +1 -1
  1047. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.zh.md +1 -1
  1048. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/index.js +8 -2
  1049. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +9 -9
  1050. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +10 -10
  1051. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.md +10 -4
  1052. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +10 -4
  1053. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +150 -61
  1054. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +22 -22
  1055. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +19 -19
  1056. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +24 -24
  1057. package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +12 -12
  1058. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +14 -14
  1059. package/node_modules/@deepseek-ai/dsh-native-command/package.json +2 -2
  1060. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/lib/index.js +21 -8
  1061. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +11 -11
  1062. package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +6 -6
  1063. package/node_modules/@deepseek-ai/dsh-otel/README.i18n.yaml +2 -2
  1064. package/node_modules/@deepseek-ai/dsh-otel/README.md +1 -1
  1065. package/node_modules/@deepseek-ai/dsh-otel/README.zh.md +1 -1
  1066. package/node_modules/@deepseek-ai/dsh-otel/lib/index.js +14 -4
  1067. package/node_modules/@deepseek-ai/dsh-otel/package.json +9 -9
  1068. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +1 -1
  1069. package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +1 -1
  1070. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +9 -5
  1071. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +18 -18
  1072. package/node_modules/@deepseek-ai/dsh-persona/package.json +4 -4
  1073. package/node_modules/@deepseek-ai/dsh-plan-mode/README.i18n.yaml +4 -4
  1074. package/node_modules/@deepseek-ai/dsh-plan-mode/README.md +2 -2
  1075. package/node_modules/@deepseek-ai/dsh-plan-mode/README.zh.md +2 -2
  1076. package/node_modules/@deepseek-ai/dsh-plan-mode/lib/index.js +31 -26
  1077. package/node_modules/@deepseek-ai/dsh-plan-mode/lib/types/index.js +35 -27
  1078. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +20 -20
  1079. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +2 -2
  1080. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +7 -1
  1081. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +7 -1
  1082. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +142 -20
  1083. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +24 -17
  1084. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +19 -12
  1085. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/build-approval.js +35 -5
  1086. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +55 -24
  1087. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/official-install-target.js +54 -0
  1088. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +1 -1
  1089. package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +28 -28
  1090. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.i18n.yaml +6 -6
  1091. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.md +4 -4
  1092. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.zh.md +4 -4
  1093. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/lib/index.js +22 -13
  1094. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/lib/types/index.js +25 -15
  1095. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +13 -13
  1096. package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +3 -3
  1097. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +4 -4
  1098. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.md +2 -3
  1099. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.zh.md +2 -3
  1100. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/index.js +37 -12
  1101. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +20 -20
  1102. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +8 -8
  1103. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +12 -12
  1104. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +21 -8
  1105. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +9 -9
  1106. package/node_modules/@deepseek-ai/dsh-sandbox/lib/index.js +12 -11
  1107. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +6 -6
  1108. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/README.i18n.yaml +6 -6
  1109. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/README.md +3 -3
  1110. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/README.zh.md +3 -3
  1111. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/lib/exec-shim.js +26 -34
  1112. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/lib/index.js +118 -57
  1113. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/package.json +23 -23
  1114. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +9 -9
  1115. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +11 -11
  1116. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +10 -10
  1117. package/node_modules/@deepseek-ai/dsh-schedule/package.json +30 -30
  1118. package/node_modules/@deepseek-ai/dsh-scope/package.json +1 -1
  1119. package/node_modules/@deepseek-ai/dsh-sdk-app/README.i18n.yaml +14 -14
  1120. package/node_modules/@deepseek-ai/dsh-sdk-app/README.md +5 -5
  1121. package/node_modules/@deepseek-ai/dsh-sdk-app/README.zh.md +5 -5
  1122. package/node_modules/@deepseek-ai/dsh-sdk-app/cordis.patch.yml +4 -9
  1123. package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +5 -5
  1124. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.i18n.yaml +6 -6
  1125. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.md +5 -1
  1126. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.zh.md +5 -1
  1127. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/index.js +93 -11
  1128. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +23 -21
  1129. package/node_modules/@deepseek-ai/dsh-sdk-minimal/README.i18n.yaml +12 -12
  1130. package/node_modules/@deepseek-ai/dsh-sdk-minimal/README.md +6 -6
  1131. package/node_modules/@deepseek-ai/dsh-sdk-minimal/README.zh.md +6 -6
  1132. package/node_modules/@deepseek-ai/dsh-sdk-minimal/cordis.patch.yml +9 -0
  1133. package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +29 -26
  1134. package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.i18n.yaml +2 -2
  1135. package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.md +6 -1
  1136. package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.zh.md +6 -1
  1137. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +7 -7
  1138. package/node_modules/@deepseek-ai/dsh-session/README.i18n.yaml +7 -4
  1139. package/node_modules/@deepseek-ai/dsh-session/README.md +13 -1
  1140. package/node_modules/@deepseek-ai/dsh-session/README.zh.md +13 -1
  1141. package/node_modules/@deepseek-ai/dsh-session/lib/index.js +134 -18
  1142. package/node_modules/@deepseek-ai/dsh-session/lib/types/index.js +120 -5
  1143. package/node_modules/@deepseek-ai/dsh-session/lib/types/known-event-types.js +1 -0
  1144. package/node_modules/@deepseek-ai/dsh-session/lib/types/types.js +14 -14
  1145. package/node_modules/@deepseek-ai/dsh-session/package.json +8 -8
  1146. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +15 -15
  1147. package/node_modules/@deepseek-ai/dsh-session-format/README.i18n.yaml +2 -2
  1148. package/node_modules/@deepseek-ai/dsh-session-format/README.md +1 -1
  1149. package/node_modules/@deepseek-ai/dsh-session-format/README.zh.md +1 -1
  1150. package/node_modules/@deepseek-ai/dsh-session-format/package.json +2 -2
  1151. package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +9 -9
  1152. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +4 -4
  1153. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +6 -6
  1154. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +4 -4
  1155. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.i18n.yaml +4 -4
  1156. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.md +2 -2
  1157. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.zh.md +2 -2
  1158. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/lib/index.js +1 -1
  1159. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +3 -3
  1160. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.i18n.yaml +2 -2
  1161. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.md +1 -1
  1162. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.zh.md +1 -1
  1163. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/index.js +4 -1
  1164. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/types/index.js +4 -1
  1165. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +13 -13
  1166. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +21 -21
  1167. package/node_modules/@deepseek-ai/dsh-session-persistence/README.i18n.yaml +2 -2
  1168. package/node_modules/@deepseek-ai/dsh-session-persistence/README.md +2 -0
  1169. package/node_modules/@deepseek-ai/dsh-session-persistence/README.zh.md +2 -0
  1170. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +9 -9
  1171. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.i18n.yaml +2 -2
  1172. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.md +4 -0
  1173. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.zh.md +4 -0
  1174. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/index.js +23 -19
  1175. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +92 -12
  1176. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +10 -10
  1177. package/node_modules/@deepseek-ai/dsh-session-projection/README.i18n.yaml +2 -2
  1178. package/node_modules/@deepseek-ai/dsh-session-projection/README.md +1 -1
  1179. package/node_modules/@deepseek-ai/dsh-session-projection/README.zh.md +1 -1
  1180. package/node_modules/@deepseek-ai/dsh-session-projection/lib/index.js +1 -2
  1181. package/node_modules/@deepseek-ai/dsh-session-projection/lib/types/index.js +2 -1
  1182. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +3 -3
  1183. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +10 -10
  1184. package/node_modules/@deepseek-ai/dsh-session-query/README.i18n.yaml +6 -6
  1185. package/node_modules/@deepseek-ai/dsh-session-query/README.md +3 -3
  1186. package/node_modules/@deepseek-ai/dsh-session-query/README.zh.md +3 -3
  1187. package/node_modules/@deepseek-ai/dsh-session-query/lib/index.js +9 -7
  1188. package/node_modules/@deepseek-ai/dsh-session-query/package.json +18 -18
  1189. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/README.i18n.yaml +2 -2
  1190. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/README.md +1 -1
  1191. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/README.zh.md +1 -1
  1192. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +9 -9
  1193. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +9 -5
  1194. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +35 -34
  1195. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +7 -7
  1196. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +5 -5
  1197. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/README.i18n.yaml +2 -2
  1198. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/README.md +1 -1
  1199. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/README.zh.md +1 -1
  1200. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/lib/index.js +2 -1
  1201. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +22 -24
  1202. package/node_modules/@deepseek-ai/dsh-session-title/README.i18n.yaml +4 -4
  1203. package/node_modules/@deepseek-ai/dsh-session-title/README.md +3 -3
  1204. package/node_modules/@deepseek-ai/dsh-session-title/README.zh.md +3 -3
  1205. package/node_modules/@deepseek-ai/dsh-session-title/lib/index.js +8 -4
  1206. package/node_modules/@deepseek-ai/dsh-session-title/lib/types/index.js +9 -4
  1207. package/node_modules/@deepseek-ai/dsh-session-title/package.json +14 -14
  1208. package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/README.i18n.yaml +64 -0
  1209. package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/README.md +120 -0
  1210. package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/README.zh.md +120 -0
  1211. package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/lib/index.js +127 -0
  1212. package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/package.json +48 -0
  1213. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/README.i18n.yaml +16 -16
  1214. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/README.md +10 -10
  1215. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/README.zh.md +10 -10
  1216. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/lib/index.js +91 -8
  1217. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +15 -13
  1218. package/node_modules/@deepseek-ai/dsh-session-title-llm/README.i18n.yaml +29 -29
  1219. package/node_modules/@deepseek-ai/dsh-session-title-llm/README.md +21 -20
  1220. package/node_modules/@deepseek-ai/dsh-session-title-llm/README.zh.md +21 -20
  1221. package/node_modules/@deepseek-ai/dsh-session-title-llm/lib/index.js +60 -81
  1222. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +10 -10
  1223. package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +7 -7
  1224. package/node_modules/@deepseek-ai/dsh-settings/package.json +10 -10
  1225. package/node_modules/@deepseek-ai/dsh-shell/package.json +5 -5
  1226. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +11 -11
  1227. package/node_modules/@deepseek-ai/dsh-skill/package.json +6 -6
  1228. package/node_modules/@deepseek-ai/dsh-skill-badge/README.i18n.yaml +13 -13
  1229. package/node_modules/@deepseek-ai/dsh-skill-badge/README.md +10 -8
  1230. package/node_modules/@deepseek-ai/dsh-skill-badge/README.zh.md +10 -8
  1231. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +4 -4
  1232. package/node_modules/@deepseek-ai/dsh-skill-filesystem/lib/index.js +17 -14
  1233. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +7 -7
  1234. package/node_modules/@deepseek-ai/dsh-skill-office/package.json +3 -3
  1235. package/node_modules/@deepseek-ai/dsh-spill/package.json +7 -7
  1236. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +6 -6
  1237. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +31 -31
  1238. package/node_modules/@deepseek-ai/dsh-storage/package.json +1 -1
  1239. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +3 -3
  1240. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +3 -3
  1241. package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +34 -34
  1242. package/node_modules/@deepseek-ai/dsh-subagent/README.md +32 -26
  1243. package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +32 -26
  1244. package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +1552 -1477
  1245. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +59 -48
  1246. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.remote-client.js +2 -2
  1247. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/activation.js +112 -0
  1248. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/catalog.js +34 -30
  1249. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/child-agent.js +1 -3
  1250. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/continuation-messages.js +18 -23
  1251. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/descriptor.js +20 -21
  1252. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +75 -95
  1253. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/lifecycle.js +9 -100
  1254. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/list-children.js +1 -1
  1255. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.js +1294 -0
  1256. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/out-of-process.js +25 -45
  1257. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/structured.js +130 -0
  1258. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/types.js +1 -1
  1259. package/node_modules/@deepseek-ai/dsh-subagent/package.json +48 -48
  1260. package/node_modules/@deepseek-ai/dsh-subagent-acp/README.i18n.yaml +8 -8
  1261. package/node_modules/@deepseek-ai/dsh-subagent-acp/README.md +3 -4
  1262. package/node_modules/@deepseek-ai/dsh-subagent-acp/README.zh.md +3 -4
  1263. package/node_modules/@deepseek-ai/dsh-subagent-acp/lib/index.js +5 -55
  1264. package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +20 -20
  1265. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.i18n.yaml +14 -14
  1266. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.md +8 -9
  1267. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.zh.md +8 -9
  1268. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/lib/index.js +0 -5
  1269. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +11 -13
  1270. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.i18n.yaml +14 -14
  1271. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.md +6 -7
  1272. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.zh.md +6 -7
  1273. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/lib/index.js +0 -4
  1274. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +15 -16
  1275. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +4 -4
  1276. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.i18n.yaml +2 -2
  1277. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.md +2 -1
  1278. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.zh.md +2 -1
  1279. package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/index.js +5 -3
  1280. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +7 -7
  1281. package/node_modules/@deepseek-ai/dsh-system-prompt/README.i18n.yaml +10 -10
  1282. package/node_modules/@deepseek-ai/dsh-system-prompt/README.md +10 -6
  1283. package/node_modules/@deepseek-ai/dsh-system-prompt/README.zh.md +10 -6
  1284. package/node_modules/@deepseek-ai/dsh-system-prompt/lib/index.js +50 -9
  1285. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +5 -5
  1286. package/node_modules/@deepseek-ai/dsh-terminal/README.i18n.yaml +2 -2
  1287. package/node_modules/@deepseek-ai/dsh-terminal/README.md +1 -1
  1288. package/node_modules/@deepseek-ai/dsh-terminal/README.zh.md +1 -1
  1289. package/node_modules/@deepseek-ai/dsh-terminal/package.json +6 -6
  1290. package/node_modules/@deepseek-ai/dsh-terminal-bash/README.i18n.yaml +4 -4
  1291. package/node_modules/@deepseek-ai/dsh-terminal-bash/README.md +3 -1
  1292. package/node_modules/@deepseek-ai/dsh-terminal-bash/README.zh.md +3 -1
  1293. package/node_modules/@deepseek-ai/dsh-terminal-bash/lib/index.js +3 -2
  1294. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +20 -18
  1295. package/node_modules/@deepseek-ai/dsh-time-context/package.json +18 -18
  1296. package/node_modules/@deepseek-ai/dsh-timeout/README.i18n.yaml +2 -2
  1297. package/node_modules/@deepseek-ai/dsh-timeout/README.md +1 -1
  1298. package/node_modules/@deepseek-ai/dsh-timeout/README.zh.md +1 -1
  1299. package/node_modules/@deepseek-ai/dsh-timeout/lib/index.js +12 -3
  1300. package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
  1301. package/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +21 -8
  1302. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +11 -11
  1303. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +14 -14
  1304. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +9 -9
  1305. package/node_modules/@deepseek-ai/dsh-tool-bash/README.i18n.yaml +6 -6
  1306. package/node_modules/@deepseek-ai/dsh-tool-bash/README.md +5 -1
  1307. package/node_modules/@deepseek-ai/dsh-tool-bash/README.zh.md +5 -1
  1308. package/node_modules/@deepseek-ai/dsh-tool-bash/lib/index.js +35 -21
  1309. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +33 -30
  1310. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.i18n.yaml +4 -4
  1311. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.md +3 -1
  1312. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.zh.md +3 -1
  1313. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/lib/index.js +7 -3
  1314. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +22 -20
  1315. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +7 -7
  1316. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +293 -94
  1317. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +10 -10
  1318. package/node_modules/@deepseek-ai/dsh-tool-fs/README.i18n.yaml +10 -10
  1319. package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +6 -3
  1320. package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +6 -3
  1321. package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +71 -58
  1322. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +32 -30
  1323. package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.i18n.yaml +2 -2
  1324. package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.md +2 -0
  1325. package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.zh.md +2 -0
  1326. package/node_modules/@deepseek-ai/dsh-tool-fs-search/lib/index.js +25 -21
  1327. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +27 -25
  1328. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +16 -16
  1329. package/node_modules/@deepseek-ai/dsh-tool-jobs/README.i18n.yaml +3 -3
  1330. package/node_modules/@deepseek-ai/dsh-tool-jobs/README.md +2 -2
  1331. package/node_modules/@deepseek-ai/dsh-tool-jobs/README.zh.md +1 -1
  1332. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +15 -15
  1333. package/node_modules/@deepseek-ai/dsh-tool-present/README.i18n.yaml +4 -4
  1334. package/node_modules/@deepseek-ai/dsh-tool-present/README.md +3 -1
  1335. package/node_modules/@deepseek-ai/dsh-tool-present/README.zh.md +3 -1
  1336. package/node_modules/@deepseek-ai/dsh-tool-present/lib/index.js +7 -4
  1337. package/node_modules/@deepseek-ai/dsh-tool-present/lib/types/index.js +3 -5
  1338. package/node_modules/@deepseek-ai/dsh-tool-present/package.json +19 -17
  1339. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.i18n.yaml +6 -6
  1340. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.md +4 -1
  1341. package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.zh.md +4 -1
  1342. package/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/index.js +37 -20
  1343. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +31 -28
  1344. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.i18n.yaml +4 -4
  1345. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.md +3 -0
  1346. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.zh.md +3 -0
  1347. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/lib/index.js +7 -3
  1348. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +24 -22
  1349. package/node_modules/@deepseek-ai/dsh-tool-ralph/README.i18n.yaml +3 -3
  1350. package/node_modules/@deepseek-ai/dsh-tool-ralph/README.md +2 -2
  1351. package/node_modules/@deepseek-ai/dsh-tool-ralph/README.zh.md +2 -2
  1352. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +20 -20
  1353. package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +12 -12
  1354. package/node_modules/@deepseek-ai/dsh-tool-session-query/README.i18n.yaml +97 -0
  1355. package/node_modules/@deepseek-ai/dsh-tool-session-query/README.md +186 -0
  1356. package/node_modules/@deepseek-ai/dsh-tool-session-query/README.zh.md +186 -0
  1357. package/node_modules/@deepseek-ai/dsh-tool-session-query/lib/index.js +1034 -0
  1358. package/node_modules/@deepseek-ai/dsh-tool-session-query/package.json +61 -0
  1359. package/node_modules/@deepseek-ai/dsh-tool-skill/README.i18n.yaml +2 -2
  1360. package/node_modules/@deepseek-ai/dsh-tool-skill/README.md +2 -0
  1361. package/node_modules/@deepseek-ai/dsh-tool-skill/README.zh.md +2 -0
  1362. package/node_modules/@deepseek-ai/dsh-tool-skill/lib/index.js +97 -5
  1363. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +16 -14
  1364. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/README.i18n.yaml +2 -2
  1365. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/README.md +2 -0
  1366. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/README.zh.md +2 -0
  1367. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +19 -19
  1368. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +51 -51
  1369. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +27 -29
  1370. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +26 -28
  1371. package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +108 -237
  1372. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +20 -24
  1373. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.i18n.yaml +8 -8
  1374. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.md +4 -5
  1375. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.zh.md +4 -5
  1376. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/index.js +1 -1
  1377. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/index.js +2 -2
  1378. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +19 -19
  1379. package/node_modules/@deepseek-ai/dsh-tool-terminal/README.i18n.yaml +100 -0
  1380. package/node_modules/@deepseek-ai/dsh-tool-terminal/README.md +186 -0
  1381. package/node_modules/@deepseek-ai/dsh-tool-terminal/README.zh.md +186 -0
  1382. package/node_modules/@deepseek-ai/dsh-tool-terminal/lib/index.js +650 -0
  1383. package/node_modules/@deepseek-ai/dsh-tool-terminal/package.json +64 -0
  1384. package/node_modules/@deepseek-ai/dsh-tool-todo/lib/types/index.js +1 -0
  1385. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +13 -13
  1386. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +19 -19
  1387. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +20 -20
  1388. package/node_modules/@deepseek-ai/dsh-tool-working-directory/README.i18n.yaml +46 -0
  1389. package/node_modules/@deepseek-ai/dsh-tool-working-directory/README.md +90 -0
  1390. package/node_modules/@deepseek-ai/dsh-tool-working-directory/README.zh.md +90 -0
  1391. package/node_modules/@deepseek-ai/dsh-tool-working-directory/lib/index.js +45 -0
  1392. package/node_modules/@deepseek-ai/dsh-tool-working-directory/package.json +45 -0
  1393. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +6 -6
  1394. package/node_modules/@deepseek-ai/dsh-tools/README.i18n.yaml +12 -12
  1395. package/node_modules/@deepseek-ai/dsh-tools/README.md +9 -7
  1396. package/node_modules/@deepseek-ai/dsh-tools/README.zh.md +9 -7
  1397. package/node_modules/@deepseek-ai/dsh-tools/lib/index.js +17 -19
  1398. package/node_modules/@deepseek-ai/dsh-tools/lib/types/index.js +17 -10
  1399. package/node_modules/@deepseek-ai/dsh-tools/lib/types/ptc.js +4 -2
  1400. package/node_modules/@deepseek-ai/dsh-tools/lib/types/py-types.js +1 -2
  1401. package/node_modules/@deepseek-ai/dsh-tools/package.json +24 -22
  1402. package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +6 -6
  1403. package/node_modules/@deepseek-ai/dsh-tui-app/README.md +5 -4
  1404. package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +5 -4
  1405. package/node_modules/@deepseek-ai/dsh-tui-app/cordis.patch.yml +0 -1
  1406. package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +117 -53
  1407. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +79 -79
  1408. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +4 -4
  1409. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +2 -2
  1410. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +2 -2
  1411. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +13 -13
  1412. package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +9 -5
  1413. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +15 -15
  1414. package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +1 -1
  1415. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +1 -1
  1416. package/node_modules/@deepseek-ai/dsh-util-time/package.json +1 -1
  1417. package/node_modules/@deepseek-ai/dsh-util-values/package.json +1 -1
  1418. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +1 -1
  1419. package/node_modules/@deepseek-ai/dsh-web/package.json +3 -3
  1420. package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +18 -21
  1421. package/node_modules/@deepseek-ai/dsh-web-app/README.md +30 -22
  1422. package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +30 -22
  1423. package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +18 -24
  1424. package/node_modules/@deepseek-ai/dsh-web-app/lib/index.js +44 -41
  1425. package/node_modules/@deepseek-ai/dsh-web-app/lib/startup.js +17 -6
  1426. package/node_modules/@deepseek-ai/dsh-web-app/package.json +142 -143
  1427. package/node_modules/@deepseek-ai/dsh-web-app/presets/cordis.patch.yml +1 -26
  1428. package/node_modules/@deepseek-ai/dsh-web-app/presets/ptc.patch.yml +1 -26
  1429. package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +1 -26
  1430. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +8 -8
  1431. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-C5TXjxs_.js +127 -0
  1432. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-CyN1a9tV.css +1 -0
  1433. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/asciidoc-CSVQ5wI8.js +2 -0
  1434. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{bat-BkioyH1T.js → bat-CickPsom.js} +2 -2
  1435. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/cpp-DddhVWhK.js +2 -0
  1436. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{graphql-DujV8YkJ.js → graphql-B1S3xuDR.js} +2 -2
  1437. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{http-DcV90OkR.js → http-Ddl8tKhJ.js} +2 -2
  1438. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{julia-BpJ6DjL_.js → julia-BfSmLjIk.js} +2 -2
  1439. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{latex-B4C7GdlO.js → latex-B2nUCzCX.js} +2 -2
  1440. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{php-LEPfNACG.js → php-G1-V1D4R.js} +2 -2
  1441. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{powershell-Dpen1YoG.js → powershell-BmBUJMz7.js} +2 -2
  1442. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/r-Cf5RLm7j.js +2 -0
  1443. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{rst-BbocfKWr.js → rst-qb8661zE.js} +2 -2
  1444. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{ruby-R292Iif0.js → ruby-D3_WCtdO.js} +2 -2
  1445. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{scala-C151Ov-r.js → scala-CqE71os6.js} +2 -2
  1446. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{svelte-DNMY6jOf.js → svelte-Dhjv0SwI.js} +2 -2
  1447. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/swift-C2oV4EkX.js +2 -0
  1448. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/system-verilog-0hqHdDBg.js +2 -0
  1449. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{vb-D17OF-Vu.js → vb-Cu-pLBUe.js} +2 -2
  1450. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/verilog-nZwndyjY.js +2 -0
  1451. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{vue-Dq2x6432.js → vue-CjW_c7H6.js} +2 -2
  1452. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/{vendor-CCJJTK99.js → vendor-BlFz1smR.js} +32 -32
  1453. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/vendor-D2ODLP6r.css +1 -0
  1454. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +4 -4
  1455. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +25 -22
  1456. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +15 -15
  1457. package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +6 -6
  1458. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +6 -6
  1459. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +2 -2
  1460. package/node_modules/@deepseek-ai/dsh-workflow/package.json +9 -9
  1461. package/node_modules/@deepseek-ai/dsh-workflow-ptc/README.i18n.yaml +10 -10
  1462. package/node_modules/@deepseek-ai/dsh-workflow-ptc/README.md +5 -5
  1463. package/node_modules/@deepseek-ai/dsh-workflow-ptc/README.zh.md +5 -5
  1464. package/node_modules/@deepseek-ai/dsh-workflow-ptc/lib/index.js +25 -14
  1465. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +36 -33
  1466. package/node_modules/@deepseek-ai/dsh-working-directory/README.i18n.yaml +46 -0
  1467. package/node_modules/@deepseek-ai/dsh-working-directory/README.md +90 -0
  1468. package/node_modules/@deepseek-ai/dsh-working-directory/README.zh.md +90 -0
  1469. package/node_modules/@deepseek-ai/dsh-working-directory/lib/index.js +167 -0
  1470. package/node_modules/@deepseek-ai/dsh-working-directory/package.json +56 -0
  1471. package/node_modules/@deepseek-ai/dsh-workspace/package.json +12 -12
  1472. package/node_modules/@deepseek-ai/dsh-workspace-changes/README.i18n.yaml +4 -4
  1473. package/node_modules/@deepseek-ai/dsh-workspace-changes/README.md +3 -3
  1474. package/node_modules/@deepseek-ai/dsh-workspace-changes/README.zh.md +3 -3
  1475. package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/index.js +25 -34
  1476. package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/capture.js +0 -27
  1477. package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/index.js +22 -4
  1478. package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/recorder.js +4 -8
  1479. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +18 -11
  1480. package/node_modules/@earendil-works/pi-ai/README.md +16 -5
  1481. package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +30 -29
  1482. package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-config.js +76 -0
  1483. package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js +11 -79
  1484. package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +58 -4
  1485. package/node_modules/@earendil-works/pi-ai/dist/api/classifier-shared.js +98 -0
  1486. package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-workers-ai-system-one.js +15 -9
  1487. package/node_modules/@earendil-works/pi-ai/dist/api/lazy.js +4 -3
  1488. package/node_modules/@earendil-works/pi-ai/dist/api/llama-cpp-classify.js +2 -0
  1489. package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +2 -1
  1490. package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +5 -3
  1491. package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +6 -3
  1492. package/node_modules/@earendil-works/pi-ai/dist/api/openai-decisions.js +162 -0
  1493. package/node_modules/@earendil-works/pi-ai/dist/api/openai-decisions.lazy.js +4 -0
  1494. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +6 -5
  1495. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +9 -5
  1496. package/node_modules/@earendil-works/pi-ai/dist/api/simple-options.js +10 -1
  1497. package/node_modules/@earendil-works/pi-ai/dist/api/system-one-shared.js +5 -89
  1498. package/node_modules/@earendil-works/pi-ai/dist/api/typesafe-system-one.js +2 -1
  1499. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/anthropic.js +65 -7
  1500. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/openai-chatgpt.js +11 -14
  1501. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/openai-codex.js +4 -4
  1502. package/node_modules/@earendil-works/pi-ai/dist/auth/resolve.js +51 -27
  1503. package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js +1 -1
  1504. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +4 -4
  1505. package/node_modules/@earendil-works/pi-ai/dist/models.js +6 -8
  1506. package/node_modules/@earendil-works/pi-ai/dist/providers/all.js +2 -2
  1507. package/node_modules/@earendil-works/pi-ai/dist/providers/azure.js +46 -0
  1508. package/node_modules/@earendil-works/pi-ai/dist/providers/azure.models.js +8 -0
  1509. package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
  1510. package/node_modules/@earendil-works/pi-ai/dist/providers/data/amazon-bedrock.json +1 -1
  1511. package/node_modules/@earendil-works/pi-ai/dist/providers/data/anthropic.json +1 -1
  1512. package/node_modules/@earendil-works/pi-ai/dist/providers/data/azure.json +1 -0
  1513. package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-ai-gateway.json +1 -1
  1514. package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-workers-ai.json +1 -1
  1515. package/node_modules/@earendil-works/pi-ai/dist/providers/data/fireworks.json +1 -1
  1516. package/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
  1517. package/node_modules/@earendil-works/pi-ai/dist/providers/data/google.json +1 -1
  1518. package/node_modules/@earendil-works/pi-ai/dist/providers/data/minimax-cn.json +1 -1
  1519. package/node_modules/@earendil-works/pi-ai/dist/providers/data/minimax.json +1 -1
  1520. package/node_modules/@earendil-works/pi-ai/dist/providers/data/mistral.json +1 -1
  1521. package/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
  1522. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai.json +1 -1
  1523. package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
  1524. package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
  1525. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
  1526. package/node_modules/@earendil-works/pi-ai/dist/providers/data/radius.json +1 -1
  1527. package/node_modules/@earendil-works/pi-ai/dist/providers/data/together.json +1 -1
  1528. package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
  1529. package/node_modules/@earendil-works/pi-ai/dist/providers/faux.js +25 -8
  1530. package/node_modules/@earendil-works/pi-ai/dist/providers/openai.js +12 -3
  1531. package/node_modules/@earendil-works/pi-ai/dist/providers/radius.js +4 -12
  1532. package/node_modules/@earendil-works/pi-ai/dist/utils/estimate.js +1 -1
  1533. package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.js +25 -0
  1534. package/node_modules/@earendil-works/pi-ai/dist/utils/model-operations.js +6 -0
  1535. package/node_modules/@earendil-works/pi-ai/dist/utils/oauth-page.js +1 -1
  1536. package/node_modules/@earendil-works/pi-ai/dist/utils/provider-retry.js +2 -0
  1537. package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +6 -0
  1538. package/node_modules/@earendil-works/pi-ai/dist/utils/transcript.js +5 -2
  1539. package/node_modules/@earendil-works/pi-ai/package.json +3 -3
  1540. package/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
  1541. package/node_modules/@modelcontextprotocol/client/dist/index.cjs +474 -114
  1542. package/node_modules/@modelcontextprotocol/client/dist/index.mjs +468 -115
  1543. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs +1 -1
  1544. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs +1 -1
  1545. package/node_modules/@modelcontextprotocol/client/dist/{src-NAgB4Mp8.cjs → src-oZBjf3U1.cjs} +131 -41
  1546. package/node_modules/@modelcontextprotocol/client/dist/{src-D_zzAWoS.mjs → src-xKF0PJN-.mjs} +120 -36
  1547. package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs +8 -2
  1548. package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs +8 -2
  1549. package/node_modules/@modelcontextprotocol/client/package.json +4 -4
  1550. package/node_modules/@modelcontextprotocol/core/dist/{auth-CUe6YdwF.mjs → auth-BNDyLTqp.mjs} +7 -4
  1551. package/node_modules/@modelcontextprotocol/core/dist/{auth-CfDMXiII.cjs → auth-D1CeV_Jr.cjs} +7 -4
  1552. package/node_modules/@modelcontextprotocol/core/dist/index.cjs +1 -1
  1553. package/node_modules/@modelcontextprotocol/core/dist/index.mjs +1 -1
  1554. package/node_modules/@modelcontextprotocol/core/dist/internal.cjs +1 -1
  1555. package/node_modules/@modelcontextprotocol/core/dist/internal.mjs +1 -1
  1556. package/node_modules/@modelcontextprotocol/core/package.json +1 -1
  1557. package/node_modules/@opentelemetry/api-logs/build/esm/version.js +1 -1
  1558. package/node_modules/@opentelemetry/api-logs/build/esnext/version.js +1 -1
  1559. package/node_modules/@opentelemetry/api-logs/build/src/types/LogRecord.js +1 -1
  1560. package/node_modules/@opentelemetry/api-logs/build/src/version.js +1 -1
  1561. package/node_modules/@opentelemetry/api-logs/package.json +7 -7
  1562. package/node_modules/@opentelemetry/core/build/esm/version.js +1 -1
  1563. package/node_modules/@opentelemetry/core/build/esnext/version.js +1 -1
  1564. package/node_modules/@opentelemetry/core/build/src/ExportResult.js +1 -1
  1565. package/node_modules/@opentelemetry/core/build/src/trace/rpc-metadata.js +1 -1
  1566. package/node_modules/@opentelemetry/core/build/src/version.js +1 -1
  1567. package/node_modules/@opentelemetry/core/package.json +7 -7
  1568. package/node_modules/@opentelemetry/otlp-exporter-base/README.md +30 -0
  1569. package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/ExporterMetrics.js +104 -0
  1570. package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/OTLPExporterBase.js +3 -0
  1571. package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/create-legacy-browser-delegate.js +36 -2
  1572. package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/index-browser-http.js +1 -1
  1573. package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/index-node-http.js +1 -1
  1574. package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/index.js +1 -0
  1575. package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/otlp-browser-http-export-delegate.js +8 -4
  1576. package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/otlp-export-delegate.js +19 -6
  1577. package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/otlp-http-export-delegate.js +30 -1
  1578. package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/otlp-network-export-delegate.js +2 -1
  1579. package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/semconv.js +100 -0
  1580. package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/version.js +1 -1
  1581. package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/ExporterMetrics.js +104 -0
  1582. package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/OTLPExporterBase.js +3 -0
  1583. package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/configuration/create-legacy-browser-delegate.js +36 -2
  1584. package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/index-browser-http.js +1 -1
  1585. package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/index-node-http.js +1 -1
  1586. package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/index.js +1 -0
  1587. package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/otlp-browser-http-export-delegate.js +8 -4
  1588. package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/otlp-export-delegate.js +19 -6
  1589. package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/otlp-http-export-delegate.js +30 -1
  1590. package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/otlp-network-export-delegate.js +2 -1
  1591. package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/semconv.js +100 -0
  1592. package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/version.js +1 -1
  1593. package/node_modules/@opentelemetry/otlp-exporter-base/build/src/ExporterMetrics.js +108 -0
  1594. package/node_modules/@opentelemetry/otlp-exporter-base/build/src/OTLPExporterBase.js +3 -0
  1595. package/node_modules/@opentelemetry/otlp-exporter-base/build/src/configuration/create-legacy-browser-delegate.js +38 -3
  1596. package/node_modules/@opentelemetry/otlp-exporter-base/build/src/configuration/legacy-node-configuration.js +1 -1
  1597. package/node_modules/@opentelemetry/otlp-exporter-base/build/src/index-browser-http.js +2 -1
  1598. package/node_modules/@opentelemetry/otlp-exporter-base/build/src/index-node-http.js +2 -1
  1599. package/node_modules/@opentelemetry/otlp-exporter-base/build/src/index.js +3 -1
  1600. package/node_modules/@opentelemetry/otlp-exporter-base/build/src/otlp-browser-http-export-delegate.js +8 -4
  1601. package/node_modules/@opentelemetry/otlp-exporter-base/build/src/otlp-export-delegate.js +19 -6
  1602. package/node_modules/@opentelemetry/otlp-exporter-base/build/src/otlp-http-export-delegate.js +32 -2
  1603. package/node_modules/@opentelemetry/otlp-exporter-base/build/src/otlp-network-export-delegate.js +2 -1
  1604. package/node_modules/@opentelemetry/otlp-exporter-base/build/src/semconv.js +103 -0
  1605. package/node_modules/@opentelemetry/otlp-exporter-base/build/src/version.js +1 -1
  1606. package/node_modules/@opentelemetry/otlp-exporter-base/package.json +9 -9
  1607. package/node_modules/@opentelemetry/otlp-transformer/build/esm/i-exporter-metrics-helper.js +6 -0
  1608. package/node_modules/@opentelemetry/otlp-transformer/build/esm/index.js +3 -0
  1609. package/node_modules/@opentelemetry/otlp-transformer/build/esm/logs/index.js +7 -1
  1610. package/node_modules/@opentelemetry/otlp-transformer/build/esm/logs/json/logs.js +1 -1
  1611. package/node_modules/@opentelemetry/otlp-transformer/build/esm/logs/protobuf/logs.js +1 -1
  1612. package/node_modules/@opentelemetry/otlp-transformer/build/esm/metrics/index.js +12 -1
  1613. package/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/index.js +4 -1
  1614. package/node_modules/@opentelemetry/otlp-transformer/build/esnext/i-exporter-metrics-helper.js +6 -0
  1615. package/node_modules/@opentelemetry/otlp-transformer/build/esnext/index.js +3 -0
  1616. package/node_modules/@opentelemetry/otlp-transformer/build/esnext/logs/index.js +7 -1
  1617. package/node_modules/@opentelemetry/otlp-transformer/build/esnext/logs/json/logs.js +1 -1
  1618. package/node_modules/@opentelemetry/otlp-transformer/build/esnext/logs/protobuf/logs.js +1 -1
  1619. package/node_modules/@opentelemetry/otlp-transformer/build/esnext/metrics/index.js +12 -1
  1620. package/node_modules/@opentelemetry/otlp-transformer/build/esnext/trace/index.js +4 -1
  1621. package/node_modules/@opentelemetry/otlp-transformer/build/src/i-exporter-metrics-helper.js +7 -0
  1622. package/node_modules/@opentelemetry/otlp-transformer/build/src/index.js +7 -1
  1623. package/node_modules/@opentelemetry/otlp-transformer/build/src/logs/index.js +8 -0
  1624. package/node_modules/@opentelemetry/otlp-transformer/build/src/logs/internal-types.js +1 -1
  1625. package/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/logs.js +1 -1
  1626. package/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/logs.js +1 -1
  1627. package/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/index.js +13 -0
  1628. package/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/internal-types.js +1 -1
  1629. package/node_modules/@opentelemetry/otlp-transformer/build/src/trace/index.js +5 -0
  1630. package/node_modules/@opentelemetry/otlp-transformer/build/src/trace/internal-types.js +2 -2
  1631. package/node_modules/@opentelemetry/otlp-transformer/package.json +15 -15
  1632. package/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/ServiceInstanceIdDetector.js +6 -1
  1633. package/node_modules/@opentelemetry/resources/build/esm/version.js +1 -1
  1634. package/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/ServiceInstanceIdDetector.js +6 -1
  1635. package/node_modules/@opentelemetry/resources/build/esnext/version.js +1 -1
  1636. package/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/ServiceInstanceIdDetector.js +6 -1
  1637. package/node_modules/@opentelemetry/resources/build/src/version.js +1 -1
  1638. package/node_modules/@opentelemetry/resources/package.json +9 -9
  1639. package/node_modules/@opentelemetry/sdk-logs/README.md +5 -0
  1640. package/node_modules/@opentelemetry/sdk-logs/build/esm/LogRecordImpl.js +33 -6
  1641. package/node_modules/@opentelemetry/sdk-logs/build/esm/LoggerProvider.js +3 -4
  1642. package/node_modules/@opentelemetry/sdk-logs/build/esm/MultiLogRecordProcessor.js +3 -5
  1643. package/node_modules/@opentelemetry/sdk-logs/build/esm/export/BatchLogRecordProcessorBase.js +19 -4
  1644. package/node_modules/@opentelemetry/sdk-logs/build/esm/export/LogRecordProcessorMetrics.js +63 -0
  1645. package/node_modules/@opentelemetry/sdk-logs/build/esm/export/{SdkLogRecord.js → ReadWriteLogRecord.js} +1 -1
  1646. package/node_modules/@opentelemetry/sdk-logs/build/esm/export/SimpleLogRecordProcessor.js +10 -0
  1647. package/node_modules/@opentelemetry/sdk-logs/build/esm/internal/LoggerProviderSharedState.js +2 -4
  1648. package/node_modules/@opentelemetry/sdk-logs/build/esm/semconv.js +106 -0
  1649. package/node_modules/@opentelemetry/sdk-logs/build/esm/version.js +1 -1
  1650. package/node_modules/@opentelemetry/sdk-logs/build/esnext/LogRecordImpl.js +33 -6
  1651. package/node_modules/@opentelemetry/sdk-logs/build/esnext/LoggerProvider.js +3 -4
  1652. package/node_modules/@opentelemetry/sdk-logs/build/esnext/MultiLogRecordProcessor.js +3 -5
  1653. package/node_modules/@opentelemetry/sdk-logs/build/esnext/export/BatchLogRecordProcessorBase.js +19 -4
  1654. package/node_modules/@opentelemetry/sdk-logs/build/esnext/export/LogRecordProcessorMetrics.js +63 -0
  1655. package/node_modules/@opentelemetry/sdk-logs/build/esnext/export/{SdkLogRecord.js → ReadWriteLogRecord.js} +1 -1
  1656. package/node_modules/@opentelemetry/sdk-logs/build/esnext/export/SimpleLogRecordProcessor.js +10 -0
  1657. package/node_modules/@opentelemetry/sdk-logs/build/esnext/internal/LoggerProviderSharedState.js +2 -4
  1658. package/node_modules/@opentelemetry/sdk-logs/build/esnext/semconv.js +106 -0
  1659. package/node_modules/@opentelemetry/sdk-logs/build/esnext/version.js +1 -1
  1660. package/node_modules/@opentelemetry/sdk-logs/build/src/LogRecordImpl.js +33 -6
  1661. package/node_modules/@opentelemetry/sdk-logs/build/src/LoggerProvider.js +3 -4
  1662. package/node_modules/@opentelemetry/sdk-logs/build/src/MultiLogRecordProcessor.js +3 -5
  1663. package/node_modules/@opentelemetry/sdk-logs/build/src/export/BatchLogRecordProcessorBase.js +18 -3
  1664. package/node_modules/@opentelemetry/sdk-logs/build/src/export/LogRecordProcessorMetrics.js +67 -0
  1665. package/node_modules/@opentelemetry/sdk-logs/build/src/export/{SdkLogRecord.js → ReadWriteLogRecord.js} +1 -1
  1666. package/node_modules/@opentelemetry/sdk-logs/build/src/export/SimpleLogRecordProcessor.js +10 -0
  1667. package/node_modules/@opentelemetry/sdk-logs/build/src/internal/LoggerProviderSharedState.js +2 -4
  1668. package/node_modules/@opentelemetry/sdk-logs/build/src/semconv.js +107 -1
  1669. package/node_modules/@opentelemetry/sdk-logs/build/src/utils/validation.js +1 -1
  1670. package/node_modules/@opentelemetry/sdk-logs/build/src/version.js +1 -1
  1671. package/node_modules/@opentelemetry/sdk-logs/package.json +11 -11
  1672. package/node_modules/@opentelemetry/sdk-metrics/build/esm/aggregator/ExponentialHistogram.js +3 -3
  1673. package/node_modules/@opentelemetry/sdk-metrics/build/esm/aggregator/exponential-histogram/mapping/ExponentMapping.js +3 -8
  1674. package/node_modules/@opentelemetry/sdk-metrics/build/esm/aggregator/exponential-histogram/mapping/LogarithmMapping.js +1 -1
  1675. package/node_modules/@opentelemetry/sdk-metrics/build/esm/aggregator/exponential-histogram/mapping/ieee754.js +24 -23
  1676. package/node_modules/@opentelemetry/sdk-metrics/build/esm/version.js +1 -1
  1677. package/node_modules/@opentelemetry/sdk-metrics/build/esm/view/Aggregation.js +4 -8
  1678. package/node_modules/@opentelemetry/sdk-metrics/build/esnext/aggregator/ExponentialHistogram.js +3 -3
  1679. package/node_modules/@opentelemetry/sdk-metrics/build/esnext/aggregator/exponential-histogram/mapping/ExponentMapping.js +3 -8
  1680. package/node_modules/@opentelemetry/sdk-metrics/build/esnext/aggregator/exponential-histogram/mapping/LogarithmMapping.js +1 -1
  1681. package/node_modules/@opentelemetry/sdk-metrics/build/esnext/aggregator/exponential-histogram/mapping/ieee754.js +24 -23
  1682. package/node_modules/@opentelemetry/sdk-metrics/build/esnext/version.js +1 -1
  1683. package/node_modules/@opentelemetry/sdk-metrics/build/esnext/view/Aggregation.js +4 -8
  1684. package/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/ExponentialHistogram.js +3 -3
  1685. package/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/ExponentMapping.js +3 -8
  1686. package/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/LogarithmMapping.js +1 -1
  1687. package/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/ieee754.js +26 -25
  1688. package/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/types.js +1 -1
  1689. package/node_modules/@opentelemetry/sdk-metrics/build/src/export/AggregationTemporality.js +1 -1
  1690. package/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricData.js +2 -2
  1691. package/node_modules/@opentelemetry/sdk-metrics/build/src/version.js +1 -1
  1692. package/node_modules/@opentelemetry/sdk-metrics/build/src/view/AggregationOption.js +1 -1
  1693. package/node_modules/@opentelemetry/sdk-metrics/package.json +9 -9
  1694. package/node_modules/@opentelemetry/sdk-trace/build/esm/TracerProvider.js +2 -2
  1695. package/node_modules/@opentelemetry/sdk-trace/build/esm/export/SimpleSpanProcessor.js +19 -3
  1696. package/node_modules/@opentelemetry/sdk-trace/build/esm/sampler/TraceIdRatioBasedSampler.js +2 -1
  1697. package/node_modules/@opentelemetry/sdk-trace/build/esm/version.js +1 -1
  1698. package/node_modules/@opentelemetry/sdk-trace/build/esnext/TracerProvider.js +2 -2
  1699. package/node_modules/@opentelemetry/sdk-trace/build/esnext/export/SimpleSpanProcessor.js +19 -3
  1700. package/node_modules/@opentelemetry/sdk-trace/build/esnext/sampler/TraceIdRatioBasedSampler.js +2 -1
  1701. package/node_modules/@opentelemetry/sdk-trace/build/esnext/version.js +1 -1
  1702. package/node_modules/@opentelemetry/sdk-trace/build/src/Sampler.js +1 -1
  1703. package/node_modules/@opentelemetry/sdk-trace/build/src/TracerProvider.js +2 -2
  1704. package/node_modules/@opentelemetry/sdk-trace/build/src/export/SimpleSpanProcessor.js +19 -3
  1705. package/node_modules/@opentelemetry/sdk-trace/build/src/sampler/TraceIdRatioBasedSampler.js +2 -1
  1706. package/node_modules/@opentelemetry/sdk-trace/build/src/version.js +1 -1
  1707. package/node_modules/@opentelemetry/sdk-trace/package.json +11 -10
  1708. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +2 -1
  1709. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +2 -1
  1710. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/cache/EndpointCache.js +2 -1
  1711. package/node_modules/@smithy/core/package.json +1 -1
  1712. package/node_modules/@types/node/README.md +2 -2
  1713. package/node_modules/@types/node/package.json +13 -3
  1714. package/node_modules/node-addon-native-custom-loader/package.json +1 -1
  1715. package/node_modules/node-addon-require-builtin/package.json +2 -2
  1716. package/node_modules/node-pty/lib/windowsPtyAgent.js +2 -0
  1717. package/node_modules/undici-types/package.json +1 -1
  1718. package/node_modules/ws/lib/permessage-deflate.js +3 -1
  1719. package/node_modules/ws/lib/receiver.js +15 -32
  1720. package/node_modules/ws/lib/websocket-server.js +4 -4
  1721. package/node_modules/ws/lib/websocket.js +4 -4
  1722. package/node_modules/ws/package.json +5 -1
  1723. package/package.json +342 -336
  1724. package/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.js +0 -28
  1725. package/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.mjs +0 -25
  1726. package/node_modules/@anthropic-ai/sdk/src/lib/tools/CompactionControl.ts +0 -57
  1727. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/autofill_manager-CxcaWQiv.js +0 -58
  1728. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/explain-CNIdfhW8.js +0 -747
  1729. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/main-BLMNMheT.js +0 -755
  1730. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/platform-BzB373NB.js +0 -600
  1731. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/protocol_monitor-mWRlFT7z.js +0 -2
  1732. package/node_modules/@deepseek-ai/dsh-hook-protocol/README.i18n.yaml +0 -61
  1733. package/node_modules/@deepseek-ai/dsh-hook-protocol/README.md +0 -142
  1734. package/node_modules/@deepseek-ai/dsh-hook-protocol/README.zh.md +0 -142
  1735. package/node_modules/@deepseek-ai/dsh-hook-protocol/lib/index.js +0 -377
  1736. package/node_modules/@deepseek-ai/dsh-hooks-claude-code/README.i18n.yaml +0 -88
  1737. package/node_modules/@deepseek-ai/dsh-hooks-claude-code/README.md +0 -193
  1738. package/node_modules/@deepseek-ai/dsh-hooks-claude-code/README.zh.md +0 -193
  1739. package/node_modules/@deepseek-ai/dsh-hooks-claude-code/lib/index.js +0 -405
  1740. package/node_modules/@deepseek-ai/dsh-hooks-claude-code/package.json +0 -57
  1741. package/node_modules/@deepseek-ai/dsh-hooks-codex/README.i18n.yaml +0 -88
  1742. package/node_modules/@deepseek-ai/dsh-hooks-codex/README.md +0 -188
  1743. package/node_modules/@deepseek-ai/dsh-hooks-codex/README.zh.md +0 -188
  1744. package/node_modules/@deepseek-ai/dsh-hooks-codex/lib/index.js +0 -346
  1745. package/node_modules/@deepseek-ai/dsh-hooks-codex/package.json +0 -55
  1746. package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/README.i18n.yaml +0 -106
  1747. package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/README.md +0 -176
  1748. package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/README.zh.md +0 -176
  1749. package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/lib/index.js +0 -254
  1750. package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +0 -59
  1751. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-DBK_Mahs.css +0 -1
  1752. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-DjTxlw_T.js +0 -127
  1753. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/asciidoc-Ve4PFQV2.js +0 -2
  1754. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/cpp-DIPi6g--.js +0 -2
  1755. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/r-Dspwwk_N.js +0 -2
  1756. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/swift-D82vCrfD.js +0 -2
  1757. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/system-verilog-CnnmHF94.js +0 -2
  1758. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/verilog-BQ8w6xss.js +0 -2
  1759. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/vendor-BNsW4eBh.css +0 -1
  1760. package/node_modules/@deepseek-ai/dsh-webhook/README.i18n.yaml +0 -46
  1761. package/node_modules/@deepseek-ai/dsh-webhook/README.md +0 -86
  1762. package/node_modules/@deepseek-ai/dsh-webhook/README.zh.md +0 -86
  1763. package/node_modules/@deepseek-ai/dsh-webhook/lib/index.js +0 -352
  1764. package/node_modules/@deepseek-ai/dsh-webhook/lib/types/brand.js +0 -26
  1765. package/node_modules/@deepseek-ai/dsh-webhook/lib/types/index.js +0 -138
  1766. package/node_modules/@deepseek-ai/dsh-webhook/lib/types/invariant.js +0 -38
  1767. package/node_modules/@deepseek-ai/dsh-webhook/lib/types/session.js +0 -211
  1768. package/node_modules/@deepseek-ai/dsh-webhook/lib/types/types.js +0 -3
  1769. package/node_modules/@deepseek-ai/dsh-webhook/package.json +0 -62
  1770. package/node_modules/@deepseek-ai/dsh-webhook-github/README.i18n.yaml +0 -37
  1771. package/node_modules/@deepseek-ai/dsh-webhook-github/README.md +0 -86
  1772. package/node_modules/@deepseek-ai/dsh-webhook-github/README.zh.md +0 -86
  1773. package/node_modules/@deepseek-ai/dsh-webhook-github/lib/index.js +0 -193
  1774. package/node_modules/@deepseek-ai/dsh-webhook-github/lib/types/body.js +0 -65
  1775. package/node_modules/@deepseek-ai/dsh-webhook-github/lib/types/handler.js +0 -115
  1776. package/node_modules/@deepseek-ai/dsh-webhook-github/lib/types/index.js +0 -39
  1777. package/node_modules/@deepseek-ai/dsh-webhook-github/lib/types/types.js +0 -3
  1778. package/node_modules/@deepseek-ai/dsh-webhook-github/package.json +0 -55
  1779. package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.js +0 -14
  1780. package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.models.js +0 -8
  1781. package/node_modules/@earendil-works/pi-ai/dist/providers/data/azure-openai-responses.json +0 -1
  1782. package/node_modules/@octokit/openapi-types/LICENSE +0 -7
  1783. package/node_modules/@octokit/openapi-types/README.md +0 -17
  1784. package/node_modules/@octokit/openapi-types/package.json +0 -21
  1785. package/node_modules/@octokit/openapi-webhooks-types/LICENSE +0 -7
  1786. package/node_modules/@octokit/openapi-webhooks-types/README.md +0 -17
  1787. package/node_modules/@octokit/openapi-webhooks-types/package.json +0 -18
  1788. package/node_modules/@octokit/request-error/README.md +0 -93
  1789. package/node_modules/@octokit/request-error/dist-src/index.js +0 -41
  1790. package/node_modules/@octokit/request-error/package.json +0 -50
  1791. package/node_modules/@octokit/types/LICENSE +0 -7
  1792. package/node_modules/@octokit/types/README.md +0 -65
  1793. package/node_modules/@octokit/types/package.json +0 -41
  1794. package/node_modules/@octokit/webhooks/LICENSE.md +0 -20
  1795. package/node_modules/@octokit/webhooks/README.md +0 -786
  1796. package/node_modules/@octokit/webhooks/dist-bundle/index.js +0 -871
  1797. package/node_modules/@octokit/webhooks/dist-src/concat-uint8array.js +0 -22
  1798. package/node_modules/@octokit/webhooks/dist-src/create-logger.js +0 -20
  1799. package/node_modules/@octokit/webhooks/dist-src/event-handler/index.js +0 -27
  1800. package/node_modules/@octokit/webhooks/dist-src/event-handler/on.js +0 -31
  1801. package/node_modules/@octokit/webhooks/dist-src/event-handler/receive.js +0 -61
  1802. package/node_modules/@octokit/webhooks/dist-src/event-handler/remove-listener.js +0 -20
  1803. package/node_modules/@octokit/webhooks/dist-src/event-handler/validate-event-name.js +0 -33
  1804. package/node_modules/@octokit/webhooks/dist-src/event-handler/wrap-error-handler.js +0 -18
  1805. package/node_modules/@octokit/webhooks/dist-src/generated/webhook-identifiers.js +0 -0
  1806. package/node_modules/@octokit/webhooks/dist-src/generated/webhook-names.js +0 -328
  1807. package/node_modules/@octokit/webhooks/dist-src/index.js +0 -48
  1808. package/node_modules/@octokit/webhooks/dist-src/middleware/create-middleware.js +0 -147
  1809. package/node_modules/@octokit/webhooks/dist-src/middleware/node/get-payload.js +0 -30
  1810. package/node_modules/@octokit/webhooks/dist-src/middleware/node/get-request-header.js +0 -6
  1811. package/node_modules/@octokit/webhooks/dist-src/middleware/node/handle-response.js +0 -11
  1812. package/node_modules/@octokit/webhooks/dist-src/middleware/node/index.js +0 -23
  1813. package/node_modules/@octokit/webhooks/dist-src/middleware/web/get-payload.js +0 -6
  1814. package/node_modules/@octokit/webhooks/dist-src/middleware/web/get-request-header.js +0 -6
  1815. package/node_modules/@octokit/webhooks/dist-src/middleware/web/handle-response.js +0 -12
  1816. package/node_modules/@octokit/webhooks/dist-src/middleware/web/index.js +0 -23
  1817. package/node_modules/@octokit/webhooks/dist-src/normalize-trailing-slashes.js +0 -18
  1818. package/node_modules/@octokit/webhooks/dist-src/verify-and-receive.js +0 -33
  1819. package/node_modules/@octokit/webhooks/package.json +0 -54
  1820. package/node_modules/@octokit/webhooks-methods/LICENSE +0 -9
  1821. package/node_modules/@octokit/webhooks-methods/README.md +0 -249
  1822. package/node_modules/@octokit/webhooks-methods/dist-node/index.js +0 -65
  1823. package/node_modules/@octokit/webhooks-methods/dist-src/index.js +0 -22
  1824. package/node_modules/@octokit/webhooks-methods/dist-src/node/sign.js +0 -18
  1825. package/node_modules/@octokit/webhooks-methods/dist-src/node/verify.js +0 -26
  1826. package/node_modules/@octokit/webhooks-methods/dist-src/version.js +0 -4
  1827. package/node_modules/@octokit/webhooks-methods/dist-src/web.js +0 -83
  1828. package/node_modules/@octokit/webhooks-methods/dist-web/index.js +0 -84
  1829. package/node_modules/@octokit/webhooks-methods/package.json +0 -53
  1830. /package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{chunk-DF993M8W.js → rolldown-runtime-DF993M8W.js} +0 -0
@@ -1,26 +1,27 @@
1
- import { n as e } from "./chunk-DF993M8W.js";
2
- import { $ as t, G as n, K as r, Ot as i, Tt as a, Y as o, _t as s, gt as c, v as l, xt as u } from "./platform-BzB373NB.js";
3
- import { $ as d, At as f, Dt as p, Et as m, F as ee, Ft as h, Ot as te, at as ne, bt as g, d as re, ft as ie, ht as ae, jt as _, mt as oe, n as se, wt as v } from "./common-qd_KLeYO.js";
4
- import { $i as ce, $n as le, Ad as ue, C as de, Cl as fe, Cs as pe, D as me, Dt as he, El as y, Fo as ge, Ho as _e, Hr as ve, Jt as ye, Md as b, Mo as be, O as xe, Or as Se, Po as Ce, Qn as we, Qs as Te, Ss as Ee, St as De, Tl as x, Ur as S, Xi as Oe, Xn as C, Xr as ke, Yn as Ae, Yo as je, Zl as Me, _ as Ne, _o as Pe, _r as Fe, bn as Ie, br as Le, ct as Re, ei as w, er as ze, fa as T, fo as Be, gr as Ve, hn as He, i as Ue, ja as We, jo as Ge, kr as Ke, mf as qe, mo as Je, n as Ye, na as Xe, ni as Ze, no as Qe, o as $e, pf as et, qa as tt, rc as nt, rl as rt, rn as it, so as at, tl as ot, tn as st, ui as ct, un as lt, ur as ut, ut as dt, wl as ft, wn as pt, ws as mt, x as ht, xn as gt, yr as _t } from "./legacy-Dv5Py_9p.js";
5
- import { a as vt, o as yt, s as bt, t as xt } from "./bindings-Cr5O2fL5.js";
6
- import { C as E } from "./common-LSsbP0lU.js";
7
- import { t as St } from "./object_ui-cmgZzf81.js";
8
- import { $t as Ct, en as wt } from "./snackbars-CGAwPElE.js";
9
- import { n as D, t as Tt } from "./theme_support-DXvy8kfg.js";
10
- import { t as Et } from "./objectValue.css-Dgh-kJvQ.js";
11
- import { c as Dt, d as O, l as Ot, n as kt, u as k } from "./data_grid-UqFJQMC9.js";
12
- import { n as At } from "./settings_ui-gaRa3Hhd.js";
13
- import { m as jt } from "./elements-B5_H3hT1.js";
14
- import { A as Mt, E as Nt, F as Pt, L as Ft, O as It, c as Lt, d as Rt, u as zt } from "./perf_ui-uax9xKLn.js";
15
- import { c as Bt, f as Vt, h as Ht, l as Ut, n as Wt, o as A, p as j, u as Gt, v as Kt, y as qt } from "./heap_snapshot-CZt2KUPL.js";
1
+ import { n as e } from "./rolldown-runtime-DF993M8W.js";
2
+ import { $ as t, D as n, H as r, I as i, J as a, K as o, L as s, P as c, Q as l, Wt as u, X as d, Y as f, Zt as ee, en as p, i as m, ot as h, qt as te, v as ne, x as g } from "./common-DMSVbaSb.js";
3
+ import { $i as re, $n as ie, C as ae, Cl as oe, Cs as se, D as ce, Dp as le, Dt as ue, Fo as de, Ho as fe, Hr as pe, Jt as me, Mo as he, Mp as ge, O as _e, Or as ve, Po as ye, Qn as be, Sl as xe, Ss as Se, St as Ce, Tl as _, Ur as v, Xi as we, Xl as Te, Xn as y, Xr as Ee, Yn as De, Yo as Oe, Zs as ke, _ as Ae, _o as je, _r as Me, bn as Ne, br as Pe, ct as Fe, ei as b, el as Ie, er as Le, fa as x, ff as Re, fo as ze, fp as Be, gr as Ve, hn as He, i as Ue, ja as We, jd as S, jo as Ge, jp as Ke, kd as qe, kr as Je, mo as Ye, n as Xe, na as Ze, nc as Qe, ni as $e, nl as et, no as tt, o as nt, pf as rt, qa as it, rn as at, so as ot, tn as st, ui as ct, un as lt, ur as ut, ut as dt, wl as C, wn as ft, x as pt, xn as mt, xs as ht, yr as gt } from "./legacy-md3HQs_7.js";
4
+ import "./platform-D4TUCh2P.js";
5
+ import { F as _t, I as vt, c as yt } from "./StringUtilities-CMDxNrEc.js";
6
+ import { n as w, t as bt } from "./theme_support-BF2WpOah.js";
7
+ import { a as xt, o as St, s as Ct, t as wt } from "./bindings-CAIo-k1a.js";
8
+ import { C as T } from "./common-Ec_cVEiV.js";
9
+ import { m as Tt } from "./elements-BU8z2iUE.js";
10
+ import { t as Et } from "./object_ui-Bkc4pMRS.js";
11
+ import { $t as Dt, en as Ot } from "./snackbars-DazoAb8B.js";
12
+ import { t as kt } from "./objectValue.css-Dgh-kJvQ.js";
13
+ import { c as At, d as E, l as jt, n as Mt, u as D } from "./data_grid-CWSfqJp7.js";
14
+ import { n as Nt } from "./settings_ui-DJR_-8cd.js";
15
+ import { A as Pt, E as Ft, F as It, L as Lt, O as Rt, c as zt, d as Bt, u as Vt } from "./perf_ui-Ch0z1TZ3.js";
16
+ import { c as Ht, f as Ut, h as Wt, l as Gt, n as Kt, o as O, p as k, u as qt, v as Jt, y as Yt } from "./heap_snapshot-CTdRQlts.js";
16
17
  //#region node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/profiler/ProfileDataGrid.ts
17
- var Jt = /* @__PURE__ */ e({
18
- ProfileDataGridNode: () => M,
19
- ProfileDataGridTree: () => Qt
20
- }), Yt = {
18
+ var Xt = /* @__PURE__ */ e({
19
+ ProfileDataGridNode: () => A,
20
+ ProfileDataGridTree: () => en
21
+ }), Zt = {
21
22
  notOptimizedS: "Not optimized: {PH1}",
22
23
  genericTextTwoPlaceholders: "{PH1}, {PH2}"
23
- }, Xt = v("panels/profiler/ProfileDataGrid.ts", Yt), Zt = g.bind(void 0, Xt), M = class e extends Ot {
24
+ }, Qt = o("panels/profiler/ProfileDataGrid.ts", Zt), $t = r.bind(void 0, Qt), A = class e extends jt {
24
25
  searchMatchedSelfColumn;
25
26
  searchMatchedTotalColumn;
26
27
  searchMatchedFunctionColumn;
@@ -40,7 +41,7 @@ var Jt = /* @__PURE__ */ e({
40
41
  savedTotal;
41
42
  savedChildren;
42
43
  constructor(e, t, n) {
43
- super(null, n), this.searchMatchedSelfColumn = !1, this.searchMatchedTotalColumn = !1, this.searchMatchedFunctionColumn = !1, this.profileNode = e, this.tree = t, this.childrenByCallUID = /* @__PURE__ */ new Map(), this.lastComparator = null, this.callUID = e.callUID, this.self = e.self, this.total = e.total, this.functionName = it(e.functionName), this.deoptReason = e.deoptReason || "", this.url = e.url, this.linkElement = null, this.populated = !1;
44
+ super(null, n), this.searchMatchedSelfColumn = !1, this.searchMatchedTotalColumn = !1, this.searchMatchedFunctionColumn = !1, this.profileNode = e, this.tree = t, this.childrenByCallUID = /* @__PURE__ */ new Map(), this.lastComparator = null, this.callUID = e.callUID, this.self = e.self, this.total = e.total, this.functionName = at(e.functionName), this.deoptReason = e.deoptReason || "", this.url = e.url, this.linkElement = null, this.populated = !1;
44
45
  }
45
46
  static sort(e, t, n) {
46
47
  for (let r = 0; r < e.length; ++r) {
@@ -94,9 +95,9 @@ var Jt = /* @__PURE__ */ e({
94
95
  if (t.classList.toggle("highlight", this.searchMatchedFunctionColumn), this.deoptReason) {
95
96
  t.classList.add("not-optimized");
96
97
  let e = new Ge();
97
- e.name = "warning-filled", e.classList.add("profile-warn-marker", "small"), S.install(e, Zt(Yt.notOptimizedS, { PH1: this.deoptReason })), t.appendChild(e);
98
+ e.name = "warning-filled", e.classList.add("profile-warn-marker", "small"), v.install(e, $t(Zt.notOptimizedS, { PH1: this.deoptReason })), t.appendChild(e);
98
99
  }
99
- if (gt(t, this.functionName), this.profileNode.scriptId === "0") return t;
100
+ if (mt(t, this.functionName), this.profileNode.scriptId === "0") return t;
100
101
  let n = this.tree.formatter.linkifyNode(this);
101
102
  return n ? (n.style.maxWidth = "75%", t.appendChild(n), this.linkElement = n, t) : t;
102
103
  }
@@ -111,7 +112,7 @@ var Jt = /* @__PURE__ */ e({
111
112
  let o = i.createChild("span", "percent-column"), s = this.tree.formatter.formatPercent(t, this);
112
113
  o.textContent = s;
113
114
  let c = this.tree.formatter.formatValueAccessibleText(e, this);
114
- return this.setCellAccessibleName(Zt(Yt.genericTextTwoPlaceholders, {
115
+ return this.setCellAccessibleName($t(Zt.genericTextTwoPlaceholders, {
115
116
  PH1: c,
116
117
  PH2: s
117
118
  }), r, n), r;
@@ -155,7 +156,7 @@ var Jt = /* @__PURE__ */ e({
155
156
  merge(t, n) {
156
157
  e.merge(this, t, n);
157
158
  }
158
- }, Qt = class {
159
+ }, en = class {
159
160
  tree;
160
161
  self;
161
162
  children;
@@ -174,12 +175,12 @@ var Jt = /* @__PURE__ */ e({
174
175
  this.tree = this, this.self = 0, this.children = [], this.formatter = e, this.searchableView = t, this.total = n, this.lastComparator = null, this.childrenByCallUID = /* @__PURE__ */ new Map(), this.deepSearch = !0, this.populated = !1;
175
176
  }
176
177
  static propertyComparator(e, t) {
177
- let n = $t[+!!t][e];
178
+ let n = tn[+!!t][e];
178
179
  return n || (n = t ? function(t, n) {
179
180
  return t[e] < n[e] ? -1 : +(t[e] > n[e]);
180
181
  } : function(t, n) {
181
182
  return t[e] > n[e] ? -1 : +(t[e] < n[e]);
182
- }, $t[+!!t][e] = n), n;
183
+ }, tn[+!!t][e] = n), n;
183
184
  }
184
185
  get expanded() {
185
186
  return !0;
@@ -201,7 +202,7 @@ var Jt = /* @__PURE__ */ e({
201
202
  return e && this.childrenByCallUID.get(e.callUID) || null;
202
203
  }
203
204
  sort(e, t) {
204
- return M.sort([[this]], e, t);
205
+ return A.sort([[this]], e, t);
205
206
  }
206
207
  save() {
207
208
  this.savedChildren ||= (this.savedTotal = this.total, this.children.slice());
@@ -218,13 +219,13 @@ var Jt = /* @__PURE__ */ e({
218
219
  if (!t.length) return null;
219
220
  let n = t.startsWith(">"), r = t.startsWith("<"), i = t.startsWith("=") || (n || r) && t.indexOf("=") === 1, a = t.endsWith("%"), o = t.length > 2 && t.endsWith("ms"), s = !o && t.endsWith("s"), c = parseFloat(t);
220
221
  (n || r || i) && (c = parseFloat(i && (n || r) ? t.substring(2) : t.substring(1)));
221
- let u = s ? c * 1e3 : c;
222
+ let l = s ? c * 1e3 : c;
222
223
  !isNaN(c) && !(n || r) && (i = !0);
223
- let d = l(t, "i");
224
- function f(e) {
225
- return e.searchMatchedSelfColumn = !1, e.searchMatchedTotalColumn = !1, e.searchMatchedFunctionColumn = !1, a ? (r ? (e.selfPercent < c && (e.searchMatchedSelfColumn = !0), e.totalPercent < c && (e.searchMatchedTotalColumn = !0)) : n && (e.selfPercent > c && (e.searchMatchedSelfColumn = !0), e.totalPercent > c && (e.searchMatchedTotalColumn = !0)), i && (e.selfPercent === c && (e.searchMatchedSelfColumn = !0), e.totalPercent === c && (e.searchMatchedTotalColumn = !0))) : (o || s) && (r ? (e.self < u && (e.searchMatchedSelfColumn = !0), e.total < u && (e.searchMatchedTotalColumn = !0)) : n && (e.self > u && (e.searchMatchedSelfColumn = !0), e.total > u && (e.searchMatchedTotalColumn = !0)), i && (e.self === u && (e.searchMatchedSelfColumn = !0), e.total === u && (e.searchMatchedTotalColumn = !0))), (e.functionName.match(d) || e.url && e.url.match(d)) && (e.searchMatchedFunctionColumn = !0), e.searchMatchedSelfColumn || e.searchMatchedTotalColumn || e.searchMatchedFunctionColumn ? (e.refresh(), !0) : !1;
224
+ let u = yt(t, "i");
225
+ function d(e) {
226
+ return e.searchMatchedSelfColumn = !1, e.searchMatchedTotalColumn = !1, e.searchMatchedFunctionColumn = !1, a ? (r ? (e.selfPercent < c && (e.searchMatchedSelfColumn = !0), e.totalPercent < c && (e.searchMatchedTotalColumn = !0)) : n && (e.selfPercent > c && (e.searchMatchedSelfColumn = !0), e.totalPercent > c && (e.searchMatchedTotalColumn = !0)), i && (e.selfPercent === c && (e.searchMatchedSelfColumn = !0), e.totalPercent === c && (e.searchMatchedTotalColumn = !0))) : (o || s) && (r ? (e.self < l && (e.searchMatchedSelfColumn = !0), e.total < l && (e.searchMatchedTotalColumn = !0)) : n && (e.self > l && (e.searchMatchedSelfColumn = !0), e.total > l && (e.searchMatchedTotalColumn = !0)), i && (e.self === l && (e.searchMatchedSelfColumn = !0), e.total === l && (e.searchMatchedTotalColumn = !0))), (e.functionName.match(u) || e.url && e.url.match(u)) && (e.searchMatchedFunctionColumn = !0), e.searchMatchedSelfColumn || e.searchMatchedTotalColumn || e.searchMatchedFunctionColumn ? (e.refresh(), !0) : !1;
226
227
  }
227
- return f;
228
+ return d;
228
229
  }
229
230
  performSearch(e, t, n) {
230
231
  this.onSearchCanceled();
@@ -265,10 +266,10 @@ var Jt = /* @__PURE__ */ e({
265
266
  let t = this.searchResults[e];
266
267
  t && (t.profileNode.revealAndSelect(), this.searchableView.updateCurrentMatchIndex(e));
267
268
  }
268
- }, $t = [{}, {}], en = /* @__PURE__ */ e({
269
- BottomUpProfileDataGridNode: () => tn,
270
- BottomUpProfileDataGridTree: () => nn
271
- }), tn = class e extends M {
269
+ }, tn = [{}, {}], nn = /* @__PURE__ */ e({
270
+ BottomUpProfileDataGridNode: () => rn,
271
+ BottomUpProfileDataGridTree: () => an
272
+ }), rn = class e extends A {
272
273
  remainingNodeInfos;
273
274
  constructor(e, t) {
274
275
  super(e, t, e.parent !== null && !!e.parent.parent), this.remainingNodeInfos = [];
@@ -283,7 +284,7 @@ var Jt = /* @__PURE__ */ e({
283
284
  s.self += o.self, e || (s.total += o.total);
284
285
  } else s = new e(a, t.tree), a !== o && (s.self = o.self, s.total = o.total), t.appendChild(s);
285
286
  let c = a.parent;
286
- c?.parent && (r.ancestor = c, s.remainingNodeInfos ||= [], s.remainingNodeInfos.push(r));
287
+ c?.parent && (r.ancestor = c, s.remainingNodeInfos || (s.remainingNodeInfos = []), s.remainingNodeInfos.push(r));
287
288
  }
288
289
  delete t.remainingNodeInfos;
289
290
  }
@@ -312,7 +313,7 @@ var Jt = /* @__PURE__ */ e({
312
313
  willHaveChildren(e) {
313
314
  return !!e.parent?.parent;
314
315
  }
315
- }, nn = class extends Qt {
316
+ }, an = class extends en {
316
317
  deepSearch;
317
318
  remainingNodeInfos;
318
319
  constructor(e, t, n, r) {
@@ -347,49 +348,49 @@ var Jt = /* @__PURE__ */ e({
347
348
  c.length && (a.push(t.concat([r])), a.push(c));
348
349
  }
349
350
  }
350
- return M.populate(this), this;
351
+ return A.populate(this), this;
351
352
  }
352
353
  focus(e) {
353
354
  if (!e) return;
354
355
  this.save();
355
356
  let t = e, n = e;
356
- for (; t.parent && t instanceof tn;) t.takePropertiesFromProfileDataGridNode(e), n = t, t = t.parent, t instanceof tn && t.keepOnlyChild(n);
357
+ for (; t.parent && t instanceof rn;) t.takePropertiesFromProfileDataGridNode(e), n = t, t = t.parent, t instanceof rn && t.keepOnlyChild(n);
357
358
  this.children = [n], this.total = e.total;
358
359
  }
359
360
  exclude(e) {
360
361
  if (!e) return;
361
362
  this.save();
362
363
  let t = e.callUID, n = this.childrenByCallUID.get(t);
363
- n && a(this.children, n);
364
+ n && ee(this.children, n);
364
365
  let r = this.children, i = r.length;
365
366
  for (let e = 0; e < i; ++e) r[e].exclude(t);
366
367
  this.lastComparator && this.sort(this.lastComparator, !0);
367
368
  }
368
369
  populateChildren() {
369
- tn.sharedPopulate(this);
370
+ rn.sharedPopulate(this);
370
371
  }
371
- }, rn = {
372
+ }, on = {
372
373
  detachedNodes: "Detached nodes",
373
374
  nodeSize: "Node count",
374
375
  detachedElementsList: "Detached elements list"
375
- }, an = v("panels/profiler/HeapDetachedElementsDataGrid.ts", rn), on = g.bind(void 0, an), sn = class extends Dt {
376
+ }, sn = o("panels/profiler/HeapDetachedElementsDataGrid.ts", on), cn = r.bind(void 0, sn), ln = class extends At {
376
377
  constructor() {
377
378
  let e = [];
378
379
  e.push({
379
380
  id: "detached-node",
380
- title: on(rn.detachedNodes),
381
+ title: cn(on.detachedNodes),
381
382
  sortable: !1
382
383
  }), e.push({
383
384
  id: "detached-node-count",
384
- title: on(rn.nodeSize),
385
+ title: cn(on.nodeSize),
385
386
  sortable: !1,
386
387
  disclosure: !0
387
388
  }), super({
388
- displayName: on(rn.detachedElementsList),
389
+ displayName: cn(on.detachedElementsList),
389
390
  columns: e
390
391
  }), this.setStriped(!0);
391
392
  }
392
- }, cn = class extends Ot {
393
+ }, un = class extends jt {
393
394
  detachedElementInfo;
394
395
  domModel;
395
396
  retainedNodeIds = /* @__PURE__ */ new Set();
@@ -401,10 +402,13 @@ var Jt = /* @__PURE__ */ e({
401
402
  let t = this.createTD(e);
402
403
  switch (e) {
403
404
  case "detached-node": {
404
- let e = rt.create(this.domModel, null, !1, this.detachedElementInfo.treeNode, this.retainedNodeIds);
405
+ let e = et.create(this.domModel, null, !1, this.detachedElementInfo.treeNode, this.retainedNodeIds);
405
406
  return e.detached = !0, this.#t(e, t), t;
406
407
  }
407
- case "detached-node-count": return gt(t, this.#e(this.detachedElementInfo).toString()), t;
408
+ case "detached-node-count": {
409
+ let e = this.#e(this.detachedElementInfo);
410
+ return mt(t, e.toString()), t;
411
+ }
408
412
  }
409
413
  return t;
410
414
  }
@@ -414,16 +418,16 @@ var Jt = /* @__PURE__ */ e({
414
418
  return t;
415
419
  }
416
420
  #t(e, t) {
417
- let n = new jt();
421
+ let n = new Tt();
418
422
  n.omitRootDOMNode = !1, n.selectEnabled = !0, n.hideGutter = !0, n.rootDOMNode = e, n.showSelectionOnKeyboardFocus = !0, n.preventTabOrder = !0, n.deindentSingleNode = !0, n.show(t, void 0, !0);
419
423
  }
420
- }, ln = /* @__PURE__ */ e({
421
- Events: () => P,
422
- ProfileEvents: () => F,
423
- ProfileHeader: () => N,
424
- ProfileType: () => dn,
425
- StatusUpdate: () => un
426
- }), N = class extends f {
424
+ }, dn = /* @__PURE__ */ e({
425
+ Events: () => M,
426
+ ProfileEvents: () => N,
427
+ ProfileHeader: () => j,
428
+ ProfileType: () => pn,
429
+ StatusUpdate: () => fn
430
+ }), j = class extends l {
427
431
  #e;
428
432
  title;
429
433
  uid;
@@ -439,7 +443,7 @@ var Jt = /* @__PURE__ */ e({
439
443
  return this.#e;
440
444
  }
441
445
  updateStatus(e, t) {
442
- this.dispatchEventToListeners("UpdateStatus", new un(e, t));
446
+ this.dispatchEventToListeners("UpdateStatus", new fn(e, t));
443
447
  }
444
448
  removeTempFile() {
445
449
  this.tempFile && this.tempFile.remove();
@@ -461,15 +465,15 @@ var Jt = /* @__PURE__ */ e({
461
465
  this.#t = !0;
462
466
  }
463
467
  setProfile(e) {}
464
- }, un = class {
468
+ }, fn = class {
465
469
  subtitle;
466
470
  wait;
467
471
  constructor(e, t) {
468
472
  this.subtitle = e, this.wait = t;
469
473
  }
470
- }, P = /* @__PURE__ */ function(e) {
474
+ }, M = /* @__PURE__ */ function(e) {
471
475
  return e.UPDATE_STATUS = "UpdateStatus", e.PROFILE_TITLE_CHANGED = "ProfileTitleChanged", e;
472
- }({}), dn = class extends f {
476
+ }({}), pn = class extends l {
473
477
  #e;
474
478
  #t;
475
479
  profiles = [];
@@ -557,15 +561,15 @@ var Jt = /* @__PURE__ */ e({
557
561
  disposeProfile(e) {
558
562
  this.dispatchEventToListeners("remove-profile-header", e), e.dispose(), this.#n === e && (this.profileBeingRecordedRemoved(), this.setProfileBeingRecorded(null));
559
563
  }
560
- }, F = /* @__PURE__ */ function(e) {
564
+ }, N = /* @__PURE__ */ function(e) {
561
565
  return e.ADD_PROFILE_HEADER = "add-profile-header", e.PROFILE_COMPLETE = "profile-complete", e.REMOVE_PROFILE_HEADER = "remove-profile-header", e.VIEW_UPDATED = "view-updated", e;
562
- }({}), fn = /* @__PURE__ */ e({
563
- OverviewCalculator: () => gn,
564
- OverviewPane: () => _n,
565
- OverviewPaneEvents: () => vn,
566
- ProfileFlameChart: () => hn,
567
- ProfileFlameChartDataProvider: () => mn
568
- }), pn = null, mn = class e {
566
+ }({}), mn = /* @__PURE__ */ e({
567
+ OverviewCalculator: () => vn,
568
+ OverviewPane: () => yn,
569
+ OverviewPaneEvents: () => bn,
570
+ ProfileFlameChart: () => _n,
571
+ ProfileFlameChartDataProvider: () => gn
572
+ }), hn = null, gn = class e {
569
573
  #e;
570
574
  maxStackDepthInternal;
571
575
  timelineDataInternal;
@@ -573,10 +577,10 @@ var Jt = /* @__PURE__ */ e({
573
577
  #t;
574
578
  boldFont;
575
579
  constructor() {
576
- this.#e = e.colorGenerator(), this.maxStackDepthInternal = 0, this.timelineDataInternal = null, this.entryNodes = [], this.#t = `${Pt} ${Ft()}`;
580
+ this.#e = e.colorGenerator(), this.maxStackDepthInternal = 0, this.timelineDataInternal = null, this.entryNodes = [], this.#t = `${It} ${Lt()}`;
577
581
  }
578
582
  static colorGenerator() {
579
- return pn || (pn = new h({
583
+ return hn || (hn = new h({
580
584
  min: 30,
581
585
  max: 330
582
586
  }, {
@@ -587,7 +591,7 @@ var Jt = /* @__PURE__ */ e({
587
591
  min: 80,
588
592
  max: 90,
589
593
  count: 3
590
- }), pn.setColorForID("(idle)", "hsl(0, 0%, 94%)"), pn.setColorForID("(program)", "hsl(0, 0%, 80%)"), pn.setColorForID("(garbage collector)", "hsl(0, 0%, 80%)")), pn;
594
+ }), hn.setColorForID("(idle)", "hsl(0, 0%, 94%)"), hn.setColorForID("(program)", "hsl(0, 0%, 80%)"), hn.setColorForID("(garbage collector)", "hsl(0, 0%, 80%)")), hn;
591
595
  }
592
596
  minimumBoundary() {
593
597
  throw Error("Not implemented");
@@ -596,7 +600,7 @@ var Jt = /* @__PURE__ */ e({
596
600
  throw Error("Not implemented");
597
601
  }
598
602
  formatValue(e, t) {
599
- return ie(e, t);
603
+ return c(e, t);
600
604
  }
601
605
  maxStackDepth() {
602
606
  return this.maxStackDepthInternal;
@@ -618,7 +622,7 @@ var Jt = /* @__PURE__ */ e({
618
622
  }
619
623
  entryTitle(e) {
620
624
  let t = this.entryNodes[e];
621
- return it(t.functionName);
625
+ return at(t.functionName);
622
626
  }
623
627
  entryFont(e) {
624
628
  let t = "bold " + this.#t;
@@ -643,7 +647,7 @@ var Jt = /* @__PURE__ */ e({
643
647
  entryNodesLength() {
644
648
  return this.entryNodes.length;
645
649
  }
646
- }, hn = class extends _(w) {
650
+ }, _n = class extends t(b) {
647
651
  searchableView;
648
652
  overviewPane;
649
653
  mainPane;
@@ -652,7 +656,7 @@ var Jt = /* @__PURE__ */ e({
652
656
  searchResults;
653
657
  searchResultIndex = -1;
654
658
  constructor(e, t) {
655
- super(), this.element.id = "cpu-flame-chart", this.searchableView = e, this.overviewPane = new _n(t), this.overviewPane.show(this.element), this.mainPane = new It(t, this.overviewPane), this.mainPane.setBarHeight(15), this.mainPane.setTextBaseline(4), this.mainPane.setTextPadding(2), this.mainPane.show(this.element), this.mainPane.addEventListener(Nt.ENTRY_SELECTED, this.onEntrySelected, this), this.mainPane.addEventListener(Nt.ENTRY_INVOKED, this.onEntryInvoked, this), this.entrySelected = !1, this.mainPane.addEventListener(Nt.CANVAS_FOCUSED, this.onEntrySelected, this), this.overviewPane.addEventListener("WindowChanged", this.onWindowChanged, this), this.dataProvider = t, this.searchResults = [];
659
+ super(), this.element.id = "cpu-flame-chart", this.searchableView = e, this.overviewPane = new yn(t), this.overviewPane.show(this.element), this.mainPane = new Rt(t, this.overviewPane), this.mainPane.setBarHeight(15), this.mainPane.setTextBaseline(4), this.mainPane.setTextPadding(2), this.mainPane.show(this.element), this.mainPane.addEventListener(Ft.ENTRY_SELECTED, this.onEntrySelected, this), this.mainPane.addEventListener(Ft.ENTRY_INVOKED, this.onEntryInvoked, this), this.entrySelected = !1, this.mainPane.addEventListener(Ft.CANVAS_FOCUSED, this.onEntrySelected, this), this.overviewPane.addEventListener("WindowChanged", this.onWindowChanged, this), this.dataProvider = t, this.searchResults = [];
656
660
  }
657
661
  focus() {
658
662
  this.mainPane.focus();
@@ -667,17 +671,17 @@ var Jt = /* @__PURE__ */ e({
667
671
  onEntrySelected(e) {
668
672
  if (e.data) {
669
673
  let t = e.data;
670
- this.mainPane.setSelectedEntry(t), t === -1 ? this.entrySelected = !1 : this.entrySelected = !0;
674
+ this.mainPane.setSelectedEntry(t), this.entrySelected = t !== -1;
671
675
  } else this.entrySelected ||= (this.mainPane.setSelectedEntry(0), !0);
672
676
  }
673
677
  onEntryInvoked(e) {
674
- this.onEntrySelected(e), this.dispatchEventToListeners(Nt.ENTRY_INVOKED, e.data);
678
+ this.onEntrySelected(e), this.dispatchEventToListeners(Ft.ENTRY_INVOKED, e.data);
675
679
  }
676
680
  update() {
677
681
  this.overviewPane.update(), this.mainPane.update();
678
682
  }
679
683
  performSearch(e, t, n) {
680
- let r = l(e.query, e.caseSensitive ? "" : "i"), i = this.searchResultIndex === -1 ? -1 : this.searchResults[this.searchResultIndex];
684
+ let r = yt(e.query, e.caseSensitive ? "" : "i"), i = this.searchResultIndex === -1 ? -1 : this.searchResults[this.searchResultIndex];
681
685
  this.searchResults = [];
682
686
  let a = this.dataProvider.entryNodesLength();
683
687
  for (let e = 0; e < a; ++e) this.dataProvider.entryTitle(e).match(r) && this.searchResults.push(e);
@@ -701,7 +705,7 @@ var Jt = /* @__PURE__ */ e({
701
705
  supportsRegexSearch() {
702
706
  return !1;
703
707
  }
704
- }, gn = class {
708
+ }, vn = class {
705
709
  formatter;
706
710
  minimumBoundaries;
707
711
  maximumBoundaries;
@@ -732,7 +736,7 @@ var Jt = /* @__PURE__ */ e({
732
736
  boundarySpan() {
733
737
  return this.maximumBoundaries - this.minimumBoundaries;
734
738
  }
735
- }, _n = class extends _(w) {
739
+ }, yn = class extends t(b) {
736
740
  overviewContainer;
737
741
  overviewCalculator;
738
742
  overviewGrid;
@@ -742,7 +746,7 @@ var Jt = /* @__PURE__ */ e({
742
746
  windowTimeRight;
743
747
  updateTimerId;
744
748
  constructor(e) {
745
- super(), this.element.classList.add("cpu-profile-flame-chart-overview-pane"), this.overviewContainer = this.element.createChild("div", "cpu-profile-flame-chart-overview-container"), this.overviewCalculator = new gn(e.formatValue), this.overviewGrid = new Rt("cpu-profile-flame-chart", this.overviewCalculator), this.overviewGrid.element.classList.add("fill"), this.overviewCanvas = this.overviewContainer.createChild("canvas", "cpu-profile-flame-chart-overview-canvas"), this.overviewContainer.appendChild(this.overviewGrid.element), this.dataProvider = e, this.overviewGrid.addEventListener(zt.WINDOW_CHANGED_WITH_POSITION, this.onWindowChanged, this);
749
+ super(), this.element.classList.add("cpu-profile-flame-chart-overview-pane"), this.overviewContainer = this.element.createChild("div", "cpu-profile-flame-chart-overview-container"), this.overviewCalculator = new vn(e.formatValue), this.overviewGrid = new Bt("cpu-profile-flame-chart", this.overviewCalculator), this.overviewGrid.element.classList.add("fill"), this.overviewCanvas = this.overviewContainer.createChild("canvas", "cpu-profile-flame-chart-overview-canvas"), this.overviewContainer.appendChild(this.overviewGrid.element), this.dataProvider = e, this.overviewGrid.addEventListener(Vt.WINDOW_CHANGED_WITH_POSITION, this.onWindowChanged, this);
746
750
  }
747
751
  windowChanged(e, t) {
748
752
  this.selectRange(e, t);
@@ -793,12 +797,12 @@ var Jt = /* @__PURE__ */ e({
793
797
  let n = window.devicePixelRatio;
794
798
  this.overviewCanvas.width = e * n, this.overviewCanvas.height = t * n, this.overviewCanvas.style.width = e + "px", this.overviewCanvas.style.height = t + "px";
795
799
  }
796
- }, vn = /* @__PURE__ */ function(e) {
800
+ }, bn = /* @__PURE__ */ function(e) {
797
801
  return e.WINDOW_CHANGED = "WindowChanged", e;
798
- }({}), yn = /* @__PURE__ */ e({
799
- TopDownProfileDataGridNode: () => bn,
800
- TopDownProfileDataGridTree: () => xn
801
- }), bn = class e extends M {
802
+ }({}), xn = /* @__PURE__ */ e({
803
+ TopDownProfileDataGridNode: () => Sn,
804
+ TopDownProfileDataGridTree: () => Cn
805
+ }), Sn = class e extends A {
802
806
  remainingChildren;
803
807
  constructor(e, t) {
804
808
  let n = !!e.children?.length;
@@ -814,34 +818,34 @@ var Jt = /* @__PURE__ */ e({
814
818
  let r = t.children, i = t.children.length;
815
819
  for (; i--;) e.excludeRecursively(r[i], n);
816
820
  let a = t.childrenByCallUID.get(n);
817
- a && M.merge(t, a, !0);
821
+ a && A.merge(t, a, !0);
818
822
  }
819
823
  populateChildren() {
820
824
  e.sharedPopulate(this);
821
825
  }
822
- }, xn = class extends Qt {
826
+ }, Cn = class extends en {
823
827
  remainingChildren;
824
828
  constructor(e, t, n, r) {
825
- super(e, t, r), this.remainingChildren = n.children, M.populate(this);
829
+ super(e, t, r), this.remainingChildren = n.children, A.populate(this);
826
830
  }
827
831
  focus(e) {
828
832
  e && (this.save(), e.savePosition(), this.children = [e], this.total = e.total);
829
833
  }
830
834
  exclude(e) {
831
- e && (this.save(), bn.excludeRecursively(this, e.callUID), this.lastComparator && this.sort(this.lastComparator, !0));
835
+ e && (this.save(), Sn.excludeRecursively(this, e.callUID), this.lastComparator && this.sort(this.lastComparator, !0));
832
836
  }
833
837
  restore() {
834
838
  this.savedChildren && (this.children[0].restorePosition(), super.restore());
835
839
  }
836
840
  populateChildren() {
837
- bn.sharedPopulate(this);
841
+ Sn.sharedPopulate(this);
838
842
  }
839
- }, Sn = /* @__PURE__ */ e({
840
- ProfileView: () => wn,
841
- ViewTypes: () => Tn,
842
- WritableProfileHeader: () => En,
843
+ }, wn = /* @__PURE__ */ e({
844
+ ProfileView: () => En,
845
+ ViewTypes: () => Dn,
846
+ WritableProfileHeader: () => On,
843
847
  maxLinkLength: () => 30
844
- }), I = {
848
+ }), P = {
845
849
  profile: "Profile",
846
850
  findByCostMsNameOrFile: "Find by cost (>50ms), name or file",
847
851
  function: "Function",
@@ -860,7 +864,7 @@ var Jt = /* @__PURE__ */ e({
860
864
  failedToReadFile: "Failed to read file",
861
865
  parsing: "Parsing…",
862
866
  loaded: "Loaded"
863
- }, Cn = v("panels/profiler/ProfileView.ts", I), L = g.bind(void 0, Cn), wn = class extends Ye {
867
+ }, Tn = o("panels/profiler/ProfileView.ts", P), F = r.bind(void 0, Tn), En = class extends Xe {
864
868
  profileInternal;
865
869
  searchableViewInternal;
866
870
  dataGrid;
@@ -883,9 +887,9 @@ var Jt = /* @__PURE__ */ e({
883
887
  profileDataGridTree;
884
888
  constructor() {
885
889
  super({
886
- title: L(I.profile),
890
+ title: F(P.profile),
887
891
  viewId: "profile"
888
- }), this.profileInternal = null, this.searchableViewInternal = new Ne(this, null), this.searchableViewInternal.setPlaceholder(L(I.findByCostMsNameOrFile)), this.searchableViewInternal.show(this.element);
892
+ }), this.profileInternal = null, this.searchableViewInternal = new Ae(this, null), this.searchableViewInternal.setPlaceholder(F(P.findByCostMsNameOrFile)), this.searchableViewInternal.show(this.element);
889
893
  let e = [];
890
894
  e.push({
891
895
  id: "self",
@@ -893,7 +897,7 @@ var Jt = /* @__PURE__ */ e({
893
897
  width: "120px",
894
898
  fixedWidth: !0,
895
899
  sortable: !0,
896
- sort: O.Descending
900
+ sort: E.Descending
897
901
  }), e.push({
898
902
  id: "total",
899
903
  title: this.columnHeader("total"),
@@ -902,13 +906,13 @@ var Jt = /* @__PURE__ */ e({
902
906
  sortable: !0
903
907
  }), e.push({
904
908
  id: "function",
905
- title: L(I.function),
909
+ title: F(P.function),
906
910
  disclosure: !0,
907
911
  sortable: !0
908
- }), this.dataGrid = new Dt({
909
- displayName: L(I.profiler),
912
+ }), this.dataGrid = new At({
913
+ displayName: F(P.profiler),
910
914
  columns: e
911
- }), this.dataGrid.addEventListener(k.SORTING_CHANGED, this.sortProfile, this), this.dataGrid.addEventListener(k.SELECTED_NODE, this.nodeSelected.bind(this, !0)), this.dataGrid.addEventListener(k.DESELECTED_NODE, this.nodeSelected.bind(this, !1)), this.dataGrid.setRowContextMenuCallback(this.populateContextMenu.bind(this)), this.viewSelectComboBox = new we(this.changeView.bind(this), L(I.profileViewMode), void 0, "profile-view.selected-view"), this.focusButton = new C(L(I.focusSelectedFunction), "eye", void 0, "profile-view.focus-selected-function"), this.focusButton.setEnabled(!1), this.focusButton.addEventListener(C.Events.CLICK, this.focusClicked, this), this.excludeButton = new C(L(I.excludeSelectedFunction), "cross", void 0, "profile-view.exclude-selected-function"), this.excludeButton.setEnabled(!1), this.excludeButton.addEventListener(C.Events.CLICK, this.excludeClicked, this), this.resetButton = new C(L(I.restoreAllFunctions), "refresh", void 0, "profile-view.restore-all-functions"), this.resetButton.setEnabled(!1), this.resetButton.addEventListener(C.Events.CLICK, this.resetClicked, this), this.linkifierInternal = new E(30);
915
+ }), this.dataGrid.addEventListener(D.SORTING_CHANGED, this.sortProfile, this), this.dataGrid.addEventListener(D.SELECTED_NODE, this.nodeSelected.bind(this, !0)), this.dataGrid.addEventListener(D.DESELECTED_NODE, this.nodeSelected.bind(this, !1)), this.dataGrid.setRowContextMenuCallback(this.populateContextMenu.bind(this)), this.viewSelectComboBox = new be(this.changeView.bind(this), F(P.profileViewMode), void 0, "profile-view.selected-view"), this.focusButton = new y(F(P.focusSelectedFunction), "eye", void 0, "profile-view.focus-selected-function"), this.focusButton.setEnabled(!1), this.focusButton.addEventListener(y.Events.CLICK, this.focusClicked, this), this.excludeButton = new y(F(P.excludeSelectedFunction), "cross", void 0, "profile-view.exclude-selected-function"), this.excludeButton.setEnabled(!1), this.excludeButton.addEventListener(y.Events.CLICK, this.excludeClicked, this), this.resetButton = new y(F(P.restoreAllFunctions), "refresh", void 0, "profile-view.restore-all-functions"), this.resetButton.setEnabled(!1), this.resetButton.addEventListener(y.Events.CLICK, this.resetClicked, this), this.linkifierInternal = new T(30);
912
916
  }
913
917
  static buildPopoverTable(e) {
914
918
  let t = document.createElement("table");
@@ -925,15 +929,15 @@ var Jt = /* @__PURE__ */ e({
925
929
  return this.profileInternal;
926
930
  }
927
931
  initialize(e) {
928
- this.nodeFormatter = e, this.viewType = re.instance().createSetting("profile-view", "Heavy");
932
+ this.nodeFormatter = e, this.viewType = m.instance().createSetting("profile-view", "Heavy");
929
933
  let t = [
930
934
  "Flame",
931
935
  "Heavy",
932
936
  "Tree"
933
- ], n = new Map([
934
- ["Flame", L(I.chart)],
935
- ["Heavy", L(I.heavyBottomUp)],
936
- ["Tree", L(I.treeTopDown)]
937
+ ], n = /* @__PURE__ */ new Map([
938
+ ["Flame", F(P.chart)],
939
+ ["Heavy", F(P.heavyBottomUp)],
940
+ ["Tree", F(P.treeTopDown)]
937
941
  ]), r = new Map(t.map((e) => [e, this.viewSelectComboBox.createOption(n.get(e), e)])), i = this.viewType.get() || t[0], a = r.get(i) || r.get(t[0]);
938
942
  this.viewSelectComboBox.select(a), this.changeView(), this.flameChart && this.flameChart.update();
939
943
  }
@@ -955,10 +959,10 @@ var Jt = /* @__PURE__ */ e({
955
959
  ];
956
960
  }
957
961
  getBottomUpProfileDataGridTree() {
958
- return this.bottomUpProfileDataGridTree ||= new nn(this.nodeFormatter, this.searchableViewInternal, this.profileInternal.root, this.adjustedTotal), this.bottomUpProfileDataGridTree;
962
+ return this.bottomUpProfileDataGridTree ||= new an(this.nodeFormatter, this.searchableViewInternal, this.profileInternal.root, this.adjustedTotal), this.bottomUpProfileDataGridTree;
959
963
  }
960
964
  getTopDownProfileDataGridTree() {
961
- return this.topDownProfileDataGridTree ||= new xn(this.nodeFormatter, this.searchableViewInternal, this.profileInternal.root, this.adjustedTotal), this.topDownProfileDataGridTree;
965
+ return this.topDownProfileDataGridTree ||= new Cn(this.nodeFormatter, this.searchableViewInternal, this.profileInternal.root, this.adjustedTotal), this.topDownProfileDataGridTree;
962
966
  }
963
967
  populateContextMenu(e, t) {
964
968
  let n = t;
@@ -1008,18 +1012,18 @@ var Jt = /* @__PURE__ */ e({
1008
1012
  throw Error("Not implemented");
1009
1013
  }
1010
1014
  ensureFlameChartCreated() {
1011
- this.flameChart || (this.dataProvider = this.createFlameChartDataProvider(), this.flameChart = new hn(this.searchableViewInternal, this.dataProvider), this.flameChart.addEventListener(Nt.ENTRY_INVOKED, (e) => {
1015
+ this.flameChart || (this.dataProvider = this.createFlameChartDataProvider(), this.flameChart = new _n(this.searchableViewInternal, this.dataProvider), this.flameChart.addEventListener(Ft.ENTRY_INVOKED, (e) => {
1012
1016
  this.onEntryInvoked(e);
1013
1017
  }));
1014
1018
  }
1015
1019
  async onEntryInvoked(e) {
1016
1020
  if (!this.dataProvider) return;
1017
- let t = e.data, n = this.dataProvider.entryNodes[t], r = this.profileHeader.debuggerModel;
1018
- if (!n || !n.scriptId || !r) return;
1019
- let i = r.scriptForId(n.scriptId);
1020
- if (!i) return;
1021
- let a = r.createRawLocation(i, n.lineNumber, n.columnNumber);
1022
- ne(await bt.instance().rawLocationToUILocation(a));
1021
+ let t = e.data, r = this.dataProvider.entryNodes[t], i = this.profileHeader.debuggerModel;
1022
+ if (!r || !r.scriptId || !i) return;
1023
+ let a = i.scriptForId(r.scriptId);
1024
+ if (!a) return;
1025
+ let o = i.createRawLocation(a, r.lineNumber, r.columnNumber), s = await Ct.instance().rawLocationToUILocation(o);
1026
+ n(s);
1023
1027
  }
1024
1028
  changeView() {
1025
1029
  if (!this.profileInternal) return;
@@ -1030,9 +1034,7 @@ var Jt = /* @__PURE__ */ e({
1030
1034
  case "Tree":
1031
1035
  this.profileDataGridTree = this.getTopDownProfileDataGridTree(), this.sortProfile(), this.visibleView = this.dataGrid.asWidget(), this.searchableElement = this.profileDataGridTree;
1032
1036
  break;
1033
- case "Heavy":
1034
- this.profileDataGridTree = this.getBottomUpProfileDataGridTree(), this.sortProfile(), this.visibleView = this.dataGrid.asWidget(), this.searchableElement = this.profileDataGridTree;
1035
- break;
1037
+ case "Heavy": this.profileDataGridTree = this.getBottomUpProfileDataGridTree(), this.sortProfile(), this.visibleView = this.dataGrid.asWidget(), this.searchableElement = this.profileDataGridTree;
1036
1038
  }
1037
1039
  let e = this.viewType.get() === "Flame";
1038
1040
  this.focusButton.setVisible(!e), this.excludeButton.setVisible(!e), this.resetButton.setVisible(!e), this.visibleView && this.visibleView.show(this.searchableViewInternal.element);
@@ -1041,11 +1043,11 @@ var Jt = /* @__PURE__ */ e({
1041
1043
  this.focusButton.setEnabled(e), this.excludeButton.setEnabled(e);
1042
1044
  }
1043
1045
  focusClicked() {
1044
- this.dataGrid.selectedNode && (this.resetButton.setEnabled(!0), this.resetButton.element.focus(), this.profileDataGridTree && this.profileDataGridTree.focus(this.dataGrid.selectedNode), this.refresh(), this.refreshVisibleData(), et.actionTaken(qe.CpuProfileNodeFocused));
1046
+ this.dataGrid.selectedNode && (this.resetButton.setEnabled(!0), this.resetButton.element.focus(), this.profileDataGridTree && this.profileDataGridTree.focus(this.dataGrid.selectedNode), this.refresh(), this.refreshVisibleData(), Re.actionTaken(rt.CpuProfileNodeFocused));
1045
1047
  }
1046
1048
  excludeClicked() {
1047
1049
  let e = this.dataGrid.selectedNode;
1048
- e && (this.resetButton.setEnabled(!0), this.resetButton.element.focus(), e.deselect(), this.profileDataGridTree && this.profileDataGridTree.exclude(e), this.refresh(), this.refreshVisibleData(), et.actionTaken(qe.CpuProfileNodeExcluded));
1050
+ e && (this.resetButton.setEnabled(!0), this.resetButton.element.focus(), e.deselect(), this.profileDataGridTree && this.profileDataGridTree.exclude(e), this.refresh(), this.refreshVisibleData(), Re.actionTaken(rt.CpuProfileNodeExcluded));
1049
1051
  }
1050
1052
  resetClicked() {
1051
1053
  this.viewSelectComboBox.element.focus(), this.resetButton.setEnabled(!1), this.profileDataGridTree && this.profileDataGridTree.restore(), this.linkifierInternal.reset(), this.refresh(), this.refreshVisibleData();
@@ -1053,11 +1055,11 @@ var Jt = /* @__PURE__ */ e({
1053
1055
  sortProfile() {
1054
1056
  if (!this.profileDataGridTree) return;
1055
1057
  let e = this.dataGrid.isSortOrderAscending(), t = this.dataGrid.sortColumnId(), n = t === "function" ? "functionName" : t || "";
1056
- this.profileDataGridTree.sort(Qt.propertyComparator(n, e), !1), this.refresh();
1058
+ this.profileDataGridTree.sort(en.propertyComparator(n, e), !1), this.refresh();
1057
1059
  }
1058
- }, Tn = /* @__PURE__ */ function(e) {
1060
+ }, Dn = /* @__PURE__ */ function(e) {
1059
1061
  return e.FLAME = "Flame", e.TREE = "Tree", e.HEAVY = "Heavy", e;
1060
- }({}), En = class extends N {
1062
+ }({}), On = class extends j {
1061
1063
  debuggerModel;
1062
1064
  fileName;
1063
1065
  jsonifiedProfile;
@@ -1065,14 +1067,14 @@ var Jt = /* @__PURE__ */ e({
1065
1067
  protocolProfileInternal;
1066
1068
  #e = Promise.withResolvers();
1067
1069
  constructor(e, t, n) {
1068
- super(t, n || L(I.profileD, { PH1: t.nextProfileUid() })), this.debuggerModel = e;
1070
+ super(t, n || F(P.profileD, { PH1: t.nextProfileUid() })), this.debuggerModel = e;
1069
1071
  }
1070
1072
  onChunkTransferred(e) {
1071
- this.jsonifiedProfile && this.updateStatus(L(I.loadingD, { PH1: m(this.jsonifiedProfile.length) }));
1073
+ this.jsonifiedProfile && this.updateStatus(F(P.loadingD, { PH1: a(this.jsonifiedProfile.length) }));
1072
1074
  }
1073
1075
  onError(e) {
1074
1076
  let t = e.error();
1075
- t && this.updateStatus(L(I.fileSReadErrorS, {
1077
+ t && this.updateStatus(F(P.fileSReadErrorS, {
1076
1078
  PH1: e.fileName(),
1077
1079
  PH2: t.message
1078
1080
  }));
@@ -1089,9 +1091,9 @@ var Jt = /* @__PURE__ */ e({
1089
1091
  }
1090
1092
  async saveToFile() {
1091
1093
  await this.#e.promise;
1092
- let e = new yt();
1094
+ let e = new St();
1093
1095
  if (!this.fileName) {
1094
- let e = c(/* @__PURE__ */ new Date()), t = this.profileType().fileExtension();
1096
+ let e = ge(/* @__PURE__ */ new Date()), t = this.profileType().fileExtension();
1095
1097
  this.fileName = `${this.profileType().typeName()}-${e}${t}`;
1096
1098
  }
1097
1099
  if (!await e.open(this.fileName) || !this.tempFile) return;
@@ -1099,36 +1101,36 @@ var Jt = /* @__PURE__ */ e({
1099
1101
  t && await e.write(t), e.close();
1100
1102
  }
1101
1103
  async loadFromFile(e) {
1102
- this.updateStatus(L(I.loading), !0);
1103
- let t = new vt(e, 1e7, this.onChunkTransferred.bind(this));
1104
- if (this.jsonifiedProfile = "", !await t.read(this)) return this.onError(t), Error(L(I.failedToReadFile));
1105
- this.updateStatus(L(I.parsing), !0);
1104
+ this.updateStatus(F(P.loading), !0);
1105
+ let t = new xt(e, 1e7, this.onChunkTransferred.bind(this));
1106
+ if (this.jsonifiedProfile = "", !await t.read(this)) return this.onError(t), Error(F(P.failedToReadFile));
1107
+ this.updateStatus(F(P.parsing), !0);
1106
1108
  let n = null;
1107
1109
  try {
1108
- this.profile = JSON.parse(this.jsonifiedProfile), this.setProfile(this.profile), this.updateStatus(L(I.loaded), !1);
1110
+ this.profile = JSON.parse(this.jsonifiedProfile), this.setProfile(this.profile), this.updateStatus(F(P.loaded), !1);
1109
1111
  } catch (e) {
1110
1112
  n = e, this.profileType().removeProfile(this);
1111
1113
  }
1112
1114
  return this.jsonifiedProfile = null, this.profileType().profileBeingRecorded() === this && this.profileType().setProfileBeingRecorded(null), n;
1113
1115
  }
1114
1116
  setProtocolProfile(e) {
1115
- this.setProfile(e), this.protocolProfileInternal = e, this.tempFile = new xt(), this.tempFile.write([JSON.stringify(e)]), this.#e.resolve();
1117
+ this.setProfile(e), this.protocolProfileInternal = e, this.tempFile = new wt(), this.tempFile.write([JSON.stringify(e)]), this.#e.resolve();
1116
1118
  }
1117
- }, R = {
1119
+ }, I = {
1118
1120
  startDetachedElements: "Obtain detached elements",
1119
1121
  detachedElementsTitle: "Detached elements",
1120
1122
  detachedElementsDescription: "Detached elements shows objects that are retained by a JS reference.",
1121
1123
  detachedElementProfile: "Detached elements {PH1}"
1122
- }, Dn = v("panels/profiler/HeapDetachedElementsView.ts", R), z = g.bind(void 0, Dn), On = class extends Ye {
1124
+ }, kn = o("panels/profiler/HeapDetachedElementsView.ts", I), L = r.bind(void 0, kn), An = class extends Xe {
1123
1125
  selectedSizeText;
1124
1126
  dataGrid;
1125
1127
  profile;
1126
1128
  parentDataDisplayDelegate;
1127
1129
  constructor(e, t) {
1128
1130
  super({
1129
- title: z(R.detachedElementsTitle),
1131
+ title: L(I.detachedElementsTitle),
1130
1132
  viewId: "detached-elements"
1131
- }), this.element.classList.add("detached-elements-view"), this.profile = t, this.parentDataDisplayDelegate = e, this.selectedSizeText = new ut(), this.dataGrid = new sn(), this.populateElementsGrid(t.detachedElements), this.dataGrid.asWidget().show(this.element);
1133
+ }), this.element.classList.add("detached-elements-view"), this.profile = t, this.parentDataDisplayDelegate = e, this.selectedSizeText = new ut(), this.dataGrid = new ln(), this.populateElementsGrid(t.detachedElements), this.dataGrid.asWidget().show(this.element);
1132
1134
  }
1133
1135
  showProfile(e) {
1134
1136
  return this.parentDataDisplayDelegate.showProfile(e);
@@ -1141,37 +1143,37 @@ var Jt = /* @__PURE__ */ e({
1141
1143
  }
1142
1144
  populateElementsGrid(e) {
1143
1145
  if (!e) return;
1144
- let t = this.profile.heapProfilerModel()?.target().model(ot);
1145
- if (t) for (let n of e) this.dataGrid.rootNode().appendChild(new cn(n, t));
1146
+ let t = this.profile.heapProfilerModel()?.target().model(Ie);
1147
+ if (t) for (let n of e) this.dataGrid.rootNode().appendChild(new un(n, t));
1146
1148
  }
1147
1149
  async toolbarItems() {
1148
1150
  return [...await super.toolbarItems(), this.selectedSizeText];
1149
1151
  }
1150
- }, kn = class extends _(dn) {
1152
+ }, jn = class extends t(pn) {
1151
1153
  constructor(e, t) {
1152
- super(e || z(R.detachedElementsTitle), t || z(R.detachedElementsTitle));
1154
+ super(e || L(I.detachedElementsTitle), t || L(I.detachedElementsTitle));
1153
1155
  }
1154
1156
  profileBeingRecorded() {
1155
1157
  return super.profileBeingRecorded();
1156
1158
  }
1157
1159
  get buttonTooltip() {
1158
- return z(R.startDetachedElements);
1160
+ return L(I.startDetachedElements);
1159
1161
  }
1160
1162
  buttonClicked() {
1161
1163
  return this.getDetachedElements(), !1;
1162
1164
  }
1163
1165
  async getDetachedElements() {
1164
1166
  if (this.profileBeingRecorded()) return;
1165
- let e = T.instance().flavor(y), t = e?.target(), n = t?.model(ot);
1167
+ let e = x.instance().flavor(_), t = e?.target(), n = t?.model(Ie);
1166
1168
  if (!e || !t || !n) return;
1167
- let r = await n.getDetachedDOMNodes(), i = new An(e, this, r);
1168
- this.addProfile(i), this.dispatchEventToListeners(F.PROFILE_COMPLETE, i);
1169
+ let r = await n.getDetachedDOMNodes(), i = new Mn(e, this, r);
1170
+ this.addProfile(i), this.dispatchEventToListeners(N.PROFILE_COMPLETE, i);
1169
1171
  }
1170
1172
  get treeItemTitle() {
1171
- return z(R.detachedElementsTitle);
1173
+ return L(I.detachedElementsTitle);
1172
1174
  }
1173
1175
  get description() {
1174
- return z(R.detachedElementsDescription);
1176
+ return L(I.detachedElementsDescription);
1175
1177
  }
1176
1178
  isInstantProfile() {
1177
1179
  return !0;
@@ -1182,12 +1184,12 @@ var Jt = /* @__PURE__ */ e({
1182
1184
  e.Events = /* @__PURE__ */ function(e) {
1183
1185
  return e.RECORDING_STOPPED = "RecordingStopped", e.STATS_UPDATE = "StatsUpdate", e.DETACHED_ELEMENTS_OBTAINED = "DetachedElementsObtained", e;
1184
1186
  }({});
1185
- })(kn ||= {});
1186
- var An = class extends En {
1187
+ })(jn ||= {});
1188
+ var Mn = class extends On {
1187
1189
  #e;
1188
1190
  detachedElements;
1189
1191
  constructor(e, t, n, r) {
1190
- super(e?.debuggerModel() ?? null, t, r || z(R.detachedElementProfile, { PH1: t.nextProfileUid() })), this.detachedElements = n, this.#e = e;
1192
+ super(e?.debuggerModel() ?? null, t, r || L(I.detachedElementProfile, { PH1: t.nextProfileUid() })), this.detachedElements = n, this.#e = e;
1191
1193
  }
1192
1194
  heapProfilerModel() {
1193
1195
  return this.#e;
@@ -1195,13 +1197,13 @@ var An = class extends En {
1195
1197
  profileType() {
1196
1198
  return super.profileType();
1197
1199
  }
1198
- }, jn = "/*\n * Copyright (C) 2009 Google Inc. All rights reserved.\n * Copyright (C) 2010 Apple Inc. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are\n * met:\n *\n * * Redistributions of source code must retain the above copyright\n * notice, this list of conditions and the following disclaimer.\n * * Redistributions in binary form must reproduce the above\n * copyright notice, this list of conditions and the following disclaimer\n * in the documentation and/or other materials provided with the\n * distribution.\n * * Neither the name of Google Inc. nor the names of its\n * contributors may be used to endorse or promote products derived from\n * this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\n.heap-snapshot-view {\n overflow: hidden;\n}\n\n.heap-snapshot-view .data-grid {\n border: none;\n flex: auto;\n\n .data-container {\n overflow-x: scroll;\n }\n\n .corner {\n width: 100%;\n }\n}\n\n.heap-snapshot-view .data-grid tr:empty {\n height: 16px;\n visibility: hidden;\n}\n\n.heap-snapshot-view .data-grid span.percent-column {\n width: 35px !important; /* stylelint-disable-line declaration-no-important */\n}\n\n.heap-snapshot-view .object-value-object,\n.object-value-node {\n display: inline;\n position: static;\n}\n\n.heap-snapshot-view .object-value-string {\n white-space: nowrap;\n}\n\n.heap-snapshot-view td.object-column .objects-count {\n margin-left: 10px;\n font-size: 11px;\n color: var(--sys-color-token-subtle);\n}\n\n.heap-snapshot-view tr:not(.selected) .object-value-id {\n color: var(--sys-color-token-subtle);\n}\n\n.profile-view .heap-tracking-overview {\n flex: 0 0 80px;\n height: 80px;\n}\n\n.heap-snapshot-view .retaining-paths-view {\n overflow: hidden;\n}\n\n.heap-snapshot-view .heap-snapshot-view-resizer {\n background-color: var(--sys-color-surface1);\n display: flex;\n flex: 0 0 21px;\n}\n\n.heap-snapshot-view td.object-column > div > span {\n margin-right: 6px;\n}\n\n.heap-snapshot-view .heap-snapshot-view-resizer .title {\n flex: 0 1 auto;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.heap-snapshot-view .heap-snapshot-view-resizer .verticalResizerIcon {\n /* stylelint-disable-next-line custom-property-pattern */\n background-image: var(--image-file-toolbarResizerVertical);\n background-repeat: no-repeat;\n background-position: center;\n flex: 0 0 28px;\n margin-left: auto;\n}\n\n.heap-snapshot-view .heap-snapshot-view-resizer .title > span {\n display: inline-block;\n padding-top: 3px;\n vertical-align: middle;\n margin-left: 4px;\n margin-right: 8px;\n}\n\n.heap-snapshot-view .heap-snapshot-view-resizer * {\n pointer-events: none;\n}\n\n.heap-snapshot-view tr:not(.selected) td.object-column span.highlight {\n background-color: inherit;\n}\n\n.heap-snapshot-view td.object-column span.heap-object-source-link {\n float: right;\n\n & > button.text-button.devtools-link {\n background-color: inherit;\n outline-offset: calc(-1 * var(--sys-size-1));\n padding-inline: var(--sys-size-2) !important; /* stylelint-disable-line declaration-no-important */\n }\n}\n\n.heap-snapshot-view td.object-column span.heap-object-source-link:empty {\n animation: fadeInOut 2s infinite;\n}\n\n.heap-snapshot-view td.object-column span.heap-object-source-link:empty::before {\n content: \"\\b7\\b7\";\n font-weight: bold;\n}\n\n@keyframes fadeInOut {\n 0% {\n transform: rotate(0);\n }\n\n 50% {\n transform: rotate(0.5turn);\n }\n\n 100% {\n transform: rotate(1turn);\n }\n}\n\n.heap-object-tag {\n height: 14px;\n width: 14px;\n}\n\n.heap-snapshot-view tr:not(.selected) td.object-column span.heap-object-tag,\n.heap-snapshot-view tr:not(.selected) td.object-column span.grayed {\n color: var(--sys-color-token-subtle);\n}\n\n.heap-snapshot-view tr:not(.selected) .cycled-ancestor-node,\n.heap-snapshot-view tr:not(.selected) .unreachable-ancestor-node {\n opacity: 60%;\n}\n\n#heap-recording-view .profile-view {\n top: 80px;\n}\n\n.heap-overview-container {\n overflow: hidden;\n position: absolute;\n top: 0;\n width: 100%;\n height: 80px;\n}\n\n#heap-recording-overview-grid .resources-dividers-label-bar {\n pointer-events: auto;\n}\n\n.heap-recording-overview-canvas {\n position: absolute;\n inset: 20px 0 0;\n}\n\n.heap-snapshot-statistics-view {\n overflow: auto;\n}\n\n.heap-snapshot-stats-pie-chart {\n margin: 12px 30px;\n flex-shrink: 0;\n}\n\n.heap-allocation-stack .stack-frame {\n display: flex;\n justify-content: space-between;\n border-bottom: 1px solid var(--sys-color-divider);\n padding: 2px;\n}\n\n.heap-allocation-stack .stack-frame:focus {\n background-color: var(--sys-color-tonal-container);\n color: var(--sys-color-on-tonal-container);\n}\n\n.heap-allocation-stack .stack-frame:hover:not(:focus) {\n background-color: var(--sys-color-state-hover-on-subtle);\n}\n\n.heap-allocation-stack .stack-frame .devtools-link {\n color: var(--sys-color-primary);\n}\n\n.no-heap-allocation-stack {\n padding: 5px;\n}\n\n@media (forced-colors: active) {\n .cycled-ancestor-node {\n opacity: 100%;\n }\n\n .heap-snapshot-view td.object-column .objects-count,\n .heap-snapshot-view tr:not(.selected) td.object-column span.heap-object-tag,\n .heap-snapshot-view tr:not(.selected) .object-value-id {\n color: ButtonText;\n }\n}\n\n.detached-elements-view {\n overflow: auto;\n}\n", Mn = /* @__PURE__ */ e({
1199
- Events: () => Pn,
1200
- HeapTimelineOverview: () => Nn,
1201
- OverviewCalculator: () => Ln,
1202
- Samples: () => In,
1203
- SmoothScale: () => Fn
1204
- }), Nn = class extends _(w) {
1200
+ }, Nn = "/*\n * Copyright (C) 2009 Google Inc. All rights reserved.\n * Copyright (C) 2010 Apple Inc. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are\n * met:\n *\n * * Redistributions of source code must retain the above copyright\n * notice, this list of conditions and the following disclaimer.\n * * Redistributions in binary form must reproduce the above\n * copyright notice, this list of conditions and the following disclaimer\n * in the documentation and/or other materials provided with the\n * distribution.\n * * Neither the name of Google Inc. nor the names of its\n * contributors may be used to endorse or promote products derived from\n * this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\n.heap-snapshot-view {\n overflow: hidden;\n}\n\n.heap-snapshot-view .data-grid {\n border: none;\n flex: auto;\n\n .data-container {\n overflow-x: scroll;\n }\n\n .corner {\n width: 100%;\n }\n}\n\n.heap-snapshot-view .data-grid tr:empty {\n height: 16px;\n visibility: hidden;\n}\n\n.heap-snapshot-view .data-grid span.percent-column {\n width: 35px !important; /* stylelint-disable-line declaration-no-important */\n}\n\n.heap-snapshot-view .object-value-object,\n.object-value-node {\n display: inline;\n position: static;\n}\n\n.heap-snapshot-view .object-value-string {\n white-space: nowrap;\n}\n\n.heap-snapshot-view td.object-column .objects-count {\n margin-left: 10px;\n font-size: 11px;\n color: var(--sys-color-token-subtle);\n}\n\n.heap-snapshot-view tr:not(.selected) .object-value-id {\n color: var(--sys-color-token-subtle);\n}\n\n.profile-view .heap-tracking-overview {\n flex: 0 0 80px;\n height: 80px;\n}\n\n.heap-snapshot-view .retaining-paths-view {\n overflow: hidden;\n}\n\n.heap-snapshot-view .heap-snapshot-view-resizer {\n background-color: var(--sys-color-surface1);\n display: flex;\n flex: 0 0 21px;\n}\n\n.heap-snapshot-view td.object-column > div > span {\n margin-right: 6px;\n}\n\n.heap-snapshot-view .heap-snapshot-view-resizer .title {\n flex: 0 1 auto;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.heap-snapshot-view .heap-snapshot-view-resizer .verticalResizerIcon {\n /* stylelint-disable-next-line custom-property-pattern */\n background-image: var(--image-file-toolbarResizerVertical);\n background-repeat: no-repeat;\n background-position: center;\n flex: 0 0 28px;\n margin-left: auto;\n}\n\n.heap-snapshot-view .heap-snapshot-view-resizer .title > span {\n display: inline-block;\n padding-top: 3px;\n vertical-align: middle;\n margin-left: 4px;\n margin-right: 8px;\n}\n\n.heap-snapshot-view .heap-snapshot-view-resizer * {\n pointer-events: none;\n}\n\n.heap-snapshot-view tr:not(.selected) td.object-column span.highlight {\n background-color: inherit;\n}\n\n.heap-snapshot-view td.object-column span.heap-object-source-link {\n float: right;\n\n & > button.text-button.devtools-link {\n background-color: inherit;\n outline-offset: calc(-1 * var(--sys-size-1));\n padding-inline: var(--sys-size-2) !important; /* stylelint-disable-line declaration-no-important */\n }\n}\n\n.heap-snapshot-view td.object-column span.heap-object-source-link:empty {\n animation: fadeInOut 2s infinite;\n}\n\n.heap-snapshot-view td.object-column span.heap-object-source-link:empty::before {\n content: \"\\b7\\b7\";\n font-weight: bold;\n}\n\n@keyframes fadeInOut {\n 0% {\n transform: rotate(0);\n }\n\n 50% {\n transform: rotate(0.5turn);\n }\n\n 100% {\n transform: rotate(1turn);\n }\n}\n\n.heap-object-tag {\n height: 14px;\n width: 14px;\n}\n\n.heap-snapshot-view tr:not(.selected) td.object-column span.heap-object-tag,\n.heap-snapshot-view tr:not(.selected) td.object-column span.grayed {\n color: var(--sys-color-token-subtle);\n}\n\n.heap-snapshot-view tr:not(.selected) .cycled-ancestor-node,\n.heap-snapshot-view tr:not(.selected) .unreachable-ancestor-node {\n opacity: 60%;\n}\n\n#heap-recording-view .profile-view {\n top: 80px;\n}\n\n.heap-overview-container {\n overflow: hidden;\n position: absolute;\n top: 0;\n width: 100%;\n height: 80px;\n}\n\n#heap-recording-overview-grid .resources-dividers-label-bar {\n pointer-events: auto;\n}\n\n.heap-recording-overview-canvas {\n position: absolute;\n inset: 20px 0 0;\n}\n\n.heap-snapshot-statistics-view {\n overflow: auto;\n}\n\n.heap-snapshot-stats-pie-chart {\n margin: 12px 30px;\n flex-shrink: 0;\n}\n\n.heap-allocation-stack .stack-frame {\n display: flex;\n justify-content: space-between;\n border-bottom: 1px solid var(--sys-color-divider);\n padding: 2px;\n}\n\n.heap-allocation-stack .stack-frame:focus {\n background-color: var(--sys-color-tonal-container);\n color: var(--sys-color-on-tonal-container);\n}\n\n.heap-allocation-stack .stack-frame:hover:not(:focus) {\n background-color: var(--sys-color-state-hover-on-subtle);\n}\n\n.heap-allocation-stack .stack-frame .devtools-link {\n color: var(--sys-color-primary);\n}\n\n.no-heap-allocation-stack {\n padding: 5px;\n}\n\n@media (forced-colors: active) {\n .cycled-ancestor-node {\n opacity: 100%;\n }\n\n .heap-snapshot-view td.object-column .objects-count,\n .heap-snapshot-view tr:not(.selected) td.object-column span.heap-object-tag,\n .heap-snapshot-view tr:not(.selected) .object-value-id {\n color: ButtonText;\n }\n}\n\n.detached-elements-view {\n overflow: auto;\n}\n", Pn = /* @__PURE__ */ e({
1201
+ Events: () => In,
1202
+ HeapTimelineOverview: () => Fn,
1203
+ OverviewCalculator: () => zn,
1204
+ Samples: () => Rn,
1205
+ SmoothScale: () => Ln
1206
+ }), Fn = class extends t(b) {
1205
1207
  overviewCalculator;
1206
1208
  overviewContainer;
1207
1209
  overviewGrid;
@@ -1217,7 +1219,7 @@ var An = class extends En {
1217
1219
  updateTimerId;
1218
1220
  windowWidthRatio;
1219
1221
  constructor() {
1220
- super({ jslog: `${Qe("heap-tracking-overview")}` }), this.element.id = "heap-recording-view", this.element.classList.add("heap-tracking-overview"), this.overviewCalculator = new Ln(), this.overviewContainer = this.element.createChild("div", "heap-overview-container"), this.overviewGrid = new Rt("heap-recording", this.overviewCalculator), this.overviewGrid.element.classList.add("fill"), this.overviewCanvas = this.overviewContainer.createChild("canvas", "heap-recording-overview-canvas"), this.overviewContainer.appendChild(this.overviewGrid.element), this.overviewGrid.addEventListener(zt.WINDOW_CHANGED, this.onWindowChanged, this), this.windowLeftRatio = 0, this.windowRightRatio = 1, this.overviewGrid.setWindowRatio(this.windowLeftRatio, this.windowRightRatio), this.yScale = new Fn(), this.xScale = new Fn(), this.profileSamples = new In(), D.instance().addEventListener(Tt.eventName, () => this.update());
1222
+ super({ jslog: `${tt("heap-tracking-overview")}` }), this.element.id = "heap-recording-view", this.element.classList.add("heap-tracking-overview"), this.overviewCalculator = new zn(), this.overviewContainer = this.element.createChild("div", "heap-overview-container"), this.overviewGrid = new Bt("heap-recording", this.overviewCalculator), this.overviewGrid.element.classList.add("fill"), this.overviewCanvas = this.overviewContainer.createChild("canvas", "heap-recording-overview-canvas"), this.overviewContainer.appendChild(this.overviewGrid.element), this.overviewGrid.addEventListener(Vt.WINDOW_CHANGED, this.onWindowChanged, this), this.windowLeftRatio = 0, this.windowRightRatio = 1, this.overviewGrid.setWindowRatio(this.windowLeftRatio, this.windowRightRatio), this.yScale = new Ln(), this.xScale = new Ln(), this.profileSamples = new Rn(), w.instance().addEventListener(bt.eventName, () => this.update());
1221
1223
  }
1222
1224
  start() {
1223
1225
  this.running = !0;
@@ -1234,40 +1236,40 @@ var An = class extends En {
1234
1236
  }
1235
1237
  drawOverviewCanvas(e, t) {
1236
1238
  if (!this.profileSamples) return;
1237
- let n = this.profileSamples, r = n.sizes, i = n.max, a = n.timestamps, o = a[0], s = this.xScale.nextScale(e / n.totalTime), c = 0;
1238
- function l(e, t) {
1239
+ let n = this.profileSamples, r = n.sizes, i = n.max, o = n.timestamps, s = o[0], c = this.xScale.nextScale(e / n.totalTime), l = 0;
1240
+ function u(e, t) {
1239
1241
  let n = 0, r = 0;
1240
- for (let i = 1; i < a.length; ++i) {
1241
- let c = Math.floor((a[i] - o) * s);
1242
- c !== r && (n && t(r, n), n = 0, r = c), n += e[i];
1242
+ for (let i = 1; i < o.length; ++i) {
1243
+ let a = Math.floor((o[i] - s) * c);
1244
+ a !== r && (n && t(r, n), n = 0, r = a), n += e[i];
1243
1245
  }
1244
1246
  t(r, n);
1245
1247
  }
1246
- function u(e, t) {
1247
- c = Math.max(c, t);
1248
+ function d(e, t) {
1249
+ l = Math.max(l, t);
1248
1250
  }
1249
- l(r, u);
1250
- let d = this.yScale.nextScale(c ? t / (c * 1.1) : 0);
1251
+ u(r, d);
1252
+ let f = this.yScale.nextScale(l ? t / (l * 1.1) : 0);
1251
1253
  this.overviewCanvas.width = e * window.devicePixelRatio, this.overviewCanvas.height = t * window.devicePixelRatio, this.overviewCanvas.style.width = e + "px", this.overviewCanvas.style.height = t + "px";
1252
- let f = this.overviewCanvas.getContext("2d");
1253
- if (!f) throw Error("Failed to get canvas context");
1254
- let p = f;
1254
+ let ee = this.overviewCanvas.getContext("2d");
1255
+ if (!ee) throw Error("Failed to get canvas context");
1256
+ let p = ee;
1255
1257
  if (p.scale(window.devicePixelRatio, window.devicePixelRatio), this.running) {
1256
- p.beginPath(), p.lineWidth = 2, p.strokeStyle = D.instance().getComputedValue("--sys-color-neutral-outline");
1257
- let e = (Date.now() - o) * s;
1258
+ p.beginPath(), p.lineWidth = 2, p.strokeStyle = w.instance().getComputedValue("--sys-color-neutral-outline");
1259
+ let e = (Date.now() - s) * c;
1258
1260
  p.moveTo(e, t - 1), p.lineTo(e, 0), p.stroke(), p.closePath();
1259
1261
  }
1260
- let ee = 0, h;
1261
- if (d) {
1262
- let n = (t - 14) / d;
1263
- h = 1024 ** Math.floor(Math.log(n) / Math.log(1024)), h *= 10 ** Math.floor(Math.log(n / h) / Math.LN10), h * 5 <= n && (h *= 5), ee = Math.round(t - h * d - .5) + .5, p.beginPath(), p.lineWidth = 1, p.strokeStyle = D.instance().getComputedValue("--sys-color-on-surface-subtle"), p.moveTo(0, ee), p.lineTo(e, ee), p.stroke(), p.closePath();
1262
+ let m = 0, h;
1263
+ if (f) {
1264
+ let n = (t - 14) / f;
1265
+ h = 1024 ** Math.floor(Math.log(n) / Math.log(1024)), h *= 10 ** Math.floor(Math.log(n / h) / Math.LN10), h * 5 <= n && (h *= 5), m = Math.round(t - h * f - .5) + .5, p.beginPath(), p.lineWidth = 1, p.strokeStyle = w.instance().getComputedValue("--sys-color-on-surface-subtle"), p.moveTo(0, m), p.lineTo(e, m), p.stroke(), p.closePath();
1264
1266
  }
1265
1267
  function te(e, n) {
1266
- p.moveTo(e, t - 1), p.lineTo(e, Math.round(t - n * d - 1));
1268
+ p.moveTo(e, t - 1), p.lineTo(e, Math.round(t - n * f - 1));
1267
1269
  }
1268
- if (p.beginPath(), p.lineWidth = 2, p.strokeStyle = D.instance().getComputedValue("--sys-color-neutral-outline"), l(i, te), p.stroke(), p.closePath(), p.beginPath(), p.lineWidth = 2, p.strokeStyle = D.instance().getComputedValue("--sys-color-primary-bright"), l(r, te), p.stroke(), p.closePath(), h) {
1269
- let e = m(h), t = ee - .5, n = 8 + p.measureText(e).width;
1270
- p.beginPath(), p.textBaseline = "bottom", p.font = "10px " + window.getComputedStyle(this.element, null).getPropertyValue("font-family"), p.fillStyle = D.instance().getComputedValue("--color-background-opacity-80"), p.fillRect(0, t - 14, n, 14), p.fillStyle = D.instance().getComputedValue("--sys-color-on-surface-subtle"), p.fillText(e, 4, t), p.fill(), p.closePath();
1270
+ if (p.beginPath(), p.lineWidth = 2, p.strokeStyle = w.instance().getComputedValue("--sys-color-neutral-outline"), u(i, te), p.stroke(), p.closePath(), p.beginPath(), p.lineWidth = 2, p.strokeStyle = w.instance().getComputedValue("--sys-color-primary-bright"), u(r, te), p.stroke(), p.closePath(), h) {
1271
+ let e = a(h), t = m - .5, n = 8 + p.measureText(e).width;
1272
+ p.beginPath(), p.textBaseline = "bottom", p.font = "10px " + window.getComputedStyle(this.element, null).getPropertyValue("font-family"), p.fillStyle = w.instance().getComputedValue("--color-background-opacity-80"), p.fillRect(0, t - 14, n, 14), p.fillStyle = w.instance().getComputedValue("--sys-color-on-surface-subtle"), p.fillText(e, 4, t), p.fill(), p.closePath();
1271
1273
  }
1272
1274
  }
1273
1275
  onResize() {
@@ -1289,18 +1291,18 @@ var An = class extends En {
1289
1291
  this.updateGridTimerId = 0, this.updateBoundaries();
1290
1292
  let e = this.profileSamples.ids;
1291
1293
  if (!e.length) return;
1292
- let t = this.profileSamples.timestamps, n = this.profileSamples.sizes, r = t[0], a = this.profileSamples.totalTime, o = r + a * this.windowLeftRatio, c = r + a * this.windowRightRatio, l = u(t, o, s), d = i(t, c, s), f = 0;
1293
- for (let e = l; e < d; ++e) f += n[e];
1294
- let p = l > 0 ? e[l - 1] : 0, m = d < e.length ? e[d] : Infinity;
1294
+ let t = this.profileSamples.timestamps, n = this.profileSamples.sizes, r = t[0], i = this.profileSamples.totalTime, a = r + i * this.windowLeftRatio, o = r + i * this.windowRightRatio, s = te(t, a, u), c = p(t, o, u), l = 0;
1295
+ for (let e = s; e < c; ++e) l += n[e];
1296
+ let d = s > 0 ? e[s - 1] : 0, f = c < e.length ? e[c] : Infinity;
1295
1297
  this.dispatchEventToListeners("IdsRangeChanged", {
1296
- minId: p,
1297
- maxId: m,
1298
- size: f
1298
+ minId: d,
1299
+ maxId: f,
1300
+ size: l
1299
1301
  });
1300
1302
  }
1301
- }, Pn = /* @__PURE__ */ function(e) {
1303
+ }, In = /* @__PURE__ */ function(e) {
1302
1304
  return e.IDS_RANGE_CHANGED = "IdsRangeChanged", e;
1303
- }({}), Fn = class {
1305
+ }({}), Ln = class {
1304
1306
  lastUpdate;
1305
1307
  currentScale;
1306
1308
  constructor() {
@@ -1311,11 +1313,11 @@ var An = class extends En {
1311
1313
  let t = Date.now(), n = t - this.lastUpdate;
1312
1314
  this.lastUpdate = t;
1313
1315
  let r = 20 ** (n / 1e3), i = e / this.currentScale;
1314
- this.currentScale *= o(i, 1 / r, r);
1316
+ this.currentScale *= le(i, 1 / r, r);
1315
1317
  } else this.currentScale = e;
1316
1318
  return this.currentScale;
1317
1319
  }
1318
- }, In = class {
1320
+ }, Rn = class {
1319
1321
  sizes;
1320
1322
  ids;
1321
1323
  timestamps;
@@ -1324,7 +1326,7 @@ var An = class extends En {
1324
1326
  constructor() {
1325
1327
  this.sizes = [], this.ids = [], this.timestamps = [], this.max = [], this.totalTime = 3e4;
1326
1328
  }
1327
- }, Ln = class {
1329
+ }, zn = class {
1328
1330
  maximumBoundaries;
1329
1331
  minimumBoundaries;
1330
1332
  xScaleFactor;
@@ -1338,7 +1340,7 @@ var An = class extends En {
1338
1340
  return (e - this.minimumBoundaries) * this.xScaleFactor;
1339
1341
  }
1340
1342
  formatValue(e, t) {
1341
- return oe(e / 1e3, !!t);
1343
+ return i(e / 1e3, !!t);
1342
1344
  }
1343
1345
  maximumBoundary() {
1344
1346
  return this.maximumBoundaries;
@@ -1352,16 +1354,16 @@ var An = class extends En {
1352
1354
  boundarySpan() {
1353
1355
  return this.maximumBoundaries - this.minimumBoundaries;
1354
1356
  }
1355
- }, Rn = /* @__PURE__ */ e({
1356
- HeapFlameChartDataProvider: () => Yn,
1357
- HeapProfileView: () => Vn,
1358
- NodeFormatter: () => Jn,
1359
- SamplingHeapProfileHeader: () => Gn,
1360
- SamplingHeapProfileModel: () => qn,
1361
- SamplingHeapProfileNode: () => Kn,
1362
- SamplingHeapProfileType: () => Wn,
1363
- SamplingHeapProfileTypeBase: () => Hn
1364
- }), B = {
1357
+ }, Bn = /* @__PURE__ */ e({
1358
+ HeapFlameChartDataProvider: () => Zn,
1359
+ HeapProfileView: () => Un,
1360
+ NodeFormatter: () => Xn,
1361
+ SamplingHeapProfileHeader: () => qn,
1362
+ SamplingHeapProfileModel: () => Yn,
1363
+ SamplingHeapProfileNode: () => Jn,
1364
+ SamplingHeapProfileType: () => Kn,
1365
+ SamplingHeapProfileTypeBase: () => Wn
1366
+ }), R = {
1365
1367
  selectedSizeS: "Selected size: {PH1}",
1366
1368
  selfSizeBytes: "Self size",
1367
1369
  totalSizeBytes: "Total size",
@@ -1382,11 +1384,11 @@ var An = class extends En {
1382
1384
  totalSize: "Total size",
1383
1385
  url: "URL",
1384
1386
  samplingHeapProfilerTimeline: "Sampling heap profiler timeline"
1385
- }, zn = v("panels/profiler/HeapProfileView.ts", B), V = g.bind(void 0, zn);
1386
- function Bn(e) {
1387
+ }, Vn = o("panels/profiler/HeapProfileView.ts", R), z = r.bind(void 0, Vn);
1388
+ function Hn(e) {
1387
1389
  return e.profile || e.protocolProfile();
1388
1390
  }
1389
- var Vn = class extends wn {
1391
+ var Un = class extends En {
1390
1392
  profileHeader;
1391
1393
  profileType;
1392
1394
  adjustedTotal;
@@ -1399,10 +1401,10 @@ var Vn = class extends wn {
1399
1401
  lastOrdinal;
1400
1402
  timelineOverview;
1401
1403
  constructor(e) {
1402
- super(), this.profileHeader = e, this.profileType = e.profileType(), this.initialize(new Jn(this));
1403
- let t = new qn(Bn(e));
1404
- this.adjustedTotal = t.total, this.setProfile(t), this.selectedSizeText = new ut(), this.timestamps = [], this.sizes = [], this.max = [], this.ordinals = [], this.totalTime = 0, this.lastOrdinal = 0, this.timelineOverview = new Nn(), this.profileType.hasTemporaryView() && (this.timelineOverview.addEventListener(Pn.IDS_RANGE_CHANGED, this.onIdsRangeChanged.bind(this)), this.timelineOverview.show(this.element, this.element.firstChild), this.timelineOverview.start(), this.profileType.addEventListener(Wn.Events.STATS_UPDATE, this.onStatsUpdate, this), this.profileType.once(F.PROFILE_COMPLETE).then(() => {
1405
- this.profileType.removeEventListener(Wn.Events.STATS_UPDATE, this.onStatsUpdate, this), this.timelineOverview.stop(), this.timelineOverview.updateGrid();
1404
+ super(), this.profileHeader = e, this.profileType = e.profileType(), this.initialize(new Xn(this));
1405
+ let t = new Yn(Hn(e));
1406
+ this.adjustedTotal = t.total, this.setProfile(t), this.selectedSizeText = new ut(), this.timestamps = [], this.sizes = [], this.max = [], this.ordinals = [], this.totalTime = 0, this.lastOrdinal = 0, this.timelineOverview = new Fn(), this.profileType.hasTemporaryView() && (this.timelineOverview.addEventListener(In.IDS_RANGE_CHANGED, this.onIdsRangeChanged.bind(this)), this.timelineOverview.show(this.element, this.element.firstChild), this.timelineOverview.start(), this.profileType.addEventListener(Kn.Events.STATS_UPDATE, this.onStatsUpdate, this), this.profileType.once(N.PROFILE_COMPLETE).then(() => {
1407
+ this.profileType.removeEventListener(Kn.Events.STATS_UPDATE, this.onStatsUpdate, this), this.timelineOverview.stop(), this.timelineOverview.updateGrid();
1406
1408
  }));
1407
1409
  }
1408
1410
  async toolbarItems() {
@@ -1410,10 +1412,10 @@ var Vn = class extends wn {
1410
1412
  }
1411
1413
  onIdsRangeChanged(e) {
1412
1414
  let { minId: t, maxId: n } = e.data;
1413
- this.selectedSizeText.setText(V(B.selectedSizeS, { PH1: m(e.data.size) })), this.setSelectionRange(t, n);
1415
+ this.selectedSizeText.setText(z(R.selectedSizeS, { PH1: a(e.data.size) })), this.setSelectionRange(t, n);
1414
1416
  }
1415
1417
  setSelectionRange(e, t) {
1416
- let n = new qn(Bn(this.profileHeader), e, t);
1418
+ let n = new Yn(Hn(this.profileHeader), e, t);
1417
1419
  this.adjustedTotal = n.total, this.setProfile(n);
1418
1420
  }
1419
1421
  onStatsUpdate(e) {
@@ -1421,7 +1423,7 @@ var Vn = class extends wn {
1421
1423
  this.totalTime || (this.timestamps = [], this.sizes = [], this.max = [], this.ordinals = [], this.totalTime = 3e4, this.lastOrdinal = 0), this.sizes.fill(0), this.sizes.push(0), this.timestamps.push(Date.now()), this.ordinals.push(this.lastOrdinal + 1);
1422
1424
  for (let e of t?.samples ?? []) {
1423
1425
  this.lastOrdinal = Math.max(this.lastOrdinal, e.ordinal);
1424
- let t = i(this.ordinals, e.ordinal, s) - 1;
1426
+ let t = p(this.ordinals, e.ordinal, u) - 1;
1425
1427
  this.sizes[t] += e.size;
1426
1428
  }
1427
1429
  this.max.push(this.sizes[this.sizes.length - 1]), this.timestamps[this.timestamps.length - 1] - this.timestamps[0] > this.totalTime && (this.totalTime *= 2);
@@ -1436,15 +1438,15 @@ var Vn = class extends wn {
1436
1438
  }
1437
1439
  columnHeader(e) {
1438
1440
  switch (e) {
1439
- case "self": return V(B.selfSizeBytes);
1440
- case "total": return V(B.totalSizeBytes);
1441
+ case "self": return z(R.selfSizeBytes);
1442
+ case "total": return z(R.totalSizeBytes);
1441
1443
  }
1442
1444
  return "";
1443
1445
  }
1444
1446
  createFlameChartDataProvider() {
1445
- return new Yn(this.profile(), this.profileHeader.heapProfilerModel());
1447
+ return new Zn(this.profile(), this.profileHeader.heapProfilerModel());
1446
1448
  }
1447
- }, Hn = class extends _(dn) {
1449
+ }, Wn = class extends t(pn) {
1448
1450
  recording;
1449
1451
  clearedDuringRecording;
1450
1452
  constructor(e, t) {
@@ -1460,31 +1462,31 @@ var Vn = class extends wn {
1460
1462
  return ".heapprofile";
1461
1463
  }
1462
1464
  get buttonTooltip() {
1463
- return this.recording ? V(B.stopHeapProfiling) : V(B.startHeapProfiling);
1465
+ return this.recording ? z(R.stopHeapProfiling) : z(R.startHeapProfiling);
1464
1466
  }
1465
1467
  buttonClicked() {
1466
1468
  return this.recording ? this.stopRecordingProfile() : this.startRecordingProfile(), this.recording;
1467
1469
  }
1468
1470
  async startRecordingProfile() {
1469
- let e = T.instance().flavor(y);
1471
+ let e = x.instance().flavor(_);
1470
1472
  if (this.profileBeingRecorded() || !e) return;
1471
- let t = new Gn(e, this);
1472
- this.setProfileBeingRecorded(t), this.addProfile(t), t.updateStatus(V(B.recording));
1473
- let n = [V(B.heapProfilerIsRecording)];
1474
- Se.instance().setPanelWarnings("heap-profiler", n), this.recording = !0, this.startSampling();
1473
+ let t = new qn(e, this);
1474
+ this.setProfileBeingRecorded(t), this.addProfile(t), t.updateStatus(z(R.recording));
1475
+ let n = [z(R.heapProfilerIsRecording)];
1476
+ ve.instance().setPanelWarnings("heap-profiler", n), this.recording = !0, this.startSampling();
1475
1477
  }
1476
1478
  async stopRecordingProfile() {
1477
1479
  this.recording = !1;
1478
1480
  let e = this.profileBeingRecorded();
1479
1481
  if (!e?.heapProfilerModel()) return;
1480
- e.updateStatus(V(B.stopping));
1482
+ e.updateStatus(z(R.stopping));
1481
1483
  let t = await this.stopSampling();
1482
- e && (console.assert(t !== void 0), e.setProtocolProfile(t), e.updateStatus(""), this.setProfileBeingRecorded(null)), Se.instance().setPanelWarnings("heap-profiler", []);
1484
+ e && (console.assert(t !== void 0), e.setProtocolProfile(t), e.updateStatus(""), this.setProfileBeingRecorded(null)), ve.instance().setPanelWarnings("heap-profiler", []);
1483
1485
  let n = this.clearedDuringRecording;
1484
- this.clearedDuringRecording = !1, !n && this.dispatchEventToListeners(F.PROFILE_COMPLETE, e);
1486
+ this.clearedDuringRecording = !1, !n && this.dispatchEventToListeners(N.PROFILE_COMPLETE, e);
1485
1487
  }
1486
1488
  createProfileLoadedFromFile(e) {
1487
- return new Gn(null, this, e);
1489
+ return new qn(null, this, e);
1488
1490
  }
1489
1491
  profileBeingRecordedRemoved() {
1490
1492
  this.clearedDuringRecording = !0, this.stopRecordingProfile();
@@ -1495,29 +1497,29 @@ var Vn = class extends wn {
1495
1497
  stopSampling() {
1496
1498
  throw Error("Not implemented");
1497
1499
  }
1498
- }, Un, Wn = class e extends Hn {
1500
+ }, Gn, Kn = class e extends Wn {
1499
1501
  updateTimer;
1500
1502
  updateIntervalMs;
1501
1503
  #e;
1502
1504
  customContentInternal = null;
1503
1505
  constructor() {
1504
- super(e.TypeId, V(B.allocationSampling)), Un ||= this, this.updateTimer = 0, this.updateIntervalMs = 200, this.#e = re.instance().createSetting("record-sampling-heap-profiler-timeline", !1);
1506
+ super(e.TypeId, z(R.allocationSampling)), Gn ||= this, this.updateTimer = 0, this.updateIntervalMs = 200, this.#e = m.instance().createSetting("record-sampling-heap-profiler-timeline", !1);
1505
1507
  }
1506
1508
  static get instance() {
1507
- return Un;
1509
+ return Gn;
1508
1510
  }
1509
1511
  get treeItemTitle() {
1510
- return V(B.samplingProfiles);
1512
+ return z(R.samplingProfiles);
1511
1513
  }
1512
1514
  get description() {
1513
- return [V(B.recordMemoryAllocations)].join("\n");
1515
+ return [z(R.recordMemoryAllocations)].join("\n");
1514
1516
  }
1515
1517
  hasTemporaryView() {
1516
1518
  return this.#e.get();
1517
1519
  }
1518
1520
  customContent() {
1519
- let e = At(V(B.samplingHeapProfilerTimeline), this.#e);
1520
- return this.customContentInternal = e, e.setAttribute("jslog", `${Be("record-sampling-heap-profiler-timeline").track({ click: !0 })}`), e;
1521
+ let e = Nt(z(R.samplingHeapProfilerTimeline), this.#e);
1522
+ return this.customContentInternal = e, e.setAttribute("jslog", `${ze("record-sampling-heap-profiler-timeline").track({ click: !0 })}`), e;
1521
1523
  }
1522
1524
  setCustomContentEnabled(e) {
1523
1525
  this.customContentInternal && (this.customContentInternal.disabled = !e);
@@ -1554,12 +1556,12 @@ var Vn = class extends wn {
1554
1556
  e.Events = /* @__PURE__ */ function(e) {
1555
1557
  return e.RECORDING_STOPPED = "RecordingStopped", e.STATS_UPDATE = "StatsUpdate", e;
1556
1558
  }({});
1557
- })(Wn ||= {});
1558
- var Gn = class extends En {
1559
+ })(Kn ||= {});
1560
+ var qn = class extends On {
1559
1561
  heapProfilerModelInternal;
1560
1562
  protocolProfileInternal;
1561
1563
  constructor(e, t, n) {
1562
- super(e?.debuggerModel() ?? null, t, n || V(B.profileD, { PH1: t.nextProfileUid() })), this.heapProfilerModelInternal = e, this.protocolProfileInternal = {
1564
+ super(e?.debuggerModel() ?? null, t, n || z(R.profileD, { PH1: t.nextProfileUid() })), this.heapProfilerModelInternal = e, this.protocolProfileInternal = {
1563
1565
  head: {
1564
1566
  callFrame: {
1565
1567
  functionName: "",
@@ -1587,7 +1589,7 @@ var Gn = class extends En {
1587
1589
  profileType() {
1588
1590
  return super.profileType();
1589
1591
  }
1590
- }, Kn = class extends Ct {
1592
+ }, Jn = class extends Dt {
1591
1593
  self;
1592
1594
  constructor(e) {
1593
1595
  let t = e.callFrame || {
@@ -1599,7 +1601,7 @@ var Gn = class extends En {
1599
1601
  };
1600
1602
  super(t), this.self = e.selfSize;
1601
1603
  }
1602
- }, qn = class extends wt {
1604
+ }, Yn = class extends Ot {
1603
1605
  modules;
1604
1606
  constructor(e, t, n) {
1605
1607
  super(), this.modules = e.modules || [];
@@ -1614,11 +1616,11 @@ var Gn = class extends En {
1614
1616
  }
1615
1617
  this.initialize(i(e.head));
1616
1618
  function i(e) {
1617
- let t = new Kn(e), n = [e], i = [t];
1619
+ let t = new Jn(e), n = [e], i = [t];
1618
1620
  for (; n.length;) {
1619
1621
  let e = n.pop(), t = i.pop();
1620
1622
  t.children = e.children.map((e) => {
1621
- let t = new Kn(e);
1623
+ let t = new Jn(e);
1622
1624
  return r && (t.self = r.get(e.id) || 0), t;
1623
1625
  }), n.push(...e.children), i.push(...t.children);
1624
1626
  }
@@ -1628,19 +1630,19 @@ var Gn = class extends En {
1628
1630
  return e.children = e.children.filter(a), !!(e.children.length || e.self);
1629
1631
  }
1630
1632
  }
1631
- }, Jn = class {
1633
+ }, Xn = class {
1632
1634
  profileView;
1633
1635
  constructor(e) {
1634
1636
  this.profileView = e;
1635
1637
  }
1636
1638
  formatValue(e) {
1637
- return m(e);
1639
+ return a(e);
1638
1640
  }
1639
1641
  formatValueAccessibleText(e) {
1640
- return V(B.sBytes, { PH1: e });
1642
+ return z(R.sBytes, { PH1: e });
1641
1643
  }
1642
1644
  formatPercent(e, t) {
1643
- return V(B.formatPercent, { PH1: e.toFixed(2) });
1645
+ return z(R.formatPercent, { PH1: e.toFixed(2) });
1644
1646
  }
1645
1647
  linkifyNode(e) {
1646
1648
  let t = this.profileView.profileHeader.heapProfilerModel(), n = t ? t.target() : null;
@@ -1649,7 +1651,7 @@ var Gn = class extends En {
1649
1651
  inlineFrameIndex: 0
1650
1652
  });
1651
1653
  }
1652
- }, Yn = class extends mn {
1654
+ }, Zn = class extends gn {
1653
1655
  profile;
1654
1656
  heapProfilerModel;
1655
1657
  constructor(e, t) {
@@ -1664,8 +1666,8 @@ var Gn = class extends En {
1664
1666
  entryHasDeoptReason(e) {
1665
1667
  return !1;
1666
1668
  }
1667
- formatValue(e, n) {
1668
- return V(B.skb, { PH1: t(e / 1e3) });
1669
+ formatValue(e, t) {
1670
+ return z(R.skb, { PH1: Ke(e / 1e3) });
1669
1671
  }
1670
1672
  calculateTimelineData() {
1671
1673
  function e(t) {
@@ -1676,7 +1678,7 @@ var Gn = class extends En {
1676
1678
  let t = c;
1677
1679
  n[l] = e, r[l] = o, i[l] = e.total, a[l] = c, ++l, ++o, e.children.forEach(u), --o, s = Math.max(s, o), c = t + e.total;
1678
1680
  }
1679
- return u(this.profile.root), this.maxStackDepthInternal = s + 1, this.entryNodes = n, this.timelineDataInternal = Mt.create({
1681
+ return u(this.profile.root), this.maxStackDepthInternal = s + 1, this.entryNodes = n, this.timelineDataInternal = Pt.create({
1680
1682
  entryLevels: r,
1681
1683
  entryTotalTimes: i,
1682
1684
  entryStartTimes: a,
@@ -1693,21 +1695,21 @@ var Gn = class extends En {
1693
1695
  value: t
1694
1696
  });
1695
1697
  }
1696
- r(V(B.name), it(t.functionName)), r(V(B.selfSize), m(t.self)), r(V(B.totalSize), m(t.total));
1697
- let i = new E(), a = i.maybeLinkifyConsoleCallFrame(this.heapProfilerModel ? this.heapProfilerModel.target() : null, t.callFrame);
1698
- return a && r(V(B.url), a.textContent), i.dispose(), wn.buildPopoverTable(n);
1699
- }
1700
- }, Xn = /* @__PURE__ */ e({
1701
- AllocationGridNode: () => or,
1702
- HeapSnapshotConstructorNode: () => rr,
1703
- HeapSnapshotDiffNode: () => ar,
1704
- HeapSnapshotDiffNodesProvider: () => ir,
1705
- HeapSnapshotGenericObjectNode: () => $n,
1706
- HeapSnapshotGridNode: () => W,
1707
- HeapSnapshotInstanceNode: () => nr,
1708
- HeapSnapshotObjectNode: () => er,
1709
- HeapSnapshotRetainingObjectNode: () => tr
1710
- }), H = {
1698
+ r(z(R.name), at(t.functionName)), r(z(R.selfSize), a(t.self)), r(z(R.totalSize), a(t.total));
1699
+ let i = new T(), o = i.maybeLinkifyConsoleCallFrame(this.heapProfilerModel ? this.heapProfilerModel.target() : null, t.callFrame);
1700
+ return o && r(z(R.url), o.textContent), i.dispose(), En.buildPopoverTable(n);
1701
+ }
1702
+ }, Qn = /* @__PURE__ */ e({
1703
+ AllocationGridNode: () => cr,
1704
+ HeapSnapshotConstructorNode: () => ar,
1705
+ HeapSnapshotDiffNode: () => sr,
1706
+ HeapSnapshotDiffNodesProvider: () => or,
1707
+ HeapSnapshotGenericObjectNode: () => tr,
1708
+ HeapSnapshotGridNode: () => H,
1709
+ HeapSnapshotInstanceNode: () => ir,
1710
+ HeapSnapshotObjectNode: () => nr,
1711
+ HeapSnapshotRetainingObjectNode: () => rr
1712
+ }), B = {
1711
1713
  genericStringsTwoPlaceholders: "{PH1}, {PH2}",
1712
1714
  internalArray: "(internal array)[]",
1713
1715
  userObjectReachableFromWindow: "User object reachable from window",
@@ -1731,7 +1733,7 @@ var Gn = class extends En {
1731
1733
  objectElementsSummary: "An internal object which stores the indexed properties in a JavaScript Object, such as the contents of an Array.",
1732
1734
  objectPropertiesSummary: "An internal object which stores the named properties in a JavaScript Object.",
1733
1735
  slicedStringSummary: "A string which represents some of the characters from another string."
1734
- }, Zn = v("panels/profiler/HeapSnapshotGridNodes.ts", H), U = g.bind(void 0, Zn), Qn = class extends Ot {}, W = class e extends _(Qn) {
1736
+ }, $n = o("panels/profiler/HeapSnapshotGridNodes.ts", B), V = r.bind(void 0, $n), er = class extends jt {}, H = class e extends t(er) {
1735
1737
  dataGridInternal;
1736
1738
  instanceCount = 0;
1737
1739
  savedChildren = /* @__PURE__ */ new Map();
@@ -1785,7 +1787,7 @@ var Gn = class extends En {
1785
1787
  return e.toFixed(0) + "\xA0%";
1786
1788
  }
1787
1789
  toUIDistance(e) {
1788
- return e >= 0 && e < Kt ? e.toString() : "−";
1790
+ return e >= 0 && e < Jt ? e.toString() : "−";
1789
1791
  }
1790
1792
  allChildren() {
1791
1793
  return this.dataGridInternal.allChildren(this);
@@ -1806,21 +1808,21 @@ var Gn = class extends En {
1806
1808
  return null;
1807
1809
  }
1808
1810
  createValueCell(e) {
1809
- let t = at("numeric-column").track({ click: !0 }), n = document.createElement("td");
1811
+ let t = ot("numeric-column").track({ click: !0 }), n = document.createElement("td");
1810
1812
  n.className = "numeric-column", n.setAttribute("jslog", t.toString());
1811
1813
  let r = this.dataGrid;
1812
1814
  if (r.snapshot && r.snapshot.totalSize !== 0) {
1813
1815
  let t = this.data[e], r = e + "-percent", i = this.data[r], a = `${e}-tooltip`, o = this.data[a];
1814
- i ? (ge(Ce`
1816
+ i ? (de(ye`
1815
1817
  <div class="profile-multiple-values">
1816
- <span aria-hidden="true" title=${_e(o)}>${t}</span>
1818
+ <span aria-hidden="true" title=${fe(o)}>${t}</span>
1817
1819
  <span class="percent-column" aria-hidden="true">${i}</span>
1818
- </div>`, n), this.setCellAccessibleName(U(H.genericStringsTwoPlaceholders, {
1820
+ </div>`, n), this.setCellAccessibleName(V(B.genericStringsTwoPlaceholders, {
1819
1821
  PH1: t,
1820
1822
  PH2: i
1821
- }), n, e)) : ge(Ce`
1823
+ }), n, e)) : de(ye`
1822
1824
  <div>
1823
- <span title=${_e(o)}>${t}</span>
1825
+ <span title=${fe(o)}>${t}</span>
1824
1826
  </div>`, n);
1825
1827
  }
1826
1828
  return n;
@@ -1855,7 +1857,7 @@ var Gn = class extends En {
1855
1857
  this.dataGridInternal.insertChild(this, this.createChildNode(e), t);
1856
1858
  }
1857
1859
  function s(e, t, n) {
1858
- let r = new kt(this.populateChildren.bind(this), e, t, this.dataGridInternal.defaultPopulateCount());
1860
+ let r = new Mt(this.populateChildren.bind(this), e, t, this.dataGridInternal.defaultPopulateCount());
1859
1861
  this.dataGridInternal.insertChild(this, r, n);
1860
1862
  }
1861
1863
  function c(t, n) {
@@ -1921,8 +1923,8 @@ var Gn = class extends En {
1921
1923
  e.Events = /* @__PURE__ */ function(e) {
1922
1924
  return e.PopulateComplete = "PopulateComplete", e;
1923
1925
  }({});
1924
- })(W ||= {});
1925
- var $n = class extends W {
1926
+ })(H ||= {});
1927
+ var tr = class extends H {
1926
1928
  referenceName;
1927
1929
  nameInternal;
1928
1930
  type;
@@ -1939,12 +1941,12 @@ var $n = class extends W {
1939
1941
  let n = e.snapshot, r = this.shallowSize / n.totalSize * 100, i = this.retainedSize / n.totalSize * 100;
1940
1942
  this.data = {
1941
1943
  distance: this.toUIDistance(this.distance),
1942
- shallowSize: p(this.shallowSize),
1943
- retainedSize: p(this.retainedSize),
1944
+ shallowSize: f(this.shallowSize),
1945
+ retainedSize: f(this.retainedSize),
1944
1946
  "shallowSize-percent": this.toPercentString(r),
1945
1947
  "retainedSize-percent": this.toPercentString(i),
1946
- "shallowSize-tooltip": m(this.shallowSize),
1947
- "retainedSize-tooltip": m(this.retainedSize)
1948
+ "shallowSize-tooltip": a(this.shallowSize),
1949
+ "retainedSize-tooltip": a(this.retainedSize)
1948
1950
  };
1949
1951
  }
1950
1952
  get name() {
@@ -1983,20 +1985,18 @@ var $n = class extends W {
1983
1985
  case "object shape":
1984
1986
  t = "null";
1985
1987
  break;
1986
- case "array":
1987
- e = e ? `${e}[]` : U(H.internalArray);
1988
- break;
1988
+ case "array": e = e ? `${e}[]` : V(B.internalArray);
1989
1989
  }
1990
1990
  return this.createObjectCellWithValue(t, e || "");
1991
1991
  }
1992
1992
  createObjectCellWithValue(e, t) {
1993
- let n = at("object-column").track({ click: !0 }), r = document.createElement("td");
1993
+ let n = ot("object-column").track({ click: !0 }), r = document.createElement("td");
1994
1994
  r.className = "object-column disclosure", r.setAttribute("jslog", n.toString());
1995
1995
  let i = {};
1996
- ge(Ce`<div
1996
+ de(ye`<div
1997
1997
  class="source-code event-properties"
1998
1998
  style="overflow: visible;"
1999
- ${je((e) => {
1999
+ ${Oe((e) => {
2000
2000
  i.div = e;
2001
2001
  })}
2002
2002
  >
@@ -2006,12 +2006,12 @@ var $n = class extends W {
2006
2006
  let a = i.div;
2007
2007
  if (!a) throw Error("Expected div to exists");
2008
2008
  if (this.prefixObjectCell(a), this.reachableFromWindow) {
2009
- let e = be("frame", "heap-object-tag");
2010
- S.install(e, U(H.userObjectReachableFromWindow)), a.appendChild(e);
2009
+ let e = he("frame", "heap-object-tag");
2010
+ v.install(e, V(B.userObjectReachableFromWindow)), a.appendChild(e);
2011
2011
  }
2012
2012
  if (this.detachedDOMTreeNode) {
2013
- let e = be("scissors", "heap-object-tag");
2014
- S.install(e, U(H.detachedFromDomTree)), a.appendChild(e);
2013
+ let e = he("scissors", "heap-object-tag");
2014
+ v.install(e, V(B.detachedFromDomTree)), a.appendChild(e);
2015
2015
  }
2016
2016
  return this.appendSourceLocation(a), this.depth && r.style.setProperty("padding-left", this.depth * this.dataGrid.indentWidth + "px"), r;
2017
2017
  }
@@ -2023,55 +2023,56 @@ var $n = class extends W {
2023
2023
  n ? (n.setAttribute("tabindex", "0"), t.appendChild(n), this.linkElement = n) : t.remove();
2024
2024
  }
2025
2025
  async queryObjectContent(e, t) {
2026
- return await this.tryQueryObjectContent(e, t) || this.tryGetTooltipDescription() || e.runtimeModel().createRemoteObjectFromPrimitiveValue(U(H.previewIsNotAvailable));
2026
+ return await this.tryQueryObjectContent(e, t) || this.tryGetTooltipDescription() || e.runtimeModel().createRemoteObjectFromPrimitiveValue(V(B.previewIsNotAvailable));
2027
2027
  }
2028
2028
  async tryQueryObjectContent(e, t) {
2029
2029
  return this.type === "string" ? e.runtimeModel().createRemoteObjectFromPrimitiveValue(this.nameInternal) : await e.objectForSnapshotObjectId(String(this.snapshotNodeId), t);
2030
2030
  }
2031
2031
  tryGetTooltipDescription() {
2032
+ let e = "https://developer.chrome.com/docs/devtools/memory-problems/heap-snapshots#";
2032
2033
  switch (this.type) {
2033
2034
  case "code": return {
2034
- description: U(H.compiledCodeSummary),
2035
- link: "https://developer.chrome.com/docs/devtools/memory-problems/heap-snapshots#compiled-code"
2035
+ description: V(B.compiledCodeSummary),
2036
+ link: e + "compiled-code"
2036
2037
  };
2037
2038
  case "concatenated string": return {
2038
- description: U(H.concatenatedStringSummary),
2039
- link: "https://developer.chrome.com/docs/devtools/memory-problems/heap-snapshots#concatenated-string"
2039
+ description: V(B.concatenatedStringSummary),
2040
+ link: e + "concatenated-string"
2040
2041
  };
2041
2042
  case "sliced string": return {
2042
- description: U(H.slicedStringSummary),
2043
- link: "https://developer.chrome.com/docs/devtools/memory-problems/heap-snapshots#sliced-string"
2043
+ description: V(B.slicedStringSummary),
2044
+ link: e + "sliced-string"
2044
2045
  };
2045
2046
  }
2046
2047
  switch (this.type + ":" + this.nameInternal) {
2047
2048
  case "array:": return {
2048
- description: U(H.internalArraySummary),
2049
- link: "https://developer.chrome.com/docs/devtools/memory-problems/heap-snapshots#array"
2049
+ description: V(B.internalArraySummary),
2050
+ link: e + "array"
2050
2051
  };
2051
2052
  case "array:(object elements)": return {
2052
- description: U(H.objectElementsSummary),
2053
- link: "https://developer.chrome.com/docs/devtools/memory-problems/heap-snapshots#array"
2053
+ description: V(B.objectElementsSummary),
2054
+ link: e + "array"
2054
2055
  };
2055
2056
  case "array:(object properties)":
2056
2057
  case "hidden:system / PropertyArray": return {
2057
- description: U(H.objectPropertiesSummary),
2058
- link: "https://developer.chrome.com/docs/devtools/memory-problems/heap-snapshots#array"
2058
+ description: V(B.objectPropertiesSummary),
2059
+ link: e + "array"
2059
2060
  };
2060
2061
  case "object:system / Context": return {
2061
- description: U(H.contextSummary),
2062
- link: "https://developer.chrome.com/docs/devtools/memory-problems/heap-snapshots#system-context"
2062
+ description: V(B.contextSummary),
2063
+ link: e + "system-context"
2063
2064
  };
2064
2065
  case "object shape:system / DescriptorArray": return {
2065
- description: U(H.descriptorArraySummary),
2066
- link: "https://developer.chrome.com/docs/devtools/memory-problems/heap-snapshots#object-shape"
2066
+ description: V(B.descriptorArraySummary),
2067
+ link: e + "object-shape"
2067
2068
  };
2068
2069
  case "object shape:system / Map": return {
2069
- description: U(H.mapSummary),
2070
- link: "https://developer.chrome.com/docs/devtools/memory-problems/heap-snapshots#object-shape"
2070
+ description: V(B.mapSummary),
2071
+ link: e + "object-shape"
2071
2072
  };
2072
2073
  case "native:InternalNode": return {
2073
- description: U(H.internalNodeSummary),
2074
- link: "https://developer.chrome.com/docs/devtools/memory-problems/heap-snapshots#internal-node"
2074
+ description: V(B.internalNodeSummary),
2075
+ link: e + "internal-node"
2075
2076
  };
2076
2077
  }
2077
2078
  }
@@ -2080,29 +2081,29 @@ var $n = class extends W {
2080
2081
  this.setHasChildren(!e);
2081
2082
  }
2082
2083
  shortenWindowURL(e, t) {
2083
- let i = e.indexOf("/"), a = t ? e.indexOf("@") : e.length;
2084
- if (i === -1 || a === -1) return e;
2085
- let o = r(e.substring(i + 1, a).trimLeft());
2086
- return o.length > 40 && (o = n(o, 40)), e.substr(0, i + 2) + o + e.substr(a);
2084
+ let n = e.indexOf("/"), r = t ? e.indexOf("@") : e.length;
2085
+ if (n === -1 || r === -1) return e;
2086
+ let i = e.substring(n + 1, r).trimLeft(), a = vt(i);
2087
+ return a.length > 40 && (a = _t(a, 40)), e.substr(0, n + 2) + a + e.substr(r);
2087
2088
  }
2088
2089
  populateContextMenu(e, t, n) {
2089
- if (this.shallowSize !== 0 && e.revealSection().appendItem(U(H.revealInSummaryView), () => {
2090
- t.showObject(String(this.snapshotNodeId), U(H.summary));
2090
+ if (this.shallowSize !== 0 && e.revealSection().appendItem(V(B.revealInSummaryView), () => {
2091
+ t.showObject(String(this.snapshotNodeId), V(B.summary));
2091
2092
  }, { jslogContext: "reveal-in-summary" }), this.referenceName) for (let n of this.referenceName.matchAll(/\((?<objectName>[^@)]*) @(?<snapshotNodeId>\d+)\)/g)) {
2092
2093
  let { objectName: r, snapshotNodeId: i } = n.groups;
2093
- e.revealSection().appendItem(U(H.revealObjectSWithIdSInSummary, {
2094
+ e.revealSection().appendItem(V(B.revealObjectSWithIdSInSummary, {
2094
2095
  PH1: r,
2095
2096
  PH2: i
2096
2097
  }), () => {
2097
- t.showObject(i, U(H.summary));
2098
+ t.showObject(i, V(B.summary));
2098
2099
  }, { jslogContext: "reveal-in-summary" });
2099
2100
  }
2100
- n && e.revealSection().appendItem(U(H.storeAsGlobalVariable), async () => {
2101
+ n && e.revealSection().appendItem(V(B.storeAsGlobalVariable), async () => {
2101
2102
  let e = await this.tryQueryObjectContent(n, "");
2102
- e ? await n.target().model(Te)?.saveToTempVariable(T.instance().flavor(fe), e) : d.instance().error(U(H.previewIsNotAvailable));
2103
+ e ? await n.target().model(ke)?.saveToTempVariable(x.instance().flavor(xe), e) : g.instance().error(V(B.previewIsNotAvailable));
2103
2104
  }, { jslogContext: "store-as-global-variable" });
2104
2105
  }
2105
- }, er = class e extends $n {
2106
+ }, nr = class e extends tr {
2106
2107
  referenceName;
2107
2108
  referenceType;
2108
2109
  edgeIndex;
@@ -2142,12 +2143,12 @@ var $n = class extends W {
2142
2143
  comparator() {
2143
2144
  let e = this.dataGridInternal.isSortOrderAscending();
2144
2145
  switch (this.dataGridInternal.sortColumnId()) {
2145
- case "object": return new A("!edgeName", e, "retainedSize", !1);
2146
- case "count": return new A("!edgeName", !0, "retainedSize", !1);
2147
- case "shallowSize": return new A("selfSize", e, "!edgeName", !0);
2148
- case "retainedSize": return new A("retainedSize", e, "!edgeName", !0);
2149
- case "distance": return new A("distance", e, "name", !0);
2150
- default: return new A("!edgeName", !0, "retainedSize", !1);
2146
+ case "object": return new O("!edgeName", e, "retainedSize", !1);
2147
+ case "count": return new O("!edgeName", !0, "retainedSize", !1);
2148
+ case "shallowSize": return new O("selfSize", e, "!edgeName", !0);
2149
+ case "retainedSize": return new O("retainedSize", e, "!edgeName", !0);
2150
+ case "distance": return new O("distance", e, "name", !0);
2151
+ default: return new O("!edgeName", !0, "retainedSize", !1);
2151
2152
  }
2152
2153
  }
2153
2154
  prefixObjectCell(e) {
@@ -2161,9 +2162,7 @@ var $n = class extends W {
2161
2162
  case "weak":
2162
2163
  n = "object-value-null";
2163
2164
  break;
2164
- case "element":
2165
- t = `[${t}]`;
2166
- break;
2165
+ case "element": t = `[${t}]`;
2167
2166
  }
2168
2167
  this.cycledWithAncestorGridNode && e.classList.add("cycled-ancestor-node");
2169
2168
  let r = document.createElement("span");
@@ -2174,10 +2173,10 @@ var $n = class extends W {
2174
2173
  edgeNodeSeparator() {
2175
2174
  return "::";
2176
2175
  }
2177
- }, tr = class e extends er {
2176
+ }, rr = class e extends nr {
2178
2177
  #e;
2179
2178
  constructor(e, t, n, r) {
2180
- super(e, t, n, r), this.#e = n.node.ignored, this.#e && (this.data.distance = U(H.ignored));
2179
+ super(e, t, n, r), this.#e = n.node.ignored, this.#e && (this.data.distance = V(B.ignored));
2181
2180
  }
2182
2181
  createProvider() {
2183
2182
  if (this.snapshotNodeIndex === void 0) throw Error("Cannot create providers on root nodes");
@@ -2187,7 +2186,7 @@ var $n = class extends W {
2187
2186
  return new e(this.dataGridInternal, this.snapshot, t, this);
2188
2187
  }
2189
2188
  edgeNodeSeparator() {
2190
- return U(H.inElement);
2189
+ return V(B.inElement);
2191
2190
  }
2192
2191
  expand() {
2193
2192
  this.expandRetainersChain(20);
@@ -2195,21 +2194,21 @@ var $n = class extends W {
2195
2194
  populateContextMenu(e, t, n) {
2196
2195
  super.populateContextMenu(e, t, n);
2197
2196
  let r = this.snapshotNodeIndex;
2198
- r !== void 0 && (this.#e ? e.revealSection().appendItem(U(H.stopIgnoringThisRetainer), async () => {
2197
+ r !== void 0 && (this.#e ? e.revealSection().appendItem(V(B.stopIgnoringThisRetainer), async () => {
2199
2198
  await this.snapshot.unignoreNodeInRetainersView(r), await this.dataGridInternal.dataSourceChanged();
2200
- }, { jslogContext: "stop-ignoring-this-retainer" }) : e.revealSection().appendItem(U(H.ignoreThisRetainer), async () => {
2199
+ }, { jslogContext: "stop-ignoring-this-retainer" }) : e.revealSection().appendItem(V(B.ignoreThisRetainer), async () => {
2201
2200
  await this.snapshot.ignoreNodeInRetainersView(r), await this.dataGridInternal.dataSourceChanged();
2202
2201
  }, { jslogContext: "ignore-this-retainer" }));
2203
2202
  }
2204
2203
  isReachable() {
2205
- return (this.distance ?? 0) < qt;
2204
+ return (this.distance ?? 0) < Yt;
2206
2205
  }
2207
2206
  prefixObjectCell(e) {
2208
2207
  super.prefixObjectCell(e), this.isReachable() || e.classList.add("unreachable-ancestor-node");
2209
2208
  }
2210
2209
  expandRetainersChain(e) {
2211
2210
  if (!this.populated) {
2212
- this.once(W.Events.PopulateComplete).then(() => this.expandRetainersChain(e)), this.populate();
2211
+ this.once(H.Events.PopulateComplete).then(() => this.expandRetainersChain(e)), this.populate();
2213
2212
  return;
2214
2213
  }
2215
2214
  if (super.expand(), --e > 0 && this.children.length > 0) {
@@ -2219,19 +2218,19 @@ var $n = class extends W {
2219
2218
  return;
2220
2219
  }
2221
2220
  }
2222
- this.dataGridInternal.dispatchEventToListeners(fr.ExpandRetainersComplete);
2221
+ this.dataGridInternal.dispatchEventToListeners(mr.ExpandRetainersComplete);
2223
2222
  }
2224
2223
  comparator() {
2225
2224
  let e = super.comparator();
2226
2225
  return e.fieldName1 === "distance" && (e.fieldName1 = "!edgeDistance"), e.fieldName2 === "distance" && (e.fieldName2 = "!edgeDistance"), e;
2227
2226
  }
2228
- }, nr = class extends $n {
2227
+ }, ir = class extends tr {
2229
2228
  baseSnapshotOrSnapshot;
2230
2229
  isDeletedNode;
2231
2230
  constructor(e, t, n, r) {
2232
2231
  super(e, n), this.baseSnapshotOrSnapshot = t, this.isDeletedNode = r, this.updateHasChildren();
2233
2232
  let i = this.data;
2234
- i.count = "", i.countDelta = "", i.sizeDelta = "", this.isDeletedNode ? (i.addedCount = "", i.addedSize = "", i.removedCount = "•", i.removedSize = p(this.shallowSize || 0)) : (i.addedCount = "•", i.addedSize = p(this.shallowSize || 0), i.removedCount = "", i.removedSize = "");
2233
+ i.count = "", i.countDelta = "", i.sizeDelta = "", this.isDeletedNode ? (i.addedCount = "", i.addedSize = "", i.removedCount = "•", i.removedSize = f(this.shallowSize || 0)) : (i.addedCount = "•", i.addedSize = f(this.shallowSize || 0), i.removedCount = "", i.removedSize = "");
2235
2234
  }
2236
2235
  retainersDataSource() {
2237
2236
  return this.snapshotNodeIndex === void 0 ? null : {
@@ -2245,7 +2244,7 @@ var $n = class extends W {
2245
2244
  return this.baseSnapshotOrSnapshot.createEdgesProvider(this.snapshotNodeIndex);
2246
2245
  }
2247
2246
  createChildNode(e) {
2248
- return new er(this.dataGridInternal, this.baseSnapshotOrSnapshot, e, null);
2247
+ return new nr(this.dataGridInternal, this.baseSnapshotOrSnapshot, e, null);
2249
2248
  }
2250
2249
  getHash() {
2251
2250
  if (this.snapshotNodeId === void 0) throw Error("Cannot hash root nodes");
@@ -2254,17 +2253,17 @@ var $n = class extends W {
2254
2253
  comparator() {
2255
2254
  let e = this.dataGridInternal.isSortOrderAscending();
2256
2255
  switch (this.dataGridInternal.sortColumnId()) {
2257
- case "object": return new A("!edgeName", e, "retainedSize", !1);
2258
- case "distance": return new A("distance", e, "retainedSize", !1);
2259
- case "count": return new A("!edgeName", !0, "retainedSize", !1);
2260
- case "addedSize": return new A("selfSize", e, "!edgeName", !0);
2261
- case "removedSize": return new A("selfSize", e, "!edgeName", !0);
2262
- case "shallowSize": return new A("selfSize", e, "!edgeName", !0);
2263
- case "retainedSize": return new A("retainedSize", e, "!edgeName", !0);
2264
- default: return new A("!edgeName", !0, "retainedSize", !1);
2256
+ case "object": return new O("!edgeName", e, "retainedSize", !1);
2257
+ case "distance": return new O("distance", e, "retainedSize", !1);
2258
+ case "count": return new O("!edgeName", !0, "retainedSize", !1);
2259
+ case "addedSize": return new O("selfSize", e, "!edgeName", !0);
2260
+ case "removedSize": return new O("selfSize", e, "!edgeName", !0);
2261
+ case "shallowSize": return new O("selfSize", e, "!edgeName", !0);
2262
+ case "retainedSize": return new O("retainedSize", e, "!edgeName", !0);
2263
+ default: return new O("!edgeName", !0, "retainedSize", !1);
2265
2264
  }
2266
2265
  }
2267
- }, rr = class extends W {
2266
+ }, ar = class extends H {
2268
2267
  nameInternal;
2269
2268
  nodeFilter;
2270
2269
  distance;
@@ -2272,20 +2271,20 @@ var $n = class extends W {
2272
2271
  shallowSize;
2273
2272
  retainedSize;
2274
2273
  classKey;
2275
- #e = new Intl.NumberFormat(te.instance().locale);
2274
+ #e = new Intl.NumberFormat(d.instance().locale);
2276
2275
  constructor(e, t, n, r) {
2277
2276
  super(e, n.count > 0), this.nameInternal = n.name, this.nodeFilter = r, this.distance = n.distance, this.count = n.count, this.shallowSize = n.self, this.retainedSize = n.maxRet, this.classKey = t;
2278
- let i = e.snapshot, a = this.retainedSize / i.totalSize * 100, o = this.shallowSize / i.totalSize * 100;
2277
+ let i = e.snapshot, o = this.retainedSize / i.totalSize * 100, s = this.shallowSize / i.totalSize * 100;
2279
2278
  this.data = {
2280
2279
  object: this.nameInternal,
2281
2280
  count: this.#e.format(this.count),
2282
2281
  distance: this.toUIDistance(this.distance),
2283
- shallowSize: p(this.shallowSize),
2284
- retainedSize: p(this.retainedSize),
2285
- "shallowSize-percent": this.toPercentString(o),
2286
- "retainedSize-percent": this.toPercentString(a),
2287
- "shallowSize-tooltip": m(this.shallowSize),
2288
- "retainedSize-tooltip": m(this.retainedSize)
2282
+ shallowSize: f(this.shallowSize),
2283
+ retainedSize: f(this.retainedSize),
2284
+ "shallowSize-percent": this.toPercentString(s),
2285
+ "retainedSize-percent": this.toPercentString(o),
2286
+ "shallowSize-tooltip": a(this.shallowSize),
2287
+ "retainedSize-tooltip": a(this.retainedSize)
2289
2288
  };
2290
2289
  }
2291
2290
  get name() {
@@ -2307,22 +2306,26 @@ var $n = class extends W {
2307
2306
  }
2308
2307
  createCell(e) {
2309
2308
  let t = e === "object" ? super.createCell(e) : this.createValueCell(e);
2310
- return e === "object" && this.count > 1 && ge(Ce`<span class="objects-count">×${this.data.count}</span>`, t), t;
2309
+ if (e === "object" && this.count > 1) {
2310
+ let e = ye`<span class="objects-count">×${this.data.count}</span>`;
2311
+ de(e, t);
2312
+ }
2313
+ return t;
2311
2314
  }
2312
2315
  createChildNode(e) {
2313
- return new nr(this.dataGridInternal, this.dataGridInternal.snapshot, e, !1);
2316
+ return new ir(this.dataGridInternal, this.dataGridInternal.snapshot, e, !1);
2314
2317
  }
2315
2318
  comparator() {
2316
2319
  let e = this.dataGridInternal.isSortOrderAscending(), t = this.dataGridInternal.sortColumnId();
2317
2320
  switch (t) {
2318
- case "object": return new A("name", e, "id", !0);
2319
- case "distance": return new A("distance", e, "retainedSize", !1);
2320
- case "shallowSize": return new A("selfSize", e, "id", !0);
2321
- case "retainedSize": return new A("retainedSize", e, "id", !0);
2321
+ case "object": return new O("name", e, "id", !0);
2322
+ case "distance": return new O("distance", e, "retainedSize", !1);
2323
+ case "shallowSize": return new O("selfSize", e, "id", !0);
2324
+ case "retainedSize": return new O("retainedSize", e, "id", !0);
2322
2325
  default: throw Error(`Invalid sort column id ${t}`);
2323
2326
  }
2324
2327
  }
2325
- }, ir = class {
2328
+ }, or = class {
2326
2329
  addedNodesProvider;
2327
2330
  deletedNodesProvider;
2328
2331
  addedCount;
@@ -2346,7 +2349,7 @@ var $n = class extends W {
2346
2349
  for (let e of n.items) e.isAddedNotRemoved = !0;
2347
2350
  if (n.endPosition >= t) return n.totalLength = this.addedCount + this.removedCount, n;
2348
2351
  r = n, n = await this.deletedNodesProvider.serializeItemsRange(0, t - n.endPosition);
2349
- } else r = new Gt(0, 0, 0, []), n = await this.deletedNodesProvider.serializeItemsRange(e - this.addedCount, t - this.addedCount);
2352
+ } else r = new qt(0, 0, 0, []), n = await this.deletedNodesProvider.serializeItemsRange(e - this.addedCount, t - this.addedCount);
2350
2353
  r.items.length || (r.startPosition = this.addedCount + n.startPosition);
2351
2354
  for (let e of n.items) e.isAddedNotRemoved = !1;
2352
2355
  return r.items.push(...n.items), r.endPosition = this.addedCount + n.endPosition, r.totalLength = this.addedCount + this.removedCount, r;
@@ -2354,7 +2357,7 @@ var $n = class extends W {
2354
2357
  async sortAndRewind(e) {
2355
2358
  await this.addedNodesProvider.sortAndRewind(e), await this.deletedNodesProvider.sortAndRewind(e);
2356
2359
  }
2357
- }, ar = class extends W {
2360
+ }, sr = class extends H {
2358
2361
  nameInternal;
2359
2362
  addedCount;
2360
2363
  removedCount;
@@ -2364,15 +2367,15 @@ var $n = class extends W {
2364
2367
  sizeDelta;
2365
2368
  deletedIndexes;
2366
2369
  classKey;
2367
- constructor(e, n, r) {
2368
- super(e, !0), this.nameInternal = r.name, this.addedCount = r.addedCount, this.removedCount = r.removedCount, this.countDelta = r.countDelta, this.addedSize = r.addedSize, this.removedSize = r.removedSize, this.sizeDelta = r.sizeDelta, this.deletedIndexes = r.deletedIndexes, this.classKey = n, this.data = {
2370
+ constructor(e, t, n) {
2371
+ super(e, !0), this.nameInternal = n.name, this.addedCount = n.addedCount, this.removedCount = n.removedCount, this.countDelta = n.countDelta, this.addedSize = n.addedSize, this.removedSize = n.removedSize, this.sizeDelta = n.sizeDelta, this.deletedIndexes = n.deletedIndexes, this.classKey = t, this.data = {
2369
2372
  object: this.nameInternal,
2370
- addedCount: t(this.addedCount),
2371
- removedCount: t(this.removedCount),
2372
- countDelta: this.signForDelta(this.countDelta) + t(Math.abs(this.countDelta)),
2373
- addedSize: m(this.addedSize),
2374
- removedSize: m(this.removedSize),
2375
- sizeDelta: this.signForDelta(this.sizeDelta) + m(Math.abs(this.sizeDelta))
2373
+ addedCount: Ke(this.addedCount),
2374
+ removedCount: Ke(this.removedCount),
2375
+ countDelta: this.signForDelta(this.countDelta) + Ke(Math.abs(this.countDelta)),
2376
+ addedSize: a(this.addedSize),
2377
+ removedSize: a(this.removedSize),
2378
+ sizeDelta: this.signForDelta(this.sizeDelta) + a(Math.abs(this.sizeDelta))
2376
2379
  };
2377
2380
  }
2378
2381
  get name() {
@@ -2383,7 +2386,7 @@ var $n = class extends W {
2383
2386
  if (e.snapshot === null || e.baseSnapshot?.uid === void 0) throw Error("Data sources have not been set correctly");
2384
2387
  let t = e.snapshot.createAddedNodesProvider(e.baseSnapshot.uid, this.classKey), n = e.baseSnapshot.createDeletedNodesProvider(this.deletedIndexes);
2385
2388
  if (!t || !n) throw Error("Failed to create node providers");
2386
- return new ir(t, n, this.addedCount, this.removedCount);
2389
+ return new or(t, n, this.addedCount, this.removedCount);
2387
2390
  }
2388
2391
  createCell(e) {
2389
2392
  let t = super.createCell(e);
@@ -2393,21 +2396,21 @@ var $n = class extends W {
2393
2396
  let t = this.dataGridInternal;
2394
2397
  if (e.isAddedNotRemoved) {
2395
2398
  if (t.snapshot === null) throw Error("Data sources have not been set correctly");
2396
- return new nr(this.dataGridInternal, t.snapshot, e, !1);
2399
+ return new ir(this.dataGridInternal, t.snapshot, e, !1);
2397
2400
  }
2398
2401
  if (t.baseSnapshot === void 0) throw Error("Data sources have not been set correctly");
2399
- return new nr(this.dataGridInternal, t.baseSnapshot, e, !0);
2402
+ return new ir(this.dataGridInternal, t.baseSnapshot, e, !0);
2400
2403
  }
2401
2404
  comparator() {
2402
2405
  let e = this.dataGridInternal.isSortOrderAscending(), t = this.dataGridInternal.sortColumnId();
2403
2406
  switch (t) {
2404
- case "object": return new A("name", e, "id", !0);
2405
- case "addedCount": return new A("name", !0, "id", !0);
2406
- case "removedCount": return new A("name", !0, "id", !0);
2407
- case "countDelta": return new A("name", !0, "id", !0);
2408
- case "addedSize": return new A("selfSize", e, "id", !0);
2409
- case "removedSize": return new A("selfSize", e, "id", !0);
2410
- case "sizeDelta": return new A("selfSize", e, "id", !0);
2407
+ case "object": return new O("name", e, "id", !0);
2408
+ case "addedCount": return new O("name", !0, "id", !0);
2409
+ case "removedCount": return new O("name", !0, "id", !0);
2410
+ case "countDelta": return new O("name", !0, "id", !0);
2411
+ case "addedSize": return new O("selfSize", e, "id", !0);
2412
+ case "removedSize": return new O("selfSize", e, "id", !0);
2413
+ case "sizeDelta": return new O("selfSize", e, "id", !0);
2411
2414
  default: throw Error(`Invalid sort column ${t}`);
2412
2415
  }
2413
2416
  }
@@ -2417,16 +2420,16 @@ var $n = class extends W {
2417
2420
  signForDelta(e) {
2418
2421
  return e === 0 ? "" : e > 0 ? "+" : "−";
2419
2422
  }
2420
- }, or = class e extends W {
2423
+ }, cr = class e extends H {
2421
2424
  populated;
2422
2425
  allocationNode;
2423
- constructor(e, n) {
2424
- super(e, n.hasChildren), this.populated = !1, this.allocationNode = n, this.data = {
2425
- liveCount: t(n.liveCount),
2426
- count: t(n.count),
2427
- liveSize: m(n.liveSize),
2428
- size: m(n.size),
2429
- name: n.name
2426
+ constructor(e, t) {
2427
+ super(e, t.hasChildren), this.populated = !1, this.allocationNode = t, this.data = {
2428
+ liveCount: Ke(t.liveCount),
2429
+ count: Ke(t.count),
2430
+ liveSize: a(t.liveSize),
2431
+ size: a(t.size),
2432
+ name: t.name
2430
2433
  };
2431
2434
  }
2432
2435
  populate() {
@@ -2463,17 +2466,17 @@ var $n = class extends W {
2463
2466
  allocationNodeId() {
2464
2467
  return this.allocationNode.id;
2465
2468
  }
2466
- }, sr = /* @__PURE__ */ e({
2467
- AllocationDataGrid: () => yr,
2468
- HeapSnapshotConstructorsDataGrid: () => _r,
2469
- HeapSnapshotContainmentDataGrid: () => mr,
2470
- HeapSnapshotDiffDataGrid: () => vr,
2471
- HeapSnapshotRetainmentDataGrid: () => hr,
2472
- HeapSnapshotRetainmentDataGridEvents: () => gr,
2473
- HeapSnapshotSortableDataGrid: () => dr,
2474
- HeapSnapshotSortableDataGridEvents: () => fr,
2475
- HeapSnapshotViewportDataGrid: () => pr
2476
- }), G = {
2469
+ }, lr = /* @__PURE__ */ e({
2470
+ AllocationDataGrid: () => xr,
2471
+ HeapSnapshotConstructorsDataGrid: () => yr,
2472
+ HeapSnapshotContainmentDataGrid: () => gr,
2473
+ HeapSnapshotDiffDataGrid: () => br,
2474
+ HeapSnapshotRetainmentDataGrid: () => _r,
2475
+ HeapSnapshotRetainmentDataGridEvents: () => vr,
2476
+ HeapSnapshotSortableDataGrid: () => pr,
2477
+ HeapSnapshotSortableDataGridEvents: () => mr,
2478
+ HeapSnapshotViewportDataGrid: () => hr
2479
+ }), U = {
2477
2480
  distanceFromWindowObject: "Distance from window object",
2478
2481
  sizeOfTheObjectItselfInBytes: "Size of the object itself in bytes",
2479
2482
  sizeOfTheObjectPlusTheGraphIt: "Size of the object plus the graph it retains in bytes",
@@ -2497,7 +2500,7 @@ var $n = class extends W {
2497
2500
  size: "Size",
2498
2501
  function: "Function",
2499
2502
  allocation: "Allocation"
2500
- }, cr = v("panels/profiler/HeapSnapshotDataGrids.ts", G), K = g.bind(void 0, cr), lr = /* @__PURE__ */ new WeakMap(), ur = class extends Dt {}, dr = class extends _(ur) {
2503
+ }, ur = o("panels/profiler/HeapSnapshotDataGrids.ts", U), W = r.bind(void 0, ur), dr = /* @__PURE__ */ new WeakMap(), fr = class extends At {}, pr = class extends t(fr) {
2501
2504
  snapshot = null;
2502
2505
  selectedNode = null;
2503
2506
  heapProfilerModelInternal;
@@ -2511,20 +2514,20 @@ var $n = class extends W {
2511
2514
  constructor(e, t, n) {
2512
2515
  super(n), this.heapProfilerModelInternal = e, this.dataDisplayDelegateInternal = t;
2513
2516
  let r = [
2514
- ["distance", K(G.distanceFromWindowObject)],
2515
- ["shallowSize", K(G.sizeOfTheObjectItselfInBytes)],
2516
- ["retainedSize", K(G.sizeOfTheObjectPlusTheGraphIt)]
2517
+ ["distance", W(U.distanceFromWindowObject)],
2518
+ ["shallowSize", W(U.sizeOfTheObjectItselfInBytes)],
2519
+ ["retainedSize", W(U.sizeOfTheObjectPlusTheGraphIt)]
2517
2520
  ];
2518
2521
  for (let e of r) {
2519
2522
  let t = this.headerTableHeader(e[0]);
2520
2523
  t && t.setAttribute("title", e[1]);
2521
2524
  }
2522
- this.recursiveSortingDepth = 0, this.populatedAndSorted = !1, this.nameFilter = null, this.nodeFilterInternal = new j(), this.addEventListener("SortingComplete", this.sortingComplete, this), this.addEventListener(k.SORTING_CHANGED, this.sortingChanged, this), this.setRowContextMenuCallback(this.populateContextMenu.bind(this));
2525
+ this.recursiveSortingDepth = 0, this.populatedAndSorted = !1, this.nameFilter = null, this.nodeFilterInternal = new k(), this.addEventListener("SortingComplete", this.sortingComplete, this), this.addEventListener(D.SORTING_CHANGED, this.sortingChanged, this), this.setRowContextMenuCallback(this.populateContextMenu.bind(this));
2523
2526
  }
2524
2527
  async setDataSource(e, t) {}
2525
2528
  isFilteredOut(e) {
2526
2529
  let t = this.nameFilter ? this.nameFilter.value().toLowerCase() : "";
2527
- return !!(t && (e instanceof ar || e instanceof rr) && e.filteredOut(t));
2530
+ return !!(t && (e instanceof sr || e instanceof ar) && e.filteredOut(t));
2528
2531
  }
2529
2532
  heapProfilerModel() {
2530
2533
  return this.heapProfilerModelInternal;
@@ -2546,17 +2549,17 @@ var $n = class extends W {
2546
2549
  for (let t = 0, n = e.length; t < n; ++t) e[t].dispose();
2547
2550
  }
2548
2551
  wasShown() {
2549
- super.wasShown(), this.nameFilter && (this.nameFilter.addEventListener(ze.Event.TEXT_CHANGED, this.onNameFilterChanged, this), this.updateVisibleNodes(!0)), this.populatedAndSorted && this.dispatchEventToListeners("ContentShown", this);
2552
+ super.wasShown(), this.nameFilter && (this.nameFilter.addEventListener(Le.Event.TEXT_CHANGED, this.onNameFilterChanged, this), this.updateVisibleNodes(!0)), this.populatedAndSorted && this.dispatchEventToListeners("ContentShown", this);
2550
2553
  }
2551
2554
  sortingComplete() {
2552
2555
  this.removeEventListener("SortingComplete", this.sortingComplete, this), this.populatedAndSorted = !0, this.dispatchEventToListeners("ContentShown", this);
2553
2556
  }
2554
2557
  willHide() {
2555
- super.willHide(), this.nameFilter && this.nameFilter.removeEventListener(ze.Event.TEXT_CHANGED, this.onNameFilterChanged, this);
2558
+ super.willHide(), this.nameFilter && this.nameFilter.removeEventListener(Le.Event.TEXT_CHANGED, this.onNameFilterChanged, this);
2556
2559
  }
2557
2560
  populateContextMenu(e, t) {
2558
2561
  let n = t;
2559
- n.populateContextMenu(e, this.dataDisplayDelegateInternal, this.heapProfilerModel()), n instanceof $n && n.linkElement && e.appendApplicableItems(n.linkElement);
2562
+ n.populateContextMenu(e, this.dataDisplayDelegateInternal, this.heapProfilerModel()), n instanceof tr && n.linkElement && e.appendApplicableItems(n.linkElement);
2560
2563
  }
2561
2564
  resetSortingCache() {
2562
2565
  delete this.lastSortColumnId, delete this.lastSortAscending;
@@ -2633,9 +2636,9 @@ var $n = class extends W {
2633
2636
  async dataSourceChanged() {
2634
2637
  throw Error("Not implemented");
2635
2638
  }
2636
- }, fr = /* @__PURE__ */ function(e) {
2639
+ }, mr = /* @__PURE__ */ function(e) {
2637
2640
  return e.ContentShown = "ContentShown", e.SortingComplete = "SortingComplete", e.ExpandRetainersComplete = "ExpandRetainersComplete", e;
2638
- }({}), pr = class extends dr {
2641
+ }({}), hr = class extends pr {
2639
2642
  topPaddingHeight;
2640
2643
  bottomPaddingHeight;
2641
2644
  selectedNode;
@@ -2652,7 +2655,7 @@ var $n = class extends W {
2652
2655
  n = Math.max(0, n - 40), r = Math.max(0, r - 40);
2653
2656
  let i = t - n - r;
2654
2657
  if (!e && n >= this.topPaddingHeight && r >= this.bottomPaddingHeight) return;
2655
- n -= 500, i += 2 * 500;
2658
+ n -= 500, i += 1e3;
2656
2659
  let a = this.selectedNode;
2657
2660
  this.rootNode().removeChildren(), this.topPaddingHeight = 0, this.bottomPaddingHeight = 0, this.addVisibleNodes(this.rootNode(), n, n + i), this.setVerticalPadding(this.topPaddingHeight, this.bottomPaddingHeight), a && (a.parent ? a.select(!0) : this.selectedNode = a);
2658
2661
  }
@@ -2713,8 +2716,8 @@ var $n = class extends W {
2713
2716
  return n - e[e.length - 1].nodeSelfHeight();
2714
2717
  }
2715
2718
  allChildren(e) {
2716
- let t = lr.get(e) || [];
2717
- return lr.has(e) || lr.set(e, t), t;
2719
+ let t = dr.get(e) || [];
2720
+ return dr.has(e) || dr.set(e, t), t;
2718
2721
  }
2719
2722
  appendNode(e, t) {
2720
2723
  this.allChildren(e).push(t);
@@ -2726,7 +2729,7 @@ var $n = class extends W {
2726
2729
  this.allChildren(e).splice(t, 1);
2727
2730
  }
2728
2731
  removeAllChildren(e) {
2729
- lr.delete(e);
2732
+ dr.delete(e);
2730
2733
  }
2731
2734
  removeTopLevelNodes() {
2732
2735
  this.disposeAllNodes(), this.rootNode().removeChildren(), this.removeAllChildren(this.rootNode());
@@ -2737,36 +2740,36 @@ var $n = class extends W {
2737
2740
  onScroll(e) {
2738
2741
  this.updateVisibleNodes(!1), this.scrollToResolveCallback &&= (this.scrollToResolveCallback(), null);
2739
2742
  }
2740
- }, mr = class extends dr {
2743
+ }, gr = class extends pr {
2741
2744
  constructor(e, t, n, r) {
2742
2745
  let i = [
2743
2746
  {
2744
2747
  id: "object",
2745
- title: K(G.object),
2748
+ title: W(U.object),
2746
2749
  disclosure: !0,
2747
2750
  sortable: !0
2748
2751
  },
2749
2752
  {
2750
2753
  id: "distance",
2751
- title: K(G.distance),
2754
+ title: W(U.distance),
2752
2755
  width: "70px",
2753
2756
  sortable: !0,
2754
2757
  fixedWidth: !0
2755
2758
  },
2756
2759
  {
2757
2760
  id: "shallowSize",
2758
- title: K(G.shallowSize),
2761
+ title: W(U.shallowSize),
2759
2762
  width: "110px",
2760
2763
  sortable: !0,
2761
2764
  fixedWidth: !0
2762
2765
  },
2763
2766
  {
2764
2767
  id: "retainedSize",
2765
- title: K(G.retainedSize),
2768
+ title: W(U.retainedSize),
2766
2769
  width: "110px",
2767
2770
  sortable: !0,
2768
2771
  fixedWidth: !0,
2769
- sort: O.Descending
2772
+ sort: E.Descending
2770
2773
  }
2771
2774
  ];
2772
2775
  r ||= i, super(e, t, {
@@ -2776,63 +2779,63 @@ var $n = class extends W {
2776
2779
  }
2777
2780
  async setDataSource(e, t, n) {
2778
2781
  this.snapshot = e;
2779
- let r = new Vt(n ?? -1, "root", 0, t || e.rootNodeIndex, 0, 0, "");
2782
+ let r = new Ut(n ?? -1, "root", 0, t || e.rootNodeIndex, 0, 0, "");
2780
2783
  this.setRootNode(this.createRootNode(e, r)), this.rootNode().sort();
2781
2784
  }
2782
2785
  createRootNode(e, t) {
2783
- let n = new Bt("", t, "", -1);
2784
- return new er(this, e, n, null);
2786
+ let n = new Ht("", t, "", -1);
2787
+ return new nr(this, e, n, null);
2785
2788
  }
2786
2789
  sortingChanged() {
2787
2790
  let e = this.rootNode();
2788
2791
  e.hasChildren() && e.sort();
2789
2792
  }
2790
- }, hr = class extends mr {
2793
+ }, _r = class extends gr {
2791
2794
  resetRetainersButton;
2792
2795
  constructor(e, t) {
2793
2796
  let n = [
2794
2797
  {
2795
2798
  id: "object",
2796
- title: K(G.object),
2799
+ title: W(U.object),
2797
2800
  disclosure: !0,
2798
2801
  sortable: !0
2799
2802
  },
2800
2803
  {
2801
2804
  id: "distance",
2802
- title: K(G.distance),
2805
+ title: W(U.distance),
2803
2806
  width: "70px",
2804
2807
  sortable: !0,
2805
2808
  fixedWidth: !0,
2806
- sort: O.Ascending
2809
+ sort: E.Ascending
2807
2810
  },
2808
2811
  {
2809
2812
  id: "shallowSize",
2810
- title: K(G.shallowSize),
2813
+ title: W(U.shallowSize),
2811
2814
  width: "110px",
2812
2815
  sortable: !0,
2813
2816
  fixedWidth: !0
2814
2817
  },
2815
2818
  {
2816
2819
  id: "retainedSize",
2817
- title: K(G.retainedSize),
2820
+ title: W(U.retainedSize),
2818
2821
  width: "110px",
2819
2822
  sortable: !0,
2820
2823
  fixedWidth: !0
2821
2824
  }
2822
2825
  ];
2823
- super(e, t, K(G.heapSnapshotRetainment), n);
2826
+ super(e, t, W(U.heapSnapshotRetainment), n);
2824
2827
  }
2825
2828
  createRootNode(e, t) {
2826
- let n = new Bt("", t, "", -1);
2827
- return new tr(this, e, n, null);
2829
+ let n = new Ht("", t, "", -1);
2830
+ return new rr(this, e, n, null);
2828
2831
  }
2829
2832
  sortFields(e, t) {
2830
2833
  switch (e) {
2831
- case "object": return new A("name", t, "count", !1);
2832
- case "count": return new A("count", t, "name", !0);
2833
- case "shallowSize": return new A("shallowSize", t, "name", !0);
2834
- case "retainedSize": return new A("retainedSize", t, "name", !0);
2835
- case "distance": return new A("distance", t, "name", !0);
2834
+ case "object": return new O("name", t, "count", !1);
2835
+ case "count": return new O("count", t, "name", !0);
2836
+ case "shallowSize": return new O("shallowSize", t, "name", !0);
2837
+ case "retainedSize": return new O("retainedSize", t, "name", !0);
2838
+ case "distance": return new O("distance", t, "name", !0);
2836
2839
  default: throw Error(`Unknown column ${e}`);
2837
2840
  }
2838
2841
  }
@@ -2850,9 +2853,9 @@ var $n = class extends W {
2850
2853
  async dataSourceChanged() {
2851
2854
  this.reset(), await this.rootNode().sort(), this.rootNode().expand(), this.updateResetButtonVisibility();
2852
2855
  }
2853
- }, gr = /* @__PURE__ */ function(e) {
2856
+ }, vr = /* @__PURE__ */ function(e) {
2854
2857
  return e.ExpandRetainersComplete = "ExpandRetainersComplete", e;
2855
- }({}), _r = class extends pr {
2858
+ }({}), yr = class extends hr {
2856
2859
  profileIndex = -1;
2857
2860
  objectIdToSelect = null;
2858
2861
  nextRequestedFilter = null;
@@ -2862,44 +2865,44 @@ var $n = class extends W {
2862
2865
  let n = [
2863
2866
  {
2864
2867
  id: "object",
2865
- title: K(G.constructorString),
2868
+ title: W(U.constructorString),
2866
2869
  disclosure: !0,
2867
2870
  sortable: !0
2868
2871
  },
2869
2872
  {
2870
2873
  id: "distance",
2871
- title: K(G.distance),
2874
+ title: W(U.distance),
2872
2875
  width: "70px",
2873
2876
  sortable: !0,
2874
2877
  fixedWidth: !0
2875
2878
  },
2876
2879
  {
2877
2880
  id: "shallowSize",
2878
- title: K(G.shallowSize),
2881
+ title: W(U.shallowSize),
2879
2882
  width: "110px",
2880
2883
  sortable: !0,
2881
2884
  fixedWidth: !0
2882
2885
  },
2883
2886
  {
2884
2887
  id: "retainedSize",
2885
- title: K(G.retainedSize),
2888
+ title: W(U.retainedSize),
2886
2889
  width: "110px",
2887
- sort: O.Descending,
2890
+ sort: E.Descending,
2888
2891
  sortable: !0,
2889
2892
  fixedWidth: !0
2890
2893
  }
2891
2894
  ];
2892
2895
  super(e, t, {
2893
- displayName: K(G.heapSnapshotConstructors).toString(),
2896
+ displayName: W(U.heapSnapshotConstructors).toString(),
2894
2897
  columns: n
2895
2898
  });
2896
2899
  }
2897
2900
  sortFields(e, t) {
2898
2901
  switch (e) {
2899
- case "object": return new A("name", t, "retainedSize", !1);
2900
- case "distance": return new A("distance", t, "retainedSize", !1);
2901
- case "shallowSize": return new A("shallowSize", t, "name", !0);
2902
- case "retainedSize": return new A("retainedSize", t, "name", !0);
2902
+ case "object": return new O("name", t, "retainedSize", !1);
2903
+ case "distance": return new O("distance", t, "retainedSize", !1);
2904
+ case "shallowSize": return new O("shallowSize", t, "name", !0);
2905
+ case "retainedSize": return new O("retainedSize", t, "name", !0);
2903
2906
  default: throw Error(`Unknown column ${e}`);
2904
2907
  }
2905
2908
  }
@@ -2919,18 +2922,18 @@ var $n = class extends W {
2919
2922
  this.snapshot = e, this.profileIndex === -1 && this.populateChildren(), this.objectIdToSelect &&= (this.revealObjectByHeapSnapshotId(this.objectIdToSelect), null);
2920
2923
  }
2921
2924
  setSelectionRange(e, t) {
2922
- this.nodeFilterInternal = new j(e, t), this.populateChildren(this.nodeFilterInternal);
2925
+ this.nodeFilterInternal = new k(e, t), this.populateChildren(this.nodeFilterInternal);
2923
2926
  }
2924
2927
  setAllocationNodeId(e) {
2925
- this.nodeFilterInternal = new j(), this.nodeFilterInternal.allocationNodeId = e, this.populateChildren(this.nodeFilterInternal);
2928
+ this.nodeFilterInternal = new k(), this.nodeFilterInternal.allocationNodeId = e, this.populateChildren(this.nodeFilterInternal);
2926
2929
  }
2927
2930
  aggregatesReceived(e, t) {
2928
2931
  this.filterInProgress = null, this.nextRequestedFilter && this.snapshot && (this.snapshot.aggregatesWithFilter(this.nextRequestedFilter).then(this.aggregatesReceived.bind(this, this.nextRequestedFilter)), this.filterInProgress = this.nextRequestedFilter, this.nextRequestedFilter = null), this.removeTopLevelNodes(), this.resetSortingCache();
2929
- for (let n in t) this.appendNode(this.rootNode(), new rr(this, n, t[n], e));
2932
+ for (let n in t) this.appendNode(this.rootNode(), new ar(this, n, t[n], e));
2930
2933
  this.sortingChanged(), this.lastFilter = e;
2931
2934
  }
2932
2935
  async populateChildren(e) {
2933
- let t = e || new j();
2936
+ let t = e || new k();
2934
2937
  if (this.filterInProgress) {
2935
2938
  this.nextRequestedFilter = this.filterInProgress.equals(t) ? null : t;
2936
2939
  return;
@@ -2943,66 +2946,66 @@ var $n = class extends W {
2943
2946
  filterSelectIndexChanged(e, t, n) {
2944
2947
  if (this.profileIndex = t, this.nodeFilterInternal = void 0, t !== -1) {
2945
2948
  let n = t > 0 ? e[t - 1].maxJSObjectId : 0, r = e[t].maxJSObjectId;
2946
- this.nodeFilterInternal = new j(n, r);
2947
- } else n !== void 0 && (this.nodeFilterInternal = new j(), this.nodeFilterInternal.filterName = n);
2949
+ this.nodeFilterInternal = new k(n, r);
2950
+ } else n !== void 0 && (this.nodeFilterInternal = new k(), this.nodeFilterInternal.filterName = n);
2948
2951
  this.populateChildren(this.nodeFilterInternal);
2949
2952
  }
2950
- }, vr = class extends pr {
2953
+ }, br = class extends hr {
2951
2954
  baseSnapshot;
2952
2955
  constructor(e, t) {
2953
2956
  let n = [
2954
2957
  {
2955
2958
  id: "object",
2956
- title: K(G.constructorString),
2959
+ title: W(U.constructorString),
2957
2960
  disclosure: !0,
2958
2961
  sortable: !0
2959
2962
  },
2960
2963
  {
2961
2964
  id: "addedCount",
2962
- title: K(G.New),
2965
+ title: W(U.New),
2963
2966
  width: "75px",
2964
2967
  sortable: !0,
2965
2968
  fixedWidth: !0
2966
2969
  },
2967
2970
  {
2968
2971
  id: "removedCount",
2969
- title: K(G.Deleted),
2972
+ title: W(U.Deleted),
2970
2973
  width: "75px",
2971
2974
  sortable: !0,
2972
2975
  fixedWidth: !0
2973
2976
  },
2974
2977
  {
2975
2978
  id: "countDelta",
2976
- title: K(G.Delta),
2979
+ title: W(U.Delta),
2977
2980
  width: "65px",
2978
2981
  sortable: !0,
2979
2982
  fixedWidth: !0
2980
2983
  },
2981
2984
  {
2982
2985
  id: "addedSize",
2983
- title: K(G.allocSize),
2986
+ title: W(U.allocSize),
2984
2987
  width: "75px",
2985
2988
  sortable: !0,
2986
2989
  fixedWidth: !0,
2987
- sort: O.Descending
2990
+ sort: E.Descending
2988
2991
  },
2989
2992
  {
2990
2993
  id: "removedSize",
2991
- title: K(G.freedSize),
2994
+ title: W(U.freedSize),
2992
2995
  width: "75px",
2993
2996
  sortable: !0,
2994
2997
  fixedWidth: !0
2995
2998
  },
2996
2999
  {
2997
3000
  id: "sizeDelta",
2998
- title: K(G.sizeDelta),
3001
+ title: W(U.sizeDelta),
2999
3002
  width: "75px",
3000
3003
  sortable: !0,
3001
3004
  fixedWidth: !0
3002
3005
  }
3003
3006
  ];
3004
3007
  super(e, t, {
3005
- displayName: K(G.heapSnapshotDiff).toString(),
3008
+ displayName: W(U.heapSnapshotDiff).toString(),
3006
3009
  columns: n
3007
3010
  });
3008
3011
  }
@@ -3011,13 +3014,13 @@ var $n = class extends W {
3011
3014
  }
3012
3015
  sortFields(e, t) {
3013
3016
  switch (e) {
3014
- case "object": return new A("name", t, "count", !1);
3015
- case "addedCount": return new A("addedCount", t, "name", !0);
3016
- case "removedCount": return new A("removedCount", t, "name", !0);
3017
- case "countDelta": return new A("countDelta", t, "name", !0);
3018
- case "addedSize": return new A("addedSize", t, "name", !0);
3019
- case "removedSize": return new A("removedSize", t, "name", !0);
3020
- case "sizeDelta": return new A("sizeDelta", t, "name", !0);
3017
+ case "object": return new O("name", t, "count", !1);
3018
+ case "addedCount": return new O("addedCount", t, "name", !0);
3019
+ case "removedCount": return new O("removedCount", t, "name", !0);
3020
+ case "countDelta": return new O("countDelta", t, "name", !0);
3021
+ case "addedSize": return new O("addedSize", t, "name", !0);
3022
+ case "removedSize": return new O("removedSize", t, "name", !0);
3023
+ case "sizeDelta": return new O("sizeDelta", t, "name", !0);
3021
3024
  default: throw Error(`Unknown column ${e}`);
3022
3025
  }
3023
3026
  }
@@ -3036,55 +3039,55 @@ var $n = class extends W {
3036
3039
  let e = await this.snapshot.interfaceDefinitions(), t = await this.baseSnapshot.aggregatesForDiff(e), n = await this.snapshot.calculateSnapshotDiff(this.baseSnapshot.uid, t);
3037
3040
  for (let e in n) {
3038
3041
  let t = n[e];
3039
- this.appendNode(this.rootNode(), new ar(this, e, t));
3042
+ this.appendNode(this.rootNode(), new sr(this, e, t));
3040
3043
  }
3041
3044
  this.sortingChanged();
3042
3045
  }
3043
- }, yr = class extends pr {
3046
+ }, xr = class extends hr {
3044
3047
  linkifierInternal;
3045
3048
  topNodes;
3046
3049
  constructor(e, t) {
3047
3050
  let n = [
3048
3051
  {
3049
3052
  id: "liveCount",
3050
- title: K(G.liveCount),
3053
+ title: W(U.liveCount),
3051
3054
  width: "75px",
3052
3055
  sortable: !0,
3053
3056
  fixedWidth: !0
3054
3057
  },
3055
3058
  {
3056
3059
  id: "count",
3057
- title: K(G.count),
3060
+ title: W(U.count),
3058
3061
  width: "65px",
3059
3062
  sortable: !0,
3060
3063
  fixedWidth: !0
3061
3064
  },
3062
3065
  {
3063
3066
  id: "liveSize",
3064
- title: K(G.liveSize),
3067
+ title: W(U.liveSize),
3065
3068
  width: "75px",
3066
3069
  sortable: !0,
3067
3070
  fixedWidth: !0
3068
3071
  },
3069
3072
  {
3070
3073
  id: "size",
3071
- title: K(G.size),
3074
+ title: W(U.size),
3072
3075
  width: "75px",
3073
3076
  sortable: !0,
3074
3077
  fixedWidth: !0,
3075
- sort: O.Descending
3078
+ sort: E.Descending
3076
3079
  },
3077
3080
  {
3078
3081
  id: "name",
3079
- title: K(G.function),
3082
+ title: W(U.function),
3080
3083
  disclosure: !0,
3081
3084
  sortable: !0
3082
3085
  }
3083
3086
  ];
3084
3087
  super(e, t, {
3085
- displayName: K(G.allocation).toString(),
3088
+ displayName: W(U.allocation).toString(),
3086
3089
  columns: n
3087
- }), this.linkifierInternal = new E();
3090
+ }), this.linkifierInternal = new T();
3088
3091
  }
3089
3092
  get linkifier() {
3090
3093
  return this.linkifierInternal;
@@ -3098,20 +3101,20 @@ var $n = class extends W {
3098
3101
  populateChildren() {
3099
3102
  this.removeTopLevelNodes();
3100
3103
  let e = this.rootNode(), t = this.topNodes || [];
3101
- for (let n of t) this.appendNode(e, new or(this, n));
3104
+ for (let n of t) this.appendNode(e, new cr(this, n));
3102
3105
  this.updateVisibleNodes(!0);
3103
3106
  }
3104
3107
  sortingChanged() {
3105
3108
  this.topNodes !== void 0 && (this.topNodes.sort(this.createComparator()), this.rootNode().removeChildren(), this.populateChildren());
3106
3109
  }
3107
3110
  createComparator() {
3108
- let e = this.sortColumnId(), t = this.sortOrder() === O.Ascending ? 1 : -1;
3111
+ let e = this.sortColumnId(), t = this.sortOrder() === E.Ascending ? 1 : -1;
3109
3112
  function n(n, r) {
3110
3113
  return n[e] > r[e] ? t : n[e] < r[e] ? -t : 0;
3111
3114
  }
3112
3115
  return n;
3113
3116
  }
3114
- }, br = {
3117
+ }, Sr = {
3115
3118
  buildingEdgeIndexes: "Building edge indexes…",
3116
3119
  buildingRetainers: "Building retainers…",
3117
3120
  propagatingDomState: "Propagating DOM state…",
@@ -3136,22 +3139,22 @@ var $n = class extends W {
3136
3139
  loadingSamples: "Loading samples…",
3137
3140
  loadingLocations: "Loading locations…",
3138
3141
  loadingStrings: "Loading strings…"
3139
- }, xr = /* @__PURE__ */ e({
3140
- AllocationPerspective: () => Ar,
3141
- ComparisonPerspective: () => Or,
3142
- ContainmentPerspective: () => kr,
3142
+ }, Cr = /* @__PURE__ */ e({
3143
+ AllocationPerspective: () => jr,
3144
+ ComparisonPerspective: () => kr,
3145
+ ContainmentPerspective: () => Ar,
3143
3146
  HeapAllocationStackView: () => Rr,
3144
- HeapProfileHeader: () => Ir,
3145
- HeapSnapshotProfileType: () => Mr,
3146
- HeapSnapshotProfileTypeEvents: () => Nr,
3147
+ HeapProfileHeader: () => J,
3148
+ HeapSnapshotProfileType: () => Nr,
3149
+ HeapSnapshotProfileTypeEvents: () => Pr,
3147
3150
  HeapSnapshotStatisticsView: () => Lr,
3148
- HeapSnapshotView: () => Tr,
3149
- Perspective: () => Er,
3150
- StatisticsPerspective: () => jr,
3151
- SummaryPerspective: () => Dr,
3152
- TrackingHeapSnapshotProfileType: () => Pr,
3153
- TrackingHeapSnapshotProfileTypeEvents: () => Fr
3154
- }), q = {
3151
+ HeapSnapshotView: () => Dr,
3152
+ Perspective: () => q,
3153
+ StatisticsPerspective: () => Mr,
3154
+ SummaryPerspective: () => Or,
3155
+ TrackingHeapSnapshotProfileType: () => Fr,
3156
+ TrackingHeapSnapshotProfileTypeEvents: () => Ir
3157
+ }), G = {
3155
3158
  find: "Find",
3156
3159
  containment: "Containment",
3157
3160
  retainers: "Retainers",
@@ -3199,7 +3202,7 @@ var $n = class extends W {
3199
3202
  heapMemoryUsage: "Heap memory usage",
3200
3203
  stackWasNotRecordedForThisObject: "Stack wasn't recorded for this object because it had been allocated before this profile recording started.",
3201
3204
  restoreIgnoredRetainers: "Restore ignored retainers"
3202
- }, Sr = v("panels/profiler/HeapSnapshotView.ts", q), J = g.bind(void 0, Sr), Cr = v("panels/profiler/ModuleUIStrings.ts", br), wr = g.bind(void 0, Cr), Tr = class e extends Ye {
3205
+ }, wr = o("panels/profiler/HeapSnapshotView.ts", G), K = r.bind(void 0, wr), Tr = o("panels/profiler/ModuleUIStrings.ts", Sr), Er = r.bind(void 0, Tr), Dr = class e extends Xe {
3203
3206
  searchResults = [];
3204
3207
  profile;
3205
3208
  linkifier;
@@ -3246,37 +3249,37 @@ var $n = class extends W {
3246
3249
  }
3247
3250
  constructor(e, t, n) {
3248
3251
  super({
3249
- title: J(q.heapSnapshot),
3252
+ title: K(G.heapSnapshot),
3250
3253
  viewId: "heap-snapshot"
3251
- }), this.#e = n, this.element.classList.add("heap-snapshot-view"), this.profile = t, this.linkifier = new E();
3254
+ }), this.#e = n, this.element.classList.add("heap-snapshot-view"), this.profile = t, this.linkifier = new T();
3252
3255
  let r = t.profileType();
3253
- r.addEventListener("SnapshotReceived", this.onReceiveSnapshot, this), r.addEventListener(F.REMOVE_PROFILE_HEADER, this.onProfileHeaderRemoved, this);
3254
- let i = r.id === Pr.TypeId;
3256
+ r.addEventListener("SnapshotReceived", this.onReceiveSnapshot, this), r.addEventListener(N.REMOVE_PROFILE_HEADER, this.onProfileHeaderRemoved, this);
3257
+ let i = r.id === Fr.TypeId;
3255
3258
  i && this.createOverview();
3256
3259
  let a = n.trackingHeapSnapshotProfileType.recordAllocationStacksSetting().get();
3257
- this.parentDataDisplayDelegate = e, this.searchableViewInternal = new Ne(this, null), this.searchableViewInternal.setPlaceholder(J(q.find), J(q.find)), this.searchableViewInternal.show(this.element), this.splitWidget = new ke(!1, !0, "heap-snapshot-split-view-state", 200, 200), this.splitWidget.show(this.searchableViewInternal.element);
3260
+ this.parentDataDisplayDelegate = e, this.searchableViewInternal = new Ae(this, null), this.searchableViewInternal.setPlaceholder(K(G.find), K(G.find)), this.searchableViewInternal.show(this.element), this.splitWidget = new Ee(!1, !0, "heap-snapshot-split-view-state", 200, 200), this.splitWidget.show(this.searchableViewInternal.element);
3258
3261
  let o = t.heapProfilerModel();
3259
- this.containmentDataGrid = new mr(o, this, J(q.containment)), this.containmentDataGrid.addEventListener(k.SELECTED_NODE, this.selectionChanged, this), this.containmentWidget = this.containmentDataGrid.asWidget(), this.containmentWidget.setMinimumSize(50, 25), this.statisticsView = new Lr(), this.constructorsDataGrid = new _r(o, this), this.constructorsDataGrid.addEventListener(k.SELECTED_NODE, this.selectionChanged, this), this.constructorsWidget = this.constructorsDataGrid.asWidget(), this.constructorsWidget.setMinimumSize(50, 25), this.constructorsWidget.element.setAttribute("jslog", `${tt("heap-snapshot.constructors-view").track({ resize: !0 })}`), this.diffDataGrid = new vr(o, this), this.diffDataGrid.addEventListener(k.SELECTED_NODE, this.selectionChanged, this), this.diffWidget = this.diffDataGrid.asWidget(), this.diffWidget.setMinimumSize(50, 25), this.allocationDataGrid = null, i && a && (this.allocationDataGrid = new yr(o, this), this.allocationDataGrid.addEventListener(k.SELECTED_NODE, this.onSelectAllocationNode, this), this.allocationWidget = this.allocationDataGrid.asWidget(), this.allocationWidget.setMinimumSize(50, 25), this.allocationStackView = new Rr(o), this.allocationStackView.setMinimumSize(50, 25), this.tabbedPane = new ve()), this.retainmentDataGrid = new hr(o, this), this.retainmentWidget = this.retainmentDataGrid.asWidget(), this.retainmentWidget.setMinimumSize(50, 21), this.retainmentWidget.element.classList.add("retaining-paths-view"), this.retainmentWidget.element.setAttribute("jslog", `${tt("heap-snapshot.retaining-paths-view").track({ resize: !0 })}`);
3262
+ this.containmentDataGrid = new gr(o, this, K(G.containment)), this.containmentDataGrid.addEventListener(D.SELECTED_NODE, this.selectionChanged, this), this.containmentWidget = this.containmentDataGrid.asWidget(), this.containmentWidget.setMinimumSize(50, 25), this.statisticsView = new Lr(), this.constructorsDataGrid = new yr(o, this), this.constructorsDataGrid.addEventListener(D.SELECTED_NODE, this.selectionChanged, this), this.constructorsWidget = this.constructorsDataGrid.asWidget(), this.constructorsWidget.setMinimumSize(50, 25), this.constructorsWidget.element.setAttribute("jslog", `${it("heap-snapshot.constructors-view").track({ resize: !0 })}`), this.diffDataGrid = new br(o, this), this.diffDataGrid.addEventListener(D.SELECTED_NODE, this.selectionChanged, this), this.diffWidget = this.diffDataGrid.asWidget(), this.diffWidget.setMinimumSize(50, 25), this.allocationDataGrid = null, i && a && (this.allocationDataGrid = new xr(o, this), this.allocationDataGrid.addEventListener(D.SELECTED_NODE, this.onSelectAllocationNode, this), this.allocationWidget = this.allocationDataGrid.asWidget(), this.allocationWidget.setMinimumSize(50, 25), this.allocationStackView = new Rr(o), this.allocationStackView.setMinimumSize(50, 25), this.tabbedPane = new pe()), this.retainmentDataGrid = new _r(o, this), this.retainmentWidget = this.retainmentDataGrid.asWidget(), this.retainmentWidget.setMinimumSize(50, 21), this.retainmentWidget.element.classList.add("retaining-paths-view"), this.retainmentWidget.element.setAttribute("jslog", `${it("heap-snapshot.retaining-paths-view").track({ resize: !0 })}`);
3260
3263
  let s;
3261
- if (this.allocationStackView) this.tabbedPane = new ve(), this.tabbedPane.appendTab("retainers", J(q.retainers), this.retainmentWidget), this.tabbedPane.appendTab("allocation-stack", J(q.allocationStack), this.allocationStackView), s = this.tabbedPane.headerElement(), this.objectDetailsView = this.tabbedPane;
3264
+ if (this.allocationStackView) this.tabbedPane = new pe(), this.tabbedPane.appendTab("retainers", K(G.retainers), this.retainmentWidget), this.tabbedPane.appendTab("allocation-stack", K(G.allocationStack), this.allocationStackView), s = this.tabbedPane.headerElement(), this.objectDetailsView = this.tabbedPane;
3262
3265
  else {
3263
3266
  let e = document.createElement("div");
3264
3267
  e.classList.add("heap-snapshot-view-resizer");
3265
3268
  let t = e.createChild("div", "title");
3266
3269
  e.createChild("div", "verticalResizerIcon");
3267
3270
  let n = t.createChild("span");
3268
- n.textContent = J(q.retainers), s = e, this.objectDetailsView = new w(), this.objectDetailsView.element.appendChild(e), this.retainmentWidget.show(this.objectDetailsView.element);
3271
+ n.textContent = K(G.retainers), s = e, this.objectDetailsView = new b(), this.objectDetailsView.element.appendChild(e), this.retainmentWidget.show(this.objectDetailsView.element);
3269
3272
  }
3270
- this.splitWidget.hideDefaultResizer(), this.splitWidget.installResizer(s), this.retainmentDataGrid.addEventListener(k.SELECTED_NODE, this.inspectedObjectChanged, this), this.retainmentDataGrid.reset(), this.perspectives = [], this.comparisonPerspective = new Or(), this.perspectives.push(new Dr()), t.profileType() !== this.#e.trackingHeapSnapshotProfileType && this.perspectives.push(this.comparisonPerspective), this.perspectives.push(new kr()), this.allocationWidget && this.perspectives.push(new Ar()), this.perspectives.push(new jr()), this.perspectiveSelect = new we(this.onSelectedPerspectiveChanged.bind(this), J(q.perspective), void 0, "profiler.heap-snapshot-perspective"), this.updatePerspectiveOptions(), this.baseSelect = new we(this.changeBase.bind(this), J(q.baseSnapshot), void 0, "profiler.heap-snapshot-base"), this.baseSelect.setVisible(!1), this.updateBaseOptions(), this.filterSelect = new we(this.changeFilter.bind(this), J(q.filter), void 0, "profiler.heap-snapshot-filter"), this.filterSelect.setVisible(!1), this.updateFilterOptions(), this.classNameFilter = new le(J(q.filterByClass)), this.classNameFilter.setVisible(!1), this.constructorsDataGrid.setNameFilter(this.classNameFilter), this.diffDataGrid.setNameFilter(this.classNameFilter), this.selectedSizeText = new ut();
3271
- let c = J(q.restoreIgnoredRetainers);
3272
- this.resetRetainersButton = new C(c, "clear-list", c), this.resetRetainersButton.setVisible(!1), this.resetRetainersButton.addEventListener(C.Events.CLICK, async () => {
3273
+ this.splitWidget.hideDefaultResizer(), this.splitWidget.installResizer(s), this.retainmentDataGrid.addEventListener(D.SELECTED_NODE, this.inspectedObjectChanged, this), this.retainmentDataGrid.reset(), this.perspectives = [], this.comparisonPerspective = new kr(), this.perspectives.push(new Or()), t.profileType() !== this.#e.trackingHeapSnapshotProfileType && this.perspectives.push(this.comparisonPerspective), this.perspectives.push(new Ar()), this.allocationWidget && this.perspectives.push(new jr()), this.perspectives.push(new Mr()), this.perspectiveSelect = new be(this.onSelectedPerspectiveChanged.bind(this), K(G.perspective), void 0, "profiler.heap-snapshot-perspective"), this.updatePerspectiveOptions(), this.baseSelect = new be(this.changeBase.bind(this), K(G.baseSnapshot), void 0, "profiler.heap-snapshot-base"), this.baseSelect.setVisible(!1), this.updateBaseOptions(), this.filterSelect = new be(this.changeFilter.bind(this), K(G.filter), void 0, "profiler.heap-snapshot-filter"), this.filterSelect.setVisible(!1), this.updateFilterOptions(), this.classNameFilter = new ie(K(G.filterByClass)), this.classNameFilter.setVisible(!1), this.constructorsDataGrid.setNameFilter(this.classNameFilter), this.diffDataGrid.setNameFilter(this.classNameFilter), this.selectedSizeText = new ut();
3274
+ let c = K(G.restoreIgnoredRetainers);
3275
+ this.resetRetainersButton = new y(c, "clear-list", c), this.resetRetainersButton.setVisible(!1), this.resetRetainersButton.addEventListener(y.Events.CLICK, async () => {
3273
3276
  await this.retainmentDataGrid.snapshot?.unignoreAllNodesInRetainersView(), await this.retainmentDataGrid.dataSourceChanged();
3274
- }), this.retainmentDataGrid.resetRetainersButton = this.resetRetainersButton, this.popoverHelper = new ht(this.element, this.getPopoverRequest.bind(this), "profiler.heap-snapshot-object"), this.popoverHelper.setDisableOnClick(!0), this.element.addEventListener("scroll", this.popoverHelper.hidePopover.bind(this.popoverHelper), !0), this.currentPerspectiveIndex = 0, this.currentPerspective = this.perspectives[0], this.currentPerspective.activate(this), this.dataGrid = this.currentPerspective.masterGrid(this), this.populate(), this.searchThrottler = new se(0);
3275
- for (let e of this.profiles()) e.addEventListener(P.PROFILE_TITLE_CHANGED, this.updateControls, this);
3277
+ }), this.retainmentDataGrid.resetRetainersButton = this.resetRetainersButton, this.popoverHelper = new pt(this.element, this.getPopoverRequest.bind(this), "profiler.heap-snapshot-object"), this.popoverHelper.setDisableOnClick(!0), this.element.addEventListener("scroll", this.popoverHelper.hidePopover.bind(this.popoverHelper), !0), this.currentPerspectiveIndex = 0, this.currentPerspective = this.perspectives[0], this.currentPerspective.activate(this), this.dataGrid = this.currentPerspective.masterGrid(this), this.populate(), this.searchThrottler = new Be(0);
3278
+ for (let e of this.profiles()) e.addEventListener(M.PROFILE_TITLE_CHANGED, this.updateControls, this);
3276
3279
  }
3277
3280
  createOverview() {
3278
3281
  let e = this.profile.profileType();
3279
- this.trackingOverviewGrid = new Nn(), this.trackingOverviewGrid.addEventListener(Pn.IDS_RANGE_CHANGED, this.onIdsRangeChanged.bind(this)), !this.profile.fromFile() && e.profileBeingRecorded() === this.profile && (e.addEventListener("HeapStatsUpdate", this.onHeapStatsUpdate, this), e.addEventListener("TrackingStopped", this.onStopTracking, this), this.trackingOverviewGrid.start());
3282
+ this.trackingOverviewGrid = new Fn(), this.trackingOverviewGrid.addEventListener(In.IDS_RANGE_CHANGED, this.onIdsRangeChanged.bind(this)), !this.profile.fromFile() && e.profileBeingRecorded() === this.profile && (e.addEventListener("HeapStatsUpdate", this.onHeapStatsUpdate, this), e.addEventListener("TrackingStopped", this.onStopTracking, this), this.trackingOverviewGrid.start());
3280
3283
  }
3281
3284
  onStopTracking() {
3282
3285
  let e = this.profile.profileType();
@@ -3306,11 +3309,11 @@ var $n = class extends W {
3306
3309
  }
3307
3310
  async populate() {
3308
3311
  let e = await this.profile.loadPromise;
3309
- if (this.retrieveStatistics(e), this.dataGrid && this.dataGrid.setDataSource(e, 0), this.profile.profileType().id === Pr.TypeId && this.profile.fromFile()) {
3312
+ if (this.retrieveStatistics(e), this.dataGrid && this.dataGrid.setDataSource(e, 0), this.profile.profileType().id === Fr.TypeId && this.profile.fromFile()) {
3310
3313
  let t = await e.getSamples();
3311
3314
  if (t) {
3312
3315
  console.assert(!!t.timestamps.length);
3313
- let e = new In();
3316
+ let e = new Rn();
3314
3317
  e.sizes = t.sizes, e.ids = t.lastAssignedIds, e.timestamps = t.timestamps, e.max = t.sizes, e.totalTime = Math.max(t.timestamps[t.timestamps.length - 1] || 0, 1e4), this.trackingOverviewGrid && this.trackingOverviewGrid.setSamples(e);
3315
3318
  }
3316
3319
  }
@@ -3322,44 +3325,44 @@ var $n = class extends W {
3322
3325
  {
3323
3326
  value: n.code,
3324
3327
  color: "var(--app-color-code)",
3325
- title: J(q.code)
3328
+ title: K(G.code)
3326
3329
  },
3327
3330
  {
3328
3331
  value: n.strings,
3329
3332
  color: "var(--app-color-strings)",
3330
- title: J(q.strings)
3333
+ title: K(G.strings)
3331
3334
  },
3332
3335
  {
3333
3336
  value: n.jsArrays,
3334
3337
  color: "var(--app-color-js-arrays)",
3335
- title: J(q.jsArrays)
3338
+ title: K(G.jsArrays)
3336
3339
  },
3337
3340
  {
3338
3341
  value: r.typedArrays,
3339
3342
  color: "var(--app-color-typed-arrays)",
3340
- title: J(q.typedArrays)
3343
+ title: K(G.typedArrays)
3341
3344
  },
3342
3345
  {
3343
3346
  value: n.system,
3344
3347
  color: "var(--app-color-system)",
3345
- title: J(q.systemObjects)
3348
+ title: K(G.systemObjects)
3346
3349
  },
3347
3350
  {
3348
3351
  value: i,
3349
3352
  color: "var(--app-color-other-js-objects)",
3350
- title: J(q.otherJSObjects)
3353
+ title: K(G.otherJSObjects)
3351
3354
  },
3352
3355
  {
3353
3356
  value: r.total - r.typedArrays,
3354
3357
  color: "var(--app-color-other-non-js-objects)",
3355
- title: J(q.otherNonJSObjects)
3358
+ title: K(G.otherNonJSObjects)
3356
3359
  }
3357
3360
  ];
3358
3361
  return this.statisticsView.setTotalAndRecords(t.total, a), t;
3359
3362
  }
3360
3363
  onIdsRangeChanged(e) {
3361
3364
  let { minId: t, maxId: n } = e.data;
3362
- this.selectedSizeText.setText(J(q.selectedSizeS, { PH1: m(e.data.size) })), this.constructorsDataGrid.snapshot && this.constructorsDataGrid.setSelectionRange(t, n);
3365
+ this.selectedSizeText.setText(K(G.selectedSizeS, { PH1: a(e.data.size) })), this.constructorsDataGrid.snapshot && this.constructorsDataGrid.setSelectionRange(t, n);
3363
3366
  }
3364
3367
  async toolbarItems() {
3365
3368
  let e = [this.perspectiveSelect, this.classNameFilter];
@@ -3384,7 +3387,7 @@ var $n = class extends W {
3384
3387
  e && e.select();
3385
3388
  }
3386
3389
  performSearch(e, t, n) {
3387
- let r = new Ht(e.query.trim(), e.caseSensitive, e.wholeWord, e.isRegex, t, n || !1);
3390
+ let r = new Wt(e.query.trim(), e.caseSensitive, e.wholeWord, e.isRegex, t, n || !1);
3388
3391
  this.searchThrottler.schedule(this.performSearchInternal.bind(this, r));
3389
3392
  }
3390
3393
  async performSearchInternal(e) {
@@ -3423,23 +3426,23 @@ var $n = class extends W {
3423
3426
  if (this.baseProfile === this.profiles()[this.baseSelect.selectedIndex()]) return;
3424
3427
  this.baseProfile = this.profiles()[this.baseSelect.selectedIndex()];
3425
3428
  let e = this.dataGrid;
3426
- e.snapshot && this.baseProfile.loadPromise.then(e.setBaseDataSource.bind(e)), !(!this.currentSearch || !this.searchResults) && this.performSearch(this.currentSearch, !1);
3429
+ e.snapshot && this.baseProfile.loadPromise.then(e.setBaseDataSource.bind(e)), this.currentSearch && this.searchResults && this.performSearch(this.currentSearch, !1);
3427
3430
  }
3428
3431
  static ALWAYS_AVAILABLE_FILTERS = [
3429
3432
  {
3430
- uiName: J(q.duplicatedStrings),
3433
+ uiName: K(G.duplicatedStrings),
3431
3434
  filterName: "duplicatedStrings"
3432
3435
  },
3433
3436
  {
3434
- uiName: J(q.objectsRetainedByDetachedDomNodes),
3437
+ uiName: K(G.objectsRetainedByDetachedDomNodes),
3435
3438
  filterName: "objectsRetainedByDetachedDomNodes"
3436
3439
  },
3437
3440
  {
3438
- uiName: J(q.objectsRetainedByConsole),
3441
+ uiName: K(G.objectsRetainedByConsole),
3439
3442
  filterName: "objectsRetainedByConsole"
3440
3443
  },
3441
3444
  {
3442
- uiName: J(q.objectsRetainedByEventHandlers),
3445
+ uiName: K(G.objectsRetainedByEventHandlers),
3443
3446
  filterName: "objectsRetainedByEventHandlers"
3444
3447
  }
3445
3448
  ];
@@ -3447,7 +3450,7 @@ var $n = class extends W {
3447
3450
  let t = this.filterSelect.selectedIndex(), n, r = this.filterSelect.size() - e.ALWAYS_AVAILABLE_FILTERS.length;
3448
3451
  t >= r && (n = e.ALWAYS_AVAILABLE_FILTERS[t - r].filterName, t = 0);
3449
3452
  let i = t - 1;
3450
- this.dataGrid && (this.dataGrid.filterSelectIndexChanged(this.profiles(), i, n), !(!this.currentSearch || !this.searchResults) && this.performSearch(this.currentSearch, !1));
3453
+ this.dataGrid && (this.dataGrid.filterSelectIndexChanged(this.profiles(), i, n), this.currentSearch && this.searchResults && this.performSearch(this.currentSearch, !1));
3451
3454
  }
3452
3455
  profiles() {
3453
3456
  return this.profile.profileType().getProfiles();
@@ -3462,7 +3465,7 @@ var $n = class extends W {
3462
3465
  }
3463
3466
  inspectedObjectChanged(e) {
3464
3467
  let t = e.data, n = this.profile.heapProfilerModel();
3465
- n && t instanceof $n && n.addInspectedHeapObject(String(t.snapshotNodeId));
3468
+ n && t instanceof tr && n.addInspectedHeapObject(String(t.snapshotNodeId));
3466
3469
  }
3467
3470
  setSelectedNodeForDetailsView(e) {
3468
3471
  let t = e?.retainersDataSource();
@@ -3473,7 +3476,7 @@ var $n = class extends W {
3473
3476
  if (t === -1 || this.currentPerspectiveIndex === t) return;
3474
3477
  let n = this.perspectives[t].masterGrid(this);
3475
3478
  if (!n) return;
3476
- let r = n.once(fr.ContentShown), i = this.perspectiveSelect.options().find((e) => e.value === String(t));
3479
+ let r = n.once(mr.ContentShown), i = this.perspectiveSelect.options().find((e) => e.value === String(t));
3477
3480
  this.perspectiveSelect.select(i), this.changePerspective(t), await r;
3478
3481
  }
3479
3482
  async updateDataSourceAndView() {
@@ -3492,15 +3495,15 @@ var $n = class extends W {
3492
3495
  if (e === this.currentPerspectiveIndex) return;
3493
3496
  this.currentPerspectiveIndex = e, this.currentPerspective.deactivate(this);
3494
3497
  let t = this.perspectives[e];
3495
- this.currentPerspective = t, this.dataGrid = t.masterGrid(this), t.activate(this), this.refreshVisibleData(), this.dataGrid && this.dataGrid.updateWidths(), this.updateDataSourceAndView(), !(!this.currentSearch || !this.searchResults) && this.performSearch(this.currentSearch, !1);
3498
+ this.currentPerspective = t, this.dataGrid = t.masterGrid(this), t.activate(this), this.refreshVisibleData(), this.dataGrid && this.dataGrid.updateWidths(), this.updateDataSourceAndView(), this.currentSearch && this.searchResults && this.performSearch(this.currentSearch, !1);
3496
3499
  }
3497
3500
  async selectLiveObject(e, t) {
3498
3501
  if (await this.changePerspectiveAndWait(e), !this.dataGrid) return;
3499
3502
  let n = await this.dataGrid.revealObjectByHeapSnapshotId(t);
3500
- n ? n.select() : d.instance().error("Cannot find corresponding heap snapshot node");
3503
+ n ? n.select() : g.instance().error("Cannot find corresponding heap snapshot node");
3501
3504
  }
3502
3505
  getPopoverRequest(e) {
3503
- let t = pt(e.target, "span"), n = pt(e.target, "tr");
3506
+ let t = ft(e.target, "span"), n = ft(e.target, "tr");
3504
3507
  if (!n || !this.dataGrid) return null;
3505
3508
  let r = this.dataGrid.dataGridNodeFromNode(n) || this.containmentDataGrid.dataGridNodeFromNode(n) || this.constructorsDataGrid.dataGridNodeFromNode(n) || this.diffDataGrid.dataGridNodeFromNode(n) || this.allocationDataGrid?.dataGridNodeFromNode(n) || this.retainmentDataGrid.dataGridNodeFromNode(n), i = this.profile.heapProfilerModel();
3506
3509
  if (!r || !t || !i) return null;
@@ -3510,7 +3513,7 @@ var $n = class extends W {
3510
3513
  show: async (e) => {
3511
3514
  if (!i) return !1;
3512
3515
  let t = await r.queryObjectContent(i, "popover");
3513
- return a = t instanceof Me ? await St.buildObjectPopover(t, e) : St.buildDescriptionPopover(t.description, t.link, e), a ? !0 : (i.runtimeModel().releaseObjectGroup("popover"), !1);
3516
+ return a = t instanceof Te ? await Et.buildObjectPopover(t, e) : Et.buildDescriptionPopover(t.description, t.link, e), a ? !0 : (i.runtimeModel().releaseObjectGroup("popover"), !1);
3514
3517
  },
3515
3518
  hide: () => {
3516
3519
  i.runtimeModel().releaseObjectGroup("popover"), a && a.dispose();
@@ -3534,13 +3537,13 @@ var $n = class extends W {
3534
3537
  }
3535
3538
  updateFilterOptions() {
3536
3539
  let t = this.profiles(), n = this.filterSelect.selectedIndex(), r = this.filterSelect.size();
3537
- this.filterSelect.removeOptions(), this.filterSelect.createOption(J(q.allObjects));
3540
+ this.filterSelect.removeOptions(), this.filterSelect.createOption(K(G.allObjects));
3538
3541
  for (let e = 0; e < t.length; ++e) {
3539
3542
  let n;
3540
- n = e ? J(q.objectsAllocatedBetweenSAndS, {
3543
+ n = e ? K(G.objectsAllocatedBetweenSAndS, {
3541
3544
  PH1: t[e - 1].title,
3542
3545
  PH2: t[e].title
3543
- }) : J(q.objectsAllocatedBeforeS, { PH1: t[e].title }), this.filterSelect.createOption(n);
3546
+ }) : K(G.objectsAllocatedBeforeS, { PH1: t[e].title }), this.filterSelect.createOption(n);
3544
3547
  }
3545
3548
  let i = this.filterSelect.size(), a = this.filterSelect.createOption("—".repeat(18));
3546
3549
  a.disabled = !0;
@@ -3555,16 +3558,16 @@ var $n = class extends W {
3555
3558
  this.updatePerspectiveOptions(), this.updateBaseOptions(), this.updateFilterOptions();
3556
3559
  }
3557
3560
  onReceiveSnapshot(e) {
3558
- this.updateControls(), e.data.addEventListener(P.PROFILE_TITLE_CHANGED, this.updateControls, this);
3561
+ this.updateControls(), e.data.addEventListener(M.PROFILE_TITLE_CHANGED, this.updateControls, this);
3559
3562
  }
3560
3563
  onProfileHeaderRemoved(e) {
3561
3564
  let t = e.data;
3562
- t.removeEventListener(P.PROFILE_TITLE_CHANGED, this.updateControls, this), this.profile === t ? (this.detach(), this.profile.profileType().removeEventListener("SnapshotReceived", this.onReceiveSnapshot, this), this.profile.profileType().removeEventListener(F.REMOVE_PROFILE_HEADER, this.onProfileHeaderRemoved, this), this.dispose()) : this.updateControls();
3565
+ t.removeEventListener(M.PROFILE_TITLE_CHANGED, this.updateControls, this), this.profile === t ? (this.detach(), this.profile.profileType().removeEventListener("SnapshotReceived", this.onReceiveSnapshot, this), this.profile.profileType().removeEventListener(N.REMOVE_PROFILE_HEADER, this.onProfileHeaderRemoved, this), this.dispose()) : this.updateControls();
3563
3566
  }
3564
3567
  dispose() {
3565
- this.linkifier.dispose(), this.popoverHelper.dispose(), this.allocationStackView && (this.allocationStackView.clear(), this.allocationDataGrid && this.allocationDataGrid.dispose()), this.onStopTracking(), this.trackingOverviewGrid && this.trackingOverviewGrid.removeEventListener(Pn.IDS_RANGE_CHANGED, this.onIdsRangeChanged.bind(this));
3568
+ this.linkifier.dispose(), this.popoverHelper.dispose(), this.allocationStackView && (this.allocationStackView.clear(), this.allocationDataGrid && this.allocationDataGrid.dispose()), this.onStopTracking(), this.trackingOverviewGrid && this.trackingOverviewGrid.removeEventListener(In.IDS_RANGE_CHANGED, this.onIdsRangeChanged.bind(this));
3566
3569
  }
3567
- }, Er = class {
3570
+ }, q = class {
3568
3571
  titleInternal;
3569
3572
  constructor(e) {
3570
3573
  this.titleInternal = e;
@@ -3582,9 +3585,9 @@ var $n = class extends W {
3582
3585
  supportsSearch() {
3583
3586
  return !1;
3584
3587
  }
3585
- }, Dr = class extends Er {
3588
+ }, Or = class extends q {
3586
3589
  constructor() {
3587
- super(J(q.summary));
3590
+ super(K(G.summary));
3588
3591
  }
3589
3592
  activate(e) {
3590
3593
  e.splitWidget.setMainWidget(e.constructorsWidget), e.splitWidget.setSidebarWidget(e.objectDetailsView), e.splitWidget.show(e.searchableViewInternal.element), e.filterSelect.setVisible(!0), e.classNameFilter.setVisible(!0), e.trackingOverviewGrid && (e.trackingOverviewGrid.show(e.searchableViewInternal.element, e.splitWidget.element), e.trackingOverviewGrid.update(), e.trackingOverviewGrid.updateGrid());
@@ -3595,9 +3598,9 @@ var $n = class extends W {
3595
3598
  supportsSearch() {
3596
3599
  return !0;
3597
3600
  }
3598
- }, Or = class extends Er {
3601
+ }, kr = class extends q {
3599
3602
  constructor() {
3600
- super(J(q.comparison));
3603
+ super(K(G.comparison));
3601
3604
  }
3602
3605
  activate(e) {
3603
3606
  e.splitWidget.setMainWidget(e.diffWidget), e.splitWidget.setSidebarWidget(e.objectDetailsView), e.splitWidget.show(e.searchableViewInternal.element), e.baseSelect.setVisible(!0), e.classNameFilter.setVisible(!0);
@@ -3608,9 +3611,9 @@ var $n = class extends W {
3608
3611
  supportsSearch() {
3609
3612
  return !0;
3610
3613
  }
3611
- }, kr = class extends Er {
3614
+ }, Ar = class extends q {
3612
3615
  constructor() {
3613
- super(J(q.containment));
3616
+ super(K(G.containment));
3614
3617
  }
3615
3618
  activate(e) {
3616
3619
  e.splitWidget.setMainWidget(e.containmentWidget), e.splitWidget.setSidebarWidget(e.objectDetailsView), e.splitWidget.show(e.searchableViewInternal.element);
@@ -3618,17 +3621,17 @@ var $n = class extends W {
3618
3621
  masterGrid(e) {
3619
3622
  return e.containmentDataGrid;
3620
3623
  }
3621
- }, Ar = class extends Er {
3624
+ }, jr = class extends q {
3622
3625
  allocationSplitWidget;
3623
3626
  constructor() {
3624
- super(J(q.allocation)), this.allocationSplitWidget = new ke(!1, !0, "heap-snapshot-allocation-split-view-state", 200, 200), this.allocationSplitWidget.setSidebarWidget(new w());
3627
+ super(K(G.allocation)), this.allocationSplitWidget = new Ee(!1, !0, "heap-snapshot-allocation-split-view-state", 200, 200), this.allocationSplitWidget.setSidebarWidget(new b());
3625
3628
  }
3626
3629
  activate(e) {
3627
3630
  e.allocationWidget && this.allocationSplitWidget.setMainWidget(e.allocationWidget), e.splitWidget.setMainWidget(e.constructorsWidget), e.splitWidget.setSidebarWidget(e.objectDetailsView);
3628
- let t = new w(), n = document.createElement("div");
3631
+ let t = new b(), n = document.createElement("div");
3629
3632
  n.classList.add("heap-snapshot-view-resizer");
3630
3633
  let r = n.createChild("div", "title").createChild("span");
3631
- if (n.createChild("div", "verticalResizerIcon"), r.textContent = J(q.liveObjects), this.allocationSplitWidget.hideDefaultResizer(), this.allocationSplitWidget.installResizer(n), t.element.appendChild(n), e.splitWidget.show(t.element), this.allocationSplitWidget.setSidebarWidget(t), this.allocationSplitWidget.show(e.searchableViewInternal.element), e.constructorsDataGrid.clear(), e.allocationDataGrid) {
3634
+ if (n.createChild("div", "verticalResizerIcon"), r.textContent = K(G.liveObjects), this.allocationSplitWidget.hideDefaultResizer(), this.allocationSplitWidget.installResizer(n), t.element.appendChild(n), e.splitWidget.show(t.element), this.allocationSplitWidget.setSidebarWidget(t), this.allocationSplitWidget.show(e.searchableViewInternal.element), e.constructorsDataGrid.clear(), e.allocationDataGrid) {
3632
3635
  let t = e.allocationDataGrid.selectedNode;
3633
3636
  t && e.constructorsDataGrid.setAllocationNodeId(t.allocationNodeId());
3634
3637
  }
@@ -3639,9 +3642,9 @@ var $n = class extends W {
3639
3642
  masterGrid(e) {
3640
3643
  return e.allocationDataGrid;
3641
3644
  }
3642
- }, jr = class extends Er {
3645
+ }, Mr = class extends q {
3643
3646
  constructor() {
3644
- super(J(q.statistics));
3647
+ super(K(G.statistics));
3645
3648
  }
3646
3649
  activate(e) {
3647
3650
  e.statisticsView.show(e.searchableViewInternal.element);
@@ -3649,10 +3652,10 @@ var $n = class extends W {
3649
3652
  masterGrid(e) {
3650
3653
  return null;
3651
3654
  }
3652
- }, Mr = class e extends _(dn) {
3655
+ }, Nr = class e extends t(pn) {
3653
3656
  customContentInternal;
3654
3657
  constructor(t, n) {
3655
- super(t || e.TypeId, n || J(q.heapSnapshot)), b.instance().observeModels(y, this), b.instance().addModelListener(y, x.RESET_PROFILES, this.resetProfiles, this), b.instance().addModelListener(y, x.ADD_HEAP_SNAPSHOT_CHUNK, this.addHeapSnapshotChunk, this), b.instance().addModelListener(y, x.REPORT_HEAP_SNAPSHOT_PROGRESS, this.reportHeapSnapshotProgress, this), this.customContentInternal = null;
3658
+ super(t || e.TypeId, n || K(G.heapSnapshot)), S.instance().observeModels(_, this), S.instance().addModelListener(_, C.RESET_PROFILES, this.resetProfiles, this), S.instance().addModelListener(_, C.ADD_HEAP_SNAPSHOT_CHUNK, this.addHeapSnapshotChunk, this), S.instance().addModelListener(_, C.REPORT_HEAP_SNAPSHOT_PROGRESS, this.reportHeapSnapshotProgress, this), this.customContentInternal = null;
3656
3659
  }
3657
3660
  modelAdded(e) {
3658
3661
  e.enable();
@@ -3665,33 +3668,33 @@ var $n = class extends W {
3665
3668
  return ".heapsnapshot";
3666
3669
  }
3667
3670
  get buttonTooltip() {
3668
- return J(q.takeHeapSnapshot);
3671
+ return K(G.takeHeapSnapshot);
3669
3672
  }
3670
3673
  isInstantProfile() {
3671
3674
  return !0;
3672
3675
  }
3673
3676
  buttonClicked() {
3674
- return this.takeHeapSnapshot(), et.actionTaken(qe.ProfilesHeapProfileTaken), !1;
3677
+ return this.takeHeapSnapshot(), Re.actionTaken(rt.ProfilesHeapProfileTaken), !1;
3675
3678
  }
3676
3679
  get treeItemTitle() {
3677
- return J(q.heapSnapshots);
3680
+ return K(G.heapSnapshots);
3678
3681
  }
3679
3682
  get description() {
3680
- return J(q.heapSnapshotProfilesShowMemory);
3683
+ return K(G.heapSnapshotProfilesShowMemory);
3681
3684
  }
3682
3685
  createProfileLoadedFromFile(e) {
3683
- return new Ir(null, this, e);
3686
+ return new J(null, this, e);
3684
3687
  }
3685
3688
  async takeHeapSnapshot() {
3686
3689
  if (this.profileBeingRecorded()) return;
3687
- let e = T.instance().flavor(y);
3690
+ let e = x.instance().flavor(_);
3688
3691
  if (!e) return;
3689
- let t = new Ir(e, this);
3690
- this.setProfileBeingRecorded(t), this.addProfile(t), t.updateStatus(J(q.snapshotting)), await e.takeHeapSnapshot({
3692
+ let t = new J(e, this);
3693
+ this.setProfileBeingRecorded(t), this.addProfile(t), t.updateStatus(K(G.snapshotting)), await e.takeHeapSnapshot({
3691
3694
  reportProgress: !0,
3692
3695
  captureNumericValue: !0,
3693
3696
  exposeInternals: !0
3694
- }), t = this.profileBeingRecorded(), t && (t.title = J(q.snapshotD, { PH1: t.uid }), t.finishLoad(), this.setProfileBeingRecorded(null), this.dispatchEventToListeners(F.PROFILE_COMPLETE, t));
3697
+ }), t = this.profileBeingRecorded(), t && (t.title = K(G.snapshotD, { PH1: t.uid }), t.finishLoad(), this.setProfileBeingRecorded(null), this.dispatchEventToListeners(N.PROFILE_COMPLETE, t));
3695
3698
  }
3696
3699
  addHeapSnapshotChunk(e) {
3697
3700
  let t = this.profileBeingRecorded();
@@ -3701,7 +3704,7 @@ var $n = class extends W {
3701
3704
  let t = this.profileBeingRecorded();
3702
3705
  if (!t) return;
3703
3706
  let { done: n, total: r, finished: i } = e.data;
3704
- t.updateStatus(J(q.percentagePlaceholder, { PH1: (n / r * 100).toFixed(0) }), !0), i && t.prepareToLoad();
3707
+ t.updateStatus(K(G.percentagePlaceholder, { PH1: (n / r * 100).toFixed(0) }), !0), i && t.prepareToLoad();
3705
3708
  }
3706
3709
  resetProfiles(e) {
3707
3710
  let t = e.data;
@@ -3712,21 +3715,21 @@ var $n = class extends W {
3712
3715
  }
3713
3716
  static TypeId = "HEAP";
3714
3717
  static SnapshotReceived = "SnapshotReceived";
3715
- }, Nr = /* @__PURE__ */ function(e) {
3718
+ }, Pr = /* @__PURE__ */ function(e) {
3716
3719
  return e.SNAPSHOT_RECEIVED = "SnapshotReceived", e;
3717
- }({}), Pr = class e extends _(Mr) {
3720
+ }({}), Fr = class e extends t(Nr) {
3718
3721
  recordAllocationStacksSettingInternal;
3719
3722
  customContentInternal;
3720
3723
  recording;
3721
3724
  profileSamples;
3722
3725
  constructor() {
3723
- super(e.TypeId, J(q.allocationInstrumentationOn)), this.recordAllocationStacksSettingInternal = re.instance().createSetting("record-allocation-stacks", !1), this.customContentInternal = null, this.recording = !1;
3726
+ super(e.TypeId, K(G.allocationInstrumentationOn)), this.recordAllocationStacksSettingInternal = m.instance().createSetting("record-allocation-stacks", !1), this.customContentInternal = null, this.recording = !1;
3724
3727
  }
3725
3728
  modelAdded(e) {
3726
- super.modelAdded(e), e.addEventListener(x.HEAP_STATS_UPDATED, this.heapStatsUpdate, this), e.addEventListener(x.LAST_SEEN_OBJECT_ID, this.lastSeenObjectId, this);
3729
+ super.modelAdded(e), e.addEventListener(C.HEAP_STATS_UPDATED, this.heapStatsUpdate, this), e.addEventListener(C.LAST_SEEN_OBJECT_ID, this.lastSeenObjectId, this);
3727
3730
  }
3728
3731
  modelRemoved(e) {
3729
- super.modelRemoved(e), e.removeEventListener(x.HEAP_STATS_UPDATED, this.heapStatsUpdate, this), e.removeEventListener(x.LAST_SEEN_OBJECT_ID, this.lastSeenObjectId, this);
3732
+ super.modelRemoved(e), e.removeEventListener(C.HEAP_STATS_UPDATED, this.heapStatsUpdate, this), e.removeEventListener(C.LAST_SEEN_OBJECT_ID, this.lastSeenObjectId, this);
3730
3733
  }
3731
3734
  heapStatsUpdate(e) {
3732
3735
  if (!this.profileSamples) return;
@@ -3749,7 +3752,7 @@ var $n = class extends W {
3749
3752
  return !0;
3750
3753
  }
3751
3754
  get buttonTooltip() {
3752
- return this.recording ? J(q.stopRecordingHeapProfile) : J(q.startRecordingHeapProfile);
3755
+ return this.recording ? K(G.stopRecordingHeapProfile) : K(G.startRecordingHeapProfile);
3753
3756
  }
3754
3757
  isInstantProfile() {
3755
3758
  return !1;
@@ -3763,7 +3766,7 @@ var $n = class extends W {
3763
3766
  e && e.startTrackingHeapObjects(this.recordAllocationStacksSettingInternal.get());
3764
3767
  }
3765
3768
  customContent() {
3766
- let e = At(J(q.recordAllocationStacksExtra), this.recordAllocationStacksSettingInternal);
3769
+ let e = Nt(K(G.recordAllocationStacksExtra), this.recordAllocationStacksSettingInternal);
3767
3770
  return this.customContentInternal = e, e;
3768
3771
  }
3769
3772
  setCustomContentEnabled(e) {
@@ -3773,14 +3776,14 @@ var $n = class extends W {
3773
3776
  return this.recordAllocationStacksSettingInternal;
3774
3777
  }
3775
3778
  addNewProfile() {
3776
- let e = T.instance().flavor(y);
3777
- return e ? (this.setProfileBeingRecorded(new Ir(e, this, void 0)), this.profileSamples = new In(), this.recording = !0, this.addProfile(this.profileBeingRecorded()), this.profileBeingRecorded().updateStatus(J(q.recording)), this.dispatchEventToListeners("TrackingStarted"), e) : null;
3779
+ let e = x.instance().flavor(_);
3780
+ return e ? (this.setProfileBeingRecorded(new J(e, this, void 0)), this.profileSamples = new Rn(), this.recording = !0, this.addProfile(this.profileBeingRecorded()), this.profileBeingRecorded().updateStatus(K(G.recording)), this.dispatchEventToListeners("TrackingStarted"), e) : null;
3778
3781
  }
3779
3782
  async stopRecordingProfile() {
3780
3783
  let e = this.profileBeingRecorded();
3781
- e.updateStatus(J(q.snapshotting));
3784
+ e.updateStatus(K(G.snapshotting));
3782
3785
  let t = e.heapProfilerModel().stopTrackingHeapObjects(!0);
3783
- this.recording = !1, this.dispatchEventToListeners("TrackingStopped"), await t, e = this.profileBeingRecorded(), e && (e.finishLoad(), this.profileSamples = null, this.setProfileBeingRecorded(null), this.dispatchEventToListeners(F.PROFILE_COMPLETE, e));
3786
+ this.recording = !1, this.dispatchEventToListeners("TrackingStopped"), await t, e = this.profileBeingRecorded(), e && (e.finishLoad(), this.profileSamples = null, this.setProfileBeingRecorded(null), this.dispatchEventToListeners(N.PROFILE_COMPLETE, e));
3784
3787
  }
3785
3788
  toggleRecording() {
3786
3789
  return this.recording ? this.stopRecordingProfile() : this.startRecordingProfile(), this.recording;
@@ -3789,10 +3792,10 @@ var $n = class extends W {
3789
3792
  return ".heaptimeline";
3790
3793
  }
3791
3794
  get treeItemTitle() {
3792
- return J(q.allocationTimelines);
3795
+ return K(G.allocationTimelines);
3793
3796
  }
3794
3797
  get description() {
3795
- return J(q.AllocationTimelinesShowInstrumented);
3798
+ return K(G.AllocationTimelinesShowInstrumented);
3796
3799
  }
3797
3800
  resetProfiles(e) {
3798
3801
  let t = this.recording;
@@ -3805,9 +3808,9 @@ var $n = class extends W {
3805
3808
  static HeapStatsUpdate = "HeapStatsUpdate";
3806
3809
  static TrackingStarted = "TrackingStarted";
3807
3810
  static TrackingStopped = "TrackingStopped";
3808
- }, Fr = /* @__PURE__ */ function(e) {
3811
+ }, Ir = /* @__PURE__ */ function(e) {
3809
3812
  return e.HEAP_STATS_UPDATE = "HeapStatsUpdate", e.TRACKING_STARTED = "TrackingStarted", e.TRACKING_STOPPED = "TrackingStopped", e;
3810
- }({}), Ir = class extends N {
3813
+ }({}), J = class extends j {
3811
3814
  heapProfilerModelInternal;
3812
3815
  maxJSObjectId = -1;
3813
3816
  workerProxy = null;
@@ -3822,7 +3825,7 @@ var $n = class extends W {
3822
3825
  wasDisposed;
3823
3826
  fileName;
3824
3827
  constructor(e, t, n) {
3825
- super(t, n || J(q.snapshotD, { PH1: t.nextProfileUid() })), this.heapProfilerModelInternal = e;
3828
+ super(t, n || K(G.snapshotD, { PH1: t.nextProfileUid() })), this.heapProfilerModelInternal = e;
3826
3829
  let { promise: r, resolve: i } = Promise.withResolvers();
3827
3830
  this.loadPromise = r, this.fulfillLoad = i;
3828
3831
  }
@@ -3833,7 +3836,7 @@ var $n = class extends W {
3833
3836
  return this.snapshotProxy ? await this.snapshotProxy.getLocation(e) : null;
3834
3837
  }
3835
3838
  prepareToLoad() {
3836
- console.assert(!this.receiver, "Already loading"), this.setupWorker(), this.updateStatus(J(q.loading), !0);
3839
+ console.assert(!this.receiver, "Already loading"), this.setupWorker(), this.updateStatus(K(G.loading), !0);
3837
3840
  }
3838
3841
  finishLoad() {
3839
3842
  !this.wasDisposed && this.receiver && this.receiver.close(), this.bufferedWriter && this.didWriteToTempFile(this.bufferedWriter);
@@ -3846,27 +3849,27 @@ var $n = class extends W {
3846
3849
  this.tempFile = e, e || (this.failedToCreateTempFile = !0), this.onTempFileReady &&= (this.onTempFileReady(), null);
3847
3850
  }
3848
3851
  setupWorker() {
3849
- console.assert(!this.workerProxy, "HeapSnapshotWorkerProxy already exists"), this.workerProxy = new Wt(this.handleWorkerEvent.bind(this)), this.workerProxy.addEventListener(Wt.Events.WAIT, (e) => {
3852
+ console.assert(!this.workerProxy, "HeapSnapshotWorkerProxy already exists"), this.workerProxy = new Kt(this.handleWorkerEvent.bind(this)), this.workerProxy.addEventListener(Kt.Events.WAIT, (e) => {
3850
3853
  this.updateStatus(null, e.data);
3851
3854
  }, this), this.receiver = this.workerProxy.createLoader(this.uid, this.snapshotReceived.bind(this));
3852
3855
  }
3853
3856
  handleWorkerEvent(e, t) {
3854
- if (Ut.BrokenSnapshot === e) {
3855
- d.instance().error(t);
3857
+ if (Gt.BrokenSnapshot === e) {
3858
+ g.instance().error(t);
3856
3859
  return;
3857
3860
  }
3858
- if (Ut.Update !== e) return;
3859
- let n = ae(t);
3860
- this.updateStatus(wr(n.string, n.values));
3861
+ if (Gt.Update !== e) return;
3862
+ let n = s(t);
3863
+ this.updateStatus(Er(n.string, n.values));
3861
3864
  }
3862
3865
  dispose() {
3863
3866
  this.workerProxy && this.workerProxy.dispose(), this.removeTempFile(), this.wasDisposed = !0;
3864
3867
  }
3865
3868
  didCompleteSnapshotTransfer() {
3866
- this.snapshotProxy && this.updateStatus(m(this.snapshotProxy.totalSize), !1);
3869
+ this.snapshotProxy && this.updateStatus(a(this.snapshotProxy.totalSize), !1);
3867
3870
  }
3868
3871
  transferChunk(e) {
3869
- this.bufferedWriter ||= new xt(), this.bufferedWriter.write([e]), ++this.totalNumberOfChunks, this.receiver && this.receiver.write(e);
3872
+ this.bufferedWriter ||= new wt(), this.bufferedWriter.write([e]), ++this.totalNumberOfChunks, this.receiver && this.receiver.write(e);
3870
3873
  }
3871
3874
  snapshotReceived(e) {
3872
3875
  this.wasDisposed || (this.receiver = null, this.snapshotProxy = e, this.maxJSObjectId = e.maxJSObjectId(), this.didCompleteSnapshotTransfer(), this.workerProxy && this.workerProxy.startCheckingForLongRunningCalls(), this.notifySnapshotReceived());
@@ -3879,17 +3882,17 @@ var $n = class extends W {
3879
3882
  }
3880
3883
  async saveToFile() {
3881
3884
  await this.loadPromise;
3882
- let e = new yt();
3883
- this.fileName = this.fileName || "Heap-" + c(/* @__PURE__ */ new Date()) + this.profileType().fileExtension();
3885
+ let e = new St();
3886
+ this.fileName = this.fileName || "Heap-" + ge(/* @__PURE__ */ new Date()) + this.profileType().fileExtension();
3884
3887
  let t = async (n) => {
3885
3888
  if (n) {
3886
3889
  if (this.failedToCreateTempFile) {
3887
- d.instance().error("Failed to open temp file with heap snapshot"), e.close();
3890
+ g.instance().error("Failed to open temp file with heap snapshot"), e.close();
3888
3891
  return;
3889
3892
  }
3890
3893
  if (this.tempFile) {
3891
3894
  let t = await this.tempFile.copyToOutputStream(e, this.onChunkTransferred.bind(this));
3892
- t && d.instance().error("Failed to read heap snapshot from temp file: " + t.message), this.didCompleteSnapshotTransfer();
3895
+ t && g.instance().error("Failed to read heap snapshot from temp file: " + t.message), this.didCompleteSnapshotTransfer();
3893
3896
  return;
3894
3897
  }
3895
3898
  this.onTempFileReady = () => {
@@ -3904,30 +3907,30 @@ var $n = class extends W {
3904
3907
  }
3905
3908
  updateSaveProgress(e, t) {
3906
3909
  let n = ((t && e / t) * 100).toFixed(0);
3907
- this.updateStatus(J(q.savingD, { PH1: n }));
3910
+ this.updateStatus(K(G.savingD, { PH1: n }));
3908
3911
  }
3909
3912
  async loadFromFile(e) {
3910
- this.updateStatus(J(q.loading), !0), this.setupWorker();
3911
- let t = new vt(e, 1e7), n = await t.read(this.receiver), r = t.error();
3913
+ this.updateStatus(K(G.loading), !0), this.setupWorker();
3914
+ let t = new xt(e, 1e7), n = await t.read(this.receiver), r = t.error();
3912
3915
  return !n && r && this.updateStatus(r.message), n ? null : r;
3913
3916
  }
3914
3917
  profileType() {
3915
3918
  return super.profileType();
3916
3919
  }
3917
- }, Lr = class e extends w {
3920
+ }, Lr = class e extends b {
3918
3921
  pieChart;
3919
3922
  constructor() {
3920
- super(), this.element.classList.add("heap-snapshot-statistics-view"), this.element.setAttribute("jslog", `${tt("profiler.heap-snapshot-statistics-view").track({ resize: !0 })}`), this.pieChart = new Lt(), this.setTotalAndRecords(0, []), this.pieChart.classList.add("heap-snapshot-stats-pie-chart"), this.element.appendChild(this.pieChart);
3923
+ super(), this.element.classList.add("heap-snapshot-statistics-view"), this.element.setAttribute("jslog", `${it("profiler.heap-snapshot-statistics-view").track({ resize: !0 })}`), this.pieChart = new zt(), this.setTotalAndRecords(0, []), this.pieChart.classList.add("heap-snapshot-stats-pie-chart"), this.element.appendChild(this.pieChart);
3921
3924
  }
3922
3925
  static valueFormatter(e) {
3923
- return new Intl.NumberFormat(te.instance().locale, {
3926
+ return new Intl.NumberFormat(d.instance().locale, {
3924
3927
  style: "unit",
3925
3928
  unit: "kilobyte"
3926
3929
  }).format(Math.round(e / 1e3));
3927
3930
  }
3928
3931
  setTotalAndRecords(t, n) {
3929
3932
  this.pieChart.data = {
3930
- chartName: J(q.heapMemoryUsage),
3933
+ chartName: K(G.heapMemoryUsage),
3931
3934
  size: 150,
3932
3935
  formatter: e.valueFormatter,
3933
3936
  showLegend: !0,
@@ -3935,15 +3938,15 @@ var $n = class extends W {
3935
3938
  slices: n
3936
3939
  };
3937
3940
  }
3938
- }, Rr = class extends Ze {
3941
+ }, Rr = class extends $e {
3939
3942
  heapProfilerModel;
3940
3943
  linkifier;
3941
3944
  frameElements;
3942
3945
  constructor(e) {
3943
- super(), this.heapProfilerModel = e, this.linkifier = new E(), this.frameElements = [];
3946
+ super(), this.heapProfilerModel = e, this.linkifier = new T(), this.frameElements = [];
3944
3947
  }
3945
3948
  onContextMenu(e, t) {
3946
- let n = new Le(t);
3949
+ let n = new Pe(t);
3947
3950
  n.appendApplicableItems(e), n.show(), t.consume(!0);
3948
3951
  }
3949
3952
  onStackViewKeydown(e) {
@@ -3952,9 +3955,9 @@ var $n = class extends W {
3952
3955
  if (e.key === "Enter") {
3953
3956
  let n = zr.get(t);
3954
3957
  if (!n) return;
3955
- let r = E.linkInfo(n);
3958
+ let r = T.linkInfo(n);
3956
3959
  if (!r) return;
3957
- E.invokeFirstAction(r) && e.consume(!0);
3960
+ T.invokeFirstAction(r) && e.consume(!0);
3958
3961
  return;
3959
3962
  }
3960
3963
  let n, r = e;
@@ -3972,7 +3975,8 @@ var $n = class extends W {
3972
3975
  this.clear();
3973
3976
  let n = await e.allocationStack(t);
3974
3977
  if (!n) {
3975
- gt(this.element.createChild("div", "no-heap-allocation-stack"), J(q.stackWasNotRecordedForThisObject));
3978
+ let e = this.element.createChild("div", "no-heap-allocation-stack");
3979
+ mt(e, K(G.stackWasNotRecordedForThisObject));
3976
3980
  return;
3977
3981
  }
3978
3982
  let r = this.element.createChild("div", "heap-allocation-stack");
@@ -3981,7 +3985,7 @@ var $n = class extends W {
3981
3985
  let t = r.createChild("div", "stack-frame");
3982
3986
  this.frameElements.push(t), t.tabIndex = -1;
3983
3987
  let n = t.createChild("div");
3984
- if (n.textContent = it(e.functionName), !e.scriptId) continue;
3988
+ if (n.textContent = at(e.functionName), !e.scriptId) continue;
3985
3989
  let i = this.heapProfilerModel ? this.heapProfilerModel.target() : null, a = {
3986
3990
  columnNumber: e.column - 1,
3987
3991
  inlineFrameIndex: 0
@@ -4007,7 +4011,7 @@ var $n = class extends W {
4007
4011
  heapSizeInUseByLiveJsObjects: "Heap size in use by live JS objects.",
4008
4012
  heapSizeChangeTrendOverTheLastS: "Heap size change trend over the last {PH1} minutes.",
4009
4013
  empty: "(empty)"
4010
- }, Vr = v("panels/profiler/IsolateSelector.ts", Y), X = g.bind(void 0, Vr), Hr = class e extends w {
4014
+ }, Vr = o("panels/profiler/IsolateSelector.ts", Y), X = r.bind(void 0, Vr), Hr = class e extends b {
4011
4015
  items;
4012
4016
  list;
4013
4017
  itemByIsolate;
@@ -4015,19 +4019,19 @@ var $n = class extends W {
4015
4019
  totalValueDiv;
4016
4020
  totalTrendDiv;
4017
4021
  constructor() {
4018
- super(), this.items = new _t(), this.list = new Ve(this.items, this, Fe.NonViewport), this.list.element.classList.add("javascript-vm-instances-list"), he(this.list.element, X(Y.javascriptVmInstances)), this.contentElement.appendChild(this.list.element), this.itemByIsolate = /* @__PURE__ */ new Map(), this.totalElement = document.createElement("div"), this.totalElement.classList.add("profile-memory-usage-item"), this.totalElement.classList.add("hbox"), this.totalValueDiv = this.totalElement.createChild("div", "profile-memory-usage-item-size"), this.totalTrendDiv = this.totalElement.createChild("div", "profile-memory-usage-item-trend"), this.totalElement.createChild("div").textContent = X(Y.totalJsHeapSize);
4019
- let e = Math.round(mt / 6e4);
4020
- S.install(this.totalTrendDiv, X(Y.totalPageJsHeapSizeChangeTrend, { PH1: e })), S.install(this.totalValueDiv, X(Y.totalPageJsHeapSizeAcrossAllVm)), pe.instance().observeIsolates(this), b.instance().addEventListener(ue.NAME_CHANGED, this.targetChanged, this), b.instance().addEventListener(ue.INSPECTED_URL_CHANGED, this.targetChanged, this);
4022
+ super(), this.items = new gt(), this.list = new Ve(this.items, this, Me.NonViewport), this.list.element.classList.add("javascript-vm-instances-list"), ue(this.list.element, X(Y.javascriptVmInstances)), this.contentElement.appendChild(this.list.element), this.itemByIsolate = /* @__PURE__ */ new Map(), this.totalElement = document.createElement("div"), this.totalElement.classList.add("profile-memory-usage-item"), this.totalElement.classList.add("hbox"), this.totalValueDiv = this.totalElement.createChild("div", "profile-memory-usage-item-size"), this.totalTrendDiv = this.totalElement.createChild("div", "profile-memory-usage-item-trend"), this.totalElement.createChild("div").textContent = X(Y.totalJsHeapSize);
4023
+ let e = Math.round(se / 6e4);
4024
+ v.install(this.totalTrendDiv, X(Y.totalPageJsHeapSizeChangeTrend, { PH1: e })), v.install(this.totalValueDiv, X(Y.totalPageJsHeapSizeAcrossAllVm)), Se.instance().observeIsolates(this), S.instance().addEventListener(qe.NAME_CHANGED, this.targetChanged, this), S.instance().addEventListener(qe.INSPECTED_URL_CHANGED, this.targetChanged, this);
4021
4025
  }
4022
4026
  wasShown() {
4023
- super.wasShown(), pe.instance().addEventListener(Ee.MEMORY_CHANGED, this.heapStatsChanged, this);
4027
+ super.wasShown(), Se.instance().addEventListener(ht.MEMORY_CHANGED, this.heapStatsChanged, this);
4024
4028
  }
4025
4029
  willHide() {
4026
- super.willHide(), pe.instance().removeEventListener(Ee.MEMORY_CHANGED, this.heapStatsChanged, this);
4030
+ super.willHide(), Se.instance().removeEventListener(ht.MEMORY_CHANGED, this.heapStatsChanged, this);
4027
4031
  }
4028
4032
  isolateAdded(e) {
4029
4033
  this.list.element.tabIndex = 0;
4030
- let t = new Ur(e), n = t.model().target() === b.instance().primaryPageTarget() ? 0 : this.items.length;
4034
+ let t = new Ur(e), n = t.model().target() === S.instance().primaryPageTarget() ? 0 : this.items.length;
4031
4035
  this.items.insert(n, t), this.itemByIsolate.set(e, t), n === 0 && this.list.selectItem(t), this.update();
4032
4036
  }
4033
4037
  isolateChanged(e) {
@@ -4039,9 +4043,9 @@ var $n = class extends W {
4039
4043
  t && this.items.remove(this.items.indexOf(t)), this.itemByIsolate.delete(e), this.items.length === 0 && (this.list.element.tabIndex = -1), this.update();
4040
4044
  }
4041
4045
  targetChanged(e) {
4042
- let t = e.data.model(ft);
4046
+ let t = e.data.model(oe);
4043
4047
  if (!t) return;
4044
- let n = pe.instance().isolateByModel(t), r = n && this.itemByIsolate.get(n);
4048
+ let n = Se.instance().isolateByModel(t), r = n && this.itemByIsolate.get(n);
4045
4049
  r && r.updateTitle();
4046
4050
  }
4047
4051
  heapStatsChanged(e) {
@@ -4050,14 +4054,14 @@ var $n = class extends W {
4050
4054
  }
4051
4055
  updateTotal() {
4052
4056
  let t = 0, n = 0;
4053
- for (let e of pe.instance().isolates()) t += e.usedHeapSize(), n += e.usedHeapSizeGrowRate();
4054
- this.totalValueDiv.textContent = m(t), e.formatTrendElement(n, this.totalTrendDiv);
4057
+ for (let e of Se.instance().isolates()) t += e.usedHeapSize(), n += e.usedHeapSizeGrowRate();
4058
+ this.totalValueDiv.textContent = a(t), e.formatTrendElement(n, this.totalTrendDiv);
4055
4059
  }
4056
4060
  static formatTrendElement(e, t) {
4057
4061
  let n = e * 1e3;
4058
4062
  if (Math.abs(n) < 1e3) return;
4059
- let r = m(Math.abs(n)), i, a;
4060
- n > 0 ? (i = "⬆" + X(Y.changeRate, { PH1: r }), t.classList.toggle("increasing", !0), a = X(Y.increasingBySPerSecond, { PH1: r })) : (i = "⬇" + X(Y.changeRate, { PH1: r }), t.classList.toggle("increasing", !1), a = X(Y.decreasingBySPerSecond, { PH1: r })), t.textContent = i, he(t, a);
4063
+ let r = a(Math.abs(n)), i, o;
4064
+ n > 0 ? (i = "⬆" + X(Y.changeRate, { PH1: r }), t.classList.toggle("increasing", !0), o = X(Y.increasingBySPerSecond, { PH1: r })) : (i = "⬇" + X(Y.changeRate, { PH1: r }), t.classList.toggle("increasing", !1), o = X(Y.decreasingBySPerSecond, { PH1: r })), t.textContent = i, ue(t, o);
4061
4065
  }
4062
4066
  totalMemoryElement() {
4063
4067
  return this.totalElement;
@@ -4077,7 +4081,7 @@ var $n = class extends W {
4077
4081
  selectedItemChanged(e, t, n, r) {
4078
4082
  n && n.classList.remove("selected"), r && r.classList.add("selected");
4079
4083
  let i = t?.model();
4080
- T.instance().setFlavor(y, i?.heapProfilerModel() ?? null), T.instance().setFlavor(nt, i?.target().model(nt) ?? null);
4084
+ x.instance().setFlavor(_, i?.heapProfilerModel() ?? null), x.instance().setFlavor(Qe, i?.target().model(Qe) ?? null);
4081
4085
  }
4082
4086
  update() {
4083
4087
  this.updateTotal(), this.list.invalidateRange(0, this.items.length);
@@ -4090,19 +4094,19 @@ var $n = class extends W {
4090
4094
  nameDiv;
4091
4095
  constructor(e) {
4092
4096
  this.isolate = e;
4093
- let t = Math.round(mt / 6e4);
4094
- this.element = document.createElement("div"), this.element.classList.add("profile-memory-usage-item"), this.element.classList.add("hbox"), Re(this.element), this.heapDiv = this.element.createChild("div", "profile-memory-usage-item-size"), S.install(this.heapDiv, X(Y.heapSizeInUseByLiveJsObjects)), this.trendDiv = this.element.createChild("div", "profile-memory-usage-item-trend"), S.install(this.trendDiv, X(Y.heapSizeChangeTrendOverTheLastS, { PH1: t })), this.nameDiv = this.element.createChild("div", "profile-memory-usage-item-name"), this.updateTitle();
4097
+ let t = Math.round(se / 6e4);
4098
+ this.element = document.createElement("div"), this.element.classList.add("profile-memory-usage-item"), this.element.classList.add("hbox"), Fe(this.element), this.heapDiv = this.element.createChild("div", "profile-memory-usage-item-size"), v.install(this.heapDiv, X(Y.heapSizeInUseByLiveJsObjects)), this.trendDiv = this.element.createChild("div", "profile-memory-usage-item-trend"), v.install(this.trendDiv, X(Y.heapSizeChangeTrendOverTheLastS, { PH1: t })), this.nameDiv = this.element.createChild("div", "profile-memory-usage-item-name"), this.updateTitle();
4095
4099
  }
4096
4100
  model() {
4097
4101
  return this.isolate.runtimeModel();
4098
4102
  }
4099
4103
  updateStats() {
4100
- this.heapDiv.textContent = m(this.isolate.usedHeapSize()), Hr.formatTrendElement(this.isolate.usedHeapSizeGrowRate(), this.trendDiv);
4104
+ this.heapDiv.textContent = a(this.isolate.usedHeapSize()), Hr.formatTrendElement(this.isolate.usedHeapSizeGrowRate(), this.trendDiv);
4101
4105
  }
4102
4106
  updateTitle() {
4103
- let e = /* @__PURE__ */ new Map(), t = b.instance();
4107
+ let e = /* @__PURE__ */ new Map(), t = S.instance();
4104
4108
  for (let n of this.isolate.models()) {
4105
- let r = n.target(), i = t.primaryPageTarget() === r, a = r.name(), o = new ee(r.inspectedURL()), s = o.isValid ? o.domain() : "", c = r.decorateLabel(s && !i ? `${s}: ${a}` : a || s || X(Y.empty));
4109
+ let r = n.target(), i = t.primaryPageTarget() === r, a = r.name(), o = new ne(r.inspectedURL()), s = o.isValid ? o.domain() : "", c = r.decorateLabel(s && !i ? `${s}: ${a}` : a || s || X(Y.empty));
4106
4110
  e.set(c, (e.get(c) || 0) + 1);
4107
4111
  }
4108
4112
  this.nameDiv.removeChildren();
@@ -4111,7 +4115,7 @@ var $n = class extends W {
4111
4115
  let e = r > 1 ? `${t} (${r})` : t;
4112
4116
  n.push(e);
4113
4117
  let i = this.nameDiv.createChild("div");
4114
- i.textContent = e, S.install(i, String(e));
4118
+ i.textContent = e, v.install(i, String(e));
4115
4119
  }
4116
4120
  }
4117
4121
  }, Wr = "/*\n * Copyright 2018 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n.profile-launcher-view {\n overflow: auto;\n}\n\n.profile-launcher-view-content {\n margin: 10px 16px;\n flex: auto 1 0;\n\n & h1 {\n font: var(--sys-typescale-headline4);\n margin: 6px 0 10px;\n }\n\n & label {\n font: var(--sys-typescale-body3-regular);\n }\n\n & p {\n color: var(--sys-color-token-subtle);\n margin-top: var(--sys-size-1);\n margin-left: var(--sys-size-10);\n\n & > devtools-checkbox {\n display: flex;\n }\n }\n\n .profile-launcher-view-content button.text-button.running,\n .profile-launcher-view-content button.text-button.running:focus {\n color: var(--sys-color-error);\n }\n\n & > div {\n flex: auto 0 0;\n }\n\n & > .profile-isolate-selector-block {\n flex: auto 1 0;\n overflow: hidden;\n }\n}\n\n.profile-launcher-target-list {\n margin-bottom: 6px;\n border: 1px solid var(--sys-color-divider);\n flex: 150px 1 0;\n}\n\n.profile-launcher-target-list-container {\n overflow: auto;\n}\n\n.profile-memory-usage-item {\n min-width: 100%;\n width: max-content;\n padding: 4px;\n line-height: 16px;\n}\n\n.profile-isolate-selector-block > .profile-memory-usage-item {\n margin-left: 1px;\n margin-bottom: 4px;\n font-weight: bolder;\n}\n\n.profile-memory-usage-item.selected {\n background-color: var(--sys-color-neutral-container);\n}\n\n.profile-memory-usage-item:focus {\n background-color: var(--sys-color-tonal-container);\n}\n\n.profile-launcher-target-list .profile-memory-usage-item:hover:not(.selected) {\n background-color: var(--sys-color-state-hover-on-subtle);\n}\n\n.javascript-vm-instances-list {\n width: max-content;\n min-width: 100%;\n}\n\n.javascript-vm-instances-list:focus .profile-memory-usage-item.selected {\n background-color: var(--sys-color-tonal-container);\n}\n\n.profile-memory-usage-item > div {\n flex-shrink: 0;\n margin-right: 12px;\n}\n\n.profile-memory-usage-item-size {\n width: 60px;\n text-align: right;\n}\n\n.profile-memory-usage-item-trend {\n min-width: 5em;\n color: var(--sys-color-tertiary);\n}\n\n.profile-memory-usage-item-trend.increasing {\n color: var(--sys-color-error);\n}\n\n.profile-launcher-buttons {\n flex-wrap: wrap;\n column-gap: 8px;\n}\n\n@media (forced-colors: active) {\n .profile-memory-usage-item {\n forced-color-adjust: none;\n border-left-color: transparent;\n }\n\n .profile-memory-usage-item-trend,\n .profile-memory-usage-item-trend.increasing,\n .profile-launcher-view-content button.running {\n color: ButtonText;\n }\n\n .javascript-vm-instances-list .profile-memory-usage-item:hover:not(.selected) {\n background-color: Highlight;\n color: HighlightText;\n }\n\n .javascript-vm-instances-list .profile-memory-usage-item.selected .profile-memory-usage-item-trend,\n .javascript-vm-instances-list .profile-memory-usage-item.selected .profile-memory-usage-item-trend.increasing {\n color: ButtonFace;\n }\n\n .javascript-vm-instances-list .profile-memory-usage-item:hover:not(.selected) .profile-memory-usage-item-trend,\n .javascript-vm-instances-list .profile-memory-usage-item:hover:not(.selected) .profile-memory-usage-item-trend.increasing {\n background-color: Highlight;\n color: HighlightText;\n }\n\n .javascript-vm-instances-list .profile-memory-usage-item.selected {\n background-color: ButtonText;\n border-color: Highlight;\n color: ButtonFace;\n }\n\n .javascript-vm-instances-list:focus .profile-memory-usage-item.selected,\n .javascript-vm-instances-list:focus-visible .profile-memory-usage-item.selected {\n background-color: Highlight;\n border-color: ButtonText;\n color: HighlightText;\n }\n}\n", Gr = /* @__PURE__ */ e({
@@ -4124,7 +4128,7 @@ var $n = class extends W {
4124
4128
  stop: "Stop",
4125
4129
  start: "Start",
4126
4130
  selectProfilingType: "Select profiling type"
4127
- }, Kr = v("panels/profiler/ProfileLauncherView.ts", Z), qr = g.bind(void 0, Kr), Jr = class extends _(w) {
4131
+ }, Kr = o("panels/profiler/ProfileLauncherView.ts", Z), qr = r.bind(void 0, Kr), Jr = class extends t(b) {
4128
4132
  panel;
4129
4133
  #e;
4130
4134
  selectedProfileTypeSetting;
@@ -4140,26 +4144,26 @@ var $n = class extends W {
4140
4144
  constructor(e) {
4141
4145
  super(), this.registerRequiredCSS(Wr), this.panel = e, this.element.classList.add("profile-launcher-view"), this.#e = this.element.createChild("div", "profile-launcher-view-content vbox");
4142
4146
  let t = this.#e.createChild("div", "vbox");
4143
- this.selectedProfileTypeSetting = re.instance().createSetting("selected-profile-type", "CPU"), this.profileTypeHeaderElement = t.createChild("h1"), this.profileTypeSelectorForm = t.createChild("form"), dt(this.profileTypeSelectorForm);
4147
+ this.selectedProfileTypeSetting = m.instance().createSetting("selected-profile-type", "CPU"), this.profileTypeHeaderElement = t.createChild("h1"), this.profileTypeSelectorForm = t.createChild("form"), dt(this.profileTypeSelectorForm);
4144
4148
  let n = this.#e.createChild("div", "vbox profile-isolate-selector-block");
4145
4149
  n.createChild("h1").textContent = qr(Z.selectJavascriptVmInstance);
4146
4150
  let r = new Hr(), i = n.createChild("div", "vbox profile-launcher-target-list");
4147
4151
  i.classList.add("profile-launcher-target-list-container"), r.show(i), n.appendChild(r.totalMemoryElement());
4148
4152
  let a = this.#e.createChild("div", "hbox profile-launcher-buttons");
4149
- this.controlButton = Ie("", this.controlButtonClicked.bind(this), {
4153
+ this.controlButton = Ne("", this.controlButtonClicked.bind(this), {
4150
4154
  jslogContext: "profiler.heap-toggle-recording",
4151
- variant: ce.PRIMARY
4152
- }), this.loadButton = new Oe(), this.loadButton.data = {
4155
+ variant: re.PRIMARY
4156
+ }), this.loadButton = new we(), this.loadButton.data = {
4153
4157
  iconName: "import",
4154
- variant: ce.OUTLINED,
4158
+ variant: re.OUTLINED,
4155
4159
  jslogContext: "profiler.load-from-file"
4156
4160
  }, this.loadButton.textContent = qr(Z.load), this.loadButton.addEventListener("click", this.loadButtonClicked.bind(this)), a.appendChild(this.loadButton), a.appendChild(this.controlButton), this.recordButtonEnabled = !0, this.typeIdToOptionElementAndProfileType = /* @__PURE__ */ new Map();
4157
4161
  }
4158
4162
  loadButtonClicked() {
4159
- Xe.instance().getAction("profiler.load-from-file").execute();
4163
+ Ze.instance().getAction("profiler.load-from-file").execute();
4160
4164
  }
4161
4165
  updateControls() {
4162
- this.isEnabled && this.recordButtonEnabled ? this.controlButton.removeAttribute("disabled") : this.controlButton.setAttribute("disabled", ""), S.install(this.controlButton, this.recordButtonEnabled ? "" : st()), this.isInstantProfile ? (this.controlButton.classList.remove("running"), this.controlButton.textContent = qr(Z.takeSnapshot)) : this.isProfiling ? (this.controlButton.classList.add("running"), this.controlButton.textContent = qr(Z.stop)) : (this.controlButton.classList.remove("running"), this.controlButton.textContent = qr(Z.start));
4166
+ this.isEnabled && this.recordButtonEnabled ? this.controlButton.removeAttribute("disabled") : this.controlButton.setAttribute("disabled", ""), v.install(this.controlButton, this.recordButtonEnabled ? "" : st()), this.isInstantProfile ? (this.controlButton.classList.remove("running"), this.controlButton.textContent = qr(Z.takeSnapshot)) : this.isProfiling ? (this.controlButton.classList.add("running"), this.controlButton.textContent = qr(Z.stop)) : (this.controlButton.classList.remove("running"), this.controlButton.textContent = qr(Z.start));
4163
4167
  for (let { optionElement: e } of this.typeIdToOptionElementAndProfileType.values()) e.disabled = !!this.isProfiling;
4164
4168
  }
4165
4169
  profileStarted() {
@@ -4178,11 +4182,11 @@ var $n = class extends W {
4178
4182
  profileType: e
4179
4183
  }), t.addEventListener("change", this.profileTypeChanged.bind(this, e), !1);
4180
4184
  let r = this.profileTypeSelectorForm.createChild("p");
4181
- r.textContent = e.description, De(t, e.description);
4185
+ r.textContent = e.description, Ce(t, e.description);
4182
4186
  let i = e.customContent();
4183
4187
  i && (i.setAttribute("role", "group"), i.setAttribute("aria-labelledby", `${t.id}`), this.profileTypeSelectorForm.createChild("p").appendChild(i), e.setCustomContentEnabled(!1));
4184
4188
  let a = this.typeIdToOptionElementAndProfileType.size > 1 ? qr(Z.selectProfilingType) : e.name;
4185
- this.profileTypeHeaderElement.textContent = a, he(this.profileTypeSelectorForm, a);
4189
+ this.profileTypeHeaderElement.textContent = a, ue(this.profileTypeSelectorForm, a);
4186
4190
  }
4187
4191
  restoreSelectedProfileType() {
4188
4192
  let e = this.selectedProfileTypeSetting.get();
@@ -4205,7 +4209,7 @@ var $n = class extends W {
4205
4209
  }
4206
4210
  }, Yr = /* @__PURE__ */ function(e) {
4207
4211
  return e.PROFILE_TYPE_SELECTED = "ProfileTypeSelected", e;
4208
- }({}), Xr = /* @__PURE__ */ e({ ProfileSidebarTreeElement: () => ei }), Zr = { profileOptions: "Profile options" }, Qr = v("panels/profiler/ProfileSidebarTreeElement.ts", Zr), $r = g.bind(void 0, Qr), ei = class extends Ue {
4212
+ }({}), Xr = /* @__PURE__ */ e({ ProfileSidebarTreeElement: () => ei }), Zr = { profileOptions: "Profile options" }, Qr = o("panels/profiler/ProfileSidebarTreeElement.ts", Zr), $r = r.bind(void 0, Qr), ei = class extends Ue {
4209
4213
  iconElement;
4210
4214
  titlesElement;
4211
4215
  menuElement;
@@ -4218,18 +4222,18 @@ var $n = class extends W {
4218
4222
  profile;
4219
4223
  editing;
4220
4224
  constructor(e, t, n) {
4221
- super("", !1), this.iconElement = document.createElement("div"), this.iconElement.classList.add("icon"), this.titlesElement = document.createElement("div"), this.titlesElement.classList.add("titles"), this.titlesElement.classList.add("no-subtitle"), this.titlesElement.setAttribute("jslog", `${Pe("title").track({
4225
+ super("", !1), this.iconElement = document.createElement("div"), this.iconElement.classList.add("icon"), this.titlesElement = document.createElement("div"), this.titlesElement.classList.add("titles"), this.titlesElement.classList.add("no-subtitle"), this.titlesElement.setAttribute("jslog", `${je("title").track({
4222
4226
  dblclick: !0,
4223
4227
  change: !0
4224
- })}`), this.titleContainer = this.titlesElement.createChild("span", "title-container"), this.titleElement = this.titleContainer.createChild("span", "title"), this.subtitleElement = this.titlesElement.createChild("span", "subtitle"), this.menuElement = new Oe(), this.menuElement.data = {
4225
- variant: ce.ICON,
4228
+ })}`), this.titleContainer = this.titlesElement.createChild("span", "title-container"), this.titleElement = this.titleContainer.createChild("span", "title"), this.subtitleElement = this.titlesElement.createChild("span", "subtitle"), this.menuElement = new we(), this.menuElement.data = {
4229
+ variant: re.ICON,
4226
4230
  iconName: "dots-vertical",
4227
4231
  title: $r(Zr.profileOptions)
4228
- }, this.menuElement.tabIndex = -1, this.menuElement.addEventListener("click", this.handleContextMenuEvent.bind(this)), this.menuElement.setAttribute("jslog", `${We("profile-options").track({ click: !0 })}`), S.install(this.menuElement, $r(Zr.profileOptions)), this.titleElement.textContent = t.title, this.className = n, this.small = !1, this.dataDisplayDelegate = e, this.profile = t, t.addEventListener(P.UPDATE_STATUS, this.updateStatus, this), this.editing = null;
4232
+ }, this.menuElement.tabIndex = -1, this.menuElement.addEventListener("click", this.handleContextMenuEvent.bind(this)), this.menuElement.setAttribute("jslog", `${We("profile-options").track({ click: !0 })}`), v.install(this.menuElement, $r(Zr.profileOptions)), this.titleElement.textContent = t.title, this.className = n, this.small = !1, this.dataDisplayDelegate = e, this.profile = t, t.addEventListener(M.UPDATE_STATUS, this.updateStatus, this), this.editing = null;
4229
4233
  }
4230
4234
  updateStatus(e) {
4231
4235
  let t = e.data;
4232
- t.subtitle !== null && (this.subtitleElement.textContent = t.subtitle.length > 0 ? `(${t.subtitle})` : "", this.titlesElement.classList.toggle("no-subtitle", !t.subtitle), he(this.listItemElement, `${this.profile.title}, ${t.subtitle}`)), typeof t.wait == "boolean" && this.listItemElement && (this.iconElement.classList.toggle("spinner", t.wait), this.listItemElement.classList.toggle("wait", t.wait));
4236
+ t.subtitle !== null && (this.subtitleElement.textContent = t.subtitle.length > 0 ? `(${t.subtitle})` : "", this.titlesElement.classList.toggle("no-subtitle", !t.subtitle), ue(this.listItemElement, `${this.profile.title}, ${t.subtitle}`)), typeof t.wait == "boolean" && this.listItemElement && (this.iconElement.classList.toggle("spinner", t.wait), this.listItemElement.classList.toggle("wait", t.wait));
4233
4237
  }
4234
4238
  ondblclick(e) {
4235
4239
  return this.editing || this.startEditing(e.target), !1;
@@ -4237,8 +4241,8 @@ var $n = class extends W {
4237
4241
  startEditing(e) {
4238
4242
  let t = e.enclosingNodeOrSelfWithClass("title");
4239
4243
  if (!t) return;
4240
- let n = new me(this.editingCommitted.bind(this), this.editingCancelled.bind(this), void 0);
4241
- this.editing = xe.startEditing(t, n);
4244
+ let n = new ce(this.editingCommitted.bind(this), this.editingCancelled.bind(this), void 0);
4245
+ this.editing = _e.startEditing(t, n);
4242
4246
  }
4243
4247
  editingCommitted(e, t) {
4244
4248
  t.trim().length === 0 ? this.editing && this.editing.cancel() : (this.editing = null, this.profile.setTitle(t));
@@ -4247,7 +4251,7 @@ var $n = class extends W {
4247
4251
  this.editing = null;
4248
4252
  }
4249
4253
  dispose() {
4250
- this.profile.removeEventListener(P.UPDATE_STATUS, this.updateStatus, this);
4254
+ this.profile.removeEventListener(M.UPDATE_STATUS, this.updateStatus, this);
4251
4255
  }
4252
4256
  onselect() {
4253
4257
  return this.dataDisplayDelegate.showProfile(this.profile), !0;
@@ -4256,10 +4260,10 @@ var $n = class extends W {
4256
4260
  return this.profile.profileType().removeProfile(this.profile), !0;
4257
4261
  }
4258
4262
  onattach() {
4259
- this.className && this.listItemElement.classList.add(this.className), this.small && this.listItemElement.classList.add("small"), this.listItemElement.append(this.iconElement, this.titlesElement, this.menuElement), this.listItemElement.addEventListener("contextmenu", this.handleContextMenuEvent.bind(this), !0), De(this.listItemElement, this.profile.profileType().name);
4263
+ this.className && this.listItemElement.classList.add(this.className), this.small && this.listItemElement.classList.add("small"), this.listItemElement.append(this.iconElement, this.titlesElement, this.menuElement), this.listItemElement.addEventListener("contextmenu", this.handleContextMenuEvent.bind(this), !0), Ce(this.listItemElement, this.profile.profileType().name);
4260
4264
  }
4261
4265
  handleContextMenuEvent(e) {
4262
- let t = new Le(e);
4266
+ let t = new Pe(e);
4263
4267
  t.appendItemsAtLocation("profilerMenu"), t.show();
4264
4268
  }
4265
4269
  setSmall(e) {
@@ -4281,19 +4285,19 @@ var $n = class extends W {
4281
4285
  failReason: "Reason: {PH1}.",
4282
4286
  runD: "Run {PH1}",
4283
4287
  profiles: "Profiles"
4284
- }, ii = v("panels/profiler/ProfilesPanel.ts", Q), $ = g.bind(void 0, ii);
4288
+ }, ii = o("panels/profiler/ProfilesPanel.ts", Q), $ = r.bind(void 0, ii);
4285
4289
  function ai(e, t) {
4286
- if (e instanceof Ir) return new ei(t, e, "heap-snapshot-sidebar-tree-item");
4287
- if (e instanceof En) return new ei(t, e, "profile-sidebar-tree-item");
4290
+ if (e instanceof J) return new ei(t, e, "heap-snapshot-sidebar-tree-item");
4291
+ if (e instanceof On) return new ei(t, e, "profile-sidebar-tree-item");
4288
4292
  throw Error("Not implemented.");
4289
4293
  }
4290
4294
  function oi(e, t, n) {
4291
- if (e instanceof Ir) return new Tr(t, e, n);
4292
- if (e instanceof Gn) return new Vn(e);
4293
- if (e instanceof An) return new On(t, e);
4295
+ if (e instanceof J) return new Dr(t, e, n);
4296
+ if (e instanceof qn) return new Un(e);
4297
+ if (e instanceof Mn) return new An(t, e);
4294
4298
  throw Error("Not implemented.");
4295
4299
  }
4296
- var si = class e extends de {
4300
+ var si = class e extends ae {
4297
4301
  profilesItemTreeElement;
4298
4302
  sidebarTree;
4299
4303
  profileViews;
@@ -4310,22 +4314,22 @@ var si = class e extends de {
4310
4314
  fileSelectorElement;
4311
4315
  selectedProfileType;
4312
4316
  static registry = {
4313
- heapSnapshotProfileType: new Mr(),
4314
- trackingHeapSnapshotProfileType: new Pr(),
4315
- samplingHeapProfileType: new Wn(),
4316
- detachedElementProfileType: new kn()
4317
+ heapSnapshotProfileType: new Nr(),
4318
+ trackingHeapSnapshotProfileType: new Fr(),
4319
+ samplingHeapProfileType: new Kn(),
4320
+ detachedElementProfileType: new jn()
4317
4321
  };
4318
4322
  constructor(e, t) {
4319
- super(e), this.registerRequiredCSS(Et, ti, jn);
4320
- let n = new w();
4321
- this.splitWidget().setMainWidget(n), this.profilesItemTreeElement = new ui(this), this.sidebarTree = new $e(), this.sidebarTree.registerRequiredCSS(ni), this.sidebarTree.element.classList.add("profiles-sidebar-tree-box"), this.panelSidebarElement().appendChild(this.sidebarTree.element), this.sidebarTree.appendChild(this.profilesItemTreeElement), this.sidebarTree.element.addEventListener("keydown", this.onKeyDown.bind(this), !1), this.profileViews = document.createElement("div"), this.profileViews.id = "profile-views", this.profileViews.classList.add("vbox"), n.element.appendChild(this.profileViews), this.toolbarElement = document.createElement("div"), this.toolbarElement.classList.add("profiles-toolbar"), n.element.insertBefore(this.toolbarElement, n.element.firstChild), this.panelSidebarElement().classList.add("profiles-tree-sidebar");
4323
+ super(e), this.registerRequiredCSS(kt, ti, Nn);
4324
+ let n = new b();
4325
+ this.splitWidget().setMainWidget(n), this.profilesItemTreeElement = new ui(this), this.sidebarTree = new nt(), this.sidebarTree.registerRequiredCSS(ni), this.sidebarTree.element.classList.add("profiles-sidebar-tree-box"), this.panelSidebarElement().appendChild(this.sidebarTree.element), this.sidebarTree.appendChild(this.profilesItemTreeElement), this.sidebarTree.element.addEventListener("keydown", this.onKeyDown.bind(this), !1), this.profileViews = document.createElement("div"), this.profileViews.id = "profile-views", this.profileViews.classList.add("vbox"), n.element.appendChild(this.profileViews), this.toolbarElement = document.createElement("div"), this.toolbarElement.classList.add("profiles-toolbar"), n.element.insertBefore(this.toolbarElement, n.element.firstChild), this.panelSidebarElement().classList.add("profiles-tree-sidebar");
4322
4326
  let r = document.createElement("div");
4323
- r.classList.add("profiles-toolbar"), r.setAttribute("jslog", `${Je("profiles-sidebar")}`), this.panelSidebarElement().insertBefore(r, this.panelSidebarElement().firstChild);
4327
+ r.classList.add("profiles-toolbar"), r.setAttribute("jslog", `${Ye("profiles-sidebar")}`), this.panelSidebarElement().insertBefore(r, this.panelSidebarElement().firstChild);
4324
4328
  let i = r.createChild("devtools-toolbar");
4325
- i.wrappable = !0, this.toggleRecordAction = Xe.instance().getAction(t), this.toggleRecordButton = Ae.createActionButton(this.toggleRecordAction), i.appendToolbarItem(this.toggleRecordButton), i.appendToolbarItem(Ae.createActionButton("profiler.clear-all")), i.appendSeparator(), i.appendToolbarItem(Ae.createActionButton("profiler.load-from-file")), this.#e = Xe.instance().getAction("profiler.save-to-file"), this.#e.setEnabled(!1), i.appendToolbarItem(Ae.createActionButton(this.#e)), i.appendSeparator(), i.appendToolbarItem(Ae.createActionButton("components.collect-garbage")), this.profileViewToolbar = this.toolbarElement.createChild("devtools-toolbar"), this.profileViewToolbar.wrappable = !0, this.profileViewToolbar.setAttribute("jslog", `${Je("profile-view")}`), this.profileGroups = {}, this.launcherView = new Jr(this), this.launcherView.addEventListener(Yr.PROFILE_TYPE_SELECTED, this.onProfileTypeSelected, this), this.profileToView = [], this.typeIdToSidebarSection = {};
4329
+ i.wrappable = !0, this.toggleRecordAction = Ze.instance().getAction(t), this.toggleRecordButton = De.createActionButton(this.toggleRecordAction), i.appendToolbarItem(this.toggleRecordButton), i.appendToolbarItem(De.createActionButton("profiler.clear-all")), i.appendSeparator(), i.appendToolbarItem(De.createActionButton("profiler.load-from-file")), this.#e = Ze.instance().getAction("profiler.save-to-file"), this.#e.setEnabled(!1), i.appendToolbarItem(De.createActionButton(this.#e)), i.appendSeparator(), i.appendToolbarItem(De.createActionButton("components.collect-garbage")), this.profileViewToolbar = this.toolbarElement.createChild("devtools-toolbar"), this.profileViewToolbar.wrappable = !0, this.profileViewToolbar.setAttribute("jslog", `${Ye("profile-view")}`), this.profileGroups = {}, this.launcherView = new Jr(this), this.launcherView.addEventListener(Yr.PROFILE_TYPE_SELECTED, this.onProfileTypeSelected, this), this.profileToView = [], this.typeIdToSidebarSection = {};
4326
4330
  let a = this.profileTypes;
4327
4331
  for (let e = 0; e < a.length; e++) this.registerProfileType(a[e]);
4328
- this.launcherView.restoreSelectedProfileType(), this.profilesItemTreeElement.select(), this.showLauncherView(), this.createFileSelectorElement(), b.instance().addEventListener(ue.SUSPEND_STATE_CHANGED, this.onSuspendStateChanged, this), T.instance().addFlavorChangeListener(nt, this.updateProfileTypeSpecificUI, this), T.instance().addFlavorChangeListener(y, this.updateProfileTypeSpecificUI, this);
4332
+ this.launcherView.restoreSelectedProfileType(), this.profilesItemTreeElement.select(), this.showLauncherView(), this.createFileSelectorElement(), S.instance().addEventListener(qe.SUSPEND_STATE_CHANGED, this.onSuspendStateChanged, this), x.instance().addFlavorChangeListener(Qe, this.updateProfileTypeSpecificUI, this), x.instance().addFlavorChangeListener(_, this.updateProfileTypeSpecificUI, this);
4329
4333
  }
4330
4334
  get profileTypes() {
4331
4335
  return Object.values(e.registry);
@@ -4349,15 +4353,15 @@ var si = class e extends de {
4349
4353
  let t = this.findProfileTypeByExtension(e.name);
4350
4354
  if (!t) {
4351
4355
  let e = new Set(this.profileTypes.map((e) => e.fileExtension()).filter((e) => e));
4352
- d.instance().error($(Q.cantLoadFileSupportedFile, { PH1: Array.from(e).join("', '") }));
4356
+ g.instance().error($(Q.cantLoadFileSupportedFile, { PH1: Array.from(e).join("', '") }));
4353
4357
  return;
4354
4358
  }
4355
4359
  if (t.profileBeingRecorded()) {
4356
- d.instance().error($(Q.cantLoadProfileWhileAnother));
4360
+ g.instance().error($(Q.cantLoadProfileWhileAnother));
4357
4361
  return;
4358
4362
  }
4359
4363
  let n = await t.loadFromFile(e);
4360
- n && "message" in n && ye.show($(Q.profileLoadingFailed), $(Q.failReason, { PH1: n.message }), void 0, "profile-loading-failed");
4364
+ n && "message" in n && me.show($(Q.profileLoadingFailed), $(Q.failReason, { PH1: n.message }), void 0, "profile-loading-failed");
4361
4365
  }
4362
4366
  toggleRecord() {
4363
4367
  if (!this.toggleRecordAction.enabled()) return !0;
@@ -4370,7 +4374,7 @@ var si = class e extends de {
4370
4374
  this.updateToggleRecordAction(this.toggleRecordAction.toggled());
4371
4375
  }
4372
4376
  updateToggleRecordAction(e) {
4373
- let t = !!(T.instance().flavor(nt) || T.instance().flavor(y)), n = e || !b.instance().allTargetsSuspended() && t;
4377
+ let t = !!(x.instance().flavor(Qe) || x.instance().flavor(_)), n = e || !S.instance().allTargetsSuspended() && t;
4374
4378
  this.toggleRecordAction.setEnabled(n), this.toggleRecordAction.setToggled(e), n ? this.toggleRecordButton.setTitle(this.selectedProfileType ? this.selectedProfileType.buttonTooltip : "") : this.toggleRecordButton.setTitle(st()), this.selectedProfileType && this.launcherView.updateProfileType(this.selectedProfileType, n);
4375
4379
  }
4376
4380
  profileBeingRecordedRemoved() {
@@ -4401,7 +4405,7 @@ var si = class e extends de {
4401
4405
  function i(e) {
4402
4406
  this.showProfile(e.data);
4403
4407
  }
4404
- e.addEventListener(F.VIEW_UPDATED, this.updateProfileTypeSpecificUI, this), e.addEventListener(F.ADD_PROFILE_HEADER, n, this), e.addEventListener(F.REMOVE_PROFILE_HEADER, r, this), e.addEventListener(F.PROFILE_COMPLETE, i, this);
4408
+ e.addEventListener(N.VIEW_UPDATED, this.updateProfileTypeSpecificUI, this), e.addEventListener(N.ADD_PROFILE_HEADER, n, this), e.addEventListener(N.REMOVE_PROFILE_HEADER, r, this), e.addEventListener(N.PROFILE_COMPLETE, i, this);
4405
4409
  let a = e.getProfiles();
4406
4410
  for (let e = 0; e < a.length; e++) this.addProfileHeader(a[e]);
4407
4411
  }
@@ -4423,10 +4427,10 @@ var si = class e extends de {
4423
4427
  if (!e || e.profileType().profileBeingRecorded() === e && !e.profileType().hasTemporaryView()) return null;
4424
4428
  let t = this.viewForProfile(e);
4425
4429
  if (t === this.visibleView) return t;
4426
- this.closeVisibleView(), T.instance().setFlavor(N, e), this.#e.setEnabled(e.canSaveToFile()), t.show(this.profileViews), this.toolbarElement.classList.remove("hidden"), this.visibleView = t;
4430
+ this.closeVisibleView(), x.instance().setFlavor(j, e), this.#e.setEnabled(e.canSaveToFile()), t.show(this.profileViews), this.toolbarElement.classList.remove("hidden"), this.visibleView = t;
4427
4431
  let n = this.typeIdToSidebarSection[e.profileType().id].sidebarElementForProfile(e);
4428
4432
  return n && n.revealAndSelect(), this.profileViewToolbar.removeToolbarItems(), t.toolbarItems().then((e) => {
4429
- Array.isArray(e) ? e.map((e) => this.profileViewToolbar.appendToolbarItem(e)) : ge(e, this.profileViewToolbar);
4433
+ Array.isArray(e) ? e.map((e) => this.profileViewToolbar.appendToolbarItem(e)) : de(e, this.profileViewToolbar);
4430
4434
  }), t;
4431
4435
  }
4432
4436
  showObject(e, t) {}
@@ -4446,16 +4450,16 @@ var si = class e extends de {
4446
4450
  return this.profileToView.findIndex((t) => t.profile === e);
4447
4451
  }
4448
4452
  closeVisibleView() {
4449
- T.instance().setFlavor(N, null), this.#e.setEnabled(!1), this.visibleView && this.visibleView.detach(), delete this.visibleView;
4453
+ x.instance().setFlavor(j, null), this.#e.setEnabled(!1), this.visibleView && this.visibleView.detach(), delete this.visibleView;
4450
4454
  }
4451
4455
  focus() {
4452
4456
  this.sidebarTree.focus();
4453
4457
  }
4454
4458
  wasShown() {
4455
- super.wasShown(), T.instance().setFlavor(e, this);
4459
+ super.wasShown(), x.instance().setFlavor(e, this);
4456
4460
  }
4457
4461
  willHide() {
4458
- T.instance().setFlavor(e, null), super.willHide();
4462
+ x.instance().setFlavor(e, null), super.willHide();
4459
4463
  }
4460
4464
  }, ci = class extends Ue {
4461
4465
  dataDisplayDelegate;
@@ -4499,7 +4503,7 @@ var si = class e extends de {
4499
4503
  }
4500
4504
  t.length !== 0 && (r = i.sidebarTreeElement);
4501
4505
  }
4502
- return r && r.removeChild(n), n.dispose(), this.childCount() ? !1 : (this.hidden = !0, !0);
4506
+ return r && r.removeChild(n), n.dispose(), !this.childCount() && (this.hidden = !0, !0);
4503
4507
  }
4504
4508
  sidebarElementForProfile(e) {
4505
4509
  let t = this.sidebarElementIndex(e);
@@ -4539,31 +4543,31 @@ var si = class e extends de {
4539
4543
  return this.panel.showLauncherView(), !0;
4540
4544
  }
4541
4545
  onattach() {
4542
- this.listItemElement.classList.add("profile-launcher-view-tree-item"), this.listItemElement.createChild("div", "titles no-subtitle").createChild("span", "title-container").createChild("span", "title").textContent = $(Q.profiles), this.setLeadingIcons([be("tune")]);
4546
+ this.listItemElement.classList.add("profile-launcher-view-tree-item"), this.listItemElement.createChild("div", "titles no-subtitle").createChild("span", "title-container").createChild("span", "title").textContent = $(Q.profiles), this.setLeadingIcons([he("tune")]);
4543
4547
  }
4544
4548
  }, di = class {
4545
4549
  handleAction(e, t) {
4546
4550
  switch (t) {
4547
4551
  case "profiler.clear-all": {
4548
4552
  let t = e.flavor(si);
4549
- return t === null ? !1 : (t.reset(), !0);
4553
+ return t !== null && (t.reset(), !0);
4550
4554
  }
4551
4555
  case "profiler.load-from-file": {
4552
4556
  let t = e.flavor(si);
4553
- return t === null ? !1 : (t.showLoadFromFileDialog(), !0);
4557
+ return t !== null && (t.showLoadFromFileDialog(), !0);
4554
4558
  }
4555
4559
  case "profiler.save-to-file": {
4556
- let t = e.flavor(N);
4557
- return t === null ? !1 : (t.saveToFile(), !0);
4560
+ let t = e.flavor(j);
4561
+ return t !== null && (t.saveToFile(), !0);
4558
4562
  }
4559
4563
  case "profiler.delete-profile": {
4560
- let t = e.flavor(N);
4561
- return t === null ? !1 : (t.profileType().removeProfile(t), !0);
4564
+ let t = e.flavor(j);
4565
+ return t !== null && (t.profileType().removeProfile(t), !0);
4562
4566
  }
4563
4567
  }
4564
4568
  return !1;
4565
4569
  }
4566
- }, fi = /* @__PURE__ */ e({ HeapProfilerPanel: () => _i }), pi = { revealInSummaryView: "Reveal in Summary view" }, mi = v("panels/profiler/HeapProfilerPanel.ts", pi), hi = g.bind(void 0, mi), gi, _i = class e extends si {
4570
+ }, fi = /* @__PURE__ */ e({ HeapProfilerPanel: () => _i }), pi = { revealInSummaryView: "Reveal in Summary view" }, mi = o("panels/profiler/HeapProfilerPanel.ts", pi), hi = r.bind(void 0, mi), gi, _i = class e extends si {
4567
4571
  constructor() {
4568
4572
  super("heap-profiler", "profiler.heap-toggle-recording");
4569
4573
  }
@@ -4584,14 +4588,14 @@ var si = class e extends de {
4584
4588
  t.revealSection().appendItem(hi(pi.revealInSummaryView), a.bind(this, "Summary"), { jslogContext: "reveal-in-summary" });
4585
4589
  }
4586
4590
  handleAction(t, n) {
4587
- let r = T.instance().flavor(e);
4591
+ let r = x.instance().flavor(e);
4588
4592
  return console.assert(!!r && r instanceof e), r && r.toggleRecord(), !0;
4589
4593
  }
4590
4594
  wasShown() {
4591
- super.wasShown(), T.instance().setFlavor(e, this), Ke.instance().panelLoaded("heap-profiler", "DevTools.Launch.HeapProfiler");
4595
+ super.wasShown(), x.instance().setFlavor(e, this), Je.instance().panelLoaded("heap-profiler", "DevTools.Launch.HeapProfiler");
4592
4596
  }
4593
4597
  willHide() {
4594
- T.instance().setFlavor(e, null), super.willHide();
4598
+ x.instance().setFlavor(e, null), super.willHide();
4595
4599
  }
4596
4600
  showObject(e, t) {
4597
4601
  let n = si.registry.heapSnapshotProfileType.getProfiles();
@@ -4605,4 +4609,4 @@ var si = class e extends de {
4605
4609
  }
4606
4610
  }, vi = /* @__PURE__ */ e({});
4607
4611
  //#endregion
4608
- export { en as BottomUpProfileDataGrid, Rn as HeapProfileView, fi as HeapProfilerPanel, sr as HeapSnapshotDataGrids, Xn as HeapSnapshotGridNodes, xr as HeapSnapshotView, Mn as HeapTimelineOverview, Br as IsolateSelector, Jt as ProfileDataGrid, fn as ProfileFlameChart, ln as ProfileHeader, Gr as ProfileLauncherView, Xr as ProfileSidebarTreeElement, vi as ProfileTypeRegistry, Sn as ProfileView, ri as ProfilesPanel, yn as TopDownProfileDataGrid };
4612
+ export { nn as BottomUpProfileDataGrid, Bn as HeapProfileView, fi as HeapProfilerPanel, lr as HeapSnapshotDataGrids, Qn as HeapSnapshotGridNodes, Cr as HeapSnapshotView, Pn as HeapTimelineOverview, Br as IsolateSelector, Xt as ProfileDataGrid, mn as ProfileFlameChart, dn as ProfileHeader, Gr as ProfileLauncherView, Xr as ProfileSidebarTreeElement, vi as ProfileTypeRegistry, wn as ProfileView, ri as ProfilesPanel, xn as TopDownProfileDataGrid };