ompchamber 0.3.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 (938) hide show
  1. package/README.md +253 -0
  2. package/dist/client/apple-touch-icon.png +0 -0
  3. package/dist/client/icon-192x192.png +0 -0
  4. package/dist/client/icon-512x512.png +0 -0
  5. package/dist/client/icon-maskable-512x512.png +0 -0
  6. package/dist/client/icon.svg +60 -0
  7. package/dist/client/index.html +41 -0
  8. package/dist/client/manifest.webmanifest +38 -0
  9. package/dist/client/static/css/g.f36aa429fa.css +1 -0
  10. package/dist/client/static/css/index.a0f07455bd.css +2 -0
  11. package/dist/client/static/css/katex-vendor.ca3a0600e8.css +1 -0
  12. package/dist/client/static/font/KaTeX_AMS-Regular.1608a09b4a.woff +0 -0
  13. package/dist/client/static/font/KaTeX_AMS-Regular.4aafdb685c.ttf +0 -0
  14. package/dist/client/static/font/KaTeX_AMS-Regular.a79f1c3119.woff2 +0 -0
  15. package/dist/client/static/font/KaTeX_Caligraphic-Bold.b67709187b.woff +0 -0
  16. package/dist/client/static/font/KaTeX_Caligraphic-Bold.cce5b8ecea.ttf +0 -0
  17. package/dist/client/static/font/KaTeX_Caligraphic-Bold.ec17d13264.woff2 +0 -0
  18. package/dist/client/static/font/KaTeX_Caligraphic-Regular.07ef19e7b0.ttf +0 -0
  19. package/dist/client/static/font/KaTeX_Caligraphic-Regular.55fac25845.woff2 +0 -0
  20. package/dist/client/static/font/KaTeX_Caligraphic-Regular.dad44a7fc6.woff +0 -0
  21. package/dist/client/static/font/KaTeX_Fraktur-Bold.9f256b8593.woff +0 -0
  22. package/dist/client/static/font/KaTeX_Fraktur-Bold.b18f59e1d1.ttf +0 -0
  23. package/dist/client/static/font/KaTeX_Fraktur-Bold.d42a5579b0.woff2 +0 -0
  24. package/dist/client/static/font/KaTeX_Fraktur-Regular.7c1871215e.woff +0 -0
  25. package/dist/client/static/font/KaTeX_Fraktur-Regular.d3c882a649.woff2 +0 -0
  26. package/dist/client/static/font/KaTeX_Fraktur-Regular.ed38e79f57.ttf +0 -0
  27. package/dist/client/static/font/KaTeX_Main-Bold.b74a1a8b2c.ttf +0 -0
  28. package/dist/client/static/font/KaTeX_Main-Bold.c3fb5ac22f.woff2 +0 -0
  29. package/dist/client/static/font/KaTeX_Main-Bold.d181c4650d.woff +0 -0
  30. package/dist/client/static/font/KaTeX_Main-BoldItalic.6f2bb1dff2.woff2 +0 -0
  31. package/dist/client/static/font/KaTeX_Main-BoldItalic.70d8b0a530.ttf +0 -0
  32. package/dist/client/static/font/KaTeX_Main-BoldItalic.e3f82f9d27.woff +0 -0
  33. package/dist/client/static/font/KaTeX_Main-Italic.47373d1e51.ttf +0 -0
  34. package/dist/client/static/font/KaTeX_Main-Italic.8916142bec.woff2 +0 -0
  35. package/dist/client/static/font/KaTeX_Main-Italic.9024d815ba.woff +0 -0
  36. package/dist/client/static/font/KaTeX_Main-Regular.0462f03bdf.woff2 +0 -0
  37. package/dist/client/static/font/KaTeX_Main-Regular.7f51fe0340.woff +0 -0
  38. package/dist/client/static/font/KaTeX_Main-Regular.b7f8fe9b5f.ttf +0 -0
  39. package/dist/client/static/font/KaTeX_Math-BoldItalic.572d331f69.woff2 +0 -0
  40. package/dist/client/static/font/KaTeX_Math-BoldItalic.a879cf8383.ttf +0 -0
  41. package/dist/client/static/font/KaTeX_Math-BoldItalic.f1035d8d5d.woff +0 -0
  42. package/dist/client/static/font/KaTeX_Math-Italic.5295ba483a.woff +0 -0
  43. package/dist/client/static/font/KaTeX_Math-Italic.939bc64440.ttf +0 -0
  44. package/dist/client/static/font/KaTeX_Math-Italic.f28c23acad.woff2 +0 -0
  45. package/dist/client/static/font/KaTeX_SansSerif-Bold.8c5b5494b6.woff2 +0 -0
  46. package/dist/client/static/font/KaTeX_SansSerif-Bold.94e1e8dc5f.ttf +0 -0
  47. package/dist/client/static/font/KaTeX_SansSerif-Bold.bf59d231c3.woff +0 -0
  48. package/dist/client/static/font/KaTeX_SansSerif-Italic.3b1e59b3ba.woff2 +0 -0
  49. package/dist/client/static/font/KaTeX_SansSerif-Italic.7c9bc82b17.woff +0 -0
  50. package/dist/client/static/font/KaTeX_SansSerif-Italic.b4c20c84d8.ttf +0 -0
  51. package/dist/client/static/font/KaTeX_SansSerif-Regular.740484788f.woff +0 -0
  52. package/dist/client/static/font/KaTeX_SansSerif-Regular.ba21ed5f84.woff2 +0 -0
  53. package/dist/client/static/font/KaTeX_SansSerif-Regular.d4d7ba4804.ttf +0 -0
  54. package/dist/client/static/font/KaTeX_Script-Regular.03e9641d6f.woff2 +0 -0
  55. package/dist/client/static/font/KaTeX_Script-Regular.0750571032.woff +0 -0
  56. package/dist/client/static/font/KaTeX_Script-Regular.fe9cbbe1a0.ttf +0 -0
  57. package/dist/client/static/font/KaTeX_Size1-Regular.e1e279cbdd.woff +0 -0
  58. package/dist/client/static/font/KaTeX_Size1-Regular.eae34984b3.woff2 +0 -0
  59. package/dist/client/static/font/KaTeX_Size1-Regular.fabc004aab.ttf +0 -0
  60. package/dist/client/static/font/KaTeX_Size2-Regular.577270225e.woff +0 -0
  61. package/dist/client/static/font/KaTeX_Size2-Regular.5916a24fa3.woff2 +0 -0
  62. package/dist/client/static/font/KaTeX_Size2-Regular.d6b476ecd3.ttf +0 -0
  63. package/dist/client/static/font/KaTeX_Size3-Regular.9acaf01c64.woff +0 -0
  64. package/dist/client/static/font/KaTeX_Size3-Regular.a144ef5840.ttf +0 -0
  65. package/dist/client/static/font/KaTeX_Size4-Regular.10d95fd3a2.woff2 +0 -0
  66. package/dist/client/static/font/KaTeX_Size4-Regular.7a996c9da2.woff +0 -0
  67. package/dist/client/static/font/KaTeX_Size4-Regular.fbccdabe0a.ttf +0 -0
  68. package/dist/client/static/font/KaTeX_Typewriter-Regular.6258592bdc.woff +0 -0
  69. package/dist/client/static/font/KaTeX_Typewriter-Regular.a8709e3622.woff2 +0 -0
  70. package/dist/client/static/font/KaTeX_Typewriter-Regular.d97aaf4a1e.ttf +0 -0
  71. package/dist/client/static/font/fira-code-cyrillic-400-normal.5971438a4a.woff2 +0 -0
  72. package/dist/client/static/font/fira-code-cyrillic-400-normal.9bb7bfea9c.woff +0 -0
  73. package/dist/client/static/font/fira-code-cyrillic-500-normal.5486265b18.woff2 +0 -0
  74. package/dist/client/static/font/fira-code-cyrillic-500-normal.89f92bfb31.woff +0 -0
  75. package/dist/client/static/font/fira-code-cyrillic-600-normal.2805b497e5.woff +0 -0
  76. package/dist/client/static/font/fira-code-cyrillic-600-normal.86e0df22a3.woff2 +0 -0
  77. package/dist/client/static/font/fira-code-cyrillic-700-normal.505a88f22a.woff +0 -0
  78. package/dist/client/static/font/fira-code-cyrillic-700-normal.76f5e8d2e2.woff2 +0 -0
  79. package/dist/client/static/font/fira-code-cyrillic-ext-400-normal.3c4b15e57d.woff2 +0 -0
  80. package/dist/client/static/font/fira-code-cyrillic-ext-400-normal.61323debaa.woff +0 -0
  81. package/dist/client/static/font/fira-code-cyrillic-ext-500-normal.0f34210f2a.woff2 +0 -0
  82. package/dist/client/static/font/fira-code-cyrillic-ext-500-normal.2497cfa1aa.woff +0 -0
  83. package/dist/client/static/font/fira-code-cyrillic-ext-600-normal.40fce94af9.woff2 +0 -0
  84. package/dist/client/static/font/fira-code-cyrillic-ext-600-normal.6c8774b829.woff +0 -0
  85. package/dist/client/static/font/fira-code-cyrillic-ext-700-normal.4b742eb865.woff +0 -0
  86. package/dist/client/static/font/fira-code-cyrillic-ext-700-normal.e75eb4fccc.woff2 +0 -0
  87. package/dist/client/static/font/fira-code-greek-400-normal.bb900468b6.woff2 +0 -0
  88. package/dist/client/static/font/fira-code-greek-400-normal.be76e699ba.woff +0 -0
  89. package/dist/client/static/font/fira-code-greek-500-normal.176c9fb001.woff2 +0 -0
  90. package/dist/client/static/font/fira-code-greek-500-normal.d2c596136b.woff +0 -0
  91. package/dist/client/static/font/fira-code-greek-600-normal.490c3deed7.woff +0 -0
  92. package/dist/client/static/font/fira-code-greek-600-normal.7df14376d9.woff2 +0 -0
  93. package/dist/client/static/font/fira-code-greek-700-normal.c82b6072fc.woff2 +0 -0
  94. package/dist/client/static/font/fira-code-greek-700-normal.d5f2b2917b.woff +0 -0
  95. package/dist/client/static/font/fira-code-greek-ext-400-normal.4849a79781.woff +0 -0
  96. package/dist/client/static/font/fira-code-greek-ext-400-normal.7f5bfc4538.woff2 +0 -0
  97. package/dist/client/static/font/fira-code-greek-ext-500-normal.aaccca4075.woff2 +0 -0
  98. package/dist/client/static/font/fira-code-greek-ext-500-normal.e383181256.woff +0 -0
  99. package/dist/client/static/font/fira-code-greek-ext-600-normal.78cb4bff8e.woff +0 -0
  100. package/dist/client/static/font/fira-code-greek-ext-600-normal.d6c93d54f9.woff2 +0 -0
  101. package/dist/client/static/font/fira-code-greek-ext-700-normal.57ec7c92d9.woff +0 -0
  102. package/dist/client/static/font/fira-code-greek-ext-700-normal.8fafdae5e8.woff2 +0 -0
  103. package/dist/client/static/font/fira-code-latin-400-normal.2655b10c55.woff2 +0 -0
  104. package/dist/client/static/font/fira-code-latin-400-normal.973295532b.woff +0 -0
  105. package/dist/client/static/font/fira-code-latin-500-normal.7ae2be8fb8.woff +0 -0
  106. package/dist/client/static/font/fira-code-latin-500-normal.92a991f204.woff2 +0 -0
  107. package/dist/client/static/font/fira-code-latin-600-normal.1dbbe5bc27.woff +0 -0
  108. package/dist/client/static/font/fira-code-latin-600-normal.43788eb7f1.woff2 +0 -0
  109. package/dist/client/static/font/fira-code-latin-700-normal.2667215d33.woff2 +0 -0
  110. package/dist/client/static/font/fira-code-latin-700-normal.497a70148b.woff +0 -0
  111. package/dist/client/static/font/fira-code-latin-ext-400-normal.9dfae29aaf.woff +0 -0
  112. package/dist/client/static/font/fira-code-latin-ext-400-normal.e534ae46e2.woff2 +0 -0
  113. package/dist/client/static/font/fira-code-latin-ext-500-normal.24c7b781b0.woff +0 -0
  114. package/dist/client/static/font/fira-code-latin-ext-500-normal.aad44ab072.woff2 +0 -0
  115. package/dist/client/static/font/fira-code-latin-ext-600-normal.7bed0f2f7e.woff +0 -0
  116. package/dist/client/static/font/fira-code-latin-ext-600-normal.c509a7c9f1.woff2 +0 -0
  117. package/dist/client/static/font/fira-code-latin-ext-700-normal.6c66c8b0a9.woff2 +0 -0
  118. package/dist/client/static/font/fira-code-latin-ext-700-normal.88f64e2822.woff +0 -0
  119. package/dist/client/static/font/fira-code-symbols2-400-normal.97d3f4b17c.woff +0 -0
  120. package/dist/client/static/font/fira-code-symbols2-500-normal.b06f1a06e4.woff +0 -0
  121. package/dist/client/static/font/fira-code-symbols2-600-normal.304b653b93.woff +0 -0
  122. package/dist/client/static/font/fira-code-symbols2-700-normal.d8ce0ad586.woff +0 -0
  123. package/dist/client/static/js/async/0.8e59f2eb5b.js +1 -0
  124. package/dist/client/static/js/async/0k.5852e6b4fa.js +1 -0
  125. package/dist/client/static/js/async/0w.9ed36d5860.js +1 -0
  126. package/dist/client/static/js/async/1.f387c12b63.js +1 -0
  127. package/dist/client/static/js/async/12.d091f91c99.js +1 -0
  128. package/dist/client/static/js/async/13.8f810a8a6c.js +1 -0
  129. package/dist/client/static/js/async/19.6fe909d55a.js +160 -0
  130. package/dist/client/static/js/async/1b.23f1141a38.js +1 -0
  131. package/dist/client/static/js/async/1k.544adbf77d.js +2 -0
  132. package/dist/client/static/js/async/1k.544adbf77d.js.LICENSE.txt +6 -0
  133. package/dist/client/static/js/async/1p.0d5cddda96.js +1 -0
  134. package/dist/client/static/js/async/2.b589f1733b.js +1 -0
  135. package/dist/client/static/js/async/2v.96165101de.js +1 -0
  136. package/dist/client/static/js/async/3.0cacc08423.js +1 -0
  137. package/dist/client/static/js/async/37.b28b2f61cd.js +1 -0
  138. package/dist/client/static/js/async/3d.5085fb913f.js +1 -0
  139. package/dist/client/static/js/async/3j.a2fcea99be.js +2 -0
  140. package/dist/client/static/js/async/3j.a2fcea99be.js.LICENSE.txt +11 -0
  141. package/dist/client/static/js/async/3p.bcf32a0983.js +1 -0
  142. package/dist/client/static/js/async/3r.3a69e98ee0.js +64 -0
  143. package/dist/client/static/js/async/3u.1228460e2a.js +1 -0
  144. package/dist/client/static/js/async/3y.22075aa079.js +198 -0
  145. package/dist/client/static/js/async/3y.22075aa079.js.LICENSE.txt +5 -0
  146. package/dist/client/static/js/async/4.9442eeb472.js +1 -0
  147. package/dist/client/static/js/async/4e.678285ca55.js +1 -0
  148. package/dist/client/static/js/async/4k.33a0c7eeb4.js +1 -0
  149. package/dist/client/static/js/async/4q.aad20dab25.js +1 -0
  150. package/dist/client/static/js/async/5.ebaf8b89cc.js +36 -0
  151. package/dist/client/static/js/async/51.1938cec320.js +2 -0
  152. package/dist/client/static/js/async/51.1938cec320.js.LICENSE.txt +6 -0
  153. package/dist/client/static/js/async/5b.d88304bc13.js +1 -0
  154. package/dist/client/static/js/async/5j.d6407c4248.js +287 -0
  155. package/dist/client/static/js/async/5o.88316d4460.js +62 -0
  156. package/dist/client/static/js/async/6.7929428505.js +1 -0
  157. package/dist/client/static/js/async/66.5dfa29f957.js +93 -0
  158. package/dist/client/static/js/async/69.a18a10882f.js +1 -0
  159. package/dist/client/static/js/async/6o.5b1a06a382.js +1 -0
  160. package/dist/client/static/js/async/7.e4a9288dd0.js +1 -0
  161. package/dist/client/static/js/async/73.50280ce58d.js +1 -0
  162. package/dist/client/static/js/async/7e.a1cc9bfd88.js +1 -0
  163. package/dist/client/static/js/async/7l.7a6a377ecc.js +1 -0
  164. package/dist/client/static/js/async/8.5067439d8c.js +1 -0
  165. package/dist/client/static/js/async/8j.ea110663fb.js +1 -0
  166. package/dist/client/static/js/async/a.bce4542392.js +1 -0
  167. package/dist/client/static/js/async/aa.65d3852576.js +1 -0
  168. package/dist/client/static/js/async/ar.9dc8b1992a.js +2 -0
  169. package/dist/client/static/js/async/ar.9dc8b1992a.js.LICENSE.txt +6 -0
  170. package/dist/client/static/js/async/az.d656062b0f.js +1 -0
  171. package/dist/client/static/js/async/b.b4f6f06515.js +1 -0
  172. package/dist/client/static/js/async/bi.cbfe8eaa8e.js +1 -0
  173. package/dist/client/static/js/async/bq.586bc738d1.js +1 -0
  174. package/dist/client/static/js/async/c.cd45b0ac45.js +1 -0
  175. package/dist/client/static/js/async/c0.0af1e640d3.js +24 -0
  176. package/dist/client/static/js/async/ca.8a52cfd447.js +1 -0
  177. package/dist/client/static/js/async/cf.d34fff5d67.js +1 -0
  178. package/dist/client/static/js/async/ct.38d9da8a5a.js +1 -0
  179. package/dist/client/static/js/async/cx.ca5feec570.js +226 -0
  180. package/dist/client/static/js/async/d.a5fc8fe1b3.js +1 -0
  181. package/dist/client/static/js/async/da.f62c70f6c8.js +1 -0
  182. package/dist/client/static/js/async/dp.1725d6432c.js +1 -0
  183. package/dist/client/static/js/async/e.93214d622b.js +79 -0
  184. package/dist/client/static/js/async/f.ab50467719.js +19 -0
  185. package/dist/client/static/js/async/f.ab50467719.js.LICENSE.txt +12 -0
  186. package/dist/client/static/js/async/f8.bbf0dbae70.js +1 -0
  187. package/dist/client/static/js/async/fw.fb1a08b92d.js +6 -0
  188. package/dist/client/static/js/async/fw.fb1a08b92d.js.LICENSE.txt +6 -0
  189. package/dist/client/static/js/async/h.4e790471e4.js +27 -0
  190. package/dist/client/static/js/async/h1.e8d5aa8e80.js +1 -0
  191. package/dist/client/static/js/async/h3.216e9798ab.js +148 -0
  192. package/dist/client/static/js/async/hd.0da931b622.js +1 -0
  193. package/dist/client/static/js/async/hk.ba7fb04d41.js +1 -0
  194. package/dist/client/static/js/async/hn.7568bdb58b.js +1 -0
  195. package/dist/client/static/js/async/ho.475a5e1ae4.js +1 -0
  196. package/dist/client/static/js/async/hp.e9fe2e395a.js +2 -0
  197. package/dist/client/static/js/async/hp.e9fe2e395a.js.LICENSE.txt +17 -0
  198. package/dist/client/static/js/async/hs.6d480d0ded.js +41 -0
  199. package/dist/client/static/js/async/i.7c148e8440.js +1 -0
  200. package/dist/client/static/js/async/id.573df20f29.js +1 -0
  201. package/dist/client/static/js/async/j.ab925882d8.js +1 -0
  202. package/dist/client/static/js/async/jd.63886a1f09.js +1 -0
  203. package/dist/client/static/js/async/jg.69a4beade8.js +86 -0
  204. package/dist/client/static/js/async/jl.874d352278.js +1 -0
  205. package/dist/client/static/js/async/jll.11313b455a.js +1 -0
  206. package/dist/client/static/js/async/js.67182759ef.js +1 -0
  207. package/dist/client/static/js/async/jsc.23b70d6f40.js +1 -0
  208. package/dist/client/static/js/async/jse.334588ff5d.js +1 -0
  209. package/dist/client/static/js/async/jz.72eb929106.js +77 -0
  210. package/dist/client/static/js/async/k.e878dd350f.js +217 -0
  211. package/dist/client/static/js/async/ka.c1990ecaa3.js +115 -0
  212. package/dist/client/static/js/async/ku.29c8a59d0c.js +1 -0
  213. package/dist/client/static/js/async/ky.8dab1dade0.js +1 -0
  214. package/dist/client/static/js/async/l.102a97fce6.js +104 -0
  215. package/dist/client/static/js/async/l6.45f3b62e15.js +1 -0
  216. package/dist/client/static/js/async/l9.949710adaf.js +83 -0
  217. package/dist/client/static/js/async/l9.949710adaf.js.LICENSE.txt +13 -0
  218. package/dist/client/static/js/async/m.3fc017a055.js +28 -0
  219. package/dist/client/static/js/async/m.3fc017a055.js.LICENSE.txt +6 -0
  220. package/dist/client/static/js/async/me.8ace414f80.js +23 -0
  221. package/dist/client/static/js/async/mt.0352e976d8.js +1 -0
  222. package/dist/client/static/js/async/n.a9f1c51701.js +1 -0
  223. package/dist/client/static/js/async/na.a36cd532d6.js +1 -0
  224. package/dist/client/static/js/async/nk.6de011832e.js +1 -0
  225. package/dist/client/static/js/async/o.36353dfb88.js +1 -0
  226. package/dist/client/static/js/async/oc.9c060c9779.js +8 -0
  227. package/dist/client/static/js/async/og.ae7acf03ac.js +193 -0
  228. package/dist/client/static/js/async/p.48ecfcd14e.js +1 -0
  229. package/dist/client/static/js/async/px.783b6f91f2.js +1 -0
  230. package/dist/client/static/js/async/q.0b6fb9bf8d.js +21 -0
  231. package/dist/client/static/js/async/q.0b6fb9bf8d.js.LICENSE.txt +6 -0
  232. package/dist/client/static/js/async/q5.e683f7c26e.js +286 -0
  233. package/dist/client/static/js/async/qs.2a9ddb3c72.js +1 -0
  234. package/dist/client/static/js/async/r.51010ad87c.js +1 -0
  235. package/dist/client/static/js/async/rd.b77011ab7f.js +2 -0
  236. package/dist/client/static/js/async/rd.b77011ab7f.js.LICENSE.txt +4 -0
  237. package/dist/client/static/js/async/rf.cfbde7f744.js +2 -0
  238. package/dist/client/static/js/async/rf.cfbde7f744.js.LICENSE.txt +6 -0
  239. package/dist/client/static/js/async/s.c7d521a8ae.js +2 -0
  240. package/dist/client/static/js/async/s.c7d521a8ae.js.LICENSE.txt +6 -0
  241. package/dist/client/static/js/async/sy.7345abcd67.js +94 -0
  242. package/dist/client/static/js/async/t.0dcb01dfde.js +1 -0
  243. package/dist/client/static/js/async/t9.d44f57d518.js +1 -0
  244. package/dist/client/static/js/async/ta.973534bbec.js +1 -0
  245. package/dist/client/static/js/async/ty.3d93cf5f5f.js +1 -0
  246. package/dist/client/static/js/async/u.0871ac5b22.js +1 -0
  247. package/dist/client/static/js/async/up.ea990da0ff.js +32 -0
  248. package/dist/client/static/js/async/uw.8890abbabc.js +1 -0
  249. package/dist/client/static/js/async/v.5c7a4b087b.js +1 -0
  250. package/dist/client/static/js/async/vn.e98e2f3b61.js +309 -0
  251. package/dist/client/static/js/async/vp.9b13bf8610.js +1 -0
  252. package/dist/client/static/js/async/vu.311f1d202c.js +34 -0
  253. package/dist/client/static/js/async/w.08ac210f60.js +1 -0
  254. package/dist/client/static/js/async/wt.ad92393a90.js +1 -0
  255. package/dist/client/static/js/async/x.563f72ca6b.js +1 -0
  256. package/dist/client/static/js/async/x0.475516418f.js +1 -0
  257. package/dist/client/static/js/async/x1.da8687159b.js +90 -0
  258. package/dist/client/static/js/async/xl.a3c562a58c.js +1 -0
  259. package/dist/client/static/js/async/xn.afecebbbd9.js +2 -0
  260. package/dist/client/static/js/async/xn.afecebbbd9.js.LICENSE.txt +12 -0
  261. package/dist/client/static/js/async/y.1a9ed7a5d8.js +1 -0
  262. package/dist/client/static/js/async/y6.43c57defe4.js +1 -0
  263. package/dist/client/static/js/async/yb.8c1342401d.js +1 -0
  264. package/dist/client/static/js/async/ybq.4491f2f2dc.js +1 -0
  265. package/dist/client/static/js/async/yg.9bd4e09ecb.js +149 -0
  266. package/dist/client/static/js/async/yq.917ddd7ba2.js +1 -0
  267. package/dist/client/static/js/async/ys.00687cf82d.js +38 -0
  268. package/dist/client/static/js/async/yv.593a3f7d54.js +1 -0
  269. package/dist/client/static/js/async/z.56f61a4374.js +1 -0
  270. package/dist/client/static/js/async/zi.5fdb07b86a.js +24 -0
  271. package/dist/client/static/js/async/zj.654f37e8ff.js +1 -0
  272. package/dist/client/static/js/async/zn.966d6f1cc6.js +1 -0
  273. package/dist/client/static/js/async/zo.26213b40c0.js +1 -0
  274. package/dist/client/static/js/async/zx.e9f4105e00.js +1 -0
  275. package/dist/client/static/js/g.124fba0826.js +139 -0
  276. package/dist/client/static/js/g.124fba0826.js.LICENSE.txt +8 -0
  277. package/dist/client/static/js/index.907fd4670e.js +68 -0
  278. package/dist/client/static/js/index.907fd4670e.js.LICENSE.txt +4 -0
  279. package/dist/client/static/js/katex-vendor.95e48cf65a.js +1 -0
  280. package/dist/client/static/js/markdown-vendor.9da142c67b.js +144 -0
  281. package/dist/client/static/js/shiki-vendor.cb8452ddcd.js +1 -0
  282. package/dist/client/sw.js +15 -0
  283. package/package.json +75 -0
  284. package/src/cli/lib/args.js +233 -0
  285. package/src/cli/lib/commands/logs.js +108 -0
  286. package/src/cli/lib/commands/restart.js +28 -0
  287. package/src/cli/lib/commands/serve.js +109 -0
  288. package/src/cli/lib/commands/status.js +63 -0
  289. package/src/cli/lib/commands/stop.js +63 -0
  290. package/src/cli/lib/commands/update.js +120 -0
  291. package/src/cli/lib/output.js +136 -0
  292. package/src/cli/lib/path-utils.js +48 -0
  293. package/src/cli/lib/path-utils.test.js +71 -0
  294. package/src/cli/lib/paths.js +60 -0
  295. package/src/cli/lib/process-lifecycle.js +110 -0
  296. package/src/cli/lib/runtime.js +280 -0
  297. package/src/cli/ompchamber.js +56 -0
  298. package/src/client/App.tsx +95 -0
  299. package/src/client/bootstrap.d.ts +12 -0
  300. package/src/client/components/common/ComposerPicker.tsx +116 -0
  301. package/src/client/components/common/ComposerTextarea.tsx +131 -0
  302. package/src/client/components/common/CopyButton.tsx +73 -0
  303. package/src/client/components/common/FolderPicker.tsx +270 -0
  304. package/src/client/components/common/MarkdownRenderer.tsx +107 -0
  305. package/src/client/components/common/Modal.tsx +75 -0
  306. package/src/client/components/common/PWAInstallButton.tsx +113 -0
  307. package/src/client/components/common/StatCard.tsx +52 -0
  308. package/src/client/components/common/StreamStatusDot.tsx +28 -0
  309. package/src/client/components/common/SubagentStatusIcon.tsx +27 -0
  310. package/src/client/components/common/Toast.tsx +79 -0
  311. package/src/client/components/common/ToastStack.tsx +18 -0
  312. package/src/client/components/common/ViewportSelector.tsx +206 -0
  313. package/src/client/components/common/code-editor/index.tsx +343 -0
  314. package/src/client/components/common/code-surface/index.tsx +75 -0
  315. package/src/client/components/common/file-icon/brand-paths.ts +62 -0
  316. package/src/client/components/common/file-icon/index.tsx +127 -0
  317. package/src/client/components/common/lazy-panels.tsx +80 -0
  318. package/src/client/components/common/session-state-provider/index.tsx +55 -0
  319. package/src/client/components/common/sort-menu/index.tsx +63 -0
  320. package/src/client/components/common/sort-menu/options.ts +24 -0
  321. package/src/client/components/common/viewport.ts +21 -0
  322. package/src/client/components/common/workspace-options-menu/index.tsx +84 -0
  323. package/src/client/components/layout/RightActivityBar.tsx +95 -0
  324. package/src/client/components/layout/desktop-layout/ResizeHandle.tsx +10 -0
  325. package/src/client/components/layout/desktop-layout/TopNavbar.tsx +94 -0
  326. package/src/client/components/layout/desktop-layout/WorkspacePanels.tsx +175 -0
  327. package/src/client/components/layout/desktop-layout/index.tsx +280 -0
  328. package/src/client/components/layout/desktop-layout/resizer/index.tsx +344 -0
  329. package/src/client/components/layout/session-sidebar/CategoryItem.tsx +264 -0
  330. package/src/client/components/layout/session-sidebar/Footer.tsx +28 -0
  331. package/src/client/components/layout/session-sidebar/Header.tsx +29 -0
  332. package/src/client/components/layout/session-sidebar/Modals.tsx +209 -0
  333. package/src/client/components/layout/session-sidebar/SessionItem.tsx +145 -0
  334. package/src/client/components/layout/session-sidebar/SessionList.tsx +52 -0
  335. package/src/client/components/layout/session-sidebar/Skeleton.tsx +36 -0
  336. package/src/client/components/layout/session-sidebar/SubagentList.tsx +152 -0
  337. package/src/client/components/layout/session-sidebar/Toolbar.tsx +123 -0
  338. package/src/client/components/layout/session-sidebar/about-modal/SocialLinks.tsx +43 -0
  339. package/src/client/components/layout/session-sidebar/about-modal/UpdateSection.tsx +172 -0
  340. package/src/client/components/layout/session-sidebar/about-modal/index.tsx +63 -0
  341. package/src/client/components/layout/session-sidebar/index.tsx +174 -0
  342. package/src/client/components/mobile/LayoutWrapper.tsx +221 -0
  343. package/src/client/components/mobile/MainView.tsx +68 -0
  344. package/src/client/components/mobile/RightSidebar.tsx +217 -0
  345. package/src/client/components/mobile/SessionSidebar.tsx +175 -0
  346. package/src/client/components/mobile/mobile-main-view/Header.tsx +264 -0
  347. package/src/client/components/mobile/mobile-right-sidebar/FullDiff.tsx +80 -0
  348. package/src/client/components/mobile/mobile-right-sidebar/FullEditor.tsx +141 -0
  349. package/src/client/components/mobile/mobile-right-sidebar/Header.tsx +121 -0
  350. package/src/client/components/mobile/mobile-session-sidebar/Footer.tsx +69 -0
  351. package/src/client/components/mobile/mobile-session-sidebar/Header.tsx +34 -0
  352. package/src/client/components/mobile/mobile-session-sidebar/Item.tsx +168 -0
  353. package/src/client/components/mobile/mobile-session-sidebar/List.tsx +53 -0
  354. package/src/client/components/mobile/mobile-session-sidebar/SessionRow.tsx +99 -0
  355. package/src/client/components/mobile/mobile-session-sidebar/Skeleton.tsx +36 -0
  356. package/src/client/components/mobile/mobile-session-sidebar/Toolbar.tsx +176 -0
  357. package/src/client/components/settings/LoadingState.tsx +22 -0
  358. package/src/client/components/settings/Modal.tsx +277 -0
  359. package/src/client/components/settings/ProjectSelectorDropdown.tsx +142 -0
  360. package/src/client/components/settings/SettingsSidebarList.tsx +122 -0
  361. package/src/client/components/settings/Sidebar.tsx +153 -0
  362. package/src/client/components/settings/categories/AgentSettings.tsx +84 -0
  363. package/src/client/components/settings/categories/AppearanceSettings.tsx +50 -0
  364. package/src/client/components/settings/categories/BehaviorSettings.tsx +73 -0
  365. package/src/client/components/settings/categories/ChatSettings.tsx +24 -0
  366. package/src/client/components/settings/categories/CommandSettings.tsx +81 -0
  367. package/src/client/components/settings/categories/McpSettings.tsx +142 -0
  368. package/src/client/components/settings/categories/NotificationSettings.tsx +97 -0
  369. package/src/client/components/settings/categories/OmpSettings.tsx +312 -0
  370. package/src/client/components/settings/categories/OtherSettings.tsx +16 -0
  371. package/src/client/components/settings/categories/ProjectSettings.tsx +176 -0
  372. package/src/client/components/settings/categories/ProviderSettings.tsx +146 -0
  373. package/src/client/components/settings/categories/SkillCatalogSettings.tsx +309 -0
  374. package/src/client/components/settings/categories/SkillSettings.tsx +69 -0
  375. package/src/client/components/settings/categories/TokenUsageSettings.tsx +264 -0
  376. package/src/client/components/settings/categories/UsageSettings.tsx +77 -0
  377. package/src/client/components/settings/categories/agent-settings/DetailPane.tsx +333 -0
  378. package/src/client/components/settings/categories/agent-settings/SidebarList.tsx +42 -0
  379. package/src/client/components/settings/categories/behavior-settings/Editor.tsx +244 -0
  380. package/src/client/components/settings/categories/chat-settings/FollowUpSection.tsx +120 -0
  381. package/src/client/components/settings/categories/chat-settings/KeybindingsSection.tsx +107 -0
  382. package/src/client/components/settings/categories/chat-settings/TransportSection.tsx +101 -0
  383. package/src/client/components/settings/categories/command-settings/DetailPane.tsx +292 -0
  384. package/src/client/components/settings/categories/command-settings/SidebarList.tsx +39 -0
  385. package/src/client/components/settings/categories/mcp-settings/ConnectionTest.tsx +89 -0
  386. package/src/client/components/settings/categories/mcp-settings/DetailPane.tsx +311 -0
  387. package/src/client/components/settings/categories/mcp-settings/ImportModal.tsx +161 -0
  388. package/src/client/components/settings/categories/mcp-settings/SidebarList.tsx +120 -0
  389. package/src/client/components/settings/categories/omp-settings/ConfigTabs.tsx +243 -0
  390. package/src/client/components/settings/categories/omp-settings/ExtensionsPanel.tsx +61 -0
  391. package/src/client/components/settings/categories/omp-settings/RoleEditor.tsx +66 -0
  392. package/src/client/components/settings/categories/omp-settings/RowEditor.tsx +337 -0
  393. package/src/client/components/settings/categories/project-settings/AccentPalette.tsx +76 -0
  394. package/src/client/components/settings/categories/project-settings/DetailsForm.tsx +71 -0
  395. package/src/client/components/settings/categories/project-settings/DetailsHeader.tsx +38 -0
  396. package/src/client/components/settings/categories/project-settings/IconGrid.tsx +152 -0
  397. package/src/client/components/settings/categories/project-settings/ModelDropdown.tsx +95 -0
  398. package/src/client/components/settings/categories/project-settings/NameInput.tsx +26 -0
  399. package/src/client/components/settings/categories/project-settings/SidebarList.tsx +100 -0
  400. package/src/client/components/settings/categories/provider-settings/AddProviderModal.tsx +201 -0
  401. package/src/client/components/settings/categories/provider-settings/AuthSection.tsx +121 -0
  402. package/src/client/components/settings/categories/provider-settings/Header.tsx +22 -0
  403. package/src/client/components/settings/categories/provider-settings/Icons.tsx +35 -0
  404. package/src/client/components/settings/categories/provider-settings/LoginModal.tsx +224 -0
  405. package/src/client/components/settings/categories/provider-settings/ModelCapabilitiesModal.tsx +114 -0
  406. package/src/client/components/settings/categories/provider-settings/ModelConfigModal.tsx +155 -0
  407. package/src/client/components/settings/categories/provider-settings/ModelsList.tsx +191 -0
  408. package/src/client/components/settings/categories/provider-settings/ReconnectModal.tsx +163 -0
  409. package/src/client/components/settings/categories/provider-settings/SidebarList.tsx +133 -0
  410. package/src/client/components/settings/categories/skill-catalog/AddSourceModal.tsx +133 -0
  411. package/src/client/components/settings/categories/skill-settings/DetailPane.tsx +210 -0
  412. package/src/client/components/settings/categories/skill-settings/SidebarList.tsx +164 -0
  413. package/src/client/components/settings/categories/token-usage-settings/Breakdown.tsx +127 -0
  414. package/src/client/components/settings/categories/token-usage-settings/Chart.tsx +74 -0
  415. package/src/client/components/settings/categories/token-usage-settings/MetricsGrid.tsx +44 -0
  416. package/src/client/components/settings/categories/usage-settings/DeepSeekCard.tsx +66 -0
  417. package/src/client/components/settings/categories/usage-settings/KenariCard.tsx +68 -0
  418. package/src/client/components/settings/categories/usage-settings/ProviderCard.tsx +52 -0
  419. package/src/client/components/settings/categories/usage-settings/ProviderDetail.tsx +39 -0
  420. package/src/client/components/settings/categories/usage-settings/QuotaSection.tsx +93 -0
  421. package/src/client/components/settings/categories/usage-settings/SidebarList.tsx +77 -0
  422. package/src/client/components/settings/categories/usage-settings/UsageTable.tsx +66 -0
  423. package/src/client/components/settings/categories/usage-settings/format.ts +63 -0
  424. package/src/client/components/settings/categories/usage-settings/providers.ts +45 -0
  425. package/src/client/components/workspace/SearchPanel.tsx +259 -0
  426. package/src/client/components/workspace/browser-panel/ActivityToasts.tsx +46 -0
  427. package/src/client/components/workspace/browser-panel/AddressBar.tsx +84 -0
  428. package/src/client/components/workspace/browser-panel/Screencast.tsx +109 -0
  429. package/src/client/components/workspace/browser-panel/index.tsx +69 -0
  430. package/src/client/components/workspace/browser-toolbar/ZoomControls.tsx +48 -0
  431. package/src/client/components/workspace/browser-toolbar/index.tsx +140 -0
  432. package/src/client/components/workspace/chat-timeline/AiMessageFooter.tsx +250 -0
  433. package/src/client/components/workspace/chat-timeline/AttachmentChips.tsx +119 -0
  434. package/src/client/components/workspace/chat-timeline/ComposerDock.tsx +121 -0
  435. package/src/client/components/workspace/chat-timeline/EmptyWorkspacePrompt.tsx +220 -0
  436. package/src/client/components/workspace/chat-timeline/GeneratingIndicator.tsx +94 -0
  437. package/src/client/components/workspace/chat-timeline/MessageItem.tsx +321 -0
  438. package/src/client/components/workspace/chat-timeline/MessageList.tsx +122 -0
  439. package/src/client/components/workspace/chat-timeline/MinimapShortcuts.tsx +47 -0
  440. package/src/client/components/workspace/chat-timeline/NewChatModal.tsx +69 -0
  441. package/src/client/components/workspace/chat-timeline/QueueList.tsx +94 -0
  442. package/src/client/components/workspace/chat-timeline/SessionSkeleton.tsx +89 -0
  443. package/src/client/components/workspace/chat-timeline/SubagentView.tsx +148 -0
  444. package/src/client/components/workspace/chat-timeline/SystemNotice.tsx +209 -0
  445. package/src/client/components/workspace/chat-timeline/TaskResultContent.tsx +175 -0
  446. package/src/client/components/workspace/chat-timeline/ThinkingSection.tsx +130 -0
  447. package/src/client/components/workspace/chat-timeline/TimelineBody.tsx +130 -0
  448. package/src/client/components/workspace/chat-timeline/ToolCallCard.tsx +291 -0
  449. package/src/client/components/workspace/chat-timeline/ToolCallingSection.tsx +96 -0
  450. package/src/client/components/workspace/chat-timeline/UndoConfirmModal.tsx +83 -0
  451. package/src/client/components/workspace/chat-timeline/chat-input/AccessDropdown.tsx +53 -0
  452. package/src/client/components/workspace/chat-timeline/chat-input/AttachmentToolbar.tsx +63 -0
  453. package/src/client/components/workspace/chat-timeline/chat-input/ThinkingLevelDropdown.tsx +49 -0
  454. package/src/client/components/workspace/chat-timeline/chat-input/Toolbar.tsx +108 -0
  455. package/src/client/components/workspace/chat-timeline/chat-input/access-levels.ts +14 -0
  456. package/src/client/components/workspace/chat-timeline/chat-input/index.tsx +341 -0
  457. package/src/client/components/workspace/chat-timeline/index.tsx +290 -0
  458. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-dialog/Footer.tsx +97 -0
  459. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-dialog/Header.tsx +52 -0
  460. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-dialog/Lazy.tsx +24 -0
  461. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-dialog/SelectBody.tsx +110 -0
  462. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-dialog/index.tsx +321 -0
  463. package/src/client/components/workspace/chat-timeline/tool-renderers/hashline-patch/index.tsx +92 -0
  464. package/src/client/components/workspace/chat-timeline/tool-renderers/index.tsx +160 -0
  465. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Ask.tsx +205 -0
  466. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/AstEdit.tsx +202 -0
  467. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Bash.tsx +223 -0
  468. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Checkpoint.tsx +49 -0
  469. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/ContextNotes.tsx +66 -0
  470. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Debug.tsx +91 -0
  471. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Edit.tsx +288 -0
  472. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Eval.tsx +202 -0
  473. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Github.tsx +91 -0
  474. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Goal.tsx +247 -0
  475. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Hub.tsx +273 -0
  476. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Lsp.tsx +276 -0
  477. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/ManageSkill.tsx +93 -0
  478. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Mcp.tsx +143 -0
  479. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Memory.tsx +93 -0
  480. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Read.tsx +246 -0
  481. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Resolve.tsx +96 -0
  482. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/SearchFs.tsx +132 -0
  483. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/SearchTool.tsx +317 -0
  484. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/SecurityScan.tsx +102 -0
  485. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/TaskResult.tsx +240 -0
  486. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Think.tsx +52 -0
  487. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Todo.tsx +141 -0
  488. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/WebSearch.tsx +118 -0
  489. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/DiffView.tsx +150 -0
  490. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/FallbackOutput.tsx +107 -0
  491. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/JsonCodeBlock.tsx +79 -0
  492. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolCardShell.tsx +151 -0
  493. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/read-line-meta.ts +95 -0
  494. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/tool-input.ts +18 -0
  495. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/truncate.ts +18 -0
  496. package/src/client/components/workspace/context-panel/CostBreakdownPopover.tsx +74 -0
  497. package/src/client/components/workspace/context-panel/LastMessageCard.tsx +34 -0
  498. package/src/client/components/workspace/context-panel/RawJsonViewer.tsx +94 -0
  499. package/src/client/components/workspace/context-panel/RawMessagesList.tsx +293 -0
  500. package/src/client/components/workspace/context-panel/StatsGrid.tsx +64 -0
  501. package/src/client/components/workspace/context-panel/TokenDistributionBar.tsx +62 -0
  502. package/src/client/components/workspace/context-panel/WindowCard.tsx +35 -0
  503. package/src/client/components/workspace/context-panel/index.tsx +142 -0
  504. package/src/client/components/workspace/context-panel/raw-messages.ts +54 -0
  505. package/src/client/components/workspace/diff-panel/SplitView.tsx +165 -0
  506. package/src/client/components/workspace/diff-panel/Toolbar.tsx +177 -0
  507. package/src/client/components/workspace/diff-panel/UnifiedView.tsx +117 -0
  508. package/src/client/components/workspace/diff-panel/index.tsx +213 -0
  509. package/src/client/components/workspace/editor/Tabs.tsx +149 -0
  510. package/src/client/components/workspace/editor/Toolbar.tsx +90 -0
  511. package/src/client/components/workspace/editor/index.tsx +189 -0
  512. package/src/client/components/workspace/file-explorer/GitRepoDropdown.tsx +143 -0
  513. package/src/client/components/workspace/file-explorer/Modals.tsx +236 -0
  514. package/src/client/components/workspace/file-explorer/TreeItem.tsx +289 -0
  515. package/src/client/components/workspace/file-explorer/index.tsx +193 -0
  516. package/src/client/components/workspace/git-panel/BranchToolbar.tsx +188 -0
  517. package/src/client/components/workspace/git-panel/ChangesList.tsx +168 -0
  518. package/src/client/components/workspace/git-panel/CommitBox.tsx +48 -0
  519. package/src/client/components/workspace/git-panel/FileItem.tsx +91 -0
  520. package/src/client/components/workspace/git-panel/Modals.tsx +97 -0
  521. package/src/client/components/workspace/git-panel/RepoHeader.tsx +137 -0
  522. package/src/client/components/workspace/git-panel/TreeItem.tsx +186 -0
  523. package/src/client/components/workspace/git-panel/TreeView.tsx +36 -0
  524. package/src/client/components/workspace/git-panel/commit-modal/CommitActions.tsx +97 -0
  525. package/src/client/components/workspace/git-panel/commit-modal/CommitDiffViewer.tsx +205 -0
  526. package/src/client/components/workspace/git-panel/commit-modal/CommitRow.tsx +179 -0
  527. package/src/client/components/workspace/git-panel/commit-modal/GraphCanvas.tsx +164 -0
  528. package/src/client/components/workspace/git-panel/commit-modal/Header.tsx +127 -0
  529. package/src/client/components/workspace/git-panel/commit-modal/index.tsx +269 -0
  530. package/src/client/components/workspace/git-panel/index.tsx +326 -0
  531. package/src/client/components/workspace/model-dropdown/Footer.tsx +21 -0
  532. package/src/client/components/workspace/model-dropdown/Header.tsx +50 -0
  533. package/src/client/components/workspace/model-dropdown/Item.tsx +137 -0
  534. package/src/client/components/workspace/model-dropdown/Panel.tsx +146 -0
  535. package/src/client/components/workspace/model-dropdown/Section.tsx +87 -0
  536. package/src/client/components/workspace/model-dropdown/Skeleton.tsx +39 -0
  537. package/src/client/components/workspace/model-dropdown/SpecsTooltip.tsx +91 -0
  538. package/src/client/components/workspace/model-dropdown/groups.ts +62 -0
  539. package/src/client/components/workspace/model-dropdown/index.tsx +245 -0
  540. package/src/client/components/workspace/model-dropdown/use-catalog.ts +111 -0
  541. package/src/client/components/workspace/terminal-panel/Header.tsx +50 -0
  542. package/src/client/components/workspace/terminal-panel/InputBar.tsx +82 -0
  543. package/src/client/components/workspace/terminal-panel/LogEntry.tsx +70 -0
  544. package/src/client/components/workspace/terminal-panel/QuickActions.tsx +39 -0
  545. package/src/client/components/workspace/terminal-panel/RealtimeXtermView.tsx +340 -0
  546. package/src/client/components/workspace/terminal-panel/index.tsx +110 -0
  547. package/src/client/components/workspace/usage-panel/ProviderSelect.tsx +208 -0
  548. package/src/client/components/workspace/usage-panel/index.tsx +98 -0
  549. package/src/client/components/workspace/user-browser-panel/AddressBar.tsx +134 -0
  550. package/src/client/components/workspace/user-browser-panel/Frame.tsx +72 -0
  551. package/src/client/components/workspace/user-browser-panel/index.tsx +87 -0
  552. package/src/client/data/agent-data/builtin.ts +31 -0
  553. package/src/client/data/agent-data/index.ts +10 -0
  554. package/src/client/data/agent-data/orchestrator.ts +113 -0
  555. package/src/client/data/agent-data/specialist.ts +245 -0
  556. package/src/client/data/context-data/index.test.ts +88 -0
  557. package/src/client/data/context-data/index.ts +310 -0
  558. package/src/client/data/context-data/presets.ts +128 -0
  559. package/src/client/data/mock/chat.ts +236 -0
  560. package/src/client/data/mock/git-commits.ts +304 -0
  561. package/src/client/data/mock/subagents.ts +212 -0
  562. package/src/client/data/mock/token-usage.ts +129 -0
  563. package/src/client/data/models/catalog.ts +293 -0
  564. package/src/client/data/samples/dialogue-session.ts +285 -0
  565. package/src/client/data/samples/sample-subagents/scout-raw.ts +341 -0
  566. package/src/client/data/samples/sample-subagents/sleeper-raw.ts +294 -0
  567. package/src/client/data/samples/sample-tools/built-in-part1.ts +265 -0
  568. package/src/client/data/samples/sample-tools/built-in-part2.ts +180 -0
  569. package/src/client/data/samples/sample-tools/other.ts +162 -0
  570. package/src/client/data/samples/subagent-session.ts +99 -0
  571. package/src/client/data/samples/tools-session.ts +85 -0
  572. package/src/client/data/samples/virtual-devices-session.ts +333 -0
  573. package/src/client/data/settings/behavior.ts +12 -0
  574. package/src/client/data/settings/command.ts +188 -0
  575. package/src/client/data/settings/mcp.ts +28 -0
  576. package/src/client/data/settings/omp-schema.json +1 -0
  577. package/src/client/data/settings/project.ts +58 -0
  578. package/src/client/data/settings/provider.ts +185 -0
  579. package/src/client/data/settings/skill.ts +340 -0
  580. package/src/client/data/theme/terminal.ts +150 -0
  581. package/src/client/hooks/browser/use-screencast.ts +178 -0
  582. package/src/client/hooks/browser/use-user-browser.ts +105 -0
  583. package/src/client/hooks/chat/composer/index.ts +181 -0
  584. package/src/client/hooks/chat/composer/items.ts +47 -0
  585. package/src/client/hooks/chat/omp/index.ts +348 -0
  586. package/src/client/hooks/chat/omp/revalidation-throttle.ts +71 -0
  587. package/src/client/hooks/chat/omp/session-list.tsx +148 -0
  588. package/src/client/hooks/chat/omp/session-sidebar-controller.ts +249 -0
  589. package/src/client/hooks/chat/omp/session-statuses.ts +83 -0
  590. package/src/client/hooks/chat/omp/status.ts +31 -0
  591. package/src/client/hooks/chat/omp/stream-poll.ts +37 -0
  592. package/src/client/hooks/chat/omp/stream.ts +108 -0
  593. package/src/client/hooks/chat/stream.ts +228 -0
  594. package/src/client/hooks/chat/subagent/index.ts +290 -0
  595. package/src/client/hooks/chat/timeline/actions.ts +322 -0
  596. package/src/client/hooks/chat/timeline/auto-scroll.ts +58 -0
  597. package/src/client/hooks/chat/timeline/browser-context.ts +40 -0
  598. package/src/client/hooks/chat/timeline/extension-dialog.ts +56 -0
  599. package/src/client/hooks/chat/timeline/index.ts +333 -0
  600. package/src/client/hooks/chat/timeline/queue.ts +87 -0
  601. package/src/client/hooks/chat/timeline/scroll.ts +134 -0
  602. package/src/client/hooks/chat/timeline/send.ts +348 -0
  603. package/src/client/hooks/chat/timeline/session-load.ts +334 -0
  604. package/src/client/hooks/chat/timeline/session-title.ts +40 -0
  605. package/src/client/hooks/chat/timeline/subagent-view.ts +92 -0
  606. package/src/client/hooks/chat/timeline/undo-confirmation.ts +29 -0
  607. package/src/client/hooks/editor/use-file-editor.ts +302 -0
  608. package/src/client/hooks/models/use-model-names.ts +17 -0
  609. package/src/client/hooks/models/use-models-catalog.ts +45 -0
  610. package/src/client/hooks/models/use-provider-names.ts +18 -0
  611. package/src/client/hooks/settings/crud-list.ts +187 -0
  612. package/src/client/hooks/settings/instruction-file.ts +91 -0
  613. package/src/client/hooks/settings/providers.ts +295 -0
  614. package/src/client/hooks/settings/skill-catalog.ts +37 -0
  615. package/src/client/hooks/settings/use-chamber-setting.ts +12 -0
  616. package/src/client/hooks/settings/useUsageReport.ts +41 -0
  617. package/src/client/hooks/ui/clipboard.ts +33 -0
  618. package/src/client/hooks/ui/copy-flag.ts +27 -0
  619. package/src/client/hooks/ui/inline-rename.ts +93 -0
  620. package/src/client/hooks/ui/notification-sound.ts +108 -0
  621. package/src/client/hooks/ui/on-click-outside.ts +22 -0
  622. package/src/client/hooks/ui/open-file.ts +42 -0
  623. package/src/client/hooks/ui/scrollbar-fade.ts +33 -0
  624. package/src/client/hooks/ui/show-more.ts +23 -0
  625. package/src/client/hooks/ui/syntax-ready.ts +17 -0
  626. package/src/client/hooks/ui/theme.ts +76 -0
  627. package/src/client/hooks/ui/toasts.ts +22 -0
  628. package/src/client/hooks/ui/updates.ts +108 -0
  629. package/src/client/hooks/ui/visibility-refresh.ts +66 -0
  630. package/src/client/hooks/ui/window-event.ts +52 -0
  631. package/src/client/hooks/workspace/commit-interactions.ts +111 -0
  632. package/src/client/hooks/workspace/commit-pagination.ts +106 -0
  633. package/src/client/hooks/workspace/file-tabs.ts +136 -0
  634. package/src/client/hooks/workspace/git-status.ts +89 -0
  635. package/src/client/hooks/workspace/git-tree.ts +146 -0
  636. package/src/client/hooks/workspace/panel-refresh.ts +72 -0
  637. package/src/client/hooks/workspace/panel-widths.ts +59 -0
  638. package/src/client/hooks/workspace/search-stream.ts +76 -0
  639. package/src/client/hooks/workspace/session-state/context.ts +15 -0
  640. package/src/client/hooks/workspace/session-state/index.ts +62 -0
  641. package/src/client/hooks/workspace/terminal-output.ts +66 -0
  642. package/src/client/hooks/workspace/terminal.ts +283 -0
  643. package/src/client/hooks/workspace/workspace-folder-actions.ts +110 -0
  644. package/src/client/lib/router/fetcher.ts +100 -0
  645. package/src/client/lib/router/search-params.ts +82 -0
  646. package/src/client/main.tsx +23 -0
  647. package/src/client/tailwind.css +364 -0
  648. package/src/server/db.server.ts +338 -0
  649. package/src/server/index.ts +19 -0
  650. package/src/server/lib/browser/runtime.test.ts +110 -0
  651. package/src/server/lib/browser/runtime.ts +160 -0
  652. package/src/server/lib/chat/session-store.server.ts +61 -0
  653. package/src/server/lib/db/client.ts +55 -0
  654. package/src/server/lib/db/settings-store.ts +148 -0
  655. package/src/server/lib/fs/atomic-write.ts +27 -0
  656. package/src/server/lib/fs/git-diff.ts +116 -0
  657. package/src/server/lib/fs/git-log.ts +174 -0
  658. package/src/server/lib/fs/repo-scope.ts +14 -0
  659. package/src/server/lib/fs/root.ts +77 -0
  660. package/src/server/lib/fs/shell.ts +71 -0
  661. package/src/server/lib/fs/terminal-cwd.ts +49 -0
  662. package/src/server/lib/models/provider-registry.server.ts +269 -0
  663. package/src/server/lib/omp/config/agents.ts +162 -0
  664. package/src/server/lib/omp/config/behavior.ts +113 -0
  665. package/src/server/lib/omp/config/config-cli.ts +94 -0
  666. package/src/server/lib/omp/config/disabled-providers.ts +68 -0
  667. package/src/server/lib/omp/config/extensions.ts +90 -0
  668. package/src/server/lib/omp/config/instructions.ts +81 -0
  669. package/src/server/lib/omp/config/mcp-test.ts +346 -0
  670. package/src/server/lib/omp/config/mcp.ts +258 -0
  671. package/src/server/lib/omp/config/providers.ts +276 -0
  672. package/src/server/lib/omp/config/roles.ts +46 -0
  673. package/src/server/lib/omp/config/skills-catalog.ts +93 -0
  674. package/src/server/lib/omp/config/skills.ts +118 -0
  675. package/src/server/lib/omp/config/yaml.ts +48 -0
  676. package/src/server/lib/omp/core/auth-credentials.ts +87 -0
  677. package/src/server/lib/omp/core/cli.ts +69 -0
  678. package/src/server/lib/omp/core/paths.ts +154 -0
  679. package/src/server/lib/omp/core/registry.ts +140 -0
  680. package/src/server/lib/omp/core/worktree.ts +106 -0
  681. package/src/server/lib/omp/rpc/constants.ts +185 -0
  682. package/src/server/lib/omp/rpc/errors.ts +27 -0
  683. package/src/server/lib/omp/rpc/kill-tree.ts +49 -0
  684. package/src/server/lib/omp/rpc/lines.ts +38 -0
  685. package/src/server/lib/omp/rpc/manager.ts +310 -0
  686. package/src/server/lib/omp/rpc/pending-ui-dialogs.ts +55 -0
  687. package/src/server/lib/omp/rpc/process-helpers.ts +82 -0
  688. package/src/server/lib/omp/rpc/process.ts +319 -0
  689. package/src/server/lib/omp/rpc/session-commands.ts +218 -0
  690. package/src/server/lib/omp/rpc/session-registry.ts +300 -0
  691. package/src/server/lib/omp/rpc/utility.ts +199 -0
  692. package/src/server/lib/omp/rpc/web-state.ts +94 -0
  693. package/src/server/lib/omp/session/files.ts +282 -0
  694. package/src/server/lib/omp/session/locator.ts +60 -0
  695. package/src/server/lib/omp/session/messages.ts +222 -0
  696. package/src/server/lib/omp/session/reader.ts +150 -0
  697. package/src/server/lib/omp/session/sidebar-data.server.ts +195 -0
  698. package/src/server/lib/omp/session/stats.ts +85 -0
  699. package/src/server/lib/omp/session/subagent-presence.ts +74 -0
  700. package/src/server/lib/omp/session/telemetry/compute.ts +188 -0
  701. package/src/server/lib/omp/session/telemetry/format.ts +110 -0
  702. package/src/server/lib/omp/session/telemetry/index.ts +4 -0
  703. package/src/server/lib/omp/session/telemetry/scan.ts +21 -0
  704. package/src/server/lib/omp/session/telemetry-raw.ts +96 -0
  705. package/src/server/lib/omp/session/telemetry.test.ts +154 -0
  706. package/src/server/lib/omp/session/title-slot.ts +203 -0
  707. package/src/server/lib/omp/session/usage.ts +298 -0
  708. package/src/server/lib/omp/subagent/history/fold.ts +196 -0
  709. package/src/server/lib/omp/subagent/history/index.ts +110 -0
  710. package/src/server/lib/omp/subagent/history/paths.ts +29 -0
  711. package/src/server/lib/omp/subagent/history/transcript.test.ts +87 -0
  712. package/src/server/lib/omp/subagent/history/transcript.ts +122 -0
  713. package/src/server/lib/remix-compat.ts +29 -0
  714. package/src/server/lib/route-adapter.ts +144 -0
  715. package/src/server/lib/sse.ts +248 -0
  716. package/src/server/lib/updates/apply.ts +46 -0
  717. package/src/server/lib/updates/check.ts +41 -0
  718. package/src/server/lib/updates/github.ts +71 -0
  719. package/src/server/lib/updates/install-method.ts +73 -0
  720. package/src/server/lib/updates/install.test.ts +74 -0
  721. package/src/server/lib/updates/install.ts +294 -0
  722. package/src/server/lib/updates/omp.ts +86 -0
  723. package/src/server/lib/usage/deepseek.ts +59 -0
  724. package/src/server/lib/usage/kenari.ts +251 -0
  725. package/src/server/lib/usage/provider-key.ts +83 -0
  726. package/src/server/mock.server.ts +33 -0
  727. package/src/server/plugins/compress.ts +51 -0
  728. package/src/server/plugins/dev-assets.ts +49 -0
  729. package/src/server/plugins/ssr.ts +100 -0
  730. package/src/server/plugins/static.ts +81 -0
  731. package/src/server/routes/agent/command.ts +81 -0
  732. package/src/server/routes/agent/events.ts +56 -0
  733. package/src/server/routes/agent/index.ts +12 -0
  734. package/src/server/routes/agent/new.ts +83 -0
  735. package/src/server/routes/agent/prewarm.ts +27 -0
  736. package/src/server/routes/agent/ws.ts +168 -0
  737. package/src/server/routes/browser/index.ts +6 -0
  738. package/src/server/routes/browser/stream.ts +217 -0
  739. package/src/server/routes/chat/index.ts +12 -0
  740. package/src/server/routes/chat/rewind.ts +162 -0
  741. package/src/server/routes/chat/root.ts +78 -0
  742. package/src/server/routes/chat/session.ts +339 -0
  743. package/src/server/routes/chat/stream.ts +111 -0
  744. package/src/server/routes/files/index.ts +10 -0
  745. package/src/server/routes/files/root.ts +29 -0
  746. package/src/server/routes/files/toggle.ts +20 -0
  747. package/src/server/routes/folders/create.ts +98 -0
  748. package/src/server/routes/folders/folder.ts +78 -0
  749. package/src/server/routes/folders/index.ts +16 -0
  750. package/src/server/routes/fs/action.ts +84 -0
  751. package/src/server/routes/fs/git.ts +334 -0
  752. package/src/server/routes/fs/index.ts +19 -0
  753. package/src/server/routes/fs/read.ts +258 -0
  754. package/src/server/routes/fs/replace.ts +69 -0
  755. package/src/server/routes/fs/search.ts +135 -0
  756. package/src/server/routes/fs/validate.ts +61 -0
  757. package/src/server/routes/health/index.ts +6 -0
  758. package/src/server/routes/health/probe.ts +27 -0
  759. package/src/server/routes/index.ts +38 -0
  760. package/src/server/routes/models/index.ts +8 -0
  761. package/src/server/routes/models/roles.ts +31 -0
  762. package/src/server/routes/models/root.ts +328 -0
  763. package/src/server/routes/omp/commands.ts +29 -0
  764. package/src/server/routes/omp/extensions.ts +34 -0
  765. package/src/server/routes/omp/index.ts +20 -0
  766. package/src/server/routes/omp/login.ts +112 -0
  767. package/src/server/routes/omp/plugins.ts +82 -0
  768. package/src/server/routes/omp/pricing.ts +65 -0
  769. package/src/server/routes/omp/session-stats.ts +30 -0
  770. package/src/server/routes/omp/sidebar.ts +40 -0
  771. package/src/server/routes/omp/state.ts +22 -0
  772. package/src/server/routes/sessions/folder.ts +16 -0
  773. package/src/server/routes/sessions/index.ts +25 -0
  774. package/src/server/routes/sessions/list.ts +23 -0
  775. package/src/server/routes/sessions/session.ts +331 -0
  776. package/src/server/routes/sessions/subagents.ts +82 -0
  777. package/src/server/routes/settings/agents.ts +128 -0
  778. package/src/server/routes/settings/behavior.ts +125 -0
  779. package/src/server/routes/settings/commands.ts +89 -0
  780. package/src/server/routes/settings/index.ts +28 -0
  781. package/src/server/routes/settings/mcp-test.ts +71 -0
  782. package/src/server/routes/settings/mcp.ts +261 -0
  783. package/src/server/routes/settings/omp-config.ts +47 -0
  784. package/src/server/routes/settings/projects.ts +84 -0
  785. package/src/server/routes/settings/provider-models.ts +278 -0
  786. package/src/server/routes/settings/providers.ts +137 -0
  787. package/src/server/routes/settings/root.ts +40 -0
  788. package/src/server/routes/settings/skills.ts +175 -0
  789. package/src/server/routes/settings/usage.ts +81 -0
  790. package/src/server/routes/telemetry/context.ts +52 -0
  791. package/src/server/routes/telemetry/index.ts +10 -0
  792. package/src/server/routes/telemetry/raw-messages.ts +80 -0
  793. package/src/server/routes/telemetry/tokens.ts +163 -0
  794. package/src/server/routes/terminal/index.ts +8 -0
  795. package/src/server/routes/terminal/run.ts +135 -0
  796. package/src/server/routes/terminal/stream.ts +100 -0
  797. package/src/server/routes/updates/apply.ts +25 -0
  798. package/src/server/routes/updates/check.ts +27 -0
  799. package/src/server/routes/updates/index.ts +8 -0
  800. package/src/server/routes/well-known/devtools.ts +9 -0
  801. package/src/server/routes/well-known/index.ts +6 -0
  802. package/src/shared/lib/browser/activity.ts +115 -0
  803. package/src/shared/lib/browser/cdp.ts +201 -0
  804. package/src/shared/lib/browser/connection.ts +81 -0
  805. package/src/shared/lib/browser/observer.ts +129 -0
  806. package/src/shared/lib/browser/page-context.ts +20 -0
  807. package/src/shared/lib/browser/targets.test.ts +45 -0
  808. package/src/shared/lib/browser/targets.ts +74 -0
  809. package/src/shared/lib/browser/url.ts +21 -0
  810. package/src/shared/lib/browser/util.ts +20 -0
  811. package/src/shared/lib/browser/viewer.ts +303 -0
  812. package/src/shared/lib/browser/watcher.ts +75 -0
  813. package/src/shared/lib/chat/attachments.ts +62 -0
  814. package/src/shared/lib/chat/capitalize.ts +9 -0
  815. package/src/shared/lib/chat/composer/client.ts +210 -0
  816. package/src/shared/lib/chat/composer/filter.ts +62 -0
  817. package/src/shared/lib/chat/composer/translate.ts +103 -0
  818. package/src/shared/lib/chat/composer/trigger.ts +53 -0
  819. package/src/shared/lib/chat/detect-format.ts +38 -0
  820. package/src/shared/lib/chat/duration.ts +82 -0
  821. package/src/shared/lib/chat/omp/agent-events.test.ts +152 -0
  822. package/src/shared/lib/chat/omp/agent-events.ts +347 -0
  823. package/src/shared/lib/chat/omp/file-mutations.ts +42 -0
  824. package/src/shared/lib/chat/omp/socket.ts +95 -0
  825. package/src/shared/lib/chat/omp/sse.ts +53 -0
  826. package/src/shared/lib/chat/omp/status.ts +45 -0
  827. package/src/shared/lib/chat/omp/transport.ts +50 -0
  828. package/src/shared/lib/chat/order.ts +40 -0
  829. package/src/shared/lib/chat/read-sse.ts +99 -0
  830. package/src/shared/lib/chat/stream-service.ts +273 -0
  831. package/src/shared/lib/chat/task-result-parser.ts +166 -0
  832. package/src/shared/lib/chat/timeline/omp-callbacks.ts +293 -0
  833. package/src/shared/lib/chat/timeline/stream-callbacks.ts +202 -0
  834. package/src/shared/lib/chat/timeline/stream-raf.ts +59 -0
  835. package/src/shared/lib/chat/timeline/tool-phrases.ts +224 -0
  836. package/src/shared/lib/chat/timeline/tool-verbs.ts +160 -0
  837. package/src/shared/lib/chat/timeline/turns.ts +30 -0
  838. package/src/shared/lib/chat/title-case.ts +293 -0
  839. package/src/shared/lib/chat/todo-parser.ts +257 -0
  840. package/src/shared/lib/chat/tool-status.ts +20 -0
  841. package/src/shared/lib/code/ansi.ts +24 -0
  842. package/src/shared/lib/code/editor-utils.ts +16 -0
  843. package/src/shared/lib/code/format.ts +17 -0
  844. package/src/shared/lib/code/highlighter.ts +135 -0
  845. package/src/shared/lib/code/parser.ts +237 -0
  846. package/src/shared/lib/code/shiki-langs.ts +93 -0
  847. package/src/shared/lib/code/shiki-themes.ts +14 -0
  848. package/src/shared/lib/code/syntax-highlight.test.ts +153 -0
  849. package/src/shared/lib/code/syntax-highlight.ts +290 -0
  850. package/src/shared/lib/db/transaction.server.ts +20 -0
  851. package/src/shared/lib/format/number.ts +69 -0
  852. package/src/shared/lib/format/time.ts +39 -0
  853. package/src/shared/lib/fs/diff-parser.ts +135 -0
  854. package/src/shared/lib/fs/file-tree.ts +26 -0
  855. package/src/shared/lib/fs/git-graph.ts +184 -0
  856. package/src/shared/lib/fs/git-status.ts +161 -0
  857. package/src/shared/lib/markdown/marked.ts +228 -0
  858. package/src/shared/lib/markdown/mermaid.ts +153 -0
  859. package/src/shared/lib/markdown/sanitize.ts +138 -0
  860. package/src/shared/lib/models/catalog.ts +88 -0
  861. package/src/shared/lib/models/client.ts +51 -0
  862. package/src/shared/lib/models/identity.ts +21 -0
  863. package/src/shared/lib/models/provider-cleanup.ts +20 -0
  864. package/src/shared/lib/models/provider-connection.ts +41 -0
  865. package/src/shared/lib/models/provider-label.ts +40 -0
  866. package/src/shared/lib/models/provider-models.ts +97 -0
  867. package/src/shared/lib/models/provider-presets.ts +29 -0
  868. package/src/shared/lib/models/remote-list.ts +125 -0
  869. package/src/shared/lib/models/server-cache.ts +27 -0
  870. package/src/shared/lib/models/thinking-levels.ts +68 -0
  871. package/src/shared/lib/omp/config/access-mode.server.ts +27 -0
  872. package/src/shared/lib/omp/config/access-mode.ts +31 -0
  873. package/src/shared/lib/omp/config/schema-extras.ts +230 -0
  874. package/src/shared/lib/omp/config/schema-types.ts +49 -0
  875. package/src/shared/lib/omp/config/schema.ts +81 -0
  876. package/src/shared/lib/omp/rpc/frame.ts +134 -0
  877. package/src/shared/lib/omp/session/default-title.test.ts +50 -0
  878. package/src/shared/lib/omp/session/default-title.ts +51 -0
  879. package/src/shared/lib/omp/session/hashline-patch.test.ts +89 -0
  880. package/src/shared/lib/omp/session/hashline-patch.ts +134 -0
  881. package/src/shared/lib/omp/session/jsonl.ts +197 -0
  882. package/src/shared/lib/omp/session/mapper.ts +145 -0
  883. package/src/shared/lib/omp/session/messages-map.ts +179 -0
  884. package/src/shared/lib/omp/session/messages-parse.ts +69 -0
  885. package/src/shared/lib/omp/session/parse-message-blocks.ts +223 -0
  886. package/src/shared/lib/omp/session/prewarm.ts +41 -0
  887. package/src/shared/lib/omp/session/sidebar.ts +77 -0
  888. package/src/shared/lib/omp/session/stream-state.server.ts +106 -0
  889. package/src/shared/lib/omp/session/telemetry-blocks.ts +60 -0
  890. package/src/shared/lib/omp/session/timestamps.ts +20 -0
  891. package/src/shared/lib/omp/session/turn-error.ts +40 -0
  892. package/src/shared/lib/omp/subagent/history/client.ts +76 -0
  893. package/src/shared/lib/omp/subagent/history/settlement.ts +113 -0
  894. package/src/shared/lib/omp/subagent/history/status.ts +40 -0
  895. package/src/shared/lib/omp/subagent/parse.ts +284 -0
  896. package/src/shared/lib/omp/subagent/result-details.ts +53 -0
  897. package/src/shared/lib/omp/subagent/transcript-client.ts +178 -0
  898. package/src/shared/lib/settings/client.test.ts +62 -0
  899. package/src/shared/lib/settings/client.ts +96 -0
  900. package/src/shared/lib/updates/semver.ts +34 -0
  901. package/src/shared/lib/util/guards.ts +14 -0
  902. package/src/shared/lib/workspace/active-project.ts +42 -0
  903. package/src/shared/lib/workspace/panel-widths.test.ts +72 -0
  904. package/src/shared/lib/workspace/panel-widths.ts +79 -0
  905. package/src/shared/lib/workspace/project-icon.ts +29 -0
  906. package/src/shared/lib/workspace/project-settings-migration.ts +62 -0
  907. package/src/shared/lib/workspace/project-settings.ts +139 -0
  908. package/src/shared/lib/workspace/refresh-cadence.ts +128 -0
  909. package/src/shared/lib/workspace/relative-time.ts +25 -0
  910. package/src/shared/lib/workspace/right-panels.ts +51 -0
  911. package/src/shared/lib/workspace/schema-migrations.ts +19 -0
  912. package/src/shared/lib/workspace/session-state/store.ts +267 -0
  913. package/src/shared/lib/workspace/sidebar-expanded.ts +23 -0
  914. package/src/shared/lib/workspace/sidebar-sort.test.ts +200 -0
  915. package/src/shared/lib/workspace/sidebar-sort.ts +131 -0
  916. package/src/shared/types/browser.ts +58 -0
  917. package/src/shared/types/chat.ts +289 -0
  918. package/src/shared/types/context.ts +87 -0
  919. package/src/shared/types/fs.ts +36 -0
  920. package/src/shared/types/git.ts +60 -0
  921. package/src/shared/types/index.ts +22 -0
  922. package/src/shared/types/omp/agent.ts +109 -0
  923. package/src/shared/types/omp/instructions.ts +38 -0
  924. package/src/shared/types/omp/session.ts +153 -0
  925. package/src/shared/types/omp/subagent.ts +176 -0
  926. package/src/shared/types/settings/agent.ts +16 -0
  927. package/src/shared/types/settings/command.ts +12 -0
  928. package/src/shared/types/settings/mcp.ts +22 -0
  929. package/src/shared/types/settings/project.ts +18 -0
  930. package/src/shared/types/settings/provider.ts +42 -0
  931. package/src/shared/types/settings/skill.ts +35 -0
  932. package/src/shared/types/settings/state.ts +59 -0
  933. package/src/shared/types/settings/usage.ts +99 -0
  934. package/src/shared/types/terminal.ts +19 -0
  935. package/src/shared/types/tokenUsage.ts +44 -0
  936. package/src/shared/types/updates.ts +38 -0
  937. package/src/shared/types/workspace.ts +56 -0
  938. package/tsconfig.json +26 -0
