@stigmer/server-slim 3.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (738) hide show
  1. package/README.md +3 -0
  2. package/console/404.html +1 -0
  3. package/console/Icon-bw.svg +10 -0
  4. package/console/Icon-light.svg +10 -0
  5. package/console/__next.__PAGE__.txt +5 -0
  6. package/console/__next._full.txt +28 -0
  7. package/console/__next._head.txt +6 -0
  8. package/console/__next._index.txt +17 -0
  9. package/console/__next._tree.txt +5 -0
  10. package/console/_next/static/XrBnttPHHP5Wmi7mT4uLM/_buildManifest.js +11 -0
  11. package/console/_next/static/XrBnttPHHP5Wmi7mT4uLM/_clientMiddlewareManifest.js +1 -0
  12. package/console/_next/static/XrBnttPHHP5Wmi7mT4uLM/_ssgManifest.js +1 -0
  13. package/console/_next/static/chunks/0-6znc4v4kg4~.js +1 -0
  14. package/console/_next/static/chunks/0-73gkqs33_.~.js +1 -0
  15. package/console/_next/static/chunks/0-l4jzu40dd8w.js +1 -0
  16. package/console/_next/static/chunks/0-z-fnjdx4ulh.js +1 -0
  17. package/console/_next/static/chunks/0-zcgxw8vt51~.js +1 -0
  18. package/console/_next/static/chunks/0.f-b71h~m9l_.js +1 -0
  19. package/console/_next/static/chunks/0.p57pbuzo8j7.js +90 -0
  20. package/console/_next/static/chunks/0.qu8zg6yocro.js +1 -0
  21. package/console/_next/static/chunks/00-fpv~l3r27l.js +1 -0
  22. package/console/_next/static/chunks/005ctashl3n1r.js +1 -0
  23. package/console/_next/static/chunks/0068d1zb538z~.js +1 -0
  24. package/console/_next/static/chunks/008b.zzs.t4bw.js +139 -0
  25. package/console/_next/static/chunks/00d~s.n2ue-_h.js +1 -0
  26. package/console/_next/static/chunks/00o8ud2dmna2j.js +1 -0
  27. package/console/_next/static/chunks/00r~itj4ekq5y.js +1 -0
  28. package/console/_next/static/chunks/01.9x7hzkgv7j.js +1 -0
  29. package/console/_next/static/chunks/016uwj-o-jqap.js +1 -0
  30. package/console/_next/static/chunks/01f1gh.2dzexy.js +1 -0
  31. package/console/_next/static/chunks/01ontipw7_pn-.js +1 -0
  32. package/console/_next/static/chunks/02fsq8lsaeu8j.js +1 -0
  33. package/console/_next/static/chunks/02qsbdquvk64o.js +1 -0
  34. package/console/_next/static/chunks/03.b9z-1o34dx.js +1 -0
  35. package/console/_next/static/chunks/038jxymv2x4u-.js +148 -0
  36. package/console/_next/static/chunks/03f2f6enzzhsy.js +1 -0
  37. package/console/_next/static/chunks/03l_lqxocp3uj.js +1 -0
  38. package/console/_next/static/chunks/03lth2le32c6r.js +201 -0
  39. package/console/_next/static/chunks/03v0v690_bw8u.js +62 -0
  40. package/console/_next/static/chunks/03yru4-m-450t.js +1 -0
  41. package/console/_next/static/chunks/03~yq9q893hmn.js +1 -0
  42. package/console/_next/static/chunks/04nu-nyhd8yfk.js +18 -0
  43. package/console/_next/static/chunks/04uzf6wcrofgt.js +1 -0
  44. package/console/_next/static/chunks/056bfxvkb8fd~.js +1 -0
  45. package/console/_next/static/chunks/06huuay3x3z07.js +1 -0
  46. package/console/_next/static/chunks/06o.rsm2b~dht.js +60 -0
  47. package/console/_next/static/chunks/07.l7154cu7z-.js +1 -0
  48. package/console/_next/static/chunks/07wnm1~gr1rx~.js +1 -0
  49. package/console/_next/static/chunks/08.rk-nar1l2t.js +25 -0
  50. package/console/_next/static/chunks/08iibm2~7e.mj.js +1 -0
  51. package/console/_next/static/chunks/08o5wsrurx9ux.js +5 -0
  52. package/console/_next/static/chunks/09~n7y-jkmjlj.js +152 -0
  53. package/console/_next/static/chunks/0_mhv9_2_g.-d.js +119 -0
  54. package/console/_next/static/chunks/0af53k.rxu1kn.js +1 -0
  55. package/console/_next/static/chunks/0amugang-25bm.js +1 -0
  56. package/console/_next/static/chunks/0awsj.h.eiuen.js +1 -0
  57. package/console/_next/static/chunks/0axtn1ln1j35_.js +79 -0
  58. package/console/_next/static/chunks/0c5xj4q0jmdu0.js +1 -0
  59. package/console/_next/static/chunks/0c7llz2igr3w7.js +1 -0
  60. package/console/_next/static/chunks/0cgp87bgoglgv.js +1 -0
  61. package/console/_next/static/chunks/0co3~00k0sae5.js +1 -0
  62. package/console/_next/static/chunks/0cq0zrqlu~xa7.js +1 -0
  63. package/console/_next/static/chunks/0cs_h74-ljzlt.js +77 -0
  64. package/console/_next/static/chunks/0cu8k_dz43e4y.js +1 -0
  65. package/console/_next/static/chunks/0d05q_m7mqj4o.js +1 -0
  66. package/console/_next/static/chunks/0dsde0n1co0l..js +1 -0
  67. package/console/_next/static/chunks/0e4xdug~7dxzk.js +1 -0
  68. package/console/_next/static/chunks/0e7hldxv930hc.js +12 -0
  69. package/console/_next/static/chunks/0ed3hfv95qark.js +10 -0
  70. package/console/_next/static/chunks/0f1nokqa6poai.js +1 -0
  71. package/console/_next/static/chunks/0f8bbcvfh6x_j.js +64 -0
  72. package/console/_next/static/chunks/0fy2-q-5a0j3r.js +1 -0
  73. package/console/_next/static/chunks/0g-98wql22rf4.css +1 -0
  74. package/console/_next/static/chunks/0g167wye7-x6z.js +1 -0
  75. package/console/_next/static/chunks/0g4_345f39a55.js +1 -0
  76. package/console/_next/static/chunks/0ge0mq0ea60lx.js +1 -0
  77. package/console/_next/static/chunks/0gepanyj709pr.js +1 -0
  78. package/console/_next/static/chunks/0glne1asott9e.js +2 -0
  79. package/console/_next/static/chunks/0hb.-vcj2w6kf.js +1 -0
  80. package/console/_next/static/chunks/0hdh_2akzrlxi.js +287 -0
  81. package/console/_next/static/chunks/0hhe78mplcj67.js +1 -0
  82. package/console/_next/static/chunks/0hori02zn~h3o.js +1 -0
  83. package/console/_next/static/chunks/0hq~c-~dp2g~1.js +1 -0
  84. package/console/_next/static/chunks/0i.l9589uvx0j.js +1 -0
  85. package/console/_next/static/chunks/0i8pgzf~hu-3m.js +24 -0
  86. package/console/_next/static/chunks/0icpvuwlmnlty.js +43 -0
  87. package/console/_next/static/chunks/0icsogze8wb_v.js +3 -0
  88. package/console/_next/static/chunks/0ij17mw0v0qd-.js +1 -0
  89. package/console/_next/static/chunks/0io-wgdji~5d0.js +1 -0
  90. package/console/_next/static/chunks/0ipk1er3w80bj.js +24 -0
  91. package/console/_next/static/chunks/0irq1yd9ix16u.js +1 -0
  92. package/console/_next/static/chunks/0iwpyv2wbln6f.js +1 -0
  93. package/console/_next/static/chunks/0ixo5_jc~m0~2.js +1 -0
  94. package/console/_next/static/chunks/0jxlubusvmdjm.js +1 -0
  95. package/console/_next/static/chunks/0j~3z.dgn_8ff.css +6 -0
  96. package/console/_next/static/chunks/0k9_1v72yx36d.js +226 -0
  97. package/console/_next/static/chunks/0ka-.7dww7nze.js +101 -0
  98. package/console/_next/static/chunks/0kt3942_0py-t.js +1 -0
  99. package/console/_next/static/chunks/0l3uvjh3oslhq.js +1 -0
  100. package/console/_next/static/chunks/0lp.du_t-~cqs.js +2 -0
  101. package/console/_next/static/chunks/0lq22-4n7_uyt.js +34 -0
  102. package/console/_next/static/chunks/0lypu-.xpph9..js +15 -0
  103. package/console/_next/static/chunks/0mb.pnhflhw95.js +1 -0
  104. package/console/_next/static/chunks/0mcz_room09fj.js +1 -0
  105. package/console/_next/static/chunks/0mo3-obfy2_6v.js +15 -0
  106. package/console/_next/static/chunks/0mtfbfe5xd3.6.js +1 -0
  107. package/console/_next/static/chunks/0mvcspqlkvjri.js +1 -0
  108. package/console/_next/static/chunks/0n2qydw3oc1oj.js +1 -0
  109. package/console/_next/static/chunks/0nnkdto25tilf.js +1 -0
  110. package/console/_next/static/chunks/0npm9l63~4j0v.js +1 -0
  111. package/console/_next/static/chunks/0nu6llqvg4741.js +1 -0
  112. package/console/_next/static/chunks/0n~glqz40m6gv.js +1 -0
  113. package/console/_next/static/chunks/0o-.19qua6web.js +5 -0
  114. package/console/_next/static/chunks/0omq5mq8dkd24.js +1 -0
  115. package/console/_next/static/chunks/0oprw5m.lmqln.js +1 -0
  116. package/console/_next/static/chunks/0ortphe030oky.js +1 -0
  117. package/console/_next/static/chunks/0oufb2b491l23.js +153 -0
  118. package/console/_next/static/chunks/0owq59irnycu5.js +1 -0
  119. package/console/_next/static/chunks/0ptwwlt0l20~o.js +1 -0
  120. package/console/_next/static/chunks/0q2tc-vqxe1_n.js +1 -0
  121. package/console/_next/static/chunks/0qfu4h5g.k-yt.js +1 -0
  122. package/console/_next/static/chunks/0qji_.pm~u8x3.js +1 -0
  123. package/console/_next/static/chunks/0qm2930z0c.8m.js +80 -0
  124. package/console/_next/static/chunks/0q~1rz_i~v0vs.js +1 -0
  125. package/console/_next/static/chunks/0r4lipg4xb6fx.js +1 -0
  126. package/console/_next/static/chunks/0rhvismtjivza.js +104 -0
  127. package/console/_next/static/chunks/0rmt10l3458p_.js +93 -0
  128. package/console/_next/static/chunks/0rob~86j~8vge.js +1 -0
  129. package/console/_next/static/chunks/0r~zu0c3j_b7p.js +1 -0
  130. package/console/_next/static/chunks/0s0v8xobo-2ok.js +34 -0
  131. package/console/_next/static/chunks/0s8nwq43gep9_.js +15 -0
  132. package/console/_next/static/chunks/0spswjguxbqfn.js +1 -0
  133. package/console/_next/static/chunks/0t6aq14rpn1.w.js +1 -0
  134. package/console/_next/static/chunks/0taiwi2j.k7mm.js +1 -0
  135. package/console/_next/static/chunks/0tj3k0t29gpn7.js +1 -0
  136. package/console/_next/static/chunks/0tq77.56bu2eu.js +1 -0
  137. package/console/_next/static/chunks/0ulcdeu8yx-cn.js +1 -0
  138. package/console/_next/static/chunks/0uvbqsa~x3_x6.js +1 -0
  139. package/console/_next/static/chunks/0uw8zy_zoej6s.js +1 -0
  140. package/console/_next/static/chunks/0uz5-~rqk9vr..js +1 -0
  141. package/console/_next/static/chunks/0w3ug0~zih~j2.js +1 -0
  142. package/console/_next/static/chunks/0wfrz3x.bxehc.js +1 -0
  143. package/console/_next/static/chunks/0wyb4nqlt6his.js +1 -0
  144. package/console/_next/static/chunks/0x.4919xjicc5.js +75 -0
  145. package/console/_next/static/chunks/0xr1dk~mec2dn.js +1 -0
  146. package/console/_next/static/chunks/0xxouzzjw_a6q.js +115 -0
  147. package/console/_next/static/chunks/0y0u4wm.3~_ac.js +1 -0
  148. package/console/_next/static/chunks/0y4vop46pw7ip.js +2 -0
  149. package/console/_next/static/chunks/0y5z3t-z1c8ks.js.map +5 -0
  150. package/console/_next/static/chunks/0y99xmlf_e2si.js +1 -0
  151. package/console/_next/static/chunks/0ydl92ezt_ppz.js +1 -0
  152. package/console/_next/static/chunks/0ywlzawl2ml3h.js +1 -0
  153. package/console/_next/static/chunks/0yysdfbgz-l8n.js +1 -0
  154. package/console/_next/static/chunks/0zjs5hlwbvch9.js +4 -0
  155. package/console/_next/static/chunks/0zsntdh42--v1.js +1 -0
  156. package/console/_next/static/chunks/104yvyc1ce3q5.js +1 -0
  157. package/console/_next/static/chunks/1051z1rwyse00.js +1 -0
  158. package/console/_next/static/chunks/10h6g4u9i~5h8.js +1 -0
  159. package/console/_next/static/chunks/10isn5~-bj4w5.js +4 -0
  160. package/console/_next/static/chunks/10ymqudg~95gr.js +1 -0
  161. package/console/_next/static/chunks/111eimn8nia.7.js +1 -0
  162. package/console/_next/static/chunks/1155_-gh-rcvi.js +1 -0
  163. package/console/_next/static/chunks/117cg_x8i7.ol.js +1 -0
  164. package/console/_next/static/chunks/11_7qxlc92f5s.js +1 -0
  165. package/console/_next/static/chunks/11h85j-8~tny3.js +36 -0
  166. package/console/_next/static/chunks/11t~35bechtea.js +1 -0
  167. package/console/_next/static/chunks/11uh-ttx4zin-.js +9 -0
  168. package/console/_next/static/chunks/11xfx57fbi3md.js +2 -0
  169. package/console/_next/static/chunks/12329wyw7127c.js +1 -0
  170. package/console/_next/static/chunks/123jshjvn0ocr.js +31 -0
  171. package/console/_next/static/chunks/128ahbvhdeeq-.js +1 -0
  172. package/console/_next/static/chunks/13hl4dngamd3l.js +127 -0
  173. package/console/_next/static/chunks/14.38bpm-d3-l.js +1 -0
  174. package/console/_next/static/chunks/14i46k409qlt0.js +1 -0
  175. package/console/_next/static/chunks/14j238ax8coge.js +29 -0
  176. package/console/_next/static/chunks/159151ghv9-cc.js +1 -0
  177. package/console/_next/static/chunks/15hlb71q~xfev.js +1 -0
  178. package/console/_next/static/chunks/15r_pfbdb2jhp.js +23 -0
  179. package/console/_next/static/chunks/15wc.2zpsy4wc.js +4 -0
  180. package/console/_next/static/chunks/16pzrphqjtyli.js +1 -0
  181. package/console/_next/static/chunks/16ukgtm3fhab~.js +1071 -0
  182. package/console/_next/static/chunks/170p3g7_6_620.js +2 -0
  183. package/console/_next/static/chunks/175hd_pl41_vh.js +15 -0
  184. package/console/_next/static/chunks/17glhyaxi4vs-.js +1 -0
  185. package/console/_next/static/chunks/17jhgtykn778_.js +1 -0
  186. package/console/_next/static/chunks/17v4twif7y~.b.js +1 -0
  187. package/console/_next/static/chunks/182b_f_n0-cdr.js +1 -0
  188. package/console/_next/static/chunks/187v8dzyf1l-f.js +80 -0
  189. package/console/_next/static/chunks/turbopack-0cvnq9zq1g68-.js +1 -0
  190. package/console/_next/static/chunks/turbopack-172c~.rma.yso.js +1 -0
  191. package/console/_next/static/chunks/turbopack-worker-0sjn--fhq~1cg.js +1 -0
  192. package/console/_next/static/media/02263ebadd758ea4-s.0qg7j5o.yrclm.woff2 +0 -0
  193. package/console/_next/static/media/03fc1b4a8d284b5e-s.09.f.n_ccld80.woff2 +0 -0
  194. package/console/_next/static/media/07454f8ad8aaac57-s.0tqkxa-w3pk~c.woff2 +0 -0
  195. package/console/_next/static/media/1bcd0e671759a44c-s.0vnh8.d8wxa2x.woff2 +0 -0
  196. package/console/_next/static/media/1bffadaabf893a1e-s.16ipb6fqu393i.woff2 +0 -0
  197. package/console/_next/static/media/224e262ef877bfa4-s.0mo8vqgr8yagc.woff2 +0 -0
  198. package/console/_next/static/media/2bbe8d2671613f1f-s.067x_6k0k23tk.woff2 +0 -0
  199. package/console/_next/static/media/2c55a0e60120577a-s.0bjc5tiuqdqro.woff2 +0 -0
  200. package/console/_next/static/media/2fe89d53234c61d4-s.0k_.i63k_i_qa.woff2 +0 -0
  201. package/console/_next/static/media/4fa387ec64143e14-s.0wkzw~je483f-.woff2 +0 -0
  202. package/console/_next/static/media/53b9e256198e5412-s.0-wfv7uh4i7h9.woff2 +0 -0
  203. package/console/_next/static/media/5476f68d60460930-s.0wxq9webf.ew4.woff2 +0 -0
  204. package/console/_next/static/media/57215795b8570f5c-s.0vwgtotjdgnhr.woff2 +0 -0
  205. package/console/_next/static/media/59b15b4bcd7b1eb5-s.0x08jh8vondwt.woff2 +0 -0
  206. package/console/_next/static/media/5ce348bf30bf5439-s.0zgw-jeven.3w.woff2 +0 -0
  207. package/console/_next/static/media/5e05ae5b48faa55e-s.0m9hhkgdlzukj.woff2 +0 -0
  208. package/console/_next/static/media/6306c77e7c8268e4-s.0rhz0arwfsn~5.woff2 +0 -0
  209. package/console/_next/static/media/68757d6cddeff913-s.0hkrq11n-dhos.woff2 +0 -0
  210. package/console/_next/static/media/7178b3e590c64307-s.0nx0ww8fni_q3.woff2 +0 -0
  211. package/console/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2 +0 -0
  212. package/console/_next/static/media/7d817b4c03b0c5f1-s.0l76wvqk9d84w.woff2 +0 -0
  213. package/console/_next/static/media/7f11d98043fdedc9-s.0r4w1y.tjq0ay.woff2 +0 -0
  214. package/console/_next/static/media/7fea77d1d19108bf-s.0xyeb7czu1stb.woff2 +0 -0
  215. package/console/_next/static/media/83afe278b6a6bb3c-s.0q-301v4kxxnr.woff2 +0 -0
  216. package/console/_next/static/media/8a480f0b521d4e75-s.0jzbimsg8vl84.woff2 +0 -0
  217. package/console/_next/static/media/90c51ce8fb754fe8-s.00z~hoalba5dm.woff2 +0 -0
  218. package/console/_next/static/media/99e609270109b47d-s.16-z~2sp29ex6.woff2 +0 -0
  219. package/console/_next/static/media/9c72aa0f40e4eef8-s.0m6w47a4e5dy9.woff2 +0 -0
  220. package/console/_next/static/media/a7afbb44bec2bb18-s.0juuwbcf7uz~t.woff2 +0 -0
  221. package/console/_next/static/media/ad66f9afd8947f86-s.11u06r12fd6v_.woff2 +0 -0
  222. package/console/_next/static/media/bbc41e54d2fcbd21-s.0k4k9394f2q-k.woff2 +0 -0
  223. package/console/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2 +0 -0
  224. package/console/_next/static/media/d8cb5ab3660140cd-s.0ri_id_kcagyz.woff2 +0 -0
  225. package/console/_next/static/media/e15f58668ad64cb8-s.0~.8lt~vdqmc3.woff2 +0 -0
  226. package/console/_next/static/media/e390973e931a41c5-s.08hd0g.321csk.woff2 +0 -0
  227. package/console/_next/static/media/e532fa1b9921e1cd-s.0~wrfy7sm-h4g.woff2 +0 -0
  228. package/console/_next/static/media/e6d00ff86ef9e699-s.0lcb62h0-.jh3.woff2 +0 -0
  229. package/console/_next/static/media/effe91970fc4db64-s.07ig5l8azj~hy.woff2 +0 -0
  230. package/console/_next/static/media/elk-worker.min.13hrbirt7_.ef.js +6401 -0
  231. package/console/_next/static/media/favicon.0x3dzn~oxb6tn.ico +0 -0
  232. package/console/_next/static/media/fef07dbb0973bf53-s.12tyk43_3sh9u.woff2 +0 -0
  233. package/console/_not-found/__next._full.txt +29 -0
  234. package/console/_not-found/__next._head.txt +6 -0
  235. package/console/_not-found/__next._index.txt +17 -0
  236. package/console/_not-found/__next._not-found.__PAGE__.txt +6 -0
  237. package/console/_not-found/__next._not-found.txt +5 -0
  238. package/console/_not-found/__next._tree.txt +3 -0
  239. package/console/_not-found.html +1 -0
  240. package/console/_not-found.txt +29 -0
  241. package/console/apple-touch-icon-dark.png +0 -0
  242. package/console/apple-touch-icon-light.png +0 -0
  243. package/console/auth/callback/__next._full.txt +36 -0
  244. package/console/auth/callback/__next._head.txt +6 -0
  245. package/console/auth/callback/__next._index.txt +17 -0
  246. package/console/auth/callback/__next._tree.txt +5 -0
  247. package/console/auth/callback/__next.auth.callback.__PAGE__.txt +9 -0
  248. package/console/auth/callback/__next.auth.callback.txt +5 -0
  249. package/console/auth/callback/__next.auth.txt +5 -0
  250. package/console/auth/callback.html +1 -0
  251. package/console/auth/callback.txt +36 -0
  252. package/console/auth/github/callback/__next._full.txt +37 -0
  253. package/console/auth/github/callback/__next._head.txt +6 -0
  254. package/console/auth/github/callback/__next._index.txt +17 -0
  255. package/console/auth/github/callback/__next._tree.txt +5 -0
  256. package/console/auth/github/callback/__next.auth.github.callback.__PAGE__.txt +9 -0
  257. package/console/auth/github/callback/__next.auth.github.callback.txt +5 -0
  258. package/console/auth/github/callback/__next.auth.github.txt +5 -0
  259. package/console/auth/github/callback/__next.auth.txt +5 -0
  260. package/console/auth/github/callback.html +1 -0
  261. package/console/auth/github/callback.txt +37 -0
  262. package/console/auth/oauth/callback/__next._full.txt +37 -0
  263. package/console/auth/oauth/callback/__next._head.txt +6 -0
  264. package/console/auth/oauth/callback/__next._index.txt +17 -0
  265. package/console/auth/oauth/callback/__next._tree.txt +5 -0
  266. package/console/auth/oauth/callback/__next.auth.oauth.callback.__PAGE__.txt +9 -0
  267. package/console/auth/oauth/callback/__next.auth.oauth.callback.txt +5 -0
  268. package/console/auth/oauth/callback/__next.auth.oauth.txt +5 -0
  269. package/console/auth/oauth/callback/__next.auth.txt +5 -0
  270. package/console/auth/oauth/callback.html +1 -0
  271. package/console/auth/oauth/callback.txt +37 -0
  272. package/console/chat/__placeholder__/__placeholder__/__next._full.txt +35 -0
  273. package/console/chat/__placeholder__/__placeholder__/__next._head.txt +6 -0
  274. package/console/chat/__placeholder__/__placeholder__/__next._index.txt +17 -0
  275. package/console/chat/__placeholder__/__placeholder__/__next._tree.txt +5 -0
  276. package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.$d$slug.__PAGE__.txt +6 -0
  277. package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.$d$slug.txt +5 -0
  278. package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.txt +5 -0
  279. package/console/chat/__placeholder__/__placeholder__/__next.chat.txt +5 -0
  280. package/console/chat/__placeholder__/__placeholder__.html +1 -0
  281. package/console/chat/__placeholder__/__placeholder__.txt +35 -0
  282. package/console/conversations/__next._full.txt +32 -0
  283. package/console/conversations/__next._head.txt +6 -0
  284. package/console/conversations/__next._index.txt +17 -0
  285. package/console/conversations/__next._tree.txt +5 -0
  286. package/console/conversations/__next.conversations.__PAGE__.txt +6 -0
  287. package/console/conversations/__next.conversations.txt +5 -0
  288. package/console/conversations/__placeholder__/__placeholder__/__next._full.txt +35 -0
  289. package/console/conversations/__placeholder__/__placeholder__/__next._head.txt +6 -0
  290. package/console/conversations/__placeholder__/__placeholder__/__next._index.txt +17 -0
  291. package/console/conversations/__placeholder__/__placeholder__/__next._tree.txt +5 -0
  292. package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.$d$key.__PAGE__.txt +6 -0
  293. package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.$d$key.txt +5 -0
  294. package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.txt +5 -0
  295. package/console/conversations/__placeholder__/__placeholder__/__next.conversations.txt +5 -0
  296. package/console/conversations/__placeholder__/__placeholder__.html +1 -0
  297. package/console/conversations/__placeholder__/__placeholder__.txt +35 -0
  298. package/console/conversations.html +1 -0
  299. package/console/conversations.txt +32 -0
  300. package/console/dashboard/__next._full.txt +32 -0
  301. package/console/dashboard/__next._head.txt +6 -0
  302. package/console/dashboard/__next._index.txt +17 -0
  303. package/console/dashboard/__next._tree.txt +5 -0
  304. package/console/dashboard/__next.dashboard.__PAGE__.txt +6 -0
  305. package/console/dashboard/__next.dashboard.txt +5 -0
  306. package/console/dashboard.html +1 -0
  307. package/console/dashboard.txt +32 -0
  308. package/console/embed.js +1 -0
  309. package/console/executions/__placeholder__/__next._full.txt +32 -0
  310. package/console/executions/__placeholder__/__next._head.txt +6 -0
  311. package/console/executions/__placeholder__/__next._index.txt +17 -0
  312. package/console/executions/__placeholder__/__next._tree.txt +5 -0
  313. package/console/executions/__placeholder__/__next.executions.$d$id.__PAGE__.txt +5 -0
  314. package/console/executions/__placeholder__/__next.executions.$d$id.txt +5 -0
  315. package/console/executions/__placeholder__/__next.executions.txt +5 -0
  316. package/console/executions/__placeholder__.html +1 -0
  317. package/console/executions/__placeholder__.txt +32 -0
  318. package/console/favicon-dark-16x16.png +0 -0
  319. package/console/favicon-dark-32x32.png +0 -0
  320. package/console/favicon-dark.ico +0 -0
  321. package/console/favicon-dark.svg +11 -0
  322. package/console/favicon-light-16x16.png +0 -0
  323. package/console/favicon-light-32x32.png +0 -0
  324. package/console/favicon-light.ico +0 -0
  325. package/console/favicon-light.svg +11 -0
  326. package/console/favicon.ico +0 -0
  327. package/console/index.html +1 -0
  328. package/console/index.txt +28 -0
  329. package/console/invite/__placeholder__/__next._full.txt +33 -0
  330. package/console/invite/__placeholder__/__next._head.txt +6 -0
  331. package/console/invite/__placeholder__/__next._index.txt +17 -0
  332. package/console/invite/__placeholder__/__next._tree.txt +5 -0
  333. package/console/invite/__placeholder__/__next.invite.$d$token.__PAGE__.txt +6 -0
  334. package/console/invite/__placeholder__/__next.invite.$d$token.txt +5 -0
  335. package/console/invite/__placeholder__/__next.invite.txt +5 -0
  336. package/console/invite/__placeholder__.html +1 -0
  337. package/console/invite/__placeholder__.txt +33 -0
  338. package/console/library/__next._full.txt +33 -0
  339. package/console/library/__next._head.txt +6 -0
  340. package/console/library/__next._index.txt +17 -0
  341. package/console/library/__next._tree.txt +5 -0
  342. package/console/library/__next.library.__PAGE__.txt +6 -0
  343. package/console/library/__next.library.txt +7 -0
  344. package/console/library/agents/__next._full.txt +36 -0
  345. package/console/library/agents/__next._head.txt +6 -0
  346. package/console/library/agents/__next._index.txt +17 -0
  347. package/console/library/agents/__next._tree.txt +5 -0
  348. package/console/library/agents/__next.library.agents.__PAGE__.txt +6 -0
  349. package/console/library/agents/__next.library.agents.txt +5 -0
  350. package/console/library/agents/__next.library.txt +7 -0
  351. package/console/library/agents/__placeholder__/__placeholder__/__next._full.txt +39 -0
  352. package/console/library/agents/__placeholder__/__placeholder__/__next._head.txt +6 -0
  353. package/console/library/agents/__placeholder__/__placeholder__/__next._index.txt +17 -0
  354. package/console/library/agents/__placeholder__/__placeholder__/__next._tree.txt +5 -0
  355. package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.$d$slug.__PAGE__.txt +6 -0
  356. package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.$d$slug.txt +5 -0
  357. package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.txt +5 -0
  358. package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.txt +5 -0
  359. package/console/library/agents/__placeholder__/__placeholder__/__next.library.txt +7 -0
  360. package/console/library/agents/__placeholder__/__placeholder__.html +1 -0
  361. package/console/library/agents/__placeholder__/__placeholder__.txt +39 -0
  362. package/console/library/agents/new/__next._full.txt +40 -0
  363. package/console/library/agents/new/__next._head.txt +6 -0
  364. package/console/library/agents/new/__next._index.txt +17 -0
  365. package/console/library/agents/new/__next._tree.txt +5 -0
  366. package/console/library/agents/new/__next.library.agents.new.__PAGE__.txt +9 -0
  367. package/console/library/agents/new/__next.library.agents.new.txt +5 -0
  368. package/console/library/agents/new/__next.library.agents.txt +5 -0
  369. package/console/library/agents/new/__next.library.txt +7 -0
  370. package/console/library/agents/new.html +1 -0
  371. package/console/library/agents/new.txt +40 -0
  372. package/console/library/agents.html +1 -0
  373. package/console/library/agents.txt +36 -0
  374. package/console/library/mcp-servers/__next._full.txt +36 -0
  375. package/console/library/mcp-servers/__next._head.txt +6 -0
  376. package/console/library/mcp-servers/__next._index.txt +17 -0
  377. package/console/library/mcp-servers/__next._tree.txt +5 -0
  378. package/console/library/mcp-servers/__next.library.mcp-servers.__PAGE__.txt +6 -0
  379. package/console/library/mcp-servers/__next.library.mcp-servers.txt +5 -0
  380. package/console/library/mcp-servers/__next.library.txt +7 -0
  381. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._full.txt +39 -0
  382. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._head.txt +6 -0
  383. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._index.txt +17 -0
  384. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._tree.txt +5 -0
  385. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.$d$slug.__PAGE__.txt +6 -0
  386. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.$d$slug.txt +5 -0
  387. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.txt +5 -0
  388. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.txt +5 -0
  389. package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.txt +7 -0
  390. package/console/library/mcp-servers/__placeholder__/__placeholder__.html +1 -0
  391. package/console/library/mcp-servers/__placeholder__/__placeholder__.txt +39 -0
  392. package/console/library/mcp-servers/new/__next._full.txt +40 -0
  393. package/console/library/mcp-servers/new/__next._head.txt +6 -0
  394. package/console/library/mcp-servers/new/__next._index.txt +17 -0
  395. package/console/library/mcp-servers/new/__next._tree.txt +5 -0
  396. package/console/library/mcp-servers/new/__next.library.mcp-servers.new.__PAGE__.txt +9 -0
  397. package/console/library/mcp-servers/new/__next.library.mcp-servers.new.txt +5 -0
  398. package/console/library/mcp-servers/new/__next.library.mcp-servers.txt +5 -0
  399. package/console/library/mcp-servers/new/__next.library.txt +7 -0
  400. package/console/library/mcp-servers/new.html +1 -0
  401. package/console/library/mcp-servers/new.txt +40 -0
  402. package/console/library/mcp-servers.html +1 -0
  403. package/console/library/mcp-servers.txt +36 -0
  404. package/console/library/schedules/__next._full.txt +36 -0
  405. package/console/library/schedules/__next._head.txt +6 -0
  406. package/console/library/schedules/__next._index.txt +17 -0
  407. package/console/library/schedules/__next._tree.txt +5 -0
  408. package/console/library/schedules/__next.library.schedules.__PAGE__.txt +6 -0
  409. package/console/library/schedules/__next.library.schedules.txt +5 -0
  410. package/console/library/schedules/__next.library.txt +7 -0
  411. package/console/library/schedules/__placeholder__/__placeholder__/__next._full.txt +39 -0
  412. package/console/library/schedules/__placeholder__/__placeholder__/__next._head.txt +6 -0
  413. package/console/library/schedules/__placeholder__/__placeholder__/__next._index.txt +17 -0
  414. package/console/library/schedules/__placeholder__/__placeholder__/__next._tree.txt +5 -0
  415. package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.$d$slug.__PAGE__.txt +6 -0
  416. package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.$d$slug.txt +5 -0
  417. package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.txt +5 -0
  418. package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.txt +5 -0
  419. package/console/library/schedules/__placeholder__/__placeholder__/__next.library.txt +7 -0
  420. package/console/library/schedules/__placeholder__/__placeholder__.html +1 -0
  421. package/console/library/schedules/__placeholder__/__placeholder__.txt +39 -0
  422. package/console/library/schedules/new/__next._full.txt +40 -0
  423. package/console/library/schedules/new/__next._head.txt +6 -0
  424. package/console/library/schedules/new/__next._index.txt +17 -0
  425. package/console/library/schedules/new/__next._tree.txt +5 -0
  426. package/console/library/schedules/new/__next.library.schedules.new.__PAGE__.txt +9 -0
  427. package/console/library/schedules/new/__next.library.schedules.new.txt +5 -0
  428. package/console/library/schedules/new/__next.library.schedules.txt +5 -0
  429. package/console/library/schedules/new/__next.library.txt +7 -0
  430. package/console/library/schedules/new.html +1 -0
  431. package/console/library/schedules/new.txt +40 -0
  432. package/console/library/schedules.html +1 -0
  433. package/console/library/schedules.txt +36 -0
  434. package/console/library/skills/__next._full.txt +36 -0
  435. package/console/library/skills/__next._head.txt +6 -0
  436. package/console/library/skills/__next._index.txt +17 -0
  437. package/console/library/skills/__next._tree.txt +5 -0
  438. package/console/library/skills/__next.library.skills.__PAGE__.txt +6 -0
  439. package/console/library/skills/__next.library.skills.txt +5 -0
  440. package/console/library/skills/__next.library.txt +7 -0
  441. package/console/library/skills/__placeholder__/__placeholder__/__next._full.txt +39 -0
  442. package/console/library/skills/__placeholder__/__placeholder__/__next._head.txt +6 -0
  443. package/console/library/skills/__placeholder__/__placeholder__/__next._index.txt +17 -0
  444. package/console/library/skills/__placeholder__/__placeholder__/__next._tree.txt +5 -0
  445. package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.$d$slug.__PAGE__.txt +6 -0
  446. package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.$d$slug.txt +5 -0
  447. package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.txt +5 -0
  448. package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.txt +5 -0
  449. package/console/library/skills/__placeholder__/__placeholder__/__next.library.txt +7 -0
  450. package/console/library/skills/__placeholder__/__placeholder__.html +1 -0
  451. package/console/library/skills/__placeholder__/__placeholder__.txt +39 -0
  452. package/console/library/skills/new/__next._full.txt +40 -0
  453. package/console/library/skills/new/__next._head.txt +6 -0
  454. package/console/library/skills/new/__next._index.txt +17 -0
  455. package/console/library/skills/new/__next._tree.txt +5 -0
  456. package/console/library/skills/new/__next.library.skills.new.__PAGE__.txt +9 -0
  457. package/console/library/skills/new/__next.library.skills.new.txt +5 -0
  458. package/console/library/skills/new/__next.library.skills.txt +5 -0
  459. package/console/library/skills/new/__next.library.txt +7 -0
  460. package/console/library/skills/new.html +1 -0
  461. package/console/library/skills/new.txt +40 -0
  462. package/console/library/skills.html +1 -0
  463. package/console/library/skills.txt +36 -0
  464. package/console/library/workflows/__next._full.txt +36 -0
  465. package/console/library/workflows/__next._head.txt +6 -0
  466. package/console/library/workflows/__next._index.txt +17 -0
  467. package/console/library/workflows/__next._tree.txt +5 -0
  468. package/console/library/workflows/__next.library.txt +7 -0
  469. package/console/library/workflows/__next.library.workflows.__PAGE__.txt +6 -0
  470. package/console/library/workflows/__next.library.workflows.txt +5 -0
  471. package/console/library/workflows/__placeholder__/__placeholder__/__next._full.txt +39 -0
  472. package/console/library/workflows/__placeholder__/__placeholder__/__next._head.txt +6 -0
  473. package/console/library/workflows/__placeholder__/__placeholder__/__next._index.txt +17 -0
  474. package/console/library/workflows/__placeholder__/__placeholder__/__next._tree.txt +5 -0
  475. package/console/library/workflows/__placeholder__/__placeholder__/__next.library.txt +7 -0
  476. package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.$d$slug.__PAGE__.txt +6 -0
  477. package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.$d$slug.txt +5 -0
  478. package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.txt +5 -0
  479. package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.txt +5 -0
  480. package/console/library/workflows/__placeholder__/__placeholder__.html +1 -0
  481. package/console/library/workflows/__placeholder__/__placeholder__.txt +39 -0
  482. package/console/library/workflows/executions/__next._full.txt +37 -0
  483. package/console/library/workflows/executions/__next._head.txt +6 -0
  484. package/console/library/workflows/executions/__next._index.txt +17 -0
  485. package/console/library/workflows/executions/__next._tree.txt +5 -0
  486. package/console/library/workflows/executions/__next.library.txt +7 -0
  487. package/console/library/workflows/executions/__next.library.workflows.executions.__PAGE__.txt +6 -0
  488. package/console/library/workflows/executions/__next.library.workflows.executions.txt +5 -0
  489. package/console/library/workflows/executions/__next.library.workflows.txt +5 -0
  490. package/console/library/workflows/executions.html +1 -0
  491. package/console/library/workflows/executions.txt +37 -0
  492. package/console/library/workflows/new/__next._full.txt +40 -0
  493. package/console/library/workflows/new/__next._head.txt +6 -0
  494. package/console/library/workflows/new/__next._index.txt +17 -0
  495. package/console/library/workflows/new/__next._tree.txt +5 -0
  496. package/console/library/workflows/new/__next.library.txt +7 -0
  497. package/console/library/workflows/new/__next.library.workflows.new.__PAGE__.txt +9 -0
  498. package/console/library/workflows/new/__next.library.workflows.new.txt +5 -0
  499. package/console/library/workflows/new/__next.library.workflows.txt +5 -0
  500. package/console/library/workflows/new.html +1 -0
  501. package/console/library/workflows/new.txt +40 -0
  502. package/console/library/workflows.html +1 -0
  503. package/console/library/workflows.txt +36 -0
  504. package/console/library.html +1 -0
  505. package/console/library.txt +33 -0
  506. package/console/login/__next._full.txt +35 -0
  507. package/console/login/__next._head.txt +6 -0
  508. package/console/login/__next._index.txt +17 -0
  509. package/console/login/__next._tree.txt +5 -0
  510. package/console/login/__next.login.__PAGE__.txt +9 -0
  511. package/console/login/__next.login.txt +5 -0
  512. package/console/login.html +1 -0
  513. package/console/login.txt +35 -0
  514. package/console/logo.svg +1 -0
  515. package/console/oauth/slack/callback/__next._full.txt +37 -0
  516. package/console/oauth/slack/callback/__next._head.txt +6 -0
  517. package/console/oauth/slack/callback/__next._index.txt +17 -0
  518. package/console/oauth/slack/callback/__next._tree.txt +5 -0
  519. package/console/oauth/slack/callback/__next.oauth.slack.callback.__PAGE__.txt +9 -0
  520. package/console/oauth/slack/callback/__next.oauth.slack.callback.txt +5 -0
  521. package/console/oauth/slack/callback/__next.oauth.slack.txt +5 -0
  522. package/console/oauth/slack/callback/__next.oauth.txt +5 -0
  523. package/console/oauth/slack/callback.html +1 -0
  524. package/console/oauth/slack/callback.txt +37 -0
  525. package/console/sessions/__placeholder__/__next._full.txt +32 -0
  526. package/console/sessions/__placeholder__/__next._head.txt +6 -0
  527. package/console/sessions/__placeholder__/__next._index.txt +17 -0
  528. package/console/sessions/__placeholder__/__next._tree.txt +5 -0
  529. package/console/sessions/__placeholder__/__next.sessions.$d$id.__PAGE__.txt +5 -0
  530. package/console/sessions/__placeholder__/__next.sessions.$d$id.txt +5 -0
  531. package/console/sessions/__placeholder__/__next.sessions.txt +5 -0
  532. package/console/sessions/__placeholder__.html +1 -0
  533. package/console/sessions/__placeholder__.txt +32 -0
  534. package/console/settings/__next._full.txt +35 -0
  535. package/console/settings/__next._head.txt +6 -0
  536. package/console/settings/__next._index.txt +17 -0
  537. package/console/settings/__next._tree.txt +5 -0
  538. package/console/settings/__next.settings.__PAGE__.txt +9 -0
  539. package/console/settings/__next.settings.txt +6 -0
  540. package/console/settings/account-preferences/__next._full.txt +35 -0
  541. package/console/settings/account-preferences/__next._head.txt +6 -0
  542. package/console/settings/account-preferences/__next._index.txt +17 -0
  543. package/console/settings/account-preferences/__next._tree.txt +5 -0
  544. package/console/settings/account-preferences/__next.settings.account-preferences.__PAGE__.txt +6 -0
  545. package/console/settings/account-preferences/__next.settings.account-preferences.txt +5 -0
  546. package/console/settings/account-preferences/__next.settings.txt +6 -0
  547. package/console/settings/account-preferences.html +1 -0
  548. package/console/settings/account-preferences.txt +35 -0
  549. package/console/settings/api-keys/__next._full.txt +35 -0
  550. package/console/settings/api-keys/__next._head.txt +6 -0
  551. package/console/settings/api-keys/__next._index.txt +17 -0
  552. package/console/settings/api-keys/__next._tree.txt +5 -0
  553. package/console/settings/api-keys/__next.settings.api-keys.__PAGE__.txt +6 -0
  554. package/console/settings/api-keys/__next.settings.api-keys.txt +5 -0
  555. package/console/settings/api-keys/__next.settings.txt +6 -0
  556. package/console/settings/api-keys.html +1 -0
  557. package/console/settings/api-keys.txt +35 -0
  558. package/console/settings/billing/__next._full.txt +38 -0
  559. package/console/settings/billing/__next._head.txt +6 -0
  560. package/console/settings/billing/__next._index.txt +17 -0
  561. package/console/settings/billing/__next._tree.txt +5 -0
  562. package/console/settings/billing/__next.settings.billing.__PAGE__.txt +9 -0
  563. package/console/settings/billing/__next.settings.billing.txt +5 -0
  564. package/console/settings/billing/__next.settings.txt +6 -0
  565. package/console/settings/billing.html +1 -0
  566. package/console/settings/billing.txt +38 -0
  567. package/console/settings/channel-apps/__next._full.txt +35 -0
  568. package/console/settings/channel-apps/__next._head.txt +6 -0
  569. package/console/settings/channel-apps/__next._index.txt +17 -0
  570. package/console/settings/channel-apps/__next._tree.txt +5 -0
  571. package/console/settings/channel-apps/__next.settings.channel-apps.__PAGE__.txt +6 -0
  572. package/console/settings/channel-apps/__next.settings.channel-apps.txt +5 -0
  573. package/console/settings/channel-apps/__next.settings.txt +6 -0
  574. package/console/settings/channel-apps.html +1 -0
  575. package/console/settings/channel-apps.txt +35 -0
  576. package/console/settings/cursor-accounts/__next._full.txt +38 -0
  577. package/console/settings/cursor-accounts/__next._head.txt +6 -0
  578. package/console/settings/cursor-accounts/__next._index.txt +17 -0
  579. package/console/settings/cursor-accounts/__next._tree.txt +5 -0
  580. package/console/settings/cursor-accounts/__next.settings.cursor-accounts.__PAGE__.txt +9 -0
  581. package/console/settings/cursor-accounts/__next.settings.cursor-accounts.txt +5 -0
  582. package/console/settings/cursor-accounts/__next.settings.txt +6 -0
  583. package/console/settings/cursor-accounts.html +1 -0
  584. package/console/settings/cursor-accounts.txt +38 -0
  585. package/console/settings/environments/__next._full.txt +35 -0
  586. package/console/settings/environments/__next._head.txt +6 -0
  587. package/console/settings/environments/__next._index.txt +17 -0
  588. package/console/settings/environments/__next._tree.txt +5 -0
  589. package/console/settings/environments/__next.settings.environments.__PAGE__.txt +6 -0
  590. package/console/settings/environments/__next.settings.environments.txt +5 -0
  591. package/console/settings/environments/__next.settings.txt +6 -0
  592. package/console/settings/environments.html +1 -0
  593. package/console/settings/environments.txt +35 -0
  594. package/console/settings/identity-providers/__next._full.txt +35 -0
  595. package/console/settings/identity-providers/__next._head.txt +6 -0
  596. package/console/settings/identity-providers/__next._index.txt +17 -0
  597. package/console/settings/identity-providers/__next._tree.txt +5 -0
  598. package/console/settings/identity-providers/__next.settings.identity-providers.__PAGE__.txt +6 -0
  599. package/console/settings/identity-providers/__next.settings.identity-providers.txt +5 -0
  600. package/console/settings/identity-providers/__next.settings.txt +6 -0
  601. package/console/settings/identity-providers.html +1 -0
  602. package/console/settings/identity-providers.txt +35 -0
  603. package/console/settings/invitations/__next._full.txt +35 -0
  604. package/console/settings/invitations/__next._head.txt +6 -0
  605. package/console/settings/invitations/__next._index.txt +17 -0
  606. package/console/settings/invitations/__next._tree.txt +5 -0
  607. package/console/settings/invitations/__next.settings.invitations.__PAGE__.txt +6 -0
  608. package/console/settings/invitations/__next.settings.invitations.txt +5 -0
  609. package/console/settings/invitations/__next.settings.txt +6 -0
  610. package/console/settings/invitations.html +1 -0
  611. package/console/settings/invitations.txt +35 -0
  612. package/console/settings/members/__next._full.txt +35 -0
  613. package/console/settings/members/__next._head.txt +6 -0
  614. package/console/settings/members/__next._index.txt +17 -0
  615. package/console/settings/members/__next._tree.txt +5 -0
  616. package/console/settings/members/__next.settings.members.__PAGE__.txt +6 -0
  617. package/console/settings/members/__next.settings.members.txt +5 -0
  618. package/console/settings/members/__next.settings.txt +6 -0
  619. package/console/settings/members.html +1 -0
  620. package/console/settings/members.txt +35 -0
  621. package/console/settings/memory/__next._full.txt +35 -0
  622. package/console/settings/memory/__next._head.txt +6 -0
  623. package/console/settings/memory/__next._index.txt +17 -0
  624. package/console/settings/memory/__next._tree.txt +5 -0
  625. package/console/settings/memory/__next.settings.memory.__PAGE__.txt +6 -0
  626. package/console/settings/memory/__next.settings.memory.txt +5 -0
  627. package/console/settings/memory/__next.settings.txt +6 -0
  628. package/console/settings/memory.html +1 -0
  629. package/console/settings/memory.txt +35 -0
  630. package/console/settings/oauth-apps/__next._full.txt +35 -0
  631. package/console/settings/oauth-apps/__next._head.txt +6 -0
  632. package/console/settings/oauth-apps/__next._index.txt +17 -0
  633. package/console/settings/oauth-apps/__next._tree.txt +5 -0
  634. package/console/settings/oauth-apps/__next.settings.oauth-apps.__PAGE__.txt +6 -0
  635. package/console/settings/oauth-apps/__next.settings.oauth-apps.txt +5 -0
  636. package/console/settings/oauth-apps/__next.settings.txt +6 -0
  637. package/console/settings/oauth-apps.html +1 -0
  638. package/console/settings/oauth-apps.txt +35 -0
  639. package/console/settings/org-preferences/__next._full.txt +35 -0
  640. package/console/settings/org-preferences/__next._head.txt +6 -0
  641. package/console/settings/org-preferences/__next._index.txt +17 -0
  642. package/console/settings/org-preferences/__next._tree.txt +5 -0
  643. package/console/settings/org-preferences/__next.settings.org-preferences.__PAGE__.txt +6 -0
  644. package/console/settings/org-preferences/__next.settings.org-preferences.txt +5 -0
  645. package/console/settings/org-preferences/__next.settings.txt +6 -0
  646. package/console/settings/org-preferences.html +1 -0
  647. package/console/settings/org-preferences.txt +35 -0
  648. package/console/settings/org-profile/__next._full.txt +35 -0
  649. package/console/settings/org-profile/__next._head.txt +6 -0
  650. package/console/settings/org-profile/__next._index.txt +17 -0
  651. package/console/settings/org-profile/__next._tree.txt +5 -0
  652. package/console/settings/org-profile/__next.settings.org-profile.__PAGE__.txt +6 -0
  653. package/console/settings/org-profile/__next.settings.org-profile.txt +5 -0
  654. package/console/settings/org-profile/__next.settings.txt +6 -0
  655. package/console/settings/org-profile.html +1 -0
  656. package/console/settings/org-profile.txt +35 -0
  657. package/console/settings/platform-clients/__next._full.txt +35 -0
  658. package/console/settings/platform-clients/__next._head.txt +6 -0
  659. package/console/settings/platform-clients/__next._index.txt +17 -0
  660. package/console/settings/platform-clients/__next._tree.txt +5 -0
  661. package/console/settings/platform-clients/__next.settings.platform-clients.__PAGE__.txt +6 -0
  662. package/console/settings/platform-clients/__next.settings.platform-clients.txt +5 -0
  663. package/console/settings/platform-clients/__next.settings.txt +6 -0
  664. package/console/settings/platform-clients.html +1 -0
  665. package/console/settings/platform-clients.txt +35 -0
  666. package/console/settings/pricing-governance/__next._full.txt +38 -0
  667. package/console/settings/pricing-governance/__next._head.txt +6 -0
  668. package/console/settings/pricing-governance/__next._index.txt +17 -0
  669. package/console/settings/pricing-governance/__next._tree.txt +5 -0
  670. package/console/settings/pricing-governance/__next.settings.pricing-governance.__PAGE__.txt +9 -0
  671. package/console/settings/pricing-governance/__next.settings.pricing-governance.txt +5 -0
  672. package/console/settings/pricing-governance/__next.settings.txt +6 -0
  673. package/console/settings/pricing-governance.html +1 -0
  674. package/console/settings/pricing-governance.txt +38 -0
  675. package/console/settings/provider-standing/__next._full.txt +38 -0
  676. package/console/settings/provider-standing/__next._head.txt +6 -0
  677. package/console/settings/provider-standing/__next._index.txt +17 -0
  678. package/console/settings/provider-standing/__next._tree.txt +5 -0
  679. package/console/settings/provider-standing/__next.settings.provider-standing.__PAGE__.txt +9 -0
  680. package/console/settings/provider-standing/__next.settings.provider-standing.txt +5 -0
  681. package/console/settings/provider-standing/__next.settings.txt +6 -0
  682. package/console/settings/provider-standing.html +1 -0
  683. package/console/settings/provider-standing.txt +38 -0
  684. package/console/settings/usage/__next._full.txt +35 -0
  685. package/console/settings/usage/__next._head.txt +6 -0
  686. package/console/settings/usage/__next._index.txt +17 -0
  687. package/console/settings/usage/__next._tree.txt +5 -0
  688. package/console/settings/usage/__next.settings.txt +6 -0
  689. package/console/settings/usage/__next.settings.usage.__PAGE__.txt +6 -0
  690. package/console/settings/usage/__next.settings.usage.txt +5 -0
  691. package/console/settings/usage.html +1 -0
  692. package/console/settings/usage.txt +35 -0
  693. package/console/settings.html +1 -0
  694. package/console/settings.txt +35 -0
  695. package/console/workflows/__next._full.txt +32 -0
  696. package/console/workflows/__next._head.txt +6 -0
  697. package/console/workflows/__next._index.txt +17 -0
  698. package/console/workflows/__next._tree.txt +5 -0
  699. package/console/workflows/__next.workflows.__PAGE__.txt +6 -0
  700. package/console/workflows/__next.workflows.txt +5 -0
  701. package/console/workflows/__placeholder__/__placeholder__/__next._full.txt +35 -0
  702. package/console/workflows/__placeholder__/__placeholder__/__next._head.txt +6 -0
  703. package/console/workflows/__placeholder__/__placeholder__/__next._index.txt +17 -0
  704. package/console/workflows/__placeholder__/__placeholder__/__next._tree.txt +5 -0
  705. package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.$d$slug.__PAGE__.txt +6 -0
  706. package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.$d$slug.txt +5 -0
  707. package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.txt +5 -0
  708. package/console/workflows/__placeholder__/__placeholder__/__next.workflows.txt +5 -0
  709. package/console/workflows/__placeholder__/__placeholder__.html +1 -0
  710. package/console/workflows/__placeholder__/__placeholder__.txt +35 -0
  711. package/console/workflows/executions/__next._full.txt +33 -0
  712. package/console/workflows/executions/__next._head.txt +6 -0
  713. package/console/workflows/executions/__next._index.txt +17 -0
  714. package/console/workflows/executions/__next._tree.txt +5 -0
  715. package/console/workflows/executions/__next.workflows.executions.__PAGE__.txt +6 -0
  716. package/console/workflows/executions/__next.workflows.executions.txt +5 -0
  717. package/console/workflows/executions/__next.workflows.txt +5 -0
  718. package/console/workflows/executions/__placeholder__/__next._full.txt +34 -0
  719. package/console/workflows/executions/__placeholder__/__next._head.txt +6 -0
  720. package/console/workflows/executions/__placeholder__/__next._index.txt +17 -0
  721. package/console/workflows/executions/__placeholder__/__next._tree.txt +5 -0
  722. package/console/workflows/executions/__placeholder__/__next.workflows.executions.$d$id.__PAGE__.txt +6 -0
  723. package/console/workflows/executions/__placeholder__/__next.workflows.executions.$d$id.txt +5 -0
  724. package/console/workflows/executions/__placeholder__/__next.workflows.executions.txt +5 -0
  725. package/console/workflows/executions/__placeholder__/__next.workflows.txt +5 -0
  726. package/console/workflows/executions/__placeholder__.html +1 -0
  727. package/console/workflows/executions/__placeholder__.txt +34 -0
  728. package/console/workflows/executions.html +1 -0
  729. package/console/workflows/executions.txt +33 -0
  730. package/console/workflows.html +1 -0
  731. package/console/workflows.txt +32 -0
  732. package/main.js +1138 -0
  733. package/mappings.wasm +0 -0
  734. package/package.json +25 -0
  735. package/workflow-bundle-agent-execution.js +31729 -0
  736. package/workflow-bundle-schedule.js +11315 -0
  737. package/workflow-bundle-workflow-execution.js +29297 -0
  738. package/workflow-worker-thread.cjs +111 -0
