chrome-devtools-frontend 1.0.1367881 → 1.0.1376716

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 (1157) hide show
  1. package/.vscode/extensions.json +4 -4
  2. package/config/gni/devtools_grd_files.gni +30 -8
  3. package/config/gni/devtools_image_files.gni +3 -0
  4. package/docs/README.md +1 -5
  5. package/docs/checklist/javascript.md +45 -8
  6. package/docs/contributing/design.md +1 -1
  7. package/docs/contributing/settings-experiments-features.md +1 -1
  8. package/docs/cookbook/README.md +12 -0
  9. package/docs/cookbook/create_new_issues.md +91 -0
  10. package/docs/cookbook/dependencies.md +103 -0
  11. package/docs/cookbook/localization.md +320 -0
  12. package/docs/cookbook/navbar.md +8 -0
  13. package/docs/cookbook/release_management.md +60 -0
  14. package/docs/cookbook/uma_metrics.md +121 -0
  15. package/docs/dependencies.md +1 -100
  16. package/docs/l10n.md +1 -295
  17. package/docs/release_management.md +1 -53
  18. package/extensions/cxx_debugging/e2e/standalone/MemoryInspector_test.ts +1 -1
  19. package/extensions/cxx_debugging/e2e/tsconfig.json +1 -0
  20. package/extensions/cxx_debugging/src/ExtensionOptions.ts +6 -7
  21. package/extensions/cxx_debugging/tests/CreditsItem_test.ts +4 -4
  22. package/front_end/.eslintrc.js +0 -1
  23. package/front_end/Images/src/center-focus-weak.svg +1 -0
  24. package/front_end/Images/src/history.svg +3 -0
  25. package/front_end/Images/src/home.svg +1 -0
  26. package/front_end/core/common/Color.ts +10 -0
  27. package/front_end/core/common/ResourceType.test.ts +26 -26
  28. package/front_end/core/common/ResourceType.ts +21 -12
  29. package/front_end/core/common/Revealer.ts +5 -0
  30. package/front_end/core/common/Settings.ts +5 -1
  31. package/front_end/core/host/AidaClient.ts +58 -0
  32. package/front_end/core/host/InspectorFrontendHost.ts +1 -1
  33. package/front_end/core/host/InspectorFrontendHostAPI.ts +8 -1
  34. package/front_end/core/host/UserMetrics.ts +16 -13
  35. package/front_end/core/i18n/locales/af.json +598 -109
  36. package/front_end/core/i18n/locales/am.json +607 -118
  37. package/front_end/core/i18n/locales/ar.json +888 -399
  38. package/front_end/core/i18n/locales/as.json +603 -114
  39. package/front_end/core/i18n/locales/az.json +606 -117
  40. package/front_end/core/i18n/locales/be.json +599 -110
  41. package/front_end/core/i18n/locales/bg.json +598 -109
  42. package/front_end/core/i18n/locales/bn.json +609 -120
  43. package/front_end/core/i18n/locales/bs.json +607 -118
  44. package/front_end/core/i18n/locales/ca.json +601 -112
  45. package/front_end/core/i18n/locales/cs.json +605 -116
  46. package/front_end/core/i18n/locales/cy.json +603 -114
  47. package/front_end/core/i18n/locales/da.json +599 -110
  48. package/front_end/core/i18n/locales/de.json +604 -115
  49. package/front_end/core/i18n/locales/el.json +596 -107
  50. package/front_end/core/i18n/locales/en-GB.json +599 -110
  51. package/front_end/core/i18n/locales/es-419.json +600 -111
  52. package/front_end/core/i18n/locales/es.json +602 -113
  53. package/front_end/core/i18n/locales/et.json +601 -112
  54. package/front_end/core/i18n/locales/eu.json +605 -116
  55. package/front_end/core/i18n/locales/fa.json +609 -120
  56. package/front_end/core/i18n/locales/fi.json +598 -109
  57. package/front_end/core/i18n/locales/fil.json +605 -116
  58. package/front_end/core/i18n/locales/fr-CA.json +602 -113
  59. package/front_end/core/i18n/locales/fr.json +600 -111
  60. package/front_end/core/i18n/locales/gl.json +595 -106
  61. package/front_end/core/i18n/locales/gu.json +605 -116
  62. package/front_end/core/i18n/locales/he.json +603 -114
  63. package/front_end/core/i18n/locales/hi.json +600 -111
  64. package/front_end/core/i18n/locales/hr.json +600 -111
  65. package/front_end/core/i18n/locales/hu.json +600 -111
  66. package/front_end/core/i18n/locales/hy.json +599 -110
  67. package/front_end/core/i18n/locales/id.json +603 -114
  68. package/front_end/core/i18n/locales/is.json +598 -109
  69. package/front_end/core/i18n/locales/it.json +602 -113
  70. package/front_end/core/i18n/locales/ja.json +596 -107
  71. package/front_end/core/i18n/locales/ka.json +597 -108
  72. package/front_end/core/i18n/locales/kk.json +884 -395
  73. package/front_end/core/i18n/locales/km.json +605 -116
  74. package/front_end/core/i18n/locales/kn.json +606 -117
  75. package/front_end/core/i18n/locales/ko.json +591 -102
  76. package/front_end/core/i18n/locales/ky.json +599 -110
  77. package/front_end/core/i18n/locales/lo.json +608 -119
  78. package/front_end/core/i18n/locales/lt.json +597 -108
  79. package/front_end/core/i18n/locales/lv.json +606 -117
  80. package/front_end/core/i18n/locales/mk.json +885 -396
  81. package/front_end/core/i18n/locales/ml.json +601 -112
  82. package/front_end/core/i18n/locales/mn.json +599 -110
  83. package/front_end/core/i18n/locales/mr.json +601 -112
  84. package/front_end/core/i18n/locales/ms.json +602 -113
  85. package/front_end/core/i18n/locales/my.json +604 -115
  86. package/front_end/core/i18n/locales/ne.json +609 -120
  87. package/front_end/core/i18n/locales/nl.json +597 -108
  88. package/front_end/core/i18n/locales/no.json +601 -112
  89. package/front_end/core/i18n/locales/or.json +601 -112
  90. package/front_end/core/i18n/locales/pa.json +600 -111
  91. package/front_end/core/i18n/locales/pl.json +601 -112
  92. package/front_end/core/i18n/locales/pt-PT.json +600 -111
  93. package/front_end/core/i18n/locales/pt.json +596 -107
  94. package/front_end/core/i18n/locales/ro.json +601 -112
  95. package/front_end/core/i18n/locales/ru.json +609 -120
  96. package/front_end/core/i18n/locales/si.json +603 -114
  97. package/front_end/core/i18n/locales/sk.json +599 -110
  98. package/front_end/core/i18n/locales/sl.json +601 -112
  99. package/front_end/core/i18n/locales/sq.json +602 -113
  100. package/front_end/core/i18n/locales/sr-Latn.json +598 -109
  101. package/front_end/core/i18n/locales/sr.json +598 -109
  102. package/front_end/core/i18n/locales/sv.json +600 -111
  103. package/front_end/core/i18n/locales/sw.json +606 -117
  104. package/front_end/core/i18n/locales/ta.json +892 -403
  105. package/front_end/core/i18n/locales/te.json +604 -115
  106. package/front_end/core/i18n/locales/th.json +597 -108
  107. package/front_end/core/i18n/locales/tr.json +601 -112
  108. package/front_end/core/i18n/locales/uk.json +598 -109
  109. package/front_end/core/i18n/locales/ur.json +604 -115
  110. package/front_end/core/i18n/locales/uz.json +599 -110
  111. package/front_end/core/i18n/locales/vi.json +602 -113
  112. package/front_end/core/i18n/locales/zh-HK.json +599 -110
  113. package/front_end/core/i18n/locales/zh-TW.json +595 -106
  114. package/front_end/core/i18n/locales/zh.json +601 -112
  115. package/front_end/core/i18n/locales/zu.json +607 -118
  116. package/front_end/core/root/Runtime.ts +15 -7
  117. package/front_end/{panels/animation → core/sdk}/AnimationModel.test.ts +85 -6
  118. package/front_end/{panels/animation → core/sdk}/AnimationModel.ts +302 -36
  119. package/front_end/core/sdk/CSSContainerQuery.ts +4 -2
  120. package/front_end/core/sdk/CSSMatchedStyles.test.ts +4 -0
  121. package/front_end/core/sdk/CSSMatchedStyles.ts +13 -10
  122. package/front_end/core/sdk/CSSMetadata.ts +6 -0
  123. package/front_end/core/sdk/CSSStyleDeclaration.test.ts +10 -0
  124. package/front_end/core/sdk/CSSStyleDeclaration.ts +1 -1
  125. package/front_end/core/sdk/DOMModel.ts +3 -3
  126. package/front_end/core/sdk/DebuggerModel.test.ts +2 -0
  127. package/front_end/core/sdk/EmulationModel.ts +32 -0
  128. package/front_end/core/sdk/EnhancedTracesParser.test.ts +4 -4
  129. package/front_end/core/sdk/EnhancedTracesParser.ts +4 -5
  130. package/front_end/core/sdk/RehydratingConnection.test.ts +190 -0
  131. package/front_end/core/sdk/RehydratingConnection.ts +310 -0
  132. package/front_end/core/sdk/RehydratingObject.ts +26 -2
  133. package/front_end/core/sdk/RuntimeModel.ts +31 -0
  134. package/front_end/core/sdk/Script.ts +1 -1
  135. package/front_end/core/sdk/TraceObject.ts +8 -0
  136. package/front_end/core/sdk/sdk.ts +2 -0
  137. package/front_end/devtools_compatibility.js +0 -1
  138. package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +95 -74
  139. package/front_end/entrypoints/main/MainImpl.ts +10 -0
  140. package/front_end/generated/InspectorBackendCommands.js +10 -9
  141. package/front_end/generated/SupportedCSSProperties.js +15 -1
  142. package/front_end/generated/protocol-mapping.d.ts +4 -3
  143. package/front_end/generated/protocol-proxy-api.d.ts +4 -3
  144. package/front_end/generated/protocol.ts +31 -2
  145. package/front_end/legacy_test_runner/network_test_runner/network_test_runner.js +1 -0
  146. package/front_end/models/har/HARFormat.ts +1 -0
  147. package/front_end/models/har/Importer.test.ts +16 -2
  148. package/front_end/models/har/Importer.ts +2 -2
  149. package/front_end/models/har/Log.test.ts +23 -0
  150. package/front_end/models/har/Log.ts +6 -4
  151. package/front_end/models/heap_snapshot_model/HeapSnapshotModel.ts +4 -2
  152. package/front_end/models/issues_manager/AttributionReportingIssue.ts +58 -18
  153. package/front_end/models/issues_manager/CookieIssue.ts +12 -0
  154. package/front_end/models/issues_manager/descriptions/arInvalidInfoHeader.md +5 -0
  155. package/front_end/models/issues_manager/descriptions/arNavigationRegistrationUniqueScopeAlreadySet.md +5 -0
  156. package/front_end/models/issues_manager/descriptions/arNoRegisterOsSourceHeader.md +5 -0
  157. package/front_end/models/issues_manager/descriptions/arNoRegisterOsTriggerHeader.md +5 -0
  158. package/front_end/models/issues_manager/descriptions/arNoRegisterSourceHeader.md +5 -0
  159. package/front_end/models/issues_manager/descriptions/arNoRegisterTriggerHeader.md +5 -0
  160. package/front_end/models/issues_manager/descriptions/arNoWebOrOsSupport.md +4 -0
  161. package/front_end/models/issues_manager/descriptions/placeholderDescriptionForInvisibleIssues.md +3 -0
  162. package/front_end/models/javascript_metadata/NativeFunctions.js +69 -18
  163. package/front_end/models/live-metrics/LiveMetrics.ts +116 -19
  164. package/front_end/models/live-metrics/web-vitals-injected/OnEachInteraction.ts +24 -61
  165. package/front_end/models/live-metrics/web-vitals-injected/spec/spec.ts +49 -21
  166. package/front_end/models/live-metrics/web-vitals-injected/web-vitals-injected.ts +43 -5
  167. package/front_end/models/timeline_model/TimelineModelFilter.ts +2 -2
  168. package/front_end/models/trace/Processor.ts +5 -1
  169. package/front_end/models/trace/extras/ThirdParties.test.ts +117 -0
  170. package/front_end/models/trace/extras/ThirdParties.ts +207 -0
  171. package/front_end/models/trace/extras/extras.ts +1 -0
  172. package/front_end/models/trace/handlers/FramesHandler.ts +12 -5
  173. package/front_end/models/trace/handlers/InitiatorsHandler.test.ts +40 -0
  174. package/front_end/models/trace/handlers/InitiatorsHandler.ts +9 -0
  175. package/front_end/models/trace/handlers/LayoutShiftsHandler.ts +17 -0
  176. package/front_end/models/trace/handlers/NetworkRequestsHandler.ts +2 -2
  177. package/front_end/models/trace/handlers/RendererHandler.test.ts +4 -4
  178. package/front_end/models/trace/helpers/Timing.test.ts +29 -0
  179. package/front_end/models/trace/helpers/Timing.ts +18 -0
  180. package/front_end/models/trace/helpers/TreeHelpers.test.ts +52 -34
  181. package/front_end/models/trace/helpers/TreeHelpers.ts +135 -45
  182. package/front_end/models/trace/insights/CumulativeLayoutShift.test.ts +22 -0
  183. package/front_end/models/trace/insights/CumulativeLayoutShift.ts +62 -20
  184. package/front_end/models/trace/insights/ThirdPartyWeb.ts +13 -183
  185. package/front_end/models/trace/lantern/core/NetworkAnalyzer.test.ts +4 -4
  186. package/front_end/models/trace/lantern/core/NetworkAnalyzer.ts +9 -5
  187. package/front_end/models/trace/lantern/simulation/Simulator.ts +1 -1
  188. package/front_end/models/trace/lantern/testing/MetricTestUtils.ts +4 -0
  189. package/front_end/models/trace/types/TraceEvents.ts +68 -2
  190. package/front_end/panels/accessibility/AccessibilitySidebarView.ts +1 -1
  191. package/front_end/panels/animation/AnimationGroupPreviewUI.ts +3 -3
  192. package/front_end/panels/animation/AnimationTimeline.test.ts +15 -15
  193. package/front_end/panels/animation/AnimationTimeline.ts +85 -53
  194. package/front_end/panels/animation/AnimationUI.ts +5 -6
  195. package/front_end/panels/animation/animation-meta.ts +15 -0
  196. package/front_end/panels/animation/animation.ts +0 -4
  197. package/front_end/panels/application/ApplicationPanelSidebar.test.ts +16 -0
  198. package/front_end/panels/application/ApplicationPanelSidebar.ts +13 -9
  199. package/front_end/panels/application/ExtensionStorageItemsView.test.ts +72 -0
  200. package/front_end/panels/application/ExtensionStorageItemsView.ts +23 -1
  201. package/front_end/panels/application/ExtensionStorageModel.test.ts +15 -0
  202. package/front_end/panels/application/ExtensionStorageModel.ts +10 -1
  203. package/front_end/panels/application/OpenedWindowDetailsView.ts +2 -3
  204. package/front_end/panels/application/SharedStorageItemsView.test.ts +1 -20
  205. package/front_end/panels/application/components/BackForwardCacheStrings.ts +1 -0
  206. package/front_end/panels/application/components/BounceTrackingMitigationsView.ts +3 -7
  207. package/front_end/panels/application/components/EndpointsGrid.ts +1 -2
  208. package/front_end/panels/application/components/FrameDetailsView.ts +8 -8
  209. package/front_end/panels/application/components/InterestGroupAccessGrid.ts +4 -8
  210. package/front_end/panels/application/components/PermissionsPolicySection.ts +3 -4
  211. package/front_end/panels/application/components/ReportsGrid.ts +2 -4
  212. package/front_end/panels/application/components/SharedStorageAccessGrid.ts +4 -9
  213. package/front_end/panels/application/components/StackTrace.ts +6 -9
  214. package/front_end/panels/application/components/StorageMetadataView.ts +1 -2
  215. package/front_end/panels/application/components/TrustTokensView.ts +1 -2
  216. package/front_end/panels/application/preloading/PreloadingView.ts +5 -5
  217. package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.test.ts +2 -2
  218. package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts +3 -9
  219. package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.ts +2 -5
  220. package/front_end/panels/application/preloading/components/PreloadingDisabledInfobar.ts +2 -2
  221. package/front_end/panels/application/preloading/components/PreloadingGrid.test.ts +1 -1
  222. package/front_end/panels/application/preloading/components/PreloadingGrid.ts +3 -6
  223. package/front_end/panels/application/preloading/components/PreloadingMismatchedHeadersGrid.ts +1 -3
  224. package/front_end/panels/application/preloading/components/PreloadingString.ts +5 -0
  225. package/front_end/panels/application/preloading/components/RuleSetDetailsView.ts +2 -3
  226. package/front_end/panels/application/preloading/components/RuleSetGrid.ts +7 -10
  227. package/front_end/panels/autofill/AutofillView.ts +2 -5
  228. package/front_end/panels/console/ConsoleView.ts +1 -1
  229. package/front_end/panels/css_overview/components/CSSOverviewStartView.ts +3 -5
  230. package/front_end/panels/elements/AccessibilityTreeUtils.ts +4 -6
  231. package/front_end/panels/elements/CSSRuleValidator.ts +0 -5
  232. package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +0 -2
  233. package/front_end/panels/elements/ElementStatePaneWidget.ts +5 -0
  234. package/front_end/panels/elements/ElementsPanel.ts +4 -4
  235. package/front_end/panels/elements/ElementsTreeElement.ts +1 -1
  236. package/front_end/panels/elements/StylePropertyTreeElement.test.ts +90 -0
  237. package/front_end/panels/elements/StylePropertyTreeElement.ts +29 -2
  238. package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +3 -5
  239. package/front_end/panels/elements/components/LayoutPane.ts +2 -3
  240. package/front_end/panels/elements/components/QueryContainer.ts +3 -5
  241. package/front_end/panels/elements/stylePropertiesTreeOutline.css +13 -0
  242. package/front_end/panels/emulation/components/DeviceSizeInputElement.ts +0 -2
  243. package/front_end/panels/event_listeners/EventListenersView.ts +2 -2
  244. package/front_end/panels/event_listeners/eventListenersView.css +4 -3
  245. package/front_end/panels/explain/components/ConsoleInsight.test.ts +56 -8
  246. package/front_end/panels/explain/components/ConsoleInsight.ts +53 -36
  247. package/front_end/panels/explain/explain-meta.ts +1 -12
  248. package/front_end/panels/freestyler/AiAgent.test.ts +92 -12
  249. package/front_end/panels/freestyler/AiAgent.ts +341 -56
  250. package/front_end/panels/freestyler/DrJonesFileAgent.test.ts +70 -43
  251. package/front_end/panels/freestyler/DrJonesFileAgent.ts +75 -79
  252. package/front_end/panels/freestyler/DrJonesNetworkAgent.test.ts +135 -72
  253. package/front_end/panels/freestyler/DrJonesNetworkAgent.ts +219 -117
  254. package/front_end/panels/freestyler/DrJonesPerformanceAgent.test.ts +102 -56
  255. package/front_end/panels/freestyler/DrJonesPerformanceAgent.ts +118 -114
  256. package/front_end/panels/freestyler/FreestylerAgent.test.ts +108 -100
  257. package/front_end/panels/freestyler/FreestylerAgent.ts +65 -183
  258. package/front_end/panels/freestyler/FreestylerEvaluateAction.test.ts +40 -36
  259. package/front_end/panels/freestyler/FreestylerEvaluateAction.ts +15 -14
  260. package/front_end/panels/freestyler/FreestylerPanel.test.ts +548 -15
  261. package/front_end/panels/freestyler/FreestylerPanel.ts +385 -132
  262. package/front_end/panels/freestyler/components/FreestylerChatUi.test.ts +34 -4
  263. package/front_end/panels/freestyler/components/FreestylerChatUi.ts +186 -92
  264. package/front_end/panels/freestyler/components/UserActionRow.test.ts +60 -0
  265. package/front_end/panels/freestyler/components/{ProvideFeedback.ts → UserActionRow.ts} +42 -16
  266. package/front_end/panels/freestyler/components/freestylerChatUi.css +100 -97
  267. package/front_end/panels/freestyler/components/userActionRow.css +149 -0
  268. package/front_end/panels/freestyler/freestyler-meta.ts +50 -23
  269. package/front_end/panels/freestyler/freestyler.ts +1 -1
  270. package/front_end/panels/issues/AttributionReportingIssueDetailsView.ts +14 -0
  271. package/front_end/panels/issues/IssueAggregator.ts +10 -1
  272. package/front_end/panels/issues/components/ElementsPanelLink.ts +0 -1
  273. package/front_end/panels/issues/components/HideIssuesMenu.ts +12 -4
  274. package/front_end/panels/lighthouse/LighthouseStartView.ts +1 -1
  275. package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorController.ts +2 -2
  276. package/front_end/panels/linear_memory_inspector/components/LinearMemoryHighlightChipList.ts +1 -2
  277. package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts +7 -12
  278. package/front_end/panels/linear_memory_inspector/components/LinearMemoryValueInterpreter.ts +3 -4
  279. package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplay.ts +1 -2
  280. package/front_end/panels/network/BinaryResourceView.ts +3 -2
  281. package/front_end/panels/network/NetworkDataGridNode.test.ts +29 -0
  282. package/front_end/panels/network/NetworkDataGridNode.ts +56 -5
  283. package/front_end/panels/network/NetworkLogView.test.ts +29 -0
  284. package/front_end/panels/network/NetworkLogView.ts +2 -2
  285. package/front_end/panels/network/NetworkPanel.test.ts +3 -22
  286. package/front_end/panels/network/NetworkPanel.ts +26 -7
  287. package/front_end/panels/network/NetworkWaterfallColumn.ts +2 -0
  288. package/front_end/panels/network/RequestResponseView.test.ts +2 -2
  289. package/front_end/panels/network/RequestResponseView.ts +6 -10
  290. package/front_end/panels/network/ResourceWebSocketFrameView.ts +3 -1
  291. package/front_end/panels/network/components/HeaderSectionRow.ts +11 -12
  292. package/front_end/panels/network/components/RequestHeaderSection.ts +4 -9
  293. package/front_end/panels/network/components/RequestHeadersView.css +7 -0
  294. package/front_end/panels/network/components/RequestTrustTokensView.ts +1 -1
  295. package/front_end/panels/network/network.ts +0 -2
  296. package/front_end/panels/network/networkConfigView.css +8 -7
  297. package/front_end/panels/network/networkLogView.css +32 -2
  298. package/front_end/panels/network/networkPanel.css +2 -1
  299. package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +11 -10
  300. package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +12 -8
  301. package/front_end/panels/profiler/HeapSnapshotProxy.ts +6 -6
  302. package/front_end/panels/protocol_monitor/components/JSONEditor.ts +5 -5
  303. package/front_end/panels/recorder/components/StartView.ts +4 -5
  304. package/front_end/panels/recorder/components/recordingView.css +1 -4
  305. package/front_end/panels/recorder/components/selectButton.css +6 -50
  306. package/front_end/panels/recorder/models/RecorderShortcutHelper.ts +1 -1
  307. package/front_end/panels/recorder/models/RecordingSession.ts +4 -4
  308. package/front_end/panels/recorder/recorderController.css +38 -18
  309. package/front_end/panels/screencast/ScreencastApp.ts +1 -1
  310. package/front_end/panels/screencast/ScreencastView.ts +1 -1
  311. package/front_end/panels/search/SearchView.ts +0 -2
  312. package/front_end/panels/search/searchView.css +5 -1
  313. package/front_end/panels/security/CookieReportTreeElement.ts +26 -0
  314. package/front_end/panels/security/OriginTreeElement.ts +20 -7
  315. package/front_end/panels/security/SecurityPanel.ts +64 -15
  316. package/front_end/panels/security/{SecurityAndPrivacyPanelSidebar.ts → SecurityPanelSidebar.ts} +24 -13
  317. package/front_end/panels/security/SecurityPanelSidebarTreeElement.ts +1 -12
  318. package/front_end/panels/security/sidebar.css +40 -1
  319. package/front_end/panels/sensors/SensorsView.ts +27 -0
  320. package/front_end/panels/sensors/sensors-meta.ts +59 -0
  321. package/front_end/panels/settings/AISettingsTab.test.ts +79 -11
  322. package/front_end/panels/settings/AISettingsTab.ts +109 -22
  323. package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +44 -30
  324. package/front_end/panels/settings/KeybindsSettingsTab.ts +34 -17
  325. package/front_end/panels/settings/SettingsScreen.ts +1 -1
  326. package/front_end/panels/settings/aiSettingsTab.css +13 -0
  327. package/front_end/panels/settings/components/SyncSection.ts +1 -3
  328. package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +51 -29
  329. package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +24 -12
  330. package/front_end/panels/settings/emulation/devicesSettingsTab.css +11 -10
  331. package/front_end/panels/settings/frameworkIgnoreListSettingsTab.css +14 -42
  332. package/front_end/panels/settings/keybindsSettingsTab.css +51 -89
  333. package/front_end/panels/settings/settingsScreen.css +30 -6
  334. package/front_end/panels/sources/AddSourceMapURLDialog.ts +1 -1
  335. package/front_end/panels/sources/CSSPlugin.ts +0 -2
  336. package/front_end/panels/sources/NavigatorView.ts +31 -23
  337. package/front_end/panels/sources/SourcesPanel.ts +25 -6
  338. package/front_end/panels/sources/SourcesView.test.ts +1 -0
  339. package/front_end/panels/sources/SourcesView.ts +2 -2
  340. package/front_end/panels/sources/components/BreakpointsView.ts +0 -1
  341. package/front_end/panels/sources/components/HeadersView.ts +0 -1
  342. package/front_end/panels/sources/navigatorTree.css +11 -0
  343. package/front_end/panels/timeline/AnnotationHelpers.ts +3 -3
  344. package/front_end/panels/timeline/AppenderUtils.ts +1 -3
  345. package/front_end/panels/timeline/CompatibilityTracksAppender.ts +21 -9
  346. package/front_end/panels/timeline/EntriesFilter.test.ts +19 -36
  347. package/front_end/panels/timeline/EntriesFilter.ts +6 -4
  348. package/front_end/panels/timeline/EventsTimelineTreeView.ts +9 -9
  349. package/front_end/panels/timeline/InteractionsTrackAppender.ts +2 -1
  350. package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +6 -6
  351. package/front_end/panels/timeline/NetworkTrackAppender.ts +1 -8
  352. package/front_end/panels/timeline/ThreadAppender.ts +5 -6
  353. package/front_end/panels/timeline/TimelineDetailsView.test.ts +85 -42
  354. package/front_end/panels/timeline/TimelineDetailsView.ts +71 -42
  355. package/front_end/panels/timeline/TimelineEventOverview.ts +10 -10
  356. package/front_end/panels/timeline/TimelineFilters.test.ts +4 -4
  357. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +58 -62
  358. package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +16 -15
  359. package/front_end/panels/timeline/TimelineFlameChartView.test.ts +2 -3
  360. package/front_end/panels/timeline/TimelineFlameChartView.ts +102 -57
  361. package/front_end/panels/timeline/TimelineHistoryManager.ts +4 -0
  362. package/front_end/panels/timeline/TimelineMiniMap.ts +0 -8
  363. package/front_end/panels/timeline/TimelinePanel.ts +89 -44
  364. package/front_end/panels/timeline/TimelineSelection.test.ts +91 -36
  365. package/front_end/panels/timeline/TimelineSelection.ts +48 -60
  366. package/front_end/panels/timeline/TimelineSelectorStatsView.ts +3 -8
  367. package/front_end/panels/timeline/TimelineTreeView.ts +7 -5
  368. package/front_end/panels/timeline/TimelineUIUtils.test.ts +51 -4
  369. package/front_end/panels/timeline/TimelineUIUtils.ts +37 -27
  370. package/front_end/panels/timeline/UIDevtoolsController.ts +5 -5
  371. package/front_end/panels/timeline/UIDevtoolsUtils.ts +59 -68
  372. package/front_end/panels/timeline/components/BreadcrumbsUI.ts +2 -3
  373. package/front_end/panels/timeline/components/LayoutShiftDetails.ts +25 -8
  374. package/front_end/panels/timeline/components/LiveMetricsView.test.ts +230 -68
  375. package/front_end/panels/timeline/components/LiveMetricsView.ts +146 -112
  376. package/front_end/panels/timeline/components/NetworkRequestDetails.test.ts +14 -7
  377. package/front_end/panels/timeline/components/NetworkRequestDetails.ts +47 -117
  378. package/front_end/panels/timeline/components/NetworkRequestTooltip.ts +64 -74
  379. package/front_end/panels/timeline/components/Sidebar.ts +2 -1
  380. package/front_end/panels/timeline/components/SidebarAnnotationsTab.ts +11 -13
  381. package/front_end/panels/timeline/components/SidebarInsightsTab.ts +51 -2
  382. package/front_end/panels/timeline/components/SidebarSingleInsightSet.test.ts +1 -2
  383. package/front_end/panels/timeline/components/Utils.ts +28 -29
  384. package/front_end/panels/timeline/components/components.ts +0 -4
  385. package/front_end/panels/timeline/components/insights/CLSCulprits.ts +10 -3
  386. package/front_end/panels/timeline/components/insights/DocumentLatency.ts +8 -4
  387. package/front_end/panels/timeline/components/insights/EventRef.ts +0 -1
  388. package/front_end/panels/timeline/components/insights/FontDisplay.ts +1 -1
  389. package/front_end/panels/timeline/components/insights/Helpers.ts +4 -4
  390. package/front_end/panels/timeline/components/insights/InteractionToNextPaint.ts +3 -5
  391. package/front_end/panels/timeline/components/insights/LCPDiscovery.ts +1 -1
  392. package/front_end/panels/timeline/components/insights/LCPPhases.ts +7 -1
  393. package/front_end/panels/timeline/components/insights/NodeLink.ts +0 -1
  394. package/front_end/panels/timeline/components/insights/README.md +2 -2
  395. package/front_end/panels/timeline/components/insights/RenderBlocking.ts +5 -7
  396. package/front_end/panels/timeline/components/insights/SidebarInsight.ts +14 -5
  397. package/front_end/panels/timeline/components/insights/SlowCSSSelector.ts +112 -34
  398. package/front_end/panels/timeline/components/insights/Table.ts +1 -3
  399. package/front_end/panels/timeline/components/insights/ThirdParties.ts +6 -9
  400. package/front_end/panels/timeline/components/insights/Viewport.ts +3 -5
  401. package/front_end/panels/timeline/components/layoutShiftDetails.css +7 -1
  402. package/front_end/panels/timeline/components/liveMetricsView.css +59 -18
  403. package/front_end/panels/timeline/components/networkRequestDetails.css +9 -49
  404. package/front_end/panels/timeline/components/networkRequestTooltip.css +34 -11
  405. package/front_end/panels/timeline/components/relatedInsightChips.css +1 -1
  406. package/front_end/panels/timeline/components/sidebarInsightsTab.css +20 -0
  407. package/front_end/panels/timeline/extensions/ExtensionUI.ts +7 -7
  408. package/front_end/panels/timeline/fixtures/traces/README.md +4 -0
  409. package/front_end/panels/timeline/fixtures/traces/scheduler-post-task.json.gz +0 -0
  410. package/front_end/panels/timeline/fixtures/traces/unsized-images.json.gz +0 -0
  411. package/front_end/panels/timeline/historyToolbarButton.css +33 -19
  412. package/front_end/panels/timeline/overlays/OverlaysImpl.test.ts +0 -16
  413. package/front_end/panels/timeline/overlays/OverlaysImpl.ts +48 -22
  414. package/front_end/panels/timeline/overlays/components/entriesLinkOverlay.css +8 -0
  415. package/front_end/panels/timeline/overlays/components/entryLabelOverlay.css +16 -0
  416. package/front_end/panels/timeline/timeline-meta.ts +11 -0
  417. package/front_end/panels/timeline/timelineFlameChartView.css +16 -0
  418. package/front_end/panels/timeline/track_appenders/AnimationsTrackAppender.test.ts +2 -3
  419. package/front_end/panels/timeline/track_appenders/AppenderUtils.test.ts +1 -6
  420. package/front_end/panels/timeline/track_appenders/CompatibilityTracksAppender.test.ts +1 -1
  421. package/front_end/panels/timeline/track_appenders/ExtensionTrackAppender.test.ts +7 -8
  422. package/front_end/panels/timeline/track_appenders/GPUTrackAppender.test.ts +2 -2
  423. package/front_end/panels/timeline/track_appenders/InteractionsTrackAppender.test.ts +3 -3
  424. package/front_end/panels/timeline/track_appenders/LayoutShiftsTrackAppender.test.ts +3 -4
  425. package/front_end/panels/timeline/track_appenders/ServerTimingsTrackAppender.test.ts +2 -3
  426. package/front_end/panels/timeline/track_appenders/ThreadAppender.test.ts +5 -10
  427. package/front_end/panels/timeline/track_appenders/TimingsTrackAppender.test.ts +5 -5
  428. package/front_end/panels/timeline/utils/AICallTree.test.ts +80 -0
  429. package/front_end/panels/timeline/utils/AICallTree.ts +165 -0
  430. package/front_end/panels/timeline/{components → utils}/EntryName.test.ts +12 -12
  431. package/front_end/panels/timeline/{components → utils}/EntryName.ts +1 -1
  432. package/front_end/panels/timeline/{components → utils}/EntryStyles.ts +28 -1
  433. package/front_end/panels/timeline/utils/Helpers.test.ts +8 -3
  434. package/front_end/panels/timeline/utils/Helpers.ts +3 -4
  435. package/front_end/panels/timeline/utils/IgnoreList.test.ts +86 -0
  436. package/front_end/panels/timeline/utils/IgnoreList.ts +11 -4
  437. package/front_end/panels/timeline/utils/NetworkRequest.ts +1 -1
  438. package/front_end/panels/timeline/utils/SourceMapsResolver.test.ts +51 -18
  439. package/front_end/panels/timeline/utils/SourceMapsResolver.ts +3 -1
  440. package/front_end/panels/timeline/utils/utils.ts +6 -0
  441. package/front_end/panels/utils/utils.ts +56 -4
  442. package/front_end/services/trace_bounds/TraceBounds.ts +7 -1
  443. package/front_end/testing/ContextMenuHelpers.ts +1 -1
  444. package/front_end/testing/EnvironmentHelpers.ts +25 -3
  445. package/front_end/testing/NetworkHelpers.ts +38 -0
  446. package/front_end/testing/StorageItemsViewHelpers.ts +24 -0
  447. package/front_end/testing/TraceHelpers.ts +10 -0
  448. package/front_end/third_party/additional_readme_paths.json +1 -0
  449. package/front_end/third_party/codemirror.next/chunk/angular.js +1 -1
  450. package/front_end/third_party/codemirror.next/chunk/angular.js.map +1 -1
  451. package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
  452. package/front_end/third_party/codemirror.next/chunk/codemirror.js.map +1 -1
  453. package/front_end/third_party/codemirror.next/chunk/cpp.js.map +1 -1
  454. package/front_end/third_party/codemirror.next/chunk/legacy.js.map +1 -1
  455. package/front_end/third_party/codemirror.next/chunk/less.js.map +1 -1
  456. package/front_end/third_party/codemirror.next/chunk/markdown.js +1 -1
  457. package/front_end/third_party/codemirror.next/chunk/markdown.js.map +1 -1
  458. package/front_end/third_party/codemirror.next/chunk/php.js.map +1 -1
  459. package/front_end/third_party/codemirror.next/chunk/python.js +1 -1
  460. package/front_end/third_party/codemirror.next/chunk/python.js.map +1 -1
  461. package/front_end/third_party/codemirror.next/chunk/sass.js.map +1 -1
  462. package/front_end/third_party/codemirror.next/chunk/svelte.js +1 -1
  463. package/front_end/third_party/codemirror.next/chunk/svelte.js.map +1 -1
  464. package/front_end/third_party/codemirror.next/chunk/vue.js +1 -1
  465. package/front_end/third_party/codemirror.next/chunk/vue.js.map +1 -1
  466. package/front_end/third_party/codemirror.next/chunk/xml.js +1 -1
  467. package/front_end/third_party/codemirror.next/chunk/xml.js.map +1 -1
  468. package/front_end/third_party/codemirror.next/codemirror.next.d.ts +68 -3
  469. package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
  470. package/front_end/third_party/codemirror.next/package.json +2 -1
  471. package/front_end/third_party/intl-messageformat/README.chromium +2 -1
  472. package/front_end/third_party/intl-messageformat/package/intl-messageformat.esm.js +0 -1
  473. package/front_end/third_party/json5/LICENSE +23 -0
  474. package/front_end/third_party/json5/README.chromium +17 -0
  475. package/front_end/third_party/json5/json5-tsconfig.json +8 -0
  476. package/front_end/third_party/json5/json5.ts +4 -0
  477. package/front_end/third_party/json5/lib/index.d.ts +2 -0
  478. package/front_end/third_party/json5/lib/index.js +1121 -0
  479. package/front_end/third_party/json5/package/lib/index.d.ts +4 -0
  480. package/front_end/third_party/json5/package/lib/index.js +9 -0
  481. package/front_end/third_party/json5/package/lib/parse.d.ts +15 -0
  482. package/front_end/third_party/json5/package/lib/parse.js +1114 -0
  483. package/front_end/third_party/json5/package/lib/register.js +13 -0
  484. package/front_end/third_party/json5/package/lib/require.js +4 -0
  485. package/front_end/third_party/json5/package/lib/stringify.d.ts +89 -0
  486. package/front_end/third_party/json5/package/lib/stringify.js +261 -0
  487. package/front_end/third_party/json5/package/lib/unicode.d.ts +3 -0
  488. package/front_end/third_party/json5/package/lib/unicode.js +4 -0
  489. package/front_end/third_party/json5/package/lib/util.d.ts +5 -0
  490. package/front_end/third_party/json5/package/lib/util.js +35 -0
  491. package/front_end/third_party/json5/package.json +8 -0
  492. package/front_end/third_party/json5/rebuild.sh +5 -0
  493. package/front_end/third_party/puppeteer/README.chromium +2 -2
  494. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts +2 -2
  495. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts.map +1 -1
  496. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.js +1 -6
  497. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.js.map +1 -1
  498. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.d.ts +1 -1
  499. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.js +1 -1
  500. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/CDPSession.d.ts +1 -1
  501. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/CDPSession.js +1 -1
  502. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.d.ts +4 -4
  503. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.js +18 -11
  504. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.js.map +1 -1
  505. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.d.ts +2 -2
  506. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js +13 -6
  507. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js.map +1 -1
  508. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.d.ts +7 -2
  509. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.d.ts.map +1 -1
  510. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.js +3 -3
  511. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.js.map +1 -1
  512. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPResponse.d.ts +0 -1
  513. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPResponse.d.ts.map +1 -1
  514. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.d.ts +3 -3
  515. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.js +1 -1
  516. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/JSHandle.js +12 -5
  517. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/JSHandle.js.map +1 -1
  518. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts +22 -22
  519. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts.map +1 -1
  520. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js +26 -19
  521. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js.map +1 -1
  522. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/WebWorker.d.ts +2 -2
  523. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/WebWorker.js +2 -2
  524. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.d.ts +1 -1
  525. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.d.ts.map +1 -1
  526. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.js +0 -1
  527. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.js.map +1 -1
  528. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.d.ts.map +1 -1
  529. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.js +12 -5
  530. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.js.map +1 -1
  531. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BidiOverCdp.js +1 -2
  532. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BidiOverCdp.js.map +1 -1
  533. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.d.ts +0 -1
  534. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.d.ts.map +1 -1
  535. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.js +4 -0
  536. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.js.map +1 -1
  537. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserConnector.js +1 -2
  538. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserConnector.js.map +1 -1
  539. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserContext.js +12 -5
  540. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserContext.js.map +1 -1
  541. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.js +12 -5
  542. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.js.map +1 -1
  543. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ExposedFunction.js +12 -5
  544. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ExposedFunction.js.map +1 -1
  545. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.d.ts.map +1 -1
  546. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.js +3 -0
  547. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.js.map +1 -1
  548. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js +21 -10
  549. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js.map +1 -1
  550. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Realm.js +12 -5
  551. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Realm.js.map +1 -1
  552. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/Browser.js +12 -5
  553. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/Browser.js.map +1 -1
  554. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/core.d.ts +1 -1
  555. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/core.d.ts.map +1 -1
  556. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/core.js +0 -1
  557. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/core.js.map +1 -1
  558. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/util.js +2 -3
  559. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/util.js.map +1 -1
  560. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/AriaQueryHandler.d.ts.map +1 -1
  561. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/AriaQueryHandler.js +3 -0
  562. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/AriaQueryHandler.js.map +1 -1
  563. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Binding.js +12 -5
  564. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Binding.js.map +1 -1
  565. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts +0 -1
  566. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts.map +1 -1
  567. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js +1 -2
  568. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js.map +1 -1
  569. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js +12 -5
  570. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js.map +1 -1
  571. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ChromeTargetManager.d.ts.map +1 -1
  572. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ChromeTargetManager.js +3 -1
  573. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ChromeTargetManager.js.map +1 -1
  574. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Connection.js +2 -2
  575. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Connection.js.map +1 -1
  576. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/DeviceRequestPrompt.d.ts +1 -1
  577. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/DeviceRequestPrompt.js +1 -1
  578. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExecutionContext.d.ts +3 -3
  579. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExecutionContext.d.ts.map +1 -1
  580. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExecutionContext.js +17 -13
  581. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExecutionContext.js.map +1 -1
  582. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExtensionTransport.d.ts.map +1 -1
  583. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExtensionTransport.js +5 -1
  584. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExtensionTransport.js.map +1 -1
  585. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/FrameManager.js +1 -1
  586. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/FrameManager.js.map +1 -1
  587. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.js +1 -1
  588. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.js.map +1 -1
  589. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.d.ts.map +1 -1
  590. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.js.map +1 -1
  591. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/IsolatedWorld.d.ts +1 -2
  592. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/IsolatedWorld.d.ts.map +1 -1
  593. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/IsolatedWorld.js.map +1 -1
  594. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/JSHandle.js +2 -2
  595. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/JSHandle.js.map +1 -1
  596. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
  597. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.js +2 -1
  598. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.js.map +1 -1
  599. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts +1 -1
  600. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts.map +1 -1
  601. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js +16 -7
  602. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js.map +1 -1
  603. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/PredefinedNetworkConditions.d.ts +4 -4
  604. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/PredefinedNetworkConditions.d.ts.map +1 -1
  605. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/PredefinedNetworkConditions.js +4 -4
  606. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.d.ts +2 -0
  607. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.d.ts.map +1 -1
  608. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.js +2 -0
  609. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.js.map +1 -1
  610. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/utils.js +6 -6
  611. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/utils.js.map +1 -1
  612. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +1 -2
  613. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
  614. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CSSQueryHandler.d.ts.map +1 -1
  615. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.d.ts.map +1 -1
  616. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.js +2 -2
  617. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.js.map +1 -1
  618. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts +3 -0
  619. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts.map +1 -1
  620. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.d.ts.map +1 -1
  621. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js +4 -5
  622. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js.map +1 -1
  623. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/GetQueryHandler.js +1 -2
  624. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/GetQueryHandler.js.map +1 -1
  625. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HandleIterator.js +13 -7
  626. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HandleIterator.js.map +1 -1
  627. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LazyArg.d.ts +1 -1
  628. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LazyArg.d.ts.map +1 -1
  629. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PSelectorParser.js +1 -2
  630. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PSelectorParser.js.map +1 -1
  631. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PierceQueryHandler.d.ts.map +1 -1
  632. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js +12 -5
  633. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js.map +1 -1
  634. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.d.ts +7 -7
  635. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.d.ts.map +1 -1
  636. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.js +0 -7
  637. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.js.map +1 -1
  638. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts +2 -3
  639. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts.map +1 -1
  640. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js +14 -12
  641. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js.map +1 -1
  642. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts +0 -2
  643. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts.map +1 -1
  644. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +1 -1
  645. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +1 -1
  646. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/ARIAQuerySelector.d.ts.map +1 -1
  647. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/CSSSelector.d.ts.map +1 -1
  648. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/PQuerySelector.d.ts.map +1 -1
  649. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/TextQuerySelector.d.ts.map +1 -1
  650. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/XPathQuerySelector.d.ts.map +1 -1
  651. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts +4 -4
  652. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts.map +1 -1
  653. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/util.js +3 -3
  654. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/util.js.map +1 -1
  655. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
  656. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js.map +1 -1
  657. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
  658. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js +3 -4
  659. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js.map +1 -1
  660. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.d.ts +0 -1
  661. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.d.ts.map +1 -1
  662. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.js.map +1 -1
  663. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ScreenRecorder.d.ts +0 -1
  664. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ScreenRecorder.d.ts.map +1 -1
  665. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/node.d.ts +1 -1
  666. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/node.d.ts.map +1 -1
  667. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/node.js +0 -1
  668. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/node.js.map +1 -1
  669. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util/fs.js +2 -3
  670. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util/fs.js.map +1 -1
  671. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts +6 -6
  672. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts.map +1 -1
  673. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js +15 -4
  674. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js.map +1 -1
  675. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts +3 -3
  676. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +3 -3
  677. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js.map +1 -1
  678. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Deferred.d.ts.map +1 -1
  679. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Deferred.js +1 -0
  680. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Deferred.js.map +1 -1
  681. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.d.ts +0 -1
  682. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.d.ts.map +1 -1
  683. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.js +4 -5
  684. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.js.map +1 -1
  685. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Function.d.ts.map +1 -1
  686. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Function.js +2 -2
  687. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Function.js.map +1 -1
  688. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Mutex.d.ts +2 -2
  689. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Mutex.d.ts.map +1 -1
  690. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/decorators.d.ts +1 -1
  691. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/decorators.d.ts.map +1 -1
  692. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/decorators.js +18 -13
  693. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/decorators.js.map +1 -1
  694. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/disposable.d.ts.map +1 -1
  695. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/encoding.js +4 -5
  696. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/encoding.js.map +1 -1
  697. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/util.d.ts +1 -0
  698. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/util.d.ts.map +1 -1
  699. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/util.js +1 -0
  700. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/util.js.map +1 -1
  701. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +374 -578
  702. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +316 -150
  703. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts +2 -2
  704. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts.map +1 -1
  705. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.js +1 -6
  706. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.js.map +1 -1
  707. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.d.ts +1 -1
  708. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.js +1 -1
  709. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/CDPSession.d.ts +1 -1
  710. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/CDPSession.js +1 -1
  711. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.d.ts +4 -4
  712. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.js +16 -9
  713. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.js.map +1 -1
  714. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.d.ts +2 -2
  715. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.js +13 -6
  716. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.js.map +1 -1
  717. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.d.ts +7 -2
  718. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.d.ts.map +1 -1
  719. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.js.map +1 -1
  720. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPResponse.d.ts +0 -1
  721. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPResponse.d.ts.map +1 -1
  722. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.d.ts +3 -3
  723. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.js +1 -1
  724. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/JSHandle.js +12 -5
  725. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/JSHandle.js.map +1 -1
  726. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts +22 -22
  727. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts.map +1 -1
  728. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js +24 -17
  729. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js.map +1 -1
  730. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/WebWorker.d.ts +2 -2
  731. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/WebWorker.js +2 -2
  732. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.d.ts +1 -1
  733. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.d.ts.map +1 -1
  734. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.js +0 -1
  735. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.js.map +1 -1
  736. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.d.ts.map +1 -1
  737. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.js +12 -5
  738. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.js.map +1 -1
  739. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.d.ts +0 -1
  740. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.d.ts.map +1 -1
  741. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.js +4 -0
  742. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.js.map +1 -1
  743. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserContext.js +12 -5
  744. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserContext.js.map +1 -1
  745. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.js +12 -5
  746. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.js.map +1 -1
  747. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ExposedFunction.js +12 -5
  748. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ExposedFunction.js.map +1 -1
  749. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.d.ts.map +1 -1
  750. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.js +3 -0
  751. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.js.map +1 -1
  752. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js +21 -10
  753. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js.map +1 -1
  754. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Realm.js +12 -5
  755. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Realm.js.map +1 -1
  756. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/Browser.js +12 -5
  757. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/Browser.js.map +1 -1
  758. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/core.d.ts +1 -1
  759. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/core.d.ts.map +1 -1
  760. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/core.js +0 -1
  761. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/core.js.map +1 -1
  762. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/AriaQueryHandler.d.ts.map +1 -1
  763. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/AriaQueryHandler.js +3 -0
  764. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/AriaQueryHandler.js.map +1 -1
  765. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Binding.js +12 -5
  766. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Binding.js.map +1 -1
  767. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts +0 -1
  768. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts.map +1 -1
  769. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js +12 -5
  770. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js.map +1 -1
  771. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ChromeTargetManager.d.ts.map +1 -1
  772. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ChromeTargetManager.js +3 -1
  773. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ChromeTargetManager.js.map +1 -1
  774. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/DeviceRequestPrompt.d.ts +1 -1
  775. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js +1 -1
  776. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExecutionContext.d.ts +3 -3
  777. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExecutionContext.d.ts.map +1 -1
  778. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExecutionContext.js +17 -13
  779. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExecutionContext.js.map +1 -1
  780. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExtensionTransport.d.ts.map +1 -1
  781. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExtensionTransport.js +5 -1
  782. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExtensionTransport.js.map +1 -1
  783. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/FrameManager.js +1 -1
  784. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/FrameManager.js.map +1 -1
  785. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.js +1 -1
  786. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.js.map +1 -1
  787. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.d.ts.map +1 -1
  788. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.js.map +1 -1
  789. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/IsolatedWorld.d.ts +1 -2
  790. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/IsolatedWorld.d.ts.map +1 -1
  791. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/IsolatedWorld.js.map +1 -1
  792. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
  793. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.js +2 -1
  794. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.js.map +1 -1
  795. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts +1 -1
  796. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts.map +1 -1
  797. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js +16 -7
  798. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js.map +1 -1
  799. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.d.ts +4 -4
  800. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.d.ts.map +1 -1
  801. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.js +4 -4
  802. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.d.ts +2 -0
  803. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.d.ts.map +1 -1
  804. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.js +2 -0
  805. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.js.map +1 -1
  806. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CSSQueryHandler.d.ts.map +1 -1
  807. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.d.ts.map +1 -1
  808. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.js.map +1 -1
  809. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts +3 -0
  810. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts.map +1 -1
  811. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.d.ts.map +1 -1
  812. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js +0 -1
  813. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js.map +1 -1
  814. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HandleIterator.js +12 -5
  815. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HandleIterator.js.map +1 -1
  816. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LazyArg.d.ts +1 -1
  817. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LazyArg.d.ts.map +1 -1
  818. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PierceQueryHandler.d.ts.map +1 -1
  819. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js +12 -5
  820. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js.map +1 -1
  821. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.d.ts +7 -7
  822. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.d.ts.map +1 -1
  823. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.js +0 -7
  824. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.js.map +1 -1
  825. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts +2 -3
  826. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts.map +1 -1
  827. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js +3 -1
  828. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js.map +1 -1
  829. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts +0 -2
  830. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts.map +1 -1
  831. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +1 -1
  832. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +1 -1
  833. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/ARIAQuerySelector.d.ts.map +1 -1
  834. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/CSSSelector.d.ts.map +1 -1
  835. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/PQuerySelector.d.ts.map +1 -1
  836. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/TextQuerySelector.d.ts.map +1 -1
  837. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/XPathQuerySelector.d.ts.map +1 -1
  838. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.d.ts +3 -3
  839. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.d.ts.map +1 -1
  840. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
  841. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.js.map +1 -1
  842. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
  843. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js +0 -1
  844. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js.map +1 -1
  845. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.d.ts +0 -1
  846. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.d.ts.map +1 -1
  847. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.js.map +1 -1
  848. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ScreenRecorder.d.ts +0 -1
  849. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ScreenRecorder.d.ts.map +1 -1
  850. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/node.d.ts +1 -1
  851. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/node.d.ts.map +1 -1
  852. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/node.js +0 -1
  853. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/node.js.map +1 -1
  854. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core-browser.d.ts +1 -1
  855. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core-browser.d.ts.map +1 -1
  856. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts +6 -6
  857. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts.map +1 -1
  858. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.js +3 -4
  859. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.js.map +1 -1
  860. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts +3 -3
  861. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +3 -3
  862. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js.map +1 -1
  863. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Deferred.d.ts.map +1 -1
  864. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Deferred.js +1 -0
  865. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Deferred.js.map +1 -1
  866. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/ErrorLike.d.ts +0 -1
  867. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/ErrorLike.d.ts.map +1 -1
  868. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Function.d.ts.map +1 -1
  869. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Mutex.d.ts +1 -1
  870. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Mutex.d.ts.map +1 -1
  871. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/decorators.d.ts +1 -1
  872. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/decorators.d.ts.map +1 -1
  873. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/decorators.js +12 -6
  874. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/decorators.js.map +1 -1
  875. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/disposable.d.ts.map +1 -1
  876. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/util.d.ts +1 -0
  877. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/util.d.ts.map +1 -1
  878. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/util.js +1 -0
  879. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/util.js.map +1 -1
  880. package/front_end/third_party/puppeteer/package/lib/types.d.ts +374 -578
  881. package/front_end/third_party/puppeteer/package/package.json +6 -6
  882. package/front_end/third_party/puppeteer/package/src/api/Browser.ts +8 -8
  883. package/front_end/third_party/puppeteer/package/src/api/BrowserContext.ts +5 -5
  884. package/front_end/third_party/puppeteer/package/src/api/CDPSession.ts +2 -2
  885. package/front_end/third_party/puppeteer/package/src/api/Dialog.ts +1 -1
  886. package/front_end/third_party/puppeteer/package/src/api/ElementHandle.ts +44 -44
  887. package/front_end/third_party/puppeteer/package/src/api/Frame.ts +33 -33
  888. package/front_end/third_party/puppeteer/package/src/api/HTTPRequest.ts +14 -9
  889. package/front_end/third_party/puppeteer/package/src/api/Input.ts +11 -11
  890. package/front_end/third_party/puppeteer/package/src/api/JSHandle.ts +5 -5
  891. package/front_end/third_party/puppeteer/package/src/api/Page.ts +88 -87
  892. package/front_end/third_party/puppeteer/package/src/api/Realm.ts +2 -2
  893. package/front_end/third_party/puppeteer/package/src/api/WebWorker.ts +2 -2
  894. package/front_end/third_party/puppeteer/package/src/api/api.ts +1 -1
  895. package/front_end/third_party/puppeteer/package/src/api/locators/locators.ts +79 -79
  896. package/front_end/third_party/puppeteer/package/src/bidi/BidiOverCdp.ts +7 -7
  897. package/front_end/third_party/puppeteer/package/src/bidi/Browser.ts +9 -5
  898. package/front_end/third_party/puppeteer/package/src/bidi/BrowserConnector.ts +5 -5
  899. package/front_end/third_party/puppeteer/package/src/bidi/BrowserContext.ts +10 -10
  900. package/front_end/third_party/puppeteer/package/src/bidi/CDPSession.ts +4 -4
  901. package/front_end/third_party/puppeteer/package/src/bidi/Connection.ts +6 -6
  902. package/front_end/third_party/puppeteer/package/src/bidi/ElementHandle.ts +3 -3
  903. package/front_end/third_party/puppeteer/package/src/bidi/ExposedFunction.ts +11 -11
  904. package/front_end/third_party/puppeteer/package/src/bidi/Frame.ts +45 -41
  905. package/front_end/third_party/puppeteer/package/src/bidi/HTTPRequest.ts +9 -9
  906. package/front_end/third_party/puppeteer/package/src/bidi/HTTPResponse.ts +3 -3
  907. package/front_end/third_party/puppeteer/package/src/bidi/Input.ts +10 -10
  908. package/front_end/third_party/puppeteer/package/src/bidi/JSHandle.ts +1 -1
  909. package/front_end/third_party/puppeteer/package/src/bidi/Page.ts +56 -52
  910. package/front_end/third_party/puppeteer/package/src/bidi/Realm.ts +15 -15
  911. package/front_end/third_party/puppeteer/package/src/bidi/Serializer.ts +1 -1
  912. package/front_end/third_party/puppeteer/package/src/bidi/Target.ts +2 -2
  913. package/front_end/third_party/puppeteer/package/src/bidi/WebWorker.ts +2 -2
  914. package/front_end/third_party/puppeteer/package/src/bidi/core/Browser.ts +4 -4
  915. package/front_end/third_party/puppeteer/package/src/bidi/core/BrowsingContext.ts +17 -17
  916. package/front_end/third_party/puppeteer/package/src/bidi/core/Connection.ts +1 -1
  917. package/front_end/third_party/puppeteer/package/src/bidi/core/Navigation.ts +3 -3
  918. package/front_end/third_party/puppeteer/package/src/bidi/core/Realm.ts +6 -6
  919. package/front_end/third_party/puppeteer/package/src/bidi/core/Request.ts +5 -5
  920. package/front_end/third_party/puppeteer/package/src/bidi/core/Session.ts +4 -4
  921. package/front_end/third_party/puppeteer/package/src/bidi/core/UserContext.ts +9 -9
  922. package/front_end/third_party/puppeteer/package/src/bidi/core/UserPrompt.ts +4 -4
  923. package/front_end/third_party/puppeteer/package/src/bidi/core/core.ts +1 -1
  924. package/front_end/third_party/puppeteer/package/src/bidi/util.ts +4 -4
  925. package/front_end/third_party/puppeteer/package/src/cdp/Accessibility.ts +7 -7
  926. package/front_end/third_party/puppeteer/package/src/cdp/AriaQueryHandler.ts +10 -6
  927. package/front_end/third_party/puppeteer/package/src/cdp/Binding.ts +6 -6
  928. package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +24 -24
  929. package/front_end/third_party/puppeteer/package/src/cdp/BrowserConnector.ts +4 -4
  930. package/front_end/third_party/puppeteer/package/src/cdp/BrowserContext.ts +2 -2
  931. package/front_end/third_party/puppeteer/package/src/cdp/CDPSession.ts +7 -7
  932. package/front_end/third_party/puppeteer/package/src/cdp/ChromeTargetManager.ts +19 -17
  933. package/front_end/third_party/puppeteer/package/src/cdp/Connection.ts +7 -7
  934. package/front_end/third_party/puppeteer/package/src/cdp/Coverage.ts +11 -11
  935. package/front_end/third_party/puppeteer/package/src/cdp/DeviceRequestPrompt.ts +17 -17
  936. package/front_end/third_party/puppeteer/package/src/cdp/Dialog.ts +1 -1
  937. package/front_end/third_party/puppeteer/package/src/cdp/ElementHandle.ts +6 -6
  938. package/front_end/third_party/puppeteer/package/src/cdp/EmulationManager.ts +34 -34
  939. package/front_end/third_party/puppeteer/package/src/cdp/ExecutionContext.ts +18 -19
  940. package/front_end/third_party/puppeteer/package/src/cdp/ExtensionTransport.ts +7 -3
  941. package/front_end/third_party/puppeteer/package/src/cdp/FirefoxTargetManager.ts +7 -7
  942. package/front_end/third_party/puppeteer/package/src/cdp/Frame.ts +16 -16
  943. package/front_end/third_party/puppeteer/package/src/cdp/FrameManager.ts +20 -20
  944. package/front_end/third_party/puppeteer/package/src/cdp/FrameManagerEvents.ts +1 -1
  945. package/front_end/third_party/puppeteer/package/src/cdp/HTTPRequest.ts +5 -5
  946. package/front_end/third_party/puppeteer/package/src/cdp/HTTPResponse.ts +5 -5
  947. package/front_end/third_party/puppeteer/package/src/cdp/Input.ts +16 -14
  948. package/front_end/third_party/puppeteer/package/src/cdp/IsolatedWorld.ts +14 -13
  949. package/front_end/third_party/puppeteer/package/src/cdp/JSHandle.ts +2 -2
  950. package/front_end/third_party/puppeteer/package/src/cdp/LifecycleWatcher.ts +11 -11
  951. package/front_end/third_party/puppeteer/package/src/cdp/NetworkEventManager.ts +15 -15
  952. package/front_end/third_party/puppeteer/package/src/cdp/NetworkManager.ts +38 -37
  953. package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +71 -70
  954. package/front_end/third_party/puppeteer/package/src/cdp/PredefinedNetworkConditions.ts +4 -4
  955. package/front_end/third_party/puppeteer/package/src/cdp/Target.ts +4 -4
  956. package/front_end/third_party/puppeteer/package/src/cdp/TargetManager.ts +1 -1
  957. package/front_end/third_party/puppeteer/package/src/cdp/Tracing.ts +2 -2
  958. package/front_end/third_party/puppeteer/package/src/cdp/WebWorker.ts +5 -5
  959. package/front_end/third_party/puppeteer/package/src/cdp/cdp.ts +2 -0
  960. package/front_end/third_party/puppeteer/package/src/cdp/utils.ts +10 -10
  961. package/front_end/third_party/puppeteer/package/src/common/BrowserConnector.ts +5 -5
  962. package/front_end/third_party/puppeteer/package/src/common/CSSQueryHandler.ts +2 -2
  963. package/front_end/third_party/puppeteer/package/src/common/CallbackRegistry.ts +9 -7
  964. package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +3 -0
  965. package/front_end/third_party/puppeteer/package/src/common/ConsoleMessage.ts +1 -1
  966. package/front_end/third_party/puppeteer/package/src/common/CustomQueryHandler.ts +6 -6
  967. package/front_end/third_party/puppeteer/package/src/common/Debug.ts +0 -1
  968. package/front_end/third_party/puppeteer/package/src/common/EventEmitter.ts +8 -8
  969. package/front_end/third_party/puppeteer/package/src/common/FileChooser.ts +3 -3
  970. package/front_end/third_party/puppeteer/package/src/common/HandleIterator.ts +3 -3
  971. package/front_end/third_party/puppeteer/package/src/common/LazyArg.ts +1 -1
  972. package/front_end/third_party/puppeteer/package/src/common/NetworkManagerEvents.ts +1 -1
  973. package/front_end/third_party/puppeteer/package/src/common/PQueryHandler.ts +2 -2
  974. package/front_end/third_party/puppeteer/package/src/common/PSelectorParser.ts +1 -1
  975. package/front_end/third_party/puppeteer/package/src/common/PierceQueryHandler.ts +2 -2
  976. package/front_end/third_party/puppeteer/package/src/common/Puppeteer.ts +1 -1
  977. package/front_end/third_party/puppeteer/package/src/common/QueryHandler.ts +12 -12
  978. package/front_end/third_party/puppeteer/package/src/common/TaskQueue.ts +1 -1
  979. package/front_end/third_party/puppeteer/package/src/common/TextQueryHandler.ts +1 -1
  980. package/front_end/third_party/puppeteer/package/src/common/WaitTask.ts +8 -8
  981. package/front_end/third_party/puppeteer/package/src/common/XPathQueryHandler.ts +2 -2
  982. package/front_end/third_party/puppeteer/package/src/common/common.ts +7 -7
  983. package/front_end/third_party/puppeteer/package/src/common/util.ts +15 -14
  984. package/front_end/third_party/puppeteer/package/src/generated/version.ts +1 -1
  985. package/front_end/third_party/puppeteer/package/src/injected/ARIAQuerySelector.ts +3 -3
  986. package/front_end/third_party/puppeteer/package/src/injected/CSSSelector.ts +2 -2
  987. package/front_end/third_party/puppeteer/package/src/injected/PQuerySelector.ts +7 -7
  988. package/front_end/third_party/puppeteer/package/src/injected/PierceQuerySelector.ts +2 -2
  989. package/front_end/third_party/puppeteer/package/src/injected/TextContent.ts +1 -1
  990. package/front_end/third_party/puppeteer/package/src/injected/TextQuerySelector.ts +1 -1
  991. package/front_end/third_party/puppeteer/package/src/injected/XPathQuerySelector.ts +2 -2
  992. package/front_end/third_party/puppeteer/package/src/injected/util.ts +2 -2
  993. package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +38 -30
  994. package/front_end/third_party/puppeteer/package/src/node/ChromeLauncher.ts +11 -12
  995. package/front_end/third_party/puppeteer/package/src/node/FirefoxLauncher.ts +8 -8
  996. package/front_end/third_party/puppeteer/package/src/node/NodeWebSocketTransport.ts +1 -1
  997. package/front_end/third_party/puppeteer/package/src/node/PipeTransport.ts +7 -3
  998. package/front_end/third_party/puppeteer/package/src/node/PuppeteerNode.ts +4 -4
  999. package/front_end/third_party/puppeteer/package/src/node/ScreenRecorder.ts +10 -10
  1000. package/front_end/third_party/puppeteer/package/src/node/node.ts +1 -1
  1001. package/front_end/third_party/puppeteer/package/src/puppeteer-core.ts +4 -4
  1002. package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
  1003. package/front_end/third_party/puppeteer/package/src/util/AsyncIterableUtil.ts +3 -3
  1004. package/front_end/third_party/puppeteer/package/src/util/Deferred.ts +3 -2
  1005. package/front_end/third_party/puppeteer/package/src/util/ErrorLike.ts +1 -1
  1006. package/front_end/third_party/puppeteer/package/src/util/Function.ts +4 -4
  1007. package/front_end/third_party/puppeteer/package/src/util/Mutex.ts +1 -1
  1008. package/front_end/third_party/puppeteer/package/src/util/assert.ts +1 -1
  1009. package/front_end/third_party/puppeteer/package/src/util/decorators.ts +8 -9
  1010. package/front_end/third_party/puppeteer/package/src/util/encoding.ts +1 -1
  1011. package/front_end/third_party/puppeteer/package/src/util/util.ts +1 -0
  1012. package/front_end/third_party/web-vitals/README.chromium +3 -3
  1013. package/front_end/third_party/web-vitals/package/README.md +36 -23
  1014. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onINP.d.ts +2 -1
  1015. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onINP.js +11 -13
  1016. package/front_end/third_party/web-vitals/package/dist/modules/lib/bindReporter.d.ts +2 -22
  1017. package/front_end/third_party/web-vitals/package/dist/modules/lib/initMetric.d.ts +3 -2
  1018. package/front_end/third_party/web-vitals/package/dist/modules/lib/interactions.js +1 -1
  1019. package/front_end/third_party/web-vitals/package/dist/modules/onLCP.js +4 -1
  1020. package/front_end/third_party/web-vitals/package/dist/web-vitals.attribution.iife.js +1 -1
  1021. package/front_end/third_party/web-vitals/package/dist/web-vitals.attribution.js +1 -1
  1022. package/front_end/third_party/web-vitals/package/dist/web-vitals.attribution.umd.cjs +1 -1
  1023. package/front_end/third_party/web-vitals/package/dist/web-vitals.iife.js +1 -1
  1024. package/front_end/third_party/web-vitals/package/dist/web-vitals.js +1 -1
  1025. package/front_end/third_party/web-vitals/package/dist/web-vitals.umd.cjs +1 -1
  1026. package/front_end/third_party/web-vitals/package/package.json +1 -1
  1027. package/front_end/third_party/web-vitals/package/src/attribution/onINP.ts +11 -14
  1028. package/front_end/third_party/web-vitals/package/src/lib/interactions.ts +1 -1
  1029. package/front_end/third_party/web-vitals/package/src/onLCP.ts +4 -1
  1030. package/front_end/third_party/web-vitals/rebuild.sh +14 -0
  1031. package/front_end/third_party/web-vitals/web-vitals.ts +2 -0
  1032. package/front_end/ui/components/adorners/Adorner.ts +0 -1
  1033. package/front_end/ui/components/buttons/Button.ts +0 -1
  1034. package/front_end/ui/components/buttons/button.css +1 -0
  1035. package/front_end/ui/components/cards/Card.test.ts +31 -5
  1036. package/front_end/ui/components/cards/Card.ts +22 -3
  1037. package/front_end/ui/components/cards/card.css +25 -7
  1038. package/front_end/ui/components/chrome_link/ChromeLink.ts +0 -1
  1039. package/front_end/ui/components/data_grid/DataGrid.ts +0 -1
  1040. package/front_end/ui/components/data_grid/DataGridController.ts +2 -3
  1041. package/front_end/ui/components/data_grid/DataGridControllerIntegrator.ts +1 -2
  1042. package/front_end/ui/components/dialogs/Dialog.ts +0 -1
  1043. package/front_end/ui/components/dialogs/IconDialog.ts +9 -11
  1044. package/front_end/ui/components/dialogs/ShortcutDialog.ts +3 -4
  1045. package/front_end/ui/components/diff_view/DiffView.ts +0 -1
  1046. package/front_end/ui/components/docs/building-ui-documentation/ComponentPerformance.md +1 -4
  1047. package/front_end/ui/components/docs/building-ui-documentation/CreatingComponents.md +14 -44
  1048. package/front_end/ui/components/docs/freestyler/basic.ts +2 -3
  1049. package/front_end/ui/components/docs/freestyler/empty_state.ts +2 -2
  1050. package/front_end/ui/components/docs/icon_dialog/basic.ts +4 -4
  1051. package/front_end/ui/components/docs/performance_panel/basic.ts +4 -1
  1052. package/front_end/ui/components/docs/report/basic.ts +3 -3
  1053. package/front_end/ui/components/expandable_list/ExpandableList.ts +0 -1
  1054. package/front_end/ui/components/floating_button/FloatingButton.ts +0 -1
  1055. package/front_end/ui/components/icon_button/FileSourceIcon.test.ts +32 -0
  1056. package/front_end/ui/components/icon_button/FileSourceIcon.ts +76 -0
  1057. package/front_end/ui/components/icon_button/Icon.ts +0 -3
  1058. package/front_end/ui/components/icon_button/IconButton.ts +0 -1
  1059. package/front_end/ui/components/icon_button/fileSourceIcon.css +43 -0
  1060. package/front_end/ui/components/icon_button/icon_button.ts +2 -0
  1061. package/front_end/ui/components/issue_counter/IssueCounter.ts +1 -3
  1062. package/front_end/ui/components/issue_counter/IssueLinkIcon.ts +0 -1
  1063. package/front_end/ui/components/legacy_wrapper/LegacyWrapper.ts +1 -1
  1064. package/front_end/ui/components/linkifier/LinkifierImpl.ts +4 -2
  1065. package/front_end/ui/components/markdown_view/CodeBlock.ts +0 -1
  1066. package/front_end/ui/components/markdown_view/MarkdownImage.ts +0 -1
  1067. package/front_end/ui/components/markdown_view/MarkdownLink.ts +0 -1
  1068. package/front_end/ui/components/markdown_view/MarkdownView.ts +10 -7
  1069. package/front_end/ui/components/menus/Menu.ts +0 -3
  1070. package/front_end/ui/components/menus/SelectMenu.ts +0 -2
  1071. package/front_end/ui/components/menus/selectMenu.css +8 -5
  1072. package/front_end/ui/components/menus/selectMenuButton.css +29 -17
  1073. package/front_end/ui/components/node_text/NodeText.ts +0 -1
  1074. package/front_end/ui/components/panel_feedback/FeedbackButton.ts +0 -1
  1075. package/front_end/ui/components/panel_feedback/PanelFeedback.ts +1 -3
  1076. package/front_end/ui/components/panel_feedback/PreviewToggle.ts +1 -3
  1077. package/front_end/ui/components/panel_introduction_steps/PanelIntroductionSteps.ts +0 -1
  1078. package/front_end/ui/components/report_view/ReportView.ts +1 -7
  1079. package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +0 -1
  1080. package/front_end/ui/components/settings/SettingCheckbox.ts +28 -10
  1081. package/front_end/ui/components/settings/SettingDeprecationWarning.ts +2 -4
  1082. package/front_end/ui/components/settings/settingCheckbox.css +1 -0
  1083. package/front_end/ui/components/spinners/Spinner.ts +0 -1
  1084. package/front_end/ui/components/spinners/spinner.css +1 -0
  1085. package/front_end/ui/components/split_view/SplitView.ts +0 -1
  1086. package/front_end/ui/components/srgb_overlay/SrgbOverlay.ts +0 -1
  1087. package/front_end/ui/components/survey_link/SurveyLink.ts +1 -3
  1088. package/front_end/ui/components/switch/SwitchImpl.ts +0 -1
  1089. package/front_end/ui/components/text_editor/TextEditor.ts +0 -2
  1090. package/front_end/ui/components/text_prompt/TextPrompt.ts +0 -1
  1091. package/front_end/ui/components/tree_outline/TreeOutline.ts +0 -1
  1092. package/front_end/ui/components/two_states_counter/TwoStatesCounter.ts +0 -1
  1093. package/front_end/ui/legacy/ContextMenu.ts +46 -7
  1094. package/front_end/ui/legacy/FilterBar.test.ts +52 -0
  1095. package/front_end/ui/legacy/FilterBar.ts +46 -1
  1096. package/front_end/ui/legacy/KeyboardShortcut.ts +35 -21
  1097. package/front_end/ui/legacy/Panel.ts +2 -2
  1098. package/front_end/ui/legacy/ShortcutRegistry.ts +10 -7
  1099. package/front_end/ui/legacy/SoftContextMenu.ts +3 -0
  1100. package/front_end/ui/legacy/ThrottledWidget.ts +2 -2
  1101. package/front_end/ui/legacy/Toolbar.ts +1 -0
  1102. package/front_end/ui/legacy/Treeoutline.ts +7 -4
  1103. package/front_end/ui/legacy/UIUtils.ts +9 -0
  1104. package/front_end/ui/legacy/View.ts +2 -2
  1105. package/front_end/ui/legacy/ViewManager.ts +2 -1
  1106. package/front_end/ui/legacy/Widget.ts +4 -4
  1107. package/front_end/ui/legacy/components/data_grid/DataGrid.test.ts +51 -0
  1108. package/front_end/ui/legacy/components/data_grid/DataGrid.ts +92 -6
  1109. package/front_end/ui/legacy/components/data_grid/dataGrid.css +8 -1
  1110. package/front_end/ui/legacy/components/inline_editor/CSSAngle.ts +4 -7
  1111. package/front_end/ui/legacy/components/inline_editor/CSSAngleEditor.ts +0 -1
  1112. package/front_end/ui/legacy/components/inline_editor/CSSAngleSwatch.ts +0 -1
  1113. package/front_end/ui/legacy/components/inline_editor/CSSLength.ts +0 -1
  1114. package/front_end/ui/legacy/components/inline_editor/ColorMixSwatch.ts +0 -1
  1115. package/front_end/ui/legacy/components/inline_editor/ColorSwatch.ts +0 -1
  1116. package/front_end/ui/legacy/components/inline_editor/LinkSwatch.ts +0 -3
  1117. package/front_end/ui/legacy/components/inline_editor/Swatches.ts +1 -2
  1118. package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +2 -2
  1119. package/front_end/ui/legacy/components/perf_ui/CanvasHelper.ts +1 -83
  1120. package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +3 -2
  1121. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +162 -57
  1122. package/front_end/ui/legacy/components/perf_ui/PieChart.ts +0 -1
  1123. package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +3 -3
  1124. package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.test.ts +5 -9
  1125. package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.ts +9 -60
  1126. package/front_end/ui/legacy/components/source_frame/SourceFrame.test.ts +18 -0
  1127. package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +20 -3
  1128. package/front_end/{panels/network/RequestBinaryResponseView.test.ts → ui/legacy/components/source_frame/StreamingContentHexView.test.ts} +12 -12
  1129. package/front_end/ui/legacy/components/source_frame/StreamingContentHexView.ts +122 -0
  1130. package/front_end/ui/legacy/components/source_frame/source_frame.ts +2 -0
  1131. package/front_end/ui/legacy/designTokens.css +46 -40
  1132. package/front_end/ui/legacy/filter.css +23 -8
  1133. package/front_end/ui/legacy/inspectorCommon.css +31 -29
  1134. package/front_end/ui/legacy/searchableView.css +4 -3
  1135. package/front_end/ui/legacy/softDropDownButton.css +10 -6
  1136. package/front_end/ui/legacy/tabbedPane.css +1 -1
  1137. package/front_end/ui/legacy/toolbar.css +38 -18
  1138. package/front_end/ui/visual_logging/KnownContextValues.ts +67 -1
  1139. package/front_end/ui/visual_logging/LoggingDriver.test.ts +53 -6
  1140. package/front_end/ui/visual_logging/LoggingDriver.ts +8 -5
  1141. package/front_end/ui/visual_logging/LoggingEvents.test.ts +5 -1
  1142. package/front_end/ui/visual_logging/LoggingEvents.ts +1 -1
  1143. package/front_end/ui/visual_logging/LoggingState.ts +1 -1
  1144. package/package.json +5 -6
  1145. package/scripts/build/esbuild.js +3 -1
  1146. package/scripts/devtools_paths.js +11 -1
  1147. package/scripts/eslint_rules/lib/check_test_definitions.js +1 -1
  1148. package/scripts/eslint_rules/tests/check_test_definitions_test.js +10 -0
  1149. package/tsconfig.json +11 -1
  1150. package/docs/add_uma_metrics.md +0 -41
  1151. package/docs/uma_metrics.md +0 -23
  1152. package/front_end/panels/animation/AnimationDOMNode.ts +0 -268
  1153. package/front_end/panels/freestyler/components/ProvideFeedback.test.ts +0 -29
  1154. package/front_end/panels/freestyler/components/provideFeedback.css +0 -60
  1155. package/front_end/panels/network/RequestBinaryResponseView.ts +0 -67
  1156. package/scripts/eslint_rules/lib/lit_html_data_as_type.js +0 -83
  1157. package/scripts/eslint_rules/tests/lit_html_data_as_type_test.js +0 -81
