@oneworks/client 0.1.0-alpha.0 → 0.1.0-beta.1

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 (185) hide show
  1. package/dist/assets/ActionSearchToolbar-BqRwfUQY.js +1 -0
  2. package/dist/assets/ActionSearchToolbar-CMBns0Zm.css +1 -0
  3. package/dist/assets/AgentRoomRoute-BYgM7vgg.js +1 -0
  4. package/dist/assets/AgentRoomSessionRoute-DdoZY7qL.js +3 -0
  5. package/dist/assets/ArchiveRoute-ydgLUN7p.js +1 -0
  6. package/dist/assets/{AuthenticatedApp-BTs4l2pB.js → AuthenticatedApp-CK9TT7Nk.js} +236 -224
  7. package/dist/assets/AuthenticatedApp-scWyvbOf.css +1 -0
  8. package/dist/assets/AutomationRoute-CpcRbNa8.js +1 -0
  9. package/dist/assets/BenchmarkRoute-CZRZVolT.js +21 -0
  10. package/dist/assets/ChatRoute-DdRVEkAb.js +2 -0
  11. package/dist/assets/Collapse-CxTS9FJh.js +10 -0
  12. package/dist/assets/{ComposerLanding-Cl6zfbOm.js → ComposerLanding-BChGuCjF.js} +4 -4
  13. package/dist/assets/ConfigEditors-BuDavOAj.css +1 -0
  14. package/dist/assets/ConfigRoute-D_EkHryB.js +28 -0
  15. package/dist/assets/ConfigRoute-TW2qRRNP.css +1 -0
  16. package/dist/assets/InteractionStructureRoute-Dpjr6hIq.js +1 -0
  17. package/dist/assets/KnowledgeRoute-Bp4Da65A.js +1 -0
  18. package/dist/assets/LauncherApp-ByUpDwod.js +2 -0
  19. package/dist/assets/LauncherRoute-B94P9m3I.js +2 -0
  20. package/dist/assets/LauncherRoute-NsK8KCzb.css +1 -0
  21. package/dist/assets/MobileAwareSelect-BySpAJpa.css +1 -0
  22. package/dist/assets/MobileAwareSelect-CCAQrsxL.js +37 -0
  23. package/dist/assets/{ModuleManagementRoute-DQACRan1.js → ModuleManagementRoute-DcrMX6P7.js} +3 -3
  24. package/dist/assets/NotFoundRoute-C1IfsiZY.js +1 -0
  25. package/dist/assets/PluginStoreRoute-7UBLkrWc.js +1 -0
  26. package/dist/assets/PluginStoreRoute-Cfalv335.css +1 -0
  27. package/dist/assets/RouteContainerPanelTabs-D8pC61tF.js +11 -0
  28. package/dist/assets/RouteContainerPanelTabs-DAjUmk7i.css +1 -0
  29. package/dist/assets/SchemaObjectEditor-DvwrURac.js +1 -0
  30. package/dist/assets/StandaloneMobileDebugRoute--yiQ5EdW.js +1 -0
  31. package/dist/assets/StandaloneMobileDebugRoute-DuOLjUb9.css +1 -0
  32. package/dist/assets/WorkspaceApp-l-h_IsMp.js +9 -0
  33. package/dist/assets/agent-room-session-paths-CYMSFD9m.css +32 -0
  34. package/dist/assets/agent-room-session-paths-DNpYqOr3.js +537 -0
  35. package/dist/assets/{arc-BXsvCKst.js → arc-Xh4h56Fv.js} +1 -1
  36. package/dist/assets/azure-C6wcxVWu.ico +0 -0
  37. package/dist/assets/{blockDiagram-c4efeb88-hc-xNCrG.js → blockDiagram-c4efeb88-CG3HxYeL.js} +2 -2
  38. package/dist/assets/{c4Diagram-c83219d4-DVHTOuVr.js → c4Diagram-c83219d4-DiEPAqCg.js} +2 -2
  39. package/dist/assets/channel-DH-F5Uqk.js +1 -0
  40. package/dist/assets/classDiagram-beda092f-Dwx44PuJ.js +2 -0
  41. package/dist/assets/classDiagram-v2-2358418a-COXM437u.js +2 -0
  42. package/dist/assets/client-build-info-6B4KoYHs.js +1 -0
  43. package/dist/assets/clone-DGri7oGq.js +1 -0
  44. package/dist/assets/{createText-1719965b-x3Mhf0Jh.js → createText-1719965b-DPLMqVqY.js} +1 -1
  45. package/dist/assets/cssMode-DfDq4hLs.js +1 -0
  46. package/dist/assets/customParseFormat-DwjB960X.js +1 -0
  47. package/dist/assets/dockPanelConstants-4XXOUD0A.css +1 -0
  48. package/dist/assets/dockPanelConstants-OzU6hJl5.js +8 -0
  49. package/dist/assets/{edges-96097737-COVuSxRY.js → edges-96097737-ry9ejc8v.js} +1 -1
  50. package/dist/assets/{erDiagram-0228fc6a-WcgqCWce.js → erDiagram-0228fc6a-AcCPz3wc.js} +2 -2
  51. package/dist/assets/{flowDb-c6c81e3f-nYly38YN.js → flowDb-c6c81e3f-BGnBxhJf.js} +1 -1
  52. package/dist/assets/{flowDiagram-50d868cf-DLYALlBY.js → flowDiagram-50d868cf-BnS6RFWo.js} +2 -2
  53. package/dist/assets/flowDiagram-v2-4f6560a1-C3klqpJG.js +1 -0
  54. package/dist/assets/{flowchart-elk-definition-6af322e1-Da8rP8k4.js → flowchart-elk-definition-6af322e1-8-ynORZL.js} +2 -2
  55. package/dist/assets/{freemarker2-OWISI6Bb.js → freemarker2-uFZBYLEW.js} +2 -2
  56. package/dist/assets/ganttDiagram-a2739b55-3MEPfmMB.js +257 -0
  57. package/dist/assets/gemini-B9inYaVW.png +0 -0
  58. package/dist/assets/{gitGraphDiagram-82fe8481-DCk8Jny9.js → gitGraphDiagram-82fe8481-BKYGV9pb.js} +2 -2
  59. package/dist/assets/{graph-DvFQr_wY.js → graph-BEwlNa_j.js} +1 -1
  60. package/dist/assets/handlebars-dg6IZCa7.js +1 -0
  61. package/dist/assets/html-KunL9NkW.js +1 -0
  62. package/dist/assets/htmlMode-CrFpTEpC.js +1 -0
  63. package/dist/assets/{index-5325376f-CRF6GGjL.js → index-5325376f-CCcP_Ahl.js} +1 -1
  64. package/dist/assets/index-BIs5hzci.js +13 -0
  65. package/dist/assets/index-BggFUwYR.js +1 -0
  66. package/dist/assets/index-DdUqPqXW.js +727 -0
  67. package/dist/assets/{index-BnZLa3J3.js → index-DhpAFZQZ.js} +2 -2
  68. package/dist/assets/index-YzfSzOLk.js +13 -0
  69. package/dist/assets/index-ZOsqqPVv.js +36 -0
  70. package/dist/assets/index-jfuA2A4w.css +1 -0
  71. package/dist/assets/index-nXq6jwfM.js +3 -0
  72. package/dist/assets/{infoDiagram-8eee0895-dVa2Kh9_.js → infoDiagram-8eee0895-BzZ34kgw.js} +2 -2
  73. package/dist/assets/interaction-panel-mobile-debug-pages-8AAd4Csf.css +1 -0
  74. package/dist/assets/interaction-panel-mobile-debug-pages-DXC3HSZU.js +113 -0
  75. package/dist/assets/javascript-DA3fh3oR.js +1 -0
  76. package/dist/assets/{journeyDiagram-c64418c1-BJCT1TJ7.js → journeyDiagram-c64418c1-B_kSGErn.js} +2 -2
  77. package/dist/assets/{jsonMode-RsjNGxUQ.js → jsonMode-BDucSIBv.js} +4 -4
  78. package/dist/assets/{layout-BMZRkCUf.js → layout-CRLM1T9z.js} +1 -1
  79. package/dist/assets/{line-C99msl9T.js → line-Cdyr_7ve.js} +1 -1
  80. package/dist/assets/{linear-CJHB38BG.js → linear-y86GycLK.js} +1 -1
  81. package/dist/assets/liquid-mJp997il.js +1 -0
  82. package/dist/assets/{lspLanguageFeatures-D8zjArb3.js → lspLanguageFeatures-DiGGmudW.js} +1 -1
  83. package/dist/assets/mdx-Co6h2mZ2.js +1 -0
  84. package/dist/assets/{mermaid.core-DWzpZH_g.js → mermaid.core-VYJIZL_J.js} +4 -4
  85. package/dist/assets/micu-dUcmmgZZ.png +0 -0
  86. package/dist/assets/{mindmap-definition-8da855dc-DulNL_Ks.js → mindmap-definition-8da855dc-DKNG2gyr.js} +2 -2
  87. package/dist/assets/minimax-B5WRVrUt.png +0 -0
  88. package/dist/assets/openai-ABb0YGGa.svg +71 -0
  89. package/dist/assets/openrouter-CsJ_bD5Q.ico +0 -0
  90. package/dist/assets/{pieDiagram-a8764435-CHfubQBm.js → pieDiagram-a8764435-Cu3up9mc.js} +3 -3
  91. package/dist/assets/project-file-tree-icons-CfonMx-1.js +2 -0
  92. package/dist/assets/project-file-tree-icons-DXkdVC0r.css +1 -0
  93. package/dist/assets/python-BUUKzwmG.js +1 -0
  94. package/dist/assets/{quadrantDiagram-1e28029f-CFHca9nu.js → quadrantDiagram-1e28029f-DHW8R4el.js} +2 -2
  95. package/dist/assets/qwen-Cla2cGrM.svg +107 -0
  96. package/dist/assets/razor-ZPlQfY47.js +1 -0
  97. package/dist/assets/requesty-DAzbbw8F.ico +0 -0
  98. package/dist/assets/{requirementDiagram-08caed73-ClrFG92W.js → requirementDiagram-08caed73-CXWNC-_B.js} +2 -2
  99. package/dist/assets/route-plugin-chrome-bV1HEaju.js +1 -0
  100. package/dist/assets/sankeyDiagram-a04cb91d-DhKL8pMH.js +8 -0
  101. package/dist/assets/{sequenceDiagram-c5b8d532-ZoeuLa-n.js → sequenceDiagram-c5b8d532-D3fAcQeI.js} +2 -2
  102. package/dist/assets/shortcutUtils-B8h6g_7o.js +27 -0
  103. package/dist/assets/stateDiagram-1ecb1508-wKQS4LMF.js +1 -0
  104. package/dist/assets/stateDiagram-v2-c2b004d7-D5qOKtOa.js +1 -0
  105. package/dist/assets/{styles-b4e223ce-0VFG2Z9W.js → styles-b4e223ce-CpBwPex_.js} +1 -1
  106. package/dist/assets/{styles-ca3715f6-DaJIsB-N.js → styles-ca3715f6-4bqpN1KH.js} +1 -1
  107. package/dist/assets/{styles-d45a18b0-DT8DH24o.js → styles-d45a18b0-B0RCBD5D.js} +1 -1
  108. package/dist/assets/{svgDrawCommon-b86b1483-DxTZXiLW.js → svgDrawCommon-b86b1483-C9KXk4gS.js} +1 -1
  109. package/dist/assets/{timeline-definition-faaaa080-lu3ppiNq.js → timeline-definition-faaaa080-B1Bfjd0m.js} +2 -2
  110. package/dist/assets/{tsMode-B6pOKC1l.js → tsMode-Bd8BwKXc.js} +2 -2
  111. package/dist/assets/typescript-CLd6MPK0.js +1 -0
  112. package/dist/assets/use-app-preferences-DGCafwsP.js +1 -0
  113. package/dist/assets/use-chat-session-actions-wF_HiVzj.js +2 -0
  114. package/dist/assets/{vendor-react-BNJ5yonH.js → vendor-react-CnooHTJc.js} +1 -1
  115. package/dist/assets/vendor-state-zjcHRN98.js +1 -0
  116. package/dist/assets/worker-BZxxbL_z.js +1 -0
  117. package/dist/assets/workspace-file-openers-Dj_Cfk1S.js +1 -0
  118. package/dist/assets/workspace-file-openers-fM4AQXug.css +1 -0
  119. package/dist/assets/xml-BeC1cWk3.js +1 -0
  120. package/dist/assets/{xychartDiagram-f5964ef8-DvmrNK0s.js → xychartDiagram-f5964ef8-DbJVUSHy.js} +2 -2
  121. package/dist/assets/yaml-gQrw9AcN.js +1 -0
  122. package/dist/assets/yunwu-C0h7koCA.png +0 -0
  123. package/dist/assets/zhipu-CWmkm5qz.png +0 -0
  124. package/dist/index.html +4 -4
  125. package/dist/sw.js +5 -3
  126. package/package.json +20 -15
  127. package/dist/assets/AgentRoomRoute-rNmmPMvh.js +0 -1
  128. package/dist/assets/AgentRoomSessionRoute-Dg8yQRY_.js +0 -1
  129. package/dist/assets/ArchiveRoute-BWE_JVjl.js +0 -1
  130. package/dist/assets/AuthenticatedApp-Bop-GglJ.css +0 -1
  131. package/dist/assets/AutomationRoute-CoJ8YGK2.js +0 -1
  132. package/dist/assets/BenchmarkRoute-BcRZ1AFC.js +0 -21
  133. package/dist/assets/ChatRoute-DBN4uo7j.js +0 -1
  134. package/dist/assets/Collapse-DDrFhfKr.js +0 -8
  135. package/dist/assets/ConfigEditors-jcXiTWRg.css +0 -1
  136. package/dist/assets/ConfigRoute-D5zxs-kv.css +0 -1
  137. package/dist/assets/ConfigRoute-z5Dj1ihn.js +0 -2
  138. package/dist/assets/ConfigSectionPanel-DHIwutHm.js +0 -13
  139. package/dist/assets/DockPanel-DuxVeJzf.js +0 -11
  140. package/dist/assets/DockPanel-HEMeJ1MR.css +0 -1
  141. package/dist/assets/InteractionStructureRoute-B8yJdycA.js +0 -1
  142. package/dist/assets/KnowledgeRoute-BPYnBocT.js +0 -1
  143. package/dist/assets/LauncherApp-BqKOigOK.js +0 -2
  144. package/dist/assets/LauncherRoute-C1g-gjbs.js +0 -2
  145. package/dist/assets/LauncherRoute-DtjtKtXc.css +0 -1
  146. package/dist/assets/PluginStoreRoute-Bny2x-oC.css +0 -1
  147. package/dist/assets/PluginStoreRoute-CGIBez_4.js +0 -3
  148. package/dist/assets/SchemaObjectEditor-BdzgIkYh.js +0 -1
  149. package/dist/assets/WorkspaceApp-DGL3CHCp.js +0 -46
  150. package/dist/assets/agent-room-session-paths-Bl0JdX79.js +0 -153
  151. package/dist/assets/agent-room-session-paths-CCE5rS0K.css +0 -32
  152. package/dist/assets/channel-X7k9544o.js +0 -1
  153. package/dist/assets/classDiagram-beda092f-C--_J0De.js +0 -2
  154. package/dist/assets/classDiagram-v2-2358418a-VLoB_o-4.js +0 -2
  155. package/dist/assets/client-build-info-CUyezPn4.js +0 -37
  156. package/dist/assets/client-build-info-CgBKDSmG.css +0 -1
  157. package/dist/assets/clone-BsR4Dtrm.js +0 -1
  158. package/dist/assets/copy-OJ_6Pvs2.js +0 -28
  159. package/dist/assets/cssMode-Dg95dCSS.js +0 -1
  160. package/dist/assets/flowDiagram-v2-4f6560a1-DZXqc8d3.js +0 -1
  161. package/dist/assets/ganttDiagram-a2739b55-SFoaaNUl.js +0 -257
  162. package/dist/assets/handlebars-DvhbIeVz.js +0 -1
  163. package/dist/assets/html-B6ANaoGC.js +0 -1
  164. package/dist/assets/htmlMode-CA_KA1J8.js +0 -1
  165. package/dist/assets/index-BfLbHhFR.js +0 -13
  166. package/dist/assets/index-C9FQLbWu.js +0 -1
  167. package/dist/assets/index-DA1kZA8X.css +0 -1
  168. package/dist/assets/index-Dn-Bbs_z.js +0 -705
  169. package/dist/assets/javascript-qaeO24NX.js +0 -1
  170. package/dist/assets/liquid-yYJuHMAu.js +0 -1
  171. package/dist/assets/mdx-CrAkCLhE.js +0 -1
  172. package/dist/assets/python-h0Aqhxqi.js +0 -1
  173. package/dist/assets/razor-DalkOWO-.js +0 -1
  174. package/dist/assets/sankeyDiagram-a04cb91d-C9DgEVjM.js +0 -8
  175. package/dist/assets/stateDiagram-1ecb1508-DDRxhJDf.js +0 -1
  176. package/dist/assets/stateDiagram-v2-c2b004d7-CIob4OCF.js +0 -1
  177. package/dist/assets/typescript-Bn-lx_lA.js +0 -1
  178. package/dist/assets/use-app-preferences-B4K999VJ.js +0 -1
  179. package/dist/assets/use-chat-session-actions-5N-NQ9my.js +0 -2
  180. package/dist/assets/use-project-theme-preview-sources-5CPt1X2N.js +0 -1
  181. package/dist/assets/vendor-state-CBVXPiKY.js +0 -1
  182. package/dist/assets/workspace-file-openers-DAuX65xw.js +0 -1
  183. package/dist/assets/workspace-file-openers-erSFu-UO.css +0 -1
  184. package/dist/assets/xml-C1SO5DSd.js +0 -1
  185. package/dist/assets/yaml-DihjE03_.js +0 -1
