neutralino-python 0.1.0__py3-none-any.whl

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 (521) hide show
  1. neutralino/__init__.py +88 -0
  2. neutralino/_catalog.py +297 -0
  3. neutralino/_data/LICENSE.neutralino-js-client +21 -0
  4. neutralino/_data/LICENSE.neutralinojs +1066 -0
  5. neutralino/_data/docs/cli.md +315 -0
  6. neutralino/_data/docs/custom-components.md +107 -0
  7. neutralino/_data/docs/custom-frontends.md +80 -0
  8. neutralino/_data/docs/desktop-helpers.md +296 -0
  9. neutralino/_data/docs/guide.md +131 -0
  10. neutralino/_data/docs/llms-full.txt +3921 -0
  11. neutralino/_data/docs/llms.txt +43 -0
  12. neutralino/_data/docs/manifests/components.json +20128 -0
  13. neutralino/_data/docs/manifests/examples.json +52 -0
  14. neutralino/_data/docs/manifests/native.json +3024 -0
  15. neutralino/_data/docs/manifests/schema.json +43 -0
  16. neutralino/_data/docs/manual-checklist.md +189 -0
  17. neutralino/_data/docs/packaging.md +252 -0
  18. neutralino/_data/docs/performance.md +15 -0
  19. neutralino/_data/docs/platforms.md +15 -0
  20. neutralino/_data/docs/reference/components.md +1685 -0
  21. neutralino/_data/docs/reference/native.md +148 -0
  22. neutralino/_data/docs/security.md +60 -0
  23. neutralino/_data/docs/ui.md +249 -0
  24. neutralino/_data/docs/updates.md +366 -0
  25. neutralino/_data/examples/README.md +6 -0
  26. neutralino/_data/examples/crud/README.md +36 -0
  27. neutralino/_data/examples/crud/app.py +243 -0
  28. neutralino/_data/examples/dashboard/README.md +36 -0
  29. neutralino/_data/examples/dashboard/app.py +367 -0
  30. neutralino/_data/examples/editor/README.md +35 -0
  31. neutralino/_data/examples/editor/app.py +190 -0
  32. neutralino/_data/examples/file-manager/README.md +40 -0
  33. neutralino/_data/examples/file-manager/app.py +120 -0
  34. neutralino/_data/examples/file-manager/frontend/index.html +20 -0
  35. neutralino/_data/examples/file-manager/frontend/main.js +55 -0
  36. neutralino/_data/examples/file-manager/frontend/neutralino.js +1 -0
  37. neutralino/_data/examples/file-manager/frontend/python-bridge.d.ts +207 -0
  38. neutralino/_data/examples/file-manager/frontend/python-bridge.mjs +854 -0
  39. neutralino/_data/examples/file-manager/frontend/style.css +4 -0
  40. neutralino/_data/examples/hybrid/README.md +48 -0
  41. neutralino/_data/examples/hybrid/app.py +80 -0
  42. neutralino/_data/examples/hybrid/components/counter.mjs +37 -0
  43. neutralino/_data/examples/hybrid/components/widget.mjs +23 -0
  44. neutralino/_data/examples/hybrid/styles.css +21 -0
  45. neutralino/_data/examples/hybrid/widget/package.json +20 -0
  46. neutralino/_data/examples/hybrid/widget/src/Widget.jsx +25 -0
  47. neutralino/_data/examples/hybrid/widget/vite.config.mjs +19 -0
  48. neutralino/_data/examples/monitor/README.md +36 -0
  49. neutralino/_data/examples/monitor/app.py +375 -0
  50. neutralino/_data/examples/react/README.md +90 -0
  51. neutralino/_data/examples/react/app.py +68 -0
  52. neutralino/_data/examples/react/frontend/.gitignore +5 -0
  53. neutralino/_data/examples/react/frontend/index.html +17 -0
  54. neutralino/_data/examples/react/frontend/package-lock.json +1232 -0
  55. neutralino/_data/examples/react/frontend/package.json +25 -0
  56. neutralino/_data/examples/react/frontend/scripts/prepare-bridge.mjs +49 -0
  57. neutralino/_data/examples/react/frontend/src/App.tsx +157 -0
  58. neutralino/_data/examples/react/frontend/src/backend.ts +21 -0
  59. neutralino/_data/examples/react/frontend/src/calls.test.ts +206 -0
  60. neutralino/_data/examples/react/frontend/src/calls.ts +306 -0
  61. neutralino/_data/examples/react/frontend/src/globals.d.ts +14 -0
  62. neutralino/_data/examples/react/frontend/src/hooks.ts +45 -0
  63. neutralino/_data/examples/react/frontend/src/main.tsx +13 -0
  64. neutralino/_data/examples/react/frontend/src/styles.css +11 -0
  65. neutralino/_data/examples/react/frontend/tsconfig.json +18 -0
  66. neutralino/_data/examples/react/frontend/vite.config.ts +9 -0
  67. neutralino/_data/examples/settings/README.md +38 -0
  68. neutralino/_data/examples/settings/app.py +440 -0
  69. neutralino/_data/examples/updater/.gitignore +2 -0
  70. neutralino/_data/examples/updater/README.md +82 -0
  71. neutralino/_data/examples/updater/app.py +160 -0
  72. neutralino/_data/examples/updater/app.toml +21 -0
  73. neutralino/_data/examples/updater/demo.py +107 -0
  74. neutralino/_data/examples/updater/requirements.txt +2 -0
  75. neutralino/_data/examples/updater/sources/github-private.toml +21 -0
  76. neutralino/_data/examples/updater/sources/github-public.toml +21 -0
  77. neutralino/_data/examples/vanilla/README.md +35 -0
  78. neutralino/_data/examples/vanilla/app.py +46 -0
  79. neutralino/_data/examples/vanilla/frontend/index.html +17 -0
  80. neutralino/_data/examples/vanilla/frontend/main.js +29 -0
  81. neutralino/_data/examples/vanilla/frontend/neutralino.js +1 -0
  82. neutralino/_data/examples/vanilla/frontend/python-bridge.d.ts +207 -0
  83. neutralino/_data/examples/vanilla/frontend/python-bridge.mjs +854 -0
  84. neutralino/_data/examples/vanilla/frontend/style.css +4 -0
  85. neutralino/_data/explorer/app.py +1328 -0
  86. neutralino/_data/explorer/catalogue.json +48179 -0
  87. neutralino/_data/explorer/explorer_previews.py +247 -0
  88. neutralino/_data/explorer/sources/native/always_on_top.py +55 -0
  89. neutralino/_data/explorer/sources/native/binary.py +125 -0
  90. neutralino/_data/explorer/sources/native/borderless.py +99 -0
  91. neutralino/_data/explorer/sources/native/broadcast.py +90 -0
  92. neutralino/_data/explorer/sources/native/config.py +78 -0
  93. neutralino/_data/explorer/sources/native/controls.py +140 -0
  94. neutralino/_data/explorer/sources/native/directory.py +163 -0
  95. neutralino/_data/explorer/sources/native/displays.py +75 -0
  96. neutralino/_data/explorer/sources/native/env.py +98 -0
  97. neutralino/_data/explorer/sources/native/events.py +124 -0
  98. neutralino/_data/explorer/sources/native/exec_command.py +79 -0
  99. neutralino/_data/explorer/sources/native/folder.py +70 -0
  100. neutralino/_data/explorer/sources/native/icon_badge.py +101 -0
  101. neutralino/_data/explorer/sources/native/image.py +119 -0
  102. neutralino/_data/explorer/sources/native/lifecycle.py +99 -0
  103. neutralino/_data/explorer/sources/native/locale.py +70 -0
  104. neutralino/_data/explorer/sources/native/main_menu.py +103 -0
  105. neutralino/_data/explorer/sources/native/message_box.py +101 -0
  106. neutralino/_data/explorer/sources/native/mouse.py +70 -0
  107. neutralino/_data/explorer/sources/native/multi_window.py +134 -0
  108. neutralino/_data/explorer/sources/native/notification.py +74 -0
  109. neutralino/_data/explorer/sources/native/open_external.py +81 -0
  110. neutralino/_data/explorer/sources/native/open_file.py +102 -0
  111. neutralino/_data/explorer/sources/native/paths.py +77 -0
  112. neutralino/_data/explorer/sources/native/print_snapshot.py +84 -0
  113. neutralino/_data/explorer/sources/native/read_write.py +192 -0
  114. neutralino/_data/explorer/sources/native/resources.py +110 -0
  115. neutralino/_data/explorer/sources/native/save_file.py +101 -0
  116. neutralino/_data/explorer/sources/native/server_mount.py +106 -0
  117. neutralino/_data/explorer/sources/native/sound.py +84 -0
  118. neutralino/_data/explorer/sources/native/spawn_process.py +128 -0
  119. neutralino/_data/explorer/sources/native/states.py +122 -0
  120. neutralino/_data/explorer/sources/native/stats_permissions.py +147 -0
  121. neutralino/_data/explorer/sources/native/storage.py +108 -0
  122. neutralino/_data/explorer/sources/native/system_info.py +115 -0
  123. neutralino/_data/explorer/sources/native/text.py +133 -0
  124. neutralino/_data/explorer/sources/native/trash.py +98 -0
  125. neutralino/_data/explorer/sources/native/tray.py +109 -0
  126. neutralino/_data/explorer/sources/native/watcher.py +167 -0
  127. neutralino/_data/explorer/sources/patterns/content_blocks.py +119 -0
  128. neutralino/_data/explorer/sources/patterns/dynamic_dashboard.py +121 -0
  129. neutralino/_data/explorer/sources/patterns/dynamic_form.py +120 -0
  130. neutralino/_data/explorer/sources/patterns/dynamic_table.py +109 -0
  131. neutralino/_data/explorer/sources/patterns/error_reporting.mjs +24 -0
  132. neutralino/_data/explorer/sources/patterns/error_reporting.py +124 -0
  133. neutralino/_data/explorer/sources/patterns/errors_timeouts.py +108 -0
  134. neutralino/_data/explorer/sources/patterns/feature_flags.py +99 -0
  135. neutralino/_data/explorer/sources/patterns/file_drop.py +126 -0
  136. neutralino/_data/explorer/sources/patterns/http_from_python.py +152 -0
  137. neutralino/_data/explorer/sources/patterns/keyboard_shortcuts.py +153 -0
  138. neutralino/_data/explorer/sources/patterns/live_config_reload.py +160 -0
  139. neutralino/_data/explorer/sources/patterns/logging.py +184 -0
  140. neutralino/_data/explorer/sources/patterns/long_tasks.py +121 -0
  141. neutralino/_data/explorer/sources/patterns/multi_window_sync.py +68 -0
  142. neutralino/_data/explorer/sources/patterns/navigation_from_backend.py +109 -0
  143. neutralino/_data/explorer/sources/patterns/onboarding.py +123 -0
  144. neutralino/_data/explorer/sources/patterns/optimistic_updates.py +89 -0
  145. neutralino/_data/explorer/sources/patterns/persistence.py +114 -0
  146. neutralino/_data/explorer/sources/patterns/python_calls_page.mjs +10 -0
  147. neutralino/_data/explorer/sources/patterns/python_calls_page.py +64 -0
  148. neutralino/_data/explorer/sources/patterns/python_push.py +84 -0
  149. neutralino/_data/explorer/sources/patterns/recurring_events.py +114 -0
  150. neutralino/_data/explorer/sources/patterns/roles_permissions.py +104 -0
  151. neutralino/_data/explorer/sources/patterns/scheduled_jobs.py +194 -0
  152. neutralino/_data/explorer/sources/patterns/settings_page.py +165 -0
  153. neutralino/_data/explorer/sources/patterns/sqlite.py +181 -0
  154. neutralino/_data/explorer/sources/patterns/streaming.py +102 -0
  155. neutralino/_data/explorer/sources/patterns/texts_i18n.py +81 -0
  156. neutralino/_data/explorer/sources/patterns/theme_from_backend.py +86 -0
  157. neutralino/_data/explorer/sources/patterns/updater.py +232 -0
  158. neutralino/_data/explorer/sources/workspace/calendar/app.py +547 -0
  159. neutralino/_data/explorer/sources/workspace/customers/app.py +467 -0
  160. neutralino/_data/explorer/sources/workspace/dashboard/README.md +36 -0
  161. neutralino/_data/explorer/sources/workspace/dashboard/app.py +367 -0
  162. neutralino/_data/explorer/sources/workspace/documents/app.py +511 -0
  163. neutralino/_data/explorer/sources/workspace/inbox/app.py +439 -0
  164. neutralino/_data/explorer/sources/workspace/orders/app.py +491 -0
  165. neutralino/_data/explorer/sources/workspace/reports/app.py +386 -0
  166. neutralino/_data/explorer/sources/workspace/settings/README.md +38 -0
  167. neutralino/_data/explorer/sources/workspace/settings/app.py +440 -0
  168. neutralino/_data/explorer/sources/workspace/system/README.md +36 -0
  169. neutralino/_data/explorer/sources/workspace/system/app.py +375 -0
  170. neutralino/_data/explorer/sources/workspace/tasks/app.py +462 -0
  171. neutralino/_data/renderer/LICENSES/@babel__runtime@7.29.17/LICENSE +22 -0
  172. neutralino/_data/renderer/LICENSES/@codemirror__autocomplete@6.20.4/LICENSE +21 -0
  173. neutralino/_data/renderer/LICENSES/@codemirror__commands@6.11.2/LICENSE +21 -0
  174. neutralino/_data/renderer/LICENSES/@codemirror__lang-css@6.3.1/LICENSE +21 -0
  175. neutralino/_data/renderer/LICENSES/@codemirror__lang-html@6.4.12/LICENSE +21 -0
  176. neutralino/_data/renderer/LICENSES/@codemirror__lang-javascript@6.2.5/LICENSE +21 -0
  177. neutralino/_data/renderer/LICENSES/@codemirror__lang-json@6.0.2/LICENSE +21 -0
  178. neutralino/_data/renderer/LICENSES/@codemirror__lang-markdown@6.5.3/LICENSE +21 -0
  179. neutralino/_data/renderer/LICENSES/@codemirror__lang-python@6.2.1/LICENSE +21 -0
  180. neutralino/_data/renderer/LICENSES/@codemirror__lang-sql@6.10.0/LICENSE +21 -0
  181. neutralino/_data/renderer/LICENSES/@codemirror__lang-yaml@6.1.3/LICENSE +21 -0
  182. neutralino/_data/renderer/LICENSES/@codemirror__language@6.13.1/LICENSE +21 -0
  183. neutralino/_data/renderer/LICENSES/@codemirror__search@6.7.3/LICENSE +21 -0
  184. neutralino/_data/renderer/LICENSES/@codemirror__state@6.7.6/LICENSE +21 -0
  185. neutralino/_data/renderer/LICENSES/@codemirror__view@6.44.2/LICENSE +21 -0
  186. neutralino/_data/renderer/LICENSES/@dnd-kit__accessibility@3.1.1/LICENSE +21 -0
  187. neutralino/_data/renderer/LICENSES/@dnd-kit__core@6.3.1/LICENSE +21 -0
  188. neutralino/_data/renderer/LICENSES/@dnd-kit__sortable@10.0.0/LICENSE +21 -0
  189. neutralino/_data/renderer/LICENSES/@dnd-kit__utilities@3.2.2/LICENSE +21 -0
  190. neutralino/_data/renderer/LICENSES/@emoji-mart__data@1.2.1/LICENSE +21 -0
  191. neutralino/_data/renderer/LICENSES/@floating-ui__core@1.8.0/LICENSE +20 -0
  192. neutralino/_data/renderer/LICENSES/@floating-ui__dom@1.8.0/LICENSE +20 -0
  193. neutralino/_data/renderer/LICENSES/@floating-ui__react-dom@2.1.9/LICENSE +20 -0
  194. neutralino/_data/renderer/LICENSES/@floating-ui__react@0.27.20/LICENSE +20 -0
  195. neutralino/_data/renderer/LICENSES/@floating-ui__utils@0.2.12/LICENSE +20 -0
  196. neutralino/_data/renderer/LICENSES/@lezer__common@1.5.7/LICENSE +21 -0
  197. neutralino/_data/renderer/LICENSES/@lezer__css@1.3.9/LICENSE +21 -0
  198. neutralino/_data/renderer/LICENSES/@lezer__highlight@1.2.5/LICENSE +21 -0
  199. neutralino/_data/renderer/LICENSES/@lezer__html@1.3.13/LICENSE +21 -0
  200. neutralino/_data/renderer/LICENSES/@lezer__javascript@1.5.7/LICENSE +21 -0
  201. neutralino/_data/renderer/LICENSES/@lezer__json@1.0.3/LICENSE +21 -0
  202. neutralino/_data/renderer/LICENSES/@lezer__lr@1.4.13/LICENSE +21 -0
  203. neutralino/_data/renderer/LICENSES/@lezer__markdown@1.8.3/LICENSE +21 -0
  204. neutralino/_data/renderer/LICENSES/@lezer__python@1.1.21/LICENSE +21 -0
  205. neutralino/_data/renderer/LICENSES/@lezer__yaml@1.0.4/LICENSE +21 -0
  206. neutralino/_data/renderer/LICENSES/@mantine__carousel@9.8.3/LICENSE +21 -0
  207. neutralino/_data/renderer/LICENSES/@mantine__charts@9.8.3/LICENSE +21 -0
  208. neutralino/_data/renderer/LICENSES/@mantine__code-highlight@9.8.3/LICENSE +21 -0
  209. neutralino/_data/renderer/LICENSES/@mantine__core@9.8.3/LICENSE +21 -0
  210. neutralino/_data/renderer/LICENSES/@mantine__dates@9.8.3/LICENSE +21 -0
  211. neutralino/_data/renderer/LICENSES/@mantine__dropzone@9.8.3/LICENSE +21 -0
  212. neutralino/_data/renderer/LICENSES/@mantine__emoji@9.8.3/LICENSE +21 -0
  213. neutralino/_data/renderer/LICENSES/@mantine__hooks@9.8.3/LICENSE +21 -0
  214. neutralino/_data/renderer/LICENSES/@mantine__lightbox@9.8.3/LICENSE +21 -0
  215. neutralino/_data/renderer/LICENSES/@mantine__notifications@9.8.3/LICENSE +21 -0
  216. neutralino/_data/renderer/LICENSES/@mantine__nprogress@9.8.3/LICENSE +21 -0
  217. neutralino/_data/renderer/LICENSES/@mantine__schedule@9.8.3/LICENSE +21 -0
  218. neutralino/_data/renderer/LICENSES/@mantine__spotlight@9.8.3/LICENSE +21 -0
  219. neutralino/_data/renderer/LICENSES/@mantine__store@9.8.3/LICENSE +21 -0
  220. neutralino/_data/renderer/LICENSES/@mantine__tiptap@9.8.3/LICENSE +21 -0
  221. neutralino/_data/renderer/LICENSES/@marijn__find-cluster-break@1.0.4/LICENSE +21 -0
  222. neutralino/_data/renderer/LICENSES/@reduxjs__toolkit@2.16.0/LICENSE +21 -0
  223. neutralino/_data/renderer/LICENSES/@tabler__icons-react@3.55.0/LICENSE +21 -0
  224. neutralino/_data/renderer/LICENSES/@tanstack__react-virtual@3.14.32/LICENSE +21 -0
  225. neutralino/_data/renderer/LICENSES/@tanstack__virtual-core@3.19.17/LICENSE +21 -0
  226. neutralino/_data/renderer/LICENSES/@tiptap__core@3.35.1/LICENSE.md +21 -0
  227. neutralino/_data/renderer/LICENSES/@tiptap__extension-blockquote@3.35.1/LICENSE.md +21 -0
  228. neutralino/_data/renderer/LICENSES/@tiptap__extension-bold@3.35.1/LICENSE.md +21 -0
  229. neutralino/_data/renderer/LICENSES/@tiptap__extension-code-block@3.35.1/LICENSE.md +21 -0
  230. neutralino/_data/renderer/LICENSES/@tiptap__extension-code@3.35.1/LICENSE.md +21 -0
  231. neutralino/_data/renderer/LICENSES/@tiptap__extension-document@3.35.1/LICENSE.md +21 -0
  232. neutralino/_data/renderer/LICENSES/@tiptap__extension-hard-break@3.35.1/LICENSE.md +21 -0
  233. neutralino/_data/renderer/LICENSES/@tiptap__extension-heading@3.35.1/LICENSE.md +21 -0
  234. neutralino/_data/renderer/LICENSES/@tiptap__extension-horizontal-rule@3.35.1/LICENSE.md +21 -0
  235. neutralino/_data/renderer/LICENSES/@tiptap__extension-italic@3.35.1/LICENSE.md +21 -0
  236. neutralino/_data/renderer/LICENSES/@tiptap__extension-link@3.35.1/LICENSE.md +21 -0
  237. neutralino/_data/renderer/LICENSES/@tiptap__extension-list@3.35.1/LICENSE.md +21 -0
  238. neutralino/_data/renderer/LICENSES/@tiptap__extension-paragraph@3.35.1/LICENSE.md +21 -0
  239. neutralino/_data/renderer/LICENSES/@tiptap__extension-strike@3.35.1/LICENSE.md +21 -0
  240. neutralino/_data/renderer/LICENSES/@tiptap__extension-text@3.35.1/LICENSE.md +21 -0
  241. neutralino/_data/renderer/LICENSES/@tiptap__extension-underline@3.35.1/LICENSE.md +21 -0
  242. neutralino/_data/renderer/LICENSES/@tiptap__extensions@3.35.1/LICENSE.md +21 -0
  243. neutralino/_data/renderer/LICENSES/@tiptap__react@3.35.1/LICENSE.md +21 -0
  244. neutralino/_data/renderer/LICENSES/@tiptap__starter-kit@3.35.1/LICENSE.md +21 -0
  245. neutralino/_data/renderer/LICENSES/attr-accept@4.0.1/LICENSE +22 -0
  246. neutralino/_data/renderer/LICENSES/clsx@2.1.1/license +9 -0
  247. neutralino/_data/renderer/LICENSES/crelt@1.0.7/LICENSE +19 -0
  248. neutralino/_data/renderer/LICENSES/d3-array@3.2.5/LICENSE +13 -0
  249. neutralino/_data/renderer/LICENSES/d3-color@3.1.1/LICENSE +13 -0
  250. neutralino/_data/renderer/LICENSES/d3-format@3.1.3/LICENSE +13 -0
  251. neutralino/_data/renderer/LICENSES/d3-interpolate@3.0.2/LICENSE +13 -0
  252. neutralino/_data/renderer/LICENSES/d3-path@3.1.1/LICENSE +13 -0
  253. neutralino/_data/renderer/LICENSES/d3-scale@4.0.3/LICENSE +13 -0
  254. neutralino/_data/renderer/LICENSES/d3-shape@3.2.1/LICENSE +13 -0
  255. neutralino/_data/renderer/LICENSES/d3-time-format@4.1.1/LICENSE +13 -0
  256. neutralino/_data/renderer/LICENSES/d3-time@3.1.1/LICENSE +13 -0
  257. neutralino/_data/renderer/LICENSES/dayjs@1.11.23/LICENSE +21 -0
  258. neutralino/_data/renderer/LICENSES/decimal.js-light@2.5.1/LICENCE.md +23 -0
  259. neutralino/_data/renderer/LICENSES/diff@9.0.0/LICENSE +29 -0
  260. neutralino/_data/renderer/LICENSES/dompurify@3.5.1/LICENSE +202 -0
  261. neutralino/_data/renderer/LICENSES/dompurify@3.5.1/LICENSE-MPL +373 -0
  262. neutralino/_data/renderer/LICENSES/embla-carousel-react@8.6.0/MIT-embla-carousel.txt +21 -0
  263. neutralino/_data/renderer/LICENSES/embla-carousel-reactive-utils@8.6.0/MIT-embla-carousel.txt +21 -0
  264. neutralino/_data/renderer/LICENSES/embla-carousel@8.6.0/MIT-embla-carousel.txt +21 -0
  265. neutralino/_data/renderer/LICENSES/es-toolkit@1.53.2/LICENSE +21 -0
  266. neutralino/_data/renderer/LICENSES/es-toolkit@1.53.2/NOTICE +39 -0
  267. neutralino/_data/renderer/LICENSES/eventemitter3@5.0.4/LICENSE +21 -0
  268. neutralino/_data/renderer/LICENSES/fast-equals@5.4.7/LICENSE +21 -0
  269. neutralino/_data/renderer/LICENSES/file-selector@5.0.3/LICENSE +21 -0
  270. neutralino/_data/renderer/LICENSES/get-nonce@1.0.1/LICENSE +21 -0
  271. neutralino/_data/renderer/LICENSES/immer@11.2.14/LICENSE +21 -0
  272. neutralino/_data/renderer/LICENSES/linkifyjs@4.4.0/LICENSE +19 -0
  273. neutralino/_data/renderer/LICENSES/marked@18.4.0/LICENSE +44 -0
  274. neutralino/_data/renderer/LICENSES/neutralino.js@6.11.0/LICENSE +21 -0
  275. neutralino/_data/renderer/LICENSES/orderedmap@2.1.1/LICENSE +19 -0
  276. neutralino/_data/renderer/LICENSES/packages.json +1838 -0
  277. neutralino/_data/renderer/LICENSES/prosemirror-commands@1.7.2/LICENSE +19 -0
  278. neutralino/_data/renderer/LICENSES/prosemirror-dropcursor@1.8.4/LICENSE +19 -0
  279. neutralino/_data/renderer/LICENSES/prosemirror-gapcursor@1.4.1/LICENSE +19 -0
  280. neutralino/_data/renderer/LICENSES/prosemirror-history@1.5.2/LICENSE +19 -0
  281. neutralino/_data/renderer/LICENSES/prosemirror-keymap@1.2.3/LICENSE +19 -0
  282. neutralino/_data/renderer/LICENSES/prosemirror-model@1.25.13/LICENSE +19 -0
  283. neutralino/_data/renderer/LICENSES/prosemirror-schema-list@1.6.1/LICENSE +19 -0
  284. neutralino/_data/renderer/LICENSES/prosemirror-state@1.4.4/LICENSE +19 -0
  285. neutralino/_data/renderer/LICENSES/prosemirror-transform@1.12.7/LICENSE +19 -0
  286. neutralino/_data/renderer/LICENSES/prosemirror-view@1.44.0/LICENSE +19 -0
  287. neutralino/_data/renderer/LICENSES/react-dom@19.3.1/LICENSE +21 -0
  288. neutralino/_data/renderer/LICENSES/react-dropzone@20.1.4/LICENSE +22 -0
  289. neutralino/_data/renderer/LICENSES/react-is@19.3.1/LICENSE +21 -0
  290. neutralino/_data/renderer/LICENSES/react-number-format@5.4.5/LICENSE +21 -0
  291. neutralino/_data/renderer/LICENSES/react-redux@9.3.1/LICENSE.md +21 -0
  292. neutralino/_data/renderer/LICENSES/react-remove-scroll-bar@2.3.8/MIT-react-remove-scroll-bar.txt +21 -0
  293. neutralino/_data/renderer/LICENSES/react-remove-scroll@2.7.2/LICENSE +21 -0
  294. neutralino/_data/renderer/LICENSES/react-style-singleton@2.2.3/LICENSE +21 -0
  295. neutralino/_data/renderer/LICENSES/react-transition-group@4.4.5/LICENSE +30 -0
  296. neutralino/_data/renderer/LICENSES/react@19.3.1/LICENSE +21 -0
  297. neutralino/_data/renderer/LICENSES/recharts@3.11.3/LICENSE +22 -0
  298. neutralino/_data/renderer/LICENSES/redux-thunk@3.1.0/LICENSE.md +21 -0
  299. neutralino/_data/renderer/LICENSES/redux@5.0.1/LICENSE.md +21 -0
  300. neutralino/_data/renderer/LICENSES/reselect@5.2.0/LICENSE +21 -0
  301. neutralino/_data/renderer/LICENSES/rolldown@1.3.4/LICENSE +25 -0
  302. neutralino/_data/renderer/LICENSES/rope-sequence@1.3.4/LICENSE +19 -0
  303. neutralino/_data/renderer/LICENSES/rrule@2.8.1/LICENCE +65 -0
  304. neutralino/_data/renderer/LICENSES/scheduler@0.28.0/LICENSE +21 -0
  305. neutralino/_data/renderer/LICENSES/style-mod@4.1.5/LICENSE +19 -0
  306. neutralino/_data/renderer/LICENSES/tiny-invariant@1.3.3/LICENSE +21 -0
  307. neutralino/_data/renderer/LICENSES/tslib@2.9.1/LICENSE.txt +12 -0
  308. neutralino/_data/renderer/LICENSES/use-callback-ref@1.3.3/LICENSE +21 -0
  309. neutralino/_data/renderer/LICENSES/use-sidecar@1.1.3/LICENSE +21 -0
  310. neutralino/_data/renderer/LICENSES/use-sync-external-store@1.7.0/LICENSE +21 -0
  311. neutralino/_data/renderer/LICENSES/victory-vendor@38.1.1/LICENSE.txt +150 -0
  312. neutralino/_data/renderer/LICENSES/vite@8.4.1/LICENSE.md +2320 -0
  313. neutralino/_data/renderer/LICENSES/w3c-keyname@2.2.8/LICENSE +19 -0
  314. neutralino/_data/renderer/assets/IconGripVertical-BlJrWVuo.js +1 -0
  315. neutralino/_data/renderer/assets/carousel-D1j1SkWR.css +1 -0
  316. neutralino/_data/renderer/assets/carousel-DniHwTLK.js +1 -0
  317. neutralino/_data/renderer/assets/chunk-CCkLOSkX.css +1 -0
  318. neutralino/_data/renderer/assets/chunk-Du0h7lB-.js +9 -0
  319. neutralino/_data/renderer/assets/codehighlight-CCe_blv1.js +10 -0
  320. neutralino/_data/renderer/assets/codehighlight-THJMNDh8.css +1 -0
  321. neutralino/_data/renderer/assets/codemirror-CinrNxVJ.js +2 -0
  322. neutralino/_data/renderer/assets/css-CMUk25uq.js +1 -0
  323. neutralino/_data/renderer/assets/dist-70Le0T2N.js +1 -0
  324. neutralino/_data/renderer/assets/dist-BCHbQlae.js +11 -0
  325. neutralino/_data/renderer/assets/dist-BXts23GT.js +1 -0
  326. neutralino/_data/renderer/assets/dist-D2RX2UgP.js +23 -0
  327. neutralino/_data/renderer/assets/dist-DikJK2lp.js +1 -0
  328. neutralino/_data/renderer/assets/dist-acbbRM1z.js +1 -0
  329. neutralino/_data/renderer/assets/dnd-DaaaVala.js +5 -0
  330. neutralino/_data/renderer/assets/dropzone-CeqF5SZx.js +1 -0
  331. neutralino/_data/renderer/assets/dropzone-aPCBPjDN.css +1 -0
  332. neutralino/_data/renderer/assets/embla-carousel-react.esm-CbyYjwMN.js +1 -0
  333. neutralino/_data/renderer/assets/emoji-BfRPfoVw.js +1 -0
  334. neutralino/_data/renderer/assets/emoji-DV8OzU1E.css +1 -0
  335. neutralino/_data/renderer/assets/esm-C5ZYjSBQ.js +82 -0
  336. neutralino/_data/renderer/assets/highlight-CB6hGb5A.js +3 -0
  337. neutralino/_data/renderer/assets/highlight-Dlb5DJwL.css +1 -0
  338. neutralino/_data/renderer/assets/html-Dad3kwIa.js +1 -0
  339. neutralino/_data/renderer/assets/icon-chunk-X3Kr0nh-.js +1 -0
  340. neutralino/_data/renderer/assets/index-CU0HB-J7.js +69 -0
  341. neutralino/_data/renderer/assets/index-TWpF4Lef.css +1 -0
  342. neutralino/_data/renderer/assets/javascript-BQb8vpw3.js +1 -0
  343. neutralino/_data/renderer/assets/json-BCFmxlML.js +1 -0
  344. neutralino/_data/renderer/assets/lightbox-BHtgbsUV.js +1 -0
  345. neutralino/_data/renderer/assets/lightbox-BzKDpkAD.css +1 -0
  346. neutralino/_data/renderer/assets/markdown-DSuAylvy.js +5 -0
  347. neutralino/_data/renderer/assets/markdown-DjaNWMgH.js +77 -0
  348. neutralino/_data/renderer/assets/python-pdbIAveZ.js +9 -0
  349. neutralino/_data/renderer/assets/richtext-DIAsHMuK.css +1 -0
  350. neutralino/_data/renderer/assets/richtext-Z6fG9G2_.js +137 -0
  351. neutralino/_data/renderer/assets/spotlight-Ccstaz1-.css +1 -0
  352. neutralino/_data/renderer/assets/spotlight-knlyJw_A.js +1 -0
  353. neutralino/_data/renderer/assets/sql-DLoQFEde.js +2 -0
  354. neutralino/_data/renderer/assets/with-selector-BOM9_OlN.js +1 -0
  355. neutralino/_data/renderer/assets/yaml-BJNzokSe.js +1 -0
  356. neutralino/_data/renderer/index.html +22 -0
  357. neutralino/_data/renderer/manifest.json +202 -0
  358. neutralino/_data/renderer/neutralino.js +1 -0
  359. neutralino/_data/renderer/shared/mantine-core.mjs +5 -0
  360. neutralino/_data/renderer/shared/mantine-hooks.mjs +5 -0
  361. neutralino/_data/renderer/shared/react-dom-client.mjs +5 -0
  362. neutralino/_data/renderer/shared/react-dom.mjs +6 -0
  363. neutralino/_data/renderer/shared/react-jsx-runtime.mjs +5 -0
  364. neutralino/_data/renderer/shared/react.mjs +6 -0
  365. neutralino/_data/skills/README.md +6 -0
  366. neutralino/_data/skills/neutralino-app-patterns/SKILL.md +101 -0
  367. neutralino/_data/skills/neutralino-app-patterns/references/dashboards-and-background-work.md +55 -0
  368. neutralino/_data/skills/neutralino-app-patterns/references/storage-and-settings.md +57 -0
  369. neutralino/_data/skills/neutralino-app-patterns/references/tables-and-crud.md +81 -0
  370. neutralino/_data/skills/neutralino-frontend/SKILL.md +121 -0
  371. neutralino/_data/skills/neutralino-frontend/references/bridge.md +63 -0
  372. neutralino/_data/skills/neutralino-frontend/references/custom-components.md +84 -0
  373. neutralino/_data/skills/neutralino-frontend/references/frameworks.md +61 -0
  374. neutralino/_data/skills/neutralino-maintenance/SKILL.md +85 -0
  375. neutralino/_data/skills/neutralino-maintenance/references/platforms-and-gates.md +35 -0
  376. neutralino/_data/skills/neutralino-maintenance/references/records.md +38 -0
  377. neutralino/_data/skills/neutralino-maintenance/references/review-process.md +36 -0
  378. neutralino/_data/skills/neutralino-native/SKILL.md +107 -0
  379. neutralino/_data/skills/neutralino-native/references/api-conventions.md +72 -0
  380. neutralino/_data/skills/neutralino-native/references/desktop-helpers.md +53 -0
  381. neutralino/_data/skills/neutralino-native/references/permissions-windows.md +53 -0
  382. neutralino/_data/skills/neutralino-packaging/SKILL.md +99 -0
  383. neutralino/_data/skills/neutralino-packaging/references/build-layout.md +51 -0
  384. neutralino/_data/skills/neutralino-packaging/references/managed-install.md +59 -0
  385. neutralino/_data/skills/neutralino-packaging/references/templates-and-config.md +63 -0
  386. neutralino/_data/skills/neutralino-python/SKILL.md +109 -0
  387. neutralino/_data/skills/neutralino-python/references/architecture.md +53 -0
  388. neutralino/_data/skills/neutralino-python/references/cli.md +60 -0
  389. neutralino/_data/skills/neutralino-python/references/platforms-security.md +44 -0
  390. neutralino/_data/skills/neutralino-rpc/SKILL.md +114 -0
  391. neutralino/_data/skills/neutralino-rpc/references/errors-and-limits.md +44 -0
  392. neutralino/_data/skills/neutralino-rpc/references/expose-and-context.md +74 -0
  393. neutralino/_data/skills/neutralino-rpc/references/streams-and-cancellation.md +53 -0
  394. neutralino/_data/skills/neutralino-ui/SKILL.md +115 -0
  395. neutralino/_data/skills/neutralino-ui/references/components-and-tree.md +74 -0
  396. neutralino/_data/skills/neutralino-ui/references/state-forms-events.md +85 -0
  397. neutralino/_data/skills/neutralino-ui/references/themes-profiles-assets.md +105 -0
  398. neutralino/_data/skills/neutralino-updates/SKILL.md +94 -0
  399. neutralino/_data/skills/neutralino-updates/references/config-and-api.md +80 -0
  400. neutralino/_data/skills/neutralino-updates/references/releases-and-install.md +77 -0
  401. neutralino/_data/skills/neutralino-updates/references/security-rollback.md +48 -0
  402. neutralino/_data/ui/contracts.json +32927 -0
  403. neutralino/_data/ui/emoji.json +1 -0
  404. neutralino/_data/upstream-lock.json +97 -0
  405. neutralino/_managed.py +1099 -0
  406. neutralino/_paths.py +220 -0
  407. neutralino/_platform.py +150 -0
  408. neutralino/_scaffold.py +344 -0
  409. neutralino/api/_base.py +99 -0
  410. neutralino/api/_custom.py +1350 -0
  411. neutralino/api/_dec.py +21 -0
  412. neutralino/api/_enc.py +80 -0
  413. neutralino/api/app.py +119 -0
  414. neutralino/api/clipboard.py +101 -0
  415. neutralino/api/computer.py +261 -0
  416. neutralino/api/custom.py +36 -0
  417. neutralino/api/debug.py +41 -0
  418. neutralino/api/extensions.py +57 -0
  419. neutralino/api/filesystem.py +633 -0
  420. neutralino/api/net.py +22 -0
  421. neutralino/api/os.py +508 -0
  422. neutralino/api/resources.py +124 -0
  423. neutralino/api/server.py +66 -0
  424. neutralino/api/storage.py +98 -0
  425. neutralino/api/types.py +342 -0
  426. neutralino/api/updater.py +22 -0
  427. neutralino/api/window.py +397 -0
  428. neutralino/application.py +1260 -0
  429. neutralino/bundle.py +187 -0
  430. neutralino/cli.py +629 -0
  431. neutralino/client.py +496 -0
  432. neutralino/config.py +671 -0
  433. neutralino/devtools.py +1973 -0
  434. neutralino/errors.py +142 -0
  435. neutralino/events.py +579 -0
  436. neutralino/execution.py +293 -0
  437. neutralino/extension.py +134 -0
  438. neutralino/frontend/python-bridge.d.ts +207 -0
  439. neutralino/frontend/python-bridge.mjs +854 -0
  440. neutralino/protocol.py +456 -0
  441. neutralino/py.typed +0 -0
  442. neutralino/rpc.py +1625 -0
  443. neutralino/runtime.py +591 -0
  444. neutralino/supervisor.py +866 -0
  445. neutralino/sync_client.py +376 -0
  446. neutralino/templates/default/app.py +32 -0
  447. neutralino/templates/default/frontend/app.js +28 -0
  448. neutralino/templates/default/frontend/index.html +26 -0
  449. neutralino/templates/default/frontend/neutralino.js +1 -0
  450. neutralino/templates/default/frontend/styles.css +8 -0
  451. neutralino/templates/default/gitignore.txt +3 -0
  452. neutralino/templates/default/neutralino.config.json +25 -0
  453. neutralino/templates/hybrid/README.md +17 -0
  454. neutralino/templates/hybrid/app.py +49 -0
  455. neutralino/templates/hybrid/components/counter.mjs +37 -0
  456. neutralino/templates/hybrid/styles.css +21 -0
  457. neutralino/templates/python-ui/README.md +15 -0
  458. neutralino/templates/python-ui/app.py +44 -0
  459. neutralino/templates/python-ui/gitignore.txt +3 -0
  460. neutralino/templates/python-ui/requirements.txt +4 -0
  461. neutralino/templates/react/README.md +28 -0
  462. neutralino/templates/react/app.py +52 -0
  463. neutralino/templates/react/components/widget.mjs +23 -0
  464. neutralino/templates/react/widget/package.json +20 -0
  465. neutralino/templates/react/widget/src/Widget.jsx +25 -0
  466. neutralino/templates/react/widget/vite.config.mjs +19 -0
  467. neutralino/transport.py +661 -0
  468. neutralino/types.py +93 -0
  469. neutralino/ui/__init__.py +139 -0
  470. neutralino/ui/_app.py +1529 -0
  471. neutralino/ui/_assets.py +407 -0
  472. neutralino/ui/_bases.py +1210 -0
  473. neutralino/ui/_behaviours.py +1066 -0
  474. neutralino/ui/_charts.py +732 -0
  475. neutralino/ui/_component.py +882 -0
  476. neutralino/ui/_dates.py +168 -0
  477. neutralino/ui/_desktop.py +879 -0
  478. neutralino/ui/_events.py +192 -0
  479. neutralino/ui/_filters.py +427 -0
  480. neutralino/ui/_forms.py +282 -0
  481. neutralino/ui/_protocol.py +201 -0
  482. neutralino/ui/_schedule.py +543 -0
  483. neutralino/ui/_security.py +106 -0
  484. neutralino/ui/_session.py +969 -0
  485. neutralino/ui/_state.py +199 -0
  486. neutralino/ui/_tables.py +256 -0
  487. neutralino/ui/_theme.py +154 -0
  488. neutralino/ui/blocks/__init__.py +19 -0
  489. neutralino/ui/blocks/_data.py +2239 -0
  490. neutralino/ui/blocks/_interactive.py +622 -0
  491. neutralino/ui/blocks/_layout.py +2967 -0
  492. neutralino/ui/components/__init__.py +81 -0
  493. neutralino/ui/components/_dates.py +879 -0
  494. neutralino/ui/components/_editors.py +217 -0
  495. neutralino/ui/components/_extensions.py +790 -0
  496. neutralino/ui/components/_extras.py +303 -0
  497. neutralino/ui/components/_generated.py +30565 -0
  498. neutralino/ui/components/_types.py +17 -0
  499. neutralino/ui/schema.py +824 -0
  500. neutralino/ui/validators.py +362 -0
  501. neutralino/updates/__init__.py +96 -0
  502. neutralino/updates/_http.py +320 -0
  503. neutralino/updates/_layout.py +762 -0
  504. neutralino/updates/archive.py +216 -0
  505. neutralino/updates/config.py +256 -0
  506. neutralino/updates/errors.py +97 -0
  507. neutralino/updates/install.sh.in +201 -0
  508. neutralino/updates/launcher.py +18 -0
  509. neutralino/updates/manager.py +808 -0
  510. neutralino/updates/manifest.py +196 -0
  511. neutralino/updates/release.py +314 -0
  512. neutralino/updates/semver.py +84 -0
  513. neutralino/updates/sources.py +392 -0
  514. neutralino/windows.py +316 -0
  515. neutralino_python-0.1.0.dist-info/METADATA +121 -0
  516. neutralino_python-0.1.0.dist-info/RECORD +521 -0
  517. neutralino_python-0.1.0.dist-info/WHEEL +4 -0
  518. neutralino_python-0.1.0.dist-info/entry_points.txt +3 -0
  519. neutralino_python-0.1.0.dist-info/licenses/LICENSE +21 -0
  520. neutralino_python-0.1.0.dist-info/licenses/THIRD_PARTY_NOTICES.md +16 -0
  521. neutralino_python-0.1.0.dist-info/licenses/src/neutralino/_data/renderer/LICENSES/packages.json +1838 -0