@@ -0,0 +1,115 @@
1
+ "use strict";(self.rspackChunkompchamber=self.rspackChunkompchamber||[]).push([["ka"],{mC(t,e,n){var i=n("MM"),r=n("pK"),a=n("NH"),s=n("Yr"),o=n("M4"),l=n("Gt"),c=n("El"),h=n("HAv"),d=n("CM"),u=n("xh"),p=function(){var t=(0,l.K)(function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},"o"),e=[6,11,13,14,15,17,19,20,23,24],n=[1,12],i=[1,13],r=[1,14],a=[1,15],s=[1,16],o=[1,19],c=[1,20],h={trace:(0,l.K)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:"error",6:"EOF",7:"timeline",8:"timeline_lr",9:"timeline_td",11:"SPACE",13:"NEWLINE",14:"title",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",23:"period",24:"event"},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:(0,l.K)(function(t,e,n,i,r,a,s){var o=a.length-1;switch(r){case 1:return a[o-1];case 3:i.setDirection("LR");break;case 4:i.setDirection("TD");break;case 5:case 9:case 10:this.$=[];break;case 6:a[o-1].push(a[o]),this.$=a[o-1];break;case 7:case 8:this.$=a[o];break;case 11:i.getCommonDb().setDiagramTitle(a[o].substr(6)),this.$=a[o].substr(6);break;case 12:this.$=a[o].trim(),i.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=a[o].trim(),i.getCommonDb().setAccDescription(this.$);break;case 15:i.addSection(a[o].substr(8)),this.$=a[o].substr(8);break;case 18:i.addTask(a[o],0,""),this.$=a[o];break;case 19:i.addEvent(a[o].substr(2)),this.$=a[o]}},"anonymous"),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},t(e,[2,5],{5:6}),t(e,[2,2]),t(e,[2,3]),t(e,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:n,15:i,17:r,19:a,20:s,21:17,22:18,23:o,24:c},t(e,[2,10],{1:[2,1]}),t(e,[2,6]),{12:21,14:n,15:i,17:r,19:a,20:s,21:17,22:18,23:o,24:c},t(e,[2,8]),t(e,[2,9]),t(e,[2,11]),{16:[1,22]},{18:[1,23]},t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,7]),t(e,[2,12]),t(e,[2,13])],defaultActions:{},parseError:(0,l.K)(function(t,e){if(e.recoverable)this.trace(t);else{var n=Error(t);throw n.hash=e,n}},"parseError"),parse:(0,l.K)(function(t){var e=this,n=[0],i=[],r=[null],a=[],s=this.table,o="",c=0,h=0,d=0,u=a.slice.call(arguments,1),p=Object.create(this.lexer),g={};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(g[f]=this.yy[f]);p.setInput(t,g),g.lexer=p,g.parser=this,void 0===p.yylloc&&(p.yylloc={});var y=p.yylloc;a.push(y);var m=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=i.pop()||p.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.parseError?this.parseError=g.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,l.K)(function(t){n.length=n.length-2*t,r.length=r.length-t,a.length=a.length-t},"popStack"),(0,l.K)(b,"lex");for(var x,k,_,w,$,v,K,S,E,R={};;){if(_=n[n.length-1],this.defaultActions[_]?w=this.defaultActions[_]:(null==x&&(x=b()),w=s[_]&&s[_][x]),void 0===w||!w.length||!w[0]){var I="";for(v in E=[],s[_])this.terminals_[v]&&v>2&&E.push("'"+this.terminals_[v]+"'");I=p.showPosition?"Parse error on line "+(c+1)+":\n"+p.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==x?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(I,{text:p.match,token:this.terminals_[x]||x,line:p.yylineno,loc:y,expected:E})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+_+", token: "+x);switch(w[0]){case 1:n.push(x),r.push(p.yytext),a.push(p.yylloc),n.push(w[1]),x=null,k?(x=k,k=null):(h=p.yyleng,o=p.yytext,c=p.yylineno,y=p.yylloc,d>0&&d--);break;case 2:if(K=this.productions_[w[1]][1],R.$=r[r.length-K],R._$={first_line:a[a.length-(K||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(K||1)].first_column,last_column:a[a.length-1].last_column},m&&(R._$.range=[a[a.length-(K||1)].range[0],a[a.length-1].range[1]]),void 0!==($=this.performAction.apply(R,[o,h,c,g,w[1],r,a].concat(u))))return $;K&&(n=n.slice(0,-1*K*2),r=r.slice(0,-1*K),a=a.slice(0,-1*K)),n.push(this.productions_[w[1]][0]),r.push(R.$),a.push(R._$),S=s[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0},"parse")};function d(){this.yy={}}return h.lexer={EOF:1,parseError:(0,l.K)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,l.K)(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,l.K)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:(0,l.K)(function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,l.K)(function(){return this._more=!0,this},"more"),reject:(0,l.K)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,l.K)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,l.K)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,l.K)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,l.K)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,l.K)(function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var a in r)this[a]=r[a];return!1},"test_match"),next:(0,l.K)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,i,r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,l.K)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,l.K)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,l.K)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,l.K)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,l.K)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,l.K)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,l.K)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,l.K)(function(t,e,n,i){switch(n){case 0:case 1:case 3:case 4:break;case 2:return 13;case 5:return 8;case 6:return 9;case 7:return 7;case 8:return 14;case 9:return this.begin("acc_title"),15;case 10:return this.popState(),"acc_title_value";case 11:return this.begin("acc_descr"),17;case 12:return this.popState(),"acc_descr_value";case 13:this.begin("acc_descr_multiline");break;case 14:this.popState();break;case 15:return"acc_descr_multiline_value";case 16:return 20;case 17:return 24;case 18:return 23;case 19:return 6;case 20:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline[ \t]+LR\b)/i,/^(?:timeline[ \t]+TD\b)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[14,15],inclusive:!1},acc_descr:{rules:[12],inclusive:!1},acc_title:{rules:[10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,13,16,17,18,19,20],inclusive:!0}}},(0,l.K)(d,"Parser"),d.prototype=h,h.Parser=d,new d}();p.parser=p;var g={};(0,l.V)(g,{addEvent:()=>I,addSection:()=>K,addTask:()=>R,addTaskOrg:()=>M,clear:()=>w,default:()=>L,getCommonDb:()=>_,getDirection:()=>v,getSections:()=>S,getTasks:()=>E,setDirection:()=>$});var f="",y=0,m="LR",b=[],x=[],k=[],_=(0,l.K)(()=>s.Wt,"getCommonDb"),w=(0,l.K)(function(){b.length=0,x.length=0,f="",k.length=0,m="LR",(0,s.IU)()},"clear"),$=(0,l.K)(function(t){m=t},"setDirection"),v=(0,l.K)(function(){return m},"getDirection"),K=(0,l.K)(function(t){f=t,b.push(t)},"addSection"),S=(0,l.K)(function(){return b},"getSections"),E=(0,l.K)(function(){let t=T(),e=0;for(;!t&&e<100;)t=T(),e++;return x.push(...k),x},"getTasks"),R=(0,l.K)(function(t,e,n){let i={id:y++,section:f,type:f,task:t,score:e||0,events:n?[n]:[]};k.push(i)},"addTask"),I=(0,l.K)(function(t){k.find(t=>t.id===y-1).events.push(t)},"addEvent"),M=(0,l.K)(function(t){let e={section:f,type:f,description:t,task:t,classes:[]};x.push(e)},"addTaskOrg"),T=(0,l.K)(function(){let t=(0,l.K)(function(t){return k[t].processed},"compileTask"),e=!0;for(let[n,i]of k.entries())t(n),e=e&&i.processed;return e},"compileTasks"),L={clear:w,getCommonDb:_,getDirection:v,setDirection:$,addSection:K,getSections:S,getTasks:E,addTask:R,addTaskOrg:M,addEvent:I},C=0,H=(0,l.K)(function(t,e){let n=t.append("rect");return n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),void 0!==e.class&&n.attr("class",e.class),n},"drawRect"),A=(0,l.K)(function(t,e){let n=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=t.append("g");function r(t){let n=(0,c.JLW)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function a(t){let n=(0,c.JLW)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}function s(t){t.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return i.append("circle").attr("cx",e.cx-5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",e.cx+5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),(0,l.K)(r,"smile"),(0,l.K)(a,"sad"),(0,l.K)(s,"ambivalent"),e.score>3?r(i):e.score<3?a(i):s(i),n},"drawFace"),D=(0,l.K)(function(t,e){let n=e.text.replace(/<br\s*\/?>/gi," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),void 0!==e.class&&i.attr("class",e.class);let r=i.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(n),i},"drawText"),O=-1,B=(0,l.K)(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),P=function(){function t(t,e,n,r,a,s,o,l){i(e.append("text").attr("x",n+a/2).attr("y",r+s/2+5).style("font-color",l).style("text-anchor","middle").text(t),o)}function e(t,e,n,r,a,s,o,l,c){let{taskFontSize:h,taskFontFamily:d}=l,u=t.split(/<br\s*\/?>/gi);for(let t=0;t<u.length;t++){let l=t*h-h*(u.length-1)/2,p=e.append("text").attr("x",n+a/2).attr("y",r).attr("fill",c).style("text-anchor","middle").style("font-size",h).style("font-family",d);p.append("tspan").attr("x",n+a/2).attr("dy",l).text(u[t]),p.attr("y",r+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(p,o)}}function n(t,n,r,a,s,o,l,c){let h=n.append("switch"),d=h.append("foreignObject").attr("x",r).attr("y",a).attr("width",s).attr("height",o).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");d.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,h,r,a,s,o,l,c),i(d,l)}function i(t,e){for(let n in e)n in e&&t.attr(n,e[n])}return(0,l.K)(t,"byText"),(0,l.K)(e,"byTspan"),(0,l.K)(n,"byFo"),(0,l.K)(i,"_setTextAttrs"),function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),W=(0,l.K)(function(t,e){C=0,O=-1,t.append("defs").append("marker").attr("id",e+"-arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics");function N(t,e){t.each(function(){var t,n=(0,c.Ltv)(this),i=n.text().split(/(\s+|<br>)/).reverse(),r=[],a=n.attr("y"),s=parseFloat(n.attr("dy")),o=n.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",s+"em");for(let s=0;s<i.length;s++)t=i[i.length-1-s],r.push(t),o.text(r.join(" ").trim()),(o.node().getComputedTextLength()>e||"<br>"===t)&&(r.pop(),o.text(r.join(" ").trim()),r="<br>"===t?[""]:[t],o=n.append("tspan").attr("x",0).attr("y",a).attr("dy","1.1em").text(t))})}(0,l.K)(N,"wrap");var z=(0,l.K)(function(t,e,n,i,r,a=!1){let{theme:s,look:o}=i,l=s?.includes("redux"),h=n%(i?.themeVariables?.THEME_COLOR_LIMIT??12)-1,d=t.append("g");e.section=h,d.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+h);let u=d.append("g"),p=d.append("g"),g=p.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(N,e.width).node().getBBox(),f=i.fontSize?.replace?i.fontSize.replace("px",""):i.fontSize;if(e.height=g.height+1.1*f*.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,p.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),l&&p.attr("transform",`translate(${e.width/2}, ${a?e.padding/2+3:e.padding})`),F(u,e,h,r,i),"neo"===o&&(d.attr("data-look","neo"),l)){let e=s.includes("dark"),n=t.node()?.ownerSVGElement??t.node(),i=(0,c.Ltv)(n),r=i.attr("id")??"",a=r?`${r}-drop-shadow`:"drop-shadow";if(i.select(`#${a}`).empty()){let t=i.select("defs");(t.empty()?i.append("defs"):t).append("filter").attr("id",a).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity",e?"0.2":"0.06").attr("flood-color",e?"#FFFFFF":"#000000")}}return e},"drawNode"),j=(0,l.K)(function(t,e,n){let i=t.append("g"),r=i.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(N,e.width).node().getBBox(),a=n.fontSize?.replace?n.fontSize.replace("px",""):n.fontSize;return i.remove(),r.height+1.1*a*.5+e.padding},"getVirtualNodeHeight"),F=(0,l.K)(function(t,e,n,i,r){let{theme:a}=r,s=5*!a?.includes("redux"),o=s>0?`M0 ${e.height-5} v${-e.height+10} q0,-${s},${s},-${s} h${e.width-10} q${s},0,${s},${s} v${e.height-5} H0 Z`:`M0 ${e.height-5} v${-(e.height-5)} h${e.width} v${e.height} H0 Z`;t.append("path").attr("id",i+"-node-"+C++).attr("class","node-bkg node-"+e.type).attr("d",o),a?.includes("redux")||t.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)},"defaultBkg"),V=(0,l.K)(function(t,e,n,i){let r,a=(0,s.D7)(),{look:l,theme:h,themeVariables:d}=a,{useGradient:u,gradientStart:p,gradientStop:g}=d,f=a.timeline?.leftMargin??50;o.R.debug("timeline",i.db);let y=a.securityLevel;"sandbox"===y&&(r=(0,c.Ltv)("#i"+e));let m=("sandbox"===y?(0,c.Ltv)(r.nodes()[0].contentDocument.body):(0,c.Ltv)("body")).select("#"+e);m.append("g");let b=i.db.getTasks(),x=i.db.getCommonDb().getDiagramTitle();o.R.debug("task",b),W(m,e);let k=i.db.getSections();o.R.debug("sections",k);let _=0,w=0,$=0,v=0,K=50+f,S=50;v=50;let E=0,R=!0;k.forEach(function(t){let e=j(m,{number:E,descr:t,section:E,width:150,padding:20,maxHeight:_},a);o.R.debug("sectionHeight before draw",e),_=Math.max(_,e+20)});let I=0,M=0;for(let[t,e]of(o.R.debug("tasks.length",b.length),b.entries())){let n=j(m,{number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:w},a);o.R.debug("taskHeight before draw",n),w=Math.max(w,n+20),I=Math.max(I,e.events.length);let i=0;for(let t of e.events)i+=j(m,{descr:t,section:e.section,number:e.section,width:150,padding:20,maxHeight:50},a);e.events.length>0&&(i+=(e.events.length-1)*10),M=Math.max(M,i)}o.R.debug("maxSectionHeight before draw",_),o.R.debug("maxTaskHeight before draw",w),k&&k.length>0?k.forEach(t=>{let n=b.filter(e=>e.section===t),i={number:E,descr:t,section:E,width:200*Math.max(n.length,1)-50,padding:20,maxHeight:_};o.R.debug("sectionNode",i);let r=m.append("g"),s=z(r,i,E,a,e);o.R.debug("sectionNode output",s),r.attr("transform",`translate(${K}, ${v})`),S+=_+50,n.length>0&&G(m,n,E,K,S,w,a,I,M,_,!1,e),K+=200*Math.max(n.length,1),S=v,E++}):(R=!1,G(m,b,E,K,S,w,a,I,M,_,!0,e));let T=m.node().getBBox();if(o.R.debug("bounds",T),x&&m.append("text").text(x).attr("x","neo"===l?2*T.x+f:T.width/2-f).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),$=R?_+w+150:w+100,m.append("g").attr("class","lineWrapper").append("line").attr("x1",f).attr("y1",$).attr("x2",T.width+3*f).attr("y2",$).attr("stroke-width",4).attr("stroke","black").attr("marker-end",`url(#${e}-arrowhead)`),"neo"===l&&u&&"neutral"!==h){let t=m.select("defs"),e=(t.empty()?m.append("defs"):t).append("linearGradient").attr("id",m.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");e.append("stop").attr("offset","0%").attr("stop-color",p).attr("stop-opacity",1),e.append("stop").attr("offset","100%").attr("stop-color",g).attr("stop-opacity",1)}(0,s.ot)(void 0,m,a.timeline?.padding??50,a.timeline?.useMaxWidth??!1)},"draw"),G=(0,l.K)(function(t,e,n,i,r,a,s,l,c,h,d,u){for(let l of e){let e={descr:l.task,section:n,number:n,width:150,padding:20,maxHeight:a};o.R.debug("taskNode",e);let h=t.append("g").attr("class","taskWrapper"),p=z(h,e,n,s,u).height;if(o.R.debug("taskHeight after draw",p),h.attr("transform",`translate(${i}, ${r})`),a=Math.max(a,p),l.events){let e=t.append("g").attr("class","lineWrapper");r+=100,U(t,l.events,n,i,r,s,u),r-=100,e.append("line").attr("x1",i+95).attr("y1",r+a).attr("x2",i+95).attr("y2",r+a+100+c+100).attr("stroke-width",2).attr("stroke","black").attr("marker-end",`url(#${u}-arrowhead)`).attr("stroke-dasharray","5,5")}i+=200,d&&!s.timeline?.disableMulticolor&&n++}},"drawTasks"),U=(0,l.K)(function(t,e,n,i,r,a,s){let l=0,c=r;for(let c of(r+=100,e)){let e={descr:c,section:n,number:n,width:150,padding:20,maxHeight:50};o.R.debug("eventNode",e);let h=t.append("g").attr("class","eventWrapper"),d=z(h,e,n,a,s,!0).height;l+=d,h.attr("transform",`translate(${i}, ${r})`),r=r+10+d}return r=c,l},"drawEvents"),Y={setConf:(0,l.K)(()=>{},"setConf"),draw:V},Z=(0,l.K)(function(t,e,n,r){let l=(0,s.D7)(),c=l.timeline?.leftMargin??50;o.R.debug("timeline",r.db);let h=(0,i.D)(e);h.append("g");let d=r.db.getTasks(),u=r.db.getCommonDb().getDiagramTitle();o.R.debug("task",d),W(h);let p=r.db.getSections();o.R.debug("sections",p);let g=0,f=0,y=50,m=230,b=0,x=p&&p.length>0,k=50+c+m,_=Math.max(50,m+360-10);p.forEach(function(t){let e=j(h,{number:b,descr:t,section:b,width:_,padding:5,maxHeight:g},l);o.R.debug("sectionHeight before draw",e),g=Math.max(g,e)});let w=0;for(let[t,e]of(o.R.debug("tasks.length",d.length),d.entries())){let n=j(h,{number:t,descr:e,section:e.section,width:200,padding:5,maxHeight:f},l);o.R.debug("taskHeight before draw",n),f=Math.max(f,n);let i=0;for(let t of e.events)i+=j(h,{descr:t,section:e.section,number:e.section,width:300,padding:5,maxHeight:50},l);e.events.length>0&&(i+=(e.events.length-1)*10),w=Math.max(w,i)+0}o.R.debug("maxSectionHeight before draw",g),o.R.debug("maxTaskHeight before draw",f);let $=Math.max(f,w)+30;x?p.forEach(t=>{let e=d.filter(e=>e.section===t),n={number:b,descr:t,section:b,width:_,padding:5,maxHeight:g};o.R.debug("sectionNode",n);let i=h.append("g"),r=z(i,n,b,l);o.R.debug("sectionNode output",r);let a=k-m;i.attr("transform",`translate(${a}, ${y})`);let s=y+r.height+20;e.length>0&&q(h,e,b,k,s,f,l,$,!1);let c=e.length,u=r.height+20+$*Math.max(c,1)-60*(c>0);y+=u,b++}):q(h,d,b,k,y,f,l,$,!0);let v=h.node()?.getBBox();if(!v)throw Error("bbox not found");if(o.R.debug("bounds",v),u){if(h.append("text").text(u).attr("x",v.width/2-c).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),!(v=h.node()?.getBBox()))throw Error("bbox not found");o.R.debug("bounds after title",v)}let[K]=(0,a.I5)(l.fontSize),S=h.append("g").attr("class","lineWrapper");S.append("line").attr("x1",k).attr("y1",50-(K??16)*2).attr("x2",k).attr("y2",v.y+v.height+((K??16)*.5+20)).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),S.lower(),(0,s.ot)(void 0,h,l.timeline?.padding??50,l.timeline?.useMaxWidth??!1)},"draw"),q=(0,l.K)(function(t,e,n,i,r,a,s,l,c){for(let h of e){let e={descr:h.task,section:n,number:n,width:200,padding:5,maxHeight:a};o.R.debug("taskNode",e);let d=t.append("g").attr("class","taskWrapper"),u=z(d,e,n,s),p=u.height;o.R.debug("taskHeight after draw",p);let g=i-20-u.width;if(d.attr("transform",`translate(${g}, ${r})`),a=Math.max(a,p),h.events&&h.events.length>0){let e=r,a=i+50;J(t,h.events,n,i,a,e,s)}r+=l,c&&!s.timeline?.disableMulticolor&&n++}},"drawTasks"),J=(0,l.K)(function(t,e,n,i,r,a,s){let l=a;for(let a of e){let e={descr:a,section:n,number:n,width:300,padding:5,maxHeight:0};o.R.debug("eventNode",e);let c=t.append("g").attr("class","eventWrapper"),h=z(c,e,n,s).height;c.attr("transform",`translate(${r}, ${l})`);let d=t.append("g").attr("class","lineWrapper"),u=l+h/2;d.append("line").attr("x1",i).attr("y1",u).attr("x2",r).attr("y2",u).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5"),l=l+h+10}return l-a},"drawEvents"),X={setConf:(0,l.K)(()=>{},"setConf"),draw:Z},Q=(0,l.K)(t=>{let{theme:e}=(0,s.zj)(),n=e?.includes("dark"),i=(0,r.P1)(e,t.borderColorArray),a=t.svgId?.replace(/^#/,"")??"",o=a?`url(#${a}-drop-shadow)`:t.dropShadow??"none",l="";for(let e=0;e<(0,r.nw)(t.THEME_COLOR_LIMIT);e++){let r=`${17-3*e}`,a=i?t.borderColorArray[e%t.borderColorArray.length]:void 0,s=a??t.mainBkg,c=a??t.nodeBorder;l+=`
2
+ .section-${e-1} rect,
3
+ .section-${e-1} path,
4
+ .section-${e-1} circle {
5
+ fill: ${n&&i?t.mainBkg:s};
6
+ stroke: ${c};
7
+ stroke-width: ${t.strokeWidth};
8
+ filter: ${o};
9
+ }
10
+
11
+ .section-${e-1} text {
12
+ fill: ${t.nodeBorder};
13
+ font-weight: ${t.fontWeight}
14
+ }
15
+
16
+ .node-icon-${e-1} {
17
+ font-size: 40px;
18
+ color: ${t["cScaleLabel"+e]};
19
+ }
20
+
21
+ .section-edge-${e-1} {
22
+ stroke: ${t["cScale"+e]};
23
+ }
24
+
25
+ .edge-depth-${e-1} {
26
+ stroke-width: ${r};
27
+ }
28
+
29
+ .section-${e-1} line {
30
+ stroke: ${t["cScaleInv"+e]};
31
+ stroke-width: 3;
32
+ }
33
+
34
+ .lineWrapper line {
35
+ stroke: ${t.nodeBorder};
36
+ stroke-width:${t.strokeWidth}
37
+ }
38
+
39
+ .disabled,
40
+ .disabled circle,
41
+ .disabled text {
42
+ fill: ${t.tertiaryColor??"lightgray"};
43
+ }
44
+
45
+ .disabled text {
46
+ fill: ${t.clusterBorder??"#efefef"};
47
+ }
48
+ `}return l},"genReduxSections"),tt=(0,l.K)(t=>{let e="",n=(0,r.nw)(t.THEME_COLOR_LIMIT);for(let e=0;e<n;e++)t["lineColor"+e]=t["lineColor"+e]??t["cScaleInv"+e],(0,h.A)(t["lineColor"+e])?t["lineColor"+e]=(0,d.A)(t["lineColor"+e],20):t["lineColor"+e]=(0,u.A)(t["lineColor"+e],20);for(let i=0;i<n;i++){let n=""+(17-3*i);e+=`
49
+ .section-${i-1} rect, .section-${i-1} path, .section-${i-1} circle, .section-${i-1} path {
50
+ fill: ${t["cScale"+i]};
51
+ }
52
+ .section-${i-1} text {
53
+ fill: ${t["cScaleLabel"+i]};
54
+ }
55
+ .node-icon-${i-1} {
56
+ font-size: 40px;
57
+ color: ${t["cScaleLabel"+i]};
58
+ }
59
+ .section-edge-${i-1}{
60
+ stroke: ${t["cScale"+i]};
61
+ }
62
+ .edge-depth-${i-1}{
63
+ stroke-width: ${n};
64
+ }
65
+ .section-${i-1} line {
66
+ stroke: ${t["cScaleInv"+i]} ;
67
+ stroke-width: 3;
68
+ }
69
+
70
+ .lineWrapper line{
71
+ stroke: ${t["cScaleLabel"+i]} ;
72
+ }
73
+
74
+ .disabled, .disabled circle, .disabled text {
75
+ fill: ${t.tertiaryColor??"lightgray"};
76
+ }
77
+ .disabled text {
78
+ fill: ${t.clusterBorder??"#efefef"};
79
+ }
80
+ `}return e},"genSections"),te=(0,l.K)(t=>{let{theme:e}=(0,s.zj)(),n=e?.includes("redux"),i="neutral"===e,a=t.svgId?.replace(/^#/,"")??"",o="";if(t.useGradient&&a&&t.THEME_COLOR_LIMIT&&!i){let e=(0,r.nw)(t.THEME_COLOR_LIMIT);for(let n=0;n<e;n++)o+=`
81
+ .section-${n-1}[data-look="neo"] rect,
82
+ .section-${n-1}[data-look="neo"] path,
83
+ .section-${n-1}[data-look="neo"] circle {
84
+ fill: ${t.mainBkg};
85
+ stroke: url(#${a}-gradient);
86
+ stroke-width: 2;
87
+ }
88
+ .section-${n-1}[data-look="neo"] line {
89
+ stroke: url(#${a}-gradient);
90
+ stroke-width: 2;
91
+ }`}return`
92
+ .edge {
93
+ stroke-width: 3;
94
+ }
95
+ ${n?Q(t):tt(t)}
96
+ ${o}
97
+ .section-root rect, .section-root path, .section-root circle {
98
+ fill: ${t.git0};
99
+ }
100
+ .section-root text {
101
+ fill: ${t.gitBranchLabel0};
102
+ }
103
+ .icon-container {
104
+ height:100%;
105
+ display: flex;
106
+ justify-content: center;
107
+ align-items: center;
108
+ }
109
+ .edge {
110
+ fill: none;
111
+ }
112
+ .eventWrapper {
113
+ filter: brightness(120%);
114
+ }
115
+ `},"getStyles"),tn={db:g,renderer:{setConf:(0,l.K)(()=>{},"setConf"),draw:(0,l.K)((t,e,n,i)=>"TD"===(i?.db?.getDirection?.()??"LR")?X.draw(t,e,n,i):Y.draw(t,e,n,i),"draw")},parser:p,styles:te};n.d(e,{diagram:()=>tn})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.rspackChunkompchamber=self.rspackChunkompchamber||[]).push([["ku"],{m0(e,c,r){var s=r("cVf");r("br"),r.d(c,{createPacketServices:()=>s.$})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.rspackChunkompchamber=self.rspackChunkompchamber||[]).push([["ky"],{uc(e,t,n){n.r(t),t.default=[Object.freeze(JSON.parse('{"displayName":"Stylus","fileTypes":["styl","stylus","css.styl","css.stylus"],"name":"stylus","patterns":[{"include":"#comment"},{"include":"#at_rule"},{"include":"#language_keywords"},{"include":"#language_constants"},{"include":"#variable_declaration"},{"include":"#function"},{"include":"#selector"},{"include":"#declaration"},{"captures":{"1":{"name":"punctuation.section.property-list.begin.css"},"2":{"name":"punctuation.section.property-list.end.css"}},"match":"(\\\\{)(})","name":"meta.brace.curly.css"},{"match":"[{}]","name":"meta.brace.curly.css"},{"include":"#numeric"},{"include":"#string"},{"include":"#operator"}],"repository":{"at_rule":{"patterns":[{"begin":"\\\\s*((@)(import|require))\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.at-rule.import.stylus"},"2":{"name":"punctuation.definition.keyword.stylus"}},"end":"\\\\s*((?=;|$|\\\\n))","endCaptures":{"1":{"name":"punctuation.terminator.rule.css"}},"name":"meta.at-rule.import.css","patterns":[{"include":"#string"}]},{"begin":"\\\\s*((@)(extends?))\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.at-rule.extend.stylus"},"2":{"name":"punctuation.definition.keyword.stylus"}},"end":"\\\\s*((?=;|$|\\\\n))","endCaptures":{"1":{"name":"punctuation.terminator.rule.css"}},"name":"meta.at-rule.extend.css","patterns":[{"include":"#selector"}]},{"captures":{"1":{"name":"keyword.control.at-rule.fontface.stylus"},"2":{"name":"punctuation.definition.keyword.stylus"}},"match":"^\\\\s*((@)font-face)\\\\b","name":"meta.at-rule.fontface.stylus"},{"captures":{"1":{"name":"keyword.control.at-rule.css.stylus"},"2":{"name":"punctuation.definition.keyword.stylus"}},"match":"^\\\\s*((@)css)\\\\b","name":"meta.at-rule.css.stylus"},{"begin":"\\\\s*((@)charset)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.at-rule.charset.stylus"},"2":{"name":"punctuation.definition.keyword.stylus"}},"end":"\\\\s*((?=;|$|\\\\n))","name":"meta.at-rule.charset.stylus","patterns":[{"include":"#string"}]},{"begin":"\\\\s*((@)keyframes)\\\\b\\\\s+([-A-Z_a-z][-0-9A-Z_a-z]*)","beginCaptures":{"1":{"name":"keyword.control.at-rule.keyframes.stylus"},"2":{"name":"punctuation.definition.keyword.stylus"},"3":{"name":"entity.name.function.keyframe.stylus"}},"end":"\\\\s*((?=\\\\{|$|\\\\n))","name":"meta.at-rule.keyframes.stylus"},{"begin":"(?=\\\\b((\\\\d+%|from\\\\b|to\\\\b)))","end":"(?=([\\\\n{]))","name":"meta.at-rule.keyframes.stylus","patterns":[{"match":"\\\\b((\\\\d+%|from\\\\b|to\\\\b))","name":"entity.other.attribute-name.stylus"}]},{"captures":{"1":{"name":"keyword.control.at-rule.media.stylus"},"2":{"name":"punctuation.definition.keyword.stylus"}},"match":"^\\\\s*((@)media)\\\\b","name":"meta.at-rule.media.stylus"},{"match":"(?=\\\\w)(?<![-\\\\w])(width|scan|resolution|orientation|monochrome|min-width|min-resolution|min-monochrome|min-height|min-device-width|min-device-height|min-device-aspect-ratio|min-color-index|min-color|min-aspect-ratio|max-width|max-resolution|max-monochrome|max-height|max-device-width|max-device-height|max-device-aspect-ratio|max-color-index|max-color|max-aspect-ratio|height|grid|device-width|device-height|device-aspect-ratio|color-index|color|aspect-ratio)(?<=\\\\w)(?![-\\\\w])","name":"support.type.property-name.media-feature.media.css"},{"match":"(?=\\\\w)(?<![-\\\\w])(tv|tty|screen|projection|print|handheld|embossed|braille|aural|all)(?<=\\\\w)(?![-\\\\w])","name":"support.constant.media-type.media.css"},{"match":"(?=\\\\w)(?<![-\\\\w])(portrait|landscape)(?<=\\\\w)(?![-\\\\w])","name":"support.constant.property-value.media-property.media.css"}]},"char_escape":{"match":"\\\\\\\\(.)","name":"constant.character.escape.stylus"},"color":{"patterns":[{"begin":"\\\\b(rgba??|hsla??)(\\\\()","beginCaptures":{"1":{"name":"support.function.color.css"},"2":{"name":"punctuation.section.function.css"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.section.function.css"}},"name":"meta.function.color.css","patterns":[{"match":"\\\\s*(,)\\\\s*","name":"punctuation.separator.parameter.css"},{"include":"#numeric"},{"include":"#property_variable"}]},{"captures":{"1":{"name":"punctuation.definition.constant.css"}},"match":"(#)(\\\\h{3}|\\\\h{6})\\\\b","name":"constant.other.color.rgb-value.css"},{"match":"\\\\b(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)\\\\b","name":"support.constant.color.w3c-standard-color-name.css"},{"match":"\\\\b(aliceblue|antiquewhite|aquamarine|azure|beige|bisque|blanchedalmond|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|gainsboro|ghostwhite|gold|goldenrod|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|limegreen|linen|magenta|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|oldlace|olivedrab|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|thistle|tomato|turquoise|violet|wheat|whitesmoke|yellowgreen)\\\\b","name":"support.constant.color.w3c-extended-color-name.css"}]},"comment":{"patterns":[{"include":"#comment_block"},{"include":"#comment_line"}]},"comment_block":{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.css"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.css"}},"name":"comment.block.css"},"comment_line":{"begin":"(^[\\\\t ]+)?(?=//)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.stylus"}},"end":"(?!\\\\G)","patterns":[{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.stylus"}},"end":"(?=\\\\n)","name":"comment.line.double-slash.stylus"}]},"declaration":{"begin":"((?<=^)[^\\\\n\\\\S]+)|((?<=;)[^\\\\n\\\\S]*)|((?<=\\\\{)[^\\\\n\\\\S]*)","end":"(?=\\\\n)|(;)|(?=})|(\\\\n)","endCaptures":{"2":{"name":"punctuation.terminator.rule.css"}},"name":"meta.property-list.css","patterns":[{"match":"(?<![-\\\\w])--[-A-Z_a-z[^\\\\x00-\\\\x7F]](?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))*","name":"variable.css"},{"include":"#language_keywords"},{"include":"#language_constants"},{"match":"(?<=^)[^\\\\n\\\\S]+(\\\\n)"},{"captures":{"1":{"name":"support.type.property-name.css"},"2":{"name":"punctuation.separator.key-value.css"},"3":{"name":"variable.section.css"}},"match":"\\\\G\\\\s*(counter-(?:reset|increment))(?:(:)|[^\\\\n\\\\S])[^\\\\n\\\\S]*([-A-Z_a-z][-0-9A-Z_a-z]*)","name":"meta.property.counter.css"},{"begin":"\\\\G\\\\s*(filter)(?:(:)|[^\\\\n\\\\S])[^\\\\n\\\\S]*","beginCaptures":{"1":{"name":"support.type.property-name.css"},"2":{"name":"punctuation.separator.key-value.css"}},"end":"(?=[\\\\n;}]|$)","name":"meta.property.filter.css","patterns":[{"include":"#function"},{"include":"#property_values"}]},{"include":"#property"},{"include":"#interpolation"},{"include":"$self"}]},"font_name":{"match":"\\\\b((?i:arial|century|comic|courier|cursive|fantasy|futura|garamond|georgia|helvetica|impact|lucida|monospace|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif))\\\\b","name":"support.constant.font-name.css"},"function":{"begin":"(?=[-A-Z_a-z][-0-9A-Z_a-z]*\\\\()","end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.section.function.css"}},"patterns":[{"begin":"(format|url|local)(\\\\()","beginCaptures":{"1":{"name":"support.function.misc.css"},"2":{"name":"punctuation.section.function.css"}},"end":"(?=\\\\))","name":"meta.function.misc.css","patterns":[{"match":"(?<=\\\\()[^)\\\\s]*(?=\\\\))","name":"string.css"},{"include":"#string"},{"include":"#variable"},{"include":"#operator"},{"match":"\\\\s*"}]},{"captures":{"1":{"name":"support.function.misc.counter.css"},"2":{"name":"punctuation.section.function.css"},"3":{"name":"variable.section.css"}},"match":"(counter)(\\\\()([-A-Z_a-z][-0-9A-Z_a-z]*)(?=\\\\))","name":"meta.function.misc.counter.css"},{"begin":"(counters)(\\\\()","beginCaptures":{"1":{"name":"support.function.misc.counters.css"},"2":{"name":"punctuation.section.function.css"}},"end":"(?=\\\\))","name":"meta.function.misc.counters.css","patterns":[{"match":"\\\\G[-A-Z_a-z][-0-9A-Z_a-z]*","name":"variable.section.css"},{"match":"\\\\s*(,)\\\\s*","name":"punctuation.separator.parameter.css"},{"include":"#string"},{"include":"#interpolation"}]},{"begin":"(attr)(\\\\()","beginCaptures":{"1":{"name":"support.function.misc.attr.css"},"2":{"name":"punctuation.section.function.css"}},"end":"(?=\\\\))","name":"meta.function.misc.attr.css","patterns":[{"match":"\\\\G[-A-Z_a-z][-0-9A-Z_a-z]*","name":"entity.other.attribute-name.attribute.css"},{"match":"(?<=[-0-9A-Z_a-z])\\\\s*\\\\b(string|color|url|integer|number|length|em|ex|px|rem|vw|vh|vmin|vmax|mm|cm|in|pt|pc|angle|deg|grad|rad|time|s|ms|frequency|Hz|kHz|%)\\\\b","name":"support.type.attr.css"},{"match":"\\\\s*(,)\\\\s*","name":"punctuation.separator.parameter.css"},{"include":"#string"},{"include":"#interpolation"}]},{"begin":"(calc)(\\\\()","beginCaptures":{"1":{"name":"support.function.misc.calc.css"},"2":{"name":"punctuation.section.function.css"}},"end":"(?=\\\\))","name":"meta.function.misc.calc.css","patterns":[{"include":"#property_values"}]},{"begin":"(cubic-bezier)(\\\\()","beginCaptures":{"1":{"name":"support.function.timing.cubic-bezier.css"},"2":{"name":"punctuation.section.function.css"}},"end":"(?=\\\\))","name":"meta.function.timing.cubic-bezier.css","patterns":[{"match":"\\\\s*(,)\\\\s*","name":"punctuation.separator.parameter.css"},{"include":"#numeric"},{"include":"#interpolation"}]},{"begin":"(steps)(\\\\()","beginCaptures":{"1":{"name":"support.function.timing.steps.css"},"2":{"name":"punctuation.section.function.css"}},"end":"(?=\\\\))","name":"meta.function.timing.steps.css","patterns":[{"match":"\\\\s*(,)\\\\s*","name":"punctuation.separator.parameter.css"},{"include":"#numeric"},{"match":"\\\\b(start|end)\\\\b","name":"support.constant.timing.steps.direction.css"},{"include":"#interpolation"}]},{"begin":"((?:linear|radial|repeating-linear|repeating-radial)-gradient)(\\\\()","beginCaptures":{"1":{"name":"support.function.gradient.css"},"2":{"name":"punctuation.section.function.css"}},"end":"(?=\\\\))","name":"meta.function.gradient.css","patterns":[{"match":"\\\\s*(,)\\\\s*","name":"punctuation.separator.parameter.css"},{"include":"#numeric"},{"include":"#color"},{"match":"\\\\b(to|bottom|right|left|top|circle|ellipse|center|closest-side|closest-corner|farthest-side|farthest-corner|at)\\\\b","name":"support.constant.gradient.css"},{"include":"#interpolation"}]},{"begin":"(blur|brightness|contrast|grayscale|hue-rotate|invert|opacity|saturate|sepia)(\\\\()","beginCaptures":{"1":{"name":"support.function.filter.css"},"2":{"name":"punctuation.section.function.css"}},"end":"(?=\\\\))","name":"meta.function.filter.css","patterns":[{"include":"#numeric"},{"include":"#property_variable"},{"include":"#interpolation"}]},{"begin":"(drop-shadow)(\\\\()","beginCaptures":{"1":{"name":"support.function.filter.drop-shadow.css"},"2":{"name":"punctuation.section.function.css"}},"end":"(?=\\\\))","name":"meta.function.filter.drop-shadow.css","patterns":[{"include":"#numeric"},{"include":"#color"},{"include":"#property_variable"},{"include":"#interpolation"}]},{"begin":"(matrix|matrix3d|perspective|rotate|rotate3d|rotate[Xx]|rotate[Yy]|rotate[Zz]|scale|scale3d|scale[Xx]|scale[Yy]|scale[Zz]|skew[Xx]??|skew[Yy]|translate|translate3d|translate[Xx]|translate[Yy]|translate[Zz])(\\\\()","beginCaptures":{"1":{"name":"support.function.transform.css"},"2":{"name":"punctuation.section.function.css"}},"end":"(?=\\\\))","name":"meta.function.transform.css","patterns":[{"include":"#numeric"},{"include":"#property_variable"},{"include":"#interpolation"}]},{"match":"(url|local|format|counters??|attr|calc)(?=\\\\()","name":"support.function.misc.css"},{"match":"(cubic-bezier|steps)(?=\\\\()","name":"support.function.timing.css"},{"match":"((?:linear|radial|repeating-linear|repeating-radial)-gradient)(?=\\\\()","name":"support.function.gradient.css"},{"match":"(blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)(?=\\\\()","name":"support.function.filter.css"},{"match":"(matrix|matrix3d|perspective|rotate|rotate3d|rotate[Xx]|rotate[Yy]|rotate[Zz]|scale|scale3d|scale[Xx]|scale[Yy]|scale[Zz]|skew[Xx]??|skew[Yy]|translate|translate3d|translate[Xx]|translate[Yy]|translate[Zz])(?=\\\\()","name":"support.function.transform.css"},{"begin":"([-A-Z_a-z][-0-9A-Z_a-z]*)(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.stylus"},"2":{"name":"punctuation.section.function.css"}},"end":"(?=\\\\))","name":"meta.function.stylus","patterns":[{"match":"--[-A-Z_a-z[^\\\\x00-\\\\x7F]](?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))*","name":"variable.argument.stylus"},{"match":"\\\\s*(,)\\\\s*","name":"punctuation.separator.parameter.css"},{"include":"#interpolation"},{"include":"#property_values"}]},{"match":"\\\\(","name":"punctuation.section.function.css"}]},"interpolation":{"begin":"(\\\\{)[^\\\\n\\\\S]*(?=[^;=]*[^\\\\n\\\\S]*})","beginCaptures":{"1":{"name":"meta.brace.curly"}},"end":"[^\\\\n\\\\S]*(})|\\\\n|$","endCaptures":{"1":{"name":"meta.brace.curly"}},"name":"meta.interpolation.stylus","patterns":[{"include":"#variable"},{"include":"#numeric"},{"include":"#string"},{"include":"#operator"}]},"language_constants":{"match":"\\\\b(true|false|null)\\\\b","name":"constant.language.stylus"},"language_keywords":{"patterns":[{"match":"(\\\\b|\\\\s)(return|else|for|unless|if|else)\\\\b","name":"keyword.control.stylus"},{"match":"(\\\\b|\\\\s)(!important|in|is defined|is a)\\\\b","name":"keyword.other.stylus"},{"match":"\\\\barguments\\\\b","name":"variable.language.stylus"}]},"numeric":{"patterns":[{"captures":{"1":{"name":"keyword.other.unit.css"}},"match":"(?<![-\\\\w])(?:[-+]?[0-9]+(?:\\\\.[0-9]+)?|\\\\.[0-9]+)((?:px|pt|ch|cm|mm|in|r?em|ex|pc|deg|g?rad|dpi|dpcm|dppx|fr|ms|s|turn|vh|vmax|vmin|vw)\\\\b|%)?","name":"constant.numeric.css"}]},"operator":{"patterns":[{"match":"((?:[!+:?~]|(\\\\s-\\\\s)|\\\\*?\\\\*|[%/]|(\\\\.)?\\\\.\\\\.|[<>]|[-%*+/:<-?]?=|!=)|\\\\b(?:in|is(?:nt)?|(?<!:)not|or|and)\\\\b)","name":"keyword.operator.stylus"},{"include":"#char_escape"}]},"property":{"begin":"\\\\G\\\\s*(?:(-webkit-[-A-Za-z]+|-moz-[-A-Za-z]+|-o-[-A-Za-z]+|-ms-[-A-Za-z]+|-khtml-[-A-Za-z]+|zoom|z-index|[xy]|wrap|word-wrap|word-spacing|word-break|word|width|widows|white-space-collapse|white-space|white|weight|volume|voice-volume|voice-stress|voice-rate|voice-pitch-range|voice-pitch|voice-family|voice-duration|voice-balance|voice|visibility|vertical-align|variant|user-select|up|unicode-bidi|unicode-range|unicode|trim|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform|touch-action|top-width|top-style|top-right-radius|top-left-radius|top-color|top|timing-function|text-wrap|text-transform|text-shadow|text-replace|text-rendering|text-overflow|text-outline|text-justify|text-indent|text-height|text-emphasis|text-decoration|text-align-last|text-align|text|target-position|target-new|target-name|target|table-layout|tab-size|style-type|style-position|style-image|style|string-set|stretch|stress|stacking-strategy|stacking-shift|stacking-ruby|stacking|src|speed|speech-rate|speech|speak-punctuation|speak-numeral|speak-header|speak|span|spacing|space-collapse|space|sizing|size-adjust|size|shadow|respond-to|rule-width|rule-style|rule-color|rule|ruby-span|ruby-position|ruby-overhang|ruby-align|ruby|rows|rotation-point|rotation|role|right-width|right-style|right-color|right|richness|rest-before|rest-after|rest|resource|resize|reset|replace|repeat|rendering-intent|rate|radius|quotes|punctuation-trim|punctuation|property|profile|presentation-level|presentation|position|pointer-events|point|play-state|play-during|play-count|pitch-range|pitch|phonemes|pause-before|pause-after|pause|page-policy|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-bottom|padding|pack|overhang|overflow-y|overflow-x|overflow-style|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|origin|orientation|orient|ordinal-group|order|opacity|offset|numeral|new|nav-up|nav-right|nav-left|nav-index|nav-down|nav|name|move-to|model|mix-blend-mode|min-width|min-height|min|max-width|max-height|max|marquee-style|marquee-speed|marquee-play-count|marquee-direction|marquee|marks|mark-before|mark-after|mark|margin-top|margin-right|margin-left|margin-bottom|margin|mask-image|list-style-type|list-style-position|list-style-image|list-style|list|lines|line-stacking-strategy|line-stacking-shift|line-stacking-ruby|line-stacking|line-height|line-break|level|letter-spacing|length|left-width|left-style|left-color|left|label|justify-content|justify|iteration-count|inline-box-align|initial-value|initial-size|initial-before-align|initial-before-adjust|initial-after-align|initial-after-adjust|index|indent|increment|image-resolution|image-orientation|image|icon|hyphens|hyphenate-resource|hyphenate-lines|hyphenate-character|hyphenate-before|hyphenate-after|hyphenate|height|header|hanging-punctuation|gap|grid|grid-area|grid-auto-columns|grid-auto-flow|grid-auto-rows|grid-column|grid-column-end|grid-column-start|grid-row|grid-row-end|grid-row-start|grid-template|grid-template-areas|grid-template-columns|grid-template-rows|row-gap|gap|font-kerning|font-language-override|font-weight|font-variant-caps|font-variant|font-style|font-synthesis|font-stretch|font-size-adjust|font-size|font-family|font|float-offset|float|flex-wrap|flex-shrink|flex-grow|flex-group|flex-flow|flex-direction|flex-basis|flex|fit-position|fit|fill|filter|family|empty-cells|emphasis|elevation|duration|drop-initial-value|drop-initial-size|drop-initial-before-align|drop-initial-before-adjust|drop-initial-after-align|drop-initial-after-adjust|drop|down|dominant-baseline|display-role|display-model|display|direction|delay|decoration-break|decoration|cursor|cue-before|cue-after|cue|crop|counter-reset|counter-increment|counter|count|content|columns|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|column-break-before|column-break-after|column|color-profile|color|collapse|clip|clear|character|caption-side|break-inside|break-before|break-after|break|box-sizing|box-shadow|box-pack|box-orient|box-ordinal-group|box-lines|box-flex-group|box-flex|box-direction|box-decoration-break|box-align|box|bottom-width|bottom-style|bottom-right-radius|bottom-left-radius|bottom-color|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-length|border-left-width|border-left-style|border-left-color|border-left|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|bookmark-target|bookmark-level|bookmark-label|bookmark|binding|bidi|before|baseline-shift|baseline|balance|background-blend-mode|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-break|background-attachment|background|azimuth|attachment|appearance|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-duration|animation-direction|animation-delay|animation-fill-mode|animation|alignment-baseline|alignment-adjust|alignment|align-self|align-last|align-items|align-content|align|after|adjust|will-change)|(writing-mode|text-anchor|stroke-width|stroke-opacity|stroke-miterlimit|stroke-linejoin|stroke-linecap|stroke-dashoffset|stroke-dasharray|stroke|stop-opacity|stop-color|shape-rendering|marker-start|marker-mid|marker-end|lighting-color|kerning|image-rendering|glyph-orientation-vertical|glyph-orientation-horizontal|flood-opacity|flood-color|fill-rule|fill-opacity|fill|enable-background|color-rendering|color-interpolation-filters|color-interpolation|clip-rule|clip-path)|([-A-Z_a-z][-0-9A-Z_a-z]*))(?!([^\\\\n\\\\S]*&)|([^\\\\n\\\\S]*\\\\{))(?=:|([^\\\\n\\\\S]+\\\\S))","beginCaptures":{"1":{"name":"support.type.property-name.css"},"2":{"name":"support.type.property-name.svg.css"},"3":{"name":"support.function.mixin.stylus"}},"end":"(;)|(?=[\\\\n}]|$)","endCaptures":{"1":{"name":"punctuation.terminator.rule.css"}},"patterns":[{"include":"#property_value"}]},"property_value":{"begin":"\\\\G(?:(:)|(\\\\s))(\\\\s*)(?!&)","beginCaptures":{"1":{"name":"punctuation.separator.key-value.css"},"2":{"name":"punctuation.separator.key-value.css"}},"end":"(?=[\\\\n;}])","endCaptures":{"1":{"name":"punctuation.terminator.rule.css"}},"name":"meta.property-value.css","patterns":[{"include":"#property_values"},{"match":"\\\\N+?"}]},"property_values":{"patterns":[{"include":"#function"},{"include":"#comment"},{"include":"#language_keywords"},{"include":"#language_constants"},{"match":"(?=\\\\w)(?<![-\\\\w])(wrap-reverse|wrap|whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|unicase|underline|ultra-expanded|ultra-condensed|transparent|transform|top|titling-caps|thin|thick|text-top|text-bottom|text|tb-rl|table-row-group|table-row|table-header-group|table-footer-group|table-column-group|table-column|table-cell|table|sw-resize|super|strict|stretch|step-start|step-end|static|square|space-between|space-around|space|solid|soft-light|small-caps|separate|semi-expanded|semi-condensed|se-resize|scroll|screen|saturation|s-resize|running|rtl|row-reverse|row-resize|row|round|right|ridge|reverse|repeat-y|repeat-x|repeat|relative|progressive|progress|pre-wrap|pre-line|pre|pointer|petite-caps|paused|pan-x|pan-left|pan-right|pan-y|pan-up|pan-down|padding-box|overline|overlay|outside|outset|optimizeSpeed|optimizeLegibility|opacity|oblique|nw-resize|nowrap|not-allowed|normal|none|no-repeat|no-drop|newspaper|ne-resize|n-resize|multiply|move|middle|medium|max-height|manipulation|main-size|luminosity|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|local|list-item|linear(?!-)|line-through|line-edge|line|lighter|lighten|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline-block|inline|inherit|infinite|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|hue|horizontal|hidden|help|hard-light|hand|groove|geometricPrecision|forwards|flex-start|flex-end|flex|fixed|extra-expanded|extra-condensed|expanded|exclusion|ellipsis|ease-out|ease-in-out|ease-in|ease|e-resize|double|dotted|distribute-space|distribute-letter|distribute-all-lines|distribute|disc|disabled|difference|default|decimal|dashed|darken|currentColor|crosshair|cover|content-box|contain|condensed|column-reverse|column|color-dodge|color-burn|color|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|border-box|bolder|bold|block|bidi-override|below|baseline|balance|backwards|auto|antialiased|always|alternate-reverse|alternate|all-small-caps|all-scroll|all-petite-caps|all|absolute)(?<=\\\\w)(?![-\\\\w])","name":"support.constant.property-value.css"},{"match":"(?=\\\\w)(?<![-\\\\w])(start|sRGB|square|round|optimizeSpeed|optimizeQuality|nonzero|miter|middle|linearRGB|geometricPrecision |evenodd |end |crispEdges|butt|bevel)(?<=\\\\w)(?![-\\\\w])","name":"support.constant.property-value.svg.css"},{"include":"#font_name"},{"include":"#numeric"},{"include":"#color"},{"include":"#string"},{"match":"!\\\\s*important","name":"keyword.other.important.css"},{"include":"#operator"},{"include":"#stylus_keywords"},{"include":"#property_variable"}]},"property_variable":{"patterns":[{"include":"#variable"},{"match":"(?<!^)(@[-A-Z_a-z][-0-9A-Z_a-z]*)","name":"variable.property.stylus"}]},"selector":{"patterns":[{"match":"(?=\\\\w)(?<![-\\\\w])(a|abbr|acronym|address|area|article|aside|audio|b|base|bdi|bdo|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|data|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|main|map|mark|math|menu|menuitem|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|rb|rp|rtc??|ruby|s|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|svg|table|tbody|td|template|textarea|tfoot|th|thead|time|title|tr|track|tt|ul??|var|video|wbr)(?<=\\\\w)(?![-\\\\w])","name":"entity.name.tag.css"},{"match":"(?=\\\\w)(?<![-\\\\w])(vkern|view|use|tspan|tref|title|textPath|text|symbol|switch|svg|style|stop|set|script|rect|radialGradient|polyline|polygon|pattern|path|mpath|missing-glyph|metadata|mask|marker|linearGradient|line|image|hkern|glyphRef|glyph|g|foreignObject|font-face-uri|font-face-src|font-face-name|font-face-format|font-face|font|filter|feTurbulence|feTile|feSpotLight|feSpecularLighting|fePointLight|feOffset|feMorphology|feMergeNode|feMerge|feImage|feGaussianBlur|feFuncR|feFuncG|feFuncB|feFuncA|feFlood|feDistantLight|feDisplacementMap|feDiffuseLighting|feConvolveMatrix|feComposite|feComponentTransfer|feColorMatrix|feBlend|ellipse|desc|defs|cursor|color-profile|clipPath|circle|animateTransform|animateMotion|animateColor|animate|altGlyphItem|altGlyphDef|altGlyph|a)(?<=\\\\w)(?![-\\\\w])","name":"entity.name.tag.svg.css"},{"match":"\\\\s*(,)\\\\s*","name":"meta.selector.stylus"},{"match":"\\\\*","name":"meta.selector.stylus"},{"captures":{"2":{"name":"entity.other.attribute-name.parent-selector-suffix.stylus"}},"match":"\\\\s*(&)([-0-9A-Z_a-z]+)\\\\s*","name":"meta.selector.stylus"},{"match":"\\\\s*(&)\\\\s*","name":"meta.selector.stylus"},{"captures":{"1":{"name":"punctuation.definition.entity.css"}},"match":"(\\\\.)[-0-9A-Z_a-z]+","name":"entity.other.attribute-name.class.css"},{"captures":{"1":{"name":"punctuation.definition.entity.css"}},"match":"(#)[A-Za-z][-0-9A-Z_a-z]*","name":"entity.other.attribute-name.id.css"},{"captures":{"1":{"name":"punctuation.definition.entity.css"}},"match":"(:+)(after|before|content|first-letter|first-line|host|(-(moz|webkit|ms)-)?selection)\\\\b","name":"entity.other.attribute-name.pseudo-element.css"},{"captures":{"1":{"name":"punctuation.definition.entity.css"}},"match":"(:)((first|last)-child|(first|last|only)-of-type|empty|root|target|first|left|right)\\\\b","name":"entity.other.attribute-name.pseudo-class.css"},{"captures":{"1":{"name":"punctuation.definition.entity.css"}},"match":"(:)(checked|enabled|default|disabled|indeterminate|invalid|optional|required|valid)\\\\b","name":"entity.other.attribute-name.pseudo-class.ui-state.css"},{"begin":"((:)not)(\\\\()","beginCaptures":{"1":{"name":"entity.other.attribute-name.pseudo-class.css"},"2":{"name":"punctuation.definition.entity.css"},"3":{"name":"punctuation.section.function.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.function.css"}},"patterns":[{"include":"#selector"}]},{"captures":{"1":{"name":"entity.other.attribute-name.pseudo-class.css"},"2":{"name":"punctuation.definition.entity.css"},"3":{"name":"punctuation.section.function.css"},"4":{"name":"constant.numeric.css"},"5":{"name":"punctuation.section.function.css"}},"match":"((:)nth-(?:(?:last-)?child|(?:last-)?of-type))(\\\\()(-?(?:\\\\d+n?|n)(?:\\\\+\\\\d+)?|even|odd)(\\\\))"},{"captures":{"1":{"name":"entity.other.attribute-name.pseudo-class.css"},"2":{"name":"puncutation.definition.entity.css"},"3":{"name":"punctuation.section.function.css"},"4":{"name":"constant.language.css"},"5":{"name":"punctuation.section.function.css"}},"match":"((:)dir)\\\\s*(?:(\\\\()(ltr|rtl)?(\\\\)))?"},{"captures":{"1":{"name":"entity.other.attribute-name.pseudo-class.css"},"2":{"name":"puncutation.definition.entity.css"},"3":{"name":"punctuation.section.function.css"},"4":{"name":"constant.language.css"},"6":{"name":"punctuation.section.function.css"}},"match":"((:)lang)\\\\s*(?:(\\\\()(\\\\w+(-\\\\w+)?)?(\\\\)))?"},{"captures":{"1":{"name":"punctuation.definition.entity.css"}},"match":"(:)(active|hover|link|visited|focus)\\\\b","name":"entity.other.attribute-name.pseudo-class.css"},{"captures":{"1":{"name":"punctuation.definition.entity.css"}},"match":"(::)(shadow)\\\\b","name":"entity.other.attribute-name.pseudo-class.css"},{"captures":{"1":{"name":"punctuation.definition.entity.css"},"2":{"name":"entity.other.attribute-name.attribute.css"},"3":{"name":"punctuation.separator.operator.css"},"4":{"name":"string.unquoted.attribute-value.css"},"5":{"name":"string.quoted.double.attribute-value.css"},"6":{"name":"punctuation.definition.string.begin.css"},"7":{"name":"punctuation.definition.string.end.css"},"8":{"name":"punctuation.definition.entity.css"}},"match":"(?i)(\\\\[)\\\\s*(-?[\\\\\\\\_a-z[:^ascii:]][-0-9\\\\\\\\_a-z[:^ascii:]]*)(?:\\\\s*([$*^|~]?=)\\\\s*(?:(-?[\\\\\\\\_a-z[:^ascii:]][-0-9\\\\\\\\_a-z[:^ascii:]]*)|((?>([\\"\'])(?:[^\\\\\\\\]|\\\\\\\\.)*?(\\\\6)))))?\\\\s*(])","name":"meta.attribute-selector.css"},{"include":"#interpolation"},{"include":"#variable"}]},"string":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.css"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.css"}},"name":"string.quoted.double.css","patterns":[{"match":"\\\\\\\\(\\\\h{1,6}|.)","name":"constant.character.escape.css"}]},{"begin":"\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.css"}},"end":"\'","endCaptures":{"0":{"name":"punctuation.definition.string.end.css"}},"name":"string.quoted.single.css","patterns":[{"match":"\\\\\\\\(\\\\h{1,6}|.)","name":"constant.character.escape.css"}]}]},"variable":{"match":"(\\\\$[-A-Z_a-z][-0-9A-Z_a-z]*)","name":"variable.stylus"},"variable_declaration":{"begin":"^[^\\\\n\\\\S]*(\\\\$?[-A-Z_a-z][-0-9A-Z_a-z]*)[^\\\\n\\\\S]*([:?]??=)","beginCaptures":{"1":{"name":"variable.stylus"},"2":{"name":"keyword.operator.stylus"}},"end":"(\\\\n)|(;)|(?=})","endCaptures":{"2":{"name":"punctuation.terminator.rule.css"}},"patterns":[{"include":"#property_values"}]}},"scopeName":"source.stylus","aliases":["styl"]}'))]}}]);
@@ -0,0 +1,104 @@
1
+ "use strict";(self.rspackChunkompchamber=self.rspackChunkompchamber||[]).push([["l"],{jE(t,e,r){var o=r("Gt"),a=class{constructor(t){this.init=t,this.records=this.init()}static{(0,o.K)(this,"ImperativeState")}reset(){this.records=this.init()}};r.d(e,{m:()=>a})},P0(t,e,r){function o(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}(0,r("Gt").K)(o,"populateCommonDb"),r.d(e,{S:()=>o})},Xd(t,e,r){var o=r("jE"),a=r("P0"),i=r("NH"),n=r("Yr"),s=r("M4"),c=r("Gt"),d=r("Xe"),l=r("El"),h={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},$=n.UI.gitGraph,m=(0,c.K)(()=>(0,i.$t)({...$,...(0,n.zj)().gitGraph}),"getConfig"),g=new o.m(()=>{let t=m(),e=t.mainBranchName,r=t.mainBranchOrder;return{mainBranchName:e,commits:new Map,head:null,branchConfig:new Map([[e,{name:e,order:r}]]),branches:new Map([[e,null]]),currBranch:e,direction:"LR",seq:0,options:{}}});function p(){return(0,i.yT)({length:7})}function y(t,e){let r=Object.create(null);return t.reduce((t,o)=>{let a=e(o);return r[a]||(r[a]=!0,t.push(o)),t},[])}(0,c.K)(p,"getID"),(0,c.K)(y,"uniqBy");var f=(0,c.K)(function(t){g.records.direction=t},"setDirection"),x=(0,c.K)(function(t){s.R.debug("options str",t),t=(t=t?.trim())||"{}";try{g.records.options=JSON.parse(t)}catch(t){s.R.error("error while parsing gitGraph options",t.message)}},"setOptions"),u=(0,c.K)(function(){return g.records.options},"getOptions"),b=(0,c.K)(function(t){let e=t.msg,r=t.id,o=t.type,a=t.tags;s.R.info("commit",e,r,o,a),s.R.debug("Entering commit:",e,r,o,a);let i=m();r=n.Y2.sanitizeText(r,i),e=n.Y2.sanitizeText(e,i),a=a?.map(t=>n.Y2.sanitizeText(t,i));let c={id:r||g.records.seq+"-"+p(),message:e,seq:g.records.seq++,type:o??h.NORMAL,tags:a??[],parents:null==g.records.head?[]:[g.records.head.id],branch:g.records.currBranch};g.records.head=c,s.R.info("main branch",i.mainBranchName),g.records.commits.has(c.id)&&s.R.warn(`Commit ID ${c.id} already exists`),g.records.commits.set(c.id,c),g.records.branches.set(g.records.currBranch,c.id),s.R.debug("in pushCommit "+c.id)},"commit"),k=(0,c.K)(function(t){let e=t.name,r=t.order;if(e=n.Y2.sanitizeText(e,m()),g.records.branches.has(e))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${e}")`);g.records.branches.set(e,null!=g.records.head?g.records.head.id:null),g.records.branchConfig.set(e,{name:e,order:r}),E(e),s.R.debug("in createBranch")},"branch"),B=(0,c.K)(t=>{let e=t.branch,r=t.id,o=t.type,a=t.tags,i=m();e=n.Y2.sanitizeText(e,i),r&&(r=n.Y2.sanitizeText(r,i));let c=g.records.branches.get(g.records.currBranch),d=g.records.branches.get(e),l=c?g.records.commits.get(c):void 0,$=d?g.records.commits.get(d):void 0;if(l&&$&&l.branch===e)throw Error(`Cannot merge branch '${e}' into itself.`);if(g.records.currBranch===e){let t=Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},t}if(void 0===l||!l){let t=Error(`Incorrect usage of "merge". Current branch (${g.records.currBranch})has no commits`);throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["commit"]},t}if(!g.records.branches.has(e)){let t=Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:[`branch ${e}`]},t}if(void 0===$||!$){let t=Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:['"commit"']},t}if(l===$){let t=Error('Incorrect usage of "merge". Both branches have same head');throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},t}if(r&&g.records.commits.has(r)){let t=Error('Incorrect usage of "merge". Commit with id:'+r+" already exists, use different custom id");throw t.hash={text:`merge ${e} ${r} ${o} ${a?.join(" ")}`,token:`merge ${e} ${r} ${o} ${a?.join(" ")}`,expected:[`merge ${e} ${r}_UNIQUE ${o} ${a?.join(" ")}`]},t}let y={id:r||`${g.records.seq}-${p()}`,message:`merged branch ${e} into ${g.records.currBranch}`,seq:g.records.seq++,parents:null==g.records.head?[]:[g.records.head.id,d||""],branch:g.records.currBranch,type:h.MERGE,customType:o,customId:!!r,tags:a??[]};g.records.head=y,g.records.commits.set(y.id,y),g.records.branches.set(g.records.currBranch,y.id),s.R.debug(g.records.branches),s.R.debug("in mergeBranch")},"merge"),w=(0,c.K)(function(t){let e=t.id,r=t.targetId,o=t.tags,a=t.parent;s.R.debug("Entering cherryPick:",e,r,o);let i=m();if(e=n.Y2.sanitizeText(e,i),r=n.Y2.sanitizeText(r,i),o=o?.map(t=>n.Y2.sanitizeText(t,i)),a=n.Y2.sanitizeText(a,i),!e||!g.records.commits.has(e)){let t=Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let c=g.records.commits.get(e);if(void 0===c||!c)throw Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(a&&!(Array.isArray(c.parents)&&c.parents.includes(a)))throw Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let d=c.branch;if(c.type===h.MERGE&&!a)throw Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!r||!g.records.commits.has(r)){if(d===g.records.currBranch){let t=Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let t=g.records.branches.get(g.records.currBranch);if(void 0===t||!t){let t=Error(`Incorrect usage of "cherry-pick". Current branch (${g.records.currBranch})has no commits`);throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let i=g.records.commits.get(t);if(void 0===i||!i){let t=Error(`Incorrect usage of "cherry-pick". Current branch (${g.records.currBranch})has no commits`);throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let n={id:g.records.seq+"-"+p(),message:`cherry-picked ${c?.message} into ${g.records.currBranch}`,seq:g.records.seq++,parents:null==g.records.head?[]:[g.records.head.id,c.id],branch:g.records.currBranch,type:h.CHERRY_PICK,tags:o?o.filter(Boolean):[`cherry-pick:${c.id}${c.type===h.MERGE?`|parent:${a}`:""}`]};g.records.head=n,g.records.commits.set(n.id,n),g.records.branches.set(g.records.currBranch,n.id),s.R.debug(g.records.branches),s.R.debug("in cherryPick")}},"cherryPick"),E=(0,c.K)(function(t){if(t=n.Y2.sanitizeText(t,m()),g.records.branches.has(t)){g.records.currBranch=t;let e=g.records.branches.get(g.records.currBranch);void 0!==e&&e?g.records.head=g.records.commits.get(e)??null:g.records.head=null}else{let e=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw e.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},e}},"checkout");function T(t,e,r){let o=t.indexOf(e);-1===o?t.push(r):t.splice(o,1,r)}function C(t){let e=t.reduce((t,e)=>t.seq>e.seq?t:e,t[0]),r="";t.forEach(function(t){t===e?r+=" *":r+=" |"});let o=[r,e.id,e.seq];for(let t in g.records.branches)g.records.branches.get(t)===e.id&&o.push(t);if(s.R.debug(o.join(" ")),e.parents&&2==e.parents.length&&e.parents[0]&&e.parents[1]){let r=g.records.commits.get(e.parents[0]);T(t,e,r),e.parents[1]&&t.push(g.records.commits.get(e.parents[1]))}else if(0==e.parents.length)return;else if(e.parents[0]){let r=g.records.commits.get(e.parents[0]);T(t,e,r)}C(t=y(t,t=>t.id))}(0,c.K)(T,"upsert"),(0,c.K)(C,"prettyPrintCommitHistory");var L=(0,c.K)(function(){s.R.debug(g.records.commits),C([I()[0]])},"prettyPrint"),K=(0,c.K)(function(){g.reset(),(0,n.IU)()},"clear"),M=(0,c.K)(function(){return[...g.records.branchConfig.values()].map((t,e)=>null!==t.order&&void 0!==t.order?t:{...t,order:parseFloat(`0.${e}`)}).sort((t,e)=>(t.order??0)-(e.order??0)).map(({name:t})=>({name:t}))},"getBranchesAsObjArray"),R=(0,c.K)(function(){return g.records.branches},"getBranches"),v=(0,c.K)(function(){return g.records.commits},"getCommits"),I=(0,c.K)(function(){let t=[...g.records.commits.values()];return t.forEach(function(t){s.R.debug(t.id)}),t.sort((t,e)=>t.seq-e.seq),t},"getCommitsArray"),P={commitType:h,getConfig:m,setDirection:f,setOptions:x,getOptions:u,commit:b,branch:k,merge:B,cherryPick:w,checkout:E,prettyPrint:L,clear:K,getBranchesAsObjArray:M,getBranches:R,getCommits:v,getCommitsArray:I,getCurrentBranch:(0,c.K)(function(){return g.records.currBranch},"getCurrentBranch"),getDirection:(0,c.K)(function(){return g.records.direction},"getDirection"),getHead:(0,c.K)(function(){return g.records.head},"getHead"),setAccTitle:n.SV,getAccTitle:n.iN,getAccDescription:n.m7,setAccDescription:n.EI,setDiagramTitle:n.ke,getDiagramTitle:n.ab},O=(0,c.K)((t,e)=>{for(let r of((0,a.S)(t,e),t.dir&&e.setDirection(t.dir),t.statements))G(r,e)},"populate"),G=(0,c.K)((t,e)=>{let r={Commit:(0,c.K)(t=>e.commit(A(t)),"Commit"),Branch:(0,c.K)(t=>e.branch(S(t)),"Branch"),Merge:(0,c.K)(t=>e.merge(H(t)),"Merge"),Checkout:(0,c.K)(t=>e.checkout(D(t)),"Checkout"),CherryPicking:(0,c.K)(t=>e.cherryPick(W(t)),"CherryPicking")}[t.$type];r?r(t):s.R.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),A=(0,c.K)(t=>({id:t.id,msg:t.message??"",type:void 0!==t.type?h[t.type]:h.NORMAL,tags:t.tags??void 0}),"parseCommit"),S=(0,c.K)(t=>({name:t.name,order:t.order??0}),"parseBranch"),H=(0,c.K)(t=>({branch:t.branch,id:t.id??"",type:void 0!==t.type?h[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),D=(0,c.K)(t=>t.branch,"parseCheckout"),W=(0,c.K)(t=>({id:t.id,targetId:"",tags:t.tags?.length===0?void 0:t.tags,parent:t.parent}),"parseCherryPicking"),q={parse:(0,c.K)(async t=>{let e=await (0,d.qg)("gitGraph",t);s.R.debug(e),O(e,P)},"parse")},z=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),_=new Set(["redux-color","redux-dark-color"]),Y=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),j=(0,c.K)((t,e,r=!1)=>r&&t>0?(t-1)%(e-1)+1:t%e,"calcColorIndex"),N=new Map,F=new Map,U=new Map,V=[],X=0,J="LR",Q=(0,c.K)(()=>{N.clear(),F.clear(),U.clear(),X=0,V=[],J="LR"},"clear"),Z=(0,c.K)(t=>{let e=document.createElementNS("http://www.w3.org/2000/svg","text");return("string"==typeof t?t.split(/\\n|\n|<br\s*\/?>/gi):t).forEach(t=>{let r=document.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","0"),r.setAttribute("class","row"),r.textContent=t.trim(),e.appendChild(r)}),e},"drawText"),tt=(0,c.K)(t=>{let e,r,o;return"BT"===J?(r=(0,c.K)((t,e)=>t<=e,"comparisonFunc"),o=1/0):(r=(0,c.K)((t,e)=>t>=e,"comparisonFunc"),o=0),t.forEach(t=>{let a="TB"===J||"BT"==J?F.get(t)?.y:F.get(t)?.x;void 0!==a&&r(a,o)&&(e=t,o=a)}),e},"findClosestParent"),te=(0,c.K)(t=>{let e="",r=1/0;return t.forEach(t=>{let o=F.get(t).y;o<=r&&(e=t,r=o)}),e||void 0},"findClosestParentBT"),tr=(0,c.K)((t,e,r)=>{let o=r,a=r,i=[];t.forEach(t=>{let r=e.get(t);if(!r)throw Error(`Commit not found for key ${t}`);r.parents.length?a=Math.max(o=ta(r),a):i.push(r),ti(r,o)}),o=a,i.forEach(t=>{tn(t,o,r)}),t.forEach(t=>{let r=e.get(t);if(r?.parents.length){let t=te(r.parents);(o=F.get(t).y-40)<=a&&(a=o);let e=N.get(r.branch).pos,i=o-10;F.set(r.id,{x:e,y:i})}})},"setParallelBTPos"),to=(0,c.K)(t=>{let e=tt(t.parents.filter(t=>null!==t));if(!e)throw Error(`Closest parent not found for commit ${t.id}`);let r=F.get(e)?.y;if(void 0===r)throw Error(`Closest parent position not found for commit ${t.id}`);return r},"findClosestParentPos"),ta=(0,c.K)(t=>to(t)+40,"calculateCommitPosition"),ti=(0,c.K)((t,e)=>{let r=N.get(t.branch);if(!r)throw Error(`Branch not found for commit ${t.id}`);let o=r.pos,a=e+10;return F.set(t.id,{x:o,y:a}),{x:o,y:a}},"setCommitPosition"),tn=(0,c.K)((t,e,r)=>{let o=N.get(t.branch);if(!o)throw Error(`Branch not found for commit ${t.id}`);let a=o.pos;F.set(t.id,{x:a,y:e+r})},"setRootPosition"),ts=(0,c.K)((t,e,r,o,a,i)=>{let{theme:s}=(0,n.D7)(),c=z.has(s??""),d=_.has(s??""),l=Y.has(s??"");if(i===h.HIGHLIGHT)t.append("rect").attr("x",r.x-10+3*!!c).attr("y",r.y-10+3*!!c).attr("width",c?14:20).attr("height",c?14:20).attr("class",`commit ${e.id} commit-highlight${j(a,8,d)} ${o}-outer`),t.append("rect").attr("x",r.x-6+2*!!c).attr("y",r.y-6+2*!!c).attr("width",c?8:12).attr("height",c?8:12).attr("class",`commit ${e.id} commit${j(a,8,d)} ${o}-inner`);else if(i===h.CHERRY_PICK)t.append("circle").attr("cx",r.x).attr("cy",r.y).attr("r",c?7:10).attr("class",`commit ${e.id} ${o}`),t.append("circle").attr("cx",r.x-3).attr("cy",r.y+2).attr("r",c?2.5:2.75).attr("fill",l?"#000000":"#fff").attr("class",`commit ${e.id} ${o}`),t.append("circle").attr("cx",r.x+3).attr("cy",r.y+2).attr("r",c?2.5:2.75).attr("fill",l?"#000000":"#fff").attr("class",`commit ${e.id} ${o}`),t.append("line").attr("x1",r.x+3).attr("y1",r.y+1).attr("x2",r.x).attr("y2",r.y-5).attr("stroke",l?"#000000":"#fff").attr("class",`commit ${e.id} ${o}`),t.append("line").attr("x1",r.x-3).attr("y1",r.y+1).attr("x2",r.x).attr("y2",r.y-5).attr("stroke",l?"#000000":"#fff").attr("class",`commit ${e.id} ${o}`);else{let n=t.append("circle");if(n.attr("cx",r.x),n.attr("cy",r.y),n.attr("r",c?7:10),n.attr("class",`commit ${e.id} commit${j(a,8,d)}`),i===h.MERGE){let i=t.append("circle");i.attr("cx",r.x),i.attr("cy",r.y),i.attr("r",c?5:6),i.attr("class",`commit ${o} ${e.id} commit${j(a,8,d)}`)}if(i===h.REVERSE){let i=t.append("path"),n=c?4:5;i.attr("d",`M ${r.x-n},${r.y-n}L${r.x+n},${r.y+n}M${r.x-n},${r.y+n}L${r.x+n},${r.y-n}`).attr("class",`commit ${o} ${e.id} commit${j(a,8,d)}`)}}},"drawCommitBullet"),tc=(0,c.K)((t,e,r,o,a)=>{if(e.type!==h.CHERRY_PICK&&(e.customId&&e.type===h.MERGE||e.type!==h.MERGE)&&a.showCommitLabel){let i=t.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),s=i.append("text").attr("x",o).attr("y",r.y+25).attr("class","commit-label").text(e.id),c=s.node()?.getBBox();if(c&&(n.attr("x",r.posWithOffset-c.width/2-2).attr("y",r.y+13.5).attr("width",c.width+4).attr("height",c.height+4),"TB"===J||"BT"===J?(n.attr("x",r.x-(c.width+16+5)).attr("y",r.y-12),s.attr("x",r.x-(c.width+16)).attr("y",r.y+c.height-12)):s.attr("x",r.posWithOffset-c.width/2),a.rotateCommitLabel))if("TB"===J||"BT"===J)s.attr("transform","rotate(-45, "+r.x+", "+r.y+")"),n.attr("transform","rotate(-45, "+r.x+", "+r.y+")");else{let t=-7.5-(c.width+10)/25*9.5,e=10+c.width/25*8.5;i.attr("transform","translate("+t+", "+e+") rotate(-45, "+o+", "+r.y+")")}}},"drawCommitLabel"),td=(0,c.K)((t,e,r,o)=>{if(e.tags.length>0){let a=0,i=0,n=0,s=[];for(let o of e.tags.reverse()){let e=t.insert("polygon"),c=t.append("circle"),d=t.append("text").attr("y",r.y-16-a).attr("class","tag-label").text(o),l=d.node()?.getBBox();if(!l)throw Error("Tag bbox not found");i=Math.max(i,l.width),n=Math.max(n,l.height),d.attr("x",r.posWithOffset-l.width/2),s.push({tag:d,hole:c,rect:e,yOffset:a}),a+=20}for(let{tag:t,hole:e,rect:a,yOffset:c}of s){let s=n/2,d=r.y-19.2-c;if(a.attr("class","tag-label-bkg").attr("points",`
2
+ ${o-i/2-2},${d+2}
3
+ ${o-i/2-2},${d-2}
4
+ ${r.posWithOffset-i/2-4},${d-s-2}
5
+ ${r.posWithOffset+i/2+4},${d-s-2}
6
+ ${r.posWithOffset+i/2+4},${d+s+2}
7
+ ${r.posWithOffset-i/2-4},${d+s+2}`),e.attr("cy",d).attr("cx",o-i/2+2).attr("r",1.5).attr("class","tag-hole"),"TB"===J||"BT"===J){let n=o+c;a.attr("class","tag-label-bkg").attr("points",`
8
+ ${r.x},${n+2}
9
+ ${r.x},${n-2}
10
+ ${r.x+10},${n-s-2}
11
+ ${r.x+10+i+4},${n-s-2}
12
+ ${r.x+10+i+4},${n+s+2}
13
+ ${r.x+10},${n+s+2}`).attr("transform","translate(12,12) rotate(45, "+r.x+","+o+")"),e.attr("cx",r.x+2).attr("cy",n).attr("transform","translate(12,12) rotate(45, "+r.x+","+o+")"),t.attr("x",r.x+5).attr("y",n+3).attr("transform","translate(14,14) rotate(45, "+r.x+","+o+")")}}}},"drawCommitTags"),tl=(0,c.K)(t=>{switch(t.customType??t.type){case h.NORMAL:return"commit-normal";case h.REVERSE:return"commit-reverse";case h.HIGHLIGHT:return"commit-highlight";case h.MERGE:return"commit-merge";case h.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),th=(0,c.K)((t,e,r,o)=>{let a={x:0,y:0};if(t.parents.length>0){let r=tt(t.parents);if(r){let i=o.get(r)??a;return"TB"===e?i.y+40:"BT"===e?(o.get(t.id)??a).y-40:i.x+40}}else if("TB"===e)return 30;else if("BT"===e)return(o.get(t.id)??a).y-40;return 0},"calculatePosition"),t$=(0,c.K)((t,e,r)=>{let o="BT"===J&&r?e:e+10,a=N.get(t.branch)?.pos,i="TB"===J||"BT"===J?N.get(t.branch)?.pos:o;if(void 0===i||void 0===a)throw Error(`Position were undefined for commit ${t.id}`);let s=z.has((0,n.D7)().theme??"");return{x:i,y:"TB"===J||"BT"===J?o:a+(s?7:-2),posWithOffset:o}},"getCommitPosition"),tm=(0,c.K)((t,e,r,o)=>{let a=t.append("g").attr("class","commit-bullets"),i=t.append("g").attr("class","commit-labels"),n=30*("TB"===J||"BT"===J),s=[...e.keys()],d=o.parallelCommits??!1,l=s.sort((0,c.K)((t,r)=>{let o=e.get(t)?.seq,a=e.get(r)?.seq;return void 0!==o&&void 0!==a?o-a:0},"sortKeys"));"BT"===J&&(d&&tr(l,e,n),l=l.reverse()),l.forEach(t=>{let s=e.get(t);if(!s)throw Error(`Commit not found for key ${t}`);d&&(n=th(s,J,n,F));let c=t$(s,n,d);if(r){let t=tl(s),e=s.customType??s.type,r=N.get(s.branch)?.index??0;ts(a,s,c,t,r,e),tc(i,s,c,n,o),td(i,s,c,n)}"TB"===J||"BT"===J?F.set(s.id,{x:c.x,y:c.posWithOffset}):F.set(s.id,{x:c.posWithOffset,y:c.y}),(n="BT"===J&&d?n+40:n+40+10)>X&&(X=n)})},"drawCommits"),tg=(0,c.K)((t,e,r,o,a)=>{let i=("TB"===J||"BT"===J?r.x<o.x:r.y<o.y)?e.branch:t.branch,n=(0,c.K)(t=>t.branch===i,"isOnBranchToGetCurve"),s=(0,c.K)(r=>r.seq>t.seq&&r.seq<e.seq,"isBetweenCommits");return[...a.values()].some(t=>s(t)&&n(t))},"shouldRerouteArrow"),tp=(0,c.K)((t,e,r=0)=>{let o=t+Math.abs(t-e)/2;if(r>5)return o;if(V.every(t=>Math.abs(t-o)>=10))return V.push(o),o;let a=Math.abs(t-e);return tp(t,e-a/5,r+1)},"findLane"),ty=(0,c.K)((t,e,r,o)=>{let a,{theme:i}=(0,n.D7)(),s=_.has(i??""),c=F.get(e.id),d=F.get(r.id);if(void 0===c||void 0===d)throw Error(`Commit positions not found for commits ${e.id} and ${r.id}`);let l=tg(e,r,c,d,o),$="",m="",g=0,p=0,y=N.get(r.branch)?.index;if(r.type===h.MERGE&&e.id!==r.parents[0]&&(y=N.get(e.branch)?.index),l){$="A 10 10, 0, 0, 0,",m="A 10 10, 0, 0, 1,",g=10,p=10;let t=c.y<d.y?tp(c.y,d.y):tp(d.y,c.y),r=c.x<d.x?tp(c.x,d.x):tp(d.x,c.x);"TB"===J?c.x<d.x?a=`M ${c.x} ${c.y} L ${r-g} ${c.y} ${m} ${r} ${c.y+p} L ${r} ${d.y-g} ${$} ${r+p} ${d.y} L ${d.x} ${d.y}`:(y=N.get(e.branch)?.index,a=`M ${c.x} ${c.y} L ${r+g} ${c.y} ${$} ${r} ${c.y+p} L ${r} ${d.y-g} ${m} ${r-p} ${d.y} L ${d.x} ${d.y}`):"BT"===J?c.x<d.x?a=`M ${c.x} ${c.y} L ${r-g} ${c.y} ${$} ${r} ${c.y-p} L ${r} ${d.y+g} ${m} ${r+p} ${d.y} L ${d.x} ${d.y}`:(y=N.get(e.branch)?.index,a=`M ${c.x} ${c.y} L ${r+g} ${c.y} ${m} ${r} ${c.y-p} L ${r} ${d.y+g} ${$} ${r-p} ${d.y} L ${d.x} ${d.y}`):c.y<d.y?a=`M ${c.x} ${c.y} L ${c.x} ${t-g} ${$} ${c.x+p} ${t} L ${d.x-g} ${t} ${m} ${d.x} ${t+p} L ${d.x} ${d.y}`:(y=N.get(e.branch)?.index,a=`M ${c.x} ${c.y} L ${c.x} ${t+g} ${m} ${c.x+p} ${t} L ${d.x-g} ${t} ${$} ${d.x} ${t-p} L ${d.x} ${d.y}`)}else $="A 20 20, 0, 0, 0,",m="A 20 20, 0, 0, 1,",g=20,p=20,"TB"===J?(c.x<d.x&&(a=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${c.x} ${c.y} L ${c.x} ${d.y-g} ${$} ${c.x+p} ${d.y} L ${d.x} ${d.y}`:`M ${c.x} ${c.y} L ${d.x-g} ${c.y} ${m} ${d.x} ${c.y+p} L ${d.x} ${d.y}`),c.x>d.x&&($="A 20 20, 0, 0, 0,",m="A 20 20, 0, 0, 1,",g=20,p=20,a=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${c.x} ${c.y} L ${c.x} ${d.y-g} ${m} ${c.x-p} ${d.y} L ${d.x} ${d.y}`:`M ${c.x} ${c.y} L ${d.x+g} ${c.y} ${$} ${d.x} ${c.y+p} L ${d.x} ${d.y}`),c.x===d.x&&(a=`M ${c.x} ${c.y} L ${d.x} ${d.y}`)):"BT"===J?(c.x<d.x&&(a=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${c.x} ${c.y} L ${c.x} ${d.y+g} ${m} ${c.x+p} ${d.y} L ${d.x} ${d.y}`:`M ${c.x} ${c.y} L ${d.x-g} ${c.y} ${$} ${d.x} ${c.y-p} L ${d.x} ${d.y}`),c.x>d.x&&($="A 20 20, 0, 0, 0,",m="A 20 20, 0, 0, 1,",g=20,p=20,a=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${c.x} ${c.y} L ${c.x} ${d.y+g} ${$} ${c.x-p} ${d.y} L ${d.x} ${d.y}`:`M ${c.x} ${c.y} L ${d.x+g} ${c.y} ${m} ${d.x} ${c.y-p} L ${d.x} ${d.y}`),c.x===d.x&&(a=`M ${c.x} ${c.y} L ${d.x} ${d.y}`)):(c.y<d.y&&(a=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${c.x} ${c.y} L ${d.x-g} ${c.y} ${m} ${d.x} ${c.y+p} L ${d.x} ${d.y}`:`M ${c.x} ${c.y} L ${c.x} ${d.y-g} ${$} ${c.x+p} ${d.y} L ${d.x} ${d.y}`),c.y>d.y&&(a=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${c.x} ${c.y} L ${d.x-g} ${c.y} ${$} ${d.x} ${c.y-p} L ${d.x} ${d.y}`:`M ${c.x} ${c.y} L ${c.x} ${d.y+g} ${m} ${c.x+p} ${d.y} L ${d.x} ${d.y}`),c.y===d.y&&(a=`M ${c.x} ${c.y} L ${d.x} ${d.y}`));if(void 0===a)throw Error("Line definition not found");t.append("path").attr("d",a).attr("class","arrow arrow"+j(y,8,s))},"drawArrow"),tf=(0,c.K)((t,e)=>{let r=t.append("g").attr("class","commit-arrows");[...e.keys()].forEach(t=>{let o=e.get(t);o.parents&&o.parents.length>0&&o.parents.forEach(t=>{ty(r,e.get(t),o,e)})})},"drawArrows"),tx=(0,c.K)((t,e,r,o)=>{let{look:a,theme:i,themeVariables:s}=(0,n.D7)(),{dropShadow:c,THEME_COLOR_LIMIT:d}=s,l=z.has(i??""),h=_.has(i??""),$=t.append("g");e.forEach((t,e)=>{let i=j(e,l?d:8,h),n=N.get(t.name)?.pos;if(void 0===n)throw Error(`Position not found for branch ${t.name}`);let s="TB"===J||"BT"===J?n:l?n+6+1:n-2,m=$.append("line");m.attr("x1",0),m.attr("y1",s),m.attr("x2",X),m.attr("y2",s),m.attr("class","branch branch"+i),"TB"===J?(m.attr("y1",30),m.attr("x1",n),m.attr("y2",X),m.attr("x2",n)):"BT"===J&&(m.attr("y1",X),m.attr("x1",n),m.attr("y2",30),m.attr("x2",n)),V.push(s);let g=Z(t.name),p=$.insert("rect"),y=$.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+i);y.node().appendChild(g);let f=g.getBBox(),x=4*!l,u=16*!!l,b=12*!!l;"neo"===a&&p.attr("data-look","neo"),p.attr("class","branchLabelBkg label"+i).attr("style","neo"===a?`filter:${l?`url(#${o}-drop-shadow)`:c}`:"").attr("rx",x).attr("ry",x).attr("x",-f.width-4-30*(!0===r.rotateCommitLabel)).attr("y",-f.height/2+10).attr("width",f.width+18+u).attr("height",f.height+4+b),y.attr("transform","translate("+(-f.width-14-30*(!0===r.rotateCommitLabel)+u/2)+", "+(s-f.height/2-2)+")"),"TB"===J?(p.attr("x",n-f.width/2-10).attr("y",0),y.attr("transform","translate("+(n-f.width/2-5)+", 0)"),l&&(p.attr("transform",`translate(${-u/2-3}, ${-b-10})`),y.attr("transform","translate("+(n-f.width/2-5)+", "+(-(2*b)+7)+")"))):"BT"===J?(p.attr("x",n-f.width/2-10).attr("y",X),y.attr("transform","translate("+(n-f.width/2-5)+", "+X+")"),l&&(p.attr("transform",`translate(${-u/2-3}, ${b+10})`),y.attr("transform","translate("+(n-f.width/2-5)+", "+(X+2*b+4)+")"))):p.attr("transform","translate(-19, "+(s-12-b/2)+")")})},"drawBranches"),tu=(0,c.K)(function(t,e,r,o,a){return N.set(t,{pos:e,index:r}),e+=50+40*!!a+("TB"===J||"BT"===J?o.width/2:0)},"setBranchPosition"),tb=(0,c.K)(function(t,e,r,o){Q(),s.R.debug("in gitgraph renderer",t+"\n","id:",e,r);let a=o.db;if(!a.getConfig)return void s.R.error("getConfig method is not available on db");let c=a.getConfig(),d=c.rotateCommitLabel??!1;U=a.getCommits();let h=a.getBranchesAsObjArray();J=a.getDirection();let $=(0,l.Ltv)(`[id="${e}"]`),{look:m,theme:g,themeVariables:p}=(0,n.D7)(),{useGradient:y,gradientStart:f,gradientStop:x,filterColor:u}=p;if(y){let t=$.append("defs").append("linearGradient").attr("id",e+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");t.append("stop").attr("offset","0%").attr("stop-color",f).attr("stop-opacity",1),t.append("stop").attr("offset","100%").attr("stop-color",x).attr("stop-opacity",1)}"neo"===m&&z.has(g??"")&&$.append("defs").append("filter").attr("id",e+"-drop-shadow").attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",u);let b=0;h.forEach((t,e)=>{let r=Z(t.name),o=$.append("g"),a=o.insert("g").attr("class","branchLabel"),i=a.insert("g").attr("class","label branch-label");i.node()?.appendChild(r);let n=r.getBBox();b=tu(t.name,b,e,n,d),i.remove(),a.remove(),o.remove()}),tm($,U,!1,c),c.showBranches&&tx($,h,c,e),tf($,U),tm($,U,!0,c),i._K.insertTitle($,"gitTitleText",c.titleTopMargin??0,a.getDiagramTitle()),(0,n.mj)(void 0,$,c.diagramPadding,c.useMaxWidth)},"draw"),tk=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),tB=new Set(["redux-color","redux-dark-color"]),tw=new Set(["neo","neo-dark"]),tE=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),tT=new Set(["redux","redux-dark","redux-color","redux-dark-color","neo","neo-dark"]),tC=(0,c.K)(t=>{let{svgId:e}=t,r="";if(t.useGradient&&e)for(let o=0;o<t.THEME_COLOR_LIMIT;o++)r+=`
14
+ .label${o} { fill: ${t.mainBkg}; stroke: url(${e}-gradient); stroke-width: ${t.strokeWidth};}
15
+ `;return r},"genGitGraphGradient"),tL=(0,c.K)(t=>{let{theme:e,themeVariables:r}=(0,n.zj)(),{borderColorArray:o}=r,a=tk.has(e);if(tw.has(e)){let e="";for(let r=0;r<t.THEME_COLOR_LIMIT;r++)if(0===r)e+=`
16
+ .branch-label${r} { fill: ${t.nodeBorder};}
17
+ .commit${r} { stroke: ${t.nodeBorder}; }
18
+ .commit-highlight${r} { stroke: ${t.nodeBorder}; fill: ${t.nodeBorder}; }
19
+ .arrow${r} { stroke: ${t.nodeBorder}; }
20
+ .commit-bullets { fill: ${t.nodeBorder}; }
21
+ .commit-cherry-pick${r} { stroke: ${t.nodeBorder}; }
22
+ ${tC(t)}`;else{let o=r%8;e+=`
23
+ .branch-label${r} { fill: ${t["gitBranchLabel"+o]}; }
24
+ .commit${r} { stroke: ${t["git"+o]}; fill: ${t["git"+o]}; }
25
+ .commit-highlight${r} { stroke: ${t["gitInv"+o]}; fill: ${t["gitInv"+o]}; }
26
+ .arrow${r} { stroke: ${t["git"+o]}; }
27
+ `}return e}if(tB.has(e)){let r="";for(let i=0;i<t.THEME_COLOR_LIMIT;i++)if(0===i)r+=`
28
+ .branch-label${i} { fill: ${t.nodeBorder}; ${a?`font-weight:${t.noteFontWeight}`:""} }
29
+ .commit${i} { stroke: ${t.nodeBorder}; }
30
+ .commit-highlight${i} { stroke: ${t.nodeBorder}; fill: ${t.mainBkg}; }
31
+ .label${i} { fill: ${t.mainBkg}; stroke: ${t.nodeBorder}; stroke-width: ${t.strokeWidth}; ${a?`font-weight:${t.noteFontWeight}`:""} }
32
+ .arrow${i} { stroke: ${t.nodeBorder}; }
33
+ .commit-bullets { fill: ${t.nodeBorder}; }
34
+ `;else{let n=i%o.length;r+=`
35
+ .branch-label${i} { fill: ${t.nodeBorder}; ${a?`font-weight:${t.noteFontWeight}`:""} }
36
+ .commit${i} { stroke: ${o[n]}; fill: ${o[n]}; }
37
+ .commit-highlight${i} { stroke: ${o[n]}; fill: ${o[n]}; }
38
+ .label${i} { fill: ${tE.has(e)?t.mainBkg:o[n]}; stroke: ${o[n]}; stroke-width: ${t.strokeWidth}; }
39
+ .arrow${i} { stroke: ${o[n]}; }
40
+ `}return r}{let e="";for(let r=0;r<t.THEME_COLOR_LIMIT;r++)e+=`
41
+ .branch-label${r} { fill: ${t.nodeBorder}; ${a?`font-weight:${t.noteFontWeight}`:""} }
42
+ .commit${r} { stroke: ${t.nodeBorder}; }
43
+ .commit-highlight${r} { stroke: ${t.nodeBorder}; fill: ${t.nodeBorder}; }
44
+ .label${r} { fill: ${t.mainBkg}; stroke: ${t.nodeBorder}; stroke-width: ${t.strokeWidth}; ${a?`font-weight:${t.noteFontWeight}`:""}}
45
+ .arrow${r} { stroke: ${t.nodeBorder}; }
46
+ .commit-bullets { fill: ${t.nodeBorder}; }
47
+ .commit-cherry-pick${r} { stroke: ${t.nodeBorder}; }
48
+ `;return e}},"genColor"),tK=(0,c.K)(t=>`${Array.from({length:t.THEME_COLOR_LIMIT},(t,e)=>e).map(e=>{let r=e%8;return`
49
+ .branch-label${e} { fill: ${t["gitBranchLabel"+r]}; }
50
+ .commit${e} { stroke: ${t["git"+r]}; fill: ${t["git"+r]}; }
51
+ .commit-highlight${e} { stroke: ${t["gitInv"+r]}; fill: ${t["gitInv"+r]}; }
52
+ .label${e} { fill: ${t["git"+r]}; }
53
+ .arrow${e} { stroke: ${t["git"+r]}; }
54
+ `}).join("\n")}`,"normalTheme"),tM={parser:q,db:P,renderer:{draw:tb},styles:(0,c.K)(t=>{let{theme:e}=(0,n.zj)(),r=tT.has(e);return`
55
+ .commit-id,
56
+ .commit-msg,
57
+ .branch-label {
58
+ fill: lightgrey;
59
+ color: lightgrey;
60
+ font-family: 'trebuchet ms', verdana, arial, sans-serif;
61
+ font-family: var(--mermaid-font-family);
62
+ }
63
+
64
+ ${r?tL(t):tK(t)}
65
+
66
+ .branch {
67
+ stroke-width: ${t.strokeWidth};
68
+ stroke: ${t.commitLineColor??t.lineColor};
69
+ stroke-dasharray: ${r?"4 2":"2"};
70
+ }
71
+ .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${r?t.nodeBorder:t.commitLabelColor}; ${r?`font-weight:${t.noteFontWeight};`:""}}
72
+ .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${r?"transparent":t.commitLabelBackground}; opacity: ${r?"":.5}; }
73
+ .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}
74
+ .tag-label-bkg { fill: ${r?t.mainBkg:t.tagLabelBackground}; stroke: ${r?t.nodeBorder:t.tagLabelBorder}; ${r?`filter:${t.dropShadow}`:""} }
75
+ .tag-hole { fill: ${t.textColor}; }
76
+
77
+ .commit-merge {
78
+ stroke: ${r?t.mainBkg:t.primaryColor};
79
+ fill: ${r?t.mainBkg:t.primaryColor};
80
+ }
81
+ .commit-reverse {
82
+ stroke: ${r?t.mainBkg:t.primaryColor};
83
+ fill: ${r?t.mainBkg:t.primaryColor};
84
+ stroke-width: ${r?t.strokeWidth:3};
85
+ }
86
+ .commit-highlight-outer {
87
+ }
88
+ .commit-highlight-inner {
89
+ stroke: ${r?t.mainBkg:t.primaryColor};
90
+ fill: ${r?t.mainBkg:t.primaryColor};
91
+ }
92
+
93
+ .arrow {
94
+ /* Intentional: neo themes keep the bold 8px arrow (like classic themes); only redux-geometry themes use the thinner options.strokeWidth. */
95
+ stroke-width: ${tk.has(e)?t.strokeWidth:8};
96
+ stroke-linecap: round;
97
+ fill: none
98
+ }
99
+ .gitTitleText {
100
+ text-anchor: middle;
101
+ font-size: 18px;
102
+ fill: ${t.textColor};
103
+ }
104
+ `},"getStyles")};r.d(e,{diagram:()=>tM})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.rspackChunkompchamber=self.rspackChunkompchamber||[]).push([["l6"],{l5(t,e,r){r.d(e,{A:()=>s});var n=r("TK"),o=function(t,e){for(var r=t.length;r--;)if((0,n.A)(t[r][0],e))return r;return -1},i=Array.prototype.splice;function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=function(){this.__data__=[],this.size=0},u.prototype.delete=function(t){var e=this.__data__,r=o(e,t);return!(r<0)&&(r==e.length-1?e.pop():i.call(e,r,1),--this.size,!0)},u.prototype.get=function(t){var e=this.__data__,r=o(e,t);return r<0?void 0:e[r][1]},u.prototype.has=function(t){return o(this.__data__,t)>-1},u.prototype.set=function(t,e){var r=this.__data__,n=o(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};var s=u},Cz(t,e,r){var n=r("uf"),o=r("CvH");e.A=(0,n.A)(o.A,"Map")},mb(t,e,r){r.d(e,{A:()=>l});var n=(0,r("uf").A)(Object,"create"),o=Object.prototype.hasOwnProperty,i=Object.prototype.hasOwnProperty;function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=function(){this.__data__=n?n(null):{},this.size=0},u.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e},u.prototype.get=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0},u.prototype.has=function(t){var e=this.__data__;return n?void 0!==e[t]:i.call(e,t)},u.prototype.set=function(t,e){var r=this.__data__;return this.size+=+!this.has(t),r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this};var s=r("l5"),a=r("Cz"),c=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t},f=function(t,e){var r=t.__data__;return c(e)?r["string"==typeof e?"string":"hash"]:r.map};function h(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=function(){this.size=0,this.__data__={hash:new u,map:new(a.A||s.A),string:new u}},h.prototype.delete=function(t){var e=f(this,t).delete(t);return this.size-=!!e,e},h.prototype.get=function(t){return f(this,t).get(t)},h.prototype.has=function(t){return f(this,t).has(t)},h.prototype.set=function(t,e){var r=f(this,t),n=r.size;return r.set(t,e),this.size+=+(r.size!=n),this};var l=h},ka5(t,e,r){var n=r("uf"),o=r("CvH");e.A=(0,n.A)(o.A,"Set")},a4(t,e,r){r.d(e,{A:()=>i});var n=r("mb");function o(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n.A;++e<r;)this.add(t[e])}o.prototype.add=o.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},o.prototype.has=function(t){return this.__data__.has(t)};var i=o},Zw(t,e,r){r.d(e,{A:()=>s});var n=r("l5"),o=r("Cz"),i=r("mb");function u(t){var e=this.__data__=new n.A(t);this.size=e.size}u.prototype.clear=function(){this.__data__=new n.A,this.size=0},u.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},u.prototype.get=function(t){return this.__data__.get(t)},u.prototype.has=function(t){return this.__data__.has(t)},u.prototype.set=function(t,e){var r=this.__data__;if(r instanceof n.A){var u=r.__data__;if(!o.A||u.length<199)return u.push([t,e]),this.size=++r.size,this;r=this.__data__=new i.A(u)}return r.set(t,e),this.size=r.size,this};var s=u},Iu(t,e,r){e.A=r("CvH").A.Symbol},XI(t,e,r){e.A=r("CvH").A.Uint8Array},C0(t,e){e.A=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t}},Iy(t,e){e.A=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var u=t[r];e(u,r,t)&&(i[o++]=u)}return i}},cu(t,e,r){r.d(e,{A:()=>f});var n=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n},o=r("rFc"),i=r("D2"),u=r("Fr"),s=r("s6"),a=r("Hm"),c=Object.prototype.hasOwnProperty,f=function(t,e){var r=(0,i.A)(t),f=!r&&(0,o.A)(t),h=!r&&!f&&(0,u.A)(t),l=!r&&!f&&!h&&(0,a.A)(t),A=r||f||h||l,d=A?n(t.length,String):[],p=d.length;for(var v in t)(e||c.call(t,v))&&!(A&&("length"==v||h&&("offset"==v||"parent"==v)||l&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||(0,s.A)(v,p)))&&d.push(v);return d}},Yk(t,e){e.A=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},sA(t,e){e.A=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},hp(t,e,r){r.d(e,{A:()=>u});var n,o=r("c4"),i=r("xnM"),u=(n=o.A,function(t,e){if(null==t)return t;if(!(0,i.A)(t))return n(t,e);for(var r=t.length,o=-1,u=Object(t);++o<r&&!1!==e(u[o],o,u););return t})},YT(t,e){e.A=function(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i<o;)if(e(t[i],i,t))return i;return -1}},Ll(t,e,r){r.d(e,{A:()=>c});var n=r("sA"),o=r("Iu"),i=r("rFc"),u=r("D2"),s=o.A?o.A.isConcatSpreadable:void 0,a=function(t){return(0,u.A)(t)||(0,i.A)(t)||!!(s&&t&&t[s])},c=function t(e,r,o,i,u){var s=-1,c=e.length;for(o||(o=a),u||(u=[]);++s<c;){var f=e[s];r>0&&o(f)?r>1?t(f,r-1,o,i,u):(0,n.A)(u,f):i||(u[u.length]=f)}return u}},mm(t,e,r){r.d(e,{A:()=>n});var n=function(t,e,r){for(var n=-1,o=Object(t),i=r(t),u=i.length;u--;){var s=i[++n];if(!1===e(o[s],s,o))break}return t}},c4(t,e,r){var n=r("mm"),o=r("Fv");e.A=function(t,e){return t&&(0,n.A)(t,e,o.A)}},sE(t,e,r){var n=r("JA"),o=r("tU");e.A=function(t,e){e=(0,n.A)(e,t);for(var r=0,i=e.length;null!=t&&r<i;)t=t[(0,o.A)(e[r++])];return r&&r==i?t:void 0}},Qz(t,e,r){var n=r("sA"),o=r("D2");e.A=function(t,e,r){var i=e(t);return(0,o.A)(t)?i:(0,n.A)(i,r(t))}},qdn(t,e,r){r.d(e,{A:()=>h});var n=r("Iu"),o=Object.prototype,i=o.hasOwnProperty,u=o.toString,s=n.A?n.A.toStringTag:void 0,a=function(t){var e=i.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=u.call(t);return n&&(e?t[s]=r:delete t[s]),o},c=Object.prototype.toString,f=n.A?n.A.toStringTag:void 0,h=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":f&&f in Object(t)?a(t):c.call(t)}},bQs(t,e,r){r.d(e,{A:()=>V});var n=r("Zw"),o=r("a4"),i=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1},u=r("f3"),s=function(t,e,r,n,s,a){var c=1&r,f=t.length,h=e.length;if(f!=h&&!(c&&h>f))return!1;var l=a.get(t),A=a.get(e);if(l&&A)return l==e&&A==t;var d=-1,p=!0,v=2&r?new o.A:void 0;for(a.set(t,e),a.set(e,t);++d<f;){var _=t[d],b=e[d];if(n)var y=c?n(b,_,d,e,t,a):n(_,b,d,t,e,a);if(void 0!==y){if(y)continue;p=!1;break}if(v){if(!i(e,function(t,e){if(!(0,u.A)(v,e)&&(_===t||s(_,t,r,n,a)))return v.push(e)})){p=!1;break}}else if(!(_===b||s(_,b,r,n,a))){p=!1;break}}return a.delete(t),a.delete(e),p},a=r("Iu"),c=r("XI"),f=r("TK"),h=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r},l=r("Ft"),A=a.A?a.A.prototype:void 0,d=A?A.valueOf:void 0,p=function(t,e,r,n,o,i,u){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!i(new c.A(t),new c.A(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,f.A)(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var a=h;case"[object Set]":var A=1&n;if(a||(a=l.A),t.size!=e.size&&!A)break;var p=u.get(t);if(p)return p==e;n|=2,u.set(t,e);var v=s(a(t),a(e),n,o,i,u);return u.delete(t),v;case"[object Symbol]":if(d)return d.call(t)==d.call(e)}return!1},v=r("uN"),_=Object.prototype.hasOwnProperty,b=function(t,e,r,n,o,i){var u=1&r,s=(0,v.A)(t),a=s.length;if(a!=(0,v.A)(e).length&&!u)return!1;for(var c=a;c--;){var f=s[c];if(!(u?f in e:_.call(e,f)))return!1}var h=i.get(t),l=i.get(e);if(h&&l)return h==e&&l==t;var A=!0;i.set(t,e),i.set(e,t);for(var d=u;++c<a;){var p=t[f=s[c]],b=e[f];if(n)var y=u?n(b,p,f,e,t,i):n(p,b,f,t,e,i);if(!(void 0===y?p===b||o(p,b,r,n,i):y)){A=!1;break}d||(d="constructor"==f)}if(A&&!d){var g=t.constructor,j=e.constructor;g!=j&&"constructor"in t&&"constructor"in e&&!("function"==typeof g&&g instanceof g&&"function"==typeof j&&j instanceof j)&&(A=!1)}return i.delete(t),i.delete(e),A},y=r("VB"),g=r("D2"),j=r("Fr"),m=r("Hm"),O="[object Arguments]",w="[object Array]",C="[object Object]",F=Object.prototype.hasOwnProperty,E=function(t,e,r,o,i,u){var a=(0,g.A)(t),c=(0,g.A)(e),f=a?w:(0,y.A)(t),h=c?w:(0,y.A)(e);f=f==O?C:f,h=h==O?C:h;var l=f==C,A=h==C,d=f==h;if(d&&(0,j.A)(t)){if(!(0,j.A)(e))return!1;a=!0,l=!1}if(d&&!l)return u||(u=new n.A),a||(0,m.A)(t)?s(t,e,r,o,i,u):p(t,e,f,r,o,i,u);if(!(1&r)){var v=l&&F.call(t,"__wrapped__"),_=A&&F.call(e,"__wrapped__");if(v||_){var E=v?t.value():t,L=_?e.value():e;return u||(u=new n.A),i(E,L,r,o,u)}}return!!d&&(u||(u=new n.A),b(t,e,r,o,i,u))},L=r("iK"),z=function t(e,r,n,o,i){return e===r||(null!=e&&null!=r&&((0,L.A)(e)||(0,L.A)(r))?E(e,r,n,o,t,i):e!=e&&r!=r)},P=function(t,e,r,o){var i=r.length,u=i,s=!o;if(null==t)return!u;for(t=Object(t);i--;){var a=r[i];if(s&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<u;){var c=(a=r[i])[0],f=t[c],h=a[1];if(s&&a[2]){if(void 0===f&&!(c in t))return!1}else{var l=new n.A;if(o)var A=o(f,h,c,t,e,l);if(!(void 0===A?z(h,f,3,o,l):A))return!1}}return!0},D=r("cN"),k=function(t){return t==t&&!(0,D.A)(t)},N=r("Fv"),x=function(t){for(var e=(0,N.A)(t),r=e.length;r--;){var n=e[r],o=t[n];e[r]=[n,o,k(o)]}return e},S=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}},T=function(t){var e=x(t);return 1==e.length&&e[0][2]?S(e[0][0],e[0][1]):function(r){return r===t||P(r,t,e)}},I=r("sE"),M=function(t,e,r){var n=null==t?void 0:(0,I.A)(t,e);return void 0===n?r:n},B=r("ABL"),K=r("Pf"),H=r("tU"),U=r("Bo"),$=r("bl"),q=function(t){return(0,K.A)(t)?(0,$.A)((0,H.A)(t)):function(e){return(0,I.A)(e,t)}},V=function(t){if("function"==typeof t)return t;if(null==t)return U.A;if("object"==typeof t){var e,r;return(0,g.A)(t)?(e=t[0],r=t[1],(0,K.A)(e)&&k(r)?S((0,H.A)(e),r):function(t){var n=M(t,e);return void 0===n&&n===r?(0,B.A)(t,e):z(r,n,3)}):T(t)}return q(t)}},yg(t,e,r){r.d(e,{A:()=>u});var n=r("a0"),o=(0,r("Tn").A)(Object.keys,Object),i=Object.prototype.hasOwnProperty,u=function(t){if(!(0,n.A)(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},bl(t,e){e.A=function(t){return function(e){return null==e?void 0:e[t]}}},En(t,e,r){var n=r("Bo"),o=r("rT"),i=r("Tl");e.A=function(t,e){return(0,i.A)((0,o.A)(t,e,n.A),t+"")}},kj(t,e){e.A=function(t){return function(e){return t(e)}}},f3(t,e){e.A=function(t,e){return t.has(e)}},jC(t,e,r){var n=r("Bo");e.A=function(t){return"function"==typeof t?t:n.A}},JA(t,e,r){r.d(e,{A:()=>A});var n,o,i=r("D2"),u=r("Pf"),s=r("mb");function a(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var u=t.apply(this,n);return r.cache=i.set(o,u)||i,u};return r.cache=new(a.Cache||s.A),r}a.Cache=s.A;var c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,h=(o=(n=a(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(c,function(t,r,n,o){e.push(n?o.replace(f,"$1"):r||t)}),e},function(t){return 500===o.size&&o.clear(),t})).cache,n),l=r("zL"),A=function(t,e){return(0,i.A)(t)?t:(0,u.A)(t,e)?[t]:h((0,l.A)(t))}},po(t,e,r){var n=r("uf");e.A=function(){try{var t=(0,n.A)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},kA(t,e){e.A="object"==typeof global&&global&&global.Object===Object&&global},uN(t,e,r){var n=r("Qz"),o=r("FI"),i=r("Fv");e.A=function(t){return(0,n.A)(t,i.A,o.A)}},uf(t,e,r){r.d(e,{A:()=>p});var n,o=r("Kg"),i=r("CvH").A["__core-js_shared__"],u=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",s=r("cN"),a=r("EX"),c=/^\[object .+?Constructor\]$/,f=Object.prototype,h=Function.prototype.toString,l=f.hasOwnProperty,A=RegExp("^"+h.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),d=function(t){return!!(0,s.A)(t)&&(!u||!(u in t))&&((0,o.A)(t)?A:c).test((0,a.A)(t))},p=function(t,e){var r=null==t?void 0:t[e];return d(r)?r:void 0}},FI(t,e,r){var n=r("Iy"),o=r("MX"),i=Object.prototype.propertyIsEnumerable,u=Object.getOwnPropertySymbols;e.A=u?function(t){return null==t?[]:(t=Object(t),(0,n.A)(u(t),function(e){return i.call(t,e)}))}:o.A},VB(t,e,r){r.d(e,{A:()=>O});var n=r("uf"),o=r("CvH"),i=(0,n.A)(o.A,"DataView"),u=r("Cz"),s=(0,n.A)(o.A,"Promise"),a=r("ka5"),c=(0,n.A)(o.A,"WeakMap"),f=r("qdn"),h=r("EX"),l="[object Map]",A="[object Promise]",d="[object Set]",p="[object WeakMap]",v="[object DataView]",_=(0,h.A)(i),b=(0,h.A)(u.A),y=(0,h.A)(s),g=(0,h.A)(a.A),j=(0,h.A)(c),m=f.A;(i&&m(new i(new ArrayBuffer(1)))!=v||u.A&&m(new u.A)!=l||s&&m(s.resolve())!=A||a.A&&m(new a.A)!=d||c&&m(new c)!=p)&&(m=function(t){var e=(0,f.A)(t),r="[object Object]"==e?t.constructor:void 0,n=r?(0,h.A)(r):"";if(n)switch(n){case _:return v;case b:return l;case y:return A;case g:return d;case j:return p}return e});var O=m},n8(t,e,r){var n=r("JA"),o=r("rFc"),i=r("D2"),u=r("s6"),s=r("AL"),a=r("tU");e.A=function(t,e,r){e=(0,n.A)(e,t);for(var c=-1,f=e.length,h=!1;++c<f;){var l=(0,a.A)(e[c]);if(!(h=null!=t&&r(t,l)))break;t=t[l]}return h||++c!=f?h:!!(f=null==t?0:t.length)&&(0,s.A)(f)&&(0,u.A)(l,f)&&((0,i.A)(t)||(0,o.A)(t))}},s6(t,e){var r=/^(?:0|[1-9]\d*)$/;e.A=function(t,e){var n=typeof t;return!!(e=null==e?0x1fffffffffffff:e)&&("number"==n||"symbol"!=n&&r.test(t))&&t>-1&&t%1==0&&t<e}},Pf(t,e,r){var n=r("D2"),o=r("I6"),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;e.A=function(t,e){if((0,n.A)(t))return!1;var r=typeof t;return!!("number"==r||"symbol"==r||"boolean"==r||null==t||(0,o.A)(t))||u.test(t)||!i.test(t)||null!=e&&t in Object(e)}},a0(t,e){var r=Object.prototype;e.A=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},LP(t,e,r){var n=r("kA"),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof module&&module&&!module.nodeType&&module,u=i&&i.exports===o&&n.A.process;e.A=function(){try{var t=i&&i.require&&i.require("util").types;if(t)return t;return u&&u.binding&&u.binding("util")}catch(t){}}()},Tn(t,e){e.A=function(t,e){return function(r){return t(e(r))}}},rT(t,e,r){r.d(e,{A:()=>i});var n=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)},o=Math.max,i=function(t,e,r){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,u=-1,s=o(i.length-e,0),a=Array(s);++u<s;)a[u]=i[e+u];u=-1;for(var c=Array(e+1);++u<e;)c[u]=i[u];return c[e]=r(a),n(t,this,c)}}},CvH(t,e,r){var n=r("kA"),o="object"==typeof self&&self&&self.Object===Object&&self;e.A=n.A||o||Function("return this")()},Ft(t,e){e.A=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},Tl(t,e,r){r.d(e,{A:()=>f});var n,o,i=r("F7"),u=r("po"),s=r("Bo"),a=u.A?function(t,e){return(0,u.A)(t,"toString",{configurable:!0,enumerable:!1,value:(0,i.A)(e),writable:!0})}:s.A,c=Date.now,f=(n=0,o=0,function(){var t=c(),e=16-(t-o);if(o=t,e>0){if(++n>=800)return arguments[0]}else n=0;return a.apply(void 0,arguments)})},tU(t,e,r){var n=r("I6");e.A=function(t){if("string"==typeof t||(0,n.A)(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},EX(t,e){var r=Function.prototype.toString;e.A=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},F7(t,e){e.A=function(t){return function(){return t}}},TK(t,e){e.A=function(t,e){return t===e||t!=t&&e!=e}},Os6(t,e,r){r.d(e,{A:()=>a});var n=r("Iy"),o=r("hp"),i=function(t,e){var r=[];return(0,o.A)(t,function(t,n,o){e(t,n,o)&&r.push(t)}),r},u=r("bQs"),s=r("D2"),a=function(t,e){return((0,s.A)(t)?n.A:i)(t,(0,u.A)(e,3))}},yz(t,e,r){var n=r("C0"),o=r("hp"),i=r("jC"),u=r("D2");e.A=function(t,e){return((0,u.A)(t)?n.A:o.A)(t,(0,i.A)(e))}},ABL(t,e,r){r.d(e,{A:()=>i});var n=function(t,e){return null!=t&&e in Object(t)},o=r("n8"),i=function(t,e){return null!=t&&(0,o.A)(t,e,n)}},Bo(t,e){e.A=function(t){return t}},rFc(t,e,r){r.d(e,{A:()=>c});var n=r("qdn"),o=r("iK"),i=function(t){return(0,o.A)(t)&&"[object Arguments]"==(0,n.A)(t)},u=Object.prototype,s=u.hasOwnProperty,a=u.propertyIsEnumerable,c=i(function(){return arguments}())?i:function(t){return(0,o.A)(t)&&s.call(t,"callee")&&!a.call(t,"callee")}},D2(t,e){e.A=Array.isArray},xnM(t,e,r){var n=r("Kg"),o=r("AL");e.A=function(t){return null!=t&&(0,o.A)(t.length)&&!(0,n.A)(t)}},Lc(t,e,r){var n=r("xnM"),o=r("iK");e.A=function(t){return(0,o.A)(t)&&(0,n.A)(t)}},Fr(t,e,r){r.d(e,{A:()=>s});var n=r("CvH"),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof module&&module&&!module.nodeType&&module,u=i&&i.exports===o?n.A.Buffer:void 0,s=(u?u.isBuffer:void 0)||function(){return!1}},Kg(t,e,r){var n=r("qdn"),o=r("cN");e.A=function(t){if(!(0,o.A)(t))return!1;var e=(0,n.A)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},AL(t,e){e.A=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},cN(t,e){e.A=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},iK(t,e){e.A=function(t){return null!=t&&"object"==typeof t}},I6(t,e,r){var n=r("qdn"),o=r("iK");e.A=function(t){return"symbol"==typeof t||(0,o.A)(t)&&"[object Symbol]"==(0,n.A)(t)}},Hm(t,e,r){r.d(e,{A:()=>f});var n=r("qdn"),o=r("AL"),i=r("iK"),u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u["[object Arguments]"]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u["[object Map]"]=u["[object Number]"]=u["[object Object]"]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1;var s=r("kj"),a=r("LP"),c=a.A&&a.A.isTypedArray,f=c?(0,s.A)(c):function(t){return(0,i.A)(t)&&(0,o.A)(t.length)&&!!u[(0,n.A)(t)]}},iO(t,e){e.A=function(t){return void 0===t}},Fv(t,e,r){var n=r("cu"),o=r("yg"),i=r("xnM");e.A=function(t){return(0,i.A)(t)?(0,n.A)(t):(0,o.A)(t)}},Ep(t,e,r){r.d(e,{A:()=>a});var n=function(t,e,r,n){var o=-1,i=null==t?0:t.length;for(n&&i&&(r=t[++o]);++o<i;)r=e(r,t[o],o,t);return r},o=r("hp"),i=r("bQs"),u=function(t,e,r,n,o){return o(t,function(t,o,i){r=n?(n=!1,t):e(r,t,o,i)}),r},s=r("D2"),a=function(t,e,r){var a=(0,s.A)(t)?n:u,c=arguments.length<3;return a(t,(0,i.A)(e,4),r,c,o.A)}},MX(t,e){e.A=function(){return[]}},zL(t,e,r){r.d(e,{A:()=>f});var n=r("Iu"),o=r("Yk"),i=r("D2"),u=r("I6"),s=n.A?n.A.prototype:void 0,a=s?s.toString:void 0,c=function t(e){if("string"==typeof e)return e;if((0,i.A)(e))return(0,o.A)(e,t)+"";if((0,u.A)(e))return a?a.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r},f=function(t){return null==t?"":c(t)}},wF(t,e,r){r.d(e,{A:()=>i});var n=r("Yk"),o=r("Fv"),i=function(t){var e;return null==t?[]:(e=(0,o.A)(t),(0,n.A)(e,function(e){return t[e]}))}},nB(t,e,r){r.d(e,{T:()=>T});var n=r("F7"),o=r("Kg"),i=r("Fv"),u=r("Os6"),s=r("yg"),a=r("VB"),c=r("rFc"),f=r("D2"),h=r("xnM"),l=r("Fr"),A=r("a0"),d=r("Hm"),p=Object.prototype.hasOwnProperty,v=function(t){if(null==t)return!0;if((0,h.A)(t)&&((0,f.A)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.A)(t)||(0,d.A)(t)||(0,c.A)(t)))return!t.length;var e=(0,a.A)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,A.A)(t))return!(0,s.A)(t).length;for(var r in t)if(p.call(t,r))return!1;return!0},_=r("yz"),b=r("iO"),y=r("Ll"),g=r("En"),j=r("a4"),m=r("YT"),O=function(t){return t!=t},w=function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return -1},C=function(t,e){return!!(null==t?0:t.length)&&(e==e?w(t,e,0):(0,m.A)(t,O,0))>-1},F=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n<o;)if(r(e,t[n]))return!0;return!1},E=r("f3"),L=r("ka5"),z=r("Ft"),P=L.A&&1/(0,z.A)(new L.A([,-0]))[1]==1/0?function(t){return new L.A(t)}:function(){},D=function(t,e,r){var n=-1,o=C,i=t.length,u=!0,s=[],a=s;if(r)u=!1,o=F;else if(i>=200){var c=e?null:P(t);if(c)return(0,z.A)(c);u=!1,o=E.A,a=new j.A}else a=e?[]:s;t:for(;++n<i;){var f=t[n],h=e?e(f):f;if(f=r||0!==f?f:0,u&&h==h){for(var l=a.length;l--;)if(a[l]===h)continue t;e&&a.push(h),s.push(f)}else o(a,h,r)||(a!==s&&a.push(h),s.push(f))}return s},k=r("Lc"),N=(0,g.A)(function(t){return D((0,y.A)(t,1,k.A,!0))}),x=r("wF"),S=r("Ep");class T{constructor(t={}){this._isDirected=!Object.prototype.hasOwnProperty.call(t,"directed")||t.directed,this._isMultigraph=!!Object.prototype.hasOwnProperty.call(t,"multigraph")&&t.multigraph,this._isCompound=!!Object.prototype.hasOwnProperty.call(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=n.A(void 0),this._defaultEdgeLabelFn=n.A(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return o.A(t)||(t=n.A(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return i.A(this._nodes)}sources(){var t=this;return u.A(this.nodes(),function(e){return v(t._in[e])})}sinks(){var t=this;return u.A(this.nodes(),function(e){return v(t._out[e])})}setNodes(t,e){var r=arguments,n=this;return _.A(t,function(t){r.length>1?n.setNode(t,e):n.setNode(t)}),this}setNode(t,e){return Object.prototype.hasOwnProperty.call(this._nodes,t)?arguments.length>1&&(this._nodes[t]=e):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]="\0",this._children[t]={},this._children["\0"][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount),this}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=t=>this.removeEdge(this._edgeObjs[t]);delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],_.A(this.children(t),t=>{this.setParent(t)}),delete this._children[t]),_.A(i.A(this._in[t]),e),delete this._in[t],delete this._preds[t],_.A(i.A(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(b.A(e))e="\0";else{e+="";for(var r=e;!b.A(r);r=this.parent(r))if(r===t)throw Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if("\0"!==e)return e}}children(t){if(b.A(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return i.A(e)}else if("\0"===t)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return i.A(e)}successors(t){var e=this._sucs[t];if(e)return i.A(e)}neighbors(t){var e=this.predecessors(t);if(e)return N(e,this.successors(t))}isLeaf(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;_.A(this._nodes,function(r,n){t(n)&&e.setNode(n,r)}),_.A(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,r.edge(t))});var n={};return this._isCompound&&_.A(e.nodes(),function(t){e.setParent(t,function t(o){var i=r.parent(o);return void 0===i||e.hasNode(i)?(n[o]=i,i):i in n?n[i]:t(i)}(t))}),e}setDefaultEdgeLabel(t){return o.A(t)||(t=n.A(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return x.A(this._edgeObjs)}setPath(t,e){var r=this,n=arguments;return S.A(t,function(t,o){return n.length>1?r.setEdge(t,o,e):r.setEdge(t,o),o}),this}setEdge(){var t,e,r,n,o=!1,i=arguments[0];"object"==typeof i&&null!==i&&"v"in i?(t=i.v,e=i.w,r=i.name,2==arguments.length&&(n=arguments[1],o=!0)):(t=i,e=arguments[1],r=arguments[3],arguments.length>2&&(n=arguments[2],o=!0)),t=""+t,e=""+e,b.A(r)||(r=""+r);var u=B(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,u))return o&&(this._edgeLabels[u]=n),this;if(!b.A(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[u]=o?n:this._defaultEdgeLabelFn(t,e,r);var s=function(t,e,r,n){var o=""+e,i=""+r;if(!t&&o>i){var u=o;o=i,i=u}var s={v:o,w:i};return n&&(s.name=n),s}(this._isDirected,t,e,r);return t=s.v,e=s.w,Object.freeze(s),this._edgeObjs[u]=s,I(this._preds[e],t),I(this._sucs[t],e),this._in[e][u]=s,this._out[t][u]=s,this._edgeCount++,this}edge(t,e,r){var n=1==arguments.length?K(this._isDirected,arguments[0]):B(this._isDirected,t,e,r);return this._edgeLabels[n]}hasEdge(t,e,r){var n=1==arguments.length?K(this._isDirected,arguments[0]):B(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,n)}removeEdge(t,e,r){var n=1==arguments.length?K(this._isDirected,arguments[0]):B(this._isDirected,t,e,r),o=this._edgeObjs[n];return o&&(t=o.v,e=o.w,delete this._edgeLabels[n],delete this._edgeObjs[n],M(this._preds[e],t),M(this._sucs[t],e),delete this._in[e][n],delete this._out[t][n],this._edgeCount--),this}inEdges(t,e){var r=this._in[t];if(r){var n=x.A(r);return e?u.A(n,function(t){return t.v===e}):n}}outEdges(t,e){var r=this._out[t];if(r){var n=x.A(r);return e?u.A(n,function(t){return t.w===e}):n}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}function I(t,e){t[e]?t[e]++:t[e]=1}function M(t,e){--t[e]||delete t[e]}function B(t,e,r,n){var o=""+e,i=""+r;if(!t&&o>i){var u=o;o=i,i=u}return o+"\x01"+i+"\x01"+(b.A(n)?"\0":n)}function K(t,e){return B(t,e.v,e.w,e.name)}T.prototype._nodeCount=0,T.prototype._edgeCount=0},v2(t,e,r){var n=r("nB");r.d(e,{T:()=>n.T})}}]);