@@ -1 +1 @@
1
- {"version":3,"file":"less.js","sources":["../node_modules/@codemirror/lang-less/dist/index.js"],"sourcesContent":["import { LRLanguage, indentNodeProp, continuedIndent, foldNodeProp, foldInside, LanguageSupport } from '@codemirror/language';\nimport { defineCSSCompletionSource } from '@codemirror/lang-css';\nimport { ExternalTokenizer, LRParser } from '@lezer/lr';\nimport { styleTags, tags } from '@lezer/highlight';\n\n// This file was generated by lezer-generator. You probably shouldn't edit it.\nconst descendantOp = 110,\n Unit = 1,\n openArgList = 2;\n\nconst space = [9, 10, 11, 12, 13, 32, 133, 160, 5760, 8192, 8193, 8194, 8195, 8196, 8197,\n 8198, 8199, 8200, 8201, 8202, 8232, 8233, 8239, 8287, 12288];\nfunction isAlpha(ch) { return ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122 || ch >= 161; }\nfunction isDigit(ch) { return ch >= 48 && ch <= 57; }\nconst argList = /*@__PURE__*/new ExternalTokenizer((input, stack) => {\n if (input.next == 40 /* Ch.parenL */) {\n let prev = input.peek(-1);\n if (isAlpha(prev) || isDigit(prev) || prev == 95 /* Ch.underscore */ || prev == 45 /* Ch.dash */)\n input.acceptToken(openArgList, 1);\n }\n});\nconst descendant = /*@__PURE__*/new ExternalTokenizer(input => {\n if (space.indexOf(input.peek(-1)) > -1) {\n let { next } = input;\n if (isAlpha(next) || next == 95 /* Ch.underscore */ || next == 35 /* Ch.hash */ || next == 46 /* Ch.period */ ||\n next == 91 /* Ch.bracketL */ || next == 58 /* Ch.colon */ || next == 45 /* Ch.dash */)\n input.acceptToken(descendantOp);\n }\n});\nconst unitToken = /*@__PURE__*/new ExternalTokenizer(input => {\n if (space.indexOf(input.peek(-1)) < 0) {\n let { next } = input;\n if (next == 37 /* Ch.percent */) {\n input.advance();\n input.acceptToken(Unit);\n }\n if (isAlpha(next)) {\n do {\n input.advance();\n } while (isAlpha(input.next));\n input.acceptToken(Unit);\n }\n }\n});\n\nconst lessHighlighting = /*@__PURE__*/styleTags({\n \"import charset namespace keyframes media supports when\": tags.definitionKeyword,\n \"from to selector\": tags.keyword,\n NamespaceName: tags.namespace,\n KeyframeName: tags.labelName,\n TagName: tags.tagName,\n ClassName: tags.className,\n PseudoClassName: /*@__PURE__*/tags.constant(tags.className),\n IdName: tags.labelName,\n \"FeatureName PropertyName PropertyVariable\": tags.propertyName,\n AttributeName: tags.attributeName,\n NumberLiteral: tags.number,\n KeywordQuery: tags.keyword,\n UnaryQueryOp: tags.operatorKeyword,\n \"CallTag ValueName\": tags.atom,\n VariableName: tags.variableName,\n \"AtKeyword Interpolation\": /*@__PURE__*/tags.special(tags.variableName),\n Callee: tags.operatorKeyword,\n Unit: tags.unit,\n \"UniversalSelector NestingSelector\": tags.definitionOperator,\n MatchOp: tags.compareOperator,\n \"ChildOp SiblingOp, LogicOp\": tags.logicOperator,\n BinOp: tags.arithmeticOperator,\n Important: tags.modifier,\n \"Comment LineComment\": tags.blockComment,\n ColorLiteral: tags.color,\n \"ParenthesizedContent StringLiteral\": tags.string,\n Escape: /*@__PURE__*/tags.special(tags.string),\n \": ...\": tags.punctuation,\n \"PseudoOp #\": tags.derefOperator,\n \"; ,\": tags.separator,\n \"( )\": tags.paren,\n \"[ ]\": tags.squareBracket,\n \"{ }\": tags.brace\n});\n\n// This file was generated by lezer-generator. You probably shouldn't edit it.\nconst spec_identifier = {__proto__:null,lang:40, \"nth-child\":40, \"nth-last-child\":40, \"nth-of-type\":40, \"nth-last-of-type\":40, dir:40, \"host-context\":40, and:244, or:244, not:74, only:74, url:86, \"url-prefix\":86, domain:86, regexp:86, when:117, selector:142, from:172, to:174};\nconst spec_AtKeyword = {__proto__:null,\"@import\":126, \"@plugin\":126, \"@media\":152, \"@charset\":156, \"@namespace\":160, \"@keyframes\":166, \"@supports\":178};\nconst parser = /*@__PURE__*/LRParser.deserialize({\n version: 14,\n states: \"@^O!gQWOOO!nQaO'#CeOOQP'#Cd'#CdO$RQWO'#CgO$xQaO'#EaO%cQWO'#CiO%kQWO'#DZO%pQWO'#D^O%uQaO'#DfOOQP'#Es'#EsO'YQWO'#DlO'yQWO'#DyO(QQWO'#D{O(xQWO'#D}O)TQWO'#EQO'bQWO'#EWO)YQ`O'#FTO)]Q`O'#FTO)hQ`O'#FTO)vQWO'#EYOOQO'#Er'#ErOOQO'#FV'#FVOOQO'#Ec'#EcO){QWO'#EqO*WQWO'#EqQOQWOOOOQP'#Ch'#ChOOQP,59R,59RO$RQWO,59RO*bQWO'#EdO+PQWO,58|O+_QWO,59TO%kQ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R!thQnSS!yn%kR%k$kQ$d#UQ$m#`Y%f$d$m%g%t&TQ%g$eQ%t$uR&T%mQ%n$mR&U%nQ$h#YR%i$hQ$s#fR%r$sQ#q![R$|#qQ%W$PR%{%WQ!o`Q#c!UT$T!o#cQ%[$UR&O%[QiOR#ZwVfOhwUSOhwQ!wmQ#RrQ#SsQ#TuQ$k#^Q$}#rR%a$YR$l#^R$n#`Q!d[S#Uv$gQ#[yQ#f!XQ#u!bQ#|!gQ$U!qQ$]!{d$c#U#`$d$e$m$u%g%m%t&TQ$o#bQ$y#oQ%P#wQ%Q#yS%Y$U%[Q%d$_Q%e$bQ%q$rR%}%ZQzSQ!pbQ!|nQ%b$YR&Q%aQ#YvR%h$gR#g!XQ!_ZQ#e!WQ$x#mR&V%sW![Z!W#m%sQ!m_Q#j!ZQ#t!`Q$w#lR${#pVcOhwSgOwR!sh\",\n nodeNames: \"⚠ Unit ( Comment LineComment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName ) ArgList , PseudoClassName ArgList VariableName AtKeyword PropertyVariable ValueName ( ParenthesizedValue ColorLiteral NumberLiteral StringLiteral Escape Interpolation BinaryExpression BinOp LogicOp UnaryExpression UnaryQueryOp CallExpression ] SubscriptExpression [ CallLiteral CallTag ParenthesizedContent IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp InterpolatedSelector ; when } { Block ImportStatement import KeywordQuery FeatureQuery FeatureName BinaryQuery UnaryQuery ParenthesizedQuery SelectorQuery selector CallQuery ArgList SubscriptQuery MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList from to SupportsStatement supports DetachedRuleSet PropertyName Declaration Important Inclusion IdSelector ClassSelector Inclusion CallExpression\",\n maxTerm: 133,\n nodeProps: [\n [\"isolate\", -3,3,4,30,\"\"],\n [\"openedBy\", 17,\"(\",59,\"{\"],\n [\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So]|`Oy%Tz;'S%T;'S;=`%f<%lO%T]!+yWOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d<%lO!+v]!,hOo]]!,kRO;'S!+v;'S;=`!,t;=`O!+v]!,wXOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d;=`<%l!+v<%lO!+v]!-gP;=`<%l!+vm!-oU|`Oy!*kyz!+vz;'S!*k;'S;=`!.R;=`<%l!+v<%lO!*km!.UXOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d;=`<%l!*k<%lO!+vm!.tP;=`<%l!*km!.|Z|`OY!.wYZ%TZw!.wwx!+cxy!.wyz!/oz#O!.w#O#P!1^#P;'S!.w;'S;=`!2e<%lO!.w]!/rWOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W<%lO!/o]!0_RO;'S!/o;'S;=`!0h;=`O!/o]!0kXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!/o<%lO!/o]!1ZP;=`<%l!/om!1cU|`Oy!.wyz!/oz;'S!.w;'S;=`!1u;=`<%l!/o<%lO!.wm!1xXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!.w<%lO!/om!2hP;=`<%l!.w`!2nP;=`<%l$t\",\n tokenizers: [descendant, unitToken, argList, 0, 1, 2, 3, 4],\n topRules: {\"StyleSheet\":[0,5]},\n specialized: [{term: 116, get: (value) => spec_identifier[value] || -1},{term: 23, get: (value) => spec_AtKeyword[value] || -1}],\n tokenPrec: 2180\n});\n\n/**\nA language provider for Less style sheets.\n*/\nconst lessLanguage = /*@__PURE__*/LRLanguage.define({\n name: \"less\",\n parser: /*@__PURE__*/parser.configure({\n props: [\n /*@__PURE__*/indentNodeProp.add({\n Declaration: /*@__PURE__*/continuedIndent()\n }),\n /*@__PURE__*/foldNodeProp.add({\n Block: foldInside\n })\n ]\n }),\n languageData: {\n commentTokens: { block: { open: \"/*\", close: \"*/\" }, line: \"//\" },\n indentOnInput: /^\\s*\\}$/,\n wordChars: \"@-\"\n }\n});\n/**\nProperty, variable, @-variable, and value keyword completion\nsource.\n*/\nconst lessCompletionSource = /*@__PURE__*/defineCSSCompletionSource(node => node.name == \"VariableName\" || node.name == \"AtKeyword\");\n/**\nLanguage support for Less.\n*/\nfunction less() {\n return new LanguageSupport(lessLanguage, lessLanguage.data.of({ autocomplete: lessCompletionSource }));\n}\n\nexport { less, lessCompletionSource, lessLanguage };\n"],"names":["space","isAlpha","ch","argList","ExternalTokenizer","input","stack","next","prev","peek","acceptToken","descendant","indexOf","unitToken","advance","lessHighlighting","styleTags","tags","definitionKeyword","keyword","NamespaceName","namespace","KeyframeName","labelName","TagName","tagName","ClassName","className","PseudoClassName","constant","IdName","propertyName","AttributeName","attributeName","NumberLiteral","number","KeywordQuery","UnaryQueryOp","operatorKeyword","atom","VariableName","variableName","special","Callee","Unit","unit","definitionOperator","MatchOp","compareOperator","logicOperator","BinOp","arithmeticOperator","Important","modifier","blockComment","ColorLiteral","color","string","Escape","punctuation","derefOperator","separator","paren","squareBracket","brace","spec_identifier","__proto__","lang","dir","and","or","not","only","url","domain","regexp","when","selector","from","to","spec_AtKeyword","parser","LRParser","deserialize","version","states","stateData","goto","nodeNames","maxTerm","nodeProps","propSources","skippedNodes","repeatNodeCount","tokenData","tokenizers","topRules","StyleSheet","specialized","term","get","value","tokenPrec","lessLanguage","LRLanguage","define","name","configure","props","indentNodeProp","add","Declaration","continuedIndent","foldNodeProp","Block","foldInside","languageData","commentTokens","block","open","close","line","indentOnInput","wordChars","lessCompletionSource","defineCSSCompletionSource","node","less","LanguageSupport","data","of","autocomplete"],"mappings":"0GAMA,MAIMA,EAAQ,CAAC,EAAG,GAAI,GAAI,GAAI,GAAI,GAAI,IAAK,IAAK,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAChF,KAAM,KAAM,KAAM,KAAM,KAA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ACC,WAAa,CAAC,EAAE,IAC3BC,YAAa,CAAC,CAACC,KAAM,IAAKC,IAAMC,GAAUpC,EAAgBoC,KAAW,GAAG,CAACF,KAAM,GAAIC,IAAMC,GAAUrB,EAAeqB,KAAW,IAC7HC,UAAW,OAMPC,EAA4BC,EAAWC,OAAO,CAChDC,KAAM,OACNzB,OAAqBA,EAAO0B,UAAU,CAClCC,MAAO,CACUC,EAAeC,IAAI,CAC5BC,YAA0BC,MAEjBC,EAAaH,IAAI,CAC1BI,MAAOC,OAInBC,aAAc,CACVC,cAAe,CAAEC,MAAO,CAAEC,KAAM,KAAMC,MAAO,MAAQC,KAAM,MAC3DC,cAAe,UACfC,UAAW,QAObC,EAAoCC,GAA0BC,GAAqB,gBAAbA,EAAKpB,MAAuC,aAAboB,EAAKpB,OAIhH,SAASqB,IACL,OAAO,IAAIC,EAAgBzB,EAAcA,EAAa0B,KAAKC,GAAG,CAAEC,aAAcP,IAClF"}
1
+ {"version":3,"file":"less.js","sources":["../node_modules/@codemirror/lang-less/dist/index.js"],"sourcesContent":["import { LRLanguage, indentNodeProp, continuedIndent, foldNodeProp, foldInside, LanguageSupport } from '@codemirror/language';\nimport { defineCSSCompletionSource } from '@codemirror/lang-css';\nimport { ExternalTokenizer, LRParser } from '@lezer/lr';\nimport { styleTags, tags } from '@lezer/highlight';\n\n// This file was generated by lezer-generator. You probably shouldn't edit it.\nconst descendantOp = 110,\n Unit = 1,\n openArgList = 2;\n\nconst space = [9, 10, 11, 12, 13, 32, 133, 160, 5760, 8192, 8193, 8194, 8195, 8196, 8197,\n 8198, 8199, 8200, 8201, 8202, 8232, 8233, 8239, 8287, 12288];\nfunction isAlpha(ch) { return ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122 || ch >= 161; }\nfunction isDigit(ch) { return ch >= 48 && ch <= 57; }\nconst argList = /*@__PURE__*/new ExternalTokenizer((input, stack) => {\n if (input.next == 40 /* Ch.parenL */) {\n let prev = input.peek(-1);\n if (isAlpha(prev) || isDigit(prev) || prev == 95 /* Ch.underscore */ || prev == 45 /* Ch.dash */)\n input.acceptToken(openArgList, 1);\n }\n});\nconst descendant = /*@__PURE__*/new ExternalTokenizer(input => {\n if (space.indexOf(input.peek(-1)) > -1) {\n let { next } = input;\n if (isAlpha(next) || next == 95 /* Ch.underscore */ || next == 35 /* Ch.hash */ || next == 46 /* Ch.period */ ||\n next == 91 /* Ch.bracketL */ || next == 58 /* Ch.colon */ || next == 45 /* Ch.dash */)\n input.acceptToken(descendantOp);\n }\n});\nconst unitToken = /*@__PURE__*/new ExternalTokenizer(input => {\n if (space.indexOf(input.peek(-1)) < 0) {\n let { next } = input;\n if (next == 37 /* Ch.percent */) {\n input.advance();\n input.acceptToken(Unit);\n }\n if (isAlpha(next)) {\n do {\n input.advance();\n } while (isAlpha(input.next));\n input.acceptToken(Unit);\n }\n }\n});\n\nconst lessHighlighting = /*@__PURE__*/styleTags({\n \"import charset namespace keyframes media supports when\": tags.definitionKeyword,\n \"from to selector\": tags.keyword,\n NamespaceName: tags.namespace,\n KeyframeName: tags.labelName,\n TagName: tags.tagName,\n ClassName: tags.className,\n PseudoClassName: /*@__PURE__*/tags.constant(tags.className),\n IdName: tags.labelName,\n \"FeatureName PropertyName PropertyVariable\": tags.propertyName,\n AttributeName: tags.attributeName,\n NumberLiteral: tags.number,\n KeywordQuery: tags.keyword,\n UnaryQueryOp: tags.operatorKeyword,\n \"CallTag ValueName\": tags.atom,\n VariableName: tags.variableName,\n \"AtKeyword Interpolation\": /*@__PURE__*/tags.special(tags.variableName),\n Callee: tags.operatorKeyword,\n Unit: tags.unit,\n \"UniversalSelector NestingSelector\": tags.definitionOperator,\n MatchOp: tags.compareOperator,\n \"ChildOp SiblingOp, LogicOp\": tags.logicOperator,\n BinOp: tags.arithmeticOperator,\n Important: tags.modifier,\n \"Comment LineComment\": tags.blockComment,\n ColorLiteral: tags.color,\n \"ParenthesizedContent StringLiteral\": tags.string,\n Escape: /*@__PURE__*/tags.special(tags.string),\n \": ...\": tags.punctuation,\n \"PseudoOp #\": tags.derefOperator,\n \"; ,\": tags.separator,\n \"( )\": tags.paren,\n \"[ ]\": tags.squareBracket,\n \"{ }\": tags.brace\n});\n\n// This file was generated by lezer-generator. You probably shouldn't edit it.\nconst spec_identifier = {__proto__:null,lang:40, \"nth-child\":40, \"nth-last-child\":40, \"nth-of-type\":40, \"nth-last-of-type\":40, dir:40, \"host-context\":40, and:244, or:244, not:74, only:74, url:86, \"url-prefix\":86, domain:86, regexp:86, when:117, selector:142, from:172, to:174};\nconst spec_AtKeyword = {__proto__:null,\"@import\":126, \"@plugin\":126, \"@media\":152, \"@charset\":156, \"@namespace\":160, \"@keyframes\":166, \"@supports\":178};\nconst parser = /*@__PURE__*/LRParser.deserialize({\n version: 14,\n states: \"@^O!gQWOOO!nQaO'#CeOOQP'#Cd'#CdO$RQWO'#CgO$xQaO'#EaO%cQWO'#CiO%kQWO'#DZO%pQWO'#D^O%uQaO'#DfOOQP'#Es'#EsO'YQWO'#DlO'yQWO'#DyO(QQWO'#D{O(xQWO'#D}O)TQWO'#EQO'bQWO'#EWO)YQ`O'#FTO)]Q`O'#FTO)hQ`O'#FTO)vQWO'#EYOOQO'#Er'#ErOOQO'#FV'#FVOOQO'#Ec'#EcO){QWO'#EqO*WQWO'#EqQOQWOOOOQP'#Ch'#ChOOQP,59R,59RO$RQWO,59RO*bQWO'#EdO+PQWO,58|O+_QWO,59TO%kQWO,59uO%pQWO,59xO*bQWO,59{O*bQWO,59}OOQO'#De'#DeO*bQWO,5:OO,bQpO'#E}O,iQWO'#DkOOQO,58|,58|O(QQWO,58|O,pQWO,5:{OOQO,5:{,5:{OOQT'#Cl'#ClO-UQeO,59TO.cQ[O,59TOOQP'#D]'#D]OOQP,59u,59uOOQO'#D_'#D_O.hQpO,59xOOQO'#EZ'#EZO.pQ`O,5;oOOQO,5;o,5;oO/OQWO,5:WO/VQWO,5:WOOQS'#Dn'#DnO/rQWO'#DsO/yQ!fO'#FRO0eQWO'#DtO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%P#wQ%Q#yS%Y$U%[Q%d$_Q%e$bQ%q$rR%}%ZQzSQ!pbQ!|nQ%b$YR&Q%aQ#YvR%h$gR#g!XQ!_ZQ#e!WQ$x#mR&V%sW![Z!W#m%sQ!m_Q#j!ZQ#t!`Q$w#lR${#pVcOhwSgOwR!sh\",\n nodeNames: \"⚠ Unit ( Comment LineComment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName ) ArgList , PseudoClassName ArgList VariableName AtKeyword PropertyVariable ValueName ( ParenthesizedValue ColorLiteral NumberLiteral StringLiteral Escape Interpolation BinaryExpression BinOp LogicOp UnaryExpression UnaryQueryOp CallExpression ] SubscriptExpression [ CallLiteral CallTag ParenthesizedContent IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp InterpolatedSelector ; when } { Block ImportStatement import KeywordQuery FeatureQuery FeatureName BinaryQuery UnaryQuery ParenthesizedQuery SelectorQuery selector CallQuery ArgList SubscriptQuery MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList from to SupportsStatement supports DetachedRuleSet PropertyName Declaration Important Inclusion IdSelector ClassSelector Inclusion CallExpression\",\n maxTerm: 133,\n nodeProps: [\n [\"isolate\", -3,3,4,30,\"\"],\n [\"openedBy\", 17,\"(\",59,\"{\"],\n [\"closedBy\", 26,\")\",60,\"}\"]\n ],\n propSources: [lessHighlighting],\n skippedNodes: [0,3,4],\n repeatNodeCount: 10,\n tokenData: \"!2q~R!ZOX$tX^%l^p$tpq%lqr)Ors-xst/ltu6Zuv$tvw8^wx:Uxy;syz<Uz{<Z{|<t|}BQ}!OBc!O!PDo!P!QFY!Q![Jw![!]Kr!]!^Ln!^!_MP!_!`M{!`!aNl!a!b$t!b!c! m!c!}!&R!}#O!'y#O#P$t#P#Q!([#Q#R!(m#R#T$t#T#o!&R#o#p!)S#p#q!(m#q#r!)e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+v;'S;=`!-d;=`<%l!*k<%lO!+vm!.tP;=`<%l!*km!.|Z|`OY!.wYZ%TZw!.wwx!+cxy!.wyz!/oz#O!.w#O#P!1^#P;'S!.w;'S;=`!2e<%lO!.w]!/rWOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W<%lO!/o]!0_RO;'S!/o;'S;=`!0h;=`O!/o]!0kXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!/o<%lO!/o]!1ZP;=`<%l!/om!1cU|`Oy!.wyz!/oz;'S!.w;'S;=`!1u;=`<%l!/o<%lO!.wm!1xXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!.w<%lO!/om!2hP;=`<%l!.w`!2nP;=`<%l$t\",\n tokenizers: [descendant, unitToken, argList, 0, 1, 2, 3, 4],\n topRules: {\"StyleSheet\":[0,5]},\n specialized: [{term: 116, get: (value) => spec_identifier[value] || -1},{term: 23, get: (value) => spec_AtKeyword[value] || -1}],\n tokenPrec: 2180\n});\n\n/**\nA language provider for Less style sheets.\n*/\nconst lessLanguage = /*@__PURE__*/LRLanguage.define({\n name: \"less\",\n parser: /*@__PURE__*/parser.configure({\n props: [\n /*@__PURE__*/indentNodeProp.add({\n Declaration: /*@__PURE__*/continuedIndent()\n }),\n /*@__PURE__*/foldNodeProp.add({\n Block: foldInside\n })\n ]\n }),\n languageData: {\n commentTokens: { block: { open: \"/*\", close: \"*/\" }, line: \"//\" },\n indentOnInput: /^\\s*\\}$/,\n wordChars: \"@-\"\n }\n});\n/**\nProperty, variable, @-variable, and value keyword completion\nsource.\n*/\nconst lessCompletionSource = /*@__PURE__*/defineCSSCompletionSource(node => node.name == \"VariableName\" || node.name == \"AtKeyword\");\n/**\nLanguage support for Less.\n*/\nfunction less() {\n return new LanguageSupport(lessLanguage, lessLanguage.data.of({ autocomplete: lessCompletionSource }));\n}\n\nexport { less, lessCompletionSource, lessLanguage };\n"],"names":["space","isAlpha","ch","argList","ExternalTokenizer","input","stack","next","prev","peek","acceptToken","descendant","indexOf","unitToken","advance","lessHighlighting","styleTags","tags","definitionKeyword","keyword","NamespaceName","namespace","KeyframeName","labelName","TagName","tagName","ClassName","className","PseudoClassName","constant","IdName","propertyName","AttributeName","attributeName","NumberLiteral","number","KeywordQuery","UnaryQueryOp","operatorKeyword","atom","VariableName","variableName","special","Callee","Unit","unit","definitionOperator","MatchOp","compareOperator","logicOperator","BinOp","arithmeticOperator","Important","modifier","blockComment","ColorLiteral","color","string","Escape","punctuation","derefOperator","separator","paren","squareBracket","brace","spec_identifier","__proto__","lang","dir","and","or","not","only","url","domain","regexp","when","selector","from","to","spec_AtKeyword","parser","LRParser","deserialize","version","states","stateData","goto","nodeNames","maxTerm","nodeProps","propSources","skippedNodes","repeatNodeCount","tokenData","tokenizers","topRules","StyleSheet","specialized","term","get","value","tokenPrec","lessLanguage","LRLanguage","define","name","configure","props","indentNodeProp","add","Declaration","continuedIndent","foldNodeProp","Block","foldInside","languageData","commentTokens","block","open","close","line","indentOnInput","wordChars","lessCompletionSource","defineCSSCompletionSource","node","less","LanguageSupport","data","of","autocomplete"],"mappings":"0GAMA,MAIMA,EAAQ,CAAC,EAAG,GAAI,GAAI,GAAI,GAAI,GAAI,IAAK,IAAK,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAChF,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,OAC1D,SAASC,EAAQC,GAAM,OAAOA,GAAM,IAAMA,GAAM,IAAMA,GAAM,IAAMA,GAAM,KAAOA,GAAM,GAAM,CAE3F,MAAMC,EAAuB,IAAIC,GAAkB,CAACC,EAAOC,KACvD,GAAkB,IAAdD,EAAME,KAA4B,CAClC,IAAIC,EAAOH,EAAMI,MAAM,IACnBR,EAAQO,KAJHN,EAIoBM,IAJD,IAAMN,GAAM,IAIM,IAARM,GAA0C,IAARA,IACpEH,EAAMK,YAVF,EAU2B,EACtC,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AAOC,OAInBC,aAAc,CACVC,cAAe,CAAEC,MAAO,CAAEC,KAAM,KAAMC,MAAO,MAAQC,KAAM,MAC3DC,cAAe,UACfC,UAAW,QAObC,EAAoCC,GAA0BC,GAAqB,gBAAbA,EAAKpB,MAAuC,aAAboB,EAAKpB,OAIhH,SAASqB,IACL,OAAO,IAAIC,EAAgBzB,EAAcA,EAAa0B,KAAKC,GAAG,CAAEC,aAAcP,IAClF"}
@@ -1,2 +1,2 @@
1
- import{N as e,l as t,s as n,t as r,m as s,P as i,T as o,n as a,p as l,o as h,q as f,r as c,u,a as d,v as p,w as m,x as g,C as k,y as x,z as b,A as L,B as S,h as C,D as w,F as y,e as A,i as I,G as T}from"./codemirror.js";class B{static create(e,t,n,r,s){return new B(e,t,n,r+(r<<8)+e+(t<<4)|0,s,[],[])}constructor(e,n,r,s,i,o,a){this.type=e,this.value=n,this.from=r,this.hash=s,this.end=i,this.children=o,this.positions=a,this.hashProp=[[t.contextHash,s]]}addChild(e,n){e.prop(t.contextHash)!=this.hash&&(e=new a(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(n)}toTree(t,n=this.end){let r=this.children.length-1;return r>=0&&(n=Math.max(n,this.positions[r]+this.children[r].length+this.from)),new a(t.types[this.type],this.children,this.positions,n-this.from).balance({makeTree:(t,n,r)=>new a(e.none,t,n,r,this.hashProp)})}}var E;!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"}(E||(E={}));class M{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class H{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 O(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+=9==this.text.charCodeAt(r)?4-n%4:1;return n}findColumn(e){let t=0;for(let n=0;t<this.text.length&&n<e;t++)n+=9==this.text.charCodeAt(t)?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 v(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==E.OrderedList?q:F)(n,t,!1);return r>0&&(e.type!=E.BulletList||D(n,t,!1)<0)&&n.text.charCodeAt(n.pos+r-1)==e.value}const P={[E.Blockquote]:(e,t,n)=>62==n.next&&(n.markers.push(ge(E.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(N(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0),[E.ListItem]:(e,t,n)=>!(n.indent<n.baseIndent+e.value&&n.next>-1)&&(n.moveBaseColumn(n.baseIndent+e.value),!0),[E.OrderedList]:v,[E.BulletList]:v,[E.Document]:()=>!0};function N(e){return 32==e||9==e||10==e||13==e}function O(e,t=0){for(;t<e.length&&N(e.charCodeAt(t));)t++;return t}function R(e,t,n){for(;t>n&&N(e.charCodeAt(t-1));)t--;return t}function X(e){if(96!=e.next&&126!=e.next)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(96==e.next)for(let n=t;n<e.text.length;n++)if(96==e.text.charCodeAt(n))return-1;return t}function z(e){return 62!=e.next?-1:32==e.text.charCodeAt(e.pos+1)?2:1}function D(e,t,n){if(42!=e.next&&45!=e.next&&95!=e.next)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(!N(n))return-1}return n&&45==e.next&&U(e)>-1&&e.depth==t.stack.length&&t.parser.leafBlockParsers.indexOf(ne.SetextHeading)>-1||r<3?-1:1}function $(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function F(e,t,n){return 45!=e.next&&43!=e.next&&42!=e.next||e.pos!=e.text.length-1&&!N(e.text.charCodeAt(e.pos+1))||!(!n||$(t,E.BulletList)||e.skipSpace(e.pos+2)<e.text.length)?-1:1}function q(e,t,n){let r=e.pos,s=e.next;for(;s>=48&&s<=57;){if(r++,r==e.text.length)return-1;s=e.text.charCodeAt(r)}return r==e.pos||r>e.pos+9||46!=s&&41!=s||r<e.text.length-1&&!N(e.text.charCodeAt(r+1))||n&&!$(t,E.OrderedList)&&(e.skipSpace(r+1)==e.text.length||r>e.pos+1||49!=e.next)?-1:r+1-e.pos}function j(e){if(35!=e.next)return-1;let t=e.pos+1;for(;t<e.text.length&&35==e.text.charCodeAt(t);)t++;if(t<e.text.length&&32!=e.text.charCodeAt(t))return-1;let n=t-e.pos;return n>6?-1:n}function U(e){if(45!=e.next&&61!=e.next||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&&N(e.text.charCodeAt(t));)t++;return t==e.text.length?n:-1}const _=/^[ \t]*$/,Q=/-->/,Z=/\?>/,G=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,Q],[/^\s*<\?/,Z],[/^\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,_],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,_]];function V(e,t,n){if(60!=e.next)return-1;let r=e.text.slice(e.pos);for(let e=0,t=G.length-(n?1:0);e<t;e++)if(G[e][0].test(r))return e;return-1}function K(e,t){let n=e.countIndent(t,e.pos,e.indent),r=e.countIndent(e.skipSpace(t),t,n);return r>=n+5?n+1:r}function J(e,t,n){let r=e.length-1;r>=0&&e[r].to==t&&e[r].type==E.CodeText?e[r].to=n:e.push(ge(E.CodeText,t,n))}const W={LinkReference:void 0,IndentedCode(e,t){let n=t.baseIndent+4;if(t.indent<n)return!1;let r=t.findColumn(n),s=e.lineStart+r,i=e.lineStart+t.text.length,o=[],a=[];for(J(o,s,i);e.nextLine()&&t.depth>=e.stack.length;)if(t.pos==t.text.length){J(a,e.lineStart-1,e.lineStart);for(let e of t.markers)a.push(e)}else{if(t.indent<n)break;{if(a.length){for(let e of a)e.type==E.CodeText?J(o,e.from,e.to):o.push(e);a=[]}J(o,e.lineStart-1,e.lineStart);for(let e of t.markers)o.push(e);i=e.lineStart+t.text.length;let n=e.lineStart+t.findColumn(t.baseIndent+4);n<i&&J(o,n,i)}}return a.length&&(a=a.filter((e=>e.type!=E.CodeText)),a.length&&(t.markers=a.concat(t.markers))),e.addNode(e.buffer.writeElements(o,-s).finish(E.CodeBlock,i-s),s),!0},FencedCode(e,t){let n=X(t);if(n<0)return!1;let r=e.lineStart+t.pos,s=t.next,i=n-t.pos,o=t.skipSpace(n),a=R(t.text,t.text.length,o),l=[ge(E.CodeMark,r,r+i)];o<a&&l.push(ge(E.CodeInfo,e.lineStart+o,e.lineStart+a));for(let n=!0;e.nextLine()&&t.depth>=e.stack.length;n=!1){let r=t.pos;if(t.indent-t.baseIndent<4)for(;r<t.text.length&&t.text.charCodeAt(r)==s;)r++;if(r-t.pos>=i&&t.skipSpace(r)==t.text.length){for(let e of t.markers)l.push(e);l.push(ge(E.CodeMark,e.lineStart+t.pos,e.lineStart+r)),e.nextLine();break}{n||J(l,e.lineStart-1,e.lineStart);for(let e of t.markers)l.push(e);let r=e.lineStart+t.basePos,s=e.lineStart+t.text.length;r<s&&J(l,r,s)}}return e.addNode(e.buffer.writeElements(l,-r).finish(E.FencedCode,e.prevLineEnd()-r),r),!0},Blockquote(e,t){let n=z(t);return!(n<0)&&(e.startContext(E.Blockquote,t.pos),e.addNode(E.QuoteMark,e.lineStart+t.pos,e.lineStart+t.pos+1),t.moveBase(t.pos+n),null)},HorizontalRule(e,t){if(D(t,e,!1)<0)return!1;let n=e.lineStart+t.pos;return e.nextLine(),e.addNode(E.HorizontalRule,n),!0},BulletList(e,t){let n=F(t,e,!1);if(n<0)return!1;e.block.type!=E.BulletList&&e.startContext(E.BulletList,t.basePos,t.next);let r=K(t,t.pos+1);return e.startContext(E.ListItem,t.basePos,r-t.baseIndent),e.addNode(E.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),null},OrderedList(e,t){let n=q(t,e,!1);if(n<0)return!1;e.block.type!=E.OrderedList&&e.startContext(E.OrderedList,t.basePos,t.text.charCodeAt(t.pos+n-1));let r=K(t,t.pos+n);return e.startContext(E.ListItem,t.basePos,r-t.baseIndent),e.addNode(E.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),null},ATXHeading(e,t){let n=j(t);if(n<0)return!1;let r=t.pos,s=e.lineStart+r,i=R(t.text,t.text.length,r),o=i;for(;o>r&&t.text.charCodeAt(o-1)==t.next;)o--;o!=i&&o!=r&&N(t.text.charCodeAt(o-1))||(o=t.text.length);let a=e.buffer.write(E.HeaderMark,0,n).writeElements(e.parser.parseInline(t.text.slice(r+n+1,o),s+n+1),-s);o<t.text.length&&a.write(E.HeaderMark,o-r,i-r);let l=a.finish(E.ATXHeading1-1+n,t.text.length-r);return e.nextLine(),e.addNode(l,s),!0},HTMLBlock(e,t){let n=V(t,0,!1);if(n<0)return!1;let r=e.lineStart+t.pos,s=G[n][1],i=[],o=s!=_;for(;!s.test(t.text)&&e.nextLine();){if(t.depth<e.stack.length){o=!1;break}for(let e of t.markers)i.push(e)}o&&e.nextLine();let a=s==Q?E.CommentBlock:s==Z?E.ProcessingInstructionBlock:E.HTMLBlock,l=e.prevLineEnd();return e.addNode(e.buffer.writeElements(i,-r).finish(a,l-r),r),!0},SetextHeading:void 0};class Y{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,t,n){if(-1==this.stage)return!1;let r=n.content+"\n"+t.scrub(),s=this.advance(r);return s>-1&&s<r.length&&this.complete(e,n,s)}finish(e,t){return(2==this.stage||3==this.stage)&&O(t.content,this.pos)==t.content.length&&this.complete(e,t,t.content.length)}complete(e,t,n){return e.addLeafElement(t,ge(E.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):(!1===e&&(this.stage=-1),!1)}advance(e){for(;;){if(-1==this.stage)return-1;if(0==this.stage){if(!this.nextStage(Be(e,this.pos,this.start,!0)))return-1;if(58!=e.charCodeAt(this.pos))return this.stage=-1;this.elts.push(ge(E.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else{if(1!=this.stage){if(2==this.stage){let t=O(e,this.pos),n=0;if(t>this.pos){let r=Te(e,t,this.start);if(r){let t=ee(e,r.to-this.start);t>0&&(this.nextStage(r),n=t)}}return n||(n=ee(e,this.pos)),n>0&&n<e.length?n:-1}return ee(e,this.pos)}if(!this.nextStage(Ie(e,O(e,this.pos),this.start)))return-1}}}}function ee(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(10==n)break;if(!N(n))return-1}return t}class te{nextLine(e,t,n){let r=t.depth<e.stack.length?-1:U(t),s=t.next;if(r<0)return!1;let i=ge(E.HeaderMark,e.lineStart+t.pos,e.lineStart+r);return e.nextLine(),e.addLeafElement(n,ge(61==s?E.SetextHeading1:E.SetextHeading2,n.start,e.prevLineEnd(),[...e.parser.parseInline(n.content,n.start),i])),!0}finish(){return!1}}const ne={LinkReference:(e,t)=>91==t.content.charCodeAt(0)?new Y(t):null,SetextHeading:()=>new te},re=[(e,t)=>j(t)>=0,(e,t)=>X(t)>=0,(e,t)=>z(t)>=0,(e,t)=>F(t,e,!0)>=0,(e,t)=>q(t,e,!0)>=0,(e,t)=>D(t,e,!0)>=0,(e,t)=>V(t,0,!0)>=0],se={text:"",end:0};class ie{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.line=new H,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=B.create(E.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=n.length?new ve(n,t):null,this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(null!=this.stoppedAt&&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(0!=n){if(1==n)return null;e.forward();continue e}}break}let t=new M(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+="\n"+e.scrub();for(let n of e.markers)t.marks.push(n)}return this.finishLeaf(t),null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new 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=Pe(this.absoluteLineStart,this.ranges),this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++,this.readLine()):(this.atEnd=!0,this.readLine()),!0)}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)}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=se;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,s=this.lineChunkAt(r);t.end=r+s.length,t.text=t.text.slice(0,this.ranges[n-1].to-e)+s,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 new Error("Unhandled block context "+E[t.type]);if(!n(t,this,e))break;e.forward()}}lineChunkAt(e){let t,n=this.input.chunk(e);if(this.input.lineChunks)t="\n"==n?"":n;else{let e=n.indexOf("\n");t=e<0?n:n.slice(0,e)}return e+t.length>this.to?t.slice(0,this.to-e):t}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,t,n=0){this.block=B.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){"number"==typeof e&&(e=new a(this.parser.nodeSet.types[e],ue,ue,(null!=n?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(Me(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?oe(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=Me(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(E.Paragraph,e.content.length),e.start)}elt(e,t,n,r){return"string"==typeof e?ge(this.parser.getNodeType(e),t,n,r):new me(e,t)}get buffer(){return new de(this.parser.nodeSet)}}function oe(e,t,n,r,s){let i=e[t].to,o=[],l=[],h=n.from+r;function f(n,s){for(;s?n>=i:n>i;){let s=e[t+1].from-i;r+=s,n+=s,t++,i=e[t].to}}for(let a=n.firstChild;a;a=a.nextSibling){f(a.from+r,!0);let n,c=a.from+r,u=s.get(a.tree);u?n=u:a.to+r>i?(n=oe(e,t,a,r,s),f(a.to+r,!1)):n=a.toTree(),o.push(n),l.push(c-h)}return f(n.to+r,!1),new a(n.type,o,l,n.to+r-h,n.tree?n.tree.propValues:void 0)}class ae extends i{constructor(e,t,n,r,s,i,o,a,l){super(),this.nodeSet=e,this.blockParsers=t,this.leafBlockParsers=n,this.blockNames=r,this.endLeafBlock=s,this.skipContextMarkup=i,this.inlineParsers=o,this.inlineNames=a,this.wrappers=l,this.nodeTypes=Object.create(null);for(let t of e.types)this.nodeTypes[t.name]=t.id}createParse(e,t,n){let r=new ie(this,e,t,n);for(let s of this.wrappers)r=s(r,e,t,n);return r}configure(r){let i=he(r);if(!i)return this;let{nodeSet:a,skipContextMarkup:l}=this,h=this.blockParsers.slice(),f=this.leafBlockParsers.slice(),c=this.blockNames.slice(),u=this.inlineParsers.slice(),d=this.inlineNames.slice(),p=this.endLeafBlock.slice(),m=this.wrappers;if(le(i.defineNodes)){l=Object.assign({},l);let r,h=a.types.slice();for(let n of i.defineNodes){let{name:s,block:i,composite:a,style:f}="string"==typeof n?{name:n}:n;if(h.some((e=>e.name==s)))continue;a&&(l[h.length]=(e,t,n)=>a(t,n,e.value));let c=h.length,u=a?["Block","BlockContext"]:i?c>=E.ATXHeading1&&c<=E.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;h.push(e.define({id:c,name:s,props:u&&[[t.group,u]]})),f&&(r||(r={}),Array.isArray(f)||f instanceof o?r[s]=f:Object.assign(r,f))}a=new s(h),r&&(a=a.extend(n(r)))}if(le(i.props)&&(a=a.extend(...i.props)),le(i.remove))for(let e of i.remove){let t=this.blockNames.indexOf(e),n=this.inlineNames.indexOf(e);t>-1&&(h[t]=f[t]=void 0),n>-1&&(u[n]=void 0)}if(le(i.parseBlock))for(let e of i.parseBlock){let t=c.indexOf(e.name);if(t>-1)h[t]=e.parse,f[t]=e.leaf;else{let t=e.before?fe(c,e.before):e.after?fe(c,e.after)+1:c.length-1;h.splice(t,0,e.parse),f.splice(t,0,e.leaf),c.splice(t,0,e.name)}e.endLeaf&&p.push(e.endLeaf)}if(le(i.parseInline))for(let e of i.parseInline){let t=d.indexOf(e.name);if(t>-1)u[t]=e.parse;else{let t=e.before?fe(d,e.before):e.after?fe(d,e.after)+1:d.length-1;u.splice(t,0,e.parse),d.splice(t,0,e.name)}}return i.wrap&&(m=m.concat(i.wrap)),new ae(a,h,f,c,p,l,u,d,m)}getNodeType(e){let t=this.nodeTypes[e];if(null==t)throw new RangeError(`Unknown node type '${e}'`);return t}parseInline(e,t){let n=new Ee(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 s=r(n,t,e);if(s>=0){e=s;continue e}}e++}return n.resolveMarkers(0)}}function le(e){return null!=e&&e.length>0}function he(e){if(!Array.isArray(e))return e;if(0==e.length)return null;let t=he(e[0]);if(1==e.length)return t;let n=he(e.slice(1));if(!n||!t)return t||n;let r=(e,t)=>(e||ue).concat(t||ue),s=t.wrap,i=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:s?i?(e,t,n,r)=>s(i(e,t,n,r),t,n,r):s:i}}function fe(e,t){let n=e.indexOf(t);if(n<0)throw new RangeError(`Position specified relative to unknown parser ${t}`);return n}let ce=[e.none];for(let n,r=1;n=E[r];r++)ce[r]=e.define({id:r,name:n,props:r>=E.Escape?[]:[[t.group,r in P?["Block","BlockContext"]:["Block","LeafBlock"]]],top:"Document"==n});const ue=[];class de{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,t,n,r=0){return this.content.push(e,t,n,4+4*r),this}writeElements(e,t=0){for(let n of e)n.writeTo(this,t);return this}finish(e,t){return a.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}}class pe{constructor(e,t,n,r=ue){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 de(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}}class me{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 ue}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 ge(e,t,n,r){return new pe(e,t,n,r)}const ke={resolve:"Emphasis",mark:"EmphasisMark"},xe={resolve:"Emphasis",mark:"EmphasisMark"},be={},Le={};class Se{constructor(e,t,n,r){this.type=e,this.from=t,this.to=n,this.side=r}}const Ce="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";let we=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{we=new RegExp("[\\p{S}|\\p{P}]","u")}catch(e){}const ye={Escape(e,t,n){if(92!=t||n==e.end-1)return-1;let r=e.char(n+1);for(let t=0;t<32;t++)if(Ce.charCodeAt(t)==r)return e.append(ge(E.Escape,n,n+2));return-1},Entity(e,t,n){if(38!=t)return-1;let r=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(e.slice(n+1,n+31));return r?e.append(ge(E.Entity,n,n+1+r[0].length)):-1},InlineCode(e,t,n){if(96!=t||n&&96==e.char(n-1))return-1;let r=n+1;for(;r<e.end&&96==e.char(r);)r++;let s=r-n,i=0;for(;r<e.end;r++)if(96==e.char(r)){if(i++,i==s&&96!=e.char(r+1))return e.append(ge(E.InlineCode,n,r+1,[ge(E.CodeMark,n,n+s),ge(E.CodeMark,r+1-s,r+1)]))}else i=0;return-1},HTMLTag(e,t,n){if(60!=t||n==e.end-1)return-1;let r=e.slice(n+1,e.end),s=/^(?:[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(s)return e.append(ge(E.Autolink,n,n+1+s[0].length,[ge(E.LinkMark,n,n+1),ge(E.URL,n+1,n+s[0].length),ge(E.LinkMark,n+s[0].length,n+1+s[0].length)]));let i=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(r);if(i)return e.append(ge(E.Comment,n,n+1+i[0].length));let o=/^\?[^]*?\?>/.exec(r);if(o)return e.append(ge(E.ProcessingInstruction,n,n+1+o[0].length));let a=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(r);return a?e.append(ge(E.HTMLTag,n,n+1+a[0].length)):-1},Emphasis(e,t,n){if(95!=t&&42!=t)return-1;let r=n+1;for(;e.char(r)==t;)r++;let s=e.slice(n-1,n),i=e.slice(r,r+1),o=we.test(s),a=we.test(i),l=/\s|^$/.test(s),h=/\s|^$/.test(i),f=!h&&(!a||l||o),c=!l&&(!o||h||a),u=f&&(42==t||!c||o),d=c&&(42==t||!f||a);return e.append(new Se(95==t?ke:xe,n,r,(u?1:0)|(d?2:0)))},HardBreak(e,t,n){if(92==t&&10==e.char(n+1))return e.append(ge(E.HardBreak,n,n+2));if(32==t){let t=n+1;for(;32==e.char(t);)t++;if(10==e.char(t)&&t>=n+2)return e.append(ge(E.HardBreak,n,t+1))}return-1},Link:(e,t,n)=>91==t?e.append(new Se(be,n,n+1,1)):-1,Image:(e,t,n)=>33==t&&91==e.char(n+1)?e.append(new Se(Le,n,n+2,1)):-1,LinkEnd(e,t,n){if(93!=t)return-1;for(let t=e.parts.length-1;t>=0;t--){let r=e.parts[t];if(r instanceof Se&&(r.type==be||r.type==Le)){if(!r.side||e.skipSpace(r.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[t]=null,-1;let s=e.takeContent(t),i=e.parts[t]=Ae(e,s,r.type==be?E.Link:E.Image,r.from,n+1);if(r.type==be)for(let n=0;n<t;n++){let t=e.parts[n];t instanceof Se&&t.type==be&&(t.side=0)}return i.to}}return-1}};function Ae(e,t,n,r,s){let{text:i}=e,o=e.char(s),a=s;if(t.unshift(ge(E.LinkMark,r,r+(n==E.Image?2:1))),t.push(ge(E.LinkMark,s-1,s)),40==o){let n,r=e.skipSpace(s+1),o=Ie(i,r-e.offset,e.offset);o&&(r=e.skipSpace(o.to),r!=o.to&&(n=Te(i,r-e.offset,e.offset),n&&(r=e.skipSpace(n.to)))),41==e.char(r)&&(t.push(ge(E.LinkMark,s,s+1)),a=r+1,o&&t.push(o),n&&t.push(n),t.push(ge(E.LinkMark,r,a)))}else if(91==o){let n=Be(i,s-e.offset,e.offset,!1);n&&(t.push(n),a=n.to)}return ge(n,r,a,t)}function Ie(e,t,n){if(60==e.charCodeAt(t)){for(let r=t+1;r<e.length;r++){let s=e.charCodeAt(r);if(62==s)return ge(E.URL,t+n,r+1+n);if(60==s||10==s)return!1}return null}{let r=0,s=t;for(let t=!1;s<e.length;s++){let n=e.charCodeAt(s);if(N(n))break;if(t)t=!1;else if(40==n)r++;else if(41==n){if(!r)break;r--}else 92==n&&(t=!0)}return s>t?ge(E.URL,t+n,s+n):s==e.length&&null}}function Te(e,t,n){let r=e.charCodeAt(t);if(39!=r&&34!=r&&40!=r)return!1;let s=40==r?41:r;for(let r=t+1,i=!1;r<e.length;r++){let o=e.charCodeAt(r);if(i)i=!1;else{if(o==s)return ge(E.LinkTitle,t+n,r+1+n);92==o&&(i=!0)}}return null}function Be(e,t,n,r){for(let s=!1,i=t+1,o=Math.min(e.length,i+999);i<o;i++){let o=e.charCodeAt(i);if(s)s=!1;else{if(93==o)return!r&&ge(E.LinkLabel,t+n,i+1+n);if(r&&!N(o)&&(r=!1),91==o)return!1;92==o&&(s=!0)}}return null}class Ee{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,s){return this.append(new Se(e,t,n,(r?1:0)|(s?2:0)))}get hasOpenLink(){for(let e=this.parts.length-1;e>=0;e--){let t=this.parts[e];if(t instanceof Se&&(t.type==be||t.type==Le))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 Se&&n.type.resolve&&2&n.side))continue;let r,s=n.type==ke||n.type==xe,i=n.to-n.from,o=t-1;for(;o>=e;o--){let e=this.parts[o];if(e instanceof Se&&1&e.side&&e.type==n.type&&!(s&&(1&n.side||2&e.side)&&(e.to-e.from+i)%3==0&&((e.to-e.from)%3||i%3))){r=e;break}}if(!r)continue;let a=n.type.resolve,l=[],h=r.from,f=n.to;if(s){let e=Math.min(2,r.to-r.from,i);h=r.to-e,f=n.from+e,a=1==e?"Emphasis":"StrongEmphasis"}r.type.mark&&l.push(this.elt(r.type.mark,h,r.to));for(let e=o+1;e<t;e++)this.parts[e]instanceof pe&&l.push(this.parts[e]),this.parts[e]=null;n.type.mark&&l.push(this.elt(n.type.mark,n.from,f));let c=this.elt(a,h,f,l);this.parts[o]=s&&r.from!=h?new Se(r.type,r.from,h,r.side):null,(this.parts[t]=s&&n.to!=f?new Se(n.type,f,n.to,n.side):null)?this.parts.splice(t,0,c):this.parts[t]=c}let t=[];for(let n=e;n<this.parts.length;n++){let e=this.parts[n];e instanceof pe&&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 Se&&n.type==e)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}skipSpace(e){return O(this.text,e-this.offset)+this.offset}elt(e,t,n,r){return"string"==typeof e?ge(this.parser.getNodeType(e),t,n,r):new me(e,t)}}function Me(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 pe&&(n[r]=new pe(t.type,t.from,t.to,Me(t.children,[e])))}else n.splice(r++,0,e)}return n}const He=[E.CodeBlock,E.ListItem,E.OrderedList,E.BulletList];class ve{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;if(this.fragmentEnd<0){let e=this.fragment.to;for(;e>0&&"\n"!=this.input.read(e-1,e);)e--;this.fragmentEnd=e?e-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),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 n=this.cursor.tree;return n&&n.prop(t.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,r=this.fragmentEnd-(this.fragment.openEnd?1:0),s=e.absoluteLineStart,i=s,o=e.block.children.length,l=i,h=o;for(;;){if(t.to-n>r){if(t.type.isAnonymous&&t.firstChild())continue;break}let s=Pe(t.from-n,e.ranges);if(t.to-n<=e.ranges[e.rangeI].to)e.addNode(t.tree,s);else{let n=new a(e.parser.nodeSet.types[E.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(n,t.tree),e.addNode(n,s)}if(t.type.is("Block")&&(He.indexOf(t.type.id)<0?(i=t.to-n,o=e.block.children.length):(i=l,o=h,l=t.to-n,h=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>o;)e.block.children.pop(),e.block.positions.pop();return i-s}}function Pe(e,t){let n=e;for(let r=1;r<t.length;r++){let s=t[r-1].to,i=t[r].from;s<e&&(n-=i-s)}return n}const Ne=n({"Blockquote/...":r.quote,HorizontalRule:r.contentSeparator,"ATXHeading1/... SetextHeading1/...":r.heading1,"ATXHeading2/... SetextHeading2/...":r.heading2,"ATXHeading3/...":r.heading3,"ATXHeading4/...":r.heading4,"ATXHeading5/...":r.heading5,"ATXHeading6/...":r.heading6,"Comment CommentBlock":r.comment,Escape:r.escape,Entity:r.character,"Emphasis/...":r.emphasis,"StrongEmphasis/...":r.strong,"Link/... Image/...":r.link,"OrderedList/... BulletList/...":r.list,"BlockQuote/...":r.quote,"InlineCode CodeText":r.monospace,"URL Autolink":r.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":r.processingInstruction,"CodeInfo LinkLabel":r.labelName,LinkTitle:r.string,Paragraph:r.content}),Oe=new ae(new s(ce).extend(Ne),Object.keys(W).map((e=>W[e])),Object.keys(W).map((e=>ne[e])),Object.keys(W),re,P,Object.keys(ye).map((e=>ye[e])),Object.keys(ye),[]);function Re(e,t,n){let r=[];for(let s=e.firstChild,i=t;;s=s.nextSibling){let e=s?s.from:n;if(e>i&&r.push({from:i,to:e}),!s)break;i=s.to}return r}const Xe={resolve:"Strikethrough",mark:"StrikethroughMark"},ze={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":r.strikethrough}},{name:"StrikethroughMark",style:r.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,t,n){if(126!=t||126!=e.char(n+1)||126==e.char(n+2))return-1;let r=e.slice(n-1,n),s=e.slice(n+2,n+3),i=/\s|^$/.test(r),o=/\s|^$/.test(s),a=we.test(r),l=we.test(s);return e.addDelimiter(Xe,n,n+2,!o&&(!l||i||a),!i&&(!a||o||l))},after:"Emphasis"}]};function De(e,t,n=0,r,s=0){let i=0,o=!0,a=-1,l=-1,h=!1,f=()=>{r.push(e.elt("TableCell",s+a,s+l,e.parser.parseInline(t.slice(a,l),s+a)))};for(let c=n;c<t.length;c++){let n=t.charCodeAt(c);124!=n||h?(h||32!=n&&9!=n)&&(a<0&&(a=c),l=c+1):((!o||a>-1)&&i++,o=!1,r&&(a>-1&&f(),r.push(e.elt("TableDelimiter",c+s,c+s+1))),a=l=-1),h=!h&&92==n}return a>-1&&(i++,r&&f()),i}function $e(e,t){for(let n=t;n<e.length;n++){let t=e.charCodeAt(n);if(124==t)return!0;92==t&&n++}return!1}const Fe=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class qe{constructor(){this.rows=null}nextLine(e,t,n){if(null==this.rows){let r;if(this.rows=!1,(45==t.next||58==t.next||124==t.next)&&Fe.test(r=t.text.slice(t.pos))){let s=[];De(e,n.content,0,s,n.start)==De(e,r,t.pos)&&(this.rows=[e.elt("TableHeader",n.start,n.start+n.content.length,s),e.elt("TableDelimiter",e.lineStart+t.pos,e.lineStart+t.text.length)])}}else if(this.rows){let n=[];De(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)}}const je={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":r.heading}},"TableRow",{name:"TableCell",style:r.content},{name:"TableDelimiter",style:r.processingInstruction}],parseBlock:[{name:"Table",leaf:(e,t)=>$e(t.content,0)?new qe:null,endLeaf(e,t,n){if(n.parsers.some((e=>e instanceof qe))||!$e(t.text,t.basePos))return!1;let r=e.scanLine(e.absoluteLineEnd+1).text;return Fe.test(r)&&De(e,t.text,t.basePos)==De(e,r,t.basePos)},before:"SetextHeading"}]};class Ue{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}}const _e={defineNodes:[{name:"Task",block:!0,style:r.list},{name:"TaskMarker",style:r.atom}],parseBlock:[{name:"TaskList",leaf:(e,t)=>/^\[[ xX]\][ \t]/.test(t.content)&&"ListItem"==e.parentType().name?new Ue:null,after:"SetextHeading"}]},Qe=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,Ze=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,Ge=/[\w-]+\.[\w-]+($|\/)/,Ve=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,Ke=/\/[a-zA-Z\d@.]+/gy;function Je(e,t,n,r){let s=0;for(let i=t;i<n;i++)e[i]==r&&s++;return s}function We(e,t){Ve.lastIndex=t;let n=Ve.exec(e);if(!n)return-1;let r=n[0][n[0].length-1];return"_"==r||"-"==r?-1:t+n[0].length-("."==r?1:0)}const Ye=[je,_e,ze,{parseInline:[{name:"Autolink",parse(e,t,n){let r=n-e.offset;Qe.lastIndex=r;let s=Qe.exec(e.text),i=-1;if(!s)return-1;if(s[1]||s[2]){if(i=function(e,t){Ze.lastIndex=t;let n=Ze.exec(e);if(!n||Ge.exec(n[0])[0].indexOf("_")>-1)return-1;let r=t+n[0].length;for(;;){let n,s=e[r-1];if(/[?!.,:*_~]/.test(s)||")"==s&&Je(e,t,r,")")>Je(e,t,r,"("))r--;else{if(";"!=s||!(n=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(e.slice(t,r))))break;r=t+n.index}}return r}(e.text,r+s[0].length),i>-1&&e.hasOpenLink){i=r+/([^\[\]]|\[[^\]]*\])*/.exec(e.text.slice(r,i))[0].length}}else s[3]?i=We(e.text,r):(i=We(e.text,r+s[0].length),i>-1&&"xmpp:"==s[0]&&(Ke.lastIndex=i,s=Ke.exec(e.text),s&&(i=s.index+s[0].length)));return i<0?-1:(e.addElement(e.elt("URL",n,i+e.offset)),i+e.offset)}}]}];function et(e,t,n){return(r,s,i)=>{if(s!=e||r.char(i+1)==e)return-1;let o=[r.elt(n,i,i+1)];for(let s=i+1;s<r.end;s++){let a=r.char(s);if(a==e)return r.addElement(r.elt(t,i,s+1,o.concat(r.elt(n,s,s+1))));if(92==a&&o.push(r.elt("Escape",s,2+s++)),N(a))break}return-1}}const tt={defineNodes:[{name:"Superscript",style:r.special(r.content)},{name:"SuperscriptMark",style:r.processingInstruction}],parseInline:[{name:"Superscript",parse:et(94,"Superscript","SuperscriptMark")}]},nt={defineNodes:[{name:"Subscript",style:r.special(r.content)},{name:"SubscriptMark",style:r.processingInstruction}],parseInline:[{name:"Subscript",parse:et(126,"Subscript","SubscriptMark")}]},rt={defineNodes:[{name:"Emoji",style:r.character}],parseInline:[{name:"Emoji",parse(e,t,n){let r;return 58==t&&(r=/^[a-zA-Z_0-9]+:/.exec(e.slice(n+1,e.end)))?e.addElement(e.elt("Emoji",n,n+1+r[0].length)):-1}}]},st=b({commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}}}),it=new t,ot=Oe.configure({props:[A.add((e=>!e.is("Block")||e.is("Document")||null!=at(e)?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to}))),it.add(at),I.add({Document:()=>null}),T.add({Document:st})]});function at(e){let t=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return t?+t[1]:void 0}function lt(e,t){let n=e;for(;;){let e,r=n.nextSibling;if(!r||null!=(e=at(r.type))&&e<=t)break;n=r}return n.to}const ht=L.of(((e,t,n)=>{for(let r=f(e).resolveInner(n,-1);r&&!(r.from<t);r=r.parent){let e=r.type.prop(it);if(null==e)continue;let t=lt(r,e);if(t>n)return{from:n,to:t}}return null}));function ft(e){return new h(st,e,[ht],"markdown")}const ct=ft(ot),ut=ft(ot.configure([Ye,nt,tt,rt]));class dt{constructor(e,t,n,r,s,i,o){this.node=e,this.from=t,this.to=n,this.spaceBefore=r,this.spaceAfter=s,this.type=i,this.item=o}blank(e,t=!0){let n=this.spaceBefore+("Blockquote"==this.node.name?">":"");if(null!=e){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="OrderedList"==this.node.name?String(+mt(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function pt(e,t){let n=[];for(let t=e;t&&"Document"!=t.name;t=t.parent)"ListItem"!=t.name&&"Blockquote"!=t.name&&"FencedCode"!=t.name||n.push(t);let r=[];for(let e=n.length-1;e>=0;e--){let s,i=n[e],o=t.lineAt(i.from),a=i.from-o.from;if("FencedCode"==i.name)r.push(new dt(i,a,a,"","","",null));else if("Blockquote"==i.name&&(s=/^ *>( ?)/.exec(o.text.slice(a))))r.push(new dt(i,a,a+s[0].length,"",s[1],">",null));else if("ListItem"==i.name&&"OrderedList"==i.parent.name&&(s=/^( *)\d+([.)])( *)/.exec(o.text.slice(a)))){let e=s[3],t=s[0].length;e.length>=4&&(e=e.slice(0,e.length-4),t-=4),r.push(new dt(i.parent,a,a+t,s[1],e,s[2],i))}else if("ListItem"==i.name&&"BulletList"==i.parent.name&&(s=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(o.text.slice(a)))){let e=s[4],t=s[0].length;e.length>4&&(e=e.slice(0,e.length-4),t-=4);let n=s[2];s[3]&&(n+=s[3].replace(/[xX]/," ")),r.push(new dt(i.parent,a,a+t,s[1],e,n,i))}}return r}function mt(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function gt(e,t,n,r=0){for(let s=-1,i=e;;){if("ListItem"==i.name){let e=mt(i,t),o=+e[2];if(s>=0){if(o!=s+1)return;n.push({from:i.from+e[1].length,to:i.from+e[0].length,insert:String(s+2+r)})}s=o}let e=i.nextSibling;if(!e)break;i=e}}function kt(e,t){let n=/^[ \t]*/.exec(e)[0].length;if(!n||"\t"!=t.facet(S))return e;let r="";for(let t=u(e,4,n);t>0;)t>=4?(r+="\t",t-=4):(r+=" ",t--);return r+e.slice(n)}const xt=({state:e,dispatch:t})=>{let n=f(e),{doc:r}=e,s=null,i=e.changeByRange((t=>{if(!t.empty||!ut.isActiveAt(e,t.from))return s={range:t};let i=t.from,o=r.lineAt(i),a=pt(n.resolveInner(i,-1),r);for(;a.length&&a[a.length-1].from>i-o.from;)a.pop();if(!a.length)return s={range:t};let l=a[a.length-1];if(l.to-l.spaceAfter.length>i-o.from)return s={range:t};let h=i>=l.to-l.spaceAfter.length&&!/\S/.test(o.text.slice(l.to));if(l.item&&h){if(l.node.firstChild.to>=i||o.from>0&&!/[^\s>]/.test(r.lineAt(o.from-1).text)){let e,t=a.length>1?a[a.length-2]:null,n="";t&&t.item?(e=o.from+t.from,n=t.marker(r,1)):e=o.from+(t?t.to:0);let s=[{from:e,to:i,insert:n}];return"OrderedList"==l.node.name&&gt(l.item,r,s,-2),t&&"OrderedList"==t.node.name&&gt(t.item,r,s),{range:c.cursor(e+n.length),changes:s}}{let t="";for(let e=0,n=a.length-2;e<=n;e++)t+=a[e].blank(e<n?u(o.text,4,a[e+1].from)-t.length:null,e<n);return t=kt(t,e),{range:c.cursor(i+t.length+1),changes:{from:o.from,insert:t+e.lineBreak}}}}if("Blockquote"==l.node.name&&h&&o.from){let n=r.lineAt(o.from-1),s=/>\s*$/.exec(n.text);if(s&&s.index==l.from){let r=e.changes([{from:n.from+s.index,to:n.to},{from:o.from+l.from,to:o.to}]);return{range:t.map(r),changes:r}}}let f=[];"OrderedList"==l.node.name&&gt(l.item,r,f);let d=l.item&&l.item.from<o.from,p="";if(!d||/^[\s\d.)\-+*>]*/.exec(o.text)[0].length>=l.to)for(let e=0,t=a.length-1;e<=t;e++)p+=e!=t||d?a[e].blank(e<t?u(o.text,4,a[e+1].from)-p.length:null):a[e].marker(r,1);let m=i;for(;m>o.from&&/\s/.test(o.text.charAt(m-o.from-1));)m--;return p=kt(p,e),f.push({from:m,to:i,insert:e.lineBreak+p}),{range:c.cursor(m+p.length+1),changes:f}}));return!s&&(t(e.update(i,{scrollIntoView:!0,userEvent:"input"})),!0)};function bt(e){return"QuoteMark"==e.name||"ListMark"==e.name}const Lt=({state:e,dispatch:t})=>{let n=f(e),r=null,s=e.changeByRange((t=>{let s=t.from,{doc:i}=e;if(t.empty&&ut.isActiveAt(e,t.from)){let t=i.lineAt(s),r=pt(function(e,t){let n=e.resolveInner(t,-1),r=t;bt(n)&&(r=n.from,n=n.parent);for(let e;e=n.childBefore(r);)if(bt(e))r=e.from;else{if("OrderedList"!=e.name&&"BulletList"!=e.name)break;n=e.lastChild,r=n.to}return n}(n,s),i);if(r.length){let n=r[r.length-1],i=n.to-n.spaceAfter.length+(n.spaceAfter?1:0);if(s-t.from>i&&!/\S/.test(t.text.slice(i,s-t.from)))return{range:c.cursor(t.from+i),changes:{from:t.from+i,to:s}};if(s-t.from==i&&(!n.item||t.from<=n.item.from||!/\S/.test(t.text.slice(0,n.to)))){let r=t.from+n.from;if(n.item&&n.node.from<n.item.from&&/\S/.test(t.text.slice(n.from,n.to))){let s=n.blank(u(t.text,4,n.to)-u(t.text,4,n.from));return r==t.from&&(s=kt(s,e)),{range:c.cursor(r+s.length),changes:{from:r,to:t.from+n.to,insert:s}}}if(r<s)return{range:c.cursor(r),changes:{from:r,to:s}}}}}return r={range:t}}));return!r&&(t(e.update(s,{scrollIntoView:!0,userEvent:"delete"})),!0)},St=[{key:"Enter",run:xt},{key:"Backspace",run:Lt}],Ct=C({matchClosingTags:!1});function wt(e={}){let{codeLanguages:t,defaultCodeLanguage:n,addKeymap:r=!0,base:{parser:s}=ct,completeHTMLTags:i=!0}=e;if(!(s instanceof ae))throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");let o,a=e.extensions?[e.extensions]:[],h=[Ct.support];n instanceof d?(h.push(n.support),o=n.language):n&&(o=n);let f=t||o?(c=t,u=o,e=>{if(e&&c){let t=null;if(e=/\S*/.exec(e)[0],t="function"==typeof c?c(e):w.matchLanguageName(c,e,!0),t instanceof w)return t.support?t.support.language.parser:y.getSkippingParser(t.load());if(t)return t.parser}return u?u.parser:null}):void 0;var c,u;a.push(function(e){let{codeParser:t,htmlParser:n}=e,r=l(((e,r)=>{let s=e.type.id;if(!t||s!=E.CodeBlock&&s!=E.FencedCode){if(n&&(s==E.HTMLBlock||s==E.HTMLTag))return{parser:n,overlay:Re(e.node,e.from,e.to)}}else{let n="";if(s==E.FencedCode){let t=e.node.getChild(E.CodeInfo);t&&(n=r.read(t.from,t.to))}let i=t(n);if(i)return{parser:i,overlay:e=>e.type.id==E.CodeText}}return null}));return{wrap:r}}({codeParser:f,htmlParser:Ct.language.parser})),r&&h.push(p.high(m.of(St)));let g=ft(s.configure(a));return i&&h.push(g.data.of({autocomplete:yt})),new d(g,h)}function yt(e){let{state:t,pos:n}=e,r=/<[:\-\.\w\u00b7-\uffff]*$/.exec(t.sliceDoc(n-25,n));if(!r)return null;let s=f(t).resolveInner(n,-1);for(;s&&!s.type.isTop;){if("CodeBlock"==s.name||"FencedCode"==s.name||"ProcessingInstructionBlock"==s.name||"CommentBlock"==s.name||"Link"==s.name||"Image"==s.name)return null;s=s.parent}return{from:n-r[0].length,to:n,options:It(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}let At=null;function It(){if(At)return At;let e=g(new k(x.create({extensions:Ct}),0,!0));return At=e?e.options:[]}export{ct as commonmarkLanguage,Lt as deleteMarkupBackward,xt as insertNewlineContinueMarkup,wt as markdown,St as markdownKeymap,ut as markdownLanguage};
1
+ import{N as e,l as t,s as n,t as r,m as s,P as i,T as o,n as a,p as l,o as h,q as f,r as c,a as u,u as d,v as p,w as m,C as g,x as k,y as x,z as b,h as L,A as S,e as C,i as w,B as y,D as A,F as I,G as T}from"./codemirror.js";class B{static create(e,t,n,r,s){return new B(e,t,n,r+(r<<8)+e+(t<<4)|0,s,[],[])}constructor(e,n,r,s,i,o,a){this.type=e,this.value=n,this.from=r,this.hash=s,this.end=i,this.children=o,this.positions=a,this.hashProp=[[t.contextHash,s]]}addChild(e,n){e.prop(t.contextHash)!=this.hash&&(e=new a(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(n)}toTree(t,n=this.end){let r=this.children.length-1;return r>=0&&(n=Math.max(n,this.positions[r]+this.children[r].length+this.from)),new a(t.types[this.type],this.children,this.positions,n-this.from).balance({makeTree:(t,n,r)=>new a(e.none,t,n,r,this.hashProp)})}}var E;!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"}(E||(E={}));class M{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class H{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 O(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+=9==this.text.charCodeAt(r)?4-n%4:1;return n}findColumn(e){let t=0;for(let n=0;t<this.text.length&&n<e;t++)n+=9==this.text.charCodeAt(t)?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 v(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==E.OrderedList?q:F)(n,t,!1);return r>0&&(e.type!=E.BulletList||D(n,t,!1)<0)&&n.text.charCodeAt(n.pos+r-1)==e.value}const P={[E.Blockquote]:(e,t,n)=>62==n.next&&(n.markers.push(ge(E.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(N(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0),[E.ListItem]:(e,t,n)=>!(n.indent<n.baseIndent+e.value&&n.next>-1)&&(n.moveBaseColumn(n.baseIndent+e.value),!0),[E.OrderedList]:v,[E.BulletList]:v,[E.Document]:()=>!0};function N(e){return 32==e||9==e||10==e||13==e}function O(e,t=0){for(;t<e.length&&N(e.charCodeAt(t));)t++;return t}function R(e,t,n){for(;t>n&&N(e.charCodeAt(t-1));)t--;return t}function X(e){if(96!=e.next&&126!=e.next)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(96==e.next)for(let n=t;n<e.text.length;n++)if(96==e.text.charCodeAt(n))return-1;return t}function z(e){return 62!=e.next?-1:32==e.text.charCodeAt(e.pos+1)?2:1}function D(e,t,n){if(42!=e.next&&45!=e.next&&95!=e.next)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(!N(n))return-1}return n&&45==e.next&&U(e)>-1&&e.depth==t.stack.length&&t.parser.leafBlockParsers.indexOf(ne.SetextHeading)>-1||r<3?-1:1}function $(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function F(e,t,n){return 45!=e.next&&43!=e.next&&42!=e.next||e.pos!=e.text.length-1&&!N(e.text.charCodeAt(e.pos+1))||!(!n||$(t,E.BulletList)||e.skipSpace(e.pos+2)<e.text.length)?-1:1}function q(e,t,n){let r=e.pos,s=e.next;for(;s>=48&&s<=57;){if(r++,r==e.text.length)return-1;s=e.text.charCodeAt(r)}return r==e.pos||r>e.pos+9||46!=s&&41!=s||r<e.text.length-1&&!N(e.text.charCodeAt(r+1))||n&&!$(t,E.OrderedList)&&(e.skipSpace(r+1)==e.text.length||r>e.pos+1||49!=e.next)?-1:r+1-e.pos}function j(e){if(35!=e.next)return-1;let t=e.pos+1;for(;t<e.text.length&&35==e.text.charCodeAt(t);)t++;if(t<e.text.length&&32!=e.text.charCodeAt(t))return-1;let n=t-e.pos;return n>6?-1:n}function U(e){if(45!=e.next&&61!=e.next||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&&N(e.text.charCodeAt(t));)t++;return t==e.text.length?n:-1}const _=/^[ \t]*$/,Q=/-->/,Z=/\?>/,G=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,Q],[/^\s*<\?/,Z],[/^\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,_],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,_]];function V(e,t,n){if(60!=e.next)return-1;let r=e.text.slice(e.pos);for(let e=0,t=G.length-(n?1:0);e<t;e++)if(G[e][0].test(r))return e;return-1}function K(e,t){let n=e.countIndent(t,e.pos,e.indent),r=e.countIndent(e.skipSpace(t),t,n);return r>=n+5?n+1:r}function J(e,t,n){let r=e.length-1;r>=0&&e[r].to==t&&e[r].type==E.CodeText?e[r].to=n:e.push(ge(E.CodeText,t,n))}const W={LinkReference:void 0,IndentedCode(e,t){let n=t.baseIndent+4;if(t.indent<n)return!1;let r=t.findColumn(n),s=e.lineStart+r,i=e.lineStart+t.text.length,o=[],a=[];for(J(o,s,i);e.nextLine()&&t.depth>=e.stack.length;)if(t.pos==t.text.length){J(a,e.lineStart-1,e.lineStart);for(let e of t.markers)a.push(e)}else{if(t.indent<n)break;{if(a.length){for(let e of a)e.type==E.CodeText?J(o,e.from,e.to):o.push(e);a=[]}J(o,e.lineStart-1,e.lineStart);for(let e of t.markers)o.push(e);i=e.lineStart+t.text.length;let n=e.lineStart+t.findColumn(t.baseIndent+4);n<i&&J(o,n,i)}}return a.length&&(a=a.filter((e=>e.type!=E.CodeText)),a.length&&(t.markers=a.concat(t.markers))),e.addNode(e.buffer.writeElements(o,-s).finish(E.CodeBlock,i-s),s),!0},FencedCode(e,t){let n=X(t);if(n<0)return!1;let r=e.lineStart+t.pos,s=t.next,i=n-t.pos,o=t.skipSpace(n),a=R(t.text,t.text.length,o),l=[ge(E.CodeMark,r,r+i)];o<a&&l.push(ge(E.CodeInfo,e.lineStart+o,e.lineStart+a));for(let n=!0;e.nextLine()&&t.depth>=e.stack.length;n=!1){let r=t.pos;if(t.indent-t.baseIndent<4)for(;r<t.text.length&&t.text.charCodeAt(r)==s;)r++;if(r-t.pos>=i&&t.skipSpace(r)==t.text.length){for(let e of t.markers)l.push(e);l.push(ge(E.CodeMark,e.lineStart+t.pos,e.lineStart+r)),e.nextLine();break}{n||J(l,e.lineStart-1,e.lineStart);for(let e of t.markers)l.push(e);let r=e.lineStart+t.basePos,s=e.lineStart+t.text.length;r<s&&J(l,r,s)}}return e.addNode(e.buffer.writeElements(l,-r).finish(E.FencedCode,e.prevLineEnd()-r),r),!0},Blockquote(e,t){let n=z(t);return!(n<0)&&(e.startContext(E.Blockquote,t.pos),e.addNode(E.QuoteMark,e.lineStart+t.pos,e.lineStart+t.pos+1),t.moveBase(t.pos+n),null)},HorizontalRule(e,t){if(D(t,e,!1)<0)return!1;let n=e.lineStart+t.pos;return e.nextLine(),e.addNode(E.HorizontalRule,n),!0},BulletList(e,t){let n=F(t,e,!1);if(n<0)return!1;e.block.type!=E.BulletList&&e.startContext(E.BulletList,t.basePos,t.next);let r=K(t,t.pos+1);return e.startContext(E.ListItem,t.basePos,r-t.baseIndent),e.addNode(E.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),null},OrderedList(e,t){let n=q(t,e,!1);if(n<0)return!1;e.block.type!=E.OrderedList&&e.startContext(E.OrderedList,t.basePos,t.text.charCodeAt(t.pos+n-1));let r=K(t,t.pos+n);return e.startContext(E.ListItem,t.basePos,r-t.baseIndent),e.addNode(E.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),null},ATXHeading(e,t){let n=j(t);if(n<0)return!1;let r=t.pos,s=e.lineStart+r,i=R(t.text,t.text.length,r),o=i;for(;o>r&&t.text.charCodeAt(o-1)==t.next;)o--;o!=i&&o!=r&&N(t.text.charCodeAt(o-1))||(o=t.text.length);let a=e.buffer.write(E.HeaderMark,0,n).writeElements(e.parser.parseInline(t.text.slice(r+n+1,o),s+n+1),-s);o<t.text.length&&a.write(E.HeaderMark,o-r,i-r);let l=a.finish(E.ATXHeading1-1+n,t.text.length-r);return e.nextLine(),e.addNode(l,s),!0},HTMLBlock(e,t){let n=V(t,0,!1);if(n<0)return!1;let r=e.lineStart+t.pos,s=G[n][1],i=[],o=s!=_;for(;!s.test(t.text)&&e.nextLine();){if(t.depth<e.stack.length){o=!1;break}for(let e of t.markers)i.push(e)}o&&e.nextLine();let a=s==Q?E.CommentBlock:s==Z?E.ProcessingInstructionBlock:E.HTMLBlock,l=e.prevLineEnd();return e.addNode(e.buffer.writeElements(i,-r).finish(a,l-r),r),!0},SetextHeading:void 0};class Y{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,t,n){if(-1==this.stage)return!1;let r=n.content+"\n"+t.scrub(),s=this.advance(r);return s>-1&&s<r.length&&this.complete(e,n,s)}finish(e,t){return(2==this.stage||3==this.stage)&&O(t.content,this.pos)==t.content.length&&this.complete(e,t,t.content.length)}complete(e,t,n){return e.addLeafElement(t,ge(E.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):(!1===e&&(this.stage=-1),!1)}advance(e){for(;;){if(-1==this.stage)return-1;if(0==this.stage){if(!this.nextStage(Be(e,this.pos,this.start,!0)))return-1;if(58!=e.charCodeAt(this.pos))return this.stage=-1;this.elts.push(ge(E.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else{if(1!=this.stage){if(2==this.stage){let t=O(e,this.pos),n=0;if(t>this.pos){let r=Te(e,t,this.start);if(r){let t=ee(e,r.to-this.start);t>0&&(this.nextStage(r),n=t)}}return n||(n=ee(e,this.pos)),n>0&&n<e.length?n:-1}return ee(e,this.pos)}if(!this.nextStage(Ie(e,O(e,this.pos),this.start)))return-1}}}}function ee(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(10==n)break;if(!N(n))return-1}return t}class te{nextLine(e,t,n){let r=t.depth<e.stack.length?-1:U(t),s=t.next;if(r<0)return!1;let i=ge(E.HeaderMark,e.lineStart+t.pos,e.lineStart+r);return e.nextLine(),e.addLeafElement(n,ge(61==s?E.SetextHeading1:E.SetextHeading2,n.start,e.prevLineEnd(),[...e.parser.parseInline(n.content,n.start),i])),!0}finish(){return!1}}const ne={LinkReference:(e,t)=>91==t.content.charCodeAt(0)?new Y(t):null,SetextHeading:()=>new te},re=[(e,t)=>j(t)>=0,(e,t)=>X(t)>=0,(e,t)=>z(t)>=0,(e,t)=>F(t,e,!0)>=0,(e,t)=>q(t,e,!0)>=0,(e,t)=>D(t,e,!0)>=0,(e,t)=>V(t,0,!0)>=0],se={text:"",end:0};class ie{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.line=new H,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=B.create(E.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=n.length?new ve(n,t):null,this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(null!=this.stoppedAt&&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(0!=n){if(1==n)return null;e.forward();continue e}}break}let t=new M(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+="\n"+e.scrub();for(let n of e.markers)t.marks.push(n)}return this.finishLeaf(t),null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new 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=Pe(this.absoluteLineStart,this.ranges),this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++,this.readLine()):(this.atEnd=!0,this.readLine()),!0)}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)}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=se;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,s=this.lineChunkAt(r);t.end=r+s.length,t.text=t.text.slice(0,this.ranges[n-1].to-e)+s,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 new Error("Unhandled block context "+E[t.type]);if(!n(t,this,e))break;e.forward()}}lineChunkAt(e){let t,n=this.input.chunk(e);if(this.input.lineChunks)t="\n"==n?"":n;else{let e=n.indexOf("\n");t=e<0?n:n.slice(0,e)}return e+t.length>this.to?t.slice(0,this.to-e):t}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,t,n=0){this.block=B.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){"number"==typeof e&&(e=new a(this.parser.nodeSet.types[e],ue,ue,(null!=n?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(Me(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?oe(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=Me(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(E.Paragraph,e.content.length),e.start)}elt(e,t,n,r){return"string"==typeof e?ge(this.parser.getNodeType(e),t,n,r):new me(e,t)}get buffer(){return new de(this.parser.nodeSet)}}function oe(e,t,n,r,s){let i=e[t].to,o=[],l=[],h=n.from+r;function f(n,s){for(;s?n>=i:n>i;){let s=e[t+1].from-i;r+=s,n+=s,t++,i=e[t].to}}for(let a=n.firstChild;a;a=a.nextSibling){f(a.from+r,!0);let n,c=a.from+r,u=s.get(a.tree);u?n=u:a.to+r>i?(n=oe(e,t,a,r,s),f(a.to+r,!1)):n=a.toTree(),o.push(n),l.push(c-h)}return f(n.to+r,!1),new a(n.type,o,l,n.to+r-h,n.tree?n.tree.propValues:void 0)}class ae extends i{constructor(e,t,n,r,s,i,o,a,l){super(),this.nodeSet=e,this.blockParsers=t,this.leafBlockParsers=n,this.blockNames=r,this.endLeafBlock=s,this.skipContextMarkup=i,this.inlineParsers=o,this.inlineNames=a,this.wrappers=l,this.nodeTypes=Object.create(null);for(let t of e.types)this.nodeTypes[t.name]=t.id}createParse(e,t,n){let r=new ie(this,e,t,n);for(let s of this.wrappers)r=s(r,e,t,n);return r}configure(r){let i=he(r);if(!i)return this;let{nodeSet:a,skipContextMarkup:l}=this,h=this.blockParsers.slice(),f=this.leafBlockParsers.slice(),c=this.blockNames.slice(),u=this.inlineParsers.slice(),d=this.inlineNames.slice(),p=this.endLeafBlock.slice(),m=this.wrappers;if(le(i.defineNodes)){l=Object.assign({},l);let r,h=a.types.slice();for(let n of i.defineNodes){let{name:s,block:i,composite:a,style:f}="string"==typeof n?{name:n}:n;if(h.some((e=>e.name==s)))continue;a&&(l[h.length]=(e,t,n)=>a(t,n,e.value));let c=h.length,u=a?["Block","BlockContext"]:i?c>=E.ATXHeading1&&c<=E.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;h.push(e.define({id:c,name:s,props:u&&[[t.group,u]]})),f&&(r||(r={}),Array.isArray(f)||f instanceof o?r[s]=f:Object.assign(r,f))}a=new s(h),r&&(a=a.extend(n(r)))}if(le(i.props)&&(a=a.extend(...i.props)),le(i.remove))for(let e of i.remove){let t=this.blockNames.indexOf(e),n=this.inlineNames.indexOf(e);t>-1&&(h[t]=f[t]=void 0),n>-1&&(u[n]=void 0)}if(le(i.parseBlock))for(let e of i.parseBlock){let t=c.indexOf(e.name);if(t>-1)h[t]=e.parse,f[t]=e.leaf;else{let t=e.before?fe(c,e.before):e.after?fe(c,e.after)+1:c.length-1;h.splice(t,0,e.parse),f.splice(t,0,e.leaf),c.splice(t,0,e.name)}e.endLeaf&&p.push(e.endLeaf)}if(le(i.parseInline))for(let e of i.parseInline){let t=d.indexOf(e.name);if(t>-1)u[t]=e.parse;else{let t=e.before?fe(d,e.before):e.after?fe(d,e.after)+1:d.length-1;u.splice(t,0,e.parse),d.splice(t,0,e.name)}}return i.wrap&&(m=m.concat(i.wrap)),new ae(a,h,f,c,p,l,u,d,m)}getNodeType(e){let t=this.nodeTypes[e];if(null==t)throw new RangeError(`Unknown node type '${e}'`);return t}parseInline(e,t){let n=new Ee(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 s=r(n,t,e);if(s>=0){e=s;continue e}}e++}return n.resolveMarkers(0)}}function le(e){return null!=e&&e.length>0}function he(e){if(!Array.isArray(e))return e;if(0==e.length)return null;let t=he(e[0]);if(1==e.length)return t;let n=he(e.slice(1));if(!n||!t)return t||n;let r=(e,t)=>(e||ue).concat(t||ue),s=t.wrap,i=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:s?i?(e,t,n,r)=>s(i(e,t,n,r),t,n,r):s:i}}function fe(e,t){let n=e.indexOf(t);if(n<0)throw new RangeError(`Position specified relative to unknown parser ${t}`);return n}let ce=[e.none];for(let n,r=1;n=E[r];r++)ce[r]=e.define({id:r,name:n,props:r>=E.Escape?[]:[[t.group,r in P?["Block","BlockContext"]:["Block","LeafBlock"]]],top:"Document"==n});const ue=[];class de{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,t,n,r=0){return this.content.push(e,t,n,4+4*r),this}writeElements(e,t=0){for(let n of e)n.writeTo(this,t);return this}finish(e,t){return a.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}}class pe{constructor(e,t,n,r=ue){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 de(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}}class me{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 ue}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 ge(e,t,n,r){return new pe(e,t,n,r)}const ke={resolve:"Emphasis",mark:"EmphasisMark"},xe={resolve:"Emphasis",mark:"EmphasisMark"},be={},Le={};class Se{constructor(e,t,n,r){this.type=e,this.from=t,this.to=n,this.side=r}}const Ce="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";let we=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{we=new RegExp("[\\p{S}|\\p{P}]","u")}catch(e){}const ye={Escape(e,t,n){if(92!=t||n==e.end-1)return-1;let r=e.char(n+1);for(let t=0;t<32;t++)if(Ce.charCodeAt(t)==r)return e.append(ge(E.Escape,n,n+2));return-1},Entity(e,t,n){if(38!=t)return-1;let r=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(e.slice(n+1,n+31));return r?e.append(ge(E.Entity,n,n+1+r[0].length)):-1},InlineCode(e,t,n){if(96!=t||n&&96==e.char(n-1))return-1;let r=n+1;for(;r<e.end&&96==e.char(r);)r++;let s=r-n,i=0;for(;r<e.end;r++)if(96==e.char(r)){if(i++,i==s&&96!=e.char(r+1))return e.append(ge(E.InlineCode,n,r+1,[ge(E.CodeMark,n,n+s),ge(E.CodeMark,r+1-s,r+1)]))}else i=0;return-1},HTMLTag(e,t,n){if(60!=t||n==e.end-1)return-1;let r=e.slice(n+1,e.end),s=/^(?:[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(s)return e.append(ge(E.Autolink,n,n+1+s[0].length,[ge(E.LinkMark,n,n+1),ge(E.URL,n+1,n+s[0].length),ge(E.LinkMark,n+s[0].length,n+1+s[0].length)]));let i=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(r);if(i)return e.append(ge(E.Comment,n,n+1+i[0].length));let o=/^\?[^]*?\?>/.exec(r);if(o)return e.append(ge(E.ProcessingInstruction,n,n+1+o[0].length));let a=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(r);return a?e.append(ge(E.HTMLTag,n,n+1+a[0].length)):-1},Emphasis(e,t,n){if(95!=t&&42!=t)return-1;let r=n+1;for(;e.char(r)==t;)r++;let s=e.slice(n-1,n),i=e.slice(r,r+1),o=we.test(s),a=we.test(i),l=/\s|^$/.test(s),h=/\s|^$/.test(i),f=!h&&(!a||l||o),c=!l&&(!o||h||a),u=f&&(42==t||!c||o),d=c&&(42==t||!f||a);return e.append(new Se(95==t?ke:xe,n,r,(u?1:0)|(d?2:0)))},HardBreak(e,t,n){if(92==t&&10==e.char(n+1))return e.append(ge(E.HardBreak,n,n+2));if(32==t){let t=n+1;for(;32==e.char(t);)t++;if(10==e.char(t)&&t>=n+2)return e.append(ge(E.HardBreak,n,t+1))}return-1},Link:(e,t,n)=>91==t?e.append(new Se(be,n,n+1,1)):-1,Image:(e,t,n)=>33==t&&91==e.char(n+1)?e.append(new Se(Le,n,n+2,1)):-1,LinkEnd(e,t,n){if(93!=t)return-1;for(let t=e.parts.length-1;t>=0;t--){let r=e.parts[t];if(r instanceof Se&&(r.type==be||r.type==Le)){if(!r.side||e.skipSpace(r.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[t]=null,-1;let s=e.takeContent(t),i=e.parts[t]=Ae(e,s,r.type==be?E.Link:E.Image,r.from,n+1);if(r.type==be)for(let n=0;n<t;n++){let t=e.parts[n];t instanceof Se&&t.type==be&&(t.side=0)}return i.to}}return-1}};function Ae(e,t,n,r,s){let{text:i}=e,o=e.char(s),a=s;if(t.unshift(ge(E.LinkMark,r,r+(n==E.Image?2:1))),t.push(ge(E.LinkMark,s-1,s)),40==o){let n,r=e.skipSpace(s+1),o=Ie(i,r-e.offset,e.offset);o&&(r=e.skipSpace(o.to),r!=o.to&&(n=Te(i,r-e.offset,e.offset),n&&(r=e.skipSpace(n.to)))),41==e.char(r)&&(t.push(ge(E.LinkMark,s,s+1)),a=r+1,o&&t.push(o),n&&t.push(n),t.push(ge(E.LinkMark,r,a)))}else if(91==o){let n=Be(i,s-e.offset,e.offset,!1);n&&(t.push(n),a=n.to)}return ge(n,r,a,t)}function Ie(e,t,n){if(60==e.charCodeAt(t)){for(let r=t+1;r<e.length;r++){let s=e.charCodeAt(r);if(62==s)return ge(E.URL,t+n,r+1+n);if(60==s||10==s)return!1}return null}{let r=0,s=t;for(let t=!1;s<e.length;s++){let n=e.charCodeAt(s);if(N(n))break;if(t)t=!1;else if(40==n)r++;else if(41==n){if(!r)break;r--}else 92==n&&(t=!0)}return s>t?ge(E.URL,t+n,s+n):s==e.length&&null}}function Te(e,t,n){let r=e.charCodeAt(t);if(39!=r&&34!=r&&40!=r)return!1;let s=40==r?41:r;for(let r=t+1,i=!1;r<e.length;r++){let o=e.charCodeAt(r);if(i)i=!1;else{if(o==s)return ge(E.LinkTitle,t+n,r+1+n);92==o&&(i=!0)}}return null}function Be(e,t,n,r){for(let s=!1,i=t+1,o=Math.min(e.length,i+999);i<o;i++){let o=e.charCodeAt(i);if(s)s=!1;else{if(93==o)return!r&&ge(E.LinkLabel,t+n,i+1+n);if(r&&!N(o)&&(r=!1),91==o)return!1;92==o&&(s=!0)}}return null}class Ee{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,s){return this.append(new Se(e,t,n,(r?1:0)|(s?2:0)))}get hasOpenLink(){for(let e=this.parts.length-1;e>=0;e--){let t=this.parts[e];if(t instanceof Se&&(t.type==be||t.type==Le))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 Se&&n.type.resolve&&2&n.side))continue;let r,s=n.type==ke||n.type==xe,i=n.to-n.from,o=t-1;for(;o>=e;o--){let e=this.parts[o];if(e instanceof Se&&1&e.side&&e.type==n.type&&!(s&&(1&n.side||2&e.side)&&(e.to-e.from+i)%3==0&&((e.to-e.from)%3||i%3))){r=e;break}}if(!r)continue;let a=n.type.resolve,l=[],h=r.from,f=n.to;if(s){let e=Math.min(2,r.to-r.from,i);h=r.to-e,f=n.from+e,a=1==e?"Emphasis":"StrongEmphasis"}r.type.mark&&l.push(this.elt(r.type.mark,h,r.to));for(let e=o+1;e<t;e++)this.parts[e]instanceof pe&&l.push(this.parts[e]),this.parts[e]=null;n.type.mark&&l.push(this.elt(n.type.mark,n.from,f));let c=this.elt(a,h,f,l);this.parts[o]=s&&r.from!=h?new Se(r.type,r.from,h,r.side):null,(this.parts[t]=s&&n.to!=f?new Se(n.type,f,n.to,n.side):null)?this.parts.splice(t,0,c):this.parts[t]=c}let t=[];for(let n=e;n<this.parts.length;n++){let e=this.parts[n];e instanceof pe&&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 Se&&n.type==e)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}skipSpace(e){return O(this.text,e-this.offset)+this.offset}elt(e,t,n,r){return"string"==typeof e?ge(this.parser.getNodeType(e),t,n,r):new me(e,t)}}function Me(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 pe&&(n[r]=new pe(t.type,t.from,t.to,Me(t.children,[e])))}else n.splice(r++,0,e)}return n}const He=[E.CodeBlock,E.ListItem,E.OrderedList,E.BulletList];class ve{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;if(this.fragmentEnd<0){let e=this.fragment.to;for(;e>0&&"\n"!=this.input.read(e-1,e);)e--;this.fragmentEnd=e?e-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),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 n=this.cursor.tree;return n&&n.prop(t.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,r=this.fragmentEnd-(this.fragment.openEnd?1:0),s=e.absoluteLineStart,i=s,o=e.block.children.length,l=i,h=o;for(;;){if(t.to-n>r){if(t.type.isAnonymous&&t.firstChild())continue;break}let s=Pe(t.from-n,e.ranges);if(t.to-n<=e.ranges[e.rangeI].to)e.addNode(t.tree,s);else{let n=new a(e.parser.nodeSet.types[E.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(n,t.tree),e.addNode(n,s)}if(t.type.is("Block")&&(He.indexOf(t.type.id)<0?(i=t.to-n,o=e.block.children.length):(i=l,o=h,l=t.to-n,h=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>o;)e.block.children.pop(),e.block.positions.pop();return i-s}}function Pe(e,t){let n=e;for(let r=1;r<t.length;r++){let s=t[r-1].to,i=t[r].from;s<e&&(n-=i-s)}return n}const Ne=n({"Blockquote/...":r.quote,HorizontalRule:r.contentSeparator,"ATXHeading1/... SetextHeading1/...":r.heading1,"ATXHeading2/... SetextHeading2/...":r.heading2,"ATXHeading3/...":r.heading3,"ATXHeading4/...":r.heading4,"ATXHeading5/...":r.heading5,"ATXHeading6/...":r.heading6,"Comment CommentBlock":r.comment,Escape:r.escape,Entity:r.character,"Emphasis/...":r.emphasis,"StrongEmphasis/...":r.strong,"Link/... Image/...":r.link,"OrderedList/... BulletList/...":r.list,"BlockQuote/...":r.quote,"InlineCode CodeText":r.monospace,"URL Autolink":r.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":r.processingInstruction,"CodeInfo LinkLabel":r.labelName,LinkTitle:r.string,Paragraph:r.content}),Oe=new ae(new s(ce).extend(Ne),Object.keys(W).map((e=>W[e])),Object.keys(W).map((e=>ne[e])),Object.keys(W),re,P,Object.keys(ye).map((e=>ye[e])),Object.keys(ye),[]);function Re(e,t,n){let r=[];for(let s=e.firstChild,i=t;;s=s.nextSibling){let e=s?s.from:n;if(e>i&&r.push({from:i,to:e}),!s)break;i=s.to}return r}const Xe={resolve:"Strikethrough",mark:"StrikethroughMark"},ze={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":r.strikethrough}},{name:"StrikethroughMark",style:r.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,t,n){if(126!=t||126!=e.char(n+1)||126==e.char(n+2))return-1;let r=e.slice(n-1,n),s=e.slice(n+2,n+3),i=/\s|^$/.test(r),o=/\s|^$/.test(s),a=we.test(r),l=we.test(s);return e.addDelimiter(Xe,n,n+2,!o&&(!l||i||a),!i&&(!a||o||l))},after:"Emphasis"}]};function De(e,t,n=0,r,s=0){let i=0,o=!0,a=-1,l=-1,h=!1,f=()=>{r.push(e.elt("TableCell",s+a,s+l,e.parser.parseInline(t.slice(a,l),s+a)))};for(let c=n;c<t.length;c++){let n=t.charCodeAt(c);124!=n||h?(h||32!=n&&9!=n)&&(a<0&&(a=c),l=c+1):((!o||a>-1)&&i++,o=!1,r&&(a>-1&&f(),r.push(e.elt("TableDelimiter",c+s,c+s+1))),a=l=-1),h=!h&&92==n}return a>-1&&(i++,r&&f()),i}function $e(e,t){for(let n=t;n<e.length;n++){let t=e.charCodeAt(n);if(124==t)return!0;92==t&&n++}return!1}const Fe=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class qe{constructor(){this.rows=null}nextLine(e,t,n){if(null==this.rows){let r;if(this.rows=!1,(45==t.next||58==t.next||124==t.next)&&Fe.test(r=t.text.slice(t.pos))){let s=[];De(e,n.content,0,s,n.start)==De(e,r,t.pos)&&(this.rows=[e.elt("TableHeader",n.start,n.start+n.content.length,s),e.elt("TableDelimiter",e.lineStart+t.pos,e.lineStart+t.text.length)])}}else if(this.rows){let n=[];De(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)}}const je={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":r.heading}},"TableRow",{name:"TableCell",style:r.content},{name:"TableDelimiter",style:r.processingInstruction}],parseBlock:[{name:"Table",leaf:(e,t)=>$e(t.content,0)?new qe:null,endLeaf(e,t,n){if(n.parsers.some((e=>e instanceof qe))||!$e(t.text,t.basePos))return!1;let r=e.scanLine(e.absoluteLineEnd+1).text;return Fe.test(r)&&De(e,t.text,t.basePos)==De(e,r,t.basePos)},before:"SetextHeading"}]};class Ue{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}}const _e={defineNodes:[{name:"Task",block:!0,style:r.list},{name:"TaskMarker",style:r.atom}],parseBlock:[{name:"TaskList",leaf:(e,t)=>/^\[[ xX]\][ \t]/.test(t.content)&&"ListItem"==e.parentType().name?new Ue:null,after:"SetextHeading"}]},Qe=/(www\.)|(https?:\/\/)|([\w.+-]{,100}@)|(mailto:|xmpp:)/gy,Ze=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,Ge=/[\w-]+\.[\w-]+($|\/)/,Ve=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,Ke=/\/[a-zA-Z\d@.]+/gy;function Je(e,t,n,r){let s=0;for(let i=t;i<n;i++)e[i]==r&&s++;return s}function We(e,t){Ve.lastIndex=t;let n=Ve.exec(e);if(!n)return-1;let r=n[0][n[0].length-1];return"_"==r||"-"==r?-1:t+n[0].length-("."==r?1:0)}const Ye=[je,_e,ze,{parseInline:[{name:"Autolink",parse(e,t,n){let r=n-e.offset;if(r&&/\w/.test(e.text[r-1]))return-1;Qe.lastIndex=r;let s=Qe.exec(e.text),i=-1;if(!s)return-1;if(s[1]||s[2]){if(i=function(e,t){Ze.lastIndex=t;let n=Ze.exec(e);if(!n||Ge.exec(n[0])[0].indexOf("_")>-1)return-1;let r=t+n[0].length;for(;;){let n,s=e[r-1];if(/[?!.,:*_~]/.test(s)||")"==s&&Je(e,t,r,")")>Je(e,t,r,"("))r--;else{if(";"!=s||!(n=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(e.slice(t,r))))break;r=t+n.index}}return r}(e.text,r+s[0].length),i>-1&&e.hasOpenLink){i=r+/([^\[\]]|\[[^\]]*\])*/.exec(e.text.slice(r,i))[0].length}}else s[3]?i=We(e.text,r):(i=We(e.text,r+s[0].length),i>-1&&"xmpp:"==s[0]&&(Ke.lastIndex=i,s=Ke.exec(e.text),s&&(i=s.index+s[0].length)));return i<0?-1:(e.addElement(e.elt("URL",n,i+e.offset)),i+e.offset)}}]}];function et(e,t,n){return(r,s,i)=>{if(s!=e||r.char(i+1)==e)return-1;let o=[r.elt(n,i,i+1)];for(let s=i+1;s<r.end;s++){let a=r.char(s);if(a==e)return r.addElement(r.elt(t,i,s+1,o.concat(r.elt(n,s,s+1))));if(92==a&&o.push(r.elt("Escape",s,2+s++)),N(a))break}return-1}}const tt={defineNodes:[{name:"Superscript",style:r.special(r.content)},{name:"SuperscriptMark",style:r.processingInstruction}],parseInline:[{name:"Superscript",parse:et(94,"Superscript","SuperscriptMark")}]},nt={defineNodes:[{name:"Subscript",style:r.special(r.content)},{name:"SubscriptMark",style:r.processingInstruction}],parseInline:[{name:"Subscript",parse:et(126,"Subscript","SubscriptMark")}]},rt={defineNodes:[{name:"Emoji",style:r.character}],parseInline:[{name:"Emoji",parse(e,t,n){let r;return 58==t&&(r=/^[a-zA-Z_0-9]+:/.exec(e.slice(n+1,e.end)))?e.addElement(e.elt("Emoji",n,n+1+r[0].length)):-1}}]},st=S({commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}}}),it=new t,ot=Oe.configure({props:[C.add((e=>!e.is("Block")||e.is("Document")||null!=at(e)?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to}))),it.add(at),w.add({Document:()=>null}),y.add({Document:st})]});function at(e){let t=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return t?+t[1]:void 0}function lt(e,t){let n=e;for(;;){let e,r=n.nextSibling;if(!r||null!=(e=at(r.type))&&e<=t)break;n=r}return n.to}const ht=A.of(((e,t,n)=>{for(let r=h(e).resolveInner(n,-1);r&&!(r.from<t);r=r.parent){let e=r.type.prop(it);if(null==e)continue;let t=lt(r,e);if(t>n)return{from:n,to:t}}return null}));function ft(e){return new x(st,e,[ht],"markdown")}const ct=ft(ot),ut=ft(ot.configure([Ye,nt,tt,rt]));class dt{constructor(e,t,n,r,s,i,o){this.node=e,this.from=t,this.to=n,this.spaceBefore=r,this.spaceAfter=s,this.type=i,this.item=o}blank(e,t=!0){let n=this.spaceBefore+("Blockquote"==this.node.name?">":"");if(null!=e){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="OrderedList"==this.node.name?String(+mt(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function pt(e,t){let n=[];for(let t=e;t&&"Document"!=t.name;t=t.parent)"ListItem"!=t.name&&"Blockquote"!=t.name&&"FencedCode"!=t.name||n.push(t);let r=[];for(let e=n.length-1;e>=0;e--){let s,i=n[e],o=t.lineAt(i.from),a=i.from-o.from;if("FencedCode"==i.name)r.push(new dt(i,a,a,"","","",null));else if("Blockquote"==i.name&&(s=/^ *>( ?)/.exec(o.text.slice(a))))r.push(new dt(i,a,a+s[0].length,"",s[1],">",null));else if("ListItem"==i.name&&"OrderedList"==i.parent.name&&(s=/^( *)\d+([.)])( *)/.exec(o.text.slice(a)))){let e=s[3],t=s[0].length;e.length>=4&&(e=e.slice(0,e.length-4),t-=4),r.push(new dt(i.parent,a,a+t,s[1],e,s[2],i))}else if("ListItem"==i.name&&"BulletList"==i.parent.name&&(s=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(o.text.slice(a)))){let e=s[4],t=s[0].length;e.length>4&&(e=e.slice(0,e.length-4),t-=4);let n=s[2];s[3]&&(n+=s[3].replace(/[xX]/," ")),r.push(new dt(i.parent,a,a+t,s[1],e,n,i))}}return r}function mt(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function gt(e,t,n,r=0){for(let s=-1,i=e;;){if("ListItem"==i.name){let e=mt(i,t),o=+e[2];if(s>=0){if(o!=s+1)return;n.push({from:i.from+e[1].length,to:i.from+e[0].length,insert:String(s+2+r)})}s=o}let e=i.nextSibling;if(!e)break;i=e}}function kt(e,t){let n=/^[ \t]*/.exec(e)[0].length;if(!n||"\t"!=t.facet(b))return e;let r="";for(let t=c(e,4,n);t>0;)t>=4?(r+="\t",t-=4):(r+=" ",t--);return r+e.slice(n)}const xt=({state:e,dispatch:t})=>{let n=h(e),{doc:r}=e,s=null,i=e.changeByRange((t=>{if(!t.empty||!ut.isActiveAt(e,t.from))return s={range:t};let i=t.from,o=r.lineAt(i),a=pt(n.resolveInner(i,-1),r);for(;a.length&&a[a.length-1].from>i-o.from;)a.pop();if(!a.length)return s={range:t};let l=a[a.length-1];if(l.to-l.spaceAfter.length>i-o.from)return s={range:t};let h=i>=l.to-l.spaceAfter.length&&!/\S/.test(o.text.slice(l.to));if(l.item&&h){if(l.node.firstChild.to>=i||o.from>0&&!/[^\s>]/.test(r.lineAt(o.from-1).text)){let e,t=a.length>1?a[a.length-2]:null,n="";t&&t.item?(e=o.from+t.from,n=t.marker(r,1)):e=o.from+(t?t.to:0);let s=[{from:e,to:i,insert:n}];return"OrderedList"==l.node.name&&gt(l.item,r,s,-2),t&&"OrderedList"==t.node.name&&gt(t.item,r,s),{range:f.cursor(e+n.length),changes:s}}{let t="";for(let e=0,n=a.length-2;e<=n;e++)t+=a[e].blank(e<n?c(o.text,4,a[e+1].from)-t.length:null,e<n);return t=kt(t,e),{range:f.cursor(i+t.length+1),changes:{from:o.from,insert:t+e.lineBreak}}}}if("Blockquote"==l.node.name&&h&&o.from){let n=r.lineAt(o.from-1),s=/>\s*$/.exec(n.text);if(s&&s.index==l.from){let r=e.changes([{from:n.from+s.index,to:n.to},{from:o.from+l.from,to:o.to}]);return{range:t.map(r),changes:r}}}let u=[];"OrderedList"==l.node.name&&gt(l.item,r,u);let d=l.item&&l.item.from<o.from,p="";if(!d||/^[\s\d.)\-+*>]*/.exec(o.text)[0].length>=l.to)for(let e=0,t=a.length-1;e<=t;e++)p+=e!=t||d?a[e].blank(e<t?c(o.text,4,a[e+1].from)-p.length:null):a[e].marker(r,1);let m=i;for(;m>o.from&&/\s/.test(o.text.charAt(m-o.from-1));)m--;return p=kt(p,e),u.push({from:m,to:i,insert:e.lineBreak+p}),{range:f.cursor(m+p.length+1),changes:u}}));return!s&&(t(e.update(i,{scrollIntoView:!0,userEvent:"input"})),!0)};function bt(e){return"QuoteMark"==e.name||"ListMark"==e.name}const Lt=({state:e,dispatch:t})=>{let n=h(e),r=null,s=e.changeByRange((t=>{let s=t.from,{doc:i}=e;if(t.empty&&ut.isActiveAt(e,t.from)){let t=i.lineAt(s),r=pt(function(e,t){let n=e.resolveInner(t,-1),r=t;bt(n)&&(r=n.from,n=n.parent);for(let e;e=n.childBefore(r);)if(bt(e))r=e.from;else{if("OrderedList"!=e.name&&"BulletList"!=e.name)break;n=e.lastChild,r=n.to}return n}(n,s),i);if(r.length){let n=r[r.length-1],i=n.to-n.spaceAfter.length+(n.spaceAfter?1:0);if(s-t.from>i&&!/\S/.test(t.text.slice(i,s-t.from)))return{range:f.cursor(t.from+i),changes:{from:t.from+i,to:s}};if(s-t.from==i&&(!n.item||t.from<=n.item.from||!/\S/.test(t.text.slice(0,n.to)))){let r=t.from+n.from;if(n.item&&n.node.from<n.item.from&&/\S/.test(t.text.slice(n.from,n.to))){let s=n.blank(c(t.text,4,n.to)-c(t.text,4,n.from));return r==t.from&&(s=kt(s,e)),{range:f.cursor(r+s.length),changes:{from:r,to:t.from+n.to,insert:s}}}if(r<s)return{range:f.cursor(r),changes:{from:r,to:s}}}}}return r={range:t}}));return!r&&(t(e.update(s,{scrollIntoView:!0,userEvent:"delete"})),!0)},St=[{key:"Enter",run:xt},{key:"Backspace",run:Lt}],Ct=L({matchClosingTags:!1});function wt(e={}){let{codeLanguages:t,defaultCodeLanguage:n,addKeymap:r=!0,base:{parser:s}=ct,completeHTMLTags:i=!0}=e;if(!(s instanceof ae))throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");let o,a=e.extensions?[e.extensions]:[],h=[Ct.support];n instanceof u?(h.push(n.support),o=n.language):n&&(o=n);let f=t||o?(c=t,m=o,e=>{if(e&&c){let t=null;if(e=/\S*/.exec(e)[0],t="function"==typeof c?c(e):I.matchLanguageName(c,e,!0),t instanceof I)return t.support?t.support.language.parser:T.getSkippingParser(t.load());if(t)return t.parser}return m?m.parser:null}):void 0;var c,m;a.push(function(e){let{codeParser:t,htmlParser:n}=e,r=l(((e,r)=>{let s=e.type.id;if(!t||s!=E.CodeBlock&&s!=E.FencedCode){if(n&&(s==E.HTMLBlock||s==E.HTMLTag))return{parser:n,overlay:Re(e.node,e.from,e.to)}}else{let n="";if(s==E.FencedCode){let t=e.node.getChild(E.CodeInfo);t&&(n=r.read(t.from,t.to))}let i=t(n);if(i)return{parser:i,overlay:e=>e.type.id==E.CodeText}}return null}));return{wrap:r}}({codeParser:f,htmlParser:Ct.language.parser})),r&&h.push(d.high(p.of(St)));let g=ft(s.configure(a));return i&&h.push(g.data.of({autocomplete:yt})),new u(g,h)}function yt(e){let{state:t,pos:n}=e,r=/<[:\-\.\w\u00b7-\uffff]*$/.exec(t.sliceDoc(n-25,n));if(!r)return null;let s=h(t).resolveInner(n,-1);for(;s&&!s.type.isTop;){if("CodeBlock"==s.name||"FencedCode"==s.name||"ProcessingInstructionBlock"==s.name||"CommentBlock"==s.name||"Link"==s.name||"Image"==s.name)return null;s=s.parent}return{from:n-r[0].length,to:n,options:It(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}let At=null;function It(){if(At)return At;let e=m(new g(k.create({extensions:Ct}),0,!0));return At=e?e.options:[]}export{ct as commonmarkLanguage,Lt as deleteMarkupBackward,xt as insertNewlineContinueMarkup,wt as markdown,St as markdownKeymap,ut as markdownLanguage};
2
2
  //# sourceMappingURL=markdown.js.map