@@ -0,0 +1,148 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,572247,t=>{"use strict";var e=(0,t.i(171206).__name)(()=>`
2
+ /* Font Awesome icon styling - consolidated */
3
+ .label-icon {
4
+ display: inline-block;
5
+ height: 1em;
6
+ overflow: visible;
7
+ vertical-align: -0.125em;
8
+ }
9
+
10
+ .node .label-icon path {
11
+ fill: currentColor;
12
+ stroke: revert;
13
+ stroke-width: revert;
14
+ }
15
+ `,"getIconStyles");t.s(["getIconStyles",0,e])},621501,t=>{"use strict";var e=t.i(908381),n=t.i(171206),i=t.i(139941);t.i(947716);var a=t.i(723685),r=(0,n.__name)((t,e)=>{let n=t.append("rect");if(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),e.name&&n.attr("name",e.name),e.rx&&n.attr("rx",e.rx),e.ry&&n.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)n.attr(t,e.attrs[t]);return e.class&&n.attr("class",e.class),n},"drawRect"),s=(0,n.__name)((t,e)=>{r(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"),l=(0,n.__name)((t,n)=>{let i=n.text.replace(e.lineBreakRegex," "),a=t.append("text");a.attr("x",n.x),a.attr("y",n.y),a.attr("class","legend"),a.style("text-anchor",n.anchor),n.class&&a.attr("class",n.class);let r=a.append("tspan");return r.attr("x",n.x+2*n.textMargin),r.text(i),a},"drawText"),o=(0,n.__name)((t,e,n,a)=>{let r=t.append("image");r.attr("x",e),r.attr("y",n);let s=(0,i.sanitizeUrl)(a);r.attr("xlink:href",s)},"drawImage"),c=(0,n.__name)((t,e,n,a)=>{let r=t.append("use");r.attr("x",e),r.attr("y",n);let s=(0,i.sanitizeUrl)(a);r.attr("xlink:href",`#${s}`)},"drawEmbeddedImage"),h=(0,n.__name)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),u=(0,n.__name)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),p=(0,n.__name)(()=>{let t=(0,a.select)(".mermaidTooltip");return t.empty()&&(t=(0,a.select)("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");t.s(["createTooltip",0,p,"drawBackgroundRect",0,s,"drawEmbeddedImage",0,c,"drawImage",0,o,"drawRect",0,r,"drawText",0,l,"getNoteRect",0,h,"getTextObj",0,u])},279769,t=>{"use strict";var e=t.i(475058),n=t.i(810199),i=t.i(216888);function a(t){return t.innerRadius}function r(t){return t.outerRadius}function s(t){return t.startAngle}function l(t){return t.endAngle}function o(t){return t&&t.padAngle}function c(t,e,i,a,r,s,l){var o=t-i,c=e-a,h=(l?s:-s)/(0,n.sqrt)(o*o+c*c),u=h*c,p=-h*o,y=t+u,d=e+p,f=i+u,m=a+p,g=(y+f)/2,_=(d+m)/2,x=f-y,k=m-d,b=x*x+k*k,v=r-s,w=y*m-f*d,$=(k<0?-1:1)*(0,n.sqrt)((0,n.max)(0,v*v*b-w*w)),T=(w*k-x*$)/b,M=(-w*x-k*$)/b,A=(w*k+x*$)/b,S=(-w*x+k*$)/b,C=T-g,E=M-_,I=A-g,P=S-_;return C*C+E*E>I*I+P*P&&(T=A,M=S),{cx:T,cy:M,x01:-u,y01:-p,x11:T*(r/v-1),y11:M*(r/v-1)}}t.s(["arc",0,function(){var t=a,h=r,u=(0,e.default)(0),p=null,y=s,d=l,f=o,m=null,g=(0,i.withPath)(_);function _(){var e,i,a=+t.apply(this,arguments),r=+h.apply(this,arguments),s=y.apply(this,arguments)-n.halfPi,l=d.apply(this,arguments)-n.halfPi,o=(0,n.abs)(l-s),_=l>s;if(m||(m=e=g()),r<a&&(i=r,r=a,a=i),r>n.epsilon)if(o>n.tau-n.epsilon)m.moveTo(r*(0,n.cos)(s),r*(0,n.sin)(s)),m.arc(0,0,r,s,l,!_),a>n.epsilon&&(m.moveTo(a*(0,n.cos)(l),a*(0,n.sin)(l)),m.arc(0,0,a,l,s,_));else{var x,k,b=s,v=l,w=s,$=l,T=o,M=o,A=f.apply(this,arguments)/2,S=A>n.epsilon&&(p?+p.apply(this,arguments):(0,n.sqrt)(a*a+r*r)),C=(0,n.min)((0,n.abs)(r-a)/2,+u.apply(this,arguments)),E=C,I=C;if(S>n.epsilon){var P=(0,n.asin)(S/a*(0,n.sin)(A)),R=(0,n.asin)(S/r*(0,n.sin)(A));(T-=2*P)>n.epsilon?(P*=_?1:-1,w+=P,$-=P):(T=0,w=$=(s+l)/2),(M-=2*R)>n.epsilon?(R*=_?1:-1,b+=R,v-=R):(M=0,b=v=(s+l)/2)}var j=r*(0,n.cos)(b),B=r*(0,n.sin)(b),F=a*(0,n.cos)($),V=a*(0,n.sin)($);if(C>n.epsilon){var D,O=r*(0,n.cos)(v),N=r*(0,n.sin)(v),L=a*(0,n.cos)(w),z=a*(0,n.sin)(w);if(o<n.pi)if(D=function(t,e,i,a,r,s,l,o){var c=i-t,h=a-e,u=l-r,p=o-s,y=p*c-u*h;if(!(y*y<n.epsilon))return y=(u*(e-s)-p*(t-r))/y,[t+y*c,e+y*h]}(j,B,L,z,O,N,F,V)){var q=j-D[0],U=B-D[1],Y=O-D[0],W=N-D[1],X=1/(0,n.sin)((0,n.acos)((q*Y+U*W)/((0,n.sqrt)(q*q+U*U)*(0,n.sqrt)(Y*Y+W*W)))/2),K=(0,n.sqrt)(D[0]*D[0]+D[1]*D[1]);E=(0,n.min)(C,(a-K)/(X-1)),I=(0,n.min)(C,(r-K)/(X+1))}else E=I=0}M>n.epsilon?I>n.epsilon?(x=c(L,z,j,B,r,I,_),k=c(O,N,F,V,r,I,_),m.moveTo(x.cx+x.x01,x.cy+x.y01),I<C?m.arc(x.cx,x.cy,I,(0,n.atan2)(x.y01,x.x01),(0,n.atan2)(k.y01,k.x01),!_):(m.arc(x.cx,x.cy,I,(0,n.atan2)(x.y01,x.x01),(0,n.atan2)(x.y11,x.x11),!_),m.arc(0,0,r,(0,n.atan2)(x.cy+x.y11,x.cx+x.x11),(0,n.atan2)(k.cy+k.y11,k.cx+k.x11),!_),m.arc(k.cx,k.cy,I,(0,n.atan2)(k.y11,k.x11),(0,n.atan2)(k.y01,k.x01),!_))):(m.moveTo(j,B),m.arc(0,0,r,b,v,!_)):m.moveTo(j,B),a>n.epsilon&&T>n.epsilon?E>n.epsilon?(x=c(F,V,O,N,a,-E,_),k=c(j,B,L,z,a,-E,_),m.lineTo(x.cx+x.x01,x.cy+x.y01),E<C?m.arc(x.cx,x.cy,E,(0,n.atan2)(x.y01,x.x01),(0,n.atan2)(k.y01,k.x01),!_):(m.arc(x.cx,x.cy,E,(0,n.atan2)(x.y01,x.x01),(0,n.atan2)(x.y11,x.x11),!_),m.arc(0,0,a,(0,n.atan2)(x.cy+x.y11,x.cx+x.x11),(0,n.atan2)(k.cy+k.y11,k.cx+k.x11),_),m.arc(k.cx,k.cy,E,(0,n.atan2)(k.y11,k.x11),(0,n.atan2)(k.y01,k.x01),!_))):m.arc(0,0,a,$,w,_):m.lineTo(F,V)}else m.moveTo(0,0);if(m.closePath(),e)return m=null,e+""||null}return _.centroid=function(){var e=(+t.apply(this,arguments)+ +h.apply(this,arguments))/2,i=(+y.apply(this,arguments)+ +d.apply(this,arguments))/2-n.pi/2;return[(0,n.cos)(i)*e,(0,n.sin)(i)*e]},_.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:(0,e.default)(+n),_):t},_.outerRadius=function(t){return arguments.length?(h="function"==typeof t?t:(0,e.default)(+t),_):h},_.cornerRadius=function(t){return arguments.length?(u="function"==typeof t?t:(0,e.default)(+t),_):u},_.padRadius=function(t){return arguments.length?(p=null==t?null:"function"==typeof t?t:(0,e.default)(+t),_):p},_.startAngle=function(t){return arguments.length?(y="function"==typeof t?t:(0,e.default)(+t),_):y},_.endAngle=function(t){return arguments.length?(d="function"==typeof t?t:(0,e.default)(+t),_):d},_.padAngle=function(t){return arguments.length?(f="function"==typeof t?t:(0,e.default)(+t),_):f},_.context=function(t){return arguments.length?(m=null==t?null:t,_):m},_}],279769)},988537,t=>{"use strict";var e=t.i(572247),n=t.i(621501),i=t.i(908381),a=t.i(171206);t.i(947716);var r=t.i(723685),s=t.i(279769),l=function(){var t=(0,a.__name)(function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},"o"),e=[6,8,10,11,12,14,16,17,18],n=[1,9],i=[1,10],r=[1,11],s=[1,12],l=[1,13],o=[1,14],c={trace:(0,a.__name)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:(0,a.__name)(function(t,e,n,i,a,r,s){var l=r.length-1;switch(a){case 1:return r[l-1];case 2:case 6:case 7:this.$=[];break;case 3:r[l-1].push(r[l]),this.$=r[l-1];break;case 4:case 5:this.$=r[l];break;case 8:i.setDiagramTitle(r[l].substr(6)),this.$=r[l].substr(6);break;case 9:this.$=r[l].trim(),i.setAccTitle(this.$);break;case 10:case 11:this.$=r[l].trim(),i.setAccDescription(this.$);break;case 12:i.addSection(r[l].substr(8)),this.$=r[l].substr(8);break;case 13:i.addTask(r[l-1],r[l]),this.$="task"}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:i,14:r,16:s,17:l,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:n,12:i,14:r,16:s,17:l,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:(0,a.__name)(function(t,e){if(e.recoverable)this.trace(t);else{var n=Error(t);throw n.hash=e,n}},"parseError"),parse:(0,a.__name)(function(t){var e=this,n=[0],i=[],r=[null],s=[],l=this.table,o="",c=0,h=0,u=0,p=s.slice.call(arguments,1),y=Object.create(this.lexer),d={};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(d[f]=this.yy[f]);y.setInput(t,d),d.lexer=y,d.parser=this,void 0===y.yylloc&&(y.yylloc={});var m=y.yylloc;s.push(m);var g=y.options&&y.options.ranges;function _(){var t;return"number"!=typeof(t=i.pop()||y.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,a.__name)(function(t){n.length=n.length-2*t,r.length=r.length-t,s.length=s.length-t},"popStack"),(0,a.__name)(_,"lex");for(var x,k,b,v,w,$,T,M,A,S={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==x&&(x=_()),v=l[b]&&l[b][x]),void 0===v||!v.length||!v[0]){var C="";for($ in A=[],l[b])this.terminals_[$]&&$>2&&A.push("'"+this.terminals_[$]+"'");C=y.showPosition?"Parse error on line "+(c+1)+":\n"+y.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==x?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(C,{text:y.match,token:this.terminals_[x]||x,line:y.yylineno,loc:m,expected:A})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+x);switch(v[0]){case 1:n.push(x),r.push(y.yytext),s.push(y.yylloc),n.push(v[1]),x=null,k?(x=k,k=null):(h=y.yyleng,o=y.yytext,c=y.yylineno,m=y.yylloc,u>0&&u--);break;case 2:if(T=this.productions_[v[1]][1],S.$=r[r.length-T],S._$={first_line:s[s.length-(T||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(T||1)].first_column,last_column:s[s.length-1].last_column},g&&(S._$.range=[s[s.length-(T||1)].range[0],s[s.length-1].range[1]]),void 0!==(w=this.performAction.apply(S,[o,h,c,d,v[1],r,s].concat(p))))return w;T&&(n=n.slice(0,-1*T*2),r=r.slice(0,-1*T),s=s.slice(0,-1*T)),n.push(this.productions_[v[1]][0]),r.push(S.$),s.push(S._$),M=l[n[n.length-2]][n[n.length-1]],n.push(M);break;case 3:return!0}}return!0},"parse")};function h(){this.yy={}}return c.lexer={EOF:1,parseError:(0,a.__name)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,a.__name)(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,a.__name)(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,a.__name)(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 a=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=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,a.__name)(function(){return this._more=!0,this},"more"),reject:(0,a.__name)(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,a.__name)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,a.__name)(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,a.__name)(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,a.__name)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,a.__name)(function(t,e){var n,i,a;if(this.options.backtrack_lexer&&(a={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&&(a.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 r in a)this[r]=a[r];return!1},"test_match"),next:(0,a.__name)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,i,a=this._currentRules(),r=0;r<a.length;r++)if((n=this._input.match(this.rules[a[r]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,a[r])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[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,a.__name)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,a.__name)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,a.__name)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,a.__name)(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,a.__name)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,a.__name)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,a.__name)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,a.__name)(function(t,e,n,i){switch(n){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\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,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}},(0,a.__name)(h,"Parser"),h.prototype=c,c.Parser=h,new h}();l.parser=l;var o="",c=[],h=[],u=[],p=(0,a.__name)(function(){c.length=0,h.length=0,o="",u.length=0,(0,i.clear)()},"clear"),y=(0,a.__name)(function(t){o=t,c.push(t)},"addSection"),d=(0,a.__name)(function(){return c},"getSections"),f=(0,a.__name)(function(){let t=x(),e=0;for(;!t&&e<100;)t=x(),e++;return h.push(...u),h},"getTasks"),m=(0,a.__name)(function(){let t=[];return h.forEach(e=>{e.people&&t.push(...e.people)}),[...new Set(t)].sort()},"updateActors"),g=(0,a.__name)(function(t,e){let n=e.substr(1).split(":"),i=0,a=[];1===n.length?(i=Number(n[0]),a=[]):(i=Number(n[0]),a=n[1].split(","));let r=a.map(t=>t.trim()),s={section:o,type:o,people:r,task:t,score:i};u.push(s)},"addTask"),_=(0,a.__name)(function(t){let e={section:o,type:o,description:t,task:t,classes:[]};h.push(e)},"addTaskOrg"),x=(0,a.__name)(function(){let t=(0,a.__name)(function(t){return u[t].processed},"compileTask"),e=!0;for(let[n,i]of u.entries())t(n),e=e&&i.processed;return e},"compileTasks"),k=(0,a.__name)(function(){return m()},"getActors"),b={getConfig:(0,a.__name)(()=>(0,i.getConfig2)().journey,"getConfig"),clear:p,setDiagramTitle:i.setDiagramTitle,getDiagramTitle:i.getDiagramTitle,setAccTitle:i.setAccTitle,getAccTitle:i.getAccTitle,setAccDescription:i.setAccDescription,getAccDescription:i.getAccDescription,addSection:y,getSections:d,getTasks:f,addTask:g,addTaskOrg:_,getActors:k},v=(0,a.__name)(t=>`.label {
16
+ font-family: ${t.fontFamily};
17
+ color: ${t.textColor};
18
+ }
19
+ .mouth {
20
+ stroke: #666;
21
+ }
22
+
23
+ line {
24
+ stroke: ${t.textColor}
25
+ }
26
+
27
+ .legend {
28
+ fill: ${t.textColor};
29
+ font-family: ${t.fontFamily};
30
+ }
31
+
32
+ .label text {
33
+ fill: #333;
34
+ }
35
+ .label {
36
+ color: ${t.textColor}
37
+ }
38
+
39
+ .face {
40
+ ${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"};
41
+ stroke: #999;
42
+ }
43
+
44
+ .node rect,
45
+ .node circle,
46
+ .node ellipse,
47
+ .node polygon,
48
+ .node path {
49
+ fill: ${t.mainBkg};
50
+ stroke: ${t.nodeBorder};
51
+ stroke-width: 1px;
52
+ }
53
+
54
+ .node .label {
55
+ text-align: center;
56
+ }
57
+ .node.clickable {
58
+ cursor: pointer;
59
+ }
60
+
61
+ .arrowheadPath {
62
+ fill: ${t.arrowheadColor};
63
+ }
64
+
65
+ .edgePath .path {
66
+ stroke: ${t.lineColor};
67
+ stroke-width: 1.5px;
68
+ }
69
+
70
+ .flowchart-link {
71
+ stroke: ${t.lineColor};
72
+ fill: none;
73
+ }
74
+
75
+ .edgeLabel {
76
+ background-color: ${t.edgeLabelBackground};
77
+ rect {
78
+ opacity: 0.5;
79
+ }
80
+ text-align: center;
81
+ }
82
+
83
+ .cluster rect {
84
+ }
85
+
86
+ .cluster text {
87
+ fill: ${t.titleColor};
88
+ }
89
+
90
+ div.mermaidTooltip {
91
+ position: absolute;
92
+ text-align: center;
93
+ max-width: 200px;
94
+ padding: 2px;
95
+ font-family: ${t.fontFamily};
96
+ font-size: 12px;
97
+ background: ${t.tertiaryColor};
98
+ border: 1px solid ${t.border2};
99
+ border-radius: 2px;
100
+ pointer-events: none;
101
+ z-index: 100;
102
+ }
103
+
104
+ .task-type-0, .section-type-0 {
105
+ ${t.fillType0?`fill: ${t.fillType0}`:""};
106
+ }
107
+ .task-type-1, .section-type-1 {
108
+ ${t.fillType0?`fill: ${t.fillType1}`:""};
109
+ }
110
+ .task-type-2, .section-type-2 {
111
+ ${t.fillType0?`fill: ${t.fillType2}`:""};
112
+ }
113
+ .task-type-3, .section-type-3 {
114
+ ${t.fillType0?`fill: ${t.fillType3}`:""};
115
+ }
116
+ .task-type-4, .section-type-4 {
117
+ ${t.fillType0?`fill: ${t.fillType4}`:""};
118
+ }
119
+ .task-type-5, .section-type-5 {
120
+ ${t.fillType0?`fill: ${t.fillType5}`:""};
121
+ }
122
+ .task-type-6, .section-type-6 {
123
+ ${t.fillType0?`fill: ${t.fillType6}`:""};
124
+ }
125
+ .task-type-7, .section-type-7 {
126
+ ${t.fillType0?`fill: ${t.fillType7}`:""};
127
+ }
128
+
129
+ .actor-0 {
130
+ ${t.actor0?`fill: ${t.actor0}`:""};
131
+ }
132
+ .actor-1 {
133
+ ${t.actor1?`fill: ${t.actor1}`:""};
134
+ }
135
+ .actor-2 {
136
+ ${t.actor2?`fill: ${t.actor2}`:""};
137
+ }
138
+ .actor-3 {
139
+ ${t.actor3?`fill: ${t.actor3}`:""};
140
+ }
141
+ .actor-4 {
142
+ ${t.actor4?`fill: ${t.actor4}`:""};
143
+ }
144
+ .actor-5 {
145
+ ${t.actor5?`fill: ${t.actor5}`:""};
146
+ }
147
+ ${(0,e.getIconStyles)()}
148
+ `,"getStyles"),w=(0,a.__name)(function(t,e){return(0,n.drawRect)(t,e)},"drawRect"),$=(0,a.__name)(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,s.arc)().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 l(t){let n=(0,s.arc)().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 o(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,a.__name)(r,"smile"),(0,a.__name)(l,"sad"),(0,a.__name)(o,"ambivalent"),e.score>3?r(i):e.score<3?l(i):o(i),n},"drawFace"),T=(0,a.__name)(function(t,e){let n=t.append("circle");return n.attr("cx",e.cx),n.attr("cy",e.cy),n.attr("class","actor-"+e.pos),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("r",e.r),void 0!==n.class&&n.attr("class",n.class),void 0!==e.title&&n.append("title").text(e.title),n},"drawCircle"),M=(0,a.__name)(function(t,e){return(0,n.drawText)(t,e)},"drawText"),A=(0,a.__name)(function(t,e,i){let a=t.append("g"),r=(0,n.getNoteRect)();r.x=e.x,r.y=e.y,r.fill=e.fill,r.width=i.width*e.taskCount+i.diagramMarginX*(e.taskCount-1),r.height=i.height,r.class="journey-section section-type-"+e.num,r.rx=3,r.ry=3,w(a,r),E(i)(e.text,a,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+e.num},i,e.colour)},"drawSection"),S=-1,C=(0,a.__name)(function(t,e,i,a){let r=e.x+i.width/2,s=t.append("g");S++,s.append("line").attr("id",a+"-task"+S).attr("x1",r).attr("y1",e.y).attr("x2",r).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),$(s,{cx:r,cy:300+(5-e.score)*30,score:e.score});let l=(0,n.getNoteRect)();l.x=e.x,l.y=e.y,l.fill=e.fill,l.width=i.width,l.height=i.height,l.class="task task-type-"+e.num,l.rx=3,l.ry=3,w(s,l);let o=e.x+14;e.people.forEach(t=>{let n=e.actors[t].color;T(s,{cx:o,cy:e.y,r:7,fill:n,stroke:"#000",title:t,pos:e.actors[t].position}),o+=10}),E(i)(e.task,s,l.x,l.y,l.width,l.height,{class:"task"},i,e.colour)},"drawTask"),E=function(){function t(t,e,n,a,r,s,l,o){i(e.append("text").attr("x",n+r/2).attr("y",a+s/2+5).style("font-color",o).style("text-anchor","middle").text(t),l)}function e(t,e,n,a,r,s,l,o,c){let{taskFontSize:h,taskFontFamily:u}=o,p=t.split(/<br\s*\/?>/gi);for(let t=0;t<p.length;t++){let o=t*h-h*(p.length-1)/2,y=e.append("text").attr("x",n+r/2).attr("y",a).attr("fill",c).style("text-anchor","middle").style("font-size",h).style("font-family",u);y.append("tspan").attr("x",n+r/2).attr("dy",o).text(p[t]),y.attr("y",a+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(y,l)}}function n(t,n,a,r,s,l,o,c){let h=n.append("switch"),u=h.append("foreignObject").attr("x",a).attr("y",r).attr("width",s).attr("height",l).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");u.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,h,a,r,s,l,o,c),i(u,o)}function i(t,e){for(let n in e)n in e&&t.attr(n,e[n])}return(0,a.__name)(t,"byText"),(0,a.__name)(e,"byTspan"),(0,a.__name)(n,"byFo"),(0,a.__name)(i,"_setTextAttrs"),function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),I=(0,a.__name)(function(t,e){S=-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"),P=(0,a.__name)(function(t){Object.keys(t).forEach(function(e){F[e]=t[e]})},"setConf"),R={},j=0;function B(t){let e=(0,i.getConfig2)().journey,n=e.maxLabelWidth;j=0;let a=60;Object.keys(R).forEach(i=>{let r=R[i].color;T(t,{cx:20,cy:a,r:7,fill:r,stroke:"#000",pos:R[i].position});let s=t.append("text").attr("visibility","hidden").text(i),l=s.node().getBoundingClientRect().width;s.remove();let o=[];if(l<=n)o=[i];else{let e=i.split(" "),a="";s=t.append("text").attr("visibility","hidden"),e.forEach(t=>{let e=a?`${a} ${t}`:t;if(s.text(e),s.node().getBoundingClientRect().width>n){if(a&&o.push(a),a=t,s.text(t),s.node().getBoundingClientRect().width>n){let e="";for(let i of t)e+=i,s.text(e+"-"),s.node().getBoundingClientRect().width>n&&(o.push(e.slice(0,-1)+"-"),e=i);a=e}}else a=e}),a&&o.push(a),s.remove()}o.forEach((n,i)=>{let r=M(t,{x:40,y:a+7+20*i,fill:"#666",text:n,textMargin:e.boxTextMargin??5}).node().getBoundingClientRect().width;r>j&&r>e.leftMargin-r&&(j=r)}),a+=Math.max(20,20*o.length)})}(0,a.__name)(B,"drawActorLegend");var F=(0,i.getConfig2)().journey,V=0,D=(0,a.__name)(function(t,e,n,a){let s,l=(0,i.getConfig2)(),o=l.journey.titleColor,c=l.journey.titleFontSize,h=l.journey.titleFontFamily,u=l.securityLevel;"sandbox"===u&&(s=(0,r.select)("#i"+e));let p="sandbox"===u?(0,r.select)(s.nodes()[0].contentDocument.body):(0,r.select)("body");O.init();let y=p.select("#"+e);I(y,e);let d=a.db.getTasks(),f=a.db.getDiagramTitle(),m=a.db.getActors();for(let t in R)delete R[t];let g=0;m.forEach(t=>{R[t]={color:F.actorColours[g%F.actorColours.length],position:g},g++}),B(y),V=F.leftMargin+j,O.insert(0,0,V,50*Object.keys(R).length),z(y,d,0,e);let _=O.getBounds();f&&y.append("text").text(f).attr("x",V).attr("font-size",c).attr("font-weight","bold").attr("y",25).attr("fill",o).attr("font-family",h);let x=_.stopy-_.starty+2*F.diagramMarginY,k=V+_.stopx+2*F.diagramMarginX;(0,i.configureSvgSize)(y,x,k,F.useMaxWidth),y.append("line").attr("x1",V).attr("y1",4*F.height).attr("x2",k-V-4).attr("y2",4*F.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#"+e+"-arrowhead)");let b=70*!!f;y.attr("viewBox",`${_.startx} -25 ${k} ${x+b}`),y.attr("preserveAspectRatio","xMinYMin meet"),y.attr("height",x+b+25)},"draw"),O={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:(0,a.__name)(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:(0,a.__name)(function(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e])},"updateVal"),updateBounds:(0,a.__name)(function(t,e,n,r){let s=(0,i.getConfig2)().journey,l=this,o=0;function c(i){return(0,a.__name)(function(a){o++;let c=l.sequenceItems.length-o+1;l.updateVal(a,"starty",e-c*s.boxMargin,Math.min),l.updateVal(a,"stopy",r+c*s.boxMargin,Math.max),l.updateVal(O.data,"startx",t-c*s.boxMargin,Math.min),l.updateVal(O.data,"stopx",n+c*s.boxMargin,Math.max),"activation"!==i&&(l.updateVal(a,"startx",t-c*s.boxMargin,Math.min),l.updateVal(a,"stopx",n+c*s.boxMargin,Math.max),l.updateVal(O.data,"starty",e-c*s.boxMargin,Math.min),l.updateVal(O.data,"stopy",r+c*s.boxMargin,Math.max))},"updateItemBounds")}(0,a.__name)(c,"updateFn"),this.sequenceItems.forEach(c())},"updateBounds"),insert:(0,a.__name)(function(t,e,n,i){let a=Math.min(t,n),r=Math.max(t,n),s=Math.min(e,i),l=Math.max(e,i);this.updateVal(O.data,"startx",a,Math.min),this.updateVal(O.data,"starty",s,Math.min),this.updateVal(O.data,"stopx",r,Math.max),this.updateVal(O.data,"stopy",l,Math.max),this.updateBounds(a,s,r,l)},"insert"),bumpVerticalPos:(0,a.__name)(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:(0,a.__name)(function(){return this.verticalPos},"getVerticalPos"),getBounds:(0,a.__name)(function(){return this.data},"getBounds")},N=F.sectionFills,L=F.sectionColours,z=(0,a.__name)(function(t,e,n,a){let r=(0,i.getConfig2)().journey,s="",l=n+(2*r.height+r.diagramMarginY),o=0,c="#CCC",h="black",u=0;for(let[n,i]of e.entries()){if(s!==i.section){c=N[o%N.length],u=o%N.length,h=L[o%L.length];let a=0,l=i.section;for(let t=n;t<e.length;t++)if(e[t].section==l)a+=1;else break;A(t,{x:n*r.taskMargin+n*r.width+V,y:50,text:i.section,fill:c,num:u,colour:h,taskCount:a},r),s=i.section,o++}let p=i.people.reduce((t,e)=>(R[e]&&(t[e]=R[e]),t),{});i.x=n*r.taskMargin+n*r.width+V,i.y=l,i.width=r.diagramMarginX,i.height=r.diagramMarginY,i.colour=h,i.fill=c,i.num=u,i.actors=p,C(t,i,r,a),O.insert(i.x,i.y,i.x+i.width+r.taskMargin,450)}},"drawTasks"),q={setConf:P,draw:D},U={parser:l,db:b,renderer:q,styles:v,init:(0,a.__name)(t=>{q.setConf(t.journey),b.clear()},"init")};t.s(["diagram",0,U])}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,257977,e=>{"use strict";var t=e.i(843476),s=e.i(271645),r=e.i(893976),n=e.i(610595),i=e.i(17616),a=e.i(188482),l=e.i(891287),o=e.i(587751),g=e.i(586108),d=e.i(583093),c=e.i(326283);function u(){let e=(0,g.useStigmer)(),[t,r]=(0,s.useState)(!1),[n,i]=(0,s.useState)(null),a=(0,s.useCallback)(()=>i(null),[]);return{deletePlatformClient:(0,s.useCallback)(async t=>{r(!0),i(null);try{return await e.platformclient.delete(t)}catch(e){throw i((0,c.toError)(e)),e}finally{r(!1)}},[e]),isDeleting:t,error:n,clearError:a}}var m=e.i(379410);function x({org:e,onEdit:i,onRefetchRef:a,className:c}){let{platformClients:u,isLoading:m,error:h,refetch:b}=function(e){let t=(0,g.useStigmer)(),{data:s,isLoading:r,isRefetching:n,error:i,refetch:a}=(0,d.useFetch)(e?()=>t.platformclient.listByOrg((0,l.create)(o.ListPlatformClientsByOrgInputSchema,{org:e})).then(e=>[...e.entries]):null,[e,t],[]);return{platformClients:s,isLoading:r,isRefetching:n,error:i,refetch:a}}(e),[f,v]=(0,s.useState)(null);return(a&&a(b),m)?(0,t.jsx)("div",{className:(0,r.cn)("stg:space-y-2",c),"aria-busy":"true","aria-label":"Loading platform clients",children:Array.from({length:2},(e,s)=>(0,t.jsx)("div",{className:"stg:bg-muted-subtle stg:h-14 stg:animate-pulse stg:rounded-lg"},s))}):h?(0,t.jsx)("p",{className:(0,r.cn)("stg:text-destructive stg:text-xs",c),role:"alert",children:(0,n.getUserMessage)(h)}):0===u.length?(0,t.jsx)("p",{className:(0,r.cn)("stg:text-muted-foreground stg:py-4 stg:text-center stg:text-xs",c),children:"No platform clients configured."}):(0,t.jsx)("div",{className:(0,r.cn)("stg:space-y-2",c),role:"list","aria-label":"Platform clients",children:u.map(e=>{let s=e.metadata?.id??"";return(0,t.jsx)(p,{platformClient:e,isConfirming:f===s,onEdit:i?()=>i(e):void 0,onConfirmDelete:()=>v(s),onCancelDelete:()=>v(null),onDeleted:()=>{v(null),b()}},s)})})}function p({platformClient:e,isConfirming:l,onEdit:o,onConfirmDelete:g,onCancelDelete:d,onDeleted:c}){let{deletePlatformClient:x,isDeleting:y,error:N}=u(),k=e.metadata?.id??"",C=e.spec,w=e.metadata?.name??"Unnamed client",S=C?.clientId??"",I=C?.secretFingerprint??"",D=e.status?.audit?.specAudit?.createdAt,A=(0,s.useCallback)(async()=>{try{await x({resourceId:k}),c()}catch{}},[k,x,c]);return l?(0,t.jsxs)("div",{role:"listitem",className:"stg:flex stg:items-center stg:justify-between stg:rounded-lg stg:border stg:border-destructive/30 stg:bg-destructive-subtle stg:px-3 stg:py-2.5",children:[(0,t.jsxs)("div",{className:"stg:min-w-0 stg:flex-1",children:[(0,t.jsxs)("p",{className:"stg:text-xs stg:text-foreground",children:["Delete ",(0,t.jsx)("span",{className:"stg:font-medium",children:w}),"?",S&&(0,t.jsxs)("span",{className:"stg:ml-1 stg:text-muted-foreground",children:["This will invalidate client ID"," ",(0,t.jsx)("code",{className:"stg:font-mono",children:S}),"."]})]}),N&&(0,t.jsx)("p",{className:"stg:mt-0.5 stg:text-[0.65rem] stg:text-destructive",children:(0,n.getUserMessage)(N)})]}),(0,t.jsxs)("div",{className:"stg:flex stg:shrink-0 stg:items-center stg:gap-1.5",children:[(0,t.jsxs)("button",{type:"button",onClick:A,disabled:y,className:(0,r.cn)("stg:inline-flex stg:items-center stg:gap-1 stg:rounded-md stg:px-2.5 stg:py-1 stg:text-xs stg:font-medium","stg:bg-destructive stg:text-destructive-foreground stg:hover:bg-destructive-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:[y&&(0,t.jsx)(m.SpinnerIcon,{size:12}),"Delete"]}),(0,t.jsx)("button",{type:"button",onClick:d,disabled:y,className:(0,r.cn)("stg:rounded-md stg:px-2.5 stg:py-1 stg:text-xs","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:"Cancel"})]})]}):(0,t.jsxs)("div",{role:"listitem",className:"stg:flex stg:items-center stg:gap-3 stg:rounded-lg stg:border stg:border-border-muted stg:px-3 stg:py-2.5 stg:hover:border-border stg:transition-colors",children:[(0,t.jsx)(f,{}),(0,t.jsxs)("div",{className:"stg:min-w-0 stg:flex-1",children:[(0,t.jsx)("span",{className:"stg:block stg:truncate stg:text-sm stg:font-medium stg:text-foreground",children:w}),S&&(0,t.jsx)("span",{className:"stg:block stg:truncate stg:text-xs stg:text-muted-foreground stg:font-mono",children:S})]}),(0,t.jsxs)("div",{className:"stg:hidden stg:sm:flex stg:shrink-0 stg:items-center stg:gap-3 stg:text-xs stg:text-muted-foreground",children:[I&&(0,t.jsxs)(a.Tooltip,{children:[(0,t.jsxs)(a.TooltipTrigger,{render:(0,t.jsx)("span",{className:"stg:font-mono"}),children:["••••",I.slice(-4)]}),(0,t.jsx)(a.TooltipContent,{side:"top",className:"stg:break-all",children:`Secret fingerprint: ${I}`})]}),(0,t.jsx)(h,{spec:C}),C?.autoProvisionAccounts&&(0,t.jsx)("span",{className:"stg:inline-flex stg:items-center stg:rounded-full stg:border stg:border-primary/30 stg:bg-primary-subtle stg:px-2 stg:py-0.5 stg:text-[0.65rem] stg:font-medium stg:text-primary",children:"JIT"}),D&&(0,t.jsxs)(a.Tooltip,{children:[(0,t.jsx)(a.TooltipTrigger,{render:(0,t.jsx)("time",{dateTime:(0,i.timestampDate)(D).toISOString()}),children:b((0,i.timestampDate)(D))}),(0,t.jsx)(a.TooltipContent,{side:"top",children:`Created ${(0,i.timestampDate)(D).toISOString()}`})]})]}),(0,t.jsxs)("div",{className:"stg:flex stg:shrink-0 stg:items-center stg:gap-1",children:[o&&(0,t.jsx)("button",{type:"button",onClick:o,"aria-label":`Edit ${w}`,className:(0,r.cn)("stg:shrink-0 stg:rounded stg:p-1","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:transition-colors"),children:(0,t.jsx)(v,{})}),(0,t.jsx)("button",{type:"button",onClick:g,"aria-label":`Delete ${w}`,className:(0,r.cn)("stg:shrink-0 stg:rounded stg:p-1","stg:text-muted-foreground stg:hover:text-destructive stg:hover:bg-destructive-subtle","stg:transition-colors"),children:(0,t.jsx)(j,{})})]})]})}function h({spec:e}){if(e?.neverExpires)return(0,t.jsx)("span",{className:"stg:text-[0.65rem] stg:text-muted-foreground",children:"No expiry"});if(e?.expiresAt){let s=(0,i.timestampDate)(e.expiresAt),n=s<new Date;return(0,t.jsxs)(a.Tooltip,{children:[(0,t.jsx)(a.TooltipTrigger,{render:(0,t.jsx)("time",{dateTime:s.toISOString(),className:(0,r.cn)("stg:text-[0.65rem]",n?"stg:text-destructive stg:font-medium":"stg:text-muted-foreground")}),children:n?"Expired":`Exp ${b(s)}`}),(0,t.jsx)(a.TooltipContent,{side:"top",children:`Expires ${s.toISOString()}`})]})}return null}function b(e){return e.toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"})}function f(){return(0,t.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",className:"stg:shrink-0 stg:text-muted-foreground",children:[(0,t.jsx)("circle",{cx:"10.5",cy:"5.5",r:"3"}),(0,t.jsx)("path",{d:"M8.5 7.5L3 13l-.5-2.5L5 10l1-1-1-1 3.5.5z"})]})}function v(){return(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M11 2.5l2.5 2.5L5 13.5H2.5V11L11 2.5z"})})}function j(){return(0,t.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M2.5 4h11M5.5 4V2.5a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1V4"}),(0,t.jsx)("path",{d:"M12.5 4v9a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V4"}),(0,t.jsx)("line",{x1:"6.5",y1:"7",x2:"6.5",y2:"11"}),(0,t.jsx)("line",{x1:"9.5",y1:"7",x2:"9.5",y2:"11"})]})}var y=e.i(869803),N=e.i(430182);function k({org:e,onCreated:i,onCancel:a,className:l}){let o=(0,s.useId)(),{create:d,isCreating:u,error:x,clearError:p}=function(){let e=(0,g.useStigmer)(),[t,r]=(0,s.useState)(!1),[n,i]=(0,s.useState)(null),a=(0,s.useCallback)(()=>i(null),[]);return{create:(0,s.useCallback)(async t=>{r(!0),i(null);try{return await e.platformclient.create(t)}catch(e){throw i((0,c.toError)(e)),e}finally{r(!1)}},[e]),isCreating:t,error:n,clearError:a}}(),[h,b]=(0,s.useState)(""),[f,v]=(0,s.useState)(!0),[j,D]=(0,s.useState)(""),[A,E]=(0,s.useState)(!0),[R,T]=(0,s.useState)(!0),[L,O]=(0,s.useState)(N.IamRole.iam_role_unspecified),[_,M]=(0,s.useState)([]),[$,B]=(0,s.useState)(""),F=(0,s.useCallback)(e=>{E(e),e||(T(!1),O(N.IamRole.iam_role_unspecified))},[]),P=(0,s.useCallback)(e=>{T(e),e&&E(!0),e||O(N.IamRole.iam_role_unspecified)},[]),U=(0,s.useCallback)(()=>{let e=$.trim();e&&!_.includes(e)&&M(t=>[...t,e]),B("")},[$,_]),z=(0,s.useCallback)(e=>{"Enter"===e.key&&(e.preventDefault(),U())},[U]),G=(0,s.useCallback)(e=>{M(t=>t.filter(t=>t!==e))},[]),V=h.trim(),W=""!==V&&!u,Y=(0,s.useCallback)(async t=>{if(t.preventDefault(),W){p();try{let t=await d({name:V,org:e,neverExpires:f,...!f&&j&&{expiresAt:new Date(j).toISOString()},autoProvisionAccounts:A,autoGrantOnOrg:R,...R&&L!==N.IamRole.iam_role_unspecified&&{autoGrantRole:L},..._.length>0&&{allowedOrigins:_}});i?.(t)}catch{}}},[W,V,e,f,j,A,R,L,_,d,p,i]);return(0,t.jsxs)("form",{onSubmit:Y,className:(0,r.cn)("stg:space-y-3",l),children:[(0,t.jsx)(w,{id:`${o}-name`,label:"Name",value:h,onChange:b,placeholder:"e.g. my-saas-backend",disabled:u,required:!0}),(0,t.jsxs)("fieldset",{className:(0,r.cn)(y.UNSTYLED_FIELDSET,"stg:space-y-2"),disabled:u,children:[(0,t.jsx)("legend",{className:"stg:text-xs stg:font-medium stg:text-foreground",children:"Expiry"}),(0,t.jsx)(S,{checked:f,onChange:v,label:"Never expires",disabled:u}),!f&&(0,t.jsxs)("div",{className:"stg:space-y-1",children:[(0,t.jsx)("label",{htmlFor:`${o}-expires-at`,className:"stg:text-xs stg:font-medium stg:text-foreground",children:"Expires at"}),(0,t.jsx)("input",{id:`${o}-expires-at`,type:"datetime-local",value:j,onChange:e=>D(e.target.value),disabled:u,className:(0,r.cn)("stg:w-full stg:rounded-md stg:border stg:border-input stg:bg-background stg:px-2.5 stg:py-1.5 stg:text-xs stg:text-foreground","stg:focus-visible:outline-none stg:focus-visible:ring-1 stg:focus-visible:ring-ring","stg:disabled:pointer-events-none stg:disabled:opacity-50")})]})]}),(0,t.jsxs)("fieldset",{className:(0,r.cn)(y.UNSTYLED_FIELDSET,"stg:space-y-2.5"),disabled:u,children:[(0,t.jsx)("hr",{className:"stg:border-border-muted"}),(0,t.jsx)("legend",{className:"stg:text-xs stg:font-medium stg:text-foreground",children:"JIT provisioning"}),(0,t.jsx)("p",{className:"stg:text-[0.65rem] stg:text-muted-foreground",children:"Configure automatic account creation and role assignment for users authenticated via this platform client."}),(0,t.jsx)(S,{checked:A,onChange:F,label:"Auto-provision accounts",hint:"Create a Stigmer identity account automatically on first token mint",disabled:u}),(0,t.jsx)(S,{checked:R,onChange:P,label:"Auto-grant on organization",hint:"Grant a role on the owning organization when an account is provisioned",disabled:u||!A}),R&&(0,t.jsxs)("div",{className:"stg:space-y-1",children:[(0,t.jsx)("label",{htmlFor:`${o}-grant-role`,className:"stg:text-xs stg:font-medium stg:text-foreground",children:"Auto-grant role"}),(0,t.jsx)("select",{id:`${o}-grant-role`,value:String(L),onChange:e=>O(Number(e.target.value)),disabled:u,className:(0,r.cn)("stg:w-full stg:rounded-md stg:border stg:border-input stg:bg-background stg:px-2.5 stg:py-1.5 stg:text-xs stg:text-foreground","stg:focus-visible:outline-none stg:focus-visible:ring-1 stg:focus-visible:ring-ring","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:C.map(e=>(0,t.jsx)("option",{value:e.value,children:e.label},e.value))}),(0,t.jsx)("p",{className:"stg:text-[0.65rem] stg:text-muted-foreground",children:"Role granted automatically — org admins can upgrade later"})]})]}),(0,t.jsxs)("fieldset",{className:(0,r.cn)(y.UNSTYLED_FIELDSET,"stg:space-y-2"),disabled:u,children:[(0,t.jsx)("hr",{className:"stg:border-border-muted"}),(0,t.jsx)("legend",{className:"stg:text-xs stg:font-medium stg:text-foreground",children:"Allowed origins"}),(0,t.jsx)("p",{className:"stg:text-[0.65rem] stg:text-muted-foreground",children:"Browser origins permitted to use tokens minted by this client. Leave empty to allow all origins."}),(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2",children:[(0,t.jsx)("input",{type:"text",value:$,onChange:e=>B(e.target.value),onKeyDown:z,onBlur:()=>{$.trim()&&U()},placeholder:"https://example.com",disabled:u,className:(0,r.cn)("stg:min-w-0 stg:flex-1 stg:rounded-md stg:border stg:border-input stg:bg-background stg:px-2.5 stg:py-1.5 stg:text-xs stg:text-foreground","stg:placeholder:text-muted-foreground","stg:focus-visible:outline-none stg:focus-visible:ring-1 stg:focus-visible:ring-ring","stg:disabled:pointer-events-none stg:disabled:opacity-50")}),(0,t.jsx)("button",{type:"button",onClick:U,disabled:u||!$.trim(),className:(0,r.cn)("stg:shrink-0 stg:rounded-md stg:px-2.5 stg:py-1.5 stg:text-xs stg:font-medium","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50","stg:transition-colors"),children:"Add"})]}),_.length>0&&(0,t.jsx)("div",{className:"stg:flex stg:flex-wrap stg:gap-1.5",children:_.map(e=>(0,t.jsxs)("span",{className:"stg:inline-flex stg:items-center stg:gap-1 stg:rounded-full stg:border stg:border-border-muted stg:bg-muted-subtle stg:px-2 stg:py-0.5 stg:text-[0.65rem] stg:font-mono stg:text-foreground",children:[e,(0,t.jsx)("button",{type:"button",onClick:()=>G(e),disabled:u,"aria-label":`Remove ${e}`,className:"stg:text-muted-foreground stg:hover:text-destructive stg:transition-colors",children:(0,t.jsx)(I,{})})]},e))})]}),x&&(0,t.jsx)("p",{className:"stg:text-destructive stg:text-[0.65rem]",role:"alert",children:(0,n.getUserMessage)(x)}),(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2 stg:pt-1",children:[(0,t.jsxs)("button",{type:"submit",disabled:!W,className:(0,r.cn)("stg:inline-flex stg:items-center stg:gap-1.5 stg:rounded-md stg:px-3 stg:py-1.5 stg:text-xs stg:font-medium","stg:bg-primary stg:text-primary-foreground stg:hover:bg-primary-hover","stg:disabled:pointer-events-none stg:disabled:opacity-40"),children:[u&&(0,t.jsx)(m.SpinnerIcon,{size:12}),"Create platform client"]}),a&&(0,t.jsx)("button",{type:"button",onClick:a,disabled:u,className:(0,r.cn)("stg:rounded-md stg:px-3 stg:py-1.5 stg:text-xs","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:"Cancel"})]})]})}let C=[{value:String(N.IamRole.iam_role_unspecified),label:"Default (viewer)"},{value:String(N.IamRole.viewer),label:"Viewer"},{value:String(N.IamRole.member),label:"Member"},{value:String(N.IamRole.admin),label:"Admin"}];function w({id:e,label:s,value:n,onChange:i,placeholder:a,hint:l,disabled:o,required:g}){return(0,t.jsxs)("div",{className:"stg:space-y-1",children:[(0,t.jsx)("label",{htmlFor:e,className:"stg:text-xs stg:font-medium stg:text-foreground",children:s}),(0,t.jsx)("input",{id:e,type:"text",value:n,onChange:e=>i(e.target.value),placeholder:a,disabled:o,required:g,className:(0,r.cn)("stg:w-full stg:rounded-md stg:border stg:border-input stg:bg-background stg:px-2.5 stg:py-1.5 stg:text-xs stg:text-foreground","stg:placeholder:text-muted-foreground","stg:focus-visible:outline-none stg:focus-visible:ring-1 stg:focus-visible:ring-ring","stg:disabled:pointer-events-none stg:disabled:opacity-50")}),l&&(0,t.jsx)("p",{className:"stg:text-[0.65rem] stg:text-muted-foreground",children:l})]})}function S({checked:e,onChange:s,label:n,hint:i,disabled:a}){return(0,t.jsxs)("div",{className:"stg:space-y-0.5",children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2",children:[(0,t.jsx)("button",{type:"button",role:"switch","aria-checked":e,onClick:()=>s(!e),disabled:a,className:(0,r.cn)("stg:relative stg:inline-flex stg:h-5 stg:w-9 stg:shrink-0 stg:cursor-pointer stg:rounded-full stg:border-2 stg:border-transparent stg:transition-colors",e?"stg:bg-primary":"stg:bg-muted","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:(0,t.jsx)("span",{className:(0,r.cn)("stg:pointer-events-none stg:inline-block stg:h-4 stg:w-4 stg:rounded-full stg:bg-background stg:shadow-sm stg:ring-0 stg:transition-transform",e?"stg:translate-x-4":"stg:translate-x-0")})}),(0,t.jsx)("span",{className:"stg:text-xs stg:font-medium stg:text-foreground",children:n})]}),i&&(0,t.jsx)("p",{className:"stg:pl-11 stg:text-[0.65rem] stg:text-muted-foreground",children:i})]})}function I(){return(0,t.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M4 4l8 8M12 4l-8 8"})})}var D=e.i(546839);function A({platformClient:e,onUpdated:a,onSecretRotated:l,onDeleted:o,onBack:d,className:x}){let p=(0,s.useId)(),h=e.spec,b=e.metadata,{update:f,isUpdating:v,error:j,clearError:k}=function(){let e=(0,g.useStigmer)(),[t,r]=(0,s.useState)(!1),[n,i]=(0,s.useState)(null),a=(0,s.useCallback)(()=>i(null),[]);return{update:(0,s.useCallback)(async t=>{r(!0),i(null);try{return await e.platformclient.update(t)}catch(e){throw i((0,c.toError)(e)),e}finally{r(!1)}},[e]),isUpdating:t,error:n,clearError:a}}(),{rotateSecret:C,isRotating:w,error:S,clearError:I}=function(){let e=(0,g.useStigmer)(),[t,r]=(0,s.useState)(!1),[n,i]=(0,s.useState)(null),a=(0,s.useCallback)(()=>i(null),[]);return{rotateSecret:(0,s.useCallback)(async t=>{r(!0),i(null);try{return await e.platformclient.rotateSecret(t)}catch(e){throw i((0,c.toError)(e)),e}finally{r(!1)}},[e]),isRotating:t,error:n,clearError:a}}(),{deletePlatformClient:R,isDeleting:O,error:B}=u(),[F,P]=(0,s.useState)("view"),[U,z]=(0,s.useState)(!1),[G,V]=(0,s.useState)(!1),W=v||w||O,[Y,K]=(0,s.useState)(h?.neverExpires??!0),[q,J]=(0,s.useState)(()=>h?.expiresAt?_((0,i.timestampDate)(h.expiresAt)):""),[H,Q]=(0,s.useState)(h?.autoProvisionAccounts??!1),[X,Z]=(0,s.useState)(h?.autoGrantOnOrg??!1),[ee,et]=(0,s.useState)(h?.autoGrantRole??N.IamRole.iam_role_unspecified),[es,er]=(0,s.useState)([...h?.allowedOrigins??[]]),[en,ei]=(0,s.useState)(""),ea=(0,s.useCallback)(e=>{Q(e),e||(Z(!1),et(N.IamRole.iam_role_unspecified))},[]),el=(0,s.useCallback)(e=>{Z(e),e&&Q(!0),e||et(N.IamRole.iam_role_unspecified)},[]),eo=(0,s.useCallback)(()=>{let e=en.trim();e&&!es.includes(e)&&er(t=>[...t,e]),ei("")},[en,es]),eg=(0,s.useCallback)(e=>{"Enter"===e.key&&(e.preventDefault(),eo())},[eo]),ed=(0,s.useCallback)(e=>{er(t=>t.filter(t=>t!==e))},[]),ec=(0,s.useCallback)(()=>{K(h?.neverExpires??!0),J(h?.expiresAt?_((0,i.timestampDate)(h.expiresAt)):""),Q(h?.autoProvisionAccounts??!1),Z(h?.autoGrantOnOrg??!1),et(h?.autoGrantRole??N.IamRole.iam_role_unspecified),er([...h?.allowedOrigins??[]]),ei(""),k(),P("edit")},[h,k]),eu=(0,s.useCallback)(()=>{k(),P("view")},[k]),em=(0,s.useCallback)(async t=>{t.preventDefault(),k();try{let t=await f({...(0,D.toPlatformClientUpdateInput)(e),neverExpires:Y,expiresAt:!Y&&q?new Date(q):void 0,autoProvisionAccounts:H,autoGrantOnOrg:X,autoGrantRole:X&&ee!==N.IamRole.iam_role_unspecified?ee:void 0,allowedOrigins:es});P("view"),a?.(t)}catch{}},[e,Y,q,H,X,ee,es,f,k,a]),ex=(0,s.useCallback)(async()=>{I();try{let e=await C(b?.id??"");V(!1),l?.(e)}catch{}},[b?.id,C,I,l]),ep=(0,s.useCallback)(async()=>{try{await R({resourceId:b?.id??""}),o?.()}catch{}},[b?.id,R,o]),eh=e.status?.audit?.specAudit?.createdAt,eb=e.status?.audit?.specAudit?.updatedAt;return(0,t.jsxs)("div",{className:(0,r.cn)("stg:space-y-4",x),children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-start stg:justify-between stg:gap-3",children:[(0,t.jsxs)("div",{className:"stg:min-w-0",children:[d&&(0,t.jsxs)("button",{type:"button",onClick:d,className:"stg:text-muted-foreground stg:hover:text-foreground stg:mb-1 stg:flex stg:items-center stg:gap-1 stg:text-xs stg:transition-colors",children:[(0,t.jsx)($,{}),"Back to list"]}),(0,t.jsx)("h3",{className:"stg:text-foreground stg:truncate stg:text-sm stg:font-semibold",children:b?.name??"Platform Client"}),(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2",children:[b?.slug&&(0,t.jsx)("span",{className:"stg:text-muted-foreground stg:font-mono stg:text-xs",children:b.slug}),h?.autoProvisionAccounts&&(0,t.jsx)("span",{className:"stg:inline-flex stg:items-center stg:rounded-full stg:border stg:border-primary/30 stg:bg-primary-subtle stg:px-2 stg:py-0.5 stg:text-[0.65rem] stg:font-medium stg:text-primary",children:"JIT"})]})]}),"view"===F&&(0,t.jsx)("button",{type:"button",onClick:ec,className:(0,r.cn)("stg:shrink-0 stg:rounded-md stg:px-2.5 stg:py-1.5 stg:text-xs stg:font-medium","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:transition-colors"),children:"Edit"})]}),"view"===F?(0,t.jsx)(E,{spec:h,createdAt:eh,updatedAt:eb}):(0,t.jsxs)("form",{onSubmit:em,className:"stg:space-y-3",children:[(0,t.jsxs)("div",{className:"stg:rounded-md stg:border stg:border-border-muted stg:bg-muted-faint stg:px-3 stg:py-2 stg:space-y-1",children:[(0,t.jsx)("p",{className:"stg:text-[0.65rem] stg:font-medium stg:text-muted-foreground",children:"Client ID"}),(0,t.jsx)("p",{className:"stg:font-mono stg:text-xs stg:text-foreground",children:h?.clientId??"—"})]}),(0,t.jsxs)("fieldset",{className:(0,r.cn)(y.UNSTYLED_FIELDSET,"stg:space-y-2"),disabled:v,children:[(0,t.jsx)("legend",{className:"stg:text-xs stg:font-medium stg:text-foreground",children:"Expiry"}),(0,t.jsx)(T,{checked:Y,onChange:K,label:"Never expires",disabled:v}),!Y&&(0,t.jsxs)("div",{className:"stg:space-y-1",children:[(0,t.jsx)("label",{htmlFor:`${p}-expires-at`,className:"stg:text-xs stg:font-medium stg:text-foreground",children:"Expires at"}),(0,t.jsx)("input",{id:`${p}-expires-at`,type:"datetime-local",value:q,onChange:e=>J(e.target.value),disabled:v,className:(0,r.cn)("stg:w-full stg:rounded-md stg:border stg:border-input stg:bg-background stg:px-2.5 stg:py-1.5 stg:text-xs stg:text-foreground","stg:focus-visible:outline-none stg:focus-visible:ring-1 stg:focus-visible:ring-ring","stg:disabled:pointer-events-none stg:disabled:opacity-50")})]})]}),(0,t.jsxs)("fieldset",{className:(0,r.cn)(y.UNSTYLED_FIELDSET,"stg:space-y-2.5"),disabled:v,children:[(0,t.jsx)("hr",{className:"stg:border-border-muted"}),(0,t.jsx)("legend",{className:"stg:text-xs stg:font-medium stg:text-foreground",children:"JIT provisioning"}),(0,t.jsx)(T,{checked:H,onChange:ea,label:"Auto-provision accounts",hint:"Create a Stigmer identity account automatically on first token mint",disabled:v}),(0,t.jsx)(T,{checked:X,onChange:el,label:"Auto-grant on organization",hint:"Grant a role on the owning organization when an account is provisioned",disabled:v||!H}),X&&(0,t.jsxs)("div",{className:"stg:space-y-1",children:[(0,t.jsx)("label",{htmlFor:`${p}-grant-role`,className:"stg:text-xs stg:font-medium stg:text-foreground",children:"Auto-grant role"}),(0,t.jsx)("select",{id:`${p}-grant-role`,value:String(ee),onChange:e=>et(Number(e.target.value)),disabled:v,className:(0,r.cn)("stg:w-full stg:rounded-md stg:border stg:border-input stg:bg-background stg:px-2.5 stg:py-1.5 stg:text-xs stg:text-foreground","stg:focus-visible:outline-none stg:focus-visible:ring-1 stg:focus-visible:ring-ring","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:L.map(e=>(0,t.jsx)("option",{value:e.value,children:e.label},e.value))})]})]}),(0,t.jsxs)("fieldset",{className:(0,r.cn)(y.UNSTYLED_FIELDSET,"stg:space-y-2"),disabled:v,children:[(0,t.jsx)("hr",{className:"stg:border-border-muted"}),(0,t.jsx)("legend",{className:"stg:text-xs stg:font-medium stg:text-foreground",children:"Allowed origins"}),(0,t.jsx)("p",{className:"stg:text-[0.65rem] stg:text-muted-foreground",children:"Browser origins permitted to use tokens minted by this client. Leave empty to allow all origins."}),(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2",children:[(0,t.jsx)("input",{type:"text",value:en,onChange:e=>ei(e.target.value),onKeyDown:eg,onBlur:()=>{en.trim()&&eo()},placeholder:"https://example.com",disabled:v,className:(0,r.cn)("stg:min-w-0 stg:flex-1 stg:rounded-md stg:border stg:border-input stg:bg-background stg:px-2.5 stg:py-1.5 stg:text-xs stg:text-foreground","stg:placeholder:text-muted-foreground","stg:focus-visible:outline-none stg:focus-visible:ring-1 stg:focus-visible:ring-ring","stg:disabled:pointer-events-none stg:disabled:opacity-50")}),(0,t.jsx)("button",{type:"button",onClick:eo,disabled:v||!en.trim(),className:(0,r.cn)("stg:shrink-0 stg:rounded-md stg:px-2.5 stg:py-1.5 stg:text-xs stg:font-medium","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50","stg:transition-colors"),children:"Add"})]}),es.length>0&&(0,t.jsx)("div",{className:"stg:flex stg:flex-wrap stg:gap-1.5",children:es.map(e=>(0,t.jsxs)("span",{className:"stg:inline-flex stg:items-center stg:gap-1 stg:rounded-full stg:border stg:border-border-muted stg:bg-muted-subtle stg:px-2 stg:py-0.5 stg:text-[0.65rem] stg:font-mono stg:text-foreground",children:[e,(0,t.jsx)("button",{type:"button",onClick:()=>ed(e),disabled:v,"aria-label":`Remove ${e}`,className:"stg:text-muted-foreground stg:hover:text-destructive stg:transition-colors",children:(0,t.jsx)(M,{})})]},e))})]}),j&&(0,t.jsx)("p",{className:"stg:text-destructive stg:text-[0.65rem]",role:"alert",children:(0,n.getUserMessage)(j)}),(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2 stg:pt-1",children:[(0,t.jsxs)("button",{type:"submit",disabled:v,className:(0,r.cn)("stg:inline-flex stg:items-center stg:gap-1.5 stg:rounded-md stg:px-3 stg:py-1.5 stg:text-xs stg:font-medium","stg:bg-primary stg:text-primary-foreground stg:hover:bg-primary-hover","stg:disabled:pointer-events-none stg:disabled:opacity-40"),children:[v&&(0,t.jsx)(m.SpinnerIcon,{size:12}),"Save changes"]}),(0,t.jsx)("button",{type:"button",onClick:eu,disabled:v,className:(0,r.cn)("stg:rounded-md stg:px-2.5 stg:py-1.5 stg:text-xs","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:"Cancel"})]})]}),"view"===F&&(0,t.jsxs)("div",{className:"stg:space-y-2 stg:pt-2",children:[(0,t.jsx)("hr",{className:"stg:border-border-muted"}),G?(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:justify-between stg:rounded-md stg:border stg:border-warning/30 stg:bg-warning/5 stg:px-3 stg:py-2",children:[(0,t.jsxs)("p",{className:"stg:text-xs stg:text-foreground",children:["Rotate secret? The current secret will be",(0,t.jsx)("span",{className:"stg:font-medium",children:" permanently invalidated"}),"."]}),(0,t.jsxs)("div",{className:"stg:flex stg:shrink-0 stg:items-center stg:gap-1.5",children:[(0,t.jsxs)("button",{type:"button",onClick:ex,disabled:W,className:(0,r.cn)("stg:inline-flex stg:items-center stg:gap-1 stg:rounded-md stg:px-2.5 stg:py-1 stg:text-xs stg:font-medium","stg:bg-primary stg:text-primary-foreground stg:hover:bg-primary-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:[w&&(0,t.jsx)(m.SpinnerIcon,{size:12}),"Rotate"]}),(0,t.jsx)("button",{type:"button",onClick:()=>{V(!1),I()},disabled:W,className:(0,r.cn)("stg:rounded-md stg:px-2.5 stg:py-1 stg:text-xs","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:"Cancel"})]})]}):(0,t.jsx)("button",{type:"button",onClick:()=>V(!0),disabled:W,className:(0,r.cn)("stg:rounded-md stg:px-2.5 stg:py-1.5 stg:text-xs stg:font-medium","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50","stg:transition-colors"),children:"Rotate secret"}),S&&(0,t.jsx)("p",{className:"stg:text-destructive stg:text-[0.65rem]",role:"alert",children:(0,n.getUserMessage)(S)}),U?(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:justify-between stg:rounded-md stg:border stg:border-destructive/30 stg:bg-destructive-subtle stg:px-3 stg:py-2",children:[(0,t.jsxs)("div",{className:"stg:min-w-0 stg:flex-1",children:[(0,t.jsxs)("p",{className:"stg:text-xs stg:text-foreground",children:["Delete"," ",(0,t.jsx)("span",{className:"stg:font-medium",children:b?.name}),"? This action is permanent."]}),B&&(0,t.jsx)("p",{className:"stg:mt-0.5 stg:text-[0.65rem] stg:text-destructive",children:(0,n.getUserMessage)(B)})]}),(0,t.jsxs)("div",{className:"stg:flex stg:shrink-0 stg:items-center stg:gap-1.5",children:[(0,t.jsxs)("button",{type:"button",onClick:ep,disabled:W,className:(0,r.cn)("stg:inline-flex stg:items-center stg:gap-1 stg:rounded-md stg:px-2.5 stg:py-1 stg:text-xs stg:font-medium","stg:bg-destructive stg:text-destructive-foreground stg:hover:bg-destructive-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:[O&&(0,t.jsx)(m.SpinnerIcon,{size:12}),"Delete"]}),(0,t.jsx)("button",{type:"button",onClick:()=>z(!1),disabled:W,className:(0,r.cn)("stg:rounded-md stg:px-2.5 stg:py-1 stg:text-xs","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:"Cancel"})]})]}):(0,t.jsx)("button",{type:"button",onClick:()=>z(!0),disabled:W,className:(0,r.cn)("stg:rounded-md stg:px-2.5 stg:py-1.5 stg:text-xs stg:font-medium","stg:text-destructive stg:hover:text-destructive-foreground stg:hover:bg-destructive-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50","stg:transition-colors"),children:"Delete platform client"})]})]})}function E({spec:e,createdAt:s,updatedAt:r}){return(0,t.jsxs)("dl",{className:"stg:space-y-2.5",children:[(0,t.jsx)(R,{label:"Client ID",value:e?.clientId,mono:!0}),(0,t.jsx)(R,{label:"Secret fingerprint",value:e?.secretFingerprint?`••••${e.secretFingerprint.slice(-4)}`:void 0,mono:!0}),e?.neverExpires?(0,t.jsx)(R,{label:"Expiry",value:"Never expires"}):e?.expiresAt?(0,t.jsx)(R,{label:"Expires",value:O((0,i.timestampDate)(e.expiresAt))}):null,(0,t.jsx)("hr",{className:"stg:border-border-muted"}),(0,t.jsx)(R,{label:"Auto-provision accounts",value:e?.autoProvisionAccounts?"Enabled":"Disabled"}),(0,t.jsx)(R,{label:"Auto-grant on organization",value:e?.autoGrantOnOrg?"Enabled":"Disabled"}),e?.autoGrantOnOrg&&(0,t.jsx)(R,{label:"Auto-grant role",value:function(e){switch(e){case N.IamRole.viewer:return"Viewer";case N.IamRole.member:return"Member";case N.IamRole.admin:return"Admin";case N.IamRole.owner:return"Owner";default:return"Viewer (default)"}}(e.autoGrantRole)}),(e?.allowedOrigins.length??0)>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("hr",{className:"stg:border-border-muted"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"stg:text-muted-foreground stg:text-[0.65rem] stg:font-medium",children:"Allowed origins"}),(0,t.jsx)("dd",{className:"stg:mt-0.5 stg:flex stg:flex-wrap stg:gap-1.5",children:e.allowedOrigins.map(e=>(0,t.jsx)("span",{className:"stg:inline-block stg:rounded-full stg:border stg:border-border-muted stg:bg-muted-subtle stg:px-2 stg:py-0.5 stg:text-[0.65rem] stg:font-mono stg:text-foreground",children:e},e))})]})]}),(0,t.jsxs)("div",{className:"stg:flex stg:gap-6",children:[s&&(0,t.jsx)(R,{label:"Created",value:O((0,i.timestampDate)(s))}),r&&(0,t.jsx)(R,{label:"Updated",value:O((0,i.timestampDate)(r))})]})]})}function R({label:e,value:s,mono:n}){return s?(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"stg:text-muted-foreground stg:text-[0.65rem] stg:font-medium",children:e}),(0,t.jsx)("dd",{className:(0,r.cn)("stg:text-foreground stg:mt-0.5 stg:break-all stg:text-xs",n&&"stg:font-mono"),children:s})]}):null}function T({checked:e,onChange:s,label:n,hint:i,disabled:a}){return(0,t.jsxs)("div",{className:"stg:space-y-0.5",children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2",children:[(0,t.jsx)("button",{type:"button",role:"switch","aria-checked":e,onClick:()=>s(!e),disabled:a,className:(0,r.cn)("stg:relative stg:inline-flex stg:h-5 stg:w-9 stg:shrink-0 stg:cursor-pointer stg:rounded-full stg:border-2 stg:border-transparent stg:transition-colors",e?"stg:bg-primary":"stg:bg-muted","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:(0,t.jsx)("span",{className:(0,r.cn)("stg:pointer-events-none stg:inline-block stg:h-4 stg:w-4 stg:rounded-full stg:bg-background stg:shadow-sm stg:ring-0 stg:transition-transform",e?"stg:translate-x-4":"stg:translate-x-0")})}),(0,t.jsx)("span",{className:"stg:text-xs stg:font-medium stg:text-foreground",children:n})]}),i&&(0,t.jsx)("p",{className:"stg:pl-11 stg:text-[0.65rem] stg:text-muted-foreground",children:i})]})}let L=[{value:String(N.IamRole.iam_role_unspecified),label:"Default (viewer)"},{value:String(N.IamRole.viewer),label:"Viewer"},{value:String(N.IamRole.member),label:"Member"},{value:String(N.IamRole.admin),label:"Admin"}];function O(e){return e.toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"})}function _(e){let t=e=>String(e).padStart(2,"0");return`${e.getFullYear()}-${t(e.getMonth()+1)}-${t(e.getDate())}T${t(e.getHours())}:${t(e.getMinutes())}`}function M(){return(0,t.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M4 4l8 8M12 4l-8 8"})})}function $(){return(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M10 3L5 8l5 5"})})}var B=e.i(162697),F=e.i(193799);function P({clientId:e,clientSecret:s,context:n,onDismiss:i,className:a}){return(0,t.jsxs)("div",{role:"alert",className:(0,r.cn)("stg:rounded-lg stg:border stg:border-primary/30 stg:bg-primary-subtle stg:p-4",a),children:[(0,t.jsxs)("div",{className:"stg:mb-3 stg:flex stg:items-start stg:justify-between stg:gap-3",children:[(0,t.jsxs)("div",{className:"stg:min-w-0",children:[(0,t.jsx)("p",{className:"stg:text-sm stg:font-medium stg:text-foreground",children:"created"===n?"Platform client created":"Client secret rotated"}),(0,t.jsx)("p",{className:"stg:mt-0.5 stg:text-xs stg:text-muted-foreground",children:"Copy the client secret now. It will not be shown again."})]}),(0,t.jsx)("button",{type:"button",onClick:i,"aria-label":"Dismiss",className:(0,r.cn)("stg:shrink-0 stg:rounded stg:p-1","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:transition-colors"),children:(0,t.jsx)(V,{})})]}),(0,t.jsxs)("div",{className:"stg:space-y-2",children:[(0,t.jsx)(U,{label:"Client ID",value:e}),(0,t.jsx)(U,{label:"Client secret",value:s})]})]})}function U({label:e,value:n}){let{copy:i,copied:a}=(0,F.useCopyFeedback)(),l=(0,s.useRef)(null),o=(0,s.useCallback)(async()=>{!await i(n)&&l.current&&(0,B.selectElementText)(l.current)},[i,n]);return(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"stg:text-[0.65rem] stg:font-medium stg:text-muted-foreground",children:e}),(0,t.jsxs)("div",{className:"stg:mt-0.5 stg:flex stg:items-center stg:gap-2",children:[(0,t.jsx)("code",{ref:l,className:(0,r.cn)("stg:min-w-0 stg:flex-1 stg:select-all stg:truncate stg:rounded-md","stg:border stg:border-input stg:bg-background stg:px-2.5 stg:py-1.5","stg:font-mono stg:text-xs stg:text-foreground"),children:n}),(0,t.jsxs)("button",{type:"button",onClick:()=>void o(),"aria-label":`Copy ${e}`,className:(0,r.cn)("stg:inline-flex stg:shrink-0 stg:items-center stg:gap-1.5 stg:rounded-md stg:px-3 stg:py-1.5 stg:text-xs stg:font-medium","stg:bg-primary stg:text-primary-foreground stg:hover:bg-primary-hover","stg:transition-colors"),children:[a?(0,t.jsx)(G,{}):(0,t.jsx)(z,{}),a?"Copied":"Copy"]})]}),(0,t.jsx)("div",{role:"status","aria-live":"polite","aria-atomic":"true",className:"stg:sr-only",children:a&&`${e} copied to clipboard`})]})}function z(){return(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"5",y:"5",width:"9",height:"9",rx:"1.5"}),(0,t.jsx)("path",{d:"M5 11H3.5A1.5 1.5 0 0 1 2 9.5V3.5A1.5 1.5 0 0 1 3.5 2h6A1.5 1.5 0 0 1 11 3.5V5"})]})}function G(){return(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M3 8.5l3.5 3.5L13 5"})})}function V(){return(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M4 4l8 8M12 4l-8 8"})})}var W=e.i(597744),Y=e.i(170255),K=e.i(630983),q=e.i(297629);e.s(["PlatformClientsSection",0,function(){let e=(0,s.useId)(),r=(0,q.useActiveOrgSlug)(),n=(0,W.useResourceAvailable)(Y.ApiResourceKind.platform_client),[i,a]=(0,s.useState)({phase:"idle"}),l=(0,s.useRef)(null),o=(0,s.useCallback)(e=>{l.current=e},[]),g=(0,s.useCallback)(e=>{l.current?.(),a({phase:"revealing",clientId:e.platformClient?.spec?.clientId??"",clientSecret:e.clientSecret,context:"created"})},[]),d=(0,s.useCallback)(e=>{l.current?.(),a({phase:"revealing",clientId:e.platformClient?.spec?.clientId??"",clientSecret:e.clientSecret,context:"rotated"})},[]),c=(0,s.useCallback)(()=>{l.current?.(),a({phase:"idle"})},[]),u=(0,s.useCallback)(()=>{l.current?.(),a({phase:"idle"})},[]);return(0,t.jsxs)("section",{"aria-labelledby":e,children:[(0,t.jsxs)("div",{className:"stg:mb-3 stg:flex stg:items-center stg:justify-between",children:[(0,t.jsx)("h2",{id:e,className:"stg:text-foreground stg:text-sm stg:font-semibold",children:"Platform Clients"}),n&&r&&"idle"===i.phase&&(0,t.jsx)("button",{type:"button",onClick:()=>a({phase:"creating"}),className:"stg:text-primary stg:hover:text-foreground stg:text-xs stg:font-medium stg:transition-colors",children:"+ New platform client"})]}),(0,t.jsx)("p",{className:"stg:text-muted-foreground stg:mb-4 stg:text-xs",children:"Platform clients let your backend mint Stigmer user tokens so you can embed Stigmer components in your application without requiring OIDC federation."}),n?"creating"===i.phase?(0,t.jsx)("div",{className:"stg:border-border stg:bg-card stg:rounded-lg stg:border stg:p-4",children:(0,t.jsx)(k,{org:r,onCreated:g,onCancel:()=>a({phase:"idle"})})}):"revealing"===i.phase?(0,t.jsxs)("div",{className:"stg:space-y-4",children:[(0,t.jsx)(P,{clientId:i.clientId,clientSecret:i.clientSecret,context:i.context,onDismiss:()=>a({phase:"idle"})}),(0,t.jsx)(x,{org:r,onEdit:e=>a({phase:"editing",platformClient:e}),onRefetchRef:o})]}):"editing"===i.phase?(0,t.jsx)("div",{className:"stg:border-border stg:bg-card stg:rounded-lg stg:border stg:p-4",children:(0,t.jsx)(A,{platformClient:i.platformClient,onUpdated:c,onSecretRotated:d,onDeleted:u,onBack:()=>a({phase:"idle"})})}):(0,t.jsx)(x,{org:r,onEdit:e=>a({phase:"editing",platformClient:e}),onRefetchRef:o}):(0,t.jsx)(K.CloudFeatureNotice,{children:"Platform clients are not available in local mode. Token minting requires Stigmer Cloud."})]})}],257977)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,621501,t=>{"use strict";var e=t.i(908381),a=t.i(171206),r=t.i(139941);t.i(947716);var s=t.i(723685),l=(0,a.__name)((t,e)=>{let a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),e.name&&a.attr("name",e.name),e.rx&&a.attr("rx",e.rx),e.ry&&a.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)a.attr(t,e.attrs[t]);return e.class&&a.attr("class",e.class),a},"drawRect"),i=(0,a.__name)((t,e)=>{l(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"),n=(0,a.__name)((t,a)=>{let r=a.text.replace(e.lineBreakRegex," "),s=t.append("text");s.attr("x",a.x),s.attr("y",a.y),s.attr("class","legend"),s.style("text-anchor",a.anchor),a.class&&s.attr("class",a.class);let l=s.append("tspan");return l.attr("x",a.x+2*a.textMargin),l.text(r),s},"drawText"),d=(0,a.__name)((t,e,a,s)=>{let l=t.append("image");l.attr("x",e),l.attr("y",a);let i=(0,r.sanitizeUrl)(s);l.attr("xlink:href",i)},"drawImage"),o=(0,a.__name)((t,e,a,s)=>{let l=t.append("use");l.attr("x",e),l.attr("y",a);let i=(0,r.sanitizeUrl)(s);l.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),x=(0,a.__name)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),c=(0,a.__name)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),p=(0,a.__name)(()=>{let t=(0,s.select)(".mermaidTooltip");return t.empty()&&(t=(0,s.select)("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");t.s(["createTooltip",0,p,"drawBackgroundRect",0,i,"drawEmbeddedImage",0,o,"drawImage",0,d,"drawRect",0,l,"drawText",0,n,"getNoteRect",0,x,"getTextObj",0,c])}]);
@@ -0,0 +1,201 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,886882,e=>{"use strict";var t=e.i(572247),s=e.i(621501),i=e.i(707510),a=e.i(443578),n=e.i(233755),r=e.i(669587),l=e.i(908381),u=e.i(171206);e.i(947716);var o=e.i(723685),c=e.i(424154),h=function(){var e=(0,u.__name)(function(e,t,s,i){for(s=s||{},i=e.length;i--;s[e[i]]=t);return s},"o"),t=[1,18],s=[1,19],i=[1,20],a=[1,41],n=[1,26],r=[1,42],l=[1,24],o=[1,25],c=[1,32],h=[1,33],p=[1,34],d=[1,45],A=[1,35],m=[1,36],g=[1,37],y=[1,38],C=[1,27],b=[1,28],f=[1,29],k=[1,30],E=[1,31],T=[1,44],_=[1,46],D=[1,43],F=[1,47],B=[1,9],S=[1,8,9],$=[1,58],N=[1,59],L=[1,60],x=[1,61],I=[1,62],v=[1,63],O=[1,64],w=[1,8,9,41],R=[1,77],P=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],M=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],G=[13,60,86,100,102,103],U=[13,60,73,74,86,100,102,103],z=[13,60,68,69,70,71,72,86,100,102,103],K=[1,103],Y=[1,121],W=[1,117],Q=[1,113],j=[1,119],X=[1,114],H=[1,115],q=[1,116],V=[1,118],J=[1,120],Z=[22,50,60,61,82,86,87,88,89,90],ee=[1,128],et=[12,39],es=[1,8,9,39,41,44,46],ei=[1,8,9,22],ea=[1,153],en=[1,8,9,61],er=[1,8,9,22,50,60,61,82,86,87,88,89,90],el={trace:(0,u.__name)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:(0,u.__name)(function(e,t,s,i,a,n,r){var l=n.length-1;switch(a){case 8:this.$=n[l-1];break;case 9:case 10:case 13:case 15:case 46:this.$=n[l];break;case 11:case 14:this.$=n[l-2]+"."+n[l];break;case 12:case 16:case 110:this.$=n[l-1]+n[l];break;case 17:case 18:this.$=n[l-1]+"~"+n[l]+"~";break;case 19:i.addRelation(n[l]);break;case 20:n[l-1].title=i.cleanupLabel(n[l]),i.addRelation(n[l-1]);break;case 31:this.$=n[l].trim(),i.setAccTitle(this.$);break;case 32:case 33:this.$=n[l].trim(),i.setAccDescription(this.$);break;case 34:i.addClassesToNamespace(n[l-3],n[l-1][0],n[l-1][1]),i.popNamespace();break;case 35:i.addClassesToNamespace(n[l-4],n[l-1][0],n[l-1][1]),i.popNamespace();break;case 36:this.$=i.addNamespace(n[l]);break;case 37:this.$=i.addNamespace(n[l-1],n[l]);break;case 38:this.$=[[n[l]],[]];break;case 39:this.$=[[n[l-1]],[]];break;case 40:n[l][0].unshift(n[l-2]),this.$=n[l];break;case 41:this.$=[[],[n[l]]];break;case 42:this.$=[[],[n[l-1]]];break;case 43:n[l][1].unshift(n[l-2]),this.$=n[l];break;case 44:case 45:this.$=[[],[]];break;case 48:i.setCssClass(n[l-2],n[l]);break;case 49:i.addMembers(n[l-3],n[l-1]);break;case 51:i.setCssClass(n[l-5],n[l-3]),i.addMembers(n[l-5],n[l-1]);break;case 52:i.addAnnotation(n[l-3],n[l-1]);break;case 53:i.addAnnotation(n[l-6],n[l-4]),i.addMembers(n[l-6],n[l-1]);break;case 54:i.addAnnotation(n[l-5],n[l-3]);break;case 55:this.$=n[l],i.addClass(n[l]);break;case 56:this.$=n[l-1],i.addClass(n[l-1]),i.setClassLabel(n[l-1],n[l]);break;case 60:i.addAnnotation(n[l],n[l-2]);break;case 61:case 74:case 107:this.$=[n[l]];break;case 62:n[l].push(n[l-1]),this.$=n[l];break;case 63:case 65:case 66:break;case 64:i.addMember(n[l-1],i.cleanupLabel(n[l]));break;case 67:this.$={id1:n[l-2],id2:n[l],relation:n[l-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:n[l-3],id2:n[l],relation:n[l-1],relationTitle1:n[l-2],relationTitle2:"none"};break;case 69:this.$={id1:n[l-3],id2:n[l],relation:n[l-2],relationTitle1:"none",relationTitle2:n[l-1]};break;case 70:this.$={id1:n[l-4],id2:n[l],relation:n[l-2],relationTitle1:n[l-3],relationTitle2:n[l-1]};break;case 71:this.$=i.addNote(n[l],n[l-1]);break;case 72:this.$=i.addNote(n[l]);break;case 73:this.$=n[l-2],i.defineClass(n[l-1],n[l]);break;case 75:this.$=n[l-2].concat([n[l]]);break;case 76:i.setDirection("TB");break;case 77:i.setDirection("BT");break;case 78:i.setDirection("RL");break;case 79:i.setDirection("LR");break;case 80:this.$={type1:n[l-2],type2:n[l],lineType:n[l-1]};break;case 81:this.$={type1:"none",type2:n[l],lineType:n[l-1]};break;case 82:this.$={type1:n[l-1],type2:"none",lineType:n[l]};break;case 83:this.$={type1:"none",type2:"none",lineType:n[l]};break;case 84:this.$=i.relationType.AGGREGATION;break;case 85:this.$=i.relationType.EXTENSION;break;case 86:this.$=i.relationType.COMPOSITION;break;case 87:this.$=i.relationType.DEPENDENCY;break;case 88:this.$=i.relationType.LOLLIPOP;break;case 89:this.$=i.lineType.LINE;break;case 90:this.$=i.lineType.DOTTED_LINE;break;case 91:case 97:this.$=n[l-2],i.setClickEvent(n[l-1],n[l]);break;case 92:case 98:this.$=n[l-3],i.setClickEvent(n[l-2],n[l-1]),i.setTooltip(n[l-2],n[l]);break;case 93:this.$=n[l-2],i.setLink(n[l-1],n[l]);break;case 94:this.$=n[l-3],i.setLink(n[l-2],n[l-1],n[l]);break;case 95:this.$=n[l-3],i.setLink(n[l-2],n[l-1]),i.setTooltip(n[l-2],n[l]);break;case 96:this.$=n[l-4],i.setLink(n[l-3],n[l-2],n[l]),i.setTooltip(n[l-3],n[l-1]);break;case 99:this.$=n[l-3],i.setClickEvent(n[l-2],n[l-1],n[l]);break;case 100:this.$=n[l-4],i.setClickEvent(n[l-3],n[l-2],n[l-1]),i.setTooltip(n[l-3],n[l]);break;case 101:this.$=n[l-3],i.setLink(n[l-2],n[l]);break;case 102:this.$=n[l-4],i.setLink(n[l-3],n[l-1],n[l]);break;case 103:this.$=n[l-4],i.setLink(n[l-3],n[l-1]),i.setTooltip(n[l-3],n[l]);break;case 104:this.$=n[l-5],i.setLink(n[l-4],n[l-2],n[l]),i.setTooltip(n[l-4],n[l-1]);break;case 105:this.$=n[l-2],i.setCssStyle(n[l-1],n[l]);break;case 106:i.setCssClass(n[l-1],n[l]);break;case 108:n[l-2].push(n[l]),this.$=n[l-2]}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:t,35:s,37:i,38:22,42:a,43:23,46:n,48:r,51:l,52:o,54:c,56:h,57:p,60:d,62:A,63:m,64:g,65:y,75:C,76:b,78:f,82:k,83:E,86:T,100:_,102:D,103:F},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(B,[2,5],{8:[1,48]}),{8:[1,49]},e(S,[2,19],{22:[1,50]}),e(S,[2,21]),e(S,[2,22]),e(S,[2,23]),e(S,[2,24]),e(S,[2,25]),e(S,[2,26]),e(S,[2,27]),e(S,[2,28]),e(S,[2,29]),e(S,[2,30]),{34:[1,51]},{36:[1,52]},e(S,[2,33]),e(S,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:$,69:N,70:L,71:x,72:I,73:v,74:O}),{39:[1,65]},e(w,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),e(S,[2,65]),e(S,[2,66]),{16:69,60:d,86:T,100:_,102:D},{16:39,17:40,19:70,60:d,86:T,100:_,102:D,103:F},{16:39,17:40,19:71,60:d,86:T,100:_,102:D,103:F},{16:39,17:40,19:72,60:d,86:T,100:_,102:D,103:F},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:d,86:T,100:_,102:D,103:F},{13:R,55:76},{58:78,60:[1,79]},e(S,[2,76]),e(S,[2,77]),e(S,[2,78]),e(S,[2,79]),e(P,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:d,86:T,100:_,102:D,103:F}),e(P,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:d,86:T,100:_,102:D,103:F},{16:39,17:40,19:87,60:d,86:T,100:_,102:D,103:F},e(M,[2,133]),e(M,[2,134]),e(M,[2,135]),e(M,[2,136]),e([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),e(B,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:t,35:s,37:i,42:a,46:n,48:r,51:l,52:o,54:c,56:h,57:p,60:d,62:A,63:m,64:g,65:y,75:C,76:b,78:f,82:k,83:E,86:T,100:_,102:D,103:F}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:t,35:s,37:i,38:22,42:a,43:23,46:n,48:r,51:l,52:o,54:c,56:h,57:p,60:d,62:A,63:m,64:g,65:y,75:C,76:b,78:f,82:k,83:E,86:T,100:_,102:D,103:F},e(S,[2,20]),e(S,[2,31]),e(S,[2,32]),{13:[1,91],16:39,17:40,19:90,60:d,86:T,100:_,102:D,103:F},{53:92,66:56,67:57,68:$,69:N,70:L,71:x,72:I,73:v,74:O},e(S,[2,64]),{67:93,73:v,74:O},e(G,[2,83],{66:94,68:$,69:N,70:L,71:x,72:I}),e(U,[2,84]),e(U,[2,85]),e(U,[2,86]),e(U,[2,87]),e(U,[2,88]),e(z,[2,89]),e(z,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:a,43:23,48:r,54:c,56:h},{16:100,60:d,86:T,100:_,102:D},{41:[1,102],45:101,51:K},{16:104,60:d,86:T,100:_,102:D},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:Y,50:W,59:110,60:Q,82:j,84:111,85:112,86:X,87:H,88:q,89:V,90:J},{60:[1,122]},{13:R,55:123},e(w,[2,72]),e(w,[2,138]),{22:Y,50:W,59:124,60:Q,61:[1,125],82:j,84:111,85:112,86:X,87:H,88:q,89:V,90:J},e(Z,[2,74]),{16:39,17:40,19:126,60:d,86:T,100:_,102:D,103:F},e(P,[2,16]),e(P,[2,17]),e(P,[2,18]),{11:127,12:ee,39:[2,36]},e(et,[2,9],{16:85,17:86,15:130,18:[1,129],60:d,86:T,100:_,102:D,103:F}),e(et,[2,10]),e(es,[2,55],{11:131,12:ee}),e(B,[2,7]),{9:[1,132]},e(ei,[2,67]),{16:39,17:40,19:133,60:d,86:T,100:_,102:D,103:F},{13:[1,135],16:39,17:40,19:134,60:d,86:T,100:_,102:D,103:F},e(G,[2,82],{66:136,68:$,69:N,70:L,71:x,72:I}),e(G,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:a,43:23,48:r,54:c,56:h},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},e(w,[2,48],{39:[1,142]}),{41:[1,143]},e(w,[2,50]),{41:[2,61],45:144,51:K},{47:[1,145]},{16:39,17:40,19:146,60:d,86:T,100:_,102:D,103:F},e(S,[2,91],{13:[1,147]}),e(S,[2,93],{13:[1,149],77:[1,148]}),e(S,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},e(S,[2,105],{61:ea}),e(en,[2,107],{85:154,22:Y,50:W,60:Q,82:j,86:X,87:H,88:q,89:V,90:J}),e(er,[2,109]),e(er,[2,111]),e(er,[2,112]),e(er,[2,113]),e(er,[2,114]),e(er,[2,115]),e(er,[2,116]),e(er,[2,117]),e(er,[2,118]),e(er,[2,119]),e(S,[2,106]),e(w,[2,71]),e(S,[2,73],{61:ea}),{60:[1,155]},e(P,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:d,86:T,100:_,102:D,103:F},e(et,[2,12]),e(es,[2,56]),{1:[2,4]},e(ei,[2,69]),e(ei,[2,68]),{16:39,17:40,19:158,60:d,86:T,100:_,102:D,103:F},e(G,[2,80]),e(w,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:a,43:23,48:r,54:c,56:h},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:a,43:23,48:r,54:c,56:h},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:a,43:23,48:r,54:c,56:h},{45:163,51:K},e(w,[2,49]),{41:[2,62]},e(w,[2,52],{39:[1,164]}),e(S,[2,60]),e(S,[2,92]),e(S,[2,94]),e(S,[2,95],{77:[1,165]}),e(S,[2,98]),e(S,[2,99],{13:[1,166]}),e(S,[2,101],{13:[1,168],77:[1,167]}),{22:Y,50:W,60:Q,82:j,84:169,85:112,86:X,87:H,88:q,89:V,90:J},e(er,[2,110]),e(Z,[2,75]),{14:[1,170]},e(et,[2,11]),e(ei,[2,70]),e(w,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:K},e(S,[2,96]),e(S,[2,100]),e(S,[2,102]),e(S,[2,103],{77:[1,174]}),e(en,[2,108],{85:154,22:Y,50:W,60:Q,82:j,86:X,87:H,88:q,89:V,90:J}),e(es,[2,8]),e(w,[2,51]),{41:[1,175]},e(w,[2,54]),e(S,[2,104]),e(w,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:(0,u.__name)(function(e,t){if(t.recoverable)this.trace(e);else{var s=Error(e);throw s.hash=t,s}},"parseError"),parse:(0,u.__name)(function(e){var t=this,s=[0],i=[],a=[null],n=[],r=this.table,l="",o=0,c=0,h=0,p=n.slice.call(arguments,1),d=Object.create(this.lexer),A={};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(A[m]=this.yy[m]);d.setInput(e,A),A.lexer=d,A.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;n.push(g);var y=d.options&&d.options.ranges;function C(){var e;return"number"!=typeof(e=i.pop()||d.lex()||1)&&(e instanceof Array&&(e=(i=e).pop()),e=t.symbols_[e]||e),e}"function"==typeof A.parseError?this.parseError=A.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,u.__name)(function(e){s.length=s.length-2*e,a.length=a.length-e,n.length=n.length-e},"popStack"),(0,u.__name)(C,"lex");for(var b,f,k,E,T,_,D,F,B,S={};;){if(k=s[s.length-1],this.defaultActions[k]?E=this.defaultActions[k]:(null==b&&(b=C()),E=r[k]&&r[k][b]),void 0===E||!E.length||!E[0]){var $="";for(_ in B=[],r[k])this.terminals_[_]&&_>2&&B.push("'"+this.terminals_[_]+"'");$=d.showPosition?"Parse error on line "+(o+1)+":\n"+d.showPosition()+"\nExpecting "+B.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError($,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:g,expected:B})}if(E[0]instanceof Array&&E.length>1)throw Error("Parse Error: multiple actions possible at state: "+k+", token: "+b);switch(E[0]){case 1:s.push(b),a.push(d.yytext),n.push(d.yylloc),s.push(E[1]),b=null,f?(b=f,f=null):(c=d.yyleng,l=d.yytext,o=d.yylineno,g=d.yylloc,h>0&&h--);break;case 2:if(D=this.productions_[E[1]][1],S.$=a[a.length-D],S._$={first_line:n[n.length-(D||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(D||1)].first_column,last_column:n[n.length-1].last_column},y&&(S._$.range=[n[n.length-(D||1)].range[0],n[n.length-1].range[1]]),void 0!==(T=this.performAction.apply(S,[l,c,o,A,E[1],a,n].concat(p))))return T;D&&(s=s.slice(0,-1*D*2),a=a.slice(0,-1*D),n=n.slice(0,-1*D)),s.push(this.productions_[E[1]][0]),a.push(S.$),n.push(S._$),F=r[s[s.length-2]][s[s.length-1]],s.push(F);break;case 3:return!0}}return!0},"parse")};function eu(){this.yy={}}return el.lexer={EOF:1,parseError:(0,u.__name)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,u.__name)(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,u.__name)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:(0,u.__name)(function(e){var t=e.length,s=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var 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),s.length-1&&(this.yylineno-=s.length-1);var a=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:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,u.__name)(function(){return this._more=!0,this},"more"),reject:(0,u.__name)(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,u.__name)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,u.__name)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,u.__name)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,u.__name)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,u.__name)(function(e,t){var s,i,a;if(this.options.backtrack_lexer&&(a={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&&(a.yylloc.range=this.yylloc.range.slice(0))),(i=e[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+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],s=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack)for(var n in a)this[n]=a[n];return!1},"test_match"),next:(0,u.__name)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var e,t,s,i,a=this._currentRules(),n=0;n<a.length;n++)if((s=this._input.match(this.rules[a[n]]))&&(!t||s[0].length>t[0].length)){if(t=s,i=n,this.options.backtrack_lexer){if(!1!==(e=this.test_match(s,a[n])))return e;if(!this._backtrack)return!1;t=!1;continue}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,a[i]))&&e:""===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,u.__name)(function(){var e=this.next();return e||this.lex()},"lex"),begin:(0,u.__name)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,u.__name)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,u.__name)(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,u.__name)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,u.__name)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,u.__name)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,u.__name)(function(e,t,s,i){switch(s){case 0:return 62;case 1:return 63;case 2:return 64;case 3:return 65;case 4:case 5:case 14:case 31:case 37:case 41:case 48:break;case 6:return this.begin("acc_title"),33;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),35;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 19:case 22:case 24:case 59:case 62:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 36:return 8;case 15:case 16:return 7;case 17:case 38:case 46:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 79;case 23:return 80;case 25:return"STR";case 26:this.begin("string");break;case 27:return 82;case 28:return 57;case 29:return this.begin("namespace"),42;case 30:case 40:return this.popState(),8;case 32:return this.begin("namespace-body"),39;case 33:this.popState(),this.less(0);break;case 34:case 44:return this.popState(),41;case 35:case 45:return"EOF_IN_STRUCT";case 39:return this.begin("class"),48;case 42:return this.popState(),this.popState(),41;case 43:return this.begin("class-body"),39;case 47:return"OPEN_IN_STRUCT";case 49:return"MEMBER";case 50:return 83;case 51:return 75;case 52:return 76;case 53:return 78;case 54:return 54;case 55:return 56;case 56:return 46;case 57:return 47;case 58:return 81;case 60:return"GENERICTYPE";case 61:this.begin("generic");break;case 63:return"BQUOTE_STR";case 64:this.begin("bqstring");break;case 65:case 66:case 67:case 68:return 77;case 69:case 70:return 69;case 71:case 72:return 71;case 73:return 70;case 74:return 68;case 75:return 72;case 76:return 73;case 77:return 74;case 78:return 22;case 79:return 44;case 80:return 100;case 81:return 18;case 82:return"PLUS";case 83:return 87;case 84:return 61;case 85:case 86:return 89;case 87:return 90;case 88:case 89:return"EQUALS";case 90:return 60;case 91:return 12;case 92:return 14;case 93:return"PUNCTUATION";case 94:return 86;case 95:return 102;case 96:case 97:return 50;case 98:return 9}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:classDef\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,29,34,35,36,37,38,39,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},namespace:{rules:[26,29,30,31,32,33,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},"class-body":{rules:[26,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},class:{rules:[26,40,41,42,43,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_descr:{rules:[9,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_title:{rules:[7,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},callback_args:{rules:[22,23,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},callback_name:{rules:[19,20,21,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},href:{rules:[26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},struct:{rules:[26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},generic:{rules:[26,50,51,52,53,54,55,56,57,58,59,60,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},bqstring:{rules:[26,50,51,52,53,54,55,56,57,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},string:{rules:[24,25,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,39,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98],inclusive:!0}}},(0,u.__name)(eu,"Parser"),eu.prototype=el,el.Parser=eu,new eu}();h.parser=h;var p=["#","+","~","-",""],d=class{static{(0,u.__name)(this,"ClassMember")}constructor(e,t){this.memberType=t,this.visibility="",this.classifier="",this.text="";const s=(0,l.sanitizeText)(e,(0,l.getConfig2)());this.parseMember(s)}getDisplayDetails(){let e=this.visibility+(0,l.parseGenericTypes)(this.id);return"method"===this.memberType&&(e+=`(${(0,l.parseGenericTypes)(this.parameters.trim())})`,this.returnType&&(e+=" : "+(0,l.parseGenericTypes)(this.returnType))),{displayText:e=e.trim(),cssStyle:this.parseClassifier()}}parseMember(e){let t="";if("method"===this.memberType){let s=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(e);if(s){let e=s[1]?s[1].trim():"";if(p.includes(e)&&(this.visibility=e),this.id=s[2],this.parameters=s[3]?s[3].trim():"",t=s[4]?s[4].trim():"",this.returnType=s[5]?s[5].trim():"",""===t){let e=this.returnType.substring(this.returnType.length-1);/[$*]/.exec(e)&&(t=e,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{let s=e.length,i=e.substring(0,1),a=e.substring(s-1);p.includes(i)&&(this.visibility=i),/[$*]/.exec(a)&&(t=a),this.id=e.substring(+(""!==this.visibility),""===t?s:s-1)}this.classifier=t,this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();let s=`${this.visibility?"\\"+this.visibility:""}${(0,l.parseGenericTypes)(this.id)}${"method"===this.memberType?`(${(0,l.parseGenericTypes)(this.parameters)})${this.returnType?" : "+(0,l.parseGenericTypes)(this.returnType):""}`:""}`;this.text=s.replaceAll("<","&lt;").replaceAll(">","&gt;"),this.text.startsWith("\\&lt;")&&(this.text=this.text.replace("\\&lt;","~"))}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}},A="classId-",m=0,g=(0,u.__name)(e=>l.common_default.sanitizeText(e,(0,l.getConfig2)()),"sanitizeText"),y=class e{constructor(){this.relations=[],this.classes=new Map,this.styleClasses=new Map,this.notes=new Map,this.interfaces=[],this.namespaces=new Map,this.namespaceCounter=0,this.namespaceStack=[],this.diagramId="",this.functions=[],this.lineType={LINE:0,DOTTED_LINE:1},this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},this.setupToolTips=(0,u.__name)(e=>{let t=(0,s.createTooltip)();(0,o.select)(e).select("svg").selectAll("g").filter(function(){return null!==(0,o.select)(this).attr("title")}).on("mouseover",e=>{let s=(0,o.select)(e.currentTarget),i=s.attr("title");if(!i)return;let a=e.currentTarget.getBoundingClientRect();t.transition().duration(200).style("opacity",".9"),t.html(c.default.sanitize(i)).style("left",`${window.scrollX+a.left+a.width/2}px`).style("top",`${window.scrollY+a.bottom+4}px`),s.classed("hover",!0)}).on("mouseout",e=>{t.transition().duration(500).style("opacity",0),(0,o.select)(e.currentTarget).classed("hover",!1)})},"setupToolTips"),this.direction="TB",this.setAccTitle=l.setAccTitle,this.getAccTitle=l.getAccTitle,this.setAccDescription=l.setAccDescription,this.getAccDescription=l.getAccDescription,this.setDiagramTitle=l.setDiagramTitle,this.getDiagramTitle=l.getDiagramTitle,this.getConfig=(0,u.__name)(()=>(0,l.getConfig2)().class,"getConfig"),this.functions.push(this.setupToolTips.bind(this)),this.clear(),this.addRelation=this.addRelation.bind(this),this.addClassesToNamespace=this.addClassesToNamespace.bind(this),this.addNamespace=this.addNamespace.bind(this),this.popNamespace=this.popNamespace.bind(this),this.setCssClass=this.setCssClass.bind(this),this.addMembers=this.addMembers.bind(this),this.addClass=this.addClass.bind(this),this.setClassLabel=this.setClassLabel.bind(this),this.addAnnotation=this.addAnnotation.bind(this),this.addMember=this.addMember.bind(this),this.cleanupLabel=this.cleanupLabel.bind(this),this.addNote=this.addNote.bind(this),this.defineClass=this.defineClass.bind(this),this.setDirection=this.setDirection.bind(this),this.setLink=this.setLink.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.clear=this.clear.bind(this),this.setTooltip=this.setTooltip.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setCssStyle=this.setCssStyle.bind(this)}static{(0,u.__name)(this,"ClassDB")}splitClassNameAndType(e){let t=l.common_default.sanitizeText(e,(0,l.getConfig2)()),s="",i=t;if(t.indexOf("~")>0){let e=t.split("~");i=g(e[0]),s=g(e[1])}return{className:i,type:s}}setClassLabel(e,t){let s=l.common_default.sanitizeText(e,(0,l.getConfig2)());t&&(t=g(t));let{className:i}=this.splitClassNameAndType(s);this.classes.get(i).label=t,this.classes.get(i).text=`${t}${this.classes.get(i).type?`<${this.classes.get(i).type}>`:""}`}addClass(e){let t=l.common_default.sanitizeText(e,(0,l.getConfig2)()),{className:s,type:i}=this.splitClassNameAndType(t);if(this.classes.has(s))return;let a=l.common_default.sanitizeText(s,(0,l.getConfig2)());this.classes.set(a,{id:a,type:i,label:a,text:`${a}${i?`&lt;${i}&gt;`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:A+a+"-"+m}),m++}addInterface(e,t){let s={id:`interface${this.interfaces.length}`,label:e,classId:t};this.interfaces.push(s)}setDiagramId(e){this.diagramId=e}lookUpDomId(e){let t=l.common_default.sanitizeText(e,(0,l.getConfig2)());if(this.classes.has(t)){let e=this.classes.get(t).domId;return this.diagramId?`${this.diagramId}-${e}`:e}throw Error("Class not found: "+t)}clear(){this.relations=[],this.classes=new Map,this.notes=new Map,this.interfaces=[],this.functions=[],this.functions.push(this.setupToolTips.bind(this)),this.namespaces=new Map,this.namespaceCounter=0,this.namespaceStack=[],this.diagramId="",this.direction="TB",(0,l.clear)()}getClass(e){return this.classes.get(e)}getClasses(){return this.classes}getRelations(){return this.relations}getNote(e){let t="number"==typeof e?`note${e}`:e;return this.notes.get(t)}getNotes(){return this.notes}addRelation(e){u.log.debug("Adding relation: "+JSON.stringify(e));let t=[this.relationType.LOLLIPOP,this.relationType.AGGREGATION,this.relationType.COMPOSITION,this.relationType.DEPENDENCY,this.relationType.EXTENSION];e.relation.type1!==this.relationType.LOLLIPOP||t.includes(e.relation.type2)?e.relation.type2!==this.relationType.LOLLIPOP||t.includes(e.relation.type1)?(this.addClass(e.id1),this.addClass(e.id2)):(this.addClass(e.id1),this.addInterface(e.id2,e.id1),e.id2=`interface${this.interfaces.length-1}`):(this.addClass(e.id2),this.addInterface(e.id1,e.id2),e.id1=`interface${this.interfaces.length-1}`),e.id1=this.splitClassNameAndType(e.id1).className,e.id2=this.splitClassNameAndType(e.id2).className,e.relationTitle1=l.common_default.sanitizeText(e.relationTitle1.trim(),(0,l.getConfig2)()),e.relationTitle2=l.common_default.sanitizeText(e.relationTitle2.trim(),(0,l.getConfig2)()),this.relations.push(e)}addAnnotation(e,t){let s=this.splitClassNameAndType(e).className;this.classes.get(s).annotations.push(t)}addMember(e,t){this.addClass(e);let s=this.splitClassNameAndType(e).className,i=this.classes.get(s);if("string"==typeof t){let e=t.trim();e.startsWith("<<")&&e.endsWith(">>")?i.annotations.push(g(e.substring(2,e.length-2))):e.indexOf(")")>0?i.methods.push(new d(e,"method")):e&&i.members.push(new d(e,"attribute"))}}addMembers(e,t){Array.isArray(t)&&(t.reverse(),t.forEach(t=>this.addMember(e,t)))}addNote(e,t){let s=this.notes.size,i={id:`note${s}`,class:t,text:e,index:s};return this.notes.set(i.id,i),i.id}cleanupLabel(e){return e.startsWith(":")&&(e=e.substring(1)),g(e.trim())}setCssClass(e,t){e.split(",").forEach(e=>{let s=e;/\d/.exec(e[0])&&(s=A+s);let i=this.classes.get(s);i&&(i.cssClasses+=" "+t)})}defineClass(e,t){for(let s of e){let e=this.styleClasses.get(s);void 0===e&&(e={id:s,styles:[],textStyles:[]},this.styleClasses.set(s,e)),t&&t.forEach(t=>{if(/color/.exec(t)){let s=t.replace("fill","bgFill");e.textStyles.push(s)}e.styles.push(t)}),this.classes.forEach(e=>{e.cssClasses.includes(s)&&e.styles.push(...t.flatMap(e=>e.split(",")))})}}setTooltip(e,t){e.split(",").forEach(e=>{void 0!==t&&(this.classes.get(e).tooltip=g(t))})}getTooltip(e,t){return t&&this.namespaces.has(t)?this.namespaces.get(t).classes.get(e).tooltip:this.classes.get(e).tooltip}setLink(e,t,s){let i=(0,l.getConfig2)();e.split(",").forEach(e=>{let a=e;/\d/.exec(e[0])&&(a=A+a);let n=this.classes.get(a);n&&(n.link=r.utils_default.formatUrl(t,i),"sandbox"===i.securityLevel?n.linkTarget="_top":"string"==typeof s?n.linkTarget=g(s):n.linkTarget="_blank")}),this.setCssClass(e,"clickable")}setClickEvent(e,t,s){e.split(",").forEach(e=>{this.setClickFunc(e,t,s),this.classes.get(e).haveCallback=!0}),this.setCssClass(e,"clickable")}setClickFunc(e,t,s){let i=l.common_default.sanitizeText(e,(0,l.getConfig2)());if("loose"===(0,l.getConfig2)().securityLevel&&void 0!==t&&this.classes.has(i)){let e=[];if("string"==typeof s){e=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<e.length;t++){let s=e[t].trim();s.startsWith('"')&&s.endsWith('"')&&(s=s.substr(1,s.length-2)),e[t]=s}}0===e.length&&e.push(i),this.functions.push(()=>{let s=this.lookUpDomId(i),a=document.querySelector(`[id="${s}"]`);null!==a&&a.addEventListener("click",()=>{r.utils_default.runFunc(t,...e)},!1)})}}bindFunctions(e){this.functions.forEach(t=>{t(e)})}escapeHtml(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}getDirection(){return this.direction}setDirection(e){this.direction=e}static resolveQualifiedId(e,t){let s=t.at(-1);return s?`${s}.${e}`:e}static getAncestorIds(e){let t=e.split("."),s=Array(t.length);s[0]=t[0];for(let e=1;e<t.length;e++)s[e]=`${s[e-1]}.${t[e]}`;return s}createNamespaceNode(e,t,s,i=!1){return{id:e,label:t,classes:new Map,notes:new Map,children:new Map,domId:A+e+"-"+this.namespaceCounter++,parent:s,explicit:i}}linkParentChild(e,t){let s=this.namespaces.get(e),i=this.namespaces.get(t);s&&i&&(s.children.has(t)||s.children.set(t,i),i.parent??=e)}addNamespace(t,s){let i=e.resolveQualifiedId(t,this.namespaceStack);if(this.namespaceStack.push(i),this.namespaces.has(i)){let e=this.namespaces.get(i);return e.explicit=!0,s&&(e.label=s),i}let a=i.split("."),n=e.getAncestorIds(i);for(let e=0;e<n.length;e++){let t=n[e],i=e>0?n[e-1]:void 0,r=e===n.length-1,l=r&&s?s:a[e];this.namespaces.has(t)?r&&(this.namespaces.get(t).explicit=!0):this.namespaces.set(t,this.createNamespaceNode(t,l,i,r)),i&&this.linkParentChild(i,t)}return i}popNamespace(){this.namespaceStack.pop()}getNamespace(e){return this.namespaces.get(e)}getNamespaces(){return this.namespaces}addClassesToNamespace(e,t,s){if(this.namespaces.has(e)){for(let s of t){let{className:t}=this.splitClassNameAndType(s),i=this.getClass(t);i.parent=e,this.namespaces.get(e).classes.set(t,i)}for(let t of s){let s=this.getNote(t);s.parent=e,this.namespaces.get(e).notes.set(t,s)}}}setCssStyle(e,t){let s=this.classes.get(e);if(t&&s)for(let e of t)e.includes(",")?s.styles.push(...e.split(",")):s.styles.push(e)}getArrowMarker(e){let t;switch(e){case 0:t="aggregation";break;case 1:t="extension";break;case 2:t="composition";break;case 3:t="dependency";break;case 4:t="lollipop";break;default:t="none"}return t}resolveExplicitAncestor(e){let t=e;for(;t;){let e=this.namespaces.get(t);if(!e)break;if(e.explicit)return t;t=e.parent}}getData(){let e=[],t=[],s=(0,l.getConfig2)(),i=s.class?.hierarchicalNamespaces??!0;for(let t of this.namespaces.values()){if(!i&&!t.explicit)continue;let a={id:t.id,label:i?t.label:t.id,isGroup:!0,padding:s.class.padding??16,shape:"rect",cssStyles:[],look:s.look,parentId:i?t.parent:void 0};e.push(a)}for(let t of this.classes.values()){let a=i?t.parent:this.resolveExplicitAncestor(t.parent),n={...t,type:void 0,isGroup:!1,parentId:a,look:s.look};e.push(n)}for(let a of this.notes.values()){let n=i?a.parent:this.resolveExplicitAncestor(a.parent),r={id:a.id,label:a.text,isGroup:!1,shape:"note",padding:s.class.padding??6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${s.themeVariables.noteBkgColor}`,`stroke: ${s.themeVariables.noteBorderColor}`],look:s.look,parentId:n,labelType:"markdown"};e.push(r);let l=this.classes.get(a.class)?.id;if(l){let e={id:`edgeNote${a.index}`,start:a.id,end:l,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:s.look};t.push(e)}}for(let t of this.interfaces){let i={id:t.id,label:t.label,isGroup:!1,shape:"rect",cssStyles:["opacity: 0;"],look:s.look};e.push(i)}let a=0;for(let e of this.relations){a++;let i={id:(0,r.getEdgeId)(e.id1,e.id2,{prefix:"id",counter:a}),start:e.id1,end:e.id2,type:"normal",label:e.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:this.getArrowMarker(e.relation.type1),arrowTypeEnd:this.getArrowMarker(e.relation.type2),startLabelRight:"none"===e.relationTitle1?"":e.relationTitle1,endLabelLeft:"none"===e.relationTitle2?"":e.relationTitle2,arrowheadStyle:"",labelStyle:["display: inline-block"],style:e.style||"",pattern:1==e.relation.lineType?"dashed":"solid",look:s.look,labelType:"markdown"};t.push(i)}return{nodes:e,edges:t,other:{},config:s,direction:this.getDirection()}}},C=(0,u.__name)(e=>`g.classGroup text {
2
+ fill: ${e.nodeBorder||e.classText};
3
+ stroke: none;
4
+ font-family: ${e.fontFamily};
5
+ font-size: 10px;
6
+
7
+ .title {
8
+ font-weight: bolder;
9
+ }
10
+
11
+ }
12
+
13
+ .cluster-label text {
14
+ fill: ${e.titleColor};
15
+ }
16
+ .cluster-label span {
17
+ color: ${e.titleColor};
18
+ }
19
+ .cluster-label span p {
20
+ background-color: transparent;
21
+ }
22
+
23
+ .cluster rect {
24
+ fill: ${e.clusterBkg};
25
+ stroke: ${e.clusterBorder};
26
+ stroke-width: 1px;
27
+ }
28
+
29
+ .cluster text {
30
+ fill: ${e.titleColor};
31
+ }
32
+
33
+ .cluster span {
34
+ color: ${e.titleColor};
35
+ }
36
+
37
+ .nodeLabel, .edgeLabel {
38
+ color: ${e.classText};
39
+ }
40
+
41
+ .noteLabel .nodeLabel, .noteLabel .edgeLabel {
42
+ color: ${e.noteTextColor};
43
+ }
44
+ .edgeLabel .label rect {
45
+ fill: ${e.mainBkg};
46
+ }
47
+ .label text {
48
+ fill: ${e.classText};
49
+ }
50
+
51
+ .labelBkg {
52
+ background: ${e.mainBkg};
53
+ }
54
+ .edgeLabel .label span {
55
+ background: ${e.mainBkg};
56
+ }
57
+
58
+ .classTitle {
59
+ font-weight: bolder;
60
+ }
61
+ .node rect,
62
+ .node circle,
63
+ .node ellipse,
64
+ .node polygon,
65
+ .node path {
66
+ fill: ${e.mainBkg};
67
+ stroke: ${e.nodeBorder};
68
+ stroke-width: ${e.strokeWidth};
69
+ }
70
+
71
+
72
+ .divider {
73
+ stroke: ${e.nodeBorder};
74
+ stroke-width: 1;
75
+ }
76
+
77
+ g.clickable {
78
+ cursor: pointer;
79
+ }
80
+
81
+ g.classGroup rect {
82
+ fill: ${e.mainBkg};
83
+ stroke: ${e.nodeBorder};
84
+ }
85
+
86
+ g.classGroup line {
87
+ stroke: ${e.nodeBorder};
88
+ stroke-width: 1;
89
+ }
90
+
91
+ .classLabel .box {
92
+ stroke: none;
93
+ stroke-width: 0;
94
+ fill: ${e.mainBkg};
95
+ opacity: 0.5;
96
+ }
97
+
98
+ .classLabel .label {
99
+ fill: ${e.nodeBorder};
100
+ font-size: 10px;
101
+ }
102
+
103
+ .relation {
104
+ stroke: ${e.lineColor};
105
+ stroke-width: ${e.strokeWidth};
106
+ fill: none;
107
+ }
108
+
109
+ .dashed-line{
110
+ stroke-dasharray: 3;
111
+ }
112
+
113
+ .dotted-line{
114
+ stroke-dasharray: 1 2;
115
+ }
116
+
117
+ [id$="-compositionStart"], .composition {
118
+ fill: ${e.lineColor} !important;
119
+ stroke: ${e.lineColor} !important;
120
+ stroke-width: 1;
121
+ }
122
+
123
+ [id$="-compositionEnd"], .composition {
124
+ fill: ${e.lineColor} !important;
125
+ stroke: ${e.lineColor} !important;
126
+ stroke-width: 1;
127
+ }
128
+
129
+ [id$="-dependencyStart"], .dependency {
130
+ fill: ${e.lineColor} !important;
131
+ stroke: ${e.lineColor} !important;
132
+ stroke-width: 1;
133
+ }
134
+
135
+ [id$="-dependencyEnd"], .dependency {
136
+ fill: ${e.lineColor} !important;
137
+ stroke: ${e.lineColor} !important;
138
+ stroke-width: 1;
139
+ }
140
+
141
+ [id$="-extensionStart"], .extension {
142
+ fill: transparent !important;
143
+ stroke: ${e.lineColor} !important;
144
+ stroke-width: 1;
145
+ }
146
+
147
+ [id$="-extensionEnd"], .extension {
148
+ fill: transparent !important;
149
+ stroke: ${e.lineColor} !important;
150
+ stroke-width: 1;
151
+ }
152
+
153
+ [id$="-aggregationStart"], .aggregation {
154
+ fill: transparent !important;
155
+ stroke: ${e.lineColor} !important;
156
+ stroke-width: 1;
157
+ }
158
+
159
+ [id$="-aggregationEnd"], .aggregation {
160
+ fill: transparent !important;
161
+ stroke: ${e.lineColor} !important;
162
+ stroke-width: 1;
163
+ }
164
+
165
+ [id$="-lollipopStart"], .lollipop {
166
+ fill: ${e.mainBkg} !important;
167
+ stroke: ${e.lineColor} !important;
168
+ stroke-width: 1;
169
+ }
170
+
171
+ [id$="-lollipopEnd"], .lollipop {
172
+ fill: ${e.mainBkg} !important;
173
+ stroke: ${e.lineColor} !important;
174
+ stroke-width: 1;
175
+ }
176
+
177
+ .edgeTerminals {
178
+ font-size: 11px;
179
+ line-height: initial;
180
+ }
181
+
182
+ .classTitleText {
183
+ text-anchor: middle;
184
+ font-size: 18px;
185
+ fill: ${e.textColor};
186
+ }
187
+
188
+ .edgeLabel[data-look="neo"] {
189
+ background-color: ${e.edgeLabelBackground};
190
+ p {
191
+ background-color: ${e.edgeLabelBackground};
192
+ }
193
+ rect {
194
+ opacity: 0.5;
195
+ background-color: ${e.edgeLabelBackground};
196
+ fill: ${e.edgeLabelBackground};
197
+ }
198
+ text-align: center;
199
+ }
200
+ ${(0,t.getIconStyles)()}
201
+ `,"getStyles"),b=(0,u.__name)((e,t="TB")=>{if(!e.doc)return t;let s=t;for(let t of e.doc)"dir"===t.stmt&&(s=t.value);return s},"getDir"),f=(0,u.__name)(function(e,t){return t.db.getClasses()},"getClasses"),k=(0,u.__name)(async function(e,t,s,o){u.log.info("REF0:"),u.log.info("Drawing class diagram (v3)",t);let{securityLevel:c,state:h,layout:p}=(0,l.getConfig2)();o.db.setDiagramId(t);let d=o.db.getData(),A=(0,i.getDiagramElement)(t,c);d.type=o.type,d.layoutAlgorithm=(0,n.getRegisteredLayoutAlgorithm)(p),d.nodeSpacing=h?.nodeSpacing||50,d.rankSpacing=h?.rankSpacing||50,d.markers=["aggregation","extension","composition","dependency","lollipop"],d.diagramId=t,await (0,n.render)(d,A),r.utils_default.insertTitle(A,"classDiagramTitleText",h?.titleTopMargin??25,o.db.getDiagramTitle()),(0,a.setupViewPortForSVG)(A,8,"classDiagram",h?.useMaxWidth??!0)},"draw");e.s(["ClassDB",0,y,"classDiagram_default",0,h,"classRenderer_v3_unified_default",0,{getClasses:f,draw:k,getDir:b},"styles_default",0,C])}]);