farming-code 2.2.6

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 (453) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +287 -0
  3. package/README.zh_cn.md +329 -0
  4. package/SECURITY.md +29 -0
  5. package/THIRD_PARTY_NOTICES.md +106 -0
  6. package/backend/acp/client-services.js +312 -0
  7. package/backend/acp/patch-decisions.js +137 -0
  8. package/backend/acp/permission-security.js +108 -0
  9. package/backend/acp-runtime.js +1144 -0
  10. package/backend/acp-session-state.js +448 -0
  11. package/backend/acp-transcript.js +169 -0
  12. package/backend/agent-activity.js +186 -0
  13. package/backend/agent-env.js +250 -0
  14. package/backend/agent-json-stream.js +268 -0
  15. package/backend/agent-manager.js +4259 -0
  16. package/backend/agent-memory-report.js +583 -0
  17. package/backend/agent-order.js +162 -0
  18. package/backend/agent-provider-session.js +287 -0
  19. package/backend/agent-session-history.js +888 -0
  20. package/backend/app-server-api.js +917 -0
  21. package/backend/async-cache.js +94 -0
  22. package/backend/auth.js +178 -0
  23. package/backend/claude-settings.js +121 -0
  24. package/backend/cli-agents.js +484 -0
  25. package/backend/codex-app-server-home.js +39 -0
  26. package/backend/codex-app-server-runtime.js +901 -0
  27. package/backend/codex-context-window.js +189 -0
  28. package/backend/codex-models.js +229 -0
  29. package/backend/codex-rollout-follower.js +243 -0
  30. package/backend/codex-session-history.js +553 -0
  31. package/backend/codex-transcript-sanitizer.js +103 -0
  32. package/backend/codex-transcript.js +2341 -0
  33. package/backend/command-runner-child.js +67 -0
  34. package/backend/config-manager.js +815 -0
  35. package/backend/control-api.js +151 -0
  36. package/backend/data/chinese-poetic-words.json +8223 -0
  37. package/backend/data/poetic-word-sources/china.json +49209 -0
  38. package/backend/data/poetic-word-sources/india.json +9763 -0
  39. package/backend/data/poetic-word-sources/japan.json +8455 -0
  40. package/backend/executable-discovery.js +207 -0
  41. package/backend/farming-app-cli.js +790 -0
  42. package/backend/farming-cli.js +400 -0
  43. package/backend/farming-session-store.js +373 -0
  44. package/backend/haiku-token.js +772 -0
  45. package/backend/index-html.js +49 -0
  46. package/backend/input-parts.js +54 -0
  47. package/backend/input-routing.js +24 -0
  48. package/backend/json-cli-runtime.js +161 -0
  49. package/backend/local-session-engine.js +620 -0
  50. package/backend/main-agent-skills.js +292 -0
  51. package/backend/main-page-session.js +119 -0
  52. package/backend/native-pty-host-client.js +516 -0
  53. package/backend/native-pty-host-path.js +22 -0
  54. package/backend/native-pty-host.js +816 -0
  55. package/backend/native-session-engine.js +196 -0
  56. package/backend/network.js +23 -0
  57. package/backend/npm-update-helper.js +196 -0
  58. package/backend/packaged-node-pty.js +79 -0
  59. package/backend/provider-session-id.js +47 -0
  60. package/backend/qr-share-tickets.js +100 -0
  61. package/backend/review-diff-router.js +180 -0
  62. package/backend/review-diff-service.js +1270 -0
  63. package/backend/review-session-router.js +74 -0
  64. package/backend/review-session-service.js +432 -0
  65. package/backend/review-session-store.js +144 -0
  66. package/backend/review-state-router.js +116 -0
  67. package/backend/review-state-store.js +287 -0
  68. package/backend/run-history-store.js +70 -0
  69. package/backend/server.js +2446 -0
  70. package/backend/session-engine-bridge.js +110 -0
  71. package/backend/session-engine-router.js +66 -0
  72. package/backend/session-engine.js +39 -0
  73. package/backend/shell-busy-integration.js +472 -0
  74. package/backend/slash-command-discovery.js +296 -0
  75. package/backend/storage-layout.js +101 -0
  76. package/backend/system-monitor.js +77 -0
  77. package/backend/terminal-runtime-cleanup.js +80 -0
  78. package/backend/terminal-screen-state.js +240 -0
  79. package/backend/terminal-screen-worker-pool.js +165 -0
  80. package/backend/terminal-screen-worker-thread.js +161 -0
  81. package/backend/terminal-screen-worker.js +255 -0
  82. package/backend/terminal-status.js +356 -0
  83. package/backend/theme-manager.js +145 -0
  84. package/backend/update-service.js +1183 -0
  85. package/backend/usage-forecast.js +86 -0
  86. package/backend/usage-monitor.js +1357 -0
  87. package/backend/workspace-discovery.js +311 -0
  88. package/backend/workspace-file-router.js +431 -0
  89. package/backend/workspace-file-service.js +2765 -0
  90. package/bin/farming +5 -0
  91. package/config/farming.deploy.env.example +13 -0
  92. package/config/farming.install.env.example +17 -0
  93. package/dist/assets/App-BrP-ENHg.css +1 -0
  94. package/dist/assets/App-Dza5yEDe.js +124 -0
  95. package/dist/assets/FileEditorMarkdownPreview-DRDNQ8mX.css +1 -0
  96. package/dist/assets/FileEditorMarkdownPreview-elKWc8Im.js +404 -0
  97. package/dist/assets/FileEditorPane-BQLocXOp.js +5 -0
  98. package/dist/assets/IconGlyphs-RkMAdBXF.js +1 -0
  99. package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  100. package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  101. package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  102. package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  103. package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  104. package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  105. package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  106. package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  107. package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  108. package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  109. package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  110. package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  111. package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  112. package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  113. package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  114. package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  115. package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  116. package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  117. package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  118. package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  119. package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  120. package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  121. package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  122. package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  123. package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  124. package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  125. package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  126. package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  127. package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  128. package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  129. package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  130. package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  131. package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  132. package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  133. package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  134. package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  135. package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  136. package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  137. package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  138. package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  139. package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  140. package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  141. package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  142. package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  143. package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  144. package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  145. package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  146. package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  147. package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  148. package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  149. package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  150. package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  151. package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  152. package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  153. package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  154. package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  155. package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  156. package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  157. package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  158. package/dist/assets/ProjectFilesSection-lS1azbgj.js +12 -0
  159. package/dist/assets/ReviewPage-DgnmgU2T.js +3 -0
  160. package/dist/assets/abap-Cc5D5h5i.js +1 -0
  161. package/dist/assets/abnfDiagram-VRR7QNED-BgawzDQT.js +1 -0
  162. package/dist/assets/apex-BKopwLmx.js +1 -0
  163. package/dist/assets/api-D1lyBYIQ.js +1 -0
  164. package/dist/assets/arc-CWoVlxJw.js +1 -0
  165. package/dist/assets/architecture-TIHT7OUA-CbJBFh3w.js +1 -0
  166. package/dist/assets/architectureDiagram-ZJ3FMSHR-DUShwPg0.js +36 -0
  167. package/dist/assets/array-HeX70jSN.js +1 -0
  168. package/dist/assets/azcli-DI-C34WA.js +1 -0
  169. package/dist/assets/bat-Cbp6u42z.js +1 -0
  170. package/dist/assets/bicep-4QA1jTCM.js +2 -0
  171. package/dist/assets/blockDiagram-677ZJIJ3-CeGZviXR.js +132 -0
  172. package/dist/assets/c4Diagram-LMCZKHZV-CLhYht6S.js +10 -0
  173. package/dist/assets/cameligo-Dda_adPs.js +1 -0
  174. package/dist/assets/channel-Uw90AO0b.js +1 -0
  175. package/dist/assets/chunk-2Q5K7J3B-d5WWh8jo.js +1 -0
  176. package/dist/assets/chunk-32BRIVSS-LFYpT-Cu.js +1 -0
  177. package/dist/assets/chunk-52WLFC77-BH6jDw9J.js +10 -0
  178. package/dist/assets/chunk-5FCAYU7R-C7AmIhYv.js +1 -0
  179. package/dist/assets/chunk-5HE753X5-C8cXaouP.js +1 -0
  180. package/dist/assets/chunk-5JV3BV7I-C1PtimcA.js +1 -0
  181. package/dist/assets/chunk-5TONJI2A-_81zUME8.js +2 -0
  182. package/dist/assets/chunk-5VM5RSS4-Dlw7AXWp.js +15 -0
  183. package/dist/assets/chunk-7BUUIJ7U-ZBRhjLOh.js +1 -0
  184. package/dist/assets/chunk-BIQX33UG-CWmzxeAw.js +1 -0
  185. package/dist/assets/chunk-C7G6YPKG-B_mIUlb7.js +1 -0
  186. package/dist/assets/chunk-CQNSW5MT-CMayolwI.js +1 -0
  187. package/dist/assets/chunk-CYSBUYHQ-lSPbrL3Z.js +1 -0
  188. package/dist/assets/chunk-DECur_0Z.js +1 -0
  189. package/dist/assets/chunk-EMLP6XTP-D9-jtCnM.js +1 -0
  190. package/dist/assets/chunk-EX3LRPZG-C63hVuAJ.js +231 -0
  191. package/dist/assets/chunk-FWX5IMBZ-CboX-WF_.js +2 -0
  192. package/dist/assets/chunk-HOUHSVGY-BOgSd6Un.js +1 -0
  193. package/dist/assets/chunk-ICXQ74PX-C0K-pgZt.js +2 -0
  194. package/dist/assets/chunk-JG7HCLWE-Cib606u_.js +2 -0
  195. package/dist/assets/chunk-JWPE2WC7-DSyBRaRG.js +1 -0
  196. package/dist/assets/chunk-KEIR6QF5-CNOHik0T.js +161 -0
  197. package/dist/assets/chunk-MOJQB5TN-CVMfwN_7.js +88 -0
  198. package/dist/assets/chunk-MOZMSUNE-D6JeZqmE.js +1 -0
  199. package/dist/assets/chunk-OGEWGWER-DLT3pxyw.js +1 -0
  200. package/dist/assets/chunk-OSBZ3O6U-C0W8KSeg.js +1 -0
  201. package/dist/assets/chunk-PUDLZKDR-Cd079yIQ.js +156 -0
  202. package/dist/assets/chunk-Q4XR5HBZ-D0jHa6SO.js +70 -0
  203. package/dist/assets/chunk-QBLGF6JB-p4omp7uO.js +1 -0
  204. package/dist/assets/chunk-R7FJI6CG-CZ_p9hSr.js +1 -0
  205. package/dist/assets/chunk-RYQCIY6F-CZA9pvFX.js +1 -0
  206. package/dist/assets/chunk-U6XO7XAA-CcXKsWxp.js +2 -0
  207. package/dist/assets/chunk-V7JOEXUC-CVDtR75H.js +206 -0
  208. package/dist/assets/chunk-VAUOI2AC-B-W2_9Ot.js +1 -0
  209. package/dist/assets/chunk-VR4S4FIN-FD3kWh32.js +1 -0
  210. package/dist/assets/chunk-WYO6CB5R-C2bGaS5r.js +127 -0
  211. package/dist/assets/chunk-XXDRQBXY-BBXwjhUx.js +1 -0
  212. package/dist/assets/chunk-Y2CYZVJY-Di0sYzi1.js +1 -0
  213. package/dist/assets/chunk-YOTPTUD7-BXHmEk89.js +1 -0
  214. package/dist/assets/chunk-ZGVPDNZ5-ymgts0zo.js +62 -0
  215. package/dist/assets/chunk-ZIRB5QZD-DncwlQQc.js +32 -0
  216. package/dist/assets/classDiagram-OUVF2IWQ-DKW_dtku.js +1 -0
  217. package/dist/assets/classDiagram-v2-EOCWNBFH-C8Fi7-yv.js +1 -0
  218. package/dist/assets/clojure-CvY8A83L.js +1 -0
  219. package/dist/assets/code-dark-Cjb1QGhu.css +1 -0
  220. package/dist/assets/code-mobile-3C2Rr-CN.css +1 -0
  221. package/dist/assets/codicon-ngg6Pgfi.ttf +0 -0
  222. package/dist/assets/coffee-4LX2Sv8A.js +1 -0
  223. package/dist/assets/core-ZlAPicox.js +3 -0
  224. package/dist/assets/cose-bilkent-JH36ORCC-BNIAz0nN.js +1 -0
  225. package/dist/assets/cpp-D4AzSV28.js +1 -0
  226. package/dist/assets/csharp-C4nWN4Yd.js +1 -0
  227. package/dist/assets/csp-CiEaaS5Z.js +1 -0
  228. package/dist/assets/css-DXxBRsbk.js +3 -0
  229. package/dist/assets/css.worker-DyDu5ynT.js +89 -0
  230. package/dist/assets/cssMode-DDWxTPm_.js +1 -0
  231. package/dist/assets/cynefin-VYW2F7L2-DgXGHlRt.js +1 -0
  232. package/dist/assets/cynefinDiagram-TSTJHNR4-CwpobXIl.js +62 -0
  233. package/dist/assets/cypher-DOMzqyFA.js +1 -0
  234. package/dist/assets/cytoscape.esm-Cl8iC3D7.js +321 -0
  235. package/dist/assets/dagre-DXlcHgr3.js +1 -0
  236. package/dist/assets/dagre-VKFMJZFB-Dkhlfjna.js +4 -0
  237. package/dist/assets/dart-BWS7MXt_.js +1 -0
  238. package/dist/assets/defaultLocale-GJwWH1Jr.js +1 -0
  239. package/dist/assets/diagram-FQU43EPY-hA8dicp6.js +3 -0
  240. package/dist/assets/diagram-G47NLZAW-BTY6JTzO.js +24 -0
  241. package/dist/assets/diagram-NH7WQ7WH-xkaHHX9M.js +24 -0
  242. package/dist/assets/diagram-OA4YK3LP-gk_fg9UU.js +30 -0
  243. package/dist/assets/diagram-WEI45ONY-BvC8xd6T.js +41 -0
  244. package/dist/assets/dist-ClAL-Tv5.js +1 -0
  245. package/dist/assets/dockerfile-Baf4U3xT.js +1 -0
  246. package/dist/assets/ebnfDiagram-CCIWWBDH-CR7RaNat.js +1 -0
  247. package/dist/assets/ecl-CT7udlkQ.js +1 -0
  248. package/dist/assets/editor-CtbFZlk0.css +1 -0
  249. package/dist/assets/editor.api2-B9h6iFPK.js +872 -0
  250. package/dist/assets/editor.worker-Dpt_xPrs.js +26 -0
  251. package/dist/assets/elixir-CIbAZw5l.js +1 -0
  252. package/dist/assets/erDiagram-Q63AITRT-_M-JFPbj.js +85 -0
  253. package/dist/assets/eventmodeling-45OFAUF4-DXYTQ2nt.js +1 -0
  254. package/dist/assets/file-icons-EFUGSSwf.js +1 -0
  255. package/dist/assets/flow9-Dqiw45WV.js +1 -0
  256. package/dist/assets/flowDiagram-23GEKE2U-DAiS5Y7G.js +1 -0
  257. package/dist/assets/freemarker2-QBsTERH-.js +3 -0
  258. package/dist/assets/fsharp-E8E2L9jU.js +1 -0
  259. package/dist/assets/ganttDiagram-NO4QXBWP-Bl8P1yf_.js +292 -0
  260. package/dist/assets/gitGraph-TEB2WS4Q-CzTBjEvV.js +1 -0
  261. package/dist/assets/gitGraphDiagram-IHSO6WYX-DoHa5ysz.js +106 -0
  262. package/dist/assets/go-CouVSN4D.js +1 -0
  263. package/dist/assets/graphlib-CbSvZcZU.js +1 -0
  264. package/dist/assets/graphql-a6h6h5-t.js +1 -0
  265. package/dist/assets/handlebars-CuoxPo5A.js +1 -0
  266. package/dist/assets/hcl-vso3e6N-.js +1 -0
  267. package/dist/assets/html-gX5PEu0Q.js +1 -0
  268. package/dist/assets/html.worker-IWNXhnIC.js +502 -0
  269. package/dist/assets/htmlMode-DIWUbUxd.js +1 -0
  270. package/dist/assets/index-BpHPeJf0.js +10 -0
  271. package/dist/assets/info-DKCQHKI2-DznP7j3s.js +1 -0
  272. package/dist/assets/infoDiagram-FWYZ7A6U-DSFcSuUs.js +2 -0
  273. package/dist/assets/ini-SwZZkotR.js +1 -0
  274. package/dist/assets/init-BPLPMQ3Y.js +1 -0
  275. package/dist/assets/ishikawaDiagram-FXEZZL3T-DdkqullI.js +70 -0
  276. package/dist/assets/java-CtRLC4_3.js +1 -0
  277. package/dist/assets/javascript-BYKGIUGs.js +1 -0
  278. package/dist/assets/journeyDiagram-5HDEW3XC-B4hRnQJr.js +139 -0
  279. package/dist/assets/json.worker-c4h5s80L.js +58 -0
  280. package/dist/assets/jsonMode-AFmQQP6u.js +7 -0
  281. package/dist/assets/jsx-runtime-BthL93pI.js +1 -0
  282. package/dist/assets/julia-CuJWFKQH.js +1 -0
  283. package/dist/assets/kanban-definition-HUTT4EX6-tm2FZB2E.js +89 -0
  284. package/dist/assets/katex-C8DPyI6s.js +257 -0
  285. package/dist/assets/kotlin-B_kBhsre.js +1 -0
  286. package/dist/assets/less-CtrHIfz3.js +2 -0
  287. package/dist/assets/lexon-yVt1pJLu.js +1 -0
  288. package/dist/assets/line-CmsjK4kn.js +1 -0
  289. package/dist/assets/linear-Dld3_ERu.js +1 -0
  290. package/dist/assets/liquid-DBIl-f0z.js +1 -0
  291. package/dist/assets/lspLanguageFeatures-DK6tqicV.js +4 -0
  292. package/dist/assets/lua-prOwgJ4U.js +1 -0
  293. package/dist/assets/m3-DhrdTQ84.js +1 -0
  294. package/dist/assets/main-DTJwH51M.css +1 -0
  295. package/dist/assets/map-LZWWoeWa.js +1 -0
  296. package/dist/assets/markdown-DoI5HwSM.js +1 -0
  297. package/dist/assets/mdx-DS-bVtZN.js +1 -0
  298. package/dist/assets/mermaid-parser.core-BQtepoLd.js +4 -0
  299. package/dist/assets/mermaid.core-C7UT_EEL.js +11 -0
  300. package/dist/assets/mindmap-definition-LN4V7U3C-DplfjGms.js +96 -0
  301. package/dist/assets/mips-Dye5jsBU.js +1 -0
  302. package/dist/assets/monaco.contribution-CyLosfZI.js +2 -0
  303. package/dist/assets/msdax-TkNOyIL8.js +1 -0
  304. package/dist/assets/mysql-CEc-RKZF.js +1 -0
  305. package/dist/assets/objective-c-CqqCsQz0.js +1 -0
  306. package/dist/assets/ordinal-BLrOss5K.js +1 -0
  307. package/dist/assets/packet-7NZHBO7P-BDEPOPha.js +1 -0
  308. package/dist/assets/pascal-DO_pj8yg.js +1 -0
  309. package/dist/assets/pascaligo-1cbdZdF3.js +1 -0
  310. package/dist/assets/path-YdFzr2W6.js +1 -0
  311. package/dist/assets/pegDiagram-2B236MQR-lu3SdkQs.js +1 -0
  312. package/dist/assets/perl-B_N3PYfC.js +1 -0
  313. package/dist/assets/pgsql-9iYk1FQ7.js +1 -0
  314. package/dist/assets/php-rO2sgoUM.js +1 -0
  315. package/dist/assets/pie-RZYD4A2V-DWIrwPJQ.js +1 -0
  316. package/dist/assets/pieDiagram-ENE6RG2P-3fHbmDf9.js +39 -0
  317. package/dist/assets/pla-Cbgv60kq.js +1 -0
  318. package/dist/assets/postiats-y6xrhy_M.js +1 -0
  319. package/dist/assets/powerquery-BaD8gWNE.js +1 -0
  320. package/dist/assets/powershell-BMhG4JVe.js +1 -0
  321. package/dist/assets/preload-helper-mJowh_hw.js +1 -0
  322. package/dist/assets/protobuf-CdOP5kN3.js +2 -0
  323. package/dist/assets/pug-Ck60hNF9.js +1 -0
  324. package/dist/assets/python-C93q3xXz.js +1 -0
  325. package/dist/assets/qoder-C9LmmOSf.svg +1 -0
  326. package/dist/assets/qoder-Cf9gl0Y5.svg +1 -0
  327. package/dist/assets/qoder-gHCinseV.svg +1 -0
  328. package/dist/assets/qrcode-DV-_rjU8.js +3 -0
  329. package/dist/assets/qsharp-BcaKFfP-.js +1 -0
  330. package/dist/assets/quadrantDiagram-ABIIQ3AL-a5qoWz-X.js +7 -0
  331. package/dist/assets/r-rFNes0iK.js +1 -0
  332. package/dist/assets/radar-I7S5WNFK-B7OaD8vp.js +1 -0
  333. package/dist/assets/railroad-3IZDKUUU-BXW2nuCA.js +1 -0
  334. package/dist/assets/railroad-abnf-AHOZXSZD-Buw9QG2r.js +1 -0
  335. package/dist/assets/railroad-ebnf-EBAXGLYW-BjSi4sWJ.js +1 -0
  336. package/dist/assets/railroad-peg-LSFZ7HO6-DN1wIVhS.js +1 -0
  337. package/dist/assets/railroadDiagram-RFXS5EU6-D2TOuXW9.js +1 -0
  338. package/dist/assets/razor-CBifNGXO.js +1 -0
  339. package/dist/assets/react-dom-gtU6X-Hj.js +1 -0
  340. package/dist/assets/redis-DkpQ3K6G.js +1 -0
  341. package/dist/assets/redshift-Di9N5TI3.js +1 -0
  342. package/dist/assets/requirementDiagram-TGXJPOKE-LQBWpUvd.js +84 -0
  343. package/dist/assets/restructuredtext-By5ZzLt6.js +1 -0
  344. package/dist/assets/review-BcnwQtJv.css +1 -0
  345. package/dist/assets/rough.esm-c4PR5shF.js +1 -0
  346. package/dist/assets/ruby-fF5zGiLp.js +1 -0
  347. package/dist/assets/rust-C5b3AYY6.js +1 -0
  348. package/dist/assets/sankeyDiagram-HTMAVEWB-B1ohYoyK.js +40 -0
  349. package/dist/assets/sb-CD07UNRs.js +1 -0
  350. package/dist/assets/scala-jtn1ip9G.js +1 -0
  351. package/dist/assets/scheme-C4vqMkn_.js +1 -0
  352. package/dist/assets/scss-I4Glxjbz.js +3 -0
  353. package/dist/assets/sequenceDiagram-DBY2YBRQ-C3vM-hMq.js +162 -0
  354. package/dist/assets/shell-DubUcuns.js +1 -0
  355. package/dist/assets/sizeCapture-X5ZJPWSS-daTB6OcF.js +1 -0
  356. package/dist/assets/solidity-CNy2KSl2.js +1 -0
  357. package/dist/assets/sophia-D9_URt84.js +1 -0
  358. package/dist/assets/sparql-DviXpm4C.js +1 -0
  359. package/dist/assets/sql-vDRbAZgK.js +1 -0
  360. package/dist/assets/src-WBW1QxJt.js +1 -0
  361. package/dist/assets/st-CnpnRqA7.js +1 -0
  362. package/dist/assets/stateDiagram-2N3HPSRC-BvFhOryI.js +1 -0
  363. package/dist/assets/stateDiagram-v2-6OUMAXLB-WMrz4PNo.js +1 -0
  364. package/dist/assets/swift-D_g8Ganz.js +1 -0
  365. package/dist/assets/swimlanes-5IMT3BWC-DKF_b-2s.js +2 -0
  366. package/dist/assets/swimlanesDiagram-G3AALYLV-BGswC9oC.js +8 -0
  367. package/dist/assets/systemverilog-OuZa5h1M.js +1 -0
  368. package/dist/assets/tcl-DBm9ucsV.js +1 -0
  369. package/dist/assets/timeline-definition-FHXFAJF6-vAs11ux_.js +120 -0
  370. package/dist/assets/tokens-BwenNn5Q.css +1 -0
  371. package/dist/assets/treeView-QDETBFTQ-BVfICaZQ.js +1 -0
  372. package/dist/assets/treemap-6X3UGDF4-oWHPqo17.js +1 -0
  373. package/dist/assets/ts.worker-BwM5Ha3L.js +67719 -0
  374. package/dist/assets/tsMode-DGZTlTj8.js +11 -0
  375. package/dist/assets/twig-BRzEqX5Y.js +1 -0
  376. package/dist/assets/typescript-KJKfYO7K.js +1 -0
  377. package/dist/assets/typespec-D4ZgGeX8.js +1 -0
  378. package/dist/assets/useWorkspaceMenuKeyboard-CneKAZUJ.js +1 -0
  379. package/dist/assets/vb-DcP4s6WS.js +1 -0
  380. package/dist/assets/vennDiagram-L72KCM5P-BybTX_9B.js +34 -0
  381. package/dist/assets/wardley-OPB4EBWU-Dg8t5y3s.js +1 -0
  382. package/dist/assets/wardleyDiagram-EHGQE667-CicUmMBR.js +78 -0
  383. package/dist/assets/wgsl-CnRJ_QUf.js +298 -0
  384. package/dist/assets/workers-BSQRIkqa.js +1 -0
  385. package/dist/assets/workspace-view-state-CTyDzk2D.js +1 -0
  386. package/dist/assets/xml-C8FAcN6j.js +1 -0
  387. package/dist/assets/xychartDiagram-FW5EYKEG-BhWDyCX-.js +7 -0
  388. package/dist/assets/yaml-BQ4NrRhG.js +1 -0
  389. package/dist/assets/zsh-CLpveKlF.svg +1 -0
  390. package/dist/assets/zsh-FxSpMPbz.svg +1 -0
  391. package/dist/farming-2/app-icon-v2-180.png +0 -0
  392. package/dist/farming-2/app-icon-v2-192.png +0 -0
  393. package/dist/farming-2/app-icon-v2-512.png +0 -0
  394. package/dist/farming-2/app-icon-v2-maskable-512.png +0 -0
  395. package/dist/farming-2/app-icon-v2-master.png +0 -0
  396. package/dist/farming-2/favicon-v2-16.png +0 -0
  397. package/dist/farming-2/favicon-v2-32.png +0 -0
  398. package/dist/farming-2/favicon-v2-48.png +0 -0
  399. package/dist/farming-2/favicon-v2-64.png +0 -0
  400. package/dist/farming-2/favicon-v2.ico +0 -0
  401. package/dist/farming-2/favicon.ico +0 -0
  402. package/dist/farming-2/github-social-preview.png +0 -0
  403. package/dist/farming-2/images/avatar-watercolor-v1-bee-garden.png +0 -0
  404. package/dist/farming-2/images/avatar-watercolor-v2.png +0 -0
  405. package/dist/farming-2/images/avatar-watercolor-v3.png +0 -0
  406. package/dist/farming-2/legacy-icons-v1/favicon.ico +1 -0
  407. package/dist/farming-2/legacy-icons-v1/logo-16.png +0 -0
  408. package/dist/farming-2/legacy-icons-v1/logo-180.png +0 -0
  409. package/dist/farming-2/legacy-icons-v1/logo-192.png +0 -0
  410. package/dist/farming-2/legacy-icons-v1/logo-32.png +0 -0
  411. package/dist/farming-2/legacy-icons-v1/logo-48.png +0 -0
  412. package/dist/farming-2/legacy-icons-v1/logo-512.png +0 -0
  413. package/dist/farming-2/legacy-icons-v1/logo-64.png +0 -0
  414. package/dist/farming-2/logo-16.png +0 -0
  415. package/dist/farming-2/logo-180.png +0 -0
  416. package/dist/farming-2/logo-192.png +0 -0
  417. package/dist/farming-2/logo-32.png +0 -0
  418. package/dist/farming-2/logo-48.png +0 -0
  419. package/dist/farming-2/logo-512.png +0 -0
  420. package/dist/farming-2/logo-64.png +0 -0
  421. package/dist/farming-2/site.webmanifest +27 -0
  422. package/dist/farming-2/style_capsules/watercolor-pastoral.json +94 -0
  423. package/dist/index.html +27 -0
  424. package/frontend/ghostty-loader.js +24 -0
  425. package/frontend/runtime-paths.js +28 -0
  426. package/frontend/session-bridge.js +82 -0
  427. package/frontend/session-modal-bridge.js +331 -0
  428. package/frontend/skin-bridge.js +25 -0
  429. package/frontend/skins/crt/app.js +6940 -0
  430. package/frontend/skins/crt/assets/branding/farming-crt-icon.svg +11 -0
  431. package/frontend/skins/crt/assets/branding/farming-crt-logo-v1.png +0 -0
  432. package/frontend/skins/crt/assets/effects/phosphor-noise.svg +11 -0
  433. package/frontend/skins/crt/assets/fonts/departure-mono/DepartureMonoNerdFontMono-Regular.otf +0 -0
  434. package/frontend/skins/crt/assets/fonts/departure-mono/LICENSE +93 -0
  435. package/frontend/skins/crt/effects.js +8 -0
  436. package/frontend/skins/crt/index.html +1712 -0
  437. package/frontend/skins/crt/styles/billing.css +1003 -0
  438. package/frontend/skins/crt/styles/effects.css +171 -0
  439. package/frontend/skins/crt/styles/history.css +215 -0
  440. package/frontend/skins/crt/styles/monochrome-green.css +509 -0
  441. package/frontend/skins/crt/styles/search.css +271 -0
  442. package/frontend/terminal-bridge.js +192 -0
  443. package/frontend/theme-loader.js +84 -0
  444. package/frontend/themes/terminal/theme.json +24 -0
  445. package/frontend/vendor/ghostty-web/LICENSE +21 -0
  446. package/frontend/vendor/ghostty-web/__vite-browser-external-2447137e.js +4 -0
  447. package/frontend/vendor/ghostty-web/ghostty-vt.wasm +0 -0
  448. package/frontend/vendor/ghostty-web/ghostty-web.js +2963 -0
  449. package/frontend/vendor/ghostty-web/ghostty-web.umd.cjs +13 -0
  450. package/frontend/vendor/ghostty-web/index.d.ts +1842 -0
  451. package/index.html +23 -0
  452. package/package.json +144 -0
  453. package/scripts/sync-ghostty-vendor.js +66 -0
