@belonguniverseai/react-sdk 0.1.0

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 (848) hide show
  1. package/README.md +47 -0
  2. package/dist/api/agent-grants.d.ts +61 -0
  3. package/dist/api/api-context.d.ts +9 -0
  4. package/dist/api/client.d.ts +2053 -0
  5. package/dist/api/mutations.d.ts +3 -0
  6. package/dist/api/queries.d.ts +21 -0
  7. package/dist/api/query-keys.d.ts +13 -0
  8. package/dist/api/report-client-error.d.ts +23 -0
  9. package/dist/api/skills.d.ts +23 -0
  10. package/dist/api/workspace-files.d.ts +9 -0
  11. package/dist/app/BelongDock.d.ts +29 -0
  12. package/dist/app/VoiceOverlay.d.ts +18 -0
  13. package/dist/app/providers.d.ts +12 -0
  14. package/dist/app/router.d.ts +2 -0
  15. package/dist/browser/control-channel.d.ts +29 -0
  16. package/dist/browser/dom-bridge.d.ts +6 -0
  17. package/dist/browser/spa-navigate.d.ts +87 -0
  18. package/dist/component/BelongWidget.d.ts +27 -0
  19. package/dist/component/abap-BqLfTM3_.js +9 -0
  20. package/dist/component/abap-Dosx9LfS.js +9 -0
  21. package/dist/component/actionscript-3-CFt6EqSB.js +9 -0
  22. package/dist/component/actionscript-3-CShGOdtT.js +9 -0
  23. package/dist/component/ada-8tCnwMXx.js +9 -0
  24. package/dist/component/ada-DaqFF2jd.js +9 -0
  25. package/dist/component/andromeeda-BxBtQ0rC.js +7 -0
  26. package/dist/component/andromeeda-Dx5fm3r-.js +7 -0
  27. package/dist/component/angular-html-CAoRrq6i.js +35 -0
  28. package/dist/component/angular-html-DG52iVg8.js +35 -0
  29. package/dist/component/angular-ts-BvOrReBc.js +24 -0
  30. package/dist/component/angular-ts-LQyiJZqb.js +24 -0
  31. package/dist/component/apache-HdVsAIQf.js +9 -0
  32. package/dist/component/apache-c3M5d5MN.js +9 -0
  33. package/dist/component/apex-B-y6HhVC.js +9 -0
  34. package/dist/component/apex-DXDfZUnb.js +9 -0
  35. package/dist/component/apl-BnXq3ZtQ.js +19 -0
  36. package/dist/component/apl-D7VFrOyT.js +19 -0
  37. package/dist/component/applescript-BZbrjHcY.js +9 -0
  38. package/dist/component/applescript-Bo1adDet.js +9 -0
  39. package/dist/component/ara-C1QNxHcU.js +9 -0
  40. package/dist/component/ara-ZjRpP-93.js +9 -0
  41. package/dist/component/arc-DGQIe3ON.js +86 -0
  42. package/dist/component/architectureDiagram-3BPJPVTR-C3uLEfb1.js +4697 -0
  43. package/dist/component/asciidoc-2fV_Cv2j.js +9 -0
  44. package/dist/component/asciidoc-D7PshqvO.js +9 -0
  45. package/dist/component/asm-ClEowkZP.js +9 -0
  46. package/dist/component/asm-DmyJawQj.js +9 -0
  47. package/dist/component/astro-9MHfKoOi.js +21 -0
  48. package/dist/component/astro-Bi3QRBCO.js +21 -0
  49. package/dist/component/aurora-x-BGO53J2I.js +7 -0
  50. package/dist/component/aurora-x-C98he-36.js +7 -0
  51. package/dist/component/awk-CIiDOfUC.js +9 -0
  52. package/dist/component/awk-DnzYQYUx.js +9 -0
  53. package/dist/component/ayu-dark-CK1VRikm.js +7 -0
  54. package/dist/component/ayu-dark-J6FX8oSr.js +7 -0
  55. package/dist/component/ayu-light-DIKBJiwH.js +7 -0
  56. package/dist/component/ayu-light-x4Q5N51d.js +7 -0
  57. package/dist/component/ayu-mirage-C5_fPLwf.js +7 -0
  58. package/dist/component/ayu-mirage-DhPHVcGJ.js +7 -0
  59. package/dist/component/ballerina-CeqVHW9D.js +9 -0
  60. package/dist/component/ballerina-epCf0_WV.js +9 -0
  61. package/dist/component/bat-Cuej7k1C.js +9 -0
  62. package/dist/component/bat-Dai7pznF.js +9 -0
  63. package/dist/component/beancount-CpREEZMl.js +9 -0
  64. package/dist/component/beancount-CwiYx9PE.js +9 -0
  65. package/dist/component/berry-BoYGiG42.js +9 -0
  66. package/dist/component/berry-DFo_i8CN.js +9 -0
  67. package/dist/component/bibtex-2bgmGv5w.js +9 -0
  68. package/dist/component/bibtex-BkTrlnvh.js +9 -0
  69. package/dist/component/bicep-C80YQkEm.js +9 -0
  70. package/dist/component/bicep-DYkQKpr8.js +9 -0
  71. package/dist/component/bird2-5AxdId5f.js +9 -0
  72. package/dist/component/bird2-CjcgWn0f.js +9 -0
  73. package/dist/component/blade-BdUlKesy.js +23 -0
  74. package/dist/component/blade-DNMMxdfa.js +23 -0
  75. package/dist/component/blockDiagram-GPEHLZMM-YerYvLm_.js +2421 -0
  76. package/dist/component/bsl-CYB_gPZn.js +11 -0
  77. package/dist/component/bsl-DJ4bR5oi.js +11 -0
  78. package/dist/component/c-C4AMyX3G.js +9 -0
  79. package/dist/component/c-C7DfT4H8.js +9 -0
  80. package/dist/component/c3-DDixCt0K.js +9 -0
  81. package/dist/component/c3-xeavH2G2.js +9 -0
  82. package/dist/component/c4Diagram-AAUBKEIU-p8UR34Zq.js +1586 -0
  83. package/dist/component/cadence-Cy8toSoU.js +9 -0
  84. package/dist/component/cadence-xq71MyIp.js +9 -0
  85. package/dist/component/cairo-B1qo5_uz.js +11 -0
  86. package/dist/component/cairo-CZSJv_Y_.js +11 -0
  87. package/dist/component/catppuccin-frappe-BGDzipYl.js +7 -0
  88. package/dist/component/catppuccin-frappe-DZ2VPnzg.js +7 -0
  89. package/dist/component/catppuccin-latte-9zQ0xneh.js +7 -0
  90. package/dist/component/catppuccin-latte-CK4XjBXq.js +7 -0
  91. package/dist/component/catppuccin-macchiato-CIKuiG5O.js +7 -0
  92. package/dist/component/catppuccin-macchiato-D1xBlgUI.js +7 -0
  93. package/dist/component/catppuccin-mocha-CQk3ku6b.js +7 -0
  94. package/dist/component/catppuccin-mocha-Dr22M_MR.js +7 -0
  95. package/dist/component/channel-ahmILYyG.js +8 -0
  96. package/dist/component/chunk-2J33WTMH-CGaAxoSO.js +22 -0
  97. package/dist/component/chunk-4BX2VUAB-gRTK7Di9.js +11 -0
  98. package/dist/component/chunk-55IACEB6-XfJuuv6Y.js +11 -0
  99. package/dist/component/chunk-727SXJPM-Cy0hXMuO.js +1537 -0
  100. package/dist/component/chunk-AQP2D5EJ-CZHGw4se.js +1396 -0
  101. package/dist/component/chunk-FMBD7UC4-CyqtPCO0.js +22 -0
  102. package/dist/component/chunk-ND2GUHAM-CzTviSBV.js +71 -0
  103. package/dist/component/chunk-QZHKN3VN-CHDEerWv.js +21 -0
  104. package/dist/component/clarity-Dmd3VcKv.js +9 -0
  105. package/dist/component/clarity-FR-MQPIo.js +9 -0
  106. package/dist/component/classDiagram-4FO5ZUOK-BDzl1OcC.js +19 -0
  107. package/dist/component/classDiagram-v2-Q7XG4LA2-BDzl1OcC.js +19 -0
  108. package/dist/component/clojure-CZ5pqCKI.js +9 -0
  109. package/dist/component/clojure-DUXXPerS.js +9 -0
  110. package/dist/component/cmake-DeSLuBit.js +9 -0
  111. package/dist/component/cmake-Dh5RXd_q.js +9 -0
  112. package/dist/component/cobol-B0R9veOS.js +13 -0
  113. package/dist/component/cobol-DayClXiO.js +13 -0
  114. package/dist/component/codeowners-C5Gg1qBb.js +9 -0
  115. package/dist/component/codeowners-RGJbf4XS.js +9 -0
  116. package/dist/component/codeql-1OtYEVEY.js +9 -0
  117. package/dist/component/codeql-CoCy8yp4.js +9 -0
  118. package/dist/component/coffee-kdLRO3eV.js +11 -0
  119. package/dist/component/coffee-tRjJZw7o.js +11 -0
  120. package/dist/component/common-lisp-BeJe0ab6.js +9 -0
  121. package/dist/component/common-lisp-GbfS1OBj.js +9 -0
  122. package/dist/component/coq-B0RJLsKz.js +9 -0
  123. package/dist/component/coq-DMlFNAl3.js +9 -0
  124. package/dist/component/cose-bilkent-S5V4N54A-4R0ErgrZ.js +2611 -0
  125. package/dist/component/cpp-BpiKH-9I.js +21 -0
  126. package/dist/component/cpp-BwGJQL2p.js +21 -0
  127. package/dist/component/crystal-Bb_LifhW.js +21 -0
  128. package/dist/component/crystal-D0cTXans.js +21 -0
  129. package/dist/component/csharp-5kMbpBNi.js +9 -0
  130. package/dist/component/csharp-UFMQzTVu.js +9 -0
  131. package/dist/component/css-B2ckPEoZ.js +9 -0
  132. package/dist/component/css-MDiv-Xmm.js +9 -0
  133. package/dist/component/csv-Ba1T94jM.js +9 -0
  134. package/dist/component/csv-DZ-mzuKa.js +9 -0
  135. package/dist/component/cue-CtGb6f31.js +9 -0
  136. package/dist/component/cue-DbYr629m.js +9 -0
  137. package/dist/component/cypher-7eGqJtNJ.js +9 -0
  138. package/dist/component/cypher-pD9MnYc_.js +9 -0
  139. package/dist/component/cytoscape.esm-C31R6JOv.js +18772 -0
  140. package/dist/component/d-BefBLeap.js +9 -0
  141. package/dist/component/d-Dij3nCx4.js +9 -0
  142. package/dist/component/dagre-BM42HDAG-BcJQXGn3.js +448 -0
  143. package/dist/component/dark-plus-C9nS7rhq.js +7 -0
  144. package/dist/component/dark-plus-L3JON0ir.js +7 -0
  145. package/dist/component/dart-BWNSliXX.js +9 -0
  146. package/dist/component/dart-DCRAsZQK.js +9 -0
  147. package/dist/component/dax-CWdGoxkM.js +9 -0
  148. package/dist/component/dax-pykceZLM.js +9 -0
  149. package/dist/component/defaultLocale-BXpxsZAK.js +174 -0
  150. package/dist/component/desktop-4j8jFU02.js +9 -0
  151. package/dist/component/desktop-B3AeStqn.js +9 -0
  152. package/dist/component/diagram-2AECGRRQ-Cld7-k7F.js +220 -0
  153. package/dist/component/diagram-5GNKFQAL-d7JtHVRK.js +126 -0
  154. package/dist/component/diagram-KO2AKTUF-Avxzz4xw.js +464 -0
  155. package/dist/component/diagram-LMA3HP47-Cy_E5-rU.js +148 -0
  156. package/dist/component/diagram-OG6HWLK6-DUsJK7Js.js +534 -0
  157. package/dist/component/diff-DuoPSmgL.js +9 -0
  158. package/dist/component/diff-IyCSM08A.js +9 -0
  159. package/dist/component/docker-BSrvy0o9.js +9 -0
  160. package/dist/component/docker-Ca4vT6OJ.js +9 -0
  161. package/dist/component/dotenv-CUP-PB19.js +9 -0
  162. package/dist/component/dotenv-aA3GGxJM.js +9 -0
  163. package/dist/component/dracula-2BaSCSav.js +7 -0
  164. package/dist/component/dracula-Lg7_DbOD.js +7 -0
  165. package/dist/component/dracula-soft-AsPqNBvZ.js +7 -0
  166. package/dist/component/dracula-soft-n6R-sBGM.js +7 -0
  167. package/dist/component/dream-maker-B2xERNvR.js +9 -0
  168. package/dist/component/dream-maker-Jadq_Ln7.js +9 -0
  169. package/dist/component/edge-B-amp2rn.js +15 -0
  170. package/dist/component/edge-Bol1lNG-.js +15 -0
  171. package/dist/component/elixir-DSzpv_bE.js +11 -0
  172. package/dist/component/elixir-t5YY_ese.js +11 -0
  173. package/dist/component/elm-DNaka8RZ.js +11 -0
  174. package/dist/component/elm-JLsvCHy1.js +11 -0
  175. package/dist/component/emacs-lisp-C6XZT609.js +9 -0
  176. package/dist/component/emacs-lisp-DWDtb5kD.js +9 -0
  177. package/dist/component/erDiagram-TEJ5UH35-DEdqrWqp.js +905 -0
  178. package/dist/component/erb-BJ95qgrJ.js +13 -0
  179. package/dist/component/erb-rGIYAeIa.js +13 -0
  180. package/dist/component/erlang-By5grfmz.js +11 -0
  181. package/dist/component/erlang-rAClsghX.js +11 -0
  182. package/dist/component/everforest-dark-DBhTz0Lt.js +7 -0
  183. package/dist/component/everforest-dark-_A43rkLf.js +7 -0
  184. package/dist/component/everforest-light-Bep_XOgu.js +7 -0
  185. package/dist/component/everforest-light-DHbrW2te.js +7 -0
  186. package/dist/component/fennel-CeQPNUU9.js +9 -0
  187. package/dist/component/fennel-QllfYze1.js +9 -0
  188. package/dist/component/fish-BXP1eRyz.js +9 -0
  189. package/dist/component/fish-DkfR0DRL.js +9 -0
  190. package/dist/component/flowDiagram-I6XJVG4X-BWzYDsjP.js +1634 -0
  191. package/dist/component/fluent-Ih0R99Ix.js +9 -0
  192. package/dist/component/fluent-RduSrzCZ.js +9 -0
  193. package/dist/component/fortran-fixed-form-C3I8YlEU.js +11 -0
  194. package/dist/component/fortran-fixed-form-D7OlW0lw.js +11 -0
  195. package/dist/component/fortran-free-form-CXj2ku4f.js +9 -0
  196. package/dist/component/fortran-free-form-DifCDW_P.js +9 -0
  197. package/dist/component/fsharp-65O4P3S5.js +11 -0
  198. package/dist/component/fsharp-CXzwUWsC.js +11 -0
  199. package/dist/component/ganttDiagram-6RSMTGT7-DzfeVIgF.js +2709 -0
  200. package/dist/component/gdresource-Bn5VhPaI.js +13 -0
  201. package/dist/component/gdresource-kUFIn9eK.js +13 -0
  202. package/dist/component/gdscript-BNGA6E65.js +9 -0
  203. package/dist/component/gdscript-LjKsfw3O.js +9 -0
  204. package/dist/component/gdshader-C-Gp5-Ot.js +9 -0
  205. package/dist/component/gdshader-C1lRZRQz.js +9 -0
  206. package/dist/component/genie-B8viIUNC.js +9 -0
  207. package/dist/component/genie-eR37RVXX.js +9 -0
  208. package/dist/component/gherkin-BVA-IOor.js +9 -0
  209. package/dist/component/gherkin-CuORnKvF.js +9 -0
  210. package/dist/component/git-commit-BNPqpLhi.js +11 -0
  211. package/dist/component/git-commit-Dh7BfmB9.js +11 -0
  212. package/dist/component/git-rebase-B5TXZutB.js +11 -0
  213. package/dist/component/git-rebase-DhwWS8MC.js +11 -0
  214. package/dist/component/gitGraphDiagram-PVQCEYII-CKzbGWcQ.js +818 -0
  215. package/dist/component/github-dark-5b4g_bOp.js +7 -0
  216. package/dist/component/github-dark-default-6zDGR7DJ.js +7 -0
  217. package/dist/component/github-dark-default-H56pGX_M.js +7 -0
  218. package/dist/component/github-dark-dimmed-B1iXBBmo.js +7 -0
  219. package/dist/component/github-dark-dimmed-DjYa1rhk.js +7 -0
  220. package/dist/component/github-dark-high-contrast-BuNi_Wj5.js +7 -0
  221. package/dist/component/github-dark-high-contrast-DvpYRI-4.js +7 -0
  222. package/dist/component/github-dark-mxHsWyJ4.js +7 -0
  223. package/dist/component/github-light-CTdjTVPf.js +7 -0
  224. package/dist/component/github-light-KqdY1rAV.js +7 -0
  225. package/dist/component/github-light-default-BlRYTBRQ.js +7 -0
  226. package/dist/component/github-light-default-Drw5Jl_p.js +7 -0
  227. package/dist/component/github-light-high-contrast-9d8ktz0h.js +7 -0
  228. package/dist/component/github-light-high-contrast-ColFVC7A.js +7 -0
  229. package/dist/component/gleam-BXQHq2ZT.js +9 -0
  230. package/dist/component/gleam-RfA2dpfH.js +9 -0
  231. package/dist/component/glimmer-js-BHZ1FuRp.js +17 -0
  232. package/dist/component/glimmer-js-Gdq_UYVf.js +17 -0
  233. package/dist/component/glimmer-ts-D6H7q5ls.js +17 -0
  234. package/dist/component/glimmer-ts-DdmgeZua.js +17 -0
  235. package/dist/component/glsl-D1RRylbk.js +11 -0
  236. package/dist/component/glsl-MDSU_3-y.js +11 -0
  237. package/dist/component/gn-D8VPrt1o.js +9 -0
  238. package/dist/component/gn-DJpTAp5e.js +9 -0
  239. package/dist/component/gnuplot-BNzwvBx5.js +9 -0
  240. package/dist/component/gnuplot-Iqvzplz-.js +9 -0
  241. package/dist/component/go-D-G7cxeA.js +9 -0
  242. package/dist/component/go-TNOI7pQc.js +9 -0
  243. package/dist/component/graph-BZLHvygk.js +1548 -0
  244. package/dist/component/graphql-CW6tYk7X.js +17 -0
  245. package/dist/component/graphql-DGugpl40.js +17 -0
  246. package/dist/component/groovy-5_UI-q3N.js +9 -0
  247. package/dist/component/groovy-D7GH48W8.js +9 -0
  248. package/dist/component/gruvbox-dark-hard-Ch2GYDcJ.js +7 -0
  249. package/dist/component/gruvbox-dark-hard-Dpxv_Il6.js +7 -0
  250. package/dist/component/gruvbox-dark-medium-DqoxKYPx.js +7 -0
  251. package/dist/component/gruvbox-dark-medium-eGVEUM8W.js +7 -0
  252. package/dist/component/gruvbox-dark-soft-BA9DdijB.js +7 -0
  253. package/dist/component/gruvbox-dark-soft-DRaJAZcW.js +7 -0
  254. package/dist/component/gruvbox-light-hard-BJXIrqpz.js +7 -0
  255. package/dist/component/gruvbox-light-hard-_qNpoYJy.js +7 -0
  256. package/dist/component/gruvbox-light-medium-39dkJwxv.js +7 -0
  257. package/dist/component/gruvbox-light-medium-IkDFQhcB.js +7 -0
  258. package/dist/component/gruvbox-light-soft-DWPQo7Dn.js +7 -0
  259. package/dist/component/gruvbox-light-soft-Dpz5D6wP.js +7 -0
  260. package/dist/component/hack-BSrzyV-l.js +13 -0
  261. package/dist/component/hack-CJNnfXZh.js +13 -0
  262. package/dist/component/haml-DL-NAYVg.js +13 -0
  263. package/dist/component/haml-DYkTKupK.js +13 -0
  264. package/dist/component/handlebars-B2Z6CWhc.js +17 -0
  265. package/dist/component/handlebars-Cwj0qzUo.js +17 -0
  266. package/dist/component/haskell-Cj3J4fKD.js +9 -0
  267. package/dist/component/haskell-h36TjJLk.js +9 -0
  268. package/dist/component/haxe-CcifGI6O.js +9 -0
  269. package/dist/component/haxe-Coqw0Tt8.js +9 -0
  270. package/dist/component/hcl-BPVqiZDb.js +9 -0
  271. package/dist/component/hcl-DaPl6lOC.js +9 -0
  272. package/dist/component/highlighted-body-OFNGDK62-BkGwwkHo.js +22 -0
  273. package/dist/component/hjson-CfcQXz3-.js +9 -0
  274. package/dist/component/hjson-DsTgWNxt.js +9 -0
  275. package/dist/component/hlsl-CLzjZIQL.js +9 -0
  276. package/dist/component/hlsl-DVyuzW8h.js +9 -0
  277. package/dist/component/horizon-DaNatiIz.js +7 -0
  278. package/dist/component/horizon-bright-CthJh1Qp.js +7 -0
  279. package/dist/component/horizon-bright-DMKA6ab6.js +7 -0
  280. package/dist/component/horizon-q20CuJTh.js +7 -0
  281. package/dist/component/houston-CjpgGYwZ.js +7 -0
  282. package/dist/component/houston-DnIZxOiF.js +7 -0
  283. package/dist/component/html-DSjghx6n.js +13 -0
  284. package/dist/component/html-derivative-CxizaS1Z.js +11 -0
  285. package/dist/component/html-derivative-DDrVhQXu.js +11 -0
  286. package/dist/component/html-tY6fNMOn.js +13 -0
  287. package/dist/component/http-CLvA54iU.js +17 -0
  288. package/dist/component/http-CPkD6MSf.js +17 -0
  289. package/dist/component/hurl-CuuCK9Id.js +15 -0
  290. package/dist/component/hurl-LcD0R7wh.js +15 -0
  291. package/dist/component/hxml-CJz9SfqN.js +11 -0
  292. package/dist/component/hxml-DLsAgg8X.js +11 -0
  293. package/dist/component/hy-CAEey4h7.js +9 -0
  294. package/dist/component/hy-Dm2IGIb-.js +9 -0
  295. package/dist/component/imba-5G9Fs_nr.js +9 -0
  296. package/dist/component/imba-CH2D1ce9.js +9 -0
  297. package/dist/component/index.d.ts +3 -0
  298. package/dist/component/index.js +8 -0
  299. package/dist/component/infoDiagram-5YYISTIA-D9xN-Pqc.js +27 -0
  300. package/dist/component/ini-Dt2l3RWi.js +9 -0
  301. package/dist/component/ini-kgvXisvj.js +9 -0
  302. package/dist/component/init-BOu0eQYQ.js +19 -0
  303. package/dist/component/ishikawaDiagram-YF4QCWOH--YDYWDwv.js +627 -0
  304. package/dist/component/java-BKLcvtEM.js +9 -0
  305. package/dist/component/java-oSN7P0Od.js +9 -0
  306. package/dist/component/javascript-CyaMmpOO.js +9 -0
  307. package/dist/component/javascript-DFm3DOoX.js +9 -0
  308. package/dist/component/jinja-Ch28RrFG.js +14 -0
  309. package/dist/component/jinja-CsTh8Ahj.js +14 -0
  310. package/dist/component/jison-Bu0o8a1Z.js +11 -0
  311. package/dist/component/jison-DLgrOJpy.js +11 -0
  312. package/dist/component/journeyDiagram-JHISSGLW-B9-CHfSv.js +837 -0
  313. package/dist/component/json-D-WsbO45.js +9 -0
  314. package/dist/component/json-rmrBoeO_.js +9 -0
  315. package/dist/component/json5-B1J6XVPd.js +9 -0
  316. package/dist/component/json5-B3-n7IrD.js +9 -0
  317. package/dist/component/jsonc-BgfI3zjg.js +9 -0
  318. package/dist/component/jsonc-HFvGREK8.js +9 -0
  319. package/dist/component/jsonl-DHttz8sH.js +9 -0
  320. package/dist/component/jsonl-l_eIcPip.js +9 -0
  321. package/dist/component/jsonnet-D6SNIhw0.js +9 -0
  322. package/dist/component/jsonnet-DO8Zfk6p.js +9 -0
  323. package/dist/component/jssm-CKRLojKZ.js +9 -0
  324. package/dist/component/jssm-Dy1zjXNg.js +9 -0
  325. package/dist/component/jsx-CpVvoVGp.js +9 -0
  326. package/dist/component/jsx-si2wS7pt.js +9 -0
  327. package/dist/component/julia-BPzvBJ4R.js +19 -0
  328. package/dist/component/julia-CfyFig21.js +19 -0
  329. package/dist/component/just-D5rIv9U4.js +21 -0
  330. package/dist/component/just-fRm_weEQ.js +21 -0
  331. package/dist/component/kanagawa-dragon-BOBo9JLg.js +7 -0
  332. package/dist/component/kanagawa-dragon-BWPCHB_7.js +7 -0
  333. package/dist/component/kanagawa-lotus-8m_3LhhF.js +7 -0
  334. package/dist/component/kanagawa-lotus-B5o1JCNj.js +7 -0
  335. package/dist/component/kanagawa-wave-BSP7z6KH.js +7 -0
  336. package/dist/component/kanagawa-wave-ClYLx7ql.js +7 -0
  337. package/dist/component/kanban-definition-UN3LZRKU-Cmh8twbq.js +727 -0
  338. package/dist/component/kdl-GafIF83C.js +9 -0
  339. package/dist/component/kdl-_X6wsgV0.js +9 -0
  340. package/dist/component/kotlin-B3jfEOcv.js +9 -0
  341. package/dist/component/kotlin-BWMoZeA3.js +9 -0
  342. package/dist/component/kusto-Bkz9eBch.js +9 -0
  343. package/dist/component/kusto-ohiqZ64l.js +9 -0
  344. package/dist/component/laserwave-BmajecBZ.js +7 -0
  345. package/dist/component/laserwave-Bp21zlIO.js +7 -0
  346. package/dist/component/latex-BYzveWoN.js +11 -0
  347. package/dist/component/latex-Bi4Lg68B.js +11 -0
  348. package/dist/component/layout-Bu6nRdWm.js +1731 -0
  349. package/dist/component/lean-BBkk0btj.js +9 -0
  350. package/dist/component/lean-DFmhzmny.js +9 -0
  351. package/dist/component/less-ChX34X5W.js +9 -0
  352. package/dist/component/less-kqPRXL1K.js +9 -0
  353. package/dist/component/light-plus-DFxAowZg.js +7 -0
  354. package/dist/component/light-plus-_t1yKirF.js +7 -0
  355. package/dist/component/linear-BDyEUcVD.js +262 -0
  356. package/dist/component/liquid-Bri_C9oi.js +17 -0
  357. package/dist/component/liquid-f2WMwCDi.js +17 -0
  358. package/dist/component/llvm-COuD10ql.js +9 -0
  359. package/dist/component/llvm-dub2631B.js +9 -0
  360. package/dist/component/log-A8St-vyh.js +9 -0
  361. package/dist/component/log-g58LFxM8.js +9 -0
  362. package/dist/component/logo-DZmThwvl.js +9 -0
  363. package/dist/component/logo-x6YxnKST.js +9 -0
  364. package/dist/component/lua-Bj2G8q-Z.js +11 -0
  365. package/dist/component/lua-CyXCKT0u.js +11 -0
  366. package/dist/component/luau-B8fyn01D.js +9 -0
  367. package/dist/component/luau-C5q2C4N6.js +9 -0
  368. package/dist/component/make-DOTJ8IeI.js +9 -0
  369. package/dist/component/make-DTiRnfNf.js +9 -0
  370. package/dist/component/markdown-D3u32LKS.js +9 -0
  371. package/dist/component/markdown-DHm1k_6p.js +9 -0
  372. package/dist/component/marko-CUgdvzuR.js +17 -0
  373. package/dist/component/marko-SwZmWzIv.js +17 -0
  374. package/dist/component/material-theme-BIfRQKI0.js +7 -0
  375. package/dist/component/material-theme-CxS7GniW.js +7 -0
  376. package/dist/component/material-theme-darker-DKP5DIOi.js +7 -0
  377. package/dist/component/material-theme-darker-DkNB3xjL.js +7 -0
  378. package/dist/component/material-theme-lighter-3I4JYnlq.js +7 -0
  379. package/dist/component/material-theme-lighter-D5xivCfx.js +7 -0
  380. package/dist/component/material-theme-ocean-B31yuEXO.js +7 -0
  381. package/dist/component/material-theme-ocean-rw0kJPZg.js +7 -0
  382. package/dist/component/material-theme-palenight-BfunK0Uo.js +7 -0
  383. package/dist/component/material-theme-palenight-COTbh91p.js +7 -0
  384. package/dist/component/matlab-CkKSQcnX.js +9 -0
  385. package/dist/component/matlab-DCF6d5YL.js +9 -0
  386. package/dist/component/mdc-D92XwdT9.js +15 -0
  387. package/dist/component/mdc-gb_v49HI.js +15 -0
  388. package/dist/component/mdx-C6kH9TSz.js +9 -0
  389. package/dist/component/mdx-Dqb5H0t-.js +9 -0
  390. package/dist/component/mermaid-0bkYzXfL.js +9 -0
  391. package/dist/component/mermaid-GHXKKRXX-C5Y3BZXR.js +107122 -0
  392. package/dist/component/mermaid-N7-yWHiu.js +9 -0
  393. package/dist/component/min-dark-CqEfelDe.js +7 -0
  394. package/dist/component/min-dark-FAglrjWz.js +7 -0
  395. package/dist/component/min-light-BmdYN58_.js +7 -0
  396. package/dist/component/min-light-CcJCxfWw.js +7 -0
  397. package/dist/component/mindmap-definition-RKZ34NQL-CnFpVFpl.js +833 -0
  398. package/dist/component/mipsasm-BYNReuUT.js +9 -0
  399. package/dist/component/mipsasm-CKzkMNWr.js +9 -0
  400. package/dist/component/mojo-0URGVph7.js +9 -0
  401. package/dist/component/mojo-C563AncR.js +9 -0
  402. package/dist/component/monokai-D3_c3OUm.js +7 -0
  403. package/dist/component/monokai-ugSJFofr.js +7 -0
  404. package/dist/component/moonbit-BkJk2kyS.js +9 -0
  405. package/dist/component/moonbit-DlIX78rk.js +9 -0
  406. package/dist/component/move-BQAHOJb2.js +9 -0
  407. package/dist/component/move-eiW4QYDW.js +9 -0
  408. package/dist/component/narrat-2oVindvn.js +9 -0
  409. package/dist/component/narrat-Dc4cTFeW.js +9 -0
  410. package/dist/component/nextflow-B4caLl5A.js +11 -0
  411. package/dist/component/nextflow-Bk0ryO1R.js +11 -0
  412. package/dist/component/nextflow-groovy-BnXf2WiC.js +9 -0
  413. package/dist/component/nextflow-groovy-DIMIAEOy.js +9 -0
  414. package/dist/component/nginx-BaGEfT9r.js +11 -0
  415. package/dist/component/nginx-Dprlne5J.js +11 -0
  416. package/dist/component/night-owl-B6L5FL5v.js +7 -0
  417. package/dist/component/night-owl-CB_IXuNH.js +7 -0
  418. package/dist/component/night-owl-light-BZxeyl5X.js +7 -0
  419. package/dist/component/night-owl-light-CoPr05P4.js +7 -0
  420. package/dist/component/nim-BKvvFCe_.js +23 -0
  421. package/dist/component/nim-CQZqLxeE.js +23 -0
  422. package/dist/component/nix-Cp8a0vy5.js +12 -0
  423. package/dist/component/nix-DEY1zukk.js +12 -0
  424. package/dist/component/nord-D3PAEvHH.js +7 -0
  425. package/dist/component/nord-DPPgRakM.js +7 -0
  426. package/dist/component/nushell-BdsblUId.js +9 -0
  427. package/dist/component/nushell-DUUbmBaO.js +9 -0
  428. package/dist/component/objective-c-CNN3tl1v.js +9 -0
  429. package/dist/component/objective-c-D_6I2dsG.js +9 -0
  430. package/dist/component/objective-cpp-BjicYcS7.js +9 -0
  431. package/dist/component/objective-cpp-z4LTaUcg.js +9 -0
  432. package/dist/component/ocaml-BnD9haV8.js +9 -0
  433. package/dist/component/ocaml-DZseEUty.js +9 -0
  434. package/dist/component/odin-CnsCKboc.js +9 -0
  435. package/dist/component/odin-P2WSXO4H.js +9 -0
  436. package/dist/component/one-dark-pro-C_eaQ16k.js +7 -0
  437. package/dist/component/one-dark-pro-OimEv0Ou.js +7 -0
  438. package/dist/component/one-light-B0ti6b9S.js +7 -0
  439. package/dist/component/one-light-j3UfPQB3.js +7 -0
  440. package/dist/component/openscad-2vaKslxR.js +9 -0
  441. package/dist/component/openscad-jE6oRbDv.js +9 -0
  442. package/dist/component/ordinal-D0x7izaa.js +64 -0
  443. package/dist/component/pascal-8jl8irAj.js +9 -0
  444. package/dist/component/pascal-d7SASCGO.js +9 -0
  445. package/dist/component/perl-DHC1BZ_5.js +19 -0
  446. package/dist/component/perl-DVm7Pq-D.js +19 -0
  447. package/dist/component/php-BF_l-EgM.js +21 -0
  448. package/dist/component/php-BtpW2-DO.js +21 -0
  449. package/dist/component/pieDiagram-4H26LBE5-u-blLkni.js +166 -0
  450. package/dist/component/pkl-CoBnC_8G.js +9 -0
  451. package/dist/component/pkl-DZdA2Trc.js +9 -0
  452. package/dist/component/plastic-3IjBbwNP.js +7 -0
  453. package/dist/component/plastic-CixB-AlW.js +7 -0
  454. package/dist/component/plsql-Cv-ZxhCL.js +9 -0
  455. package/dist/component/plsql-CzeGyK0m.js +9 -0
  456. package/dist/component/po-eb_Amfj2.js +9 -0
  457. package/dist/component/po-moSB12fi.js +9 -0
  458. package/dist/component/poimandres-C03Jy3KZ.js +7 -0
  459. package/dist/component/poimandres-CKZ3f48N.js +7 -0
  460. package/dist/component/polar-BKFAKBSA.js +9 -0
  461. package/dist/component/polar-CsPCUbKt.js +9 -0
  462. package/dist/component/postcss-CytNqPC0.js +9 -0
  463. package/dist/component/postcss-D3_LY2LH.js +9 -0
  464. package/dist/component/powerquery-CpTndMW_.js +9 -0
  465. package/dist/component/powerquery-f-cemdrG.js +9 -0
  466. package/dist/component/powershell-B-JkstDq.js +9 -0
  467. package/dist/component/powershell-BkDB3ZO9.js +9 -0
  468. package/dist/component/prisma-B4mlcaEB.js +9 -0
  469. package/dist/component/prisma-BX88wNNq.js +9 -0
  470. package/dist/component/prolog-ZYcjPjsY.js +9 -0
  471. package/dist/component/prolog-ftPRGVaT.js +9 -0
  472. package/dist/component/proto-B5SG7zCc.js +9 -0
  473. package/dist/component/proto-DpTcjJFH.js +9 -0
  474. package/dist/component/pug-BziTjzcZ.js +15 -0
  475. package/dist/component/pug-XUdLuJ2s.js +15 -0
  476. package/dist/component/puppet-BeyD5DhV.js +9 -0
  477. package/dist/component/puppet-DjFvC8zy.js +9 -0
  478. package/dist/component/purescript-BBRU0YyZ.js +9 -0
  479. package/dist/component/purescript-Bf3WPYAV.js +9 -0
  480. package/dist/component/python-C7yusFoO.js +9 -0
  481. package/dist/component/python-CuNbg5wx.js +9 -0
  482. package/dist/component/qml-Cu9RjXOs.js +11 -0
  483. package/dist/component/qml-Z-uvElxQ.js +11 -0
  484. package/dist/component/qmldir-BHp2usxt.js +9 -0
  485. package/dist/component/qmldir-C6P--W6X.js +9 -0
  486. package/dist/component/qss-CgcBaeYL.js +9 -0
  487. package/dist/component/qss-iWzt-Nzy.js +9 -0
  488. package/dist/component/quadrantDiagram-W4KKPZXB-Bpq-EoMM.js +1033 -0
  489. package/dist/component/r-8lH98zbN.js +9 -0
  490. package/dist/component/r-CyFkAlMF.js +9 -0
  491. package/dist/component/racket-DaWPCRlQ.js +9 -0
  492. package/dist/component/racket-effgGH8q.js +9 -0
  493. package/dist/component/raku-DXM7wT4g.js +9 -0
  494. package/dist/component/raku-GZVvT-nH.js +9 -0
  495. package/dist/component/razor-CYq4jbLW.js +13 -0
  496. package/dist/component/razor-DQFDiXM1.js +13 -0
  497. package/dist/component/red-B9TgEgRC.js +7 -0
  498. package/dist/component/red-BNC90Lxb.js +7 -0
  499. package/dist/component/reg-C62uOG3A.js +9 -0
  500. package/dist/component/reg-CQgRgzkw.js +9 -0
  501. package/dist/component/regexp-D8jeZrvm.js +9 -0
  502. package/dist/component/regexp-UNvxOND4.js +9 -0
  503. package/dist/component/rel-BRyuNjQD.js +9 -0
  504. package/dist/component/rel-Cyzm_Cno.js +9 -0
  505. package/dist/component/requirementDiagram-4Y6WPE33-B8V7mLRY.js +888 -0
  506. package/dist/component/riscv-BHdC-Wfh.js +9 -0
  507. package/dist/component/riscv-BZ9l50bA.js +9 -0
  508. package/dist/component/ron--0kZyCV0.js +9 -0
  509. package/dist/component/ron-CJx-eqt3.js +9 -0
  510. package/dist/component/rose-pine-XHcBRH-D.js +7 -0
  511. package/dist/component/rose-pine-dawn-Bz77Igqs.js +7 -0
  512. package/dist/component/rose-pine-dawn-RL42yTas.js +7 -0
  513. package/dist/component/rose-pine-ksWn8nuO.js +7 -0
  514. package/dist/component/rose-pine-moon-BtSW__9n.js +7 -0
  515. package/dist/component/rose-pine-moon-QJS0aJgR.js +7 -0
  516. package/dist/component/rosmsg-BPUqDEe2.js +9 -0
  517. package/dist/component/rosmsg-CM65NRE0.js +9 -0
  518. package/dist/component/rst-CqXkCW5F.js +25 -0
  519. package/dist/component/rst-DQATMrFw.js +25 -0
  520. package/dist/component/ruby-B09XKrLg.js +33 -0
  521. package/dist/component/ruby-BJtrPIFQ.js +33 -0
  522. package/dist/component/rust-3aEF0O7t.js +9 -0
  523. package/dist/component/rust-XKBJng8W.js +9 -0
  524. package/dist/component/sankeyDiagram-5OEKKPKP-C-TbMbsr.js +862 -0
  525. package/dist/component/sas-COkwgxe_.js +11 -0
  526. package/dist/component/sas-DDLczODn.js +11 -0
  527. package/dist/component/sass-BIT8Mghp.js +9 -0
  528. package/dist/component/sass-CbXM5obh.js +9 -0
  529. package/dist/component/scala-CWyCExvl.js +9 -0
  530. package/dist/component/scala-DmAjX8OM.js +9 -0
  531. package/dist/component/scheme-BLXiZF3M.js +9 -0
  532. package/dist/component/scheme-ERi8vGmO.js +9 -0
  533. package/dist/component/scss-BX4eQ0c3.js +11 -0
  534. package/dist/component/scss-Biq-xkEY.js +11 -0
  535. package/dist/component/sdbl-B4TEJKGi.js +9 -0
  536. package/dist/component/sdbl-tnLxE-ur.js +9 -0
  537. package/dist/component/sequenceDiagram-3UESZ5HK-UHhixLbD.js +2897 -0
  538. package/dist/component/shaderlab-DMYXUCqo.js +11 -0
  539. package/dist/component/shaderlab-DqcfJRqk.js +11 -0
  540. package/dist/component/shellscript-B533aeAq.js +9 -0
  541. package/dist/component/shellscript-B8M9FK6Q.js +9 -0
  542. package/dist/component/shellsession-CvrLJEnp.js +11 -0
  543. package/dist/component/shellsession-Cy0cdv3D.js +11 -0
  544. package/dist/component/slack-dark-9TBiD8mL.js +7 -0
  545. package/dist/component/slack-dark-DN-r2Kgp.js +7 -0
  546. package/dist/component/slack-ochin-9pgdwMdj.js +7 -0
  547. package/dist/component/slack-ochin-DoqPjNJD.js +7 -0
  548. package/dist/component/smalltalk-Bbm0pJzJ.js +9 -0
  549. package/dist/component/smalltalk-BgwWJ0LQ.js +9 -0
  550. package/dist/component/snazzy-light-CRiZMLw1.js +7 -0
  551. package/dist/component/snazzy-light-D2QxPpzI.js +7 -0
  552. package/dist/component/solarized-dark-CpiZBbF-.js +7 -0
  553. package/dist/component/solarized-dark-DrZ258Kz.js +7 -0
  554. package/dist/component/solarized-light-940Q0ET-.js +7 -0
  555. package/dist/component/solarized-light-CZjXGjG0.js +7 -0
  556. package/dist/component/solidity-BiVIJAyo.js +9 -0
  557. package/dist/component/solidity-DsGO0zKs.js +9 -0
  558. package/dist/component/soy-B8d9iNux.js +11 -0
  559. package/dist/component/soy-CrWxFFIL.js +11 -0
  560. package/dist/component/sparql-C9-sbVPb.js +11 -0
  561. package/dist/component/sparql-D4y9QLpW.js +11 -0
  562. package/dist/component/splunk-8ZGt17T1.js +9 -0
  563. package/dist/component/splunk-CoLR9YoS.js +9 -0
  564. package/dist/component/sql-kcHmCqqm.js +9 -0
  565. package/dist/component/sql-vg8sPfqQ.js +9 -0
  566. package/dist/component/ssh-config-CaXR5cZI.js +9 -0
  567. package/dist/component/ssh-config-DIPB8nWv.js +9 -0
  568. package/dist/component/stata-DTwlvRC-.js +11 -0
  569. package/dist/component/stata-wXDnjjLv.js +11 -0
  570. package/dist/component/stateDiagram-AJRCARHV-DBGVr_mf.js +266 -0
  571. package/dist/component/stateDiagram-v2-BHNVJYJU-BasSd11t.js +19 -0
  572. package/dist/component/stylus-BVi_fesw.js +9 -0
  573. package/dist/component/stylus-WAexVQ6f.js +9 -0
  574. package/dist/component/surrealql-BMPoOZ16.js +11 -0
  575. package/dist/component/surrealql-CoR3cmJl.js +11 -0
  576. package/dist/component/svelte-BXoajfvD.js +17 -0
  577. package/dist/component/svelte-CSNEH6tH.js +17 -0
  578. package/dist/component/swift-C1L5BrdG.js +9 -0
  579. package/dist/component/swift-DvqRLmJa.js +9 -0
  580. package/dist/component/synthwave-84-CjU0tbaA.js +7 -0
  581. package/dist/component/synthwave-84-D0HCetP1.js +7 -0
  582. package/dist/component/system-verilog-BlCQhLvC.js +9 -0
  583. package/dist/component/system-verilog-NfYSOS9X.js +9 -0
  584. package/dist/component/systemd-C-VULMOV.js +9 -0
  585. package/dist/component/systemd-DPQeba_a.js +9 -0
  586. package/dist/component/talonscript-0iKTliWA.js +9 -0
  587. package/dist/component/talonscript-Dcq0YJ69.js +9 -0
  588. package/dist/component/tasl-CBnjmw_u.js +9 -0
  589. package/dist/component/tasl-DPTcRLbU.js +9 -0
  590. package/dist/component/tcl-B8YZq0wg.js +9 -0
  591. package/dist/component/tcl-D3IfUIUn.js +9 -0
  592. package/dist/component/templ-BWrZoBOl.js +15 -0
  593. package/dist/component/templ-CNKcDxHw.js +15 -0
  594. package/dist/component/terraform-BBGJbbOd.js +9 -0
  595. package/dist/component/terraform-CpHfbII0.js +9 -0
  596. package/dist/component/tex-Do7cxq2n.js +11 -0
  597. package/dist/component/tex-DotwMf2L.js +11 -0
  598. package/dist/component/timeline-definition-PNZ67QCA-BTzUH3cf.js +1058 -0
  599. package/dist/component/tokyo-night-50KL4qXP.js +7 -0
  600. package/dist/component/tokyo-night-CFdInRHE.js +7 -0
  601. package/dist/component/toml-BgG8u2uy.js +9 -0
  602. package/dist/component/toml-Cdrl1XDU.js +9 -0
  603. package/dist/component/ts-tags-CZ_-X2Or.js +44 -0
  604. package/dist/component/ts-tags-JQGxDVZd.js +44 -0
  605. package/dist/component/tsv-CH-Gpfzn.js +9 -0
  606. package/dist/component/tsv-DXq61Z_y.js +9 -0
  607. package/dist/component/tsx-B6WYiHjH.js +9 -0
  608. package/dist/component/tsx-BI2vzHzF.js +9 -0
  609. package/dist/component/turtle-BLh3UAZ1.js +9 -0
  610. package/dist/component/turtle-DuS0HQ9p.js +9 -0
  611. package/dist/component/twig-BA9yPOhQ.js +21 -0
  612. package/dist/component/twig-F0j_PXgJ.js +21 -0
  613. package/dist/component/typescript-Bt_Em9TU.js +9 -0
  614. package/dist/component/typescript-BxspRrVw.js +9 -0
  615. package/dist/component/typespec-CBQfkfKg.js +9 -0
  616. package/dist/component/typespec-ChsG4DJP.js +9 -0
  617. package/dist/component/typst-CLNdxZpy.js +9 -0
  618. package/dist/component/typst-rCvFF3Ml.js +9 -0
  619. package/dist/component/v-Bc8b7HcA.js +9 -0
  620. package/dist/component/v-DkBTCxRz.js +9 -0
  621. package/dist/component/vala-Bf6duLsN.js +9 -0
  622. package/dist/component/vala-D3NFAJvZ.js +9 -0
  623. package/dist/component/vb-CbCKaE0V.js +9 -0
  624. package/dist/component/vb-DoG_86dU.js +9 -0
  625. package/dist/component/vennDiagram-CIIHVFJN-CVh3weJ2.js +1560 -0
  626. package/dist/component/verilog-BsnhA3AJ.js +9 -0
  627. package/dist/component/verilog-nZodAh2g.js +9 -0
  628. package/dist/component/vesper-C9xEuBGK.js +7 -0
  629. package/dist/component/vesper-DGjNIaCs.js +7 -0
  630. package/dist/component/vhdl-D19XVLHt.js +9 -0
  631. package/dist/component/vhdl-mXcQB2Fg.js +9 -0
  632. package/dist/component/viml-8k_5DKNK.js +9 -0
  633. package/dist/component/viml-COJbZm0U.js +9 -0
  634. package/dist/component/vitesse-black-Bct4R3m4.js +7 -0
  635. package/dist/component/vitesse-black-heVxAgDf.js +7 -0
  636. package/dist/component/vitesse-dark-DdWh6SFL.js +7 -0
  637. package/dist/component/vitesse-dark-DiXBkaTo.js +7 -0
  638. package/dist/component/vitesse-light-CerMU32A.js +7 -0
  639. package/dist/component/vitesse-light-Eee3KZAP.js +7 -0
  640. package/dist/component/vue-DjB6jmJ7.js +34 -0
  641. package/dist/component/vue-YqIdEku3.js +34 -0
  642. package/dist/component/vue-html-BkvRG1qx.js +11 -0
  643. package/dist/component/vue-html-CXFz0iVx.js +11 -0
  644. package/dist/component/vue-vine-CFD4nsF4.js +21 -0
  645. package/dist/component/vue-vine-lE-jUeB6.js +21 -0
  646. package/dist/component/vyper-DTCkLS2f.js +9 -0
  647. package/dist/component/vyper-_vSvOdCD.js +9 -0
  648. package/dist/component/wardley-L42UT6IY-HA1eSIS_.js +23141 -0
  649. package/dist/component/wardleyDiagram-YWT4CUSO-Uu5KXQum.js +681 -0
  650. package/dist/component/wasm-BEUtLzBq.js +10 -0
  651. package/dist/component/wasm-Bw9k5bmy.js +9 -0
  652. package/dist/component/wasm-NiufRxKC.js +9 -0
  653. package/dist/component/wasm-rA9i46L9.js +10 -0
  654. package/dist/component/wenyan-BAnK6VvJ.js +9 -0
  655. package/dist/component/wenyan-EBJbIPqf.js +9 -0
  656. package/dist/component/wgsl-B9MSpOv3.js +9 -0
  657. package/dist/component/wgsl-Dlg8zdV4.js +9 -0
  658. package/dist/component/wikitext-C8AvgBS7.js +9 -0
  659. package/dist/component/wikitext-sNd9wc1e.js +9 -0
  660. package/dist/component/wit-BM4EHoLb.js +9 -0
  661. package/dist/component/wit-BUXWAgVD.js +9 -0
  662. package/dist/component/wolfram-Ba-Qm5eW.js +9 -0
  663. package/dist/component/wolfram-CKRVXwGa.js +9 -0
  664. package/dist/component/xml-CE4MTCb-.js +11 -0
  665. package/dist/component/xml-DXvCmeFI.js +11 -0
  666. package/dist/component/xsl-BrFD-9o5.js +11 -0
  667. package/dist/component/xsl-CHBQO4kd.js +11 -0
  668. package/dist/component/xychartDiagram-2RQKCTM6-IkxwUbCF.js +1375 -0
  669. package/dist/component/yaml-CF4mYNnF.js +9 -0
  670. package/dist/component/yaml-XzfbPk1C.js +9 -0
  671. package/dist/component/zenscript-C0pvNsdh.js +9 -0
  672. package/dist/component/zenscript-xkkNgCqg.js +9 -0
  673. package/dist/component/zig-Bz6GLPWH.js +9 -0
  674. package/dist/component/zig-oixaTxav.js +9 -0
  675. package/dist/components/ai-elements/attachments.d.ts +54 -0
  676. package/dist/components/ai-elements/code-block.d.ts +46 -0
  677. package/dist/components/ai-elements/conversation.d.ts +23 -0
  678. package/dist/components/ai-elements/copy-button.d.ts +6 -0
  679. package/dist/components/ai-elements/file-tree.d.ts +26 -0
  680. package/dist/components/ai-elements/link-safety-modal.d.ts +8 -0
  681. package/dist/components/ai-elements/message.d.ts +38 -0
  682. package/dist/components/ai-elements/plan.d.ts +25 -0
  683. package/dist/components/ai-elements/prompt-input.d.ts +158 -0
  684. package/dist/components/ai-elements/reasoning.d.ts +26 -0
  685. package/dist/components/ai-elements/shell-highlight.d.ts +3 -0
  686. package/dist/components/ai-elements/shimmer.d.ts +9 -0
  687. package/dist/components/ai-elements/suggestion.d.ts +10 -0
  688. package/dist/components/ai-elements/task.d.ts +14 -0
  689. package/dist/components/ai-elements/terminal-task.d.ts +5 -0
  690. package/dist/components/ai-elements/tool.d.ts +31 -0
  691. package/dist/components/embed/AgentGrantCard.d.ts +25 -0
  692. package/dist/components/embed/AtMentionMenu.d.ts +13 -0
  693. package/dist/components/embed/BelongMark.d.ts +4 -0
  694. package/dist/components/embed/BrandMark.d.ts +11 -0
  695. package/dist/components/embed/CapabilityHints.d.ts +1 -0
  696. package/dist/components/embed/ComposerMenu.d.ts +36 -0
  697. package/dist/components/embed/CsvTable.d.ts +10 -0
  698. package/dist/components/embed/EmbedAvatar.d.ts +35 -0
  699. package/dist/components/embed/EmbedComposer.d.ts +31 -0
  700. package/dist/components/embed/EmbedConversation.d.ts +31 -0
  701. package/dist/components/embed/EmbedFiles.d.ts +28 -0
  702. package/dist/components/embed/EmbedHeader.d.ts +11 -0
  703. package/dist/components/embed/EmbedLogin.d.ts +11 -0
  704. package/dist/components/embed/EmbedRail.d.ts +49 -0
  705. package/dist/components/embed/EmbedSessions.d.ts +23 -0
  706. package/dist/components/embed/FilePreview.d.ts +12 -0
  707. package/dist/components/embed/FilePreviewDialog.d.ts +19 -0
  708. package/dist/components/embed/MentionInput.d.ts +23 -0
  709. package/dist/components/embed/MentionPill.d.ts +25 -0
  710. package/dist/components/embed/OnboardingOverlay.d.ts +21 -0
  711. package/dist/components/embed/OnboardingTour.d.ts +24 -0
  712. package/dist/components/embed/OnboardingWelcome.d.ts +23 -0
  713. package/dist/components/embed/PlanCue.d.ts +9 -0
  714. package/dist/components/embed/PlanPanel.d.ts +13 -0
  715. package/dist/components/embed/PlanView.d.ts +16 -0
  716. package/dist/components/embed/PoweredByBelong.d.ts +7 -0
  717. package/dist/components/embed/PreviewContent.d.ts +26 -0
  718. package/dist/components/embed/PreviewPanel.d.ts +17 -0
  719. package/dist/components/embed/ProgressRing.d.ts +13 -0
  720. package/dist/components/embed/SlashCommandMenu.d.ts +13 -0
  721. package/dist/components/embed/UploadedFiles.d.ts +9 -0
  722. package/dist/components/embed/UsageMeter.d.ts +9 -0
  723. package/dist/components/embed/WelcomeIntro.d.ts +10 -0
  724. package/dist/components/embed/WorkspaceTree.d.ts +22 -0
  725. package/dist/components/embed/__plan-test-utils__.d.ts +13 -0
  726. package/dist/components/embed/dev-runtime-bar.d.ts +21 -0
  727. package/dist/components/embed/embed-composer.fixtures.d.ts +3 -0
  728. package/dist/components/embed/embed-rail.fixtures.d.ts +3 -0
  729. package/dist/components/embed/file-preview-kind.d.ts +7 -0
  730. package/dist/components/embed/onboarding-story-dock.d.ts +20 -0
  731. package/dist/components/embed/onboarding.fixtures.d.ts +9 -0
  732. package/dist/components/embed/parse-csv.d.ts +10 -0
  733. package/dist/components/embed/preview-content-kind.d.ts +15 -0
  734. package/dist/components/embed/use-panel-resize.d.ts +4 -0
  735. package/dist/components/embed/use-preview-bytes.d.ts +39 -0
  736. package/dist/components/feedback/feedback-metadata.d.ts +37 -0
  737. package/dist/components/feedback/message-feedback.d.ts +9 -0
  738. package/dist/components/ui/accordion.d.ts +7 -0
  739. package/dist/components/ui/alert.d.ts +9 -0
  740. package/dist/components/ui/avatar.d.ts +11 -0
  741. package/dist/components/ui/badge.d.ts +9 -0
  742. package/dist/components/ui/button-group.d.ts +11 -0
  743. package/dist/components/ui/button.d.ts +10 -0
  744. package/dist/components/ui/card.d.ts +9 -0
  745. package/dist/components/ui/carousel.d.ts +19 -0
  746. package/dist/components/ui/checkbox.d.ts +4 -0
  747. package/dist/components/ui/collapsible.d.ts +5 -0
  748. package/dist/components/ui/command.d.ts +18 -0
  749. package/dist/components/ui/dialog.d.ts +17 -0
  750. package/dist/components/ui/dropdown-menu.d.ts +25 -0
  751. package/dist/components/ui/hover-card.d.ts +6 -0
  752. package/dist/components/ui/input-group.d.ts +16 -0
  753. package/dist/components/ui/input.d.ts +3 -0
  754. package/dist/components/ui/popover.d.ts +10 -0
  755. package/dist/components/ui/progress.d.ts +4 -0
  756. package/dist/components/ui/radio-group.d.ts +5 -0
  757. package/dist/components/ui/scroll-area.d.ts +5 -0
  758. package/dist/components/ui/select.d.ts +15 -0
  759. package/dist/components/ui/separator.d.ts +4 -0
  760. package/dist/components/ui/spinner.d.ts +2 -0
  761. package/dist/components/ui/switch.d.ts +6 -0
  762. package/dist/components/ui/tabs.d.ts +11 -0
  763. package/dist/components/ui/textarea.d.ts +3 -0
  764. package/dist/components/ui/tooltip.d.ts +7 -0
  765. package/dist/dev-main.d.ts +0 -0
  766. package/dist/embed/agent-grant-refresh.d.ts +37 -0
  767. package/dist/embed/at-mentions.d.ts +80 -0
  768. package/dist/embed/auth0-refresh.d.ts +78 -0
  769. package/dist/embed/auto-embed.d.ts +19 -0
  770. package/dist/embed/bootstrap.d.ts +10 -0
  771. package/dist/embed/brand-marks.d.ts +11 -0
  772. package/dist/embed/build-info.d.ts +30 -0
  773. package/dist/embed/build-version.d.ts +28 -0
  774. package/dist/embed/chat-mode.d.ts +46 -0
  775. package/dist/embed/composer-focus.d.ts +14 -0
  776. package/dist/embed/copy.d.ts +84 -0
  777. package/dist/embed/custom-css.d.ts +2 -0
  778. package/dist/embed/debug-overrides.d.ts +11 -0
  779. package/dist/embed/dev-mode.d.ts +56 -0
  780. package/dist/embed/dock-layout.d.ts +30 -0
  781. package/dist/embed/dock-state.d.ts +32 -0
  782. package/dist/embed/download-url.d.ts +9 -0
  783. package/dist/embed/file-type-icon.d.ts +29 -0
  784. package/dist/embed/format-bytes.d.ts +2 -0
  785. package/dist/embed/global.d.ts +79 -0
  786. package/dist/embed/locale.d.ts +18 -0
  787. package/dist/embed/logo.d.ts +1 -0
  788. package/dist/embed/mic-press.d.ts +27 -0
  789. package/dist/embed/onboarding-prefs.d.ts +52 -0
  790. package/dist/embed/onboarding-steps.d.ts +27 -0
  791. package/dist/embed/onboarding-store.d.ts +39 -0
  792. package/dist/embed/plan-auto-open.d.ts +8 -0
  793. package/dist/embed/plan-decision.d.ts +10 -0
  794. package/dist/embed/plan-intent.d.ts +17 -0
  795. package/dist/embed/portal-container.d.ts +23 -0
  796. package/dist/embed/presets.d.ts +29 -0
  797. package/dist/embed/session-record.d.ts +16 -0
  798. package/dist/embed/shadow-mount.d.ts +37 -0
  799. package/dist/embed/slash-commands.d.ts +49 -0
  800. package/dist/embed/theme.d.ts +40 -0
  801. package/dist/embed/universe-origin.d.ts +24 -0
  802. package/dist/embed/use-workspace-file-download.d.ts +16 -0
  803. package/dist/embed/voice/audio-forwarder.worklet.d.ts +22 -0
  804. package/dist/embed/voice/audio-utils.d.ts +38 -0
  805. package/dist/embed/voice/deepgram-stt.d.ts +69 -0
  806. package/dist/embed/voice/mic-capture.d.ts +34 -0
  807. package/dist/embed/voice/sentence-split.d.ts +11 -0
  808. package/dist/embed/voice/voice-http.d.ts +8 -0
  809. package/dist/embed/voice/voice-token.d.ts +40 -0
  810. package/dist/embed/voice-bus.d.ts +75 -0
  811. package/dist/embed/voice-config.d.ts +52 -0
  812. package/dist/embed/voice-fillers.d.ts +2 -0
  813. package/dist/embed/voice-prefs.d.ts +55 -0
  814. package/dist/embed/voice-tts.d.ts +101 -0
  815. package/dist/embed/workspace-paths.d.ts +9 -0
  816. package/dist/infrastructure/telemetry/session-span-processor.d.ts +11 -0
  817. package/dist/infrastructure/telemetry/web-sdk.d.ts +29 -0
  818. package/dist/lib/belong.d.ts +12 -0
  819. package/dist/lib/tab-leadership.d.ts +46 -0
  820. package/dist/lib/use-tab-leadership.d.ts +8 -0
  821. package/dist/lib/utils.d.ts +9 -0
  822. package/dist/public-api.d.ts +3 -0
  823. package/dist/routes/chat-attachment-chip.d.ts +9 -0
  824. package/dist/routes/chat.d.ts +29 -0
  825. package/dist/routes/documents.d.ts +16 -0
  826. package/dist/routes/files.d.ts +14 -0
  827. package/dist/routes/sample-artifact.d.ts +7 -0
  828. package/dist/routes/sessions.d.ts +4 -0
  829. package/dist/routes/static-chat-fixture.d.ts +26 -0
  830. package/dist/stream/ai-sdk-part-renderers.d.ts +66 -0
  831. package/dist/stream/belong-chat-transport.d.ts +679 -0
  832. package/dist/stream/belong-data-parts.d.ts +207 -0
  833. package/dist/stream/chat-upload.d.ts +35 -0
  834. package/dist/stream/plan-panel-store.d.ts +11 -0
  835. package/dist/stream/plan-progress-store.d.ts +4 -0
  836. package/dist/stream/plan-progress.d.ts +25 -0
  837. package/dist/stream/plan-store.d.ts +16 -0
  838. package/dist/stream/preview-panel-store.d.ts +50 -0
  839. package/dist/stream/sandbox-output.d.ts +32 -0
  840. package/dist/stream/select-latest-plan.d.ts +17 -0
  841. package/dist/stream/select-session-usage.d.ts +23 -0
  842. package/dist/stream/session-title.d.ts +15 -0
  843. package/dist/stream/stream-state-store.d.ts +67 -0
  844. package/dist/stream/tool-io.d.ts +7 -0
  845. package/dist/test/render.d.ts +23 -0
  846. package/dist/test-setup.d.ts +1 -0
  847. package/dist/types/public.d.ts +189 -0
  848. package/package.json +38 -0
