@inkeep/open-knowledge 0.88.6-beta.3 → 0.88.6-beta.5

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 (245) hide show
  1. package/dist/alias-JE7RI5QX-D_KITrCa.mjs +1 -0
  2. package/dist/assets/skills/project/references/ingest-and-sources.md +1 -1
  3. package/dist/awk2-BBAGSFUB-CehlsFZ5.mjs +1 -0
  4. package/dist/bash-IJWYRKFO-D1gJZuWH.mjs +1 -0
  5. package/dist/chokidar-D0G-K3zc.mjs +3 -0
  6. package/dist/{chunk-3BS5SKQH-C9C8uLJE.mjs → chunk-3BS5SKQH-CKmQMz_L.mjs} +15 -15
  7. package/dist/{chunk-62RKD26F-Bv6peUyf.mjs → chunk-62RKD26F-B6OssxCM.mjs} +3 -3
  8. package/dist/{chunk-6Z5SFZXK-CiQN8zZ8.mjs → chunk-6Z5SFZXK-D2_6X1Dn.mjs} +35 -35
  9. package/dist/chunk-A4JSPFCI-DQxLkrTb.mjs +6 -0
  10. package/dist/chunk-D6CWQ5DW-BybImdUI.mjs +5 -0
  11. package/dist/chunk-GOV5EKKI-D42P07Xu.mjs +9 -0
  12. package/dist/{chunk-HKLCLINH-BHo2f5d2.mjs → chunk-HKLCLINH-C2rvDMlW.mjs} +20 -20
  13. package/dist/{chunk-HL6NGDO2-BFPiiJBP.mjs → chunk-HL6NGDO2-CvsVMff5.mjs} +9 -9
  14. package/dist/{chunk-I57KEIP3-C90kULU7.mjs → chunk-I57KEIP3-BrnLL4Gl.mjs} +4 -4
  15. package/dist/{chunk-K6LIBGJA-D-bMYdgr.mjs → chunk-K6LIBGJA-CN_13h4C.mjs} +7 -7
  16. package/dist/{chunk-KRBPSX3W-DXuvylLd.mjs → chunk-KRBPSX3W-CY8FCKFm.mjs} +2 -2
  17. package/dist/chunk-MDDMCKUK-ByCsPSNd.mjs +6 -0
  18. package/dist/chunk-MIZPJHVH-DrIwZ3F_.mjs +7 -0
  19. package/dist/chunk-NAERJDUW-nfjIZ3Pb.mjs +8 -0
  20. package/dist/chunk-NUYSJFDK-M0xrw_uS.mjs +7 -0
  21. package/dist/chunk-OCLXQMOG-DHLmxiVS.mjs +6 -0
  22. package/dist/{chunk-OCS6LSEM-BBT5tk28.mjs → chunk-OCS6LSEM-CUgQNrT_.mjs} +7 -7
  23. package/dist/{chunk-PBXLG62G-G7lHqZ9p.mjs → chunk-PBXLG62G-CuixUdAo.mjs} +3 -3
  24. package/dist/{chunk-T56QNPHK-BuLSSwpV.mjs → chunk-T56QNPHK-BhobE-0w.mjs} +3 -3
  25. package/dist/chunk-TLSUDHID-BpXt2GFu.mjs +6 -0
  26. package/dist/{chunk-TOMNU26N-CPb3jib2.mjs → chunk-TOMNU26N-Bhlbw7_h.mjs} +3 -3
  27. package/dist/{chunk-TP4BZANS-BKDDD1i2.mjs → chunk-TP4BZANS-Dv2qAxWh.mjs} +12 -12
  28. package/dist/{chunk-XKWWSDBF-CiyukTrj.mjs → chunk-XKWWSDBF-COm-Bab0.mjs} +10 -10
  29. package/dist/{chunk-YMMW5UAP-B7swMNER.mjs → chunk-YMMW5UAP-CTA9rr10.mjs} +7 -7
  30. package/dist/chunk-YTNYSM6T-gRMum0pq.mjs +11 -0
  31. package/dist/{chunk-YULBWSET-BjwIKz2I.mjs → chunk-YULBWSET-BZbeBpnM.mjs} +6 -6
  32. package/dist/{chunk-Z6LRHWXI-B5pNb54L.mjs → chunk-Z6LRHWXI-BE3EMa92.mjs} +5 -5
  33. package/dist/{chunk-ZZO3UDB3-Dr2Q2MNF.mjs → chunk-ZZO3UDB3-C92Poglu.mjs} +32 -32
  34. package/dist/cli-DtqA8k1H.mjs +110 -0
  35. package/dist/cli.mjs +1 -110
  36. package/dist/constants-D-73L_8T.mjs +1 -0
  37. package/dist/constants-ok-dir-DZ25OS9-.mjs +115 -0
  38. package/dist/{cp-XOYR4ABJ-BWvobbqd.mjs → cp-XOYR4ABJ-KRhRq3W9.mjs} +1 -1
  39. package/dist/{curl-47BFPSFW-CjxwhFSt.mjs → curl-47BFPSFW-D1cYHIfa.mjs} +8 -8
  40. package/dist/{diff-HJF2MPDN-B5Vu5bd_.mjs → diff-HJF2MPDN-CLb1d3Pm.mjs} +1 -1
  41. package/dist/dist-D4ipyg1q.mjs +1 -0
  42. package/dist/{dist-Br5t34YL.mjs → dist-DPe6aLSk.mjs} +518 -522
  43. package/dist/env-5EPCWSXR-B6cYhau7.mjs +1 -0
  44. package/dist/expansion-VBDYWVZR-vhATs2YP.mjs +1 -0
  45. package/dist/expr-YYCVMXE3-BG-gQLPe.mjs +1 -0
  46. package/dist/{file-IGDTDPLG-CRy1Omyh.mjs → file-IGDTDPLG-CqcQiax7.mjs} +1 -1
  47. package/dist/find-DH2ALKQS-DUCbwSBg.mjs +1 -0
  48. package/dist/flag-coverage-6JEX67RU-BgXRRqNM.mjs +1 -0
  49. package/dist/fs-find-project-root-BYV07wjn.mjs +5 -0
  50. package/dist/git-credential-get-BOA4DNNp.mjs +2 -0
  51. package/dist/git-credential-helper-DY8W25nc.mjs +1 -0
  52. package/dist/git-credential-operation-9lLcCrJB.mjs +1 -0
  53. package/dist/grep-2HUTXO5U-CbvcQZdY.mjs +1 -0
  54. package/dist/index.mjs +302 -302
  55. package/dist/{init-CFqa1MvX.mjs → init-C08CTCp9.mjs} +28 -28
  56. package/dist/init-CSYVvJYZ.mjs +1 -0
  57. package/dist/jq-LYZFFBZB-DP4gih1P.mjs +1 -0
  58. package/dist/{js-exec-VXN6TZ7U-Z8_USGOo.mjs → js-exec-VXN6TZ7U-B4rL1N_3.mjs} +4 -4
  59. package/dist/{js-exec-VXN6TZ7U-D--44jnh.mjs → js-exec-VXN6TZ7U-CByMmXZz.mjs} +8 -8
  60. package/dist/launch-json-removal-B39BoBBe.mjs +1 -0
  61. package/dist/{lib-CxwDRGVJ.mjs → lib-CGyiYSWt.mjs} +15 -15
  62. package/dist/{ln-4TRFBYAT-xkfE7-89.mjs → ln-4TRFBYAT-RK1Uvly1.mjs} +1 -1
  63. package/dist/loader-D4dq2xfA.mjs +1 -0
  64. package/dist/loader-DeOCcx0c.mjs +1 -0
  65. package/dist/{lzma-CEMDJHEs.mjs → lzma-B6QS2aZK.mjs} +2 -2
  66. package/dist/{lzma-PPHiE419.mjs → lzma-VPfz3anC.mjs} +1 -1
  67. package/dist/md-manager-BGnqyqi1-DmEmjhMs.mjs +400 -0
  68. package/dist/{mkdir-TDEMSB6C-DKSMdaAE.mjs → mkdir-TDEMSB6C-Ds9y3YxN.mjs} +1 -1
  69. package/dist/{mv-Z6MORUFL-C-C4Dr_j.mjs → mv-Z6MORUFL-C9ixK1Sz.mjs} +1 -1
  70. package/dist/{open-browser-BgcinSRG.mjs → open-browser-d8GjenQK.mjs} +1 -1
  71. package/dist/parse-worker.mjs +1 -1
  72. package/dist/preview-BD9T555q.mjs +1 -0
  73. package/dist/preview-BOmvdi0o.mjs +2 -0
  74. package/dist/printf-CX64KX2P-DlBDp9me.mjs +1 -0
  75. package/dist/public/assets/{AccountSection-LJRd8sB4.js → AccountSection-UK4fSEAo.js} +1 -1
  76. package/dist/public/assets/{ActivityModeContent-CQSexLMh.js → ActivityModeContent-CD3FGIx9.js} +1 -1
  77. package/dist/public/assets/{AddPropertiesButton-CFKmvgxU.js → AddPropertiesButton-B6p_gdr8.js} +1 -1
  78. package/dist/public/assets/{AgentDiffPane-_ihWGbD_.js → AgentDiffPane-DkoQ7ai2.js} +1 -1
  79. package/dist/public/assets/{AttachmentsSection-DBsgV2Bw.js → AttachmentsSection-B4oQIzeZ.js} +1 -1
  80. package/dist/public/assets/{CodeMirrorPropInput-CijXVQab.js → CodeMirrorPropInput-B9s5B9Bw.js} +2 -2
  81. package/dist/public/assets/{ContentRulesSection-C6MePblA.js → ContentRulesSection-aWJrYA4j.js} +1 -1
  82. package/dist/public/assets/{DocumentContext-Ckv8SUWG.js → DocumentContext-DXpWi5ky.js} +2 -2
  83. package/dist/public/assets/{EditorModeToggle-N2hyqb1I.js → EditorModeToggle-Diya7MyF.js} +1 -1
  84. package/dist/public/assets/{ExcalidrawDocEditor-CP2HLZRg.js → ExcalidrawDocEditor-PRwr0WYf.js} +1 -1
  85. package/dist/public/assets/FeedbackForm-Cvqd9EXq.js +1 -0
  86. package/dist/public/assets/{ImportSkillDialog-B6FRcFBN.js → ImportSkillDialog-CMk2xlCO.js} +1 -1
  87. package/dist/public/assets/{LinkPreviewsSection-C4BQkoW1.js → LinkPreviewsSection-KX_4h53c.js} +1 -1
  88. package/dist/public/assets/{LintConfigEditor-BZ5RnGQH.js → LintConfigEditor-7ZtCVw7Y.js} +1 -1
  89. package/dist/public/assets/{LintingSection-gYcf6zSw.js → LintingSection-ClAY_FjD.js} +1 -1
  90. package/dist/public/assets/ManagedArtifactProperties-C6A9h_XM.js +1 -0
  91. package/dist/public/assets/{ManagedArtifactProperties-7BpPCdWC.js → ManagedArtifactProperties-lEwwds9N.js} +1 -1
  92. package/dist/public/assets/{MermaidDocEditor-D8S17k_t.js → MermaidDocEditor-DHUtun4r.js} +1 -1
  93. package/dist/public/assets/{NetworkAccessSection-CfSEDmXg.js → NetworkAccessSection-CkW30CIT.js} +1 -1
  94. package/dist/public/assets/{PropertyDisplayRow-BoNQImBU.js → PropertyDisplayRow-D6c0dfSa.js} +1 -1
  95. package/dist/public/assets/{PublishToGitHubDialog-Bc5NpD70.js → PublishToGitHubDialog-CwF7zH2X.js} +1 -1
  96. package/dist/public/assets/{SchemaConfigEditor-DXzybru5.js → SchemaConfigEditor-BEJxtFtu.js} +1 -1
  97. package/dist/public/assets/{SearchSection-C19oEXnN.js → SearchSection-CDyx2C9f.js} +1 -1
  98. package/dist/public/assets/{SessionsHost-Dq18GV-Q.js → SessionsHost-H5NLeN9a.js} +2 -2
  99. package/dist/public/assets/{SettingsDialogBody-CKMzthec.js → SettingsDialogBody-C_YjecBu.js} +2 -2
  100. package/dist/public/assets/{ShareReceiveMissDialog-CjeRKStG.js → ShareReceiveMissDialog-D_FkOpht.js} +1 -1
  101. package/dist/public/assets/{SkillToolbarControls-Bw0kbj8T.js → SkillToolbarControls-CtxNLAp-.js} +1 -1
  102. package/dist/public/assets/{SourceEditor-Cdd0XUzF.js → SourceEditor-B5LnWxyf.js} +1 -1
  103. package/dist/public/assets/{SpellingSettings-D39D0V93.js → SpellingSettings-05EGR87o.js} +1 -1
  104. package/dist/public/assets/{SyncSection-uN1z_93L.js → SyncSection-D3PTVWIM.js} +1 -1
  105. package/dist/public/assets/{SyncStatusBadge-DKqP2nFA.js → SyncStatusBadge-BaJrZaL1.js} +1 -1
  106. package/dist/public/assets/{TerminalSection-OQKUYevA.js → TerminalSection-CsRkbMx2.js} +1 -1
  107. package/dist/public/assets/{TerminalWindowApp-CYJ1Jbl1.js → TerminalWindowApp-CA9GKqNE.js} +1 -1
  108. package/dist/public/assets/{TextDocEditor-O7zcpBhs.js → TextDocEditor-Ch27GvYs.js} +1 -1
  109. package/dist/public/assets/{ThemePluginSection-DvDmnFk0.js → ThemePluginSection-_vipA-fZ.js} +1 -1
  110. package/dist/public/assets/{ThreadView-DXAtEUVo.js → ThreadView-Dj6jQfOU.js} +1 -1
  111. package/dist/public/assets/{TimelineDiffPane-DfckigW2.js → TimelineDiffPane-4gPranZj.js} +1 -1
  112. package/dist/public/assets/{client-version-BJc8f8RK.js → client-version-B_xA5Zs6.js} +1 -1
  113. package/dist/public/assets/{comment-chips-D5QcVI38.js → comment-chips-nSpyi8g5.js} +1 -1
  114. package/dist/public/assets/{config-provider-B2uReVA0.js → config-provider-CNRgcd7O.js} +1 -1
  115. package/dist/public/assets/config-schema-BiXW8bgJ.js +1 -0
  116. package/dist/public/assets/{doc-undo-manager-eVCrXF_j.js → doc-undo-manager-mWX4_oGV.js} +1 -1
  117. package/dist/public/assets/{field-controls-BUVPC8fp.js → field-controls-7BMlpso-.js} +1 -1
  118. package/dist/public/assets/field-controls-Bx5mePuq.js +1 -0
  119. package/dist/public/assets/{index-DixZkzDK.js → index-DvFhVjVJ.js} +7 -7
  120. package/dist/public/assets/{lint-config-client-IECAMEY0.js → lint-config-client-CE9biPJr.js} +1 -1
  121. package/dist/public/assets/{lint-plugins-BkTeSxCo.js → lint-plugins-DAx86XSh.js} +1 -1
  122. package/dist/public/assets/{markdown-lint-Gr2dt_mE.js → markdown-lint-BU1ReVdL.js} +1 -1
  123. package/dist/public/assets/{markdownlint-rule-browser-BPUY-_hO.js → markdownlint-rule-browser-CX5Nb4yK.js} +1 -1
  124. package/dist/public/assets/messages-3TywIfo0.js +1 -0
  125. package/dist/public/assets/messages-60dgDSH4.js +1 -0
  126. package/dist/public/assets/messages-9vrrNpJf.js +1 -0
  127. package/dist/public/assets/messages-B-A9_jul.js +1 -0
  128. package/dist/public/assets/messages-B4Eyfdod.js +1 -0
  129. package/dist/public/assets/messages-BsQXyfTQ.js +1 -0
  130. package/dist/public/assets/messages-CIj-vRyV.js +1 -0
  131. package/dist/public/assets/messages-CZbBFMhU.js +1 -0
  132. package/dist/public/assets/messages-D5Q2aWu3.js +1 -0
  133. package/dist/public/assets/messages-D6ypArrS.js +1 -0
  134. package/dist/public/assets/messages-Zpi3sLU2.js +1 -0
  135. package/dist/public/assets/messages-lMmvlKg7.js +1 -0
  136. package/dist/public/assets/messages-yXb-shTo.js +1 -0
  137. package/dist/public/assets/{pending-receive-nav-store-Iv87HrBp.js → pending-receive-nav-store-hbWxGWbG.js} +1 -1
  138. package/dist/public/assets/{preferred-session-events-xfa2uZrO.js → preferred-session-events-CD3TX4uI.js} +1 -1
  139. package/dist/public/assets/{progress-BrArAZHf.js → progress-Bp-8Nd7B.js} +1 -1
  140. package/dist/public/assets/{saved-themes-client-CERsocAi.js → saved-themes-client-Cefq8Snw.js} +1 -1
  141. package/dist/public/assets/{schema-section-DxwzENze.js → schema-section-BTjV9wCm.js} +1 -1
  142. package/dist/public/assets/{selection-context-Dbqj5HIF.js → selection-context-C7DBYtd4.js} +1 -1
  143. package/dist/public/assets/{src-CY4cyl93.js → src-Bd4ITI6l.js} +1 -1
  144. package/dist/public/assets/{telemetry-impl-CzmRwkV2.js → telemetry-impl-D34TS_t5.js} +1 -1
  145. package/dist/public/assets/{telemetry-startup-6UOhK4H3.js → telemetry-startup-S6YVb_-D.js} +1 -1
  146. package/dist/public/assets/{typing-burst-detector-43TkkCGr.js → typing-burst-detector-BPhBcJhO.js} +1 -1
  147. package/dist/public/assets/{uninstall-Drxc7ooZ.js → uninstall-CBADj29y.js} +1 -1
  148. package/dist/public/assets/{use-activity-panel-Bqo7iLoL.js → use-activity-panel-DAiQAul-.js} +1 -1
  149. package/dist/public/assets/{use-apply-config-language-DWhramML.js → use-apply-config-language-BVhx79Sp.js} +2 -2
  150. package/dist/public/assets/{use-open-skill-DiaFh1sV.js → use-open-skill-BiGTEBAG.js} +1 -1
  151. package/dist/public/assets/{use-terminal-enabled-D67U-_lT.js → use-terminal-enabled-BPFt3ZjV.js} +1 -1
  152. package/dist/public/assets/{use-timeline-entry-diff-KpbAdkg7.js → use-timeline-entry-diff-DI6wb0mp.js} +1 -1
  153. package/dist/public/index.html +24 -24
  154. package/dist/public/uninstall.html +3 -3
  155. package/dist/python3-DNGS4G3E-BgcDJ4cm.mjs +11 -0
  156. package/dist/{python3-DNGS4G3E-CixyRGKv.mjs → python3-DNGS4G3E-Cm5Hwa-u.mjs} +3 -3
  157. package/dist/registry-probes-CQ5QHLWA.mjs +16 -0
  158. package/dist/{removal-file-path-BB7PGKh9.mjs → removal-file-path-DhnfL9uo.mjs} +1 -1
  159. package/dist/{repair-launch-json-BGnKoX_8.mjs → repair-launch-json-D4tGRImu.mjs} +1 -1
  160. package/dist/{repair-mcp-configs-CnuXQsDL.mjs → repair-mcp-configs-CkXUYNJq.mjs} +1 -1
  161. package/dist/rg-XNF3R3II-BCapXTDd.mjs +1 -0
  162. package/dist/{rm-RTZG23RL-CVxZCS0d.mjs → rm-RTZG23RL-pdC15ghA.mjs} +1 -1
  163. package/dist/{rmdir-XTQXT7RK-DnFOfz6J.mjs → rmdir-XTQXT7RK-DcllfdyA.mjs} +1 -1
  164. package/dist/sed-JAPPVBEU-BogTEm4c.mjs +1 -0
  165. package/dist/{sleep-VZFPZFWA-C-QGmlTD.mjs → sleep-VZFPZFWA-Z-cEwS7i.mjs} +1 -1
  166. package/dist/sqlite3-TE5AIOTF-DqoN8a9C.mjs +1 -0
  167. package/dist/{sqlite3-TE5AIOTF-DVwda1Ow.mjs → sqlite3-TE5AIOTF-DxxxT49W.mjs} +3 -3
  168. package/dist/src-DxORHPwx.mjs +1 -0
  169. package/dist/src-uYPRavFi.mjs +16 -0
  170. package/dist/start-BVplvpm0.mjs +5 -0
  171. package/dist/start-Dp7OVBDP.mjs +1 -0
  172. package/dist/tar-MZQD7NO4-DEw7Py1-.mjs +1 -0
  173. package/dist/{tar-MZQD7NO4-BRGDcHqv.mjs → tar-MZQD7NO4-ljX84Spn.mjs} +2 -2
  174. package/dist/time-DEUO3QV2-BdkhaszE.mjs +1 -0
  175. package/dist/{timeout-VRKMCG72-Bn-zPLw8.mjs → timeout-VRKMCG72-BJshiKR9.mjs} +1 -1
  176. package/dist/token-store-Bmb3_0hU.mjs +2 -0
  177. package/dist/touch-DX2IJOQ4-DQk2E3PA.mjs +1 -0
  178. package/dist/{tr-2HXZRDSW-D6nqhlWa.mjs → tr-2HXZRDSW-B9XzLO_W.mjs} +1 -1
  179. package/dist/xan-UD7JYIL2-B0nl-bKu.mjs +1 -0
  180. package/dist/xargs-I6EZUCYF-DyMYQH4H.mjs +1 -0
  181. package/dist/yq-OAKYHSXH-BuWuWli6.mjs +1 -0
  182. package/package.json +4 -4
  183. package/dist/alias-JE7RI5QX-DJCUhA0w.mjs +0 -1
  184. package/dist/awk2-BBAGSFUB-e61UM1Y8.mjs +0 -1
  185. package/dist/bash-IJWYRKFO-L9NsSg-G.mjs +0 -1
  186. package/dist/chokidar-BXdru135.mjs +0 -3
  187. package/dist/chunk-A4JSPFCI-Ywh1N_m_.mjs +0 -6
  188. package/dist/chunk-D6CWQ5DW-CWPsf9FV.mjs +0 -5
  189. package/dist/chunk-GOV5EKKI-DH8052og.mjs +0 -9
  190. package/dist/chunk-MDDMCKUK-B8V-vwhF.mjs +0 -6
  191. package/dist/chunk-MIZPJHVH-D45kCv1L.mjs +0 -7
  192. package/dist/chunk-NAERJDUW-g_zD_t_X.mjs +0 -8
  193. package/dist/chunk-NUYSJFDK-C3CfS8pU.mjs +0 -7
  194. package/dist/chunk-OCLXQMOG-BgcVHeKY.mjs +0 -6
  195. package/dist/chunk-TLSUDHID-BY7gVdyC.mjs +0 -6
  196. package/dist/chunk-YTNYSM6T-3WjLDS_v.mjs +0 -11
  197. package/dist/constants-qWODYpdZ.mjs +0 -1
  198. package/dist/dist-DFlcDcjF.mjs +0 -1
  199. package/dist/env-5EPCWSXR-hkmWHgd5.mjs +0 -1
  200. package/dist/expansion-VBDYWVZR-CPnYsIZl.mjs +0 -1
  201. package/dist/expr-YYCVMXE3-DtiMaNQl.mjs +0 -1
  202. package/dist/find-DH2ALKQS-44-asZtW.mjs +0 -1
  203. package/dist/flag-coverage-6JEX67RU-CvfAS1f3.mjs +0 -1
  204. package/dist/grep-2HUTXO5U-CoGVhBxG.mjs +0 -1
  205. package/dist/init-D5UpQ70d.mjs +0 -1
  206. package/dist/jq-LYZFFBZB-CXMPfDWj.mjs +0 -1
  207. package/dist/launch-json-removal-BiiU2YFK.mjs +0 -1
  208. package/dist/loader-B2fGi6oQ.mjs +0 -1
  209. package/dist/loader-CpSE6Pb3.mjs +0 -1
  210. package/dist/md-manager-BGnqyqi1-COpgRhOl.mjs +0 -514
  211. package/dist/preview-DSJofhni.mjs +0 -1
  212. package/dist/preview-W1qLrOTN.mjs +0 -2
  213. package/dist/printf-CX64KX2P-zCdxSgaG.mjs +0 -1
  214. package/dist/public/assets/FeedbackForm-DvbVD7xY.js +0 -1
  215. package/dist/public/assets/ManagedArtifactProperties-C21i-wVX.js +0 -1
  216. package/dist/public/assets/config-schema-JSuM1ay_.js +0 -1
  217. package/dist/public/assets/field-controls-DceP36U9.js +0 -1
  218. package/dist/public/assets/messages--JE1r0oK.js +0 -1
  219. package/dist/public/assets/messages-BPDRauYd.js +0 -1
  220. package/dist/public/assets/messages-Bw510bJG.js +0 -1
  221. package/dist/public/assets/messages-By-SAk_o.js +0 -1
  222. package/dist/public/assets/messages-C9dO0WcF.js +0 -1
  223. package/dist/public/assets/messages-CE48fdcx.js +0 -1
  224. package/dist/public/assets/messages-CQaF3pLd.js +0 -1
  225. package/dist/public/assets/messages-D-qO9G0a.js +0 -1
  226. package/dist/public/assets/messages-D4HWBQCW.js +0 -1
  227. package/dist/public/assets/messages-DE6pzo9b.js +0 -1
  228. package/dist/public/assets/messages-Dy13fRcA.js +0 -1
  229. package/dist/public/assets/messages-JfpWPtsW.js +0 -1
  230. package/dist/public/assets/messages-q-WCQc2m.js +0 -1
  231. package/dist/python3-DNGS4G3E-CRyO5yp1.mjs +0 -11
  232. package/dist/registry-probes-DwE2ywLj.mjs +0 -17
  233. package/dist/rg-XNF3R3II-ClllMprJ.mjs +0 -1
  234. package/dist/sed-JAPPVBEU-D49-i6JC.mjs +0 -1
  235. package/dist/sqlite3-TE5AIOTF-BK092fD6.mjs +0 -1
  236. package/dist/src-CMSKsmsA.mjs +0 -1
  237. package/dist/src-CbDiPIIp.mjs +0 -16
  238. package/dist/start-Bs7pMN0A.mjs +0 -5
  239. package/dist/start-Dx5wqmPM.mjs +0 -1
  240. package/dist/tar-MZQD7NO4-D__44nPJ.mjs +0 -1
  241. package/dist/time-DEUO3QV2-BAt2bzlP.mjs +0 -1
  242. package/dist/touch-DX2IJOQ4-BJTz2DiT.mjs +0 -1
  243. package/dist/xan-UD7JYIL2-IybnHHpT.mjs +0 -1
  244. package/dist/xargs-I6EZUCYF-CpVYZvg1.mjs +0 -1
  245. package/dist/yq-OAKYHSXH-kqRGBS-8.mjs +0 -1
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./AboutSection-Ckx7jZHN.js","./chunk-CYidjpOJ.js","./dist-Nvb76hAm.js","./jsx-runtime-BUgB2tll.js","./react-f2sANaYj.js","./label-CvMpFFbN.js","./dist-DTFuvKje.js","./dist-CSCUSbQc.js","./react-dom-DPxgxlDT.js","./compiler-runtime-BfE3aGVn.js","./utils-CPqDy6Hr.js","./bundle-mjs-SHeFpKGC.js","./switch-BKZTXkzu.js","./dist-DBXmXNZF.js","./dist-CRjqnzU7.js","./arrow-up-right-nJaICi16.js","./createLucideIcon-DdBzwsHe.js","./spinner-Bx8xD6f8.js","./SettingsSectionHeader-2iTSJQHd.js","./tooltip-BjuCvy5N.js","./dist-DXjgFhPl2.js","./floating-ui.dom-BYl7JZd0.js","./dist-CxbWbOvU.js","./badge-DcyFOLs8.js","./dist-BsJYDohW.js","./external-link-DxgIpECR.js","./button-DzgjsZzC.js","./SharingSection-RBUd50Bj.js","./radio-group-G1GR05Rb.js","./dist-uiDX6Nr9.js","./dist-BKgU0kag.js","./dist-BGzUo_18.js","./ConfigSharingInfoTooltip-CJywmyrk.js","./info-CyR0W2SK.js","./skeleton-2Ewnato7.js","./channel-cli-copy-BySq87hR.js","./constants-product-BVSOzxVs.js","./AccountSection-LJRd8sB4.js","./SyncStatusBadge-DKqP2nFA.js","./config-provider-B2uReVA0.js","./trace-api-nQInEDYS.js","./status-CUwkWWLj.js","./dist-PQ5KMVDh.js","./schemas-api-a9pvDgLB.js","./schemas-B93JY9Ef.js","./_envelope-DuFpUEag-C9dastPz.js","./share-D-LUU2aX-B7Yg0G_m.js","./util-doc-name-DRKmy6g9.js","./constants-cc1-Bt4QPTUe.js","./constants-github-B7yhDvQc.js","./doc-extensions-CcO7K8uD-DG9uHV54.js","./logging-renderer-log-CqIZVUIQ.js","./skill-targets-schema-D6kA7J61.js","./constants-editors-DmmORwNP.js","./use-apply-config-language-DWhramML.js","./preload-helper-Chd9yIcd.js","./dist-C_FzPxEX2.js","./messages-CQaF3pLd.js","./client-version-BJc8f8RK.js","./css-color-to-hex-DCeKOSiM.js","./use-apply-config-color-theme-DlOgjow1.js","./use-apply-config-theme-CYFG76sS.js","./saved-themes-client-CERsocAi.js","./constants-upload-DZP-sCdl.js","./select-Bx_fIuqY.js","./es2015-Dtr4fzLT.js","./check-B2OLRY33.js","./chevron-down-CEv6N8LG.js","./collapsible-BKbszYZV.js","./arrow-up-BGHhPj4y.js","./chevron-right-Bofu4lib.js","./settings-2-DoBlNQMk.js","./git-merge-VDBzSZBV.js","./refresh-cw-BVQchE6b.js","./terminal-B38K-KMo.js","./triangle-alert-DFWRwfH7.js","./DisclosureWarning-P2FKhrj3.js","./terminal-command-events-50rqs16L.js","./handoff-D8XQ10zF.js","./dialog-CAxu_6pu.js","./electron-drag-strip-D9GZhMg_.js","./x-wldAHzfP.js","./popover-Dxc5JyiN.js","./dist-Cj3Bpren.js","./use-conflicts-BaX7IHiw.js","./documents-events-BmU3ACXG.js","./schemas-cc1-B-Y7IUGl.js","./config-errors-CHiUH8-1.js","./use-git-sync-status-2jy5qKEq.js","./doc-hash-i74qqRXc.js","./reveal-editor-CoucRZz8.js","./use-settings-route-BGtkup9E.js","./keyboard-shortcuts-D5fo2XHL.js","./dist-Dc8tD1th.js","./w3c-keyname-C7Rznu6R.js","./trash-2-Blf9Cydx.js","./AuthModal-a4qMwyyH.js","./copy-DpWa6i2v.js","./input-CgydZJoC.js","./auth-state-cache-MEl9L_dR.js","./AgentConnectionsSection-BDpKRta5.js","./useQuery-ZeEDLtxh.js","./RegisteredAgentIcon-CN6PZ7cw.js","./cursor-pH0WlPzE.js","./agent-registry-DilXBCRU.js","./search-BoiwnBpA.js","./TerminalLaunchContext-B_gF4ByT.js","./agent-connections-B2s0Cq3F.js","./alert-dialog-Mwvu63aS.js","./checkbox-CKD8LETI.js","./minus-DdRxss3A.js","./folder-QqUoFRPR.js","./monitor-IXzxTnmk.js","./sparkles-lfxw6YO9.js","./AgentIconCluster-6RCoigPZ.js","./OpenInAgentMenuItem-D0YuEr4G.js","./dropdown-menu-5XqyQTVx.js","./dist-C0nuYMFu.js","./dist-d2WYntJB.js","./copilot-CmkvU8CH.js","./utils-random-uuid-CE1X6bNM.js","./mascot-outline-CtS592mc.js","./field-DtEiTjHS.js","./separator-D7s_9ZwH.js","./tool-list-format-ahklHT7Z.js","./constants-skills-Coq7kn_k.js","./bool-pref-pcNhKZb_.js","./storage-scope-D0LHO15T.js","./bridge-BPIZEBCD.js","./structural-freshness-C6rR7cV3-VXiZX15w.js","./terminal-cli-display-Bpb4wwAE.js","./settings-section-labels-Dxz-paTy.js","./catalog-UsQfed7-.js","./use-workspace-CpYE6V2W.js","./AttachmentsSection-DBsgV2Bw.js","./field-controls-BUVPC8fp.js","./toggle-group-B7p69Qfd.js","./circle-alert-eBm4JPxY.js","./ThemePicker-pc5gwEur.js","./plus-CXQ-oViZ.js","./rotate-ccw-DeMl2ou7.js","./form-CRIbPJu7.js","./textarea-DkcNoPBJ.js","./config-schema-JSuM1ay_.js","./config-validation-events-88awVkQh.js","./ContentRulesSection-C6MePblA.js","./markdown-lint-Gr2dt_mE.js","./lib-CZXZ01YL.js","./ccount-s_UaBrax.js","./syntax-UjZu5532.js","./markdownit-B0tzyo4f.js","./field-controls-DceP36U9.js","./HotkeysSection-DFkUTrJc.js","./settings-host-gates-mRhjEC1s.js","./kbd-Cg1nrB7U.js","./IntegrationsSection-It1Oo7dY.js","./InstallInClaudeDesktopDialog-CRXgqpq1.js","./arrow-right-NOQZeKIW.js","./circle-check-nK1yRBIw.js","./download-BouT3__0.js","./LinkPreviewsSection-C4BQkoW1.js","./LintingSection-gYcf6zSw.js","./CodeMirrorPropInput-CijXVQab.js","./dist-W5hM-kQ3.js","./dist-CoJBCixp.js","./dist-BtC2yORW.js","./dist-B1rPVlDX.js","./dist-OHM7P10P.js","./dist-ldcsP3Wx.js","./dist-kajsw8zD.js","./dist-CNHpRWc3.js","./dist-OiK6QmuG.js","./dist-DLTuJxuQ2.js","./stex-CmWau-0j.js","./lib-Csk2IQWH.js","./space-separated-tokens-B2o5P1Kh.js","./trim-lines-CzojgEjk.js","./folder-open-COGOeTzI.js","./with-selector-zVo3Fruj.js","./navigation-targets-Cu84E97-.js","./file-tree-utils-w-NVNUx5.js","./doc-paths-C1iU3JM4.js","./cm-theme-DpKmjLo0.js","./desktop-bridge-D6pSqrSU.js","./page-list-cache-duzt_bxz.js","./documents-fetch-ZX1mUge_.js","./note-window-mode-CI3Yju9B.js","./DocumentContext-Ckv8SUWG.js","./propagation-api-dgM6YInk.js","./context-api-CMjojwfb.js","./lib-o_ZJ5rsY.js","./lib-D3PsW6H5.js","./lib-DxyUjQpt.js","./git-branch-CeTudSak.js","./Mermaid-DH1HLMlB.js","./maximize-2-DjzhPUDZ.js","./ime-composition-Fkxh3sb0.js","./prop-types-ZtKgQMRh.js","./hash-C4CJQURT.js","./local-menu-action-bus-Dyh2UJJF.js","./paperclip-FfP_WlTp.js","./react-error-boundary-6ac6QM6R.js","./CopyButton-BT2YHECh.js","./PageListContext-Cd8er_Ma.js","./parse-api-error-CeEVOj25.js","./startup-marks-C403iSh4.js","./perf-CYJlqBBt.js","./diagnostic-breadcrumb-Mg7sdCfQ.js","./file-tree-rename-validation-BZbYm35X.js","./use-collab-url-B1r2VMuu.js","./api-config-C0OrJP9L.js","./excalidraw-scene-Dgb0SaoB.js","./known-skill-dirs-CErGS26P.js","./single-file-mode-DURp6aom.js","./skill-scope-rg-mENMq.js","./skills-api-GrTGy8_h.js","./DocumentContext-B0sQn39F.css","./lint-plugin-meta-CtDE2R0v.js","./square-pen-DU3t-IcD.js","./DeleteConfirmationDialog-CN6XZx5m.js","./SkillPluginBundleDialog-BxSpx9ia.js","./SkillInstallMenu-C6lpbzFr.js","./ChangedOutsideBadge-BeJ4Reff.js","./context-menu-D6QSuT0b.js","./dist-BzicVdNV.js","./use-skills-DKHGj6W0.js","./use-skill-targets-CAM84m0L.js","./markdownlint-rule-browser-BPUY-_hO.js","./tag-pill-input-BSnGPd75.js","./lint-config-client-IECAMEY0.js","./use-open-skill-DiaFh1sV.js","./open-managed-artifact-tab-CQcoj0K0.js","./schema-fields-view-intent-CfSR46vf.js","./NetworkAccessSection-CfSEDmXg.js","./restart-collab-server-CHlRP7RK.js","./OkignoreSection-hOhZO99k.js","./sortable.esm-CnIkmeTY.js","./grip-vertical-DNbkgWZL.js","./config-ignore-nested-error-events-BbuOaRMz.js","./save-held-message-dN-7e5gG.js","./ProjectTemplatesSection-UjpQZz_R.js","./TemplateRow-DUErOwte.js","./file-plus-DKxOZh2k.js","./folder-config-api-bcenjdj4.js","./SearchSection-C19oEXnN.js","./use-semantic-search-status-wWorwq-Z.js","./SkillsManagerSection-1S3uJAoU.js","./SlidesPluginSection-c_cA4QTM.js","./input-group-CBuVp6zh.js","./SyncSection-uN1z_93L.js","./PublishToGitHubDialog-Bc5NpD70.js","./clipboard-adapter-FO6gFDPG.js","./TerminalSection-OQKUYevA.js","./use-terminal-enabled-D67U-_lT.js","./ThemePluginSection-DvDmnFk0.js","./schema-section-DxwzENze.js","./settings-fields-DaMWswre.js","./lint-plugins-BkTeSxCo.js","./OkCliPathRow-Dn-a2z6P.js","./SpellingSettings-D39D0V93.js"])))=>i.map(i=>d[i]);
2
- import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./preload-helper-Chd9yIcd.js";import{t as n}from"./jsx-runtime-BUgB2tll.js";import{t as r}from"./react-f2sANaYj.js";import{n as i,r as a}from"./dist-Nvb76hAm.js";import{t as o}from"./compiler-runtime-BfE3aGVn.js";import{t as s}from"./triangle-alert-DFWRwfH7.js";import{t as c}from"./lazy-with-preload-D3RC_59J.js";import{n as l,r as u,t as d}from"./alert-BEwM2iOp.js";import{r as f}from"./settings-host-gates-mRhjEC1s.js";import{n as p}from"./settings-fields-DaMWswre.js";import{t as m}from"./SettingsSectionHeader-2iTSJQHd.js";var h=o(),g=e(r(),1),_=n();function v(e){return(0,g.lazy)(async()=>({default:await e()}))}var y=v(async()=>(await t(async()=>{let{AboutSection:e}=await import(`./AboutSection-Ckx7jZHN.js`);return{AboutSection:e}},__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,24,25,26]),import.meta.url)).AboutSection),b=v(async()=>(await t(async()=>{let{SharingSection:e}=await import(`./SharingSection-RBUd50Bj.js`);return{SharingSection:e}},__vite__mapDeps([27,1,2,3,4,28,6,7,8,29,30,13,14,9,10,11,31,32,19,20,21,22,33,16,18,15,23,24,25,26,34,35,36]),import.meta.url)).SharingSection),x=v(async()=>(await t(async()=>{let{AccountSection:e}=await import(`./AccountSection-LJRd8sB4.js`);return{AccountSection:e}},__vite__mapDeps([37,1,2,3,4,5,6,7,8,9,10,11,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,36,54,55,56,31,57,58,59,60,61,62,63,64,20,21,14,29,22,65,19,13,16,66,67,68,69,15,70,71,72,17,73,74,75,76,77,78,23,24,26,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,25,18,34,99,35]),import.meta.url)).AccountSection),S=v(async()=>(await t(async()=>{let{AgentConnectionsSection:e}=await import(`./AgentConnectionsSection-BDpKRta5.js`);return{AgentConnectionsSection:e}},__vite__mapDeps([100,1,56,2,3,4,12,6,7,8,13,14,9,10,11,101,16,15,102,103,104,43,44,45,46,47,48,49,50,51,52,53,36,78,66,17,105,75,106,107,108,80,22,65,26,24,109,110,5,19,20,21,111,33,112,113,81,114,115,116,117,118,29,30,70,42,119,120,121,23,79,122,123,124,125,126,127,128,129,130,18,25,131,98,132,133]),import.meta.url)).AgentConnectionsSection),C=v(async()=>(await t(async()=>{let{AttachmentsSection:e}=await import(`./AttachmentsSection-DBsgV2Bw.js`);return{AttachmentsSection:e}},__vite__mapDeps([134,1,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,55,56,31,8,57,58,59,60,61,2,62,63,135,64,20,21,6,7,14,29,22,65,19,10,11,13,16,66,67,12,136,30,24,137,138,28,112,139,140,95,75,141,5,26,79,80,81,122,123,98,34,142,87,143,18,15,23,25,144]),import.meta.url)).AttachmentsSection),w=v(async()=>(await t(async()=>{let{ContentRulesSection:e}=await import(`./ContentRulesSection-C6MePblA.js`);return{ContentRulesSection:e}},__vite__mapDeps([145,39,1,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,55,56,31,8,57,58,59,60,61,2,62,63,64,20,21,6,7,14,29,22,65,19,10,11,13,16,66,67,5,12,146,147,148,149,150,18,15,23,24,25,87]),import.meta.url)).ContentRulesSection),T=v(async()=>(await t(async()=>{let{SectionSkeleton:e}=await import(`./field-controls-DceP36U9.js`);return{SectionSkeleton:e}},__vite__mapDeps([151,135,1,2,3,4,40,64,20,21,6,7,8,14,29,22,65,19,9,10,11,13,16,66,67,12,136,30,24,137,138,28,112,61,42,139,140,95,75,141,5,31,43,44,45,46,47,48,49,50,51,52,53,36,26,79,80,81,122,123,98,34,142,54,55,56,57,60,62,63,87,143]),import.meta.url)).SectionSkeleton),E=v(async()=>(await t(async()=>{let{HotkeysSection:e}=await import(`./HotkeysSection-DFkUTrJc.js`);return{HotkeysSection:e}},__vite__mapDeps([152,2,1,3,4,9,18,19,20,21,6,7,8,14,22,10,11,15,16,23,24,25,153,154,92,93,94]),import.meta.url)).HotkeysSection),D=v(async()=>(await t(async()=>{let{IntegrationsSection:e}=await import(`./IntegrationsSection-It1Oo7dY.js`);return{IntegrationsSection:e}},__vite__mapDeps([155,1,2,3,4,156,16,157,158,97,159,17,9,10,11,31,8,26,7,24,79,80,6,22,65,81,25,18,19,20,21,14,15,23]),import.meta.url)).IntegrationsSection),O=v(async()=>(await t(async()=>{let{LinkPreviewsSection:e}=await import(`./LinkPreviewsSection-C4BQkoW1.js`);return{LinkPreviewsSection:e}},__vite__mapDeps([160,1,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,55,56,31,8,57,58,59,60,61,2,62,63,12,6,7,13,14,10,11,18,19,20,21,22,15,16,23,24,25,26,79,80,65,81,87]),import.meta.url)).LinkPreviewsSection),k=v(async()=>(await t(async()=>{let{MarkdownlintPluginSection:e}=await import(`./LintingSection-gYcf6zSw.js`);return{MarkdownlintPluginSection:e}},__vite__mapDeps([161,1,162,55,163,164,94,165,166,167,168,169,170,171,172,173,21,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,56,31,8,57,58,59,60,61,2,62,63,93,147,148,174,175,176,149,16,177,95,178,179,180,181,182,183,184,25,89,185,186,129,108,6,7,80,22,65,26,24,11,10,5,12,13,14,187,188,189,64,20,29,19,66,67,68,190,128,191,192,193,69,194,157,195,75,79,81,70,137,158,97,159,196,71,197,198,33,17,110,199,200,139,105,113,201,202,203,85,86,87,204,205,206,207,208,23,98,154,82,83,34,209,210,211,212,90,213,214,125,215,127,133,120,216,146,150,15,217,72,218,219,76,220,109,221,116,117,118,30,111,114,115,103,119,121,222,223,224,225,226,18,227,140,122,123,228,229,230,231,232,91,92]),import.meta.url)).MarkdownlintPluginSection),A=v(async()=>(await t(async()=>{let{ProjectPluginsManageSection:e}=await import(`./LintingSection-gYcf6zSw.js`);return{ProjectPluginsManageSection:e}},__vite__mapDeps([161,1,162,55,163,164,94,165,166,167,168,169,170,171,172,173,21,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,56,31,8,57,58,59,60,61,2,62,63,93,147,148,174,175,176,149,16,177,95,178,179,180,181,182,183,184,25,89,185,186,129,108,6,7,80,22,65,26,24,11,10,5,12,13,14,187,188,189,64,20,29,19,66,67,68,190,128,191,192,193,69,194,157,195,75,79,81,70,137,158,97,159,196,71,197,198,33,17,110,199,200,139,105,113,201,202,203,85,86,87,204,205,206,207,208,23,98,154,82,83,34,209,210,211,212,90,213,214,125,215,127,133,120,216,146,150,15,217,72,218,219,76,220,109,221,116,117,118,30,111,114,115,103,119,121,222,223,224,225,226,18,227,140,122,123,228,229,230,231,232,91,92]),import.meta.url)).ProjectPluginsManageSection),j=v(async()=>(await t(async()=>{let{UserPluginsManageSection:e}=await import(`./LintingSection-gYcf6zSw.js`);return{UserPluginsManageSection:e}},__vite__mapDeps([161,1,162,55,163,164,94,165,166,167,168,169,170,171,172,173,21,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,56,31,8,57,58,59,60,61,2,62,63,93,147,148,174,175,176,149,16,177,95,178,179,180,181,182,183,184,25,89,185,186,129,108,6,7,80,22,65,26,24,11,10,5,12,13,14,187,188,189,64,20,29,19,66,67,68,190,128,191,192,193,69,194,157,195,75,79,81,70,137,158,97,159,196,71,197,198,33,17,110,199,200,139,105,113,201,202,203,85,86,87,204,205,206,207,208,23,98,154,82,83,34,209,210,211,212,90,213,214,125,215,127,133,120,216,146,150,15,217,72,218,219,76,220,109,221,116,117,118,30,111,114,115,103,119,121,222,223,224,225,226,18,227,140,122,123,228,229,230,231,232,91,92]),import.meta.url)).UserPluginsManageSection),M=v(async()=>(await t(async()=>{let{NetworkAccessSection:e}=await import(`./NetworkAccessSection-CfSEDmXg.js`);return{NetworkAccessSection:e}},__vite__mapDeps([233,1,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,55,56,31,8,57,58,59,60,61,2,62,63,108,6,7,80,22,65,26,24,11,10,5,28,29,30,13,14,12,18,19,20,21,15,16,23,25,98,35,234,87,143]),import.meta.url)).NetworkAccessSection),N=v(async()=>(await t(async()=>{let{OkignoreSection:e}=await import(`./OkignoreSection-hOhZO99k.js`);return{OkignoreSection:e}},__vite__mapDeps([235,1,236,8,4,2,3,19,20,21,6,7,14,22,9,10,11,66,16,237,75,81,31,203,56,179,180,48,47,181,63,50,184,85,86,44,87,36,185,204,205,206,207,51,18,15,23,24,25,238,26,98,34,144,239]),import.meta.url)).OkignoreSection),P=v(async()=>(await t(async()=>{let{ProjectTemplatesSection:e}=await import(`./ProjectTemplatesSection-UjpQZz_R.js`);return{ProjectTemplatesSection:e}},__vite__mapDeps([240,1,2,3,4,139,16,9,241,56,108,6,7,8,80,22,65,26,24,11,10,116,117,118,20,21,14,29,30,66,70,242,95,81,31,43,44,45,46,47,48,49,50,51,52,53,36,219,17,79,122,5,123,98,142,85,86,87,243,204,18,19,15,23,25,34,231,89,91,92,93,94]),import.meta.url)).ProjectTemplatesSection),F=v(async()=>(await t(async()=>{let{SearchSection:e}=await import(`./SearchSection-C19oEXnN.js`);return{SearchSection:e}},__vite__mapDeps([244,1,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,55,56,31,8,57,58,59,60,61,2,62,63,68,6,7,12,13,14,10,11,70,16,245,85,86,87,18,19,20,21,22,15,23,24,25,26,79,80,65,81,122,5,123,98,35,143]),import.meta.url)).SearchSection),I=v(async()=>(await t(async()=>{let{SkillsManagerSection:e}=await import(`./SkillsManagerSection-1S3uJAoU.js`);return{SkillsManagerSection:e}},__vite__mapDeps([246,1,2,3,4,108,6,7,8,80,22,65,9,26,24,11,10,16,157,116,117,118,20,21,14,29,30,66,70,97,95,31,114,19,111,113,115,42,103,119,120,121,53,36,222,18,15,23,25,79,81,98,34,226,56,43,44,45,46,47,48,49,50,51,52,85,86,87,204,215,225,212,231,89,206,207,214,125,124]),import.meta.url)).SkillsManagerSection),L=v(async()=>(await t(async()=>{let{SlidesPluginSection:e}=await import(`./SlidesPluginSection-c_cA4QTM.js`);return{SlidesPluginSection:e}},__vite__mapDeps([247,1,2,3,4,15,16,74,9,202,19,20,21,6,7,8,14,22,10,11,66,97,26,24,77,78,45,44,46,47,18,23,25,248,98,142,91,92,93,94]),import.meta.url)).SlidesPluginSection),R=v(async()=>(await t(async()=>{let{SyncSection:e}=await import(`./SyncSection-uN1z_93L.js`);return{SyncSection:e}},__vite__mapDeps([249,1,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,55,56,31,8,57,58,59,60,61,2,62,63,64,20,21,6,7,14,29,22,65,19,10,11,13,16,66,67,68,136,30,24,38,69,15,70,71,72,17,73,74,75,76,77,78,23,26,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,96,97,98,25,250,5,28,187,163,164,165,166,167,168,169,170,171,172,173,162,147,148,174,175,176,149,177,95,178,179,180,181,182,183,184,185,186,129,188,189,12,190,128,191,192,193,194,157,195,137,158,159,196,197,198,33,110,199,200,139,105,113,201,202,203,204,205,206,207,208,154,34,209,210,211,212,213,214,125,215,127,133,120,216,122,123,142,251,18]),import.meta.url)).SyncSection),z=v(async()=>(await t(async()=>{let{TerminalSection:e}=await import(`./TerminalSection-OQKUYevA.js`);return{TerminalSection:e}},__vite__mapDeps([252,1,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,55,56,31,8,57,58,59,60,61,2,62,63,12,6,7,13,14,10,11,18,19,20,21,22,15,16,23,24,25,253,87,35]),import.meta.url)).TerminalSection),B=v(async()=>(await t(async()=>{let{ThemePluginSection:e}=await import(`./ThemePluginSection-DvDmnFk0.js`);return{ThemePluginSection:e}},__vite__mapDeps([254,1,2,3,4,5,6,7,8,9,10,11,15,16,42,31,43,44,45,46,47,48,49,50,51,52,53,36,255,141,135,40,64,20,21,14,29,22,65,19,13,66,67,12,136,30,24,137,138,28,112,61,139,140,95,75,26,79,80,81,122,123,98,34,142,54,55,56,57,60,62,63,87,143,18,23,25,144,239,256]),import.meta.url)).ThemePluginSection),V=v(async()=>{let{LINT_PLUGIN_UI:e}=await t(async()=>{let{LINT_PLUGIN_UI:e}=await import(`./lint-plugins-BkTeSxCo.js`);return{LINT_PLUGIN_UI:e}},__vite__mapDeps([257,217,16,1,4,161,162,55,163,164,94,165,166,167,168,169,170,171,172,173,21,39,40,41,42,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,56,31,8,57,58,59,60,61,2,62,63,93,147,148,174,175,176,149,177,95,178,179,180,181,182,183,184,25,89,185,186,129,108,6,7,80,22,65,26,24,11,10,5,12,13,14,187,188,189,64,20,29,19,66,67,68,190,128,191,192,193,69,194,157,195,75,79,81,70,137,158,97,159,196,71,197,198,33,17,110,199,200,139,105,113,201,202,203,85,86,87,204,205,206,207,208,23,98,154,82,83,34,209,210,211,212,90,213,214,125,215,127,133,120,216,146,150,15,72,218,219,76,220,109,221,116,117,118,30,111,114,115,103,119,121,222,223,224,225,226,18,227,140,122,123,228,229,230,231,232,91,92]),import.meta.url);return function({id:t}){let n=e.find(e=>e.id===t);if(!n)return null;let r=n.Section;return(0,_.jsx)(r,{})}}),H=c(async()=>{let[{BoundSchemaSection:e},{OkCliPathRow:n},{SpellingSettings:r}]=await Promise.all([t(()=>import(`./schema-section-DxwzENze.js`),__vite__mapDeps([255,1,2,3,4,141,7,5,6,8,9,10,11,31,135,40,64,20,21,14,29,22,65,19,13,16,66,67,12,136,30,24,137,138,28,112,61,42,139,140,95,75,43,44,45,46,47,48,49,50,51,52,53,36,26,79,80,81,122,123,98,34,142,54,55,56,57,60,62,63,87,143,18,15,23,25,144,239]),import.meta.url),t(()=>import(`./OkCliPathRow-Dn-a2z6P.js`),__vite__mapDeps([258,1,2,3,4,109,6,7,8,13,14,66,16,110,9,10,11,5,19,20,21,22,33,31,26,24,35,36]),import.meta.url),t(()=>import(`./SpellingSettings-D39D0V93.js`),__vite__mapDeps([259,1,21,20,6,7,4,8,3,14,56,2,12,13,9,10,11,19,22,66,16,140,81,31,178,135,40,64,29,65,67,136,30,24,137,138,28,112,61,42,139,95,75,141,5,43,44,45,46,47,48,49,50,51,52,53,36,26,79,80,122,123,98,34,142,54,55,57,60,62,63,87,143,153]),import.meta.url)]);return{default:function({title:t,description:i,binding:a}){return(0,_.jsx)(e,{title:t,description:i,scope:`user`,scopeBadge:`user`,binding:a,fields:p,slotsAfter:{"appearance.theme":(0,_.jsx)(n,{}),"appearance.language":(0,_.jsx)(r,{})}})}}}),U=H.preload;function W(e){let t=(0,h.c)(4),{loadFailed:n}=e;if(!n){let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(T,{}),t[0]=e):e=t[0],e}let r;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,_.jsx)(s,{"aria-hidden":`true`}),t[1]=r):r=t[1];let a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,_.jsx)(u,{children:(0,_.jsx)(i,{id:`PXg8xK`})}),t[2]=a):a=t[2];let o;return t[3]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,_.jsxs)(d,{"data-testid":`settings-user-config-unavailable`,children:[r,a,(0,_.jsx)(l,{children:(0,_.jsx)(i,{id:`rFbQzX`})})]}),t[3]=o):o=t[3],o}function G(e){let t=(0,h.c)(37),{activeId:n,userBinding:r,userLoadFailed:o,okignoreBinding:s,okignoreSynced:c,markdownlintRuleQuery:l}=e,u=o===void 0?!1:o,{_:d}=a();if(n===`preferences`){let e;return t[0]!==d||t[1]!==r||t[2]!==u?(e=r?(0,_.jsx)(H,{title:d({id:`Q6hhn8`}),description:d({id:`Y_kL7X`}),binding:r}):(0,_.jsx)(W,{loadFailed:u}),t[0]=d,t[1]=r,t[2]=u,t[3]=e):e=t[3],e}if(n===`project-preferences`){let e;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(i,{id:`Q6hhn8`}),t[4]=e):e=t[4];let n;return t[5]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,_.jsxs)(`section`,{"aria-labelledby":`settings-project-preferences-title`,className:`space-y-8`,"data-testid":`settings-project-preferences`,children:[(0,_.jsx)(m,{titleId:`settings-project-preferences-title`,title:e,scope:`project`,children:(0,_.jsx)(i,{id:`FKVmcC`})}),(0,_.jsx)(C,{}),(0,_.jsx)(w,{}),f()?(0,_.jsx)(z,{}):null]}),t[5]=n):n=t[5],n}if(n===`agent-connections`){let e;return t[6]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(S,{}),t[6]=e):e=t[6],e}if(n===`hotkeys`){let e;return t[7]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(E,{}),t[7]=e):e=t[7],e}if(n===`account`){let e;return t[8]!==r||t[9]!==u?(e=r?(0,_.jsx)(x,{userBinding:r}):(0,_.jsx)(W,{loadFailed:u}),t[8]=r,t[9]=u,t[10]=e):e=t[10],e}if(n===`sync`){let e;return t[11]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsxs)(`section`,{"aria-labelledby":`settings-sync-sharing-title`,className:`space-y-8`,"data-testid":`settings-sync-sharing`,children:[(0,_.jsx)(m,{titleId:`settings-sync-sharing-title`,title:(0,_.jsx)(i,{id:`AznQ2V`}),children:(0,_.jsx)(i,{id:`HADdBA`})}),(0,_.jsx)(R,{}),(0,_.jsx)(b,{})]}),t[11]=e):e=t[11],e}if(n===`search`){let e;return t[12]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(F,{}),t[12]=e):e=t[12],e}if(n===`link-previews`){let e;return t[13]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(O,{}),t[13]=e):e=t[13],e}if(n===`plugins-manage`){let e;return t[14]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(A,{}),t[14]=e):e=t[14],e}if(n===`user-plugins-manage`){let e;return t[15]===r?e=t[16]:(e=(0,_.jsx)(j,{userBinding:r}),t[15]=r,t[16]=e),e}if(n===`plugin:theme`){let e;return t[17]!==r||t[18]!==u?(e=r?(0,_.jsx)(B,{userBinding:r}):(0,_.jsx)(W,{loadFailed:u}),t[17]=r,t[18]=u,t[19]=e):e=t[19],e}if(n===`plugin:slides`){let e;return t[20]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(L,{}),t[20]=e):e=t[20],e}if(n===`plugin:markdownlint`){let e=l??null,n;return t[21]===e?n=t[22]:(n=(0,_.jsx)(k,{initialRuleQuery:e}),t[21]=e,t[22]=n),n}if(n.startsWith(`plugin:`)){let e;t[23]===n?e=t[24]:(e=n.slice(7),t[23]=n,t[24]=e);let r;return t[25]!==n||t[26]!==e?(r=(0,_.jsx)(V,{id:e},n),t[25]=n,t[26]=e,t[27]=r):r=t[27],r}if(n===`project-templates`){let e;return t[28]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(P,{}),t[28]=e):e=t[28],e}if(n===`skills`){let e;return t[29]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(I,{scope:`project`}),t[29]=e):e=t[29],e}if(n===`user-skills`){let e;return t[30]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(I,{scope:`global`}),t[30]=e):e=t[30],e}if(n===`okignore`){let e;return t[31]!==s||t[32]!==c?(e=(0,_.jsx)(N,{binding:s,synced:c}),t[31]=s,t[32]=c,t[33]=e):e=t[33],e}if(n===`network-access`){let e;return t[34]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(M,{}),t[34]=e):e=t[34],e}if(n===`claude-desktop`){let e;return t[35]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(D,{}),t[35]=e):e=t[35],e}if(n===`about`){let e;return t[36]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(y,{}),t[36]=e):e=t[36],e}return null}export{G as SettingsDialogBody,U as preloadPreferencesSection};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./AboutSection-Ckx7jZHN.js","./chunk-CYidjpOJ.js","./dist-Nvb76hAm.js","./jsx-runtime-BUgB2tll.js","./react-f2sANaYj.js","./label-CvMpFFbN.js","./dist-DTFuvKje.js","./dist-CSCUSbQc.js","./react-dom-DPxgxlDT.js","./compiler-runtime-BfE3aGVn.js","./utils-CPqDy6Hr.js","./bundle-mjs-SHeFpKGC.js","./switch-BKZTXkzu.js","./dist-DBXmXNZF.js","./dist-CRjqnzU7.js","./arrow-up-right-nJaICi16.js","./createLucideIcon-DdBzwsHe.js","./spinner-Bx8xD6f8.js","./SettingsSectionHeader-2iTSJQHd.js","./tooltip-BjuCvy5N.js","./dist-DXjgFhPl2.js","./floating-ui.dom-BYl7JZd0.js","./dist-CxbWbOvU.js","./badge-DcyFOLs8.js","./dist-BsJYDohW.js","./external-link-DxgIpECR.js","./button-DzgjsZzC.js","./SharingSection-RBUd50Bj.js","./radio-group-G1GR05Rb.js","./dist-uiDX6Nr9.js","./dist-BKgU0kag.js","./dist-BGzUo_18.js","./ConfigSharingInfoTooltip-CJywmyrk.js","./info-CyR0W2SK.js","./skeleton-2Ewnato7.js","./channel-cli-copy-BySq87hR.js","./constants-product-BVSOzxVs.js","./AccountSection-UK4fSEAo.js","./SyncStatusBadge-BaJrZaL1.js","./config-provider-CNRgcd7O.js","./trace-api-nQInEDYS.js","./status-CUwkWWLj.js","./dist-PQ5KMVDh.js","./schemas-api-a9pvDgLB.js","./schemas-B93JY9Ef.js","./_envelope-DuFpUEag-C9dastPz.js","./share-D-LUU2aX-B7Yg0G_m.js","./util-doc-name-DRKmy6g9.js","./constants-cc1-Bt4QPTUe.js","./constants-github-B7yhDvQc.js","./doc-extensions-CcO7K8uD-DG9uHV54.js","./logging-renderer-log-CqIZVUIQ.js","./skill-targets-schema-D6kA7J61.js","./constants-editors-DmmORwNP.js","./use-apply-config-language-BVhx79Sp.js","./preload-helper-Chd9yIcd.js","./dist-C_FzPxEX2.js","./messages-lMmvlKg7.js","./client-version-B_xA5Zs6.js","./css-color-to-hex-DCeKOSiM.js","./use-apply-config-color-theme-DlOgjow1.js","./use-apply-config-theme-CYFG76sS.js","./saved-themes-client-Cefq8Snw.js","./constants-upload-DZP-sCdl.js","./select-Bx_fIuqY.js","./es2015-Dtr4fzLT.js","./check-B2OLRY33.js","./chevron-down-CEv6N8LG.js","./collapsible-BKbszYZV.js","./arrow-up-BGHhPj4y.js","./chevron-right-Bofu4lib.js","./settings-2-DoBlNQMk.js","./git-merge-VDBzSZBV.js","./refresh-cw-BVQchE6b.js","./terminal-B38K-KMo.js","./triangle-alert-DFWRwfH7.js","./DisclosureWarning-P2FKhrj3.js","./terminal-command-events-50rqs16L.js","./handoff-D8XQ10zF.js","./dialog-CAxu_6pu.js","./electron-drag-strip-D9GZhMg_.js","./x-wldAHzfP.js","./popover-Dxc5JyiN.js","./dist-Cj3Bpren.js","./use-conflicts-BaX7IHiw.js","./documents-events-BmU3ACXG.js","./schemas-cc1-B-Y7IUGl.js","./config-errors-CHiUH8-1.js","./use-git-sync-status-2jy5qKEq.js","./doc-hash-i74qqRXc.js","./reveal-editor-CoucRZz8.js","./use-settings-route-BGtkup9E.js","./keyboard-shortcuts-D5fo2XHL.js","./dist-Dc8tD1th.js","./w3c-keyname-C7Rznu6R.js","./trash-2-Blf9Cydx.js","./AuthModal-a4qMwyyH.js","./copy-DpWa6i2v.js","./input-CgydZJoC.js","./auth-state-cache-MEl9L_dR.js","./AgentConnectionsSection-BDpKRta5.js","./useQuery-ZeEDLtxh.js","./RegisteredAgentIcon-CN6PZ7cw.js","./cursor-pH0WlPzE.js","./agent-registry-DilXBCRU.js","./search-BoiwnBpA.js","./TerminalLaunchContext-B_gF4ByT.js","./agent-connections-B2s0Cq3F.js","./alert-dialog-Mwvu63aS.js","./checkbox-CKD8LETI.js","./minus-DdRxss3A.js","./folder-QqUoFRPR.js","./monitor-IXzxTnmk.js","./sparkles-lfxw6YO9.js","./AgentIconCluster-6RCoigPZ.js","./OpenInAgentMenuItem-D0YuEr4G.js","./dropdown-menu-5XqyQTVx.js","./dist-C0nuYMFu.js","./dist-d2WYntJB.js","./copilot-CmkvU8CH.js","./utils-random-uuid-CE1X6bNM.js","./mascot-outline-CtS592mc.js","./field-DtEiTjHS.js","./separator-D7s_9ZwH.js","./tool-list-format-ahklHT7Z.js","./constants-skills-Coq7kn_k.js","./bool-pref-pcNhKZb_.js","./storage-scope-D0LHO15T.js","./bridge-BPIZEBCD.js","./structural-freshness-C6rR7cV3-VXiZX15w.js","./terminal-cli-display-Bpb4wwAE.js","./settings-section-labels-Dxz-paTy.js","./catalog-UsQfed7-.js","./use-workspace-CpYE6V2W.js","./AttachmentsSection-B4oQIzeZ.js","./field-controls-7BMlpso-.js","./toggle-group-B7p69Qfd.js","./circle-alert-eBm4JPxY.js","./ThemePicker-pc5gwEur.js","./plus-CXQ-oViZ.js","./rotate-ccw-DeMl2ou7.js","./form-CRIbPJu7.js","./textarea-DkcNoPBJ.js","./config-schema-BiXW8bgJ.js","./config-validation-events-88awVkQh.js","./ContentRulesSection-aWJrYA4j.js","./markdown-lint-BU1ReVdL.js","./lib-CZXZ01YL.js","./ccount-s_UaBrax.js","./syntax-UjZu5532.js","./markdownit-B0tzyo4f.js","./field-controls-Bx5mePuq.js","./HotkeysSection-DFkUTrJc.js","./settings-host-gates-mRhjEC1s.js","./kbd-Cg1nrB7U.js","./IntegrationsSection-It1Oo7dY.js","./InstallInClaudeDesktopDialog-CRXgqpq1.js","./arrow-right-NOQZeKIW.js","./circle-check-nK1yRBIw.js","./download-BouT3__0.js","./LinkPreviewsSection-KX_4h53c.js","./LintingSection-ClAY_FjD.js","./CodeMirrorPropInput-B9s5B9Bw.js","./dist-W5hM-kQ3.js","./dist-CoJBCixp.js","./dist-BtC2yORW.js","./dist-B1rPVlDX.js","./dist-OHM7P10P.js","./dist-ldcsP3Wx.js","./dist-kajsw8zD.js","./dist-CNHpRWc3.js","./dist-OiK6QmuG.js","./dist-DLTuJxuQ2.js","./stex-CmWau-0j.js","./lib-Csk2IQWH.js","./space-separated-tokens-B2o5P1Kh.js","./trim-lines-CzojgEjk.js","./folder-open-COGOeTzI.js","./with-selector-zVo3Fruj.js","./navigation-targets-Cu84E97-.js","./file-tree-utils-w-NVNUx5.js","./doc-paths-C1iU3JM4.js","./cm-theme-DpKmjLo0.js","./desktop-bridge-D6pSqrSU.js","./page-list-cache-duzt_bxz.js","./documents-fetch-ZX1mUge_.js","./note-window-mode-CI3Yju9B.js","./DocumentContext-DXpWi5ky.js","./propagation-api-dgM6YInk.js","./context-api-CMjojwfb.js","./lib-o_ZJ5rsY.js","./lib-D3PsW6H5.js","./lib-DxyUjQpt.js","./git-branch-CeTudSak.js","./Mermaid-DH1HLMlB.js","./maximize-2-DjzhPUDZ.js","./ime-composition-Fkxh3sb0.js","./prop-types-ZtKgQMRh.js","./hash-C4CJQURT.js","./local-menu-action-bus-Dyh2UJJF.js","./paperclip-FfP_WlTp.js","./react-error-boundary-6ac6QM6R.js","./CopyButton-BT2YHECh.js","./PageListContext-Cd8er_Ma.js","./parse-api-error-CeEVOj25.js","./startup-marks-C403iSh4.js","./perf-CYJlqBBt.js","./diagnostic-breadcrumb-Mg7sdCfQ.js","./file-tree-rename-validation-BZbYm35X.js","./use-collab-url-B1r2VMuu.js","./api-config-C0OrJP9L.js","./excalidraw-scene-Dgb0SaoB.js","./known-skill-dirs-CErGS26P.js","./single-file-mode-DURp6aom.js","./skill-scope-rg-mENMq.js","./skills-api-GrTGy8_h.js","./DocumentContext-B0sQn39F.css","./lint-plugin-meta-CtDE2R0v.js","./square-pen-DU3t-IcD.js","./DeleteConfirmationDialog-CN6XZx5m.js","./SkillPluginBundleDialog-BxSpx9ia.js","./SkillInstallMenu-C6lpbzFr.js","./ChangedOutsideBadge-BeJ4Reff.js","./context-menu-D6QSuT0b.js","./dist-BzicVdNV.js","./use-skills-DKHGj6W0.js","./use-skill-targets-CAM84m0L.js","./markdownlint-rule-browser-CX5Nb4yK.js","./tag-pill-input-BSnGPd75.js","./lint-config-client-CE9biPJr.js","./use-open-skill-BiGTEBAG.js","./open-managed-artifact-tab-CQcoj0K0.js","./schema-fields-view-intent-CfSR46vf.js","./NetworkAccessSection-CkW30CIT.js","./restart-collab-server-CHlRP7RK.js","./OkignoreSection-hOhZO99k.js","./sortable.esm-CnIkmeTY.js","./grip-vertical-DNbkgWZL.js","./config-ignore-nested-error-events-BbuOaRMz.js","./save-held-message-dN-7e5gG.js","./ProjectTemplatesSection-UjpQZz_R.js","./TemplateRow-DUErOwte.js","./file-plus-DKxOZh2k.js","./folder-config-api-bcenjdj4.js","./SearchSection-CDyx2C9f.js","./use-semantic-search-status-wWorwq-Z.js","./SkillsManagerSection-1S3uJAoU.js","./SlidesPluginSection-c_cA4QTM.js","./input-group-CBuVp6zh.js","./SyncSection-D3PTVWIM.js","./PublishToGitHubDialog-CwF7zH2X.js","./clipboard-adapter-FO6gFDPG.js","./TerminalSection-CsRkbMx2.js","./use-terminal-enabled-BPFt3ZjV.js","./ThemePluginSection-_vipA-fZ.js","./schema-section-BTjV9wCm.js","./settings-fields-DaMWswre.js","./lint-plugins-DAx86XSh.js","./OkCliPathRow-Dn-a2z6P.js","./SpellingSettings-05EGR87o.js"])))=>i.map(i=>d[i]);
2
+ import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./preload-helper-Chd9yIcd.js";import{t as n}from"./jsx-runtime-BUgB2tll.js";import{t as r}from"./react-f2sANaYj.js";import{n as i,r as a}from"./dist-Nvb76hAm.js";import{t as o}from"./compiler-runtime-BfE3aGVn.js";import{t as s}from"./triangle-alert-DFWRwfH7.js";import{t as c}from"./lazy-with-preload-D3RC_59J.js";import{n as l,r as u,t as d}from"./alert-BEwM2iOp.js";import{r as f}from"./settings-host-gates-mRhjEC1s.js";import{n as p}from"./settings-fields-DaMWswre.js";import{t as m}from"./SettingsSectionHeader-2iTSJQHd.js";var h=o(),g=e(r(),1),_=n();function v(e){return(0,g.lazy)(async()=>({default:await e()}))}var y=v(async()=>(await t(async()=>{let{AboutSection:e}=await import(`./AboutSection-Ckx7jZHN.js`);return{AboutSection:e}},__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,24,25,26]),import.meta.url)).AboutSection),b=v(async()=>(await t(async()=>{let{SharingSection:e}=await import(`./SharingSection-RBUd50Bj.js`);return{SharingSection:e}},__vite__mapDeps([27,1,2,3,4,28,6,7,8,29,30,13,14,9,10,11,31,32,19,20,21,22,33,16,18,15,23,24,25,26,34,35,36]),import.meta.url)).SharingSection),x=v(async()=>(await t(async()=>{let{AccountSection:e}=await import(`./AccountSection-UK4fSEAo.js`);return{AccountSection:e}},__vite__mapDeps([37,1,2,3,4,5,6,7,8,9,10,11,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,36,54,55,56,31,57,58,59,60,61,62,63,64,20,21,14,29,22,65,19,13,16,66,67,68,69,15,70,71,72,17,73,74,75,76,77,78,23,24,26,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,25,18,34,99,35]),import.meta.url)).AccountSection),S=v(async()=>(await t(async()=>{let{AgentConnectionsSection:e}=await import(`./AgentConnectionsSection-BDpKRta5.js`);return{AgentConnectionsSection:e}},__vite__mapDeps([100,1,56,2,3,4,12,6,7,8,13,14,9,10,11,101,16,15,102,103,104,43,44,45,46,47,48,49,50,51,52,53,36,78,66,17,105,75,106,107,108,80,22,65,26,24,109,110,5,19,20,21,111,33,112,113,81,114,115,116,117,118,29,30,70,42,119,120,121,23,79,122,123,124,125,126,127,128,129,130,18,25,131,98,132,133]),import.meta.url)).AgentConnectionsSection),C=v(async()=>(await t(async()=>{let{AttachmentsSection:e}=await import(`./AttachmentsSection-B4oQIzeZ.js`);return{AttachmentsSection:e}},__vite__mapDeps([134,1,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,55,56,31,8,57,58,59,60,61,2,62,63,135,64,20,21,6,7,14,29,22,65,19,10,11,13,16,66,67,12,136,30,24,137,138,28,112,139,140,95,75,141,5,26,79,80,81,122,123,98,34,142,87,143,18,15,23,25,144]),import.meta.url)).AttachmentsSection),w=v(async()=>(await t(async()=>{let{ContentRulesSection:e}=await import(`./ContentRulesSection-aWJrYA4j.js`);return{ContentRulesSection:e}},__vite__mapDeps([145,39,1,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,55,56,31,8,57,58,59,60,61,2,62,63,64,20,21,6,7,14,29,22,65,19,10,11,13,16,66,67,5,12,146,147,148,149,150,18,15,23,24,25,87]),import.meta.url)).ContentRulesSection),T=v(async()=>(await t(async()=>{let{SectionSkeleton:e}=await import(`./field-controls-Bx5mePuq.js`);return{SectionSkeleton:e}},__vite__mapDeps([151,135,1,2,3,4,40,64,20,21,6,7,8,14,29,22,65,19,9,10,11,13,16,66,67,12,136,30,24,137,138,28,112,61,42,139,140,95,75,141,5,31,43,44,45,46,47,48,49,50,51,52,53,36,26,79,80,81,122,123,98,34,142,54,55,56,57,60,62,63,87,143]),import.meta.url)).SectionSkeleton),E=v(async()=>(await t(async()=>{let{HotkeysSection:e}=await import(`./HotkeysSection-DFkUTrJc.js`);return{HotkeysSection:e}},__vite__mapDeps([152,2,1,3,4,9,18,19,20,21,6,7,8,14,22,10,11,15,16,23,24,25,153,154,92,93,94]),import.meta.url)).HotkeysSection),D=v(async()=>(await t(async()=>{let{IntegrationsSection:e}=await import(`./IntegrationsSection-It1Oo7dY.js`);return{IntegrationsSection:e}},__vite__mapDeps([155,1,2,3,4,156,16,157,158,97,159,17,9,10,11,31,8,26,7,24,79,80,6,22,65,81,25,18,19,20,21,14,15,23]),import.meta.url)).IntegrationsSection),O=v(async()=>(await t(async()=>{let{LinkPreviewsSection:e}=await import(`./LinkPreviewsSection-KX_4h53c.js`);return{LinkPreviewsSection:e}},__vite__mapDeps([160,1,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,55,56,31,8,57,58,59,60,61,2,62,63,12,6,7,13,14,10,11,18,19,20,21,22,15,16,23,24,25,26,79,80,65,81,87]),import.meta.url)).LinkPreviewsSection),k=v(async()=>(await t(async()=>{let{MarkdownlintPluginSection:e}=await import(`./LintingSection-ClAY_FjD.js`);return{MarkdownlintPluginSection:e}},__vite__mapDeps([161,1,162,55,163,164,94,165,166,167,168,169,170,171,172,173,21,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,56,31,8,57,58,59,60,61,2,62,63,93,147,148,174,175,176,149,16,177,95,178,179,180,181,182,183,184,25,89,185,186,129,108,6,7,80,22,65,26,24,11,10,5,12,13,14,187,188,189,64,20,29,19,66,67,68,190,128,191,192,193,69,194,157,195,75,79,81,70,137,158,97,159,196,71,197,198,33,17,110,199,200,139,105,113,201,202,203,85,86,87,204,205,206,207,208,23,98,154,82,83,34,209,210,211,212,90,213,214,125,215,127,133,120,216,146,150,15,217,72,218,219,76,220,109,221,116,117,118,30,111,114,115,103,119,121,222,223,224,225,226,18,227,140,122,123,228,229,230,231,232,91,92]),import.meta.url)).MarkdownlintPluginSection),A=v(async()=>(await t(async()=>{let{ProjectPluginsManageSection:e}=await import(`./LintingSection-ClAY_FjD.js`);return{ProjectPluginsManageSection:e}},__vite__mapDeps([161,1,162,55,163,164,94,165,166,167,168,169,170,171,172,173,21,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,56,31,8,57,58,59,60,61,2,62,63,93,147,148,174,175,176,149,16,177,95,178,179,180,181,182,183,184,25,89,185,186,129,108,6,7,80,22,65,26,24,11,10,5,12,13,14,187,188,189,64,20,29,19,66,67,68,190,128,191,192,193,69,194,157,195,75,79,81,70,137,158,97,159,196,71,197,198,33,17,110,199,200,139,105,113,201,202,203,85,86,87,204,205,206,207,208,23,98,154,82,83,34,209,210,211,212,90,213,214,125,215,127,133,120,216,146,150,15,217,72,218,219,76,220,109,221,116,117,118,30,111,114,115,103,119,121,222,223,224,225,226,18,227,140,122,123,228,229,230,231,232,91,92]),import.meta.url)).ProjectPluginsManageSection),j=v(async()=>(await t(async()=>{let{UserPluginsManageSection:e}=await import(`./LintingSection-ClAY_FjD.js`);return{UserPluginsManageSection:e}},__vite__mapDeps([161,1,162,55,163,164,94,165,166,167,168,169,170,171,172,173,21,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,56,31,8,57,58,59,60,61,2,62,63,93,147,148,174,175,176,149,16,177,95,178,179,180,181,182,183,184,25,89,185,186,129,108,6,7,80,22,65,26,24,11,10,5,12,13,14,187,188,189,64,20,29,19,66,67,68,190,128,191,192,193,69,194,157,195,75,79,81,70,137,158,97,159,196,71,197,198,33,17,110,199,200,139,105,113,201,202,203,85,86,87,204,205,206,207,208,23,98,154,82,83,34,209,210,211,212,90,213,214,125,215,127,133,120,216,146,150,15,217,72,218,219,76,220,109,221,116,117,118,30,111,114,115,103,119,121,222,223,224,225,226,18,227,140,122,123,228,229,230,231,232,91,92]),import.meta.url)).UserPluginsManageSection),M=v(async()=>(await t(async()=>{let{NetworkAccessSection:e}=await import(`./NetworkAccessSection-CkW30CIT.js`);return{NetworkAccessSection:e}},__vite__mapDeps([233,1,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,55,56,31,8,57,58,59,60,61,2,62,63,108,6,7,80,22,65,26,24,11,10,5,28,29,30,13,14,12,18,19,20,21,15,16,23,25,98,35,234,87,143]),import.meta.url)).NetworkAccessSection),N=v(async()=>(await t(async()=>{let{OkignoreSection:e}=await import(`./OkignoreSection-hOhZO99k.js`);return{OkignoreSection:e}},__vite__mapDeps([235,1,236,8,4,2,3,19,20,21,6,7,14,22,9,10,11,66,16,237,75,81,31,203,56,179,180,48,47,181,63,50,184,85,86,44,87,36,185,204,205,206,207,51,18,15,23,24,25,238,26,98,34,144,239]),import.meta.url)).OkignoreSection),P=v(async()=>(await t(async()=>{let{ProjectTemplatesSection:e}=await import(`./ProjectTemplatesSection-UjpQZz_R.js`);return{ProjectTemplatesSection:e}},__vite__mapDeps([240,1,2,3,4,139,16,9,241,56,108,6,7,8,80,22,65,26,24,11,10,116,117,118,20,21,14,29,30,66,70,242,95,81,31,43,44,45,46,47,48,49,50,51,52,53,36,219,17,79,122,5,123,98,142,85,86,87,243,204,18,19,15,23,25,34,231,89,91,92,93,94]),import.meta.url)).ProjectTemplatesSection),F=v(async()=>(await t(async()=>{let{SearchSection:e}=await import(`./SearchSection-CDyx2C9f.js`);return{SearchSection:e}},__vite__mapDeps([244,1,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,55,56,31,8,57,58,59,60,61,2,62,63,68,6,7,12,13,14,10,11,70,16,245,85,86,87,18,19,20,21,22,15,23,24,25,26,79,80,65,81,122,5,123,98,35,143]),import.meta.url)).SearchSection),I=v(async()=>(await t(async()=>{let{SkillsManagerSection:e}=await import(`./SkillsManagerSection-1S3uJAoU.js`);return{SkillsManagerSection:e}},__vite__mapDeps([246,1,2,3,4,108,6,7,8,80,22,65,9,26,24,11,10,16,157,116,117,118,20,21,14,29,30,66,70,97,95,31,114,19,111,113,115,42,103,119,120,121,53,36,222,18,15,23,25,79,81,98,34,226,56,43,44,45,46,47,48,49,50,51,52,85,86,87,204,215,225,212,231,89,206,207,214,125,124]),import.meta.url)).SkillsManagerSection),L=v(async()=>(await t(async()=>{let{SlidesPluginSection:e}=await import(`./SlidesPluginSection-c_cA4QTM.js`);return{SlidesPluginSection:e}},__vite__mapDeps([247,1,2,3,4,15,16,74,9,202,19,20,21,6,7,8,14,22,10,11,66,97,26,24,77,78,45,44,46,47,18,23,25,248,98,142,91,92,93,94]),import.meta.url)).SlidesPluginSection),R=v(async()=>(await t(async()=>{let{SyncSection:e}=await import(`./SyncSection-D3PTVWIM.js`);return{SyncSection:e}},__vite__mapDeps([249,1,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,55,56,31,8,57,58,59,60,61,2,62,63,64,20,21,6,7,14,29,22,65,19,10,11,13,16,66,67,68,136,30,24,38,69,15,70,71,72,17,73,74,75,76,77,78,23,26,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,96,97,98,25,250,5,28,187,163,164,165,166,167,168,169,170,171,172,173,162,147,148,174,175,176,149,177,95,178,179,180,181,182,183,184,185,186,129,188,189,12,190,128,191,192,193,194,157,195,137,158,159,196,197,198,33,110,199,200,139,105,113,201,202,203,204,205,206,207,208,154,34,209,210,211,212,213,214,125,215,127,133,120,216,122,123,142,251,18]),import.meta.url)).SyncSection),z=v(async()=>(await t(async()=>{let{TerminalSection:e}=await import(`./TerminalSection-CsRkbMx2.js`);return{TerminalSection:e}},__vite__mapDeps([252,1,39,40,41,42,4,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,55,56,31,8,57,58,59,60,61,2,62,63,12,6,7,13,14,10,11,18,19,20,21,22,15,16,23,24,25,253,87,35]),import.meta.url)).TerminalSection),B=v(async()=>(await t(async()=>{let{ThemePluginSection:e}=await import(`./ThemePluginSection-_vipA-fZ.js`);return{ThemePluginSection:e}},__vite__mapDeps([254,1,2,3,4,5,6,7,8,9,10,11,15,16,42,31,43,44,45,46,47,48,49,50,51,52,53,36,255,141,135,40,64,20,21,14,29,22,65,19,13,66,67,12,136,30,24,137,138,28,112,61,139,140,95,75,26,79,80,81,122,123,98,34,142,54,55,56,57,60,62,63,87,143,18,23,25,144,239,256]),import.meta.url)).ThemePluginSection),V=v(async()=>{let{LINT_PLUGIN_UI:e}=await t(async()=>{let{LINT_PLUGIN_UI:e}=await import(`./lint-plugins-DAx86XSh.js`);return{LINT_PLUGIN_UI:e}},__vite__mapDeps([257,217,16,1,4,161,162,55,163,164,94,165,166,167,168,169,170,171,172,173,21,39,40,41,42,9,3,43,44,45,46,47,48,49,50,51,52,53,36,54,56,31,8,57,58,59,60,61,2,62,63,93,147,148,174,175,176,149,177,95,178,179,180,181,182,183,184,25,89,185,186,129,108,6,7,80,22,65,26,24,11,10,5,12,13,14,187,188,189,64,20,29,19,66,67,68,190,128,191,192,193,69,194,157,195,75,79,81,70,137,158,97,159,196,71,197,198,33,17,110,199,200,139,105,113,201,202,203,85,86,87,204,205,206,207,208,23,98,154,82,83,34,209,210,211,212,90,213,214,125,215,127,133,120,216,146,150,15,72,218,219,76,220,109,221,116,117,118,30,111,114,115,103,119,121,222,223,224,225,226,18,227,140,122,123,228,229,230,231,232,91,92]),import.meta.url);return function({id:t}){let n=e.find(e=>e.id===t);if(!n)return null;let r=n.Section;return(0,_.jsx)(r,{})}}),H=c(async()=>{let[{BoundSchemaSection:e},{OkCliPathRow:n},{SpellingSettings:r}]=await Promise.all([t(()=>import(`./schema-section-BTjV9wCm.js`),__vite__mapDeps([255,1,2,3,4,141,7,5,6,8,9,10,11,31,135,40,64,20,21,14,29,22,65,19,13,16,66,67,12,136,30,24,137,138,28,112,61,42,139,140,95,75,43,44,45,46,47,48,49,50,51,52,53,36,26,79,80,81,122,123,98,34,142,54,55,56,57,60,62,63,87,143,18,15,23,25,144,239]),import.meta.url),t(()=>import(`./OkCliPathRow-Dn-a2z6P.js`),__vite__mapDeps([258,1,2,3,4,109,6,7,8,13,14,66,16,110,9,10,11,5,19,20,21,22,33,31,26,24,35,36]),import.meta.url),t(()=>import(`./SpellingSettings-05EGR87o.js`),__vite__mapDeps([259,1,21,20,6,7,4,8,3,14,56,2,12,13,9,10,11,19,22,66,16,140,81,31,178,135,40,64,29,65,67,136,30,24,137,138,28,112,61,42,139,95,75,141,5,43,44,45,46,47,48,49,50,51,52,53,36,26,79,80,122,123,98,34,142,54,55,57,60,62,63,87,143,153]),import.meta.url)]);return{default:function({title:t,description:i,binding:a}){return(0,_.jsx)(e,{title:t,description:i,scope:`user`,scopeBadge:`user`,binding:a,fields:p,slotsAfter:{"appearance.theme":(0,_.jsx)(n,{}),"appearance.language":(0,_.jsx)(r,{})}})}}}),U=H.preload;function W(e){let t=(0,h.c)(4),{loadFailed:n}=e;if(!n){let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(T,{}),t[0]=e):e=t[0],e}let r;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,_.jsx)(s,{"aria-hidden":`true`}),t[1]=r):r=t[1];let a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,_.jsx)(u,{children:(0,_.jsx)(i,{id:`PXg8xK`})}),t[2]=a):a=t[2];let o;return t[3]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,_.jsxs)(d,{"data-testid":`settings-user-config-unavailable`,children:[r,a,(0,_.jsx)(l,{children:(0,_.jsx)(i,{id:`rFbQzX`})})]}),t[3]=o):o=t[3],o}function G(e){let t=(0,h.c)(37),{activeId:n,userBinding:r,userLoadFailed:o,okignoreBinding:s,okignoreSynced:c,markdownlintRuleQuery:l}=e,u=o===void 0?!1:o,{_:d}=a();if(n===`preferences`){let e;return t[0]!==d||t[1]!==r||t[2]!==u?(e=r?(0,_.jsx)(H,{title:d({id:`Q6hhn8`}),description:d({id:`Y_kL7X`}),binding:r}):(0,_.jsx)(W,{loadFailed:u}),t[0]=d,t[1]=r,t[2]=u,t[3]=e):e=t[3],e}if(n===`project-preferences`){let e;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(i,{id:`Q6hhn8`}),t[4]=e):e=t[4];let n;return t[5]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,_.jsxs)(`section`,{"aria-labelledby":`settings-project-preferences-title`,className:`space-y-8`,"data-testid":`settings-project-preferences`,children:[(0,_.jsx)(m,{titleId:`settings-project-preferences-title`,title:e,scope:`project`,children:(0,_.jsx)(i,{id:`FKVmcC`})}),(0,_.jsx)(C,{}),(0,_.jsx)(w,{}),f()?(0,_.jsx)(z,{}):null]}),t[5]=n):n=t[5],n}if(n===`agent-connections`){let e;return t[6]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(S,{}),t[6]=e):e=t[6],e}if(n===`hotkeys`){let e;return t[7]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(E,{}),t[7]=e):e=t[7],e}if(n===`account`){let e;return t[8]!==r||t[9]!==u?(e=r?(0,_.jsx)(x,{userBinding:r}):(0,_.jsx)(W,{loadFailed:u}),t[8]=r,t[9]=u,t[10]=e):e=t[10],e}if(n===`sync`){let e;return t[11]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsxs)(`section`,{"aria-labelledby":`settings-sync-sharing-title`,className:`space-y-8`,"data-testid":`settings-sync-sharing`,children:[(0,_.jsx)(m,{titleId:`settings-sync-sharing-title`,title:(0,_.jsx)(i,{id:`AznQ2V`}),children:(0,_.jsx)(i,{id:`HADdBA`})}),(0,_.jsx)(R,{}),(0,_.jsx)(b,{})]}),t[11]=e):e=t[11],e}if(n===`search`){let e;return t[12]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(F,{}),t[12]=e):e=t[12],e}if(n===`link-previews`){let e;return t[13]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(O,{}),t[13]=e):e=t[13],e}if(n===`plugins-manage`){let e;return t[14]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(A,{}),t[14]=e):e=t[14],e}if(n===`user-plugins-manage`){let e;return t[15]===r?e=t[16]:(e=(0,_.jsx)(j,{userBinding:r}),t[15]=r,t[16]=e),e}if(n===`plugin:theme`){let e;return t[17]!==r||t[18]!==u?(e=r?(0,_.jsx)(B,{userBinding:r}):(0,_.jsx)(W,{loadFailed:u}),t[17]=r,t[18]=u,t[19]=e):e=t[19],e}if(n===`plugin:slides`){let e;return t[20]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(L,{}),t[20]=e):e=t[20],e}if(n===`plugin:markdownlint`){let e=l??null,n;return t[21]===e?n=t[22]:(n=(0,_.jsx)(k,{initialRuleQuery:e}),t[21]=e,t[22]=n),n}if(n.startsWith(`plugin:`)){let e;t[23]===n?e=t[24]:(e=n.slice(7),t[23]=n,t[24]=e);let r;return t[25]!==n||t[26]!==e?(r=(0,_.jsx)(V,{id:e},n),t[25]=n,t[26]=e,t[27]=r):r=t[27],r}if(n===`project-templates`){let e;return t[28]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(P,{}),t[28]=e):e=t[28],e}if(n===`skills`){let e;return t[29]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(I,{scope:`project`}),t[29]=e):e=t[29],e}if(n===`user-skills`){let e;return t[30]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(I,{scope:`global`}),t[30]=e):e=t[30],e}if(n===`okignore`){let e;return t[31]!==s||t[32]!==c?(e=(0,_.jsx)(N,{binding:s,synced:c}),t[31]=s,t[32]=c,t[33]=e):e=t[33],e}if(n===`network-access`){let e;return t[34]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(M,{}),t[34]=e):e=t[34],e}if(n===`claude-desktop`){let e;return t[35]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(D,{}),t[35]=e):e=t[35],e}if(n===`about`){let e;return t[36]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(y,{}),t[36]=e):e=t[36],e}return null}export{G as SettingsDialogBody,U as preloadPreferencesSection};
@@ -1 +1 @@
1
- import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./jsx-runtime-BUgB2tll.js";import{t as n}from"./react-f2sANaYj.js";import{t as r}from"./compiler-runtime-BfE3aGVn.js";import{a as i,i as a,n as o,o as s,r as c}from"./pending-receive-nav-store-Iv87HrBp.js";import{t as l}from"./miss-dialog-store-CsiJb9Ou.js";import{c as u,i as d,n as f,s as p,t as m}from"./dialog-CAxu_6pu.js";import{d as h,u as g}from"./doc-hash-i74qqRXc.js";var _=r(),v=e(n(),1),y=t();function b(e){let t=e.split(`/`).filter(Boolean);return t.length>0?t[t.length-1]:e}function x(){let e=(0,_.c)(2),t=(0,v.useSyncExternalStore)(l.subscribe,l.getSnapshot,S);if(t===null)return null;let n;return e[0]===t?n=e[1]:(n=(0,y.jsx)(C,{nav:t},t.path),e[0]=t,e[1]=n),n}function S(){return null}function C(e){let t=(0,_.c)(28),{nav:n}=e,{state:r,refetch:v}=s(n),x;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(x=function(){l.dismiss()},t[0]=x):x=t[0];let S=x,C;t[1]===n.path?C=t[2]:(C=function(){window.location.hash=h(i(n.path)),S()},t[1]=n.path,t[2]=C);let w=C,T;t[3]===n?T=t[4]:(T=function(e){c.arm(o(n,e)),window.location.hash=n.kind===`folder`?h(e):g(e),S()},t[3]=n,t[4]=T);let E=T,D;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(D=e=>{e||S()},t[5]=D):D=t[5];let O=r.phase,k=r.phase===`resolved`?r.resolution.verdict:void 0,A;t[6]===n.path?A=t[7]:(A=b(n.path),t[6]=n.path,t[7]=A);let j;t[8]===A?j=t[9]:(j=(0,y.jsx)(p,{children:(0,y.jsx)(u,{className:`truncate`,children:A})}),t[8]=A,t[9]=j);let M=r.phase===`pending`?`flex flex-col items-center justify-center gap-3 py-6 text-center text-sm text-muted-foreground`:`flex flex-col items-center justify-center gap-6 py-2 text-center`,N;t[10]!==n.path||t[11]!==E?(N=()=>E(n.path),t[10]=n.path,t[11]=E,t[12]=N):N=t[12];let P;t[13]!==w||t[14]!==n||t[15]!==E||t[16]!==v||t[17]!==r||t[18]!==N?(P=(0,y.jsx)(a,{nav:n,state:r,onBrowseFolder:w,onOpenRenamed:E,onEnableAutoSync:S,onSyncCompleted:v,onPullApplied:N}),t[13]=w,t[14]=n,t[15]=E,t[16]=v,t[17]=r,t[18]=N,t[19]=P):P=t[19];let F;t[20]!==P||t[21]!==M?(F=(0,y.jsx)(f,{className:M,children:P}),t[20]=P,t[21]=M,t[22]=F):F=t[22];let I;return t[23]!==r.phase||t[24]!==F||t[25]!==k||t[26]!==j?(I=(0,y.jsx)(m,{open:!0,onOpenChange:D,children:(0,y.jsxs)(d,{className:`sm:max-w-md`,"data-testid":`share-receive-miss-dialog`,"data-phase":O,"data-verdict":k,children:[j,F]})}),t[23]=r.phase,t[24]=F,t[25]=k,t[26]=j,t[27]=I):I=t[27],I}export{x as ShareReceiveMissDialog};
1
+ import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./jsx-runtime-BUgB2tll.js";import{t as n}from"./react-f2sANaYj.js";import{t as r}from"./compiler-runtime-BfE3aGVn.js";import{a as i,i as a,n as o,o as s,r as c}from"./pending-receive-nav-store-hbWxGWbG.js";import{t as l}from"./miss-dialog-store-CsiJb9Ou.js";import{c as u,i as d,n as f,s as p,t as m}from"./dialog-CAxu_6pu.js";import{d as h,u as g}from"./doc-hash-i74qqRXc.js";var _=r(),v=e(n(),1),y=t();function b(e){let t=e.split(`/`).filter(Boolean);return t.length>0?t[t.length-1]:e}function x(){let e=(0,_.c)(2),t=(0,v.useSyncExternalStore)(l.subscribe,l.getSnapshot,S);if(t===null)return null;let n;return e[0]===t?n=e[1]:(n=(0,y.jsx)(C,{nav:t},t.path),e[0]=t,e[1]=n),n}function S(){return null}function C(e){let t=(0,_.c)(28),{nav:n}=e,{state:r,refetch:v}=s(n),x;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(x=function(){l.dismiss()},t[0]=x):x=t[0];let S=x,C;t[1]===n.path?C=t[2]:(C=function(){window.location.hash=h(i(n.path)),S()},t[1]=n.path,t[2]=C);let w=C,T;t[3]===n?T=t[4]:(T=function(e){c.arm(o(n,e)),window.location.hash=n.kind===`folder`?h(e):g(e),S()},t[3]=n,t[4]=T);let E=T,D;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(D=e=>{e||S()},t[5]=D):D=t[5];let O=r.phase,k=r.phase===`resolved`?r.resolution.verdict:void 0,A;t[6]===n.path?A=t[7]:(A=b(n.path),t[6]=n.path,t[7]=A);let j;t[8]===A?j=t[9]:(j=(0,y.jsx)(p,{children:(0,y.jsx)(u,{className:`truncate`,children:A})}),t[8]=A,t[9]=j);let M=r.phase===`pending`?`flex flex-col items-center justify-center gap-3 py-6 text-center text-sm text-muted-foreground`:`flex flex-col items-center justify-center gap-6 py-2 text-center`,N;t[10]!==n.path||t[11]!==E?(N=()=>E(n.path),t[10]=n.path,t[11]=E,t[12]=N):N=t[12];let P;t[13]!==w||t[14]!==n||t[15]!==E||t[16]!==v||t[17]!==r||t[18]!==N?(P=(0,y.jsx)(a,{nav:n,state:r,onBrowseFolder:w,onOpenRenamed:E,onEnableAutoSync:S,onSyncCompleted:v,onPullApplied:N}),t[13]=w,t[14]=n,t[15]=E,t[16]=v,t[17]=r,t[18]=N,t[19]=P):P=t[19];let F;t[20]!==P||t[21]!==M?(F=(0,y.jsx)(f,{className:M,children:P}),t[20]=P,t[21]=M,t[22]=F):F=t[22];let I;return t[23]!==r.phase||t[24]!==F||t[25]!==k||t[26]!==j?(I=(0,y.jsx)(m,{open:!0,onOpenChange:D,children:(0,y.jsxs)(d,{className:`sm:max-w-md`,"data-testid":`share-receive-miss-dialog`,"data-phase":O,"data-verdict":k,children:[j,F]})}),t[23]=r.phase,t[24]=F,t[25]=k,t[26]=j,t[27]=I):I=t[27],I}export{x as ShareReceiveMissDialog};
@@ -1 +1 @@
1
- import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./jsx-runtime-BUgB2tll.js";import{t as n}from"./react-f2sANaYj.js";import{n as r,r as i}from"./dist-Nvb76hAm.js";import{t as a}from"./compiler-runtime-BfE3aGVn.js";import{t as o}from"./utils-CPqDy6Hr.js";import{a as s,i as c,n as l,o as u,r as d,s as f,t as p}from"./select-Bx_fIuqY.js";import{t as m}from"./button-DzgjsZzC.js";import{l as h,n as g,r as _,t as v}from"./AddPropertiesButton-CFKmvgxU.js";import{a as y,h as b,r as x,t as S,u as C}from"./dropdown-menu-5XqyQTVx.js";import{n as w}from"./file-plus-DKxOZh2k.js";import{t as T}from"./list-plus-CYMJBvrm.js";import{p as E,t as D}from"./skill-scope-rg-mENMq.js";var O=a(),k=t();function A(e){let t=(0,O.c)(21),{value:n,onRequestMove:a,disabled:m,triggerClassName:h}=e,{_:g}=i(),_=E(),v;t[0]===a?v=t[1]:(v=e=>a(e),t[0]=a,t[1]=v);let y;t[2]===g?y=t[3]:(y=g({id:`oCHfGC`}),t[2]=g,t[3]=y);let b;t[4]===h?b=t[5]:(b=o(`w-auto gap-1 text-xs font-mono uppercase`,h),t[4]=h,t[5]=b);let x;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,k.jsx)(f,{}),t[6]=x):x=t[6];let S;t[7]!==y||t[8]!==b?(S=(0,k.jsx)(u,{size:`sm`,"aria-label":y,"data-testid":`skill-level-select`,className:b,children:x}),t[7]=y,t[8]=b,t[9]=S):S=t[9];let C;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,k.jsx)(s,{children:(0,k.jsx)(r,{id:`oCHfGC`})}),t[10]=C):C=t[10];let w;t[11]===_?w=t[12]:(w=D.map(e=>(0,k.jsx)(c,{value:e,children:_[e]},e)),t[11]=_,t[12]=w);let T;t[13]===w?T=t[14]:(T=(0,k.jsx)(l,{align:`end`,children:(0,k.jsxs)(d,{children:[C,w]})}),t[13]=w,t[14]=T);let A;return t[15]!==m||t[16]!==v||t[17]!==S||t[18]!==T||t[19]!==n?(A=(0,k.jsxs)(p,{value:n,onValueChange:v,disabled:m,children:[S,T]}),t[15]=m,t[16]=v,t[17]=S,t[18]=T,t[19]=n,t[20]=A):A=t[20],A}var j=e(n(),1);function M(e){let t=(0,O.c)(12),{scope:n,name:r}=e,[i,a]=(0,j.useState)(null),o;t[0]===n?o=t[1]:(o=e=>{e!==n&&a(e)},t[0]=n,t[1]=o);let s;t[2]!==r||t[3]!==i||t[4]!==n?(s=i?{scope:n,name:r,toScope:i}:null,t[2]=r,t[3]=i,t[4]=n,t[5]=s):s=t[5];let c;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(c=e=>!e&&a(null),t[6]=c):c=t[6];let l;t[7]===s?l=t[8]:(l=(0,k.jsx)(h,{target:s,onOpenChange:c}),t[7]=s,t[8]=l);let u;return t[9]!==o||t[10]!==l?(u={requestMove:o,dialog:l},t[9]=o,t[10]=l,t[11]=u):u=t[11],u}function N(e){let t=(0,O.c)(41),{scope:n,name:a,showAddPropertyButton:o,onAddProperty:s,problemCount:c,problemMessages:l}=e,{_:u}=i(),d;t[0]!==a||t[1]!==n?(d={scope:n,name:a},t[0]=a,t[1]=n,t[2]=d):d=t[2];let f=M(d),p;t[3]!==f.requestMove||t[4]!==n?(p=(0,k.jsx)(A,{value:n,onRequestMove:f.requestMove,triggerClassName:`hidden @xl/toolbar:flex`}),t[3]=f.requestMove,t[4]=n,t[5]=p):p=t[5];let h;t[6]!==a||t[7]!==n?(h=(0,k.jsx)(_,{scope:n,name:a}),t[6]=a,t[7]=n,t[8]=h):h=t[8];let E;t[9]!==p||t[10]!==h?(E=(0,k.jsxs)(`div`,{className:`flex items-center gap-2`,children:[p,h]}),t[9]=p,t[10]=h,t[11]=E):E=t[11];let D;t[12]!==s||t[13]!==c||t[14]!==l||t[15]!==o?(D=o?(0,k.jsx)(v,{onAddProperty:s,problemCount:c,problemMessages:l,className:`hidden @xl/toolbar:inline-flex`}):null,t[12]=s,t[13]=c,t[14]=l,t[15]=o,t[16]=D):D=t[16];let j;t[17]===u?j=t[18]:(j=u({id:`Yzs3QX`}),t[17]=u,t[18]=j);let N;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,k.jsx)(w,{className:`size-4`,"aria-hidden":!0}),t[19]=N):N=t[19];let P;t[20]===j?P=t[21]:(P=(0,k.jsx)(b,{asChild:!0,children:(0,k.jsx)(m,{variant:`ghost`,size:`icon`,"aria-label":j,"data-testid":`skill-toolbar-overflow`,className:`@xl/toolbar:hidden`,children:N})}),t[20]=j,t[21]=P);let F;t[22]===f?F=t[23]:(F=e=>f.requestMove(e),t[22]=f,t[23]=F);let I;t[24]!==n||t[25]!==F?(I=(0,k.jsx)(g,{value:n,onSelect:F}),t[24]=n,t[25]=F,t[26]=I):I=t[26];let L;t[27]!==s||t[28]!==o?(L=o?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(C,{}),(0,k.jsxs)(y,{onSelect:s,children:[(0,k.jsx)(T,{}),(0,k.jsx)(r,{id:`81H_23`})]})]}):null,t[27]=s,t[28]=o,t[29]=L):L=t[29];let R;t[30]!==I||t[31]!==L?(R=(0,k.jsxs)(x,{align:`end`,className:`min-w-44`,children:[I,L]}),t[30]=I,t[31]=L,t[32]=R):R=t[32];let z;t[33]!==R||t[34]!==P?(z=(0,k.jsxs)(S,{children:[P,R]}),t[33]=R,t[34]=P,t[35]=z):z=t[35];let B;return t[36]!==f.dialog||t[37]!==z||t[38]!==E||t[39]!==D?(B=(0,k.jsxs)(k.Fragment,{children:[E,D,z,f.dialog]}),t[36]=f.dialog,t[37]=z,t[38]=E,t[39]=D,t[40]=B):B=t[40],B}export{N as SkillToolbarControls};
1
+ import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./jsx-runtime-BUgB2tll.js";import{t as n}from"./react-f2sANaYj.js";import{n as r,r as i}from"./dist-Nvb76hAm.js";import{t as a}from"./compiler-runtime-BfE3aGVn.js";import{t as o}from"./utils-CPqDy6Hr.js";import{a as s,i as c,n as l,o as u,r as d,s as f,t as p}from"./select-Bx_fIuqY.js";import{t as m}from"./button-DzgjsZzC.js";import{l as h,n as g,r as _,t as v}from"./AddPropertiesButton-B6p_gdr8.js";import{a as y,h as b,r as x,t as S,u as C}from"./dropdown-menu-5XqyQTVx.js";import{n as w}from"./file-plus-DKxOZh2k.js";import{t as T}from"./list-plus-CYMJBvrm.js";import{p as E,t as D}from"./skill-scope-rg-mENMq.js";var O=a(),k=t();function A(e){let t=(0,O.c)(21),{value:n,onRequestMove:a,disabled:m,triggerClassName:h}=e,{_:g}=i(),_=E(),v;t[0]===a?v=t[1]:(v=e=>a(e),t[0]=a,t[1]=v);let y;t[2]===g?y=t[3]:(y=g({id:`oCHfGC`}),t[2]=g,t[3]=y);let b;t[4]===h?b=t[5]:(b=o(`w-auto gap-1 text-xs font-mono uppercase`,h),t[4]=h,t[5]=b);let x;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,k.jsx)(f,{}),t[6]=x):x=t[6];let S;t[7]!==y||t[8]!==b?(S=(0,k.jsx)(u,{size:`sm`,"aria-label":y,"data-testid":`skill-level-select`,className:b,children:x}),t[7]=y,t[8]=b,t[9]=S):S=t[9];let C;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,k.jsx)(s,{children:(0,k.jsx)(r,{id:`oCHfGC`})}),t[10]=C):C=t[10];let w;t[11]===_?w=t[12]:(w=D.map(e=>(0,k.jsx)(c,{value:e,children:_[e]},e)),t[11]=_,t[12]=w);let T;t[13]===w?T=t[14]:(T=(0,k.jsx)(l,{align:`end`,children:(0,k.jsxs)(d,{children:[C,w]})}),t[13]=w,t[14]=T);let A;return t[15]!==m||t[16]!==v||t[17]!==S||t[18]!==T||t[19]!==n?(A=(0,k.jsxs)(p,{value:n,onValueChange:v,disabled:m,children:[S,T]}),t[15]=m,t[16]=v,t[17]=S,t[18]=T,t[19]=n,t[20]=A):A=t[20],A}var j=e(n(),1);function M(e){let t=(0,O.c)(12),{scope:n,name:r}=e,[i,a]=(0,j.useState)(null),o;t[0]===n?o=t[1]:(o=e=>{e!==n&&a(e)},t[0]=n,t[1]=o);let s;t[2]!==r||t[3]!==i||t[4]!==n?(s=i?{scope:n,name:r,toScope:i}:null,t[2]=r,t[3]=i,t[4]=n,t[5]=s):s=t[5];let c;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(c=e=>!e&&a(null),t[6]=c):c=t[6];let l;t[7]===s?l=t[8]:(l=(0,k.jsx)(h,{target:s,onOpenChange:c}),t[7]=s,t[8]=l);let u;return t[9]!==o||t[10]!==l?(u={requestMove:o,dialog:l},t[9]=o,t[10]=l,t[11]=u):u=t[11],u}function N(e){let t=(0,O.c)(41),{scope:n,name:a,showAddPropertyButton:o,onAddProperty:s,problemCount:c,problemMessages:l}=e,{_:u}=i(),d;t[0]!==a||t[1]!==n?(d={scope:n,name:a},t[0]=a,t[1]=n,t[2]=d):d=t[2];let f=M(d),p;t[3]!==f.requestMove||t[4]!==n?(p=(0,k.jsx)(A,{value:n,onRequestMove:f.requestMove,triggerClassName:`hidden @xl/toolbar:flex`}),t[3]=f.requestMove,t[4]=n,t[5]=p):p=t[5];let h;t[6]!==a||t[7]!==n?(h=(0,k.jsx)(_,{scope:n,name:a}),t[6]=a,t[7]=n,t[8]=h):h=t[8];let E;t[9]!==p||t[10]!==h?(E=(0,k.jsxs)(`div`,{className:`flex items-center gap-2`,children:[p,h]}),t[9]=p,t[10]=h,t[11]=E):E=t[11];let D;t[12]!==s||t[13]!==c||t[14]!==l||t[15]!==o?(D=o?(0,k.jsx)(v,{onAddProperty:s,problemCount:c,problemMessages:l,className:`hidden @xl/toolbar:inline-flex`}):null,t[12]=s,t[13]=c,t[14]=l,t[15]=o,t[16]=D):D=t[16];let j;t[17]===u?j=t[18]:(j=u({id:`Yzs3QX`}),t[17]=u,t[18]=j);let N;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,k.jsx)(w,{className:`size-4`,"aria-hidden":!0}),t[19]=N):N=t[19];let P;t[20]===j?P=t[21]:(P=(0,k.jsx)(b,{asChild:!0,children:(0,k.jsx)(m,{variant:`ghost`,size:`icon`,"aria-label":j,"data-testid":`skill-toolbar-overflow`,className:`@xl/toolbar:hidden`,children:N})}),t[20]=j,t[21]=P);let F;t[22]===f?F=t[23]:(F=e=>f.requestMove(e),t[22]=f,t[23]=F);let I;t[24]!==n||t[25]!==F?(I=(0,k.jsx)(g,{value:n,onSelect:F}),t[24]=n,t[25]=F,t[26]=I):I=t[26];let L;t[27]!==s||t[28]!==o?(L=o?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(C,{}),(0,k.jsxs)(y,{onSelect:s,children:[(0,k.jsx)(T,{}),(0,k.jsx)(r,{id:`81H_23`})]})]}):null,t[27]=s,t[28]=o,t[29]=L):L=t[29];let R;t[30]!==I||t[31]!==L?(R=(0,k.jsxs)(x,{align:`end`,className:`min-w-44`,children:[I,L]}),t[30]=I,t[31]=L,t[32]=R):R=t[32];let z;t[33]!==R||t[34]!==P?(z=(0,k.jsxs)(S,{children:[P,R]}),t[33]=R,t[34]=P,t[35]=z):z=t[35];let B;return t[36]!==f.dialog||t[37]!==z||t[38]!==E||t[39]!==D?(B=(0,k.jsxs)(k.Fragment,{children:[E,D,z,f.dialog]}),t[36]=f.dialog,t[37]=z,t[38]=E,t[39]=D,t[40]=B):B=t[40],B}export{N as SkillToolbarControls};
@@ -1 +1 @@
1
- import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./jsx-runtime-BUgB2tll.js";import{At as n,Bt as r,Ft as i,Ot as a,Tn as o,Vt as s,Yn as c,an as l,er as u,jt as d,sn as ee,st as te,wn as ne}from"./DocumentContext-Ckv8SUWG.js";import{t as f}from"./react-f2sANaYj.js";import{r as p}from"./dist-Nvb76hAm.js";import{n as re}from"./dist-PQ5KMVDh.js";import{t as m}from"./compiler-runtime-BfE3aGVn.js";import{_t as h}from"./schemas-api-a9pvDgLB.js";import{i as g}from"./use-apply-config-theme-CYFG76sS.js";import{H as ie,I as ae,L as oe,N as se,T as ce,b as _,c as le,n as ue,o as v,r as de,t as fe,v as y,w as pe,z as me}from"./typing-burst-detector-43TkkCGr.js";import{Fn as he,Ln as ge,Q as b,a as _e,gt as x,i as ve,mt as S,o as ye,x as C}from"./CodeMirrorPropInput-CijXVQab.js";import{a as w,i as T}from"./constants-skills-Coq7kn_k.js";import{t as be}from"./diagnostic-breadcrumb-Mg7sdCfQ.js";import{n as E}from"./perf-CYJlqBBt.js";import{m as xe}from"./config-provider-B2uReVA0.js";import{$ as D,At as O,Ct as k,E as A,J as j,K as M,Mt as N,N as P,Nt as F,Tt as Se,X as I,at as L,b as R,et as z,ft as Ce,g as B,l as V,lt as we,ot as H,pt as U,st as W,tt as G,ut as K,v as q,wt as J}from"./dist-CoJBCixp.js";import{a as Te,i as Ee}from"./cm-theme-DpKmjLo0.js";import{i as De,t as Y}from"./dist-W5hM-kQ3.js";import{i as X,n as Z,o as Oe,r as ke}from"./dist-kajsw8zD.js";import{o as Ae,r as je}from"./selection-context-Dbqj5HIF.js";import{C as Me,D as Ne,t as Pe}from"./markdown-lint-Gr2dt_mE.js";import{l as Fe}from"./lint-config-client-IECAMEY0.js";import{a as Ie,i as Le,n as Re,o as ze,r as Be,s as Ve,t as He}from"./dist-DMhg0Xyd.js";import{n as Ue,t as We}from"./src-CY4cyl93.js";var Q=e(f(),1),Ge=m();function Ke(){let e=r();return e===null?null:new Set(e.keys())}function qe(e,t,n){let r=[],i=P(e);if(n!=null){let a=[];for(let{from:e,to:n}of t)i.iterate({from:e,to:n,enter(e){if(e.name===`InlineCode`||e.name===`FencedCode`)return a.push({from:e.from,to:e.to}),!1}});let o=(e,t)=>a.some(n=>e>=n.from&&t<=n.to);for(let{from:i,to:a}of t){let t=e.doc.sliceString(i,a);T.lastIndex=0;for(let e=T.exec(t);e!==null;e=T.exec(t)){let t=e[2];if(!w(t))continue;let a=i+(e.index??0)+e[1].length,s=a+t.length+1;o(a,s)||r.push(M.mark({class:n.has(t)?`cm-skill-ref`:`cm-skill-ref cm-skill-ref-missing`,attributes:{"data-skill-ref":t}}).range(a,s))}}}for(let{from:o,to:s}of t)i.iterate({from:o,to:s,enter(t){if(t.name!==`InlineCode`)return;let i=e.doc.sliceString(t.from,t.to),o=i.length-i.replace(/^`+/,``).length,s=i.length-i.replace(/`+$/,``).length,c=i.slice(o,i.length-s),l=/^\/([a-z0-9][a-z0-9-]{1,63})$/.exec(c)?.[1];if(l!==void 0&&w(l)&&n!=null)return r.push(M.mark({class:n.has(l)?`cm-skill-ref`:`cm-skill-ref cm-skill-ref-missing`,attributes:{"data-skill-ref":l}}).range(t.from+o,t.to-s)),!1;let u=a.exec(c);if(u)return r.push(M.mark({class:`cm-skill-path-link`,attributes:{"data-skill-path":u[1]}}).range(t.from+o,t.to-s)),!1}});return r.sort((e,t)=>e.from-t.from||e.value.startSide-t.value.startSide),M.set(r)}function Je(e){let t=d(e);return t===null?[]:[I.fromClass(class{decorations;constructor(e){this.decorations=qe(e.state,e.visibleRanges,Ke())}update(e){(e.docChanged||e.viewportChanged||P(e.startState)!==P(e.state))&&(this.decorations=qe(e.view.state,e.view.visibleRanges,Ke()))}},{decorations:e=>e.decorations}),j.domEventHandlers({mousedown(a){let o=a.target?.closest?.(`[data-skill-ref]`),c=o instanceof HTMLElement?o.dataset.skillRef:void 0;if(c!==void 0){a.preventDefault();let e=r()?.get(c);return e===void 0?i():window.location.hash=s(c,e),!0}let l=a.target?.closest?.(`.cm-skill-path-link`),u=l instanceof HTMLElement?l.dataset.skillPath:void 0;return u===void 0?!1:(a.preventDefault(),window.location.hash=n(t,e,u),!0)}})]}var Ye=M.line({attributes:{dir:`auto`}});function Xe(e){let t=new O;for(let n of e.visibleRanges)for(let r=n.from;r<=n.to;){let n=e.state.doc.lineAt(r);t.add(n.from,n.from,Ye),r=n.to+1}return t.finish()}var Ze=I.fromClass(class{decorations;constructor(e){this.decorations=Xe(e)}update(e){(e.docChanged||e.viewportChanged)&&(this.decorations=Xe(e.view))}},{decorations:e=>e.decorations}),Qe=[j.perLineTextDirection.of(!0),Ze],$e=new Set([`Link`,`Image`,`HTMLTag`,`HTMLBlock`]),et=`cm-lint-local-target`;function tt(e,t){let n=Math.min(Math.max(t.line+1,1),e.lines),r=e.line(n);return Math.min(r.from+Math.max(0,t.character),r.to)}function nt(e,t){let n=B(e,t+1,100);if(n){let e=n.resolveInner(t,1);for(;e;){if($e.has(e.name))return{from:e.from,to:e.to};e=e.parent}}return{from:t,to:t}}function rt(e){return e===`error`?`error`:e===`info`?`info`:`warning`}function it(e,t){let n=e.doc,r=[];for(let i of t){if(i.source!==`links`)continue;let t=nt(e,tt(n,i.range.start));r.push({from:t.from,to:Math.max(t.to,t.from),severity:rt(i.severity),message:_(i),source:`${i.source}/${i.code}`,markClass:et})}return r}var at=N.define();function ot(e){let t={findings:[]};return[Le(e=>S()?it(e.state,t.findings):[],{delay:300,needsRefresh:e=>e.transactions.some(e=>e.effects.some(e=>e.is(at)))}),I.define(n=>{let r=e=>{t.findings=e,n.dispatch({effects:at.of(null)}),He(n)},i=y(e,e=>{e.status===`loaded`&&r(e.findings)}),a=x(()=>r(t.findings));return{destroy(){i(),a()}}})]}function st(e,t){return e.enabled?[Re(),Le(async n=>ct(n.state.doc,await Me(n.state.doc.toString(),e,t)),{delay:600})]:[]}function $(e,t){let n=Math.min(Math.max(t.line+1,1),e.lines),r=e.line(n);return Math.min(r.from+Math.max(0,t.character),r.to)}function ct(e,t){let n=[];for(let r of t){let t=$(e,r.range.start),i=$(e,r.range.end),a={from:t,to:Math.max(i,t),severity:r.severity,message:r.message,source:`${r.source}/${r.code}`},o=lt(r);o&&(a.actions=[o]),n.push(a)}return n}function lt(e){let t=e.fixes;return!t||t.length===0?null:{name:`Fix`,apply(e){let n=e.state.doc;e.dispatch({changes:t.map(e=>({from:$(n,e.range.start),to:$(n,e.range.end),insert:e.newText})),userEvent:`input.complete`})}}}var ut=[K(),H(),W(),q(),z(),G(),Se.allowMultipleSelections.of(!0),A(),V(),ke(),Z(),U(),D(),L(),Ie(),we.of([...X,...Y,...Ve,...R,...Oe,...Be])],dt=M.mark({class:`cm-link-ref-broken`}),ft=/^\s{0,3}\[([^\]]+)\]:\s/,pt=/\[([^\]]*)\]\[([^\]]*)\]/g,mt=new Set([`FencedCode`,`CodeBlock`,`InlineCode`]);function ht(e,t){let n=0,r=t.length-1;for(;n<=r;){let i=n+r>>1,a=t[i];if(e<a.from)r=i-1;else if(e>=a.to)n=i+1;else return!0}return!1}function gt(e){let t=[];return P(e).iterate({enter(e){if(mt.has(e.name))return t.push({from:e.from,to:e.to}),!1}}),t.sort((e,t)=>e.from-t.from),t}function _t(e){let t=new Set,n=[],r=e.doc,i=gt(e);for(let e=1;e<=r.lines;e++){let n=r.line(e);if(ht(n.from,i))continue;let a=ft.exec(n.text);a&&t.add(a[1].toLowerCase())}for(let e=1;e<=r.lines;e++){let t=r.line(e);if(!ht(t.from,i)&&!ft.test(t.text))for(pt.lastIndex=0;;){let e=pt.exec(t.text);if(!e)break;let r=t.from+e.index;if(ht(r,i))continue;let a=e[2]||e[1];n.push({from:r,to:r+e[0].length,label:a.toLowerCase()})}}let a=[];for(let e of n)t.has(e.label)||a.push(dt.range(e.from,e.to));return a.sort((e,t)=>e.from-t.from),M.set(a)}var vt=F.define({create(e){return _t(e)},update(e,t){return t.docChanged?_t(t.state):e},provide:e=>j.decorations.from(e)}),yt=/^(\s*(?:[-*+]|\d+[.)]) (?:\[[ x]\] )?)/,bt=M.mark({class:`cm-del`}),xt=M.line({class:`cm-table-header`,attributes:{style:`--list-hang: 2ch`}}),St=M.line({class:`cm-table-row`,attributes:{style:`--list-hang: 2ch`}});function Ct(e){let t=0;for(let n of e)if(n===` `)t++;else if(n===` `)t+=4;else break;return t}function wt(e){if(e.doc.lines<2)return null;let t=e.doc.line(1);if(!h.test(t.text))return null;for(let n=2;n<=e.doc.lines;n++){let r=e.doc.line(n);if(h.test(r.text))return{from:t.from,to:r.to}}return null}function Tt(e,t){let n=[],r=P(e),i=wt(e),a=e=>i!==null&&e>=i.from&&e<=i.to;for(let{from:i,to:o}of t)r.iterate({from:i,to:o,enter(t){if(!a(t.from)){if(t.name===`Strikethrough`){let e=t.from,r=t.to,i=t.node.cursor();if(i.firstChild())do i.name===`StrikethroughMark`&&(i.from===t.from?e=i.to:r=i.from);while(i.nextSibling());return e<r&&n.push(bt.range(e,r)),!1}if(t.name===`ListItem`){let r=e.doc.lineAt(t.from),i=yt.exec(r.text),a=i?i[1].length:2,o=M.line({class:`cm-list-item`,attributes:{style:`--list-hang: ${a}ch`}});n.push(o.range(r.from));return}if(t.name===`FencedCode`){let r=e.doc.lineAt(t.from),i=e.doc.lineAt(t.to);for(let t=r.number+1;t<i.number;t++){let r=e.doc.line(t),i=Ct(r.text),a=M.line({class:`cm-fenced-code-line`,attributes:{style:`--line-indent: ${i}`}});n.push(a.range(r.from))}return!1}if(t.name===`TableHeader`){let r=e.doc.lineAt(t.from);return n.push(xt.range(r.from)),!1}if(t.name===`TableRow`){let r=e.doc.lineAt(t.from);return n.push(St.range(r.from)),!1}if(t.name===`TableDelimiter`&&t.node.parent?.name===`Table`){let r=e.doc.lineAt(t.from);return n.push(St.range(r.from)),!1}}}});return n.sort((e,t)=>e.from-t.from||e.value.startSide-t.value.startSide),M.set(n)}var Et=class{decorations;constructor(e){this.decorations=Tt(e.state,e.visibleRanges)}update(e){(e.docChanged||e.viewportChanged||P(e.startState)!==P(e.state))&&(this.decorations=Tt(e.view.state,e.view.visibleRanges))}},Dt=I.fromClass(Et,{decorations:e=>e.decorations});function Ot(){return[Dt,vt]}function kt(e,t){let n=e.trackedOrigins;return n.has(t)?!0:t?n.has(t.constructor):!1}function At(e){let{docName:t,ytext:n,undoManager:r}=e,i=!1,a=!1,o=!1,s=(e,t)=>{i||kt(r,t.origin)||(a=!0)};return n.observe(s),{setSourceModeActive(e){if(!o&&e!==i){if(!e){i=!1,r.stopCapturing();return}a&&(r.clear(),E(`ok/source-undo/flip-clear`,{docName:t})),a=!1,i=!0}},destroy(){o||(o=!0,n.unobserve(s))}}}var jt=new WeakMap;function Mt(e){return I.define(t=>{let n=At(e);return jt.set(t,n),{destroy(){n.destroy()}}})}function Nt(e,t){let n=jt.get(e);if(!n)throw Error(`createSourceUndoFlipExtension is not installed on this EditorView`);n.setSourceModeActive(t)}var Pt=t(),Ft=N.define();function It(e,t){try{Nt(t.view,!1)}finally{try{o(t)}finally{ge(e,t.view)}}}function Lt(e,t,n){let r=v(e.state.doc),i=r[t.index],a={docName:n,mode:`source`,index:t.index,sourceHeadingCount:r.length};if(!i)return be(ue,{...a,outcome:`no-target`}),!1;let o=u(n,`outline`,()=>{e.dispatch({selection:J.cursor(i.from),effects:j.scrollIntoView(i.from,{y:`start`})}),e.focus()});return be(ue,{...a,outcome:o?`scrolled`:`declined`,targetLine:e.state.doc.lineAt(i.from).number}),o}function Rt(e,t,n,r){requestAnimationFrame(()=>{if(!n())return;let i=e.state.doc,a=Math.min(t.offset,i.length);u(r,`raw-mdx`,()=>{e.dispatch({selection:J.cursor(a),effects:j.scrollIntoView(a,{y:`center`})}),e.focus()})})}function zt(e,t,n){let r=e.state.doc,i=Math.min(Math.max(t.line,1),r.lines),a=r.line(i),o=Math.min(a.from+Math.max(0,t.column-1),a.to);return u(n,`problems-row`,()=>{e.dispatch({selection:J.cursor(o),effects:j.scrollIntoView(o,{y:`start`})}),e.focus()})}function Bt(e){let t=(0,Ge.c)(57),{docName:n,ytext:r,provider:i,placeholder:a,isSourceModeActive:o}=e,s=(0,Q.useRef)(null),u=(0,Q.useRef)(null),[d,f]=(0,Q.useState)(null);if(d)throw d;let{resolvedTheme:m}=re(),{_:h}=p(),_;t[0]===h?_=t[1]:(_=h({id:`xbdtfY`}),t[0]=h,t[1]=_);let v=_,{merged:y}=g(),ge=(0,Q.useRef)(o),b=y?.editor?.wordWrap??!0,{data:x}=Fe(n),S;t[2]!==x?.effective||t[3]!==y?(S=x?.effective??(y?.contentRules?Ne(y.contentRules):Pe),t[2]=x?.effective,t[3]=y,t[4]=S):S=t[4];let C=S,w;t[5]===C?w=t[6]:(w=JSON.stringify(C),t[5]=C,t[6]=w);let T=w,E=(0,Q.useRef)(null),D;t[7]!==v||t[8]!==n||t[9]!==o||t[10]!==C||t[11]!==a||t[12]!==i||t[13]!==m||t[14]!==b||t[15]!==r?(D=()=>{let e=s.current;if(!e)return;let t=i.configuration.name??``,d,p=Ht;try{d=ne({docName:t,container:e,sizeStats:{viewCount:0,bytes:r.length},factory:e=>{let o=null,s=new xe(r);try{let u=te({ydoc:i.document,ytext:r,docName:t}),d=new k,ne=new k,f=new k,re=new k,h=new j({state:Se.create({doc:r.toString(),extensions:[Ee(v),ut,Qe,ze({scrollToMatch:e=>c(t,`find-match`)?j.scrollIntoView(e,{y:`start`}):Ft.of(null)}),we.of([De]),We(r,i.awareness,{undoManager:s}),we.of(Ue),Mt({docName:t,ytext:r,undoManager:s}),...ve({themeCompartment:d,resolvedTheme:m,ydoc:i.document,wordWrapCompartment:ne,wordWrap:b,currentDocName:t}),Ot(),Je(t),ie(),re.of(st(C,n)),ot(n),u,j.updateListener.of(e=>{l(e)&&ee(t)}),j.updateListener.of(e=>{!e.selectionSet&&!e.docChanged||(o!==null&&clearTimeout(o),o=setTimeout(()=>{o=null,pe(t,`source`,ce(e.view)),je(t,`source`,Ae(e.view,t))},120))}),f.of(Ce(a??``)),j.theme({"&":{height:`100%`}}),j.scrollMargins.of(Vt)]}),parent:e});pe(t,`source`,ce(h)),je(t,`source`,Ae(h,t));let g=h.contentDOM;return g.addEventListener(`keydown`,p),g.addEventListener(`paste`,p),g.addEventListener(`drop`,p),g.addEventListener(`cut`,p),{view:h,ydoc:i.document,ytext:r,provider:i,undoManager:s,themeCompartment:d,wordWrapCompartment:ne,placeholderCompartment:f,lintCompartment:re}}catch(e){let t=e;throw s.destroy(),t}}}),E.current=d,u.current=d.view,Nt(d.view,o),he(n,d.view,`sourceEditor`),fe()&&d.view.focus()}catch(e){let t=e;console.error(`[SourceEditor] mountCmEditor failed`,t),E.current=null,u.current=null,f(t instanceof Error?t:Error(String(t)))}return()=>{let e=E.current;E.current=null,u.current=null,e&&It(n,e)}},t[7]=v,t[8]=n,t[9]=o,t[10]=C,t[11]=a,t[12]=i,t[13]=m,t[14]=b,t[15]=r,t[16]=D):D=t[16];let O;t[17]!==i||t[18]!==r?(O=[r,i],t[17]=i,t[18]=r,t[19]=O):O=t[19],(0,Q.useEffect)(D,O);let A,M;t[20]===o?(A=t[21],M=t[22]):(A=()=>{ge.current=o;let e=u.current;e&&Nt(e,o)},M=[o],t[20]=o,t[21]=A,t[22]=M),(0,Q.useEffect)(A,M);let N,P;t[23]===n?(N=t[24],P=t[25]):(N=()=>{},P=[n],t[23]=n,t[24]=N,t[25]=P),(0,Q.useEffect)(N,P);let F,I;t[26]===m?(F=t[27],I=t[28]):(F=()=>{let e=E.current;e&&e.view.dispatch({effects:e.themeCompartment.reconfigure(m===`dark`?_e:ye)})},I=[m],t[26]=m,t[27]=F,t[28]=I),(0,Q.useEffect)(F,I);let L,R;t[29]===b?(L=t[30],R=t[31]):(L=()=>{let e=E.current;e&&e.view.dispatch({effects:e.wordWrapCompartment.reconfigure(b?j.lineWrapping:[])})},R=[b],t[29]=b,t[30]=L,t[31]=R),(0,Q.useEffect)(L,R);let z,B;t[32]===a?(z=t[33],B=t[34]):(z=()=>{let e=E.current;e&&e.view.dispatch({effects:e.placeholderCompartment.reconfigure(Ce(a??``))})},B=[a],t[32]=a,t[33]=z,t[34]=B),(0,Q.useEffect)(z,B);let V,H;t[35]===v?(V=t[36],H=t[37]):(V=()=>{let e=E.current;e&&Te(e.view,v)},H=[v],t[35]=v,t[36]=V,t[37]=H),(0,Q.useEffect)(V,H);let U;t[38]!==n||t[39]!==C?(U=()=>{let e=E.current;e&&e.view.dispatch({effects:e.lintCompartment.reconfigure(st(C,n))})},t[38]=n,t[39]=C,t[40]=U):U=t[40];let W;t[41]===T?W=t[42]:(W=[T],t[41]=T,t[42]=W),(0,Q.useEffect)(U,W);let G,K;t[43]!==n||t[44]!==o?(G=()=>{let e=function(e){let t=e.detail;if(!t||t.docName!==n||t.mode!==`source`||!o)return;let r=u.current;if(!r){be(ue,{docName:n,mode:`source`,index:t.index,outcome:`no-view`});return}Lt(r,t,n)&&t.onNavigated?.(r.contentDOM),ae(n)};return window.addEventListener(de,e),()=>window.removeEventListener(de,e)},K=[n,o],t[43]=n,t[44]=o,t[45]=G,t[46]=K):(G=t[45],K=t[46]),(0,Q.useEffect)(G,K);let q,J;t[47]!==n||t[48]!==o?(q=()=>{let e=function(e){let t=e.detail;if(!t||t.docName!==n||!o)return;let r=u.current;r&&zt(r,t,n)&&(ae(n),t.onNavigated?.(r.contentDOM))};return window.addEventListener(le,e),()=>window.removeEventListener(le,e)},J=[n,o],t[47]=n,t[48]=o,t[49]=q,t[50]=J):(q=t[49],J=t[50]),(0,Q.useEffect)(q,J);let Y,X;t[51]!==n||t[52]!==o||t[53]!==i?(Y=()=>{if(!o)return;let e=u.current;if(!e)return;let t=me(n);if(!t)return;if(t.kind!==`selection-offset`){oe(n),t.kind===`outline`?Lt(e,t.detail,n)&&t.detail.onNavigated?.(e.contentDOM):t.kind===`lint`?zt(e,t.detail,n)&&t.detail.onNavigated?.(e.contentDOM):t.kind===`raw-mdx`&&Rt(e,t.detail,()=>ge.current,n);return}let r=!1,a=null;return queueMicrotask(()=>{if(r)return;let t=me(n);t?.kind===`selection-offset`&&(a=se({view:e,docName:n,navigation:t,ydoc:i.document,transition:{from:`wysiwyg`,to:`source`}}),a&&oe(n))}),()=>{r=!0,a?.cancel(`mode-flip`)}},X=[n,o,i],t[51]=n,t[52]=o,t[53]=i,t[54]=Y,t[55]=X):(Y=t[54],X=t[55]),(0,Q.useEffect)(Y,X);let Z;return t[56]===Symbol.for(`react.memo_cache_sentinel`)?(Z=(0,Pt.jsx)(`div`,{ref:s,className:`source-editor h-full pb-3`}),t[56]=Z):Z=t[56],Z}function Vt(){return{top:C()}}function Ht(){return b()}export{Bt as SourceEditor,Rt as applyRawMdxNavigation};
1
+ import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./jsx-runtime-BUgB2tll.js";import{At as n,Bt as r,Ft as i,Ot as a,Tn as o,Vt as s,Yn as c,an as l,er as u,jt as d,sn as ee,st as te,wn as ne}from"./DocumentContext-DXpWi5ky.js";import{t as f}from"./react-f2sANaYj.js";import{r as p}from"./dist-Nvb76hAm.js";import{n as re}from"./dist-PQ5KMVDh.js";import{t as m}from"./compiler-runtime-BfE3aGVn.js";import{_t as h}from"./schemas-api-a9pvDgLB.js";import{i as g}from"./use-apply-config-theme-CYFG76sS.js";import{H as ie,I as ae,L as oe,N as se,T as ce,b as _,c as le,n as ue,o as v,r as de,t as fe,v as y,w as pe,z as me}from"./typing-burst-detector-BPhBcJhO.js";import{Fn as he,Ln as ge,Q as b,a as _e,gt as x,i as ve,mt as S,o as ye,x as C}from"./CodeMirrorPropInput-B9s5B9Bw.js";import{a as w,i as T}from"./constants-skills-Coq7kn_k.js";import{t as be}from"./diagnostic-breadcrumb-Mg7sdCfQ.js";import{n as E}from"./perf-CYJlqBBt.js";import{m as xe}from"./config-provider-CNRgcd7O.js";import{$ as D,At as O,Ct as k,E as A,J as j,K as M,Mt as N,N as P,Nt as F,Tt as Se,X as I,at as L,b as R,et as z,ft as Ce,g as B,l as V,lt as we,ot as H,pt as U,st as W,tt as G,ut as K,v as q,wt as J}from"./dist-CoJBCixp.js";import{a as Te,i as Ee}from"./cm-theme-DpKmjLo0.js";import{i as De,t as Y}from"./dist-W5hM-kQ3.js";import{i as X,n as Z,o as Oe,r as ke}from"./dist-kajsw8zD.js";import{o as Ae,r as je}from"./selection-context-C7DBYtd4.js";import{C as Me,D as Ne,t as Pe}from"./markdown-lint-BU1ReVdL.js";import{l as Fe}from"./lint-config-client-CE9biPJr.js";import{a as Ie,i as Le,n as Re,o as ze,r as Be,s as Ve,t as He}from"./dist-DMhg0Xyd.js";import{n as Ue,t as We}from"./src-Bd4ITI6l.js";var Q=e(f(),1),Ge=m();function Ke(){let e=r();return e===null?null:new Set(e.keys())}function qe(e,t,n){let r=[],i=P(e);if(n!=null){let a=[];for(let{from:e,to:n}of t)i.iterate({from:e,to:n,enter(e){if(e.name===`InlineCode`||e.name===`FencedCode`)return a.push({from:e.from,to:e.to}),!1}});let o=(e,t)=>a.some(n=>e>=n.from&&t<=n.to);for(let{from:i,to:a}of t){let t=e.doc.sliceString(i,a);T.lastIndex=0;for(let e=T.exec(t);e!==null;e=T.exec(t)){let t=e[2];if(!w(t))continue;let a=i+(e.index??0)+e[1].length,s=a+t.length+1;o(a,s)||r.push(M.mark({class:n.has(t)?`cm-skill-ref`:`cm-skill-ref cm-skill-ref-missing`,attributes:{"data-skill-ref":t}}).range(a,s))}}}for(let{from:o,to:s}of t)i.iterate({from:o,to:s,enter(t){if(t.name!==`InlineCode`)return;let i=e.doc.sliceString(t.from,t.to),o=i.length-i.replace(/^`+/,``).length,s=i.length-i.replace(/`+$/,``).length,c=i.slice(o,i.length-s),l=/^\/([a-z0-9][a-z0-9-]{1,63})$/.exec(c)?.[1];if(l!==void 0&&w(l)&&n!=null)return r.push(M.mark({class:n.has(l)?`cm-skill-ref`:`cm-skill-ref cm-skill-ref-missing`,attributes:{"data-skill-ref":l}}).range(t.from+o,t.to-s)),!1;let u=a.exec(c);if(u)return r.push(M.mark({class:`cm-skill-path-link`,attributes:{"data-skill-path":u[1]}}).range(t.from+o,t.to-s)),!1}});return r.sort((e,t)=>e.from-t.from||e.value.startSide-t.value.startSide),M.set(r)}function Je(e){let t=d(e);return t===null?[]:[I.fromClass(class{decorations;constructor(e){this.decorations=qe(e.state,e.visibleRanges,Ke())}update(e){(e.docChanged||e.viewportChanged||P(e.startState)!==P(e.state))&&(this.decorations=qe(e.view.state,e.view.visibleRanges,Ke()))}},{decorations:e=>e.decorations}),j.domEventHandlers({mousedown(a){let o=a.target?.closest?.(`[data-skill-ref]`),c=o instanceof HTMLElement?o.dataset.skillRef:void 0;if(c!==void 0){a.preventDefault();let e=r()?.get(c);return e===void 0?i():window.location.hash=s(c,e),!0}let l=a.target?.closest?.(`.cm-skill-path-link`),u=l instanceof HTMLElement?l.dataset.skillPath:void 0;return u===void 0?!1:(a.preventDefault(),window.location.hash=n(t,e,u),!0)}})]}var Ye=M.line({attributes:{dir:`auto`}});function Xe(e){let t=new O;for(let n of e.visibleRanges)for(let r=n.from;r<=n.to;){let n=e.state.doc.lineAt(r);t.add(n.from,n.from,Ye),r=n.to+1}return t.finish()}var Ze=I.fromClass(class{decorations;constructor(e){this.decorations=Xe(e)}update(e){(e.docChanged||e.viewportChanged)&&(this.decorations=Xe(e.view))}},{decorations:e=>e.decorations}),Qe=[j.perLineTextDirection.of(!0),Ze],$e=new Set([`Link`,`Image`,`HTMLTag`,`HTMLBlock`]),et=`cm-lint-local-target`;function tt(e,t){let n=Math.min(Math.max(t.line+1,1),e.lines),r=e.line(n);return Math.min(r.from+Math.max(0,t.character),r.to)}function nt(e,t){let n=B(e,t+1,100);if(n){let e=n.resolveInner(t,1);for(;e;){if($e.has(e.name))return{from:e.from,to:e.to};e=e.parent}}return{from:t,to:t}}function rt(e){return e===`error`?`error`:e===`info`?`info`:`warning`}function it(e,t){let n=e.doc,r=[];for(let i of t){if(i.source!==`links`)continue;let t=nt(e,tt(n,i.range.start));r.push({from:t.from,to:Math.max(t.to,t.from),severity:rt(i.severity),message:_(i),source:`${i.source}/${i.code}`,markClass:et})}return r}var at=N.define();function ot(e){let t={findings:[]};return[Le(e=>S()?it(e.state,t.findings):[],{delay:300,needsRefresh:e=>e.transactions.some(e=>e.effects.some(e=>e.is(at)))}),I.define(n=>{let r=e=>{t.findings=e,n.dispatch({effects:at.of(null)}),He(n)},i=y(e,e=>{e.status===`loaded`&&r(e.findings)}),a=x(()=>r(t.findings));return{destroy(){i(),a()}}})]}function st(e,t){return e.enabled?[Re(),Le(async n=>ct(n.state.doc,await Me(n.state.doc.toString(),e,t)),{delay:600})]:[]}function $(e,t){let n=Math.min(Math.max(t.line+1,1),e.lines),r=e.line(n);return Math.min(r.from+Math.max(0,t.character),r.to)}function ct(e,t){let n=[];for(let r of t){let t=$(e,r.range.start),i=$(e,r.range.end),a={from:t,to:Math.max(i,t),severity:r.severity,message:r.message,source:`${r.source}/${r.code}`},o=lt(r);o&&(a.actions=[o]),n.push(a)}return n}function lt(e){let t=e.fixes;return!t||t.length===0?null:{name:`Fix`,apply(e){let n=e.state.doc;e.dispatch({changes:t.map(e=>({from:$(n,e.range.start),to:$(n,e.range.end),insert:e.newText})),userEvent:`input.complete`})}}}var ut=[K(),H(),W(),q(),z(),G(),Se.allowMultipleSelections.of(!0),A(),V(),ke(),Z(),U(),D(),L(),Ie(),we.of([...X,...Y,...Ve,...R,...Oe,...Be])],dt=M.mark({class:`cm-link-ref-broken`}),ft=/^\s{0,3}\[([^\]]+)\]:\s/,pt=/\[([^\]]*)\]\[([^\]]*)\]/g,mt=new Set([`FencedCode`,`CodeBlock`,`InlineCode`]);function ht(e,t){let n=0,r=t.length-1;for(;n<=r;){let i=n+r>>1,a=t[i];if(e<a.from)r=i-1;else if(e>=a.to)n=i+1;else return!0}return!1}function gt(e){let t=[];return P(e).iterate({enter(e){if(mt.has(e.name))return t.push({from:e.from,to:e.to}),!1}}),t.sort((e,t)=>e.from-t.from),t}function _t(e){let t=new Set,n=[],r=e.doc,i=gt(e);for(let e=1;e<=r.lines;e++){let n=r.line(e);if(ht(n.from,i))continue;let a=ft.exec(n.text);a&&t.add(a[1].toLowerCase())}for(let e=1;e<=r.lines;e++){let t=r.line(e);if(!ht(t.from,i)&&!ft.test(t.text))for(pt.lastIndex=0;;){let e=pt.exec(t.text);if(!e)break;let r=t.from+e.index;if(ht(r,i))continue;let a=e[2]||e[1];n.push({from:r,to:r+e[0].length,label:a.toLowerCase()})}}let a=[];for(let e of n)t.has(e.label)||a.push(dt.range(e.from,e.to));return a.sort((e,t)=>e.from-t.from),M.set(a)}var vt=F.define({create(e){return _t(e)},update(e,t){return t.docChanged?_t(t.state):e},provide:e=>j.decorations.from(e)}),yt=/^(\s*(?:[-*+]|\d+[.)]) (?:\[[ x]\] )?)/,bt=M.mark({class:`cm-del`}),xt=M.line({class:`cm-table-header`,attributes:{style:`--list-hang: 2ch`}}),St=M.line({class:`cm-table-row`,attributes:{style:`--list-hang: 2ch`}});function Ct(e){let t=0;for(let n of e)if(n===` `)t++;else if(n===` `)t+=4;else break;return t}function wt(e){if(e.doc.lines<2)return null;let t=e.doc.line(1);if(!h.test(t.text))return null;for(let n=2;n<=e.doc.lines;n++){let r=e.doc.line(n);if(h.test(r.text))return{from:t.from,to:r.to}}return null}function Tt(e,t){let n=[],r=P(e),i=wt(e),a=e=>i!==null&&e>=i.from&&e<=i.to;for(let{from:i,to:o}of t)r.iterate({from:i,to:o,enter(t){if(!a(t.from)){if(t.name===`Strikethrough`){let e=t.from,r=t.to,i=t.node.cursor();if(i.firstChild())do i.name===`StrikethroughMark`&&(i.from===t.from?e=i.to:r=i.from);while(i.nextSibling());return e<r&&n.push(bt.range(e,r)),!1}if(t.name===`ListItem`){let r=e.doc.lineAt(t.from),i=yt.exec(r.text),a=i?i[1].length:2,o=M.line({class:`cm-list-item`,attributes:{style:`--list-hang: ${a}ch`}});n.push(o.range(r.from));return}if(t.name===`FencedCode`){let r=e.doc.lineAt(t.from),i=e.doc.lineAt(t.to);for(let t=r.number+1;t<i.number;t++){let r=e.doc.line(t),i=Ct(r.text),a=M.line({class:`cm-fenced-code-line`,attributes:{style:`--line-indent: ${i}`}});n.push(a.range(r.from))}return!1}if(t.name===`TableHeader`){let r=e.doc.lineAt(t.from);return n.push(xt.range(r.from)),!1}if(t.name===`TableRow`){let r=e.doc.lineAt(t.from);return n.push(St.range(r.from)),!1}if(t.name===`TableDelimiter`&&t.node.parent?.name===`Table`){let r=e.doc.lineAt(t.from);return n.push(St.range(r.from)),!1}}}});return n.sort((e,t)=>e.from-t.from||e.value.startSide-t.value.startSide),M.set(n)}var Et=class{decorations;constructor(e){this.decorations=Tt(e.state,e.visibleRanges)}update(e){(e.docChanged||e.viewportChanged||P(e.startState)!==P(e.state))&&(this.decorations=Tt(e.view.state,e.view.visibleRanges))}},Dt=I.fromClass(Et,{decorations:e=>e.decorations});function Ot(){return[Dt,vt]}function kt(e,t){let n=e.trackedOrigins;return n.has(t)?!0:t?n.has(t.constructor):!1}function At(e){let{docName:t,ytext:n,undoManager:r}=e,i=!1,a=!1,o=!1,s=(e,t)=>{i||kt(r,t.origin)||(a=!0)};return n.observe(s),{setSourceModeActive(e){if(!o&&e!==i){if(!e){i=!1,r.stopCapturing();return}a&&(r.clear(),E(`ok/source-undo/flip-clear`,{docName:t})),a=!1,i=!0}},destroy(){o||(o=!0,n.unobserve(s))}}}var jt=new WeakMap;function Mt(e){return I.define(t=>{let n=At(e);return jt.set(t,n),{destroy(){n.destroy()}}})}function Nt(e,t){let n=jt.get(e);if(!n)throw Error(`createSourceUndoFlipExtension is not installed on this EditorView`);n.setSourceModeActive(t)}var Pt=t(),Ft=N.define();function It(e,t){try{Nt(t.view,!1)}finally{try{o(t)}finally{ge(e,t.view)}}}function Lt(e,t,n){let r=v(e.state.doc),i=r[t.index],a={docName:n,mode:`source`,index:t.index,sourceHeadingCount:r.length};if(!i)return be(ue,{...a,outcome:`no-target`}),!1;let o=u(n,`outline`,()=>{e.dispatch({selection:J.cursor(i.from),effects:j.scrollIntoView(i.from,{y:`start`})}),e.focus()});return be(ue,{...a,outcome:o?`scrolled`:`declined`,targetLine:e.state.doc.lineAt(i.from).number}),o}function Rt(e,t,n,r){requestAnimationFrame(()=>{if(!n())return;let i=e.state.doc,a=Math.min(t.offset,i.length);u(r,`raw-mdx`,()=>{e.dispatch({selection:J.cursor(a),effects:j.scrollIntoView(a,{y:`center`})}),e.focus()})})}function zt(e,t,n){let r=e.state.doc,i=Math.min(Math.max(t.line,1),r.lines),a=r.line(i),o=Math.min(a.from+Math.max(0,t.column-1),a.to);return u(n,`problems-row`,()=>{e.dispatch({selection:J.cursor(o),effects:j.scrollIntoView(o,{y:`start`})}),e.focus()})}function Bt(e){let t=(0,Ge.c)(57),{docName:n,ytext:r,provider:i,placeholder:a,isSourceModeActive:o}=e,s=(0,Q.useRef)(null),u=(0,Q.useRef)(null),[d,f]=(0,Q.useState)(null);if(d)throw d;let{resolvedTheme:m}=re(),{_:h}=p(),_;t[0]===h?_=t[1]:(_=h({id:`xbdtfY`}),t[0]=h,t[1]=_);let v=_,{merged:y}=g(),ge=(0,Q.useRef)(o),b=y?.editor?.wordWrap??!0,{data:x}=Fe(n),S;t[2]!==x?.effective||t[3]!==y?(S=x?.effective??(y?.contentRules?Ne(y.contentRules):Pe),t[2]=x?.effective,t[3]=y,t[4]=S):S=t[4];let C=S,w;t[5]===C?w=t[6]:(w=JSON.stringify(C),t[5]=C,t[6]=w);let T=w,E=(0,Q.useRef)(null),D;t[7]!==v||t[8]!==n||t[9]!==o||t[10]!==C||t[11]!==a||t[12]!==i||t[13]!==m||t[14]!==b||t[15]!==r?(D=()=>{let e=s.current;if(!e)return;let t=i.configuration.name??``,d,p=Ht;try{d=ne({docName:t,container:e,sizeStats:{viewCount:0,bytes:r.length},factory:e=>{let o=null,s=new xe(r);try{let u=te({ydoc:i.document,ytext:r,docName:t}),d=new k,ne=new k,f=new k,re=new k,h=new j({state:Se.create({doc:r.toString(),extensions:[Ee(v),ut,Qe,ze({scrollToMatch:e=>c(t,`find-match`)?j.scrollIntoView(e,{y:`start`}):Ft.of(null)}),we.of([De]),We(r,i.awareness,{undoManager:s}),we.of(Ue),Mt({docName:t,ytext:r,undoManager:s}),...ve({themeCompartment:d,resolvedTheme:m,ydoc:i.document,wordWrapCompartment:ne,wordWrap:b,currentDocName:t}),Ot(),Je(t),ie(),re.of(st(C,n)),ot(n),u,j.updateListener.of(e=>{l(e)&&ee(t)}),j.updateListener.of(e=>{!e.selectionSet&&!e.docChanged||(o!==null&&clearTimeout(o),o=setTimeout(()=>{o=null,pe(t,`source`,ce(e.view)),je(t,`source`,Ae(e.view,t))},120))}),f.of(Ce(a??``)),j.theme({"&":{height:`100%`}}),j.scrollMargins.of(Vt)]}),parent:e});pe(t,`source`,ce(h)),je(t,`source`,Ae(h,t));let g=h.contentDOM;return g.addEventListener(`keydown`,p),g.addEventListener(`paste`,p),g.addEventListener(`drop`,p),g.addEventListener(`cut`,p),{view:h,ydoc:i.document,ytext:r,provider:i,undoManager:s,themeCompartment:d,wordWrapCompartment:ne,placeholderCompartment:f,lintCompartment:re}}catch(e){let t=e;throw s.destroy(),t}}}),E.current=d,u.current=d.view,Nt(d.view,o),he(n,d.view,`sourceEditor`),fe()&&d.view.focus()}catch(e){let t=e;console.error(`[SourceEditor] mountCmEditor failed`,t),E.current=null,u.current=null,f(t instanceof Error?t:Error(String(t)))}return()=>{let e=E.current;E.current=null,u.current=null,e&&It(n,e)}},t[7]=v,t[8]=n,t[9]=o,t[10]=C,t[11]=a,t[12]=i,t[13]=m,t[14]=b,t[15]=r,t[16]=D):D=t[16];let O;t[17]!==i||t[18]!==r?(O=[r,i],t[17]=i,t[18]=r,t[19]=O):O=t[19],(0,Q.useEffect)(D,O);let A,M;t[20]===o?(A=t[21],M=t[22]):(A=()=>{ge.current=o;let e=u.current;e&&Nt(e,o)},M=[o],t[20]=o,t[21]=A,t[22]=M),(0,Q.useEffect)(A,M);let N,P;t[23]===n?(N=t[24],P=t[25]):(N=()=>{},P=[n],t[23]=n,t[24]=N,t[25]=P),(0,Q.useEffect)(N,P);let F,I;t[26]===m?(F=t[27],I=t[28]):(F=()=>{let e=E.current;e&&e.view.dispatch({effects:e.themeCompartment.reconfigure(m===`dark`?_e:ye)})},I=[m],t[26]=m,t[27]=F,t[28]=I),(0,Q.useEffect)(F,I);let L,R;t[29]===b?(L=t[30],R=t[31]):(L=()=>{let e=E.current;e&&e.view.dispatch({effects:e.wordWrapCompartment.reconfigure(b?j.lineWrapping:[])})},R=[b],t[29]=b,t[30]=L,t[31]=R),(0,Q.useEffect)(L,R);let z,B;t[32]===a?(z=t[33],B=t[34]):(z=()=>{let e=E.current;e&&e.view.dispatch({effects:e.placeholderCompartment.reconfigure(Ce(a??``))})},B=[a],t[32]=a,t[33]=z,t[34]=B),(0,Q.useEffect)(z,B);let V,H;t[35]===v?(V=t[36],H=t[37]):(V=()=>{let e=E.current;e&&Te(e.view,v)},H=[v],t[35]=v,t[36]=V,t[37]=H),(0,Q.useEffect)(V,H);let U;t[38]!==n||t[39]!==C?(U=()=>{let e=E.current;e&&e.view.dispatch({effects:e.lintCompartment.reconfigure(st(C,n))})},t[38]=n,t[39]=C,t[40]=U):U=t[40];let W;t[41]===T?W=t[42]:(W=[T],t[41]=T,t[42]=W),(0,Q.useEffect)(U,W);let G,K;t[43]!==n||t[44]!==o?(G=()=>{let e=function(e){let t=e.detail;if(!t||t.docName!==n||t.mode!==`source`||!o)return;let r=u.current;if(!r){be(ue,{docName:n,mode:`source`,index:t.index,outcome:`no-view`});return}Lt(r,t,n)&&t.onNavigated?.(r.contentDOM),ae(n)};return window.addEventListener(de,e),()=>window.removeEventListener(de,e)},K=[n,o],t[43]=n,t[44]=o,t[45]=G,t[46]=K):(G=t[45],K=t[46]),(0,Q.useEffect)(G,K);let q,J;t[47]!==n||t[48]!==o?(q=()=>{let e=function(e){let t=e.detail;if(!t||t.docName!==n||!o)return;let r=u.current;r&&zt(r,t,n)&&(ae(n),t.onNavigated?.(r.contentDOM))};return window.addEventListener(le,e),()=>window.removeEventListener(le,e)},J=[n,o],t[47]=n,t[48]=o,t[49]=q,t[50]=J):(q=t[49],J=t[50]),(0,Q.useEffect)(q,J);let Y,X;t[51]!==n||t[52]!==o||t[53]!==i?(Y=()=>{if(!o)return;let e=u.current;if(!e)return;let t=me(n);if(!t)return;if(t.kind!==`selection-offset`){oe(n),t.kind===`outline`?Lt(e,t.detail,n)&&t.detail.onNavigated?.(e.contentDOM):t.kind===`lint`?zt(e,t.detail,n)&&t.detail.onNavigated?.(e.contentDOM):t.kind===`raw-mdx`&&Rt(e,t.detail,()=>ge.current,n);return}let r=!1,a=null;return queueMicrotask(()=>{if(r)return;let t=me(n);t?.kind===`selection-offset`&&(a=se({view:e,docName:n,navigation:t,ydoc:i.document,transition:{from:`wysiwyg`,to:`source`}}),a&&oe(n))}),()=>{r=!0,a?.cancel(`mode-flip`)}},X=[n,o,i],t[51]=n,t[52]=o,t[53]=i,t[54]=Y,t[55]=X):(Y=t[54],X=t[55]),(0,Q.useEffect)(Y,X);let Z;return t[56]===Symbol.for(`react.memo_cache_sentinel`)?(Z=(0,Pt.jsx)(`div`,{ref:s,className:`source-editor h-full pb-3`}),t[56]=Z):Z=t[56],Z}function Vt(){return{top:C()}}function Ht(){return b()}export{Bt as SourceEditor,Rt as applyRawMdxNavigation};