@inkeep/open-knowledge 0.25.0-beta.9 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/dist/assets/skills/discovery/SKILL.md +1 -1
  2. package/dist/assets/skills/project/SKILL.md +1 -1
  3. package/dist/cli.mjs +65 -65
  4. package/dist/constants-yKbJK8XR.mjs +2 -0
  5. package/dist/dist-DX1pr3BF.mjs +1 -0
  6. package/dist/{dist-Bj79e9B6.mjs → dist-V-C0Ejac.mjs} +41 -45
  7. package/dist/{gh-detect-Ck0zE5NU.mjs → gh-detect-DD9zzsz3.mjs} +2 -2
  8. package/dist/{git-handle-DY9lXoT3-CfssnuIB.mjs → git-handle-Bhgrj9qX-DBwQr-02.mjs} +2 -2
  9. package/dist/git-handle-DjEtQkHv-DQXg1XhZ.mjs +1 -0
  10. package/dist/index.d.mts +758 -1
  11. package/dist/index.mjs +1 -1
  12. package/dist/init-BRGhGrt3.mjs +1 -0
  13. package/dist/init-By8oGFWX.mjs +321 -0
  14. package/dist/{loader-1IrHrVRY.mjs → loader-C6q_dNMP.mjs} +3 -3
  15. package/dist/loader-D2NUZ1XL.mjs +1 -0
  16. package/dist/preview-BbcPCLGI.mjs +1 -0
  17. package/dist/{preview-qP8Vfz3W.mjs → preview-DNM7BfJy.mjs} +2 -2
  18. package/dist/public/assets/ActivityModeContent-DLFbXUxu.js +2 -0
  19. package/dist/public/assets/ConsentDialogBody-Bza0TMPd.js +2 -0
  20. package/dist/public/assets/DocumentContext-G9L-k-gp.js +32 -0
  21. package/dist/public/assets/EnableSyncConfirmDialog-CN-y9rVU.js +1 -0
  22. package/dist/public/assets/{GraphPanel-DiyMfzQg.js → GraphPanel-Cf9lwwnw.js} +3 -3
  23. package/dist/public/assets/ManagedArtifactProperties-BHlXkycH.js +1 -0
  24. package/dist/public/assets/McpConsentDialogBody-DXwlUNR4.js +1 -0
  25. package/dist/public/assets/PropertyPanel-COyeCUEm.js +2 -0
  26. package/dist/public/assets/SettingsDialogBody-aM9cYdrY.js +7 -0
  27. package/dist/public/assets/ShareBranchSwitchDialog-Bo95Aacz.js +1 -0
  28. package/dist/public/assets/ShareReceiveDialog-jEI9GD0l.js +1 -0
  29. package/dist/public/assets/ShareReceiveMissDialog-5z7ipD0K.js +1 -0
  30. package/dist/public/assets/{SkillEditorActions-BsGotb40.js → SkillEditorActions-85awfZeZ.js} +1 -1
  31. package/dist/public/assets/SourceEditor-5neNfhZp.js +2 -0
  32. package/dist/public/assets/{TerminalPanel-XlICQw5o.js → TerminalPanel-BNR82pgE.js} +2 -2
  33. package/dist/public/assets/{_baseFor-D25oCqSU.js → _baseFor-D774tcxR.js} +1 -1
  34. package/dist/public/assets/{agent-presence-BRmBPq78.js → agent-presence-C79Orlhd.js} +1 -1
  35. package/dist/public/assets/{arc-DHpQGPKi.js → arc-CbtK-u7K.js} +1 -1
  36. package/dist/public/assets/architecture-YZFGNWBL-BuVsq_Vy.js +1 -0
  37. package/dist/public/assets/{architectureDiagram-Q4EWVU46-Dl6zKdMi.js → architectureDiagram-Q4EWVU46-BEI0DR2f.js} +1 -1
  38. package/dist/public/assets/arrow-up-right-DoN2FmSd.js +1 -0
  39. package/dist/public/assets/auth-state-cache-DL7IyBXT.js +11 -0
  40. package/dist/public/assets/{blockDiagram-DXYQGD6D-TTNbipzm.js → blockDiagram-DXYQGD6D-CvhaR3v1.js} +1 -1
  41. package/dist/public/assets/button-cneJOVxD.js +1 -0
  42. package/dist/public/assets/{c4Diagram-AHTNJAMY-DJ6_yNro.js → c4Diagram-AHTNJAMY-CGJ_dXh7.js} +1 -1
  43. package/dist/public/assets/{calendar-BefXYqrv.js → calendar-D62otKE3.js} +1 -1
  44. package/dist/public/assets/channel-DQ8biAJJ.js +1 -0
  45. package/dist/public/assets/check-Dqb-7gfx.js +1 -0
  46. package/dist/public/assets/checkbox-P04sbGVQ.js +1 -0
  47. package/dist/public/assets/chevron-down-D3nis7uo.js +1 -0
  48. package/dist/public/assets/chevron-left-C6Q_NKVx.js +1 -0
  49. package/dist/public/assets/chevron-right-BfmqRYl8.js +1 -0
  50. package/dist/public/assets/{chunk-2KRD3SAO-tPsWTtQ8.js → chunk-2KRD3SAO-CTZc4q6X.js} +1 -1
  51. package/dist/public/assets/{chunk-336JU56O-BDNF8ABQ.js → chunk-336JU56O-Df_WdTwV.js} +2 -2
  52. package/dist/public/assets/chunk-426QAEUC-Bmtezokd.js +1 -0
  53. package/dist/public/assets/{chunk-4BX2VUAB-B11p4CCh.js → chunk-4BX2VUAB-DdaeBv7j.js} +1 -1
  54. package/dist/public/assets/{chunk-4TB4RGXK-k8il4Vah.js → chunk-4TB4RGXK-Z_KF79WQ.js} +1 -1
  55. package/dist/public/assets/chunk-55IACEB6-BMw0jGoU.js +1 -0
  56. package/dist/public/assets/{chunk-5FUZZQ4R-BhDATrAC.js → chunk-5FUZZQ4R-BP1tPdP4.js} +1 -1
  57. package/dist/public/assets/{chunk-5PVQY5BW-7GSXpGpA.js → chunk-5PVQY5BW-DHmdYl18.js} +1 -1
  58. package/dist/public/assets/{chunk-67CJDMHE-DhsO5dA4.js → chunk-67CJDMHE-Dr8TgESK.js} +1 -1
  59. package/dist/public/assets/{chunk-7N4EOEYR-_OPnqGDq.js → chunk-7N4EOEYR-wyEzdjqa.js} +1 -1
  60. package/dist/public/assets/{chunk-AA7GKIK3-CmQNMaMq.js → chunk-AA7GKIK3-DwcoEi3L.js} +1 -1
  61. package/dist/public/assets/{chunk-BSJP7CBP-DRn1Q8qZ.js → chunk-BSJP7CBP-Bi10nqUB.js} +1 -1
  62. package/dist/public/assets/{chunk-CIAEETIT-B6L60eSe.js → chunk-CIAEETIT-BRhaZZvf.js} +1 -1
  63. package/dist/public/assets/{chunk-EDXVE4YY-TfqLQBKW.js → chunk-EDXVE4YY-Cdm2p7eD.js} +1 -1
  64. package/dist/public/assets/{chunk-ENJZ2VHE-CqUfmxZL.js → chunk-ENJZ2VHE-CtYN5PYG.js} +1 -1
  65. package/dist/public/assets/{chunk-FMBD7UC4-_M3xiFqk.js → chunk-FMBD7UC4-yxpni0iy.js} +1 -1
  66. package/dist/public/assets/{chunk-FOC6F5B3-R--gjWDw.js → chunk-FOC6F5B3-zU_D2qL3.js} +1 -1
  67. package/dist/public/assets/{chunk-ICPOFSXX-MhneOmo1.js → chunk-ICPOFSXX-B1LaL7po.js} +2 -2
  68. package/dist/public/assets/{chunk-K5T4RW27-kfFBI7dm.js → chunk-K5T4RW27-CMA0573G.js} +1 -1
  69. package/dist/public/assets/{chunk-KGLVRYIC-MGoiNxXR.js → chunk-KGLVRYIC-4qBf2hVO.js} +1 -1
  70. package/dist/public/assets/{chunk-LIHQZDEY-3OBi6RFi.js → chunk-LIHQZDEY-DLhCQB7m.js} +1 -1
  71. package/dist/public/assets/{chunk-ORNJ4GCN-D1jJqGHz.js → chunk-ORNJ4GCN-DYvOtc7p.js} +1 -1
  72. package/dist/public/assets/{chunk-OYMX7WX6-Dn8GoIJo.js → chunk-OYMX7WX6-Cb6J6ILi.js} +1 -1
  73. package/dist/public/assets/chunk-QZHKN3VN-D9Augrqb.js +1 -0
  74. package/dist/public/assets/{chunk-U2HBQHQK-Wd4MIHD7.js → chunk-U2HBQHQK-BQEFtvNE.js} +1 -1
  75. package/dist/public/assets/{chunk-X2U36JSP-DgR3BYDC.js → chunk-X2U36JSP-B0NFvVYj.js} +1 -1
  76. package/dist/public/assets/{chunk-XPW4576I-BIhGQhfc.js → chunk-XPW4576I-CWtaxsuf.js} +1 -1
  77. package/dist/public/assets/{chunk-YZCP3GAM-DfCU0Z-P.js → chunk-YZCP3GAM-wveZpL2J.js} +1 -1
  78. package/dist/public/assets/{chunk-ZZ45TVLE-Bml1MOax.js → chunk-ZZ45TVLE-DjoyvapL.js} +1 -1
  79. package/dist/public/assets/classDiagram-6PBFFD2Q-Bh_mU7DM.js +1 -0
  80. package/dist/public/assets/classDiagram-v2-HSJHXN6E-thFVFTz4.js +1 -0
  81. package/dist/public/assets/clone-CJvW7gHo.js +1 -0
  82. package/dist/public/assets/collapsible-iVWLn36m.js +1 -0
  83. package/dist/public/assets/config-context-CVpOcWSZ.js +1 -0
  84. package/dist/public/assets/config-provider-NM1p9Zm_.js +4 -0
  85. package/dist/public/assets/{cose-bilkent-S5V4N54A-CIV0yZWV.js → cose-bilkent-S5V4N54A--ojmzpj3.js} +1 -1
  86. package/dist/public/assets/{cursor-CpjEfgnv.js → cursor-CGeB2PU5.js} +1 -1
  87. package/dist/public/assets/{dagre-BUnZfAns.js → dagre-D_jVclke.js} +1 -1
  88. package/dist/public/assets/{dagre-KV5264BT-Bscv1HQo.js → dagre-KV5264BT-LC6-Nebl.js} +1 -1
  89. package/dist/public/assets/desktop-bridge-types-C22Y6m5Y.js +1 -0
  90. package/dist/public/assets/{diagram-5BDNPKRD-QBP7yg8z.js → diagram-5BDNPKRD-HYhuDT0y.js} +1 -1
  91. package/dist/public/assets/{diagram-G4DWMVQ6-CMdeZ41j.js → diagram-G4DWMVQ6-CSvJiR_m.js} +1 -1
  92. package/dist/public/assets/{diagram-MMDJMWI5-DCz0ew8n.js → diagram-MMDJMWI5-CaR4m-x5.js} +1 -1
  93. package/dist/public/assets/{diagram-TYMM5635-zN9Dx1fB.js → diagram-TYMM5635-C2IGbfjW.js} +1 -1
  94. package/dist/public/assets/dialog-BiB39Lhy.js +45 -0
  95. package/dist/public/assets/dist-0Zj_lz7j.js +11 -0
  96. package/dist/public/assets/{dist-BdwnfcKi.js → dist-BEW6C_CZ.js} +1 -1
  97. package/dist/public/assets/dist-BVOt51sU.js +1 -0
  98. package/dist/public/assets/dist-BkxMNfFN.js +528 -0
  99. package/dist/public/assets/{dist-znFZQjzE.js → dist-BuoXuHTG.js} +1 -1
  100. package/dist/public/assets/dist-C0qRhuIN.js +1 -0
  101. package/dist/public/assets/{dist-CHEQzAl9.js → dist-CPpRuwFX.js} +1 -1
  102. package/dist/public/assets/{dist-3l3ADjEo.js → dist-CgYE3gek.js} +1 -1
  103. package/dist/public/assets/{dist-Dtxdqotp.js → dist-CkLidFHS.js} +1 -1
  104. package/dist/public/assets/{dist-E5KjgWw7.js → dist-D7I9jMga.js} +1 -1
  105. package/dist/public/assets/{dist-BgLh90uo2.js → dist-D8Itza26.js} +1 -1
  106. package/dist/public/assets/dist-D9WIglau.js +1 -0
  107. package/dist/public/assets/{dist-C3ftUzLd.js → dist-DI8cI4NP.js} +1 -1
  108. package/dist/public/assets/{dist-BZEgBj4N.js → dist-DPfhM7y8.js} +1 -1
  109. package/dist/public/assets/{dist-AQSp7Qij.js → dist-DQdOYnjt.js} +1 -1
  110. package/dist/public/assets/{dist-DWaLpHcz.js → dist-DVPtn9Zx.js} +1 -1
  111. package/dist/public/assets/dist-DfThKWJX.js +1 -0
  112. package/dist/public/assets/{dist-Bqo1ZTng.js → dist-Dg5nhLZ2.js} +1 -1
  113. package/dist/public/assets/{dist-KBKQayVB.js → dist-IEs1iCqd.js} +1 -1
  114. package/dist/public/assets/doc-hash-5OIPOG-G.js +1 -0
  115. package/dist/public/assets/documents-events-D064jVvV.js +1 -0
  116. package/dist/public/assets/{erDiagram-SMLLAGMA-CFPPEjz0.js → erDiagram-SMLLAGMA-D1J1j3Yx.js} +1 -1
  117. package/dist/public/assets/file-tree-adapter-Bg8FQvOB.js +1 -0
  118. package/dist/public/assets/{flatten-sS3L8FSH.js → flatten-CaB4Oqne.js} +1 -1
  119. package/dist/public/assets/{flowDiagram-DWJPFMVM-DOjygKY4.js → flowDiagram-DWJPFMVM-CMNxv96M.js} +1 -1
  120. package/dist/public/assets/{ganttDiagram-T4ZO3ILL-Cox3d5Yp.js → ganttDiagram-T4ZO3ILL-DSJ51gJ8.js} +1 -1
  121. package/dist/public/assets/git-branch-DtntyZcb.js +1 -0
  122. package/dist/public/assets/gitGraph-7Q5UKJZL-t28UFBv3.js +1 -0
  123. package/dist/public/assets/{gitGraphDiagram-UUTBAWPF-BXvw3bmB.js → gitGraphDiagram-UUTBAWPF-eqtXz7Hn.js} +1 -1
  124. package/dist/public/assets/{graphlib-FYrXvm7X.js → graphlib-CgeMr8SV.js} +1 -1
  125. package/dist/public/assets/index-CAO2ZCmA.js +2003 -0
  126. package/dist/public/assets/index-DJtUU5yP.css +1 -0
  127. package/dist/public/assets/info-B_9IOYHV.js +1 -0
  128. package/dist/public/assets/info-OMHHGYJF-B1OgcQSI.js +1 -0
  129. package/dist/public/assets/{infoDiagram-42DDH7IO-Bk54rrHD.js → infoDiagram-42DDH7IO-CB_Gw_tn.js} +1 -1
  130. package/dist/public/assets/{input-DkQ8Zmzd.js → input-D0MSkqYi.js} +1 -1
  131. package/dist/public/assets/{isEmpty-DKKUMPPC.js → isEmpty-DA9OVgr8.js} +1 -1
  132. package/dist/public/assets/isSymbol-BR3mCdgP.js +1 -0
  133. package/dist/public/assets/{ishikawaDiagram-UXIWVN3A-Bc3G_190.js → ishikawaDiagram-UXIWVN3A-Cnz_ITKx.js} +1 -1
  134. package/dist/public/assets/{journeyDiagram-VCZTEJTY-CLrtuKm7.js → journeyDiagram-VCZTEJTY-3INdsNOc.js} +1 -1
  135. package/dist/public/assets/{kanban-definition-6JOO6SKY-DwQiIK5Z.js → kanban-definition-6JOO6SKY-BXFLNQXS.js} +1 -1
  136. package/dist/public/assets/keyboard-shortcuts-DiiTkD4P.js +1 -0
  137. package/dist/public/assets/label-hTzLGQhh.js +1 -0
  138. package/dist/public/assets/{line-Dk1foLQO.js → line-DXPDJkMA.js} +1 -1
  139. package/dist/public/assets/{linear-D7qoVA2u.js → linear-BmFs-_tv.js} +1 -1
  140. package/dist/public/assets/loader-circle-CiIO3Fk-.js +1 -0
  141. package/dist/public/assets/{mermaid-parser.core-WlD4T62P.js → mermaid-parser.core-B0CngrEV.js} +2 -2
  142. package/dist/public/assets/{mermaid.core-CLOkRfd8.js → mermaid.core-BKAbpHOL.js} +3 -3
  143. package/dist/public/assets/{mindmap-definition-QFDTVHPH-DYJRBCQs.js → mindmap-definition-QFDTVHPH-Bm9VbqSR.js} +1 -1
  144. package/dist/public/assets/miss-dialog-store-Ay7SdCdU.js +1 -0
  145. package/dist/public/assets/{now-C9pOxV0O.js → now-Cnt3xXdO.js} +1 -1
  146. package/dist/public/assets/{open-managed-artifact-tab-DBkxdYp_.js → open-managed-artifact-tab-TH1tyrz4.js} +2 -2
  147. package/dist/public/assets/{ordinal-BLFf0NQg.js → ordinal-Ca5DZ3xr.js} +1 -1
  148. package/dist/public/assets/packet-4T2RLAQJ-BPKm0rz4.js +1 -0
  149. package/dist/public/assets/panel-BH2RZRZQ.js +1 -0
  150. package/dist/public/assets/pending-receive-nav-store-Vn0w1zmV.js +1 -0
  151. package/dist/public/assets/pie-ZZUOXDRM-C37JdEN8.js +1 -0
  152. package/dist/public/assets/{pieDiagram-DEJITSTG-BtJ94Yhu.js → pieDiagram-DEJITSTG-0LpqYimt.js} +1 -1
  153. package/dist/public/assets/project-paths-Dvd83Cnz.js +1 -0
  154. package/dist/public/assets/prop-types-PwAyvfNz.js +1 -0
  155. package/dist/public/assets/{propagation-api-CR2CQW4x.js → propagation-api-BHhJitgG.js} +1 -1
  156. package/dist/public/assets/{quadrantDiagram-34T5L4WZ-B8wf6FVG.js → quadrantDiagram-34T5L4WZ-D4bhJC5O.js} +1 -1
  157. package/dist/public/assets/radar-PYXPWWZC-BqODBTH1.js +1 -0
  158. package/dist/public/assets/radio-group-1_2tsQbc.js +1 -0
  159. package/dist/public/assets/receive-store-z_JiltPn.js +2 -0
  160. package/dist/public/assets/{reduce-CrpTR7cO.js → reduce-BkAOm6E5.js} +1 -1
  161. package/dist/public/assets/refresh-cw-EVALIeLp.js +1 -0
  162. package/dist/public/assets/{requirementDiagram-MS252O5E-PrH6Wk-f.js → requirementDiagram-MS252O5E-CrZIuUV5.js} +1 -1
  163. package/dist/public/assets/{sankeyDiagram-XADWPNL6-DuDWdyws.js → sankeyDiagram-XADWPNL6-CDJh0Hcw.js} +1 -1
  164. package/dist/public/assets/{selection-context-vh0MmCBb.js → selection-context-DaaHnwDJ.js} +1 -1
  165. package/dist/public/assets/{sequenceDiagram-FGHM5R23-BvF_oV_w.js → sequenceDiagram-FGHM5R23-Crf8F-0v.js} +1 -1
  166. package/dist/public/assets/share-metadata-rows-COyU9rhn.js +1 -0
  167. package/dist/public/assets/skill-actions-DmQL_HGK.js +1 -0
  168. package/dist/public/assets/skill-scope-Bt2TwqtA.js +1 -0
  169. package/dist/public/assets/skills-api-T8UMKFuI.js +1 -0
  170. package/dist/public/assets/{src-DEzC9TbA.js → src-60u1_sM3.js} +1 -1
  171. package/dist/public/assets/{stateDiagram-FHFEXIEX-BvOoHTsD.js → stateDiagram-FHFEXIEX-CoUQpm-3.js} +1 -1
  172. package/dist/public/assets/stateDiagram-v2-QKLJ7IA2-BM5GAHWg.js +1 -0
  173. package/dist/public/assets/target-navigation-intent-idRDy9hG.js +1 -0
  174. package/dist/public/assets/{telemetry-impl-BM7BnAv2.js → telemetry-impl-CgvC5Fqj.js} +2 -2
  175. package/dist/public/assets/telemetry-startup-CJa6t0AY.js +1 -0
  176. package/dist/public/assets/{textarea-BQFFQ9_l.js → textarea-CUjvX3CU.js} +1 -1
  177. package/dist/public/assets/{timeline-definition-GMOUNBTQ-_VzX4HAF.js → timeline-definition-GMOUNBTQ-CiQZrQPS.js} +1 -1
  178. package/dist/public/assets/toggle-group-IN7Np0Is.js +1 -0
  179. package/dist/public/assets/tooltip-C9Dd0rIc.js +1 -0
  180. package/dist/public/assets/treeView-SZITEDCU-ByrE6Vcb.js +1 -0
  181. package/dist/public/assets/treemap-W4RFUUIX-BcYBme24.js +1 -0
  182. package/dist/public/assets/triangle-alert-r1Ou0VrE.js +1 -0
  183. package/dist/public/assets/{typing-burst-detector-BT98lJOb.js → typing-burst-detector-D5zZVgAZ.js} +3 -3
  184. package/dist/public/assets/{vennDiagram-DHZGUBPP-BiS2w_m-.js → vennDiagram-DHZGUBPP-CoqI8iiY.js} +1 -1
  185. package/dist/public/assets/wardley-RL74JXVD-DDdV8nDz.js +1 -0
  186. package/dist/public/assets/{wardleyDiagram-NUSXRM2D-BgB2gOdF.js → wardleyDiagram-NUSXRM2D-6pXCRu0Y.js} +1 -1
  187. package/dist/public/assets/{xychartDiagram-5P7HB3ND-DIurDFny.js → xychartDiagram-5P7HB3ND-C3ELwBEZ.js} +1 -1
  188. package/dist/public/index.html +74 -58
  189. package/dist/{repair-launch-json-B2igGItE.mjs → repair-launch-json-DyLvrVW1.mjs} +2 -2
  190. package/dist/{repair-mcp-configs-B0YDgxKo.mjs → repair-mcp-configs-CT33n5tH.mjs} +2 -2
  191. package/dist/repair-skills-CdRibIoP.mjs +1 -0
  192. package/dist/repair-skills-DVU2ihEV.mjs +3 -0
  193. package/dist/server-lock-LsXsWtim-BrcDoV-6.mjs +1 -0
  194. package/dist/{server-lock-CN2YHwpP-BYuwTc93.mjs → server-lock-ltHt39S2-p0c2u2YF.mjs} +183 -181
  195. package/dist/{src-DD9KqmOQ.mjs → src-DcaRpMrD.mjs} +3 -3
  196. package/dist/{start-DYPIgVG4.mjs → start-DJG5OWGG.mjs} +2 -2
  197. package/dist/start-DSlZGsa_.mjs +1 -0
  198. package/dist/write-project-skill-CrWQ96do.mjs +36 -0
  199. package/package.json +1 -1
  200. package/scripts/aggregate-tolerance-class-fires.ts +15 -0
  201. package/scripts/build-config-schema.mjs +69 -0
  202. package/scripts/postinstall.mjs +19 -0
  203. package/scripts/probe-exec.ts +8 -0
  204. package/scripts/probe-read-document.ts +12 -0
  205. package/dist/constants-BwIQxzxy.mjs +0 -2
  206. package/dist/dist-DUXDeyBp.mjs +0 -1
  207. package/dist/git-handle-DdgvPBh6-C80s8fFN.mjs +0 -1
  208. package/dist/init-BzdKgHZr.mjs +0 -321
  209. package/dist/init-HqjPAvpy.mjs +0 -1
  210. package/dist/loader-BEm7pFin.mjs +0 -1
  211. package/dist/preview-BoSe54Y5.mjs +0 -1
  212. package/dist/public/assets/ActivityModeContent-QvRIx_do.js +0 -2
  213. package/dist/public/assets/ConsentDialogBody-CPX75E6Q.js +0 -2
  214. package/dist/public/assets/DocumentContext-zL3ZbwDo.js +0 -34
  215. package/dist/public/assets/ManagedArtifactProperties-OxkUY14x.js +0 -1
  216. package/dist/public/assets/McpConsentDialogBody-Dr_AIi2H.js +0 -1
  217. package/dist/public/assets/PropertyPanel-D9A27c2E.js +0 -2
  218. package/dist/public/assets/SettingsDialogBody-cotnwVMw.js +0 -7
  219. package/dist/public/assets/SourceEditor-BZ3cbLjs.js +0 -2
  220. package/dist/public/assets/architecture-YZFGNWBL-0pWnpYMK.js +0 -1
  221. package/dist/public/assets/button-DGf25ccp.js +0 -1
  222. package/dist/public/assets/channel-ClECMrL_.js +0 -1
  223. package/dist/public/assets/checkbox-EGJP9xna.js +0 -1
  224. package/dist/public/assets/chevron-down-CzFz_0zd.js +0 -1
  225. package/dist/public/assets/chevron-left-Bb3WBx0B.js +0 -1
  226. package/dist/public/assets/chevron-right-jyIhGBkw.js +0 -1
  227. package/dist/public/assets/chunk-426QAEUC-UlKin18B.js +0 -1
  228. package/dist/public/assets/chunk-55IACEB6-maKdi3q_.js +0 -1
  229. package/dist/public/assets/chunk-QZHKN3VN-DUJDGGgJ.js +0 -1
  230. package/dist/public/assets/classDiagram-6PBFFD2Q-C9zXtHUq.js +0 -1
  231. package/dist/public/assets/classDiagram-v2-HSJHXN6E-BLmW_Iw2.js +0 -1
  232. package/dist/public/assets/clone-1iKEKVKL.js +0 -1
  233. package/dist/public/assets/collapsible-CjgfK1G5.js +0 -1
  234. package/dist/public/assets/config-context-DhhN0rlf.js +0 -1
  235. package/dist/public/assets/config-validation-events-yB2QWKKJ.js +0 -11
  236. package/dist/public/assets/dialog-CIq9aQLf.js +0 -45
  237. package/dist/public/assets/dist-BRGUidv4.js +0 -526
  238. package/dist/public/assets/dist-BXd_K33i.js +0 -1
  239. package/dist/public/assets/dist-ICp_3rWY.js +0 -1
  240. package/dist/public/assets/documents-events-DA8Q5ICz.js +0 -11
  241. package/dist/public/assets/file-tree-adapter-CP3Xa3us.js +0 -1
  242. package/dist/public/assets/gitGraph-7Q5UKJZL-DNLE-2Tt.js +0 -1
  243. package/dist/public/assets/index-CG7gf_6X.css +0 -1
  244. package/dist/public/assets/index-CoukPsjj.js +0 -2004
  245. package/dist/public/assets/info-OMHHGYJF-BiaOigFV.js +0 -1
  246. package/dist/public/assets/isSymbol-BgthEULk.js +0 -1
  247. package/dist/public/assets/keyboard-shortcuts-DOkzBlgc.js +0 -1
  248. package/dist/public/assets/label-DyT4OD9H.js +0 -1
  249. package/dist/public/assets/navigation-targets-DNRja8Z0.js +0 -1
  250. package/dist/public/assets/packet-4T2RLAQJ-v1yqEdTP.js +0 -1
  251. package/dist/public/assets/panel-BbrtnF__.js +0 -1
  252. package/dist/public/assets/pie-ZZUOXDRM-pmbX_rAr.js +0 -1
  253. package/dist/public/assets/project-paths-CcPGtodV.js +0 -1
  254. package/dist/public/assets/prop-types-C-aZftyS.js +0 -1
  255. package/dist/public/assets/radar-PYXPWWZC-CQRfh76o.js +0 -1
  256. package/dist/public/assets/radio-group-CFPLlVag.js +0 -1
  257. package/dist/public/assets/skill-actions-Sc4IN52j.js +0 -1
  258. package/dist/public/assets/skills-api-ts3L80AV.js +0 -1
  259. package/dist/public/assets/stateDiagram-v2-QKLJ7IA2-B02IOISZ.js +0 -1
  260. package/dist/public/assets/target-navigation-intent-CIKQ1Hj-.js +0 -1
  261. package/dist/public/assets/telemetry-startup-Pz1ro4a2.js +0 -1
  262. package/dist/public/assets/toggle-group-Bc5FaFo3.js +0 -1
  263. package/dist/public/assets/tooltip-DiL7DBhT.js +0 -1
  264. package/dist/public/assets/treeView-SZITEDCU-iExObZ_v.js +0 -1
  265. package/dist/public/assets/treemap-W4RFUUIX-B-jRsyTq.js +0 -1
  266. package/dist/public/assets/wardley-RL74JXVD-DGsNLwY0.js +0 -1
  267. package/dist/repair-skills-Cv_2HgEN.mjs +0 -3
  268. package/dist/repair-skills-XaoNNrHC.mjs +0 -1
  269. package/dist/server-lock-8Lv6A-Xa-xTK-ENFB.mjs +0 -1
  270. package/dist/start-B4zA8vv3.mjs +0 -1
  271. package/dist/write-project-skill-HXJW0bDK.mjs +0 -36
  272. /package/dist/public/assets/{ActivityPanelDiffView-TEHR9A38.js → ActivityPanelDiffView-BPrpOwiv.js} +0 -0
  273. /package/dist/public/assets/{__vite-browser-external-DimdflAw.js → __vite-browser-external-DfbEpKPK.js} +0 -0
  274. /package/dist/public/assets/{array-CXyn2wAU.js → array-DrKFfLpK.js} +0 -0
  275. /package/dist/public/assets/{clike-kHME1xsl.js → clike-CY4jFeI9.js} +0 -0
  276. /package/dist/public/assets/{colors-DOVRXUpv.js → colors-BwB-X4pV.js} +0 -0
  277. /package/dist/public/assets/{cytoscape.esm-DGKrBfTH.js → cytoscape.esm-B72MXB0V.js} +0 -0
  278. /package/dist/public/assets/{defaultLocale-CIVmmKdD.js → defaultLocale-DEFJZ-43.js} +0 -0
  279. /package/dist/public/assets/{diff-B_7QuALZ.js → diff-VsLDmRbo.js} +0 -0
  280. /package/dist/public/assets/{dist-BAzUe-Rb.js → dist-BdpTVkuI.js} +0 -0
  281. /package/dist/public/assets/{dist-ug68MPTZ.js → dist-CbgmYSt6.js} +0 -0
  282. /package/dist/public/assets/{external-link-Bc6KvE1i.js → external-link-ChNdN5KK.js} +0 -0
  283. /package/dist/public/assets/{file-tree-rename-validation-BqGkSO9-.js → file-tree-rename-validation-BkATWpiZ.js} +0 -0
  284. /package/dist/public/assets/{format-Fsxus_sZ.js → format-CFXD031r.js} +0 -0
  285. /package/dist/public/assets/{go-DlHfV6Cv.js → go-CJnIK4Uo.js} +0 -0
  286. /package/dist/public/assets/{init-DAmDTHXL.js → init-20ACqh4a.js} +0 -0
  287. /package/dist/public/assets/{isObjectLike-0yTn5bno.js → isObjectLike-DURfeUEd.js} +0 -0
  288. /package/dist/public/assets/{katex-gTwLOSI2.js → katex-BunQWEOH.js} +0 -0
  289. /package/dist/public/assets/{lua-Cpo6SgEb.js → lua-BTUOHEPy.js} +0 -0
  290. /package/dist/public/assets/{mcp-consent-store-Q_heVQ86.js → mcp-consent-store-Bx7YkTj-.js} +0 -0
  291. /package/dist/public/assets/{min-CGFu6QbN.js → min-cXlECwx8.js} +0 -0
  292. /package/dist/public/assets/{panzoom.es-1vRDHCmL.js → panzoom.es-BPpDWM66.js} +0 -0
  293. /package/dist/public/assets/{path-1iyJ-o9O.js → path-Bbctax8p.js} +0 -0
  294. /package/dist/public/assets/{pdf-BjE4l7oX.js → pdf-Cz6vffXS.js} +0 -0
  295. /package/dist/public/assets/{pdf.worker-CU7PVDgr.js → pdf.worker-CUSszLRa.js} +0 -0
  296. /package/dist/public/assets/{perl-uq5LpsPX.js → perl-CSl7RrAK.js} +0 -0
  297. /package/dist/public/assets/{properties-DuLkwqft.js → properties-KpJMIKzZ.js} +0 -0
  298. /package/dist/public/assets/{r-DcEDABBa.js → r-DFsc7DIH.js} +0 -0
  299. /package/dist/public/assets/{rough.esm-Bk-GM2I8.js → rough.esm-CTApjP9q.js} +0 -0
  300. /package/dist/public/assets/{ruby-C6V5dDsD.js → ruby-dZPnOz8h.js} +0 -0
  301. /package/dist/public/assets/{shell-CVvCNjui.js → shell-CYSl653a.js} +0 -0
  302. /package/dist/public/assets/{sql-CQQBnjZX.js → sql-BfVjfYES.js} +0 -0
  303. /package/dist/public/assets/{src-C3imF5Zq.js → src-BjEzLuzr.js} +0 -0
  304. /package/dist/public/assets/{startup-marks-CWTDb1CP.js → startup-marks-DdMtjWR-.js} +0 -0
  305. /package/dist/public/assets/{stex-coA_FIxI.js → stex-DYxKXJZx.js} +0 -0
  306. /package/dist/public/assets/{swift-BBOV2SBg.js → swift-DjBuuwmF.js} +0 -0
  307. /package/dist/public/assets/{toml-lQGk0tnp.js → toml-C3_Svn60.js} +0 -0
  308. /package/dist/public/assets/{trace-api-MhJXZpsM.js → trace-api-D6fqC5Nw.js} +0 -0
  309. /package/dist/public/assets/{w3c-keyname-beU76Hfb.js → w3c-keyname-CHcJEDvG.js} +0 -0
@@ -0,0 +1,32 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./mermaid.core-BKAbpHOL.js","./preload-helper-2ej06EnG.js","./chunk-U2HBQHQK-BQEFtvNE.js","./src-60u1_sM3.js","./chunk-CFjPhJqf.js","./src-BjEzLuzr.js","./chunk-5PVQY5BW-DHmdYl18.js","./dist-BdpTVkuI.js","./chunk-ICPOFSXX-B1LaL7po.js","./_baseFor-D774tcxR.js","./isObjectLike-DURfeUEd.js","./isEmpty-DA9OVgr8.js","./chunk-336JU56O-Df_WdTwV.js","./chunk-5FUZZQ4R-BP1tPdP4.js","./chunk-X2U36JSP-B0NFvVYj.js","./chunk-ZZ45TVLE-DjoyvapL.js","./rough.esm-CTApjP9q.js","./chunk-ENJZ2VHE-CtYN5PYG.js","./line-DXPDJkMA.js","./path-Bbctax8p.js","./array-DrKFfLpK.js","./chunk-BSJP7CBP-Bi10nqUB.js","./chunk-426QAEUC-Bmtezokd.js","./chunk-XPW4576I-CWtaxsuf.js","./pdf-Cz6vffXS.js","./dist-CkLidFHS.js","./dist-DVPtn9Zx.js","./w3c-keyname-CHcJEDvG.js","./dist-CPpRuwFX.js","./dist-BEW6C_CZ.js","./dist-BuoXuHTG.js","./dist-Dg5nhLZ2.js","./dist-CgYE3gek.js","./stex-DYxKXJZx.js"])))=>i.map(i=>d[i]);
2
+ import{o as e,t}from"./chunk-CFjPhJqf.js";import{t as n}from"./preload-helper-2ej06EnG.js";import{n as r,r as i,t as a}from"./compiler-runtime-CVnuRdak.js";import{n as o,r as s}from"./dist-CQw2y-s3.js";import{n as c}from"./dist-BVOt51sU.js";import{t as l}from"./react-dom-C-oc-P2K.js";import{$n as u,$r as d,A as f,Ai as p,An as m,At as h,B as g,Bi as _,Bn as v,Br as y,Ci as b,Cn as x,Cr as S,Di as C,Dn as w,Dr as T,Fi as E,Fn as D,Fr as O,G as k,Gr as A,Gt as j,H as M,Hr as N,I as P,In as F,Ir as I,Jr as L,K as R,Kn as ee,Kr as z,Kt as B,Ln as te,Lr as V,Mn as H,Nn as U,Nt as W,Oi as ne,On as G,Ot as K,P as re,Pn as ie,Q as ae,Qn as oe,Qr as q,R as se,Rr as ce,S as le,Tn as ue,Tt as de,Un as fe,Ut as pe,V as me,Vi as he,Vr as ge,Vt as _e,W as ve,Wn as ye,Wr as be,Yn as xe,Yr as Se,Yt as Ce,Z as we,Zn as Te,_i as Ee,_n as De,_r as Oe,ai as ke,ar as Ae,b as je,bi as Me,c as Ne,ci as Pe,cn as Fe,d as Ie,di as Le,dt as Re,et as ze,f as Be,fi as Ve,fn as He,gi as Ue,gn as We,hi as Ge,hr as Ke,ii as qe,jn as Je,ki as Ye,kn as Xe,kt as Ze,l as Qe,ln as $e,lt as et,mi as tt,mn as nt,mr as rt,mt as it,ni as at,nr as ot,nt as st,o as ct,pi as lt,pn as ut,pt as dt,q as ft,qn as pt,qr as mt,ri as ht,rr as gt,rt as _t,s as vt,si as yt,sn as bt,sr as xt,st as St,tr as Ct,tt as wt,u as Tt,ui as Et,ur as Dt,ut as Ot,vi as kt,vr as At,wn as jt,wr as Mt,xi as Nt,xn as Pt,y as Ft,yi as It,z as Lt,zi as Rt,zr as zt}from"./dist-BkxMNfFN.js";import{t as Bt}from"./trace-api-D6fqC5Nw.js";import{n as Vt,t as Ht}from"./propagation-api-BHhJitgG.js";import{a as Ut,c as Wt,i as Gt,l as Kt,o as qt,r as Jt,t as Yt,u as J}from"./button-cneJOVxD.js";import{t as Xt}from"./check-Dqb-7gfx.js";import{t as Zt}from"./chevron-down-D3nis7uo.js";import{t as Qt}from"./chevron-right-BfmqRYl8.js";import{a as $t,c as en,i as tn,l as nn,o as rn,r as an,s as on}from"./prop-types-PwAyvfNz.js";import{c as sn,l as cn,n as ln,o as un,s as dn}from"./skill-scope-Bt2TwqtA.js";import{$ as fn,A as pn,C as mn,D as hn,E as gn,F as _n,G as vn,I as yn,J as bn,K as xn,L as Sn,M as Cn,N as wn,O as Tn,Q as En,R as Dn,S as On,T as kn,U as An,W as jn,X as Mn,Y as Nn,Z as Pn,_ as Fn,a as In,at as Ln,b as Rn,c as zn,d as Bn,et as Vn,f as Hn,g as Un,h as Wn,it as Gn,j as Kn,k as qn,l as Jn,m as Yn,nt as Xn,o as Zn,ot as Qn,p as $n,q as er,r as tr,rt as nr,s as rr,st as ir,tt as ar,u as or,v as sr,w as cr,x as lr,y as ur,z as dr}from"./config-provider-NM1p9Zm_.js";import{n as fr,r as pr}from"./config-context-CVpOcWSZ.js";import{t as mr}from"./git-branch-DtntyZcb.js";import{t as hr}from"./info-B_9IOYHV.js";import{t as gr}from"./loader-circle-CiIO3Fk-.js";import{t as _r}from"./triangle-alert-r1Ou0VrE.js";import{n as vr,r as yr}from"./dist-IEs1iCqd.js";import{a as br,c as xr,d as Sr,i as Cr,n as wr,o as Tr,r as Er,s as Dr,t as Or,u as kr}from"./dist-D9WIglau.js";import{a as Ar,i as jr,n as Mr,t as Nr}from"./tooltip-C9Dd0rIc.js";import{_ as Pr,a as Fr,c as Ir,g as Lr,h as Rr,i as zr,l as Br,m as Vr,n as Hr,p as Ur,r as Wr,t as Gr,u as Kr}from"./dist-C0qRhuIN.js";import{n as qr,r as Jr,t as Yr}from"./collapsible-iVWLn36m.js";import{a as Xr,c as Zr,d as Qr,f as $r,g as ei,h as ti,i as ni,l as ri,m as ii,n as ai,o as oi,p as si,r as ci,s as li,t as ui,u as di}from"./dialog-BiB39Lhy.js";import{t as fi}from"./dist-CbgmYSt6.js";import{t as pi}from"./dist-DfThKWJX.js";import{t as mi}from"./input-D0MSkqYi.js";import{n as hi,t as gi}from"./dist-0Zj_lz7j.js";import{t as _i}from"./file-tree-rename-validation-BkATWpiZ.js";import{S as vi,b as yi,c as bi,f as xi,l as Si,m as Ci,n as wi,o as Ti,r as Ei,s as Di,v as Oi}from"./doc-hash-5OIPOG-G.js";import{n as ki,t as Ai}from"./documents-events-D064jVvV.js";import{a as Y,o as ji,t as Mi}from"./startup-marks-DdMtjWR-.js";import{Bt as Ni,C as Pi,Ct as Fi,D as Ii,Dt as Li,E as Ri,Et as zi,F as Bi,Ft as Vi,Ht as Hi,It as Ui,J as Wi,L as Gi,Lt as Ki,Mt as qi,N as Ji,O as Yi,Ot as Xi,P as Zi,Pt as Qi,Q as $i,R as X,S as ea,St as ta,Tt as na,V as ra,Vt as ia,X as aa,Y as oa,a as sa,c as ca,dt as la,f as ua,j as da,l as fa,n as pa,o as ma,q as ha,r as ga,t as _a,ut as va,xt as ya}from"./dist-DVPtn9Zx.js";import{n as ba,r as xa,t as Sa}from"./dist-CPpRuwFX.js";import{t as Ca}from"./dist-DI8cI4NP.js";import{n as wa}from"./dist-D8Itza26.js";import{n as Ta}from"./dist-DPfhM7y8.js";import{n as Ea}from"./dist-CkLidFHS.js";import{i as Da,n as Oa,r as ka}from"./dist-D7I9jMga.js";import{n as Aa}from"./dist-BEW6C_CZ.js";import{t as ja}from"./stex-DYxKXJZx.js";var Z=i();(function(){var e=[`user-blocking`,`user-visible`,`background`];class t{constructor(){this.t=new MessageChannel,this.i=this.t.port2,this.l={},this.o=1,this.t.port1.onmessage=e=>this.h(e)}u(e){var t=this.o++;return this.l[t]=e,this.i.postMessage(t),t}p(e){delete this.l[e]}h(e){var t=e.data;if(t in this.l){var n=this.l[t];delete this.l[t],n()}}}function n(){return n.v||=new t,n.v}class r{constructor(e,t,n){n===void 0&&(n=0),this.k=e,this.T=null,this.C=null,this.m=!1,this._(t,n)}isIdleCallback(){return this.T===0}I(){return this.T===2}cancel(){if(!this.m)switch(this.m=!0,this.T){case 0:cancelIdleCallback(this.C);break;case 1:clearTimeout(this.C);break;case 2:n().p(this.C);break;default:throw TypeError(`Unknown CallbackType`)}}_(t,r){if(r&&r>0)return this.T=1,void(this.C=setTimeout(()=>{this.P()},r));if(!e.includes(t))throw TypeError(`Invalid task priority : `+t);t===`background`&&typeof requestIdleCallback==`function`?(this.T=0,this.C=requestIdleCallback(()=>{this.P()})):typeof MessageChannel==`function`?(this.T=2,this.C=n().u(()=>{this.P()})):(this.T=1,this.C=setTimeout(()=>{this.P()}))}P(){this.m||this.k()}}var i=0;class a{constructor(){this.j=null,this.M=null}isEmpty(){return this.j==null}push(e){if(typeof e!=`object`)throw TypeError(`Task must be an Object`);e.A=i++,this.isEmpty()?(e.N=null,this.j=e):(e.N=this.M,this.M.O=e),e.O=null,this.M=e}takeNextTask(){if(this.isEmpty())return null;var e=this.j;return this.q(e),e}merge(e,t){if(typeof t!=`function`)throw TypeError(`Must provide a selector function.`);if(e==null)throw Error(`sourceQueue cannot be null`);for(var n=this.j,r=null,i=e.j;i;){var a=i;if(i=i.O,t(a)){for(e.q(a);n&&n.A<a.A;)r=n,n=n.O;this.D(a,r),r=a}}}D(e,t){if(t!=this.M){var n=t?t.O:this.j;e.O=n,n.N=e,e.N=t,t==null?this.j=e:t.O=e}else this.push(e)}q(e){if(e==null)throw Error(`Expected task to be non-null`);e===this.j&&(this.j=e.O),e===this.M&&(this.M=this.M.N),e.O&&(e.O.N=e.N),e.N&&(e.N.O=e.O)}}class o extends Event{constructor(t,n){if(!n||!e.includes(n.previousPriority))throw TypeError(`Invalid task priority: '`+n.previousPriority+`'`);super(t),this.previousPriority=n.previousPriority}}class s extends AbortController{constructor(t){if(t===void 0&&(t={}),super(),t??={},typeof t!=`object`)throw TypeError(`'init' is not an object`);var n,r,i=t.priority===void 0?`user-visible`:t.priority;if(!e.includes(i))throw TypeError(`Invalid task priority: '`+i+`'`);this.H=i,this.R=!1,r=(n=this).signal,Object.defineProperties(r,{priority:{get:function(){return n.H},enumerable:!0},onprioritychange:{value:null,writable:!0,enumerable:!0}}),r.addEventListener(`prioritychange`,e=>{r.onprioritychange&&r.onprioritychange(e)})}setPriority(t){if(!e.includes(t))throw TypeError(`Invalid task priority: `+t);if(this.R)throw new DOMException(``,`NotAllowedError`);if(this.signal.priority!==t){this.R=!0;var n=this.H;this.H=t;var r=new o(`prioritychange`,{previousPriority:n});this.signal.dispatchEvent(r),this.R=!1}}}self.scheduler===void 0?(self.scheduler=new class{constructor(){this.S={},e.forEach(e=>{this.S[e]=[new a,new a]}),this.U=null,this.W=new WeakMap}yield(){return this.B(()=>{},{priority:`user-visible`},!0)}postTask(e,t){return this.B(e,t,!1)}B(t,n,r){if((n=Object.assign({},n)).signal!==void 0){if(n.signal===null||!(`aborted`in n.signal)||typeof n.signal.addEventListener!=`function`)return Promise.reject(TypeError(`'signal' is not a valid 'AbortSignal'`));if(n.signal&&n.signal.priority&&!e.includes(n.signal.priority))return Promise.reject(TypeError(`Invalid task priority: '`+n.signal.priority+`'`))}if(n.priority!==void 0&&(n.priority===null||!e.includes(n.priority)))return Promise.reject(TypeError(`Invalid task priority: '`+n.priority+`'`));if(n.delay===void 0&&(n.delay=0),n.delay=Number(n.delay),n.delay<0)return Promise.reject(TypeError(`'delay' must be a positive number.`));var i={callback:t,options:n,resolve:null,reject:null,hostCallback:null,abortCallback:null,onTaskCompleted:function(){this.options.signal&&this.abortCallback&&(this.options.signal.removeEventListener(`abort`,this.abortCallback),this.abortCallback=null)},onTaskAborted:function(){this.hostCallback&&=(this.hostCallback.cancel(),null),this.options.signal.removeEventListener(`abort`,this.abortCallback),this.abortCallback=null,this.reject(this.options.signal.reason)},isAborted:function(){return this.options.signal&&this.options.signal.aborted},isContinuation:r},a=new Promise((e,t)=>{i.resolve=e,i.reject=t});return this._(i),a}_(e){var t=e.options.signal;if(t){if(t.aborted)return void e.reject(t.reason);e.abortCallback=()=>{e.onTaskAborted()},t.addEventListener(`abort`,e.abortCallback)}e.options.delay>0?e.hostCallback=new r(()=>{e.hostCallback=null,this.F(e)},null,e.options.delay):(this.G(e),this.J())}F(e){this.G(e),this.U&&=(this.U.cancel(),null),this.K()}L(e){var t=this.W.get(e);if(t===void 0)throw Error(`Attempting to change priority on an unregistered signal`);if(t!==e.priority){for(var n=0;n<2;n++)this.S[e.priority][n].merge(this.S[t][n],t=>t.options.signal===e);this.W.set(e,e.priority)}}K(){this.U=null,this.V(),this.J()}J(){var{priority:e}=this.X();e!=null&&(e!==`background`&&this.U&&this.U.isIdleCallback()&&(this.U.cancel(),this.U=null),this.U||=new r(()=>{this.K()},e,0))}G(t){var n;if(!e.includes(n=t.options.priority?t.options.priority:t.options.signal&&t.options.signal.priority?t.options.signal.priority:`user-visible`))throw TypeError(`Invalid task priority: `+n);if(t.options.signal&&t.options.signal.priority){var r=t.options.signal;this.W.has(r)||(r.addEventListener(`prioritychange`,()=>{this.L(r)}),this.W.set(r,r.priority))}this.S[n][+!t.isContinuation].push(t)}V(){var e=null;do{var{priority:t,type:n}=this.X();if(t==null)return;e=this.S[t][n].takeNextTask()}while(e.isAborted());try{var r=e.callback();e.resolve(r)}catch(t){e.reject(t)}finally{e.onTaskCompleted()}}X(){for(var t=0;t<e.length;t++)for(var n=e[t],r=0;r<2;r++)if(!this.S[n][r].isEmpty())return{priority:n,type:r};return{priority:null,type:0}}},self.TaskController=s,self.TaskPriorityChangeEvent=o):self.scheduler.yield||(self.scheduler.yield=function(){return self.scheduler.postTask(()=>{},{priority:`user-blocking`})})})();var Ma=J(`app-window`,[[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}],[`path`,{d:`M10 4v4`,key:`pp8u80`}],[`path`,{d:`M2 8h20`,key:`d11cs7`}],[`path`,{d:`M6 4v4`,key:`1svtjw`}]]),Na=J(`arrow-down`,[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]),Pa=J(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),Fa=J(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),Ia=J(`arrow-up`,[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]),La=J(`book-open`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}]]),Ra=J(`box`,[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]),za=J(`bug`,[[`path`,{d:`M12 20v-9`,key:`1qisl0`}],[`path`,{d:`M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z`,key:`uouzyp`}],[`path`,{d:`M14.12 3.88 16 2`,key:`qol33r`}],[`path`,{d:`M21 21a4 4 0 0 0-3.81-4`,key:`1b0z45`}],[`path`,{d:`M21 5a4 4 0 0 1-3.55 3.97`,key:`5cxbf6`}],[`path`,{d:`M22 13h-4`,key:`1jl80f`}],[`path`,{d:`M3 21a4 4 0 0 1 3.81-4`,key:`1fjd4g`}],[`path`,{d:`M3 5a4 4 0 0 0 3.55 3.97`,key:`1d7oge`}],[`path`,{d:`M6 13H2`,key:`82j7cp`}],[`path`,{d:`m8 2 1.88 1.88`,key:`fmnt4t`}],[`path`,{d:`M9 7.13V6a3 3 0 1 1 6 0v1.13`,key:`1vgav8`}]]),Ba=J(`chart-column`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M18 17V9`,key:`2bz60n`}],[`path`,{d:`M13 17V5`,key:`1frdt8`}],[`path`,{d:`M8 17v-3`,key:`17ska0`}]]),Va=J(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),Ha=J(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),Ua=J(`circle-question-mark`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),Wa=J(`circle-x`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),Ga=J(`clipboard-list`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}],[`path`,{d:`M12 11h4`,key:`1jrz19`}],[`path`,{d:`M12 16h4`,key:`n85exb`}],[`path`,{d:`M8 11h.01`,key:`1dfujw`}],[`path`,{d:`M8 16h.01`,key:`18s6g9`}]]),Ka=J(`code-xml`,[[`path`,{d:`m18 16 4-4-4-4`,key:`1inbqp`}],[`path`,{d:`m6 8-4 4 4 4`,key:`15zrgr`}],[`path`,{d:`m14.5 4-5 16`,key:`e7oirm`}]]),qa=J(`code`,[[`path`,{d:`m16 18 6-6-6-6`,key:`eg8j8`}],[`path`,{d:`m8 6-6 6 6 6`,key:`ppft3o`}]]),Ja=J(`eraser`,[[`path`,{d:`M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21`,key:`g5wo59`}],[`path`,{d:`m5.082 11.09 8.828 8.828`,key:`1wx5vj`}]]),Ya=J(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]),Xa=J(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),Za=J(`file-image`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`circle`,{cx:`10`,cy:`12`,r:`2`,key:`737tya`}],[`path`,{d:`m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22`,key:`wt3hpn`}]]),Qa=J(`file-plus-corner`,[[`path`,{d:`M11.35 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5.35`,key:`17jvcc`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M14 19h6`,key:`bvotb8`}],[`path`,{d:`M17 16v6`,key:`18yu1i`}]]),$a=J(`file-text`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]),eo=J(`file-up`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M12 12v6`,key:`3ahymv`}],[`path`,{d:`m15 15-3-3-3 3`,key:`15xj92`}]]),to=J(`file`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}]]),no=J(`film`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M7 3v18`,key:`bbkbws`}],[`path`,{d:`M3 7.5h4`,key:`zfgn84`}],[`path`,{d:`M3 12h18`,key:`1i2n21`}],[`path`,{d:`M3 16.5h4`,key:`1230mu`}],[`path`,{d:`M17 3v18`,key:`in4fa5`}],[`path`,{d:`M17 7.5h4`,key:`myr1c1`}],[`path`,{d:`M17 16.5h4`,key:`go4c1d`}]]),ro=J(`flask-conical`,[[`path`,{d:`M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2`,key:`18mbvz`}],[`path`,{d:`M6.453 15h11.094`,key:`3shlmq`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}]]),io=J(`hash`,[[`line`,{x1:`4`,x2:`20`,y1:`9`,y2:`9`,key:`4lhtct`}],[`line`,{x1:`4`,x2:`20`,y1:`15`,y2:`15`,key:`vyu0kd`}],[`line`,{x1:`10`,x2:`8`,y1:`3`,y2:`21`,key:`1ggp8o`}],[`line`,{x1:`16`,x2:`14`,y1:`3`,y2:`21`,key:`weycgp`}]]),ao=J(`heading-1`,[[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`path`,{d:`m17 12 3-2v8`,key:`1hhhft`}]]),oo=J(`heading-2`,[[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`path`,{d:`M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1`,key:`9jr5yi`}]]),so=J(`heading-3`,[[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`path`,{d:`M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2`,key:`68ncm8`}],[`path`,{d:`M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2`,key:`1ejuhz`}]]),co=J(`image`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]),lo=J(`layout-grid`,[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]),uo=J(`layout-panel-top`,[[`rect`,{width:`18`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`f1a2em`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}]]),fo=J(`lightbulb`,[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`,key:`1gvzjb`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`path`,{d:`M10 22h4`,key:`ceow96`}]]),po=J(`link-2-off`,[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7`,key:`10o201`}],[`path`,{d:`M15 7h2a5 5 0 0 1 4 8`,key:`1d3206`}],[`line`,{x1:`8`,x2:`12`,y1:`12`,y2:`12`,key:`rvw6j4`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]),mo=[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]],ho=J(`link-2`,mo),go=J(`list-ordered`,[[`path`,{d:`M11 5h10`,key:`1cz7ny`}],[`path`,{d:`M11 12h10`,key:`1438ji`}],[`path`,{d:`M11 19h10`,key:`11t30w`}],[`path`,{d:`M4 4h1v5`,key:`10yrso`}],[`path`,{d:`M4 9h2`,key:`r1h2o0`}],[`path`,{d:`M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02`,key:`xtkcd5`}]]),_o=J(`list-todo`,[[`path`,{d:`M13 5h8`,key:`a7qcls`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}],[`path`,{d:`m3 17 2 2 4-4`,key:`1jhpwq`}],[`rect`,{x:`3`,y:`4`,width:`6`,height:`6`,rx:`1`,key:`cif1o7`}]]),vo=J(`list`,[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]),yo=J(`message-square-warning`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M12 15h.01`,key:`q59x07`}],[`path`,{d:`M12 7v4`,key:`xawao1`}]]),bo=J(`minus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]),xo=J(`octagon-alert`,[[`path`,{d:`M12 16h.01`,key:`1drbdi`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z`,key:`1fd625`}]]),So=J(`panel-left`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}]]),Co=J(`panel-top`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}]]),wo=J(`paperclip`,[[`path`,{d:`m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551`,key:`1miecu`}]]),To=J(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]),Eo=J(`quote`,[[`path`,{d:`M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`rib7q0`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`1ymkrd`}]]),Do=J(`refresh-ccw`,[[`path`,{d:`M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`14sxne`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}],[`path`,{d:`M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16`,key:`1hlbsb`}],[`path`,{d:`M16 16h5v5`,key:`ccwih5`}]]),Oo=J(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),ko=J(`settings-2`,[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]]),Ao=J(`shapes`,[[`path`,{d:`M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z`,key:`1bo67w`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`,key:`1bkyp8`}],[`circle`,{cx:`17.5`,cy:`17.5`,r:`3.5`,key:`w3z12y`}]]),jo=J(`shield-alert`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M12 16h.01`,key:`1drbdi`}]]),Mo=J(`sigma`,[[`path`,{d:`M18 7V5a1 1 0 0 0-1-1H6.5a.5.5 0 0 0-.4.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a.5.5 0 0 0 .4.8H17a1 1 0 0 0 1-1v-2`,key:`wuwx1p`}]]),No=J(`sliders-horizontal`,[[`path`,{d:`M10 5H3`,key:`1qgfaw`}],[`path`,{d:`M12 19H3`,key:`yhmn1j`}],[`path`,{d:`M14 3v4`,key:`1sua03`}],[`path`,{d:`M16 17v4`,key:`1q0r14`}],[`path`,{d:`M21 12h-9`,key:`1o4lsq`}],[`path`,{d:`M21 19h-5`,key:`1rlt1p`}],[`path`,{d:`M21 5h-7`,key:`1oszz2`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M8 12H3`,key:`a7s4jb`}]]),Po=J(`square-play`,[[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z`,key:`kmsa83`}]]),Fo=J(`superscript`,[[`path`,{d:`m4 19 8-8`,key:`hr47gm`}],[`path`,{d:`m12 19-8-8`,key:`1dhhmo`}],[`path`,{d:`M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06`,key:`1dfcux`}]]),Io=J(`table-2`,[[`path`,{d:`M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18`,key:`gugj83`}]]),Lo=J(`upload`,[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]),Ro=J(`volume-2`,[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`,key:`1q6k2b`}],[`path`,{d:`M19.364 18.364a9 9 0 0 0 0-12.728`,key:`ijwkga`}]]),zo=J(`workflow`,[[`rect`,{width:`8`,height:`8`,x:`3`,y:`3`,rx:`2`,key:`by2w9f`}],[`path`,{d:`M7 11v4a2 2 0 0 0 2 2h4`,key:`xkn7yn`}],[`rect`,{width:`8`,height:`8`,x:`13`,y:`13`,rx:`2`,key:`1cgmvn`}]]),Bo=J(`zap`,[[`path`,{d:`M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z`,key:`1xq2db`}]]),Vo=J(`zoom-in`,[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`,key:`13gj7c`}],[`line`,{x1:`11`,x2:`11`,y1:`8`,y2:`14`,key:`1vmskp`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`,key:`durymu`}]]),Ho=J(`zoom-out`,[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`,key:`13gj7c`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`,key:`durymu`}]]),Uo=t((e=>{var t=r();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:n,a=t.useState,o=t.useEffect,s=t.useLayoutEffect,c=t.useDebugValue;function l(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,l=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&l({inst:i})},[e,n,t]),o(function(){return u(i)&&l({inst:i}),e(function(){u(i)&&l({inst:i})})},[e]),c(n),n}function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch{return!0}}function d(e,t){return t()}var f=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?d:l;e.useSyncExternalStore=t.useSyncExternalStore===void 0?f:t.useSyncExternalStore})),Wo=t(((e,t)=>{t.exports=Uo()})),Q=e(r(),1),Go=e(l(),1);function Ko(e,[t,n]){return Math.min(n,Math.max(t,e))}var qo=`Popover`,[Jo,Yo]=kr(qo,[Fr]),Xo=Fr(),[Zo,Qo]=Jo(qo),$o=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!1}=e,s=Xo(t),c=Q.useRef(null),[l,u]=Q.useState(!1),[d,f]=Tr({prop:r,defaultProp:i??!1,onChange:a,caller:qo});return(0,Z.jsx)(zr,{...s,children:(0,Z.jsx)(Zo,{scope:t,contentId:Cr(),triggerRef:c,open:d,onOpenChange:f,onOpenToggle:Q.useCallback(()=>f(e=>!e),[f]),hasCustomAnchor:l,onCustomAnchorAdd:Q.useCallback(()=>u(!0),[]),onCustomAnchorRemove:Q.useCallback(()=>u(!1),[]),modal:o,children:n})})};$o.displayName=qo;var es=`PopoverAnchor`,ts=Q.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=Qo(es,n),a=Xo(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=i;return Q.useEffect(()=>(o(),()=>s()),[o,s]),(0,Z.jsx)(Gr,{...a,...r,ref:t})});ts.displayName=es;var ns=`PopoverTrigger`,rs=Q.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=Qo(ns,n),a=Xo(n),o=Kt(t,i.triggerRef),s=(0,Z.jsx)(Sr.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.contentId,"data-state":vs(i.open),...r,ref:o,onClick:xr(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?s:(0,Z.jsx)(Gr,{asChild:!0,...a,children:s})});rs.displayName=ns;var is=`PopoverPortal`,[as,os]=Jo(is,{forceMount:void 0}),ss=e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=Qo(is,t);return(0,Z.jsx)(as,{scope:t,forceMount:n,children:(0,Z.jsx)(br,{present:n||a.open,children:(0,Z.jsx)(Or,{asChild:!0,container:i,children:r})})})};ss.displayName=is;var cs=`PopoverContent`,ls=Q.forwardRef((e,t)=>{let n=os(cs,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=Qo(cs,e.__scopePopover);return(0,Z.jsx)(br,{present:r||a.open,children:a.modal?(0,Z.jsx)(ds,{...i,ref:t}):(0,Z.jsx)(fs,{...i,ref:t})})});ls.displayName=cs;var us=qt(`PopoverContent.RemoveScroll`),ds=Q.forwardRef((e,t)=>{let n=Qo(cs,e.__scopePopover),r=Q.useRef(null),i=Kt(t,r),a=Q.useRef(!1);return Q.useEffect(()=>{let e=r.current;if(e)return si(e)},[]),(0,Z.jsx)(ii,{as:us,allowPinchZoom:!0,children:(0,Z.jsx)(ps,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:xr(e.onCloseAutoFocus,e=>{e.preventDefault(),a.current||n.triggerRef.current?.focus()}),onPointerDownOutside:xr(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;a.current=t.button===2||n},{checkForDefaultPrevented:!1}),onFocusOutside:xr(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),fs=Q.forwardRef((e,t)=>{let n=Qo(cs,e.__scopePopover),r=Q.useRef(!1),i=Q.useRef(!1);return(0,Z.jsx)(ps,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),ps=Q.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:u,...d}=e,f=Qo(cs,n),p=Xo(n);return ti(),(0,Z.jsx)(ei,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,Z.jsx)(wr,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>f.onOpenChange(!1),children:(0,Z.jsx)(Wr,{"data-state":vs(f.open),role:`dialog`,id:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-popover-content-available-width":`var(--radix-popper-available-width)`,"--radix-popover-content-available-height":`var(--radix-popper-available-height)`,"--radix-popover-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-popover-trigger-height":`var(--radix-popper-anchor-height)`}})})})}),ms=`PopoverClose`,hs=Q.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=Qo(ms,n);return(0,Z.jsx)(Sr.button,{type:`button`,...r,ref:t,onClick:xr(e.onClick,()=>i.onOpenChange(!1))})});hs.displayName=ms;var gs=`PopoverArrow`,_s=Q.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=Xo(n);return(0,Z.jsx)(Hr,{...i,...r,ref:t})});_s.displayName=gs;function vs(e){return e?`open`:`closed`}var ys=$o,bs=ts,xs=rs,Ss=ss,Cs=ls,ws=[` `,`Enter`,`ArrowUp`,`ArrowDown`],Ts=[` `,`Enter`],Es=`Select`,[Ds,Os,ks]=Pr(Es),[As,js]=kr(Es,[ks,Fr]),Ms=Fr(),[Ns,Ps]=As(Es),[Fs,Is]=As(Es),Ls=e=>{let{__scopeSelect:t,children:n,open:r,defaultOpen:i,onOpenChange:a,value:o,defaultValue:s,onValueChange:c,dir:l,name:u,autoComplete:d,disabled:f,required:p,form:m}=e,h=Ms(t),[g,_]=Q.useState(null),[v,y]=Q.useState(null),[b,x]=Q.useState(!1),S=Lr(l),[C,w]=Tr({prop:r,defaultProp:i??!1,onChange:a,caller:Es}),[T,E]=Tr({prop:o,defaultProp:s,onChange:c,caller:Es}),D=Q.useRef(null),O=g?m||!!g.closest(`form`):!0,[k,A]=Q.useState(new Set),j=Array.from(k).map(e=>e.props.value).join(`;`);return(0,Z.jsx)(zr,{...h,children:(0,Z.jsxs)(Ns,{required:p,scope:t,trigger:g,onTriggerChange:_,valueNode:v,onValueNodeChange:y,valueNodeHasChildren:b,onValueNodeHasChildrenChange:x,contentId:Cr(),value:T,onValueChange:E,open:C,onOpenChange:w,dir:S,triggerPointerDownPosRef:D,disabled:f,children:[(0,Z.jsx)(Ds.Provider,{scope:t,children:(0,Z.jsx)(Fs,{scope:e.__scopeSelect,onNativeOptionAdd:Q.useCallback(e=>{A(t=>new Set(t).add(e))},[]),onNativeOptionRemove:Q.useCallback(e=>{A(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),O?(0,Z.jsxs)(Mc,{"aria-hidden":!0,required:p,tabIndex:-1,name:u,autoComplete:d,value:T,onChange:e=>E(e.target.value),disabled:f,form:m,children:[T===void 0?(0,Z.jsx)(`option`,{value:``}):null,Array.from(k)]},j):null]})})};Ls.displayName=Es;var Rs=`SelectTrigger`,zs=Q.forwardRef((e,t)=>{let{__scopeSelect:n,disabled:r=!1,...i}=e,a=Ms(n),o=Ps(Rs,n),s=o.disabled||r,c=Kt(t,o.onTriggerChange),l=Os(n),u=Q.useRef(`touch`),[d,f,p]=Pc(e=>{let t=l().filter(e=>!e.disabled),n=Fc(t,e,t.find(e=>e.value===o.value));n!==void 0&&o.onValueChange(n.value)}),m=e=>{s||(o.onOpenChange(!0),p()),e&&(o.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,Z.jsx)(Gr,{asChild:!0,...a,children:(0,Z.jsx)(Sr.button,{type:`button`,role:`combobox`,"aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":`none`,dir:o.dir,"data-state":o.open?`open`:`closed`,disabled:s,"data-disabled":s?``:void 0,"data-placeholder":Nc(o.value)?``:void 0,...i,ref:c,onClick:xr(i.onClick,e=>{e.currentTarget.focus(),u.current!==`mouse`&&m(e)}),onPointerDown:xr(i.onPointerDown,e=>{u.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),e.button===0&&e.ctrlKey===!1&&e.pointerType===`mouse`&&(m(e),e.preventDefault())}),onKeyDown:xr(i.onKeyDown,e=>{let t=d.current!==``;!(e.ctrlKey||e.altKey||e.metaKey)&&e.key.length===1&&f(e.key),!(t&&e.key===` `)&&ws.includes(e.key)&&(m(),e.preventDefault())})})})});zs.displayName=Rs;var Bs=`SelectValue`,Vs=Q.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:i,children:a,placeholder:o=``,...s}=e,c=Ps(Bs,n),{onValueNodeHasChildrenChange:l}=c,u=a!==void 0,d=Kt(t,c.onValueNodeChange);return Dr(()=>{l(u)},[l,u]),(0,Z.jsx)(Sr.span,{...s,ref:d,style:{pointerEvents:`none`},children:Nc(c.value)?(0,Z.jsx)(Z.Fragment,{children:o}):a})});Vs.displayName=Bs;var Hs=`SelectIcon`,Us=Q.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,...i}=e;return(0,Z.jsx)(Sr.span,{"aria-hidden":!0,...i,ref:t,children:r||`▼`})});Us.displayName=Hs;var Ws=`SelectPortal`,Gs=e=>(0,Z.jsx)(Or,{asChild:!0,...e});Gs.displayName=Ws;var Ks=`SelectContent`,qs=Q.forwardRef((e,t)=>{let n=Ps(Ks,e.__scopeSelect),[r,i]=Q.useState();if(Dr(()=>{i(new DocumentFragment)},[]),!n.open){let t=r;return t?Go.createPortal((0,Z.jsx)(Ys,{scope:e.__scopeSelect,children:(0,Z.jsx)(Ds.Slot,{scope:e.__scopeSelect,children:(0,Z.jsx)(`div`,{children:e.children})})}),t):null}return(0,Z.jsx)($s,{...e,ref:t})});qs.displayName=Ks;var Js=10,[Ys,Xs]=As(Ks),Zs=`SelectContentImpl`,Qs=qt(`SelectContent.RemoveScroll`),$s=Q.forwardRef((e,t)=>{let{__scopeSelect:n,position:r=`item-aligned`,onCloseAutoFocus:i,onEscapeKeyDown:a,onPointerDownOutside:o,side:s,sideOffset:c,align:l,alignOffset:u,arrowPadding:d,collisionBoundary:f,collisionPadding:p,sticky:m,hideWhenDetached:h,avoidCollisions:g,..._}=e,v=Ps(Ks,n),[y,b]=Q.useState(null),[x,S]=Q.useState(null),C=Kt(t,e=>b(e)),[w,T]=Q.useState(null),[E,D]=Q.useState(null),O=Os(n),[k,A]=Q.useState(!1),j=Q.useRef(!1);Q.useEffect(()=>{if(y)return si(y)},[y]),ti();let M=Q.useCallback(e=>{let[t,...n]=O().map(e=>e.ref.current),[r]=n.slice(-1),i=document.activeElement;for(let n of e)if(n===i||(n?.scrollIntoView({block:`nearest`}),n===t&&x&&(x.scrollTop=0),n===r&&x&&(x.scrollTop=x.scrollHeight),n?.focus(),document.activeElement!==i))return},[O,x]),N=Q.useCallback(()=>M([w,y]),[M,w,y]);Q.useEffect(()=>{k&&N()},[k,N]);let{onOpenChange:P,triggerPointerDownPosRef:F}=v;Q.useEffect(()=>{if(y){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(F.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(F.current?.y??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():y.contains(n.target)||P(!1),document.removeEventListener(`pointermove`,t),F.current=null};return F.current!==null&&(document.addEventListener(`pointermove`,t),document.addEventListener(`pointerup`,n,{capture:!0,once:!0})),()=>{document.removeEventListener(`pointermove`,t),document.removeEventListener(`pointerup`,n,{capture:!0})}}},[y,P,F]),Q.useEffect(()=>{let e=()=>P(!1);return window.addEventListener(`blur`,e),window.addEventListener(`resize`,e),()=>{window.removeEventListener(`blur`,e),window.removeEventListener(`resize`,e)}},[P]);let[I,L]=Pc(e=>{let t=O().filter(e=>!e.disabled),n=Fc(t,e,t.find(e=>e.ref.current===document.activeElement));n&&setTimeout(()=>n.ref.current.focus())}),R=Q.useCallback((e,t,n)=>{let r=!j.current&&!n;(v.value!==void 0&&v.value===t||r)&&(T(e),r&&(j.current=!0))},[v.value]),ee=Q.useCallback(()=>y?.focus(),[y]),z=Q.useCallback((e,t,n)=>{let r=!j.current&&!n;(v.value!==void 0&&v.value===t||r)&&D(e)},[v.value]),B=r===`popper`?rc:tc,te=B===rc?{side:s,sideOffset:c,align:l,alignOffset:u,arrowPadding:d,collisionBoundary:f,collisionPadding:p,sticky:m,hideWhenDetached:h,avoidCollisions:g}:{};return(0,Z.jsx)(Ys,{scope:n,content:y,viewport:x,onViewportChange:S,itemRefCallback:R,selectedItem:w,onItemLeave:ee,itemTextRefCallback:z,focusSelectedItem:N,selectedItemText:E,position:r,isPositioned:k,searchRef:I,children:(0,Z.jsx)(ii,{as:Qs,allowPinchZoom:!0,children:(0,Z.jsx)(ei,{asChild:!0,trapped:v.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:xr(i,e=>{v.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,Z.jsx)(wr,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>v.onOpenChange(!1),children:(0,Z.jsx)(B,{role:`listbox`,id:v.contentId,"data-state":v.open?`open`:`closed`,dir:v.dir,onContextMenu:e=>e.preventDefault(),..._,...te,onPlaced:()=>A(!0),ref:C,style:{display:`flex`,flexDirection:`column`,outline:`none`,..._.style},onKeyDown:xr(_.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if(e.key===`Tab`&&e.preventDefault(),!t&&e.key.length===1&&L(e.key),[`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(e.key)){let t=O().filter(e=>!e.disabled).map(e=>e.ref.current);if([`ArrowUp`,`End`].includes(e.key)&&(t=t.slice().reverse()),[`ArrowUp`,`ArrowDown`].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>M(t)),e.preventDefault()}})})})})})})});$s.displayName=Zs;var ec=`SelectItemAlignedPosition`,tc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:r,...i}=e,a=Ps(Ks,n),o=Xs(Ks,n),[s,c]=Q.useState(null),[l,u]=Q.useState(null),d=Kt(t,e=>u(e)),f=Os(n),p=Q.useRef(!1),m=Q.useRef(!0),{viewport:h,selectedItem:g,selectedItemText:_,focusSelectedItem:v}=o,y=Q.useCallback(()=>{if(a.trigger&&a.valueNode&&s&&l&&h&&g&&_){let e=a.trigger.getBoundingClientRect(),t=l.getBoundingClientRect(),n=a.valueNode.getBoundingClientRect(),i=_.getBoundingClientRect();if(a.dir!==`rtl`){let r=i.left-t.left,a=n.left-r,o=e.left-a,c=e.width+o,l=Math.max(c,t.width),u=window.innerWidth-Js,d=Ko(a,[Js,Math.max(Js,u-l)]);s.style.minWidth=c+`px`,s.style.left=d+`px`}else{let r=t.right-i.right,a=window.innerWidth-n.right-r,o=window.innerWidth-e.right-a,c=e.width+o,l=Math.max(c,t.width),u=window.innerWidth-Js,d=Ko(a,[Js,Math.max(Js,u-l)]);s.style.minWidth=c+`px`,s.style.right=d+`px`}let o=f(),c=window.innerHeight-Js*2,u=h.scrollHeight,d=window.getComputedStyle(l),m=parseInt(d.borderTopWidth,10),v=parseInt(d.paddingTop,10),y=parseInt(d.borderBottomWidth,10),b=parseInt(d.paddingBottom,10),x=m+v+u+b+y,S=Math.min(g.offsetHeight*5,x),C=window.getComputedStyle(h),w=parseInt(C.paddingTop,10),T=parseInt(C.paddingBottom,10),E=e.top+e.height/2-Js,D=c-E,O=g.offsetHeight/2,k=g.offsetTop+O,A=m+v+k,j=x-A;if(A<=E){let e=o.length>0&&g===o[o.length-1].ref.current;s.style.bottom=`0px`;let t=l.clientHeight-h.offsetTop-h.offsetHeight,n=A+Math.max(D,O+(e?T:0)+t+y);s.style.height=n+`px`}else{let e=o.length>0&&g===o[0].ref.current;s.style.top=`0px`;let t=Math.max(E,m+h.offsetTop+(e?w:0)+O)+j;s.style.height=t+`px`,h.scrollTop=A-E+h.offsetTop}s.style.margin=`${Js}px 0`,s.style.minHeight=S+`px`,s.style.maxHeight=c+`px`,r?.(),requestAnimationFrame(()=>p.current=!0)}},[f,a.trigger,a.valueNode,s,l,h,g,_,a.dir,r]);Dr(()=>y(),[y]);let[b,x]=Q.useState();return Dr(()=>{l&&x(window.getComputedStyle(l).zIndex)},[l]),(0,Z.jsx)(ic,{scope:n,contentWrapper:s,shouldExpandOnScrollRef:p,onScrollButtonChange:Q.useCallback(e=>{e&&m.current===!0&&(y(),v?.(),m.current=!1)},[y,v]),children:(0,Z.jsx)(`div`,{ref:c,style:{display:`flex`,flexDirection:`column`,position:`fixed`,zIndex:b},children:(0,Z.jsx)(Sr.div,{...i,ref:d,style:{boxSizing:`border-box`,maxHeight:`100%`,...i.style}})})})});tc.displayName=ec;var nc=`SelectPopperPosition`,rc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,align:r=`start`,collisionPadding:i=Js,...a}=e,o=Ms(n);return(0,Z.jsx)(Wr,{...o,...a,ref:t,align:r,collisionPadding:i,style:{boxSizing:`border-box`,...a.style,"--radix-select-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-select-content-available-width":`var(--radix-popper-available-width)`,"--radix-select-content-available-height":`var(--radix-popper-available-height)`,"--radix-select-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-select-trigger-height":`var(--radix-popper-anchor-height)`}})});rc.displayName=nc;var[ic,ac]=As(Ks,{}),oc=`SelectViewport`,sc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:r,...i}=e,a=Xs(oc,n),o=ac(oc,n),s=Kt(t,a.onViewportChange),c=Q.useRef(0);return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}`},nonce:r}),(0,Z.jsx)(Ds.Slot,{scope:n,children:(0,Z.jsx)(Sr.div,{"data-radix-select-viewport":``,role:`presentation`,...i,ref:s,style:{position:`relative`,flex:1,overflow:`hidden auto`,...i.style},onScroll:xr(i.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=o;if(r?.current&&n){let e=Math.abs(c.current-t.scrollTop);if(e>0){let r=window.innerHeight-Js*2,i=parseFloat(n.style.minHeight),a=parseFloat(n.style.height),o=Math.max(i,a);if(o<r){let i=o+e,a=Math.min(r,i),s=i-a;n.style.height=a+`px`,n.style.bottom===`0px`&&(t.scrollTop=s>0?s:0,n.style.justifyContent=`flex-end`)}}}c.current=t.scrollTop})})})]})});sc.displayName=oc;var cc=`SelectGroup`,[lc,uc]=As(cc),dc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=Cr();return(0,Z.jsx)(lc,{scope:n,id:i,children:(0,Z.jsx)(Sr.div,{role:`group`,"aria-labelledby":i,...r,ref:t})})});dc.displayName=cc;var fc=`SelectLabel`,pc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=uc(fc,n);return(0,Z.jsx)(Sr.div,{id:i.id,...r,ref:t})});pc.displayName=fc;var mc=`SelectItem`,[hc,gc]=As(mc),_c=Q.forwardRef((e,t)=>{let{__scopeSelect:n,value:r,disabled:i=!1,textValue:a,...o}=e,s=Ps(mc,n),c=Xs(mc,n),l=s.value===r,[u,d]=Q.useState(a??``),[f,p]=Q.useState(!1),m=Kt(t,e=>c.itemRefCallback?.(e,r,i)),h=Cr(),g=Q.useRef(`touch`),_=()=>{i||(s.onValueChange(r),s.onOpenChange(!1))};if(r===``)throw Error(`A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.`);return(0,Z.jsx)(hc,{scope:n,value:r,disabled:i,textId:h,isSelected:l,onItemTextChange:Q.useCallback(e=>{d(t=>t||(e?.textContent??``).trim())},[]),children:(0,Z.jsx)(Ds.ItemSlot,{scope:n,value:r,disabled:i,textValue:u,children:(0,Z.jsx)(Sr.div,{role:`option`,"aria-labelledby":h,"data-highlighted":f?``:void 0,"aria-selected":l&&f,"data-state":l?`checked`:`unchecked`,"aria-disabled":i||void 0,"data-disabled":i?``:void 0,tabIndex:i?void 0:-1,...o,ref:m,onFocus:xr(o.onFocus,()=>p(!0)),onBlur:xr(o.onBlur,()=>p(!1)),onClick:xr(o.onClick,()=>{g.current!==`mouse`&&_()}),onPointerUp:xr(o.onPointerUp,()=>{g.current===`mouse`&&_()}),onPointerDown:xr(o.onPointerDown,e=>{g.current=e.pointerType}),onPointerMove:xr(o.onPointerMove,e=>{g.current=e.pointerType,i?c.onItemLeave?.():g.current===`mouse`&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:xr(o.onPointerLeave,e=>{e.currentTarget===document.activeElement&&c.onItemLeave?.()}),onKeyDown:xr(o.onKeyDown,e=>{c.searchRef?.current!==``&&e.key===` `||(Ts.includes(e.key)&&_(),e.key===` `&&e.preventDefault())})})})})});_c.displayName=mc;var vc=`SelectItemText`,yc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:i,...a}=e,o=Ps(vc,n),s=Xs(vc,n),c=gc(vc,n),l=Is(vc,n),[u,d]=Q.useState(null),f=Kt(t,e=>d(e),c.onItemTextChange,e=>s.itemTextRefCallback?.(e,c.value,c.disabled)),p=u?.textContent,m=Q.useMemo(()=>(0,Z.jsx)(`option`,{value:c.value,disabled:c.disabled,children:p},c.value),[c.disabled,c.value,p]),{onNativeOptionAdd:h,onNativeOptionRemove:g}=l;return Dr(()=>(h(m),()=>g(m)),[h,g,m]),(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(Sr.span,{id:c.textId,...a,ref:f}),c.isSelected&&o.valueNode&&!o.valueNodeHasChildren?Go.createPortal(a.children,o.valueNode):null]})});yc.displayName=vc;var bc=`SelectItemIndicator`,xc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return gc(bc,n).isSelected?(0,Z.jsx)(Sr.span,{"aria-hidden":!0,...r,ref:t}):null});xc.displayName=bc;var Sc=`SelectScrollUpButton`,Cc=Q.forwardRef((e,t)=>{let n=Xs(Sc,e.__scopeSelect),r=ac(Sc,e.__scopeSelect),[i,a]=Q.useState(!1),o=Kt(t,r.onScrollButtonChange);return Dr(()=>{if(n.viewport&&n.isPositioned){let e=function(){a(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener(`scroll`,e),()=>t.removeEventListener(`scroll`,e)}},[n.viewport,n.isPositioned]),i?(0,Z.jsx)(Ec,{...e,ref:o,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop-=t.offsetHeight)}}):null});Cc.displayName=Sc;var wc=`SelectScrollDownButton`,Tc=Q.forwardRef((e,t)=>{let n=Xs(wc,e.__scopeSelect),r=ac(wc,e.__scopeSelect),[i,a]=Q.useState(!1),o=Kt(t,r.onScrollButtonChange);return Dr(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;a(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener(`scroll`,e),()=>t.removeEventListener(`scroll`,e)}},[n.viewport,n.isPositioned]),i?(0,Z.jsx)(Ec,{...e,ref:o,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop+=t.offsetHeight)}}):null});Tc.displayName=wc;var Ec=Q.forwardRef((e,t)=>{let{__scopeSelect:n,onAutoScroll:r,...i}=e,a=Xs(`SelectScrollButton`,n),o=Q.useRef(null),s=Os(n),c=Q.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return Q.useEffect(()=>()=>c(),[c]),Dr(()=>{s().find(e=>e.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:`nearest`})},[s]),(0,Z.jsx)(Sr.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:xr(i.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(r,50))}),onPointerMove:xr(i.onPointerMove,()=>{a.onItemLeave?.(),o.current===null&&(o.current=window.setInterval(r,50))}),onPointerLeave:xr(i.onPointerLeave,()=>{c()})})}),Dc=`SelectSeparator`,Oc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return(0,Z.jsx)(Sr.div,{"aria-hidden":!0,...r,ref:t})});Oc.displayName=Dc;var kc=`SelectArrow`,Ac=Q.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=Ms(n),a=Ps(kc,n),o=Xs(kc,n);return a.open&&o.position===`popper`?(0,Z.jsx)(Hr,{...i,...r,ref:t}):null});Ac.displayName=kc;var jc=`SelectBubbleInput`,Mc=Q.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{let i=Q.useRef(null),a=Kt(r,i),o=fi(t);return Q.useEffect(()=>{let e=i.current;if(!e)return;let n=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(n,`value`).set;if(o!==t&&r){let n=new Event(`change`,{bubbles:!0});r.call(e,t),e.dispatchEvent(n)}},[o,t]),(0,Z.jsx)(Sr.select,{...n,style:{...Ar,...n.style},ref:a,defaultValue:t})});Mc.displayName=jc;function Nc(e){return e===``||e===void 0}function Pc(e){let t=Er(e),n=Q.useRef(``),r=Q.useRef(0),i=Q.useCallback(e=>{let i=n.current+e;t(i),(function e(t){n.current=t,window.clearTimeout(r.current),t!==``&&(r.current=window.setTimeout(()=>e(``),1e3))})(i)},[t]),a=Q.useCallback(()=>{n.current=``,window.clearTimeout(r.current)},[]);return Q.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,i,a]}function Fc(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=Ic(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}function Ic(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var Lc=Ls,Rc=zs,zc=Vs,Bc=Us,Vc=Gs,Hc=qs,Uc=sc,Wc=_c,Gc=yc,Kc=xc,qc=Cc,Jc=Tc,Yc=`Switch`,[Xc,Zc]=kr(Yc),[Qc,$c]=Xc(Yc),el=Q.forwardRef((e,t)=>{let{__scopeSwitch:n,name:r,checked:i,defaultChecked:a,required:o,disabled:s,value:c=`on`,onCheckedChange:l,form:u,...d}=e,[f,p]=Q.useState(null),m=Kt(t,e=>p(e)),h=Q.useRef(!1),g=f?u||!!f.closest(`form`):!0,[_,v]=Tr({prop:i,defaultProp:a??!1,onChange:l,caller:Yc});return(0,Z.jsxs)(Qc,{scope:n,checked:_,disabled:s,children:[(0,Z.jsx)(Sr.button,{type:`button`,role:`switch`,"aria-checked":_,"aria-required":o,"data-state":al(_),"data-disabled":s?``:void 0,disabled:s,value:c,...d,ref:m,onClick:xr(e.onClick,e=>{v(e=>!e),g&&(h.current=e.isPropagationStopped(),h.current||e.stopPropagation())})}),g&&(0,Z.jsx)(il,{control:f,bubbles:!h.current,name:r,value:c,checked:_,required:o,disabled:s,form:u,style:{transform:`translateX(-100%)`}})]})});el.displayName=Yc;var tl=`SwitchThumb`,nl=Q.forwardRef((e,t)=>{let{__scopeSwitch:n,...r}=e,i=$c(tl,n);return(0,Z.jsx)(Sr.span,{"data-state":al(i.checked),"data-disabled":i.disabled?``:void 0,...r,ref:t})});nl.displayName=tl;var rl=`SwitchBubbleInput`,il=Q.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...i},a)=>{let o=Q.useRef(null),s=Kt(o,a),c=fi(n),l=pi(t);return Q.useEffect(()=>{let e=o.current;if(!e)return;let t=window.HTMLInputElement.prototype,i=Object.getOwnPropertyDescriptor(t,`checked`).set;if(c!==n&&i){let t=new Event(`click`,{bubbles:r});i.call(e,n),e.dispatchEvent(t)}},[c,n,r]),(0,Z.jsx)(`input`,{type:`checkbox`,"aria-hidden":!0,defaultChecked:n,...i,tabIndex:-1,ref:s,style:{...i.style,...l,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0}})});il.displayName=rl;function al(e){return e?`checked`:`unchecked`}var ol=el,sl=nl,$=a(),cl=Wo(),{getOwnPropertyNames:ll,getOwnPropertySymbols:ul}=Object,{hasOwnProperty:dl}=Object.prototype;function fl(e,t){return function(n,r,i){return e(n,r,i)&&t(n,r,i)}}function pl(e){return function(t,n,r){if(!t||!n||typeof t!=`object`||typeof n!=`object`)return e(t,n,r);let{cache:i}=r,a=i.get(t),o=i.get(n);if(a&&o)return a===n&&o===t;i.set(t,n),i.set(n,t);let s=e(t,n,r);return i.delete(t),i.delete(n),s}}function ml(e){return e?.[Symbol.toStringTag]}function hl(e){return ll(e).concat(ul(e))}var gl=Object.hasOwn||((e,t)=>dl.call(e,t));function _l(e,t){return e===t||!e&&!t&&e!==e&&t!==t}var vl=`__v`,yl=`__o`,bl=`_owner`,{getOwnPropertyDescriptor:xl,keys:Sl}=Object;function Cl(e,t){return e.byteLength===t.byteLength&&Il(new Uint8Array(e),new Uint8Array(t))}function wl(e,t,n){let r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function Tl(e,t){return e.byteLength===t.byteLength&&Il(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function El(e,t){return _l(e.getTime(),t.getTime())}function Dl(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function Ol(e,t){return e===t}function kl(e,t,n){let r=e.size;if(r!==t.size)return!1;if(!r)return!0;let i=Array(r),a=e.entries(),o,s,c=0;for(;(o=a.next())&&!o.done;){let r=t.entries(),a=!1,l=0;for(;(s=r.next())&&!s.done;){if(i[l]){l++;continue}let r=o.value,u=s.value;if(n.equals(r[0],u[0],c,l,e,t,n)&&n.equals(r[1],u[1],r[0],u[0],e,t,n)){a=i[l]=!0;break}l++}if(!a)return!1;c++}return!0}var Al=_l;function jl(e,t,n){let r=Sl(e),i=r.length;if(Sl(t).length!==i)return!1;for(;i-- >0;)if(!Rl(e,t,n,r[i]))return!1;return!0}function Ml(e,t,n){let r=hl(e),i=r.length;if(hl(t).length!==i)return!1;let a,o,s;for(;i-- >0;)if(a=r[i],!Rl(e,t,n,a)||(o=xl(e,a),s=xl(t,a),(o||s)&&(!o||!s||o.configurable!==s.configurable||o.enumerable!==s.enumerable||o.writable!==s.writable)))return!1;return!0}function Nl(e,t){return _l(e.valueOf(),t.valueOf())}function Pl(e,t){return e.source===t.source&&e.flags===t.flags}function Fl(e,t,n){let r=e.size;if(r!==t.size)return!1;if(!r)return!0;let i=Array(r),a=e.values(),o,s;for(;(o=a.next())&&!o.done;){let r=t.values(),a=!1,c=0;for(;(s=r.next())&&!s.done;){if(!i[c]&&n.equals(o.value,s.value,o.value,s.value,e,t,n)){a=i[c]=!0;break}c++}if(!a)return!1}return!0}function Il(e,t){let n=e.byteLength;if(t.byteLength!==n||e.byteOffset!==t.byteOffset)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function Ll(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function Rl(e,t,n,r){return(r===bl||r===yl||r===vl)&&(e.$$typeof||t.$$typeof)?!0:gl(t,r)&&n.equals(e[r],t[r],r,r,e,t,n)}var zl=`[object ArrayBuffer]`,Bl=`[object Arguments]`,Vl=`[object Boolean]`,Hl=`[object DataView]`,Ul=`[object Date]`,Wl=`[object Error]`,Gl=`[object Map]`,Kl=`[object Number]`,ql=`[object Object]`,Jl=`[object RegExp]`,Yl=`[object Set]`,Xl=`[object String]`,Zl={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},Ql=`[object URL]`,$l=Object.prototype.toString;function eu({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:i,areFunctionsEqual:a,areMapsEqual:o,areNumbersEqual:s,areObjectsEqual:c,arePrimitiveWrappersEqual:l,areRegExpsEqual:u,areSetsEqual:d,areTypedArraysEqual:f,areUrlsEqual:p,unknownTagComparators:m}){return function(h,g,_){if(h===g)return!0;if(h==null||g==null)return!1;let v=typeof h;if(v!==typeof g)return!1;if(v!==`object`)return v===`number`?s(h,g,_):v===`function`?a(h,g,_):!1;let y=h.constructor;if(y!==g.constructor)return!1;if(y===Object)return c(h,g,_);if(Array.isArray(h))return t(h,g,_);if(y===Date)return r(h,g,_);if(y===RegExp)return u(h,g,_);if(y===Map)return o(h,g,_);if(y===Set)return d(h,g,_);let b=$l.call(h);if(b===Ul)return r(h,g,_);if(b===Jl)return u(h,g,_);if(b===Gl)return o(h,g,_);if(b===Yl)return d(h,g,_);if(b===ql)return typeof h.then!=`function`&&typeof g.then!=`function`&&c(h,g,_);if(b===Ql)return p(h,g,_);if(b===Wl)return i(h,g,_);if(b===Bl)return c(h,g,_);if(Zl[b])return f(h,g,_);if(b===zl)return e(h,g,_);if(b===Hl)return n(h,g,_);if(b===Vl||b===Kl||b===Xl)return l(h,g,_);if(m){let e=m[b];if(!e){let t=ml(h);t&&(e=m[t])}if(e)return e(h,g,_)}return!1}}function tu({circular:e,createCustomConfig:t,strict:n}){let r={areArrayBuffersEqual:Cl,areArraysEqual:n?Ml:wl,areDataViewsEqual:Tl,areDatesEqual:El,areErrorsEqual:Dl,areFunctionsEqual:Ol,areMapsEqual:n?fl(kl,Ml):kl,areNumbersEqual:Al,areObjectsEqual:n?Ml:jl,arePrimitiveWrappersEqual:Nl,areRegExpsEqual:Pl,areSetsEqual:n?fl(Fl,Ml):Fl,areTypedArraysEqual:n?fl(Il,Ml):Il,areUrlsEqual:Ll,unknownTagComparators:void 0};if(t&&(r=Object.assign({},r,t(r))),e){let e=pl(r.areArraysEqual),t=pl(r.areMapsEqual),n=pl(r.areObjectsEqual),i=pl(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:e,areMapsEqual:t,areObjectsEqual:n,areSetsEqual:i})}return r}function nu(e){return function(t,n,r,i,a,o,s){return e(t,n,s)}}function ru({circular:e,comparator:t,createState:n,equals:r,strict:i}){if(n)return function(a,o){let{cache:s=e?new WeakMap:void 0,meta:c}=n();return t(a,o,{cache:s,equals:r,meta:c,strict:i})};if(e)return function(e,n){return t(e,n,{cache:new WeakMap,equals:r,meta:void 0,strict:i})};let a={cache:void 0,equals:r,meta:void 0,strict:i};return function(e,n){return t(e,n,a)}}var iu=au();au({strict:!0}),au({circular:!0}),au({circular:!0,strict:!0}),au({createInternalComparator:()=>_l}),au({strict:!0,createInternalComparator:()=>_l}),au({circular:!0,createInternalComparator:()=>_l}),au({circular:!0,createInternalComparator:()=>_l,strict:!0});function au(e={}){let{circular:t=!1,createInternalComparator:n,createState:r,strict:i=!1}=e,a=eu(tu(e));return ru({circular:t,comparator:a,createState:r,equals:n?n(a):nu(a),strict:i})}var ou=t((e=>{var t=r(),n=Wo();function i(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var a=typeof Object.is==`function`?Object.is:i,o=n.useSyncExternalStore,s=t.useRef,c=t.useEffect,l=t.useMemo,u=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=s(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=l(function(){function e(e){if(!o){if(o=!0,s=e,e=r(e),i!==void 0&&f.hasValue){var t=f.value;if(i(t,e))return c=t}return c=e}if(t=c,a(s,e))return t;var n=r(e);return i!==void 0&&i(t,n)?(s=e,t):(s=e,c=n)}var o=!1,s,c,l=n===void 0?null:n;return[function(){return e(t())},l===null?void 0:function(){return e(l())}]},[t,n,r,i]);var p=o(e,d[0],d[1]);return c(function(){f.hasValue=!0,f.value=p},[p]),u(p),p}})),su=t(((e,t)=>{t.exports=ou()}))(),cu=(...e)=>t=>{e.forEach(e=>{typeof e==`function`?e(t):e&&(e.current=t)})},lu=({contentComponent:e})=>{let t=(0,cl.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getServerSnapshot);return(0,Z.jsx)(Z.Fragment,{children:Object.values(t)})};function uu(){let e=new Set,t={};return{subscribe(t){return e.add(t),()=>{e.delete(t)}},getSnapshot(){return t},getServerSnapshot(){return t},setRenderer(n,r){t={...t,[n]:Go.createPortal(r.reactElement,r.element,n)},e.forEach(e=>e())},removeRenderer(n){let r={...t};delete r[n],t=r,e.forEach(e=>e())}}}var du=class extends Q.Component{constructor(e){super(e),this.editorContentRef=Q.createRef()}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){let e=this.props.editor;if(e&&!e.isDestroyed&&e.view.dom?.parentNode){if(e.contentComponent)return;let t=this.editorContentRef.current;t.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:t}),e.contentComponent=uu(),e.createNodeViews(),e.isEditorContentInitialized=!0,this.forceUpdate()}}componentWillUnmount(){let e=this.props.editor;if(e){e.isEditorContentInitialized=!1,e.isDestroyed||e.view.setProps({nodeViews:{}}),e.contentComponent=null;try{if(!e.view.dom?.parentNode)return;let t=document.createElement(`div`);t.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:t})}catch{}}}render(){let{editor:e,innerRef:t,...n}=this.props;return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`div`,{ref:cu(t,this.editorContentRef),...n}),e?.contentComponent&&(0,Z.jsx)(lu,{contentComponent:e.contentComponent})]})}},fu=(0,Q.forwardRef)((e,t)=>{let n=Q.useMemo(()=>Math.floor(Math.random()*4294967295).toString(),[e.editor]);return Q.createElement(du,{key:n,innerRef:t,...e})}),pu=Q.memo(fu),mu=typeof window<`u`?Q.useLayoutEffect:Q.useEffect,hu=class{constructor(e){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=e,this.lastSnapshot={editor:e,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber?this.lastSnapshot:(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber},this.lastSnapshot)}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}watch(e){if(this.editor=e,this.editor){let e=()=>{this.transactionNumber+=1,this.subscribers.forEach(e=>e())},t=this.editor;return t.on(`transaction`,e),()=>{t.off(`transaction`,e)}}}};function gu(e){let[t]=(0,Q.useState)(()=>new hu(e.editor)),n=(0,su.useSyncExternalStoreWithSelector)(t.subscribe,t.getSnapshot,t.getServerSnapshot,e.selector,e.equalityFn??iu);return mu(()=>t.watch(e.editor),[e.editor,t]),(0,Q.useDebugValue)(n),n}var _u=!1,vu=typeof window>`u`,yu=vu||!!(typeof window<`u`&&window.next),bu=class e{constructor(e){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId=``,this.options=e,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(e){this.editor=e,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach(e=>e())}getInitialEditor(){if(this.options.current.immediatelyRender===void 0){if(vu||yu){if(_u)throw Error("Tiptap Error: SSR has been detected, please set `immediatelyRender` explicitly to `false` to avoid hydration mismatches.");return null}return this.createEditor()}if(this.options.current.immediatelyRender&&vu&&_u)throw Error("Tiptap Error: SSR has been detected, and `immediatelyRender` has been set to `true` this is an unsupported configuration that may result in errors, explicitly set `immediatelyRender` to `false` to avoid hydration mismatches.");return this.options.current.immediatelyRender?this.createEditor():null}createEditor(){return new y({...this.options.current,onBeforeCreate:(...e)=>{var t;return(t=this.options.current).onBeforeCreate?.call(t,...e)},onBlur:(...e)=>{var t;return(t=this.options.current).onBlur?.call(t,...e)},onCreate:(...e)=>{var t;return(t=this.options.current).onCreate?.call(t,...e)},onDestroy:(...e)=>{var t;return(t=this.options.current).onDestroy?.call(t,...e)},onFocus:(...e)=>{var t;return(t=this.options.current).onFocus?.call(t,...e)},onSelectionUpdate:(...e)=>{var t;return(t=this.options.current).onSelectionUpdate?.call(t,...e)},onTransaction:(...e)=>{var t;return(t=this.options.current).onTransaction?.call(t,...e)},onUpdate:(...e)=>{var t;return(t=this.options.current).onUpdate?.call(t,...e)},onContentError:(...e)=>{var t;return(t=this.options.current).onContentError?.call(t,...e)},onDrop:(...e)=>{var t;return(t=this.options.current).onDrop?.call(t,...e)},onPaste:(...e)=>{var t;return(t=this.options.current).onPaste?.call(t,...e)},onDelete:(...e)=>{var t;return(t=this.options.current).onDelete?.call(t,...e)}})}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(e){return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)}}static compareOptions(e,t){return Object.keys(e).every(n=>[`onCreate`,`onBeforeCreate`,`onDestroy`,`onUpdate`,`onTransaction`,`onFocus`,`onBlur`,`onSelectionUpdate`,`onContentError`,`onDrop`,`onPaste`].includes(n)?!0:n===`extensions`&&e.extensions&&t.extensions?e.extensions.length===t.extensions.length?e.extensions.every((e,n)=>e===t.extensions?.[n]):!1:e[n]===t[n])}onRender(t){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&t.length===0?e.compareOptions(this.options.current,this.editor.options)||this.editor.setOptions({...this.options.current,editable:this.editor.isEditable}):this.refreshEditorInstance(t),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(e){if(this.editor&&!this.editor.isDestroyed){if(this.previousDeps===null){this.previousDeps=e;return}if(this.previousDeps.length===e.length&&this.previousDeps.every((t,n)=>t===e[n]))return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=e}scheduleDestroy(){let e=this.instanceId,t=this.editor;this.scheduledDestructionTimeout=setTimeout(()=>{if(this.isComponentMounted&&this.instanceId===e){t&&t.setOptions(this.options.current);return}t&&!t.isDestroyed&&(t.destroy(),this.instanceId===e&&this.setEditor(null))},1)}};function xu(e={},t=[]){let n=(0,Q.useRef)(e);n.current=e;let[r]=(0,Q.useState)(()=>new bu(n)),i=(0,cl.useSyncExternalStore)(r.subscribe,r.getEditor,r.getServerSnapshot);return(0,Q.useDebugValue)(i),(0,Q.useEffect)(r.onRender(t)),gu({editor:i,selector:({transactionNumber:t})=>e.shouldRerenderOnTransaction===!1||e.shouldRerenderOnTransaction===void 0?null:e.immediatelyRender&&t===0?0:t+1}),i}var Su=(0,Q.createContext)({editor:null});Su.Consumer;var Cu=()=>(0,Q.useContext)(Su),wu=(0,Q.createContext)({onDragStart:()=>{},nodeViewContentChildren:void 0,nodeViewContentRef:()=>{}}),Tu=()=>(0,Q.useContext)(wu);function Eu({as:e=`div`,...t}){let{nodeViewContentRef:n,nodeViewContentChildren:r}=Tu();return(0,Z.jsx)(e,{...t,ref:n,"data-node-view-content":``,style:{whiteSpace:`pre-wrap`,...t.style},children:r})}var Du=Q.forwardRef((e,t)=>{let{onDragStart:n}=Tu();return(0,Z.jsx)(e.as||`div`,{...e,ref:t,"data-node-view-wrapper":``,onDragStart:n,style:{whiteSpace:`normal`,...e.style}})});function Ou(e){return!!(typeof e==`function`&&e.prototype&&e.prototype.isReactComponent)}function ku(e){return!!(typeof e==`object`&&e.$$typeof&&(e.$$typeof.toString()===`Symbol(react.forward_ref)`||e.$$typeof.description===`react.forward_ref`))}function Au(e){return!!(typeof e==`object`&&e.$$typeof&&(e.$$typeof.toString()===`Symbol(react.memo)`||e.$$typeof.description===`react.memo`))}function ju(e){if(Ou(e)||ku(e))return!0;if(Au(e)){let t=e.type;if(t)return Ou(t)||ku(t)}return!1}function Mu(){try{if(Q.version)return parseInt(Q.version.split(`.`)[0],10)>=19}catch{}return!1}var Nu=class{constructor(e,{editor:t,props:n={},as:r=`div`,className:i=``}){this.ref=null,this.destroyed=!1,this.id=Math.floor(Math.random()*4294967295).toString(),this.component=e,this.editor=t,this.props=n,this.element=document.createElement(r),this.element.classList.add(`react-renderer`),i&&this.element.classList.add(...i.split(` `)),this.editor.isEditorContentInitialized?(0,Go.flushSync)(()=>{this.render()}):queueMicrotask(()=>{this.destroyed||this.render()})}render(){var e;if(this.destroyed)return;let t=this.component,n=this.props,r=this.editor,i=Mu(),a=ju(t),o={...n};o.ref&&!(i||a)&&delete o.ref,!o.ref&&(i||a)&&(o.ref=e=>{this.ref=e}),this.reactElement=(0,Z.jsx)(t,{...o}),(e=r?.contentComponent)==null||e.setRenderer(this.id,this)}updateProps(e={}){this.destroyed||(this.props={...this.props,...e},this.render())}destroy(){var e;this.destroyed=!0,(e=this.editor?.contentComponent)==null||e.removeRenderer(this.id);try{this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}catch{}}updateAttributes(e){Object.keys(e).forEach(t=>{this.element.setAttribute(t,e[t])})}};Q.createContext({markViewContentRef:()=>{}});var Pu=class extends be{constructor(e,t,n){if(super(e,t,n),this.selectionRafId=null,this.positionCheckCallback=null,this.cachedExtensionWithSyncedStorage=null,!this.node.isLeaf){this.options.contentDOMElementTag?this.contentDOMElement=document.createElement(this.options.contentDOMElementTag):this.contentDOMElement=document.createElement(this.node.isInline?`span`:`div`),this.contentDOMElement.dataset.nodeViewContentReact=``,this.contentDOMElement.dataset.nodeViewWrapper=``,this.contentDOMElement.style.whiteSpace=`inherit`;let e=this.dom.querySelector(`[data-node-view-content]`);if(!e)return;e.appendChild(this.contentDOMElement)}}get extensionWithSyncedStorage(){if(!this.cachedExtensionWithSyncedStorage){let e=this.editor,t=this.extension;this.cachedExtensionWithSyncedStorage=new Proxy(t,{get(n,r,i){return r===`storage`?e.storage[t.name]??{}:Reflect.get(n,r,i)}})}return this.cachedExtensionWithSyncedStorage}mount(){let e={editor:this.editor,node:this.node,decorations:this.decorations,innerDecorations:this.innerDecorations,view:this.view,selected:!1,extension:this.extensionWithSyncedStorage,HTMLAttributes:this.HTMLAttributes,getPos:()=>this.getPos(),updateAttributes:(e={})=>this.updateAttributes(e),deleteNode:()=>this.deleteNode(),ref:(0,Q.createRef)()};if(!this.component.displayName){let e=e=>e.charAt(0).toUpperCase()+e.substring(1);this.component.displayName=e(this.extension.name)}let t={onDragStart:this.onDragStart.bind(this),nodeViewContentRef:e=>{e&&this.contentDOMElement&&e.firstChild!==this.contentDOMElement&&(e.hasAttribute(`data-node-view-wrapper`)&&e.removeAttribute(`data-node-view-wrapper`),e.appendChild(this.contentDOMElement))}},n=this.component,r=(0,Q.memo)(e=>(0,Z.jsx)(wu.Provider,{value:t,children:(0,Q.createElement)(n,e)}));r.displayName=`ReactNodeView`;let i=this.node.isInline?`span`:`div`;this.options.as&&(i=this.options.as);let{className:a=``}=this.options;this.handleSelectionUpdate=this.handleSelectionUpdate.bind(this),this.renderer=new Nu(r,{editor:this.editor,props:e,as:i,className:`node-${this.node.type.name} ${a}`.trim()}),this.editor.on(`selectionUpdate`,this.handleSelectionUpdate),this.updateElementAttributes(),this.currentPos=this.getPos(),this.positionCheckCallback=()=>{let e=this.getPos();typeof e!=`number`||e===this.currentPos||(this.currentPos=e,this.renderer.updateProps({getPos:()=>this.getPos()}),typeof this.options.attrs==`function`&&this.updateElementAttributes())},qe(this.editor,this.positionCheckCallback)}get dom(){if(this.renderer.element.firstElementChild&&!this.renderer.element.firstElementChild?.hasAttribute(`data-node-view-wrapper`))throw Error(`Please use the NodeViewWrapper component for your node view.`);return this.renderer.element}get contentDOM(){return this.node.isLeaf?null:this.contentDOMElement}handleSelectionUpdate(){this.selectionRafId&&=(cancelAnimationFrame(this.selectionRafId),null),this.selectionRafId=requestAnimationFrame(()=>{this.selectionRafId=null;let{from:e,to:t}=this.editor.state.selection,n=this.currentPos;if(typeof n==`number`)if(e<=n&&t>=n+this.node.nodeSize){if(this.renderer.props.selected)return;this.selectNode()}else{if(!this.renderer.props.selected)return;this.deselectNode()}})}update(e,t,n){let r=e=>{this.renderer.updateProps(e),typeof this.options.attrs==`function`&&this.updateElementAttributes()};if(e.type!==this.node.type)return!1;if(typeof this.options.update==`function`){let i=this.node,a=this.decorations,o=this.innerDecorations;return this.node=e,this.decorations=t,this.innerDecorations=n,this.currentPos=this.getPos(),this.options.update({oldNode:i,oldDecorations:a,newNode:e,newDecorations:t,oldInnerDecorations:o,innerDecorations:n,updateProps:()=>r({node:e,decorations:t,innerDecorations:n,extension:this.extensionWithSyncedStorage})})}let i=this.getPos();return e===this.node&&this.decorations===t&&this.innerDecorations===n?i===this.currentPos?!0:(this.currentPos=i,r({node:e,decorations:t,innerDecorations:n,extension:this.extensionWithSyncedStorage,getPos:()=>this.getPos()}),!0):(this.node=e,this.decorations=t,this.innerDecorations=n,this.currentPos=i,r({node:e,decorations:t,innerDecorations:n,extension:this.extensionWithSyncedStorage}),!0)}selectNode(){this.renderer.updateProps({selected:!0}),this.renderer.element.classList.add(`ProseMirror-selectednode`)}deselectNode(){this.renderer.updateProps({selected:!1}),this.renderer.element.classList.remove(`ProseMirror-selectednode`)}destroy(){this.renderer.destroy(),this.editor.off(`selectionUpdate`,this.handleSelectionUpdate),this.positionCheckCallback&&=(A(this.editor,this.positionCheckCallback),null),this.contentDOMElement=null,this.selectionRafId&&=(cancelAnimationFrame(this.selectionRafId),null)}updateElementAttributes(){if(this.options.attrs){let e={};if(typeof this.options.attrs==`function`){let t=this.editor.extensionManager.attributes,n=L(this.node,t);e=this.options.attrs({node:this.node,HTMLAttributes:n})}else e=this.options.attrs;this.renderer.updateAttributes(e)}}};function Fu(e,t){return n=>n.editor.contentComponent?new Pu(e,n,t):{}}var Iu=(0,Q.createContext)({get editor(){throw Error(`useTiptap must be used within a <Tiptap> provider`)}});Iu.displayName=`TiptapContext`;var Lu=()=>(0,Q.useContext)(Iu);function Ru({editor:e,instance:t,children:n}){let r=e??t;if(!r)throw Error("Tiptap: An editor instance is required. Pass a non-null `editor` prop.");let i=(0,Q.useMemo)(()=>({editor:r}),[r]),a=(0,Q.useMemo)(()=>({editor:r}),[r]);return(0,Z.jsx)(Su.Provider,{value:a,children:(0,Z.jsx)(Iu.Provider,{value:i,children:n})})}Ru.displayName=`Tiptap`;function zu({...e}){let{editor:t}=Lu();return(0,Z.jsx)(pu,{editor:t,...e})}zu.displayName=`Tiptap.Content`,Object.assign(Ru,{Content:zu});function Bu(e){let{char:t,allowSpaces:n,allowToIncludeChar:r,allowedPrefixes:i,startOfLine:a,$position:o}=e,s=n&&!r,c=z(t),l=RegExp(`\\s${c}$`),u=a?`^`:``,d=r?``:c,f=RegExp(s?`${u}${c}.*?(?=\\s${d}|$)`:`${u}(?:^)?${c}[^\\s${d}]*`,`gm`),p=o.nodeBefore?.isText&&o.nodeBefore.text;if(!p)return null;let m=o.pos-p.length,h=Array.from(p.matchAll(f)).pop();if(!h||h.input===void 0||h.index===void 0)return null;let g=h.input.slice(Math.max(0,h.index-1),h.index),_=RegExp(`^[${i?.join(``)}\0]?$`).test(g);if(i!==null&&!_)return null;let v=m+h.index,y=v+h[0].length;return s&&l.test(p.slice(y-1,y+1))&&(h[0]+=` `,y+=1),v<o.pos&&y>=o.pos?{range:{from:v,to:y},query:h[0].slice(t.length),text:h[0]}:null}function Vu(e){return e.docChanged?e.steps.some(e=>{let t=e.slice;if(!t?.content)return!1;let n=t.content.textBetween(0,t.content.size,`
3
+ `);return/\s/.test(n)}):!1}var Hu=new lt(`suggestion`);function Uu({pluginKey:e=Hu,editor:t,char:n=`@`,allowSpaces:r=!1,allowToIncludeChar:i=!1,allowedPrefixes:a=[` `],startOfLine:o=!1,decorationTag:s=`span`,decorationClass:c=`suggestion`,decorationContent:l=``,decorationEmptyClass:u=`is-empty`,command:d=()=>null,items:f=()=>[],render:p=()=>({}),allow:m=()=>!0,findSuggestionMatch:h=Bu,shouldShow:g,shouldResetDismissed:_}){let v,y=p?.(),b=r&&!i,x=()=>{let e=t.state.selection.$anchor.pos,{top:n,right:r,bottom:i,left:a}=t.view.coordsAtPos(e);try{return new DOMRect(a,n,r-a,i-n)}catch{return null}},S=(n,r)=>r?()=>{let r=e.getState(t.state)?.decorationId;return n.dom.querySelector(`[data-decoration-id="${r}"]`)?.getBoundingClientRect()||null}:x,C=({match:e,dismissedRange:n,state:r,transaction:i})=>_?.({editor:t,state:r,range:n,match:e,transaction:i,allowSpaces:b})?!1:b?e.range.from===n.from:e.range.from===n.from&&!Vu(i);function w(n,r){var i;try{let r=e.getState(n.state),a=r?.decorationId?n.dom.querySelector(`[data-decoration-id="${r.decorationId}"]`):null,o={editor:t,range:r?.range||{from:0,to:0},query:r?.query||null,text:r?.text||null,items:[],command:e=>d({editor:t,range:r?.range||{from:0,to:0},props:e}),decorationNode:a,clientRect:S(n,a)};(i=y?.onExit)==null||i.call(y,o)}catch{}let a=n.state.tr.setMeta(r,{exit:!0});n.dispatch(a)}let T=new Ve({key:e,view(){return{update:async(e,n)=>{var r,i,a,o,s;let c=this.key?.getState(n),l=this.key?.getState(e.state),u=c.active&&l.active&&c.range.from!==l.range.from,p=!c.active&&l.active,m=c.active&&!l.active,h=!p&&!m&&c.query!==l.query,g=p||u&&h,_=h||u,b=m||u&&h;if(!g&&!_&&!b)return;let x=b&&!g?c:l,C=e.dom.querySelector(`[data-decoration-id="${x.decorationId}"]`);v={editor:t,range:x.range,query:x.query,text:x.text,items:[],command:e=>d({editor:t,range:x.range,props:e}),decorationNode:C,clientRect:S(e,C)},g&&((r=y?.onBeforeStart)==null||r.call(y,v)),_&&((i=y?.onBeforeUpdate)==null||i.call(y,v)),(_||g)&&(v.items=await f({editor:t,query:x.query})),b&&((a=y?.onExit)==null||a.call(y,v)),_&&((o=y?.onUpdate)==null||o.call(y,v)),g&&((s=y?.onStart)==null||s.call(y,v))},destroy:()=>{var e;v&&((e=y?.onExit)==null||e.call(y,v))}}},state:{init(){return{active:!1,range:{from:0,to:0},query:null,text:null,composing:!1,dismissedRange:null}},apply(s,c,l,u){let{isEditable:d}=t,{composing:f}=t.view,{selection:p}=s,{empty:_,from:v}=p,y={...c},b=s.getMeta(e);if(b&&b.exit)return y.active=!1,y.decorationId=null,y.range={from:0,to:0},y.query=null,y.text=null,y.dismissedRange=c.active?{...c.range}:c.dismissedRange,y;if(y.composing=f,s.docChanged&&y.dismissedRange!==null&&(y.dismissedRange={from:s.mapping.map(y.dismissedRange.from),to:s.mapping.map(y.dismissedRange.to)}),d&&(_||t.view.composing)){(v<c.range.from||v>c.range.to)&&!f&&!c.composing&&(y.active=!1);let e=h({char:n,allowSpaces:r,allowToIncludeChar:i,allowedPrefixes:a,startOfLine:o,$position:p.$from}),l=`id_${Math.floor(Math.random()*4294967295)}`;e&&m({editor:t,state:u,range:e.range,isActive:c.active})&&(!g||g({editor:t,range:e.range,query:e.query,text:e.text,transaction:s}))?(y.dismissedRange!==null&&!C({match:e,dismissedRange:y.dismissedRange,state:u,transaction:s})&&(y.dismissedRange=null),y.dismissedRange===null?(y.active=!0,y.decorationId=c.decorationId?c.decorationId:l,y.range=e.range,y.query=e.query,y.text=e.text):y.active=!1):(e||(y.dismissedRange=null),y.active=!1)}else y.active=!1;return y.active||(y.decorationId=null,y.range={from:0,to:0},y.query=null,y.text=null),y}},props:{handleKeyDown(t,n){var r;let{active:i,range:a}=T.getState(t.state);if(!i)return!1;if(n.key===`Escape`||n.key===`Esc`){let i=T.getState(t.state);return(r=y?.onKeyDown)==null||r.call(y,{view:t,event:n,range:i.range}),w(t,e),!0}return(y?.onKeyDown)?.call(y,{view:t,event:n,range:a})||!1},decorations(e){let{active:t,range:n,decorationId:r,query:i}=T.getState(e);if(!t)return null;let a=!i?.length,o=[c];return a&&o.push(u),Pe.create(e.doc,[yt.inline(n.from,n.to,{nodeName:s,class:o.join(` `),"data-decoration-id":r,"data-decoration-content":l})])}}});return T}var Wu=Uu;function Gu(e){return e.kind===`create`?`create:${e.value}`:`tag:${e.value}`}function Ku(e){if(e.kind===`create`){let t=e.value;return gi._({id:`XPqe3B`,values:{tagValue:t}})}let t=gi._({id:`pckX1A`,values:{0:e.count}}),n=e.value;return gi._({id:`m2T1Xj`,values:{tagValue:n,uses:t}})}function qu(e){let t=(0,$.c)(38),{items:n,query:r,selectedIndex:i,onSelect:a,onHover:c,loading:l,error:u}=e,d=l===void 0?!1:l,f=u===void 0?null:u,{_:p}=s(),m=(0,Q.useRef)(null),h=(0,Q.useId)(),g=i>=0&&i<n.length?`${h}-option-${i}`:void 0,_,v;t[0]===i?(_=t[1],v=t[2]):(_=()=>{let e=m.current;if(!e)return;let t=e.querySelectorAll(`[role="option"]`).item(i);t&&t.scrollIntoView({block:`nearest`})},v=[i],t[0]=i,t[1]=_,t[2]=v),(0,Q.useEffect)(_,v);let y=Ju;if(d){let e;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(e={maxHeight:`var(--suggestion-menu-max-height, 40vh)`},t[3]=e):e=t[3];let n;return t[4]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`div`,{ref:m,role:`status`,"aria-live":`polite`,className:`w-64 rounded-lg border bg-popover p-2 shadow-md text-sm text-muted-foreground`,style:e,onMouseDown:y,children:(0,Z.jsx)(o,{id:`a_u4ck`})}),t[4]=n):n=t[4],n}if(n.length===0){let e;if(t[5]!==p||t[6]!==f||t[7]!==r){let n=r.trim();e=f??p(n?{id:`9R7pRC`,values:{trimmed:n}}:{id:`KRJ6xh`}),t[5]=p,t[6]=f,t[7]=r,t[8]=e}else e=t[8];let n=e,i;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(i={maxHeight:`var(--suggestion-menu-max-height, 40vh)`},t[9]=i):i=t[9];let a;return t[10]===n?a=t[11]:(a=(0,Z.jsx)(`div`,{ref:m,role:`status`,"aria-live":`polite`,className:`w-64 rounded-lg border bg-popover p-2 shadow-md text-sm text-muted-foreground`,style:i,onMouseDown:y,children:n}),t[10]=n,t[11]=a),a}let b=i>=0&&i<n.length?n[i]:null,x;t[12]===p?x=t[13]:(x=p({id:`SCoBBH`}),t[12]=p,t[13]=x);let S;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(S={maxHeight:`var(--suggestion-menu-max-height, 40vh)`},t[14]=S):S=t[14];let C;t[15]===b?C=t[16]:(C=b?Ku(b):``,t[15]=b,t[16]=C);let w;t[17]===C?w=t[18]:(w=(0,Z.jsx)(`span`,{className:`sr-only`,"aria-live":`polite`,"aria-atomic":`true`,children:C}),t[17]=C,t[18]=w);let T;t[19]===f?T=t[20]:(T=f&&(0,Z.jsx)(`div`,{className:`rounded-md px-2 py-1.5 text-xs text-amber-700 dark:text-amber-300`,children:f}),t[19]=f,t[20]=T);let E;if(t[21]!==n||t[22]!==h||t[23]!==c||t[24]!==a||t[25]!==i){let e;t[27]!==h||t[28]!==c||t[29]!==a||t[30]!==i?(e=(e,t)=>{let n=t===i,r=Gu(e),s=e.kind===`create`;return(0,Z.jsxs)(`button`,{id:`${h}-option-${t}`,type:`button`,role:`option`,"aria-selected":n,"data-selected":n,"data-testid":s?`tag-suggestion-create`:`tag-suggestion-tag-${e.value}`,className:`flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm text-left ${n?`bg-accent text-accent-foreground`:``}`,onMouseDown:t=>{t.preventDefault(),a(e)},onPointerMove:c?()=>c(t):void 0,children:[(0,Z.jsx)(`span`,{"aria-hidden":`true`,className:`font-mono text-xs text-muted-foreground`,children:`#`}),(0,Z.jsx)(`span`,{className:`truncate font-medium flex-1`,children:e.value}),s?(0,Z.jsx)(`span`,{className:`shrink-0 rounded-sm bg-primary/10 px-1.5 py-0.5 text-[10px] font-medium uppercase tracking-wide text-primary`,children:(0,Z.jsx)(o,{id:`isRobC`})}):(0,Z.jsx)(`span`,{className:`shrink-0 text-[11px] text-muted-foreground tabular-nums`,children:e.count})]},r)},t[27]=h,t[28]=c,t[29]=a,t[30]=i,t[31]=e):e=t[31],E=n.map(e),t[21]=n,t[22]=h,t[23]=c,t[24]=a,t[25]=i,t[26]=E}else E=t[26];let D;return t[32]!==g||t[33]!==E||t[34]!==x||t[35]!==w||t[36]!==T?(D=(0,Z.jsxs)(`div`,{ref:m,role:`listbox`,"aria-label":x,"aria-activedescendant":g,tabIndex:-1,onMouseDown:y,className:`w-64 overflow-y-auto subtle-scrollbar rounded-lg border bg-popover p-1 shadow-md`,style:S,children:[w,T,E]}),t[32]=g,t[33]=E,t[34]=x,t[35]=w,t[36]=T,t[37]=D):D=t[37],D}function Ju(e){return e.preventDefault()}var Yu=new WeakMap;function Xu(e,t){Yu.set(e,t)}function Zu(e){return Yu.get(e)??!1}function Qu(e,t){let n=document.createElement(`div`);n.style.position=`fixed`,n.style.zIndex=`50`,n.style.visibility=`hidden`,document.body.appendChild(n);let r={getBoundingClientRect:()=>e()?.clientRect?.()??new DOMRect,get contextElement(){return e()?.editor.view.dom}},i=!1,a=!1,o=()=>{n.isConnected&&(n.style.removeProperty(`--suggestion-menu-max-height`),Br(r,n,{placement:`bottom-start`,middleware:[Ur(4),Kr(),Vr({padding:8}),Rr({apply({availableHeight:e}){n.isConnected&&n.style.setProperty(`--suggestion-menu-max-height`,`${Math.min(e,window.innerHeight*.4)}px`)}})]}).then(({x:e,y:t})=>{n.isConnected&&(n.style.left=`${e}px`,n.style.top=`${t}px`,i&&!a&&(n.style.removeProperty(`visibility`),a=!0))}).catch(e=>{n.isConnected&&console.warn(`[${t}] computePosition failed`,e)}))};return{popup:n,doPosition:o,startAutoUpdate:()=>Ir(r,n,o),reveal:()=>{a||(i=!0,o())}}}function $u(e){e.stopAutoUpdate?.(),e.stopAutoUpdate=null,e.popup?.remove(),e.popup=null}var ed=new lt(`tagSuggestion`),td=8,nd=/^[a-zA-Z][\w/-]*$/;async function rd(){let e=await fetch(`/api/tags`);if(!e.ok)throw Error(`/api/tags responded with ${e.status}`);let t=await e.json();return Array.isArray(t.tags)?t.tags:[]}function id(e,t){let n=t.trim(),r=n.toLowerCase(),i=n===``?e.slice():e.filter(e=>e.name.toLowerCase().includes(r));return i.sort((e,t)=>{let n=+!e.name.toLowerCase().startsWith(r),i=+!t.name.toLowerCase().startsWith(r);return n===i?t.count===e.count?e.name.localeCompare(t.name):t.count-e.count:n-i}),i}function ad(e,t){let n=id(e,t).slice(0,td).map(e=>({kind:`tag`,value:e.name,count:e.count,isLeaf:e.isLeaf})),r=t.trim();return r&&nd.test(r)&&!e.some(e=>e.name===r)&&n.push({kind:`create`,value:r}),n}function od(e){let{$position:t}=e,n=t.parent.textBetween(0,t.parentOffset,void 0,``).match(/(^|[\s])#([a-zA-Z][\w/-]*)?$/);if(!n)return null;let r=n[2]??``,i=t.start(),a=n[1].length;return{range:{from:i+((n.index??0)+a),to:t.pos},query:r,text:`#${r}`}}function sd(e){let t=[],n=!1,r=null,i=null;return Wu({editor:e,pluginKey:ed,char:`#`,allowedPrefixes:null,findSuggestionMatch:od,allow:({editor:e})=>!Zu(e),items:async({query:e})=>{if(!n){r||=rd();try{t=await r,i=null}catch(e){console.error(`[tag-suggestion] Failed to fetch tags:`,e),i=`Failed to load tags. Press Escape and type # again to retry, or continue typing to create a new tag.`,t=[]}finally{n=!0,r=null}}return ad(t,e)},command:({editor:e,range:t,props:n})=>{try{let r=n.value;if(!r||!nd.test(r))return;e.chain().focus().deleteRange(t).insertContent({type:`tag`,attrs:{value:r}}).insertContent(` `).run()}catch(e){console.error(`[tag-suggestion] command failed`,{item:n,range:t},e)}},render:()=>{let e=null,a=null,o=0,s={popup:null,stopAutoUpdate:null},c=null,l=null,u=e=>{a?.command(e)},d=e=>{o!==e&&(o=e,p(null))};function f(e,t,r){let a=t===null?!n:t;return{items:e.items,query:e.query??``,selectedIndex:o,onSelect:r,onHover:d,loading:a,error:i}}let p=t=>{!e||!a||e.updateProps(f(a,t,u))};return{onBeforeStart(t){a=t,o=0;let n=Qu(()=>a,`tag-suggestion`);s.popup=n.popup,c=n.doPosition,l=n.reveal,e=new Nu(qu,{props:f(t,!0,u),editor:t.editor}),n.popup.appendChild(e.element),s.stopAutoUpdate=n.startAutoUpdate()},onStart(e){a=e,o=0,p(null),l?.()},onUpdate(e){a=e,o=Math.min(o,Math.max(0,e.items.length-1)),p(null),c?.()},onKeyDown({event:e}){if(!a)return!1;let t=a.items;if(e.key===`ArrowDown`)return t.length===0?!1:(o=(o+1)%t.length,p(null),!0);if(e.key===`ArrowUp`)return t.length===0?!1:(o=(o-1+t.length)%t.length,p(null),!0);if(e.key===`Enter`||e.key===`Tab`){let e=t[o];if(e)return a.command(e),!0;let n=(a.query??``).trim();return n&&nd.test(n)?(a.command({kind:`create`,value:n}),!0):!1}return e.key,!1},onExit(){$u(s),c=null,l=null,e?.destroy(),e=null,a=null,o=0,t=[],i=null,n=!1,r=null}}}})}var cd=new Map([[pr,`<path d="m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"/>`],[$a,`<path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"/><path d="M14 2v5a1 1 0 0 0 1 1h5"/><path d="M10 9H8"/><path d="M16 13H8"/><path d="M16 17H8"/>`],[co,`<rect width="18" height="18" x="3" y="3" rx="2" ry="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"/>`],[co,`<rect width="18" height="18" x="3" y="3" rx="2" ry="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"/>`],[to,`<path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"/><path d="M14 2v5a1 1 0 0 0 1 1h5"/>`],[no,`<rect width="18" height="18" x="3" y="3" rx="2"/><path d="M7 3v18"/><path d="M3 7.5h4"/><path d="M3 12h18"/><path d="M3 16.5h4"/><path d="M17 3v18"/><path d="M17 7.5h4"/><path d="M17 16.5h4"/>`],[Ro,`<path d="M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z"/><path d="M16 9a5 5 0 0 1 0 6"/><path d="M19.364 18.364a9 9 0 0 0 0-12.728"/>`],[yr,`<path d="M18 6 6 18"/><path d="m6 6 12 12"/>`]]),ld=new Map;function ud(e){let t=ld.get(e);if(t!==void 0)return t;let n=`<svg xmlns="http://www.w3.org/2000/svg" width="0.75rem" height="0.75rem" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">${cd.get(e)??cd.get($a)}</svg>`;return ld.set(e,n),n}var dd=`0 0 32 32`,fd=`M26.7075 10.2925L19.7075 3.2925C19.6146 3.19967 19.5042 3.12605 19.3829 3.07586C19.2615 3.02568 19.1314 2.9999 19 3H7C6.46957 3 5.96086 3.21071 5.58579 3.58579C5.21071 3.96086 5 4.46957 5 5V14C5 14.2652 5.10536 14.5196 5.29289 14.7071C5.48043 14.8946 5.73478 15 6 15C6.26522 15 6.51957 14.8946 6.70711 14.7071C6.89464 14.5196 7 14.2652 7 14V5H18V11C18 11.2652 18.1054 11.5196 18.2929 11.7071C18.4804 11.8946 18.7348 12 19 12H25V28C25 28.2652 25.1054 28.5196 25.2929 28.7071C25.4804 28.8946 25.7348 29 26 29C26.2652 29 26.5196 28.8946 26.7071 28.7071C26.8946 28.5196 27 28.2652 27 28V11C27.0001 10.8686 26.9743 10.7385 26.9241 10.6172C26.8739 10.4958 26.8003 10.3854 26.7075 10.2925ZM20 6.41375L23.5863 10H20V6.41375ZM18 18H16C15.7348 18 15.4804 18.1054 15.2929 18.2929C15.1054 18.4804 15 18.7348 15 19V26C15 26.2652 15.1054 26.5196 15.2929 26.7071C15.4804 26.8946 15.7348 27 16 27H18C19.1935 27 20.3381 26.5259 21.182 25.682C22.0259 24.8381 22.5 23.6935 22.5 22.5C22.5 21.3065 22.0259 20.1619 21.182 19.318C20.3381 18.4741 19.1935 18 18 18ZM18 25H17V20H18C18.663 20 19.2989 20.2634 19.7678 20.7322C20.2366 21.2011 20.5 21.837 20.5 22.5C20.5 23.163 20.2366 23.7989 19.7678 24.2678C19.2989 24.7366 18.663 25 18 25ZM13 19V26C13 26.2652 12.8946 26.5196 12.7071 26.7071C12.5196 26.8946 12.2652 27 12 27C11.7348 27 11.4804 26.8946 11.2929 26.7071C11.1054 26.5196 11 26.2652 11 26V22.1725L9.31875 24.5737C9.22652 24.7053 9.10396 24.8126 8.96144 24.8868C8.81892 24.9609 8.66064 24.9996 8.5 24.9996C8.33936 24.9996 8.18108 24.9609 8.03856 24.8868C7.89604 24.8126 7.77348 24.7053 7.68125 24.5737L6 22.1725V26C6 26.2652 5.89464 26.5196 5.70711 26.7071C5.51957 26.8946 5.26522 27 5 27C4.73478 27 4.48043 26.8946 4.29289 26.7071C4.10536 26.5196 4 26.2652 4 26V19C4.00009 18.7874 4.06791 18.5804 4.19363 18.409C4.31935 18.2376 4.49642 18.1107 4.69915 18.0467C4.90188 17.9828 5.11971 17.9851 5.32104 18.0533C5.52236 18.1216 5.6967 18.2522 5.81875 18.4263L8.5 22.2563L11.1812 18.4263C11.3033 18.2522 11.4776 18.1216 11.679 18.0533C11.8803 17.9851 12.0981 17.9828 12.3008 18.0467C12.5036 18.1107 12.6807 18.2376 12.8064 18.409C12.9321 18.5804 12.9999 18.7874 13 19Z`;function pd(e){return e===`.md`||e===`.mdx`}function md(e){switch(E(e)){case`image`:return ud(co);case`video`:return ud(no);case`audio`:return ud(Ro);default:return ud(to)}}function hd(e){let t=(0,$.c)(7),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Z.jsx)(`path`,{d:fd}),t[3]=i):i=t[3];let a;return t[4]!==n||t[5]!==r?(a=(0,Z.jsx)(`svg`,{"aria-hidden":`true`,className:n,fill:`currentColor`,viewBox:dd,...r,children:i}),t[4]=n,t[5]=r,t[6]=a):a=t[6],a}function gd(e){let t=_i(e).toLowerCase();return t?pd(t)?{kind:`file`,path:e}:{kind:`file`,path:e,bodyIndexed:!1}:{kind:`folder`,path:e}}function _d(e){let t=(0,$.c)(5),{path:n,className:r}=e,i;t[0]===n?i=t[1]:(i=gd(n),t[0]=n,t[1]=i);let a;return t[2]!==r||t[3]!==i?(a=(0,Z.jsx)(yd,{...i,className:r}),t[2]=r,t[3]=i,t[4]=a):a=t[4],a}function vd(e){let{kind:t,bodyIndexed:n}=gd(e);if(t===`folder`)return ud(pr);let r=(n===!1?_i(e):_i(e)||`.md`).toLowerCase();return pd(r)?`<svg xmlns="http://www.w3.org/2000/svg" width="0.75rem" height="0.75rem" viewBox="${dd}" fill="currentColor" aria-hidden="true"><path d="${fd}"/></svg>`:md(r)}function yd(e){let t=(0,$.c)(24),{kind:n,path:r,docExt:i,bodyIndexed:a,className:o}=e;if(n===`folder`){let e;t[0]===o?e=t[1]:(e=Gt(`shrink-0`,o),t[0]=o,t[1]=e);let n;return t[2]===e?n=t[3]:(n=(0,Z.jsx)(pr,{"aria-hidden":`true`,className:e,"data-file-entry-icon":`folder`}),t[2]=e,t[3]=n),n}let s;t[4]!==a||t[5]!==i||t[6]!==r?(s=a===!1?_i(r):i??(_i(r)||`.md`),t[4]=a,t[5]=i,t[6]=r,t[7]=s):s=t[7];let c=s,l,u,d,f;if(t[8]!==o||t[9]!==c){let e=c.toLowerCase(),n=E(e);l=c&&e!==`.md`?c.slice(1).toUpperCase():null;let r=n===`image`&&`text-rose-500`,i;t[14]!==o||t[15]!==r?(i=Gt(o,r),t[14]=o,t[15]=r,t[16]=i):i=t[16];let a=i;u=`relative inline-flex shrink-0`,d=e||`file`,f=pd(e)?(0,Z.jsx)(hd,{className:a,"data-testid":`file-entry-icon-markdown`}):n===`image`?(0,Z.jsx)(co,{"aria-hidden":`true`,className:a,"data-testid":`file-entry-icon-image`}):n===`video`?(0,Z.jsx)(no,{"aria-hidden":`true`,className:a,"data-testid":`file-entry-icon-video`}):n===`audio`?(0,Z.jsx)(Ro,{"aria-hidden":`true`,className:a,"data-testid":`file-entry-icon-audio`}):(0,Z.jsx)(to,{"aria-hidden":`true`,className:a,"data-testid":`file-entry-icon-file`}),t[8]=o,t[9]=c,t[10]=l,t[11]=u,t[12]=d,t[13]=f}else l=t[10],u=t[11],d=t[12],f=t[13];let p;t[17]===l?p=t[18]:(p=l?(0,Z.jsx)(`span`,{"aria-hidden":`true`,className:`-right-1 -bottom-1 absolute rounded-sm bg-background px-0.5 font-medium text-[0.5rem] text-muted-foreground leading-none`,"data-testid":`file-entry-extension-badge`,children:l}):null,t[17]=l,t[18]=p);let m;return t[19]!==u||t[20]!==d||t[21]!==f||t[22]!==p?(m=(0,Z.jsxs)(`span`,{className:u,"data-file-entry-icon":d,children:[f,p]}),t[19]=u,t[20]=d,t[21]=f,t[22]=p,t[23]=m):m=t[23],m}var bd=Jt(`group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3! font-mono uppercase`,{variants:{variant:{default:`bg-primary text-primary-foreground [a]:hover:bg-primary/80`,secondary:`bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80`,warning:`bg-yellow-500/10 text-yellow-600 [a]:hover:bg-yellow-500/20`,destructive:`bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20`,outline:`border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground`,ghost:`hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50`,link:`text-primary underline-offset-4 hover:underline`,dashed:`border-dashed border-border text-muted-foreground rounded-sm`,primary:`border border-primary/50 text-primary bg-primary/5 rounded-sm p-0.5 px-1.5 font-mono`,gray:`border border-border text-muted-foreground bg-muted rounded-sm p-0.5 px-1.5 font-mono`}},defaultVariants:{variant:`default`}});function xd(e){let t=(0,$.c)(13),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:n,variant:i,asChild:a,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=i===void 0?`default`:i,s=a!==void 0&&a?Ut:`span`,c;t[5]!==n||t[6]!==o?(c=Gt(bd({variant:o}),n),t[5]=n,t[6]=o,t[7]=c):c=t[7];let l;return t[8]!==s||t[9]!==r||t[10]!==c||t[11]!==o?(l=(0,Z.jsx)(s,{"data-slot":`badge`,"data-variant":o,className:c,...r}),t[8]=s,t[9]=r,t[10]=c,t[11]=o,t[12]=l):l=t[12],l}var Sd=1,Cd=.9,wd=.8,Td=.17,Ed=.1,Dd=.999,Od=.9999,kd=.99,Ad=/[\\\/_+.#"@\[\(\{&]/,jd=/[\\\/_+.#"@\[\(\{&]/g,Md=/[\s-]/,Nd=/[\s-]/g;function Pd(e,t,n,r,i,a,o){if(a===t.length)return i===e.length?Sd:kd;var s=`${i},${a}`;if(o[s]!==void 0)return o[s];for(var c=r.charAt(a),l=n.indexOf(c,i),u=0,d,f,p,m;l>=0;)d=Pd(e,t,n,r,l+1,a+1,o),d>u&&(l===i?d*=Sd:Ad.test(e.charAt(l-1))?(d*=wd,p=e.slice(i,l-1).match(jd),p&&i>0&&(d*=Dd**+p.length)):Md.test(e.charAt(l-1))?(d*=Cd,m=e.slice(i,l-1).match(Nd),m&&i>0&&(d*=Dd**+m.length)):(d*=Td,i>0&&(d*=Dd**+(l-i))),e.charAt(l)!==t.charAt(a)&&(d*=Od)),(d<Ed&&n.charAt(l-1)===r.charAt(a+1)||r.charAt(a+1)===r.charAt(a)&&n.charAt(l-1)!==r.charAt(a))&&(f=Pd(e,t,n,r,l+1,a+2,o),f*Ed>d&&(d=f*Ed)),d>u&&(u=d),l=n.indexOf(c,l+1);return o[s]=u,u}function Fd(e){return e.toLowerCase().replace(Nd,` `)}function Id(e,t,n){return e=n&&n.length>0?`${e+` `+n.join(` `)}`:e,Pd(e,t,Fd(e),Fd(t),0,0,{})}var Ld=`[cmdk-group=""]`,Rd=`[cmdk-group-items=""]`,zd=`[cmdk-group-heading=""]`,Bd=`[cmdk-item=""]`,Vd=`${Bd}:not([aria-disabled="true"])`,Hd=`cmdk-item-select`,Ud=`data-value`,Wd=(e,t,n)=>Id(e,t,n),Gd=Q.createContext(void 0),Kd=()=>Q.useContext(Gd),qd=Q.createContext(void 0),Jd=()=>Q.useContext(qd),Yd=Q.createContext(void 0),Xd=Q.forwardRef((e,t)=>{let n=df(()=>({search:``,value:e.value??e.defaultValue??``,selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}})),r=df(()=>new Set),i=df(()=>new Map),a=df(()=>new Map),o=df(()=>new Set),s=lf(e),{label:c,children:l,value:u,onValueChange:d,filter:f,shouldFilter:p,loop:m,disablePointerSelection:h=!1,vimBindings:g=!0,..._}=e,v=Cr(),y=Cr(),b=Cr(),x=Q.useRef(null),S=mf();uf(()=>{if(u!==void 0){let e=u.trim();n.current.value=e,C.emit()}},[u]),uf(()=>{S(6,k)},[]);let C=Q.useMemo(()=>({subscribe:e=>(o.current.add(e),()=>o.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r)=>{var i,a,o;if(!Object.is(n.current[e],t)){if(n.current[e]=t,e===`search`)O(),E(),S(1,D);else if(e===`value`){if(document.activeElement.hasAttribute(`cmdk-input`)||document.activeElement.hasAttribute(`cmdk-root`)){let e=document.getElementById(b);e?e.focus():(i=document.getElementById(v))==null||i.focus()}if(S(7,()=>{n.current.selectedItemId=A()?.id,C.emit()}),r||S(5,k),s.current?.value!==void 0){let e=t??``;(o=(a=s.current).onValueChange)==null||o.call(a,e);return}}C.emit()}},emit:()=>{o.current.forEach(e=>e())}}),[]),w=Q.useMemo(()=>({value:(e,t,r)=>{t!==a.current.get(e)?.value&&(a.current.set(e,{value:t,keywords:r}),n.current.filtered.items.set(e,T(t,r)),S(2,()=>{E(),C.emit()}))},item:(e,t)=>(r.current.add(e),t&&(i.current.has(t)?i.current.get(t).add(e):i.current.set(t,new Set([e]))),S(3,()=>{O(),E(),n.current.value||D(),C.emit()}),()=>{a.current.delete(e),r.current.delete(e),n.current.filtered.items.delete(e);let t=A();S(4,()=>{O(),t?.getAttribute(`id`)===e&&D(),C.emit()})}),group:e=>(i.current.has(e)||i.current.set(e,new Set),()=>{a.current.delete(e),i.current.delete(e)}),filter:()=>s.current.shouldFilter,label:c||e[`aria-label`],getDisablePointerSelection:()=>s.current.disablePointerSelection,listId:v,inputId:b,labelId:y,listInnerRef:x}),[]);function T(e,t){let r=s.current?.filter??Wd;return e?r(e,n.current.search,t):0}function E(){if(!n.current.search||s.current.shouldFilter===!1)return;let e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach(n=>{let r=i.current.get(n),a=0;r.forEach(t=>{let n=e.get(t);a=Math.max(n,a)}),t.push([n,a])});let r=x.current;j().sort((t,n)=>{let r=t.getAttribute(`id`),i=n.getAttribute(`id`);return(e.get(i)??0)-(e.get(r)??0)}).forEach(e=>{let t=e.closest(Rd);t?t.appendChild(e.parentElement===t?e:e.closest(`${Rd} > *`)):r.appendChild(e.parentElement===r?e:e.closest(`${Rd} > *`))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{let t=x.current?.querySelector(`${Ld}[${Ud}="${encodeURIComponent(e[0])}"]`);t?.parentElement.appendChild(t)})}function D(){let e=j().find(e=>e.getAttribute(`aria-disabled`)!==`true`)?.getAttribute(Ud);C.setState(`value`,e||void 0)}function O(){if(!n.current.search||s.current.shouldFilter===!1){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let e=0;for(let t of r.current){let r=T(a.current.get(t)?.value??``,a.current.get(t)?.keywords??[]);n.current.filtered.items.set(t,r),r>0&&e++}for(let[e,t]of i.current)for(let r of t)if(n.current.filtered.items.get(r)>0){n.current.filtered.groups.add(e);break}n.current.filtered.count=e}function k(){var e;let t=A();t&&(t.parentElement?.firstChild===t&&((e=t.closest(Ld)?.querySelector(zd))==null||e.scrollIntoView({block:`nearest`})),t.scrollIntoView({block:`nearest`}))}function A(){return x.current?.querySelector(`${Bd}[aria-selected="true"]`)}function j(){return Array.from(x.current?.querySelectorAll(Vd)||[])}function M(e){let t=j()[e];t&&C.setState(`value`,t.getAttribute(Ud))}function N(e){var t;let n=A(),r=j(),i=r.findIndex(e=>e===n),a=r[i+e];(t=s.current)!=null&&t.loop&&(a=i+e<0?r[r.length-1]:i+e===r.length?r[0]:r[i+e]),a&&C.setState(`value`,a.getAttribute(Ud))}function P(e){let t=A()?.closest(Ld),n;for(;t&&!n;)t=e>0?sf(t,Ld):cf(t,Ld),n=t?.querySelector(Vd);n?C.setState(`value`,n.getAttribute(Ud)):N(e)}let F=()=>M(j().length-1),I=e=>{e.preventDefault(),e.metaKey?F():e.altKey?P(1):N(1)},L=e=>{e.preventDefault(),e.metaKey?M(0):e.altKey?P(-1):N(-1)};return Q.createElement(Sr.div,{ref:t,tabIndex:-1,..._,"cmdk-root":``,onKeyDown:e=>{var t;(t=_.onKeyDown)==null||t.call(_,e);let n=e.nativeEvent.isComposing||e.keyCode===229;if(!(e.defaultPrevented||n))switch(e.key){case`n`:case`j`:g&&e.ctrlKey&&I(e);break;case`ArrowDown`:I(e);break;case`p`:case`k`:g&&e.ctrlKey&&L(e);break;case`ArrowUp`:L(e);break;case`Home`:e.preventDefault(),M(0);break;case`End`:e.preventDefault(),F();break;case`Enter`:{e.preventDefault();let t=A();if(t){let e=new Event(Hd);t.dispatchEvent(e)}}}}},Q.createElement(`label`,{"cmdk-label":``,htmlFor:w.inputId,id:w.labelId,style:_f},c),gf(e,e=>Q.createElement(qd.Provider,{value:C},Q.createElement(Gd.Provider,{value:w},e))))}),Zd=Q.forwardRef((e,t)=>{let n=Cr(),r=Q.useRef(null),i=Q.useContext(Yd),a=Kd(),o=lf(e),s=o.current?.forceMount??i?.forceMount;uf(()=>{if(!s)return a.item(n,i?.id)},[s]);let c=pf(n,r,[e.value,e.children,r],e.keywords),l=Jd(),u=ff(e=>e.value&&e.value===c.current),d=ff(e=>s||a.filter()===!1?!0:e.search?e.filtered.items.get(n)>0:!0);Q.useEffect(()=>{let t=r.current;if(!(!t||e.disabled))return t.addEventListener(Hd,f),()=>t.removeEventListener(Hd,f)},[d,e.onSelect,e.disabled]);function f(){var e,t;p(),(t=(e=o.current).onSelect)==null||t.call(e,c.current)}function p(){l.setState(`value`,c.current,!0)}if(!d)return null;let{disabled:m,value:h,onSelect:g,forceMount:_,keywords:v,...y}=e;return Q.createElement(Sr.div,{ref:Wt(r,t),...y,id:n,"cmdk-item":``,role:`option`,"aria-disabled":!!m,"aria-selected":!!u,"data-disabled":!!m,"data-selected":!!u,onPointerMove:m||a.getDisablePointerSelection()?void 0:p,onClick:m?void 0:f},e.children)}),Qd=Q.forwardRef((e,t)=>{let{heading:n,children:r,forceMount:i,...a}=e,o=Cr(),s=Q.useRef(null),c=Q.useRef(null),l=Cr(),u=Kd(),d=ff(e=>i||u.filter()===!1?!0:e.search?e.filtered.groups.has(o):!0);uf(()=>u.group(o),[]),pf(o,s,[e.value,e.heading,c]);let f=Q.useMemo(()=>({id:o,forceMount:i}),[i]);return Q.createElement(Sr.div,{ref:Wt(s,t),...a,"cmdk-group":``,role:`presentation`,hidden:d?void 0:!0},n&&Q.createElement(`div`,{ref:c,"cmdk-group-heading":``,"aria-hidden":!0,id:l},n),gf(e,e=>Q.createElement(`div`,{"cmdk-group-items":``,role:`group`,"aria-labelledby":n?l:void 0},Q.createElement(Yd.Provider,{value:f},e))))}),$d=Q.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,i=Q.useRef(null),a=ff(e=>!e.search);return!n&&!a?null:Q.createElement(Sr.div,{ref:Wt(i,t),...r,"cmdk-separator":``,role:`separator`})}),ef=Q.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,i=e.value!=null,a=Jd(),o=ff(e=>e.search),s=ff(e=>e.selectedItemId),c=Kd();return Q.useEffect(()=>{e.value!=null&&a.setState(`search`,e.value)},[e.value]),Q.createElement(Sr.input,{ref:t,...r,"cmdk-input":``,autoComplete:`off`,autoCorrect:`off`,spellCheck:!1,"aria-autocomplete":`list`,role:`combobox`,"aria-expanded":!0,"aria-controls":c.listId,"aria-labelledby":c.labelId,"aria-activedescendant":s,id:c.inputId,type:`text`,value:i?e.value:o,onChange:e=>{i||a.setState(`search`,e.target.value),n?.(e.target.value)}})}),tf=Q.forwardRef((e,t)=>{let{children:n,label:r=`Suggestions`,...i}=e,a=Q.useRef(null),o=Q.useRef(null),s=ff(e=>e.selectedItemId),c=Kd();return Q.useEffect(()=>{if(o.current&&a.current){let e=o.current,t=a.current,n,r=new ResizeObserver(()=>{n=requestAnimationFrame(()=>{let n=e.offsetHeight;t.style.setProperty(`--cmdk-list-height`,n.toFixed(1)+`px`)})});return r.observe(e),()=>{cancelAnimationFrame(n),r.unobserve(e)}}},[]),Q.createElement(Sr.div,{ref:Wt(a,t),...i,"cmdk-list":``,role:`listbox`,tabIndex:-1,"aria-activedescendant":s,"aria-label":r,id:c.listId},gf(e,e=>Q.createElement(`div`,{ref:Wt(o,c.listInnerRef),"cmdk-list-sizer":``},e)))}),nf=Q.forwardRef((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:i,contentClassName:a,container:o,...s}=e;return Q.createElement($r,{open:n,onOpenChange:r},Q.createElement(Qr,{container:o},Q.createElement(di,{"cmdk-overlay":``,className:i}),Q.createElement(ri,{"aria-label":e.label,"cmdk-dialog":``,className:a},Q.createElement(Xd,{ref:t,...s}))))}),rf=Q.forwardRef((e,t)=>ff(e=>e.filtered.count===0)?Q.createElement(Sr.div,{ref:t,...e,"cmdk-empty":``,role:`presentation`}):null),af=Q.forwardRef((e,t)=>{let{progress:n,children:r,label:i=`Loading...`,...a}=e;return Q.createElement(Sr.div,{ref:t,...a,"cmdk-loading":``,role:`progressbar`,"aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":i},gf(e,e=>Q.createElement(`div`,{"aria-hidden":!0},e)))}),of=Object.assign(Xd,{List:tf,Item:Zd,Input:ef,Group:Qd,Separator:$d,Dialog:nf,Empty:rf,Loading:af});function sf(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function cf(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function lf(e){let t=Q.useRef(e);return uf(()=>{t.current=e}),t}var uf=typeof window>`u`?Q.useEffect:Q.useLayoutEffect;function df(e){let t=Q.useRef();return t.current===void 0&&(t.current=e()),t}function ff(e){let t=Jd(),n=()=>e(t.snapshot());return Q.useSyncExternalStore(t.subscribe,n,n)}function pf(e,t,n,r=[]){let i=Q.useRef(),a=Kd();return uf(()=>{var o;let s=(()=>{for(let e of n){if(typeof e==`string`)return e.trim();if(typeof e==`object`&&`current`in e)return e.current?e.current.textContent?.trim():i.current}})(),c=r.map(e=>e.trim());a.value(e,s,c),(o=t.current)==null||o.setAttribute(Ud,s),i.current=s}),i}var mf=()=>{let[e,t]=Q.useState(),n=df(()=>new Map);return uf(()=>{n.current.forEach(e=>e()),n.current=new Map},[e]),(e,r)=>{n.current.set(e,r),t({})}};function hf(e){let t=e.type;return typeof t==`function`?t(e.props):`render`in t?t.render(e.props):e}function gf({asChild:e,children:t},n){return e&&Q.isValidElement(t)?Q.cloneElement(hf(t),{ref:t.ref},n(t.props.children)):n(t)}var _f={position:`absolute`,width:`1px`,height:`1px`,padding:`0`,margin:`-1px`,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,borderWidth:`0`};function vf(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=Gt(`flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(of,{"data-slot":`command`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function yf(e){let t=(0,$.c)(36),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({title:s,description:c,children:n,className:r,showCloseButton:l,commandProps:i,onEscapeKeyDown:a,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=s===void 0?`Command Palette`:s,d=c===void 0?`Search for a command to run`:c,f=l===void 0?!0:l,p;t[9]===i?p=t[10]:(p=i??{},t[9]=i,t[10]=p);let m,h;t[11]===p?(m=t[12],h=t[13]):({className:m,...h}=p,t[11]=p,t[12]=m,t[13]=h);let g;t[14]===r?g=t[15]:(g=Gt(`top-[12vh] translate-y-0 overflow-hidden p-0`,r),t[14]=r,t[15]=g);let _;t[16]===u?_=t[17]:(_=(0,Z.jsx)(Zr,{className:`sr-only`,children:u}),t[16]=u,t[17]=_);let v;t[18]===d?v=t[19]:(v=(0,Z.jsx)(Xr,{className:`sr-only`,children:d}),t[18]=d,t[19]=v);let y;t[20]===m?y=t[21]:(y=Gt(`[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5`,m),t[20]=m,t[21]=y);let b;t[22]!==n||t[23]!==h||t[24]!==y?(b=(0,Z.jsx)(vf,{className:y,...h,children:n}),t[22]=n,t[23]=h,t[24]=y,t[25]=b):b=t[25];let x;t[26]!==a||t[27]!==f||t[28]!==g||t[29]!==_||t[30]!==v||t[31]!==b?(x=(0,Z.jsxs)(ni,{className:g,showCloseButton:f,onEscapeKeyDown:a,children:[_,v,b]}),t[26]=a,t[27]=f,t[28]=g,t[29]=_,t[30]=v,t[31]=b,t[32]=x):x=t[32];let S;return t[33]!==o||t[34]!==x?(S=(0,Z.jsx)(ui,{...o,children:x}),t[33]=o,t[34]=x,t[35]=S):S=t[35],S}function bf(e){let t=(0,$.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Z.jsx)(Oo,{className:`size-4 shrink-0 opacity-50`}),t[3]=i):i=t[3];let a;t[4]===n?a=t[5]:(a=Gt(`flex w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`,n),t[4]=n,t[5]=a);let o;return t[6]!==r||t[7]!==a?(o=(0,Z.jsxs)(`div`,{"data-slot":`command-input-wrapper`,className:`flex items-center gap-2 border-b px-3`,children:[i,(0,Z.jsx)(of.Input,{"data-slot":`command-input`,className:a,...r})]}),t[6]=r,t[7]=a,t[8]=o):o=t[8],o}function xf(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=Gt(`max-h-[300px] scroll-py-1 overflow-y-auto overflow-x-hidden`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(of.List,{"data-slot":`command-list`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Sf(e){let t=(0,$.c)(2),n;return t[0]===e?n=t[1]:(n=(0,Z.jsx)(of.Empty,{"data-slot":`command-empty`,className:`py-6 text-center text-sm`,...e}),t[0]=e,t[1]=n),n}function Cf(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=Gt(`overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-mono [&_[cmdk-group-heading]]:uppercase **:[[cmdk-group-heading]]:tracking-wider`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(of.Group,{"data-slot":`command-group`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function wf(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=Gt(`relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none data-disabled:pointer-events-none data-disabled:opacity-50 data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 [&_svg:not([class*='text-'])]:text-muted-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(of.Item,{"data-slot":`command-item`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Tf(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=Gt(`ml-auto text-muted-foreground text-xs tracking-widest`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(`span`,{"data-slot":`command-shortcut`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ef(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(ys,{"data-slot":`popover`,...n}),t[2]=n,t[3]=r),r}function Df(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(xs,{"data-slot":`popover-trigger`,...n}),t[2]=n,t[3]=r),r}function Of(e){let t=(0,$.c)(12),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:n,align:i,sideOffset:a,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=i===void 0?`center`:i,s=a===void 0?4:a,c;t[5]===n?c=t[6]:(c=Gt(`z-50 w-72 rounded-lg border bg-popover p-4 text-popover-foreground shadow-md outline-hidden origin-(--radix-popover-content-transform-origin) duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 motion-reduce:data-open:animate-none motion-reduce:data-closed:animate-none motion-reduce:duration-0`,n),t[5]=n,t[6]=c);let l;return t[7]!==o||t[8]!==r||t[9]!==s||t[10]!==c?(l=(0,Z.jsx)(Ss,{children:(0,Z.jsx)(Cs,{"data-slot":`popover-content`,align:o,sideOffset:s,className:c,...r})}),t[7]=o,t[8]=r,t[9]=s,t[10]=c,t[11]=l):l=t[11],l}function kf(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(bs,{"data-slot":`popover-anchor`,...n}),t[2]=n,t[3]=r),r}async function Af(e,t){let n=null,r;try{n=await e.json()}catch(e){r=e}if(r instanceof Error&&r.name===`AbortError`)throw r;if(e.ok)return r!==void 0&&console.warn(`[parse-server-response] 2xx response with non-JSON body:`,r instanceof Error?r.message:String(r)),{ok:!0,body:r===void 0?n:null};if(r!==void 0){let t=r instanceof Error?r.message:String(r);return{ok:!1,title:`Server error (HTTP ${e.status}): ${t}`}}return{ok:!1,title:hi(n)??t}}function jf(e,t,n,r){let i=e.safeParse(t);return i.success?i.data:(console.warn(`[parse-server-response] schema drift:`,n,`bodyShape=`,typeof t==`object`&&t?Object.keys(t):typeof t,`issues=`,i.error.issues),r)}var Mf=new Map,Nf=null;function Pf(){return ji(`PREWARM_CORRELATION_WINDOW_MS`,5e3)}function Ff(){if(Nf!==null)return;let e=Math.max(50,Math.floor(Pf()/2));Nf=setTimeout(()=>{Nf=null,If(Date.now()),Mf.size>0&&Ff()},e)}function If(e){let t=Pf();for(let[n,r]of Mf)e-r.emittedAt>=t&&(Mf.delete(n),Y.count(`ok/sidebar/prewarm`,{hit:!1}))}function Lf(e,t,n=Date.now()){Mf.has(e)&&Y.count(`ok/sidebar/prewarm`,{hit:!1}),Mf.set(e,{poolEventId:t,emittedAt:n}),Ff()}function Rf(e,t,n=Date.now()){let r=Mf.get(e);return!r||r.poolEventId!==t||n-r.emittedAt>=Pf()?!1:(Mf.delete(e),Y(`ok/sidebar/prewarm-clicked`,{docName:e,t:n,poolEventId:t}),Y.count(`ok/sidebar/prewarm`,{hit:!0}),!0)}_({event:Rt(`ok-branch-switched-clear-failed`),branch:he(),docName:he(),reason:he()});async function zf(e,t){let n=[];for(let[r,i]of e.entries)i.kind===`active`&&i.persistence!==null&&n.push(i.persistence.clearData().catch(e=>{let n={event:`ok-branch-switched-clear-failed`,docName:r,branch:t,reason:e instanceof Error?e.message:String(e)};console.warn(JSON.stringify(n))}));await Promise.all(n),e.clearBufferedUpdates(),e.recycleAllEntries()}function Bf(e){let t=!1;return()=>{t?e():t=!0}}function Vf(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}async function Hf(e,t=``){let n;try{n=await fetch(`${t}/api/server-info`,{signal:AbortSignal.timeout(5e3)})}catch{return}if(!n.ok)return;let r;try{r=await n.json()}catch{return}let i=it.safeParse(r);if(!i.success){console.warn(JSON.stringify({event:`ok-server-info-schema-mismatch`,issues:i.error.issues}));return}if(e.setExpectedServerInstanceId(i.data.serverInstanceId),Qn(i.data.serverInstanceId),i.data.currentBranch!==void 0&&e.compareAndUpdateObservedBranch(i.data.currentBranch)&&(zf(e,i.data.currentBranch),Ai(i.data.currentBranch)),i.data.currentDiskAckSVs!==void 0){let t={};for(let[e,n]of Object.entries(i.data.currentDiskAckSVs))try{t[e]=Vf(n)}catch{}e.observeDiskAckBatch(t)}}async function Uf(e){let t;try{t=await fetch(`/api/config`,{signal:e,headers:{Accept:`application/json`}})}catch(e){if(e.name===`AbortError`)throw e;return{status:`error`,code:`network`}}if(t.status===404||t.status===501)return{status:`absent`};if(!t.ok)return{status:`error`,code:t.status};let n;try{n=await t.json()}catch{return{status:`error`,code:`invalid-body`}}if(typeof n!=`object`||!n||Array.isArray(n))return{status:`error`,code:`invalid-body`};let r=n;return{status:`ok`,config:{collabUrl:typeof r.collabUrl==`string`?r.collabUrl:null,previewUrl:typeof r.previewUrl==`string`?r.previewUrl:null,port:typeof r.port==`number`?r.port:0,paneTarget:typeof r.paneTarget==`string`?r.paneTarget:null,singleFile:r.singleFile===!0}}}function Wf(e){return Qf(e,Tt)}function Gf(e){return Qf(e,Be)}function Kf(e){return Qf(e,vt)}function qf(e){return Qf(e,Qe)}function Jf(e){return Qf(e,Ne)}function Yf(e){let t=Qf(e,Ie);if(!t)return null;try{return{docName:t.docName,sv:Xf(t.sv)}}catch{return null}}function Xf(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}function Zf(e,t){let n=Gf(e);if(n){t.onServerInfo?.(n);return}let r=Kf(e);if(r){t.onBranchSwitched?.(r);return}let i=Yf(e);if(i){t.onDiskAck?.(i);return}let a=Wf(e);if(a){t.onDerivedView?.(a);return}let o=qf(e);if(o){t.onConfigValidationRejected?.(o);return}let s=Jf(e);if(s){t.onConfigIgnoreNestedError?.(s);return}t.onUnknown?.(e)}function Qf(e,t){let n;try{n=JSON.parse(e)}catch{return null}let r=t.safeParse(n);return r.success?r.data:null}function $f(){return typeof location>`u`?`ws://localhost/collab`:`${location.protocol===`https:`?`wss`:`ws`}://${location.host}/collab`}function ep(e){if(e===void 0)return null;let t=e.okDesktop;return!t||!t.config.collabUrl||t.config.collabUrl.length===0?null:t}function tp(e){return{collabUrl:e.collabUrl,attempts:0,terminal:!1,lastError:null}}var np=2e3,rp=15e3;function ip(e){let t=e.terminalAfterMs??3e4,n=e.initialDelayMs??np,r=e.maxDelayMs??rp,i=e.log??{info:console.info,warn:console.warn},a=new AbortController,o=null,s=n,c=0,l=!1,u=!1,d=null,f=e.now(),p=async()=>{c+=1;let n=null;try{let t=await e.fetchConfig(a.signal);t.status===`absent`?(n=e.fallbackUrl(),d=null):t.status===`ok`&&t.config.collabUrl!==null?(n=t.config.collabUrl,d=null):t.status===`ok`?(u||(u=!0,i.info(`[collab-url] ok ui responded but server.lock has no port yet — retrying`)),d={kind:`null-collab`}):t.status===`error`&&(i.warn(`[collab-url] /api/config error (${t.code}) — retrying in ${s}ms`),d={kind:`error`,code:t.code})}catch(e){if(e.name===`AbortError`)return;d={kind:`error`,code:`network`}}if(!l){if(n!==null){e.onStateChange({collabUrl:n,attempts:c,terminal:!1,lastError:null});return}if(e.now()-f>=t){e.onStateChange({collabUrl:null,attempts:c,terminal:!0,lastError:d});return}e.onStateChange({collabUrl:null,attempts:c,terminal:!1,lastError:d}),o=e.setTimeout(()=>{p()},s),s=Math.min(s*2,r)}};return p(),{cancel:()=>{l=!0,a.abort(),o!==null&&(e.clearTimeout(o),o=null)}}}function ap(){let e=(0,$.c)(8),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={collabUrl:null,attempts:0,terminal:!1,lastError:null},e[0]=t):t=e[0];let[n,r]=(0,Q.useState)(t),i;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(i={token:0},e[1]=i):i=e[1];let a=(0,Q.useRef)(i),[o,s]=(0,Q.useState)(0),c;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(c=()=>{let e=a.current.token=a.current.token+1,t=ep(window);if(t){r(tp(t.config));let n=t.onProjectSwitched(t=>{e===a.current.token&&r(tp(t))});return()=>{n()}}let n=ip({fetchConfig:Uf,fallbackUrl:$f,now:Date.now,setTimeout:lp,clearTimeout:cp,onStateChange:t=>{e===a.current.token&&r(t)}});return()=>{n.cancel()}},e[2]=c):c=e[2];let l;e[3]===o?l=e[4]:(l=[o],e[3]=o,e[4]=l),(0,Q.useEffect)(c,l);let u;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(u=()=>{a.current.token=a.current.token+1,r(sp),s(op)},e[5]=u):u=e[5];let d=u,f;return e[6]===n?f=e[7]:(f={...n,retry:d},e[6]=n,e[7]=f),f}function op(e){return e+1}function sp(e){return{...e,terminal:!1,lastError:null}}function cp(e){return globalThis.clearTimeout(e)}function lp(e,t){return globalThis.setTimeout(e,t)}var up=new Map,dp=new Set;function fp(){for(let e of dp)e()}function pp(e,t){up.set(e,t),fp()}function mp(e,t){up.get(e)===t&&(up.delete(e),fp())}function hp(e){return up.get(e)??null}function gp(e){return dp.add(e),()=>dp.delete(e)}var _p=()=>{let e=!0;return(t,n)=>{if(e){e=!1;try{t()}finally{e=!0}}else n!==void 0&&n()}},vp=/[\uD800-\uDBFF]/,yp=/[\uDC00-\uDFFF]/,bp=(e,t)=>{let n=0,r=0;for(;n<e.length&&n<t.length&&e[n]===t[n];)n++;for(n>0&&vp.test(e[n-1])&&n--;r+n<e.length&&r+n<t.length&&e[e.length-r-1]===t[t.length-r-1];)r++;return r>0&&yp.test(e[e.length-r])&&r--,{index:n,remove:e.length-n-r,insert:t.slice(n,t.length-r)}},xp=(e,t)=>e>>>t|e<<32-t,Sp=e=>xp(e,2)^xp(e,13)^xp(e,22),Cp=e=>xp(e,6)^xp(e,11)^xp(e,25),wp=e=>xp(e,7)^xp(e,18)^e>>>3,Tp=e=>xp(e,17)^xp(e,19)^e>>>10,Ep=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Dp=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Op=class{constructor(){let e=new ArrayBuffer(320);this._H=new Uint32Array(e,0,8),this._H.set(Dp),this._W=new Uint32Array(e,64,64)}_updateHash(){let e=this._H,t=this._W;for(let e=16;e<64;e++)t[e]=Tp(t[e-2])+t[e-7]+wp(t[e-15])+t[e-16];let n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],c=e[6],l=e[7];for(let e=0,u,d;e<64;e++)u=l+Cp(o)+(o&s^~o&c)+Ep[e]+t[e]>>>0,d=Sp(n)+(n&r^n&i^r&i)>>>0,l=c,c=s,s=o,o=a+u>>>0,a=i,i=r,r=n,n=u+d>>>0;e[0]+=n,e[1]+=r,e[2]+=i,e[3]+=a,e[4]+=o,e[5]+=s,e[6]+=c,e[7]+=l}digest(e){let t=0;for(;t+56<=e.length;){let n=0;for(;n<16&&t+3<e.length;n++)this._W[n]=e[t++]<<24|e[t++]<<16|e[t++]<<8|e[t++];if(t%64!=0){for(this._W.fill(0,n,16);t<e.length;)this._W[n]|=e[t]<<(3-t%4)*8,t++;this._W[n]|=128<<(3-t%4)*8}this._updateHash()}let n=t%64!=0;this._W.fill(0,0,16);let r=0;for(;t<e.length;r++)for(let n=3;n>=0&&t<e.length;n--)this._W[r]|=e[t++]<<n*8;n||(this._W[r-(t%4==0?0:1)]|=128<<(3-t%4)*8),this._W[14]=e.byteLength/fn,this._W[15]=e.byteLength*8,this._updateHash();let i=new Uint8Array(32);for(let e=0;e<this._H.length;e++)for(let t=0;t<4;t++)i[e*4+t]=this._H[e]>>>(3-t)*8;return i}},kp=e=>new Op().digest(e),Ap=new lt(`y-sync`),jp=new lt(`y-undo`),Mp=new lt(`yjs-cursor`),Np=e=>{for(let t=6;t<e.length;t++)e[t%6]=e[t%6]^e[t];return e.slice(0,6)},Pp=e=>jn(Np(kp(An(e)))),Fp=()=>({mapping:new Map,isOMark:new Map}),Ip=(e,t)=>t===void 0?!e.deleted:t.sv.has(e.id.client)&&t.sv.get(e.id.client)>e.id.clock&&!Kn(t.ds,e.id),Lp=[{light:`#ecd44433`,dark:`#ecd444`}],Rp=(e,t,n)=>{if(!e.has(n)){if(e.size<t.length){let n=nr();e.forEach(e=>n.add(e)),t=t.filter(e=>!n.has(e))}e.set(n,Nn(t))}return e.get(n)},zp=(e,{colors:t=Lp,colorMapping:n=new Map,permanentUserData:r=null,onFirstRender:i=()=>{},mapping:a}={})=>{let o=!1,s=new Up(e,a),c=new Ve({props:{editable:e=>{let t=Ap.getState(e);return t.snapshot==null&&t.prevSnapshot==null}},key:Ap,state:{init:(i,a)=>({type:e,doc:e.doc,binding:s,snapshot:null,prevSnapshot:null,isChangeOrigin:!1,isUndoRedoOperation:!1,addToHistory:!0,colors:t,colorMapping:n,permanentUserData:r}),apply:(e,t)=>{let n=e.getMeta(Ap);if(n!==void 0){t=Object.assign({},t);for(let e in n)t[e]=n[e]}return t.addToHistory=e.getMeta(`addToHistory`)!==!1,t.isChangeOrigin=n!==void 0&&!!n.isChangeOrigin,t.isUndoRedoOperation=n!==void 0&&!!n.isChangeOrigin&&!!n.isUndoRedoOperation,s.prosemirrorView!==null&&n!==void 0&&(n.snapshot!=null||n.prevSnapshot!=null)&&Dn(0,()=>{s.prosemirrorView!=null&&(n.restore==null?s._renderSnapshot(n.snapshot,n.prevSnapshot,t):(s._renderSnapshot(n.snapshot,n.snapshot,t),delete t.restore,delete t.snapshot,delete t.prevSnapshot,s.mux(()=>{s._prosemirrorChanged(s.prosemirrorView.state.doc)})))}),t}},view:e=>(s.initView(e),a??s._forceRerender(),i(),{update:()=>{let t=c.getState(e.state);if(t.snapshot==null&&t.prevSnapshot==null&&(o||e.state.doc.content.findDiffStart(e.state.doc.type.createAndFill().content)!==null)){if(o=!0,t.addToHistory===!1&&!t.isChangeOrigin){let t=jp.getState(e.state),n=t&&t.undoManager;n&&n.stopCapturing()}s.mux(()=>{t.doc.transact(n=>{n.meta.set(`addToHistory`,t.addToHistory),s._prosemirrorChanged(e.state.doc)},Ap)})}},destroy:()=>{s.destroy()}})});return c},Bp=(e,t,n)=>{if(t!==null&&t.anchor!==null&&t.head!==null)if(t.type===`all`)e.setSelection(new Et(e.doc));else if(t.type===`node`){let r=vm(n.doc,n.type,t.anchor,n.mapping);e.setSelection(Vp(e,r))}else{let r=vm(n.doc,n.type,t.anchor,n.mapping),i=vm(n.doc,n.type,t.head,n.mapping);r!==null&&i!==null&&e.setSelection(Ue.between(e.doc.resolve(r),e.doc.resolve(i)))}},Vp=(e,t)=>{let n=e.doc.resolve(t);return n.nodeAfter?Le.create(e.doc,t):Ue.near(n)},Hp=(e,t)=>({type:t.selection.jsonID,anchor:gm(t.selection.anchor,e.type,e.mapping),head:gm(t.selection.head,e.type,e.mapping)}),Up=class{constructor(e,t=new Map){this.type=e,this.prosemirrorView=null,this.mux=_p(),this.mapping=t,this.isOMark=new Map,this._observeFunction=this._typeChanged.bind(this),this.doc=e.doc,this.beforeTransactionSelection=null,this.beforeAllTransactions=()=>{this.beforeTransactionSelection===null&&this.prosemirrorView!=null&&(this.beforeTransactionSelection=Hp(this,this.prosemirrorView.state))},this.afterAllTransactions=()=>{this.beforeTransactionSelection=null},this._domSelectionInView=null}get _tr(){return this.prosemirrorView.state.tr.setMeta(`addToHistory`,!1)}_isLocalCursorInView(){return this.prosemirrorView.hasFocus()?(vn&&this._domSelectionInView===null&&(Dn(0,()=>{this._domSelectionInView=null}),this._domSelectionInView=this._isDomSelectionInView()),this._domSelectionInView):!1}_isDomSelectionInView(){let e=this.prosemirrorView._root.getSelection();if(e==null||e.anchorNode==null)return!1;let t=this.prosemirrorView._root.createRange();t.setStart(e.anchorNode,e.anchorOffset),t.setEnd(e.focusNode,e.focusOffset),t.getClientRects().length===0&&t.startContainer&&t.collapsed&&t.selectNodeContents(t.startContainer);let n=t.getBoundingClientRect(),r=dr.documentElement;return n.bottom>=0&&n.right>=0&&n.left<=(window.innerWidth||r.clientWidth||0)&&n.top<=(window.innerHeight||r.clientHeight||0)}renderSnapshot(e,t){t||=kn(lr(),new Map),this.prosemirrorView.dispatch(this._tr.setMeta(Ap,{snapshot:e,prevSnapshot:t}))}unrenderSnapshot(){this.mapping.clear(),this.mux(()=>{let e=this.type.toArray().map(e=>Gp(e,this.prosemirrorView.state.schema,this)).filter(e=>e!==null),t=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new Nt(It.from(e),0,0));t.setMeta(Ap,{snapshot:null,prevSnapshot:null}),this.prosemirrorView.dispatch(t)})}_forceRerender(){this.mapping.clear(),this.mux(()=>{let e=this.beforeTransactionSelection===null?this.prosemirrorView.state.selection:null,t=this.type.toArray().map(e=>Gp(e,this.prosemirrorView.state.schema,this)).filter(e=>e!==null),n=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new Nt(It.from(t),0,0));if(e){let t=ar(Vn(e.anchor,0),n.doc.content.size),r=ar(Vn(e.head,0),n.doc.content.size);n.setSelection(Ue.create(n.doc,t,r))}this.prosemirrorView.dispatch(n.setMeta(Ap,{isChangeOrigin:!0,binding:this}))})}_renderSnapshot(e,t,n){let r=this.doc,i=this.type;if(e||=_n(this.doc),e instanceof Uint8Array||t instanceof Uint8Array)if((!(e instanceof Uint8Array)||!(t instanceof Uint8Array))&&En(),r=new Jn({gc:!1}),sr(r,t),t=_n(r),sr(r,e),e=_n(r),i._item===null){let e=Array.from(this.doc.share.keys()).find(e=>this.doc.share.get(e)===this.type);i=r.getXmlFragment(e)}else{let e=r.store.clients.get(i._item.id.client)??[];i=e[qn(e,i._item.id.clock)].content.type}this.mapping.clear(),this.mux(()=>{r.transact(r=>{let a=n.permanentUserData;a&&a.dss.forEach(e=>{wn(r,e,e=>{})});let o=(e,t)=>{let r=e===`added`?a.getUserByClientId(t.client):a.getUserByDeletedId(t);return{user:r,type:e,color:Rp(n.colorMapping,n.colors,r)}},s=Sn(i,new Hn(t.ds,e.sv)).map(n=>!n._item.deleted||Ip(n._item,e)||Ip(n._item,t)?Gp(n,this.prosemirrorView.state.schema,{mapping:new Map,isOMark:new Map},e,t,o):null).filter(e=>e!==null),c=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new Nt(It.from(s),0,0));this.prosemirrorView.dispatch(c.setMeta(Ap,{isChangeOrigin:!0}))},Ap)})}_typeChanged(e,t){if(this.prosemirrorView==null)return;let n=Ap.getState(this.prosemirrorView.state);if(e.length===0||n.snapshot!=null||n.prevSnapshot!=null){this.renderSnapshot(n.snapshot,n.prevSnapshot);return}this.mux(()=>{let e=(e,t)=>this.mapping.delete(t);wn(t,t.deleteSet,e=>{if(e.constructor===or){let t=e.content.type;t&&this.mapping.delete(t)}}),t.changed.forEach(e),t.changedParentTypes.forEach(e);let n=this.type.toArray().map(e=>Wp(e,this.prosemirrorView.state.schema,this)).filter(e=>e!==null),r=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new Nt(It.from(n),0,0));Bp(r,this.beforeTransactionSelection,this),r=r.setMeta(Ap,{isChangeOrigin:!0,isUndoRedoOperation:t.origin instanceof $n}),this.beforeTransactionSelection!==null&&this._isLocalCursorInView()&&r.scrollIntoView(),this.prosemirrorView.dispatch(r)})}_prosemirrorChanged(e){this.doc.transact(()=>{lm(this.doc,this.type,e,this),this.beforeTransactionSelection=Hp(this,this.prosemirrorView.state)},Ap)}initView(e){this.prosemirrorView!=null&&this.destroy(),this.prosemirrorView=e,this.doc.on(`beforeAllTransactions`,this.beforeAllTransactions),this.doc.on(`afterAllTransactions`,this.afterAllTransactions),this.type.observeDeep(this._observeFunction)}destroy(){this.prosemirrorView!=null&&(this.prosemirrorView=null,this.type.unobserveDeep(this._observeFunction),this.doc.off(`beforeAllTransactions`,this.beforeAllTransactions),this.doc.off(`afterAllTransactions`,this.afterAllTransactions))}},Wp=(e,t,n,r,i,a)=>{let o=n.mapping.get(e);if(o===void 0){if(e instanceof Wn)return Gp(e,t,n,r,i,a);throw Pn()}return o},Gp=(e,t,n,r,i,a)=>{let o=[],s=e=>{if(e instanceof Wn){let s=Wp(e,t,n,r,i,a);s!==null&&o.push(s)}else{let s=e._item.right?.content?.type;s instanceof Yn&&!s._item.deleted&&s._item.id.client===s.doc.clientID&&(e.applyDelta([{retain:e.length},...s.toDelta()]),s.doc.transact(e=>{s._item.delete(e)}));let c=Kp(e,t,n,r,i,a);c!==null&&c.forEach(e=>{e!==null&&o.push(e)})}};r===void 0||i===void 0?e.toArray().forEach(s):Sn(e,new Hn(i.ds,r.sv)).forEach(s);try{let s=e.getAttributes(r);r!==void 0&&(Ip(e._item,r)?Ip(e._item,i)||(s.ychange=a?a(`added`,e._item.id):{type:`added`}):s.ychange=a?a(`removed`,e._item.id):{type:`removed`});let c=t.node(e.nodeName,s,o);return n.mapping.set(e,c),c}catch(r){console.warn(`[y-prosemirror] schema.node(`+e.nodeName+`) threw:`,String(r&&r.message||r));let i=globalThis.__okYpsCounters=globalThis.__okYpsCounters||{block:0,inline:0};if(t.nodes[e.nodeName]&&t.nodes[e.nodeName].spec&&t.nodes[e.nodeName].spec.inline)i.inline++;else if(i.block++,t.nodes.rawMdxFallback)try{let i=t.node(`rawMdxFallback`,{reason:String(r&&r.message||r)},[t.text(e.nodeName)]);return n.mapping.set(e,i),i}catch(e){console.warn(`[y-prosemirror] rawMdxFallback substitution also failed:`,String(e&&e.message||e))}return n.mapping.delete(e),null}},Kp=(e,t,n,r,i,a)=>{let o=[],s=e.toDelta(r,i,a);try{for(let e=0;e<s.length;e++){let n=s[e];o.push(t.text(n.insert,sm(n.attributes,t)))}}catch(e){console.warn(`[y-prosemirror] schema.text() threw:`,String(e&&e.message||e));let t=globalThis.__okYpsCounters=globalThis.__okYpsCounters||{block:0,inline:0};return t.inline++,null}return o},qp=(e,t)=>{let n=new Un,r=e.map(e=>({insert:e.text,attributes:cm(e.marks,t)}));return n.applyDelta(r),t.mapping.set(n,e),n},Jp=(e,t)=>{let n=new Wn(e.type.name);for(let t in e.attrs){let r=e.attrs[t];r!==null&&t!==`ychange`&&n.setAttribute(t,r)}return n.insert(0,Qp(e).map(e=>Yp(e,t))),t.mapping.set(n,e),n},Yp=(e,t)=>e instanceof Array?qp(e,t):Jp(e,t),Xp=e=>typeof e==`object`&&!!e,Zp=(e,t)=>{let n=Object.keys(e).filter(t=>e[t]!==null),r=n.length===Object.keys(t).filter(e=>t[e]!==null).length;for(let i=0;i<n.length&&r;i++){let a=n[i],o=e[a],s=t[a];r=a===`ychange`||o===s||Xp(o)&&Xp(s)&&Zp(o,s)}return r},Qp=e=>{let t=e.content.content,n=[];for(let e=0;e<t.length;e++){let r=t[e];if(r.isText){let r=[];for(let n=t[e];e<t.length&&n.isText;n=t[++e])r.push(n);e--,n.push(r)}else n.push(r)}return n},$p=(e,t)=>{let n=e.toDelta();return n.length===t.length&&n.every((e,n)=>e.insert===t[n].text&&er(e.attributes||{}).length===t[n].marks.length&&xn(e.attributes,(e,r)=>{let i=om(r),a=t[n].marks;return a.find(e=>e.type.name===i)?Zp(e,a.find(e=>e.type.name===i)?.attrs):!1}))},em=(e,t)=>{if(e instanceof Wn&&!(t instanceof Array)&&um(e,t)){let n=Qp(t);return e._length===n.length&&Zp(e.getAttributes(),t.attrs)&&e.toArray().every((e,t)=>em(e,n[t]))}return e instanceof Un&&t instanceof Array&&$p(e,t)},tm=(e,t)=>e===t||e instanceof Array&&t instanceof Array&&e.length===t.length&&e.every((e,n)=>t[n]===e),nm=(e,t,n)=>{let r=e.toArray(),i=Qp(t),a=i.length,o=r.length,s=ar(o,a),c=0,l=0,u=!1;for(;c<s;c++){let e=r[c],t=i[c];if(tm(n.mapping.get(e),t))u=!0;else if(!em(e,t))break}for(;c+l<s;l++){let e=r[o-l-1],t=i[a-l-1];if(tm(n.mapping.get(e),t))u=!0;else if(!em(e,t))break}return{equalityFactor:c+l,foundMappedChild:u}},rm=e=>{let t=``,n=e._start,r={};for(;n!==null;)n.deleted||(n.countable&&n.content instanceof rr?t+=n.content.str:n.content instanceof Zn&&(r[n.content.key]=null)),n=n.right;return{str:t,nAttrs:r}},im=(e,t,n)=>{n.mapping.set(e,t);let{nAttrs:r,str:i}=rm(e),a=t.map(e=>({insert:e.text,attributes:Object.assign({},r,cm(e.marks,n))})),{insert:o,remove:s,index:c}=bp(i,a.map(e=>e.insert).join(``));e.delete(c,s),e.insert(c,o),e.applyDelta(a.map(e=>({retain:e.insert.length,attributes:e.attributes})))},am=/(.*)(--[a-zA-Z0-9+/=]{8})$/,om=e=>am.exec(e)?.[1]??e,sm=(e,t)=>{let n=[];for(let r in e)n.push(t.mark(om(r),e[r]));return n},cm=(e,t)=>{let n={};return e.forEach(e=>{if(e.type.name!==`ychange`){let r=Ln(t.isOMark,e.type,()=>!e.type.excludes(e.type));n[r?`${e.type.name}--${Pp(e.toJSON())}`:e.type.name]=e.attrs}}),n},lm=(e,t,n,r)=>{if(t instanceof Wn&&t.nodeName!==n.type.name)throw Error(`node name mismatch!`);if(r.mapping.set(t,n),t instanceof Wn){let e=t.getAttributes(),r=n.attrs;for(let n in r)r[n]===null?t.removeAttribute(n):e[n]!==r[n]&&n!==`ychange`&&t.setAttribute(n,r[n]);for(let n in e)r[n]===void 0&&t.removeAttribute(n)}let i=Qp(n),a=i.length,o=t.toArray(),s=o.length,c=ar(a,s),l=0,u=0;for(;l<c;l++){let e=o[l],t=i[l];if(!tm(r.mapping.get(e),t))if(em(e,t))r.mapping.set(e,t);else break}for(;u+l+1<c;u++){let e=o[s-u-1],t=i[a-u-1];if(!tm(r.mapping.get(e),t))if(em(e,t))r.mapping.set(e,t);else break}e.transact(()=>{for(;s-l-u>0&&a-l-u>0;){let n=o[l],c=i[l],d=o[s-u-1],f=i[a-u-1];if(n instanceof Un&&c instanceof Array)$p(n,c)||im(n,c,r),l+=1;else{let i=n instanceof Wn&&um(n,c),a=d instanceof Wn&&um(d,f);if(i&&a){let e=nm(n,c,r),t=nm(d,f,r);e.foundMappedChild&&!t.foundMappedChild?a=!1:!e.foundMappedChild&&t.foundMappedChild||e.equalityFactor<t.equalityFactor?i=!1:a=!1}i?(lm(e,n,c,r),l+=1):a?(lm(e,d,f,r),u+=1):(r.mapping.delete(t.get(l)),t.delete(l,1),t.insert(l,[Yp(c,r)]),l+=1)}}let n=s-l-u;if(s===1&&a===0&&o[0]instanceof Un?(r.mapping.delete(o[0]),o[0].delete(0,o[0].length)):n>0&&(t.slice(l,l+n).forEach(e=>r.mapping.delete(e)),t.delete(l,n)),l+u<a){let e=[];for(let t=l;t<a-u;t++)e.push(Yp(i[t],r));t.insert(l,e)}},Ap)},um=(e,t)=>!(t instanceof Array)&&e.nodeName===t.type.name,dm=null,fm=class{constructor(e,t,n){this.view=e,this.key=t,this.value=n}apply(){let e=Ap.getState(this.view.state);if(e&&e.binding&&!e.binding.isDestroyed){let e=this.view.state.tr;e.setMeta(this.key,this.value),this.view.dispatch(e)}}},pm=class e{constructor(e=[]){this.entries=e}getFirst(){return this.entries[0]}dequeueFirst(){return this.entries.shift()}isEmpty(){return this.entries.length===0}static fromViewsToUpdate(){let t=dm;dm=null;let n=[];return t.forEach((e,t)=>{e.forEach((e,r)=>{n.push(new fm(t,r,e))})}),new e(n)}},mm=(e=pm.fromViewsToUpdate(),t=!1)=>{let n=!0;for(;!e.isEmpty();){let r=e.getFirst();try{r.apply()}catch(r){if(r instanceof RangeError){t&&n&&e.dequeueFirst(),e.isEmpty()||Dn(0,()=>mm(e,!0));return}throw r}n=!1,e.dequeueFirst()}},hm=(e,t,n)=>{dm||(dm=new Map,Dn(0,mm)),Ln(dm,e,Gn).set(t,n)},gm=(e,t,n)=>{if(e===0)return cr(t,0,-1);let r=t._first===null?null:t._first.content.type;for(;r!==null&&t!==r;){if(r instanceof Un){if(r._length>=e)return cr(r,e,-1);if(e-=r._length,r._item!==null&&r._item.next!==null)r=r._item.next.content.type;else{do r=r._item===null?null:r._item.parent,e--;while(r!==t&&r!==null&&r._item!==null&&r._item.next===null);r!==null&&r!==t&&(r=r._item===null?null:r._item.next.content.type)}}else{let i=(n.get(r)||{nodeSize:0}).nodeSize;if(r._first!==null&&e<i)r=r._first.content.type,e--;else{if(e===1&&r._length===0&&i>1)return new Bn(r._item===null?null:r._item.id,r._item===null?pn(r):null,null);if(e-=i,r._item!==null&&r._item.next!==null)r=r._item.next.content.type;else{if(e===0)return r=r._item===null?r:r._item.parent,new Bn(r._item===null?null:r._item.id,r._item===null?pn(r):null,null);do r=r._item.parent,e--;while(r!==t&&r._item.next===null);r!==t&&(r=r._item.next.content.type)}}}if(r===null)throw En();if(e===0&&r.constructor!==Un&&r!==t)return _m(r._item.parent,r._item)}return cr(t,t._length,-1)},_m=(e,t)=>{let n=null,r=null;return e._item===null?r=pn(e):n=On(e._item.id.client,e._item.id.clock),new Bn(n,r,t.id)},vm=(e,t,n,r)=>{let i=Rn(n,e);if(i===null||i.type!==t&&!Cn(t,i.type._item))return null;let a=i.type,o=0;if(a.constructor===Un)o=i.index;else if(a._item===null||!a._item.deleted){let e=a._first,t=0;for(;t<a._length&&t<i.index&&e!==null;){if(!e.deleted){let n=e.content.type;t++,n instanceof Un?o+=n._length:o+=r.get(n).nodeSize}e=e.right}o+=1}for(;a!==t&&a._item!==null;){let e=a._item.parent;if(e._item===null||!e._item.deleted){o+=1;let t=e._first;for(;t!==null;){let e=t.content.type;if(e===a)break;t.deleted||(e instanceof Un?o+=e._length:o+=r.get(e).nodeSize),t=t.right}}a=e}return o-1},ym=(e,t)=>{let n=Fp(),r=e.toArray().map(e=>Gp(e,t,n)).filter(e=>e!==null);return{doc:t.topNodeType.create(null,It.fromArray(r)),meta:n,mapping:n.mapping}},bm=(e,t,n)=>e!==t,xm=e=>{let t=document.createElement(`span`);t.classList.add(`ProseMirror-yjs-cursor`),t.setAttribute(`style`,`border-color: ${e.color}`);let n=document.createElement(`div`);n.setAttribute(`style`,`background-color: ${e.color}`),n.insertBefore(document.createTextNode(e.name),null);let r=document.createTextNode(`⁠`),i=document.createTextNode(`⁠`);return t.insertBefore(r,null),t.insertBefore(n,null),t.insertBefore(i,null),t},Sm=e=>({style:`background-color: ${e.color}70`,class:`ProseMirror-yjs-selection`}),Cm=/^#[0-9a-fA-F]{6}$/,wm=(e,t,n,r,i)=>{let a=Ap.getState(e);if(a==null||a.doc==null||a.binding==null)return Pe.create(e.doc,[]);let o=a.doc,s=[];return a.snapshot!=null||a.prevSnapshot!=null||a.binding.mapping.size===0?Pe.create(e.doc,[]):(t.getStates().forEach((t,c)=>{if(n(o.clientID,c,t)&&t.cursor!=null){let n=t.user||{};n.color==null?n.color=`#ffa500`:Cm.test(n.color)||console.warn(`A user uses an unsupported color format`,n),n.name??=`User: ${c}`;let l=vm(o,a.type,mn(t.cursor.anchor),a.binding.mapping),u=vm(o,a.type,mn(t.cursor.head),a.binding.mapping);if(l!==null&&u!==null){let t=Vn(e.doc.content.size-1,0);l=ar(l,t),u=ar(u,t),s.push(yt.widget(u,()=>r(n,c),{key:c+``,side:10}));let a=ar(l,u),o=Vn(l,u);s.push(yt.inline(a,o,i(n,c),{inclusiveEnd:!0,inclusiveStart:!1}))}}}),Pe.create(e.doc,s))},Tm=(e,{awarenessStateFilter:t=bm,cursorBuilder:n=xm,selectionBuilder:r=Sm,getSelection:i=e=>e.selection}={},a=`cursor`)=>new Ve({key:Mp,state:{init(i,a){return wm(a,e,t,n,r)},apply(i,a,o,s){let c=Ap.getState(s),l=i.getMeta(Mp);return c&&c.isChangeOrigin||l&&l.awarenessUpdated?wm(s,e,t,n,r):a.map(i.mapping,i.doc)}},props:{decorations:e=>Mp.getState(e)},view:t=>{let n=()=>{t.docView&&hm(t,Mp,{awarenessUpdated:!0})},r=()=>{let n=Ap.getState(t.state),r=e.getLocalState()||{};if(t.hasFocus()){let o=i(t.state),s=gm(o.anchor,n.type,n.binding.mapping),c=gm(o.head,n.type,n.binding.mapping);(r.cursor==null||!ur(mn(r.cursor.anchor),s)||!ur(mn(r.cursor.head),c))&&e.setLocalStateField(a,{anchor:s,head:c})}else r.cursor!=null&&vm(n.doc,n.type,mn(r.cursor.anchor),n.binding.mapping)!==null&&e.setLocalStateField(a,null)};return e.on(`change`,n),t.dom.addEventListener(`focusin`,r),t.dom.addEventListener(`focusout`,r),{update:r,destroy:()=>{t.dom.removeEventListener(`focusin`,r),t.dom.removeEventListener(`focusout`,r),e.off(`change`,n),e.setLocalStateField(a,null)}}}}),Em=e=>{let t=jp.getState(e).undoManager;if(t!=null)return t.undo(),!0},Dm=e=>{let t=jp.getState(e).undoManager;if(t!=null)return t.redo(),!0},Om=new Set([`paragraph`]),km=(e,t)=>!(e instanceof or)||!(e.content instanceof zn)||!(e.content.type instanceof Yn||e.content.type instanceof Wn&&t.has(e.content.type.nodeName))||e.content.type._length===0,Am=({protectedNodes:e=Om,trackedOrigins:t=[],undoManager:n=null}={})=>new Ve({key:jp,state:{init:(r,i)=>{let a=Ap.getState(i),o=n||new $n(a.type,{trackedOrigins:new Set([Ap].concat(t)),deleteFilter:t=>km(t,e),captureTransaction:e=>e.meta.get(`addToHistory`)!==!1});return{undoManager:o,prevSel:null,hasUndoOps:o.undoStack.length>0,hasRedoOps:o.redoStack.length>0}},apply:(e,t,n,r)=>{let i=Ap.getState(r).binding,a=t.undoManager,o=a.undoStack.length>0,s=a.redoStack.length>0;return i?{undoManager:a,prevSel:Hp(i,n),hasUndoOps:o,hasRedoOps:s}:o!==t.hasUndoOps||s!==t.hasRedoOps?Object.assign({},t,{hasUndoOps:a.undoStack.length>0,hasRedoOps:a.redoStack.length>0}):t}},view:e=>{let t=Ap.getState(e.state),n=jp.getState(e.state).undoManager;return n.on(`stack-item-added`,({stackItem:n})=>{let r=t.binding;r&&n.meta.set(r,jp.getState(e.state).prevSel)}),n.on(`stack-item-popped`,({stackItem:e})=>{let n=t.binding;n&&(n.beforeTransactionSelection=e.meta.get(n)||n.beforeTransactionSelection)}),{destroy:()=>{n.destroy()}}}}),jm=new Map;function Mm(e){return jm.get(e)}function Nm(e,t){jm.set(e,t)}function Pm(e){jm.delete(e)}var Fm=`open-knowledge-app`,Im=new Map,Lm=new Set,Rm=1024,zm=1024;function Bm(){return Bt.getTracer(Fm)}function Vm(e,t,n){if(Lm.has(e))return null;let r=Im.get(e);if(r)return r;if(Im.size>=zm){let e=Im.keys().next().value;if(e!==void 0){let t=Im.get(e);Im.delete(e);try{t?.span.end()}catch(e){console.warn(`[otel-spans] eviction span.end failed:`,e instanceof Error?e:String(e))}}}let i={span:Bm().startSpan(`ok.cold-mount`,{attributes:{"mount.id":e,...t},startTime:n}),startTimeMs:n};return Im.set(e,i),i}function Hm(e,t,n,r,i){try{let a=Vm(e,n,r),o=a?Bt.setSpan(Vt.active(),a.span):Vt.active();Bm().startSpan(t,{attributes:{"mount.id":e,...n},startTime:r},o).end(i??Date.now())}catch(e){console.warn(`[otel-spans] emitColdMountChild failed:`,e instanceof Error?e:String(e))}}function Um(e,t){try{let n=Im.get(e);if(n&&(Im.delete(e),n.span.end(t??Date.now())),!Lm.has(e)){if(Lm.size>=Rm){let e=Lm.values().next().value;e!==void 0&&Lm.delete(e)}Lm.add(e)}}catch(e){console.warn(`[otel-spans] finalizeColdMountSpan failed:`,e instanceof Error?e:String(e))}}var Wm=class extends Error{docName;constructor(e){super(`Mount aborted for "${e}"`),this.name=`MountAbortError`,this.docName=e}};function Gm(){return ji(`MOUNT_STALLED_THRESHOLD_MS`,1e4)}function Km(e){e.stalledHandle!==null&&(clearTimeout(e.stalledHandle),e.stalledHandle=null)}function qm(e,t,n){if(e.stalledMarkEmitted)return;e.stalledMarkEmitted=!0;let r=n-e.createdAt;Y(`ok/mount/stalled`,{docName:t,mountId:e.mountId,elapsedMs:r})}var Jm=new Map,Ym=new Set;function Xm(e){Ym.add(e);for(let[t,n]of Jm)if(n.stalledMarkEmitted&&!n.settled)try{e(t,n.mountId)}catch{}return()=>{Ym.delete(e)}}function Zm(e,t){for(let n of Ym)try{n(e,t.mountId)}catch{}}var Qm=!1;function $m(){typeof document>`u`||document.visibilityState===`visible`&&nh(Date.now())}function eh(){Qm||typeof document>`u`||typeof document.addEventListener==`function`&&(document.addEventListener(`visibilitychange`,$m),Qm=!0)}function th(){Qm&&(typeof document>`u`||typeof document.removeEventListener==`function`&&(document.removeEventListener(`visibilitychange`,$m),Qm=!1))}function nh(e){let t=Gm();for(let[n,r]of Jm)r.settled||r.stalledMarkEmitted||e-r.createdAt<t||(qm(r,n,e),Zm(n,r))}function rh(e){let{docName:t,mountId:n,construct:r,sizeStats:i}=e,a=Jm.get(t);if(a)return a.promise;let o=new AbortController,s=Date.now(),c=()=>{},l=()=>{},u=new Promise((e,t)=>{c=e,l=t}),d={promise:u,rejectFn:l,controller:o,mountId:n,createdAt:s,settled:!1,resolved:!1,preMountEditor:null,stalledHandle:null,stalledMarkEmitted:!1};return d.stalledHandle=setTimeout(()=>{d.settled||(qm(d,t,Date.now()),Zm(t,d))},Gm()),o.signal.addEventListener(`abort`,()=>{d.settled||(d.settled=!0,Km(d),d.preMountEditor&&=(sh(t,d.preMountEditor,`aborted`),null),Jm.delete(t),Jm.size===0&&th(),Y(`ok/mount/reject`,{docName:t,mountId:d.mountId,reason:`aborted`}),l(new Wm(t)),Um(d.mountId))}),Jm.set(t,d),eh(),Y(`ok/mount/create`,{docName:t,mountId:d.mountId}),ch({docName:t,construct:r,sizeStats:i,entry:d,resolveFn:c,rejectFn:l}).catch(e=>{if(d.preMountEditor&&=(sh(t,d.preMountEditor,`backstop`),null),d.settled){Y(`ok/mount/post-settle-throw`,{docName:t,mountId:d.mountId,message:e instanceof Error?e.message:String(e)});return}d.settled=!0,Km(d);let n=e instanceof Error?e:Error(String(e));Y(`ok/mount/reject`,{docName:t,mountId:d.mountId,reason:`unhandled-body-throw`,message:n.message}),l(n),Um(d.mountId)}),u}function ih(e){return Jm.get(e)?.resolved===!0}function ah(e){return Jm.get(e)?.controller??null}function oh(e){let t=Jm.get(e);t&&(t.settled=!0,Km(t),t.preMountEditor&&=(sh(e,t.preMountEditor,`aborted`),null),Jm.delete(e),Jm.size===0&&th(),Y(`ok/mount/invalidate`,{docName:e,mountId:t.mountId}),Um(t.mountId),t.controller.abort())}function sh(e,t,n){let r=lh(t);try{t.destroy()}catch(t){Y(`ok/mount/destroy-failed`,{docName:e,stage:n,message:t instanceof Error?t.message:String(t)})}r&&(r.restore=void 0)}async function ch(e){let{docName:t,construct:n,sizeStats:r,entry:i,resolveFn:a,rejectFn:o}=e,s=document.createElement(`div`);if(Uh(t)!==void 0){let e=Dh({docName:t,container:s,factory:()=>{throw Error(`mount-promise: V2 cache contract violation — factory invoked on HIT for "${t}"`)}});i.settled=!0,i.resolved=!0,Km(i),a(e);return}if(await scheduler.yield(),i.controller.signal.aborted)return;let c=null;try{c=n()}catch(e){i.settled=!0,Km(i);let n=e instanceof Error?e:Error(String(e));Y(`ok/mount/reject`,{docName:t,mountId:i.mountId,reason:`construct-failed`,message:n.message}),o(n),Um(i.mountId);return}if(i.preMountEditor=c.editor,await scheduler.yield(),i.controller.signal.aborted){i.preMountEditor=null;return}try{c.editor.mount(s)}catch(e){sh(t,c.editor,`mount-failed`),i.preMountEditor=null,i.settled=!0,Km(i);let n=e instanceof Error?e:Error(String(e));Y(`ok/mount/reject`,{docName:t,mountId:i.mountId,reason:`mount-failed`,message:n.message}),o(n),Um(i.mountId);return}let l;try{l=Dh({docName:t,container:s,sizeStats:r,factory:()=>c})}catch(e){sh(t,c.editor,`v2-register-failed`),i.preMountEditor=null,i.settled=!0,Km(i);let n=e instanceof Error?e:Error(String(e));Y(`ok/mount/reject`,{docName:t,mountId:i.mountId,reason:`v2-register-failed`,message:n.message}),o(n),Um(i.mountId);return}i.preMountEditor=null,i.settled=!0,i.resolved=!0,Km(i);let u=Date.now()-i.createdAt;Y(`ok/mount/resolve`,{docName:t,mountId:i.mountId,elapsedMs:u}),Y.histogram(`ok/mount/resolve-elapsed-ms`,{docName:t,mountId:i.mountId},u),a(l);let d=Date.now();Hm(i.mountId,`ok.mount-promise`,{"doc.name":t,elapsed_ms:u},i.createdAt,d),Um(i.mountId,d)}function lh(e){try{let t=e.state;return jp.getState(t)?.undoManager??null}catch(e){return Y(`ok/cache/undo-manager-read-failed`,{message:e instanceof Error?e.message:String(e)}),null}}var uh=ji(`MAX_CACHE`,10),dh=ji(`VIEW_COUNT_CACHE_THRESHOLD`,50),fh=ji(`BYTES_CACHE_THRESHOLD`,8e6);function ph(e){return!(e.viewCount>0&&e.viewCount>=dh||e.bytes>fh)}var mh=new Map,hh=new Map,gh=new Map;function _h(e,t){if(gh.size>=uh){let e=gh.keys().next().value;e!==void 0&&gh.delete(e)}gh.set(e,t),Y(`ok/cache/snapshot-stored`,{toDocName:e,htmlBytes:t.html.length,hasScroll:t.scrollTop>0,hasSelection:t.selection!==null})}function vh(e){return gh.get(e)??null}function yh(e){if(!gh.has(e))return;let t=gh.get(e)??null;gh.delete(e),Y(`ok/cache/snapshot-consumed`,{docName:e,hit:t!==null,hasScroll:t!==null&&t.scrollTop>0,hasSelection:t!==null&&t.selection!==null})}function bh(){try{return typeof document>`u`?0:document.querySelector(`[data-testid="editor-scroll-container"]`)?.scrollTop??0}catch(e){return Y(`ok/cache/snapshot-scroll-read-failed`,{message:e instanceof Error?e.message:String(e)}),0}}function xh(e){try{let t=e.state.selection;return t instanceof Ue?{type:`text`,anchor:t.anchor,head:t.head}:t instanceof Le?{type:`node`,from:t.from}:null}catch(e){return Y(`ok/cache/snapshot-selection-read-failed`,{message:e instanceof Error?e.message:String(e)}),null}}function Sh(e){for(let t of e)try{let e=Uh(t.fromDocName);if(e&&!e.editor.isDestroyed){if(e.ytext.length===0){Y(`ok/cache/snapshot-skipped-empty`,{fromDocName:t.fromDocName});continue}_h(t.toDocName,{html:e.editor.getHTML(),scrollTop:bh(),selection:xh(e.editor)})}else Y(`ok/cache/snapshot-skipped`,{fromDocName:t.fromDocName})}catch(e){Y(`ok/cache/snapshot-capture-failed`,{fromDocName:t.fromDocName,message:e instanceof Error?e.message:String(e)})}}var Ch=[],wh=[],Th=new Set;function Eh(){if(typeof document>`u`)return null;let e=document.createElement(`div`);return e.setAttribute(`data-ok-editor-parking`,``),e.style.display=`none`,e.style.position=`absolute`,e.style.left=`-99999px`,e}function Dh(e){let{docName:t,container:n,factory:r,sizeStats:i}=e;if(i&&!ph(i)){let e=r(n);return Y(`ok/cache/miss`,{docName:t,mountId:Mm(t),viewCount:i?.viewCount??-1,bytes:i?.bytes??-1,reason:`size-gate`}),{editor:e.editor,ydoc:e.ydoc,ytext:e.ytext,provider:e.provider,scrollTop:0,hadFocus:!1,activeMountKey:t,parkingNode:null,__uncached:!0}}let a=mh.get(t);if(a){if(Y(`ok/cache/reparent-start`,{docName:t,mountId:Mm(t),kind:`tiptap`,viewCount:i?.viewCount??-1,bytes:i?.bytes??-1}),Fh(a,n),a.activeMountKey=t,Lh(Ch,t),n.scrollTop=a.scrollTop,a.hadFocus)try{a.editor.commands.focus()}catch{}return Y(`ok/cache/reparent-end`,{docName:t,mountId:Mm(t),kind:`tiptap`,viewCount:i?.viewCount??-1,bytes:i?.bytes??-1}),Y(`ok/cache/hit`,{docName:t,mountId:Mm(t),kind:`tiptap`}),i&&Y(`ok/cold/editor-mount-stats`,{docName:t,mountId:Mm(t),viewCount:i.viewCount,bytes:i.bytes,cacheHit:!0,kind:`tiptap`}),a}for(;mh.size>=uh;){let e=Rh(Ch,t);if(!e)break;kh(e)}let o=r(n),s={editor:o.editor,ydoc:o.ydoc,ytext:o.ytext,provider:o.provider,scrollTop:0,hadFocus:!1,activeMountKey:t,parkingNode:null};return mh.set(t,s),Lh(Ch,t),Y(`ok/cache/miss`,{docName:t,mountId:Mm(t),viewCount:i?.viewCount??-1,bytes:i?.bytes??-1,reason:`cold`,kind:`tiptap`}),i&&Y(`ok/cold/editor-mount-stats`,{docName:t,mountId:Mm(t),viewCount:i.viewCount,bytes:i.bytes,cacheHit:!1,kind:`tiptap`}),s}function Oh(e){let t=e.activeMountKey;if(e.__uncached){t&&oh(t);let n=lh(e.editor);try{e.editor.destroy()}catch(e){Y(`ok/cache/park-destroy-failed`,{docName:t??``,kind:`tiptap`,message:e instanceof Error?e.message:String(e)})}n&&(n.restore=void 0),e.activeMountKey=null;return}let n=Nh(e.editor);if(n){e.hadFocus=Ph(n.dom),e.scrollTop=(n.scrollDOM??n.dom.parentElement??n.dom).scrollTop??0;let t=n.dom.parentElement;t&&t.removeChild(n.dom),e.parkingNode||=Eh(),e.parkingNode&&e.parkingNode.appendChild(n.dom)}e.activeMountKey=null}function kh(e){oh(e);let t=mh.get(e);if(!t)return!1;let n=lh(t.editor);try{t.editor.destroy()}catch(t){Y(`ok/cache/evict-failed`,{docName:e,kind:`tiptap`,stage:`editor`,message:t instanceof Error?t.message:String(t)})}n&&(n.restore=void 0);try{t.provider.destroy()}catch(t){Y(`ok/cache/evict-failed`,{docName:e,kind:`tiptap`,stage:`provider`,message:t instanceof Error?t.message:String(t)})}try{t.ydoc.destroy()}catch(t){Y(`ok/cache/evict-failed`,{docName:e,kind:`tiptap`,stage:`ydoc`,message:t instanceof Error?t.message:String(t)})}mh.delete(e);let r=Ch.indexOf(e);return r!==-1&&Ch.splice(r,1),Y(`ok/cache/evict`,{docName:e,kind:`tiptap`}),!0}function Ah(e){let{docName:t,container:n,factory:r,sizeStats:i}=e;if(i&&!ph(i)){let e=r(n);return Y(`ok/cache/miss`,{docName:t,mountId:Mm(t),viewCount:i?.viewCount??-1,bytes:i?.bytes??-1,reason:`size-gate`,kind:`cm`}),{view:e.view,ydoc:e.ydoc,ytext:e.ytext,provider:e.provider,themeCompartment:e.themeCompartment,wordWrapCompartment:e.wordWrapCompartment,placeholderCompartment:e.placeholderCompartment,scrollTop:0,hadFocus:!1,activeMountKey:t,parkingNode:null,__uncached:!0}}let a=hh.get(t);if(a){if(Y(`ok/cache/reparent-start`,{docName:t,mountId:Mm(t),kind:`cm`,viewCount:i?.viewCount??-1,bytes:i?.bytes??-1}),Ih(a,n),a.activeMountKey=t,Lh(wh,t),n.scrollTop=a.scrollTop,a.hadFocus)try{a.view.focus()}catch{}return Y(`ok/cache/reparent-end`,{docName:t,mountId:Mm(t),kind:`cm`,viewCount:i?.viewCount??-1,bytes:i?.bytes??-1}),Y(`ok/cache/hit`,{docName:t,mountId:Mm(t),kind:`cm`}),i&&Y(`ok/cold/editor-mount-stats`,{docName:t,mountId:Mm(t),viewCount:i.viewCount,bytes:i.bytes,cacheHit:!0,kind:`cm`}),a}for(;hh.size>=uh;){let e=Rh(wh,t);if(!e)break;Mh(e)}let o=r(n),s={view:o.view,ydoc:o.ydoc,ytext:o.ytext,provider:o.provider,themeCompartment:o.themeCompartment,wordWrapCompartment:o.wordWrapCompartment,placeholderCompartment:o.placeholderCompartment,scrollTop:0,hadFocus:!1,activeMountKey:t,parkingNode:null};return hh.set(t,s),Lh(wh,t),Y(`ok/cache/miss`,{docName:t,mountId:Mm(t),viewCount:i?.viewCount??-1,bytes:i?.bytes??-1,reason:`cold`,kind:`cm`}),i&&Y(`ok/cold/editor-mount-stats`,{docName:t,mountId:Mm(t),viewCount:i.viewCount,bytes:i.bytes,cacheHit:!1,kind:`cm`}),s}function jh(e){if(e.__uncached){try{e.view.destroy()}catch(t){Y(`ok/cache/park-destroy-failed`,{docName:e.activeMountKey??``,kind:`cm`,message:t instanceof Error?t.message:String(t)})}e.activeMountKey=null;return}let t=e.view.dom;e.hadFocus=Ph(t),e.scrollTop=(e.view.scrollDOM??t).scrollTop??0;let n=t.parentElement;n&&n.removeChild(t),e.parkingNode||=Eh(),e.parkingNode&&e.parkingNode.appendChild(t),e.activeMountKey=null}function Mh(e){let t=hh.get(e);if(!t)return!1;try{t.view.destroy()}catch(t){Y(`ok/cache/evict-failed`,{docName:e,kind:`cm`,stage:`view`,message:t instanceof Error?t.message:String(t)})}try{t.provider.destroy()}catch(t){Y(`ok/cache/evict-failed`,{docName:e,kind:`cm`,stage:`provider`,message:t instanceof Error?t.message:String(t)})}try{t.ydoc.destroy()}catch(t){Y(`ok/cache/evict-failed`,{docName:e,kind:`cm`,stage:`ydoc`,message:t instanceof Error?t.message:String(t)})}hh.delete(e);let n=wh.indexOf(e);return n!==-1&&wh.splice(n,1),Y(`ok/cache/evict`,{docName:e,kind:`cm`}),!0}function Nh(e){return e.editorView??null}function Ph(e){if(typeof document>`u`)return!1;let t=document.activeElement;return t?t===e?!0:e.contains(t):!1}function Fh(e,t){let n=Nh(e.editor);if(!n)return;let r=n.dom,i=r.parentElement;i&&i!==t&&i.removeChild(r),r.parentElement!==t&&t.appendChild(r)}function Ih(e,t){let n=e.view.dom,r=n.parentElement;r&&r!==t&&r.removeChild(n),n.parentElement!==t&&t.appendChild(n)}function Lh(e,t){let n=e.indexOf(t);n!==-1&&e.splice(n,1),e.push(t)}function Rh(e,t){for(let n of e)if(n!==t&&!Th.has(n))return n;Y(`ok/cache/evict-fallback-activity-saturated`,{mountingDocName:t,lruLength:e.length,activityMountCount:Th.size});for(let n of e)if(n!==t)return n;return null}function zh(e){let t=Th,n=new Set(e);for(let e of t){if(n.has(e))continue;let t=Vh(e);if(t)try{t.disconnect(),Y(`ok/cache/disconnect`,{docName:e})}catch(t){Y(`ok/cache/disconnect-failed`,{docName:e,message:t instanceof Error?t.message:String(t)})}}for(let e of n){if(t.has(e))continue;let n=Vh(e);if(!n)continue;let r=t=>{Y(`ok/cache/connect-failed`,{docName:e,message:t instanceof Error?t.message:String(t)})};try{let t=n.connect();t&&typeof t.then==`function`?t.then(()=>Y(`ok/cache/connect`,{docName:e}),e=>r(e)):Y(`ok/cache/connect`,{docName:e})}catch(e){r(e)}}Th=n}var Bh=null;function Vh(e){let t=mh.get(e);if(t)return t.provider;let n=hh.get(e);if(n)return n.provider;if(Bh){let t=Bh.entries.get(e);if(t)return t.provider}return null}function Hh(e){Bh=e;let t=e.onEvict(e=>{kh(e),Mh(e)});return()=>{t(),Bh===e&&(Bh=null)}}function Uh(e){return mh.get(e)}function Wh(e,t){let n=e.replace(/^\/+|\/+$/g,``);return`${ve}${n?`${n}/`:``}${t}`}function Gh(e,t){return`${Re}/${e}/${t}`}function Kh(e){let t=`${Re}/`;if(!e.startsWith(t)||!e.endsWith(`/SKILL`))return null;let n=e.slice(t.length,e.length-6);return n&&!n.includes(`/`)?n:null}function qh(e){return k.includes(e)}var Jh=`ok-editor-tabs-v1:`,Yh=`\0folder:`,Xh=`\0asset:`,Zh=`\0skill-file:`,Qh=`\0doc-tab:`,$h=/\.(md|mdx)$/i;function eg(e){let t=e.lastIndexOf(Qh);return t<0?{baseTabId:e,instanceSuffix:``}:{baseTabId:e.slice(0,t),instanceSuffix:e.slice(t)}}function tg(e){return eg(e).baseTabId}function ng(e){return $h.test(e)?e.replace($h,``):null}function rg(e){if(typeof e!=`string`||e.length===0)return!1;let t=tg(e);return t.startsWith(Yh)?t.length>8:t.startsWith(Xh)?t.length>7:t.startsWith(Zh)?ag(t)!==null:!0}function ig(e){return`${Zh}${e.scope}/${e.name}/${e.path}`}function ag(e){if(!e.startsWith(Zh))return null;let t=e.slice(12).split(`/`);if(t.length<3)return null;let[n,r,...i]=t,a=i.join(`/`);return!n||!r||!a||!qh(n)?null:{scope:n,name:r,path:a}}function og(e){return e}function sg(e){return`${Yh}${e}`}function cg(e){return`${Xh}${e}`}function lg(e,t){let n=Kh(e);if(n){let e=ln(n);return{baseName:e,extension:``,label:e,prefix:``}}let r=e.lastIndexOf(`/`),i=r<0?e:e.slice(r+1),a=`${i}${t}`;return r<0?{baseName:i,extension:t,label:a,prefix:``}:{baseName:i,extension:t,label:a,prefix:`${e.slice(0,r)}/`}}function ug(e){switch(e.kind){case`doc`:case`folder-index`:case`large-file`:return og(e.docName);case`folder`:return sg(e.folderPath);case`missing`:return og(e.target);case`asset`:return cg(e.assetPath);case`skill-file`:return ig(e)}}function dg(e){let t=tg(e);if(t.startsWith(Yh))return{kind:`folder`,folderPath:t.slice(8)};if(t.startsWith(Xh))return{kind:`asset`,assetPath:t.slice(7)};let n=ag(t);return n?{kind:`skill-file`,...n}:{kind:`doc`,docName:t}}function fg(e){let t=dg(e);return t.kind===`doc`?t.docName:null}function pg(e,t){if(!Array.isArray(e)||t<=0)return[];let n=[],r=new Set;for(let i of e)if(rg(i)&&!r.has(i)&&(r.add(i),n.push(i),n.length>=t))break;return n}function mg(e,t){let n=new Set(pg(t,2**53-1));return pg(e,2**53-1).filter(e=>n.has(e))}function hg(e,t,n){if(t<=0)return[];let r=new Set(pg(n,2**53-1)),i=pg(e,2**53-1);if(r.size===0&&i.length<=t)return i;let a=[],o=0;for(let e=i.length-1;e>=0;e--){let n=i[e];if(r.has(n)){a.push(n);continue}o>=t||(o++,a.push(n))}return a.reverse()}function gg(e,t,n){let r=mg(e,n);return!pg(n,2**53-1).includes(t)||r.includes(t)?r:[...r,t]}function _g(e,t){return pg(e,2**53-1).filter(e=>e!==t)}function vg(e,t){let n=new Set(pg(t,2**53-1));return pg(e,2**53-1).filter(e=>!n.has(e))}function yg(e,t,n){let r=pg(e,2**53-1),i=mg(t,r),a=r.indexOf(n);if(a<0)return i;let o=i.includes(n),s=a<i.length;return o===s?i:s?gg(i,n,r):_g(i,n)}function bg(e,t,n,r=[]){let i=hg(e,n,r);return!rg(t)||i.includes(t)?i:hg([...i,t],n,r)}function xg(e,t,n,r,i=[]){let a=hg(e,r,i);if(!rg(n))return a;if(!t||t===n)return bg(a,n,r,i);let o=a.filter(e=>e!==n),s=o.indexOf(t);if(s<0)return bg(o,n,r,i);let c=[...o];return c[s]=n,hg(c,r,i)}function Sg(e,t,n){return Cg(e,og(t),n)}function Cg(e,t,{behavior:n,currentTabId:r,limit:i,pinnedTabIds:a=[]}){let o=hg(e,i,a),s=tg(t);if(r&&o.includes(r)&&tg(r)===s)return{tabs:o,activeTabId:r};let c=o.find(e=>tg(e)===s);return c?{tabs:o,activeTabId:c}:n===`replace-active`?{tabs:xg(o,r,s,i,a),activeTabId:s}:{tabs:bg(o,s,i,a),activeTabId:s}}function wg(e,t){return e.filter(e=>e!==t)}function Tg(e,t,n){let r=pg(t,2**53-1),i=new Set(r),a=new Set(n),o=new Set,s=[];for(let t of e)o.has(t)||!i.has(t)&&!a.has(t)||(o.add(t),s.push(t));for(let e of[...r,...n])o.has(e)||(o.add(e),s.push(e));return s}function Eg(e,{pages:t,folderPaths:n,assetPaths:r,keepMissingDocName:i=null,keepHashDocName:a=null}){return pg(e,2**53-1).filter(e=>{let o=dg(e);return o.kind===`folder`?n.has(o.folderPath):o.kind===`asset`?r.has(o.assetPath):o.kind===`skill-file`?!0:t.has(o.docName)||ye(o.docName)||o.docName===i||o.docName===a})}function Dg(e,t,n,r=[],i=[],a=[]){if(t.length===0&&r.length===0&&a.length===0)return pg(e,n);let o=new Map(t.map(e=>[e.fromDocName,e.toDocName])),s=new Map(a.flatMap(e=>{let t=ng(e.fromPath);return t?[[t,e.toPath]]:[]})),c=new Map(a.flatMap(e=>{let t=ng(e.toPath);return t?[[e.fromPath,t]]:[]})),l=e=>Ag(kg(e,r),a),u=(e,t)=>{let n=o.get(e);if(n)return n;let r=s.get(e);return r?cg(r):t},d=e=>{let t=c.get(e);return t?og(t):cg(l(e))},f=[],p=new Set;for(let t of e){let{instanceSuffix:e}=eg(t),a=dg(t),o=`${a.kind===`doc`?u(a.docName,tg(t)):a.kind===`folder`?sg(kg(a.folderPath,r)):a.kind===`asset`?d(a.assetPath):tg(t)}${e}`;if(!p.has(o)&&(p.add(o),f.push(o),i.length===0&&f.length>=n))break}return i.length===0?f:hg(f,n,i.map(e=>{let t=dg(e);return t.kind===`doc`?u(t.docName,e):t.kind===`folder`?sg(kg(t.folderPath,r)):t.kind===`asset`?d(t.assetPath):tg(e)}))}function Og(e,t,n=[],r=[]){return Dg(e,t,2**53-1,n,[],r)}function kg(e,t){for(let{fromPath:n,toPath:r}of t){if(e===n)return r;if(e.startsWith(`${n}/`))return`${r}${e.slice(n.length)}`}return e}function Ag(e,t){for(let{fromPath:n,toPath:r}of t)if(e===n)return r;return e}function jg(e,t,n){if(t!==n)return t;let r=e.indexOf(n);return r<0?e[0]??null:e[r+1]??e[r-1]??null}function Mg(e,t,n){if(!t)return null;let r=new Set(n);if(!r.has(t))return t;let i=e.indexOf(t);if(i<0)return e.find(e=>!r.has(e))??null;for(let t=i+1;t<e.length;t++)if(!r.has(e[t]))return e[t];for(let t=i-1;t>=0;t--)if(!r.has(e[t]))return e[t];return null}function Ng(e,t){if(typeof e!=`object`||!e)return{openTabs:[],pinnedTabIds:[],activeDocName:null,activeTabId:null,updatedAt:null};let n=e,r=pg(n.openTabs,2**53-1),i=mg(n.pinnedTabIds,r),a=i.length===0?pg(n.openTabs,t):hg(r,t,i),o=mg(n.pinnedTabIds,a),s=typeof n.activeTabId==`string`&&a.includes(n.activeTabId)?n.activeTabId:typeof n.activeDocName==`string`&&a.includes(n.activeDocName)?n.activeDocName:null,c=s?dg(s):null;return{openTabs:a,pinnedTabIds:o,activeDocName:c?.kind===`doc`?c.docName:null,activeTabId:s,updatedAt:typeof n.updatedAt==`string`?n.updatedAt:null}}function Pg(e,t,n=[],r=()=>new Date){let i=pg(e,2**53-1),a=t&&i.includes(t)?t:null,o=a?dg(a):null;return{openTabs:i,pinnedTabIds:mg(n,i),activeDocName:o?.kind===`doc`?o.docName:null,activeTabId:a,updatedAt:r().toISOString()}}function Fg(e){return`${Jh}${e}`}function Ig(e,t,n){if(!e)return{openTabs:[],pinnedTabIds:[],activeDocName:null,activeTabId:null,updatedAt:null};try{let r=e.getItem(t);return r?Ng(JSON.parse(r),n):{openTabs:[],pinnedTabIds:[],activeDocName:null,activeTabId:null,updatedAt:null}}catch(e){return console.warn(`[editor-tabs] failed to read local tab session:`,e),{openTabs:[],pinnedTabIds:[],activeDocName:null,activeTabId:null,updatedAt:null}}}function Lg(e,t,n){if(e)try{e.setItem(t,JSON.stringify(n))}catch(e){console.warn(`[editor-tabs] failed to write local tab session:`,e)}}var Rg=e=>bn((t,n)=>{e.onerror=e=>n(Error(e.target.error)),e.onsuccess=e=>t(e.target.result)}),zg=(e,t)=>bn((n,r)=>{let i=indexedDB.open(e);i.onupgradeneeded=e=>t(e.target.result),i.onerror=e=>r(Mn(e.target.error)),i.onsuccess=e=>{let t=e.target.result;t.onversionchange=()=>{t.close()},n(t)}}),Bg=e=>Rg(indexedDB.deleteDatabase(e)),Vg=(e,t)=>t.forEach(t=>e.createObjectStore.apply(e,t)),Hg=(e,t,n=`readwrite`)=>{let r=e.transaction(t,n);return t.map(e=>$g(r,e))},Ug=(e,t)=>Rg(e.count(t)),Wg=(e,t)=>Rg(e.get(t)),Gg=(e,t)=>Rg(e.delete(t)),Kg=(e,t,n)=>Rg(e.put(t,n)),qg=(e,t)=>Rg(e.add(t)),Jg=(e,t,n)=>Rg(e.getAll(t,n)),Yg=(e,t,n)=>{let r=null;return Qg(e,t,e=>(r=e,!1),n).then(()=>r)},Xg=(e,t=null)=>Yg(e,t,`prev`),Zg=(e,t)=>bn((n,r)=>{e.onerror=r,e.onsuccess=async e=>{let r=e.target.result;if(r===null||await t(r)===!1)return n();r.continue()}}),Qg=(e,t,n,r=`next`)=>Zg(e.openKeyCursor(t,r),e=>n(e.key)),$g=(e,t)=>e.objectStore(t),e_=(e,t)=>IDBKeyRange.upperBound(e,t),t_=(e,t)=>IDBKeyRange.lowerBound(e,t),n_=`custom`,r_=`updates`,i_=(e,t=()=>{},n=()=>{})=>{let[r]=Hg(e.db,[r_]);return Jg(r,t_(e._dbref,!1)).then(i=>{e._destroyed||(t(r),yn(e.doc,()=>{i.forEach(t=>Fn(e.doc,t))},e,!1),n(r))}).then(()=>Xg(r).then(t=>{e._dbref=t+1})).then(()=>Ug(r).then(t=>{e._dbsize=t})).then(()=>r)},a_=(e,t=!0)=>i_(e).then(n=>{(t||e._dbsize>=500)&&qg(n,hn(e.doc)).then(()=>Gg(n,e_(e._dbref,!0))).then(()=>Ug(n).then(t=>{e._dbsize=t}))}),o_=class extends Xn{constructor(e,t){super(),this.doc=t,this.name=e,this._dbref=0,this._dbsize=0,this._destroyed=!1,this.db=null,this.synced=!1,this._db=zg(e,e=>Vg(e,[[`updates`,{autoIncrement:!0}],[`custom`]])),this.whenSynced=bn(e=>this.on(`synced`,()=>e(this))),this._db.then(e=>{this.db=e,i_(this,async e=>{await Ug(e)>0&&qg(e,hn(t))},()=>{if(this._destroyed)return this;this.synced=!0,this.emit(`synced`,[this])})}),this._storeTimeout=1e3,this._storeTimeoutId=null,this._storeUpdate=(e,t)=>{if(this.db&&t!==this){let[t]=Hg(this.db,[r_]);qg(t,e).catch(e=>{globalThis.__okYdbWriteWarned||(globalThis.__okYdbWriteWarned=!0,console.warn(JSON.stringify({event:`ok-ydb-write-failed`,cause:e?.name??`unknown`,message:e?.message??String(e)})))}),++this._dbsize>=500&&(this._storeTimeoutId!==null&&clearTimeout(this._storeTimeoutId),this._storeTimeoutId=setTimeout(()=>{a_(this,!1),this._storeTimeoutId=null},this._storeTimeout))}},t.on(`update`,this._storeUpdate),this.destroy=this.destroy.bind(this),t.on(`destroy`,this.destroy)}destroy(){return this._storeTimeoutId&&clearTimeout(this._storeTimeoutId),this.doc.off(`update`,this._storeUpdate),this.doc.off(`destroy`,this.destroy),this._destroyed=!0,this._db.then(e=>{e.close()})}clearData(){return this.destroy().then(()=>{Bg(this.name)})}get(e){return this._db.then(t=>{let[n]=Hg(t,[n_],`readonly`);return Wg(n,e)})}set(e,t){return this._db.then(n=>{let[r]=Hg(n,[n_]);return Kg(r,t,e)})}del(e){return this._db.then(t=>{let[n]=Hg(t,[n_]);return Gg(n,e)})}},s_=`updates`,c_=`custom`;function l_(){return!0}var u_=class{_idb;_dbName;whenSynced;constructor({branch:e,serverInstanceId:t,docName:n,doc:r}){if(typeof t!=`string`||t.length===0)throw Error(`createClientPersistence: serverInstanceId is required and must be non-empty`);this._dbName=`ok-ydoc:${e}:${t}:${n}`;let i=l_()?0:performance.now();this._idb=new o_(this._dbName,r),this.whenSynced=this._idb.whenSynced.then(()=>{if(!l_()){let e=performance.now();Y(`ok/pool/idb-whensynced`,{docName:n,durationMs:Math.round((e-i)*1e3)/1e3},{startTime:i,duration:e-i})}return this})}get synced(){return this._idb.synced}async destroy(){let e=l_()?0:performance.now();try{await this._idb.destroy()}finally{if(!l_()){let t=performance.now();Y(`ok/pool/idb-destroy`,{dbName:this._dbName,durationMs:Math.round((t-e)*1e3)/1e3},{startTime:e,duration:t-e})}}}async flushFullState(){this._idb.db===null&&await this.whenSynced;let e=this._idb.db;if(e===null)return;let t=this._idb;await new Promise((n,r)=>{let i=e.transaction(s_,`readwrite`),a=i.objectStore(s_),o=a.getAll();o.onerror=()=>r(o.error??Error(`flushFullState getAll failed`)),o.onsuccess=()=>{try{yn(t.doc,()=>{for(let e of o.result)Fn(t.doc,e)},t,!1);let e=a.add(hn(t.doc));e.onerror=()=>r(e.error??Error(`flushFullState add failed`)),e.onsuccess=()=>{a.delete(IDBKeyRange.upperBound(e.result,!0))}}catch(e){r(e instanceof Error?e:Error(String(e)));try{i.abort()}catch{}}},i.oncomplete=()=>n(),i.onabort=()=>r(i.error??Error(`flushFullState transaction aborted`))})}async clearData(){let e=l_()?0:performance.now();try{await this._idb.destroy();let e=this._dbName;await new Promise((t,n)=>{let r=indexedDB.deleteDatabase(e);r.onsuccess=()=>t(),r.onerror=()=>n(r.error),r.onblocked=()=>{console.warn(JSON.stringify({event:`ok-client-persistence-clear-blocked`,dbName:e}))}})}finally{if(!l_()){let t=performance.now();Y(`ok/pool/idb-cleardata`,{dbName:this._dbName,durationMs:Math.round((t-e)*1e3)/1e3},{startTime:e,duration:t-e})}}}};function d_(e){return new u_(e)}async function f_(e){if(typeof indexedDB>`u`)return null;let t=`ok-ydoc:${e.branch}:${e.serverInstanceId}:${e.docName}`;if(typeof indexedDB.databases==`function`&&!(await indexedDB.databases()).some(e=>e.name===t))return null;let n=await new Promise((e,n)=>{let r=indexedDB.open(t);r.onupgradeneeded=()=>{let e=r.result;e.objectStoreNames.contains(s_)||e.createObjectStore(s_,{autoIncrement:!0}),e.objectStoreNames.contains(c_)||e.createObjectStore(c_)},r.onsuccess=()=>e(r.result),r.onerror=()=>n(r.error)});try{if(!n.objectStoreNames.contains(s_))return null;let e=await new Promise((e,t)=>{let r=n.transaction(s_,`readonly`).objectStore(s_).getAll();r.onsuccess=()=>e(r.result),r.onerror=()=>t(r.error)});if(e.length===0)return null;let t=new Jn;try{yn(t,()=>{for(let n of e)Fn(t,n)});let n=t.getMap(`lifecycle`).get(me);return typeof n==`string`&&n.length>0?n:null}finally{t.destroy()}}finally{n.close()}}function p_(e){return Tn(e)}function m_(e,t){return t===null?hn(e):hn(e,t)}function h_(e,t){if(e===null)return t;if(t===null)return e;let n=gn(e),r=gn(t),i=new Map;for(let[e,t]of n)i.set(e,t);for(let[e,t]of r){let n=i.get(e);(n===void 0||t>n)&&i.set(e,t)}return Tn(i)}function g_(e){let t={};if(Ht.inject(Vt.active(),t),!t.traceparent)return e;let n=e.includes(`?`)?`&`:`?`,r=[`traceparent=${encodeURIComponent(t.traceparent)}`];return t.tracestate&&r.push(`tracestate=${encodeURIComponent(t.tracestate)}`),`${e}${n}${r.join(`&`)}`}var __=({key:e,editor:t,onPaste:n,onDrop:r,allowedMimeTypes:i})=>new Ve({key:e||new lt(`fileHandler`),props:{handleDrop(e,n){if(!r||!n.dataTransfer?.files.length)return!1;let a=e.posAtCoords({left:n.clientX,top:n.clientY}),o=Array.from(n.dataTransfer.files);return i&&(o=o.filter(e=>i.includes(e.type))),o.length===0?!1:(n.preventDefault(),n.stopPropagation(),r(t,o,a?.pos||0),!0)},handlePaste(e,r){if(!n||!r.clipboardData?.files.length)return!1;let a=Array.from(r.clipboardData.files),o=r.clipboardData.getData(`text/html`);return i&&(a=a.filter(e=>i.includes(e.type))),!(a.length===0||(r.preventDefault(),r.stopPropagation(),n(t,a,o),o.length>0))}}}),v_=ge.create({name:`fileHandler`,addOptions(){return{onPaste:void 0,onDrop:void 0,allowedMimeTypes:void 0}},addProseMirrorPlugins(){return[__({key:new lt(this.name),editor:this.editor,allowedMimeTypes:this.options.allowedMimeTypes,onDrop:this.options.onDrop,onPaste:this.options.onPaste})]}});function y_(e,t){let{state:n,view:r}=e;if(!n.selection.empty||!r.endOfTextblock(t))return!1;let i=n.selection.$head,a=t===`down`||t===`right`,o=null,s=-1;if(a){let e=i.after();if(e>=n.doc.content.size)return!1;o=n.doc.nodeAt(e),s=e}else{let e=i.before();if(e<=0||(o=n.doc.resolve(e).nodeBefore,!o))return!1;s=e-o.nodeSize}if(!o||o.type.name!==`jsxComponent`||o.childCount!==0||!Le.isSelectable(o))return!1;try{let t=Le.create(n.doc,s);return e.view.dispatch(n.tr.setSelection(t).scrollIntoView()),!0}catch(e){if(!(e instanceof RangeError))throw e;return G(t),console.warn(JSON.stringify({event:`jsx-component-arrow-node-select-failed`,direction:t,tier:`L0`,reason:e.message.slice(0,500)})),!0}}function b_(e){let{state:t,view:n}=e;if(!(t.selection instanceof Ue)||!t.selection.empty||!n.endOfTextblock(`up`))return!1;let r=t.selection.$head,i=-1;for(let e=r.depth-1;e>=1;e--)if(r.node(e).type.name===`jsxComponent`){i=e;break}if(i<0)return!1;for(let e=r.depth;e>i;e--)if(r.index(e-1)!==0)return!1;let a=r.before(i);try{let n=t.doc.resolve(a),r=tt.findFrom(n,-1,!0);return!r||!(r instanceof Ue)?!1:(e.view.dispatch(t.tr.setSelection(r).scrollIntoView()),!0)}catch(e){if(!(e instanceof RangeError))throw e;return G(`up`),console.warn(JSON.stringify({event:`jsx-component-arrow-node-select-failed`,direction:`up`,tier:`L2c`,reason:e.message.slice(0,500)})),!0}}function x_(e,t){let{state:n,view:r}=e;if(!(n.selection instanceof Ue)||!n.selection.empty||!r.endOfTextblock(t))return!1;let i=n.selection.$head,a=t===`down`||t===`right`,o=null,s=-1;if(a){let e=i.after();if(e>=n.doc.content.size)return!1;o=n.doc.nodeAt(e),s=e}else{let e=i.before();if(e<=0||(o=n.doc.resolve(e).nodeBefore,!o))return!1;s=e-o.nodeSize}if(!o||o.type.name!==`jsxComponent`||o.childCount===0)return!1;let c=s+o.nodeSize;try{let t=a?s+1:c-1,r=tt.findFrom(n.doc.resolve(t),a?1:-1,!0);return!r||!(r instanceof Ue)||r.$head.pos<=s||r.$head.pos>=c?!1:(e.view.dispatch(n.tr.setSelection(r).scrollIntoView()),!0)}catch(e){if(!(e instanceof RangeError))throw e;return G(t),console.warn(JSON.stringify({event:`jsx-component-arrow-node-select-failed`,direction:t,tier:`L2d`,reason:e.message.slice(0,500)})),!0}}var S_=ge.create({name:`keyboardNav`,priority:50,addKeyboardShortcuts(){return{Escape:({editor:e})=>{let{state:t}=e;if(t.selection instanceof Le){if(t.selection.$from.depth===0)return e.commands.blur(),!0;let n=t.selection.from+t.selection.node.nodeSize,r=t.doc.resolve(Math.min(n,t.doc.content.size)),i=Ue.near(r);return e.view.dispatch(t.tr.setSelection(i)),!0}return t.selection instanceof Ue?e.commands.selectParentNode():!1},ArrowUp:({editor:e})=>{if(y_(e,`up`)||b_(e)||x_(e,`up`))return!0;let{state:t}=e;if(!(t.selection instanceof Le))return!1;let n=t.selection.from,r=t.doc.resolve(n);if(r.index(r.depth)===0)return!1;let i=r.before(r.depth);if(i<=0)return!1;let a=t.doc.resolve(i-1).nodeBefore;if(!a||i-1-a.nodeSize+1<0)return!1;try{let n=Le.create(t.doc,i-a.nodeSize);return e.view.dispatch(t.tr.setSelection(n).scrollIntoView()),!0}catch(e){if(!(e instanceof RangeError))throw e;return G(`up`),console.warn(JSON.stringify({event:`jsx-component-arrow-node-select-failed`,direction:`up`,tier:`L2`,reason:e.message.slice(0,500)})),!1}},ArrowDown:({editor:e})=>{if(y_(e,`down`)||x_(e,`down`))return!0;let{state:t}=e;if(!(t.selection instanceof Le))return!1;let n=t.selection.from+t.selection.node.nodeSize;if(n>=t.doc.content.size)return!1;try{if(!t.doc.nodeAt(n))return!1;let r=Le.create(t.doc,n);return e.view.dispatch(t.tr.setSelection(r).scrollIntoView()),!0}catch(e){if(!(e instanceof RangeError))throw e;return G(`down`),console.warn(JSON.stringify({event:`jsx-component-arrow-node-select-failed`,direction:`down`,tier:`L2`,reason:e.message.slice(0,500)})),!1}},ArrowLeft:({editor:e})=>y_(e,`left`)||x_(e,`left`),ArrowRight:({editor:e})=>y_(e,`right`)||x_(e,`right`),Enter:({editor:e})=>{let{state:t}=e;if(!(t.selection instanceof Ue)||!t.selection.empty)return!1;let n=t.selection.$from,r=n.parent;if(r.type.name!==`paragraph`||r.textContent!==``||n.depth<2)return!1;let i=-1;for(let e=n.depth-1;e>=1;e--)if(n.node(e).type.name===`jsxComponent`){i=e;break}if(i<0)return!1;let a=n.node(i);if(n.index(i)!==a.childCount-1)return!1;let o=n.after(i);if(o>t.doc.content.size)return!1;let s=t.tr,c=n.before(n.depth),l=n.after(n.depth);s.delete(c,l);let u=o-(l-c),d=t.schema.nodes.paragraph.create();s.insert(u,d);let f=u+1;return s.setSelection(Ue.create(s.doc,f)),e.view.dispatch(s.scrollIntoView()),!0}}}}),C_={query:``,options:{caseSensitive:!1,wholeWord:!1},activeIndex:0,matches:[]},w_=/[A-Za-z0-9_]/;function T_(e){return e!==void 0&&w_.test(e)}function E_(e,t,n){return!T_(e[t-1])&&!T_(e[n])}function D_(e,t,n){if(t.length===0)return[];let r=n.caseSensitive?e:e.toLocaleLowerCase(),i=n.caseSensitive?t:t.toLocaleLowerCase(),a=[],o=0;for(;o<=r.length-i.length;){let t=r.indexOf(i,o);if(t===-1)break;let s=t+i.length;(!n.wholeWord||E_(e,t,s))&&a.push({start:t,end:s,text:e.slice(t,s)}),o=s}return a}function O_(e,t,n){if(t.length===0)return[];let r=[];return e.descendants((e,i)=>{if(!(!e.isText||typeof e.text!=`string`))for(let a of D_(e.text,t,n))r.push({from:i+a.start,to:i+a.end,text:a.text})}),r}var k_=new lt(`findReplace`);function A_(e,t){return t<=0||!Number.isFinite(e)?0:Math.min(Math.max(Math.trunc(e),0),t-1)}function j_(e,t,n,r){let i=O_(e.doc,t,n);return{query:t,options:n,activeIndex:A_(r,i.length),matches:i}}function M_(e,t,n){return t<=0?0:(A_(e,t)+n+t)%t}function N_(e,t,n){if(e.length===0)return 0;let r=t+n,i=e.findIndex(e=>e.from>=r);return i===-1?0:i}function P_(e,t,n){if(t.matches.length===0)return null;let r=e.tr;for(let e of[...t.matches].reverse())r.insertText(n,e.from,e.to);let i=O_(r.doc,t.query,t.options),a=A_(0,i.length),o=i[a];return r.setMeta(k_,{type:`setActiveIndex`,activeIndex:a}),o&&r.setSelection(Ue.create(r.doc,o.from,o.to)),r.scrollIntoView()}function F_(e,t){let n=k_.getState(e)?.matches[t];return n?e.tr.setMeta(k_,{type:`setActiveIndex`,activeIndex:t}).setSelection(Ue.create(e.doc,n.from,n.to)).scrollIntoView():null}function I_(e){return k_.getState(e)??C_}function L_(){return new Ve({key:k_,state:{init:()=>C_,apply(e,t,n,r){let i=e.getMeta(k_);if(i?.type===`clear`)return C_;let a=t.query,o=t.options,s=t.activeIndex;if(i?.type===`setQuery`)a=i.query,o={...o,...i.options},s=i.activeIndex??0;else if(i?.type===`setOptions`)o={...o,...i.options},s=i.activeIndex??s;else if(i?.type===`setActiveIndex`)s=i.activeIndex;else if(!e.docChanged)return t;return a.length===0?{query:a,options:o,activeIndex:0,matches:[]}:j_(r,a,o,s)}},props:{decorations(e){let t=k_.getState(e);return!t||t.matches.length===0?null:Pe.create(e.doc,t.matches.map((e,n)=>yt.inline(e.from,e.to,{class:n===t.activeIndex?`ok-find-match ok-find-match-active`:`ok-find-match`})))}}})}var R_=ge.create({name:`findReplace`,addCommands(){return{setFindQuery:(e,t)=>({state:n,dispatch:r})=>(r&&r(n.tr.setMeta(k_,{type:`setQuery`,query:e,options:t?.options,activeIndex:t?.activeIndex})),!0),setFindOptions:(e,t)=>({state:n,dispatch:r})=>(r&&r(n.tr.setMeta(k_,{type:`setOptions`,options:e,activeIndex:t})),!0),setActiveFindIndex:e=>({state:t,dispatch:n})=>(n&&n(t.tr.setMeta(k_,{type:`setActiveIndex`,activeIndex:e})),!0),selectNextFindMatch:()=>({state:e,dispatch:t})=>{let n=I_(e),r=F_(e,M_(n.activeIndex,n.matches.length,1));return r?(t?.(r),!0):!1},selectPreviousFindMatch:()=>({state:e,dispatch:t})=>{let n=I_(e),r=F_(e,M_(n.activeIndex,n.matches.length,-1));return r?(t?.(r),!0):!1},replaceCurrentFindMatch:e=>({state:t,dispatch:n})=>{let r=I_(t),i=r.matches[r.activeIndex];if(!i||!n)return!1;let a=t.tr.insertText(e,i.from,i.to),o=O_(a.doc,r.query,r.options),s=N_(o,i.from,e.length),c=o[s];return a.setMeta(k_,{type:`setActiveIndex`,activeIndex:s}),c&&a.setSelection(Ue.create(a.doc,c.from,c.to)),a.scrollIntoView(),n(a),!0},replaceAllFindMatches:e=>({state:t,dispatch:n})=>{let r=I_(t);if(!n)return!1;let i=P_(t,r,e);return i?(n(i),!0):!1},clearFindMatches:()=>({state:e,dispatch:t})=>(t&&t(e.tr.setMeta(k_,{type:`clear`})),!0)}},addProseMirrorPlugins(){return[L_()]}}),z_=new WeakMap;function B_(e,t){if(t===null){z_.delete(e);return}z_.set(e,t)}function V_(e){return z_.get(e)??null}function H_(e){return`pagesBySlug`in e}function U_(e){return H_(e)?e.pages:e}function W_(e,t){return H_(e)?e.assetPaths??new Set:t??new Set}function G_(e,t){return H_(e)?e.filePaths??new Set:t??new Set}function K_(e,t){let n=Mt(e);if(n){if(H_(t))return t.pagesBySlug.get(n);for(let e of t)if(Mt(e)===n)return e}}function q_(e,t){if(e.includes(`/`))return;let n=Mt(e);if(!n)return;if(H_(t))return t.pagesByBasename?.get(n);let r;for(let e of t){let t=e.lastIndexOf(`/`);Mt(t===-1?e:e.slice(t+1))===n&&(r===void 0||e.localeCompare(r)<0)&&(r=e)}return r}function J_(e){let t=e.trim();if(!t)return null;let n=Mt(t);return n?{target:n,alias:n===t?null:t,anchor:null}:null}function Y_(e){let t=e.trim();if(!t)return[];let n=Mt(t);return n.length>0&&n!==t?[n]:[]}function X_(e,t){let n=e.trim();if(!n)return;let r=U_(t);if(r.has(n))return n;let i=K_(n,t);if(i)return i;for(let e of Y_(n))if(r.has(e))return e;return Z_(n,r)||q_(n,t)}function Z_(e,t){let n=`${e}/index`;if(t.has(n))return n;let r=e.lastIndexOf(`/`),i=r===-1?e:e.slice(r+1),a=i?`${e}/${i}`:null;if(a&&t.has(a))return a}function Q_(e){let t=((e.trim().split(`#`)[0]??``).trim().split(`?`)[0]??``).trim();return t.startsWith(`/`)?t.slice(1):t}function $_(e,t,n){let r=Q_(e);if(!r)return null;let i=r.toLowerCase(),a=n?[t,n]:[t];for(let e of a){if(e.has(r))return r;for(let t of e)if(t.toLowerCase()===i)return t}if(r.includes(`/`))return null;let o=[];for(let e of a)for(let t of e){let e=t.lastIndexOf(`/`);(e===-1?t:t.slice(e+1)).toLowerCase()===i&&o.push(t)}return o.length===0?null:o.sort((e,t)=>e.localeCompare(t))[0]??null}function ev(e,t,n,r){let i=e.trim();if(!i)return!1;if($_(i,W_(t,n),G_(t,r)))return!0;let a=U_(t);return a.has(i)||Y_(i).some(e=>a.has(e))||K_(i,t)!==void 0||Z_(i,a)?!0:q_(i,t)!==void 0}var tv=class extends Error{status;instance;constructor(e,t={}){super(e,t.cause===void 0?void 0:{cause:t.cause}),this.name=`HttpResponseParseError`,this.status=t.status,this.instance=t.instance}},nv=new lt(`imageUpload`);function rv(e){let t=document.createElement(`div`);t.className=`image-upload-skeleton w-full h-40 rounded-md bg-muted animate-pulse motion-reduce:animate-none my-2`,t.setAttribute(`data-upload-widget`,`loading`),t.setAttribute(`role`,`status`);let n=e?.name;return t.setAttribute(`aria-label`,n?gi._({id:`KDuPiY`,values:{fileName:n}}):gi._({id:`bGa3Fk`})),t}var iv=new Ve({key:nv,state:{init(){return{decorations:Pe.empty,uploads:new Map}},apply(e,t){let n=t.decorations.map(e.mapping,e.doc),r=new Map;for(let[n,i]of t.uploads)r.set(n,e.mapping.map(i));let i=e.getMeta(nv);if(!i)return{decorations:n,uploads:r};if(i.type===`add`){let t=yt.widget(i.pos,i.widget,{id:i.id,stopEvent:()=>!0}),a=n.add(e.doc,[t]),o=new Map(r);return o.set(i.id,e.mapping.map(i.pos)),{decorations:a,uploads:o}}if(i.type===`remove`){let e=n.find(void 0,void 0,e=>e.id===i.id),t=n.remove(e),a=new Map(r);return a.delete(i.id),{decorations:t,uploads:a}}return{decorations:n,uploads:r}}},props:{decorations(e){return nv.getState(e)?.decorations??Pe.empty}}});function av(e){let t=e.lastIndexOf(`/`);return t===-1?``:e.slice(0,t)}function ov(e){let t=e.lastIndexOf(`/`);return t===-1?e:e.slice(t+1)}function sv(e){return e.split(`/`).filter(e=>e!==``)}function cv(e,t){let n=av(e),r=av(t),i=ov(e);if(n===r)return i;let a=sv(r),o=sv(n),s=0;for(;s<a.length&&s<o.length&&a[s]===o[s];)s++;let c=a.length-s,l=o.slice(s);return c===0?`./${[...l,i].join(`/`)}`:[...Array(c).fill(`..`),...l,i].join(`/`)}function lv(e){return V_(e)}function uv(e,t){return{type:`jsxComponent`,attrs:{componentName:e===`jsx-img`?`img`:e===`jsx-video`?`video`:`audio`,kind:`element`,attributes:[],sourceRaw:``,sourceDirty:!0,props:e===`jsx-img`?{src:t}:{src:t,controls:!0}}}}function dv(e){let t=ut(e);return t===`md`||t===`mdx`?{kind:`wiki-link`,ext:t}:ne.has(t)?{kind:`jsx-img`,ext:t}:Ye.has(t)?{kind:`jsx-video`,ext:t}:b.has(t)?{kind:`jsx-audio`,ext:t}:C.has(t)?{kind:`jsx-file`,ext:t}:p.has(t)?{kind:`wikiembed`,ext:t}:{kind:`markdown-link`,ext:t}}async function fv(e,t,n){let r=lv(t),i=r?`${r}.md`:``;if(!i){vr.error(gi._({id:`z5pqI8`}));return}let a=crypto.randomUUID(),o=rv(e);t.view.dispatch(t.state.tr.setMeta(nv,{type:`add`,id:a,pos:n,widget:o}));let s=new FormData;s.append(`file`,e),s.append(`parentDocName`,i);let c;try{c=await fetch(`/api/upload`,{method:`POST`,body:s})}catch(e){console.error(`[uploadAndInsert] Network error:`,e),pv(t,a);return}let l;try{l=await c.json()}catch(e){console.error(`[uploadAndInsert] Response is not JSON:`,e),pv(t,a);return}if(!c.ok){let e=_t.safeParse(l);if(!e.success){let n=new tv(`Upload response did not match ProblemDetails.`,{cause:e.error,status:c.status});console.error(`[uploadAndInsert] Server error (unparseable):`,n),pv(t,a);return}console.error(`[uploadAndInsert] Server error:`,e.data),pv(t,a,e.data.title);return}let u=K.safeParse(l);if(!u.success){let e=new tv(`Upload success response did not match UploadAssetSuccess.`,{cause:u.error,status:c.status});console.error(`[uploadAndInsert] Response missing src:`,e),pv(t,a);return}let d=u.data,f=d.src,p=d.deduped===!0,m=av(i),h=typeof d.path==`string`&&d.path.length>0?d.path:m?`${m}/${f}`:f;p&&vr.info(gi._({id:`VbqhBI`,values:{assetContentPath:h}}));let g=dv(e.name),{state:_}=t,v=nv.getState(_)?.uploads.get(a)??n,y=_.tr.setMeta(nv,{type:`remove`,id:a}),b=cv(h,i),x=`/${h}`;if(g.kind===`jsx-file`){if(!_.schema.nodes.jsxComponent){console.error(`[uploadAndInsert] jsxComponent node missing from schema`),pv(t,a);return}let n={type:`jsxComponent`,attrs:{componentName:`WikiEmbedFile`,kind:`element`,attributes:[],sourceRaw:``,sourceDirty:!0,props:{src:x,target:f,alias:null,anchor:null,size:De(e.size)}}};t.chain().command(({tr:e})=>(e.setMeta(nv,{type:`remove`,id:a}),!0)).focus().insertContentAt(v,n).command(({tr:e,dispatch:t})=>{if(!t)return!0;let n=e.mapping.map(v);return e.doc.nodeAt(n)?.type.name===`jsxComponent`&&e.setSelection(Le.create(e.doc,n)),!0}).run();return}if(g.kind===`jsx-img`||g.kind===`jsx-video`||g.kind===`jsx-audio`){if(!_.schema.nodes.jsxComponent){console.error(`[uploadAndInsert] jsxComponent node missing from schema`),pv(t,a);return}let e=uv(g.kind,x);t.chain().command(({tr:e})=>(e.setMeta(nv,{type:`remove`,id:a}),!0)).focus().insertContentAt(v,e).command(({tr:e,dispatch:t})=>{if(!t)return!0;let n=e.mapping.map(v);return e.doc.nodeAt(n)?.type.name===`jsxComponent`&&e.setSelection(Le.create(e.doc,n)),!0}).run();return}if(g.kind===`wikiembed`){let e=_.schema.nodes.wikiLinkEmbed;if(!e){console.error(`[uploadAndInsert] wikiLinkEmbed node missing from schema`),pv(t,a);return}y.insert(v,e.create({target:f,alias:null,anchor:null,resolvedSrc:x}))}else if(g.kind===`wiki-link`){let n=_.schema.nodes.wikiLink;if(!n){console.error(`[uploadAndInsert] wikiLink node missing from schema`),pv(t,a);return}let r=J_(e.name.replace(/\.(md|mdx)$/i,``));r?y.insert(v,n.create(r)):y.insert(v,_.schema.text(e.name))}else{let t=_.schema.marks.link;if(t){let n=_.schema.text(e.name,[t.create({href:b})]);y.insert(v,n)}else y.insert(v,_.schema.text(e.name))}t.view.dispatch(y)}function pv(e,t,n){e.view.dispatch(e.state.tr.setMeta(nv,{type:`remove`,id:t})),vr.error(n??gi._({id:`b3Thhd`}))}var mv=new Set;function hv(e){mv.add(e)}function gv(e){return mv.delete(e)}var _v=new lt(`markIdentity`);function vv(){return{byId:new Map,counter:0}}function yv(e,t,n,r,i){let a=[];for(let e of t.byId.values()){let t=i?i.map(e.from,-1):e.from,n=i?i.map(e.to,1):e.to;n<=t||a.push({id:e.id,markType:e.markType,attrs:e.attrs,from:t,to:n})}let o=new Map,s=new Set,c=t.counter;return e.descendants((e,t)=>{if(!(!e.isInline||e.marks.length===0))for(let i of e.marks){if(!n.has(i.type.name)||r&&!r(i))continue;let l=null;for(let e of a)if(!s.has(e.id)&&e.markType===i.type.name&&bv(e.attrs,i.attrs)&&!(t<e.from||t>=e.to)){l=e.id;break}let u=l??`m${++c}`;s.add(u);let d=t,f=t+e.nodeSize,p=o.get(u);p?p.to=Math.max(p.to,f):o.set(u,{id:u,markType:i.type.name,attrs:i.attrs,from:d,to:f})}}),{byId:o,counter:c}}function bv(e,t){let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n){let n=e[r],i=t[r];if(n!==i&&!(typeof n==`object`&&n&&typeof i==`object`&&i&&bv(n,i)))return!1}return!0}function xv(e,t,n,r){let i=new Set(t.byId.keys());for(let[r,i]of t.byId)e.has(r)||n?.(i);for(let t of e)i.has(t)||r?.(t);return i}function Sv(e){let{markTypes:t,predicate:n,onRegister:r,onDeregister:i}=e,a=new Set(t);return new Ve({key:_v,state:{init(e,t){return yv(t.doc,vv(),a,n)},apply(e,t,r,i){return e.docChanged?yv(i.doc,t,a,n,e.mapping):t}},view(){let e=new Set;return{update(t){let n=_v.getState(t.state);n&&(e=xv(e,n,r,i))},destroy(){for(let t of e)i?.(t);e=new Set}}}})}var Cv=300,wv=150,Tv=500,Ev=class{registry=new Map;_activeNodeId=null;listeners=new Set;_snapshot={activeNodeId:null,active:null};register(e){this.registry.set(e.nodeId,e),this._activeNodeId===e.nodeId&&this.refreshSnapshot()}deregister(e){this.registry.delete(e)&&this._activeNodeId===e&&(this._activeNodeId=null,this.refreshSnapshot())}setActiveNode(e){this._activeNodeId!==e&&(e!==null&&!this.registry.has(e)||(this._activeNodeId=e,this.refreshSnapshot()))}getActiveNode(){return this._activeNodeId}getRegistration(e){return this.registry.get(e)}hasRegistration(e){return this.registry.has(e)}clear(){this.registry.clear(),this._activeNodeId=null,this.refreshSnapshot()}getSnapshot=()=>this._snapshot;subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});refreshSnapshot(){let e=this._activeNodeId==null?null:this.registry.get(this._activeNodeId)??null;this._snapshot={activeNodeId:this._activeNodeId,active:e};for(let e of this.listeners)e()}};function Dv(e,t){let n=e??null;for(;n&&typeof n==`object`;){let e=n.getAttribute;if(typeof e==`function`){let r=e.call(n,`data-mark-id`);if(r&&t.hasRegistration(r))return r;let i=e.call(n,`data-node-id`);if(i&&t.hasRegistration(i))return i}n=n.parentElement??null}return null}function Ov(e){return e?e.closest(`[data-ok-prop-panel]`)!==null:!1}function kv(){return typeof document>`u`?!1:document.querySelector(`[data-ok-layer-spawned]`)!==null}var Av=e=>{let t=(0,$.c)(18),{store:n}=e,r;t[0]===n?r=t[1]:(r=()=>n.getSnapshot(),t[0]=n,t[1]=r);let[i,a]=(0,Q.useState)(r),o,s;t[2]===n?(o=t[3],s=t[4]):(o=()=>(a(n.getSnapshot()),n.subscribe(()=>{a(n.getSnapshot())})),s=[n],t[2]=n,t[3]=o,t[4]=s),(0,Q.useEffect)(o,s);let{active:c}=i;if(!c)return null;let l;t[5]===n?l=t[6]:(l=()=>n.setActiveNode(null),t[5]=n,t[6]=l);let u,d,f;if(t[7]!==c.controls||t[8]!==c.nodeId||t[9]!==c.type||t[10]!==l){let e={nodeId:c.nodeId,type:c.type,deactivate:l};u=c.controls.propPanel?.(e),d=c.controls.toolbar?.(e),f=c.controls.breadcrumb?.(e),t[7]=c.controls,t[8]=c.nodeId,t[9]=c.type,t[10]=l,t[11]=u,t[12]=d,t[13]=f}else u=t[11],d=t[12],f=t[13];let p;return t[14]!==u||t[15]!==d||t[16]!==f?(p=(0,Z.jsxs)(Z.Fragment,{children:[u,d,f]}),t[14]=u,t[15]=d,t[16]=f,t[17]=p):p=t[17],p};function jv(e){return e.editorView?.dom??null}function Mv(e,t){let n=e;for(;n;){if(n.getAttribute?.(`data-mark-id`)===t||n.getAttribute?.(`data-node-id`)===t)return!0;n=n.parentElement}return!1}function Nv(e){let{editor:t}=e,n=new Ev,r=jv(t),i=!1,a=null,o=null,s=null,c=null,l=null,u=()=>{a!==null&&(clearTimeout(a),a=null),s=null},d=()=>{o!==null&&(clearTimeout(o),o=null)},f=()=>{c!==null&&(clearTimeout(c),c=null)},p=e=>{if(n.getActiveNode()===e){d();return}s===e&&a!==null||(u(),d(),s=e,a=setTimeout(()=>{a=null,s=null,n.setActiveNode(e)},Cv))},m=()=>{n.getActiveNode()!==null&&o===null&&(o=setTimeout(()=>{o=null,!kv()&&n.setActiveNode(null)},wv))},h=null,g=!1,_=e=>{try{g=!0,e.focus({preventScroll:!0})}catch{}finally{g=!1}},v=n.subscribe(()=>{let e=n.getActiveNode();if(e!==null){if(typeof document<`u`){let t=document.activeElement;h=t&&Mv(t,e)?t:null}return}if(typeof document>`u`)return;let i=h;if(h=null,i&&document.contains(i)&&typeof i.focus==`function`){_(i);return}let a=r??jv(t);a&&typeof a.focus==`function`&&_(a)}),y=e=>{let t=e;if(t.button!==2){if(t.metaKey||t.ctrlKey||t.button===1){u(),t.button===1&&t.preventDefault?.();return}if(t.pointerType===`touch`){let t=Dv(e.target,n);if(t===null)return;f(),c=setTimeout(()=>{c=null,l=t,n.setActiveNode(t)},Tv);return}u()}},b=()=>{f()},x=e=>{e.pointerType===`touch`&&c!==null&&f()},S=e=>{let t=e;if(t.button===2||t.type===`click`&&t.button===1)return;let r=Dv(e.target,n);if(r===null)return;if(l!==null){let e=l===r;if(l=null,e){t.preventDefault?.();return}}let i=t.metaKey||t.ctrlKey||t.button===1,a=n.getRegistration(r);if(a?.handlePrimary&&a.handlePrimary({nodeId:r,type:a.type,newTab:i})){t.preventDefault?.(),i||(u(),d(),n.getActiveNode()===r&&n.setActiveNode(null));return}i||(u(),d(),n.setActiveNode(r))},C=e=>{let t=e;if(t.key===`Escape`){n.getActiveNode()!==null&&(u(),d(),n.setActiveNode(null),t.preventDefault?.());return}if(t.key===`Tab`&&!t.shiftKey&&!t.altKey&&!t.metaKey&&!t.ctrlKey){let r=Dv(e.target,n);if(r!==null&&n.getActiveNode()===r){let e=document.querySelector(`[data-ok-prop-panel]`);if(e){let n=e.querySelector(`button:not([disabled]), [href], input:not([disabled]), [tabindex]:not([tabindex="-1"])`);if(n){t.preventDefault?.(),n.focus();return}}}return}let r=t.key===`Enter`,i=t.key===` `||t.key===`Spacebar`;if(!r&&!i)return;let a=Dv(e.target,n);if(a===null||i&&((e.target instanceof Element?e.target:null)?.closest(`[data-mark-id], [data-node-id]`)??null)?.getAttribute(`role`)===`link`)return;let o=n.getRegistration(a);if(t.preventDefault?.(),o?.handlePrimary&&o.handlePrimary({nodeId:a,type:o.type,newTab:!1})){u(),d(),n.getActiveNode()===a&&n.setActiveNode(null);return}n.setActiveNode(a)},w=e=>{let t=e;if(t.pointerType!==`mouse`)return;let r=t.target;if(!(r instanceof Element))return;if(Ov(r)){d();return}let i=Dv(r,n);i!==null&&p(i)},T=e=>{let t=e;if(t.pointerType!==`mouse`)return;let r=t.target,i=t.relatedTarget;if(!(r instanceof Element))return;let a=i instanceof Element?i:null,o=Dv(r,n);if(o!==null){if(a&&Ov(a)){d();return}if(a&&Dv(a,n)===o)return;s===o&&u(),m();return}if(Ov(r)){if(a&&Ov(a))return;let e=n.getActiveNode();if(e!==null&&a&&Dv(a,n)===e)return;m()}},E=e=>{if(g)return;let t=e.target;if(!(t instanceof Element))return;let r=Dv(t,n);r!==null&&(u(),d(),n.setActiveNode(r))},D=e=>{let t=e;if(n.getActiveNode()===null)return;let r=t.relatedTarget,i=r instanceof Element?r:null;i&&Ov(i)||i&&Dv(i,n)!==null||m()},O=e=>{if(n.getActiveNode()===null)return;let t=e.target;t&&(r?.contains(t)||t instanceof Element&&(t.closest(`[data-ok-interaction-layer]`)||t.closest(`[data-ok-prop-panel]`)||t.closest(`[data-ok-layer-spawned]`))||(u(),d(),n.setActiveNode(null)))},k=()=>{i||(r=jv(t),r&&(r.addEventListener(`pointerdown`,y,!0),r.addEventListener(`pointerup`,b,!0),r.addEventListener(`pointercancel`,b,!0),r.addEventListener(`pointermove`,x,!0),r.addEventListener(`click`,S,!0),r.addEventListener(`auxclick`,S,!0),r.addEventListener(`keydown`,C,!0),typeof document<`u`&&(document.addEventListener(`pointerover`,w,!0),document.addEventListener(`pointerout`,T,!0),document.addEventListener(`focusin`,E,!0),document.addEventListener(`focusout`,D,!0),document.addEventListener(`pointerdown`,O,!0)),i=!0))},A=()=>{i&&=(r?.removeEventListener(`pointerdown`,y,!0),r?.removeEventListener(`pointerup`,b,!0),r?.removeEventListener(`pointercancel`,b,!0),r?.removeEventListener(`pointermove`,x,!0),r?.removeEventListener(`click`,S,!0),r?.removeEventListener(`auxclick`,S,!0),r?.removeEventListener(`keydown`,C,!0),typeof document<`u`&&(document.removeEventListener(`pointerover`,w,!0),document.removeEventListener(`pointerout`,T,!0),document.removeEventListener(`focusin`,E,!0),document.removeEventListener(`focusout`,D,!0),document.removeEventListener(`pointerdown`,O,!0)),!1)};return k(),{register(e){n.register(e),i||k()},deregister(e){n.deregister(e)},setActiveNode(e){n.setActiveNode(e)},getActiveNode(){return n.getActiveNode()},getRegistration(e){return n.getRegistration(e)},destroy(){A(),u(),d(),f(),v(),n.clear()},store:n}}var Pv=e=>{let t=(0,$.c)(2),{store:n}=e,r;return t[0]===n?r=t[1]:(r=(0,Z.jsx)(`div`,{"data-ok-interaction-layer":``,className:`contents`,children:(0,Z.jsx)(Av,{store:n})}),t[0]=n,t[1]=r),r},Fv=new WeakMap;function Iv(e){let t=Fv.get(e);if(t)return t;let n=Nv({editor:e});return Fv.set(e,n),e.on(`destroy`,()=>{n.destroy(),Fv.delete(e)}),n}var Lv={AppWindow:Ma,ChevronRight:Qt,CopyPlus:cn,FileText:$a,Film:no,GitBranch:mr,Image:co,LayoutPanelTop:uo,MessageSquareWarning:yo,PanelTop:Co,Paperclip:wo,Sigma:Mo,SquarePlay:Po,Volume2:Ro,Workflow:zo,ZoomIn:Vo};function Rv(e){return e&&Object.hasOwn(Lv,e)?Lv[e]:Ra}var zv={Info:hr,Lightbulb:fo,MessageSquareWarning:yo,AlertTriangle:_r,AlertOctagon:xo,ClipboardList:Ga,BookOpen:La,ListTodo:_o,CircleCheck:nn,CircleHelp:Ua,CircleX:Wa,Zap:Bo,Bug:za,FlaskConical:ro,Quote:Eo,ChevronRight:Qt},Bv=Object.entries(zv).sort(([e],[t])=>e.localeCompare(t));function Vv(e){if(!e||!e.startsWith(`lucide:`))return null;let t=e.slice(7);return Object.hasOwn(zv,t)?zv[t]??null:null}function Hv(e){let t=(0,$.c)(24),n;t[0]===e.icon?n=t[1]:(n=Vv(e.icon),t[0]=e.icon,t[1]=n);let r=n,i=r?`custom`:void 0,a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Z.jsx)(Qt,{size:14,className:`accordion-chevron`,"aria-hidden":`true`}),t[2]=a):a=t[2];let o;t[3]===r?o=t[4]:(o=r?(0,Z.jsx)(r,{size:16,className:`accordion-icon`,"aria-hidden":`true`}):null,t[3]=r,t[4]=o);let s=e.title??`Accordion`,c;t[5]===s?c=t[6]:(c=(0,Z.jsx)(`span`,{className:`accordion-title`,children:s}),t[5]=s,t[6]=c);let l;t[7]===e.description?l=t[8]:(l=e.description?(0,Z.jsx)(`span`,{className:`accordion-description`,children:e.description}):null,t[7]=e.description,t[8]=l);let u;t[9]!==c||t[10]!==l?(u=(0,Z.jsxs)(`span`,{className:`accordion-title-group`,children:[c,l]}),t[9]=c,t[10]=l,t[11]=u):u=t[11];let d;t[12]!==o||t[13]!==u?(d=(0,Z.jsxs)(`summary`,{className:`accordion-summary`,contentEditable:!1,children:[a,o,u]}),t[12]=o,t[13]=u,t[14]=d):d=t[14];let f;t[15]===e.children?f=t[16]:(f=(0,Z.jsx)(`div`,{className:`accordion-body`,children:e.children}),t[15]=e.children,t[16]=f);let p;return t[17]!==e.defaultOpen||t[18]!==e.id||t[19]!==e.name||t[20]!==i||t[21]!==d||t[22]!==f?(p=(0,Z.jsxs)(`details`,{className:`accordion`,"data-accordion-icon":i,open:e.defaultOpen,id:e.id,name:e.name,children:[d,f]}),t[17]=e.defaultOpen,t[18]=e.id,t[19]=e.name,t[20]=i,t[21]=d,t[22]=f,t[23]=p):p=t[23],p}function Uv(e){return e!==!1}function Wv(e){let t=(0,$.c)(12),n;t[0]===e.src?n=t[1]:(n=e.src===void 0?void 0:S(e.src),t[0]=e.src,t[1]=n);let r=e.title,i;t[2]===e.controls?i=t[3]:(i=Uv(e.controls),t[2]=e.controls,t[3]=i);let a;return t[4]!==e.autoplay||t[5]!==e.loop||t[6]!==e.muted||t[7]!==e.preload||t[8]!==e.title||t[9]!==n||t[10]!==i?(a=(0,Z.jsx)(`audio`,{className:`ok-audio`,src:n,title:r,controls:i,autoPlay:e.autoplay,loop:e.loop,muted:e.muted,preload:e.preload}),t[4]=e.autoplay,t[5]=e.loop,t[6]=e.muted,t[7]=e.preload,t[8]=e.title,t[9]=n,t[10]=i,t[11]=a):a=t[11],a}var Gv={note:hr,tip:fo,important:yo,warning:_r,caution:xo,abstract:Ga,info:La,todo:_o,success:nn,question:Ua,failure:Wa,danger:Bo,bug:za,example:ro,quote:Eo};function Kv(e,t){return Vv(e)??Gv[t]}var qv=new Set([`note`,`tip`,`important`,`warning`,`caution`,`abstract`,`info`,`todo`,`success`,`question`,`failure`,`danger`,`bug`,`example`,`quote`]);function Jv(e){return typeof e==`string`&&qv.has(e)?e:`note`}function Yv(e){let t=(0,$.c)(29),n,r;t[0]!==e.icon||t[1]!==e.type?(r=Jv(e.type),n=Kv(e.icon,r),t[0]=e.icon,t[1]=e.type,t[2]=n,t[3]=r):(n=t[2],r=t[3]);let i=n,a;t[4]===e.color?a=t[5]:(a=e.color?{"--callout-type-color":e.color}:{},t[4]=e.color,t[5]=a);let s=a,c;t[6]!==i||t[7]!==e.title?(c=e.title||i?(0,Z.jsxs)(`span`,{className:`callout-header`,contentEditable:!1,children:[(0,Z.jsx)(i,{size:16,className:`callout-icon`,"aria-hidden":`true`}),e.title?(0,Z.jsx)(`span`,{className:`callout-title`,children:e.title}):null]}):null,t[6]=i,t[7]=e.title,t[8]=c):c=t[8];let l=c;if(e.collapsible){let n=e.defaultOpen??!0,i;t[9]===l?i=t[10]:(i=l??(0,Z.jsx)(`span`,{className:`callout-title`,children:(0,Z.jsx)(o,{id:`URmyfc`})}),t[9]=l,t[10]=i);let a;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Z.jsx)(Zt,{size:16,className:`callout-chevron`,"aria-hidden":`true`}),t[11]=a):a=t[11];let c;t[12]===i?c=t[13]:(c=(0,Z.jsxs)(`summary`,{className:`callout-summary`,contentEditable:!1,children:[i,a]}),t[12]=i,t[13]=c);let u;t[14]===e.children?u=t[15]:(u=(0,Z.jsx)(`div`,{className:`callout-body`,children:e.children}),t[14]=e.children,t[15]=u);let d;return t[16]!==n||t[17]!==s||t[18]!==c||t[19]!==u||t[20]!==r?(d=(0,Z.jsxs)(`details`,{className:`callout callout-collapsible`,"data-callout-type":r,open:n,style:s,children:[c,u]}),t[16]=n,t[17]=s,t[18]=c,t[19]=u,t[20]=r,t[21]=d):d=t[21],d}let u;t[22]===e.children?u=t[23]:(u=(0,Z.jsx)(`div`,{className:`callout-body`,children:e.children}),t[22]=e.children,t[23]=u);let d;return t[24]!==l||t[25]!==s||t[26]!==u||t[27]!==r?(d=(0,Z.jsxs)(`div`,{className:`callout callout-static`,"data-callout-type":r,style:s,children:[l,u]}),t[24]=l,t[25]=s,t[26]=u,t[27]=r,t[28]=d):d=t[28],d}var Xv=(0,Q.createContext)(null);function Zv(e){let t=(0,$.c)(3),{value:n,children:r}=e,i;return t[0]!==r||t[1]!==n?(i=(0,Z.jsx)(Xv.Provider,{value:n,children:r}),t[0]=r,t[1]=n,t[2]=i):i=t[2],i}function Qv(){return(0,Q.use)(Xv)}var $v=[{key:`tl`,dx:-1,dy:-1,cursor:`nwse-resize`,className:`ok-resize-handle ok-resize-handle--tl`},{key:`t`,dx:0,dy:-1,cursor:`ns-resize`,className:`ok-resize-handle ok-resize-handle--t`},{key:`tr`,dx:1,dy:-1,cursor:`nesw-resize`,className:`ok-resize-handle ok-resize-handle--tr`},{key:`r`,dx:1,dy:0,cursor:`ew-resize`,className:`ok-resize-handle ok-resize-handle--r`},{key:`br`,dx:1,dy:1,cursor:`nwse-resize`,className:`ok-resize-handle ok-resize-handle--br`},{key:`b`,dx:0,dy:1,cursor:`ns-resize`,className:`ok-resize-handle ok-resize-handle--b`},{key:`bl`,dx:-1,dy:1,cursor:`nesw-resize`,className:`ok-resize-handle ok-resize-handle--bl`},{key:`l`,dx:-1,dy:0,cursor:`ew-resize`,className:`ok-resize-handle ok-resize-handle--l`}];function ey(e){let t=(0,$.c)(7),{targetRef:n,onResize:r,onResizeEnd:i,bounds:a}=e,{_:o}=s(),c=(0,Q.useRef)(null),l;t[0]!==a?.maxHeight||t[1]!==a?.maxWidth||t[2]!==a?.minHeight||t[3]!==a?.minWidth?(l=function(e,t){let n=t===`w`?a?.minWidth??64:a?.minHeight??64,r=t===`w`?a?.maxWidth??1/0:a?.maxHeight??1/0;return Math.max(n,Math.min(r,e))},t[0]=a?.maxHeight,t[1]=a?.maxWidth,t[2]=a?.minHeight,t[3]=a?.minWidth,t[4]=l):l=t[4];let u=l,d=function(e,t){let a=n.current;if(!a)return;e.preventDefault(),e.stopPropagation();let o=a.getBoundingClientRect();c.current={handle:t,startX:e.clientX,startY:e.clientY,startWidth:o.width,startHeight:o.height,latestWidth:o.width,latestHeight:o.height,hasMoved:!1};let s=e.currentTarget;try{s.setPointerCapture(e.pointerId)}catch{}document.body.style.setProperty(`cursor`,t.cursor),document.body.style.setProperty(`user-select`,`none`);let l=function(e){let t=c.current;if(!t)return;let n=(e.clientX-t.startX)*t.handle.dx,i=(e.clientY-t.startY)*t.handle.dy,a=t.handle.dx===0?t.startWidth:u(t.startWidth+n,`w`),o=t.handle.dy===0?t.startHeight:u(t.startHeight+i,`h`);t.latestWidth=a,t.latestHeight=o,t.hasMoved=!0,r({width:a,height:o})};function d(){let e=c.current;if(!e)return;let t={width:e.latestWidth,height:e.latestHeight},n=e.hasMoved;c.current=null,document.body.style.removeProperty(`cursor`),document.body.style.removeProperty(`user-select`),window.removeEventListener(`pointermove`,l),window.removeEventListener(`pointerup`,d),window.removeEventListener(`pointercancel`,d),n&&i?.(t)}window.addEventListener(`pointermove`,l),window.addEventListener(`pointerup`,d),window.addEventListener(`pointercancel`,d)},f=$v.map(e=>{let t=e.key;return(0,Z.jsx)(`button`,{type:`button`,className:Gt(e.className),"aria-label":o({id:`NxW-md`,values:{handleKey:t}}),tabIndex:-1,style:{cursor:e.cursor},onPointerDown:t=>d(t,e)},t)}),p;return t[5]===f?p=t[6]:(p=(0,Z.jsx)(`div`,{className:`ok-resize-overlay`,contentEditable:!1,"aria-hidden":`true`,children:f}),t[5]=f,t[6]=p),p}var ty=`26rem`,ny=`Embedded content`,ry=/^https?:\/\//i;function iy(e){try{return new URL(e).origin!==window.location.origin}catch{return!1}}function ay(e){return!(typeof e!=`string`||!ry.test(e)||!iy(e))}function oy(e){let t=(0,$.c)(24),{src:n,title:r,width:i,height:a}=e,o=(0,Q.useRef)(null),s=Qv(),c=i||void 0,l=a||ty,u;t[0]!==c||t[1]!==l?(u={width:c,height:l},t[0]=c,t[1]=l,t[2]=u):u=t[2];let d=u,f,p;if(t[3]!==a||t[4]!==i?(f=()=>{let e=o.current;e&&(e.style.width=i||``,e.style.height=a||ty)},p=[i,a],t[3]=a,t[4]=i,t[5]=f,t[6]=p):(f=t[5],p=t[6]),(0,Q.useEffect)(f,p),!ay(n)){let e=`Embed a URL`;typeof n==`string`&&n.length>0&&(e=ry.test(n)?`Embed only supports cross-origin URLs`:`URL must start with http:// or https://`);let r;return t[7]===e?r=t[8]:(r=(0,Z.jsx)(`div`,{className:`ok-embed ok-embed--placeholder`,contentEditable:!1,children:(0,Z.jsx)(`span`,{children:e})}),t[7]=e,t[8]=r),r}let m;t[9]===s?m=t[10]:(m=e=>{if(!s)return;let{editor:t,getPos:n}=s,r=n();if(typeof r==`number`)try{let n=t.state.doc.nodeAt(r);if(!n||n.type.name!==`jsxComponent`)return;let i={...n.attrs.props??{},width:`${Math.round(e.width)}px`,height:`${Math.round(e.height)}px`};t.view.dispatch(t.state.tr.setNodeMarkup(r,null,{...n.attrs,props:i,sourceDirty:!0}))}catch(e){let t=e;if(t instanceof RangeError)return;throw t}},t[9]=s,t[10]=m);let h=m,g;t[11]===n?g=t[12]:(g=Ke(n),t[11]=n,t[12]=g);let _=g,v=_===n?`no-referrer`:`strict-origin-when-cross-origin`,y=r||ny,b;t[13]!==_||t[14]!==v||t[15]!==y?(b=(0,Z.jsx)(`iframe`,{title:y,src:_,sandbox:`allow-scripts allow-same-origin allow-forms allow-popups allow-popups-to-escape-sandbox allow-presentation`,referrerPolicy:v,loading:`lazy`,className:`ok-embed-frame`}),t[13]=_,t[14]=v,t[15]=y,t[16]=b):b=t[16];let x;t[17]!==s||t[18]!==h?(x=s?(0,Z.jsx)(ey,{targetRef:o,bounds:{minWidth:192,maxWidth:2e3,minHeight:128,maxHeight:Math.round(window.innerHeight*.9)},onResize:e=>{let t=o.current;t&&(t.style.width=`${e.width}px`,t.style.height=`${e.height}px`)},onResizeEnd:h}):null,t[17]=s,t[18]=h,t[19]=x):x=t[19];let S;return t[20]!==d||t[21]!==x||t[22]!==b?(S=(0,Z.jsxs)(`div`,{className:`ok-embed`,style:d,ref:o,contentEditable:!1,children:[b,x]}),t[20]=d,t[21]=x,t[22]=b,t[23]=S):S=t[23],S}function sy(e){if(!e)return``;let t,n=null;try{let r=new URL(e,`https://placeholder.local`);n=r.protocol,t=r.pathname}catch{t=e.split(`?`)[0]??e}if(n===`data:`||n===`blob:`)return``;let r=t.split(`/`),i=r[r.length-1]??``;try{return decodeURIComponent(i)}catch{return i}}function cy(e){let t=(0,$.c)(18),n;t[0]!==e.name||t[1]!==e.src?(n=e.name?.trim()||sy(e.src)||`Untitled file`,t[0]=e.name,t[1]=e.src,t[2]=n):n=t[2];let r=n,i=e.size?.trim()?e.size:null,a;t[3]===e.src?a=t[4]:(a=e.src?S(e.src):void 0,t[3]=e.src,t[4]=a);let o=a,s;t[5]===o?s=t[6]:(s=e=>{e.stopPropagation(),e.preventDefault(),o&&window.open(o,`_blank`,`noopener,noreferrer`)},t[5]=o,t[6]=s);let c=s,l;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Z.jsx)(eo,{className:`ok-file-icon`,"aria-hidden":`true`}),t[7]=l):l=t[7];let u;t[8]===r?u=t[9]:(u=(0,Z.jsx)(`span`,{className:`ok-file-name`,children:r}),t[8]=r,t[9]=u);let d;t[10]===i?d=t[11]:(d=i?(0,Z.jsx)(`span`,{className:`ok-file-size`,children:i}):null,t[10]=i,t[11]=d);let f;return t[12]!==c||t[13]!==o||t[14]!==e.title||t[15]!==u||t[16]!==d?(f=(0,Z.jsxs)(`a`,{href:o,title:e.title,className:`ok-file-attachment`,target:`_blank`,rel:`noopener noreferrer`,onMouseDown:ly,onClick:c,children:[l,u,d]}),t[12]=c,t[13]=o,t[14]=e.title,t[15]=u,t[16]=d,t[17]=f):f=t[17],f}function ly(e){return e.stopPropagation()}function uy(){return Q.createElement(`svg`,{"aria-hidden":`true`,"data-rmiz-btn-unzoom-icon":!0,fill:`currentColor`,focusable:`false`,viewBox:`0 0 16 16`,xmlns:`http://www.w3.org/2000/svg`},Q.createElement(`path`,{d:`M 14.144531 1.148438 L 9 6.292969 L 9 3 L 8 3 L 8 8 L 13 8 L 13 7 L 9.707031 7 L 14.855469 1.851563 Z M 8 8 L 3 8 L 3 9 L 6.292969 9 L 1.148438 14.144531 L 1.851563 14.855469 L 7 9.707031 L 7 13 L 8 13 Z`}))}function dy(){return Q.createElement(`svg`,{"aria-hidden":`true`,"data-rmiz-btn-zoom-icon":!0,fill:`currentColor`,focusable:`false`,viewBox:`0 0 16 16`,xmlns:`http://www.w3.org/2000/svg`},Q.createElement(`path`,{d:`M 9 1 L 9 2 L 12.292969 2 L 2 12.292969 L 2 9 L 1 9 L 1 14 L 6 14 L 6 13 L 2.707031 13 L 13 2.707031 L 13 6 L 14 6 L 14 1 Z`}))}function fy(e){return typeof Element>`u`?!1:e instanceof Element}var py=(e,t)=>fy(t)&&t.tagName.toUpperCase()===e,my=e=>py(`DIV`,e)||py(`SPAN`,e),hy=e=>py(`IMG`,e),gy=e=>e.complete&&e.naturalHeight!==0,_y=e=>py(`SVG`,e),vy=({height:e,offset:t,width:n})=>Math.min((window.innerWidth-t*2)/n,(window.innerHeight-t*2)/e),yy=({containerHeight:e,containerWidth:t,offset:n,targetHeight:r,targetWidth:i})=>{let a=vy({height:r,offset:n,width:i}),o=i>r?i/t:r/e;return a>1?o:a*o},by=({containerHeight:e,containerWidth:t,hasScalableSrc:n,offset:r,targetHeight:i,targetWidth:a})=>e===0||t===0?1:!n&&i!==0&&a!==0?yy({containerHeight:e,containerWidth:t,offset:r,targetHeight:i,targetWidth:a}):vy({height:e,offset:r,width:t}),xy=/url(?:\(['"]?)(?<url>.*?)(?:['"]?\))/,Sy=e=>{if(e!==null){if(hy(e))return e.currentSrc===``?void 0:e.currentSrc;if(my(e)){let{backgroundImage:t}=window.getComputedStyle(e);if(t!==``)return xy.exec(t)?.[1]}}},Cy=e=>{if(e!==null)return hy(e)?e.alt:e.getAttribute(`aria-label`)??void 0},wy=({containerHeight:e,containerLeft:t,containerTop:n,containerWidth:r,hasScalableSrc:i,offset:a,targetHeight:o,targetWidth:s})=>{let c=by({containerHeight:e,containerWidth:r,hasScalableSrc:i,offset:a,targetHeight:o,targetWidth:s});return{top:n,left:t,width:r*c,height:e*c,transform:`translate(0,0) scale(${1/c})`}},Ty=({position:e,relativeNum:t})=>{let n=parseFloat(e);return e.endsWith(`%`)?t*n/100:n},Ey=({containerHeight:e,containerLeft:t,containerTop:n,containerWidth:r,hasScalableSrc:i,objectFit:a,objectPosition:o,offset:s,targetHeight:c,targetWidth:l})=>{let u=a;if(u===`scale-down`&&(u=l<=r&&c<=e?`none`:`contain`),u===`cover`||u===`contain`){let a=r/l,d=e/c,f=u===`cover`?Math.max(a,d):Math.min(a,d),[p=`50%`,m=`50%`]=o.split(` `),h=Ty({position:p,relativeNum:r-l*f}),g=Ty({position:m,relativeNum:e-c*f}),_=by({containerHeight:c*f,containerWidth:l*f,hasScalableSrc:i,offset:s,targetHeight:c,targetWidth:l});return{top:n+g,left:t+h,width:l*f*_,height:c*f*_,transform:`translate(0,0) scale(${1/_})`}}else if(u===`none`){let[a=`50%`,u=`50%`]=o.split(` `),d=Ty({position:a,relativeNum:r-l}),f=Ty({position:u,relativeNum:e-c}),p=by({containerHeight:c,containerWidth:l,hasScalableSrc:i,offset:s,targetHeight:c,targetWidth:l});return{top:n+f,left:t+d,width:l*p,height:c*p,transform:`translate(0,0) scale(${1/p})`}}else if(u===`fill`){let t=r/l,n=e/c,a=Math.max(t,n),o=by({containerHeight:c*a,containerWidth:l*a,hasScalableSrc:i,offset:s,targetHeight:c,targetWidth:l});return{width:r*o,height:e*o,transform:`translate(0,0) scale(${1/o})`}}else return{}},Dy=({backgroundPosition:e,backgroundSize:t,containerHeight:n,containerLeft:r,containerTop:i,containerWidth:a,hasScalableSrc:o,offset:s,targetHeight:c,targetWidth:l})=>{if(t===`cover`||t===`contain`){let u=a/l,d=n/c,f=t===`cover`?Math.max(u,d):Math.min(u,d),[p=`50%`,m=`50%`]=e.split(` `),h=Ty({position:p,relativeNum:a-l*f}),g=Ty({position:m,relativeNum:n-c*f}),_=by({containerHeight:c*f,containerWidth:l*f,hasScalableSrc:o,offset:s,targetHeight:c,targetWidth:l});return{top:i+g,left:r+h,width:l*f*_,height:c*f*_,transform:`translate(0,0) scale(${1/_})`}}else if(t===`auto`){let[t=`50%`,u=`50%`]=e.split(` `),d=Ty({position:t,relativeNum:a-l}),f=Ty({position:u,relativeNum:n-c}),p=by({containerHeight:c,containerWidth:l,hasScalableSrc:o,offset:s,targetHeight:c,targetWidth:l});return{top:i+f,left:r+d,width:l*p,height:c*p,transform:`translate(0,0) scale(${1/p})`}}else{let[u=`50%`,d=`50%`]=t.split(` `),f=Ty({position:u,relativeNum:a}),p=Ty({position:d,relativeNum:n}),m=f/l,h=p/c,g=Math.min(m,h),[_=`50%`,v=`50%`]=e.split(` `),y=Ty({position:_,relativeNum:a-l*g}),b=Ty({position:v,relativeNum:n-c*g}),x=by({containerHeight:c*g,containerWidth:l*g,hasScalableSrc:o,offset:s,targetHeight:c,targetWidth:l});return{top:i+b,left:r+y,width:l*g*x,height:c*g*x,transform:`translate(0,0) scale(${1/x})`}}},Oy=/\.svg$/i,ky=({hasZoomImg:e,imgSrc:t,isSvg:n,isZoomed:r,loadedImgEl:i,offset:a,shouldRefresh:o,targetEl:s})=>{let c=n||t?.slice(0,18)===`data:image/svg+xml`||e||t!==void 0&&Oy.test(t),l=s.getBoundingClientRect(),u=window.getComputedStyle(s),d=i!=null&&my(s),f=i!=null&&!d,p=i!=null&&i.naturalHeight!==0?i.naturalHeight:l.height,m=i!=null&&i.naturalWidth!==0?i.naturalWidth:l.width,h=wy({containerHeight:l.height,containerLeft:l.left,containerTop:l.top,containerWidth:l.width,hasScalableSrc:c,offset:a,targetHeight:p,targetWidth:m}),g=f?Ey({containerHeight:l.height,containerLeft:l.left,containerTop:l.top,containerWidth:l.width,hasScalableSrc:c,objectFit:u.objectFit,objectPosition:u.objectPosition,offset:a,targetHeight:p,targetWidth:m}):void 0,_=d?Dy({backgroundPosition:u.backgroundPosition,backgroundSize:u.backgroundSize,containerHeight:l.height,containerLeft:l.left,containerTop:l.top,containerWidth:l.width,hasScalableSrc:c,offset:a,targetHeight:p,targetWidth:m}):void 0,v={...h,...g,..._};if(r){let e=window.innerWidth/2,t=window.innerHeight/2,n=parseFloat(String(v.left??0))+parseFloat(String(v.width??0))/2,r=parseFloat(String(v.top??0))+parseFloat(String(v.height??0))/2,i=e-n,a=t-r;o&&(v.transitionDuration=`0.01ms`),v.transform=`translate(${i}px,${a}px) scale(1)`}return v},Ay=e=>{if(e==null)return{};if(_y(e)){let{parentElement:t}=e,n=e.getBoundingClientRect();if(t==null)return{height:n.height,left:n.left,width:n.width,top:n.top};{let e=t.getBoundingClientRect();return{height:n.height,left:e.left-n.left,top:e.top-n.top,width:n.width}}}else return{height:e.offsetHeight,left:e.offsetLeft,width:e.offsetWidth,top:e.offsetTop}},jy=e=>{let t=`-zoom`,n=[`clip-path`,`fill`,`mask`,`marker-start`,`marker-mid`,`marker-end`],r=new Map;if(e.hasAttribute(`id`)){let{id:n}=e,i=n+t;r.set(n,i);let a=e;a.id=i}e.querySelectorAll(`[id]`).forEach(e=>{let{id:n}=e,i=n+t;r.set(n,i);let a=e;a.id=i}),r.forEach((t,r)=>{let i=`url(#${r})`,a=`url(#${t})`,o=n.map(e=>`[${e}="${i}"]`).join(`, `);e.querySelectorAll(o).forEach(e=>{n.forEach(t=>{e.getAttribute(t)===i&&e.setAttribute(t,a)})})}),e.querySelectorAll(`style`).forEach(e=>{r.forEach((t,n)=>{let{textContent:r}=e;if(r!==``){let i=e;i.textContent=r.replaceAll(`#${n}`,`#${t}`)}})})},My=[`img`,`svg`,`[role="img"]`,`[data-zoom]`].map(e=>`${e}:not([aria-hidden="true"])`).join(`,`),Ny={overflow:``,width:``};function Py(){let e=document.querySelector(`[data-rmiz-portal]`);if(e!=null)return e;let t=document.createElement(`div`);return t.setAttribute(`data-rmiz-portal`,``),document.body.appendChild(t),t}function Fy(e){e.preventDefault()}function Iy(e){return Q.createElement(Ly,{...e})}var Ly=class extends Q.Component{constructor(){super(...arguments),this.state={id:``,isZoomImgLoaded:!1,loadedImgEl:void 0,modalState:`UNLOADED`,shouldRefresh:!1,styleGhost:{}},this.refContent=Q.createRef(),this.refDialog=Q.createRef(),this.refModalContent=Q.createRef(),this.refModalImg=Q.createRef(),this.refWrap=Q.createRef(),this.imgEl=null,this.isScaling=!1,this.prevBodyAttrs=Ny,this.styleModalImg={},this.handleModalStateChange=e=>{let{state:{modalState:t}}=this;e!==`LOADING`&&t===`LOADING`?(this.loadZoomImg(),window.addEventListener(`resize`,this.handleResize,{passive:!0}),window.addEventListener(`touchstart`,this.handleTouchStart,{passive:!0}),window.addEventListener(`touchmove`,this.handleTouchMove,{passive:!0}),window.addEventListener(`touchend`,this.handleTouchEnd,{passive:!0}),window.addEventListener(`touchcancel`,this.handleTouchCancel,{passive:!0}),document.addEventListener(`keydown`,this.handleKeyDown,!0)):e!==`LOADED`&&t===`LOADED`?window.addEventListener(`wheel`,this.handleWheel,{passive:!0}):e!==`UNLOADING`&&t===`UNLOADING`?(this.ensureImgTransitionEnd(),window.removeEventListener(`wheel`,this.handleWheel),window.removeEventListener(`touchstart`,this.handleTouchStart),window.removeEventListener(`touchmove`,this.handleTouchMove),window.removeEventListener(`touchend`,this.handleTouchEnd),window.removeEventListener(`touchcancel`,this.handleTouchCancel),document.removeEventListener(`keydown`,this.handleKeyDown,!0)):e!==`UNLOADED`&&t===`UNLOADED`&&(this.bodyScrollEnable(),window.removeEventListener(`resize`,this.handleResize),this.refModalImg.current?.removeEventListener(`transitionend`,this.handleImgTransitionEnd),this.refDialog.current?.close())},this.setId=()=>{let e=()=>Math.random().toString(16).slice(-4);this.setState({id:e()+e()+e()})},this.setAndTrackImg=()=>{let{refContent:{current:e}}=this;e!=null&&(this.imgEl=e.querySelector(My),this.imgEl===null?this.contentNotFoundChangeObserver??(this.contentNotFoundChangeObserver=new MutationObserver(this.setAndTrackImg),this.contentNotFoundChangeObserver.observe(e,{childList:!0,subtree:!0})):(this.contentNotFoundChangeObserver?.disconnect(),this.imgEl.addEventListener(`load`,this.handleImgLoad),this.imgEl.addEventListener(`click`,this.handleZoom),this.state.loadedImgEl??this.handleImgLoad(),this.imgElResizeObserver=new ResizeObserver(e=>{let[t]=e;t?.target!==void 0&&(this.imgEl=t.target,this.setState({styleGhost:Ay(this.imgEl)}))}),this.imgElResizeObserver.observe(this.imgEl),this.contentChangeObserver??(this.contentChangeObserver=new MutationObserver(()=>{this.setState({styleGhost:Ay(this.imgEl)})}),this.contentChangeObserver.observe(e,{attributes:!0,childList:!0,subtree:!0}))))},this.handleIfZoomChanged=e=>{let{props:{isZoomed:t}}=this;!e&&t?this.zoom():e&&!t&&this.unzoom()},this.handleImgLoad=()=>{let e=Sy(this.imgEl);if(e==null||e===``)return;let t=new Image,{imgEl:n}=this;if(hy(n)){let{sizes:e,srcset:r,crossOrigin:i}=n;t.sizes=e,t.srcset=r,t.crossOrigin=i}t.src=e;let r=()=>{this.setState({loadedImgEl:t,styleGhost:Ay(this.imgEl)})};t.decode().then(r).catch(()=>{if(gy(t)){r();return}t.onload=r})},this.handleZoom=e=>{this.props.isDisabled!==!0&&this.hasImage()&&this.props.onZoomChange?.(!0,{event:e})},this.handleUnzoom=e=>{this.props.isDisabled!==!0&&this.props.onZoomChange?.(!1,{event:e})},this.handleBtnUnzoomClick=e=>{e.preventDefault(),e.stopPropagation(),this.handleUnzoom(e)},this.handleDialogClick=e=>{(e.target===this.refModalContent.current||e.target===this.refModalImg.current)&&(e.stopPropagation(),this.handleUnzoom(e))},this.handleDialogClose=e=>{e.stopPropagation(),this.handleUnzoom(e)},this.handleKeyDown=e=>{e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),this.handleUnzoom(e))},this.handleWheel=e=>{e.ctrlKey||(e.stopPropagation(),queueMicrotask(()=>{this.handleUnzoom(e)}))},this.handleTouchStart=e=>{if(e.touches.length>1){this.isScaling=!0;return}let{changedTouches:t}=e,[n]=t;if(t.length===1&&n!==void 0){let{screenY:e}=n;this.touchYStart=e}},this.handleTouchMove=e=>{let t=window.visualViewport?.scale??1,{changedTouches:n}=e,[r]=n;if(this.props.canSwipeToUnzoom&&!this.isScaling&&t<=1&&this.touchYStart!=null&&r!==void 0){let{screenY:t}=r;this.touchYEnd=t;let n=Math.max(this.touchYStart,this.touchYEnd),i=Math.min(this.touchYStart,this.touchYEnd);Math.abs(n-i)>this.props.swipeToUnzoomThreshold&&(this.touchYStart=void 0,this.touchYEnd=void 0,this.handleUnzoom(e))}},this.handleTouchEnd=()=>{this.isScaling=!1,this.touchYStart=void 0,this.touchYEnd=void 0},this.handleTouchCancel=()=>{this.isScaling=!1,this.touchYStart=void 0,this.touchYEnd=void 0},this.handleResize=()=>{this.setState({shouldRefresh:!0})},this.hasImage=()=>this.imgEl!==null&&(this.state.loadedImgEl!==void 0||_y(this.imgEl))&&window.getComputedStyle(this.imgEl).display!==`none`,this.zoom=()=>{this.bodyScrollDisable(),this.refDialog.current?.showModal(),this.refModalImg.current?.addEventListener(`transitionend`,this.handleImgTransitionEnd),this.setState({modalState:`LOADING`})},this.unzoom=()=>{this.setState({modalState:`UNLOADING`})},this.handleImgTransitionEnd=()=>{clearTimeout(this.timeoutTransitionEnd),this.state.modalState===`LOADING`?this.setState({modalState:`LOADED`}):this.state.modalState===`UNLOADING`&&this.setState({shouldRefresh:!1,modalState:`UNLOADED`})},this.ensureImgTransitionEnd=()=>{if(this.refModalImg.current!==null){let{transitionDuration:e}=window.getComputedStyle(this.refModalImg.current),t=parseFloat(e);if(t!==0&&!Number.isNaN(t)){let n=t*(e.endsWith(`ms`)?1:1e3)+50;this.timeoutTransitionEnd=setTimeout(this.handleImgTransitionEnd,n)}}},this.bodyScrollDisable=()=>{this.prevBodyAttrs={overflow:document.body.style.overflow,width:document.body.style.width};let{body:{clientWidth:e}}=document;document.body.style.overflow=`hidden`,document.body.style.width=`${e}px`},this.bodyScrollEnable=()=>{let{prevBodyAttrs:{overflow:e,width:t}}=this;document.body.style.width=t,document.body.style.overflow=e,this.prevBodyAttrs=Ny},this.loadZoomImg=()=>{let{props:{zoomImg:e}}=this;if(e==null)return;let{src:t}=e;if(t!==void 0&&t!==``){let n=new Image;n.sizes=e.sizes??``,n.srcset=e.srcSet??``,n.crossOrigin=e.crossOrigin??void 0,n.src=t;let r=()=>{this.setState({isZoomImgLoaded:!0})};n.decode().then(r).catch(()=>{if(gy(n)){r();return}n.onload=r})}},this.UNSAFE_handleSvg=()=>{let{imgEl:e,refModalImg:t,styleModalImg:n}=this;if(_y(e)){let r=e.cloneNode(!0);jy(r),r.style.width=`${n.width??0}px`,r.style.height=`${n.height??0}px`,r.addEventListener(`click`,this.handleUnzoom),t.current?.firstChild?.remove(),t.current?.appendChild(r)}}}render(){let{handleBtnUnzoomClick:e,handleDialogClick:t,handleDialogClose:n,handleUnzoom:r,handleZoom:i,imgEl:a,props:{a11yNameButtonUnzoom:o,a11yNameButtonZoom:s,children:c,classDialog:l,IconUnzoom:u,IconZoom:d,isZoomed:f,wrapElement:p,ZoomContent:m,zoomImg:h,zoomMargin:g},refContent:_,refDialog:v,refModalContent:y,refModalImg:b,refWrap:x,state:{id:S,isZoomImgLoaded:C,loadedImgEl:w,modalState:T,shouldRefresh:E,styleGhost:D}}=this,O=`rmiz-modal-${S}`,k=`rmiz-modal-img-${S}`,A=my(a),j=hy(a),M=_y(a),N=Cy(a),P=Sy(a),F=j?a.sizes:void 0,I=j?a.srcset:void 0,L=j?a.crossOrigin:void 0,R=h?.src!==void 0&&h.src!==``,ee=this.hasImage(),z=N!==void 0&&N!==``?`${s}: ${N}`:s,B=T===`LOADING`||T===`LOADED`,te=ee?`found`:`not-found`,V=T===`UNLOADED`||T===`UNLOADING`?`hidden`:`visible`,H={visibility:T===`UNLOADED`?`visible`:`hidden`};this.styleModalImg=ee&&a!==null?ky({hasZoomImg:R,imgSrc:P,isSvg:M,isZoomed:f&&B,loadedImgEl:w,offset:g,shouldRefresh:E,targetEl:a}):{};let U=null;if(ee){let t=j||A?Q.createElement(`img`,{alt:N,crossOrigin:L,sizes:F,src:P,srcSet:I,...C&&T===`LOADED`?h:{},"data-rmiz-modal-img":``,height:this.styleModalImg.height??void 0,id:k,ref:b,style:this.styleModalImg,width:this.styleModalImg.width??void 0}):M?Q.createElement(`div`,{"data-rmiz-modal-img":!0,ref:b,style:this.styleModalImg}):null,n=Q.createElement(`button`,{"aria-label":o,"data-rmiz-btn-unzoom":``,onClick:e,type:`button`},Q.createElement(u,null));U=m==null?Q.createElement(Q.Fragment,null,t,n):Q.createElement(m,{buttonUnzoom:n,modalState:T,img:t,isZoomImgLoaded:C,onUnzoom:r})}return Q.createElement(p,{"aria-owns":ee?O:void 0,"data-rmiz":``,ref:x},Q.createElement(p,{"data-rmiz-content":te,ref:_,style:H},c),ee&&Q.createElement(p,{"data-rmiz-ghost":``,style:D},Q.createElement(`button`,{"aria-label":z,"data-rmiz-btn-zoom":``,onClick:i,type:`button`},Q.createElement(d,null))),ee&&Go.createPortal(Q.createElement(`dialog`,{"aria-labelledby":k,"aria-modal":`true`,className:l,"data-rmiz-modal":``,id:O,onClick:t,onClose:n,onCancel:Fy,ref:v,role:`dialog`},Q.createElement(`div`,{"data-rmiz-modal-overlay":V}),Q.createElement(`div`,{"data-rmiz-modal-content":``,ref:y},U)),Py()))}componentDidMount(){this.setId(),this.setAndTrackImg(),this.handleImgLoad(),this.UNSAFE_handleSvg()}componentWillUnmount(){this.state.modalState!==`UNLOADED`&&this.bodyScrollEnable(),this.contentChangeObserver?.disconnect(),this.contentNotFoundChangeObserver?.disconnect(),this.imgElResizeObserver?.disconnect(),this.imgEl?.removeEventListener(`load`,this.handleImgLoad),this.imgEl?.removeEventListener(`click`,this.handleZoom),this.refModalImg.current?.removeEventListener(`transitionend`,this.handleImgTransitionEnd),window.removeEventListener(`wheel`,this.handleWheel),window.removeEventListener(`touchstart`,this.handleTouchStart),window.removeEventListener(`touchmove`,this.handleTouchMove),window.removeEventListener(`touchend`,this.handleTouchEnd),window.removeEventListener(`touchcancel`,this.handleTouchCancel),window.removeEventListener(`resize`,this.handleResize),document.removeEventListener(`keydown`,this.handleKeyDown,!0)}componentDidUpdate(e,t){this.handleModalStateChange(t.modalState),this.UNSAFE_handleSvg(),this.handleIfZoomChanged(e.isZoomed)}};Ly.defaultProps={a11yNameButtonUnzoom:`Minimize image`,a11yNameButtonZoom:`Expand image`,canSwipeToUnzoom:!0,IconUnzoom:uy,IconZoom:dy,isDisabled:!1,swipeToUnzoomThreshold:10,wrapElement:`div`,zoomMargin:0};function Ry({onZoomChange:e,...t}){let[n,r]=Q.useState(!1),i=Q.useCallback((t,{event:n})=>{r(t),e?.(t,{event:n})},[e]);return Q.createElement(Iy,{...t,isZoomed:n,onZoomChange:i})}function zy(e,t){return typeof e==`number`&&typeof t==`number`&&e>0&&t>0}function By(e,t,n){return zy(e,t)?{...n,width:`${e}px`,aspectRatio:`${e} / ${t}`}:n}function Vy(e){let t=(0,$.c)(52),n,r,i,a,o,c,l,u,d,f,p,m;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],c=t[6],l=t[7],u=t[8],d=t[9],f=t[10],p=t[11],m=t[12]):({width:m,height:r,loadingTestId:d,slotTestId:f,slotClassName:c,className:n,onLoad:o,onError:a,src:l,style:u,alt:p,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=c,t[7]=l,t[8]=u,t[9]=d,t[10]=f,t[11]=p,t[12]=m);let h=d===void 0?`image-loading-skeleton`:d,g=f===void 0?`image-slot`:f,_=p===void 0?``:p,{_:v}=s(),y=(0,Q.useRef)(null),[b,x]=(0,Q.useState)(!1),S;t[13]!==r||t[14]!==m?(S=zy(m,r),t[13]=r,t[14]=m,t[15]=S):S=t[15];let C=S,w;t[16]!==r||t[17]!==u||t[18]!==m?(w=By(m,r,u),t[16]=r,t[17]=u,t[18]=m,t[19]=w):w=t[19];let T=w,E;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(E=()=>{y.current?.complete?x(!0):x(!1)},t[20]=E):E=t[20];let D;t[21]===l?D=t[22]:(D=[l],t[21]=l,t[22]=D),(0,Q.useLayoutEffect)(E,D);let O=!C&&!b&&`aspect-[16/9] w-full max-w-full`,k;t[23]!==c||t[24]!==O?(k=Gt(`relative inline-block overflow-hidden`,O,c),t[23]=c,t[24]=O,t[25]=k):k=t[25];let A;t[26]!==v||t[27]!==b||t[28]!==h?(A=!b&&(0,Z.jsx)(`span`,{"data-testid":h,role:`status`,"aria-busy":`true`,"aria-label":v({id:`N1YYa7`}),className:`absolute inset-0 animate-pulse rounded-md bg-muted motion-reduce:animate-none`}),t[26]=v,t[27]=b,t[28]=h,t[29]=A):A=t[29];let j=b?`opacity-100`:`opacity-0`,M;t[30]!==n||t[31]!==j?(M=Gt(`block max-w-full transition-opacity motion-reduce:transition-none`,j,n),t[30]=n,t[31]=j,t[32]=M):M=t[32];let N;t[33]===o?N=t[34]:(N=e=>{x(!0),o?.(e)},t[33]=o,t[34]=N);let P;t[35]===a?P=t[36]:(P=e=>{x(!0),a?.(e)},t[35]=a,t[36]=P);let F;t[37]!==_||t[38]!==r||t[39]!==i||t[40]!==l||t[41]!==M||t[42]!==N||t[43]!==P||t[44]!==m?(F=(0,Z.jsx)(`img`,{...i,ref:y,src:l,alt:_,width:m,height:r,className:M,onLoad:N,onError:P}),t[37]=_,t[38]=r,t[39]=i,t[40]=l,t[41]=M,t[42]=N,t[43]=P,t[44]=m,t[45]=F):F=t[45];let I;return t[46]!==T||t[47]!==g||t[48]!==A||t[49]!==F||t[50]!==k?(I=(0,Z.jsxs)(`span`,{"data-testid":g,className:k,style:T,children:[A,F]}),t[46]=T,t[47]=g,t[48]=A,t[49]=F,t[50]=k,t[51]=I):I=t[51],I}function Hy(e){return e??`lazy`}function Uy(e){if(typeof e!=`string`)return e;let t=Number(e);return Number.isFinite(t)&&t>0?t:e}function Wy(e){let t=(0,$.c)(21),n;t[0]===e.src?n=t[1]:(n=e.src===void 0?void 0:S(e.src),t[0]=e.src,t[1]=n);let r=e.alt??``,i;t[2]===e.width?i=t[3]:(i=Uy(e.width),t[2]=e.width,t[3]=i);let a;t[4]===e.height?a=t[5]:(a=Uy(e.height),t[4]=e.height,t[5]=a);let o=e.title,s;t[6]===e.loading?s=t[7]:(s=Hy(e.loading),t[6]=e.loading,t[7]=s);let c;return t[8]!==e.crossorigin||t[9]!==e.decoding||t[10]!==e.fetchpriority||t[11]!==e.referrerpolicy||t[12]!==e.sizes||t[13]!==e.srcset||t[14]!==e.title||t[15]!==n||t[16]!==r||t[17]!==i||t[18]!==a||t[19]!==s?(c=(0,Z.jsx)(Vy,{src:n,alt:r,width:i,height:a,title:o,loading:s,srcSet:e.srcset,sizes:e.sizes,decoding:e.decoding,fetchPriority:e.fetchpriority,crossOrigin:e.crossorigin,referrerPolicy:e.referrerpolicy}),t[8]=e.crossorigin,t[9]=e.decoding,t[10]=e.fetchpriority,t[11]=e.referrerpolicy,t[12]=e.sizes,t[13]=e.srcset,t[14]=e.title,t[15]=n,t[16]=r,t[17]=i,t[18]=a,t[19]=s,t[20]=c):c=t[20],c}function Gy(e){let t=(0,$.c)(3),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={sizes:void 0},t[0]=n):n=t[0];let r;return t[1]===e?r=t[2]:(r=(0,Z.jsx)(Ry,{wrapElement:`span`,zoomMargin:20,zoomImg:n,children:(0,Z.jsx)(Wy,{...e})}),t[1]=e,t[2]=r),r}var Ky=(0,Q.lazy)(async()=>{let{default:e}=await n(async()=>{let{default:e}=await import(`./katex-BunQWEOH.js`);return{default:e}},[],import.meta.url);function t(t){let n=(0,$.c)(7),r;n[0]===t.formula?r=n[1]:(r=e.renderToString(t.formula,{displayMode:!0,throwOnError:!1,strict:`ignore`,trust:!1}),n[0]=t.formula,n[1]=r);let i=r,a;n[2]===i?a=n[3]:(a={__html:i},n[2]=i,n[3]=a);let o;return n[4]!==t.id||n[5]!==a?(o=(0,Z.jsx)(`div`,{className:`math math-display`,"data-component-type":`math`,id:t.id,dangerouslySetInnerHTML:a}),n[4]=t.id,n[5]=a,n[6]=o):o=n[6],o}return{default:t}});function qy(e){let t=(0,$.c)(3),n=e.formula||`\xA0`,r;return t[0]!==e.id||t[1]!==n?(r=(0,Z.jsx)(`div`,{className:`math math-placeholder`,"data-component-type":`math`,id:e.id,children:n}),t[0]=e.id,t[1]=n,t[2]=r):r=t[2],r}function Jy(e){let t=(0,$.c)(6),n=e.formula??``;if(!n){let r;return t[0]!==n||t[1]!==e.id?(r=(0,Z.jsx)(qy,{formula:n,id:e.id}),t[0]=n,t[1]=e.id,t[2]=r):r=t[2],r}let r;return t[3]!==n||t[4]!==e.id?(r=(0,Z.jsx)(Q.Suspense,{fallback:(0,Z.jsx)(qy,{formula:n,id:e.id}),children:(0,Z.jsx)(Ky,{formula:n,id:e.id})}),t[3]=n,t[4]=e.id,t[5]=r):r=t[5],r}var Yy=.5,Xy=4,Zy=.25,Qy=48,$y={type:`button`,size:`icon-sm`,variant:`secondary`,className:`border-border`},eb=null;function tb(){return eb||=n(()=>import(`./mermaid.core-BKAbpHOL.js`).then(e=>{let t=e.default;return t.initialize({startOnLoad:!1,securityLevel:`strict`,theme:`default`,suppressErrorRendering:!0}),t}),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]),import.meta.url).catch(e=>{throw eb=null,e}),eb}var nb=null;function rb(){return nb||=n(()=>import(`./panzoom.es-BPpDWM66.js`).then(e=>e.default),[],import.meta.url).catch(e=>{throw nb=null,e}),nb}var ib=[{open:`[[`,close:`]]`},{open:`[(`,close:`)]`},{open:`((`,close:`))`},{open:`{{`,close:`}}`},{open:`[/`,close:`/]`},{open:`[\\`,close:`\\]`},{open:`[/`,close:`\\]`},{open:`[\\`,close:`/]`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`{`,close:`}`},{open:`>`,close:`]`}];function ab(e,t,n){for(let{open:r,close:i}of ib)for(let a of[!0,!1]){let o=a?`"${n}"`:n,s=`${t}${r}${o}${i}`,c=e.indexOf(s);if(c<0)continue;let l=c===0?``:e.charAt(c-1);if(l&&/\w/.test(l))continue;let u=c+t.length+r.length;return{start:u,end:u+o.length,wasQuoted:a,open:r,close:i}}return null}function ob(e){return/[[\](){}|;#<>&\n"]/.test(e)}function sb(e,t,n){let r=t.wasQuoted||t.open!==``&&ob(n),i=n.replace(/"/g,`#quot;`),a=r?`"${i}"`:n;return e.slice(0,t.start)+a+e.slice(t.end)}function cb(e){let t=/flowchart-(.+)-\d+$/.exec(e);return t?t[1]:null}function lb(e){let t=/^L_(.+)_(\d+)$/.exec(e);if(!t)return null;let n=t[1],r=Number(t[2]),i=n.lastIndexOf(`_`);return i<0?null:{from:n.slice(0,i),to:n.slice(i+1),index:r}}function ub(e,t,n,r,i){let a=e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),o=a(t),s=a(n),c=a(i),l=`(?:-->|==>|-\\.->|~~~>|<--)`,u=`(?:--|==|-\\.|~~~)`,d=[{re:RegExp(`${o}\\s*${u}[->=]*\\s*\\|\\s*("${c}")\\s*\\|\\s*${s}`,`gd`),quoted:!0,groupIndex:1},{re:RegExp(`${o}\\s*${u}[->=]*\\s*\\|\\s*(${c})\\s*\\|\\s*${s}`,`gd`),quoted:!1,groupIndex:1},{re:RegExp(`${o}\\s*${u}\\s*("${c}")\\s*${l}\\s*${s}`,`gd`),quoted:!0,groupIndex:1},{re:RegExp(`${o}\\s*${u}\\s*(${c})\\s*${l}\\s*${s}`,`gd`),quoted:!1,groupIndex:1}],f=[];for(let{re:t,quoted:n,groupIndex:r}of d){t.lastIndex=0;let i=t.exec(e);for(;i;){let a=i.indices?.[r];a&&f.push({start:a[0],end:a[1],wasQuoted:n}),i=t.exec(e)}}f.sort((e,t)=>e.start-t.start);let p=f[r];return p?{start:p.start,end:p.end,wasQuoted:p.wasQuoted,open:``,close:``}:null}function db(e,t,n=0){let r=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),i=RegExp(`:[ \\t]+(${r})[ \\t]*(?=\\r?\\n|$)`,`gmd`),a=0,o=i.exec(e);for(;o;){if(a===n){let e=o.indices?.[1];if(!e)return null;let[t,n]=e;return{start:t,end:n,wasQuoted:!1,open:``,close:``}}a+=1,o=i.exec(e)}return null}function fb(e,t,n,r=0){let i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),a=n.replace(/"/g,`#quot;`),o=(t,n)=>{let i=0;t.lastIndex=0;let a=t.exec(e);for(;a;){if(i===r)return{range:[a.index,a.index+a[0].length],replacement:n(a)};i+=1,a=t.exec(e)}return null},s=`(?:participant|actor)`,c=o(RegExp(`^([ \\t]*${s}[ \\t]+\\S+[ \\t]+as[ \\t]+")${i}(")`,`gm`),e=>`${e[1]}${a}${e[2]}`);if(c)return e.slice(0,c.range[0])+c.replacement+e.slice(c.range[1]);let l=o(RegExp(`^([ \\t]*${s}[ \\t]+\\S+[ \\t]+as[ \\t]+)${i}([ \\t]*)$`,`gm`),e=>{let t=/[\s"#|;<>&]/.test(n)?`"${a}"`:n;return`${e[1]}${t}${e[2]}`});if(l)return e.slice(0,l.range[0])+l.replacement+e.slice(l.range[1]);let u=o(RegExp(`^([ \\t]*${s}[ \\t]+)${i}([ \\t]*)$`,`gm`),e=>{let r=/[^\w]/.test(n)?`"${a}"`:n;return`${e[1]}${t}${e[2]} as ${r}`});return u?e.slice(0,u.range[0])+u.replacement+e.slice(u.range[1]):null}function pb(e){let t=(0,$.c)(34),{chart:n,className:r}=e,i=n===void 0?``:n,a=(0,Q.useId)(),s;t[0]===a?s=t[1]:(s=a.replaceAll(`:`,`_`),t[0]=a,t[1]=s);let c=`mermaid-${s}`,l;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(l={status:`idle`,svg:``,error:``},t[2]=l):l=t[2];let[u,d]=(0,Q.useState)(l),f=Qv(),p=f?.editor.isEditable??!1,m=(0,Q.useRef)(null),h=(0,Q.useRef)(f),g,_;t[3]===f?(g=t[4],_=t[5]):(g=()=>{h.current=f},_=[f],t[3]=f,t[4]=g,t[5]=_),(0,Q.useLayoutEffect)(g,_);let v=(0,Q.useRef)(null),y,b;t[6]!==i||t[7]!==c?(y=()=>{if(!i.trim()){d({status:`idle`,svg:``,error:``});return}let e=!1;return d(hb),rb().catch(mb),tb().then(async t=>{let n=await t.render(c,i);e||d({status:`ready`,svg:n.svg,error:``})}).catch(t=>{e||d({status:`error`,svg:``,error:t instanceof Error?t.message:String(t)})}),()=>{e=!0}},b=[i,c],t[6]=i,t[7]=c,t[8]=y,t[9]=b):(y=t[8],b=t[9]),(0,Q.useEffect)(y,b);let x,S;if(t[10]!==p||t[11]!==u.status?(x=()=>{if(u.status!==`ready`||!p)return;let e=m.current;if(!e)return;for(let t of e.querySelectorAll(`.nodeLabel, .edgeLabel`))t.style.cursor=`text`;for(let t of e.querySelectorAll(`text.messageText, text.actor`))t.style.cursor=`text`,t.style.pointerEvents=`all`;let t=function(e,t){let n=h.current;if(!n)return;let r=n.getPos();if(typeof r!=`number`)return;let i=n.editor.state.doc.nodeAt(r);if(!i||i.type.name!==`jsxComponent`)return;let a=i.attrs.props??{},o=a.chart??``,s=null;if(e.applyRewrite)s=e.applyRewrite(o,t);else if(e.locate){let n=e.locate(o);n&&(s=sb(o,n,t))}if(s!==null)try{n.editor.view.dispatch(n.editor.state.tr.setNodeMarkup(r,null,{...i.attrs,props:{...a,chart:s},sourceDirty:!0}))}catch(e){let t=e;if(!(t instanceof RangeError))throw t}},n=function(e,n){let{labelSpan:r,outlineShape:i}=e,a=h.current;if(!a)return!1;let o=a.getPos();if(typeof o!=`number`)return!1;let s=a.editor.state.doc.nodeAt(o);if(!s||s.type.name!==`jsxComponent`)return!1;let c=s.attrs.props?.chart??``,l=(r.textContent??``).trim();if(!l)return!1;let u=e.applyRewrite?.(c,l);if(!e.locate?.(c)&&u==null)return!1;n.preventDefault(),n.stopPropagation();let d=r.querySelector(`p`)??r,f=window.getComputedStyle(d),p=(()=>{if(!(d instanceof SVGGraphicsElement))return null;let e=d.querySelector(`tspan`),t=e?window.getComputedStyle(e).fill:window.getComputedStyle(d).fill;return t&&t!==`none`?t:null})()??f.color,m=i,g=m?.getAttribute(`stroke`)??null,_=m?.getAttribute(`stroke-width`)??null,y=document.createElement(`input`);y.type=`text`,y.value=l,y.setAttribute(`data-mermaid-editing`,`true`),y.setAttribute(`spellcheck`,`true`),Object.assign(y.style,{position:`fixed`,margin:`0`,padding:`0`,font:f.font,fontFeatureSettings:f.fontFeatureSettings,letterSpacing:f.letterSpacing,color:p,textAlign:`center`,border:`none`,outline:`none`,boxShadow:`none`,boxSizing:`border-box`,colorScheme:`light`,appearance:`none`,WebkitAppearance:`none`,caretColor:p,zIndex:`2147483647`}),y.style.setProperty(`background`,`transparent`,`important`),y.style.setProperty(`background-color`,`transparent`,`important`),m&&(m.setAttribute(`stroke`,`var(--ring, #3b82f6)`),m.setAttribute(`stroke-width`,`2`));let b=d.style.visibility;d.style.visibility=`hidden`,document.body.appendChild(y);let x=e.positionAnchor??d,S=function(){let e=x.getBoundingClientRect();y.style.left=`${e.left}px`,y.style.top=`${e.top}px`,y.style.width=`${e.width}px`,y.style.height=`${e.height}px`,y.style.lineHeight=`${e.height}px`};S();let C=requestAnimationFrame(()=>{y.focus(),y.select()});window.addEventListener(`scroll`,S,!0),window.addEventListener(`resize`,S);let w=!1,T=function(){cancelAnimationFrame(C),window.removeEventListener(`scroll`,S,!0),window.removeEventListener(`resize`,S),y.removeEventListener(`keydown`,O),y.removeEventListener(`blur`,k),y.remove(),d.style.visibility=b,m&&(g===null?m.removeAttribute(`stroke`):m.setAttribute(`stroke`,g),_===null?m.removeAttribute(`stroke-width`):m.setAttribute(`stroke-width`,_)),v.current=null},E=function(){if(w)return;w=!0;let n=y.value.trim();T(),!(!n||n===l)&&t(e,n)},D=function(){w||(w=!0,T())};function O(e){if(e.key===`Escape`){e.preventDefault(),e.stopPropagation(),D();return}if(e.key===`Enter`&&!e.shiftKey){e.preventDefault(),e.stopPropagation(),E();return}e.stopPropagation()}function k(){E()}return y.addEventListener(`keydown`,O),y.addEventListener(`blur`,k),v.current={cleanup:()=>{w||D()}},!0},r=function(e){if(v.current)return;let t=e.target;if(!(t instanceof Element))return;let r=t.closest(`.nodeLabel`);if(r){let i=t.closest(`.node[id]`);if(!i)return;let a=cb(i.id);if(!a)return;let o=a,s=(r.textContent??``).trim();if(!s)return;n({labelSpan:r,outlineShape:i.querySelector(`rect, polygon, path, circle, ellipse`),locate:e=>ab(e,o,s)},e);return}let i=t.closest(`text.actor`);if(i){let t=(i.textContent??``).trim();if(!t)return;let r=i.ownerSVGElement,a=0;if(r){let e=Array.from(r.querySelectorAll(`text.actor`)),n=0;for(let r of e){if(r===i){a=Math.floor(n/2);break}(r.textContent??``).trim()===t&&(n+=1)}}let o=i.parentElement;n({labelSpan:i,outlineShape:null,positionAnchor:o?.querySelector(`rect.actor`)??o??void 0,applyRewrite:(e,n)=>fb(e,t,n,a)},e);return}let a=t.closest(`text.messageText`);if(a){let t=(a.textContent??``).trim();if(!t)return;let r=a.ownerSVGElement,i=0;if(r){let e=Array.from(r.querySelectorAll(`text.messageText`));for(let n of e){if(n===a)break;(n.textContent??``).trim()===t&&(i+=1)}}n({labelSpan:a,outlineShape:null,locate:e=>db(e,t,i)},e);return}let o=t.closest(`.edgeLabel`);if(o){let t=o.closest(`g[data-id^="L_"]`)?.getAttribute(`data-id`);if(!t)return;let r=lb(t);if(!r)return;let i=(o.textContent??``).trim();if(!i)return;n({labelSpan:o,outlineShape:null,locate:e=>ub(e,r.from,r.to,r.index,i)},e)}},i=function(e){let t=e.target;t instanceof Element&&t.closest(`.nodeLabel, .edgeLabel, text.messageText, text.actor`)&&e.stopPropagation()},a=function(e){let t=e.target;t instanceof Element&&t.closest(`.nodeLabel, .edgeLabel, text.messageText, text.actor`)&&(e.stopPropagation(),r(e))};return e.addEventListener(`mousedown`,i,{capture:!0}),e.addEventListener(`click`,a,{capture:!0}),()=>{e.removeEventListener(`mousedown`,i,{capture:!0}),e.removeEventListener(`click`,a,{capture:!0}),v.current?.cleanup(),v.current=null}},S=[u.status,p],t[10]=p,t[11]=u.status,t[12]=x,t[13]=S):(x=t[12],S=t[13]),(0,Q.useEffect)(x,S),!i.trim()){let e;return t[14]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(`div`,{className:`mermaid mermaid-placeholder`,"data-component-type":`mermaid`,children:(0,Z.jsx)(`span`,{className:`mermaid-empty`,children:` `})}),t[14]=e):e=t[14],e}if(u.status===`error`){let e;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(_r,{className:`size-3.5 shrink-0 mt-0.5`,"aria-hidden":!0}),t[15]=e):e=t[15];let n;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`div`,{className:`font-medium`,children:(0,Z.jsx)(o,{id:`OLBz-_`})}),t[16]=n):n=t[16];let r;t[17]===u.error?r=t[18]:(r=(0,Z.jsxs)(`div`,{role:`alert`,className:`mermaid-error-message mb-2 flex items-start gap-2 rounded border border-destructive/30 bg-destructive/5 px-3 py-2 text-[12px] text-destructive`,children:[e,(0,Z.jsxs)(`div`,{className:`min-w-0`,children:[n,(0,Z.jsx)(`pre`,{className:`mt-1 whitespace-pre-wrap break-words font-mono text-[11px] opacity-90`,children:u.error})]})]}),t[17]=u.error,t[18]=r);let a;t[19]===i?a=t[20]:(a=(0,Z.jsx)(`pre`,{className:`mermaid-error-source`,children:i}),t[19]=i,t[20]=a);let s;return t[21]!==u.error||t[22]!==r||t[23]!==a?(s=(0,Z.jsxs)(`div`,{className:`mermaid mermaid-error`,"data-component-type":`mermaid`,title:u.error,children:[r,a]}),t[21]=u.error,t[22]=r,t[23]=a,t[24]=s):s=t[24],s}if(u.status===`ready`){let e;t[25]===r?e=t[26]:(e=Gt(`mermaid mermaid-ready flex h-full min-h-64 w-full overflow-hidden rounded-md border border-border/60 bg-background`,r),t[25]=r,t[26]=e);let n;t[27]===u.svg?n=t[28]:(n=(0,Z.jsx)(gb,{svg:u.svg}),t[27]=u.svg,t[28]=n);let i;return t[29]!==e||t[30]!==n?(i=(0,Z.jsx)(`div`,{ref:m,className:e,"data-component-type":`mermaid`,children:n}),t[29]=e,t[30]=n,t[31]=i):i=t[31],i}let C=`mermaid mermaid-${u.status}`,w;return t[32]===C?w=t[33]:(w=(0,Z.jsx)(`div`,{ref:m,className:C,"data-component-type":`mermaid`}),t[32]=C,t[33]=w),w}function mb(){}function hb(e){return{...e,status:`rendering`}}function gb(e){let t=(0,$.c)(73),{svg:n}=e,{_:r}=s(),i=(0,Q.useRef)(null),a=(0,Q.useRef)(null),o;t[0]===r?o=t[1]:(o=r({id:`AWOSPo`}),t[0]=r,t[1]=o);let c;t[2]===r?c=t[3]:(c=r({id:`FjkaiT`}),t[2]=r,t[3]=c);let l;t[4]===r?l=t[5]:(l=r({id:`0BfhAj`}),t[4]=r,t[5]=l);let u;t[6]===r?u=t[7]:(u=r({id:`PrhzDE`}),t[6]=r,t[7]=u);let d;t[8]===r?d=t[9]:(d=r({id:`NcurBF`}),t[8]=r,t[9]=d);let f;t[10]===r?f=t[11]:(f=r({id:`UhpfxY`}),t[10]=r,t[11]=f);let p;t[12]===r?p=t[13]:(p=r({id:`glzsS_`}),t[12]=r,t[13]=p);let m;t[14]===r?m=t[15]:(m=r({id:`toyw51`}),t[14]=r,t[15]=m);let h;t[16]!==o||t[17]!==c||t[18]!==l||t[19]!==u||t[20]!==d||t[21]!==f||t[22]!==p||t[23]!==m?(h={zoomIn:o,zoomOut:c,reset:l,panUp:u,panDown:d,panLeft:f,panRight:p,toolbar:m},t[16]=o,t[17]=c,t[18]=l,t[19]=u,t[20]=d,t[21]=f,t[22]=p,t[23]=m,t[24]=h):h=t[24];let g=h,_,v;t[25]===n?(_=t[26],v=t[27]):(_=()=>{if(!n.trim())return;let e=i.current?.querySelector(`svg`);if(e?.namespaceURI!==`http://www.w3.org/2000/svg`)return;let t=!1,r=null;return rb().then(n=>{t||(r=n(e,{canvas:!0,cursor:`default`,maxScale:Xy,minScale:Yy,noBind:!0,step:Zy,touchAction:`auto`}),a.current=r)}).catch(e=>{console.warn(`[Mermaid] panzoom setup failed:`,e),a.current===r&&(a.current=null)}),()=>{t=!0,a.current===r&&(a.current=null),r?.destroy()}},v=[n],t[25]=n,t[26]=_,t[27]=v),(0,Q.useEffect)(_,v);let y;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(y=(e,t)=>{a.current?.pan(e,t,{relative:!0})},t[28]=y):y=t[28];let b=y,x;t[29]===n?x=t[30]:(x=(0,Z.jsx)(`div`,{ref:i,className:`ok-mermaid-svg flex min-h-0 flex-1 items-center justify-center [&>svg]:size-full [&>svg]:select-none`,dangerouslySetInnerHTML:{__html:n}}),t[29]=n,t[30]=x);let S;t[31]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,Z.jsx)(`span`,{"aria-hidden":`true`}),t[31]=S):S=t[31];let C,w;t[32]===Symbol.for(`react.memo_cache_sentinel`)?(C=()=>b(0,-Qy),w=(0,Z.jsx)(Ia,{className:`size-4`,"aria-hidden":`true`}),t[32]=C,t[33]=w):(C=t[32],w=t[33]);let T;t[34]===g.panUp?T=t[35]:(T=(0,Z.jsx)(Yt,{...$y,title:g.panUp,"aria-label":g.panUp,onClick:C,children:w}),t[34]=g.panUp,t[35]=T);let E,D;t[36]===Symbol.for(`react.memo_cache_sentinel`)?(E=()=>a.current?.zoomIn(),D=(0,Z.jsx)(Vo,{className:`size-4`,"aria-hidden":`true`}),t[36]=E,t[37]=D):(E=t[36],D=t[37]);let O;t[38]===g.zoomIn?O=t[39]:(O=(0,Z.jsx)(Yt,{...$y,title:g.zoomIn,"aria-label":g.zoomIn,onClick:E,children:D}),t[38]=g.zoomIn,t[39]=O);let k,A;t[40]===Symbol.for(`react.memo_cache_sentinel`)?(k=()=>b(-Qy,0),A=(0,Z.jsx)(Pa,{className:`size-4`,"aria-hidden":`true`}),t[40]=k,t[41]=A):(k=t[40],A=t[41]);let j;t[42]===g.panLeft?j=t[43]:(j=(0,Z.jsx)(Yt,{...$y,title:g.panLeft,"aria-label":g.panLeft,onClick:k,children:A}),t[42]=g.panLeft,t[43]=j);let M,N;t[44]===Symbol.for(`react.memo_cache_sentinel`)?(M=()=>a.current?.reset(),N=(0,Z.jsx)(Do,{className:`size-4`,"aria-hidden":`true`}),t[44]=M,t[45]=N):(M=t[44],N=t[45]);let P;t[46]===g.reset?P=t[47]:(P=(0,Z.jsx)(Yt,{...$y,title:g.reset,"aria-label":g.reset,onClick:M,children:N}),t[46]=g.reset,t[47]=P);let F,I;t[48]===Symbol.for(`react.memo_cache_sentinel`)?(F=()=>b(Qy,0),I=(0,Z.jsx)(Fa,{className:`size-4`,"aria-hidden":`true`}),t[48]=F,t[49]=I):(F=t[48],I=t[49]);let L;t[50]===g.panRight?L=t[51]:(L=(0,Z.jsx)(Yt,{...$y,title:g.panRight,"aria-label":g.panRight,onClick:F,children:I}),t[50]=g.panRight,t[51]=L);let R;t[52]===Symbol.for(`react.memo_cache_sentinel`)?(R=(0,Z.jsx)(`span`,{"aria-hidden":`true`}),t[52]=R):R=t[52];let ee,z;t[53]===Symbol.for(`react.memo_cache_sentinel`)?(ee=()=>b(0,Qy),z=(0,Z.jsx)(Na,{className:`size-4`,"aria-hidden":`true`}),t[53]=ee,t[54]=z):(ee=t[53],z=t[54]);let B;t[55]===g.panDown?B=t[56]:(B=(0,Z.jsx)(Yt,{...$y,title:g.panDown,"aria-label":g.panDown,onClick:ee,children:z}),t[55]=g.panDown,t[56]=B);let te,V;t[57]===Symbol.for(`react.memo_cache_sentinel`)?(te=()=>a.current?.zoomOut(),V=(0,Z.jsx)(Ho,{className:`size-4`,"aria-hidden":`true`}),t[57]=te,t[58]=V):(te=t[57],V=t[58]);let H;t[59]===g.zoomOut?H=t[60]:(H=(0,Z.jsx)(Yt,{...$y,title:g.zoomOut,"aria-label":g.zoomOut,onClick:te,children:V}),t[59]=g.zoomOut,t[60]=H);let U;t[61]!==g.toolbar||t[62]!==T||t[63]!==O||t[64]!==j||t[65]!==P||t[66]!==L||t[67]!==B||t[68]!==H?(U=(0,Z.jsxs)(`div`,{className:`absolute right-3 bottom-3 grid grid-cols-3 gap-1`,"data-testid":`mermaid-actions`,role:`toolbar`,"aria-label":g.toolbar,children:[S,T,O,j,P,L,R,B,H]}),t[61]=g.toolbar,t[62]=T,t[63]=O,t[64]=j,t[65]=P,t[66]=L,t[67]=B,t[68]=H,t[69]=U):U=t[69];let W;return t[70]!==x||t[71]!==U?(W=(0,Z.jsxs)(`div`,{className:`relative flex min-h-0 flex-1 overflow-hidden bg-muted/20`,contentEditable:!1,children:[x,U]}),t[70]=x,t[71]=U,t[72]=W):W=t[72],W}var _b=null;function vb(){return _b||=new R({extensions:At}),_b}function yb(e,t){if(e.type===`mdxJsxFlowElement`){let n=e;if(n.name===`MirrorSource`){for(let e of n.attributes??[])if(e.type===`mdxJsxAttribute`&&e.name===`id`&&typeof e.value==`string`&&e.value===t)return n}}let n=e.children;if(Array.isArray(n))for(let e of n){let n=yb(e,t);if(n)return n}return null}function bb(e){return oe({type:`root`,children:e.children??[]})}var xb=new Map,Sb=30,Cb=150,wb=1e4;function Tb(e,t){let n=`${e}|${t}`,r=xb.get(n);if(r)return r.refcount+=1,r;let i=new Jn,a=new In({url:e,name:t,document:i}),o=new Set,s={provider:a,ySource:i.getText(`source`),refcount:1,synced:!1,subscribers:o};return a.on(`synced`,()=>{s.synced=!0;for(let e of o)e.onSynced()}),s.ySource.observe(()=>{for(let e of o)e.onUpdate()}),xb.set(n,s),xb.size>Sb&&console.warn(`[Mirror] provider pool exceeded ${Sb} entries (current=${xb.size}). Many Mirrors pointing at distinct source docs — investigate if this is a runaway pattern.`),s}function Eb(e,t){let n=`${e}|${t}`,r=xb.get(n);if(r&&(--r.refcount,r.refcount<=0)){try{r.provider.destroy()}catch(e){console.warn(`[Mirror] provider.destroy() failed during release`,{src:t,err:e})}xb.delete(n)}}function Db(e,t){let n=(0,$.c)(8),{collabUrl:r}=ap(),i;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={kind:`loading`},n[0]=i):i=n[0];let[a,o]=(0,Q.useState)(i),s=(0,Q.useRef)(t),c=(0,Q.useRef)(null),l,u;n[1]!==r||n[2]!==e?(l=()=>{if(!e){o({kind:`empty-props`});return}if(!r){o({kind:`loading`});return}let t=Tb(r,e),n=()=>{let n=s.current;if(!n){o({kind:`empty-props`});return}let r=t.ySource.toString();if(!r){o(t.synced?{kind:`source-removed`}:{kind:`loading`});return}let i;try{i=vb().parseToMdast(r)}catch(t){console.warn(`[Mirror] parseToMdast failed`,{src:e,anchor:n,err:t}),o({kind:`source-removed`});return}let a=yb(i,n);if(!a){o({kind:`anchor-not-found`});return}let c;try{c=bb(a)}catch(t){console.warn(`[Mirror] renderMirrorSubtree failed`,{src:e,anchor:n,err:t}),o({kind:`anchor-not-found`});return}o({kind:`ready`,html:c})},i=null,a={onUpdate:()=>{i&&clearTimeout(i),i=setTimeout(()=>{i=null,n()},Cb)},onSynced:()=>{i&&=(clearTimeout(i),null),n()}};t.subscribers.add(a),c.current=n;let l=setTimeout(()=>{t.synced||o({kind:`source-removed`})},wb);return n(),()=>{clearTimeout(l),i&&clearTimeout(i),t.subscribers.delete(a),c.current=null,Eb(r,e)}},u=[r,e],n[1]=r,n[2]=e,n[3]=l,n[4]=u):(l=n[3],u=n[4]),(0,Q.useEffect)(l,u);let d,f;return n[5]===t?(d=n[6],f=n[7]):(d=()=>{s.current=t,c.current?.()},f=[t],n[5]=t,n[6]=d,n[7]=f),(0,Q.useEffect)(d,f),a}function Ob(e){let t=(0,$.c)(8),n=`ok-mirror-state flex items-start gap-2 rounded-md border border-dashed px-3 py-2 text-sm ${e.tone===`error`?`border-destructive/40 text-destructive`:`border-border text-muted-foreground`}`,r;t[0]===e.tone?r=t[1]:(r=e.tone===`error`?(0,Z.jsx)(po,{className:`mt-0.5 size-4 shrink-0`,"aria-hidden":`true`}):(0,Z.jsx)(ho,{className:`mt-0.5 size-4 shrink-0`,"aria-hidden":`true`}),t[0]=e.tone,t[1]=r);let i;t[2]===e.children?i=t[3]:(i=(0,Z.jsx)(`div`,{className:`min-w-0 flex-1`,children:e.children}),t[2]=e.children,t[3]=i);let a;return t[4]!==n||t[5]!==r||t[6]!==i?(a=(0,Z.jsxs)(`div`,{className:n,children:[r,i]}),t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function kb(e){let t=(0,$.c)(30),n=e.src??``,r=e.anchor??``,i=Db(n,r);if(i.kind===`empty-props`){let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(Ob,{tone:`placeholder`,children:(0,Z.jsx)(o,{id:`3SDfZl`,components:{0:(0,Z.jsx)(`span`,{className:`font-medium`}),1:(0,Z.jsx)(`code`,{}),2:(0,Z.jsx)(`code`,{}),3:(0,Z.jsx)(`code`,{})}})}),t[0]=e):e=t[0],e}if(i.kind===`loading`){let e=n&&r?`${n}#${r}`:``,i;t[1]===e?i=t[2]:(i={mirrorRef:e},t[1]=e,t[2]=i);let a;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a={0:(0,Z.jsx)(`code`,{})},t[3]=a):a=t[3];let s;return t[4]===i?s=t[5]:(s=(0,Z.jsx)(Ob,{tone:`placeholder`,children:(0,Z.jsx)(o,{id:`92rbk2`,values:i,components:a})}),t[4]=i,t[5]=s),s}if(i.kind===`source-removed`){let e;t[6]===n?e=t[7]:(e={src:n},t[6]=n,t[7]=e);let r;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(r={0:(0,Z.jsx)(`span`,{className:`font-medium`}),1:(0,Z.jsx)(`code`,{})},t[8]=r):r=t[8];let i;return t[9]===e?i=t[10]:(i=(0,Z.jsx)(Ob,{tone:`error`,children:(0,Z.jsx)(o,{id:`Ud0Pj9`,values:e,components:r})}),t[9]=e,t[10]=i),i}if(i.kind===`anchor-not-found`){let e=`<MirrorSource id="${r}">`,i;t[11]!==e||t[12]!==n?(i={mirrorSourceTag:e,src:n},t[11]=e,t[12]=n,t[13]=i):i=t[13];let a;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(a={0:(0,Z.jsx)(`span`,{className:`font-medium`}),1:(0,Z.jsx)(`code`,{}),2:(0,Z.jsx)(`code`,{})},t[14]=a):a=t[14];let s;return t[15]===i?s=t[16]:(s=(0,Z.jsx)(Ob,{tone:`error`,children:(0,Z.jsx)(o,{id:`mqSwZH`,values:i,components:a})}),t[15]=i,t[16]=s),s}let a;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Z.jsx)(sn,{className:`size-3`,"aria-hidden":`true`}),t[17]=a):a=t[17];let s;t[18]===n?s=t[19]:(s={src:n},t[18]=n,t[19]=s);let c;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(c={0:(0,Z.jsx)(`code`,{className:`font-mono`})},t[20]=c):c=t[20];let l;t[21]===s?l=t[22]:(l=(0,Z.jsxs)(`div`,{className:`ok-mirror-badge pointer-events-none absolute -top-2.5 left-2 flex items-center gap-1 rounded-md bg-background px-1.5 text-xs text-muted-foreground opacity-0 transition-opacity [.jsx-component-wrapper:hover_&]:opacity-100 [.jsx-component-wrapper[data-selected="true"]_&]:opacity-100`,"aria-hidden":`true`,children:[a,(0,Z.jsx)(`span`,{children:(0,Z.jsx)(o,{id:`wQp1V3`,values:s,components:c})})]}),t[21]=s,t[22]=l);let u;t[23]===i.html?u=t[24]:(u=(0,Z.jsx)(`div`,{dangerouslySetInnerHTML:{__html:i.html}}),t[23]=i.html,t[24]=u);let d;return t[25]!==r||t[26]!==n||t[27]!==l||t[28]!==u?(d=(0,Z.jsxs)(`div`,{className:`ok-mirror-resolved relative -mx-3 prose-no-margin rounded-md border border-dashed border-transparent px-3 py-2 transition-colors [.jsx-component-wrapper:hover_&]:border-border/40 [.jsx-component-wrapper[data-selected="true"]_&]:border-border/40`,"data-mirror-src":n,"data-mirror-anchor":r,children:[l,u]}),t[25]=r,t[26]=n,t[27]=l,t[28]=u,t[29]=d):d=t[29],d}function Ab(e){let t=(0,$.c)(15),{_:n}=s(),r=e.id??``,i;t[0]!==n||t[1]!==r?(i=r||n({id:`12F9WL`}),t[0]=n,t[1]=r,t[2]=i):i=t[2];let a=i,c;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,Z.jsx)(cn,{className:`size-3`,"aria-hidden":`true`}),t[3]=c):c=t[3];let l;t[4]===a?l=t[5]:(l={label:a},t[4]=a,t[5]=l);let u;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(u={0:(0,Z.jsx)(`code`,{className:`font-mono`})},t[6]=u):u=t[6];let d;t[7]===l?d=t[8]:(d=(0,Z.jsxs)(`div`,{className:`ok-mirror-source-badge pointer-events-none absolute -top-2.5 left-2 flex items-center gap-1 rounded-md bg-background px-1.5 text-xs text-muted-foreground opacity-0 transition-opacity [.jsx-component-wrapper:hover_&]:opacity-100 [.jsx-component-wrapper[data-selected="true"]_&]:opacity-100`,children:[c,(0,Z.jsx)(`span`,{children:(0,Z.jsx)(o,{id:`Zon_qG`,values:l,components:u})})]}),t[7]=l,t[8]=d);let f;t[9]===e.children?f=t[10]:(f=(0,Z.jsx)(`div`,{children:e.children}),t[9]=e.children,t[10]=f);let p;return t[11]!==r||t[12]!==d||t[13]!==f?(p=(0,Z.jsxs)(`div`,{className:`ok-mirror-source relative -mx-3 rounded-md border border-dashed border-transparent px-3 py-1 transition-colors [.jsx-component-wrapper:hover_&]:border-border/50 [.jsx-component-wrapper[data-selected="true"]_&]:border-border/50`,"data-mirror-source-id":r,children:[d,f]}),t[11]=r,t[12]=d,t[13]=f,t[14]=p):p=t[14],p}var jb=24,Mb=24,Nb=12,Pb=.1;function Fb(e,t,n,r){if(n<=0&&(e===`fit-width`||e===`two-odd`||e===`two-even`)||r<=0&&e===`fit-height`)return 1;switch(e){case`fit-width`:return Math.max(Pb,(n-jb)/t.naturalWidth);case`fit-height`:return Math.max(Pb,(r-Mb)/t.naturalHeight);case`single`:return 1;case`two-odd`:case`two-even`:return Math.max(Pb,((n-jb)/2-Nb)/t.naturalWidth)}}var Ib=600,Lb=.5,Rb=3,zb=.25,Bb=null;function Vb(){return Bb||(Bb=(async()=>{let e=await n(()=>import(`./pdf-Cz6vffXS.js`),__vite__mapDeps([24,1]),import.meta.url);if(!e.GlobalWorkerOptions.workerSrc){let t=(await n(async()=>{let{default:e}=await import(`./pdf.worker-CUSszLRa.js`);return{default:e}},[],import.meta.url)).default;e.GlobalWorkerOptions.workerSrc=t}return e})(),Bb.catch(()=>{Bb=null})),Bb}function Hb(e){return e instanceof Error&&e.name===`RenderingCancelledException`}function Ub(e){let t=(0,$.c)(96),n,r;if(t[0]!==e.anchor||t[1]!==e.fillContainer){let{height:i,viewerFragment:a}=xt(e.anchor);n=i===null?e.fillContainer?`100%`:`${Ib}px`:`${i}px`,r=Yb(a),t[0]=e.anchor,t[1]=e.fillContainer,t[2]=n,t[3]=r}else n=t[2],r=t[3];let i=r,a=(0,Q.useRef)(null),c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=[],t[4]=c):c=t[4];let l=(0,Q.useRef)(c),u;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(u=[],t[5]=u):u=t[5];let d=(0,Q.useRef)(u),f=(0,Q.useRef)(null),p;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(p=[],t[6]=p):p=t[6];let[m,h]=(0,Q.useState)(p),[g,_]=(0,Q.useState)(!0),[v,y]=(0,Q.useState)(null),[b,x]=(0,Q.useState)(i??1),[C,w]=(0,Q.useState)(String(i??1)),[T,E]=(0,Q.useState)(1),[D,O]=(0,Q.useState)(`fit-width`),[k,A]=(0,Q.useState)(!1),[j,M]=(0,Q.useState)(!1),[N,P]=(0,Q.useState)(0),[F,I]=(0,Q.useState)(0),{_:L}=s(),R=m.length,ee,z;t[7]!==L||t[8]!==e.src?(ee=()=>{if(!e.src){_(!1);return}let t=S(e.src),n=!1,r=null;return _(!0),y(null),(async()=>{try{let e=await(await Vb()).getDocument({url:t,isEvalSupported:!1}).promise;if(n){await e.destroy();return}r=e,f.current=e;let i=[];for(let t=1;t<=e.numPages;t++){if(n)return;let r=(await e.getPage(t)).getViewport({scale:1});i.push({pageNumber:t,naturalWidth:r.width,naturalHeight:r.height})}if(n)return;h(i)}catch(e){let t=e;if(n)return;y(t instanceof Error?t.message:L({id:`jRHdCz`})),_(!1)}})(),()=>{n=!0,r&&=(r.destroy(),null),f.current=null}},z=[e.src,L],t[7]=L,t[8]=e.src,t[9]=ee,t[10]=z):(ee=t[9],z=t[10]),(0,Q.useEffect)(ee,z);let B,te;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(B=()=>{let e=a.current;if(!e)return;let t=()=>{P(e.clientWidth),I(e.clientHeight)};t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},te=[],t[11]=B,t[12]=te):(B=t[11],te=t[12]),(0,Q.useEffect)(B,te);let V,H;t[13]!==L||t[14]!==F||t[15]!==N||t[16]!==D||t[17]!==m||t[18]!==T?(V=()=>{let e=f.current;if(!e||m.length===0||N===0)return;let t=!1,n=null;return(async()=>{try{let r=window.devicePixelRatio||1;for(let i of m){if(t)return;let a=l.current[i.pageNumber-1];if(!a)continue;let o=Fb(D,i,N,F)*T,s=await e.getPage(i.pageNumber);if(t)return;let c=s.getViewport({scale:o});a.width=Math.floor(c.width*r),a.height=Math.floor(c.height*r),a.style.width=`${c.width}px`,a.style.height=`${c.height}px`;let u=a.getContext(`2d`);u&&(u.setTransform(r,0,0,r,0,0),n=s.render({canvas:a,canvasContext:u,viewport:c}),await n.promise,n=null)}t||_(!1)}catch(e){let n=e;if(t||Hb(n))return;console.warn(`[Pdf] page render failed:`,n),y(n instanceof Error?n.message:L({id:`_TF8ep`})),_(!1)}})(),()=>{if(t=!0,n){try{n.cancel()}catch{}n=null}}},H=[m,D,T,N,F,L],t[13]=L,t[14]=F,t[15]=N,t[16]=D,t[17]=m,t[18]=T,t[19]=V,t[20]=H):(V=t[19],H=t[20]),(0,Q.useEffect)(V,H);let U,W;t[21]!==m||t[22]!==k?(U=()=>{if(!k)return;let e=f.current;if(!e||m.length===0)return;let t=!1,n=null;return(async()=>{try{let r=window.devicePixelRatio||1;for(let i of m){if(t)return;let a=d.current[i.pageNumber-1];if(!a)continue;let o=120/i.naturalWidth,s=await e.getPage(i.pageNumber);if(t)return;let c=s.getViewport({scale:o});a.width=Math.floor(c.width*r),a.height=Math.floor(c.height*r),a.style.width=`${c.width}px`,a.style.height=`${c.height}px`;let l=a.getContext(`2d`);l&&(l.setTransform(r,0,0,r,0,0),n=s.render({canvas:a,canvasContext:l,viewport:c}),await n.promise,n=null)}}catch(e){let t=e;Hb(t)||console.warn(`[Pdf] thumbnail render failed:`,t)}})(),()=>{if(t=!0,n){try{n.cancel()}catch{}n=null}}},W=[k,m],t[21]=m,t[22]=k,t[23]=U,t[24]=W):(U=t[23],W=t[24]),(0,Q.useEffect)(U,W);let ne,G;t[25]!==g||t[26]!==i?(ne=()=>{if(g||!i)return;let e=a.current,t=l.current[i-1];e&&t&&(e.scrollTop=t.offsetTop-e.offsetTop)},G=[g,i],t[25]=g,t[26]=i,t[27]=ne,t[28]=G):(ne=t[27],G=t[28]),(0,Q.useEffect)(ne,G);let K,re;t[29]===m?(K=t[30],re=t[31]):(K=()=>{let e=a.current;if(!e||m.length===0)return;let t=!1,n=()=>{t||(t=!0,requestAnimationFrame(()=>{t=!1;let n=e.scrollTop,r=1;for(let t of m){let i=l.current[t.pageNumber-1];i&&i.offsetTop-e.offsetTop<=n+40&&(r=t.pageNumber)}x(r),w(String(r))}))};return e.addEventListener(`scroll`,n,{passive:!0}),()=>e.removeEventListener(`scroll`,n)},re=[m],t[29]=m,t[30]=K,t[31]=re),(0,Q.useEffect)(K,re);let ie,ae;t[32]===j?(ie=t[33],ae=t[34]):(ie=()=>{if(!j)return;let e=e=>{let t=e.target,n=a.current?.closest(`.ok-pdf`);if(!n||!t||!n.contains(t)){M(!1);return}let r=n.querySelector(`.ok-pdf-layout-menu`);r&&!r.contains(t)&&M(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},ae=[j],t[32]=j,t[33]=ie,t[34]=ae),(0,Q.useEffect)(ie,ae);let oe;t[35]===R?oe=t[36]:(oe=e=>{let t=Math.max(1,Math.min(R||1,e));x(t),w(String(t));let n=a.current,r=l.current[t-1];n&&r&&n.scrollTo({top:r.offsetTop-n.offsetTop,behavior:`smooth`})},t[35]=R,t[36]=oe);let q=oe,se;t[37]!==b||t[38]!==q||t[39]!==C?(se=()=>{let e=Number.parseInt(C,10);if(Number.isNaN(e)){w(String(b));return}q(e)},t[37]=b,t[38]=q,t[39]=C,t[40]=se):se=t[40];let ce=se,le;t[41]===Symbol.for(`react.memo_cache_sentinel`)?(le=()=>E(qb),t[41]=le):le=t[41];let ue=le,de;t[42]===Symbol.for(`react.memo_cache_sentinel`)?(de=()=>E(Kb),t[42]=de):de=t[42];let fe=de,pe;t[43]===Symbol.for(`react.memo_cache_sentinel`)?(pe=e=>{O(e),M(!1),E(1)},t[43]=pe):pe=t[43];let me=pe,he;t[44]===n?he=t[45]:(he={height:n},t[44]=n,t[45]=he);let ge;t[46]===Symbol.for(`react.memo_cache_sentinel`)?(ge=()=>A(Gb),t[46]=ge):ge=t[46];let _e;t[47]!==L||t[48]!==k?(_e=L(k?{id:`JK-Ave`}:{id:`iEYxO4`}),t[47]=L,t[48]=k,t[49]=_e):_e=t[49];let ve;t[50]===L?ve=t[51]:(ve=L({id:`zo3Dl7`}),t[50]=L,t[51]=ve);let ye;t[52]===Symbol.for(`react.memo_cache_sentinel`)?(ye=(0,Z.jsx)(So,{size:14,"aria-hidden":`true`}),t[52]=ye):ye=t[52];let be;t[53]!==k||t[54]!==_e||t[55]!==ve?(be=(0,Z.jsx)(`button`,{type:`button`,onClick:ge,"aria-label":_e,"aria-pressed":k,className:`ok-pdf-btn`,title:ve,children:ye}),t[53]=k,t[54]=_e,t[55]=ve,t[56]=be):be=t[56];let xe=e.title??`PDF`,Se;t[57]===xe?Se=t[58]:(Se=(0,Z.jsx)(`span`,{className:`ok-pdf-title`,children:xe}),t[57]=xe,t[58]=Se);let Ce;t[59]!==L||t[60]!==j||t[61]!==D||t[62]!==C||t[63]!==ce||t[64]!==R||t[65]!==T?(Ce=R>0&&(0,Z.jsxs)(`div`,{className:`ok-pdf-controls`,children:[(0,Z.jsx)(`form`,{className:`ok-pdf-page-form`,onSubmit:e=>{e.preventDefault(),ce()},children:(0,Z.jsx)(`input`,{type:`text`,inputMode:`numeric`,pattern:`[0-9]*`,className:`ok-pdf-page-input`,value:C,onChange:e=>w(e.target.value.replace(/[^0-9]/g,``)),onBlur:ce,"aria-label":L({id:`xsZhu-`})})}),(0,Z.jsx)(`span`,{className:`ok-pdf-page-of`,children:(0,Z.jsx)(o,{id:`1GhYxC`,values:{totalPages:R}})}),(0,Z.jsx)(`span`,{className:`ok-pdf-divider`,"aria-hidden":`true`}),(0,Z.jsx)(`button`,{type:`button`,onClick:fe,disabled:T<=Lb,"aria-label":L({id:`FjkaiT`}),className:`ok-pdf-btn`,title:L({id:`FjkaiT`}),children:(0,Z.jsx)(Ho,{size:14,"aria-hidden":`true`})}),(0,Z.jsxs)(`span`,{className:`ok-pdf-zoom-display`,"aria-live":`polite`,children:[Math.round(T*100),`%`]}),(0,Z.jsx)(`button`,{type:`button`,onClick:ue,disabled:T>=Rb,"aria-label":L({id:`AWOSPo`}),className:`ok-pdf-btn`,title:L({id:`AWOSPo`}),children:(0,Z.jsx)(Vo,{size:14,"aria-hidden":`true`})}),(0,Z.jsx)(`span`,{className:`ok-pdf-divider`,"aria-hidden":`true`}),(0,Z.jsxs)(`div`,{className:`ok-pdf-layout-menu`,children:[(0,Z.jsx)(`button`,{type:`button`,onClick:()=>M(Wb),"aria-label":L({id:`GQDSBN`}),"aria-haspopup":`menu`,"aria-expanded":j,className:`ok-pdf-btn`,title:L({id:`rdU729`}),children:(0,Z.jsx)(Zt,{size:14,"aria-hidden":`true`})}),j&&(0,Z.jsxs)(`div`,{role:`menu`,className:`ok-pdf-menu`,children:[(0,Z.jsx)(Jb,{label:L({id:`vIxrEk`}),active:D===`fit-width`,onSelect:()=>me(`fit-width`)}),(0,Z.jsx)(Jb,{label:L({id:`YlDuro`}),active:D===`fit-height`,onSelect:()=>me(`fit-height`)}),(0,Z.jsx)(`hr`,{className:`ok-pdf-menu-divider`}),(0,Z.jsx)(Jb,{label:L({id:`BGHHtQ`}),active:D===`single`,onSelect:()=>me(`single`)}),(0,Z.jsx)(Jb,{label:L({id:`xK291b`}),active:D===`two-odd`,onSelect:()=>me(`two-odd`)}),(0,Z.jsx)(Jb,{label:L({id:`NSnIUP`}),active:D===`two-even`,onSelect:()=>me(`two-even`)})]})]})]}),t[59]=L,t[60]=j,t[61]=D,t[62]=C,t[63]=ce,t[64]=R,t[65]=T,t[66]=Ce):Ce=t[66];let we;t[67]!==be||t[68]!==Se||t[69]!==Ce?(we=(0,Z.jsxs)(`div`,{className:`ok-pdf-toolbar`,contentEditable:!1,children:[be,Se,Ce]}),t[67]=be,t[68]=Se,t[69]=Ce,t[70]=we):we=t[70];let Te;t[71]!==L||t[72]!==b||t[73]!==q||t[74]!==m||t[75]!==k?(Te=k&&(0,Z.jsx)(`aside`,{className:`ok-pdf-sidebar`,"aria-label":L({id:`nzaV6Q`}),children:m.map((e,t)=>{let{pageNumber:n}=e;return(0,Z.jsxs)(`button`,{type:`button`,className:`ok-pdf-thumb`,"data-active":b===n||void 0,onClick:()=>q(n),"aria-label":L({id:`qioCwA`,values:{pageNumber:n}}),children:[(0,Z.jsx)(`canvas`,{ref:e=>{d.current[t]=e},className:`ok-pdf-thumb-canvas`}),(0,Z.jsx)(`span`,{className:`ok-pdf-thumb-num`,children:n})]},n)})}),t[71]=L,t[72]=b,t[73]=q,t[74]=m,t[75]=k,t[76]=Te):Te=t[76];let Ee;t[77]===g?Ee=t[78]:(Ee=g&&(0,Z.jsx)(`div`,{className:`ok-pdf-loading`,children:(0,Z.jsx)(o,{id:`T-654M`})}),t[77]=g,t[78]=Ee);let De;t[79]===v?De=t[80]:(De=v&&(0,Z.jsx)(`div`,{className:`ok-pdf-error`,children:(0,Z.jsx)(o,{id:`WamGNs`,values:{error:v}})}),t[79]=v,t[80]=De);let Oe;t[81]!==L||t[82]!==R?(Oe=Array.from({length:R},(e,t)=>{let n=t+1;return(0,Z.jsx)(`canvas`,{ref:e=>{l.current[t]=e},className:`ok-pdf-page`,"aria-label":L({id:`XtRoxT`,values:{pageNumber:n}})},n)}),t[81]=L,t[82]=R,t[83]=Oe):Oe=t[83];let ke;t[84]!==D||t[85]!==Ee||t[86]!==De||t[87]!==Oe?(ke=(0,Z.jsxs)(`div`,{className:`ok-pdf-pages`,ref:a,"data-layout":D,children:[Ee,De,Oe]}),t[84]=D,t[85]=Ee,t[86]=De,t[87]=Oe,t[88]=ke):ke=t[88];let Ae;t[89]!==Te||t[90]!==ke?(Ae=(0,Z.jsxs)(`div`,{className:`ok-pdf-body`,children:[Te,ke]}),t[89]=Te,t[90]=ke,t[91]=Ae):Ae=t[91];let je;return t[92]!==he||t[93]!==we||t[94]!==Ae?(je=(0,Z.jsxs)(`div`,{className:`ok-pdf`,style:he,children:[we,Ae]}),t[92]=he,t[93]=we,t[94]=Ae,t[95]=je):je=t[95],je}function Wb(e){return!e}function Gb(e){return!e}function Kb(e){return Math.max(Lb,+(e-zb).toFixed(2))}function qb(e){return Math.min(Rb,+(e+zb).toFixed(2))}function Jb(e){let t=(0,$.c)(10),n=e.active||void 0,r;t[0]===e.active?r=t[1]:(r=e.active&&(0,Z.jsx)(Xt,{size:14}),t[0]=e.active,t[1]=r);let i;t[2]===r?i=t[3]:(i=(0,Z.jsx)(`span`,{className:`ok-pdf-menu-check`,"aria-hidden":`true`,children:r}),t[2]=r,t[3]=i);let a;return t[4]!==e.active||t[5]!==e.label||t[6]!==e.onSelect||t[7]!==n||t[8]!==i?(a=(0,Z.jsxs)(`button`,{type:`button`,role:`menuitemradio`,"aria-checked":e.active,className:`ok-pdf-menu-item`,"data-active":n,onClick:e.onSelect,children:[i,e.label]}),t[4]=e.active,t[5]=e.label,t[6]=e.onSelect,t[7]=n,t[8]=i,t[9]=a):a=t[9],a}function Yb(e){if(!e)return null;for(let t of e.split(`&`)){let e=t.indexOf(`=`);if(!(e<0)&&t.slice(0,e)===`page`){let n=Number.parseInt(t.slice(e+1),10);if(!Number.isNaN(n)&&n>=1)return n}}return null}function Xb(e){let t=(0,$.c)(10),{label:n,id:r,children:i}=e,a=(0,Q.useId)(),o;t[0]!==r||t[1]!==a?(o=r||`tab-panel-${a.replace(/:/g,``)}`,t[0]=r,t[1]=a,t[2]=o):o=t[2];let s=o,c=`${s}-tab`,l;t[3]===n?l=t[4]:(l=n?.trim()||`Tab`,t[3]=n,t[4]=l);let u=l,d;return t[5]!==i||t[6]!==s||t[7]!==u||t[8]!==c?(d=(0,Z.jsx)(`section`,{className:`tab-panel`,id:s,role:`tabpanel`,"aria-labelledby":c,"data-tab-label":u,"data-tab-id":s,children:i}),t[5]=i,t[6]=s,t[7]=u,t[8]=c,t[9]=d):d=t[9],d}var Zb=`:scope > .component-children > [data-node-view-content-react] > .react-renderer`;function Qb(e){return Array.from(e.querySelectorAll(Zb)).map((e,t)=>{let n=e.querySelector(`[data-tab-label]`);return{index:t,label:(n?.getAttribute(`data-tab-label`))?.trim()||`Tab ${t+1}`,panelId:n?.getAttribute(`data-tab-id`)??null}})}function $b(e,t){let n=Array.from(e.querySelectorAll(Zb))[t];return n?n.querySelector(`[data-jsx-gear]`):null}function ex(e){let t=(0,$.c)(31),{id:n,children:r}=e,[i,a]=(0,Q.useState)(0),o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=[],t[0]=o):o=t[0];let[c,l]=(0,Q.useState)(o),u=(0,Q.useRef)(null),d=(0,Q.useRef)(null),f=(0,Q.useRef)(0),p=Qv(),m=p?.addChild!=null,{_:h}=s(),g;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(g=()=>{let e=u.current;if(!e)return;let t=Qb(e);l(e=>{if(e.length!==t.length)return t;for(let n=0;n<e.length;n++)if(e[n].label!==t[n].label||e[n].panelId!==t[n].panelId)return t;return e})},t[1]=g):g=t[1],(0,Q.useLayoutEffect)(g);let _,v;t[2]===c.length?(_=t[3],v=t[4]):(_=()=>{c.length>f.current&&c.length>0&&a(c.length-1),f.current=c.length},v=[c.length],t[2]=c.length,t[3]=_,t[4]=v),(0,Q.useLayoutEffect)(_,v);let y;t[5]===n?y=t[6]:(y=()=>{let e=()=>{let e=window.location.hash.slice(1);if(!e)return;if(n&&e===n){a(0);return}let t=u.current;if(!t)return;let r=Qb(t).findIndex(t=>t.panelId===e);r<0||(a(r),queueMicrotask(()=>{t.ownerDocument.getElementById(e)?.scrollIntoView({block:`start`,behavior:`auto`})}))};return e(),window.addEventListener(`hashchange`,e),()=>window.removeEventListener(`hashchange`,e)},t[5]=n,t[6]=y),(0,Q.useLayoutEffect)(y);let b=c.length===0?0:Math.min(Math.max(i,0),c.length-1),x;t[7]!==c.length||t[8]!==b?(x=e=>{if(c.length===0)return;let t=null;e.key===`ArrowRight`?t=(b+1)%c.length:e.key===`ArrowLeft`?t=(b-1+c.length)%c.length:e.key===`Home`?t=0:e.key===`End`&&(t=c.length-1),t!==null&&(e.preventDefault(),a(t),(d.current?.querySelectorAll(`[role="tab"]`))?.[t]?.focus())},t[7]=c.length,t[8]=b,t[9]=x):x=t[9];let S=x,C=n?`Tabs: ${n}`:`Tabs`,w;t[10]!==c||t[11]!==b?(w=c.map(e=>(0,Z.jsx)(`button`,{id:e.panelId?`${e.panelId}-tab`:void 0,type:`button`,role:`tab`,className:`tabs-strip-pill`,"data-active":e.index===b,"aria-selected":e.index===b,"aria-controls":e.panelId??void 0,tabIndex:e.index===b?0:-1,onMouseDown:nx,onClick:()=>{if(e.index!==b){a(e.index);return}let t=u.current;t&&$b(t,e.index)?.click()},children:e.label},e.index)),t[10]=c,t[11]=b,t[12]=w):w=t[12];let T;t[13]!==S||t[14]!==C||t[15]!==w?(T=(0,Z.jsx)(`div`,{ref:d,role:`tablist`,"aria-label":C,className:`tabs-tablist`,onKeyDown:S,children:w}),t[13]=S,t[14]=C,t[15]=w,t[16]=T):T=t[16];let E;t[17]!==h||t[18]!==m||t[19]!==p?(E=m&&(0,Z.jsx)(`button`,{type:`button`,className:`tabs-strip-add`,"aria-label":h({id:`hjO0Mq`}),title:h({id:`hjO0Mq`}),onMouseDown:tx,onClick:()=>p?.addChild?.(),"data-tabs-strip-add":``,children:`+`}),t[17]=h,t[18]=m,t[19]=p,t[20]=E):E=t[20];let D;t[21]!==E||t[22]!==T?(D=(0,Z.jsxs)(`div`,{className:`tabs-strip`,contentEditable:!1,children:[T,E]}),t[21]=E,t[22]=T,t[23]=D):D=t[23];let O;t[24]!==r||t[25]!==b?(O=(0,Z.jsx)(`div`,{ref:u,className:`tabs-content`,"data-active-index":b,children:r}),t[24]=r,t[25]=b,t[26]=O):O=t[26];let k;return t[27]!==n||t[28]!==D||t[29]!==O?(k=(0,Z.jsxs)(`div`,{className:`tabs`,id:n,children:[D,O]}),t[27]=n,t[28]=D,t[29]=O,t[30]=k):k=t[30],k}function tx(e){return e.preventDefault()}function nx(e){return e.preventDefault()}var rx=typeof global<`u`&&{}.toString.call(global)===`[object global]`,ix=typeof Bun<`u`,ax=typeof Deno<`u`,ox=typeof WebSocketPair==`function`&&caches?.default!==void 0,sx=rx||ix||ax||ox;function cx(e,t){return e.indexOf(t.toLowerCase())===0?e:`${t.toLowerCase()}${e.substr(0,1).toUpperCase()}${e.substr(1)}`}function lx(e){return!!(e&&e.nodeType===1&&`nodeName`in e&&e.ownerDocument&&e.ownerDocument.defaultView)}function ux(e){return!isNaN(parseFloat(e))&&isFinite(e)&&Math.floor(e)==e}function dx(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function fx(e){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e)}function px(e){let t=(e||``).match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),n=(t&&t[1]||``).replace(`player.`,``);for(let e of[`.videoji.hk`,`.vimeo.work`,`.videoji.cn`])if(n.endsWith(e))return n;return`vimeo.com`}function mx(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.id,n=e.url,r=t||n;if(!r)throw Error(`An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.`);if(ux(r))return`https://vimeo.com/${r}`;if(dx(r))return r.replace(`http:`,`https:`);throw TypeError(t?`“${t}” is not a valid video id.`:`“${r}” is not a vimeo.com url.`)}var hx=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:`addEventListener`,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:`removeEventListener`,a=typeof t==`string`?[t]:t;return a.forEach(t=>{e[r](t,n)}),{cancel:()=>a.forEach(t=>e[i](t,n))}};function gx(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document;if(!e||!t||typeof t.querySelectorAll!=`function`)return null;let n=t.querySelectorAll(`iframe`);for(let t=0;t<n.length;t++)if(n[t]&&n[t].contentWindow===e)return n[t];return null}var _x=Array.prototype.indexOf!==void 0,vx=typeof window<`u`&&window.postMessage!==void 0;if(!sx&&(!_x||!vx))throw Error(`Sorry, the Vimeo Player API is not available in this browser.`);var yx=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};function bx(e,t){return t={exports:{}},e(t,t.exports),t.exports}(function(e){if(e.WeakMap)return;var t=Object.prototype.hasOwnProperty,n=Object.defineProperty&&function(){try{return Object.defineProperty({},`x`,{value:1}).x===1}catch{}}(),r=function(e,t,r){n?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:r}):e[t]=r};e.WeakMap=function(){function e(){if(this===void 0)throw TypeError(`Constructor WeakMap requires 'new'`);if(r(this,`_id`,a(`_WeakMap`)),arguments.length>0)throw TypeError(`WeakMap iterable is not supported`)}r(e.prototype,`delete`,function(e){if(n(this,`delete`),!i(e))return!1;var t=e[this._id];return t&&t[0]===e?(delete e[this._id],!0):!1}),r(e.prototype,`get`,function(e){if(n(this,`get`),i(e)){var t=e[this._id];if(t&&t[0]===e)return t[1]}}),r(e.prototype,`has`,function(e){if(n(this,`has`),!i(e))return!1;var t=e[this._id];return!!(t&&t[0]===e)}),r(e.prototype,`set`,function(e,t){if(n(this,`set`),!i(e))throw TypeError(`Invalid value used as weak map key`);var a=e[this._id];return a&&a[0]===e?(a[1]=t,this):(r(e,this._id,[e,t]),this)});function n(e,n){if(!i(e)||!t.call(e,`_id`))throw TypeError(n+` method called on incompatible receiver `+typeof e)}function a(e){return e+`_`+o()+`.`+o()}function o(){return Math.random().toString().substring(2)}return r(e,`_polyfill`,!0),e}();function i(e){return Object(e)===e}})(typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:yx);var xx=bx(function(e){(function(t,n,r){n[t]=n[t]||r(),e.exports&&=n[t]})(`Promise`,yx,function(){var e,t,n,r=Object.prototype.toString,i=typeof setImmediate<`u`?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},`x`,{}),e=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:r!==!1})}}catch{e=function(e,t,n){return e[t]=n,e}}n=function(){var e,n,r;function i(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(t,a){r=new i(t,a),n?n.next=r:e=r,n=r,r=void 0},drain:function(){var r=e;for(e=n=t=void 0;r;)r.fn.call(r.self),r=r.next}}}();function a(e,r){n.add(e,r),t||=i(n.drain)}function o(e){var t,n=typeof e;return e!=null&&(n==`object`||n==`function`)&&(t=e.then),typeof t==`function`?t:!1}function s(){for(var e=0;e<this.chain.length;e++)c(this,this.state===1?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function c(e,t,n){var r,i;try{t===!1?n.reject(e.msg):(r=t===!0?e.msg:t.call(void 0,e.msg),r===n.promise?n.reject(TypeError(`Promise-chain cycle`)):(i=o(r))?i.call(r,n.resolve,n.reject):n.resolve(r))}catch(e){n.reject(e)}}function l(e){var t,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(t=o(e))?a(function(){var r=new f(n);try{t.call(e,function(){l.apply(r,arguments)},function(){u.apply(r,arguments)})}catch(e){u.call(r,e)}}):(n.msg=e,n.state=1,n.chain.length>0&&a(s,n))}catch(e){u.call(new f(n),e)}}}function u(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&a(s,t))}function d(e,t,n,r){for(var i=0;i<t.length;i++)(function(i){e.resolve(t[i]).then(function(e){n(i,e)},r)})(i)}function f(e){this.def=e,this.triggered=!1}function p(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function m(e){if(typeof e!=`function`)throw TypeError(`Not a function`);if(this.__NPO__!==0)throw TypeError(`Not a promise`);this.__NPO__=1;var t=new p(this);this.then=function(e,n){var r={success:typeof e==`function`?e:!0,failure:typeof n==`function`?n:!1};return r.promise=new this.constructor(function(e,t){if(typeof e!=`function`||typeof t!=`function`)throw TypeError(`Not a function`);r.resolve=e,r.reject=t}),t.chain.push(r),t.state!==0&&a(s,t),r.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){l.call(t,e)},function(e){u.call(t,e)})}catch(e){u.call(t,e)}}var h=e({},`constructor`,m,!1);return m.prototype=h,e(h,`__NPO__`,0,!1),e(m,`resolve`,function(e){var t=this;return e&&typeof e==`object`&&e.__NPO__===1?e:new t(function(t,n){if(typeof t!=`function`||typeof n!=`function`)throw TypeError(`Not a function`);t(e)})}),e(m,`reject`,function(e){return new this(function(t,n){if(typeof t!=`function`||typeof n!=`function`)throw TypeError(`Not a function`);n(e)})}),e(m,`all`,function(e){var t=this;return r.call(e)==`[object Array]`?e.length===0?t.resolve([]):new t(function(n,r){if(typeof n!=`function`||typeof r!=`function`)throw TypeError(`Not a function`);var i=e.length,a=Array(i),o=0;d(t,e,function(e,t){a[e]=t,++o===i&&n(a)},r)}):t.reject(TypeError(`Not an array`))}),e(m,`race`,function(e){var t=this;return r.call(e)==`[object Array]`?new t(function(n,r){if(typeof n!=`function`||typeof r!=`function`)throw TypeError(`Not a function`);d(t,e,function(e,t){n(t)},r)}):t.reject(TypeError(`Not an array`))}),m})}),Sx=new WeakMap;function Cx(e,t,n){let r=Sx.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),Sx.set(e.element,r)}function wx(e,t){return(Sx.get(e.element)||{})[t]||[]}function Tx(e,t,n){let r=Sx.get(e.element)||{};if(!r[t])return!0;if(!n)return r[t]=[],Sx.set(e.element,r),!0;let i=r[t].indexOf(n);return i!==-1&&r[t].splice(i,1),Sx.set(e.element,r),r[t]&&r[t].length===0}function Ex(e,t){let n=wx(e,t);if(n.length<1)return!1;let r=n.shift();return Tx(e,t,r),r}function Dx(e,t){let n=Sx.get(e);Sx.set(t,n),Sx.delete(e)}function Ox(e){if(typeof e==`string`)try{e=JSON.parse(e)}catch(e){return console.warn(e),{}}return e}function kx(e,t,n){if(!e.element.contentWindow||!e.element.contentWindow.postMessage)return;let r={method:t};n!==void 0&&(r.value=n);let i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,`$1`));i>=8&&i<10&&(r=JSON.stringify(r)),e.element.contentWindow.postMessage(r,e.origin)}function Ax(e,t){t=Ox(t);let n=[],r;if(t.event)t.event===`error`&&wx(e,t.data.method).forEach(n=>{let r=Error(t.data.message);r.name=t.data.name,n.reject(r),Tx(e,t.data.method,n)}),n=wx(e,`event:${t.event}`),r=t.data;else if(t.method){let i=Ex(e,t.method);i&&(n.push(i),r=t.value)}n.forEach(t=>{try{if(typeof t==`function`){t.call(e,r);return}t.resolve(r)}catch{}})}var jx=`airplay.audio_tracks.audiotrack.autopause.autoplay.background.byline.cc.chapter_id.chapters.chromecast.color.colors.controls.disable_context_menu.dnt.end_time.fullscreen.height.id.initial_quality.interactive_params.keyboard.loop.maxheight.max_quality.maxwidth.min_quality.muted.play_button_position.playsinline.portrait.preload.progress_bar.quality.quality_selector.responsive.skipping_forward.speed.start_time.texttrack.thumbnail_id.title.transcript.transparent.unmute_button.url.vimeo_logo.volume.watch_full_video.width`.split(`.`);function Mx(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return jx.reduce((t,n)=>{let r=e.getAttribute(`data-vimeo-${n}`);return(r||r===``)&&(t[n]=r===``?1:r),t},t)}function Nx(e,t){let{html:n}=e;if(!t)throw TypeError(`An element must be provided`);if(t.getAttribute(`data-vimeo-initialized`)!==null)return t.querySelector(`iframe`);let r=document.createElement(`div`);return r.innerHTML=n,t.appendChild(r.firstChild),t.setAttribute(`data-vimeo-initialized`,`true`),t.querySelector(`iframe`)}function Px(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise((r,i)=>{if(!dx(e))throw TypeError(`“${e}” is not a vimeo.com url.`);let a=`https://${px(e)}/api/oembed.json?url=${encodeURIComponent(e)}`;for(let e in t)t.hasOwnProperty(e)&&(a+=`&${e}=${encodeURIComponent(t[e])}`);let o=`XDomainRequest`in window?new XDomainRequest:new XMLHttpRequest;o.open(`GET`,a,!0),o.onload=function(){if(o.status===404){i(Error(`“${e}” was not found.`));return}if(o.status===403){i(Error(`“${e}” is not embeddable.`));return}try{let t=JSON.parse(o.responseText);if(t.domain_status_code===403){Nx(t,n),i(Error(`“${e}” is not embeddable.`));return}r(t)}catch(e){i(e)}},o.onerror=function(){let e=o.status?` (${o.status})`:``;i(Error(`There was an error fetching the embed code from Vimeo${e}.`))},o.send()})}function Fx(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,t=[].slice.call(e.querySelectorAll(`[data-vimeo-id], [data-vimeo-url]`)),n=e=>{`console`in window&&console.error&&console.error(`There was an error creating an embed: ${e}`)};t.forEach(e=>{try{if(e.getAttribute(`data-vimeo-defer`)!==null)return;let t=Mx(e);Px(mx(t),t,e).then(t=>Nx(t,e)).catch(n)}catch(e){n(e)}})}function Ix(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener(`message`,t=>{if(!dx(t.origin)||!t.data||t.data.event!==`spacechange`)return;let n=t.source?gx(t.source,e):null;if(n){let e=n.parentElement;e.style.paddingBottom=`${t.data.data[0].bottom}px`}}))}function Lx(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;window.VimeoSeoMetadataAppended||(window.VimeoSeoMetadataAppended=!0,window.addEventListener(`message`,t=>{if(!dx(t.origin))return;let n=Ox(t.data);if(!n||n.event!==`ready`)return;let r=t.source?gx(t.source,e):null;r&&fx(r.src)&&new Kx(r).callMethod(`appendVideoMetadata`,window.location.href)}))}function Rx(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoCheckedUrlTimeParam)return;window.VimeoCheckedUrlTimeParam=!0;let t=e=>{`console`in window&&console.error&&console.error(`There was an error getting video Id: ${e}`)};window.addEventListener(`message`,n=>{if(!dx(n.origin))return;let r=Ox(n.data);if(!r||r.event!==`ready`)return;let i=n.source?gx(n.source,e):null;if(i&&fx(i.src)){let e=new Kx(i);e.getVideoId().then(t=>{let n=RegExp(`[?&]vimeo_t_${t}=([^&#]*)`).exec(window.location.href);if(n&&n[1]){let t=decodeURI(n[1]);e.setCurrentTime(t)}}).catch(t)}})}function zx(){window.VimeoDRMEmbedsUpdated||(window.VimeoDRMEmbedsUpdated=!0,window.addEventListener(`message`,e=>{if(!dx(e.origin))return;let t=Ox(e.data);if(!t||t.event!==`drminitfailed`)return;let n=e.source?gx(e.source):null;if(!n)return;let r=n.getAttribute(`allow`)||``;if(!r.includes(`encrypted-media`)){n.setAttribute(`allow`,`${r}; encrypted-media`);let e=new URL(n.getAttribute(`src`));e.searchParams.set(`forcereload`,`drm`),n.setAttribute(`src`,e.toString());return}}))}function Bx(){let e=function(){let e,t=[[`requestFullscreen`,`exitFullscreen`,`fullscreenElement`,`fullscreenEnabled`,`fullscreenchange`,`fullscreenerror`],[`webkitRequestFullscreen`,`webkitExitFullscreen`,`webkitFullscreenElement`,`webkitFullscreenEnabled`,`webkitfullscreenchange`,`webkitfullscreenerror`],[`webkitRequestFullScreen`,`webkitCancelFullScreen`,`webkitCurrentFullScreenElement`,`webkitCancelFullScreen`,`webkitfullscreenchange`,`webkitfullscreenerror`],[`mozRequestFullScreen`,`mozCancelFullScreen`,`mozFullScreenElement`,`mozFullScreenEnabled`,`mozfullscreenchange`,`mozfullscreenerror`],[`msRequestFullscreen`,`msExitFullscreen`,`msFullscreenElement`,`msFullscreenEnabled`,`MSFullscreenChange`,`MSFullscreenError`]],n=0,r=t.length,i={};for(;n<r;n++)if(e=t[n],e&&e[1]in document){for(n=0;n<e.length;n++)i[t[0][n]]=e[n];return i}return!1}(),t={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},n={request(t){return new Promise((r,i)=>{let a=function(){n.off(`fullscreenchange`,a),r()};n.on(`fullscreenchange`,a),t||=document.documentElement;let o=t[e.requestFullscreen]();o instanceof Promise&&o.then(a).catch(i)})},exit(){return new Promise((t,r)=>{if(!n.isFullscreen){t();return}let i=function(){n.off(`fullscreenchange`,i),t()};n.on(`fullscreenchange`,i);let a=document[e.exitFullscreen]();a instanceof Promise&&a.then(i).catch(r)})},on(e,n){let r=t[e];r&&document.addEventListener(r,n)},off(e,n){let r=t[e];r&&document.removeEventListener(r,n)}};return Object.defineProperties(n,{isFullscreen:{get(){return!!document[e.fullscreenElement]}},element:{enumerable:!0,get(){return document[e.fullscreenElement]}},isEnabled:{enumerable:!0,get(){return!!document[e.fullscreenEnabled]}}}),n}var Vx={role:`viewer`,autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},Hx=class extends EventTarget{logger;constructor(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;super(),this.logger=r,this.init(t,e,{...Vx,...n})}disconnect(){this.dispatchEvent(new Event(`disconnect`))}async init(e,t,n){if(await this.waitForTOReadyState(e,`open`),n.role===`viewer`){await this.updatePlayer(e,t,n);let r=hx(e,`change`,()=>this.updatePlayer(e,t,n)),i=this.maintainPlaybackPosition(e,t,n);this.addEventListener(`disconnect`,()=>{i.cancel(),r.cancel()})}else{await this.updateTimingObject(e,t);let n=hx(t,[`seeked`,`play`,`pause`,`ratechange`],()=>this.updateTimingObject(e,t),`on`,`off`);this.addEventListener(`disconnect`,()=>n.cancel())}}async updateTimingObject(e,t){let[n,r,i]=await Promise.all([t.getCurrentTime(),t.getPaused(),t.getPlaybackRate()]);e.update({position:n,velocity:r?0:i})}async updatePlayer(e,t,n){let{position:r,velocity:i}=e.query();typeof r==`number`&&t.setCurrentTime(r),typeof i==`number`&&(i===0?await t.getPaused()===!1&&t.pause():i>0&&(await t.getPaused()===!0&&(await t.play().catch(async e=>{e.name===`NotAllowedError`&&n.autoPlayMuted&&(await t.setMuted(!0),await t.play().catch(e=>console.error(`Couldn't play the video from TimingSrcConnector. Error:`,e)))}),this.updatePlayer(e,t,n)),await t.getPlaybackRate()!==i&&t.setPlaybackRate(i)))}maintainPlaybackPosition(e,t,n){let{allowedDrift:r,maxAllowedDrift:i,minCheckInterval:a,maxRateAdjustment:o,maxTimeToCatchUp:s}=n,c=Math.min(s,Math.max(a,i))*1e3,l=async()=>{if(e.query().velocity===0||await t.getPaused()===!0)return;let n=e.query().position-await t.getCurrentTime(),a=Math.abs(n);if(this.log(`Drift: ${n}`),a>i)await this.adjustSpeed(t,0),t.setCurrentTime(e.query().position),this.log(`Resync by currentTime`);else if(a>r){let e=a/s,r=o,i=e<r?(r-e)/2:r;await this.adjustSpeed(t,i*Math.sign(n)),this.log(`Resync by playbackRate`)}},u=setInterval(()=>l(),c);return{cancel:()=>clearInterval(u)}}log(e){this.logger?.(`TimingSrcConnector: ${e}`)}speedAdjustment=0;adjustSpeed=async(e,t)=>{if(this.speedAdjustment===t)return;let n=await e.getPlaybackRate()-this.speedAdjustment+t;this.log(`New playbackRate: ${n}`),await e.setPlaybackRate(n),this.speedAdjustment=t};waitForTOReadyState(e,t){return new Promise(n=>{let r=()=>{e.readyState===t?n():e.addEventListener(`readystatechange`,r,{once:!0})};r()})}},Ux=new WeakMap,Wx=new WeakMap,Gx={},Kx=class{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn(`A jQuery object with multiple elements was passed, using the first element.`),e=e[0]),typeof document<`u`&&typeof e==`string`&&(e=document.getElementById(e)),!lx(e))throw TypeError(`You must pass either a valid element or a valid id.`);if(e.nodeName!==`IFRAME`){let t=e.querySelector(`iframe`);t&&(e=t)}if(e.nodeName===`IFRAME`&&!dx(e.getAttribute(`src`)||``))throw Error(`The player element passed isn’t a Vimeo embed.`);if(Ux.has(e))return Ux.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin=`*`;let n=new xx((n,r)=>{if(this._onMessage=e=>{if(!dx(e.origin)||this.element.contentWindow!==e.source)return;this.origin===`*`&&(this.origin=e.origin);let t=Ox(e.data);if(t&&t.event===`error`&&t.data&&t.data.method===`ready`){let e=Error(t.data.message);e.name=t.data.name,r(e);return}let i=t&&t.event===`ready`,a=t&&t.method===`ping`;if(i||a){this.element.setAttribute(`data-ready`,`true`),n();return}Ax(this,t)},this._window.addEventListener(`message`,this._onMessage),this.element.nodeName!==`IFRAME`){let n=Mx(e,t);Px(mx(n),n,e).then(t=>{let n=Nx(t,e);return this.element=n,this._originalElement=e,Dx(e,n),Ux.set(this.element,this),t}).catch(r)}});if(Wx.set(this,n),Ux.set(this.element,this),this.element.nodeName===`IFRAME`&&kx(this,`ping`),Gx.isEnabled){let e=()=>Gx.exit();this.fullscreenchangeHandler=()=>{Gx.isFullscreen?Cx(this,`event:exitFullscreen`,e):Tx(this,`event:exitFullscreen`,e),this.ready().then(()=>{kx(this,`fullscreenchange`,Gx.isFullscreen)})},Gx.on(`fullscreenchange`,this.fullscreenchangeHandler)}return this}static isVimeoUrl(e){return dx(e)}callMethod(e){var t=[...arguments].slice(1);if(e==null)throw TypeError(`You must pass a method name.`);return new xx((n,r)=>this.ready().then(()=>{Cx(this,e,{resolve:n,reject:r}),t.length===0?t={}:t.length===1&&(t=t[0]),kx(this,e,t)}).catch(r))}get(e){return new xx((t,n)=>(e=cx(e,`get`),this.ready().then(()=>{Cx(this,e,{resolve:t,reject:n}),kx(this,e)}).catch(n)))}set(e,t){return new xx((n,r)=>{if(e=cx(e,`set`),t==null)throw TypeError(`There must be a value to set.`);return this.ready().then(()=>{Cx(this,e,{resolve:n,reject:r}),kx(this,e,t)}).catch(r)})}on(e,t){if(!e)throw TypeError(`You must pass an event name.`);if(!t)throw TypeError(`You must pass a callback function.`);if(typeof t!=`function`)throw TypeError(`The callback must be a function.`);wx(this,`event:${e}`).length===0&&this.callMethod(`addEventListener`,e).catch(()=>{}),Cx(this,`event:${e}`,t)}off(e,t){if(!e)throw TypeError(`You must pass an event name.`);if(t&&typeof t!=`function`)throw TypeError(`The callback must be a function.`);Tx(this,`event:${e}`,t)&&this.callMethod(`removeEventListener`,e).catch(e=>{})}loadVideo(e){return this.callMethod(`loadVideo`,e)}ready(){let e=Wx.get(this)||new xx((e,t)=>{t(Error(`Unknown player. Probably unloaded.`))});return xx.resolve(e)}addCuePoint(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod(`addCuePoint`,{time:e,data:t})}removeCuePoint(e){return this.callMethod(`removeCuePoint`,e)}enableTextTrack(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e)throw TypeError(`You must pass a language.`);return this.callMethod(`enableTextTrack`,{language:e,kind:t,showing:n})}disableTextTrack(){return this.callMethod(`disableTextTrack`)}selectAudioTrack(e,t){if(!e)throw TypeError(`You must pass a language.`);return this.callMethod(`selectAudioTrack`,{language:e,kind:t})}selectDefaultAudioTrack(){return this.callMethod(`selectDefaultAudioTrack`)}pause(){return this.callMethod(`pause`)}play(){return this.callMethod(`play`)}requestFullscreen(){return Gx.isEnabled?Gx.request(this.element):this.callMethod(`requestFullscreen`)}exitFullscreen(){return Gx.isEnabled?Gx.exit():this.callMethod(`exitFullscreen`)}getFullscreen(){return Gx.isEnabled?xx.resolve(Gx.isFullscreen):this.get(`fullscreen`)}requestPictureInPicture(){return this.callMethod(`requestPictureInPicture`)}exitPictureInPicture(){return this.callMethod(`exitPictureInPicture`)}getPictureInPicture(){return this.get(`pictureInPicture`)}remotePlaybackPrompt(){return this.callMethod(`remotePlaybackPrompt`)}unload(){return this.callMethod(`unload`)}destroy(){return new xx(e=>{if(Wx.delete(this),Ux.delete(this.element),this._originalElement&&(Ux.delete(this._originalElement),this._originalElement.removeAttribute(`data-vimeo-initialized`)),this.element&&this.element.nodeName===`IFRAME`&&this.element.parentNode&&(this.element.parentNode.parentNode&&this._originalElement&&this._originalElement!==this.element.parentNode?this.element.parentNode.parentNode.removeChild(this.element.parentNode):this.element.parentNode.removeChild(this.element)),this.element&&this.element.nodeName===`DIV`&&this.element.parentNode){this.element.removeAttribute(`data-vimeo-initialized`);let e=this.element.querySelector(`iframe`);e&&e.parentNode&&(e.parentNode.parentNode&&this._originalElement&&this._originalElement!==e.parentNode?e.parentNode.parentNode.removeChild(e.parentNode):e.parentNode.removeChild(e))}this._window.removeEventListener(`message`,this._onMessage),Gx.isEnabled&&Gx.off(`fullscreenchange`,this.fullscreenchangeHandler),e()})}getAutopause(){return this.get(`autopause`)}setAutopause(e){return this.set(`autopause`,e)}getBuffered(){return this.get(`buffered`)}getCameraProps(){return this.get(`cameraProps`)}setCameraProps(e){return this.set(`cameraProps`,e)}getChapters(){return this.get(`chapters`)}getCurrentChapter(){return this.get(`currentChapter`)}getColor(){return this.get(`color`)}getColors(){return xx.all([this.get(`colorOne`),this.get(`colorTwo`),this.get(`colorThree`),this.get(`colorFour`)])}setColor(e){return this.set(`color`,e)}setColors(e){if(!Array.isArray(e))return new xx((e,t)=>t(TypeError(`Argument must be an array.`)));let t=new xx(e=>e(null)),n=[e[0]?this.set(`colorOne`,e[0]):t,e[1]?this.set(`colorTwo`,e[1]):t,e[2]?this.set(`colorThree`,e[2]):t,e[3]?this.set(`colorFour`,e[3]):t];return xx.all(n)}getCuePoints(){return this.get(`cuePoints`)}getCurrentTime(){return this.get(`currentTime`)}setCurrentTime(e){return this.set(`currentTime`,e)}getDuration(){return this.get(`duration`)}getEnded(){return this.get(`ended`)}getLoop(){return this.get(`loop`)}setLoop(e){return this.set(`loop`,e)}setMuted(e){return this.set(`muted`,e)}getMuted(){return this.get(`muted`)}getPaused(){return this.get(`paused`)}getPlaybackRate(){return this.get(`playbackRate`)}setPlaybackRate(e){return this.set(`playbackRate`,e)}getPlayed(){return this.get(`played`)}getQualities(){return this.get(`qualities`)}getQuality(){return this.get(`quality`)}setQuality(e){return this.set(`quality`,e)}getRemotePlaybackAvailability(){return this.get(`remotePlaybackAvailability`)}getRemotePlaybackState(){return this.get(`remotePlaybackState`)}getSeekable(){return this.get(`seekable`)}getSeeking(){return this.get(`seeking`)}getTextTracks(){return this.get(`textTracks`)}getAudioTracks(){return this.get(`audioTracks`)}getEnabledAudioTrack(){return this.get(`enabledAudioTrack`)}getDefaultAudioTrack(){return this.get(`defaultAudioTrack`)}getVideoEmbedCode(){return this.get(`videoEmbedCode`)}getVideoId(){return this.get(`videoId`)}getVideoTitle(){return this.get(`videoTitle`)}getVideoWidth(){return this.get(`videoWidth`)}getVideoHeight(){return this.get(`videoHeight`)}getVideoUrl(){return this.get(`videoUrl`)}getVolume(){return this.get(`volume`)}setVolume(e){return this.set(`volume`,e)}async setTimingSrc(e,t){if(!e)throw TypeError(`A Timing Object must be provided.`);await this.ready();let n=new Hx(this,e,t);return kx(this,`notifyTimingObjectConnect`),n.addEventListener(`disconnect`,()=>kx(this,`notifyTimingObjectDisconnect`)),n}};sx||(Gx=Bx(),Fx(),Ix(),Lx(),Rx(),zx());function qx(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Jx(e,t)}function Jx(e,t){return Jx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Jx(e,t)}var Yx={play:`onPlay`,playing:`onPlaying`,pause:`onPause`,ended:`onEnd`,timeupdate:`onTimeUpdate`,progress:`onProgress`,seeked:`onSeeked`,texttrackchange:`onTextTrackChange`,cuechange:`onCueChange`,cuepoint:`onCuePoint`,volumechange:`onVolumeChange`,playbackratechange:`onPlaybackRateChange`,error:`onError`,loaded:`onLoaded`},Xx=function(e){function t(t){var n=e.call(this,t)||this;return n.refContainer=n.refContainer.bind(n),n}qx(t,e);var n=t.prototype;return n.componentDidMount=function(){this.createPlayer()},n.componentDidUpdate=function(e){var t=this,n=Object.keys(this.props).filter(function(n){return t.props[n]!==e[n]});this.updateProps(n)},n.componentWillUnmount=function(){this.player.destroy()},n.getInitialOptions=function(){var e,t=this.props.video,n=/^https?:/i.test(t)?`url`:`id`;return e={},e[n]=t,e.width=this.props.width,e.height=this.props.height,e.autopause=this.props.autopause,e.autoplay=this.props.autoplay,e.byline=this.props.showByline,e.color=this.props.color,e.controls=this.props.controls,e.loop=this.props.loop,e.portrait=this.props.showPortrait,e.title=this.props.showTitle,e.muted=this.props.muted,e.background=this.props.background,e.responsive=this.props.responsive,e.dnt=this.props.dnt,e.speed=this.props.speed,e.keyboard=this.props.keyboard,e.pip=this.props.pip,e.playsinline=this.props.playsInline,e.quality=this.props.quality,e.texttrack=this.props.textTrack,e.transparent=this.props.transparent,e},n.updateProps=function(e){var t=this,n=this.player;e.forEach(function(e){var r=t.props[e];switch(e){case`autopause`:n.setAutopause(r);break;case`color`:n.setColor(r);break;case`loop`:n.setLoop(r);break;case`volume`:n.setVolume(r);break;case`paused`:n.getPaused().then(function(e){return r&&!e?n.pause():!r&&e?n.play():null});break;case`width`:case`height`:n.element[e]=r;break;case`video`:if(r){var i=t.props.start,a=n.loadVideo(r);typeof i==`number`&&a.then(function(){n.setCurrentTime(i)})}else n.unload();break;case`playbackRate`:n.setPlaybackRate(r);break;case`quality`:n.setQuality(r);break}})},n.createPlayer=function(){var e=this,t=this.props,n=t.start,r=t.volume,i=t.playbackRate;this.player=new Kx(this.container,this.getInitialOptions()),Object.keys(Yx).forEach(function(t){var n=Yx[t];e.player.on(t,function(t){var r=e.props[n];r&&r(t)})});var a=this.props,o=a.onError,s=a.onReady;this.player.ready().then(function(){s&&s(e.player)},function(e){if(o)o(e);else throw e}),typeof n==`number`&&this.player.setCurrentTime(n),typeof r==`number`&&this.updateProps([`volume`]),typeof i==`number`&&this.updateProps([`playbackRate`])},n.refContainer=function(e){this.container=e},n.render=function(){var e=this.props,t=e.id,n=e.className,r=e.style;return Q.createElement(`div`,{id:t,className:n,style:r,ref:this.refContainer})},t}(Q.Component);Xx.defaultProps={autopause:!0,autoplay:!1,showByline:!0,controls:!0,loop:!1,showPortrait:!0,showTitle:!0,muted:!1,background:!1,responsive:!1,dnt:!1,speed:!1,keyboard:!0,pip:!1,playsInline:!0,transparent:!0};var Zx={default:120,mqdefault:320,hqdefault:480,sddefault:640,maxresdefault:1280},Qx=(e,t,n,r=`maxresdefault`)=>{let[i,a]=(0,Q.useState)(``);return(0,Q.useEffect)(()=>{let i=`https://img.youtube.com/${t}/${e}/${r}.${n}`,o=`https://img.youtube.com/${t}/${e}/hqdefault.${n}`,s=Zx[r],c=new Image;c.onload=()=>{c.width<s?a(o):a(i)},c.onerror=()=>a(o),c.src=i},[e,t,n,r]),i};function $x(e,t,n,r,i){let a={"@context":`https://schema.org`,"@type":`VideoObject`,name:i?.name||t,thumbnailUrl:[i?.thumbnailUrl||n],embedUrl:i?.embedUrl||`${r}/embed/${e}`,contentUrl:i?.contentUrl||`https://www.youtube.com/watch?v=${e}`,...i?.description&&{description:i.description},...i?.uploadDate&&{uploadDate:i.uploadDate},...i?.duration&&{duration:i.duration}};return JSON.stringify(a)}function eS(e,t){let[n,r]=Q.useState(!1),[i,a]=Q.useState(e.alwaysLoadIframe||!1),o=encodeURIComponent(e.id),s=typeof e.playlistCoverId==`string`?encodeURIComponent(e.playlistCoverId):null,c=e.title,l=e.poster||`hqdefault`,u=e.announce||`Watch`,d=e.alwaysLoadIframe?e.autoplay&&e.muted:!0,f=Q.useMemo(()=>{let t=new URLSearchParams({...e.muted?{mute:`1`}:{},...d?{autoplay:`1`}:{},...e.enableJsApi?{enablejsapi:`1`}:{},...e.enableJsApi&&typeof window<`u`?{origin:window.location.origin}:{},...e.playlist?{list:o}:{}});return e.params&&new URLSearchParams(e.params.startsWith(`&`)?e.params.slice(1):e.params).forEach((e,n)=>{t.append(n,e)}),t},[e.muted,d,e.enableJsApi,e.playlist,o,e.params]),p=Q.useMemo(()=>e.cookie?`https://www.youtube.com`:`https://www.youtube-nocookie.com`,[e.cookie]),m=Q.useMemo(()=>e.playlist?`${p}/embed/videoseries?${f.toString()}`:`${p}/embed/${o}?${f.toString()}`,[e.playlist,p,o,f]),h=!e.thumbnail&&!e.playlist&&l===`maxresdefault`,g=e.webp?`webp`:`jpg`,_=e.webp?`vi_webp`:`vi`,v=h?Qx(e.id,_,g,l):null,y=Q.useMemo(()=>e.thumbnail||v||`https://i.ytimg.com/${_}/${e.playlist?s:o}/${l}.${g}`,[e.thumbnail,v,_,e.playlist,s,o,l,g]),b=e.activatedClass||`lyt-activated`,x=e.adNetwork||!1,S=e.aspectHeight||9,C=e.aspectWidth||16,w=e.iframeClass||``,T=e.playerClass||`lty-playbtn`,E=e.wrapperClass||`yt-lite`,D=Q.useCallback(e.onIframeAdded||function(){},[e.onIframeAdded]),O=e.rel?`prefetch`:`preload`,k=e.containerElement||`article`,A=e.noscriptFallback!==!1,j=()=>{n||r(!0)},M=()=>{i||a(!0)};return Q.useEffect(()=>{i&&(D(),e.focusOnLoad&&typeof t==`object`&&t?.current&&t.current.focus())},[i,D,e.focusOnLoad,t]),Q.useEffect(()=>{if(!i||!e.enableJsApi||!(e.onReady||e.onStateChange||e.onError||e.onPlay||e.onPause||e.onEnd||e.onBuffering||e.onPlaybackRateChange||e.onPlaybackQualityChange))return;let n=!1,r=!1,a=r=>{if(r.origin!==`https://www.youtube.com`&&r.origin!==`https://www.youtube-nocookie.com`)return;let i;try{i=typeof r.data==`string`?JSON.parse(r.data):r.data}catch{return}switch(i.event){case`onReady`:n||(n=!0,e.onReady&&e.onReady({videoId:e.id,title:c}));break;case`infoDelivery`:if(i.info?.playerState!==void 0){let n=i.info.playerState;switch(e.onStateChange&&e.onStateChange({state:n,currentTime:i.info.currentTime,duration:i.info.duration}),n){case 1:e.onPlay?.();break;case 2:e.onPause?.();break;case 0:e.onEnd?.(),e.stopOnEnd&&typeof t==`object`&&t?.current?.contentWindow&&t.current.contentWindow.postMessage(`{"event":"command","func":"stopVideo","args":""}`,`*`);break;case 3:e.onBuffering?.();break}}i.info?.playbackRate!==void 0&&e.onPlaybackRateChange?.(i.info.playbackRate),i.info?.playbackQuality!==void 0&&e.onPlaybackQualityChange?.(i.info.playbackQuality);break;case`onStateChange`:if(i.info?.playerState!==void 0){let n=i.info.playerState;switch(e.onStateChange&&e.onStateChange({state:n,currentTime:i.info.currentTime,duration:i.info.duration}),n){case 1:e.onPlay?.();break;case 2:e.onPause?.();break;case 0:e.onEnd?.(),e.stopOnEnd&&typeof t==`object`&&t?.current?.contentWindow&&t.current.contentWindow.postMessage(`{"event":"command","func":"stopVideo","args":""}`,`*`);break;case 3:e.onBuffering?.();break}}break;case`onError`:if(i.info&&`errorCode`in i.info){let t=i.info.errorCode;e.onError&&e.onError(t)}break;case`onPlaybackRateChange`:i.info?.playbackRate!==void 0&&e.onPlaybackRateChange?.(i.info.playbackRate);break;case`onPlaybackQualityChange`:i.info?.playbackQuality!==void 0&&e.onPlaybackQualityChange?.(i.info.playbackQuality);break}};window.addEventListener(`message`,a);let s=[],l=()=>{typeof t==`object`&&t?.current?.contentWindow&&t.current.contentWindow.postMessage(`{"event":"listening","id":"`+o+`"}`,`*`)},u=()=>{r||(r=!0,l(),[100,300,600,1200,2400].forEach(e=>{s.push(setTimeout(l,e))}))};return typeof t==`object`&&t?.current?(t.current.addEventListener(`load`,u),t.current.contentDocument?.readyState===`complete`&&u()):[200,500,1e3,2e3,3e3].forEach(e=>{s.push(setTimeout(l,e))}),()=>{window.removeEventListener(`message`,a),s.forEach(clearTimeout),typeof t==`object`&&t?.current&&t.current.removeEventListener(`load`,u)}},[i,e.enableJsApi,e.onReady,e.onStateChange,e.onError,e.onPlay,e.onPause,e.onEnd,e.onBuffering,e.onPlaybackRateChange,e.onPlaybackQualityChange,e.stopOnEnd,e.id,o,c,t]),(0,Z.jsxs)(Z.Fragment,{children:[!e.lazyLoad&&(0,Z.jsx)(`link`,{rel:O,href:y,as:`image`}),(0,Z.jsx)(Z.Fragment,{children:n&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`link`,{rel:`preconnect`,href:p}),(0,Z.jsx)(`link`,{rel:`preconnect`,href:`https://www.google.com`}),x&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`link`,{rel:`preconnect`,href:`https://static.doubleclick.net`}),(0,Z.jsx)(`link`,{rel:`preconnect`,href:`https://googleads.g.doubleclick.net`})]})]})}),e.seo&&!e.playlist&&(0,Z.jsx)(`script`,{type:`application/ld+json`,dangerouslySetInnerHTML:{__html:$x(e.id,c,y,p,e.seo)}}),A&&!e.playlist&&(0,Z.jsx)(`noscript`,{children:(0,Z.jsxs)(`a`,{href:`https://www.youtube.com/watch?v=${e.id}`,"aria-label":`Watch ${c} on YouTube`,children:[`Watch "`,c,`" on YouTube`]})}),(0,Z.jsxs)(k,{onPointerOver:j,onClick:M,className:`${E} ${i?b:``}`,"data-title":c,role:!i&&!e.lazyLoad?`img`:void 0,"aria-label":i?void 0:`${c} - YouTube video preview`,style:{...!e.lazyLoad&&{backgroundImage:`url(${y})`},"--aspect-ratio":`${S/C*100}%`,...e.style||{}},children:[e.lazyLoad&&!i&&(0,Z.jsx)(`img`,{src:y,alt:`${c} - YouTube thumbnail`,className:`lty-thumbnail`,loading:`lazy`}),e.playlist&&!i&&(0,Z.jsx)(`div`,{className:`lty-playlist-icon`,"aria-hidden":`true`}),!(e.hideButtonOnActivate&&i)&&(0,Z.jsx)(`button`,{type:`button`,className:T,"aria-label":`${u} ${c}`,"aria-hidden":i||void 0,tabIndex:i?-1:0,onClick:M,children:(0,Z.jsx)(`span`,{className:`lty-visually-hidden`,children:u})}),i&&(0,Z.jsx)(`iframe`,{ref:t,className:w,title:c,width:`560`,height:`315`,allow:`accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture`,allowFullScreen:!0,src:m,referrerPolicy:e.referrerPolicy||`strict-origin-when-cross-origin`})]})]})}var tS=Q.forwardRef(eS);function nS(e){return e!==!1}function rS(e,t){let n=[];return t.startSeconds!==null&&n.push(`start=${t.startSeconds}`),e.controls===!1&&n.push(`controls=0`),e.loop===!0&&n.push(`loop=1`,`playlist=${t.id}`),e.playsinline===!0&&n.push(`playsinline=1`),n.length>0?n.join(`&`):void 0}function iS(e){if(e.width!==void 0)return{width:e.width}}function aS(e){if(!(e.width===void 0||e.height===void 0))return{aspectRatio:`${e.width} / ${e.height}`}}function oS(e){let t=(0,$.c)(23),n=(0,Q.useRef)(null),r=e.title??`Vimeo video player`,i;t[0]===r?i=t[1]:(i=e=>{let t=e;n.current=t,t.element&&(t.element.title=r)},t[0]=r,t[1]=i);let a=i,o,s;t[2]===r?(o=t[3],s=t[4]):(o=()=>{let e=n.current;e?.element&&(e.element.title=r)},s=[r],t[2]=r,t[3]=o,t[4]=s),(0,Q.useEffect)(o,s);let c;t[5]===e?c=t[6]:(c=iS(e),t[5]=e,t[6]=c);let l=e.width===void 0,u=e.autoplay===!0,d=e.muted===!0,f=e.muted===!0?0:1,p=e.loop===!0,m=e.controls!==!1,h=e.playsinline!==!1,g;t[7]!==a||t[8]!==e.height||t[9]!==e.src||t[10]!==e.width||t[11]!==h||t[12]!==l||t[13]!==u||t[14]!==d||t[15]!==f||t[16]!==p||t[17]!==m?(g=(0,Z.jsx)(Xx,{video:e.src,responsive:l,width:e.width,height:e.height,autoplay:u,muted:d,volume:f,loop:p,controls:m,playsInline:h,onReady:a}),t[7]=a,t[8]=e.height,t[9]=e.src,t[10]=e.width,t[11]=h,t[12]=l,t[13]=u,t[14]=d,t[15]=f,t[16]=p,t[17]=m,t[18]=g):g=t[18];let _;return t[19]!==e.title||t[20]!==g||t[21]!==c?(_=(0,Z.jsx)(`div`,{className:`ok-video ok-video-vimeo`,style:c,title:e.title,children:g}),t[19]=e.title,t[20]=g,t[21]=c,t[22]=_):_=t[22],_}function sS(e){let t=(0,$.c)(17),n;t[0]===e.src?n=t[1]:(n=Ae(e.src),t[0]=e.src,t[1]=n);let r=n;if(!r)return null;let i;t[2]!==r.startRaw||t[3]!==e.autoplay||t[4]!==e.muted?(i=[],r.startRaw!==null&&i.push(`t=${r.startRaw}`),e.autoplay===!0&&i.push(`autoplay=true`),e.muted===!0&&i.push(`muted=true`),t[2]=r.startRaw,t[3]=e.autoplay,t[4]=e.muted,t[5]=i):i=t[5];let a=i.length>0?`https://www.loom.com/embed/${r.id}?${i.join(`&`)}`:`https://www.loom.com/embed/${r.id}`,o;t[6]===e?o=t[7]:(o=iS(e),t[6]=e,t[7]=o);let s=e.title??`Loom video player`,c;t[8]!==a||t[9]!==e.height||t[10]!==e.width||t[11]!==s?(c=(0,Z.jsx)(`iframe`,{className:`ok-video-loom-iframe`,src:a,title:s,width:e.width,height:e.height,allow:`autoplay; fullscreen`,referrerPolicy:`strict-origin-when-cross-origin`,allowFullScreen:!0}),t[8]=a,t[9]=e.height,t[10]=e.width,t[11]=s,t[12]=c):c=t[12];let l;return t[13]!==e.title||t[14]!==o||t[15]!==c?(l=(0,Z.jsx)(`div`,{className:`ok-video ok-video-loom`,style:o,title:e.title,children:c}),t[13]=e.title,t[14]=o,t[15]=c,t[16]=l):l=t[16],l}function cS(e){let t=(0,$.c)(29);if(e.src!==void 0&&fe(e.src)){let n;return t[0]===e?n=t[1]:(n=(0,Z.jsx)(sS,{...e,src:e.src}),t[0]=e,t[1]=n),n}if(e.src!==void 0&&xe(e.src)){let n;return t[2]===e?n=t[3]:(n=(0,Z.jsx)(oS,{...e,src:e.src}),t[2]=e,t[3]=n),n}let n;if(t[4]!==e){n=Symbol.for(`react.early_return_sentinel`);bb0:{let r=e.src===void 0?null:Dt(e.src);if(r!==null){let i=e.autoplay===!0&&e.muted===!0,a=e.width!==void 0&&e.height!==void 0,o=iS(e),s;t[6]===e.poster?s=t[7]:(s=e.poster===void 0?void 0:S(e.poster),t[6]=e.poster,t[7]=s);let c=(0,Z.jsx)(tS,{id:r.id,title:e.title??`YouTube video player`,cookie:!r.noCookie,params:rS(e,r),muted:e.muted===!0,autoplay:e.autoplay===!0,alwaysLoadIframe:i,thumbnail:s,aspectWidth:a?Number(e.width):void 0,aspectHeight:a?Number(e.height):void 0,style:aS(e)}),l;t[8]!==o||t[9]!==c?(l=(0,Z.jsx)(`div`,{className:`ok-video ok-video-youtube`,style:o,children:c}),t[8]=o,t[9]=c,t[10]=l):l=t[10],n=l;break bb0}}t[4]=e,t[5]=n}else n=t[5];if(n!==Symbol.for(`react.early_return_sentinel`))return n;let r;t[11]===e.src?r=t[12]:(r=e.src===void 0?void 0:S(e.src),t[11]=e.src,t[12]=r);let i=e.title,a;t[13]===e.controls?a=t[14]:(a=nS(e.controls),t[13]=e.controls,t[14]=a);let o;t[15]===e.poster?o=t[16]:(o=e.poster===void 0?void 0:S(e.poster),t[15]=e.poster,t[16]=o);let s;return t[17]!==e.autoplay||t[18]!==e.height||t[19]!==e.loop||t[20]!==e.muted||t[21]!==e.playsinline||t[22]!==e.preload||t[23]!==e.title||t[24]!==e.width||t[25]!==r||t[26]!==a||t[27]!==o?(s=(0,Z.jsx)(`video`,{className:`ok-video`,src:r,title:i,controls:a,autoPlay:e.autoplay,muted:e.muted,loop:e.loop,playsInline:e.playsinline,poster:o,preload:e.preload,width:e.width,height:e.height}),t[17]=e.autoplay,t[18]=e.height,t[19]=e.loop,t[20]=e.muted,t[21]=e.playsinline,t[22]=e.preload,t[23]=e.title,t[24]=e.width,t[25]=r,t[26]=a,t[27]=o,t[28]=s):s=t[28],s}function lS(e){let t=(0,$.c)(2),n;return t[0]===e.children?n=t[1]:(n=(0,Z.jsx)(`div`,{className:`prose-no-margin`,children:e.children}),t[0]=e.children,t[1]=n),n}var uS={Callout:Yv,img:Gy,video:cS,audio:Wv,Pdf:Ub,File:cy,Embed:oy,Accordion:Hv,Tabs:ex,Tab:Xb,Math:Jy,MermaidFence:pb,Mirror:kb,MirrorSource:Ab,"*":lS};function dS(e){let t=new Set;for(let n of e)n.type===`reactnode`&&t.add(n.name);return t}var fS=bt(),pS=new Map;function mS(e){if(e.surface===`compat`){let t=uS[e.rendersAs];if(!t)throw Error(`Compat descriptor '${e.name}' declares rendersAs: '${e.rendersAs}', but no React component is registered under that name in componentMap. Add the canonical component before registering the compat descriptor.`);return{Component:t,reactNodePropNames:dS(e.props)}}let t=uS[e.name];return t?{Component:t,reactNodePropNames:dS(e.props)}:null}for(let[e,t]of fS.entries()){let n=mS(t);n&&pS.set(e,n)}function hS(e,t){return{...e,Component:t.Component,reactNodePropNames:t.reactNodePropNames}}function gS(e){let t=fS.getOrWildcard(e),n=pS.get(t.name)??pS.get(`*`);if(!n)throw Error(`No React component registered for ${t.name} (and no '*' wildcard)`);return hS(t,n)}function _S(){let e=[];for(let[t,n]of fS.entries()){if(t===`*`)continue;let r=pS.get(t);r&&e.push(hS(n,r))}return e}var vS=``+new URL(`image-preview-BJSGEOo4.png`,import.meta.url).href,yS=``+new URL(`video-preview-vLovc_Vy.png`,import.meta.url).href,bS={Callout:{description:{id:`322lyb`},props:{type:`note`,title:`Heads up`},children:`Callouts draw attention to key information.`},Accordion:{description:{id:`mWVJRX`},props:{title:`Click to expand`,defaultOpen:!0},children:`Hidden content goes here.`},img:{description:{id:`VUijjF`},props:{src:vS,alt:`Sample image`}},video:{description:{id:`e1hptq`},props:{controls:!0,poster:yS}},audio:{description:{id:`9jnjV0`},props:{controls:!0}},Math:{description:{id:`Y-Urt2`},props:{formula:`c = \\pm\\sqrt{a^2 + b^2}`}},Embed:{description:{id:`jTLWxh`},render:()=>(0,Z.jsxs)(`div`,{className:`flex h-full w-full flex-col overflow-hidden rounded-md border border-border bg-background`,children:[(0,Z.jsxs)(`div`,{className:`flex items-center gap-1.5 border-b border-border bg-muted/40 px-2 py-1.5`,children:[(0,Z.jsx)(`span`,{className:`size-1.5 rounded-full bg-muted-foreground/40`}),(0,Z.jsx)(`span`,{className:`size-1.5 rounded-full bg-muted-foreground/40`}),(0,Z.jsx)(`span`,{className:`size-1.5 rounded-full bg-muted-foreground/40`}),(0,Z.jsx)(`span`,{className:`ml-1.5 flex-1 truncate rounded-sm bg-background px-1.5 py-0.5 font-mono text-[10px] text-muted-foreground`,children:`https://example.com/embed`})]}),(0,Z.jsxs)(`div`,{className:`flex flex-1 flex-col justify-center gap-1.5 px-3 py-2`,children:[(0,Z.jsx)(`span`,{className:`h-1.5 w-3/4 rounded-sm bg-muted-foreground/30`}),(0,Z.jsx)(`span`,{className:`h-1.5 w-full rounded-sm bg-muted-foreground/20`}),(0,Z.jsx)(`span`,{className:`h-1.5 w-5/6 rounded-sm bg-muted-foreground/20`}),(0,Z.jsx)(`span`,{className:`h-1.5 w-2/3 rounded-sm bg-muted-foreground/20`})]})]})},Pdf:{description:{id:`Fqr8BP`},render:()=>(0,Z.jsxs)(`div`,{className:`flex h-full w-full flex-col overflow-hidden rounded-md border border-border bg-background`,children:[(0,Z.jsxs)(`div`,{className:`flex items-center gap-1 border-b border-border bg-muted/40 px-1.5 py-1`,children:[(0,Z.jsxs)(`svg`,{viewBox:`0 0 12 12`,className:`size-3 text-muted-foreground`,"aria-hidden":`true`,children:[(0,Z.jsx)(`title`,{children:`Thumbnails`}),(0,Z.jsx)(`rect`,{x:`1`,y:`1`,width:`4`,height:`4`,fill:`currentColor`,rx:`0.5`}),(0,Z.jsx)(`rect`,{x:`7`,y:`1`,width:`4`,height:`4`,fill:`currentColor`,rx:`0.5`}),(0,Z.jsx)(`rect`,{x:`1`,y:`7`,width:`4`,height:`4`,fill:`currentColor`,rx:`0.5`}),(0,Z.jsx)(`rect`,{x:`7`,y:`7`,width:`4`,height:`4`,fill:`currentColor`,rx:`0.5`})]}),(0,Z.jsxs)(`span`,{className:`ml-1 flex items-center gap-1 text-[10px] text-muted-foreground`,children:[(0,Z.jsx)(`span`,{className:`rounded-sm bg-background px-1 py-0.5 font-mono`,children:`2`}),(0,Z.jsx)(`span`,{children:`/ 12`})]}),(0,Z.jsxs)(`span`,{className:`ml-auto flex items-center gap-1 text-[10px] font-mono text-muted-foreground`,children:[(0,Z.jsx)(`span`,{className:`rounded-sm bg-background px-1 py-0.5`,children:`−`}),(0,Z.jsx)(`span`,{children:`100%`}),(0,Z.jsx)(`span`,{className:`rounded-sm bg-background px-1 py-0.5`,children:`+`})]})]}),(0,Z.jsxs)(`div`,{className:`flex flex-1 gap-1 p-1.5`,children:[(0,Z.jsxs)(`div`,{className:`flex w-6 flex-col gap-0.5`,children:[(0,Z.jsx)(`span`,{className:`h-3 rounded-sm bg-muted-foreground/20`}),(0,Z.jsx)(`span`,{className:`h-3 rounded-sm border border-foreground/60 bg-background`}),(0,Z.jsx)(`span`,{className:`h-3 rounded-sm bg-muted-foreground/20`})]}),(0,Z.jsxs)(`div`,{className:`flex flex-1 flex-col gap-1 rounded-sm bg-background p-1.5`,children:[(0,Z.jsx)(`span`,{className:`h-1.5 w-1/2 rounded-sm bg-foreground/50`}),(0,Z.jsx)(`span`,{className:`h-1 w-full rounded-sm bg-muted-foreground/30`}),(0,Z.jsx)(`span`,{className:`h-1 w-5/6 rounded-sm bg-muted-foreground/30`}),(0,Z.jsx)(`span`,{className:`h-1 w-full rounded-sm bg-muted-foreground/30`}),(0,Z.jsx)(`span`,{className:`h-1 w-2/3 rounded-sm bg-muted-foreground/30`})]})]})]})},MermaidFence:{description:{id:`z0a2EA`},render:()=>(0,Z.jsxs)(`svg`,{viewBox:`0 0 200 120`,className:`h-full w-full text-foreground`,"aria-hidden":`true`,preserveAspectRatio:`xMidYMid meet`,children:[(0,Z.jsx)(`title`,{children:`Mermaid flowchart preview`}),(0,Z.jsx)(`defs`,{children:(0,Z.jsx)(`marker`,{id:`mermaid-preview-arrow`,viewBox:`0 0 10 10`,refX:`9`,refY:`5`,markerWidth:`6`,markerHeight:`6`,orient:`auto-start-reverse`,children:(0,Z.jsx)(`path`,{d:`M 0 0 L 10 5 L 0 10 z`,fill:`currentColor`})})}),(0,Z.jsx)(`rect`,{x:`14`,y:`20`,width:`56`,height:`28`,rx:`14`,fill:`currentColor`,fillOpacity:`0.1`,stroke:`currentColor`,strokeOpacity:`0.7`}),(0,Z.jsx)(`text`,{x:`42`,y:`38`,textAnchor:`middle`,fontSize:`10`,fill:`currentColor`,children:`Start`}),(0,Z.jsx)(`polygon`,{points:`100,18 140,50 100,82 60,50`,fill:`currentColor`,fillOpacity:`0.1`,stroke:`currentColor`,strokeOpacity:`0.7`}),(0,Z.jsx)(`text`,{x:`100`,y:`54`,textAnchor:`middle`,fontSize:`10`,fill:`currentColor`,children:`Ready?`}),(0,Z.jsx)(`rect`,{x:`130`,y:`84`,width:`56`,height:`28`,rx:`14`,fill:`currentColor`,fillOpacity:`0.1`,stroke:`currentColor`,strokeOpacity:`0.7`}),(0,Z.jsx)(`text`,{x:`158`,y:`102`,textAnchor:`middle`,fontSize:`10`,fill:`currentColor`,children:`End`}),(0,Z.jsx)(`line`,{x1:`70`,y1:`34`,x2:`80`,y2:`40`,stroke:`currentColor`,strokeOpacity:`0.7`,strokeWidth:`1.2`,markerEnd:`url(#mermaid-preview-arrow)`}),(0,Z.jsx)(`line`,{x1:`124`,y1:`62`,x2:`138`,y2:`82`,stroke:`currentColor`,strokeOpacity:`0.7`,strokeWidth:`1.2`,markerEnd:`url(#mermaid-preview-arrow)`}),(0,Z.jsx)(`text`,{x:`138`,y:`74`,fontSize:`8`,fill:`currentColor`,opacity:`0.6`,children:`yes`})]})},Tabs:{description:{id:`75Y1dk`},render:()=>(0,Z.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,Z.jsxs)(`div`,{className:`flex gap-1 border-b border-border pb-1`,children:[(0,Z.jsx)(`span`,{className:`rounded-md bg-foreground/10 px-2 py-0.5 text-xs font-medium text-foreground`,children:`Tab 1`}),(0,Z.jsx)(`span`,{className:`rounded-md px-2 py-0.5 text-xs text-muted-foreground`,children:`Tab 2`})]}),(0,Z.jsx)(`p`,{className:`px-1 text-xs text-muted-foreground`,children:(0,Z.jsx)(o,{id:`m6YGpY`})})]})},Mirror:{description:{id:`_WPP7e`},render:()=>(0,Z.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,Z.jsxs)(`div`,{className:`relative rounded-md border border-dashed border-border/40 px-2 py-1.5`,children:[(0,Z.jsxs)(`span`,{className:`absolute -top-2 right-1.5 flex items-center gap-1 rounded-md bg-background px-1 text-[10px] text-muted-foreground`,children:[(0,Z.jsx)(Ya,{className:`size-2.5`,"aria-hidden":`true`}),(0,Z.jsx)(`span`,{children:(0,Z.jsx)(o,{id:`EL_YRd`,components:{0:(0,Z.jsx)(`code`,{className:`font-mono`})}})})]}),(0,Z.jsx)(`span`,{className:`block h-1.5 w-3/4 rounded-sm bg-muted-foreground/30`}),(0,Z.jsx)(`span`,{className:`mt-1 block h-1.5 w-2/3 rounded-sm bg-muted-foreground/20`})]}),(0,Z.jsx)(`p`,{className:`px-1 text-[10px] text-muted-foreground`,children:(0,Z.jsx)(o,{id:`qNOgUu`})})]})},MirrorSource:{description:{id:`epuNYK`},render:()=>(0,Z.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,Z.jsxs)(`div`,{className:`relative rounded-md border border-dashed border-border/50 px-2 py-1.5`,children:[(0,Z.jsxs)(`span`,{className:`absolute -top-2 left-1.5 flex items-center gap-1 rounded-md bg-background px-1 text-[10px] text-muted-foreground`,children:[(0,Z.jsx)(cn,{className:`size-2.5`,"aria-hidden":`true`}),(0,Z.jsx)(`span`,{children:(0,Z.jsx)(o,{id:`maDWIB`,components:{0:(0,Z.jsx)(`code`,{className:`font-mono`})}})})]}),(0,Z.jsx)(`span`,{className:`block h-1.5 w-4/5 rounded-sm bg-muted-foreground/30`}),(0,Z.jsx)(`span`,{className:`mt-1 block h-1.5 w-3/5 rounded-sm bg-muted-foreground/20`})]}),(0,Z.jsx)(`p`,{className:`px-1 text-[10px] text-muted-foreground`,children:(0,Z.jsx)(o,{id:`emgiet`})})]})}};function xS(e){let t={};for(let n of e.props)n.type!==`reactnode`&&`defaultValue`in n&&n.defaultValue!==void 0&&(t[n.name]=n.defaultValue);return t}function SS(e){let t=gS(e),n=xS(t);return{type:`jsxComponent`,attrs:{componentName:t.name,kind:`element`,attributes:[],sourceRaw:``,sourceDirty:!0,props:n},content:t.hasChildren?[{type:`paragraph`}]:void 0}}var CS=new Set;function wS(e){CS.add(e)}function TS(e){if(typeof e==`number`)return CS.delete(e);let t=CS.values().next();return t.done?!1:(CS.delete(t.value),!0)}function ES(e,t,n){n.props.some(e=>!(`hidden`in e&&e.hidden)&&e.type!==`reactnode`)?(wS(t),requestAnimationFrame(()=>{e.commands.setNodeSelection(t)})):n.hasChildren&&e.commands.setTextSelection(t+2)}function DS(e){return t=>{let n=new WeakSet;t.state.doc.descendants(t=>{t.type.name===`jsxComponent`&&t.attrs.componentName===e.name&&n.add(t)});let r=SS(e.name);if(e.name===`Tabs`){let e=SS(`Tab`),t=SS(`Tab`),n=e.attrs,i=t.attrs;n.props={...n.props,label:`Tab 1`},i.props={...i.props,label:`Tab 2`},r.content=[e,t]}t.chain().focus().insertContent(r).run();let i=-1;t.state.doc.descendants((t,r)=>{if(i>=0)return!1;t.type.name===`jsxComponent`&&t.attrs.componentName===e.name&&!n.has(t)&&(i=r)}),!(i<0)&&ES(t,i,e)}}var OS=new Set([`File`,`Tab`]);function kS(){return[{name:`component-File`,label:gi._({id:`J2eKUI`}),icon:eo,category:`media`,aliases:[`file`,`attachment`,`download`,`upload`,`document`,`doc`,`docx`,`zip`],description:"Attach a downloadable file (`.pdf` / `.docx` / `.zip` / …)",command:jS,preview:{description:gi._({id:`t-JXbf`}),render:()=>(0,Z.jsxs)(`div`,{className:`flex w-full items-baseline gap-2 rounded-md px-2 py-1.5`,children:[(0,Z.jsx)(eo,{className:`size-4 shrink-0 text-muted-foreground`,"aria-hidden":`true`}),(0,Z.jsx)(`span`,{className:`truncate font-medium text-foreground`,children:`quarterly-report.pdf`}),(0,Z.jsx)(`span`,{className:`shrink-0 text-xs text-muted-foreground`,children:`1.4 MB`})]})}}]}function AS(){return[..._S().filter(e=>e.surface===`canonical`&&!OS.has(e.name)).map(e=>{let t=bS[e.name],n=e.Component,r=t?{description:gi._(t.description),render:t.render??(()=>(0,Z.jsx)(n,{...t.props,children:t.children}))}:void 0;return{name:`component-${e.name}`,label:e.displayName??e.name,icon:Rv(e.icon),category:e.category??`content`,command:DS(e),aliases:e.searchTerms,description:e.description,preview:r}}),...kS()]}function jS(e){let t=document.createElement(`input`);t.type=`file`,t.accept=`*/*`,t.style.display=`none`,t.addEventListener(`change`,()=>{let n=t.files?.[0];if(n){let t=e.state.selection.from;fv(n,e,t)}t.remove()},{once:!0}),t.addEventListener(`cancel`,()=>t.remove(),{once:!0}),document.body.appendChild(t),t.click()}function MS(e,t){let n=_v.getState(e.state);if(!n)return null;for(let e of n.byId.values())if(e.markType===`link`&&e.from<=t&&t<e.to)return e.id;return null}function NS(){return[{name:`link`,label:gi._({id:`yzF66j`}),icon:ho,category:`insert`,aliases:[`url`,`href`,`external`,`web`,`hyperlink`,`wiki`,`wikilink`,`[[`,`internal`,`page`,`backlink`,`cross-link`],description:`Link to a page or external URL`,preview:{description:gi._({id:`5WDhAk`}),render:()=>(0,Z.jsx)(`p`,{className:`leading-7 text-sm`,children:(0,Z.jsx)(o,{id:`u-9fWA`,components:{0:(0,Z.jsx)(`span`,{className:`font-medium text-azure-blue underline underline-offset-2 dark:text-sky-blue`})}})})},command:e=>{let t=e.state.selection.from;e.chain().focus().insertContent({type:`text`,text:`link`,marks:[{type:`link`,attrs:{href:``}}]}).run();let n=MS(e,t);n&&(hv(n),requestAnimationFrame(()=>{Iv(e).setActiveNode(n)}))}},{name:`component-Tag`,label:gi._({id:`UL8A9w`}),icon:io,category:`content`,aliases:[`#`,`hashtag`,`label`],description:"Inline tag (`#tagname`) for cross-doc linking",preview:{description:gi._({id:`5ClEAu`}),render:()=>(0,Z.jsx)(`p`,{className:`text-sm leading-7`,children:(0,Z.jsx)(o,{id:`KZLdgR`,components:{0:(0,Z.jsx)(`a`,{className:`tag pointer-events-none`})}})})},command:e=>{e.chain().insertTag(``).run()}}]}function PS(e,t){e.chain().focus().insertContent({type:`codeBlock`,attrs:{language:`html`,meta:`preview`},content:[{type:`text`,text:t}]}).run()}var FS=`<div style="padding:20px;font-family:system-ui,sans-serif;color:var(--foreground)">
4
+ <h1 style="margin:0 0 8px;font-size:20px;font-weight:600">Hello, world!</h1>
5
+ <p style="margin:0;color:var(--muted-foreground)">Edit this HTML — the preview updates live.</p>
6
+ </div>`,IS={chart:{icon:Ba,aliases:[`chart`,`bar`,`graph`,`plot`,`viz`,`data`,`embed`,`preview`],render:()=>(0,Z.jsxs)(`div`,{className:`flex h-20 w-full items-end gap-1.5`,children:[(0,Z.jsx)(`div`,{className:`h-[45%] flex-1 rounded-t-sm bg-chart-1`}),(0,Z.jsx)(`div`,{className:`h-[70%] flex-1 rounded-t-sm bg-chart-2`}),(0,Z.jsx)(`div`,{className:`h-[90%] flex-1 rounded-t-sm bg-chart-3`}),(0,Z.jsx)(`div`,{className:`h-[60%] flex-1 rounded-t-sm bg-chart-4`}),(0,Z.jsx)(`div`,{className:`h-[80%] flex-1 rounded-t-sm bg-chart-5`})]})},"stat-cards":{icon:lo,aliases:[`stat`,`stats`,`metric`,`metrics`,`cards`,`kpi`,`embed`,`preview`],render:()=>(0,Z.jsxs)(`div`,{className:`flex gap-2`,children:[(0,Z.jsxs)(`div`,{className:`flex-1 rounded-md border border-border bg-card p-2`,children:[(0,Z.jsx)(`div`,{className:`text-[10px] text-muted-foreground`,children:`Users`}),(0,Z.jsx)(`div`,{className:`text-sm font-bold text-card-foreground`,children:`12.4k`}),(0,Z.jsx)(`div`,{className:`text-[10px] font-semibold text-chart-2`,children:`+8.2%`})]}),(0,Z.jsxs)(`div`,{className:`flex-1 rounded-md border border-border bg-card p-2`,children:[(0,Z.jsx)(`div`,{className:`text-[10px] text-muted-foreground`,children:`Revenue`}),(0,Z.jsx)(`div`,{className:`text-sm font-bold text-card-foreground`,children:`$48k`}),(0,Z.jsx)(`div`,{className:`text-[10px] font-semibold text-chart-1`,children:`+3.1%`})]})]})},"custom-svg":{icon:Ao,aliases:[`svg`,`vector`,`graphic`,`illustration`,`ring`,`embed`,`preview`],render:()=>(0,Z.jsx)(`div`,{className:`flex items-center justify-center text-chart-1`,children:(0,Z.jsxs)(`svg`,{width:`72`,height:`72`,viewBox:`0 0 72 72`,"aria-hidden":`true`,children:[(0,Z.jsx)(`circle`,{cx:`36`,cy:`36`,r:`28`,fill:`none`,stroke:`currentColor`,strokeOpacity:`0.15`,strokeWidth:`9`}),(0,Z.jsx)(`circle`,{cx:`36`,cy:`36`,r:`28`,fill:`none`,stroke:`currentColor`,strokeWidth:`9`,strokeLinecap:`round`,strokeDasharray:`176`,strokeDashoffset:`53`,transform:`rotate(-90 36 36)`})]})})},"interactive-control":{icon:No,aliases:[`interactive`,`slider`,`control`,`widget`,`input`,`embed`,`preview`],render:()=>(0,Z.jsxs)(`div`,{className:`space-y-2`,children:[(0,Z.jsx)(`div`,{className:`text-lg font-bold text-chart-1`,children:`$2,500`}),(0,Z.jsxs)(`div`,{className:`relative h-1.5 rounded-full bg-muted`,children:[(0,Z.jsx)(`div`,{className:`absolute inset-y-0 left-0 w-1/3 rounded-full bg-primary`}),(0,Z.jsx)(`div`,{className:`-translate-x-1/2 -translate-y-1/2 absolute top-1/2 left-1/3 size-3 rounded-full bg-primary`})]}),(0,Z.jsx)(`div`,{className:`text-[10px] text-muted-foreground`,children:`Drag to adjust`})]})}};function LS(){return{name:`embed-starter-html`,label:gi._({id:`FBknns`}),icon:qa,category:`embed`,aliases:[`html`,`embed`,`preview`,`iframe`,`sandbox`,`web`,`snippet`],description:gi._({id:`4niEzY`}),command:e=>PS(e,FS),preview:{description:gi._({id:`rageVb`}),render:()=>(0,Z.jsxs)(`div`,{className:`flex h-full w-full flex-col overflow-hidden rounded-md border border-border bg-background`,children:[(0,Z.jsxs)(`div`,{className:`flex items-center gap-1.5 border-b border-border bg-muted/40 px-2 py-1.5`,children:[(0,Z.jsx)(`span`,{className:`size-1.5 rounded-full bg-muted-foreground/40`}),(0,Z.jsx)(`span`,{className:`size-1.5 rounded-full bg-muted-foreground/40`}),(0,Z.jsx)(`span`,{className:`size-1.5 rounded-full bg-muted-foreground/40`}),(0,Z.jsx)(`span`,{className:`ml-1.5 flex-1 truncate rounded-sm bg-background px-1.5 py-0.5 font-mono text-[10px] text-muted-foreground`,children:`sandbox`})]}),(0,Z.jsxs)(`div`,{className:`flex flex-1 flex-col justify-center gap-1.5 px-3 py-3`,children:[(0,Z.jsx)(`span`,{className:`font-semibold text-foreground text-sm`,children:(0,Z.jsx)(o,{id:`3HNlwb`})}),(0,Z.jsx)(`span`,{className:`text-[10px] text-muted-foreground`,children:(0,Z.jsx)(o,{id:`bH382I`})})]})]})}}}function RS(){let e=we.map(e=>{let t=IS[e.id];return{name:`embed-starter-${e.id}`,label:e.title,icon:t.icon,category:`embed`,command:t=>PS(t,e.html),aliases:t.aliases,description:e.description,preview:{description:e.description,render:t.render}}});return[LS(),...e]}function zS(){return[{name:`heading1`,label:gi._({id:`lXKZGw`}),icon:ao,category:`basic`,command:e=>e.chain().focus().toggleHeading({level:1}).run(),aliases:[`h1`],preview:{description:gi._({id:`3J7d2N`}),render:()=>(0,Z.jsx)(`h1`,{className:`text-2xl font-semibold tracking-tight`,children:(0,Z.jsx)(o,{id:`lXKZGw`})})}},{name:`heading2`,label:gi._({id:`El7NbA`}),icon:oo,category:`basic`,command:e=>e.chain().focus().toggleHeading({level:2}).run(),aliases:[`h2`],preview:{description:gi._({id:`LXdWeS`}),render:()=>(0,Z.jsx)(`h2`,{className:`text-xl font-semibold tracking-tight`,children:(0,Z.jsx)(o,{id:`El7NbA`})})}},{name:`heading3`,label:gi._({id:`SFN6dN`}),icon:so,category:`basic`,command:e=>e.chain().focus().toggleHeading({level:3}).run(),aliases:[`h3`],preview:{description:gi._({id:`g4XBm0`}),render:()=>(0,Z.jsx)(`h3`,{className:`text-base font-semibold tracking-tight`,children:(0,Z.jsx)(o,{id:`SFN6dN`})})}},{name:`bulletList`,label:gi._({id:`s1c0ja`}),icon:vo,category:`basic`,command:e=>e.chain().focus().toggleBulletList().run(),aliases:[`ul`,`unordered`],preview:{description:gi._({id:`fYjgXu`}),render:()=>(0,Z.jsxs)(`ul`,{className:`list-disc pl-5 text-sm leading-7`,children:[(0,Z.jsx)(`li`,{children:(0,Z.jsx)(o,{id:`FCxvG5`})}),(0,Z.jsx)(`li`,{children:(0,Z.jsx)(o,{id:`saIASg`})})]})}},{name:`orderedList`,label:gi._({id:`Uci-Ph`}),icon:go,category:`basic`,command:e=>e.chain().focus().toggleOrderedList().run(),aliases:[`ol`,`numbered`],preview:{description:gi._({id:`rXz97P`}),render:()=>(0,Z.jsxs)(`ol`,{className:`list-decimal pl-5 text-sm leading-7`,children:[(0,Z.jsx)(`li`,{children:(0,Z.jsx)(o,{id:`FCxvG5`})}),(0,Z.jsx)(`li`,{children:(0,Z.jsx)(o,{id:`saIASg`})})]})}},{name:`taskList`,label:gi._({id:`G_686w`}),icon:_o,category:`basic`,command:e=>e.chain().focus().toggleTaskList().run(),aliases:[`todo`,`checklist`,`checkbox`],preview:{description:gi._({id:`yutJKi`}),render:()=>(0,Z.jsxs)(`ul`,{className:`space-y-1.5 text-sm`,children:[(0,Z.jsxs)(`li`,{className:`flex items-center gap-2`,children:[(0,Z.jsx)(`input`,{type:`checkbox`,checked:!0,readOnly:!0,className:`size-3.5`}),(0,Z.jsx)(`span`,{className:`text-muted-foreground line-through`,children:(0,Z.jsx)(o,{id:`DPfwMq`})})]}),(0,Z.jsxs)(`li`,{className:`flex items-center gap-2`,children:[(0,Z.jsx)(`input`,{type:`checkbox`,readOnly:!0,className:`size-3.5`}),(0,Z.jsx)(`span`,{children:(0,Z.jsx)(o,{id:`rZ9HZq`})})]})]})}},{name:`blockquote`,label:gi._({id:`ZhhOwV`}),icon:Eo,category:`basic`,command:e=>e.chain().focus().toggleBlockquote().run(),aliases:[`quote`],preview:{description:gi._({id:`w7nm4K`}),render:()=>(0,Z.jsx)(`blockquote`,{className:`border-l-2 border-muted-foreground/40 pl-3 text-sm italic text-muted-foreground`,children:(0,Z.jsx)(o,{id:`74-bX-`})})}},{name:`codeBlock`,label:gi._({id:`N2eHWq`}),icon:Ka,category:`basic`,command:e=>e.chain().focus().toggleCodeBlock({language:`js`}).run(),aliases:[`code`,`fence`],preview:{description:gi._({id:`XpIZmv`}),render:()=>(0,Z.jsx)(`pre`,{className:`rounded-md bg-muted px-2.5 py-2 font-mono text-xs leading-5`,children:(0,Z.jsx)(`code`,{children:`const greeting = "Hello";
7
+ console.log(greeting);`})})}},{name:`table`,label:gi._({id:`4hJhzz`}),icon:Io,category:`insert`,command:e=>e.chain().focus().insertTable({rows:3,cols:3,withHeaderRow:!0}).run(),aliases:[`grid`],preview:{description:gi._({id:`H0WlWQ`}),render:()=>(0,Z.jsxs)(`table`,{className:`w-full border-collapse text-xs`,children:[(0,Z.jsx)(`thead`,{children:(0,Z.jsxs)(`tr`,{children:[(0,Z.jsx)(`th`,{className:`border border-border bg-muted/50 px-2 py-1 text-left font-semibold`,children:(0,Z.jsx)(o,{id:`6YtxFj`})}),(0,Z.jsx)(`th`,{className:`border border-border bg-muted/50 px-2 py-1 text-left font-semibold`,children:(0,Z.jsx)(o,{id:`GDvlUT`})})]})}),(0,Z.jsxs)(`tbody`,{children:[(0,Z.jsxs)(`tr`,{children:[(0,Z.jsx)(`td`,{className:`border border-border px-2 py-1`,children:`Ada`}),(0,Z.jsx)(`td`,{className:`border border-border px-2 py-1`,children:`Engineer`})]}),(0,Z.jsxs)(`tr`,{children:[(0,Z.jsx)(`td`,{className:`border border-border px-2 py-1`,children:`Grace`}),(0,Z.jsx)(`td`,{className:`border border-border px-2 py-1`,children:`Admiral`})]})]})]})}},{name:`separator`,label:gi._({id:`yLq4w4`}),icon:bo,category:`insert`,command:e=>e.chain().focus().setHorizontalRule().run(),aliases:[`hr`,`divider`,`rule`],preview:{description:gi._({id:`0wswKc`}),render:()=>(0,Z.jsxs)(`div`,{className:`w-full`,children:[(0,Z.jsx)(`p`,{className:`mb-2 text-xs text-muted-foreground`,children:(0,Z.jsx)(o,{id:`KYcZ6Y`})}),(0,Z.jsx)(`hr`,{className:`border-border`}),(0,Z.jsx)(`p`,{className:`mt-2 text-xs text-muted-foreground`,children:(0,Z.jsx)(o,{id:`tAPZEx`})})]})}},{name:`footnote`,label:gi._({id:`dOxPd4`}),icon:Fo,category:`insert`,command:e=>{let t=Ct(Ce(e.state.doc)),n=We(e.state.doc)+1;e.chain().focus().insertFootnoteReference(t).insertContentAt(n,{type:`footnoteDefinition`,attrs:{identifier:t,label:t},content:[{type:`paragraph`}]}).run()},aliases:[`fn`,`ref`,`[^`],preview:{description:gi._({id:`kFLlsI`}),render:()=>(0,Z.jsx)(`p`,{className:`text-sm leading-6`,children:(0,Z.jsx)(o,{id:`hxBHxQ`,components:{0:(0,Z.jsx)(`sup`,{className:`footnote-ref`}),1:(0,Z.jsx)(`a`,{className:`footnote-ref-link`,href:`#fn-1`})}})})}},{name:`inlineMath`,label:gi._({id:`q2kXMG`}),icon:Mo,category:`insert`,command:e=>{let t=e.state.selection.from;e.chain().focus().insertMathInline(``).run(),wS(t),requestAnimationFrame(()=>{e.commands.setNodeSelection(t)})},aliases:[`math`,`latex`,`equation`,`formula`,`katex`,`inlinemath`],preview:{description:gi._({id:`eNQGRb`}),render:()=>(0,Z.jsx)(`p`,{className:`text-sm leading-7`,children:(0,Z.jsx)(o,{id:`5Ajb15`,components:{0:(0,Z.jsx)(`span`,{className:`rounded bg-muted px-1.5 py-0.5 font-serif italic`})}})})}}]}function BS(e,t){if(!t)return e;let n=t.toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(n)||e.name.toLowerCase().includes(n)||e.aliases?.some(e=>e.toLowerCase().includes(n)))}function VS(e){let{$from:t}=e.selection;return t.depth===0?null:{from:t.before(1),to:t.after(1)}}function HS(e,t){let n=VS(e);if(!n)return!1;let{from:r,to:i}=n;if(r===0)return!1;let a=e.doc.resolve(r-1);if(a.depth===0)return!1;let o=a.before(1),s=e.doc.slice(r,i).content,c=e.doc.slice(o,r).content;if(!t)return!0;let l=e.tr;l.replaceWith(o,i,s.append(c));let u=o+1,d=o+s.size,f=e.selection.from-r,p=Math.min(u+f,d);return l.setSelection(Ue.near(l.doc.resolve(p))),l.scrollIntoView(),t(l),!0}function US(e,t){let n=VS(e);if(!n)return!1;let{from:r,to:i}=n;if(i>=e.doc.content.size)return!1;let a=e.doc.resolve(i+1);if(a.depth===0)return!1;let o=a.after(1),s=e.doc.slice(r,i).content,c=e.doc.slice(i,o).content;if(!t)return!0;let l=e.tr;l.replaceWith(r,o,c.append(s));let u=r+c.size+1,d=r+c.size+s.size,f=e.selection.from-r,p=Math.min(u+f,d);return l.setSelection(Ue.near(l.doc.resolve(p))),l.scrollIntoView(),t(l),!0}var WS=ge.create({name:`blockMover`,addKeyboardShortcuts(){return{"Mod-Shift-ArrowUp":({editor:e})=>HS(e.state,e.view.dispatch),"Mod-Shift-ArrowDown":({editor:e})=>US(e.state,e.view.dispatch)}}}),GS=new lt(`bridgeId`);function KS(e){let t=Ap.getState(e);return t?.binding?.mapping?t.binding.mapping:null}function qS(e){let t=KS(e);if(!t)return null;let n=new Map;for(let[e,r]of t)r&&`nodeName`in e&&typeof e.getAttribute==`function`&&n.set(r,e);return n}function JS(e,t){return e?e.get(t)??null:null}var YS=ge.create({name:`bridgeIdPlugin`,priority:1e3,addProseMirrorPlugins(){return[new Ve({key:GS,state:{init(e,t){let n={yElementToId:new WeakMap,posToId:new Map,counter:0},r=qS(t);return t.doc.descendants((e,t)=>{if(e.type.name!==`jsxComponent`)return;let i=JS(r,e);if(i){let e=`b${++n.counter}`;n.yElementToId.set(i,e),n.posToId.set(t,e)}else{let e=`b${++n.counter}`;n.posToId.set(t,e)}}),n},apply(e,t,n,r){if(!e.docChanged){let n=new Map;for(let[i,a]of t.posToId){let t=e.mapping.map(i);r.doc.nodeAt(t)?.type.name===`jsxComponent`&&n.set(t,a)}return{...t,posToId:n}}let i=new Map,{counter:a}=t,{yElementToId:o}=t,s=qS(r);return r.doc.descendants((n,r)=>{if(n.type.name!==`jsxComponent`)return;let c=JS(s,n);if(c){let e=o.get(c);if(e)i.set(r,e);else{let e=`b${++a}`;o.set(c,e),i.set(r,e)}}else{let n=!1;for(let[a,o]of t.posToId)if(e.mapping.map(a)===r){i.set(r,o),n=!0;break}if(!n){let e=`b${++a}`;i.set(r,e)}}}),{yElementToId:o,posToId:i,counter:a}}}})]}}),XS=new lt(`chunkWrapperDecoration`),ZS=`ok-chunk-wrapper`,QS=!1;function $S(){return globalThis.CSS===void 0||typeof globalThis.CSS.supports!=`function`?!0:globalThis.CSS.supports(`content-visibility`,`auto`)}var eC=$S();function tC(){return eC?new Ve({key:XS,props:{decorations(e){let t=[];return e.doc.forEach((e,n)=>{e.isInline||e.type.name!==`jsxComponent`&&t.push(yt.node(n,n+e.nodeSize,{class:ZS}))}),t.length===0?null:(QS||(QS=!0,Y(`ok/render/cv-auto-skip`,{chunkCount:t.length},{startTime:performance.now(),duration:0})),Pe.create(e.doc,t))}}}):new Ve({key:XS})}function nC(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`decltype\\(auto\\)`,i=`[a-zA-Z_]\\w*::`,a=`(?!struct)(`+r+`|`+t.optional(i)+`[a-zA-Z_]\\w*`+t.optional(`<[^<>]+>`)+`)`,o={className:`type`,begin:`\\b[a-z\\d_]*_t\\b`},s={className:`string`,variants:[{begin:`(u8?|U|L)?"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)`,end:`'`,illegal:`.`},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},c={className:`number`,variants:[{begin:`[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)`},{begin:`[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)`}],relevance:0},l={className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:`string`}),{className:`string`,begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:`title`,begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+`\\s*\\(`,f=`alignas.alignof.and.and_eq.asm.atomic_cancel.atomic_commit.atomic_noexcept.auto.bitand.bitor.break.case.catch.class.co_await.co_return.co_yield.compl.concept.const_cast|10.consteval.constexpr.constinit.continue.decltype.default.delete.do.dynamic_cast|10.else.enum.explicit.export.extern.false.final.for.friend.goto.if.import.inline.module.mutable.namespace.new.noexcept.not.not_eq.nullptr.operator.or.or_eq.override.private.protected.public.reflexpr.register.reinterpret_cast|10.requires.return.sizeof.static_assert.static_cast|10.struct.switch.synchronized.template.this.thread_local.throw.transaction_safe.transaction_safe_dynamic.true.try.typedef.typeid.typename.union.using.virtual.volatile.while.xor.xor_eq`.split(`.`),p=[`bool`,`char`,`char16_t`,`char32_t`,`char8_t`,`double`,`float`,`int`,`long`,`short`,`void`,`wchar_t`,`unsigned`,`signed`,`const`,`static`],m=`any.auto_ptr.barrier.binary_semaphore.bitset.complex.condition_variable.condition_variable_any.counting_semaphore.deque.false_type.flat_map.flat_set.future.imaginary.initializer_list.istringstream.jthread.latch.lock_guard.multimap.multiset.mutex.optional.ostringstream.packaged_task.pair.promise.priority_queue.queue.recursive_mutex.recursive_timed_mutex.scoped_lock.set.shared_future.shared_lock.shared_mutex.shared_timed_mutex.shared_ptr.stack.string_view.stringstream.timed_mutex.thread.true_type.tuple.unique_lock.unique_ptr.unordered_map.unordered_multimap.unordered_multiset.unordered_set.variant.vector.weak_ptr.wstring.wstring_view`.split(`.`),h=`abort.abs.acos.apply.as_const.asin.atan.atan2.calloc.ceil.cerr.cin.clog.cos.cosh.cout.declval.endl.exchange.exit.exp.fabs.floor.fmod.forward.fprintf.fputs.free.frexp.fscanf.future.invoke.isalnum.isalpha.iscntrl.isdigit.isgraph.islower.isprint.ispunct.isspace.isupper.isxdigit.labs.launder.ldexp.log.log10.make_pair.make_shared.make_shared_for_overwrite.make_tuple.make_unique.malloc.memchr.memcmp.memcpy.memset.modf.move.pow.printf.putchar.puts.realloc.scanf.sin.sinh.snprintf.sprintf.sqrt.sscanf.std.stderr.stdin.stdout.strcat.strchr.strcmp.strcpy.strcspn.strlen.strncat.strncmp.strncpy.strpbrk.strrchr.strspn.strstr.swap.tan.tanh.terminate.to_underlying.tolower.toupper.vfprintf.visit.vprintf.vsprintf`.split(`.`),g={type:p,keyword:f,literal:[`NULL`,`false`,`nullopt`,`nullptr`,`true`],built_in:[`_Pragma`],_type_hints:m},_={className:`function.dispatch`,relevance:0,keywords:{_hint:h},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},v=[_,l,o,n,e.C_BLOCK_COMMENT_MODE,c,s],y={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:g,contains:v.concat([{begin:/\(/,end:/\)/,keywords:g,contains:v.concat([`self`]),relevance:0}]),relevance:0},b={className:`function`,begin:`(`+a+`[\\*&\\s]+)+`+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:g,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,c]},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,c,o,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,s,c,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,l]};return{name:`C++`,aliases:[`cc`,`c++`,`h++`,`hpp`,`hh`,`hxx`,`cxx`],keywords:g,illegal:`</`,classNameAliases:{"function.dispatch":`built_in`},contains:[].concat(y,b,_,v,[l,{begin:`\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)`,end:`>`,keywords:g,contains:[`self`,o]},{begin:e.IDENT_RE+`::`,keywords:g},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:`keyword`,3:`title.class`}}])}}function rC(e){let t={type:[`boolean`,`byte`,`word`,`String`],built_in:`KeyboardController.MouseController.SoftwareSerial.EthernetServer.EthernetClient.LiquidCrystal.RobotControl.GSMVoiceCall.EthernetUDP.EsploraTFT.HttpClient.RobotMotor.WiFiClient.GSMScanner.FileSystem.Scheduler.GSMServer.YunClient.YunServer.IPAddress.GSMClient.GSMModem.Keyboard.Ethernet.Console.GSMBand.Esplora.Stepper.Process.WiFiUDP.GSM_SMS.Mailbox.USBHost.Firmata.PImage.Client.Server.GSMPIN.FileIO.Bridge.Serial.EEPROM.Stream.Mouse.Audio.Servo.File.Task.GPRS.WiFi.Wire.TFT.GSM.SPI.SD`.split(`.`),_hints:`setup.loop.runShellCommandAsynchronously.analogWriteResolution.retrieveCallingNumber.printFirmwareVersion.analogReadResolution.sendDigitalPortPair.noListenOnLocalhost.readJoystickButton.setFirmwareVersion.readJoystickSwitch.scrollDisplayRight.getVoiceCallStatus.scrollDisplayLeft.writeMicroseconds.delayMicroseconds.beginTransmission.getSignalStrength.runAsynchronously.getAsynchronously.listenOnLocalhost.getCurrentCarrier.readAccelerometer.messageAvailable.sendDigitalPorts.lineFollowConfig.countryNameWrite.runShellCommand.readStringUntil.rewindDirectory.readTemperature.setClockDivider.readLightSensor.endTransmission.analogReference.detachInterrupt.countryNameRead.attachInterrupt.encryptionType.readBytesUntil.robotNameWrite.readMicrophone.robotNameRead.cityNameWrite.userNameWrite.readJoystickY.readJoystickX.mouseReleased.openNextFile.scanNetworks.noInterrupts.digitalWrite.beginSpeaker.mousePressed.isActionDone.mouseDragged.displayLogos.noAutoscroll.addParameter.remoteNumber.getModifiers.keyboardRead.userNameRead.waitContinue.processInput.parseCommand.printVersion.readNetworks.writeMessage.blinkVersion.cityNameRead.readMessage.setDataMode.parsePacket.isListening.setBitOrder.beginPacket.isDirectory.motorsWrite.drawCompass.digitalRead.clearScreen.serialEvent.rightToLeft.setTextSize.leftToRight.requestFrom.keyReleased.compassRead.analogWrite.interrupts.WiFiServer.disconnect.playMelody.parseFloat.autoscroll.getPINUsed.setPINUsed.setTimeout.sendAnalog.readSlider.analogRead.beginWrite.createChar.motorsStop.keyPressed.tempoWrite.readButton.subnetMask.debugPrint.macAddress.writeGreen.randomSeed.attachGPRS.readString.sendString.remotePort.releaseAll.mouseMoved.background.getXChange.getYChange.answerCall.getResult.voiceCall.endPacket.constrain.getSocket.writeJSON.getButton.available.connected.findUntil.readBytes.exitValue.readGreen.writeBlue.startLoop.IPAddress.isPressed.sendSysex.pauseMode.gatewayIP.setCursor.getOemKey.tuneWrite.noDisplay.loadImage.switchPIN.onRequest.onReceive.changePIN.playFile.noBuffer.parseInt.overflow.checkPIN.knobRead.beginTFT.bitClear.updateIR.bitWrite.position.writeRGB.highByte.writeRed.setSpeed.readBlue.noStroke.remoteIP.transfer.shutdown.hangCall.beginSMS.endWrite.attached.maintain.noCursor.checkReg.checkPUK.shiftOut.isValid.shiftIn.pulseIn.connect.println.localIP.pinMode.getIMEI.display.noBlink.process.getBand.running.beginSD.drawBMP.lowByte.setBand.release.bitRead.prepare.pointTo.readRed.setMode.noFill.remove.listen.stroke.detach.attach.noTone.exists.buffer.height.bitSet.circle.config.cursor.random.IRread.setDNS.endSMS.getKey.micros.millis.begin.print.write.ready.flush.width.isPIN.blink.clear.press.mkdir.rmdir.close.point.yield.image.BSSID.click.delay.read.text.move.peek.beep.rect.line.open.seek.fill.size.turn.stop.home.find.step.tone.sqrt.RSSI.SSID.end.bit.tan.cos.sin.pow.map.abs.max.min.get.run.put`.split(`.`),literal:[`DIGITAL_MESSAGE`,`FIRMATA_STRING`,`ANALOG_MESSAGE`,`REPORT_DIGITAL`,`REPORT_ANALOG`,`INPUT_PULLUP`,`SET_PIN_MODE`,`INTERNAL2V56`,`SYSTEM_RESET`,`LED_BUILTIN`,`INTERNAL1V1`,`SYSEX_START`,`INTERNAL`,`EXTERNAL`,`DEFAULT`,`OUTPUT`,`INPUT`,`HIGH`,`LOW`]},n=nC(e),r=n.keywords;return r.type=[...r.type,...t.type],r.literal=[...r.literal,...t.literal],r.built_in=[...r.built_in,...t.built_in],r._hints=t._hints,n.name=`Arduino`,n.aliases=[`ino`],n.supersetOf=`cpp`,n}function iC(e){let t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:[`self`,{begin:/:-/,contains:[n]}]};Object.assign(n,{className:`variable`,variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,`(?![\\w\\d])(?![$])`)},r]});let i={className:`subst`,begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:`comment`}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:`string`})]}},s={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);let c={match:/\\"/},l={className:`string`,begin:/'/,end:/'/},u={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:`number`},e.NUMBER_MODE,n]},f=e.SHEBANG({binary:`(${[`fish`,`bash`,`zsh`,`sh`,`csh`,`ksh`,`tcsh`,`dash`,`scsh`].join(`|`)})`,relevance:10}),p={className:`function`,begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=[`if`,`then`,`else`,`elif`,`fi`,`time`,`for`,`while`,`until`,`in`,`do`,`done`,`case`,`esac`,`coproc`,`function`,`select`],h=[`true`,`false`],g={match:/(\/[a-z._-]+)+/},_=[`break`,`cd`,`continue`,`eval`,`exec`,`exit`,`export`,`getopts`,`hash`,`pwd`,`readonly`,`return`,`shift`,`test`,`times`,`trap`,`umask`,`unset`],v=[`alias`,`bind`,`builtin`,`caller`,`command`,`declare`,`echo`,`enable`,`help`,`let`,`local`,`logout`,`mapfile`,`printf`,`read`,`readarray`,`source`,`sudo`,`type`,`typeset`,`ulimit`,`unalias`],y=`autoload.bg.bindkey.bye.cap.chdir.clone.comparguments.compcall.compctl.compdescribe.compfiles.compgroups.compquote.comptags.comptry.compvalues.dirs.disable.disown.echotc.echoti.emulate.fc.fg.float.functions.getcap.getln.history.integer.jobs.kill.limit.log.noglob.popd.print.pushd.pushln.rehash.sched.setcap.setopt.stat.suspend.ttyctl.unfunction.unhash.unlimit.unsetopt.vared.wait.whence.where.which.zcompile.zformat.zftp.zle.zmodload.zparseopts.zprof.zpty.zregexparse.zsocket.zstyle.ztcp`.split(`.`),b=`chcon.chgrp.chown.chmod.cp.dd.df.dir.dircolors.ln.ls.mkdir.mkfifo.mknod.mktemp.mv.realpath.rm.rmdir.shred.sync.touch.truncate.vdir.b2sum.base32.base64.cat.cksum.comm.csplit.cut.expand.fmt.fold.head.join.md5sum.nl.numfmt.od.paste.ptx.pr.sha1sum.sha224sum.sha256sum.sha384sum.sha512sum.shuf.sort.split.sum.tac.tail.tr.tsort.unexpand.uniq.wc.arch.basename.chroot.date.dirname.du.echo.env.expr.factor.groups.hostid.id.link.logname.nice.nohup.nproc.pathchk.pinky.printenv.printf.pwd.readlink.runcon.seq.sleep.stat.stdbuf.stty.tee.test.timeout.tty.uname.unlink.uptime.users.who.whoami.yes`.split(`.`);return{name:`Bash`,aliases:[`sh`,`zsh`],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:h,built_in:[..._,...v,`set`,`shopt`,...y,...b]},contains:[f,e.SHEBANG(),p,d,a,o,g,s,c,l,u,n]}}function aC(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`decltype\\(auto\\)`,i=`[a-zA-Z_]\\w*::`,a=`(`+r+`|`+t.optional(i)+`[a-zA-Z_]\\w*`+t.optional(`<[^<>]+>`)+`)`,o={className:`type`,variants:[{begin:`\\b[a-z\\d_]*_t\\b`},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:`string`,variants:[{begin:`(u8?|U|L)?"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)`,end:`'`,illegal:`.`},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},c={className:`number`,variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},l={className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:`string`}),{className:`string`,begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:`title`,begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+`\\s*\\(`,f={keyword:`asm.auto.break.case.continue.default.do.else.enum.extern.for.fortran.goto.if.inline.register.restrict.return.sizeof.typeof.typeof_unqual.struct.switch.typedef.union.volatile.while._Alignas._Alignof._Atomic._Generic._Noreturn._Static_assert._Thread_local.alignas.alignof.noreturn.static_assert.thread_local._Pragma`.split(`.`),type:`float.double.signed.unsigned.int.short.long.char.void._Bool._BitInt._Complex._Imaginary._Decimal32._Decimal64._Decimal96._Decimal128._Decimal64x._Decimal128x._Float16._Float32._Float64._Float128._Float32x._Float64x._Float128x.const.static.constexpr.complex.bool.imaginary`.split(`.`),literal:`true false NULL`,built_in:`std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr`},p=[l,o,n,e.C_BLOCK_COMMENT_MODE,c,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:f,contains:p.concat([{begin:/\(/,end:/\)/,keywords:f,contains:p.concat([`self`]),relevance:0}]),relevance:0},h={begin:`(`+a+`[\\*&\\s]+)+`+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:f,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:f,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:`title.function`})],relevance:0},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,c,o,{begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,s,c,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,l]};return{name:`C`,aliases:[`h`],keywords:f,disableAutodetect:!0,illegal:`</`,contains:[].concat(m,h,p,[l,{begin:e.IDENT_RE+`::`,keywords:f},{className:`class`,beginKeywords:`enum class struct union`,end:/[{;:<>=]/,contains:[{beginKeywords:`final class struct`},e.TITLE_MODE]}]),exports:{preprocessor:l,strings:s,keywords:f}}}function oC(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`decltype\\(auto\\)`,i=`[a-zA-Z_]\\w*::`,a=`(?!struct)(`+r+`|`+t.optional(i)+`[a-zA-Z_]\\w*`+t.optional(`<[^<>]+>`)+`)`,o={className:`type`,begin:`\\b[a-z\\d_]*_t\\b`},s={className:`string`,variants:[{begin:`(u8?|U|L)?"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)`,end:`'`,illegal:`.`},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},c={className:`number`,variants:[{begin:`[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)`},{begin:`[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)`}],relevance:0},l={className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:`string`}),{className:`string`,begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:`title`,begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+`\\s*\\(`,f=`alignas.alignof.and.and_eq.asm.atomic_cancel.atomic_commit.atomic_noexcept.auto.bitand.bitor.break.case.catch.class.co_await.co_return.co_yield.compl.concept.const_cast|10.consteval.constexpr.constinit.continue.decltype.default.delete.do.dynamic_cast|10.else.enum.explicit.export.extern.false.final.for.friend.goto.if.import.inline.module.mutable.namespace.new.noexcept.not.not_eq.nullptr.operator.or.or_eq.override.private.protected.public.reflexpr.register.reinterpret_cast|10.requires.return.sizeof.static_assert.static_cast|10.struct.switch.synchronized.template.this.thread_local.throw.transaction_safe.transaction_safe_dynamic.true.try.typedef.typeid.typename.union.using.virtual.volatile.while.xor.xor_eq`.split(`.`),p=[`bool`,`char`,`char16_t`,`char32_t`,`char8_t`,`double`,`float`,`int`,`long`,`short`,`void`,`wchar_t`,`unsigned`,`signed`,`const`,`static`],m=`any.auto_ptr.barrier.binary_semaphore.bitset.complex.condition_variable.condition_variable_any.counting_semaphore.deque.false_type.flat_map.flat_set.future.imaginary.initializer_list.istringstream.jthread.latch.lock_guard.multimap.multiset.mutex.optional.ostringstream.packaged_task.pair.promise.priority_queue.queue.recursive_mutex.recursive_timed_mutex.scoped_lock.set.shared_future.shared_lock.shared_mutex.shared_timed_mutex.shared_ptr.stack.string_view.stringstream.timed_mutex.thread.true_type.tuple.unique_lock.unique_ptr.unordered_map.unordered_multimap.unordered_multiset.unordered_set.variant.vector.weak_ptr.wstring.wstring_view`.split(`.`),h=`abort.abs.acos.apply.as_const.asin.atan.atan2.calloc.ceil.cerr.cin.clog.cos.cosh.cout.declval.endl.exchange.exit.exp.fabs.floor.fmod.forward.fprintf.fputs.free.frexp.fscanf.future.invoke.isalnum.isalpha.iscntrl.isdigit.isgraph.islower.isprint.ispunct.isspace.isupper.isxdigit.labs.launder.ldexp.log.log10.make_pair.make_shared.make_shared_for_overwrite.make_tuple.make_unique.malloc.memchr.memcmp.memcpy.memset.modf.move.pow.printf.putchar.puts.realloc.scanf.sin.sinh.snprintf.sprintf.sqrt.sscanf.std.stderr.stdin.stdout.strcat.strchr.strcmp.strcpy.strcspn.strlen.strncat.strncmp.strncpy.strpbrk.strrchr.strspn.strstr.swap.tan.tanh.terminate.to_underlying.tolower.toupper.vfprintf.visit.vprintf.vsprintf`.split(`.`),g={type:p,keyword:f,literal:[`NULL`,`false`,`nullopt`,`nullptr`,`true`],built_in:[`_Pragma`],_type_hints:m},_={className:`function.dispatch`,relevance:0,keywords:{_hint:h},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},v=[_,l,o,n,e.C_BLOCK_COMMENT_MODE,c,s],y={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:g,contains:v.concat([{begin:/\(/,end:/\)/,keywords:g,contains:v.concat([`self`]),relevance:0}]),relevance:0},b={className:`function`,begin:`(`+a+`[\\*&\\s]+)+`+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:g,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,c]},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,c,o,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,s,c,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,l]};return{name:`C++`,aliases:[`cc`,`c++`,`h++`,`hpp`,`hh`,`hxx`,`cxx`],keywords:g,illegal:`</`,classNameAliases:{"function.dispatch":`built_in`},contains:[].concat(y,b,_,v,[l,{begin:`\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)`,end:`>`,keywords:g,contains:[`self`,o]},{begin:e.IDENT_RE+`::`,keywords:g},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:`keyword`,3:`title.class`}}])}}function sC(e){let t=[`bool`,`byte`,`char`,`decimal`,`delegate`,`double`,`dynamic`,`enum`,`float`,`int`,`long`,`nint`,`nuint`,`object`,`sbyte`,`short`,`string`,`ulong`,`uint`,`ushort`],n=[`public`,`private`,`protected`,`static`,`internal`,`protected`,`abstract`,`async`,`extern`,`override`,`unsafe`,`virtual`,`new`,`sealed`,`partial`],r={keyword:`abstract.as.base.break.case.catch.class.const.continue.do.else.event.explicit.extern.finally.fixed.for.foreach.goto.if.implicit.in.interface.internal.is.lock.namespace.new.operator.out.override.params.private.protected.public.readonly.record.ref.return.scoped.sealed.sizeof.stackalloc.static.struct.switch.this.throw.try.typeof.unchecked.unsafe.using.virtual.void.volatile.while`.split(`.`).concat(`add.alias.and.ascending.args.async.await.by.descending.dynamic.equals.file.from.get.global.group.init.into.join.let.nameof.not.notnull.on.or.orderby.partial.record.remove.required.scoped.select.set.unmanaged.value|0.var.when.where.with.yield`.split(`.`)),built_in:t,literal:[`default`,`false`,`null`,`true`]},i=e.inherit(e.TITLE_MODE,{begin:`[a-zA-Z](\\.?\\w)*`}),a={className:`number`,variants:[{begin:`\\b(0b[01']+)`},{begin:`(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)`},{begin:`(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)`}],relevance:0},o={className:`string`,begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},s={className:`string`,begin:`@"`,end:`"`,contains:[{begin:`""`}]},c=e.inherit(s,{illegal:/\n/}),l={className:`subst`,begin:/\{/,end:/\}/,keywords:r},u=e.inherit(l,{illegal:/\n/}),d={className:`string`,begin:/\$"/,end:`"`,illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,u]},f={className:`string`,begin:/\$@"/,end:`"`,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:`""`},l]},p=e.inherit(f,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:`""`},u]});l.contains=[f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],u.contains=[p,d,c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let m={variants:[o,f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},h={begin:`<`,end:`>`,contains:[{beginKeywords:`in out`},i]},g=e.IDENT_RE+`(<`+e.IDENT_RE+`(\\s*,\\s*`+e.IDENT_RE+`)*>)?(\\[\\])?`,_={begin:`@`+e.IDENT_RE,relevance:0};return{name:`C#`,aliases:[`cs`,`c#`],keywords:r,illegal:/::/,contains:[e.COMMENT(`///`,`$`,{returnBegin:!0,contains:[{className:`doctag`,variants:[{begin:`///`,relevance:0},{begin:`<!--|-->`},{begin:`</?`,end:`>`}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`meta`,begin:`#`,end:`$`,keywords:{keyword:`if else elif endif define undef warning error line region endregion pragma checksum`}},m,a,{beginKeywords:`class interface`,relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:`where class`},i,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`namespace`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`record`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`meta`,begin:`^\\s*\\[(?=[\\w])`,excludeBegin:!0,end:`\\]`,excludeEnd:!0,contains:[{className:`string`,begin:/"/,end:/"/}]},{beginKeywords:`new return throw await else`,relevance:0},{className:`function`,begin:`(`+g+`\\s+)+`+e.IDENT_RE+`\\s*(<[^=]+>\\s*)?\\(`,returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:r,contains:[{beginKeywords:n.join(` `),relevance:0},{begin:e.IDENT_RE+`\\s*(<[^=]+>\\s*)?\\(`,returnBegin:!0,contains:[e.TITLE_MODE,h],relevance:0},{match:/\(\)/},{className:`params`,begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,relevance:0,contains:[m,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},_]}}var cC=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),lC=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),uC=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),dC=[...lC,...uC],fC=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),pC=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),mC=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),hC=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse();function gC(e){let t=e.regex,n=cC(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i=/@-?\w[\w]*(-\w+)*/,a=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:`CSS`,case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:`from to`},classNameAliases:{keyframePosition:`selector-tag`},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:`selector-id`,begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:`selector-class`,begin:`\\.[a-zA-Z-][a-zA-Z0-9_-]*`,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,variants:[{begin:`:(`+pC.join(`|`)+`)`},{begin:`:(:)?(`+mC.join(`|`)+`)`}]},n.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+hC.join(`|`)+`)\\b`},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:`url data-uri`},contains:[...a,{className:`string`,begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:`[{;]`,relevance:0,illegal:/:/,contains:[{className:`keyword`,begin:i},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:fC.join(` `)},contains:[{begin:/[a-z-]+(?=:)/,className:`attribute`},...a,n.CSS_NUMBER_MODE]}]},{className:`selector-tag`,begin:`\\b(`+dC.join(`|`)+`)\\b`}]}}function _C(e){let t=e.regex;return{name:`Diff`,aliases:[`patch`],contains:[{className:`meta`,relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:`comment`,variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:`addition`,begin:/^\+/,end:/$/},{className:`deletion`,begin:/^-/,end:/$/},{className:`addition`,begin:/^!/,end:/$/}]}}function vC(e){let t={keyword:[`break`,`case`,`chan`,`const`,`continue`,`default`,`defer`,`else`,`fallthrough`,`for`,`func`,`go`,`goto`,`if`,`import`,`interface`,`map`,`package`,`range`,`return`,`select`,`struct`,`switch`,`type`,`var`],type:[`bool`,`byte`,`complex64`,`complex128`,`error`,`float32`,`float64`,`int8`,`int16`,`int32`,`int64`,`string`,`uint8`,`uint16`,`uint32`,`uint64`,`int`,`uint`,`uintptr`,`rune`],literal:[`true`,`false`,`iota`,`nil`],built_in:[`append`,`cap`,`close`,`complex`,`copy`,`imag`,`len`,`make`,`new`,`panic`,`print`,`println`,`real`,`recover`,`delete`]};return{name:`Go`,aliases:[`golang`],keywords:t,illegal:`</`,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`string`,variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:`number`,variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:`function`,beginKeywords:`func`,end:`\\s*(\\{|$)`,excludeEnd:!0,contains:[e.TITLE_MODE,{className:`params`,begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}}function yC(e){let t=e.regex;return{name:`GraphQL`,aliases:[`gql`],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:[`query`,`mutation`,`subscription`,`type`,`input`,`schema`,`directive`,`interface`,`union`,`scalar`,`fragment`,`enum`,`on`],literal:[`true`,`false`,`null`]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:`punctuation`,match:/[.]{3}/,relevance:0},{scope:`punctuation`,begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:`variable`,begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:`meta`,match:/@\w+/,excludeEnd:!0},{scope:`symbol`,begin:t.concat(/[_A-Za-z][_0-9A-Za-z]*/,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}function bC(e){let t=e.regex,n={className:`number`,relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let i={className:`variable`,variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a={className:`literal`,begin:/\bon|off|true|false|yes|no\b/},o={className:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[{begin:`'''`,end:`'''`,relevance:10},{begin:`"""`,end:`"""`,relevance:10},{begin:`"`,end:`"`},{begin:`'`,end:`'`}]},s={begin:/\[/,end:/\]/,contains:[r,a,i,o,n,`self`],relevance:0},c=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:`TOML, also INI`,aliases:[`toml`],case_insensitive:!0,illegal:/\S/,contains:[r,{className:`section`,begin:/\[+/,end:/\]+/},{begin:t.concat(c,`(\\s*\\.\\s*`,c,`)*`,t.lookahead(/\s*=\s*[^#\s]/)),className:`attr`,starts:{end:/$/,contains:[r,s,a,i,o,n]}}]}}var xC=`[0-9](_*[0-9])*`,SC=`\\.(${xC})`,CC=`[0-9a-fA-F](_*[0-9a-fA-F])*`,wC={className:`number`,variants:[{begin:`(\\b(${xC})((${SC})|\\.)?|(${SC}))[eE][+-]?(${xC})[fFdD]?\\b`},{begin:`\\b(${xC})((${SC})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${SC})[fFdD]?\\b`},{begin:`\\b(${xC})[fFdD]\\b`},{begin:`\\b0[xX]((${CC})\\.?|(${CC})?\\.(${CC}))[pP][+-]?(${xC})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${CC})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0};function TC(e,t,n){return n===-1?``:e.replace(t,r=>TC(e,t,n-1))}function EC(e){let t=e.regex,n=`[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*`,r=n+TC(`(?:<`+n+`~~~(?:\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*~~~)*>)?`,/~~~/g,2),i={keyword:`synchronized.abstract.private.var.static.if.const .for.while.strictfp.finally.protected.import.native.final.void.enum.else.break.transient.catch.instanceof.volatile.case.assert.package.default.public.try.switch.continue.throws.protected.public.private.module.requires.exports.do.sealed.yield.permits.goto.when`.split(`.`),literal:[`false`,`true`,`null`],type:[`char`,`boolean`,`long`,`float`,`int`,`byte`,`short`,`double`],built_in:[`super`,`this`]},a={className:`meta`,begin:`@`+n,contains:[{begin:/\(/,end:/\)/,contains:[`self`]}]},o={className:`params`,begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:`Java`,aliases:[`jsp`],keywords:i,illegal:/<\/|#/,contains:[e.COMMENT(`/\\*\\*`,`\\*/`,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:`doctag`,begin:`@[A-Za-z]+`}]}),{begin:/import java\.[a-z]+\./,keywords:`import`,relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:`string`,contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:`keyword`,3:`title.class`}},{match:/non-sealed/,scope:`keyword`},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:`type`,3:`variable`,5:`operator`}},{begin:[/record/,/\s+/,n],className:{1:`keyword`,3:`title.class`},contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`new throw return else`,relevance:0},{begin:[`(?:`+r+`\\s+)`,e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:`title.function`},keywords:i,contains:[{className:`params`,begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,wC,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},wC,a]}}var DC=`[A-Za-z$_][0-9A-Za-z$_]*`,OC=`as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using`.split(`.`),kC=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],AC=`Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly`.split(`.`),jC=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],MC=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],NC=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],PC=[].concat(MC,AC,jC);function FC(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=DC,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);if(a=o.match(/^\s*=/)){t.ignoreMatch();return}if((a=o.match(/^\s+extends\s+/))&&a.index===0){t.ignoreMatch();return}}},s={$pattern:DC,keyword:OC,literal:kC,built_in:PC,"variable.language":NC},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},f={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:s,contains:[]},p={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`xml`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},_={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0},{className:`variable`,begin:r+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),x={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},S={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,`(`,t.concat(/\./,r),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}}]},C={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...AC,...jC]}},w={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},T={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[x],illegal:/%/},E={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function D(e){return t.concat(`(?!`,e.join(`|`),`)`)}let O={match:t.concat(/\b/,D([...MC,`super`,`import`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},k={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},A={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},x]},j=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,M={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(j)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[x]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:C},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),w,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,C,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},M,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:j,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},T,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[x,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},k,{match:`\\$`+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[x]},O,E,S,A,{match:/\$[(.]/}]}}function IC(e){let t={className:`attr`,begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:`punctuation`,relevance:0},r=[`true`,`false`,`null`],i={scope:`literal`,beginKeywords:r.join(` `)};return{name:`JSON`,aliases:[`jsonc`],keywords:{literal:r},contains:[t,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:`\\S`}}var LC=`[0-9](_*[0-9])*`,RC=`\\.(${LC})`,zC=`[0-9a-fA-F](_*[0-9a-fA-F])*`,BC={className:`number`,variants:[{begin:`(\\b(${LC})((${RC})|\\.)?|(${RC}))[eE][+-]?(${LC})[fFdD]?\\b`},{begin:`\\b(${LC})((${RC})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${RC})[fFdD]?\\b`},{begin:`\\b(${LC})[fFdD]\\b`},{begin:`\\b0[xX]((${zC})\\.?|(${zC})?\\.(${zC}))[pP][+-]?(${LC})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${zC})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0};function VC(e){let t={keyword:`abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual`,built_in:`Byte Short Char Int Long Boolean Float Double Void Unit Nothing`,literal:`true false null`},n={className:`keyword`,begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:`symbol`,begin:/@\w+/}]}},r={className:`symbol`,begin:e.UNDERSCORE_IDENT_RE+`@`},i={className:`subst`,begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},a={className:`variable`,begin:`\\$`+e.UNDERSCORE_IDENT_RE},o={className:`string`,variants:[{begin:`"""`,end:`"""(?=[^"])`,contains:[a,i]},{begin:`'`,end:`'`,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:`"`,end:`"`,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,a,i]}]};i.contains.push(o);let s={className:`meta`,begin:`@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*`+e.UNDERSCORE_IDENT_RE+`)?`},c={className:`meta`,begin:`@`+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(o,{className:`string`}),`self`]}]},l=BC,u=e.COMMENT(`/\\*`,`\\*/`,{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:`type`,begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},f=d;return f.variants[1].contains=[d],d.variants[1].contains=[f],{name:`Kotlin`,aliases:[`kt`,`kts`],keywords:t,contains:[e.COMMENT(`/\\*\\*`,`\\*/`,{relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`}]}),e.C_LINE_COMMENT_MODE,u,n,r,s,c,{className:`function`,beginKeywords:`fun`,end:`[(]|$`,returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+`\\s*\\(`,returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:`type`,begin:/</,end:/>/,keywords:`reified`,relevance:0},{className:`params`,begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,u],relevance:0},e.C_LINE_COMMENT_MODE,u,s,c,o,e.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:`title.class`},keywords:`class interface trait`,end:/[:\{(]|$/,excludeEnd:!0,illegal:`extends implements`,contains:[{beginKeywords:`public protected internal private constructor`},e.UNDERSCORE_TITLE_MODE,{className:`type`,begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:`type`,begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,c]},o,{className:`meta`,begin:`^#!/usr/bin/env`,end:`$`,illegal:`
8
+ `},l]}}var HC=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),UC=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),WC=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),GC=[...UC,...WC],KC=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),qC=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),JC=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),YC=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse(),XC=qC.concat(JC).sort().reverse();function ZC(e){let t=HC(e),n=XC,r=`[\\w-]+`,i=`(`+r+`|@\\{[\\w-]+\\})`,a=[],o=[],s=function(e){return{className:`string`,begin:`~?`+e+`.*?`+e}},c=function(e,t,n){return{className:e,begin:t,relevance:n}},l={$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:KC.join(` `)},u={begin:`\\(`,end:`\\)`,contains:o,keywords:l,relevance:0};o.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s(`'`),s(`"`),t.CSS_NUMBER_MODE,{begin:`(url|data-uri)\\(`,starts:{className:`string`,end:`[\\)\\n]`,excludeEnd:!0}},t.HEXCOLOR,u,c(`variable`,`@@?`+r,10),c(`variable`,`@\\{`+r+`\\}`),c(`built_in`,"~?`[^`]*?`"),{className:`attribute`,begin:r+`\\s*:`,end:`:`,returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:`and not`},t.FUNCTION_DISPATCH);let d=o.concat({begin:/\{/,end:/\}/,contains:a}),f={beginKeywords:`when`,endsWithParent:!0,contains:[{beginKeywords:`and not`}].concat(o)},p={begin:i+`\\s*:`,returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+YC.join(`|`)+`)\\b`,end:/(?=:)/,starts:{endsWithParent:!0,illegal:`[<=$]`,relevance:0,contains:o}}]},m={className:`keyword`,begin:`@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b`,starts:{end:`[;{}]`,keywords:l,returnEnd:!0,contains:o,relevance:0}},h={className:`variable`,variants:[{begin:`@`+r+`\\s*:`,relevance:15},{begin:`@`+r}],starts:{end:`[;}]`,returnEnd:!0,contains:d}},g={variants:[{begin:`[\\.#:&\\[>]`,end:`[;{}]`},{begin:i,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,f,c(`keyword`,`all\\b`),c(`variable`,`@\\{`+r+`\\}`),{begin:`\\b(`+GC.join(`|`)+`)\\b`,className:`selector-tag`},t.CSS_NUMBER_MODE,c(`selector-tag`,i,0),c(`selector-id`,`#`+i),c(`selector-class`,`\\.`+i,0),c(`selector-tag`,`&`,0),t.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,begin:`:(`+qC.join(`|`)+`)`},{className:`selector-pseudo`,begin:`:(:)?(`+JC.join(`|`)+`)`},{begin:/\(/,end:/\)/,relevance:0,contains:d},{begin:`!important`},t.FUNCTION_DISPATCH]},_={begin:`[\\w-]+:(:)?(${n.join(`|`)})`,returnBegin:!0,contains:[g]};return a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,m,h,_,p,g,f,t.FUNCTION_DISPATCH),{name:`Less`,case_insensitive:!0,illegal:`[=>'/<($"]`,contains:a}}function QC(e){let t=`\\[=*\\[`,n=`\\]=*\\]`,r={begin:t,end:n,contains:[`self`]},i=[e.COMMENT(`--(?!`+t+`)`,`$`),e.COMMENT(`--`+t,n,{contains:[r],relevance:10})];return{name:`Lua`,aliases:[`pluto`],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:`true false nil`,keyword:`and break do else elseif end for goto if in local not or repeat return then until while`,built_in:`_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove`},contains:i.concat([{className:`function`,beginKeywords:`function`,end:`\\)`,contains:[e.inherit(e.TITLE_MODE,{begin:`([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*`}),{className:`params`,begin:`\\(`,endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:`string`,begin:t,end:n,contains:[r],relevance:5}])}}function $C(e){let t={className:`variable`,variants:[{begin:`\\$\\(`+e.UNDERSCORE_IDENT_RE+`\\)`,contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:`variable`,begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:`subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value`},contains:[t,n]},i={begin:`^`+e.UNDERSCORE_IDENT_RE+`\\s*(?=[:+?]?=)`},a={className:`meta`,begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:`.PHONY`}},o={className:`section`,begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:`Makefile`,aliases:[`mk`,`mak`,`make`],keywords:{$pattern:/[\w-]+/,keyword:`define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath`},contains:[e.HASH_COMMENT_MODE,t,n,r,i,a,o]}}function ew(e){let t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:`>`,subLanguage:`xml`,relevance:0},r={begin:`^[-\\*]{3,}`,end:`$`},i={className:`code`,variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:`(~{3,})[^~](.|\\n)*?\\1~*[ ]*`},{begin:"```",end:"```+[ ]*$"},{begin:`~~~`,end:`~~~+[ ]*$`},{begin:"`.+?`"},{begin:`(?=^( {4}|\\t))`,contains:[{begin:`^( {4}|\\t)`,end:`(\\n)$`}],relevance:0}]},a={className:`bullet`,begin:`^[ ]*([*+-]|(\\d+\\.))(?=\\s+)`,end:`\\s+`,excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:`symbol`,begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:`link`,begin:/:\s*/,end:/$/,excludeBegin:!0}]},s={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:`string`,relevance:0,begin:`\\[`,end:`\\]`,excludeBegin:!0,returnEnd:!0},{className:`link`,relevance:0,begin:`\\]\\(`,end:`\\)`,excludeBegin:!0,excludeEnd:!0},{className:`symbol`,relevance:0,begin:`\\]\\[`,end:`\\]`,excludeBegin:!0,excludeEnd:!0}]},c={className:`strong`,contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},l={className:`emphasis`,contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},u=e.inherit(c,{contains:[]}),d=e.inherit(l,{contains:[]});c.contains.push(d),l.contains.push(u);let f=[n,s];return[c,l,u,d].forEach(e=>{e.contains=e.contains.concat(f)}),f=f.concat(c,l),{name:`Markdown`,aliases:[`md`,`mkdown`,`mkd`],contains:[{className:`section`,variants:[{begin:`^#{1,6}`,end:`$`,contains:f},{begin:`(?=^.+?\\n[=-]{2,}$)`,contains:[{begin:`^[=-]*$`},{begin:`^`,end:`\\n`,contains:f}]}]},n,a,c,l,{className:`quote`,begin:`^>\\s+`,contains:f,end:`$`},i,r,s,o,{scope:`literal`,match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function tw(e){let t={className:`built_in`,begin:`\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+`},n=/[a-zA-Z@][a-zA-Z0-9_]*/,r={"variable.language":[`this`,`super`],$pattern:n,keyword:`while.export.sizeof.typedef.const.struct.for.union.volatile.static.mutable.if.do.return.goto.enum.else.break.extern.asm.case.default.register.explicit.typename.switch.continue.inline.readonly.assign.readwrite.self.@synchronized.id.typeof.nonatomic.IBOutlet.IBAction.strong.weak.copy.in.out.inout.bycopy.byref.oneway.__strong.__weak.__block.__autoreleasing.@private.@protected.@public.@try.@property.@end.@throw.@catch.@finally.@autoreleasepool.@synthesize.@dynamic.@selector.@optional.@required.@encode.@package.@import.@defs.@compatibility_alias.__bridge.__bridge_transfer.__bridge_retained.__bridge_retain.__covariant.__contravariant.__kindof._Nonnull._Nullable._Null_unspecified.__FUNCTION__.__PRETTY_FUNCTION__.__attribute__.getter.setter.retain.unsafe_unretained.nonnull.nullable.null_unspecified.null_resettable.class.instancetype.NS_DESIGNATED_INITIALIZER.NS_UNAVAILABLE.NS_REQUIRES_SUPER.NS_RETURNS_INNER_POINTER.NS_INLINE.NS_AVAILABLE.NS_DEPRECATED.NS_ENUM.NS_OPTIONS.NS_SWIFT_UNAVAILABLE.NS_ASSUME_NONNULL_BEGIN.NS_ASSUME_NONNULL_END.NS_REFINED_FOR_SWIFT.NS_SWIFT_NAME.NS_SWIFT_NOTHROW.NS_DURING.NS_HANDLER.NS_ENDHANDLER.NS_VALUERETURN.NS_VOIDRETURN`.split(`.`),literal:[`false`,`true`,`FALSE`,`TRUE`,`nil`,`YES`,`NO`,`NULL`],built_in:[`dispatch_once_t`,`dispatch_queue_t`,`dispatch_sync`,`dispatch_async`,`dispatch_once`],type:[`int`,`float`,`char`,`unsigned`,`signed`,`short`,`long`,`double`,`wchar_t`,`unichar`,`void`,`bool`,`BOOL`,`id|0`,`_Bool`]},i={$pattern:n,keyword:[`@interface`,`@class`,`@protocol`,`@implementation`]};return{name:`Objective-C`,aliases:[`mm`,`objc`,`obj-c`,`obj-c++`,`objective-c++`],keywords:r,illegal:`</`,contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:`string`,variants:[{begin:`@"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]}]},{className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma ifdef ifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),{className:`string`,begin:/<.*?>/,end:/$/,illegal:`\\n`},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`class`,begin:`(`+i.keyword.join(`|`)+`)\\b`,end:/(\{|$)/,excludeEnd:!0,keywords:i,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:`\\.`+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function nw(e){let t=e.regex,n=`abs.accept.alarm.and.atan2.bind.binmode.bless.break.caller.chdir.chmod.chomp.chop.chown.chr.chroot.class.close.closedir.connect.continue.cos.crypt.dbmclose.dbmopen.defined.delete.die.do.dump.each.else.elsif.endgrent.endhostent.endnetent.endprotoent.endpwent.endservent.eof.eval.exec.exists.exit.exp.fcntl.field.fileno.flock.for.foreach.fork.format.formline.getc.getgrent.getgrgid.getgrnam.gethostbyaddr.gethostbyname.gethostent.getlogin.getnetbyaddr.getnetbyname.getnetent.getpeername.getpgrp.getpriority.getprotobyname.getprotobynumber.getprotoent.getpwent.getpwnam.getpwuid.getservbyname.getservbyport.getservent.getsockname.getsockopt.given.glob.gmtime.goto.grep.gt.hex.if.index.int.ioctl.join.keys.kill.last.lc.lcfirst.length.link.listen.local.localtime.log.lstat.lt.ma.map.method.mkdir.msgctl.msgget.msgrcv.msgsnd.my.ne.next.no.not.oct.open.opendir.or.ord.our.pack.package.pipe.pop.pos.print.printf.prototype.push.q|0.qq.quotemeta.qw.qx.rand.read.readdir.readline.readlink.readpipe.recv.redo.ref.rename.require.reset.return.reverse.rewinddir.rindex.rmdir.say.scalar.seek.seekdir.select.semctl.semget.semop.send.setgrent.sethostent.setnetent.setpgrp.setpriority.setprotoent.setpwent.setservent.setsockopt.shift.shmctl.shmget.shmread.shmwrite.shutdown.sin.sleep.socket.socketpair.sort.splice.split.sprintf.sqrt.srand.stat.state.study.sub.substr.symlink.syscall.sysopen.sysread.sysseek.system.syswrite.tell.telldir.tie.tied.time.times.tr.truncate.uc.ucfirst.umask.undef.unless.unlink.unpack.unshift.untie.until.use.utime.values.vec.wait.waitpid.wantarray.warn.when.while.write.x|0.xor.y|0`.split(`.`),r=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(` `)},a={className:`subst`,begin:`[$@]\\{`,end:`\\}`,keywords:i},o={begin:/->\{/,end:/\}/},s={scope:`attr`,match:/\s+:\s*\w+(\s*\(.*?\))?/},c={scope:`variable`,variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,`(?![A-Za-z])(?![@$%])`)},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[s]},l={className:`number`,variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},u=[e.BACKSLASH_ESCAPE,a,c],d=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(e,n,i=`\\1`)=>{let a=i===`\\1`?i:t.concat(i,n);return t.concat(t.concat(`(?:`,e,`)`),n,/(?:\\.|[^\\\/])*?/,a,/(?:\\.|[^\\\/])*?/,i,r)},p=(e,n,i)=>t.concat(t.concat(`(?:`,e,`)`),n,/(?:\\.|[^\\\/])*?/,i,r),m=[c,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:`string`,contains:u,variants:[{begin:`q[qwxr]?\\s*\\(`,end:`\\)`,relevance:5},{begin:`q[qwxr]?\\s*\\[`,end:`\\]`,relevance:5},{begin:`q[qwxr]?\\s*\\{`,end:`\\}`,relevance:5},{begin:`q[qwxr]?\\s*\\|`,end:`\\|`,relevance:5},{begin:`q[qwxr]?\\s*<`,end:`>`,relevance:5},{begin:`qw\\s+q`,end:`q`,relevance:5},{begin:`'`,end:`'`,contains:[e.BACKSLASH_ESCAPE]},{begin:`"`,end:`"`},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:`-?\\w+\\s*=>`,relevance:0}]},l,{begin:`(\\/\\/|`+e.RE_STARTERS_RE+`|\\b(split|return|print|reverse|grep)\\b)\\s*`,keywords:`split return print reverse grep`,relevance:0,contains:[e.HASH_COMMENT_MODE,{className:`regexp`,variants:[{begin:f(`s|tr|y`,t.either(...d,{capture:!0}))},{begin:f(`s|tr|y`,`\\(`,`\\)`)},{begin:f(`s|tr|y`,`\\[`,`\\]`)},{begin:f(`s|tr|y`,`\\{`,`\\}`)}],relevance:2},{className:`regexp`,variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p(`(?:m|qr)?`,/\//,/\//)},{begin:p(`m|qr`,t.either(...d,{capture:!0}),/\1/)},{begin:p(`m|qr`,/\(/,/\)/)},{begin:p(`m|qr`,/\[/,/\]/)},{begin:p(`m|qr`,/\{/,/\}/)}]}]},{className:`function`,beginKeywords:`sub method`,end:`(\\s*\\(.*?\\))?[;{]`,excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s]},{className:`class`,beginKeywords:`class`,end:`[;{]`,excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s,l]},{begin:`-\\w\\b`,relevance:0},{begin:`^__DATA__$`,end:`^__END__$`,subLanguage:`mojolicious`,contains:[{begin:`^@@.*`,end:`$`,className:`comment`}]}];return a.contains=m,o.contains=m,{name:`Perl`,aliases:[`pl`,`pm`],keywords:i,contains:m}}function rw(e){let t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),a=t.concat(/[A-Z]+/,n),o={scope:`variable`,match:`\\$+`+r},s={scope:`meta`,variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},c={scope:`subst`,variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(c)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(c),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[
9
+ ]`,m={scope:`string`,variants:[u,l,d,f]},h={scope:`number`,variants:[{begin:`\\b0[bB][01]+(?:_[01]+)*\\b`},{begin:`\\b0[oO][0-7]+(?:_[0-7]+)*\\b`},{begin:`\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b`},{begin:`(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?`}],relevance:0},g=[`false`,`null`,`true`],_=`__CLASS__.__DIR__.__FILE__.__FUNCTION__.__COMPILER_HALT_OFFSET__.__LINE__.__METHOD__.__NAMESPACE__.__TRAIT__.die.echo.exit.include.include_once.print.require.require_once.array.abstract.and.as.binary.bool.boolean.break.callable.case.catch.class.clone.const.continue.declare.default.do.double.else.elseif.empty.enddeclare.endfor.endforeach.endif.endswitch.endwhile.enum.eval.extends.final.finally.float.for.foreach.from.global.goto.if.implements.instanceof.insteadof.int.integer.interface.isset.iterable.list.match|0.mixed.new.never.object.or.private.protected.public.readonly.real.return.string.switch.throw.trait.try.unset.use.var.void.while.xor.yield`.split(`.`),v=`Error|0.AppendIterator.ArgumentCountError.ArithmeticError.ArrayIterator.ArrayObject.AssertionError.BadFunctionCallException.BadMethodCallException.CachingIterator.CallbackFilterIterator.CompileError.Countable.DirectoryIterator.DivisionByZeroError.DomainException.EmptyIterator.ErrorException.Exception.FilesystemIterator.FilterIterator.GlobIterator.InfiniteIterator.InvalidArgumentException.IteratorIterator.LengthException.LimitIterator.LogicException.MultipleIterator.NoRewindIterator.OutOfBoundsException.OutOfRangeException.OuterIterator.OverflowException.ParentIterator.ParseError.RangeException.RecursiveArrayIterator.RecursiveCachingIterator.RecursiveCallbackFilterIterator.RecursiveDirectoryIterator.RecursiveFilterIterator.RecursiveIterator.RecursiveIteratorIterator.RecursiveRegexIterator.RecursiveTreeIterator.RegexIterator.RuntimeException.SeekableIterator.SplDoublyLinkedList.SplFileInfo.SplFileObject.SplFixedArray.SplHeap.SplMaxHeap.SplMinHeap.SplObjectStorage.SplObserver.SplPriorityQueue.SplQueue.SplStack.SplSubject.SplTempFileObject.TypeError.UnderflowException.UnexpectedValueException.UnhandledMatchError.ArrayAccess.BackedEnum.Closure.Fiber.Generator.Iterator.IteratorAggregate.Serializable.Stringable.Throwable.Traversable.UnitEnum.WeakReference.WeakMap.Directory.__PHP_Incomplete_Class.parent.php_user_filter.self.static.stdClass`.split(`.`),y={keyword:_,literal:(e=>{let t=[];return e.forEach(e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())}),t})(g),built_in:v},b=e=>e.map(e=>e.replace(/\|\d+$/,``)),x={variants:[{match:[/new/,t.concat(p,`+`),t.concat(`(?!`,b(v).join(`\\b|`),`\\b)`),i],scope:{1:`keyword`,4:`title.class`}}]},S=t.concat(r,`\\b(?!\\()`),C={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),S],scope:{2:`variable.constant`}},{match:[/::/,/class/],scope:{2:`variable.language`}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),S],scope:{1:`title.class`,3:`variable.constant`}},{match:[i,t.concat(`::`,t.lookahead(/(?!class\b)/))],scope:{1:`title.class`}},{match:[i,/::/,/class/],scope:{1:`title.class`,3:`variable.language`}}]},w={scope:`attr`,match:t.concat(r,t.lookahead(`:`),t.lookahead(/(?!::)/))},T={relevance:0,begin:/\(/,end:/\)/,keywords:y,contains:[w,o,C,e.C_BLOCK_COMMENT_MODE,m,h,x]},E={relevance:0,match:[/\b/,t.concat(`(?!fn\\b|function\\b|`,b(_).join(`\\b|`),`|`,b(v).join(`\\b|`),`\\b)`),r,t.concat(p,`*`),t.lookahead(/(?=\()/)],scope:{3:`title.function.invoke`},contains:[T]};T.contains.push(E);let D=[w,C,e.C_BLOCK_COMMENT_MODE,m,h,x],O={begin:t.concat(/#\[\s*\\?/,t.either(i,a)),beginScope:`meta`,end:/]/,endScope:`meta`,keywords:{literal:g,keyword:[`new`,`array`]},contains:[{begin:/\[/,end:/]/,keywords:{literal:g,keyword:[`new`,`array`]},contains:[`self`,...D]},...D,{scope:`meta`,variants:[{match:i},{match:a}]}]};return{case_insensitive:!1,keywords:y,contains:[O,e.HASH_COMMENT_MODE,e.COMMENT(`//`,`$`),e.COMMENT(`/\\*`,`\\*/`,{contains:[{scope:`doctag`,match:`@[A-Za-z]+`}]}),{match:/__halt_compiler\(\);/,keywords:`__halt_compiler`,starts:{scope:`comment`,end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:`meta`,endsParent:!0}]}},s,{scope:`variable.language`,match:/\$this\b/},o,E,C,{match:[/const/,/\s/,r],scope:{1:`keyword`,3:`variable.constant`}},x,{scope:`function`,relevance:0,beginKeywords:`fn function`,end:/[;{]/,excludeEnd:!0,illegal:`[$%\\[]`,contains:[{beginKeywords:`use`},e.UNDERSCORE_TITLE_MODE,{begin:`=>`,endsParent:!0},{scope:`params`,begin:`\\(`,end:`\\)`,excludeBegin:!0,excludeEnd:!0,keywords:y,contains:[`self`,O,o,C,e.C_BLOCK_COMMENT_MODE,m,h]}]},{scope:`class`,variants:[{beginKeywords:`enum`,illegal:/[($"]/},{beginKeywords:`class interface trait`,illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:`extends implements`},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:`namespace`,relevance:0,end:`;`,illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:`title.class`})]},{beginKeywords:`use`,relevance:0,end:`;`,contains:[{match:/\b(as|const|function)\b/,scope:`keyword`},e.UNDERSCORE_TITLE_MODE]},m,h]}}function iw(e){return{name:`PHP template`,subLanguage:`xml`,contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:`php`,contains:[{begin:`/\\*`,end:`\\*/`,skip:!0},{begin:`b"`,end:`"`,skip:!0},{begin:`b'`,end:`'`,skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}function aw(e){return{name:`Plain text`,aliases:[`text`,`txt`],disableAutodetect:!0}}function ow(e){let t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,r=`and.as.assert.async.await.break.case.class.continue.def.del.elif.else.except.finally.for.from.global.if.import.in.is.lambda.match.nonlocal|10.not.or.pass.raise.return.try.while.with.yield`.split(`.`),i={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:`__import__.abs.all.any.ascii.bin.bool.breakpoint.bytearray.bytes.callable.chr.classmethod.compile.complex.delattr.dict.dir.divmod.enumerate.eval.exec.filter.float.format.frozenset.getattr.globals.hasattr.hash.help.hex.id.input.int.isinstance.issubclass.iter.len.list.locals.map.max.memoryview.min.next.object.oct.open.ord.pow.print.property.range.repr.reversed.round.set.setattr.slice.sorted.staticmethod.str.sum.super.tuple.type.vars.zip`.split(`.`),literal:[`__debug__`,`Ellipsis`,`False`,`None`,`NotImplemented`,`True`],type:[`Any`,`Callable`,`Coroutine`,`Dict`,`List`,`Literal`,`Generic`,`Optional`,`Sequence`,`Set`,`Tuple`,`Type`,`Union`]},a={className:`meta`,begin:/^(>>>|\.\.\.) /},o={className:`subst`,begin:/\{/,end:/\}/,keywords:i,illegal:/#/},s={begin:/\{\{/,relevance:0},c={className:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,o]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},l=`[0-9](_?[0-9])*`,u=`(\\b(${l}))?\\.(${l})|\\b(${l})\\.`,d=`\\b|${r.join(`|`)}`,f={className:`number`,relevance:0,variants:[{begin:`(\\b(${l})|(${u}))[eE][+-]?(${l})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${l})[jJ](?=${d})`}]},p={className:`comment`,begin:t.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:`params`,variants:[{className:``,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:[`self`,a,f,c,e.HASH_COMMENT_MODE]}]};return o.contains=[c,f,a],{name:`Python`,aliases:[`py`,`gyp`,`ipython`],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[a,f,{scope:`variable.language`,match:/\bself\b/},{beginKeywords:`if`,relevance:0},{match:/\bor\b/,scope:`keyword`},c,p,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:`keyword`,3:`title.function`},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:`keyword`,3:`title.class`,6:`title.class.inherited`}},{className:`meta`,begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,m,c]}]}}function sw(e){return{aliases:[`pycon`],contains:[{className:`meta.prompt`,starts:{end:/ |$/,starts:{end:`$`,subLanguage:`python`}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function cw(e){let t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:`R`,keywords:{$pattern:n,keyword:`function if in break next repeat else for while`,literal:`NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10`,built_in:`LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm`},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:`doctag`,match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:`doctag`,begin:`@param`,end:/$/,contains:[{scope:`variable`,variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:`doctag`,match:/@[a-zA-Z]+/},{scope:`keyword`,match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:`"`,end:`"`,relevance:0},{begin:`'`,end:`'`,relevance:0}]},{relevance:0,variants:[{scope:{1:`operator`,2:`number`},match:[i,r]},{scope:{1:`operator`,2:`number`},match:[/%[^%]*%/,r]},{scope:{1:`punctuation`,2:`number`},match:[a,r]},{scope:{2:`number`},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:`operator`},match:[n,/\s+/,/<-/,/\s+/]},{scope:`operator`,relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:`punctuation`,relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function lw(e){let t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),a={"variable.constant":[`__FILE__`,`__LINE__`,`__ENCODING__`],"variable.language":[`self`,`super`],keyword:[`alias`,`and`,`begin`,`BEGIN`,`break`,`case`,`class`,`defined`,`do`,`else`,`elsif`,`end`,`END`,`ensure`,`for`,`if`,`in`,`module`,`next`,`not`,`or`,`redo`,`require`,`rescue`,`retry`,`return`,`then`,`undef`,`unless`,`until`,`when`,`while`,`yield`,...[`include`,`extend`,`prepend`,`public`,`private`,`protected`,`raise`,`throw`]],built_in:[`proc`,`lambda`,`attr_accessor`,`attr_reader`,`attr_writer`,`define_method`,`private_constant`,`module_function`],literal:[`true`,`false`,`nil`]},o={className:`doctag`,begin:`@[A-Za-z]+`},s={begin:`#<`,end:`>`},c=[e.COMMENT(`#`,`$`,{contains:[o]}),e.COMMENT(`^=begin`,`^=end`,{contains:[o],relevance:10}),e.COMMENT(`^__END__`,e.MATCH_NOTHING_RE)],l={className:`subst`,begin:/#\{/,end:/\}/,keywords:a},u={className:`string`,contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,l]})]}]},d=`[0-9](_?[0-9])*`,f={className:`number`,relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${d}))?([eE][+-]?(${d})|r)?i?\\b`},{begin:`\\b0[dD][0-9](_?[0-9])*r?i?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*r?i?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*r?i?\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b`},{begin:`\\b0(_?[0-7])+r?i?\\b`}]},p={variants:[{match:/\(\)/},{className:`params`,begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},m=[u,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:`title.class`,4:`title.class.inherited`},keywords:a},{match:[/(include|extend)\s+/,i],scope:{2:`title.class`},keywords:a},{relevance:0,match:[i,/\.new[. (]/],scope:{1:`title.class`}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`},{relevance:0,match:r,scope:`title.class`},{match:[/def/,/\s+/,n],scope:{1:`keyword`,3:`title.function`},contains:[p]},{begin:e.IDENT_RE+`::`},{className:`symbol`,begin:e.UNDERSCORE_IDENT_RE+`(!|\\?)?:`,relevance:0},{className:`symbol`,begin:`:(?!\\s)`,contains:[u,{begin:n}],relevance:0},f,{className:`variable`,begin:`(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])`},{className:`params`,begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:`(`+e.RE_STARTERS_RE+`|unless)\\s*`,keywords:`unless`,contains:[{className:`regexp`,contains:[e.BACKSLASH_ESCAPE,l],illegal:/\n/,variants:[{begin:`/`,end:`/[a-z]*`},{begin:/%r\{/,end:/\}[a-z]*/},{begin:`%r\\(`,end:`\\)[a-z]*`},{begin:`%r!`,end:`![a-z]*`},{begin:`%r\\[`,end:`\\][a-z]*`}]}].concat(s,c),relevance:0}].concat(s,c);l.contains=m,p.contains=m;let h=[{begin:/^\s*=>/,starts:{end:`$`,contains:m}},{className:`meta.prompt`,begin:`^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])`,starts:{end:`$`,keywords:a,contains:m}}];return c.unshift(s),{name:`Ruby`,aliases:[`rb`,`gemspec`,`podspec`,`thor`,`irb`],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:`ruby`})].concat(h,c,m)}}function uw(e){let t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),a={className:`title.function.invoke`,relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,i,t.lookahead(/\s*\(/))},o=`([ui](8|16|32|64|128|size)|f(32|64))?`,s=`abstract.as.async.await.become.box.break.const.continue.crate.do.dyn.else.enum.extern.false.final.fn.for.if.impl.in.let.loop.macro.match.mod.move.mut.override.priv.pub.ref.return.self.Self.static.struct.super.trait.true.try.type.typeof.union.unsafe.unsized.use.virtual.where.while.yield`.split(`.`),c=[`true`,`false`,`Some`,`None`,`Ok`,`Err`],l=`drop .Copy.Send.Sized.Sync.Drop.Fn.FnMut.FnOnce.ToOwned.Clone.Debug.PartialEq.PartialOrd.Eq.Ord.AsRef.AsMut.Into.From.Default.Iterator.Extend.IntoIterator.DoubleEndedIterator.ExactSizeIterator.SliceConcatExt.ToString.assert!.assert_eq!.bitflags!.bytes!.cfg!.col!.concat!.concat_idents!.debug_assert!.debug_assert_eq!.env!.eprintln!.panic!.file!.format!.format_args!.include_bytes!.include_str!.line!.local_data_key!.module_path!.option_env!.print!.println!.select!.stringify!.try!.unimplemented!.unreachable!.vec!.write!.writeln!.macro_rules!.assert_ne!.debug_assert_ne!`.split(`.`),u=[`i8`,`i16`,`i32`,`i64`,`i128`,`isize`,`u8`,`u16`,`u32`,`u64`,`u128`,`usize`,`f32`,`f64`,`str`,`char`,`bool`,`Box`,`Option`,`Result`,`String`,`Vec`];return{name:`Rust`,aliases:[`rs`],keywords:{$pattern:e.IDENT_RE+`!?`,type:u,keyword:s,literal:c,built_in:l},illegal:`</`,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(`/\\*`,`\\*/`,{contains:[`self`]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:`symbol`,begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:`string`,variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:`char.escape`,match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:`number`,variants:[{begin:`\\b0b([01_]+)`+o},{begin:`\\b0o([0-7_]+)`+o},{begin:`\\b0x([A-Fa-f0-9_]+)`+o},{begin:`\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)`+o}],relevance:0},{begin:[/fn/,/\s+/,r],className:{1:`keyword`,3:`title.function`}},{className:`meta`,begin:`#!?\\[`,end:`\\]`,contains:[{className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,r],className:{1:`keyword`,3:`keyword`,4:`variable`}},{begin:[/for/,/\s+/,r,/\s+/,/in/],className:{1:`keyword`,3:`variable`,5:`keyword`}},{begin:[/type/,/\s+/,r],className:{1:`keyword`,3:`title.class`}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],className:{1:`keyword`,3:`title.class`}},{begin:e.IDENT_RE+`::`,keywords:{keyword:`Self`,built_in:l,type:u}},{className:`punctuation`,begin:`->`},a]}}var dw=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),fw=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),pw=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),mw=[...fw,...pw],hw=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),gw=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),_w=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),vw=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse();function yw(e){let t=dw(e),n=_w,r=gw,i=`@[a-z-]+`,a={className:`variable`,begin:`(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b`,relevance:0};return{name:`SCSS`,case_insensitive:!0,illegal:`[=/|']`,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:`selector-id`,begin:`#[A-Za-z0-9_-]+`,relevance:0},{className:`selector-class`,begin:`\\.[A-Za-z0-9_-]+`,relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:`selector-tag`,begin:`\\b(`+mw.join(`|`)+`)\\b`,relevance:0},{className:`selector-pseudo`,begin:`:(`+r.join(`|`)+`)`},{className:`selector-pseudo`,begin:`:(:)?(`+n.join(`|`)+`)`},a,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+vw.join(`|`)+`)\\b`},{begin:`\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b`},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,a,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:`@(page|font-face)`,keywords:{$pattern:i,keyword:`@page @font-face`}},{begin:`@`,end:`[{;]`,returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:hw.join(` `)},contains:[{begin:i,className:`keyword`},{begin:/[a-z-]+(?=:)/,className:`attribute`},a,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}function bw(e){return{name:`Shell Session`,aliases:[`console`,`shellsession`],contains:[{className:`meta.prompt`,begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:`bash`}}]}}function xw(e){let t=e.regex,n=e.COMMENT(`--`,`$`),r={scope:`string`,variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},i={begin:/"/,end:/"/,contains:[{match:/""/}]},a=[`true`,`false`,`unknown`],o=[`double precision`,`large object`,`with timezone`,`without timezone`],s=`bigint.binary.blob.boolean.char.character.clob.date.dec.decfloat.decimal.float.int.integer.interval.nchar.nclob.national.numeric.real.row.smallint.time.timestamp.varchar.varying.varbinary`.split(`.`),c=[`add`,`asc`,`collation`,`desc`,`final`,`first`,`last`,`view`],l=`abs.acos.all.allocate.alter.and.any.are.array.array_agg.array_max_cardinality.as.asensitive.asin.asymmetric.at.atan.atomic.authorization.avg.begin.begin_frame.begin_partition.between.bigint.binary.blob.boolean.both.by.call.called.cardinality.cascaded.case.cast.ceil.ceiling.char.char_length.character.character_length.check.classifier.clob.close.coalesce.collate.collect.column.commit.condition.connect.constraint.contains.convert.copy.corr.corresponding.cos.cosh.count.covar_pop.covar_samp.create.cross.cube.cume_dist.current.current_catalog.current_date.current_default_transform_group.current_path.current_role.current_row.current_schema.current_time.current_timestamp.current_path.current_role.current_transform_group_for_type.current_user.cursor.cycle.date.day.deallocate.dec.decimal.decfloat.declare.default.define.delete.dense_rank.deref.describe.deterministic.disconnect.distinct.double.drop.dynamic.each.element.else.empty.end.end_frame.end_partition.end-exec.equals.escape.every.except.exec.execute.exists.exp.external.extract.false.fetch.filter.first_value.float.floor.for.foreign.frame_row.free.from.full.function.fusion.get.global.grant.group.grouping.groups.having.hold.hour.identity.in.indicator.initial.inner.inout.insensitive.insert.int.integer.intersect.intersection.interval.into.is.join.json_array.json_arrayagg.json_exists.json_object.json_objectagg.json_query.json_table.json_table_primitive.json_value.lag.language.large.last_value.lateral.lead.leading.left.like.like_regex.listagg.ln.local.localtime.localtimestamp.log.log10.lower.match.match_number.match_recognize.matches.max.member.merge.method.min.minute.mod.modifies.module.month.multiset.national.natural.nchar.nclob.new.no.none.normalize.not.nth_value.ntile.null.nullif.numeric.octet_length.occurrences_regex.of.offset.old.omit.on.one.only.open.or.order.out.outer.over.overlaps.overlay.parameter.partition.pattern.per.percent.percent_rank.percentile_cont.percentile_disc.period.portion.position.position_regex.power.precedes.precision.prepare.primary.procedure.ptf.range.rank.reads.real.recursive.ref.references.referencing.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.release.result.return.returns.revoke.right.rollback.rollup.row.row_number.rows.running.savepoint.scope.scroll.search.second.seek.select.sensitive.session_user.set.show.similar.sin.sinh.skip.smallint.some.specific.specifictype.sql.sqlexception.sqlstate.sqlwarning.sqrt.start.static.stddev_pop.stddev_samp.submultiset.subset.substring.substring_regex.succeeds.sum.symmetric.system.system_time.system_user.table.tablesample.tan.tanh.then.time.timestamp.timezone_hour.timezone_minute.to.trailing.translate.translate_regex.translation.treat.trigger.trim.trim_array.true.truncate.uescape.union.unique.unknown.unnest.update.upper.user.using.value.values.value_of.var_pop.var_samp.varbinary.varchar.varying.versioning.when.whenever.where.width_bucket.window.with.within.without.year`.split(`.`),u=`abs.acos.array_agg.asin.atan.avg.cast.ceil.ceiling.coalesce.corr.cos.cosh.count.covar_pop.covar_samp.cume_dist.dense_rank.deref.element.exp.extract.first_value.floor.json_array.json_arrayagg.json_exists.json_object.json_objectagg.json_query.json_table.json_table_primitive.json_value.lag.last_value.lead.listagg.ln.log.log10.lower.max.min.mod.nth_value.ntile.nullif.percent_rank.percentile_cont.percentile_disc.position.position_regex.power.rank.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.row_number.sin.sinh.sqrt.stddev_pop.stddev_samp.substring.substring_regex.sum.tan.tanh.translate.translate_regex.treat.trim.trim_array.unnest.upper.value_of.var_pop.var_samp.width_bucket`.split(`.`),d=[`current_catalog`,`current_date`,`current_default_transform_group`,`current_path`,`current_role`,`current_schema`,`current_transform_group_for_type`,`current_user`,`session_user`,`system_time`,`system_user`,`current_time`,`localtime`,`current_timestamp`,`localtimestamp`],f=[`create table`,`insert into`,`primary key`,`foreign key`,`not null`,`alter table`,`add constraint`,`grouping sets`,`on overflow`,`character set`,`respect nulls`,`ignore nulls`,`nulls first`,`nulls last`,`depth first`,`breadth first`],p=u,m=[...l,...c].filter(e=>!u.includes(e)),h={scope:`variable`,match:/@[a-z0-9][a-z0-9_]*/},g={scope:`operator`,match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},_={match:t.concat(/\b/,t.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function v(e){return t.concat(/\b/,t.either(...e.map(e=>e.replace(/\s+/,`\\s+`))),/\b/)}let y={scope:`keyword`,match:v(f),relevance:0};function b(e,{exceptions:t,when:n}={}){let r=n;return t||=[],e.map(e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e)}return{name:`SQL`,case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:b(m,{when:e=>e.length<3}),literal:a,type:s,built_in:d},contains:[{scope:`type`,match:v(o)},y,_,h,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,g]}}function Sw(e){return e?typeof e==`string`?e:e.source:null}function Cw(e){return ww(`(?=`,e,`)`)}function ww(...e){return e.map(e=>Sw(e)).join(``)}function Tw(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function Ew(...e){return`(`+(Tw(e).capture?``:`?:`)+e.map(e=>Sw(e)).join(`|`)+`)`}var Dw=e=>ww(/\b/,e,/\w$/.test(e)?/\b/:/\B/),Ow=[`Protocol`,`Type`].map(Dw),kw=[`init`,`self`].map(Dw),Aw=[`Any`,`Self`],jw=[`actor`,`any`,`associatedtype`,`async`,`await`,/as\?/,/as!/,`as`,`borrowing`,`break`,`case`,`catch`,`class`,`consume`,`consuming`,`continue`,`convenience`,`copy`,`default`,`defer`,`deinit`,`didSet`,`distributed`,`do`,`dynamic`,`each`,`else`,`enum`,`extension`,`fallthrough`,/fileprivate\(set\)/,`fileprivate`,`final`,`for`,`func`,`get`,`guard`,`if`,`import`,`indirect`,`infix`,/init\?/,/init!/,`inout`,/internal\(set\)/,`internal`,`in`,`is`,`isolated`,`nonisolated`,`lazy`,`let`,`macro`,`mutating`,`nonmutating`,/open\(set\)/,`open`,`operator`,`optional`,`override`,`package`,`postfix`,`precedencegroup`,`prefix`,/private\(set\)/,`private`,`protocol`,/public\(set\)/,`public`,`repeat`,`required`,`rethrows`,`return`,`set`,`some`,`static`,`struct`,`subscript`,`super`,`switch`,`throws`,`throw`,/try\?/,/try!/,`try`,`typealias`,/unowned\(safe\)/,/unowned\(unsafe\)/,`unowned`,`var`,`weak`,`where`,`while`,`willSet`],Mw=[`false`,`nil`,`true`],Nw=[`assignment`,`associativity`,`higherThan`,`left`,`lowerThan`,`none`,`right`],Pw=[`#colorLiteral`,`#column`,`#dsohandle`,`#else`,`#elseif`,`#endif`,`#error`,`#file`,`#fileID`,`#fileLiteral`,`#filePath`,`#function`,`#if`,`#imageLiteral`,`#keyPath`,`#line`,`#selector`,`#sourceLocation`,`#warning`],Fw=`abs.all.any.assert.assertionFailure.debugPrint.dump.fatalError.getVaList.isKnownUniquelyReferenced.max.min.numericCast.pointwiseMax.pointwiseMin.precondition.preconditionFailure.print.readLine.repeatElement.sequence.stride.swap.swift_unboxFromSwiftValueWithType.transcode.type.unsafeBitCast.unsafeDowncast.withExtendedLifetime.withUnsafeMutablePointer.withUnsafePointer.withVaList.withoutActuallyEscaping.zip`.split(`.`),Iw=Ew(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),Lw=Ew(Iw,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Rw=ww(Iw,Lw,`*`),zw=Ew(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Bw=Ew(zw,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Vw=ww(zw,Bw,`*`),Hw=ww(/[A-Z]/,Bw,`*`),Uw=[`attached`,`autoclosure`,ww(/convention\(/,Ew(`swift`,`block`,`c`),/\)/),`discardableResult`,`dynamicCallable`,`dynamicMemberLookup`,`escaping`,`freestanding`,`frozen`,`GKInspectable`,`IBAction`,`IBDesignable`,`IBInspectable`,`IBOutlet`,`IBSegueAction`,`inlinable`,`main`,`nonobjc`,`NSApplicationMain`,`NSCopying`,`NSManaged`,ww(/objc\(/,Vw,/\)/),`objc`,`objcMembers`,`propertyWrapper`,`requires_stored_property_inits`,`resultBuilder`,`Sendable`,`testable`,`UIApplicationMain`,`unchecked`,`unknown`,`usableFromInline`,`warn_unqualified_access`],Ww=[`iOS`,`iOSApplicationExtension`,`macOS`,`macOSApplicationExtension`,`macCatalyst`,`macCatalystApplicationExtension`,`watchOS`,`watchOSApplicationExtension`,`tvOS`,`tvOSApplicationExtension`,`swift`];function Gw(e){let t={match:/\s+/,relevance:0},n=e.COMMENT(`/\\*`,`\\*/`,{contains:[`self`]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,Ew(...Ow,...kw)],className:{2:`keyword`}},a={match:ww(/\./,Ew(...jw)),relevance:0},o=jw.filter(e=>typeof e==`string`).concat([`_|0`]),s={variants:[{className:`keyword`,match:Ew(...jw.filter(e=>typeof e!=`string`).concat(Aw).map(Dw),...kw)}]},c={$pattern:Ew(/\b\w+/,/#\w+/),keyword:o.concat(Pw),literal:Mw},l=[i,a,s],u=[{match:ww(/\./,Ew(...Fw)),relevance:0},{className:`built_in`,match:ww(/\b/,Ew(...Fw),/(?=\()/)}],d={match:/->/,relevance:0},f=[d,{className:`operator`,relevance:0,variants:[{match:Rw},{match:`\\.(\\.|${Lw})+`}]}],p=`([0-9]_*)+`,m=`([0-9a-fA-F]_*)+`,h={className:`number`,relevance:0,variants:[{match:`\\b(${p})(\\.(${p}))?([eE][+-]?(${p}))?\\b`},{match:`\\b0x(${m})(\\.(${m}))?([pP][+-]?(${p}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},g=(e=``)=>({className:`subst`,variants:[{match:ww(/\\/,e,/[0\\tnr"']/)},{match:ww(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),_=(e=``)=>({className:`subst`,match:ww(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),v=(e=``)=>({className:`subst`,label:`interpol`,begin:ww(/\\/,e,/\(/),end:/\)/}),y=(e=``)=>({begin:ww(e,/"""/),end:ww(/"""/,e),contains:[g(e),_(e),v(e)]}),b=(e=``)=>({begin:ww(e,/"/),end:ww(/"/,e),contains:[g(e),v(e)]}),x={className:`string`,variants:[y(),y(`#`),y(`##`),y(`###`),b(),b(`#`),b(`##`),b(`###`)]},S=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],C={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:S},w=e=>{let t=ww(e,/\//),n=ww(/\//,e);return{begin:t,end:n,contains:[...S,{scope:`comment`,begin:`#(?!.*${n})`,end:/$/}]}},T={scope:`regexp`,variants:[w(`###`),w(`##`),w(`#`),C]},E={match:ww(/`/,Vw,/`/)},D=[E,{className:`variable`,match:/\$\d+/},{className:`variable`,match:`\\$${Bw}+`}],O=[{match:/(@|#(un)?)available/,scope:`keyword`,starts:{contains:[{begin:/\(/,end:/\)/,keywords:Ww,contains:[...f,h,x]}]}},{scope:`keyword`,match:ww(/@/,Ew(...Uw),Cw(Ew(/\(/,/\s+/)))},{scope:`meta`,match:ww(/@/,Vw)}],k={match:Cw(/\b[A-Z]/),relevance:0,contains:[{className:`type`,match:ww(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Bw,`+`)},{className:`type`,match:Hw,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:ww(/\s+&\s+/,Cw(Hw)),relevance:0}]},A={begin:/</,end:/>/,keywords:c,contains:[...r,...l,...O,d,k]};k.contains.push(A);let j={begin:/\(/,end:/\)/,relevance:0,keywords:c,contains:[`self`,{match:ww(Vw,/\s*:/),keywords:`_|0`,relevance:0},...r,T,...l,...u,...f,h,x,...D,...O,k]},M={begin:/</,end:/>/,keywords:`repeat each`,contains:[...r,k]},N={begin:/\(/,end:/\)/,keywords:c,contains:[{begin:Ew(Cw(ww(Vw,/\s*:/)),Cw(ww(Vw,/\s+/,Vw,/\s*:/))),end:/:/,relevance:0,contains:[{className:`keyword`,match:/\b_\b/},{className:`params`,match:Vw}]},...r,...l,...f,h,x,...O,k,j],endsParent:!0,illegal:/["']/},P={match:[/(func|macro)/,/\s+/,Ew(E.match,Vw,Rw)],className:{1:`keyword`,3:`title.function`},contains:[M,N,t],illegal:[/\[/,/%/]},F={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:`keyword`},contains:[M,N,t],illegal:/\[|%/},I={match:[/operator/,/\s+/,Rw],className:{1:`keyword`,3:`title`}},L={begin:[/precedencegroup/,/\s+/,Hw],className:{1:`keyword`,3:`title`},contains:[k],keywords:[...Nw,...Mw],end:/}/},R={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:`keyword`,3:`keyword`,5:`title.function`}},ee={match:[/class\b/,/\s+/,/var\b/],scope:{1:`keyword`,3:`keyword`}},z={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,Vw,/\s*/],beginScope:{1:`keyword`,3:`title.class`},keywords:c,contains:[M,...l,{begin:/:/,end:/\{/,keywords:c,contains:[{scope:`title.class.inherited`,match:Hw},...l],relevance:0}]};for(let e of x.variants){let t=e.contains.find(e=>e.label===`interpol`);t.keywords=c;let n=[...l,...u,...f,h,x,...D];t.contains=[...n,{begin:/\(/,end:/\)/,contains:[`self`,...n]}]}return{name:`Swift`,keywords:c,contains:[...r,P,F,R,ee,z,I,L,{beginKeywords:`import`,end:/$/,contains:[...r],relevance:0},T,...l,...u,...f,h,x,...D,...O,k,j]}}var Kw=`[A-Za-z$_][0-9A-Za-z$_]*`,qw=`as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using`.split(`.`),Jw=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],Yw=`Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly`.split(`.`),Xw=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],Zw=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],Qw=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],$w=[].concat(Zw,Yw,Xw);function eT(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=Kw,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);if(a=o.match(/^\s*=/)){t.ignoreMatch();return}if((a=o.match(/^\s+extends\s+/))&&a.index===0){t.ignoreMatch();return}}},s={$pattern:Kw,keyword:qw,literal:Jw,built_in:$w,"variable.language":Qw},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},f={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:s,contains:[]},p={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`xml`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},_={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0},{className:`variable`,begin:r+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),x={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},S={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,`(`,t.concat(/\./,r),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}}]},C={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...Yw,...Xw]}},w={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},T={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[x],illegal:/%/},E={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function D(e){return t.concat(`(?!`,e.join(`|`),`)`)}let O={match:t.concat(/\b/,D([...Zw,`super`,`import`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},k={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},A={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},x]},j=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,M={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(j)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[x]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:C},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),w,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,C,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},M,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:j,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},T,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[x,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},k,{match:`\\$`+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[x]},O,E,S,A,{match:/\$[(.]/}]}}function tT(e){let t=e.regex,n=eT(e),r=Kw,i=[`any`,`void`,`number`,`boolean`,`string`,`object`,`never`,`symbol`,`bigint`,`unknown`],a={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:`keyword`,3:`title.class`}},o={beginKeywords:`interface`,end:/\{/,excludeEnd:!0,keywords:{keyword:`interface extends`,built_in:i},contains:[n.exports.CLASS_REFERENCE]},s={className:`meta`,relevance:10,begin:/^\s*['"]use strict['"]/},c={$pattern:Kw,keyword:qw.concat([`type`,`interface`,`public`,`private`,`protected`,`implements`,`declare`,`abstract`,`readonly`,`enum`,`override`,`satisfies`]),literal:Jw,built_in:$w.concat(i),"variable.language":Qw},l={className:`meta`,begin:`@`+r},u=(e,t,n)=>{let r=e.contains.findIndex(e=>e.label===t);if(r===-1)throw Error(`can not find mode to replace`);e.contains.splice(r,1,n)};Object.assign(n.keywords,c),n.exports.PARAMS_CONTAINS.push(l);let d=n.contains.find(e=>e.scope===`attr`),f=Object.assign({},d,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,d,f]),n.contains=n.contains.concat([l,a,o,f]),u(n,`shebang`,e.SHEBANG()),u(n,`use_strict`,s);let p=n.contains.find(e=>e.label===`func.def`);return p.relevance=0,Object.assign(n,{name:`TypeScript`,aliases:[`ts`,`tsx`,`mts`,`cts`]}),n}function nT(e){let t=e.regex,n={className:`string`,begin:/"(""|[^/n])"C\b/},r={className:`string`,begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i=/\d{1,2}\/\d{1,2}\/\d{4}/,a=/\d{4}-\d{1,2}-\d{1,2}/,o=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,s=/\d{1,2}(:\d{1,2}){1,2}/,c={className:`literal`,variants:[{begin:t.concat(/# */,t.either(a,i),/ *#/)},{begin:t.concat(/# */,s,/ *#/)},{begin:t.concat(/# */,o,/ *#/)},{begin:t.concat(/# */,t.either(a,i),/ +/,t.either(o,s),/ *#/)}]},l={className:`number`,relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},u={className:`label`,begin:/^\w+:/},d=e.COMMENT(/'''/,/$/,{contains:[{className:`doctag`,begin:/<\/?/,end:/>/}]}),f=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:`Visual Basic .NET`,aliases:[`vb`],case_insensitive:!0,classNameAliases:{label:`symbol`},keywords:{keyword:`addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield`,built_in:`addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort`,type:`boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort`,literal:`true false nothing`},illegal:`//|\\{|\\}|endif|gosub|variant|wend|^\\$ `,contains:[n,r,c,l,u,d,f,{className:`meta`,begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:`const disable else elseif enable end externalsource if region then`},contains:[f]}]}}function rT(e){e.regex;let t=e.COMMENT(/\(;/,/;\)/);return t.contains.push(`self`),{name:`WebAssembly`,keywords:{$pattern:/[\w.]+/,keyword:`anyfunc,block,br,br_if,br_table,call,call_indirect,data,drop,elem,else,end,export,func,global.get,global.set,local.get,local.set,local.tee,get_global,get_local,global,if,import,local,loop,memory,memory.grow,memory.size,module,mut,nop,offset,param,result,return,select,set_global,set_local,start,table,tee_local,then,type,unreachable`.split(`,`)},contains:[e.COMMENT(/;;/,/$/),t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:`keyword`,3:`operator`}},{className:`variable`,begin:/\$[\w_]+/},{match:/(\((?!;)|\))+/,className:`punctuation`,relevance:0},{begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:`keyword`,3:`title.function`}},e.QUOTE_STRING_MODE,{match:/(i32|i64|f32|f64)(?!\.)/,className:`type`},{className:`keyword`,match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/},{className:`number`,relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/}]}}function iT(e){let t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:`symbol`,begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:`keyword`,begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:`string`}),c=e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:`attr`,begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:`string`,endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:`HTML, XML`,aliases:[`html`,`xhtml`,`rss`,`atom`,`xjb`,`xsd`,`xsl`,`plist`,`wsf`,`svg`],case_insensitive:!0,unicodeRegex:!0,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,c,s,o,{begin:/\[/,end:/\]/,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,contains:[a,o,c,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:`meta`,end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:`tag`,begin:/<style(?=\s|>)/,end:/>/,keywords:{name:`style`},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:[`css`,`xml`]}},{className:`tag`,begin:/<script(?=\s|>)/,end:/>/,keywords:{name:`script`},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:[`javascript`,`handlebars`,`xml`]}},{className:`tag`,begin:/<>|<\/>/},{className:`tag`,begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:`name`,begin:n,relevance:0,starts:l}]},{className:`tag`,begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:`name`,begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function aT(e){let t=`true false yes no null`,n=`[\\w#;/?:@&=+$,.~*'()[\\]]+`,r={className:`attr`,variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},i={className:`template-variable`,variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={className:`string`,relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:`char.escape`,relevance:0}]},o={className:`string`,relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},s=e.inherit(o,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),c={className:`number`,begin:`\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b`},l={end:`,`,endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},u={begin:/\{/,end:/\}/,contains:[l],illegal:`\\n`,relevance:0},d={begin:`\\[`,end:`\\]`,contains:[l],illegal:`\\n`,relevance:0},f=[r,{className:`meta`,begin:`^---\\s*$`,relevance:10},{className:`string`,begin:`[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*`},{begin:`<%[%=-]?`,end:`[%-]?%>`,subLanguage:`ruby`,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:`type`,begin:`!\\w+!`+n},{className:`type`,begin:`!<`+n+`>`},{className:`type`,begin:`!`+n},{className:`type`,begin:`!!`+n},{className:`meta`,begin:`&`+e.UNDERSCORE_IDENT_RE+`$`},{className:`meta`,begin:`\\*`+e.UNDERSCORE_IDENT_RE+`$`},{className:`bullet`,begin:`-(?=[ ]|$)`,relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},c,{className:`number`,begin:e.C_NUMBER_RE+`\\b`,relevance:0},u,d,a,o],p=[...f];return p.pop(),p.push(s),l.contains=p,{name:`YAML`,case_insensitive:!0,aliases:[`yml`],contains:f}}var oT={arduino:rC,bash:iC,c:aC,cpp:oC,csharp:sC,css:gC,diff:_C,go:vC,graphql:yC,ini:bC,java:EC,javascript:FC,json:IC,kotlin:VC,less:ZC,lua:QC,makefile:$C,markdown:ew,objectivec:tw,perl:nw,php:rw,"php-template":iw,plaintext:aw,python:ow,"python-repl":sw,r:cw,ruby:lw,rust:uw,scss:yw,shell:bw,sql:xw,swift:Gw,typescript:tT,vbnet:nT,wasm:rT,xml:iT,yaml:aT},sT=e(t(((e,t)=>{function n(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw Error(`map is read-only`)}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw Error(`set is read-only`)}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{let r=e[t],i=typeof r;(i===`object`||i===`function`)&&!Object.isFrozen(r)&&n(r)}),e}var r=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function i(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&#x27;`)}function a(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}var o=`</span>`,s=e=>!!e.scope,c=(e,{prefix:t})=>{if(e.startsWith(`language:`))return e.replace(`language:`,`language-`);if(e.includes(`.`)){let n=e.split(`.`);return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${`_`.repeat(t+1)}`)].join(` `)}return`${t}${e}`},l=class{constructor(e,t){this.buffer=``,this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=i(e)}openNode(e){if(!s(e))return;let t=c(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){s(e)&&(this.buffer+=o)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},u=(e={})=>{let t={children:[]};return Object.assign(t,e),t},d=class e{constructor(){this.rootNode=u(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let t=u({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t==`string`?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(t){typeof t!=`string`&&t.children&&(t.children.every(e=>typeof e==`string`)?t.children=[t.children.join(``)]:t.children.forEach(t=>{e._collapse(t)}))}},f=class extends d{constructor(e){super(),this.options=e}addText(e){e!==``&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){let n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new l(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function p(e){return e?typeof e==`string`?e:e.source:null}function m(e){return _(`(?=`,e,`)`)}function h(e){return _(`(?:`,e,`)*`)}function g(e){return _(`(?:`,e,`)?`)}function _(...e){return e.map(e=>p(e)).join(``)}function v(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function y(...e){return`(`+(v(e).capture?``:`?:`)+e.map(e=>p(e)).join(`|`)+`)`}function b(e){return RegExp(e.toString()+`|`).exec(``).length-1}function x(e,t){let n=e&&e.exec(t);return n&&n.index===0}var S=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function C(e,{joinWith:t}){let n=0;return e.map(e=>{n+=1;let t=n,r=p(e),i=``;for(;r.length>0;){let e=S.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),e[0][0]===`\\`&&e[1]?i+=`\\`+String(Number(e[1])+t):(i+=e[0],e[0]===`(`&&n++)}return i}).map(e=>`(${e})`).join(t)}var w=/\b\B/,T=`[a-zA-Z]\\w*`,E=`[a-zA-Z_]\\w*`,D=`\\b\\d+(\\.\\d+)?`,O=`(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)`,k=`\\b(0b[01]+)`,A=`!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~`,j=(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=_(t,/.*\b/,e.binary,/\b.*/)),a({scope:`meta`,begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{e.index!==0&&t.ignoreMatch()}},e)},M={begin:`\\\\[\\s\\S]`,relevance:0},N={scope:`string`,begin:`'`,end:`'`,illegal:`\\n`,contains:[M]},P={scope:`string`,begin:`"`,end:`"`,illegal:`\\n`,contains:[M]},F={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},I=function(e,t,n={}){let r=a({scope:`comment`,begin:e,end:t,contains:[]},n);r.contains.push({scope:`doctag`,begin:`[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)`,end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=y(`I`,`a`,`is`,`so`,`us`,`to`,`at`,`if`,`in`,`it`,`on`,/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:_(/[ ]+/,`(`,i,/[.]?[:]?([.][ ]|[ ])/,`){3}`)}),r},L=I(`//`,`$`),R=I(`/\\*`,`\\*/`),ee=I(`#`,`$`),z={scope:`number`,begin:D,relevance:0},B={scope:`number`,begin:O,relevance:0},te={scope:`number`,begin:k,relevance:0},V={scope:`regexp`,begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[M,{begin:/\[/,end:/\]/,relevance:0,contains:[M]}]},H={scope:`title`,begin:T,relevance:0},U={scope:`title`,begin:E,relevance:0},W={begin:`\\.\\s*`+E,relevance:0},ne=Object.freeze({__proto__:null,APOS_STRING_MODE:N,BACKSLASH_ESCAPE:M,BINARY_NUMBER_MODE:te,BINARY_NUMBER_RE:k,COMMENT:I,C_BLOCK_COMMENT_MODE:R,C_LINE_COMMENT_MODE:L,C_NUMBER_MODE:B,C_NUMBER_RE:O,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:ee,IDENT_RE:T,MATCH_NOTHING_RE:w,METHOD_GUARD:W,NUMBER_MODE:z,NUMBER_RE:D,PHRASAL_WORDS_MODE:F,QUOTE_STRING_MODE:P,REGEXP_MODE:V,RE_STARTERS_RE:A,SHEBANG:j,TITLE_MODE:H,UNDERSCORE_IDENT_RE:E,UNDERSCORE_TITLE_MODE:U});function G(e,t){e.input[e.index-1]===`.`&&t.ignoreMatch()}function K(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function re(e,t){t&&e.beginKeywords&&(e.begin=`\\b(`+e.beginKeywords.split(` `).join(`|`)+`)(?!\\.)(?=\\b|\\s)`,e.__beforeBegin=G,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function ie(e,t){Array.isArray(e.illegal)&&(e.illegal=y(...e.illegal))}function ae(e,t){if(e.match){if(e.begin||e.end)throw Error(`begin & end are not supported with match`);e.begin=e.match,delete e.match}}function oe(e,t){e.relevance===void 0&&(e.relevance=1)}var q=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error(`beforeMatch cannot be used with starts`);let n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=_(n.beforeMatch,m(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},se=[`of`,`and`,`for`,`in`,`not`,`or`,`if`,`then`,`parent`,`list`,`value`],ce=`keyword`;function le(e,t,n=ce){let r=Object.create(null);return typeof e==`string`?i(n,e.split(` `)):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(n){Object.assign(r,le(e[n],t,n))}),r;function i(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach(function(t){let n=t.split(`|`);r[n[0]]=[e,ue(n[0],n[1])]})}}function ue(e,t){return t?Number(t):+!de(e)}function de(e){return se.includes(e.toLowerCase())}var fe={},pe=e=>{console.error(e)},me=(e,...t)=>{console.log(`WARN: ${e}`,...t)},he=(e,t)=>{fe[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),fe[`${e}/${t}`]=!0)},ge=Error();function _e(e,t,{key:n}){let r=0,i=e[n],a={},o={};for(let e=1;e<=t.length;e++)o[e+r]=i[e],a[e+r]=!0,r+=b(t[e-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function ve(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw pe(`skip, excludeBegin, returnBegin not compatible with beginScope: {}`),ge;if(typeof e.beginScope!=`object`||e.beginScope===null)throw pe(`beginScope must be object`),ge;_e(e,e.begin,{key:`beginScope`}),e.begin=C(e.begin,{joinWith:``})}}function ye(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw pe(`skip, excludeEnd, returnEnd not compatible with endScope: {}`),ge;if(typeof e.endScope!=`object`||e.endScope===null)throw pe(`endScope must be object`),ge;_e(e,e.end,{key:`endScope`}),e.end=C(e.end,{joinWith:``})}}function be(e){e.scope&&typeof e.scope==`object`&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function xe(e){be(e),typeof e.beginScope==`string`&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope==`string`&&(e.endScope={_wrap:e.endScope}),ve(e),ye(e)}function Se(e){function t(t,n){return new RegExp(p(t),`m`+(e.case_insensitive?`i`:``)+(e.unicodeRegex?`u`:``)+(n?`g`:``))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=b(e)+1}compile(){this.regexes.length===0&&(this.exec=()=>null),this.matcherRe=t(C(this.regexes.map(e=>e[1]),{joinWith:`|`}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&e!==void 0),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),t.type===`begin`&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition()&&!(n&&n.index===this.lastIndex)){let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function i(e){let t=new r;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:`begin`})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:`end`}),e.illegal&&t.addRule(e.illegal,{type:`illegal`}),t}function o(n,r){let a=n;if(n.isCompiled)return a;[K,ae,xe,q].forEach(e=>e(n,r)),e.compilerExtensions.forEach(e=>e(n,r)),n.__beforeBegin=null,[re,ie,oe].forEach(e=>e(n,r)),n.isCompiled=!0;let s=null;return typeof n.keywords==`object`&&n.keywords.$pattern&&(n.keywords=Object.assign({},n.keywords),s=n.keywords.$pattern,delete n.keywords.$pattern),s||=/\w+/,n.keywords&&=le(n.keywords,e.case_insensitive),a.keywordPatternRe=t(s,!0),r&&(n.begin||=/\B|\b/,a.beginRe=t(a.begin),!n.end&&!n.endsWithParent&&(n.end=/\B|\b/),n.end&&(a.endRe=t(a.end)),a.terminatorEnd=p(a.end)||``,n.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(n.end?`|`:``)+r.terminatorEnd)),n.illegal&&(a.illegalRe=t(n.illegal)),n.contains||=[],n.contains=[].concat(...n.contains.map(function(e){return we(e===`self`?n:e)})),n.contains.forEach(function(e){o(e,a)}),n.starts&&o(n.starts,r),a.matcher=i(a),a}if(e.compilerExtensions||=[],e.contains&&e.contains.includes(`self`))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=a(e.classNameAliases||{}),o(e)}function Ce(e){return e?e.endsWithParent||Ce(e.starts):!1}function we(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return a(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:Ce(e)?a(e,{starts:e.starts?a(e.starts):null}):Object.isFrozen(e)?a(e):e}var Te=`11.11.1`,Ee=class extends Error{constructor(e,t){super(e),this.name=`HTMLInjectionError`,this.html=t}},De=i,Oe=a,ke=Symbol(`nomatch`),Ae=7,je=function(e){let t=Object.create(null),i=Object.create(null),a=[],o=!0,s=`Could not find the language '{}', did you forget to load/include a language module?`,c={disableAutodetect:!0,name:`Plain text`,contains:[]},l={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:`hljs-`,cssSelector:`pre code`,languages:null,__emitter:f};function u(e){return l.noHighlightRe.test(e)}function d(e){let t=e.className+` `;t+=e.parentNode?e.parentNode.className:``;let n=l.languageDetectRe.exec(t);if(n){let t=N(n[1]);return t||(me(s.replace(`{}`,n[1])),me(`Falling back to no-highlight mode for this block.`,e)),t?n[1]:`no-highlight`}return t.split(/\s+/).find(e=>u(e)||N(e))}function p(e,t,n){let r=``,i=``;typeof t==`object`?(r=e,n=t.ignoreIllegals,i=t.language):(he(`10.7.0`,`highlight(lang, code, ...args) has been deprecated.`),he(`10.7.0`,`Please use highlight(code, options) instead.
10
+ https://github.com/highlightjs/highlight.js/issues/2277`),i=e,r=t),n===void 0&&(n=!0);let a={code:r,language:i};ee(`before:highlight`,a);let o=a.result?a.result:v(a.language,a.code,n);return o.code=a.code,ee(`after:highlight`,o),o}function v(e,n,i,a){let c=Object.create(null);function u(e,t){return e.keywords[t]}function d(){if(!A.keywords){M.addText(P);return}let e=0;A.keywordPatternRe.lastIndex=0;let t=A.keywordPatternRe.exec(P),n=``;for(;t;){n+=P.substring(e,t.index);let r=D.case_insensitive?t[0].toLowerCase():t[0],i=u(A,r);if(i){let[e,a]=i;if(M.addText(n),n=``,c[r]=(c[r]||0)+1,c[r]<=Ae&&(F+=a),e.startsWith(`_`))n+=t[0];else{let n=D.classNameAliases[e]||e;m(t[0],n)}}else n+=t[0];e=A.keywordPatternRe.lastIndex,t=A.keywordPatternRe.exec(P)}n+=P.substring(e),M.addText(n)}function f(){if(P===``)return;let e=null;if(typeof A.subLanguage==`string`){if(!t[A.subLanguage]){M.addText(P);return}e=v(A.subLanguage,P,!0,j[A.subLanguage]),j[A.subLanguage]=e._top}else e=S(P,A.subLanguage.length?A.subLanguage:null);A.relevance>0&&(F+=e.relevance),M.__addSublanguage(e._emitter,e.language)}function p(){A.subLanguage==null?d():f(),P=``}function m(e,t){e!==``&&(M.startScope(t),M.addText(e),M.endScope())}function h(e,t){let n=1,r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}let r=D.classNameAliases[e[n]]||e[n],i=t[n];r?m(i,r):(P=i,d(),P=``),n++}}function g(e,t){return e.scope&&typeof e.scope==`string`&&M.openNode(D.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(m(P,D.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),P=``):e.beginScope._multi&&(h(e.beginScope,t),P=``)),A=Object.create(e,{parent:{value:A}}),A}function _(e,t,n){let i=x(e.endRe,n);if(i){if(e[`on:end`]){let n=new r(e);e[`on:end`](t,n),n.isMatchIgnored&&(i=!1)}if(i){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return _(e.parent,t,n)}function y(e){return A.matcher.regexIndex===0?(P+=e[0],1):(R=!0,0)}function b(e){let t=e[0],n=e.rule,i=new r(n),a=[n.__beforeBegin,n[`on:begin`]];for(let n of a)if(n&&(n(e,i),i.isMatchIgnored))return y(t);return n.skip?P+=t:(n.excludeBegin&&(P+=t),p(),!n.returnBegin&&!n.excludeBegin&&(P=t)),g(n,e),n.returnBegin?0:t.length}function C(e){let t=e[0],r=n.substring(e.index),i=_(A,e,r);if(!i)return ke;let a=A;A.endScope&&A.endScope._wrap?(p(),m(t,A.endScope._wrap)):A.endScope&&A.endScope._multi?(p(),h(A.endScope,e)):a.skip?P+=t:(a.returnEnd||a.excludeEnd||(P+=t),p(),a.excludeEnd&&(P=t));do A.scope&&M.closeNode(),!A.skip&&!A.subLanguage&&(F+=A.relevance),A=A.parent;while(A!==i.parent);return i.starts&&g(i.starts,e),a.returnEnd?0:t.length}function w(){let e=[];for(let t=A;t!==D;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>M.openNode(e))}let T={};function E(t,r){let a=r&&r[0];if(P+=t,a==null)return p(),0;if(T.type===`begin`&&r.type===`end`&&T.index===r.index&&a===``){if(P+=n.slice(r.index,r.index+1),!o){let t=Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=T.rule,t}return 1}if(T=r,r.type===`begin`)return b(r);if(r.type===`illegal`&&!i){let e=Error(`Illegal lexeme "`+a+`" for mode "`+(A.scope||`<unnamed>`)+`"`);throw e.mode=A,e}else if(r.type===`end`){let e=C(r);if(e!==ke)return e}if(r.type===`illegal`&&a===``)return P+=`
11
+ `,1;if(L>1e5&&L>r.index*3)throw Error(`potential infinite loop, way more iterations than matches`);return P+=a,a.length}let D=N(e);if(!D)throw pe(s.replace(`{}`,e)),Error(`Unknown language: "`+e+`"`);let O=Se(D),k=``,A=a||O,j={},M=new l.__emitter(l);w();let P=``,F=0,I=0,L=0,R=!1;try{if(D.__emitTokens)D.__emitTokens(n,M);else{for(A.matcher.considerAll();;){L++,R?R=!1:A.matcher.considerAll(),A.matcher.lastIndex=I;let e=A.matcher.exec(n);if(!e)break;let t=E(n.substring(I,e.index),e);I=e.index+t}E(n.substring(I))}return M.finalize(),k=M.toHTML(),{language:e,value:k,relevance:F,illegal:!1,_emitter:M,_top:A}}catch(t){if(t.message&&t.message.includes(`Illegal`))return{language:e,value:De(n),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:I,context:n.slice(I-100,I+100),mode:t.mode,resultSoFar:k},_emitter:M};if(o)return{language:e,value:De(n),illegal:!1,relevance:0,errorRaised:t,_emitter:M,_top:A};throw t}}function b(e){let t={value:De(e),illegal:!1,relevance:0,_top:c,_emitter:new l.__emitter(l)};return t._emitter.addText(e),t}function S(e,n){n=n||l.languages||Object.keys(t);let r=b(e),i=n.filter(N).filter(F).map(t=>v(t,e,!1));i.unshift(r);let[a,o]=i.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(N(e.language).supersetOf===t.language)return 1;if(N(t.language).supersetOf===e.language)return-1}return 0}),s=a;return s.secondBest=o,s}function C(e,t,n){let r=t&&i[t]||n;e.classList.add(`hljs`),e.classList.add(`language-${r}`)}function w(e){let t=null,n=d(e);if(u(n))return;if(ee(`before:highlightElement`,{el:e,language:n}),e.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);return}if(e.children.length>0&&(l.ignoreUnescapedHTML||(console.warn(`One of your code blocks includes unescaped HTML. This is a potentially serious security risk.`),console.warn(`https://github.com/highlightjs/highlight.js/wiki/security`),console.warn(`The element with unescaped HTML:`),console.warn(e)),l.throwUnescapedHTML))throw new Ee(`One of your code blocks includes unescaped HTML.`,e.innerHTML);t=e;let r=t.textContent,i=n?p(r,{language:n,ignoreIllegals:!0}):S(r);e.innerHTML=i.value,e.dataset.highlighted=`yes`,C(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),ee(`after:highlightElement`,{el:e,result:i,text:r})}function T(e){l=Oe(l,e)}let E=()=>{k(),he(`10.6.0`,`initHighlighting() deprecated. Use highlightAll() now.`)};function D(){k(),he(`10.6.0`,`initHighlightingOnLoad() deprecated. Use highlightAll() now.`)}let O=!1;function k(){function e(){k()}if(document.readyState===`loading`){O||window.addEventListener(`DOMContentLoaded`,e,!1),O=!0;return}document.querySelectorAll(l.cssSelector).forEach(w)}function A(n,r){let i=null;try{i=r(e)}catch(e){if(pe(`Language definition for '{}' could not be registered.`.replace(`{}`,n)),o)pe(e);else throw e;i=c}i.name||=n,t[n]=i,i.rawDefinition=r.bind(null,e),i.aliases&&P(i.aliases,{languageName:n})}function j(e){delete t[e];for(let t of Object.keys(i))i[t]===e&&delete i[t]}function M(){return Object.keys(t)}function N(e){return e=(e||``).toLowerCase(),t[e]||t[i[e]]}function P(e,{languageName:t}){typeof e==`string`&&(e=[e]),e.forEach(e=>{i[e.toLowerCase()]=t})}function F(e){let t=N(e);return t&&!t.disableAutodetect}function I(e){e[`before:highlightBlock`]&&!e[`before:highlightElement`]&&(e[`before:highlightElement`]=t=>{e[`before:highlightBlock`](Object.assign({block:t.el},t))}),e[`after:highlightBlock`]&&!e[`after:highlightElement`]&&(e[`after:highlightElement`]=t=>{e[`after:highlightBlock`](Object.assign({block:t.el},t))})}function L(e){I(e),a.push(e)}function R(e){let t=a.indexOf(e);t!==-1&&a.splice(t,1)}function ee(e,t){let n=e;a.forEach(function(e){e[n]&&e[n](t)})}function z(e){return he(`10.7.0`,`highlightBlock will be removed entirely in v12.0`),he(`10.7.0`,`Please use highlightElement now.`),w(e)}Object.assign(e,{highlight:p,highlightAuto:S,highlightAll:k,highlightElement:w,highlightBlock:z,configure:T,initHighlighting:E,initHighlightingOnLoad:D,registerLanguage:A,unregisterLanguage:j,listLanguages:M,getLanguage:N,registerAliases:P,autoDetection:F,inherit:Oe,addPlugin:L,removePlugin:R}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString=Te,e.regex={concat:_,lookahead:m,either:y,optional:g,anyNumberOfTimes:h};for(let e in ne)typeof ne[e]==`object`&&n(ne[e]);return Object.assign(e,ne),e},Me=je({});Me.newInstance=()=>je({}),t.exports=Me,Me.HighlightJS=Me,Me.default=Me}))()).default,cT={},lT=`hljs-`;function uT(e){let t=sT.newInstance();return e&&a(e),{highlight:n,highlightAuto:r,listLanguages:i,register:a,registerAlias:o,registered:s};function n(e,n,r){let i=r||cT,a=typeof i.prefix==`string`?i.prefix:lT;if(!t.getLanguage(e))throw Error("Unknown language: `"+e+"` is not registered");t.configure({__emitter:dT,classPrefix:a});let o=t.highlight(n,{ignoreIllegals:!0,language:e});if(o.errorRaised)throw Error("Could not highlight with `Highlight.js`",{cause:o.errorRaised});let s=o._emitter.root,c=s.data;return c.language=o.language,c.relevance=o.relevance,s}function r(e,r){let a=(r||cT).subset||i(),o=-1,s=0,c;for(;++o<a.length;){let i=a[o];if(!t.getLanguage(i))continue;let l=n(i,e,r);l.data&&l.data.relevance!==void 0&&l.data.relevance>s&&(s=l.data.relevance,c=l)}return c||{type:`root`,children:[],data:{language:void 0,relevance:s}}}function i(){return t.listLanguages()}function a(e,n){if(typeof e==`string`)t.registerLanguage(e,n);else{let n;for(n in e)Object.hasOwn(e,n)&&t.registerLanguage(n,e[n])}}function o(e,n){if(typeof e==`string`)t.registerAliases(typeof n==`string`?n:[...n],{languageName:e});else{let n;for(n in e)if(Object.hasOwn(e,n)){let r=e[n];t.registerAliases(typeof r==`string`?r:[...r],{languageName:n})}}}function s(e){return!!t.getLanguage(e)}}var dT=class{constructor(e){this.options=e,this.root={type:`root`,children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(e){if(e===``)return;let t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&n.type===`text`?n.value+=e:t.children.push({type:`text`,value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,t){let n=this.stack[this.stack.length-1],r=e.root.children;t?n.children.push({type:`element`,tagName:`span`,properties:{className:[t]},children:r}):n.children.push(...r)}openNode(e){let t=this,n=e.split(`.`).map(function(e,n){return n?e+`_`.repeat(n):t.options.classPrefix+e}),r=this.stack[this.stack.length-1],i={type:`element`,tagName:`span`,properties:{className:n},children:[]};r.children.push(i),this.stack.push(i)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return``}},fT=e(t(((e,t)=>{(function(e){let n=`(0?\\d+|0x[a-f0-9]+)`,r={fourOctet:RegExp(`^${n}\\.${n}\\.${n}\\.${n}$`,`i`),threeOctet:RegExp(`^${n}\\.${n}\\.${n}$`,`i`),twoOctet:RegExp(`^${n}\\.${n}$`,`i`),longValue:RegExp(`^${n}$`,`i`)},i=RegExp(`^0[0-7]+$`,`i`),a=RegExp(`^0x[a-f0-9]+$`,`i`),o=`%[0-9a-z]{1,}`,s=`(?:[0-9a-f]+::?)+`,c={zoneIndex:new RegExp(o,`i`),native:RegExp(`^(::)?(${s})?([0-9a-f]+)?(::)?(${o})?$`,`i`),deprecatedTransitional:RegExp(`^(?:::)(${n}\\.${n}\\.${n}\\.${n}(${o})?)$`,`i`),transitional:RegExp(`^((?:${s})|(?:::)(?:${s})?)${n}\\.${n}\\.${n}\\.${n}(${o})?$`,`i`)};function l(e,t){if(e.indexOf(`::`)!==e.lastIndexOf(`::`))return null;let n=0,r=-1,i=(e.match(c.zoneIndex)||[])[0],a,o;for(i&&(i=i.substring(1),e=e.replace(/%.+$/,``));(r=e.indexOf(`:`,r+1))>=0;)n++;if(e.substr(0,2)===`::`&&n--,e.substr(-2,2)===`::`&&n--,n>t)return null;for(o=t-n,a=`:`;o--;)a+=`0:`;return e=e.replace(`::`,a),e[0]===`:`&&(e=e.slice(1)),e[e.length-1]===`:`&&(e=e.slice(0,-1)),t=(function(){let t=e.split(`:`),n=[];for(let e=0;e<t.length;e++)n.push(parseInt(t[e],16));return n})(),{parts:t,zoneId:i}}function u(e,t,n,r){if(e.length!==t.length)throw Error(`ipaddr: cannot match CIDR for objects with different lengths`);let i=0,a;for(;r>0;){if(a=n-r,a<0&&(a=0),e[i]>>a!==t[i]>>a)return!1;r-=n,i+=1}return!0}function d(e){if(a.test(e))return parseInt(e,16);if(e[0]===`0`&&!isNaN(parseInt(e[1],10))){if(i.test(e))return parseInt(e,8);throw Error(`ipaddr: cannot parse ${e} as octal`)}return parseInt(e,10)}function f(e,t){for(;e.length<t;)e=`0${e}`;return e}let p={};p.IPv4=(function(){function e(e){if(e.length!==4)throw Error(`ipaddr: ipv4 octet count should be 4`);let t,n;for(t=0;t<e.length;t++)if(n=e[t],!(0<=n&&n<=255))throw Error(`ipaddr: ipv4 octet should fit in 8 bits`);this.octets=e}return e.prototype.SpecialRanges={unspecified:[[new e([0,0,0,0]),8]],broadcast:[[new e([255,255,255,255]),32]],multicast:[[new e([224,0,0,0]),4]],linkLocal:[[new e([169,254,0,0]),16]],loopback:[[new e([127,0,0,0]),8]],carrierGradeNat:[[new e([100,64,0,0]),10]],private:[[new e([10,0,0,0]),8],[new e([172,16,0,0]),12],[new e([192,168,0,0]),16]],reserved:[[new e([192,0,0,0]),24],[new e([192,0,2,0]),24],[new e([192,88,99,0]),24],[new e([198,18,0,0]),15],[new e([198,51,100,0]),24],[new e([203,0,113,0]),24],[new e([240,0,0,0]),4]],as112:[[new e([192,175,48,0]),24],[new e([192,31,196,0]),24]],amt:[[new e([192,52,193,0]),24]]},e.prototype.kind=function(){return`ipv4`},e.prototype.match=function(e,t){let n;if(t===void 0&&(n=e,e=n[0],t=n[1]),e.kind()!==`ipv4`)throw Error(`ipaddr: cannot match ipv4 address with non-ipv4 one`);return u(this.octets,e.octets,8,t)},e.prototype.prefixLengthFromSubnetMask=function(){let e=0,t=!1,n={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0},r,i,a;for(r=3;r>=0;--r)if(i=this.octets[r],i in n){if(a=n[i],t&&a!==0)return null;a!==8&&(t=!0),e+=a}else return null;return 32-e},e.prototype.range=function(){return p.subnetMatch(this,this.SpecialRanges)},e.prototype.toByteArray=function(){return this.octets.slice(0)},e.prototype.toIPv4MappedAddress=function(){return p.IPv6.parse(`::ffff:${this.toString()}`)},e.prototype.toNormalizedString=function(){return this.toString()},e.prototype.toString=function(){return this.octets.join(`.`)},e})(),p.IPv4.broadcastAddressFromCIDR=function(e){try{let t=this.parseCIDR(e),n=t[0].toByteArray(),r=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],a=0;for(;a<4;)i.push(parseInt(n[a],10)|parseInt(r[a],10)^255),a++;return new this(i)}catch{throw Error(`ipaddr: the address does not have IPv4 CIDR format`)}},p.IPv4.isIPv4=function(e){return this.parser(e)!==null},p.IPv4.isValid=function(e){try{return new this(this.parser(e)),!0}catch{return!1}},p.IPv4.isValidCIDR=function(e){try{return this.parseCIDR(e),!0}catch{return!1}},p.IPv4.isValidFourPartDecimal=function(e){return!!(p.IPv4.isValid(e)&&e.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},p.IPv4.isValidCIDRFourPartDecimal=function(e){let t=e.match(/^(.+)\/(\d+)$/);return!p.IPv4.isValidCIDR(e)||!t?!1:p.IPv4.isValidFourPartDecimal(t[1])},p.IPv4.networkAddressFromCIDR=function(e){let t,n,r,i,a;try{for(t=this.parseCIDR(e),r=t[0].toByteArray(),a=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],n=0;n<4;)i.push(parseInt(r[n],10)&parseInt(a[n],10)),n++;return new this(i)}catch{throw Error(`ipaddr: the address does not have IPv4 CIDR format`)}},p.IPv4.parse=function(e){let t=this.parser(e);if(t===null)throw Error(`ipaddr: string is not formatted like an IPv4 Address`);return new this(t)},p.IPv4.parseCIDR=function(e){let t;if(t=e.match(/^(.+)\/(\d+)$/)){let e=parseInt(t[2]);if(e>=0&&e<=32){let n=[this.parse(t[1]),e];return Object.defineProperty(n,`toString`,{value:function(){return this.join(`/`)}}),n}}throw Error(`ipaddr: string is not formatted like an IPv4 CIDR range`)},p.IPv4.parser=function(e){let t,n,i;if(t=e.match(r.fourOctet))return(function(){let e=t.slice(1,6),r=[];for(let t=0;t<e.length;t++)n=e[t],r.push(d(n));return r})();if(t=e.match(r.longValue)){if(i=d(t[1]),i>4294967295||i<0)throw Error(`ipaddr: address outside defined range`);return(function(){let e=[],t;for(t=0;t<=24;t+=8)e.push(i>>t&255);return e})().reverse()}else if(t=e.match(r.twoOctet))return(function(){let e=t.slice(1,4),n=[];if(i=d(e[1]),i>16777215||i<0)throw Error(`ipaddr: address outside defined range`);return n.push(d(e[0])),n.push(i>>16&255),n.push(i>>8&255),n.push(i&255),n})();else if(t=e.match(r.threeOctet))return(function(){let e=t.slice(1,5),n=[];if(i=d(e[2]),i>65535||i<0)throw Error(`ipaddr: address outside defined range`);return n.push(d(e[0])),n.push(d(e[1])),n.push(i>>8&255),n.push(i&255),n})();else return null},p.IPv4.subnetMaskFromPrefixLength=function(e){if(e=parseInt(e),e<0||e>32)throw Error(`ipaddr: invalid IPv4 prefix length`);let t=[0,0,0,0],n=0,r=Math.floor(e/8);for(;n<r;)t[n]=255,n++;return r<4&&(t[r]=2**(e%8)-1<<8-e%8),new this(t)},p.IPv6=(function(){function e(e,t){let n,r;if(e.length===16)for(this.parts=[],n=0;n<=14;n+=2)this.parts.push(e[n]<<8|e[n+1]);else if(e.length===8)this.parts=e;else throw Error(`ipaddr: ipv6 part count should be 8 or 16`);for(n=0;n<this.parts.length;n++)if(r=this.parts[n],!(0<=r&&r<=65535))throw Error(`ipaddr: ipv6 part should fit in 16 bits`);t&&(this.zoneId=t)}return e.prototype.SpecialRanges={unspecified:[new e([0,0,0,0,0,0,0,0]),128],linkLocal:[new e([65152,0,0,0,0,0,0,0]),10],multicast:[new e([65280,0,0,0,0,0,0,0]),8],loopback:[new e([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new e([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new e([0,0,0,0,0,65535,0,0]),96],deprecatedSiteLocal:[new e([65216,0,0,0,0,0,0,0]),10],discard:[new e([256,0,0,0,0,0,0,0]),64],rfc6145:[new e([0,0,0,0,65535,0,0,0]),96],rfc6052:[[new e([100,65435,0,0,0,0,0,0]),96],[new e([100,65435,1,0,0,0,0,0]),48]],"6to4":[new e([8194,0,0,0,0,0,0,0]),16],teredo:[new e([8193,0,0,0,0,0,0,0]),32],benchmarking:[new e([8193,2,0,0,0,0,0,0]),48],amt:[new e([8193,3,0,0,0,0,0,0]),32],as112v6:[[new e([8193,4,274,0,0,0,0,0]),48],[new e([9760,79,32768,0,0,0,0,0]),48]],deprecatedOrchid:[new e([8193,16,0,0,0,0,0,0]),28],orchid2:[new e([8193,32,0,0,0,0,0,0]),28],droneRemoteIdProtocolEntityTags:[new e([8193,48,0,0,0,0,0,0]),28],segmentRouting:[new e([24320,0,0,0,0,0,0,0]),16],reserved:[[new e([8193,0,0,0,0,0,0,0]),23],[new e([8193,3512,0,0,0,0,0,0]),32],[new e([16383,0,0,0,0,0,0,0]),20]]},e.prototype.isIPv4MappedAddress=function(){return this.range()===`ipv4Mapped`},e.prototype.kind=function(){return`ipv6`},e.prototype.match=function(e,t){let n;if(t===void 0&&(n=e,e=n[0],t=n[1]),e.kind()!==`ipv6`)throw Error(`ipaddr: cannot match ipv6 address with non-ipv6 one`);return u(this.parts,e.parts,16,t)},e.prototype.prefixLengthFromSubnetMask=function(){let e=0,t=!1,n={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0},r,i;for(let a=7;a>=0;--a)if(r=this.parts[a],r in n){if(i=n[r],t&&i!==0)return null;i!==16&&(t=!0),e+=i}else return null;return 128-e},e.prototype.range=function(){return p.subnetMatch(this,this.SpecialRanges)},e.prototype.toByteArray=function(){let e,t=[],n=this.parts;for(let r=0;r<n.length;r++)e=n[r],t.push(e>>8),t.push(e&255);return t},e.prototype.toFixedLengthString=function(){let e=(function(){let e=[];for(let t=0;t<this.parts.length;t++)e.push(f(this.parts[t].toString(16),4));return e}).call(this).join(`:`),t=``;return this.zoneId&&(t=`%${this.zoneId}`),e+t},e.prototype.toIPv4Address=function(){if(!this.isIPv4MappedAddress())throw Error(`ipaddr: trying to convert a generic ipv6 address to ipv4`);let e=this.parts.slice(-2),t=e[0],n=e[1];return new p.IPv4([t>>8,t&255,n>>8,n&255])},e.prototype.toNormalizedString=function(){let e=(function(){let e=[];for(let t=0;t<this.parts.length;t++)e.push(this.parts[t].toString(16));return e}).call(this).join(`:`),t=``;return this.zoneId&&(t=`%${this.zoneId}`),e+t},e.prototype.toRFC5952String=function(){let e=/((^|:)(0(:|$)){2,})/g,t=this.toNormalizedString(),n=0,r=-1,i;for(;i=e.exec(t);)i[0].length>r&&(n=i.index,r=i[0].length);return r<0?t:`${t.substring(0,n)}::${t.substring(n+r)}`},e.prototype.toString=function(){return this.toRFC5952String()},e})(),p.IPv6.broadcastAddressFromCIDR=function(e){try{let t=this.parseCIDR(e),n=t[0].toByteArray(),r=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],a=0;for(;a<16;)i.push(parseInt(n[a],10)|parseInt(r[a],10)^255),a++;return new this(i)}catch(e){throw Error(`ipaddr: the address does not have IPv6 CIDR format (${e})`)}},p.IPv6.isIPv6=function(e){return this.parser(e)!==null},p.IPv6.isValid=function(e){if(typeof e==`string`&&e.indexOf(`:`)===-1)return!1;try{let t=this.parser(e);return new this(t.parts,t.zoneId),!0}catch{return!1}},p.IPv6.isValidCIDR=function(e){if(typeof e==`string`&&e.indexOf(`:`)===-1)return!1;try{return this.parseCIDR(e),!0}catch{return!1}},p.IPv6.networkAddressFromCIDR=function(e){let t,n,r,i,a;try{for(t=this.parseCIDR(e),r=t[0].toByteArray(),a=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],n=0;n<16;)i.push(parseInt(r[n],10)&parseInt(a[n],10)),n++;return new this(i)}catch(e){throw Error(`ipaddr: the address does not have IPv6 CIDR format (${e})`)}},p.IPv6.parse=function(e){let t=this.parser(e);if(t.parts===null)throw Error(`ipaddr: string is not formatted like an IPv6 Address`);return new this(t.parts,t.zoneId)},p.IPv6.parseCIDR=function(e){let t,n,r;if((n=e.match(/^(.+)\/(\d+)$/))&&(t=parseInt(n[2]),t>=0&&t<=128))return r=[this.parse(n[1]),t],Object.defineProperty(r,`toString`,{value:function(){return this.join(`/`)}}),r;throw Error(`ipaddr: string is not formatted like an IPv6 CIDR range`)},p.IPv6.parser=function(e){let t,n,r,i,a,o;if(r=e.match(c.deprecatedTransitional))return this.parser(`::ffff:${r[1]}`);if(c.native.test(e))return l(e,8);if((r=e.match(c.transitional))&&(o=r[6]||``,t=r[1],r[1].endsWith(`::`)||(t=t.slice(0,-1)),t=l(t+o,6),t.parts)){for(a=[parseInt(r[2]),parseInt(r[3]),parseInt(r[4]),parseInt(r[5])],n=0;n<a.length;n++)if(i=a[n],!(0<=i&&i<=255))return null;return t.parts.push(a[0]<<8|a[1]),t.parts.push(a[2]<<8|a[3]),{parts:t.parts,zoneId:t.zoneId}}return null},p.IPv6.subnetMaskFromPrefixLength=function(e){if(e=parseInt(e),e<0||e>128)throw Error(`ipaddr: invalid IPv6 prefix length`);let t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],n=0,r=Math.floor(e/8);for(;n<r;)t[n]=255,n++;return r<16&&(t[r]=2**(e%8)-1<<8-e%8),new this(t)},p.fromByteArray=function(e){let t=e.length;if(t===4)return new p.IPv4(e);if(t===16)return new p.IPv6(e);throw Error(`ipaddr: the binary input is neither an IPv6 nor IPv4 address`)},p.isValid=function(e){return p.IPv6.isValid(e)||p.IPv4.isValid(e)},p.isValidCIDR=function(e){return p.IPv6.isValidCIDR(e)||p.IPv4.isValidCIDR(e)},p.parse=function(e){if(p.IPv6.isValid(e))return p.IPv6.parse(e);if(p.IPv4.isValid(e))return p.IPv4.parse(e);throw Error(`ipaddr: the address has neither IPv6 nor IPv4 format`)},p.parseCIDR=function(e){try{return p.IPv6.parseCIDR(e)}catch{try{return p.IPv4.parseCIDR(e)}catch{throw Error(`ipaddr: the address has neither IPv6 nor IPv4 CIDR format`)}}},p.process=function(e){let t=this.parse(e);return t.kind()===`ipv6`&&t.isIPv4MappedAddress()?t.toIPv4Address():t},p.subnetMatch=function(e,t,n){let r,i,a,o;for(i in n??=`unicast`,t)if(Object.prototype.hasOwnProperty.call(t,i)){for(a=t[i],a[0]&&!(a[0]instanceof Array)&&(a=[a]),r=0;r<a.length;r++)if(o=a[r],e.kind()===o[0].kind()&&e.match.apply(e,o))return i}return n},t!==void 0&&t.exports?t.exports=p:e.ipaddr=p})(e)}))(),1),pT=new Set([`href`,`src`,`srcset`,`poster`,`formaction`,`xlink:href`]),mT=new Set([`aria-label`,`aria-description`,`title`]),hT=/(?:[a-zA-Z][a-zA-Z0-9+.-]*:\/\/[^\s"'<>]+|(?:javascript|vbscript|data|file|chrome-extension|moz-extension):[^\s"'<>]*)/gi,gT=/url\s*\(\s*['"]?\s*(?:javascript|vbscript|data)\s*:/i,_T=/\bexpression\s*\(/i,vT=/(oklch|oklab|lab|lch)\(\s*([^)]+)\s*\)/gi,yT=`data-clipboard-omit`;function bT(e){let t=e.trim();return t===``||Ot.test(t)?!0:ee(t)}function xT(e){let t=e.split(`,`);for(let e of t){let t=e.trim();if(t!==``&&!bT(t.split(/\s+/)[0]??``))return!1}return!0}function ST(e,t){let n=!1,r=e.replace(hT,e=>bT(e)?e:(n=!0,`[blocked]`));return t?.reportNoChange&&!n?null:r}function CT(e){let t=e.toLowerCase();return t.length>=3&&t.startsWith(`on`)}function wT(e){return e.length>1e4||gT.test(e)||_T.test(e)?``:e}function TT(e){let t=e.indexOf(`/`),n=(t===-1?e:e.slice(0,t)).trim(),r=t===-1?null:e.slice(t+1).trim(),i=n.split(/[\s,]+/).filter(e=>e.length>0);if(i.length!==3)return null;let a=ET(i[0],1),o=ET(i[1],1),s=ET(i[2],1);if(Number.isNaN(a)||Number.isNaN(o)||Number.isNaN(s))return null;let c=null;if(r!==null){if(c=ET(r,1),Number.isNaN(c))return null;c=Math.max(0,Math.min(1,c))}return[a,o,s,c]}function ET(e,t){return e===`none`?0:e.endsWith(`%`)?Number.parseFloat(e.slice(0,-1))/100*t:Number.parseFloat(e)}function DT(e,t,n){let r=n*Math.PI/180;return[e,t*Math.cos(r),t*Math.sin(r)]}function OT(e,t,n){let r=e+.3963377774*t+.2158037573*n,i=e-.1055613458*t-.0638541728*n,a=e-.0894841775*t-1.291485548*n,o=r**3,s=i**3,c=a**3;return[4.0767416621*o-3.3077115913*s+.2309699292*c,-1.2684380046*o+2.6097574011*s-.3413193965*c,-.0041960863*o-.7034186147*s+1.707614701*c]}function kT(e){return e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055}function AT(e){return Number.isFinite(e)?Math.max(0,Math.min(255,Math.round(e*255))):0}function jT(e,t,n,r){let i=e.toLowerCase(),a,o,s;i===`oklch`?[a,o,s]=DT(t,n,r):i===`oklab`?[a,o,s]=[t,n,r]:i===`lch`?[a,o,s]=DT(t/100,n/100,r):[a,o,s]=[t/100,n/100,r/100];let[c,l,u]=OT(a,o,s);return[AT(kT(c)),AT(kT(l)),AT(kT(u))]}function MT(e){if(e.length>1e4)return e;let t=e.toLowerCase();return!t.includes(`oklch`)&&!t.includes(`oklab`)&&!t.includes(`lab`)&&!t.includes(`lch`)?e:e.replace(vT,(e,t,n)=>{let r=TT(n);if(r===null)return e;let[i,a,o,s]=r,[c,l,u]=jT(t,i,a,o);return s===null?`rgb(${c}, ${l}, ${u})`:`rgba(${c}, ${l}, ${u}, ${s})`})}var NT=new Set([`mailto`,`tel`,`sms`,`ftp`,`ftps`]);function PT(e){let t=e.trim();if(t.startsWith(`#`))return{portable:!0};if(ee(t))return t.startsWith(`/`)?{portable:!1,reason:`server-absolute`}:{portable:!1,reason:`relative`};let n=new URL(t),r=n.protocol.slice(0,-1).toLowerCase();if(NT.has(r))return{portable:!0};if(r!==`http`&&r!==`https`)return{portable:!1,reason:`other`};let i=n.hostname.toLowerCase();if(i===``)return{portable:!1,reason:`other`};let a=i.endsWith(`.`)?i.slice(0,-1):i;if(a===`localhost`||a.endsWith(`.localhost`))return{portable:!1,reason:`localhost`};let o=i.startsWith(`[`)&&i.endsWith(`]`)?i.slice(1,-1):i;return fT.IPv4.isValid(o)?fT.IPv4.parse(o).range()===`unicast`?{portable:!0}:{portable:!1,reason:`private-ip`}:fT.IPv6.isValid(o)?fT.IPv6.parse(o).range()===`unicast`?{portable:!0}:{portable:!1,reason:`private-ip`}:{portable:!0}}function FT(e){if(!e)return`plaintext`;if(e.types.includes(`vscode-editor-data`))return`vscode`;if(e.types.includes(`text/x-gfm`))return`gfm`;let t=e.getData(`text/html`);return t?/data-pm-slice/i.test(t)?`pm-origin`:/docs-internal-guid-/i.test(t)?`gdocs`:/xmlns:o="urn:schemas-microsoft-com:office/i.test(t)||/<meta[^>]*Generator[^>]*Microsoft Word/i.test(t)?`word`:/class="gmail_|class='gmail_/i.test(t)?`gmail`:/notionvc:/i.test(t)?`notion`:/Cocoa HTML Writer/i.test(t)?`apple`:/c-message_kit__|c-message__|c-compose/i.test(t)?`slack`:/google-sheets-html-origin/i.test(t)?`gsheets`:/data-hovercard-type=/i.test(t)?`github`:`generic`:`plaintext`}var IT=250,LT=100;function RT(e,t){let n=performance.now()-e;n<(t.op===`paste`||t.op===`drop`?IT:LT)||console.warn(JSON.stringify({event:`clipboard-slow-op`,op:t.op,view:t.view,elapsedMs:Math.round(n),branch:t.branch,source:t.source,...t.htmlBytes==null?{}:{htmlBytes:t.htmlBytes}}))}function zT(e){console.warn(JSON.stringify({event:`clipboard-source-detected`,view:e.view,source:e.source,branch:e.branch}))}function BT(e){console.warn(JSON.stringify({event:`clipboard-html-conversion-failed`,view:e.view,stage:e.stage,source:e.source,...e.branch==null?{}:{branch:e.branch},reason:e.reason,...e.errorClass==null?{}:{errorClass:e.errorClass},...e.htmlBytes==null?{}:{htmlBytes:e.htmlBytes}}))}function VT(e){console.warn(JSON.stringify({event:`clipboard-serialize-failed`,view:e.view,kind:e.kind,reason:e.reason}))}function HT(e){console.warn(JSON.stringify({event:`clipboard-walker-fallback-fired`,descriptor:e.descriptor,view:e.view}))}function UT(e){console.warn(JSON.stringify({event:`clipboard-walker-non-portable-render-source-emitted`,descriptor:e.descriptor,view:e.view}))}function WT(e){console.warn(JSON.stringify({event:`clipboard-walker-url-blocked`,view:e.view,attr:e.attr,reason:e.reason}))}function GT(e){console.warn(JSON.stringify({event:`clipboard-walker-url-source-emitted`,view:e.view,tag:e.tag,class:e.class,reason:e.reason}))}function KT(e){console.warn(JSON.stringify({event:`clipboard-walker-url-classifier-failed`,view:e.view,tag:e.tag,phase:e.phase,...e.errorClass==null?{}:{errorClass:e.errorClass}}))}var qT=new Set;function JT(e){qT.has(e.lucideClass)||(qT.add(e.lucideClass),console.warn(JSON.stringify({event:`clipboard-walker-unmapped-lucide-detected`,view:e.view,lucideClass:e.lucideClass})))}function YT(e){console.warn(JSON.stringify({event:`clipboard-chunked-insert-failed`,view:e.view,chunksCompleted:e.chunksCompleted,totalChunks:e.totalChunks,bytesWritten:e.bytesWritten,bytesRemaining:e.bytesRemaining,reason:e.reason}))}function XT(e){if(e instanceof P)return`HtmlPayloadTooLargeError`;if(e instanceof Ft)return`ChunkedInsertError`;if(e instanceof Error&&e.name&&e.name!==`Error`)return e.name}var ZT=/^```/m,QT=/^#{1,6} /m,$T=/^[-*+] /m,eE=/^\d+[.)] /m,tE=/\[[^\]\n]+\]\([^)\n]+\)/,nE=/^\|.*\|$/m,rE=/^\|?\s*(:?-+:?)(\s*\|\s*:?-+:?)+\s*\|?$/m,iE=/\$\$[\s\S]+?\$\$/,aE=/^> /m,oE=/`[^`\n]+`/,sE=/\*\*[^*\n]+\*\*/,cE=/__[^_\n]+__/,lE=/~~[^~\n]+~~/,uE=/<[A-Z]\w*[\s/>]/,dE=/<[a-z]+\s+\w+="[^"]*"/,fE=/<[a-z]+>[^<\n]*<\/[a-z]+>/,pE=/^.+\n[=-]+$/m,mE=/(^|\s)\*[^*\s\n][^*\n]*[^*\s\n]\*(\s|$)/m,hE=/(^|\s)_[^_\s\n][^_\n]*[^_\s\n]_(\s|$)/m,gE=/^~~~/m,_E=/\\[\\`*_{}[\]<>()#+\-.!|]/,vE=256*1024,yE=32*1024;function bE(e){return e.length<=vE?e:`${e.slice(0,yE)}\n${e.slice(-yE)}`}function xE(e){if(!e)return!1;let t=bE(e),n=0;ZT.test(t)&&n++,QT.test(t)&&n++,$T.test(t)&&n++,eE.test(t)&&n++,tE.test(t)&&n++,nE.test(t)&&rE.test(t)&&n++,iE.test(t)&&n++,aE.test(t)&&n++,oE.test(t)&&n++,(sE.test(t)||cE.test(t)||lE.test(t))&&n++,uE.test(t)&&n++,dE.test(t)&&n++,fE.test(t)&&n++,pE.test(t)&&n++,mE.test(t)&&n++,hE.test(t)&&n++,gE.test(t)&&n++,_E.test(t)&&n++;let r=t.split(`
12
+ `).length,i=Math.min(3,Math.floor(r/5));return n>=Math.max(1,i)}var SE=3e3,CE=new Map;function wE(e,t=`Pasted as plain text — some formatting could not be converted.`){let n=Date.now();return n-(CE.get(e)??0)<SE?!1:(CE.set(e,n),vr.error(t),!0)}var TE=!1,EE=!1;function DE(e){TE=e.shiftKey}function OE(e){(e.key===`Shift`||!e.shiftKey)&&(TE=!1)}function kE(){TE=!1}function AE(){EE||typeof window>`u`||(window.addEventListener(`keydown`,DE,!0),window.addEventListener(`keyup`,OE,!0),window.addEventListener(`blur`,kE,!0),EE=!0)}function jE(){AE()}function ME(){return AE(),TE}function NE(e){return ME()?!0:e.shiftKey===!0}function PE(e){return(t,n)=>IE(t,n,`paste`,e)}function FE(e){return(t,n)=>n.dataTransfer?.files&&n.dataTransfer.files.length>0?!1:IE(t,n,`drop`,e)}function IE(e,t,n,r){let i=n===`paste`?t.clipboardData:t.dataTransfer;if(!i||i.types.length===0)return!1;let a=performance.now(),o=FT(i),s=i.getData(`text/plain`),c=i.getData(`text/html`);if(LE(t,n))return s&&zE(e,s),zT({view:`wysiwyg`,branch:`shift`,source:o}),RT(a,{op:n,view:`wysiwyg`,branch:`shift`,source:o}),!0;if(RE(e))return s&&zE(e,s),zT({view:`wysiwyg`,branch:`codeblock`,source:o}),RT(a,{op:n,view:`wysiwyg`,branch:`codeblock`,source:o}),!0;let l=i.getData(`vscode-editor-data`);if(l&&s&&VE(e,l,s,o))return zT({view:`wysiwyg`,branch:`A`,source:o}),RT(a,{op:n,view:`wysiwyg`,branch:`A`,source:o}),!0;let u=i.getData(`text/x-gfm`);return u&&HE(e,u,r,`B`,o)||s&&c&&xE(s)&&HE(e,s,r,`B`,o)?(zT({view:`wysiwyg`,branch:`B`,source:o}),RT(a,{op:n,view:`wysiwyg`,branch:`B`,source:o}),!0):c&&/data-pm-slice/i.test(c)?(zT({view:`wysiwyg`,branch:`C`,source:o}),RT(a,{op:n,view:`wysiwyg`,branch:`C`,source:o}),!1):c&&UE(e,c,r,o)?(zT({view:`wysiwyg`,branch:`D`,source:o}),RT(a,{op:n,view:`wysiwyg`,branch:`D`,source:o,htmlBytes:c.length}),!0):s?xE(s)&&HE(e,s,r,`E`,`markdown-text`)?(zT({view:`wysiwyg`,branch:`E`,source:`markdown-text`}),RT(a,{op:n,view:`wysiwyg`,branch:`E`,source:`markdown-text`}),!0):(zE(e,s),zT({view:`wysiwyg`,branch:`E`,source:`plaintext`}),RT(a,{op:n,view:`wysiwyg`,branch:`E`,source:`plaintext`}),!0):!1}function LE(e,t){return t===`paste`?NE(e):e.shiftKey===!0}function RE(e){let{$from:t}=e.state.selection;for(let e=t.depth;e>=0;e--)if(t.node(e).type.name===`codeBlock`)return!0;return!1}function zE(e,t){let{schema:n,tr:r}=e.state;t&&e.dispatch(r.replaceSelectionWith(n.text(t)).scrollIntoView())}var BE=/^[A-Za-z0-9_+-]+$/;function VE(e,t,n,r){try{let r=JSON.parse(t),i=typeof r.mode==`string`?r.mode:``,a=BE.test(i)?i:``,o=e.state.schema.nodes.codeBlock;if(!o)return!1;let s=o.create({language:a},n?e.state.schema.text(n):null);return e.dispatch(e.state.tr.replaceSelectionWith(s).scrollIntoView()),!0}catch(e){return BT({view:`wysiwyg`,stage:`branchA`,source:r,branch:`A`,reason:e?.message??`unknown`,errorClass:XT(e)}),!1}}function HE(e,t,n,r,i){let a;try{a=n.mdManager.parse(t)}catch(e){return BT({view:`wysiwyg`,stage:`mdManagerParse`,source:i,branch:r,reason:e?.message??`unknown`,errorClass:XT(e)}),!1}return WE(e,a,i,r)}function UE(e,t,n,r){let i;try{i=ue(t)}catch(e){return BT({view:`wysiwyg`,stage:`htmlToMdast`,source:r,branch:`D`,reason:e?.message??`unknown`,errorClass:XT(e),htmlBytes:t.length}),wE(`wysiwyg`),!1}let a;try{a=u(i)}catch(e){return BT({view:`wysiwyg`,stage:`mdastToMarkdown`,source:r,branch:`D`,reason:e?.message??`unknown`,errorClass:XT(e),htmlBytes:t.length}),wE(`wysiwyg`),!1}let o;try{o=n.mdManager.parse(a)}catch(e){return BT({view:`wysiwyg`,stage:`mdManagerParse`,source:r,branch:`D`,reason:e?.message??`unknown`,errorClass:XT(e),htmlBytes:t.length}),wE(`wysiwyg`),!1}return WE(e,o,r,`D`,t.length)}function WE(e,t,n,r,i){try{let n=e.state.schema.nodeFromJSON(t);return e.dispatch(e.state.tr.replaceSelection(n.slice(0,n.content.size)).scrollIntoView()),!0}catch(e){return BT({view:`wysiwyg`,stage:`applyJsonSlice`,source:n,branch:r,reason:e?.message??`unknown`,errorClass:XT(e),...i==null?{}:{htmlBytes:i}}),!1}}function GE(e){if(e.type.name!==`jsxComponent`)return null;let t=e.attrs.componentName,n=e.attrs.props??{};switch(t){case`Math`:return{source:`$$\n${typeof n.formula==`string`?n.formula:``}\n$$`};case`MermaidFence`:return{source:`\`\`\`mermaid\n${typeof n.chart==`string`?n.chart:``}\n\`\`\``};default:return null}}function KE(e,t){let n=GE(e);if(!n)return null;let r=t.createElement(`pre`);r.className=`mdx-component`;let i=t.createElement(`code`);return i.textContent=n.source,r.appendChild(i),r}var qE={note:{color:`#0969da`,bg:`#dbeafe`},tip:{color:`#1f883d`,bg:`#dcfce7`},important:{color:`#8250df`,bg:`#f3e8ff`},warning:{color:`#9a6700`,bg:`#fef3c7`},caution:{color:`#cf222e`,bg:`#fee2e2`}};function JE(e){return Object.hasOwn(qE,e)?qE[e]:qE.note}function YE(e){let t=typeof e.type==`string`?e.type:`note`,n=JE(t),r=document.createElement(`aside`);if(r.setAttribute(`class`,`callout callout-${t}`),r.setAttribute(`data-callout-type`,t),r.setAttribute(`style`,`border-left: 3px solid ${n.color}; background-color: ${n.bg}; padding: 0.5rem 0.75rem; border-radius: 0.25rem;`),typeof e.title==`string`&&e.title){let t=document.createElement(`strong`);t.textContent=e.title,r.appendChild(t)}return r}function XE(e){let t=document.createElement(`details`);e.defaultOpen===!0&&t.setAttribute(`open`,``),t.setAttribute(`class`,`accordion`);let n=document.createElement(`summary`);return n.textContent=typeof e.title==`string`?e.title:`Accordion`,t.appendChild(n),t}function ZE(e){let t=PT(e);return t.portable?null:t.reason}function QE(e){let t=document.createElement(`pre`);t.className=`mdx-component`;let n=document.createElement(`code`);return n.textContent=e,t.appendChild(n),t}function $E(e,t,n){if(e===``)return null;let r;try{r=ZE(e)}catch(e){let n=XT(e);return KT({view:`wysiwyg`,tag:t,phase:`classifier-throw`,...n===void 0?{}:{errorClass:n}}),null}return r===null?null:(GT({view:`wysiwyg`,tag:t,class:`mdx-component`,reason:r}),QE(n))}function eD(e){let t=typeof e.alt==`string`?e.alt:``,n=typeof e.src==`string`?e.src:``,r=$E(n,`img`,`![${t}](${n})`);if(r!==null)return r;let i=document.createElement(`img`);return n&&bT(n)&&i.setAttribute(`src`,n),typeof e.alt==`string`&&i.setAttribute(`alt`,e.alt),i}function tD(e,t){let n=document.createElement(e);return n.setAttribute(`src`,t),n.outerHTML}function nD(e){let t=typeof e.src==`string`?e.src:``,n=$E(t,`video`,tD(`video`,t));if(n!==null)return n;let r=document.createElement(`video`);return t&&bT(t)&&r.setAttribute(`src`,t),e.controls!==!1&&r.setAttribute(`controls`,``),r}function rD(e){let t=typeof e.src==`string`?e.src:``,n=$E(t,`audio`,tD(`audio`,t));if(n!==null)return n;let r=document.createElement(`audio`);return t&&bT(t)&&r.setAttribute(`src`,t),e.controls!==!1&&r.setAttribute(`controls`,``),r}function iD(e){if(e.type.name!==`jsxComponent`)return null;let t=e.attrs.componentName,n=e.attrs.props??{};switch(t){case`Callout`:case`GFMCallout`:return YE(n);case`Accordion`:case`HtmlDetailsAccordion`:return XE(n);case`img`:case`CommonMarkImage`:return eD(n);case`video`:return nD(n);case`audio`:return rD(n);case`Math`:case`MermaidFence`:return KE(e,document);default:return null}}var aD=`color.background-color.background-image.border.border-top.border-right.border-bottom.border-left.border-color.border-width.border-style.border-radius.padding.padding-top.padding-right.padding-bottom.padding-left.margin.margin-top.margin-right.margin-bottom.margin-left.font-family.font-size.font-weight.font-style.text-decoration.text-align.line-height.list-style.list-style-type.list-style-position.vertical-align.white-space`.split(`.`),oD=new Set([`jsx-component-wrapper`,`selectedCell`,`is-empty`,`ProseMirror-selectednode`,`ProseMirror-trailingBreak`]),sD=new Set([`data-selected`,`data-has-child-selected`,`data-dragging`,`data-range-selected`,`contenteditable`,`data-pm-slice`]),cD={getComputedStyle:e=>window.getComputedStyle(e)};function lD(e,t=aD){let n=``;for(let r of t){let t=e.getPropertyValue(r);t&&(t===`initial`||t===`normal`||(n+=`${r}: ${MT(t)}; `))}return n.trim()}function uD(e,t=oD){return e.split(/\s+/).filter(e=>e.length>0&&!t.has(e)).join(` `)||null}function dD(e,t,n){let r=!1;return e.nodesBetween(t,n,(i,a,o)=>(o===e&&(t>a||n<a+i.nodeSize)&&(r=!0),!1)),r}function fD(e,t,n=cD){let r=document.createDocumentFragment(),{from:i,to:a}=t.state.selection;return i===a||dD(t.state.doc,i,a)||t.state.doc.nodesBetween(i,a,(e,i,a)=>{if(a!==t.state.doc)return!1;let o=t.nodeDOM(i);if(o==null){HT({descriptor:e.type.name,view:`wysiwyg`});let t=iD(e);return t&&r.appendChild(t),!1}if(!(o instanceof Element)||o.getAttribute(`data-clipboard-omit`)===`true`)return!1;let s=KE(e,document);return s===null?(r.appendChild(pD(o,n)),!1):(r.appendChild(s),UT({view:`wysiwyg`,descriptor:e.attrs.componentName??e.type.name}),!1)}),r}function pD(e,t){let n=e.cloneNode(!0);return yD(e,n,t),bD(n),mD(n),MD(e,n,t),vD(n),n}function mD(e){let t=Array.from(e.querySelectorAll(`[data-component-type="math-inline"]`));for(let n of t){if(!n.parentNode)continue;let t=n.getAttribute(`data-formula`)??``,r=e.ownerDocument.createElement(`span`);r.className=`mdx-inline`,r.textContent=`$$${t}$$`,n.replaceWith(r),UT({view:`wysiwyg`,descriptor:`mathInline`})}let n=Array.from(e.querySelectorAll(`a[data-wiki-embed]`));for(let t of n){if(!t.parentNode)continue;let n=t.getAttribute(`data-target`)??``;if(!n)continue;let r=t.getAttribute(`data-alias`)||null,i=t.getAttribute(`data-anchor`)||null,a=e.ownerDocument.createElement(`span`);a.className=`mdx-inline`,a.textContent=hD(n,i,r),t.replaceWith(a),UT({view:`wysiwyg`,descriptor:`wikiLinkEmbed`})}}function hD(e,t,n){let r=e;return t&&(r+=`#${t}`),n&&(r+=`|${n}`),`![[${r}]]`}var gD={"lucide-chevron-right":`›`,"lucide-chevron-down":`⌄`,"lucide-info":`ℹ`,"lucide-lightbulb":`💡`,"lucide-message-square-warning":`❗`,"lucide-alert-triangle":`⚠`,"lucide-alert-octagon":`⛔`},_D=/(?:^|\s)(lucide-[a-z0-9-]+)(?:\s|$)/;function vD(e){let t=e.querySelectorAll(`svg`);for(let e of Array.from(t)){let t=(e.getAttribute(`class`)??``).match(_D);if(!t)continue;let n=t[1],r=gD[n];if(!r){JT({lucideClass:n,view:`wysiwyg`});continue}let i=e.ownerDocument.createElement(`span`);i.setAttribute(`aria-hidden`,`true`),i.textContent=r,e.replaceWith(i)}}function yD(e,t,n){let r=lD(n.getComputedStyle(e));if(r){let e=t.getAttribute(`style`);t.setAttribute(`style`,e?`${e}; ${r}`:r)}let i=t.getAttribute(`class`);if(i!==null){let e=uD(i);e?t.setAttribute(`class`,e):t.removeAttribute(`class`)}for(let e of Array.from(t.attributes)){if(sD.has(e.name)){t.removeAttribute(e.name);continue}if(CT(e.name)){t.removeAttribute(e.name),WT({attr:`on*`,reason:`event-handler`,view:`wysiwyg`});continue}if(e.name===`style`){let n=wT(e.value);n===``?(t.removeAttribute(`style`),WT({attr:`style`,reason:`unsafe-url-or-expression`,view:`wysiwyg`})):n!==e.value&&t.setAttribute(`style`,n);continue}if(pT.has(e.name)){(e.name===`srcset`?xT(e.value):bT(e.value))||(t.removeAttribute(e.name),WT({attr:e.name,reason:e.name===`srcset`?`srcset-candidate`:`scheme`,view:`wysiwyg`}));continue}if(mT.has(e.name)){let n=ST(e.value,{reportNoChange:!0});n!==null&&(t.setAttribute(e.name,n),WT({attr:e.name,reason:`embedded-url`,view:`wysiwyg`}))}}let a=Array.from(e.children),o=Array.from(t.children),s=Math.min(a.length,o.length);for(let e=0;e<s;e++){let t=a[e],r=o[e];if(t.getAttribute(`data-clipboard-omit`)===`true`){r.remove();continue}yD(t,r,n)}}function bD(e){let t=e.querySelectorAll(`span[data-wiki-link]`);for(let e of Array.from(t)){let t=e.getAttribute(`data-target`)??``;if(!t)continue;let n=gt(e.getAttribute(`data-anchor`)),r=gt(e.getAttribute(`data-alias`)),i=T(t,n),a=e.ownerDocument.createElement(`a`);a.setAttribute(`class`,`wiki-link`),a.setAttribute(`href`,i),a.setAttribute(`data-target`,t),a.setAttribute(`data-anchor`,n??``),a.setAttribute(`data-alias`,r??``),a.textContent=e.textContent??``,e.replaceWith(a)}}var xD=new Set([`img`,`video`,`audio`,`source`,`a`]);function SD(e){return xD.has(e)}function CD(e){return e.closest(`p`)===null?`mdx-component`:`mdx-inline`}function wD(e,t,n){if(t===`mdx-component`){let t=e.createElement(`pre`);t.className=`mdx-component`;let r=e.createElement(`code`);return r.textContent=n,t.appendChild(r),t}let r=e.createElement(`span`);return r.className=`mdx-inline`,r.textContent=n,r}function TD(e){let t=PT(e);return t.portable?null:t.reason}function ED(e){for(let t of e.split(`,`)){let e=t.trim();if(e===``)continue;let n=TD(e.split(/\s+/)[0]??``);if(n!==null)return n}return null}function DD(e,t){switch(t){case`img`:case`source`:{let t=e.getAttribute(`src`);if(t!==null){let e=TD(t);if(e!==null)return e}let n=e.getAttribute(`srcset`);if(n!==null){let e=ED(n);if(e!==null)return e}return null}case`video`:case`audio`:{let t=e.getAttribute(`src`);return t===null?null:TD(t)}case`a`:{let t=e.getAttribute(`href`);return t===null?null:TD(t)}default:return null}}function OD(e){let t=e.querySelectorAll(`source, img`);for(let e of Array.from(t)){let t=e.tagName.toLowerCase();if(!SD(t))continue;let n=DD(e,t);if(n!==null)return n}return null}function kD(e,t,n,r){let i;try{i=DD(n,r)}catch(e){let t=XT(e);return KT({view:`wysiwyg`,tag:r,phase:`classifier-throw`,...t===void 0?{}:{errorClass:t}}),!1}return i===null?!1:jD(e,t,n,r,i)}function AD(e,t,n){let r;try{r=OD(n)}catch(e){let t=XT(e);return KT({view:`wysiwyg`,tag:`picture`,phase:`classifier-throw`,...t===void 0?{}:{errorClass:t}}),!1}return r===null?!1:jD(e,t,n,`picture`,r)}function jD(e,t,n,r,i){let a=e.serializeElementMarkdown?e.serializeElementMarkdown(t):{kind:`no-correspondence`};switch(a.kind){case`no-correspondence`:return KT({view:`wysiwyg`,tag:r,phase:`serializer-null`}),!1;case`failed`:{let e=a.errorClass;return KT({view:`wysiwyg`,tag:r,phase:`serializer-throw`,...e===void 0?{}:{errorClass:e}}),!1}case`ok`:{let e=CD(n),t=wD(n.ownerDocument,e,a.markdown);return n.replaceWith(t),GT({view:`wysiwyg`,tag:r,class:e,reason:i}),!0}default:return!1}}function MD(e,t,n){if(!n.serializeElementMarkdown)return;let r=t.tagName.toLowerCase();if(r===`picture`&&AD(n,e,t)||SD(r)&&kD(n,e,t,r))return;let i=Array.from(e.children),a=Array.from(t.children),o=[];for(let e of i)e.getAttribute(`data-clipboard-omit`)!==`true`&&o.push(e);let s=Math.min(o.length,a.length);for(let e=0;e<s;e++)MD(o[e],a[e],n)}function ND(e){return(t,n)=>{if(n.state.selection instanceof O)try{return PD(n.state.selection)}catch(e){VT({view:`wysiwyg`,kind:`text`,reason:`cellselection:${e?.message??`unknown`}`})}try{return LD(t,n.state.schema,e.mdManager)}catch(e){return VT({view:`wysiwyg`,kind:`text`,reason:e?.message??`unknown`}),t.content.textBetween(0,t.content.size,`
13
+
14
+ `)}}}function PD(e){let t=[],n=null,r=[];return e.forEachCell((i,a)=>{let o=e.$anchorCell.doc.resolve(a).before();(n===null||o!==n)&&(r.length>0&&t.push(r),r=[],n=o),r.push(i.textContent)}),r.length>0&&t.push(r),t.map(e=>e.join(` `)).join(`
15
+ `)}var FD=class extends kt{mdManager;view=null;constructor(e){super({},{}),this.mdManager=e}setView(e){this.view=e}serializeFragment(e,t,n){let r=this.view;if(r&&r.state.selection instanceof O)try{let t=e.firstChild?.type.schema??r.state.schema,i=kt.fromSchema(t),a=HD(e,t);return i.serializeFragment(a,{document},n)}catch(e){VT({view:`wysiwyg`,kind:`html`,reason:`cellselection:${e?.message??`unknown`}`})}if(r&&r.state.selection.from!==r.state.selection.to)try{let e=fD(r.state.selection.content(),r,zD(r,this.mdManager));if(e.childNodes.length>0){if(n){for(let t of Array.from(e.childNodes))n.appendChild(t);return n}return e}}catch(e){VT({view:`wysiwyg`,kind:`html`,reason:`walker:${e?.message??`unknown`}`})}try{let t=e.firstChild?.type.schema;if(!t)return n??document.createDocumentFragment();let r=UD(BD(e,t,this.mdManager));if(n){for(let e of Array.from(r.childNodes))n.appendChild(e);return n}return r}catch(e){return VT({view:`wysiwyg`,kind:`html`,reason:`markdown:${e?.message??`unknown`}`}),n??document.createDocumentFragment()}}};function ID(e){let t=new FD(e.mdManager);return{serializer:t,setView:e=>t.setView(e)}}function LD(e,t,n){return n.serialize(VD(e,t))}function RD(e){let t=null,n=e;for(;n&&!n.classList.contains(`ProseMirror`);){if(n.hasAttribute(`data-clipboard-inline-leaf`)){n=n.parentElement;continue}(n.classList.contains(`react-renderer`)||n.hasAttribute(`data-node-view-wrapper`)||n.hasAttribute(`data-jsx-component`))&&(t=n),n=n.parentElement}return t}function zD(e,t){return{getComputedStyle:e=>window.getComputedStyle(e),serializeElementMarkdown:n=>{let r=RD(n),i;try{let t=r?.parentElement;if(t&&r){let n=Array.from(t.children).indexOf(r);i=e.posAtDOM(t,n,-1)}else i=e.posAtDOM(n,0)}catch(e){return{kind:`failed`,errorClass:XT(e)}}if(i<0)return{kind:`no-correspondence`};let a=e.state.doc.nodeAt(i);if(!a)return{kind:`no-correspondence`};let o=e.state.doc.slice(i,i+a.nodeSize);try{return{kind:`ok`,markdown:LD(o,e.state.schema,t)}}catch(e){return{kind:`failed`,errorClass:XT(e)}}}}}function BD(e,t,n){return Te(LD(new Nt(e,0,0),t,n))}function VD(e,t){let n=e.content;if(n.firstChild?.isInline){let e=t.nodes.paragraph;if(e){let t=e.createAndFill(null,n);t&&(n=It.from(t))}}let r=t.topNodeType.createAndFill(null,n);if(!r){let e=t.topNodeType.createAndFill();if(!e)throw Error(`[clipboard] schema cannot fill topNodeType`);return e.toJSON()}return r.toJSON()}function HD(e,t){let n=t.nodes.table,r=t.nodes.tableRow;if(!n||!r)return e;let i=e.firstChild;if(!i||i.type===n)return e;let a=[];e.forEach(e=>{if(e.type===r)a.push(e);else{let t=r.createAndFill(null,e);t&&a.push(t)}});let o=n.createAndFill(null,It.fromArray(a));return o?It.from(o):e}function UD(e){let t=new DOMParser().parseFromString(e,`text/html`),n=document.createDocumentFragment();for(let e of Array.from(t.body.childNodes))n.appendChild(e);return n}function WD(e){return jE(),aa.domEventHandlers({copy:(e,t)=>KD(e,t,`copy`),cut:(e,t)=>KD(e,t,`cut`),paste:(t,n)=>qD(t,n,e)})}function GD(e){let t=document.createElement(`pre`);t.className=`mdx-component`;let n=document.createElement(`code`);return n.textContent=e,t.appendChild(n),t.outerHTML}function KD(e,t,n){let{from:r,to:i}=t.state.selection.main;if(r===i)return e.preventDefault(),!0;let a=e.clipboardData;if(!a)return!1;let o=performance.now();try{let s=t.state.sliceDoc(r,i);a.setData(`text/plain`,s);try{a.setData(`text/html`,GD(s))}catch(e){VT({view:`source`,kind:`html`,reason:e?.message??`unknown`})}return e.preventDefault(),n===`cut`&&t.dispatch({changes:{from:r,to:i,insert:``}}),RT(o,{op:n,view:`source`,branch:`serialize`,source:`local`}),!0}catch(e){return VT({view:`source`,kind:`text`,reason:e?.message??`unknown`}),!1}}function qD(e,t,n){let r=e.clipboardData;if(!r||r.types.length===0)return!1;let i=performance.now(),a=FT(r),o=r.getData(`text/plain`),s=r.getData(`text/html`),c=r.getData(`vscode-editor-data`);return NE(e)?(zT({view:`source`,branch:`shift`,source:a}),RT(i,{op:`paste`,view:`source`,branch:`shift`,source:a}),!1):c&&o?(zT({view:`source`,branch:`A`,source:a}),RT(i,{op:`paste`,view:`source`,branch:`A`,source:a}),!1):o&&s&&YD(s)?(zT({view:`source`,branch:`B-wrapper`,source:a}),RT(i,{op:`paste`,view:`source`,branch:`B-wrapper`,source:a}),!1):o&&s&&xE(o)?(zT({view:`source`,branch:`B`,source:a}),RT(i,{op:`paste`,view:`source`,branch:`B`,source:a}),!1):s&&/data-pm-slice/i.test(s)?(zT({view:`source`,branch:`C`,source:a}),RT(i,{op:`paste`,view:`source`,branch:`C`,source:a}),!1):s&&XD(t,s,n,a)?(e.preventDefault(),zT({view:`source`,branch:`D`,source:a}),RT(i,{op:`paste`,view:`source`,branch:`D`,source:a,htmlBytes:s.length}),!0):(zT({view:`source`,branch:`E`,source:a}),RT(i,{op:`paste`,view:`source`,branch:`E`,source:a}),!1)}var JD=/<pre\b(?=[^>]*\bclass\s*=\s*["'][^"']*\bmdx-component\b[^"']*["'])[^>]*>\s*<code\b/i;function YD(e){return JD.test(e)}function XD(e,t,n,r){let i;try{i=ue(t)}catch(e){return BT({view:`source`,stage:`htmlToMdast`,source:r,branch:`D`,reason:e?.message??`unknown`,errorClass:XT(e),htmlBytes:t.length}),!1}let a;try{a=u(i)}catch(e){return BT({view:`source`,stage:`mdastToMarkdown`,source:r,branch:`D`,reason:e?.message??`unknown`,errorClass:XT(e),htmlBytes:t.length}),!1}let{from:o,to:s}=e.state.selection.main;if(!(a.length>500*1024))return e.dispatch({changes:{from:o,to:s,insert:a},selection:{anchor:o+a.length}}),!0;let c=o===s?``:e.state.sliceDoc(o,s);o!==s&&e.dispatch({changes:{from:o,to:s,insert:``}});let l=o,d=cr(n.ytext,l);return pe(n.ydoc,n.ytext,l,a,{resolveOffset:e=>{let t=Rn(d,n.ydoc);return t==null?e:t.index+(e-l)}}).catch(i=>{ZD({view:e,source:r,html:t,restoreText:c,anchorIndex:l,anchorRelPos:d,ydoc:n.ydoc,err:i})}),!0}function ZD(e){let{view:t,source:n,html:r,restoreText:i,anchorIndex:a,anchorRelPos:o,ydoc:s,err:c}=e,l=`no-restore-needed`;if(c instanceof Ft&&c.bytesWritten>0){let e=o&&s?Rn(o,s)?.index??a:a,n=Math.min(e+c.bytesWritten,t.state.doc.length);try{t.dispatch({changes:{from:e,to:n,insert:i}}),l=i.length>0?`restored`:`no-restore-needed`}catch(e){console.warn(`[clipboard] partial-chunk rollback dispatch failed`,e),l=i.length>0?`restore-failed`:`no-restore-needed`}}else if(i.length>0)try{t.dispatch({changes:{from:a,to:a,insert:i}}),l=`restored`}catch(e){console.warn(`[clipboard] selection-restore dispatch failed`,e),l=`restore-failed`}let u=l===`restored`?gi._({id:`jhtG3I`}):l===`restore-failed`?gi._({id:`yCX4jp`}):``;if(c instanceof Ft){YT({view:`source`,chunksCompleted:c.chunksCompleted,totalChunks:c.totalChunks,bytesWritten:c.bytesWritten,bytesRemaining:c.bytesRemaining,reason:c.message});let e=c.chunksCompleted,t=c.totalChunks;vr.error(gi._({id:`xYMPyY`,values:{chunksCompleted:e,totalChunks:t,restoreSuffix:u}}));return}BT({view:`source`,stage:`chunkedYTextInsert`,source:n,branch:`D`,reason:c?.message??`unknown`,errorClass:XT(c),htmlBytes:r.length}),vr.error(gi._({id:`eBIT9h`,values:{restoreSuffix:u}}))}var QD=e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=rO(e.state,n.from);return r.line?eO(e):r.block?nO(e):!1};function $D(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=e(t,n);return i?(r(n.update(i)),!0):!1}}var eO=$D(cO,0),tO=$D(sO,0),nO=$D((e,t)=>sO(e,t,oO(t)),0);function rO(e,t){let n=e.languageDataAt(`commentTokens`,t,1);return n.length?n[0]:{}}var iO=50;function aO(e,{open:t,close:n},r,i){let a=e.sliceDoc(r-iO,r),o=e.sliceDoc(i,i+iO),s=/\s*$/.exec(a)[0].length,c=/^\s*/.exec(o)[0].length,l=a.length-s;if(a.slice(l-t.length,l)==t&&o.slice(c,c+n.length)==n)return{open:{pos:r-s,margin:s&&1},close:{pos:i+c,margin:c&&1}};let u,d;i-r<=2*iO?u=d=e.sliceDoc(r,i):(u=e.sliceDoc(r,r+iO),d=e.sliceDoc(i-iO,i));let f=/^\s*/.exec(u)[0].length,p=/\s*$/.exec(d)[0].length,m=d.length-p-n.length;return u.slice(f,f+t.length)==t&&d.slice(m,m+n.length)==n?{open:{pos:r+f+t.length,margin:+!!/\s/.test(u.charAt(f+t.length))},close:{pos:i-p-n.length,margin:+!!/\s/.test(d.charAt(m-1))}}:null}function oO(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from),i=n.to<=r.to?r:e.doc.lineAt(n.to);i.from>r.from&&i.from==n.to&&(i=n.to==r.to+1?r:e.doc.lineAt(n.to-1));let a=t.length-1;a>=0&&t[a].to>r.from?t[a].to=i.to:t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:i.to})}return t}function sO(e,t,n=t.selection.ranges){let r=n.map(e=>rO(t,e.from).block);if(!r.every(e=>e))return null;let i=n.map((e,n)=>aO(t,r[n],e.from,e.to));if(e!=2&&!i.every(e=>e))return{changes:t.changes(n.map((e,t)=>i[t]?[]:[{from:e.from,insert:r[t].open+` `},{from:e.to,insert:` `+r[t].close}]))};if(e!=1&&i.some(e=>e)){let e=[];for(let t=0,n;t<i.length;t++)if(n=i[t]){let i=r[t],{open:a,close:o}=n;e.push({from:a.pos-i.open.length,to:a.pos+a.margin},{from:o.pos-o.margin,to:o.pos+i.close.length})}return{changes:e}}return null}function cO(e,t,n=t.selection.ranges){let r=[],i=-1;ranges:for(let{from:e,to:a}of n){let n=r.length,o=1e9,s;for(let n=e;n<=a;){let c=t.doc.lineAt(n);if(s==null&&(s=rO(t,c.from).line,!s))continue ranges;if(c.from>i&&(e==a||a>c.from)){i=c.from;let e=/^\s*/.exec(c.text)[0].length,t=e==c.length,n=c.text.slice(e,e+s.length)==s?e:-1;e<c.text.length&&e<o&&(o=e),r.push({line:c,comment:n,token:s,indent:e,empty:t,single:!1})}n=c.to+1}if(o<1e9)for(let e=n;e<r.length;e++)r[e].indent<r[e].line.text.length&&(r[e].indent=o);r.length==n+1&&(r[n].single=!0)}if(e!=2&&r.some(e=>e.comment<0&&(!e.empty||e.single))){let e=[];for(let{line:t,token:n,indent:i,empty:a,single:o}of r)(o||!a)&&e.push({from:t.from+i,insert:n+` `});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}else if(e!=1&&r.some(e=>e.comment>=0)){let e=[];for(let{line:t,comment:n,token:i}of r)if(n>=0){let r=t.from+n,a=r+i.length;t.text[a-t.from]==` `&&a++,e.push({from:r,to:a})}return{changes:e}}return null}var lO=ya.define(),uO=ya.define(),dO=Xi.define(),fO=Xi.define({combine(e){return Ni(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}}),pO=Vi.define({create(){return MO.empty},update(e,t){let n=t.state.facet(fO),r=t.annotation(lO);if(r){let i=bO.fromTransaction(t,r.selection),a=r.side,o=a==0?e.undone:e.done;return o=i?xO(o,o.length,n.minDepth,i):DO(o,t.startState.selection),new MO(a==0?r.rest:o,a==0?o:r.rest)}let i=t.annotation(uO);if((i==`full`||i==`before`)&&(e=e.isolate()),t.annotation(Ki.addToHistory)===!1)return t.changes.empty?e:e.addMapping(t.changes.desc);let a=bO.fromTransaction(t),o=t.annotation(Ki.time),s=t.annotation(Ki.userEvent);return a?e=e.addChanges(a,o,s,n,t):t.selection&&(e=e.addSelection(t.startState.selection,o,s,n.newGroupDelay)),(i==`full`||i==`after`)&&(e=e.isolate()),e},toJSON(e){return{done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}},fromJSON(e){return new MO(e.done.map(bO.fromJSON),e.undone.map(bO.fromJSON))}});function mO(e={}){return[pO,fO.of(e),aa.domEventHandlers({beforeinput(e,t){let n=e.inputType==`historyUndo`?gO:e.inputType==`historyRedo`?_O:null;return n?(e.preventDefault(),n(t)):!1}})]}function hO(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let i=n.field(pO,!1);if(!i)return!1;let a=i.pop(e,n,t);return a?(r(a),!0):!1}}var gO=hO(0,!1),_O=hO(1,!1),vO=hO(0,!0),yO=hO(1,!0),bO=class e{constructor(e,t,n,r,i){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,this.selectionsAfter=i}setSelAfter(t){return new e(this.changes,this.effects,this.mapped,this.startSelection,t)}toJSON(){return{changes:this.changes?.toJSON(),mapped:this.mapped?.toJSON(),startSelection:this.startSelection?.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(t){return new e(t.changes&&Fi.fromJSON(t.changes),[],t.mapped&&ta.fromJSON(t.mapped),t.startSelection&&zi.fromJSON(t.startSelection),t.selectionsAfter.map(zi.fromJSON))}static fromTransaction(t,n){let r=TO;for(let e of t.startState.facet(dO)){let n=e(t);n.length&&(r=r.concat(n))}return!r.length&&t.changes.empty?null:new e(t.changes.invert(t.startState.doc),r,void 0,n||t.startState.selection,TO)}static selection(t){return new e(void 0,TO,void 0,void 0,t)}};function xO(e,t,n,r){let i=t+1>n+20?t-n-1:0,a=e.slice(i,t);return a.push(r),a}function SO(e,t){let n=[],r=!1;return e.iterChangedRanges((e,t)=>n.push(e,t)),t.iterChangedRanges((e,t,i,a)=>{for(let e=0;e<n.length;){let t=n[e++],o=n[e++];a>=t&&i<=o&&(r=!0)}}),r}function CO(e,t){return e.ranges.length==t.ranges.length&&e.ranges.filter((e,n)=>e.empty!=t.ranges[n].empty).length===0}function wO(e,t){return e.length?t.length?e.concat(t):e:t}var TO=[],EO=200;function DO(e,t){if(e.length){let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-EO));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),xO(e,e.length-1,1e9,n.setSelAfter(r)))}else return[bO.selection([t])]}function OO(e){let t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function kO(e,t){if(!e.length)return e;let n=e.length,r=TO;for(;n;){let i=AO(e[n-1],t,r);if(i.changes&&!i.changes.empty||i.effects.length){let t=e.slice(0,n);return t[n-1]=i,t}else t=i.mapped,n--,r=i.selectionsAfter}return r.length?[bO.selection(r)]:TO}function AO(e,t,n){let r=wO(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):TO,n);if(!e.changes)return bO.selection(r);let i=e.changes.map(t),a=t.mapDesc(e.changes,!0),o=e.mapped?e.mapped.composeDesc(a):a;return new bO(i,Qi.mapEffects(e.effects,t),o,e.startSelection.map(a),r)}var jO=/^(input\.type|delete)($|\.)/,MO=class e{constructor(e,t,n=0,r=void 0){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new e(this.done,this.undone):this}addChanges(t,n,r,i,a){let o=this.done,s=o[o.length-1];return o=s&&s.changes&&!s.changes.empty&&t.changes&&(!r||jO.test(r))&&(!s.selectionsAfter.length&&n-this.prevTime<i.newGroupDelay&&i.joinToEvent(a,SO(s.changes,t.changes))||r==`input.type.compose`)?xO(o,o.length-1,i.minDepth,new bO(t.changes.compose(s.changes),wO(Qi.mapEffects(t.effects,s.changes),s.effects),s.mapped,s.startSelection,TO)):xO(o,o.length,i.minDepth,t),new e(o,TO,n,r)}addSelection(t,n,r,i){let a=this.done.length?this.done[this.done.length-1].selectionsAfter:TO;return a.length>0&&n-this.prevTime<i&&r==this.prevUserEvent&&r&&/^select($|\.)/.test(r)&&CO(a[a.length-1],t)?this:new e(DO(this.done,t),this.undone,n,r)}addMapping(t){return new e(kO(this.done,t),kO(this.undone,t),this.prevTime,this.prevUserEvent)}pop(e,t,n){let r=e==0?this.done:this.undone;if(r.length==0)return null;let i=r[r.length-1],a=i.selectionsAfter[0]||(i.startSelection?i.startSelection.map(i.changes.invertedDesc,1):t.selection);if(n&&i.selectionsAfter.length)return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:lO.of({side:e,rest:OO(r),selection:a}),userEvent:e==0?`select.undo`:`select.redo`,scrollIntoView:!0});if(i.changes){let n=r.length==1?TO:r.slice(0,r.length-1);return i.mapped&&(n=kO(n,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:lO.of({side:e,rest:n,selection:a}),filter:!1,userEvent:e==0?`undo`:`redo`,scrollIntoView:!0})}else return null}};MO.empty=new MO(TO,TO);var NO=[{key:`Mod-z`,run:gO,preventDefault:!0},{key:`Mod-y`,mac:`Mod-Shift-z`,run:_O,preventDefault:!0},{linux:`Ctrl-Shift-z`,run:_O,preventDefault:!0},{key:`Mod-u`,run:vO,preventDefault:!0},{key:`Alt-u`,mac:`Mod-Shift-u`,run:yO,preventDefault:!0}];function PO(e,t){return zi.create(e.ranges.map(t),e.mainIndex)}function FO(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:`select`})}function IO({state:e,dispatch:t},n){let r=PO(e.selection,n);return r.eq(e.selection,!0)?!1:(t(FO(e,r)),!0)}function LO(e,t){return zi.cursor(t?e.to:e.from)}function RO(e,t){return IO(e,n=>n.empty?e.moveByChar(n,t):LO(n,t))}function zO(e){return e.textDirectionAt(e.state.selection.main.head)==oa.LTR}var BO=e=>RO(e,!zO(e)),VO=e=>RO(e,zO(e));function HO(e,t){return IO(e,n=>n.empty?e.moveByGroup(n,t):LO(n,t))}var UO=e=>HO(e,!zO(e)),WO=e=>HO(e,zO(e));typeof Intl<`u`&&Intl.Segmenter;function GO(e,t,n){if(t.type.prop(n))return!0;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function KO(e,t,n){let r=Zi(e).resolveInner(t.head),i=n?ra.closedBy:ra.openedBy;for(let a=t.head;;){let t=n?r.childAfter(a):r.childBefore(a);if(!t)break;GO(e,t,i)?r=t:a=n?t.to:t.from}let a=r.type.prop(i),o,s;return s=a&&(o=n?da(e,r.from,1):da(e,r.to,-1))&&o.matched?n?o.end.to:o.end.from:n?r.to:r.from,zi.cursor(s,n?-1:1)}var qO=e=>IO(e,t=>KO(e.state,t,!zO(e))),JO=e=>IO(e,t=>KO(e.state,t,zO(e)));function YO(e,t){return IO(e,n=>{if(!n.empty)return LO(n,t);let r=e.moveVertically(n,t);return r.head==n.head?e.moveToLineBoundary(n,t):r})}var XO=e=>YO(e,!1),ZO=e=>YO(e,!0);function QO(e){let t=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,n=0,r=0,i;if(t){for(let t of e.state.facet(aa.scrollMargins)){let i=t(e);i?.top&&(n=Math.max(i?.top,n)),i?.bottom&&(r=Math.max(i?.bottom,r))}i=e.scrollDOM.clientHeight-n-r}else i=(e.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:n,marginBottom:r,selfScroll:t,height:Math.max(e.defaultLineHeight,i-5)}}function $O(e,t){let n=QO(e),{state:r}=e,i=PO(r.selection,r=>r.empty?e.moveVertically(r,t,n.height):LO(r,t));if(i.eq(r.selection))return!1;let a;if(n.selfScroll){let t=e.coordsAtPos(r.selection.main.head),o=e.scrollDOM.getBoundingClientRect(),s=o.top+n.marginTop,c=o.bottom-n.marginBottom;t&&t.top>s&&t.bottom<c&&(a=aa.scrollIntoView(i.main.head,{y:`start`,yMargin:t.top-s}))}return e.dispatch(FO(r,i),{effects:a}),!0}var ek=e=>$O(e,!1),tk=e=>$O(e,!0);function nk(e,t,n){let r=e.lineBlockAt(t.head),i=e.moveToLineBoundary(t,n);if(i.head==t.head&&i.head!=(n?r.to:r.from)&&(i=e.moveToLineBoundary(t,n,!1)),!n&&i.head==r.from&&r.length){let n=/^\s*/.exec(e.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;n&&t.head!=r.from+n&&(i=zi.cursor(r.from+n))}return i}var rk=e=>IO(e,t=>nk(e,t,!0)),ik=e=>IO(e,t=>nk(e,t,!1)),ak=e=>IO(e,t=>nk(e,t,!zO(e))),ok=e=>IO(e,t=>nk(e,t,zO(e))),sk=e=>IO(e,t=>zi.cursor(e.lineBlockAt(t.head).from,1)),ck=e=>IO(e,t=>zi.cursor(e.lineBlockAt(t.head).to,-1));function lk(e,t,n){let r=!1,i=PO(e.selection,t=>{let i=da(e,t.head,-1)||da(e,t.head,1)||t.head>0&&da(e,t.head-1,1)||t.head<e.doc.length&&da(e,t.head+1,-1);if(!i||!i.end)return t;r=!0;let a=i.start.from==t.head?i.end.to:i.end.from;return n?zi.range(t.anchor,a):zi.cursor(a)});return r?(t(FO(e,i)),!0):!1}var uk=({state:e,dispatch:t})=>lk(e,t,!1);function dk(e,t){let n=PO(e.state.selection,e=>{let n=t(e);return zi.range(e.anchor,n.head,n.goalColumn,n.bidiLevel||void 0,n.assoc)});return n.eq(e.state.selection)?!1:(e.dispatch(FO(e.state,n)),!0)}function fk(e,t){return dk(e,n=>e.moveByChar(n,t))}var pk=e=>fk(e,!zO(e)),mk=e=>fk(e,zO(e));function hk(e,t){return dk(e,n=>e.moveByGroup(n,t))}var gk=e=>hk(e,!zO(e)),_k=e=>hk(e,zO(e)),vk=e=>dk(e,t=>KO(e.state,t,!zO(e))),yk=e=>dk(e,t=>KO(e.state,t,zO(e)));function bk(e,t){return dk(e,n=>e.moveVertically(n,t))}var xk=e=>bk(e,!1),Sk=e=>bk(e,!0);function Ck(e,t){return dk(e,n=>e.moveVertically(n,t,QO(e).height))}var wk=e=>Ck(e,!1),Tk=e=>Ck(e,!0),Ek=e=>dk(e,t=>nk(e,t,!0)),Dk=e=>dk(e,t=>nk(e,t,!1)),Ok=e=>dk(e,t=>nk(e,t,!zO(e))),kk=e=>dk(e,t=>nk(e,t,zO(e))),Ak=e=>dk(e,t=>zi.cursor(e.lineBlockAt(t.head).from)),jk=e=>dk(e,t=>zi.cursor(e.lineBlockAt(t.head).to)),Mk=({state:e,dispatch:t})=>(t(FO(e,{anchor:0})),!0),Nk=({state:e,dispatch:t})=>(t(FO(e,{anchor:e.doc.length})),!0),Pk=({state:e,dispatch:t})=>(t(FO(e,{anchor:e.selection.main.anchor,head:0})),!0),Fk=({state:e,dispatch:t})=>(t(FO(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),Ik=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:`select`})),!0),Lk=({state:e,dispatch:t})=>{let n=nA(e).map(({from:t,to:n})=>zi.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:zi.create(n),userEvent:`select`})),!0},Rk=({state:e,dispatch:t})=>{let n=PO(e.selection,t=>{let n=Zi(e),r=n.resolveStack(t.from,1);if(t.empty){let e=n.resolveStack(t.from,-1);e.node.from>=r.node.from&&e.node.to<=r.node.to&&(r=e)}for(let e=r;e;e=e.next){let{node:n}=e;if((n.from<t.from&&n.to>=t.to||n.to>t.to&&n.from<=t.from)&&e.next)return zi.range(n.to,n.from)}return t});return n.eq(e.selection)?!1:(t(FO(e,n)),!0)};function zk(e,t){let{state:n}=e,r=n.selection,i=n.selection.ranges.slice();for(let r of n.selection.ranges){let a=n.doc.lineAt(r.head);if(t?a.to<e.state.doc.length:a.from>0)for(let n=r;;){let r=e.moveVertically(n,t);if(r.head<a.from||r.head>a.to){i.some(e=>e.head==r.head)||i.push(r);break}else if(r.head==n.head)break;else n=r}}return i.length==r.ranges.length?!1:(e.dispatch(FO(n,zi.create(i,i.length-1))),!0)}var Bk=e=>zk(e,!1),Vk=e=>zk(e,!0),Hk=({state:e,dispatch:t})=>{let n=e.selection,r=null;return n.ranges.length>1?r=zi.create([n.main]):n.main.empty||(r=zi.create([zi.cursor(n.main.head)])),r?(t(FO(e,r)),!0):!1};function Uk(e,t){if(e.state.readOnly)return!1;let n=`delete.selection`,{state:r}=e,i=r.changeByRange(r=>{let{from:i,to:a}=r;if(i==a){let o=t(r);o<i?(n=`delete.backward`,o=Wk(e,o,!1)):o>i&&(n=`delete.forward`,o=Wk(e,o,!0)),i=Math.min(i,o),a=Math.max(a,o)}else i=Wk(e,i,!1),a=Wk(e,a,!0);return i==a?{range:r}:{changes:{from:i,to:a},range:zi.cursor(i,i<r.head?-1:1)}});return i.changes.empty?!1:(e.dispatch(r.update(i,{scrollIntoView:!0,userEvent:n,effects:n==`delete.selection`?aa.announce.of(r.phrase(`Selection deleted`)):void 0})),!0)}function Wk(e,t,n){if(e instanceof aa)for(let r of e.state.facet(aa.atomicRanges).map(t=>t(e)))r.between(t,t,(e,r)=>{e<t&&r>t&&(t=n?r:e)});return t}var Gk=(e,t,n)=>Uk(e,r=>{let i=r.from,{state:a}=e,o=a.doc.lineAt(i),s,c;if(n&&!t&&i>o.from&&i<o.from+200&&!/[^ \t]/.test(s=o.text.slice(0,i-o.from))){if(s[s.length-1]==` `)return i-1;let e=ia(s,a.tabSize)%ea(a)||ea(a);for(let t=0;t<e&&s[s.length-1-t]==` `;t++)i--;c=i}else c=Hi(o.text,i-o.from,t,t)+o.from,c==i&&o.number!=(t?a.doc.lines:1)?c+=t?1:-1:!t&&/[\ufe00-\ufe0f]/.test(o.text.slice(c-o.from,i-o.from))&&(c=Hi(o.text,c-o.from,!1,!1)+o.from);return c}),Kk=e=>Gk(e,!1,!0),qk=e=>Gk(e,!0,!1),Jk=(e,t)=>Uk(e,n=>{let r=n.head,{state:i}=e,a=i.doc.lineAt(r),o=i.charCategorizer(r);for(let e=null;;){if(r==(t?a.to:a.from)){r==n.head&&a.number!=(t?i.doc.lines:1)&&(r+=t?1:-1);break}let s=Hi(a.text,r-a.from,t)+a.from,c=a.text.slice(Math.min(r,s)-a.from,Math.max(r,s)-a.from),l=o(c);if(e!=null&&l!=e)break;(c!=` `||r!=n.head)&&(e=l),r=s}return r}),Yk=e=>Jk(e,!1),Xk=e=>Jk(e,!0),Zk=e=>Uk(e,t=>{let n=e.lineBlockAt(t.head).to;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}),Qk=e=>Uk(e,t=>{let n=e.moveToLineBoundary(t,!1).head;return t.head>n?n:Math.max(0,t.head-1)}),$k=e=>Uk(e,t=>{let n=e.moveToLineBoundary(t,!0).head;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}),eA=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:Ui.of([``,``])},range:zi.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:`input`})),!0},tA=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||t.from==0||t.from==e.doc.length)return{range:t};let n=t.from,r=e.doc.lineAt(n),i=n==r.from?n-1:Hi(r.text,n-r.from,!1)+r.from,a=n==r.to?n+1:Hi(r.text,n-r.from,!0)+r.from;return{changes:{from:i,to:a,insert:e.doc.slice(n,a).append(e.doc.slice(i,n))},range:zi.cursor(a)}});return n.changes.empty?!1:(t(e.update(n,{scrollIntoView:!0,userEvent:`move.character`})),!0)};function nA(e){let t=[],n=-1;for(let r of e.selection.ranges){let i=e.doc.lineAt(r.from),a=e.doc.lineAt(r.to);if(!r.empty&&r.to==a.from&&(a=e.doc.lineAt(r.to-1)),n>=i.number){let e=t[t.length-1];e.to=a.to,e.ranges.push(r)}else t.push({from:i.from,to:a.to,ranges:[r]});n=a.number+1}return t}function rA(e,t,n){if(e.readOnly)return!1;let r=[],i=[];for(let t of nA(e)){if(n?t.to==e.doc.length:t.from==0)continue;let a=e.doc.lineAt(n?t.to+1:t.from-1),o=a.length+1;if(n){r.push({from:t.to,to:a.to},{from:t.from,insert:a.text+e.lineBreak});for(let n of t.ranges)i.push(zi.range(Math.min(e.doc.length,n.anchor+o),Math.min(e.doc.length,n.head+o)))}else{r.push({from:a.from,to:t.from},{from:t.to,insert:e.lineBreak+a.text});for(let e of t.ranges)i.push(zi.range(e.anchor-o,e.head-o))}}return r.length?(t(e.update({changes:r,scrollIntoView:!0,selection:zi.create(i,e.selection.mainIndex),userEvent:`move.line`})),!0):!1}var iA=({state:e,dispatch:t})=>rA(e,t,!1),aA=({state:e,dispatch:t})=>rA(e,t,!0);function oA(e,t,n){if(e.readOnly)return!1;let r=[];for(let t of nA(e))n?r.push({from:t.from,insert:e.doc.slice(t.from,t.to)+e.lineBreak}):r.push({from:t.to,insert:e.lineBreak+e.doc.slice(t.from,t.to)});let i=e.changes(r);return t(e.update({changes:i,selection:e.selection.map(i,n?1:-1),scrollIntoView:!0,userEvent:`input.copyline`})),!0}var sA=({state:e,dispatch:t})=>oA(e,t,!1),cA=({state:e,dispatch:t})=>oA(e,t,!0),lA=e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(nA(t).map(({from:e,to:n})=>(e>0?e--:n<t.doc.length&&n++,{from:e,to:n}))),r=PO(t.selection,t=>{let n;if(e.lineWrapping){let r=e.lineBlockAt(t.head),i=e.coordsAtPos(t.head,t.assoc||1);i&&(n=r.bottom+e.documentTop-i.bottom+e.defaultLineHeight/2)}return e.moveVertically(t,!0,n)}).map(n);return e.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:`delete.line`}),!0};function uA(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=Zi(e).resolveInner(t),r=n.childBefore(t),i=n.childAfter(t),a;return r&&i&&r.to<=t&&i.from>=t&&(a=r.type.prop(ra.closedBy))&&a.indexOf(i.name)>-1&&e.doc.lineAt(r.to).from==e.doc.lineAt(i.from).from&&!/\S/.test(e.sliceDoc(r.to,i.from))?{from:r.to,to:i.from}:null}var dA=pA(!1),fA=pA(!0);function pA(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let r=t.changeByRange(n=>{let{from:r,to:i}=n,a=t.doc.lineAt(r),o=!e&&r==i&&uA(t,r);e&&(r=i=(i<=a.to?a:t.doc.lineAt(i)).to);let s=new pa(t,{simulateBreak:r,simulateDoubleBreak:!!o}),c=Pi(s,r);for(c??=ia(/^\s*/.exec(t.doc.lineAt(r).text)[0],t.tabSize);i<a.to&&/\s/.test(a.text[i-a.from]);)i++;o?{from:r,to:i}=o:r>a.from&&r<a.from+100&&!/\S/.test(a.text.slice(0,r))&&(r=a.from);let l=[``,Ii(t,c)];return o&&l.push(Ii(t,s.lineIndent(a.from,-1))),{changes:{from:r,to:i,insert:Ui.of(l)},range:zi.cursor(r+1+l[1].length)}});return n(t.update(r,{scrollIntoView:!0,userEvent:`input`})),!0}}function mA(e,t){let n=-1;return e.changeByRange(r=>{let i=[];for(let a=r.from;a<=r.to;){let o=e.doc.lineAt(a);o.number>n&&(r.empty||r.to>o.from)&&(t(o,i,r),n=o.number),a=o.to+1}let a=e.changes(i);return{changes:i,range:zi.range(a.mapPos(r.anchor,1),a.mapPos(r.head,1))}})}var hA=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),r=new pa(e,{overrideIndentation:e=>n[e]??-1}),i=mA(e,(t,i,a)=>{let o=Pi(r,t.from);if(o==null)return;/\S/.test(t.text)||(o=0);let s=/^\s*/.exec(t.text)[0],c=Ii(e,o);(s!=c||a.from<t.from+s.length)&&(n[t.from]=o,i.push({from:t.from,to:t.from+s.length,insert:c}))});return i.changes.empty||t(e.update(i,{userEvent:`indent`})),!0},gA=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(mA(e,(t,n)=>{n.push({from:t.from,insert:e.facet(Yi)})}),{userEvent:`input.indent`})),!0),_A=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(mA(e,(t,n)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let i=ia(r,e.tabSize),a=0,o=Ii(e,Math.max(0,i-ea(e)));for(;a<r.length&&a<o.length&&r.charCodeAt(a)==o.charCodeAt(a);)a++;n.push({from:t.from+a,to:t.from+r.length,insert:o.slice(a)})}),{userEvent:`delete.dedent`})),!0),vA=e=>(e.setTabFocusMode(),!0),yA=[{key:`Ctrl-b`,run:BO,shift:pk,preventDefault:!0},{key:`Ctrl-f`,run:VO,shift:mk},{key:`Ctrl-p`,run:XO,shift:xk},{key:`Ctrl-n`,run:ZO,shift:Sk},{key:`Ctrl-a`,run:sk,shift:Ak},{key:`Ctrl-e`,run:ck,shift:jk},{key:`Ctrl-d`,run:qk},{key:`Ctrl-h`,run:Kk},{key:`Ctrl-k`,run:Zk},{key:`Ctrl-Alt-h`,run:Yk},{key:`Ctrl-o`,run:eA},{key:`Ctrl-t`,run:tA},{key:`Ctrl-v`,run:tk}],bA=[{key:`ArrowLeft`,run:BO,shift:pk,preventDefault:!0},{key:`Mod-ArrowLeft`,mac:`Alt-ArrowLeft`,run:UO,shift:gk,preventDefault:!0},{mac:`Cmd-ArrowLeft`,run:ak,shift:Ok,preventDefault:!0},{key:`ArrowRight`,run:VO,shift:mk,preventDefault:!0},{key:`Mod-ArrowRight`,mac:`Alt-ArrowRight`,run:WO,shift:_k,preventDefault:!0},{mac:`Cmd-ArrowRight`,run:ok,shift:kk,preventDefault:!0},{key:`ArrowUp`,run:XO,shift:xk,preventDefault:!0},{mac:`Cmd-ArrowUp`,run:Mk,shift:Pk},{mac:`Ctrl-ArrowUp`,run:ek,shift:wk},{key:`ArrowDown`,run:ZO,shift:Sk,preventDefault:!0},{mac:`Cmd-ArrowDown`,run:Nk,shift:Fk},{mac:`Ctrl-ArrowDown`,run:tk,shift:Tk},{key:`PageUp`,run:ek,shift:wk},{key:`PageDown`,run:tk,shift:Tk},{key:`Home`,run:ik,shift:Dk,preventDefault:!0},{key:`Mod-Home`,run:Mk,shift:Pk},{key:`End`,run:rk,shift:Ek,preventDefault:!0},{key:`Mod-End`,run:Nk,shift:Fk},{key:`Enter`,run:dA,shift:dA},{key:`Mod-a`,run:Ik},{key:`Backspace`,run:Kk,shift:Kk,preventDefault:!0},{key:`Delete`,run:qk,preventDefault:!0},{key:`Mod-Backspace`,mac:`Alt-Backspace`,run:Yk,preventDefault:!0},{key:`Mod-Delete`,mac:`Alt-Delete`,run:Xk,preventDefault:!0},{mac:`Mod-Backspace`,run:Qk,preventDefault:!0},{mac:`Mod-Delete`,run:$k,preventDefault:!0}].concat(yA.map(e=>({mac:e.key,run:e.run,shift:e.shift}))),xA=[{key:`Alt-ArrowLeft`,mac:`Ctrl-ArrowLeft`,run:qO,shift:vk},{key:`Alt-ArrowRight`,mac:`Ctrl-ArrowRight`,run:JO,shift:yk},{key:`Alt-ArrowUp`,run:iA},{key:`Shift-Alt-ArrowUp`,run:sA},{key:`Alt-ArrowDown`,run:aA},{key:`Shift-Alt-ArrowDown`,run:cA},{key:`Mod-Alt-ArrowUp`,run:Bk},{key:`Mod-Alt-ArrowDown`,run:Vk},{key:`Escape`,run:Hk},{key:`Mod-Enter`,run:fA},{key:`Alt-l`,mac:`Ctrl-l`,run:Lk},{key:`Mod-i`,run:Rk,preventDefault:!0},{key:`Mod-[`,run:_A},{key:`Mod-]`,run:gA},{key:`Mod-Alt-\\`,run:hA},{key:`Shift-Mod-k`,run:lA},{key:`Shift-Mod-\\`,run:uk},{key:`Mod-/`,run:QD},{key:`Alt-A`,run:tO},{key:`Ctrl-m`,mac:`Shift-Alt-m`,run:vA}].concat(bA),SA={key:`Tab`,run:gA,shift:_A},CA=11,wA=1,TA=2,EA=3,DA=4,OA=5,kA=6,AA=7,jA=[-1,9,13,32],MA={mindmap:TA,pie:wA,flowchart:EA,graph:EA,sequenceDiagram:DA,journey:OA,requirementDiagram:kA,gantt:AA},NA=Object.keys(MA),PA=new ba(e=>{if(jA.includes(e.next))return;let t=``;for(;e.next!=10&&e.next!==-1;)t+=String.fromCodePoint(e.next),e.advance();e.advance();let n=NA.filter(e=>t.startsWith(e));if(n.length>0){for(;e.next!==-1;)e.advance();e.acceptToken(MA[n[0]])}else e.acceptToken(CA)}),FA=xa.deserialize({version:14,states:`nOVQROOOOQQ'#Ce'#CeOVQROOQOQPOOOOQQ-E6c-E6c`,stateData:`q~O]OS~OPROQRORROSROTROUROVROZPO~O`,goto:`aYPPPPPPPPPZQQORSQ`,nodeNames:`⚠ PieDiagram MindmapDiagram FlowchartDiagram SequenceDiagram JourneyDiagram RequirementDiagram GanttDiagram MermaidDiagram`,maxTerm:13,skippedNodes:[0],repeatNodeCount:1,tokenData:`j~RRXY[]^[pq[~aR]~XY[]^[pq[`,tokenizers:[0,PA],topRules:{MermaidDiagram:[0,8]},tokenPrec:0}),IA=16,LA=1,RA=2,zA=3,BA=4,VA=5,HA=17,UA=18,WA=[LA,RA,zA,BA,VA],GA=10,KA=13,qA=32,JA=9,YA=35,XA=58,ZA=40,QA=41,$A=91,ej=93,tj=123,nj=125,rj=new ba((e,t)=>{if(!(e.next<0)){e.advance();let t=0;for(;e.next==qA||e.next==JA;)e.advance(),t++;let n=e.next==GA||e.next==KA||e.next==YA;e.acceptToken(n?UA:HA,-t)}},{contextual:!0,fallback:!0}),ij=new ba((e,t)=>{let n=0;for(;e.next>-1&&e.next!==GA;){if(e.next===XA)return;if(e.next===ZA||e.next===$A||e.next===tj)if(n>0){e.acceptToken(t.context.lineType);return}else return;if((e.next===QA||e.next===ej||e.next===nj)&&n>0){e.acceptToken(t.context.lineType);return}e.advance(),n++}e.acceptToken(t.context.lineType)}),aj=e=>4-e%4,oj=new ba((e,t)=>{let n=e.peek(-1);if(n==GA||n==KA){for(;!(e.next!=qA&&e.next!=JA);)e.advance();e.next!=GA&&e.next!=KA&&e.next!=YA&&e.acceptToken(IA)}}),sj={lineType:LA},cj=e=>{let t=0;for(let n=0;n<e.length;n++)t+=e.charCodeAt(n)==JA?aj(t):1;return t},lj=e=>WA[e%5],uj=new Sa({start:sj,shift(e,t,n,r){return t===IA&&(e.lineType=lj(cj(r.read(r.pos,n.pos)))),e}}),dj={diagramName:Bi.define(X.typeName)},fj={diagramName:Bi.define(dj.diagramName),lineText1:Bi.define(),lineText2:Bi.define(),lineText3:Bi.define(),lineText4:Bi.define(),lineText5:Bi.define()},pj={diagramName:Bi.define(dj.diagramName),lineComment:Bi.define(X.lineComment),number:Bi.define(X.number),showData:Bi.define(X.keyword),string:Bi.define(X.string),title:Bi.define(X.keyword),titleText:Bi.define(X.string)},mj={diagramName:Bi.define(dj.diagramName),keyword:Bi.define(X.keyword),lineComment:Bi.define(X.lineComment),link:Bi.define(X.contentSeparator),nodeEdge:Bi.define(X.contentSeparator),nodeEdgeText:Bi.define(X.string),nodeId:Bi.define(X.variableName),nodeText:Bi.define(X.string),number:Bi.define(X.number),orientation:Bi.define(X.modifier),string:Bi.define(X.string)},hj={diagramName:Bi.define(dj.diagramName),arrow:Bi.define(X.contentSeparator),keyword1:Bi.define(X.keyword),keyword2:Bi.define(X.controlKeyword),lineComment:Bi.define(X.lineComment),messageText1:Bi.define(X.string),messageText2:Bi.define(X.content),nodeText:Bi.define(X.variableName),position:Bi.define(X.modifier)},gj={diagramName:Bi.define(dj.diagramName),actor:Bi.define(X.variableName),keyword:Bi.define(X.keyword),lineComment:Bi.define(X.lineComment),score:Bi.define(X.number),text:Bi.define(X.string)},_j={diagramName:Bi.define(dj.diagramName),arrow:Bi.define(X.contentSeparator),keyword:Bi.define(X.keyword),lineComment:Bi.define(X.lineComment),number:Bi.define(X.number),quotedString:Bi.define(X.string),unquotedString:Bi.define(X.content)},vj={diagramName:Bi.define(dj.diagramName),keyword:Bi.define(X.keyword),lineComment:Bi.define(X.lineComment),string:Bi.define(X.string)},yj=Gi({DiagramName:fj.diagramName,LineText1:fj.lineText1,LineText2:fj.lineText2,LineText3:fj.lineText3,LineText4:fj.lineText4,LineText5:fj.lineText5}),bj={__proto__:null,mindmap:44,icon:50},xj=xa.deserialize({version:14,states:`&fOYQ[OOOOQW'#Ci'#CiQbQ[OOQgQ[OOOOQW'#Cc'#CcOOQW-E6g-E6gOlQ]O'#CdOOQW'#Cj'#CjQgQ[OOO!]Q^O,59OOOQW-E6h-E6hOOQW'#Cs'#CsO!vQ[O'#CeO!{Q^O'#CgO!{Q^O'#CyO!{Q^O'#C|O!{Q^O'#C}O!{Q^O'#DQO!{Q^O'#DRO!{Q^O'#DSOOQW'#Ch'#ChO#^Q[O1G.jOOQW1G.j1G.jO#hQ[O,59POOQW'#Cf'#CfOOQW,59R,59RO#mQ[O,59eO#rQ[O,59hO#wQ[O,59iO#|Q[O,59lO$RQ[O,59mO$WQ[O,59nOOQW7+$U7+$UO!{Q^O1G.kOOQW1G/P1G/POOQW1G/S1G/SOOQW1G/T1G/TOOQW1G/W1G/WOOQW1G/X1G/XOOQW1G/Y1G/YO$]Q[O7+$VOOQW<<Gq<<Gq`,stateData:"$b~OdOSbOS~OaPOfSO~OaPO~OaUO~O`XO_WXaWX~Oj_OkbOn^Or`OsaOwcO~OPZOQZORZOSZOTZOh[Ol]O~PwOihO~OPZOQZORZOSZOTZO~O_WiaWi~PwOjqO~OorO~OksO~OstO~OruO~OjvO~OxwO~OkyO~O",goto:"#YwPPPPPPPx{!P!S!P!V!]!cPPPPPPPP!iPPPPP#UPP#U#UPP#U#U#URROTVRWRfXRg[QfXRpeQQORTQQWRRYWQeXQi]Qj^Qk_Ql`QmaQnbQocRxqTdXe",nodeNames:`⚠ LineText1 LineText2 LineText3 LineText4 LineText5 MindmapDiagram DiagramName Line IconLine Icon ClassLine ShapedText`,maxTerm:40,context:uj,propSources:[yj],skippedNodes:[0],repeatNodeCount:2,tokenData:"$b~R]XYz[]zpqzxy!fyz!s![!]#Q!c!}#e!}#O#p#O#P!]#P#Q#u#T#o#e#o#p#z#q#r$V~!PSd~XYz[]zpqz#O#P!]~!`QYZz]^z~!kPj~xy!n~!sOr~~!xPk~yz!{~#QOs~~#TP![!]#W~#]Ph~![!]#`~#eOl~~#jQe~!c!}#e#T#o#e~#uOn~~#zOo~~#}P#o#p$Q~$VOw~~$YP#q#r$]~$bOx~",tokenizers:[oj,ij,0,rj],topRules:{MindmapDiagram:[0,6]},specialized:[{term:21,get:e=>bj[e]||-1}],tokenPrec:0}),Sj=1,Cj=new ba(e=>{if(e.next===10){e.acceptToken(Sj);return}if(e.next!==-1){for(;e.next!==10&&e.next!==-1;)e.advance();e.acceptToken(Sj)}}),wj=Gi({DiagramName:pj.diagramName,LineComment:pj.lineComment,Number:pj.number,ShowData:pj.showData,String:pj.string,Title:pj.title,TitleText:pj.titleText}),Tj={__proto__:null,pie:34,showData:36,title:38},Ej=xa.deserialize({version:14,states:"$nOYQQOOO_QQO'#CkOOQO'#Ce'#CeQYQQOOOOQO'#C`'#C`OpOSO'#CcOxQQO'#CpOOQO'#Cf'#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O#]R&[VQPfQOY&TYZ#]Zr&Trs&qs;'S&T;'S;=`'Y<%lO&TP&vSQPOY&qZ;'S&q;'S;=`'S<%lO&qP'VP;=`<%l&qR']P;=`<%l&TR'gWWPfQOr#]s!O#]!O!P(P!P!Q#]!Q!['`![;'S#];'S;=`#n<%lO#]R(UUfQOr#]s!Q#]!Q![(h![;'S#];'S;=`#n<%lO#]R(oUWPfQOr#]s!Q#]!Q![(h![;'S#];'S;=`#n<%lO#]R)YSgPfQOr#]s;'S#];'S;=`#n<%lO#]R)mW`PfQOr#]s!c#]!c!})f!}#T#]#T#o)f#o;'S#];'S;=`#n<%lO#]",tokenizers:[Cj,0,1],topRules:{PieDiagram:[0,3]},specialized:[{term:16,get:e=>Tj[e]||-1}],tokenPrec:0}),Dj=1,Oj=2,kj=3,Aj=[-1,9,13,32,34,39,96],jj=[40,62,91,123,124],Mj=[41,93,124,125],Nj=45,Pj=61,Fj=46,Ij=new ba(e=>{if(!(Aj.includes(e.next)||jj.includes(e.next))){for(;!Mj.includes(e.next)&&e.next!==-1;)e.advance();e.acceptToken(Oj)}}),Lj=new ba(e=>{if(!(Aj.includes(e.next)||jj.includes(e.next)||e.next===Nj||e.next===Pj||e.next===Fj)){for(;e.next!==Nj&&e.next!==Pj&&e.next!==Fj&&e.next!==-1;)e.advance();e.acceptToken(Dj)}}),Rj=new ba(e=>{if(!(e.next===10||e.next===-1)){for(;e.next!==10&&e.next!==-1;)e.advance();e.acceptToken(kj)}}),zj=Gi({"( )":X.paren,"[ ]":X.squareBracket,"{ }":X.brace,"<":X.angleBracket,DiagramName:mj.diagramName,DoubleEqual:mj.link,DoubleHyphen:mj.link,Keyword:mj.keyword,LineComment:mj.lineComment,Link:mj.link,NodeEdge:mj.nodeEdge,NodeEdgeText:mj.nodeEdgeText,NodeId:mj.nodeId,NodeText:mj.nodeText,Number:mj.number,Orientation:mj.orientation,String:mj.string}),Bj={__proto__:null,flowchart:60,graph:62,TB:64,TD:66,BT:68,RL:70,LR:72,subgraph:148,end:150,direction:152,click:154,call:156,href:158,_self:160,_blank:162,_parent:164,_to:166,style:170,linkStyle:172,class:174,classDef:176},Vj=xa.deserialize({version:14,states:"*hOYQWOOOvQWO'#CxOOQO'#Co'#CoQYQWOOOOQO'#Cb'#CbOOQO'#Cp'#CpO!TQWO,59dO!cQWO,59dOOQS'#Cc'#CcOOQO-E6m-E6mOOQO-E6n-E6nO%aQWO1G/OOOQS'#Cd'#CdO(_O`O'#CfO(gOpO'#CfO(oO!bO'#CfO(wQYO'#CeO(wQYO'#CeO(wQYO'#CeO(wQYO'#CeO(wQYO'#CeO(wQYO'#CeO(wQYO'#CeO(wQYO'#CeO(wQYO'#CeO(wQYO'#CeOOQO'#Cg'#CgO)VQXO'#ChOOQO'#DS'#DSO)eQWO'#DSO%aQWO1G/OOOQO'#Ck'#CkOOQO'#Cn'#CnO)yQWO7+$jOOOO'#Cq'#CqO,wO`O,59QOOQO,59Q,59QOOOO'#Cr'#CrO-POpO,59QOOOO'#Cs'#CsO-XO!bO,59QOOQO'#DU'#DUO-aQWO,59PO-fQWO,59PO-kQWO,59PO-pQ#tO,59PO-uQ#tO,59PO-}Q#tO,59PO.SQ#tO,59PO.XQWO,59PO.^Q#tO,59PO.cQ&jO,59POOQO'#Dv'#DvO.hQWO,59SO.|Q[O,59nO)yQWO7+$jO/RQWO'#CtO)yQWO7+$jO2dQWO<<HUO2dQWO<<HUOOOO-E6o-E6oOOQO1G.l1G.lOOOO-E6p-E6pOOOO-E6q-E6qOOQO1G.k1G.kOOQO1G.n1G.nOOQO1G/Y1G/YO5bQWO,59`OOQO,59`,59`OOQO-E6r-E6rO8sQWOAN=pOOQO1G.z1G.zP;qQWO'#Cp",stateData:">{~OkOSSOS~OnSOoSO~OpWOqWOrWOsWOtWOuTO~OilXnlXolX~PbOuTOilanlaola~O]kO^kO`lOalOm[Ow`Oy]O{^O}_O!QaO!SbO!TcO!VdO!WeO!ZfO!]aO!^gO!`hO!biO!djO!ejO!fjO!gjO!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ha!iha!kha!lha!mha!nha!oha!pha!qha!rha!sha!tha!uha!vha!wha!xha!yha!zha~O]kO^kO`lOalOm[Ow`Oy]O{^O}_O!QaO!SbO!TcO!VdO!WeO!ZfO!]aO!^gO!`hO!biO!djO!ejO!fjO!gjO!hjO!ijO!klO!loO!moO!noO!ooO!poO!qoO!roO!soO!toO!uoO!vlO!wpO!xpO!ypO!zpOil!Rnl!Rol!R~PbO]kO^kO`lOalOm[Ow`Oy]O{^O}_O!QaO!SbO!TcO!VdO!WeO!ZfO!]aO!^gO!`hO!biO!djO!ejO!fjO!gjO!hjO!ijO!klO!loO!moO!noO!ooO!poO!qoO!roO!soO!toO!uoO!vlO!wpO!xpO!ypO!zpO~PbOukS!d!e!f!g!h!i]^!k!{y{}a`m]~",goto:"'[!kPPPPPP!l!p#Q#a#m$Y#aPP#aPP$i$u${%e%k%q%wPPP&RPPPPPPPPP&VP&iPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP'XTPORQVPg[VZmnq!X!Z![!]!h!jdlVZnq!X!Z![!]!h!jR!WmelVZnq!X!Z![!]!h!jdlVZnq!X!Z![!]!h!jdy`abcdefghiR!UkdlVZnq!X!Z![!]!h!jR!c!VemVZnq!X!Z![!]!h!jQRORXRQUP[YUZ!X![!h!jQZVQ!XnS![q!ZR!h!]Qs]R!^sQv^R!`vQx_R!axQ!ZnQ!]qT!g!Z!]TQORQnVQqZW!Ynq!Z!]X!e!X![!h!jQz`Q{aQ|bQ}cQ!OdQ!PeQ!QfQ!RgQ!ShR!TiR!Vk",nodeNames:`⚠ NodeEdgeText NodeText StyleText LineComment FlowchartDiagram DiagramName Orientation NodeId Node String Link NodeEdge DoubleHyphen DoubleEqual Keyword : ::: StyleKeyword`,maxTerm:89,propSources:[zj],skippedNodes:[0,4],repeatNodeCount:6,tokenData:"=3^!aR3ZOX!)tXY!.cYZ!0iZ^!.c^p!)tpq!.cqr!2wrs+ kst!2wtu!2wuv,(_vw6>_wx7ETxy8Kwyz9!^z{!2w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;=`!.]<%lO!)t_=2qX!OW|SzQ!iPOr!)trs!*jsw!)twx!,^x#S!)t#S#T!-i#T;'S!)t;'S;=`!.]<%lO!)t",tokenizers:[Lj,Ij,Rj,0,1,2,3,4,5],topRules:{FlowchartDiagram:[0,5]},specialized:[{term:29,get:e=>Bj[e]||-1}],tokenPrec:1356}),Hj=24,Uj=1,Wj=2,Gj=3,Kj=4,qj=5,Jj=6,Yj=7,Xj=8,Zj=9,Qj=10,$j=11,eM=12,tM=25,nM=26,rM=27,iM=28,aM=29,oM=30,sM=31,cM=32,lM=33,uM=34,dM=35,fM=36,pM=37,mM=[-1,9,10,13,32,37],hM=[43,45],gM=[44,58,62],_M=[`->`,`-x`,`-)`,` -`,` `],vM=[`-->`,`->>`,`--x`,`--)`,` as`],yM={"left of":eM,"right of":eM,activate:Uj,actor:Xj,alt:tM,and:nM,as:Zj,autonumber:Wj,box:rM,break:iM,create:Gj,critical:aM,deactivate:Kj,destroy:qj,else:oM,end:Jj,link:sM,links:cM,loop:lM,note:Yj,opt:uM,option:dM,over:eM,par:fM,participant:Qj,rect:pM},bM=Object.keys(yM),xM=new ba(e=>{if(!mM.includes(e.next)){for(;e.next!==10&&e.next!==-1;)e.advance();e.acceptToken(Hj)}}),SM=new ba(e=>{if(mM.includes(e.next)||hM.includes(e.next))return;let t=()=>{if(e.peek(0)===-1||e.peek(1)===-1||e.peek(2)===-1)return!1;let t=String.fromCodePoint(e.peek(0))+String.fromCodePoint(e.peek(1));return!!(_M.includes(t)||(t+=String.fromCodePoint(e.peek(2)),vM.includes(t)))},n=``;for(;!gM.includes(e.next)&&!t()&&e.next!==10&&e.next!==-1;)n+=String.fromCodePoint(e.next),e.advance();let r=bM.filter(e=>e===n?n.toLowerCase().startsWith(e):n.toLowerCase().startsWith(e+` `));if(r.length>0){e.acceptToken(yM[r[0]],r[0].length-n.length);return}e.acceptToken($j)}),CM=Gi({DiagramName:hj.diagramName,NodeText:hj.nodeText,Keyword1:hj.keyword1,Keyword2:hj.keyword2,LineComment:hj.lineComment,"Arrow ArrowSuffix":hj.arrow,Position:hj.position,MessageText1:hj.messageText1,MessageText2:hj.messageText2}),wM={__proto__:null,sequenceDiagram:84},TM=xa.deserialize({version:14,states:"'nOVQSOOO[QSO'#DUQOQSOOOOQO'#Cj'#CjO#QQUO,59pOOQP'#Co'#CoOOQQ'#Cq'#CqOOQO'#DY'#DYO#XQUO'#DYO#gQUO'#DYO#lQUO'#DYO#wQUO'#DYO#|QUO'#DYO$RQTO'#DYO$WQUO'#DYO$]QSO1G/[O$eQYO,59tO$sQUO,59tO$xQUO,59tO%TQUO,59tOOQO,59t,59tO%YQUO,59tOOQO'#Cp'#CpO%_QSO,59tO%dQUO7+$vO%kQSO7+$vOOQQ'#Cm'#CmO%sQSO1G/`O%xQUO1G/`O%}QUO1G/`OOQO1G/`1G/`O&VQUO1G/`O&[QUO1G/`O&gQSO1G/`O&oQTO1G/`OOQO,59^,59^O&tQUO<<HbOOQO-E6p-E6pO&oQTO7+$zO&{QSO7+$zO'QQUO7+$zOOQO7+$z7+$zO'VQUO7+$zOOQO'#Cn'#CnPdQUO'#CrOOQO<<Hf<<HfO&oQTO<<HfO'[QSO<<HfOOQOAN>QAN>QO&oQTOAN>QOOQOG23lG23l",stateData:"'g~OwOS~OzRO~O{SOgxX~OPZOQVORYOSZOTYOUVOV[OWXOYXOZWO_VOiTOjTOkTOlTOmTOnTOoUOpUOqTOrTOsTOtTOuTO~Ogxa~PdOXaO``Og|X{|X~OZbO~OWcOYcOZbO~OZdO~O[eO~OhfO~OZgO~O{hOgxi~OZkO{lO}jO!OjO~OZnO~OXoOg|a{|a~OZpO~OZqO~O!PrO~Ogxq~PdO{tOgxq~O!PvO~OZwO~OZwO{xO~OZyO~OXzOg|i{|i~O!PvO!QxO~Oh{O~Ogxy~PdO!P!OO~OZ!PO~OZ}O~O!P!RO~O{w`y`~",goto:"#S}PPPPPPPPPPPPPP!OPP!R!U!b!h!k!qPPPPPPPPPPPPPPPPP!wPPP!zRPORm`QyrQ}vQ!Q!OR!S!RX]Sht|Rd]X^Sht|Qi_RuiRQOQ_SVsht|",nodeNames:`⚠ Activate Autonumber Create Deactivate Destroy End Note Actor As Participant NodeText Position SequenceDiagram DiagramName LineComment Arrow ArrowSuffix MessageText1 Keyword MessageText2 Link`,maxTerm:48,nodeProps:[[`group`,-9,1,2,3,4,5,6,7,19,21,`Keyword1`,-3,8,9,10,`Keyword2`]],propSources:[CM],skippedNodes:[0],repeatNodeCount:1,tokenData:"(x~RmXY!|YZ#qZ^!|pq!|tu$nuv%`{|%}|}&S}!O&X![!]'T!c!}$n#T#o$n#y#z!|$f$g!|$g#BY$n#BY#BZ'Y#BZ$IS$n$IS$I_'Y$I_$I|$n$I|$JO'Y$JO$JT$n$JT$JU'Y$JU$KV$n$KV$KW'Y$KW&FU$n&FU&FV'Y&FV;'S$n;'S;=`%Y<%lO$n~#RYw~X^!|pq!|#y#z!|$f$g!|#BY#BZ!|$IS$I_!|$I|$JO!|$JT$JU!|$KV$KW!|&FU&FV!|~#x[{~w~XY!|YZ#qZ^!|pq!|#y#z!|$f$g!|#BY#BZ!|$IS$I_!|$I|$JO!|$JT$JU!|$KV$KW!|&FU&FV!|~$sVy~tu$n!Q![$n!c!}$n#T#o$n$g;'S$n;'S;=`%Y<%lO$n~%]P;=`<%l$n~%cPuv%f~%kS_~OY%fZ;'S%f;'S;=`%w<%lO%f~%zP;=`<%l%f~&SO}~~&XO!Q~R&^S!OQyz&j}!O&o!`!a&{#l#m&jP&oO`PP&rRyz&j!`!a&{#l#m&jP'QP`P!`!a&j~'YO!P~~'agw~y~X^!|pq!|tu$n!Q![$n!c!}$n#T#o$n#y#z!|$f$g!|$g#BY$n#BY#BZ'Y#BZ$IS$n$IS$I_'Y$I_$I|$n$I|$JO'Y$JO$JT$n$JT$JU'Y$JU$KV$n$KV$KW'Y$KW&FU$n&FU&FV'Y&FV;'S$n;'S;=`%Y<%lO$n",tokenizers:[xM,SM,0,1],topRules:{SequenceDiagram:[0,13]},specialized:[{term:41,get:e=>wM[e]||-1}],tokenPrec:293}),EM=1,DM=14,OM=15,kM=16,AM=[-1,9,10,13,32],jM=[`title`,`section`],MM=e=>e.peek(0)===37&&e.peek(1)===37,NM=e=>AM.includes(e.next)||MM(e),PM=new ba(e=>{if(NM(e))return;let t=``;for(;!AM.includes(e.next);)t+=String.fromCodePoint(e.next),e.advance();let n=jM.filter(e=>e===t?t.toLowerCase().startsWith(e):t.toLowerCase().startsWith(e+` `));if(n.length>0){e.acceptToken(EM,n[0].length-t.length);return}}),FM=new ba(e=>{if(!NM(e)){for(;e.next!==10&&e.next!==-1;)e.advance();e.acceptToken(DM)}}),IM=new ba(e=>{if(!NM(e)){for(;e.next!==58&&e.next!==10&&e.next!==-1;)e.advance();e.acceptToken(OM)}}),LM=new ba(e=>{if(!NM(e)){for(;e.next!==44&&e.next!==10&&e.next!==-1;)e.advance();e.acceptToken(kM)}}),RM=Gi({DiagramName:gj.diagramName,"Text TaskName":gj.text,Actor:gj.actor,Keyword:gj.keyword,LineComment:gj.lineComment,Score:gj.score}),zM={__proto__:null,journey:42},BM=xa.deserialize({version:14,states:"%^OVQ`OOO[QeO'#CoQOQ`OOOOQT'#C_'#C_OOQT'#Cf'#CfOmQeO,59ZOOQO'#Cc'#CcO!OQ`O'#CbOOQO'#Cs'#CsO!TQbO'#CsOvQ`O,59ZOOQT-E6d-E6dO!YQ`O1G.uO!bQdO,58|OOQO'#Ca'#CaOOQO,59_,59_O!gQeO1G.uO!YQ`O1G.uO!xQeO7+$aO#RQ`O7+$aOOQO'#Cd'#CdO#ZQ`O1G.hOOQO,59S,59SOOQO-E6f-E6fO#fQeO<<G{O#wQhO7+$SP#|QeO'#CfOOQO'#Ce'#CeO$[Q`O<<GnO#wQhO'#CgO$gQ`OAN=YOOQO,59R,59ROOQO-E6e-E6e",stateData:"$u~ObOS~OeRO~OPXOSWO_UOfSO]cX~OPXOSWO_UOfSO]ca~Oh]O~O^^O~OfSO]ci~O_dO~OPXOSWO_UOfSO]ci~OPXOSWO_UOfSO]cq~OhiO]UifUi~OPXOSWO_UOfSO]cy~O`kO~OPXOSWO_UOfSO~OimO]UyfUy~OimO]U!RfU!R~Ofb~",goto:"#_hPPPiPlow!P!S!Y!n!tPPPPPP#OPPP#RRPOR_X]WPT`bhj]VPT`bhjRe]QliRomQTPYZT`bhjQ`YSb[aRhcQnlRpnQaYQc[TgacRQOQYPQ[TXf`bhj",nodeNames:`⚠ Keyword JourneyDiagram DiagramName LineComment Text Task TaskName Score Actor`,maxTerm:25,propSources:[RM],skippedNodes:[0],repeatNodeCount:3,tokenData:"$|~RaXY!WYZ!{Z^!Wpq!Wuv#x|}$g![!]$l!c!}$q#T#o$q#y#z!W$f$g!W#BY#BZ!W$IS$I_!W$I|$JO!W$JT$JU!W$KV$KW!W&FU&FV!W~!]Yb~X^!Wpq!W#y#z!W$f$g!W#BY#BZ!W$IS$I_!W$I|$JO!W$JT$JU!W$KV$KW!W&FU&FV!W~#S[f~b~XY!WYZ!{Z^!Wpq!W#y#z!W$f$g!W#BY#BZ!W$IS$I_!W$I|$JO!W$JT$JU!W$KV$KW!W&FU&FV!W~#{Puv$O~$TSS~OY$OZ;'S$O;'S;=`$a<%lO$O~$dP;=`<%l$O~$lOi~~$qOh~~$vQd~!c!}$q#T#o$q",tokenizers:[PM,FM,IM,LM,0],topRules:{JourneyDiagram:[0,2]},specialized:[{term:20,get:e=>zM[e]||-1}],tokenPrec:172}),VM=1,HM=[-1,45,60,62,10,13,123,61],UM=new ba(e=>{if(HM.includes(e.next)||e.next===32)return;let t,n=``,r=0;do{if(t=e.peek(r),t===-1)return;n+=String.fromCodePoint(t),r++}while(!HM.includes(t));(t===45||t===60)&&(n=n.slice(0,-1).trim(),e.acceptToken(VM,n.length))}),WM=Gi({"DiagramName SubDiagramType":_j.diagramName,LineComment:_j.lineComment,IDNumber:_j.number,"UnquotedString RelationshipStart":_j.unquotedString,QuotedString:_j.quotedString,PropKeyword:_j.unquotedString,Keyword:_j.keyword,"ForwardArrow BackArrow Hyphen":_j.arrow}),GM={__proto__:null,requirementDiagram:144,requirement:150,Requirement:152,functionalRequirement:154,FunctionalRequirement:156,performanceRequirement:158,PerformanceRequirement:160,interfaceRequirement:162,InterfaceRequirement:164,physicalRequirement:166,PhysicalRequirement:168,designConstraint:170,DesignConstraint:172,element:174,Element:176,id:18,Id:20,ID:22,text:28,Text:30,risk:34,Risk:36,low:40,Low:42,medium:44,Medium:46,high:48,High:50,verifymethod:54,verifyMethod:56,VerifyMethod:58,analysis:62,Analysis:64,demonstration:66,Demonstration:68,inspection:70,Inspection:72,test:74,Test:76,type:80,Type:82,docRef:86,DocRef:88,contains:96,Contains:98,copies:100,Copies:102,derives:104,Derives:106,satisfies:108,Satisfies:110,verifies:112,Verifies:114,refines:116,Refines:118,traces:120,Traces:122},KM=xa.deserialize({version:14,states:")`OYQQOOO_QQO'#DtQOQQOOOOQO'#C`'#C`O!kQRO,5:`O!rOSO'#CcOOQO'#Ef'#EfO!zQQO'#DZO#SQRO'#DnO$^QRO1G/zOOQO'#Ca'#CaO$eQWO'#DxOOOO'#Do'#DoO$mOSO,58}OOQP,58},58}O$uQQO,59uO$uQQO,59uOOQP,5:Y,5:YOOQP-E7l-E7lOOQP'#Cb'#CbOOQP'#Eg'#EgO%sQQO,5:dOOOO-E7m-E7mOOQP1G.i1G.iO%xQQO1G/aOOQO'#D]'#D]O%}QQO1G/aO&SQQO1G0OO$eQWO7+${O'VQQO7+%jOOQP<<Hg<<HgO'^QQO'#E_O'cQQO'#EbO'hQQO'#EcO'mQQO'#E^OOQO'#Dp'#DpO(qQQO<<IUOOQO'#Cd'#CdOOQO'#Ci'#CiOOQO'#Cl'#ClOOQO'#Cv'#CvOOQO'#DT'#DTOOQO'#DW'#DWO(xQQO'#EaO(}QQO'#EdO)SQQO'#EeOOQP<<IU<<IUO)XQQO,5:yO)^QQO,5:|O)rQQO,5:}OOQO,5:x,5:xOOQO-E7n-E7nOOQPAN>pAN>pO$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agramName SubDiagramType UnquotedString QuotedString ID PropKeyword PropKeyword PropKeyword IDNumber Text PropKeyword PropKeyword Risk PropKeyword PropKeyword RiskType Keyword Keyword Keyword Keyword Keyword Keyword VerifyMethod PropKeyword PropKeyword PropKeyword VerifyMethodType Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Type PropKeyword PropKeyword DocRef PropKeyword PropKeyword RelationshipLine Hyphen RelationshipType Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword ForwardArrow BackArrow`,maxTerm:103,propSources:[WM],skippedNodes:[0,2],repeatNodeCount:3,tokenData:"1g~R{OX#xXY$aYZ&SZ^$a^p#xpq$aqr#xrs'}su#xuv(Sv}#x}!O)v!O!Q#x!Q![*t![!]+|!]!^#x!^!_,a!_!c#x!c!}-]!}#T#x#T#o-]#o#p0o#p#q#x#q#r1S#r#y#x#y#z$a#z$f#x$f$g$a$g#BY#x#BY#BZ$a#BZ$IS#x$IS$I_$a$I_$I|#x$I|$JO$a$JO$JT#x$JT$JU$a$JU$KV#x$KV$KW$a$KW&FU#x&FU&FV$a&FV;'S#x;'S;=`$Z<%lO#xQ#}S!}QOr#xs;'S#x;'S;=`$Z<%lO#xQ$^P;=`<%l#xV$hh!}Q!gTOX#xX^$a^p#xpq$aqr#xs#y#x#y#z$a#z$f#x$f$g$a$g#BY#x#BY#BZ$a#BZ$IS#x$IS$I_$a$I_$I|#x$I|$JO$a$JO$JT#x$JT$JU$a$JU$KV#x$KV$KW$a$KW&FU#x&FU&FV$a&FV;'S#x;'S;=`$Z<%lO#xV&]j!}Q!kP!gTOX#xXY$aYZ&SZ^$a^p#xpq$aqr#xs#y#x#y#z$a#z$f#x$f$g$a$g#BY#x#BY#BZ$a#BZ$IS#x$IS$I_$a$I_$I|#x$I|$JO$a$JO$JT#x$JT$JU$a$JU$KV#x$KV$KW$a$KW&FU#x&FU&FV$a&FV;'S#x;'S;=`$Z<%lO#x~(SO!|~V(XU!}QOr#xsu#xuv(kv;'S#x;'S;=`$Z<%lO#xV(rVQT!}QOY(kYZ#xZr(krs)Xs;'S(k;'S;=`)p<%lO(kT)^SQTOY)XZ;'S)X;'S;=`)j<%lO)XT)mP;=`<%l)XV)sP;=`<%l(kR)}U!}Q!OPOr#xs!`#x!`!a*a!a;'S#x;'S;=`$Z<%lO#xR*hS!}Q!`POr#xs;'S#x;'S;=`$Z<%lO#xR*{W[P!}QOr#xs!O#x!O!P+e!P!Q#x!Q![*t![;'S#x;'S;=`$Z<%lO#xR+jU!}QOr#xs!Q#x!Q![*t![;'S#x;'S;=`$Z<%lO#xR,TS#SP!}QOr#xs;'S#x;'S;=`$Z<%lO#xR,fU!}QOr#xs}#x}!O,x!O;'S#x;'S;=`$Z<%lO#xR-PS!}Q!aPOr#xs;'S#x;'S;=`$Z<%lO#xV-fb!}Q!{S!iPOY.nYZ#xZ].n]^#x^r.nrs/ts}.n}!O#x!O!^.n!^!a#x!a!c.n!c!}-]!}#T.n#T#o-]#o#p#x#p;'S.n;'S;=`0i<%lO.nU.u_!}Q!{SOY.nYZ#xZ].n]^#x^r.nrs/ts}.n}!O#x!O!^.n!^!a#x!a#o.n#o#p#x#p;'S.n;'S;=`0i<%lO.nS/yW!{SOY/tZ]/t^}/t!O!^/t!a#o/t#p;'S/t;'S;=`0c<%lO/tS0fP;=`<%l/tU0lP;=`<%l.nR0vS#OP!}QOr#xs;'S#x;'S;=`$Z<%lO#xR1ZS#PP!}QOr#xs;'S#x;'S;=`$Z<%lO#x",tokenizers:[UM,0,1,2],topRules:{RequirementDiagram:[0,3]},specialized:[{term:71,get:e=>GM[e]||-1}],tokenPrec:428}),qM=1,JM=2,YM=3,XM=4,ZM=5,QM=6,$M=7,eN=8,tN=9,nN=17,rN={axisFormat:qM,dateFormat:JM,excludes:YM,inclusiveEndDates:XM,section:tN,tickInterval:ZM,title:QM,todayMarker:$M,weekday:eN},iN=Object.keys(rN),aN=new ba(e=>{if(e.next===32||e.next===10||e.next===-1||e.next===37&&e.peek(1)===37)return;let t=``;for(;e.next!==10&&e.next!==-1;)t+=String.fromCodePoint(e.next),e.advance();let n=iN.filter(e=>e===t?t.startsWith(e):t.startsWith(e+` `));if(n.length>0){e.acceptToken(rN[n[0]],n[0].length-t.length);return}e.acceptToken(nN)}),oN=Gi({"DiagramName Section":vj.diagramName,Keyword:vj.keyword,ImportantText:vj.string,LineComment:vj.lineComment}),sN={__proto__:null,gantt:44},cN=xa.deserialize({version:14,states:"!|OVQQOOO[QQO'#CpQOQQOOOOQO'#Cg'#CgO!XQRO,59[OOQP'#Ci'#CiO!`QRO'#CtO!SQRO'#CtOOQP'#Ct'#CtO!eQRO'#CkO#`QRO1G.vOOQP'#Ch'#ChOOQP,59`,59`OOQP,59V,59VOOQP-E6i-E6i",stateData:"#j~OcOS~OfRO~OgSO`dX~OPVOQVORVOSWOTVOUUOVVOWVOXUO^WOaTO~O`da~PdOaZO~Og]OP_XQ_XR_XS_XT_XU_XV_XW_XX_X^_X`_Xa_X~O`di~PdOgc~",goto:`!UiPPPPPPPPPPPjmpPwPPPP}PPP!QRPOR[USWSYR[VQYSR^YRQOTXSY`,nodeNames:`⚠ AxisFormat DateFormat Excludes InclusiveEndDates TickInterval Title TodayMarker Weekday Section GanttDiagram DiagramName ImportantText Text LineComment`,maxTerm:24,nodeProps:[[`group`,-8,1,2,3,4,5,6,7,8,`Keyword`]],propSources:[oN],skippedNodes:[0],repeatNodeCount:1,tokenData:"$l~R_XY!QYZ!uZ^!Qpq!Quv#r!c!}$a#T#o$a#y#z!Q$f$g!Q#BY#BZ!Q$IS$I_!Q$I|$JO!Q$JT$JU!Q$KV$KW!Q&FU&FV!Q~!VYc~X^!Qpq!Q#y#z!Q$f$g!Q#BY#BZ!Q$IS$I_!Q$I|$JO!Q$JT$JU!Q$KV$KW!Q&FU&FV!Q~!|[g~c~XY!QYZ!uZ^!Qpq!Q#y#z!Q$f$g!Q#BY#BZ!Q$IS$I_!Q$I|$JO!Q$JT$JU!Q$KV$KW!Q&FU&FV!Q~#uPuv#x~#}S^~OY#xZ;'S#x;'S;=`$Z<%lO#x~$^P;=`<%l#x~$fQe~!c!}$a#T#o$a",tokenizers:[aN,0],topRules:{GanttDiagram:[0,10]},specialized:[{term:21,get:e=>sN[e]||-1}],tokenPrec:115}),lN;(function(e){e.Mermaid=`MermaidDiagram`,e.Mindmap=`MindmapDiagram`,e.Pie=`PieDiagram`,e.Flowchart=`FlowchartDiagram`,e.Sequence=`SequenceDiagram`,e.Journey=`JourneyDiagram`,e.Requirement=`RequirementDiagram`,e.Gantt=`GanttDiagram`})(lN||={});var uN;(function(e){e.Mermaid=`mermaid`,e.Mindmap=`mindmap`,e.Pie=`pie`,e.Flowchart=`flowchart`,e.Sequence=`sequenceDiagram`,e.Journey=`journey`,e.Requirement=`requirementDiagram`,e.Gantt=`gantt`})(uN||={});var dN;(function(e){e.Mermaid=`mermaid`,e.Mindmap=`mindmap`,e.Pie=`pie`,e.Flowchart=`flowchart`,e.Sequence=`sequence`,e.Journey=`journey`,e.Requirement=`requirement`,e.Gantt=`gantt`})(dN||={});var fN;(function(e){e.Graph=`graph`,e.Sequence=`sequence`,e.Requirement=`requirement`})(fN||={});var pN=ga.define({name:dN.Mermaid,parser:FA.configure({wrap:ha(e=>{switch(e.name){case lN.Mindmap:return{parser:xj};case lN.Pie:return{parser:Ej};case lN.Flowchart:return{parser:Vj};case lN.Sequence:return{parser:TM};case lN.Journey:return{parser:BM};case lN.Requirement:return{parser:KM};case lN.Gantt:return{parser:cN};default:return null}})})}),mN=ga.define({name:dN.Mindmap,parser:xj}),hN=ga.define({name:dN.Pie,parser:Ej}),gN=ga.define({name:dN.Flowchart,parser:Vj}),_N=ga.define({name:dN.Sequence,parser:TM}),vN=ga.define({name:dN.Journey,parser:BM}),yN=ga.define({name:dN.Requirement,parser:KM}),bN=ga.define({name:dN.Gantt,parser:cN});function xN(){return new ma(pN)}function SN(){return new ma(mN)}function CN(){return new ma(hN)}function wN(){return new ma(gN)}function TN(){return new ma(_N)}function EN(){return new ma(vN)}function DN(){return new ma(yN)}function ON(){return new ma(bN)}sa.of({name:uN.Mermaid,load:async()=>xN()}),sa.of({name:uN.Mindmap,load:async()=>SN()}),sa.of({name:uN.Pie,load:async()=>CN()}),sa.of({name:uN.Flowchart,alias:[fN.Graph],load:async()=>wN()}),sa.of({name:uN.Sequence,alias:[fN.Sequence],load:async()=>TN()}),sa.of({name:uN.Journey,load:async()=>EN()}),sa.of({name:uN.Requirement,alias:[fN.Requirement],load:async()=>DN()}),sa.of({name:uN.Gantt,load:async()=>ON()});function kN(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=Gt(`pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground select-none in-data-[slot=tooltip-content]:bg-background/20 in-data-[slot=tooltip-content]:text-background dark:in-data-[slot=tooltip-content]:bg-background/10 [&_svg:not([class*='size-'])]:size-3`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(`kbd`,{"data-slot":`kbd`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function AN(){}function jN(e){let{xmlFragment:t,ytext:n}=e,r=(e,t)=>{},i=(e,t)=>{};return t.observeDeep(r),n.observe(i),()=>{t.unobserveDeep(r),n.unobserve(i)}}function MN(e){return e.editorView}function NN(e){if(!e.isDestroyed)return e.extensionManager.extensions.find(e=>e.name===`collaboration`)?.options?.document}function PN(e){return e?e.startsWith(`Unregistered component:`)?`info`:e.startsWith(`Render error in`)?`warn`:`error`:`error`}var FN={info:{wrapperClass:`border-muted-foreground/30 bg-muted/30`,badgeClass:`text-muted-foreground bg-muted`,label:`unknown`},warn:{wrapperClass:`border-amber-400/60 dark:border-amber-500/40 bg-amber-50/50 dark:bg-amber-900/10`,badgeClass:`text-amber-600 dark:text-amber-400 bg-amber-100 dark:bg-amber-900/30`,label:`render error`},error:{wrapperClass:`border-destructive/60 bg-destructive/5`,badgeClass:`text-destructive bg-destructive/10`,label:`parse error`}};function IN(){return IN=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IN.apply(null,arguments)}var LN=e=>{var{theme:t,settings:n={},styles:r=[]}=e,i={".cm-gutters":{}},a={};n.background&&(a.backgroundColor=n.background),n.backgroundImage&&(a.backgroundImage=n.backgroundImage),n.foreground&&(a.color=n.foreground),n.fontSize&&(a.fontSize=n.fontSize),(n.background||n.foreground)&&(i[`&`]=a),n.fontFamily&&(i[`&.cm-editor .cm-scroller`]={fontFamily:n.fontFamily}),n.gutterBackground&&(i[`.cm-gutters`].backgroundColor=n.gutterBackground),n.gutterForeground&&(i[`.cm-gutters`].color=n.gutterForeground),n.gutterBorder&&(i[`.cm-gutters`].borderRightColor=n.gutterBorder),n.caret&&(i[`.cm-content`]={caretColor:n.caret},i[`.cm-cursor, .cm-dropCursor`]={borderLeftColor:n.caret});var o={};return n.gutterActiveForeground&&(o.color=n.gutterActiveForeground),n.lineHighlight&&(i[`.cm-activeLine`]={backgroundColor:n.lineHighlight},o.backgroundColor=n.lineHighlight),i[`.cm-activeLineGutter`]=o,n.selection&&(i[`&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection`]={background:n.selection+` !important`}),n.selectionMatch&&(i[`& .cm-selectionMatch`]={backgroundColor:n.selectionMatch}),[aa.theme(i,{dark:t===`dark`}),Ji(_a.define(r))]},RN={background:`#2E3235`,foreground:`#DDDDDD`,caret:`#DDDDDD`,selection:`#202325`,selectionMatch:`#202325`,gutterBackground:`#292d30`,gutterForeground:`#808080`,gutterBorder:`1px solid #ffffff10`,lineHighlight:`#B9D2FF30`},zN=[{tag:X.keyword,color:`#fda331`},{tag:[X.name,X.deleted,X.character,X.propertyName,X.macroName],color:`#b5bd68`},{tag:[X.variableName],color:`#6fb3d2`},{tag:[X.function(X.variableName)],color:`#fda331`},{tag:[X.labelName],color:`#fc6d24`},{tag:[X.color,X.constant(X.name),X.standard(X.name)],color:`#fda331`},{tag:[X.definition(X.name),X.separator],color:`#cc99cc`},{tag:[X.brace],color:`#cc99cc`},{tag:[X.annotation],color:`#fc6d24`},{tag:[X.number,X.changed,X.annotation,X.modifier,X.self,X.namespace],color:`#fda331`},{tag:[X.typeName,X.className],color:`#6fb3d2`},{tag:[X.operator,X.operatorKeyword],color:`#cc99cc`},{tag:[X.tagName],color:`#fda331`},{tag:[X.squareBracket],color:`#cc99cc`},{tag:[X.angleBracket],color:`#cc99cc`},{tag:[X.attributeName],color:`#6fb3d2`},{tag:[X.regexp],color:`#fda331`},{tag:[X.quote],color:`#DDDDDD`},{tag:[X.string],color:`#b5bd68`},{tag:X.link,color:`#6987AF`,textDecoration:`underline`,textUnderlinePosition:`under`},{tag:[X.url,X.escape,X.special(X.string)],color:`#8abeb7`},{tag:[X.meta],color:`#A54543`},{tag:[X.comment],color:`#808080`,fontStyle:`italic`},{tag:X.monospace,color:`#DDDDDD`},{tag:X.strong,fontWeight:`bold`,color:`#fda331`},{tag:X.emphasis,fontStyle:`italic`,color:`#6fb3d2`},{tag:X.strikethrough,textDecoration:`line-through`},{tag:X.heading,fontWeight:`bold`,color:`#DDDDDD`},{tag:X.special(X.heading1),fontWeight:`bold`,color:`#DDDDDD`},{tag:X.heading1,fontWeight:`bold`,color:`#DDDDDD`},{tag:[X.heading2,X.heading3,X.heading4],fontWeight:`bold`,color:`#DDDDDD`},{tag:[X.heading5,X.heading6],color:`#DDDDDD`},{tag:[X.atom,X.bool,X.special(X.variableName)],color:`#8abeb7`},{tag:[X.processingInstruction,X.inserted],color:`#8abeb7`},{tag:[X.contentSeparator],color:`#6fb3d2`},{tag:X.invalid,color:`#B9D2FF`,borderBottom:`1px dotted #fc6d24`}],BN=e=>{var{theme:t=`dark`,settings:n={},styles:r=[]}=e||{};return LN({theme:t,settings:IN({},RN,n),styles:[...zN,...r]})};BN();var VN={background:`#ffffff`,foreground:`#2e3440`,caret:`#3b4252`,selection:`#eceff4`,selectionMatch:`#e5e9f0`,gutterBackground:`#eceff4`,gutterForeground:`#2e3440`,gutterBorder:`none`,lineHighlight:`#02255f11`},HN=[{tag:X.keyword,color:`#5e81ac`},{tag:[X.name,X.deleted,X.character,X.propertyName,X.macroName],color:`#d08770`},{tag:[X.variableName],color:`#d08770`},{tag:[X.function(X.variableName)],color:`#5e81ac`},{tag:[X.labelName],color:`#81a1c1`},{tag:[X.color,X.constant(X.name),X.standard(X.name)],color:`#5e81ac`},{tag:[X.definition(X.name),X.separator],color:`#a3be8c`},{tag:[X.brace],color:`#8fbcbb`},{tag:[X.annotation],color:`#d30102`},{tag:[X.number,X.changed,X.annotation,X.modifier,X.self,X.namespace],color:`#88c0d0`},{tag:[X.typeName,X.className],color:`#ebcb8b`},{tag:[X.operator,X.operatorKeyword],color:`#a3be8c`},{tag:[X.tagName],color:`#b48ead`},{tag:[X.squareBracket],color:`#bf616a`},{tag:[X.angleBracket],color:`#d08770`},{tag:[X.attributeName],color:`#ebcb8b`},{tag:[X.regexp],color:`#5e81ac`},{tag:[X.quote],color:`#3b4252`},{tag:[X.string],color:`#d08770`},{tag:X.link,color:`#8fbcbb`,textDecoration:`underline`,textUnderlinePosition:`under`},{tag:[X.url,X.escape,X.special(X.string)],color:`#d08770`},{tag:[X.meta],color:`#88c0d0`},{tag:[X.comment],color:`#434c5e`,fontStyle:`italic`},{tag:X.strong,fontWeight:`bold`,color:`#5e81ac`},{tag:X.emphasis,fontStyle:`italic`,color:`#5e81ac`},{tag:X.strikethrough,textDecoration:`line-through`},{tag:X.heading,fontWeight:`bold`,color:`#5e81ac`},{tag:X.special(X.heading1),fontWeight:`bold`,color:`#5e81ac`},{tag:X.heading1,fontWeight:`bold`,color:`#5e81ac`},{tag:[X.heading2,X.heading3,X.heading4],fontWeight:`bold`,color:`#5e81ac`},{tag:[X.heading5,X.heading6],color:`#5e81ac`},{tag:[X.atom,X.bool,X.special(X.variableName)],color:`#d08770`},{tag:[X.processingInstruction,X.inserted],color:`#8fbcbb`},{tag:[X.contentSeparator],color:`#ebcb8b`},{tag:X.invalid,color:`#434c5e`,borderBottom:`1px dotted #d30102`}],UN=e=>{var{theme:t=`light`,settings:n={},styles:r=[]}=e||{};return LN({theme:t,settings:IN({},VN,n),styles:[...HN,...r]})};UN();var WN=[sa.of({name:`javascript`,alias:[`js`,`jsx`],extensions:[`js`,`mjs`,`cjs`,`jsx`],load:async()=>Ta({jsx:!0})}),sa.of({name:`typescript`,alias:[`ts`,`tsx`],extensions:[`ts`,`mts`,`cts`,`tsx`],load:async()=>Ta({typescript:!0,jsx:!0})}),sa.of({name:`json`,alias:[`jsonc`],extensions:[`json`,`jsonc`],load:()=>n(()=>import(`./dist-CkLidFHS.js`).then(e=>e.t).then(e=>e.json()),__vite__mapDeps([25,4,26,27,28]),import.meta.url)}),sa.of({name:`yaml`,alias:[`yml`],extensions:[`yaml`,`yml`],load:()=>n(()=>import(`./dist-BEW6C_CZ.js`).then(e=>e.t).then(e=>e.yaml()),__vite__mapDeps([29,4,26,27,28]),import.meta.url)}),sa.of({name:`css`,alias:[`scss`,`less`],extensions:[`css`,`scss`,`less`],load:async()=>Ca()}),sa.of({name:`html`,alias:[`htm`],extensions:[`html`,`htm`],load:async()=>wa()}),sa.of({name:`python`,alias:[`py`],extensions:[`py`,`pyw`],load:()=>n(()=>import(`./dist-BuoXuHTG.js`).then(e=>e.python()),__vite__mapDeps([30,31,26,4,27,28]),import.meta.url)}),sa.of({name:`rust`,alias:[`rs`],extensions:[`rs`],load:()=>n(()=>import(`./dist-CgYE3gek.js`).then(e=>e.rust()),__vite__mapDeps([32,26,4,27,28]),import.meta.url)}),sa.of({name:`markdown`,alias:[`md`,`mdx`],extensions:[`md`,`mdx`,`markdown`],load:async()=>Oa()}),sa.of({name:`bash`,alias:[`sh`,`shell`,`zsh`],extensions:[`sh`,`bash`,`zsh`],load:async()=>{let[{StreamLanguage:e,LanguageSupport:t},{shell:r}]=await Promise.all([n(()=>import(`./dist-DVPtn9Zx.js`).then(e=>e.h),__vite__mapDeps([26,4,27]),import.meta.url),n(()=>import(`./shell-CYSl653a.js`),[],import.meta.url)]);return new t(e.define(r))}}),sa.of({name:`go`,alias:[`golang`],extensions:[`go`],load:async()=>{let[{StreamLanguage:e,LanguageSupport:t},{go:r}]=await Promise.all([n(()=>import(`./dist-DVPtn9Zx.js`).then(e=>e.h),__vite__mapDeps([26,4,27]),import.meta.url),n(()=>import(`./go-CJnIK4Uo.js`),[],import.meta.url)]);return new t(e.define(r))}}),sa.of({name:`math`,alias:[`latex`,`tex`],extensions:[`tex`,`latex`],load:async()=>{let[{StreamLanguage:e,LanguageSupport:t},{stex:r}]=await Promise.all([n(()=>import(`./dist-DVPtn9Zx.js`).then(e=>e.h),__vite__mapDeps([26,4,27]),import.meta.url),n(()=>import(`./stex-DYxKXJZx.js`).then(e=>e.n),__vite__mapDeps([33,4]),import.meta.url)]);return new t(e.define(r))}})],GN=Qi.define(),KN=Qi.define(),qN=Wi.line({class:`agent-flash`}),JN=Vi.define({create(){return Wi.none},update(e,t){e=e.map(t.changes);for(let n of t.effects)if(n.is(GN)){let{from:r,to:i}=n.value,a=[];for(let e=r;e<=i;){let n=t.state.doc.lineAt(e);a.push(qN.range(n.from)),e=n.to+1}e=e.update({add:a,sort:!0})}else n.is(KN)&&(e=Wi.none);return e},provide:e=>aa.decorations.from(e)});function YN(e){let t=e.getMap(`agent-flash`);return[JN,$i.define(e=>{let n=0,r=Date.now(),i=null,a=null,o=!1;function s(){let t=e.state.doc.length;t!==0&&(o||(e.dispatch({effects:GN.of({from:0,to:t})}),a&&clearTimeout(a),a=setTimeout(()=>{a=null,!o&&e.dispatch({effects:KN.of(null)})},f)))}let c=e=>{if(He(t),!jt(t,r))return;r=Date.now();let a=Date.now();if(a-n<500){if(!i){let e=500-(a-n);i=setTimeout(()=>{i=null,n=Date.now(),s()},e)}return}n=a,s()};t.observe(c);let l=()=>{document.visibilityState===`visible`?jt(t,r)&&(r=Date.now(),n=Date.now(),s()):r=Date.now()};return document.addEventListener(`visibilitychange`,l),{update(e){},destroy(){o=!0,t.unobserve(c),document.removeEventListener(`visibilitychange`,l),i&&=(clearTimeout(i),null),a&&=(clearTimeout(a),null)}}})]}function XN(e){return{kind:`navigate`,displayState:`resolved`,resolvedTarget:e,hashDocName:e.target,hash:Si({scope:e.scope,name:e.name,path:e.path})}}function ZN(e,t){let n=[e,...t.fallbackTargets??[]],r=new Set,i=null;for(let e of n){if(r.has(e))continue;r.add(e);let n=Oi(e,{pages:t.pages,folderPaths:t.folderPaths,pagesBySlug:t.pagesBySlug,pagesByBasename:t.pagesByBasename});if(n.kind===`skill-file`)return XN(n);if(n.kind!==`asset`){if(n.kind===`missing`){i??=n;continue}return{kind:`navigate`,displayState:n.kind===`folder`?`folder`:`resolved`,resolvedTarget:n,hashDocName:n.target,hash:null}}}let a=i??Oi(e,{pages:t.pages,folderPaths:t.folderPaths,pagesBySlug:t.pagesBySlug,pagesByBasename:t.pagesByBasename});if(a.kind===`skill-file`)return XN(a);if(a.kind!==`missing`&&a.kind!==`asset`)return{kind:`navigate`,displayState:a.kind===`folder`?`folder`:`resolved`,resolvedTarget:a,hashDocName:a.target,hash:null};let o=a.kind===`asset`?{kind:`missing`,target:e}:a,s=t.createDialogSeed??yi(o.target);return{kind:`create`,displayState:`missing`,resolvedTarget:o,initialDir:s.initialDir,suggestedName:s.suggestedName}}function QN(e,t){if(e.has(t))return!0;let n=t.toLowerCase();for(let t of e)if(t.toLowerCase()===n)return!0;return!1}function $N(e,t,n,r){let i=rt(e,t);return i===null?!1:!!(n&&QN(n,i)||r&&QN(r,i))}function eP(e,t,n){let r=j(e,t);if(!r)return`unresolved`;if(r.kind===`external`)return`external`;if(r.kind===`anchor`)return`anchor`;if(n===null)return`loading`;if(r.kind===`asset`)return n.assetPaths===void 0&&n.filePaths===void 0||$N(r.url,t,n.assetPaths,n.filePaths)?`asset`:`unresolved`;let i=ZN(r.docName,{pages:n.pages,folderPaths:n.folderPaths});return i.kind===`create`?`unresolved`:i.displayState}function tP(e,t,n){let r=e.attrs?.href;return typeof r!=`string`||r.length===0||e.attrs?.sourceForm===`wikiembed`?null:{"data-resolution-state":eP(r,n,t)}}function nP(e){return(t,n)=>tP(t,n,e)}var rP=new class{byExt=new Map;viewerUnregisterFns=new WeakMap;register(e){let t=this.viewerUnregisterFns.get(e);if(t)return t;for(let t of e.exts){let n=t.toLowerCase(),r=this.byExt.get(n);r&&r!==e&&console.warn(JSON.stringify({event:`asset-viewer-collision`,ext:n,priorExts:r.exts,newExts:e.exts})),this.byExt.set(n,e)}let n=!1,r=()=>{if(!n){n=!0;for(let t of e.exts){let n=t.toLowerCase();this.byExt.get(n)===e&&this.byExt.delete(n)}this.viewerUnregisterFns.delete(e)}};return this.viewerUnregisterFns.set(e,r),r}lookup(e){let t=this.byExt.get(e.toLowerCase());return t?{ok:!0,viewer:t}:{ok:!1}}clearForTests(){this.byExt.clear(),this.viewerUnregisterFns=new WeakMap}get size(){return this.byExt.size}};function iP(e){globalThis.window?.open(e,`_blank`,`noopener,noreferrer`)}async function aP(e,t={}){let n=t.registry??rP,r=`desktopBridge`in t?t.desktopBridge:globalThis.window?.okDesktop,i=t.openUrl??iP;if(!e.forceOsDelegation){let t=n.lookup(e.ext);if(t.ok){t.viewer.render(e);return}}if(r){let t=await r.shell.openAsset(e.projectRelPath);if(!t.ok){if(t.reason===`extension-blocked`){let t=await r.shell.revealAsset(e.projectRelPath);t.ok||console.warn(`[asset-dispatch] revealAsset failed:`,t.reason,{projectRelPath:e.projectRelPath,ext:e.ext});return}console.warn(`[asset-dispatch] openAsset refused:`,t.reason,{projectRelPath:e.projectRelPath,ext:e.ext})}return}i(e.url)}var oP=new Set([`http:`,`https:`,`mailto:`,`tel:`]);function sP(e){try{let t=new URL(e);return oP.has(t.protocol)}catch{return!1}}function cP(e=window.location.hash){let t=e.match(/^#\/([^?#]+)/);return t?decodeURIComponent(t[1]):``}function lP(e,t=window.location.hash){return j(e,cP(t))}function uP({docName:e,anchor:t}){return Di(e,t)}function dP(e){e.startsWith(`#`)||sP(e)?window.open(e,`_blank`,`noopener,noreferrer`):console.warn(`[safe-nav] blocked non-safe scheme:`,e)}function fP(e){window.location.assign(uP(e))}function pP(e){dP(uP(e))}function mP(e){window.location.assign(Ti(e))}function hP({url:e,projectRelPath:t,ext:n,title:r,newTab:i},a={}){let o=a.navigate??mP,s=a.dispatch??aP;if(i){s({url:e,projectRelPath:t,ext:n,title:r,forceOsDelegation:!0});return}o(t)}function gP(e){return e.metaKey||e.ctrlKey}function _P(e,t,n){let r=gP(e);t(r)&&(e.preventDefault(),r||n())}function vP(e,t=window.location.hash){let n=cP(t);if(!n)return;let r=document.getElementById(e);r&&r.scrollIntoView({behavior:`smooth`,block:`start`}),window.location.assign(Di(n,e))}function yP(e,t=window.location.hash){if(e.kind===`doc`){fP(e);return}if(e.kind===`anchor`){vP(e.anchor,t);return}dP(e.url)}function bP(e,t,n=window.location.hash){return _e(cP(n),e,t)}var xP=/\[([^\]\n]*)\]\((<[^>\n]+>|[^)\s\n]+)(?:\s+(?:"[^"\n]*"|'[^'\n]*'|\([^)\n]*\)))?\)/g,SP=Wi.mark({class:`cm-md-internal-link`}),CP=Wi.mark({class:`cm-md-internal-link cm-md-link-broken`});function wP(e,t,n){let r=eP(e,t,n);return r===`external`?null:r===`unresolved`?`cm-md-internal-link cm-md-link-broken`:`cm-md-internal-link`}function TP(e,t,n){let r=wP(e,t,n);return r===null?null:r.includes(`cm-md-link-broken`)?CP:SP}function EP(e,t){return t>0&&e[t-1]===`!`}function DP(e){let t=e[2]??``;return t.startsWith(`<`)&&t.endsWith(`>`)?t.slice(1,-1):t}function OP(e){let t=new qi,n=cP(),r=rn();for(let{from:i,to:a}of e.visibleRanges){let o=e.state.doc.sliceString(i,a);xP.lastIndex=0;let s=xP.exec(o);for(;s!==null;){let e=EP(o,s.index)?null:TP(DP(s),n,r);e&&t.add(i+s.index,i+s.index+s[0].length,e),s=xP.exec(o)}}return t.finish()}var kP=$i.fromClass(class{decorations;cacheAtBuild;unsubscribe;constructor(e){this.cacheAtBuild=rn(),this.decorations=OP(e),this.unsubscribe=on(t=>{this.cacheAtBuild!==t&&queueMicrotask(()=>{try{e.dispatch({})}catch{}})})}update(e){let t=rn();(e.docChanged||e.viewportChanged||this.cacheAtBuild!==t)&&(this.cacheAtBuild=t,this.decorations=OP(e.view))}destroy(){this.unsubscribe()}},{decorations:e=>e.decorations}),AP=aa.domEventHandlers({mousedown(e,t){if(!e.ctrlKey&&!e.metaKey)return!1;let n=t.posAtCoords({x:e.clientX,y:e.clientY});if(n===null)return!1;let r=t.state.doc.lineAt(n);xP.lastIndex=0;let i=xP.exec(r.text);for(;i!==null;){let t=r.from+i.index,a=t+i[0].length;if(n>=t&&n<=a){let t=DP(i),n=EP(r.text,i.index)?null:lP(t);if(n&&n.kind!==`external`)return eP(t,cP(),rn())===`unresolved`?!1:(e.preventDefault(),n.kind===`doc`&&gP(e)?(pP(n),!0):(yP(n),!0))}i=xP.exec(r.text)}return!1}}),jP=aa.theme({".cm-md-internal-link":{color:`oklch(52.7% 0.154 228.4)`,fontWeight:`500`},".cm-md-internal-link:hover":{textDecoration:`underline`,cursor:`pointer`}});function MP(){return[kP,AP,jP]}function NP(e){switch(e){case`image`:return co;case`video`:return no;case`audio`:return Ro;default:return $a}}function PP(e){let t=e.lastIndexOf(`.`),n=t>e.lastIndexOf(`/`)+1?e.slice(t+1).toLowerCase():``;return n===``?{kind:`folder`}:n===`md`||n===`mdx`?{kind:`page`}:{kind:`asset`,assetExt:n}}function FP(e){return e.kind===`folder`?pr:e.kind===`asset`?e.mediaKind===void 0?e.assetExt?NP(IP(e.assetExt)):$a:NP(e.mediaKind):$a}function IP(e){let t=e.toLowerCase().replace(/^\./,``);return LP.has(t)?`image`:RP.has(t)?`video`:zP.has(t)?`audio`:null}var LP=new Set([`png`,`jpg`,`jpeg`,`gif`,`webp`,`avif`,`svg`,`bmp`,`ico`]),RP=new Set([`mp4`,`webm`,`mov`,`m4v`,`mkv`,`avi`]),zP=new Set([`mp3`,`wav`,`ogg`,`m4a`,`flac`,`aac`,`opus`]);function BP(e){if(e.kind===`create`)return(0,Z.jsx)(Qa,{className:`size-4 shrink-0 text-muted-foreground`,"aria-hidden":`true`});let t=e.kind===`asset`?e.path.split(`.`).pop()??``:void 0;return(0,Z.jsx)(FP({kind:e.kind,assetExt:t}),{className:`size-4 shrink-0 text-muted-foreground`,"aria-hidden":`true`})}function VP(e){return e.kind===`asset`?e.target:e.kind===`anchor`?`${e.docName}#${e.slug}`:e.docName}function HP(e){if(e.kind===`anchor`){let{level:t,text:n}=e;return gi._({id:`Ik-gP0`,values:{level:t,text:n}})}if(e.kind===`asset`){let{title:t}=e;return gi._({id:`hXbSxc`,values:{title:t}})}return e.kind===`create`?e.actionLabel:e.title}function UP(e){let t=(0,$.c)(55),{items:n,query:r,selectedIndex:i,onSelect:a,loading:o,error:c,mode:l,pageTarget:u,anchorQuery:d,hasMore:f}=e,p=o===void 0?!1:o,m=c===void 0?null:c,h=l===void 0?`page`:l,g=u===void 0?``:u,_=d===void 0?``:d,v=f===void 0?!1:f,{_:y}=s(),b=(0,Q.useRef)(null),x=(0,Q.useId)(),S=i>=0&&i<n.length?`${x}-option-${i}`:void 0,C,w;t[0]===i?(C=t[1],w=t[2]):(C=()=>{let e=b.current;if(!e)return;let t=e.querySelectorAll(`[role="option"]`).item(i);t&&t.scrollIntoView({block:`nearest`})},w=[i],t[0]=i,t[1]=C,t[2]=w),(0,Q.useEffect)(C,w);let T=WP;if(p){let e;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(e={maxHeight:`var(--suggestion-menu-max-height, 40vh)`},t[3]=e):e=t[3];let n;t[4]!==y||t[5]!==h||t[6]!==g?(n=y(h===`anchor`?{id:`ONgEZF`,values:{pageTarget:g}}:{id:`q6-JVU`}),t[4]=y,t[5]=h,t[6]=g,t[7]=n):n=t[7];let r;return t[8]===n?r=t[9]:(r=(0,Z.jsx)(`div`,{ref:b,role:`status`,"aria-live":`polite`,className:`w-80 max-w-[min(28rem,90vw)] rounded-lg border bg-popover p-2 shadow-md text-sm text-muted-foreground`,style:e,onMouseDown:T,children:n}),t[8]=n,t[9]=r),r}if(n.length===0){let e;if(t[10]!==y||t[11]!==_||t[12]!==m||t[13]!==h||t[14]!==g||t[15]!==r){let n=_.trim(),i=r.trim();e=m??y(h===`anchor`?n?{id:`6O626z`,values:{trimmedAnchorQuery:n}}:{id:`ct2kv5`,values:{pageTarget:g}}:i?{id:`a9OzSn`,values:{trimmedQuery:i}}:{id:`Oo_WWc`}),t[10]=y,t[11]=_,t[12]=m,t[13]=h,t[14]=g,t[15]=r,t[16]=e}else e=t[16];let n=e,i;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(i={maxHeight:`var(--suggestion-menu-max-height, 40vh)`},t[17]=i):i=t[17];let a;return t[18]===n?a=t[19]:(a=(0,Z.jsx)(`div`,{ref:b,role:`status`,"aria-live":`polite`,className:`w-80 max-w-[min(28rem,90vw)] rounded-lg border bg-popover p-2 shadow-md text-sm text-muted-foreground`,style:i,onMouseDown:T,children:n}),t[18]=n,t[19]=a),a}let E=i>=0&&i<n.length?n[i]:null,D;t[20]!==y||t[21]!==h?(D=y(h===`anchor`?{id:`xDBki3`}:{id:`i1flq_`}),t[20]=y,t[21]=h,t[22]=D):D=t[22];let O;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(O={maxHeight:`var(--suggestion-menu-max-height, 40vh)`},t[23]=O):O=t[23];let k;t[24]===E?k=t[25]:(k=E?HP(E):``,t[24]=E,t[25]=k);let A;t[26]===k?A=t[27]:(A=(0,Z.jsx)(`span`,{className:`sr-only`,"aria-live":`polite`,"aria-atomic":`true`,children:k}),t[26]=k,t[27]=A);let j;t[28]===m?j=t[29]:(j=m&&(0,Z.jsx)(`div`,{className:`rounded-md px-2 py-1.5 text-xs text-amber-700 dark:text-amber-300`,children:m}),t[28]=m,t[29]=j);let M;t[30]!==h||t[31]!==g?(M=h===`anchor`&&(0,Z.jsx)(`div`,{className:`px-2 py-1 text-[10px] font-medium uppercase tracking-wide text-muted-foreground`,children:g}),t[30]=h,t[31]=g,t[32]=M):M=t[32];let N;if(t[33]!==n||t[34]!==x||t[35]!==a||t[36]!==i){let e;t[38]!==x||t[39]!==a||t[40]!==i?(e=(e,t)=>{let n=t===i,r=VP(e);return e.kind===`anchor`?(0,Z.jsxs)(`button`,{id:`${x}-option-${t}`,type:`button`,role:`option`,"aria-selected":n,"data-selected":n,className:`flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm text-left ${n?`bg-accent text-accent-foreground`:``}`,style:{paddingLeft:`${(e.level-1)*10+8}px`},onMouseDown:t=>{t.preventDefault(),a(e)},children:[(0,Z.jsxs)(`span`,{className:`w-6 shrink-0 font-mono text-[10px] text-muted-foreground`,children:[`H`,e.level]}),(0,Z.jsx)(`span`,{className:`truncate font-medium`,children:e.text})]},r):(0,Z.jsxs)(`button`,{id:`${x}-option-${t}`,type:`button`,role:`option`,"aria-selected":n,"data-selected":n,className:`flex w-full items-start gap-2 rounded-md px-2 py-1.5 text-sm text-left ${n?`bg-accent text-accent-foreground`:``}`,onMouseDown:t=>{t.preventDefault(),a(e)},children:[(0,Z.jsx)(`span`,{className:`mt-0.5`,children:BP(e)}),(0,Z.jsxs)(`span`,{className:`flex min-w-0 flex-1 flex-col`,children:[(0,Z.jsx)(`span`,{className:`truncate font-medium`,children:e.kind===`create`?e.actionLabel:e.title}),e.kind===`page`&&e.title!==e.docName&&(0,Z.jsx)(`span`,{className:`line-clamp-2 break-all text-xs text-muted-foreground`,children:e.docName}),e.kind===`asset`&&(0,Z.jsx)(`span`,{className:`line-clamp-2 break-all text-xs text-muted-foreground`,children:e.path}),e.kind===`create`&&(0,Z.jsxs)(`span`,{className:`line-clamp-2 break-all text-xs text-muted-foreground`,children:[e.docName,`.md`]})]})]},r)},t[38]=x,t[39]=a,t[40]=i,t[41]=e):e=t[41],N=n.map(e),t[33]=n,t[34]=x,t[35]=a,t[36]=i,t[37]=N}else N=t[37];let P;t[42]!==y||t[43]!==v||t[44]!==n.length||t[45]!==h?(P=v&&(0,Z.jsx)(`div`,{"data-prop-suggestion-more-hint":``,className:`border-t border-border mt-1 px-2 py-1.5 text-xs text-muted-foreground`,children:y(h===`anchor`?{id:`ypw6My`,values:{0:n.length}}:{id:`3MnvrL`,values:{0:n.length}})}),t[42]=y,t[43]=v,t[44]=n.length,t[45]=h,t[46]=P):P=t[46];let F;return t[47]!==S||t[48]!==A||t[49]!==j||t[50]!==M||t[51]!==N||t[52]!==P||t[53]!==D?(F=(0,Z.jsxs)(`div`,{ref:b,role:`listbox`,"aria-label":D,"aria-activedescendant":S,tabIndex:-1,onMouseDown:T,className:`w-80 max-w-[min(28rem,90vw)] overflow-y-auto subtle-scrollbar rounded-lg border bg-popover p-1 shadow-md`,style:O,children:[A,j,M,N,P]}),t[47]=S,t[48]=A,t[49]=j,t[50]=M,t[51]=N,t[52]=P,t[53]=D,t[54]=F):F=t[54],F}function WP(e){return e.preventDefault()}var GP=new lt(`wikiLinkSuggestion`),KP=8,qP={currentDocName:null,connectedDocNames:new Set},JP=new Set([`.agents`,`.claude`,`.cursor`]),YP=200,XP=100,ZP=50;function QP(e){return e.split(`/`).some(e=>JP.has(e))}function $P(e,t){let n=0;return QP(e)&&(n-=YP),t.currentDocName!==null&&e===t.currentDocName?n+=ZP:t.connectedDocNames.has(e)&&(n+=XP),n}var eF=null,tF=null;function nF(e){let t=e.indexOf(`#`);return t>0?{mode:`anchor`,pageTarget:e.slice(0,t),anchorQuery:e.slice(t+1)}:{mode:`page`,pageTarget:``,anchorQuery:``}}function rF(e,t,n=qP){if(!t)return e.map((e,t)=>({page:e,index:t,boost:$P(e.docName,n)})).sort((e,t)=>t.boost-e.boost||e.index-t.index).slice(0,KP).map(e=>e.page);let r=iF(e);return Oe(r.corpus,t,{intent:`autocomplete`,limit:100}).map(e=>({result:e,adjusted:e.score+$P(e.document.path,n)})).sort((e,t)=>t.adjusted-e.adjusted||e.result.document.path.localeCompare(t.result.document.path)).slice(0,KP).map(e=>r.byPath.get(e.result.document.path)).filter(e=>!!e)}function iF(e){let t=e.map(e=>`${e.kind??`page`}\u0000${e.docName}\u0000${e.title}`).join(``);return eF?.fingerprint===t||(eF={fingerprint:t,byPath:new Map(e.map(e=>[e.docName,e])),corpus:Fe(e.map(e=>$e({kind:`page`,path:e.docName,title:e.title})))}),eF}function aF(e){let t=e.map(e=>`${e.slug}\u0000${e.level}\u0000${e.text}`).join(``);return tF?.fingerprint===t||(tF={fingerprint:t,byPath:new Map(e.map(e=>[e.slug,e])),corpus:Fe(e.map(e=>$e({kind:`page`,path:e.slug,title:e.text})))}),tF}function oF(e,t){if(!t)return e.slice(0,KP);let n=aF(e);return Oe(n.corpus,t,{intent:`autocomplete`,limit:KP}).map(e=>n.byPath.get(e.document.path)).filter(e=>!!e)}function sF(e,t,n=qP){let r=rF(e,t,n);if(r.length>0)return r.map(e=>e.kind===`asset`?{kind:`asset`,target:e.docName,path:e.docName.replace(/^\//,``),title:e.title}:{kind:`page`,docName:e.docName,title:e.title});let i=J_(t);return i?[{kind:`create`,docName:i.target,title:t.trim(),actionLabel:`Insert unresolved link "${t.trim()}"`}]:[]}function cF(e,t,n){return oF(t,n).map(t=>({kind:`anchor`,docName:e,level:t.level,text:t.text,slug:t.slug}))}function lF(e){let{mode:t,pageTarget:n,anchorQuery:r}=nF(e);return t===`anchor`&&n?{target:n,alias:null,anchor:r.trim()||null}:J_(e)}function uF(e){let{$position:t}=e,n=t.parent.textBetween(0,t.parentOffset,void 0,``),r=n.match(/\[\[([^\]]*)$/);if(!r)return null;let i=r[1];return{range:{from:t.start()+n.lastIndexOf(`[[`),to:t.pos},query:i,text:r[0]}}async function dF(){let e=await fetch(`/api/pages`),t;try{t=await e.json()}catch(t){throw new tv(`Pages response was not JSON`,{cause:t,status:e.status})}if(!e.ok){let n=_t.safeParse(t);throw Error(n.success?n.data.title:`/api/pages responded with ${e.status}`)}let n=wt.safeParse(t);if(!n.success)return console.warn(`[wiki-link-suggestion] /api/pages response schema drift:`,n.error),[];let r=n.data.pages.map(e=>({kind:`page`,docName:e.docName,title:e.title})),i;try{let{ok:e,status:t,body:n}=await $t();if(!e)return console.warn(`[wiki-link-suggestion] /api/documents responded with`,t),r;if(i=n??{},!Array.isArray(i.documents))return r}catch(e){return console.warn(`[wiki-link-suggestion] Failed to fetch referenced assets:`,e),r}let a=i.documents.filter(e=>e.kind===`asset`&&typeof e.path==`string`&&e.path.length>0).map(e=>{let t=e.path.split(`/`).pop()??e.path;return{kind:`asset`,docName:`/${e.path}`,title:t}}),o=i.documents.filter(e=>e.kind===`folder`&&typeof e.path==`string`&&e.path.length>0).map(e=>{let t=e.path.split(`/`).pop()??e.path;return{kind:`folder`,docName:e.path,title:t}});return[...r,...a,...o]}async function fF(e){let t=await fetch(`/api/page-headings?docName=${encodeURIComponent(e)}`),n;try{n=await t.json()}catch(e){throw new tv(`Page headings response was not JSON`,{cause:e,status:t.status})}if(!t.ok){let e=_t.safeParse(n);throw Error(e.success?e.data.title:`/api/page-headings responded with ${t.status}`)}let r=ze.safeParse(n);return r.success?r.data.headings??[]:(console.warn(`[wiki-link-suggestion] /api/page-headings response schema drift:`,r.error),[])}async function pF(e){try{let t=await fetch(`/api/forward-links?docName=${encodeURIComponent(e)}`);if(!t.ok)return console.warn(`[wiki-link-suggestion] /api/forward-links responded`,t.status,e),[];let n=re.safeParse(await t.json());return n.success?n.data.forwardLinks.flatMap(e=>e.kind===`doc`?[e.docName]:[]):[]}catch(e){return console.warn(`[wiki-link-suggestion] Failed to fetch forward links:`,e),[]}}async function mF(e){try{let t=await fetch(`/api/backlinks?docName=${encodeURIComponent(e)}`);if(!t.ok)return console.warn(`[wiki-link-suggestion] /api/backlinks responded`,t.status,e),[];let n=ct.safeParse(await t.json());return n.success?n.data.backlinks.map(e=>e.source):[]}catch(e){return console.warn(`[wiki-link-suggestion] Failed to fetch backlinks:`,e),[]}}async function hF(e){if(!e)return qP;let[t,n]=await Promise.all([pF(e),mF(e)]),r=new Set([...t,...n]);return r.delete(e),{currentDocName:e,connectedDocNames:r}}function gF(e){let t=[],n=!1,r=null,i=qP,a=null,o=new Map,s=null,c=null,l=null;return Wu({editor:e,pluginKey:GP,char:`[[`,allowedPrefixes:null,findSuggestionMatch:uF,allow:({editor:e})=>!Zu(e),items:async({query:u})=>{let{mode:d,pageTarget:f,anchorQuery:p}=nF(u);if(d===`anchor`){if(!o.has(f)&&s!==f){s=f;try{let e=await fF(f);o.set(f,e),l=null}catch(e){console.error(`[wiki-link-suggestion] Failed to fetch headings:`,e),o.set(f,[]),l=`Failed to load headings for ${f}. Press Escape and type [[ again to retry.`}finally{s=null}}return cF(f,o.get(f)??[],p)}if(!n){r||=dF(),a||=hF(V_(e));let[o,s]=await Promise.allSettled([r,a]);o.status===`fulfilled`?(t=o.value,c=null):(console.error(`[wiki-link-suggestion] Failed to fetch pages:`,o.reason),c=`Failed to load pages. Press Escape and type [[ again to retry, or continue typing to insert an unresolved link.`,t=[]),s.status===`fulfilled`?i=s.value:(console.warn(`[wiki-link-suggestion] link context load rejected:`,s.reason),i=qP),n=!0,r=null,a=null}return sF(t,u,i)},command:({editor:e,range:t,props:n})=>{try{let r=null;if(n.kind===`page`?r={target:n.docName,alias:null,anchor:null}:n.kind===`asset`?r={target:n.target,alias:n.title,anchor:null}:n.kind===`anchor`?r={target:n.docName,alias:null,anchor:n.slug}:n.kind===`create`&&(r=J_(n.title)),!r)return;e.chain().focus().deleteRange(t).insertContent({type:`wikiLink`,attrs:r}).run()}catch(e){console.error(`[wiki-link-suggestion] command failed`,{item:n,range:t},e)}},render:()=>{let e=null,u=null,d=0,f={popup:null,stopAutoUpdate:null},p=null,m=null,h=e=>{u?.command(e)};function g(e,t,r){let{mode:i,pageTarget:a,anchorQuery:s}=nF(e.query??``),u=t===null?i===`anchor`?!o.has(a):!n:t,f=e.items??[],p=f.length===1&&f[0]?.kind===`create`;return{items:f,query:e.query??``,selectedIndex:d,onSelect:r,loading:u,error:i===`page`?c:l,mode:i,pageTarget:a,anchorQuery:s,hasMore:!p&&f.length>=KP}}let _=t=>{!e||!u||e.updateProps(g(u,t,h))},v=()=>{if(!u)return;let{editor:e,range:t}=u,n=lF(u.query??``);if(n)try{e.chain().focus().deleteRange(t).insertContent({type:`wikiLink`,attrs:n}).run()}catch(e){console.error(`[wiki-link-suggestion] fallback insert error:`,e)}};return{onBeforeStart(t){u=t,d=0;let n=Qu(()=>u,`wiki-link-suggestion`);f.popup=n.popup,p=n.doPosition,m=n.reveal,e=new Nu(UP,{props:g(t,!0,h),editor:t.editor}),n.popup.appendChild(e.element),f.stopAutoUpdate=n.startAutoUpdate()},onBeforeUpdate(e){let t=u?nF(u.query??``).mode:null,n=nF(e.query??``).mode;u=e,t!==n&&(d=0,_(!0))},onStart(e){u=e,d=0,_(null),m?.()},onUpdate(e){u=e,d=Math.min(d,Math.max(0,e.items.length-1)),_(null),p?.()},onKeyDown({event:e}){if(!u)return!1;let t=u.items;if(e.key===`ArrowDown`)return t.length===0?!1:(d=(d+1)%t.length,_(null),!0);if(e.key===`ArrowUp`)return t.length===0?!1:(d=(d-1+t.length)%t.length,_(null),!0);if(e.key===`Enter`||e.key===`Tab`){let e=t[d];return e?u.command(e):v(),!0}return e.key,!1},onExit(){$u(f),p=null,m=null,e?.destroy(),e=null,u=null,d=0,t=[],i=qP,o=new Map,c=null,l=null,n=!1,r=null,a=null,s=null}}}})}var _F=5e3,vF=null,yF=0,bF=null,xF=new Map,SF=new Map;async function CF(e){if(!e)return hF(null);let t=Date.now(),n=SF.get(e);if(n!==void 0&&t-n.time<_F)return n.context;let r=await hF(e);return SF.set(e,{context:r,time:t}),r}async function wF(){let e=Date.now();return vF&&e-yF<_F?vF:(vF=await dF(),yF=e,bF=AF(vF),vF)}async function TF(e){let t=Date.now(),n=xF.get(e);if(n!==void 0&&t-n.time<_F)return n.headings;try{let n=await fF(e);return xF.set(e,{headings:n,time:t}),n}catch(n){return console.warn(`[wiki-link-source] /api/page-headings fetch failed:`,n),xF.set(e,{headings:[],time:t}),[]}}var EF=/\[\[[^\]]*?\]\]/g,DF=Wi.mark({class:`cm-wiki-link`}),OF=Wi.mark({class:`cm-wiki-link cm-wiki-link-broken`});function kF(e){let t=new Set;for(let n of e)if(t.add(n.docName.toLowerCase()),n.title&&t.add(n.title.toLowerCase()),n.kind===`asset`){let e=n.docName.replace(/^\//,``);t.add(e.toLowerCase());let r=e.lastIndexOf(`/`);t.add((r===-1?e:e.slice(r+1)).toLowerCase())}return t}function AF(e){let t=kF(e);for(let n of e){if(n.kind===`asset`)continue;let e=n.docName.split(`/`);e.pop();let r=``;for(let n of e)r=r?`${r}/${n}`:n,t.add(r.toLowerCase())}return t}function jF(e){return e.split(/[#|]/)[0].trim().toLowerCase()}function MF(e){let t=new qi,n=vF?bF:null;for(let{from:r,to:i}of e.visibleRanges){let a=e.state.doc.sliceString(r,i);EF.lastIndex=0;let o=EF.exec(a);for(;o!==null;){let e=DF;if(n){let t=jF(o[0].slice(2,-2));t&&!n.has(t)&&(e=OF)}t.add(r+o.index,r+o.index+o[0].length,e),o=EF.exec(a)}}return t.finish()}var NF=$i.fromClass(class{decorations;cacheWarmAtBuild;constructor(e){this.cacheWarmAtBuild=vF!==null,this.decorations=MF(e),this.cacheWarmAtBuild||this.warmCache(e)}update(e){let t=vF!==null;(e.docChanged||e.viewportChanged||!this.cacheWarmAtBuild&&t)&&(this.cacheWarmAtBuild=t,this.decorations=MF(e.view))}warmCache(e){wF().then(()=>{try{e.dispatch({})}catch{}}).catch(e=>{console.warn(`[wiki-link-source] warmCache fetch failed:`,e)})}},{decorations:e=>e.decorations}),PF=/\[\[([^[\]|#]+?)(?:#([^\]|]+?))?(?:\|([^\]]+?))?\]\]/g,FF=aa.domEventHandlers({mousedown(e,t){if(!e.ctrlKey&&!e.metaKey)return!1;let n=t.posAtCoords({x:e.clientX,y:e.clientY});if(n===null)return!1;let r=t.state.doc.lineAt(n);PF.lastIndex=0;let i=PF.exec(r.text);for(;i!==null;){let t=r.from+i.index,a=t+i[0].length;if(n>=t&&n<=a){let t=i[1]?.trim(),n=i[2]?.trim()||null;if(t){let r=B(t,n);if(!r)return!1;if(e.preventDefault(),r.kind===`external`)dP(r.url);else if(r.kind===`asset`){let t=$_(r.url,new Set((vF??[]).filter(e=>e.kind===`asset`).map(e=>e.docName.replace(/^\//,``))))??r.url.replace(/^\//,``);gP(e)?window.open(Ti(t),`_blank`,`noopener,noreferrer`):window.location.hash=Ti(t)}else gP(e)?pP(r):window.location.hash=Di(r.docName,r.anchor)}return!0}i=PF.exec(r.text)}return!1}});async function IF(e,t){let n=e.state.doc.sliceString(0,e.pos).match(/\[\[([^\]]*)$/);if(!n)return null;let r=n[1],i=e.pos-r.length,a=r.indexOf(`#`);if(a>0){let e=r.slice(0,a),t=r.slice(a+1),n=i+a+1,o=await TF(e);if(!o.length)return null;let s=oF(o,t);return s.length?{from:n,filter:!1,options:s.map(e=>({label:e.text,detail:`H${e.level}`,apply(t,n,r,i){let a=t.state.doc.sliceString(i,i+2)===`]]`?``:`]]`;t.dispatch({changes:{from:r,to:i,insert:e.slug+a},selection:{anchor:r+e.slug.length+a.length}})}}))}:null}let[o,s]=await Promise.all([wF().catch(e=>(console.warn(`[wiki-link-source] Failed to fetch pages:`,e),[])),CF(t)]);return{from:i,filter:!1,options:rF(o,r,s).map(e=>({label:e.title,detail:e.title===e.docName?void 0:e.docName,apply(t,n,r,i){let a=t.state.doc.sliceString(i,i+2)===`]]`?``:`]]`,o=e.kind===`asset`?`${e.docName}|${e.title}${a}`:e.docName+a;t.dispatch({changes:{from:r,to:i,insert:o},selection:{anchor:r+o.length}})}}))}}var LF=aa.theme({".cm-wiki-link":{color:`oklch(52.7% 0.154 228.4)`,fontWeight:`500`},".cm-wiki-link:hover":{textDecoration:`underline`,cursor:`pointer`}});function RF(e=null){return[NF,FF,LF,ka.data.of({autocomplete:t=>IF(t,e)})]}var zF=BN({settings:{background:`transparent`,gutterBackground:`transparent`}}),BF=UN({settings:{background:`transparent`,gutterBackground:`transparent`},styles:[{tag:[X.brace,X.processingInstruction,X.inserted],color:`#3d6968`},{tag:X.link,color:`#3d6968`,textDecoration:`underline`,textUnderlinePosition:`under`},{tag:[X.keyword,X.function(X.variableName),X.regexp,X.color,X.constant(X.name),X.standard(X.name)],color:`#345575`},{tag:[X.heading,X.special(X.heading1),X.heading1,X.heading2,X.heading3,X.heading4],color:`#345575`,fontWeight:`bold`},{tag:[X.heading5,X.heading6],color:`#345575`},{tag:X.strong,color:`#345575`,fontWeight:`bold`},{tag:X.emphasis,color:`#345575`,fontStyle:`italic`},{tag:[X.name,X.deleted,X.character,X.propertyName,X.macroName,X.variableName,X.angleBracket,X.string,X.url,X.escape,X.special(X.string),X.atom,X.bool,X.special(X.variableName)],color:`#9a5739`},{tag:[X.number,X.changed,X.annotation,X.modifier,X.self,X.namespace,X.meta],color:`#3d6968`},{tag:[X.definition(X.name),X.separator,X.operator,X.operatorKeyword],color:`#4a6938`},{tag:[X.typeName,X.className,X.attributeName,X.contentSeparator],color:`#8b6500`},{tag:X.tagName,color:`#774d70`},{tag:X.squareBracket,color:`#964148`},{tag:X.labelName,color:`#3a5e85`}]});function VF(e){let{themeCompartment:t,resolvedTheme:n,ydoc:r}=e,i=n===`dark`?zF:BF,a=e.wordWrap??!0?aa.lineWrapping:[];return[Oa({base:ka,extensions:[Da],codeLanguages:WN}),RF(e.currentDocName??null),MP(),...r?[YN(r)]:[],va.of([]),t.of(i),e.wordWrapCompartment?e.wordWrapCompartment.of(a):a,...e.extraKeymaps?[e.extraKeymaps]:[]]}function HF(e,t,n){let{state:r}=e,i=r.selection.main;if(!i.empty)return!1;if(t===`line`){let e=r.doc.lineAt(i.head);return n<0?e.from===0:e.to===r.doc.length}return n<0?i.head===0:i.head===r.doc.length}function UF(e){let{pmSel:t,nodePos:n,nodeSize:r,cmDocLen:i,cmSel:a,cmHasFocus:o}=e;if(t instanceof Le&&t.from===n)return o?{kind:`noop`}:{kind:`focus`};let s=n+1,c=n+r-1;if(t.from>=s&&t.to<=c){let e=Math.max(0,Math.min(t.anchor-s,i)),n=Math.max(0,Math.min(t.head-s,i));return a.anchor===e&&a.head===n&&o?{kind:`noop`}:{kind:`selection`,anchor:e,head:n}}return{kind:`noop`}}function WF(e,t){let n=vb().parseWithFallback(e),r;try{r=t.nodeFromJSON(n)}catch(e){return console.warn(JSON.stringify({event:`raw-mdx-upgrade-failure`,reason:e instanceof Error?e.message:String(e)})),null}if(r.childCount===0)return null;let i=[];for(let e=0;e<r.childCount;e++){let t=r.child(e);if(t.type.name===`rawMdxFallback`)return null;i.push(t)}return i}function GF(e,t){if(e===t)return null;let n=0,r=e.length,i=t.length;for(;n<r&&e.charCodeAt(n)===t.charCodeAt(n);)n++;for(;r>n&&i>n&&e.charCodeAt(r-1)===t.charCodeAt(i-1);)r--,i--;return{from:n,to:r,text:t.slice(n,i)}}var KF=`Unregistered component:`;function qF(e){if(!e.startsWith(KF))return null;let t=e.slice(23).trim();return t.length>0?t:null}function JF(e){let t=(0,$.c)(58),{node:n,editor:r,getPos:i}=e,{_:a}=s(),o=(0,Q.useRef)(null),l=(0,Q.useRef)(null),u=(0,Q.useRef)(!1),d;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(d=new na,t[0]=d):d=t[0];let f=(0,Q.useRef)(d),p;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(p=new na,t[1]=p):p=t[1];let m=(0,Q.useRef)(p),{resolvedTheme:h}=c(),{merged:g}=fr(),_=g?.editor?.wordWrap??!0,v;t[2]!==a||t[3]!==n.attrs.reason?(v=n.attrs.reason||a({id:`xc4g25`}),t[2]=a,t[3]=n.attrs.reason,t[4]=v):v=t[4];let y=v,b;t[5]===y?b=t[6]:(b=PN(y),t[5]=y,t[6]=b);let x=b,S=FN[x],C=x===`info`?qF(y):null,w;t[7]!==r||t[8]!==i?(w=e=>{let t=typeof i==`function`?i():void 0;if(t===void 0)return;let n=MN(r);if(!n)return;let a=n.state.doc.nodeAt(t);if(!a||a.type.name!==`rawMdxFallback`)return;let o=t+1,s=t+a.nodeSize-1;u.current=!0;try{let t=n.state.tr;if(e.length===0)t.delete(o,s);else{let r=n.state.schema.text(e);t.replaceWith(o,s,r)}n.dispatch(t)}catch(e){let t=e;throw u.current=!1,t}u.current=!1},t[7]=r,t[8]=i,t[9]=w):w=t[9];let T=w,E;t[10]!==r||t[11]!==T||t[12]!==i||t[13]!==n.textContent||t[14]!==h||t[15]!==_?(E=()=>{let e=o.current;if(!e)return;let t=f.current,a=va.of([{key:`Mod-z`,run:()=>(r.commands.undo(),!0)},{key:`Mod-y`,run:()=>(r.commands.redo(),!0)},{key:`Mod-Shift-z`,run:()=>(r.commands.redo(),!0)}]),s=e=>{let t=typeof i==`function`?i():void 0;if(typeof t!=`number`)return!1;let n=MN(r);if(!n)return!1;let a=n.state.doc.nodeAt(t);if(!a||a.type.name!==`rawMdxFallback`)return!1;let o=e<0?t:t+a.nodeSize,s=tt.near(n.state.doc.resolve(o),e);return n.dispatch(n.state.tr.setSelection(s).scrollIntoView()),n.focus(),!0},c=va.of([{key:`ArrowUp`,run:e=>HF(e,`line`,-1)?s(-1):!1},{key:`ArrowLeft`,run:e=>HF(e,`char`,-1)?s(-1):!1},{key:`ArrowDown`,run:e=>HF(e,`line`,1)?s(1):!1},{key:`ArrowRight`,run:e=>HF(e,`char`,1)?s(1):!1}]),d=VF({themeCompartment:t,resolvedTheme:h,ydoc:NN(r)??void 0,wordWrapCompartment:m.current,wordWrap:_,extraKeymaps:a});d.push(c),d.push(aa.updateListener.of(e=>{if(e.docChanged&&!u.current&&T(e.state.doc.toString()),e.focusChanged&&e.view.hasFocus&&!u.current){let e=typeof i==`function`?i():void 0;if(typeof e!=`number`)return;let t=MN(r);if(!t)return;let n=t.state.selection;if(n instanceof Le&&n.from===e)return;let a=t.state.doc.nodeAt(e);if(!a||a.type.name!==`rawMdxFallback`)return;u.current=!0;try{t.dispatch(t.state.tr.setSelection(Le.create(t.state.doc,e)))}catch(e){let t=e;throw u.current=!1,t}u.current=!1}if(e.focusChanged&&!e.view.hasFocus&&!u.current){let t=typeof i==`function`?i():void 0;if(typeof t!=`number`)return;let n=MN(r);if(!n)return;let a=n.state.doc.nodeAt(t);if(!a||a.type.name!==`rawMdxFallback`)return;let o=WF(e.view.state.doc.toString(),n.state.schema);if(!o)return;u.current=!0;try{n.dispatch(n.state.tr.replaceWith(t,t+a.nodeSize,o))}catch(e){let t=e;throw u.current=!1,t}u.current=!1}}));let p=new aa({doc:n.textContent,extensions:d,parent:e});l.current=p;let g=XF,v=p.contentDOM;v.addEventListener(`keydown`,g),v.addEventListener(`paste`,g),v.addEventListener(`drop`,g),v.addEventListener(`cut`,g);let y=()=>{v.removeEventListener(`keydown`,g),v.removeEventListener(`paste`,g),v.removeEventListener(`drop`,g),v.removeEventListener(`cut`,g)};return()=>{y(),p.destroy(),l.current=null}},t[10]=r,t[11]=T,t[12]=i,t[13]=n.textContent,t[14]=h,t[15]=_,t[16]=E):E=t[16];let D;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(D=[],t[17]=D):D=t[17],(0,Q.useEffect)(E,D);let O,k;t[18]===h?(O=t[19],k=t[20]):(O=()=>{let e=l.current;if(!e)return;let t=h===`dark`?zF:BF;e.dispatch({effects:f.current.reconfigure(t)})},k=[h],t[18]=h,t[19]=O,t[20]=k),(0,Q.useEffect)(O,k);let A,j;t[21]===_?(A=t[22],j=t[23]):(A=()=>{let e=l.current;e&&e.dispatch({effects:m.current.reconfigure(_?aa.lineWrapping:[])})},j=[_],t[21]=_,t[22]=A,t[23]=j),(0,Q.useEffect)(A,j);let M,N;t[24]!==r||t[25]!==i?(M=()=>{let e=()=>{let e=typeof i==`function`?i():void 0;if(typeof e!=`number`)return;let t=l.current;if(!t||u.current)return;let n=MN(r);if(!n)return;let a=n.state.doc.nodeAt(e);if(!a)return;let o=UF({pmSel:n.state.selection,nodePos:e,nodeSize:a.nodeSize,cmDocLen:t.state.doc.length,cmSel:{anchor:t.state.selection.main.anchor,head:t.state.selection.main.head},cmHasFocus:t.hasFocus});if(o.kind!==`noop`){u.current=!0;try{o.kind===`selection`&&t.dispatch({selection:{anchor:o.anchor,head:o.head}}),t.hasFocus||t.focus()}catch(e){let t=e;throw u.current=!1,t}u.current=!1}};return r.on(`selectionUpdate`,e),()=>{r.off(`selectionUpdate`,e)}},N=[r,i],t[24]=r,t[25]=i,t[26]=M,t[27]=N):(M=t[26],N=t[27]),(0,Q.useEffect)(M,N);let P=n.textContent,F,I;t[28]===P?(F=t[29],I=t[30]):(F=()=>{let e=l.current;if(!e||u.current)return;let t=GF(e.state.doc.toString(),P);if(t){u.current=!0;try{e.dispatch({changes:{from:t.from,to:t.to,insert:t.text}})}catch(e){let t=e;throw u.current=!1,t}u.current=!1}},I=[P],t[28]=P,t[29]=F,t[30]=I),(0,Q.useEffect)(F,I);let L;t[31]!==r||t[32]!==i?(L=()=>{let e=typeof i==`function`?i():void 0;typeof e==`number`&&r.chain().focus().setNodeSelection(e).deleteSelection().run()},t[31]=r,t[32]=i,t[33]=L):L=t[33];let R=L,ee=C?`raw-mdx-fallback-wrapper jsx-component-wrapper jsx-component-wrapper--unregistered relative my-2 py-2 rounded border border-dashed ${S.wrapperClass}`:`raw-mdx-fallback-wrapper relative my-2 py-2 rounded border border-dashed ${S.wrapperClass}`,z=C?{"data-jsx-component":``,role:`group`,"aria-label":a({id:`sJWhgo`,values:{unregisteredComponentName:C}})}:{},B=`rounded px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wider ${S.badgeClass}`,te;t[34]!==y||t[35]!==S.label||t[36]!==B?(te=(0,Z.jsx)(`span`,{className:B,title:y,children:S.label}),t[34]=y,t[35]=S.label,t[36]=B,t[37]=te):te=t[37];let V;t[38]===a?V=t[39]:(V=a({id:`hHMv6l`}),t[38]=a,t[39]=V);let H;t[40]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,Z.jsx)(un,{size:12}),t[40]=H):H=t[40];let U;t[41]!==R||t[42]!==V?(U=(0,Z.jsx)(`button`,{type:`button`,className:`jsx-chrome-btn jsx-chrome-btn--delete`,"aria-label":V,onClick:R,children:H}),t[41]=R,t[42]=V,t[43]=U):U=t[43];let W;t[44]!==te||t[45]!==U?(W=(0,Z.jsxs)(`div`,{className:`absolute top-1 right-1 z-10 flex items-center gap-1.5`,contentEditable:!1,onMouseDown:YF,children:[te,U]}),t[44]=te,t[45]=U,t[46]=W):W=t[46];let ne;t[47]!==a||t[48]!==y?(ne=a({id:`aalx4E`,values:{reason:y}}),t[47]=a,t[48]=y,t[49]=ne):ne=t[49];let G;t[50]===ne?G=t[51]:(G=(0,Z.jsx)(`div`,{ref:o,className:`raw-mdx-fallback-cm`,role:`group`,"aria-label":ne}),t[50]=ne,t[51]=G);let K;return t[52]!==x||t[53]!==W||t[54]!==G||t[55]!==z||t[56]!==ee?(K=(0,Z.jsxs)(Du,{className:ee,contentEditable:!1,"data-drag-handle":``,draggable:`true`,"data-severity":x,...z,children:[W,G]}),t[52]=x,t[53]=W,t[54]=G,t[55]=z,t[56]=ee,t[57]=K):K=t[57],K}function YF(e){return e.stopPropagation()}function XF(){}function ZF(e){switch(e){case`html`:return wa();case`json`:return Ea();case`yaml`:return Aa();case`javascript`:return Ta({jsx:!0,typescript:!0});case`markdown`:return Oa();case`latex`:return ca.define(ja);case`mermaid`:return xN()}}var QF=_a.define([{tag:X.keyword,color:`var(--syntax-keyword)`,fontWeight:`600`},{tag:X.controlKeyword,color:`var(--syntax-keyword)`,fontWeight:`600`},{tag:X.modifier,color:`var(--syntax-keyword)`},{tag:X.tagName,color:`var(--syntax-tag)`},{tag:X.typeName,color:`var(--syntax-tag)`},{tag:X.className,color:`var(--syntax-tag)`},{tag:X.attributeName,color:`var(--syntax-attr)`},{tag:X.propertyName,color:`var(--syntax-attr)`},{tag:X.variableName,color:`var(--syntax-attr)`},{tag:X.string,color:`var(--syntax-string)`},{tag:X.number,color:`var(--syntax-number)`},{tag:X.bool,color:`var(--syntax-number)`},{tag:X.null,color:`var(--syntax-number)`},{tag:X.atom,color:`var(--syntax-atom)`},{tag:X.literal,color:`var(--syntax-number)`},{tag:X.operator,color:`var(--syntax-keyword)`},{tag:X.punctuation,color:`var(--foreground)`},{tag:X.bracket,color:`var(--foreground)`},{tag:X.brace,color:`var(--foreground)`},{tag:X.meta,color:`var(--muted-foreground)`},{tag:X.comment,color:`var(--muted-foreground)`,fontStyle:`italic`}]);function $F(e){let t=(0,$.c)(18),{value:n,language:r,onChange:i,id:a,ariaLabelledBy:o,autoFocus:s}=e,c=(0,Q.useRef)(null),l=(0,Q.useRef)(null),u;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(u=new na,t[0]=u):u=t[0];let d=(0,Q.useRef)(u),f=(0,Q.useRef)(i),p,m;t[1]===i?(p=t[2],m=t[3]):(p=()=>{f.current=i},m=[i],t[1]=i,t[2]=p,t[3]=m),(0,Q.useEffect)(p,m);let h=(0,Q.useRef)(n),g=(0,Q.useRef)(r),_=(0,Q.useRef)(s),v=(0,Q.useRef)(o),y,b;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(y=()=>{let e=c.current;if(!e)return;let t=[la(),mO(),Ri(),fa(),Ji(ua,{fallback:!0}),Ji(QF),va.of([SA,...xA,...NO]),aa.lineWrapping,aa.updateListener.of(e=>{if(!e.docChanged)return;let t=e.state.doc.toString();f.current(t)}),Li.tabSize.of(2),d.current.of(ZF(g.current))],n=new aa({state:Li.create({doc:h.current,extensions:t}),parent:e});return l.current=n,v.current&&n.contentDOM.setAttribute(`aria-labelledby`,v.current),n.contentDOM.setAttribute(`aria-multiline`,`true`),_.current&&n.focus(),()=>{n.destroy(),l.current=null}},b=[],t[4]=y,t[5]=b):(y=t[4],b=t[5]),(0,Q.useEffect)(y,b);let x,S;t[6]===o?(x=t[7],S=t[8]):(x=()=>{let e=l.current;e&&(o?e.contentDOM.setAttribute(`aria-labelledby`,o):e.contentDOM.removeAttribute(`aria-labelledby`))},S=[o],t[6]=o,t[7]=x,t[8]=S),(0,Q.useEffect)(x,S);let C,w;t[9]===r?(C=t[10],w=t[11]):(C=()=>{let e=l.current;e&&e.dispatch({effects:d.current.reconfigure(ZF(r))})},w=[r],t[9]=r,t[10]=C,t[11]=w),(0,Q.useEffect)(C,w);let T,E;t[12]===n?(T=t[13],E=t[14]):(T=()=>{let e=l.current;if(!e)return;let t=GF(e.state.doc.toString(),n);t&&e.dispatch({changes:{from:t.from,to:t.to,insert:t.text}})},E=[n],t[12]=n,t[13]=T,t[14]=E),(0,Q.useEffect)(T,E);let D;return t[15]!==a||t[16]!==r?(D=(0,Z.jsx)(`div`,{ref:c,id:a,className:`ok-prop-codemirror`,"data-prop-codemirror":``,"data-prop-language":r}),t[15]=a,t[16]=r,t[17]=D):D=t[17],D}function eI(e){switch(e){case`html`:return wa({matchClosingTags:!0,autoCloseTags:!0});case`css`:return Ca();case`javascript`:return Ta({jsx:!0,typescript:!0});case`json`:return Ea();case`yaml`:return Aa();case`markdown`:return Oa();case`mermaid`:return xN();case`latex`:return ca.define(ja);case`plain`:return null}}function tI(e){let t=(0,$.c)(66),{open:n,onOpenChange:r,initialValue:i,language:a,title:c,description:l,renderPreview:u,previewDebounceMs:d,onSave:f}=e,p=a===void 0?`plain`:a,m=d===void 0?300:d,{_:h}=s(),g=(0,Q.useRef)(f),_=(0,Q.useRef)(r),v,y;t[0]===f?(v=t[1],y=t[2]):(v=()=>{g.current=f},y=[f],t[0]=f,t[1]=v,t[2]=y),(0,Q.useEffect)(v,y);let b,x;t[3]===r?(b=t[4],x=t[5]):(b=()=>{_.current=r},x=[r],t[3]=r,t[4]=b,t[5]=x),(0,Q.useEffect)(b,x);let[S,C]=(0,Q.useState)(i),[w,T]=(0,Q.useState)(i),E,D;t[6]!==i||t[7]!==n?(E=()=>{n&&(C(i),T(i))},D=[n,i],t[6]=i,t[7]=n,t[8]=E,t[9]=D):(E=t[8],D=t[9]),(0,Q.useEffect)(E,D);let O,k;t[10]!==w||t[11]!==S||t[12]!==m||t[13]!==u?(k=()=>{if(!u||S===w)return;let e=window.setTimeout(()=>T(S),m);return()=>window.clearTimeout(e)},O=[S,w,u,m],t[10]=w,t[11]=S,t[12]=m,t[13]=u,t[14]=O,t[15]=k):(O=t[14],k=t[15]),(0,Q.useEffect)(k,O);let A=(0,Q.useRef)(null),j=(0,Q.useRef)(p),M=(0,Q.useRef)(i),N,P;t[16]===p?(N=t[17],P=t[18]):(N=()=>{j.current=p},P=[p],t[16]=p,t[17]=N,t[18]=P),(0,Q.useEffect)(N,P);let F,I;t[19]===i?(F=t[20],I=t[21]):(F=()=>{M.current=i},I=[i],t[19]=i,t[20]=F,t[21]=I),(0,Q.useEffect)(F,I);let L;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(L=e=>{if(!e){A.current&&=(A.current.destroy(),null);return}if(A.current)return;let t=eI(j.current),n=new aa({state:Li.create({doc:M.current,extensions:[la(),mO(),Ri(),fa(),Ji(ua,{fallback:!0}),Ji(QF),va.of([SA,...xA,...NO,{key:`Mod-Enter`,preventDefault:!0,run:e=>(g.current(e.state.doc.toString()),_.current(!1),!0)}]),aa.lineWrapping,Li.tabSize.of(2),...t?[t]:[],aa.updateListener.of(e=>{e.docChanged&&C(e.state.doc.toString())})]}),parent:e});A.current=n,requestAnimationFrame(()=>n.focus())},t[22]=L):L=t[22];let R=L,ee=u!==void 0,z;t[23]!==S||t[24]!==r||t[25]!==f?(z=()=>{f(S),r(!1)},t[23]=S,t[24]=r,t[25]=f,t[26]=z):z=t[26];let B=z,te;t[27]===c?te=t[28]:(te=(0,Z.jsx)(Zr,{children:c}),t[27]=c,t[28]=te);let V;t[29]===l?V=t[30]:(V=l?(0,Z.jsx)(Xr,{children:l}):(0,Z.jsx)(Xr,{children:(0,Z.jsx)(o,{id:`vWc9a0`,components:{0:(0,Z.jsx)(kN,{}),1:(0,Z.jsx)(kN,{})}})}),t[29]=l,t[30]=V);let H;t[31]!==te||t[32]!==V?(H=(0,Z.jsxs)(li,{className:`gap-1`,children:[te,V]}),t[31]=te,t[32]=V,t[33]=H):H=t[33];let U=`flex min-h-0 flex-1 gap-3 ${ee?`flex-col md:flex-row`:`flex-col`}`,W;t[34]===p?W=t[35]:(W=(0,Z.jsx)(`div`,{ref:R,className:`ok-codepreview-cm min-h-[260px] flex-1 overflow-hidden rounded-md border border-border md:min-h-0`,"data-testid":`ok-code-preview-edit-modal-source`,"data-language":p}),t[34]=p,t[35]=W);let ne;t[36]!==w||t[37]!==ee||t[38]!==u?(ne=ee?(0,Z.jsx)(`div`,{className:`min-h-[260px] flex-1 overflow-auto rounded-md border border-border bg-muted/30 md:min-h-0`,"data-testid":`ok-code-preview-edit-modal-preview`,children:u(w)}):null,t[36]=w,t[37]=ee,t[38]=u,t[39]=ne):ne=t[39];let G;t[40]!==U||t[41]!==W||t[42]!==ne?(G=(0,Z.jsxs)(`div`,{className:U,"data-testid":`ok-code-preview-edit-modal-body`,children:[W,ne]}),t[40]=U,t[41]=W,t[42]=ne,t[43]=G):G=t[43];let K;t[44]===r?K=t[45]:(K=()=>r(!1),t[44]=r,t[45]=K);let re;t[46]===Symbol.for(`react.memo_cache_sentinel`)?(re=(0,Z.jsx)(o,{id:`dEgA5A`}),t[46]=re):re=t[46];let ie;t[47]===K?ie=t[48]:(ie=(0,Z.jsx)(Yt,{variant:`ghost`,onClick:K,children:re}),t[47]=K,t[48]=ie);let ae;t[49]===h?ae=t[50]:(ae=h({id:`y3aU20`}),t[49]=h,t[50]=ae);let oe;t[51]===Symbol.for(`react.memo_cache_sentinel`)?(oe=(0,Z.jsx)(o,{id:`tfDRzk`}),t[51]=oe):oe=t[51];let q;t[52]!==B||t[53]!==ae?(q=(0,Z.jsx)(Yt,{onClick:B,"aria-label":ae,children:oe}),t[52]=B,t[53]=ae,t[54]=q):q=t[54];let se;t[55]!==ie||t[56]!==q?(se=(0,Z.jsxs)(oi,{className:`gap-2`,children:[ie,q]}),t[55]=ie,t[56]=q,t[57]=se):se=t[57];let ce;t[58]!==H||t[59]!==G||t[60]!==se?(ce=(0,Z.jsxs)(ni,{className:`flex h-[85vh] max-h-[900px] flex-col gap-3 p-4 sm:max-w-[1400px]`,children:[H,G,se]}),t[58]=H,t[59]=G,t[60]=se,t[61]=ce):ce=t[61];let le;return t[62]!==r||t[63]!==n||t[64]!==ce?(le=(0,Z.jsx)(ui,{open:n,onOpenChange:r,children:ce}),t[62]=r,t[63]=n,t[64]=ce,t[65]=le):le=t[65],le}var nI=4;function rI(e){let t=(0,$.c)(44),{blocked:n,truncated:r,onDismiss:i}=e,{_:a}=s(),c,l,u,d,f,p,m,h,g,_;if(t[0]!==a||t[1]!==n||t[2]!==r){let e=n.slice(0,nI);_=!r&&n.length>e.length,p=`status`,m=`ok-codeblock-preview-blocked mt-1.5 flex items-start gap-2 rounded-md border border-border bg-muted/40 px-3 py-2 text-xs text-muted-foreground`,h=!1,t[13]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,Z.jsx)(jo,{className:`mt-0.5 size-3.5 shrink-0 text-amber-500`,"aria-hidden":`true`}),t[13]=g):g=t[13],u=`min-w-0 flex-1`,t[14]!==n.length||t[15]!==r?(d=(0,Z.jsx)(`p`,{className:`font-medium text-foreground`,children:r?(0,Z.jsx)(o,{id:`djc1l9`,values:{0:n.length}}):(0,Z.jsx)(o,{id:`R0cyYB`,values:{0:n.length}})}),t[14]=n.length,t[15]=r,t[16]=d):d=t[16],t[17]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,Z.jsx)(`p`,{className:`mt-0.5`,children:(0,Z.jsx)(o,{id:`yEJ-sl`})}),t[17]=f):f=t[17],c=`mt-1 space-y-0.5`;let i;t[18]===a?i=t[19]:(i=e=>(0,Z.jsxs)(`li`,{className:`flex flex-wrap items-baseline gap-x-1.5`,children:[(0,Z.jsx)(`span`,{className:`break-all font-mono`,children:e.uri||a({id:`_W-elG`})}),(0,Z.jsx)(`span`,{className:`text-muted-foreground/70`,children:e.directive})]},`${e.directive} ${e.uri}`),t[18]=a,t[19]=i),l=e.map(i),t[0]=a,t[1]=n,t[2]=r,t[3]=c,t[4]=l,t[5]=u,t[6]=d,t[7]=f,t[8]=p,t[9]=m,t[10]=h,t[11]=g,t[12]=_}else c=t[3],l=t[4],u=t[5],d=t[6],f=t[7],p=t[8],m=t[9],h=t[10],g=t[11],_=t[12];let v;t[20]!==c||t[21]!==l?(v=(0,Z.jsx)(`ul`,{className:c,children:l}),t[20]=c,t[21]=l,t[22]=v):v=t[22];let y;t[23]===_?y=t[24]:(y=_?(0,Z.jsx)(`p`,{className:`mt-0.5 text-muted-foreground/70`,children:(0,Z.jsx)(o,{id:`oKBnk5`})}):null,t[23]=_,t[24]=y);let b;t[25]!==v||t[26]!==y||t[27]!==u||t[28]!==d||t[29]!==f?(b=(0,Z.jsxs)(`div`,{className:u,children:[d,f,v,y]}),t[25]=v,t[26]=y,t[27]=u,t[28]=d,t[29]=f,t[30]=b):b=t[30];let x;t[31]===a?x=t[32]:(x=a({id:`GUYwCr`}),t[31]=a,t[32]=x);let S;t[33]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,Z.jsx)(yr,{className:`size-3.5`,"aria-hidden":`true`}),t[33]=S):S=t[33];let C;t[34]!==i||t[35]!==x?(C=(0,Z.jsx)(`button`,{type:`button`,className:`-mr-1 -mt-0.5 shrink-0 rounded p-1.5 text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring`,"aria-label":x,onClick:i,children:S}),t[34]=i,t[35]=x,t[36]=C):C=t[36];let w;return t[37]!==b||t[38]!==C||t[39]!==p||t[40]!==m||t[41]!==h||t[42]!==g?(w=(0,Z.jsxs)(`div`,{role:p,className:m,contentEditable:h,children:[g,b,C]}),t[37]=b,t[38]=C,t[39]=p,t[40]=m,t[41]=h,t[42]=g,t[43]=w):w=t[43],w}var iI=[{value:`plaintext`,label:`Plain text`,aliases:[`text`,`txt`,`none`]},{value:`bash`,label:`Bash`,aliases:[`sh`,`zsh`]},{value:`c`,label:`C`},{value:`cpp`,label:`C++`,aliases:[`c++`]},{value:`csharp`,label:`C#`,aliases:[`cs`]},{value:`css`,label:`CSS`},{value:`diff`,label:`Diff`,aliases:[`patch`]},{value:`go`,label:`Go`,aliases:[`golang`]},{value:`graphql`,label:`GraphQL`,aliases:[`gql`]},{value:`ini`,label:`INI`,aliases:[`toml`]},{value:`java`,label:`Java`},{value:`javascript`,label:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`]},{value:`json`,label:`JSON`,aliases:[`jsonc`]},{value:`kotlin`,label:`Kotlin`,aliases:[`kt`]},{value:`less`,label:`Less`},{value:`lua`,label:`Lua`},{value:`makefile`,label:`Makefile`,aliases:[`make`]},{value:`markdown`,label:`Markdown`,aliases:[`md`,`mdx`]},{value:`objectivec`,label:`Objective-C`,aliases:[`objc`,`obj-c`]},{value:`perl`,label:`Perl`,aliases:[`pl`]},{value:`php`,label:`PHP`},{value:`python`,label:`Python`,aliases:[`py`]},{value:`r`,label:`R`},{value:`ruby`,label:`Ruby`,aliases:[`rb`]},{value:`rust`,label:`Rust`,aliases:[`rs`]},{value:`scss`,label:`SCSS`,aliases:[`sass`]},{value:`shell`,label:`Shell session`,aliases:[`console`,`shellsession`]},{value:`sql`,label:`SQL`},{value:`swift`,label:`Swift`},{value:`typescript`,label:`TypeScript`,aliases:[`ts`,`tsx`]},{value:`xml`,label:`XML / HTML`,aliases:[`html`,`htm`,`svg`]},{value:`yaml`,label:`YAML`,aliases:[`yml`]}],aI=(()=>{let e=new Map;for(let t of iI){e.set(t.value,t.value);for(let n of t.aliases??[])e.set(n,t.value)}return e})();function oI(e){return e?aI.get(e.toLowerCase())??e.toLowerCase():null}var sI=/(?:"[^"]*"|'[^']*'|[^\s"'])+/g;function cI(e){return e?e.match(sI)??[]:[]}function lI(e){let t=e.filter(e=>e.length>0);return t.length===0?null:t.join(` `)}function uI(e,t){return cI(e).includes(t)}function dI(e,t){let n=cI(e);return n.includes(t)||n.push(t),lI(n)}function fI(e,t){return lI(cI(e).filter(e=>e!==t))}var pI=new Set([`html`,`htm`,`xml`]);function mI(e,t){return!e||!pI.has(e.toLowerCase())?!1:uI(t,`preview`)}var hI=/^([a-zA-Z][a-zA-Z0-9_-]*)=(.+)$/,gI=/^(\d+(?:\.\d+)?)(px|rem|em|vh|vw|%)?$/i;function _I(e,t){for(let n of cI(e)){let e=n.match(hI);if(e&&e[1]===t)return e[2]??null}return null}function vI(e,t,n){let r=cI(e),i=!1,a=[];for(let e of r){let r=e.match(hI);if(r&&r[1]===t){if(i)continue;i=!0,n!==null&&a.push(`${t}=${n}`);continue}a.push(e)}return!i&&n!==null&&a.push(`${t}=${n}`),lI(a)}function yI(e){return TI(e,`h`)}function bI(e){return TI(e,`w`)}var xI=/\btitle=(?:"([^"]*)"|'([^']*)'|(\S+))/,SI=/\btitle=(?:"[^"]*"|'[^']*'|\S*)/g;function CI(e){if(!e)return null;let t=e.match(xI);return t?t[1]??t[2]??t[3]??null:null}function wI(e,t){let n=e?e.replace(SI,``).trim():``,r=n.length>0?n.replace(/\s+/g,` `):``;if(t===null)return r.length>0?r:null;let i=`title="${t.replace(/["\r\n]/g,``)}"`;return r.length>0?`${i} ${r}`:i}function TI(e,t){let n=_I(e,t);if(!n)return null;let r=n.match(gI);if(!r)return null;let i=r[1];return!i||Number.parseFloat(i)<=0?null:`${i}${r[2]?.toLowerCase()??`px`}`}var EI=`okPreviewTheme`;function DI(e){return{[EI]:e}}var OI=`okPreviewHeight`;function kI(e){if(typeof e!=`object`||!e)return null;let t=e[OI];return typeof t==`number`&&Number.isFinite(t)&&t>0?Math.ceil(t):null}var AI=`okPreviewCspViolation`;function jI(e){if(typeof e!=`object`||!e)return null;let t=e[AI];if(typeof t!=`object`||!t)return null;let n=t.blocked;if(!Array.isArray(n))return null;let r=[];for(let e of n){if(typeof e!=`object`||!e)continue;let t=e.directive,n=e.uri;typeof t==`string`&&typeof n==`string`&&r.push({directive:t,uri:n})}return r.length===0?null:{blocked:r,truncated:t.truncated===!0}}var MI=`<style>
16
+ html, body { scrollbar-width: thin; scrollbar-color: rgba(115,115,115,0.4) transparent; }
17
+ html::-webkit-scrollbar, body::-webkit-scrollbar,
18
+ *::-webkit-scrollbar { width: 8px; height: 8px; }
19
+ html::-webkit-scrollbar-track, body::-webkit-scrollbar-track,
20
+ *::-webkit-scrollbar-track { background: transparent; }
21
+ html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb,
22
+ *::-webkit-scrollbar-thumb { background: rgba(115,115,115,0.4); border-radius: 4px; }
23
+ html::-webkit-scrollbar-thumb:hover, body::-webkit-scrollbar-thumb:hover,
24
+ *::-webkit-scrollbar-thumb:hover { background: rgba(115,115,115,0.6); }
25
+ </style>`;function NI(e){return ae.map(t=>`${t.name}:${t[e]}`).join(`;`)}function PI(){return`<style>
26
+ :root{${NI(`light`)};color-scheme:light}
27
+ :root.dark{${NI(`dark`)};color-scheme:dark}
28
+ body{background:var(--background);color:var(--foreground)}
29
+ </style>`}function FI(e){return`<script>(function(){var d=document.documentElement;${e===`dark`?`d.classList.add('dark');`:``}addEventListener('message',function(e){if(e.source!==parent)return;var t=e&&e.data&&e.data.${EI};if(t==='dark'){d.classList.add('dark');}else if(t==='light'){d.classList.remove('dark');}});var raf;function report(){var b=document.body;if(!b)return;var r=b.getBoundingClientRect();var mb=parseFloat(getComputedStyle(b).marginBottom)||0;parent.postMessage({${OI}:Math.ceil(r.bottom+mb)},'*');}function schedule(){if(raf){cancelAnimationFrame(raf);}raf=requestAnimationFrame(report);}function init(){schedule();addEventListener('load',schedule);if(window.ResizeObserver){try{new ResizeObserver(schedule).observe(document.body);}catch(_e){}}}if(document.readyState==='loading'){document.addEventListener('DOMContentLoaded',init);}else{init();}var cspSeen=new Set();var cspList=[];var cspTrunc=false;var cspTimer;function cspFlush(){parent.postMessage({${AI}:{blocked:cspList.slice(),truncated:cspTrunc}},'*');}addEventListener('securitypolicyviolation',function(e){if(cspTrunc)return;var dir=(e&&(e.effectiveDirective||e.violatedDirective))||'';var uri=(e&&e.blockedURI)||'';var k=dir+' '+uri;if(cspSeen.has(k))return;cspSeen.add(k);if(cspList.length<20){cspList.push({directive:dir,uri:uri});}else{cspTrunc=true;}if(cspTimer){clearTimeout(cspTimer);}cspTimer=setTimeout(cspFlush,250);});})();<\/script>`}var II=`default-src 'none'; script-src 'unsafe-inline' https:; style-src 'unsafe-inline' https: data:; img-src https: data: blob:; font-src https: data:; connect-src https: wss: data: blob:; media-src https: data: blob:; frame-src https:; child-src https:; form-action 'none'; base-uri 'none';`;function LI(e){return`<meta http-equiv="Content-Security-Policy" content="${II}">
30
+ ${PI()}
31
+ ${MI}
32
+ ${FI(e)}`}var RI=`plaintext`;function zI(){return typeof document<`u`&&document.documentElement.classList.contains(`dark`)?`dark`:`light`}function BI(e,t){let n=(0,$.c)(4),[r,i]=(0,Q.useState)(!1),a,o;return n[0]!==e||n[1]!==t?(a=()=>{let n=()=>{let n=typeof t==`function`?t():void 0;if(typeof n!=`number`)return;let r=e.state.doc.nodeAt(n);if(!r)return;let{from:a,to:o}=e.state.selection,s=n,c=a<n+r.nodeSize&&o>s;i(e=>e===c?e:c)};return n(),e.on(`selectionUpdate`,n),()=>{e.isDestroyed||e.off(`selectionUpdate`,n)}},o=[e,t],n[0]=e,n[1]=t,n[2]=a,n[3]=o):(a=n[2],o=n[3]),(0,Q.useEffect)(a,o),r}function VI(e){let t=(0,$.c)(174),{node:n,updateAttributes:r,editor:i,getPos:a,selected:l}=e,{_:u}=s(),[d,f]=(0,Q.useState)(!1),[p,m]=(0,Q.useState)(!1),h=(0,Q.useRef)(null),g=(0,Q.useRef)(null),_=(0,Q.useRef)(null),[v,y]=(0,Q.useState)(null),[b,x]=(0,Q.useState)(null),{resolvedTheme:S}=c(),C;t[0]===S?C=t[1]:(C=S===`dark`||S===`light`?S:zI(),t[0]=S,t[1]=C);let w=C,[T]=(0,Q.useState)(zI),E=n.attrs.language??null,D=n.attrs.meta??null,O;t[2]===D?O=t[3]:(O=CI(D),t[2]=D,t[3]=O);let k=O,[A,j]=(0,Q.useState)(!1),[M,N]=(0,Q.useState)(!1),P=(0,Q.useId)(),F=`${P}-title-input`,I=`${P}-title-help`,L=(0,Q.useRef)(D),R,ee;t[4]===D?(R=t[5],ee=t[6]):(R=()=>{L.current=D},ee=[D],t[4]=D,t[5]=R,t[6]=ee),(0,Q.useEffect)(R,ee);let z,B,te,V,H;if(t[7]!==u||t[8]!==E||t[9]!==D){B=oI(E),z=E?iI.find(e=>e.value===B)?.label??E:u({id:`LpB85N`});let e;t[15]===D?e=t[16]:(e=uI(D,`preview`),t[15]=D,t[16]=e),V=e,te=B?pI.has(B):!1,H=mI(B,D),t[7]=u,t[8]=E,t[9]=D,t[10]=z,t[11]=B,t[12]=te,t[13]=V,t[14]=H}else z=t[10],B=t[11],te=t[12],V=t[13],H=t[14];let U=H,W;t[17]!==U||t[18]!==D?(W=U?yI(D):null,t[17]=U,t[18]=D,t[19]=W):W=t[19];let ne=W,G;t[20]!==U||t[21]!==D?(G=U?bI(D):null,t[20]=U,t[21]=D,t[22]=G):G=t[22];let K=G,re=ne??(v===null?void 0:`${v}px`),ie=!U,ae,oe;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(ae=()=>()=>{h.current!==null&&window.clearTimeout(h.current)},oe=[],t[23]=ae,t[24]=oe):(ae=t[23],oe=t[24]),(0,Q.useEffect)(ae,oe);let q=i.isEditable,se=BI(i,a),ce,le;t[25]===w?(ce=t[26],le=t[27]):(ce=()=>{_.current?.contentWindow?.postMessage(DI(w),`*`)},le=[w],t[25]=w,t[26]=ce,t[27]=le),(0,Q.useEffect)(ce,le);let ue,de;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(ue=()=>{let e=function(e){if(e.source!==_.current?.contentWindow)return;let t=kI(e.data);if(t!==null){y(e=>e!==null&&Math.abs(e-t)<=2?e:t);return}let n=jI(e.data);n!==null&&x(n)};return window.addEventListener(`message`,e),()=>window.removeEventListener(`message`,e)},de=[],t[28]=ue,t[29]=de):(ue=t[28],de=t[29]),(0,Q.useEffect)(ue,de);let fe;t[30]===n.textContent?fe=t[31]:(fe=()=>{let e=n.textContent,t=()=>{m(!0),h.current!==null&&window.clearTimeout(h.current),h.current=window.setTimeout(()=>m(!1),1200)};try{typeof navigator<`u`&&navigator.clipboard?.writeText&&navigator.clipboard.writeText(e).then(t,GI)}catch{}},t[30]=n.textContent,t[31]=fe);let pe=fe,me;t[32]!==i||t[33]!==a?(me=()=>{let e=typeof a==`function`?a():void 0;if(typeof e==`number`)try{i.chain().focus().setNodeSelection(e).deleteSelection().run()}catch(e){let t=e;if(!(t instanceof RangeError))throw t;console.warn(`[CodeBlockView] delete failed — position race`,t)}},t[32]=i,t[33]=a,t[34]=me):me=t[34];let he=me,ge;t[35]!==V||t[36]!==D||t[37]!==r?(ge=()=>{r({meta:V?fI(D,`preview`):dI(D,`preview`)})},t[35]=V,t[36]=D,t[37]=r,t[38]=ge):ge=t[38];let _e=ge,ve;t[39]!==D||t[40]!==r?(ve=e=>{let t=wI(D,e.length>0?e:null);t!==D&&r({meta:t})},t[39]=D,t[40]=r,t[41]=ve):ve=t[41];let ye=ve,be;t[42]!==i.state||t[43]!==i.view||t[44]!==a||t[45]!==n.attrs||t[46]!==n.nodeSize||t[47]!==n.type?(be=e=>{let t=typeof a==`function`?a():void 0;if(typeof t==`number`)try{let{schema:r,tr:a}=i.state,o=n.type.create(n.attrs,e.length>0?r.text(e):null);a.replaceWith(t,t+n.nodeSize,o),i.view.dispatch(a)}catch(e){let t=e;if(!(t instanceof RangeError))throw t;console.warn(`[CodeBlockView] edit-save failed — position race`,t)}},t[42]=i.state,t[43]=i.view,t[44]=a,t[45]=n.attrs,t[46]=n.nodeSize,t[47]=n.type,t[48]=be):be=t[48];let xe=be,Se;t[49]===r?Se=t[50]:(Se=e=>{let t=`${Math.round(e.width)}px`,n=`${Math.round(e.height)}px`;r({meta:vI(vI(L.current,`h`,n),`w`,t)})},t[49]=r,t[50]=Se);let Ce=Se,we=E??void 0,Te=se?`true`:void 0,Ee=l?`true`:void 0,De=U?`true`:void 0,Oe=ie?`true`:`false`,ke;t[51]!==u||t[52]!==w||t[53]!==T||t[54]!==ie||t[55]!==re||t[56]!==Ce||t[57]!==n.textContent||t[58]!==U||t[59]!==K?(ke=U?(0,Z.jsxs)(`div`,{ref:g,className:Gt(`ok-codeblock-preview`,ie?`ok-codeblock-preview--with-code`:`ok-codeblock-preview--solo`),contentEditable:!1,style:{...re?{height:re}:{},...K?{width:K}:{}},onMouseDown:WI,children:[(0,Z.jsx)(`iframe`,{title:u({id:`G7cMuO`}),ref:_,sandbox:`allow-scripts`,referrerPolicy:`no-referrer`,srcDoc:LI(T)+n.textContent,className:`ok-codeblock-preview-frame`,onLoad:()=>{x(null),_.current?.contentWindow?.postMessage(DI(w),`*`)}}),(0,Z.jsx)(ey,{targetRef:g,bounds:{minWidth:192,maxWidth:Math.round(window.innerWidth*.9),minHeight:128,maxHeight:Math.round(window.innerHeight*.9)},onResize:e=>{let t=g.current;t&&(t.style.width=`${e.width}px`,t.style.height=`${e.height}px`)},onResizeEnd:Ce})]}):null,t[51]=u,t[52]=w,t[53]=T,t[54]=ie,t[55]=re,t[56]=Ce,t[57]=n.textContent,t[58]=U,t[59]=K,t[60]=ke):ke=t[60];let Ae;t[61]!==b||t[62]!==U?(Ae=U&&b?(0,Z.jsx)(rI,{blocked:b.blocked,truncated:b.truncated,onDismiss:()=>x(null)}):null,t[61]=b,t[62]=U,t[63]=Ae):Ae=t[63];let je;t[64]===k?je=t[65]:(je=k?(0,Z.jsx)(`div`,{className:`ok-codeblock-title`,contentEditable:!1,"data-testid":`ok-codeblock-title`,title:k,children:(0,Z.jsx)(`span`,{className:`ok-codeblock-title-text`,children:k})}):null,t[64]=k,t[65]=je);let Me=U&&ie?`rounded-b-lg`:null,Ne=U?null:`rounded-lg`,Pe;t[66]!==Me||t[67]!==Ne?(Pe=Gt(`ok-codeblock-pre m-0 overflow-x-auto px-5 py-4 font-mono text-sm leading-relaxed`,Me,Ne),t[66]=Me,t[67]=Ne,t[68]=Pe):Pe=t[68];let Fe=!ie||void 0,Ie=E?`language-${E}`:void 0,Le;t[69]===Ie?Le=t[70]:(Le=Gt(`hljs block whitespace-pre bg-transparent p-0`,Ie),t[69]=Ie,t[70]=Le);let Re;t[71]===Le?Re=t[72]:(Re=(0,Z.jsx)(Eu,{as:`code`,className:Le}),t[71]=Le,t[72]=Re);let ze;t[73]!==Pe||t[74]!==Fe||t[75]!==Re?(ze=(0,Z.jsx)(`pre`,{className:Pe,"aria-hidden":Fe,children:Re}),t[73]=Pe,t[74]=Fe,t[75]=Re,t[76]=ze):ze=t[76];let Be;t[77]===Symbol.for(`react.memo_cache_sentinel`)?(Be={[yT]:`true`},t[77]=Be):Be=t[77];let Ve=!q,He;t[78]!==u||t[79]!==z?(He=u({id:`c5f7sm`,values:{currentLabel:z}}),t[78]=u,t[79]=z,t[80]=He):He=t[80];let Ue;t[81]===z?Ue=t[82]:(Ue=(0,Z.jsx)(`span`,{children:z}),t[81]=z,t[82]=Ue);let We;t[83]===q?We=t[84]:(We=q?(0,Z.jsx)(Zt,{className:`size-3 opacity-60`,"aria-hidden":`true`}):null,t[83]=q,t[84]=We);let Ge;t[85]!==Ve||t[86]!==He||t[87]!==Ue||t[88]!==We?(Ge=(0,Z.jsx)(Df,{asChild:!0,children:(0,Z.jsxs)(`button`,{type:`button`,disabled:Ve,className:`ok-codeblock-chrome-btn ok-codeblock-chrome-lang`,"aria-label":He,children:[Ue,We]})}),t[85]=Ve,t[86]=He,t[87]=Ue,t[88]=We,t[89]=Ge):Ge=t[89];let Ke;t[90]===u?Ke=t[91]:(Ke=u({id:`G_mWXb`}),t[90]=u,t[91]=Ke);let qe;t[92]===Ke?qe=t[93]:(qe=(0,Z.jsx)(bf,{placeholder:Ke}),t[92]=Ke,t[93]=qe);let Je;t[94]===u?Je=t[95]:(Je=u({id:`ETyvvg`}),t[94]=u,t[95]=Je);let Ye;t[96]===Je?Ye=t[97]:(Ye=(0,Z.jsx)(Sf,{children:Je}),t[96]=Je,t[97]=Ye);let Xe;t[98]!==i.commands||t[99]!==B||t[100]!==E||t[101]!==r?(Xe=iI.map(e=>{let t=e.value===RI?!E||B===RI:B===e.value;return(0,Z.jsxs)(wf,{value:`${e.label} ${e.value} ${e.aliases?.join(` `)??``}`,onSelect:()=>{r({language:e.value===RI?null:e.value}),f(!1),i.commands.focus()},children:[(0,Z.jsx)(`span`,{className:`flex-1`,children:e.label}),t?(0,Z.jsx)(Xt,{className:`size-3.5`,"aria-hidden":`true`}):null]},e.value)}),t[98]=i.commands,t[99]=B,t[100]=E,t[101]=r,t[102]=Xe):Xe=t[102];let Ze;t[103]===Xe?Ze=t[104]:(Ze=(0,Z.jsx)(Cf,{children:Xe}),t[103]=Xe,t[104]=Ze);let Qe;t[105]!==Ye||t[106]!==Ze?(Qe=(0,Z.jsxs)(xf,{children:[Ye,Ze]}),t[105]=Ye,t[106]=Ze,t[107]=Qe):Qe=t[107];let $e;t[108]!==qe||t[109]!==Qe?($e=(0,Z.jsx)(Of,{align:`end`,sideOffset:6,className:`w-56 p-0`,children:(0,Z.jsxs)(vf,{filter:HI,children:[qe,Qe]})}),t[108]=qe,t[109]=Qe,t[110]=$e):$e=t[110];let et;t[111]!==d||t[112]!==Ge||t[113]!==$e?(et=(0,Z.jsxs)(Ef,{open:d,onOpenChange:f,children:[Ge,$e]}),t[111]=d,t[112]=Ge,t[113]=$e,t[114]=et):et=t[114];let tt;t[115]!==u||t[116]!==q||t[117]!==U?(tt=q&&U?(0,Z.jsx)(`button`,{type:`button`,className:`ok-codeblock-chrome-btn`,"aria-label":u({id:`R3y75Z`}),"data-testid":`ok-codeblock-edit-btn`,onClick:()=>N(!0),children:(0,Z.jsx)(dn,{className:`size-3.5`,"aria-hidden":`true`})}):null,t[115]=u,t[116]=q,t[117]=U,t[118]=tt):tt=t[118];let nt;t[119]!==u||t[120]!==q||t[121]!==_e||t[122]!==te||t[123]!==V?(nt=q&&te?(0,Z.jsx)(`button`,{type:`button`,className:`ok-codeblock-chrome-btn`,"data-active":V?`true`:void 0,"aria-pressed":V,"aria-label":u(V?{id:`xHGM4U`}:{id:`7OwvEL`}),onClick:_e,children:V?(0,Z.jsx)(Xa,{className:`size-3.5`}):(0,Z.jsx)(ir,{className:`size-3.5`})}):null,t[119]=u,t[120]=q,t[121]=_e,t[122]=te,t[123]=V,t[124]=nt):nt=t[124];let rt;t[125]!==u||t[126]!==q||t[127]!==ye||t[128]!==A||t[129]!==k||t[130]!==I||t[131]!==F?(rt=q?(0,Z.jsxs)(Ef,{open:A,onOpenChange:j,children:[(0,Z.jsx)(Df,{asChild:!0,children:(0,Z.jsx)(`button`,{type:`button`,className:`ok-codeblock-chrome-btn`,"data-active":k?`true`:void 0,"aria-label":u({id:`DDTdLl`}),children:(0,Z.jsx)(ko,{className:`size-3.5`,"aria-hidden":`true`})})}),(0,Z.jsx)(Of,{align:`end`,sideOffset:6,className:`w-64 p-3`,children:(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,Z.jsx)(`label`,{htmlFor:F,className:`text-2xs font-mono uppercase tracking-wide text-muted-foreground`,children:(0,Z.jsx)(o,{id:`MHrjPM`})}),(0,Z.jsx)(mi,{id:F,type:`text`,value:k??``,placeholder:u({id:`mk2poV`}),"data-testid":`ok-codeblock-title-input`,"aria-describedby":I,onChange:e=>ye(e.target.value),onKeyDown:e=>{(e.key===`Enter`||e.key===`Escape`)&&(e.preventDefault(),j(!1))},className:`h-8`}),(0,Z.jsx)(`p`,{id:I,className:`text-2xs text-muted-foreground`,children:(0,Z.jsx)(o,{id:`lond3p`})})]})})]}):null,t[125]=u,t[126]=q,t[127]=ye,t[128]=A,t[129]=k,t[130]=I,t[131]=F,t[132]=rt):rt=t[132];let it;t[133]!==u||t[134]!==p?(it=u(p?{id:`6V3Ea3`}:{id:`NmPNJJ`}),t[133]=u,t[134]=p,t[135]=it):it=t[135];let at;t[136]===p?at=t[137]:(at=p?(0,Z.jsx)(Xt,{className:`size-3.5`,"aria-hidden":`true`}):(0,Z.jsx)(sn,{className:`size-3.5`,"aria-hidden":`true`}),t[136]=p,t[137]=at);let ot;t[138]!==pe||t[139]!==it||t[140]!==at?(ot=(0,Z.jsx)(`button`,{type:`button`,className:`ok-codeblock-chrome-btn`,"aria-label":it,onClick:pe,children:at}),t[138]=pe,t[139]=it,t[140]=at,t[141]=ot):ot=t[141];let st;t[142]!==u||t[143]!==q||t[144]!==he?(st=q?(0,Z.jsx)(`button`,{type:`button`,className:`ok-codeblock-chrome-btn ok-codeblock-chrome-btn--delete`,"aria-label":u({id:`oBXkm2`}),onClick:he,children:(0,Z.jsx)(un,{className:`size-3.5`,"aria-hidden":`true`})}):null,t[142]=u,t[143]=q,t[144]=he,t[145]=st):st=t[145];let ct;t[146]!==et||t[147]!==tt||t[148]!==nt||t[149]!==rt||t[150]!==ot||t[151]!==st?(ct=(0,Z.jsxs)(`div`,{className:`ok-codeblock-chrome`,contentEditable:!1,onMouseDown:UI,...Be,children:[et,tt,nt,rt,ot,st]}),t[146]=et,t[147]=tt,t[148]=nt,t[149]=rt,t[150]=ot,t[151]=st,t[152]=ct):ct=t[152];let lt;t[153]!==u||t[154]!==T||t[155]!==M||t[156]!==q||t[157]!==xe||t[158]!==n.textContent||t[159]!==B||t[160]!==U?(lt=q&&U?(0,Z.jsx)(tI,{open:M,onOpenChange:N,initialValue:n.textContent,language:B===`xml`?`html`:`plain`,title:u({id:`R3y75Z`}),renderPreview:e=>(0,Z.jsx)(`iframe`,{title:u({id:`G7cMuO`}),sandbox:`allow-scripts`,className:`size-full border-0`,srcDoc:LI(T)+e}),onSave:xe}):null,t[153]=u,t[154]=T,t[155]=M,t[156]=q,t[157]=xe,t[158]=n.textContent,t[159]=B,t[160]=U,t[161]=lt):lt=t[161];let ut;return t[162]!==we||t[163]!==Te||t[164]!==Ee||t[165]!==De||t[166]!==Oe||t[167]!==ke||t[168]!==Ae||t[169]!==je||t[170]!==ze||t[171]!==ct||t[172]!==lt?(ut=(0,Z.jsxs)(Du,{className:`ok-codeblock relative my-3`,"data-language":we,"data-cursor-inside":Te,"data-selected":Ee,"data-preview":De,"data-code-visible":Oe,children:[ke,Ae,je,ze,ct,lt]}),t[162]=we,t[163]=Te,t[164]=Ee,t[165]=De,t[166]=Oe,t[167]=ke,t[168]=Ae,t[169]=je,t[170]=ze,t[171]=ct,t[172]=lt,t[173]=ut):ut=t[173],ut}function HI(e,t){return t?+!!e.toLowerCase().includes(t.toLowerCase()):1}function UI(e){return e.stopPropagation()}function WI(e){return e.stopPropagation()}function GI(){}function KI(e,t=[]){return e.flatMap(e=>{if(e.type===`text`)return[{text:e.value,classes:t}];let n=[...t,...e.properties?.className??[]];return KI(e.children,n)})}function qI(e){let{doc:t,name:n,lowlight:r,defaultLanguage:i}=e,a=[],o=r.listLanguages();return mt(t,e=>e.type.name===n).forEach(e=>{let t=e.pos+1,n=e.node.attrs.language||i;if(!n||!(o.includes(n)||(r.registered?.(n)??!1)))return;let s;try{s=r.highlight(n,e.node.textContent)}catch{return}let c=s.children??[];for(let e of KI(c)){let n=t+e.text.length;e.classes.length>0&&a.push(yt.inline(t,n,{class:e.classes.join(` `)})),t=n}}),Pe.create(t,a)}function JI(e){let{name:t,lowlight:n,defaultLanguage:r}=e,i=new Ve({key:new lt(`codeBlockLowlight`),state:{init:(e,{doc:i})=>qI({doc:i,name:t,lowlight:n,defaultLanguage:r}),apply:(e,i,a,o)=>{if(!e.docChanged)return i.map(e.mapping,e.doc);let s=a.selection.$head.parent.type.name,c=o.selection.$head.parent.type.name,l=mt(a.doc,e=>e.type.name===t),u=mt(o.doc,e=>e.type.name===t);return[s,c].includes(t)||u.length!==l.length||e.steps.some(e=>{let t=e;return t.from===void 0||t.to===void 0?!1:l.some(e=>t.from<e.pos+e.node.nodeSize&&t.to>e.pos)})?qI({doc:e.doc,name:t,lowlight:n,defaultLanguage:r}):i.map(e.mapping,e.doc)}},props:{decorations(e){return i.getState(e)}}});return i}var YI=uT(oT),XI=je.extend({addOptions(){return{...this.parent?.(),enableTabIndentation:!0,tabSize:2}},addNodeView(){return Fu(VI)},addProseMirrorPlugins(){return[...this.parent?.()??[],JI({name:this.name,lowlight:YI,defaultLanguage:null})]},addInputRules(){return[...this.parent?.()??[],ke({find:/^```$/,type:this.type,getAttributes:()=>({language:`js`})})]}});function ZI(e){return!!e.getMeta(Ap)}function QI(e,t){let n=Ap.getState(e);return vm(n.doc,n.type,t,n.binding.mapping)||0}function $I(e,t){let n=Ap.getState(e);return gm(t,n.type,n.binding.mapping)}var eL=class e extends N{constructor(e,t){super(e),this.yRelativePosition=t}static fromJSON(t){return new e(t.position,t.yRelativePosition)}toJSON(){return{position:this.position,yRelativePosition:this.yRelativePosition}}};function tL(e,t){return new eL(e,$I(t,e))}function nL(e,t,n){let r=e instanceof eL?e.yRelativePosition:null;if(ZI(t)&&r)return{position:new eL(QI(n,r),r),mapResult:null};let i=q(e,t),a=i.position.position;return{position:new eL(a,r??$I(n,a)),mapResult:i.mapResult}}var rL=ge.create({name:`collaboration`,priority:1e3,addOptions(){return{document:null,field:`default`,fragment:null,provider:null}},addStorage(){return{isDisabled:!1}},onCreate(){this.editor.extensionManager.extensions.find(e=>e.name===`undoRedo`)&&console.warn(`[tiptap warn]: "@tiptap/extension-collaboration" comes with its own history support and is not compatible with "@tiptap/extension-undo-redo".`)},onBeforeCreate(){this.editor.utils.getUpdatedPosition=(e,t)=>nL(e,t,this.editor.state),this.editor.utils.createMappablePosition=e=>tL(e,this.editor.state)},addCommands(){return{undo:()=>({tr:e,state:t,dispatch:n})=>(e.setMeta(`preventDispatch`,!0),jp.getState(t).undoManager.undoStack.length===0?!1:n?Em(t):!0),redo:()=>({tr:e,state:t,dispatch:n})=>(e.setMeta(`preventDispatch`,!0),jp.getState(t).undoManager.redoStack.length===0?!1:n?Dm(t):!0)}},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Mod-y":()=>this.editor.commands.redo(),"Shift-Mod-z":()=>this.editor.commands.redo()}},addProseMirrorPlugins(){let e=this.options.fragment?this.options.fragment:this.options.document.getXmlFragment(this.options.field),t=Am(this.options.yUndoOptions),n=t.spec.view;return t.spec.view=e=>{let{undoManager:t}=jp.getState(e.state);t.restore&&=(t.restore(),()=>{});let r=n?n(e):void 0;return{destroy:()=>{let e=t.trackedOrigins.has(t),n=t._observers;t.restore=()=>{e&&t.trackedOrigins.add(t),t.doc.on(`afterTransaction`,t.afterTransactionHandler),t._observers=n},r?.destroy&&r.destroy()}}},[zp(e,{...this.options.ySyncOptions,onFirstRender:this.options.onFirstRender}),t,this.editor.options.enableContentCheck&&new Ve({key:new lt(`filterInvalidContent`),filterTransaction:t=>{if(!ZI(t))return!0;if(this.storage.isDisabled)return!1;if(!t.docChanged)return!0;try{return t.doc.check(),!0}catch(t){return this.storage.isDisabled=!0,this.editor.emit(`contentError`,{error:t,editor:this.editor,disableCollaboration:()=>{var t;(t=e.doc)==null||t.destroy()}}),!1}}})].filter(Boolean)}});function iL(e){if(!e.length)return Pe.empty;let t=[],n=e[0].$from.node(0);return e.forEach(e=>{let n=e.$from.pos,r=e.$from.nodeAfter;r&&t.push(yt.node(n,n+r.nodeSize,{class:`ProseMirror-selectednoderange`}))}),Pe.create(n,t)}function aL(e,t,n){let r=n.isText||n.isAtom?0:1;return{start:e+r,end:e+t-r}}function oL(e,t,n,r={}){let i=[],a=e.node(0),{extendOnBoundaryOverlap:o=!0}=r;typeof n==`number`&&n>=0||(n=e.sameParent(t)?Math.max(0,e.sharedDepth(t.pos)-1):e.sharedDepth(t.pos));let s=new Me(e,t,n),c=s.depth===0?0:a.resolve(s.start).posAtIndex(0);return s.parent.forEach((n,r)=>{let l=c+r,u=l+n.nodeSize,d=aL(l,n.nodeSize,n),f=o?t.pos>=d.start&&e.pos<=d.end:t.pos>d.start&&e.pos<d.end;if(l<s.start||l>=s.end||!f)return;let p=new Ge(a.resolve(l),a.resolve(u));i.push(p)}),i}var sL=class e{constructor(e,t){this.anchor=e,this.head=t}map(t){return new e(t.map(this.anchor),t.map(this.head))}resolve(e){return new cL(e.resolve(this.anchor),e.resolve(this.head))}},cL=class e extends tt{constructor(e,t,n,r=1){let{doc:i}=e,a=e===t,o=e.pos===i.content.size&&t.pos===i.content.size,s=a&&!o?i.resolve(t.pos+(r>0?1:-1)):t,c=a&&o?i.resolve(e.pos-(r>0?1:-1)):e,l=oL(c.min(s),c.max(s),n),u=s.pos>=e.pos?l[0].$from:l[l.length-1].$to,d=s.pos>=e.pos?l[l.length-1].$to:l[0].$from;super(u,d,l),this.depth=n}get $to(){return this.ranges[this.ranges.length-1].$to}eq(t){return t instanceof e&&t.$from.pos===this.$from.pos&&t.$to.pos===this.$to.pos}map(t,n){return new e(t.resolve(n.map(this.anchor)),t.resolve(n.map(this.head)))}toJSON(){return{type:`nodeRange`,anchor:this.anchor,head:this.head}}get isForwards(){return this.head>=this.anchor}get isBackwards(){return!this.isForwards}extendBackwards(){let{doc:t}=this.$from;if(this.isForwards&&this.ranges.length>1){let t=this.ranges.slice(0,-1),n=t[0].$from,r=t[t.length-1].$to;return new e(n,r,this.depth)}let n=this.ranges[0],r=t.resolve(Math.max(0,n.$from.pos-1));return new e(this.$anchor,r,this.depth)}extendForwards(){let{doc:t}=this.$from;if(this.isBackwards&&this.ranges.length>1){let t=this.ranges.slice(1),n=t[0].$from,r=t[t.length-1].$to;return new e(r,n,this.depth)}let n=this.ranges[this.ranges.length-1],r=t.resolve(Math.min(t.content.size,n.$to.pos+1));return new e(this.$anchor,r,this.depth)}static fromJSON(t,n){return new e(t.resolve(n.anchor),t.resolve(n.head))}static create(e,t,n,r,i=1){return new this(e.resolve(t),e.resolve(n),r,i)}getBookmark(){return new sL(this.anchor,this.head)}};cL.prototype.visible=!1;function lL(e){return e instanceof cL}ge.create({name:`nodeRange`,addOptions(){return{depth:void 0,key:`Mod`}},addKeyboardShortcuts(){return{"Shift-ArrowUp":({editor:e})=>{let{depth:t}=this.options,{view:n,state:r}=e,{doc:i,selection:a,tr:o}=r,{anchor:s,head:c}=a;if(!lL(a)){let e=cL.create(i,s,c,t,-1);return o.setSelection(e),n.dispatch(o),!0}let l=a.extendBackwards();return o.setSelection(l),n.dispatch(o),!0},"Shift-ArrowDown":({editor:e})=>{let{depth:t}=this.options,{view:n,state:r}=e,{doc:i,selection:a,tr:o}=r,{anchor:s,head:c}=a;if(!lL(a)){let e=cL.create(i,s,c,t);return o.setSelection(e),n.dispatch(o),!0}let l=a.extendForwards();return o.setSelection(l),n.dispatch(o),!0},"Mod-a":({editor:e})=>{let{depth:t}=this.options,{view:n,state:r}=e,{doc:i,tr:a}=r,o=cL.create(i,0,i.content.size,t);return a.setSelection(o),n.dispatch(a),!0}}},onSelectionUpdate(){let{selection:e}=this.editor.state;lL(e)&&this.editor.view.dom.classList.add(`ProseMirror-noderangeselection`)},addProseMirrorPlugins(){let e=!1,t=!1;return[new Ve({key:new lt(`nodeRange`),props:{attributes:()=>e?{class:`ProseMirror-noderangeselection`}:{class:``},handleDOMEvents:{mousedown:(e,n)=>{let{key:r}=this.options,i=/Mac/.test(navigator.platform),a=!!n.shiftKey,o=!!n.ctrlKey,s=!!n.altKey,c=!!n.metaKey;return(r==null||r===`Shift`&&a||r===`Control`&&o||r===`Alt`&&s||r===`Meta`&&c||r===`Mod`&&(i?c:o))&&(t=!0),t&&document.addEventListener(`mouseup`,()=>{t=!1;let{state:n}=e,{doc:r,selection:i,tr:a}=n,{$anchor:o,$head:s}=i;if(o.sameParent(s))return;let c=cL.create(r,o.pos,s.pos,this.options.depth);a.setSelection(c),e.dispatch(a)},{once:!0}),!1}},decorations:n=>{let{selection:r}=n,i=lL(r);if(e=!1,!t)return i?(e=!0,iL(r.ranges)):null;let{$from:a,$to:o}=r;if(!i&&a.sameParent(o))return null;let s=oL(a,o,this.options.depth);return s.length?(e=!0,iL(s)):null}}})]}});function uL(e){let t=``,n=getComputedStyle(e);for(let e=0;e<n.length;e+=1)t+=`${n[e]}:${n.getPropertyValue(n[e])};`;return t}function dL(e){let t=e.cloneNode(!0),n=[e,...Array.from(e.getElementsByTagName(`*`))],r=[t,...Array.from(t.getElementsByTagName(`*`))];return n.forEach((e,t)=>{r[t].style.cssText=uL(e)}),t}var fL=[{id:`listItemFirstChild`,evaluate:({parent:e,isFirst:t})=>t&&e&&[`listItem`,`taskItem`].includes(e.type.name)?1e3:0},{id:`listWrapperDeprioritize`,evaluate:({node:e})=>{let t=[`listItem`,`taskItem`],n=e.firstChild;return n&&t.includes(n.type.name)?1e3:0}},{id:`tableStructure`,evaluate:({node:e,parent:t})=>[`tableRow`,`tableCell`,`tableHeader`].includes(e.type.name)||t&&t.type.name===`tableHeader`?1e3:0},{id:`inlineContent`,evaluate:({node:e})=>e.isInline||e.isText?1e3:0}],pL={edges:[`left`,`top`],threshold:12,strength:500};function mL(e){return e===void 0||e===`left`?{...pL}:e===`right`?{edges:[`right`,`top`],threshold:12,strength:500}:e===`both`?{edges:[`left`,`right`,`top`],threshold:12,strength:500}:e===`none`?{edges:[],threshold:0,strength:0}:{...pL,...e}}function hL(e,t,n){if(n.edges.length===0)return!1;let r=t.getBoundingClientRect(),{threshold:i,edges:a}=n;return a.some(t=>t===`left`?e.x-r.left<i:t===`right`?r.right-e.x<i:t===`top`?e.y-r.top<i:t===`bottom`?r.bottom-e.y<i:!1)}function gL(e,t,n,r){return!t||n.edges.length===0?0:hL(e,t,n)?n.strength*r:0}var _L=1e3;function vL(e,t,n,r){let i=_L,a=!1;if(t.every(t=>{let n=t.evaluate(e);return i-=n,i<=0?(a=!0,!1):!0}),a)return-1;let o=e.view.nodeDOM(e.pos);return i-=gL(r,o,n,e.depth),i<=0?-1:i}function yL(e,t,n){return Array.from({length:t},(e,n)=>t-1-n).some(t=>n.includes(e.node(t).type.name))}function bL(e,t,n){if(!Number.isFinite(t.x)||!Number.isFinite(t.y))return null;let r=e.posAtCoords({left:t.x,top:t.y});if(!r)return null;let{doc:i}=e.state,a=i.resolve(r.pos),o=[];n.defaultRules&&o.push(...fL),o.push(...n.rules);let s=Array.from({length:a.depth},(e,t)=>a.depth-t).map(r=>{let i=a.node(r),s=a.before(r);if(n.allowedContainers&&r>0&&!yL(a,r,n.allowedContainers))return null;let c=r>0?a.node(r-1):null,l=r>0?a.index(r-1):0,u=c?c.childCount:1,d=vL({node:i,pos:s,depth:r,parent:c,index:l,isFirst:l===0,isLast:l===u-1,$pos:a,view:e},o,n.edgeDetection,t);return d<0?null:{node:i,pos:s,depth:r,score:d,dom:e.nodeDOM(s)}}).filter(e=>e!==null),c=a.nodeAfter;if(c&&c.isAtom&&!c.isInline){let i=r.pos,l=a.depth+1,u=a.parent,d=a.index(),f=u.childCount,p=!0;if(n.allowedContainers&&(p=yL(a,l,n.allowedContainers)),p){let r=vL({node:c,pos:i,depth:l,parent:u,index:d,isFirst:d===0,isLast:d===f-1,$pos:a,view:e},o,n.edgeDetection,t);if(r>=0){let t=e.nodeDOM(i);t&&s.push({node:c,pos:i,depth:l,score:r,dom:t})}}}if(s.length===0)return null;s.sort((e,t)=>t.score===e.score?t.depth-e.depth:t.score-e.score);let l=s[0];return l.dom?{node:l.node,pos:l.pos,dom:l.dom}:null}function xL(e,t){let n=e;for(;n?.parentElement&&n.parentElement!==t.dom;)n=n.parentElement;return n?.parentElement===t.dom?n:void 0}function SL(e){return Number.isFinite(e.top)&&Number.isFinite(e.bottom)&&Number.isFinite(e.left)&&Number.isFinite(e.right)&&e.width>0&&e.height>0}function CL(e,t,n,r=5){if(!Number.isFinite(t)||!Number.isFinite(n))return null;let i=e.dom,a=i.firstElementChild,o=i.lastElementChild;if(!a||!o)return null;let s=a.getBoundingClientRect(),c=o.getBoundingClientRect();if(!SL(s)||!SL(c))return null;let l=Math.min(Math.max(s.top+r,n),c.bottom-r),u=.5,d=Math.abs(s.left-c.left)<u,f=Math.abs(s.right-c.right)<u,p=s;d&&f&&(p=s);let m=Math.min(Math.max(p.left+r,t),p.right-r);return!Number.isFinite(m)||!Number.isFinite(l)?null:{x:m,y:l}}var wL=e=>{let{x:t,y:n,editor:r,nestedOptions:i}=e,{view:a,state:o}=r,s=CL(a,t,n,5);if(!s)return{resultElement:null,resultNode:null,pos:null};let{x:c,y:l}=s;if(i?.enabled){let e=bL(a,{x:c,y:l},i);return e?{resultElement:e.dom,resultNode:e.node,pos:e.pos}:{resultElement:null,resultNode:null,pos:null}}let u=a.root.elementsFromPoint(c,l),d;if(Array.prototype.some.call(u,e=>{if(!a.dom.contains(e))return!1;let t=xL(e,a);return t?(d=t,!0):!1}),!d){let e=a.posAtCoords({left:c,top:l});if(e){let t=o.doc.resolve(e.pos),n=Math.min(t.depth,1),r=n>0?t.before(n):t.pos,i=o.doc.nodeAt(r);if(i){let e=a.nodeDOM(r);return{resultElement:e instanceof HTMLElement?e:null,resultNode:i,pos:r}}}return{resultElement:null,resultNode:null,pos:null}}let f;try{f=a.posAtDOM(d,0)}catch{return{resultElement:null,resultNode:null,pos:null}}let p=o.doc.nodeAt(f);if(!p){let e=o.doc.resolve(f),t=e.parent;return{resultElement:d,resultNode:t,pos:e.start()}}return{resultElement:d,resultNode:p,pos:f}};function TL(e,t){let n=null,r=e.nodeDOM(t);if(r instanceof Element)n=r;else{let{node:r,offset:i}=e.domAtPos(t),a=r.childNodes[i];a instanceof Element?n=a:r instanceof Element?n=r:r.nodeType===Node.TEXT_NODE&&r.parentElement&&(n=r.parentElement)}return(n?getComputedStyle(n).direction:getComputedStyle(e.dom).direction)||`ltr`}function EL(e){var t;(t=e.parentNode)==null||t.removeChild(e)}function DL(e,t,n,r){let{doc:i}=t.view.state;if(n?.enabled&&r?.node&&r.pos>=0){let e=r.pos,t=r.pos+r.node.nodeSize;return[{$from:i.resolve(e),$to:i.resolve(t)}]}let a=wL({editor:t,x:e.clientX,y:e.clientY,direction:`right`,nestedOptions:n});if(!a.resultNode||a.pos===null)return[];let o=a.resultNode.isText||a.resultNode.isAtom?0:-1;return oL(i.resolve(a.pos),i.resolve(a.pos+a.resultNode.nodeSize+o),0,{extendOnBoundaryOverlap:!1})}function OL(e,t,n,r){let{view:i}=t;if(!e.dataTransfer)return;let{empty:a,$from:o,$to:s}=i.state.selection,c=DL(e,t,n,r),l=oL(o,s,0,{extendOnBoundaryOverlap:!1}),u=l.some(e=>c.find(t=>t.$from===e.$from&&t.$to===e.$to)),d=a||!u?c:l;if(!d.length)return;let{tr:f}=i.state,p=document.createElement(`div`),m=d[0].$from.pos,h=d[d.length-1].$to.pos;p.setAttribute(`dir`,TL(i,m));let g=n?.enabled&&r?.node,_,v;g?(_=i.state.doc.slice(m,h),v=Le.create(i.state.doc,m)):(v=cL.create(i.state.doc,m,h),_=v.content()),d.forEach(e=>{let t=dL(i.nodeDOM(e.$from.pos));p.append(t)}),p.style.position=`absolute`,p.style.top=`-10000px`,p.style.contentVisibility=`visible`,document.body.append(p);for(let e of p.querySelectorAll(`*`))e.style&&e.style.contentVisibility===`auto`&&(e.style.contentVisibility=`visible`);e.dataTransfer.clearData();let y=p.getBoundingClientRect(),b=i.nodeDOM(m),x=b&&b.nodeType===1?b.getBoundingClientRect():null,S=x?Math.min(e.clientX-x.left,y.width):Math.max(0,Math.min(e.clientX-y.left,y.width)),C=x?Math.min(Math.max(e.clientY-x.top,0),y.height):0;e.dataTransfer.setDragImage(p,S,C);let w=!1,T=()=>{w||(w=!0,EL(p),document.removeEventListener(`drop`,T),document.removeEventListener(`dragend`,T))},E=v instanceof Le?v:void 0;i.dragging={slice:_,move:!0,node:E},f.setSelection(v),i.dispatch(f),document.addEventListener(`drop`,T),document.addEventListener(`dragend`,T)}var kL=(e,t)=>{let n=e.resolve(t),{depth:r}=n;return r===0?t:n.pos-n.parentOffset-1},AL=(e,t)=>{let n=e.nodeAt(t),r=e.resolve(t),{depth:i}=r,a=n;for(;i>0;){let e=r.node(i);--i,i===0&&(a=e)}return a},jL=(e,t)=>{let n=Ap.getState(e);return n?gm(t,n.type,n.binding.mapping):null},ML=(e,t)=>{let n=Ap.getState(e);return n?vm(n.doc,n.type,t,n.binding.mapping)||0:-1},NL=(e,t)=>{let n=t;for(;n?.parentNode&&n.parentNode!==e.dom;)n=n.parentNode;return n},PL=new lt(`dragHandle`),FL=({pluginKey:e=PL,element:t,editor:n,computePositionConfig:r,getReferencedVirtualElement:i,onNodeChange:a,onElementDragStart:o,onElementDragEnd:s,nestedOptions:c})=>{let l=document.createElement(`div`),u=!1,f=null,p=-1,m,h=null,g=null;function _(){t&&(t.style.visibility=`hidden`,t.style.pointerEvents=`none`)}function v(){if(t){if(!n.isEditable){_();return}t.style.visibility=``,t.style.pointerEvents=`auto`}}function y(e){Br(i?.()||{getBoundingClientRect:()=>e.getBoundingClientRect()},t,r).then(e=>{Object.assign(t.style,{position:e.strategy,left:`${e.x}px`,top:`${e.y}px`})})}function b(e){o?.(e),OL(e,n,c,{node:f,pos:p}),t&&(t.dataset.dragging=`true`),setTimeout(()=>{t&&(t.style.pointerEvents=`none`)},0)}function x(e){s?.(e),_(),t&&(t.style.pointerEvents=`auto`,t.dataset.dragging=`false`)}function S(){if(d()){let e=n.view.dom;requestAnimationFrame(()=>{e.isContentEditable&&(e.contentEditable=`false`,e.contentEditable=`true`)})}}return l.appendChild(t),{unbind(){t.removeEventListener(`dragstart`,b),t.removeEventListener(`dragend`,x),document.removeEventListener(`drop`,S),h&&(cancelAnimationFrame(h),h=null,g=null)},plugin:new Ve({key:typeof e==`string`?new lt(e):e,state:{init(){return{locked:!1}},apply(e,r,i,o){let s=e.getMeta(`lockDragHandle`),c=e.getMeta(`hideDragHandle`);if(s!==void 0&&(u=s),c)return _(),u=!1,f=null,p=-1,a?.({editor:n,node:null,pos:-1}),r;if(e.docChanged&&p!==-1&&t)if(ZI(e)){let e=ML(o,m);e!==p&&(p=e)}else{let t=e.mapping.map(p);t!==p&&(p=t,m=jL(o,p))}return r}},view:e=>{var r;return t.draggable=!0,t.style.pointerEvents=`auto`,t.dataset.dragging=`false`,(r=n.view.dom.parentElement)==null||r.appendChild(l),l.style.pointerEvents=`none`,l.style.position=`absolute`,l.style.top=`0`,l.style.left=`0`,t.addEventListener(`dragstart`,b),t.addEventListener(`dragend`,x),document.addEventListener(`drop`,S),{update(r,i){if(!t)return;if(!n.isEditable){_();return}if(u?t.draggable=!1:t.draggable=!0,e.state.doc.eq(i.doc)||p===-1)return;let o=e.nodeDOM(p);if(o=NL(e,o),o===e.dom||o?.nodeType!==1)return;let s=e.posAtDOM(o,0),c=AL(n.state.doc,s),l=kL(n.state.doc,s);f=c,p=l,m=jL(e.state,p),a?.({editor:n,node:f,pos:p}),y(o)},destroy(){t.removeEventListener(`dragstart`,b),t.removeEventListener(`dragend`,x),document.removeEventListener(`drop`,S),h&&(cancelAnimationFrame(h),h=null,g=null),t&&EL(l)}}},props:{handleDOMEvents:{keydown(e){return!t||u?!1:e.hasFocus()?(_(),f=null,p=-1,a?.({editor:n,node:null,pos:-1}),!1):!1},mouseleave(e,t){return u||t.target&&!l.contains(t.relatedTarget)&&(_(),f=null,p=-1,a?.({editor:n,node:null,pos:-1})),!1},mousemove(e,r){return!t||u||(g={x:r.clientX,y:r.clientY},h)||(h=requestAnimationFrame(()=>{if(h=null,!g)return;let{x:t,y:r}=g;g=null;let i=wL({x:t,y:r,direction:`right`,editor:n,nestedOptions:c});if(!i.resultElement)return;let o=i.resultElement,s=i.resultNode,l=i.pos;if(!c?.enabled){if(o=NL(e,o),o===e.dom||o?.nodeType!==1)return;let t=e.posAtDOM(o,0);s=AL(n.state.doc,t),l=kL(n.state.doc,t)}s!==f&&(f=s,p=l??-1,m=jL(e.state,p),a?.({editor:n,node:f,pos:p}),y(o),v())})),!1}}}})}};function IL(e){return e===!1||e===void 0?{enabled:!1,rules:[],defaultRules:!0,allowedContainers:void 0,edgeDetection:mL(`none`)}:e===!0?{enabled:!0,rules:[],defaultRules:!0,allowedContainers:void 0,edgeDetection:mL(`left`)}:{enabled:!0,rules:e.rules??[],defaultRules:e.defaultRules??!0,allowedContainers:e.allowedContainers,edgeDetection:mL(e.edgeDetection)}}var LL={placement:`left-start`,strategy:`absolute`};ge.create({name:`dragHandle`,addOptions(){return{render(){let e=document.createElement(`div`);return e.classList.add(`drag-handle`),e},computePositionConfig:{},locked:!1,onNodeChange:()=>null,onElementDragStart:void 0,onElementDragEnd:void 0,nested:!1}},addCommands(){return{lockDragHandle:()=>({editor:e})=>(this.options.locked=!0,e.commands.setMeta(`lockDragHandle`,this.options.locked)),unlockDragHandle:()=>({editor:e})=>(this.options.locked=!1,e.commands.setMeta(`lockDragHandle`,this.options.locked)),toggleDragHandle:()=>({editor:e})=>(this.options.locked=!this.options.locked,e.commands.setMeta(`lockDragHandle`,this.options.locked))}},addProseMirrorPlugins(){let e=this.options.render(),t=IL(this.options.nested);return[FL({computePositionConfig:{...LL,...this.options.computePositionConfig},getReferencedVirtualElement:this.options.getReferencedVirtualElement,element:e,editor:this.editor,onNodeChange:this.options.onNodeChange,onElementDragStart:this.options.onElementDragStart,onElementDragEnd:this.options.onElementDragEnd,nestedOptions:t}).plugin]}});var RL=20,zL=44,BL=28;function VL(e){if(!e)return`Select block`;if(e.type.name===`jsxComponent`){let t=e.attrs.componentName??``;if(t){let e=gS(t),n=e.name===`*`?t:e.displayName??e.name;if(n)return`Select ${n}`}}return`Select ${e.type.name}`}function HL(){let e=document.createElement(`div`);e.className=`ok-block-controls`,e.setAttribute(yT,`true`),e.style.visibility=`hidden`;let t=document.createElement(`button`);t.className=`ok-add-block-btn`,t.setAttribute(`aria-label`,`Add block below`),t.setAttribute(`type`,`button`),t.innerHTML=`<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus"><path d="M5 12h14"/><path d="M12 5v14"/></svg>`,t.addEventListener(`mousedown`,e=>{e.preventDefault(),e.stopPropagation()});let n=document.createElement(`button`);return n.className=`ok-drag-grip`,n.setAttribute(`type`,`button`),n.setAttribute(`aria-label`,`Select block`),n.setAttribute(`tabindex`,`-1`),n.innerHTML=`<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-grip-vertical-icon lucide-grip-vertical"><circle cx="9" cy="12" r="1"/><circle cx="9" cy="5" r="1"/><circle cx="9" cy="19" r="1"/><circle cx="15" cy="12" r="1"/><circle cx="15" cy="5" r="1"/><circle cx="15" cy="19" r="1"/></svg>`,e.appendChild(t),e.appendChild(n),{container:e,addBtn:t,grip:n}}function UL(e,t,n){let{state:r,view:i}=e;if(n.type.name===`jsxComponent`){let i=n.attrs.componentName??``;if(i){let a=gS(i);if(a.emptyChildName){let i=t+1+n.content.size;if(i>r.doc.content.size)return;let o=a.emptyChildName;e.chain().focus().insertContentAt(i,SS(o)).run(),ES(e,i,gS(o));return}}}let a=t+n.nodeSize;if(a>r.doc.content.size)return;let{tr:o}=r,s=r.schema.nodes.paragraph?.create();if(!s)return;o.insert(a,s);let c=Ue.near(o.doc.resolve(a+1));o.setSelection(c).scrollIntoView(),i.dispatch(o),i.focus(),e.commands.insertContent(`/`)}var WL=ge.create({name:`blockDragHandle`,addProseMirrorPlugins(){let e=this.editor,t=null,n=-1,{container:r,addBtn:i,grip:a}=HL();return i.addEventListener(`click`,()=>{t&&n>=0&&UL(e,n,t)}),a.addEventListener(`click`,()=>{if(n<0)return;let r=t,i=r?.type.name??`unknown`;try{e.chain().focus().setNodeSelection(n).run()||(w(i),console.warn(JSON.stringify({event:`block-grip-click-select-failed`,nodeType:i,componentName:String(r?.attrs.componentName??``).slice(0,200),reason:`chain-dispatch-returned-false`})))}catch(e){if(!(e instanceof RangeError))throw e;w(i),console.warn(JSON.stringify({event:`block-grip-click-select-failed`,nodeType:i,componentName:String(r?.attrs.componentName??``).slice(0,200),reason:e.message.slice(0,500)}))}}),[FL({element:r,editor:e,onNodeChange({node:e,pos:r}){t=e,n=r??-1,a.setAttribute(`aria-label`,VL(e))},computePositionConfig:{placement:`left-start`,strategy:`absolute`,middleware:[Ur(({rects:e})=>({mainAxis:10,crossAxis:((e.reference.height<=zL?e.reference.height:BL)-RL)/2}))]},nestedOptions:IL(!1)}).plugin]}}),GL=/^#fn(?:ref)?-/,KL=ge.create({name:`footnoteAnchorScroll`,addProseMirrorPlugins(){return[new Ve({props:{handleDOMEvents:{click(e,t){let n=t.target;if(!(n instanceof Element))return!1;let r=n.closest(`a[href^="#fn"]`);if(!(r instanceof HTMLAnchorElement))return!1;let i=r.getAttribute(`href`)??``;if(!GL.test(i))return!1;let a=i.slice(1);t.preventDefault();let o=e.dom.ownerDocument.getElementById(a);return o&&o.scrollIntoView({behavior:`smooth`,block:`start`}),!0}}}})]}}),qL=ge.create({name:`formattingShortcuts`,addKeyboardShortcuts(){return{"Mod-Shift-x":()=>this.editor.commands.toggleStrike()}}}),JL=ge.create({name:`headingAnchors`,addProseMirrorPlugins(){return[new Ve({props:{decorations(e){let t=[],n=new Map;return e.doc.descendants((e,r)=>{if(e.type.name===`heading`){let i=Pt(e.textContent,n);if(!i)return;t.push(yt.node(r,r+e.nodeSize,{id:i}))}}),Pe.create(e.doc,t)}}})]}});function YL(e){let t=(0,$.c)(8),{node:n,editor:r}=e,i=n.attrs.src,a=n.attrs.alt,o=n.attrs.title,s;if(t[0]!==r||t[1]!==i){let e=r?V_(r)??void 0:void 0;s=typeof i==`string`?S(ot(i,e)):void 0,t[0]=r,t[1]=i,t[2]=s}else s=t[2];let c=s,l=typeof a==`string`?a:``,u=typeof o==`string`?o:void 0,d;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(d={sizes:void 0},t[3]=d):d=t[3];let f;return t[4]!==l||t[5]!==c||t[6]!==u?(f=(0,Z.jsx)(Du,{as:`span`,"data-image-inline-zoom":!0,"data-clipboard-inline-leaf":`image`,children:(0,Z.jsx)(Ry,{wrapElement:`span`,zoomMargin:20,zoomImg:d,children:(0,Z.jsx)(`img`,{src:c,alt:l,title:u})})}),t[4]=l,t[5]=c,t[6]=u,t[7]=f):f=t[7],f}var XL=Lt.extend({addNodeView(){return Fu(YL)}});function ZL(e,t){let n=e;for(;n&&typeof n.hasAttribute==`function`;){if(n.hasAttribute(`data-wiki-embed`)){let e=n.getAttribute(`data-target`)??``;if(!e)return null;let r=rt(e,t);return r?{kind:n.tagName===`IMG`?`image`:`asset`,relPath:r,title:r.split(`/`).pop()??e}:null}if(n.hasAttribute(`data-wiki-link`)){let e=n.getAttribute(`data-target`)??``;return e?{kind:`wiki-link`,relPath:`${e}.md`,title:e}:null}if(n.tagName===`A`&&n.hasAttribute(`href`)){let e=j(n.getAttribute(`href`)??``,t);if(e?.kind===`asset`){let n=rt(e.url,t);return n?{kind:`asset`,relPath:n,title:n.split(`/`).pop()??e.url}:null}}if(n.tagName===`IMG`){let e=n.getAttribute(`src`)??``;if(e){let n=j(e,t);if(n?.kind===`asset`){let e=rt(n.url,t);return e?{kind:`image`,relPath:e,title:e.split(`/`).pop()??n.url}:null}}}n=n.parentElement}return null}var QL=new lt(`asset-context-menu`);function $L(e){return new Ve({key:QL,view(t){let n=e.showAssetMenu??(e=>{let t=globalThis.window?.okDesktop;return t?t.shell.showAssetMenu({relPath:e.relPath,title:e.title,kind:e.kind}):Promise.resolve()}),r=t=>{if(!(t.target instanceof Element))return;let r=ZL(t.target,e.sourceDocName);r&&(t.preventDefault(),n(r))};return t.dom.addEventListener(`contextmenu`,r),{destroy(){t.dom.removeEventListener(`contextmenu`,r)}}}})}var eR=e=>{let t=(0,$.c)(18),{kind:n,ariaLabel:r,onDeactivate:i,children:a,triggerReference:o,layout:s,className:c,"data-slot":l}=e,u=s===void 0?`standard`:s,d=(0,Q.useRef)(null),f,p;t[0]===o?(f=t[1],p=t[2]):(f=()=>{let e=d.current;if(e)return Ir(o,e,()=>{let t=o.getBoundingClientRect();e.isConnected&&(e.style.left=`${t.left}px`,e.style.top=`${t.top}px`,e.style.width=`${t.width}px`,e.style.height=`${t.height}px`)})},p=[o],t[0]=o,t[1]=f,t[2]=p),(0,Q.useLayoutEffect)(f,p);let m;t[3]===i?m=t[4]:(m=e=>{e||i()},t[3]=i,t[4]=m);let h;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,Z.jsx)(kf,{asChild:!0,children:(0,Z.jsx)(`span`,{ref:d,"aria-hidden":`true`,style:{position:`fixed`,pointerEvents:`none`,left:`-9999px`,top:`-9999px`,width:0,height:0}})}),t[5]=h):h=t[5];let g=u===`wide`?`w-[min(720px,calc(100%-1rem))]`:`w-80`,_;t[6]!==c||t[7]!==g?(_=Gt(`ok-interaction-prop-panel pointer-events-auto p-3`,g,c),t[6]=c,t[7]=g,t[8]=_):_=t[8];let v;t[9]!==r||t[10]!==a||t[11]!==l||t[12]!==n||t[13]!==_?(v=(0,Z.jsx)(Of,{side:`bottom`,align:`start`,sideOffset:8,collisionPadding:8,"aria-label":r,"data-ok-prop-panel":n,"data-slot":l,onOpenAutoFocus:tR,onCloseAutoFocus:nR,onPointerDownOutside:rR,onFocusOutside:iR,onInteractOutside:aR,className:_,children:a}),t[9]=r,t[10]=a,t[11]=l,t[12]=n,t[13]=_,t[14]=v):v=t[14];let y;return t[15]!==m||t[16]!==v?(y=(0,Z.jsxs)(Ef,{open:!0,onOpenChange:m,children:[h,v]}),t[15]=m,t[16]=v,t[17]=y):y=t[17],y};function tR(e){return e.preventDefault()}function nR(e){return e.preventDefault()}function rR(e){e.target?.closest(`[data-ok-layer-spawned]`)&&e.preventDefault()}function iR(e){e.target?.closest(`[data-ok-layer-spawned]`)&&e.preventDefault()}function aR(e){e.target?.closest(`[data-ok-layer-spawned]`)&&e.preventDefault()}function oR(e){let t=e.trim();return/\.(md|mdx)$/i.test(t)?t:`${t}.md`}function sR(e){let t=e.initialDir.trim().replace(/^\/+|\/+$/g,``),n=oR(e.suggestedName);return t?`${t}/${n}`:n}async function cR(e){let t=await Af(await fetch(`/api/create-page`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({path:e})}),`Failed to create page`);if(!t.ok)throw Error(t.title);let n=e.replace(/\.(mdx|md)$/i,``);return{docName:jf(le,t.body,`create-page`,{docName:n}).docName}}async function lR(e){return cR(sR(e))}async function uR(e,t){let{docName:n}=await lR(e);return t.addPage(n),ki([`files`,`backlinks`,`graph`]),t.onCreated?.(n),{docName:n}}var dR=8;function fR(e){return e.trim().replace(/^\/+/,``).replace(/\.mdx?$/i,``).replace(/\/+$/g,``)}function pR(e){return mR(e)?fR(e.slice(1)).toLowerCase():null}function mR(e){return e.startsWith(`/`)&&!e.startsWith(`//`)}function hR(e){return e.split(`/`).at(-1)??e}function gR(e,t){if(!t)return 0;let n=e.toLowerCase(),r=hR(e).toLowerCase();return n===t?0:r===t?1:n.startsWith(t)?2:r.startsWith(t)?3:r.includes(t)?4:n.includes(t)?5:null}function _R(e){switch(e){case`page`:return 0;case`folder`:return 1;case`asset`:return 2}}function vR(e){let t=[],n=new Set;function r(e,r){let i=fR(r);if(!i)return;let a=`${e}:${i.toLowerCase()}`;n.has(a)||(n.add(a),t.push({kind:e,path:i}))}for(let t of e.pages)r(`page`,t);for(let t of e.folderPaths??[])r(`folder`,t);if(e.includeAssets)for(let t of e.assetPaths??[])r(`asset`,t);return t}function yR(e){let t=pR(e.value);if(t===null)return[];let n=[];for(let r of vR(e)){let e=gR(r.path,t);e!==null&&n.push({suggestion:r,score:e})}return n.sort((e,t)=>{if(e.score!==t.score)return e.score-t.score;let n=_R(e.suggestion.kind)-_R(t.suggestion.kind);return n===0?e.suggestion.path.localeCompare(t.suggestion.path):n}),n.slice(0,e.limit??dR).map(e=>e.suggestion)}var bR=`[data-ok-link-path-suggestion-panel]`;function xR(e){return e instanceof Element&&e.closest(bR)!==null}function SR(e){xR(e.target)&&e.preventDefault()}function CR(e){switch(e.kind){case`page`:return(0,Z.jsx)(yd,{className:`size-3.5`,docExt:`.md`,kind:`file`,path:e.path});case`folder`:return(0,Z.jsx)(yd,{className:`size-3.5`,kind:`folder`,path:e.path});case`asset`:return(0,Z.jsx)(yd,{bodyIndexed:!1,className:`size-3.5`,kind:`file`,path:e.path})}}function wR(e,t){if(e){if(typeof e==`function`){e(t);return}e.current=t}}function TR(e){let t=(0,$.c)(54),n,r,i,a,o,c,l,u,d,f,p,m,h,g;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],c=t[6],l=t[7],u=t[8],d=t[9],f=t[10],p=t[11],m=t[12],h=t[13],g=t[14]):({value:g,pages:f,folderPaths:i,assetPaths:n,includeAssets:m,loading:h,onValueChange:d,onKeyDown:l,onSuggestionSelect:u,onFocus:c,onBlur:o,className:r,ref:p,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=c,t[7]=l,t[8]=u,t[9]=d,t[10]=f,t[11]=p,t[12]=m,t[13]=h,t[14]=g);let _=m===void 0?!1:m,v=h===void 0?!1:h,{_:y}=s(),[b,x]=(0,Q.useState)(!1),[S,C]=(0,Q.useState)(!1),[w,T]=(0,Q.useState)(0),E=(0,Q.useRef)(null),D=(0,Q.useRef)(null),O=(0,Q.useId)(),k;t[15]===g?k=t[16]:(k=g.trim(),t[15]=g,t[16]=k);let A=k===``,j=yR({value:A?`/`:g,pages:f,folderPaths:i,assetPaths:n,includeAssets:_}),M=j.map(AR).join(`\0`),N;t[17]===g?N=t[18]:(N=mR(g),t[17]=g,t[18]=N);let P=A||N,F=j.length>0,I=b&&!S&&P&&(F||v)||b&&!S&&P&&!v&&!F,L=Math.min(w,Math.max(j.length-1,0)),R=F?`${O}-option-${L}`:void 0,ee;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(ee=()=>{T(0)},t[19]=ee):ee=t[19],(0,Q.useEffect)(ee,[M]);let z,B;t[20]!==R||t[21]!==I?(z=()=>{!I||!R||document.getElementById(R)?.scrollIntoView?.({block:`nearest`})},B=[R,I],t[20]=R,t[21]=I,t[22]=z,t[23]=B):(z=t[22],B=t[23]),(0,Q.useEffect)(z,B);let te,V;t[24]===I?(te=t[25],V=t[26]):(te=()=>{if(!I)return;let e=E.current,t=D.current;if(!e||!t)return;let n=e,r=t,i=function(){Br(n,r,{placement:`bottom-start`,strategy:`fixed`,middleware:[Ur(4),Kr({padding:8}),Vr({padding:8}),Rr({padding:8,apply(e){let{availableHeight:t,availableWidth:n,elements:r}=e;Object.assign(r.floating.style,{width:`${Math.min(480,n)}px`,maxHeight:`${Math.min(208,Math.max(96,t))}px`})}})]}).then(e=>{let{x:t,y:n}=e;r.isConnected&&Object.assign(r.style,{left:`${t}px`,top:`${n}px`})}).catch(e=>{r.isConnected&&console.warn(`[LinkPathSuggestionInput] computePosition failed`,e)})},a=Ir(n,r,i);return i(),a},V=[I],t[24]=I,t[25]=te,t[26]=V),(0,Q.useLayoutEffect)(te,V);let H;t[27]===p?H=t[28]:(H=function(e){E.current=e,wR(p,e)},t[27]=p,t[28]=H);let U=H,W=function(e){u?u(e):d(e.path),C(!0),requestAnimationFrame(()=>E.current?.focus())},ne=function(e){if(F){if(e.key===`ArrowDown`){e.preventDefault(),T(e=>Math.min(e+1,j.length-1));return}if(e.key===`ArrowUp`){e.preventDefault(),T(kR);return}if(e.key===`Enter`){e.preventDefault();let t=j[L];t&&W(t);return}if(e.key===`Escape`){e.preventDefault(),C(!0);return}}if(I&&e.key===`Escape`){e.preventDefault(),C(!0);return}l?.(e)},G;t[29]===y?G=t[30]:(G=function(e){switch(e){case`page`:return y({id:`6WdDG7`});case`folder`:return y({id:`kNqMMd`});case`asset`:return y({id:`bUUVED`})}},t[29]=y,t[30]=G);let K=G,re=I?(0,Z.jsx)(`div`,{ref:D,id:O,role:`listbox`,"aria-label":y({id:`mBltnd`}),"data-ok-layer-spawned":``,"data-ok-link-path-suggestion-panel":``,className:`fixed z-70 max-h-52 overflow-y-auto overscroll-y-contain rounded-md border border-border bg-popover p-1 text-popover-foreground shadow-md subtle-scrollbar pointer-events-auto`,onWheel:OR,onTouchMove:DR,children:F?j.map((e,t)=>{let n=t===L,r=K(e.kind);return(0,Z.jsxs)(Yt,{id:`${O}-option-${t}`,type:`button`,role:`option`,"aria-label":`/${e.path} ${r}`,"aria-selected":n,variant:`ghost`,className:Gt(`h-auto w-full justify-start gap-2 rounded-sm px-2 py-1.5 text-left font-normal`,n&&`bg-accent text-accent-foreground`),onMouseDown:ER,onClick:()=>W(e),children:[CR(e),(0,Z.jsxs)(`span`,{className:`min-w-0 flex-1 truncate`,children:[`/`,e.path]}),(0,Z.jsx)(`span`,{className:`shrink-0 text-muted-foreground text-xs`,children:r})]},`${e.kind}:${e.path}`)}):(0,Z.jsx)(`div`,{role:`status`,className:`px-2 py-1.5 text-muted-foreground text-sm`,children:y(v?{id:`sxTdZI`}:{id:`_QwkMu`})})}):null,ie;t[31]===d?ie=t[32]:(ie=e=>{C(!1),d(e.target.value)},t[31]=d,t[32]=ie);let ae;t[33]===c?ae=t[34]:(ae=e=>{x(!0),c?.(e)},t[33]=c,t[34]=ae);let oe;t[35]===o?oe=t[36]:(oe=e=>{x(!1),o?.(e)},t[35]=o,t[36]=oe);let q=I?O:void 0,se;t[37]!==R||t[38]!==r||t[39]!==ne||t[40]!==a||t[41]!==U||t[42]!==I||t[43]!==ie||t[44]!==ae||t[45]!==oe||t[46]!==q||t[47]!==g?(se=(0,Z.jsx)(mi,{...a,ref:U,value:g,onChange:ie,onFocus:ae,onBlur:oe,onKeyDown:ne,role:`combobox`,"aria-autocomplete":`list`,"aria-expanded":I,"aria-controls":q,"aria-activedescendant":R,autoComplete:`off`,className:r}),t[37]=R,t[38]=r,t[39]=ne,t[40]=a,t[41]=U,t[42]=I,t[43]=ie,t[44]=ae,t[45]=oe,t[46]=q,t[47]=g,t[48]=se):se=t[48];let ce;t[49]===re?ce=t[50]:(ce=re&&(0,Go.createPortal)(re,document.body),t[49]=re,t[50]=ce);let le;return t[51]!==se||t[52]!==ce?(le=(0,Z.jsxs)(`div`,{className:`relative`,children:[se,ce]}),t[51]=se,t[52]=ce,t[53]=le):le=t[53],le}function ER(e){return e.preventDefault()}function DR(e){e.stopPropagation()}function OR(e){e.stopPropagation()}function kR(e){return Math.max(e-1,0)}function AR(e){return`${e.kind}:${e.path}`}var jR=1500;async function MR(e){if(typeof navigator>`u`||!navigator.clipboard?.writeText)throw Error(`clipboard unavailable`);await navigator.clipboard.writeText(e)}function NR(e){let t=(0,$.c)(20),{copyContent:n,clipboardWrite:r,initialCopied:i}=e,a=r===void 0?MR:r,o=i===void 0?!1:i,{_:c}=s(),[l,u]=(0,Q.useState)(+!!o),d=l>0,f,p;t[0]===l?(f=t[1],p=t[2]):(f=()=>{if(l===0)return;let e=setTimeout(()=>u(0),jR);return()=>clearTimeout(e)},p=[l],t[0]=l,t[1]=f,t[2]=p),(0,Q.useEffect)(f,p);let m;t[3]!==a||t[4]!==n?(m=()=>{Promise.resolve().then(()=>a(n)).then(()=>u(FR),PR)},t[3]=a,t[4]=n,t[5]=m):m=t[5];let h=m,g;t[6]!==c||t[7]!==d?(g=c(d?{id:`PiH3UR`}:{id:`he3ygx`}),t[6]=c,t[7]=d,t[8]=g):g=t[8];let _=g,v;t[9]===d?v=t[10]:(v=d?(0,Z.jsx)(Xt,{className:`size-3.5`,"aria-hidden":`true`}):(0,Z.jsx)(sn,{className:`size-3.5`,"aria-hidden":`true`}),t[9]=d,t[10]=v);let y;t[11]!==h||t[12]!==_||t[13]!==v?(y=(0,Z.jsx)(jr,{asChild:!0,children:(0,Z.jsx)(Yt,{type:`button`,size:`icon-sm`,variant:`ghost`,"aria-label":_,onClick:h,children:v})}),t[11]=h,t[12]=_,t[13]=v,t[14]=y):y=t[14];let b;t[15]===_?b=t[16]:(b=(0,Z.jsx)(Mr,{children:_}),t[15]=_,t[16]=b);let x;return t[17]!==y||t[18]!==b?(x=(0,Z.jsxs)(Nr,{children:[y,b]}),t[17]=y,t[18]=b,t[19]=x):x=t[19],x}function PR(){}function FR(e){return e+1}function IR(e,t){return _v.getState(e)?.byId.get(t)??null}function LR(e){let{editor:t,layer:n,renderPropPanel:r,handlePrimary:i}=e;return{onRegister:e=>{n.register({type:e.markType,nodeId:e.id,controls:{propPanel:e=>r({editor:t,nodeId:e.nodeId,deactivate:e.deactivate})},handlePrimary:i?e=>i({editor:t,nodeId:e.nodeId,newTab:e.newTab}):void 0})},onDeregister:e=>{n.deregister(e)}}}function RR(e){let{editor:t,layer:n,markTypes:r,predicate:i,renderPropPanel:a,handlePrimary:o}=e,s=LR({editor:t,layer:n,renderPropPanel:a,handlePrimary:o});return Sv({markTypes:[...r],predicate:i,onRegister:s.onRegister,onDeregister:s.onDeregister})}function zR(e){let t=Iv(e.editor);return RR({...e,layer:t})}function BR(e,t){let n=(0,$.c)(4),[r,i]=(0,Q.useState)(null),a,o;return n[0]!==e||n[1]!==t?(a=()=>{if(!t||!e){i(null);return}let n=!1;return i(null),fF(e).then(e=>{n||i(e)}).catch(()=>{n||i([])}),()=>{n=!0}},o=[e,t],n[0]=e,n[1]=t,n[2]=a,n[3]=o):(a=n[2],o=n[3]),(0,Q.useEffect)(a,o),r}function VR(e,t){let n=e.trim();return n?n.startsWith(`#`)?`anchor`:v(n)?`external`:`doc`:t}function HR(e){return e?.kind===`doc`?`doc`:e?.kind===`anchor`?`anchor`:`external`}function UR(e){let t=(0,$.c)(84),{open:n,href:r,text:i,pages:a,folderPaths:c,loading:l,onOpenChange:u,onSave:d}=e,[f,p]=(0,Q.useState)(``),[m,h]=(0,Q.useState)(``),[g,_]=(0,Q.useState)(``),[v,y]=(0,Q.useState)(`doc`),b=(0,Q.useId)(),x=(0,Q.useId)(),S=(0,Q.useId)(),C=(0,Q.useId)(),{_:w}=s(),T=(0,Q.useRef)(!1),E=(0,Q.useRef)(``),D,O;t[0]!==r||t[1]!==n||t[2]!==i?(D=()=>{if(!n){T.current=!1;return}if(T.current)return;T.current=!0,E.current=i,_(i);let e=lP(r);if(y(HR(e)),e?.kind===`doc`){p(e.docName),h(e.anchor??``);return}if(e?.kind===`anchor`){p(`#${e.anchor}`),h(``);return}p(e?.kind===`external`?e.url:r),h(``)},O=[n,r,i],t[0]=r,t[1]=n,t[2]=i,t[3]=D,t[4]=O):(D=t[3],O=t[4]),(0,Q.useEffect)(D,O);let k,A,j;t[5]!==v||t[6]!==f||t[7]!==a?(k=vi(f),A=v===`doc`,j=A&&ev(k,a),t[5]=v,t[6]=f,t[7]=a,t[8]=k,t[9]=A,t[10]=j):(k=t[8],A=t[9],j=t[10]);let M=BR(k,j&&n),N=!!M?.length,P;t[11]!==k||t[12]!==A||t[13]!==m||t[14]!==g||t[15]!==f||t[16]!==u||t[17]!==d?(P=function(){let e=f.trim();e&&(d(A?bP(k,m.trim()||null):e,g,g.trim()!==E.current.trim()),u(!1))},t[11]=k,t[12]=A,t[13]=m,t[14]=g,t[15]=f,t[16]=u,t[17]=d,t[18]=P):P=t[18];let F=P,I;t[19]===F?I=t[20]:(I=function(e){e.key===`Enter`&&(e.preventDefault(),F())},t[19]=F,t[20]=I);let L=I,R;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(R=function(e){p(e.path),y(`doc`),h(``)},t[21]=R):R=t[21];let ee=R,z;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(z=(0,Z.jsx)(Zr,{children:(0,Z.jsx)(o,{id:`B11p-O`})}),t[22]=z):z=t[22];let B;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(B=(0,Z.jsxs)(li,{children:[z,(0,Z.jsx)(Xr,{children:(0,Z.jsx)(o,{id:`RobAKV`})})]}),t[23]=B):B=t[23];let te;t[24]===A?te=t[25]:(te=A?(0,Z.jsx)(o,{id:`6WdDG7`}):(0,Z.jsx)(o,{id:`6vEr3W`}),t[24]=A,t[25]=te);let V;t[26]!==te||t[27]!==b?(V=(0,Z.jsx)(`label`,{className:`mb-1.5 inline-block text-sm font-medium`,htmlFor:b,children:te}),t[26]=te,t[27]=b,t[28]=V):V=t[28];let H;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(H=e=>{p(e),y(t=>VR(e,t))},t[29]=H):H=t[29];let U;t[30]===w?U=t[31]:(U=w({id:`Xl-UUg`}),t[30]=w,t[31]=U);let W;t[32]!==f||t[33]!==c||t[34]!==L||t[35]!==l||t[36]!==a||t[37]!==U||t[38]!==b?(W=(0,Z.jsx)(TR,{id:b,value:f,pages:a,folderPaths:c,loading:l,onValueChange:H,onSuggestionSelect:ee,placeholder:U,autoFocus:!0,onKeyDown:L}),t[32]=f,t[33]=c,t[34]=L,t[35]=l,t[36]=a,t[37]=U,t[38]=b,t[39]=W):W=t[39];let ne;t[40]!==V||t[41]!==W?(ne=(0,Z.jsxs)(`div`,{children:[V,W]}),t[40]=V,t[41]=W,t[42]=ne):ne=t[42];let G;t[43]===Symbol.for(`react.memo_cache_sentinel`)?(G=(0,Z.jsx)(o,{id:`QqBQu1`,components:{0:(0,Z.jsx)(`span`,{className:`font-normal text-muted-foreground`})}}),t[43]=G):G=t[43];let K;t[44]===S?K=t[45]:(K=(0,Z.jsx)(`label`,{className:`mb-1.5 inline-block text-sm font-medium`,htmlFor:S,children:G}),t[44]=S,t[45]=K);let re;t[46]===Symbol.for(`react.memo_cache_sentinel`)?(re=e=>_(e.target.value),t[46]=re):re=t[46];let ie;t[47]===w?ie=t[48]:(ie=w({id:`yYR6za`}),t[47]=w,t[48]=ie);let ae;t[49]!==g||t[50]!==L||t[51]!==S||t[52]!==ie?(ae=(0,Z.jsx)(mi,{id:S,value:g,onChange:re,placeholder:ie,onKeyDown:L}),t[49]=g,t[50]=L,t[51]=S,t[52]=ie,t[53]=ae):ae=t[53];let oe;t[54]!==K||t[55]!==ae?(oe=(0,Z.jsxs)(`div`,{children:[K,ae]}),t[54]=K,t[55]=ae,t[56]=oe):oe=t[56];let q;t[57]!==w||t[58]!==x||t[59]!==A||t[60]!==m||t[61]!==L||t[62]!==C||t[63]!==M||t[64]!==N?(q=A?(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(`label`,{className:`mb-1.5 inline-block text-sm font-medium`,htmlFor:x,children:(0,Z.jsx)(o,{id:`Tjc1pH`,components:{0:(0,Z.jsx)(`span`,{className:`font-normal text-muted-foreground`})}})}),(0,Z.jsx)(mi,{id:x,value:m,onChange:e=>h(e.target.value),placeholder:w({id:`W-ntoW`}),onKeyDown:L}),N?(0,Z.jsx)(`div`,{id:C,className:`mt-1.5 max-h-36 overflow-y-auto subtle-scrollbar rounded-md border border-border bg-muted/30`,children:M.map(e=>(0,Z.jsxs)(`button`,{type:`button`,"aria-pressed":m===e.slug,className:Gt(`flex w-full items-center gap-2 px-2 py-1 text-left text-sm hover:bg-accent hover:text-accent-foreground`,m===e.slug&&`bg-accent text-accent-foreground`),style:{paddingLeft:`${(e.level-1)*12+8}px`},onClick:()=>h(m===e.slug?``:e.slug),children:[(0,Z.jsxs)(`span`,{className:`w-7 shrink-0 font-mono text-[10px] text-muted-foreground`,children:[`H`,e.level]}),(0,Z.jsx)(`span`,{className:`truncate`,children:e.text})]},`${e.slug}-${e.level}-${e.text}`))}):null]}):null,t[57]=w,t[58]=x,t[59]=A,t[60]=m,t[61]=L,t[62]=C,t[63]=M,t[64]=N,t[65]=q):q=t[65];let se;t[66]!==ne||t[67]!==oe||t[68]!==q?(se=(0,Z.jsxs)(ai,{className:`space-y-6 pb-1`,children:[ne,oe,q]}),t[66]=ne,t[67]=oe,t[68]=q,t[69]=se):se=t[69];let ce;t[70]===Symbol.for(`react.memo_cache_sentinel`)?(ce=(0,Z.jsx)(ci,{asChild:!0,children:(0,Z.jsx)(Yt,{variant:`outline`,children:(0,Z.jsx)(o,{id:`dEgA5A`})})}),t[70]=ce):ce=t[70];let le;t[71]===f?le=t[72]:(le=f.trim(),t[71]=f,t[72]=le);let ue=!le,de;t[73]===Symbol.for(`react.memo_cache_sentinel`)?(de=(0,Z.jsx)(o,{id:`tfDRzk`}),t[73]=de):de=t[73];let fe;t[74]!==F||t[75]!==ue?(fe=(0,Z.jsxs)(oi,{children:[ce,(0,Z.jsx)(Yt,{onClick:F,disabled:ue,children:de})]}),t[74]=F,t[75]=ue,t[76]=fe):fe=t[76];let pe;t[77]!==se||t[78]!==fe?(pe=(0,Z.jsxs)(ni,{className:`sm:max-w-xl`,"data-ok-layer-spawned":``,onPointerDownOutside:SR,onFocusOutside:SR,onInteractOutside:SR,children:[B,se,fe]}),t[77]=se,t[78]=fe,t[79]=pe):pe=t[79];let me;return t[80]!==u||t[81]!==n||t[82]!==pe?(me=(0,Z.jsx)(ui,{open:n,onOpenChange:u,children:pe}),t[80]=u,t[81]=n,t[82]=pe,t[83]=me):me=t[83],me}function WR(e){let t=(0,$.c)(99),{editor:n,nodeId:r,sourceDocName:i,onClose:a,onNavigate:c}=e,l=IR(n.state,r),u=l?.attrs?.href??``,[d,f]=(0,Q.useState)(!1),[p,m]=(0,Q.useState)(!1),h;t[0]!==r||t[1]!==f?(h=()=>{gv(r)&&f(!0)},t[0]=r,t[1]=f,t[2]=h):h=t[2];let g;t[3]===r?g=t[4]:(g=[r],t[3]=r,t[4]=g),(0,Q.useEffect)(h,g);let{addPage:_,folderPaths:v,pages:y,loading:b}=tn(),{_:x}=s();if(!l)return null;let S=n.state.doc.textBetween(l.from,l.to),C=u?j(u,i):null,w;t[5]!==n||t[6]!==r?(w=function(e,t,i){let a=IR(n.state,r);if(!a)return;let o=t.trim();if(!i||!o){n.chain().setTextSelection({from:a.from,to:a.to}).extendMarkRange(`link`).updateAttributes(`link`,{href:e}).run();return}let s=n.schema.marks.link;if(!s)return;let c=s.create({href:e}),l=n.schema.text(o,[c]);n.view.dispatch(n.state.tr.replaceWith(a.from,a.to,l))},t[5]=n,t[6]=r,t[7]=w):w=t[7];let T=w,E;t[8]!==n||t[9]!==r||t[10]!==a?(E=function(){let e=IR(n.state,r);e&&(n.chain().focus().setTextSelection({from:e.from,to:e.to}).extendMarkRange(`link`).unsetLink().run(),a())},t[8]=n,t[9]=r,t[10]=a,t[11]=E):E=t[11];let D=E,O;t[12]!==n||t[13]!==r||t[14]!==a||t[15]!==f?(O=function(e){if(e){f(!0);return}let t=IR(n.state,r);if(t?.attrs?.href??``){f(!1);return}t&&n.chain().focus().deleteRange({from:t.from,to:t.to}).run(),a()},t[12]=n,t[13]=r,t[14]=a,t[15]=f,t[16]=O):O=t[16];let k=(0,Z.jsx)(UR,{open:d,href:u,text:S,pages:y,folderPaths:v,loading:b,onOpenChange:u?f:O,onSave:T});if(!u)return(0,Z.jsx)(Z.Fragment,{children:k});let A=C?.kind===`doc`?`${C.docName}${C.anchor?`#${C.anchor}`:``}`:C?.kind===`anchor`?`#${C.anchor}`:C?.kind===`external`?C.url:u,M=function(e){let t=IR(n.state,r);t&&n.chain().setTextSelection({from:t.from,to:t.to}).extendMarkRange(`link`).updateAttributes(`link`,{href:bP(e,C?.kind===`doc`?C.anchor??null:null)}).run()},N,P=!1,F=!1,I=null;if(b){let e;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(gr,{className:`size-3.5 shrink-0 animate-spin`,"aria-hidden":`true`}),t[17]=e):e=t[17],N={icon:e,text:x({id:`yQE2r9`}),className:`text-muted-foreground/80`}}else if(C?.kind===`asset`){let e;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(to,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[18]=e):e=t[18],N={icon:e,text:x({id:`yWWThY`}),className:`text-muted-foreground`}}else if(C?.kind===`external`){let e;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(en,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[19]=e):e=t[19],N={icon:e,text:x({id:`zgSFyG`}),className:`text-muted-foreground`}}else if(C?.kind===`anchor`){let e;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(to,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[20]=e):e=t[20],N={icon:e,text:x({id:`dprWmL`}),className:`text-muted-foreground`}}else if(C?.kind===`doc`){let e=ZN(C.docName,{pages:y,folderPaths:v});if(F=e.kind===`navigate`&&e.displayState===`folder`,P=e.kind===`create`,I=e.kind===`create`?{initialDir:e.initialDir,suggestedName:e.suggestedName}:null,F){let e;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(pr,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[21]=e):e=t[21],N={icon:e,text:x({id:`kNqMMd`}),className:`text-muted-foreground`}}else if(P){let e;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(Ha,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[22]=e):e=t[22],N={icon:e,text:x({id:`8F1i42`}),className:`text-red-700 dark:text-red-300`}}else{let e;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(to,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[23]=e):e=t[23],N={icon:e,text:x({id:`JtD-Br`}),className:`text-muted-foreground`}}}else{let e;t[24]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(Ha,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[24]=e):e=t[24],N={icon:e,text:x({id:`-g6KIS`}),className:`text-muted-foreground/80`}}let L=C?.kind===`external`,R=C?.kind===`doc`?uP({docName:C.docName,anchor:C.anchor}):C?.kind===`anchor`?uP({docName:i,anchor:C.anchor}):C?.kind===`external`&&sP(C.url)?C.url:null,ee=!b&&R!==null&&(C?.kind===`anchor`||C?.kind===`external`||C?.kind===`doc`&&!P&&!F),z;t[25]!==n.state||t[26]!==n.view||t[27]!==r?(z=()=>{let e=IR(n.state,r);if(!e)return new DOMRect;try{return ht(n.view,e.from,e.to)}catch{return new DOMRect}},t[25]=n.state,t[26]=n.view,t[27]=r,t[28]=z):z=t[28];let B;t[29]!==n.view.dom||t[30]!==z?(B={getBoundingClientRect:z,contextElement:n.view.dom},t[29]=n.view.dom,t[30]=z,t[31]=B):B=t[31];let te=B,V;t[32]!==x||t[33]!==_||t[34]!==p||t[35]!==I||t[36]!==a||t[37]!==M?(V=async function(){if(!(!I||p)){m(!0);try{await uR(I,{addPage:_,onCreated(e){M(e),window.location.hash=`#/${e}`,a()}}),m(!1)}catch(e){let t=e;vr.error(t instanceof Error?t.message:x({id:`tfi40B`})),m(!1)}}},t[32]=x,t[33]=_,t[34]=p,t[35]=I,t[36]=a,t[37]=M,t[38]=V):V=t[38];let H=V,U=Gt(`flex shrink-0`,N.className),W;t[39]!==N.icon||t[40]!==U?(W=(0,Z.jsx)(`span`,{className:U,children:N.icon}),t[39]=N.icon,t[40]=U,t[41]=W):W=t[41];let ne=W,G;t[42]!==ne||t[43]!==P||t[44]!==N.text?(G=P?(0,Z.jsxs)(Nr,{children:[(0,Z.jsx)(jr,{asChild:!0,children:(0,Z.jsx)(`span`,{className:`flex shrink-0`,"data-slot":`internal-link-prop-panel-icon-trigger`,children:ne})}),(0,Z.jsx)(Mr,{children:N.text})]}):ne,t[42]=ne,t[43]=P,t[44]=N.text,t[45]=G):G=t[45];let K=G,re=`${N.text}: ${A}`,ie;t[46]!==A||t[47]!==L||t[48]!==P||t[49]!==R||t[50]!==ee||t[51]!==a||t[52]!==c?(ie=(0,Z.jsx)(jr,{asChild:!0,children:ee?(0,Z.jsx)(`a`,{href:R??void 0,...L?{target:`_blank`,rel:`noopener noreferrer`}:{},onClick:e=>_P(e,c,a),"data-slot":`internal-link-prop-panel-text`,className:`block truncate text-sm font-medium text-foreground underline-offset-2 hover:underline focus-visible:underline`,children:A}):(0,Z.jsx)(`span`,{"data-slot":`internal-link-prop-panel-text`,className:Gt(`block truncate text-sm font-medium`,P?`text-muted-foreground`:`text-foreground`),children:A})}),t[46]=A,t[47]=L,t[48]=P,t[49]=R,t[50]=ee,t[51]=a,t[52]=c,t[53]=ie):ie=t[53];let ae;t[54]===A?ae=t[55]:(ae=(0,Z.jsx)(Mr,{className:`max-w-80 break-all`,children:A}),t[54]=A,t[55]=ae);let oe;t[56]!==ie||t[57]!==ae?(oe=(0,Z.jsx)(`div`,{className:`min-w-0 flex-1`,children:(0,Z.jsxs)(Nr,{children:[ie,ae]})}),t[56]=ie,t[57]=ae,t[58]=oe):oe=t[58];let q;t[59]!==H||t[60]!==p||t[61]!==P?(q=P?(0,Z.jsxs)(Yt,{type:`button`,size:`sm`,variant:`link`,disabled:p,onClick:()=>void H(),"data-slot":`internal-link-prop-panel-create`,className:`flex items-center text-foreground`,children:[(0,Z.jsx)(To,{className:`size-3.5`,"aria-hidden":`true`}),p?(0,Z.jsx)(o,{id:`HM56Bx`}):(0,Z.jsx)(o,{id:`XRuL0i`})]}):null,t[59]=H,t[60]=p,t[61]=P,t[62]=q):q=t[62];let se;t[63]===x?se=t[64]:(se=x({id:`ePK91l`}),t[63]=x,t[64]=se);let ce;t[65]===f?ce=t[66]:(ce=()=>f(!0),t[65]=f,t[66]=ce);let le;t[67]===Symbol.for(`react.memo_cache_sentinel`)?(le=(0,Z.jsx)(dn,{className:`size-3.5`,"aria-hidden":`true`}),t[67]=le):le=t[67];let ue;t[68]!==se||t[69]!==ce?(ue=(0,Z.jsx)(jr,{asChild:!0,children:(0,Z.jsx)(Yt,{type:`button`,size:`icon-sm`,variant:`ghost`,"aria-label":se,onClick:ce,"data-slot":`internal-link-prop-panel-edit`,children:le})}),t[68]=se,t[69]=ce,t[70]=ue):ue=t[70];let de;t[71]===Symbol.for(`react.memo_cache_sentinel`)?(de=(0,Z.jsx)(Mr,{children:(0,Z.jsx)(o,{id:`ePK91l`})}),t[71]=de):de=t[71];let fe;t[72]===ue?fe=t[73]:(fe=(0,Z.jsxs)(Nr,{children:[ue,de]}),t[72]=ue,t[73]=fe);let pe;t[74]===u?pe=t[75]:(pe=(0,Z.jsx)(NR,{copyContent:u}),t[74]=u,t[75]=pe);let me;t[76]===x?me=t[77]:(me=x({id:`t_YqKh`}),t[76]=x,t[77]=me);let he;t[78]===Symbol.for(`react.memo_cache_sentinel`)?(he=(0,Z.jsx)(un,{className:`size-3.5`,"aria-hidden":`true`}),t[78]=he):he=t[78];let ge;t[79]!==D||t[80]!==me?(ge=(0,Z.jsx)(jr,{asChild:!0,children:(0,Z.jsx)(Yt,{type:`button`,size:`icon-sm`,variant:`ghost`,"aria-label":me,onClick:D,"data-slot":`internal-link-prop-panel-remove`,children:he})}),t[79]=D,t[80]=me,t[81]=ge):ge=t[81];let _e;t[82]===Symbol.for(`react.memo_cache_sentinel`)?(_e=(0,Z.jsx)(Mr,{children:(0,Z.jsx)(o,{id:`t_YqKh`})}),t[82]=_e):_e=t[82];let ve;t[83]===ge?ve=t[84]:(ve=(0,Z.jsxs)(Nr,{children:[ge,_e]}),t[83]=ge,t[84]=ve);let ye;t[85]!==q||t[86]!==fe||t[87]!==pe||t[88]!==ve?(ye=(0,Z.jsxs)(`div`,{className:`flex shrink-0 items-center gap-0.5`,children:[q,fe,pe,ve]}),t[85]=q,t[86]=fe,t[87]=pe,t[88]=ve,t[89]=ye):ye=t[89];let be;t[90]!==K||t[91]!==oe||t[92]!==ye?(be=(0,Z.jsxs)(`div`,{className:`flex items-center gap-2`,children:[K,oe,ye]}),t[90]=K,t[91]=oe,t[92]=ye,t[93]=be):be=t[93];let xe;return t[94]!==a||t[95]!==re||t[96]!==be||t[97]!==te?(xe=(0,Z.jsx)(eR,{kind:`internal-link`,ariaLabel:re,onDeactivate:a,triggerReference:te,className:`w-96`,children:be}),t[94]=a,t[95]=re,t[96]=be,t[97]=te,t[98]=xe):xe=t[98],(0,Z.jsxs)(Z.Fragment,{children:[k,xe]})}new lt(`markIdentityDecoration`);var GR=`data-mark-id`,KR=new lt(`linkResolutionDecoration`);function qR(e,t,n,r,i){if(t.size===0)return null;let a=[];for(let e of t.values()){if(!n.has(e.markType))continue;let t=r(e,i),o={[GR]:e.id};t!==null&&Object.assign(o,t),a.push(yt.inline(e.from,e.to,o))}return a.length===0?null:Pe.create(e,a)}function JR(e){let t=new Set(e.markTypes),{computeAttrs:n}=e;return new Ve({key:KR,state:{init:()=>({version:0}),apply(e,t){let n=e.getMeta(KR);return n&&typeof n==`object`&&n.refresh?{version:t.version+1}:t}},props:{decorations(e){let r=_v.getState(e);if(!r)return null;let i=rn();return qR(e.doc,r.byId,t,n,i)}},view(e){Y(`ok/render/decoration-merge`,{markTypes:Array.from(t).join(`,`)},{startTime:performance.now(),duration:0});let n=on(()=>{e.dispatch(e.state.tr.setMeta(KR,{refresh:!0}))});return{destroy(){n()}}}})}var YR=M.extend({addOptions(){return{...this.parent?.(),docName:``}},renderHTML({HTMLAttributes:e}){let t=typeof e.href==`string`?e.href:``;return[`span`,at(e,{"data-link":``,role:`link`,tabindex:`0`,"aria-label":t?`Link: ${t}`:`Link`,style:`touch-action: manipulation;`}),0]},addProseMirrorPlugins(){let e=this.options.docName??``,t=({editor:t,nodeId:n,newTab:r})=>{let i=IR(t.state,n),a=i?.attrs?.href;if(typeof a!=`string`||!a)return!1;let o=i?.attrs?.sourceForm,s=j(a,e),c=nt(a);if(s?.kind===`asset`||o===`wikiembed`&&c!==null){let t=s?.kind===`asset`?s.url:a,n=s?.kind===`asset`?s.ext:c??``,i=rt(t,e);if(!i)return!1;let o=rn();return o===null||(o.assetPaths!==void 0||o.filePaths!==void 0)&&!$N(t,e,o.assetPaths,o.filePaths)?!1:(hP({url:t,projectRelPath:i,ext:n,title:i.split(`/`).pop()??t,newTab:r}),!0)}if(!s)return!1;switch(s.kind){case`doc`:{let e=rn(),t=ZN(s.docName,{pages:e?.pages??new Set,folderPaths:e?.folderPaths??new Set});return t.kind===`create`||t.kind===`navigate`&&t.displayState===`folder`?!1:(r?pP({docName:s.docName,anchor:s.anchor}):window.location.assign(uP({docName:s.docName,anchor:s.anchor})),!0)}case`anchor`:return r?pP({docName:e,anchor:s.anchor}):window.location.assign(uP({docName:e,anchor:s.anchor})),!0;case`external`:return sP(s.url)?(dP(s.url),!0):!1;default:return W(s)}};return[zR({editor:this.editor,markTypes:[`link`],renderPropPanel:({editor:n,nodeId:r,deactivate:i})=>(0,Q.createElement)(WR,{editor:n,nodeId:r,sourceDocName:e,onClose:i,onNavigate:e=>t({editor:n,nodeId:r,newTab:e})}),handlePrimary:t}),JR({markTypes:[`link`],computeAttrs:nP(e)}),$L({sourceDocName:e})]}}),XR=(0,Q.createContext)(null),ZR={didCatch:!1,error:null},QR=class extends Q.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=ZR}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(...e){let{error:t}=this.state;t!==null&&(this.props.onReset?.({args:e,reason:`imperative-api`}),this.setState(ZR))}componentDidCatch(e,t){this.props.onError?.(e,t)}componentDidUpdate(e,t){let{didCatch:n}=this.state,{resetKeys:r}=this.props;n&&t.error!==null&&$R(e.resetKeys,r)&&(this.props.onReset?.({next:r,prev:e.resetKeys,reason:`keys`}),this.setState(ZR))}render(){let{children:e,fallbackRender:t,FallbackComponent:n,fallback:r}=this.props,{didCatch:i,error:a}=this.state,o=e;if(i){let e={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof t==`function`)o=t(e);else if(n)o=(0,Q.createElement)(n,e);else if(r!==void 0)o=r;else throw a}return(0,Q.createElement)(XR.Provider,{value:{didCatch:i,error:a,resetErrorBoundary:this.resetErrorBoundary}},o)}};function $R(e=[],t=[]){return e.length!==t.length||e.some((e,n)=>!Object.is(e,t[n]))}function ez(e){let t=(0,$.c)(23),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({label:i,Icon:n,onClick:a,selected:s,className:r,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=s?`true`:void 0,l;t[7]===a?l=t[8]:(l=e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),a())},t[7]=a,t[8]=l);let u;t[9]===r?u=t[10]:(u=Gt(`flex w-full items-center justify-center gap-2 rounded-md border border-dashed border-border bg-transparent px-3 py-2 text-center text-sm text-muted-foreground transition-colors hover:bg-muted/50 cursor-pointer outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2`,r),t[9]=r,t[10]=u);let d;t[11]===n?d=t[12]:(d=(0,Z.jsx)(n,{size:16,"aria-hidden":`true`}),t[11]=n,t[12]=d);let f;t[13]===i?f=t[14]:(f=(0,Z.jsx)(`span`,{children:i}),t[13]=i,t[14]=f);let p;return t[15]!==a||t[16]!==o||t[17]!==c||t[18]!==l||t[19]!==u||t[20]!==d||t[21]!==f?(p=(0,Z.jsxs)(`div`,{...o,role:`button`,tabIndex:-1,contentEditable:!1,"data-descriptor-placeholder":``,"data-selected":c,onClick:a,onMouseDown:tz,onKeyDown:l,className:u,children:[d,f]}),t[15]=a,t[16]=o,t[17]=c,t[18]=l,t[19]=u,t[20]=d,t[21]=f,t[22]=p):p=t[22],p}function tz(e){e.preventDefault(),e.stopPropagation()}function nz(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(Lc,{"data-slot":`select`,...n}),t[2]=n,t[3]=r),r}function rz(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(zc,{"data-slot":`select-value`,...n}),t[2]=n,t[3]=r),r}function iz(e){let t=(0,$.c)(13),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,size:a,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0?`default`:a,s;t[5]===r?s=t[6]:(s=Gt(`flex w-full items-center justify-between gap-2 rounded-lg border border-input bg-background text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=default]:px-2.5 data-[size=sm]:px-2 data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,r),t[5]=r,t[6]=s);let c;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,Z.jsx)(Bc,{asChild:!0,children:(0,Z.jsx)(Zt,{className:`size-4 opacity-50`})}),t[7]=c):c=t[7];let l;return t[8]!==n||t[9]!==i||t[10]!==o||t[11]!==s?(l=(0,Z.jsxs)(Rc,{"data-slot":`select-trigger`,"data-size":o,className:s,...i,children:[n,c]}),t[8]=n,t[9]=i,t[10]=o,t[11]=s,t[12]=l):l=t[12],l}function az(e){let t=(0,$.c)(20),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,children:n,position:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0?`popper`:a,s=o===`popper`&&`data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1`,c;t[5]!==r||t[6]!==s?(c=Gt(`relative z-50 max-h-(--radix-select-content-available-height) min-w-32 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg border bg-popover text-popover-foreground shadow-md outline-hidden duration-100 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[align-trigger=true]:animate-none motion-reduce:data-open:animate-none motion-reduce:data-closed:animate-none motion-reduce:duration-0`,s,r),t[5]=r,t[6]=s,t[7]=c):c=t[7];let l;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Z.jsx)(sz,{}),t[8]=l):l=t[8];let u=o===`popper`&&`h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1`,d;t[9]===u?d=t[10]:(d=Gt(`p-1`,u),t[9]=u,t[10]=d);let f;t[11]!==n||t[12]!==d?(f=(0,Z.jsx)(Uc,{className:d,children:n}),t[11]=n,t[12]=d,t[13]=f):f=t[13];let p;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,Z.jsx)(cz,{}),t[14]=p):p=t[14];let m;return t[15]!==o||t[16]!==i||t[17]!==c||t[18]!==f?(m=(0,Z.jsx)(Vc,{children:(0,Z.jsxs)(Hc,{"data-slot":`select-content`,"data-ok-layer-spawned":``,position:o,className:c,...i,children:[l,f,p]})}),t[15]=o,t[16]=i,t[17]=c,t[18]=f,t[19]=m):m=t[19],m}function oz(e){let t=(0,$.c)(13),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===r?a=t[5]:(a=Gt(`relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2`,r),t[4]=r,t[5]=a);let o;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,Z.jsx)(`span`,{className:`absolute right-2 flex size-3.5 items-center justify-center`,children:(0,Z.jsx)(Kc,{children:(0,Z.jsx)(Xt,{className:`size-4`})})}),t[6]=o):o=t[6];let s;t[7]===n?s=t[8]:(s=(0,Z.jsx)(Gc,{children:n}),t[7]=n,t[8]=s);let c;return t[9]!==i||t[10]!==a||t[11]!==s?(c=(0,Z.jsxs)(Wc,{"data-slot":`select-item`,className:a,...i,children:[o,s]}),t[9]=i,t[10]=a,t[11]=s,t[12]=c):c=t[12],c}function sz(e){let t=(0,$.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=Gt(`flex cursor-default items-center justify-center py-1`,n),t[3]=n,t[4]=i);let a;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Z.jsx)(Va,{className:`size-4`}),t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==i?(o=(0,Z.jsx)(qc,{"data-slot":`select-scroll-up-button`,className:i,...r,children:a}),t[6]=r,t[7]=i,t[8]=o):o=t[8],o}function cz(e){let t=(0,$.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=Gt(`flex cursor-default items-center justify-center py-1`,n),t[3]=n,t[4]=i);let a;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Z.jsx)(Zt,{className:`size-4`}),t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==i?(o=(0,Z.jsx)(Jc,{"data-slot":`select-scroll-down-button`,className:i,...r,children:a}),t[6]=r,t[7]=i,t[8]=o):o=t[8],o}function lz(e){let t=(0,$.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,size:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`default`:i,o;t[4]===n?o=t[5]:(o=Gt(`peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=default]:h-[18.4px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:bg-primary data-unchecked:bg-input dark:data-unchecked:bg-input/80 data-disabled:cursor-not-allowed data-disabled:opacity-50`,n),t[4]=n,t[5]=o);let s;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,Z.jsx)(sl,{"data-slot":`switch-thumb`,className:`pointer-events-none block rounded-full bg-background ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] dark:data-checked:bg-primary-foreground group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0 dark:data-unchecked:bg-foreground`}),t[6]=s):s=t[6];let c;return t[7]!==r||t[8]!==a||t[9]!==o?(c=(0,Z.jsx)(ol,{"data-slot":`switch`,"data-size":a,className:o,...r,children:s}),t[7]=r,t[8]=a,t[9]=o,t[10]=c):c=t[10],c}function uz(e){let t=e.trim();if(/^#[0-9a-fA-F]{6}$/.test(t))return t.toLowerCase();if(/^#[0-9a-fA-F]{3}$/.test(t)){let[,e,n,r]=t.match(/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/)??[];return`#${e}${e}${n}${n}${r}${r}`.toLowerCase()}return`#000000`}function dz(e){let t=(0,$.c)(36),{id:n,value:r,onChange:i,autoFocus:a}=e,o=(0,Q.useRef)(null),s;t[0]===i?s=t[1]:(s=e=>i(e.target.value),t[0]=i,t[1]=s);let c=a?``:void 0,l=r?`pl-7`:void 0,u;t[2]===l?u=t[3]:(u=Gt(`h-7 text-sm`,l),t[2]=l,t[3]=u);let d;t[4]!==a||t[5]!==n||t[6]!==s||t[7]!==c||t[8]!==u||t[9]!==r?(d=(0,Z.jsx)(mi,{id:n,type:`text`,value:r,placeholder:`#F05032 or rgb(240,80,50)`,onChange:s,autoFocus:a,"data-prop-autofocus":c,className:u,"data-color-picker-input":``}),t[4]=a,t[5]=n,t[6]=s,t[7]=c,t[8]=u,t[9]=r,t[10]=d):d=t[10];let f;t[11]===r?f=t[12]:(f=r&&(0,Z.jsx)(`span`,{style:{backgroundColor:r},className:`pointer-events-none absolute left-2 top-1/2 size-3.5 -translate-y-1/2 rounded-sm border border-border`,"aria-hidden":`true`,"data-color-picker-swatch":``}),t[11]=r,t[12]=f);let p;t[13]!==d||t[14]!==f?(p=(0,Z.jsxs)(`div`,{className:`relative flex-1`,children:[d,f]}),t[13]=d,t[14]=f,t[15]=p):p=t[15];let m;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(m=()=>o.current?.click(),t[16]=m):m=t[16];let h=r||`transparent`,g;t[17]===h?g=t[18]:(g=(0,Z.jsx)(Yt,{type:`button`,variant:`outline`,size:`xs`,"aria-label":`Choose color`,"data-color-picker-trigger":``,className:`h-7 gap-1 px-2`,onClick:m,children:(0,Z.jsx)(`span`,{style:{backgroundColor:h},className:`size-3.5 rounded-sm border border-border`,"aria-hidden":`true`})}),t[17]=h,t[18]=g);let _;t[19]===r?_=t[20]:(_=uz(r),t[19]=r,t[20]=_);let v;t[21]===i?v=t[22]:(v=e=>i(e.target.value),t[21]=i,t[22]=v);let y;t[23]!==_||t[24]!==v?(y=(0,Z.jsx)(`input`,{ref:o,type:`color`,value:_,onChange:v,tabIndex:-1,"aria-hidden":`true`,className:`pointer-events-none absolute inset-0 size-7 opacity-0`,"data-color-picker-native":``}),t[23]=_,t[24]=v,t[25]=y):y=t[25];let b;t[26]!==g||t[27]!==y?(b=(0,Z.jsxs)(`div`,{className:`relative`,children:[g,y]}),t[26]=g,t[27]=y,t[28]=b):b=t[28];let x;t[29]!==i||t[30]!==r?(x=r&&(0,Z.jsx)(Yt,{type:`button`,variant:`ghost`,size:`xs`,"aria-label":`Clear color`,"data-color-picker-clear":``,className:`h-7 px-1.5`,onClick:()=>i(``),children:(0,Z.jsx)(Ja,{className:`size-3`,"aria-hidden":`true`})}),t[29]=i,t[30]=r,t[31]=x):x=t[31];let S;return t[32]!==b||t[33]!==x||t[34]!==p?(S=(0,Z.jsxs)(`div`,{className:`flex gap-1`,children:[p,b,x]}),t[32]=b,t[33]=x,t[34]=p,t[35]=S):S=t[35],S}function fz(e){let t=(0,$.c)(43),{id:n,value:r,onChange:i,autoFocus:a}=e,[o,s]=(0,Q.useState)(!1),c;t[0]===r?c=t[1]:(c=Vv(r),t[0]=r,t[1]=c);let l=c,u;t[2]===r?u=t[3]:(u=r.startsWith(`lucide:`)?r.slice(7):null,t[2]=r,t[3]=u);let d=u,f;t[4]===i?f=t[5]:(f=e=>i(e.target.value),t[4]=i,t[5]=f);let p=a?``:void 0,m=l?`pl-7`:void 0,h;t[6]===m?h=t[7]:(h=Gt(`h-7 text-sm`,m),t[6]=m,t[7]=h);let g;t[8]!==a||t[9]!==n||t[10]!==f||t[11]!==p||t[12]!==h||t[13]!==r?(g=(0,Z.jsx)(mi,{id:n,type:`text`,value:r,placeholder:`lucide:Lightbulb or 📘`,onChange:f,autoFocus:a,"data-prop-autofocus":p,className:h,"data-icon-picker-input":``}),t[8]=a,t[9]=n,t[10]=f,t[11]=p,t[12]=h,t[13]=r,t[14]=g):g=t[14];let _;t[15]===l?_=t[16]:(_=l&&(0,Z.jsx)(l,{className:`pointer-events-none absolute left-2 top-1/2 size-3.5 -translate-y-1/2 text-muted-foreground`,"aria-hidden":`true`}),t[15]=l,t[16]=_);let v;t[17]!==g||t[18]!==_?(v=(0,Z.jsxs)(`div`,{className:`relative flex-1`,children:[g,_]}),t[17]=g,t[18]=_,t[19]=v):v=t[19];let y;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,Z.jsx)(Zt,{className:`size-3`,"aria-hidden":`true`}),t[20]=y):y=t[20];let b;t[21]===o?b=t[22]:(b=(0,Z.jsx)(Df,{asChild:!0,children:(0,Z.jsx)(Yt,{type:`button`,variant:`outline`,size:`xs`,"aria-label":`Choose icon`,"aria-haspopup":`listbox`,"aria-expanded":o,"data-icon-picker-trigger":``,className:`h-7 gap-1 px-2`,children:y})}),t[21]=o,t[22]=b);let x;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,Z.jsx)(bf,{placeholder:`Search icons...`,className:`h-8 text-sm`}),t[23]=x):x=t[23];let S;t[24]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,Z.jsx)(Sf,{children:`No icons match.`}),t[24]=S):S=t[24];let C;t[25]!==i||t[26]!==r.length?(C=r.length>0&&(0,Z.jsx)(Cf,{children:(0,Z.jsxs)(wf,{value:`__clear__`,onSelect:()=>{i(``),s(!1)},className:`gap-2 text-muted-foreground`,"data-icon-picker-clear":``,children:[(0,Z.jsx)(yr,{className:`size-3.5`,"aria-hidden":`true`}),`Clear icon`]})}),t[25]=i,t[26]=r.length,t[27]=C):C=t[27];let w;t[28]!==i||t[29]!==d?(w=Bv.map(e=>{let[t,n]=e,r=t===d;return(0,Z.jsx)(wf,{value:t,onSelect:()=>{i(`lucide:${t}`),s(!1)},title:t,"aria-label":t,"data-icon-picker-item":t,"data-icon-picker-selected":r?``:void 0,className:Gt(`flex aspect-square items-center justify-center rounded-md p-0`,r?`bg-foreground/10 text-foreground ring-1 ring-foreground/30`:`text-muted-foreground hover:bg-muted`),children:(0,Z.jsx)(n,{className:`size-4`,"aria-hidden":`true`})},t)}),t[28]=i,t[29]=d,t[30]=w):w=t[30];let T;t[31]===w?T=t[32]:(T=(0,Z.jsx)(Cf,{heading:`Lucide`,children:(0,Z.jsx)(of.Group,{className:`[&_[cmdk-group-items]]:grid [&_[cmdk-group-items]]:grid-cols-6 [&_[cmdk-group-items]]:gap-1 [&_[cmdk-group-items]]:p-1`,children:w})}),t[31]=w,t[32]=T);let E;t[33]!==C||t[34]!==T?(E=(0,Z.jsx)(Of,{align:`end`,className:`z-70 w-72 p-0`,onOpenAutoFocus:pz,children:(0,Z.jsxs)(vf,{label:`Icon picker`,children:[x,(0,Z.jsxs)(xf,{className:`max-h-64`,children:[S,C,T]})]})}),t[33]=C,t[34]=T,t[35]=E):E=t[35];let D;t[36]!==o||t[37]!==b||t[38]!==E?(D=(0,Z.jsxs)(Ef,{open:o,onOpenChange:s,children:[b,E]}),t[36]=o,t[37]=b,t[38]=E,t[39]=D):D=t[39];let O;return t[40]!==D||t[41]!==v?(O=(0,Z.jsxs)(`div`,{className:`flex gap-1`,children:[v,D]}),t[40]=D,t[41]=v,t[42]=O):O=t[42],O}function pz(e){return e.preventDefault()}function mz(e){let[t]=e.split(`/`);switch(t){case`image`:return`image`;case`video`:return`video`;case`audio`:return`audio`;case`application`:return e===`application/pdf`?`pdf`:null;case`text`:return`text`;default:return null}}function hz(e){if(e.length===1&&e[0]===`*/*`)return`all`;let t=new Set;for(let n of e){if(n===`*/*`)return`all`;let e=mz(n);e&&t.add(e)}return t}function gz(e){let t=e.lastIndexOf(`.`);return t<0||t<e.lastIndexOf(`/`)?``:e.slice(t+1).toLowerCase()}function _z(e,t){let n=hz(t),r=[];for(let t of e){if(n===`all`){r.push(t);continue}let e=E(gz(t));e&&n.has(e)&&r.push(t)}return r}var vz=8,yz=new Set,bz=null;function xz(e){return{path:e,basename:e.split(`/`).pop()??e}}function Sz(e){let t=e.map(e=>e.path).join(``);return bz?.fingerprint===t||(bz={fingerprint:t,byPath:new Map(e.map(e=>[e.path,e])),itemsInOrder:e,corpus:Fe(e.map(e=>$e({kind:`page`,path:e.path,title:e.basename})))}),bz}function Cz(e){let t=e.trim();return t.startsWith(`/`)?t.slice(1):t}function wz(e,t){let n=Cz(t);return n?Oe(e.corpus,n,{intent:`autocomplete`,limit:vz}).map(t=>e.byPath.get(t.document.path)).filter(e=>!!e):e.itemsInOrder.slice(0,vz)}function Tz(e){let t=(0,$.c)(52),{value:n,onChange:r,accept:i,id:a,placeholder:o,autoFocus:s,ariaInvalid:c,ariaDescribedBy:l,dataPropAutofocus:u,className:d,onSubmit:f}=e,p=an()?.assetPaths??yz,m;t[0]!==i||t[1]!==p||t[2]!==n?(m=wz(Sz(_z(p,i).map(xz)),n),t[0]=i,t[1]=p,t[2]=n,t[3]=m):m=t[3];let h=m,[g,_]=(0,Q.useState)(!1),[v,y]=(0,Q.useState)(0),b,x;t[4]!==v||t[5]!==h.length?(b=()=>{v>=h.length&&y(0)},x=[v,h.length],t[4]=v,t[5]=h.length,t[6]=b,t[7]=x):(b=t[6],x=t[7]),(0,Q.useEffect)(b,x);let S=(0,Q.useId)(),C=(0,Q.useRef)(null),w=g&&h.length>0,T;t[8]===r?T=t[9]:(T=e=>{r(`/${e.path}`),_(!1),y(0),C.current?.focus()},t[8]=r,t[9]=T);let E=T,D;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(D=e=>_(e),t[10]=D):D=t[10];let O=w?S:void 0,k=w&&h[v]?`${S}-opt-${v}`:void 0,A;t[11]===r?A=t[12]:(A=e=>{r(e.target.value),_(!0),y(0)},t[11]=r,t[12]=A);let j,M;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(M=()=>{_(!0)},j=()=>{_(!0)},t[13]=j,t[14]=M):(j=t[13],M=t[14]);let N;t[15]!==v||t[16]!==f||t[17]!==E||t[18]!==h||t[19]!==w?(N=e=>{if(e.key===`ArrowDown`){if(h.length===0)return;e.preventDefault(),_(!0),y(e=>(e+1)%h.length);return}if(e.key===`ArrowUp`){if(h.length===0)return;e.preventDefault(),_(!0),y(e=>(e-1+h.length)%h.length);return}if(e.key===`Enter`){if(w){let t=h[v];if(t){e.preventDefault(),E(t);return}}f&&(e.preventDefault(),f());return}if(e.key===`Escape`){if(!w)return;e.preventDefault(),e.stopPropagation(),_(!1);return}e.key===`Tab`&&_(!1)},t[15]=v,t[16]=f,t[17]=E,t[18]=h,t[19]=w,t[20]=N):N=t[20];let P;t[21]!==l||t[22]!==c||t[23]!==s||t[24]!==d||t[25]!==u||t[26]!==a||t[27]!==o||t[28]!==N||t[29]!==O||t[30]!==k||t[31]!==A||t[32]!==n||t[33]!==w?(P=(0,Z.jsx)(kf,{asChild:!0,children:(0,Z.jsx)(mi,{ref:C,id:a,type:`text`,value:n,placeholder:o,autoFocus:s,"data-prop-autofocus":u,"aria-invalid":c,"aria-describedby":l,role:`combobox`,"aria-autocomplete":`list`,"aria-expanded":w,"aria-controls":O,"aria-activedescendant":k,className:d,onChange:A,onFocus:M,onClick:j,onKeyDown:N})}),t[21]=l,t[22]=c,t[23]=s,t[24]=d,t[25]=u,t[26]=a,t[27]=o,t[28]=N,t[29]=O,t[30]=k,t[31]=A,t[32]=n,t[33]=w,t[34]=P):P=t[34];let F;t[35]===Symbol.for(`react.memo_cache_sentinel`)?(F=e=>{let t=e.target;t instanceof Node&&C.current?.contains(t)&&e.preventDefault()},t[35]=F):F=t[35];let I;if(t[36]!==v||t[37]!==S||t[38]!==E||t[39]!==h){let e;t[41]!==v||t[42]!==S||t[43]!==E?(e=(e,t)=>{let n=`${S}-opt-${t}`,r=t===v;return(0,Z.jsxs)(`button`,{id:n,type:`button`,role:`option`,"aria-selected":r,"data-testid":`src-autocomplete-option`,"data-highlighted":r?``:void 0,className:Gt(`flex w-full flex-col items-start gap-0.5 rounded-sm px-2 py-1 text-left text-xs`,`transition-colors`,r?`bg-accent text-accent-foreground`:`hover:bg-accent/50`),onMouseEnter:()=>y(t),onMouseDown:t=>{t.preventDefault(),E(e)},children:[(0,Z.jsx)(`span`,{className:`font-medium`,children:e.basename}),e.basename!==e.path&&(0,Z.jsx)(`span`,{className:`text-muted-foreground/70`,children:e.path})]},e.path)},t[41]=v,t[42]=S,t[43]=E,t[44]=e):e=t[44],I=h.map(e),t[36]=v,t[37]=S,t[38]=E,t[39]=h,t[40]=I}else I=t[40];let L;t[45]!==S||t[46]!==I?(L=(0,Z.jsx)(Of,{align:`start`,sideOffset:4,className:`z-70 w-(--radix-popover-trigger-width) p-1`,onOpenAutoFocus:Dz,onCloseAutoFocus:Ez,onInteractOutside:F,children:(0,Z.jsx)(`div`,{id:S,role:`listbox`,"aria-label":`Asset suggestions`,className:`flex flex-col gap-px`,children:I})}),t[45]=S,t[46]=I,t[47]=L):L=t[47];let R;return t[48]!==P||t[49]!==L||t[50]!==w?(R=(0,Z.jsxs)(Ef,{open:w,onOpenChange:D,children:[P,L]}),t[48]=P,t[49]=L,t[50]=w,t[51]=R):R=t[51],R}function Ez(e){e.preventDefault()}function Dz(e){e.preventDefault()}function Oz(){if(typeof window>`u`)return null;let e=window.location.hash.match(/^#\/([^?#]+)/);return e?decodeURIComponent(e[1]):null}var kz=`/api/upload`;async function Az(e,t,n={}){let r=n.fetch??globalThis.fetch,i=n.docName===void 0?Oz():n.docName;if(!i)throw Error(`No document is open`);let a=new FormData;a.append(`file`,e),a.append(`parentDocName`,i);let o;try{o=await r(kz,{method:`POST`,body:a})}catch(e){let t=e instanceof Error?e.message:String(e);throw Error(`Upload failed: ${t}`)}let s;try{s=await o.json()}catch(e){throw new tv(`Upload response is not JSON.`,{cause:e,status:o.status})}if(!o.ok){let e=_t.safeParse(s);throw e.success?Error(e.data.title):new tv(`Upload error response did not match ProblemDetails.`,{cause:e.error,status:o.status})}let c=K.safeParse(s);if(!c.success)throw new tv(`Upload success response did not match UploadAssetSuccess.`,{cause:c.error,status:o.status});let l=c.data.path??c.data.src;return{url:l.startsWith(`/`)?l:`/${l}`}}var jz=new Intl.PluralRules(`en-US`);function Mz(e,t,n){return n<=0?`${e} (empty)`:`${e} with ${n} ${jz.select(n)===`one`?`item`:`items`}`}function Nz(e){for(let t of e)if(t.type===`string`&&t.hidden!==!0&&t.advanced!==!0&&t.autoFocus===!0)return t.name;return null}function Pz(e){if(!e)return e;let t=e.replace(/[_-]+/g,` `).replace(/([a-z0-9])([A-Z])/g,`$1 $2`).replace(/([A-Z]+)([A-Z][a-z])/g,`$1 $2`);return t.charAt(0).toUpperCase()+t.slice(1)}var Fz=new Set([`auto`,`inherit`,`initial`,`unset`]),Iz=new Set([`px`,`%`,`rem`,`em`,`vh`,`vw`,`ch`,`ex`,`fr`]),Lz=/^(-?\d+(?:\.\d+)?)([a-z%]*)$/i;function Rz(e){let t=e.trim();if(!t)return{valid:!1,reason:`empty`};if(Fz.has(t.toLowerCase()))return{valid:!0};let n=t.match(Lz);if(!n)return{valid:!1,reason:`malformed-syntax`};let r=(n[2]??``).toLowerCase();return r===``||Iz.has(r)?{valid:!0}:{valid:!1,reason:`unknown-unit`}}function zz(e){if(e.valid)return null;switch(e.reason){case`empty`:return null;case`malformed-syntax`:return`Enter a number (e.g. 100), a number with a CSS unit (e.g. 100px, 50%, 26rem), or one of: auto, inherit, initial, unset.`;case`unknown-unit`:return`Unknown CSS unit. Use px, %, rem, em, vh, vw, ch, ex, or fr.`}}var Bz={video:Ye,audio:b,image:ne},Vz={youtube:[`youtube.com`,`youtu.be`,`youtube-nocookie.com`],vimeo:[`vimeo.com`],loom:[`loom.com`]};function Hz(e){let t=e.toLowerCase();for(let e of Object.keys(Vz)){let n=Vz[e];for(let r of n)if(t===r||t.endsWith(`.${r}`))return e}return null}function Uz(e){let t=e.lastIndexOf(`/`),n=t>=0?e.slice(t+1):e,r=n.lastIndexOf(`.`);return r>0?n.slice(r+1).toLowerCase():``}var Wz=`https://placeholder.invalid`;function Gz(e,t){let n=e.trim();if(n.length===0)return{valid:!0};let r,i=!0;try{r=new URL(n)}catch{try{r=new URL(n,Wz),i=!1}catch{return{valid:!1,reason:`invalid-url`}}}if(t===`video`&&Dt(n)!==null||t===`video`&&xe(n)||t===`video`&&fe(n))return{valid:!0};let a=i?Hz(r.hostname):null;if(a!==null)return{valid:!1,reason:`embed-provider`,provider:a};if(r.protocol===`data:`)return{valid:!1,reason:`data-uri`};let o=Uz(r.pathname),s=Bz[t];return o===``?i?{valid:!0}:{valid:!1,reason:`wrong-extension`,extension:``}:s.has(o)?{valid:!0}:{valid:!1,reason:`wrong-extension`,extension:o}}function Kz(e){if(e.length===0)return;let t=e[0]?.toLowerCase()??``;if(t.startsWith(`video/`))return`video`;if(t.startsWith(`audio/`))return`audio`;if(t.startsWith(`image/`))return`image`}function qz(e){return`Direct ${e} file URL — ${Array.from(Bz[e]).map(e=>`.${e}`).join(`, `)}`}var Jz={youtube:`YouTube`,vimeo:`Vimeo`,loom:`Loom`};function Yz(e,t){if(e.valid)return``;if(e.reason===`invalid-url`)return`Not a valid URL.`;if(e.reason===`data-uri`)return`Data URIs are not supported for media fields. Use a hosted file URL.`;if(e.reason===`embed-provider`){let n=Jz[e.provider];return t===`video`?`Unrecognized ${n} URL. Paste a valid ${n} share or embed link, or a direct ${t} file URL.`:`${n} URLs are not direct ${t} files. Paste a direct ${t} file URL.`}let n=Array.from(Bz[t]).map(e=>`.${e}`).join(`, `);return e.extension===``?`Missing file extension. Accepts: ${n}.`:`Unsupported extension .${e.extension}. Accepts: ${n}.`}function Xz(e){return`ok.propPanel.advanced.${e}`}function Zz(e){try{return typeof localStorage>`u`?!1:localStorage.getItem(Xz(e))===`true`}catch{return!1}}function Qz(e,t){try{if(typeof localStorage>`u`)return;localStorage.setItem(Xz(e),t?`true`:`false`)}catch{}}function $z(e,t){let n=0;for(let r of e){let e=t[r.name],i=`defaultValue`in r?r.defaultValue:void 0;e!==void 0&&e!==i&&(n+=1)}return n}async function eB(e,t,n){try{let{url:r}=await Az(e,t);n(r)}catch(e){let t=e instanceof Error?e.message:String(e);vr.error(gi._({id:`02P3hL`,values:{message:t}}))}}function tB(e){let t=(0,$.c)(14),{descriptor:n,values:r,onChange:i,onDismiss:a}=e,s;t[0]===r?s=t[1]:(s=e=>!(`hidden`in e&&e.hidden)&&e.hideWhen?.(r)!==!0&&e.type!==`reactnode`,t[0]=r,t[1]=s);let c=n.props.filter(s),l=c.filter(rB),u=c.filter(nB),d=$z(u,r),f;t[2]===n.props?f=t[3]:(f=Nz(n.props),t[2]=n.props,t[3]=f);let p=f,m;t[4]===n.name?m=t[5]:(m=()=>Zz(n.name),t[4]=n.name,t[5]=m);let[h,g]=(0,Q.useState)(m);if(c.length===0)return null;let _;t[6]!==p||t[7]!==i||t[8]!==a||t[9]!==r?(_=e=>(0,Z.jsx)(aB,{propDef:e,value:r[e.name],onChange:t=>i(e.name,t),onDismiss:a,isAutoFocused:e.name===p},e.name),t[6]=p,t[7]=i,t[8]=a,t[9]=r,t[10]=_):_=t[10];let v=l.map(_),y=u.length>0&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`div`,{className:`my-1 border-t border-border`}),(0,Z.jsxs)(Yr,{open:h,onOpenChange:e=>{g(e),Qz(n.name,e)},children:[(0,Z.jsxs)(Jr,{"data-prop-panel-advanced-trigger":``,className:`group flex w-full items-center justify-between rounded px-1 py-1 text-xs text-muted-foreground hover:bg-muted hover:text-foreground uppercase font-mono`,children:[(0,Z.jsxs)(`span`,{className:`flex items-center gap-1.5`,children:[(0,Z.jsx)(Zt,{className:`size-3 transition-transform group-data-[state=closed]:-rotate-90`}),(0,Z.jsx)(o,{id:`sxkWRg`})]}),d>0&&(0,Z.jsx)(xd,{variant:`secondary`,"data-prop-panel-advanced-count":``,children:d})]}),(0,Z.jsx)(qr,{className:`flex flex-col gap-4 pt-2`,children:u.map(e=>(0,Z.jsx)(aB,{propDef:e,value:r[e.name],onChange:t=>i(e.name,t),onDismiss:a,isAutoFocused:e.name===p},e.name))})]})]}),b;return t[11]!==v||t[12]!==y?(b=(0,Z.jsxs)(`div`,{"data-prop-panel":``,className:`flex flex-col gap-4 py-2 text-sm`,children:[v,y]}),t[11]=v,t[12]=y,t[13]=b):b=t[13],b}function nB(e){return`advanced`in e&&e.advanced}function rB(e){return!(`advanced`in e&&e.advanced)}function iB(e){throw Error(`PropPanel: unhandled PropDef type ${JSON.stringify(e)}`)}function aB(e){let t=(0,$.c)(165),{propDef:n,value:r,onChange:i,onDismiss:a,isAutoFocused:o}=e,s;t[0]===a?s=t[1]:(s=a?e=>{e.key===`Enter`&&(e.preventDefault(),a())}:void 0,t[0]=a,t[1]=s);let c=s;switch(n.type){case`reactnode`:return null;case`string`:{let e=`prop-${n.name}`,s=n.accept,l=s!==void 0&&s.length>0,u=!n.required&&n.defaultValue===void 0;if(n.language){let a=`${e}-label`,s;t[2]===n.name?s=t[3]:(s=Pz(n.name),t[2]=n.name,t[3]=s);let c;t[4]!==a||t[5]!==e||t[6]!==s?(c=(0,Z.jsx)(`label`,{id:a,htmlFor:e,className:`text-xs text-muted-foreground`,children:s}),t[4]=a,t[5]=e,t[6]=s,t[7]=c):c=t[7];let l=r??``,d;t[8]!==i||t[9]!==u?(d=e=>{if(e===``&&u){i(void 0);return}i(e)},t[8]=i,t[9]=u,t[10]=d):d=t[10];let f;t[11]!==o||t[12]!==a||t[13]!==n.language||t[14]!==e||t[15]!==l||t[16]!==d?(f=(0,Z.jsx)($F,{id:e,ariaLabelledBy:a,value:l,language:n.language,onChange:d,autoFocus:o}),t[11]=o,t[12]=a,t[13]=n.language,t[14]=e,t[15]=l,t[16]=d,t[17]=f):f=t[17];let p;return t[18]!==c||t[19]!==f?(p=(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[c,f]}),t[18]=c,t[19]=f,t[20]=p):p=t[20],p}if(n.iconPicker){let a=r??``,s;t[21]===n.name?s=t[22]:(s=Pz(n.name),t[21]=n.name,t[22]=s);let c;t[23]!==e||t[24]!==s?(c=(0,Z.jsx)(`label`,{htmlFor:e,className:`text-xs text-muted-foreground`,children:s}),t[23]=e,t[24]=s,t[25]=c):c=t[25];let l;t[26]!==i||t[27]!==u?(l=e=>{if(e===``&&u){i(void 0);return}i(e)},t[26]=i,t[27]=u,t[28]=l):l=t[28];let d;t[29]!==a||t[30]!==o||t[31]!==e||t[32]!==l?(d=(0,Z.jsx)(fz,{id:e,value:a,onChange:l,autoFocus:o}),t[29]=a,t[30]=o,t[31]=e,t[32]=l,t[33]=d):d=t[33];let f;return t[34]!==c||t[35]!==d?(f=(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[c,d]}),t[34]=c,t[35]=d,t[36]=f):f=t[36],f}if(n.colorPicker){let a=r??``,s;t[37]===n.name?s=t[38]:(s=Pz(n.name),t[37]=n.name,t[38]=s);let c;t[39]!==e||t[40]!==s?(c=(0,Z.jsx)(`label`,{htmlFor:e,className:`text-xs text-muted-foreground`,children:s}),t[39]=e,t[40]=s,t[41]=c):c=t[41];let l;t[42]!==i||t[43]!==u?(l=e=>{if(e===``&&u){i(void 0);return}i(e)},t[42]=i,t[43]=u,t[44]=l):l=t[44];let d;t[45]!==a||t[46]!==o||t[47]!==e||t[48]!==l?(d=(0,Z.jsx)(dz,{id:e,value:a,onChange:l,autoFocus:o}),t[45]=a,t[46]=o,t[47]=e,t[48]=l,t[49]=d):d=t[49];let f;return t[50]!==c||t[51]!==d?(f=(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[c,d]}),t[50]=c,t[51]=d,t[52]=f):f=t[52],f}if(n.cssLengthInput){let a=r??``,s;if(t[53]!==a){let e=Rz(a);s=e.valid?null:zz(e),t[53]=a,t[54]=s}else s=t[54];let l=s,d;t[55]===n.name?d=t[56]:(d=Pz(n.name),t[55]=n.name,t[56]=d);let f;t[57]!==e||t[58]!==d?(f=(0,Z.jsx)(`label`,{htmlFor:e,className:`text-xs text-muted-foreground`,children:d}),t[57]=e,t[58]=d,t[59]=f):f=t[59];let p;t[60]!==i||t[61]!==u?(p=e=>{let t=e.target.value;if(t===``&&u){i(void 0);return}i(t)},t[60]=i,t[61]=u,t[62]=p):p=t[62];let m=o?``:void 0,h=l===null?void 0:!0,g=l===null?void 0:`${e}-error`,_;t[63]!==a||t[64]!==c||t[65]!==o||t[66]!==e||t[67]!==p||t[68]!==m||t[69]!==h||t[70]!==g?(_=(0,Z.jsx)(mi,{id:e,type:`text`,value:a,placeholder:`100px, 50%, 26rem, auto`,onChange:p,onKeyDown:c,autoFocus:o,"data-prop-autofocus":m,"aria-invalid":h,"aria-describedby":g,className:`h-7 text-sm`,"data-prop-css-length-input":``}),t[63]=a,t[64]=c,t[65]=o,t[66]=e,t[67]=p,t[68]=m,t[69]=h,t[70]=g,t[71]=_):_=t[71];let v;t[72]!==l||t[73]!==e?(v=l!==null&&(0,Z.jsx)(`p`,{id:`${e}-error`,"data-prop-css-length-error":``,className:`text-xs text-destructive`,"aria-live":`polite`,children:l}),t[72]=l,t[73]=e,t[74]=v):v=t[74];let y;return t[75]!==v||t[76]!==f||t[77]!==_?(y=(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[f,_,v]}),t[75]=v,t[76]=f,t[77]=_,t[78]=y):y=t[78],y}let d,f,p;if(t[79]!==s||t[80]!==r){let e=s===void 0?void 0:Kz(s);d=r??``;let n=e===void 0?null:Gz(d,e);f=n!==null&&!n.valid&&e!==void 0&&d.trim().length>0?Yz(n,e):null,p=e===void 0?void 0:qz(e),t[79]=s,t[80]=r,t[81]=d,t[82]=f,t[83]=p}else d=t[81],f=t[82],p=t[83];let m=p,h;t[84]===n.name?h=t[85]:(h=Pz(n.name),t[84]=n.name,t[85]=h);let g;t[86]!==e||t[87]!==h?(g=(0,Z.jsx)(`label`,{htmlFor:e,className:`text-xs text-muted-foreground`,children:h}),t[86]=e,t[87]=h,t[88]=g):g=t[88];let _;t[89]!==s||t[90]!==d||t[91]!==c||t[92]!==o||t[93]!==f||t[94]!==m||t[95]!==i||t[96]!==a||t[97]!==e||t[98]!==u?(_=s===void 0?(0,Z.jsx)(mi,{id:e,type:`text`,value:d,placeholder:m,onChange:e=>{let t=e.target.value;if(t===``&&u){i(void 0);return}i(t)},onKeyDown:c,autoFocus:o,"data-prop-autofocus":o?``:void 0,"aria-invalid":f===null?void 0:!0,"aria-describedby":f===null?void 0:`${e}-error`,className:`h-7 text-sm`}):(0,Z.jsx)(Tz,{id:e,value:d,onChange:e=>{if(e===``&&u){i(void 0);return}i(e)},onSubmit:a,accept:s,placeholder:m,autoFocus:o,dataPropAutofocus:o?``:void 0,ariaInvalid:f===null?void 0:!0,ariaDescribedBy:f===null?void 0:`${e}-error`,className:`h-7 text-sm`}),t[89]=s,t[90]=d,t[91]=c,t[92]=o,t[93]=f,t[94]=m,t[95]=i,t[96]=a,t[97]=e,t[98]=u,t[99]=_):_=t[99];let v;t[100]!==s||t[101]!==i||t[102]!==l?(v=l&&(0,Z.jsx)(sB,{accept:s,onUploaded:e=>i(e)}),t[100]=s,t[101]=i,t[102]=l,t[103]=v):v=t[103];let y;t[104]!==_||t[105]!==v?(y=(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[_,v]}),t[104]=_,t[105]=v,t[106]=y):y=t[106];let b;t[107]!==f||t[108]!==e?(b=f!==null&&(0,Z.jsx)(`p`,{id:`${e}-error`,"data-prop-media-error":``,className:`text-xs text-destructive`,"aria-live":`polite`,children:f}),t[107]=f,t[108]=e,t[109]=b):b=t[109];let x;return t[110]!==g||t[111]!==y||t[112]!==b?(x=(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[g,y,b]}),t[110]=g,t[111]=y,t[112]=b,t[113]=x):x=t[113],x}case`boolean`:{let e=`prop-${n.name}`,a;t[114]===n.name?a=t[115]:(a=Pz(n.name),t[114]=n.name,t[115]=a);let o=a,s;t[116]!==e||t[117]!==o?(s=(0,Z.jsx)(`label`,{htmlFor:e,className:`text-xs text-muted-foreground`,children:o}),t[116]=e,t[117]=o,t[118]=s):s=t[118];let c=!!r,l;t[119]===i?l=t[120]:(l=e=>i(e),t[119]=i,t[120]=l);let u;t[121]!==e||t[122]!==c||t[123]!==l?(u=(0,Z.jsx)(lz,{id:e,checked:c,onCheckedChange:l}),t[121]=e,t[122]=c,t[123]=l,t[124]=u):u=t[124];let d;return t[125]!==s||t[126]!==u?(d=(0,Z.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[s,u]}),t[125]=s,t[126]=u,t[127]=d):d=t[127],d}case`enum`:{let e=`prop-${n.name}`,a=r??n.enumValues[0]??``,o;t[128]===n.name?o=t[129]:(o=Pz(n.name),t[128]=n.name,t[129]=o);let s;t[130]!==e||t[131]!==o?(s=(0,Z.jsx)(`label`,{htmlFor:e,className:`text-xs text-muted-foreground`,children:o}),t[130]=e,t[131]=o,t[132]=s):s=t[132];let c;t[133]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,Z.jsx)(rz,{}),t[133]=c):c=t[133];let l;t[134]===e?l=t[135]:(l=(0,Z.jsx)(iz,{id:e,size:`sm`,children:c}),t[134]=e,t[135]=l);let u;t[136]===n.enumValues?u=t[137]:(u=n.enumValues.map(oB),t[136]=n.enumValues,t[137]=u);let d;t[138]===u?d=t[139]:(d=(0,Z.jsx)(az,{className:`z-70`,children:u}),t[138]=u,t[139]=d);let f;t[140]!==a||t[141]!==i||t[142]!==l||t[143]!==d?(f=(0,Z.jsxs)(nz,{value:a,onValueChange:i,children:[l,d]}),t[140]=a,t[141]=i,t[142]=l,t[143]=d,t[144]=f):f=t[144];let p;return t[145]!==s||t[146]!==f?(p=(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[s,f]}),t[145]=s,t[146]=f,t[147]=p):p=t[147],p}case`number`:{let e=`prop-${n.name}`,a;t[148]===n.name?a=t[149]:(a=Pz(n.name),t[148]=n.name,t[149]=a);let o;t[150]!==e||t[151]!==a?(o=(0,Z.jsx)(`label`,{htmlFor:e,className:`text-xs text-muted-foreground`,children:a}),t[150]=e,t[151]=a,t[152]=o):o=t[152];let s=r==null?``:String(r),l;t[153]===i?l=t[154]:(l=e=>{let t=e.target.value;if(t===``){i(void 0);return}if(t===`-`)return;let n=Number(t);Number.isNaN(n)||i(n)},t[153]=i,t[154]=l);let u;t[155]!==c||t[156]!==e||t[157]!==s||t[158]!==l?(u=(0,Z.jsx)(mi,{id:e,type:`number`,inputMode:`numeric`,value:s,onChange:l,onKeyDown:c,className:`h-7 text-sm`}),t[155]=c,t[156]=e,t[157]=s,t[158]=l,t[159]=u):u=t[159];let d;return t[160]!==o||t[161]!==u?(d=(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[o,u]}),t[160]=o,t[161]=u,t[162]=d):d=t[162],d}default:{let e;return t[163]===n?e=t[164]:(e=iB(n),t[163]=n,t[164]=e),e}}}function oB(e){return(0,Z.jsx)(oz,{value:e,children:e},e)}function sB(e){let t=(0,$.c)(17),{accept:n,onUploaded:r}=e,[i,a]=(0,Q.useState)(!1),s=(0,Q.useRef)(null),c;t[0]===n?c=t[1]:(c=n.join(`,`),t[0]=n,t[1]=c);let l;t[2]!==n||t[3]!==r?(l=async e=>{let t=e.target.files?.[0];if(t){a(!0);try{await eB(t,n,r)}catch{}a(!1),s.current&&(s.current.value=``)}},t[2]=n,t[3]=r,t[4]=l):l=t[4];let u;t[5]!==c||t[6]!==l?(u=(0,Z.jsx)(`input`,{ref:s,type:`file`,accept:c,className:`hidden`,"data-prop-upload-input":``,onChange:l}),t[5]=c,t[6]=l,t[7]=u):u=t[7];let d;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(d=()=>s.current?.click(),t[8]=d):d=t[8];let f;t[9]===i?f=t[10]:(f=i?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(gr,{className:`size-3.5 animate-spin`,"aria-hidden":`true`}),(0,Z.jsx)(o,{id:`_eguJc`})]}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(Lo,{className:`size-3.5`,"aria-hidden":`true`}),(0,Z.jsx)(o,{id:`eJitUk`})]}),t[9]=i,t[10]=f);let p;t[11]!==f||t[12]!==i?(p=(0,Z.jsx)(Yt,{type:`button`,variant:`outline`,size:`sm`,disabled:i,"data-prop-upload-trigger":``,className:`h-7 w-full justify-center gap-1.5 px-2 text-xs`,onClick:d,children:f}),t[11]=f,t[12]=i,t[13]=p):p=t[13];let m;return t[14]!==u||t[15]!==p?(m=(0,Z.jsxs)(Z.Fragment,{children:[u,p]}),t[14]=u,t[15]=p,t[16]=m):m=t[16],m}var cB=new Set([`img`,`CommonMarkImage`,`video`,`audio`,`Pdf`,`File`]);function lB(e,t,n){if(!cB.has(e)||!n)return t;let r=t.src;if(typeof r!=`string`)return t;let i=ot(r,n);return i===r?t:{...t,src:i}}var uB=`selectionStatePlugin/origin`,dB=`selectionStatePlugin/refresh`,fB=new lt(`selectionState`),pB=new Set,mB={selectedBlockId:null,ancestorChain:[],selectionOrigin:`programmatic`,isDragging:!1,rangeEncompassedBlockIds:pB};function hB(e){return fB.getState(e.state)??mB}function gB(e,t){let n=[],{$from:r}=t;for(let t=1;t<=r.depth;t++){let i=r.node(t);if(i.type.name!==`jsxComponent`)continue;let a=r.before(t);n.push(_B(e,i,a))}if(t instanceof Le){let r=t.node;r.type.name===`jsxComponent`&&n.push(_B(e,r,t.from))}return n}function _B(e,t,n){let r=t.attrs.componentName??`unknown`;return{bridgeId:vB(e,n),componentName:r,pos:n}}function vB(e,t){return GS.getState(e)?.posToId.get(t)??`pos-${t}`}function yB(e,t){if(t instanceof Le)return pB;let{from:n,to:r}=t;if(n>=r)return pB;let i=GS.getState(e)?.posToId;if(!i)return pB;let a=null;for(let[t,o]of i){if(t<n)continue;let i=e.doc.nodeAt(t);i&&(t+i.nodeSize>r||(a||=new Set,a.add(o)))}return a??pB}function bB(e,t,n={}){let r=gB(e,e.selection),i=r[r.length-1],a=yB(e,e.selection),o={selectedBlockId:i?.bridgeId??null,ancestorChain:r,selectionOrigin:n.origin??t.selectionOrigin,isDragging:n.isDragging??t.isDragging,rangeEncompassedBlockIds:a};return xB(t,o)?t:o}function xB(e,t){if(e===t)return!0;if(e.selectedBlockId!==t.selectedBlockId||e.selectionOrigin!==t.selectionOrigin||e.isDragging!==t.isDragging||e.ancestorChain.length!==t.ancestorChain.length)return!1;for(let n=0;n<e.ancestorChain.length;n++){let r=e.ancestorChain[n],i=t.ancestorChain[n];if(r.bridgeId!==i.bridgeId||r.componentName!==i.componentName||r.pos!==i.pos)return!1}if(e.rangeEncompassedBlockIds.size!==t.rangeEncompassedBlockIds.size)return!1;for(let n of e.rangeEncompassedBlockIds)if(!t.rangeEncompassedBlockIds.has(n))return!1;return!0}var SB=new WeakMap;function CB(e,t,n,r){let i=r?.isDragging??t.isDragging,a=!!e.getMeta(dB),o=e.selectionSet&&!a,s=e.getMeta(uB),c=o?r?.pendingOrigin??null:null,l=s??c??t.selectionOrigin;return o&&r&&(r.pendingOrigin=null),bB(n,t,{origin:l,isDragging:i})}var wB=ge.create({name:`selectionStatePlugin`,addProseMirrorPlugins(){let e=this.editor,t=new Ve({key:fB,state:{init(e,t){return bB(t,mB)},apply(e,n,r,i){return CB(e,n,i,SB.get(t))}},props:{handleDOMEvents:{mousedown:()=>{let e=SB.get(t);return e&&(e.pendingOrigin=`pointer`),!1},pointerdown:()=>{let e=SB.get(t);return e&&(e.pendingOrigin=`pointer`),!1}},handleKeyDown:(e,n)=>{if(TB(n.key)){let e=SB.get(t);e&&(e.pendingOrigin=`keyboard`)}return!1}},view(n){SB.set(t,{pendingOrigin:null,isDragging:!1});let r=n.dom.parentElement??n.dom,i=()=>{let n=SB.get(t);n&&(n.isDragging=!0,EB(e))},a=()=>{let n=SB.get(t);n&&(n.isDragging=!1,EB(e))};return r.addEventListener(`dragstart`,i,!0),r.addEventListener(`dragend`,a,!0),r.addEventListener(`drop`,a,!0),{destroy:()=>{r.removeEventListener(`dragstart`,i,!0),r.removeEventListener(`dragend`,a,!0),r.removeEventListener(`drop`,a,!0),SB.delete(t)}}}});return[t]}});function TB(e){return e===`ArrowUp`||e===`ArrowDown`||e===`ArrowLeft`||e===`ArrowRight`||e===`Tab`||e===`Escape`||e===`Enter`||e===`Home`||e===`End`||e===`PageUp`||e===`PageDown`}function EB(e){queueMicrotask(()=>{if(!e.isDestroyed)try{let t=e.state.tr.setMeta(dB,!0);e.view.dispatch(t)}catch{}})}function DB(e){let t=(0,$.c)(5),n;t[0]===e?n=t[1]:(n=()=>e?hB(e):null,t[0]=e,t[1]=n);let[r,i]=(0,Q.useState)(n),a,o;return t[2]===e?(a=t[3],o=t[4]):(a=()=>{if(!e){i(null);return}i(hB(e));let t=()=>{i(hB(e))};return e.on(`transaction`,t),e.on(`selectionUpdate`,t),()=>{e.off(`transaction`,t),e.off(`selectionUpdate`,t)}},o=[e],t[2]=e,t[3]=a,t[4]=o),(0,Q.useEffect)(a,o),r}function OB(e,t){if(e.hasChildren)return!1;let n=Nz(e.props);return n===null?!1:t[n]===``}function kB(e){let t=e.placeholder?.label,n=`Add ${(e.displayName??e.name).toLowerCase()}`;return{label:t??n,Icon:Rv(e.placeholder?.icon??e.icon)}}var AB=new Set([`img`,`CommonMarkImage`,`Embed`,`video`]);function jB(e){if(!e.attrs.sourceDirty&&e.attrs.sourceRaw)return e.attrs.sourceRaw;let t=vb(),n=e.type.schema.node(`doc`,null,[e]);return t.serialize(n.toJSON()).trim()}var MB=new Set(et.map(e=>`${e}:`)),NB=6e4,PB=10,FB=new Map;function IB(e,t){let n=t.toLowerCase();ie(n);let r=Date.now(),i=FB.get(n);if(!i||r-i.windowStart>=NB)FB.set(n,{windowStart:r,count:1});else if(i.count+=1,i.count>PB)return;typeof console<`u`&&typeof console.warn==`function`&&console.warn(JSON.stringify({event:`jsx-prop-dropped`,reason:e,prop:t}))}var LB=new Set([`href`,`src`,`action`,`formaction`,`poster`,`cite`,`data`,`manifest`,`background`,`ping`,`xlinkhref`,`xlinkactuate`,`xlinkrole`,`xlinkarcrole`,`xlinkshow`,`url`,`link`]),RB=new Set([`dangerouslysetinnerhtml`,`ref`,`key`,`defaultvalue`,`defaultchecked`,`__proto__`,`constructor`,`prototype`]),zB=1e4;function BB(e){let t=e.toLowerCase();return!!(RB.has(t)||t.length>=3&&t.startsWith(`on`))}function VB(e){return LB.has(e.toLowerCase())}function HB(e){if(typeof e!=`string`)return e;let t=e.trim();if(!t||t.startsWith(`#`)||t.startsWith(`//`)||ee(t))return e;let n=t.indexOf(`:`),r=t.slice(0,n+1).toLowerCase();return MB.has(r)?e:`#`}function UB(e){if(e.length>zB)return``;let t=e.toLowerCase();return/url\s*\(\s*['"]?\s*(?:javascript|vbscript|data)\s*:/.test(t)||/\bexpression\s*\(/.test(t)?``:e}function WB(e){if(e==null)return e;if(Array.isArray(e)){let t=!1,n=Array(e.length);for(let r=0;r<e.length;r++){let i=WB(e[r]);n[r]=i,i!==e[r]&&(t=!0)}return t?n:e}if(typeof e!=`object`)return e;let t=Object.getPrototypeOf(e);if(t!==Object.prototype&&t!==null)return e;let n=e,r=!1,i={};for(let[e,t]of Object.entries(n)){if(BB(e)){IB(`dangerous-prop-name-nested`,e),r=!0;continue}if(VB(e)&&typeof t==`string`){let n=HB(t);n!==t&&(r=!0),i[e]=n}else{let n=WB(t);n!==t&&(r=!0),i[e]=n}}return r?i:e}function GB(e){let t=!1,n={};for(let[r,i]of Object.entries(e)){if(BB(r)){IB(`dangerous-prop-name`,r),t=!0;continue}if(VB(r)){let e=HB(i);e!==i&&(t=!0),n[r]=e;continue}if(r===`style`){if(typeof i==`string`){let e=UB(i);e!==i&&(t=!0),n[r]=e}else t=!0;continue}let e=WB(i);e!==i&&(t=!0),n[r]=e}return t?n:e}function KB(e){let t=(0,$.c)(2),{children:n}=e,r;return t[0]===n?r=t[1]:(r=(0,Z.jsx)(`div`,{className:`jsx-component-error-fallback`,children:n}),t[0]=n,t[1]=r),r}function qB(e){let t=(0,$.c)(13),{children:n,resetKey:r,onError:i,descriptorName:a,rawComponentName:o}=e,s;t[0]===r?s=t[1]:(s=[r],t[0]=r,t[1]=s);let c;t[2]!==a||t[3]!==i||t[4]!==o?(c=(e,t)=>{let n=e instanceof Error?e:Error(String(e));console.warn(JSON.stringify({event:`jsx-render-failure`,component:a,rawComponentName:String(o??``).slice(0,200),error:String(n),stack:t.componentStack})),D(a),i(n)},t[2]=a,t[3]=i,t[4]=o,t[5]=c):c=t[5];let l;t[6]===n?l=t[7]:(l=e=>(0,Z.jsx)(KB,{...e,children:n}),t[6]=n,t[7]=l);let u;return t[8]!==n||t[9]!==s||t[10]!==c||t[11]!==l?(u=(0,Z.jsx)(QR,{resetKeys:s,onError:c,fallbackRender:l,children:n}),t[8]=n,t[9]=s,t[10]=c,t[11]=l,t[12]=u):u=t[12],u}function JB(e){if(typeof e!=`object`||!e)return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(JB).join(`,`)}]`;let t=Object.entries(e);return t.sort(([e],[t])=>e<t?-1:+(e>t)),`{${t.map(([e,t])=>`${JSON.stringify(e)}:${JB(t)}`).join(`,`)}}`}function YB(e,t){let n=e.props??{},r={};for(let[e,i]of Object.entries(n))t.has(e)||(r[e]=i);return GB(r)}function XB(e){return e.kind===`element`?e:null}var ZB=3;function QB(e){let t=(0,$.c)(162),{node:n,editor:r,extension:i,getPos:a,selected:c}=e,{_:l}=s(),u=gS(n.attrs.componentName),[d,f]=(0,Q.useState)(null),[p,h]=(0,Q.useState)(!1),g=(0,Q.useRef)(!1),_=typeof a==`function`?a():void 0,v=!1,y=0,b=1;try{if(_!==void 0){let e=r.state.doc.resolve(_);e.depth>0&&e.parent.type.name===`jsxComponent`&&(v=!0,y=e.index(e.depth),b=e.parent.childCount)}}catch(e){let t=e;if(!(t instanceof RangeError))throw t}let x=v&&y>0,S=v&&y<b-1,C=DB(r),w=typeof _==`number`?vB(r.state,_):null,T=w!==null&&(C?.rangeEncompassedBlockIds.has(w)??!1),E;t[0]===C?.ancestorChain?E=t[1]:(E=C?.ancestorChain.at(-1)?.bridgeId??null,t[0]=C?.ancestorChain,t[1]=E);let D=w!==null&&E===w,O=c&&!T&&D,k=w!==null&&!D&&(C?.ancestorChain.some(e=>e.bridgeId===w)??!1),A=O&&C?C.selectionOrigin:void 0,j=O&&(C?.isDragging??!1),M=u.props.some(iV),N=n.attrs.props??{},P=M&&u.props.some(e=>e.type!==`string`||!e.required||`hidden`in e&&e.hidden?!1:!Object.hasOwn(N,e.name)),I=OB(u,N),L=I?kB(u):null,R=!u.hasChildren||!!u.isSelfClosing,ee=AB.has(u.name),z=u.name===`MermaidFence`?{propName:`chart`,language:`mermaid`}:u.name===`Math`||u.name===`DollarMath`||u.name===`MathFence`?{propName:`formula`,language:`latex`}:null,[B,V]=(0,Q.useState)(!1);(0,Q.useEffect)(()=>{c&&!g.current&&M&&TS(_)&&h(!0),g.current=c},[c,M,_]);let W=YB(n.attrs,u.reactNodePropNames),ne=u.surface===`compat`?u.translateProps(W):W,G=i.options.docName,K=typeof G==`string`&&G?G:V_(r),re=lB(u.name,ne,K),ie=`${u.name}::${JB(W)}`,ae;t[2]!==a||t[3]!==n.content.size?(ae=()=>(typeof a==`function`?a()??0:0)+1+n.content.size,t[2]=a,t[3]=n.content.size,t[4]=ae):ae=t[4];let oe=ae,q=u.name===`*`||d!==null,se=(0,Q.useRef)(!1),ce=(0,Q.useRef)(0),[le,ue]=(0,Q.useState)(!1);if((0,Q.useEffect)(()=>{if(!q||se.current||le)return;let e=typeof a==`function`?a():void 0;if(typeof e!=`number`)return;let t=jB(n),i=u.name===`*`?`Unregistered component: ${n.attrs.componentName}`:`Render error in <${u.displayName??u.name}>: ${d?.message??`unknown`}`,o=n.type.schema.nodes.rawMdxFallback.create({reason:i},n.type.schema.text(t)),s=!1,c,l=()=>{if(!s)try{r.view.dispatch(r.state.tr.replaceWith(e,e+n.nodeSize,o)),se.current=!0,m(u.name===`*`?`wildcard`:u.name)}catch(e){let t=e,r=u.name===`*`?`wildcard`:u.name;if(console.warn(JSON.stringify({event:`jsx-component-auto-convert-failed`,component:r,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:t instanceof Error?t.message.slice(0,500):String(t).slice(0,500),retry:ce.current})),Xe(r),ce.current+=1,ce.current<ZB){let e=50*(2**ce.current-1);c=setTimeout(()=>{s||l()},e)}else s||ue(!0)}},f=requestAnimationFrame(l);return()=>{s=!0,cancelAnimationFrame(f),c!==void 0&&clearTimeout(c)}},[q,n,r,a,u,d,le]),le){let e=n.attrs.componentName,i=u.displayName??u.name,o=u.name===`*`?l({id:`Kh1n4a`,values:{componentName:e}}):l({id:`g58Kwy`,values:{descriptorLabel:i}}),s=()=>{try{let e=jB(n);typeof navigator<`u`&&navigator.clipboard?.writeText&&navigator.clipboard.writeText(e)}catch(e){let t=e;F(u.name),console.warn(JSON.stringify({event:`jsx-component-stuck-copy-failed`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:t instanceof Error?t.message.slice(0,500):String(t).slice(0,500)}))}},c=()=>{let e=typeof a==`function`?a():void 0;if(typeof e==`number`)try{r.chain().focus().setNodeSelection(e).deleteSelection().run()}catch(e){let t=e;if(!(t instanceof RangeError))throw t;te(u.name),console.warn(JSON.stringify({event:`jsx-component-stuck-delete-failed`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:t.message.slice(0,500)}))}},d;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(d={[yT]:`true`},t[5]=d):d=t[5];let f;t[6]===o?f=t[7]:(f=(0,Z.jsx)(`span`,{className:`flex-1`,children:o}),t[6]=o,t[7]=f);let p;t[8]===l?p=t[9]:(p=l({id:`E2Mv-X`}),t[8]=l,t[9]=p);let m;t[10]!==s||t[11]!==p?(m=(0,Z.jsx)(`button`,{type:`button`,className:`text-xs underline hover:no-underline`,onClick:s,children:p}),t[10]=s,t[11]=p,t[12]=m):m=t[12];let h;t[13]===l?h=t[14]:(h=l({id:`cnGeoo`}),t[13]=l,t[14]=h);let g;t[15]!==c||t[16]!==h?(g=(0,Z.jsx)(`button`,{type:`button`,className:`text-xs underline hover:no-underline`,onClick:c,children:h}),t[15]=c,t[16]=h,t[17]=g):g=t[17];let _;t[18]!==m||t[19]!==g||t[20]!==f?(_=(0,Z.jsxs)(`div`,{className:`text-xs font-mono text-muted-foreground px-2 py-2 border border-destructive/40 rounded bg-destructive/5 flex items-center gap-2`,contentEditable:!1,...d,children:[f,m,g]}),t[18]=m,t[19]=g,t[20]=f,t[21]=_):_=t[21];let v;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,Z.jsx)(Eu,{className:`component-children`}),t[22]=v):v=t[22];let y;return t[23]===_?y=t[24]:(y=(0,Z.jsxs)(Du,{className:`jsx-component-wrapper my-2`,children:[_,v]}),t[23]=_,t[24]=y),y}if(q){let e=n.attrs.componentName,r=u.displayName??u.name,i=u.name===`*`?l({id:`oJl7eO`,values:{componentName:e}}):l({id:`bcDHUM`,values:{descriptorLabel:r}}),a;t[25]===i?a=t[26]:(a=(0,Z.jsx)(`div`,{className:`text-xs font-mono text-muted-foreground px-2 py-1`,contentEditable:!1,children:i}),t[25]=i,t[26]=a);let o;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,Z.jsx)(Eu,{className:`component-children`}),t[27]=o):o=t[27];let s;return t[28]===a?s=t[29]:(s=(0,Z.jsxs)(Du,{className:`jsx-component-wrapper my-2`,children:[a,o]}),t[28]=a,t[29]=s),s}let de=u.Component,fe=u.displayName??u.name,pe=u.displayName??u.name,me=u.displayName??u.name,he=e=>{if(I||!R)return;let t=e.target;if(!e.currentTarget.contains(t)||t.closest(`.jsx-component-chrome`)||t.closest(`.jsx-add-child-pill, .jsx-empty-child-placeholder`)||t.closest(`a[href]`)||typeof _!=`number`)return;let n=r.state.doc.nodeAt(_);if(!n)return;let i=_+n.nodeSize,a=r.state.selection.from;a<_||a>=i||r.chain().focus().setNodeSelection(_).run()},ge;t[30]!==r||t[31]!==a||t[32]!==h?(ge=()=>{let e=typeof a==`function`?a():void 0;typeof e==`number`&&(r.chain().focus().setNodeSelection(e).run(),h(!0))},t[30]=r,t[31]=a,t[32]=h,t[33]=ge):ge=t[33];let _e=ge,ve=u.displayName??u.name,ye=!!u.emptyChildName,be=ye?Mz(ve,u.emptyChildName,n.childCount):void 0,xe=e=>{let t=e.target;if(e.key===`Backspace`||e.key===`Delete`){if(!O||!e.currentTarget.contains(t)||t.matches(`input, textarea`))return;let i=typeof a==`function`?a():void 0;if(typeof i!=`number`)return;e.preventDefault();try{r.chain().focus().setNodeSelection(i).deleteSelection().run()||(Je(u.name),console.warn(JSON.stringify({event:`jsx-component-keyboard-delete-failed`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:`chain-dispatch-returned-false`})))}catch(e){let t=e;if(!(t instanceof RangeError))throw t;Je(u.name),console.warn(JSON.stringify({event:`jsx-component-keyboard-delete-failed`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:t.message.slice(0,500)}))}return}e.key!==`Enter`&&e.key!==` `||c&&M&&(t.closest(`.jsx-component-chrome`)||t.closest(`input, textarea, select, button`)||(e.preventDefault(),h(!0)))},Se=e=>{h(e),!e&&requestAnimationFrame(()=>{let e=typeof a==`function`?a():void 0;if(typeof e==`number`)try{let t=r.state.doc.nodeAt(e);if(!t)return;let n=e+t.nodeSize,i=r.state.selection.from;if(i<e||i>=n)return;if(R){let e=r.state.doc.resolve(Math.min(n,r.state.doc.content.size)),t=Ue.near(e,1);r.view.dispatch(r.state.tr.setSelection(t).scrollIntoView())}else r.chain().setNodeSelection(e).run()}catch(e){let t=e;if(!(t instanceof RangeError))throw t;U(u.name),console.warn(JSON.stringify({event:`jsx-component-popover-close-restore-failed`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:t.message.slice(0,500)}))}})},Ce=Ef,we=Du,Te;t[34]===u.name?Te=t[35]:(Te=u.name.toLowerCase(),t[34]=u.name,t[35]=Te);let Ee;bb0:{let e=N.align;if(e===`left`||e===`right`||e===`center`){Ee=e;break bb0}if(ee){Ee=`center`;break bb0}Ee=void 0}let De=O?`true`:void 0,Oe=k?`true`:void 0,ke=T?`true`:void 0,Ae=j?`true`:void 0,je=P?`true`:void 0,Me=ye?`group`:void 0,Ne=O?0:-1,Pe;t[36]===v?Pe=t[37]:(Pe=v?{draggable:`false`,onDragStart:rV}:{"data-drag-handle":``,draggable:`true`},t[36]=v,t[37]=Pe);let Fe=u.name,Ie=nV,Le;t[38]===Symbol.for(`react.memo_cache_sentinel`)?(Le={[yT]:`true`},t[38]=Le):Le=t[38];let Re=u.name===`Embed`&&typeof W.src==`string`&&/^https?:\/\//i.test(W.src)&&(0,Z.jsx)(`a`,{href:W.src,target:`_blank`,rel:`noopener noreferrer`,className:`jsx-chrome-btn`,"aria-label":l({id:`iOHg1t`}),onMouseDown:tV,children:(0,Z.jsx)(Ya,{size:12,"aria-hidden":`true`})}),ze=u.name===`Mirror`&&typeof W.src==`string`&&W.src.length>0&&(()=>{let e=W.src;return(0,Z.jsx)(`a`,{href:Di(e,typeof W.anchor==`string`&&W.anchor.length>0?W.anchor:null),className:`jsx-chrome-btn`,"aria-label":l({id:`3a_Bd7`,values:{mirrorSrc:e}}),title:l({id:`0kTAXe`,values:{mirrorSrc:e}}),onMouseDown:eV,children:(0,Z.jsx)(Ya,{size:12,"aria-hidden":`true`})})})(),Be;t[39]!==l||t[40]!==x||t[41]!==u.name||t[42]!==r||t[43]!==n.attrs.componentName||t[44]!==n.nodeSize||t[45]!==_?(Be=x&&(0,Z.jsx)(`button`,{type:`button`,className:`jsx-chrome-btn`,"aria-label":l({id:`QyioBP`}),onClick:()=>{try{if(typeof _!=`number`)return;let e=r.state.doc.resolve(_),t=e.index(e.depth);if(t===0)return;let i=_-e.node(e.depth).child(t-1).nodeSize,a=_+n.nodeSize,o=r.state.tr,s=r.state.doc.slice(_,_+n.nodeSize),c=r.state.doc.slice(i,_);o.replaceWith(i,a,s.content.append(c.content)),r.view.dispatch(o.scrollIntoView())}catch(e){let t=e;if(!(t instanceof RangeError))throw t;H(`up`),console.warn(JSON.stringify({event:`jsx-component-move-failed`,direction:`up`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:t.message.slice(0,500)}))}},children:(0,Z.jsx)(Ia,{size:12,"aria-hidden":`true`})}),t[39]=l,t[40]=x,t[41]=u.name,t[42]=r,t[43]=n.attrs.componentName,t[44]=n.nodeSize,t[45]=_,t[46]=Be):Be=t[46];let Ve;t[47]!==l||t[48]!==S||t[49]!==u.name||t[50]!==r||t[51]!==n.attrs.componentName||t[52]!==n.nodeSize||t[53]!==_?(Ve=S&&(0,Z.jsx)(`button`,{type:`button`,className:`jsx-chrome-btn`,"aria-label":l({id:`3Ib6FN`}),onClick:()=>{try{if(typeof _!=`number`)return;let e=r.state.doc.resolve(_),t=e.index(e.depth),i=e.node(e.depth);if(t>=i.childCount-1)return;let a=i.child(t+1),o=_,s=_+n.nodeSize+a.nodeSize,c=r.state.tr,l=r.state.doc.slice(_,_+n.nodeSize),u=r.state.doc.slice(_+n.nodeSize,s);c.replaceWith(o,s,u.content.append(l.content)),r.view.dispatch(c.scrollIntoView())}catch(e){let t=e;if(!(t instanceof RangeError))throw t;H(`down`),console.warn(JSON.stringify({event:`jsx-component-move-failed`,direction:`down`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:t.message.slice(0,500)}))}},children:(0,Z.jsx)(Na,{size:12,"aria-hidden":`true`})}),t[47]=l,t[48]=S,t[49]=u.name,t[50]=r,t[51]=n.attrs.componentName,t[52]=n.nodeSize,t[53]=_,t[54]=Ve):Ve=t[54];let He;t[55]!==l||t[56]!==u.displayName||t[57]!==u.name||t[58]!==z||t[59]!==_||t[60]!==V?(He=z&&typeof _==`number`?(0,Z.jsx)(`button`,{type:`button`,className:`jsx-chrome-btn`,"aria-label":l({id:`ky9Tuc`,values:{0:u.displayName??u.name}}),"data-testid":`jsx-component-edit-btn`,onClick:()=>V(!0),children:(0,Z.jsx)(dn,{size:12,"aria-hidden":`true`})}):null,t[55]=l,t[56]=u.displayName,t[57]=u.name,t[58]=z,t[59]=_,t[60]=V,t[61]=He):He=t[61];let We;t[62]!==l||t[63]!==fe?(We=l({id:`MCjC9A`,values:{deleteDescriptorLabel:fe}}),t[62]=l,t[63]=fe,t[64]=We):We=t[64];let Ge;t[65]!==u.name||t[66]!==r||t[67]!==n.attrs.componentName||t[68]!==_?(Ge=()=>{if(typeof _==`number`)try{r.chain().focus().setNodeSelection(_).deleteSelection().run()||(Je(u.name),console.warn(JSON.stringify({event:`jsx-component-chrome-delete-failed`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:`chain-dispatch-returned-false`})))}catch(e){let t=e;if(!(t instanceof RangeError))throw t;Je(u.name),console.warn(JSON.stringify({event:`jsx-component-chrome-delete-failed`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:t.message.slice(0,500)}))}},t[65]=u.name,t[66]=r,t[67]=n.attrs.componentName,t[68]=_,t[69]=Ge):Ge=t[69];let Ke;t[70]===Symbol.for(`react.memo_cache_sentinel`)?(Ke=(0,Z.jsx)(un,{size:12,"aria-hidden":`true`}),t[70]=Ke):Ke=t[70];let qe;t[71]!==We||t[72]!==Ge?(qe=(0,Z.jsx)(`button`,{type:`button`,className:`jsx-chrome-btn jsx-chrome-btn--delete`,"aria-label":We,onClick:Ge,children:Ke}),t[71]=We,t[72]=Ge,t[73]=qe):qe=t[73];let Ye;t[74]!==l||t[75]!==M||t[76]!==pe?(Ye=M&&(0,Z.jsx)(Df,{asChild:!0,children:(0,Z.jsx)(`button`,{type:`button`,className:`jsx-chrome-btn`,"data-jsx-gear":``,"aria-label":l({id:`XPJ0sN`,values:{settingsDescriptorLabel:pe}}),children:(0,Z.jsx)(ko,{size:12,"aria-hidden":`true`})})}),t[74]=l,t[75]=M,t[76]=pe,t[77]=Ye):Ye=t[77];let Ze;t[78]!==Ie||t[79]!==Le||t[80]!==Re||t[81]!==ze||t[82]!==Be||t[83]!==Ve||t[84]!==He||t[85]!==qe||t[86]!==Ye?(Ze=(0,Z.jsxs)(`div`,{className:`jsx-component-chrome`,contentEditable:!1,onMouseDown:Ie,...Le,children:[Re,ze,Be,Ve,He,qe,Ye]}),t[78]=Ie,t[79]=Le,t[80]=Re,t[81]=ze,t[82]=Be,t[83]=Ve,t[84]=He,t[85]=qe,t[86]=Ye,t[87]=Ze):Ze=t[87];let Qe;t[88]!==de||t[89]!==u.emptyChildName||t[90]!==u.hasChildren||t[91]!==u.isSelfClosing||t[92]!==u.name||t[93]!==r||t[94]!==a||t[95]!==oe||t[96]!==O||t[97]!==n.attrs.componentName||t[98]!==n.childCount||t[99]!==_e||t[100]!==re||t[101]!==ie||t[102]!==L||t[103]!==f||t[104]!==I?(Qe=I&&L?(0,Z.jsx)(kf,{asChild:!0,children:(0,Z.jsx)(ez,{label:L.label,Icon:L.Icon,onClick:_e,selected:O})}):(0,Z.jsx)(qB,{resetKey:ie,onError:f,descriptorName:u.name===`*`?`wildcard`:u.name,rawComponentName:n.attrs.componentName??``,children:(0,Z.jsx)(Zv,{value:typeof a==`function`?{editor:r,getPos:()=>{let e=a();return typeof e==`number`?e:void 0},addChild:u.emptyChildName?()=>{let e=u.emptyChildName,t=SS(e),n=oe();r.chain().focus().insertContentAt(n,t).run(),ES(r,n,gS(e))}:null}:null,children:(0,Z.jsx)(de,{...re,children:(0,Z.jsx)(Eu,{className:`component-children ${!u.hasChildren&&n.childCount===0?`min-h-0 m-0 p-0`:``}`,...!u.hasChildren||u.isSelfClosing?{contentEditable:!1}:{}})})})}),t[88]=de,t[89]=u.emptyChildName,t[90]=u.hasChildren,t[91]=u.isSelfClosing,t[92]=u.name,t[93]=r,t[94]=a,t[95]=oe,t[96]=O,t[97]=n.attrs.componentName,t[98]=n.childCount,t[99]=_e,t[100]=re,t[101]=ie,t[102]=L,t[103]=f,t[104]=I,t[105]=Qe):Qe=t[105];let $e;t[106]!==u.emptyChildName||t[107]!==u.name||t[108]!==r||t[109]!==oe||t[110]!==n.childCount?($e=u.emptyChildName&&!(u.name===`Tabs`&&n.childCount>0)&&(()=>{let e=u.emptyChildName;return(0,Z.jsx)(`button`,{type:`button`,contentEditable:!1,className:n.childCount===0?`jsx-empty-child-placeholder`:`jsx-add-child-pill`,onMouseDown:$B,onClick:()=>{let e=u.emptyChildName,t=SS(e),n=oe();r.chain().focus().insertContentAt(n,t).run(),ES(r,n,gS(e))},"data-clipboard-omit":`true`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(o,{id:`7Fkcej`,values:{addChildName:e}})})})})(),t[106]=u.emptyChildName,t[107]=u.name,t[108]=r,t[109]=oe,t[110]=n.childCount,t[111]=$e):$e=t[111];let et;t[112]!==we||t[113]!==u.name||t[114]!==be||t[115]!==he||t[116]!==xe||t[117]!==A||t[118]!==Te||t[119]!==Ee||t[120]!==De||t[121]!==Oe||t[122]!==ke||t[123]!==Ae||t[124]!==je||t[125]!==Me||t[126]!==Ne||t[127]!==Pe||t[128]!==Ze||t[129]!==Qe||t[130]!==$e?(et=(0,Z.jsxs)(we,{className:`jsx-component-wrapper my-2`,"data-jsx-component":``,"data-component-type":Te,"data-align":Ee,"data-selected":De,"data-has-child-selected":Oe,"data-range-selected":ke,"data-selection-origin":A,"data-dragging":Ae,"data-needs-config":je,role:Me,"aria-label":be,tabIndex:Ne,...Pe,"data-component-name":Fe,onClick:he,onKeyDown:xe,children:[Ze,Qe,$e]}),t[112]=we,t[113]=u.name,t[114]=be,t[115]=he,t[116]=xe,t[117]=A,t[118]=Te,t[119]=Ee,t[120]=De,t[121]=Oe,t[122]=ke,t[123]=Ae,t[124]=je,t[125]=Me,t[126]=Ne,t[127]=Pe,t[128]=Ze,t[129]=Qe,t[130]=$e,t[131]=et):et=t[131];let tt;t[132]!==l||t[133]!==N||t[134]!==u.Component||t[135]!==u.displayName||t[136]!==u.name||t[137]!==B||t[138]!==z||t[139]!==r||t[140]!==a||t[141]!==_||t[142]!==re||t[143]!==V?(tt=z&&typeof _==`number`?(0,Z.jsx)(tI,{open:B,onOpenChange:V,initialValue:typeof N[z.propName]==`string`?N[z.propName]:``,language:z.language,title:l({id:`ky9Tuc`,values:{0:u.displayName??u.name}}),renderPreview:e=>{let t=u.Component;return(0,Z.jsx)(`div`,{className:`flex h-full w-full items-center justify-center p-4`,children:(0,Z.jsx)(t,{...re,[z.propName]:e,...u.name===`MermaidFence`&&{className:`border-0 bg-transparent rounded-none`}})})},onSave:e=>{let t=typeof a==`function`?a():void 0;if(typeof t!=`number`)return;let n=r.state.doc.nodeAt(t);if(!n)return;let i=XB(n.attrs);if(i)try{let n={...i.props,[z.propName]:e},a={...i,props:n,sourceDirty:!0};r.view.dispatch(r.state.tr.setNodeMarkup(t,null,a))}catch(e){let t=e;if(!(t instanceof RangeError))throw t;console.warn(`[JsxComponentView] edit-save failed — position race`,t)}}}):null,t[132]=l,t[133]=N,t[134]=u.Component,t[135]=u.displayName,t[136]=u.name,t[137]=B,t[138]=z,t[139]=r,t[140]=a,t[141]=_,t[142]=re,t[143]=V,t[144]=tt):tt=t[144];let nt;t[145]!==u||t[146]!==r||t[147]!==a||t[148]!==M||t[149]!==R||t[150]!==W||t[151]!==me||t[152]!==h||t[153]!==I?(nt=M&&(0,Z.jsxs)(Of,{side:I?`bottom`:`right`,align:I?`center`:`start`,sideOffset:I?-4:8,className:`w-64 p-3 z-60 overflow-y-auto subtle-scrollbar max-h-(--radix-popper-available-height) overscroll-contain`,onCloseAutoFocus:R?e=>{e.preventDefault(),r.view.focus()}:void 0,children:[(0,Z.jsx)(`div`,{className:`text-xs font-medium text-muted-foreground mb-2`,children:(0,Z.jsx)(o,{id:`Mnavhe`,values:{propPanelDescriptorLabel:me}})}),(0,Z.jsx)(tB,{descriptor:u,values:W,onDismiss:()=>h(!1),onChange:(e,t)=>{let n=typeof a==`function`?a():void 0;if(typeof n!=`number`)return;let i=r.state.doc.nodeAt(n);if(!i)return;let o=XB(i.attrs);if(!o)return;let s={...o.props},c=Array.isArray(i.attrs.attributes)?i.attrs.attributes:[],l=c;t===void 0?(delete s[e],l=c.filter(t=>!(typeof t==`object`&&t&&t.type===`mdxJsxAttribute`&&t.name===e))):s[e]=t,r.view.dispatch(r.state.tr.setNodeMarkup(n,null,{...o,attributes:l,props:s,sourceDirty:!0}))}}),(0,Z.jsx)(`div`,{className:`mt-3 flex justify-end border-t border-border pt-2`,children:(0,Z.jsx)(Yt,{type:`button`,size:`sm`,variant:`ghost`,onClick:()=>h(!1),className:`h-7 px-3 text-xs`,children:(0,Z.jsx)(o,{id:`DPfwMq`})})})]}),t[145]=u,t[146]=r,t[147]=a,t[148]=M,t[149]=R,t[150]=W,t[151]=me,t[152]=h,t[153]=I,t[154]=nt):nt=t[154];let rt;return t[155]!==Ce||t[156]!==Se||t[157]!==p||t[158]!==et||t[159]!==tt||t[160]!==nt?(rt=(0,Z.jsxs)(Ce,{open:p,onOpenChange:Se,children:[et,tt,nt]}),t[155]=Ce,t[156]=Se,t[157]=p,t[158]=et,t[159]=tt,t[160]=nt,t[161]=rt):rt=t[161],rt}function $B(e){return e.stopPropagation()}function eV(e){return e.stopPropagation()}function tV(e){return e.stopPropagation()}function nV(e){return e.stopPropagation()}function rV(e){return e.preventDefault()}function iV(e){return!(`hidden`in e&&e.hidden)&&e.type!==`reactnode`}var aV=g.extend({addOptions(){return{...this.parent?.(),docName:``}},addNodeView(){return Fu(QB)}}),oV={name:`InlineMath`,surface:`canonical`,hasChildren:!1,isSelfClosing:!0,category:`content`,description:`Inline math`,props:[{name:`formula`,type:`string`,required:!0,autoFocus:!0,description:`LaTeX inline math source`}]},sV=(0,Q.lazy)(async()=>{let{default:e}=await n(async()=>{let{default:e}=await import(`./katex-BunQWEOH.js`);return{default:e}},[],import.meta.url);function t(t){let n=(0,$.c)(4),r;n[0]===t.formula?r=n[1]:(r=e.renderToString(t.formula,{displayMode:!1,throwOnError:!1,strict:`ignore`,trust:!1}),n[0]=t.formula,n[1]=r);let i=r,a;return n[2]===i?a=n[3]:(a=(0,Z.jsx)(`span`,{className:`math math-inline`,dangerouslySetInnerHTML:{__html:i}}),n[2]=i,n[3]=a),a}return{default:t}});function cV(){let e=(0,$.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Z.jsx)(`span`,{className:`math math-inline math-placeholder math-placeholder-empty inline-flex items-center gap-1 rounded-sm border border-dashed border-muted-foreground/40 bg-muted/30 px-1.5 py-0.5 text-xs italic text-muted-foreground hover:bg-muted/60 cursor-pointer`,"data-component-type":`math-inline`,children:`f(x)`}),e[0]=t):t=e[0],t}function lV(e){let t=(0,$.c)(2),n;return t[0]===e.formula?n=t[1]:(n=(0,Z.jsx)(`span`,{className:`math math-inline math-placeholder`,"data-component-type":`math-inline`,children:e.formula}),t[0]=e.formula,t[1]=n),n}function uV(e){let t=(0,$.c)(38),{node:n,selected:r,getPos:i,editor:a}=e,s=typeof n.attrs.formula==`string`?n.attrs.formula:``,c=typeof n.attrs.id==`string`?n.attrs.id:void 0,[l,u]=(0,Q.useState)(!1),d=(0,Q.useRef)(!1),f;t[0]!==a.state||t[1]!==i||t[2]!==r?(f=()=>{let e=r&&a.state.selection instanceof Le;e&&!d.current?(TS(typeof i==`function`?i()??0:0),u(!0)):!e&&d.current&&u(!1),d.current=e},t[0]=a.state,t[1]=i,t[2]=r,t[3]=f):f=t[3];let p;t[4]!==a||t[5]!==i||t[6]!==r?(p=[r,i,a],t[4]=a,t[5]=i,t[6]=r,t[7]=p):p=t[7],(0,Q.useEffect)(f,p);let m=r?`math-inline-selected`:void 0,h;t[8]===c?h=t[9]:(h=c?{id:c}:{},t[8]=c,t[9]=h);let g;t[10]===s?g=t[11]:(g=s?(0,Z.jsx)(QR,{resetKeys:[s],onError:fV,fallbackRender:()=>(0,Z.jsx)(`span`,{className:`math math-inline math-error`,children:s}),children:(0,Z.jsx)(Q.Suspense,{fallback:(0,Z.jsx)(lV,{formula:s}),children:(0,Z.jsx)(sV,{formula:s})})}):(0,Z.jsx)(cV,{}),t[10]=s,t[11]=g);let _;t[12]!==s||t[13]!==h||t[14]!==g?(_=(0,Z.jsx)(Df,{asChild:!0,children:(0,Z.jsx)(`span`,{className:`math-inline-trigger`,"data-component-type":`math-inline`,"data-formula":s,...h,children:g})}),t[12]=s,t[13]=h,t[14]=g,t[15]=_):_=t[15];let v;t[16]===a.view?v=t[17]:(v=e=>{e.preventDefault(),a.view.focus()},t[16]=a.view,t[17]=v);let y;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,Z.jsx)(`div`,{className:`text-xs font-medium text-muted-foreground px-3 pt-2`,children:(0,Z.jsx)(o,{id:`EOjU5V`})}),t[18]=y):y=t[18];let b;t[19]===s?b=t[20]:(b={formula:s},t[19]=s,t[20]=b);let x;t[21]!==a.state||t[22]!==a.view||t[23]!==i?(x=(e,t)=>{let n=typeof i==`function`?i():void 0;if(typeof n!=`number`)return;let r=a.state.doc.nodeAt(n);if(!r||r.type.name!==`mathInline`)return;let o=a.state.tr.setNodeMarkup(n,null,{...r.attrs,[e]:t??``});o.setSelection(Le.create(o.doc,n)),a.view.dispatch(o)},t[21]=a.state,t[22]=a.view,t[23]=i,t[24]=x):x=t[24];let S;t[25]!==x||t[26]!==b?(S=(0,Z.jsx)(tB,{descriptor:oV,values:b,onChange:x}),t[25]=x,t[26]=b,t[27]=S):S=t[27];let C;t[28]!==S||t[29]!==v?(C=(0,Z.jsxs)(Of,{className:`z-[60] w-72 p-0`,side:`bottom`,align:`start`,onOpenAutoFocus:dV,onCloseAutoFocus:v,children:[y,S]}),t[28]=S,t[29]=v,t[30]=C):C=t[30];let w;t[31]!==l||t[32]!==C||t[33]!==_?(w=(0,Z.jsxs)(Ef,{open:l,onOpenChange:u,children:[_,C]}),t[31]=l,t[32]=C,t[33]=_,t[34]=w):w=t[34];let T;return t[35]!==w||t[36]!==m?(T=(0,Z.jsx)(Du,{as:`span`,className:m,children:w}),t[35]=w,t[36]=m,t[37]=T):T=t[37],T}function dV(e){e.preventDefault()}function fV(e,t){let n=e instanceof Error?e:Error(String(e));console.warn(JSON.stringify({event:`jsx-render-failure`,component:`mathInline`,rawComponentName:`mathInline`,error:String(n),stack:t.componentStack})),D(`mathInline`)}var pV=ft.extend({addNodeView(){return Fu(uV)}});function mV(e,t){if(!e.selection.empty)return null;let n=t===`up`||t===`left`?-1:1,r=e.selection.$head,i=n>0?r.after():r.before();if(typeof i!=`number`)return null;let a=tt.near(e.doc.resolve(i),n);return a.$head?.parent.type.name===`rawMdxFallback`?a:null}function hV(e,t){let{state:n,view:r}=e;if(!r.endOfTextblock(t))return!1;let i=mV(n,t);return i?(r.dispatch(n.tr.setSelection(i)),!0):!1}var gV=St.extend({addKeyboardShortcuts(){return{ArrowLeft:({editor:e})=>hV(e,`left`),ArrowRight:({editor:e})=>hV(e,`right`),ArrowUp:({editor:e})=>hV(e,`up`),ArrowDown:({editor:e})=>hV(e,`down`)}},addNodeView(){return Fu(JF,{stopEvent:()=>!0,ignoreMutation:()=>!0})}});function _V(e){let t=(0,$.c)(51),{items:n,selectedIndex:r,categoryLabels:i,onSelect:a,onHoverIndex:c}=e,l=(0,Q.useRef)(null),u=(0,Q.useId)(),{_:d}=s(),f=r>=0&&r<n.length?`${u}-option-${r}`:void 0,p=yV,m,h;if(t[0]===r?(m=t[1],h=t[2]):(m=()=>{let e=l.current;if(!e)return;let t=e.querySelectorAll(`[role="option"]`).item(r);t&&t.scrollIntoView({block:`nearest`})},h=[r],t[0]=r,t[1]=m,t[2]=h),(0,Q.useEffect)(m,h),n.length===0){let e;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(e={maxHeight:`var(--suggestion-menu-max-height, 40vh)`},t[3]=e):e=t[3];let n;return t[4]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`div`,{ref:l,role:`status`,"aria-live":`polite`,className:`w-56 rounded-lg border bg-popover p-2 shadow-md text-sm text-muted-foreground`,style:e,onMouseDown:p,children:(0,Z.jsx)(o,{id:`Ev2r9A`})}),t[4]=n):n=t[4],n}let g,_,v,y,b,x,S,C,w,T,E,D,O;if(t[5]!==d||t[6]!==f||t[7]!==i||t[8]!==n||t[9]!==u||t[10]!==c||t[11]!==a||t[12]!==r){let e=[],o=0,s=new Map;for(let t of n){s.set(t,o++);let n=e.find(e=>e.key===t.category);n?n.items.push(t):e.push({key:t.category,items:[t]})}_=r>=0&&r<n.length?n[r]:null;let m;t[26]===n?m=t[27]:(m=n.some(vV),t[26]=n,t[27]=m),g=m,x=`flex items-start gap-2`,S=l,C=`listbox`,t[28]===d?w=t[29]:(w=d({id:`RlCInP`}),t[28]=d,t[29]=w),T=f,E=-1,D=p,O=`w-56 overflow-y-auto subtle-scrollbar rounded-lg border bg-popover p-1 shadow-md`,t[30]===Symbol.for(`react.memo_cache_sentinel`)?(v={maxHeight:`var(--suggestion-menu-max-height, 40vh)`},t[30]=v):v=t[30];let h=_?`${_.label}${_.preview?`. ${_.preview.description}`:``}`:``;t[31]===h?y=t[32]:(y=(0,Z.jsx)(`span`,{className:`sr-only`,"aria-live":`polite`,"aria-atomic":`true`,children:h}),t[31]=h,t[32]=y),b=e.map(e=>(0,Z.jsxs)(`div`,{role:`group`,"aria-labelledby":`${u}-group-${e.key}`,children:[(0,Z.jsx)(`div`,{id:`${u}-group-${e.key}`,className:`px-2 py-1.5 text-xs font-semibold text-muted-foreground`,children:i[e.key]??e.key}),e.items.map(e=>{let t=s.get(e)??0,n=t===r,i=e.icon;return(0,Z.jsxs)(`button`,{id:`${u}-option-${t}`,type:`button`,role:`option`,"aria-selected":n,"data-selected":n,className:`flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm text-left ${n?`bg-accent text-accent-foreground`:``}`,onMouseEnter:()=>c?.(t),onMouseDown:t=>{t.preventDefault(),a(e)},children:[(0,Z.jsx)(i,{className:`size-4 shrink-0 text-muted-foreground`}),(0,Z.jsx)(`div`,{className:`flex flex-col min-w-0`,children:(0,Z.jsx)(`span`,{className:`truncate`,children:e.label})})]},e.name)})]},e.key)),t[5]=d,t[6]=f,t[7]=i,t[8]=n,t[9]=u,t[10]=c,t[11]=a,t[12]=r,t[13]=g,t[14]=_,t[15]=v,t[16]=y,t[17]=b,t[18]=x,t[19]=S,t[20]=C,t[21]=w,t[22]=T,t[23]=E,t[24]=D,t[25]=O}else g=t[13],_=t[14],v=t[15],y=t[16],b=t[17],x=t[18],S=t[19],C=t[20],w=t[21],T=t[22],E=t[23],D=t[24],O=t[25];let k;t[33]!==v||t[34]!==y||t[35]!==b||t[36]!==S||t[37]!==C||t[38]!==w||t[39]!==T||t[40]!==E||t[41]!==D||t[42]!==O?(k=(0,Z.jsxs)(`div`,{ref:S,role:C,"aria-label":w,"aria-activedescendant":T,tabIndex:E,onMouseDown:D,className:O,style:v,children:[y,b]}),t[33]=v,t[34]=y,t[35]=b,t[36]=S,t[37]=C,t[38]=w,t[39]=T,t[40]=E,t[41]=D,t[42]=O,t[43]=k):k=t[43];let A;t[44]!==g||t[45]!==_?(A=g?(0,Z.jsx)(`aside`,{"aria-hidden":`true`,onMouseDown:p,className:`w-64 rounded-lg border bg-popover p-2 shadow-md ${_?.preview?``:`invisible`}`,children:_?.preview?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`div`,{className:`mb-2 flex aspect-5/3 items-center justify-center overflow-hidden rounded-md bg-muted/40 p-3 *:max-h-full *:max-w-full [&_img]:size-full [&_img]:rounded-md [&_img]:object-contain`,children:_.preview.render()}),(0,Z.jsx)(`p`,{className:`line-clamp-3 px-1 pb-1 text-xs text-muted-foreground`,children:_.preview.description})]}):null}):null,t[44]=g,t[45]=_,t[46]=A):A=t[46];let j;return t[47]!==x||t[48]!==k||t[49]!==A?(j=(0,Z.jsxs)(`div`,{className:x,children:[k,A]}),t[47]=x,t[48]=k,t[49]=A,t[50]=j):j=t[50],j}function vV(e){return e.preview}function yV(e){return e.preventDefault()}var bV=new lt(`slashCommand`),xV=ge.create({name:`slashCommand`,addOptions(){return{itemsSources:[zS],categoryLabels:{basic:`Basic blocks`,insert:`Insert`}}},addProseMirrorPlugins(){let e=this;return[Wu({editor:this.editor,pluginKey:bV,char:`/`,startOfLine:!1,allow:({editor:e})=>!Zu(e),items:({query:t})=>{let n=e.options.itemsSources.flatMap(e=>{try{return e()}catch(e){return console.error(`[slash-command] item source threw an error`,e),[]}}),r=Object.keys(e.options.categoryLabels),i=e=>{let t=r.indexOf(e);return t===-1?1/0:t};return BS(n.map((e,t)=>({item:e,i:t})).sort((e,t)=>{let n=i(e.item.category)-i(t.item.category);return n===0?e.i-t.i:n}).map(e=>e.item),t)},command:({editor:e,range:t,props:n})=>{try{e.chain().focus().deleteRange(t).run()}catch(e){console.error(`[slash-command] deleteRange failed for "${n.name}"`,e);return}try{n.command(e)}catch(e){console.error(`[slash-command] command "${n.name}" threw an error`,e)}},render:()=>{let t=null,n=null,r=0,i={popup:null,stopAutoUpdate:null},a=null,o=e=>{e!==r&&(r=e,s())},s=()=>{!t||!n||t.updateProps({items:n.items,selectedIndex:r,categoryLabels:e.options.categoryLabels,onSelect:n.command,onHoverIndex:o})};return{onStart(s){n=s,r=0;let c=Qu(()=>n,`slash-command`);i.popup=c.popup,a=c.doPosition,t=new Nu(_V,{props:{items:s.items,selectedIndex:r,categoryLabels:e.options.categoryLabels,onSelect:s.command,onHoverIndex:o},editor:s.editor}),c.popup.appendChild(t.element),i.stopAutoUpdate=c.startAutoUpdate(),c.reveal()},onUpdate(e){n=e,r=Math.min(r,Math.max(0,e.items.length-1)),s(),a?.()},onKeyDown({event:e}){if(!n||n.items.length===0)return!1;let t=n.items;if(e.key===`ArrowDown`)return r=(r+1)%t.length,s(),!0;if(e.key===`ArrowUp`)return r=(r-1+t.length)%t.length,s(),!0;if(e.key===`Enter`||e.key===`Tab`){let e=t[r];return e&&n.command(e),!0}return e.key,!1},onExit(){$u(i),a=null,t?.destroy(),t=null,n=null,r=0}}}})]}}),SV=new lt(`sourceDirty`),CV=ge.create({name:`sourceDirtyObserver`,addProseMirrorPlugins(){return[new Ve({key:SV,appendTransaction(e,t,n){if(!e.some(e=>!e.getMeta(Ap))||!e.some(e=>e.docChanged))return null;let r=new Ee;for(let t of e)r.appendMapping(t.mapping);let i=r.invert(),a=[];if(n.doc.descendants((e,n)=>{if(e.type.name!==`jsxComponent`||e.attrs.sourceDirty)return;let r=i.map(n),o=t.doc.nodeAt(r),s=!o||o.type.name!==`jsxComponent`,c=typeof e.attrs.sourceRaw==`string`&&e.attrs.sourceRaw.length>0;if(s&&c)return;if(!o){(e.content.size>0||Object.keys(e.attrs.props??{}).length>0)&&a.push({pos:n});return}if(o.type.name!==`jsxComponent`){a.push({pos:n});return}let l=!wV(o.attrs.props,e.attrs.props),u=!o.content.eq(e.content);(l||u)&&a.push({pos:n})}),a.length===0)return null;let o=n.tr;for(let{pos:e}of a)o.setNodeAttribute(e,`sourceDirty`,!0);return o}})]}});function wV(e,t){if(Object.is(e,t))return!0;if(e==null||t==null||typeof e!=typeof t||typeof e!=`object`)return!1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!wV(e[n],t[n]))return!1;return!0}let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!wV(e[r],t[r]))return!1;return!0}var TV=ge.create({name:`tabFocusTrap`,priority:1,addKeyboardShortcuts(){return{Tab:()=>!0,"Shift-Tab":()=>!0}}});function EV(e,t){let n=e.doc.nodeAt(t);if(!n||n.type.name!==`table`)return null;let r=I.get(n);return{map:r,tableStart:t+1,table:n,left:0,top:0,right:r.width,bottom:r.height}}function DV(e,t){let n=EV(e,t);return n?V(e.tr,n,n.map.width):null}function OV(e,t){let n=EV(e,t);return n?ce(e.tr,n,n.map.height):null}function kV(e,t){if(!e.dom.contains(t))return null;let n;try{n=e.posAtDOM(t,0)}catch{return null}return n<0?null:zt(e.state.doc.resolve(n))?.pos??null}var AV=`<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/><path d="M12 5v14"/></svg>`;function jV(e,t){let n=document.createElement(`button`);return n.type=`button`,n.className=`ok-table-insert-bar ok-table-insert-${e}`,n.setAttribute(`aria-label`,t),n.tabIndex=-1,n.setAttribute(yT,`true`),n.innerHTML=AV,n.addEventListener(`mousedown`,e=>{e.preventDefault(),e.stopPropagation()}),n}var MV=class{overlays=new Map;mount;lastEditable;constructor(e,t){this.view=e,this.editor=t,this.mount=e.dom.parentElement??e.dom,this.lastEditable=t.isEditable,this.reconcile()}update(e,t){let n=this.editor.isEditable!==this.lastEditable;this.lastEditable=this.editor.isEditable,!(!n&&t.doc.eq(this.view.state.doc))&&this.reconcile()}destroy(){for(let e of this.overlays.keys())this.removeOverlay(e)}reconcile(){if(!this.editor.isEditable){this.destroy();return}let e=new Set(this.view.dom.querySelectorAll(`.tableWrapper`));for(let t of this.overlays.keys())e.has(t)||this.removeOverlay(t);for(let t of e)this.overlays.has(t)||this.addOverlay(t)}addOverlay(e){let t=document.createElement(`div`);t.className=`ok-table-insert-controls`,t.setAttribute(yT,`true`);let n=jV(`column`,`Add column`),r=jV(`row`,`Add row`);n.addEventListener(`click`,()=>this.insert(e,DV)),r.addEventListener(`click`,()=>this.insert(e,OV)),t.append(n,r),this.mount.appendChild(t);let i=Ir(e,t,()=>{let{width:t,height:i}=e.getBoundingClientRect();Br(e,n,{strategy:`absolute`,placement:`right-start`}).then(({x:e,y:t})=>{n.style.left=`${e}px`,n.style.top=`${t}px`,n.style.height=`${i}px`}).catch(()=>{}),Br(e,r,{strategy:`absolute`,placement:`bottom-start`}).then(({x:e,y:n})=>{r.style.left=`${e}px`,r.style.top=`${n}px`,r.style.width=`${t}px`}).catch(()=>{})}),a=e=>{let t=e.target instanceof Element?e.target.closest(`td, th`):null,i=t?.parentElement;n.classList.toggle(`is-active`,!!t&&t===i?.lastElementChild),r.classList.toggle(`is-active`,!!i&&i===i.parentElement?.lastElementChild)},o=()=>{n.classList.remove(`is-active`),r.classList.remove(`is-active`)};e.addEventListener(`pointerover`,a),e.addEventListener(`pointerleave`,o),this.overlays.set(e,{container:t,cleanup:()=>{i(),e.removeEventListener(`pointerover`,a),e.removeEventListener(`pointerleave`,o),t.remove()}})}removeOverlay(e){let t=this.overlays.get(e);t&&(t.cleanup(),this.overlays.delete(e))}insert(e,t){let n=e.querySelector(`table`);if(!n)return;let r=kV(this.view,n);if(r===null)return;let i=t(this.view.state,r);i&&(this.view.dispatch(i),this.view.focus())}},NV=ge.create({name:`tableInsertControls`,addProseMirrorPlugins(){let e=this.editor;return[new Ve({key:new lt(`tableInsertControls`),view:t=>new MV(t,e)})]}}),PV=`ok:tag-click`;function FV(e){if(typeof document>`u`)return;let t={value:e};document.dispatchEvent(new CustomEvent(PV,{detail:t}))}function IV(e){return e instanceof Element?e.closest(`a[data-tag]`):null}var LV=ge.create({name:`tagClick`,addProseMirrorPlugins(){return[new Ve({props:{handleDOMEvents:{click(e,t){let n=IV(t.target);if(!n)return!1;let r=n.getAttribute(`data-tag`);return r?(t.preventDefault(),t.stopPropagation(),FV(r),!0):!1}}}})]}});function RV(e,t,n){if(typeof t!=`number`||!n||!se.test(n))return!1;let{state:r,view:i}=e,a=r.doc.nodeAt(t);if(!a||a.type.name!==`tag`)return!1;let o=r.tr.setNodeMarkup(t,null,{...a.attrs,value:n}),s=t+a.nodeSize;return o.insertText(` `,s),o.setSelection(Ue.create(o.doc,s+1)),i.dispatch(o),i.focus(),!0}function zV(e,t){if(typeof t!=`number`)return;let{state:n,view:r}=e,i=n.doc.nodeAt(t);if(!i||i.type.name!==`tag`)return;let a=n.tr.delete(t,t+i.nodeSize);r.dispatch(a),r.focus()}function BV(e){let t=(0,$.c)(3),{value:n}=e,r=`#tag/${n}`,i;return t[0]!==r||t[1]!==n?(i=(0,Z.jsxs)(`a`,{className:`tag`,"data-tag":n,href:r,children:[`#`,n]}),t[0]=r,t[1]=n,t[2]=i):i=t[2],i}function VV(e){let t=(0,$.c)(20),{initialDraft:n,onCommit:r,onCancel:i}=e,{_:a}=s(),o=(0,Q.useRef)(null),[c,l]=(0,Q.useState)(n),u=(0,Q.useRef)(!1),d,f;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(d=()=>{let e=requestAnimationFrame(()=>{o.current?.focus()});return()=>cancelAnimationFrame(e)},f=[],t[0]=d,t[1]=f):(d=t[0],f=t[1]),(0,Q.useEffect)(d,f);let p;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,Z.jsx)(`span`,{"aria-hidden":`true`,className:`font-mono`,children:`#`}),t[2]=p):p=t[2];let m=Math.max(c.length,8),h;t[3]===a?h=t[4]:(h=a({id:`U2pMtf`}),t[3]=a,t[4]=h);let g;t[5]===a?g=t[6]:(g=a({id:`knjOzA`}),t[5]=a,t[6]=g);let _;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(_=e=>{let t=e.target.value;(t===``||se.test(t))&&l(t)},t[7]=_):_=t[7];let v,y;t[8]!==c||t[9]!==i||t[10]!==r?(v=e=>{e.key===`Enter`||e.key===` `?(e.preventDefault(),u.current=!0,r(c)||(u.current=!1,i())):(e.key===`Escape`||e.key===`Backspace`&&c===``)&&(e.preventDefault(),i())},y=()=>{if(!u.current){if(c===``){i();return}se.test(c)?r(c):i()}},t[8]=c,t[9]=i,t[10]=r,t[11]=v,t[12]=y):(v=t[11],y=t[12]);let b;return t[13]!==c||t[14]!==m||t[15]!==h||t[16]!==g||t[17]!==v||t[18]!==y?(b=(0,Z.jsxs)(`span`,{className:`tag tag-placeholder inline-flex items-center rounded-sm border border-dashed border-muted-foreground/40 bg-muted/30 px-1.5 py-0.5 text-xs text-muted-foreground`,"data-component-type":`tag-placeholder`,children:[p,(0,Z.jsx)(`input`,{ref:o,type:`text`,value:c,size:m,placeholder:h,"aria-label":g,spellCheck:!1,autoCorrect:`off`,autoCapitalize:`off`,className:`bg-transparent border-0 p-0 outline-none focus:outline-none focus:ring-0 text-inherit font-inherit`,onChange:_,onKeyDown:v,onBlur:y})]}),t[13]=c,t[14]=m,t[15]=h,t[16]=g,t[17]=v,t[18]=y,t[19]=b):b=t[19],b}function HV(e){let t=(0,$.c)(5),{node:n,getPos:r,editor:i}=e,a=typeof n.attrs.value==`string`?n.attrs.value:``;if(a===``){let e;return t[0]!==i||t[1]!==r?(e=(0,Z.jsx)(Du,{as:`span`,children:(0,Z.jsx)(VV,{initialDraft:``,onCommit:e=>RV(i,typeof r==`function`?r():void 0,e),onCancel:()=>zV(i,typeof r==`function`?r():void 0)})}),t[0]=i,t[1]=r,t[2]=e):e=t[2],e}let o;return t[3]===a?o=t[4]:(o=(0,Z.jsx)(Du,{as:`span`,children:(0,Z.jsx)(BV,{value:a})}),t[3]=a,t[4]=o),o}var UV=de.extend({priority:200,addNodeView(){return Fu(HV)},addKeyboardShortcuts(){return{Backspace:()=>{if(ed.getState(this.editor.state)?.active)return!1;let{selection:e}=this.editor.state;if(!e.empty)return!1;let t=e.$from.nodeBefore;if(t?.type.name===`tag`){let{state:n,view:r}=this.editor;return r.dispatch(n.tr.delete(e.from-t.nodeSize,e.from)),!0}return!1},Delete:()=>{if(ed.getState(this.editor.state)?.active)return!1;let{selection:e}=this.editor.state;if(!e.empty)return!1;let t=e.$from.nodeAfter;if(t?.type.name===`tag`){let{state:n,view:r}=this.editor;return r.dispatch(n.tr.delete(e.from,e.from+t.nodeSize)),!0}return!1}}},addProseMirrorPlugins(){return[sd(this.editor)]}}),WV=2048,GV=24;function KV(e){if(typeof e!=`string`)return{kind:`unsupported`,value:``};let t=e.trim();if(t===``||t.length>WV)return{kind:`unsupported`,value:``};if(YV(t))return{kind:`emoji`,value:t};let n=XV(t);return n===`url`?{kind:`url`,value:t}:n===`path`?{kind:`path`,value:S(`/api/asset?path=${encodeURIComponent(JV(t))}`)}:{kind:`unsupported`,value:``}}function qV(e){if(typeof e!=`string`)return{kind:`unsupported`,value:``};let t=e.trim();if(t===``||t.length>WV)return{kind:`unsupported`,value:``};let n=XV(t);return n===`url`?{kind:`url`,value:t}:n===`path`?{kind:`path`,value:S(`/api/asset?path=${encodeURIComponent(JV(t))}`)}:{kind:`unsupported`,value:``}}function JV(e){return e.startsWith(`/`)?e.slice(1):e}function YV(e){if(/\p{L}/u.test(e)||e.includes(`/`))return!1;let t=0;for(let n of e)t++;if(t>GV)return!1;let n=e.lastIndexOf(`.`);if(n>-1){let t=e.slice(n+1).toLowerCase();if(ne.has(t))return!1}return!0}function XV(e){let t=ZV(e);if(!t||!ne.has(t))return`unsupported`;let n=e.indexOf(`:`),r=e.indexOf(`/`);return n>-1&&(r===-1||n<r)?pt(e)?`url`:`unsupported`:e.startsWith(`//`)||e.includes(`?`)||e.includes(`#`)||e.startsWith(`../`)||e.includes(`/../`)?`unsupported`:`path`}function ZV(e){let t=e.lastIndexOf(`/`),n=t>-1?e.slice(t+1):e,r=n.search(/[?#]/),i=r>-1?n.slice(0,r):n,a=i.lastIndexOf(`.`);return a<=0||a===i.length-1?null:i.slice(a+1).toLowerCase()}function QV(e){let t=(0,$.c)(133),{open:n,target:r,alias:i,anchor:a,pages:c,assetPaths:l,filePaths:u,loading:d,onOpenChange:f,onSave:p}=e,[m,h]=(0,Q.useState)(r),[g,_]=(0,Q.useState)(i??``),[v,y]=(0,Q.useState)(a??``),b=(0,Q.useId)(),x=(0,Q.useId)(),S=(0,Q.useId)(),C=(0,Q.useId)(),{_:w}=s(),T;t[0]!==l||t[1]!==m||t[2]!==u?(T=$_(m,l,u),t[0]=l,t[1]=m,t[2]=u,t[3]=T):T=t[3];let E=T,D;t[4]!==l||t[5]!==m||t[6]!==u||t[7]!==c?(D=ev(m,c,l,u),t[4]=l,t[5]=m,t[6]=u,t[7]=c,t[8]=D):D=t[8];let O=BR(m,D&&!E&&n),k=(0,Q.useRef)(!1),A,j;t[9]!==i||t[10]!==a||t[11]!==n||t[12]!==r?(A=()=>{if(!n){k.current=!1;return}k.current||(k.current=!0,h(r),_(i??``),y(a??``))},j=[n,r,i,a],t[9]=i,t[10]=a,t[11]=n,t[12]=r,t[13]=A,t[14]=j):(A=t[13],j=t[14]),(0,Q.useEffect)(A,j);let M;t[15]!==g||t[16]!==v||t[17]!==m||t[18]!==f||t[19]!==p?(M=function(){let e=m.trim();e&&(p(e,g.trim()||null,v.trim()||null),f(!1))},t[15]=g,t[16]=v,t[17]=m,t[18]=f,t[19]=p,t[20]=M):M=t[20];let N=M,P;t[21]===N?P=t[22]:(P=function(e){e.key===`Enter`&&(e.preventDefault(),N())},t[21]=N,t[22]=P);let F=P,I;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(I=function(e){h(e.path),y(``)},t[23]=I):I=t[23];let L=I,R,ee,z,B,te,V,H,U,W,ne,G,K,re,ie,ae,oe,q;if(t[24]!==w||t[25]!==S||t[26]!==x||t[27]!==l||t[28]!==g||t[29]!==v||t[30]!==m||t[31]!==F||t[32]!==C||t[33]!==O||t[34]!==d||t[35]!==f||t[36]!==n||t[37]!==c||t[38]!==b){let e=new Map,r=O?.map(t=>{let n=e.get(t.slug)??0;e.set(t.slug,n+1);let r=n===0?t.slug:`${t.slug}-${n}`;return{...t,reactKey:r}}),i=!!r?.length;z=ui,ie=n,ae=f,ee=ni,U=`sm:max-w-xl`,W=``,ne=SR,G=SR,K=SR;let a;t[56]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Z.jsx)(Zr,{children:(0,Z.jsx)(o,{id:`xzktOa`})}),t[56]=a):a=t[56],t[57]===Symbol.for(`react.memo_cache_sentinel`)?(re=(0,Z.jsxs)(li,{children:[a,(0,Z.jsx)(Xr,{children:(0,Z.jsx)(o,{id:`Jhj_lh`})})]}),t[57]=re):re=t[57],R=ai,te=`space-y-6`;let s;t[58]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,Z.jsx)(o,{id:`lGs_bQ`,components:{0:(0,Z.jsx)(`span`,{className:`text-red-500`})}}),t[58]=s):s=t[58];let u;t[59]===b?u=t[60]:(u=(0,Z.jsx)(`label`,{className:`mb-1.5 block text-sm font-medium`,htmlFor:b,children:s}),t[59]=b,t[60]=u);let p;t[61]===w?p=t[62]:(p=w({id:`aM23Wr`}),t[61]=w,t[62]=p);let T;t[63]!==l||t[64]!==m||t[65]!==F||t[66]!==d||t[67]!==c||t[68]!==p||t[69]!==b?(T=(0,Z.jsx)(TR,{id:b,value:m,pages:c,assetPaths:l,includeAssets:!0,loading:d,onValueChange:h,onSuggestionSelect:L,placeholder:p,autoFocus:!0,"aria-required":`true`,onKeyDown:F}),t[63]=l,t[64]=m,t[65]=F,t[66]=d,t[67]=c,t[68]=p,t[69]=b,t[70]=T):T=t[70],t[71]!==u||t[72]!==T?(V=(0,Z.jsxs)(`div`,{children:[u,T]}),t[71]=u,t[72]=T,t[73]=V):V=t[73];let E;t[74]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,Z.jsx)(o,{id:`OTF92M`,components:{0:(0,Z.jsx)(`span`,{className:`font-normal text-muted-foreground`})}}),t[74]=E):E=t[74];let D;t[75]===S?D=t[76]:(D=(0,Z.jsx)(`label`,{className:`mb-1.5 block text-sm font-medium`,htmlFor:S,children:E}),t[75]=S,t[76]=D);let k;t[77]===Symbol.for(`react.memo_cache_sentinel`)?(k=e=>_(e.target.value),t[77]=k):k=t[77];let A;t[78]===w?A=t[79]:(A=w({id:`BH56dn`}),t[78]=w,t[79]=A);let j;t[80]!==S||t[81]!==g||t[82]!==F||t[83]!==A?(j=(0,Z.jsx)(mi,{id:S,value:g,onChange:k,placeholder:A,onKeyDown:F}),t[80]=S,t[81]=g,t[82]=F,t[83]=A,t[84]=j):j=t[84],t[85]!==D||t[86]!==j?(H=(0,Z.jsxs)(`div`,{children:[D,j]}),t[85]=D,t[86]=j,t[87]=H):H=t[87];let M;t[88]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,Z.jsx)(o,{id:`Tjc1pH`,components:{0:(0,Z.jsx)(`span`,{className:`font-normal text-muted-foreground`})}}),t[88]=M):M=t[88],t[89]===x?oe=t[90]:(oe=(0,Z.jsx)(`label`,{className:`mb-1.5 block text-sm font-medium`,htmlFor:x,children:M}),t[89]=x,t[90]=oe);let N;t[91]===Symbol.for(`react.memo_cache_sentinel`)?(N=e=>y(e.target.value),t[91]=N):N=t[91];let P;t[92]===w?P=t[93]:(P=w({id:`W-ntoW`}),t[92]=w,t[93]=P),t[94]!==x||t[95]!==v||t[96]!==F||t[97]!==P?(q=(0,Z.jsx)(mi,{id:x,value:v,onChange:N,placeholder:P,onKeyDown:F}),t[94]=x,t[95]=v,t[96]=F,t[97]=P,t[98]=q):q=t[98],B=i&&(0,Z.jsx)(`div`,{id:C,className:`mt-1.5 max-h-36 overflow-y-auto subtle-scrollbar rounded-md border border-border bg-muted/30`,children:r.map(e=>(0,Z.jsxs)(`button`,{type:`button`,"aria-pressed":v===e.slug,className:Gt(`flex w-full items-center gap-2 px-2 py-1 text-left text-sm hover:bg-accent hover:text-accent-foreground`,v===e.slug&&`bg-accent text-accent-foreground`),style:{paddingLeft:`${(e.level-1)*12+8}px`},onClick:()=>y(v===e.slug?``:e.slug),children:[(0,Z.jsxs)(`span`,{className:`w-7 shrink-0 font-mono text-[10px] text-muted-foreground`,children:[`H`,e.level]}),(0,Z.jsx)(`span`,{className:`truncate`,children:e.text})]},e.reactKey))}),t[24]=w,t[25]=S,t[26]=x,t[27]=l,t[28]=g,t[29]=v,t[30]=m,t[31]=F,t[32]=C,t[33]=O,t[34]=d,t[35]=f,t[36]=n,t[37]=c,t[38]=b,t[39]=R,t[40]=ee,t[41]=z,t[42]=B,t[43]=te,t[44]=V,t[45]=H,t[46]=U,t[47]=W,t[48]=ne,t[49]=G,t[50]=K,t[51]=re,t[52]=ie,t[53]=ae,t[54]=oe,t[55]=q}else R=t[39],ee=t[40],z=t[41],B=t[42],te=t[43],V=t[44],H=t[45],U=t[46],W=t[47],ne=t[48],G=t[49],K=t[50],re=t[51],ie=t[52],ae=t[53],oe=t[54],q=t[55];let se;t[99]!==B||t[100]!==oe||t[101]!==q?(se=(0,Z.jsxs)(`div`,{children:[oe,q,B]}),t[99]=B,t[100]=oe,t[101]=q,t[102]=se):se=t[102];let ce;t[103]!==te||t[104]!==V||t[105]!==H||t[106]!==se?(ce=(0,Z.jsxs)(`div`,{className:te,children:[V,H,se]}),t[103]=te,t[104]=V,t[105]=H,t[106]=se,t[107]=ce):ce=t[107];let le;t[108]!==R||t[109]!==ce?(le=(0,Z.jsx)(R,{children:ce}),t[108]=R,t[109]=ce,t[110]=le):le=t[110];let ue;t[111]===Symbol.for(`react.memo_cache_sentinel`)?(ue=(0,Z.jsx)(ci,{asChild:!0,children:(0,Z.jsx)(Yt,{variant:`outline`,children:(0,Z.jsx)(o,{id:`dEgA5A`})})}),t[111]=ue):ue=t[111];let de;t[112]===m?de=t[113]:(de=m.trim(),t[112]=m,t[113]=de);let fe=!de,pe;t[114]===Symbol.for(`react.memo_cache_sentinel`)?(pe=(0,Z.jsx)(o,{id:`tfDRzk`}),t[114]=pe):pe=t[114];let me;t[115]!==N||t[116]!==fe?(me=(0,Z.jsxs)(oi,{children:[ue,(0,Z.jsx)(Yt,{onClick:N,disabled:fe,children:pe})]}),t[115]=N,t[116]=fe,t[117]=me):me=t[117];let he;t[118]!==ee||t[119]!==U||t[120]!==W||t[121]!==ne||t[122]!==G||t[123]!==K||t[124]!==re||t[125]!==le||t[126]!==me?(he=(0,Z.jsxs)(ee,{className:U,"data-ok-layer-spawned":W,onPointerDownOutside:ne,onFocusOutside:G,onInteractOutside:K,children:[re,le,me]}),t[118]=ee,t[119]=U,t[120]=W,t[121]=ne,t[122]=G,t[123]=K,t[124]=re,t[125]=le,t[126]=me,t[127]=he):he=t[127];let ge;return t[128]!==z||t[129]!==ie||t[130]!==ae||t[131]!==he?(ge=(0,Z.jsx)(z,{open:ie,onOpenChange:ae,children:he}),t[128]=z,t[129]=ie,t[130]=ae,t[131]=he,t[132]=ge):ge=t[132],ge}function $V(e){let t=(0,$.c)(116),{editor:n,getPos:r,onClose:i,onNavigate:a}=e,c=r(),l=c==null?null:n.state.doc.nodeAt(c),u=String(l?.attrs.target??``),d=gt(l?.attrs.alias),f=gt(l?.attrs.anchor),p=x({target:u,alias:d,anchor:f}),{addPage:m,assetPaths:h,filePaths:g,folderPaths:_,pages:v,pagesBySlug:y,pagesByBasename:b,loading:S}=tn(),C=B(u,f),w=C?.kind===`external`?C:null,T=C?.kind===`asset`?$_(C.url,h,g)??C.url.replace(/^\//,``):null,E=T?null:ZN(u,{pages:v,folderPaths:_,pagesBySlug:y,pagesByBasename:b,fallbackTargets:Y_(u)}),[D,O]=(0,Q.useState)(!1),[k,A]=(0,Q.useState)(!1),{_:j}=s();if(!l)return null;let M;t[0]!==n.state||t[1]!==n.view||t[2]!==r?(M=function(e,t,i){let a=r();a!=null&&n.view.dispatch(n.state.tr.setNodeMarkup(a,void 0,{...n.state.doc.nodeAt(a)?.attrs,target:e,alias:t,anchor:i}))},t[0]=n.state,t[1]=n.view,t[2]=r,t[3]=M):M=t[3];let N=M,P;t[4]!==n.state||t[5]!==n.view||t[6]!==r||t[7]!==i?(P=function(){let e=r();if(e==null)return;let t=n.state.doc.nodeAt(e);t&&(n.view.dispatch(n.state.tr.delete(e,e+t.nodeSize)),i())},t[4]=n.state,t[5]=n.view,t[6]=r,t[7]=i,t[8]=P):P=t[8];let F=P,I=function(e){if(e!==u){let t=r();if(t==null)return;n.view.dispatch(n.state.tr.setNodeMarkup(t,void 0,{...n.state.doc.nodeAt(t)?.attrs,target:e,alias:d??p}))}},L=function(){return E?.kind===`create`?{initialDir:E.initialDir,suggestedName:E.suggestedName}:null},R=async function(){let e=L();if(!(!e||k)){A(!0);try{await uR(e,{addPage:m,onCreated(e){I(e),window.location.hash=`#/${e}`,i()}}),A(!1)}catch(e){let t=e;vr.error(t instanceof Error?t.message:j({id:`tfi40B`})),A(!1)}}},ee=!w&&!S&&T!==null,z=!w&&!S&&E?.kind===`navigate`&&E.displayState===`resolved`,te=!w&&!S&&E?.kind===`navigate`&&E.displayState===`folder`,V=!w&&!S&&!T&&E?.kind===`create`,H=!!w,U=w?sP(w.url)?w.url:null:ee&&T?Ti(T):z&&E?.kind===`navigate`?uP({docName:E.hashDocName,anchor:f}):null,W=!S&&U!==null&&(H||ee||z),ne,G,K,re,ie;if(t[9]!==j||t[10]!==d||t[11]!==f||t[12]!==T||t[13]!==n.state||t[14]!==n.view||t[15]!==w||t[16]!==r||t[17]!==ee||t[18]!==te||t[19]!==z||t[20]!==V||t[21]!==S||t[22]!==u){if(S){let e;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(gr,{className:`size-3.5 shrink-0 animate-spin`,"aria-hidden":`true`}),t[28]=e):e=t[28],K={icon:e,text:j({id:`yQE2r9`}),className:`text-muted-foreground/80`}}else if(w){let e;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(en,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[29]=e):e=t[29],K={icon:e,text:j({id:`hpDtUm`}),className:`text-muted-foreground`}}else if(ee){let e;t[30]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(Za,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[30]=e):e=t[30],K={icon:e,text:j({id:`bUUVED`}),className:`text-muted-foreground`}}else if(te){let e;t[31]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(pr,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[31]=e):e=t[31],K={icon:e,text:j({id:`kNqMMd`}),className:`text-muted-foreground`}}else if(V){let e;t[32]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(Ha,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[32]=e):e=t[32],K={icon:e,text:j({id:`8F1i42`}),className:`text-red-700 dark:text-red-300`}}else if(z){let e;t[33]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(to,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[33]=e):e=t[33],K={icon:e,text:j({id:`Hrz9NY`}),className:`text-muted-foreground`}}else{let e;t[34]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(Ha,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[34]=e):e=t[34],K={icon:e,text:j({id:`DeDYLr`}),className:`text-muted-foreground/80`}}let e;t[35]!==n.state||t[36]!==n.view||t[37]!==r?(e=()=>{let e=r();if(typeof e!=`number`)return new DOMRect;let t=n.state.doc.nodeAt(e);if(!t)return new DOMRect;try{return ht(n.view,e,e+t.nodeSize)}catch{return new DOMRect}},t[35]=n.state,t[36]=n.view,t[37]=r,t[38]=e):e=t[38];let i;t[39]!==n.view.dom||t[40]!==e?(i={getBoundingClientRect:e,contextElement:n.view.dom},t[39]=n.view.dom,t[40]=e,t[41]=i):i=t[41],ie=i,G=T??(w?w.url:`${u}${f?`#${f}`:``}`);let a=f?`${u}#${f}`:u;ne=d?`[[${a}|${d}]]`:`[[${a}]]`,re=Gt(`flex shrink-0`,K.className),t[9]=j,t[10]=d,t[11]=f,t[12]=T,t[13]=n.state,t[14]=n.view,t[15]=w,t[16]=r,t[17]=ee,t[18]=te,t[19]=z,t[20]=V,t[21]=S,t[22]=u,t[23]=ne,t[24]=G,t[25]=K,t[26]=re,t[27]=ie}else ne=t[23],G=t[24],K=t[25],re=t[26],ie=t[27];let ae;t[42]!==K.icon||t[43]!==re?(ae=(0,Z.jsx)(`span`,{className:re,children:K.icon}),t[42]=K.icon,t[43]=re,t[44]=ae):ae=t[44];let oe=ae,q;t[45]!==oe||t[46]!==V||t[47]!==K.text?(q=V?(0,Z.jsxs)(Nr,{children:[(0,Z.jsx)(jr,{asChild:!0,children:(0,Z.jsx)(`span`,{className:`flex shrink-0`,"data-slot":`wiki-link-prop-panel-icon-trigger`,children:oe})}),(0,Z.jsx)(Mr,{children:K.text})]}):oe,t[45]=oe,t[46]=V,t[47]=K.text,t[48]=q):q=t[48];let se=q,ce=`${K.text}: ${G}`,le;t[49]!==G||t[50]!==H||t[51]!==V||t[52]!==U||t[53]!==W||t[54]!==i||t[55]!==a?(le=(0,Z.jsx)(jr,{asChild:!0,children:W?(0,Z.jsx)(`a`,{href:U??void 0,...H?{target:`_blank`,rel:`noopener noreferrer`}:{},onClick:e=>_P(e,a,i),"data-slot":`wiki-link-prop-panel-text`,className:`block truncate text-sm font-medium text-foreground underline-offset-2 hover:underline focus-visible:underline`,children:G}):(0,Z.jsx)(`span`,{"data-slot":`wiki-link-prop-panel-text`,className:Gt(`block truncate text-sm font-medium`,V?`text-muted-foreground`:`text-foreground`),children:G})}),t[49]=G,t[50]=H,t[51]=V,t[52]=U,t[53]=W,t[54]=i,t[55]=a,t[56]=le):le=t[56];let ue;t[57]===G?ue=t[58]:(ue=(0,Z.jsx)(Mr,{className:`max-w-80 break-all`,children:G}),t[57]=G,t[58]=ue);let de;t[59]!==le||t[60]!==ue?(de=(0,Z.jsx)(`div`,{className:`min-w-0 flex-1`,children:(0,Z.jsxs)(Nr,{children:[le,ue]})}),t[59]=le,t[60]=ue,t[61]=de):de=t[61];let fe;t[62]!==R||t[63]!==k||t[64]!==V?(fe=V?(0,Z.jsxs)(Yt,{type:`button`,size:`sm`,variant:`link`,disabled:k,onClick:()=>void R(),"data-slot":`wiki-link-prop-panel-create`,className:`flex items-center text-foreground`,children:[(0,Z.jsx)(To,{className:`size-3.5`,"aria-hidden":`true`}),k?(0,Z.jsx)(o,{id:`HM56Bx`}):(0,Z.jsx)(o,{id:`XRuL0i`})]}):null,t[62]=R,t[63]=k,t[64]=V,t[65]=fe):fe=t[65];let pe;t[66]===j?pe=t[67]:(pe=j({id:`ePK91l`}),t[66]=j,t[67]=pe);let me;t[68]===O?me=t[69]:(me=()=>O(!0),t[68]=O,t[69]=me);let he;t[70]===Symbol.for(`react.memo_cache_sentinel`)?(he=(0,Z.jsx)(dn,{className:`size-3.5`,"aria-hidden":`true`}),t[70]=he):he=t[70];let ge;t[71]!==pe||t[72]!==me?(ge=(0,Z.jsx)(jr,{asChild:!0,children:(0,Z.jsx)(Yt,{type:`button`,size:`icon-sm`,variant:`ghost`,"aria-label":pe,onClick:me,"data-slot":`wiki-link-prop-panel-edit`,children:he})}),t[71]=pe,t[72]=me,t[73]=ge):ge=t[73];let _e;t[74]===Symbol.for(`react.memo_cache_sentinel`)?(_e=(0,Z.jsx)(Mr,{children:(0,Z.jsx)(o,{id:`ePK91l`})}),t[74]=_e):_e=t[74];let ve;t[75]===ge?ve=t[76]:(ve=(0,Z.jsxs)(Nr,{children:[ge,_e]}),t[75]=ge,t[76]=ve);let ye;t[77]===ne?ye=t[78]:(ye=(0,Z.jsx)(NR,{copyContent:ne}),t[77]=ne,t[78]=ye);let be;t[79]===j?be=t[80]:(be=j({id:`t_YqKh`}),t[79]=j,t[80]=be);let xe;t[81]===Symbol.for(`react.memo_cache_sentinel`)?(xe=(0,Z.jsx)(un,{className:`size-3.5`,"aria-hidden":`true`}),t[81]=xe):xe=t[81];let Se;t[82]!==F||t[83]!==be?(Se=(0,Z.jsx)(jr,{asChild:!0,children:(0,Z.jsx)(Yt,{type:`button`,size:`icon-sm`,variant:`ghost`,"aria-label":be,onClick:F,"data-slot":`wiki-link-prop-panel-remove`,children:xe})}),t[82]=F,t[83]=be,t[84]=Se):Se=t[84];let Ce;t[85]===Symbol.for(`react.memo_cache_sentinel`)?(Ce=(0,Z.jsx)(Mr,{children:(0,Z.jsx)(o,{id:`t_YqKh`})}),t[85]=Ce):Ce=t[85];let we;t[86]===Se?we=t[87]:(we=(0,Z.jsxs)(Nr,{children:[Se,Ce]}),t[86]=Se,t[87]=we);let Te;t[88]!==fe||t[89]!==ve||t[90]!==ye||t[91]!==we?(Te=(0,Z.jsxs)(`div`,{className:`flex shrink-0 items-center gap-0.5`,children:[fe,ve,ye,we]}),t[88]=fe,t[89]=ve,t[90]=ye,t[91]=we,t[92]=Te):Te=t[92];let Ee;t[93]!==se||t[94]!==de||t[95]!==Te?(Ee=(0,Z.jsxs)(`div`,{className:`flex items-center gap-2`,children:[se,de,Te]}),t[93]=se,t[94]=de,t[95]=Te,t[96]=Ee):Ee=t[96];let De;t[97]!==i||t[98]!==Ee||t[99]!==ce||t[100]!==ie?(De=(0,Z.jsx)(eR,{kind:`wiki-link`,ariaLabel:ce,onDeactivate:i,triggerReference:ie,className:`w-96`,children:Ee}),t[97]=i,t[98]=Ee,t[99]=ce,t[100]=ie,t[101]=De):De=t[101];let Oe;t[102]!==d||t[103]!==f||t[104]!==h||t[105]!==D||t[106]!==g||t[107]!==N||t[108]!==S||t[109]!==v||t[110]!==O||t[111]!==u?(Oe=(0,Z.jsx)(QV,{open:D,target:u,alias:d,anchor:f,pages:v,assetPaths:h,filePaths:g,loading:S,onOpenChange:O,onSave:N}),t[102]=d,t[103]=f,t[104]=h,t[105]=D,t[106]=g,t[107]=N,t[108]=S,t[109]=v,t[110]=O,t[111]=u,t[112]=Oe):Oe=t[112];let ke;return t[113]!==De||t[114]!==Oe?(ke=(0,Z.jsxs)(Z.Fragment,{children:[De,Oe]}),t[113]=De,t[114]=Oe,t[115]=ke):ke=t[115],ke}var eH=0;function tH(){return`wiki-link-${++eH}`}function nH(e){let t=e.doc??(typeof document<`u`?document:{createElement:null,createTextNode:null}),n=t.createElement(`span`);n.setAttribute(`data-wiki-link`,``),n.setAttribute(`data-node-id`,e.nodeId),n.setAttribute(`data-target`,e.target),n.setAttribute(`data-alias`,e.alias??``),n.setAttribute(`data-anchor`,e.anchor??``),n.setAttribute(`contenteditable`,`false`),n.setAttribute(`role`,`button`),n.setAttribute(`tabindex`,`0`),n.setAttribute(`aria-label`,`Wiki link: ${e.target}${e.anchor?`#${e.anchor}`:``}`),n.classList.add(`wiki-link-chip`),n.style.touchAction=`manipulation`;let r=t.createElement(`span`);r.setAttribute(`data-wiki-link-icon`,``),r.setAttribute(`aria-hidden`,`true`),n.appendChild(r);let i=e.alias??`${e.target}${e.anchor?`#${e.anchor}`:``}`,a=t.createTextNode(i);return n.appendChild(a),{dom:n,iconSpan:r}}function rH(e,t){if(!t||!e)return null;let n=X_(e,t);if(!n)return null;let r=t.pageIcons?.get(n);if(!r)return null;let i=KV(r);return i.kind===`unsupported`?null:i}function iH(e,t,n=document){let r=t?.kind??``,i=t?.value??``;if(e.getAttribute(`data-kind`)===r&&e.getAttribute(`data-value`)===i)return;for(e.setAttribute(`data-kind`,r),e.setAttribute(`data-value`,i);e.firstChild;)e.removeChild(e.firstChild);if(!t)return;if(t.kind===`emoji`){e.appendChild(n.createTextNode(t.value));return}let a=n.createElement(`img`);a.setAttribute(`src`,t.value),a.setAttribute(`alt`,``),a.setAttribute(`draggable`,`false`),a.setAttribute(`referrerpolicy`,`no-referrer`),e.appendChild(a)}var aH=Ze.extend({priority:200,addOptions(){return{...this.parent?.(),docName:``}},addNodeView(){return({editor:e,node:t,getPos:n})=>{let r=tH(),{dom:i,iconSpan:a}=nH({nodeId:r,target:String(t.attrs.target??``),alias:t.attrs.alias==null?null:String(t.attrs.alias),anchor:t.attrs.anchor==null?null:String(t.attrs.anchor)}),o=t,s=()=>{iH(a,rH(String(o.attrs.target??``),rn()))};s();let c=on(s),l=()=>{let e=n();return typeof e==`number`?e:void 0},u=Iv(e),d=({newTab:e})=>{let t=o.attrs,n=typeof t.target==`string`?t.target:``;if(!n)return!1;let r=B(n,typeof t.anchor==`string`?t.anchor:null);if(!r)return!1;if(r.kind===`doc`){let t=rn(),i=ZN(n,{pages:t?.pages??new Set,folderPaths:t?.folderPaths??new Set,pagesBySlug:t?.pagesBySlug,pagesByBasename:t?.pagesByBasename,fallbackTargets:Y_(n)});if(i.kind===`create`||i.kind===`navigate`&&i.displayState===`folder`)return!1;let a=i.kind===`navigate`?i.hashDocName:r.docName;return e?pP({docName:a,anchor:r.anchor}):window.location.assign(uP({docName:a,anchor:r.anchor})),!0}if(r.kind===`asset`){let t=rn(),n=$_(r.url,t?.assetPaths??new Set,t?.filePaths)??r.url.replace(/^\//,``);return e?dP(Ti(n)):window.location.hash=Ti(n),!0}return sP(r.url)?(dP(r.url),!0):!1};return u.register({type:`wikiLink`,nodeId:r,getPos:l,controls:{propPanel:t=>(0,Q.createElement)($V,{editor:e,getPos:l,onClose:t.deactivate,onNavigate:e=>d({newTab:e})})},handlePrimary:d}),{dom:i,ignoreMutation:()=>!0,update:e=>{if(e.type.name!==`wikiLink`)return!1;o=e;let t=String(e.attrs.target??``),n=e.attrs.alias==null?null:String(e.attrs.alias),r=e.attrs.anchor==null?null:String(e.attrs.anchor);i.setAttribute(`data-target`,t),i.setAttribute(`data-alias`,n??``),i.setAttribute(`data-anchor`,r??``),i.setAttribute(`aria-label`,`Wiki link: ${t}${r?`#${r}`:``}`);let a=n??`${t}${r?`#${r}`:``}`,c=i.lastChild;return c&&c.nodeType===3?c.nodeValue=a:i.appendChild(i.ownerDocument.createTextNode(a)),s(),!0},destroy:()=>{u.deregister(r),c()}}}},addKeyboardShortcuts(){return{Backspace:()=>{if(GP.getState(this.editor.state)?.active)return!1;let{selection:e}=this.editor.state;if(!e.empty)return!1;let t=e.$from.nodeBefore;if(t?.type.name===`wikiLink`){let{state:n,view:r}=this.editor;return r.dispatch(n.tr.delete(e.from-t.nodeSize,e.from)),!0}return!1},Delete:()=>{if(GP.getState(this.editor.state)?.active)return!1;let{selection:e}=this.editor.state;if(!e.empty)return!1;let t=e.$from.nodeAfter;if(t?.type.name===`wikiLink`){let{state:n,view:r}=this.editor;return r.dispatch(n.tr.delete(e.from,e.from+t.nodeSize)),!0}return!1}}},addProseMirrorPlugins(){return[gF(this.editor)]}}),oH=0;function sH(){return`wiki-link-embed-${++oH}`}function cH(e){let t=e.doc??(typeof document<`u`?document:{createElement:null,createTextNode:null}),n=t.createElement(`a`);n.setAttribute(`data-wiki-embed`,``),n.setAttribute(`data-node-id`,e.nodeId),n.setAttribute(`data-target`,e.target),n.setAttribute(`data-alias`,e.alias??``),n.setAttribute(`data-anchor`,e.anchor??``),n.setAttribute(`href`,e.href),n.setAttribute(`target`,`_blank`),n.setAttribute(`rel`,`noopener noreferrer`),n.setAttribute(`contenteditable`,`false`),n.setAttribute(`role`,`button`),n.setAttribute(`tabindex`,`0`),n.setAttribute(`aria-label`,`Embed: ${e.target}${e.anchor?`#${e.anchor}`:``}`),n.classList.add(`wiki-link-embed-chip`),n.style.touchAction=`manipulation`;let r=e.alias??`${e.target}${e.anchor?`#${e.anchor}`:``}`,i=t.createTextNode(r);return n.appendChild(i),{dom:n}}function lH(e){let t=(e.doc??(typeof document<`u`?document:{createElement:null})).createElement(`img`);return t.setAttribute(`data-wiki-embed`,``),t.setAttribute(`data-node-id`,e.nodeId),t.setAttribute(`data-target`,e.target),t.setAttribute(`data-alias`,e.alias??``),t.setAttribute(`src`,S(e.src)),t.setAttribute(`alt`,e.alias??e.target),{dom:t}}function uH(e){let t=nt(e);return t!==null&&ne.has(t)}var dH=h.extend({addNodeView(){return({editor:e,node:t,getPos:n})=>{let r=sH(),i=t,a=String(t.attrs.target??``),o=t.attrs.alias==null?null:String(t.attrs.alias),s=t.attrs.anchor==null?null:String(t.attrs.anchor),c=t.attrs.resolvedSrc==null?null:String(t.attrs.resolvedSrc);if(uH(a)){let{dom:e}=lH({nodeId:r,target:a,alias:o,src:c??a});return{dom:e,ignoreMutation:()=>!0,update:t=>{if(t.type.name!==`wikiLinkEmbed`)return!1;i=t;let n=String(t.attrs.target??``),r=t.attrs.alias==null?null:String(t.attrs.alias),a=t.attrs.resolvedSrc==null?null:String(t.attrs.resolvedSrc);if(!uH(n))return!1;let o=a??n;return e.setAttribute(`data-target`,n),e.setAttribute(`data-alias`,r??``),e.setAttribute(`src`,S(o)),e.setAttribute(`alt`,r??n),!0}}}let{dom:l}=cH({nodeId:r,target:a,alias:o,anchor:s,href:c??a});l.addEventListener(`click`,e=>{e.preventDefault()});let u=()=>{let e=n();return typeof e==`number`?e:void 0},d=Iv(e);return d.register({type:`wikiLinkEmbed`,nodeId:r,getPos:u,controls:{},handlePrimary:({newTab:e})=>{let t=i.attrs,n=typeof t.target==`string`?t.target:``;if(!n)return!1;let r=(typeof t.resolvedSrc==`string`&&t.resolvedSrc.length>0?t.resolvedSrc:null)??n,a=nt(n);if(a===null)return!1;let o=rt(r,``)??n;return hP({url:r,projectRelPath:o,ext:a,title:o.split(`/`).pop()??r,newTab:e}),!0}}),{dom:l,ignoreMutation:()=>!0,update:e=>{if(e.type.name!==`wikiLinkEmbed`)return!1;i=e;let t=String(e.attrs.target??``);if(uH(t))return!1;let n=e.attrs.alias==null?null:String(e.attrs.alias),r=e.attrs.anchor==null?null:String(e.attrs.anchor),a=(e.attrs.resolvedSrc==null?null:String(e.attrs.resolvedSrc))??t;return l.setAttribute(`data-target`,t),l.setAttribute(`data-alias`,n??``),l.setAttribute(`data-anchor`,r??``),l.setAttribute(`href`,a),l.setAttribute(`aria-label`,`Embed: ${t}${r?`#${r}`:``}`),l.textContent=n??`${t}${r?`#${r}`:``}`,!0},destroy:()=>{d.deregister(r)}}}}}),fH=[...At.map(e=>{if(e.name===`jsxComponent`)return aV;if(e.name===`image`){let t=e.options??{};return XL.configure({...t,inline:!0})}return e.name===`rawMdxFallback`?gV:e.name===`wikiLink`?aH:e.name===`wikiLinkEmbed`?dH:e.name===`link`?YR:e.name===`mathInline`?pV:e.name===`tag`?UV:e.name===`codeBlock`?XI:e}),xV.configure({itemsSources:[zS,AS,RS,NS],categoryLabels:{content:`Components`,layout:`Layout`,media:`Media`,data:`Data`,embed:`Embeds`}}),qL,TV,v_.configure({onDrop(e,t,n){for(let r of t)fv(r,e,n)},onPaste(e,t,n){for(let n of t)fv(n,e,e.state.selection.from)}}),JL,R_,LV,KL,WL,WS,NV,CV,S_,YS,wB,ge.create({name:`chunkWrapperDecoration`,addProseMirrorPlugins(){return[tC()]}})];function pH(e){return e===dt}function mH(){return ji(`SYNC_TIMEOUT_MS`,3e4)}var hH=class extends Error{docName;elapsedMs;constructor(e,t){super(`Sync timed out for "${e}" after ${t}ms`),this.name=`SyncTimeoutError`,this.docName=e,this.elapsedMs=t}},gH=class extends Error{docName;constructor(e){super(`Provider disconnected before sync for "${e}"`),this.name=`PreSyncDisconnectError`,this.docName=e}},_H=class extends Error{docName;constructor(e){super(`Document not found: "${e}"`),this.name=`DocumentNotFoundError`,this.docName=e}},vH=class extends Error{docName;cause;constructor(e,t){let n=t instanceof Error?t.message:String(t??`unknown`);super(`Bridge setup failed for "${e}": ${n}`),this.name=`BridgeSetupError`,this.docName=e,this.cause=t}},yH=class extends Error{docName;missingCapability;constructor(e,t){super(`Server is missing capability "${t}" required to open "${e}".`),this.name=`ServerCapabilityMismatchError`,this.docName=e,this.missingCapability=t}},bH=new Map,xH=!1;function SH(){for(let e of bH.values())if(!e.settled)return!0;return!1}function CH(){typeof document>`u`||document.visibilityState===`visible`&&wH(Date.now())}function wH(e){let t=[];for(let[n,r]of bH){if(r.settled)continue;let i=e-r.createdAt;if(i<mH())continue;r.settled=!0;let a=new hH(n,i);OH(r),r.reject(a);let o=Mm(n);o!==void 0&&Um(o),t.push({docName:n,elapsedMs:i})}if(t.length>0){let e=t.map(e=>`${e.docName} (${e.elapsedMs}ms)`).join(`, `);console.warn(`[syncPromise] reaped ${t.length} timed-out ${t.length===1?`entry`:`entries`} on visibility restore (tab-sleep recovered): ${e}`)}return SH()||EH(),t.length}function TH(){xH||typeof document>`u`||(document.addEventListener(`visibilitychange`,CH),xH=!0)}function EH(){xH&&(typeof document>`u`||(document.removeEventListener(`visibilitychange`,CH),xH=!1))}var DH=new Map;function OH(e){e.detached||(e.detached=!0,e.timeoutHandle!==null&&clearTimeout(e.timeoutHandle),e.provider.off(`synced`,e.onSynced),e.provider.off(`close`,e.onClose))}function kH(e,t){let n=bH.get(e);if(n)return n.promise;let r=DH.get(e);if(r!==void 0){DH.delete(e);let n=r===`timeout`?new hH(e,0):new gH(e);console.warn(`[syncPromise] ${e} rejected on creation (test hook, armed ${r}): ${n.message}`),Y(`ok/sync/create`,{docName:e,mountId:Mm(e),warm:!1,armed:r}),Y(`ok/sync/reject`,{docName:e,mountId:Mm(e),reason:`armed-${r}`});let i=jH(n);return bH.set(e,MH(i,t)),i}if(t.synced){console.log(`[syncPromise] ${e} resolved synchronously (warm provider)`);let n=Mm(e);Y(`ok/sync/create`,{docName:e,mountId:n,warm:!0}),Y(`ok/sync/resolve`,{docName:e,mountId:n,elapsedMs:0,warm:!0}),Y.histogram(`ok/sync/resolve-elapsed-ms`,n===void 0?{docName:e,warm:!0}:{docName:e,mountId:n,warm:!0},0);let r=Promise.resolve();return bH.set(e,AH(r,t)),r}let i=Date.now(),a=()=>{},o=()=>{},s=new Promise((e,t)=>{a=e,o=t}),c=()=>{let t=bH.get(e);if(!t||t.settled)return;t.settled=!0,t.resolved=!0;let n=Date.now()-t.createdAt;console.log(`[syncPromise] ${e} resolved in ${n}ms`);let r=Mm(e);if(Y(`ok/sync/resolve`,{docName:e,mountId:r,elapsedMs:n,warm:!1}),Y.histogram(`ok/sync/resolve-elapsed-ms`,r===void 0?{docName:e}:{docName:e,mountId:r},n),OH(t),SH()||EH(),t.resolve(),Mi(),r!==void 0){let i=Date.now();Hm(r,`ok.sync-promise`,{"doc.name":e,elapsed_ms:n},t.createdAt,i),Um(r,i)}},l=t=>{let n=bH.get(e);if(!n||n.settled)return;n.settled=!0;let r=new gH(e);console.warn(`[syncPromise] ${e} rejected: ${r.message}`);let i=Mm(e);Y(`ok/sync/reject`,{docName:e,mountId:i,reason:`pre-sync-disconnect`}),OH(n),SH()||EH(),n.reject(r),i!==void 0&&Um(i)},u=setTimeout(()=>{let t=bH.get(e);if(!t||t.settled)return;t.settled=!0;let n=Date.now()-t.createdAt,r=new hH(e,n);console.warn(`[syncPromise] ${e} rejected: ${r.message}`);let i=Mm(e);Y(`ok/sync/reject`,{docName:e,mountId:i,reason:`timeout`,elapsedMs:n}),OH(t),SH()||EH(),t.reject(r),i!==void 0&&Um(i)},mH()),d={promise:s,resolve:a,reject:o,createdAt:i,timeoutHandle:u,provider:t,onSynced:c,onClose:l,settled:!1,resolved:!1,detached:!1};return bH.set(e,d),t.on(`synced`,c),t.on(`close`,l),TH(),Y(`ok/sync/create`,{docName:e,mountId:Mm(e),warm:!1}),s}function AH(e,t){return{promise:e,resolve:()=>{},reject:()=>{},createdAt:Date.now(),timeoutHandle:null,provider:t,onSynced:()=>{},onClose:()=>{},settled:!0,resolved:!0,detached:!0}}function jH(e){let t=Promise.reject(e);t.catch(()=>{});let n=t;return n.status=`rejected`,n.reason=e,n}function MH(e,t){return{promise:e,resolve:()=>{},reject:()=>{},createdAt:Date.now(),timeoutHandle:null,provider:t,onSynced:()=>{},onClose:()=>{},settled:!0,resolved:!1,detached:!0}}function NH(e){return bH.get(e)?.resolved===!0}function PH(e){let t=bH.get(e);t&&(t.settled=!0,OH(t),bH.delete(e),SH()||EH())}function FH(e,t){let n=bH.get(e);if(!n||n.settled)return!1;n.settled=!0,console.warn(`[syncPromise] ${e} rejected: ${t.message}`),OH(n),SH()||EH(),n.reject(t);let r=Mm(e);return r!==void 0&&Um(r),!0}var IH=Object.freeze({kind:`tab-replay`}),LH=Object.freeze({kind:`idle`});function RH(e,t){return()=>{}}var zH=null;function BH(){return zH??=Se(fH),zH}var VH=4e3,HH=1e4,UH=class extends Error{constructor(e,t){super(`client persistence clearData timed out for ${e} after ${t}ms`),this.docName=e,this.timeoutMs=t,this.name=`ClientPersistenceClearTimeoutError`}},WH=class extends Error{constructor(e,t){super(`stored-state epoch peek timed out for ${e} after ${t}ms`),this.docName=e,this.timeoutMs=t,this.name=`StoredEpochPeekTimeoutError`}},GH=`ok-last-observed-branch`,KH=`ok-doc-lineage-epochs`,qH=5e3,JH=ji(`MAX_BUFFER_BYTES`,1*1024*1024),YH=ji(`MAX_POOL`,10),XH=class{_entries=new Map;get entries(){return this._entries}lruOrder=[];activeDocName=null;maxSize;wsUrl;recycleDebounceMs;clearDataTimeoutMs;onChange=null;tabIdentity=null;serverRestartRecoveryState=LH;cachedServerInstanceId=null;pendingServerInstanceKnown=null;recoveryMismatchStaleClaim;bufferedUpdates=new Map;pendingClears=new Map;clearFailures=new Set;persistenceFactory;peekStoredEpoch;storage;constructor(e,t,n){this.maxSize=e,this.wsUrl=t,this.recycleDebounceMs=n?.recycleDebounceMs??VH,this.clearDataTimeoutMs=n?.clearDataTimeoutMs??HH,this.persistenceFactory=n?.persistenceFactory??d_,this.peekStoredEpoch=n?.peekStoredLineageEpoch??f_,n?.storage===void 0?this.storage=globalThis.localStorage===void 0?null:globalThis.localStorage:this.storage=n.storage}setTabIdentity(e){this.tabIdentity=e}setExpectedServerInstanceId(e){if(this.cachedServerInstanceId=e,!(e===null||e.length===0)){if(this.pendingServerInstanceKnown!==null){let t=this.pendingServerInstanceKnown;this.pendingServerInstanceKnown=null,t.resolve(e)}this.attachDeferredPersistence(e)}}whenServerInstanceKnown(){if(this.cachedServerInstanceId!==null&&this.cachedServerInstanceId.length>0)return Promise.resolve(this.cachedServerInstanceId);if(this.pendingServerInstanceKnown!==null)return this.pendingServerInstanceKnown.promise;let e,t=new Promise(t=>{e=t});return this.pendingServerInstanceKnown={promise:t,resolve:e},t}buildPersistence(e,t,n){return this.persistenceFactory({branch:this.normalizedObservedBranch(),serverInstanceId:e,docName:t,doc:n})}async validateStoredStateThenAttach(e,t){if(e.persistenceAttachOwned)return;e.persistenceAttachOwned=!0;let n=e.docName,r=()=>this._entries.get(n)===e&&e.kind===`active`&&e.persistence===null&&!this.pendingClears.has(n);if(!r())return;let i;try{i=await new Promise((e,r)=>{let i=setTimeout(()=>{r(new WH(n,this.clearDataTimeoutMs))},this.clearDataTimeoutMs);this.peekStoredEpoch({branch:this.normalizedObservedBranch(),serverInstanceId:t,docName:n}).then(t=>{clearTimeout(i),e(t)},e=>{clearTimeout(i),r(e)})})}catch(e){this.emitStructuredClientRecoveryEvent({event:`ok-client-persistence-attach-failed`,...this.recoveryTelemetryBase(n),phase:`peek`,errorName:e instanceof Error?e.name:`non-error-throw`,errorMessage:e instanceof Error?e.message:String(e)});return}if(!r())return;if(i===null){this.attachValidatedPersistence(e,t);return}if(!e.hasSynced&&(await this.awaitFirstSyncOrDestroy(e),!r()||!e.hasSynced))return;let a=e.provider.document.getMap(`lifecycle`).get(me),o=typeof a==`string`&&a.length>0?a:null;if(o===i){this.attachValidatedPersistence(e,t);return}this.emitStructuredClientRecoveryEvent({event:`ok-doc-lineage-mismatch`,...this.recoveryTelemetryBase(n),via:`stored-state-validation`,staleEpoch:i,liveEpoch:o??`<absent>`});let s=this.activeDocName===n;this.runCloseAndClearPersistence(n),this.open(n)!==null&&s&&this.setActive(n)}attachValidatedPersistence(e,t){let n=e.docName;try{let r=this.buildPersistence(t,n,e.provider.document);e.persistence=r,this.notify(),this.backfillCacheAfterFirstSync(e,r).catch(e=>{this.emitStructuredClientRecoveryEvent({event:`ok-client-persistence-attach-failed`,...this.recoveryTelemetryBase(n),phase:`backfill`,errorName:e instanceof Error?e.name:`non-error-throw`,errorMessage:e instanceof Error?e.message:String(e)})})}catch(e){this.emitStructuredClientRecoveryEvent({event:`ok-client-persistence-attach-failed`,...this.recoveryTelemetryBase(n),phase:`attach`,errorName:e instanceof Error?e.name:`non-error-throw`,errorMessage:e instanceof Error?e.message:String(e)})}}async backfillCacheAfterFirstSync(e,t){await t.whenSynced,e.hasSynced||await this.awaitFirstSyncOrDestroy(e),!(this._entries.get(e.docName)!==e||e.kind!==`active`||e.persistence!==t||!e.hasSynced)&&await t.flushFullState()}async awaitFirstSyncOrDestroy(e){e.hasSynced||await new Promise(t=>{let n=()=>{e.provider.off(`synced`,n),e.provider.off(`destroy`,n),t()};e.provider.on(`synced`,n),e.provider.on(`destroy`,n)})}attachDeferredPersistence(e){for(let t of Array.from(this._entries.values()))if(t.kind===`active`&&t.persistence===null&&this._entries.get(t.docName)===t){if(t.hasSynced&&t.lineageEpochRecordAtOpen!==null){let e=t.provider.document.getMap(`lifecycle`).get(me);if(typeof e==`string`&&e.length>0&&e!==t.lineageEpochRecordAtOpen){let n=t.docName;this.emitStructuredClientRecoveryEvent({event:`ok-doc-lineage-mismatch`,...this.recoveryTelemetryBase(n),via:`deferred-attach`,staleEpoch:t.lineageEpochRecordAtOpen,liveEpoch:e});let r=this.activeDocName===n;this.runCloseAndClearPersistence(n),this.open(n)!==null&&r&&this.setActive(n);continue}}this.validateStoredStateThenAttach(t,e)}}getServerRestartRecoveryState(){return this.serverRestartRecoveryState}observeDiskAck(e,t){let n=this.entries.get(e);!n||n.kind!==`active`||(n.lastDiskAckedSV=h_(n.lastDiskAckedSV,t))}observeDiskAckBatch(e){for(let[t,n]of Object.entries(e))this.observeDiskAck(t,n)}lastObservedBranch=null;lastObservedBranchInitialized=!1;getOrInitObservedBranch(){if(this.lastObservedBranchInitialized)return this.lastObservedBranch;this.lastObservedBranchInitialized=!0;try{let e=this.storage?.getItem(GH)??null;e!==null&&e.length>0&&(this.lastObservedBranch=e)}catch{}return this.lastObservedBranch}persistObservedBranch(e){this.lastObservedBranch=e,this.lastObservedBranchInitialized=!0;try{e===null||e.length===0?this.storage?.removeItem(GH):this.storage?.setItem(GH,e)}catch{}}docLineageEpochs=new Map;docLineageEpochsEnvelopeConsumed=!1;normalizedObservedBranch(){return this.getOrInitObservedBranch()??`_unknown_`}consumeLineageEpochEnvelopeIfValid(){if(this.docLineageEpochsEnvelopeConsumed)return;let e=this.cachedServerInstanceId;if(!(e===null||e.length===0)){this.docLineageEpochsEnvelopeConsumed=!0;try{let t=this.storage?.getItem(KH)??null;if(t===null)return;let n=JSON.parse(t);if(typeof n!=`object`||!n)return;let r=n;if(r.branch!==this.normalizedObservedBranch()||r.serverInstanceId!==e||typeof r.epochs!=`object`||r.epochs===null)return;for(let[e,t]of Object.entries(r.epochs))typeof t==`string`&&t.length>0&&!this.docLineageEpochs.has(e)&&this.docLineageEpochs.set(e,t)}catch(e){e instanceof DOMException||console.warn(JSON.stringify({event:`ok-lineage-epoch-envelope-read-error`,errorName:e instanceof Error?e.name:typeof e,message:e instanceof Error?e.message:String(e)}))}}}getRecordedLineageEpoch(e){let t=this.docLineageEpochs.get(e);return t===void 0?(this.consumeLineageEpochEnvelopeIfValid(),this.docLineageEpochs.get(e)??null):t}persistLineageEpochEnvelope(){let e=this.cachedServerInstanceId;if(!(e===null||e.length===0))try{this.storage?.setItem(KH,JSON.stringify({branch:this.normalizedObservedBranch(),serverInstanceId:e,epochs:Object.fromEntries(this.docLineageEpochs)}))}catch{}}recordLineageEpoch(e,t){this.docLineageEpochs.get(e)!==t&&(this.docLineageEpochs.set(e,t),this.persistLineageEpochEnvelope())}deleteLineageEpochRecord(e){this.docLineageEpochs.delete(e)&&this.persistLineageEpochEnvelope()}withClearDataTimeout(e,t){return new Promise((n,r)=>{let i=setTimeout(()=>{r(new UH(e,this.clearDataTimeoutMs))},this.clearDataTimeoutMs);t.then(()=>{clearTimeout(i),n()},e=>{clearTimeout(i),r(e)})})}recoveryTelemetryBase(e,t){let n={docName:e,branch:this.normalizedObservedBranch()},r=t===void 0?this.recoveryMismatchStaleClaim:t;return r!==void 0&&r.length>0&&(n.serverInstanceId=r),n}emitStructuredClientRecoveryEvent(e){console.warn(JSON.stringify(e))}clearRecoveryMismatchStaleClaimIfTerminal(){let e=this.serverRestartRecoveryState.kind;(e===`idle`||e===`failed`)&&(this.recoveryMismatchStaleClaim=void 0)}beginServerRestartRecovery(e,t){this.serverRestartRecoveryState={kind:`recovering`,phase:`clearing-local-cache`,docNames:e,failedDocNames:[],startedAt:t};for(let t of e)PH(t);this.notify()}enterServerRestartReconnect(e,t,n,r){if(e.length===0){this.serverRestartRecoveryState=t.length===0?LH:{kind:`failed`,reason:r,docNames:t,failedDocNames:t,startedAt:n},this.clearRecoveryMismatchStaleClaimIfTerminal(),this.notify();return}this.serverRestartRecoveryState={kind:`recovering`,phase:`reconnecting`,docNames:e,failedDocNames:t,startedAt:n,...t.length>0?{clearFailureReason:r}:{}},this.notify()}markServerRestartRecoverySynced(e){let t=this.serverRestartRecoveryState;if(t.kind!==`recovering`||t.phase!==`reconnecting`||!t.docNames.includes(e))return;let n=t.docNames.filter(t=>t!==e);if(n.length>0){this.serverRestartRecoveryState={...t,docNames:n};return}if(t.failedDocNames.length>0){this.serverRestartRecoveryState={kind:`failed`,reason:t.clearFailureReason??`clear-data-failed`,docNames:t.failedDocNames,failedDocNames:t.failedDocNames,startedAt:t.startedAt},this.clearRecoveryMismatchStaleClaimIfTerminal();return}this.serverRestartRecoveryState=LH,this.clearRecoveryMismatchStaleClaimIfTerminal()}setObservedBranch(e){this.persistObservedBranch(e)}compareAndUpdateObservedBranch(e){let t=this.getOrInitObservedBranch();return this.persistObservedBranch(e),t!==null&&t!==e}onBranchMismatch=null;branchMismatchInFlight=null;mismatchInFlight=null;setOnBranchMismatch(e){if(e===null){this.onBranchMismatch=null;return}this.onBranchMismatch=()=>{if(this.branchMismatchInFlight!==null)return;let t=Promise.resolve().then(e).finally(()=>{this.branchMismatchInFlight===t&&(this.branchMismatchInFlight=null)});this.branchMismatchInFlight=t}}onRenameRedirect=null;onDocDeleted=null;setOnRenameRedirect(e){this.onRenameRedirect=e}setOnDocDeleted(e){this.onDocDeleted=e}setOnChange(e){this.onChange=e}notify(){this.onChange?.()}evictListeners=new Set;onEvict(e){return this.evictListeners.add(e),()=>{this.evictListeners.delete(e)}}fireEvict(e){for(let t of this.evictListeners)try{t(e)}catch(t){console.warn(`[ProviderPool] evict listener threw for ${e}:`,t)}}touch(e){let t=this.lruOrder.indexOf(e);t!==-1&&this.lruOrder.splice(t,1),this.lruOrder.push(e)}open(e){if(pH(e))return null;let t=this.entries.get(e);if(t){let n=t.lastAccessedAt;return t.lastAccessedAt=Date.now(),this.touch(e),this.notify(),Y(`ok/pool/open`,{docName:e,hit:!0,lastAccessedAt:n,poolEventId:t.poolEventId}),Y.count(`ok/pool/open`,{hit:!0}),t}let n=Date.now();this.entries.size>=this.maxSize&&this.evictLru();let r=this.cachedServerInstanceId,i=this.getRecordedLineageEpoch(e),a=tr(this.tabIdentity,r,this.getOrInitObservedBranch(),r!==null&&r.length>0?i:null),o=new In({url:g_(this.wsUrl),name:e,forceSyncInterval:qH,token:a}),s=this.cachedServerInstanceId;this.clearFailures.has(e)&&this.runCloseAndClearPersistence(e);let c=this.pendingClears.get(e),l=s!==null&&s.length>0&&c===void 0&&i!==null?this.buildPersistence(s,e,o.document):null,u=crypto.randomUUID(),d={kind:`active`,provider:o,persistence:l,lastServerSyncedSV:null,lastDiskAckedSV:null,observerCleanup:null,observerFireCounterCleanup:RH(o.document,e),syncState:`connecting`,docName:e,lastAccessedAt:Date.now(),poolEventId:u,hasSynced:!1,pendingRecycleTimer:null,bridgeSetupFailed:!1,serverDrivenCloseReauthInFlight:!1,persistenceAttachOwned:!1,lineageEpochRecordAtOpen:i};if(Y(`ok/pool/open`,{docName:e,hit:!1,poolEventId:u}),Y.count(`ok/pool/open`,{hit:!1}),o.on(`status`,({status:t})=>{d.kind!==`active`||this.entries.get(e)!==d||t===`disconnected`&&(d.syncState=`disconnected`,this.notify())}),o.on(`synced`,()=>{if(d.kind!==`active`||this.entries.get(e)!==d)return;d.syncState=`synced`,d.hasSynced=!0,d.lastServerSyncedSV=p_(o.document);let t=o.document.getMap(`lifecycle`).get(me);if(typeof t==`string`&&t.length>0&&this.recordLineageEpoch(e,t),d.pendingRecycleTimer&&=(clearTimeout(d.pendingRecycleTimer),null),this.markServerRestartRecoverySynced(e),this.notify(),!d.observerCleanup)try{let t=o.document,n=new R({extensions:fH});d.observerCleanup=jN({doc:t,xmlFragment:t.getXmlFragment(`default`),ytext:t.getText(`source`),mdManager:n,schema:BH(),onSyncError:(t,n)=>{console.warn(`[Sync] ${t} failed for ${e}:`,n.message)}})}catch(t){console.error(`[ProviderPool] setupObservers init failed for ${e}:`,t),d.bridgeSetupFailed=!0,FH(e,new vH(e,t))}}),o.on(`disconnect`,()=>{d.kind!==`active`||this.entries.get(e)!==d||(d.syncState=`disconnected`,this.notify(),d.hasSynced&&o.unsyncedChanges===0&&!d.pendingRecycleTimer&&(d.pendingRecycleTimer=setTimeout(()=>{d.kind===`active`&&(d.pendingRecycleTimer=null,this.entries.get(e)===d&&this.recycleDisconnectedEntry(e))},this.recycleDebounceMs)))}),o.on(`authenticationFailed`,({reason:t})=>{let n=[`server-instance-mismatch`,`branch-mismatch`,`rename-redirect`,`doc-deleted`,`doc-lineage-mismatch`],i=t.indexOf(`:`),a=i===-1?t:t.slice(0,i);if(!n.includes(a)){console.warn(JSON.stringify({event:`ok-auth-failed-unknown-reason`,reason:t}));return}let o=i===-1?``:t.slice(i+1),s=o.length>0?o:void 0,c=a;if(c===`server-instance-mismatch`){if(r===null||this.cachedServerInstanceId!==r)return;let e=r;this.cachedServerInstanceId=null,this.handleServerInstanceMismatch(e);return}if(c===`branch-mismatch`){this.onBranchMismatch?.();return}if(c===`rename-redirect`){if(s===void 0||s.length===0){console.warn(JSON.stringify({event:`rename-redirect-missing-payload`,fromDocName:e}));return}let t=e,n=s;this.deleteLineageEpochRecord(t);let r=this.entries.get(t),i=r!==void 0&&r.kind===`active`;this.onRenameRedirect?.({fromDocName:t,toDocName:n,hadOpenProvider:i});return}if(c===`doc-deleted`){this.deleteLineageEpochRecord(e);let t=this.entries.get(e),n=t!==void 0&&t.kind===`active`;this.onDocDeleted?.({docName:e,hadOpenProvider:n});return}if(c===`doc-lineage-mismatch`){if(d.kind!==`active`||this.entries.get(e)!==d)return;this.deleteLineageEpochRecord(e),this.emitStructuredClientRecoveryEvent({event:`ok-doc-lineage-mismatch`,...this.recoveryTelemetryBase(e),via:`auth-rejection`,staleEpoch:d.lineageEpochRecordAtOpen??``});let t=this.activeDocName===e;this.runCloseAndClearPersistence(e),this.open(e)!==null&&t&&this.setActive(e);return}}),o.on(`close`,({event:t})=>{if(d.kind!==`active`||this.entries.get(e)!==d||d.serverDrivenCloseReauthInFlight)return;d.serverDrivenCloseReauthInFlight=!0,o.sendToken().catch(t=>{console.warn(JSON.stringify({event:`ok-provider-server-driven-close-reauth-failed`,docName:e,message:t instanceof Error?t.message:String(t)}))}).finally(()=>{d.kind===`active`&&this.entries.get(e)===d&&(d.serverDrivenCloseReauthInFlight=!1)});let n=t?.reason??`<unknown>`;console.info(JSON.stringify({event:`ok-provider-server-driven-close-reauth`,docName:e,reason:n}))}),this.bufferedUpdates.get(e)!==void 0){let t=this.recoveryMismatchStaleClaim,n=()=>{if(o.off(`synced`,n),d.kind!==`active`||this.entries.get(e)!==d)return;let r=this.bufferedUpdates.get(e);if(r!==void 0){this.bufferedUpdates.delete(e);try{Fn(o.document,r,IH)}catch(n){let i=n instanceof Error?n.name:`non-error-throw`;this.emitStructuredClientRecoveryEvent({event:`ok-buffer-replay-failed`,...this.recoveryTelemetryBase(e,t),replayByteLength:r.byteLength,errorName:i,errorMessage:n instanceof Error?n.message:String(n)})}}};o.on(`synced`,n)}if(this._entries.set(e,d),this.touch(e),this.notify(),l===null&&s!==null&&s.length>0&&c===void 0&&this.validateStoredStateThenAttach(d,s),c!==void 0&&s!==null&&s.length>0){let t=s;c.then(()=>{this.attachDeferredPersistenceForEntry(d,t)},t=>{console.warn(JSON.stringify({event:`ok-pool-deferred-persistence-attach-skipped`,docName:e,reason:`pending-clear-failed`,message:t instanceof Error?t.message:String(t)}))})}let f=Mm(e);return f!==void 0&&Hm(f,`ok.provider-pool.open`,{"doc.name":e},n,Date.now()),d}attachDeferredPersistenceForEntry(e,t){let n=this._entries.get(e.docName);n!==e||n.kind!==`active`||n.persistence!==null||this.validateStoredStateThenAttach(n,t)}handleServerInstanceMismatch(e){this.recoveryMismatchStaleClaim=e.length>0?e:void 0;let t=Array.from(this.entries.entries()),n=Date.now(),r=this.activeDocName,i=r!==null&&t.some(([e,t])=>e===r&&t.kind===`active`)?[r]:[],a=r??t.find(([,e])=>e.kind===`active`)?.[0]??``;a.length>0&&this.emitStructuredClientRecoveryEvent({event:`ok-client-cache-epoch-mismatch`,...this.recoveryTelemetryBase(a)}),this.beginServerRestartRecovery(i,n);for(let[e,n]of t)n.kind===`active`&&!i.includes(e)&&PH(e);for(let[e,n]of t){if(n.kind!==`active`)continue;let t=n.lastDiskAckedSV??n.lastServerSyncedSV;if(t===null){this.emitStructuredClientRecoveryEvent({event:`ok-buffer-replay-skipped-no-baseline`,...this.recoveryTelemetryBase(e),reason:`no-disk-ack-or-server-sync-vector`});continue}let r=m_(n.provider.document,t);if(r.byteLength>JH){Y(`ok/pool/buffer-overflow`,{docName:e,bytes:r.byteLength});continue}r.byteLength>0&&this.bufferedUpdates.set(e,r)}let o=[];for(let[e,n]of t)n.kind===`active`&&n.persistence!==null&&o.push({docName:e,promise:this.withClearDataTimeout(e,n.persistence.clearData())});let s=Promise.allSettled(o.map(e=>e.promise)).then(e=>{let t=[],i=[],a=!1;e.forEach((e,n)=>{let r=o[n];if(!r)return;let s=r.docName;if(e.status===`rejected`){t.push(s);let n=e.reason instanceof UH;if(n&&(a=!0),n)this.emitStructuredClientRecoveryEvent({event:`ok-client-cache-clear-failed`,...this.recoveryTelemetryBase(s),failureKind:`timeout`});else{let t=e.reason instanceof Error?e.reason.name:`unknown`;this.emitStructuredClientRecoveryEvent({event:`ok-client-cache-clear-failed`,...this.recoveryTelemetryBase(s),failureKind:`rejected`,errorName:t,errorMessage:e.reason instanceof Error?e.reason.message:String(e.reason)})}}else i.push(s)});let s=i.filter(e=>e===r);if(t.length>0){let e=a?`clear-data-timeout`:`clear-data-failed`;console.warn(JSON.stringify({event:`ok-mismatch-recycle-partial-clears-failed`,failedDocs:t,clearedDocs:i})),this.enterServerRestartReconnect(s,t,n,e);for(let e of i)this.recycleDisconnectedEntry(e);return}this.enterServerRestartReconnect(s,[],n,`clear-data-failed`),this.recycleAllEntries()}).finally(()=>{this.mismatchInFlight===s&&(this.mismatchInFlight=null)});this.mismatchInFlight=s}awaitMismatchSettled(){return this.mismatchInFlight??Promise.resolve()}recycleAllEntries(){let e=Array.from(this.entries.keys());for(let t of e)this.recycleDisconnectedEntry(t)}prewarm(e){if(pH(e))return null;let t=this.entries.get(e);if(t)return t;let n=this.open(e);if(!n)return null;let r=this.lruOrder.indexOf(e);return r!==-1&&(this.lruOrder.splice(r,1),this.lruOrder.unshift(e)),n}close(e){let t=this.entries.get(e);t&&(this.destroyEntry(t),this._entries.delete(e),this.lruOrder=this.lruOrder.filter(t=>t!==e),this.bufferedUpdates.delete(e),this.activeDocName===e&&(this.activeDocName=null),this.notify())}async closeAndClearPersistence(e){try{await this.runCloseAndClearPersistence(e)}catch{}}runCloseAndClearPersistence(e){let t=this.pendingClears.get(e);if(t!==void 0)return t;let n=()=>{},r=()=>{},i=new Promise((e,t)=>{n=e,r=t});this.pendingClears.set(e,i);let a=()=>{this.pendingClears.get(e)===i&&this.pendingClears.delete(e)};return i.then(a,a),this.executeCloseAndClearPersistence(e).then(n,r),i}async executeCloseAndClearPersistence(e){this.clearFailures.delete(e);let t=this.entries.get(e);if(t?.kind===`active`&&t.persistence!==null){let n=t.persistence;try{this.close(e)}catch(t){console.warn(`[ProviderPool] close before clearData threw for ${e}:`,t)}try{await this.withClearDataTimeout(e,n.clearData())}catch(t){throw console.warn(`[ProviderPool] clearData on rename failed for ${e}:`,t),this.clearFailures.add(e),t}return}if(t)try{this.close(e)}catch(t){console.warn(`[ProviderPool] close before IDB-by-name delete threw for ${e}:`,t)}let n=this.normalizedObservedBranch(),r=this.cachedServerInstanceId;if(r===null)return;let i=`ok-ydoc:${n}:${r}:${e}`;try{await this.withClearDataTimeout(e,new Promise((e,t)=>{let n=indexedDB.deleteDatabase(i);n.onsuccess=()=>e(),n.onerror=()=>t(n.error),n.onblocked=()=>{console.warn(`[ProviderPool] IDB delete blocked for ${i}`)}}))}catch(t){throw console.warn(`[ProviderPool] IDB delete on rename failed for ${i}:`,t),this.clearFailures.add(e),t}}clearBufferedUpdates(){this.bufferedUpdates.clear()}__test_seedBufferedUpdate(e,t){this.bufferedUpdates.set(e,t)}__test_bufferedUpdatesSize(){return this.bufferedUpdates.size}__test_hasBufferedUpdate(e){return this.bufferedUpdates.has(e)}__test_getBufferedUpdate(e){return this.bufferedUpdates.get(e)}setActive(e){let t=this.entries.get(e);if(!t)throw Error(`[ProviderPool] Cannot setActive — "${e}" is not open`);t.lastAccessedAt=Date.now(),this.touch(e),this.activeDocName=e,this.notify()}clearActive(){this.activeDocName!==null&&(this.activeDocName=null,this.notify())}getActive(){return this.activeDocName?this.entries.get(this.activeDocName)??null:null}getActiveDocName(){return this.activeDocName}has(e){return this.entries.has(e)}peek(e){return this.entries.get(e)??null}recycle(e){this.recycleDisconnectedEntry(e)}dispose(){for(let e of this._entries.values())this.destroyEntry(e);this._entries.clear(),this.lruOrder=[],this.activeDocName=null,this.onChange=null,this.bufferedUpdates.clear(),this.pendingClears.clear(),this.clearFailures.clear(),this.docLineageEpochs.clear(),this.docLineageEpochsEnvelopeConsumed=!1,this.onBranchMismatch=null,this.branchMismatchInFlight=null,this.onRenameRedirect=null,this.onDocDeleted=null,this.evictListeners.clear(),this.serverRestartRecoveryState=LH,this.cachedServerInstanceId=null,this.pendingServerInstanceKnown=null,this.tabIdentity=null,this.recoveryMismatchStaleClaim=void 0}evictLru(){for(let e of this.lruOrder)if(e!==this.activeDocName){Y(`ok/pool/evict-lru`,{docName:e}),this.close(e);return}}destroyEntry(e){if(e.kind===`tearing-down`)return;let t=e.observerCleanup,n=e.observerFireCounterCleanup,r=e.persistence,i=e.pendingRecycleTimer,a=e.docName,o=e;o.kind=`tearing-down`,o.persistence=null,o.observerCleanup=null,o.observerFireCounterCleanup=null,o.pendingRecycleTimer=null,o.serverDrivenCloseReauthInFlight=!1,i&&clearTimeout(i),PH(a),this.fireEvict(a);try{t?.()}catch(e){console.warn(`[ProviderPool] observer cleanup threw for ${a}:`,e)}try{n?.()}catch(e){console.warn(`[ProviderPool] observer-fire-counter cleanup threw for ${a}:`,e)}r!==null&&r.destroy().catch(e=>{console.warn(`[ProviderPool] persistence destroy failed for ${a}:`,e)});try{o.provider.destroy()}catch(e){console.warn(`[ProviderPool] Provider destroy failed for ${a}:`,e)}}recycleDisconnectedEntry(e){let t=this.entries.get(e);if(!t||t.kind!==`active`)return;let n=this.activeDocName===e;if(Y(`ok/pool/recycle-disconnected`,{docName:e,wasActive:n}),this.destroyEntry(t),this._entries.delete(e),this.lruOrder=this.lruOrder.filter(t=>t!==e),n){this.open(e)&&this.setActive(e);return}this.notify()}},ZH=crypto.randomUUID(),QH=!1;function $H(e){QH||(QH=!0,console.warn(`[principal-fetch] failed to resolve principal — falling back to random identity.`,e))}var eU=(0,Q.createContext)(null),tU=null;function nU(e){return tU||(tU=new XH(YH,e),Hh(tU)),tU}var rU={activeDocName:null,activeProvider:null,syncState:`connecting`,serverRestartRecovery:{kind:`idle`},poolEntries:[]};function iU(){if(typeof window>`u`)return null;let e=window.okDesktop;return e?.config.mode===`editor`?e:null}function aU(){return typeof window>`u`||window.okDesktop?.config.mode===`editor`?null:Fg(window.location.origin)}function oU(){if(typeof window>`u`)return Ng(null,YH);let e=aU();return e?Ig(window.localStorage===void 0?null:window.localStorage,e,YH):Ng(null,YH)}function sU(){return oU().openTabs}function cU(){return oU().pinnedTabIds}function lU(){if(typeof window>`u`||window.location.hash.length>0)return null;let e=oU();return e.activeTabId??(e.activeDocName?og(e.activeDocName):null)??e.openTabs[0]??null}function uU(e){let t=dg(e);switch(t.kind){case`doc`:return Di(t.docName);case`folder`:return bi(t.folderPath);case`asset`:return Ti(t.assetPath);case`skill-file`:return Si({scope:t.scope,name:t.name,path:t.path})}}function dU(e){let t=wi(e);if(t)return cg(t);let n=xi(e);if(n)return ig(n);let r=Ei(e);if(!r)return null;let i=r.trim();if(/\/+$/.test(i)){let e=i.replace(/\/+$/g,``);return e?sg(e):null}return og(r)}function fU(e){return{kind:`asset`,target:e,assetPath:e,mediaKind:E(e.split(`.`).pop()??``)}}function pU(e,t){return e?ug(e):t?og(t):null}function mU(e,t,n){return e.some(e=>!n.has(e)&&fg(e)===t)}function hU(e,t){return e.length===t.length&&e.every((e,n)=>e===t[n])}function gU(e){switch(e.kind){case`doc`:return`doc:${e.docName}`;case`folder-index`:return`folder-index:${e.docName}:${e.folderPath}:${e.noteKind}`;case`folder`:return`folder:${e.folderPath}`;case`asset`:return`asset:${e.assetPath}:${e.mediaKind??``}`;case`skill-file`:return`skill-file:${e.scope}:${e.name}:${e.path}`;case`large-file`:return`large-file:${e.docName}:${e.size}:${e.limit}`;case`missing`:return`missing:${e.target}`}}function _U(e,t){return e===t?!0:!e||!t?!1:gU(e)===gU(t)}function vU(e){let t=e.getActive(),n=[];for(let t of e.entries.values())n.push({docName:t.docName,provider:t.provider,lastAccessedAt:t.lastAccessedAt,poolEventId:t.poolEventId});return n.sort((e,t)=>t.lastAccessedAt-e.lastAccessedAt),{activeDocName:e.getActiveDocName(),activeProvider:t?.provider??null,syncState:t?.syncState??`connecting`,serverRestartRecovery:e.getServerRestartRecoveryState(),poolEntries:n}}function yU(e){let t=(0,$.c)(183),{children:n}=e,[r,i]=(0,Q.useState)(rU),[a,o]=(0,Q.useState)(null),[s,c]=(0,Q.useState)(lU),[l,u]=(0,Q.useState)(sU),[d,f]=(0,Q.useState)(cU),p;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(p=[],t[0]=p):p=t[0];let[m,h]=(0,Q.useState)(p),[g,_]=(0,Q.useState)(l),[v,y]=(0,Q.useState)(null),[b,x]=(0,Q.useState)(!1),S=(0,Q.useRef)(s),C=(0,Q.useRef)(l),w=(0,Q.useRef)(d),T=(0,Q.useRef)(v),E=(0,Q.useRef)(m),D=(0,Q.useRef)(g),O=(0,Q.useRef)(1),k;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(k=[],t[1]=k):k=t[1];let A=(0,Q.useRef)(k),j=(0,Q.useRef)(!1),[M,N]=(0,Q.useState)(!1),[P,F]=(0,Q.useState)(null),[I,L]=(0,Q.useState)(null),[R,ee]=(0,Q.useState)(`doc`),[z,B]=(0,Q.useState)(null),[te,V]=(0,Q.useState)(0),{collabUrl:H,terminal:U,lastError:W,retry:ne}=ap(),G;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(G=function(e){S.current=e,c(e)},t[2]=G):G=t[2];let K=G,re;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(re=function(e){T.current=e,y(e)},t[3]=re):re=t[3];let ie=re,ae;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(ae=function(e){D.current=e,_(t=>hU(t,e)?t:e)},t[4]=ae):ae=t[4];let oe=ae,q;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(q=function(e){w.current=e,f(t=>hU(t,e)?t:e)},t[5]=q):q=t[5];let se=q,ce;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(ce=function(e,t){let n=mg(t,e);C.current=e,w.current=n,u(t=>hU(t,e)?t:e),f(e=>hU(e,n)?e:n),oe(Tg(D.current,e,E.current))},t[6]=ce):ce=t[6];let le=ce,ue;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(ue=function(e){le(e,w.current)},t[7]=ue):ue=t[7];let de=ue,fe;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(fe=function(e){de(e(C.current))},t[8]=fe):fe=t[8];let pe=fe,me;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(me=function(e){E.current=e,h(t=>hU(t,e)?t:e),oe(Tg(D.current,C.current,e))},t[9]=me):me=t[9];let he=me,ge;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(ge=function(e){let t=T.current;if(!t)return;let n=E.current.filter(e=>e!==t);E.current=n,h(e=>hU(e,n)?e:n),ie(null);let r=[],i=new Set;for(let n of D.current){let a=n===t?e:n;!a||i.has(a)||(i.add(a),r.push(a))}oe(Tg(r,C.current,n))},t[10]=ge):ge=t[10];let _e=ge,ve,ye;t[11]===s?(ve=t[12],ye=t[13]):(ve=()=>{S.current=s},ye=[s],t[11]=s,t[12]=ve,t[13]=ye),(0,Q.useEffect)(ve,ye);let be,xe;t[14]===l?(be=t[15],xe=t[16]):(be=()=>{C.current=l},xe=[l],t[14]=l,t[15]=be,t[16]=xe),(0,Q.useEffect)(be,xe);let Se,Ce;t[17]===d?(Se=t[18],Ce=t[19]):(Se=()=>{w.current=d},Ce=[d],t[17]=d,t[18]=Se,t[19]=Ce),(0,Q.useEffect)(Se,Ce);let we,Te;t[20]===v?(we=t[21],Te=t[22]):(we=()=>{T.current=v},Te=[v],t[20]=v,t[21]=we,t[22]=Te),(0,Q.useEffect)(we,Te);let Ee,De;t[23]===m?(Ee=t[24],De=t[25]):(Ee=()=>{E.current=m},De=[m],t[23]=m,t[24]=Ee,t[25]=De),(0,Q.useEffect)(Ee,De);let Oe,ke;t[26]===g?(Oe=t[27],ke=t[28]):(Oe=()=>{D.current=g},ke=[g],t[26]=g,t[27]=Oe,t[28]=ke),(0,Q.useEffect)(Oe,ke);let Ae=v!==null,je,Me;t[29]!==H||t[30]!==M||t[31]!==b?(je=()=>{if(H===null||b||!M)return;let e=!1,t=iU(),n=aU(),r=typeof localStorage<`u`?localStorage:null;return(t?t.project.getSessionState():Promise.resolve(n?Ig(r,n,YH):{openTabs:[],pinnedTabIds:[],activeDocName:null,activeTabId:null,updatedAt:null})).then(t=>{if(e)return;let n=Ng(t,YH);if(j.current)return;let r=nU(H);for(let e of n.openTabs){let t=fg(e);t&&r.open(t)}let i=[...n.pinnedTabIds,...w.current],a=n.openTabs;for(let e of C.current)a=bg(a,e,YH,i);let o=mg(i,a);C.current=a,w.current=o,u(e=>hU(e,a)?e:a),f(e=>hU(e,o)?e:o);let s=Tg(D.current,a,E.current);D.current=s,_(e=>hU(e,s)?e:s);let l=Ei(window.location.hash),d=n.activeTabId??(n.activeDocName?og(n.activeDocName):null)??n.openTabs[0]??null,p=d?uU(d):null;if((l===null&&window.location.hash.length===0||p!==null&&p===window.location.hash)&&d){S.current=d,c(d);let e=uU(d);window.location.hash!==e&&(window.location.hash=e)}}).catch(kU).finally(()=>{e||x(!0)}),()=>{e=!0}},Me=[H,M,b],t[29]=H,t[30]=M,t[31]=b,t[32]=je,t[33]=Me):(je=t[32],Me=t[33]),(0,Q.useEffect)(je,Me);let Ne,Pe;t[34]!==s||t[35]!==a||t[36]!==l||t[37]!==d||t[38]!==r.activeDocName||t[39]!==b?(Ne=()=>{if(!b)return;let e=Pg(l,s??pU(a,r.activeDocName),d),t=iU();if(t){t.project.setSessionState(e).catch(OU);return}let n=aU();n&&Lg(typeof localStorage<`u`?localStorage:null,n,e)},Pe=[s,a,l,d,r.activeDocName,b],t[34]=s,t[35]=a,t[36]=l,t[37]=d,t[38]=r.activeDocName,t[39]=b,t[40]=Ne,t[41]=Pe):(Ne=t[40],Pe=t[41]),(0,Q.useEffect)(Ne,Pe);let Fe;t[42]===b?Fe=t[43]:(Fe=function(){b||(j.current=!0)},t[42]=b,t[43]=Fe);let Ie=Fe,Le,Re;t[44]===H?(Le=t[45],Re=t[46]):(Le=()=>{if(H===null)return;let e=!1;N(!1);let t=nU(H);i(vU(t));let n=function(e,t){let n=mg(t,e);C.current=e,w.current=n,u(t=>hU(t,e)?t:e),f(e=>hU(e,n)?e:n);let r=Tg(D.current,e,E.current);D.current=r,_(e=>hU(e,r)?e:r)};return t.setOnBranchMismatch(()=>Hf(t)),t.setOnRenameRedirect(e=>{let{fromDocName:r,toDocName:i,hadOpenProvider:a}=e;(async()=>{let e,s=t.getActiveDocName()===r;Sh([{fromDocName:r,toDocName:i}]);try{await Promise.all([t.closeAndClearPersistence(r),t.closeAndClearPersistence(i)]),s&&(t.open(i),t.setActive(i));let e=Dg(C.current,[{fromDocName:r,toDocName:i}],YH,[],w.current),a=mg(Dg(w.current,[{fromDocName:r,toDocName:i}],2**53-1),e);D.current=Og(D.current,[{fromDocName:r,toDocName:i}]),n(e,a),o(e=>e&&(Ci(e)===r?{kind:`doc`,target:i,docName:i}:e)),s&&(window.location.hash=Di(i))}catch(t){let n=t;e=n,console.warn(JSON.stringify({event:`removal-cleanup-error`,kind:`renamed`,fromDocName:r,toDocName:i,message:String(n instanceof Error?n.message:n)}))}console.info(JSON.stringify({event:`removal.cleanup`,kind:`renamed`,fromDocName:r,toDocName:i,hadOpenProvider:a,hadStaleIdb:!a,source:`auth-rejection`,errored:e!==void 0}))})()}),t.setOnDocDeleted(e=>{let{docName:r,hadOpenProvider:i}=e;(async()=>{let e;try{await t.closeAndClearPersistence(r),n(wg(C.current,r),w.current),o(e=>e&&(Ci(e)===r?null:e)),t.getActiveDocName()===r&&(window.location.hash=``)}catch(t){let n=t;e=n,console.warn(JSON.stringify({event:`removal-cleanup-error`,kind:`deleted`,docName:r,message:String(n instanceof Error?n.message:n)}))}console.info(JSON.stringify({event:`removal.cleanup`,kind:`deleted`,fromDocName:r,hadOpenProvider:i,hadStaleIdb:!i,source:`auth-rejection`,errored:e!==void 0}))})()}),t.setOnChange(()=>i(vU(t))),fetch(`/api/principal`).then(DU).then(n=>{if(e)return;let r=st.safeParse(n);r.success?(t.setTabIdentity({principalId:r.data.id,tabSessionId:ZH}),F(r.data)):$H(r.error)}).catch(t=>{e||$H(t)}).finally(()=>{e||N(!0)}),Hf(t),()=>{e=!0,t.setOnChange(null),t.setOnRenameRedirect(null),t.setOnDocDeleted(null)}},Re=[H],t[44]=H,t[45]=Le,t[46]=Re),(0,Q.useEffect)(Le,Re);let ze;t[47]===H?ze=t[48]:(ze=e=>{if(Y(`ok/nav/open-document`,{docName:e,transition:!1}),H===null)return;let t=nU(H),n=t.open(e);if(!n)return;Rf(e,n.poolEventId);let r=og(e);pe(e=>bg(e,r,YH,w.current)),_e(r),K(r),t.setActive(e),o({kind:`doc`,target:e,docName:e})},t[47]=H,t[48]=ze);let Be=ze,Ve;t[49]===Be?Ve=t[50]:(Ve=e=>{Y(`ok/nav/open-document`,{docName:e,transition:!1}),Be(e)},t[49]=Be,t[50]=Ve);let He=Ve,Ue;t[51]!==a||t[52]!==H||t[53]!==Ie||t[54]!==r.activeDocName?(Ue=(e,t)=>{let n=t===void 0?{}:t;if(H===null)return;n.tabBehavior===`replace-active`&&Ie();let i=nU(H),s=Ci(e),c=T.current,l=c!==null&&n.tabBehavior===`replace-active`,u=c?null:S.current??pU(a,r.activeDocName),d=u!==null&&C.current.includes(u),f=u!==null&&w.current.includes(u),p=n.tabBehavior===`replace-active`&&f||n.tabBehavior===`replace-active`&&!l&&!d?`append`:n.tabBehavior??`append`;if(s&&e.kind!==`large-file`){let e=i.open(s);if(!e)return;Rf(s,e.poolEventId);let t=Sg(C.current,s,{behavior:p,currentTabId:u,limit:YH,pinnedTabIds:w.current});de(t.tabs),_e(t.activeTabId),K(t.activeTabId),i.setActive(s)}else{i.clearActive();let t=ug(e);if(t){let e=Cg(C.current,t,{behavior:p,currentTabId:u,limit:YH,pinnedTabIds:w.current});de(e.tabs),K(e.activeTabId),_e(e.activeTabId)}else _e(t)}o(t=>_U(t,e)?t:e)},t[51]=a,t[52]=H,t[53]=Ie,t[54]=r.activeDocName,t[55]=Ue):Ue=t[55];let We=Ue,Ge;t[56]===We?Ge=t[57]:(Ge=(e,t)=>{We(e,t===void 0?{}:t)},t[56]=We,t[57]=Ge);let Ke=Ge,qe;t[58]===We?qe=t[59]:(qe=(e,t)=>{let n=t===void 0?{}:t;Y(`ok/nav/open-target`,{docName:Ci(e),kind:e.kind,transition:!1}),We(e,n)},t[58]=We,t[59]=qe);let Je=qe,Ye;t[60]===Symbol.for(`react.memo_cache_sentinel`)?(Ye=function(e){e.length!==0&&(A.current=[...A.current,...e].slice(-50))},t[60]=Ye):Ye=t[60];let Xe=Ye,Ze;t[61]===H?Ze=t[62]:(Ze=e=>{let t=dg(e);if(ie(null),K(e),t.kind===`doc`){if(H!==null){let e=nU(H);if(!e.open(t.docName))return;e.setActive(t.docName)}o({kind:`doc`,target:t.docName,docName:t.docName});let e=Di(t.docName);window.location.hash!==e&&(window.location.hash=e);return}if(H!==null&&nU(H).clearActive(),t.kind===`asset`){o(fU(t.assetPath));let e=Ti(t.assetPath);window.location.hash!==e&&(window.location.hash=e);return}if(t.kind===`skill-file`){o({kind:`skill-file`,target:`${t.scope}/${t.name}/${t.path}`,scope:t.scope,name:t.name,path:t.path});let e=Si({scope:t.scope,name:t.name,path:t.path});window.location.hash!==e&&(window.location.hash=e);return}o({kind:`folder`,target:t.folderPath,folderPath:t.folderPath});let n=bi(t.folderPath);window.location.hash!==n&&(window.location.hash=n)},t[61]=H,t[62]=Ze);let Qe=Ze,$e;t[63]===H?$e=t[64]:($e=()=>{let e=`new-tab:${O.current}`;O.current+=1,he([...E.current,e]),ie(e),H!==null&&nU(H).clearActive(),o(null),K(null),window.location.hash!==``&&(window.location.hash=``)},t[63]=H,t[64]=$e);let et=$e,tt;t[65]!==s||t[66]!==a||t[67]!==H||t[68]!==Ie||t[69]!==r.activeDocName?(tt=e=>{if(w.current.includes(e)||!C.current.includes(e))return;Ie();let t=null,n=fg(e);if(Xe([e]),H!==null){let t=nU(H);n&&!mU(C.current,n,new Set([e]))&&t.close(n)}let i=s??pU(a,r.activeDocName);if(pe(n=>(t=jg(n,i,e),wg(n,e))),i===e){if(t){K(t),window.location.hash=uU(t);return}H!==null&&nU(H).clearActive(),o(null),K(null),window.location.hash=``}},t[65]=s,t[66]=a,t[67]=H,t[68]=Ie,t[69]=r.activeDocName,t[70]=tt):tt=t[70];let nt=tt,rt;t[71]!==H||t[72]!==Ie?(rt=e=>{Ie();let t=E.current;if(!t.includes(e))return;let n=t.filter(t=>t!==e);if(he(n),T.current!==e)return;let r=t.indexOf(e),i=n[r]??n[r-1]??null;if(i){ie(i),H!==null&&nU(H).clearActive(),o(null),K(null),window.location.hash!==``&&(window.location.hash=``);return}ie(null);let a=C.current[C.current.length-1]??null;if(a){K(a),window.location.hash=uU(a);return}H!==null&&nU(H).clearActive(),o(null),K(null),window.location.hash=``},t[71]=H,t[72]=Ie,t[73]=rt):rt=t[73];let it=rt,at;t[74]!==it||t[75]!==nt?(at=()=>{let e=T.current;if(e)return it(e),!0;let t=new Set(w.current),n=new Set(C.current.filter(e=>!t.has(e))),r=(S.current&&n.has(S.current)?S.current:null)??D.current.find(e=>n.has(e));if(r)return nt(r),!0;let i=new Set(E.current),a=D.current.find(e=>i.has(e));return a?(it(a),!0):!1},t[74]=it,t[75]=nt,t[76]=at):at=t[76];let ot=at,ct,lt;t[77]===ot?(ct=t[78],lt=t[79]):(ct=()=>{let e=iU();if(e)return e.onMenuAction(e=>{e===`close-active-tab-or-window`&&(ot()||window.close())})},lt=[ot],t[77]=ot,t[78]=ct,t[79]=lt),(0,Q.useEffect)(ct,lt);let ut;t[80]===H?ut=t[81]:(ut=()=>{if(H===null){o(EU),S.current=null,c(TU);return}let e=nU(H);e.getActiveDocName()!==null&&e.clearActive(),o(wU),S.current=null,c(CU)},t[80]=H,t[81]=ut);let dt;t[82]!==H||t[83]!==Ie?(dt=e=>{H!==null&&(Ie(),nU(H).close(e),pe(t=>wg(t,og(e))),c(t=>{let n=t&&fg(t)===e?null:t;return S.current=n,n}),o(t=>t&&(Ci(t)===e?null:t)))},t[82]=H,t[83]=Ie,t[84]=dt):dt=t[84];let ft;t[85]===Symbol.for(`react.memo_cache_sentinel`)?(ft=e=>{let t=gg(w.current,e,C.current);hU(w.current,t)||se(t)},t[85]=ft):ft=t[85];let pt;t[86]===Ie?pt=t[87]:(pt=e=>{let t=_g(w.current,e);hU(w.current,t)||(Ie(),se(t))},t[86]=Ie,t[87]=pt);let mt;t[88]===Qe?mt=t[89]:(mt=e=>{Qe(e)},t[88]=Qe,t[89]=mt);let ht;t[90]===Symbol.for(`react.memo_cache_sentinel`)?(ht=(e,t)=>{let n=new Set(C.current),r=new Set(E.current),i=new Set,a=[],o=[],s=[];for(let t of e)i.has(t)||(n.has(t)?(a.push(t),s.push(t),i.add(t)):r.has(t)&&(o.push(t),s.push(t),i.add(t)));for(let e of C.current)i.has(e)||(a.push(e),s.push(e),i.add(e));for(let e of E.current)i.has(e)||(o.push(e),s.push(e),i.add(e));let c=hU(C.current,a),l=hU(E.current,o),u=hU(D.current,s);c&&l&&u||(D.current=s,l||(E.current=o,h(e=>hU(e,o)?e:o)),le(a,yg(a,w.current,t)))},t[90]=ht):ht=t[90];let gt;t[91]===H?gt=t[92]:(gt=e=>{E.current.includes(e)&&(H!==null&&nU(H).clearActive(),o(null),K(null),ie(e),window.location.hash!==``&&(window.location.hash=``))},t[91]=H,t[92]=gt);let _t;t[93]===Qe?_t=t[94]:(_t=()=>{let e=[...A.current];for(;e.length>0;){let t=e.pop();if(!t)continue;if(C.current.includes(t)){A.current=e;continue}let n=bg(C.current,t,YH,w.current);if(!n.includes(t))return;A.current=e,de(n),Qe(t);return}A.current=[]},t[93]=Qe,t[94]=_t);let vt;t[95]!==s||t[96]!==a||t[97]!==H||t[98]!==Ie||t[99]!==r.activeDocName?(vt=(e,t)=>{let n=t===void 0?{}:t,i=e.filter(SU),c=new Set(n.force?i:vg(i,w.current));if(c.size===0)return;if(Ie(),n.force||Xe(C.current.filter(e=>c.has(e))),H!==null){let e=nU(H),t=new Map;for(let e of c){let n=fg(e);if(!n)continue;let r=t.get(n)??new Set;r.add(e),t.set(n,r)}for(let[n,r]of t)mU(C.current,n,r)||e.close(n)}let l=null,u=s??pU(a,r.activeDocName);if(pe(e=>(l=Mg(e,u,c),e.filter(e=>!c.has(e)))),!u||!c.has(u)){u||o(e=>{if(!e)return e;let t=ug(e);return t&&c.has(t)?null:e});return}if(l){K(l),window.location.hash=uU(l);return}H!==null&&nU(H).clearActive(),o(null),K(null),window.location.hash=``},t[95]=s,t[96]=a,t[97]=H,t[98]=Ie,t[99]=r.activeDocName,t[100]=vt):vt=t[100];let yt;t[101]!==s||t[102]!==a||t[103]!==H||t[104]!==Ie||t[105]!==l||t[106]!==r.activeDocName?(yt=e=>{let{pages:t,folderPaths:n,assetPaths:i}=e,c=Eg(l,{pages:t,folderPaths:n,assetPaths:i,keepMissingDocName:a?.kind===`missing`?a.target:null,keepHashDocName:typeof window<`u`?Ei(window.location.hash):null});if(c.length===l.length)return;let u=new Set(c),d=l.filter(e=>!u.has(e)),f=new Set(d);if(Ie(),H!==null){let e=nU(H);for(let t of d){let n=fg(t);n&&e.close(n)}}de(c);let p=typeof window<`u`?dU(window.location.hash):null,m=s??pU(a,r.activeDocName),h=p&&f.has(p)?p:m&&f.has(m)?m:null;if(!h){o(e=>{if(!e)return e;let t=ug(e);return t&&f.has(t)?null:e});return}let g=Mg(l,h,d);if(g){K(g),window.location.hash=uU(g);return}H!==null&&nU(H).clearActive(),o(null),K(null),window.location.hash=``},t[101]=s,t[102]=a,t[103]=H,t[104]=Ie,t[105]=l,t[106]=r.activeDocName,t[107]=yt):yt=t[107];let bt;t[108]!==H||t[109]!==Ie?(bt=(e,t,n)=>{let r=t===void 0?[]:t,i=n===void 0?[]:n;Ie();let a=Dg(C.current,e,YH,r,w.current,i),o=mg(Dg(w.current,e,2**53-1,r,[],i),a);if(H!==null){let e=nU(H);for(let t of a){let n=fg(t);n&&e.open(n)}}D.current=Og(D.current,e,r,i),le(a,o);let s=S.current;if(s){let t=Dg([s],e,1,r,[],i)[0];t&&a.includes(t)&&K(t)}},t[108]=H,t[109]=Ie,t[110]=bt):bt=t[110];let xt,St,Ct,wt,Tt;t[111]===H?(xt=t[112],St=t[113],Ct=t[114],wt=t[115],Tt=t[116]):(xt=async e=>{H!==null&&(await nU(H).closeAndClearPersistence(e),o(t=>t&&(Ci(t)===e?null:t)))},St=()=>H===null?null:nU(H).getActiveDocName(),Ct=e=>H===null?!1:nU(H).has(e),wt=e=>{H!==null&&nU(H).recycle(e)},Tt=e=>H===null?null:nU(H).prewarm(e)?.poolEventId??null,t[111]=H,t[112]=xt,t[113]=St,t[114]=Ct,t[115]=wt,t[116]=Tt);let Et,Dt,Ot,kt,At;t[117]===H?(Et=t[118],Dt=t[119],Ot=t[120],kt=t[121],At=t[122]):(Et=e=>{H!==null&&nU(H).setExpectedServerInstanceId(e)},Dt=async e=>{if(H===null)return;let t=nU(H);t.setObservedBranch(e),await zf(t,e),ki([`files`,`backlinks`,`graph`]),Ai(e)},Ot=async e=>{if(H===null)return;let t=nU(H);t.compareAndUpdateObservedBranch(e)&&(await zf(t,e),ki([`files`,`backlinks`,`graph`]),Ai(e))},kt=(e,t)=>{H!==null&&nU(H).observeDiskAck(e,t)},At=async()=>{H!==null&&await Hf(nU(H))},t[117]=H,t[118]=Et,t[119]=Dt,t[120]=Ot,t[121]=kt,t[122]=At);let jt;t[123]!==z||t[124]!==R||t[125]!==r.activeDocName?(jt=(e,t)=>{if(!r.activeDocName&&t){window.location.hash=Di(t),B(e),ee(`agent`),V(xU);return}if(R===`agent`&&z===e){ee(`doc`);return}B(e),ee(`agent`),V(bU)},t[123]=z,t[124]=R,t[125]=r.activeDocName,t[126]=jt):jt=t[126];let Mt;t[127]===Symbol.for(`react.memo_cache_sentinel`)?(Mt=()=>{ee(`doc`),B(null)},t[127]=Mt):Mt=t[127];let Nt;t[128]!==v||t[129]!==s||t[130]!==a||t[131]!==ot||t[132]!==it||t[133]!==nt||t[134]!==W||t[135]!==U||t[136]!==H||t[137]!==z||t[138]!==te||t[139]!==R||t[140]!==Ae||t[141]!==m||t[142]!==Be||t[143]!==He||t[144]!==et||t[145]!==l||t[146]!==Ke||t[147]!==Je||t[148]!==d||t[149]!==P||t[150]!==ne||t[151]!==r.activeDocName||t[152]!==r.activeProvider||t[153]!==r.poolEntries||t[154]!==r.serverRestartRecovery||t[155]!==r.syncState||t[156]!==I||t[157]!==ut||t[158]!==dt||t[159]!==pt||t[160]!==mt||t[161]!==gt||t[162]!==_t||t[163]!==vt||t[164]!==yt||t[165]!==bt||t[166]!==xt||t[167]!==St||t[168]!==Ct||t[169]!==wt||t[170]!==Tt||t[171]!==Et||t[172]!==Dt||t[173]!==Ot||t[174]!==kt||t[175]!==At||t[176]!==jt||t[177]!==b||t[178]!==g?(Nt={principal:P,activeTarget:a,activeTabId:s,activeDocName:r.activeDocName,activeProvider:r.activeProvider,openTabs:l,pinnedTabIds:d,visibleTabIds:g,tabSessionLoaded:b,syncState:r.syncState,serverRestartRecovery:r.serverRestartRecovery,poolEntries:r.poolEntries,openDocument:Be,openDocumentTransition:He,openTarget:Ke,openTargetTransition:Je,clearTarget:ut,closeDocument:dt,closeActiveTabOrWindow:ot,closeTab:nt,pinTab:ft,unpinTab:pt,activateTab:mt,reorderTabs:ht,newTabIds:m,activeNewTabId:v,isNewTabActive:Ae,openNewTab:et,activateNewTab:gt,closeNewTab:it,reopenClosedTab:_t,closeTabs:vt,syncOpenTabsWithKnownTargets:yt,remapTabsForRename:bt,closeAndClearForRename:xt,getPoolActiveDocName:St,poolHas:Ct,recycleDocument:wt,prewarm:Tt,systemProvider:I,setSystemProvider:L,updateServerInstanceId:Et,onBranchSwitched:Dt,observeBranch:Ot,observeDiskAck:kt,refreshServerInfo:At,collabUrl:H,collabTerminal:U,collabLastError:W,retryCollab:ne,docPanelMode:R,docPanelAgentId:z,docPanelExpandSignal:te,openActivityPanel:jt,closeActivityPanel:Mt},t[128]=v,t[129]=s,t[130]=a,t[131]=ot,t[132]=it,t[133]=nt,t[134]=W,t[135]=U,t[136]=H,t[137]=z,t[138]=te,t[139]=R,t[140]=Ae,t[141]=m,t[142]=Be,t[143]=He,t[144]=et,t[145]=l,t[146]=Ke,t[147]=Je,t[148]=d,t[149]=P,t[150]=ne,t[151]=r.activeDocName,t[152]=r.activeProvider,t[153]=r.poolEntries,t[154]=r.serverRestartRecovery,t[155]=r.syncState,t[156]=I,t[157]=ut,t[158]=dt,t[159]=pt,t[160]=mt,t[161]=gt,t[162]=_t,t[163]=vt,t[164]=yt,t[165]=bt,t[166]=xt,t[167]=St,t[168]=Ct,t[169]=wt,t[170]=Tt,t[171]=Et,t[172]=Dt,t[173]=Ot,t[174]=kt,t[175]=At,t[176]=jt,t[177]=b,t[178]=g,t[179]=Nt):Nt=t[179];let Pt=Nt,Ft;return t[180]!==n||t[181]!==Pt?(Ft=(0,Z.jsx)(eU,{value:Pt,children:n}),t[180]=n,t[181]=Pt,t[182]=Ft):Ft=t[182],Ft}function bU(e){return e+1}function xU(e){return e+1}function SU(e){return e.length>0}function CU(e){return e===null?e:null}function wU(e){return e===null?e:null}function TU(e){return e===null?e:null}function EU(e){return e===null?e:null}function DU(e){return e.ok?e.json():Promise.reject(Error(`HTTP ${e.status}`))}function OU(e){console.warn(`[editor-tabs] failed to persist tab session:`,e)}function kU(e){console.warn(`[editor-tabs] failed to restore tab session:`,e)}function AU(){let e=(0,Q.use)(eU);if(!e)throw Error(`useDocumentContext must be used within <DocumentProvider />`);return e}function jU(){let e=(0,$.c)(3),{openDocumentTransition:t,openTargetTransition:n}=AU(),r;return e[0]!==t||e[1]!==n?(r={openDocumentTransition:t,openTargetTransition:n},e[0]=t,e[1]=n,e[2]=r):r=e[2],r}export{ID as $,Qa as $n,Uf as $t,uR as A,du as An,jh as At,aP as B,So as Bn,Mm as Bt,az as C,rd as Cn,lg as Ct,QR as D,Xu as Dn,Sh as Dt,rz as E,$u as En,Wh as Et,dF as F,Lo as Fn,ah as Ft,AN as G,mo as Gn,Ap as Gt,UN as H,_o as Hn,Up as Ht,rF as I,Fo as In,ih as It,mO as J,oo as Jn,pp as Jt,kN as K,lo as Kn,_p as Kt,PP as L,Oo as Ln,rh as Lt,VF as M,Cu as Mn,vh as Mt,zF as N,xu as Nn,zh as Nt,NR as O,Wu as On,yh as Ot,BF as P,gu as Pn,Wm as Pt,WD as Q,$a as Qn,Zf as Qt,bP as R,Eo as Rn,Xm as Rt,nz as S,ud as Sn,ug as St,iz as T,Qu as Tn,Gh as Tt,BN as U,go as Un,ym as Ut,ZN as V,vo as Vn,Nm as Vt,MN as W,ho as Wn,Tm as Wt,SA as X,io as Xn,mp as Xt,NO as Y,ao as Yn,gp as Yt,gO as Z,to as Zn,ep as Zt,FV as _,yd as _n,og as _t,_H as a,kf as an,Ha as ar,Ub as at,Az as b,dd as bn,dg as bt,hH as c,vf as cn,Ia as cr,sy as ct,NH as d,Cf as dn,Na as dr,iv as dt,Bf as en,Xa as er,ND as et,pH as f,bf as fn,tv as ft,PV as g,xd as gn,cg as gt,KV as h,Tf as hn,I_ as ht,vH as i,Ef as in,Ua as ir,gS as it,rL as j,Nu as jn,Oh as jt,TR as k,pu as kn,Ah as kt,PH as l,yf as ln,Fa as lr,Iv as lt,qV as m,xf as mn,B_ as mt,AU as n,Af as nn,qa as nr,FE as nt,gH as o,Of as on,Va as or,vb as ot,fH as p,wf as pn,V_ as pt,xA as q,so as qn,hp as qt,jU as r,jf as rn,Wa as rr,PE as rt,yH as s,Df as sn,La as sr,Vy as st,yU as t,Lf as tn,Ya as tr,VD as tt,kH as u,Sf as un,Pa as ur,Pv as ut,AB as v,_d as vn,vg as vt,oz as w,id as wn,Kh as wt,lz as x,vd as xn,kg as xt,DB as y,fd as yn,sg as yt,dP as z,To as zn,Pm as zt};