@seungyeop-lee/beads-desk 0.2.0 → 0.2.2

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 (420) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +1 -0
  3. package/.next/build-manifest.json +50 -50
  4. package/.next/fallback-build-manifest.json +3 -3
  5. package/.next/prerender-manifest.json +5 -5
  6. package/.next/routes-manifest.json +6 -0
  7. package/.next/server/app/(client)/board/page/build-manifest.json +4 -4
  8. package/.next/server/app/(client)/board/page/server-reference-manifest.json +16 -16
  9. package/.next/server/app/(client)/board/page.js +18 -18
  10. package/.next/server/app/(client)/board/page.js.nft.json +1 -1
  11. package/.next/server/app/(client)/board/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/(client)/decisions/page/build-manifest.json +4 -4
  13. package/.next/server/app/(client)/decisions/page/server-reference-manifest.json +16 -16
  14. package/.next/server/app/(client)/decisions/page.js +18 -18
  15. package/.next/server/app/(client)/decisions/page.js.nft.json +1 -1
  16. package/.next/server/app/(client)/decisions/page_client-reference-manifest.js +1 -1
  17. package/.next/server/app/(client)/epics/page/build-manifest.json +4 -4
  18. package/.next/server/app/(client)/epics/page/server-reference-manifest.json +16 -16
  19. package/.next/server/app/(client)/epics/page.js +18 -18
  20. package/.next/server/app/(client)/epics/page.js.nft.json +1 -1
  21. package/.next/server/app/(client)/epics/page_client-reference-manifest.js +1 -1
  22. package/.next/server/app/(client)/focus/page/build-manifest.json +4 -4
  23. package/.next/server/app/(client)/focus/page/server-reference-manifest.json +16 -16
  24. package/.next/server/app/(client)/focus/page.js +18 -18
  25. package/.next/server/app/(client)/focus/page.js.nft.json +1 -1
  26. package/.next/server/app/(client)/focus/page_client-reference-manifest.js +1 -1
  27. package/.next/server/app/(client)/graph/page/build-manifest.json +4 -4
  28. package/.next/server/app/(client)/graph/page/server-reference-manifest.json +16 -16
  29. package/.next/server/app/(client)/graph/page.js +18 -18
  30. package/.next/server/app/(client)/graph/page.js.nft.json +1 -1
  31. package/.next/server/app/(client)/graph/page_client-reference-manifest.js +1 -1
  32. package/.next/server/app/(client)/human/page/build-manifest.json +4 -4
  33. package/.next/server/app/(client)/human/page/server-reference-manifest.json +16 -16
  34. package/.next/server/app/(client)/human/page.js +18 -18
  35. package/.next/server/app/(client)/human/page.js.nft.json +1 -1
  36. package/.next/server/app/(client)/human/page_client-reference-manifest.js +1 -1
  37. package/.next/server/app/(client)/hygiene/page/build-manifest.json +4 -4
  38. package/.next/server/app/(client)/hygiene/page/server-reference-manifest.json +16 -16
  39. package/.next/server/app/(client)/hygiene/page.js +18 -18
  40. package/.next/server/app/(client)/hygiene/page.js.nft.json +1 -1
  41. package/.next/server/app/(client)/hygiene/page_client-reference-manifest.js +1 -1
  42. package/.next/server/app/(client)/issues/page/build-manifest.json +4 -4
  43. package/.next/server/app/(client)/issues/page/server-reference-manifest.json +16 -16
  44. package/.next/server/app/(client)/issues/page.js +18 -18
  45. package/.next/server/app/(client)/issues/page.js.nft.json +1 -1
  46. package/.next/server/app/(client)/issues/page_client-reference-manifest.js +1 -1
  47. package/.next/server/app/(client)/page/build-manifest.json +4 -4
  48. package/.next/server/app/(client)/page/server-reference-manifest.json +16 -16
  49. package/.next/server/app/(client)/page.js +19 -19
  50. package/.next/server/app/(client)/page.js.nft.json +1 -1
  51. package/.next/server/app/(client)/page_client-reference-manifest.js +1 -1
  52. package/.next/server/app/(server)/api/board/route.js +6 -6
  53. package/.next/server/app/(server)/api/board/route.js.nft.json +1 -1
  54. package/.next/server/app/(server)/api/decisions/route.js +6 -6
  55. package/.next/server/app/(server)/api/decisions/route.js.nft.json +1 -1
  56. package/.next/server/app/(server)/api/epics/[id]/descendants/route.js +6 -6
  57. package/.next/server/app/(server)/api/epics/[id]/descendants/route.js.nft.json +1 -1
  58. package/.next/server/app/(server)/api/epics/route.js +6 -6
  59. package/.next/server/app/(server)/api/epics/route.js.nft.json +1 -1
  60. package/.next/server/app/(server)/api/events/route.js +4 -4
  61. package/.next/server/app/(server)/api/events/route.js.nft.json +1 -1
  62. package/.next/server/app/(server)/api/gates/route/app-paths-manifest.json +3 -0
  63. package/.next/server/app/(server)/api/gates/route/build-manifest.json +12 -0
  64. package/.next/server/app/(server)/api/gates/route/server-reference-manifest.json +4 -0
  65. package/.next/server/app/(server)/api/gates/route.js +10 -0
  66. package/.next/server/app/(server)/api/gates/route.js.nft.json +1 -0
  67. package/.next/server/app/(server)/api/gates/route_client-reference-manifest.js +3 -0
  68. package/.next/server/app/(server)/api/graph/route.js +6 -6
  69. package/.next/server/app/(server)/api/graph/route.js.nft.json +1 -1
  70. package/.next/server/app/(server)/api/health/route.js +6 -6
  71. package/.next/server/app/(server)/api/health/route.js.nft.json +1 -1
  72. package/.next/server/app/(server)/api/human-decisions/count/route.js +6 -6
  73. package/.next/server/app/(server)/api/human-decisions/count/route.js.nft.json +1 -1
  74. package/.next/server/app/(server)/api/human-gates/[id]/previous-gates/route.js +6 -6
  75. package/.next/server/app/(server)/api/human-gates/[id]/previous-gates/route.js.nft.json +1 -1
  76. package/.next/server/app/(server)/api/human-gates/route.js +6 -6
  77. package/.next/server/app/(server)/api/human-gates/route.js.nft.json +1 -1
  78. package/.next/server/app/(server)/api/hygiene/route.js +6 -6
  79. package/.next/server/app/(server)/api/hygiene/route.js.nft.json +1 -1
  80. package/.next/server/app/(server)/api/hygiene/stale/route.js +6 -6
  81. package/.next/server/app/(server)/api/hygiene/stale/route.js.nft.json +1 -1
  82. package/.next/server/app/(server)/api/issue-search/route.js +6 -6
  83. package/.next/server/app/(server)/api/issue-search/route.js.nft.json +1 -1
  84. package/.next/server/app/(server)/api/issues/[id]/history/route.js +6 -6
  85. package/.next/server/app/(server)/api/issues/[id]/history/route.js.nft.json +1 -1
  86. package/.next/server/app/(server)/api/issues/[id]/route.js +6 -6
  87. package/.next/server/app/(server)/api/issues/[id]/route.js.nft.json +1 -1
  88. package/.next/server/app/(server)/api/issues/route.js +6 -6
  89. package/.next/server/app/(server)/api/issues/route.js.nft.json +1 -1
  90. package/.next/server/app/(server)/api/local-files/route.js +6 -6
  91. package/.next/server/app/(server)/api/local-files/route.js.nft.json +1 -1
  92. package/.next/server/app/(server)/api/workspaces/route.js +6 -6
  93. package/.next/server/app/(server)/api/workspaces/route.js.nft.json +1 -1
  94. package/.next/server/app/_global-error/page/build-manifest.json +4 -4
  95. package/.next/server/app/_global-error/page.js +10 -10
  96. package/.next/server/app/_global-error/page.js.nft.json +1 -1
  97. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  98. package/.next/server/app/_global-error.html +1 -1
  99. package/.next/server/app/_global-error.rsc +8 -8
  100. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +7 -7
  101. package/.next/server/app/_global-error.segments/_full.segment.rsc +8 -8
  102. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  103. package/.next/server/app/_not-found/page/build-manifest.json +4 -4
  104. package/.next/server/app/_not-found/page.js +14 -14
  105. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  106. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  107. package/.next/server/app/_not-found.html +1 -1
  108. package/.next/server/app/_not-found.rsc +9 -9
  109. package/.next/server/app/_not-found.segments/_full.segment.rsc +9 -9
  110. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +8 -8
  111. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  112. package/.next/server/app/icon/route.js +5 -5
  113. package/.next/server/app/icon/route.js.nft.json +1 -1
  114. package/.next/server/app-paths-manifest.json +1 -0
  115. package/.next/server/chunks/{0-na_next_dist_01oqa_lnmf7od._.js → 05qx_next_dist_184ptjjtlkg71._.js} +8 -8
  116. package/.next/server/chunks/0ysl_app__next-internal_server_app_(server)_api_gates_route_actions_0sav8gq22t2ur.js +3 -0
  117. package/.next/server/chunks/[root-of-the-server]__1-ofbxlienucb._.js +3 -0
  118. package/.next/server/chunks/{[root-of-the-server]__00jsp_c83rs0d._.js → [root-of-the-server]__1qazo8i1ki7mc._.js} +3 -3
  119. package/.next/server/chunks/[root-of-the-server]__1x--zgen0f3x2._.js +5 -0
  120. package/.next/server/chunks/_02on37540o8hj._.js +3 -0
  121. package/.next/server/chunks/_04uhe7wc36edj._.js +3 -0
  122. package/.next/server/chunks/_06poqmo_9segb._.js +3 -0
  123. package/.next/server/chunks/_09qnp2-yd8sqg._.js +3 -0
  124. package/.next/server/chunks/{_0lg6l5x123jq2._.js → _0aewum0lafyu6._.js} +2 -2
  125. package/.next/server/chunks/_0g6qhsq0oh9f2._.js +3 -0
  126. package/.next/server/chunks/{_0hprt7v9m-j0-._.js → _0k0r17-hivf0b._.js} +2 -2
  127. package/.next/server/chunks/_0o6dnk9ppyhej._.js +3 -0
  128. package/.next/server/chunks/_0r96-_atd0of6._.js +3 -0
  129. package/.next/server/chunks/_0twtmmk6vrjgn._.js +3 -0
  130. package/.next/server/chunks/_0yr16743_vxl0._.js +3 -0
  131. package/.next/server/chunks/_0yrm94e-wxgvg._.js +3 -0
  132. package/.next/server/chunks/_1-81r7_12i_t3._.js +3 -0
  133. package/.next/server/chunks/_1_q4qbqvbyeo3._.js +3 -0
  134. package/.next/server/chunks/_1h203upt35re2._.js +3 -0
  135. package/.next/server/chunks/_1kji36mlzsk7a._.js +3 -0
  136. package/.next/server/chunks/_1kpi1pid8s0jq._.js +3 -0
  137. package/.next/server/chunks/_1or695q1uaeye._.js +3 -0
  138. package/.next/server/chunks/_1vml9a-7hqonb._.js +10 -0
  139. package/.next/server/chunks/_1wvz7lwt8c493._.js +3 -0
  140. package/.next/server/chunks/packages_app_src_server_infra_runtime_serverRuntime_ts_0nr1il1nd01xh._.js +1 -1
  141. package/.next/server/chunks/ssr/05qx_next_dist_0auumeme_jnci._.js +6 -0
  142. package/.next/server/chunks/ssr/{0-na_next_dist_11o-i8zo8w04f._.js → 05qx_next_dist_0la4kajft916f._.js} +7 -7
  143. package/.next/server/chunks/ssr/05qx_next_dist_0s0gfw_jqnu4j._.js +3 -0
  144. package/.next/server/chunks/ssr/05qx_next_dist_1hzbynyjdvvow._.js +3 -0
  145. package/.next/server/chunks/ssr/{0-na_next_dist_client_components_12rpdkf4u6sxc._.js → 05qx_next_dist_client_components_1nkeds0hti7te._.js} +2 -2
  146. package/.next/server/chunks/ssr/05qx_next_dist_client_components_builtin_1t-3jg9n15ebj._.js +33 -0
  147. package/.next/server/chunks/ssr/05qx_next_dist_client_components_builtin_forbidden_0q2qgqciumfnu.js +3 -0
  148. package/.next/server/chunks/ssr/05qx_next_dist_client_components_builtin_unauthorized_0o24jwhymhb-n.js +3 -0
  149. package/.next/server/chunks/ssr/05qx_next_dist_compiled_02c5g16i9tcv1._.js +3 -0
  150. package/.next/server/chunks/ssr/{0-na_next_dist_compiled_@edge-runtime_cookies_index_1w1mtde4yx_m_.js → 05qx_next_dist_compiled_@edge-runtime_cookies_index_05bbw1jw69yw0.js} +2 -2
  151. package/.next/server/chunks/ssr/05qx_next_dist_esm_build_templates_app-page_0ds48qyk03c12.js +3 -0
  152. package/.next/server/chunks/ssr/05qx_next_dist_esm_build_templates_app-page_0j94lzdzvjpkm.js +3 -0
  153. package/.next/server/chunks/ssr/05qx_next_dist_esm_build_templates_app-page_13yild_1irzc5.js +3 -0
  154. package/.next/server/chunks/ssr/05qx_next_dist_esm_build_templates_app-page_15h35o6jai3rd.js +3 -0
  155. package/.next/server/chunks/ssr/05qx_next_dist_esm_build_templates_app-page_17j0sapd43lno.js +3 -0
  156. package/.next/server/chunks/ssr/05qx_next_dist_esm_build_templates_app-page_18o721daqsoz_.js +3 -0
  157. package/.next/server/chunks/ssr/05qx_next_dist_esm_build_templates_app-page_1i5rl48p9g02m.js +3 -0
  158. package/.next/server/chunks/ssr/05qx_next_dist_esm_build_templates_app-page_1kguvhbrw2hgc.js +3 -0
  159. package/.next/server/chunks/ssr/05qx_next_dist_esm_build_templates_app-page_1ouhezcfk6vix.js +3 -0
  160. package/.next/server/chunks/ssr/05qx_next_dist_esm_build_templates_app-page_1v01wrk-q17mq.js +3 -0
  161. package/.next/server/chunks/ssr/05qx_next_dist_esm_build_templates_app-page_1xxnbb6yc9npm.js +3 -0
  162. package/.next/server/chunks/ssr/{044y_@milkdown_crepe_lib_esm_builder_1q1p-aoo5ansr.js → 0d0f_@milkdown_crepe_lib_esm_builder_06muytl9h7gti.js} +2 -2
  163. package/.next/server/chunks/ssr/0d0f_@milkdown_crepe_lib_esm_feature_code-mirror_index_18a-rj6e8cet7.js +92 -0
  164. package/.next/server/chunks/ssr/{044y_@milkdown_crepe_lib_esm_feature_cursor_index_17hai-ps4gy4m.js → 0d0f_@milkdown_crepe_lib_esm_feature_cursor_index_1xb894r2isgpe.js} +2 -2
  165. package/.next/server/chunks/ssr/{044y_@milkdown_crepe_lib_esm_feature_link-tooltip_index_1k2_en72b30f7.js → 0d0f_@milkdown_crepe_lib_esm_feature_link-tooltip_index_0p7e_xlz06wlw.js} +2 -2
  166. package/.next/server/chunks/ssr/{044y_@milkdown_crepe_lib_esm_feature_list-item_index_0739hwl0ixqj0.js → 0d0f_@milkdown_crepe_lib_esm_feature_list-item_index_0srjq3nd94sv_.js} +3 -3
  167. package/.next/server/chunks/ssr/{044y_@milkdown_crepe_lib_esm_feature_table_index_1nc604l0he98t.js → 0d0f_@milkdown_crepe_lib_esm_feature_table_index_1q3bkvsxx3gmj.js} +3 -3
  168. package/.next/server/chunks/ssr/{044y_@milkdown_crepe_lib_esm_feature_toolbar_index_0cjy552j1ozb9.js → 0d0f_@milkdown_crepe_lib_esm_feature_toolbar_index_20d8pxp74xqfo.js} +3 -3
  169. package/.next/server/chunks/ssr/{04q__@milkdown_utils_lib_index_20ji0hxjb6f0c.js → 0tj8_@milkdown_utils_lib_index_13cvivb6venod.js} +2 -2
  170. package/.next/server/chunks/ssr/{1tr6_@milkdown_preset-commonmark_lib_index_1jsr6pxdnfhq4.js → 0w5i_@milkdown_preset-commonmark_lib_index_10ba6w5gyra6g.js} +2 -2
  171. package/.next/server/chunks/ssr/0ysl_app_src_client_ui_screens_humanDecisions_HumanDecisionsScreen_tsx_1q9b8qom_7y1u._.js +1 -1
  172. package/.next/server/chunks/ssr/{1-u6_katex_dist_katex_mjs_09t3q2al91qhp._.js → 1-u6_katex_dist_katex_mjs_13edkqm6t1q3b._.js} +1 -1
  173. package/.next/server/chunks/ssr/{1bjv_@milkdown_preset-gfm_lib_index_04pvj1u0oclag.js → 1a3a_@milkdown_preset-gfm_lib_index_1vk3jpxc25ee8.js} +2 -2
  174. package/.next/server/chunks/ssr/{214e_@milkdown_kit_lib_prose_state_0eq9g8z4xeh-u.js → 1jrj_@milkdown_kit_lib_prose_state_1j_uy430849tn.js} +2 -2
  175. package/.next/server/chunks/ssr/{0jby_remark-gfm_lib_index_0yd1x-xt5kcpe.js → 1k4e_remark-gfm_lib_index_06is2myg8lnri.js} +2 -2
  176. package/.next/server/chunks/ssr/{0tee_@milkdown_components_lib_link-tooltip_index_0_yn-0wcgrhst.js → 1ozf_@milkdown_components_lib_link-tooltip_index_1hvyp99q423_o.js} +2 -2
  177. package/.next/server/chunks/ssr/[root-of-the-server]__00gr3qyd8-dvb._.js +3 -0
  178. package/.next/server/chunks/ssr/{[root-of-the-server]__1iimaf2bu0424._.js → [root-of-the-server]__052ivr1bj6h3m._.js} +2 -2
  179. package/.next/server/chunks/ssr/{[root-of-the-server]__1o26vr103y40w._.js → [root-of-the-server]__06h77zv80-8m-._.js} +2 -2
  180. package/.next/server/chunks/ssr/[root-of-the-server]__08kvicm61y4u1._.js +3 -0
  181. package/.next/server/chunks/ssr/[root-of-the-server]__09lymwel_or87._.js +1 -1
  182. package/.next/server/chunks/ssr/{[root-of-the-server]__076i3q845sw_f._.js → [root-of-the-server]__09zwmtvmbni_5._.js} +2 -2
  183. package/.next/server/chunks/ssr/{[root-of-the-server]__1859jwyl-0dyv._.js → [root-of-the-server]__0b1bu_rn1ltd8._.js} +2 -2
  184. package/.next/server/chunks/ssr/{[root-of-the-server]__0of5i1kim-02t._.js → [root-of-the-server]__0eit2e7039z0p._.js} +2 -2
  185. package/.next/server/chunks/ssr/[root-of-the-server]__0hogoguacz8ur._.js +1 -1
  186. package/.next/server/chunks/ssr/{[root-of-the-server]__0sh5kpcrtscul._.js → [root-of-the-server]__0jl-8k-kdry0z._.js} +2 -2
  187. package/.next/server/chunks/ssr/{[root-of-the-server]__0tygv-zuxlxc7._.js → [root-of-the-server]__0l7bvadwyl9pk._.js} +2 -2
  188. package/.next/server/chunks/ssr/[root-of-the-server]__0q3r5zcq1nq-l._.js +1 -1
  189. package/.next/server/chunks/ssr/[root-of-the-server]__0spx3hluw-kou._.js +3 -0
  190. package/.next/server/chunks/ssr/[root-of-the-server]__0u_5idffbe8e2._.js +3 -0
  191. package/.next/server/chunks/ssr/[root-of-the-server]__0vmd5kxnst7_n._.js +1 -1
  192. package/.next/server/chunks/ssr/{[root-of-the-server]__08_dlsgm45li_._.js → [root-of-the-server]__0xgp-w0xnnk40._.js} +2 -2
  193. package/.next/server/chunks/ssr/[root-of-the-server]__14mo0eg108qyc._.js +3 -0
  194. package/.next/server/chunks/ssr/[root-of-the-server]__14vsuap94qdvv._.js +1 -1
  195. package/.next/server/chunks/ssr/{[root-of-the-server]__0y8_n69fn3dcz._.js → [root-of-the-server]__161u6tbhzyxvh._.js} +2 -2
  196. package/.next/server/chunks/ssr/{[root-of-the-server]__0azxp5zozje9_._.js → [root-of-the-server]__18wfno_vh8-kq._.js} +2 -2
  197. package/.next/server/chunks/ssr/[root-of-the-server]__1at64e6zbwoan._.js +1 -1
  198. package/.next/server/chunks/ssr/{[root-of-the-server]__09lybaidp4ytp._.js → [root-of-the-server]__1cfmhdear73jb._.js} +2 -2
  199. package/.next/server/chunks/ssr/{[root-of-the-server]__0qvsu-225ae-9._.js → [root-of-the-server]__1cle6bds9k0xg._.js} +2 -2
  200. package/.next/server/chunks/ssr/[root-of-the-server]__1gxuu885zb7rn._.js +3 -0
  201. package/.next/server/chunks/ssr/[root-of-the-server]__1i-khow6d_8_4._.js +1 -1
  202. package/.next/server/chunks/ssr/[root-of-the-server]__1iil9wste8hko._.js +14 -0
  203. package/.next/server/chunks/ssr/[root-of-the-server]__1ox3l2713bqq8._.js +3 -0
  204. package/.next/server/chunks/ssr/[root-of-the-server]__1qg27t6-twvk1._.js +1 -1
  205. package/.next/server/chunks/ssr/[root-of-the-server]__1r0lv_nd2c9rc._.js +1 -1
  206. package/.next/server/chunks/ssr/{[root-of-the-server]__0u-oy5lhckmao._.js → [root-of-the-server]__1vfzwf-7au9_n._.js} +2 -2
  207. package/.next/server/chunks/ssr/{[root-of-the-server]__0tshst3064nz2._.js → [root-of-the-server]__1yp4oqy24gton._.js} +2 -2
  208. package/.next/server/chunks/ssr/_00u85u5a1h8o6._.js +1 -1
  209. package/.next/server/chunks/ssr/_05on_wt1huo7_._.js +3 -0
  210. package/.next/server/chunks/ssr/{_18sy10caq_3xy._.js → _0_7umkn7p7olg._.js} +3 -3
  211. package/.next/server/chunks/ssr/_0as6zbu4ir8qr._.js +3 -0
  212. package/.next/server/chunks/ssr/_0xb68euaes2ir._.js +25 -0
  213. package/.next/server/chunks/ssr/_0xvw-2qcgrfc_._.js +299 -0
  214. package/.next/server/chunks/ssr/_1jtb1or9alij4._.js +3 -0
  215. package/.next/server/chunks/ssr/_1slk-hkdgtggu._.js +1 -1
  216. package/.next/server/chunks/ssr/{node_modules__pnpm_1nyoq9twng2wo._.js → node_modules__pnpm_00v6u4xorvx1u._.js} +1 -1
  217. package/.next/server/chunks/ssr/{node_modules__pnpm_00g26sbhm2qr8._.js → node_modules__pnpm_02h2jt06fdr_i._.js} +2 -2
  218. package/.next/server/chunks/ssr/{node_modules__pnpm_0du4dffjinahl._.js → node_modules__pnpm_04y8w7l_lkxkq._.js} +1 -1
  219. package/.next/server/chunks/ssr/{node_modules__pnpm_04fd_yhkpujoe._.js → node_modules__pnpm_04zbf0s1mg-jk._.js} +2 -2
  220. package/.next/server/chunks/ssr/{node_modules__pnpm_1_i3oawxylmn8._.js → node_modules__pnpm_086313lwbkefv._.js} +3 -3
  221. package/.next/server/chunks/ssr/{node_modules__pnpm_1sd1boa0gva3j._.js → node_modules__pnpm_087okf97ps5hu._.js} +2 -2
  222. package/.next/server/chunks/ssr/node_modules__pnpm_0bh_u1hzr_k9b._.js +3 -0
  223. package/.next/server/chunks/ssr/{node_modules__pnpm_0kiaaocx_r38o._.js → node_modules__pnpm_0cw1sn39f7ipd._.js} +1 -1
  224. package/.next/server/chunks/ssr/{node_modules__pnpm_0__tvs66hrkj1._.js → node_modules__pnpm_0d5g5z5pw-uk4._.js} +2 -2
  225. package/.next/server/chunks/ssr/node_modules__pnpm_0f367qx6641jk._.js +3 -0
  226. package/.next/server/chunks/ssr/{node_modules__pnpm_0w52gu6fi-rer._.js → node_modules__pnpm_0igaqw6c00j23._.js} +1 -1
  227. package/.next/server/chunks/ssr/{node_modules__pnpm_1_0hw--0aak_w._.js → node_modules__pnpm_0lou5rtfyap0z._.js} +1 -1
  228. package/.next/server/chunks/ssr/{node_modules__pnpm_0l2p_8m_pr_pe._.js → node_modules__pnpm_0p0vftztmmoh6._.js} +1 -1
  229. package/.next/server/chunks/ssr/{node_modules__pnpm_1dd1bpb31liq8._.js → node_modules__pnpm_0q0ui45rmz0fr._.js} +1 -1
  230. package/.next/server/chunks/ssr/{node_modules__pnpm_1fblsasq51xzj._.js → node_modules__pnpm_0wmhdj6x4m0s0._.js} +2 -2
  231. package/.next/server/chunks/ssr/{node_modules__pnpm_0nxr_4vwzyim4._.js → node_modules__pnpm_0xaotjpkg4qao._.js} +1 -1
  232. package/.next/server/chunks/ssr/{node_modules__pnpm_1-fjiyetdmmzj._.js → node_modules__pnpm_0z4cezi8rjogm._.js} +1 -1
  233. package/.next/server/chunks/ssr/{node_modules__pnpm_1fmtfej-kjecy._.js → node_modules__pnpm_1630zwvi651i9._.js} +1 -1
  234. package/.next/server/chunks/ssr/node_modules__pnpm_17jl2q4sdi66z._.js +3 -0
  235. package/.next/server/chunks/ssr/{node_modules__pnpm_0h9wrjze1unqt._.js → node_modules__pnpm_183txivokpkqz._.js} +1 -1
  236. package/.next/server/chunks/ssr/{node_modules__pnpm_0h16tk2cwq36v._.js → node_modules__pnpm_19-kbr_mkaxyx._.js} +2 -2
  237. package/.next/server/chunks/ssr/node_modules__pnpm_193s_2t5-q4lu._.js +3 -0
  238. package/.next/server/chunks/ssr/node_modules__pnpm_1ajqvorudjmgk._.js +3 -0
  239. package/.next/server/chunks/ssr/{node_modules__pnpm_19q-yb_mzzzol._.js → node_modules__pnpm_1axn2zjxin7nf._.js} +1 -1
  240. package/.next/server/chunks/ssr/{node_modules__pnpm_199adbugc26zi._.js → node_modules__pnpm_1hwpxex-sjz90._.js} +1 -1
  241. package/.next/server/chunks/ssr/{node_modules__pnpm_1xnu-1xs6nb5k._.js → node_modules__pnpm_1injkojmxh-ml._.js} +1 -1
  242. package/.next/server/chunks/ssr/{node_modules__pnpm_0do83ll585lrb._.js → node_modules__pnpm_1k3_90gaq0wg7._.js} +1 -1
  243. package/.next/server/chunks/ssr/{node_modules__pnpm_1zgy286fn4qrs._.js → node_modules__pnpm_1mbudsl2qaz35._.js} +2 -2
  244. package/.next/server/chunks/ssr/{node_modules__pnpm_1a_-9rnk37pv_._.js → node_modules__pnpm_1nknzmq2xjlpz._.js} +1 -1
  245. package/.next/server/chunks/ssr/{node_modules__pnpm_0h3t5msxq4d8x._.js → node_modules__pnpm_1o220-8_u4-x-._.js} +1 -1
  246. package/.next/server/chunks/ssr/{node_modules__pnpm_0bkd7rab1k1ug._.js → node_modules__pnpm_1r7dunb4op2_m._.js} +2 -2
  247. package/.next/server/chunks/ssr/{node_modules__pnpm_1a803tkkqathx._.js → node_modules__pnpm_1wvz0c6z8wodm._.js} +2 -2
  248. package/.next/server/chunks/ssr/{node_modules__pnpm_1jd-wnr4c6ime._.js → node_modules__pnpm_1z75eplnp_uw5._.js} +2 -2
  249. package/.next/server/chunks/ssr/{node_modules__pnpm_20n5vs3e57egd._.js → node_modules__pnpm_20fyrostt4-cj._.js} +1 -1
  250. package/.next/server/chunks/ssr/packages_app_src_19fv2qm5lpxq1._.js +1 -1
  251. package/.next/server/chunks/ssr/packages_app_src_1bc3z770b0d4g._.js +1 -1
  252. package/.next/server/chunks/ssr/packages_app_src_client_0g-zs1cjy28nl._.js +3 -0
  253. package/.next/server/chunks/ssr/packages_app_src_client_1-hnm8frefi_z._.js +3 -0
  254. package/.next/server/chunks/ssr/packages_app_src_client_1_javrsbc_aq_._.js +3 -0
  255. package/.next/server/chunks/ssr/packages_app_src_client_ui_1ty1yi51yl_mx._.js +3 -3
  256. package/.next/server/chunks/ssr/packages_app_src_client_ui_designSystem_16yt2l4h_k0xz._.js +1 -1
  257. package/.next/server/chunks/ssr/packages_app_src_client_ui_issues_BlockerLine_tsx_0fvsr74_7eb8n._.js +3 -0
  258. package/.next/server/chunks/ssr/packages_app_src_client_ui_issues_IssueTable_tsx_1451_aayfauch._.js +1 -1
  259. package/.next/server/chunks/ssr/packages_app_src_client_ui_issues_NewIssueDialog_tsx_1_lt839dbbegv._.js +1 -1
  260. package/.next/server/chunks/ssr/packages_app_src_client_ui_screens_board_BoardScreen_tsx_0s58uy_mft-qa._.js +1 -1
  261. package/.next/server/chunks/ssr/packages_app_src_client_ui_screens_decisions_DecisionsScreen_tsx_1splyy_8-x3pj._.js +1 -1
  262. package/.next/server/chunks/ssr/packages_app_src_client_ui_screens_epics_EpicsScreen_tsx_10koyjd4-sokd._.js +1 -1
  263. package/.next/server/chunks/ssr/packages_app_src_client_ui_screens_hygiene_HygieneScreen_tsx_0xm43-zl8kmfv._.js +1 -1
  264. package/.next/server/chunks/ssr/packages_app_src_client_ui_screens_issues_IssuesScreen_tsx_1hjq50yb745mo._.js +1 -1
  265. package/.next/server/edge/chunks/{1_n6_next_dist_esm_build_templates_edge-wrapper_139ztfeu83dtf.js → 02gm_next_dist_esm_build_templates_edge-wrapper_0cn1ef9fqzvnl.js} +2 -2
  266. package/.next/server/edge/chunks/{_0h7un2lf5xhnc._.js → _1_b9xkrda1k5s._.js} +2 -2
  267. package/.next/server/instrumentation/middleware-manifest.json +2 -2
  268. package/.next/server/middleware-build-manifest.js +50 -50
  269. package/.next/server/middleware.js +3 -3
  270. package/.next/server/middleware.js.nft.json +1 -1
  271. package/.next/server/pages/404.html +1 -1
  272. package/.next/server/pages/500.html +1 -1
  273. package/.next/server/preview-props.json +3 -3
  274. package/.next/server/server-reference-manifest.js +1 -1
  275. package/.next/server/server-reference-manifest.json +17 -17
  276. package/.next/static/chunks/{0qz60578fkr7_.js → 0272-d4ex88fl.js} +1 -1
  277. package/.next/static/chunks/{0cabbhqjiz224.js → 02p8ll7_n2_ri.js} +1 -1
  278. package/.next/static/chunks/{2863d6hg7_88-.js → 08_9rbv1ks1ey.js} +1 -1
  279. package/.next/static/chunks/09p-ekirrh5s6.js +1 -0
  280. package/.next/static/chunks/{0m673ey220fls.js → 0_rd3y3k7mnm9.js} +1 -1
  281. package/.next/static/chunks/0e-fvv1ix6nbj.js +1 -0
  282. package/.next/static/chunks/{084ej6i9qw54j.js → 0lg7y_ivemk1g.js} +1 -1
  283. package/.next/static/chunks/{227mhvflnjadl.js → 0q9idviqnkka_.js} +1 -1
  284. package/.next/static/chunks/{3ecfeqjbabub5.js → 0sefn6j9lobdh.js} +7 -7
  285. package/.next/static/chunks/{3ag_d1w8ai1dy.js → 0x_4dkgoq2x17.js} +1 -1
  286. package/.next/static/chunks/15ukz5ursv_c4.js +90 -0
  287. package/.next/static/chunks/16scd9j8t4pm6.js +1 -0
  288. package/.next/static/chunks/17-tksqovtok2.js +1 -0
  289. package/.next/static/chunks/175ye17hz03qm.js +74 -0
  290. package/.next/static/chunks/{322qb_kay6_dh.js → 1b7bn3-wh-scs.js} +1 -1
  291. package/.next/static/chunks/{0w12by1gms55l.js → 1esceuzes2qas.js} +1 -1
  292. package/.next/static/chunks/{20atsxy3rjjrd.js → 1hnmjsdt-73v4.js} +1 -1
  293. package/.next/static/chunks/1htn2_jw0oqek.js +1 -0
  294. package/.next/static/chunks/1i3-4r53x1s8t.js +1 -0
  295. package/.next/static/chunks/1mgyda7xrgxp3.js +22 -0
  296. package/.next/static/chunks/1pegyin52x7dm.js +53 -0
  297. package/.next/static/chunks/{0lhbxb-hxh-9z.js → 1qfei1aefzuoz.js} +1 -1
  298. package/.next/static/chunks/1ys_6vjnz-7ah.js +1 -0
  299. package/.next/static/chunks/{044ya20hr6lpq.js → 2-poyy6mlraub.js} +1 -1
  300. package/.next/static/chunks/20y_iirdx6vp1.js +1 -0
  301. package/.next/static/chunks/22hgo8z-yg_pu.js +9 -0
  302. package/.next/static/chunks/22vcgnff2q8rd.js +1 -0
  303. package/.next/static/chunks/293yn-85k60_m.js +88 -0
  304. package/.next/static/chunks/2clsk6eipaspq.js +1 -0
  305. package/.next/static/chunks/2cvm9hv0lg9oq.js +1 -0
  306. package/.next/static/chunks/{3cza5dvg2076b.js → 2gaouhmoltd17.js} +1 -1
  307. package/.next/static/chunks/2gh948bdx7n4h.js +1 -0
  308. package/.next/static/chunks/2iqgac4dnds7z.js +1 -0
  309. package/.next/static/chunks/2qf-bx4e18s1-.js +1 -0
  310. package/.next/static/chunks/2wbmm--h8psma.js +1 -0
  311. package/.next/static/chunks/{2v2lltug-e2as.js → 2wpjv_5b94qrf.js} +3 -3
  312. package/.next/static/chunks/2wxi7f5qhk5ro.js +31 -0
  313. package/.next/static/chunks/390-bqvvvti8m.js +1 -0
  314. package/.next/static/chunks/{2l4j_87dswys4.js → 39m-unkvi03vf.js} +1 -1
  315. package/.next/static/chunks/3_b59-f87szqi.js +1 -0
  316. package/.next/static/chunks/{2ejaecoye9ub2.js → 3_iky7rejspzx.js} +1 -1
  317. package/.next/static/chunks/3cl6bui_jv091.js +1 -0
  318. package/.next/static/chunks/{3-w21-v3xw7xl.js → 3g16auece-_2l.js} +1 -1
  319. package/.next/static/chunks/3gjd3n0fvrlgn.js +1 -0
  320. package/.next/static/chunks/{30b1f7z6m_g2o.js → 3ka0lm_biw9ez.js} +1 -1
  321. package/.next/static/chunks/{15ajhna3p_jbl.js → 3ooucquz27jxs.js} +1 -1
  322. package/.next/static/chunks/3wm8k3ecexl1t.js +1 -0
  323. package/.next/static/chunks/{14r9tx1ylqkdd.js → 3x-p-ucgyytks.js} +1 -1
  324. package/.next/static/chunks/{0zja4_p14i1p8.js → 3zc---1if5pr8.js} +1 -1
  325. package/.next/static/chunks/40swn-dd2k1ts.js +1 -0
  326. package/README.ko.md +4 -2
  327. package/README.md +4 -2
  328. package/package.json +1 -1
  329. package/.next/server/chunks/[root-of-the-server]__11bvqbes4g_x3._.js +0 -5
  330. package/.next/server/chunks/[root-of-the-server]__20ro7mv0nna0v._.js +0 -3
  331. package/.next/server/chunks/_00b94jqphddy1._.js +0 -3
  332. package/.next/server/chunks/_016uu1siddgx2._.js +0 -3
  333. package/.next/server/chunks/_06bsii67q7yo6._.js +0 -3
  334. package/.next/server/chunks/_0i562xm36lquh._.js +0 -3
  335. package/.next/server/chunks/_0lx-opy56s5c6._.js +0 -3
  336. package/.next/server/chunks/_0qbf8y587q6bu._.js +0 -3
  337. package/.next/server/chunks/_0rm-wc2vo3piv._.js +0 -3
  338. package/.next/server/chunks/_0s7zs7vzx_ylx._.js +0 -3
  339. package/.next/server/chunks/_0xwu00a8s2-yg._.js +0 -3
  340. package/.next/server/chunks/_0y6_en0_cs0o3._.js +0 -3
  341. package/.next/server/chunks/_102aj9ahpwc9u._.js +0 -10
  342. package/.next/server/chunks/_11katfvzfhpy9._.js +0 -3
  343. package/.next/server/chunks/_15u7zxu6y0q9w._.js +0 -3
  344. package/.next/server/chunks/_1cr-1ah3asieh._.js +0 -3
  345. package/.next/server/chunks/_1is_u1uzjetxm._.js +0 -3
  346. package/.next/server/chunks/_1pmfwik0sv_fj._.js +0 -3
  347. package/.next/server/chunks/_2155dycg7481k._.js +0 -3
  348. package/.next/server/chunks/ssr/0-na_next_dist_0v22fkgl1dei7._.js +0 -3
  349. package/.next/server/chunks/ssr/0-na_next_dist_167mi2pg1epou._.js +0 -3
  350. package/.next/server/chunks/ssr/0-na_next_dist_1obel6la6bfir._.js +0 -6
  351. package/.next/server/chunks/ssr/0-na_next_dist_client_components_builtin_1iah_ms13r9-a._.js +0 -33
  352. package/.next/server/chunks/ssr/0-na_next_dist_client_components_builtin_forbidden_1tn71dj7nsmm9.js +0 -3
  353. package/.next/server/chunks/ssr/0-na_next_dist_client_components_builtin_unauthorized_1v356ydmzbedc.js +0 -3
  354. package/.next/server/chunks/ssr/0-na_next_dist_compiled_0u74mrfe4mo1d._.js +0 -3
  355. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_05wl45qgcqk39.js +0 -3
  356. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_08-b4uarsqzff.js +0 -3
  357. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_09wp5x9z70ftx.js +0 -3
  358. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_0j7iske5kstio.js +0 -3
  359. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_17w6wwo4xnm32.js +0 -3
  360. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_1bu5t180bl2zv.js +0 -3
  361. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_1mv7fkhdbene9.js +0 -3
  362. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_1o0u8v-gnw2rq.js +0 -3
  363. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_1rvza4ou0v1-n.js +0 -3
  364. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_1xbwpw2s40so0.js +0 -3
  365. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_21bi4df-u6lk_.js +0 -3
  366. package/.next/server/chunks/ssr/044y_@milkdown_crepe_lib_esm_feature_code-mirror_index_060e1a7cm58y2.js +0 -92
  367. package/.next/server/chunks/ssr/[root-of-the-server]__02u9f32ry284v._.js +0 -14
  368. package/.next/server/chunks/ssr/[root-of-the-server]__03fd40g3mm6_p._.js +0 -3
  369. package/.next/server/chunks/ssr/[root-of-the-server]__068ixxdaa5ac8._.js +0 -3
  370. package/.next/server/chunks/ssr/[root-of-the-server]__0yx3-boz833my._.js +0 -3
  371. package/.next/server/chunks/ssr/[root-of-the-server]__0zob21vm-qus-._.js +0 -3
  372. package/.next/server/chunks/ssr/[root-of-the-server]__1l1qy81q6o38c._.js +0 -3
  373. package/.next/server/chunks/ssr/[root-of-the-server]__1l5v10nlz9ydv._.js +0 -3
  374. package/.next/server/chunks/ssr/[root-of-the-server]__1rhtswovlx559._.js +0 -3
  375. package/.next/server/chunks/ssr/_06n6aoyvk4v8d._.js +0 -3
  376. package/.next/server/chunks/ssr/_0xpnl68zms_u4._.js +0 -25
  377. package/.next/server/chunks/ssr/_1gjuc1gubpwo8._.js +0 -3
  378. package/.next/server/chunks/ssr/_1oeap-f-o07w3._.js +0 -299
  379. package/.next/server/chunks/ssr/_1pzwyebui89yg._.js +0 -3
  380. package/.next/server/chunks/ssr/node_modules__pnpm_0-62y689aghse._.js +0 -3
  381. package/.next/server/chunks/ssr/node_modules__pnpm_00k8x00osl00i._.js +0 -3
  382. package/.next/server/chunks/ssr/node_modules__pnpm_08vun7__wqvc_._.js +0 -3
  383. package/.next/server/chunks/ssr/node_modules__pnpm_0qf67-025iumd._.js +0 -3
  384. package/.next/server/chunks/ssr/node_modules__pnpm_1tun34xzr03al._.js +0 -3
  385. package/.next/server/chunks/ssr/packages_app_src_client_0pwh_vrm-wymc._.js +0 -3
  386. package/.next/server/chunks/ssr/packages_app_src_client_0r-n14ighyx-y._.js +0 -3
  387. package/.next/server/chunks/ssr/packages_app_src_client_1938frqd2y9i8._.js +0 -3
  388. package/.next/server/chunks/ssr/packages_app_src_client_1al1sum_4am90._.js +0 -3
  389. package/.next/server/chunks/ssr/packages_app_src_client_1z17i_fpf0hcf._.js +0 -3
  390. package/.next/static/chunks/08e-n-dvxwrgk.js +0 -1
  391. package/.next/static/chunks/0ab637ez1hz_2.js +0 -1
  392. package/.next/static/chunks/0elrnj--45x-p.js +0 -1
  393. package/.next/static/chunks/0mqwot5nztff2.js +0 -1
  394. package/.next/static/chunks/0on9azsug3puk.js +0 -74
  395. package/.next/static/chunks/0s0tbdn2edof5.js +0 -1
  396. package/.next/static/chunks/1p93o2jvb5khm.js +0 -1
  397. package/.next/static/chunks/20jkms8tp9cu8.js +0 -1
  398. package/.next/static/chunks/20zt2omjfov9y.js +0 -1
  399. package/.next/static/chunks/212bl3le86sf0.js +0 -90
  400. package/.next/static/chunks/28467g2j8_z52.js +0 -31
  401. package/.next/static/chunks/2gjhwlah4s7g7.js +0 -9
  402. package/.next/static/chunks/2i8pc2o3bcjfy.js +0 -1
  403. package/.next/static/chunks/2lu1_r-7ufue1.js +0 -1
  404. package/.next/static/chunks/2vlza7qd86k_r.js +0 -1
  405. package/.next/static/chunks/2y15jhcretd-b.js +0 -1
  406. package/.next/static/chunks/32k_tipl5eadn.js +0 -1
  407. package/.next/static/chunks/33g403p6483nz.js +0 -1
  408. package/.next/static/chunks/33swkxqq98hj-.js +0 -53
  409. package/.next/static/chunks/345-lv7asgqfe.js +0 -1
  410. package/.next/static/chunks/38_owsclvyxjn.js +0 -1
  411. package/.next/static/chunks/3gaptf_l1v4pk.js +0 -22
  412. package/.next/static/chunks/3gogi06rt5ndf.js +0 -1
  413. package/.next/static/chunks/3j8hy0m9t_mr-.js +0 -1
  414. package/.next/static/chunks/3l0wfpq_kkgel.js +0 -1
  415. package/.next/static/chunks/3mjtba5cz5f6w.js +0 -88
  416. package/.next/static/chunks/3xkn55zbxtzwn.js +0 -1
  417. package/.next/static/chunks/3y-01knvv8ugx.js +0 -1
  418. /package/.next/static/{a1rmmFBl1qMxxHFKx8Vs5 → LOTjYNiSiuGh3o1Qxq5_0}/_buildManifest.js +0 -0
  419. /package/.next/static/{a1rmmFBl1qMxxHFKx8Vs5 → LOTjYNiSiuGh3o1Qxq5_0}/_clientMiddlewareManifest.js +0 -0
  420. /package/.next/static/{a1rmmFBl1qMxxHFKx8Vs5 → LOTjYNiSiuGh3o1Qxq5_0}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,825339,t=>{let e,n=Math.min,r=Math.max,i=Math.round,o=Math.floor,l=t=>({x:t,y:t}),a={left:"right",right:"left",bottom:"top",top:"bottom"};function c(t,e){return"function"==typeof t?t(e):t}function u(t){return t.split("-")[0]}function f(t){return t.split("-")[1]}function s(t){return"x"===t?"y":"x"}function d(t){return"y"===t?"height":"width"}function p(t){let e=t[0];return"t"===e||"b"===e?"y":"x"}function m(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}let h=["left","right"],y=["right","left"],g=["top","bottom"],w=["bottom","top"];function x(t){let e=u(t);return a[e]+t.slice(e.length)}function v(t){let{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function C(t,e,n){let r,{reference:i,floating:o}=t,l=p(e),a=s(p(e)),c=d(a),m=u(e),h=i.x+i.width/2-o.width/2,y=i.y+i.height/2-o.height/2,g=i[c]/2-o[c]/2;switch(m){case"top":r={x:h,y:i.y-o.height};break;case"bottom":r={x:h,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:y};break;case"left":r={x:i.x-o.width,y:y};break;default:r={x:i.x,y:i.y}}let w=f(e);return w&&(r[a]+=g*("end"===w?1:-1)*(n&&"y"===l?-1:1)),r}async function b(t,e){var n,r,i,o,l;void 0===e&&(e={});let{x:a,y:u,platform:f,rects:s,elements:d,strategy:p}=t,{boundary:m="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:g=!1,padding:w=0}=c(e,t),x="number"!=typeof w?{top:null!=(r=w.top)?r:0,right:null!=(i=w.right)?i:0,bottom:null!=(o=w.bottom)?o:0,left:null!=(l=w.left)?l:0}:{top:w,right:w,bottom:w,left:w},C=d[g?"floating"===y?"reference":"floating":y],b=v(await f.getClippingRect({element:null==(n=await (null==f.isElement?void 0:f.isElement(C)))||n?C:C.contextElement||await (null==f.getDocumentElement?void 0:f.getDocumentElement(d.floating)),boundary:m,rootBoundary:h,strategy:p})),R="floating"===y?{x:a,y:u,width:s.floating.width,height:s.floating.height}:s.reference,k=await (null==f.getOffsetParent?void 0:f.getOffsetParent(d.floating)),S=await (null==f.isElement?void 0:f.isElement(k))&&await (null==f.getScale?void 0:f.getScale(k))||{x:1,y:1},T=v(f.convertOffsetParentRelativeRectToViewportRelativeRect?await f.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:R,offsetParent:k,strategy:p}):R);return{top:(b.top-T.top+x.top)/S.y,bottom:(T.bottom-b.bottom+x.bottom)/S.y,left:(b.left-T.left+x.left)/S.x,right:(T.right-b.right+x.right)/S.x}}let R=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:b},c=await (null==l.isRTL?void 0:l.isRTL(e)),u=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:s}=C(u,r,c),d=r,p=0,m={};for(let n=0;n<o.length;n++){let h=o[n];if(!h)continue;let{name:y,fn:g}=h,{x:w,y:x,data:v,reset:b}=await g({x:f,y:s,initialPlacement:r,placement:d,strategy:i,middlewareData:m,rects:u,platform:a,elements:{reference:t,floating:e}});f=null!=w?w:f,s=null!=x?x:s,m[y]={...m[y],...v},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(u=!0===b.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):b.rects),{x:f,y:s}=C(u,d,c)),n=-1)}return{x:f,y:s,placement:d,strategy:i,middlewareData:m}},k=new Set(["left","top"]);async function S(t,e){let{placement:n,platform:r,elements:i}=t,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=u(n),a=f(n),s="y"===p(n),d=k.has(l)?-1:1,m=o&&s?-1:1,h=c(e,t),{mainAxis:y,crossAxis:g,alignmentAxis:w}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof w&&(g="end"===a?-1*w:w),s?{x:g*m,y:y*d}:{x:y*d,y:g*m}}function T(){return"u">typeof window}function A(t){return O(t)?(t.nodeName||"").toLowerCase():"#document"}function E(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function L(t){var e;return null==(e=(O(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function O(t){return!!T()&&(t instanceof Node||t instanceof E(t).Node)}function $(t){return!!T()&&(t instanceof Element||t instanceof E(t).Element)}function V(t){return!!T()&&(t instanceof HTMLElement||t instanceof E(t).HTMLElement)}function j(t){return!(!T()||"u"<typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof E(t).ShadowRoot)}function P(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=N(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&"inline"!==i&&"contents"!==i}function M(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}let D=/transform|translate|scale|rotate|perspective|filter/,F=/paint|layout|strict|content/,W=t=>!!t&&"none"!==t;function K(t){let e=$(t)?N(t):t;return W(e.transform)||W(e.translate)||W(e.scale)||W(e.rotate)||W(e.perspective)||!H()&&(W(e.backdropFilter)||W(e.filter))||D.test(e.willChange||"")||F.test(e.contain||"")}function H(){return null==e&&(e="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),e}function z(t){return/^(html|body|#document)$/.test(A(t))}function N(t){return E(t).getComputedStyle(t)}function U(t){return $(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function B(t){if("html"===A(t))return t;let e=t.assignedSlot||t.parentNode||j(t)&&t.host||L(t);return j(e)?e.host:e}function I(t,e,n){var r;void 0===e&&(e=[]),void 0===n&&(n=!0);let i=function t(e){let n=B(e);return z(n)?(e.ownerDocument||e).body:V(n)&&P(n)?n:t(n)}(t),o=i===(null==(r=t.ownerDocument)?void 0:r.body),l=E(i);if(!o)return e.concat(i,I(i,[],n));{let t=_(l);return e.concat(l,l.visualViewport||[],P(i)?i:[],t&&n?I(t):[])}}function _(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Q(t){let e=N(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,o=V(t),l=o?t.offsetWidth:n,a=o?t.offsetHeight:r,c=i(n)!==l||i(r)!==a;return c&&(n=l,r=a),{width:n,height:r,$:c}}function q(t){return $(t)?t:t.contextElement}function G(t){let e=q(t);if(!V(e))return l(1);let n=e.getBoundingClientRect(),{width:r,height:o,$:a}=Q(e),c=(a?i(n.width):n.width)/r,u=(a?i(n.height):n.height)/o;return c&&Number.isFinite(c)||(c=1),u&&Number.isFinite(u)||(u=1),{x:c,y:u}}let X=l(0);function Y(t){let e=E(t);return H()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:X}function J(t,e,n,r){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),a=q(t),c=l(1);e&&(r?$(r)&&(c=G(r)):c=G(t));let u=(void 0===(i=n)&&(i=!1),r&&i&&r===E(a))?Y(a):l(0),f=(o.left+u.x)/c.x,s=(o.top+u.y)/c.y,d=o.width/c.x,p=o.height/c.y;if(a&&r){let t=E(a),e=$(r)?E(r):r,n=t,i=_(n);for(;i&&e!==n;){let t=G(i),e=i.getBoundingClientRect(),r=N(i),o=e.left+(i.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(r.paddingTop))*t.y;f*=t.x,s*=t.y,d*=t.x,p*=t.y,f+=o,s+=l,i=_(n=E(i))}}return v({width:d,height:p,x:f,y:s})}function Z(t,e){let n=U(t).scrollLeft;return e?e.left+n:J(L(t)).left+n}function tt(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-Z(t,n),y:n.top+e.scrollTop}}function te(t,e,n){var i;let o;if("viewport"===e||"layoutViewport"===e)o=function(t,e,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,i=E(t),o=L(t),l=i.visualViewport,a=o.clientWidth,c=o.clientHeight,u=0,f=0;if(l){let t=!H()||"fixed"===e;r?t||(u=-l.offsetLeft,f=-l.offsetTop):(a=l.width,c=l.height,t&&(u=l.offsetLeft,f=l.offsetTop))}if(0>=Z(o)){let t=o.ownerDocument,e=t.body,n=getComputedStyle(e),r="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(o.clientWidth-e.clientWidth-r),l="stable both-edges"===getComputedStyle(o).scrollbarGutter?i/2:i;l<=25&&(a-=l)}return{width:a,height:c,x:u,y:f}}(t,n,e);else if("document"===e){let e,n,l,a,c,u;e=U(i=L(t)),n=i.ownerDocument.body,l=r(i.scrollWidth,i.clientWidth,n.scrollWidth,n.clientWidth),a=r(i.scrollHeight,i.clientHeight,n.scrollHeight,n.clientHeight),c=-e.scrollLeft+Z(i),u=-e.scrollTop,"rtl"===N(n).direction&&(c+=r(i.clientWidth,n.clientWidth)-l),o={width:l,height:a,x:c,y:u}}else if($(e)){let t,r,i,l,a,c;r=(t=J(e,!0,"fixed"===n)).top+e.clientTop,i=t.left+e.clientLeft,l=G(e),a=e.clientWidth*l.x,c=e.clientHeight*l.y,o={width:a,height:c,x:i*l.x,y:r*l.y}}else{let n=Y(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return v(o)}function tn(t){return"static"===N(t).position}function tr(t,e){if(!V(t)||"fixed"===N(t).position)return null;if(e)return e(t);let n=t.offsetParent;return L(t)===n&&(n=n.ownerDocument.body),n}function ti(t,e){var n;let r=E(t);if(M(t))return r;if(!V(t)){let e=B(t);for(;e&&!z(e);){if($(e)&&!tn(e))return e;e=B(e)}return r}let i=tr(t,e);for(;i&&(n=i,/^(table|td|th)$/.test(A(n)))&&tn(i);)i=tr(i,e);return i&&z(i)&&tn(i)&&!K(i)?r:i||function(t){let e=B(t);for(;V(e)&&!z(e);){if(K(e))return e;if(M(e))break;e=B(e)}return null}(t)||r}let to=async function(t){let e=this.getOffsetParent||ti,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=V(e),i=L(e),o="fixed"===n,a=J(t,!0,o,e),c={scrollLeft:0,scrollTop:0},u=l(0);if((r||!o)&&(("body"!==A(e)||P(i))&&(c=U(e)),r)){let t=J(e,!0,o,e);u.x=t.x+e.clientLeft,u.y=t.y+e.clientTop}!r&&i&&(u.x=Z(i));let f=!i||r||o?l(0):tt(i,c);return{x:a.left+c.scrollLeft-u.x-f.x,y:a.top+c.scrollTop-u.y-f.y,width:a.width,height:a.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},tl={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t,o="fixed"===i,a=L(r),c=!!e&&M(e.floating);if(r===a||c&&o)return n;let u={scrollLeft:0,scrollTop:0},f=l(1),s=l(0),d=V(r);if((d||!o)&&(("body"!==A(r)||P(a))&&(u=U(r)),d)){let t=J(r);f=G(r),s.x=t.x+r.clientLeft,s.y=t.y+r.clientTop}let p=!a||d||o?l(0):tt(a,u);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-u.scrollLeft*f.x+s.x+p.x,y:n.y*f.y-u.scrollTop*f.y+s.y+p.y}},getDocumentElement:L,getClippingRect:function(t){let{element:e,boundary:i,rootBoundary:o,strategy:l}=t,a=[..."clippingAncestors"===i?M(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=I(t,[],!1).filter(t=>$(t)&&"body"!==A(t)),i=null,o="fixed"===N(t).position,l=o?B(t):t;for(;$(l)&&!z(l);){let t=N(l),e=K(l),n=i?i.position:o?"fixed":"";e||"fixed"!==n&&("absolute"!==n||"static"!==t.position)?i=t:r=r.filter(t=>t!==l),l=B(l)}return e.set(t,r),r}(e,this._c):[].concat(i),o],c=te(e,a[0],l),u=c.top,f=c.right,s=c.bottom,d=c.left;for(let t=1;t<a.length;t++){let i=te(e,a[t],l);u=r(i.top,u),f=n(i.right,f),s=n(i.bottom,s),d=r(i.left,d)}return{width:f-d,height:s-u,x:d,y:u}},getOffsetParent:ti,getElementRects:to,getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){let{width:e,height:n}=Q(t);return{width:e,height:n}},getScale:G,isElement:$,isRTL:function(t){return"rtl"===N(t).direction}};function ta(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}t.s(["n",0,function(t,e,i,l){let a;void 0===l&&(l={});let{ancestorScroll:c=!0,ancestorResize:u=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=l,p=q(t),m=c||u?[...p?I(p):[],...e?I(e):[]]:[];m.forEach(t=>{c&&t.addEventListener("scroll",i),u&&t.addEventListener("resize",i)});let h=p&&s?function(t,e,i){let l,a=null,c=L(t);function u(){var t;clearTimeout(l),null==(t=a)||t.disconnect(),a=null}function f(i,s){void 0===i&&(i=!1),void 0===s&&(s=1),u();let d=t.getBoundingClientRect(),{left:p,top:m,width:h,height:y}=d;if(i||e(),!h||!y)return;let g={rootMargin:-o(m)+"px "+-o(c.clientWidth-(p+h))+"px "+-o(c.clientHeight-(m+y))+"px "+-o(p)+"px",threshold:r(0,n(1,s))||1},w=!0;function x(e){let n=e[0].intersectionRatio;if(!ta(d,t.getBoundingClientRect()))return f();if(n!==s){if(!w)return f();n?f(!1,n):l=setTimeout(()=>{f(!1,1e-7)},1e3)}w=!1}try{a=new IntersectionObserver(x,{...g,root:c.ownerDocument})}catch(t){a=new IntersectionObserver(x,g)}a.observe(t)}let s=E(t),d=()=>f(i);return s.addEventListener("resize",d),f(!0),()=>{s.removeEventListener("resize",d),u()}}(p,i,u):null,y=-1,g=null;f&&(g=new ResizeObserver(t=>{let[n]=t;n&&n.target===p&&g&&e&&(g.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var t;null==(t=g)||t.observe(e)})),i()}),p&&!d&&g.observe(p),e&&g.observe(e));let w=d?J(t):null;return d&&function e(){let n=J(t);w&&!ta(w,n)&&i(),w=n,a=requestAnimationFrame(e)}(),i(),()=>{var t;m.forEach(t=>{c&&t.removeEventListener("scroll",i),u&&t.removeEventListener("resize",i)}),null==h||h(),null==(t=g)||t.disconnect(),g=null,d&&cancelAnimationFrame(a)}},"A",0,(t,e,n)=>{let r=new Map,i=null!=n?n:{},o={...tl,...i.platform,_c:r};return R(t,e,{...i,platform:o})},"x",0,function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,i,o,l,a,v,C;let b,R,k,{placement:S,middlewareData:T,rects:A,initialPlacement:E,platform:L,elements:O}=e,{mainAxis:$=!0,crossAxis:V=!0,fallbackPlacements:j,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:D=!0,...F}=c(t,e);if(null!=(n=T.arrow)&&n.alignmentOffset)return{};let W=u(S),K=p(E),H=u(E)===E,z=await (null==L.isRTL?void 0:L.isRTL(O.floating)),N=j||(H||!D?[x(E)]:(b=x(E),[m(E),b,m(b)])),U="none"!==M;!j&&U&&N.push(...(R=f(E),k=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?y:h;return e?h:y;case"left":case"right":return e?g:w;default:return[]}}(u(E),"start"===M,z),R&&(k=k.map(t=>t+"-"+R),D&&(k=k.concat(k.map(m)))),k));let B=[E,...N],I=await L.detectOverflow(e,F),_=[],Q=(null==(r=T.flip)?void 0:r.overflows)||[];if($&&_.push(I[W]),V){let t,e,n,r,i=(a=S,v=A,void 0===(C=z)&&(C=!1),t=f(a),n=d(e=s(p(a))),r="x"===e?t===(C?"end":"start")?"right":"left":"start"===t?"bottom":"top",v.reference[n]>v.floating[n]&&(r=x(r)),[r,x(r)]);_.push(I[i[0]],I[i[1]])}if(Q=[...Q,{placement:S,overflows:_}],!_.every(t=>t<=0)){let t=((null==(i=T.flip)?void 0:i.index)||0)+1,e=B[t];if(e&&("alignment"!==V||K===p(e)||Q.every(t=>p(t.placement)!==K||t.overflows[0]>0)))return{data:{index:t,overflows:Q},reset:{placement:e}};let n=null==(o=Q.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:o.placement;if(!n)switch(P){case"bestFit":{let t=null==(l=Q.filter(t=>{if(U){let e=p(t.placement);return e===K||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:l[0];t&&(n=t);break}case"initialPlacement":n=E}if(S!==n)return{reset:{placement:n}}}return{}}}},"T",0,function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;let{x:i,y:o,placement:l,middlewareData:a}=e,c=await S(e,t);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+c.x,y:o+c.y,data:{...c,placement:l}}}}},"e",0,function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:i,y:o,placement:l,platform:a}=e,{mainAxis:u=!0,crossAxis:f=!1,limiter:d={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...m}=c(t,e),h={x:i,y:o},y=await a.detectOverflow(e,m),g=p(l),w=s(g),x=h[w],v=h[g],C=(t,e)=>r(e+y["y"===t?"top":"left"],n(e,e-y["y"===t?"bottom":"right"]));u&&(x=C(w,x)),f&&(v=C(g,v));let b=d.fn({...e,[w]:x,[g]:v});return{...b,data:{x:b.x-i,y:b.y-o,enabled:{[w]:u,[g]:f}}}}}}],825339)},87736,578024,t=>{var e=t.i(279002),n=t.i(960707);let r=t=>crypto.getRandomValues(new Uint8Array(t)),i=(t,e=21)=>((t,e,n)=>{let r=256-256%t.length;if(256===r){let r=t.length-1;return (i=e)=>{if(!i)return"";let o="";for(;;){let e=n(i),l=i|=0;for(;l--;)if((o+=t[e[l]&r]).length>=i)return o}}}return (i=e)=>{if(!i)return"";let o="",l=Math.ceil(409.6*i/r);for(;;){let e=n(l),a=l;for(;a--;)if(e[a]<r&&(o+=t[e[a]%t.length]).length>=i)return o}}})(t,0|e,r);t.s(["f",0,i],578024);var o=t.i(463001),l=t.i(605938),a=t.i(541681),c=t.i(111092),u=i("abcedfghicklmn",10);function f(t,e,n){let r=t.findIndex(([t])=>t===e);if(-1===r)return[...t,n];let i=t.slice();return i[r]=n,i}function s(t,e,r){let i=(0,n.P)(r||u()),o=!1,l=n=>(n.record(i),n.update(e,t=>t.concat(i)),async()=>{let r=await t(n,l,()=>{n.done(i),o=!0});return o||n.done(i),()=>{if(n.update(e,t=>t.filter(t=>t!==i)),n.clearTimer(i),r){let t=r();t&&"then"in t&&t.catch(console.error)}}});return l.timer=i,l}function d(t,n){let r=i=>async()=>{let o=n(i);return i.update(e.marksCtx,e=>f(e,t,[t,o])),r.id=t,r.schema=o,()=>{i.update(e.marksCtx,e=>e.filter(([e])=>e!==t))}};return r.type=n=>{let r=n.get(e.schemaCtx).marks[t];if(!r)throw(0,o.S)(t);return r},r}function p(t,n){let r=i=>async()=>{let o=n(i);return i.update(e.nodesCtx,e=>f(e,t,[t,o])),r.id=t,r.schema=o,()=>{i.update(e.nodesCtx,e=>e.filter(([e])=>e!==t))}};return r.type=n=>{let r=n.get(e.schemaCtx).nodes[t];if(!r)throw(0,o.y)(t);return r},r}function m(t){let n=r=>async()=>{await r.wait(e.KeymapReady);let i=r.get(e.keymapCtx),o=t(r),l=i.addObjectKeymap(o);return n.keymap=o,()=>{l()}};return n}function h(t,e){let r=(0,n.W)(t,e),i=t=>(t.inject(r),()=>()=>{t.remove(r)});return i.key=r,i}function y(t){return n=>{let r=n.get(e.parserCtx)(t),i=n.get(e.schemaCtx),o=l.h.fromSchema(i).serializeFragment(r.content);return l.p.fromSchema(i).parseSlice(o)}}t.s(["$command",0,function(t,n){let r=(0,e.createCmdKey)(t),i=o=>async()=>{i.key=r,await o.wait(e.CommandsReady);let l=n(o);return o.get(e.commandsCtx).create(r,l),i.run=n=>o.get(e.commandsCtx).call(t,n),()=>{o.get(e.commandsCtx).remove(r)}};return i},"$commandAsync",0,function(t,n,r){let i=(0,e.createCmdKey)(t);return s(async(r,o)=>{await r.wait(e.CommandsReady);let l=await n(r);return r.get(e.commandsCtx).create(i,l),o.run=n=>r.get(e.commandsCtx).call(t,n),o.key=i,()=>{r.get(e.commandsCtx).remove(i)}},e.commandsTimerCtx,r)},"$ctx",0,h,"$inputRule",0,function(t){let n=r=>async()=>{await r.wait(e.SchemaReady);let i=t(r);return r.update(e.inputRulesCtx,t=>[...t,i]),n.inputRule=i,()=>{r.update(e.inputRulesCtx,t=>t.filter(t=>t!==i))}};return n},"$inputRuleAsync",0,function(t,n){return s(async(n,r)=>{await n.wait(e.SchemaReady);let i=await t(n);return n.update(e.inputRulesCtx,t=>[...t,i]),r.inputRule=i,()=>{n.update(e.inputRulesCtx,t=>t.filter(t=>t!==i))}},e.editorStateTimerCtx,n)},"$mark",0,d,"$markAsync",0,function(t,n,r){let i=s(async(r,i,o)=>{let l=await n(r);return r.update(e.marksCtx,e=>f(e,t,[t,l])),i.id=t,i.schema=l,o(),()=>{r.update(e.marksCtx,e=>e.filter(([e])=>e!==t))}},e.schemaTimerCtx,r);return i.type=n=>{let r=n.get(e.schemaCtx).marks[t];if(!r)throw(0,o.S)(t);return r},i},"$markAttr",0,(t,e=()=>({}))=>h(e,`${t}Attr`),"$markSchema",0,function t(e,n){let r=h(n,e),i=d(e,t=>t.get(r.key)(t)),o=[r,i];return o.id=i.id,o.mark=i,o.type=t=>i.type(t),o.ctx=r,o.key=r.key,o.extendSchema=r=>t(e,r(n)),o},"$node",0,p,"$nodeAsync",0,function(t,n,r){let i=s(async(r,i,o)=>{let l=await n(r);return r.update(e.nodesCtx,e=>f(e,t,[t,l])),i.id=t,i.schema=l,o(),()=>{r.update(e.nodesCtx,e=>e.filter(([e])=>e!==t))}},e.schemaTimerCtx,r);return i.type=n=>{let r=n.get(e.schemaCtx).nodes[t];if(!r)throw(0,o.y)(t);return r},i},"$nodeAttr",0,(t,e=()=>({}))=>h(e,`${t}Attr`),"$nodeSchema",0,function t(e,n){let r=h(n,e),i=p(e,t=>t.get(r.key)(t)),o=[r,i];return o.id=i.id,o.node=i,o.type=t=>i.type(t),o.ctx=r,o.key=r.key,o.extendSchema=r=>t(e,r(n)),o},"$pasteRule",0,function(t){let n=r=>async()=>{await r.wait(e.SchemaReady);let i=t(r);return r.update(e.pasteRulesCtx,t=>[...t,i]),n.pasteRule=i,()=>{r.update(e.pasteRulesCtx,t=>t.filter(t=>t!==i))}};return n},"$pasteRuleAsync",0,function(t,n){return s(async(n,r)=>{await n.wait(e.SchemaReady);let i=await t(n);return n.update(e.pasteRulesCtx,t=>[...t,i]),r.pasteRule=i,()=>{n.update(e.pasteRulesCtx,t=>t.filter(t=>t!==i))}},e.pasteRulesTimerCtx,n)},"$prose",0,function(t){let n,r=r=>async()=>(await r.wait(e.SchemaReady),n=t(r),r.update(e.prosePluginsCtx,t=>[...t,n]),()=>{r.update(e.prosePluginsCtx,t=>t.filter(t=>t!==n))});return r.plugin=()=>n,r.key=()=>n.spec.key,r},"$proseAsync",0,function(t,n){let r,i=s(async n=>(await n.wait(e.SchemaReady),r=await t(n),n.update(e.prosePluginsCtx,t=>[...t,r]),()=>{n.update(e.prosePluginsCtx,t=>t.filter(t=>t!==r))}),e.editorStateTimerCtx,n);return i.plugin=()=>r,i.key=()=>r.spec.key,i},"$remark",0,function(t,n,r){let i=h(r??{},t),o=t=>async()=>{await t.wait(e.InitReady);let r={plugin:n(t),options:t.get(i.key)};return t.update(e.remarkPluginsCtx,t=>[...t,r]),()=>{t.update(e.remarkPluginsCtx,t=>t.filter(t=>t!==r))}},l=[i,o];return l.id=t,l.plugin=o,l.options=i,l},"$shortcut",0,m,"$shortcutAsync",0,function(t,n){return s(async(n,r)=>{await n.wait(e.KeymapReady);let i=n.get(e.keymapCtx),o=await t(n),l=i.addObjectKeymap(o);return r.keymap=o,()=>{l()}},e.editorStateTimerCtx,n)},"$useKeymap",0,function(t,e){let n=h(Object.fromEntries(Object.entries(e).map(([t,{shortcuts:e,priority:n}])=>[t,{shortcuts:e,priority:n}])),`${t}Keymap`),r=m(t=>{let r=t.get(n.key);return Object.fromEntries(Object.entries(e).flatMap(([t,{command:e}])=>{let n=r[t],i=[n.shortcuts].flat(),o=n.priority;return i.map(t=>[t,{key:t,onRun:e,priority:o}])}))}),i=[n,r];return i.ctx=n,i.shortcuts=r,i.key=n.key,i.keymap=r.keymap,i},"$view",0,function(t,n){let r=i=>async()=>{await i.wait(e.SchemaReady);let o=n(i);return t.type(i)instanceof l.Q?i.update(e.nodeViewCtx,e=>[...e,[t.id,o]]):i.update(e.markViewCtx,e=>[...e,[t.id,o]]),r.view=o,r.type=t,()=>{t.type(i)instanceof l.Q?i.update(e.nodeViewCtx,e=>e.filter(e=>e[0]!==t.id)):i.update(e.markViewCtx,e=>e.filter(e=>e[0]!==t.id))}};return r},"$viewAsync",0,function(t,n,r){return s(async(r,i)=>{await r.wait(e.SchemaReady);let o=await n(r);return t.type(r)instanceof l.Q?r.update(e.nodeViewCtx,e=>[...e,[t.id,o]]):r.update(e.markViewCtx,e=>[...e,[t.id,o]]),i.view=o,i.type=t,()=>{t.type(r)instanceof l.Q?r.update(e.nodeViewCtx,e=>e.filter(e=>e[0]!==t.id)):r.update(e.markViewCtx,e=>e.filter(e=>e[0]!==t.id))}},e.editorViewTimerCtx,r)},"addTimer",0,s,"callCommand",0,function(t,n){return r=>r.get(e.commandsCtx).call(t,n)},"forceUpdate",0,function(){return t=>{let n=t.get(e.editorViewCtx),{tr:r}=n.state,i=Object.assign(Object.create(r),r).setTime(Date.now());return n.dispatch(i)}},"getHTML",0,function(){return t=>{let n=document.createElement("div"),r=t.get(e.schemaCtx),i=t.get(e.editorViewCtx),o=l.h.fromSchema(r).serializeFragment(i.state.doc.content);return n.appendChild(o),n.innerHTML}},"getMarkdown",0,function(t){return n=>{let r=n.get(e.editorViewCtx),i=n.get(e.schemaCtx),o=n.get(e.serializerCtx);if(!t)return o(r.state.doc);let l=r.state.doc.slice(t.from,t.to,!0),a=i.topNodeType.createAndFill(null,l.content);return a?o(a):(console.error("No document found"),"")}},"insert",0,function(t,n=!1){return r=>{let i=r.get(e.editorViewCtx),o=r.get(e.parserCtx)(t);if(!o)return;if(!n){let t=i.state.selection.content();return i.dispatch(i.state.tr.replaceSelection(new l.k(o.content,t.openStart,t.openEnd)).scrollIntoView())}let c=r.get(e.schemaCtx),u=l.h.fromSchema(c).serializeFragment(o.content),f=l.p.fromSchema(c).parseSlice(u),s=(0,a.D)(f);s?i.dispatch(i.state.tr.replaceSelectionWith(s,!0)):i.dispatch(i.state.tr.replaceSelection(f))}},"insertPos",0,function(t,n,r=!1){return i=>{let o=y(t)(i),l=i.get(e.editorViewCtx),a=l.state.doc.resolve(n),c=l.state.doc.content.size,u=r?a.pos:a.after(a.depth-1),f=Math.min(Math.max(u,0),c);l.dispatch(l.state.tr.replace(u,f,o))}},"markdownToSlice",0,y,"nanoid",0,u,"outline",0,function(){return t=>{let n=t.get(e.editorViewCtx),r=[];return n.state.doc.descendants(t=>{"heading"===t.type.name&&t.attrs.level&&r.push({text:t.textContent,level:t.attrs.level,id:t.attrs.id})}),r}},"pipe",0,(...t)=>{let e=t.length,n=e;for(;n--;)if("function"!=typeof t[n])throw TypeError("Expected a function");return(...n)=>{let r=0,i=e?t[r](...n):n[0];for(;++r<e;)i=t[r](i);return i}},"replaceAll",0,function(t,n=!1){return r=>{let i=r.get(e.editorViewCtx),o=r.get(e.parserCtx)(t);if(!o)return;if(!n){let{state:t}=i;return i.dispatch(t.tr.replace(0,t.doc.content.size,new l.k(o.content,0,0)))}let a=r.get(e.schemaCtx),u=r.get(e.editorStateOptionsCtx)({schema:a,doc:o,plugins:r.get(e.prosePluginsCtx)}),f=c.EditorState.create(u);i.updateState(f)}},"replaceRange",0,function(t,n){return r=>{let i=r.get(e.editorViewCtx),o=y(t)(r);i.dispatch(i.state.tr.replace(n.from,n.to,o))}},"setAttr",0,function(t,n){return r=>{let i=r.get(e.editorViewCtx),{tr:o}=i.state,l=o.doc.nodeAt(t);if(!l)return;let a=n(l.attrs);return i.dispatch(o.setNodeMarkup(t,void 0,a))}},"upsertById",0,f],87736)},7284,t=>{function e(){for(var t,e,n=0,r="",i=arguments.length;n<i;n++)(t=arguments[n])&&(e=function t(e){var n,r,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(n=0;n<o;n++)e[n]&&(r=t(e[n]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}(t))&&(r&&(r+=" "),r+=e);return r}t.s(["q",0,e,"U",0,e])},706462,274874,659173,122954,t=>{var e=t.g&&t.g.Object===Object&&t.g;t.s(["f",0,e],274874);var n="object"==typeof self&&self&&self.Object===Object&&self,r=e||n||Function("return this")();t.s(["f",0,r],659173);var i=r.Symbol;t.s(["f",0,i],122954);var o=Object.prototype,l=o.hasOwnProperty,a=o.toString,c=i?i.toStringTag:void 0;let u=function(t){var e=l.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[c]=n:delete t[c]),i};var f=Object.prototype.toString,s=i?i.toStringTag:void 0;t.s(["f",0,function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?u(t):f.call(t)}],706462)},753935,t=>{var e=t.i(49862),n=t.i(900819),r=t.i(673656),i=Math.max,o=Math.min;t.s(["f",0,function(t,l,a){var c,u,f,s,d,p,m=0,h=!1,y=!1,g=!0;if("function"!=typeof t)throw TypeError("Expected a function");function w(e){var n=c,r=u;return c=u=void 0,m=e,s=t.apply(r,n)}function x(t){var e=t-p,n=t-m;return void 0===p||e>=l||e<0||y&&n>=f}function v(){var t,e,r,i=(0,n.f)();if(x(i))return C(i);d=setTimeout(v,(t=i-p,e=i-m,r=l-t,y?o(r,f-e):r))}function C(t){return(d=void 0,g&&c)?w(t):(c=u=void 0,s)}function b(){var t,e=(0,n.f)(),r=x(e);if(c=arguments,u=this,p=e,r){if(void 0===d)return m=t=p,d=setTimeout(v,l),h?w(t):s;if(y)return clearTimeout(d),d=setTimeout(v,l),w(p)}return void 0===d&&(d=setTimeout(v,l)),s}return l=(0,r.f)(l)||0,(0,e.f)(a)&&(h=!!a.leading,f=(y="maxWait"in a)?i((0,r.f)(a.maxWait)||0,l):f,g="trailing"in a?!!a.trailing:g),b.cancel=function(){void 0!==d&&clearTimeout(d),m=0,c=p=u=d=void 0},b.flush=function(){return void 0===d?s:C((0,n.f)())},b}])},49862,t=>{t.s(["f",0,function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}])},619637,492943,t=>{var e=t.i(706462);let n=function(t){return null!=t&&"object"==typeof t};t.s(["f",0,n],492943),t.s(["f",0,function(t){return"symbol"==typeof t||n(t)&&"[object Symbol]"==(0,e.f)(t)}],619637)},900819,t=>{var e=t.i(659173);t.s(["f",0,function(){return e.f.Date.now()}])},963095,t=>{var e=t.i(753935),n=t.i(49862);t.s(["f",0,function(t,r,i){var o=!0,l=!0;if("function"!=typeof t)throw TypeError("Expected a function");return(0,n.f)(i)&&(o="leading"in i?!!i.leading:o,l="trailing"in i?!!i.trailing:l),(0,e.f)(t,r,{leading:o,maxWait:r,trailing:l})}],963095)},673656,t=>{var e=/\s/;let n=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n};var r=/^\s+/,i=t.i(49862),o=t.i(619637),l=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;t.s(["f",0,function(t){if("number"==typeof t)return t;if((0,o.f)(t))return 0/0;if((0,i.f)(t)){var e,f="function"==typeof t.valueOf?t.valueOf():t;t=(0,i.f)(f)?f+"":f}if("string"!=typeof t)return 0===t?t:+t;t=(e=t)?e.slice(0,n(e)+1).replace(r,""):e;var s=a.test(t);return s||c.test(t)?u(t.slice(2),s?2:8):l.test(t)?0/0:+t}],673656)},260861,t=>{for(var e={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},n={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},r="u">typeof navigator&&/Mac/.test(navigator.platform),i="u">typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),o=0;o<10;o++)e[48+o]=e[96+o]=String(o);for(var o=1;o<=24;o++)e[o+111]="F"+o;for(var o=65;o<=90;o++)e[o]=String.fromCharCode(o+32),n[o]=String.fromCharCode(o);for(var l in e)n.hasOwnProperty(l)||(n[l]=e[l]);t.s(["j",0,e,"R",0,function(t){var o=!(r&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||i&&t.shiftKey&&t.key&&1==t.key.length||"Unidentified"==t.key)&&t.key||(t.shiftKey?n:e)[t.keyCode]||t.key||"Unidentified";return"Esc"==o&&(o="Escape"),"Del"==o&&(o="Delete"),"Left"==o&&(o="ArrowLeft"),"Up"==o&&(o="ArrowUp"),"Right"==o&&(o="ArrowRight"),"Down"==o&&(o="ArrowDown"),o},"e",0,n])}])})();
1
+ (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,825339,t=>{let e,n=Math.min,r=Math.max,i=Math.round,o=Math.floor,l=t=>({x:t,y:t}),a={left:"right",right:"left",bottom:"top",top:"bottom"};function c(t,e){return"function"==typeof t?t(e):t}function u(t){return t.split("-")[0]}function f(t){return t.split("-")[1]}function s(t){return"x"===t?"y":"x"}function d(t){return"y"===t?"height":"width"}function p(t){let e=t[0];return"t"===e||"b"===e?"y":"x"}function m(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}let h=["left","right"],y=["right","left"],g=["top","bottom"],w=["bottom","top"];function x(t){let e=u(t);return a[e]+t.slice(e.length)}function v(t){let{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function C(t,e,n){let r,{reference:i,floating:o}=t,l=p(e),a=s(p(e)),c=d(a),m=u(e),h=i.x+i.width/2-o.width/2,y=i.y+i.height/2-o.height/2,g=i[c]/2-o[c]/2;switch(m){case"top":r={x:h,y:i.y-o.height};break;case"bottom":r={x:h,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:y};break;case"left":r={x:i.x-o.width,y:y};break;default:r={x:i.x,y:i.y}}let w=f(e);return w&&(r[a]+=g*("end"===w?1:-1)*(n&&"y"===l?-1:1)),r}async function b(t,e){var n,r,i,o,l;void 0===e&&(e={});let{x:a,y:u,platform:f,rects:s,elements:d,strategy:p}=t,{boundary:m="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:g=!1,padding:w=0}=c(e,t),x="number"!=typeof w?{top:null!=(r=w.top)?r:0,right:null!=(i=w.right)?i:0,bottom:null!=(o=w.bottom)?o:0,left:null!=(l=w.left)?l:0}:{top:w,right:w,bottom:w,left:w},C=d[g?"floating"===y?"reference":"floating":y],b=v(await f.getClippingRect({element:null==(n=await (null==f.isElement?void 0:f.isElement(C)))||n?C:C.contextElement||await (null==f.getDocumentElement?void 0:f.getDocumentElement(d.floating)),boundary:m,rootBoundary:h,strategy:p})),R="floating"===y?{x:a,y:u,width:s.floating.width,height:s.floating.height}:s.reference,k=await (null==f.getOffsetParent?void 0:f.getOffsetParent(d.floating)),S=await (null==f.isElement?void 0:f.isElement(k))&&await (null==f.getScale?void 0:f.getScale(k))||{x:1,y:1},T=v(f.convertOffsetParentRelativeRectToViewportRelativeRect?await f.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:R,offsetParent:k,strategy:p}):R);return{top:(b.top-T.top+x.top)/S.y,bottom:(T.bottom-b.bottom+x.bottom)/S.y,left:(b.left-T.left+x.left)/S.x,right:(T.right-b.right+x.right)/S.x}}let R=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:b},c=await (null==l.isRTL?void 0:l.isRTL(e)),u=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:s}=C(u,r,c),d=r,p=0,m={};for(let n=0;n<o.length;n++){let h=o[n];if(!h)continue;let{name:y,fn:g}=h,{x:w,y:x,data:v,reset:b}=await g({x:f,y:s,initialPlacement:r,placement:d,strategy:i,middlewareData:m,rects:u,platform:a,elements:{reference:t,floating:e}});f=null!=w?w:f,s=null!=x?x:s,m[y]={...m[y],...v},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(u=!0===b.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):b.rects),{x:f,y:s}=C(u,d,c)),n=-1)}return{x:f,y:s,placement:d,strategy:i,middlewareData:m}},k=new Set(["left","top"]);async function S(t,e){let{placement:n,platform:r,elements:i}=t,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=u(n),a=f(n),s="y"===p(n),d=k.has(l)?-1:1,m=o&&s?-1:1,h=c(e,t),{mainAxis:y,crossAxis:g,alignmentAxis:w}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof w&&(g="end"===a?-1*w:w),s?{x:g*m,y:y*d}:{x:y*d,y:g*m}}function T(){return"u">typeof window}function A(t){return O(t)?(t.nodeName||"").toLowerCase():"#document"}function E(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function L(t){var e;return null==(e=(O(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function O(t){return!!T()&&(t instanceof Node||t instanceof E(t).Node)}function $(t){return!!T()&&(t instanceof Element||t instanceof E(t).Element)}function V(t){return!!T()&&(t instanceof HTMLElement||t instanceof E(t).HTMLElement)}function j(t){return!(!T()||"u"<typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof E(t).ShadowRoot)}function P(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=N(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&"inline"!==i&&"contents"!==i}function M(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}let D=/transform|translate|scale|rotate|perspective|filter/,F=/paint|layout|strict|content/,W=t=>!!t&&"none"!==t;function K(t){let e=$(t)?N(t):t;return W(e.transform)||W(e.translate)||W(e.scale)||W(e.rotate)||W(e.perspective)||!H()&&(W(e.backdropFilter)||W(e.filter))||D.test(e.willChange||"")||F.test(e.contain||"")}function H(){return null==e&&(e="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),e}function z(t){return/^(html|body|#document)$/.test(A(t))}function N(t){return E(t).getComputedStyle(t)}function U(t){return $(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function B(t){if("html"===A(t))return t;let e=t.assignedSlot||t.parentNode||j(t)&&t.host||L(t);return j(e)?e.host:e}function I(t,e,n){var r;void 0===e&&(e=[]),void 0===n&&(n=!0);let i=function t(e){let n=B(e);return z(n)?(e.ownerDocument||e).body:V(n)&&P(n)?n:t(n)}(t),o=i===(null==(r=t.ownerDocument)?void 0:r.body),l=E(i);if(!o)return e.concat(i,I(i,[],n));{let t=_(l);return e.concat(l,l.visualViewport||[],P(i)?i:[],t&&n?I(t):[])}}function _(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Q(t){let e=N(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,o=V(t),l=o?t.offsetWidth:n,a=o?t.offsetHeight:r,c=i(n)!==l||i(r)!==a;return c&&(n=l,r=a),{width:n,height:r,$:c}}function q(t){return $(t)?t:t.contextElement}function G(t){let e=q(t);if(!V(e))return l(1);let n=e.getBoundingClientRect(),{width:r,height:o,$:a}=Q(e),c=(a?i(n.width):n.width)/r,u=(a?i(n.height):n.height)/o;return c&&Number.isFinite(c)||(c=1),u&&Number.isFinite(u)||(u=1),{x:c,y:u}}let X=l(0);function Y(t){let e=E(t);return H()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:X}function J(t,e,n,r){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),a=q(t),c=l(1);e&&(r?$(r)&&(c=G(r)):c=G(t));let u=(void 0===(i=n)&&(i=!1),r&&i&&r===E(a))?Y(a):l(0),f=(o.left+u.x)/c.x,s=(o.top+u.y)/c.y,d=o.width/c.x,p=o.height/c.y;if(a&&r){let t=E(a),e=$(r)?E(r):r,n=t,i=_(n);for(;i&&e!==n;){let t=G(i),e=i.getBoundingClientRect(),r=N(i),o=e.left+(i.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(r.paddingTop))*t.y;f*=t.x,s*=t.y,d*=t.x,p*=t.y,f+=o,s+=l,i=_(n=E(i))}}return v({width:d,height:p,x:f,y:s})}function Z(t,e){let n=U(t).scrollLeft;return e?e.left+n:J(L(t)).left+n}function tt(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-Z(t,n),y:n.top+e.scrollTop}}function te(t,e,n){var i;let o;if("viewport"===e||"layoutViewport"===e)o=function(t,e,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,i=E(t),o=L(t),l=i.visualViewport,a=o.clientWidth,c=o.clientHeight,u=0,f=0;if(l){let t=!H()||"fixed"===e;r?t||(u=-l.offsetLeft,f=-l.offsetTop):(a=l.width,c=l.height,t&&(u=l.offsetLeft,f=l.offsetTop))}if(0>=Z(o)){let t=o.ownerDocument,e=t.body,n=getComputedStyle(e),r="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(o.clientWidth-e.clientWidth-r),l="stable both-edges"===getComputedStyle(o).scrollbarGutter?i/2:i;l<=25&&(a-=l)}return{width:a,height:c,x:u,y:f}}(t,n,e);else if("document"===e){let e,n,l,a,c,u;e=U(i=L(t)),n=i.ownerDocument.body,l=r(i.scrollWidth,i.clientWidth,n.scrollWidth,n.clientWidth),a=r(i.scrollHeight,i.clientHeight,n.scrollHeight,n.clientHeight),c=-e.scrollLeft+Z(i),u=-e.scrollTop,"rtl"===N(n).direction&&(c+=r(i.clientWidth,n.clientWidth)-l),o={width:l,height:a,x:c,y:u}}else if($(e)){let t,r,i,l,a,c;r=(t=J(e,!0,"fixed"===n)).top+e.clientTop,i=t.left+e.clientLeft,l=G(e),a=e.clientWidth*l.x,c=e.clientHeight*l.y,o={width:a,height:c,x:i*l.x,y:r*l.y}}else{let n=Y(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return v(o)}function tn(t){return"static"===N(t).position}function tr(t,e){if(!V(t)||"fixed"===N(t).position)return null;if(e)return e(t);let n=t.offsetParent;return L(t)===n&&(n=n.ownerDocument.body),n}function ti(t,e){var n;let r=E(t);if(M(t))return r;if(!V(t)){let e=B(t);for(;e&&!z(e);){if($(e)&&!tn(e))return e;e=B(e)}return r}let i=tr(t,e);for(;i&&(n=i,/^(table|td|th)$/.test(A(n)))&&tn(i);)i=tr(i,e);return i&&z(i)&&tn(i)&&!K(i)?r:i||function(t){let e=B(t);for(;V(e)&&!z(e);){if(K(e))return e;if(M(e))break;e=B(e)}return null}(t)||r}let to=async function(t){let e=this.getOffsetParent||ti,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=V(e),i=L(e),o="fixed"===n,a=J(t,!0,o,e),c={scrollLeft:0,scrollTop:0},u=l(0);if((r||!o)&&(("body"!==A(e)||P(i))&&(c=U(e)),r)){let t=J(e,!0,o,e);u.x=t.x+e.clientLeft,u.y=t.y+e.clientTop}!r&&i&&(u.x=Z(i));let f=!i||r||o?l(0):tt(i,c);return{x:a.left+c.scrollLeft-u.x-f.x,y:a.top+c.scrollTop-u.y-f.y,width:a.width,height:a.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},tl={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t,o="fixed"===i,a=L(r),c=!!e&&M(e.floating);if(r===a||c&&o)return n;let u={scrollLeft:0,scrollTop:0},f=l(1),s=l(0),d=V(r);if((d||!o)&&(("body"!==A(r)||P(a))&&(u=U(r)),d)){let t=J(r);f=G(r),s.x=t.x+r.clientLeft,s.y=t.y+r.clientTop}let p=!a||d||o?l(0):tt(a,u);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-u.scrollLeft*f.x+s.x+p.x,y:n.y*f.y-u.scrollTop*f.y+s.y+p.y}},getDocumentElement:L,getClippingRect:function(t){let{element:e,boundary:i,rootBoundary:o,strategy:l}=t,a=[..."clippingAncestors"===i?M(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=I(t,[],!1).filter(t=>$(t)&&"body"!==A(t)),i=null,o="fixed"===N(t).position,l=o?B(t):t;for(;$(l)&&!z(l);){let t=N(l),e=K(l),n=i?i.position:o?"fixed":"";e||"fixed"!==n&&("absolute"!==n||"static"!==t.position)?i=t:r=r.filter(t=>t!==l),l=B(l)}return e.set(t,r),r}(e,this._c):[].concat(i),o],c=te(e,a[0],l),u=c.top,f=c.right,s=c.bottom,d=c.left;for(let t=1;t<a.length;t++){let i=te(e,a[t],l);u=r(i.top,u),f=n(i.right,f),s=n(i.bottom,s),d=r(i.left,d)}return{width:f-d,height:s-u,x:d,y:u}},getOffsetParent:ti,getElementRects:to,getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){let{width:e,height:n}=Q(t);return{width:e,height:n}},getScale:G,isElement:$,isRTL:function(t){return"rtl"===N(t).direction}};function ta(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}t.s(["n",0,function(t,e,i,l){let a;void 0===l&&(l={});let{ancestorScroll:c=!0,ancestorResize:u=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=l,p=q(t),m=c||u?[...p?I(p):[],...e?I(e):[]]:[];m.forEach(t=>{c&&t.addEventListener("scroll",i),u&&t.addEventListener("resize",i)});let h=p&&s?function(t,e,i){let l,a=null,c=L(t);function u(){var t;clearTimeout(l),null==(t=a)||t.disconnect(),a=null}function f(i,s){void 0===i&&(i=!1),void 0===s&&(s=1),u();let d=t.getBoundingClientRect(),{left:p,top:m,width:h,height:y}=d;if(i||e(),!h||!y)return;let g={rootMargin:-o(m)+"px "+-o(c.clientWidth-(p+h))+"px "+-o(c.clientHeight-(m+y))+"px "+-o(p)+"px",threshold:r(0,n(1,s))||1},w=!0;function x(e){let n=e[0].intersectionRatio;if(!ta(d,t.getBoundingClientRect()))return f();if(n!==s){if(!w)return f();n?f(!1,n):l=setTimeout(()=>{f(!1,1e-7)},1e3)}w=!1}try{a=new IntersectionObserver(x,{...g,root:c.ownerDocument})}catch(t){a=new IntersectionObserver(x,g)}a.observe(t)}let s=E(t),d=()=>f(i);return s.addEventListener("resize",d),f(!0),()=>{s.removeEventListener("resize",d),u()}}(p,i,u):null,y=-1,g=null;f&&(g=new ResizeObserver(t=>{let[n]=t;n&&n.target===p&&g&&e&&(g.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var t;null==(t=g)||t.observe(e)})),i()}),p&&!d&&g.observe(p),e&&g.observe(e));let w=d?J(t):null;return d&&function e(){let n=J(t);w&&!ta(w,n)&&i(),w=n,a=requestAnimationFrame(e)}(),i(),()=>{var t;m.forEach(t=>{c&&t.removeEventListener("scroll",i),u&&t.removeEventListener("resize",i)}),null==h||h(),null==(t=g)||t.disconnect(),g=null,d&&cancelAnimationFrame(a)}},"A",0,(t,e,n)=>{let r=new Map,i=null!=n?n:{},o={...tl,...i.platform,_c:r};return R(t,e,{...i,platform:o})},"x",0,function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,i,o,l,a,v,C;let b,R,k,{placement:S,middlewareData:T,rects:A,initialPlacement:E,platform:L,elements:O}=e,{mainAxis:$=!0,crossAxis:V=!0,fallbackPlacements:j,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:D=!0,...F}=c(t,e);if(null!=(n=T.arrow)&&n.alignmentOffset)return{};let W=u(S),K=p(E),H=u(E)===E,z=await (null==L.isRTL?void 0:L.isRTL(O.floating)),N=j||(H||!D?[x(E)]:(b=x(E),[m(E),b,m(b)])),U="none"!==M;!j&&U&&N.push(...(R=f(E),k=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?y:h;return e?h:y;case"left":case"right":return e?g:w;default:return[]}}(u(E),"start"===M,z),R&&(k=k.map(t=>t+"-"+R),D&&(k=k.concat(k.map(m)))),k));let B=[E,...N],I=await L.detectOverflow(e,F),_=[],Q=(null==(r=T.flip)?void 0:r.overflows)||[];if($&&_.push(I[W]),V){let t,e,n,r,i=(a=S,v=A,void 0===(C=z)&&(C=!1),t=f(a),n=d(e=s(p(a))),r="x"===e?t===(C?"end":"start")?"right":"left":"start"===t?"bottom":"top",v.reference[n]>v.floating[n]&&(r=x(r)),[r,x(r)]);_.push(I[i[0]],I[i[1]])}if(Q=[...Q,{placement:S,overflows:_}],!_.every(t=>t<=0)){let t=((null==(i=T.flip)?void 0:i.index)||0)+1,e=B[t];if(e&&("alignment"!==V||K===p(e)||Q.every(t=>p(t.placement)!==K||t.overflows[0]>0)))return{data:{index:t,overflows:Q},reset:{placement:e}};let n=null==(o=Q.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:o.placement;if(!n)switch(P){case"bestFit":{let t=null==(l=Q.filter(t=>{if(U){let e=p(t.placement);return e===K||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:l[0];t&&(n=t);break}case"initialPlacement":n=E}if(S!==n)return{reset:{placement:n}}}return{}}}},"T",0,function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;let{x:i,y:o,placement:l,middlewareData:a}=e,c=await S(e,t);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+c.x,y:o+c.y,data:{...c,placement:l}}}}},"e",0,function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:i,y:o,placement:l,platform:a}=e,{mainAxis:u=!0,crossAxis:f=!1,limiter:d={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...m}=c(t,e),h={x:i,y:o},y=await a.detectOverflow(e,m),g=p(l),w=s(g),x=h[w],v=h[g],C=(t,e)=>r(e+y["y"===t?"top":"left"],n(e,e-y["y"===t?"bottom":"right"]));u&&(x=C(w,x)),f&&(v=C(g,v));let b=d.fn({...e,[w]:x,[g]:v});return{...b,data:{x:b.x-i,y:b.y-o,enabled:{[w]:u,[g]:f}}}}}}],825339)},750505,578024,t=>{var e=t.i(300824),n=t.i(960707);let r=t=>crypto.getRandomValues(new Uint8Array(t)),i=(t,e=21)=>((t,e,n)=>{let r=256-256%t.length;if(256===r){let r=t.length-1;return (i=e)=>{if(!i)return"";let o="";for(;;){let e=n(i),l=i|=0;for(;l--;)if((o+=t[e[l]&r]).length>=i)return o}}}return (i=e)=>{if(!i)return"";let o="",l=Math.ceil(409.6*i/r);for(;;){let e=n(l),a=l;for(;a--;)if(e[a]<r&&(o+=t[e[a]%t.length]).length>=i)return o}}})(t,0|e,r);t.s(["f",0,i],578024);var o=t.i(463001),l=t.i(605938),a=t.i(541681),c=t.i(111092),u=i("abcedfghicklmn",10);function f(t,e,n){let r=t.findIndex(([t])=>t===e);if(-1===r)return[...t,n];let i=t.slice();return i[r]=n,i}function s(t,e,r){let i=(0,n.P)(r||u()),o=!1,l=n=>(n.record(i),n.update(e,t=>t.concat(i)),async()=>{let r=await t(n,l,()=>{n.done(i),o=!0});return o||n.done(i),()=>{if(n.update(e,t=>t.filter(t=>t!==i)),n.clearTimer(i),r){let t=r();t&&"then"in t&&t.catch(console.error)}}});return l.timer=i,l}function d(t,n){let r=i=>async()=>{let o=n(i);return i.update(e.marksCtx,e=>f(e,t,[t,o])),r.id=t,r.schema=o,()=>{i.update(e.marksCtx,e=>e.filter(([e])=>e!==t))}};return r.type=n=>{let r=n.get(e.schemaCtx).marks[t];if(!r)throw(0,o.S)(t);return r},r}function p(t,n){let r=i=>async()=>{let o=n(i);return i.update(e.nodesCtx,e=>f(e,t,[t,o])),r.id=t,r.schema=o,()=>{i.update(e.nodesCtx,e=>e.filter(([e])=>e!==t))}};return r.type=n=>{let r=n.get(e.schemaCtx).nodes[t];if(!r)throw(0,o.y)(t);return r},r}function m(t){let n=r=>async()=>{await r.wait(e.KeymapReady);let i=r.get(e.keymapCtx),o=t(r),l=i.addObjectKeymap(o);return n.keymap=o,()=>{l()}};return n}function h(t,e){let r=(0,n.W)(t,e),i=t=>(t.inject(r),()=>()=>{t.remove(r)});return i.key=r,i}function y(t){return n=>{let r=n.get(e.parserCtx)(t),i=n.get(e.schemaCtx),o=l.h.fromSchema(i).serializeFragment(r.content);return l.p.fromSchema(i).parseSlice(o)}}t.s(["$command",0,function(t,n){let r=(0,e.createCmdKey)(t),i=o=>async()=>{i.key=r,await o.wait(e.CommandsReady);let l=n(o);return o.get(e.commandsCtx).create(r,l),i.run=n=>o.get(e.commandsCtx).call(t,n),()=>{o.get(e.commandsCtx).remove(r)}};return i},"$commandAsync",0,function(t,n,r){let i=(0,e.createCmdKey)(t);return s(async(r,o)=>{await r.wait(e.CommandsReady);let l=await n(r);return r.get(e.commandsCtx).create(i,l),o.run=n=>r.get(e.commandsCtx).call(t,n),o.key=i,()=>{r.get(e.commandsCtx).remove(i)}},e.commandsTimerCtx,r)},"$ctx",0,h,"$inputRule",0,function(t){let n=r=>async()=>{await r.wait(e.SchemaReady);let i=t(r);return r.update(e.inputRulesCtx,t=>[...t,i]),n.inputRule=i,()=>{r.update(e.inputRulesCtx,t=>t.filter(t=>t!==i))}};return n},"$inputRuleAsync",0,function(t,n){return s(async(n,r)=>{await n.wait(e.SchemaReady);let i=await t(n);return n.update(e.inputRulesCtx,t=>[...t,i]),r.inputRule=i,()=>{n.update(e.inputRulesCtx,t=>t.filter(t=>t!==i))}},e.editorStateTimerCtx,n)},"$mark",0,d,"$markAsync",0,function(t,n,r){let i=s(async(r,i,o)=>{let l=await n(r);return r.update(e.marksCtx,e=>f(e,t,[t,l])),i.id=t,i.schema=l,o(),()=>{r.update(e.marksCtx,e=>e.filter(([e])=>e!==t))}},e.schemaTimerCtx,r);return i.type=n=>{let r=n.get(e.schemaCtx).marks[t];if(!r)throw(0,o.S)(t);return r},i},"$markAttr",0,(t,e=()=>({}))=>h(e,`${t}Attr`),"$markSchema",0,function t(e,n){let r=h(n,e),i=d(e,t=>t.get(r.key)(t)),o=[r,i];return o.id=i.id,o.mark=i,o.type=t=>i.type(t),o.ctx=r,o.key=r.key,o.extendSchema=r=>t(e,r(n)),o},"$node",0,p,"$nodeAsync",0,function(t,n,r){let i=s(async(r,i,o)=>{let l=await n(r);return r.update(e.nodesCtx,e=>f(e,t,[t,l])),i.id=t,i.schema=l,o(),()=>{r.update(e.nodesCtx,e=>e.filter(([e])=>e!==t))}},e.schemaTimerCtx,r);return i.type=n=>{let r=n.get(e.schemaCtx).nodes[t];if(!r)throw(0,o.y)(t);return r},i},"$nodeAttr",0,(t,e=()=>({}))=>h(e,`${t}Attr`),"$nodeSchema",0,function t(e,n){let r=h(n,e),i=p(e,t=>t.get(r.key)(t)),o=[r,i];return o.id=i.id,o.node=i,o.type=t=>i.type(t),o.ctx=r,o.key=r.key,o.extendSchema=r=>t(e,r(n)),o},"$pasteRule",0,function(t){let n=r=>async()=>{await r.wait(e.SchemaReady);let i=t(r);return r.update(e.pasteRulesCtx,t=>[...t,i]),n.pasteRule=i,()=>{r.update(e.pasteRulesCtx,t=>t.filter(t=>t!==i))}};return n},"$pasteRuleAsync",0,function(t,n){return s(async(n,r)=>{await n.wait(e.SchemaReady);let i=await t(n);return n.update(e.pasteRulesCtx,t=>[...t,i]),r.pasteRule=i,()=>{n.update(e.pasteRulesCtx,t=>t.filter(t=>t!==i))}},e.pasteRulesTimerCtx,n)},"$prose",0,function(t){let n,r=r=>async()=>(await r.wait(e.SchemaReady),n=t(r),r.update(e.prosePluginsCtx,t=>[...t,n]),()=>{r.update(e.prosePluginsCtx,t=>t.filter(t=>t!==n))});return r.plugin=()=>n,r.key=()=>n.spec.key,r},"$proseAsync",0,function(t,n){let r,i=s(async n=>(await n.wait(e.SchemaReady),r=await t(n),n.update(e.prosePluginsCtx,t=>[...t,r]),()=>{n.update(e.prosePluginsCtx,t=>t.filter(t=>t!==r))}),e.editorStateTimerCtx,n);return i.plugin=()=>r,i.key=()=>r.spec.key,i},"$remark",0,function(t,n,r){let i=h(r??{},t),o=t=>async()=>{await t.wait(e.InitReady);let r={plugin:n(t),options:t.get(i.key)};return t.update(e.remarkPluginsCtx,t=>[...t,r]),()=>{t.update(e.remarkPluginsCtx,t=>t.filter(t=>t!==r))}},l=[i,o];return l.id=t,l.plugin=o,l.options=i,l},"$shortcut",0,m,"$shortcutAsync",0,function(t,n){return s(async(n,r)=>{await n.wait(e.KeymapReady);let i=n.get(e.keymapCtx),o=await t(n),l=i.addObjectKeymap(o);return r.keymap=o,()=>{l()}},e.editorStateTimerCtx,n)},"$useKeymap",0,function(t,e){let n=h(Object.fromEntries(Object.entries(e).map(([t,{shortcuts:e,priority:n}])=>[t,{shortcuts:e,priority:n}])),`${t}Keymap`),r=m(t=>{let r=t.get(n.key);return Object.fromEntries(Object.entries(e).flatMap(([t,{command:e}])=>{let n=r[t],i=[n.shortcuts].flat(),o=n.priority;return i.map(t=>[t,{key:t,onRun:e,priority:o}])}))}),i=[n,r];return i.ctx=n,i.shortcuts=r,i.key=n.key,i.keymap=r.keymap,i},"$view",0,function(t,n){let r=i=>async()=>{await i.wait(e.SchemaReady);let o=n(i);return t.type(i)instanceof l.Q?i.update(e.nodeViewCtx,e=>[...e,[t.id,o]]):i.update(e.markViewCtx,e=>[...e,[t.id,o]]),r.view=o,r.type=t,()=>{t.type(i)instanceof l.Q?i.update(e.nodeViewCtx,e=>e.filter(e=>e[0]!==t.id)):i.update(e.markViewCtx,e=>e.filter(e=>e[0]!==t.id))}};return r},"$viewAsync",0,function(t,n,r){return s(async(r,i)=>{await r.wait(e.SchemaReady);let o=await n(r);return t.type(r)instanceof l.Q?r.update(e.nodeViewCtx,e=>[...e,[t.id,o]]):r.update(e.markViewCtx,e=>[...e,[t.id,o]]),i.view=o,i.type=t,()=>{t.type(r)instanceof l.Q?r.update(e.nodeViewCtx,e=>e.filter(e=>e[0]!==t.id)):r.update(e.markViewCtx,e=>e.filter(e=>e[0]!==t.id))}},e.editorViewTimerCtx,r)},"addTimer",0,s,"callCommand",0,function(t,n){return r=>r.get(e.commandsCtx).call(t,n)},"forceUpdate",0,function(){return t=>{let n=t.get(e.editorViewCtx),{tr:r}=n.state,i=Object.assign(Object.create(r),r).setTime(Date.now());return n.dispatch(i)}},"getHTML",0,function(){return t=>{let n=document.createElement("div"),r=t.get(e.schemaCtx),i=t.get(e.editorViewCtx),o=l.h.fromSchema(r).serializeFragment(i.state.doc.content);return n.appendChild(o),n.innerHTML}},"getMarkdown",0,function(t){return n=>{let r=n.get(e.editorViewCtx),i=n.get(e.schemaCtx),o=n.get(e.serializerCtx);if(!t)return o(r.state.doc);let l=r.state.doc.slice(t.from,t.to,!0),a=i.topNodeType.createAndFill(null,l.content);return a?o(a):(console.error("No document found"),"")}},"insert",0,function(t,n=!1){return r=>{let i=r.get(e.editorViewCtx),o=r.get(e.parserCtx)(t);if(!o)return;if(!n){let t=i.state.selection.content();return i.dispatch(i.state.tr.replaceSelection(new l.k(o.content,t.openStart,t.openEnd)).scrollIntoView())}let c=r.get(e.schemaCtx),u=l.h.fromSchema(c).serializeFragment(o.content),f=l.p.fromSchema(c).parseSlice(u),s=(0,a.D)(f);s?i.dispatch(i.state.tr.replaceSelectionWith(s,!0)):i.dispatch(i.state.tr.replaceSelection(f))}},"insertPos",0,function(t,n,r=!1){return i=>{let o=y(t)(i),l=i.get(e.editorViewCtx),a=l.state.doc.resolve(n),c=l.state.doc.content.size,u=r?a.pos:a.after(a.depth-1),f=Math.min(Math.max(u,0),c);l.dispatch(l.state.tr.replace(u,f,o))}},"markdownToSlice",0,y,"nanoid",0,u,"outline",0,function(){return t=>{let n=t.get(e.editorViewCtx),r=[];return n.state.doc.descendants(t=>{"heading"===t.type.name&&t.attrs.level&&r.push({text:t.textContent,level:t.attrs.level,id:t.attrs.id})}),r}},"pipe",0,(...t)=>{let e=t.length,n=e;for(;n--;)if("function"!=typeof t[n])throw TypeError("Expected a function");return(...n)=>{let r=0,i=e?t[r](...n):n[0];for(;++r<e;)i=t[r](i);return i}},"replaceAll",0,function(t,n=!1){return r=>{let i=r.get(e.editorViewCtx),o=r.get(e.parserCtx)(t);if(!o)return;if(!n){let{state:t}=i;return i.dispatch(t.tr.replace(0,t.doc.content.size,new l.k(o.content,0,0)))}let a=r.get(e.schemaCtx),u=r.get(e.editorStateOptionsCtx)({schema:a,doc:o,plugins:r.get(e.prosePluginsCtx)}),f=c.EditorState.create(u);i.updateState(f)}},"replaceRange",0,function(t,n){return r=>{let i=r.get(e.editorViewCtx),o=y(t)(r);i.dispatch(i.state.tr.replace(n.from,n.to,o))}},"setAttr",0,function(t,n){return r=>{let i=r.get(e.editorViewCtx),{tr:o}=i.state,l=o.doc.nodeAt(t);if(!l)return;let a=n(l.attrs);return i.dispatch(o.setNodeMarkup(t,void 0,a))}},"upsertById",0,f],750505)},7284,t=>{function e(){for(var t,e,n=0,r="",i=arguments.length;n<i;n++)(t=arguments[n])&&(e=function t(e){var n,r,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(n=0;n<o;n++)e[n]&&(r=t(e[n]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}(t))&&(r&&(r+=" "),r+=e);return r}t.s(["q",0,e,"U",0,e])},706462,274874,659173,122954,t=>{var e=t.g&&t.g.Object===Object&&t.g;t.s(["f",0,e],274874);var n="object"==typeof self&&self&&self.Object===Object&&self,r=e||n||Function("return this")();t.s(["f",0,r],659173);var i=r.Symbol;t.s(["f",0,i],122954);var o=Object.prototype,l=o.hasOwnProperty,a=o.toString,c=i?i.toStringTag:void 0;let u=function(t){var e=l.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[c]=n:delete t[c]),i};var f=Object.prototype.toString,s=i?i.toStringTag:void 0;t.s(["f",0,function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?u(t):f.call(t)}],706462)},753935,t=>{var e=t.i(49862),n=t.i(900819),r=t.i(673656),i=Math.max,o=Math.min;t.s(["f",0,function(t,l,a){var c,u,f,s,d,p,m=0,h=!1,y=!1,g=!0;if("function"!=typeof t)throw TypeError("Expected a function");function w(e){var n=c,r=u;return c=u=void 0,m=e,s=t.apply(r,n)}function x(t){var e=t-p,n=t-m;return void 0===p||e>=l||e<0||y&&n>=f}function v(){var t,e,r,i=(0,n.f)();if(x(i))return C(i);d=setTimeout(v,(t=i-p,e=i-m,r=l-t,y?o(r,f-e):r))}function C(t){return(d=void 0,g&&c)?w(t):(c=u=void 0,s)}function b(){var t,e=(0,n.f)(),r=x(e);if(c=arguments,u=this,p=e,r){if(void 0===d)return m=t=p,d=setTimeout(v,l),h?w(t):s;if(y)return clearTimeout(d),d=setTimeout(v,l),w(p)}return void 0===d&&(d=setTimeout(v,l)),s}return l=(0,r.f)(l)||0,(0,e.f)(a)&&(h=!!a.leading,f=(y="maxWait"in a)?i((0,r.f)(a.maxWait)||0,l):f,g="trailing"in a?!!a.trailing:g),b.cancel=function(){void 0!==d&&clearTimeout(d),m=0,c=p=u=d=void 0},b.flush=function(){return void 0===d?s:C((0,n.f)())},b}])},49862,t=>{t.s(["f",0,function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}])},619637,492943,t=>{var e=t.i(706462);let n=function(t){return null!=t&&"object"==typeof t};t.s(["f",0,n],492943),t.s(["f",0,function(t){return"symbol"==typeof t||n(t)&&"[object Symbol]"==(0,e.f)(t)}],619637)},900819,t=>{var e=t.i(659173);t.s(["f",0,function(){return e.f.Date.now()}])},963095,t=>{var e=t.i(753935),n=t.i(49862);t.s(["f",0,function(t,r,i){var o=!0,l=!0;if("function"!=typeof t)throw TypeError("Expected a function");return(0,n.f)(i)&&(o="leading"in i?!!i.leading:o,l="trailing"in i?!!i.trailing:l),(0,e.f)(t,r,{leading:o,maxWait:r,trailing:l})}],963095)},673656,t=>{var e=/\s/;let n=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n};var r=/^\s+/,i=t.i(49862),o=t.i(619637),l=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;t.s(["f",0,function(t){if("number"==typeof t)return t;if((0,o.f)(t))return 0/0;if((0,i.f)(t)){var e,f="function"==typeof t.valueOf?t.valueOf():t;t=(0,i.f)(f)?f+"":f}if("string"!=typeof t)return 0===t?t:+t;t=(e=t)?e.slice(0,n(e)+1).replace(r,""):e;var s=a.test(t);return s||c.test(t)?u(t.slice(2),s?2:8):l.test(t)?0/0:+t}],673656)},260861,t=>{for(var e={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},n={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},r="u">typeof navigator&&/Mac/.test(navigator.platform),i="u">typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),o=0;o<10;o++)e[48+o]=e[96+o]=String(o);for(var o=1;o<=24;o++)e[o+111]="F"+o;for(var o=65;o<=90;o++)e[o]=String.fromCharCode(o+32),n[o]=String.fromCharCode(o);for(var l in e)n.hasOwnProperty(l)||(n[l]=e[l]);t.s(["j",0,e,"R",0,function(t){var o=!(r&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||i&&t.shiftKey&&t.key&&1==t.key.length||"Unidentified"==t.key)&&t.key||(t.shiftKey?n:e)[t.keyCode]||t.key||"Unidentified";return"Esc"==o&&(o="Escape"),"Del"==o&&(o="Delete"),"Left"==o&&(o="ArrowLeft"),"Up"==o&&(o="ArrowUp"),"Right"==o&&(o="ArrowRight"),"Down"==o&&(o="ArrowDown"),o},"e",0,n])}])})();
@@ -0,0 +1 @@
1
+ (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,793584,124245,e=>{var s=e.i(623719),t=e.i(436986);function a(){return(0,t.f)("/api/gates")}var n=e.i(693563),l=e.i(244657);e.s(["f",0,function(){let{data:e,error:t}=(0,l.f)("openGates",a);return(0,s.useMemo)(()=>null===e&&null===t?null:(0,n.R)(e??[]),[e,t])}],793584);var i=e.i(216566),r=e.i(287088),c=e.i(927621),o=e.i(509502),u=e.i(930795);e.s(["f",0,function({issue:e,className:s=""}){let t=(0,c.useMessages)();return(0,r.b)(e)?(0,i.jsx)(u.j,{tone:o.o,className:`shrink-0 ${s}`,children:t.humanDecision.chip}):null}],124245)},880020,e=>{var s=e.i(216566);e.s(["f",0,function({message:e}){return(0,s.jsx)("p",{className:"rounded-box border border-dashed border-base-300 py-14 text-center text-sm text-base-content/50",children:e})}])},914206,e=>{var s=e.i(216566),t=e.i(927621),a=e.i(532547);e.s(["f",0,function({title:e,tone:n,count:l,loading:i,help:r,children:c}){let o=(0,t.useMessages)();return(0,s.jsxs)("header",{className:"@container flex flex-wrap items-end gap-x-6 gap-y-3 pt-4 pb-4",children:[(0,s.jsxs)("div",{className:"relative flex min-w-0 items-center gap-3",children:[n&&(0,s.jsx)("span",{className:`tone-dot ${n} size-3`}),(0,s.jsx)("h1",{className:"text-2xl font-bold tracking-tight",children:e}),r&&(0,s.jsx)(a.f,{help:r}),void 0!==l&&(0,s.jsx)("span",{className:"font-mono text-sm text-base-content/45 tabular-nums",children:l}),i&&(0,s.jsx)("span",{className:"loading loading-spinner loading-xs text-base-content/40","aria-label":o.common.loading})]}),c&&(0,s.jsx)("div",{className:"ml-auto flex flex-wrap items-center gap-2",children:c})]})}])},130497,693563,e=>{var s=e.i(216566),t=e.i(694642);function a(e,s,t){if(null===s)return[];let a=e.map(e=>{let a=s.get(e);return void 0===a?{id:e,humanGate:!1,title:t(e)}:{id:e,humanGate:a.humanGate,title:a.title}});return[...a.filter(e=>e.humanGate),...a.filter(e=>!e.humanGate)]}e.s(["L",0,a,"R",0,function(e){return new Map(e.map(e=>[e.id,{title:e.title,humanGate:"human"===e.awaitType}]))}],693563);var n=e.i(927621),l=e.i(614357),i=e.i(930795);e.s(["U",0,function({issueId:e,blockedBy:r,titleOf:c,gateTitles:o,issueHref:u}){let d=(0,n.useMessages)(),[m,...x]=a(r,o,c);if(!m)return null;let h=m.title||d.common.untitled;return(0,s.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 text-xs text-base-content/60",children:[m.humanGate?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.f,{}),(0,s.jsxs)(t.default,{href:u(e),scroll:!1,className:"min-w-0 truncate hover:underline","aria-label":d.humanGate.waitingOn(h),children:["← ",h]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.j,{tone:"tone-coral",children:d.blocking.chip}),(0,s.jsxs)(t.default,{href:u(m.id),scroll:!1,className:"min-w-0 truncate hover:underline","aria-label":d.blocking.waitingOn(m.id),children:["← ",(0,s.jsx)("span",{className:"font-mono",children:m.id})," ",m.title]})]}),x.length>0&&(0,s.jsx)("span",{className:"shrink-0",children:d.blocking.more(x.length)})]})},"B",0,function({blockers:e}){let t=(0,n.useMessages)(),[a,...i]=e;return a?(0,s.jsxs)(s.Fragment,{children:[a.humanGate&&(0,s.jsxs)("span",{className:"flex min-w-0 flex-wrap items-center gap-1.5 text-xs text-base-content/60",children:["← ",(0,s.jsx)(l.f,{}),(0,s.jsx)("span",{className:"min-w-0 break-words",children:a.title||t.common.untitled}),i.length>0&&t.blocking.more(i.length)]}),!a.humanGate&&(0,s.jsxs)("span",{className:"text-xs text-base-content/60",children:["← ",t.blocking.waitingOn(a.id),i.length>0&&` ${t.blocking.more(i.length)}`]})]}):null},"T",0,function({blocks:e}){let t=(0,n.useMessages)(),[a,...l]=e;return a?(0,s.jsxs)("span",{className:"wrap-anywhere text-xs text-base-content/60",children:["← ",a.title||t.common.untitled,l.length>0&&` ${t.blocking.more(l.length)}`]}):null},"$",0,function({blockers:e}){let t=(0,n.useMessages)();return(0,s.jsx)(s.Fragment,{children:e.map(e=>e.humanGate?(0,s.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 pl-19 text-xs text-base-content/60",children:["←",(0,s.jsx)(l.f,{}),(0,s.jsx)("span",{className:"truncate",children:e.title||t.common.untitled})]},e.id):(0,s.jsxs)("span",{className:"truncate pl-19 text-xs text-base-content/60",children:["← ",e.id," ",e.title]},e.id))})}],130497)},104401,e=>{var s=e.i(216566),t=e.i(694642),a=e.i(623719),n=e.i(171952),l=e.i(967444),i=e.i(130497),r=e.i(124245),c=e.i(680360),o=e.i(927621),u=e.i(930795),d=e.i(509502),m=e.i(529811);function x({issue:e}){let t=(0,o.useMessages)(),a=(0,o.useLocale)();return"deferred"!==e.status?null:(0,s.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 text-xs text-base-content/60",children:[(0,s.jsx)(u.j,{tone:(0,d.a)("deferred"),children:t.deferral.until}),(0,s.jsx)("span",{className:"truncate tabular-nums",children:(0,m.w)(t,a,e.deferUntil)})]})}var h=e.i(852474),f=e.i(499509),p=e.i(723115),g=e.i(880020),b=e.i(278704),j=e.i(712599),w=e.i(878744);let N=(0,a.memo)(function({issues:e,tree:t,issueHref:n,writes:i,emptyMessage:r,titleSource:c,gateTitles:u,waiters:d,hideHeader:m}){let x=(0,o.useMessages)(),[h,f]=(0,a.useState)(new Set),p=(0,a.useMemo)(()=>t??e.map(e=>({issue:e,depth:0,childCount:0})),[t,e]),b=(0,a.useMemo)(()=>new Map((c??p.map(e=>e.issue)).map(e=>[e.id,e.title])),[c,p]);return 0===p.length?(0,s.jsx)(g.f,{message:r??x.issueTable.empty}):(0,s.jsx)("div",{className:"@container surface min-w-0 max-w-full overflow-x-auto",children:(0,s.jsxs)("table",{className:"table w-[max(100cqw,min(100cqw_+_30rem,64rem))] table-fixed",children:[(0,s.jsx)("thead",{className:m?"invisible [&_th]:py-0 [&_th]:leading-[0]":void 0,children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{className:"w-24",children:"ID"}),(0,s.jsx)("th",{className:"w-26 @max-[34rem]:hidden",children:x.issue.type}),(0,s.jsx)("th",{children:x.issue.title}),(0,s.jsx)("th",{className:"w-32",children:x.issue.status}),(0,s.jsx)("th",{className:"w-32",children:x.issue.priority}),(0,s.jsx)("th",{className:"w-36",children:x.issue.assignee}),(0,s.jsx)("th",{className:"w-20 text-right",children:x.issue.dependencyCount})]})}),(0,s.jsx)("tbody",{children:(t?(0,l.s)(p,h):p).map(e=>(0,s.jsx)(v,{issue:e.issue,outline:t&&{depth:e.depth,childCount:e.childCount,expanded:h.has(e.issue.id),onToggle:()=>{let s=new Set(h);s.delete(e.issue.id)||s.add(e.issue.id),f(s)}},issueHref:n,titleOf:e=>b.get(e),gateTitles:u,waiters:d?.get(e.issue.id)??0,writes:i},e.issue.id))})]})})});function v({issue:e,outline:a,issueHref:l,titleOf:u,gateTitles:d,waiters:m,writes:g}){let{update:b,changeStatus:N}=(0,n.f)(g,e.id),k=l(e.id),C=(0,o.useMessages)();return(0,s.jsxs)("tr",{className:"group hover:bg-base-200/60",children:[(0,s.jsx)("td",{children:(0,s.jsx)(c.f,{issueId:e.id,short:!0,className:"rounded text-xs text-base-content/55"})}),(0,s.jsx)("td",{className:"text-sm @max-[34rem]:hidden",children:(0,s.jsx)(j.f,{issueType:e.issueType})}),(0,s.jsx)("td",{children:(0,s.jsxs)(y,{issueId:e.id,outline:a,children:[(0,s.jsx)("span",{className:"mr-2 text-sm @min-[34rem]:hidden",children:(0,s.jsx)(j.f,{issueType:e.issueType})}),(0,s.jsx)(t.default,{className:"font-medium wrap-anywhere decoration-base-content/30 underline-offset-4 hover:underline",href:k,scroll:!1,children:e.title||C.common.untitled}),(0,s.jsx)(r.f,{issue:e,className:"ml-2"}),(0,s.jsx)(w.f,{count:m,className:"ml-2"}),a&&a.childCount>0&&(0,s.jsx)("span",{className:"ml-2 font-mono text-xs text-base-content/45 tabular-nums",children:C.issueTable.childCount(a.childCount)}),e.blockedBy&&(0,s.jsx)(i.U,{issueId:e.id,blockedBy:e.blockedBy,titleOf:u,gateTitles:d,issueHref:l}),(0,s.jsx)(x,{issue:e})]})}),(0,s.jsx)("td",{children:(0,s.jsx)(p.f,{"aria-label":C.issueTable.statusOf(e.id),value:e.status,issueType:e.issueType,onChange:e=>N(e,h.f)})}),(0,s.jsx)("td",{children:(0,s.jsx)(f.f,{"aria-label":C.issueTable.priorityOf(e.id),value:e.priority,onChange:e=>b({priority:e})})}),(0,s.jsx)("td",{className:"truncate text-sm",title:e.assignee??void 0,children:e.assignee||(0,s.jsx)("span",{className:"text-base-content/50",children:C.common.none})}),(0,s.jsxs)("td",{className:`text-right font-mono text-xs tabular-nums ${e.dependencyCount+e.dependentCount===0?"text-base-content/30":""}`,title:C.issueTable.dependencyCounts(e.dependencyCount,e.dependentCount),children:[e.dependencyCount," / ",e.dependentCount]})]})}function y({issueId:e,outline:t,children:a}){let n=(0,o.useMessages)();return t?(0,s.jsxs)("div",{className:"flex items-start gap-1",children:[Array.from({length:Math.max(t.depth-1,0)},(e,t)=>(0,s.jsx)("span",{className:"w-6 shrink-0","aria-hidden":"true"},t)),t.depth>0&&(0,s.jsx)("span",{className:"-mt-2 ml-3 h-[1.0625rem] w-3 shrink-0 rounded-bl border-b border-l border-base-content/15","aria-hidden":"true"}),t.childCount>0?(0,s.jsx)("button",{type:"button",className:"btn btn-ghost btn-xs btn-square -my-0.5 shrink-0 text-base-content/50","aria-expanded":t.expanded,"aria-label":n.issueTable.toggleChildren(e,t.expanded),onClick:t.onToggle,children:(0,s.jsx)(b.q,{width:14,height:14,className:`transition-transform ${t.expanded?"rotate-90":""}`})}):(0,s.jsx)("span",{className:"-ml-1 flex w-7 shrink-0 justify-center pl-1","aria-hidden":"true",children:t.depth>0&&(0,s.jsx)("span",{className:"mt-[7px] size-1.5 rounded-full bg-base-content/30"})}),(0,s.jsx)("div",{className:"min-w-0",children:a})]}):a}e.s(["f",0,N],104401)},60387,e=>{var s=e.i(216566),t=e.i(623719),a=e.i(59220),n=e.i(244657);async function l(e){if(""===e)return{ok:!0,data:null};let s=await (0,a.G)(e);return s.ok?{ok:!0,data:new Set(s.data)}:s}var i=e.i(313156),r=e.i(510969),c=e.i(793584),o=e.i(380479),u=e.i(967444),d=e.i(343017),m=e.i(155813),x=e.i(130092),h=e.i(104401),f=e.i(278704);function p({label:e,summary:a,options:n,selected:l,onChange:i}){let r=(0,t.useRef)(null);return(0,t.useEffect)(()=>{let e=e=>{let s=r.current;s?.open&&!s.contains(e.target)&&(s.open=!1)};return document.addEventListener("pointerdown",e),()=>document.removeEventListener("pointerdown",e)},[]),(0,s.jsxs)("details",{ref:r,className:"dropdown",children:[(0,s.jsxs)("summary",{className:"btn btn-sm btn-ghost gap-1.5 rounded-full font-medium",children:[e,(0,s.jsx)("span",{className:"text-base-content/50",children:a}),(0,s.jsx)(f.Z,{width:14,height:14,className:"text-base-content/50"})]}),(0,s.jsx)("ul",{className:"dropdown-content menu z-10 mt-1 w-44 rounded-box border border-base-300 bg-base-100 p-1.5 shadow-lg",children:n.map(e=>(0,s.jsx)("li",{children:(0,s.jsxs)("label",{className:"flex cursor-pointer items-center gap-2.5",children:[(0,s.jsx)("input",{type:"checkbox",className:"checkbox checkbox-xs rounded",checked:l.includes(e.value),onChange:()=>{let s;return s=e.value,i(l.includes(s)?l.filter(e=>e!==s):[...l,s])}}),(0,s.jsx)("span",{className:`tone-dot ${e.tone}`}),e.label]})},e.value))})]})}var g=e.i(509502),b=e.i(927621);let j=["created","closed"];function w({types:e,onTypesChange:t,search:a,onSearchChange:n,dates:l,onDatesChange:i}){let r=(0,b.useMessages)();return(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,s.jsx)(p,{label:r.issue.type,summary:0===e.length?r.issues.allTypes:r.issues.typeCount(e.length),options:g.v.map(e=>({value:e,label:(0,g.H)(r,e),tone:(0,g.k)(e)})),selected:e,onChange:t}),(0,s.jsxs)("fieldset",{"aria-label":r.issues.dates,className:"flex min-w-0 flex-wrap items-center gap-1.5",children:[(0,s.jsx)("select",{className:"select select-sm w-28 rounded-full","aria-label":r.issues.dateField,value:l.field,onChange:e=>i({...l,field:e.target.value}),children:j.map(e=>(0,s.jsx)("option",{value:e,children:r.issues.dateFields[e]},e))}),(0,s.jsx)("input",{type:"date",className:"input input-sm w-36 rounded-full","aria-label":r.issues.dateFrom,value:l.from??"",onChange:e=>i({...l,from:e.target.value||null})}),(0,s.jsx)("span",{className:"text-base-content/40",children:"~"}),(0,s.jsx)("input",{type:"date",className:"input input-sm w-36 rounded-full","aria-label":r.issues.dateTo,value:l.to??"",onChange:e=>i({...l,to:e.target.value||null})}),(l.from||l.to)&&(0,s.jsx)("button",{type:"button",className:"btn btn-ghost btn-xs rounded-full",onClick:()=>i({...l,from:null,to:null}),children:r.issues.clearDates})]}),(0,s.jsxs)("label",{className:"input input-sm ml-auto w-64 max-w-full rounded-full",children:[(0,s.jsx)(f.O,{width:15,height:15,className:"text-base-content/40"}),(0,s.jsx)("input",{type:"search",className:"grow",placeholder:r.issues.searchPlaceholder,"aria-label":r.issues.search,value:a,onChange:e=>n(e.target.value)})]})]})}var N=e.i(880020);function v({groups:e,titleSource:a,gateTitles:n,waiters:l,issueHref:i,writes:r}){let c=(0,b.useMessages)(),[o,u]=(0,t.useState)(new Set(["closed"]));if(0===e.length)return(0,s.jsx)(N.f,{message:c.issueTable.empty});let d=e.find(e=>!o.has(e.state))?.state;return(0,s.jsx)("div",{className:"flex flex-col gap-5",children:e.map(e=>{let t=!o.has(e.state),m=c.workStates.labels[e.state];return(0,s.jsxs)("section",{"aria-label":m,className:"flex flex-col gap-2",children:[(0,s.jsxs)("h2",{className:"flex flex-wrap items-baseline gap-x-2 gap-y-1 px-1",children:[(0,s.jsxs)("button",{type:"button",className:"flex items-baseline gap-2 text-[15px] font-bold","aria-expanded":t,"aria-label":c.issues.toggleGroup(m,t),onClick:()=>{var s;let t;return s=e.state,void(!(t=new Set(o)).delete(s)&&t.add(s),u(t))},children:[(0,s.jsx)(f.q,{width:14,height:14,className:`self-center text-base-content/50 transition-transform ${t?"rotate-90":""}`}),(0,s.jsx)("span",{className:`tone-dot ${(0,g._)(e.state)} self-center`}),m,(0,s.jsx)("span",{className:"font-mono text-xs font-normal text-base-content/50",children:e.issues.length})]}),(0,s.jsx)("span",{className:"text-xs text-base-content/50",children:c.workStates.hints[e.state]})]}),t&&(0,s.jsx)(h.f,{issues:e.issues,issueHref:i,writes:r,titleSource:a,gateTitles:n,waiters:l,hideHeader:e.state!==d})]},e.state)})})}var y=e.i(694642),k=e.i(351417);function C({view:e,filters:t,groups:a}){let n=(0,b.useMessages)(),l=[{state:null,label:n.issues.allStatuses,count:a.reduce((e,s)=>e+s.issues.length,0),href:(0,k.S)(t)},...m.P.map(e=>({state:e,label:n.workStates.labels[e],count:a.find(s=>s.state===e)?.issues.length??0,href:(0,k.S)({...t,view:e})}))];return(0,s.jsx)("nav",{className:"flex items-end gap-1 overflow-x-auto shadow-[inset_0_-1px_0_var(--color-base-300)]","aria-label":n.issues.views,children:l.map(t=>{let a=t.state===e;return(0,s.jsxs)(y.default,{href:t.href,scroll:!1,"aria-current":a?"page":void 0,className:`flex shrink-0 items-center whitespace-nowrap gap-2 border-b-2 px-3 pt-1 pb-2.5 text-sm font-medium transition-colors ${a?"border-base-content text-base-content":"border-transparent text-base-content/55 hover:text-base-content"}`,children:[t.state&&(0,s.jsx)("span",{className:`tone-dot ${(0,g._)(t.state)}`}),t.label,(0,s.jsx)("span",{className:"font-mono text-xs font-normal text-base-content/45 tabular-nums",children:t.count})]},t.href)})})}var S=e.i(679738),T=e.i(780048),M=e.i(459179),G=e.i(914206),$=e.i(489326);e.s(["IssuesScreen",0,function(){let[e,a]=(0,t.useState)(""),{data:f,error:p,loading:g}=(0,i.G)(),{address:j,changeFilters:N}=function(){let[e,s]=function(e,s){let a=(0,S.useRouter)(),n=(0,S.useSearchParams)().toString(),[l,i]=(0,t.useState)(n),[r,c]=(0,t.useState)(()=>e(new URLSearchParams(n)));return l!==n&&(i(n),c(e(new URLSearchParams(n)))),[r,e=>{c(e),a.replace(s(e),{scroll:!1})}]}(k.K,k.S);return{address:e,changeFilters:t=>s({...e,...t})}}(),{view:y,dates:F,types:_}=j,O=(0,t.useDeferredValue)(e),R=function(e){let s=e.trim(),[a,i]=(0,t.useState)(s);(0,t.useEffect)(()=>{let e=setTimeout(()=>i(s),300);return()=>clearTimeout(e)},[s]);let{data:r,error:c}=(0,n.f)(a,l),o=a===s;return{matches:o?r??void 0:void 0,error:o?c:null}}(e),P=R.matches,U=(0,t.useMemo)(()=>(0,d.f)(f??[]),[f]),H=(0,t.useMemo)(()=>(0,m.b)(f?(0,u.F)((0,o.b)(f,F),{types:_,search:O,descriptionMatches:P}):[],U),[f,U,_,O,P,F]),L=y?H.find(e=>e.state===y)?.issues??[]:H.flatMap(e=>e.issues),B=(0,c.f)(),q=(0,r.f)(),D=(0,x.n)(),I=(0,b.useMessages)();return(0,s.jsxs)("main",{className:"mx-auto flex max-w-[96rem] flex-col gap-4 px-8 pb-16",children:[(0,s.jsx)(G.f,{title:I.issues.title,tone:(0,$._)("/issues"),count:f?L.length:void 0,loading:g}),(0,s.jsx)(C,{view:y,filters:{dates:F,types:_},groups:H}),(0,s.jsx)(w,{types:_,onTypesChange:e=>N({types:e}),search:e,onSearchChange:a,dates:F,onDatesChange:e=>N({dates:e})}),p&&(0,s.jsx)(M.f,{children:I.issues.loadFailed(p)}),R.error&&(0,s.jsx)(M.f,{children:I.issues.descriptionSearchFailed(R.error)}),(0,s.jsx)(T.f,{writes:q}),f&&(y?(0,s.jsx)(h.f,{issues:L,issueHref:D,writes:q,titleSource:f,gateTitles:B,waiters:U}):(0,s.jsx)(v,{groups:H,titleSource:f,gateTitles:B,waiters:U,issueHref:D,writes:q})),(0,s.jsx)(x.Y,{})]})}],60387)},351417,e=>{var s=e.i(380479),t=e.i(155813),a=e.i(509502);let n="view",l="date",i="from",r="type",c=a.v.filter(e=>"decision"!==e);function o({view:e,dates:s,types:t}){var a,u;let d=new URLSearchParams;if(e&&d.set(n,e),s?.field==="closed"&&d.set(l,s.field),s?.from&&d.set(i,s.from),s?.to&&d.set("to",s.to),t&&(a=t,u=c,!(a.length===u.length&&a.every(e=>u.includes(e)))))for(let e of(0===t.length&&d.set(r,""),t))d.append(r,e);return d.size>0?`/issues?${d}`:"/issues"}e.s(["b",0,c,"S",0,o,"j",0,function(e){return o({view:e})},"K",0,function(e){return{view:(0,t.e)(e.get(n)),dates:(0,s.u)(e.get(l),e.get(i),e.get("to")),types:e.has(r)?e.getAll(r).filter(e=>""!==e):c}}])}])})();
@@ -0,0 +1 @@
1
+ (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,878607,236050,e=>{var s=e.i(436986);let t="/api/epics";function n(){return(0,s.f)(t)}function i(e){return(0,s.f)(`${t}/${encodeURIComponent(e)}/descendants`)}var a=e.i(244657);e.s(["u",0,function(e){return(0,a.f)(e,i)},"h",0,function(){return(0,a.f)("epics",n)}],878607);var l=e.i(967444),r=e.i(435645);let c=["in_progress","open","blocked","deferred","closed"];function d(e){let s=c.indexOf(e);return -1===s?c.length:s}e.s(["Z",0,function(e){return(0,l.D)([...e].sort(l.b))},"c",0,function(e){let s=new Set(e.map(e=>e.id));return e=>"epic"===e.issueType||!(0,r.r)(e)||s.has(e.id)},"o",0,function(e,s){let t=null===s||s.size>0&&!e.some(({epic:e})=>s.has(e.id)),n=e.find(({epic:e})=>"closed"!==e.status);return t&&n?new Set([n.epic.id]):s},"d",0,function(e){return[...e].sort((e,s)=>d(e.epic.status)-d(s.epic.status)||(0,l.m)(e.epic,s.epic))}],236050)},793584,124245,e=>{var s=e.i(623719),t=e.i(436986);function n(){return(0,t.f)("/api/gates")}var i=e.i(693563),a=e.i(244657);e.s(["f",0,function(){let{data:e,error:t}=(0,a.f)("openGates",n);return(0,s.useMemo)(()=>null===e&&null===t?null:(0,i.R)(e??[]),[e,t])}],793584);var l=e.i(216566),r=e.i(287088),c=e.i(927621),d=e.i(509502),o=e.i(930795);e.s(["f",0,function({issue:e,className:s=""}){let t=(0,c.useMessages)();return(0,r.b)(e)?(0,l.jsx)(o.j,{tone:d.o,className:`shrink-0 ${s}`,children:t.humanDecision.chip}):null}],124245)},880020,e=>{var s=e.i(216566);e.s(["f",0,function({message:e}){return(0,s.jsx)("p",{className:"rounded-box border border-dashed border-base-300 py-14 text-center text-sm text-base-content/50",children:e})}])},914206,e=>{var s=e.i(216566),t=e.i(927621),n=e.i(532547);e.s(["f",0,function({title:e,tone:i,count:a,loading:l,help:r,children:c}){let d=(0,t.useMessages)();return(0,s.jsxs)("header",{className:"@container flex flex-wrap items-end gap-x-6 gap-y-3 pt-4 pb-4",children:[(0,s.jsxs)("div",{className:"relative flex min-w-0 items-center gap-3",children:[i&&(0,s.jsx)("span",{className:`tone-dot ${i} size-3`}),(0,s.jsx)("h1",{className:"text-2xl font-bold tracking-tight",children:e}),r&&(0,s.jsx)(n.f,{help:r}),void 0!==a&&(0,s.jsx)("span",{className:"font-mono text-sm text-base-content/45 tabular-nums",children:a}),l&&(0,s.jsx)("span",{className:"loading loading-spinner loading-xs text-base-content/40","aria-label":d.common.loading})]}),c&&(0,s.jsx)("div",{className:"ml-auto flex flex-wrap items-center gap-2",children:c})]})}])},130497,693563,e=>{var s=e.i(216566),t=e.i(694642);function n(e,s,t){if(null===s)return[];let n=e.map(e=>{let n=s.get(e);return void 0===n?{id:e,humanGate:!1,title:t(e)}:{id:e,humanGate:n.humanGate,title:n.title}});return[...n.filter(e=>e.humanGate),...n.filter(e=>!e.humanGate)]}e.s(["L",0,n,"R",0,function(e){return new Map(e.map(e=>[e.id,{title:e.title,humanGate:"human"===e.awaitType}]))}],693563);var i=e.i(927621),a=e.i(614357),l=e.i(930795);e.s(["U",0,function({issueId:e,blockedBy:r,titleOf:c,gateTitles:d,issueHref:o}){let u=(0,i.useMessages)(),[x,...m]=n(r,d,c);if(!x)return null;let h=x.title||u.common.untitled;return(0,s.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 text-xs text-base-content/60",children:[x.humanGate?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.f,{}),(0,s.jsxs)(t.default,{href:o(e),scroll:!1,className:"min-w-0 truncate hover:underline","aria-label":u.humanGate.waitingOn(h),children:["← ",h]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.j,{tone:"tone-coral",children:u.blocking.chip}),(0,s.jsxs)(t.default,{href:o(x.id),scroll:!1,className:"min-w-0 truncate hover:underline","aria-label":u.blocking.waitingOn(x.id),children:["← ",(0,s.jsx)("span",{className:"font-mono",children:x.id})," ",x.title]})]}),m.length>0&&(0,s.jsx)("span",{className:"shrink-0",children:u.blocking.more(m.length)})]})},"B",0,function({blockers:e}){let t=(0,i.useMessages)(),[n,...l]=e;return n?(0,s.jsxs)(s.Fragment,{children:[n.humanGate&&(0,s.jsxs)("span",{className:"flex min-w-0 flex-wrap items-center gap-1.5 text-xs text-base-content/60",children:["← ",(0,s.jsx)(a.f,{}),(0,s.jsx)("span",{className:"min-w-0 break-words",children:n.title||t.common.untitled}),l.length>0&&t.blocking.more(l.length)]}),!n.humanGate&&(0,s.jsxs)("span",{className:"text-xs text-base-content/60",children:["← ",t.blocking.waitingOn(n.id),l.length>0&&` ${t.blocking.more(l.length)}`]})]}):null},"T",0,function({blocks:e}){let t=(0,i.useMessages)(),[n,...a]=e;return n?(0,s.jsxs)("span",{className:"wrap-anywhere text-xs text-base-content/60",children:["← ",n.title||t.common.untitled,a.length>0&&` ${t.blocking.more(a.length)}`]}):null},"$",0,function({blockers:e}){let t=(0,i.useMessages)();return(0,s.jsx)(s.Fragment,{children:e.map(e=>e.humanGate?(0,s.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 pl-19 text-xs text-base-content/60",children:["←",(0,s.jsx)(a.f,{}),(0,s.jsx)("span",{className:"truncate",children:e.title||t.common.untitled})]},e.id):(0,s.jsxs)("span",{className:"truncate pl-19 text-xs text-base-content/60",children:["← ",e.id," ",e.title]},e.id))})}],130497)},104401,e=>{var s=e.i(216566),t=e.i(694642),n=e.i(623719),i=e.i(171952),a=e.i(967444),l=e.i(130497),r=e.i(124245),c=e.i(680360),d=e.i(927621),o=e.i(930795),u=e.i(509502),x=e.i(529811);function m({issue:e}){let t=(0,d.useMessages)(),n=(0,d.useLocale)();return"deferred"!==e.status?null:(0,s.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 text-xs text-base-content/60",children:[(0,s.jsx)(o.j,{tone:(0,u.a)("deferred"),children:t.deferral.until}),(0,s.jsx)("span",{className:"truncate tabular-nums",children:(0,x.w)(t,n,e.deferUntil)})]})}var h=e.i(852474),p=e.i(499509),f=e.i(723115),g=e.i(880020),j=e.i(278704),b=e.i(712599),w=e.i(878744);let N=(0,n.memo)(function({issues:e,tree:t,issueHref:i,writes:l,emptyMessage:r,titleSource:c,gateTitles:o,waiters:u,hideHeader:x}){let m=(0,d.useMessages)(),[h,p]=(0,n.useState)(new Set),f=(0,n.useMemo)(()=>t??e.map(e=>({issue:e,depth:0,childCount:0})),[t,e]),j=(0,n.useMemo)(()=>new Map((c??f.map(e=>e.issue)).map(e=>[e.id,e.title])),[c,f]);return 0===f.length?(0,s.jsx)(g.f,{message:r??m.issueTable.empty}):(0,s.jsx)("div",{className:"@container surface min-w-0 max-w-full overflow-x-auto",children:(0,s.jsxs)("table",{className:"table w-[max(100cqw,min(100cqw_+_30rem,64rem))] table-fixed",children:[(0,s.jsx)("thead",{className:x?"invisible [&_th]:py-0 [&_th]:leading-[0]":void 0,children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{className:"w-24",children:"ID"}),(0,s.jsx)("th",{className:"w-26 @max-[34rem]:hidden",children:m.issue.type}),(0,s.jsx)("th",{children:m.issue.title}),(0,s.jsx)("th",{className:"w-32",children:m.issue.status}),(0,s.jsx)("th",{className:"w-32",children:m.issue.priority}),(0,s.jsx)("th",{className:"w-36",children:m.issue.assignee}),(0,s.jsx)("th",{className:"w-20 text-right",children:m.issue.dependencyCount})]})}),(0,s.jsx)("tbody",{children:(t?(0,a.s)(f,h):f).map(e=>(0,s.jsx)(y,{issue:e.issue,outline:t&&{depth:e.depth,childCount:e.childCount,expanded:h.has(e.issue.id),onToggle:()=>{let s=new Set(h);s.delete(e.issue.id)||s.add(e.issue.id),p(s)}},issueHref:i,titleOf:e=>j.get(e),gateTitles:o,waiters:u?.get(e.issue.id)??0,writes:l},e.issue.id))})]})})});function y({issue:e,outline:n,issueHref:a,titleOf:o,gateTitles:u,waiters:x,writes:g}){let{update:j,changeStatus:N}=(0,i.f)(g,e.id),C=a(e.id),k=(0,d.useMessages)();return(0,s.jsxs)("tr",{className:"group hover:bg-base-200/60",children:[(0,s.jsx)("td",{children:(0,s.jsx)(c.f,{issueId:e.id,short:!0,className:"rounded text-xs text-base-content/55"})}),(0,s.jsx)("td",{className:"text-sm @max-[34rem]:hidden",children:(0,s.jsx)(b.f,{issueType:e.issueType})}),(0,s.jsx)("td",{children:(0,s.jsxs)(v,{issueId:e.id,outline:n,children:[(0,s.jsx)("span",{className:"mr-2 text-sm @min-[34rem]:hidden",children:(0,s.jsx)(b.f,{issueType:e.issueType})}),(0,s.jsx)(t.default,{className:"font-medium wrap-anywhere decoration-base-content/30 underline-offset-4 hover:underline",href:C,scroll:!1,children:e.title||k.common.untitled}),(0,s.jsx)(r.f,{issue:e,className:"ml-2"}),(0,s.jsx)(w.f,{count:x,className:"ml-2"}),n&&n.childCount>0&&(0,s.jsx)("span",{className:"ml-2 font-mono text-xs text-base-content/45 tabular-nums",children:k.issueTable.childCount(n.childCount)}),e.blockedBy&&(0,s.jsx)(l.U,{issueId:e.id,blockedBy:e.blockedBy,titleOf:o,gateTitles:u,issueHref:a}),(0,s.jsx)(m,{issue:e})]})}),(0,s.jsx)("td",{children:(0,s.jsx)(f.f,{"aria-label":k.issueTable.statusOf(e.id),value:e.status,issueType:e.issueType,onChange:e=>N(e,h.f)})}),(0,s.jsx)("td",{children:(0,s.jsx)(p.f,{"aria-label":k.issueTable.priorityOf(e.id),value:e.priority,onChange:e=>j({priority:e})})}),(0,s.jsx)("td",{className:"truncate text-sm",title:e.assignee??void 0,children:e.assignee||(0,s.jsx)("span",{className:"text-base-content/50",children:k.common.none})}),(0,s.jsxs)("td",{className:`text-right font-mono text-xs tabular-nums ${e.dependencyCount+e.dependentCount===0?"text-base-content/30":""}`,title:k.issueTable.dependencyCounts(e.dependencyCount,e.dependentCount),children:[e.dependencyCount," / ",e.dependentCount]})]})}function v({issueId:e,outline:t,children:n}){let i=(0,d.useMessages)();return t?(0,s.jsxs)("div",{className:"flex items-start gap-1",children:[Array.from({length:Math.max(t.depth-1,0)},(e,t)=>(0,s.jsx)("span",{className:"w-6 shrink-0","aria-hidden":"true"},t)),t.depth>0&&(0,s.jsx)("span",{className:"-mt-2 ml-3 h-[1.0625rem] w-3 shrink-0 rounded-bl border-b border-l border-base-content/15","aria-hidden":"true"}),t.childCount>0?(0,s.jsx)("button",{type:"button",className:"btn btn-ghost btn-xs btn-square -my-0.5 shrink-0 text-base-content/50","aria-expanded":t.expanded,"aria-label":i.issueTable.toggleChildren(e,t.expanded),onClick:t.onToggle,children:(0,s.jsx)(j.q,{width:14,height:14,className:`transition-transform ${t.expanded?"rotate-90":""}`})}):(0,s.jsx)("span",{className:"-ml-1 flex w-7 shrink-0 justify-center pl-1","aria-hidden":"true",children:t.depth>0&&(0,s.jsx)("span",{className:"mt-[7px] size-1.5 rounded-full bg-base-content/30"})}),(0,s.jsx)("div",{className:"min-w-0",children:n})]}):n}e.s(["f",0,N],104401)},742246,e=>{var s=e.i(216566),t=e.i(694642),n=e.i(679738),i=e.i(623719),a=e.i(878607),l=e.i(793584),r=e.i(236050),c=e.i(510969),d=e.i(51019),o=e.i(737395),u=e.i(130092),x=e.i(535965),m=e.i(509502),h=e.i(104401),p=e.i(780048),f=e.i(880020),g=e.i(459179),j=e.i(278704),b=e.i(914206),w=e.i(6334),N=e.i(77625),y=e.i(489326),v=e.i(927621),C=e.i(680360);function k({summary:e,expanded:n,onToggle:i,gateTitles:a,issueHref:l,writes:r}){let{epic:c,totalChildren:d,closedChildren:o}=e,u=(0,N.f)(),x=0===d?0:Math.round(o/d*100),h=(0,v.useMessages)();return(0,s.jsxs)("section",{className:"surface",children:[(0,s.jsxs)("header",{className:"grid grid-cols-[2rem_3rem_minmax(0,1fr)] items-center gap-x-3 gap-y-3 py-3.5 xl:flex xl:gap-4 pr-5 pl-3",children:[(0,s.jsx)("button",{type:"button",className:"btn btn-ghost btn-sm btn-square text-base-content/50","aria-expanded":n,"aria-label":h.epics.toggleChildren(c.id,n),onClick:i,children:(0,s.jsx)(j.q,{className:`transition-transform ${n?"rotate-90":""}`})}),(0,s.jsx)(C.f,{issueId:c.id,short:!0,className:"w-12 shrink-0 rounded text-left text-xs text-base-content/55"}),(0,s.jsx)(t.default,{className:"min-w-0 grow text-[15px] wrap-anywhere font-semibold decoration-base-content/30 underline-offset-4 hover:underline",href:l(c.id),scroll:!1,children:c.title||h.common.untitled}),(0,s.jsxs)("div",{className:"col-span-full flex flex-wrap items-center justify-end gap-3 xl:contents",children:[(0,s.jsx)("span",{className:`chip ${(0,m.a)(c.status)}`,children:(0,m.g)(h,c.status)}),(0,s.jsx)("progress",{className:"progress h-1.5 w-40 min-w-24 shrink text-[color-mix(in_oklab,var(--color-sage),#3f6212_40%)]",value:o,max:Math.max(d,1),"aria-label":h.epics.progress(c.id)}),(0,s.jsxs)("span",{className:"min-w-20 shrink-0 text-right whitespace-nowrap font-mono text-xs text-base-content/55 tabular-nums",children:[o,"/",d," · ",x,"%"]}),(0,s.jsx)(t.default,{className:"btn btn-ghost btn-xs shrink-0 rounded-full",href:u({kind:"epic",id:c.id}),children:h.graph.epicOrder})]})]}),n&&(0,s.jsx)(T,{epic:c,gateTitles:a,issueHref:l,writes:r})]})}function T({epic:e,gateTitles:t,issueHref:l,writes:c}){let{data:u,error:m}=(0,a.u)(e.id),p=u?.issues,f=(0,i.useMemo)(()=>new Map(Object.entries(u?.waiters??{})),[u]),[b,N]=(0,i.useState)(!1),y=(0,n.useRouter)(),C=(0,v.useMessages)();return(0,s.jsxs)("div",{className:"flex flex-col gap-3 border-t border-base-300 bg-base-200/40 p-4",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,s.jsxs)("button",{type:"button",className:"btn btn-sm btn-ghost gap-1.5 rounded-full",onClick:()=>N(!0),children:[(0,s.jsx)(j.z,{width:14,height:14}),C.epics.newChild]}),(0,s.jsx)("div",{className:"w-96 max-w-full",children:(0,s.jsx)(o.f,{label:C.epics.addExistingChild,placeholder:C.epics.addExistingChildPlaceholder,confirmLabel:C.epics.addChildConfirm,disabled:c.pending||!p,exclude:(0,r.c)(p??[]),onConfirm:async s=>{let t=await c.run(()=>(0,d.f)(s.id,e.id,"parent-child"));return t.ok&&(0,w.showToast)(C.epics.childAdded(s.id,e.id)),t.ok}})})]}),b&&(0,s.jsx)(x.f,{fixedParent:e,onCreated:e=>{N(!1),y.push(l(e),{scroll:!1})},onClose:()=>N(!1)}),m&&(0,s.jsx)(g.f,{children:C.epics.childrenLoadFailed(m)}),!p&&!m&&(0,s.jsxs)("span",{className:"flex items-center gap-2 text-sm text-base-content/60",children:[(0,s.jsx)("span",{className:"loading loading-spinner loading-sm"}),C.epics.childrenLoading]}),p&&(0,s.jsx)(h.f,{tree:(0,r.Z)(p),gateTitles:t,waiters:f,issueHref:l,writes:c,emptyMessage:C.epics.childrenEmpty})]})}e.s(["EpicsScreen",0,function(){let{data:e,error:t,loading:n}=(0,a.h)(),d=(0,l.f)(),o=(0,c.f)(),x=(0,u.n)(),[m,h]=(0,i.useState)(null),j=e?(0,r.d)(e):null,w=j?(0,r.o)(j,m):m;w!==m&&h(w);let N=w??new Set,C=(0,v.useMessages)();return(0,s.jsxs)("main",{className:"mx-auto flex max-w-[96rem] flex-col gap-3 px-8 pb-16",children:[(0,s.jsx)(b.f,{title:C.epics.title,tone:(0,y._)("/epics"),count:j?.length,loading:n||o.pending}),t&&(0,s.jsx)(g.f,{children:C.epics.loadFailed(t)}),(0,s.jsx)(p.f,{writes:o}),j?.length===0&&(0,s.jsx)(f.f,{message:C.epics.empty}),j?.map(e=>(0,s.jsx)(k,{summary:e,expanded:N.has(e.epic.id),onToggle:()=>{var s;let t;return s=e.epic.id,void(!(t=new Set(N)).delete(s)&&t.add(s),h(t))},gateTitles:d,issueHref:x,writes:o},e.epic.id)),(0,s.jsx)(u.Y,{})]})}])}])})();