zudoku 0.26.1 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (264) hide show
  1. package/dist/app/main.d.ts +1 -1
  2. package/dist/app/main.js +19 -7
  3. package/dist/app/main.js.map +1 -1
  4. package/dist/config/loader.js +1 -1
  5. package/dist/config/loader.js.map +1 -1
  6. package/dist/config/validators/InputSidebarSchema.d.ts +2 -2
  7. package/dist/config/validators/common.d.ts +67 -0
  8. package/dist/config/validators/common.js +5 -0
  9. package/dist/config/validators/common.js.map +1 -1
  10. package/dist/config/validators/validate.d.ts +29 -0
  11. package/dist/lib/components/AnchorLink.js +5 -2
  12. package/dist/lib/components/AnchorLink.js.map +1 -1
  13. package/dist/lib/components/Header.js +1 -1
  14. package/dist/lib/components/Header.js.map +1 -1
  15. package/dist/lib/components/Heading.d.ts +1 -1
  16. package/dist/lib/components/Markdown.d.ts +2 -2
  17. package/dist/lib/components/Markdown.js +3 -1
  18. package/dist/lib/components/Markdown.js.map +1 -1
  19. package/dist/lib/components/StatusPage.d.ts +7 -0
  20. package/dist/lib/components/StatusPage.js +71 -0
  21. package/dist/lib/components/StatusPage.js.map +1 -0
  22. package/dist/lib/components/SyntaxHighlight.d.ts +2 -1
  23. package/dist/lib/components/SyntaxHighlight.js +2 -2
  24. package/dist/lib/components/SyntaxHighlight.js.map +1 -1
  25. package/dist/lib/components/ThemeSwitch.js +4 -4
  26. package/dist/lib/components/ThemeSwitch.js.map +1 -1
  27. package/dist/lib/components/cache.d.ts +6 -0
  28. package/dist/lib/components/cache.js +13 -0
  29. package/dist/lib/components/cache.js.map +1 -0
  30. package/dist/lib/components/context/ViewportAnchorContext.js +16 -4
  31. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  32. package/dist/lib/components/context/ZudokuContext.js +2 -1
  33. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  34. package/dist/lib/components/index.d.ts +9 -2
  35. package/dist/lib/components/index.js +3 -0
  36. package/dist/lib/components/index.js.map +1 -1
  37. package/dist/lib/components/navigation/SidebarCategory.js +3 -3
  38. package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
  39. package/dist/lib/core/RouteGuard.d.ts +1 -0
  40. package/dist/lib/core/RouteGuard.js +28 -0
  41. package/dist/lib/core/RouteGuard.js.map +1 -0
  42. package/dist/lib/core/ZudokuContext.d.ts +4 -2
  43. package/dist/lib/core/ZudokuContext.js +9 -7
  44. package/dist/lib/core/ZudokuContext.js.map +1 -1
  45. package/dist/lib/oas/graphql/circular.d.ts +3 -0
  46. package/dist/lib/oas/graphql/circular.js +27 -0
  47. package/dist/lib/oas/graphql/circular.js.map +1 -0
  48. package/dist/lib/oas/graphql/index.d.ts +1 -0
  49. package/dist/lib/oas/graphql/index.js +46 -29
  50. package/dist/lib/oas/graphql/index.js.map +1 -1
  51. package/dist/lib/oas/parser/dereference/index.d.ts +0 -1
  52. package/dist/lib/oas/parser/dereference/index.js +1 -1
  53. package/dist/lib/oas/parser/dereference/index.js.map +1 -1
  54. package/dist/lib/plugins/openapi/Endpoint.js +2 -2
  55. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  56. package/dist/lib/plugins/openapi/{Route.d.ts → OpenApiRoute.d.ts} +2 -1
  57. package/dist/lib/plugins/openapi/{Route.js → OpenApiRoute.js} +3 -4
  58. package/dist/lib/plugins/openapi/OpenApiRoute.js.map +1 -0
  59. package/dist/lib/plugins/openapi/OperationList.d.ts +4 -1
  60. package/dist/lib/plugins/openapi/OperationList.js +20 -14
  61. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  62. package/dist/lib/plugins/openapi/OperationListItem.js +1 -1
  63. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  64. package/dist/lib/plugins/openapi/ParameterListItem.js +1 -1
  65. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  66. package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +1 -1
  67. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +2 -0
  68. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  69. package/dist/lib/plugins/openapi/Sidecar.js +3 -3
  70. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  71. package/dist/lib/plugins/openapi/SidecarExamples.js +17 -14
  72. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -1
  73. package/dist/lib/plugins/openapi/graphql/gql.d.ts +6 -2
  74. package/dist/lib/plugins/openapi/graphql/gql.js +3 -2
  75. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  76. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +47 -26
  77. package/dist/lib/plugins/openapi/graphql/graphql.js +20 -16
  78. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  79. package/dist/lib/plugins/openapi/index.js +101 -65
  80. package/dist/lib/plugins/openapi/index.js.map +1 -1
  81. package/dist/lib/plugins/openapi/interfaces.d.ts +8 -2
  82. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +5 -5
  83. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -1
  84. package/dist/lib/plugins/openapi/playground/Headers.js +17 -16
  85. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
  86. package/dist/lib/plugins/openapi/playground/ParamsGrid.d.ts +5 -0
  87. package/dist/lib/plugins/openapi/playground/ParamsGrid.js +4 -0
  88. package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -0
  89. package/dist/lib/plugins/openapi/playground/PathParams.js +4 -12
  90. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  91. package/dist/lib/plugins/openapi/playground/Playground.d.ts +13 -0
  92. package/dist/lib/plugins/openapi/playground/Playground.js +19 -31
  93. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  94. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +1 -1
  95. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
  96. package/dist/lib/plugins/openapi/playground/QueryParams.js +4 -3
  97. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  98. package/dist/lib/plugins/openapi/playground/SubmitButton.d.ts +7 -0
  99. package/dist/lib/plugins/openapi/playground/SubmitButton.js +22 -0
  100. package/dist/lib/plugins/openapi/playground/SubmitButton.js.map +1 -0
  101. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.d.ts +7 -0
  102. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js +11 -0
  103. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js.map +1 -0
  104. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.d.ts +8 -0
  105. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +95 -0
  106. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -0
  107. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +7 -0
  108. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +16 -0
  109. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -0
  110. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +10 -0
  111. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +32 -0
  112. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -0
  113. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.d.ts +1 -0
  114. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js +56 -0
  115. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js.map +1 -0
  116. package/dist/lib/plugins/openapi/schema/SchemaComponents.js +1 -1
  117. package/dist/lib/plugins/openapi/schema/SchemaComponents.js.map +1 -1
  118. package/dist/lib/ui/Command.js +1 -1
  119. package/dist/lib/ui/Command.js.map +1 -1
  120. package/dist/lib/ui/Select.js +2 -2
  121. package/dist/lib/ui/Select.js.map +1 -1
  122. package/dist/lib/util/MdxComponents.js +2 -2
  123. package/dist/lib/util/MdxComponents.js.map +1 -1
  124. package/dist/lib/util/joinUrl.js +1 -1
  125. package/dist/lib/util/joinUrl.js.map +1 -1
  126. package/dist/lib/util/joinUrl.test.d.ts +1 -0
  127. package/dist/lib/util/joinUrl.test.js +43 -0
  128. package/dist/lib/util/joinUrl.test.js.map +1 -0
  129. package/dist/lib/util/useScrollToAnchor.d.ts +1 -0
  130. package/dist/lib/util/useScrollToAnchor.js +26 -15
  131. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  132. package/dist/vite/plugin-api.js +15 -3
  133. package/dist/vite/plugin-api.js.map +1 -1
  134. package/dist/vite/prerender.js +1 -0
  135. package/dist/vite/prerender.js.map +1 -1
  136. package/dist/zuplo/enrich-with-zuplo.js +1 -1
  137. package/dist/zuplo/enrich-with-zuplo.js.map +1 -1
  138. package/dist/zuplo/with-zuplo.d.ts +2 -1
  139. package/dist/zuplo/with-zuplo.js +3 -1
  140. package/dist/zuplo/with-zuplo.js.map +1 -1
  141. package/lib/{AuthenticationPlugin-C9SwOxkc.js → AuthenticationPlugin-Du8cLBSr.js} +3 -3
  142. package/lib/{AuthenticationPlugin-C9SwOxkc.js.map → AuthenticationPlugin-Du8cLBSr.js.map} +1 -1
  143. package/lib/{Markdown-DFN6p0J-.js → Markdown-Cyrx_JrO.js} +1195 -1185
  144. package/lib/{Markdown-DFN6p0J-.js.map → Markdown-Cyrx_JrO.js.map} +1 -1
  145. package/lib/{MdxPage-D9c4z09Q.js → MdxPage-DewragjB.js} +6 -6
  146. package/lib/{MdxPage-D9c4z09Q.js.map → MdxPage-DewragjB.js.map} +1 -1
  147. package/lib/OpenApiRoute-UrC_t0e5.js +36 -0
  148. package/lib/OpenApiRoute-UrC_t0e5.js.map +1 -0
  149. package/lib/{OperationList-DGJWDx1G.js → OperationList-D_ejrepA.js} +1970 -1957
  150. package/lib/OperationList-D_ejrepA.js.map +1 -0
  151. package/lib/{Select-D3O7wISy.js → Select-CnCZ4WhS.js} +61 -61
  152. package/lib/Select-CnCZ4WhS.js.map +1 -0
  153. package/lib/{SlotletProvider-_3zzX_g_.js → SlotletProvider-mQiPDQIH.js} +4 -4
  154. package/lib/{SlotletProvider-_3zzX_g_.js.map → SlotletProvider-mQiPDQIH.js.map} +1 -1
  155. package/lib/{SyntaxHighlight-CJCSPG1F.js → SyntaxHighlight-B0L4SC_N.js} +309 -298
  156. package/lib/SyntaxHighlight-B0L4SC_N.js.map +1 -0
  157. package/lib/{ZudokuContext-DeQZEp-x.js → ZudokuContext-BTUJPpQl.js} +257 -246
  158. package/lib/ZudokuContext-BTUJPpQl.js.map +1 -0
  159. package/lib/{chunk-SYFQ2XB5-BF5IDYrB.js → chunk-SYFQ2XB5-BPvC-soB.js} +5 -5
  160. package/lib/{chunk-SYFQ2XB5-BF5IDYrB.js.map → chunk-SYFQ2XB5-BPvC-soB.js.map} +1 -1
  161. package/lib/circular-Dgpd6AN-.js +15397 -0
  162. package/lib/circular-Dgpd6AN-.js.map +1 -0
  163. package/lib/{createServer-BcaswoFO.js → createServer-BydbkTsd.js} +3487 -5601
  164. package/lib/createServer-BydbkTsd.js.map +1 -0
  165. package/lib/{hook-BRQEDRbn.js → hook-FT3SJLe_.js} +2 -2
  166. package/lib/{hook-BRQEDRbn.js.map → hook-FT3SJLe_.js.map} +1 -1
  167. package/lib/{index-LNp6rxyU.js → index-CjJS0l4l.js} +2 -2
  168. package/lib/{index-LNp6rxyU.js.map → index-CjJS0l4l.js.map} +1 -1
  169. package/lib/index-DGugJOLc.js +1974 -0
  170. package/lib/index-DGugJOLc.js.map +1 -0
  171. package/lib/{joinUrl-BTy9bvoK.js → joinUrl-nLx9pD-Z.js} +2 -2
  172. package/lib/joinUrl-nLx9pD-Z.js.map +1 -0
  173. package/lib/ui/Command.js +27 -27
  174. package/lib/ui/Command.js.map +1 -1
  175. package/lib/ui/Select.js +2 -2
  176. package/lib/ui/Select.js.map +1 -1
  177. package/lib/{useExposedProps-CetwhZpP.js → useExposedProps-BLKFBylA.js} +2 -2
  178. package/lib/{useExposedProps-CetwhZpP.js.map → useExposedProps-BLKFBylA.js.map} +1 -1
  179. package/lib/useScrollToAnchor-eRM9tVvD.js +289 -0
  180. package/lib/useScrollToAnchor-eRM9tVvD.js.map +1 -0
  181. package/lib/zudoku.auth-clerk.js +1 -1
  182. package/lib/zudoku.auth-openid.js +4 -4
  183. package/lib/zudoku.components.js +740 -979
  184. package/lib/zudoku.components.js.map +1 -1
  185. package/lib/zudoku.plugin-api-catalog.js +4 -4
  186. package/lib/zudoku.plugin-api-keys.js +5 -5
  187. package/lib/zudoku.plugin-custom-pages.js +2 -2
  188. package/lib/zudoku.plugin-markdown.js +1 -1
  189. package/lib/zudoku.plugin-openapi.js +6 -5
  190. package/lib/zudoku.plugin-openapi.js.map +1 -1
  191. package/lib/zudoku.plugin-redirect.js +1 -1
  192. package/package.json +2 -2
  193. package/src/app/main.tsx +26 -7
  194. package/src/lib/components/AnchorLink.tsx +5 -2
  195. package/src/lib/components/Header.tsx +1 -1
  196. package/src/lib/components/Markdown.tsx +14 -15
  197. package/src/lib/components/StatusPage.tsx +91 -0
  198. package/src/lib/components/SyntaxHighlight.tsx +14 -0
  199. package/src/lib/components/ThemeSwitch.tsx +14 -15
  200. package/src/lib/components/cache.ts +15 -0
  201. package/src/lib/components/context/ViewportAnchorContext.tsx +20 -6
  202. package/src/lib/components/context/ZudokuContext.ts +3 -1
  203. package/src/lib/components/index.ts +7 -0
  204. package/src/lib/components/navigation/SidebarCategory.tsx +3 -2
  205. package/src/lib/core/RouteGuard.tsx +35 -0
  206. package/src/lib/core/ZudokuContext.ts +9 -8
  207. package/src/lib/oas/graphql/circular.ts +29 -0
  208. package/src/lib/oas/graphql/index.ts +72 -44
  209. package/src/lib/oas/parser/dereference/index.ts +1 -2
  210. package/src/lib/plugins/openapi/Endpoint.tsx +2 -2
  211. package/src/lib/plugins/openapi/{Route.tsx → OpenApiRoute.tsx} +3 -3
  212. package/src/lib/plugins/openapi/OperationList.tsx +34 -12
  213. package/src/lib/plugins/openapi/OperationListItem.tsx +0 -2
  214. package/src/lib/plugins/openapi/ParameterListItem.tsx +1 -0
  215. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +2 -0
  216. package/src/lib/plugins/openapi/Sidecar.tsx +4 -3
  217. package/src/lib/plugins/openapi/SidecarExamples.tsx +24 -24
  218. package/src/lib/plugins/openapi/graphql/gql.ts +12 -4
  219. package/src/lib/plugins/openapi/graphql/graphql.ts +66 -43
  220. package/src/lib/plugins/openapi/index.tsx +134 -82
  221. package/src/lib/plugins/openapi/interfaces.ts +11 -2
  222. package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +30 -27
  223. package/src/lib/plugins/openapi/playground/Headers.tsx +65 -65
  224. package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +8 -0
  225. package/src/lib/plugins/openapi/playground/PathParams.tsx +34 -74
  226. package/src/lib/plugins/openapi/playground/Playground.tsx +64 -116
  227. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +1 -1
  228. package/src/lib/plugins/openapi/playground/QueryParams.tsx +46 -45
  229. package/src/lib/plugins/openapi/playground/SubmitButton.tsx +75 -0
  230. package/src/lib/plugins/openapi/playground/result-panel/RequestTab.tsx +73 -0
  231. package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +210 -0
  232. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +101 -0
  233. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.test.ts +64 -0
  234. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +36 -0
  235. package/src/lib/plugins/openapi/schema/SchemaComponents.tsx +1 -1
  236. package/src/lib/ui/Command.tsx +1 -1
  237. package/src/lib/ui/Select.tsx +1 -1
  238. package/src/lib/util/MdxComponents.tsx +2 -1
  239. package/src/lib/util/joinUrl.test.ts +62 -0
  240. package/src/lib/util/joinUrl.ts +1 -1
  241. package/src/lib/util/useScrollToAnchor.ts +32 -15
  242. package/dist/lib/plugins/openapi/Route.js.map +0 -1
  243. package/dist/lib/plugins/openapi/playground/ResponseTab.d.ts +0 -4
  244. package/dist/lib/plugins/openapi/playground/ResponseTab.js +0 -42
  245. package/dist/lib/plugins/openapi/playground/ResponseTab.js.map +0 -1
  246. package/lib/AnchorLink-bObQitZv.js +0 -34
  247. package/lib/AnchorLink-bObQitZv.js.map +0 -1
  248. package/lib/OperationList-DGJWDx1G.js.map +0 -1
  249. package/lib/Route-VdmEyOD0.js +0 -35
  250. package/lib/Route-VdmEyOD0.js.map +0 -1
  251. package/lib/Select-D3O7wISy.js.map +0 -1
  252. package/lib/StaggeredRender-DgsamH_G.js +0 -17
  253. package/lib/StaggeredRender-DgsamH_G.js.map +0 -1
  254. package/lib/SyntaxHighlight-CJCSPG1F.js.map +0 -1
  255. package/lib/ZudokuContext-DeQZEp-x.js.map +0 -1
  256. package/lib/createServer-BcaswoFO.js.map +0 -1
  257. package/lib/index-Bn6Lc9tq.js +0 -9
  258. package/lib/index-Bn6Lc9tq.js.map +0 -1
  259. package/lib/index-CXRrqOIl.js +0 -1750
  260. package/lib/index-CXRrqOIl.js.map +0 -1
  261. package/lib/index-TaRXY2w1.js +0 -43
  262. package/lib/index-TaRXY2w1.js.map +0 -1
  263. package/lib/joinUrl-BTy9bvoK.js.map +0 -1
  264. package/src/lib/plugins/openapi/playground/ResponseTab.tsx +0 -76