@@ -0,0 +1,71 @@
1
+ <svg
2
+ width="1183"
3
+ height="719"
4
+ viewBox="0 0 1183 719"
5
+ fill="none"
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ >
8
+ <path
9
+ d="M414.688 359.358C414.688 319.91 446.996 287.603 486.444 287.603C525.891 287.603 558.199 319.91 558.199 359.358C558.199 398.805 525.891 431.113 486.444 431.113C446.996 431.113 414.688 398.805 414.688 359.358Z"
10
+ stroke="black"
11
+ stroke-opacity="0.12"
12
+ stroke-width="1.59259"
13
+ />
14
+ <path
15
+ d="M2.38867 359.358C2.38867 319.91 34.696 287.603 74.1439 287.603C113.592 287.603 145.899 319.91 145.899 359.358C145.899 398.805 113.592 431.113 74.1439 431.113C34.696 431.113 2.38867 398.805 2.38867 359.358Z"
16
+ stroke="black"
17
+ stroke-opacity="0.12"
18
+ stroke-width="1.59259"
19
+ />
20
+ <path
21
+ d="M208.539 154.491C208.539 115.043 240.846 82.7354 280.293 82.7354C319.742 82.7354 352.049 115.043 352.049 154.491C352.049 193.938 319.742 226.246 280.293 226.246C240.846 226.246 208.539 193.938 208.539 154.491Z"
22
+ stroke="black"
23
+ stroke-opacity="0.12"
24
+ stroke-width="1.59259"
25
+ />
26
+ <path
27
+ d="M208.539 564.406C208.539 524.958 240.846 492.65 280.293 492.65C319.742 492.65 352.049 524.958 352.049 564.406C352.049 603.855 319.742 636.162 280.293 636.162C240.846 636.162 208.539 603.855 208.539 564.406Z"
28
+ stroke="black"
29
+ stroke-opacity="0.12"
30
+ stroke-width="1.59259"
31
+ />
32
+ <path
33
+ d="M413.892 81.9395V636.777M146.694 81.9395V636.777"
34
+ stroke="black"
35
+ stroke-opacity="0.12"
36
+ stroke-width="1.59259"
37
+ stroke-miterlimit="10"
38
+ />
39
+ <path
40
+ d="M558.995 227.042H1.59277M1.59277 491.674H558.995"
41
+ stroke="black"
42
+ stroke-opacity="0.12"
43
+ stroke-width="1.59259"
44
+ stroke-miterlimit="10"
45
+ />
46
+ <path
47
+ d="M249.176 323.434V298.276C249.176 296.158 249.971 294.569 251.825 293.509L302.406 264.381C309.29 260.409 317.5 258.555 325.973 258.555C357.75 258.555 377.877 283.185 377.877 309.399C377.877 311.253 377.877 313.371 377.611 315.49L325.178 284.771C322.001 282.919 318.822 282.919 315.645 284.771L249.176 323.434ZM367.283 421.415V361.301C367.283 357.592 365.694 354.945 362.516 353.092L296.048 314.43L317.763 301.982C319.617 300.925 321.206 300.925 323.058 301.982L373.639 331.112C388.205 339.586 398.003 357.592 398.003 375.069C398.003 395.195 386.087 413.733 367.283 421.412V421.415ZM233.553 368.452L211.838 355.742C209.986 354.684 209.19 353.095 209.19 350.975V292.718C209.19 264.383 230.905 242.932 260.301 242.932C271.423 242.932 281.748 246.641 290.49 253.26L238.321 283.449C235.146 285.303 233.555 287.951 233.555 291.659V368.455L233.553 368.452ZM280.292 395.462L249.176 377.985V340.913L280.292 323.436L311.407 340.913V377.985L280.292 395.462ZM300.286 475.968C289.163 475.968 278.837 472.259 270.097 465.64L322.264 435.449C325.441 433.597 327.03 430.949 327.03 427.239V350.445L349.011 363.155C350.865 364.213 351.66 365.802 351.66 367.922V426.179C351.66 454.514 329.679 475.965 300.286 475.965V475.968ZM237.525 416.915L186.944 387.785C172.378 379.31 162.582 361.305 162.582 343.827C162.582 323.436 174.763 305.164 193.563 297.485V357.861C193.563 361.571 195.154 364.217 198.33 366.071L264.535 404.467L242.82 416.915C240.967 417.972 239.377 417.972 237.525 416.915ZM234.614 460.343C204.689 460.343 182.71 437.833 182.71 410.028C182.71 407.91 182.976 405.792 183.238 403.672L235.405 433.863C238.582 435.715 241.763 435.715 244.938 433.863L311.407 395.466V420.622C311.407 422.742 310.612 424.331 308.758 425.389L258.179 454.519C251.293 458.491 243.083 460.343 234.611 460.343H234.614ZM300.286 491.854C332.329 491.854 359.073 469.082 365.167 438.892C394.825 431.211 413.892 403.406 413.892 375.073C413.892 356.535 405.948 338.529 391.648 325.552C392.972 319.991 393.766 314.43 393.766 308.87C393.766 271.003 363.048 242.666 327.562 242.666C320.413 242.666 313.528 243.723 306.644 246.109C294.725 234.457 278.307 227.042 260.301 227.042C228.258 227.042 201.513 249.815 195.42 280.004C165.761 287.685 146.694 315.49 146.694 343.824C146.694 362.362 154.638 380.368 168.938 393.344C167.613 398.906 166.819 404.467 166.819 410.027C166.819 447.894 197.538 476.231 233.024 476.231C240.172 476.231 247.058 475.173 253.943 472.788C265.859 484.441 282.278 491.854 300.286 491.854Z"
48
+ fill="black"
49
+ />
50
+ <path
51
+ d="M558.995 81.9395H1.59277V636.777H558.995V81.9395Z"
52
+ stroke="black"
53
+ stroke-opacity="0.12"
54
+ stroke-width="1.59259"
55
+ stroke-miterlimit="10"
56
+ />
57
+ <rect
58
+ x="624.593"
59
+ y="83.1855"
60
+ width="557.407"
61
+ height="555.815"
62
+ stroke="black"
63
+ stroke-opacity="0.12"
64
+ stroke-width="1.59259"
65
+ stroke-miterlimit="10"
66
+ />
67
+ <path
68
+ d="M872.176 325.027V299.869C872.176 297.751 872.971 296.161 874.825 295.102L925.406 265.974C932.29 262.002 940.5 260.148 948.973 260.148C980.75 260.148 1000.88 284.777 1000.88 310.992C1000.88 312.845 1000.88 314.963 1000.61 317.083L948.178 286.364C945.001 284.512 941.822 284.512 938.645 286.364L872.176 325.027ZM990.283 423.008V362.894C990.283 359.185 988.694 356.538 985.516 354.684L919.048 316.023L940.763 303.575C942.617 302.517 944.206 302.517 946.058 303.575L996.639 332.705C1011.2 341.179 1021 359.185 1021 376.662C1021 396.788 1009.09 415.325 990.283 423.005V423.008ZM856.553 370.045L834.838 357.334C832.986 356.277 832.19 354.688 832.19 352.568V294.311C832.19 265.975 853.905 244.525 883.301 244.525C894.423 244.525 904.748 248.234 913.49 254.853L861.321 285.042C858.146 286.896 856.555 289.544 856.555 293.252V370.048L856.553 370.045ZM903.292 397.055L872.176 379.578V342.506L903.292 325.029L934.407 342.506V379.578L903.292 397.055ZM923.286 477.561C912.163 477.561 901.837 473.852 893.097 467.233L945.264 437.042C948.441 435.19 950.03 432.541 950.03 428.832V352.037L972.011 364.748C973.865 365.805 974.66 367.395 974.66 369.515V427.772C974.66 456.107 952.679 477.558 923.286 477.558V477.561ZM860.525 418.507L809.944 389.377C795.378 380.903 785.582 362.897 785.582 345.42C785.582 325.029 797.763 306.757 816.563 299.077V359.454C816.563 363.163 818.154 365.81 821.33 367.664L887.535 406.06L865.82 418.507C863.967 419.565 862.377 419.565 860.525 418.507ZM857.614 461.936C827.689 461.936 805.71 439.426 805.71 411.621C805.71 409.503 805.976 407.385 806.238 405.265L858.405 435.456C861.582 437.308 864.763 437.308 867.938 435.456L934.407 397.058V422.215C934.407 424.335 933.612 425.924 931.758 426.982L881.179 456.112C874.293 460.084 866.083 461.936 857.611 461.936H857.614ZM923.286 493.447C955.329 493.447 982.073 470.674 988.167 440.485C1017.83 432.804 1036.89 404.999 1036.89 376.665C1036.89 358.128 1028.95 340.122 1014.65 327.145C1015.97 321.584 1016.77 316.023 1016.77 310.463C1016.77 272.596 986.048 244.259 950.562 244.259C943.413 244.259 936.528 245.316 929.644 247.702C917.725 236.049 901.307 228.635 883.301 228.635C851.258 228.635 824.513 251.408 818.42 281.597C788.761 289.278 769.694 317.083 769.694 345.417C769.694 363.955 777.638 381.961 791.938 394.937C790.613 400.498 789.819 406.06 789.819 411.62C789.819 449.487 820.538 477.824 856.024 477.824C863.172 477.824 870.058 476.766 876.943 474.38C888.859 486.033 905.278 493.447 923.286 493.447Z"
69
+ fill="black"
70
+ />
71
+ </svg>
@@ -1,6 +1,6 @@
1
- import{aI as Z,a as rt,s as at,b as lt,c as ot,v as ct,x as ht,l as et,g as it,aJ as ut,aH as yt,aK as pt,e as ft,i as gt,z as dt,aL as mt}from"./mermaid.core-DWzpZH_g.js";import"./AuthenticatedApp-BTs4l2pB.js";import{a as tt}from"./arc-BXsvCKst.js";import{o as _t}from"./ordinal-Cboi1Yqb.js";import{a as xt}from"./array-BKyUJesY.js";import{c as z}from"./path-CbwjOpE9.js";import"./index-Dn-Bbs_z.js";import"./vendor-react-BNJ5yonH.js";import"./vendor-state-CBVXPiKY.js";import"./client-build-info-CUyezPn4.js";import"./use-app-preferences-B4K999VJ.js";import"./copy-OJ_6Pvs2.js";import"./WorkspaceApp-DGL3CHCp.js";import"./init-Gi6I4Gst.js";function kt(e,u){return u<e?-1:u>e?1:u>=e?0:NaN}function vt(e){return e}function bt(){var e=vt,u=kt,$=null,f=z(0),g=z(Z),A=z(0);function y(a){var l,d=(a=xt(a)).length,k,I,T=0,m=new Array(d),v=new Array(d),c=+f.apply(this,arguments),E=Math.min(Z,Math.max(-Z,g.apply(this,arguments)-c)),O,w=Math.min(Math.abs(E)/d,A.apply(this,arguments)),b=w*(E<0?-1:1),t;for(l=0;l<d;++l)(t=v[m[l]=l]=+e(a[l],l,a))>0&&(T+=t);for(u!=null?m.sort(function(i,n){return u(v[i],v[n])}):$!=null&&m.sort(function(i,n){return $(a[i],a[n])}),l=0,I=T?(E-d*b)/T:0;l<d;++l,c=O)k=m[l],t=v[k],O=c+(t>0?t*I:0)+b,v[k]={data:a[k],index:l,value:t,startAngle:c,endAngle:O,padAngle:w};return v}return y.value=function(a){return arguments.length?(e=typeof a=="function"?a:z(+a),y):e},y.sortValues=function(a){return arguments.length?(u=a,$=null,y):u},y.sort=function(a){return arguments.length?($=a,u=null,y):$},y.startAngle=function(a){return arguments.length?(f=typeof a=="function"?a:z(+a),y):f},y.endAngle=function(a){return arguments.length?(g=typeof a=="function"?a:z(+a),y):g},y.padAngle=function(a){return arguments.length?(A=typeof a=="function"?a:z(+a),y):A},y}var q=function(){var e=function(b,t,i,n){for(i=i||{},n=b.length;n--;i[b[n]]=t);return i},u=[1,3],$=[1,4],f=[1,5],g=[1,6],A=[1,10,12,14,16,18,19,20,21,22],y=[2,4],a=[1,5,10,12,14,16,18,19,20,21,22],l=[20,21,22],d=[2,7],k=[1,12],I=[1,13],T=[1,14],m=[1,15],v=[1,16],c=[1,17],E={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,PIE:5,document:6,showData:7,line:8,statement:9,txt:10,value:11,title:12,title_value:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,section:19,NEWLINE:20,";":21,EOF:22,$accept:0,$end:1},terminals_:{2:"error",5:"PIE",7:"showData",10:"txt",11:"value",12:"title",13:"title_value",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"section",20:"NEWLINE",21:";",22:"EOF"},productions_:[0,[3,2],[3,2],[3,3],[6,0],[6,2],[8,2],[9,0],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[4,1],[4,1],[4,1]],performAction:function(t,i,n,r,o,s,P){var _=s.length-1;switch(o){case 3:r.setShowData(!0);break;case 6:this.$=s[_-1];break;case 8:r.addSection(s[_-1],r.cleanupValue(s[_]));break;case 9:this.$=s[_].trim(),r.setDiagramTitle(this.$);break;case 10:this.$=s[_].trim(),r.setAccTitle(this.$);break;case 11:case 12:this.$=s[_].trim(),r.setAccDescription(this.$);break;case 13:r.addSection(s[_].substr(8)),this.$=s[_].substr(8);break}},table:[{3:1,4:2,5:u,20:$,21:f,22:g},{1:[3]},{3:7,4:2,5:u,20:$,21:f,22:g},e(A,y,{6:8,7:[1,9]}),e(a,[2,14]),e(a,[2,15]),e(a,[2,16]),{1:[2,1]},e(l,d,{8:10,9:11,1:[2,2],10:k,12:I,14:T,16:m,18:v,19:c}),e(A,y,{6:18}),e(A,[2,5]),{4:19,20:$,21:f,22:g},{11:[1,20]},{13:[1,21]},{15:[1,22]},{17:[1,23]},e(l,[2,12]),e(l,[2,13]),e(l,d,{8:10,9:11,1:[2,3],10:k,12:I,14:T,16:m,18:v,19:c}),e(A,[2,6]),e(l,[2,8]),e(l,[2,9]),e(l,[2,10]),e(l,[2,11])],defaultActions:{7:[2,1]},parseError:function(t,i){if(i.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=i,n}},parse:function(t){var i=this,n=[0],r=[],o=[null],s=[],P=this.table,_="",p=0,V=0,F=2,M=1,B=s.slice.call(arguments,1),h=Object.create(this.lexer),L={yy:{}};for(var Y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Y)&&(L.yy[Y]=this.yy[Y]);h.setInput(t,L.yy),L.yy.lexer=h,L.yy.parser=this,typeof h.yylloc>"u"&&(h.yylloc={});var H=h.yylloc;s.push(H);var nt=h.options&&h.options.ranges;typeof L.yy.parseError=="function"?this.parseError=L.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function st(){var C;return C=r.pop()||h.lex()||M,typeof C!="number"&&(C instanceof Array&&(r=C,C=r.pop()),C=i.symbols_[C]||C),C}for(var x,N,S,J,R={},j,D,X,W;;){if(N=n[n.length-1],this.defaultActions[N]?S=this.defaultActions[N]:((x===null||typeof x>"u")&&(x=st()),S=P[N]&&P[N][x]),typeof S>"u"||!S.length||!S[0]){var K="";W=[];for(j in P[N])this.terminals_[j]&&j>F&&W.push("'"+this.terminals_[j]+"'");h.showPosition?K="Parse error on line "+(p+1)+`:
1
+ import{aI as Z,a as rt,s as at,b as lt,c as ot,v as ct,x as ht,l as et,g as it,aJ as ut,aH as pt,aK as yt,e as ft,i as gt,z as dt,aL as mt}from"./mermaid.core-VYJIZL_J.js";import"./AuthenticatedApp-CK9TT7Nk.js";import{a as tt}from"./arc-Xh4h56Fv.js";import{o as _t}from"./ordinal-Cboi1Yqb.js";import{a as xt}from"./array-BKyUJesY.js";import{c as z}from"./path-CbwjOpE9.js";import"./index-DdUqPqXW.js";import"./vendor-react-CnooHTJc.js";import"./vendor-state-zjcHRN98.js";import"./MobileAwareSelect-CCAQrsxL.js";import"./use-app-preferences-DGCafwsP.js";import"./route-plugin-chrome-bV1HEaju.js";import"./shortcutUtils-B8h6g_7o.js";import"./project-file-tree-icons-CfonMx-1.js";import"./WorkspaceApp-l-h_IsMp.js";import"./index-ZOsqqPVv.js";import"./client-build-info-6B4KoYHs.js";import"./init-Gi6I4Gst.js";function kt(e,u){return u<e?-1:u>e?1:u>=e?0:NaN}function vt(e){return e}function bt(){var e=vt,u=kt,$=null,f=z(0),g=z(Z),A=z(0);function p(a){var l,d=(a=xt(a)).length,k,I,T=0,m=new Array(d),v=new Array(d),c=+f.apply(this,arguments),E=Math.min(Z,Math.max(-Z,g.apply(this,arguments)-c)),O,w=Math.min(Math.abs(E)/d,A.apply(this,arguments)),b=w*(E<0?-1:1),t;for(l=0;l<d;++l)(t=v[m[l]=l]=+e(a[l],l,a))>0&&(T+=t);for(u!=null?m.sort(function(i,n){return u(v[i],v[n])}):$!=null&&m.sort(function(i,n){return $(a[i],a[n])}),l=0,I=T?(E-d*b)/T:0;l<d;++l,c=O)k=m[l],t=v[k],O=c+(t>0?t*I:0)+b,v[k]={data:a[k],index:l,value:t,startAngle:c,endAngle:O,padAngle:w};return v}return p.value=function(a){return arguments.length?(e=typeof a=="function"?a:z(+a),p):e},p.sortValues=function(a){return arguments.length?(u=a,$=null,p):u},p.sort=function(a){return arguments.length?($=a,u=null,p):$},p.startAngle=function(a){return arguments.length?(f=typeof a=="function"?a:z(+a),p):f},p.endAngle=function(a){return arguments.length?(g=typeof a=="function"?a:z(+a),p):g},p.padAngle=function(a){return arguments.length?(A=typeof a=="function"?a:z(+a),p):A},p}var q=function(){var e=function(b,t,i,n){for(i=i||{},n=b.length;n--;i[b[n]]=t);return i},u=[1,3],$=[1,4],f=[1,5],g=[1,6],A=[1,10,12,14,16,18,19,20,21,22],p=[2,4],a=[1,5,10,12,14,16,18,19,20,21,22],l=[20,21,22],d=[2,7],k=[1,12],I=[1,13],T=[1,14],m=[1,15],v=[1,16],c=[1,17],E={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,PIE:5,document:6,showData:7,line:8,statement:9,txt:10,value:11,title:12,title_value:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,section:19,NEWLINE:20,";":21,EOF:22,$accept:0,$end:1},terminals_:{2:"error",5:"PIE",7:"showData",10:"txt",11:"value",12:"title",13:"title_value",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"section",20:"NEWLINE",21:";",22:"EOF"},productions_:[0,[3,2],[3,2],[3,3],[6,0],[6,2],[8,2],[9,0],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[4,1],[4,1],[4,1]],performAction:function(t,i,n,r,o,s,P){var _=s.length-1;switch(o){case 3:r.setShowData(!0);break;case 6:this.$=s[_-1];break;case 8:r.addSection(s[_-1],r.cleanupValue(s[_]));break;case 9:this.$=s[_].trim(),r.setDiagramTitle(this.$);break;case 10:this.$=s[_].trim(),r.setAccTitle(this.$);break;case 11:case 12:this.$=s[_].trim(),r.setAccDescription(this.$);break;case 13:r.addSection(s[_].substr(8)),this.$=s[_].substr(8);break}},table:[{3:1,4:2,5:u,20:$,21:f,22:g},{1:[3]},{3:7,4:2,5:u,20:$,21:f,22:g},e(A,p,{6:8,7:[1,9]}),e(a,[2,14]),e(a,[2,15]),e(a,[2,16]),{1:[2,1]},e(l,d,{8:10,9:11,1:[2,2],10:k,12:I,14:T,16:m,18:v,19:c}),e(A,p,{6:18}),e(A,[2,5]),{4:19,20:$,21:f,22:g},{11:[1,20]},{13:[1,21]},{15:[1,22]},{17:[1,23]},e(l,[2,12]),e(l,[2,13]),e(l,d,{8:10,9:11,1:[2,3],10:k,12:I,14:T,16:m,18:v,19:c}),e(A,[2,6]),e(l,[2,8]),e(l,[2,9]),e(l,[2,10]),e(l,[2,11])],defaultActions:{7:[2,1]},parseError:function(t,i){if(i.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=i,n}},parse:function(t){var i=this,n=[0],r=[],o=[null],s=[],P=this.table,_="",y=0,V=0,F=2,M=1,B=s.slice.call(arguments,1),h=Object.create(this.lexer),L={yy:{}};for(var Y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Y)&&(L.yy[Y]=this.yy[Y]);h.setInput(t,L.yy),L.yy.lexer=h,L.yy.parser=this,typeof h.yylloc>"u"&&(h.yylloc={});var H=h.yylloc;s.push(H);var nt=h.options&&h.options.ranges;typeof L.yy.parseError=="function"?this.parseError=L.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function st(){var C;return C=r.pop()||h.lex()||M,typeof C!="number"&&(C instanceof Array&&(r=C,C=r.pop()),C=i.symbols_[C]||C),C}for(var x,N,S,J,R={},j,D,X,W;;){if(N=n[n.length-1],this.defaultActions[N]?S=this.defaultActions[N]:((x===null||typeof x>"u")&&(x=st()),S=P[N]&&P[N][x]),typeof S>"u"||!S.length||!S[0]){var K="";W=[];for(j in P[N])this.terminals_[j]&&j>F&&W.push("'"+this.terminals_[j]+"'");h.showPosition?K="Parse error on line "+(y+1)+`:
2
2
  `+h.showPosition()+`
3
- Expecting `+W.join(", ")+", got '"+(this.terminals_[x]||x)+"'":K="Parse error on line "+(p+1)+": Unexpected "+(x==M?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(K,{text:h.match,token:this.terminals_[x]||x,line:h.yylineno,loc:H,expected:W})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+N+", token: "+x);switch(S[0]){case 1:n.push(x),o.push(h.yytext),s.push(h.yylloc),n.push(S[1]),x=null,V=h.yyleng,_=h.yytext,p=h.yylineno,H=h.yylloc;break;case 2:if(D=this.productions_[S[1]][1],R.$=o[o.length-D],R._$={first_line:s[s.length-(D||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(D||1)].first_column,last_column:s[s.length-1].last_column},nt&&(R._$.range=[s[s.length-(D||1)].range[0],s[s.length-1].range[1]]),J=this.performAction.apply(R,[_,V,p,L.yy,S[1],o,s].concat(B)),typeof J<"u")return J;D&&(n=n.slice(0,-1*D*2),o=o.slice(0,-1*D),s=s.slice(0,-1*D)),n.push(this.productions_[S[1]][0]),o.push(R.$),s.push(R._$),X=P[n[n.length-2]][n[n.length-1]],n.push(X);break;case 3:return!0}}return!0}},O=function(){var b={EOF:1,parseError:function(i,n){if(this.yy.parser)this.yy.parser.parseError(i,n);else throw new Error(i)},setInput:function(t,i){return this.yy=i||this.yy||{},this._input=t,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},input:function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var i=t.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var i=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;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 o=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-i},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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).
3
+ Expecting `+W.join(", ")+", got '"+(this.terminals_[x]||x)+"'":K="Parse error on line "+(y+1)+": Unexpected "+(x==M?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(K,{text:h.match,token:this.terminals_[x]||x,line:h.yylineno,loc:H,expected:W})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+N+", token: "+x);switch(S[0]){case 1:n.push(x),o.push(h.yytext),s.push(h.yylloc),n.push(S[1]),x=null,V=h.yyleng,_=h.yytext,y=h.yylineno,H=h.yylloc;break;case 2:if(D=this.productions_[S[1]][1],R.$=o[o.length-D],R._$={first_line:s[s.length-(D||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(D||1)].first_column,last_column:s[s.length-1].last_column},nt&&(R._$.range=[s[s.length-(D||1)].range[0],s[s.length-1].range[1]]),J=this.performAction.apply(R,[_,V,y,L.yy,S[1],o,s].concat(B)),typeof J<"u")return J;D&&(n=n.slice(0,-1*D*2),o=o.slice(0,-1*D),s=s.slice(0,-1*D)),n.push(this.productions_[S[1]][0]),o.push(R.$),s.push(R._$),X=P[n[n.length-2]][n[n.length-1]],n.push(X);break;case 3:return!0}}return!0}},O=function(){var b={EOF:1,parseError:function(i,n){if(this.yy.parser)this.yy.parser.parseError(i,n);else throw new Error(i)},setInput:function(t,i){return this.yy=i||this.yy||{},this._input=t,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},input:function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var i=t.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var i=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;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 o=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-i},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+`
5
5
  `+i+"^"},test_match:function(t,i){var n,r,o;if(this.options.backtrack_lexer&&(o={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&&(o.yylloc.range=this.yylloc.range.slice(0))),r=t[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+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var s in o)this[s]=o[s];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var t,i,n,r;this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),s=0;s<o.length;s++)if(n=this._input.match(this.rules[o[s]]),n&&(!i||n[0].length>i[0].length)){if(i=n,r=s,this.options.backtrack_lexer){if(t=this.test_match(n,o[s]),t!==!1)return t;if(this._backtrack){i=!1;continue}else return!1}else if(!this.options.flex)break}return i?(t=this.test_match(i,o[r]),t!==!1?t:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
6
  `+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var i=this.next();return i||this.lex()},begin:function(i){this.conditionStack.push(i)},popState:function(){var i=this.conditionStack.length-1;return i>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(i){return i=this.conditionStack.length-1-Math.abs(i||0),i>=0?this.conditionStack[i]:"INITIAL"},pushState:function(i){this.begin(i)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(i,n,r,o){switch(r){case 0:break;case 1:break;case 2:return 20;case 3:break;case 4:break;case 5:return this.begin("title"),12;case 6:return this.popState(),"title_value";case 7:return this.begin("acc_title"),14;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),16;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 15:this.popState();break;case 16:return"txt";case 17:return 5;case 18:return 7;case 19:return"value";case 20:return 22}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[6],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,7,9,11,14,17,18,19,20],inclusive:!0}}};return b}();E.lexer=O;function w(){this.yy={}}return w.prototype=E,E.Parser=w,new w}();q.parser=q;const St=q,$t=mt.pie,G={sections:{},showData:!1};let U=G.sections,Q=G.showData;const At=structuredClone($t),Et=()=>structuredClone(At),wt=()=>{U=structuredClone(G.sections),Q=G.showData,dt()},Tt=(e,u)=>{e=gt(e,it()),U[e]===void 0&&(U[e]=u,et.debug(`added new section: ${e}, with value: ${u}`))},It=()=>U,Dt=e=>(e.substring(0,1)===":"&&(e=e.substring(1).trim()),Number(e.trim())),Ct=e=>{Q=e},Ot=()=>Q,Pt={getConfig:Et,clear:wt,setDiagramTitle:ht,getDiagramTitle:ct,setAccTitle:ot,getAccTitle:lt,setAccDescription:at,getAccDescription:rt,addSection:Tt,getSections:It,cleanupValue:Dt,setShowData:Ct,getShowData:Ot},Vt=e=>`
@@ -32,4 +32,4 @@ Expecting `+W.join(", ")+", got '"+(this.terminals_[x]||x)+"'":K="Parse error on
32
32
  font-size: ${e.pieLegendTextSize};
33
33
  }
34
34
  `,Lt=Vt,Nt=e=>{const u=Object.entries(e).map(f=>({label:f[0],value:f[1]})).sort((f,g)=>g.value-f.value);return bt().value(f=>f.value)(u)},zt=(e,u,$,f)=>{et.debug(`rendering pie chart
35
- `+e);const g=f.db,A=it(),y=ut(g.getConfig(),A.pie),a=40,l=18,d=4,k=450,I=k,T=yt(u),m=T.append("g"),v=g.getSections();m.attr("transform","translate("+I/2+","+k/2+")");const{themeVariables:c}=A;let[E]=pt(c.pieOuterStrokeWidth);E??(E=2);const O=y.textPosition,w=Math.min(I,k)/2-a,b=tt().innerRadius(0).outerRadius(w),t=tt().innerRadius(w*O).outerRadius(w*O);m.append("circle").attr("cx",0).attr("cy",0).attr("r",w+E/2).attr("class","pieOuterCircle");const i=Nt(v),n=[c.pie1,c.pie2,c.pie3,c.pie4,c.pie5,c.pie6,c.pie7,c.pie8,c.pie9,c.pie10,c.pie11,c.pie12],r=_t(n);m.selectAll("mySlices").data(i).enter().append("path").attr("d",b).attr("fill",p=>r(p.data.label)).attr("class","pieCircle");let o=0;Object.keys(v).forEach(p=>{o+=v[p]}),m.selectAll("mySlices").data(i).enter().append("text").text(p=>(p.data.value/o*100).toFixed(0)+"%").attr("transform",p=>"translate("+t.centroid(p)+")").style("text-anchor","middle").attr("class","slice"),m.append("text").text(g.getDiagramTitle()).attr("x",0).attr("y",-400/2).attr("class","pieTitleText");const s=m.selectAll(".legend").data(r.domain()).enter().append("g").attr("class","legend").attr("transform",(p,V)=>{const F=l+d,M=F*r.domain().length/2,B=12*l,h=V*F-M;return"translate("+B+","+h+")"});s.append("rect").attr("width",l).attr("height",l).style("fill",r).style("stroke",r),s.data(i).append("text").attr("x",l+d).attr("y",l-d).text(p=>{const{label:V,value:F}=p.data;return g.getShowData()?`${V} [${F}]`:V});const P=Math.max(...s.selectAll("text").nodes().map(p=>(p==null?void 0:p.getBoundingClientRect().width)??0)),_=I+a+l+d+P;T.attr("viewBox",`0 0 ${_} ${k}`),ft(T,k,_,y.useMaxWidth)},Ft={draw:zt},Xt={parser:St,db:Pt,renderer:Ft,styles:Lt};export{Xt as diagram};
35
+ `+e);const g=f.db,A=it(),p=ut(g.getConfig(),A.pie),a=40,l=18,d=4,k=450,I=k,T=pt(u),m=T.append("g"),v=g.getSections();m.attr("transform","translate("+I/2+","+k/2+")");const{themeVariables:c}=A;let[E]=yt(c.pieOuterStrokeWidth);E??(E=2);const O=p.textPosition,w=Math.min(I,k)/2-a,b=tt().innerRadius(0).outerRadius(w),t=tt().innerRadius(w*O).outerRadius(w*O);m.append("circle").attr("cx",0).attr("cy",0).attr("r",w+E/2).attr("class","pieOuterCircle");const i=Nt(v),n=[c.pie1,c.pie2,c.pie3,c.pie4,c.pie5,c.pie6,c.pie7,c.pie8,c.pie9,c.pie10,c.pie11,c.pie12],r=_t(n);m.selectAll("mySlices").data(i).enter().append("path").attr("d",b).attr("fill",y=>r(y.data.label)).attr("class","pieCircle");let o=0;Object.keys(v).forEach(y=>{o+=v[y]}),m.selectAll("mySlices").data(i).enter().append("text").text(y=>(y.data.value/o*100).toFixed(0)+"%").attr("transform",y=>"translate("+t.centroid(y)+")").style("text-anchor","middle").attr("class","slice"),m.append("text").text(g.getDiagramTitle()).attr("x",0).attr("y",-400/2).attr("class","pieTitleText");const s=m.selectAll(".legend").data(r.domain()).enter().append("g").attr("class","legend").attr("transform",(y,V)=>{const F=l+d,M=F*r.domain().length/2,B=12*l,h=V*F-M;return"translate("+B+","+h+")"});s.append("rect").attr("width",l).attr("height",l).style("fill",r).style("stroke",r),s.data(i).append("text").attr("x",l+d).attr("y",l-d).text(y=>{const{label:V,value:F}=y.data;return g.getShowData()?`${V} [${F}]`:V});const P=Math.max(...s.selectAll("text").nodes().map(y=>(y==null?void 0:y.getBoundingClientRect().width)??0)),_=I+a+l+d+P;T.attr("viewBox",`0 0 ${_} ${k}`),ft(T,k,_,p.useMaxWidth)},Ft={draw:zt},ne={parser:St,db:Pt,renderer:Ft,styles:Lt};export{ne as diagram};
@@ -0,0 +1,2 @@
1
+ import{r as v,j as O}from"./vendor-react-CnooHTJc.js";import{aV as vt,aW as Bt,j as bt,aX as at,Y as Et,bi as st,l as St,m as xt,r as Ut,o as j,bG as Dt,bt as Lt,h as Qt,A as Ot,G as Pt,b1 as qt,a0 as Gt,ca as wt,cb as jt,cc as $t,cd as Vt,ce as Nt,cf as Rt,cg as Ht,ch as Yt,ci as Kt,cj as Zt,aI as zt,ck as N,cl as lt,c9 as R,cm as tt}from"./index-DdUqPqXW.js";import{u as Ct}from"./MobileAwareSelect-CCAQrsxL.js";import{u as Wt,e as ct,f as Xt}from"./vendor-state-zjcHRN98.js";import{a as Tt,u as rt}from"./use-app-preferences-DGCafwsP.js";var Ft=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],kt=v.forwardRef(function(t,e){var o,n=t.prefixCls,a=n===void 0?"rc-switch":n,i=t.className,l=t.checked,s=t.defaultChecked,c=t.disabled,r=t.loadingIcon,p=t.checkedChildren,g=t.unCheckedChildren,A=t.onClick,b=t.onChange,B=t.onKeyDown,E=vt(t,Ft),D=Ct(!1,{value:l,defaultValue:s}),L=Bt(D,2),S=L[0],M=L[1];function y(k,G){var Q=S;return c||(Q=k,M(Q),b==null||b(Q,G)),Q}function I(k){k.which===st.LEFT?y(!1,k):k.which===st.RIGHT&&y(!0,k),B==null||B(k)}function u(k){var G=y(!S,k);A==null||A(G,k)}var x=bt(a,i,(o={},at(o,"".concat(a,"-checked"),S),at(o,"".concat(a,"-disabled"),c),o));return v.createElement("button",Et({},E,{type:"button",role:"switch","aria-checked":S,disabled:c,className:x,ref:e,onKeyDown:I,onClick:u}),r,v.createElement("span",{className:"".concat(a,"-inner")},v.createElement("span",{className:"".concat(a,"-inner-checked")},p),v.createElement("span",{className:"".concat(a,"-inner-unchecked")},g)))});kt.displayName="Switch";const Jt=t=>{const{componentCls:e,trackHeightSM:o,trackPadding:n,trackMinWidthSM:a,innerMinMarginSM:i,innerMaxMarginSM:l,handleSizeSM:s,calc:c}=t,r=`${e}-inner`,p=j(c(s).add(c(n).mul(2)).equal()),g=j(c(l).mul(2).equal());return{[e]:{[`&${e}-small`]:{minWidth:a,height:o,lineHeight:j(o),[`${e}-inner`]:{paddingInlineStart:l,paddingInlineEnd:i,[`${r}-checked, ${r}-unchecked`]:{minHeight:o},[`${r}-checked`]:{marginInlineStart:`calc(-100% + ${p} - ${g})`,marginInlineEnd:`calc(100% - ${p} + ${g})`},[`${r}-unchecked`]:{marginTop:c(o).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${e}-handle`]:{width:s,height:s},[`${e}-loading-icon`]:{top:c(c(s).sub(t.switchLoadingIconSize)).div(2).equal(),fontSize:t.switchLoadingIconSize},[`&${e}-checked`]:{[`${e}-inner`]:{paddingInlineStart:i,paddingInlineEnd:l,[`${r}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${r}-unchecked`]:{marginInlineStart:`calc(100% - ${p} + ${g})`,marginInlineEnd:`calc(-100% + ${p} - ${g})`}},[`${e}-handle`]:{insetInlineStart:`calc(100% - ${j(c(s).add(n).equal())})`}},[`&:not(${e}-disabled):active`]:{[`&:not(${e}-checked) ${r}`]:{[`${r}-unchecked`]:{marginInlineStart:c(t.marginXXS).div(2).equal(),marginInlineEnd:c(t.marginXXS).mul(-1).div(2).equal()}},[`&${e}-checked ${r}`]:{[`${r}-checked`]:{marginInlineStart:c(t.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:c(t.marginXXS).div(2).equal()}}}}}}},_t=t=>{const{componentCls:e,handleSize:o,calc:n}=t;return{[e]:{[`${e}-loading-icon${t.iconCls}`]:{position:"relative",top:n(n(o).sub(t.fontSize)).div(2).equal(),color:t.switchLoadingIconColor,verticalAlign:"top"},[`&${e}-checked ${e}-loading-icon`]:{color:t.switchColor}}}},te=t=>{const{componentCls:e,trackPadding:o,handleBg:n,handleShadow:a,handleSize:i,calc:l}=t,s=`${e}-handle`;return{[e]:{[s]:{position:"absolute",top:o,insetInlineStart:o,width:i,height:i,transition:`all ${t.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:n,borderRadius:l(i).div(2).equal(),boxShadow:a,transition:`all ${t.switchDuration} ease-in-out`,content:'""'}},[`&${e}-checked ${s}`]:{insetInlineStart:`calc(100% - ${j(l(i).add(o).equal())})`},[`&:not(${e}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:t.switchHandleActiveInset,insetInlineStart:0},[`&${e}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:t.switchHandleActiveInset}}}}},ee=t=>{const{componentCls:e,trackHeight:o,trackPadding:n,innerMinMargin:a,innerMaxMargin:i,handleSize:l,calc:s}=t,c=`${e}-inner`,r=j(s(l).add(s(n).mul(2)).equal()),p=j(s(i).mul(2).equal());return{[e]:{[c]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:i,paddingInlineEnd:a,transition:`padding-inline-start ${t.switchDuration} ease-in-out, padding-inline-end ${t.switchDuration} ease-in-out`,[`${c}-checked, ${c}-unchecked`]:{display:"block",color:t.colorTextLightSolid,fontSize:t.fontSizeSM,transition:`margin-inline-start ${t.switchDuration} ease-in-out, margin-inline-end ${t.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:o},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${r} - ${p})`,marginInlineEnd:`calc(100% - ${r} + ${p})`},[`${c}-unchecked`]:{marginTop:s(o).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${e}-checked ${c}`]:{paddingInlineStart:a,paddingInlineEnd:i,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${r} + ${p})`,marginInlineEnd:`calc(-100% + ${r} - ${p})`}},[`&:not(${e}-disabled):active`]:{[`&:not(${e}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:s(n).mul(2).equal(),marginInlineEnd:s(n).mul(-1).mul(2).equal()}},[`&${e}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:s(n).mul(-1).mul(2).equal(),marginInlineEnd:s(n).mul(2).equal()}}}}}},oe=t=>{const{componentCls:e,trackHeight:o,trackMinWidth:n}=t;return{[e]:Object.assign(Object.assign(Object.assign(Object.assign({},Ut(t)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:n,height:o,lineHeight:j(o),verticalAlign:"middle",background:t.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${t.motionDurationMid}`,userSelect:"none",[`&:hover:not(${e}-disabled)`]:{background:t.colorTextTertiary}}),Dt(t)),{[`&${e}-checked`]:{background:t.switchColor,[`&:hover:not(${e}-disabled)`]:{background:t.colorPrimaryHover}},[`&${e}-loading, &${e}-disabled`]:{cursor:"not-allowed",opacity:t.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${e}-rtl`]:{direction:"rtl"}})}},ne=t=>{const{fontSize:e,lineHeight:o,controlHeight:n,colorWhite:a}=t,i=e*o,l=n/2,s=2,c=i-s*2,r=l-s*2;return{trackHeight:i,trackHeightSM:l,trackMinWidth:c*2+s*4,trackMinWidthSM:r*2+s*2,trackPadding:s,handleBg:a,handleSize:c,handleSizeSM:r,handleShadow:`0 2px 4px 0 ${new Lt("#00230b").setA(.2).toRgbString()}`,innerMinMargin:c/2,innerMaxMargin:c+s+s*2,innerMinMarginSM:r/2,innerMaxMarginSM:r+s+s*2}},ie=St("Switch",t=>{const e=xt(t,{switchDuration:t.motionDurationMid,switchColor:t.colorPrimary,switchDisabledOpacity:t.opacityLoading,switchLoadingIconSize:t.calc(t.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${t.opacityLoading})`,switchHandleActiveInset:"-30%"});return[oe(e),ee(e),te(e),_t(e),Jt(e)]},ne);var ae=function(t,e){var o={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(o[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(t);a<n.length;a++)e.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(t,n[a])&&(o[n[a]]=t[n[a]]);return o};const se=v.forwardRef((t,e)=>{const{prefixCls:o,size:n,disabled:a,loading:i,className:l,rootClassName:s,style:c,checked:r,value:p,defaultChecked:g,defaultValue:A,onChange:b}=t,B=ae(t,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[E,D]=Ct(!1,{value:r??p,defaultValue:g??A}),{getPrefixCls:L,direction:S,switch:M}=v.useContext(Qt),y=v.useContext(Ot),I=(a??y)||i,u=L("switch",o),x=v.createElement("div",{className:`${u}-handle`},i&&v.createElement(Gt,{className:`${u}-loading-icon`})),[k,G,Q]=ie(u),T=Pt(n),K=bt(M==null?void 0:M.className,{[`${u}-small`]:T==="small",[`${u}-loading`]:i,[`${u}-rtl`]:S==="rtl"},l,s,G,Q),Mt=Object.assign(Object.assign({},M==null?void 0:M.style),c),It=(...it)=>{D(it[0]),b==null||b.apply(void 0,it)};return k(v.createElement(qt,{component:"Switch",disabled:I},v.createElement(kt,Object.assign({},B,{checked:E,onChange:It,prefixCls:u,className:K,style:Mt,disabled:I,ref:e,loadingIcon:x}))))}),le=se;le.__ANT_SWITCH=!0;const ce=(t,e)=>t==="industrial"?e==="dark"?{glow:"rgba(255,96,24,0.32)",shadow:"rgba(255,88,24,0.2)",stroke:"rgba(255,178,80,0.28)"}:{glow:"rgba(226,63,18,0.24)",shadow:"rgba(128,42,8,0.16)",stroke:"rgba(128,42,8,0.22)"}:t==="matrix"?e==="dark"?{glow:"rgba(0,255,118,0.28)",shadow:"rgba(0,255,118,0.22)",stroke:"rgba(168,255,198,0.2)"}:{glow:"rgba(0,180,84,0.22)",shadow:"rgba(0,130,64,0.16)",stroke:"rgba(0,116,58,0.18)"}:e==="dark"?{glow:"rgba(245,246,232,0.18)",shadow:"rgba(245,246,232,0.14)",stroke:"rgba(237,241,224,0.16)"}:{glow:"rgba(255,255,255,0.56)",shadow:"rgba(31,34,33,0.16)",stroke:"rgba(255,255,255,0.52)"},dt=t=>String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"),d=t=>Number(t.toFixed(3)).toString(),et=t=>String(t??"").replace(/[^\w-]/g,"-").slice(0,36),q=(t,e,o)=>`x="${d(t)}" y="${d(t)}" width="${d(e)}" height="${d(e)}" rx="${d(o)}"`,re=(t,e,o)=>{const[n,...a]=t.points.map(l=>({x:e+l.x*o,y:e+l.y*o}));if(!n)return"";const i=[`M${d(n.x)} ${d(n.y)}`];for(const l of a)i.push(`L${d(l.x)} ${d(l.y)}`);return i.push("Z"),i.join(" ")},de=(t,e,o,n,a,i)=>{const l=pe(e,o,a,i),s=a==="dark"?['<stop offset="0%" stop-color="#160b07"/>','<stop offset="56%" stop-color="#090706"/>','<stop offset="100%" stop-color="#1b0d08"/>']:['<stop offset="0%" stop-color="#fff8f2"/>','<stop offset="56%" stop-color="#fff1e7"/>','<stop offset="100%" stop-color="#ffe2cf"/>'];return{body:[`<rect ${q(e,o,n)} fill="url(#${t}-industrial-base)"/>`,`<g clip-path="url(#${t}-clip)">`,...l,"</g>",`<rect ${q(e+.75,o-1.5,Math.max(0,n-.75))} fill="none" stroke="${a==="dark"?"rgba(255,178,80,0.2)":"rgba(128,42,8,0.16)"}" stroke-width="${d(Math.max(.6,o/512))}"/>`],defs:[`<linearGradient id="${t}-industrial-base" x1="0%" y1="0%" x2="100%" y2="100%">`,...s,"</linearGradient>"]}},pe=(t,e,o,n)=>{const a=wt(`${n}:industrial-svg`),i=[],l=8,s=e*.018,c=(e-s*(l+1))/l,r=o==="dark"?[31,12,7]:[255,239,221],p=o==="dark"?[255,98,24]:[223,54,16];for(let g=0;g<l;g+=1)for(let A=0;A<l;A+=1){const b=.2+a()*.8,B=Math.round(r[0]+(p[0]-r[0])*b),E=Math.round(r[1]+(p[1]-r[1])*b),D=Math.round(r[2]+(p[2]-r[2])*b),L=t+s+A*(c+s),S=t+s+g*(c+s);i.push(`<rect x="${d(L)}" y="${d(S)}" width="${d(c)}" height="${d(c)}" fill="rgb(${B},${E},${D})" opacity="${d(o==="dark"?.2+b*.5:.18+b*.42)}"/>`)}return i},Ae=(t,e,o,n,a,i)=>{const l=a==="dark"?"#000000":"#f7fff9";return{body:[`<rect ${q(e,o,n)} fill="${l}"/>`,`<g clip-path="url(#${t}-clip)">`,`<rect ${q(e,o,n)} fill="url(#${t}-matrix-glow)"/>`,...ge(e,o,a,i),"</g>",`<rect ${q(e+.75,o-1.5,Math.max(0,n-.75))} fill="none" stroke="${a==="dark"?"rgba(168,255,198,0.16)":"rgba(0,116,58,0.16)"}" stroke-width="${d(Math.max(.6,o/512))}"/>`],defs:[`<radialGradient id="${t}-matrix-glow" cx="54%" cy="47%" r="55%">`,` <stop offset="0%" stop-color="${a==="dark"?"#00ff76":"#00b454"}" stop-opacity="${a==="dark"?"0.14":"0.1"}"/>`,` <stop offset="62%" stop-color="${a==="dark"?"#00ff76":"#00b454"}" stop-opacity="0.04"/>`,' <stop offset="100%" stop-color="#00ff76" stop-opacity="0"/>',"</radialGradient>"]}},ge=(t,e,o,n)=>{const a=wt(`${n}:matrix-svg`),i=[],l=12,s=Math.max(7,e*.045),c=o==="dark"?"#8cffb6":"#00924a";for(let r=0;r<l;r+=1){const p=t+e*((r+.5)/l),g=3+Math.floor(a()*7),A=t+e*a()*.84;for(let b=0;b<g;b+=1){const B=A+b*s*1.15;if(B>t+e-s)break;const E=(1-b/g)*(o==="dark"?.34:.2);i.push(`<text x="${d(p)}" y="${d(B)}" text-anchor="middle" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="${d(s)}" fill="${c}" opacity="${d(E)}">${a()>.5?"1":"0"}</text>`)}}return i},ue=(t,e,o,n,a)=>{const i=s=>d(e+o*s),l=a==="dark"?"rgba(237,241,224,0.15)":"rgba(255,255,255,0.58)";return{body:[`<rect ${q(e,o,n)} fill="url(#${t}-metal-base)"/>`,`<g clip-path="url(#${t}-clip)">`,` <path d="M${i(-.08)} ${i(.36)} C${i(.2)} ${i(.06)} ${i(.38)} ${i(.1)} ${i(.62)} ${i(-.06)} L${i(1.1)} ${i(.1)} C${i(.82)} ${i(.35)} ${i(.76)} ${i(.62)} ${i(1.07)} ${i(.83)} L${i(.18)} ${i(1.08)} C${i(.26)} ${i(.82)} ${i(.1)} ${i(.66)} ${i(-.08)} ${i(.36)}Z" fill="url(#${t}-metal-sheen)" opacity="0.94" filter="url(#${t}-metal-soften)"/>`,` <ellipse cx="${i(.61)}" cy="${i(.76)}" rx="${d(o*.28)}" ry="${d(o*.13)}" fill="url(#${t}-metal-dark)" transform="rotate(-7 ${i(.61)} ${i(.76)})"/>`,` <path d="M${i(-.04)} ${i(.7)} C${i(.2)} ${i(.54)} ${i(.38)} ${i(.62)} ${i(.52)} ${i(.42)} C${i(.72)} ${i(.13)} ${i(.84)} ${i(.2)} ${i(1.06)} ${i(.08)}" fill="none" stroke="#050607" stroke-width="${d(o*.038)}" stroke-linecap="round" opacity="0.72" filter="url(#${t}-metal-soften)"/>`,` <path d="M${i(.02)} ${i(.92)} C${i(.22)} ${i(.76)} ${i(.42)} ${i(.9)} ${i(.63)} ${i(.78)} C${i(.8)} ${i(.68)} ${i(.91)} ${i(.78)} ${i(1.03)} ${i(.62)}" fill="none" stroke="#f7f8ef" stroke-width="${d(o*.065)}" stroke-linecap="round" opacity="0.86" filter="url(#${t}-metal-soften)"/>`,` <path d="M${i(.08)} ${i(.89)} C${i(.28)} ${i(.72)} ${i(.46)} ${i(.91)} ${i(.64)} ${i(.79)} C${i(.79)} ${i(.68)} ${i(.91)} ${i(.77)} ${i(1)} ${i(.64)}" fill="none" stroke="#b9bd50" stroke-width="${d(o*.008)}" stroke-linecap="round" opacity="0.46"/>`,"</g>",`<rect ${q(e+.75,o-1.5,Math.max(0,n-.75))} fill="none" stroke="${l}" stroke-width="${d(Math.max(.6,o/512))}"/>`],defs:[`<linearGradient id="${t}-metal-base" x1="0%" y1="0%" x2="100%" y2="100%">`,' <stop offset="0%" stop-color="#111514"/>',' <stop offset="18%" stop-color="#f5f6ee"/>',' <stop offset="36%" stop-color="#050607"/>',' <stop offset="62%" stop-color="#f9f9f3"/>',' <stop offset="82%" stop-color="#646b68"/>',' <stop offset="100%" stop-color="#ecede6"/>',"</linearGradient>",`<linearGradient id="${t}-metal-sheen" x1="0%" y1="0%" x2="100%" y2="0%">`,' <stop offset="0%" stop-color="#050607" stop-opacity="0.9"/>',' <stop offset="38%" stop-color="#f8f9f2" stop-opacity="0.98"/>',' <stop offset="58%" stop-color="#c5c8d8" stop-opacity="0.92"/>',' <stop offset="74%" stop-color="#090a0b" stop-opacity="0.95"/>',' <stop offset="100%" stop-color="#f6f7ef" stop-opacity="0.96"/>',"</linearGradient>",`<radialGradient id="${t}-metal-dark" cx="58%" cy="76%" r="44%">`,' <stop offset="0%" stop-color="#050506" stop-opacity="0.92"/>',' <stop offset="52%" stop-color="#141518" stop-opacity="0.58"/>',' <stop offset="100%" stop-color="#ffffff" stop-opacity="0"/>',"</radialGradient>",`<filter id="${t}-metal-soften" x="-10%" y="-10%" width="120%" height="120%">`,` <feGaussianBlur stdDeviation="${d(o*.01)}"/>`,"</filter>"]}},me=(t,e,o,n,a,i,l)=>t==="industrial"?de(o,n,a,i,e,l):t==="matrix"?Ae(o,n,a,i,e,l):ue(o,n,a,i,e),he=(t,e,o)=>{const n=Yt(t),a=e?o:0;if(!e)return n.staticMesh;const i={motionCycle:n.createMotionCycle(),motionCycleIndex:-1,motionLoopSeconds:Kt,motionOffset:0};return n.buildMesh(a,1,n.getMotionState(a,1,i))},fe=(t,e)=>t??(e===!0?"transparent":"textured"),be=(t={})=>{const e=t.seed??jt,o=$t(t.theme),n=Vt(t.mode),a=fe(t.backgroundStyle,t.noBackground),i=a==="transparent",l=t.shadow??!0,s=t.motion??!1,c=t.frame??0,r=t.size??Nt,p=t.title??"oneworks icon",g=`oneworks-${et(o)}-${et(n)}-${et(e)}-${r}-${a}`,A=l?Math.round(r*(i?.86:.82)):r,b=(r-A)/2,B=A/Zt,E=i?A*.08:A*(28/260),D=ce(o,n),L=he(e,s,c),S=[`<clipPath id="${g}-clip"><rect ${q(b,A,E)}/></clipPath>`,`<filter id="${g}-tile-shadow" x="-35%" y="-35%" width="170%" height="170%">`,` <feDropShadow dx="0" dy="${d(A*.11)}" stdDeviation="${d(A*.11)}" flood-color="${n==="dark"?"rgba(0,0,0,0.78)":"rgba(31,34,33,0.24)"}"/>`,` <feDropShadow dx="0" dy="0" stdDeviation="${d(A*.05)}" flood-color="${D.glow}"/>`,"</filter>",`<filter id="${g}-surface-shadow" x="-30%" y="-30%" width="160%" height="160%">`,` <feDropShadow dx="0" dy="${d(A*.06)}" stdDeviation="${d(A*.08)}" flood-color="rgba(0,0,0,0.24)"/>`,` <feDropShadow dx="0" dy="0" stdDeviation="${d(A*.06)}" flood-color="${D.shadow}"/>`,"</filter>"],M=[];if(a==="textured"){const u=me(o,n,g,b,A,E,e);S.push(...u.defs),M.push(`<g${l?` filter="url(#${g}-tile-shadow)"`:""}>`,...u.body,"</g>")}else a==="solid"&&M.push(`<g${l?` filter="url(#${g}-tile-shadow)"`:""}>`,`<rect ${q(b,A,E)} fill="${Rt(o,n)}"/>`,"</g>");const y=L.map(u=>{const x=Ht(o,n,u.depth,u.u,u.v,c);return`<path d="${re(u,b,B)}" fill="${x}" stroke="${x}" stroke-width="${d(Math.max(.5,r/512))}"/>`}),I=i&&l?` filter="url(#${g}-surface-shadow)"`:"";return M.push(`<g${I} shape-rendering="geometricPrecision" opacity="0.98">`,...y,"</g>"),['<?xml version="1.0" encoding="UTF-8"?>',`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${r} ${r}" width="${r}" height="${r}" role="img" aria-label="${dt(p)}">`,` <title>${dt(p)}</title>`," <defs>",...S.map(u=>` ${u}`)," </defs>",...M.map(u=>` ${u}`),"</svg>",""].join(`
2
+ `)},m=t=>({kind:"builtin",id:t}),h=(t,e)=>({homepage:t,console:t,...e}),f=t=>({listModels:"manual",balance:"manual",secrets:"manual",status:"manual",...t}),Z=(t,e)=>({kind:"statuspage",pageUrl:t,summaryUrl:`${t.replace(/\/+$/u,"")}/api/v2/summary.json`,statusUrl:`${t.replace(/\/+$/u,"")}/api/v2/status.json`,componentMatchers:e}),U=(t,e,o="request")=>({kind:t,keyKind:e,quotaUnit:o,quotaWindows:o==="token"||o==="credit"?["monthly"]:["5h","weekly","monthly"],allowedUse:"coding_tools_only"}),H=t=>({supported:!0,official:!0,...t}),z="Only use this plan from interactive coding tools; do not use it for backend batch jobs, automation scripts, or general API workloads.",Y="Use the plan-specific key with the plan-specific base URL. Pay-as-you-go API keys and normal API base URLs are not interchangeable.",pt=()=>({...U("coding_plan","coding_plan_key","percent"),quotaWindows:["5h","weekly"]}),yt=[{id:"openai",title:"OpenAI",category:"official",icon:m("openai"),description:"Official OpenAI API platform for GPT models and multimodal services.",defaultApiBaseUrl:"https://api.openai.com/v1",defaultModels:["gpt-5","gpt-5-mini"],portal:h("https://platform.openai.com",{billing:"https://platform.openai.com/settings/organization/billing/overview",apiKeys:"https://platform.openai.com/api-keys",docs:"https://platform.openai.com/docs",status:"https://status.openai.com"}),capabilities:f({listModels:"api",balance:"unsupported",status:"api"}),status:Z("https://status.openai.com")},{id:"anthropic",title:"Anthropic",category:"official",icon:m("anthropic"),description:"Official Anthropic Console service for Claude models.",defaultApiBaseUrl:"https://api.anthropic.com/v1",portal:h("https://console.anthropic.com",{billing:"https://console.anthropic.com/settings/billing",apiKeys:"https://console.anthropic.com/settings/keys",docs:"https://docs.anthropic.com",status:"https://status.claude.com"}),capabilities:f({listModels:"manual",status:"api"}),status:Z("https://status.claude.com",["Claude API"])},{id:"moonshot-cn",title:"Moonshot China",category:"official",icon:m("moonshot"),description:"Moonshot/Kimi China official OpenAI-compatible API service.",defaultApiBaseUrl:"https://api.moonshot.cn/v1",defaultModels:["kimi-k2.7-code","kimi-k2.6","kimi-k2.5","kimi-k2-0905-preview","kimi-k2"],portal:h("https://platform.kimi.com",{billing:"https://platform.kimi.com/console/account",apiKeys:"https://platform.kimi.com/console/api-keys",docs:"https://platform.kimi.com/docs",status:"https://status.moonshot.cn"}),capabilities:f({listModels:"api",balance:"api",status:"api"}),status:Z("https://status.moonshot.cn",["Open API"])},{id:"moonshot-intl",title:"Moonshot International",category:"official",icon:m("moonshot"),description:"Moonshot/Kimi international official OpenAI-compatible API service.",defaultApiBaseUrl:"https://api.moonshot.ai/v1",defaultModels:["kimi-k2.7-code","kimi-k2.6","kimi-k2.5","kimi-k2-0905-preview","kimi-k2"],portal:h("https://platform.kimi.ai",{billing:"https://platform.kimi.ai/console/account",apiKeys:"https://platform.kimi.ai/console/api-keys",docs:"https://platform.kimi.ai/docs",status:"https://status.moonshot.cn"}),capabilities:f({listModels:"api",balance:"api",status:"api"}),status:Z("https://status.moonshot.cn",["Open API"])},{id:"kimi-code",title:"Kimi Code",category:"official",icon:m("moonshot"),description:"Kimi Code membership benefit endpoint for coding agents.",defaultApiBaseUrl:"https://api.kimi.com/coding/v1",defaultModels:["kimi-for-coding"],billing:pt(),codingPlan:H({kind:"coding_plan",title:"Kimi Code",planHomeUrl:"https://www.kimi.com/code",keyHomeUrl:"https://www.kimi.com/code/console",docsUrl:"https://www.kimi.com/code/docs/en/third-party-tools/other-coding-agents.html",billing:pt(),protocols:{openai:{baseUrl:"https://api.kimi.com/coding/v1"},anthropic:{baseUrl:"https://api.kimi.com/coding/"}},defaultModels:["kimi-for-coding"],restrictions:[Y,z,"Kimi Code uses a separate base URL from the Moonshot Open Platform API."]}),portal:h("https://www.kimi.com/code",{purchase:"https://www.kimi.com/code",apiKeys:"https://www.kimi.com/code/console",docs:"https://www.kimi.com/code/docs/en/third-party-tools/other-coding-agents.html"}),capabilities:f({listModels:"api",balance:"api",status:"manual"})},{id:"deepseek",title:"DeepSeek",category:"official",icon:m("deepseek"),description:"Official DeepSeek OpenAI-compatible API service.",defaultApiBaseUrl:"https://api.deepseek.com",defaultModels:["deepseek-v4-flash","deepseek-v4-pro","deepseek-chat","deepseek-reasoner"],portal:h("https://platform.deepseek.com",{billing:"https://platform.deepseek.com/usage",apiKeys:"https://platform.deepseek.com/api_keys",docs:"https://api-docs.deepseek.com",status:"https://status.deepseek.com"}),capabilities:f({listModels:"api",balance:"api",status:"manual"}),status:{kind:"page_only",pageUrl:"https://status.deepseek.com"}},{id:"minimax",title:"MiniMax",category:"official",icon:m("minimax"),description:"Official MiniMax API platform for chat, multimodal, and agent services.",defaultApiBaseUrl:"https://api.minimax.io/v1",defaultModels:["MiniMax-M3"],portal:h("https://platform.minimaxi.com",{billing:"https://platform.minimaxi.com/user-center/basic-information/interface-balance",apiKeys:"https://platform.minimaxi.com/user-center/basic-information/interface-key",docs:"https://platform.minimaxi.com/document",status:"https://status.minimax.io"}),capabilities:f({listModels:"api",balance:"manual",status:"api"}),status:Z("https://status.minimax.io",["Large Language Models","LLM"])},{id:"minimax-token-plan",title:"MiniMax Token Plan",category:"official",icon:m("minimax"),description:"MiniMax Token Plan subscription endpoint for MiniMax M-series coding models.",defaultApiBaseUrl:"https://api.minimax.io/v1",defaultModels:["MiniMax-M3"],billing:U("token_plan","subscription_key","token"),codingPlan:H({kind:"token_plan",title:"MiniMax Token Plan",planHomeUrl:"https://platform.minimax.io/docs/token-plan/quickstart",keyHomeUrl:"https://platform.minimax.io/docs/token-plan/quickstart",docsUrl:"https://platform.minimax.io/docs/token-plan/quickstart",billing:U("token_plan","subscription_key","token"),protocols:{openai:{baseUrl:"https://api.minimax.io/v1"},anthropic:{baseUrl:"https://api.minimax.io/anthropic"}},regions:[{id:"china",label:"China",protocols:{openai:{baseUrl:"https://api.minimaxi.com/v1"},anthropic:{baseUrl:"https://api.minimaxi.com/anthropic"}}}],defaultModels:["MiniMax-M3"],restrictions:[Y,"Use the Subscription Key for Token Plan seats and credits. It is not interchangeable with pay-as-you-go API keys."]}),portal:h("https://platform.minimax.io",{billing:"https://platform.minimax.io/docs/token-plan/quickstart",apiKeys:"https://platform.minimax.io/docs/token-plan/quickstart",docs:"https://platform.minimax.io/docs/token-plan/quickstart",status:"https://status.minimax.io"}),capabilities:f({listModels:"static",balance:"manual",status:"manual"}),status:Z("https://status.minimax.io",["Large Language Models","LLM"])},{id:"qwen",title:"Alibaba Qwen",category:"official",icon:m("qwen"),description:"Alibaba Cloud Bailian/DashScope API service for Qwen models.",defaultApiBaseUrl:"https://dashscope.aliyuncs.com/compatible-mode/v1",defaultModels:["qwen3.7-max","qwen3.7-plus","qwen3.6-flash","qwen3.5-plus","qwen3-coder-next","qwen3-coder-plus"],portal:h("https://bailian.console.aliyun.com",{billing:"https://usercenter2.aliyun.com/finance",apiKeys:"https://bailian.console.aliyun.com/?tab=api#/api-key",docs:"https://help.aliyun.com/zh/model-studio",status:"https://status.aliyun.com"}),capabilities:f({listModels:"static",secrets:"manual",status:"manual"}),status:{kind:"cloud_status_openapi",pageUrl:"https://status.aliyun.com",requiresCredentials:!0}},{id:"qwen-coding-plan",title:"Alibaba Coding Plan",category:"official",icon:m("qwen"),description:"Alibaba Cloud Model Studio Coding Plan endpoint for coding agents.",defaultApiBaseUrl:"https://coding.dashscope.aliyuncs.com/v1",defaultModels:["qwen3.7-plus","qwen3.6-plus","kimi-k2.5","glm-5","MiniMax-M2.5","qwen3-coder-next","qwen3-coder-plus"],billing:U("coding_plan","coding_plan_key","request"),codingPlan:H({kind:"coding_plan",title:"Alibaba Cloud Model Studio Coding Plan",planHomeUrl:"https://help.aliyun.com/zh/model-studio/coding-plan",keyHomeUrl:"https://bailian.console.aliyun.com/?tab=codingplan#/coding-plan",docsUrl:"https://help.aliyun.com/zh/model-studio/coding-plan",billing:U("coding_plan","coding_plan_key","request"),protocols:{openai:{baseUrl:"https://coding.dashscope.aliyuncs.com/v1"},anthropic:{baseUrl:"https://coding.dashscope.aliyuncs.com/apps/anthropic"}},regions:[{id:"intl",label:"International",protocols:{openai:{baseUrl:"https://coding-intl.dashscope.aliyuncs.com/v1"},anthropic:{baseUrl:"https://coding-intl.dashscope.aliyuncs.com/apps/anthropic"}}}],defaultModels:["qwen3.7-plus","qwen3.6-plus","kimi-k2.5","glm-5","MiniMax-M2.5","qwen3-coder-next","qwen3-coder-plus"],restrictions:[Y,z,"Coding Plan keys commonly use the sk-sp-* prefix."]}),portal:h("https://bailian.console.aliyun.com/?tab=codingplan#/coding-plan",{purchase:"https://help.aliyun.com/zh/model-studio/coding-plan",billing:"https://bailian.console.aliyun.com/?tab=codingplan#/coding-plan",apiKeys:"https://bailian.console.aliyun.com/?tab=codingplan#/coding-plan",docs:"https://help.aliyun.com/zh/model-studio/coding-plan",status:"https://status.aliyun.com"}),capabilities:f({listModels:"static",secrets:"manual",status:"manual"}),status:{kind:"cloud_status_openapi",pageUrl:"https://status.aliyun.com",requiresCredentials:!0}},{id:"zhipu",title:"Zhipu GLM",category:"official",icon:m("zhipu"),description:"Zhipu BigModel official API service for GLM models.",defaultApiBaseUrl:"https://open.bigmodel.cn/api/paas/v4",defaultModels:["glm-5.2[1m]","glm-5.2","glm-4.7","glm-4.5-air"],portal:h("https://open.bigmodel.cn",{billing:"https://open.bigmodel.cn/usercenter/resourcepool",apiKeys:"https://open.bigmodel.cn/usercenter/proj-mgmt/apikeys",docs:"https://docs.bigmodel.cn"}),capabilities:f({listModels:"static",status:"unsupported"}),status:{kind:"unsupported"}},{id:"zhipu-coding-plan",title:"Zhipu GLM Coding Plan",category:"official",icon:m("zhipu"),description:"Zhipu GLM Coding Plan endpoint for supported coding tools.",defaultApiBaseUrl:"https://open.bigmodel.cn/api/coding/paas/v4",defaultModels:["GLM-5.2"],billing:U("coding_plan","coding_plan_key","request"),codingPlan:H({kind:"coding_plan",title:"GLM Coding Plan",planHomeUrl:"https://docs.bigmodel.cn/cn/coding-plan/quick-start",keyHomeUrl:"https://open.bigmodel.cn/usercenter/proj-mgmt/apikeys",docsUrl:"https://docs.bigmodel.cn/cn/coding-plan/quick-start",billing:U("coding_plan","coding_plan_key","request"),protocols:{openai:{baseUrl:"https://open.bigmodel.cn/api/coding/paas/v4"},anthropic:{baseUrl:"https://open.bigmodel.cn/api/anthropic"}},defaultModels:["GLM-5.2"],restrictions:[Y,z,"GLM Coding Plan is only for officially supported coding tools and product environments."]}),portal:h("https://open.bigmodel.cn",{billing:"https://docs.bigmodel.cn/cn/coding-plan/quick-start",apiKeys:"https://open.bigmodel.cn/usercenter/proj-mgmt/apikeys",docs:"https://docs.bigmodel.cn/cn/coding-plan/quick-start"}),capabilities:f({listModels:"static",status:"manual"}),status:{kind:"unsupported"}},{id:"tencent-tokenhub-coding-plan",title:"Tencent TokenHub Coding Plan",category:"official",icon:m("tencent"),description:"Tencent Cloud TokenHub Coding Plan endpoint for coding agents.",defaultApiBaseUrl:"https://api.lkeap.cloud.tencent.com/coding/v3",defaultModels:["tc-code-latest","hunyuan-2.0-instruct","minimax-m2.5","kimi-k2.5","glm-5"],billing:U("coding_plan","coding_plan_key","request"),codingPlan:H({kind:"coding_plan",title:"Tencent Cloud TokenHub Coding Plan",planHomeUrl:"https://cloud.tencent.com/document/product/1823/130092",keyHomeUrl:"https://cloud.tencent.com/document/product/1823/130092",docsUrl:"https://cloud.tencent.com/document/product/1823/130092",billing:U("coding_plan","coding_plan_key","request"),protocols:{openai:{baseUrl:"https://api.lkeap.cloud.tencent.com/coding/v3"},anthropic:{baseUrl:"https://api.lkeap.cloud.tencent.com/coding/anthropic"}},defaultModels:["tc-code-latest","hunyuan-2.0-instruct","minimax-m2.5","kimi-k2.5","glm-5"],restrictions:[Y,z,"Coding Plan keys commonly use the sk-sp-* prefix and are not compatible with Tencent prepaid or postpaid API keys."]}),portal:h("https://cloud.tencent.com/document/product/1823/130092",{purchase:"https://cloud.tencent.com/document/product/1823/130092",apiKeys:"https://cloud.tencent.com/document/product/1823/130092",docs:"https://cloud.tencent.com/document/product/1823/130092"}),capabilities:f({listModels:"static",status:"manual"})},{id:"volcengine-ark-coding-plan",title:"Volcengine Ark Coding Plan",category:"official",icon:m("volcengine"),description:"Volcengine Ark Coding Plan endpoint for coding agents.",defaultApiBaseUrl:"https://ark.cn-beijing.volces.com/api/coding/v3",defaultModels:["doubao-seed-2.0-pro","glm-5.1","kimi-k2.6","minimax-m2.7"],billing:U("coding_plan","coding_plan_key","request"),codingPlan:H({kind:"coding_plan",title:"Volcengine Ark Coding Plan",planHomeUrl:"https://www.volcengine.com/activity/codingplan",keyHomeUrl:"https://www.volcengine.com/docs/82379/1928261",docsUrl:"https://www.volcengine.com/docs/82379/1928261",billing:U("coding_plan","coding_plan_key","request"),protocols:{openai:{baseUrl:"https://ark.cn-beijing.volces.com/api/coding/v3"},anthropic:{baseUrl:"https://ark.cn-beijing.volces.com/api/coding"}},defaultModels:["doubao-seed-2.0-pro","glm-5.1","kimi-k2.6","minimax-m2.7"],restrictions:[Y,z,"Do not use the normal Ark API endpoint for Coding Plan traffic."]}),portal:h("https://www.volcengine.com/activity/codingplan",{purchase:"https://www.volcengine.com/activity/codingplan",apiKeys:"https://www.volcengine.com/docs/82379/1928261",docs:"https://www.volcengine.com/docs/82379/1928261"}),capabilities:f({listModels:"static",status:"manual"})},{id:"baidu-qianfan-coding-plan",title:"Baidu Qianfan Coding Plan",category:"official",icon:m("baidu"),description:"Baidu Qianfan Coding Plan endpoint for coding agents.",defaultApiBaseUrl:"https://qianfan.baidubce.com/v2/coding",defaultModels:["qianfan-code-latest","kimi-k2.5","deepseek-v3.2","glm-5","minimax-m2.5","ernie-4.5-turbo-20260402","deepseek-v4-flash","glm-5.1"],billing:U("coding_plan","coding_plan_key","request"),codingPlan:H({kind:"coding_plan",title:"Baidu Qianfan Coding Plan",planHomeUrl:"https://cloud.baidu.com/doc/qianfan/s/imlg0beiu",keyHomeUrl:"https://cloud.baidu.com/doc/qianfan/s/imlg0beiu",docsUrl:"https://cloud.baidu.com/doc/qianfan/s/imlg0beiu",billing:U("coding_plan","coding_plan_key","request"),protocols:{openai:{baseUrl:"https://qianfan.baidubce.com/v2/coding"},anthropic:{baseUrl:"https://qianfan.baidubce.com/anthropic/coding"}},defaultModels:["qianfan-code-latest","kimi-k2.5","deepseek-v3.2","glm-5","minimax-m2.5","ernie-4.5-turbo-20260402","deepseek-v4-flash","glm-5.1"],restrictions:[Y,z,"Coding Plan API keys are only valid on the Qianfan Coding Plan endpoints."]}),portal:h("https://cloud.baidu.com/doc/qianfan/s/imlg0beiu",{purchase:"https://cloud.baidu.com/doc/qianfan/s/imlg0beiu",apiKeys:"https://cloud.baidu.com/doc/qianfan/s/imlg0beiu",docs:"https://cloud.baidu.com/doc/qianfan/s/imlg0beiu"}),capabilities:f({listModels:"static",status:"manual"})},{id:"azure-openai",title:"Azure OpenAI",category:"cloud",icon:m("azure"),description:"Azure-hosted OpenAI model deployments managed through Azure AI Foundry.",portal:h("https://ai.azure.com",{billing:"https://portal.azure.com/#view/Microsoft_Azure_Billing/ModernBillingMenuBlade/~/Overview",docs:"https://learn.microsoft.com/azure/ai-services/openai",status:"https://status.azure.com"}),capabilities:f({balance:"unsupported",status:"manual"})},{id:"google-gemini",title:"Google Gemini",category:"cloud",icon:m("gemini"),description:"Google AI Studio and Gemini API service.",defaultApiBaseUrl:"https://generativelanguage.googleapis.com/v1beta/openai",portal:h("https://aistudio.google.com",{billing:"https://console.cloud.google.com/billing",apiKeys:"https://aistudio.google.com/apikey",docs:"https://ai.google.dev/gemini-api/docs",status:"https://status.cloud.google.com"}),capabilities:f({listModels:"manual",status:"manual"})},{id:"aws-bedrock",title:"AWS Bedrock",category:"cloud",icon:m("aws"),description:"AWS Bedrock managed foundation model service.",portal:h("https://console.aws.amazon.com/bedrock",{billing:"https://console.aws.amazon.com/billing",docs:"https://docs.aws.amazon.com/bedrock",status:"https://health.aws.amazon.com/health/status"}),capabilities:f({balance:"unsupported",status:"manual"})},{id:"openrouter",title:"OpenRouter",category:"relay",icon:m("openrouter"),description:"OpenRouter model routing platform with OpenAI-compatible APIs.",defaultApiBaseUrl:"https://openrouter.ai/api/v1",portal:h("https://openrouter.ai",{billing:"https://openrouter.ai/settings/credits",apiKeys:"https://openrouter.ai/settings/keys",docs:"https://openrouter.ai/docs",status:"https://status.openrouter.ai"}),capabilities:f({listModels:"api",balance:"manual",status:"manual"})},{id:"vercel-ai-gateway",title:"Vercel AI Gateway",category:"gateway",icon:m("vercel"),description:"Vercel AI Gateway for routing requests across model providers.",defaultApiBaseUrl:"https://ai-gateway.vercel.sh/v1",portal:h("https://vercel.com/ai-gateway",{billing:"https://vercel.com/dashboard/usage",docs:"https://vercel.com/docs/ai-gateway",status:"https://www.vercel-status.com"}),capabilities:f({balance:"manual",status:"manual"})},{id:"requesty",title:"Requesty",category:"relay",icon:m("requesty"),description:"Requesty AI gateway for OpenAI-compatible model routing.",defaultApiBaseUrl:"https://router.requesty.ai/v1",portal:h("https://requesty.ai",{billing:"https://app.requesty.ai/billing",apiKeys:"https://app.requesty.ai/api-keys",docs:"https://docs.requesty.ai"}),capabilities:f({balance:"manual",status:"manual"})},{id:"portkey",title:"Portkey",category:"gateway",icon:m("portkey"),description:"Portkey AI gateway for managing and routing model traffic.",defaultApiBaseUrl:"https://api.portkey.ai/v1",portal:h("https://portkey.ai",{billing:"https://app.portkey.ai/billing",apiKeys:"https://app.portkey.ai/api-keys",docs:"https://portkey.ai/docs"}),capabilities:f({listModels:"todo",balance:"manual",status:"manual"})},{id:"litellm",title:"LiteLLM",description:"LiteLLM gateway and proxy for unified model APIs.",category:"gateway",icon:m("litellm"),portal:h("https://www.litellm.ai",{docs:"https://docs.litellm.ai"}),capabilities:f({balance:"manual",status:"manual"})},{id:"micu",title:"Micu",description:"Micu relay platform for OpenAI-compatible model access.",category:"relay",icon:m("micu"),defaultApiBaseUrl:"https://www.micuapi.ai/v1",portal:h("https://www.micuapi.ai",{docs:"https://docs.micuapi.ai"}),capabilities:f({listModels:"manual",balance:"api",status:"manual"})},{id:"apiyi",title:"APIYI",description:"APIYI relay platform for OpenAI-compatible model access.",category:"relay",icon:m("apiyi"),portal:h("https://apiyi.com",{docs:"https://apiyi.com"}),capabilities:f({listModels:"manual",balance:"manual",status:"manual"})},{id:"yunwu",title:"Yunwu",description:"Yunwu relay platform for OpenAI-compatible model access.",category:"relay",icon:m("yunwu"),portal:h("https://yunwu.ai",{docs:"https://yunwu.ai"}),capabilities:f({listModels:"manual",balance:"manual",status:"manual"})},{id:"custom-openai-compatible",title:"Custom OpenAI-compatible",description:"User-defined OpenAI-compatible endpoint.",category:"custom",icon:m("api"),capabilities:{listModels:"todo",balance:"unsupported",secrets:"manual",status:"unsupported"}}],we={kind:"builtin",id:"model-service"},Ce="/",ke=new Map(yt.map(t=>[t.id,t])),w=(t,e)=>t.hostname.toLowerCase()===e,At=(t,e)=>t.hostname.toLowerCase().endsWith(e),X=(t,e)=>t.pathname.replace(/\/+$/u,"").startsWith(e),ye=[{provider:"openai",match:t=>w(t,"api.openai.com")},{provider:"anthropic",match:t=>w(t,"api.anthropic.com")},{provider:"moonshot-cn",match:t=>w(t,"api.moonshot.cn")},{provider:"moonshot-intl",match:t=>w(t,"api.moonshot.ai")},{provider:"kimi-code",match:t=>w(t,"api.kimi.com")&&X(t,"/coding")},{provider:"deepseek",match:t=>w(t,"api.deepseek.com")},{provider:"minimax-token-plan",match:t=>(w(t,"api.minimax.io")||w(t,"api.minimaxi.com"))&&X(t,"/anthropic")},{provider:"minimax",match:t=>w(t,"api.minimax.io")||w(t,"api.minimaxi.com")},{provider:"qwen-coding-plan",match:t=>w(t,"coding.dashscope.aliyuncs.com")||w(t,"coding-intl.dashscope.aliyuncs.com")},{provider:"qwen",match:t=>w(t,"dashscope.aliyuncs.com")||w(t,"dashscope-intl.aliyuncs.com")||w(t,"dashscope-us.aliyuncs.com")||At(t,".dashscope.aliyuncs.com")||At(t,".maas.aliyuncs.com")},{provider:"zhipu-coding-plan",match:t=>w(t,"open.bigmodel.cn")&&X(t,"/api/coding")},{provider:"zhipu",match:t=>w(t,"open.bigmodel.cn")},{provider:"tencent-tokenhub-coding-plan",match:t=>w(t,"api.lkeap.cloud.tencent.com")&&X(t,"/coding")},{provider:"volcengine-ark-coding-plan",match:t=>w(t,"ark.cn-beijing.volces.com")&&X(t,"/api/coding")},{provider:"baidu-qianfan-coding-plan",match:t=>w(t,"qianfan.baidubce.com")&&t.pathname.includes("/coding")},{provider:"openrouter",match:t=>w(t,"openrouter.ai")},{provider:"vercel-ai-gateway",match:t=>w(t,"ai-gateway.vercel.sh")},{provider:"requesty",match:t=>w(t,"router.requesty.ai")},{provider:"portkey",match:t=>w(t,"api.portkey.ai")}],C=t=>typeof t=="string"&&t.trim()!==""?t.trim():void 0,P=t=>Array.isArray(t)?Array.from(new Set(t.map(e=>C(e)).filter(e=>e!=null))):[],W=t=>t!=null&&typeof t=="object"&&!Array.isArray(t)?t:void 0,Me=t=>(t==null?void 0:t.kind)==="collection"||W(t==null?void 0:t.profiles)!=null||W(t==null?void 0:t.services)!=null,Ie=(t,e)=>`${t}${Ce}${e}`,ve=(t,e)=>{const o=W(t.profiles)??W(t.services),n=o==null?void 0:o[e];if(n==null||typeof n!="object"||Array.isArray(n))return;const a=n;return{...t.provider!=null?{provider:t.provider}:{},...t.icon!=null?{icon:t.icon}:{},...t.homepageUrl!=null?{homepageUrl:t.homepageUrl}:{},...t.apiBaseUrl!=null?{apiBaseUrl:t.apiBaseUrl}:{},...t.billing!=null?{billing:t.billing}:{},...t.codingPlan!=null?{codingPlan:t.codingPlan}:{},...t.providerOptions!=null?{providerOptions:t.providerOptions}:{},...a,kind:"service"}},He=t=>{const e={};for(const[o,n]of Object.entries(t)){const a=C(o);if(a==null||n==null)continue;if(!Me(n)){e[a]=n;continue}const i=W(n.profiles)??W(n.services);for(const l of Object.keys(i??{})){const s=C(l);if(s==null)continue;const c=ve(n,s);c!=null&&(e[Ie(a,s)]=c)}}return e},Be=t=>{var o;const e=C(t);if(e!=null)try{const n=new URL(e);return(o=ye.find(a=>a.match(n)))==null?void 0:o.provider}catch{return}},Ye=()=>[...yt],$=t=>{const e=C(t);return e!=null?ke.get(e):void 0},V=t=>{const e=C(t==null?void 0:t.provider),o=Be(t==null?void 0:t.apiBaseUrl);return e!=null?{provider:e,confidence:"configured",...o!=null&&o!==e?{warnings:[`Configured provider "${e}" does not match apiBaseUrl host provider "${o}".`]}:{}}:o!=null?{provider:o,confidence:"host_match"}:{confidence:"none"}},Ee=t=>{const e=C(t);if(e!=null)return e.startsWith("builtin:")?C(e.slice(8))!=null?{kind:"builtin",id:e.slice(8).trim()}:void 0:e.startsWith("material:")?C(e.slice(9))!=null?{kind:"material",name:e.slice(9).trim()}:void 0:e.startsWith("data:")?{kind:"data",value:e}:e.startsWith("http://")||e.startsWith("https://")?{kind:"url",url:e}:{kind:"builtin",id:e}},Ke=t=>{var e;return Ee(t==null?void 0:t.icon)??((e=$(V(t).provider))==null?void 0:e.icon)??we},Se=t=>{var e;return C((e=$(t))==null?void 0:e.description)},Ze=t=>C(t==null?void 0:t.description)??Se(V(t).provider),ze=t=>{var e,o;return C(t==null?void 0:t.homepageUrl)??((o=(e=$(V(t).provider))==null?void 0:e.portal)==null?void 0:o.homepage)},F=(t,e)=>t==null?e:e==null?t:{...t,...e,quotaWindows:e.quotaWindows??t.quotaWindows,notes:e.notes??t.notes},gt=(t,e)=>t==null?e:e==null?t:{openai:{...t.openai,...e.openai},anthropic:{...t.anthropic,...e.anthropic}},J=(...t)=>Array.from(new Set(t.flatMap(e=>e??[]).map(e=>e.trim()).filter(Boolean))),xe=(t,e)=>{const o=(t==null?void 0:t.regions)??[],n=C(e);return n!=null?o.find(a=>a.id===n):o.length===1&&(t==null?void 0:t.protocols)==null?o[0]:void 0},_=t=>{var s,c;const e=(s=$(V(t).provider))==null?void 0:s.codingPlan,o=t==null?void 0:t.codingPlan;if(e==null&&o==null)return;const n=xe(e,o==null?void 0:o.region),a=F(F(e==null?void 0:e.billing,n==null?void 0:n.billing),o==null?void 0:o.billing),i=P(o==null?void 0:o.defaultModels).length>0?P(o==null?void 0:o.defaultModels):P(n==null?void 0:n.defaultModels).length>0?P(n==null?void 0:n.defaultModels):P(e==null?void 0:e.defaultModels),l=gt(gt(e==null?void 0:e.protocols,n==null?void 0:n.protocols),o==null?void 0:o.protocols);return{supported:(o==null?void 0:o.supported)??(e==null?void 0:e.supported)??!0,official:(o==null?void 0:o.official)??(e==null?void 0:e.official),kind:(o==null?void 0:o.kind)??((c=n==null?void 0:n.billing)==null?void 0:c.kind)??(e==null?void 0:e.kind),title:C(o==null?void 0:o.title)??(e==null?void 0:e.title),planHomeUrl:C(o==null?void 0:o.planHomeUrl)??C(n==null?void 0:n.planHomeUrl)??(e==null?void 0:e.planHomeUrl),keyHomeUrl:C(o==null?void 0:o.keyHomeUrl)??C(n==null?void 0:n.keyHomeUrl)??(e==null?void 0:e.keyHomeUrl),docsUrl:C(o==null?void 0:o.docsUrl)??C(n==null?void 0:n.docsUrl)??(e==null?void 0:e.docsUrl),...a!=null?{billing:a}:{},...l!=null?{protocols:l}:{},...(e==null?void 0:e.regions)!=null?{regions:e.regions}:{},...i.length>0?{defaultModels:i}:{},restrictions:J(e==null?void 0:e.restrictions,n==null?void 0:n.restrictions,o==null?void 0:o.restrictions),notes:J(e==null?void 0:e.notes,o==null?void 0:o.notes)}},Ue=t=>{var e,o;return F((e=$(V(t).provider))==null?void 0:e.billing,F((o=_(t))==null?void 0:o.billing,t==null?void 0:t.billing))},De=(t,e)=>{var o,n,a;return C((a=(n=(o=_(t))==null?void 0:o.protocols)==null?void 0:n[e])==null?void 0:a.baseUrl)},Le=t=>{var e;return C(t==null?void 0:t.apiBaseUrl)??((e=$(V(t).provider))==null?void 0:e.defaultApiBaseUrl)??De(t,"openai")},We=t=>{var a,i;const e=P(t==null?void 0:t.models),o=P((a=_(t))==null?void 0:a.defaultModels);if(o.length>0)return J(o,e);const n=P((i=$(V(t).provider))==null?void 0:i.defaultModels);return n.length>0?J(n,e):e.length>0?e:[]},Xe=(t,e)=>{if(t==null)return{issues:[{type:"missing_api_base_url",path:e,message:"Model service config is missing."}]};const o=V(t),n=$(o.provider),a=Le(t),i=Ue(t),l=_(t),s=P(t.models);return a==null?{issues:[{type:"missing_api_base_url",path:e!=null?[...e,"apiBaseUrl"]:["apiBaseUrl"],message:"Model service requires apiBaseUrl unless provider supplies a default base URL."}]}:{service:{...t,...o.provider!=null?{provider:o.provider}:{},apiBaseUrl:a,apiKey:t.apiKey??"",...i!=null?{billing:i}:{},...l!=null?{codingPlan:l}:{},modelSource:s.length>0?"configured":"provider_catalog",...n!=null?{providerDefinition:n}:{}},issues:[]}},ut=new URL("data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewBox='0%200%2024%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cpath%20d='M21.7202%200.939941C22.9502%200.939941%2023.9502%201.93994%2023.9502%203.16994C23.9502%204.39994%2022.9502%205.39994%2021.7202%205.39994H19.7502C19.6002%205.39994%2019.4902%205.27994%2019.4902%205.13994V3.16994C19.4902%201.93994%2020.4902%200.939941%2021.7202%200.939941Z'%20fill='%231783FF'%20/%3e%3cpath%20d='M9.39%2013.9501L17.82%205.59012C17.98%205.43012%2017.89%205.12012%2017.68%205.12012H13.14C13.14%205.12012%2013.04%205.14012%2013%205.18012L3.92%2014.1901C3.78%2014.3301%203.57%2014.2101%203.57%2013.9801V5.39012C3.57%205.24012%203.47%205.12012%203.35%205.12012H0.219999C0.0999993%205.12012%200%205.24012%200%205.39012V23.9201C0%2024.0701%200.0999993%2024.1901%200.219999%2024.1901H3.35C3.47%2024.1901%203.57%2024.0701%203.57%2023.9201V20.1401C3.57%2020.0601%203.6%2019.9801%203.65%2019.9301L6.47%2017.1401C6.54%2017.0701%206.63%2017.0601%206.71%2017.1101L14.24%2022.6501C15.47%2023.4801%2016.85%2023.9901%2018.25%2024.1401C18.37%2024.1501%2018.48%2024.0301%2018.48%2023.8701V20.3101C18.48%2020.1701%2018.4%2020.0601%2018.29%2020.0501C17.47%2019.9201%2016.66%2019.6001%2015.94%2019.1101L9.42%2014.3901C9.28%2014.3001%209.27%2014.0701%209.39%2013.9501Z'%20fill='black'%20/%3e%3c/svg%3e",import.meta.url).href,mt=new URL("data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewBox='0%200%2024%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cpath%20d='M21.7202%200.939941C22.9502%200.939941%2023.9502%201.93994%2023.9502%203.16994C23.9502%204.39994%2022.9502%205.39994%2021.7202%205.39994H19.7502C19.6002%205.39994%2019.4902%205.27994%2019.4902%205.13994V3.16994C19.4902%201.93994%2020.4902%200.939941%2021.7202%200.939941Z'%20fill='%231783FF'%20/%3e%3cpath%20d='M9.39%2013.9501L17.82%205.59012C17.98%205.43012%2017.89%205.12012%2017.68%205.12012H13.14C13.14%205.12012%2013.04%205.14012%2013%205.18012L3.92%2014.1901C3.78%2014.3301%203.57%2014.2101%203.57%2013.9801V5.39012C3.57%205.24012%203.47%205.12012%203.35%205.12012H0.219999C0.0999993%205.12012%200%205.24012%200%205.39012V23.9201C0%2024.0701%200.0999993%2024.1901%200.219999%2024.1901H3.35C3.47%2024.1901%203.57%2024.0701%203.57%2023.9201V20.1401C3.57%2020.0601%203.6%2019.9801%203.65%2019.9301L6.47%2017.1401C6.54%2017.0701%206.63%2017.0601%206.71%2017.1101L14.24%2022.6501C15.47%2023.4801%2016.85%2023.9901%2018.25%2024.1401C18.37%2024.1501%2018.48%2024.0301%2018.48%2023.8701V20.3101C18.48%2020.1701%2018.4%2020.0601%2018.29%2020.0501C17.47%2019.9201%2016.66%2019.6001%2015.94%2019.1101L9.42%2014.3901C9.28%2014.3001%209.27%2014.0701%209.39%2013.9501Z'%20fill='white'%20/%3e%3c/svg%3e",import.meta.url).href,Qe={anthropic:{src:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAv8SURBVHgB7d2xVhxHGsXx8h7HegKR24J8NWxsZpwLyNeQe+EBvN4c5Fyw+QC5GG8udjcGvwA8gc5xYCc2JYtj1AeGZujvdlfd/y/UUSDQ9J3q2/1VffbrLz//lgBY+ksCYIsAAIwRAIAxAgAwRgAAxggAwBgBABgjAABjBABgjAAAjBEAgDECADBGAADGCADAGAEAGCMAAGMEAGCMAACMEQCAMQIAMEYAAMYIAMAYAQAYIwAAYwQAYIwAAIwRAIAxAgAwRgAAxggAwBgBABgjAABjBABgjAAAjBEAgDECADBGAADGCADAGAEAGCMAAGMEAGCMAACMEQCAMQIAMEYAAMYIAMAYAQAYIwAAYwQAYIwAAIwRAIAxAgAwRgAAxggAwBgBABgjAABjBABgjAAAjBEAgDECADBGAADGCADAGAEAGCMAAGMEAGCMAACMfZ4Q7uLip/TV2iSprI5G6eRkmrr2/v379MWXK0kh//vzz4FYrAAE3hwcJqV3Z2cfLtauPXv2THZRHh+dJMQjAILlC/H0dJbU3ryJCZ2d3W+Twtvr31lEiOFTBECwvj7IUauOvALIK4Fo+Xc2nR4nxCIAgvW1lM0XUL4ViLC99U1SmM1+TIhFAAS6vLwKuwjb2N/7IUXY3tYEQP7d9fn7c0AABNrbf536VEMZODtlFRCJAAh0dvbf1LfSy8Dp0TFlYCACIEj+4F5eXqa+UQZiHgIgyFCeY1MGYh4CIEDf5V8TZSDuQwAE6Lv8a6IMxH0IgABDKP+aKANxFwKgY0Mp/5ooA3EXAqBjQx1ioQzEXQiADg2t/Gs6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1tDXF3PA6XSGenkwZaAn8ZH4vRhJ0mv5qabao0cN4hG2ml5cZ4K+X3a30lWjXmSXSu3Ol2VjYmODU9Ii1ixgIB2qOfnWiq1Bvw0PjJE+ztJSrx9fdmcbwn4q4Js/bI0bg4wU94b393VSS/nph0Mhq/Ml69lvnkz4mRuvHgAxXXQD7F1c6CZcoGIKqXO7NSY6ThjPdlcnlLpA1czrvVEzEhxsqCCeD+I9iH658Hfqh7Ar+9959pD1hACCaKRdno1N13TCqZiFdVs7vBay+SqoPWiChKzWp38vWYLkIsl8QTvtnYv0yZu0FACCcZHhq4d+1ReiVS4GL13ePmqAFVoRxpejbqsbSXWpZV10wy+vvoyextQvWhIgYicL33nBJGIEzKJgfM3KddVJ2fHpTRma0Y7RbzOyUoIbfW1ntiwne1y0zSsQIKbFMkKWbNX+3oCp4tq3gROxCG6mmwoztXpu8xukoYXSCBE6r/oDrltiAU0nYgjEBMk7RbmqidNI5CW/t4e6ut90DQdjlYcHRdoPfFDzekJ0X2hUh6iJhVIUOt6go2CmMu+ufX+2jdelMip9IHSF640tUBahExmC0apRrzeSvUNv2lujUB6tG8/ViGUeEXC0cVblm9r9vzWCqRHNKvDobYbfX2kkKOSJvh0+ZrKz4XPRiArZPkasSY10dXALkEtr5u67UAgwALzwgALCARYQCDAAgIBFhAIsIBAgAUEAiwgEGABgQALCARYQCDAAgIBFhAIsIBAgAUEAiwgEGABgQALCARYQCDAAgIBFhAIsIBAgAUEAiwgEGABgQALCARYQCDAAgIBFhAIsIBAgAUEAiwgEGABgQALCARYQCDAAgIBFhAIsIBAgAUEAiwgEGABgQCL/wMxYZPhdjCdcgAAAABJRU5ErkJggg==",import.meta.url).href},azure:{src:new URL("/__ONEWORKS_PROJECT_CLIENT_BASE__/assets/azure-C6wcxVWu.ico",import.meta.url).href},deepseek:{src:new URL("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='50.000000'%20height='50.000000'%20viewBox='0%200%2050%2050'%20fill='none'%20%3e%3cpath%20id='path'%20d='M48.8354%2010.0479C48.3232%209.79199%2048.1025%2010.2798%2047.8032%2010.5278C47.7007%2010.6079%2047.6143%2010.7119%2047.5273%2010.8076C46.7793%2011.624%2045.9048%2012.1597%2044.7622%2012.0957C43.0923%2012%2041.666%2012.5356%2040.4058%2013.8398C40.1377%2012.2319%2039.2476%2011.272%2037.8926%2010.6558C37.1836%2010.3359%2036.4668%2010.0156%2035.9702%209.31982C35.6235%208.82373%2035.5293%208.27197%2035.356%207.72754C35.2456%207.3999%2035.1353%207.06396%2034.7651%207.00781C34.3633%206.94385%2034.2056%207.2876%2034.0479%207.57568C33.418%208.75195%2033.1733%2010.0479%2033.1973%2011.3599C33.2524%2014.312%2034.4736%2016.6641%2036.8999%2018.3359C37.1758%2018.5278%2037.2466%2018.7197%2037.1597%2019C36.9946%2019.5757%2036.7974%2020.1357%2036.624%2020.7119C36.5137%2021.0801%2036.3486%2021.1597%2035.9624%2021C34.6309%2020.4321%2033.481%2019.5918%2032.4644%2018.5757C30.7393%2016.8721%2029.1792%2014.9917%2027.2334%2013.52C26.7764%2013.1758%2026.3193%2012.856%2025.8467%2012.5518C23.8618%2010.584%2026.1069%208.96777%2026.627%208.77588C27.1704%208.57568%2026.8159%207.8877%2025.0591%207.896C23.3022%207.90381%2021.6953%208.50391%2019.647%209.30371C19.3477%209.42383%2019.0322%209.51172%2018.7095%209.58398C16.8501%209.22363%2014.9199%209.14355%2012.9033%209.37598C9.10596%209.80762%206.07275%2011.6396%203.84326%2014.7681C1.16455%2018.5278%200.53418%2022.7998%201.30664%2027.2559C2.11768%2031.9521%204.46582%2035.8398%208.07373%2038.8799C11.8159%2042.0322%2016.1255%2043.5762%2021.041%2043.2803C24.0269%2043.104%2027.3516%2042.6963%2031.1016%2039.4561C32.0469%2039.936%2033.0396%2040.1279%2034.686%2040.272C35.9546%2040.3921%2037.1758%2040.208%2038.1211%2040.0078C39.6021%2039.688%2039.4995%2038.2881%2038.9639%2038.0322C34.623%2035.9678%2035.5762%2036.8081%2034.71%2036.1279C36.9155%2033.4639%2040.2402%2030.6958%2041.54%2021.728C41.6426%2021.0161%2041.5557%2020.5679%2041.54%2019.9917C41.5322%2019.6396%2041.6108%2019.5039%2042.0049%2019.4639C43.0923%2019.3359%2044.1479%2019.0317%2045.1167%2018.4878C47.9292%2016.9199%2049.064%2014.3438%2049.3315%2011.2559C49.3711%2010.7837%2049.3237%2010.2959%2048.8354%2010.0479ZM24.3262%2037.8398C20.1196%2034.4639%2018.0791%2033.3521%2017.2358%2033.3999C16.4482%2033.4482%2016.5898%2034.3682%2016.7632%2034.9678C16.9443%2035.5601%2017.1812%2035.9683%2017.5117%2036.4878C17.7402%2036.832%2017.8979%2037.3442%2017.2832%2037.728C15.9282%2038.584%2013.5728%2037.4399%2013.4624%2037.3838C10.7207%2035.7358%208.42822%2033.5601%206.81348%2030.584C5.25342%2027.7197%204.34766%2024.6479%204.19775%2021.3677C4.1582%2020.5757%204.38672%2020.2959%205.15869%2020.1519C6.17529%2019.96%207.22314%2019.9199%208.23926%2020.0718C12.5327%2020.7119%2016.1885%2022.6719%2019.2529%2025.7759C21.002%2027.5439%2022.3252%2029.6558%2023.6885%2031.7202C25.1377%2033.9121%2026.6978%2036%2028.6831%2037.7119C29.3843%2038.312%2029.9434%2038.7681%2030.479%2039.104C28.8643%2039.2881%2026.1699%2039.3281%2024.3262%2037.8398ZM26.3433%2024.6001C26.3433%2024.248%2026.6191%2023.9678%2026.9658%2023.9678C27.0444%2023.9678%2027.1152%2023.9839%2027.1782%2024.0078C27.2651%2024.04%2027.3438%2024.0879%2027.4067%2024.1602C27.5171%2024.272%2027.5801%2024.4321%2027.5801%2024.6001C27.5801%2024.9521%2027.3042%2025.2319%2026.9575%2025.2319C26.6108%2025.2319%2026.3433%2024.9521%2026.3433%2024.6001ZM32.6064%2027.8799C32.2046%2028.0479%2031.8027%2028.1919%2031.4165%2028.208C30.8179%2028.2397%2030.1641%2027.9922%2029.8096%2027.688C29.2583%2027.2158%2028.8643%2026.9521%2028.6987%2026.1279C28.6279%2025.7759%2028.6675%2025.2319%2028.7305%2024.9199C28.8721%2024.248%2028.7144%2023.8159%2028.2495%2023.4238C27.8716%2023.104%2027.3911%2023.0161%2026.8633%2023.0161C26.666%2023.0161%2026.4849%2022.9277%2026.3511%2022.856C26.1304%2022.7441%2025.9492%2022.4639%2026.1226%2022.1201C26.1777%2022.0078%2026.4458%2021.7358%2026.5088%2021.688C27.2256%2021.272%2028.0527%2021.4077%2028.8169%2021.7197C29.5259%2022.0161%2030.0615%2022.5601%2030.834%2023.3281C31.6216%2024.2559%2031.7632%2024.5117%2032.2124%2025.208C32.5669%2025.752%2032.8901%2026.312%2033.1104%2026.9521C33.2446%2027.3521%2033.0713%2027.6802%2032.6064%2027.8799Z'%20fill='%23000'%20fill-opacity='1.000000'%20fill-rule='nonzero'%20/%3e%3c/svg%3e",import.meta.url).href,invertInDark:!0},gemini:{src:new URL("/__ONEWORKS_PROJECT_CLIENT_BASE__/assets/gemini-B9inYaVW.png",import.meta.url).href},"kimi-k2":{light:ut,dark:mt},litellm:{src:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAMAAADDpiTIAAAAKlBMVEVMaXGTnaV0p85XW2C8vsA7iMPm5+giZ5ojHyBYWVunqayTlZj/6LYpMjyRb2FKAAAABHRSTlMAcPufcJq4aQAAAAlwSFlzAADR+QAA0fkBnHlTdwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAn/SURBVHja7d3tcuM2GgVhU4Scley9/9tdz+wkm8raY1EESADn6ZlfqUpVwm7ghb7IlxcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA6IHlH9w/w2WaS/V9Ky7eyMbv+3Et85wLYDDp95a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gP8fX/fVTh0WsAAAAASUVORK5CYII=",import.meta.url).href},micu:{src:new URL("/__ONEWORKS_PROJECT_CLIENT_BASE__/assets/micu-dUcmmgZZ.png",import.meta.url).href},minimax:{src:new URL("/__ONEWORKS_PROJECT_CLIENT_BASE__/assets/minimax-B5WRVrUt.png",import.meta.url).href},moonshot:{light:ut,dark:mt},openai:{src:new URL("/__ONEWORKS_PROJECT_CLIENT_BASE__/assets/openai-ABb0YGGa.svg",import.meta.url).href,invertInDark:!0},openrouter:{src:new URL("/__ONEWORKS_PROJECT_CLIENT_BASE__/assets/openrouter-CsJ_bD5Q.ico",import.meta.url).href},portkey:{src:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABX1BMVEVMaXHvzdXz8/Pg2eL49/n4+Prt7e2oqKj6+fvu2N/+/f39/P329vnhvcmYzeNUr9SFfZ48osv0u8fqf5Qkm8tyiaz9+/vb7fXnUm/9/P13wN3wna3+/P39/f39/P375ursJEWu1ujM5fD8/f39/f3mNVf8/P39/Pz8+/y64O78/f6+z97+/Py9vb29vb3++vv+/v7///8DgrUDh7sAib+oPmEAjMOfRGjdATauOl2kQmWWSm6RTnPOH0b9+/zHJ0uzNlnaCjriATIFkcebR2vSF0CEVHuLUXcrfKt5XIPWET1/WH+5MVS/LFAaf7BKcZ9hZ5FpY4xAdKM3eKdxX4hSbppZa5bfztjoAizz5er37vHYjqHn8PaTpL+6gprkY36mnrevlKy0borMs8PHV3OpXHvRQGFUirN1pMSYWnyff52YcpK4TGswj7reqLfAnLFbm8DPb4eWu9OzvM+dkKyTCAOWAAAAc3RSTlMA/Rf9/tYNBsL+JTPo/v7+/v78/v7+u/L+hv7+alpN5v79+qeP/ntBsfyf/ZtCX6H///////////////////////////////////////////////////////////////7///////////7///////////7+bdIjyQAAAAlwSFlzAAAOxAAADsQBlSsOGwAAADt0RVh0Q29tbWVudAB4cjpkOkRBRjRFTm5BRE5ROjMsajo3ODA4NTI5MzQxM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nPVzwWdORpDyKiMorwjHxADeKEjw0FueTz3hgt4CN0wocA6EhPpWFrbFpc5K74IBKCbRnz+ju15NhNwSqowWgMCHmsT8wBIz2sS8CW6ZUKhVpJbwQMrDrbsEHMh7eY1+5m/ZkKhJjcC4hsAqAp0qEXiPnDBqTVQ+EcmFJqiMtMeYEtnTVEY6nMhAPg0XEB1JnZuCspAKmGhQMSOd44N9tlxuM5pdSkRf8vEjkMZiagMWqWlrGjrkhMAadVQQvwoiJ1697zIxE44ae2uVjeNIeWSVIvligq2x+556RkUX0Do2W0zMZgqqbhqtRVJDNd8d7U5mGDrE0pmwUVjSLnVy5Ev1As967nUAMBz/36PxHMwWmOqIMCUXw8gOltitF9izYVoEshwN5wLxXsAlBMDGgeXUpnuBm0plUG1NlQqy7rgXDHcLxCNyISzQ63zhu0+GkPqiUd6OhGPdwA8C2a10p2JgQuHnQukY8UajKUtU0RTa7sAcNiOaSJK9SaT7mVttY1LCXs+n293OpdgV8Suid3KQiFzX5zVfi4lmFAAwSZLd/Xzw5S06j0YQmkmdkC1aj8/HH7dt9uw4GQxUNWqPD/2ep4fTYfNbPBo88+79WPAgI2KmDAbPdvMQbvT3QWc9ifhpuYQJt56e44khfhL56ndbo9RG6V2d3d3e123CMHh97x9ozMJv01l/oWZ5SHuf2j/ATZSjxElimA2AAAAAElFTkSuQmCC",import.meta.url).href},qwen:{src:new URL("/__ONEWORKS_PROJECT_CLIENT_BASE__/assets/qwen-Cla2cGrM.svg",import.meta.url).href},requesty:{src:new URL("/__ONEWORKS_PROJECT_CLIENT_BASE__/assets/requesty-DAzbbw8F.ico",import.meta.url).href},vercel:{src:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEABAMAAACuXLVVAAAAG1BMVEUAAAD///8bGxvl5eWDg4NkZGQ/Pz/CwsKhoaHv4KsIAAACiUlEQVR42u2aya3iUBREv2wGb6uhMctvOQEeEeAMmgw+GZgM2pn3gh4YbOPh3VtSq04C7yx8SleIjw8hhBBCCCGEEEIIIYQQQgghhBBiJp/k9xcnskB5JAs0W+77CcD9CDKgpgpcgB1VIAA58/0lAPwgCqQAwAyxAgBiiEkAgM0nM0IA4K1xcRP4xtvhmwAtxBV+88WMEOCt8fmPwHfeDt8ghbjAXzghlv8EjswIaWuc4A7GR5DdCzBCvNwL7JgRktZ4iQf8z6L0UcA/xOpRwD3EJDwKuK9xhie817h4FvA+i5pnAecQV3jhixmh/xqfXwV81zi8CriGuEQLniGWbQJHZoTOa5ygFb+PIGsX8Avx0i6wY0bousZLdOC1xmmXgFeI5y4BpxCT0CXgtMYZOvFZ46JbwOcsaroFXEJcoQePENd9AjUzQq81Dn0CG+IOe4VY9gvYr3HVL2C+xkn/+/ZrnL0RwE/eDvuEeH0nkFMjtF/j9L3AgbfDDiEm4b2AaYgLDODEjNB6jZshAnveDpuHuB4mUDMjtF3jMExgQ9xh29/uy6ECViFWQwW21Ajt1jgbLGB0FhXDBWxCvA4XyKkRWq1xOkbgwNths780JGGMgEGIC4zixIzQZo2bcQJ73g4bhbgeK1AzI7RY4zBWYEPcYYuzqBwvEDfEarzAlhph7DXOJghEPYuKKQIxQ7xOEcipEcZd43SawIG3w5HPoiRME4gW4gITOTEjjLnGzVSBPW+Ho4a4ni5QMyOMt8ZhukBO3OF4Z1E5RyBGiNUcgS01wjhrnM0SiHAWFfMEdrwdjhTiEjOZu8bpXAG73+6FEEIIIYQQQgghhBBCCCGEEEIIIYQQQoj/hV+nGiA8OfQurAAAAABJRU5ErkJggg==",import.meta.url).href,invertInDark:!0},yunwu:{src:new URL("/__ONEWORKS_PROJECT_CLIENT_BASE__/assets/yunwu-C0h7koCA.png",import.meta.url).href},zhipu:{src:new URL("/__ONEWORKS_PROJECT_CLIENT_BASE__/assets/zhipu-CWmkm5qz.png",import.meta.url).href}},Oe={anthropic:"psychology",api:"api",apiyi:"api",aws:"deployed_code",azure:"cloud",baidu:"travel_explore",deepseek:"search_insights",gemini:"diamond",litellm:"account_tree",micu:"hub",minimax:"auto_awesome",model:"neurology","model-service":"hub",moonshot:"nightlight",openai:"hexagon",openrouter:"route",portkey:"vpn_key",qwen:"cloud",requesty:"sync_alt",tencent:"cloud_circle",vercel:"change_history",volcengine:"local_fire_department",yunwu:"cloud",zhipu:"neurology"},Pe=t=>Oe[t]??"hub",nt=(t,e)=>[t,"model-provider-icon",e].filter(Boolean).join(" "),ot=({alt:t="",darkSrc:e,imageClassName:o,lightSrc:n,iconId:a})=>O.jsxs(O.Fragment,{children:[O.jsx("img",{className:nt(o,"model-provider-icon--theme-light"),src:n,alt:t,"data-icon-id":a,"data-icon-theme":"light"}),O.jsx("img",{className:nt(o,"model-provider-icon--theme-dark"),src:e,alt:t,"data-icon-id":a,"data-icon-theme":"dark"})]}),Te=({icon:t,imageClassName:e,symbolClassName:o})=>{if(t==null)return null;if(t.kind==="url")return t.darkUrl!=null&&t.darkUrl.trim()!==""?ot({imageClassName:e,lightSrc:t.url,darkSrc:t.darkUrl}):O.jsx("img",{className:e,src:t.url,alt:""});if(t.kind==="data")return t.darkValue!=null&&t.darkValue.trim()!==""?ot({imageClassName:e,lightSrc:t.value,darkSrc:t.darkValue}):O.jsx("img",{className:e,src:t.value,alt:""});if(t.kind==="material")return O.jsx("span",{className:`${o} material-symbols-rounded`,children:t.name});const n=Qe[t.id];return n!=null?"dark"in n?ot({imageClassName:e,lightSrc:n.light,darkSrc:n.dark,iconId:t.id}):O.jsx("img",{className:nt(e,n.invertInDark===!0?"model-provider-icon--dark-invert":void 0),src:n.src,alt:"","data-icon-id":t.id}):O.jsx("span",{className:`${o} ${o}--${t.id} material-symbols-rounded`,"data-icon-id":t.id,children:Pe(t.id)})},Fe=({mode:t,backgroundStyle:e,noBackground:o,size:n,theme:a,title:i})=>{const l=be({backgroundStyle:o===!0?void 0:e??"textured",mode:t,noBackground:o,shadow:!1,size:n,theme:a,title:i});return`data:image/svg+xml;utf8,${encodeURIComponent(l)}`},ht=t=>({...t??{}}),qe=t=>t!=null&&typeof t=="object"&&!Array.isArray(t);function Je(){var E,D,L,S,M;const{message:t}=zt.useApp(),{i18n:e,t:o}=Wt(),n=window.oneworksDesktop,a=(n==null?void 0:n.getGlobalInterfaceLanguageConfig)!=null&&n.updateGlobalInterfaceLanguageConfig!=null&&n.resetGlobalInterfaceLanguageConfig!=null,i=!a&&n==null,{data:l}=ct(i?"/api/config":null,Tt),{data:s,mutate:c}=ct(a?"desktop:global-interface-language-config":null,async()=>{var y;return await((y=n==null?void 0:n.getGlobalInterfaceLanguageConfig)==null?void 0:y.call(n))??{}}),{mutate:r}=Xt(),p=i?(D=(E=l==null?void 0:l.sources)==null?void 0:E.global)==null?void 0:D.general:void 0,g=N(p==null?void 0:p.interfaceLanguage)??N(s==null?void 0:s.configuredLanguage),A=N(a?s==null?void 0:s.effectiveLanguage:(M=(S=(L=l==null?void 0:l.sources)==null?void 0:L.merged)==null?void 0:S.general)==null?void 0:M.interfaceLanguage),b=v.useCallback(async y=>{var x;const I=N(y);if(I==null)return;const u=e.resolvedLanguage??e.language;lt(),await R(I);try{if(a){const k=await((x=n.updateGlobalInterfaceLanguageConfig)==null?void 0:x.call(n,I));await c(k??{},{revalidate:!1}),r("/api/config");return}if(!i){await R(u),t.error(o("config.saveFailed"));return}await rt("global","general",{...ht(p),interfaceLanguage:I}),await r("/api/config")}catch(k){console.error("[config] failed to update global interface language",k),await R(u),t.error(o("config.saveFailed"))}},[i,a,n,e,t,r,c,p,o]),B=v.useCallback(async()=>{const y=e.resolvedLanguage??e.language,I=ht(p);delete I.interfaceLanguage,lt();try{const u=await(async()=>{var k,G,Q,T;if(a){const K=await((k=n.resetGlobalInterfaceLanguageConfig)==null?void 0:k.call(n));return await c(K??{},{revalidate:!1}),r("/api/config"),N(K==null?void 0:K.effectiveLanguage)??tt()}if(!i)throw new Error("Config API is not available.");await rt("global","general",I,{unsetPaths:[["interfaceLanguage"]]});const x=await r("/api/config");return N((T=(Q=(G=x==null?void 0:x.sources)==null?void 0:G.merged)==null?void 0:Q.general)==null?void 0:T.interfaceLanguage)??tt()})();await R(u)}catch(u){console.error("[config] failed to reset global interface language",u),await R(y),t.error(o("config.saveFailed"))}},[i,a,n,e,t,r,c,p,o]);return v.useEffect(()=>{A==null||e.language===A||R(A)},[A,e.language]),v.useEffect(()=>{if(!(!a||(n==null?void 0:n.onGlobalInterfaceLanguageConfigChange)==null))return n.onGlobalInterfaceLanguageConfigChange(y=>{if(!qe(y))return;c(y,{revalidate:!1}),r("/api/config");const I=N(y.effectiveLanguage)??tt();R(I)})},[a,n,r,c]),{configuredGlobalLanguage:g,hasGlobalInterfaceLanguage:g!=null,resetGlobalInterfaceLanguage:B,updateGlobalInterfaceLanguage:b}}const ft=(t,e)=>{const o=t.toLowerCase(),n=e?"folder_open":"folder";return o===".oo"?{icon:n,tone:"ai",badgeIcon:"auto_awesome"}:o===".docs"||o==="docs"||o==="doc"?{icon:n,tone:"docs",badgeIcon:"article"}:o===".github"||o===".gitlab"||o===".git"?{icon:n,tone:"git",badgeIcon:"commit"}:o.includes("test")||o==="__tests__"||o==="__test__"?{icon:n,tone:"test",badgeIcon:"science"}:o==="src"||o==="source"?{icon:n,tone:"source",badgeIcon:"code"}:o==="apps"||o==="packages"?{icon:n,tone:"package",badgeIcon:"inventory_2"}:o==="scripts"||o==="bin"?{icon:n,tone:"script",badgeIcon:"terminal"}:o==="public"||o==="assets"||o==="static"?{icon:n,tone:"asset",badgeIcon:"image"}:o==="components"?{icon:n,tone:"component",badgeIcon:"widgets"}:o==="routes"||o==="pages"?{icon:n,tone:"route",badgeIcon:"alt_route"}:o==="api"||o==="server"?{icon:n,tone:"api",badgeIcon:"hub"}:o.includes("hook")?{icon:n,tone:"hook",badgeIcon:"link"}:{icon:n,tone:"folder"}},Ge=t=>{const e=t.toLowerCase();return/\.(?:ts|tsx|mts|cts)$/.test(e)?{icon:"data_object",tone:"typescript"}:/\.(?:js|jsx|mjs|cjs)$/.test(e)?{icon:"javascript",tone:"javascript"}:/\.(?:json|jsonc)$/.test(e)?{icon:"tune",tone:"json"}:/\.(?:md|mdx)$/.test(e)?{icon:"article",tone:"markdown"}:/\.(?:css|scss|sass|less|pcss)$/.test(e)?{icon:"palette",tone:"style"}:/\.(?:png|jpe?g|gif|svg|webp|avif|ico)$/.test(e)?{icon:"image",tone:"image"}:/\.(?:lock|lockb)$/.test(e)?{icon:"lock",tone:"lock"}:e.includes("package.json")||e.endsWith(".yaml")||e.endsWith(".yml")?{icon:"inventory_2",tone:"package"}:e.startsWith(".env")?{icon:"key",tone:"env"}:e.includes("ignore")?{icon:"hide_source",tone:"ignore"}:{icon:"draft",tone:"file"}},_e=(t,e,o,n="symlink")=>n==="gitdir"?{...ft(t,o),tone:e==="missing"?"symlink-broken":"git"}:e==="missing"?{icon:"draft",tone:"symlink-broken",badgeIcon:"link_off"}:e==="directory"?{...ft(t,o),badgeIcon:"link"}:e==="file"?{...Ge(t),badgeIcon:"link"}:{icon:"draft",tone:"symlink"},to=(t,e,o)=>e==="missing"?{icon:"link_off",tone:"symlink-broken"}:t==="gitdir"?{icon:"account_tree",tone:"git"}:o===!0?{icon:"open_in_new",tone:"symlink-external"}:{icon:"link",tone:"symlink"};export{le as S,_e as a,ft as b,Fe as c,Ge as d,Ke as e,He as f,to as g,$ as h,We as i,Xe as j,_ as k,Ue as l,V as m,Ee as n,ze as o,Ye as p,Ze as q,Te as r,Je as u};
@@ -0,0 +1 @@
1
+ .model-provider-icon.model-provider-icon--theme-dark,html.dark .model-provider-icon.model-provider-icon--theme-light{display:none}html.dark .model-provider-icon.model-provider-icon--theme-dark{display:inline-block}html.dark .model-provider-icon--dark-invert{filter:invert(1) brightness(1.08)}
@@ -0,0 +1 @@
1
+ import{cj as e}from"./AuthenticatedApp-CK9TT7Nk.js";import"./vendor-react-CnooHTJc.js";import"./vendor-state-zjcHRN98.js";import"./index-DdUqPqXW.js";import"./MobileAwareSelect-CCAQrsxL.js";import"./use-app-preferences-DGCafwsP.js";import"./route-plugin-chrome-bV1HEaju.js";import"./shortcutUtils-B8h6g_7o.js";import"./project-file-tree-icons-CfonMx-1.js";import"./WorkspaceApp-l-h_IsMp.js";import"./index-ZOsqqPVv.js";import"./client-build-info-6B4KoYHs.js";const m={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"),action:{indentAction:e.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},_={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","_","and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","match","nonlocal","not","or","pass","print","raise","return","try","type","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/f'{1,3}/,"string.escape","@fStringBody"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/f"{1,3}/,"string.escape","@fDblStringBody"],[/"/,"string.escape","@dblStringBody"]],fStringBody:[[/[^\\'\{\}]+$/,"string","@popall"],[/[^\\'\{\}]+/,"string"],[/\{[^\}':!=]+/,"identifier","@fStringDetail"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],fDblStringBody:[[/[^\\"\{\}]+$/,"string","@popall"],[/[^\\"\{\}]+/,"string"],[/\{[^\}':!=]+/,"identifier","@fStringDetail"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]],fStringDetail:[[/[:][^}]+/,"string"],[/[!][ars]/,"string"],[/=/,"string"],[/\}/,"identifier","@pop"]]}};export{m as conf,_ as language};
@@ -1,7 +1,7 @@
1
- import{s as vt,a as Lt,v as bt,x as Ct,b as zt,c as Et,g as yt,l as lt,d as gt,e as Dt,z as It,aL as D,aY as Bt,i as wt}from"./mermaid.core-DWzpZH_g.js";import"./AuthenticatedApp-BTs4l2pB.js";import{l as _t}from"./linear-CJHB38BG.js";import"./index-Dn-Bbs_z.js";import"./vendor-react-BNJ5yonH.js";import"./vendor-state-CBVXPiKY.js";import"./client-build-info-CUyezPn4.js";import"./use-app-preferences-B4K999VJ.js";import"./copy-OJ_6Pvs2.js";import"./WorkspaceApp-DGL3CHCp.js";import"./init-Gi6I4Gst.js";var pt=function(){var e=function(K,n,r,o){for(r=r||{},o=K.length;o--;r[K[o]]=n);return r},s=[1,3],h=[1,4],x=[1,5],f=[1,6],d=[1,7],c=[1,5,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],g=[1,5,6,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],i=[32,33,34],y=[2,7],p=[1,13],B=[1,17],N=[1,18],V=[1,19],I=[1,20],b=[1,21],M=[1,22],X=[1,23],C=[1,24],it=[1,25],at=[1,26],nt=[1,27],U=[1,30],Q=[1,31],T=[1,32],_=[1,33],m=[1,34],t=[1,35],A=[1,36],S=[1,37],k=[1,38],F=[1,39],P=[1,40],v=[1,41],L=[1,42],O=[1,57],Y=[1,58],z=[5,22,26,32,33,34,40,41,42,43,44,45,46,47,48,49,50,51],ht={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,QUADRANT:6,document:7,line:8,statement:9,axisDetails:10,quadrantDetails:11,points:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,text:21,point_start:22,point_x:23,point_y:24,"X-AXIS":25,"AXIS-TEXT-DELIMITER":26,"Y-AXIS":27,QUADRANT_1:28,QUADRANT_2:29,QUADRANT_3:30,QUADRANT_4:31,NEWLINE:32,SEMI:33,EOF:34,alphaNumToken:35,textNoTagsToken:36,STR:37,MD_STR:38,alphaNum:39,PUNCTUATION:40,AMP:41,NUM:42,ALPHA:43,COMMA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,UNDERSCORE:50,MINUS:51,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",6:"QUADRANT",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",22:"point_start",23:"point_x",24:"point_y",25:"X-AXIS",26:"AXIS-TEXT-DELIMITER",27:"Y-AXIS",28:"QUADRANT_1",29:"QUADRANT_2",30:"QUADRANT_3",31:"QUADRANT_4",32:"NEWLINE",33:"SEMI",34:"EOF",37:"STR",38:"MD_STR",40:"PUNCTUATION",41:"AMP",42:"NUM",43:"ALPHA",44:"COMMA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"UNDERSCORE",51:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[9,0],[9,2],[9,1],[9,1],[9,1],[9,2],[9,2],[9,2],[9,1],[9,1],[12,4],[10,4],[10,3],[10,2],[10,4],[10,3],[10,2],[11,2],[11,2],[11,2],[11,2],[4,1],[4,1],[4,1],[21,1],[21,2],[21,1],[21,1],[39,1],[39,2],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[36,1],[36,1],[36,1]],performAction:function(n,r,o,l,q,a,et){var u=a.length-1;switch(q){case 12:this.$=a[u].trim(),l.setDiagramTitle(this.$);break;case 13:this.$=a[u].trim(),l.setAccTitle(this.$);break;case 14:case 15:this.$=a[u].trim(),l.setAccDescription(this.$);break;case 16:l.addSection(a[u].substr(8)),this.$=a[u].substr(8);break;case 17:l.addPoint(a[u-3],a[u-1],a[u]);break;case 18:l.setXAxisLeftText(a[u-2]),l.setXAxisRightText(a[u]);break;case 19:a[u-1].text+=" ⟶ ",l.setXAxisLeftText(a[u-1]);break;case 20:l.setXAxisLeftText(a[u]);break;case 21:l.setYAxisBottomText(a[u-2]),l.setYAxisTopText(a[u]);break;case 22:a[u-1].text+=" ⟶ ",l.setYAxisBottomText(a[u-1]);break;case 23:l.setYAxisBottomText(a[u]);break;case 24:l.setQuadrant1Text(a[u]);break;case 25:l.setQuadrant2Text(a[u]);break;case 26:l.setQuadrant3Text(a[u]);break;case 27:l.setQuadrant4Text(a[u]);break;case 31:this.$={text:a[u],type:"text"};break;case 32:this.$={text:a[u-1].text+""+a[u],type:a[u-1].type};break;case 33:this.$={text:a[u],type:"text"};break;case 34:this.$={text:a[u],type:"markdown"};break;case 35:this.$=a[u];break;case 36:this.$=a[u-1]+""+a[u];break}},table:[{3:1,4:2,5:s,6:h,32:x,33:f,34:d},{1:[3]},{3:8,4:2,5:s,6:h,32:x,33:f,34:d},{3:9,4:2,5:s,6:h,32:x,33:f,34:d},e(c,[2,4],{7:10}),e(g,[2,28]),e(g,[2,29]),e(g,[2,30]),{1:[2,1]},{1:[2,2]},e(i,y,{8:11,9:12,10:14,11:15,12:16,21:28,35:29,1:[2,3],5:p,13:B,15:N,17:V,19:I,20:b,25:M,27:X,28:C,29:it,30:at,31:nt,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(c,[2,5]),{4:43,32:x,33:f,34:d},e(i,y,{10:14,11:15,12:16,21:28,35:29,9:44,5:p,13:B,15:N,17:V,19:I,20:b,25:M,27:X,28:C,29:it,30:at,31:nt,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),{14:[1,45]},{16:[1,46]},{18:[1,47]},e(i,[2,15]),e(i,[2,16]),{21:48,35:29,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:49,35:29,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:50,35:29,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:51,35:29,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:52,35:29,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:53,35:29,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{5:O,22:[1,54],35:56,36:55,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y},e(z,[2,31]),e(z,[2,33]),e(z,[2,34]),e(z,[2,37]),e(z,[2,38]),e(z,[2,39]),e(z,[2,40]),e(z,[2,41]),e(z,[2,42]),e(z,[2,43]),e(z,[2,44]),e(z,[2,45]),e(z,[2,46]),e(z,[2,47]),e(c,[2,6]),e(i,[2,8]),e(i,[2,12]),e(i,[2,13]),e(i,[2,14]),e(i,[2,20],{36:55,35:56,5:O,26:[1,59],40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,23],{36:55,35:56,5:O,26:[1,60],40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,24],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,25],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,26],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,27],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),{23:[1,61]},e(z,[2,32]),e(z,[2,48]),e(z,[2,49]),e(z,[2,50]),e(i,[2,19],{35:29,21:62,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(i,[2,22],{35:29,21:63,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),{24:[1,64]},e(i,[2,18],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,21],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,17])],defaultActions:{8:[2,1],9:[2,2]},parseError:function(n,r){if(r.recoverable)this.trace(n);else{var o=new Error(n);throw o.hash=r,o}},parse:function(n){var r=this,o=[0],l=[],q=[null],a=[],et=this.table,u="",st=0,qt=0,St=2,Tt=1,kt=a.slice.call(arguments,1),E=Object.create(this.lexer),Z={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(Z.yy[dt]=this.yy[dt]);E.setInput(n,Z.yy),Z.yy.lexer=E,Z.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var ut=E.yylloc;a.push(ut);var Ft=E.options&&E.options.ranges;typeof Z.yy.parseError=="function"?this.parseError=Z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Pt(){var j;return j=l.pop()||E.lex()||Tt,typeof j!="number"&&(j instanceof Array&&(l=j,j=l.pop()),j=r.symbols_[j]||j),j}for(var W,J,H,xt,tt={},rt,$,mt,ot;;){if(J=o[o.length-1],this.defaultActions[J]?H=this.defaultActions[J]:((W===null||typeof W>"u")&&(W=Pt()),H=et[J]&&et[J][W]),typeof H>"u"||!H.length||!H[0]){var ft="";ot=[];for(rt in et[J])this.terminals_[rt]&&rt>St&&ot.push("'"+this.terminals_[rt]+"'");E.showPosition?ft="Parse error on line "+(st+1)+`:
1
+ import{s as vt,a as Lt,v as bt,x as Ct,b as zt,c as Et,g as yt,l as lt,d as gt,e as Dt,z as It,aL as D,aY as Bt,i as wt}from"./mermaid.core-VYJIZL_J.js";import"./AuthenticatedApp-CK9TT7Nk.js";import{l as _t}from"./linear-y86GycLK.js";import"./index-DdUqPqXW.js";import"./vendor-react-CnooHTJc.js";import"./vendor-state-zjcHRN98.js";import"./MobileAwareSelect-CCAQrsxL.js";import"./use-app-preferences-DGCafwsP.js";import"./route-plugin-chrome-bV1HEaju.js";import"./shortcutUtils-B8h6g_7o.js";import"./project-file-tree-icons-CfonMx-1.js";import"./WorkspaceApp-l-h_IsMp.js";import"./index-ZOsqqPVv.js";import"./client-build-info-6B4KoYHs.js";import"./init-Gi6I4Gst.js";var pt=function(){var e=function(K,n,r,o){for(r=r||{},o=K.length;o--;r[K[o]]=n);return r},s=[1,3],h=[1,4],x=[1,5],f=[1,6],d=[1,7],c=[1,5,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],g=[1,5,6,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],i=[32,33,34],y=[2,7],p=[1,13],B=[1,17],N=[1,18],V=[1,19],I=[1,20],b=[1,21],M=[1,22],X=[1,23],C=[1,24],it=[1,25],at=[1,26],nt=[1,27],U=[1,30],Q=[1,31],T=[1,32],_=[1,33],m=[1,34],t=[1,35],A=[1,36],S=[1,37],k=[1,38],F=[1,39],P=[1,40],v=[1,41],L=[1,42],O=[1,57],Y=[1,58],z=[5,22,26,32,33,34,40,41,42,43,44,45,46,47,48,49,50,51],ht={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,QUADRANT:6,document:7,line:8,statement:9,axisDetails:10,quadrantDetails:11,points:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,text:21,point_start:22,point_x:23,point_y:24,"X-AXIS":25,"AXIS-TEXT-DELIMITER":26,"Y-AXIS":27,QUADRANT_1:28,QUADRANT_2:29,QUADRANT_3:30,QUADRANT_4:31,NEWLINE:32,SEMI:33,EOF:34,alphaNumToken:35,textNoTagsToken:36,STR:37,MD_STR:38,alphaNum:39,PUNCTUATION:40,AMP:41,NUM:42,ALPHA:43,COMMA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,UNDERSCORE:50,MINUS:51,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",6:"QUADRANT",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",22:"point_start",23:"point_x",24:"point_y",25:"X-AXIS",26:"AXIS-TEXT-DELIMITER",27:"Y-AXIS",28:"QUADRANT_1",29:"QUADRANT_2",30:"QUADRANT_3",31:"QUADRANT_4",32:"NEWLINE",33:"SEMI",34:"EOF",37:"STR",38:"MD_STR",40:"PUNCTUATION",41:"AMP",42:"NUM",43:"ALPHA",44:"COMMA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"UNDERSCORE",51:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[9,0],[9,2],[9,1],[9,1],[9,1],[9,2],[9,2],[9,2],[9,1],[9,1],[12,4],[10,4],[10,3],[10,2],[10,4],[10,3],[10,2],[11,2],[11,2],[11,2],[11,2],[4,1],[4,1],[4,1],[21,1],[21,2],[21,1],[21,1],[39,1],[39,2],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[36,1],[36,1],[36,1]],performAction:function(n,r,o,l,q,a,et){var u=a.length-1;switch(q){case 12:this.$=a[u].trim(),l.setDiagramTitle(this.$);break;case 13:this.$=a[u].trim(),l.setAccTitle(this.$);break;case 14:case 15:this.$=a[u].trim(),l.setAccDescription(this.$);break;case 16:l.addSection(a[u].substr(8)),this.$=a[u].substr(8);break;case 17:l.addPoint(a[u-3],a[u-1],a[u]);break;case 18:l.setXAxisLeftText(a[u-2]),l.setXAxisRightText(a[u]);break;case 19:a[u-1].text+=" ⟶ ",l.setXAxisLeftText(a[u-1]);break;case 20:l.setXAxisLeftText(a[u]);break;case 21:l.setYAxisBottomText(a[u-2]),l.setYAxisTopText(a[u]);break;case 22:a[u-1].text+=" ⟶ ",l.setYAxisBottomText(a[u-1]);break;case 23:l.setYAxisBottomText(a[u]);break;case 24:l.setQuadrant1Text(a[u]);break;case 25:l.setQuadrant2Text(a[u]);break;case 26:l.setQuadrant3Text(a[u]);break;case 27:l.setQuadrant4Text(a[u]);break;case 31:this.$={text:a[u],type:"text"};break;case 32:this.$={text:a[u-1].text+""+a[u],type:a[u-1].type};break;case 33:this.$={text:a[u],type:"text"};break;case 34:this.$={text:a[u],type:"markdown"};break;case 35:this.$=a[u];break;case 36:this.$=a[u-1]+""+a[u];break}},table:[{3:1,4:2,5:s,6:h,32:x,33:f,34:d},{1:[3]},{3:8,4:2,5:s,6:h,32:x,33:f,34:d},{3:9,4:2,5:s,6:h,32:x,33:f,34:d},e(c,[2,4],{7:10}),e(g,[2,28]),e(g,[2,29]),e(g,[2,30]),{1:[2,1]},{1:[2,2]},e(i,y,{8:11,9:12,10:14,11:15,12:16,21:28,35:29,1:[2,3],5:p,13:B,15:N,17:V,19:I,20:b,25:M,27:X,28:C,29:it,30:at,31:nt,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(c,[2,5]),{4:43,32:x,33:f,34:d},e(i,y,{10:14,11:15,12:16,21:28,35:29,9:44,5:p,13:B,15:N,17:V,19:I,20:b,25:M,27:X,28:C,29:it,30:at,31:nt,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),{14:[1,45]},{16:[1,46]},{18:[1,47]},e(i,[2,15]),e(i,[2,16]),{21:48,35:29,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:49,35:29,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:50,35:29,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:51,35:29,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:52,35:29,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:53,35:29,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{5:O,22:[1,54],35:56,36:55,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y},e(z,[2,31]),e(z,[2,33]),e(z,[2,34]),e(z,[2,37]),e(z,[2,38]),e(z,[2,39]),e(z,[2,40]),e(z,[2,41]),e(z,[2,42]),e(z,[2,43]),e(z,[2,44]),e(z,[2,45]),e(z,[2,46]),e(z,[2,47]),e(c,[2,6]),e(i,[2,8]),e(i,[2,12]),e(i,[2,13]),e(i,[2,14]),e(i,[2,20],{36:55,35:56,5:O,26:[1,59],40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,23],{36:55,35:56,5:O,26:[1,60],40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,24],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,25],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,26],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,27],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),{23:[1,61]},e(z,[2,32]),e(z,[2,48]),e(z,[2,49]),e(z,[2,50]),e(i,[2,19],{35:29,21:62,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(i,[2,22],{35:29,21:63,37:U,38:Q,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),{24:[1,64]},e(i,[2,18],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,21],{36:55,35:56,5:O,40:T,41:_,42:m,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,17])],defaultActions:{8:[2,1],9:[2,2]},parseError:function(n,r){if(r.recoverable)this.trace(n);else{var o=new Error(n);throw o.hash=r,o}},parse:function(n){var r=this,o=[0],l=[],q=[null],a=[],et=this.table,u="",st=0,qt=0,St=2,Tt=1,kt=a.slice.call(arguments,1),E=Object.create(this.lexer),Z={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(Z.yy[dt]=this.yy[dt]);E.setInput(n,Z.yy),Z.yy.lexer=E,Z.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var ut=E.yylloc;a.push(ut);var Ft=E.options&&E.options.ranges;typeof Z.yy.parseError=="function"?this.parseError=Z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Pt(){var j;return j=l.pop()||E.lex()||Tt,typeof j!="number"&&(j instanceof Array&&(l=j,j=l.pop()),j=r.symbols_[j]||j),j}for(var W,J,H,xt,tt={},rt,$,mt,ot;;){if(J=o[o.length-1],this.defaultActions[J]?H=this.defaultActions[J]:((W===null||typeof W>"u")&&(W=Pt()),H=et[J]&&et[J][W]),typeof H>"u"||!H.length||!H[0]){var ft="";ot=[];for(rt in et[J])this.terminals_[rt]&&rt>St&&ot.push("'"+this.terminals_[rt]+"'");E.showPosition?ft="Parse error on line "+(st+1)+`:
2
2
  `+E.showPosition()+`
3
3
  Expecting `+ot.join(", ")+", got '"+(this.terminals_[W]||W)+"'":ft="Parse error on line "+(st+1)+": Unexpected "+(W==Tt?"end of input":"'"+(this.terminals_[W]||W)+"'"),this.parseError(ft,{text:E.match,token:this.terminals_[W]||W,line:E.yylineno,loc:ut,expected:ot})}if(H[0]instanceof Array&&H.length>1)throw new Error("Parse Error: multiple actions possible at state: "+J+", token: "+W);switch(H[0]){case 1:o.push(W),q.push(E.yytext),a.push(E.yylloc),o.push(H[1]),W=null,qt=E.yyleng,u=E.yytext,st=E.yylineno,ut=E.yylloc;break;case 2:if($=this.productions_[H[1]][1],tt.$=q[q.length-$],tt._$={first_line:a[a.length-($||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-($||1)].first_column,last_column:a[a.length-1].last_column},Ft&&(tt._$.range=[a[a.length-($||1)].range[0],a[a.length-1].range[1]]),xt=this.performAction.apply(tt,[u,qt,st,Z.yy,H[1],q,a].concat(kt)),typeof xt<"u")return xt;$&&(o=o.slice(0,-1*$*2),q=q.slice(0,-1*$),a=a.slice(0,-1*$)),o.push(this.productions_[H[1]][0]),q.push(tt.$),a.push(tt._$),mt=et[o[o.length-2]][o[o.length-1]],o.push(mt);break;case 3:return!0}}return!0}},At=function(){var K={EOF:1,parseError:function(r,o){if(this.yy.parser)this.yy.parser.parseError(r,o);else throw new Error(r)},setInput:function(n,r){return this.yy=r||this.yy||{},this._input=n,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},input:function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var r=n.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},unput:function(n){var r=n.length,o=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var l=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),o.length-1&&(this.yylineno-=o.length-1);var q=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:o?(o.length===l.length?this.yylloc.first_column:0)+l[l.length-o.length].length-o[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[q[0],q[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),r=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
5
5
  `+r+"^"},test_match:function(n,r){var o,l,q;if(this.options.backtrack_lexer&&(q={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&&(q.yylloc.range=this.yylloc.range.slice(0))),l=n[0].match(/(?:\r\n?|\n).*/g),l&&(this.yylineno+=l.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:l?l[l.length-1].length-l[l.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,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(n[0].length),this.matched+=n[0],o=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o)return o;if(this._backtrack){for(var a in q)this[a]=q[a];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var n,r,o,l;this._more||(this.yytext="",this.match="");for(var q=this._currentRules(),a=0;a<q.length;a++)if(o=this._input.match(this.rules[q[a]]),o&&(!r||o[0].length>r[0].length)){if(r=o,l=a,this.options.backtrack_lexer){if(n=this.test_match(o,q[a]),n!==!1)return n;if(this._backtrack){r=!1;continue}else return!1}else if(!this.options.flex)break}return r?(n=this.test_match(r,q[l]),n!==!1?n:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
6
  `+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var r=this.next();return r||this.lex()},begin:function(r){this.conditionStack.push(r)},popState:function(){var r=this.conditionStack.length-1;return r>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(r){return r=this.conditionStack.length-1-Math.abs(r||0),r>=0?this.conditionStack[r]:"INITIAL"},pushState:function(r){this.begin(r)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(r,o,l,q){switch(l){case 0:break;case 1:break;case 2:return 32;case 3:break;case 4:return this.begin("title"),13;case 5:return this.popState(),"title_value";case 6:return this.begin("acc_title"),15;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),17;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 25;case 14:return 27;case 15:return 26;case 16:return 28;case 17:return 29;case 18:return 30;case 19:return 31;case 20:this.begin("md_string");break;case 21:return"MD_STR";case 22:this.popState();break;case 23:this.begin("string");break;case 24:this.popState();break;case 25:return"STR";case 26:return this.begin("point_start"),22;case 27:return this.begin("point_x"),23;case 28:this.popState();break;case 29:this.popState(),this.begin("point_y");break;case 30:return this.popState(),24;case 31:return 6;case 32:return 43;case 33:return"COLON";case 34:return 45;case 35:return 44;case 36:return 46;case 37:return 46;case 38:return 47;case 39:return 49;case 40:return 50;case 41:return 48;case 42:return 41;case 43:return 51;case 44:return 42;case 45:return 5;case 46:return 33;case 47:return 40;case 48:return 34}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{point_y:{rules:[30],inclusive:!1},point_x:{rules:[29],inclusive:!1},point_start:{rules:[27,28],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[21,22],inclusive:!1},string:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,23,26,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}};return K}();ht.lexer=At;function ct(){this.yy={}}return ct.prototype=ht,ht.Parser=ct,new ct}();pt.parser=pt;const Rt=pt,R=Bt();class Vt{constructor(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){var s,h,x,f,d,c,g,i,y,p,B,N,V,I,b,M,X,C;return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:((s=D.quadrantChart)==null?void 0:s.chartWidth)||500,chartWidth:((h=D.quadrantChart)==null?void 0:h.chartHeight)||500,titlePadding:((x=D.quadrantChart)==null?void 0:x.titlePadding)||10,titleFontSize:((f=D.quadrantChart)==null?void 0:f.titleFontSize)||20,quadrantPadding:((d=D.quadrantChart)==null?void 0:d.quadrantPadding)||5,xAxisLabelPadding:((c=D.quadrantChart)==null?void 0:c.xAxisLabelPadding)||5,yAxisLabelPadding:((g=D.quadrantChart)==null?void 0:g.yAxisLabelPadding)||5,xAxisLabelFontSize:((i=D.quadrantChart)==null?void 0:i.xAxisLabelFontSize)||16,yAxisLabelFontSize:((y=D.quadrantChart)==null?void 0:y.yAxisLabelFontSize)||16,quadrantLabelFontSize:((p=D.quadrantChart)==null?void 0:p.quadrantLabelFontSize)||16,quadrantTextTopPadding:((B=D.quadrantChart)==null?void 0:B.quadrantTextTopPadding)||5,pointTextPadding:((N=D.quadrantChart)==null?void 0:N.pointTextPadding)||5,pointLabelFontSize:((V=D.quadrantChart)==null?void 0:V.pointLabelFontSize)||12,pointRadius:((I=D.quadrantChart)==null?void 0:I.pointRadius)||5,xAxisPosition:((b=D.quadrantChart)==null?void 0:b.xAxisPosition)||"top",yAxisPosition:((M=D.quadrantChart)==null?void 0:M.yAxisPosition)||"left",quadrantInternalBorderStrokeWidth:((X=D.quadrantChart)==null?void 0:X.quadrantInternalBorderStrokeWidth)||1,quadrantExternalBorderStrokeWidth:((C=D.quadrantChart)==null?void 0:C.quadrantExternalBorderStrokeWidth)||2}}getDefaultThemeConfig(){return{quadrant1Fill:R.quadrant1Fill,quadrant2Fill:R.quadrant2Fill,quadrant3Fill:R.quadrant3Fill,quadrant4Fill:R.quadrant4Fill,quadrant1TextFill:R.quadrant1TextFill,quadrant2TextFill:R.quadrant2TextFill,quadrant3TextFill:R.quadrant3TextFill,quadrant4TextFill:R.quadrant4TextFill,quadrantPointFill:R.quadrantPointFill,quadrantPointTextFill:R.quadrantPointTextFill,quadrantXAxisTextFill:R.quadrantXAxisTextFill,quadrantYAxisTextFill:R.quadrantYAxisTextFill,quadrantTitleFill:R.quadrantTitleFill,quadrantInternalBorderStrokeFill:R.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:R.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),lt.info("clear called")}setData(s){this.data={...this.data,...s}}addPoints(s){this.data.points=[...s,...this.data.points]}setConfig(s){lt.trace("setConfig called with: ",s),this.config={...this.config,...s}}setThemeConfig(s){lt.trace("setThemeConfig called with: ",s),this.themeConfig={...this.themeConfig,...s}}calculateSpace(s,h,x,f){const d=this.config.xAxisLabelPadding*2+this.config.xAxisLabelFontSize,c={top:s==="top"&&h?d:0,bottom:s==="bottom"&&h?d:0},g=this.config.yAxisLabelPadding*2+this.config.yAxisLabelFontSize,i={left:this.config.yAxisPosition==="left"&&x?g:0,right:this.config.yAxisPosition==="right"&&x?g:0},y=this.config.titleFontSize+this.config.titlePadding*2,p={top:f?y:0},B=this.config.quadrantPadding+i.left,N=this.config.quadrantPadding+c.top+p.top,V=this.config.chartWidth-this.config.quadrantPadding*2-i.left-i.right,I=this.config.chartHeight-this.config.quadrantPadding*2-c.top-c.bottom-p.top,b=V/2,M=I/2;return{xAxisSpace:c,yAxisSpace:i,titleSpace:p,quadrantSpace:{quadrantLeft:B,quadrantTop:N,quadrantWidth:V,quadrantHalfWidth:b,quadrantHeight:I,quadrantHalfHeight:M}}}getAxisLabels(s,h,x,f){const{quadrantSpace:d,titleSpace:c}=f,{quadrantHalfHeight:g,quadrantHeight:i,quadrantLeft:y,quadrantHalfWidth:p,quadrantTop:B,quadrantWidth:N}=d,V=!!this.data.xAxisRightText,I=!!this.data.yAxisTopText,b=[];return this.data.xAxisLeftText&&h&&b.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:y+(V?p/2:0),y:s==="top"?this.config.xAxisLabelPadding+c.top:this.config.xAxisLabelPadding+B+i+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:V?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&h&&b.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:y+p+(V?p/2:0),y:s==="top"?this.config.xAxisLabelPadding+c.top:this.config.xAxisLabelPadding+B+i+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:V?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&x&&b.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+y+N+this.config.quadrantPadding,y:B+i-(I?g/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:I?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&x&&b.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+y+N+this.config.quadrantPadding,y:B+g-(I?g/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:I?"center":"left",horizontalPos:"top",rotation:-90}),b}getQuadrants(s){const{quadrantSpace:h}=s,{quadrantHalfHeight:x,quadrantLeft:f,quadrantHalfWidth:d,quadrantTop:c}=h,g=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:f+d,y:c,width:d,height:x,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:f,y:c,width:d,height:x,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:f,y:c+x,width:d,height:x,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:f+d,y:c+x,width:d,height:x,fill:this.themeConfig.quadrant4Fill}];for(const i of g)i.text.x=i.x+i.width/2,this.data.points.length===0?(i.text.y=i.y+i.height/2,i.text.horizontalPos="middle"):(i.text.y=i.y+this.config.quadrantTextTopPadding,i.text.horizontalPos="top");return g}getQuadrantPoints(s){const{quadrantSpace:h}=s,{quadrantHeight:x,quadrantLeft:f,quadrantTop:d,quadrantWidth:c}=h,g=_t().domain([0,1]).range([f,c+f]),i=_t().domain([0,1]).range([x+d,d]);return this.data.points.map(p=>({x:g(p.x),y:i(p.y),fill:this.themeConfig.quadrantPointFill,radius:this.config.pointRadius,text:{text:p.text,fill:this.themeConfig.quadrantPointTextFill,x:g(p.x),y:i(p.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0}}))}getBorders(s){const h=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:x}=s,{quadrantHalfHeight:f,quadrantHeight:d,quadrantLeft:c,quadrantHalfWidth:g,quadrantTop:i,quadrantWidth:y}=x;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:c-h,y1:i,x2:c+y+h,y2:i},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:c+y,y1:i+h,x2:c+y,y2:i+d-h},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:c-h,y1:i+d,x2:c+y+h,y2:i+d},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:c,y1:i+h,x2:c,y2:i+d-h},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:c+g,y1:i+h,x2:c+g,y2:i+d-h},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:c+h,y1:i+f,x2:c+y-h,y2:i+f}]}getTitle(s){if(s)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){const s=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),h=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),x=this.config.showTitle&&!!this.data.titleText,f=this.data.points.length>0?"bottom":this.config.xAxisPosition,d=this.calculateSpace(f,s,h,x);return{points:this.getQuadrantPoints(d),quadrants:this.getQuadrants(d),axisLabels:this.getAxisLabels(f,s,h,d),borderLines:this.getBorders(d),title:this.getTitle(x)}}}const Wt=yt();function G(e){return wt(e.trim(),Wt)}const w=new Vt;function Nt(e){w.setData({quadrant1Text:G(e.text)})}function Ut(e){w.setData({quadrant2Text:G(e.text)})}function Qt(e){w.setData({quadrant3Text:G(e.text)})}function Ht(e){w.setData({quadrant4Text:G(e.text)})}function Mt(e){w.setData({xAxisLeftText:G(e.text)})}function Xt(e){w.setData({xAxisRightText:G(e.text)})}function Ot(e){w.setData({yAxisTopText:G(e.text)})}function Yt(e){w.setData({yAxisBottomText:G(e.text)})}function $t(e,s,h){w.addPoints([{x:s,y:h,text:G(e.text)}])}function jt(e){w.setConfig({chartWidth:e})}function Gt(e){w.setConfig({chartHeight:e})}function Kt(){const e=yt(),{themeVariables:s,quadrantChart:h}=e;return h&&w.setConfig(h),w.setThemeConfig({quadrant1Fill:s.quadrant1Fill,quadrant2Fill:s.quadrant2Fill,quadrant3Fill:s.quadrant3Fill,quadrant4Fill:s.quadrant4Fill,quadrant1TextFill:s.quadrant1TextFill,quadrant2TextFill:s.quadrant2TextFill,quadrant3TextFill:s.quadrant3TextFill,quadrant4TextFill:s.quadrant4TextFill,quadrantPointFill:s.quadrantPointFill,quadrantPointTextFill:s.quadrantPointTextFill,quadrantXAxisTextFill:s.quadrantXAxisTextFill,quadrantYAxisTextFill:s.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:s.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:s.quadrantInternalBorderStrokeFill,quadrantTitleFill:s.quadrantTitleFill}),w.setData({titleText:bt()}),w.build()}const Zt=function(){w.clear(),It()},Jt={setWidth:jt,setHeight:Gt,setQuadrant1Text:Nt,setQuadrant2Text:Ut,setQuadrant3Text:Qt,setQuadrant4Text:Ht,setXAxisLeftText:Mt,setXAxisRightText:Xt,setYAxisTopText:Ot,setYAxisBottomText:Yt,addPoint:$t,getQuadrantData:Kt,clear:Zt,setAccTitle:Et,getAccTitle:zt,setDiagramTitle:Ct,getDiagramTitle:bt,getAccDescription:Lt,setAccDescription:vt},te=(e,s,h,x)=>{var f,d,c;function g(t){return t==="top"?"hanging":"middle"}function i(t){return t==="left"?"start":"middle"}function y(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}const p=yt();lt.debug(`Rendering quadrant chart
7
- `+e);const B=p.securityLevel;let N;B==="sandbox"&&(N=gt("#i"+s));const I=(B==="sandbox"?gt(N.nodes()[0].contentDocument.body):gt("body")).select(`[id="${s}"]`),b=I.append("g").attr("class","main"),M=((f=p.quadrantChart)==null?void 0:f.chartWidth)||500,X=((d=p.quadrantChart)==null?void 0:d.chartHeight)||500;Dt(I,X,M,((c=p.quadrantChart)==null?void 0:c.useMaxWidth)||!0),I.attr("viewBox","0 0 "+M+" "+X),x.db.setHeight(X),x.db.setWidth(M);const C=x.db.getQuadrantData(),it=b.append("g").attr("class","quadrants"),at=b.append("g").attr("class","border"),nt=b.append("g").attr("class","data-points"),U=b.append("g").attr("class","labels"),Q=b.append("g").attr("class","title");C.title&&Q.append("text").attr("x",0).attr("y",0).attr("fill",C.title.fill).attr("font-size",C.title.fontSize).attr("dominant-baseline",g(C.title.horizontalPos)).attr("text-anchor",i(C.title.verticalPos)).attr("transform",y(C.title)).text(C.title.text),C.borderLines&&at.selectAll("line").data(C.borderLines).enter().append("line").attr("x1",t=>t.x1).attr("y1",t=>t.y1).attr("x2",t=>t.x2).attr("y2",t=>t.y2).style("stroke",t=>t.strokeFill).style("stroke-width",t=>t.strokeWidth);const T=it.selectAll("g.quadrant").data(C.quadrants).enter().append("g").attr("class","quadrant");T.append("rect").attr("x",t=>t.x).attr("y",t=>t.y).attr("width",t=>t.width).attr("height",t=>t.height).attr("fill",t=>t.fill),T.append("text").attr("x",0).attr("y",0).attr("fill",t=>t.text.fill).attr("font-size",t=>t.text.fontSize).attr("dominant-baseline",t=>g(t.text.horizontalPos)).attr("text-anchor",t=>i(t.text.verticalPos)).attr("transform",t=>y(t.text)).text(t=>t.text.text),U.selectAll("g.label").data(C.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text(t=>t.text).attr("fill",t=>t.fill).attr("font-size",t=>t.fontSize).attr("dominant-baseline",t=>g(t.horizontalPos)).attr("text-anchor",t=>i(t.verticalPos)).attr("transform",t=>y(t));const m=nt.selectAll("g.data-point").data(C.points).enter().append("g").attr("class","data-point");m.append("circle").attr("cx",t=>t.x).attr("cy",t=>t.y).attr("r",t=>t.radius).attr("fill",t=>t.fill),m.append("text").attr("x",0).attr("y",0).text(t=>t.text.text).attr("fill",t=>t.text.fill).attr("font-size",t=>t.text.fontSize).attr("dominant-baseline",t=>g(t.text.horizontalPos)).attr("text-anchor",t=>i(t.text.verticalPos)).attr("transform",t=>y(t.text))},ee={draw:te},xe={parser:Rt,db:Jt,renderer:ee,styles:()=>""};export{xe as diagram};
7
+ `+e);const B=p.securityLevel;let N;B==="sandbox"&&(N=gt("#i"+s));const I=(B==="sandbox"?gt(N.nodes()[0].contentDocument.body):gt("body")).select(`[id="${s}"]`),b=I.append("g").attr("class","main"),M=((f=p.quadrantChart)==null?void 0:f.chartWidth)||500,X=((d=p.quadrantChart)==null?void 0:d.chartHeight)||500;Dt(I,X,M,((c=p.quadrantChart)==null?void 0:c.useMaxWidth)||!0),I.attr("viewBox","0 0 "+M+" "+X),x.db.setHeight(X),x.db.setWidth(M);const C=x.db.getQuadrantData(),it=b.append("g").attr("class","quadrants"),at=b.append("g").attr("class","border"),nt=b.append("g").attr("class","data-points"),U=b.append("g").attr("class","labels"),Q=b.append("g").attr("class","title");C.title&&Q.append("text").attr("x",0).attr("y",0).attr("fill",C.title.fill).attr("font-size",C.title.fontSize).attr("dominant-baseline",g(C.title.horizontalPos)).attr("text-anchor",i(C.title.verticalPos)).attr("transform",y(C.title)).text(C.title.text),C.borderLines&&at.selectAll("line").data(C.borderLines).enter().append("line").attr("x1",t=>t.x1).attr("y1",t=>t.y1).attr("x2",t=>t.x2).attr("y2",t=>t.y2).style("stroke",t=>t.strokeFill).style("stroke-width",t=>t.strokeWidth);const T=it.selectAll("g.quadrant").data(C.quadrants).enter().append("g").attr("class","quadrant");T.append("rect").attr("x",t=>t.x).attr("y",t=>t.y).attr("width",t=>t.width).attr("height",t=>t.height).attr("fill",t=>t.fill),T.append("text").attr("x",0).attr("y",0).attr("fill",t=>t.text.fill).attr("font-size",t=>t.text.fontSize).attr("dominant-baseline",t=>g(t.text.horizontalPos)).attr("text-anchor",t=>i(t.text.verticalPos)).attr("transform",t=>y(t.text)).text(t=>t.text.text),U.selectAll("g.label").data(C.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text(t=>t.text).attr("fill",t=>t.fill).attr("font-size",t=>t.fontSize).attr("dominant-baseline",t=>g(t.horizontalPos)).attr("text-anchor",t=>i(t.verticalPos)).attr("transform",t=>y(t));const m=nt.selectAll("g.data-point").data(C.points).enter().append("g").attr("class","data-point");m.append("circle").attr("cx",t=>t.x).attr("cy",t=>t.y).attr("r",t=>t.radius).attr("fill",t=>t.fill),m.append("text").attr("x",0).attr("y",0).text(t=>t.text.text).attr("fill",t=>t.text.fill).attr("font-size",t=>t.text.fontSize).attr("dominant-baseline",t=>g(t.text.horizontalPos)).attr("text-anchor",t=>i(t.text.verticalPos)).attr("transform",t=>y(t.text))},ee={draw:te},ye={parser:Rt,db:Jt,renderer:ee,styles:()=>""};export{ye as diagram};