@@ -0,0 +1 @@
1
+ import{t as e}from"./dist-D2RX2UgP.js";var t=(t={})=>e(t);export{t as load};
@@ -0,0 +1 @@
1
+ import{r as e}from"./dist-acbbRM1z.js";import{c as t,u as n}from"./highlight-CB6hGb5A.js";import{a as r,b as i,g as a,l as o,m as s,n as c}from"./dist-BCHbQlae.js";var l=t({String:n.string,Number:n.number,"True False":n.bool,PropertyName:n.propertyName,Null:n.null,", :":n.separator,"[ ]":n.squareBracket,"{ }":n.brace}),u=e.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:`#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O`,goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:`⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array`,maxTerm:25,nodeProps:[[`isolate`,-2,6,11,``],[`openedBy`,7,`{`,14,`[`],[`closedBy`,8,`}`,15,`]`]],propSources:[l],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),d=c.define({name:`json`,parser:u.configure({props:[i.add({Object:o({except:/^\s*\}/}),Array:o({except:/^\s*\]/})}),a.add({"Object Array":s})]}),languageData:{closeBrackets:{brackets:[`[`,`{`,`"`]},indentOnInput:/^\s*[\}\]]$/}});function f(){return new r(d)}var p=()=>f();export{p as load};
@@ -0,0 +1 @@
1
+ import{$ as e,Dt as t,Et as n,G as r,H as i,K as a,L as o,Nt as s,Q as c,X as l,Y as u,Yt as d,d as f,dt as p,et as m,in as h,kt as g,l as _,lt as v,n as y,nt as b,q as ee,st as te,t as x,tn as ne,ut as S,wt as C,yt as re}from"./index-CU0HB-J7.js";import{t as ie}from"./embla-carousel-react.esm-CbyYjwMN.js";var ae=()=>x({opened:!1,slides:[],currentIndex:0,loop:!1}),w=e=>y(e);function T(e,t){return Math.max(0,Math.min(Number.isFinite(e)?Math.round(e):0,Math.max(0,t-1)))}function E(e,t){let n=t.getState();t.setState({...n,...e(n)})}function D(e,t){E(()=>({opened:!0,slides:e.slides,currentIndex:T(e.startIndex??0,e.slides.length)}),t)}function O(e){E(()=>({opened:!1}),e)}function k(e){E(e=>{let t=e.currentIndex+1;return t<e.slides.length?{currentIndex:t}:{currentIndex:e.loop&&e.slides.length>0?0:e.currentIndex}},e)}function A(e){E(e=>{let t=e.currentIndex-1;return t>=0?{currentIndex:t}:{currentIndex:e.loop&&e.slides.length>0?e.slides.length-1:0}},e)}function oe(e,t){E(t=>({currentIndex:T(e,t.slides.length)}),t)}var j={open:D,close:O,next:k,prev:A,setIndex:oe,updateState:E};function se(){let e=ae();return[e,{open:t=>D(t,e),close:()=>O(e),next:()=>k(e),prev:()=>A(e),setIndex:t=>oe(t,e)}]}var[ce,le]=se(),ue={lightboxLabel:`Gallery`,slideLabel:(e,t)=>`Slide ${e} of ${t}`,slidesLabel:`Slides`,previousSlideLabel:`Previous slide`,nextSlideLabel:`Next slide`,thumbnailLabel:e=>`Go to slide ${e}`,enterFullscreenLabel:`Enter fullscreen`,exitFullscreenLabel:`Exit fullscreen`,showThumbnailsLabel:`Show thumbnails`,hideThumbnailsLabel:`Hide thumbnails`,downloadLabel:`Download`,closeLabel:`Close`},[de,M]=d(`Lightbox component was not found in tree`),N={root:`m_4f1afa9a`,overlay:`m_143cf98`,content:`m_7b06bfc1`,toolbar:`m_fe5b16c3`,toolbarGroup:`m_9e01b17c`,toolbarButton:`m_19d8cbd5`,counter:`m_7b66e144`,slides:`m_f5ce649a`,slidesViewport:`m_7f838760`,slidesContainer:`m_b5439507`,slide:`m_9450faf9`,slideImage:`m_e659b1e2`,slideVideo:`m_e70f1d02`,thumbnails:`m_411d1cbf`,thumbnailsViewport:`m_3a7e4a85`,thumbnailsContainer:`m_59a13682`,thumbnail:`m_3be82a34`,thumbnailImage:`m_fd95cf87`,navigation:`m_15a759cc`,navigationButton:`m_a5bee41e`,caption:`m_633f252e`,closeButton:`m_1ae53e92`},P=h(p(),1),F=b(e=>{let{classNames:t,className:n,style:r,styles:i,vars:a,children:o,...s}=v(`LightboxCaption`,null,e),c=M(),l=c.slides[c.currentIndex],u=o??l?.caption;return u?(0,P.jsx)(m,{...c.getStyles(`caption`,{className:n,style:r,classNames:t,styles:i}),mod:`reduce-motion`,...s,children:u}):null});F.classes=N,F.displayName=`@mantine/lightbox/LightboxCaption`;var I=h(ne(),1);function L(){return(0,P.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,width:`36`,height:`36`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,P.jsx)(`polyline`,{points:`15 18 9 12 15 6`})})}function fe(){return(0,P.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,width:`36`,height:`36`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,P.jsx)(`polyline`,{points:`9 18 15 12 9 6`})})}var pe=b(t=>{let{classNames:n,className:r,style:i,styles:a,vars:o,...s}=v(`LightboxNavigation`,null,t),c=M(),u={classNames:n,styles:a},{dir:d}=e(),f=d===`rtl`?fe:L,p=d===`rtl`?L:fe,h=c.loop?c.slides.length>1:c.currentIndex>0,g=c.loop?c.slides.length>1:c.currentIndex<c.slides.length-1,[_,y]=(0,I.useState)(null),{embla:b}=c;(0,I.useEffect)(()=>{if(!b){y(null);return}let e=()=>y({canPrev:b.canScrollPrev(),canNext:b.canScrollNext()});return e(),b.on(`select`,e),b.on(`reInit`,e),b.on(`settle`,e),()=>{b.off(`select`,e),b.off(`reInit`,e),b.off(`settle`,e)}},[b]);let ee=_?_.canPrev:h,te=_?_.canNext:g;return(0,P.jsxs)(m,{...c.getStyles(`navigation`,{className:r,style:i,classNames:n,styles:a}),...s,children:[(0,P.jsx)(l,{...c.getStyles(`navigationButton`,u),"aria-label":c.labels.previousSlideLabel,"aria-disabled":!ee||void 0,"data-inactive":!ee||void 0,mod:`reduce-motion`,tabIndex:ee?0:-1,onClick:c.prev,children:(0,P.jsx)(f,{})}),(0,P.jsx)(l,{...c.getStyles(`navigationButton`,u),"aria-label":c.labels.nextSlideLabel,"aria-disabled":!te||void 0,"data-inactive":!te||void 0,mod:`reduce-motion`,tabIndex:te?0:-1,onClick:c.next,children:(0,P.jsx)(p,{})})]})});pe.classes=N,pe.displayName=`@mantine/lightbox/LightboxNavigation`;var me=`input, textarea, select, video, audio, [contenteditable]:not([contenteditable="false"])`,he=`button, a[href], [role="button"], [role="link"], [role="checkbox"], [role="radio"], [role="menuitem"], [role="option"], [role="slider"], [role="spinbutton"], [role="switch"], [role="tab"], [role="textbox"], [role="combobox"], [role="listbox"], [role="menu"], [role="menubar"], [role="tablist"], [role="tree"], [role="treeitem"], [role="grid"], [role="gridcell"]`,ge=50;function _e({opened:e,enabled:t,dir:n,onClose:r,onNext:i,onPrev:a,onToggleFullscreen:o,onToggleThumbnails:s,onToggleZoom:c,onZoomPan:l}){(0,I.useEffect)(()=>{if(!e)return;let u=n===`rtl`?i:a,d=n===`rtl`?a:i,f=e=>{if(!e.defaultPrevented){if(e.key===`Escape`)e.preventDefault(),r();else if(!(!t||e.ctrlKey||e.metaKey||e.altKey)&&!(e.target instanceof Element&&(e.target.closest(me)||e.target.closest(`[data-lightbox-slide]`)&&e.target.closest(he))))switch(e.key){case`ArrowLeft`:e.preventDefault(),l?.(ge,0)||u();break;case`ArrowRight`:e.preventDefault(),l?.(-50,0)||d();break;case`ArrowUp`:l?.(0,ge)&&e.preventDefault();break;case`ArrowDown`:l?.(0,-50)&&e.preventDefault();break;case`f`:case`F`:o&&(e.preventDefault(),o());break;case`t`:case`T`:s&&(e.preventDefault(),s());break;case`z`:case`Z`:c&&(e.preventDefault(),c())}}};return document.addEventListener(`keydown`,f),()=>document.removeEventListener(`keydown`,f)},[e,t,n,r,i,a,o,s,c,l])}function ve({opened:e,exitDuration:t,exitDelay:r}){let[i,a]=(0,I.useState)(!e),[o,s]=(0,I.useState)(e),c=(0,I.useRef)(-1),l=S(),u=n(),d=r+(l.respectReducedMotion&&u?0:t);return e!==o&&(s(e),e&&a(!1)),(0,I.useEffect)(()=>{if(e||d===0)window.clearTimeout(c.current);else return c.current=window.setTimeout(()=>a(!0),d),()=>window.clearTimeout(c.current)},[e,d]),e||!i&&d>0}var R={scale:1,translateX:0,translateY:0,isZoomed:!1};function ye(e,t){if(!t)return e;let n=t.offsetWidth*(e.scale-1)/2,r=t.offsetHeight*(e.scale-1)/2;return{...e,translateX:Math.max(-n,Math.min(n,e.translateX)),translateY:Math.max(-r,Math.min(r,e.translateY))}}function be({enabled:e,maxScale:t,currentIndex:n}){let[r,i]=(0,I.useState)(R),[a,o]=(0,I.useState)(!1),s=(0,I.useRef)(null),c=(0,I.useRef)(!1),l=(0,I.useRef)(!1),u=(0,I.useRef)({x:0,y:0}),d=(0,I.useRef)({x:0,y:0}),f=(0,I.useRef)(null),p=(0,I.useRef)(`mouse`),m=(0,I.useRef)(`mouse`),[h,g]=(0,I.useState)(!1),_=(0,I.useRef)(-1);(0,I.useEffect)(()=>{c.current=r.isZoomed},[r.isZoomed]);let v=(0,I.useCallback)(()=>{g(!0),window.clearTimeout(_.current),_.current=window.setTimeout(()=>g(!1),120)},[]),y=(0,I.useRef)(v);(0,I.useEffect)(()=>{y.current=v},[v]),(0,I.useEffect)(()=>()=>window.clearTimeout(_.current),[]);let b=(0,I.useCallback)(()=>{i(R),o(!1)},[]),[ee,te]=(0,I.useState)(n),[x,ne]=(0,I.useState)(e);(n!==ee||e!==x)&&(te(n),ne(e),n===ee&&e||(i(R),o(!1))),(0,I.useEffect)(()=>{e||(f.current=null,l.current=!1)},[e]);let S=(0,I.useCallback)(()=>{e&&i(e=>e.isZoomed?R:{scale:Math.min(2,t),translateX:0,translateY:0,isZoomed:!0})},[e,t]),C=(0,I.useCallback)((e,n,r)=>{i(i=>{let a=Math.max(1,Math.min(t,i.scale+e));if(a===1)return R;let o=s.current,c=i.translateX,l=i.translateY;if(o&&n!==void 0&&r!==void 0){let e=o.getBoundingClientRect(),t=a/i.scale,s=n-(e.left+e.width/2)+i.translateX,u=r-(e.top+e.height/2)+i.translateY;c=s*(1-t)+i.translateX*t,l=u*(1-t)+i.translateY*t}return ye({scale:a,translateX:c,translateY:l,isZoomed:!0},o)})},[t]),re=(0,I.useCallback)((e,t)=>c.current?(i(n=>ye({...n,translateX:n.translateX+e,translateY:n.translateY+t},s.current)),!0):!1,[]),ie=(0,I.useRef)(C);(0,I.useEffect)(()=>{ie.current=C},[C]);let ae=(0,I.useRef)(e=>{e.deltaY!==0&&(e.preventDefault(),y.current(),ie.current(e.deltaY>0?-.2:.2,e.clientX,e.clientY))}),w=(0,I.useCallback)(e=>{s.current?.removeEventListener(`wheel`,ae.current),s.current=e,e?.addEventListener(`wheel`,ae.current,{passive:!1})},[]),T=(0,I.useCallback)(t=>{if(p.current=t.pointerType,!r.isZoomed||!e)return;o(!0),l.current=!1,u.current={x:t.clientX,y:t.clientY},d.current={x:r.translateX,y:r.translateY};let n=t.target;typeof n?.setPointerCapture==`function`&&n.setPointerCapture(t.pointerId)},[r.isZoomed,r.translateX,r.translateY,e]),E=(0,I.useCallback)(t=>{if(!a||!e)return;let n=t.clientX-u.current.x,r=t.clientY-u.current.y;(Math.abs(n)>3||Math.abs(r)>3)&&(l.current=!0),i(e=>ye({...e,translateX:d.current.x+n,translateY:d.current.y+r},s.current))},[a,e]),D=(0,I.useCallback)(()=>{o(!1)},[]),O=(0,I.useCallback)(()=>{o(!1),l.current=!1,f.current=null},[]),k=(0,I.useCallback)(t=>{if(!e||t.touches.length!==2){f.current=null;return}let n=t.touches[0],r=t.touches[1],i=Math.hypot(n.clientX-r.clientX,n.clientY-r.clientY);if(f.current!==null){v();let e=(i-f.current)*.01;C(e,(n.clientX+r.clientX)/2,(n.clientY+r.clientY)/2)}f.current=i},[e,C,v]),A=(0,I.useCallback)(()=>{f.current=null},[]),oe=(0,I.useCallback)(t=>{if(!e||t.detail>1)return;if(l.current){l.current=!1;return}let n=p.current;p.current=`mouse`,m.current=n,n!==`touch`&&S()},[e,S]),j=(0,I.useCallback)(()=>{e&&m.current===`touch`&&S()},[e,S]),se=(0,I.useCallback)(()=>({ref:w,style:{transform:`scale(${r.scale}) translate(${r.translateX/r.scale}px, ${r.translateY/r.scale}px)`},"data-zoom-enabled":e||void 0,"data-zoomed":r.isZoomed||void 0,"data-dragging":a||h||void 0,onPointerDown:T,onPointerMove:E,onPointerUp:D,onPointerCancel:O,onLostPointerCapture:D,onClick:oe,onDoubleClick:j,onTouchMove:k,onTouchEnd:A}),[r,a,h,e,w,T,E,D,O,oe,j,k,A]),ce=(0,I.useMemo)(()=>({scale:r.scale,isZoomed:r.isZoomed}),[r.scale,r.isZoomed]);return(0,I.useMemo)(()=>({zoomState:ce,toggleZoom:S,resetZoom:b,panZoom:re,getImageProps:se}),[ce,S,b,re,se])}var xe={withZoom:!1,withThumbnails:!1,withFullscreen:!1,withDownload:!1,loop:!1,closeOnClickOutside:!1,closeOnSwipeDown:!0,withKeyboardEvents:!0,returnFocus:!0,withInitialFocusPlaceholder:!0,withinPortal:!0,transitionDuration:200,zoomMaxScale:3,withSlideTransition:!1};function Se(e,t,n){return(r,i)=>{if(t.current)return!1;let a=n.current[e];return typeof a==`function`?a(r,i):a??!0}}var Ce={common:{transformOrigin:`center center`},in:{opacity:1,transform:`scale(1)`},out:{opacity:0,transform:`scale(0.95)`},transitionProperty:`transform, opacity`};function we(){let e=document,t=e.exitFullscreen||e.msExitFullscreen||e.webkitExitFullscreen||e.mozCancelFullScreen;typeof t==`function`&&Promise.resolve(t.call(e)).catch(()=>{})}var Te=re((e,{transitionDuration:t,zIndex:n})=>({root:{"--lightbox-transition-duration":`${t}ms`,"--lightbox-overlay-color":void 0,"--lightbox-z-index":n===void 0?void 0:`${n}`,"--lightbox-toolbar-height":void 0,"--lightbox-thumbnails-height":void 0}})),z=b(i=>{let c=v(`LightboxRoot`,xe,i),{classNames:l,className:d,style:f,styles:p,unstyled:h,vars:g,opened:_,onClose:y,children:b,slides:x,currentIndex:ne,onIndexChange:re,labels:ae,withZoom:w,withThumbnails:T,withFullscreen:E,withDownload:D,loop:O,closeOnClickOutside:k,closeOnSwipeDown:A,withKeyboardEvents:oe,returnFocus:j,withInitialFocusPlaceholder:se,withinPortal:ce,zIndex:le,transitionDuration:M,transitionProps:F,emblaOptions:L,zoomMaxScale:fe,withSlideTransition:pe,attributes:me,mod:he,onClick:ge,ref:R,...ye}=c,z=te({name:`Lightbox`,classes:N,props:c,classNames:l,styles:p,unstyled:h,attributes:me,vars:g,varsResolver:Te}),B=(0,I.useMemo)(()=>({...ue,...ae}),[ae]),Ee=(0,I.useRef)(z);Ee.current=z;let V=(0,I.useCallback)((...e)=>Ee.current(...e),[]),[H,De]=t({value:ne,defaultValue:0,finalValue:0,onChange:re}),U=(0,I.useRef)(!1),W=(0,I.useRef)(H),Oe=(0,I.useRef)(De),G=(0,I.useRef)(null),K=(0,I.useRef)(!1),q=(0,I.useRef)(!1),J=(0,I.useRef)(null),ke=(0,I.useRef)(!1),Ae=(0,I.useRef)(L),[je,Me]=(0,I.useState)(H),[Ne,Pe]=(0,I.useState)(_);_!==Ne&&(Pe(_),_&&Me(H));let{dir:Fe}=e(),Ie=(0,I.useRef)({}),Le=(0,I.useMemo)(()=>{if(!L?.breakpoints)return Ie.current={},L;let e={},t=Object.fromEntries(Object.entries(L.breakpoints).map(([t,n])=>{let{loop:r,startIndex:i,watchDrag:a,...o}=n??{};return e[t]=a,[t,a===void 0?o:{...o,watchDrag:Se(t,U,Ie)}]}));return Ie.current=e,{...L,breakpoints:t}},[L]),[Re,Y]=ie({direction:Fe,...Le,loop:O,startIndex:je,watchDrag:(e,t)=>{if(U.current)return!1;let n=Ae.current?.watchDrag;return typeof n==`function`?n(e,t):n??!0}}),[ze,Be]=(0,I.useState)(!!T),[Ve,He]=(0,I.useState)(T);T!==Ve&&(He(T),Be(!!T));let{toggle:Ue,fullscreen:X}=C(),We=(0,I.useCallback)(()=>{Be(e=>!e)},[]),Ge=(0,I.useCallback)(()=>{K.current=!X,X&&(q.current=!1);let e=Ue().then(()=>{J.current===e&&ke.current&&(ke.current=!1,we())}).catch(()=>{K.current=!1,ke.current=!1}).finally(()=>{J.current===e&&(J.current=null)});J.current=e},[Ue,X]);(0,I.useEffect)(()=>{X?K.current&&(K.current=!1,q.current=!0):(K.current=!1,q.current=!1)},[X]);let Ke=(0,I.useCallback)(()=>{(q.current||K.current)&&(J.current!==null&&K.current&&(ke.current=!0),K.current=!1,q.current=!1,we())},[]),Z=be({enabled:!!w,maxScale:fe,currentIndex:H});(0,I.useEffect)(()=>{W.current=H,Oe.current=De,U.current=Z.zoomState.isZoomed,Ae.current=L});let{resetZoom:qe}=Z;(0,I.useEffect)(()=>{_||(qe(),Be(!!T),Ke())},[_,qe,T,Ke]),(0,I.useEffect)(()=>Ke,[Ke]);let Je=S(),Ye=n(),Xe=Je.respectReducedMotion?Ye:!1,Q=!!pe&&!Xe,Ze=(0,I.useCallback)(()=>{Y?.scrollNext(!Q)},[Y,Q]),Qe=(0,I.useCallback)(()=>{Y?.scrollPrev(!Q)},[Y,Q]);_e({opened:_,enabled:oe,dir:Fe,onClose:y,onNext:Ze,onPrev:Qe,onToggleFullscreen:E?Ge:void 0,onToggleThumbnails:T?We:void 0,onToggleZoom:w?Z.toggleZoom:void 0,onZoomPan:w?Z.panZoom:void 0}),(0,I.useEffect)(()=>{if(!Y)return;let e=()=>{let e=Y.selectedScrollSnap();e!==G.current&&Oe.current(e)},t=()=>{Y.selectedScrollSnap()!==W.current&&(G.current=W.current,Y.scrollTo(W.current,!0),G.current=null)};return Y.on(`select`,e),Y.on(`reInit`,t),()=>{Y.off(`select`,e),Y.off(`reInit`,t)}},[Y]),(0,I.useEffect)(()=>{Y&&_&&Y.selectedScrollSnap()!==H&&(G.current=H,Y.scrollTo(H,!Q),G.current=null)},[H,Y,_,Q]),(0,I.useEffect)(()=>{x.length>0&&H>x.length-1&&Oe.current(x.length-1)},[x.length,H]),s({opened:_,shouldReturnFocus:j});let $e=ve({opened:_,exitDuration:typeof F?.exitDuration==`number`?F.exitDuration:typeof F?.duration==`number`?F.duration:M,exitDelay:typeof F?.exitDelay==`number`?F.exitDelay:0}),$={transition:Ce,duration:M,timingFunction:`ease`,...F},et={transition:`fade`,duration:$.duration,exitDuration:$.exitDuration,timingFunction:$.timingFunction,enterDelay:$.enterDelay,exitDelay:$.exitDelay,keepMounted:$.keepMounted},tt=(0,I.useCallback)(e=>{Oe.current(e),G.current=e,Y?.scrollTo(e,!Q),G.current=null},[Y,Q]),nt=x[H],rt=nt?.type===`video`?nt.label:nt?.type===`custom`?void 0:nt?.alt,it=(0,I.useMemo)(()=>({getStyles:V,labels:B,opened:_,slides:x,currentIndex:H,setIndex:tt,next:Ze,prev:Qe,embla:Y??null,emblaRef:Re,withZoom:!!w,withThumbnails:!!T,withFullscreen:!!E,withDownload:!!D,thumbnailsVisible:ze,toggleThumbnails:We,isFullscreen:X,toggleFullscreen:Ge,zoomState:Z.zoomState,toggleZoom:Z.toggleZoom,getImageZoomProps:Z.getImageProps,onClose:y,loop:!!O,closeOnClickOutside:!!k,closeOnSwipeDown:!!A,transitionDuration:M}),[V,B,_,x,H,tt,Ze,Qe,Y,Re,w,T,E,D,ze,We,X,Ge,Z,y,O,k,A,M]);return(0,P.jsx)(ee,{withinPortal:ce,children:(0,P.jsx)(de,{value:it,children:(0,P.jsx)(o,{enabled:$e,children:(0,P.jsxs)(m,{...z(`root`),children:[(0,P.jsx)(a,{mounted:_,...et,children:e=>(0,P.jsx)(m,{...z(`overlay`,{style:e})})}),(0,P.jsx)(a,{mounted:_,...$,children:e=>(0,P.jsx)(r,{active:_,innerRef:R,children:(0,P.jsxs)(m,{...z(`content`,{className:d,style:f?[f,e]:e}),role:`dialog`,"aria-modal":`true`,"aria-label":B.lightboxLabel,tabIndex:-1,...ye,mod:he,onClick:e=>{ge?.(e),k&&e.target===e.currentTarget&&y()},children:[se&&(0,P.jsx)(r.InitialFocus,{}),(0,P.jsx)(u,{role:`status`,"aria-live":`polite`,"aria-atomic":`true`,children:x.length>0?`${B.slideLabel(H+1,x.length)}${rt?`: ${rt}`:``}`:null}),b]})})})]})})})})});z.classes=N,z.varsResolver=Te,z.displayName=`@mantine/lightbox/LightboxRoot`;function B({slide:e,active:t,stylesApiProps:n}){let r=M(),{style:i,...a}=t&&r.withZoom?r.getImageZoomProps():{style:void 0};return(0,P.jsx)(`img`,{...r.getStyles(`slideImage`,{...n,style:i}),src:e.src,alt:e.alt??``,srcSet:e.srcSet,sizes:e.sizes,loading:e.loading??(t?`eager`:`lazy`),draggable:!1,"data-reduce-motion":`true`,...a})}B.displayName=`@mantine/lightbox/ImageSlide`;function Ee({slide:e,active:t,stylesApiProps:n}){let r=M(),i=(0,I.useRef)(null),a=t&&r.opened;return(0,I.useEffect)(()=>{let t=i.current;t&&(a?e.autoPlay&&t.play().catch(()=>{}):t.pause())},[a,e.autoPlay]),(0,P.jsx)(`video`,{ref:i,...r.getStyles(`slideVideo`,n),src:e.src,poster:e.poster,"aria-label":e.label,autoPlay:a&&e.autoPlay,"data-active":t||void 0,controls:!0,playsInline:!0,children:e.tracks?.map((e,t)=>(0,P.jsx)(`track`,{src:e.src,kind:e.kind??`subtitles`,srcLang:e.srcLang,label:e.label,default:e.default},t))})}Ee.displayName=`@mantine/lightbox/VideoSlide`;var V=b(e=>{let{classNames:t,className:n,style:r,styles:i,vars:a,slide:o,index:s,onClick:c,...l}=v(`LightboxSlide`,null,e),u=M(),d=u.currentIndex===s,f={classNames:t,styles:i},p=()=>o.type===`video`?(0,P.jsx)(Ee,{slide:o,active:d,stylesApiProps:f}):o.type===`custom`?o.render({active:d}):(0,P.jsx)(B,{slide:o,active:d,stylesApiProps:f});return(0,P.jsx)(m,{...u.getStyles(`slide`,{className:n,style:r,classNames:t,styles:i}),role:`group`,"aria-roledescription":`slide`,"data-lightbox-slide":!0,"aria-label":u.labels.slideLabel(s+1,u.slides.length),inert:!d,...l,onClick:e=>{c?.(e),u.closeOnClickOutside&&!e.defaultPrevented&&e.target===e.currentTarget&&u.onClose()},children:p()})});V.classes=N,V.displayName=`@mantine/lightbox/LightboxSlide`;var H=100;function De({enabled:e,onClose:t,isZoomed:n}){let r=(0,I.useRef)(null);return{handleTouchStart:(0,I.useCallback)(t=>{e&&!n&&(t.touches.length===1?r.current={x:t.touches[0].clientX,y:t.touches[0].clientY}:r.current=null)},[e,n]),handleTouchEnd:(0,I.useCallback)(i=>{if(!e||n||!r.current||i.changedTouches.length!==1){r.current=null;return}let a=i.changedTouches[0].clientY-r.current.y,o=Math.abs(i.changedTouches[0].clientX-r.current.x);a>H&&o<a&&t(),r.current=null},[e,n,t])}}var U=b(e=>{let{classNames:t,className:n,style:r,styles:i,vars:a,emblaRef:o,children:s,onTouchStart:c,onTouchEnd:l,...u}=v(`LightboxSlides`,null,e),d=M(),f={classNames:t,styles:i},p=g(d.emblaRef,o),{handleTouchStart:h,handleTouchEnd:_}=De({enabled:d.closeOnSwipeDown,onClose:d.onClose,isZoomed:d.zoomState.isZoomed});return(0,P.jsx)(m,{...d.getStyles(`slides`,{className:n,style:r,classNames:t,styles:i}),role:`region`,"aria-roledescription":`carousel`,"aria-label":d.labels.slidesLabel,...u,onTouchStart:e=>{c?.(e),h(e)},onTouchEnd:e=>{l?.(e),_(e)},children:(0,P.jsx)(`div`,{...d.getStyles(`slidesViewport`,f),ref:p,children:(0,P.jsx)(`div`,{...d.getStyles(`slidesContainer`,f),children:s})})})});U.classes=N,U.displayName=`@mantine/lightbox/LightboxSlides`;var W=b(t=>{let{classNames:n,className:r,style:i,styles:a,vars:o,...s}=v(`LightboxThumbnails`,null,t),u=M(),d={classNames:n,styles:a},{dir:f}=e(),[p,m]=ie({containScroll:`keepSnaps`,dragFree:!0,direction:f,active:u.withThumbnails});if((0,I.useEffect)(()=>{m&&m.scrollTo(u.currentIndex)},[u.currentIndex,m]),!u.withThumbnails)return null;let h=u.slides.map((e,t)=>{let n=t===u.currentIndex,r=e.thumbSrc??(e.type===`video`?e.poster:void 0)??(e.type===`image`||e.type===void 0?e.src:void 0);return(0,P.jsx)(l,{...u.getStyles(`thumbnail`,d),mod:`reduce-motion`,"data-active":n||void 0,"aria-label":u.labels.thumbnailLabel(t+1,u.slides.length),"aria-current":n||void 0,onClick:()=>u.setIndex(t),children:e.renderThumb?e.renderThumb({active:n}):r?(0,P.jsx)(`img`,{...u.getStyles(`thumbnailImage`,d),src:r,alt:``,loading:`lazy`,draggable:!1}):null},t)});return(0,P.jsx)(c,{expanded:u.thumbnailsVisible,transitionDuration:u.transitionDuration,keepMounted:!1,...u.getStyles(`thumbnails`,{className:r,style:i,classNames:n,styles:a}),...s,children:(0,P.jsx)(`div`,{...u.getStyles(`thumbnailsViewport`,d),ref:p,children:(0,P.jsx)(`div`,{...u.getStyles(`thumbnailsContainer`,d),children:h})})})});W.classes=N,W.displayName=`@mantine/lightbox/LightboxThumbnails`;function Oe(){return(0,P.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,width:`20`,height:`20`,fill:`currentColor`,children:(0,P.jsx)(`path`,{d:`M3 3h6v2H5v4H3V3zm12 0h6v6h-2V5h-4V3zM3 15h2v4h4v2H3v-6zm18 0v6h-6v-2h4v-4h2z`})})}function G(){return(0,P.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,width:`20`,height:`20`,fill:`currentColor`,children:(0,P.jsx)(`path`,{d:`M9 3v6H3V7h4V3h2zm6 0h2v4h4v2h-6V3zM3 15h6v6H7v-4H3v-2zm12 0h6v2h-4v4h-2v-6z`})})}function K(){return(0,P.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,width:`20`,height:`20`,fill:`currentColor`,children:(0,P.jsx)(`path`,{d:`M3 3h8v8H3V3zm0 10h8v8H3v-8zm10-10h8v8h-8V3zm0 10h8v8h-8v-8z`})})}function q(){return(0,P.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,width:`20`,height:`20`,fill:`currentColor`,children:(0,P.jsx)(`path`,{d:`M12 16l-6-6h4V4h4v6h4l-6 6zm-8 2h16v2H4v-2z`})})}function J(){return(0,P.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,width:`20`,height:`20`,fill:`currentColor`,children:(0,P.jsx)(`path`,{d:`M18.3 5.7a1 1 0 0 0-1.4 0L12 10.6 7.1 5.7a1 1 0 0 0-1.4 1.4L10.6 12l-4.9 4.9a1 1 0 1 0 1.4 1.4L12 13.4l4.9 4.9a1 1 0 0 0 1.4-1.4L13.4 12l4.9-4.9a1 1 0 0 0 0-1.4z`})})}function ke(e,t,n=ue){return{key:`fullscreen`,icon:t?(0,P.jsx)(G,{}):(0,P.jsx)(Oe,{}),label:t?n.exitFullscreenLabel:n.enterFullscreenLabel,onClick:e,position:`right`}}function Ae(e,t,n=ue){return{key:`thumbnails`,icon:(0,P.jsx)(K,{}),label:t?n.hideThumbnailsLabel:n.showThumbnailsLabel,onClick:e,position:`left`}}var je=[`http:`,`https:`,`blob:`,`data:`];function Me(e){try{let t=new URL(e,window.location.href);return je.includes(t.protocol)?t:null}catch{return null}}var Ne=new Set;function Pe(e){if(e.protocol===`data:`)return`download`;let t=e.pathname.split(`/`).pop()||``;try{return decodeURIComponent(t)||`download`}catch{return t||`download`}}function Fe(e){let t=document.createElement(`a`);t.href=e,t.target=`_blank`,t.rel=`noopener noreferrer`,document.body.appendChild(t),t.click(),t.remove()}function Ie(e){let t=Me(e);t&&!Ne.has(e)&&((t.protocol===`http:`||t.protocol===`https:`)&&t.origin!==window.location.origin?Fe(e):(Ne.add(e),fetch(e).then(t=>{if(!t.ok)throw Error(`Failed to download ${e}: ${t.status}`);return t.blob()}).then(e=>{let n=URL.createObjectURL(e),r=document.createElement(`a`);r.href=n,r.download=Pe(t),document.body.appendChild(r),r.click(),r.remove(),window.setTimeout(()=>URL.revokeObjectURL(n),1e3)}).catch(()=>{Fe(e)}).finally(()=>{Ne.delete(e)})))}function Le(e,t=ue){return{key:`download`,icon:(0,P.jsx)(q,{}),label:t.downloadLabel,onClick:()=>Ie(e),position:`right`}}function Re(e,t=ue){return{key:`close`,icon:(0,P.jsx)(J,{}),label:t.closeLabel,onClick:e,position:`right`}}var Y=b(e=>{let{classNames:t,className:n,style:r,styles:i,vars:a,toolbarItems:o,...s}=v(`LightboxToolbar`,null,e),c=M(),u={classNames:t,styles:i},d=c.slides[c.currentIndex],f=[];c.withThumbnails&&f.push(Ae(c.toggleThumbnails,c.thumbnailsVisible,c.labels)),c.withFullscreen&&f.push(ke(c.toggleFullscreen,c.isFullscreen,c.labels)),c.withDownload&&d&&d.type!==`custom`&&f.push(Le(d.src,c.labels)),f.push(Re(c.onClose,c.labels));let p=typeof o==`function`?o({slides:c.slides,currentIndex:c.currentIndex,setIndex:c.setIndex,next:c.next,prev:c.prev,close:c.onClose,thumbnailsVisible:c.thumbnailsVisible,toggleThumbnails:c.toggleThumbnails,isFullscreen:c.isFullscreen,toggleFullscreen:c.toggleFullscreen,zoomed:c.zoomState.isZoomed,toggleZoom:c.toggleZoom,labels:c.labels}):o??f,h=p.filter(e=>e.position===`left`),g=p.filter(e=>e.position!==`left`);return(0,P.jsxs)(m,{...c.getStyles(`toolbar`,{className:n,style:r,classNames:t,styles:i}),...s,children:[(0,P.jsx)(`div`,{...c.getStyles(`toolbarGroup`,u),children:h.map(e=>(0,P.jsx)(l,{...c.getStyles(`toolbarButton`,u),mod:`reduce-motion`,"aria-label":e.label,onClick:e.onClick,children:e.icon},e.key))}),(0,P.jsx)(`span`,{...c.getStyles(`counter`,u),"aria-hidden":`true`,children:c.slides.length>0?`${c.currentIndex+1} / ${c.slides.length}`:null}),(0,P.jsx)(`div`,{...c.getStyles(`toolbarGroup`,u),children:g.map(e=>(0,P.jsx)(l,{...c.getStyles(`toolbarButton`,u),mod:`reduce-motion`,"aria-label":e.label,onClick:e.onClick,children:e.icon},e.key))})]})});Y.classes=N,Y.displayName=`@mantine/lightbox/LightboxToolbar`;var ze=b(e=>{let{classNames:t,className:n,style:r,styles:a,vars:o,onClick:s,...c}=v(`LightboxCloseButton`,null,e),l=M();return(0,P.jsx)(i,{...l.getStyles(`closeButton`,{className:n,style:r,classNames:t,styles:a}),"aria-label":l.labels.closeLabel,variant:`subtle`,size:`lg`,...c,onClick:e=>{s?.(e),l.onClose()}})});ze.classes=N,ze.displayName=`@mantine/lightbox/LightboxCloseButton`;var Be={...xe,withNavigation:!0},Ve=b(e=>{let{slides:t,toolbarItems:n,withNavigation:r,children:i,...a}=v(`Lightbox`,Be,e);return(0,P.jsx)(z,{...a,slides:t,children:i??(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(Y,{toolbarItems:n}),(0,P.jsx)(U,{children:t.map((e,t)=>(0,P.jsx)(V,{slide:e,index:t},t))}),r&&(0,P.jsx)(pe,{}),(0,P.jsx)(F,{}),(0,P.jsx)(W,{})]})})}),He={store:ce},Ue=b(e=>{let{store:t,loop:n,...r}=v(`LightboxProvider`,He,e),i=w(t);return(0,I.useEffect)(()=>{t.getState().loop!==!!n&&j.updateState(()=>({loop:!!n}),t)},[n,t]),(0,P.jsx)(Ve,{...r,loop:n,opened:i.opened,onClose:()=>j.close(t),slides:i.slides,currentIndex:i.currentIndex,onIndexChange:e=>j.setIndex(e,t)})});Ue.displayName=`@mantine/lightbox/LightboxProvider`;var X=Ve;X.classes=N,X.displayName=`@mantine/lightbox/Lightbox`,X.Root=z,X.Toolbar=Y,X.Slides=U,X.Slide=V,X.Thumbnails=W,X.Navigation=pe,X.Caption=F,X.CloseButton=ze,X.Provider=Ue,X.open=le.open,X.close=le.close,X.next=le.next,X.prev=le.prev,X.setIndex=le.setIndex;function We(e){return Array.isArray(e)?e.map(e=>e.type===`video`?{type:`video`,src:e.src,poster:e.poster,label:e.label,caption:e.caption,thumbSrc:e.thumb_src}:{src:e.src,alt:e.alt,caption:e.caption,thumbSrc:e.thumb_src}):[]}function Ge({node:e,contract:t}){let n=f(),r=e.id,i=e.props,a=typeof i.index==`number`?i.index:0,[o,s]=(0,I.useState)(a);(0,I.useEffect)(()=>{n.store.drafts.get(r)||s(a)},[e.vrev,a,n.store,r]);let c=We(i.slides),l=_(e,t,[`opened`,`slides`,`index`]);return c.length?(0,P.jsx)(X,{...l,opened:i.opened===!0,slides:c,currentIndex:Math.min(o,c.length-1),onIndexChange:e=>{e!==o&&(s(e),n.edit(r,e,`change`,0))},onClose:()=>{n.store.commitLocal(r,`opened`,!1,!0),n.emit(r,`close`)}}):null}export{Ge as default};
@@ -0,0 +1 @@
1
+ .m_4f1afa9a{--lightbox-transition-duration:.2s;--lightbox-overlay-color:#000000e6;--lightbox-z-index:400;--lightbox-toolbar-height:calc(3.5rem * var(--mantine-scale));--lightbox-thumbnails-height:calc(6.25rem * var(--mantine-scale));display:contents}.m_143cf98{z-index:var(--lightbox-z-index);background-color:var(--lightbox-overlay-color);position:fixed;inset:0}.m_7b06bfc1{z-index:var(--lightbox-z-index);color:var(--mantine-color-white);outline:none;flex-direction:column;display:flex;position:fixed;inset:0}.m_fe5b16c3{height:var(--lightbox-toolbar-height);padding:0 var(--mantine-spacing-md);z-index:1;flex-shrink:0;justify-content:space-between;align-items:center;display:flex}.m_9e01b17c{align-items:center;gap:var(--mantine-spacing-xs);display:flex}.m_19d8cbd5{width:calc(2.5rem * var(--mantine-scale));height:calc(2.5rem * var(--mantine-scale));border-radius:var(--mantine-radius-sm);color:var(--mantine-color-white);opacity:.8;transition:opacity var(--lightbox-transition-duration) ease, background-color var(--lightbox-transition-duration) ease;justify-content:center;align-items:center;display:flex}@media (hover:hover){.m_19d8cbd5:hover{opacity:1;background-color:#ffffff1a}}@media (hover:none){.m_19d8cbd5:active{opacity:1;background-color:#ffffff1a}}.m_7b66e144{font-size:var(--mantine-font-size-sm);color:var(--mantine-color-white);opacity:.8;-webkit-user-select:none;user-select:none}.m_f5ce649a{flex:1;min-height:0;position:relative;overflow:hidden}.m_7f838760{height:100%;overflow:hidden}.m_b5439507{height:100%;display:flex}.m_9450faf9{padding:var(--mantine-spacing-md);flex:0 0 100%;justify-content:center;align-items:center;min-width:0;display:flex;position:relative}.m_e659b1e2{object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;max-width:100%;max-height:100%;transition:transform var(--lightbox-transition-duration) ease}.m_e659b1e2[data-zoom-enabled]{touch-action:none}.m_e659b1e2[data-zoomed]{cursor:grab}.m_e659b1e2[data-zoomed]:active{cursor:grabbing}.m_e659b1e2[data-dragging]{transition:none}.m_e659b1e2[data-zoom-enabled]:not([data-zoomed]){cursor:zoom-in}.m_e70f1d02{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:100%}.m_411d1cbf{padding:0 var(--mantine-spacing-md);flex-shrink:0;display:block;overflow:hidden}.m_3a7e4a85{width:fit-content;max-width:100%;height:var(--lightbox-thumbnails-height);margin-inline:auto;overflow:hidden}.m_59a13682{gap:var(--mantine-spacing-xs);align-items:center;height:100%;display:flex}.m_3be82a34{width:calc(4rem * var(--mantine-scale));height:calc(4rem * var(--mantine-scale));border-radius:var(--mantine-radius-sm);opacity:.5;border:calc(.125rem * var(--mantine-scale)) solid transparent;cursor:pointer;transition:opacity var(--lightbox-transition-duration) ease, border-color var(--lightbox-transition-duration) ease;background:0 0;flex:none;padding:0;overflow:hidden}@media (hover:hover){.m_3be82a34:hover{opacity:.8}}@media (hover:none){.m_3be82a34:active{opacity:.8}}.m_3be82a34[data-active]{opacity:1;border-color:var(--mantine-primary-color-filled)}.m_fd95cf87{object-fit:cover;width:100%;height:100%}.m_15a759cc{width:100%;padding:0 var(--mantine-spacing-md);pointer-events:none;z-index:1;justify-content:space-between;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.m_a5bee41e{width:calc(3rem * var(--mantine-scale));height:calc(3rem * var(--mantine-scale));color:var(--mantine-color-white);pointer-events:all;opacity:.7;transition:opacity var(--lightbox-transition-duration) ease;justify-content:center;align-items:center;display:flex}@media (hover:hover){.m_a5bee41e:hover{opacity:1}}@media (hover:none){.m_a5bee41e:active{opacity:1}}.m_a5bee41e[data-inactive]{opacity:.3;pointer-events:none}.m_633f252e{text-align:center;padding:var(--mantine-spacing-xs) var(--mantine-spacing-md);font-size:var(--mantine-font-size-sm);color:var(--mantine-color-white);opacity:.8;flex-shrink:0}.m_1ae53e92{color:var(--mantine-color-white)}
@@ -0,0 +1,5 @@
1
+ import{C as e,H as t,O as n,_ as r,a as i,at as a,b as o,bt as s,g as c,i as l,j as u,lt as d,o as f,ot as p,r as m,u as h,w as g}from"./dist-BCHbQlae.js";import{t as ee}from"./dist-70Le0T2N.js";import{_ as te,b as ne,c as re,f as ie,h as _,i as ae,m as oe,p as v,u as y,v as b}from"./highlight-CB6hGb5A.js";import{n as se,t as ce}from"./dist-DikJK2lp.js";var le=class e{static create(t,n,r,i,a){let o=i+(i<<8)+t+(n<<4)|0;return new e(t,n,r,o,a,[],[])}constructor(e,t,n,r,i,a,o){this.type=e,this.value=t,this.from=n,this.hash=r,this.end=i,this.children=a,this.positions=o,this.blank=!1,this.hashProp=[[v.contextHash,r]]}addChild(e,t){e.prop(v.contextHash)!=this.hash&&(e=new b(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}toTree(e,t=this.end){let n=this.children.length-1;return n>=0&&(t=Math.max(t,this.positions[n]+this.children[n].length+this.from)),new b(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(e,t,n)=>new b(_.none,e,t,n,this.hashProp)})}},x;(function(e){e[e.Document=1]=`Document`,e[e.CodeBlock=2]=`CodeBlock`,e[e.FencedCode=3]=`FencedCode`,e[e.Blockquote=4]=`Blockquote`,e[e.HorizontalRule=5]=`HorizontalRule`,e[e.BulletList=6]=`BulletList`,e[e.OrderedList=7]=`OrderedList`,e[e.ListItem=8]=`ListItem`,e[e.ATXHeading1=9]=`ATXHeading1`,e[e.ATXHeading2=10]=`ATXHeading2`,e[e.ATXHeading3=11]=`ATXHeading3`,e[e.ATXHeading4=12]=`ATXHeading4`,e[e.ATXHeading5=13]=`ATXHeading5`,e[e.ATXHeading6=14]=`ATXHeading6`,e[e.SetextHeading1=15]=`SetextHeading1`,e[e.SetextHeading2=16]=`SetextHeading2`,e[e.HTMLBlock=17]=`HTMLBlock`,e[e.LinkReference=18]=`LinkReference`,e[e.Paragraph=19]=`Paragraph`,e[e.CommentBlock=20]=`CommentBlock`,e[e.ProcessingInstructionBlock=21]=`ProcessingInstructionBlock`,e[e.Escape=22]=`Escape`,e[e.Entity=23]=`Entity`,e[e.HardBreak=24]=`HardBreak`,e[e.Emphasis=25]=`Emphasis`,e[e.StrongEmphasis=26]=`StrongEmphasis`,e[e.Link=27]=`Link`,e[e.Image=28]=`Image`,e[e.InlineCode=29]=`InlineCode`,e[e.HTMLTag=30]=`HTMLTag`,e[e.Comment=31]=`Comment`,e[e.ProcessingInstruction=32]=`ProcessingInstruction`,e[e.Autolink=33]=`Autolink`,e[e.HeaderMark=34]=`HeaderMark`,e[e.QuoteMark=35]=`QuoteMark`,e[e.ListMark=36]=`ListMark`,e[e.LinkMark=37]=`LinkMark`,e[e.EmphasisMark=38]=`EmphasisMark`,e[e.CodeMark=39]=`CodeMark`,e[e.CodeText=40]=`CodeText`,e[e.CodeInfo=41]=`CodeInfo`,e[e.LinkTitle=42]=`LinkTitle`,e[e.LinkLabel=43]=`LinkLabel`,e[e.URL=44]=`URL`})(x||={});var ue=class{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}},de=class{constructor(){this.text=``,this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return C(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,n=0){for(let r=t;r<e;r++)n+=this.text.charCodeAt(r)==9?4-n%4:1;return n}findColumn(e){let t=0;for(let n=0;t<this.text.length&&n<e;t++)n+=this.text.charCodeAt(t)==9?4-n%4:1;return t}scrub(){if(!this.baseIndent)return this.text;let e=``;for(let t=0;t<this.basePos;t++)e+=` `;return e+this.text.slice(this.basePos)}};function fe(e,t,n){if(n.pos==n.text.length||e!=t.block&&n.indent>=t.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;let r=(e.type==x.OrderedList?E:T)(n,t,!1);return r>0&&(e.type!=x.BulletList||w(n,t,!1)<0)&&n.text.charCodeAt(n.pos+r-1)==e.value}var pe={[x.Blockquote](e,t,n){return n.next==62&&(n.markers.push(L(x.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(S(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0)},[x.ListItem](e,t,n){if(n.next<0){if(e.blank)return!1}else{if(n.indent<n.baseIndent+e.value)return!1;e.blank=!1}return n.moveBaseColumn(n.baseIndent+e.value),!0},[x.OrderedList]:fe,[x.BulletList]:fe,[x.Document](){return!0}};function S(e){return e==32||e==9||e==10||e==13}function C(e,t=0){for(;t<e.length&&S(e.charCodeAt(t));)t++;return t}function me(e,t,n){for(;t>n&&S(e.charCodeAt(t-1));)t--;return t}function he(e){if(e.next!=96&&e.next!=126)return-1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;if(t<e.pos+3)return-1;if(e.next==96){for(let n=t;n<e.text.length;n++)if(e.text.charCodeAt(n)==96)return-1}return t}function ge(e){return e.next==62?e.text.charCodeAt(e.pos+1)==32?2:1:-1}function w(e,t,n){if(e.next!=42&&e.next!=45&&e.next!=95)return-1;let r=1;for(let t=e.pos+1;t<e.text.length;t++){let n=e.text.charCodeAt(t);if(n==e.next)r++;else if(!S(n))return-1}return n&&e.next==45&&ye(e)>-1&&e.depth==t.stack.length&&t.parser.leafBlockParsers.indexOf(Ee.SetextHeading)>-1||r<3?-1:1}function _e(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function T(e,t,n){return(e.next==45||e.next==43||e.next==42)&&(e.pos==e.text.length-1||S(e.text.charCodeAt(e.pos+1)))&&(!n||_e(t,x.BulletList)||e.skipSpace(e.pos+2)<e.text.length)?1:-1}function E(e,t,n){let r=e.pos,i=e.next;for(;i>=48&&i<=57;){if(r++,r==e.text.length)return-1;i=e.text.charCodeAt(r)}return r==e.pos||r>e.pos+9||i!=46&&i!=41||r<e.text.length-1&&!S(e.text.charCodeAt(r+1))||n&&!_e(t,x.OrderedList)&&(e.skipSpace(r+1)==e.text.length||r>e.pos+1||e.next!=49)?-1:r+1-e.pos}function ve(e){if(e.next!=35)return-1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==35;)t++;if(t<e.text.length&&!S(e.text.charCodeAt(t)))return-1;let n=t-e.pos;return n>6?-1:n}function ye(e){if(e.next!=45&&e.next!=61||e.indent>=e.baseIndent+4)return-1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;let n=t;for(;t<e.text.length&&S(e.text.charCodeAt(t));)t++;return t==e.text.length?n:-1}var D=/^[ \t]*$/,be=/-->/,xe=/\?>/,O=[[/^<(?:script|pre|style|textarea)(?:\s|>|$)/i,/<\/(?:script|pre|style|textarea)>/i],[/^\s*<!--/,be],[/^\s*<\?/,xe],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,D],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,D]];function Se(e,t,n){if(e.next!=60)return-1;let r=e.text.slice(e.pos);for(let e=0,t=O.length-+!!n;e<t;e++)if(O[e][0].test(r))return e;return-1}function Ce(e,t){let n=e.countIndent(t,e.pos,e.indent),r=e.skipSpace(t),i=e.countIndent(r,t,n);return i>=n+5||r==e.text.length?n+1:i}function k(e,t,n){let r=e.length-1;r>=0&&e[r].to==t&&e[r].type==x.CodeText?e[r].to=n:e.push(L(x.CodeText,t,n))}var A={LinkReference:void 0,IndentedCode(e,t){let n=t.baseIndent+4;if(t.indent<n)return!1;let r=t.findColumn(n),i=e.lineStart+r,a=e.lineStart+t.text.length,o=[],s=[];for(k(o,i,a);e.nextLine()&&t.depth>=e.stack.length;)if(t.pos==t.text.length){k(s,e.lineStart-1,e.lineStart);for(let e of t.markers)s.push(e)}else if(t.indent<n)break;else{if(s.length){for(let e of s)e.type==x.CodeText?k(o,e.from,e.to):o.push(e);s=[]}k(o,e.lineStart-1,e.lineStart);for(let e of t.markers)o.push(e);a=e.lineStart+t.text.length;let n=e.lineStart+t.findColumn(t.baseIndent+4);n<a&&k(o,n,a)}return s.length&&(s=s.filter(e=>e.type!=x.CodeText),s.length&&(t.markers=s.concat(t.markers))),e.addNode(e.buffer.writeElements(o,-i).finish(x.CodeBlock,a-i),i),!0},FencedCode(e,t){let n=he(t);if(n<0)return!1;let r=e.lineStart+t.pos,i=t.next,a=n-t.pos,o=t.skipSpace(n),s=me(t.text,t.text.length,o),c=[L(x.CodeMark,r,r+a)];o<s&&c.push(L(x.CodeInfo,e.lineStart+o,e.lineStart+s));for(let n=!0,r=!0,o=!1;e.nextLine()&&t.depth>=e.stack.length;n=!1){let s=t.pos;if(t.indent-t.baseIndent<4)for(;s<t.text.length&&t.text.charCodeAt(s)==i;)s++;if(s-t.pos>=a&&t.skipSpace(s)==t.text.length){for(let e of t.markers)c.push(e);r&&o&&k(c,e.lineStart-1,e.lineStart),c.push(L(x.CodeMark,e.lineStart+t.pos,e.lineStart+s)),e.nextLine();break}{o=!0,n||(k(c,e.lineStart-1,e.lineStart),r=!1);for(let e of t.markers)c.push(e);let i=e.lineStart+t.basePos,a=e.lineStart+t.text.length;i<a&&(k(c,i,a),r=!1)}}return e.addNode(e.buffer.writeElements(c,-r).finish(x.FencedCode,e.prevLineEnd()-r),r),!0},Blockquote(e,t){let n=ge(t);return n<0?!1:(e.startContext(x.Blockquote,t.pos),e.addNode(x.QuoteMark,e.lineStart+t.pos,e.lineStart+t.pos+1),t.moveBase(t.pos+n),null)},HorizontalRule(e,t){if(w(t,e,!1)<0)return!1;let n=e.lineStart+t.pos;return e.nextLine(),e.addNode(x.HorizontalRule,n),!0},BulletList(e,t){let n=T(t,e,!1);if(n<0)return!1;e.block.type!=x.BulletList&&e.startContext(x.BulletList,t.basePos,t.next);let r=Ce(t,t.pos+1);return e.startContext(x.ListItem,t.basePos,r-t.baseIndent),e.addNode(x.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),e.block.blank=t.basePos==t.text.length,null},OrderedList(e,t){let n=E(t,e,!1);if(n<0)return!1;e.block.type!=x.OrderedList&&e.startContext(x.OrderedList,t.basePos,t.text.charCodeAt(t.pos+n-1));let r=Ce(t,t.pos+n);return e.startContext(x.ListItem,t.basePos,r-t.baseIndent),e.addNode(x.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),e.block.blank=t.basePos==t.text.length,null},ATXHeading(e,t){let n=ve(t);if(n<0)return!1;let r=t.pos,i=e.lineStart+r,a=me(t.text,t.text.length,r),o=a;for(;o>r&&t.text.charCodeAt(o-1)==t.next;)o--;o!=a&&o!=r&&S(t.text.charCodeAt(o-1))||(o=t.text.length);let s=e.buffer.write(x.HeaderMark,0,n).writeElements(e.parser.parseInline(t.text.slice(r+n+1,o),i+n+1),-i);o<t.text.length&&s.write(x.HeaderMark,o-r,a-r);let c=s.finish(x.ATXHeading1-1+n,t.text.length-r);return e.nextLine(),e.addNode(c,i),!0},HTMLBlock(e,t){let n=Se(t,e,!1);if(n<0)return!1;let r=e.lineStart+t.pos,i=O[n][1],a=[],o=i!=D;for(;!i.test(t.text)&&e.nextLine();){if(t.depth<e.stack.length){o=!1;break}for(let e of t.markers)a.push(e)}o&&e.nextLine();let s=i==be?x.CommentBlock:i==xe?x.ProcessingInstructionBlock:x.HTMLBlock,c=e.prevLineEnd();return e.addNode(e.buffer.writeElements(a,-r).finish(s,c-r),r),!0},SetextHeading:void 0},we=class{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,t,n){if(this.stage==-1)return!1;let r=n.content+`
2
+ `+t.scrub(),i=this.advance(r);return i>-1&&i<r.length&&this.complete(e,n,i)}finish(e,t){return(this.stage==2||this.stage==3)&&C(t.content,this.pos)==t.content.length&&this.complete(e,t,t.content.length)}complete(e,t,n){return e.addLeafElement(t,L(x.LinkReference,this.start,this.start+n,this.elts)),!0}nextStage(e){return e?(this.pos=e.to-this.start,this.elts.push(e),this.stage++,!0):(e===!1&&(this.stage=-1),!1)}advance(e){for(;;)if(this.stage==-1)return-1;else if(this.stage==0){if(!this.nextStage(ze(e,this.pos,this.start,!0)))return-1;if(e.charCodeAt(this.pos)!=58)return this.stage=-1;this.elts.push(L(x.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else if(this.stage==1){if(!this.nextStage(Le(e,C(e,this.pos),this.start)))return-1}else if(this.stage==2){let t=C(e,this.pos),n=0;if(t>this.pos){let r=Re(e,t,this.start);if(r){let t=j(e,r.to-this.start);t>0&&(this.nextStage(r),n=t)}}return n||=j(e,this.pos),n>0&&n<e.length?n:-1}else return j(e,this.pos)}};function j(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(n==10)break;if(!S(n))return-1}return t}var Te=class{nextLine(e,t,n){let r=t.depth<e.stack.length?-1:ye(t),i=t.next;if(r<0)return!1;let a=L(x.HeaderMark,e.lineStart+t.pos,e.lineStart+r);for(let e of t.markers)n.marks.push(e);return e.nextLine(),e.addLeafElement(n,L(i==61?x.SetextHeading1:x.SetextHeading2,n.start,e.prevLineEnd(),[...e.parser.parseInline(n.content,n.start),a])),!0}finish(){return!1}},Ee={LinkReference(e,t){return t.content.charCodeAt(0)==91?new we(t):null},SetextHeading(){return new Te}},De=[(e,t)=>ve(t)>=0,(e,t)=>he(t)>=0,(e,t)=>ge(t)>=0,(e,t)=>T(t,e,!0)>=0,(e,t)=>E(t,e,!0)>=0,(e,t)=>w(t,e,!0)>=0,(e,t)=>Se(t,e,!0)>=0],Oe={text:``,end:0},ke=class{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.line=new de,this.atEnd=!1,this.reusePlaceholders=new Map,this.stoppedAt=null,this.rangeI=0,this.to=r[r.length-1].to,this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=r[0].from,this.block=le.create(x.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=n.length?new He(n,t):null,this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(this.stoppedAt!=null&&this.absoluteLineStart>this.stoppedAt)return this.finish();let{line:e}=this;for(;;){for(let t=0;;){let n=e.depth<this.stack.length?this.stack[this.stack.length-1]:null;for(;t<e.markers.length&&(!n||e.markers[t].from<n.end);){let n=e.markers[t++];this.addNode(n.type,n.from,n.to)}if(!n)break;this.finishContext()}if(e.pos<e.text.length)break;if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;e:for(;;){for(let t of this.parser.blockParsers)if(t){let n=t(this,e);if(n!=0){if(n==1)return null;e.forward();continue e}}break}if(e.pos==e.text.length)return this.nextLine()?null:this.finish();let t=new ue(this.lineStart+e.pos,e.text.slice(e.pos));for(let e of this.parser.leafBlockParsers)if(e){let n=e(this,t);n&&t.parsers.push(n)}e:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4){for(let n of this.parser.endLeafBlock)if(n(this,e,t))break e}for(let n of t.parsers)if(n.nextLine(this,e,t))return null;t.content+=`
3
+ `+e.scrub();for(let n of e.markers)t.marks.push(n)}return this.finishLeaf(t),null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw RangeError(`Can't move stoppedAt forward`);this.stoppedAt=e}reuseFragment(e){if(!this.fragments.moveTo(this.absoluteLineStart+e,this.absoluteLineStart)||!this.fragments.matches(this.block.hash))return!1;let t=this.fragments.takeNodes(this);return t?(this.absoluteLineStart+=t,this.lineStart=We(this.absoluteLineStart,this.ranges),this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++,this.readLine()):(this.atEnd=!0,this.readLine()),!0):!1}get depth(){return this.stack.length}parentType(e=this.depth-1){return this.parser.nodeSet.types[this.stack[e].type]}nextLine(){return this.lineStart+=this.line.text.length,this.absoluteLineEnd>=this.to?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}peekLine(){return this.scanLine(this.absoluteLineEnd+1).text}moveRangeI(){for(;this.rangeI<this.ranges.length-1&&this.absoluteLineStart>=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(e){let t=Oe;if(t.end=e,e>=this.to)t.text=``;else if(t.text=this.lineChunkAt(e),t.end+=t.text.length,this.ranges.length>1){let e=this.absoluteLineStart,n=this.rangeI;for(;this.ranges[n].to<t.end;){n++;let r=this.ranges[n].from,i=this.lineChunkAt(r);t.end=r+i.length,t.text=t.text.slice(0,this.ranges[n-1].to-e)+i,e=t.end-t.text.length}}return t}readLine(){let{line:e}=this,{text:t,end:n}=this.scanLine(this.absoluteLineStart);for(this.absoluteLineEnd=n,e.reset(t);e.depth<this.stack.length;e.depth++){let t=this.stack[e.depth],n=this.parser.skipContextMarkup[t.type];if(!n)throw Error(`Unhandled block context `+x[t.type]);let r=this.line.markers.length;if(!n(t,this,e)){this.line.markers.length>r&&(t.end=this.line.markers[this.line.markers.length-1].to),e.forward();break}e.forward()}}lineChunkAt(e){let t=this.input.chunk(e),n;if(this.input.lineChunks)n=t==`
4
+ `?``:t;else{let e=t.indexOf(`
5
+ `);n=e<0?t:t.slice(0,e)}return e+n.length>this.to?n.slice(0,this.to-e):n}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,t,n=0){this.block=le.create(e,n,this.lineStart+t,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,t,n=0){this.startContext(this.parser.getNodeType(e),t,n)}addNode(e,t,n){typeof e==`number`&&(e=new b(this.parser.nodeSet.types[e],F,F,(n??this.prevLineEnd())-t)),this.block.addChild(e,t-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,t){this.addNode(this.buffer.writeElements(K(t.children,e.marks),-t.from).finish(t.type,t.to-t.from),t.from)}finishContext(){let e=this.stack.pop(),t=this.stack[this.stack.length-1];t.addChild(e.toTree(this.parser.nodeSet),e.from-t.from),this.block=t}finish(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){return this.ranges.length>1?Ae(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let t of e.parsers)if(t.finish(this,e))return;let t=K(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(x.Paragraph,e.content.length),e.start)}elt(e,t,n,r){return typeof e==`string`?L(this.parser.getNodeType(e),t,n,r):new Pe(e,t)}get buffer(){return new Ne(this.parser.nodeSet)}};function Ae(e,t,n,r,i){let a=e[t].to,o=[],s=[],c=n.from+r;function l(n,i){for(;i?n>=a:n>a;){let i=e[t+1].from-a;r+=i,n+=i,t++,a=e[t].to}}for(let u=n.firstChild;u;u=u.nextSibling){l(u.from+r,!0);let n=u.from+r,d,f=i.get(u.tree);f?d=f:u.to+r>a?(d=Ae(e,t,u,r,i),l(u.to+r,!1)):d=u.toTree(),o.push(d),s.push(n-c)}return l(n.to+r,!1),new b(n.type,o,s,n.to+r-c,n.tree?n.tree.propValues:void 0)}var je=class e extends te{constructor(e,t,n,r,i,a,o,s,c){super(),this.nodeSet=e,this.blockParsers=t,this.leafBlockParsers=n,this.blockNames=r,this.endLeafBlock=i,this.skipContextMarkup=a,this.inlineParsers=o,this.inlineNames=s,this.wrappers=c,this.nodeTypes=Object.create(null);for(let t of e.types)this.nodeTypes[t.name]=t.id}createParse(e,t,n){let r=new ke(this,e,t,n);for(let i of this.wrappers)r=i(r,e,t,n);return r}configure(t){let n=N(t);if(!n)return this;let{nodeSet:r,skipContextMarkup:i}=this,a=this.blockParsers.slice(),o=this.leafBlockParsers.slice(),s=this.blockNames.slice(),c=this.inlineParsers.slice(),l=this.inlineNames.slice(),u=this.endLeafBlock.slice(),d=this.wrappers;if(M(n.defineNodes)){i=Object.assign({},i);let e=r.types.slice(),t;for(let r of n.defineNodes){let{name:n,block:a,composite:o,style:s}=typeof r==`string`?{name:r}:r;if(e.some(e=>e.name==n))continue;o&&(i[e.length]=(e,t,n)=>o(t,n,e.value));let c=e.length,l=o?[`Block`,`BlockContext`]:a?c>=x.ATXHeading1&&c<=x.SetextHeading2?[`Block`,`LeafBlock`,`Heading`]:[`Block`,`LeafBlock`]:void 0;e.push(_.define({id:c,name:n,props:l&&[[v.group,l]]})),s&&(t||={},Array.isArray(s)||s instanceof ae?t[n]=s:Object.assign(t,s))}r=new oe(e),t&&(r=r.extend(re(t)))}if(M(n.props)&&(r=r.extend(...n.props)),M(n.remove))for(let e of n.remove){let t=this.blockNames.indexOf(e),n=this.inlineNames.indexOf(e);t>-1&&(a[t]=o[t]=void 0),n>-1&&(c[n]=void 0)}if(M(n.parseBlock))for(let e of n.parseBlock){let t=s.indexOf(e.name);if(t>-1)a[t]=e.parse,o[t]=e.leaf;else{let t=e.before?P(s,e.before):e.after?P(s,e.after)+1:s.length-1;a.splice(t,0,e.parse),o.splice(t,0,e.leaf),s.splice(t,0,e.name)}e.endLeaf&&u.push(e.endLeaf)}if(M(n.parseInline))for(let e of n.parseInline){let t=l.indexOf(e.name);if(t>-1)c[t]=e.parse;else{let t=e.before?P(l,e.before):e.after?P(l,e.after)+1:l.length-1;c.splice(t,0,e.parse),l.splice(t,0,e.name)}}return n.wrap&&(d=d.concat(n.wrap)),new e(r,a,o,s,u,i,c,l,d)}getNodeType(e){let t=this.nodeTypes[e];if(t==null)throw RangeError(`Unknown node type '${e}'`);return t}parseInline(e,t){let n=new G(this,e,t);e:for(let e=t;e<n.end;){let t=n.char(e);for(let r of this.inlineParsers)if(r){let i=r(n,t,e);if(i>=0){e=i;continue e}}e++}return n.resolveMarkers(0)}};function M(e){return e!=null&&e.length>0}function N(e){if(!Array.isArray(e))return e;if(e.length==0)return null;let t=N(e[0]);if(e.length==1)return t;let n=N(e.slice(1));if(!n||!t)return t||n;let r=(e,t)=>(e||F).concat(t||F),i=t.wrap,a=n.wrap;return{props:r(t.props,n.props),defineNodes:r(t.defineNodes,n.defineNodes),parseBlock:r(t.parseBlock,n.parseBlock),parseInline:r(t.parseInline,n.parseInline),remove:r(t.remove,n.remove),wrap:i?a?(e,t,n,r)=>i(a(e,t,n,r),t,n,r):i:a}}function P(e,t){let n=e.indexOf(t);if(n<0)throw RangeError(`Position specified relative to unknown parser ${t}`);return n}var Me=[_.none];for(let e=1,t;t=x[e];e++)Me[e]=_.define({id:e,name:t,props:e>=x.Escape?[]:[[v.group,e in pe?[`Block`,`BlockContext`]:[`Block`,`LeafBlock`]]],top:t==`Document`});var F=[],Ne=class{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,t,n,r=0){return this.content.push(e,t,n,4+r*4),this}writeElements(e,t=0){for(let n of e)n.writeTo(this,t);return this}finish(e,t){return b.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}},I=class{constructor(e,t,n,r=F){this.type=e,this.from=t,this.to=n,this.children=r}writeTo(e,t){let n=e.content.length;e.writeElements(this.children,t),e.content.push(this.type,this.from+t,this.to+t,e.content.length+4-n)}toTree(e){return new Ne(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}},Pe=class{constructor(e,t){this.tree=e,this.from=t}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return F}writeTo(e,t){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+t,this.to+t,-1)}toTree(){return this.tree}};function L(e,t,n,r){return new I(e,t,n,r)}var R={resolve:`Emphasis`,mark:`EmphasisMark`},z={resolve:`Emphasis`,mark:`EmphasisMark`},B={},V={},H=class{constructor(e,t,n,r,i=n-t){this.type=e,this.from=t,this.to=n,this.side=r,this.size=i}},Fe=`!"#$%&'()*+,-./:;<=>?@[\\]^_\`{|}~`,U=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{U=RegExp(`[\\p{S}|\\p{P}]`,`u`)}catch{}var W={Escape(e,t,n){if(t!=92||n==e.end-1)return-1;let r=e.char(n+1);for(let t=0;t<32;t++)if(Fe.charCodeAt(t)==r)return e.append(L(x.Escape,n,n+2));return-1},Entity(e,t,n){if(t!=38)return-1;let r=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(e.slice(n+1,n+31));return r?e.append(L(x.Entity,n,n+1+r[0].length)):-1},InlineCode(e,t,n){if(t!=96||n&&e.char(n-1)==96)return-1;let r=n+1;for(;r<e.end&&e.char(r)==96;)r++;let i=r-n,a=0;for(;r<e.end;r++)if(e.char(r)==96){if(a++,a==i&&e.char(r+1)!=96)return e.append(L(x.InlineCode,n,r+1,[L(x.CodeMark,n,n+i),L(x.CodeMark,r+1-i,r+1)]))}else a=0;return-1},HTMLTag(e,t,n){if(t!=60||n==e.end-1)return-1;let r=e.slice(n+1,e.end),i=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(r);if(i)return e.append(L(x.Autolink,n,n+1+i[0].length,[L(x.LinkMark,n,n+1),L(x.URL,n+1,n+i[0].length),L(x.LinkMark,n+i[0].length,n+1+i[0].length)]));let a=/^!--(?:-?>|[^]*?-->)/.exec(r);if(a)return e.append(L(x.Comment,n,n+1+a[0].length));let o=/^\?[^]*?\?>/.exec(r);if(o)return e.append(L(x.ProcessingInstruction,n,n+1+o[0].length));let s=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/[a-zA-Z][\w-]*\s*>|[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*\/?>)/.exec(r);return s?e.append(L(x.HTMLTag,n,n+1+s[0].length)):-1},Emphasis(e,t,n){if(t!=95&&t!=42)return-1;let r=n+1;for(;e.char(r)==t;)r++;let i=e.slice(n-1,n),a=e.slice(r,r+1),o=U.test(i),s=U.test(a),c=/\s|^$/.test(i),l=/\s|^$/.test(a),u=!l&&(!s||c||o),d=!c&&(!o||l||s),f=u&&(t==42||!d||o),p=d&&(t==42||!u||s);return e.append(new H(t==95?R:z,n,r,!!f|(p?2:0)))},HardBreak(e,t,n){if(t==92&&e.char(n+1)==10)return e.append(L(x.HardBreak,n,n+2));if(t==32){let t=n+1;for(;e.char(t)==32;)t++;if(e.char(t)==10&&t>=n+2)return e.append(L(x.HardBreak,n,t+1))}return-1},Link(e,t,n){return t==91?e.append(new H(B,n,n+1,1)):-1},Image(e,t,n){return t==33&&e.char(n+1)==91?e.append(new H(V,n,n+2,1)):-1},LinkEnd(e,t,n){if(t!=93)return-1;for(let t=e.parts.length-1;t>=0;t--){let r=e.parts[t];if(r instanceof H&&(r.type==B||r.type==V)){if(!r.side||e.skipSpace(r.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[t]=null,-1;let i=e.takeContent(t),a=e.parts[t]=Ie(e,i,r.type==B?x.Link:x.Image,r.from,n+1);if(r.type==B)for(let n=0;n<t;n++){let t=e.parts[n];t instanceof H&&t.type==B&&(t.side=0)}return a.to}}return-1}};function Ie(e,t,n,r,i){let{text:a}=e,o=e.char(i),s=i;if(t.unshift(L(x.LinkMark,r,r+(n==x.Image?2:1))),t.push(L(x.LinkMark,i-1,i)),o==40){let n=e.skipSpace(i+1),r=Le(a,n-e.offset,e.offset),o;r&&(n=e.skipSpace(r.to),n!=r.to&&(o=Re(a,n-e.offset,e.offset),o&&(n=e.skipSpace(o.to)))),e.char(n)==41&&(t.push(L(x.LinkMark,i,i+1)),s=n+1,r&&t.push(r),o&&t.push(o),t.push(L(x.LinkMark,n,s)))}else if(o==91){let n=ze(a,i-e.offset,e.offset,!1);n&&(t.push(n),s=n.to)}return L(n,r,s,t)}function Le(e,t,n){if(e.charCodeAt(t)==60){for(let r=t+1,i=!1;r<e.length;r++){let a=e.charCodeAt(r);if(a==62&&!i)return L(x.URL,t+n,r+1+n);if(a==60&&!i||a==10)return!1;i=!i&&a==92}return null}{let r=0,i=t;for(let t=!1;i<e.length;i++){let n=e.charCodeAt(i);if(S(n))break;if(t)t=!1;else if(n==40)r++;else if(n==41){if(!r)break;r--}else n==92&&(t=!0)}return i>t?L(x.URL,t+n,i+n):i==e.length&&null}}function Re(e,t,n){let r=e.charCodeAt(t);if(r!=39&&r!=34&&r!=40)return!1;let i=r==40?41:r;for(let r=t+1,a=!1;r<e.length;r++){let o=e.charCodeAt(r);if(a)a=!1;else if(o==i)return L(x.LinkTitle,t+n,r+1+n);else o==92&&(a=!0)}return null}function ze(e,t,n,r){for(let i=!1,a=t+1,o=Math.min(e.length,a+1e3);a<o;a++){let o=e.charCodeAt(a);if(i)i=!1;else if(o==93)return!r&&L(x.LinkLabel,t+n,a+1+n);else{if(r&&!S(o)&&(r=!1),o==91)return!1;o==92&&(i=!0)}}return null}var G=class{constructor(e,t,n){this.parser=e,this.text=t,this.offset=n,this.parts=[]}char(e){return e>=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,n,r,i){return this.append(new H(e,t,n,!!r|(i?2:0)))}get hasOpenLink(){for(let e=this.parts.length-1;e>=0;e--){let t=this.parts[e];if(t instanceof H&&(t.type==B||t.type==V))return!0}return!1}addElement(e){return this.append(e)}resolveMarkers(e){for(let t=e;t<this.parts.length;t++){let n=this.parts[t];if(!(n instanceof H&&n.type.resolve&&n.side&2))continue;let r=n.type==R||n.type==z,i=n.to-n.from,a,o=t-1;for(;o>=e;o--){let e=this.parts[o];if(e instanceof H&&e.side&1&&e.type==n.type&&!(r&&(n.side&1||e.side&2)&&(e.size+n.size)%3==0&&(e.size%3||n.size%3))){a=e;break}}if(!a)continue;let s=n.type.resolve,c=[],l=a.from,u=n.to;if(r){let e=Math.min(2,a.to-a.from,i);l=a.to-e,u=n.from+e,s=e==1?`Emphasis`:`StrongEmphasis`}a.type.mark&&c.push(this.elt(a.type.mark,l,a.to));for(let e=o+1;e<t;e++)this.parts[e]instanceof I&&c.push(this.parts[e]),this.parts[e]=null;n.type.mark&&c.push(this.elt(n.type.mark,n.from,u));let d=this.elt(s,l,u,c);this.parts[o]=r&&a.from!=l?new H(a.type,a.from,l,a.side,a.size):null,(this.parts[t]=r&&n.to!=u?new H(n.type,u,n.to,n.side,n.size):null)?this.parts.splice(t,0,d):this.parts[t]=d}let t=[];for(let n=e;n<this.parts.length;n++){let e=this.parts[n];e instanceof I&&t.push(e)}return t}findOpeningDelimiter(e){for(let t=this.parts.length-1;t>=0;t--){let n=this.parts[t];if(n instanceof H&&n.type==e&&n.side&1)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}getDelimiterAt(e){let t=this.parts[e];return t instanceof H?t:null}skipSpace(e){return C(this.text,e-this.offset)+this.offset}elt(e,t,n,r){return typeof e==`string`?L(this.parser.getNodeType(e),t,n,r):new Pe(e,t)}};G.linkStart=B,G.imageStart=V,G.emphasisAsterisk=z,G.emphasisUnderscore=R;function K(e,t){if(!t.length)return e;if(!e.length)return t;let n=e.slice(),r=0;for(let e of t){for(;r<n.length&&n[r].to<e.to;)r++;if(r<n.length&&n[r].from<e.from){let t=n[r];t instanceof I&&(n[r]=new I(t.type,t.from,t.to,K(t.children,[e])))}else n.splice(r++,0,e)}return n}function Be(e,t,n){for(let r=t,i=!1;r>e;){let t=Math.max(e,r-256),a=n.read(t,r);for(let e=a.length-1;e>=0;e--){let n=a.charCodeAt(e);if(n==10){if(i)return t+e;i=!0}else!S(n)&&n!=62&&(i=!1)}r=t}return e}var Ve=[x.CodeBlock,x.ListItem,x.OrderedList,x.BulletList],He=class{constructor(e,t){this.fragments=e,this.input=t,this.i=0,this.fragment=null,this.fragmentEnd=-1,this.cursor=null,e.length&&(this.fragment=e[this.i++])}nextFragment(){this.fragment=this.i<this.fragments.length?this.fragments[this.i++]:null,this.cursor=null,this.fragmentEnd=-1}moveTo(e,t){for(;this.fragment&&this.fragment.to<=e;)this.nextFragment();if(!this.fragment||this.fragment.from>(e?e-1:0))return!1;this.fragmentEnd<0&&(this.fragmentEnd=this.fragment.openEnd?Be(this.fragment.from,this.fragment.to,this.input):this.fragment.to);let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(ie.IncludeAnonymous|ie.IgnoreMounts),n.firstChild());let r=e+this.fragment.offset;for(;n.to<=r;)if(!n.parent())return!1;for(;;){if(n.from>=r)return this.fragment.from<=t;if(!n.childAfter(r))return!1}}matches(e){let t=this.cursor.tree;for(;t&&t.type.isAnonymous&&t.children[0]instanceof b;)t=t.children[0];return t&&t.prop(v.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,r=this.fragmentEnd-+!!this.fragment.openEnd,i=e.absoluteLineStart,a=i,o=e.block.children.length,s=e.lineStart-e.block.from>>2,c=a,l=o;e:for(;;){if(t.to-n>Math.min(r,e.to)||t.type.isAnonymous&&t.tree&&(t.to-t.from>s||!Ue(t.tree))){if(t.type.isAnonymous&&t.firstChild())continue;break}let i=We(t.from-n,e.ranges);if(t.to-n<=e.ranges[e.rangeI].to)e.addNode(t.tree,i);else{let n=new b(e.parser.nodeSet.types[x.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(n,t.tree),e.addNode(n,i)}for((t.type.isAnonymous||t.type.is(`Block`))&&(t.type.isAnonymous||Ve.indexOf(t.type.id)<0?(a=c=t.to-n,o=l=e.block.children.length):(a=c,o=l,t.type.id==x.ListItem&&(c=t.to-n,l=e.block.children.length)));;){if(t.nextSibling())continue e;if(!t.parent()||!t.type.isAnonymous)break e}}for(;e.block.children.length>o;)e.block.children.pop(),e.block.positions.pop();return a-i}};function Ue(e){for(;e.type.isAnonymous;){let t=e.children[e.children.length-1];if(t instanceof b)e=t;else return!1}return e.type.is(`Block`)&&Ve.indexOf(e.type.id)<0}function We(e,t){let n=e;for(let r=1;r<t.length;r++){let i=t[r-1].to,a=t[r].from;i<e&&(n-=a-i)}return n}var Ge=re({"Blockquote/...":y.quote,HorizontalRule:y.contentSeparator,"ATXHeading1/... SetextHeading1/...":y.heading1,"ATXHeading2/... SetextHeading2/...":y.heading2,"ATXHeading3/...":y.heading3,"ATXHeading4/...":y.heading4,"ATXHeading5/...":y.heading5,"ATXHeading6/...":y.heading6,"Comment CommentBlock":y.comment,Escape:y.escape,Entity:y.character,"Emphasis/...":y.emphasis,"StrongEmphasis/...":y.strong,"Link/... Image/...":y.link,"OrderedList/... BulletList/...":y.list,"BlockQuote/...":y.quote,"InlineCode CodeText":y.monospace,"URL Autolink":y.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":y.processingInstruction,"CodeInfo LinkLabel":y.labelName,LinkTitle:y.string,Paragraph:y.content}),Ke=new je(new oe(Me).extend(Ge),Object.keys(A).map(e=>A[e]),Object.keys(A).map(e=>Ee[e]),Object.keys(A),De,pe,Object.keys(W).map(e=>W[e]),Object.keys(W),[]);function qe(e,t,n){let r=[];for(let i=e.firstChild,a=t;;i=i.nextSibling){let e=i?i.from:n;if(e>a&&r.push({from:a,to:e}),!i)break;a=i.to}return r}function Je(e){let{codeParser:t,htmlParser:n}=e;return{wrap:ne((e,r)=>{let i=e.type.id;if(t&&(i==x.CodeBlock||i==x.FencedCode)){let n=``;if(i==x.FencedCode){let t=e.node.getChild(x.CodeInfo);t&&(n=r.read(t.from,t.to))}let a=t(n);if(a)return{parser:a,overlay:e=>e.type.id==x.CodeText,bracketed:i==x.FencedCode}}else if(n&&(i==x.HTMLBlock||i==x.HTMLTag||i==x.CommentBlock))return{parser:n,overlay:qe(e.node,e.from,e.to)};return null})}}var Ye={resolve:`Strikethrough`,mark:`StrikethroughMark`},Xe={defineNodes:[{name:`Strikethrough`,style:{"Strikethrough/...":y.strikethrough}},{name:`StrikethroughMark`,style:y.processingInstruction}],parseInline:[{name:`Strikethrough`,parse(e,t,n){if(t!=126||e.char(n+1)!=126||e.char(n+2)==126)return-1;let r=e.slice(n-1,n),i=e.slice(n+2,n+3),a=/\s|^$/.test(r),o=/\s|^$/.test(i),s=U.test(r),c=U.test(i);return e.addDelimiter(Ye,n,n+2,!o&&(!c||a||s),!a&&(!s||o||c))},after:`Emphasis`}]};function q(e,t,n=0,r,i=0){let a=0,o=!0,s=-1,c=-1,l=!1,u=()=>{r.push(e.elt(`TableCell`,i+s,i+c,e.parser.parseInline(t.slice(s,c),i+s)))};for(let d=n;d<t.length;d++){let n=t.charCodeAt(d);n==124&&!l?((!o||s>-1)&&a++,o=!1,r&&(s>-1&&u(),r.push(e.elt(`TableDelimiter`,d+i,d+i+1))),s=c=-1):(l||n!=32&&n!=9)&&(s<0&&(s=d),c=d+1),l=!l&&n==92}return s>-1&&(a++,r&&u()),a}function Ze(e,t){for(let n=t;n<e.length;n++){let t=e.charCodeAt(n);if(t==124)return!0;t==92&&n++}return!1}var Qe=/^(?:\s*>)*(?:\s*\|)?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/,$e=class{constructor(){this.rows=null}nextLine(e,t,n){if(this.rows==null){this.rows=!1;let r;if((t.next==45||t.next==58||t.next==124)&&Qe.test(r=t.text.slice(t.pos))){let i=[];q(e,n.content,0,i,n.start)==q(e,r,0)&&(this.rows=[e.elt(`TableHeader`,n.start,n.start+n.content.length,i),e.elt(`TableDelimiter`,e.lineStart+t.pos,e.lineStart+t.text.length)])}}else if(this.rows){let n=[];q(e,t.text,t.pos,n,e.lineStart),this.rows.push(e.elt(`TableRow`,e.lineStart+t.pos,e.lineStart+t.text.length,n))}return!1}finish(e,t){return this.rows?(e.addLeafElement(t,e.elt(`Table`,t.start,t.start+t.content.length,this.rows)),!0):!1}},et={defineNodes:[{name:`Table`,block:!0},{name:`TableHeader`,style:{"TableHeader/...":y.heading}},`TableRow`,{name:`TableCell`,style:y.content},{name:`TableDelimiter`,style:y.processingInstruction}],parseBlock:[{name:`Table`,leaf(e,t){return Ze(t.content,0)?new $e:null},endLeaf(e,t,n){if(n.parsers.some(e=>e instanceof $e)||!Ze(t.text,t.basePos))return!1;let r=e.peekLine();return Qe.test(r)&&q(e,t.text,t.basePos)==q(e,r,t.basePos)},before:`SetextHeading`}]},tt=class{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt(`Task`,t.start,t.start+t.content.length,[e.elt(`TaskMarker`,t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}},nt={defineNodes:[{name:`Task`,block:!0,style:y.list},{name:`TaskMarker`,style:y.atom}],parseBlock:[{name:`TaskList`,leaf(e,t){return/^\[[ xX]\][ \t]/.test(t.content)&&e.parentType().name==`ListItem`?new tt:null},after:`SetextHeading`}]},rt=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,it=/[\w-]+(\.[\w-]+)+(:\d+)?(\/[^\s<]*)?/gy,at=/[\w-]+\.[\w-]+($|[/:])/,ot=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,st=/\/[a-zA-Z\d@.]+/gy;function ct(e,t,n,r){let i=0;for(let a=t;a<n;a++)e[a]==r&&i++;return i}function lt(e,t){it.lastIndex=t;let n=it.exec(e);if(!n||at.exec(n[0])[0].indexOf(`_`)>-1)return-1;let r=t+n[0].length;for(;;){let n=e[r-1],i;if(/[?!.,:*_~]/.test(n)||n==`)`&&ct(e,t,r,`)`)>ct(e,t,r,`(`))r--;else if(n==`;`&&(i=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(e.slice(t,r))))r=t+i.index;else break}return r}function ut(e,t){ot.lastIndex=t;let n=ot.exec(e);if(!n)return-1;let r=n[0][n[0].length-1];return r==`_`||r==`-`?-1:t+n[0].length-+(r==`.`)}var dt=[et,nt,Xe,{parseInline:[{name:`Autolink`,parse(e,t,n){let r=n-e.offset;if(r&&/\w/.test(e.text[r-1]))return-1;rt.lastIndex=r;let i=rt.exec(e.text),a=-1;return!i||(i[1]||i[2]?(a=lt(e.text,r+i[0].length),a>-1&&e.hasOpenLink&&(a=r+/([^\[\]]|\[[^\]]*\])*/.exec(e.text.slice(r,a))[0].length)):i[3]?a=ut(e.text,r):(a=ut(e.text,r+i[0].length),a>-1&&i[0]==`xmpp:`&&(st.lastIndex=a,i=st.exec(e.text),i&&(a=i.index+i[0].length))),a<0)?-1:(e.addElement(e.elt(`URL`,n,a+e.offset)),a+e.offset)}}]}];function ft(e,t,n){return(r,i,a)=>{if(i!=e||r.char(a+1)==e)return-1;let o=[r.elt(n,a,a+1)];for(let i=a+1;i<r.end;i++){let s=r.char(i);if(s==e)return r.addElement(r.elt(t,a,i+1,o.concat(r.elt(n,i,i+1))));if(s==92&&o.push(r.elt(`Escape`,i,i+++2)),S(s))break}return-1}}var pt={defineNodes:[{name:`Superscript`,style:y.special(y.content)},{name:`SuperscriptMark`,style:y.processingInstruction}],parseInline:[{name:`Superscript`,parse:ft(94,`Superscript`,`SuperscriptMark`)}]},mt={defineNodes:[{name:`Subscript`,style:y.special(y.content)},{name:`SubscriptMark`,style:y.processingInstruction}],parseInline:[{name:`Subscript`,parse:ft(126,`Subscript`,`SubscriptMark`)}]},ht={defineNodes:[{name:`Emoji`,style:y.character}],parseInline:[{name:`Emoji`,parse(e,t,n){let r;return t!=58||!(r=/^[a-zA-Z_0-9]+:/.exec(e.slice(n+1,e.end)))?-1:e.addElement(e.elt(`Emoji`,n,n+1+r[0].length))}}]},gt=h({commentTokens:{block:{open:`<!--`,close:`-->`}}}),_t=new v,vt=Ke.configure({props:[c.add(e=>!e.is(`Block`)||e.is(`Document`)||J(e)!=null||yt(e)?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})),_t.add(J),o.add({Document:()=>null}),g.add({Document:gt})]});function J(e){let t=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return t?+t[1]:void 0}function yt(e){return e.name==`OrderedList`||e.name==`BulletList`}function bt(e,t){let n=e;for(;;){let e=n.nextSibling,r;if(!e||(r=J(e.type))!=null&&r<=t)break;n=e}return n.to}var xt=r.of((e,t,r)=>{for(let i=n(e).resolveInner(r,-1);i&&!(i.from<t);i=i.parent){let e=i.type.prop(_t);if(e==null)continue;let t=bt(i,e);if(t>r)return{from:r,to:t}}return null});function Y(e){return new m(gt,e,[],`markdown`)}var St=Y(vt),X=Y(vt.configure([dt,mt,pt,ht,{props:[c.add({Table:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}]));function Ct(e,t){return n=>{if(n&&e){let t=null;if(n=/\S*/.exec(n)[0],t=typeof e==`function`?e(n):l.matchLanguageName(e,n,!0),t instanceof l)return t.support?t.support.language.parser:f.getSkippingParser(t.load());if(t)return t.parser}return t?t.parser:null}}var Z=class{constructor(e,t,n,r,i,a,o){this.node=e,this.from=t,this.to=n,this.spaceBefore=r,this.spaceAfter=i,this.type=a,this.item=o}blank(e,t=!0){let n=this.spaceBefore+(this.node.name==`Blockquote`?`>`:``);if(e!=null){for(;n.length<e;)n+=` `;return n}for(let e=this.to-this.from-n.length-this.spaceAfter.length;e>0;e--)n+=` `;return n+(t?this.spaceAfter:``)}marker(e,t){let n=this.node.name==`OrderedList`?String(+Tt(this.item,e)[2]+t):``;return this.spaceBefore+n+this.type+this.spaceAfter}};function wt(e,t){let n=[],r=[];for(let t=e;t;t=t.parent){if(t.name==`FencedCode`)return r;(t.name==`ListItem`||t.name==`Blockquote`)&&n.push(t)}for(let e=n.length-1;e>=0;e--){let i=n[e],a,o=t.lineAt(i.from),s=i.from-o.from;if(i.name==`Blockquote`&&(a=/^ *>( ?)/.exec(o.text.slice(s))))r.push(new Z(i,s,s+a[0].length,``,a[1],`>`,null));else if(i.name==`ListItem`&&i.parent.name==`OrderedList`&&(a=/^( *)\d+([.)])( *)/.exec(o.text.slice(s)))){let e=a[3],t=a[0].length;e.length>=4&&(e=e.slice(0,e.length-4),t-=4),r.push(new Z(i.parent,s,s+t,a[1],e,a[2],i))}else if(i.name==`ListItem`&&i.parent.name==`BulletList`&&(a=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(o.text.slice(s)))){let e=a[4],t=a[0].length;e.length>4&&(e=e.slice(0,e.length-4),t-=4);let n=a[2];a[3]&&(n+=a[3].replace(/[xX]/,` `)),r.push(new Z(i.parent,s,s+t,a[1],e,n,i))}}return r}function Tt(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function Q(e,t,n,r=0){for(let i=-1,a=e;;){if(a.name==`ListItem`){let e=Tt(a,t),o=+e[2];if(i>=0){if(o!=i+1)return;n.push({from:a.from+e[1].length,to:a.from+e[0].length,insert:String(i+2+r)})}i=o}let e=a.nextSibling;if(!e)break;a=e}}function Et(t,n){let r=/^[ \t]*/.exec(t)[0].length;if(!r||n.facet(e)!=` `)return t;let i=s(t,4,r),a=``;for(let e=i;e>0;)e>=4?(a+=` `,e-=4):(a+=` `,e--);return a+t.slice(r)}var Dt=((e={})=>({state:t,dispatch:r})=>{let i=n(t),{doc:o}=t,c=null,l=t.changeByRange(n=>{if(!n.empty||!X.isActiveAt(t,n.from,-1)&&!X.isActiveAt(t,n.from,1))return c={range:n};let r=n.from,l=o.lineAt(r),u=wt(i.resolveInner(r,-1),o);for(;u.length&&u[u.length-1].from>r-l.from;)u.pop();if(!u.length)return c={range:n};let d=u[u.length-1];if(d.to-d.spaceAfter.length>r-l.from)return c={range:n};let f=r>=d.to-d.spaceAfter.length&&!/\S/.test(l.text.slice(d.to));if(d.item&&f){if(d.item.from<l.from&&!/^[\s>]*$/.test(l.text.slice(0,d.to)))return c={range:n};let i=d.node.firstChild,s=d.node.getChild(`ListItem`,`ListItem`);if(i.to>=r||s&&s.to<r||l.from>0&&!/[^\s>]/.test(o.lineAt(l.from-1).text)||e.nonTightLists===!1){let e=u.length>1?u[u.length-2]:null,t,n=``;e&&e.item?(t=l.from+e.from,n=e.marker(o,1)):t=l.from+(e?e.to:0);let i=[{from:t,to:r,insert:n}];return d.node.name==`OrderedList`&&Q(d.item,o,i,-2),e&&e.node.name==`OrderedList`&&Q(e.item,o,i),{range:a.cursor(t+n.length),changes:i}}{let e=At(u,t,l);return{range:a.cursor(r+e.length+1),changes:{from:l.from,insert:e+t.lineBreak}}}}if(d.node.name==`Blockquote`&&f&&l.from){let e=o.lineAt(l.from-1),r=/>\s*$/.exec(e.text);if(r&&r.index==d.from){let i=t.changes([{from:e.from+r.index,to:e.to},{from:l.from+d.from,to:l.to}]);return{range:n.map(i),changes:i}}}let p=[];d.node.name==`OrderedList`&&Q(d.item,o,p);let m=d.item&&d.item.from<l.from,h=``;if(!m||/^[\s\d.)\-+*>]*/.exec(l.text)[0].length>=d.to)for(let e=0,t=u.length-1;e<=t;e++)h+=e==t&&!m?u[e].marker(o,1):u[e].blank(e<t?s(l.text,4,u[e+1].from)-h.length:null);let g=r;for(;g>l.from&&/\s/.test(l.text.charAt(g-l.from-1));)g--;return h=Et(h,t),kt(d.node,t.doc)&&(h=At(u,t,l)+t.lineBreak+h),p.push({from:g,to:r,insert:t.lineBreak+h}),{range:a.cursor(g+h.length+1),changes:p}});return!c&&(r(t.update(l,{scrollIntoView:!0,userEvent:`input`})),!0)})();function Ot(e){return e.name==`QuoteMark`||e.name==`ListMark`}function kt(e,t){if(e.name!=`OrderedList`&&e.name!=`BulletList`)return!1;let n=e.firstChild,r=e.getChild(`ListItem`,`ListItem`);if(!r)return!1;let i=t.lineAt(n.to),a=t.lineAt(r.from),o=/^[\s>]*$/.test(i.text);return i.number+ +!o<a.number}function At(e,t,n){let r=``;for(let t=0,i=e.length-2;t<=i;t++)r+=e[t].blank(t<i?s(n.text,4,e[t+1].from)-r.length:null,t<i);return Et(r,t)}function jt(e,t){let n=e.resolveInner(t,-1),r=t;Ot(n)&&(r=n.from,n=n.parent);for(let e;e=n.childBefore(r);)if(Ot(e))r=e.from;else if(e.name==`OrderedList`||e.name==`BulletList`)n=e.lastChild,r=n.to;else break;return n}var Mt=[{key:`Enter`,run:Dt},{key:`Backspace`,run:({state:e,dispatch:t})=>{let r=n(e),i=null,o=e.changeByRange(t=>{let n=t.from,{doc:o}=e;if(t.empty&&X.isActiveAt(e,t.from)){let t=o.lineAt(n),i=wt(jt(r,n),o);if(i.length){let r=i[i.length-1],o=r.to-r.spaceAfter.length+ +!!r.spaceAfter;if(n-t.from>o&&!/\S/.test(t.text.slice(o,n-t.from)))return{range:a.cursor(t.from+o),changes:{from:t.from+o,to:n}};if(n-t.from==o&&(r.item&&t.from<=r.item.from||/^[\s>]*$/.test(t.text.slice(0,r.to)))){let i=t.from+r.from;if(r.item&&r.node.from<r.item.from&&/\S/.test(t.text.slice(r.from,r.to))){let n=r.blank(s(t.text,4,r.to)-s(t.text,4,r.from));return i==t.from&&(n=Et(n,e)),{range:a.cursor(i+n.length),changes:{from:i,to:t.from+r.to,insert:n}}}if(i<n)return{range:a.cursor(i),changes:{from:i,to:n}}}}}return i={range:t}});return!i&&(t(e.update(o,{scrollIntoView:!0,userEvent:`delete`})),!0)}}],Nt=ce({matchClosingTags:!1});function Pt(e={}){let{codeLanguages:n,defaultCodeLanguage:r,addKeymap:a=!0,base:{parser:o}=St,completeHTMLTags:s=!0,pasteURLAsLink:c=!0,htmlTagLanguage:l=Nt}=e;if(!(o instanceof je))throw RangeError("Base parser provided to `markdown` should be a Markdown parser");let u=e.extensions?[e.extensions]:[],f=[l.support,xt],p;c&&f.push(zt),r instanceof i?(f.push(r.support),p=r.language):r&&(p=r);let m=n||p?Ct(n,p):void 0;u.push(Je({codeParser:m,htmlParser:l.language.parser})),a&&f.push(d.high(t.of(Mt)));let h=Y(o.configure(u));return s&&f.push(h.data.of({autocomplete:Ft})),new i(h,f)}function Ft(e){let{state:t,pos:r}=e,i=/<[:\-\.\w\u00b7-\uffff]*$/.exec(t.sliceDoc(r-25,r));if(!i)return null;let a=n(t).resolveInner(r,-1);for(;a&&!a.type.isTop;){if(a.name==`CodeBlock`||a.name==`FencedCode`||a.name==`ProcessingInstructionBlock`||a.name==`CommentBlock`||a.name==`Link`||a.name==`Image`)return null;a=a.parent}return{from:r-i[0].length,to:r,options:It(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}var $=null;function It(){if($)return $;let e=se(new ee(p.create({extensions:Nt}),0,!0));return $=e?e.options:[]}var Lt=/link|processing|image|url/i;function Rt(e,t){let{from:n,to:r}=e;if(r<=t.from||n>=t.to||n<t.from&&r>t.to)return!1;let i=e.node,a=i.firstChild,o=i.lastChild;return a&&o&&a.from==n&&o.to==r&&/Mark/.test(a.name)&&o.name==a.name&&(n=a.to,r=o.from),(t.from<n||t.to>r)&&(n<t.from||r>t.to)}var zt=u.domEventHandlers({paste:(e,t)=>{let{main:r}=t.state.selection;if(r.empty)return!1;let i=e.clipboardData?.getData(`text/plain`);if(!i||!/^(https?:\/\/|mailto:|xmpp:|www\.)/.test(i)||(/^www\./.test(i)&&(i=`https://`+i),!X.isActiveAt(t.state,r.from,1)))return!1;let a=n(t.state),o=!1;return a.iterate({from:r.from,to:r.to,enter:e=>{(Lt.test(e.name)||Rt(e,r))&&(o=!0)},leave:e=>{(Lt.test(e.name)||Rt(e,r))&&(o=!0)}}),!o&&(t.dispatch({changes:[{from:r.from,insert:`[`},{from:r.to,insert:`](${i})`}],userEvent:`input.paste`,scrollIntoView:!0}),!0)}}),Bt=()=>Pt();export{Bt as load};
@@ -0,0 +1,77 @@
1
+ import{F as e,dt as t,et as n,h as r,i,in as a,l as o,o as s,tn as c,y as l}from"./index-CU0HB-J7.js";import{CmEditor as u,cmOptions as d,wrapperProps as f}from"./codemirror-CinrNxVJ.js";var p=a(c(),1);function m(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var h=m();function g(e){h=e}var _={exec:()=>null};function v(e){let t=[];return n=>{let r=Math.max(0,Math.min(3,n-1)),i=t[r];return i||(i=e(r),t[r]=i),i}}function y(e,t=``){let n=typeof e==`string`?e:e.source,r={replace:(e,t)=>{let i=typeof t==`string`?t:t.source;return i=i.replace(x.caret,`$1`),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var b=((e=``)=>{try{return!!RegExp(`(?<=1)(?<!1)`+e)}catch{return!1}})(),ee=`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)`,x={codeRemoveIndent:/^(?: {0,3}\t| {1,4})/gm,listInterruptsParagraph:/^ {0,3}(?:[*+-]|0{0,8}1[.)])[ \t]+[^ \t\n]/,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^( {1,3})(?:`{3}|~{3})/,beginningSpace:/^[ \t]{1,3}/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,endingSpaceTabChar:/[ \t]$/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,leadingSpaceTab:/^[ \t]+/,multipleSpaceGlobal:/\s+/g,multipleSpaceTabGlobal:/[ \t\r\n]+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,textIndentedContinuation:/^(?:\n(?: {4}| {0,3}\t)[ \t]*[^ \t\n][^\n]*)+/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+)[ \t]*)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,blockquoteMarkerWhitespace:/^( {0,3}>)(\t[ \t]*)/gm,blockquoteFenceOpen:/^ {0,3}(`{3,}(?=[^`]*$)|~{3,})/,blockquoteFenceClose:/^ {0,3}(`{3,}|~{3,})[ \t]*$/,blockquoteListItemStart:/^ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|$)/,nestedBlockMarker:/^ {0,3}(?:(?:[*+-]|\d{1,9}[.)])(?: |$)|> ?)/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\][ \t]+\S/,listReplaceTask:/^\[[ xX]\][ \t]+/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableHeader:RegExp(ee+`(?:\\n|$)`),tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,numericCharacterReference:/&#(?:(\d{1,7})|[Xx]([A-Fa-f0-9]{1,6}));/,numericCharacterReferenceOrAmpersand:/&#(?:(\d{1,7})|[Xx]([A-Fa-f0-9]{1,6}));|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:v(e=>RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:v(e=>RegExp(`^ {0,${e}}((?:-[ ]*){3,}|(?:_[ ]*){3,}|(?:\\*[ ]*){3,})(?:\\n+|$)`)),fencesBeginRegex:v(e=>RegExp(`^ {0,${e}}(?:\`{3,}(?=[^\`\\n]*(?:\\n|$))|~~~)`)),headingBeginRegex:v(e=>RegExp(`^ {0,${e}}#{1,6}(?:\\s|$)`)),pedanticHeadingBeginRegex:v(e=>RegExp(`^ {0,${e}}#`)),htmlBeginRegex:v(e=>RegExp(`^ {0,${e}}(?:</?(?:${w})(?:[ \\t]+|$|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\s>]|$)|!--)|<\\?|<![A-Za-z]|<!\\[CDATA\\[)`,`i`)),blockquoteBeginRegex:v(e=>RegExp(`^ {0,${e}}>`)),nestedContainerMarkers:/^(?: {0,3}(?:(?:[*+-]|\d{1,9}[.)])[ \t]+|>[ \t]?))+/},te=/^(?:[ \t]*(?:\n|$))+/,ne=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,re=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}(?:(?=`)\1`*|(?=~)\1~*)[ \t]*(?=\n|$)|$)/,S=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ie=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,C=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,w=`address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul`,T=y(` {0,3}(?:</?(?:tag)(?:[ \\t]+|\\n|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\s>]|$)|!--)|<\\?|<![A-Za-z]|<!\\[CDATA\\[)`).replace(`tag`,w).getRegex(),ae=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?![ \t]*\n|bull |fences|blockquote|heading|hr|html|table))+?)\n {0,3}(=+|-+)[ \t]*(?:\n+|$)/,oe=y(ae).replace(/bull/g,C).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}(?=[^`\n]*(?:\n|$))|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/hr/g,/ {0,3}(?:(?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/).replace(/\|table/g,``).replace(/html/g,T).getRegex(),se=y(ae).replace(/bull/g,C).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}(?=[^`\n]*(?:\n|$))|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/hr/g,/ {0,3}(?:(?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).replace(/html/g,T).getRegex(),ce=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,le=/^[^\n]+/,ue=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\\n]|\n(?![ \t]*\n))+/,de=y(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<(?:\\.|[^\n<>\\])*>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(`label`,ue).replace(`title`,/(?:"(?:\\[\s\S]|[^"\\])*"|'(?:\\[\s\S]|[^'\\\n]|\n(?!\n))*'|\((?:\\[\s\S]|[^()\\])*\))/).getRegex(),fe=y(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,C).getRegex(),E=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,pe=y(`^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?:[ \\t]+|\\n|/?>|$)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!(?:script|pre|style|textarea)(?![a-z0-9-]))([a-z][a-z0-9-]*)(?:attribute)*?[ \\t]*/?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</[a-z][a-z0-9-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))`,`i`).replace(`comment`,E).replace(`tag`,w).replace(`attribute`,/[ \t]+[a-zA-Z:_][\w.:-]*(?:[ \t]*=[ \t]*"[^"\n]*"|[ \t]*=[ \t]*'[^'\n]*'|[ \t]*=[ \t]*[^\s"'=<>`]+)?/).getRegex(),me=e=>y(ce).replace(`hr`,S).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace(`list`,e).replace(`html`,T).getRegex(),he=me(x.listInterruptsParagraph),ge=me(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),_e=/ {0,3}> ?(?:(?!blank)(paragraph)|[^\n]*)(?:\n|$)/,D={blockquote:y(/^(first)(?:next)*/).replace(`first`,y(_e).replace(`blank`,/[ \t]*(?:\n|$)| {4}/).getRegex()).replace(`next`,y(_e).replace(`blank`,/[ \t]*(?:\n|$)/).getRegex()).replace(/paragraph/g,ge).getRegex(),code:ne,def:de,fences:re,heading:ie,hr:S,html:pe,lheading:oe,list:fe,newline:te,paragraph:he,table:_,text:le},ve=y(ee+`(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace(`hr`,S).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`blockquote`,` {0,3}>`).replace(`code`,`(?: {4}| {0,3} )[^\\n]`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace(`list`,` {0,3}(?:[*+-]|0{0,8}1[.)])[ \\t]`).replace(`html`,T).getRegex(),ye={...D,lheading:se,table:ve,paragraph:y(ce).replace(`hr`,S).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`table`,x.tableHeader).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace(`list`,x.listInterruptsParagraph).replace(`html`,T).getRegex()},be={...D,html:y(`^ *(?:comment(?: *\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1>(?: *\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?>(?: *\\n{2,}|\\s*$))`).replace(`comment`,E).replace(/tag/g,`(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b`).getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:_,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:y(ce).replace(`hr`,S).replace(`heading`,` *#{1,6} *[^
2
+ ]`).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`|fences`,``).replace(`|list`,``).replace(`|html`,``).replace(`|tag`,``).replace(`lheading`,oe).getRegex()},xe=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Se=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ce=/^( {2,}|\\)\n(?!\s*$)[ \t]*/,we=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,O=/[\p{P}\p{S}]/u,k=/[\s\p{P}\p{S}]/u,A=/[^\s\p{P}\p{S}]/u,Te=y(/^((?![*_])punctSpace)/,`u`).replace(/punctSpace/g,k).getRegex(),Ee=/[\p{Pi}\p{Ps}"']/u,De=/(?!~)[\p{P}\p{S}]/u,Oe=/(?!~)[\s\p{P}\p{S}]/u,ke=/(?:[^\s\p{P}\p{S}]|~)/u,Ae=y(/link|precode-code|html/,`g`).replace(`link`,/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace(`precode-`,b?"(?<!`)()":"(^^|[^`])").replace(`code`,/(?<b>`+)[^`]+\k<b>(?!`)/).replace(`html`,/<(?! )[^<>]*?>/).getRegex(),je=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,Me=y(je,`u`).replace(/punct/g,O).getRegex(),Ne=y(je,`u`).replace(/punct/g,De).getRegex(),Pe=y(/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,`u`).replace(/openQuote/g,Ee).replace(/punct/g,O).getRegex(),Fe=`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)`,Ie=y(Fe,`gu`).replace(/notPunctSpace/g,A).replace(/punctSpace/g,k).replace(/punct/g,O).getRegex(),Le=y(Fe,`gu`).replace(/notPunctSpace/g,ke).replace(/punctSpace/g,Oe).replace(/punct/g,De).getRegex(),Re=y(`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,A).replace(/punctSpace/g,k).replace(/punct/g,O).getRegex(),ze=y(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)`,`gu`).replace(/notPunctSpace/g,A).replace(/punctSpace/g,k).replace(/punct/g,O).getRegex(),Be=y(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,A).replace(/punctSpace/g,k).replace(/punct/g,O).getRegex(),Ve=y(/^~~?(?:((?!~)punct)|[^\s~])/,`u`).replace(/punct/g,O).getRegex(),He=y(`^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,A).replace(/punctSpace/g,k).replace(/punct/g,O).getRegex(),Ue=y(/\\(punct)/,`gu`).replace(/punct/g,O).getRegex(),We=y(/(`+)(?:[^`]|[^`][\s\S]*?[^`])\1(?!`)|`+|\\(punct)/,`gu`).replace(/punct/g,O).getRegex(),Ge=y(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace(`scheme`,/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace(`email`,/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Ke=y(E).replace(`(?:-->|$)`,`-->`).getRegex(),qe=y(`^comment|^</[a-zA-Z][a-zA-Z0-9-]*\\s*>|^<[a-zA-Z][a-zA-Z0-9-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>`).replace(`comment`,Ke).replace(`attribute`,/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Je=/\[(?:\\[\s\S]|[^\[\]\\])*\]/,j=y(/(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/).replace(`brackets`,Je).getRegex(),M=/\\[^ \t\n\x00-\x1f]|\\(?=[ \t\n])|[^ \t\n\x00-\x1f\\()]/,Ye=y(/\((?:char)*\)/).replace(`char`,M).getRegex(),Xe=y(/\((?:char|p1)*\)/).replace(`char`,M).replace(`p1`,Ye).getRegex(),Ze=y(/\((?:char|p2)*\)/).replace(`char`,M).replace(`p2`,Xe).getRegex(),Qe=y(/(?!<)(?:char|p3)+/).replace(`char`,M).replace(`p3`,Ze).getRegex(),$e=y(/^!?\[(label)\]\([ \t\n]*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?[ \t\n]*\)/).replace(`label`,j).replace(`href`,y(/<(?:\\.|[^\n<>\\])*>|bareHref|(?=\))/).replace(`bareHref`,Qe).getRegex()).replace(`title`,/"(?:\\[\s\S]|[^"\\])*"|'(?:\\[\s\S]|[^'\\])*'|\((?:\\[\s\S]|[^)\\])*\)/).getRegex(),et=y(/^!?\[(label)\]\[(ref)\]/).replace(`label`,j).replace(`ref`,ue).getRegex(),tt=y(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,ue).getRegex(),nt=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\]){1,999}/,rt=y(/(?:[^\[\]\\`]*(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\]))){0,999}?[^\[\]\\`]*?/).replace(`brackets`,Je).getRegex(),it=y(`reflink|nolink(?!\\()`,`g`).replace(`reflink`,y(/^!?\[(label)\]\[(ref)\]/).replace(`label`,rt).replace(`ref`,nt).getRegex()).replace(`nolink`,y(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,nt).getRegex()).getRegex(),at=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ot=y(/(?:mailto:email|xmpp:email(?:\/[A-Za-z0-9@.]+)?)/).replace(/email/g,/[A-Za-z0-9._+-]+@[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\w-])/).getRegex(),N={_backpedal:_,anyPunctuation:Ue,anyPunctuationOutsideCode:We,autolink:Ge,blockSkip:Ae,br:Ce,code:Se,del:_,delLDelim:_,delRDelim:_,emStrongLDelim:Me,emStrongRDelimAst:Ie,emStrongRDelimUnd:ze,escape:xe,link:$e,nolink:tt,punctuation:Te,reflink:et,reflinkSearch:it,tag:qe,text:we,url:_},st={...N,emStrongLDelim:Pe,emStrongRDelimAst:Re,emStrongRDelimUnd:Be,link:y(/^!?\[(label)\]\((.*?)\)/).replace(`label`,j).getRegex(),reflink:y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace(`label`,j).getRegex()},P={...N,emStrongRDelimAst:Le,emStrongLDelim:Ne,delLDelim:Ve,delRDelim:He,url:y(/^emailProtocol|^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace(`emailProtocol`,ot).replace(`protocol`,at).replace(`email`,/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\w-])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:y(/^(?:[A-Za-z0-9.+-]+(?=@)|[^a-zA-Z0-9](?=emailProtocol)|(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|wwwStart|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9](?=emailProtocol)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))))/).replace(`protocol`,at).replace(/emailProtocol/g,/(?:mailto|xmpp):/).replace(`wwwStart`,b?`(?<![^\\s*_~(])www\\.`:`www\\.`).getRegex()},ct={...P,br:y(Ce).replace(`{2,}`,`*`).getRegex(),text:y(P.text).replace(`\\b_`,`\\b_| {2,}\\n`).replace(/\{2,\}/g,`*`).getRegex()},F={normal:D,gfm:ye,pedantic:be},I={normal:N,gfm:P,breaks:ct,pedantic:st},lt={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`},ut=e=>lt[e];function L(e,t){if(t){if(x.escapeTest.test(e))return e.replace(x.escapeReplace,ut)}else if(x.escapeTestNoEncode.test(e))return e.replace(x.escapeReplaceNoEncode,ut);return e}function dt(e){return x.numericCharacterReference.test(e)?e.replace(x.numericCharacterReferenceOrAmpersand,(e,t,n)=>{if(t===void 0&&n===void 0)return`&amp;`;let r=t===void 0?Number.parseInt(n,16):Number.parseInt(t,10);return r===0||r>1114111||r>=55296&&r<=57343?`�`:r===38?`&amp;`:String.fromCodePoint(r)}):e}function ft(e){try{e=encodeURI(e).replace(x.percentDecode,`%`)}catch{return null}return e}function R(e,t){let n=e.replace(x.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&n[i]===`\\`;)r=!r;return r?`|`:` |`}).split(x.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t){if(n.length>t)n.splice(t);else for(;n.length<t;)n.push(``)}for(;r<n.length;r++)n[r]=n[r].trim().replace(x.slashPipe,`|`);return n}function z(e,t,n){let r=e.length;if(r===0)return``;let i=0;for(;i<r;){let a=e.charAt(r-i-1);if(a===t&&!n)i++;else if(a!==t&&n)i++;else break}return e.slice(0,r-i)}function pt(e){let t=e.split(`
3
+ `),n=t.length-1;for(;n>=0&&x.blankLine.test(t[n]);)n--;return t.length-n<=2?e:t.slice(0,n+1).join(`
4
+ `)}function B(e,t=!1){let n=t?x.multipleSpaceGlobal:x.multipleSpaceTabGlobal;return e.trim().replace(n,` `).toLowerCase().toUpperCase().toLowerCase()}function mt(e,t){if(e.indexOf(t[0])===-1&&e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]===`\\`)r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return n>0?-2:-1}var V=new WeakMap;function H(e){let t={"*":-1,_:-1},n=-1,r=e.length;for(let i=0;i<r;i++){let a=e[i];if(a!==`*`&&a!==`_`&&a!==`~`)continue;let o=i===0?`
5
+ `:e[i-1],s=i+1;for(;s<r&&e[s]===a;)s++;o!==` `&&o!==` `&&o!==`
6
+ `&&o!==`\r`&&o!==`\f`&&(a===`~`?n=i:t[a]=i),i=s-1}return{maskedSrc:e,lastPossibleEmStrongCloserIndex:t,lastPossibleDelCloserIndex:n}}function ht(e,t){let n=H(t),r=V.get(e);r?r.push(n):V.set(e,[n])}function gt(e){let t=V.get(e);t&&(t.pop(),t.length===0&&V.delete(e))}function _t(e,t,n){let r=V.get(e)?.at(-1);return r&&r.maskedSrc===t?r.lastPossibleEmStrongCloserIndex[n]:H(t).lastPossibleEmStrongCloserIndex[n]}function vt(e,t){let n=V.get(e)?.at(-1);return n&&n.maskedSrc===t?n.lastPossibleDelCloserIndex:H(t).lastPossibleDelCloserIndex}function U(e,t=0){let n=t,r=``;for(let t of e)if(t===` `){let e=4-n%4;r+=` `.repeat(e),n+=e}else r+=t,n++;return r}function yt(e){let t,n=!1;return e.map(e=>{if(n)return e;let{depth:r,expanded:i,keptIndent:a,content:o}=bt(e,t?.depth??1/0);if(t?.depth!==r&&(t=void 0),t){let e=x.blockquoteFenceClose.exec(o)?.[1];return!e||e[0]!==t.marker[0]||e.length<t.marker.length?a:(t=void 0,i)}if(n=x.blockquoteListItemStart.test(o),n)return e;let s=x.blockquoteFenceOpen.exec(o)?.[1];return s&&(t={marker:s,depth:r}),i}).join(`
7
+ `)}function bt(e,t){let n=0,r=0,i=0,a=0,o=``;for(;i<t;){let t=n,s=r;for(;e[t]===` `||e[t]===` `;)s+=xt(e[t],s),t++;if(e[t]!==`>`||s-a>3)break;o+=` `.repeat(s-r)+`>`,i++,n=t+1,r=s+1,a=e[n]===` `||e[n]===` `?r+1:r}if(i===0)return{depth:i,expanded:e,keptIndent:e,content:e};let s=``,c=``;for(;(e[n]===` `||e[n]===` `)&&r<a+4;){let t=xt(e[n],r);s+=` `.repeat(t),c+=r<a&&t>1?` `.repeat(t):e[n],r+=t,n++}let l=e.slice(n);return{depth:i,expanded:o+s+l,keptIndent:o+c+l,content:` `.repeat(Math.max(0,r-a))+l}}function xt(e,t){return e===` `?4-t%4:1}function St(e,t){let n=``;for(let r=0;r<e.length;r++){if(e[r]==="`"){let i=t.inline.code.exec(e.slice(r));if(i){n+=i[0],r+=i[0].length-1;continue}}e[r]===`\\`&&(e[r+1]===`[`||e[r+1]===`]`)?(n+=e[r+1],r++):n+=e[r]}return n}function Ct(e,t,n,r,i){let a=t.href,o=t.title||null,s=St(e[1],i),c=e[0].charAt(0)===`!`,l=r.state.inLink,u=r.state.linkEmitted,d=r.state.inRawBlock;r.state.inLink=!0,r.state.linkEmitted=!1;let f=r.inlineTokens(s),p=r.state.linkEmitted;if(r.state.linkEmitted=u,r.state.inLink=l,!c){if(p){r.state.inRawBlock=d;return}r.state.linkEmitted=!0}return{type:c?`image`:`link`,raw:n,href:a,title:o,text:s,tokens:f}}function wt(e,t,n,r){let i=e.match(n.other.indentCodeCompensation);if(i===null)return t;let a=i[1].length;return t.split(`
8
+ `).map(t=>{let i=t.match(n.other.beginningSpace);if(i===null)return t;let[o]=i,s=o.indexOf(` `);if(s!==-1&&s<a){if(r)return` `.repeat(4-a)+t.slice(s+1);if(e[a]===`~`)return t}return t.slice(Math.min(o.length,a))}).join(`
9
+ `)}function Tt(e,t,n,r){if(!t.includes(`<`))return!1;for(let i=0;i<t.length;i++){if(t[i]===`\\`){i++;continue}if(t[i]==="`"){let e=r.inline.code.exec(t.slice(i));if(e){i+=e[0].length-1;continue}}if(t[i]!==`<`)continue;let a=e.slice(n+i),o=r.inline.tag.exec(a)||r.inline.autolink.exec(a);if(o){if(o[0].length>t.length-i)return!0;i+=o[0].length-1}}return!1}var W=class{options;rules;lexer;constructor(e){this.options=e||h}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:`space`,raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=this.options.pedantic?t[0]:pt(t[0]);return{type:`code`,raw:e,codeBlockStyle:`indented`,text:e.replace(this.rules.other.codeRemoveIndent,``)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=wt(e,t[3]||``,this.rules,this.lexer.state.top&&!this.lexer.state.inBlockquote);t[3]!==void 0&&(n===``||n.endsWith(`
10
+ `))&&(n+=`
11
+ `);let r=t[2];if(r){let e=0,t=r.length;for(;e<t&&(r[e]===` `||r[e]===` `);)e++;for(;t>e&&(r[t-1]===` `||r[t-1]===` `);)t--;r=r.slice(e,t).replace(this.rules.inline.anyPunctuation,`$1`)}return{type:`code`,raw:e,lang:r,text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=z(e,`#`);(this.options.pedantic||!t||this.rules.other.endingSpaceTabChar.test(t))&&(e=t.trim())}return{type:`heading`,raw:z(t[0],`
12
+ `),depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:`hr`,raw:z(t[0],`
13
+ `)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=z(t[0],`
14
+ `).split(`
15
+ `),n=``,r=``,i=[];for(;e.length>0;){let t=!1,a=[],o=0;for(;o<e.length;o++)if(this.rules.other.blockquoteStart.test(e[o]))a.push(e[o]),t=!0;else if(!t)a.push(e[o]);else break;e=e.slice(o);let s=a.join(`
16
+ `),c=(this.lexer.state.top&&!this.lexer.state.inBlockquote&&s.includes(` `)?yt(a):s).replace(this.rules.other.blockquoteMarkerWhitespace,(e,t,n)=>n.startsWith(` `)?t+` `+n.slice(1):t+U(n,t.length)).replace(this.rules.other.blockquoteSetextReplace,`
17
+ $1`).replace(this.rules.other.blockquoteSetextReplace2,``);n=n?`${n}
18
+ ${s}`:s,r=r?`${r}
19
+ ${c}`:c;let l=this.lexer.state.top,u=this.lexer.state.inBlockquote,d=this.lexer.state.lastToken;if(this.lexer.state.top=!0,this.lexer.state.inBlockquote=!0,this.lexer.blockTokens(c,i,!0),this.lexer.state.top=l,this.lexer.state.inBlockquote=u,e.length===0)break;let f=i.at(-1);if(f?.type===`code`||f?.type===`heading`||f?.type===`hr`||f?.type===`html`||f?.type===`table`)break;if(f?.type===`blockquote`){let t=f,a=e.join(`
20
+ `),o=t.raw+`
21
+ `+a.replace(this.rules.other.blockquoteSetextReplace2,``);this.lexer.state.inBlockquote=!0,this.lexer.state.lastToken=i.at(-2);let s=this.blockquote(o);this.lexer.state.inBlockquote=u,this.lexer.state.lastToken=d,i[i.length-1]=s;let c=o.substring(s.raw.length).replace(/^\n/,``),l=c?c.split(`
22
+ `).length:0,p=l?e.slice(0,-l):e;if(p.length>0&&(n=`${n}
23
+ ${p.join(`
24
+ `)}`),r=r.substring(0,r.length-t.text.length)+s.text,e=e.slice(p.length),e.length>0&&this.rules.other.blockquoteStart.test(e[0]))continue;break}if(f?.type===`list`){let t=f,a=t.raw+`
25
+ `+e.join(`
26
+ `);this.lexer.state.inBlockquote=!0,this.lexer.state.lastToken=i.at(-2);let o=this.list(a);this.lexer.state.top=l,this.lexer.state.inBlockquote=u,this.lexer.state.lastToken=d,i[i.length-1]=o;let s=o.raw.length>t.raw.length?a.slice(t.raw.length+1,o.raw.length).split(`
27
+ `).length:0;if(s>0){let t=e.slice(0,s).join(`
28
+ `);n=`${n}
29
+ ${t}`,r=`${r}
30
+ ${t}`}if(e=e.slice(s),e.length>0&&!this.rules.other.blockquoteStart.test(e[0]))break}}return{type:`blockquote`,raw:n,tokens:i,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){if(!this.options.pedantic&&this.lexer.state.lastToken?.type===`text`&&!this.rules.other.listInterruptsParagraph.test(e))return;let n=e,r=()=>n.length-e.length,i=t[1].trim(),a=i.length>1,o={type:`list`,raw:``,ordered:a,start:a?+i.slice(0,-1):``,loose:!1,items:[]};i=a?`\\d{1,9}\\${i.slice(-1)}`:`\\${i}`,this.options.pedantic&&(i=a?i:`[*+-]`);let s=this.rules.other.listItemRegex(i),c=!1;for(;e;){let i=!1,a=``;if(!(t=s.exec(e))||this.rules.block.hr.test(e))break;let l=r();e=e.substring(t[0].length);let u=t[2].split(`
31
+ `,1)[0],d=t[1].length,f=this.options.pedantic?U(u,d):u.replace(this.rules.other.leadingSpaceTab,e=>U(e,d)),p=e.split(`
32
+ `,1)[0],m=!f.trim(),h=0;if(this.options.pedantic?(h=2,a=f.trimStart()):m?h=d+1:(h=f.search(this.rules.other.nonSpaceChar),h=h>4?1:h,a=f.slice(h),f=a,h+=d),m&&this.rules.other.blankLine.test(p)&&(e=e.substring(p.length+1),i=!0),!i){let t=this.rules.other.nextBulletRegex(h),n=this.rules.other.hrRegex(h),r=this.rules.other.fencesBeginRegex(h),i=this.options.pedantic?this.rules.other.pedanticHeadingBeginRegex(h):this.rules.other.headingBeginRegex(h),o=this.rules.other.htmlBeginRegex(h),s=this.rules.other.blockquoteBeginRegex(h),c=!1;for(;e;){let l=e.split(`
33
+ `,1)[0],u;if(p=l,this.options.pedantic?(p=p.replace(this.rules.other.listReplaceNesting,` `),u=p):u=p.replace(this.rules.other.leadingSpaceTab,e=>U(e)),r.test(p)||i.test(p)||o.test(p)||s.test(p)||t.test(p)||n.test(p))break;if(u.search(this.rules.other.nonSpaceChar)>=h||!p.trim())a+=`
34
+ `+u.slice(h),c=!1;else{if(m)break;let e=f;if(!this.options.pedantic&&!a.includes(`
35
+ `)&&!f.includes(` `)){let t;for(;!n.test(e)&&(t=this.rules.other.nestedBlockMarker.exec(e));)e=e.slice(t[0].length);if(!e.trim())break}if(e.replace(this.rules.other.tabCharGlobal,` `).search(this.rules.other.nonSpaceChar)>=4||r.test(e)||i.test(e)||o.test(e)||n.test(e))break;if(!this.options.pedantic&&!c){let e=f.replace(this.rules.other.nestedContainerMarkers,``);if(this.rules.block.fences.test(e)||this.rules.block.heading.test(e)||this.rules.block.hr.test(e))break}let t=!this.options.pedantic&&/^ {0,3}(?:=+|-+) *$/.test(p)&&this.rules.block.lheading.test(`${f}
36
+ ${p}`)?` ${u.replace(/^ {0,3}/,``)}`:p,s=!this.options.pedantic&&!c&&u.startsWith(` `)?this.rules.block.list.exec(f):null;if(s?.[2]){let e=s[1].length,n=s[2].replace(this.rules.other.leadingSpaceTab,t=>U(t,e)),r=n.search(this.rules.other.nonSpaceChar);r>0&&r<=4&&!this.rules.other.nestedBlockMarker.test(n.slice(r))&&u.search(this.rules.other.nonSpaceChar)>=e+r&&this.rules.other.listInterruptsParagraph.test(u.slice(e+r))&&(t=` ${u}`)}a+=`
37
+ `+t,c=!0}m=!p.trim(),e=e.substring(l.length+1),f=u.slice(h)}}let g=n.slice(l,r());o.loose||(c?o.loose=!0:this.rules.other.doubleBlankLine.test(g)&&(c=!0)),o.items.push({type:`list_item`,raw:g,task:!!this.options.gfm&&this.rules.other.listIsTask.test(a),loose:!1,text:a,tokens:[]})}let l=o.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;o.raw=n.slice(0,r()).trimEnd();let u=[],d=this.lexer.state.top;for(let e of o.items)if(this.lexer.state.top=!1,u.push(this.lexer.inlineQueue.length),e.tokens=this.lexer.blockTokens(e.text,[]),!o.loose){let t=e.tokens.filter(e=>e.type===`space`);o.loose=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw))}this.lexer.state.top=d;for(let e=0;e<o.items.length;e++){let t=o.items[e],n=t.tokens[0];if(t.task&&(n?.type===`text`||n?.type===`paragraph`)){t.text=t.text.replace(this.rules.other.listReplaceTask,``),n.raw=n.raw.replace(this.rules.other.listReplaceTask,``),n.text=n.text.replace(this.rules.other.listReplaceTask,``);let r=this.lexer.inlineQueue;for(let t=u[e];t<r.length;t++)if(r[t].tokens===n.tokens){r[t].src=r[t].src.replace(this.rules.other.listReplaceTask,``);break}let i=this.rules.other.listTaskCheckbox.exec(t.raw);if(i){let e={type:`checkbox`,raw:i[0]+` `,checked:i[0]!==`[ ]`};t.checked=e.checked,o.loose?t.tokens[0]&&[`paragraph`,`text`].includes(t.tokens[0].type)&&`tokens`in t.tokens[0]&&t.tokens[0].tokens?(t.tokens[0].raw=e.raw+t.tokens[0].raw,t.tokens[0].text=e.raw+t.tokens[0].text,t.tokens[0].tokens.unshift(e)):t.tokens.unshift({type:`paragraph`,raw:e.raw,text:e.raw,tokens:[e]}):t.tokens.unshift(e)}}else t.task&&=!1}if(o.loose)for(let e of o.items){e.loose=!0;for(let t of e.tokens)t.type===`text`&&(t.type=`paragraph`)}return o}}html(e){let t=this.rules.block.html.exec(e);if(t){if(this.lexer.state.lastToken?.type===`paragraph`&&!this.rules.other.htmlBeginRegex(4).test(e))return;let n=pt(t[0]);return{type:`html`,block:!0,raw:n,pre:t[1]===`pre`||t[1]===`script`||t[1]===`style`,text:n}}}def(e){let t=this.rules.block.def.exec(e);if(t){if(!this.rules.other.startAngleBracket.test(t[2])&&mt(t[2],`()`)!==-1)return;let e=B(t[1],this.options.pedantic),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,`$1`).replace(this.rules.inline.anyPunctuation,`$1`):``,r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,`$1`):t[3];return{type:`def`,tag:e,raw:z(t[0],`
38
+ `),href:n,title:r}}}table(e){let t,n;if(this.options.gfm&&!this.options.pedantic){let r=this.rules.other.tableHeader.exec(e);if(!r||!this.rules.other.tableDelimiter.test(r[2])||(t=R(r[1]),n=r[2].replace(this.rules.other.tableAlignChars,``).split(`|`),t.length!==n.length))return}let r=this.rules.block.table.exec(e);if(!r||!this.rules.other.tableDelimiter.test(r[2]))return;t??=R(r[1]),n??=r[2].replace(this.rules.other.tableAlignChars,``).split(`|`);let i=r[3]?.trim()?r[3].replace(this.rules.other.tableRowBlankLine,``).split(`
39
+ `):[],a={type:`table`,raw:z(r[0],`
40
+ `),header:[],align:[],rows:[]};if(t.length===n.length){for(let e of n)this.rules.other.tableAlignRight.test(e)?a.align.push(`right`):this.rules.other.tableAlignCenter.test(e)?a.align.push(`center`):this.rules.other.tableAlignLeft.test(e)?a.align.push(`left`):a.align.push(null);for(let e=0;e<t.length;e++)a.header.push({text:t[e],tokens:this.lexer.inline(t[e]),header:!0,align:a.align[e]});for(let e of i)a.rows.push(R(e,a.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:a.align[t]})));return a}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let e=t[1].trim();return{type:`heading`,raw:z(t[0],`
41
+ `),depth:t[2].charAt(0)===`=`?1:2,text:e,tokens:this.lexer.inline(e)}}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e=t[1].charAt(t[1].length-1)===`
42
+ `?t[1].slice(0,-1):t[1];return{type:`paragraph`,raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t){let n=t[0],r=t[0],i=this.rules.other.textIndentedContinuation.exec(e.slice(n.length));return i&&(n+=i[0],r+=i[0].replace(this.rules.other.codeRemoveIndent,``)),{type:`text`,raw:n,text:r,tokens:this.lexer.inline(r)}}}escape(e){if(e.charCodeAt(0)!==92)return;let t=this.rules.inline.escape.exec(e);if(t)return{type:`escape`,raw:t[0],text:t[1]}}tag(e){if(e.charCodeAt(0)!==60)return;let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:`html`,raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){if(this.lexer.state.linkParenPossible===!1)return;let t=e.charCodeAt(0);if(t!==91&&t!==33)return;let n=this.rules.inline.link.exec(e);if(n){let t=n[0].charAt(0)===`!`?2:1;if(!this.options.pedantic&&Tt(e,n[1],t,this.rules))return;let r=n[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(r)){if(!this.rules.other.endAngleBracket.test(r))return;let e=z(r.slice(0,-1),`\\`);if((r.length-e.length)%2==0)return}else{let e=mt(n[2],`()`);if(e===-2)return;if(e>-1){let t=(n[0].indexOf(`!`)===0?5:4)+n[1].length+e;n[2]=n[2].substring(0,e),n[0]=n[0].substring(0,t).trim(),n[3]=``}}let i=z(n[0].slice(0,-1),`\\`);if((n[0].length-i.length)%2==0)return;let a=n[2],o=``;if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(a);e&&(a=e[1],o=e[3])}else o=n[3]?n[3].slice(1,-1):``;return this.options.pedantic&&(a=a.trim()),this.rules.other.startAngleBracket.test(a)&&(a=this.options.pedantic&&!this.rules.other.endAngleBracket.test(r)?a.slice(1):a.slice(1,-1)),Ct(n,{href:a&&a.replace(this.rules.inline.anyPunctuation,`$1`),title:o&&o.replace(this.rules.inline.anyPunctuation,`$1`)},n[0],this.lexer,this.rules)}}reflink(e,t){let n=e.charCodeAt(0);if(n!==91&&n!==33)return;let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let n=r[0].charAt(0)===`!`?2:1;if(!this.options.pedantic&&Tt(e,r[1],n,this.rules))return;let i=t[B(r[2]||r[1],this.options.pedantic)];if(!i){let e=r[0].charAt(0);return{type:`text`,raw:e,text:e}}return Ct(r,i,r[0],this.lexer,this.rules)}}emStrong(e,t,n=``){let r=this.rules.inline.emStrongLDelim.exec(e);if(!r||!r[1]&&!r[2]&&!r[3]&&!r[4])return;let i=r[0][0],a=n===i,o=t.length-e.length,s=o;for(;!this.options.pedantic&&s>0&&t[s-1]===i;)s--;let c=[...t.slice(Math.max(0,s-2),s)].at(-1)??``,l=c===`*`||c===`_`||!!this.rules.inline.punctuation.exec(c);s<o&&(n=c);let u=s<o?l:n===`*`||n===`_`||!!this.rules.inline.punctuation.exec(n);if(r[4]&&n.match(this.rules.other.unicodeAlphaNumeric))return;let d=r[1]||r[3]||``;if(!d||!n||u){let n=[...r[0]].length-1,u,f,p=n,m=0,h=o-s+n,g=!this.options.pedantic&&!!c.trim()&&(!!d||i===`*`&&!l);if(i!==`*`&&i!==`_`)return;let _=i===`*`?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd,v=_t(this,t,i),y=t.length-e.length+n;if(v<y)return;t=t.slice(-1*e.length+n);let b=v-y;for(_.lastIndex=0;(r=_.exec(t))!==null&&!(r.index>b);){if(u=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!u)continue;f=[...u].length;let t=f>p-n;if(r[3]||r[4]){p+=f;continue}if((r[5]||r[6]||g&&t)&&h%3&&!((h+f)%3)){if(a&&(r[5]||r[6]))break;m+=f;continue}if(p-=f,p>0)continue;f=Math.min(f,f+p+m);let i=[...r[0]][0].length,o=e.slice(0,n+r.index+i+f);if(Math.min(n,f)%2){let e=o.slice(1,-1);return{type:`em`,raw:o,text:e,tokens:this.lexer.inlineTokens(e)}}let s=o.slice(2,-2);return{type:`strong`,raw:o,text:s,tokens:this.lexer.inlineTokens(s)}}}}codespan(e){if(e.charCodeAt(0)!==96)return;let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal,` `),n=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&r&&(e=e.substring(1,e.length-1)),{type:`codespan`,raw:t[0],text:e}}}br(e){let t=e.charCodeAt(0);if(t!==32&&t!==92&&t!==10)return;let n=this.rules.inline.br.exec(e);if(n)return{type:`br`,raw:n[0]}}del(e,t,n=``){if(e.charCodeAt(0)!==126)return;let r=this.rules.inline.delLDelim.exec(e);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,i,a,o=n,s=this.rules.inline.delRDelim,c=vt(this,t),l=t.length-e.length+n;if(c<l)return;t=t.slice(-1*e.length+n);let u=c-l;for(s.lastIndex=0;(r=s.exec(t))!==null&&!(r.index>u);){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i||(a=[...i].length,a!==n))continue;if(r[3]||r[4]){o+=a;continue}if(o-=a,o>0)continue;a=Math.min(a,a+o);let t=[...r[0]][0].length,s=e.slice(0,n+r.index+t+a),c=s.slice(n,-n);return{type:`del`,raw:s,text:c,tokens:this.lexer.inlineTokens(c)}}}}autolink(e){if(e.charCodeAt(0)!==60)return;let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return t[2]===`@`?(e=t[1],n=`mailto:`+e):(e=t[1],n=e),{type:`link`,raw:t[0],text:e,href:n,autolink:!0,tokens:[{type:`text`,raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if(t[2]===`@`)e=t[0],n=`mailto:`+e;else{let r;do r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??``;while(r!==t[0]);e=t[0],n=t[1]===`www.`?`http://`+t[0]:t[0]}return{type:`link`,raw:t[0],text:e,href:n,autolink:!0,tokens:[{type:`text`,raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:`text`,raw:t[0],text:e?t[0]:dt(t[0]),escaped:e}}}},G=class e{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||h,this.options.tokenizer=this.options.tokenizer||new W,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,linkEmitted:!1,linkParenPossible:!0,top:!0,inBlockquote:!1};let t={other:x,block:F.normal,inline:I.normal};this.options.pedantic?(t.block=F.pedantic,t.inline=I.pedantic):this.options.gfm&&(t.block=F.gfm,t.inline=this.options.breaks?I.breaks:I.gfm),this.tokenizer.rules=t}static get rules(){return{block:F,inline:I}}static lex(t,n){return new e(n).lex(t)}static lexInline(t,n){let r=new e(n);return t.includes(`\r`)&&(t=t.replace(x.carriageReturn,`
43
+ `)),r.inlineTokens(t)}lex(e){e=e.replace(x.carriageReturn,`
44
+ `),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.state.inRawBlock=!1,this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){this.tokenizer.lexer=this;let r=this.state.lastToken;this.options.pedantic&&(e=e.replace(x.tabCharGlobal,` `).replace(x.spaceLine,``));let i=1/0,a,o=this.options.gfm&&!this.options.pedantic&&this.tokenizer.paragraph===W.prototype.paragraph;for(;e;){if(e.length<i)i=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}this.state.lastToken=t.at(-1);let r;if(this.options.extensions?.block?.some(n=>(r=n.call({lexer:this},e,t))?(e=e.substring(r.raw.length),t.push(r),!0):!1))continue;if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length);let n=t.at(-1);r.raw.length===1&&n!==void 0?n.raw+=`
45
+ `:t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type===`paragraph`||n?.type===`text`?(n.raw+=(n.raw.endsWith(`
46
+ `)?``:`
47
+ `)+r.raw,n.text+=`
48
+ `+r.text,this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if((r=this.tokenizer.fences(e))||(r=this.tokenizer.heading(e))||(r=this.tokenizer.hr(e))||(r=this.tokenizer.blockquote(e))||(r=this.tokenizer.list(e))||(r=this.tokenizer.html(e))){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type===`paragraph`||n?.type===`text`?(n.raw+=(n.raw.endsWith(`
49
+ `)?``:`
50
+ `)+r.raw,n.text+=`
51
+ `+r.raw,this.inlineQueue.at(-1).src=n.text):(this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title}),t.push(r));continue}if((r=this.tokenizer.table(e))||(r=this.tokenizer.lheading(e))){e=e.substring(r.raw.length),t.push(r);continue}let s=e;if(this.options.extensions?.startBlock){let t=1/0,n=e.slice(1),r;this.options.extensions.startBlock.forEach(e=>{r=e.call({lexer:this},n),typeof r==`number`&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(s=e.substring(0,t+1))}if(this.state.top&&(r=this.tokenizer.paragraph(s))){let i=t.at(-1);(n||i===a&&o)&&i?.type===`paragraph`?(i.raw+=(i.raw.endsWith(`
52
+ `)?``:`
53
+ `)+r.raw,i.text+=`
54
+ `+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text,a=i):(t.push(r),a=r),n=s.length!==e.length,e=e.substring(r.raw.length)}else if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type===`text`?(n.raw+=(n.raw.endsWith(`
55
+ `)?``:`
56
+ `)+r.raw,n.text+=`
57
+ `+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(r)}else if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return this.state.top=!0,this.state.lastToken=r,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}linkInText(e){if(!e.includes(`[`))return!1;let t=this.tokenizer.rules.inline.link;for(let n of e.matchAll(this.tokenizer.rules.inline.blockSkip))if(t.test(n[0])&&e.charAt(n.index-1)!==`!`)return!0;for(let t of e.matchAll(this.tokenizer.rules.inline.reflinkSearch)){let e=t[0],n=e.lastIndexOf(`[`);if(e.charAt(0)!==`!`&&Object.hasOwn(this.tokens.links,B(e.slice(n+1,-1),this.options.pedantic))&&!(n>1&&this.linkInText(e.slice(1,n-1))))return!0}return!1}inlineTokens(e,t=[]){this.tokenizer.lexer=this;let n=this.state.linkParenPossible;this.state.linkParenPossible=e.includes(`)`);try{return this.#e(e,t)}finally{this.state.linkParenPossible=n}}#e(e,t){let n=e.includes(`*`)||e.includes(`_`)||e.includes(`~`),r=n||this.options.hooks?.emStrongMask||this.tokenizer.emStrong!==W.prototype.emStrong||this.tokenizer.del!==W.prototype.del?this.#r(e):e;if(!n)return this.#t(e,r,t);ht(this.tokenizer,r);try{return this.#t(e,r,t)}finally{gt(this.tokenizer)}}#t(e,t,n){let r=!1,i=``,a=1/0;for(;e;){if(e.length<a)a=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}r||(i=``),r=!1;let o;if(this.options.extensions?.inline?.some(t=>(o=t.call({lexer:this},e,n))?(e=e.substring(o.raw.length),n.push(o),!0):!1))continue;if((o=this.tokenizer.escape(e))||(o=this.tokenizer.tag(e))||(o=this.tokenizer.link(e))){e=e.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(o.raw.length);let t=n.at(-1);o.type===`text`&&t?.type===`text`?(t.raw+=o.raw,t.text+=o.text):n.push(o);continue}let s=e[0];if(s===`*`||s===`_`){let a=t.length-e.length;if(_t(this.tokenizer,t,s)<=a){let t=1;for(;t<e.length&&e.charCodeAt(t)===s.charCodeAt(0);)t++;let a=e.substring(0,t),o=n.at(-1);o?.type===`text`&&!o.escaped?(o.raw+=a,o.text+=a):n.push({type:`text`,raw:a,text:a,escaped:!1}),e=e.substring(t),i=s,r=!0;continue}}else if(s===`~`){let a=t.length-e.length;if(vt(this.tokenizer,t)<=a){let t=1;for(;t<e.length&&e.charCodeAt(t)===126;)t++;let a=e.substring(0,t),o=n.at(-1);o?.type===`text`&&!o.escaped?(o.raw+=a,o.text+=a):n.push({type:`text`,raw:a,text:a,escaped:!1}),e=e.substring(t),i=s,r=!0;continue}}if((o=this.tokenizer.emStrong(e,t,i))||(o=this.tokenizer.codespan(e))||(o=this.tokenizer.br(e))||(o=this.tokenizer.del(e,t,i))||(o=this.tokenizer.autolink(e))||!this.state.inLink&&(o=this.tokenizer.url(e))){e=e.substring(o.raw.length),n.push(o);continue}let c=e;if(this.options.extensions?.startInline){let t=1/0,n=e.slice(1),r;this.options.extensions.startInline.forEach(e=>{r=e.call({lexer:this},n),typeof r==`number`&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(c=e.substring(0,t+1))}if(o=this.tokenizer.inlineText(c)){e=e.substring(o.raw.length),o.raw.slice(-1)!==`_`&&(i=o.raw.slice(-1)),r=!0;let t=n.at(-1);t?.type===`text`?(t.raw+=o.raw,t.text+=o.text):n.push(o)}else if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return n}#n(e){let{blockSkip:t,tag:n,autolink:r}=this.tokenizer.rules.inline,i=``,a=0,o;for(t.lastIndex=0;o=t.exec(e);){let s=o.index+(o[2]?o[2].length:0),c=o.index+o[0].length;if(e.charAt(s)===`<`){let i=e.slice(s),a=n.exec(i)||r.exec(i);if(!a){t.lastIndex=s+1;continue}c=s+a[0].length,t.lastIndex=c}i+=e.slice(a,s)+`[`+`a`.repeat(c-s-2)+`]`,a=c}return i+e.slice(a)}#r(e){let t=e;if(this.tokens.links&&e.includes(`[`)){let e=this.tokenizer.rules.inline.reflinkSearch,n=t=>{let r=t.lastIndexOf(`[`);if(!Object.hasOwn(this.tokens.links,B(t.slice(r+1,-1),this.options.pedantic)))return t;if(r>1&&t.charAt(0)!==`!`){let i=t.slice(1,r-1);if(this.linkInText(i))return`[`+i.replace(e,n)+`][`+`a`.repeat(t.length-r-2)+`]`}return`[`+`a`.repeat(t.length-2)+`]`};t=t.replace(e,n)}return t=t.replace(this.tokenizer.rules.inline.anyPunctuationOutsideCode,(e,t,n)=>n?`+`.repeat(e.length):t?t+e.slice(t.length,-t.length).replace(/`/g,`+`)+t:e),t=this.#n(t),t=this.options.hooks?.emStrongMask?.call({lexer:this},t)??t,t}infiniteLoopError(e){let t=`Infinite loop on byte: `+e;if(this.options.silent)console.error(t);else throw Error(t)}};function K(e,t=!1){let n;for(let r=0;r<e.length;r++){let i=e[r],a=i;if(i.type===`codespan`||i.type===`escape`||t&&i.type===`text`){let e=L(i.text,!0);e!==i.text&&(a={...i,text:e})}else if(i.type===`link`&&i.autolink){let e=L(i.text,!0),t=i.tokens,n=t&&(t.length===1&&t[0].type===`text`&&t[0].text===i.text?e===i.text?t:[{...t[0],text:e}]:K(t,!0));(e!==i.text||n!==t)&&(a=n===t?{...i,text:e}:{...i,text:e,tokens:n})}else if(`tokens`in i&&i.tokens){let e=K(i.tokens,t);e!==i.tokens&&(a={...i,tokens:e})}a===i?n&&n.push(i):(n||=e.slice(0,r),n.push(a))}return n||e}var q=class{options;parser;constructor(e){this.options=e||h}space(e){return``}code({text:e,lang:t,escaped:n}){let r=(t||``).trim().match(x.notSpaceStart)?.[0],i=e?e.replace(x.endingNewline,``)+`
58
+ `:``;return r?`<pre><code class="language-`+L(r)+`">`+(n?i:L(i,!0))+`</code></pre>
59
+ `:`<pre><code>`+(n?i:L(i,!0))+`</code></pre>
60
+ `}blockquote({tokens:e}){return`<blockquote>
61
+ ${this.parser.parse(e)}</blockquote>
62
+ `}html({text:e}){return e}def(e){return``}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
63
+ `}hr(e){return`<hr>
64
+ `}list(e){let t=e.ordered,n=e.start,r=``;for(let t=0;t<e.items.length;t++){let n=e.items[t];r+=this.listitem(n)}let i=t?`ol`:`ul`,a=t&&n!==1?` start="`+n+`"`:``;return`<`+i+a+`>
65
+ `+r+`</`+i+`>
66
+ `}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>
67
+ `}checkbox({checked:e}){return`<input `+(e?`checked="" `:``)+`disabled="" type="checkbox"> `}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
68
+ `}table(e){let t=``,n=``;for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let r=``;for(let t=0;t<e.rows.length;t++){let i=e.rows[t];n=``;for(let e=0;e<i.length;e++)n+=this.tablecell(i[e]);r+=this.tablerow({text:n})}return r&&=`<tbody>${r}</tbody>`,`<table>
69
+ <thead>
70
+ `+t+`</thead>
71
+ `+r+`</table>
72
+ `}tablerow({text:e}){return`<tr>
73
+ ${e}</tr>
74
+ `}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?`th`:`td`;return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>
75
+ `}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${L(e,!0)}</code>`}br(e){return`<br>`}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,text:n,tokens:r,autolink:i}){let a=i?L(n,!0):this.parser.parseInline(r),o=ft(e);if(o===null)return a;e=L(o,i);let s=`<a href="`+e+`"`;return t&&(s+=` title="`+L(t)+`"`),s+=`>`+a+`</a>`,s}image({href:e,title:t,text:n,tokens:r}){r&&(n=this.parser.parseInline(K(r),this.parser.textRenderer));let i=ft(e);if(i===null)return L(n);e=i;let a=`<img src="${L(e)}" alt="${L(n)}"`;return t&&(a+=` title="${L(t)}"`),a+=`>`,a}text(e){return`tokens`in e&&e.tokens?this.parser.parseInline(e.tokens):`escaped`in e&&e.escaped?e.text:L(e.text)}},Et=class{parser;strong({text:e,tokens:t}){return t?this.parser.parseInline(t,this):e}em({text:e,tokens:t}){return t?this.parser.parseInline(t,this):e}codespan({text:e}){return e}del({text:e,tokens:t}){return t?this.parser.parseInline(t,this):e}html({text:e}){return e}text({text:e}){return e}link({text:e,tokens:t}){return t?this.parser.parseInline(t,this):e}image({text:e,tokens:t}){return t?this.parser.parseInline(t,this):e}br(){return`
76
+ `}checkbox({raw:e}){return e}},J=class e{options;renderer;textRenderer;constructor(e){this.options=e||h,this.options.renderer=this.options.renderer||new q,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Et,this.textRenderer.parser=this}static parse(t,n){return new e(n).parse(t)}static parseInline(t,n){return new e(n).parseInline(t)}parse(e){this.renderer.parser=this;let t=``;for(let n=0;n<e.length;n++){let r=e[n],i=this.options.extensions?.renderers;if(i&&Object.hasOwn(i,r.type)&&i[r.type]){let e=r,n=i[e.type].call({parser:this},e);if(n!==!1||![`space`,`hr`,`heading`,`code`,`table`,`blockquote`,`list`,`checkbox`,`html`,`def`,`paragraph`,`text`].includes(e.type)){t+=n===!1?``:n??``;continue}}let a=r;switch(a.type){case`space`:t+=this.renderer.space(a);break;case`hr`:t+=this.renderer.hr(a);break;case`heading`:t+=this.renderer.heading(a);break;case`code`:t+=this.renderer.code(a);break;case`table`:t+=this.renderer.table(a);break;case`blockquote`:t+=this.renderer.blockquote(a);break;case`list`:t+=this.renderer.list(a);break;case`checkbox`:t+=this.renderer.checkbox(a);break;case`html`:t+=this.renderer.html(a);break;case`def`:t+=this.renderer.def(a);break;case`paragraph`:t+=this.renderer.paragraph(a);break;case`text`:t+=this.renderer.text(a);break;default:{let e=`Token with "`+a.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return t}parseInline(e,t=this.renderer){this.renderer.parser=this;let n=``;for(let r=0;r<e.length;r++){let i=e[r],a=this.options.extensions?.renderers;if(a&&Object.hasOwn(a,i.type)&&a[i.type]){let e=a[i.type].call({parser:this},i);if(e!==!1||![`escape`,`html`,`link`,`image`,`checkbox`,`strong`,`em`,`codespan`,`br`,`del`,`text`].includes(i.type)){n+=e===!1?``:e??``;continue}}let o=i;switch(o.type){case`escape`:n+=t.text(o);break;case`html`:n+=t.html(o);break;case`link`:n+=t.link(o);break;case`image`:n+=t.image(o);break;case`checkbox`:n+=t.checkbox(o);break;case`strong`:n+=t.strong(o);break;case`em`:n+=t.em(o);break;case`codespan`:n+=t.codespan(o);break;case`br`:n+=t.br(o);break;case`del`:n+=t.del(o);break;case`text`:n+=t.text(o);break;default:{let e=`Token with "`+o.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return n}},Y=class{options;block;constructor(e){this.options=e||h}static passThroughHooks=new Set([`preprocess`,`postprocess`,`processAllTokens`,`emStrongMask`]);static passThroughHooksRespectAsync=new Set([`preprocess`,`postprocess`,`processAllTokens`]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(e=this.block){return e?G.lex:G.lexInline}provideParser(e=this.block){return e?J.parse:J.parseInline}};function X(e,t){if(Array.isArray(t))for(let n=0;n<t.length;n++)e.push(t[n]);else e.push(t)}var Dt=class{defaults=m();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=J;Renderer=q;TextRenderer=Et;Lexer=G;Tokenizer=W;Hooks=Y;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(X(n,t.call(this,r)),r.type){case`table`:{let e=r;for(let r of e.header)X(n,this.walkTokens(r.tokens,t));for(let r of e.rows)for(let e of r)X(n,this.walkTokens(e.tokens,t));break}case`list`:{let e=r;X(n,this.walkTokens(e.items,t));break}default:{let e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(r=>{if(e[r]){let i=e[r].flat(1/0);X(n,this.walkTokens(i,t))}}):e.tokens&&X(n,this.walkTokens(e.tokens,t))}}return n}use(...e){let t=this.defaults.extensions||{renderers:Object.create(null),childTokens:Object.create(null)};return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error(`extension name required`);if(`renderer`in e&&e.renderer){let n=e.renderer,r=t.renderers[e.name];r?t.renderers[e.name]=function(...e){let t=n.apply(this,e);return t===!1&&(t=r.apply(this,e)),t}:t.renderers[e.name]=n}if(`tokenizer`in e&&e.tokenizer){if(!e.level||e.level!==`block`&&e.level!==`inline`)throw Error(`extension level must be 'block' or 'inline'`);let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&(e.level===`block`?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:e.level===`inline`&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}`childTokens`in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new q(this.defaults);for(let n in e.renderer){if(!(n in t))throw Error(`renderer '${n}' does not exist`);if([`options`,`parser`].includes(n))continue;let r=n,i=e.renderer[r];if(i===void 0)continue;let a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n===!1?``:n??``}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new W(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw Error(`tokenizer '${n}' does not exist`);if([`options`,`rules`,`lexer`].includes(n))continue;let r=n,i=e.tokenizer[r];if(i===void 0)continue;let a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new Y;for(let n in e.hooks){if(!(n in t))throw Error(`hook '${n}' does not exist`);if([`options`,`block`].includes(n))continue;let r=n,i=e.hooks[r];if(i===void 0)continue;let a=t[r];t[r]=Y.passThroughHooks.has(n)?e=>{if(t.options.async&&Y.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await i.call(t,e);return a.call(t,n)})();let r=i.call(t,e);return a.call(t,r)}:(...e)=>{if(t.options.async)return(async()=>{let n=await i.apply(t,e);return n===!1&&(n=await a.apply(t,e)),n})();let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return X(n,r.call(this,e)),t&&X(n,t.call(this,e)),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return G.lex(e,t??this.defaults)}parser(e,t){return J.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},i={...this.defaults,...r},a=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&r.async===!1)return a(Error(`marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise.`));if(typeof t>`u`||t===null)return a(Error(`marked(): input parameter is undefined or null`));if(typeof t!=`string`)return a(Error(`marked(): input parameter is of type `+Object.prototype.toString.call(t)+`, string expected`));if(i.hooks&&(i.hooks.options=i,i.hooks.block=e),i.async)return(async()=>{let n=i.hooks?await i.hooks.preprocess(t):t,r=await(i.hooks?await i.hooks.provideLexer(e):e?G.lex:G.lexInline)(n,i),a=i.hooks?await i.hooks.processAllTokens(r):r;i.walkTokens&&await Promise.all(this.walkTokens(a,i.walkTokens));let o=await(i.hooks?await i.hooks.provideParser(e):e?J.parse:J.parseInline)(a,i);return i.hooks?await i.hooks.postprocess(o):o})().catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let n=(i.hooks?i.hooks.provideLexer(e):e?G.lex:G.lexInline)(t,i);i.hooks&&(n=i.hooks.processAllTokens(n)),i.walkTokens&&this.walkTokens(n,i.walkTokens);let r=(i.hooks?i.hooks.provideParser(e):e?J.parse:J.parseInline)(n,i);return i.hooks&&(r=i.hooks.postprocess(r)),r}catch(e){return a(e)}}}onError(e,t){return n=>{let r=n instanceof Error?n:Error(String(n));if(r.message+=`
77
+ Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error occurred:</p><pre>`+L(r.message+``,!0)+`</pre>`;return t?Promise.resolve(e):e}if(t)return Promise.reject(r);throw r}}},Z=new Dt;function Q(e,t){return Z.parse(e,t)}Q.options=Q.setOptions=function(e){return Z.setOptions(e),Q.defaults=Z.defaults,g(Q.defaults),Q},Q.getDefaults=m,Q.defaults=h,Q.use=function(...e){return Z.use(...e),Q.defaults=Z.defaults,g(Q.defaults),Q},Q.walkTokens=function(e,t){return Z.walkTokens(e,t)},Q.parseInline=function(e,t){return Z.parseInline(e,t)},Q.Parser=J,Q.parser=J.parse,Q.Renderer=q,Q.TextRenderer=Et,Q.Lexer=G,Q.lexer=G.lex,Q.Tokenizer=W,Q.Hooks=Y,Q.parse=Q,Q.options,Q.setOptions,Q.walkTokens,Q.parseInline,J.parse,G.lex;var $=a(t(),1),Ot=new Dt({gfm:!0,breaks:!1});function kt(e){return s(Ot.parse(e,{async:!1}))}function At({source:e,...t}){let n=(0,p.useMemo)(()=>kt(e),[e]);return(0,$.jsx)(`div`,{...t,dangerouslySetInnerHTML:{__html:n},onClick:i})}function jt({node:e,contract:t}){let i=o(e,t,Object.keys(t?.props??{})),a=(0,$.jsx)(At,{source:String(e.props.markdown??``),"data-markdown":``});return e.props.typography===!1?(0,$.jsx)(n,{...i,children:a}):(0,$.jsx)(r,{...i,children:a})}var Mt=(e,t)=>typeof e==`number`?`${e}px`:typeof e==`string`?e:t;function Nt({node:t,contract:n}){let i=t.props.mode??`split`,a=Mt(t.props.height,`320px`),[o,s]=(0,p.useState)(String(t.props.value??``)),c=i===`preview`?String(t.props.value??``):o,m=(0,p.useDeferredValue)(c);return(0,$.jsx)(e.Wrapper,{...f(t,n),children:(0,$.jsxs)(l,{cols:i===`split`?2:1,spacing:`sm`,children:[i!==`preview`&&(0,$.jsx)(u,{node:t,opts:d(t,{language:`markdown`,lineNumbers:!1,wrap:!0}),onDoc:s,style:{height:a}}),i!==`edit`&&(0,$.jsx)(r,{children:(0,$.jsx)(At,{source:m,"data-markdown-preview":``,style:{height:a,overflow:`auto`,padding:`var(--mantine-spacing-xs) var(--mantine-spacing-sm)`,border:`1px solid var(--mantine-color-default-border)`,borderRadius:`var(--mantine-radius-sm)`}})})]})})}export{jt as MarkdownAdapter,Nt as MarkdownEditorAdapter};
@@ -0,0 +1,9 @@
1
+ import{n as e,r as t,t as n}from"./dist-acbbRM1z.js";import{c as r,f as i,g as a,u as o}from"./highlight-CB6hGb5A.js";import{O as s,a as ee,b as te,d as c,g as ne,m as re,n as ie}from"./dist-BCHbQlae.js";import{a as ae,c as l,s as oe}from"./dist-70Le0T2N.js";var se=1,u=196,d=197,ce=198,f=199,le=200,ue=201,de=202,fe=2,p=3,m=203,h=24,pe=25,me=49,he=50,ge=55,_e=56,ve=57,ye=59,be=60,xe=61,Se=62,Ce=63,we=65,Te=68,Ee=73,De=242,Oe=243,ke=244,Ae=245,g=246,_=247,v=248,y=249,b=74,x=250,S=251,C=252,je=253,Me=254,Ne=255,Pe=256,Fe=257,Ie=75,Le=79,Re=264,ze=114,Be=132,Ve=153,He=154,Ue=157,w=10,T=13,E=32,D=9,O=35,We=40,Ge=46,k=123,A=125,j=39,M=34,N=92,P=111,Ke=120,qe=78,Je=117,Ye=85,Xe=new Set([pe,me,he,Re,we,Be,_e,ve,Te,Se,Ce,b,Ie,Le,be,xe,Ve,He,Ue,ze]);function F(e){return e==w||e==T}function I(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}var Ze=new e((e,t)=>{let n;if(e.next<0)e.acceptToken(ue);else if(t.context.flags&L)F(e.next)&&e.acceptToken(le,1);else if(((n=e.peek(-1))<0||F(n))&&t.canShift(f)){let t=0;for(;e.next==E||e.next==D;)e.advance(),t++;(e.next==w||e.next==T||e.next==O)&&e.acceptToken(f,-t)}else F(e.next)&&e.acceptToken(ce,1)},{contextual:!0}),Qe=new e((e,t)=>{let n=t.context;if(n.flags)return;let r=e.peek(-1);if(r==w||r==T){let t=0,r=0;for(;;){if(e.next==E)t++;else if(e.next==D)t+=8-t%8;else break;e.advance(),r++}t!=n.indent&&e.next!=w&&e.next!=T&&e.next!=O&&(t<n.indent?e.acceptToken(d,-r):e.acceptToken(u))}}),L=1,R=2,z=4,B=8,V=16,H=32;function U(e,t,n){this.parent=e,this.indent=t,this.flags=n,this.hash=(e?e.hash+e.hash<<8:0)+t+(t<<4)+n+(n<<6)}var $e=new U(null,0,0);function et(e){let t=0;for(let n=0;n<e.length;n++)t+=e.charCodeAt(n)==D?8-t%8:1;return t}var W=new Map([[De,0],[Oe,z],[ke,B],[Ae,12],[g,V],[_,20],[v,24],[y,28],[x,H],[S,36],[C,40],[je,44],[Me,48],[Ne,52],[Pe,56],[Fe,60]].map(([e,t])=>[e,t|R])),tt=new n({start:$e,reduce(e,t,n,r){return e.flags&L&&Xe.has(t)||(t==Ee||t==b)&&e.flags&R?e.parent:e},shift(e,t,n,r){return t==u?new U(e,et(r.read(r.pos,n.pos)),0):t==d?e.parent:t==h||t==ge||t==ye||t==p?new U(e,0,L):W.has(t)?new U(e,0,W.get(t)|e.flags&L):e},hash(e){return e.hash}}),nt=new e(e=>{for(let t=0;t<5;t++){if(e.next!=`print`.charCodeAt(t))return;e.advance()}if(!/\w/.test(String.fromCharCode(e.next)))for(let t=0;;t++){let n=e.peek(t);if(n!=E&&n!=D){n!=We&&n!=Ge&&n!=w&&n!=T&&n!=O&&e.acceptToken(se);return}}}),rt=new e((e,t)=>{let{flags:n}=t.context,r=n&z?M:j,i=(n&B)>0,a=!(n&V),o=(n&H)>0,s=e.pos;for(;!(e.next<0);)if(o&&e.next==k){if(e.peek(1)==k)e.advance(2);else{if(e.pos==s){e.acceptToken(p,1);return}break}}else if(a&&e.next==N){if(e.pos==s){e.advance();let t=e.next;t>=0&&(e.advance(),it(e,t)),e.acceptToken(fe);return}break}else if(e.next==N&&!a&&e.peek(1)>-1)e.advance(2);else if(e.next==r&&(!i||e.peek(1)==r&&e.peek(2)==r)){if(e.pos==s){e.acceptToken(m,i?3:1);return}break}else if(e.next==w){if(i)e.advance();else if(e.pos==s){e.acceptToken(m);return}break}else e.advance();e.pos>s&&e.acceptToken(de)});function it(e,t){if(t==P)for(let t=0;t<2&&e.next>=48&&e.next<=55;t++)e.advance();else if(t==Ke)for(let t=0;t<2&&I(e.next);t++)e.advance();else if(t==Je)for(let t=0;t<4&&I(e.next);t++)e.advance();else if(t==Ye)for(let t=0;t<8&&I(e.next);t++)e.advance();else if(t==qe&&e.next==k){for(e.advance();e.next>=0&&e.next!=A&&e.next!=j&&e.next!=M&&e.next!=w;)e.advance();e.next==A&&e.advance()}}var at=r({'async "*" "**" FormatConversion FormatSpec':o.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":o.controlKeyword,"in not and or is del":o.operatorKeyword,"from def class global nonlocal lambda":o.definitionKeyword,import:o.moduleKeyword,"with as print":o.keyword,Boolean:o.bool,None:o.null,VariableName:o.variableName,"CallExpression/VariableName":o.function(o.variableName),"FunctionDefinition/VariableName":o.function(o.definition(o.variableName)),"ClassDefinition/VariableName":o.definition(o.className),PropertyName:o.propertyName,"CallExpression/MemberExpression/PropertyName":o.function(o.propertyName),Comment:o.lineComment,Number:o.number,String:o.string,FormatString:o.special(o.string),Escape:o.escape,UpdateOp:o.updateOperator,"ArithOp!":o.arithmeticOperator,BitOp:o.bitwiseOperator,CompareOp:o.compareOperator,AssignOp:o.definitionOperator,Ellipsis:o.punctuation,At:o.meta,"( )":o.paren,"[ ]":o.squareBracket,"{ }":o.brace,".":o.derefOperator,", ;":o.separator}),ot={__proto__:null,await:44,or:54,and:56,in:60,not:62,is:64,if:70,else:72,lambda:76,yield:94,from:96,async:102,for:104,None:166,True:168,False:168,del:182,pass:186,break:190,continue:194,return:198,raise:206,import:210,as:212,global:216,nonlocal:218,assert:222,type:227,elif:240,while:244,try:250,except:252,finally:254,with:258,def:262,class:272,match:283,case:289},st=t.deserialize({version:14,states:"#!hQ`QeOOP$}OSOOO&WQtO'#HWOOQS'#Co'#CoOOQS'#Cp'#CpO'vQdO'#CnO*UQtO'#HVOOQS'#HW'#HWOOQS'#DU'#DUOOQS'#HV'#HVO*rQdO'#D_O+VQdO'#DfO+gQdO'#DjO+zOWO'#DwO,VOWO'#DxO.[QtO'#GwOOQS'#Gw'#GwO'vQdO'#GvO0ZQtO'#GvOOQS'#Ed'#EdO0rQdO'#EeOOQS'#Gu'#GuO0|QdO'#GtOOQV'#Gt'#GtO1XQdO'#F[OOQS'#G`'#G`O1^QdO'#FZOOQV'#IT'#ITOOQV'#Gs'#GsOOQV'#Fs'#FsQ`QeOOO'vQdO'#CqO1lQdO'#C}O1sQdO'#DRO2RQdO'#H[O2cQtO'#EXO'vQdO'#EYOOQS'#E['#E[OOQS'#E^'#E^OOQS'#E`'#E`O2wQdO'#EbO3_QdO'#EfO3rQdO'#EhO3zQtO'#EhO1XQdO'#EkO0rQdO'#EnO1XQdO'#EpO0rQdO'#EvO0rQdO'#EyO4VQdO'#E{O4^QdO'#FQO4iQdO'#E|O6kQdO'#FQO1XQdO'#FSO1XQdO'#FXO6rQdO'#F^P6yOdO'#GrPOOO)CBf)CBfOOQS'#Ce'#CeOOQS'#Cf'#CfOOQS'#Cg'#CgOOQS'#Ch'#ChOOQS'#Ci'#CiOOQS'#Cj'#CjOOQS'#Cl'#ClO'vQdO,59OO'vQdO,59OO'vQdO,59O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i%n%p%y&]&l&m&w&z'R'T'Z'_'p'q't'v'w(S([(b(h(k)O)b)i)k)t*P*U*`*j*m*q*v*y*{+O+P+S+Z+[+_+f+i+p,`,a,d,n,p,q,u,w,y,{,|-Q-g-i/P0a0b0cQ#qpW%Y!o!s0[0fQ%Z!pQ%[!qQ%^!tQ%h0ZS'z%]0`Q'|0]Q'}0^Q,r*wQ-s,sS.c-q/kR0h0jU#uq.e0iR({&_[cOn#g$j)y,VZ!xY#[#}$Q+_Q#W[Q#zrR$TxQ%d!yQ%k!}Q%q#RQ'n$|Q(Z%gQ(_%lQ(g%rQ(j%sQ+R(dQ,m*hQ-r,rQ.g-sR/T.fQ$StQ(V%eR*x(WQ.f-qR/u/kR#QZR#V[R%R!iQ%P!iV*i'q*j,nR%V!kT#]^#_Q%z#[R,}+_Q(q%zS+d(r(sQ-P+eQ-v,}S.h-w-xR/U.iT+`(o+bQ$`}Q&i$QQ)s'RR,Q)tQ$XzQ)[&sR+n)]Q$XzQ&q$WQ)[&sR+n)]Q#khW$Vz$W&s)]Q$[{Q&t$ZZ)V&n)W+k+l-TR$^|R)g&yXlOn)y,VQ$f!RR'S$gQ$n!UQ'U$hQ'^$lR)u'TR*_'cQ*]'cV-j,g-k.RQ.b-oQ.y.[R.z.]U.Z-o.[.]Q/O._Q/Y.nQ/_.tU/a.v/b/qQ/f.{Q/t/gQ/v/lU/x/m/z0SQ0T/|Q0X0RR0Y0UR.}.^R/[.n",nodeNames:`⚠ print Escape { Comment Script AssignStatement * BinaryExpression BitOp BitOp BitOp BitOp ArithOp ArithOp @ ArithOp ** UnaryExpression ArithOp BitOp AwaitExpression await ) ( ParenthesizedExpression BinaryExpression or and CompareOp in not is UnaryExpression ConditionalExpression if else LambdaExpression lambda ParamList VariableName AssignOp , : NamedExpression AssignOp YieldExpression yield from TupleExpression ComprehensionExpression async for LambdaExpression ] [ ArrayExpression ArrayComprehensionExpression } { DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression CallExpression ArgList AssignOp MemberExpression Subscript Slice . PropertyName Number String FormatString FormatReplacement FormatSelfDoc FormatConversion FormatSpec FormatReplacement FormatSelfDoc ContinuedString Ellipsis None Boolean TypeDef AssignOp UpdateStatement UpdateOp ExpressionStatement DeleteStatement del PassStatement pass BreakStatement break ContinueStatement continue ReturnStatement return YieldStatement PrintStatement RaiseStatement raise ImportStatement import as ScopeStatement global nonlocal AssertStatement assert TypeDefinition type TypeParamList TypeParam StatementGroup ; IfStatement Body elif WhileStatement while ForStatement TryStatement try except finally WithStatement with FunctionDefinition def ParamList AssignOp TypeDef ClassDefinition class DecoratedStatement Decorator At MatchStatement match MatchBody MatchClause case CapturePattern LiteralPattern ArithOp ArithOp AsPattern OrPattern LogicOp AttributePattern SequencePattern MappingPattern StarPattern ClassPattern PatternArgList KeywordPattern KeywordPattern Guard`,maxTerm:278,context:tt,nodeProps:[[`isolate`,-5,4,73,74,75,79,``],[`group`,-15,6,87,89,90,92,94,96,98,100,101,102,104,107,110,112,`Statement Statement`,-22,8,18,21,25,40,49,50,56,57,60,61,62,63,64,67,72,73,74,81,82,83,84,`Expression`,-10,116,118,121,123,124,128,130,135,137,140,`Statement`,-9,145,146,149,150,152,153,154,155,156,`Pattern`],[`openedBy`,23,`(`,54,`[`,58,`{`],[`closedBy`,24,`)`,55,`]`,59,`}`]],propSources:[at],skippedNodes:[0,4],repeatNodeCount:34,tokenData:"!2|~R!`OX%TXY%oY[%T[]%o]p%Tpq%oqr'ars)Yst*xtu%Tuv,dvw-hwx.Uxy/tyz0[z{0r{|2S|}2p}!O3W!O!P4_!P!Q:Z!Q!R;k!R![>_![!]Do!]!^Es!^!_FZ!_!`Gk!`!aHX!a!b%T!b!cIf!c!dJU!d!eK^!e!hJU!h!i!#f!i!tJU!t!u!,|!u!wJU!w!x!.t!x!}JU!}#O!0S#O#P&o#P#Q!0j#Q#R!1Q#R#SJU#S#T%T#T#UJU#U#VK^#V#YJU#Y#Z!#f#Z#fJU#f#g!,|#g#iJU#i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q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUk!0ZT!XZ&o`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc!0qT!WR&o`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj!1XV%mQ&o`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!1sO!]~k!1zV%lR&o`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!2fO![~i!2mT%vX&o`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T",tokenizers:[nt,Qe,Ze,rt,0,1,2,3,4],topRules:{Script:[0,5]},specialized:[{term:223,get:e=>ot[e]||-1}],tokenPrec:7467}),G=new a,K=new Set([`Script`,`Body`,`FunctionDefinition`,`ClassDefinition`,`LambdaExpression`,`ForStatement`,`MatchClause`]);function q(e){return(t,n,r)=>{if(r)return!1;let i=t.node.getChild(`VariableName`);return i&&n(i,e),!0}}var ct={FunctionDefinition:q(`function`),ClassDefinition:q(`class`),ForStatement(e,t,n){if(n){for(let n=e.node.firstChild;n;n=n.nextSibling)if(n.name==`VariableName`)t(n,`variable`);else if(n.name==`in`)break}},ImportStatement(e,t){let{node:n}=e,r=n.firstChild?.name==`from`;for(let e=n.getChild(`import`);e;e=e.nextSibling)e.name==`VariableName`&&e.nextSibling?.name!=`as`&&t(e,r?`variable`:`namespace`)},AssignStatement(e,t){for(let n=e.node.firstChild;n;n=n.nextSibling)if(n.name==`VariableName`)t(n,`variable`);else if(n.name==`:`||n.name==`AssignOp`)break},ParamList(e,t){for(let n=null,r=e.node.firstChild;r;r=r.nextSibling)r.name!=`VariableName`||n&&/\*|AssignOp/.test(n.name)||t(r,`variable`),n=r},CapturePattern:q(`variable`),AsPattern:q(`variable`),__proto__:null};function J(e,t){let n=G.get(t);if(n)return n;let r=[],a=!0;function o(t,n){let i=e.sliceString(t.from,t.to);r.push({label:i,type:n})}return t.cursor(i.IncludeAnonymous).iterate(t=>{if(t.name){let e=ct[t.name];if(e&&e(t,o,a)||!a&&K.has(t.name))return!1;a=!1}else if(t.to-t.from>8192){for(let n of J(e,t.node))r.push(n);return!1}}),G.set(t,r),r}var Y=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,X=[`String`,`FormatString`,`Comment`,`PropertyName`];function lt(e){let t=s(e.state).resolveInner(e.pos,-1);if(X.indexOf(t.name)>-1)return null;let n=t.name==`VariableName`||t.to-t.from<20&&Y.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let n=t;n;n=n.parent)K.has(n.name)&&(r=r.concat(J(e.state.doc,n)));return{options:r,from:n?t.from:e.pos,validFor:Y}}var ut=[`__annotations__`,`__builtins__`,`__debug__`,`__doc__`,`__import__`,`__name__`,`__loader__`,`__package__`,`__spec__`,`False`,`None`,`True`].map(e=>({label:e,type:`constant`})).concat(`ArithmeticError.AssertionError.AttributeError.BaseException.BlockingIOError.BrokenPipeError.BufferError.BytesWarning.ChildProcessError.ConnectionAbortedError.ConnectionError.ConnectionRefusedError.ConnectionResetError.DeprecationWarning.EOFError.Ellipsis.EncodingWarning.EnvironmentError.Exception.FileExistsError.FileNotFoundError.FloatingPointError.FutureWarning.GeneratorExit.IOError.ImportError.ImportWarning.IndentationError.IndexError.InterruptedError.IsADirectoryError.KeyError.KeyboardInterrupt.LookupError.MemoryError.ModuleNotFoundError.NameError.NotADirectoryError.NotImplemented.NotImplementedError.OSError.OverflowError.PendingDeprecationWarning.PermissionError.ProcessLookupError.RecursionError.ReferenceError.ResourceWarning.RuntimeError.RuntimeWarning.StopAsyncIteration.StopIteration.SyntaxError.SyntaxWarning.SystemError.SystemExit.TabError.TimeoutError.TypeError.UnboundLocalError.UnicodeDecodeError.UnicodeEncodeError.UnicodeError.UnicodeTranslateError.UnicodeWarning.UserWarning.ValueError.Warning.ZeroDivisionError`.split(`.`).map(e=>({label:e,type:`type`}))).concat([`bool`,`bytearray`,`bytes`,`classmethod`,`complex`,`float`,`frozenset`,`int`,`list`,`map`,`memoryview`,`object`,`range`,`set`,`staticmethod`,`str`,`super`,`tuple`,`type`].map(e=>({label:e,type:`class`}))).concat(`abs.aiter.all.anext.any.ascii.bin.breakpoint.callable.chr.compile.delattr.dict.dir.divmod.enumerate.eval.exec.exit.filter.format.getattr.globals.hasattr.hash.help.hex.id.input.isinstance.issubclass.iter.len.license.locals.max.min.next.oct.open.ord.pow.print.property.quit.repr.reversed.round.setattr.slice.sorted.sum.vars.zip`.split(`.`).map(e=>({label:e,type:`function`}))),dt=[l("def ${name}(${params}):\n ${}",{label:`def`,detail:`function`,type:`keyword`}),l("for ${name} in ${collection}:\n ${}",{label:`for`,detail:`loop`,type:`keyword`}),l("while ${}:\n ${}",{label:`while`,detail:`loop`,type:`keyword`}),l(`try:
2
+ \${}
3
+ except \${error}:
4
+ \${}`,{label:`try`,detail:`/ except block`,type:`keyword`}),l(`if \${}:
5
+
6
+ `,{label:`if`,detail:`block`,type:`keyword`}),l(`if \${}:
7
+ \${}
8
+ else:
9
+ \${}`,{label:`if`,detail:`/ else block`,type:`keyword`}),l("class ${name}:\n def __init__(self, ${params}):\n ${}",{label:`class`,detail:`definition`,type:`keyword`}),l("import ${module}",{label:`import`,detail:`statement`,type:`keyword`}),l("from ${module} import ${names}",{label:`from`,detail:`import`,type:`keyword`})],ft=oe(X,ae(ut.concat(dt)));function Z(e){let{node:t,pos:n}=e,r=e.lineIndent(n,-1),i=null;for(;;){let a=t.childBefore(n);if(!a)break;if(a.name==`Comment`)n=a.from;else if(a.name==`Body`||a.name==`MatchBody`)e.baseIndentFor(a)+e.unit<=r&&(i=a),t=a;else if(a.name==`MatchClause`)t=a;else if(a.type.is(`Statement`))t=a;else break}return i}function Q(e,t){let n=e.baseIndentFor(t),r=e.lineAt(e.pos,-1),i=r.from+r.text.length;return/^\s*($|#)/.test(r.text)&&e.node.to<i+100&&!/\S/.test(e.state.sliceDoc(i,e.node.to))&&e.lineIndent(e.pos,-1)<=n||/^\s*(else:|elif |except |finally:|case\s+[^=:]+:)/.test(e.textAfter)&&e.lineIndent(e.pos,-1)>n?null:n+e.unit}var $=ie.define({name:`python`,parser:st.configure({props:[te.add({Body:e=>Q(e,/^\s*(#|$)/.test(e.textAfter)&&Z(e)||e.node)??e.continue(),MatchBody:e=>Q(e,Z(e)||e.node)??e.continue(),IfStatement:e=>/^\s*(else:|elif )/.test(e.textAfter)?e.baseIndent:e.continue(),"ForStatement WhileStatement":e=>/^\s*else:/.test(e.textAfter)?e.baseIndent:e.continue(),TryStatement:e=>/^\s*(except[ :]|finally:|else:)/.test(e.textAfter)?e.baseIndent:e.continue(),MatchStatement:e=>/^\s*case /.test(e.textAfter)?e.baseIndent+e.unit:e.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":c({closing:`)`}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":c({closing:`}`}),"ArrayExpression ArrayComprehensionExpression":c({closing:`]`}),MemberExpression:e=>e.baseIndent+e.unit,"String FormatString":()=>null,Script:e=>{let t=Z(e);return(t&&Q(e,t))??e.continue()}}),ne.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":re,Body:(e,t)=>({from:e.from+1,to:e.to-(e.to==t.doc.length?0:1)}),"String FormatString":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),languageData:{closeBrackets:{brackets:[`(`,`[`,`{`,`'`,`"`,`'''`,`"""`],stringPrefixes:[`f`,`fr`,`rf`,`r`,`u`,`b`,`br`,`rb`,`F`,`FR`,`RF`,`R`,`U`,`B`,`BR`,`RB`]},commentTokens:{line:`#`},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:|case\s+[^:]*:?)$/}});function pt(){return new ee($,[$.data.of({autocomplete:lt}),$.data.of({autocomplete:ft})])}var mt=()=>pt();export{mt as load};
@@ -0,0 +1 @@
1
+ .m_dd3f7539{border:calc(.0625rem * var(--mantine-scale)) solid;border-radius:var(--mantine-radius-default);position:relative}.m_dd3f7539:where(:has(>[data-sticky])){overflow:clip}:where([data-mantine-color-scheme=light]) .m_dd3f7539{border-color:var(--mantine-color-gray-4)}:where([data-mantine-color-scheme=dark]) .m_dd3f7539{border-color:var(--mantine-color-dark-4)}.m_f2016866{margin:0;padding:0}.m_f2016866 li>p{margin:0}.m_f2016866 ul li,.m_f2016866 ol li{margin-top:calc(.125rem * var(--mantine-scale))}.m_f2016866 p{margin-bottom:calc(.4375rem * var(--mantine-scale))}.m_f2016866 h1,.m_f2016866 h2,.m_f2016866 h3,.m_f2016866 h4,.m_f2016866 h5,.m_f2016866 h6,.m_f2016866 p{margin-top:0}.m_c2204cc2{background-color:var(--mantine-color-body);border-radius:var(--mantine-radius-default)}.m_c2204cc2 .ProseMirror{padding:var(--mantine-spacing-md);outline:0}.m_c2204cc2 .ProseMirror>:last-child{margin-bottom:0}.m_c2204cc2 .ProseMirror p.is-editor-empty:first-of-type:before{content:attr(data-placeholder);pointer-events:none;-webkit-user-select:none;user-select:none;float:left;height:0;color:var(--mantine-color-placeholder)}.m_c2204cc2 div:not(.ProseMirror){z-index:2}.m_c2204cc2 pre{font-family:var(--mantine-font-family-monospace);border-radius:var(--mantine-radius-default);padding:var(--mantine-spacing-sm) var(--mantine-spacing-md)}:where([data-mantine-color-scheme=light]) .m_c2204cc2 pre{background-color:var(--mantine-color-gray-0);color:var(--mantine-color-gray-9);--code-color-comment:var(--mantine-color-gray-5);--code-color-var:var(--mantine-color-red-7);--code-color-number:var(--mantine-color-blue-7);--code-color-title:var(--mantine-color-pink-7);--code-color-keyword:var(--mantine-color-violet-7)}:where([data-mantine-color-scheme=dark]) .m_c2204cc2 pre{background-color:var(--mantine-color-dark-8);color:var(--mantine-color-dark-1);--code-color-comment:var(--mantine-color-dark-2);--code-color-var:var(--mantine-color-red-5);--code-color-number:var(--mantine-color-cyan-5);--code-color-title:var(--mantine-color-yellow-5);--code-color-keyword:var(--mantine-color-violet-3)}.m_c2204cc2 pre code{color:inherit;font-size:var(--mantine-font-size-sm);padding:0;background:0 0!important}.m_c2204cc2 pre .hljs-comment,.m_c2204cc2 pre .hljs-quote{color:var(--code-color-comment)}.m_c2204cc2 pre .hljs-variable,.m_c2204cc2 pre .hljs-template-variable,.m_c2204cc2 pre .hljs-attribute,.m_c2204cc2 pre .hljs-tag,.m_c2204cc2 pre .hljs-regexp,.m_c2204cc2 pre .hljs-link,.m_c2204cc2 pre .hljs-name,.m_c2204cc2 pre .hljs-selector-id,.m_c2204cc2 pre .hljs-selector-class{color:var(--code-color-var)}.m_c2204cc2 pre .hljs-number,.m_c2204cc2 pre .hljs-meta,.m_c2204cc2 pre .hljs-built_in,.m_c2204cc2 pre .hljs-builtin-name,.m_c2204cc2 pre .hljs-literal,.m_c2204cc2 pre .hljs-type,.m_c2204cc2 pre .hljs-params{color:var(--code-color-number)}.m_c2204cc2 pre .hljs-string,.m_c2204cc2 pre .hljs-symbol,.m_c2204cc2 pre .hljs-bullet{color:var(--code-color-var)}.m_c2204cc2 pre .hljs-title,.m_c2204cc2 pre .hljs-section{color:var(--code-color-title)}.m_c2204cc2 pre .hljs-keyword,.m_c2204cc2 pre .hljs-selector-tag{color:var(--code-color-keyword)}.m_c2204cc2 pre .hljs-emphasis{font-style:italic}.m_c2204cc2 pre .hljs-strong{font-weight:700}.m_c2204cc2 .tableWrapper{margin-bottom:var(--mantine-spacing-sm);overflow-x:auto}.m_c2204cc2 table{border-collapse:collapse;table-layout:fixed;width:100%;margin:0;overflow:hidden}:where([data-mantine-color-scheme=light]) .m_c2204cc2 table{--rte-table-border-color:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_c2204cc2 table{--rte-table-border-color:var(--mantine-color-dark-4)}.m_c2204cc2 td,.m_c2204cc2 th{min-width:1em;padding:7px var(--mantine-spacing-xs);border:1px solid var(--rte-table-border-color);vertical-align:top;box-sizing:border-box;position:relative}.m_c2204cc2 th{text-align:start}.m_c2204cc2 .selectedCell{background-color:color-mix(in srgb, var(--mantine-primary-color-light) 30%, transparent)}.m_c2204cc2 .column-resize-handle{width:calc(.25rem * var(--mantine-scale));pointer-events:none;background-color:var(--mantine-primary-color-filled);position:absolute;inset-block:0;inset-inline-end:calc(-.125rem * var(--mantine-scale))}.m_c2204cc2 .ProseMirror-gapcursor:after{border-top-color:var(--mantine-color-text)}.m_c2204cc2 [data-type=details]{align-items:flex-start;gap:var(--mantine-spacing-xs);margin-bottom:var(--mantine-spacing-sm);padding:var(--mantine-spacing-sm);border:1px solid var(--rte-details-border-color);border-radius:var(--mantine-radius-default);display:flex}:where([data-mantine-color-scheme=light]) .m_c2204cc2 [data-type=details]{--rte-details-border-color:var(--mantine-color-gray-3);--rte-details-button-hover:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=dark]) .m_c2204cc2 [data-type=details]{--rte-details-border-color:var(--mantine-color-dark-4);--rte-details-button-hover:var(--mantine-color-dark-5)}.m_c2204cc2 [data-type=details]>button{border-radius:var(--mantine-radius-sm);color:inherit;cursor:pointer;background-color:#0000;border:0;flex-shrink:0;justify-content:center;align-items:center;margin:0;padding:0;display:flex}.m_c2204cc2 [data-type=details]>button:empty{width:1.25rem;height:calc(1em * var(--mantine-line-height))}.m_c2204cc2 [data-type=details]>button:empty:hover{background-color:var(--rte-details-button-hover)}.m_c2204cc2 [data-type=details]>button:empty:before{content:"";border-style:solid;border-width:calc(.3125rem * var(--mantine-scale)) 0 calc(.3125rem * var(--mantine-scale)) calc(.375rem * var(--mantine-scale));border-color:#0000 #0000 #0000 currentColor;width:0;height:0}.m_c2204cc2 [data-type=details]:has(>div>[data-type=detailsContent]:not([hidden]))>button:empty:before{transform:rotate(90deg)}.m_c2204cc2 [data-type=details]>div{gap:var(--mantine-spacing-xs);flex-direction:column;width:100%;min-width:0;display:flex}.m_c2204cc2 [data-type=details] summary{font-weight:600}.m_c2204cc2 [data-type=detailsContent][hidden]{display:none}.m_c2204cc2 [data-type=detailsContent]>:last-child{margin-bottom:0}.m_8a991b4f{background-color:var(--mantine-color-body)}.m_23e1dc21{background-color:var(--mantine-color-body);padding:var(--mantine-spacing-xs)}.m_a81ab56{grid-template-columns:repeat(var(--rte-table-insert-columns,10), 1fr);gap:calc(.1875rem * var(--mantine-scale));display:grid}.m_a7fa972{width:calc(1.25rem * var(--mantine-scale));height:calc(1.25rem * var(--mantine-scale))}:where([data-mantine-color-scheme=light]) .m_a7fa972{background-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_a7fa972{background-color:var(--mantine-color-dark-5)}.m_a7fa972[data-active]{background-color:var(--mantine-primary-color-filled)}.m_45f260e4{margin-top:var(--mantine-spacing-xs);text-align:center;font-size:var(--mantine-font-size-sm);color:var(--mantine-color-dimmed)}.m_c2207da6{border-radius:var(--mantine-radius-default);cursor:default;justify-content:center;align-items:center;display:flex}.m_c2207da6:where([data-variant=default]){border:calc(.0625rem * var(--mantine-scale)) solid;min-width:calc(1.625rem * var(--mantine-scale));height:calc(1.625rem * var(--mantine-scale))}.m_c2207da6:where([data-variant=subtle]){--control-icon-size:calc(1.25rem * var(--mantine-scale));min-width:calc(2rem * var(--mantine-scale));height:calc(2rem * var(--mantine-scale))}:where([data-mantine-color-scheme=light]) .m_c2207da6{background-color:var(--mantine-color-white);border-color:var(--mantine-color-gray-4);color:var(--mantine-color-gray-7)}:where([data-mantine-color-scheme=dark]) .m_c2207da6{border-color:var(--mantine-color-dark-4);color:var(--mantine-color-dark-1)}:where([data-mantine-color-scheme=dark]) .m_c2207da6:where([data-variant=default]){background-color:var(--mantine-color-dark-6)}:where([data-mantine-color-scheme=dark]) .m_c2207da6:where([data-variant=subtle]){background-color:var(--mantine-color-dark-7)}.m_c2207da6:where([data-disabled]){cursor:not-allowed;opacity:.5}.m_c2207da6:where([data-interactive]:not([data-disabled])){cursor:pointer}@media (hover:hover){.m_c2207da6:where([data-interactive]:not([data-disabled])):hover{color:var(--mantine-color-bright)}:where([data-mantine-color-scheme=light]) .m_c2207da6:where([data-interactive]:not([data-disabled])):hover:where([data-variant=default]){background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=light]) .m_c2207da6:where([data-interactive]:not([data-disabled])):hover:where([data-variant=subtle]){background-color:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=dark]) .m_c2207da6:where([data-interactive]:not([data-disabled])):hover{background-color:var(--mantine-color-dark-5)}}@media (hover:none){.m_c2207da6:where([data-interactive]:not([data-disabled])):active{color:var(--mantine-color-bright)}:where([data-mantine-color-scheme=light]) .m_c2207da6:where([data-interactive]:not([data-disabled])):active:where([data-variant=default]){background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=light]) .m_c2207da6:where([data-interactive]:not([data-disabled])):active:where([data-variant=subtle]){background-color:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=dark]) .m_c2207da6:where([data-interactive]:not([data-disabled])):active{background-color:var(--mantine-color-dark-5)}}.m_c2207da6:where([data-active]){background-color:var(--mantine-primary-color-light);color:var(--mantine-primary-color-light-color)}@media (hover:hover){.m_c2207da6:where([data-active]):hover{background-color:var(--mantine-primary-color-light-hover)}}@media (hover:none){.m_c2207da6:where([data-active]):active{background-color:var(--mantine-primary-color-light-hover)}}.m_9cdfeb3f{width:var(--control-icon-size,16px);height:var(--control-icon-size,16px)}.m_2ab47ef2{background-color:var(--mantine-color-body);display:flex}.m_2ab47ef2:where([data-variant=default]) :where([data-rich-text-editor-control]){border-radius:0}.m_2ab47ef2:where([data-variant=default]) :where([data-rich-text-editor-control]):where(:not(:last-of-type)){border-inline-end-width:0}.m_2ab47ef2:where([data-variant=default]) :where([data-rich-text-editor-control]):where(:last-of-type){border-start-end-radius:var(--mantine-radius-default);border-end-end-radius:var(--mantine-radius-default)}.m_2ab47ef2:where([data-variant=default]) :where([data-rich-text-editor-control]):where(:first-of-type){border-start-start-radius:var(--mantine-radius-default);border-end-start-radius:var(--mantine-radius-default)}.m_b67b711e{display:flex}.m_296cf94c{border-inline-end:0;border-start-end-radius:0;border-end-end-radius:0}.m_cfef614{border:calc(.0625rem * var(--mantine-scale)) solid;color:var(--mantine-color-text);height:calc(1.5rem * var(--mantine-scale));width:calc(1.5rem * var(--mantine-scale));border-radius:var(--mantine-radius-default);justify-content:center;align-items:center;display:flex}:where([data-mantine-color-scheme=light]) .m_cfef614{background-color:var(--mantine-color-white);border-color:var(--mantine-color-gray-4)}:where([data-mantine-color-scheme=dark]) .m_cfef614{background-color:var(--mantine-color-dark-7);border-color:var(--mantine-color-dark-4)}.m_cfef614:where([data-active]){background-color:var(--mantine-primary-color-light);color:var(--mantine-primary-color-filled)}@media (hover:hover){.m_cfef614:where([data-active]):hover{background-color:var(--mantine-primary-color-light-hover)}}@media (hover:none){.m_cfef614:where([data-active]):active{background-color:var(--mantine-primary-color-light-hover)}}.m_3b28e7bb{border-start-start-radius:0;border-end-start-radius:0}.m_4574a3c4{align-items:center;gap:var(--mantine-spacing-sm);top:var(--rte-sticky-offset,0px);background-color:var(--mantine-color-body);z-index:1;border-bottom:calc(.0625rem * var(--mantine-scale)) solid;border-start-start-radius:var(--mantine-radius-default);border-start-end-radius:var(--mantine-radius-default);flex-wrap:wrap;display:flex}.m_4574a3c4:where([data-variant=default]){padding:var(--mantine-spacing-xs) var(--mantine-spacing-md)}.m_4574a3c4:where([data-variant=subtle]){padding:calc(.25rem * var(--mantine-scale));row-gap:0}:where([data-mantine-color-scheme=light]) .m_4574a3c4{border-color:var(--mantine-color-gray-4)}:where([data-mantine-color-scheme=dark]) .m_4574a3c4{border-color:var(--mantine-color-dark-4)}.m_4574a3c4:where([data-sticky]){position:sticky}.m_8b44009a{padding:0;padding-inline-start:0;list-style-type:none}.m_8b44009a :where(li){margin:0;padding:0;display:flex}.m_8b44009a :where(li[data-checked]>div){flex:auto;min-width:0}.m_8b44009a :where(ul){margin-top:calc(.3125rem * var(--mantine-scale))}.m_8b44009a p{margin:0;padding:0}.m_8b44009a :where(label){display:inline-block}.m_8b44009a :where(input){cursor:pointer;appearance:none;width:calc(1.125rem * var(--mantine-scale));height:calc(1.125rem * var(--mantine-scale));border:calc(.0625rem * var(--mantine-scale)) solid;border-radius:var(--mantine-radius-sm);vertical-align:middle;position:relative}:where([data-mantine-color-scheme=light]) .m_8b44009a :where(input){background-color:var(--mantine-color-white);border-color:var(--mantine-color-gray-4)}:where([data-mantine-color-scheme=dark]) .m_8b44009a :where(input){background-color:var(--mantine-color-dark-6);border-color:var(--mantine-color-dark-4)}.m_8b44009a :where(input):checked{background-color:var(--mantine-primary-color-filled);border-color:var(--mantine-primary-color-filled)}.m_8b44009a :where(input):checked:before{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAxMCA3Ij48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNCA0LjU4NkwxLjcwNyAyLjI5M0ExIDEgMCAxMC4yOTMgMy43MDdsMyAzYS45OTcuOTk3IDAgMDAxLjQxNCAwbDUtNUExIDEgMCAxMDguMjkzLjI5M0w0IDQuNTg2eiIvPjwvc3ZnPg==);background-repeat:no-repeat;background-size:calc(.625rem * var(--mantine-scale));background-position:50%;position:absolute;inset:0}.m_8b44009a :where(li>label){margin-inline-end:var(--mantine-spacing-sm)}.m_c2204cc2 .mantine-upload-image-wrapper{max-width:100%;line-height:0;position:relative}.m_c2204cc2 .mantine-upload-image-wrapper img{max-width:100%;height:auto}.m_c2204cc2 .mantine-upload-image-wrapper:where([data-uploading]) img{opacity:.6}.m_c2204cc2 .mantine-upload-image-wrapper:where([data-uploading]):after{content:"";width:calc(1.5rem * var(--mantine-scale));height:calc(1.5rem * var(--mantine-scale));margin-top:calc(-.75rem * var(--mantine-scale));margin-left:calc(-.75rem * var(--mantine-scale));border:3px solid var(--mantine-color-gray-3);border-top-color:var(--mantine-primary-color-filled);border-radius:50%;animation:.6s linear infinite m_98c9c202;position:absolute;top:50%;left:50%}.m_c2204cc2 .mantine-upload-image-wrapper:where([data-upload-error]) img{opacity:.3}.m_c2204cc2 .mantine-upload-image-wrapper:where([data-upload-error]):after{content:"";background-color:rgba(var(--mantine-color-red-filled-rgb,224, 49, 49), .08);border:2px solid var(--mantine-color-red-filled);border-radius:var(--mantine-radius-default);position:absolute;inset:0}@keyframes m_98c9c202{to{transform:rotate(360deg)}}