@@ -4,6 +4,11 @@ import { createElement as he, useCallback as V, useMemo as ve, useState as ke }
4
4
  import { a as ce, c as ae } from "./cn-qaFjX9_3.js";
5
5
  import { CheckIcon as we, CopyIcon as Ee } from "lucide-react";
6
6
  import { C as xe } from "./ClientOnly-E7hGysn1.js";
7
+ function Ut(e) {
8
+ if (typeof e != "string")
9
+ throw new TypeError("Expected a string");
10
+ return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
11
+ }
7
12
  var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties, _e = Object.getOwnPropertyDescriptor, Fe = Object.getOwnPropertyDescriptors, pe = Object.getOwnPropertyNames, Z = Object.getOwnPropertySymbols, Te = Object.getPrototypeOf, Q = Object.prototype.hasOwnProperty, de = Object.prototype.propertyIsEnumerable, ne = (e, t, a) => t in e ? W(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a, B = (e, t) => {
8
13
  for (var a in t || (t = {}))
9
14
  Q.call(t, a) && ne(e, a, t[a]);
@@ -13,21 +18,21 @@ var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties,
13
18
  return e;
14
19
  }, q = (e, t) => Ae(e, Fe(t)), ge = (e, t) => {
15
20
  var a = {};
16
- for (var i in e)
17
- Q.call(e, i) && t.indexOf(i) < 0 && (a[i] = e[i]);
21
+ for (var l in e)
22
+ Q.call(e, l) && t.indexOf(l) < 0 && (a[l] = e[l]);
18
23
  if (e != null && Z)
19
- for (var i of Z(e))
20
- t.indexOf(i) < 0 && de.call(e, i) && (a[i] = e[i]);
24
+ for (var l of Z(e))
25
+ t.indexOf(l) < 0 && de.call(e, l) && (a[l] = e[l]);
21
26
  return a;
22
27
  }, Re = (e, t) => function() {
23
28
  return t || (0, e[pe(e)[0]])((t = { exports: {} }).exports, t), t.exports;
24
29
  }, Ie = (e, t) => {
25
30
  for (var a in t)
26
31
  W(e, a, { get: t[a], enumerable: !0 });
27
- }, Le = (e, t, a, i) => {
32
+ }, Le = (e, t, a, l) => {
28
33
  if (t && typeof t == "object" || typeof t == "function")
29
- for (let p of pe(t))
30
- !Q.call(e, p) && p !== a && W(e, p, { get: () => t[p], enumerable: !(i = _e(t, p)) || i.enumerable });
34
+ for (let d of pe(t))
35
+ !Q.call(e, d) && d !== a && W(e, d, { get: () => t[d], enumerable: !(l = _e(t, d)) || l.enumerable });
31
36
  return e;
32
37
  }, Oe = (e, t, a) => (a = e != null ? Se(Te(e)) : {}, Le(
33
38
  // If the importer is in node compatibility mode or this is not an ESM
@@ -39,7 +44,7 @@ var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties,
39
44
  )), Ce = Re({
40
45
  "../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e, t) {
41
46
  var a = function() {
42
- var i = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, p = 0, h = {}, c = {
47
+ var l = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, d = 0, h = {}, u = {
43
48
  /**
44
49
  * A namespace for utility methods.
45
50
  *
@@ -79,7 +84,7 @@ var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties,
79
84
  * @returns {number}
80
85
  */
81
86
  objId: function(n) {
82
- return n.__id || Object.defineProperty(n, "__id", { value: ++p }), n.__id;
87
+ return n.__id || Object.defineProperty(n, "__id", { value: ++d }), n.__id;
83
88
  },
84
89
  /**
85
90
  * Creates a deep clone of the given object.
@@ -93,24 +98,24 @@ var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties,
93
98
  */
94
99
  clone: function n(r, s) {
95
100
  s = s || {};
96
- var d, l;
97
- switch (c.util.type(r)) {
101
+ var p, i;
102
+ switch (u.util.type(r)) {
98
103
  case "Object":
99
- if (l = c.util.objId(r), s[l])
100
- return s[l];
101
- d = /** @type {Record<string, any>} */
102
- {}, s[l] = d;
104
+ if (i = u.util.objId(r), s[i])
105
+ return s[i];
106
+ p = /** @type {Record<string, any>} */
107
+ {}, s[i] = p;
103
108
  for (var f in r)
104
- r.hasOwnProperty(f) && (d[f] = n(r[f], s));
109
+ r.hasOwnProperty(f) && (p[f] = n(r[f], s));
105
110
  return (
106
111
  /** @type {any} */
107
- d
112
+ p
108
113
  );
109
114
  case "Array":
110
- return l = c.util.objId(r), s[l] ? s[l] : (d = [], s[l] = d, r.forEach(function(E, w) {
111
- d[w] = n(E, s);
115
+ return i = u.util.objId(r), s[i] ? s[i] : (p = [], s[i] = p, r.forEach(function(E, k) {
116
+ p[k] = n(E, s);
112
117
  }), /** @type {any} */
113
- d);
118
+ p);
114
119
  default:
115
120
  return r;
116
121
  }
@@ -125,7 +130,7 @@ var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties,
125
130
  */
126
131
  getLanguage: function(n) {
127
132
  for (; n; ) {
128
- var r = i.exec(n.className);
133
+ var r = l.exec(n.className);
129
134
  if (r)
130
135
  return r[1].toLowerCase();
131
136
  n = n.parentElement;
@@ -140,7 +145,7 @@ var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties,
140
145
  * @returns {void}
141
146
  */
142
147
  setLanguage: function(n, r) {
143
- n.className = n.className.replace(RegExp(i, "gi"), ""), n.classList.add("language-" + r);
148
+ n.className = n.className.replace(RegExp(l, "gi"), ""), n.classList.add("language-" + r);
144
149
  },
145
150
  /**
146
151
  * Returns whether a given class is active for `element`.
@@ -162,11 +167,11 @@ var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties,
162
167
  * @returns {boolean}
163
168
  */
164
169
  isActive: function(n, r, s) {
165
- for (var d = "no-" + r; n; ) {
166
- var l = n.classList;
167
- if (l.contains(r))
170
+ for (var p = "no-" + r; n; ) {
171
+ var i = n.classList;
172
+ if (i.contains(r))
168
173
  return !0;
169
- if (l.contains(d))
174
+ if (i.contains(p))
170
175
  return !1;
171
176
  n = n.parentElement;
172
177
  }
@@ -217,9 +222,9 @@ var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties,
217
222
  * });
218
223
  */
219
224
  extend: function(n, r) {
220
- var s = c.util.clone(c.languages[n]);
221
- for (var d in r)
222
- s[d] = r[d];
225
+ var s = u.util.clone(u.languages[n]);
226
+ for (var p in r)
227
+ s[p] = r[p];
223
228
  return s;
224
229
  },
225
230
  /**
@@ -297,31 +302,31 @@ var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties,
297
302
  * @returns {Grammar} The new grammar object.
298
303
  * @public
299
304
  */
300
- insertBefore: function(n, r, s, d) {
301
- d = d || /** @type {any} */
302
- c.languages;
303
- var l = d[n], f = {};
304
- for (var E in l)
305
- if (l.hasOwnProperty(E)) {
305
+ insertBefore: function(n, r, s, p) {
306
+ p = p || /** @type {any} */
307
+ u.languages;
308
+ var i = p[n], f = {};
309
+ for (var E in i)
310
+ if (i.hasOwnProperty(E)) {
306
311
  if (E == r)
307
- for (var w in s)
308
- s.hasOwnProperty(w) && (f[w] = s[w]);
309
- s.hasOwnProperty(E) || (f[E] = l[E]);
312
+ for (var k in s)
313
+ s.hasOwnProperty(k) && (f[k] = s[k]);
314
+ s.hasOwnProperty(E) || (f[E] = i[E]);
310
315
  }
311
- var x = d[n];
312
- return d[n] = f, c.languages.DFS(c.languages, function(S, F) {
316
+ var x = p[n];
317
+ return p[n] = f, u.languages.DFS(u.languages, function(S, F) {
313
318
  F === x && S != n && (this[S] = f);
314
319
  }), f;
315
320
  },
316
321
  // Traverse a language definition with Depth First Search
317
- DFS: function n(r, s, d, l) {
318
- l = l || {};
319
- var f = c.util.objId;
322
+ DFS: function n(r, s, p, i) {
323
+ i = i || {};
324
+ var f = u.util.objId;
320
325
  for (var E in r)
321
326
  if (r.hasOwnProperty(E)) {
322
- s.call(r, E, r[E], d || E);
323
- var w = r[E], x = c.util.type(w);
324
- x === "Object" && !l[f(w)] ? (l[f(w)] = !0, n(w, s, null, l)) : x === "Array" && !l[f(w)] && (l[f(w)] = !0, n(w, s, E, l));
327
+ s.call(r, E, r[E], p || E);
328
+ var k = r[E], x = u.util.type(k);
329
+ x === "Object" && !i[f(k)] ? (i[f(k)] = !0, n(k, s, null, i)) : x === "Array" && !i[f(k)] && (i[f(k)] = !0, n(k, s, E, i));
325
330
  }
326
331
  }
327
332
  },
@@ -347,14 +352,14 @@ var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties,
347
352
  * Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
348
353
  */
349
354
  highlight: function(n, r, s) {
350
- var d = {
355
+ var p = {
351
356
  code: n,
352
357
  grammar: r,
353
358
  language: s
354
359
  };
355
- if (c.hooks.run("before-tokenize", d), !d.grammar)
356
- throw new Error('The language "' + d.language + '" has no grammar.');
357
- return d.tokens = c.tokenize(d.code, d.grammar), c.hooks.run("after-tokenize", d), m.stringify(c.util.encode(d.tokens), d.language);
360
+ if (u.hooks.run("before-tokenize", p), !p.grammar)
361
+ throw new Error('The language "' + p.language + '" has no grammar.');
362
+ return p.tokens = u.tokenize(p.code, p.grammar), u.hooks.run("after-tokenize", p), m.stringify(u.util.encode(p.tokens), p.language);
358
363
  },
359
364
  /**
360
365
  * This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
@@ -383,12 +388,12 @@ var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties,
383
388
  tokenize: function(n, r) {
384
389
  var s = r.rest;
385
390
  if (s) {
386
- for (var d in s)
387
- r[d] = s[d];
391
+ for (var p in s)
392
+ r[p] = s[p];
388
393
  delete r.rest;
389
394
  }
390
- var l = new b();
391
- return y(l, l.head, n), g(n, l, r, l.head, 0), k(l);
395
+ var i = new b();
396
+ return y(i, i.head, n), g(n, i, r, i.head, 0), w(i);
392
397
  },
393
398
  /**
394
399
  * @namespace
@@ -410,7 +415,7 @@ var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties,
410
415
  * @public
411
416
  */
412
417
  add: function(n, r) {
413
- var s = c.hooks.all;
418
+ var s = u.hooks.all;
414
419
  s[n] = s[n] || [], s[n].push(r);
415
420
  },
416
421
  /**
@@ -423,27 +428,27 @@ var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties,
423
428
  * @public
424
429
  */
425
430
  run: function(n, r) {
426
- var s = c.hooks.all[n];
431
+ var s = u.hooks.all[n];
427
432
  if (!(!s || !s.length))
428
- for (var d = 0, l; l = s[d++]; )
429
- l(r);
433
+ for (var p = 0, i; i = s[p++]; )
434
+ i(r);
430
435
  }
431
436
  },
432
437
  Token: m
433
438
  };
434
- function m(n, r, s, d) {
435
- this.type = n, this.content = r, this.alias = s, this.length = (d || "").length | 0;
439
+ function m(n, r, s, p) {
440
+ this.type = n, this.content = r, this.alias = s, this.length = (p || "").length | 0;
436
441
  }
437
442
  m.stringify = function n(r, s) {
438
443
  if (typeof r == "string")
439
444
  return r;
440
445
  if (Array.isArray(r)) {
441
- var d = "";
446
+ var p = "";
442
447
  return r.forEach(function(x) {
443
- d += n(x, s);
444
- }), d;
448
+ p += n(x, s);
449
+ }), p;
445
450
  }
446
- var l = {
451
+ var i = {
447
452
  type: r.type,
448
453
  content: n(r.content, s),
449
454
  tag: "span",
@@ -451,42 +456,42 @@ var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties,
451
456
  attributes: {},
452
457
  language: s
453
458
  }, f = r.alias;
454
- f && (Array.isArray(f) ? Array.prototype.push.apply(l.classes, f) : l.classes.push(f)), c.hooks.run("wrap", l);
459
+ f && (Array.isArray(f) ? Array.prototype.push.apply(i.classes, f) : i.classes.push(f)), u.hooks.run("wrap", i);
455
460
  var E = "";
456
- for (var w in l.attributes)
457
- E += " " + w + '="' + (l.attributes[w] || "").replace(/"/g, "&quot;") + '"';
458
- return "<" + l.tag + ' class="' + l.classes.join(" ") + '"' + E + ">" + l.content + "</" + l.tag + ">";
461
+ for (var k in i.attributes)
462
+ E += " " + k + '="' + (i.attributes[k] || "").replace(/"/g, "&quot;") + '"';
463
+ return "<" + i.tag + ' class="' + i.classes.join(" ") + '"' + E + ">" + i.content + "</" + i.tag + ">";
459
464
  };
460
- function u(n, r, s, d) {
465
+ function c(n, r, s, p) {
461
466
  n.lastIndex = r;
462
- var l = n.exec(s);
463
- if (l && d && l[1]) {
464
- var f = l[1].length;
465
- l.index += f, l[0] = l[0].slice(f);
467
+ var i = n.exec(s);
468
+ if (i && p && i[1]) {
469
+ var f = i[1].length;
470
+ i.index += f, i[0] = i[0].slice(f);
466
471
  }
467
- return l;
472
+ return i;
468
473
  }
469
- function g(n, r, s, d, l, f) {
474
+ function g(n, r, s, p, i, f) {
470
475
  for (var E in s)
471
476
  if (!(!s.hasOwnProperty(E) || !s[E])) {
472
- var w = s[E];
473
- w = Array.isArray(w) ? w : [w];
474
- for (var x = 0; x < w.length; ++x) {
477
+ var k = s[E];
478
+ k = Array.isArray(k) ? k : [k];
479
+ for (var x = 0; x < k.length; ++x) {
475
480
  if (f && f.cause == E + "," + x)
476
481
  return;
477
- var S = w[x], F = S.inside, A = !!S.lookbehind, C = !!S.greedy, T = S.alias;
482
+ var S = k[x], F = S.inside, A = !!S.lookbehind, C = !!S.greedy, T = S.alias;
478
483
  if (C && !S.pattern.global) {
479
484
  var O = S.pattern.toString().match(/[imsuy]*$/)[0];
480
485
  S.pattern = RegExp(S.pattern.source, O + "g");
481
486
  }
482
- for (var ee = S.pattern || S, R = d.next, D = l; R !== r.tail && !(f && D >= f.reach); D += R.value.length, R = R.next) {
487
+ for (var ee = S.pattern || S, R = p.next, D = i; R !== r.tail && !(f && D >= f.reach); D += R.value.length, R = R.next) {
483
488
  var P = R.value;
484
489
  if (r.length > n.length)
485
490
  return;
486
491
  if (!(P instanceof m)) {
487
492
  var z = 1, N;
488
493
  if (C) {
489
- if (N = u(ee, D, n, A), !N || N.index >= n.length)
494
+ if (N = c(ee, D, n, A), !N || N.index >= n.length)
490
495
  break;
491
496
  var M = N.index, be = N.index + N[0].length, $ = D;
492
497
  for ($ += R.value.length; M >= $; )
@@ -496,13 +501,13 @@ var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties,
496
501
  for (var j = R; j !== r.tail && ($ < be || typeof j.value == "string"); j = j.next)
497
502
  z++, $ += j.value.length;
498
503
  z--, P = n.slice(D, $), N.index -= D;
499
- } else if (N = u(ee, 0, P, A), !N)
504
+ } else if (N = c(ee, 0, P, A), !N)
500
505
  continue;
501
506
  var M = N.index, U = N[0], H = P.slice(0, M), te = P.slice(M + U.length), Y = D + P.length;
502
507
  f && Y > f.reach && (f.reach = Y);
503
508
  var G = R.prev;
504
509
  H && (G = y(r, G, H), D += H.length), v(r, G, z);
505
- var me = new m(E, F ? c.tokenize(U, F) : U, T, U);
510
+ var me = new m(E, F ? u.tokenize(U, F) : U, T, U);
506
511
  if (R = y(r, G, me), te && y(r, R, te), z > 1) {
507
512
  var K = {
508
513
  cause: E + "," + x,
@@ -520,53 +525,53 @@ var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties,
520
525
  n.next = r, this.head = n, this.tail = r, this.length = 0;
521
526
  }
522
527
  function y(n, r, s) {
523
- var d = r.next, l = { value: s, prev: r, next: d };
524
- return r.next = l, d.prev = l, n.length++, l;
528
+ var p = r.next, i = { value: s, prev: r, next: p };
529
+ return r.next = i, p.prev = i, n.length++, i;
525
530
  }
526
531
  function v(n, r, s) {
527
- for (var d = r.next, l = 0; l < s && d !== n.tail; l++)
528
- d = d.next;
529
- r.next = d, d.prev = r, n.length -= l;
532
+ for (var p = r.next, i = 0; i < s && p !== n.tail; i++)
533
+ p = p.next;
534
+ r.next = p, p.prev = r, n.length -= i;
530
535
  }
531
- function k(n) {
536
+ function w(n) {
532
537
  for (var r = [], s = n.head.next; s !== n.tail; )
533
538
  r.push(s.value), s = s.next;
534
539
  return r;
535
540
  }
536
- return c;
541
+ return u;
537
542
  }();
538
543
  t.exports = a, a.default = a;
539
544
  }
540
545
  }), o = Oe(Ce());
541
546
  o.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy: !0 }, prolog: { pattern: /<\?[\s\S]+?\?>/, greedy: !0 }, doctype: { pattern: /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i, greedy: !0, inside: { "internal-subset": { pattern: /(^[^\[]*\[)[\s\S]+(?=\]>$)/, lookbehind: !0, greedy: !0, inside: null }, string: { pattern: /"[^"]*"|'[^']*'/, greedy: !0 }, punctuation: /^<!|>$|[[\]]/, "doctype-tag": /^DOCTYPE/i, name: /[^\s<>'"]+/ } }, cdata: { pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i, greedy: !0 }, tag: { pattern: /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/, greedy: !0, inside: { tag: { pattern: /^<\/?[^\s>\/]+/, inside: { punctuation: /^<\/?/, namespace: /^[^\s>\/:]+:/ } }, "special-attr": [], "attr-value": { pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/, inside: { punctuation: [{ pattern: /^=/, alias: "attr-equals" }, { pattern: /^(\s*)["']|["']$/, lookbehind: !0 }] } }, punctuation: /\/?>/, "attr-name": { pattern: /[^\s>\/]+/, inside: { namespace: /^[^\s>\/:]+:/ } } } }, entity: [{ pattern: /&[\da-z]{1,8};/i, alias: "named-entity" }, /&#x?[\da-f]{1,8};/i] }, o.languages.markup.tag.inside["attr-value"].inside.entity = o.languages.markup.entity, o.languages.markup.doctype.inside["internal-subset"].inside = o.languages.markup, o.hooks.add("wrap", function(e) {
542
547
  e.type === "entity" && (e.attributes.title = e.content.replace(/&amp;/, "&"));
543
- }), Object.defineProperty(o.languages.markup.tag, "addInlined", { value: function(e, i) {
544
- var a = {}, a = (a["language-" + i] = { pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i, lookbehind: !0, inside: o.languages[i] }, a.cdata = /^<!\[CDATA\[|\]\]>$/i, { "included-cdata": { pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i, inside: a } }), i = (a["language-" + i] = { pattern: /[\s\S]+/, inside: o.languages[i] }, {});
545
- i[e] = { pattern: RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g, function() {
548
+ }), Object.defineProperty(o.languages.markup.tag, "addInlined", { value: function(e, l) {
549
+ var a = {}, a = (a["language-" + l] = { pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i, lookbehind: !0, inside: o.languages[l] }, a.cdata = /^<!\[CDATA\[|\]\]>$/i, { "included-cdata": { pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i, inside: a } }), l = (a["language-" + l] = { pattern: /[\s\S]+/, inside: o.languages[l] }, {});
550
+ l[e] = { pattern: RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g, function() {
546
551
  return e;
547
- }), "i"), lookbehind: !0, greedy: !0, inside: a }, o.languages.insertBefore("markup", "cdata", i);
552
+ }), "i"), lookbehind: !0, greedy: !0, inside: a }, o.languages.insertBefore("markup", "cdata", l);
548
553
  } }), Object.defineProperty(o.languages.markup.tag, "addAttribute", { value: function(e, t) {
549
554
  o.languages.markup.tag.inside["special-attr"].push({ pattern: RegExp(/(^|["'\s])/.source + "(?:" + e + ")" + /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source, "i"), lookbehind: !0, inside: { "attr-name": /^[^\s=]+/, "attr-value": { pattern: /=[\s\S]+/, inside: { value: { pattern: /(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/, lookbehind: !0, alias: [t, "language-" + t], inside: o.languages[t] }, punctuation: [{ pattern: /^=/, alias: "attr-equals" }, /"|'/] } } } });
550
555
  } }), o.languages.html = o.languages.markup, o.languages.mathml = o.languages.markup, o.languages.svg = o.languages.markup, o.languages.xml = o.languages.extend("markup", {}), o.languages.ssml = o.languages.xml, o.languages.atom = o.languages.xml, o.languages.rss = o.languages.xml, function(e) {
551
- var t = { pattern: /\\[\\(){}[\]^$+*?|.]/, alias: "escape" }, a = /\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/, i = "(?:[^\\\\-]|" + a.source + ")", i = RegExp(i + "-" + i), p = { pattern: /(<|')[^<>']+(?=[>']$)/, lookbehind: !0, alias: "variable" };
552
- e.languages.regex = { "char-class": { pattern: /((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/, lookbehind: !0, inside: { "char-class-negation": { pattern: /(^\[)\^/, lookbehind: !0, alias: "operator" }, "char-class-punctuation": { pattern: /^\[|\]$/, alias: "punctuation" }, range: { pattern: i, inside: { escape: a, "range-punctuation": { pattern: /-/, alias: "operator" } } }, "special-escape": t, "char-set": { pattern: /\\[wsd]|\\p\{[^{}]+\}/i, alias: "class-name" }, escape: a } }, "special-escape": t, "char-set": { pattern: /\.|\\[wsd]|\\p\{[^{}]+\}/i, alias: "class-name" }, backreference: [{ pattern: /\\(?![123][0-7]{2})[1-9]/, alias: "keyword" }, { pattern: /\\k<[^<>']+>/, alias: "keyword", inside: { "group-name": p } }], anchor: { pattern: /[$^]|\\[ABbGZz]/, alias: "function" }, escape: a, group: [{ pattern: /\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/, alias: "punctuation", inside: { "group-name": p } }, { pattern: /\)/, alias: "punctuation" }], quantifier: { pattern: /(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/, alias: "number" }, alternation: { pattern: /\|/, alias: "keyword" } };
556
+ var t = { pattern: /\\[\\(){}[\]^$+*?|.]/, alias: "escape" }, a = /\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/, l = "(?:[^\\\\-]|" + a.source + ")", l = RegExp(l + "-" + l), d = { pattern: /(<|')[^<>']+(?=[>']$)/, lookbehind: !0, alias: "variable" };
557
+ e.languages.regex = { "char-class": { pattern: /((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/, lookbehind: !0, inside: { "char-class-negation": { pattern: /(^\[)\^/, lookbehind: !0, alias: "operator" }, "char-class-punctuation": { pattern: /^\[|\]$/, alias: "punctuation" }, range: { pattern: l, inside: { escape: a, "range-punctuation": { pattern: /-/, alias: "operator" } } }, "special-escape": t, "char-set": { pattern: /\\[wsd]|\\p\{[^{}]+\}/i, alias: "class-name" }, escape: a } }, "special-escape": t, "char-set": { pattern: /\.|\\[wsd]|\\p\{[^{}]+\}/i, alias: "class-name" }, backreference: [{ pattern: /\\(?![123][0-7]{2})[1-9]/, alias: "keyword" }, { pattern: /\\k<[^<>']+>/, alias: "keyword", inside: { "group-name": d } }], anchor: { pattern: /[$^]|\\[ABbGZz]/, alias: "function" }, escape: a, group: [{ pattern: /\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/, alias: "punctuation", inside: { "group-name": d } }, { pattern: /\)/, alias: "punctuation" }], quantifier: { pattern: /(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/, alias: "number" }, alternation: { pattern: /\|/, alias: "keyword" } };
553
558
  }(o), o.languages.clike = { comment: [{ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, lookbehind: !0, greedy: !0 }, { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }], string: { pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, "class-name": { pattern: /(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i, lookbehind: !0, inside: { punctuation: /[.\\]/ } }, keyword: /\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/, boolean: /\b(?:false|true)\b/, function: /\b\w+(?=\()/, number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i, operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/, punctuation: /[{}[\];(),.:]/ }, o.languages.javascript = o.languages.extend("clike", { "class-name": [o.languages.clike["class-name"], { pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/, lookbehind: !0 }], keyword: [{ pattern: /((?:^|\})\s*)catch\b/, lookbehind: !0 }, { pattern: /(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/, lookbehind: !0 }], function: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/, number: { pattern: RegExp(/(^|[^\w$])/.source + "(?:" + /NaN|Infinity/.source + "|" + /0[bB][01]+(?:_[01]+)*n?/.source + "|" + /0[oO][0-7]+(?:_[0-7]+)*n?/.source + "|" + /0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source + "|" + /\d+(?:_\d+)*n/.source + "|" + /(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source + ")" + /(?![\w$])/.source), lookbehind: !0 }, operator: /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/ }), o.languages.javascript["class-name"][0].pattern = /(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/, o.languages.insertBefore("javascript", "keyword", { regex: { pattern: RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source + /\//.source + "(?:" + /(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source + "|" + /(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source + ")" + /(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source), lookbehind: !0, greedy: !0, inside: { "regex-source": { pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/, lookbehind: !0, alias: "language-regex", inside: o.languages.regex }, "regex-delimiter": /^\/|\/$/, "regex-flags": /^[a-z]+$/ } }, "function-variable": { pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/, alias: "function" }, parameter: [{ pattern: /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/, lookbehind: !0, inside: o.languages.javascript }, { pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i, lookbehind: !0, inside: o.languages.javascript }, { pattern: /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/, lookbehind: !0, inside: o.languages.javascript }, { pattern: /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/, lookbehind: !0, inside: o.languages.javascript }], constant: /\b[A-Z](?:[A-Z_]|\dx?)*\b/ }), o.languages.insertBefore("javascript", "string", { hashbang: { pattern: /^#!.*/, greedy: !0, alias: "comment" }, "template-string": { pattern: /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/, greedy: !0, inside: { "template-punctuation": { pattern: /^`|`$/, alias: "string" }, interpolation: { pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/, lookbehind: !0, inside: { "interpolation-punctuation": { pattern: /^\$\{|\}$/, alias: "punctuation" }, rest: o.languages.javascript } }, string: /[\s\S]+/ } }, "string-property": { pattern: /((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m, lookbehind: !0, greedy: !0, alias: "property" } }), o.languages.insertBefore("javascript", "operator", { "literal-property": { pattern: /((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m, lookbehind: !0, alias: "property" } }), o.languages.markup && (o.languages.markup.tag.addInlined("script", "javascript"), o.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source, "javascript")), o.languages.js = o.languages.javascript, o.languages.actionscript = o.languages.extend("javascript", { keyword: /\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/, operator: /\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/ }), o.languages.actionscript["class-name"].alias = "function", delete o.languages.actionscript.parameter, delete o.languages.actionscript["literal-property"], o.languages.markup && o.languages.insertBefore("actionscript", "string", { xml: { pattern: /(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/, lookbehind: !0, inside: o.languages.markup } }), function(e) {
554
559
  var t = /#(?!\{).+/, a = { pattern: /#\{[^}]+\}/, alias: "variable" };
555
560
  e.languages.coffeescript = e.languages.extend("javascript", { comment: t, string: [{ pattern: /'(?:\\[\s\S]|[^\\'])*'/, greedy: !0 }, { pattern: /"(?:\\[\s\S]|[^\\"])*"/, greedy: !0, inside: { interpolation: a } }], keyword: /\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/, "class-member": { pattern: /@(?!\d)\w+/, alias: "variable" } }), e.languages.insertBefore("coffeescript", "comment", { "multiline-comment": { pattern: /###[\s\S]+?###/, alias: "comment" }, "block-regex": { pattern: /\/{3}[\s\S]*?\/{3}/, alias: "regex", inside: { comment: t, interpolation: a } } }), e.languages.insertBefore("coffeescript", "string", { "inline-javascript": { pattern: /`(?:\\[\s\S]|[^\\`])*`/, inside: { delimiter: { pattern: /^`|`$/, alias: "punctuation" }, script: { pattern: /[\s\S]+/, alias: "language-javascript", inside: e.languages.javascript } } }, "multiline-string": [{ pattern: /'''[\s\S]*?'''/, greedy: !0, alias: "string" }, { pattern: /"""[\s\S]*?"""/, greedy: !0, alias: "string", inside: { interpolation: a } }] }), e.languages.insertBefore("coffeescript", "keyword", { property: /(?!\d)\w+(?=\s*:(?!:))/ }), delete e.languages.coffeescript["template-string"], e.languages.coffee = e.languages.coffeescript;
556
561
  }(o), function(e) {
557
562
  var t = e.languages.javadoclike = { parameter: { pattern: /(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m, lookbehind: !0 }, keyword: { pattern: /(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m, lookbehind: !0 }, punctuation: /[{}]/ };
558
- Object.defineProperty(t, "addSupport", { value: function(a, i) {
559
- (a = typeof a == "string" ? [a] : a).forEach(function(p) {
563
+ Object.defineProperty(t, "addSupport", { value: function(a, l) {
564
+ (a = typeof a == "string" ? [a] : a).forEach(function(d) {
560
565
  var h = function(y) {
561
- y.inside || (y.inside = {}), y.inside.rest = i;
562
- }, c = "doc-comment";
563
- if (m = e.languages[p]) {
564
- var m, u = m[c];
565
- if ((u = u || (m = e.languages.insertBefore(p, "comment", { "doc-comment": { pattern: /(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/, lookbehind: !0, alias: "comment" } }))[c]) instanceof RegExp && (u = m[c] = { pattern: u }), Array.isArray(u))
566
- for (var g = 0, b = u.length; g < b; g++)
567
- u[g] instanceof RegExp && (u[g] = { pattern: u[g] }), h(u[g]);
566
+ y.inside || (y.inside = {}), y.inside.rest = l;
567
+ }, u = "doc-comment";
568
+ if (m = e.languages[d]) {
569
+ var m, c = m[u];
570
+ if ((c = c || (m = e.languages.insertBefore(d, "comment", { "doc-comment": { pattern: /(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/, lookbehind: !0, alias: "comment" } }))[u]) instanceof RegExp && (c = m[u] = { pattern: c }), Array.isArray(c))
571
+ for (var g = 0, b = c.length; g < b; g++)
572
+ c[g] instanceof RegExp && (c[g] = { pattern: c[g] }), h(c[g]);
568
573
  else
569
- h(u);
574
+ h(c);
570
575
  }
571
576
  });
572
577
  } }), t.addSupport(["java", "javascript", "php"], t);
@@ -577,25 +582,25 @@ o.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
577
582
  var t = /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, t = (e.languages.css.selector = { pattern: e.languages.css.selector.pattern, lookbehind: !0, inside: t = { "pseudo-element": /:(?:after|before|first-letter|first-line|selection)|::[-\w]+/, "pseudo-class": /:[-\w]+/, class: /\.[-\w]+/, id: /#[-\w]+/, attribute: { pattern: RegExp(`\\[(?:[^[\\]"']|` + t.source + ")*\\]"), greedy: !0, inside: { punctuation: /^\[|\]$/, "case-sensitivity": { pattern: /(\s)[si]$/i, lookbehind: !0, alias: "keyword" }, namespace: { pattern: /^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/, lookbehind: !0, inside: { punctuation: /\|$/ } }, "attr-name": { pattern: /^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/, lookbehind: !0 }, "attr-value": [t, { pattern: /(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/, lookbehind: !0 }], operator: /[|~*^$]?=/ } }, "n-th": [{ pattern: /(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/, lookbehind: !0, inside: { number: /[\dn]+/, operator: /[+-]/ } }, { pattern: /(\(\s*)(?:even|odd)(?=\s*\))/i, lookbehind: !0 }], combinator: />|\+|~|\|\|/, punctuation: /[(),]/ } }, e.languages.css.atrule.inside["selector-function-argument"].inside = t, e.languages.insertBefore("css", "property", { variable: { pattern: /(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i, lookbehind: !0 } }), { pattern: /(\b\d+)(?:%|[a-z]+(?![\w-]))/, lookbehind: !0 }), a = { pattern: /(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/, lookbehind: !0 };
578
583
  e.languages.insertBefore("css", "function", { operator: { pattern: /(\s)[+\-*\/](?=\s)/, lookbehind: !0 }, hexcode: { pattern: /\B#[\da-f]{3,8}\b/i, alias: "color" }, color: [{ pattern: /(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i, lookbehind: !0 }, { pattern: /\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i, inside: { unit: t, number: a, function: /[\w-]+(?=\()/, punctuation: /[(),]/ } }], entity: /\\[\da-f]{1,8}/i, unit: t, number: a });
579
584
  }(o), function(e) {
580
- var t = /[*&][^\s[\]{},]+/, a = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, i = "(?:" + a.source + "(?:[ ]+" + t.source + ")?|" + t.source + "(?:[ ]+" + a.source + ")?)", p = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g, function() {
585
+ var t = /[*&][^\s[\]{},]+/, a = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, l = "(?:" + a.source + "(?:[ ]+" + t.source + ")?|" + t.source + "(?:[ ]+" + a.source + ")?)", d = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g, function() {
581
586
  return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;
582
587
  }), h = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
583
- function c(m, u) {
584
- u = (u || "").replace(/m/g, "") + "m";
588
+ function u(m, c) {
589
+ c = (c || "").replace(/m/g, "") + "m";
585
590
  var g = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() {
586
- return i;
591
+ return l;
587
592
  }).replace(/<<value>>/g, function() {
588
593
  return m;
589
594
  });
590
- return RegExp(g, u);
595
+ return RegExp(g, c);
591
596
  }
592
597
  e.languages.yaml = { scalar: { pattern: RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g, function() {
593
- return i;
598
+ return l;
594
599
  })), lookbehind: !0, alias: "string" }, comment: /#.*/, key: { pattern: RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g, function() {
595
- return i;
600
+ return l;
596
601
  }).replace(/<<key>>/g, function() {
597
- return "(?:" + p + "|" + h + ")";
598
- })), lookbehind: !0, greedy: !0, alias: "atrule" }, directive: { pattern: /(^[ \t]*)%.+/m, lookbehind: !0, alias: "important" }, datetime: { pattern: c(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source), lookbehind: !0, alias: "number" }, boolean: { pattern: c(/false|true/.source, "i"), lookbehind: !0, alias: "important" }, null: { pattern: c(/null|~/.source, "i"), lookbehind: !0, alias: "important" }, string: { pattern: c(h), lookbehind: !0, greedy: !0 }, number: { pattern: c(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source, "i"), lookbehind: !0 }, tag: a, important: t, punctuation: /---|[:[\]{}\-,|>?]|\.\.\./ }, e.languages.yml = e.languages.yaml;
602
+ return "(?:" + d + "|" + h + ")";
603
+ })), lookbehind: !0, greedy: !0, alias: "atrule" }, directive: { pattern: /(^[ \t]*)%.+/m, lookbehind: !0, alias: "important" }, datetime: { pattern: u(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source), lookbehind: !0, alias: "number" }, boolean: { pattern: u(/false|true/.source, "i"), lookbehind: !0, alias: "important" }, null: { pattern: u(/null|~/.source, "i"), lookbehind: !0, alias: "important" }, string: { pattern: u(h), lookbehind: !0, greedy: !0 }, number: { pattern: u(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source, "i"), lookbehind: !0 }, tag: a, important: t, punctuation: /---|[:[\]{}\-,|>?]|\.\.\./ }, e.languages.yml = e.languages.yaml;
599
604
  }(o), function(e) {
600
605
  var t = /(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;
601
606
  function a(g) {
@@ -603,16 +608,16 @@ o.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
603
608
  return t;
604
609
  }), RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + "(?:" + g + ")");
605
610
  }
606
- var i = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source, p = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g, function() {
607
- return i;
608
- }), h = /\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source, c = (e.languages.markdown = e.languages.extend("markup", {}), e.languages.insertBefore("markdown", "prolog", { "front-matter-block": { pattern: /(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/, lookbehind: !0, greedy: !0, inside: { punctuation: /^---|---$/, "front-matter": { pattern: /\S+(?:\s+\S+)*/, alias: ["yaml", "language-yaml"], inside: e.languages.yaml } } }, blockquote: { pattern: /^>(?:[\t ]*>)*/m, alias: "punctuation" }, table: { pattern: RegExp("^" + p + h + "(?:" + p + ")*", "m"), inside: { "table-data-rows": { pattern: RegExp("^(" + p + h + ")(?:" + p + ")*$"), lookbehind: !0, inside: { "table-data": { pattern: RegExp(i), inside: e.languages.markdown }, punctuation: /\|/ } }, "table-line": { pattern: RegExp("^(" + p + ")" + h + "$"), lookbehind: !0, inside: { punctuation: /\||:?-{3,}:?/ } }, "table-header-row": { pattern: RegExp("^" + p + "$"), inside: { "table-header": { pattern: RegExp(i), alias: "important", inside: e.languages.markdown }, punctuation: /\|/ } } } }, code: [{ pattern: /((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/, lookbehind: !0, alias: "keyword" }, { pattern: /^```[\s\S]*?^```$/m, greedy: !0, inside: { "code-block": { pattern: /^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m, lookbehind: !0 }, "code-language": { pattern: /^(```).+/, lookbehind: !0 }, punctuation: /```/ } }], title: [{ pattern: /\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m, alias: "important", inside: { punctuation: /==+$|--+$/ } }, { pattern: /(^\s*)#.+/m, lookbehind: !0, alias: "important", inside: { punctuation: /^#+|#+$/ } }], hr: { pattern: /(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m, lookbehind: !0, alias: "punctuation" }, list: { pattern: /(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m, lookbehind: !0, alias: "punctuation" }, "url-reference": { pattern: /!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/, inside: { variable: { pattern: /^(!?\[)[^\]]+/, lookbehind: !0 }, string: /(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/, punctuation: /^[\[\]!:]|[<>]/ }, alias: "url" }, bold: { pattern: a(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source), lookbehind: !0, greedy: !0, inside: { content: { pattern: /(^..)[\s\S]+(?=..$)/, lookbehind: !0, inside: {} }, punctuation: /\*\*|__/ } }, italic: { pattern: a(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source), lookbehind: !0, greedy: !0, inside: { content: { pattern: /(^.)[\s\S]+(?=.$)/, lookbehind: !0, inside: {} }, punctuation: /[*_]/ } }, strike: { pattern: a(/(~~?)(?:(?!~)<inner>)+\2/.source), lookbehind: !0, greedy: !0, inside: { content: { pattern: /(^~~?)[\s\S]+(?=\1$)/, lookbehind: !0, inside: {} }, punctuation: /~~?/ } }, "code-snippet": { pattern: /(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/, lookbehind: !0, greedy: !0, alias: ["code", "keyword"] }, url: { pattern: a(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source), lookbehind: !0, greedy: !0, inside: { operator: /^!/, content: { pattern: /(^\[)[^\]]+(?=\])/, lookbehind: !0, inside: {} }, variable: { pattern: /(^\][ \t]?\[)[^\]]+(?=\]$)/, lookbehind: !0 }, url: { pattern: /(^\]\()[^\s)]+/, lookbehind: !0 }, string: { pattern: /(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/, lookbehind: !0 } } } }), ["url", "bold", "italic", "strike"].forEach(function(g) {
611
+ var l = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source, d = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g, function() {
612
+ return l;
613
+ }), h = /\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source, u = (e.languages.markdown = e.languages.extend("markup", {}), e.languages.insertBefore("markdown", "prolog", { "front-matter-block": { pattern: /(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/, lookbehind: !0, greedy: !0, inside: { punctuation: /^---|---$/, "front-matter": { pattern: /\S+(?:\s+\S+)*/, alias: ["yaml", "language-yaml"], inside: e.languages.yaml } } }, blockquote: { pattern: /^>(?:[\t ]*>)*/m, alias: "punctuation" }, table: { pattern: RegExp("^" + d + h + "(?:" + d + ")*", "m"), inside: { "table-data-rows": { pattern: RegExp("^(" + d + h + ")(?:" + d + ")*$"), lookbehind: !0, inside: { "table-data": { pattern: RegExp(l), inside: e.languages.markdown }, punctuation: /\|/ } }, "table-line": { pattern: RegExp("^(" + d + ")" + h + "$"), lookbehind: !0, inside: { punctuation: /\||:?-{3,}:?/ } }, "table-header-row": { pattern: RegExp("^" + d + "$"), inside: { "table-header": { pattern: RegExp(l), alias: "important", inside: e.languages.markdown }, punctuation: /\|/ } } } }, code: [{ pattern: /((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/, lookbehind: !0, alias: "keyword" }, { pattern: /^```[\s\S]*?^```$/m, greedy: !0, inside: { "code-block": { pattern: /^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m, lookbehind: !0 }, "code-language": { pattern: /^(```).+/, lookbehind: !0 }, punctuation: /```/ } }], title: [{ pattern: /\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m, alias: "important", inside: { punctuation: /==+$|--+$/ } }, { pattern: /(^\s*)#.+/m, lookbehind: !0, alias: "important", inside: { punctuation: /^#+|#+$/ } }], hr: { pattern: /(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m, lookbehind: !0, alias: "punctuation" }, list: { pattern: /(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m, lookbehind: !0, alias: "punctuation" }, "url-reference": { pattern: /!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/, inside: { variable: { pattern: /^(!?\[)[^\]]+/, lookbehind: !0 }, string: /(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/, punctuation: /^[\[\]!:]|[<>]/ }, alias: "url" }, bold: { pattern: a(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source), lookbehind: !0, greedy: !0, inside: { content: { pattern: /(^..)[\s\S]+(?=..$)/, lookbehind: !0, inside: {} }, punctuation: /\*\*|__/ } }, italic: { pattern: a(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source), lookbehind: !0, greedy: !0, inside: { content: { pattern: /(^.)[\s\S]+(?=.$)/, lookbehind: !0, inside: {} }, punctuation: /[*_]/ } }, strike: { pattern: a(/(~~?)(?:(?!~)<inner>)+\2/.source), lookbehind: !0, greedy: !0, inside: { content: { pattern: /(^~~?)[\s\S]+(?=\1$)/, lookbehind: !0, inside: {} }, punctuation: /~~?/ } }, "code-snippet": { pattern: /(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/, lookbehind: !0, greedy: !0, alias: ["code", "keyword"] }, url: { pattern: a(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source), lookbehind: !0, greedy: !0, inside: { operator: /^!/, content: { pattern: /(^\[)[^\]]+(?=\])/, lookbehind: !0, inside: {} }, variable: { pattern: /(^\][ \t]?\[)[^\]]+(?=\]$)/, lookbehind: !0 }, url: { pattern: /(^\]\()[^\s)]+/, lookbehind: !0 }, string: { pattern: /(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/, lookbehind: !0 } } } }), ["url", "bold", "italic", "strike"].forEach(function(g) {
609
614
  ["url", "bold", "italic", "strike", "code-snippet"].forEach(function(b) {
610
615
  g !== b && (e.languages.markdown[g].inside.content.inside[b] = e.languages.markdown[b]);
611
616
  });
612
617
  }), e.hooks.add("after-tokenize", function(g) {
613
618
  g.language !== "markdown" && g.language !== "md" || function b(y) {
614
619
  if (y && typeof y != "string")
615
- for (var v = 0, k = y.length; v < k; v++) {
620
+ for (var v = 0, w = y.length; v < w; v++) {
616
621
  var n, r = y[v];
617
622
  r.type !== "code" ? b(r.content) : (n = r.content[1], r = r.content[3], n && r && n.type === "code-language" && r.type === "code-block" && typeof n.content == "string" && (n = n.content.replace(/\b#/g, "sharp").replace(/\b\+\+/g, "pp"), n = "language-" + (n = (/[a-z][\w-]*/i.exec(n) || [""])[0].toLowerCase()), r.alias ? typeof r.alias == "string" ? r.alias = [r.alias, n] : r.alias.push(n) : r.alias = [n]));
618
623
  }
@@ -620,50 +625,50 @@ o.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
620
625
  }), e.hooks.add("wrap", function(g) {
621
626
  if (g.type === "code-block") {
622
627
  for (var b = "", y = 0, v = g.classes.length; y < v; y++) {
623
- var k = g.classes[y], k = /language-(.+)/.exec(k);
624
- if (k) {
625
- b = k[1];
628
+ var w = g.classes[y], w = /language-(.+)/.exec(w);
629
+ if (w) {
630
+ b = w[1];
626
631
  break;
627
632
  }
628
633
  }
629
634
  var n, r = e.languages[b];
630
635
  r ? g.content = e.highlight(function(s) {
631
- return s = s.replace(c, ""), s = s.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(d, l) {
636
+ return s = s.replace(u, ""), s = s.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(p, i) {
632
637
  var f;
633
- return (l = l.toLowerCase())[0] === "#" ? (f = l[1] === "x" ? parseInt(l.slice(2), 16) : Number(l.slice(1)), u(f)) : m[l] || d;
638
+ return (i = i.toLowerCase())[0] === "#" ? (f = i[1] === "x" ? parseInt(i.slice(2), 16) : Number(i.slice(1)), c(f)) : m[i] || p;
634
639
  });
635
640
  }(g.content), r, b) : b && b !== "none" && e.plugins.autoloader && (n = "md-" + (/* @__PURE__ */ new Date()).valueOf() + "-" + Math.floor(1e16 * Math.random()), g.attributes.id = n, e.plugins.autoloader.loadLanguages(b, function() {
636
641
  var s = document.getElementById(n);
637
642
  s && (s.innerHTML = e.highlight(s.textContent, e.languages[b], b));
638
643
  }));
639
644
  }
640
- }), RegExp(e.languages.markup.tag.pattern.source, "gi")), m = { amp: "&", lt: "<", gt: ">", quot: '"' }, u = String.fromCodePoint || String.fromCharCode;
645
+ }), RegExp(e.languages.markup.tag.pattern.source, "gi")), m = { amp: "&", lt: "<", gt: ">", quot: '"' }, c = String.fromCodePoint || String.fromCharCode;
641
646
  e.languages.md = e.languages.markdown;
642
647
  }(o), o.languages.graphql = { comment: /#.*/, description: { pattern: /(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i, greedy: !0, alias: "string", inside: { "language-markdown": { pattern: /(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/, lookbehind: !0, inside: o.languages.markdown } } }, string: { pattern: /"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/, greedy: !0 }, number: /(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i, boolean: /\b(?:false|true)\b/, variable: /\$[a-z_]\w*/i, directive: { pattern: /@[a-z_]\w*/i, alias: "function" }, "attr-name": { pattern: /\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i, greedy: !0 }, "atom-input": { pattern: /\b[A-Z]\w*Input\b/, alias: "class-name" }, scalar: /\b(?:Boolean|Float|ID|Int|String)\b/, constant: /\b[A-Z][A-Z_\d]*\b/, "class-name": { pattern: /(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/, lookbehind: !0 }, fragment: { pattern: /(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/, lookbehind: !0, alias: "function" }, "definition-mutation": { pattern: /(\bmutation\s+)[a-zA-Z_]\w*/, lookbehind: !0, alias: "function" }, "definition-query": { pattern: /(\bquery\s+)[a-zA-Z_]\w*/, lookbehind: !0, alias: "function" }, keyword: /\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/, operator: /[!=|&]|\.{3}/, "property-query": /\w+(?=\s*\()/, object: /\w+(?=\s*\{)/, punctuation: /[!(){}\[\]:=,]/, property: /\w+/ }, o.hooks.add("after-tokenize", function(e) {
643
648
  if (e.language === "graphql")
644
649
  for (var t = e.tokens.filter(function(n) {
645
650
  return typeof n != "string" && n.type !== "comment" && n.type !== "scalar";
646
651
  }), a = 0; a < t.length; ) {
647
- var i = t[a++];
648
- if (i.type === "keyword" && i.content === "mutation") {
649
- var p = [];
652
+ var l = t[a++];
653
+ if (l.type === "keyword" && l.content === "mutation") {
654
+ var d = [];
650
655
  if (y(["definition-mutation", "punctuation"]) && b(1).content === "(") {
651
656
  a += 2;
652
657
  var h = v(/^\($/, /^\)$/);
653
658
  if (h === -1)
654
659
  continue;
655
660
  for (; a < h; a++) {
656
- var c = b(0);
657
- c.type === "variable" && (k(c, "variable-input"), p.push(c.content));
661
+ var u = b(0);
662
+ u.type === "variable" && (w(u, "variable-input"), d.push(u.content));
658
663
  }
659
664
  a = h + 1;
660
665
  }
661
- if (y(["punctuation", "property-query"]) && b(0).content === "{" && (a++, k(b(0), "property-mutation"), 0 < p.length)) {
666
+ if (y(["punctuation", "property-query"]) && b(0).content === "{" && (a++, w(b(0), "property-mutation"), 0 < d.length)) {
662
667
  var m = v(/^\{$/, /^\}$/);
663
668
  if (m !== -1)
664
- for (var u = a; u < m; u++) {
665
- var g = t[u];
666
- g.type === "variable" && 0 <= p.indexOf(g.content) && k(g, "variable-input");
669
+ for (var c = a; c < m; c++) {
670
+ var g = t[c];
671
+ g.type === "variable" && 0 <= d.indexOf(g.content) && w(g, "variable-input");
667
672
  }
668
673
  }
669
674
  }
@@ -674,64 +679,64 @@ o.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
674
679
  function y(n, r) {
675
680
  r = r || 0;
676
681
  for (var s = 0; s < n.length; s++) {
677
- var d = b(s + r);
678
- if (!d || d.type !== n[s])
682
+ var p = b(s + r);
683
+ if (!p || p.type !== n[s])
679
684
  return;
680
685
  }
681
686
  return 1;
682
687
  }
683
688
  function v(n, r) {
684
- for (var s = 1, d = a; d < t.length; d++) {
685
- var l = t[d], f = l.content;
686
- if (l.type === "punctuation" && typeof f == "string") {
689
+ for (var s = 1, p = a; p < t.length; p++) {
690
+ var i = t[p], f = i.content;
691
+ if (i.type === "punctuation" && typeof f == "string") {
687
692
  if (n.test(f))
688
693
  s++;
689
694
  else if (r.test(f) && --s === 0)
690
- return d;
695
+ return p;
691
696
  }
692
697
  }
693
698
  return -1;
694
699
  }
695
- function k(n, r) {
700
+ function w(n, r) {
696
701
  var s = n.alias;
697
702
  s ? Array.isArray(s) || (n.alias = s = [s]) : n.alias = s = [], s.push(r);
698
703
  }
699
704
  }), o.languages.sql = { comment: { pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/, lookbehind: !0 }, variable: [{ pattern: /@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/, greedy: !0 }, /@[\w.$]+/], string: { pattern: /(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/, greedy: !0, lookbehind: !0 }, identifier: { pattern: /(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/, greedy: !0, lookbehind: !0, inside: { punctuation: /^`|`$/ } }, function: /\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i, keyword: /\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i, boolean: /\b(?:FALSE|NULL|TRUE)\b/i, number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i, operator: /[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i, punctuation: /[;[\]()`,.]/ }, function(e) {
700
- var t = e.languages.javascript["template-string"], a = t.pattern.source, i = t.inside.interpolation, p = i.inside["interpolation-punctuation"], h = i.pattern.source;
701
- function c(y, v) {
705
+ var t = e.languages.javascript["template-string"], a = t.pattern.source, l = t.inside.interpolation, d = l.inside["interpolation-punctuation"], h = l.pattern.source;
706
+ function u(y, v) {
702
707
  if (e.languages[y])
703
708
  return { pattern: RegExp("((?:" + v + ")\\s*)" + a), lookbehind: !0, greedy: !0, inside: { "template-punctuation": { pattern: /^`|`$/, alias: "string" }, "embedded-code": { pattern: /[\s\S]+/, alias: y } } };
704
709
  }
705
- function m(y, v, k) {
706
- return y = { code: y, grammar: v, language: k }, e.hooks.run("before-tokenize", y), y.tokens = e.tokenize(y.code, y.grammar), e.hooks.run("after-tokenize", y), y.tokens;
710
+ function m(y, v, w) {
711
+ return y = { code: y, grammar: v, language: w }, e.hooks.run("before-tokenize", y), y.tokens = e.tokenize(y.code, y.grammar), e.hooks.run("after-tokenize", y), y.tokens;
707
712
  }
708
- function u(y, v, k) {
709
- var s = e.tokenize(y, { interpolation: { pattern: RegExp(h), lookbehind: !0 } }), n = 0, r = {}, s = m(s.map(function(l) {
710
- if (typeof l == "string")
711
- return l;
712
- for (var f, E, l = l.content; y.indexOf((E = n++, f = "___" + k.toUpperCase() + "_" + E + "___")) !== -1; )
713
+ function c(y, v, w) {
714
+ var s = e.tokenize(y, { interpolation: { pattern: RegExp(h), lookbehind: !0 } }), n = 0, r = {}, s = m(s.map(function(i) {
715
+ if (typeof i == "string")
716
+ return i;
717
+ for (var f, E, i = i.content; y.indexOf((E = n++, f = "___" + w.toUpperCase() + "_" + E + "___")) !== -1; )
713
718
  ;
714
- return r[f] = l, f;
715
- }).join(""), v, k), d = Object.keys(r);
716
- return n = 0, function l(f) {
719
+ return r[f] = i, f;
720
+ }).join(""), v, w), p = Object.keys(r);
721
+ return n = 0, function i(f) {
717
722
  for (var E = 0; E < f.length; E++) {
718
- if (n >= d.length)
723
+ if (n >= p.length)
719
724
  return;
720
- var w, x, S, F, A, C, T, O = f[E];
721
- typeof O == "string" || typeof O.content == "string" ? (w = d[n], (T = (C = typeof O == "string" ? O : O.content).indexOf(w)) !== -1 && (++n, x = C.substring(0, T), A = r[w], S = void 0, (F = {})["interpolation-punctuation"] = p, (F = e.tokenize(A, F)).length === 3 && ((S = [1, 1]).push.apply(S, m(F[1], e.languages.javascript, "javascript")), F.splice.apply(F, S)), S = new e.Token("interpolation", F, i.alias, A), F = C.substring(T + w.length), A = [], x && A.push(x), A.push(S), F && (l(C = [F]), A.push.apply(A, C)), typeof O == "string" ? (f.splice.apply(f, [E, 1].concat(A)), E += A.length - 1) : O.content = A)) : (T = O.content, Array.isArray(T) ? l(T) : l([T]));
725
+ var k, x, S, F, A, C, T, O = f[E];
726
+ typeof O == "string" || typeof O.content == "string" ? (k = p[n], (T = (C = typeof O == "string" ? O : O.content).indexOf(k)) !== -1 && (++n, x = C.substring(0, T), A = r[k], S = void 0, (F = {})["interpolation-punctuation"] = d, (F = e.tokenize(A, F)).length === 3 && ((S = [1, 1]).push.apply(S, m(F[1], e.languages.javascript, "javascript")), F.splice.apply(F, S)), S = new e.Token("interpolation", F, l.alias, A), F = C.substring(T + k.length), A = [], x && A.push(x), A.push(S), F && (i(C = [F]), A.push.apply(A, C)), typeof O == "string" ? (f.splice.apply(f, [E, 1].concat(A)), E += A.length - 1) : O.content = A)) : (T = O.content, Array.isArray(T) ? i(T) : i([T]));
722
727
  }
723
- }(s), new e.Token(k, s, "language-" + k, y);
728
+ }(s), new e.Token(w, s, "language-" + w, y);
724
729
  }
725
- e.languages.javascript["template-string"] = [c("css", /\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source), c("html", /\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source), c("svg", /\bsvg/.source), c("markdown", /\b(?:markdown|md)/.source), c("graphql", /\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source), c("sql", /\bsql/.source), t].filter(Boolean);
730
+ e.languages.javascript["template-string"] = [u("css", /\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source), u("html", /\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source), u("svg", /\bsvg/.source), u("markdown", /\b(?:markdown|md)/.source), u("graphql", /\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source), u("sql", /\bsql/.source), t].filter(Boolean);
726
731
  var g = { javascript: !0, js: !0, typescript: !0, ts: !0, jsx: !0, tsx: !0 };
727
732
  function b(y) {
728
733
  return typeof y == "string" ? y : Array.isArray(y) ? y.map(b).join("") : b(y.content);
729
734
  }
730
735
  e.hooks.add("after-tokenize", function(y) {
731
- y.language in g && function v(k) {
732
- for (var n = 0, r = k.length; n < r; n++) {
733
- var s, d, l, f = k[n];
734
- typeof f != "string" && (s = f.content, Array.isArray(s) ? f.type === "template-string" ? (f = s[1], s.length === 3 && typeof f != "string" && f.type === "embedded-code" && (d = b(f), f = f.alias, f = Array.isArray(f) ? f[0] : f, l = e.languages[f]) && (s[1] = u(d, l, f))) : v(s) : typeof s != "string" && v([s]));
736
+ y.language in g && function v(w) {
737
+ for (var n = 0, r = w.length; n < r; n++) {
738
+ var s, p, i, f = w[n];
739
+ typeof f != "string" && (s = f.content, Array.isArray(s) ? f.type === "template-string" ? (f = s[1], s.length === 3 && typeof f != "string" && f.type === "embedded-code" && (p = b(f), f = f.alias, f = Array.isArray(f) ? f[0] : f, i = e.languages[f]) && (s[1] = c(p, i, f))) : v(s) : typeof s != "string" && v([s]));
735
740
  }
736
741
  }(y.tokens);
737
742
  });
@@ -740,46 +745,46 @@ o.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
740
745
  var t = e.languages.extend("typescript", {});
741
746
  delete t["class-name"], e.languages.typescript["class-name"].inside = t, e.languages.insertBefore("typescript", "function", { decorator: { pattern: /@[$\w\xA0-\uFFFF]+/, inside: { at: { pattern: /^@/, alias: "operator" }, function: /^[\s\S]+/ } }, "generic-function": { pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/, greedy: !0, inside: { function: /^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/, generic: { pattern: /<[\s\S]+/, alias: "class-name", inside: t } } } }), e.languages.ts = e.languages.typescript;
742
747
  }(o), function(e) {
743
- var t = e.languages.javascript, a = /\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source, i = "(@(?:arg|argument|param|property)\\s+(?:" + a + "\\s+)?)";
744
- e.languages.jsdoc = e.languages.extend("javadoclike", { parameter: { pattern: RegExp(i + /(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source), lookbehind: !0, inside: { punctuation: /\./ } } }), e.languages.insertBefore("jsdoc", "keyword", { "optional-parameter": { pattern: RegExp(i + /\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source), lookbehind: !0, inside: { parameter: { pattern: /(^\[)[$\w\xA0-\uFFFF\.]+/, lookbehind: !0, inside: { punctuation: /\./ } }, code: { pattern: /(=)[\s\S]*(?=\]$)/, lookbehind: !0, inside: t, alias: "language-javascript" }, punctuation: /[=[\]]/ } }, "class-name": [{ pattern: RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g, function() {
748
+ var t = e.languages.javascript, a = /\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source, l = "(@(?:arg|argument|param|property)\\s+(?:" + a + "\\s+)?)";
749
+ e.languages.jsdoc = e.languages.extend("javadoclike", { parameter: { pattern: RegExp(l + /(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source), lookbehind: !0, inside: { punctuation: /\./ } } }), e.languages.insertBefore("jsdoc", "keyword", { "optional-parameter": { pattern: RegExp(l + /\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source), lookbehind: !0, inside: { parameter: { pattern: /(^\[)[$\w\xA0-\uFFFF\.]+/, lookbehind: !0, inside: { punctuation: /\./ } }, code: { pattern: /(=)[\s\S]*(?=\]$)/, lookbehind: !0, inside: t, alias: "language-javascript" }, punctuation: /[=[\]]/ } }, "class-name": [{ pattern: RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g, function() {
745
750
  return a;
746
751
  })), lookbehind: !0, inside: { punctuation: /\./ } }, { pattern: RegExp("(@[a-z]+\\s+)" + a), lookbehind: !0, inside: { string: t.string, number: t.number, boolean: t.boolean, keyword: e.languages.typescript.keyword, operator: /=>|\.\.\.|[&|?:*]/, punctuation: /[.,;=<>{}()[\]]/ } }], example: { pattern: /(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/, lookbehind: !0, inside: { code: { pattern: /^([\t ]*(?:\*\s*)?)\S.*$/m, lookbehind: !0, inside: t, alias: "language-javascript" } } } }), e.languages.javadoclike.addSupport("javascript", e.languages.jsdoc);
747
752
  }(o), function(e) {
748
753
  e.languages.flow = e.languages.extend("javascript", {}), e.languages.insertBefore("flow", "keyword", { type: [{ pattern: /\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/, alias: "class-name" }] }), e.languages.flow["function-variable"].pattern = /(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i, delete e.languages.flow.parameter, e.languages.insertBefore("flow", "operator", { "flow-punctuation": { pattern: /\{\||\|\}/, alias: "punctuation" } }), Array.isArray(e.languages.flow.keyword) || (e.languages.flow.keyword = [e.languages.flow.keyword]), e.languages.flow.keyword.unshift({ pattern: /(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/, lookbehind: !0 }, { pattern: /(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/, lookbehind: !0 });
749
754
  }(o), o.languages.n4js = o.languages.extend("javascript", { keyword: /\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/ }), o.languages.insertBefore("n4js", "constant", { annotation: { pattern: /@+\w+/, alias: "operator" } }), o.languages.n4jsd = o.languages.n4js, function(e) {
750
- function t(c, m) {
751
- return RegExp(c.replace(/<ID>/g, function() {
755
+ function t(u, m) {
756
+ return RegExp(u.replace(/<ID>/g, function() {
752
757
  return /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source;
753
758
  }), m);
754
759
  }
755
760
  e.languages.insertBefore("javascript", "function-variable", { "method-variable": { pattern: RegExp("(\\.\\s*)" + e.languages.javascript["function-variable"].pattern.source), lookbehind: !0, alias: ["function-variable", "method", "function", "property-access"] } }), e.languages.insertBefore("javascript", "function", { method: { pattern: RegExp("(\\.\\s*)" + e.languages.javascript.function.source), lookbehind: !0, alias: ["function", "property-access"] } }), e.languages.insertBefore("javascript", "constant", { "known-class-name": [{ pattern: /\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/, alias: "class-name" }, { pattern: /\b(?:[A-Z]\w*)Error\b/, alias: "class-name" }] }), e.languages.insertBefore("javascript", "keyword", { imports: { pattern: t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source), lookbehind: !0, inside: e.languages.javascript }, exports: { pattern: t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source), lookbehind: !0, inside: e.languages.javascript } }), e.languages.javascript.keyword.unshift({ pattern: /\b(?:as|default|export|from|import)\b/, alias: "module" }, { pattern: /\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/, alias: "control-flow" }, { pattern: /\bnull\b/, alias: ["null", "nil"] }, { pattern: /\bundefined\b/, alias: "nil" }), e.languages.insertBefore("javascript", "operator", { spread: { pattern: /\.{3}/, alias: "operator" }, arrow: { pattern: /=>/, alias: "operator" } }), e.languages.insertBefore("javascript", "punctuation", { "property-access": { pattern: t(/(\.\s*)#?<ID>/.source), lookbehind: !0 }, "maybe-class-name": { pattern: /(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/, lookbehind: !0 }, dom: { pattern: /\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/, alias: "variable" }, console: { pattern: /\bconsole(?=\s*\.)/, alias: "class-name" } });
756
- for (var a = ["function", "function-variable", "method", "method-variable", "property-access"], i = 0; i < a.length; i++) {
757
- var h = a[i], p = e.languages.javascript[h], h = (p = e.util.type(p) === "RegExp" ? e.languages.javascript[h] = { pattern: p } : p).inside || {};
758
- (p.inside = h)["maybe-class-name"] = /^[A-Z][\s\S]*/;
761
+ for (var a = ["function", "function-variable", "method", "method-variable", "property-access"], l = 0; l < a.length; l++) {
762
+ var h = a[l], d = e.languages.javascript[h], h = (d = e.util.type(d) === "RegExp" ? e.languages.javascript[h] = { pattern: d } : d).inside || {};
763
+ (d.inside = h)["maybe-class-name"] = /^[A-Z][\s\S]*/;
759
764
  }
760
765
  }(o), function(e) {
761
- var t = e.util.clone(e.languages.javascript), a = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, i = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, p = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
762
- function h(u, g) {
763
- return u = u.replace(/<S>/g, function() {
766
+ var t = e.util.clone(e.languages.javascript), a = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, l = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, d = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
767
+ function h(c, g) {
768
+ return c = c.replace(/<S>/g, function() {
764
769
  return a;
765
770
  }).replace(/<BRACES>/g, function() {
766
- return i;
771
+ return l;
767
772
  }).replace(/<SPREAD>/g, function() {
768
- return p;
769
- }), RegExp(u, g);
773
+ return d;
774
+ }), RegExp(c, g);
770
775
  }
771
- p = h(p).source, e.languages.jsx = e.languages.extend("markup", t), e.languages.jsx.tag.pattern = h(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source), e.languages.jsx.tag.inside.tag.pattern = /^<\/?[^\s>\/]*/, e.languages.jsx.tag.inside["attr-value"].pattern = /=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/, e.languages.jsx.tag.inside.tag.inside["class-name"] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/, e.languages.jsx.tag.inside.comment = t.comment, e.languages.insertBefore("inside", "attr-name", { spread: { pattern: h(/<SPREAD>/.source), inside: e.languages.jsx } }, e.languages.jsx.tag), e.languages.insertBefore("inside", "special-attr", { script: { pattern: h(/=<BRACES>/.source), alias: "language-javascript", inside: { "script-punctuation": { pattern: /^=(?=\{)/, alias: "punctuation" }, rest: e.languages.jsx } } }, e.languages.jsx.tag);
772
- function c(u) {
773
- for (var g = [], b = 0; b < u.length; b++) {
774
- var y = u[b], v = !1;
775
- typeof y != "string" && (y.type === "tag" && y.content[0] && y.content[0].type === "tag" ? y.content[0].content[0].content === "</" ? 0 < g.length && g[g.length - 1].tagName === m(y.content[0].content[1]) && g.pop() : y.content[y.content.length - 1].content !== "/>" && g.push({ tagName: m(y.content[0].content[1]), openedBraces: 0 }) : 0 < g.length && y.type === "punctuation" && y.content === "{" ? g[g.length - 1].openedBraces++ : 0 < g.length && 0 < g[g.length - 1].openedBraces && y.type === "punctuation" && y.content === "}" ? g[g.length - 1].openedBraces-- : v = !0), (v || typeof y == "string") && 0 < g.length && g[g.length - 1].openedBraces === 0 && (v = m(y), b < u.length - 1 && (typeof u[b + 1] == "string" || u[b + 1].type === "plain-text") && (v += m(u[b + 1]), u.splice(b + 1, 1)), 0 < b && (typeof u[b - 1] == "string" || u[b - 1].type === "plain-text") && (v = m(u[b - 1]) + v, u.splice(b - 1, 1), b--), u[b] = new e.Token("plain-text", v, null, v)), y.content && typeof y.content != "string" && c(y.content);
776
+ d = h(d).source, e.languages.jsx = e.languages.extend("markup", t), e.languages.jsx.tag.pattern = h(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source), e.languages.jsx.tag.inside.tag.pattern = /^<\/?[^\s>\/]*/, e.languages.jsx.tag.inside["attr-value"].pattern = /=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/, e.languages.jsx.tag.inside.tag.inside["class-name"] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/, e.languages.jsx.tag.inside.comment = t.comment, e.languages.insertBefore("inside", "attr-name", { spread: { pattern: h(/<SPREAD>/.source), inside: e.languages.jsx } }, e.languages.jsx.tag), e.languages.insertBefore("inside", "special-attr", { script: { pattern: h(/=<BRACES>/.source), alias: "language-javascript", inside: { "script-punctuation": { pattern: /^=(?=\{)/, alias: "punctuation" }, rest: e.languages.jsx } } }, e.languages.jsx.tag);
777
+ function u(c) {
778
+ for (var g = [], b = 0; b < c.length; b++) {
779
+ var y = c[b], v = !1;
780
+ typeof y != "string" && (y.type === "tag" && y.content[0] && y.content[0].type === "tag" ? y.content[0].content[0].content === "</" ? 0 < g.length && g[g.length - 1].tagName === m(y.content[0].content[1]) && g.pop() : y.content[y.content.length - 1].content !== "/>" && g.push({ tagName: m(y.content[0].content[1]), openedBraces: 0 }) : 0 < g.length && y.type === "punctuation" && y.content === "{" ? g[g.length - 1].openedBraces++ : 0 < g.length && 0 < g[g.length - 1].openedBraces && y.type === "punctuation" && y.content === "}" ? g[g.length - 1].openedBraces-- : v = !0), (v || typeof y == "string") && 0 < g.length && g[g.length - 1].openedBraces === 0 && (v = m(y), b < c.length - 1 && (typeof c[b + 1] == "string" || c[b + 1].type === "plain-text") && (v += m(c[b + 1]), c.splice(b + 1, 1)), 0 < b && (typeof c[b - 1] == "string" || c[b - 1].type === "plain-text") && (v = m(c[b - 1]) + v, c.splice(b - 1, 1), b--), c[b] = new e.Token("plain-text", v, null, v)), y.content && typeof y.content != "string" && u(y.content);
776
781
  }
777
782
  }
778
- var m = function(u) {
779
- return u ? typeof u == "string" ? u : typeof u.content == "string" ? u.content : u.content.map(m).join("") : "";
783
+ var m = function(c) {
784
+ return c ? typeof c == "string" ? c : typeof c.content == "string" ? c.content : c.content.map(m).join("") : "";
780
785
  };
781
- e.hooks.add("after-tokenize", function(u) {
782
- u.language !== "jsx" && u.language !== "tsx" || c(u.tokens);
786
+ e.hooks.add("after-tokenize", function(c) {
787
+ c.language !== "jsx" && c.language !== "tsx" || u(c.tokens);
783
788
  });
784
789
  }(o), function(e) {
785
790
  var t = e.util.clone(e.languages.typescript), t = (e.languages.tsx = e.languages.extend("jsx", t), delete e.languages.tsx.parameter, delete e.languages.tsx["literal-property"], e.languages.tsx.tag);
@@ -2656,26 +2661,26 @@ var Ne = {
2656
2661
  ]
2657
2662
  }, ht = mt, vt = (e) => V(
2658
2663
  (t) => {
2659
- var a = t, { className: i, style: p, line: h } = a, c = ge(a, ["className", "style", "line"]);
2660
- const m = q(B({}, c), {
2661
- className: ce("token-line", i)
2664
+ var a = t, { className: l, style: d, line: h } = a, u = ge(a, ["className", "style", "line"]);
2665
+ const m = q(B({}, u), {
2666
+ className: ce("token-line", l)
2662
2667
  });
2663
- return typeof e == "object" && "plain" in e && (m.style = e.plain), typeof p == "object" && (m.style = B(B({}, m.style || {}), p)), m;
2668
+ return typeof e == "object" && "plain" in e && (m.style = e.plain), typeof d == "object" && (m.style = B(B({}, m.style || {}), d)), m;
2664
2669
  },
2665
2670
  [e]
2666
2671
  ), kt = (e) => {
2667
2672
  const t = V(
2668
- ({ types: a, empty: i }) => {
2673
+ ({ types: a, empty: l }) => {
2669
2674
  if (e != null) {
2670
2675
  {
2671
2676
  if (a.length === 1 && a[0] === "plain")
2672
- return i != null ? { display: "inline-block" } : void 0;
2673
- if (a.length === 1 && i != null)
2677
+ return l != null ? { display: "inline-block" } : void 0;
2678
+ if (a.length === 1 && l != null)
2674
2679
  return e[a[0]];
2675
2680
  }
2676
2681
  return Object.assign(
2677
- i != null ? { display: "inline-block" } : {},
2678
- ...a.map((p) => e[p])
2682
+ l != null ? { display: "inline-block" } : {},
2683
+ ...a.map((d) => e[d])
2679
2684
  );
2680
2685
  }
2681
2686
  },
@@ -2683,13 +2688,13 @@ var Ne = {
2683
2688
  );
2684
2689
  return V(
2685
2690
  (a) => {
2686
- var i = a, { token: p, className: h, style: c } = i, m = ge(i, ["token", "className", "style"]);
2687
- const u = q(B({}, m), {
2688
- className: ce("token", ...p.types, h),
2689
- children: p.content,
2690
- style: t(p)
2691
+ var l = a, { token: d, className: h, style: u } = l, m = ge(l, ["token", "className", "style"]);
2692
+ const c = q(B({}, m), {
2693
+ className: ce("token", ...d.types, h),
2694
+ children: d.content,
2695
+ style: t(d)
2691
2696
  });
2692
- return c != null && (u.style = B(B({}, u.style || {}), c)), u;
2697
+ return u != null && (c.style = B(B({}, c.style || {}), u)), c;
2693
2698
  },
2694
2699
  [t]
2695
2700
  );
@@ -2705,70 +2710,70 @@ var Ne = {
2705
2710
  const a = e.length;
2706
2711
  return a > 0 && e[a - 1] === t ? e : e.concat(t);
2707
2712
  }, Et = (e) => {
2708
- const t = [[]], a = [e], i = [0], p = [e.length];
2709
- let h = 0, c = 0, m = [];
2710
- const u = [m];
2711
- for (; c > -1; ) {
2712
- for (; (h = i[c]++) < p[c]; ) {
2713
- let g, b = t[c];
2714
- const v = a[c][h];
2715
- if (typeof v == "string" ? (b = c > 0 ? b : ["plain"], g = v) : (b = oe(b, v.type), v.alias && (b = oe(b, v.alias)), g = v.content), typeof g != "string") {
2716
- c++, t.push(b), a.push(g), i.push(0), p.push(g.length);
2713
+ const t = [[]], a = [e], l = [0], d = [e.length];
2714
+ let h = 0, u = 0, m = [];
2715
+ const c = [m];
2716
+ for (; u > -1; ) {
2717
+ for (; (h = l[u]++) < d[u]; ) {
2718
+ let g, b = t[u];
2719
+ const v = a[u][h];
2720
+ if (typeof v == "string" ? (b = u > 0 ? b : ["plain"], g = v) : (b = oe(b, v.type), v.alias && (b = oe(b, v.alias)), g = v.content), typeof g != "string") {
2721
+ u++, t.push(b), a.push(g), l.push(0), d.push(g.length);
2717
2722
  continue;
2718
2723
  }
2719
- const k = g.split(wt), n = k.length;
2724
+ const w = g.split(wt), n = w.length;
2720
2725
  m.push({
2721
2726
  types: b,
2722
- content: k[0]
2727
+ content: w[0]
2723
2728
  });
2724
2729
  for (let r = 1; r < n; r++)
2725
- re(m), u.push(m = []), m.push({
2730
+ re(m), c.push(m = []), m.push({
2726
2731
  types: b,
2727
- content: k[r]
2732
+ content: w[r]
2728
2733
  });
2729
2734
  }
2730
- c--, t.pop(), a.pop(), i.pop(), p.pop();
2735
+ u--, t.pop(), a.pop(), l.pop(), d.pop();
2731
2736
  }
2732
- return re(m), u;
2733
- }, se = Et, xt = ({ prism: e, code: t, grammar: a, language: i }) => ve(() => {
2737
+ return re(m), c;
2738
+ }, se = Et, xt = ({ prism: e, code: t, grammar: a, language: l }) => ve(() => {
2734
2739
  if (a == null)
2735
2740
  return se([t]);
2736
- const p = {
2741
+ const d = {
2737
2742
  code: t,
2738
2743
  grammar: a,
2739
- language: i,
2744
+ language: l,
2740
2745
  tokens: []
2741
2746
  };
2742
- return e.hooks.run("before-tokenize", p), p.tokens = e.tokenize(t, a), e.hooks.run("after-tokenize", p), se(p.tokens);
2747
+ return e.hooks.run("before-tokenize", d), d.tokens = e.tokenize(t, a), e.hooks.run("after-tokenize", d), se(d.tokens);
2743
2748
  }, [
2744
2749
  t,
2745
2750
  a,
2746
- i,
2751
+ l,
2747
2752
  // prism is a stable import
2748
2753
  e
2749
2754
  ]), St = (e, t) => {
2750
- const { plain: a } = e, i = e.styles.reduce((p, h) => {
2751
- const { languages: c, style: m } = h;
2752
- return c && !c.includes(t) || h.types.forEach((u) => {
2753
- const g = B(B({}, p[u]), m);
2754
- p[u] = g;
2755
- }), p;
2755
+ const { plain: a } = e, l = e.styles.reduce((d, h) => {
2756
+ const { languages: u, style: m } = h;
2757
+ return u && !u.includes(t) || h.types.forEach((c) => {
2758
+ const g = B(B({}, d[c]), m);
2759
+ d[c] = g;
2760
+ }), d;
2756
2761
  }, {});
2757
- return i.root = a, i.plain = q(B({}, a), { backgroundColor: void 0 }), i;
2762
+ return l.root = a, l.plain = q(B({}, a), { backgroundColor: void 0 }), l;
2758
2763
  }, At = St, _t = ({
2759
2764
  children: e,
2760
2765
  language: t,
2761
2766
  code: a,
2762
- theme: i,
2763
- prism: p
2767
+ theme: l,
2768
+ prism: d
2764
2769
  }) => {
2765
- const h = t.toLowerCase(), c = At(i, h), m = vt(c), u = kt(c), g = p.languages[h], b = xt({ prism: p, language: h, code: a, grammar: g });
2770
+ const h = t.toLowerCase(), u = At(l, h), m = vt(u), c = kt(u), g = d.languages[h], b = xt({ prism: d, language: h, code: a, grammar: g });
2766
2771
  return e({
2767
2772
  tokens: b,
2768
2773
  className: `prism-code language-${h}`,
2769
- style: c != null ? c.root : {},
2774
+ style: u != null ? u.root : {},
2770
2775
  getLineProps: m,
2771
- getTokenProps: u
2776
+ getTokenProps: c
2772
2777
  });
2773
2778
  }, Ft = (e) => he(_t, q(B({}, e), {
2774
2779
  prism: e.prism || o,
@@ -2788,23 +2793,23 @@ prismjs/prism.js:
2788
2793
  * @public
2789
2794
  *)
2790
2795
  */
2791
- var Tt = (e, t, a, i, p, h, c, m) => {
2792
- let u = document.documentElement, g = ["light", "dark"];
2793
- function b(k) {
2796
+ var Tt = (e, t, a, l, d, h, u, m) => {
2797
+ let c = document.documentElement, g = ["light", "dark"];
2798
+ function b(w) {
2794
2799
  (Array.isArray(e) ? e : [e]).forEach((n) => {
2795
- let r = n === "class", s = r && h ? p.map((d) => h[d] || d) : p;
2796
- r ? (u.classList.remove(...s), u.classList.add(k)) : u.setAttribute(n, k);
2797
- }), y(k);
2800
+ let r = n === "class", s = r && h ? d.map((p) => h[p] || p) : d;
2801
+ r ? (c.classList.remove(...s), c.classList.add(w)) : c.setAttribute(n, w);
2802
+ }), y(w);
2798
2803
  }
2799
- function y(k) {
2800
- m && g.includes(k) && (u.style.colorScheme = k);
2804
+ function y(w) {
2805
+ m && g.includes(w) && (c.style.colorScheme = w);
2801
2806
  }
2802
2807
  function v() {
2803
2808
  return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
2804
2809
  }
2805
- if (i) b(i);
2810
+ if (l) b(l);
2806
2811
  else try {
2807
- let k = localStorage.getItem(t) || a, n = c && k === "system" ? v() : k;
2812
+ let w = localStorage.getItem(t) || a, n = u && w === "system" ? v() : w;
2808
2813
  b(n);
2809
2814
  } catch {
2810
2815
  }
@@ -2812,46 +2817,46 @@ var Tt = (e, t, a, i, p, h, c, m) => {
2812
2817
  }, themes: [] }, Lt = () => {
2813
2818
  var e;
2814
2819
  return (e = _.useContext(J)) != null ? e : It;
2815
- }, Ut = (e) => _.useContext(J) ? _.createElement(_.Fragment, null, e.children) : _.createElement(Ct, { ...e }), Ot = ["light", "dark"], Ct = ({ forcedTheme: e, disableTransitionOnChange: t = !1, enableSystem: a = !0, enableColorScheme: i = !0, storageKey: p = "theme", themes: h = Ot, defaultTheme: c = a ? "system" : "light", attribute: m = "data-theme", value: u, children: g, nonce: b, scriptProps: y }) => {
2816
- let [v, k] = _.useState(() => ie(p, c)), [n, r] = _.useState(() => ie(p)), s = u ? Object.values(u) : h, d = _.useCallback((w) => {
2817
- let x = w;
2820
+ }, Gt = (e) => _.useContext(J) ? _.createElement(_.Fragment, null, e.children) : _.createElement(Ct, { ...e }), Ot = ["light", "dark"], Ct = ({ forcedTheme: e, disableTransitionOnChange: t = !1, enableSystem: a = !0, enableColorScheme: l = !0, storageKey: d = "theme", themes: h = Ot, defaultTheme: u = a ? "system" : "light", attribute: m = "data-theme", value: c, children: g, nonce: b, scriptProps: y }) => {
2821
+ let [v, w] = _.useState(() => ie(d, u)), [n, r] = _.useState(() => ie(d)), s = c ? Object.values(c) : h, p = _.useCallback((k) => {
2822
+ let x = k;
2818
2823
  if (!x) return;
2819
- w === "system" && a && (x = ue());
2820
- let S = u ? u[x] : x, F = t ? Dt(b) : null, A = document.documentElement, C = (T) => {
2824
+ k === "system" && a && (x = ue());
2825
+ let S = c ? c[x] : x, F = t ? Dt(b) : null, A = document.documentElement, C = (T) => {
2821
2826
  T === "class" ? (A.classList.remove(...s), S && A.classList.add(S)) : T.startsWith("data-") && (S ? A.setAttribute(T, S) : A.removeAttribute(T));
2822
2827
  };
2823
- if (Array.isArray(m) ? m.forEach(C) : C(m), i) {
2824
- let T = le.includes(c) ? c : null, O = le.includes(x) ? x : T;
2828
+ if (Array.isArray(m) ? m.forEach(C) : C(m), l) {
2829
+ let T = le.includes(u) ? u : null, O = le.includes(x) ? x : T;
2825
2830
  A.style.colorScheme = O;
2826
2831
  }
2827
2832
  F == null || F();
2828
- }, [b]), l = _.useCallback((w) => {
2829
- let x = typeof w == "function" ? w(v) : w;
2830
- k(x);
2833
+ }, [b]), i = _.useCallback((k) => {
2834
+ let x = typeof k == "function" ? k(v) : k;
2835
+ w(x);
2831
2836
  try {
2832
- localStorage.setItem(p, x);
2837
+ localStorage.setItem(d, x);
2833
2838
  } catch {
2834
2839
  }
2835
- }, [v]), f = _.useCallback((w) => {
2836
- let x = ue(w);
2837
- r(x), v === "system" && a && !e && d("system");
2840
+ }, [v]), f = _.useCallback((k) => {
2841
+ let x = ue(k);
2842
+ r(x), v === "system" && a && !e && p("system");
2838
2843
  }, [v, e]);
2839
2844
  _.useEffect(() => {
2840
- let w = window.matchMedia(fe);
2841
- return w.addListener(f), f(w), () => w.removeListener(f);
2845
+ let k = window.matchMedia(fe);
2846
+ return k.addListener(f), f(k), () => k.removeListener(f);
2842
2847
  }, [f]), _.useEffect(() => {
2843
- let w = (x) => {
2844
- x.key === p && (x.newValue ? k(x.newValue) : l(c));
2848
+ let k = (x) => {
2849
+ x.key === d && (x.newValue ? w(x.newValue) : i(u));
2845
2850
  };
2846
- return window.addEventListener("storage", w), () => window.removeEventListener("storage", w);
2847
- }, [l]), _.useEffect(() => {
2848
- d(e ?? v);
2851
+ return window.addEventListener("storage", k), () => window.removeEventListener("storage", k);
2852
+ }, [i]), _.useEffect(() => {
2853
+ p(e ?? v);
2849
2854
  }, [e, v]);
2850
- let E = _.useMemo(() => ({ theme: v, setTheme: l, forcedTheme: e, resolvedTheme: v === "system" ? n : v, themes: a ? [...h, "system"] : h, systemTheme: a ? n : void 0 }), [v, l, e, n, a, h]);
2851
- return _.createElement(J.Provider, { value: E }, _.createElement(Nt, { forcedTheme: e, storageKey: p, attribute: m, enableSystem: a, enableColorScheme: i, defaultTheme: c, value: u, themes: h, nonce: b, scriptProps: y }), g);
2852
- }, Nt = _.memo(({ forcedTheme: e, storageKey: t, attribute: a, enableSystem: i, enableColorScheme: p, defaultTheme: h, value: c, themes: m, nonce: u, scriptProps: g }) => {
2853
- let b = JSON.stringify([a, t, h, e, m, c, i, p]).slice(1, -1);
2854
- return _.createElement("script", { ...g, suppressHydrationWarning: !0, nonce: typeof window > "u" ? u : "", dangerouslySetInnerHTML: { __html: `(${Tt.toString()})(${b})` } });
2855
+ let E = _.useMemo(() => ({ theme: v, setTheme: i, forcedTheme: e, resolvedTheme: v === "system" ? n : v, themes: a ? [...h, "system"] : h, systemTheme: a ? n : void 0 }), [v, i, e, n, a, h]);
2856
+ return _.createElement(J.Provider, { value: E }, _.createElement(Nt, { forcedTheme: e, storageKey: d, attribute: m, enableSystem: a, enableColorScheme: l, defaultTheme: u, value: c, themes: h, nonce: b, scriptProps: y }), g);
2857
+ }, Nt = _.memo(({ forcedTheme: e, storageKey: t, attribute: a, enableSystem: l, enableColorScheme: d, defaultTheme: h, value: u, themes: m, nonce: c, scriptProps: g }) => {
2858
+ let b = JSON.stringify([a, t, h, e, m, u, l, d]).slice(1, -1);
2859
+ return _.createElement("script", { ...g, suppressHydrationWarning: !0, nonce: typeof window > "u" ? c : "", dangerouslySetInnerHTML: { __html: `(${Tt.toString()})(${b})` } });
2855
2860
  }), ie = (e, t) => {
2856
2861
  if (Rt) return;
2857
2862
  let a;
@@ -2881,61 +2886,66 @@ import("./prism-javascript.min-CEqHqgbm.js");
2881
2886
  import("./prism-typescript.min-CD7H2IYQ.js").then((e) => e.p);
2882
2887
  const Bt = {
2883
2888
  mdx: "md"
2884
- }, Gt = ({
2889
+ }, Zt = ({
2885
2890
  copyable: e = !0,
2886
2891
  language: t = "plain",
2887
- ...a
2892
+ title: a,
2893
+ ...l
2888
2894
  }) => {
2889
- const { resolvedTheme: i } = Lt(), [p, h] = ke(!1);
2890
- if (!a.code)
2895
+ const { resolvedTheme: d } = Lt(), [h, u] = ke(!1);
2896
+ if (!l.code)
2891
2897
  return null;
2892
- const c = i === "dark" ? X.vsDark : X.github;
2898
+ const m = d === "dark" ? X.vsDark : X.github;
2893
2899
  return /* @__PURE__ */ I.jsx(
2894
2900
  xe,
2895
2901
  {
2896
2902
  fallback: /* @__PURE__ */ I.jsxs("div", { className: "relative group", children: [
2903
+ a && /* @__PURE__ */ I.jsx("div", { className: "text-xs text-muted-foreground absolute top-2 font-mono border-b w-full pb-2 px-4 ", children: a }),
2897
2904
  /* @__PURE__ */ I.jsx(
2898
2905
  "pre",
2899
2906
  {
2900
2907
  className: ae(
2901
2908
  "relative scrollbar overflow-x-auto",
2902
- a.className,
2903
- a.noBackground ? "!bg-transparent" : "bg-[#f6f8fa] text-[#393a34] dark:bg-[#1e1e1e] dark:text-[#9cdcfe]",
2904
- a.wrapLines && "whitespace-pre-wrap break-words"
2909
+ l.className,
2910
+ l.noBackground ? "!bg-transparent" : "bg-[#f6f8fa] text-[#393a34] dark:bg-[#1e1e1e] dark:text-[#9cdcfe]",
2911
+ l.wrapLines && "whitespace-pre-wrap break-words",
2912
+ a && "pt-10"
2905
2913
  ),
2906
- children: a.code
2914
+ children: l.code
2907
2915
  }
2908
2916
  ),
2909
- a.showLanguageIndicator && /* @__PURE__ */ I.jsx("span", { className: "absolute top-1.5 right-3 text-[11px] font-mono text-muted-foreground transition group-hover:opacity-0", children: t })
2917
+ l.showLanguageIndicator && /* @__PURE__ */ I.jsx("span", { className: "absolute top-1.5 right-3 text-[11px] font-mono text-muted-foreground transition group-hover:opacity-0", children: t })
2910
2918
  ] }),
2911
2919
  children: /* @__PURE__ */ I.jsx(
2912
2920
  Ft,
2913
2921
  {
2914
- theme: c,
2922
+ theme: m,
2915
2923
  language: Bt[t] ?? t,
2916
- ...a,
2917
- children: ({ className: u, style: g, tokens: b, getLineProps: y, getTokenProps: v }) => /* @__PURE__ */ I.jsxs("div", { className: "relative group", children: [
2924
+ ...l,
2925
+ children: ({ className: g, style: b, tokens: y, getLineProps: v, getTokenProps: w }) => /* @__PURE__ */ I.jsxs("div", { className: "relative group", children: [
2926
+ a && /* @__PURE__ */ I.jsx("div", { className: "text-xs text-muted-foreground absolute top-2 font-mono border-b w-full pb-2 px-4 ", children: a }),
2918
2927
  /* @__PURE__ */ I.jsx(
2919
2928
  "pre",
2920
2929
  {
2921
2930
  className: ae(
2922
2931
  "relative scrollbar overflow-x-auto",
2923
- u,
2924
- a.className,
2925
- a.noBackground && "!bg-transparent",
2926
- a.wrapLines && "whitespace-pre-wrap break-words"
2932
+ g,
2933
+ l.className,
2934
+ l.noBackground && "!bg-transparent",
2935
+ l.wrapLines && "whitespace-pre-wrap break-words",
2936
+ a && "pt-10"
2927
2937
  ),
2928
- style: g,
2929
- children: b.map((k, n) => (
2938
+ style: b,
2939
+ children: y.map((n, r) => (
2930
2940
  // eslint-disable-next-line react/no-array-index-key
2931
- /* @__PURE__ */ I.jsx("div", { ...y({ line: k }), children: k.map((r, s) => (
2941
+ /* @__PURE__ */ I.jsx("div", { ...v({ line: n }), children: n.map((s, p) => (
2932
2942
  // eslint-disable-next-line react/no-array-index-key
2933
- /* @__PURE__ */ I.jsx("span", { ...v({ token: r }) }, s)
2934
- )) }, n)
2943
+ /* @__PURE__ */ I.jsx("span", { ...w({ token: s }) }, p)
2944
+ )) }, r)
2935
2945
  ))
2936
2946
  }
2937
2947
  ),
2938
- a.showLanguageIndicator && /* @__PURE__ */ I.jsx("span", { className: "absolute top-1.5 right-3 text-[11px] font-mono text-muted-foreground transition group-hover:opacity-0", children: t }),
2948
+ l.showLanguageIndicator && /* @__PURE__ */ I.jsx("span", { className: "absolute top-1.5 right-3 text-[11px] font-mono text-muted-foreground transition group-hover:opacity-0", children: t }),
2939
2949
  e && /* @__PURE__ */ I.jsx(
2940
2950
  "button",
2941
2951
  {
@@ -2943,14 +2953,14 @@ const Bt = {
2943
2953
  "aria-label": "Copy code",
2944
2954
  title: "Copy code",
2945
2955
  className: "absolute top-2 right-2 p-2 opacity-0 group-hover:opacity-100 group-hover:bg-zinc-100 group-hover:dark:bg-zinc-700 hover:outline hover:outline-border/75 dark:hover:outline-border rounded-md text-sm text-gray-400 hover:text-gray-600 dark:text-gray-500 dark:hover:text-gray-400 transition",
2946
- disabled: p,
2956
+ disabled: h,
2947
2957
  onClick: () => {
2948
- h(!0), navigator.clipboard.writeText(
2949
- b.map((k) => k.map(({ content: n }) => n).join("")).join(`
2958
+ u(!0), navigator.clipboard.writeText(
2959
+ y.map((n) => n.map(({ content: r }) => r).join("")).join(`
2950
2960
  `)
2951
- ), setTimeout(() => h(!1), 2e3);
2961
+ ), setTimeout(() => u(!1), 2e3);
2952
2962
  },
2953
- children: p ? /* @__PURE__ */ I.jsx(
2963
+ children: h ? /* @__PURE__ */ I.jsx(
2954
2964
  we,
2955
2965
  {
2956
2966
  className: "text-emerald-600",
@@ -2968,8 +2978,9 @@ const Bt = {
2968
2978
  );
2969
2979
  };
2970
2980
  export {
2971
- Ut as J,
2972
- Gt as S,
2981
+ Gt as J,
2982
+ Zt as S,
2983
+ Ut as e,
2973
2984
  Lt as z
2974
2985
  };
2975
- //# sourceMappingURL=SyntaxHighlight-CJCSPG1F.js.map
2986
+ //# sourceMappingURL=SyntaxHighlight-B0L4SC_N.js.map