9remote 3.0.39 → 3.0.40

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 (464) hide show
  1. package/dist/cli.cjs +86 -86
  2. package/dist/extension/background.js +136 -123
  3. package/dist/extension/manifest.json +6 -5
  4. package/dist/extension/runner.js +606 -0
  5. package/dist/server.cjs +239 -243
  6. package/dist/ui/assets/index-D_C1NTm1.js +8 -0
  7. package/dist/ui/index.html +1 -1
  8. package/dist/web/404.html +1 -1
  9. package/dist/web/__next.__PAGE__.txt +4 -4
  10. package/dist/web/__next._full.txt +17 -17
  11. package/dist/web/__next._head.txt +4 -4
  12. package/dist/web/__next._index.txt +10 -10
  13. package/dist/web/__next._tree.txt +3 -3
  14. package/dist/web/_next/static/chunks/{0fb7b532.2e7a08a3edb2d789.js → 025762a4.c49f8207624e1667.js} +1 -1
  15. package/dist/web/_next/static/chunks/101.bfb3898573e4245d.js +1 -0
  16. package/dist/web/_next/static/chunks/1342.3d5707800ea67dcb.js +1 -0
  17. package/dist/web/_next/static/chunks/153.d7a869e0874f32e0.js +1 -0
  18. package/dist/web/_next/static/chunks/1561.8d395206716b3967.js +1 -0
  19. package/dist/web/_next/static/chunks/{4314.6bbd89507909cad1.js → 1599.ed9aa4b461112c1a.js} +1 -1
  20. package/dist/web/_next/static/chunks/1694.7c4e72f21d4ce34c.js +1 -0
  21. package/dist/web/_next/static/chunks/1772-ef73c166e83f5eff.js +1 -0
  22. package/dist/web/_next/static/chunks/1878.724a4af779f951aa.js +138 -0
  23. package/dist/web/_next/static/chunks/1879.0252e2bd9153348f.js +1 -0
  24. package/dist/web/_next/static/chunks/1920-5ead25286846df83.js +1 -0
  25. package/dist/web/_next/static/chunks/1968-4d2969f0b7112e0b.js +32 -0
  26. package/dist/web/_next/static/chunks/2004.f975891d8a569296.js +24 -0
  27. package/dist/web/_next/static/chunks/2094.05efbc3414828946.js +1 -0
  28. package/dist/web/_next/static/chunks/2209.2ee6023fed2ac7a5.js +1 -0
  29. package/dist/web/_next/static/chunks/236.88ef102773dd3a91.js +1 -0
  30. package/dist/web/_next/static/chunks/2369.22023f63f0eaf8db.js +1 -0
  31. package/dist/web/_next/static/chunks/{6420.bfa7bc86d03dcefc.js → 2401.73a0315a75c7b051.js} +1 -1
  32. package/dist/web/_next/static/chunks/2427.3a468cdfabd25124.js +1 -0
  33. package/dist/web/_next/static/chunks/2436.da0ef064f744b8af.js +115 -0
  34. package/dist/web/_next/static/chunks/{1222.16edfbb0beb9081f.js → 2488.87361126358794fd.js} +1 -1
  35. package/dist/web/_next/static/chunks/2561.6c8eb8cf71429d5d.js +36 -0
  36. package/dist/web/_next/static/chunks/2581.d09a7f19c64e4b97.js +1 -0
  37. package/dist/web/_next/static/chunks/{8044.5f87392585c9f3e4.js → 2615.86c58079ec7c597c.js} +1 -1
  38. package/dist/web/_next/static/chunks/2934.0caeb8b2d8b67139.js +1 -0
  39. package/dist/web/_next/static/chunks/{6274.a3795ca6dacb3d62.js → 3011.fc80a2aad3ef8778.js} +2 -2
  40. package/dist/web/_next/static/chunks/3255.3c96f02d5eb06783.js +23 -0
  41. package/dist/web/_next/static/chunks/3284.e56b0102fb9a3920.js +62 -0
  42. package/dist/web/_next/static/chunks/329-15d3e36af1b2827f.js +1 -0
  43. package/dist/web/_next/static/chunks/3301.1f7e2bd5ccb55064.js +1 -0
  44. package/dist/web/_next/static/chunks/3314.b5b5b3cca99d832e.js +1 -0
  45. package/dist/web/_next/static/chunks/{20154aaa.868648f838e03bf1.js → 33d0405b.71576a1f83124ecd.js} +1 -1
  46. package/dist/web/_next/static/chunks/3428.8818e0ef88c0e743.js +1 -0
  47. package/dist/web/_next/static/chunks/{3429.e69c6bd48e1207a9.js → 3443.8d771dadb470603c.js} +1 -1
  48. package/dist/web/_next/static/chunks/{6742.88fddf128fbeb43d.js → 3704.bf80aa0d55f950d0.js} +1 -1
  49. package/dist/web/_next/static/chunks/3916.141fb720bd1eee40.js +148 -0
  50. package/dist/web/_next/static/chunks/3973.e5c2013e2abeefd3.js +93 -0
  51. package/dist/web/_next/static/chunks/4065.7616cbd8f37a68e6.js +1 -0
  52. package/dist/web/_next/static/chunks/{9299.e37149b455be7e9d.js → 4129.a93c19870036f647.js} +1 -1
  53. package/dist/web/_next/static/chunks/{6730.88fc6f2ccc49496c.js → 4171.b0e5c6dc86bc8a5f.js} +1 -1
  54. package/dist/web/_next/static/chunks/4330.a8740b63075e6886.js +1 -0
  55. package/dist/web/_next/static/chunks/4378.a0629cfcbc20c406.js +1 -0
  56. package/dist/web/_next/static/chunks/4553.cad71717d538a2e5.js +1 -0
  57. package/dist/web/_next/static/chunks/4589.9bd287581ccd378b.js +1 -0
  58. package/dist/web/_next/static/chunks/4594.53636acacf285911.js +34 -0
  59. package/dist/web/_next/static/chunks/466.908e4592c2b93997.js +77 -0
  60. package/dist/web/_next/static/chunks/468.2e48222bf3517040.js +1 -0
  61. package/dist/web/_next/static/chunks/4712.b7062faa67f544b5.js +1 -0
  62. package/dist/web/_next/static/chunks/{9675.be4a175f92aa2f26.js → 4724.e0dffedb6972b738.js} +1 -1
  63. package/dist/web/_next/static/chunks/482.a0b5af31d7354a82.js +1 -0
  64. package/dist/web/_next/static/chunks/4929.fce0c23972476c66.js +1 -0
  65. package/dist/web/_next/static/chunks/4964.5a41b2d776aee556.js +1 -0
  66. package/dist/web/_next/static/chunks/499.cf81a39b9e6ce4a4.js +94 -0
  67. package/dist/web/_next/static/chunks/{0a7753a9.4cb02a98e2e453b9.js → 4ff7191e.d68cdd8504937de5.js} +1 -1
  68. package/dist/web/_next/static/chunks/5035.f7175d1037807b62.js +90 -0
  69. package/dist/web/_next/static/chunks/5198.b8e3a08cb60bc349.js +1 -0
  70. package/dist/web/_next/static/chunks/5421.430fa3a5488e15a9.js +21 -0
  71. package/dist/web/_next/static/chunks/{9871-c277aedb0437cb82.js → 556-a8f04c41c5663ee8.js} +1 -1
  72. package/dist/web/_next/static/chunks/5587-fc5af8c76df14222.js +1 -0
  73. package/dist/web/_next/static/chunks/5710.b055a101d6b51ff3.js +27 -0
  74. package/dist/web/_next/static/chunks/{2180.edcf5dc3d77ceee8.js → 5714.122f8cb7296bc9e1.js} +1 -1
  75. package/dist/web/_next/static/chunks/{1243.3f23d89283c156ea.js → 5757.2c157c0924cea1c2.js} +1 -1
  76. package/dist/web/_next/static/chunks/{3346-23aafd4add63869a.js → 5957-3d5d92b58dcc7d4e.js} +1 -1
  77. package/dist/web/_next/static/chunks/{565f33a6-fd3410bd29f39fdf.js → 5b8e7b36-a2678128cd5bdf5e.js} +1 -1
  78. package/dist/web/_next/static/chunks/6141-132d206408947c60.js +1 -0
  79. package/dist/web/_next/static/chunks/{7424.c8c9f85c8ea65885.js → 6181.6bdde6f59e3f2cea.js} +1 -1
  80. package/dist/web/_next/static/chunks/6221-cf883148bf8a4c1e.js +11 -0
  81. package/dist/web/_next/static/chunks/{3552.8dd9a3d2c3bcef65.js → 6372.51e578b15d566c0e.js} +2 -2
  82. package/dist/web/_next/static/chunks/6405.39e8b42a56b88bb5.js +1 -0
  83. package/dist/web/_next/static/chunks/641.7b1b12ccc56b3b3c.js +1 -0
  84. package/dist/web/_next/static/chunks/{6647.740ec32a32201eab.js → 6418.a86ca6012f0867ff.js} +1 -1
  85. package/dist/web/_next/static/chunks/{4924.3f5c77a103ac69a9.js → 6435.6aef0f9f1cc65be6.js} +1 -1
  86. package/dist/web/_next/static/chunks/6439.f02105d3687113e7.js +1 -0
  87. package/dist/web/_next/static/chunks/647.527b9a09373aab91.js +1 -0
  88. package/dist/web/_next/static/chunks/{8115.68d46fb961c724e0.js → 6470.7057ef6894a7f625.js} +16 -16
  89. package/dist/web/_next/static/chunks/{7507.77d9ac9eb03518f7.js → 6485.6ae2f3966cc25c9e.js} +1 -1
  90. package/dist/web/_next/static/chunks/{6987.743a63813c6288ce.js → 6512.cc81f46437639a0e.js} +2 -2
  91. package/dist/web/_next/static/chunks/6520.73f10855f9d4b5a8.js +1 -0
  92. package/dist/web/_next/static/chunks/668.1ddcf2e38071ae57.js +24 -0
  93. package/dist/web/_next/static/chunks/6815.8126ae5481c3bfd8.js +1 -0
  94. package/dist/web/_next/static/chunks/6925-af784cffb03dd330.js +1 -0
  95. package/dist/web/_next/static/chunks/6e6d0562.6ebb8f7db67bd943.js +122 -0
  96. package/dist/web/_next/static/chunks/7058.affbacca3457f5a7.js +41 -0
  97. package/dist/web/_next/static/chunks/7207.72d8a01e77112af2.js +1 -0
  98. package/dist/web/_next/static/chunks/{4090.441fa61655da9b38.js → 7359.b09680f38f75e105.js} +1 -1
  99. package/dist/web/_next/static/chunks/7369.a824cc623274cf63.js +1 -0
  100. package/dist/web/_next/static/chunks/7489.24938d89538cd03e.js +1 -0
  101. package/dist/web/_next/static/chunks/{9641.f6f2982fc4b4735f.js → 7576.273c3d0faf5c3d02.js} +1 -1
  102. package/dist/web/_next/static/chunks/7620.5c5935fd937c0e84.js +1 -0
  103. package/dist/web/_next/static/chunks/{1228.c4aa83586b3730b6.js → 7646.1c26e96ee36bc317.js} +1 -1
  104. package/dist/web/_next/static/chunks/7712.cd8c3dc2d794d714.js +1 -0
  105. package/dist/web/_next/static/chunks/{2038.b77e2c3d38385a76.js → 7812.aabc856212c93434.js} +1 -1
  106. package/dist/web/_next/static/chunks/804.38f05d79313a8dcc.js +104 -0
  107. package/dist/web/_next/static/chunks/8126-0279fc9e17c08aff.js +1 -0
  108. package/dist/web/_next/static/chunks/820-99036fb63c5462c8.js +1 -0
  109. package/dist/web/_next/static/chunks/8304.936a74abe6f0a288.js +1 -0
  110. package/dist/web/_next/static/chunks/8314.7ff9d72cd8613f75.js +226 -0
  111. package/dist/web/_next/static/chunks/8390.5eda620e73ea6c5c.js +74 -0
  112. package/dist/web/_next/static/chunks/860.f7885efc630bcfd7.js +1 -0
  113. package/dist/web/_next/static/chunks/87c73c54-e11922cda838f8cc.js +1 -0
  114. package/dist/web/_next/static/chunks/887.15090f9a6a142a10.js +1 -0
  115. package/dist/web/_next/static/chunks/8977.1ab6ed8e2c098cf0.js +1 -0
  116. package/dist/web/_next/static/chunks/9121-3d281debd0f3e659.js +1 -0
  117. package/dist/web/_next/static/chunks/9491-6dc334192080d071.js +86 -0
  118. package/dist/web/_next/static/chunks/951ed0e8.98070dce91103a63.js +1 -0
  119. package/dist/web/_next/static/chunks/9651.d199fbbbc3de43b8.js +215 -0
  120. package/dist/web/_next/static/chunks/9692.dd07a90166f5e6ff.js +1 -0
  121. package/dist/web/_next/static/chunks/{6075.a6b8434732056526.js → 9700.c47024f592537718.js} +1 -1
  122. package/dist/web/_next/static/chunks/9711.cf7aaa7fa6ec7dd7.js +287 -0
  123. package/dist/web/_next/static/chunks/9736.63b4a559c8a23186.js +1 -0
  124. package/dist/web/_next/static/chunks/{bbfbfb6c.069db3c4cc981ed3.js → 98f82933.0c4f9e5e83926351.js} +1 -1
  125. package/dist/web/_next/static/chunks/{da9a53d6.df25e193f1f5bcae.js → a36ae3fc.d666935373d1f579.js} +4 -4
  126. package/dist/web/_next/static/chunks/{adcd17ec-9a2791632136b67b.js → ab6c8a12-9dac45de556d8a8d.js} +1 -1
  127. package/dist/web/_next/static/chunks/app/_global-error/page-2ece09c883187d82.js +1 -0
  128. package/dist/web/_next/static/chunks/app/_not-found/page-9f829d2c4beb1840.js +1 -0
  129. package/dist/web/_next/static/chunks/app/admin/access/page-45f45ad529e5b691.js +5 -0
  130. package/dist/web/_next/static/chunks/app/admin/login/page-382072b5b43d3c29.js +1 -0
  131. package/dist/web/_next/static/chunks/app/admin/ota/page-293c0743bd60f454.js +5 -0
  132. package/dist/web/_next/static/chunks/app/admin/page-fc676dae451dd646.js +5 -0
  133. package/dist/web/_next/static/chunks/app/admin/turn/page-2ab33033fc7f0919.js +5 -0
  134. package/dist/web/_next/static/chunks/app/dev/question/page-bafce0c9fd4e8488.js +1 -0
  135. package/dist/web/_next/static/chunks/app/download/{page-2811ea822a1e586a.js → page-a65d1c7fcf6397af.js} +1 -1
  136. package/dist/web/_next/static/chunks/app/layout-f1429d22e935695f.js +1 -0
  137. package/dist/web/_next/static/chunks/app/login/page-a5dd37d1cbbb394e.js +1 -0
  138. package/dist/web/_next/static/chunks/app/{page-8387dba850541259.js → page-1e67d8a5f3775276.js} +3 -3
  139. package/dist/web/_next/static/chunks/app/workspace/browse/page-2ece09c883187d82.js +1 -0
  140. package/dist/web/_next/static/chunks/app/workspace/editor/page-2ece09c883187d82.js +1 -0
  141. package/dist/web/_next/static/chunks/app/workspace/files/page-2ece09c883187d82.js +1 -0
  142. package/dist/web/_next/static/chunks/app/workspace/git/page-2ece09c883187d82.js +1 -0
  143. package/dist/web/_next/static/chunks/app/workspace/layout-d8bb677fa1caa5a7.js +20 -0
  144. package/dist/web/_next/static/chunks/app/workspace/mobile/page-2ece09c883187d82.js +1 -0
  145. package/dist/web/_next/static/chunks/app/workspace/page-2ece09c883187d82.js +1 -0
  146. package/dist/web/_next/static/chunks/app/workspace/pair/page-2ece09c883187d82.js +1 -0
  147. package/dist/web/_next/static/chunks/app/workspace/remote/page-2ece09c883187d82.js +1 -0
  148. package/dist/web/_next/static/chunks/app/workspace/terminal/[sessionId]/page-2ece09c883187d82.js +1 -0
  149. package/dist/web/_next/static/chunks/app/workspace/welcome/page-2ece09c883187d82.js +1 -0
  150. package/dist/web/_next/static/chunks/app/workspace/workspaces/page-2ece09c883187d82.js +1 -0
  151. package/dist/web/_next/static/chunks/b2b4fb58.d2a067fe7df4a0d0.js +1 -0
  152. package/dist/web/_next/static/chunks/baeaa4ff-8eac34d2e07d1bb3.js +1 -0
  153. package/dist/web/_next/static/chunks/{7c89255b.f727562586fa21cc.js → c2d9a0c9.b4e0bb73c2ed317c.js} +1 -1
  154. package/dist/web/_next/static/chunks/{a012e9f0.7dbb2fe05ec0b816.js → ccfb6294.add4177b76c37868.js} +11 -11
  155. package/dist/web/_next/static/chunks/{c7ea4e13.6153499d4c2fb1f2.js → db261188.134a04dd616706a4.js} +1 -1
  156. package/dist/web/_next/static/chunks/framework-59d2d1720fc2b396.js +1 -0
  157. package/dist/web/_next/static/chunks/main-app-72391b47e9393c1b.js +1 -0
  158. package/dist/web/_next/static/chunks/main-e10b0dbebb4de0a8.js +5 -0
  159. package/dist/web/_next/static/chunks/next/dist/client/components/builtin/app-error-2ece09c883187d82.js +1 -0
  160. package/dist/web/_next/static/chunks/next/dist/client/components/builtin/forbidden-2ece09c883187d82.js +1 -0
  161. package/dist/web/_next/static/chunks/next/dist/client/components/builtin/global-error-48f06b4c48a1eef3.js +1 -0
  162. package/dist/web/_next/static/chunks/next/dist/client/components/builtin/not-found-2ece09c883187d82.js +1 -0
  163. package/dist/web/_next/static/chunks/next/dist/client/components/builtin/unauthorized-2ece09c883187d82.js +1 -0
  164. package/dist/web/_next/static/chunks/webpack-dd1f7a5ae02e5d84.js +1 -0
  165. package/dist/web/_next/static/css/{b496025c9cd768cc.css → 15730e9f7c5c55ef.css} +1 -1
  166. package/dist/web/_next/static/css/1c2cca827fa36d54.css +1 -0
  167. package/dist/web/_not-found/__next._full.txt +15 -15
  168. package/dist/web/_not-found/__next._head.txt +4 -4
  169. package/dist/web/_not-found/__next._index.txt +10 -10
  170. package/dist/web/_not-found/__next._not-found.__PAGE__.txt +2 -2
  171. package/dist/web/_not-found/__next._not-found.txt +3 -3
  172. package/dist/web/_not-found/__next._tree.txt +3 -3
  173. package/dist/web/_not-found.html +1 -1
  174. package/dist/web/_not-found.txt +15 -15
  175. package/dist/web/admin/__next._full.txt +17 -17
  176. package/dist/web/admin/__next._head.txt +4 -4
  177. package/dist/web/admin/__next._index.txt +10 -10
  178. package/dist/web/admin/__next._tree.txt +3 -3
  179. package/dist/web/admin/__next.admin.__PAGE__.txt +4 -4
  180. package/dist/web/admin/__next.admin.txt +3 -3
  181. package/dist/web/admin/access/__next._full.txt +17 -17
  182. package/dist/web/admin/access/__next._head.txt +4 -4
  183. package/dist/web/admin/access/__next._index.txt +10 -10
  184. package/dist/web/admin/access/__next._tree.txt +3 -3
  185. package/dist/web/admin/access/__next.admin.access.__PAGE__.txt +4 -4
  186. package/dist/web/admin/access/__next.admin.access.txt +3 -3
  187. package/dist/web/admin/access/__next.admin.txt +3 -3
  188. package/dist/web/admin/access.html +1 -1
  189. package/dist/web/admin/access.txt +17 -17
  190. package/dist/web/admin/login/__next._full.txt +17 -17
  191. package/dist/web/admin/login/__next._head.txt +4 -4
  192. package/dist/web/admin/login/__next._index.txt +10 -10
  193. package/dist/web/admin/login/__next._tree.txt +3 -3
  194. package/dist/web/admin/login/__next.admin.login.__PAGE__.txt +4 -4
  195. package/dist/web/admin/login/__next.admin.login.txt +3 -3
  196. package/dist/web/admin/login/__next.admin.txt +3 -3
  197. package/dist/web/admin/login.html +1 -1
  198. package/dist/web/admin/login.txt +17 -17
  199. package/dist/web/admin/ota/__next._full.txt +17 -17
  200. package/dist/web/admin/ota/__next._head.txt +4 -4
  201. package/dist/web/admin/ota/__next._index.txt +10 -10
  202. package/dist/web/admin/ota/__next._tree.txt +3 -3
  203. package/dist/web/admin/ota/__next.admin.ota.__PAGE__.txt +4 -4
  204. package/dist/web/admin/ota/__next.admin.ota.txt +3 -3
  205. package/dist/web/admin/ota/__next.admin.txt +3 -3
  206. package/dist/web/admin/ota.html +1 -1
  207. package/dist/web/admin/ota.txt +17 -17
  208. package/dist/web/admin/turn/__next._full.txt +17 -17
  209. package/dist/web/admin/turn/__next._head.txt +4 -4
  210. package/dist/web/admin/turn/__next._index.txt +10 -10
  211. package/dist/web/admin/turn/__next._tree.txt +3 -3
  212. package/dist/web/admin/turn/__next.admin.turn.__PAGE__.txt +4 -4
  213. package/dist/web/admin/turn/__next.admin.turn.txt +3 -3
  214. package/dist/web/admin/turn/__next.admin.txt +3 -3
  215. package/dist/web/admin/turn.html +1 -1
  216. package/dist/web/admin/turn.txt +17 -17
  217. package/dist/web/admin.html +1 -1
  218. package/dist/web/admin.txt +17 -17
  219. package/dist/web/dev/question/__next._full.txt +17 -17
  220. package/dist/web/dev/question/__next._head.txt +4 -4
  221. package/dist/web/dev/question/__next._index.txt +10 -10
  222. package/dist/web/dev/question/__next._tree.txt +3 -3
  223. package/dist/web/dev/question/__next.dev.question.__PAGE__.txt +4 -4
  224. package/dist/web/dev/question/__next.dev.question.txt +3 -3
  225. package/dist/web/dev/question/__next.dev.txt +3 -3
  226. package/dist/web/dev/question.html +1 -1
  227. package/dist/web/dev/question.txt +17 -17
  228. package/dist/web/download/__next._full.txt +16 -16
  229. package/dist/web/download/__next._head.txt +4 -4
  230. package/dist/web/download/__next._index.txt +10 -10
  231. package/dist/web/download/__next._tree.txt +3 -3
  232. package/dist/web/download/__next.download.__PAGE__.txt +3 -3
  233. package/dist/web/download/__next.download.txt +3 -3
  234. package/dist/web/download.html +1 -1
  235. package/dist/web/download.txt +16 -16
  236. package/dist/web/index.html +1 -1
  237. package/dist/web/index.txt +17 -17
  238. package/dist/web/login/__next._full.txt +17 -17
  239. package/dist/web/login/__next._head.txt +4 -4
  240. package/dist/web/login/__next._index.txt +10 -10
  241. package/dist/web/login/__next._tree.txt +3 -3
  242. package/dist/web/login/__next.login.__PAGE__.txt +4 -4
  243. package/dist/web/login/__next.login.txt +3 -3
  244. package/dist/web/login.html +1 -1
  245. package/dist/web/login.txt +17 -17
  246. package/dist/web/workspace/__next._full.txt +17 -17
  247. package/dist/web/workspace/__next._head.txt +4 -4
  248. package/dist/web/workspace/__next._index.txt +10 -10
  249. package/dist/web/workspace/__next._tree.txt +3 -3
  250. package/dist/web/workspace/__next.workspace.__PAGE__.txt +2 -2
  251. package/dist/web/workspace/__next.workspace.txt +5 -5
  252. package/dist/web/workspace/browse/__next._full.txt +17 -17
  253. package/dist/web/workspace/browse/__next._head.txt +4 -4
  254. package/dist/web/workspace/browse/__next._index.txt +10 -10
  255. package/dist/web/workspace/browse/__next._tree.txt +3 -3
  256. package/dist/web/workspace/browse/__next.workspace.browse.__PAGE__.txt +2 -2
  257. package/dist/web/workspace/browse/__next.workspace.browse.txt +3 -3
  258. package/dist/web/workspace/browse/__next.workspace.txt +5 -5
  259. package/dist/web/workspace/browse.html +1 -1
  260. package/dist/web/workspace/browse.txt +17 -17
  261. package/dist/web/workspace/editor/__next._full.txt +17 -17
  262. package/dist/web/workspace/editor/__next._head.txt +4 -4
  263. package/dist/web/workspace/editor/__next._index.txt +10 -10
  264. package/dist/web/workspace/editor/__next._tree.txt +3 -3
  265. package/dist/web/workspace/editor/__next.workspace.editor.__PAGE__.txt +2 -2
  266. package/dist/web/workspace/editor/__next.workspace.editor.txt +3 -3
  267. package/dist/web/workspace/editor/__next.workspace.txt +5 -5
  268. package/dist/web/workspace/editor.html +1 -1
  269. package/dist/web/workspace/editor.txt +17 -17
  270. package/dist/web/workspace/files/__next._full.txt +17 -17
  271. package/dist/web/workspace/files/__next._head.txt +4 -4
  272. package/dist/web/workspace/files/__next._index.txt +10 -10
  273. package/dist/web/workspace/files/__next._tree.txt +3 -3
  274. package/dist/web/workspace/files/__next.workspace.files.__PAGE__.txt +2 -2
  275. package/dist/web/workspace/files/__next.workspace.files.txt +3 -3
  276. package/dist/web/workspace/files/__next.workspace.txt +5 -5
  277. package/dist/web/workspace/files.html +1 -1
  278. package/dist/web/workspace/files.txt +17 -17
  279. package/dist/web/workspace/git/__next._full.txt +17 -17
  280. package/dist/web/workspace/git/__next._head.txt +4 -4
  281. package/dist/web/workspace/git/__next._index.txt +10 -10
  282. package/dist/web/workspace/git/__next._tree.txt +3 -3
  283. package/dist/web/workspace/git/__next.workspace.git.__PAGE__.txt +2 -2
  284. package/dist/web/workspace/git/__next.workspace.git.txt +3 -3
  285. package/dist/web/workspace/git/__next.workspace.txt +5 -5
  286. package/dist/web/workspace/git.html +1 -1
  287. package/dist/web/workspace/git.txt +17 -17
  288. package/dist/web/workspace/mobile/__next._full.txt +17 -17
  289. package/dist/web/workspace/mobile/__next._head.txt +4 -4
  290. package/dist/web/workspace/mobile/__next._index.txt +10 -10
  291. package/dist/web/workspace/mobile/__next._tree.txt +3 -3
  292. package/dist/web/workspace/mobile/__next.workspace.mobile.__PAGE__.txt +2 -2
  293. package/dist/web/workspace/mobile/__next.workspace.mobile.txt +3 -3
  294. package/dist/web/workspace/mobile/__next.workspace.txt +5 -5
  295. package/dist/web/workspace/mobile.html +1 -1
  296. package/dist/web/workspace/mobile.txt +17 -17
  297. package/dist/web/workspace/pair/__next._full.txt +17 -17
  298. package/dist/web/workspace/pair/__next._head.txt +4 -4
  299. package/dist/web/workspace/pair/__next._index.txt +10 -10
  300. package/dist/web/workspace/pair/__next._tree.txt +3 -3
  301. package/dist/web/workspace/pair/__next.workspace.pair.__PAGE__.txt +2 -2
  302. package/dist/web/workspace/pair/__next.workspace.pair.txt +3 -3
  303. package/dist/web/workspace/pair/__next.workspace.txt +5 -5
  304. package/dist/web/workspace/pair.html +1 -1
  305. package/dist/web/workspace/pair.txt +17 -17
  306. package/dist/web/workspace/remote/__next._full.txt +17 -17
  307. package/dist/web/workspace/remote/__next._head.txt +4 -4
  308. package/dist/web/workspace/remote/__next._index.txt +10 -10
  309. package/dist/web/workspace/remote/__next._tree.txt +3 -3
  310. package/dist/web/workspace/remote/__next.workspace.remote.__PAGE__.txt +2 -2
  311. package/dist/web/workspace/remote/__next.workspace.remote.txt +3 -3
  312. package/dist/web/workspace/remote/__next.workspace.txt +5 -5
  313. package/dist/web/workspace/remote.html +1 -1
  314. package/dist/web/workspace/remote.txt +17 -17
  315. package/dist/web/workspace/terminal/default/__next._full.txt +17 -17
  316. package/dist/web/workspace/terminal/default/__next._head.txt +4 -4
  317. package/dist/web/workspace/terminal/default/__next._index.txt +10 -10
  318. package/dist/web/workspace/terminal/default/__next._tree.txt +3 -3
  319. package/dist/web/workspace/terminal/default/__next.workspace.terminal.$d$sessionId.__PAGE__.txt +2 -2
  320. package/dist/web/workspace/terminal/default/__next.workspace.terminal.$d$sessionId.txt +3 -3
  321. package/dist/web/workspace/terminal/default/__next.workspace.terminal.txt +3 -3
  322. package/dist/web/workspace/terminal/default/__next.workspace.txt +5 -5
  323. package/dist/web/workspace/terminal/default.html +1 -1
  324. package/dist/web/workspace/terminal/default.txt +17 -17
  325. package/dist/web/workspace/welcome/__next._full.txt +17 -17
  326. package/dist/web/workspace/welcome/__next._head.txt +4 -4
  327. package/dist/web/workspace/welcome/__next._index.txt +10 -10
  328. package/dist/web/workspace/welcome/__next._tree.txt +3 -3
  329. package/dist/web/workspace/welcome/__next.workspace.txt +5 -5
  330. package/dist/web/workspace/welcome/__next.workspace.welcome.__PAGE__.txt +2 -2
  331. package/dist/web/workspace/welcome/__next.workspace.welcome.txt +3 -3
  332. package/dist/web/workspace/welcome.html +1 -1
  333. package/dist/web/workspace/welcome.txt +17 -17
  334. package/dist/web/workspace/workspaces/__next._full.txt +17 -17
  335. package/dist/web/workspace/workspaces/__next._head.txt +4 -4
  336. package/dist/web/workspace/workspaces/__next._index.txt +10 -10
  337. package/dist/web/workspace/workspaces/__next._tree.txt +3 -3
  338. package/dist/web/workspace/workspaces/__next.workspace.txt +5 -5
  339. package/dist/web/workspace/workspaces/__next.workspace.workspaces.__PAGE__.txt +2 -2
  340. package/dist/web/workspace/workspaces/__next.workspace.workspaces.txt +3 -3
  341. package/dist/web/workspace/workspaces.html +1 -1
  342. package/dist/web/workspace/workspaces.txt +17 -17
  343. package/dist/web/workspace.html +1 -1
  344. package/dist/web/workspace.txt +17 -17
  345. package/package.json +1 -1
  346. package/dist/ui/assets/index-BKC13tXO.js +0 -8
  347. package/dist/web/_next/static/chunks/1050-b9af41e8856b58c0.js +0 -1
  348. package/dist/web/_next/static/chunks/132.71f657e5a607b7d3.js +0 -1
  349. package/dist/web/_next/static/chunks/133.1106654a28b5afda.js +0 -1
  350. package/dist/web/_next/static/chunks/1385.086b560acb0d7a68.js +0 -115
  351. package/dist/web/_next/static/chunks/1642.cac26d30ac331cb4.js +0 -1
  352. package/dist/web/_next/static/chunks/1733.f06c240b3ef8a428.js +0 -77
  353. package/dist/web/_next/static/chunks/1750.ea89a41e86ac2790.js +0 -1
  354. package/dist/web/_next/static/chunks/1763.28beedca593b5e19.js +0 -138
  355. package/dist/web/_next/static/chunks/179.b9e8f385bd414d1c.js +0 -62
  356. package/dist/web/_next/static/chunks/1838.7c8990f903e3524a.js +0 -215
  357. package/dist/web/_next/static/chunks/2112.d72eefbdf81659b3.js +0 -23
  358. package/dist/web/_next/static/chunks/2125.61c6e4a3541e30ad.js +0 -1
  359. package/dist/web/_next/static/chunks/2129.61afb2f4ff59e46a.js +0 -24
  360. package/dist/web/_next/static/chunks/213.ae43f03862ad9cc1.js +0 -1
  361. package/dist/web/_next/static/chunks/2179.3f55be0b79e3cca7.js +0 -1
  362. package/dist/web/_next/static/chunks/2264.0fc1474d26067a01.js +0 -1
  363. package/dist/web/_next/static/chunks/2376.ed6302a91a9de1ae.js +0 -36
  364. package/dist/web/_next/static/chunks/2545.3ff192a933baf11e.js +0 -1
  365. package/dist/web/_next/static/chunks/2620.d17f4fac0eec88a5.js +0 -1
  366. package/dist/web/_next/static/chunks/2847.d3124853ca727b78.js +0 -1
  367. package/dist/web/_next/static/chunks/2849.d810c3fdb2054b14.js +0 -1
  368. package/dist/web/_next/static/chunks/3189.64c6546d621eec0b.js +0 -1
  369. package/dist/web/_next/static/chunks/3348-9ef29f9cedf6c0df.js +0 -1
  370. package/dist/web/_next/static/chunks/3514.20bd03c8194dec25.js +0 -1
  371. package/dist/web/_next/static/chunks/3606.b59e695fd05b4eb3.js +0 -74
  372. package/dist/web/_next/static/chunks/3736.4a5662ceeecc6acb.js +0 -94
  373. package/dist/web/_next/static/chunks/392.842b338137824bb8.js +0 -1
  374. package/dist/web/_next/static/chunks/4136-d7c1ff2da0833b42.js +0 -86
  375. package/dist/web/_next/static/chunks/4300-a66b52c9e1a27db3.js +0 -1
  376. package/dist/web/_next/static/chunks/4303.54c4aa0b89834fc6.js +0 -1
  377. package/dist/web/_next/static/chunks/4551.d0d6723cacfb90b9.js +0 -226
  378. package/dist/web/_next/static/chunks/4566.d8e009823b8647d1.js +0 -90
  379. package/dist/web/_next/static/chunks/4643.1e356e007756e19d.js +0 -1
  380. package/dist/web/_next/static/chunks/4930.42e564644c94a93b.js +0 -1
  381. package/dist/web/_next/static/chunks/5155.d7e8db52ab4c95e0.js +0 -27
  382. package/dist/web/_next/static/chunks/5158-267908d069475cdc.js +0 -32
  383. package/dist/web/_next/static/chunks/543.5636e97aa68eb9c8.js +0 -41
  384. package/dist/web/_next/static/chunks/5506.98304a1821200439.js +0 -1
  385. package/dist/web/_next/static/chunks/5622.5ead5e748ecedbd1.js +0 -1
  386. package/dist/web/_next/static/chunks/5708.22b4531ceebf3eca.js +0 -1
  387. package/dist/web/_next/static/chunks/5788-f0c87f9c14fa0ff9.js +0 -1
  388. package/dist/web/_next/static/chunks/5804.ff72a927135eb74c.js +0 -93
  389. package/dist/web/_next/static/chunks/588.78e2528ff24df85c.js +0 -287
  390. package/dist/web/_next/static/chunks/6001.e5bcb28bb9ce6571.js +0 -1
  391. package/dist/web/_next/static/chunks/6180.82fa683aa16f21df.js +0 -1
  392. package/dist/web/_next/static/chunks/6276.aa48f74970f7ef3d.js +0 -1
  393. package/dist/web/_next/static/chunks/6419.34fdd4aa97c5cc5d.js +0 -1
  394. package/dist/web/_next/static/chunks/6552-cebe84e4399a184f.js +0 -1
  395. package/dist/web/_next/static/chunks/6739.22a05398bfd34922.js +0 -1
  396. package/dist/web/_next/static/chunks/674.b2f5d5fc3fb84c4a.js +0 -1
  397. package/dist/web/_next/static/chunks/7202.dad90ce4a1d78f67.js +0 -1
  398. package/dist/web/_next/static/chunks/7233.0f252f6c1cce8058.js +0 -1
  399. package/dist/web/_next/static/chunks/7248.d89bf328a0dc1b4c.js +0 -1
  400. package/dist/web/_next/static/chunks/7263.6f224c3924155294.js +0 -1
  401. package/dist/web/_next/static/chunks/7341.6958eac888a96823.js +0 -34
  402. package/dist/web/_next/static/chunks/7811.19082afa63eb73ba.js +0 -1
  403. package/dist/web/_next/static/chunks/7853.d01982fa0afc1ee2.js +0 -24
  404. package/dist/web/_next/static/chunks/7908.432ab9feeb9ae756.js +0 -1
  405. package/dist/web/_next/static/chunks/7960.2754ce9111bef59e.js +0 -1
  406. package/dist/web/_next/static/chunks/7967.6c62be01fad1603c.js +0 -1
  407. package/dist/web/_next/static/chunks/8054.feeb01b8acdb31d4.js +0 -1
  408. package/dist/web/_next/static/chunks/817.cd0f4d221eca4c8b.js +0 -104
  409. package/dist/web/_next/static/chunks/8207-45554e2570bc59e6.js +0 -1
  410. package/dist/web/_next/static/chunks/8467.c2c0273ac5e97e34.js +0 -1
  411. package/dist/web/_next/static/chunks/8495.d6cea1be03635fa8.js +0 -148
  412. package/dist/web/_next/static/chunks/8638.f44546e4532d76e8.js +0 -1
  413. package/dist/web/_next/static/chunks/8669-8d1fb8dce08c886d.js +0 -11
  414. package/dist/web/_next/static/chunks/8716.1ad6febb58e8560e.js +0 -1
  415. package/dist/web/_next/static/chunks/8762-e88a7f91d20d82bd.js +0 -1
  416. package/dist/web/_next/static/chunks/8839.1ad64faf06fb4a33.js +0 -1
  417. package/dist/web/_next/static/chunks/8922-4c589850b01d2e12.js +0 -1
  418. package/dist/web/_next/static/chunks/910.43be9c3be85c7fa0.js +0 -21
  419. package/dist/web/_next/static/chunks/925.7cfb725e605559a0.js +0 -1
  420. package/dist/web/_next/static/chunks/9259.97e2f3306fc149c7.js +0 -1
  421. package/dist/web/_next/static/chunks/9387.96263a2d1602a078.js +0 -1
  422. package/dist/web/_next/static/chunks/9568-0bfadca4fcb105aa.js +0 -1
  423. package/dist/web/_next/static/chunks/9860.05fa134ae44699e0.js +0 -1
  424. package/dist/web/_next/static/chunks/9b87412a.d2cfae4121762dec.js +0 -122
  425. package/dist/web/_next/static/chunks/a096f98a-5a93977f5f5de413.js +0 -1
  426. package/dist/web/_next/static/chunks/ab1da478.d051e56375dab6d8.js +0 -1
  427. package/dist/web/_next/static/chunks/app/_global-error/page-e656bb9bc0f3fd3d.js +0 -1
  428. package/dist/web/_next/static/chunks/app/_not-found/page-877523282abd5a7c.js +0 -1
  429. package/dist/web/_next/static/chunks/app/admin/access/page-65febd13b3d1fc91.js +0 -5
  430. package/dist/web/_next/static/chunks/app/admin/login/page-8ff8150184b7ccaa.js +0 -1
  431. package/dist/web/_next/static/chunks/app/admin/ota/page-d8766baa3680522d.js +0 -5
  432. package/dist/web/_next/static/chunks/app/admin/page-6237b1487c05f33e.js +0 -5
  433. package/dist/web/_next/static/chunks/app/admin/turn/page-6a6b695b67d59451.js +0 -5
  434. package/dist/web/_next/static/chunks/app/dev/question/page-c7128ddf798789f1.js +0 -1
  435. package/dist/web/_next/static/chunks/app/layout-a0e78c8427f97e4f.js +0 -1
  436. package/dist/web/_next/static/chunks/app/login/page-2a046d10af50c87a.js +0 -1
  437. package/dist/web/_next/static/chunks/app/workspace/browse/page-e656bb9bc0f3fd3d.js +0 -1
  438. package/dist/web/_next/static/chunks/app/workspace/editor/page-e656bb9bc0f3fd3d.js +0 -1
  439. package/dist/web/_next/static/chunks/app/workspace/files/page-e656bb9bc0f3fd3d.js +0 -1
  440. package/dist/web/_next/static/chunks/app/workspace/git/page-e656bb9bc0f3fd3d.js +0 -1
  441. package/dist/web/_next/static/chunks/app/workspace/layout-9b28454945238595.js +0 -20
  442. package/dist/web/_next/static/chunks/app/workspace/mobile/page-e656bb9bc0f3fd3d.js +0 -1
  443. package/dist/web/_next/static/chunks/app/workspace/page-e656bb9bc0f3fd3d.js +0 -1
  444. package/dist/web/_next/static/chunks/app/workspace/pair/page-e656bb9bc0f3fd3d.js +0 -1
  445. package/dist/web/_next/static/chunks/app/workspace/remote/page-e656bb9bc0f3fd3d.js +0 -1
  446. package/dist/web/_next/static/chunks/app/workspace/terminal/[sessionId]/page-e656bb9bc0f3fd3d.js +0 -1
  447. package/dist/web/_next/static/chunks/app/workspace/welcome/page-e656bb9bc0f3fd3d.js +0 -1
  448. package/dist/web/_next/static/chunks/app/workspace/workspaces/page-e656bb9bc0f3fd3d.js +0 -1
  449. package/dist/web/_next/static/chunks/c7879cf7-0d16fce1674078f9.js +0 -1
  450. package/dist/web/_next/static/chunks/cdcce140.7a440644c3dd52b8.js +0 -1
  451. package/dist/web/_next/static/chunks/framework-42053c69543a55f9.js +0 -1
  452. package/dist/web/_next/static/chunks/main-255c95c36766ce86.js +0 -5
  453. package/dist/web/_next/static/chunks/main-app-1831d4f902c3fcb9.js +0 -1
  454. package/dist/web/_next/static/chunks/next/dist/client/components/builtin/app-error-e656bb9bc0f3fd3d.js +0 -1
  455. package/dist/web/_next/static/chunks/next/dist/client/components/builtin/forbidden-e656bb9bc0f3fd3d.js +0 -1
  456. package/dist/web/_next/static/chunks/next/dist/client/components/builtin/global-error-76800531999827bd.js +0 -1
  457. package/dist/web/_next/static/chunks/next/dist/client/components/builtin/not-found-e656bb9bc0f3fd3d.js +0 -1
  458. package/dist/web/_next/static/chunks/next/dist/client/components/builtin/unauthorized-e656bb9bc0f3fd3d.js +0 -1
  459. package/dist/web/_next/static/chunks/webpack-beef15eb580fc66b.js +0 -1
  460. package/dist/web/_next/static/css/c48f9629be2a67b4.css +0 -1
  461. /package/dist/web/_next/static/{hFRLMLaLieW6POo9cLvLQ → 55Oo1FQxj9HIxB7QE1XWG}/_buildManifest.js +0 -0
  462. /package/dist/web/_next/static/{hFRLMLaLieW6POo9cLvLQ → 55Oo1FQxj9HIxB7QE1XWG}/_ssgManifest.js +0 -0
  463. /package/dist/web/_next/static/chunks/{1311.8c6b8930e22ceea0.js → 6153.8c6b8930e22ceea0.js} +0 -0
  464. /package/dist/web/_next/static/chunks/{3692.8c6b8930e22ceea0.js → 8534.8c6b8930e22ceea0.js} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1050],{2074:(t,e,s)=>{s.d(e,{v:()=>o});var r=s(1521);let i=t=>{let e,s=new Set,r=(t,r)=>{let i="function"==typeof t?t(e):t;if(!Object.is(i,e)){let t=e;e=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},e,i),s.forEach(s=>s(e,t))}},i=()=>e,n={setState:r,getState:i,getInitialState:()=>o,subscribe:t=>(s.add(t),()=>s.delete(t))},o=e=t(r,i,n);return n},n=t=>{let e=t?i(t):i,s=t=>(function(t,e=t=>t){let s=r.useSyncExternalStore(t.subscribe,r.useCallback(()=>e(t.getState()),[t,e]),r.useCallback(()=>e(t.getInitialState()),[t,e]));return r.useDebugValue(s),s})(e,t);return Object.assign(s,e),s},o=t=>t?n(t):n},11472:(t,e,s)=>{function r(t,e){let s;try{s=t()}catch(t){return}return{getItem:t=>{var r;let i=t=>null===t?null:JSON.parse(t,null==e?void 0:e.reviver),n=null!=(r=s.getItem(t))?r:null;return n instanceof Promise?n.then(i):i(n)},setItem:(t,r)=>s.setItem(t,JSON.stringify(r,null==e?void 0:e.replacer)),removeItem:t=>s.removeItem(t)}}s.d(e,{KU:()=>r,Zr:()=>n});let i=t=>e=>{try{let s=t(e);if(s instanceof Promise)return s;return{then:t=>i(t)(s),catch(t){return this}}}catch(t){return{then(t){return this},catch:e=>i(e)(t)}}},n=(t,e)=>(s,n,o)=>{let a,h={storage:r(()=>window.localStorage),partialize:t=>t,version:0,merge:(t,e)=>({...e,...t}),...e},c=!1,l=0,u=new Set,p=new Set,d=h.storage;if(!d)return t((...t)=>{console.warn(`[zustand persist middleware] Unable to update item '${h.name}', the given storage is currently unavailable.`),s(...t)},n,o);let f=()=>{let t=h.partialize({...n()});return d.setItem(h.name,{state:t,version:h.version})},y=o.setState;o.setState=(t,e)=>(y(t,e),f());let g=t((...t)=>(s(...t),f()),n,o);o.getInitialState=()=>g;let m=()=>{var t,e;if(!d)return;let r=++l;c=!1,u.forEach(t=>{var e;return t(null!=(e=n())?e:g)});let o=(null==(e=h.onRehydrateStorage)?void 0:e.call(h,null!=(t=n())?t:g))||void 0;return i(d.getItem.bind(d))(h.name).then(t=>{if(t)if("number"!=typeof t.version||t.version===h.version)return[!1,t.state];else{if(h.migrate){let e=h.migrate(t.state,t.version);return e instanceof Promise?e.then(t=>[!0,t]):[!0,e]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(t=>{var e;if(r!==l)return;let[i,o]=t;if(s(a=h.merge(o,null!=(e=n())?e:g),!0),i)return f()}).then(()=>{r===l&&(null==o||o(n(),void 0),a=n(),c=!0,p.forEach(t=>t(a)))}).catch(t=>{r===l&&(null==o||o(void 0,t))})};return o.persist={setOptions:t=>{h={...h,...t},t.storage&&(d=t.storage)},clearStorage:()=>{++l,null==d||d.removeItem(h.name)},getOptions:()=>h,rehydrate:()=>m(),hasHydrated:()=>c,onHydrate:t=>(u.add(t),()=>{u.delete(t)}),onFinishHydration:t=>(p.add(t),()=>{p.delete(t)})},h.skipHydration||m(),a||g}},29717:(t,e,s)=>{var r=s(21505);s.o(r,"usePathname")&&s.d(e,{usePathname:function(){return r.usePathname}}),s.o(r,"useRouter")&&s.d(e,{useRouter:function(){return r.useRouter}}),s.o(r,"useSearchParams")&&s.d(e,{useSearchParams:function(){return r.useSearchParams}})},48193:(t,e,s)=>{let r,i,n;s.d(e,{io:()=>tA});var o,a,h={};s.r(h),s.d(h,{Decoder:()=>tf,Encoder:()=>td,PacketType:()=>a,isPacketValid:()=>t_,protocol:()=>tp});let c=Object.create(null);c.open="0",c.close="1",c.ping="2",c.pong="3",c.message="4",c.upgrade="5",c.noop="6";let l=Object.create(null);Object.keys(c).forEach(t=>{l[c[t]]=t});let u={type:"error",data:"parser error"},p="function"==typeof Blob||"u">typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),d="function"==typeof ArrayBuffer,f=t=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,y=({type:t,data:e},s,r)=>{if(p&&e instanceof Blob)if(s)return r(e);else return g(e,r);if(d&&(e instanceof ArrayBuffer||f(e)))if(s)return r(e);else return g(new Blob([e]),r);return r(c[t]+(e||""))},g=(t,e)=>{let s=new FileReader;return s.onload=function(){e("b"+(s.result.split(",")[1]||""))},s.readAsDataURL(t)};function m(t){return t instanceof Uint8Array?t:t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let _="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b="u"<typeof Uint8Array?[]:new Uint8Array(256);for(let t=0;t<_.length;t++)b[_.charCodeAt(t)]=t;let v="function"==typeof ArrayBuffer,w=(t,e)=>{if("string"!=typeof t)return{type:"message",data:E(t,e)};let s=t.charAt(0);return"b"===s?{type:"message",data:k(t.substring(1),e)}:l[s]?t.length>1?{type:l[s],data:t.substring(1)}:{type:l[s]}:u},k=(t,e)=>v?E((t=>{let e=.75*t.length,s=t.length,r,i=0,n,o,a,h;"="===t[t.length-1]&&(e--,"="===t[t.length-2]&&e--);let c=new ArrayBuffer(e),l=new Uint8Array(c);for(r=0;r<s;r+=4)n=b[t.charCodeAt(r)],o=b[t.charCodeAt(r+1)],a=b[t.charCodeAt(r+2)],h=b[t.charCodeAt(r+3)],l[i++]=n<<2|o>>4,l[i++]=(15&o)<<4|a>>2,l[i++]=(3&a)<<6|63&h;return c})(t),e):{base64:!0,data:t},E=(t,e)=>"blob"===e?t instanceof Blob?t:new Blob([t]):t instanceof ArrayBuffer?t:t.buffer;function O(t){return t.reduce((t,e)=>t+e.length,0)}function A(t,e){if(t[0].length===e)return t.shift();let s=new Uint8Array(e),r=0;for(let i=0;i<e;i++)s[i]=t[0][r++],r===t[0].length&&(t.shift(),r=0);return t.length&&r<t[0].length&&(t[0]=t[0].slice(r)),s}function T(t){if(t){var e=t;for(var s in T.prototype)e[s]=T.prototype[s];return e}}T.prototype.on=T.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},T.prototype.once=function(t,e){function s(){this.off(t,s),e.apply(this,arguments)}return s.fn=e,this.on(t,s),this},T.prototype.off=T.prototype.removeListener=T.prototype.removeAllListeners=T.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var s,r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var i=0;i<r.length;i++)if((s=r[i])===e||s.fn===e){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+t],this},T.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=Array(arguments.length-1),s=this._callbacks["$"+t],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(s){s=s.slice(0);for(var r=0,i=s.length;r<i;++r)s[r].apply(this,e)}return this},T.prototype.emitReserved=T.prototype.emit,T.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},T.prototype.hasListeners=function(t){return!!this.listeners(t).length};let R="function"==typeof Promise&&"function"==typeof Promise.resolve?t=>Promise.resolve().then(t):(t,e)=>e(t,0),C="u">typeof self?self:"u">typeof window?window:Function("return this")();function S(t,...e){return e.reduce((e,s)=>(t.hasOwnProperty(s)&&(e[s]=t[s]),e),{})}let N=C.setTimeout,B=C.clearTimeout;function x(t,e){e.useNativeTimers?(t.setTimeoutFn=N.bind(C),t.clearTimeoutFn=B.bind(C)):(t.setTimeoutFn=C.setTimeout.bind(C),t.clearTimeoutFn=C.clearTimeout.bind(C))}function L(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}class P extends Error{constructor(t,e,s){super(t),this.description=e,this.context=s,this.type="TransportError"}}class q extends T{constructor(t){super(),this.writable=!1,x(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,e,s){return super.emitReserved("error",new P(t,e,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(t){"open"===this.readyState&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){let e=w(t,this.socket.binaryType);this.onPacket(e)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,e={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(e)}_hostname(){let t=this.opts.hostname;return -1===t.indexOf(":")?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&443!==Number(this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(t){let e=function(t){let e="";for(let s in t)t.hasOwnProperty(s)&&(e.length&&(e+="&"),e+=encodeURIComponent(s)+"="+encodeURIComponent(t[s]));return e}(t);return e.length?"?"+e:""}}class I extends q{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";let e=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let t=0;this._polling&&(t++,this.once("pollComplete",function(){--t||e()})),this.writable||(t++,this.once("drain",function(){--t||e()}))}else e()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){let e=t=>{if("opening"===this.readyState&&"open"===t.type&&this.onOpen(),"close"===t.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(t)};((t,e)=>{let s=t.split("\x1e"),r=[];for(let t=0;t<s.length;t++){let i=w(s[t],e);if(r.push(i),"error"===i.type)break}return r})(t,this.socket.binaryType).forEach(e),"closed"!==this.readyState&&(this._polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this._poll())}doClose(){let t=()=>{this.write([{type:"close"}])};"open"===this.readyState?t():this.once("open",t)}write(t){var e;let s,r,i;this.writable=!1,e=t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})},r=Array(s=t.length),i=0,t.forEach((t,n)=>{y(t,!1,t=>{r[n]=t,++i===s&&e(r.join("\x1e"))})})}uri(){let t=this.opts.secure?"https":"http",e=this.query||{};return!1!==this.opts.timestampRequests&&(e[this.opts.timestampParam]=L()),this.supportsBinary||e.sid||(e.b64=1),this.createUri(t,e)}}let j=!1;try{j="u">typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(t){}let D=j;function U(){}class F extends I{constructor(t){if(super(t),"u">typeof location){const e="https:"===location.protocol;let s=location.port;s||(s=e?"443":"80"),this.xd="u">typeof location&&t.hostname!==location.hostname||s!==t.port}}doWrite(t,e){let s=this.request({method:"POST",data:t});s.on("success",e),s.on("error",(t,e)=>{this.onError("xhr post error",t,e)})}doPoll(){let t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(t,e)=>{this.onError("xhr poll error",t,e)}),this.pollXhr=t}}class V extends T{constructor(t,e,s){super(),this.createRequest=t,x(this,s),this._opts=s,this._method=s.method||"GET",this._uri=e,this._data=void 0!==s.data?s.data:null,this._create()}_create(){var t;let e=S(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this._opts.xd;let s=this._xhr=this.createRequest(e);try{s.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders)for(let t in s.setDisableHeaderCheck&&s.setDisableHeaderCheck(!0),this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(t)&&s.setRequestHeader(t,this._opts.extraHeaders[t])}catch(t){}if("POST"===this._method)try{s.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(t){}try{s.setRequestHeader("Accept","*/*")}catch(t){}null==(t=this._opts.cookieJar)||t.addCookies(s),"withCredentials"in s&&(s.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(s.timeout=this._opts.requestTimeout),s.onreadystatechange=()=>{var t;3===s.readyState&&(null==(t=this._opts.cookieJar)||t.parseCookies(s.getResponseHeader("set-cookie"))),4===s.readyState&&(200===s.status||1223===s.status?this._onLoad():this.setTimeoutFn(()=>{this._onError("number"==typeof s.status?s.status:0)},0))},s.send(this._data)}catch(t){this.setTimeoutFn(()=>{this._onError(t)},0);return}"u">typeof document&&(this._index=V.requestsCount++,V.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(void 0!==this._xhr&&null!==this._xhr){if(this._xhr.onreadystatechange=U,t)try{this._xhr.abort()}catch(t){}"u">typeof document&&delete V.requests[this._index],this._xhr=null}}_onLoad(){let t=this._xhr.responseText;null!==t&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}function M(){for(let t in V.requests)V.requests.hasOwnProperty(t)&&V.requests[t].abort()}V.requestsCount=0,V.requests={},"u">typeof document&&("function"==typeof attachEvent?attachEvent("onunload",M):"function"==typeof addEventListener&&addEventListener("onpagehide"in C?"pagehide":"unload",M,!1));let H=(n=z({xdomain:!1}))&&null!==n.responseType;class K extends F{constructor(t){super(t);const e=t&&t.forceBase64;this.supportsBinary=H&&!e}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new V(z,this.uri(),t)}}function z(t){let e=t.xdomain;try{if("u">typeof XMLHttpRequest&&(!e||D))return new XMLHttpRequest}catch(t){}if(!e)try{return new C[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch(t){}}let J="u">typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class W extends q{get name(){return"websocket"}doOpen(){let t=this.uri(),e=this.opts.protocols,s=J?{}:S(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,e,s)}catch(t){return this.emitReserved("error",t)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let e=0;e<t.length;e++){let s=t[e],r=e===t.length-1;y(s,this.supportsBinary,t=>{try{this.doWrite(s,t)}catch(t){}r&&R(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){void 0!==this.ws&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){let t=this.opts.secure?"wss":"ws",e=this.query||{};return this.opts.timestampRequests&&(e[this.opts.timestampParam]=L()),this.supportsBinary||(e.b64=1),this.createUri(t,e)}}let Y=C.WebSocket||C.MozWebSocket;class $ extends W{createSocket(t,e,s){return J?new Y(t,e,s):e?new Y(t,e):new Y(t)}doWrite(t,e){this.ws.send(e)}}class Q extends q{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{var e,s;let n,o,a,h,c=(e=Number.MAX_SAFE_INTEGER,s=this.socket.binaryType,i||(i=new TextDecoder),n=[],o=0,a=-1,h=!1,new TransformStream({transform(t,r){for(n.push(t);;){if(0===o){if(1>O(n))break;let t=A(n,1);h=(128&t[0])==128,o=(a=127&t[0])<126?3:126===a?1:2}else if(1===o){if(2>O(n))break;let t=A(n,2);a=new DataView(t.buffer,t.byteOffset,t.length).getUint16(0),o=3}else if(2===o){if(8>O(n))break;let t=A(n,8),e=new DataView(t.buffer,t.byteOffset,t.length),s=e.getUint32(0);if(s>2097151){r.enqueue(u);break}a=0x100000000*s+e.getUint32(4),o=3}else{if(O(n)<a)break;let t=A(n,a);r.enqueue(w(h?t:i.decode(t),s)),o=0}if(0===a||a>e){r.enqueue(u);break}}}})),l=t.readable.pipeThrough(c).getReader(),g=new TransformStream({transform(t,e){var s;s=s=>{let r,i=s.length;if(i<126)new DataView((r=new Uint8Array(1)).buffer).setUint8(0,i);else if(i<65536){let t=new DataView((r=new Uint8Array(3)).buffer);t.setUint8(0,126),t.setUint16(1,i)}else{let t=new DataView((r=new Uint8Array(9)).buffer);t.setUint8(0,127),t.setBigUint64(1,BigInt(i))}t.data&&"string"!=typeof t.data&&(r[0]|=128),e.enqueue(r),e.enqueue(s)},p&&t.data instanceof Blob?t.data.arrayBuffer().then(m).then(s):d&&(t.data instanceof ArrayBuffer||f(t.data))?s(m(t.data)):y(t,!1,t=>{r||(r=new TextEncoder),s(r.encode(t))})}});g.readable.pipeTo(t.writable),this._writer=g.writable.getWriter();let _=()=>{l.read().then(({done:t,value:e})=>{t||(this.onPacket(e),_())}).catch(t=>{})};_();let b={type:"open"};this.query.sid&&(b.data=`{"sid":"${this.query.sid}"}`),this._writer.write(b).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let e=0;e<t.length;e++){let s=t[e],r=e===t.length-1;this._writer.write(s).then(()=>{r&&R(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;null==(t=this._transport)||t.close()}}let X={websocket:$,webtransport:Q,polling:K},G=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Z=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function tt(t){var e,s;let r,i;if(t.length>8e3)throw"URI too long";let n=t,o=t.indexOf("["),a=t.indexOf("]");-1!=o&&-1!=a&&(t=t.substring(0,o)+t.substring(o,a).replace(/:/g,";")+t.substring(a,t.length));let h=G.exec(t||""),c={},l=14;for(;l--;)c[Z[l]]=h[l]||"";return -1!=o&&-1!=a&&(c.source=n,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),r=(e=c.path).replace(/\/{2,9}/g,"/").split("/"),("/"==e.slice(0,1)||0===e.length)&&r.splice(0,1),"/"==e.slice(-1)&&r.splice(r.length-1,1),c.pathNames=r,s=c.query,i={},s.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(t,e,s){e&&(i[e]=s)}),c.queryKey=i,c}let te="function"==typeof addEventListener&&"function"==typeof removeEventListener,ts=[];te&&addEventListener("offline",()=>{ts.forEach(t=>t())},!1);class tr extends T{constructor(t,e){if(super(),this.binaryType="arraybuffer",this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&"object"==typeof t&&(e=t,t=null),t){const s=tt(t);e.hostname=s.host,e.secure="https"===s.protocol||"wss"===s.protocol,e.port=s.port,s.query&&(e.query=s.query)}else e.host&&(e.hostname=tt(e.host).host);x(this,e),this.secure=null!=e.secure?e.secure:"u">typeof location&&"https:"===location.protocol,e.hostname&&!e.port&&(e.port=this.secure?"443":"80"),this.hostname=e.hostname||("u">typeof location?location.hostname:"localhost"),this.port=e.port||("u">typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},e.transports.forEach(t=>{let e=t.prototype.name;this.transports.push(e),this._transportsByName[e]=t}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},e),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(t){let e={},s=t.split("&");for(let t=0,r=s.length;t<r;t++){let r=s[t].split("=");e[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return e}(this.opts.query)),te&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},ts.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){let e=Object.assign({},this.opts.query);e.EIO=4,e.transport=t,this.id&&(e.sid=this.id);let s=Object.assign({},this.opts,{query:e,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](s)}_open(){if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);let t=this.opts.rememberUpgrade&&tr.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket")?"websocket":this.transports[0];this.readyState="opening";let e=this.createTransport(t);e.open(),this.setTransport(e)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",t=>this._onClose("transport close",t))}onOpen(){this.readyState="open",tr.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush()}_onPacket(t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":let e=Error("server error");e.code=t.data,this._onError(e);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data)}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),"closed"!==this.readyState&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);let t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let t=1;for(let e=0;e<this.writeBuffer.length;e++){let s=this.writeBuffer[e].data;if(s&&(t+="string"==typeof s?function(t){let e=0,s=0;for(let r=0,i=t.length;r<i;r++)(e=t.charCodeAt(r))<128?s+=1:e<2048?s+=2:e<55296||e>=57344?s+=3:(r++,s+=4);return s}(s):Math.ceil(1.33*(s.byteLength||s.size))),e>0&&t>this._maxPayload)return this.writeBuffer.slice(0,e);t+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;let t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,R(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,e,s){return this._sendPacket("message",t,e,s),this}send(t,e,s){return this._sendPacket("message",t,e,s),this}_sendPacket(t,e,s,r){if("function"==typeof e&&(r=e,e=void 0),"function"==typeof s&&(r=s,s=null),"closing"===this.readyState||"closed"===this.readyState)return;(s=s||{}).compress=!1!==s.compress;let i={type:t,data:e,options:s};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),r&&this.once("flush",r),this.flush()}close(){let t=()=>{this._onClose("forced close"),this.transport.close()},e=()=>{this.off("upgrade",e),this.off("upgradeError",e),t()},s=()=>{this.once("upgrade",e),this.once("upgradeError",e)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():t()}):this.upgrading?s():t()),this}_onError(t){if(tr.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&"opening"===this.readyState)return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),te&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){let t=ts.indexOf(this._offlineEventListener);-1!==t&&ts.splice(t,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,e),this.writeBuffer=[],this._prevBufferLen=0}}}tr.protocol=4;class ti extends tr{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),"open"===this.readyState&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let e=this.createTransport(t),s=!1;tr.priorWebsocketSuccess=!1;let r=()=>{s||(e.send([{type:"ping",data:"probe"}]),e.once("packet",t=>{if(!s)if("pong"===t.type&&"probe"===t.data){if(this.upgrading=!0,this.emitReserved("upgrading",e),!e)return;tr.priorWebsocketSuccess="websocket"===e.name,this.transport.pause(()=>{s||"closed"!==this.readyState&&(c(),this.setTransport(e),e.send([{type:"upgrade"}]),this.emitReserved("upgrade",e),e=null,this.upgrading=!1,this.flush())})}else{let t=Error("probe error");t.transport=e.name,this.emitReserved("upgradeError",t)}}))};function i(){s||(s=!0,c(),e.close(),e=null)}let n=t=>{let s=Error("probe error: "+t);s.transport=e.name,i(),this.emitReserved("upgradeError",s)};function o(){n("transport closed")}function a(){n("socket closed")}function h(t){e&&t.name!==e.name&&i()}let c=()=>{e.removeListener("open",r),e.removeListener("error",n),e.removeListener("close",o),this.off("close",a),this.off("upgrading",h)};e.once("open",r),e.once("error",n),e.once("close",o),this.once("close",a),this.once("upgrading",h),-1!==this._upgrades.indexOf("webtransport")&&"webtransport"!==t?this.setTimeoutFn(()=>{s||e.open()},200):e.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){let e=[];for(let s=0;s<t.length;s++)~this.transports.indexOf(t[s])&&e.push(t[s]);return e}}class tn extends ti{constructor(t,e={}){const s="object"==typeof t,r=s?{...t}:{...e};(!r.transports||r.transports&&"string"==typeof r.transports[0])&&(r.transports=(r.transports||["polling","websocket","webtransport"]).map(t=>X[t]).filter(t=>!!t)),super(s?r:t,r)}}tn.protocol;let to="function"==typeof ArrayBuffer,ta=Object.prototype.toString,th="function"==typeof Blob||"u">typeof Blob&&"[object BlobConstructor]"===ta.call(Blob),tc="function"==typeof File||"u">typeof File&&"[object FileConstructor]"===ta.call(File);function tl(t){return to&&(t instanceof ArrayBuffer||("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer))||th&&t instanceof Blob||tc&&t instanceof File}let tu=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],tp=5;(o=a||(a={}))[o.CONNECT=0]="CONNECT",o[o.DISCONNECT=1]="DISCONNECT",o[o.EVENT=2]="EVENT",o[o.ACK=3]="ACK",o[o.CONNECT_ERROR=4]="CONNECT_ERROR",o[o.BINARY_EVENT=5]="BINARY_EVENT",o[o.BINARY_ACK=6]="BINARY_ACK";class td{constructor(t){this.replacer=t}encode(t){return(t.type===a.EVENT||t.type===a.ACK)&&function t(e,s){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e)){for(let s=0,r=e.length;s<r;s++)if(t(e[s]))return!0;return!1}if(tl(e))return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1==arguments.length)return t(e.toJSON(),!0);for(let s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&t(e[s]))return!0;return!1}(t)?this.encodeAsBinary({type:t.type===a.EVENT?a.BINARY_EVENT:a.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let e=""+t.type;return(t.type===a.BINARY_EVENT||t.type===a.BINARY_ACK)&&(e+=t.attachments+"-"),t.nsp&&"/"!==t.nsp&&(e+=t.nsp+","),null!=t.id&&(e+=t.id),null!=t.data&&(e+=JSON.stringify(t.data,this.replacer)),e}encodeAsBinary(t){let e,s,r=(e=[],s=t.data,t.data=function t(e,s,r){if(!e)return e;if(tl(e)){let t={_placeholder:!0,num:s.length};return s.push(e),t}if(Array.isArray(e)){let r=Array(e.length);for(let i=0;i<e.length;i++)r[i]=t(e[i],s);return r}if("object"==typeof e&&!(e instanceof Date)){if(e.toJSON&&"function"==typeof e.toJSON&&!r)return t(e.toJSON(),s,!0);let i={};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[r]=t(e[r],s));return i}return e}(s,e),t.attachments=e.length,{packet:t,buffers:e}),i=this.encodeAsString(r.packet),n=r.buffers;return n.unshift(i),n}}class tf extends T{constructor(t){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},"function"==typeof t?{reviver:t}:t)}add(t){let e;if("string"==typeof t){if(this.reconstructor)throw Error("got plaintext data when reconstructing a packet");let s=(e=this.decodeString(t)).type===a.BINARY_EVENT;s||e.type===a.BINARY_ACK?(e.type=s?a.EVENT:a.ACK,this.reconstructor=new ty(e)):super.emitReserved("decoded",e)}else if(tl(t)||t.base64)if(this.reconstructor)(e=this.reconstructor.takeBinaryData(t))&&(this.reconstructor=null,super.emitReserved("decoded",e));else throw Error("got binary data when not reconstructing a packet");else throw Error("Unknown type: "+t)}decodeString(t){let e=0,s={type:Number(t.charAt(0))};if(void 0===a[s.type])throw Error("unknown packet type "+s.type);if(s.type===a.BINARY_EVENT||s.type===a.BINARY_ACK){let r=e+1;for(;"-"!==t.charAt(++e)&&e!=t.length;);let i=t.substring(r,e);if(i!=Number(i)||"-"!==t.charAt(e))throw Error("Illegal attachments");let n=Number(i);if(!tg(n)||n<1)throw Error("Illegal attachments");if(n>this.opts.maxAttachments)throw Error("too many attachments");s.attachments=n}if("/"===t.charAt(e+1)){let r=e+1;for(;++e&&","!==t.charAt(e)&&e!==t.length;);s.nsp=t.substring(r,e)}else s.nsp="/";let r=t.charAt(e+1);if(""!==r&&Number(r)==r){let r=e+1;for(;++e;){let s=t.charAt(e);if(null==s||Number(s)!=s){--e;break}if(e===t.length)break}s.id=Number(t.substring(r,e+1))}if(t.charAt(++e)){let r=this.tryParse(t.substr(e));if(tf.isPayloadValid(s.type,r))s.data=r;else throw Error("invalid payload")}return s}tryParse(t){try{return JSON.parse(t,this.opts.reviver)}catch(t){return!1}}static isPayloadValid(t,e){switch(t){case a.CONNECT:return tm(e);case a.DISCONNECT:return void 0===e;case a.CONNECT_ERROR:return"string"==typeof e||tm(e);case a.EVENT:case a.BINARY_EVENT:return Array.isArray(e)&&("number"==typeof e[0]||"string"==typeof e[0]&&-1===tu.indexOf(e[0]));case a.ACK:case a.BINARY_ACK:return Array.isArray(e)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class ty{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e,s;let t=(e=this.reconPack,s=this.buffers,e.data=function t(e,s){if(!e)return e;if(e&&!0===e._placeholder){if("number"==typeof e.num&&e.num>=0&&e.num<s.length)return s[e.num];throw Error("illegal attachments")}if(Array.isArray(e))for(let r=0;r<e.length;r++)e[r]=t(e[r],s);else if("object"==typeof e)for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=t(e[r],s));return e}(e.data,s),delete e.attachments,e);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}let tg=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t};function tm(t){return"[object Object]"===Object.prototype.toString.call(t)}function t_(t){var e;return"string"==typeof t.nsp&&(void 0===(e=t.id)||tg(e))&&function(t,e){switch(t){case a.CONNECT:return void 0===e||tm(e);case a.DISCONNECT:return void 0===e;case a.EVENT:return Array.isArray(e)&&("number"==typeof e[0]||"string"==typeof e[0]&&-1===tu.indexOf(e[0]));case a.ACK:return Array.isArray(e);case a.CONNECT_ERROR:return"string"==typeof e||tm(e);default:return!1}}(t.type,t.data)}function tb(t,e,s){return t.on(e,s),function(){t.off(e,s)}}let tv=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class tw extends T{constructor(t,e,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=e,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;let t=this.io;this.subs=[tb(t,"open",this.onopen.bind(this)),tb(t,"packet",this.onpacket.bind(this)),tb(t,"error",this.onerror.bind(this)),tb(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...e){var s,r,i;if(tv.hasOwnProperty(t))throw Error('"'+t.toString()+'" is a reserved event name');if(e.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(e),this;let n={type:a.EVENT,data:e};if(n.options={},n.options.compress=!1!==this.flags.compress,"function"==typeof e[e.length-1]){let t=this.ids++,s=e.pop();this._registerAckCallback(t,s),n.id=t}let o=null==(r=null==(s=this.io.engine)?void 0:s.transport)?void 0:r.writable,h=this.connected&&!(null==(i=this.io.engine)?void 0:i._hasPingExpired());return this.flags.volatile&&!o||(h?(this.notifyOutgoingListeners(n),this.packet(n)):this.sendBuffer.push(n)),this.flags={},this}_registerAckCallback(t,e){var s;let r=null!=(s=this.flags.timeout)?s:this._opts.ackTimeout;if(void 0===r){this.acks[t]=e;return}let i=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let e=0;e<this.sendBuffer.length;e++)this.sendBuffer[e].id===t&&this.sendBuffer.splice(e,1);e.call(this,Error("operation has timed out"))},r),n=(...t)=>{this.io.clearTimeoutFn(i),e.apply(this,t)};n.withError=!0,this.acks[t]=n}emitWithAck(t,...e){return new Promise((s,r)=>{let i=(t,e)=>t?r(t):s(e);i.withError=!0,e.push(i),this.emit(t,...e)})}_addToQueue(t){let e;"function"==typeof t[t.length-1]&&(e=t.pop());let s={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((t,...r)=>(this._queue[0],null!==t?s.tryCount>this._opts.retries&&(this._queue.shift(),e&&e(t)):(this._queue.shift(),e&&e(null,...r)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||0===this._queue.length)return;let e=this._queue[0];(!e.pending||t)&&(e.pending=!0,e.tryCount++,this.flags=e.flags,this.emit.apply(this,e.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){"function"==typeof this.auth?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:a.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,e){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,e),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(e=>String(e.id)===t)){let e=this.acks[t];delete this.acks[t],e.withError&&e.call(this,Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case a.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case a.EVENT:case a.BINARY_EVENT:this.onevent(t);break;case a.ACK:case a.BINARY_ACK:this.onack(t);break;case a.DISCONNECT:this.ondisconnect();break;case a.CONNECT_ERROR:this.destroy();let e=Error(t.data.message);e.data=t.data.data,this.emitReserved("connect_error",e)}}onevent(t){let e=t.data||[];null!=t.id&&e.push(this.ack(t.id)),this.connected?this.emitEvent(e):this.receiveBuffer.push(Object.freeze(e))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length)for(let e of this._anyListeners.slice())e.apply(this,t);super.emit.apply(this,t),this._pid&&t.length&&"string"==typeof t[t.length-1]&&(this._lastOffset=t[t.length-1])}ack(t){let e=this,s=!1;return function(...r){s||(s=!0,e.packet({type:a.ACK,id:t,data:r}))}}onack(t){let e=this.acks[t.id];"function"==typeof e&&(delete this.acks[t.id],e.withError&&t.data.unshift(null),e.apply(this,t.data))}onconnect(t,e){this.id=t,this.recovered=e&&this._pid===e,this._pid=e,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:a.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){let e=this._anyListeners;for(let s=0;s<e.length;s++)if(t===e[s]){e.splice(s,1);break}}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){let e=this._anyOutgoingListeners;for(let s=0;s<e.length;s++)if(t===e[s]){e.splice(s,1);break}}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length)for(let e of this._anyOutgoingListeners.slice())e.apply(this,t.data)}}function tk(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}tk.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),s=Math.floor(e*this.jitter*t);t=(1&Math.floor(10*e))==0?t-s:t+s}return 0|Math.min(t,this.max)},tk.prototype.reset=function(){this.attempts=0},tk.prototype.setMin=function(t){this.ms=t},tk.prototype.setMax=function(t){this.max=t},tk.prototype.setJitter=function(t){this.jitter=t};class tE extends T{constructor(t,e){var s;super(),this.nsps={},this.subs=[],t&&"object"==typeof t&&(e=t,t=void 0),(e=e||{}).path=e.path||"/socket.io",this.opts=e,x(this,e),this.reconnection(!1!==e.reconnection),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor(null!=(s=e.randomizationFactor)?s:.5),this.backoff=new tk({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==e.timeout?2e4:e.timeout),this._readyState="closed",this.uri=t;const r=e.parser||h;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=!1!==e.autoConnect,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return void 0===t?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var e;return void 0===t?this._reconnectionDelay:(this._reconnectionDelay=t,null==(e=this.backoff)||e.setMin(t),this)}randomizationFactor(t){var e;return void 0===t?this._randomizationFactor:(this._randomizationFactor=t,null==(e=this.backoff)||e.setJitter(t),this)}reconnectionDelayMax(t){var e;return void 0===t?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,null==(e=this.backoff)||e.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new tn(this.uri,this.opts);let e=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;let r=tb(e,"open",function(){s.onopen(),t&&t()}),i=e=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",e),t?t(e):this.maybeReconnectOnOpen()},n=tb(e,"error",i);if(!1!==this._timeout){let t=this._timeout,s=this.setTimeoutFn(()=>{r(),i(Error("timeout")),e.close()},t);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}return this.subs.push(r),this.subs.push(n),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");let t=this.engine;this.subs.push(tb(t,"ping",this.onping.bind(this)),tb(t,"data",this.ondata.bind(this)),tb(t,"error",this.onerror.bind(this)),tb(t,"close",this.onclose.bind(this)),tb(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(t){this.onclose("parse error",t)}}ondecoded(t){R(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,e){let s=this.nsps[t];return s?this._autoConnect&&!s.active&&s.connect():(s=new tw(this,t,e),this.nsps[t]=s),s}_destroy(t){for(let t of Object.keys(this.nsps))if(this.nsps[t].active)return;this._close()}_packet(t){let e=this.encoder.encode(t);for(let s=0;s<e.length;s++)this.engine.write(e[s],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,e){var s;this.cleanup(),null==(s=this.engine)||s.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,e),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{let e=this.backoff.duration();this._reconnecting=!0;let s=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),t.skipReconnect||t.open(e=>{e?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",e)):t.onreconnect()}))},e);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){let t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}let tO={};function tA(t,e){let s;"object"==typeof t&&(e=t,t=void 0);let r=function(t,e="",s){let r=t;s=s||"u">typeof location&&location,null==t&&(t=s.protocol+"//"+s.host),"string"==typeof t&&("/"===t.charAt(0)&&(t="/"===t.charAt(1)?s.protocol+t:s.host+t),/^(https?|wss?):\/\//.test(t)||(t=void 0!==s?s.protocol+"//"+t:"https://"+t),r=tt(t)),!r.port&&(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";let i=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+i+":"+r.port+e,r.href=r.protocol+"://"+i+(s&&s.port===r.port?"":":"+r.port),r}(t,(e=e||{}).path||"/socket.io"),i=r.source,n=r.id,o=r.path,a=tO[n]&&o in tO[n].nsps;return e.forceNew||e["force new connection"]||!1===e.multiplex||a?s=new tE(i,e):(tO[n]||(tO[n]=new tE(i,e)),s=tO[n]),r.query&&!e.query&&(e.query=r.queryKey),s.socket(r.path,e)}Object.assign(tA,{Manager:tE,Socket:tw,io:tA,connect:tA})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[132],{20132:(e,t,a)=>{a.r(t),a.d(t,{default:()=>o});let o={common:{statusIdle:"Idle",statusWorking:"Working",statusBlocked:"Needs input",statusDone:"Your turn",loading:"लोड हो रहा है...",cancel:"रद्द करें",confirm:"पुष्टि करें",save:"सहेजें",delete:"हटाएँ",close:"बंद करें",back:"वापस",edit:"संपादित करें",rename:"नाम बदलें",remove:"निकालें",open:"खोलें",yes:"हाँ",no:"नहीं",ok:"ठीक है",error:"त्रुटि",success:"सफल",failed:"विफल",retry:"पुनः प्रयास करें",refresh:"रीफ्रेश करें",clipboard:"Clipboard",clipboardCopy:"Copy",clipboardEmpty:"Clipboard is empty",search:"खोजें",create:"बनाएँ",new:"नया",add:"जोड़ें",copy:"कॉपी करें",copied:"कॉपी किया गया",download:"डाउनलोड",upload:"अपलोड",enabled:"सक्षम",disabled:"अक्षम",on:"चालू",off:"बंद",minute:"मिनट",hour:"घं",day:"दि",minutesAgo:"{n} मिनट पहले",hoursAgo:"{n} घंटे पहले",daysAgo:"{n} दिन पहले"},login:{tagline:"कहीं से भी अपने टर्मिनल तक पहुँचें",heroLine1:"Any machine.",heroLine2:"One terminal.",heroLine3:"In your pocket.",featureTerminal:"Terminal",featureDesktop:"Desktop",featureFiles:"Files",termConnected:"host connected",termTunnel:"tunnel established",termReady:"ready",accessKey:"एक्सेस कुंजी",placeholder:"sk-xxx... या वन-टाइम कुंजी (ABC123)",rememberKey:"इस कुंजी को याद रखें",connect:"कनेक्ट करें",connecting:"कनेक्ट हो रहा है...",authenticating:"टोकन से प्रमाणीकरण हो रहा है...",invalidKeyTail:"Wrong access key — check the last characters and try again.",scanQr:"Scan QR to login",qrScanTitle:"Scan QR Code",qrHint:"Point the camera at the QR code shown on the machine running 9Remote.",qrDetected:"QR Code detected!",qrAuthenticating:"Authenticating...",qrPleaseWait:"Please wait...",qrLibFail:"Failed to load the QR scanner library.",qrInitFail:"Could not start the scanner.",qrCamDenied:"Camera permission denied. Allow camera access and try again.",qrNoCamera:"No camera found on this device.",qrCamBusy:"Camera is in use by another app.",qrCamError:"Could not open the camera.",savedKeys:"सहेजी गई कुंजियाँ",login:"लॉगिन",lastLogin:"अंतिम लॉगिन",namePlaceholder:"Name this key (optional)",rename:"Rename",deleteKeyTitle:"Delete key",deleteKeyConfirm:'Are you sure you want to delete "{name}"?',justNow:"अभी अभी",minutesAgo:"{n}मि पहले",hoursAgo:"{n}घं पहले",daysAgo:"{n}दि पहले",tapToScan:"स्कैन करने के लिए टैप करें",orEnterManually:"या मैन्युअल रूप से कुंजी दर्ज करें",addKey:"Add Key",secureTitle:"Secure & Encrypted",secureDesc:"All connections are end-to-end encrypted and secure.",featAccessTitle:"Access Anywhere",featAccessDesc:"Connect from any device, anywhere.",featSecureTitle:"Secure Connection",featSecureDesc:"End-to-end encryption keeps you safe.",featFastTitle:"Fast & Reliable",featFastDesc:"Low latency and high performance.",featSessionsTitle:"Multiple Sessions",featSessionsDesc:"Manage and switch between sessions.",home:"होम",docs:"दस्तावेज़"},menu:{reloadRestart:"Reload & Restart",restartHost:"Restart 9remote host",restartConfirmTitle:"Restart 9remote host?",restartConfirmMessage:"This restarts the host process (no reinstall). Terminal sessions are preserved. It takes a few seconds.",restartStarting:"Restarting host…",restartRestarting:"Restarting 9remote…",restartDone:"Restarted! Reconnecting…",restartTimeout:"Restart is taking too long",restartTimeoutHint:"Reconnect manually if it doesn't recover.",title:"मेनू",language:"भाषा",theme:"थीम",notifications:"सूचनाएँ",webgl:"GPU Render (Faster)",webglHint:"यदि पाठ गलत दिखे तो बंद करें",notificationsHint:"Notify when agent finishes",orientation:"स्क्रीन ओरिएंटेशन",orientationPortrait:"पोर्ट्रेट",orientationAuto:"ऑटो",files:"File Explorer",downloading:"Downloading",copying:"Copying",conflictTitle:"File already exists",conflictMessage:"{name} already exists. Replace or skip?",skip:"Skip",skipAll:"Skip all",replace:"Replace",replaceAll:"Replace all",sites:"साइटें",commandNotes:"कमांड नोट्स",community:"समुदाय",installApp:"ऐप इंस्टॉल करें",codespace:"Codespace",logout:"लॉगआउट",settingsGeneral:"General",settingsAppearance:"Appearance",settingsTerminalTab:"Terminal",settingsMcp:"Plugins",mcpIntro:"Extra abilities you can give your AI coding tools.",mcpTools:"Allow",mcpRestartHint:"Turning it off applies at once. Turning it on needs the AI tool restarted.",mcpUnavailable:"Update this host to use MCP.",artifactFormats:"Formats it can show",mcpClients:"Works with",settingsWorkspace:"Workspace",settingsApplication:"Application",settingsAccount:"Account",themeLight:"Light",themeDark:"Dark",reload:"ऐप पुनः लोड करें",remoteDesktop:"रिमोट डेस्कटॉप",settings:"सेटिंग्स",enablePush:"पुश सूचनाएँ सक्षम करें",disablePush:"पुश सूचनाएँ अक्षम करें",pushHint:"AI द्वारा कार्य पूर्ण करने पर सूचना पाने के लिए पुश सूचनाएँ सक्षम करें",pushActiveHint:"Push notifications are on for this device. You'll be alerted when AI completes tasks.",versionMismatch:"Host {version} पुराना है",versionMismatchHint:"कुछ सुविधाएँ काम नहीं कर सकतीं। चलाएँ:",updateNow:"Update now",updating:"Updating… reconnecting",webReloadTitle:"New web version available",webReloadHint:"Reload to get the latest interface.",reloadWeb:"Reload",updateAvailableTitle:"9Remote host update available",updateStarting:"Starting update…",updateInstalling:"Installing new version…",updateTimeout:"Update is taking too long",updateTimeoutHint:"Reload manually if it doesn't recover.",updateRestarting:"Restarting host…",updateReconnecting:"Reconnecting…",updateDone:"Updated! Reloading…",version:"संस्करण"},workspace:{loading:"लोड हो रहा है...",logoutTitle:"लॉगआउट",logoutMessage:"क्या आप वाकई लॉगआउट करना चाहते हैं?",failedCreateSession:"सत्र बनाने में विफल: {error}",failedRenameSession:"सत्र का नाम बदलने में विफल: {error}"},sessions:{headerTitle:"9remote.cc",connected:"कनेक्ट किया गया",disconnected:"डिस्कनेक्ट किया गया",codespaceStopped:"Codespace बंद हो गया",placeholder:"टर्मिनल नाम (वैकल्पिक)",newButton:"+ नया",empty:"कोई सक्रिय सत्र नहीं",emptyHint:"शुरू करने के लिए एक नया सत्र बनाएँ",created:"बनाया गया {time}",deleteTitle:"सत्र हटाएँ",deleteMessage:'क्या आप वाकई "{name}" को हटाना चाहते हैं?',editName:"नाम संपादित करें",newTerminal:"नया टर्मिनल",options:"Options"},workspaces:{title:"Groups",newWorkspace:"Group",newWorkspacePrompt:"Group name",defaultName:"New Group",ungrouped:"Ungrouped",addTerminal:"Add terminal to group",moveToWorkspace:"Move to group",rename:"Rename group",delete:"Delete group",emptyWorkspace:"No terminals in this group",deleteTitle:"Delete Group",deleteMessage:'Delete group "{name}"? Terminals move to Ungrouped.'},terminal:{quotaNoData:"No quota data",quotaUsageTitle:"usage",back:"वापस",menu:"मेनू",newTerminal:"नया टर्मिनल",remoteDesktop:"रिमोट डेस्कटॉप",defaultName:"टर्म"},files:{selectWorkspace:"वर्कस्पेस चुनें",recentWorkspaces:"हालिया वर्कस्पेस",home:"होम",root:"रूट",drive:"ड्राइव {letter}",codespaces:"Codespaces",removeRecent:"हालिया से निकालें",removeTitle:"वर्कस्पेस निकालें",removeMessage:'हालिया वर्कस्पेस से "{name}" को निकालें?',setAsWorkspace:"वर्कस्पेस के रूप में सेट करें",openFolder:"फ़ोल्डर खोलें",newFile:"नई फ़ाइल",newFolder:"नया फ़ोल्डर",rename:"नाम बदलें",delete:"हटाएँ",deleteFile:"फ़ाइल हटाएँ",deleteFolder:"फ़ोल्डर हटाएँ",deleteFileMessage:'"{name}" हटाएँ?',deleteFolderMessage:'फ़ोल्डर "{name}" और इसकी सारी सामग्री हटाएँ?',emptyFolder:"खाली फ़ोल्डर",git:"Git",parent:"मूल फ़ोल्डर",workspace:"वर्कस्पेस",failedLoad:"लोड करने में विफल: {error}",failedDelete:"हटाने में विफल: {error}",failedCreate:"बनाने में विफल: {error}",failedRename:"नाम बदलने में विफल: {error}",enterName:"नाम दर्ज करें",confirmRename:"नाम बदलें इसमें:",setWorkspace:"वर्कस्पेस सेट करें",setAsWorkspaceTitle:"वर्कस्पेस के रूप में सेट करें",switchWorkspace:"वर्कस्पेस बदलें",searchFiles:"फ़ाइलें खोजें",toggleHidden:"छिपी फ़ाइलें टॉगल करें",searchPlaceholder:"फ़ाइलें खोजें...",searching:"खोज रहे हैं...",noFilesFound:"कोई फ़ाइल नहीं मिली",noGitRepo:"कोई Git रिपॉज़िटरी नहीं",cannotOpenBinary:"बाइनरी फ़ाइल नहीं खोली जा सकती",createNew:"नया बनाएँ",file:"फ़ाइल",folder:"फ़ोल्डर",placeholderFile:"filename.js",placeholderFolder:"folder-name",pickFile:"Choose files",pickFolder:"Choose folder",copyPath:"पथ कॉपी करें",copyRelPath:"Copy Relative Path",copyName:"Copy Filename",delete:"हटाएँ",rename:"नाम बदलें",deleteConfirmTitle:"हटाएँ",deleteConfirmMessage:'"{name}" हटाएँ?'},editor:{save:"सहेजें",saving:"सहेजा जा रहा है...",saved:"सहेजा गया",unsaved:"असहेजे गए परिवर्तन",close:"बंद करें",discard:"त्यागें",discardTitle:"परिवर्तन त्यागें",discardMessage:"आपके पास असहेजे परिवर्तन हैं। उन्हें त्यागें?",unsavedTitle:"Save changes to {name}?",unsavedBody:"Your changes will be lost if you don't save them.",failedLoad:"फ़ाइल लोड करने में विफल: {error}",failedSave:"सहेजने में विफल: {error}",openFull:"Open in full editor",artifact:"Artifact",readOnly:"केवल पढ़ने योग्य",line:"पंक्ति",column:"स्तंभ",gitDiff:"Git अंतर",typeText:"टेक्स्ट टाइप करें और सम्मिलित करें...",insert:"सम्मिलित करें",statusModified:"संशोधित",statusAdded:"जोड़ा गया",statusUntracked:"अनट्रैक्ड"},git:{title:"Git",branch:"शाखा",changes:"परिवर्तन",staged:"स्टेज किया गया",unstaged:"अनस्टेज किया गया",untracked:"अनट्रैक्ड",commit:"कमिट",commitAndPush:"Commit & Push",commitSuccess:"Commit successful",pushSuccess:"Push successful",stageFailed:"Failed to stage changes",commitFailed:"Commit failed",pushFailed:"Push failed",pullSuccess:"Pull successful",pullFailed:"Pull failed",stageAllConfirmTitle:"Stage All & Commit",stageAllConfirmMessage:"No changes are staged. Stage all changes and commit?",stageAndCommit:"Stage & Commit",gitActions:"Git actions",commitPlaceholder:"Commit message…",stageAllNote:"Stage all \xb7 {count}",upToDate:"Everything up-to-date",commitMessage:"कमिट संदेश",push:"पुश",pull:"पुल",fetch:"फ़ेच",stage:"स्टेज",stageAll:"सब स्टेज करें",unstage:"अनस्टेज",discard:"त्यागें",discardChanges:"परिवर्तन त्यागें",discardMessage:'"{name}" के परिवर्तन त्यागें?',noChanges:"कोई परिवर्तन नहीं",diff:"अंतर",pushing:"पुश हो रहा है...",pulling:"पुल हो रहा है...",committing:"कमिट हो रहा है...",failedCommit:"कमिट करने में विफल: {error}",failedPush:"पुश करने में विफल: {error}",failedPull:"पुल करने में विफल: {error}",status:"स्थिति",diffTab:"अंतर",modified:"संशोधित",added:"जोड़ा गया",deleted:"हटाया गया",untrackedTitle:"अनट्रैक्ड",openFile:"फ़ाइल खोलें",discardChangesTitle:"परिवर्तन त्यागें",discardConfirmTitle:"परिवर्तन त्यागें",discardConfirmDelete:'क्या आप वाकई "{name}" को हटाना चाहते हैं? यह पूर्ववत नहीं किया जा सकता।',discardConfirmDiscard:'क्या आप वाकई "{name}" के परिवर्तन त्यागना चाहते हैं? यह पूर्ववत नहीं किया जा सकता।'},fileExplorer:{explorer:"Explorer",search:"Search",sourceControl:"Source Control",settings:"Settings",outline:"Outline",noFolderOpen:"No folder open",uploadingCount:"Uploading {{n}}/{{total}}…",uploadFailedCount:"{{n}} of {{total}} files failed to upload",openFolder:"Open Folder",recentWorkspaces:"Recent Workspaces",openedEditors:"Open Editors",closeEditor:"Close",closeOthers:"Close Others",closeAll:"Close All",closeAllSaved:"Close All Saved",saveAll:"Save All",newFile:"New File",newFolder:"New Folder",refreshExplorer:"Refresh Explorer",collapseAll:"Collapse All",searchInFiles:"Search in files",replaceInFiles:"Replace in files",searchPlaceholder:"Search",replacePlaceholder:"Replace",caseSensitive:"Match Case",wholeWord:"Match Whole Word",useRegex:"Use Regular Expression",filesToInclude:"files to include",filesToExclude:"files to exclude",noResults:"No results found",resultCount:"{count} results in {fileCount} files",replaceAll:"Replace All",replaceConfirmTitle:"Replace in Files",replaceConfirmMessage:"Replace {count} occurrences in {fileCount} files?",commandPalette:"Command Palette",quickOpen:"Quick Open File",typeCommand:"Type a command",typeFileName:"Type a file name",noCommandsFound:"No commands found",workspaceSwitcher:"Switch Workspace",pinWorkspace:"Pin",unpinWorkspace:"Unpin",renameWorkspace:"Rename Workspace",workspaceNamePlaceholder:"Workspace display name",pinned:"Pinned",recent:"Recent",searchWorkspaces:"Search workspaces",welcomeTitle:"Welcome",welcomeSubtitle:"Open a folder to start working",welcomeOpenFolder:"Open Folder",welcomeRecent:"Recent",toggleSidebar:"Toggle Sidebar",togglePanel:"Toggle Panel",togglePanelBottom:"Toggle Bottom Panel",toggleWordWrap:"Toggle Word Wrap",zoomIn:"Zoom In",zoomOut:"Zoom Out",resetZoom:"Reset Zoom",formatDocument:"Format Document",findInFile:"Find",replaceInFile:"Replace",goToLine:"Go to Line",goToFile:"Go to File",revealInOS:"Reveal in Finder/Explorer",openInTerminal:"Open in Terminal",copyPath:"Copy Path",copyRelativePath:"Copy Relative Path",duplicate:"Duplicate",cut:"Cut",paste:"Paste",autoSave:"Auto Save",autoSaveOff:"Off",autoSaveAfterDelay:"After Delay",autoSaveOnFocusChange:"On Focus Change",fontSize:"Font Size",terminalTheme:"Terminal Theme",wordWrap:"Word Wrap",language:"Language",encoding:"Encoding",spaces:"Spaces",branch:"Branch",noBranch:"No branch",commitMessage:"Commit Message",commitMessagePlaceholder:"Message (Cmd+Enter to commit)",stage:"Stage",stageAll:"Stage All",unstage:"Unstage",push:"Push",pull:"Pull",sync:"Sync",staged:"Staged Changes",changes:"Changes",untracked:"Untracked",bottomPanelTerminal:"Terminal",bottomPanelOutput:"Output",bottomPanelProblems:"Problems",expandAll:"Expand All",recentFiles:"Recent Files",closedTabReopen:"Reopen Closed Tab",unsavedDot:"●",loadingTree:"Loading...",fileWatcherActive:"Watching for changes"},remote:{title:"रिमोट डेस्कटॉप",connecting:"कनेक्ट हो रहा है...",disconnected:"डिस्कनेक्ट किया गया",fullscreen:"फ़ुलस्क्रीन",exitFullscreen:"फ़ुलस्क्रीन से बाहर निकलें",receivingImage:"Receiving screen…",keyboard:"कीबोर्ड",mouse:"माउस",quality:"गुणवत्ता",fps:"FPS",debug:"डिबग",help:"सहायता",close:"बंद करें",sendKey:"कुंजी भेजें",helpTitle:"रिमोट डेस्कटॉप सहायता",notAvailable:"रिमोट डेस्कटॉप उपलब्ध नहीं है",customizeKeys:"कुंजियाँ अनुकूलित करें",back:"वापस",resetZoom:"ज़ूम रीसेट करें",refresh:"रीफ्रेश",rectangleSelection:"आयत चयन",handMode:"हैंड मोड",toggleKeyboard:"नेटिव कीबोर्ड टॉगल करें",hideControls:"Hide controls",showControls:"Show controls",textBatchInput:"टेक्स्ट बैच इनपुट",extraKeys:"अतिरिक्त कुंजियाँ",customizeRemoteKeys:"रिमोट कुंजियाँ अनुकूलित करें",exitRemote:"रिमोट डेस्कटॉप से बाहर निकलें",debugTitle:"डिबग आँकड़े",minimize:"छोटा करें",transport:"ट्रांसपोर्ट",latency:"लेटेंसी",tilesPerSec:"टाइल/सेकंड",bandwidth:"बैंडविड्थ",clearStats:"आँकड़े साफ़ करें",lockTitle:"Windows लॉक है",lockGrantDesc:'इस PC के 9remote host में "रिमोट अनलॉक PC" चालू करें।',lockDesc:"इस कंप्यूटर के लिए Windows PIN या पासवर्ड दर्ज करें",lockPlaceholder:"Windows PIN या पासवर्ड",unlock:"अनलॉक करें",unlocking:"अनलॉक हो रहा है…",unlockFailed:"अनलॉक विफल — अपना PIN/पासवर्ड जाँचें और पुनः प्रयास करें।"},remoteHelp:{modePc:"PC / माउस",modeTrackpad:"टच \xb7 Trackpad",modeDirect:"टच \xb7 डायरेक्ट",mouseTitle:"माउस",keyboardTitle:"कीबोर्ड",gesturesTrackpadTitle:"जेस्चर (Trackpad ✋)",gesturesDirectTitle:"जेस्चर (डायरेक्ट)",toolbarTitle:"टूलबार",mouseClickKey:"क्लिक / ड्रैग",mouseClickDesc:"लेफ्ट-क्लिक, चयन/स्थानांतरण के लिए ड्रैग करें",mouseRightKey:"राइट-क्लिक",mouseRightDesc:"रिमोट पर संदर्भ मेनू",mouseWheelKey:"व्हील",mouseWheelDesc:"रिमोट स्क्रॉल करें (Shift + व्हील = क्षैतिज)",mouseDoubleKey:"डबल-क्लिक",mouseDoubleDesc:"रिमोट पर डबल-क्लिक",keyPhysicalKey:"भौतिक कुंजियाँ",keyPhysicalDesc:"सीधे भेजी जाती हैं (Tab, F-कुंजियाँ, आदि कैप्चर की जाती हैं)",keyModifierKey:"Ctrl / Alt / Shift / ⌘",keyModifierDesc:"स्टिकी मॉडिफायर — अगली कुंजी के साथ संयोजित करें",trackpadSwipeKey:"1 अंगुली स्वाइप",trackpadSwipeDesc:"वर्चुअल कर्सर हिलाएँ",trackpadTapKey:"1 अंगुली टैप",trackpadTapDesc:"कर्सर पर लेफ्ट-क्लिक",trackpad2TapKey:"2 अंगुली टैप",trackpad2TapDesc:"कर्सर पर राइट-क्लिक",trackpad2SwipeKey:"2 अंगुली स्वाइप",trackpad2SwipeDesc:"कर्सर स्थिति पर स्क्रॉल करें",trackpadPinchKey:"2 अंगुली पिंच",trackpadPinchDesc:"कैनवास ज़ूम करें",trackpadScrollLockKey:"दबाए रखें + खींचें",trackpadScrollLockDesc:"स्क्रॉल लॉक करने के लिए दबाए रखें, किसी भी दिशा में खींचें",directTapKey:"1 अंगुली टैप",directTapDesc:"टैप स्थिति पर क्लिक",directLongKey:"1 अंगुली लंबा-दबाएँ",directLongDesc:"राइट-क्लिक",directDoubleKey:"1 अंगुली डबल-टैप",directDoubleDesc:"डबल-क्लिक",directScrollKey:"2 अंगुली स्वाइप",directScrollDesc:"रिमोट स्क्रॉल करें",directPinchKey:"2 अंगुली पिंच",directPinchDesc:"कैनवास ज़ूम करें",directPanKey:"1 अंगुली ड्रैग (zoom>1)",directPanDesc:"कैनवास पैन करें",toolbarHandDesc:"लेफ्ट-क्लिक दबाए रखें (ड्रैग मोड) — छोड़ने के लिए फिर से टैप करें",toolbarMouseDirectDesc:"डायरेक्ट मोड पर स्विच करें",toolbarMouseTrackpadDesc:"Trackpad पर स्विच करें (वर्चुअल कर्सर)",toolbarKeyboardDesc:"नेटिव कीबोर्ड / टेक्स्ट बैच इनपुट",toolbarRectDesc:"आयत चयन मोड"},remoteControls:{enterToSend:"Tab / Ctrl+Num से टैब बदलें",typeToSend:"भेजने के लिए टेक्स्ट टाइप करें...",send:"भेजें",trackpadMode:"Trackpad मोड",directMode:"डायरेक्ट मोड",bottomRow:"निचली पंक्ति",extraPanel:"अतिरिक्त पैनल",exitConfirmMessage:"क्या आप वाकई वर्तमान रिमोट डेस्कटॉप सत्र से बाहर निकलना चाहते हैं?"},connection:{retrying:"पुनः कनेक्ट हो रहा है...",waitingApproval:"अनुमोदन की प्रतीक्षा है",approvalDescription:"आप कनेक्ट करने से पहले 9Remote host को इस डिवाइस को अनुमोदित करना होगा।",approvalHint:"अपनी मशीन पर टर्मिनल देखें।",rejectedTitle:"डिवाइस अस्वीकृत",rejectedDescription:"इस डिवाइस को 9Remote host द्वारा अनुमोदित नहीं किया गया।",backToLogin:"लॉगिन पर वापस",failed:"कनेक्शन विफल",failedDescription:"{n} प्रयासों के बाद कनेक्ट करने में असमर्थ",attemptOf:"{total} में से प्रयास {n}",exit:"बाहर निकलें",cancel:"रद्द करें",retry:"अभी पुनः प्रयास करें"},notifications:{claudeCode:"Claude Code",codex:"Codex",geminiCli:"Gemini CLI",openCode:"OpenCode",needsInput:"needs input",badgeTitle:"{blocked} needs input, {done} your turn",replied:"replied",agent:"Agent"},sites:{title:"साइटें",localSites:"स्थानीय साइटें",selectSitePreview:"पूर्वावलोकन के लिए एक साइट चुनें",browserNewTab:"New tab",browserAddressPlaceholder:"localhost:3000 or /path",browserNotConnected:"Connect to your host first",portPlaceholder:"पोर्ट",loadingSites:"साइटें लोड हो रही हैं...",notConnected:"Not connected to the host",noSitesFound:"कोई साइट नहीं मिली",startServerHint:"इसे यहाँ देखने के लिए स्थानीय डेव सर्वर शुरू करें",siteNamePlaceholder:"साइट का नाम",saveTitle:"सहेजें",editNameTitle:"नाम संपादित करें",removeTitle:"निकालें",removePortTitle:"पोर्ट निकालें",removePortMessage:"सहेजी गई सूची से पोर्ट {port} निकालें?",popupBlocked:"पॉपअप अवरुद्ध! कृपया इस साइट के लिए पॉपअप की अनुमति दें।",startProxyFailed:"{name} के लिए प्रॉक्सी सत्र शुरू करने में विफल",foundCount:"{n} साइट{suffix} मिली",focusOpenedTab:"खुले टैब पर फ़ोकस करें",openInNewTab:"नए टैब में खोलें",goBack:"वापस जाएँ",goForward:"आगे जाएँ",loadingSite:"लोड हो रहा है...",empty:"कोई सक्रिय साइट नहीं",emptyHint:"इसे यहाँ देखने के लिए स्थानीय सर्वर चलाएँ",open:"खोलें",refresh:"रीफ्रेश"},commandNotes:{title:"कमांड नोट्स",noSavedCommands:"कोई सहेजी गई कमांड नहीं",addFirstBelow:"नीचे अपनी पहली कमांड जोड़ें",clickToCopy:"कॉपी करने के लिए क्लिक करें",copiedBang:"कॉपी किया गया!",copy:"कॉपी",edit:"संपादित करें",delete:"हटाएँ",editCommandPlaceholder:"कमांड संपादित करें...",addCommandPlaceholder:"कमांड जोड़ें...",update:"अद्यतन",add:"जोड़ें",empty:"अभी कोई नोट नहीं",emptyHint:"त्वरित पहुँच के लिए कमांड सहेजें",add:"नोट जोड़ें",edit:"नोट संपादित करें",delete:"नोट हटाएँ",deleteMessage:"इस नोट को हटाएँ?",name:"नाम",command:"कमांड",save:"सहेजें",placeholderName:"उदा. डेव सर्वर शुरू करें",placeholderCommand:"उदा. npm run dev"},mobileKeyboard:{pasteHere:"यहाँ पेस्ट करें (Cmd+V)",enterToSend:"Tab / Ctrl+Num से टैब बदलें",typeCommand:"कमांड टाइप करें और भेजें...",send:"भेजें",toggleExtraKeys:"अतिरिक्त कुंजियाँ टॉगल करें",toggleTextInput:"टेक्स्ट इनपुट टॉगल करें",customizeTerminalKeys:"टर्मिनल कुंजियाँ अनुकूलित करें",mainBar:"मुख्य बार",extraPanel:"अतिरिक्त पैनल",fileTooLarge:"फ़ाइल बहुत बड़ी (अधिकतम 5MB)",readFileFailed:"फ़ाइल पढ़ने में विफल",uploadFailed:"फ़ाइल अपलोड करने में विफल: {error}"},terminalPane:{scrollToBottom:"नीचे तक स्क्रॉल करें",changedFiles:"Changed files",pasteOrType:"यहाँ पेस्ट करें या टाइप करें",paste:"पेस्ट"},pwaGuide:{copyYourKey:"अपनी कुंजी कॉपी करें",copyKeyHint:"कॉपी करने के लिए नीचे की कुंजी पर टैप करें — इंस्टॉल करने के बाद लॉगिन के लिए आपको इसकी आवश्यकता होगी",tapToCopyApiKey:"API कुंजी कॉपी करने के लिए टैप करें",copiedBang:"कॉपी किया गया!",copy:"कॉपी",tapShareButton:"शेयर बटन टैप करें",tapShareHint:"Safari के निचले भाग में शेयर बटन टैप करें",addToHome:"होम स्क्रीन पर जोड़ें",addToHomeHint:'नीचे स्क्रॉल करें और "होम स्क्रीन पर जोड़ें" टैप करें',openAppPasteKey:"ऐप खोलें और कुंजी पेस्ट करें",openAppPasteKeyHint:"इंस्टॉल किया गया ऐप खोलें और लॉगिन के लिए अपनी कुंजी पेस्ट करें",openMenu:"मेनू खोलें",openMenuHint:"Chrome में मेनू बटन (तीन डॉट) टैप करें",installApp:"ऐप इंस्टॉल करें",installAppHint:'"ऐप इंस्टॉल करें" या "होम स्क्रीन पर जोड़ें" टैप करें',lookInstallIcon:"इंस्टॉल आइकन देखें",lookInstallIconHint:"एड्रेस बार में इंस्टॉल आइकन देखें",clickInstallPaste:"इंस्टॉल पर क्लिक करें और कुंजी पेस्ट करें",installNow:"Install Now",installNowHint:"Install 9Remote as an app for quick access",installing:"Installing...",clickInstallPasteHint:"इंस्टॉल पर क्लिक करें, ऐप खोलें, और लॉगिन के लिए अपनी कुंजी पेस्ट करें",alternativeHint:'विकल्प: ब्राउज़र मेनू खोलें → "9Remote इंस्टॉल करें" या "शॉर्टकट बनाएँ"',loadingPlatform:"प्लेटफ़ॉर्म पहचान लोड हो रही है...",iosPlatform:"iOS (iPhone/iPad)",androidPlatform:"Android",macosPlatform:"macOS",windowsPlatform:"Windows",desktopPlatform:"डेस्कटॉप",alreadyInstalled:"पहले से इंस्टॉल है!",alreadyInstalledHint:"आप पहले से ही 9Remote को इंस्टॉल किए गए ऐप के रूप में उपयोग कर रहे हैं",installationGuide:"इंस्टॉलेशन गाइड",installationSteps:"इंस्टॉलेशन चरण:"},community:{title:"समुदाय",description:"9Remote समुदाय में शामिल हों"},pwa:{title:"ऐप के रूप में इंस्टॉल करें",description:"सर्वोत्तम अनुभव के लिए अपने डिवाइस पर 9Remote इंस्टॉल करें",iosTitle:"iOS Safari",androidTitle:"Android Chrome",desktopTitle:"डेस्कटॉप"},codespace:{title:"Codespace",name:"नाम",status:"स्थिति",running:"चल रहा है",autoStart:"9Remote स्वतः शुरू करें",autoStartHint:"Codespace खुलने पर 9Remote शुरू करें",stop:"Codespace रोकें",stopHint:"उपयोग बचाने के लिए रोकें",restartHint:"पुनः शुरू करने के लिए, GitHub पर जाएँ",unknown:"अज्ञात"}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[133],{67106:(t,e,r)=>{r.d(e,{CP:()=>p,Ck:()=>h,HT:()=>y,PB:()=>c,aC:()=>x,lC:()=>d,m:()=>o,tk:()=>n});var a=r(84187),s=r(68567),l=r(83153),i=r(10312),n=(0,s.K)((t,e)=>{let r=t.append("rect");if(r.attr("x",e.x),r.attr("y",e.y),r.attr("fill",e.fill),r.attr("stroke",e.stroke),r.attr("width",e.width),r.attr("height",e.height),e.name&&r.attr("name",e.name),e.rx&&r.attr("rx",e.rx),e.ry&&r.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)r.attr(t,e.attrs[t]);return e.class&&r.attr("class",e.class),r},"drawRect"),d=(0,s.K)((t,e)=>{n(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},"drawBackgroundRect"),o=(0,s.K)((t,e)=>{let r=e.text.replace(a.H1," "),s=t.append("text");s.attr("x",e.x),s.attr("y",e.y),s.attr("class","legend"),s.style("text-anchor",e.anchor),e.class&&s.attr("class",e.class);let l=s.append("tspan");return l.attr("x",e.x+2*e.textMargin),l.text(r),s},"drawText"),x=(0,s.K)((t,e,r,a)=>{let s=t.append("image");s.attr("x",e),s.attr("y",r);let i=(0,l.J)(a);s.attr("xlink:href",i)},"drawImage"),p=(0,s.K)((t,e,r,a)=>{let s=t.append("use");s.attr("x",e),s.attr("y",r);let i=(0,l.J)(a);s.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),c=(0,s.K)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),y=(0,s.K)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),h=(0,s.K)(()=>{let t=(0,i.Ltv)(".mermaidTooltip");return t.empty()&&(t=(0,i.Ltv)("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),t},"createTooltip")},88982:(t,e,r)=>{r.d(e,{m:()=>s});var a=r(68567),s=class{constructor(t){this.init=t,this.records=this.init()}static{(0,a.K)(this,"ImperativeState")}reset(){this.records=this.init()}}}}]);
@@ -1,115 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1385],{71385:(t,e,n)=>{n.d(e,{diagram:()=>te});var i=n(58609),r=n(49519),a=n(84187),s=n(14561),o=n(68567),l=n(10312),c=n(93836),h=n(66591),d=n(95191),u=function(){var t=(0,o.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],l=[1,19],c=[1,20],h={trace:(0,o.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,o.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:l,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:l,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,o.K)(function(t,e){if(e.recoverable)this.trace(t);else{var n=Error(t);throw n.hash=e,n}},"parseError"),parse:(0,o.K)(function(t){var e=this,n=[0],i=[],r=[null],a=[],s=this.table,l="",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,o.K)(function(t){n.length=n.length-2*t,r.length=r.length-t,a.length=a.length-t},"popStack"),(0,o.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,l=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,[l,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,o.K)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,o.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,o.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,o.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,o.K)(function(){return this._more=!0,this},"more"),reject:(0,o.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,o.K)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,o.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,o.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,o.K)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,o.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,o.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,o.K)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,o.K)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,o.K)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,o.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,o.K)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,o.K)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,o.K)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,o.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,o.K)(d,"Parser"),d.prototype=h,h.Parser=d,new d}();u.parser=u;var p={};(0,o.V)(p,{addEvent:()=>R,addSection:()=>v,addTask:()=>E,addTaskOrg:()=>I,clear:()=>_,default:()=>M,getCommonDb:()=>k,getDirection:()=>$,getSections:()=>K,getTasks:()=>S,setDirection:()=>w});var g="",f=0,y="LR",m=[],b=[],x=[],k=(0,o.K)(()=>a.Wt,"getCommonDb"),_=(0,o.K)(function(){m.length=0,b.length=0,g="",x.length=0,y="LR",(0,a.IU)()},"clear"),w=(0,o.K)(function(t){y=t},"setDirection"),$=(0,o.K)(function(){return y},"getDirection"),v=(0,o.K)(function(t){g=t,m.push(t)},"addSection"),K=(0,o.K)(function(){return m},"getSections"),S=(0,o.K)(function(){let t=T(),e=0;for(;!t&&e<100;)t=T(),e++;return b.push(...x),b},"getTasks"),E=(0,o.K)(function(t,e,n){let i={id:f++,section:g,type:g,task:t,score:e||0,events:n?[n]:[]};x.push(i)},"addTask"),R=(0,o.K)(function(t){x.find(t=>t.id===f-1).events.push(t)},"addEvent"),I=(0,o.K)(function(t){let e={section:g,type:g,description:t,task:t,classes:[]};b.push(e)},"addTaskOrg"),T=(0,o.K)(function(){let t=(0,o.K)(function(t){return x[t].processed},"compileTask"),e=!0;for(let[n,i]of x.entries())t(n),e=e&&i.processed;return e},"compileTasks"),M={clear:_,getCommonDb:k,getDirection:$,setDirection:w,addSection:v,getSections:K,getTasks:S,addTask:E,addTaskOrg:I,addEvent:R},L=0,C=(0,o.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"),H=(0,o.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,l.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,l.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,o.K)(r,"smile"),(0,o.K)(a,"sad"),(0,o.K)(s,"ambivalent"),e.score>3?r(i):e.score<3?a(i):s(i),n},"drawFace"),D=(0,o.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"),A=-1,O=(0,o.K)(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),B=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,o.K)(t,"byText"),(0,o.K)(e,"byTspan"),(0,o.K)(n,"byFo"),(0,o.K)(i,"_setTextAttrs"),function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),N=(0,o.K)(function(t,e){L=0,A=-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 W(t,e){t.each(function(){var t,n=(0,l.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,o.K)(W,"wrap");var P=(0,o.K)(function(t,e,n,i,r,a=!1){let{theme:s,look:o}=i,c=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(W,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+")"),c&&p.attr("transform",`translate(${e.width/2}, ${a?e.padding/2+3:e.padding})`),j(u,e,h,r,i),"neo"===o&&(d.attr("data-look","neo"),c)){let e=s.includes("dark"),n=t.node()?.ownerSVGElement??t.node(),i=(0,l.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"),z=(0,o.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(W,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"),j=(0,o.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-"+L++).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"),F=(0,o.K)(function(t,e,n,i){let r,o=(0,a.D7)(),{look:c,theme:h,themeVariables:d}=o,{useGradient:u,gradientStart:p,gradientStop:g}=d,f=o.timeline?.leftMargin??50;s.R.debug("timeline",i.db);let y=o.securityLevel;"sandbox"===y&&(r=(0,l.Ltv)("#i"+e));let m=("sandbox"===y?(0,l.Ltv)(r.nodes()[0].contentDocument.body):(0,l.Ltv)("body")).select("#"+e);m.append("g");let b=i.db.getTasks(),x=i.db.getCommonDb().getDiagramTitle();s.R.debug("task",b),N(m,e);let k=i.db.getSections();s.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=z(m,{number:E,descr:t,section:E,width:150,padding:20,maxHeight:_},o);s.R.debug("sectionHeight before draw",e),_=Math.max(_,e+20)});let I=0,T=0;for(let[t,e]of(s.R.debug("tasks.length",b.length),b.entries())){let n=z(m,{number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:w},o);s.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+=z(m,{descr:t,section:e.section,number:e.section,width:150,padding:20,maxHeight:50},o);e.events.length>0&&(i+=(e.events.length-1)*10),T=Math.max(T,i)}s.R.debug("maxSectionHeight before draw",_),s.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:_};s.R.debug("sectionNode",i);let r=m.append("g"),a=P(r,i,E,o,e);s.R.debug("sectionNode output",a),r.attr("transform",`translate(${K}, ${v})`),S+=_+50,n.length>0&&V(m,n,E,K,S,w,o,I,T,_,!1,e),K+=200*Math.max(n.length,1),S=v,E++}):(R=!1,V(m,b,E,K,S,w,o,I,T,_,!0,e));let M=m.node().getBBox();if(s.R.debug("bounds",M),x&&m.append("text").text(x).attr("x","neo"===c?2*M.x+f:M.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",M.width+3*f).attr("y2",$).attr("stroke-width",4).attr("stroke","black").attr("marker-end",`url(#${e}-arrowhead)`),"neo"===c&&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,a.ot)(void 0,m,o.timeline?.padding??50,o.timeline?.useMaxWidth??!1)},"draw"),V=(0,o.K)(function(t,e,n,i,r,a,o,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};s.R.debug("taskNode",e);let h=t.append("g").attr("class","taskWrapper"),p=P(h,e,n,o,u).height;if(s.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,G(t,l.events,n,i,r,o,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&&!o.timeline?.disableMulticolor&&n++}},"drawTasks"),G=(0,o.K)(function(t,e,n,i,r,a,o){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};s.R.debug("eventNode",e);let h=t.append("g").attr("class","eventWrapper"),d=P(h,e,n,a,o,!0).height;l+=d,h.attr("transform",`translate(${i}, ${r})`),r=r+10+d}return r=c,l},"drawEvents"),U={setConf:(0,o.K)(()=>{},"setConf"),draw:F},Z=(0,o.K)(function(t,e,n,o){let l=(0,a.D7)(),c=l.timeline?.leftMargin??50;s.R.debug("timeline",o.db);let h=(0,i.D)(e);h.append("g");let d=o.db.getTasks(),u=o.db.getCommonDb().getDiagramTitle();s.R.debug("task",d),N(h);let p=o.db.getSections();s.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=z(h,{number:b,descr:t,section:b,width:_,padding:5,maxHeight:g},l);s.R.debug("sectionHeight before draw",e),g=Math.max(g,e)});let w=0;for(let[t,e]of(s.R.debug("tasks.length",d.length),d.entries())){let n=z(h,{number:t,descr:e,section:e.section,width:200,padding:5,maxHeight:f},l);s.R.debug("taskHeight before draw",n),f=Math.max(f,n);let i=0;for(let t of e.events)i+=z(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}s.R.debug("maxSectionHeight before draw",g),s.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};s.R.debug("sectionNode",n);let i=h.append("g"),r=P(i,n,b,l);s.R.debug("sectionNode output",r);let a=k-m;i.attr("transform",`translate(${a}, ${y})`);let o=y+r.height+20;e.length>0&&q(h,e,b,k,o,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(s.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");s.R.debug("bounds after title",v)}let[K]=(0,r.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,a.ot)(void 0,h,l.timeline?.padding??50,l.timeline?.useMaxWidth??!1)},"draw"),q=(0,o.K)(function(t,e,n,i,r,a,o,l,c){for(let h of e){let e={descr:h.task,section:n,number:n,width:200,padding:5,maxHeight:a};s.R.debug("taskNode",e);let d=t.append("g").attr("class","taskWrapper"),u=P(d,e,n,o),p=u.height;s.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,o)}r+=l,c&&!o.timeline?.disableMulticolor&&n++}},"drawTasks"),J=(0,o.K)(function(t,e,n,i,r,a,o){let l=a;for(let a of e){let e={descr:a,section:n,number:n,width:300,padding:5,maxHeight:0};s.R.debug("eventNode",e);let c=t.append("g").attr("class","eventWrapper"),h=P(c,e,n,o).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"),Y={setConf:(0,o.K)(()=>{},"setConf"),draw:Z},X=(0,o.K)(t=>{let{theme:e}=(0,a.zj)(),n=e?.includes("dark"),i=e?.includes("color"),r=t.svgId?.replace(/^#/,"")??"",s=r?`url(#${r}-drop-shadow)`:t.dropShadow??"none",o="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++){let r=`${17-3*e}`,a=i?t.borderColorArray[e]:t.mainBkg,l=i?t.borderColorArray[e]:t.nodeBorder;o+=`
2
- .section-${e-1} rect,
3
- .section-${e-1} path,
4
- .section-${e-1} circle {
5
- fill: ${n&&i?t.mainBkg:a};
6
- stroke: ${l};
7
- stroke-width: ${t.strokeWidth};
8
- filter: ${s};
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 o},"genReduxSections"),Q=(0,o.K)(t=>{let e="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++)t["lineColor"+e]=t["lineColor"+e]||t["cScaleInv"+e],(0,c.A)(t["lineColor"+e])?t["lineColor"+e]=(0,h.A)(t["lineColor"+e],20):t["lineColor"+e]=(0,d.A)(t["lineColor"+e],20);for(let n=0;n<t.THEME_COLOR_LIMIT;n++){let i=""+(17-3*n);e+=`
49
- .section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} path {
50
- fill: ${t["cScale"+n]};
51
- }
52
- .section-${n-1} text {
53
- fill: ${t["cScaleLabel"+n]};
54
- }
55
- .node-icon-${n-1} {
56
- font-size: 40px;
57
- color: ${t["cScaleLabel"+n]};
58
- }
59
- .section-edge-${n-1}{
60
- stroke: ${t["cScale"+n]};
61
- }
62
- .edge-depth-${n-1}{
63
- stroke-width: ${i};
64
- }
65
- .section-${n-1} line {
66
- stroke: ${t["cScaleInv"+n]} ;
67
- stroke-width: 3;
68
- }
69
-
70
- .lineWrapper line{
71
- stroke: ${t["cScaleLabel"+n]} ;
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"),tt=(0,o.K)(t=>{let{theme:e}=(0,a.zj)(),n=e?.includes("redux"),i="neutral"===e,r=t.svgId?.replace(/^#/,"")??"",s="";if(t.useGradient&&r&&t.THEME_COLOR_LIMIT&&!i)for(let e=0;e<t.THEME_COLOR_LIMIT;e++)s+=`
81
- .section-${e-1}[data-look="neo"] rect,
82
- .section-${e-1}[data-look="neo"] path,
83
- .section-${e-1}[data-look="neo"] circle {
84
- fill: ${t.mainBkg};
85
- stroke: url(#${r}-gradient);
86
- stroke-width: 2;
87
- }
88
- .section-${e-1}[data-look="neo"] line {
89
- stroke: url(#${r}-gradient);
90
- stroke-width: 2;
91
- }`;return`
92
- .edge {
93
- stroke-width: 3;
94
- }
95
- ${n?X(t):Q(t)}
96
- ${s}
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"),te={db:p,renderer:{setConf:(0,o.K)(()=>{},"setConf"),draw:(0,o.K)((t,e,n,i)=>"TD"===(i?.db?.getDirection?.()??"LR")?Y.draw(t,e,n,i):U.draw(t,e,n,i),"draw")},parser:u,styles:tt}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1642],{61642:(e,s,c)=>{c.d(s,{createPieServices:()=>a.f});var a=c(56677);c(24078)}}]);
@@ -1,77 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1733],{61733:(t,e,a)=>{a.d(e,{diagram:()=>F});var r=a(96910),o=a(58609),n=a(49519),i=a(84187),l=a(14561),s=a(68567),d=a(97811),c=(0,s.K)((t,e)=>{let a=t<=1?100*t:t;if(a<0||a>100)throw Error(`${e} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${t}`);return a},"toPercent"),p=(0,s.K)((t,e,a)=>({x:c(e,`${a} evolution`),y:c(t,`${a} visibility`)}),"toCoordinates"),h=(0,s.K)(t=>{if(t){if("+<>"===t)return"bidirectional";if("+<"===t)return"backward";if("+>"===t)return"forward"}},"getFlowFromPort"),x=(0,s.K)(t=>{if(!t?.startsWith("+"))return{};let e=/^\+'([^']*)'/.exec(t),a=e?.[1];return t.includes("<>")?{flow:"bidirectional",label:a}:t.includes("<")?{flow:"backward",label:a}:t.includes(">")?{flow:"forward",label:a}:{label:a}},"extractFlowFromArrow"),y=(0,s.K)((t,e)=>{if((0,r.S)(t,e),t.size&&e.setSize(t.size.width,t.size.height),t.evolution){let a=t.evolution.stages.map(t=>t.secondName?`${t.name.trim()} / ${t.secondName.trim()}`:t.name.trim()),r=t.evolution.stages.filter(t=>void 0!==t.boundary).map(t=>t.boundary);e.updateAxes({stages:a,stageBoundaries:r})}if(t.anchors.forEach(t=>{let a=p(t.visibility,t.evolution,`Anchor "${t.name}"`);e.addNode(t.name,t.name,a.x,a.y,"anchor")}),t.components.forEach(t=>{let a=p(t.visibility,t.evolution,`Component "${t.name}"`),r=t.label?(t.label.negX?-1:1)*t.label.offsetX:void 0,o=t.label?(t.label.negY?-1:1)*t.label.offsetY:void 0,n=t.decorator?.strategy;e.addNode(t.name,t.name,a.x,a.y,"component",r,o,t.inertia,n)}),t.notes.forEach(t=>{let a=p(t.visibility,t.evolution,`Note "${t.text}"`);e.addNote(t.text,a.x,a.y)}),t.pipelines.forEach(t=>{let a=e.getNode(t.parent);if(!a||"number"!=typeof a.y)throw Error(`Pipeline "${t.parent}" must reference an existing component with coordinates.`);let r=a.y;e.startPipeline(t.parent),t.components.forEach(a=>{let o=`${t.parent}_${a.name}`,n=a.label?(a.label.negX?-1:1)*a.label.offsetX:void 0,i=a.label?(a.label.negY?-1:1)*a.label.offsetY:void 0,l=c(a.evolution,`Pipeline component "${a.name}" evolution`);e.addNode(o,a.name,l,r,"pipeline-component",n,i),e.addPipelineComponent(t.parent,o)})}),t.links.forEach(t=>{let a=!!t.arrow&&(t.arrow.includes("-.->")||t.arrow.includes(".-.")),r=h(t.fromPort)??h(t.toPort),{flow:o,label:n}=x(t.arrow);!r&&o&&(r=o);let i=t.linkLabel;e.addLink(e.resolveNodeId(t.from),e.resolveNodeId(t.to),a,n??i,r)}),t.evolves.forEach(t=>{let a=e.getNode(t.component);if(a?.y!==void 0){let r=c(t.target,`Evolve target for "${t.component}"`);e.addTrend(t.component,r,a.y)}}),t.annotations.length>0){let a=t.annotations[0],r=p(a.x,a.y,"Annotations box");e.setAnnotationsBox(r.x,r.y)}t.annotation.forEach(t=>{let a=p(t.x,t.y,`Annotation ${t.number}`);e.addAnnotation(t.number,[{x:a.x,y:a.y}],t.text)}),t.accelerators.forEach(t=>{let a=p(t.x,t.y,`Accelerator "${t.name}"`);e.addAccelerator(t.name,a.x,a.y)}),t.deaccelerators.forEach(t=>{let a=p(t.x,t.y,`Deaccelerator "${t.name}"`);e.addDeaccelerator(t.name,a.x,a.y)})},"populateDb"),f={parser:{yy:void 0},parse:(0,s.K)(async t=>{let e=await (0,d.qg)("wardley",t);l.R.debug(e);let a=f.parser?.yy;if(!a||"function"!=typeof a.addNode)throw Error("parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");y(e,a)},"parse")},g=new class{constructor(){this.nodes=new Map,this.links=[],this.trends=new Map,this.pipelines=new Map,this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.axes={}}static{(0,s.K)(this,"WardleyBuilder")}addNode(t){let e=this.nodes.get(t.id)??{id:t.id,label:t.label},a={...e,...t,className:t.className??e.className,labelOffsetX:t.labelOffsetX??e.labelOffsetX,labelOffsetY:t.labelOffsetY??e.labelOffsetY};this.nodes.set(t.id,a)}addLink(t){this.links.push(t)}addTrend(t){this.trends.set(t.nodeId,t)}startPipeline(t){this.pipelines.set(t,{nodeId:t,componentIds:[]});let e=this.nodes.get(t);e&&(e.isPipelineParent=!0)}addPipelineComponent(t,e){let a=this.pipelines.get(t);a&&a.componentIds.push(e);let r=this.nodes.get(e);r&&(r.inPipeline=!0)}addAnnotation(t){this.annotations.push(t)}addNote(t){this.notes.push(t)}addAccelerator(t){this.accelerators.push(t)}addDeaccelerator(t){this.deaccelerators.push(t)}setAnnotationsBox(t,e){this.annotationsBox={x:t,y:e}}setAxes(t){this.axes={...this.axes,...t}}setSize(t,e){this.size={width:t,height:e}}getNode(t){return this.nodes.get(t)}resolveNodeId(t){if(this.nodes.has(t))return t;for(let[e,a]of this.nodes)if(a.label===t)return e;return t}build(){let t=[];for(let e of this.nodes.values()){if("number"!=typeof e.x||"number"!=typeof e.y)throw Error(`Node "${e.label}" is missing coordinates`);t.push(e)}return{nodes:t,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}};function u(){return(0,i.D7)()["wardley-beta"]}function w(t,e,a,r,o,n,i,l,s){g.addNode({id:t,label:e,x:a,y:r,className:o,labelOffsetX:n,labelOffsetY:i,inertia:l,sourceStrategy:s})}function m(t,e,a=!1,r,o){g.addLink({source:t,target:e,dashed:a,label:r,flow:o})}function k(t,e,a){g.addTrend({nodeId:t,targetX:e,targetY:a})}function b(t,e,a){g.addAnnotation({number:t,coordinates:e,text:a})}function $(t,e,a){g.addNote({text:t,x:e,y:a})}function S(t,e,a){g.addAccelerator({name:t,x:e,y:a})}function v(t,e,a){g.addDeaccelerator({name:t,x:e,y:a})}function C(t,e){g.setAnnotationsBox(t,e)}function M(t,e){g.setSize(t,e)}function P(t){g.startPipeline(t)}function N(t,e){g.addPipelineComponent(t,e)}function T(t){g.setAxes(t)}function z(t){return g.getNode(t)}function E(t){return g.resolveNodeId(t)}function L(){return g.build()}function A(){g.clear(),(0,i.IU)()}(0,s.K)(u,"getConfig"),(0,s.K)(w,"addNode"),(0,s.K)(m,"addLink"),(0,s.K)(k,"addTrend"),(0,s.K)(b,"addAnnotation"),(0,s.K)($,"addNote"),(0,s.K)(S,"addAccelerator"),(0,s.K)(v,"addDeaccelerator"),(0,s.K)(C,"setAnnotationsBox"),(0,s.K)(M,"setSize"),(0,s.K)(P,"startPipeline"),(0,s.K)(N,"addPipelineComponent"),(0,s.K)(T,"updateAxes"),(0,s.K)(z,"getNode"),(0,s.K)(E,"resolveNodeId"),(0,s.K)(L,"getWardleyData"),(0,s.K)(A,"clear");var K={getConfig:u,addNode:w,addLink:m,addTrend:k,addAnnotation:b,addNote:$,addAccelerator:S,addDeaccelerator:v,setAnnotationsBox:C,setSize:M,startPipeline:P,addPipelineComponent:N,updateAxes:T,getNode:z,resolveNodeId:E,getWardleyData:L,clear:A,setAccTitle:i.SV,getAccTitle:i.iN,setDiagramTitle:i.ke,getDiagramTitle:i.ab,getAccDescription:i.m7,setAccDescription:i.EI},I=["Genesis","Custom Built","Product","Commodity"],R=(0,s.K)(()=>{let{themeVariables:t}=(0,i.D7)();return{backgroundColor:t.wardley?.backgroundColor??t.background??"#fff",axisColor:t.wardley?.axisColor??"#000",axisTextColor:t.wardley?.axisTextColor??t.primaryTextColor??"#222",gridColor:t.wardley?.gridColor??"rgba(100, 100, 100, 0.2)",componentFill:t.wardley?.componentFill??"#fff",componentStroke:t.wardley?.componentStroke??"#000",componentLabelColor:t.wardley?.componentLabelColor??t.primaryTextColor??"#222",linkStroke:t.wardley?.linkStroke??"#000",evolutionStroke:t.wardley?.evolutionStroke??"#dc3545",annotationStroke:t.wardley?.annotationStroke??"#000",annotationTextColor:t.wardley?.annotationTextColor??t.primaryTextColor??"#222",annotationFill:t.wardley?.annotationFill??t.background??"#fff"}},"getTheme"),D=(0,s.K)(()=>{let t=(0,i.D7)()["wardley-beta"];return{width:t?.width??900,height:t?.height??600,padding:t?.padding??48,nodeRadius:t?.nodeRadius??6,nodeLabelOffset:t?.nodeLabelOffset??8,axisFontSize:t?.axisFontSize??12,labelFontSize:t?.labelFontSize??10,showGrid:t?.showGrid??!1,useMaxWidth:t?.useMaxWidth??!0}},"getConfigValues"),F={parser:f,db:K,renderer:{draw:(0,s.K)((t,e,a,r)=>{l.R.debug("Rendering Wardley map\n"+t);let n=D(),d=R(),c=1.6*n.nodeRadius,p=r.db,h=p.getWardleyData(),x=p.getDiagramTitle(),y=h.size?.width??n.width,f=h.size?.height??n.height,g=(0,o.D)(e);g.selectAll("*").remove(),(0,i.a$)(g,f,y,n.useMaxWidth),g.attr("viewBox",`0 0 ${y} ${f}`);let u=g.append("g").attr("class","wardley-map"),w=g.append("defs");w.append("marker").attr("id",`arrow-${e}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",d.evolutionStroke).attr("stroke","none"),w.append("marker").attr("id",`link-arrow-end-${e}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",d.linkStroke).attr("stroke","none"),w.append("marker").attr("id",`link-arrow-start-${e}`).attr("viewBox","0 0 10 10").attr("refX",1).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z").attr("fill",d.linkStroke).attr("stroke","none"),u.append("rect").attr("class","wardley-background").attr("width",y).attr("height",f).attr("fill",d.backgroundColor);let m=y-2*n.padding,k=f-2*n.padding;x&&u.append("text").attr("class","wardley-title").attr("x",y/2).attr("y",n.padding/2).attr("fill",d.axisTextColor).attr("font-size",1.05*n.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("dominant-baseline","middle").text(x);let b=(0,s.K)(t=>n.padding+t/100*m,"projectX"),$=(0,s.K)(t=>f-n.padding-t/100*k,"projectY"),S=u.append("g").attr("class","wardley-axes");S.append("line").attr("x1",n.padding).attr("x2",y-n.padding).attr("y1",f-n.padding).attr("y2",f-n.padding).attr("stroke",d.axisColor).attr("stroke-width",1),S.append("line").attr("x1",n.padding).attr("x2",n.padding).attr("y1",n.padding).attr("y2",f-n.padding).attr("stroke",d.axisColor).attr("stroke-width",1);let v=h.axes.xLabel??"Evolution",C=h.axes.yLabel??"Visibility";S.append("text").attr("class","wardley-axis-label wardley-axis-label-x").attr("x",n.padding+m/2).attr("y",f-n.padding/4).attr("fill",d.axisTextColor).attr("font-size",n.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").text(v),S.append("text").attr("class","wardley-axis-label wardley-axis-label-y").attr("x",n.padding/3).attr("y",n.padding+k/2).attr("fill",d.axisTextColor).attr("font-size",n.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("transform",`rotate(-90 ${n.padding/3} ${n.padding+k/2})`).text(C);let M=h.axes.stages&&h.axes.stages.length>0?h.axes.stages:I;if(M.length>0){let t=u.append("g").attr("class","wardley-stages"),e=h.axes.stageBoundaries,a=[];if(e&&e.length===M.length){let t=0;e.forEach(e=>{a.push({start:t,end:e}),t=e})}else{let t=1/M.length;M.forEach((e,r)=>{a.push({start:r*t,end:(r+1)*t})})}M.forEach((e,r)=>{let o=a[r],i=n.padding+o.start*m,l=(i+(n.padding+o.end*m))/2;r>0&&t.append("line").attr("x1",i).attr("x2",i).attr("y1",n.padding).attr("y2",f-n.padding).attr("stroke","#000").attr("stroke-width",1).attr("stroke-dasharray","5 5").attr("opacity",.8),t.append("text").attr("class","wardley-stage-label").attr("x",l).attr("y",f-n.padding/1.5).attr("fill",d.axisTextColor).attr("font-size",n.axisFontSize-2).attr("text-anchor","middle").text(e)})}if(n.showGrid){let t=u.append("g").attr("class","wardley-grid");for(let e=1;e<4;e++){let a=e/4,r=n.padding+m*a;t.append("line").attr("x1",r).attr("x2",r).attr("y1",n.padding).attr("y2",f-n.padding).attr("stroke",d.gridColor).attr("stroke-dasharray","2 6"),t.append("line").attr("x1",n.padding).attr("x2",y-n.padding).attr("y1",f-n.padding-k*a).attr("y2",f-n.padding-k*a).attr("stroke",d.gridColor).attr("stroke-dasharray","2 6")}}let P=new Map;if(h.nodes.forEach(t=>{P.set(t.id,{x:b(t.x),y:$(t.y),node:t})}),h.pipelines.length>0){let t=u.append("g").attr("class","wardley-pipelines"),e=u.append("g").attr("class","wardley-pipeline-links");h.pipelines.forEach(a=>{if(0===a.componentIds.length)return;let r=a.componentIds.map(t=>({id:t,pos:P.get(t),node:h.nodes.find(e=>e.id===t)})).filter(t=>t.pos&&t.node).sort((t,e)=>t.node.x-e.node.x);for(let t=0;t<r.length-1;t++){let a=r[t],o=r[t+1];e.append("line").attr("class","wardley-pipeline-evolution-link").attr("x1",a.pos.x).attr("y1",a.pos.y).attr("x2",o.pos.x).attr("y2",o.pos.y).attr("stroke",d.linkStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4")}let o=1/0,i=-1/0,l=0;if(a.componentIds.forEach(t=>{let e=P.get(t);e&&(o=Math.min(o,e.x),i=Math.max(i,e.x),l=e.y)}),o!==1/0&&i!==-1/0){let e=4*n.nodeRadius,r=l-e/2,s=P.get(a.nodeId);s&&(s.x=(o+i)/2,s.y=r-c/6),t.append("rect").attr("class","wardley-pipeline-box").attr("x",o-15).attr("y",r).attr("width",i-o+30).attr("height",e).attr("fill","none").attr("stroke",d.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}})}let N=u.append("g").attr("class","wardley-links"),T=new Map;h.pipelines.forEach(t=>{T.set(t.nodeId,new Set(t.componentIds))});let z=h.links.filter(t=>{if(!P.has(t.source)||!P.has(t.target))return!1;let e=T.get(t.target);return!e?.has(t.source)});N.selectAll("line").data(z).enter().append("line").attr("class",t=>`wardley-link${t.dashed?" wardley-link--dashed":""}`).attr("x1",t=>{let e=P.get(t.source),a=P.get(t.target),r=h.nodes.find(e=>e.id===t.source).isPipelineParent?c/Math.sqrt(2):n.nodeRadius,o=a.x-e.x,i=a.y-e.y,l=Math.sqrt(o*o+i*i);return e.x+o/l*r}).attr("y1",t=>{let e=P.get(t.source),a=P.get(t.target),r=h.nodes.find(e=>e.id===t.source).isPipelineParent?c/Math.sqrt(2):n.nodeRadius,o=a.x-e.x,i=a.y-e.y,l=Math.sqrt(o*o+i*i);return e.y+i/l*r}).attr("x2",t=>{let e=P.get(t.source),a=P.get(t.target),r=h.nodes.find(e=>e.id===t.target).isPipelineParent?c/Math.sqrt(2):n.nodeRadius,o=e.x-a.x,i=e.y-a.y,l=Math.sqrt(o*o+i*i);return a.x+o/l*r}).attr("y2",t=>{let e=P.get(t.source),a=P.get(t.target),r=h.nodes.find(e=>e.id===t.target).isPipelineParent?c/Math.sqrt(2):n.nodeRadius,o=e.x-a.x,i=e.y-a.y,l=Math.sqrt(o*o+i*i);return a.y+i/l*r}).attr("stroke",d.linkStroke).attr("stroke-width",1).attr("stroke-dasharray",t=>t.dashed?"6 6":null).attr("marker-end",t=>"forward"===t.flow||"bidirectional"===t.flow?`url(#link-arrow-end-${e})`:null).attr("marker-start",t=>"backward"===t.flow||"bidirectional"===t.flow?`url(#link-arrow-start-${e})`:null),N.selectAll("text").data(z.filter(t=>t.label)).enter().append("text").attr("class","wardley-link-label").attr("x",t=>{let e=P.get(t.source),a=P.get(t.target),r=(e.x+a.x)/2,o=a.y-e.y,n=a.x-e.x,i=Math.sqrt(n*n+o*o);return r+o/i*8}).attr("y",t=>{let e=P.get(t.source),a=P.get(t.target),r=(e.y+a.y)/2,o=a.x-e.x,n=a.y-e.y,i=Math.sqrt(o*o+n*n);return r+-o/i*8}).attr("fill",d.axisTextColor).attr("font-size",n.labelFontSize).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("transform",t=>{let e=P.get(t.source),a=P.get(t.target),r=(e.x+a.x)/2,o=(e.y+a.y)/2,n=a.x-e.x,i=a.y-e.y,l=Math.sqrt(n*n+i*i),s=180*Math.atan2(i,n)/Math.PI;return(s>90||s<-90)&&(s+=180),`rotate(${s} ${r+i/l*8} ${o+-n/l*8})`}).text(t=>t.label);let E=u.append("g").attr("class","wardley-trends"),L=h.trends.map(t=>{let e=P.get(t.nodeId);if(!e)return null;let a=b(t.targetX),r=$(t.targetY),o=a-e.x,i=r-e.y,l=Math.sqrt(o*o+i*i),s=n.nodeRadius+2;return{origin:e,targetX:a,targetY:r,adjustedX2:l>s?a-o/l*s:a,adjustedY2:l>s?r-i/l*s:r}}).filter(t=>null!==t);E.selectAll("line").data(L).enter().append("line").attr("class","wardley-trend").attr("x1",t=>t.origin.x).attr("y1",t=>t.origin.y).attr("x2",t=>t.adjustedX2).attr("y2",t=>t.adjustedY2).attr("stroke",d.evolutionStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4").attr("marker-end",`url(#arrow-${e})`);let A=u.append("g").attr("class","wardley-nodes").selectAll("g").data(h.nodes).enter().append("g").attr("class",t=>["wardley-node",t.className?`wardley-node--${t.className}`:""].filter(Boolean).join(" "));A.filter(t=>"outsource"===t.sourceStrategy).append("circle").attr("class","wardley-outsource-overlay").attr("cx",t=>P.get(t.id).x).attr("cy",t=>P.get(t.id).y).attr("r",2*n.nodeRadius).attr("fill","#666").attr("stroke",d.componentStroke).attr("stroke-width",1),A.filter(t=>"buy"===t.sourceStrategy).append("circle").attr("class","wardley-buy-overlay").attr("cx",t=>P.get(t.id).x).attr("cy",t=>P.get(t.id).y).attr("r",2*n.nodeRadius).attr("fill","#ccc").attr("stroke",d.componentStroke).attr("stroke-width",1),A.filter(t=>"build"===t.sourceStrategy).append("circle").attr("class","wardley-build-overlay").attr("cx",t=>P.get(t.id).x).attr("cy",t=>P.get(t.id).y).attr("r",2*n.nodeRadius).attr("fill","#eee").attr("stroke","#000").attr("stroke-width",1);let K=A.filter(t=>"market"===t.sourceStrategy);K.append("circle").attr("class","wardley-market-overlay").attr("cx",t=>P.get(t.id).x).attr("cy",t=>P.get(t.id).y).attr("r",2*n.nodeRadius).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",1),A.filter(t=>!t.isPipelineParent&&"market"!==t.sourceStrategy&&"anchor"!==t.className).append("circle").attr("cx",t=>P.get(t.id).x).attr("cy",t=>P.get(t.id).y).attr("r",n.nodeRadius).attr("fill",d.componentFill).attr("stroke",d.componentStroke).attr("stroke-width",1);let F=.7*n.nodeRadius,B=1.2*n.nodeRadius;if(K.append("line").attr("class","wardley-market-line").attr("x1",t=>P.get(t.id).x).attr("y1",t=>P.get(t.id).y-B).attr("x2",t=>P.get(t.id).x-B*Math.cos(Math.PI/6)).attr("y2",t=>P.get(t.id).y+B*Math.sin(Math.PI/6)).attr("stroke",d.componentStroke).attr("stroke-width",1),K.append("line").attr("class","wardley-market-line").attr("x1",t=>P.get(t.id).x-B*Math.cos(Math.PI/6)).attr("y1",t=>P.get(t.id).y+B*Math.sin(Math.PI/6)).attr("x2",t=>P.get(t.id).x+B*Math.cos(Math.PI/6)).attr("y2",t=>P.get(t.id).y+B*Math.sin(Math.PI/6)).attr("stroke",d.componentStroke).attr("stroke-width",1),K.append("line").attr("class","wardley-market-line").attr("x1",t=>P.get(t.id).x+B*Math.cos(Math.PI/6)).attr("y1",t=>P.get(t.id).y+B*Math.sin(Math.PI/6)).attr("x2",t=>P.get(t.id).x).attr("y2",t=>P.get(t.id).y-B).attr("stroke",d.componentStroke).attr("stroke-width",1),K.append("circle").attr("class","wardley-market-dot").attr("cx",t=>P.get(t.id).x).attr("cy",t=>P.get(t.id).y-B).attr("r",F).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",2),K.append("circle").attr("class","wardley-market-dot").attr("cx",t=>P.get(t.id).x-B*Math.cos(Math.PI/6)).attr("cy",t=>P.get(t.id).y+B*Math.sin(Math.PI/6)).attr("r",F).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",2),K.append("circle").attr("class","wardley-market-dot").attr("cx",t=>P.get(t.id).x+B*Math.cos(Math.PI/6)).attr("cy",t=>P.get(t.id).y+B*Math.sin(Math.PI/6)).attr("r",F).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",2),A.filter(t=>!0===t.isPipelineParent).append("rect").attr("x",t=>P.get(t.id).x-c/2).attr("y",t=>P.get(t.id).y-c/2).attr("width",c).attr("height",c).attr("fill",d.componentFill).attr("stroke",d.componentStroke).attr("stroke-width",1),A.filter(t=>!0===t.inertia).append("line").attr("class","wardley-inertia").attr("x1",t=>{let e=P.get(t.id),a=t.isPipelineParent?c/2+15:n.nodeRadius+15;return t.sourceStrategy&&(a+=n.nodeRadius+10),e.x+a}).attr("y1",t=>{let e=P.get(t.id),a=t.isPipelineParent?c:2*n.nodeRadius;return e.y-a/2}).attr("x2",t=>{let e=P.get(t.id),a=t.isPipelineParent?c/2+15:n.nodeRadius+15;return t.sourceStrategy&&(a+=n.nodeRadius+10),e.x+a}).attr("y2",t=>{let e=P.get(t.id),a=t.isPipelineParent?c:2*n.nodeRadius;return e.y+a/2}).attr("stroke",d.componentStroke).attr("stroke-width",6),A.append("text").attr("x",t=>{let e=P.get(t.id);if("anchor"===t.className)return void 0!==t.labelOffsetX?e.x+t.labelOffsetX:e.x;let a=n.nodeLabelOffset;t.sourceStrategy&&void 0===t.labelOffsetX&&(a+=10);let r=t.labelOffsetX??a;return e.x+r}).attr("y",t=>{let e=P.get(t.id);if("anchor"===t.className)return void 0!==t.labelOffsetY?e.y+t.labelOffsetY:e.y-3;let a=-n.nodeLabelOffset;t.sourceStrategy&&void 0===t.labelOffsetY&&(a-=10);let r=t.labelOffsetY??a;return e.y+r}).attr("class","wardley-node-label").attr("fill",t=>"evolved"===t.className?d.evolutionStroke:"anchor"===t.className?"#000":d.componentLabelColor).attr("font-size",n.labelFontSize).attr("font-weight",t=>"anchor"===t.className?"bold":"normal").attr("text-anchor",t=>"anchor"===t.className?"middle":"start").attr("dominant-baseline",t=>"anchor"===t.className?"middle":"auto").text(t=>t.label),h.annotations.length>0){let t=u.append("g").attr("class","wardley-annotations");if(h.annotations.forEach(e=>{let a=e.coordinates.map(t=>({x:b(t.x),y:$(t.y)}));if(a.length>1)for(let e=0;e<a.length-1;e++)t.append("line").attr("class","wardley-annotation-line").attr("x1",a[e].x).attr("y1",a[e].y).attr("x2",a[e+1].x).attr("y2",a[e+1].y).attr("stroke",d.axisColor).attr("stroke-width",1.5).attr("stroke-dasharray","4 4");a.forEach(a=>{let r=t.append("g").attr("class","wardley-annotation");r.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",10).attr("fill","white").attr("stroke",d.axisColor).attr("stroke-width",1.5),r.append("text").attr("x",a.x).attr("y",a.y).attr("text-anchor","middle").attr("dominant-baseline","central").attr("font-size",10).attr("fill",d.axisTextColor).attr("font-weight","bold").text(e.number)})}),h.annotationsBox){let e=b(h.annotationsBox.x),a=$(h.annotationsBox.y),r=t.append("g").attr("class","wardley-annotations-box"),o=[...h.annotations].filter(t=>t.text).sort((t,e)=>t.number-e.number),i=[];if(o.forEach((t,o)=>{let n=r.append("text").attr("x",e+10).attr("y",a+10+(o+1)*16).attr("font-size",11).attr("fill",d.axisTextColor).attr("text-anchor","start").attr("dominant-baseline","middle").text(`${t.number}. ${t.text}`);i.push(n)}),i.length>0){let t=0,l=0;i.forEach(e=>{let a=e.node(),r=a.getComputedTextLength();t=Math.max(t,r);let o=a.getBBox();l=Math.max(l,o.height)});let s=t+20+105,c=16*o.length+20+l/2,p=n.padding,h=y-n.padding-s,x=n.padding,g=f-n.padding-c;e=Math.max(p,Math.min(e,h)),a=Math.max(x,Math.min(a,g)),i.forEach((t,r)=>{t.attr("x",e+10).attr("y",a+10+(r+1)*16)}),r.insert("rect","text").attr("x",e).attr("y",a).attr("width",s).attr("height",c).attr("fill","white").attr("stroke",d.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}}}if(h.notes.length>0){let t=u.append("g").attr("class","wardley-notes");h.notes.forEach(e=>{let a=b(e.x),r=$(e.y);t.append("text").attr("x",a).attr("y",r).attr("text-anchor","start").attr("font-size",11).attr("fill",d.axisTextColor).attr("font-weight","bold").text(e.text)})}if(h.accelerators.length>0){let t=u.append("g").attr("class","wardley-accelerators");h.accelerators.forEach(e=>{let a=b(e.x),r=$(e.y),o=`
2
- M ${a} ${r-15}
3
- L ${a+60-20} ${r-15}
4
- L ${a+60-20} ${r-15-8}
5
- L ${a+60} ${r}
6
- L ${a+60-20} ${r+15+8}
7
- L ${a+60-20} ${r+15}
8
- L ${a} ${r+15}
9
- Z
10
- `;t.append("path").attr("d",o).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",1),t.append("text").attr("x",a+30).attr("y",r+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",d.axisTextColor).attr("font-weight","bold").text(e.name)})}if(h.deaccelerators.length>0){let t=u.append("g").attr("class","wardley-deaccelerators");h.deaccelerators.forEach(e=>{let a=b(e.x),r=$(e.y),o=`
11
- M ${a+60} ${r-15}
12
- L ${a+20} ${r-15}
13
- L ${a+20} ${r-15-8}
14
- L ${a} ${r}
15
- L ${a+20} ${r+15+8}
16
- L ${a+20} ${r+15}
17
- L ${a+60} ${r+15}
18
- Z
19
- `;t.append("path").attr("d",o).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",1),t.append("text").attr("x",a+30).attr("y",r+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",d.axisTextColor).attr("font-weight","bold").text(e.name)})}},"draw")},styles:(0,s.K)(({wardley:t}={})=>{let e=(0,i.P$)(),a=(0,i.zj)(),r=(0,n.$t)(e,a.themeVariables),o=(0,n.$t)(r.wardley,t);return`
20
- .wardley-background {
21
- fill: ${o.backgroundColor};
22
- }
23
- .wardley-axes line, .wardley-axes path {
24
- stroke: ${o.axisColor};
25
- }
26
- .wardley-axis-label {
27
- fill: ${o.axisTextColor};
28
- }
29
- .wardley-stage-label {
30
- fill: ${o.axisTextColor};
31
- }
32
- .wardley-grid line {
33
- stroke: ${o.gridColor};
34
- }
35
- .wardley-node circle {
36
- fill: ${o.componentFill};
37
- stroke: ${o.componentStroke};
38
- }
39
- .wardley-node-label {
40
- fill: ${o.componentLabelColor};
41
- }
42
- .wardley-link {
43
- stroke: ${o.linkStroke};
44
- }
45
- .wardley-link--dashed {
46
- stroke-dasharray: 4 4;
47
- }
48
- .wardley-link-label {
49
- fill: ${o.axisTextColor};
50
- }
51
- .wardley-trend line {
52
- stroke: ${o.evolutionStroke};
53
- }
54
- .wardley-annotation-line {
55
- stroke: ${o.annotationStroke};
56
- }
57
- .wardley-annotation circle {
58
- fill: ${o.annotationFill};
59
- stroke: ${o.annotationStroke};
60
- }
61
- .wardley-annotation text {
62
- fill: ${o.annotationTextColor};
63
- }
64
- .wardley-annotations-box rect {
65
- fill: ${o.annotationFill};
66
- stroke: ${o.annotationStroke};
67
- }
68
- .wardley-annotations-box text {
69
- fill: ${o.annotationTextColor};
70
- }
71
- .wardley-pipeline-box {
72
- stroke: ${o.componentStroke};
73
- }
74
- .wardley-notes text {
75
- fill: ${o.axisTextColor};
76
- }
77
- `},"styles")}},96910:(t,e,a)=>{function r(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}a.d(e,{S:()=>r}),(0,a(68567).K)(r,"populateCommonDb")}}]);