@@ -0,0 +1,298 @@
1
+ var e={comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`[`,close:`]`},{open:`{`,close:`}`},{open:`(`,close:`)`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`}]};function t(e){let t=[],n=e.split(/\t+|\r+|\n+| +/);for(let e=0;e<n.length;++e)n[e].length>0&&t.push(n[e]);return t}var n=t(`true false`),r=t(`
2
+ alias
3
+ break
4
+ case
5
+ const
6
+ const_assert
7
+ continue
8
+ continuing
9
+ default
10
+ diagnostic
11
+ discard
12
+ else
13
+ enable
14
+ fn
15
+ for
16
+ if
17
+ let
18
+ loop
19
+ override
20
+ requires
21
+ return
22
+ struct
23
+ switch
24
+ var
25
+ while
26
+ `),i=t(`
27
+ NULL
28
+ Self
29
+ abstract
30
+ active
31
+ alignas
32
+ alignof
33
+ as
34
+ asm
35
+ asm_fragment
36
+ async
37
+ attribute
38
+ auto
39
+ await
40
+ become
41
+ binding_array
42
+ cast
43
+ catch
44
+ class
45
+ co_await
46
+ co_return
47
+ co_yield
48
+ coherent
49
+ column_major
50
+ common
51
+ compile
52
+ compile_fragment
53
+ concept
54
+ const_cast
55
+ consteval
56
+ constexpr
57
+ constinit
58
+ crate
59
+ debugger
60
+ decltype
61
+ delete
62
+ demote
63
+ demote_to_helper
64
+ do
65
+ dynamic_cast
66
+ enum
67
+ explicit
68
+ export
69
+ extends
70
+ extern
71
+ external
72
+ fallthrough
73
+ filter
74
+ final
75
+ finally
76
+ friend
77
+ from
78
+ fxgroup
79
+ get
80
+ goto
81
+ groupshared
82
+ highp
83
+ impl
84
+ implements
85
+ import
86
+ inline
87
+ instanceof
88
+ interface
89
+ layout
90
+ lowp
91
+ macro
92
+ macro_rules
93
+ match
94
+ mediump
95
+ meta
96
+ mod
97
+ module
98
+ move
99
+ mut
100
+ mutable
101
+ namespace
102
+ new
103
+ nil
104
+ noexcept
105
+ noinline
106
+ nointerpolation
107
+ noperspective
108
+ null
109
+ nullptr
110
+ of
111
+ operator
112
+ package
113
+ packoffset
114
+ partition
115
+ pass
116
+ patch
117
+ pixelfragment
118
+ precise
119
+ precision
120
+ premerge
121
+ priv
122
+ protected
123
+ pub
124
+ public
125
+ readonly
126
+ ref
127
+ regardless
128
+ register
129
+ reinterpret_cast
130
+ require
131
+ resource
132
+ restrict
133
+ self
134
+ set
135
+ shared
136
+ sizeof
137
+ smooth
138
+ snorm
139
+ static
140
+ static_assert
141
+ static_cast
142
+ std
143
+ subroutine
144
+ super
145
+ target
146
+ template
147
+ this
148
+ thread_local
149
+ throw
150
+ trait
151
+ try
152
+ type
153
+ typedef
154
+ typeid
155
+ typename
156
+ typeof
157
+ union
158
+ unless
159
+ unorm
160
+ unsafe
161
+ unsized
162
+ use
163
+ using
164
+ varying
165
+ virtual
166
+ volatile
167
+ wgsl
168
+ where
169
+ with
170
+ writeonly
171
+ yield
172
+ `),a=t(`
173
+ read write read_write
174
+ function private workgroup uniform storage
175
+ perspective linear flat
176
+ center centroid sample
177
+ vertex_index instance_index position front_facing frag_depth
178
+ local_invocation_id local_invocation_index
179
+ global_invocation_id workgroup_id num_workgroups
180
+ sample_index sample_mask
181
+ rgba8unorm
182
+ rgba8snorm
183
+ rgba8uint
184
+ rgba8sint
185
+ rgba16uint
186
+ rgba16sint
187
+ rgba16float
188
+ r32uint
189
+ r32sint
190
+ r32float
191
+ rg32uint
192
+ rg32sint
193
+ rg32float
194
+ rgba32uint
195
+ rgba32sint
196
+ rgba32float
197
+ bgra8unorm
198
+ `),o=t(`
199
+ bool
200
+ f16
201
+ f32
202
+ i32
203
+ sampler sampler_comparison
204
+ texture_depth_2d
205
+ texture_depth_2d_array
206
+ texture_depth_cube
207
+ texture_depth_cube_array
208
+ texture_depth_multisampled_2d
209
+ texture_external
210
+ texture_external
211
+ u32
212
+ `),s=t(`
213
+ array
214
+ atomic
215
+ mat2x2
216
+ mat2x3
217
+ mat2x4
218
+ mat3x2
219
+ mat3x3
220
+ mat3x4
221
+ mat4x2
222
+ mat4x3
223
+ mat4x4
224
+ ptr
225
+ texture_1d
226
+ texture_2d
227
+ texture_2d_array
228
+ texture_3d
229
+ texture_cube
230
+ texture_cube_array
231
+ texture_multisampled_2d
232
+ texture_storage_1d
233
+ texture_storage_2d
234
+ texture_storage_2d_array
235
+ texture_storage_3d
236
+ vec2
237
+ vec3
238
+ vec4
239
+ `),c=t(`
240
+ vec2i vec3i vec4i
241
+ vec2u vec3u vec4u
242
+ vec2f vec3f vec4f
243
+ vec2h vec3h vec4h
244
+ mat2x2f mat2x3f mat2x4f
245
+ mat3x2f mat3x3f mat3x4f
246
+ mat4x2f mat4x3f mat4x4f
247
+ mat2x2h mat2x3h mat2x4h
248
+ mat3x2h mat3x3h mat3x4h
249
+ mat4x2h mat4x3h mat4x4h
250
+ `),l=t(`
251
+ bitcast all any select arrayLength abs acos acosh asin asinh atan atanh atan2
252
+ ceil clamp cos cosh countLeadingZeros countOneBits countTrailingZeros cross
253
+ degrees determinant distance dot exp exp2 extractBits faceForward firstLeadingBit
254
+ firstTrailingBit floor fma fract frexp inverseBits inverseSqrt ldexp length
255
+ log log2 max min mix modf normalize pow quantizeToF16 radians reflect refract
256
+ reverseBits round saturate sign sin sinh smoothstep sqrt step tan tanh transpose
257
+ trunc dpdx dpdxCoarse dpdxFine dpdy dpdyCoarse dpdyFine fwidth fwidthCoarse fwidthFine
258
+ textureDimensions textureGather textureGatherCompare textureLoad textureNumLayers
259
+ textureNumLevels textureNumSamples textureSample textureSampleBias textureSampleCompare
260
+ textureSampleCompareLevel textureSampleGrad textureSampleLevel textureSampleBaseClampToEdge
261
+ textureStore atomicLoad atomicStore atomicAdd atomicSub atomicMax atomicMin
262
+ atomicAnd atomicOr atomicXor atomicExchange atomicCompareExchangeWeak pack4x8snorm
263
+ pack4x8unorm pack2x16snorm pack2x16unorm pack2x16float unpack4x8snorm unpack4x8unorm
264
+ unpack2x16snorm unpack2x16unorm unpack2x16float storageBarrier workgroupBarrier
265
+ workgroupUniformLoad
266
+ `),u=t(`
267
+ &
268
+ &&
269
+ ->
270
+ /
271
+ =
272
+ ==
273
+ !=
274
+ >
275
+ >=
276
+ <
277
+ <=
278
+ %
279
+ -
280
+ --
281
+ +
282
+ ++
283
+ |
284
+ ||
285
+ *
286
+ <<
287
+ >>
288
+ +=
289
+ -=
290
+ *=
291
+ /=
292
+ %=
293
+ &=
294
+ |=
295
+ ^=
296
+ >>=
297
+ <<=
298
+ `),d=/enable|requires|diagnostic/,f=/[_\p{XID_Start}]\p{XID_Continue}*/u,p=`variable.predefined`,m={tokenPostfix:`.wgsl`,defaultToken:`invalid`,unicode:!0,atoms:n,keywords:r,reserved:i,predeclared_enums:a,predeclared_types:o,predeclared_type_generators:s,predeclared_type_aliases:c,predeclared_intrinsics:l,operators:u,symbols:/[!%&*+\-\.\/:;<=>^|_~,]+/,tokenizer:{root:[[d,`keyword`,`@directive`],[f,{cases:{"@atoms":p,"@keywords":`keyword`,"@reserved":`invalid`,"@predeclared_enums":p,"@predeclared_types":p,"@predeclared_type_generators":p,"@predeclared_type_aliases":p,"@predeclared_intrinsics":p,"@default":`identifier`}}],{include:`@commentOrSpace`},{include:`@numbers`},[/[{}()\[\]]/,`@brackets`],[`@`,`annotation`,`@attribute`],[/@symbols/,{cases:{"@operators":`operator`,"@default":`delimiter`}}],[/./,`invalid`]],commentOrSpace:[[/\s+/,`white`],[/\/\*/,`comment`,`@blockComment`],[/\/\/.*$/,`comment`]],blockComment:[[/[^\/*]+/,`comment`],[/\/\*/,`comment`,`@push`],[/\*\//,`comment`,`@pop`],[/[\/*]/,`comment`]],attribute:[{include:`@commentOrSpace`},[/\w+/,`annotation`,`@pop`]],directive:[{include:`@commentOrSpace`},[/[()]/,`@brackets`],[/,/,`delimiter`],[f,`meta.content`],[/;/,`delimiter`,`@pop`]],numbers:[[/0[fh]/,`number.float`],[/[1-9][0-9]*[fh]/,`number.float`],[/[0-9]*\.[0-9]+([eE][+-]?[0-9]+)?[fh]?/,`number.float`],[/[0-9]+\.[0-9]*([eE][+-]?[0-9]+)?[fh]?/,`number.float`],[/[0-9]+[eE][+-]?[0-9]+[fh]?/,`number.float`],[/0[xX][0-9a-fA-F]*\.[0-9a-fA-F]+(?:[pP][+-]?[0-9]+[fh]?)?/,`number.hex`],[/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*(?:[pP][+-]?[0-9]+[fh]?)?/,`number.hex`],[/0[xX][0-9a-fA-F]+[pP][+-]?[0-9]+[fh]?/,`number.hex`],[/0[xX][0-9a-fA-F]+[iu]?/,`number.hex`],[/[1-9][0-9]*[iu]?/,`number`],[/0[iu]?/,`number`]]}};export{e as conf,m as language};
@@ -0,0 +1 @@
1
+ import{c as e}from"./editor.api2-B9h6iFPK.js";function t(e,t){let n=globalThis.MonacoEnvironment;if(n?.createTrustedTypesPolicy)try{return n.createTrustedTypesPolicy(e,t)}catch(e){console.error(e);return}try{return globalThis.trustedTypes?.createPolicy(e,t)}catch(e){console.error(e);return}}var n=typeof self==`object`&&self.constructor&&self.constructor.name===`DedicatedWorkerGlobalScope`&&globalThis.workerttPolicy!==void 0?globalThis.workerttPolicy:t(`defaultWorkerFactory`,{createScriptURL:e=>e});function r(e){let t=e.label,r=globalThis.MonacoEnvironment;if(r){if(typeof r.getWorker==`function`)return r.getWorker(`workerMain.js`,t);if(typeof r.getWorkerUrl==`function`){let e=r.getWorkerUrl(`workerMain.js`,t);return new Worker(n?n.createScriptURL(e):e,{name:t,type:`module`})}}if(e.createWorker)return e.createWorker();throw Error(`You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker`)}function i(t){let n=Promise.resolve(r({label:t.label??`monaco-editor-worker`,moduleId:t.moduleId,createWorker:t.createWorker})).then(e=>(e.postMessage(`ignore`),e.postMessage(t.createData),e));return e.createWebWorker({worker:n,host:t.host,keepIdleModels:t.keepIdleModels})}export{i as t};
@@ -0,0 +1 @@
1
+ import{t as e}from"./jsx-runtime-BthL93pI.js";import{v as t,w as n}from"./file-icons-EFUGSSwf.js";var r={qwen:`Qwen Code`,codex:`Codex`,opencode:`OpenCode`,qoder:`Qoder`,qodercli:`Qoder`,aider:`Aider`,"github-copilot-cli":`GitHub Copilot CLI`,claude:`Claude Code`,"amazon-q":`Amazon Q`,bash:`bash`,zsh:`zsh`},i=/^[\s**✳✱✲✶·•◇✋✦⏲\u2800-\u28FF]+/u,a=/^[◇✋✦⏲]/u;function o(e){return e.split(` `)[0]??e}function s(e){return e.length<=28?e:`${e.slice(0,27)}…`}function c(e){return e.replace(i,``).trim()}function l(e){return e.trim().replace(/^[\s**✳✱✲✶·•:.◇✋✦⏲\u2800-\u28FF]+/u,``).replace(/\s+/g,` `).toLowerCase()}function u(e,t=Date.now()){if(!e||!Number.isFinite(e))return``;let n=Math.max(0,Math.floor((t-e)/1e3));if(n<60)return`now`;let r=Math.floor(n/60);if(r<60)return`${r}m`;let i=Math.floor(r/60);if(i<24)return`${i}h`;let a=Math.floor(i/24);if(a<14)return`${a}d`;if(a<56)return`${Math.floor(a/7)}w`;let o=Math.floor(a/30);return o<12?`${o}mo`:`${Math.floor(a/365)}y`}function d(e){let t=o(e);return r[t]??t}function f(e){return[e.cwd,e.projectWorkspace].filter(e=>typeof e==`string`&&e.trim().length>0).map(e=>e.replace(/[/\\]+$/,``).split(/[/\\]/).filter(Boolean).pop()||``).filter(Boolean).map(e=>e.toLowerCase())}function p(e,t){let n=typeof e==`string`?e.trim():``;if(!n)return``;let r=l(n),i=o(t.command).toLowerCase(),u=d(t.command).toLowerCase();return(i===`qoder`||i===`qodercli`)&&a.test(n)||new Set([i,u,`${i} session`,`${u} session`,`main agent`,`farming`].filter(Boolean)).has(r)||f(t).includes(r)?``:s(c(n)||n)}function m(e){let t=typeof e.customTitle==`string`?e.customTitle.trim():``;if(t)return s(t);if(e.isMain)return`Main Agent`;let n=p(e.providerSessionTitle,e);if(n)return n;let r=p(e.sessionTitle,e);if(r)return r;if(/^[a-z]+-history(?:-fork)?:/.test(e.source||``)){let t=p(e.task,e);if(t)return t}return d(e.command)}var h={bash:{color:`data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2022.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20150%20150'%20style='enable-background:new%200%200%20150%20150;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23FFFFFF;}%20.st1{fill:%232A3238;}%20.st2{fill:%234DA925;}%20%3c/style%3e%3cg%3e%3cg%3e%3cpath%20class='st0'%20d='M118.9,40.3L81.7,18.2c-4.4-2.6-9.9-2.6-14.4,0L30.1,40.3c-4.4,2.6-7.2,7.5-7.2,12.8v44.2%20c0,5.3,2.7,10.1,7.2,12.8l37.2,22.1c2.2,1.3,4.7,2,7.2,2s5-0.7,7.2-2l37.2-22.1c4.4-2.6,7.2-7.5,7.2-12.8V53%20C126.1,47.8,123.4,42.9,118.9,40.3z'/%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20class='st1'%20d='M118.9,40.3L81.7,18.2c-2.2-1.3-4.7-2-7.2-2s-5,0.7-7.2,2L30.1,40.3c-4.4,2.6-7.2,7.5-7.2,12.8v44.2%20c0,5.3,2.7,10.1,7.2,12.8l37.2,22.1c2.2,1.3,4.7,2,7.2,2s5-0.7,7.2-2l37.2-22.1c4.4-2.6,7.2-7.5,7.2-12.8V53%20C126.1,47.8,123.4,42.9,118.9,40.3z%20M68.6,129.8l-37.2-22.1c-3.6-2.2-5.9-6.2-5.9-10.5V53c0-4.3,2.3-8.4,5.9-10.5l37.2-22.1%20c1.8-1.1,3.8-1.6,5.9-1.6c2.1,0,4.1,0.6,5.9,1.6l37.2,22.1c3.1,1.8,5.1,5,5.7,8.5c-1.2-2.6-4-3.4-7.3-1.5L80.9,71.3%20c-4.4,2.6-7.6,5.4-7.6,10.7v43.4c0,3.2,1.3,5.2,3.2,5.8c-0.6,0.1-1.3,0.2-2,0.2C72.5,131.5,70.4,130.9,68.6,129.8z'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cpath%20class='st2'%20d='M109.2,101.5l-9.3,5.5c-0.2,0.1-0.4,0.3-0.4,0.6v2.4c0,0.3,0.2,0.4,0.4,0.3l9.4-5.7c0.2-0.1,0.3-0.4,0.3-0.7%20v-2.1C109.6,101.5,109.4,101.4,109.2,101.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20class='st0'%20d='M89.4,81.1c0.3-0.2,0.5,0,0.6,0.4v3.2c1.3-0.5,2.5-0.7,3.6-0.4c0.2,0.1,0.3,0.4,0.2,0.7l-0.7,2.8%20c-0.1,0.2-0.2,0.4-0.3,0.6c-0.1,0.1-0.1,0.1-0.2,0.1s-0.2,0.1-0.3,0c-0.5-0.1-1.6-0.4-3.4,0.6c-1.9,1-2.6,2.6-2.5,3.8%20c0,1.5,0.8,1.9,3.3,1.9c3.4,0.1,4.9,1.6,5,5c0,3.4-1.8,7.1-4.6,9.3l0.1,3.2c0,0.4-0.2,0.8-0.5,1l-1.9,1.1c-0.3,0.2-0.5,0-0.6-0.4%20v-3.1c-1.6,0.7-3.2,0.8-4.3,0.4c-0.2-0.1-0.3-0.4-0.2-0.7l0.7-2.9c0.1-0.2,0.2-0.5,0.3-0.6c0.1-0.1,0.1-0.1,0.2-0.1%20c0.1-0.1,0.2-0.1,0.3,0c1.1,0.4,2.6,0.2,3.9-0.5c1.8-0.9,2.9-2.7,2.9-4.5c0-1.6-0.9-2.3-3-2.3c-2.7,0-5.2-0.5-5.3-4.5%20c0-3.3,1.7-6.7,4.4-8.8v-3.2c0-0.4,0.2-0.8,0.5-1L89.4,81.1z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e`,monochrome:`data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2022.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20150%20150'%20style='enable-background:new%200%200%20150%20150;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%232A3238;}%20%3c/style%3e%3cg%3e%3cpath%20class='st0'%20d='M118.9,40.3L81.7,18.2c-2.2-1.3-4.7-2-7.2-2s-5,0.7-7.2,2L30.1,40.3c-4.4,2.6-7.2,7.5-7.2,12.8v44.2%20c0,5.3,2.7,10.1,7.2,12.8l37.2,22.1c2.2,1.3,4.7,2,7.2,2c2.5,0,5-0.7,7.2-2l37.2-22.1c4.4-2.6,7.2-7.5,7.2-12.8V53%20C126.1,47.8,123.4,42.9,118.9,40.3z%20M90.1,109.3l0.1,3.2c0,0.4-0.2,0.8-0.5,1l-1.9,1.1c-0.3,0.2-0.5,0-0.6-0.4l0-3.1%20c-1.6,0.7-3.2,0.8-4.3,0.4c-0.2-0.1-0.3-0.4-0.2-0.7l0.7-2.9c0.1-0.2,0.2-0.5,0.3-0.6c0.1-0.1,0.1-0.1,0.2-0.1%20c0.1-0.1,0.2-0.1,0.3,0c1.1,0.4,2.6,0.2,3.9-0.5c1.8-0.9,2.9-2.7,2.9-4.5c0-1.6-0.9-2.3-3-2.3c-2.7,0-5.2-0.5-5.3-4.5%20c0-3.3,1.7-6.7,4.4-8.8l0-3.2c0-0.4,0.2-0.8,0.5-1l1.8-1.2c0.3-0.2,0.5,0,0.6,0.4l0,3.2c1.3-0.5,2.5-0.7,3.6-0.4%20c0.2,0.1,0.3,0.4,0.2,0.7l-0.7,2.8c-0.1,0.2-0.2,0.4-0.3,0.6c-0.1,0.1-0.1,0.1-0.2,0.1c-0.1,0-0.2,0.1-0.3,0%20c-0.5-0.1-1.6-0.4-3.4,0.6c-1.9,1-2.6,2.6-2.5,3.8c0,1.5,0.8,1.9,3.3,1.9c3.4,0.1,4.9,1.6,5,5C94.7,103.4,92.9,107,90.1,109.3z%20M109.6,103.9c0,0.3,0,0.6-0.3,0.7l-9.4,5.7c-0.2,0.1-0.4,0-0.4-0.3v-2.4c0-0.3,0.2-0.5,0.4-0.6l9.3-5.5c0.2-0.1,0.4,0,0.4,0.3%20V103.9z%20M116.1,49.6L80.9,71.3c-4.4,2.6-7.6,5.4-7.6,10.7v43.4c0,3.2,1.3,5.2,3.2,5.8c-0.6,0.1-1.3,0.2-2,0.2%20c-2.1,0-4.1-0.6-5.9-1.6l-37.2-22.1c-3.6-2.2-5.9-6.2-5.9-10.5V53c0-4.3,2.3-8.4,5.9-10.5l37.2-22.1c1.8-1.1,3.8-1.6,5.9-1.6%20s4.1,0.6,5.9,1.6l37.2,22.1c3.1,1.8,5.1,5,5.7,8.5C122.1,48.4,119.3,47.7,116.1,49.6z'/%3e%3c/g%3e%3c/svg%3e`},claude:{color:`data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eClaude%3c/title%3e%3cpath%20d='M4.709%2015.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0%2011.784l.055-.352.48-.321.686.06%201.52.103%202.278.158%201.652.097%202.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686%201.908%201.476%202.491%201.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97%202.97%200%2001-.104-.729L6.283.134%206.696%200l.996.134.42.364.62%201.414%201.002%202.229%201.555%203.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286%201.851-.559%202.903-.364%201.942h.212l.243-.242.985-1.306%201.652-2.064.73-.82.85-.904.547-.431h1.033l.76%201.129-.34%201.166-1.064%201.347-.881%201.142-1.264%201.7-.79%201.36.073.11.188-.02%202.856-.606%201.543-.28%201.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061%201.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093%201.068%202.006%201.81%202.509%202.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649%202.345%203.521.122%201.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674%207.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434%201.967-2.18%202.945-1.726%201.845-.414.164-.717-.37.067-.662.401-.589%202.388-3.036%201.44-1.882.93-1.086-.006-.158h-.055L4.132%2018.56l-1.13.146-.487-.456.061-.746.231-.243%201.908-1.312-.006.006z'%20fill='%23D97757'%20fill-rule='nonzero'%3e%3c/path%3e%3c/svg%3e`,monochrome:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='currentColor'%3e%3cpath%20d='M7.09001%2014.3L7.29001%2013.43L7.51001%2012.31L7.69001%2011.41L7.86001%2010.3L7.96001%209.93998V9.90998L7.88001%209.91998L7.04001%2011.07L5.77001%2012.79L4.76001%2013.85L4.52001%2013.95L4.10001%2013.74L4.14001%2013.35L4.38001%2013.01L5.77001%2011.23L6.61001%2010.12L7.16001%209.48998V9.40998H7.12001L3.42001%2011.82L2.76001%2011.9L2.47001%2011.63L2.51001%2011.2L2.65001%2011.06L3.76001%2010.29L6.52001%208.74998L6.56001%208.60998L6.52001%208.53998H6.38001L5.92001%208.50998L4.35001%208.46998L2.99001%208.40998L1.66001%208.33998L1.32001%208.26998L1.01001%207.84998L1.04001%207.63998L1.32001%207.45998L1.73001%207.48998L2.61001%207.55998L3.94001%207.63998L4.91001%207.69998L6.34001%207.84998H6.56001L6.59001%207.74998L6.52001%207.68998L6.46001%207.62998L5.07001%206.70998L3.59001%205.72998L2.81001%205.15998L2.39001%204.86998L2.18001%204.59998L2.10001%204.00998L2.48001%203.58998L3.00001%203.62998L3.13001%203.65998L3.65001%204.06998L4.76001%204.91998L6.22001%205.99998L6.43001%206.16998L6.53001%206.10998V6.06998L6.43001%205.91998L5.65001%204.48998L4.81001%203.02998L4.43001%202.42998L4.33001%202.06998C4.29001%201.93998%204.27001%201.79998%204.27001%201.64998L4.70001%201.05998L4.94001%200.97998L5.53001%201.05998L5.77001%201.26998L6.13001%202.09998L6.70001%203.39998L7.61001%205.15998L7.88001%205.68998L8.02001%206.16998L8.08001%206.31998H8.18001V6.23998L8.25001%205.22998L8.39001%204.00998L8.53001%202.43998L8.57001%201.98998L8.79001%201.45998L9.22001%201.17998L9.56001%201.32998L9.84001%201.73998L9.80001%201.98998L9.65001%203.06998L9.31001%204.75998L9.10001%205.90998H9.23001L9.37001%205.75998L9.94001%204.99998L10.91%203.79998L11.33%203.31998L11.83%202.78998L12.15%202.53998H12.75L13.18%203.19998L12.98%203.88998L12.36%204.66998L11.84%205.32998L11.1%206.31998L10.65%207.11998L10.69%207.17998H10.79L12.46%206.81998L13.37%206.66998L14.43%206.48998L14.92%206.70998L14.98%206.92998L14.78%207.40998L13.63%207.68998L12.29%207.95998L10.29%208.43998H10.26L10.29%208.49998L11.19%208.57998L11.58%208.60998H12.53L14.29%208.73998L14.75%209.04998L15.02%209.40998L14.98%209.69998L14.27%2010.05L13.32%209.82998L11.08%209.29998L10.32%209.11998H10.21V9.17998L10.85%209.80998L12.01%2010.86L13.48%2012.22L13.55%2012.56L13.37%2012.84L13.17%2012.81L11.88%2011.83L11.38%2011.4L10.26%2010.46H10.19V10.56L10.44%2010.94L11.81%2013L11.88%2013.63L11.78%2013.83L11.42%2013.96L11.04%2013.89L10.23%2012.77L9.40001%2011.5L8.73001%2010.37L8.66001%2010.43L8.25001%2014.66L8.07001%2014.87L7.65001%2015.04L7.30001%2014.77L7.10001%2014.34L7.09001%2014.3Z'/%3e%3c/svg%3e`},"claude-code":{color:`data:image/svg+xml,%3csvg%20viewBox='0%200%20600%20600'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='%23D97757'%20fill-rule='evenodd'%20d='M525%20273.7h75v77.6h-75V427h-37.2v73H450v-73h-37.2v73H375v-73H225v73h-37.8v-73H150v73h-37.8v-73H75v-75.7H0v-77.6h75V125h450zm-375%200h37.2v-71.1H150zm262.8%200H450v-71.1h-37.2z'%20clip-rule='evenodd'%20/%3e%3c/svg%3e`,monochrome:`data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eClaude%20Code%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M20.998%2010.949H24v3.102h-3v3.028h-1.487V20H18v-2.921h-1.487V20H15v-2.921H9V20H7.488v-2.921H6V20H4.487v-2.921H3V14.05H0V10.95h3V5h17.998v5.949zM6%2010.949h1.488V8.102H6v2.847zm10.51%200H18V8.102h-1.49v2.847z'%3e%3c/path%3e%3c/svg%3e`},opencode:{dark:`data:image/svg+xml,%3csvg%20width='240'%20height='300'%20viewBox='0%200%20240%20300'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1401_86283)'%3e%3cmask%20id='mask0_1401_86283'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='240'%20height='300'%3e%3cpath%20d='M240%200H0V300H240V0Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1401_86283)'%3e%3cpath%20d='M180%20240H60V120H180V240Z'%20fill='%234B4646'/%3e%3cpath%20d='M180%2060H60V240H180V60ZM240%20300H0V0H240V300Z'%20fill='%23F1ECEC'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1401_86283'%3e%3crect%20width='240'%20height='300'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e`,monochrome:`data:image/svg+xml,%3csvg%20viewBox='0%200%20240%20300'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M180%20240H60V120H180V240Z'%20fill='%23CFCECD'%20/%3e%3cpath%20d='M180%2060H60V240H180V60ZM240%20300H0V0H240V300Z'%20fill='%23211E1E'%20/%3e%3c/svg%3e`},qoder:{color:`/farming/assets/qoder-Cf9gl0Y5.svg`,dark:`/farming/assets/qoder-gHCinseV.svg`,monochrome:`/farming/assets/qoder-C9LmmOSf.svg`},zsh:{color:`/farming/assets/zsh-FxSpMPbz.svg`,dark:`/farming/assets/zsh-CLpveKlF.svg`,monochrome:`data:image/svg+xml,%3csvg%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eZsh%3c/title%3e%3cpath%20d='M3.612.719A3.621%203.621%200%200%200%200%204.331v15.328a3.627%203.627%200%200%200%203.616%203.612h8.242a.529.529%200%200%200%20.228-.042.607.607%200%200%200-.232-1.169H3.612a2.393%202.393%200%200%201-2.393-2.4V6.113h21.566v12.839a.134.134%200%200%201-.12.074h-.743a.158.158%200%200%201-.09-.043.134.134%200%200%201-.04-.095v-2.23c-.004-.001-.004-.003-.004-.006v-.007a.602.602%200%201%200-1.202%200v6.032l.004.001v.002a.6.6%200%200%200%201.202%200v.002V20.297a.116.116%200%200%201%20.036-.095.134.134%200%200%201%20.094-.04h.744a.12.12%200%200%201%20.099.036c.01.01.018.022.024.035v2.434a.042.042%200%200%200%20.002.023.6.6%200%200%200%20.14.38.601.601%200%200%200%20.46.213h.01a.592.592%200%200%200%20.547-.368l.004-.011a.445.445%200%200%200%20.023-.074.608.608%200%200%200%20.025-.162V4.326A3.615%203.615%200%200%200%2020.392.715H3.616Zm0%201.215h16.776a2.383%202.383%200%200%201%202.401%202.393V4.9H1.215v-.57a2.388%202.388%200%200%201%202.397-2.396ZM6.36%207.28a.213.213%200%200%200-.145.076l-3.964%204.72a.213.213%200%201%200%20.327.275l3.964-4.72a.213.213%200%200%200-.182-.35Zm-2.94.12c-.632%200-1.151.52-1.151%201.151%200%20.632.52%201.152%201.151%201.152.632%200%201.152-.52%201.152-1.152%200-.632-.52-1.151-1.152-1.151Zm0%20.667a.48.48%200%200%201%20.485.484.48.48%200%200%201-.485.485.48.48%200%200%201-.484-.485.48.48%200%200%201%20.484-.484Zm1.94%201.939c-.632%200-1.152.52-1.152%201.152%200%20.632.52%201.15%201.152%201.15.632%200%201.151-.518%201.151-1.15%200-.633-.52-1.152-1.151-1.152Zm0%20.667a.48.48%200%200%201%20.485.485.48.48%200%200%201-.485.484.48.48%200%200%201-.485-.484.48.48%200%200%201%20.485-.485Zm2.658%201.21a.214.214%200%200%200-.081.41c.026.01.053.016.081.016h2.831a.327.327%200%200%200%20.086-.02.215.215%200%200%200%20.131-.198.213.213%200%200%200-.213-.213h-2.83Zm5.77%204.159a.61.61%200%200%200-.61.61v-.004.004a.61.61%200%200%200%20.61.61l.028-.002h1.123a.052.052%200%200%201%20.04.005.077.077%200%200%201%20.04.058.076.076%200%200%201-.006.037l-1.783%204.453a.67.67%200%200%200-.048.249v.55a.65.65%200%200%200%20.192.474.67.67%200%200%200%20.474.196h2.09a.718.718%200%200%200%20.243-.051.623.623%200%200%200%20.386-.578v.004-.004a.626.626%200%200%200-.625-.626l-.014.001h-1.406a.05.05%200%200%201-.038-.005.074.074%200%200%201-.038-.056.072.072%200%200%201%20.005-.034l2.056-5.127a.555.555%200%200%200-.516-.762h-2.167a.07.07%200%200%200-.033-.006Zm4.915.03c-.286%200-.613.027-.81.082a.946.946%200%200%200-.466.267%201.174%201.174%200%200%200-.247.525c-.05.215-.076.488-.076.82%200%20.318.003.576.01.772.008.16.026.32.056.479a.93.93%200%200%200%20.124.294c.055.078.119.15.19.212.1.087.208.165.324.23.127.074.257.144.39.212.133.067.26.138.38.211.114.064.22.142.315.23.037.041.072.084.104.13a.294.294%200%200%201%20.053.091.651.651%200%200%201%20.042.24c.007.073.01.175.01.303a3.77%203.77%200%200%201-.029.525.745.745%200%200%201-.076.285.261.261%200%200%201-.152.12%202.324%202.324%200%200%201-.378.028.83.83%200%200%201-.228-.028.315.315%200%200%201-.143-.129%201.072%201.072%200%200%201-.076-.276%204.459%204.459%200%200%201-.02-.46c0-.016%200-.034-.002-.05h-.004a.54.54%200%200%200-.176-.311.517.517%200%200%200-.847.315h-.003c.002.014.002.033.002.052v.023l.003.284c0%20.362.026.656.076.883.057.221.146.396.267.525a.916.916%200%200%200%20.457.248c.22.054.448.078.675.074.305%200%20.698-.027.901-.083a.897.897%200%200%200%20.486-.313c.127-.153.215-.365.266-.635.057-.276.086-.628.086-1.058%200-.313-.01-.565-.029-.755a1.65%201.65%200%200%200-.085-.47.763.763%200%200%200-.181-.294%201.5%201.5%200%200%200-.276-.22%202.733%202.733%200%200%200-.286-.157%204.382%204.382%200%200%200-.342-.175%208.27%208.27%200%200%201-.343-.184%202.885%202.885%200%200%201-.276-.193.938.938%200%200%201-.114-.11.398.398%200%200%201-.057-.139%201.452%201.452%200%200%201-.029-.211v-.346a2.59%202.59%200%200%201%20.015-.396.633.633%200%200%201%20.067-.23.23.23%200%200%201%20.143-.101c.057-.019.216-.028.305-.028.203%200%20.33.058.38.175.04.074.063.155.066.24.003.066.004.153.004.245h.003c.004-.003.004-.002.004%200a.512.512%200%200%200%20.516.512.516.516%200%200%200%20.515-.512v-.004c-.004-.099-.004-.19-.004-.242a3.184%203.184%200%200%200-.067-.709.896.896%200%200%200-.228-.469.869.869%200%200%200-.457-.258%202.693%202.693%200%200%200-.733-.082Z'/%3e%3c/svg%3e`}},g=e();function ee({name:e,variant:t=`color`,className:n=``,...r}){let i=e.toLowerCase(),a=[`agent-launch-icon`,`agent-launch-icon-${i}`,`agent-launch-icon-${t}`,n].filter(Boolean).join(` `);if(i===`codex`)return(0,g.jsx)(`svg`,{className:a,width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`currentColor`,"aria-hidden":`true`,focusable:`false`,...r,children:(0,g.jsx)(`path`,{d:`M13.67 6.1C13.98 5.21 13.91 4.23 13.44 3.42C12.58 1.93 10.72 1.4 9.19996 2.14C8.58996 1.43 7.70996 1 6.75996 1C5.03996 1 3.63996 2.35 3.52996 4.04C2.60996 4.22 1.79996 4.77 1.31996 5.59C0.459957 7.08 0.929957 8.96 2.33996 9.9C2.02996 10.79 2.09996 11.77 2.56996 12.58C3.16996 13.62 4.26996 14.2 5.38996 14.2C5.86996 14.2 6.35996 14.08 6.81996 13.86C7.42996 14.57 8.30996 14.99 9.25996 14.99C10.98 14.99 12.38 13.64 12.49 11.95C13.41 11.77 14.22 11.22 14.7 10.4C15.56 8.91 15.09 7.03 13.68 6.09L13.67 6.1ZM12.57 3.92C12.86 4.43 12.93 5.02 12.8 5.58L10.25 4.11C10.1 4.02 9.89996 4.02 9.74996 4.11L6.49996 5.99V4.84L9.49996 3.11C10.57 2.49 11.95 2.86 12.57 3.93V3.92ZM9.49996 8.87L7.99996 9.74L6.49996 8.87V7.14L7.99996 6.27L9.49996 7.14V8.87ZM4.49996 4.25C4.49996 3.01 5.50996 2 6.74996 2C7.32996 2 7.87996 2.23 8.29996 2.63L5.74996 4.1C5.59996 4.19 5.49996 4.35 5.49996 4.53V8.28L4.49996 7.7V4.24V4.25ZM2.17996 6.08C2.46996 5.57 2.94996 5.22 3.49996 5.05V7.99C3.49996 8.17 3.59996 8.33 3.74996 8.42L6.99996 10.3L5.99996 10.88L2.99996 9.15C1.92996 8.53 1.55996 7.15 2.17996 6.08ZM3.42996 12.08C3.13996 11.57 3.06996 10.98 3.19996 10.42L5.74996 11.89C5.82996 11.93 5.90996 11.96 5.99996 11.96C6.08996 11.96 6.16996 11.94 6.24996 11.89L9.49996 10.01V11.16L6.49996 12.89C5.42996 13.51 4.04996 13.14 3.42996 12.07V12.08ZM11.5 11.75C11.5 12.99 10.49 14 9.24996 14C8.66996 14 8.11996 13.77 7.69996 13.37L10.25 11.9C10.4 11.81 10.5 11.65 10.5 11.47V7.72L11.5 8.3V11.76V11.75ZM13.82 9.92C13.53 10.43 13.05 10.78 12.5 10.95V8.01C12.5 7.83 12.4 7.67 12.25 7.58L8.99996 5.7L9.99996 5.12L13 6.85C14.07 7.47 14.44 8.85 13.82 9.92Z`})});if(i===`opencode`)return(0,g.jsxs)(`svg`,{className:a,width:`16`,height:`20`,viewBox:`0 0 240 300`,fill:`none`,"aria-hidden":`true`,focusable:`false`,...r,children:[(0,g.jsx)(`image`,{className:`agent-launch-icon-theme-light`,href:h.opencode.monochrome,width:`240`,height:`300`}),(0,g.jsx)(`image`,{className:`agent-launch-icon-theme-dark`,href:h.opencode.dark,width:`240`,height:`300`})]});if(i===`qoder`){let e=t===`monochrome`;return(0,g.jsx)(`svg`,{className:a,width:`16`,height:`16`,viewBox:`0 0 24 24`,"aria-hidden":`true`,focusable:`false`,...r,children:e?(0,g.jsx)(`image`,{href:h.qoder.monochrome,width:`24`,height:`24`}):(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(`image`,{className:`agent-launch-icon-theme-light`,href:h.qoder.color,width:`24`,height:`24`}),(0,g.jsx)(`image`,{className:`agent-launch-icon-theme-dark`,href:h.qoder.dark,width:`24`,height:`24`})]})})}if(i===`claude`){let e=h[`claude-code`][t];return(0,g.jsx)(`svg`,{className:a,width:`16`,height:`16`,viewBox:`0 0 24 24`,"aria-hidden":`true`,focusable:`false`,...r,children:(0,g.jsx)(`image`,{href:e,width:`24`,height:`24`})})}if(i===`bash`){let e=h.bash[t];return(0,g.jsx)(`svg`,{className:a,width:`16`,height:`16`,viewBox:`15 10 120 130`,fill:`none`,"aria-hidden":`true`,focusable:`false`,...r,children:(0,g.jsx)(`image`,{href:e,width:`150`,height:`150`})})}if(i===`zsh`){let e=t===`monochrome`,n=t===`color`?`215 220 400 400`:`0 0 24 24`,i=t===`color`?816:24;return(0,g.jsx)(`svg`,{className:a,width:`16`,height:`16`,viewBox:n,fill:`none`,"aria-hidden":`true`,focusable:`false`,...r,children:e?(0,g.jsx)(`image`,{href:h.zsh.monochrome,width:i,height:i}):(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(`image`,{className:`agent-launch-icon-theme-light`,href:h.zsh.color,width:i,height:i}),(0,g.jsx)(`image`,{className:`agent-launch-icon-theme-dark`,href:h.zsh.dark,width:i,height:i})]})})}return null}function _(e,t){return t===e||t.startsWith(`${e}/`)}function te(e){let t=e.replace(/\/+$/,``),n=t.lastIndexOf(`/`);return n===-1?``:t.slice(0,n)}function ne(e){let t=e.split(`/`).filter(Boolean),n=[];for(let e=1;e<t.length;e+=1)n.push(t.slice(0,e).join(`/`));return n}function v(e){return Math.max(0,e.split(`/`).filter(Boolean).length-1)}function y(e,t){for(let n of e){if(n.path===t||n.compactedPaths?.includes(t))return n;let e=y(n.children??[],t);if(e)return e}return null}function b(e,t){for(let n of e){if(n.path===t||n.compactedPaths?.includes(t))return n.path;let e=b(n.children??[],t);if(e)return e}return null}function x(e,t){for(let n of e){if(n.type!==`directory`)continue;let e=n.compactedPaths??[n.path];if(_(n.path,t)||e.some(e=>e===t||_(e,t)))return[n.path,...x(n.children??[],t)]}return[]}function re(e,t,n=!1){let r=x(e,t);if(n){let n=b(e,t)??t;n&&r.push(n)}return Array.from(new Set(r.filter(Boolean)))}function S(e,t){return e.reduce((e,n)=>n.type!==`directory`||!t.has(n.path)?e+1:e+1+S(n.children??[],t),0)}function C(e,t){return e.map(e=>{if(e.type!==`directory`)return{...e,id:e.path};let n=e,r=[e.name],i=[e.path],a=t[e.path]?.items;for(;!n.symbolicLink&&a?.length===1&&a[0]?.type===`directory`&&!a[0]?.symbolicLink;){let e=a[0];n=e,r.push(e.name),i.push(e.path),a=t[e.path]?.items}let o=i.some(e=>t[e]?.loading);return{...n,id:n.path,displayName:r.join(`/`),compactedPaths:i,iconPath:i[0]??n.path,loading:o,children:C(a??[],t)}})}function ie(e,t){return e===t.sourcePath?t.targetPath:e.startsWith(`${t.sourcePath}/`)?`${t.targetPath}${e.slice(t.sourcePath.length)}`:null}function ae(e,t){for(let n of t){let t=ie(e,n);if(t)return t}return null}function oe(e,t){return _(t,e)}function se(e){return[e.sourceDirectory,e.targetDirectory]}function ce(e){return[e.parentDirectory]}function le(e){return e.targetPath}function ue(e){return e.parentDirectory||null}function w(e,t,n){if(e.agentId!==t)return e;let r=ae(e.file.path,n);return r?{...e,file:{...e.file,path:r},externalChanged:!1,error:null}:e}function de(e,t,n){return e.map(e=>w(e,t,n))}function fe(e,t,r){let i=new Map;for(let a of e){let e=w(a,t,r);i.set(n(e.agentId,e.file.path,e.workspaceRoot),e)}return i}function T(e,t,n){return e.agentId===t&&n.some(t=>oe(e.file.path,t.path))}function pe(e,t,n){return e.filter(e=>!T(e,t,n))}function me(e,t,r){let i=new Map;for(let a of e)T(a,t,r)||i.set(n(a.agentId,a.file.path,a.workspaceRoot),a);return i}function E(e){return`lineNumber`in e&&`requestId`in e?{cursor:e}:e}var he=32;function ge(e,t){let n=L(t);for(e.delete(n),e.set(n,{...t,saving:!1});e.size>he;){let t=e.keys().next().value;if(typeof t!=`string`)break;e.delete(t)}}function _e(e,t){if(e?.lineNumber)return{lineNumber:e.lineNumber,column:e.column,endColumn:e.endColumn,requestId:t}}function D(e,t){return e?.view===`diff`?t:void 0}function O(e){return e?.diffOnly===!0?!0:void 0}function k(e,t){return{cursor:_e(e,t.cursorRequestId),diffRequestId:D(e,t.diffRequestId),diffOnly:O(e),transient:e?.transient}}function A(e,t){return{path:e,content:``,size:0,mtimeMs:0,sha1:`deleted:${e}`,gitStatus:`deleted`,gitStatusLabel:t.gitStatusLabel||`D`}}function j(e){return e?.view===`diff`&&e.diffOnly===!0&&e.gitStatus===`deleted`}function M(e){return e?.revealInTree!==!1&&e?.gitStatus!==`deleted`}function N(e){return{view:e.gitStatus===`untracked`?`editor`:`diff`,diffOnly:e.gitStatus===`deleted`,revealInTree:!1,gitStatus:e.gitStatus,gitStatusLabel:e.gitStatusLabel}}function P(e){return e.previousPath?`${e.previousPath} -> ${e.path}`:e.path}function F(e){return`${e.gitStatus}:${e.previousPath||``}:${e.path}`}function I(e,t){return`${P(e)} · ${t}`}function ve(e,t){let n=new Map;return t&&e.forEach(e=>{e.agentId===t&&n.set(e.path,!!(e.dirty||e.externalChanged))}),n}function ye(e,t){for(let[n,r]of e)if(r===!0&&t.get(n)===!1)return!0;return!1}function L(e){return n(e.agentId,e.file.path,e.workspaceRoot)}function R(e){return n(e.agentId,e.filePath,e.workspaceRoot)}function be(e,t,r,i){return L(e)===n(t,r,i)}function z(e,t,n,r){return e.find(e=>be(e,t,n,r))??null}function B(e,t){let n=e.findIndex(e=>L(e)===L(t));if(n===-1)return[...e,t];let r=[...e];return r[n]=t,r}function V(e,t){if(!e.dirty)return{...e,file:t,draft:t.content,dirty:!1,externalChanged:!1,saving:!1,error:null};let n=e.draft!==t.content;return{...e,file:t,draft:e.draft,dirty:n,externalChanged:n&&(e.externalChanged||e.file.sha1!==t.sha1),saving:!1,error:null}}function xe(e,t,n={}){let r=E(n);return{agentId:e,sourceAgentId:r.sourceAgentId,workspaceRoot:r.workspaceRoot,file:t,draft:t.content,dirty:!1,externalChanged:!1,saving:!1,error:null,cursor:r.cursor,diffRequestId:r.diffRequestId,diffOnly:r.diffOnly,transient:r.transient}}function Se(e,r,i,a={}){let o=E(a),s=new Map(e.closedFileCache),c=n(r,i.path,o.workspaceRoot),l=s.get(c),u=z(e.files,r,i.path,o.workspaceRoot),d=!u&&l&&l.draft!==i.content?V(l,i):null;l&&!d&&s.delete(c);let f=u?V(u,i):d??xe(r,i),p=!!(o.transient??f.transient)&&t(f),m={...f,agentId:r,sourceAgentId:o.sourceAgentId??f.sourceAgentId,workspaceRoot:o.workspaceRoot??f.workspaceRoot,file:f.file,cursor:o.cursor,diffRequestId:o.diffRequestId,diffOnly:o.diffOnly===!0,transient:p};return{activeFile:m,files:B(m.transient?e.files.filter(e=>L(e)===L(m)||!e.transient||!t(e)):e.files,m),closedFileCache:s}}function Ce(e,t,n,r={}){let i=E(r),a=z(e.files,t,n,i.workspaceRoot);if(!a)return null;let o=!!(i.cursor||i.diffRequestId||i.diffOnly!==void 0||a.diffRequestId),s=o?{...a,sourceAgentId:i.sourceAgentId??a.sourceAgentId,cursor:i.cursor??a.cursor,diffRequestId:i.diffRequestId,diffOnly:i.diffOnly??a.diffOnly,transient:i.transient??a.transient}:a;return{activeFile:s,files:o?B(e.files,s):e.files,closedFileCache:e.closedFileCache}}function we(e,t){let n=new Set(t.map(R));if(n.size===0)return{...e,closedFiles:[],activeFileClosed:!1};let r=e.files.filter(e=>n.has(L(e)));if(r.length===0)return{...e,closedFiles:[],activeFileClosed:!1};let i=new Map(e.closedFileCache);r.forEach(e=>{ge(i,e)});let a=e.files.filter(e=>!n.has(L(e)));if(!(e.activeFile&&n.has(L(e.activeFile)))||!e.activeFile)return{activeFile:e.activeFile,files:a,closedFileCache:i,closedFiles:r,activeFileClosed:!1};let o=e.files.findIndex(t=>e.activeFile&&L(t)===L(e.activeFile));return{activeFile:[...e.files.slice(0,o)].reverse().find(e=>!n.has(L(e)))??e.files.slice(o+1).find(e=>!n.has(L(e)))??null,files:a,closedFileCache:i,closedFiles:r,activeFileClosed:!0}}function Te(e,t={}){if(e.closedFileCache.size===0)return null;let n=new Map(e.closedFileCache),r=Array.from(n.entries()).reverse();for(let[i,a]of r){if(n.delete(i),t.canReopen&&!t.canReopen(a)||z(e.files,a.agentId,a.file.path,a.workspaceRoot))continue;let r={...a,saving:!1};return{activeFile:r,files:B(e.files,r),closedFileCache:n}}return null}function Ee(e,n){let r=new Map(e.closedFileCache);return t(n)&&r.delete(L(n)),{activeFile:n,files:B(e.files,n),closedFileCache:r}}function De(e,t){return{...e,draft:t,dirty:t!==e.file.content,error:null,transient:!1}}function Oe(e,t,n){return n.length===0?e:{activeFile:e.activeFile?w(e.activeFile,t,n):e.activeFile,files:de(e.files,t,n),closedFileCache:fe(e.closedFileCache.values(),t,n)}}function ke(e,t,n){if(n.length===0)return{...e,activeFileDeleted:!1};let r=pe(e.files,t,n),i=!!(e.activeFile&&T(e.activeFile,t,n));return{activeFile:i?r[0]??null:e.activeFile,files:r,closedFileCache:me(e.closedFileCache.values(),t,n),activeFileDeleted:i}}var Ae=[`ftarget`,`agent`,`project`,`folder`,`file`,`path`,`view`,`line`,`column`,`endColumn`];function H(e){let t=String(e||``).trim().replace(/\\/g,`/`).replace(/\/+/g,`/`);return/^[a-zA-Z]:\//.test(t)?`${t.charAt(0).toUpperCase()}${t.slice(1)}`.replace(/\/$/,``):t===`/`?`/`:t.replace(/\/$/,``)}function je(e,t){let n=H(e),r=H(t),i=/^[a-zA-Z]:\//.test(r),a=i?n.toLowerCase():n,o=i?r.toLowerCase():r;return a===o?``:a.startsWith(`${o}/`)?n.slice(r.length+1):null}function Me(e,t){let n=H(e),r=H(t).replace(/^\/+/,``);return!n||!r?n||H(t):n===`/`?`/${r}`:`${n}/${r}`}function U(e){return H(e).split(`/`).filter(Boolean).pop()||`/`}function Ne(e,t,n){let r=e.kind===`file`?e.filePath:e.folderPath,i=H(e.absolutePath||``);if(i){let e=t.map(e=>({...e,relativePath:je(i,e.workspace)})).filter(e=>e.relativePath!==null).sort((e,t)=>H(t.workspace).length-H(e.workspace).length)[0];return e?{agentId:e.agentId,filePath:e.relativePath,globalRoot:!1}:{agentId:n,filePath:i.replace(/^\/+/,``),globalRoot:!0}}let a=e.agentId?t.find(t=>t.agentId===e.agentId):null,o=e.projectLabel?t.find(t=>U(t.workspace)===e.projectLabel):null,s=a||o;return s?{agentId:s.agentId,filePath:r,globalRoot:!1}:null}function Pe(e){let t=new URLSearchParams(e.startsWith(`?`)?e.slice(1):e);Ae.forEach(e=>t.delete(e));let n=t.toString();return n?`?${n}`:``}function W(e){if(!e)return;let t=Number(e);return Number.isInteger(t)&&t>0?t:void 0}function Fe(e){return e?e.kind===`agent`?`agent:${e.agentId}`:e.kind===`folder`?`folder:${e.absolutePath||`${e.agentId||``}:${e.folderPath}`}`:[`file`,e.absolutePath||`${e.agentId||``}:${e.filePath}`,e.view||`editor`,e.lineNumber||``,e.column||``,e.endColumn||``].join(`:`):``}function Ie(e){let t=new URLSearchParams(e.startsWith(`?`)?e.slice(1):e),n=t.get(`ftarget`),r=t.get(`agent`)||``;if(n===`agent`)return r?{kind:n,agentId:r}:null;if(n===`folder`){let e=t.get(`folder`)||``,i=t.get(`path`)||``,a=t.get(`project`)||``;return!i&&(!e||!r&&!a)?null:{kind:n,...r?{agentId:r}:{},folderPath:e,...i?{absolutePath:i}:{},...a?{projectLabel:a}:{}}}if(n===`file`){let e=t.get(`file`)||``,i=t.get(`path`)||``,a=t.get(`project`)||``;return!i&&(!e||!r&&!a)?null:{kind:n,...r?{agentId:r}:{},filePath:e,...i?{absolutePath:i}:{},...a?{projectLabel:a}:{},view:t.get(`view`)===`diff`?`diff`:`editor`,lineNumber:W(t.get(`line`)),column:W(t.get(`column`)),endColumn:W(t.get(`endColumn`))}}return null}function Le(e){if(e.kind===`file`)return{view:e.view,lineNumber:e.lineNumber,column:e.column,endColumn:e.endColumn}}function Re(e){let t=e.filter(e=>e.type===`file`);return t.find(e=>e.name.toLowerCase()===`readme.md`)?.path??t.find(e=>e.name.toLowerCase().endsWith(`.md`))?.path??t[0]?.path??``}async function G(){try{if(navigator.clipboard?.readText)return await navigator.clipboard.readText()}catch{return``}return``}async function K(e){if(!e)return!1;try{if(navigator.clipboard?.writeText)return await navigator.clipboard.writeText(e),!0}catch{}let t=document.activeElement instanceof HTMLElement?document.activeElement:null,n=document.getSelection(),r=n?Array.from({length:n.rangeCount},(e,t)=>n.getRangeAt(t)):[],i=document.createElement(`textarea`);i.value=e,i.setAttribute(`readonly`,`true`),i.setAttribute(`autocomplete`,`off`),i.setAttribute(`autocorrect`,`off`),i.setAttribute(`autocapitalize`,`none`),i.setAttribute(`spellcheck`,`false`),i.setAttribute(`data-lpignore`,`true`),i.setAttribute(`data-1p-ignore`,`true`),i.setAttribute(`data-bwignore`,`true`),i.setAttribute(`data-form-type`,`other`),i.style.position=`fixed`,i.style.left=`-9999px`,i.style.top=`0`,document.body.appendChild(i),i.focus(),i.select();try{if(document.execCommand(`copy`))return!0}catch{}finally{i.remove(),n&&(n.removeAllRanges(),r.forEach(e=>n.addRange(e))),t?.focus()}try{return await navigator.clipboard?.writeText(e),!0}catch{}return!1}function ze(){return{readText(e){return e===`c`?G():``},writeText(e,t){return e===`c`?K(t).then(()=>void 0):void 0}}}var q=`farming.code.workspaceViewState.v1`,Be=336*60*60*1e3,Ve=40,He=120;function J(e){return e===`projects`||e===`search`||e===`history`}function Y(e){return typeof e==`string`&&e.trim()?e:null}function Ue(e){if(!Array.isArray(e))return;let t=[],n=new Set;for(let r of e){let e=Y(r);if(!(!e||n.has(e))&&(n.add(e),t.push(e),t.length>=30))break}return t}function We(e){if(!(typeof e!=`number`||!Number.isFinite(e)))return Math.max(0,Math.round(e))}function X(e){if(!(typeof e!=`number`||!Number.isFinite(e)))return Math.max(1,Math.round(e))}function Ge(e){if(!e||typeof e!=`object`)return;let t=e;if(t.kind===`agent`){let e=Y(t.agentId)||void 0,n=Y(t.providerSessionKey)||void 0,r=Y(t.workspace)||void 0;return!e&&!n&&!r?void 0:{kind:`agent`,agentId:e,providerSessionKey:n,workspace:r}}if(t.kind!==`file`)return;let n=Y(t.workspace),r=Y(t.filePath);if(!(!n||!r))return{kind:`file`,workspace:n,filePath:r,view:t.view===`diff`?`diff`:`editor`,lineNumber:X(t.lineNumber),column:X(t.column),endColumn:X(t.endColumn),sourceAgentId:Y(t.sourceAgentId)||void 0}}function Ke(e){if(!e||typeof e!=`object`)return;let t={};return Object.entries(e).slice(-Ve).forEach(([e,n])=>{if(!e.trim()||!n||typeof n!=`object`)return;let r=n,i=Array.isArray(r.openDirectoryPaths)?Array.from(new Set(r.openDirectoryPaths.filter(e=>typeof e==`string`&&!!e.trim()).map(e=>e.trim()))).slice(0,He):void 0;t[e]={filesCollapsed:typeof r.filesCollapsed==`boolean`?r.filesCollapsed:void 0,openDirectoryPaths:i}}),Object.keys(t).length>0?t:void 0}function Z(e){if(!e||typeof e!=`object`)return{};let t=e,n=typeof t.updatedAt==`number`&&Number.isFinite(t.updatedAt)?t.updatedAt:void 0;return n&&Date.now()-n>Be?{}:{activeTerminalId:Y(t.activeTerminalId),activeView:J(t.activeView)?t.activeView:void 0,openTerminalIds:Ue(t.openTerminalIds),projectListScrollTop:We(t.projectListScrollTop),surface:Ge(t.surface),projectFiles:Ke(t.projectFiles),updatedAt:n}}function Q(){if(typeof window>`u`)return{};try{return Z(JSON.parse(window.localStorage.getItem(q)||`{}`))}catch{return{}}}function $(e){if(!(typeof window>`u`))try{let t=Z({...Q(),...e,updatedAt:Date.now()});window.localStorage.setItem(q,JSON.stringify(t))}catch{}}function qe(e){return Q().projectFiles?.[e]??{}}function Je(e,t){if(!e.trim())return;let n=Q(),r={...n.projectFiles??{}};delete r[e],r[e]={...n.projectFiles?.[e],...t},$({projectFiles:r})}export{u as $,F as A,se as B,Ce as C,Ee as D,M as E,k as F,b as G,C as H,R as I,te as J,y as K,ue as L,N as M,ve as N,De as O,L as P,m as Q,ce as R,B as S,ye as T,S as U,ne as V,v as W,ee as X,re as Y,d as Z,ke as _,ze as a,Se as b,Pe as c,Re as d,Me as f,we as g,Fe as h,$ as i,I as j,P as k,Ne as l,Ie as m,Q as n,G as o,U as p,_ as q,Je as r,K as s,qe as t,Le as u,A as v,j as w,Te as x,Oe as y,le as z};
@@ -0,0 +1 @@
1
+ import{u as e}from"./editor.api2-B9h6iFPK.js";var t={comments:{blockComment:[`<!--`,`-->`]},brackets:[[`<`,`>`]],autoClosingPairs:[{open:`<`,close:`>`},{open:`'`,close:`'`},{open:`"`,close:`"`}],surroundingPairs:[{open:`<`,close:`>`},{open:`'`,close:`'`},{open:`"`,close:`"`}],onEnterRules:[{beforeText:RegExp(`<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,`i`),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,`i`),action:{indentAction:e.IndentAction.Indent}}]},n={defaultToken:``,tokenPostfix:`.xml`,ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,``],{include:`@whitespace`},[/(<)(@qualifiedName)/,[{token:`delimiter`},{token:`tag`,next:`@tag`}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:`delimiter`},{token:`tag`},``,{token:`delimiter`}]],[/(<\?)(@qualifiedName)/,[{token:`delimiter`},{token:`metatag`,next:`@tag`}]],[/(<\!)(@qualifiedName)/,[{token:`delimiter`},{token:`metatag`,next:`@tag`}]],[/<\!\[CDATA\[/,{token:`delimiter.cdata`,next:`@cdata`}],[/&\w+;/,`string.escape`]],cdata:[[/[^\]]+/,``],[/\]\]>/,{token:`delimiter.cdata`,next:`@pop`}],[/\]/,``]],tag:[[/[ \t\r\n]+/,``],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,[`attribute.name`,``,`attribute.value`]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,[`attribute.name`,``,`attribute.value`]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,[`attribute.name`,``,`attribute.value`]],[/@qualifiedName/,`attribute.name`],[/\?>/,{token:`delimiter`,next:`@pop`}],[/(\/)(>)/,[{token:`tag`},{token:`delimiter`,next:`@pop`}]],[/>/,{token:`delimiter`,next:`@pop`}]],whitespace:[[/[ \t\r\n]+/,``],[/<!--/,{token:`comment`,next:`@comment`}]],comment:[[/[^<\-]+/,`comment.content`],[/-->/,{token:`comment`,next:`@pop`}],[/<!--/,`comment.content.invalid`],[/[<\-]/,`comment.content`]]}};export{t as conf,n as language};
@@ -0,0 +1,7 @@
1
+ import{n as e}from"./chunk-Y2CYZVJY-Di0sYzi1.js";import{m as t}from"./src-WBW1QxJt.js";import{D as n,H as r,K as i,U as a,a as o,b as s,c,f as l,v as u,w as d,y as f,z as p}from"./chunk-WYO6CB5R-C2bGaS5r.js";import{t as m}from"./linear-Dld3_ERu.js";import{t as h}from"./ordinal-BLrOss5K.js";import{t as g}from"./init-BPLPMQ3Y.js";import{i as _}from"./chunk-ICXQ74PX-C0K-pgZt.js";import{t as v}from"./line-CmsjK4kn.js";import{t as y}from"./chunk-VAUOI2AC-B-W2_9Ot.js";import"./chunk-HOUHSVGY-BOgSd6Un.js";import{t as b}from"./chunk-Q4XR5HBZ-D0jHa6SO.js";function x(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,a=Array(i);++r<i;)a[r]=e+r*n;return a}function S(){var e=h().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,a,o,s=!1,c=0,l=0,u=.5;delete e.unknown;function d(){var e=t().length,d=i<r,f=d?i:r,p=d?r:i;a=(p-f)/Math.max(1,e-c+l*2),s&&(a=Math.floor(a)),f+=(p-f-a*(e-c))*u,o=a*(1-c),s&&(f=Math.round(f),o=Math.round(o));var m=x(e).map(function(e){return f+a*e});return n(d?m.reverse():m)}return e.domain=function(e){return arguments.length?(t(e),d()):t()},e.range=function(e){return arguments.length?([r,i]=e,r=+r,i=+i,d()):[r,i]},e.rangeRound=function(e){return[r,i]=e,r=+r,i=+i,s=!0,d()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(e){return arguments.length?(s=!!e,d()):s},e.padding=function(e){return arguments.length?(c=Math.min(1,l=+e),d()):c},e.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),d()):c},e.paddingOuter=function(e){return arguments.length?(l=+e,d()):l},e.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},e.copy=function(){return S(t(),[r,i]).round(s).paddingInner(c).paddingOuter(l).align(u)},g.apply(d(),arguments)}var C=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,10,12,14,16,18,19,21,23],r=[2,6],i=[1,3],a=[1,5],o=[1,6],s=[1,7],c=[1,5,10,12,14,16,18,19,21,23,36,37,38],l=[1,25],u=[1,26],d=[1,28],f=[1,29],p=[1,30],m=[1,31],h=[1,32],g=[1,33],_=[1,34],v=[1,35],y=[1,36],b=[1,37],x=[1,43],S=[1,42],C=[1,47],w=[1,50],T=[1,10,12,14,16,18,19,21,23,36,37,38],E=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],D=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],O=[1,65],k=[26,28],A={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:`error`,5:`XYCHART`,8:`CHART_ORIENTATION`,10:`title`,12:`X_AXIS`,14:`Y_AXIS`,16:`LINE`,18:`BAR`,19:`acc_title`,20:`acc_title_value`,21:`acc_descr`,22:`acc_descr_value`,23:`acc_descr_multiline_value`,24:`SQUARE_BRACES_START`,26:`SQUARE_BRACES_END`,28:`COMMA`,29:`NUMBER_WITH_DECIMAL`,30:`STR`,33:`ARROW_DELIMITER`,36:`NEWLINE`,37:`SEMI`,38:`EOF`,40:`MD_STR`,42:`AMP`,43:`NUM`,44:`ALPHA`,45:`PLUS`,46:`EQUALS`,47:`MULT`,48:`DOT`,49:`BRKT`,50:`MINUS`,51:`UNDERSCORE`},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 5:r.setOrientation(a[s]);break;case 9:r.setDiagramTitle(a[s].text.trim());break;case 12:r.setLineData({text:``,type:`text`},a[s]);break;case 13:r.setLineData(a[s-1],a[s]);break;case 14:r.setBarData({text:``,type:`text`},a[s]);break;case 15:r.setBarData(a[s-1],a[s]);break;case 16:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 19:this.$=a[s-1];break;case 20:case 30:this.$=[a[s-2],...a[s]];break;case 21:case 31:this.$=[a[s]];break;case 22:this.$={value:Number(a[s-1]),label:a[s]};break;case 23:this.$={value:Number(a[s]),label:``};break;case 24:r.setXAxisTitle(a[s]);break;case 25:r.setXAxisTitle(a[s-1]);break;case 26:r.setXAxisTitle({type:`text`,text:``});break;case 27:r.setXAxisBand(a[s]);break;case 28:r.setXAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 29:this.$=a[s-1];break;case 32:r.setYAxisTitle(a[s]);break;case 33:r.setYAxisTitle(a[s-1]);break;case 34:r.setYAxisTitle({type:`text`,text:``});break;case 35:r.setYAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 39:this.$={text:a[s],type:`text`};break;case 40:this.$={text:a[s],type:`text`};break;case 41:this.$={text:a[s],type:`markdown`};break;case 42:this.$=a[s];break;case 43:this.$=a[s-1]+``+a[s];break}},`anonymous`),table:[t(n,r,{3:1,4:2,7:4,5:i,36:a,37:o,38:s}),{1:[3]},t(n,r,{4:2,7:4,3:8,5:i,36:a,37:o,38:s}),t(n,r,{4:2,7:4,6:9,3:10,5:i,8:[1,11],36:a,37:o,38:s}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(c,[2,36]),t(c,[2,37]),t(c,[2,38]),{1:[2,1]},t(n,r,{4:2,7:4,3:21,5:i,36:a,37:o,38:s}),{1:[2,3]},t(c,[2,5]),t(n,[2,7],{4:22,36:a,37:o,38:s}),{11:23,30:l,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{11:39,13:38,24:x,29:S,30:l,31:40,32:41,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{11:45,15:44,29:C,30:l,35:46,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{11:49,17:48,24:w,30:l,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{11:52,17:51,24:w,30:l,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{20:[1,53]},{22:[1,54]},t(T,[2,18]),{1:[2,2]},t(T,[2,8]),t(T,[2,9]),t(E,[2,39],{41:55,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b}),t(E,[2,40]),t(E,[2,41]),t(D,[2,42]),t(D,[2,44]),t(D,[2,45]),t(D,[2,46]),t(D,[2,47]),t(D,[2,48]),t(D,[2,49]),t(D,[2,50]),t(D,[2,51]),t(D,[2,52]),t(D,[2,53]),t(T,[2,10]),t(T,[2,24],{32:41,31:56,24:x,29:S}),t(T,[2,26]),t(T,[2,27]),{33:[1,57]},{11:59,30:l,34:58,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},t(T,[2,11]),t(T,[2,32],{35:60,29:C}),t(T,[2,34]),{33:[1,61]},t(T,[2,12]),{17:62,24:w},{25:63,27:64,29:O},t(T,[2,14]),{17:66,24:w},t(T,[2,16]),t(T,[2,17]),t(D,[2,43]),t(T,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},t(T,[2,33]),{29:[1,70]},t(T,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},t(k,[2,23],{30:[1,73]}),t(T,[2,15]),t(T,[2,28]),t(T,[2,29]),{11:59,30:l,34:74,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},t(T,[2,35]),t(T,[2,19]),{25:75,27:64,29:O},t(k,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
+ `+h.showPosition()+`
3
+ Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};A.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
+ `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
5
+ `+t+`^`},`showPosition`),test_match:e(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:e(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
6
+ `+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:e(function(){return this.next()||this.lex()},`lex`),begin:e(function(e){this.conditionStack.push(e)},`begin`),popState:e(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:e(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:e(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:e(function(e){this.begin(e)},`pushState`),stateStackSize:e(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:e(function(e,t,n,r){switch(n){case 0:break;case 1:break;case 2:return this.popState(),36;case 3:return this.popState(),36;case 4:return 36;case 5:break;case 6:return 10;case 7:return this.pushState(`acc_title`),19;case 8:return this.popState(),`acc_title_value`;case 9:return this.pushState(`acc_descr`),21;case 10:return this.popState(),`acc_descr_value`;case 11:this.pushState(`acc_descr_multiline`);break;case 12:this.popState();break;case 13:return`acc_descr_multiline_value`;case 14:return 5;case 15:return 5;case 16:return 8;case 17:return this.pushState(`axis_data`),`X_AXIS`;case 18:return this.pushState(`axis_data`),`Y_AXIS`;case 19:return this.pushState(`axis_band_data`),24;case 20:return 33;case 21:return this.pushState(`data`),16;case 22:return this.pushState(`data`),18;case 23:return this.pushState(`data_inner`),24;case 24:return 29;case 25:return this.popState(),26;case 26:this.popState();break;case 27:this.pushState(`string`);break;case 28:this.popState();break;case 29:return`STR`;case 30:return 24;case 31:return 26;case 32:return 44;case 33:return`COLON`;case 34:return 45;case 35:return 28;case 36:return 46;case 37:return 47;case 38:return 49;case 39:return 51;case 40:return 48;case 41:return 42;case 42:return 50;case 43:return 43;case 44:break;case 45:return 37;case 46:return 38}},`anonymous`),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\})/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}}})();function j(){this.yy={}}return e(j,`Parser`),j.prototype=A,A.Parser=j,new j})();C.parser=C;var w=C;function T(e){return e.type===`bar`}e(T,`isBarPlot`);function E(e){return e.type===`band`}e(E,`isBandAxisData`);function D(e){return e.type===`linear`}e(D,`isLinearAxisData`);var O=class{constructor(e){this.parentGroup=e}static{e(this,`TextDimensionCalculatorWithFont`)}getMaxDimension(e,t){if(!this.parentGroup)return{width:e.reduce((e,t)=>Math.max(t.length,e),0)*t,height:t};let n={width:0,height:0},r=this.parentGroup.append(`g`).attr(`visibility`,`hidden`).attr(`font-size`,t);for(let i of e){let e=b(r,1,i),a=e?e.width:i.length*t,o=e?e.height:t;n.width=Math.max(n.width,a),n.height=Math.max(n.height,o)}return r.remove(),n}},k=.7,A=.2,j=class{constructor(e,t,n,r){this.axisConfig=e,this.title=t,this.textDimensionCalculator=n,this.axisThemeConfig=r,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition=`left`,this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.normalizedLabelRotationInRad=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition=`left`,this.normalizedLabelRotationInRad=this.axisConfig.labelRotation>=-90&&this.axisConfig.labelRotation<=90?this.axisConfig.labelRotation*Math.PI/180:0}static{e(this,`BaseAxis`)}setRange(e){this.range=e,this.axisPosition===`left`||this.axisPosition===`right`?this.boundingRect.height=e[1]-e[0]:this.boundingRect.width=e[1]-e[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(e){this.axisPosition=e,this.setRange(this.range)}getTickDistance(){let e=this.getRange();return Math.abs(e[0]-e[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(e=>e.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){k*this.getTickDistance()>this.outerPadding*2&&(this.outerPadding=Math.floor(k*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(e){let t=e.height;if(this.axisConfig.showAxisLine&&t>this.axisConfig.axisLineWidth&&(t-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let n=this.getLabelDimension(),r=A*e.width;this.outerPadding=Math.min(n.width/2,r);let i=n.height;this.axisPosition===`bottom`&&this.normalizedLabelRotationInRad!==0&&(i=Math.max(i,Math.abs(Math.sin(this.normalizedLabelRotationInRad)*n.width)+Math.abs(Math.cos(this.normalizedLabelRotationInRad)*n.height))),i+=this.axisConfig.labelPadding*2,this.labelTextHeight=n.height,i<=t&&(t-=i,this.showLabel=!0)}if(this.axisConfig.showTick&&t>=this.axisConfig.tickLength&&(this.showTick=!0,t-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let e=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=e.height+this.axisConfig.titlePadding*2;this.titleTextHeight=e.height,n<=t&&(t-=n,this.showTitle=!0)}this.boundingRect.width=e.width,this.boundingRect.height=e.height-t}calculateSpaceIfDrawnVertical(e){let t=e.width;if(this.axisConfig.showAxisLine&&t>this.axisConfig.axisLineWidth&&(t-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let n=this.getLabelDimension(),r=A*e.height;this.outerPadding=Math.min(n.height/2,r);let i=n.width+this.axisConfig.labelPadding*2;i<=t&&(t-=i,this.showLabel=!0)}if(this.axisConfig.showTick&&t>=this.axisConfig.tickLength&&(this.showTick=!0,t-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let e=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=e.height+this.axisConfig.titlePadding*2;this.titleTextHeight=e.height,n<=t&&(t-=n,this.showTitle=!0)}this.boundingRect.width=e.width-t,this.boundingRect.height=e.height}calculateSpace(e){return this.axisPosition===`left`||this.axisPosition===`right`?this.calculateSpaceIfDrawnVertical(e):this.calculateSpaceIfDrawnHorizontally(e),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateOffsetByRotation(e){let t=this.normalizedLabelRotationInRad;return t===0?0:Math.sin(t)*this.getLabelDimension()[e]/2}getDrawableElementsForLeftAxis(){let e=[];if(this.showAxisLine){let t=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;e.push({type:`path`,groupTexts:[`left-axis`,`axisl-line`],data:[{path:`M ${t},${this.boundingRect.y} L ${t},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:`text`,groupTexts:[`left-axis`,`label`],data:this.getTickValues().map(e=>({text:e.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(e),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:`middle`,horizontalPos:`right`}))}),this.showTick){let t=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:`path`,groupTexts:[`left-axis`,`ticks`],data:this.getTickValues().map(e=>({path:`M ${t},${this.getScaleValue(e)} L ${t-this.axisConfig.tickLength},${this.getScaleValue(e)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:`text`,groupTexts:[`left-axis`,`title`],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:`top`,horizontalPos:`center`}]}),e}getDrawableElementsForBottomAxis(){let e=[];if(this.showAxisLine){let t=this.boundingRect.y+this.axisConfig.axisLineWidth/2;e.push({type:`path`,groupTexts:[`bottom-axis`,`axis-line`],data:[{path:`M ${this.boundingRect.x},${t} L ${this.boundingRect.x+this.boundingRect.width},${t}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:`text`,groupTexts:[`bottom-axis`,`label`],data:this.getTickValues().map(e=>({text:e.toString(),x:this.getScaleValue(e)+this.calculateOffsetByRotation(`height`),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0)+Math.abs(this.calculateOffsetByRotation(`width`)),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:this.normalizedLabelRotationInRad*180/Math.PI,verticalPos:`top`,horizontalPos:`center`}))}),this.showTick){let t=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:`path`,groupTexts:[`bottom-axis`,`ticks`],data:this.getTickValues().map(e=>({path:`M ${this.getScaleValue(e)},${t} L ${this.getScaleValue(e)},${t+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:`text`,groupTexts:[`bottom-axis`,`title`],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:`top`,horizontalPos:`center`}]}),e}getDrawableElementsForTopAxis(){let e=[];if(this.showAxisLine){let t=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;e.push({type:`path`,groupTexts:[`top-axis`,`axis-line`],data:[{path:`M ${this.boundingRect.x},${t} L ${this.boundingRect.x+this.boundingRect.width},${t}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:`text`,groupTexts:[`top-axis`,`label`],data:this.getTickValues().map(e=>({text:e.toString(),x:this.getScaleValue(e),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:`top`,horizontalPos:`center`}))}),this.showTick){let t=this.boundingRect.y;e.push({type:`path`,groupTexts:[`top-axis`,`ticks`],data:this.getTickValues().map(e=>({path:`M ${this.getScaleValue(e)},${t+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(e)},${t+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:`text`,groupTexts:[`top-axis`,`title`],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:`top`,horizontalPos:`center`}]}),e}getDrawableElements(){if(this.axisPosition===`left`)return this.getDrawableElementsForLeftAxis();if(this.axisPosition===`right`)throw Error(`Drawing of right axis is not implemented`);return this.axisPosition===`bottom`?this.getDrawableElementsForBottomAxis():this.axisPosition===`top`?this.getDrawableElementsForTopAxis():[]}},M=class extends j{static{e(this,`BandAxis`)}constructor(e,t,n,r,i){super(e,r,i,t),this.categories=n,this.scale=S().domain(this.categories).range(this.getRange())}setRange(e){super.setRange(e)}recalculateScale(){this.scale=S().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),t.trace(`BandAxis axis final categories, range: `,this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(e){return this.scale(e)??this.getRange()[0]}},ee=class extends j{static{e(this,`LinearAxis`)}constructor(e,t,n,r,i){super(e,r,i,t),this.domain=n,this.scale=m().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let e=[...this.domain];this.axisPosition===`left`&&e.reverse(),this.scale=m().domain(e).range(this.getRange())}getScaleValue(e){return this.scale(e)}};function N(e,t,n,r){let i=new O(r);return E(e)?new M(t,n,e.categories,e.title,i):new ee(t,n,[e.min,e.max],e.title,i)}e(N,`getAxis`);var te=class{constructor(e,t,n,r){this.textDimensionCalculator=e,this.chartConfig=t,this.chartData=n,this.chartThemeConfig=r,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{e(this,`ChartTitle`)}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){let t=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),n=Math.max(t.width,e.width),r=t.height+2*this.chartConfig.titlePadding;return t.width<=n&&t.height<=r&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=n,this.boundingRect.height=r,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){let e=[];return this.showChartTitle&&e.push({groupTexts:[`chart-title`],type:`text`,data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:`middle`,horizontalPos:`center`,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),e}};function ne(e,t,n,r){return new te(new O(r),e,t,n)}e(ne,`getChartTitleComponent`);var re=class{constructor(e,t,n,r,i){this.plotData=e,this.xAxis=t,this.yAxis=n,this.orientation=r,this.plotIndex=i}static{e(this,`LinePlot`)}getDrawableElement(){let e=this.plotData.data.map(e=>[this.xAxis.getScaleValue(e[0]),this.yAxis.getScaleValue(e[1])]),t;if(t=this.orientation===`horizontal`?v().y(e=>e[0]).x(e=>e[1])(e):v().x(e=>e[0]).y(e=>e[1])(e),!t)return[];let n=[{groupTexts:[`plot`,`line-plot-${this.plotIndex}`],type:`path`,data:[{path:t,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}];if(this.plotData.pointLabels&&this.plotData.pointLabels.length>0){let t=[];for(let[n,[r,i]]of e.entries()){let e=this.plotData.pointLabels[n];e&&(this.orientation===`horizontal`?t.push({x:i+10,y:r,text:e,fill:this.plotData.strokeFill,verticalPos:`middle`,horizontalPos:`left`,fontSize:12,rotation:0}):t.push({x:r,y:i-10,text:e,fill:this.plotData.strokeFill,verticalPos:`middle`,horizontalPos:`center`,fontSize:12,rotation:0}))}t.length>0&&n.push({groupTexts:[`plot`,`line-plot-${this.plotIndex}`,`labels`],type:`text`,data:t})}return n}},ie=class{constructor(e,t,n,r,i,a){this.barData=e,this.boundingRect=t,this.xAxis=n,this.yAxis=r,this.orientation=i,this.plotIndex=a}static{e(this,`BarPlot`)}getDrawableElement(){let e=this.barData.data.map(e=>[this.xAxis.getScaleValue(e[0]),this.yAxis.getScaleValue(e[1])]),t=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*.95,n=t/2;return this.orientation===`horizontal`?[{groupTexts:[`plot`,`bar-plot-${this.plotIndex}`],type:`rect`,data:e.map(e=>({x:this.boundingRect.x,y:e[0]-n,height:t,width:e[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:[`plot`,`bar-plot-${this.plotIndex}`],type:`rect`,data:e.map(e=>({x:e[0]-n,y:e[1],width:t,height:this.boundingRect.y+this.boundingRect.height-e[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},ae=class{constructor(e,t,n){this.chartConfig=e,this.chartData=t,this.chartThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0}}static{e(this,`BasePlot`)}setAxes(e,t){this.xAxis=e,this.yAxis=t}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){return this.boundingRect.width=e.width,this.boundingRect.height=e.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error(`Axes must be passed to render Plots`);let e=[];for(let[t,n]of this.chartData.plots.entries())switch(n.type){case`line`:{let r=new re(n,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,t);e.push(...r.getDrawableElement())}break;case`bar`:{let r=new ie(n,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,t);e.push(...r.getDrawableElement())}break}return e}};function P(e,t,n){return new ae(e,t,n)}e(P,`getPlotComponent`);var oe=class{constructor(e,t,n,r){this.chartConfig=e,this.chartData=t,this.componentStore={title:ne(e,t,n,r),plot:P(e,t,n),xAxis:N(t.xAxis,e.xAxis,{titleColor:n.xAxisTitleColor,labelColor:n.xAxisLabelColor,tickColor:n.xAxisTickColor,axisLineColor:n.xAxisLineColor},r),yAxis:N(t.yAxis,e.yAxis,{titleColor:n.yAxisTitleColor,labelColor:n.yAxisLabelColor,tickColor:n.yAxisTickColor,axisLineColor:n.yAxisLineColor},r)}}static{e(this,`Orchestrator`)}calculateVerticalSpace(){let e=this.chartConfig.width,t=this.chartConfig.height,n=0,r=0,i=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),a=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),o=this.componentStore.plot.calculateSpace({width:i,height:a});e-=o.width,t-=o.height,o=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:t}),r=o.height,t-=o.height,this.componentStore.xAxis.setAxisPosition(`bottom`),o=this.componentStore.xAxis.calculateSpace({width:e,height:t}),t-=o.height,this.componentStore.yAxis.setAxisPosition(`left`),o=this.componentStore.yAxis.calculateSpace({width:e,height:t}),n=o.width,e-=o.width,e>0&&(i+=e,e=0),t>0&&(a+=t,t=0),this.componentStore.plot.calculateSpace({width:i,height:a}),this.componentStore.plot.setBoundingBoxXY({x:n,y:r}),this.componentStore.xAxis.setRange([n,n+i]),this.componentStore.xAxis.setBoundingBoxXY({x:n,y:r+a}),this.componentStore.yAxis.setRange([r,r+a]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:r}),this.chartData.plots.some(e=>T(e))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let e=this.chartConfig.width,t=this.chartConfig.height,n=0,r=0,i=0,a=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),o=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),s=this.componentStore.plot.calculateSpace({width:a,height:o});e-=s.width,t-=s.height,s=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:t}),n=s.height,t-=s.height,this.componentStore.xAxis.setAxisPosition(`left`),s=this.componentStore.xAxis.calculateSpace({width:e,height:t}),e-=s.width,r=s.width,this.componentStore.yAxis.setAxisPosition(`top`),s=this.componentStore.yAxis.calculateSpace({width:e,height:t}),t-=s.height,i=n+s.height,e>0&&(a+=e,e=0),t>0&&(o+=t,t=0),this.componentStore.plot.calculateSpace({width:a,height:o}),this.componentStore.plot.setBoundingBoxXY({x:r,y:i}),this.componentStore.yAxis.setRange([r,r+a]),this.componentStore.yAxis.setBoundingBoxXY({x:r,y:n}),this.componentStore.xAxis.setRange([i,i+o]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:i}),this.chartData.plots.some(e=>T(e))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){this.chartConfig.chartOrientation===`horizontal`?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let e=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(let t of Object.values(this.componentStore))e.push(...t.getDrawableElements());return e}},se=class{static{e(this,`XYChartBuilder`)}static build(e,t,n,r){return new oe(e,t,n,r).getDrawableElement()}},F=0,I,L=W(),R=U(),z=G(),B=R.plotColorPalette.split(`,`).map(e=>e.trim()),V=!1,H=!1;function U(){let e=n(),t=s();return _(e.xyChart,t.themeVariables.xyChart)}e(U,`getChartDefaultThemeConfig`);function W(){let e=s();return _(l.xyChart,e.xyChart)}e(W,`getChartDefaultConfig`);function G(){return{yAxis:{type:`linear`,title:``,min:1/0,max:-1/0},xAxis:{type:`band`,title:``,categories:[]},title:``,plots:[]}}e(G,`getChartDefaultData`);function K(e){let t=s();return p(e.trim(),t)}e(K,`textSanitizer`);function q(e){I=e}e(q,`setTmpSVGG`);function J(e){e===`horizontal`?L.chartOrientation=`horizontal`:L.chartOrientation=`vertical`}e(J,`setOrientation`);function Y(e){z.xAxis.title=K(e.text)}e(Y,`setXAxisTitle`);function X(e,t){z.xAxis={type:`linear`,title:z.xAxis.title,min:e,max:t},V=!0}e(X,`setXAxisRangeData`);function ce(e){z.xAxis={type:`band`,title:z.xAxis.title,categories:e.map(e=>K(e.text))},V=!0}e(ce,`setXAxisBand`);function le(e){z.yAxis.title=K(e.text)}e(le,`setYAxisTitle`);function ue(e,t){z.yAxis={type:`linear`,title:z.yAxis.title,min:e,max:t},H=!0}e(ue,`setYAxisRangeData`);function de(e){let t=Math.min(...e),n=Math.max(...e),r=D(z.yAxis)?z.yAxis.min:1/0,i=D(z.yAxis)?z.yAxis.max:-1/0;z.yAxis={type:`linear`,title:z.yAxis.title,min:Math.min(r,t),max:Math.max(i,n)}}e(de,`setYAxisRangeFromPlotData`);function Z(e){let t=[];if(e.length===0)return t;if(!V){let t=D(z.xAxis)?z.xAxis.min:1/0,n=D(z.xAxis)?z.xAxis.max:-1/0;X(Math.min(t,1),Math.max(n,e.length))}if(E(z.xAxis)&&e.length>z.xAxis.categories.length&&(e=e.slice(0,z.xAxis.categories.length)),H||de(e),E(z.xAxis)&&(t=z.xAxis.categories.map((t,n)=>[t,e[n]])),D(z.xAxis)){let n=z.xAxis.min,r=z.xAxis.max,i=(r-n)/(e.length-1),a=[];for(let e=n;e<=r;e+=i)a.push(`${e}`);t=a.map((t,n)=>[t,e[n]])}return t}e(Z,`transformDataWithoutCategory`);function Q(e){return B[e===0?0:e%B.length]}e(Q,`getPlotColorFromPalette`);function fe(e,t){let n=t.map(e=>e.value),r=t.map(e=>e.label?K(e.label):``),i=Z(n),a=r.some(e=>e!==``);z.plots.push({type:`line`,strokeFill:Q(F),strokeWidth:2,data:i,...a?{pointLabels:r}:{}}),F++}e(fe,`setLineData`);function pe(e,t){let n=Z(t.map(e=>e.value));z.plots.push({type:`bar`,fill:Q(F),data:n}),F++}e(pe,`setBarData`);function me(){if(z.plots.length===0)throw Error(`No Plot to render, please provide a plot with some data`);return z.title=d(),se.build(L,z,R,I)}e(me,`getDrawableElem`);function he(){return R}e(he,`getChartThemeConfig`);function ge(){return L}e(ge,`getChartConfig`);function $(){return z}e($,`getXYChartData`);var _e={parser:w,db:{getDrawableElem:me,clear:e(function(){o(),F=0,L=W(),z=G(),R=U(),B=R.plotColorPalette.split(`,`).map(e=>e.trim()),V=!1,H=!1},`clear`),setAccTitle:a,getAccTitle:f,setDiagramTitle:i,getDiagramTitle:d,getAccDescription:u,setAccDescription:r,setOrientation:J,setXAxisTitle:Y,setXAxisRangeData:X,setXAxisBand:ce,setYAxisTitle:le,setYAxisRangeData:ue,setLineData:fe,setBarData:pe,setTmpSVGG:q,getChartThemeConfig:he,getChartConfig:ge,getXYChartData:$},renderer:{draw:e((n,r,i,a)=>{let o=a.db,s=o.getChartThemeConfig(),l=o.getChartConfig(),u=o.getXYChartData().plots[0].data.map(e=>e[1]);function d(e){return e===`top`?`text-before-edge`:`middle`}e(d,`getDominantBaseLine`);function f(e){return e===`left`?`start`:e===`right`?`end`:`middle`}e(f,`getTextAnchor`);function p(e){return`translate(${e.x}, ${e.y}) rotate(${e.rotation||0})`}e(p,`getTextTransformation`),t.debug(`Rendering xychart chart
7
+ `+n);let m=y(r),h=m.append(`g`).attr(`class`,`main`),g=h.append(`rect`).attr(`width`,l.width).attr(`height`,l.height).attr(`class`,`background`);c(m,l.height,l.width,!0),m.attr(`viewBox`,`0 0 ${l.width} ${l.height}`),g.attr(`fill`,s.backgroundColor),o.setTmpSVGG(m.append(`g`).attr(`class`,`mermaid-tmp-group`));let _=o.getDrawableElem(),v={};function b(e){let t=h,n=``;for(let[r]of e.entries()){let i=h;r>0&&v[n]&&(i=v[n]),n+=e[r],t=v[n],t||=v[n]=i.append(`g`).attr(`class`,e[r])}return t}e(b,`getGroup`);for(let t of _){if(t.data.length===0)continue;let n=b(t.groupTexts);switch(t.type){case`rect`:if(n.selectAll(`rect`).data(t.data).enter().append(`rect`).attr(`x`,e=>e.x).attr(`y`,e=>e.y).attr(`width`,e=>e.width).attr(`height`,e=>e.height).attr(`fill`,e=>e.fill).attr(`stroke`,e=>e.strokeFill).attr(`stroke-width`,e=>e.strokeWidth),l.showDataLabel){let r=l.showDataLabelOutsideBar;if(l.chartOrientation===`horizontal`){let i=function(e,t){let{data:n,label:r}=e;return t*r.length*a<=n.width-o};e(i,`fitsHorizontally`);let a=.7,o=10,c=t.data.map((e,t)=>({data:e,label:u[t].toString()})).filter(e=>e.data.width>0&&e.data.height>0),l=c.map(e=>{let{data:t}=e,n=t.height*.7;for(;!i(e,n)&&n>0;)--n;return n}),d=Math.floor(Math.min(...l)),f=e(e=>r?e.data.x+e.data.width+10:e.data.x+e.data.width-10,`determineLabelXPosition`);n.selectAll(`text`).data(c).enter().append(`text`).attr(`x`,f).attr(`y`,e=>e.data.y+e.data.height/2).attr(`text-anchor`,r?`start`:`end`).attr(`dominant-baseline`,`middle`).attr(`fill`,s.dataLabelColor).attr(`font-size`,`${d}px`).text(e=>e.label)}else{let i=function(e,t,n){let{data:r,label:i}=e,a=t*i.length*.7,o=r.x+r.width/2,s=o-a/2,c=o+a/2,l=s>=r.x&&c<=r.x+r.width,u=r.y+n+t<=r.y+r.height;return l&&u};e(i,`fitsInBar`);let a=t.data.map((e,t)=>({data:e,label:u[t].toString()})).filter(e=>e.data.width>0&&e.data.height>0),o=a.map(e=>{let{data:t,label:n}=e,r=t.width/(n.length*.7);for(;!i(e,r,10)&&r>0;)--r;return r}),c=Math.floor(Math.min(...o)),l=e(e=>r?e.data.y-10:e.data.y+10,`determineLabelYPosition`);n.selectAll(`text`).data(a).enter().append(`text`).attr(`x`,e=>e.data.x+e.data.width/2).attr(`y`,l).attr(`text-anchor`,`middle`).attr(`dominant-baseline`,r?`auto`:`hanging`).attr(`fill`,s.dataLabelColor).attr(`font-size`,`${c}px`).text(e=>e.label)}}break;case`text`:n.selectAll(`text`).data(t.data).enter().append(`text`).attr(`x`,0).attr(`y`,0).attr(`fill`,e=>e.fill).attr(`font-size`,e=>e.fontSize).attr(`dominant-baseline`,e=>d(e.verticalPos)).attr(`text-anchor`,e=>f(e.horizontalPos)).attr(`transform`,e=>p(e)).text(e=>e.text);break;case`path`:n.selectAll(`path`).data(t.data).enter().append(`path`).attr(`d`,e=>e.path).attr(`fill`,e=>e.fill?e.fill:`none`).attr(`stroke`,e=>e.strokeFill).attr(`stroke-width`,e=>e.strokeWidth);break}}},`draw`)}};export{_e as diagram};
@@ -0,0 +1 @@
1
+ import{u as e}from"./editor.api2-B9h6iFPK.js";var t={comments:{lineComment:`#`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\s*$/,action:{indentAction:e.IndentAction.Indent}}]},n={tokenPostfix:`.yaml`,brackets:[{token:`delimiter.bracket`,open:`{`,close:`}`},{token:`delimiter.square`,open:`[`,close:`]`}],keywords:[`true`,`True`,`TRUE`,`false`,`False`,`FALSE`,`null`,`Null`,`Null`,`~`],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:`@whitespace`},{include:`@comment`},[/%[^ ]+.*$/,`meta.directive`],[/---/,`operators.directivesEnd`],[/\.{3}/,`operators.documentEnd`],[/[-?:](?= )/,`operators`],{include:`@anchor`},{include:`@tagHandle`},{include:`@flowCollections`},{include:`@blockStyle`},[/@numberInteger(?![ \t]*\S+)/,`number`],[/@numberFloat(?![ \t]*\S+)/,`number.float`],[/@numberOctal(?![ \t]*\S+)/,`number.octal`],[/@numberHex(?![ \t]*\S+)/,`number.hex`],[/@numberInfinity(?![ \t]*\S+)/,`number.infinity`],[/@numberNaN(?![ \t]*\S+)/,`number.nan`],[/@numberDate(?![ \t]*\S+)/,`number.date`],[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/,[`type`,`white`,`operators`,`white`]],{include:`@flowScalars`},[/.+?(?=(\s+#|$))/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],object:[{include:`@whitespace`},{include:`@comment`},[/\}/,`@brackets`,`@pop`],[/,/,`delimiter.comma`],[/:(?= )/,`operators`],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,`type`],{include:`@flowCollections`},{include:`@flowScalars`},{include:`@tagHandle`},{include:`@anchor`},{include:`@flowNumber`},[/[^\},]+/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],array:[{include:`@whitespace`},{include:`@comment`},[/\]/,`@brackets`,`@pop`],[/,/,`delimiter.comma`],{include:`@flowCollections`},{include:`@flowScalars`},{include:`@tagHandle`},{include:`@anchor`},{include:`@flowNumber`},[/[^\],]+/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],multiString:[[/^( +).+$/,`string`,`@multiStringContinued.$1`]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":`string`,"@default":{token:`@rematch`,next:`@popall`}}}]],whitespace:[[/[ \t\r\n]+/,`white`]],comment:[[/#.*$/,`comment`]],flowCollections:[[/\[/,`@brackets`,`@array`],[/\{/,`@brackets`,`@object`]],flowScalars:[[/"([^"\\]|\\.)*$/,`string.invalid`],[/'([^'\\]|\\.)*$/,`string.invalid`],[/'[^']*'/,`string`],[/"/,`string`,`@doubleQuotedString`]],doubleQuotedString:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,`string`,`@pop`]],blockStyle:[[/[>|][0-9]*[+-]?$/,`operators`,`@multiString`]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,`number`],[/@numberFloat(?=[ \t]*[,\]\}])/,`number.float`],[/@numberOctal(?=[ \t]*[,\]\}])/,`number.octal`],[/@numberHex(?=[ \t]*[,\]\}])/,`number.hex`],[/@numberInfinity(?=[ \t]*[,\]\}])/,`number.infinity`],[/@numberNaN(?=[ \t]*[,\]\}])/,`number.nan`],[/@numberDate(?=[ \t]*[,\]\}])/,`number.date`]],tagHandle:[[/\![^ ]*/,`tag`]],anchor:[[/[&*][^ ]+/,`namespace`]]}};export{t as conf,n as language};
@@ -0,0 +1 @@
1
+ <svg fill="none" height="816" viewBox="0 0 816 816" width="816" xmlns="http://www.w3.org/2000/svg"><g stroke="#fff" stroke-linecap="round"><path d="m320.736 337.538-58.198 69.311" stroke-linejoin="round" stroke-width="6.26753"/><circle cx="277.301" cy="353.08" r="12.0128" stroke-linejoin="round" stroke-width="9.78818"/><circle cx="305.776" cy="391.343" r="12.0128" stroke-linejoin="round" stroke-width="9.78818"/><path d="m386.371 405.116h-41.559" stroke-linejoin="round" stroke-width="6.26753"/><path d="m401.122 560.338h-121.011c-24.362 0-44.111-19.749-44.111-44.111v-225.116c0-24.362 19.749-44.111 44.111-44.111h246.32c24.361 0 44.11 19.749 44.11 44.111v269.227" stroke-width="17.8359"/><path d="m240.818 308.383 322.381-.001" stroke-width="17.8359"/></g><path d="m470.271 560.18c0-2.436-.967-4.772-2.689-6.494-1.723-1.722-4.059-2.69-6.494-2.69-.071 0-.139.009-.209.011h-20.643c-.173 0-.344-.043-.498-.124-.153-.082-.284-.2-.381-.343-.098-.144-.158-.31-.177-.482-.018-.173.006-.348.071-.509l30.191-75.273c.496-1.237.681-2.577.539-3.902-.141-1.326-.606-2.596-1.353-3.7s-1.753-2.008-2.93-2.634c-1.177-.625-2.49-.952-3.823-.952h-31.82c-.18-.01-.358-.027-.541-.027-1.175 0-2.339.232-3.426.681-1.086.45-2.072 1.11-2.904 1.941-.831.831-1.49 1.818-1.94 2.904s-.681 2.25-.681 3.425v.002.002c-.001 1.175.23 2.339.68 3.426.449 1.086 1.109 2.073 1.94 2.904s1.818 1.49 2.905 1.939c1.086.449 2.25.68 3.426.679.141 0 .277-.015.416-.021h16.489c.181 0 .36.044.52.129.159.085.296.208.398.358.101.15.164.322.184.502.019.18-.006.362-.073.53l-26.18 65.382c-.466 1.164-.705 2.406-.705 3.659v8.017c0 2.611 1.037 5.115 2.883 6.961s4.349 2.883 6.96 2.883h30.687c1.205 0 2.399-.238 3.513-.699 1.113-.461 2.125-1.137 2.977-1.99.853-.852 1.529-1.864 1.99-2.977.461-1.114.699-2.307.698-3.513v-.002z" fill="#fff"/><path d="m523.418 485.851c.064-3.494-.264-6.984-.978-10.406-.559-2.882-1.677-5.18-3.354-6.891-1.583-1.802-3.819-3.063-6.706-3.784-2.795-.811-6.381-1.216-10.758-1.216-4.192 0-8.992.405-11.88 1.216-2.615.618-4.994 1.979-6.846 3.919-1.676 1.892-2.887 4.459-3.632 7.702-.746 3.153-1.118 7.162-1.118 12.027 0 4.685.046 8.468.139 11.351.122 2.358.402 4.706.839 7.027.351 1.535.965 2.998 1.816 4.324.802 1.145 1.74 2.188 2.794 3.108 1.463 1.285 3.055 2.417 4.751 3.379 1.863 1.081 3.772 2.117 5.728 3.108s3.819 2.027 5.589 3.107c1.668.938 3.216 2.072 4.611 3.379.552.597 1.065 1.229 1.537 1.892.339.4.603.858.779 1.351.161.442.296.892.404 1.349.153.711.225 1.437.214 2.165.093 1.081.14 2.567.14 4.459.039 2.574-.101 5.148-.419 7.703-.091 1.456-.471 2.88-1.118 4.188-.492.849-1.292 1.478-2.236 1.758-.931.269-4.151.405-5.549.405-1.131.021-2.26-.115-3.353-.405-.88-.398-1.612-1.059-2.096-1.892-.552-1.296-.928-2.659-1.117-4.054-.21-2.242-.303-4.493-.28-6.745 0-.251-.013-.501-.039-.751h-.056c-.257-1.793-1.155-3.433-2.529-4.62-1.375-1.186-3.133-1.84-4.952-1.84s-3.577.654-4.951 1.84c-1.374 1.187-2.272 2.827-2.529 4.62h-.044c-.03.274-.043.55-.041.827.001.064.002.126.002.19 0 .019-.003.037-.003.056 0 .031.005.062.005.093.023 1.774.048 3.368.048 4.167 0 5.316.373 9.64 1.118 12.973.838 3.243 2.142 5.81 3.912 7.703 1.833 1.837 4.163 3.104 6.706 3.648 3.247.783 6.581 1.146 9.92 1.081 4.471 0 10.253-.405 13.233-1.216 2.82-.706 5.326-2.322 7.126-4.595 1.863-2.252 3.167-5.36 3.912-9.324.838-4.053 1.258-9.233 1.258-15.54 0-4.594-.14-8.288-.42-11.08-.083-2.346-.507-4.667-1.257-6.892-.542-1.624-1.45-3.104-2.655-4.325-1.217-1.236-2.577-2.325-4.052-3.243-1.349-.848-2.749-1.615-4.191-2.297-1.584-.901-3.26-1.757-5.03-2.568-1.77-.9-3.446-1.801-5.03-2.702-1.405-.866-2.758-1.814-4.052-2.838-.604-.492-1.165-1.035-1.676-1.621-.405-.618-.69-1.305-.839-2.027-.216-1.025-.356-2.064-.419-3.108v-5.136c-.026-1.94.068-3.881.279-5.81.108-1.178.44-2.325.979-3.379.474-.751 1.227-1.285 2.095-1.486.839-.27 3.171-.405 4.475-.405 2.98 0 4.843.855 5.588 2.567.59 1.082.922 2.284.973 3.514.031.983.046 2.263.05 3.604h.052c0 .018-.002.035-.002.054 0 1.997.797 3.913 2.216 5.326 1.419 1.412 3.343 2.206 5.35 2.206 2.006 0 3.931-.794 5.35-2.206 1.418-1.413 2.216-3.329 2.216-5.326 0-.018-.003-.036-.003-.054h.003c.001-1.502.003-2.847.003-3.604z" fill="#fff"/><path d="m579.357 471.935c.006-1.228-.243-2.443-.733-3.569-.49-1.125-1.209-2.136-2.112-2.968-.902-.832-1.968-1.467-3.13-1.863-1.161-.397-2.393-.547-3.616-.441s-2.41.466-3.486 1.057-2.017 1.399-2.763 2.374c-.745.975-1.28 2.095-1.568 3.288-.289 1.193-.326 2.433-.108 3.641v31.462c0 .522-.207 1.023-.577 1.392-.369.369-.87.576-1.392.576h-10.916c-.522 0-1.023-.207-1.392-.576s-.577-.87-.577-1.392v-32.783c0-.034-.004-.066-.005-.1.001-.033.005-.065.005-.099 0-2.341-.93-4.586-2.585-6.242-1.656-1.655-3.901-2.586-6.243-2.586-2.341 0-4.586.931-6.242 2.586-1.656 1.656-2.586 3.901-2.586 6.242 0 .034.005.066.005.099.001.034-.005.066-.005.1v88.421l.001.016-.001.017c0 2.341.93 4.586 2.586 6.242 1.656 1.655 3.901 2.586 6.242 2.586 2.342 0 4.587-.931 6.243-2.586 1.655-1.656 2.585-3.901 2.585-6.242v-.017-.016-35.025c0-.523.208-1.023.577-1.393.369-.369.87-.576 1.392-.576h10.916c.522 0 1.023.207 1.392.576.37.37.577.87.577 1.393v33.505c-.229 1.269-.176 2.573.155 3.819s.933 2.404 1.762 3.392c.83.988 1.866 1.781 3.036 2.323s2.446.82 3.735.813c.012 0 .023-.001.035-.001s.023.001.035.001c1.15 0 2.289-.226 3.352-.666 1.062-.44 2.028-1.085 2.841-1.899.813-.813 1.458-1.778 1.899-2.841.44-1.063.666-2.202.666-3.352v-88.56c0-.022-.003-.043-.003-.064 0-.022.003-.043.003-.064z" fill="#fff"/></svg>
@@ -0,0 +1 @@
1
+ <svg fill="none" height="816" viewBox="0 0 816 816" width="816" xmlns="http://www.w3.org/2000/svg"><g stroke-linecap="round"><path d="m320.736 337.539-58.198 69.311" stroke="#f15a24" stroke-linejoin="round" stroke-width="6.26753"/><circle cx="277.301" cy="353.081" r="12.0128" stroke="#f15a24" stroke-linejoin="round" stroke-width="9.78818"/><circle cx="305.776" cy="391.344" r="12.0128" stroke="#f15a24" stroke-linejoin="round" stroke-width="9.78818"/><path d="m386.371 405.116h-41.559" stroke="#f15a24" stroke-linejoin="round" stroke-width="6.26753"/><path d="m401.122 560.338h-121.011c-24.362 0-44.111-19.749-44.111-44.111v-225.116c0-24.362 19.749-44.111 44.111-44.111h246.32c24.361 0 44.11 19.749 44.11 44.111v269.227" stroke="#000" stroke-width="17.8359"/><path d="m240.818 308.383 322.381-.001" stroke="#000" stroke-width="17.8359"/></g><path d="m470.271 560.179c0-2.435-.967-4.771-2.689-6.494-1.723-1.722-4.059-2.689-6.494-2.689-.071 0-.139.009-.209.01h-20.643c-.173 0-.344-.042-.498-.124-.153-.081-.284-.199-.381-.343-.098-.144-.158-.309-.177-.482-.018-.172.006-.347.071-.508l30.191-75.273c.496-1.238.681-2.578.539-3.903-.141-1.325-.606-2.596-1.353-3.7s-1.753-2.008-2.93-2.633-2.49-.952-3.823-.952h-31.82c-.18-.011-.358-.027-.541-.027-1.175 0-2.339.231-3.426.681-1.086.45-2.072 1.109-2.904 1.94-.831.832-1.49 1.818-1.94 2.904s-.681 2.25-.681 3.426v.002.001c-.001 1.176.23 2.34.68 3.426.449 1.086 1.109 2.073 1.94 2.904s1.818 1.49 2.905 1.939c1.086.45 2.25.68 3.426.679.141 0 .277-.014.416-.021h16.489c.181 0 .36.045.52.129.159.085.296.208.398.358.101.15.164.323.184.503.019.18-.006.362-.073.53l-26.18 65.382c-.466 1.163-.705 2.405-.705 3.658v8.018c0 2.61 1.037 5.114 2.883 6.96s4.349 2.883 6.96 2.883h30.687c1.205 0 2.399-.237 3.513-.698 1.113-.462 2.125-1.138 2.977-1.99.853-.852 1.529-1.864 1.99-2.978.461-1.113.699-2.307.698-3.512v-.003z" fill="#000"/><path d="m523.418 485.849c.064-3.494-.264-6.984-.978-10.405-.559-2.883-1.677-5.18-3.354-6.892-1.583-1.802-3.819-3.063-6.706-3.784-2.795-.81-6.381-1.216-10.758-1.216-4.192 0-8.992.406-11.88 1.216-2.615.618-4.994 1.98-6.846 3.919-1.676 1.892-2.887 4.46-3.632 7.703-.746 3.153-1.118 7.162-1.118 12.027 0 4.684.046 8.468.139 11.351.122 2.358.402 4.706.839 7.027.351 1.534.965 2.997 1.816 4.324.802 1.144 1.74 2.188 2.794 3.108 1.463 1.285 3.055 2.417 4.751 3.378 1.863 1.081 3.772 2.117 5.728 3.108 1.956.992 3.819 2.027 5.589 3.108 1.668.937 3.216 2.072 4.611 3.379.552.597 1.066 1.229 1.537 1.891.339.4.603.858.779 1.352.161.441.296.891.404 1.348.153.712.225 1.438.214 2.165.093 1.081.14 2.568.14 4.46.039 2.574-.101 5.147-.419 7.702-.09 1.456-.471 2.88-1.118 4.189-.492.849-1.292 1.478-2.236 1.757-.931.27-4.151.405-5.549.405-1.131.022-2.26-.115-3.353-.405-.88-.397-1.612-1.059-2.096-1.892-.552-1.295-.928-2.659-1.117-4.054-.21-2.242-.303-4.493-.28-6.744 0-.251-.013-.502-.039-.752h-.056c-.257-1.792-1.155-3.433-2.529-4.619-1.375-1.187-3.133-1.84-4.952-1.84s-3.577.653-4.951 1.84c-1.374 1.186-2.272 2.827-2.529 4.619h-.044c-.03.275-.043.551-.041.827.001.064.002.126.002.19 0 .019-.003.037-.003.056 0 .032.005.062.005.093.023 1.775.048 3.368.048 4.168 0 5.315.373 9.639 1.118 12.973.838 3.242 2.142 5.81 3.912 7.702 1.833 1.837 4.163 3.104 6.706 3.649 3.247.783 6.581 1.146 9.92 1.081 4.472 0 10.253-.406 13.233-1.217 2.82-.706 5.326-2.321 7.126-4.594 1.863-2.252 3.167-5.36 3.912-9.324.838-4.054 1.258-9.234 1.258-15.54 0-4.595-.14-8.288-.42-11.081-.083-2.345-.507-4.667-1.257-6.892-.542-1.624-1.45-3.103-2.655-4.324-1.217-1.237-2.577-2.325-4.052-3.243-1.349-.849-2.749-1.616-4.191-2.297-1.584-.901-3.26-1.757-5.03-2.568-1.77-.901-3.446-1.802-5.03-2.703-1.405-.865-2.758-1.813-4.052-2.837-.604-.493-1.165-1.035-1.676-1.622-.405-.617-.69-1.305-.839-2.027-.216-1.024-.356-2.063-.419-3.108v-5.135c-.025-1.941.068-3.881.279-5.811.108-1.178.44-2.324.979-3.378.474-.751 1.227-1.286 2.095-1.486.839-.271 3.171-.406 4.475-.406 2.98 0 4.843.856 5.588 2.568.59 1.082.922 2.283.973 3.513.031.984.046 2.263.05 3.604h.053c0 .018-.003.036-.003.054 0 1.998.797 3.914 2.216 5.326 1.419 1.413 3.343 2.206 5.35 2.206 2.006 0 3.931-.793 5.35-2.206 1.418-1.412 2.216-3.328 2.216-5.326 0-.018-.003-.035-.003-.054h.003c.001-1.501.003-2.847.003-3.604z" fill="#000"/><path d="m579.357 471.934c.006-1.227-.243-2.443-.733-3.568-.49-1.126-1.209-2.137-2.112-2.969-.902-.832-1.968-1.466-3.13-1.863-1.162-.396-2.393-.547-3.616-.44-1.223.106-2.41.466-3.486 1.056-1.076.591-2.017 1.4-2.763 2.375-.745.975-1.28 2.095-1.568 3.288-.289 1.193-.326 2.433-.108 3.641v31.461c0 .522-.208 1.023-.577 1.392-.369.37-.87.577-1.392.577h-10.916c-.522 0-1.023-.207-1.392-.577-.369-.369-.577-.87-.577-1.392v-32.783c0-.033-.004-.066-.005-.099.001-.033.005-.066.005-.099 0-2.341-.93-4.587-2.585-6.242-1.656-1.656-3.901-2.586-6.243-2.586-2.341 0-4.586.93-6.242 2.586-1.656 1.655-2.586 3.901-2.586 6.242 0 .033.005.066.005.099.001.033-.005.066-.005.099v88.421l.001.017-.001.016c0 2.341.93 4.587 2.586 6.242 1.656 1.656 3.901 2.586 6.242 2.586 2.342 0 4.587-.93 6.243-2.586 1.655-1.655 2.585-3.901 2.585-6.242l-.001-.016.001-.017v-35.025c0-.522.208-1.023.577-1.392s.87-.577 1.392-.577h10.916c.522 0 1.023.208 1.392.577s.577.87.577 1.392v33.505c-.229 1.269-.176 2.573.155 3.82.331 1.246.933 2.404 1.762 3.392.83.987 1.866 1.78 3.036 2.322s2.446.82 3.735.814c.012 0 .023-.002.035-.002s.023.002.035.002c1.15 0 2.289-.227 3.352-.667 1.062-.44 2.028-1.085 2.841-1.898s1.458-1.779 1.898-2.842c.441-1.062.667-2.201.667-3.351v-88.561c0-.022-.003-.042-.003-.064 0-.021.003-.042.003-.064z" fill="#000"/></svg>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file