@@ -0,0 +1,1560 @@
1
+ import { aX as Gt, s as Wt, g as Kt, t as Ht, q as Xt, a as Yt, b as Zt, _ as w, G as wt, N as Jt, d as ot, ao as Qt, af as $t, ag as te, ah as ee, e as ne, B as se, I as ie, K as oe } from "./mermaid-GHXKKRXX-C5Y3BZXR.js";
2
+ globalThis.process = globalThis.process || { env: {} };
3
+ globalThis.global = globalThis.global || globalThis;
4
+ const kt = (t, n) => Gt(t, "a", -n), _t = 1e-10;
5
+ function st(t, n) {
6
+ const s = ae(t), e = s.filter((c) => re(c, t));
7
+ let i = 0, o = 0;
8
+ const a = [];
9
+ if (e.length > 1) {
10
+ const c = Et(e);
11
+ for (let u = 0; u < e.length; ++u) {
12
+ const r = e[u];
13
+ r.angle = Math.atan2(r.x - c.x, r.y - c.y);
14
+ }
15
+ e.sort((u, r) => r.angle - u.angle);
16
+ let h = e[e.length - 1];
17
+ for (let u = 0; u < e.length; ++u) {
18
+ const r = e[u];
19
+ o += (h.x + r.x) * (r.y - h.y);
20
+ const y = { x: (r.x + h.x) / 2, y: (r.y + h.y) / 2 };
21
+ let d = null;
22
+ for (let b = 0; b < r.parentIndex.length; ++b)
23
+ if (h.parentIndex.includes(r.parentIndex[b])) {
24
+ const x = t[r.parentIndex[b]], M = Math.atan2(r.x - x.x, r.y - x.y), A = Math.atan2(h.x - x.x, h.y - x.y);
25
+ let T = A - M;
26
+ T < 0 && (T += 2 * Math.PI);
27
+ const S = A - T / 2;
28
+ let g = q(y, {
29
+ x: x.x + x.radius * Math.sin(S),
30
+ y: x.y + x.radius * Math.cos(S)
31
+ });
32
+ g > x.radius * 2 && (g = x.radius * 2), (d == null || d.width > g) && (d = { circle: x, width: g, p1: r, p2: h, large: g > x.radius, sweep: !0 });
33
+ }
34
+ d != null && (a.push(d), i += lt(d.circle.radius, d.width), h = r);
35
+ }
36
+ } else {
37
+ let c = t[0];
38
+ for (let u = 1; u < t.length; ++u)
39
+ t[u].radius < c.radius && (c = t[u]);
40
+ let h = !1;
41
+ for (let u = 0; u < t.length; ++u)
42
+ if (q(t[u], c) > Math.abs(c.radius - t[u].radius)) {
43
+ h = !0;
44
+ break;
45
+ }
46
+ h ? i = o = 0 : (i = c.radius * c.radius * Math.PI, a.push({
47
+ circle: c,
48
+ p1: { x: c.x, y: c.y + c.radius },
49
+ p2: { x: c.x - _t, y: c.y + c.radius },
50
+ width: c.radius * 2,
51
+ large: !0,
52
+ sweep: !0
53
+ }));
54
+ }
55
+ return o /= 2, n && (n.area = i + o, n.arcArea = i, n.polygonArea = o, n.arcs = a, n.innerPoints = e, n.intersectionPoints = s), i + o;
56
+ }
57
+ function re(t, n) {
58
+ return n.every((s) => q(t, s) < s.radius + _t);
59
+ }
60
+ function ae(t) {
61
+ const n = [];
62
+ for (let s = 0; s < t.length; ++s)
63
+ for (let e = s + 1; e < t.length; ++e) {
64
+ const i = Tt(t[s], t[e]);
65
+ for (const o of i)
66
+ o.parentIndex = [s, e], n.push(o);
67
+ }
68
+ return n;
69
+ }
70
+ function lt(t, n) {
71
+ return t * t * Math.acos(1 - n / t) - (t - n) * Math.sqrt(n * (2 * t - n));
72
+ }
73
+ function q(t, n) {
74
+ return Math.sqrt((t.x - n.x) * (t.x - n.x) + (t.y - n.y) * (t.y - n.y));
75
+ }
76
+ function xt(t, n, s) {
77
+ if (s >= t + n)
78
+ return 0;
79
+ if (s <= Math.abs(t - n))
80
+ return Math.PI * Math.min(t, n) * Math.min(t, n);
81
+ const e = t - (s * s - n * n + t * t) / (2 * s), i = n - (s * s - t * t + n * n) / (2 * s);
82
+ return lt(t, e) + lt(n, i);
83
+ }
84
+ function Tt(t, n) {
85
+ const s = q(t, n), e = t.radius, i = n.radius;
86
+ if (s >= e + i || s <= Math.abs(e - i))
87
+ return [];
88
+ const o = (e * e - i * i + s * s) / (2 * s), a = Math.sqrt(e * e - o * o), c = t.x + o * (n.x - t.x) / s, h = t.y + o * (n.y - t.y) / s, u = -(n.y - t.y) * (a / s), r = -(n.x - t.x) * (a / s);
89
+ return [
90
+ { x: c + u, y: h - r },
91
+ { x: c - u, y: h + r }
92
+ ];
93
+ }
94
+ function Et(t) {
95
+ const n = { x: 0, y: 0 };
96
+ for (const s of t)
97
+ n.x += s.x, n.y += s.y;
98
+ return n.x /= t.length, n.y /= t.length, n;
99
+ }
100
+ function le(t, n, s, e) {
101
+ e = e || {};
102
+ const i = e.maxIterations || 100, o = e.tolerance || 1e-10, a = t(n), c = t(s);
103
+ let h = s - n;
104
+ if (a * c > 0)
105
+ throw "Initial bisect points must have opposite signs";
106
+ if (a === 0) return n;
107
+ if (c === 0) return s;
108
+ for (let u = 0; u < i; ++u) {
109
+ h /= 2;
110
+ const r = n + h, y = t(r);
111
+ if (y * a >= 0 && (n = r), Math.abs(h) < o || y === 0)
112
+ return r;
113
+ }
114
+ return n + h;
115
+ }
116
+ function ct(t) {
117
+ const n = new Array(t);
118
+ for (let s = 0; s < t; ++s)
119
+ n[s] = 0;
120
+ return n;
121
+ }
122
+ function Mt(t, n) {
123
+ return ct(t).map(() => ct(n));
124
+ }
125
+ function $(t, n) {
126
+ let s = 0;
127
+ for (let e = 0; e < t.length; ++e)
128
+ s += t[e] * n[e];
129
+ return s;
130
+ }
131
+ function ut(t) {
132
+ return Math.sqrt($(t, t));
133
+ }
134
+ function ft(t, n, s) {
135
+ for (let e = 0; e < n.length; ++e)
136
+ t[e] = n[e] * s;
137
+ }
138
+ function J(t, n, s, e, i) {
139
+ for (let o = 0; o < t.length; ++o)
140
+ t[o] = n * s[o] + e * i[o];
141
+ }
142
+ function zt(t, n, s) {
143
+ s = s || {};
144
+ const e = s.maxIterations || n.length * 200, i = s.nonZeroDelta || 1.05, o = s.zeroDelta || 1e-3, a = s.minErrorDelta || 1e-6, c = s.minErrorDelta || 1e-5, h = s.rho !== void 0 ? s.rho : 1, u = s.chi !== void 0 ? s.chi : 2, r = s.psi !== void 0 ? s.psi : -0.5, y = s.sigma !== void 0 ? s.sigma : 0.5;
145
+ let d;
146
+ const b = n.length, x = new Array(b + 1);
147
+ x[0] = n, x[0].fx = t(n), x[0].id = 0;
148
+ for (let v = 0; v < b; ++v) {
149
+ const l = n.slice();
150
+ l[v] = l[v] ? l[v] * i : o, x[v + 1] = l, x[v + 1].fx = t(l), x[v + 1].id = v + 1;
151
+ }
152
+ function M(v) {
153
+ for (let l = 0; l < v.length; l++)
154
+ x[b][l] = v[l];
155
+ x[b].fx = v.fx;
156
+ }
157
+ const A = (v, l) => v.fx - l.fx, T = n.slice(), S = n.slice(), g = n.slice(), m = n.slice();
158
+ for (let v = 0; v < e; ++v) {
159
+ if (x.sort(A), s.history) {
160
+ const p = x.map((f) => {
161
+ const N = f.slice();
162
+ return N.fx = f.fx, N.id = f.id, N;
163
+ });
164
+ p.sort((f, N) => f.id - N.id), s.history.push({
165
+ x: x[0].slice(),
166
+ fx: x[0].fx,
167
+ simplex: p
168
+ });
169
+ }
170
+ d = 0;
171
+ for (let p = 0; p < b; ++p)
172
+ d = Math.max(d, Math.abs(x[0][p] - x[1][p]));
173
+ if (Math.abs(x[0].fx - x[b].fx) < a && d < c)
174
+ break;
175
+ for (let p = 0; p < b; ++p) {
176
+ T[p] = 0;
177
+ for (let f = 0; f < b; ++f)
178
+ T[p] += x[f][p];
179
+ T[p] /= b;
180
+ }
181
+ const l = x[b];
182
+ if (J(S, 1 + h, T, -h, l), S.fx = t(S), S.fx < x[0].fx)
183
+ J(m, 1 + u, T, -u, l), m.fx = t(m), m.fx < S.fx ? M(m) : M(S);
184
+ else if (S.fx >= x[b - 1].fx) {
185
+ let p = !1;
186
+ if (S.fx > l.fx ? (J(g, 1 + r, T, -r, l), g.fx = t(g), g.fx < l.fx ? M(g) : p = !0) : (J(g, 1 - r * h, T, r * h, l), g.fx = t(g), g.fx < S.fx ? M(g) : p = !0), p) {
187
+ if (y >= 1) break;
188
+ for (let f = 1; f < x.length; ++f)
189
+ J(x[f], 1 - y, x[0], y, x[f]), x[f].fx = t(x[f]);
190
+ }
191
+ } else
192
+ M(S);
193
+ }
194
+ return x.sort(A), { fx: x[0].fx, x: x[0] };
195
+ }
196
+ function ce(t, n, s, e, i, o, a) {
197
+ const c = s.fx, h = $(s.fxprime, n);
198
+ let u = c, r = c, y = h, d = 0;
199
+ i = i || 1, o = o || 1e-6, a = a || 0.1;
200
+ function b(x, M, A) {
201
+ for (let T = 0; T < 16; ++T)
202
+ if (i = (x + M) / 2, J(e.x, 1, s.x, i, n), u = e.fx = t(e.x, e.fxprime), y = $(e.fxprime, n), u > c + o * i * h || u >= A)
203
+ M = i;
204
+ else {
205
+ if (Math.abs(y) <= -a * h)
206
+ return i;
207
+ y * (M - x) >= 0 && (M = x), x = i, A = u;
208
+ }
209
+ return 0;
210
+ }
211
+ for (let x = 0; x < 10; ++x) {
212
+ if (J(e.x, 1, s.x, i, n), u = e.fx = t(e.x, e.fxprime), y = $(e.fxprime, n), u > c + o * i * h || x && u >= r)
213
+ return b(d, i, r);
214
+ if (Math.abs(y) <= -a * h)
215
+ return i;
216
+ if (y >= 0)
217
+ return b(i, d, u);
218
+ r = u, d = i, i *= 2;
219
+ }
220
+ return i;
221
+ }
222
+ function ue(t, n, s) {
223
+ let e = { x: n.slice(), fx: 0, fxprime: n.slice() }, i = { x: n.slice(), fx: 0, fxprime: n.slice() };
224
+ const o = n.slice();
225
+ let a, c, h = 1, u;
226
+ s = s || {}, u = s.maxIterations || n.length * 20, e.fx = t(e.x, e.fxprime), a = e.fxprime.slice(), ft(a, e.fxprime, -1);
227
+ for (let r = 0; r < u; ++r) {
228
+ if (h = ce(t, a, e, i, h), s.history && s.history.push({
229
+ x: e.x.slice(),
230
+ fx: e.fx,
231
+ fxprime: e.fxprime.slice(),
232
+ alpha: h
233
+ }), !h)
234
+ ft(a, e.fxprime, -1);
235
+ else {
236
+ J(o, 1, i.fxprime, -1, e.fxprime);
237
+ const y = $(e.fxprime, e.fxprime), d = Math.max(0, $(o, i.fxprime) / y);
238
+ J(a, d, a, -1, i.fxprime), c = e, e = i, i = c;
239
+ }
240
+ if (ut(e.fxprime) <= 1e-5)
241
+ break;
242
+ }
243
+ return s.history && s.history.push({
244
+ x: e.x.slice(),
245
+ fx: e.fx,
246
+ fxprime: e.fxprime.slice(),
247
+ alpha: h
248
+ }), e;
249
+ }
250
+ function At(t, n = {}) {
251
+ n.maxIterations = n.maxIterations || 500;
252
+ const s = n.initialLayout || ge, e = n.lossFunction || tt, i = fe(t, n), o = s(i, n), a = Object.keys(o), c = [];
253
+ for (const r of a)
254
+ c.push(o[r].x), c.push(o[r].y);
255
+ const u = zt(
256
+ (r) => {
257
+ const y = {};
258
+ for (let d = 0; d < a.length; ++d) {
259
+ const b = a[d];
260
+ y[b] = {
261
+ x: r[2 * d],
262
+ y: r[2 * d + 1],
263
+ radius: o[b].radius
264
+ // size : circles[setid].size
265
+ };
266
+ }
267
+ return e(y, i);
268
+ },
269
+ c,
270
+ n
271
+ ).x;
272
+ for (let r = 0; r < a.length; ++r) {
273
+ const y = a[r];
274
+ o[y].x = u[2 * r], o[y].y = u[2 * r + 1];
275
+ }
276
+ return o;
277
+ }
278
+ const Rt = 1e-10;
279
+ function ht(t, n, s) {
280
+ return Math.min(t, n) * Math.min(t, n) * Math.PI <= s + Rt ? Math.abs(t - n) : le((e) => xt(t, n, e) - s, 0, t + n);
281
+ }
282
+ function fe(t, n = {}) {
283
+ const s = n.distinct, e = t.map((c) => Object.assign({}, c));
284
+ function i(c) {
285
+ return c.join(";");
286
+ }
287
+ if (s) {
288
+ const c = /* @__PURE__ */ new Map();
289
+ for (const h of e)
290
+ for (let u = 0; u < h.sets.length; u++) {
291
+ const r = String(h.sets[u]);
292
+ c.set(r, h.size + (c.get(r) || 0));
293
+ for (let y = u + 1; y < h.sets.length; y++) {
294
+ const d = String(h.sets[y]), b = `${r};${d}`, x = `${d};${r}`;
295
+ c.set(b, h.size + (c.get(b) || 0)), c.set(x, h.size + (c.get(x) || 0));
296
+ }
297
+ }
298
+ for (const h of e)
299
+ h.sets.length < 3 && (h.size = c.get(i(h.sets)));
300
+ }
301
+ const o = [], a = /* @__PURE__ */ new Set();
302
+ for (const c of e)
303
+ if (c.sets.length === 1)
304
+ o.push(c.sets[0]);
305
+ else if (c.sets.length === 2) {
306
+ const h = c.sets[0], u = c.sets[1];
307
+ a.add(i(c.sets)), a.add(i([u, h]));
308
+ }
309
+ o.sort((c, h) => c === h ? 0 : c < h ? -1 : 1);
310
+ for (let c = 0; c < o.length; ++c) {
311
+ const h = o[c];
312
+ for (let u = c + 1; u < o.length; ++u) {
313
+ const r = o[u];
314
+ a.has(i([h, r])) || e.push({ sets: [h, r], size: 0 });
315
+ }
316
+ }
317
+ return e;
318
+ }
319
+ function he(t, n, s) {
320
+ const e = Mt(n.length, n.length), i = Mt(n.length, n.length);
321
+ return t.filter((o) => o.sets.length === 2).forEach((o) => {
322
+ const a = s[o.sets[0]], c = s[o.sets[1]], h = Math.sqrt(n[a].size / Math.PI), u = Math.sqrt(n[c].size / Math.PI), r = ht(h, u, o.size);
323
+ e[a][c] = e[c][a] = r;
324
+ let y = 0;
325
+ o.size + 1e-10 >= Math.min(n[a].size, n[c].size) ? y = 1 : o.size <= 1e-10 && (y = -1), i[a][c] = i[c][a] = y;
326
+ }), { distances: e, constraints: i };
327
+ }
328
+ function de(t, n, s, e) {
329
+ for (let o = 0; o < n.length; ++o)
330
+ n[o] = 0;
331
+ let i = 0;
332
+ for (let o = 0; o < s.length; ++o) {
333
+ const a = t[2 * o], c = t[2 * o + 1];
334
+ for (let h = o + 1; h < s.length; ++h) {
335
+ const u = t[2 * h], r = t[2 * h + 1], y = s[o][h], d = e[o][h], b = (u - a) * (u - a) + (r - c) * (r - c), x = Math.sqrt(b), M = b - y * y;
336
+ d > 0 && x <= y || d < 0 && x >= y || (i += 2 * M * M, n[2 * o] += 4 * M * (a - u), n[2 * o + 1] += 4 * M * (c - r), n[2 * h] += 4 * M * (u - a), n[2 * h + 1] += 4 * M * (r - c));
337
+ }
338
+ }
339
+ return i;
340
+ }
341
+ function ge(t, n = {}) {
342
+ let s = ye(t, n);
343
+ const e = n.lossFunction || tt;
344
+ if (t.length >= 8) {
345
+ const i = xe(t, n), o = e(i, t), a = e(s, t);
346
+ o + 1e-8 < a && (s = i);
347
+ }
348
+ return s;
349
+ }
350
+ function xe(t, n = {}) {
351
+ const s = n.restarts || 10, e = [], i = {};
352
+ for (const d of t)
353
+ d.sets.length === 1 && (i[d.sets[0]] = e.length, e.push(d));
354
+ let { distances: o, constraints: a } = he(t, e, i);
355
+ const c = ut(o.map(ut)) / o.length;
356
+ o = o.map((d) => d.map((b) => b / c));
357
+ const h = (d, b) => de(d, b, o, a);
358
+ let u = null;
359
+ for (let d = 0; d < s; ++d) {
360
+ const b = ct(o.length * 2).map(Math.random), x = ue(h, b, n);
361
+ (!u || x.fx < u.fx) && (u = x);
362
+ }
363
+ const r = u.x, y = {};
364
+ for (let d = 0; d < e.length; ++d) {
365
+ const b = e[d];
366
+ y[b.sets[0]] = {
367
+ x: r[2 * d] * c,
368
+ y: r[2 * d + 1] * c,
369
+ radius: Math.sqrt(b.size / Math.PI)
370
+ };
371
+ }
372
+ if (n.history)
373
+ for (const d of n.history)
374
+ ft(d.x, c);
375
+ return y;
376
+ }
377
+ function ye(t, n) {
378
+ const s = n && n.lossFunction ? n.lossFunction : tt, e = {}, i = {};
379
+ for (const y of t)
380
+ if (y.sets.length === 1) {
381
+ const d = y.sets[0];
382
+ e[d] = {
383
+ x: 1e10,
384
+ y: 1e10,
385
+ rowid: e.length,
386
+ size: y.size,
387
+ radius: Math.sqrt(y.size / Math.PI)
388
+ }, i[d] = [];
389
+ }
390
+ t = t.filter((y) => y.sets.length === 2);
391
+ for (const y of t) {
392
+ let d = y.weight != null ? y.weight : 1;
393
+ const b = y.sets[0], x = y.sets[1];
394
+ y.size + Rt >= Math.min(e[b].size, e[x].size) && (d = 0), i[b].push({ set: x, size: y.size, weight: d }), i[x].push({ set: b, size: y.size, weight: d });
395
+ }
396
+ const o = [];
397
+ Object.keys(i).forEach((y) => {
398
+ let d = 0;
399
+ for (let b = 0; b < i[y].length; ++b)
400
+ d += i[y][b].size * i[y][b].weight;
401
+ o.push({ set: y, size: d });
402
+ });
403
+ function a(y, d) {
404
+ return d.size - y.size;
405
+ }
406
+ o.sort(a);
407
+ const c = {};
408
+ function h(y) {
409
+ return y.set in c;
410
+ }
411
+ function u(y, d) {
412
+ e[d].x = y.x, e[d].y = y.y, c[d] = !0;
413
+ }
414
+ u({ x: 0, y: 0 }, o[0].set);
415
+ for (let y = 1; y < o.length; ++y) {
416
+ const d = o[y].set, b = i[d].filter(h), x = e[d];
417
+ if (b.sort(a), b.length === 0)
418
+ throw "ERROR: missing pairwise overlap information";
419
+ const M = [];
420
+ for (var r = 0; r < b.length; ++r) {
421
+ const S = e[b[r].set], g = ht(x.radius, S.radius, b[r].size);
422
+ M.push({ x: S.x + g, y: S.y }), M.push({ x: S.x - g, y: S.y }), M.push({ y: S.y + g, x: S.x }), M.push({ y: S.y - g, x: S.x });
423
+ for (let m = r + 1; m < b.length; ++m) {
424
+ const v = e[b[m].set], l = ht(x.radius, v.radius, b[m].size), p = Tt(
425
+ { x: S.x, y: S.y, radius: g },
426
+ { x: v.x, y: v.y, radius: l }
427
+ );
428
+ M.push(...p);
429
+ }
430
+ }
431
+ let A = 1e50, T = M[0];
432
+ for (const S of M) {
433
+ e[d].x = S.x, e[d].y = S.y;
434
+ const g = s(e, t);
435
+ g < A && (A = g, T = S);
436
+ }
437
+ u(T, d);
438
+ }
439
+ return e;
440
+ }
441
+ function tt(t, n) {
442
+ let s = 0;
443
+ for (const e of n) {
444
+ if (e.sets.length === 1)
445
+ continue;
446
+ let i;
447
+ if (e.sets.length === 2) {
448
+ const a = t[e.sets[0]], c = t[e.sets[1]];
449
+ i = xt(a.radius, c.radius, q(a, c));
450
+ } else
451
+ i = st(e.sets.map((a) => t[a]));
452
+ const o = e.weight != null ? e.weight : 1;
453
+ s += o * (i - e.size) * (i - e.size);
454
+ }
455
+ return s;
456
+ }
457
+ function Ct(t, n) {
458
+ let s = 0;
459
+ for (const e of n) {
460
+ if (e.sets.length === 1)
461
+ continue;
462
+ let i;
463
+ if (e.sets.length === 2) {
464
+ const c = t[e.sets[0]], h = t[e.sets[1]];
465
+ i = xt(c.radius, h.radius, q(c, h));
466
+ } else
467
+ i = st(e.sets.map((c) => t[c]));
468
+ const o = e.weight != null ? e.weight : 1, a = Math.log((i + 1) / (e.size + 1));
469
+ s += o * a * a;
470
+ }
471
+ return s;
472
+ }
473
+ function pe(t, n, s) {
474
+ if (s == null ? t.sort((i, o) => o.radius - i.radius) : t.sort(s), t.length > 0) {
475
+ const i = t[0].x, o = t[0].y;
476
+ for (const a of t)
477
+ a.x -= i, a.y -= o;
478
+ }
479
+ if (t.length === 2 && q(t[0], t[1]) < Math.abs(t[1].radius - t[0].radius) && (t[1].x = t[0].x + t[0].radius - t[1].radius - 1e-10, t[1].y = t[0].y), t.length > 1) {
480
+ const i = Math.atan2(t[1].x, t[1].y) - n, o = Math.cos(i), a = Math.sin(i);
481
+ for (const c of t) {
482
+ const h = c.x, u = c.y;
483
+ c.x = o * h - a * u, c.y = a * h + o * u;
484
+ }
485
+ }
486
+ if (t.length > 2) {
487
+ let i = Math.atan2(t[2].x, t[2].y) - n;
488
+ for (; i < 0; )
489
+ i += 2 * Math.PI;
490
+ for (; i > 2 * Math.PI; )
491
+ i -= 2 * Math.PI;
492
+ if (i > Math.PI) {
493
+ const o = t[1].y / (1e-10 + t[1].x);
494
+ for (const a of t) {
495
+ var e = (a.x + o * a.y) / (1 + o * o);
496
+ a.x = 2 * e - a.x, a.y = 2 * e * o - a.y;
497
+ }
498
+ }
499
+ }
500
+ }
501
+ function me(t) {
502
+ t.forEach((i) => {
503
+ i.parent = i;
504
+ });
505
+ function n(i) {
506
+ return i.parent !== i && (i.parent = n(i.parent)), i.parent;
507
+ }
508
+ function s(i, o) {
509
+ const a = n(i), c = n(o);
510
+ a.parent = c;
511
+ }
512
+ for (let i = 0; i < t.length; ++i)
513
+ for (let o = i + 1; o < t.length; ++o) {
514
+ const a = t[i].radius + t[o].radius;
515
+ q(t[i], t[o]) + 1e-10 < a && s(t[o], t[i]);
516
+ }
517
+ const e = /* @__PURE__ */ new Map();
518
+ for (let i = 0; i < t.length; ++i) {
519
+ const o = n(t[i]).parent.setid;
520
+ e.has(o) || e.set(o, []), e.get(o).push(t[i]);
521
+ }
522
+ return t.forEach((i) => {
523
+ delete i.parent;
524
+ }), Array.from(e.values());
525
+ }
526
+ function dt(t) {
527
+ const n = (s) => {
528
+ const e = t.reduce((o, a) => Math.max(o, a[s] + a.radius), Number.NEGATIVE_INFINITY), i = t.reduce((o, a) => Math.min(o, a[s] - a.radius), Number.POSITIVE_INFINITY);
529
+ return { max: e, min: i };
530
+ };
531
+ return { xRange: n("x"), yRange: n("y") };
532
+ }
533
+ function Dt(t, n, s) {
534
+ n == null && (n = Math.PI / 2);
535
+ let e = Ft(t).map((u) => Object.assign({}, u));
536
+ const i = me(e);
537
+ for (const u of i) {
538
+ pe(u, n, s);
539
+ const r = dt(u);
540
+ u.size = (r.xRange.max - r.xRange.min) * (r.yRange.max - r.yRange.min), u.bounds = r;
541
+ }
542
+ i.sort((u, r) => r.size - u.size), e = i[0];
543
+ let o = e.bounds;
544
+ const a = (o.xRange.max - o.xRange.min) / 50;
545
+ function c(u, r, y) {
546
+ if (!u)
547
+ return;
548
+ const d = u.bounds;
549
+ let b, x;
550
+ if (r)
551
+ b = o.xRange.max - d.xRange.min + a;
552
+ else {
553
+ b = o.xRange.max - d.xRange.max;
554
+ const M = (d.xRange.max - d.xRange.min) / 2 - (o.xRange.max - o.xRange.min) / 2;
555
+ M < 0 && (b += M);
556
+ }
557
+ if (y)
558
+ x = o.yRange.max - d.yRange.min + a;
559
+ else {
560
+ x = o.yRange.max - d.yRange.max;
561
+ const M = (d.yRange.max - d.yRange.min) / 2 - (o.yRange.max - o.yRange.min) / 2;
562
+ M < 0 && (x += M);
563
+ }
564
+ for (const M of u)
565
+ M.x += b, M.y += x, e.push(M);
566
+ }
567
+ let h = 1;
568
+ for (; h < i.length; )
569
+ c(i[h], !0, !1), c(i[h + 1], !1, !0), c(i[h + 2], !0, !0), h += 3, o = dt(e);
570
+ return Ot(e);
571
+ }
572
+ function Nt(t, n, s, e, i) {
573
+ const o = Ft(t);
574
+ n -= 2 * e, s -= 2 * e;
575
+ const { xRange: a, yRange: c } = dt(o);
576
+ if (a.max === a.min || c.max === c.min)
577
+ return console.log("not scaling solution: zero size detected"), t;
578
+ let h, u;
579
+ if (i) {
580
+ const b = Math.sqrt(i / Math.PI) * 2;
581
+ h = n / b, u = s / b;
582
+ } else
583
+ h = n / (a.max - a.min), u = s / (c.max - c.min);
584
+ const r = Math.min(u, h), y = (n - (a.max - a.min) * r) / 2, d = (s - (c.max - c.min) * r) / 2;
585
+ return Ot(
586
+ o.map((b) => ({
587
+ radius: r * b.radius,
588
+ x: e + y + (b.x - a.min) * r,
589
+ y: e + d + (b.y - c.min) * r,
590
+ setid: b.setid
591
+ }))
592
+ );
593
+ }
594
+ function Ot(t) {
595
+ const n = {};
596
+ for (const s of t)
597
+ n[s.setid] = s;
598
+ return n;
599
+ }
600
+ function Ft(t) {
601
+ return Object.keys(t).map((s) => Object.assign(t[s], { setid: s }));
602
+ }
603
+ function be(t = {}) {
604
+ let n = !1, s = 600, e = 350, i = 15, o = 1e3, a = Math.PI / 2, c = !0, h = null, u = !0, r = !0, y = null, d = null, b = !1, x = null, M = t && t.symmetricalTextCentre ? t.symmetricalTextCentre : !1, A = {}, T = t && t.colourScheme ? t.colourScheme : t && t.colorScheme ? t.colorScheme : [
605
+ "#1f77b4",
606
+ "#ff7f0e",
607
+ "#2ca02c",
608
+ "#d62728",
609
+ "#9467bd",
610
+ "#8c564b",
611
+ "#e377c2",
612
+ "#7f7f7f",
613
+ "#bcbd22",
614
+ "#17becf"
615
+ ], S = 0, g = function(p) {
616
+ if (p in A)
617
+ return A[p];
618
+ var f = A[p] = T[S];
619
+ return S += 1, S >= T.length && (S = 0), f;
620
+ }, m = At, v = tt;
621
+ function l(p) {
622
+ let f = p.datum();
623
+ const N = /* @__PURE__ */ new Set();
624
+ f.forEach((k) => {
625
+ k.size == 0 && k.sets.length == 1 && N.add(k.sets[0]);
626
+ }), f = f.filter((k) => !k.sets.some((F) => N.has(F)));
627
+ let I = {}, C = {};
628
+ if (f.length > 0) {
629
+ let k = m(f, { lossFunction: v, distinct: b });
630
+ c && (k = Dt(k, a, d)), I = Nt(k, s, e, i, h), C = jt(I, f, M);
631
+ }
632
+ const U = {};
633
+ f.forEach((k) => {
634
+ k.label && (U[k.sets] = k.label);
635
+ });
636
+ function j(k) {
637
+ if (k.sets in U)
638
+ return U[k.sets];
639
+ if (k.sets.length == 1)
640
+ return "" + k.sets[0];
641
+ }
642
+ p.selectAll("svg").data([I]).enter().append("svg");
643
+ const E = p.select("svg");
644
+ n ? E.attr("viewBox", `0 0 ${s} ${e}`) : E.attr("width", s).attr("height", e);
645
+ const R = {};
646
+ let _ = !1;
647
+ E.selectAll(".venn-area path").each(function(k) {
648
+ const F = this.getAttribute("d");
649
+ k.sets.length == 1 && F && !b && (_ = !0, R[k.sets[0]] = ke(F));
650
+ });
651
+ function P(k) {
652
+ return (F) => {
653
+ const H = k.sets.map((et) => {
654
+ let X = R[et], Z = I[et];
655
+ return X || (X = { x: s / 2, y: e / 2, radius: 1 }), Z || (Z = { x: s / 2, y: e / 2, radius: 1 }), {
656
+ x: X.x * (1 - F) + Z.x * F,
657
+ y: X.y * (1 - F) + Z.y * F,
658
+ radius: X.radius * (1 - F) + Z.radius * F
659
+ };
660
+ });
661
+ return St(H, x);
662
+ };
663
+ }
664
+ const B = E.selectAll(".venn-area").data(f, (k) => k.sets), O = B.enter().append("g").attr(
665
+ "class",
666
+ (k) => `venn-area venn-${k.sets.length == 1 ? "circle" : "intersection"}${k.colour || k.color ? " venn-coloured" : ""}`
667
+ ).attr("data-venn-sets", (k) => k.sets.join("_")), V = O.append("path"), W = O.append("text").attr("class", "label").text((k) => j(k)).attr("text-anchor", "middle").attr("dy", ".35em").attr("x", s / 2).attr("y", e / 2);
668
+ r && (V.style("fill-opacity", "0").filter((k) => k.sets.length == 1).style("fill", (k) => k.colour ? k.colour : k.color ? k.color : g(k.sets)).style("fill-opacity", ".25"), W.style("fill", (k) => k.colour || k.color ? "#FFF" : t.textFill ? t.textFill : k.sets.length == 1 ? g(k.sets) : "#444"));
669
+ function K(k) {
670
+ return typeof k.transition == "function" ? k.transition("venn").duration(o) : k;
671
+ }
672
+ let z = p;
673
+ _ && typeof z.transition == "function" ? (z = K(p), z.selectAll("path").attrTween("d", P)) : z.selectAll("path").attr("d", (k) => St(k.sets.map((F) => I[F])), x);
674
+ const L = z.selectAll("text").filter((k) => k.sets in C).text((k) => j(k)).attr("x", (k) => Math.floor(C[k.sets].x)).attr("y", (k) => Math.floor(C[k.sets].y));
675
+ u && (_ ? "on" in L ? L.on("end", rt(I, j)) : L.each("end", rt(I, j)) : L.each(rt(I, j)));
676
+ const D = K(B.exit()).remove();
677
+ typeof B.transition == "function" && D.selectAll("path").attrTween("d", P);
678
+ const Y = D.selectAll("text").attr("x", s / 2).attr("y", e / 2);
679
+ return y !== null && (W.style("font-size", "0px"), L.style("font-size", y), Y.style("font-size", "0px")), { circles: I, textCentres: C, nodes: B, enter: O, update: z, exit: D };
680
+ }
681
+ return l.wrap = function(p) {
682
+ return arguments.length ? (u = p, l) : u;
683
+ }, l.useViewBox = function() {
684
+ return n = !0, l;
685
+ }, l.width = function(p) {
686
+ return arguments.length ? (s = p, l) : s;
687
+ }, l.height = function(p) {
688
+ return arguments.length ? (e = p, l) : e;
689
+ }, l.padding = function(p) {
690
+ return arguments.length ? (i = p, l) : i;
691
+ }, l.distinct = function(p) {
692
+ return arguments.length ? (b = p, l) : b;
693
+ }, l.colours = function(p) {
694
+ return arguments.length ? (g = p, l) : g;
695
+ }, l.colors = function(p) {
696
+ return arguments.length ? (g = p, l) : g;
697
+ }, l.fontSize = function(p) {
698
+ return arguments.length ? (y = p, l) : y;
699
+ }, l.round = function(p) {
700
+ return arguments.length ? (x = p, l) : x;
701
+ }, l.duration = function(p) {
702
+ return arguments.length ? (o = p, l) : o;
703
+ }, l.layoutFunction = function(p) {
704
+ return arguments.length ? (m = p, l) : m;
705
+ }, l.normalize = function(p) {
706
+ return arguments.length ? (c = p, l) : c;
707
+ }, l.scaleToFit = function(p) {
708
+ return arguments.length ? (h = p, l) : h;
709
+ }, l.styled = function(p) {
710
+ return arguments.length ? (r = p, l) : r;
711
+ }, l.orientation = function(p) {
712
+ return arguments.length ? (a = p, l) : a;
713
+ }, l.orientationOrder = function(p) {
714
+ return arguments.length ? (d = p, l) : d;
715
+ }, l.lossFunction = function(p) {
716
+ return arguments.length ? (v = p === "default" ? tt : p === "logRatio" ? Ct : p, l) : v;
717
+ }, l;
718
+ }
719
+ function rt(t, n) {
720
+ return function(s) {
721
+ const e = this, i = t[s.sets[0]].radius || 50, o = n(s) || "", a = o.split(/\s+/).reverse(), h = (o.length + a.length) / 3;
722
+ let u = a.pop(), r = [u], y = 0;
723
+ const d = 1.1;
724
+ e.textContent = null;
725
+ const b = [];
726
+ function x(g) {
727
+ const m = e.ownerDocument.createElementNS(e.namespaceURI, "tspan");
728
+ return m.textContent = g, b.push(m), e.append(m), m;
729
+ }
730
+ let M = x(u);
731
+ for (; u = a.pop(), !!u; ) {
732
+ r.push(u);
733
+ const g = r.join(" ");
734
+ M.textContent = g, g.length > h && M.getComputedTextLength() > i && (r.pop(), M.textContent = r.join(" "), r = [u], M = x(u), y++);
735
+ }
736
+ const A = 0.35 - y * d / 2, T = e.getAttribute("x"), S = e.getAttribute("y");
737
+ b.forEach((g, m) => {
738
+ g.setAttribute("x", T), g.setAttribute("y", S), g.setAttribute("dy", `${A + m * d}em`);
739
+ });
740
+ };
741
+ }
742
+ function at(t, n, s) {
743
+ let e = n[0].radius - q(n[0], t);
744
+ for (let i = 1; i < n.length; ++i) {
745
+ const o = n[i].radius - q(n[i], t);
746
+ o <= e && (e = o);
747
+ }
748
+ for (let i = 0; i < s.length; ++i) {
749
+ const o = q(s[i], t) - s[i].radius;
750
+ o <= e && (e = o);
751
+ }
752
+ return e;
753
+ }
754
+ function Lt(t, n, s) {
755
+ const e = [];
756
+ for (const r of t)
757
+ e.push({ x: r.x, y: r.y }), e.push({ x: r.x + r.radius / 2, y: r.y }), e.push({ x: r.x - r.radius / 2, y: r.y }), e.push({ x: r.x, y: r.y + r.radius / 2 }), e.push({ x: r.x, y: r.y - r.radius / 2 });
758
+ let i = e[0], o = at(e[0], t, n);
759
+ for (let r = 1; r < e.length; ++r) {
760
+ const y = at(e[r], t, n);
761
+ y >= o && (i = e[r], o = y);
762
+ }
763
+ const a = zt(
764
+ (r) => -1 * at({ x: r[0], y: r[1] }, t, n),
765
+ [i.x, i.y],
766
+ { maxIterations: 500, minErrorDelta: 1e-10 }
767
+ ).x, c = { x: s ? 0 : a[0], y: a[1] };
768
+ let h = !0;
769
+ for (const r of t)
770
+ if (q(c, r) > r.radius) {
771
+ h = !1;
772
+ break;
773
+ }
774
+ for (const r of n)
775
+ if (q(c, r) < r.radius) {
776
+ h = !1;
777
+ break;
778
+ }
779
+ if (h)
780
+ return c;
781
+ if (t.length == 1)
782
+ return { x: t[0].x, y: t[0].y };
783
+ const u = {};
784
+ return st(t, u), u.arcs.length === 0 ? { x: 0, y: -1e3, disjoint: !0 } : u.arcs.length == 1 ? { x: u.arcs[0].circle.x, y: u.arcs[0].circle.y } : n.length ? Lt(t, []) : Et(u.arcs.map((r) => r.p1));
785
+ }
786
+ function ve(t) {
787
+ const n = {}, s = Object.keys(t);
788
+ for (const e of s)
789
+ n[e] = [];
790
+ for (let e = 0; e < s.length; e++) {
791
+ const i = s[e], o = t[i];
792
+ for (let a = e + 1; a < s.length; ++a) {
793
+ const c = s[a], h = t[c], u = q(o, h);
794
+ u + h.radius <= o.radius + 1e-10 ? n[c].push(i) : u + o.radius <= h.radius + 1e-10 && n[i].push(c);
795
+ }
796
+ }
797
+ return n;
798
+ }
799
+ function jt(t, n, s) {
800
+ const e = {}, i = ve(t);
801
+ for (let o = 0; o < n.length; ++o) {
802
+ const a = n[o].sets, c = {}, h = {};
803
+ for (let d = 0; d < a.length; ++d) {
804
+ c[a[d]] = !0;
805
+ const b = i[a[d]];
806
+ for (let x = 0; x < b.length; ++x)
807
+ h[b[x]] = !0;
808
+ }
809
+ const u = [], r = [];
810
+ for (let d in t)
811
+ d in c ? u.push(t[d]) : d in h || r.push(t[d]);
812
+ const y = Lt(u, r, s);
813
+ e[a] = y, y.disjoint && n[o].size > 0 && console.log("WARNING: area " + a + " not represented on screen");
814
+ }
815
+ return e;
816
+ }
817
+ function Ie(t, n, s) {
818
+ const e = [];
819
+ return e.push(`
820
+ M`, t, n), e.push(`
821
+ m`, -s, 0), e.push(`
822
+ a`, s, s, 0, 1, 0, s * 2, 0), e.push(`
823
+ a`, s, s, 0, 1, 0, -s * 2, 0), e.join(" ");
824
+ }
825
+ function ke(t) {
826
+ const n = t.split(" ");
827
+ return { x: Number.parseFloat(n[1]), y: Number.parseFloat(n[2]), radius: -Number.parseFloat(n[4]) };
828
+ }
829
+ function Pt(t) {
830
+ if (t.length === 0)
831
+ return [];
832
+ const n = {};
833
+ return st(t, n), n.arcs;
834
+ }
835
+ function Bt(t, n) {
836
+ if (t.length === 0)
837
+ return "M 0 0";
838
+ const s = Math.pow(10, n || 0), e = n != null ? (o) => Math.round(o * s) / s : (o) => o;
839
+ if (t.length == 1) {
840
+ const o = t[0].circle;
841
+ return Ie(e(o.x), e(o.y), e(o.radius));
842
+ }
843
+ const i = [`
844
+ M`, e(t[0].p2.x), e(t[0].p2.y)];
845
+ for (const o of t) {
846
+ const a = e(o.circle.radius);
847
+ i.push(`
848
+ A`, a, a, 0, o.large ? 1 : 0, o.sweep ? 1 : 0, e(o.p1.x), e(o.p1.y));
849
+ }
850
+ return i.join(" ");
851
+ }
852
+ function St(t, n) {
853
+ return Bt(Pt(t), n);
854
+ }
855
+ function Me(t, n = {}) {
856
+ const {
857
+ lossFunction: s,
858
+ layoutFunction: e = At,
859
+ normalize: i = !0,
860
+ orientation: o = Math.PI / 2,
861
+ orientationOrder: a,
862
+ width: c = 600,
863
+ height: h = 350,
864
+ padding: u = 15,
865
+ scaleToFit: r = !1,
866
+ symmetricalTextCentre: y = !1,
867
+ distinct: d,
868
+ round: b = 2
869
+ } = n;
870
+ let x = e(t, {
871
+ lossFunction: s === "default" || !s ? tt : s === "logRatio" ? Ct : s,
872
+ distinct: d
873
+ });
874
+ i && (x = Dt(x, o, a));
875
+ const M = Nt(x, c, h, u, r), A = jt(M, t, y), T = new Map(
876
+ Object.keys(M).map((m) => [
877
+ m,
878
+ {
879
+ set: m,
880
+ x: M[m].x,
881
+ y: M[m].y,
882
+ radius: M[m].radius
883
+ }
884
+ ])
885
+ ), S = t.map((m) => {
886
+ const v = m.sets.map((f) => T.get(f)), l = Pt(v), p = Bt(l, b);
887
+ return { circles: v, arcs: l, path: p, area: m, has: new Set(m.sets) };
888
+ });
889
+ function g(m) {
890
+ let v = "";
891
+ for (const l of S)
892
+ l.has.size > m.length && m.every((p) => l.has.has(p)) && (v += " " + l.path);
893
+ return v;
894
+ }
895
+ return S.map(({ circles: m, arcs: v, path: l, area: p }) => ({
896
+ data: p,
897
+ text: A[p.sets],
898
+ circles: m,
899
+ arcs: v,
900
+ path: l,
901
+ distinctPath: l + g(p.sets)
902
+ }));
903
+ }
904
+ var gt = (function() {
905
+ var t = /* @__PURE__ */ w(function(S, g, m, v) {
906
+ for (m = m || {}, v = S.length; v--; m[S[v]] = g) ;
907
+ return m;
908
+ }, "o"), n = [5, 8], s = [7, 8, 11, 12, 17, 19, 22, 24], e = [1, 17], i = [1, 18], o = [7, 8, 11, 12, 14, 15, 16, 17, 19, 20, 21, 22, 24, 27], a = [1, 31], c = [1, 39], h = [7, 8, 11, 12, 17, 19, 22, 24, 27], u = [1, 57], r = [1, 56], y = [1, 58], d = [1, 59], b = [1, 60], x = [7, 8, 11, 12, 16, 17, 19, 20, 22, 24, 27, 31, 32, 33], M = {
909
+ trace: /* @__PURE__ */ w(function() {
910
+ }, "trace"),
911
+ yy: {},
912
+ symbols_: { error: 2, start: 3, optNewlines: 4, VENN: 5, document: 6, EOF: 7, NEWLINE: 8, line: 9, statement: 10, TITLE: 11, SET: 12, identifier: 13, BRACKET_LABEL: 14, COLON: 15, NUMERIC: 16, UNION: 17, identifierList: 18, TEXT: 19, IDENTIFIER: 20, STRING: 21, INDENT_TEXT: 22, indentedTextTail: 23, STYLE: 24, stylesOpt: 25, styleField: 26, COMMA: 27, styleValue: 28, valueTokens: 29, valueToken: 30, HEXCOLOR: 31, RGBCOLOR: 32, RGBACOLOR: 33, $accept: 0, $end: 1 },
913
+ terminals_: { 2: "error", 5: "VENN", 7: "EOF", 8: "NEWLINE", 11: "TITLE", 12: "SET", 14: "BRACKET_LABEL", 15: "COLON", 16: "NUMERIC", 17: "UNION", 19: "TEXT", 20: "IDENTIFIER", 21: "STRING", 22: "INDENT_TEXT", 24: "STYLE", 27: "COMMA", 31: "HEXCOLOR", 32: "RGBCOLOR", 33: "RGBACOLOR" },
914
+ productions_: [0, [3, 4], [4, 0], [4, 2], [6, 0], [6, 2], [9, 1], [9, 1], [10, 1], [10, 2], [10, 3], [10, 4], [10, 5], [10, 2], [10, 3], [10, 4], [10, 5], [10, 3], [10, 3], [10, 3], [10, 4], [10, 4], [10, 2], [10, 3], [23, 1], [23, 1], [23, 1], [23, 2], [23, 2], [25, 1], [25, 3], [26, 3], [28, 1], [28, 1], [29, 1], [29, 2], [30, 1], [30, 1], [30, 1], [30, 1], [30, 1], [18, 1], [18, 3], [13, 1], [13, 1]],
915
+ performAction: /* @__PURE__ */ w(function(g, m, v, l, p, f, N) {
916
+ var I = f.length - 1;
917
+ switch (p) {
918
+ case 1:
919
+ return f[I - 1];
920
+ case 2:
921
+ case 3:
922
+ case 4:
923
+ this.$ = [];
924
+ break;
925
+ case 5:
926
+ f[I - 1].push(f[I]), this.$ = f[I - 1];
927
+ break;
928
+ case 6:
929
+ this.$ = [];
930
+ break;
931
+ case 7:
932
+ case 22:
933
+ case 32:
934
+ case 36:
935
+ case 37:
936
+ case 38:
937
+ case 39:
938
+ case 40:
939
+ this.$ = f[I];
940
+ break;
941
+ case 8:
942
+ l.setDiagramTitle(f[I].substr(6)), this.$ = f[I].substr(6);
943
+ break;
944
+ case 9:
945
+ l.addSubsetData([f[I]], void 0, void 0), l.setIndentMode && l.setIndentMode(!0);
946
+ break;
947
+ case 10:
948
+ l.addSubsetData([f[I - 1]], f[I], void 0), l.setIndentMode && l.setIndentMode(!0);
949
+ break;
950
+ case 11:
951
+ l.addSubsetData([f[I - 2]], void 0, parseFloat(f[I])), l.setIndentMode && l.setIndentMode(!0);
952
+ break;
953
+ case 12:
954
+ l.addSubsetData([f[I - 3]], f[I - 2], parseFloat(f[I])), l.setIndentMode && l.setIndentMode(!0);
955
+ break;
956
+ case 13:
957
+ if (f[I].length < 2)
958
+ throw new Error("union requires multiple identifiers");
959
+ l.validateUnionIdentifiers && l.validateUnionIdentifiers(f[I]), l.addSubsetData(f[I], void 0, void 0), l.setIndentMode && l.setIndentMode(!0);
960
+ break;
961
+ case 14:
962
+ if (f[I - 1].length < 2)
963
+ throw new Error("union requires multiple identifiers");
964
+ l.validateUnionIdentifiers && l.validateUnionIdentifiers(f[I - 1]), l.addSubsetData(f[I - 1], f[I], void 0), l.setIndentMode && l.setIndentMode(!0);
965
+ break;
966
+ case 15:
967
+ if (f[I - 2].length < 2)
968
+ throw new Error("union requires multiple identifiers");
969
+ l.validateUnionIdentifiers && l.validateUnionIdentifiers(f[I - 2]), l.addSubsetData(f[I - 2], void 0, parseFloat(f[I])), l.setIndentMode && l.setIndentMode(!0);
970
+ break;
971
+ case 16:
972
+ if (f[I - 3].length < 2)
973
+ throw new Error("union requires multiple identifiers");
974
+ l.validateUnionIdentifiers && l.validateUnionIdentifiers(f[I - 3]), l.addSubsetData(f[I - 3], f[I - 2], parseFloat(f[I])), l.setIndentMode && l.setIndentMode(!0);
975
+ break;
976
+ case 17:
977
+ case 18:
978
+ case 19:
979
+ l.addTextData(f[I - 1], f[I], void 0);
980
+ break;
981
+ case 20:
982
+ case 21:
983
+ l.addTextData(f[I - 2], f[I - 1], f[I]);
984
+ break;
985
+ case 23:
986
+ l.addStyleData(f[I - 1], f[I]);
987
+ break;
988
+ case 24:
989
+ case 25:
990
+ case 26:
991
+ var C = l.getCurrentSets();
992
+ if (!C) throw new Error("text requires set");
993
+ l.addTextData(C, f[I], void 0);
994
+ break;
995
+ case 27:
996
+ case 28:
997
+ var C = l.getCurrentSets();
998
+ if (!C) throw new Error("text requires set");
999
+ l.addTextData(C, f[I - 1], f[I]);
1000
+ break;
1001
+ case 29:
1002
+ case 41:
1003
+ this.$ = [f[I]];
1004
+ break;
1005
+ case 30:
1006
+ case 42:
1007
+ this.$ = [...f[I - 2], f[I]];
1008
+ break;
1009
+ case 31:
1010
+ this.$ = [f[I - 2], f[I]];
1011
+ break;
1012
+ case 33:
1013
+ this.$ = f[I].join(" ");
1014
+ break;
1015
+ case 34:
1016
+ this.$ = [f[I]];
1017
+ break;
1018
+ case 35:
1019
+ f[I - 1].push(f[I]), this.$ = f[I - 1];
1020
+ break;
1021
+ case 43:
1022
+ case 44:
1023
+ this.$ = f[I];
1024
+ break;
1025
+ }
1026
+ }, "anonymous"),
1027
+ table: [t(n, [2, 2], { 3: 1, 4: 2 }), { 1: [3] }, { 5: [1, 3], 8: [1, 4] }, t(s, [2, 4], { 6: 5 }), t(n, [2, 3]), { 7: [1, 6], 8: [1, 8], 9: 7, 10: 9, 11: [1, 10], 12: [1, 11], 17: [1, 12], 19: [1, 13], 22: [1, 14], 24: [1, 15] }, { 1: [2, 1] }, t(s, [2, 5]), t(s, [2, 6]), t(s, [2, 7]), t(s, [2, 8]), { 13: 16, 20: e, 21: i }, { 13: 20, 18: 19, 20: e, 21: i }, { 13: 20, 18: 21, 20: e, 21: i }, { 16: [1, 25], 20: [1, 23], 21: [1, 24], 23: 22 }, { 13: 20, 18: 26, 20: e, 21: i }, t(s, [2, 9], { 14: [1, 27], 15: [1, 28] }), t(o, [2, 43]), t(o, [2, 44]), t(s, [2, 13], { 14: [1, 29], 15: [1, 30], 27: a }), t(o, [2, 41]), { 16: [1, 34], 20: [1, 32], 21: [1, 33], 27: a }, t(s, [2, 22]), t(s, [2, 24], { 14: [1, 35] }), t(s, [2, 25], { 14: [1, 36] }), t(s, [2, 26]), { 20: c, 25: 37, 26: 38, 27: a }, t(s, [2, 10], { 15: [1, 40] }), { 16: [1, 41] }, t(s, [2, 14], { 15: [1, 42] }), { 16: [1, 43] }, { 13: 44, 20: e, 21: i }, t(s, [2, 17], { 14: [1, 45] }), t(s, [2, 18], { 14: [1, 46] }), t(s, [2, 19]), t(s, [2, 27]), t(s, [2, 28]), t(s, [2, 23], { 27: [1, 47] }), t(h, [2, 29]), { 15: [1, 48] }, { 16: [1, 49] }, t(s, [2, 11]), { 16: [1, 50] }, t(s, [2, 15]), t(o, [2, 42]), t(s, [2, 20]), t(s, [2, 21]), { 20: c, 26: 51 }, { 16: u, 20: r, 21: [1, 53], 28: 52, 29: 54, 30: 55, 31: y, 32: d, 33: b }, t(s, [2, 12]), t(s, [2, 16]), t(h, [2, 30]), t(h, [2, 31]), t(h, [2, 32]), t(h, [2, 33], { 30: 61, 16: u, 20: r, 31: y, 32: d, 33: b }), t(x, [2, 34]), t(x, [2, 36]), t(x, [2, 37]), t(x, [2, 38]), t(x, [2, 39]), t(x, [2, 40]), t(x, [2, 35])],
1028
+ defaultActions: { 6: [2, 1] },
1029
+ parseError: /* @__PURE__ */ w(function(g, m) {
1030
+ if (m.recoverable)
1031
+ this.trace(g);
1032
+ else {
1033
+ var v = new Error(g);
1034
+ throw v.hash = m, v;
1035
+ }
1036
+ }, "parseError"),
1037
+ parse: /* @__PURE__ */ w(function(g) {
1038
+ var m = this, v = [0], l = [], p = [null], f = [], N = this.table, I = "", C = 0, U = 0, j = 2, E = 1, R = f.slice.call(arguments, 1), _ = Object.create(this.lexer), P = { yy: {} };
1039
+ for (var B in this.yy)
1040
+ Object.prototype.hasOwnProperty.call(this.yy, B) && (P.yy[B] = this.yy[B]);
1041
+ _.setInput(g, P.yy), P.yy.lexer = _, P.yy.parser = this, typeof _.yylloc > "u" && (_.yylloc = {});
1042
+ var O = _.yylloc;
1043
+ f.push(O);
1044
+ var V = _.options && _.options.ranges;
1045
+ typeof P.yy.parseError == "function" ? this.parseError = P.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1046
+ function W(G) {
1047
+ v.length = v.length - 2 * G, p.length = p.length - G, f.length = f.length - G;
1048
+ }
1049
+ w(W, "popStack");
1050
+ function K() {
1051
+ var G;
1052
+ return G = l.pop() || _.lex() || E, typeof G != "number" && (G instanceof Array && (l = G, G = l.pop()), G = m.symbols_[G] || G), G;
1053
+ }
1054
+ w(K, "lex");
1055
+ for (var z, L, D, Y, k = {}, F, H, et, X; ; ) {
1056
+ if (L = v[v.length - 1], this.defaultActions[L] ? D = this.defaultActions[L] : ((z === null || typeof z > "u") && (z = K()), D = N[L] && N[L][z]), typeof D > "u" || !D.length || !D[0]) {
1057
+ var Z = "";
1058
+ X = [];
1059
+ for (F in N[L])
1060
+ this.terminals_[F] && F > j && X.push("'" + this.terminals_[F] + "'");
1061
+ _.showPosition ? Z = "Parse error on line " + (C + 1) + `:
1062
+ ` + _.showPosition() + `
1063
+ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[z] || z) + "'" : Z = "Parse error on line " + (C + 1) + ": Unexpected " + (z == E ? "end of input" : "'" + (this.terminals_[z] || z) + "'"), this.parseError(Z, {
1064
+ text: _.match,
1065
+ token: this.terminals_[z] || z,
1066
+ line: _.yylineno,
1067
+ loc: O,
1068
+ expected: X
1069
+ });
1070
+ }
1071
+ if (D[0] instanceof Array && D.length > 1)
1072
+ throw new Error("Parse Error: multiple actions possible at state: " + L + ", token: " + z);
1073
+ switch (D[0]) {
1074
+ case 1:
1075
+ v.push(z), p.push(_.yytext), f.push(_.yylloc), v.push(D[1]), z = null, U = _.yyleng, I = _.yytext, C = _.yylineno, O = _.yylloc;
1076
+ break;
1077
+ case 2:
1078
+ if (H = this.productions_[D[1]][1], k.$ = p[p.length - H], k._$ = {
1079
+ first_line: f[f.length - (H || 1)].first_line,
1080
+ last_line: f[f.length - 1].last_line,
1081
+ first_column: f[f.length - (H || 1)].first_column,
1082
+ last_column: f[f.length - 1].last_column
1083
+ }, V && (k._$.range = [
1084
+ f[f.length - (H || 1)].range[0],
1085
+ f[f.length - 1].range[1]
1086
+ ]), Y = this.performAction.apply(k, [
1087
+ I,
1088
+ U,
1089
+ C,
1090
+ P.yy,
1091
+ D[1],
1092
+ p,
1093
+ f
1094
+ ].concat(R)), typeof Y < "u")
1095
+ return Y;
1096
+ H && (v = v.slice(0, -1 * H * 2), p = p.slice(0, -1 * H), f = f.slice(0, -1 * H)), v.push(this.productions_[D[1]][0]), p.push(k.$), f.push(k._$), et = N[v[v.length - 2]][v[v.length - 1]], v.push(et);
1097
+ break;
1098
+ case 3:
1099
+ return !0;
1100
+ }
1101
+ }
1102
+ return !0;
1103
+ }, "parse")
1104
+ }, A = /* @__PURE__ */ (function() {
1105
+ var S = {
1106
+ EOF: 1,
1107
+ parseError: /* @__PURE__ */ w(function(m, v) {
1108
+ if (this.yy.parser)
1109
+ this.yy.parser.parseError(m, v);
1110
+ else
1111
+ throw new Error(m);
1112
+ }, "parseError"),
1113
+ // resets the lexer, sets new input
1114
+ setInput: /* @__PURE__ */ w(function(g, m) {
1115
+ return this.yy = m || this.yy || {}, this._input = g, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1116
+ first_line: 1,
1117
+ first_column: 0,
1118
+ last_line: 1,
1119
+ last_column: 0
1120
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1121
+ }, "setInput"),
1122
+ // consumes and returns one char from the input
1123
+ input: /* @__PURE__ */ w(function() {
1124
+ var g = this._input[0];
1125
+ this.yytext += g, this.yyleng++, this.offset++, this.match += g, this.matched += g;
1126
+ var m = g.match(/(?:\r\n?|\n).*/g);
1127
+ return m ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), g;
1128
+ }, "input"),
1129
+ // unshifts one char (or a string) into the input
1130
+ unput: /* @__PURE__ */ w(function(g) {
1131
+ var m = g.length, v = g.split(/(?:\r\n?|\n)/g);
1132
+ this._input = g + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - m), this.offset -= m;
1133
+ var l = this.match.split(/(?:\r\n?|\n)/g);
1134
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), v.length - 1 && (this.yylineno -= v.length - 1);
1135
+ var p = this.yylloc.range;
1136
+ return this.yylloc = {
1137
+ first_line: this.yylloc.first_line,
1138
+ last_line: this.yylineno + 1,
1139
+ first_column: this.yylloc.first_column,
1140
+ last_column: v ? (v.length === l.length ? this.yylloc.first_column : 0) + l[l.length - v.length].length - v[0].length : this.yylloc.first_column - m
1141
+ }, this.options.ranges && (this.yylloc.range = [p[0], p[0] + this.yyleng - m]), this.yyleng = this.yytext.length, this;
1142
+ }, "unput"),
1143
+ // When called from action, caches matched text and appends it on next action
1144
+ more: /* @__PURE__ */ w(function() {
1145
+ return this._more = !0, this;
1146
+ }, "more"),
1147
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
1148
+ reject: /* @__PURE__ */ w(function() {
1149
+ if (this.options.backtrack_lexer)
1150
+ this._backtrack = !0;
1151
+ else
1152
+ 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).
1153
+ ` + this.showPosition(), {
1154
+ text: "",
1155
+ token: null,
1156
+ line: this.yylineno
1157
+ });
1158
+ return this;
1159
+ }, "reject"),
1160
+ // retain first n characters of the match
1161
+ less: /* @__PURE__ */ w(function(g) {
1162
+ this.unput(this.match.slice(g));
1163
+ }, "less"),
1164
+ // displays already matched input, i.e. for error messages
1165
+ pastInput: /* @__PURE__ */ w(function() {
1166
+ var g = this.matched.substr(0, this.matched.length - this.match.length);
1167
+ return (g.length > 20 ? "..." : "") + g.substr(-20).replace(/\n/g, "");
1168
+ }, "pastInput"),
1169
+ // displays upcoming input, i.e. for error messages
1170
+ upcomingInput: /* @__PURE__ */ w(function() {
1171
+ var g = this.match;
1172
+ return g.length < 20 && (g += this._input.substr(0, 20 - g.length)), (g.substr(0, 20) + (g.length > 20 ? "..." : "")).replace(/\n/g, "");
1173
+ }, "upcomingInput"),
1174
+ // displays the character position where the lexing error occurred, i.e. for error messages
1175
+ showPosition: /* @__PURE__ */ w(function() {
1176
+ var g = this.pastInput(), m = new Array(g.length + 1).join("-");
1177
+ return g + this.upcomingInput() + `
1178
+ ` + m + "^";
1179
+ }, "showPosition"),
1180
+ // test the lexed token: return FALSE when not a match, otherwise return token
1181
+ test_match: /* @__PURE__ */ w(function(g, m) {
1182
+ var v, l, p;
1183
+ if (this.options.backtrack_lexer && (p = {
1184
+ yylineno: this.yylineno,
1185
+ yylloc: {
1186
+ first_line: this.yylloc.first_line,
1187
+ last_line: this.last_line,
1188
+ first_column: this.yylloc.first_column,
1189
+ last_column: this.yylloc.last_column
1190
+ },
1191
+ yytext: this.yytext,
1192
+ match: this.match,
1193
+ matches: this.matches,
1194
+ matched: this.matched,
1195
+ yyleng: this.yyleng,
1196
+ offset: this.offset,
1197
+ _more: this._more,
1198
+ _input: this._input,
1199
+ yy: this.yy,
1200
+ conditionStack: this.conditionStack.slice(0),
1201
+ done: this.done
1202
+ }, this.options.ranges && (p.yylloc.range = this.yylloc.range.slice(0))), l = g[0].match(/(?:\r\n?|\n).*/g), l && (this.yylineno += l.length), this.yylloc = {
1203
+ first_line: this.yylloc.last_line,
1204
+ last_line: this.yylineno + 1,
1205
+ first_column: this.yylloc.last_column,
1206
+ last_column: l ? l[l.length - 1].length - l[l.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + g[0].length
1207
+ }, this.yytext += g[0], this.match += g[0], this.matches = g, 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(g[0].length), this.matched += g[0], v = this.performAction.call(this, this.yy, this, m, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), v)
1208
+ return v;
1209
+ if (this._backtrack) {
1210
+ for (var f in p)
1211
+ this[f] = p[f];
1212
+ return !1;
1213
+ }
1214
+ return !1;
1215
+ }, "test_match"),
1216
+ // return next match in input
1217
+ next: /* @__PURE__ */ w(function() {
1218
+ if (this.done)
1219
+ return this.EOF;
1220
+ this._input || (this.done = !0);
1221
+ var g, m, v, l;
1222
+ this._more || (this.yytext = "", this.match = "");
1223
+ for (var p = this._currentRules(), f = 0; f < p.length; f++)
1224
+ if (v = this._input.match(this.rules[p[f]]), v && (!m || v[0].length > m[0].length)) {
1225
+ if (m = v, l = f, this.options.backtrack_lexer) {
1226
+ if (g = this.test_match(v, p[f]), g !== !1)
1227
+ return g;
1228
+ if (this._backtrack) {
1229
+ m = !1;
1230
+ continue;
1231
+ } else
1232
+ return !1;
1233
+ } else if (!this.options.flex)
1234
+ break;
1235
+ }
1236
+ return m ? (g = this.test_match(m, p[l]), g !== !1 ? g : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
1237
+ ` + this.showPosition(), {
1238
+ text: "",
1239
+ token: null,
1240
+ line: this.yylineno
1241
+ });
1242
+ }, "next"),
1243
+ // return next match that has a token
1244
+ lex: /* @__PURE__ */ w(function() {
1245
+ var m = this.next();
1246
+ return m || this.lex();
1247
+ }, "lex"),
1248
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
1249
+ begin: /* @__PURE__ */ w(function(m) {
1250
+ this.conditionStack.push(m);
1251
+ }, "begin"),
1252
+ // pop the previously active lexer condition state off the condition stack
1253
+ popState: /* @__PURE__ */ w(function() {
1254
+ var m = this.conditionStack.length - 1;
1255
+ return m > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1256
+ }, "popState"),
1257
+ // produce the lexer rule set which is active for the currently active lexer condition state
1258
+ _currentRules: /* @__PURE__ */ w(function() {
1259
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1260
+ }, "_currentRules"),
1261
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
1262
+ topState: /* @__PURE__ */ w(function(m) {
1263
+ return m = this.conditionStack.length - 1 - Math.abs(m || 0), m >= 0 ? this.conditionStack[m] : "INITIAL";
1264
+ }, "topState"),
1265
+ // alias for begin(condition)
1266
+ pushState: /* @__PURE__ */ w(function(m) {
1267
+ this.begin(m);
1268
+ }, "pushState"),
1269
+ // return the number of states currently on the stack
1270
+ stateStackSize: /* @__PURE__ */ w(function() {
1271
+ return this.conditionStack.length;
1272
+ }, "stateStackSize"),
1273
+ options: { "case-insensitive": !0 },
1274
+ performAction: /* @__PURE__ */ w(function(m, v, l, p) {
1275
+ switch (l) {
1276
+ case 0:
1277
+ break;
1278
+ case 1:
1279
+ break;
1280
+ case 2:
1281
+ break;
1282
+ case 3:
1283
+ if (m.getIndentMode && m.getIndentMode())
1284
+ return m.consumeIndentText = !0, this.begin("INITIAL"), 22;
1285
+ break;
1286
+ case 4:
1287
+ break;
1288
+ case 5:
1289
+ m.setIndentMode && m.setIndentMode(!1), this.begin("INITIAL"), this.unput(v.yytext);
1290
+ break;
1291
+ case 6:
1292
+ return this.begin("bol"), 8;
1293
+ case 7:
1294
+ break;
1295
+ case 8:
1296
+ break;
1297
+ case 9:
1298
+ return 7;
1299
+ case 10:
1300
+ return 11;
1301
+ case 11:
1302
+ return 5;
1303
+ case 12:
1304
+ return 12;
1305
+ case 13:
1306
+ return 17;
1307
+ case 14:
1308
+ if (m.consumeIndentText)
1309
+ m.consumeIndentText = !1;
1310
+ else
1311
+ return 19;
1312
+ break;
1313
+ case 15:
1314
+ return 24;
1315
+ case 16:
1316
+ return v.yytext = v.yytext.slice(2, -2), 14;
1317
+ case 17:
1318
+ return v.yytext = v.yytext.slice(1, -1).trim(), 14;
1319
+ case 18:
1320
+ return 16;
1321
+ case 19:
1322
+ return 31;
1323
+ case 20:
1324
+ return 33;
1325
+ case 21:
1326
+ return 32;
1327
+ case 22:
1328
+ return 20;
1329
+ case 23:
1330
+ return 21;
1331
+ case 24:
1332
+ return 27;
1333
+ case 25:
1334
+ return 15;
1335
+ }
1336
+ }, "anonymous"),
1337
+ rules: [/^(?:%%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[ \t]+(?=[\n\r]))/i, /^(?:[ \t]+(?=text\b))/i, /^(?:[ \t]+)/i, /^(?:[^ \t\n\r])/i, /^(?:[\n\r]+)/i, /^(?:%%[^\n]*)/i, /^(?:[ \t]+)/i, /^(?:$)/i, /^(?:title\s[^#\n;]+)/i, /^(?:venn-beta\b)/i, /^(?:set\b)/i, /^(?:union\b)/i, /^(?:text\b)/i, /^(?:style\b)/i, /^(?:\["[^\"]*"\])/i, /^(?:\[[^\]\"]+\])/i, /^(?:[+-]?(\d+(\.\d+)?|\.\d+))/i, /^(?:#[0-9a-fA-F]{3,8})/i, /^(?:rgba\(\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*\))/i, /^(?:rgb\(\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*\))/i, /^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i, /^(?:"[^\"]*")/i, /^(?:,)/i, /^(?::)/i],
1338
+ conditions: { bol: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25], inclusive: !0 }, INITIAL: { rules: [0, 1, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25], inclusive: !0 } }
1339
+ };
1340
+ return S;
1341
+ })();
1342
+ M.lexer = A;
1343
+ function T() {
1344
+ this.yy = {};
1345
+ }
1346
+ return w(T, "Parser"), T.prototype = M, M.Parser = T, new T();
1347
+ })();
1348
+ gt.parser = gt;
1349
+ var Se = gt, yt = [], pt = [], mt = [], bt = /* @__PURE__ */ new Set(), vt, It = !1, we = /* @__PURE__ */ w((t, n, s) => {
1350
+ const e = it(t).sort(), i = s ?? 10 / Math.pow(t.length, 2);
1351
+ vt = e, e.length === 1 && bt.add(e[0]), yt.push({
1352
+ sets: e,
1353
+ size: i,
1354
+ label: n ? nt(n) : void 0
1355
+ });
1356
+ }, "addSubsetData"), _e = /* @__PURE__ */ w(() => yt, "getSubsetData"), nt = /* @__PURE__ */ w((t) => {
1357
+ const n = t.trim();
1358
+ return n.length >= 2 && n.startsWith('"') && n.endsWith('"') ? n.slice(1, -1) : n;
1359
+ }, "normalizeText"), Te = /* @__PURE__ */ w((t) => t && nt(t), "normalizeStyleValue"), Ee = /* @__PURE__ */ w((t, n, s) => {
1360
+ const e = nt(n);
1361
+ pt.push({
1362
+ sets: it(t).sort(),
1363
+ id: e,
1364
+ label: s ? nt(s) : void 0
1365
+ });
1366
+ }, "addTextData"), ze = /* @__PURE__ */ w((t, n) => {
1367
+ const s = it(t).sort(), e = {};
1368
+ for (const [i, o] of n)
1369
+ e[i] = Te(o) ?? o;
1370
+ mt.push({ targets: s, styles: e });
1371
+ }, "addStyleData"), Ae = /* @__PURE__ */ w(() => mt, "getStyleData"), it = /* @__PURE__ */ w((t) => t.map((n) => nt(n)), "normalizeIdentifierList"), Re = /* @__PURE__ */ w((t) => {
1372
+ const s = it(t).filter((e) => !bt.has(e));
1373
+ if (s.length > 0)
1374
+ throw new Error(`unknown set identifier: ${s.join(", ")}`);
1375
+ }, "validateUnionIdentifiers"), Ce = /* @__PURE__ */ w(() => pt, "getTextData"), De = /* @__PURE__ */ w(() => vt, "getCurrentSets"), Ne = /* @__PURE__ */ w(() => It, "getIndentMode"), Oe = /* @__PURE__ */ w((t) => {
1376
+ It = t;
1377
+ }, "setIndentMode"), Fe = oe.venn;
1378
+ function Vt() {
1379
+ return ie(Fe, wt().venn);
1380
+ }
1381
+ w(Vt, "getConfig");
1382
+ var Le = /* @__PURE__ */ w(() => {
1383
+ se(), yt.length = 0, pt.length = 0, mt.length = 0, bt.clear(), vt = void 0, It = !1;
1384
+ }, "customClear"), je = {
1385
+ getConfig: Vt,
1386
+ clear: Le,
1387
+ setAccTitle: Zt,
1388
+ getAccTitle: Yt,
1389
+ setDiagramTitle: Xt,
1390
+ getDiagramTitle: Ht,
1391
+ getAccDescription: Kt,
1392
+ setAccDescription: Wt,
1393
+ addSubsetData: we,
1394
+ getSubsetData: _e,
1395
+ addTextData: Ee,
1396
+ addStyleData: ze,
1397
+ validateUnionIdentifiers: Re,
1398
+ getTextData: Ce,
1399
+ getStyleData: Ae,
1400
+ getCurrentSets: De,
1401
+ getIndentMode: Ne,
1402
+ setIndentMode: Oe
1403
+ }, Pe = /* @__PURE__ */ w((t) => `
1404
+ .venn-title {
1405
+ font-size: 32px;
1406
+ fill: ${t.vennTitleTextColor};
1407
+ font-family: ${t.fontFamily};
1408
+ }
1409
+
1410
+ .venn-circle text {
1411
+ font-size: 48px;
1412
+ font-family: ${t.fontFamily};
1413
+ }
1414
+
1415
+ .venn-intersection text {
1416
+ font-size: 48px;
1417
+ fill: ${t.vennSetTextColor};
1418
+ font-family: ${t.fontFamily};
1419
+ }
1420
+
1421
+ .venn-text-node {
1422
+ font-family: ${t.fontFamily};
1423
+ color: ${t.vennSetTextColor};
1424
+ }
1425
+ `, "getStyles"), Be = Pe;
1426
+ function qt(t) {
1427
+ const n = /* @__PURE__ */ new Map();
1428
+ for (const s of t) {
1429
+ const e = s.targets.join("|"), i = n.get(e);
1430
+ i ? Object.assign(i, s.styles) : n.set(e, { ...s.styles });
1431
+ }
1432
+ return n;
1433
+ }
1434
+ w(qt, "buildStyleByKey");
1435
+ var Ve = /* @__PURE__ */ w((t, n, s, e) => {
1436
+ const i = e.db, o = i.getConfig?.(), { themeVariables: a, look: c, handDrawnSeed: h } = wt(), u = c === "handDrawn", r = [
1437
+ a.venn1,
1438
+ a.venn2,
1439
+ a.venn3,
1440
+ a.venn4,
1441
+ a.venn5,
1442
+ a.venn6,
1443
+ a.venn7,
1444
+ a.venn8
1445
+ ].filter(Boolean), y = i.getDiagramTitle?.(), d = i.getSubsetData(), b = i.getTextData(), x = qt(i.getStyleData()), M = o?.width ?? 800, A = o?.height ?? 450, S = M / 1600, g = y ? 48 * S : 0, m = a.primaryTextColor ?? a.textColor, v = Jt(n);
1446
+ v.attr("viewBox", `0 0 ${M} ${A}`), y && v.append("text").text(y).attr("class", "venn-title").attr("font-size", `${32 * S}px`).attr("text-anchor", "middle").attr("dominant-baseline", "middle").attr("x", "50%").attr("y", 32 * S).style("fill", a.vennTitleTextColor || a.titleColor);
1447
+ const l = ot(document.createElement("div")), p = be().width(M).height(A - g);
1448
+ l.datum(d).call(p);
1449
+ const f = u ? Qt.svg(l.select("svg").node()) : void 0, N = Me(d, {
1450
+ width: M,
1451
+ height: A - g,
1452
+ padding: o?.padding ?? 15
1453
+ }), I = /* @__PURE__ */ new Map();
1454
+ for (const E of N) {
1455
+ const R = Q([...E.data.sets].sort());
1456
+ I.set(R, E);
1457
+ }
1458
+ b.length > 0 && Ut(o, I, l, b, S, x);
1459
+ const C = $t(a.background || "#f4f4f4");
1460
+ l.selectAll(".venn-circle").each(function(E, R) {
1461
+ const _ = ot(this), B = Q([...E.sets].sort()), O = x.get(B), V = O?.fill || r[R % r.length] || a.primaryColor;
1462
+ _.classed(`venn-set-${R % 8}`, !0);
1463
+ const W = O?.["fill-opacity"] ?? 0.1, K = O?.stroke || V, z = O?.["stroke-width"] || `${5 * S}`;
1464
+ if (u && f) {
1465
+ const D = I.get(B);
1466
+ if (D && D.circles.length > 0) {
1467
+ const Y = D.circles[0], k = f.circle(Y.x, Y.y, Y.radius * 2, {
1468
+ roughness: 0.7,
1469
+ seed: h,
1470
+ fill: kt(V, 0.7),
1471
+ fillStyle: "hachure",
1472
+ fillWeight: 2,
1473
+ hachureGap: 8,
1474
+ hachureAngle: -41 + R * 60,
1475
+ stroke: K,
1476
+ strokeWidth: parseFloat(String(z))
1477
+ });
1478
+ _.select("path").remove(), _.node()?.insertBefore(k, _.select("text").node());
1479
+ }
1480
+ } else
1481
+ _.select("path").style("fill", V).style("fill-opacity", W).style("stroke", K).style("stroke-width", z).style("stroke-opacity", 0.95);
1482
+ const L = O?.color || (C ? te(V, 30) : ee(V, 30));
1483
+ _.select("text").style("font-size", `${48 * S}px`).style("fill", L);
1484
+ }), u && f ? l.selectAll(".venn-intersection").each(function(E) {
1485
+ const R = ot(this), P = Q([...E.sets].sort()), B = x.get(P), O = B?.fill;
1486
+ if (O) {
1487
+ const V = R.select("path"), W = V.attr("d");
1488
+ if (W) {
1489
+ const K = f.path(W, {
1490
+ roughness: 0.7,
1491
+ seed: h,
1492
+ fill: kt(O, 0.3),
1493
+ fillStyle: "cross-hatch",
1494
+ fillWeight: 2,
1495
+ hachureGap: 6,
1496
+ hachureAngle: 60,
1497
+ stroke: "none"
1498
+ }), z = V.node();
1499
+ z?.parentNode?.insertBefore(K, z), V.remove();
1500
+ }
1501
+ } else
1502
+ R.select("path").style("fill-opacity", 0);
1503
+ R.select("text").style("font-size", `${48 * S}px`).style("fill", B?.color ?? a.vennSetTextColor ?? m);
1504
+ }) : (l.selectAll(".venn-intersection text").style("font-size", `${48 * S}px`).style("fill", (E) => {
1505
+ const _ = Q([...E.sets].sort());
1506
+ return x.get(_)?.color ?? a.vennSetTextColor ?? m;
1507
+ }), l.selectAll(".venn-intersection path").style("fill-opacity", (E) => {
1508
+ const _ = Q([...E.sets].sort());
1509
+ return x.get(_)?.fill ? 1 : 0;
1510
+ }).style("fill", (E) => {
1511
+ const _ = Q([...E.sets].sort());
1512
+ return x.get(_)?.fill ?? "transparent";
1513
+ }));
1514
+ const U = v.append("g").attr("transform", `translate(0, ${g})`), j = l.select("svg").node();
1515
+ if (j && "childNodes" in j)
1516
+ for (const E of [...j.childNodes])
1517
+ U.node()?.appendChild(E);
1518
+ ne(v, A, M, o?.useMaxWidth ?? !0);
1519
+ }, "draw");
1520
+ function Q(t) {
1521
+ return t.join("|");
1522
+ }
1523
+ w(Q, "stableSetsKey");
1524
+ function Ut(t, n, s, e, i, o) {
1525
+ const a = t?.useDebugLayout ?? !1, h = s.select("svg").append("g").attr("class", "venn-text-nodes"), u = /* @__PURE__ */ new Map();
1526
+ for (const r of e) {
1527
+ const y = Q(r.sets), d = u.get(y);
1528
+ d ? d.push(r) : u.set(y, [r]);
1529
+ }
1530
+ for (const [r, y] of u.entries()) {
1531
+ const d = n.get(r);
1532
+ if (!d?.text)
1533
+ continue;
1534
+ const b = d.text.x, x = d.text.y, M = Math.min(...d.circles.map((E) => E.radius)), A = Math.min(
1535
+ ...d.circles.map((E) => E.radius - Math.hypot(b - E.x, x - E.y))
1536
+ );
1537
+ let T = Number.isFinite(A) ? Math.max(0, A) : 0;
1538
+ T === 0 && Number.isFinite(M) && (T = M * 0.6);
1539
+ const S = h.append("g").attr("class", "venn-text-area").attr("font-size", `${40 * i}px`);
1540
+ a && S.append("circle").attr("class", "venn-text-debug-circle").attr("cx", b).attr("cy", x).attr("r", T).attr("fill", "none").attr("stroke", "purple").attr("stroke-width", 1.5 * i).attr("stroke-dasharray", `${6 * i} ${4 * i}`);
1541
+ const g = Math.max(80 * i, T * 2 * 0.95), m = Math.max(60 * i, T * 2 * 0.95), p = (d.data.label && d.data.label.length > 0 ? Math.min(32 * i, T * 0.25) : 0) + (y.length <= 2 ? 30 * i : 0), f = b - g / 2, N = x - m / 2 + p, I = Math.max(1, Math.ceil(Math.sqrt(y.length))), C = Math.max(1, Math.ceil(y.length / I)), U = g / I, j = m / C;
1542
+ for (const [E, R] of y.entries()) {
1543
+ const _ = E % I, P = Math.floor(E / I), B = f + U * (_ + 0.5), O = N + j * (P + 0.5);
1544
+ a && S.append("rect").attr("class", "venn-text-debug-cell").attr("x", f + U * _).attr("y", N + j * P).attr("width", U).attr("height", j).attr("fill", "none").attr("stroke", "teal").attr("stroke-width", 1 * i).attr("stroke-dasharray", `${4 * i} ${3 * i}`);
1545
+ const V = U * 0.9, W = j * 0.9, K = S.append("foreignObject").attr("class", "venn-text-node-fo").attr("width", V).attr("height", W).attr("x", B - V / 2).attr("y", O - W / 2).attr("overflow", "visible"), z = o.get(R.id)?.color, L = K.append("xhtml:span").attr("class", "venn-text-node").style("display", "flex").style("width", "100%").style("height", "100%").style("white-space", "normal").style("align-items", "center").style("justify-content", "center").style("text-align", "center").style("overflow-wrap", "normal").style("word-break", "normal").text(R.label ?? R.id);
1546
+ z && L.style("color", z);
1547
+ }
1548
+ }
1549
+ }
1550
+ w(Ut, "renderTextNodes");
1551
+ var qe = { draw: Ve }, Ge = {
1552
+ parser: Se,
1553
+ db: je,
1554
+ renderer: qe,
1555
+ styles: Be
1556
+ };
1557
+ export {
1558
+ Ge as diagram
1559
+ };
1560
+ //# sourceMappingURL=vennDiagram-CIIHVFJN-CVh3weJ2.js.map