zudoku 0.0.0-f3858d6 → 0.0.0-f3f6db5

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 (1042) hide show
  1. package/README.md +121 -0
  2. package/client.d.ts +7 -0
  3. package/dist/app/demo.js +1 -4
  4. package/dist/app/demo.js.map +1 -1
  5. package/dist/app/entry.client.d.ts +1 -0
  6. package/dist/app/entry.client.js +14 -1
  7. package/dist/app/entry.client.js.map +1 -1
  8. package/dist/app/entry.server.d.ts +1 -0
  9. package/dist/app/entry.server.js +8 -8
  10. package/dist/app/entry.server.js.map +1 -1
  11. package/dist/app/main.d.ts +3 -3
  12. package/dist/app/main.js +25 -15
  13. package/dist/app/main.js.map +1 -1
  14. package/dist/app/sentry.d.ts +3 -0
  15. package/dist/app/sentry.js +19 -0
  16. package/dist/app/sentry.js.map +1 -0
  17. package/dist/app/standalone.js +1 -4
  18. package/dist/app/standalone.js.map +1 -1
  19. package/dist/app/tailwind.d.ts +2 -1
  20. package/dist/app/tailwind.js +64 -52
  21. package/dist/app/tailwind.js.map +1 -1
  22. package/dist/cli/cli.js +1 -4
  23. package/dist/cli/cli.js.map +1 -1
  24. package/dist/cli/cmds/build.js +1 -0
  25. package/dist/cli/cmds/build.js.map +1 -1
  26. package/dist/cli/cmds/dev.js +5 -0
  27. package/dist/cli/cmds/dev.js.map +1 -1
  28. package/dist/cli/common/logger.js +9 -0
  29. package/dist/cli/common/logger.js.map +1 -1
  30. package/dist/cli/common/outdated.js +2 -1
  31. package/dist/cli/common/outdated.js.map +1 -1
  32. package/dist/cli/dev/handler.d.ts +1 -0
  33. package/dist/cli/dev/handler.js +3 -3
  34. package/dist/cli/dev/handler.js.map +1 -1
  35. package/dist/codegen.d.ts +3 -0
  36. package/dist/codegen.js +45 -0
  37. package/dist/codegen.js.map +1 -0
  38. package/dist/config/common.d.ts +8 -0
  39. package/dist/config/common.js +2 -0
  40. package/dist/config/common.js.map +1 -0
  41. package/dist/config/config.d.ts +4 -2
  42. package/dist/config/loader.d.ts +20 -0
  43. package/dist/config/loader.js +154 -0
  44. package/dist/config/loader.js.map +1 -0
  45. package/dist/config/validators/InputSidebarSchema.d.ts +46 -15
  46. package/dist/config/validators/InputSidebarSchema.js +8 -28
  47. package/dist/config/validators/InputSidebarSchema.js.map +1 -1
  48. package/dist/config/validators/SidebarSchema.d.ts +24 -1
  49. package/dist/config/validators/SidebarSchema.js +77 -37
  50. package/dist/config/validators/SidebarSchema.js.map +1 -1
  51. package/dist/config/validators/common.d.ts +5034 -0
  52. package/dist/config/validators/common.js +287 -0
  53. package/dist/config/validators/common.js.map +1 -0
  54. package/dist/config/validators/icon-types.d.ts +1 -0
  55. package/dist/config/validators/icon-types.js +2 -0
  56. package/dist/config/validators/icon-types.js.map +1 -0
  57. package/dist/config/validators/validate.d.ts +867 -460
  58. package/dist/config/validators/validate.js +12 -214
  59. package/dist/config/validators/validate.js.map +1 -1
  60. package/dist/index.d.ts +3 -3
  61. package/dist/index.js +1 -1
  62. package/dist/index.js.map +1 -1
  63. package/dist/lib/authentication/AuthenticationPlugin.d.ts +4 -2
  64. package/dist/lib/authentication/AuthenticationPlugin.js +3 -0
  65. package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
  66. package/dist/lib/authentication/authentication.d.ts +3 -3
  67. package/dist/lib/authentication/components/CallbackHandler.js +21 -31
  68. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  69. package/dist/lib/authentication/components/SignIn.js +1 -1
  70. package/dist/lib/authentication/components/SignIn.js.map +1 -1
  71. package/dist/lib/authentication/components/SignOut.js +2 -2
  72. package/dist/lib/authentication/components/SignOut.js.map +1 -1
  73. package/dist/lib/authentication/hook.d.ts +5 -4
  74. package/dist/lib/authentication/hook.js +1 -3
  75. package/dist/lib/authentication/hook.js.map +1 -1
  76. package/dist/lib/authentication/providers/auth0.js +13 -12
  77. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  78. package/dist/lib/authentication/providers/clerk.js +29 -6
  79. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  80. package/dist/lib/authentication/providers/openid.d.ts +8 -2
  81. package/dist/lib/authentication/providers/openid.js +31 -35
  82. package/dist/lib/authentication/providers/openid.js.map +1 -1
  83. package/dist/lib/authentication/state.d.ts +25 -4
  84. package/dist/lib/authentication/state.js +28 -3
  85. package/dist/lib/authentication/state.js.map +1 -1
  86. package/dist/lib/authentication/use-broadcast/shared.d.ts +48 -0
  87. package/dist/lib/authentication/use-broadcast/shared.js +243 -0
  88. package/dist/lib/authentication/use-broadcast/shared.js.map +1 -0
  89. package/dist/lib/authentication/use-broadcast/useBroadcast.d.ts +24 -0
  90. package/dist/lib/authentication/use-broadcast/useBroadcast.js +106 -0
  91. package/dist/lib/authentication/use-broadcast/useBroadcast.js.map +1 -0
  92. package/dist/lib/components/AnchorLink.d.ts +1 -1
  93. package/dist/lib/components/AnchorLink.js +6 -3
  94. package/dist/lib/components/AnchorLink.js.map +1 -1
  95. package/dist/lib/components/Autocomplete.d.ts +12 -0
  96. package/dist/lib/components/Autocomplete.js +47 -0
  97. package/dist/lib/components/Autocomplete.js.map +1 -0
  98. package/dist/lib/components/Bootstrap.d.ts +4 -3
  99. package/dist/lib/components/Bootstrap.js +12 -6
  100. package/dist/lib/components/Bootstrap.js.map +1 -1
  101. package/dist/lib/components/ClientOnly.d.ts +4 -2
  102. package/dist/lib/components/ClientOnly.js +1 -1
  103. package/dist/lib/components/ClientOnly.js.map +1 -1
  104. package/dist/lib/components/DeveloperHint.js +2 -1
  105. package/dist/lib/components/DeveloperHint.js.map +1 -1
  106. package/dist/lib/components/Header.js +21 -14
  107. package/dist/lib/components/Header.js.map +1 -1
  108. package/dist/lib/components/Heading.d.ts +4 -4
  109. package/dist/lib/components/Heading.js +1 -1
  110. package/dist/lib/components/Heading.js.map +1 -1
  111. package/dist/lib/components/Layout.js +14 -5
  112. package/dist/lib/components/Layout.js.map +1 -1
  113. package/dist/lib/components/Markdown.d.ts +2 -2
  114. package/dist/lib/components/Markdown.js +4 -2
  115. package/dist/lib/components/Markdown.js.map +1 -1
  116. package/dist/lib/components/MobileTopNavigation.js +8 -6
  117. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  118. package/dist/lib/components/NotFoundPage.js +1 -1
  119. package/dist/lib/components/NotFoundPage.js.map +1 -1
  120. package/dist/lib/components/PathRenderer.d.ts +11 -0
  121. package/dist/lib/components/PathRenderer.js +25 -0
  122. package/dist/lib/components/PathRenderer.js.map +1 -0
  123. package/dist/lib/components/ReactMarkdown.d.ts +29 -0
  124. package/dist/lib/components/ReactMarkdown.js +182 -0
  125. package/dist/lib/components/ReactMarkdown.js.map +1 -0
  126. package/dist/lib/components/Search.d.ts +3 -1
  127. package/dist/lib/components/Search.js +3 -3
  128. package/dist/lib/components/Search.js.map +1 -1
  129. package/dist/lib/components/SlotletProvider.d.ts +8 -3
  130. package/dist/lib/components/SlotletProvider.js +3 -5
  131. package/dist/lib/components/SlotletProvider.js.map +1 -1
  132. package/dist/lib/components/StatusPage.d.ts +7 -0
  133. package/dist/lib/components/StatusPage.js +71 -0
  134. package/dist/lib/components/StatusPage.js.map +1 -0
  135. package/dist/lib/components/SyntaxHighlight.d.ts +2 -1
  136. package/dist/lib/components/SyntaxHighlight.js +20 -17
  137. package/dist/lib/components/SyntaxHighlight.js.map +1 -1
  138. package/dist/lib/components/ThemeSwitch.d.ts +1 -0
  139. package/dist/lib/components/ThemeSwitch.js +13 -0
  140. package/dist/lib/components/ThemeSwitch.js.map +1 -0
  141. package/dist/lib/components/TopNavigation.d.ts +5 -0
  142. package/dist/lib/components/TopNavigation.js +22 -8
  143. package/dist/lib/components/TopNavigation.js.map +1 -1
  144. package/dist/lib/components/{DevPortal.d.ts → Zudoku.d.ts} +3 -3
  145. package/dist/lib/components/{DevPortal.js → Zudoku.js} +14 -15
  146. package/dist/lib/components/Zudoku.js.map +1 -0
  147. package/dist/lib/components/cache.d.ts +6 -0
  148. package/dist/lib/components/cache.js +13 -0
  149. package/dist/lib/components/cache.js.map +1 -0
  150. package/dist/lib/components/context/ViewportAnchorContext.js +16 -4
  151. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  152. package/dist/lib/components/context/ZudokuContext.d.ts +7 -6
  153. package/dist/lib/components/context/ZudokuContext.js +11 -15
  154. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  155. package/dist/lib/components/context/ZudokuProvider.d.ts +2 -2
  156. package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
  157. package/dist/lib/components/index.d.ts +46 -17
  158. package/dist/lib/components/index.js +21 -6
  159. package/dist/lib/components/index.js.map +1 -1
  160. package/dist/lib/components/navigation/Sidebar.d.ts +3 -1
  161. package/dist/lib/components/navigation/Sidebar.js +2 -2
  162. package/dist/lib/components/navigation/Sidebar.js.map +1 -1
  163. package/dist/lib/components/navigation/SidebarBadge.d.ts +4 -3
  164. package/dist/lib/components/navigation/SidebarBadge.js +11 -11
  165. package/dist/lib/components/navigation/SidebarBadge.js.map +1 -1
  166. package/dist/lib/components/navigation/SidebarCategory.d.ts +2 -2
  167. package/dist/lib/components/navigation/SidebarCategory.js +20 -8
  168. package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
  169. package/dist/lib/components/navigation/SidebarItem.d.ts +2 -4
  170. package/dist/lib/components/navigation/SidebarItem.js +13 -11
  171. package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
  172. package/dist/lib/components/navigation/SidebarWrapper.js +1 -1
  173. package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
  174. package/dist/lib/components/navigation/utils.js +3 -3
  175. package/dist/lib/components/navigation/utils.js.map +1 -1
  176. package/dist/lib/core/RouteGuard.d.ts +1 -0
  177. package/dist/lib/core/RouteGuard.js +28 -0
  178. package/dist/lib/core/RouteGuard.js.map +1 -0
  179. package/dist/lib/core/{DevPortalContext.d.ts → ZudokuContext.d.ts} +8 -10
  180. package/dist/lib/core/{DevPortalContext.js → ZudokuContext.js} +11 -14
  181. package/dist/lib/core/ZudokuContext.js.map +1 -0
  182. package/dist/lib/core/plugins.d.ts +17 -13
  183. package/dist/lib/core/plugins.js.map +1 -1
  184. package/dist/lib/errors/ErrorAlert.d.ts +1 -1
  185. package/dist/lib/errors/ErrorAlert.js +8 -3
  186. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  187. package/dist/lib/errors/RouterError.js +1 -1
  188. package/dist/lib/errors/RouterError.js.map +1 -1
  189. package/dist/lib/oas/graphql/circular.d.ts +3 -0
  190. package/dist/lib/oas/graphql/circular.js +38 -0
  191. package/dist/lib/oas/graphql/circular.js.map +1 -0
  192. package/dist/lib/oas/graphql/index.d.ts +4 -0
  193. package/dist/lib/oas/graphql/index.js +81 -49
  194. package/dist/lib/oas/graphql/index.js.map +1 -1
  195. package/dist/lib/oas/parser/dereference/index.js +6 -3
  196. package/dist/lib/oas/parser/dereference/index.js.map +1 -1
  197. package/dist/lib/oas/parser/upgrade/index.d.ts +2 -2
  198. package/dist/lib/oas/parser/upgrade/index.js +19 -20
  199. package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
  200. package/dist/lib/plugins/api-catalog/Catalog.d.ts +2 -0
  201. package/dist/lib/plugins/api-catalog/Catalog.js +36 -0
  202. package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -0
  203. package/dist/lib/plugins/api-catalog/index.d.ts +30 -0
  204. package/dist/lib/plugins/api-catalog/index.js +15 -0
  205. package/dist/lib/plugins/api-catalog/index.js.map +1 -0
  206. package/dist/lib/plugins/api-keys/CreateApiKey.js +2 -2
  207. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  208. package/dist/lib/plugins/api-keys/ProtectedRoute.js +1 -1
  209. package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
  210. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +1 -1
  211. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  212. package/dist/lib/plugins/api-keys/index.d.ts +9 -9
  213. package/dist/lib/plugins/api-keys/index.js +3 -0
  214. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  215. package/dist/lib/plugins/custom-pages/CustomPage.d.ts +2 -0
  216. package/dist/lib/plugins/custom-pages/CustomPage.js +11 -0
  217. package/dist/lib/plugins/custom-pages/CustomPage.js.map +1 -0
  218. package/dist/lib/plugins/custom-pages/index.d.ts +9 -7
  219. package/dist/lib/plugins/custom-pages/index.js +3 -4
  220. package/dist/lib/plugins/custom-pages/index.js.map +1 -1
  221. package/dist/lib/plugins/markdown/MdxPage.d.ts +9 -1
  222. package/dist/lib/plugins/markdown/MdxPage.js +22 -3
  223. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  224. package/dist/lib/plugins/markdown/index.d.ts +5 -3
  225. package/dist/lib/plugins/markdown/index.js +1 -1
  226. package/dist/lib/plugins/markdown/index.js.map +1 -1
  227. package/dist/lib/plugins/markdown/resolver.js.map +1 -1
  228. package/dist/lib/plugins/openapi/CollapsibleCode.d.ts +5 -0
  229. package/dist/lib/plugins/openapi/CollapsibleCode.js +25 -0
  230. package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -0
  231. package/dist/lib/plugins/openapi/ColorizedParam.d.ts +10 -2
  232. package/dist/lib/plugins/openapi/ColorizedParam.js +29 -14
  233. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  234. package/dist/lib/plugins/openapi/Endpoint.js +10 -12
  235. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  236. package/dist/lib/plugins/openapi/OpenApiRoute.d.ts +9 -0
  237. package/dist/lib/plugins/openapi/OpenApiRoute.js +25 -0
  238. package/dist/lib/plugins/openapi/OpenApiRoute.js.map +1 -0
  239. package/dist/lib/plugins/openapi/OperationList.d.ts +5 -2
  240. package/dist/lib/plugins/openapi/OperationList.js +60 -31
  241. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  242. package/dist/lib/plugins/openapi/OperationListItem.d.ts +2 -1
  243. package/dist/lib/plugins/openapi/OperationListItem.js +14 -4
  244. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  245. package/dist/lib/plugins/openapi/ParameterListItem.js +7 -1
  246. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  247. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +3 -1
  248. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +5 -2
  249. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  250. package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +3 -4
  251. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +5 -9
  252. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  253. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +7 -6
  254. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  255. package/dist/lib/plugins/openapi/Sidecar.d.ts +1 -1
  256. package/dist/lib/plugins/openapi/Sidecar.js +50 -60
  257. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  258. package/dist/lib/plugins/openapi/SidecarBox.js +4 -4
  259. package/dist/lib/plugins/openapi/SidecarBox.js.map +1 -1
  260. package/dist/lib/plugins/openapi/SidecarExamples.d.ts +9 -0
  261. package/dist/lib/plugins/openapi/SidecarExamples.js +68 -0
  262. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -0
  263. package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +8 -0
  264. package/dist/lib/plugins/openapi/client/GraphQLClient.js +43 -0
  265. package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -0
  266. package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +7 -0
  267. package/dist/lib/plugins/openapi/client/GraphQLContext.js +5 -0
  268. package/dist/lib/plugins/openapi/client/GraphQLContext.js.map +1 -0
  269. package/dist/lib/plugins/openapi/client/createServer.d.ts +3 -1
  270. package/dist/lib/plugins/openapi/client/createServer.js +5 -2
  271. package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
  272. package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +5 -0
  273. package/dist/lib/plugins/openapi/client/useCreateQuery.js +13 -0
  274. package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -0
  275. package/dist/lib/plugins/openapi/context.d.ts +3 -3
  276. package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +3 -3
  277. package/dist/lib/plugins/openapi/graphql/fragment-masking.js +3 -4
  278. package/dist/lib/plugins/openapi/graphql/fragment-masking.js.map +1 -1
  279. package/dist/lib/plugins/openapi/graphql/gql.d.ts +6 -48
  280. package/dist/lib/plugins/openapi/graphql/gql.js +6 -3
  281. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  282. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +79 -32
  283. package/dist/lib/plugins/openapi/graphql/graphql.js +199 -662
  284. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  285. package/dist/lib/plugins/openapi/index.d.ts +4 -3
  286. package/dist/lib/plugins/openapi/index.js +111 -86
  287. package/dist/lib/plugins/openapi/index.js.map +1 -1
  288. package/dist/lib/plugins/openapi/interfaces.d.ts +27 -2
  289. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +6 -0
  290. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +12 -0
  291. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -0
  292. package/dist/lib/plugins/openapi/playground/Headers.js +67 -4
  293. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
  294. package/dist/lib/plugins/openapi/playground/ParamsGrid.d.ts +5 -0
  295. package/dist/lib/plugins/openapi/playground/ParamsGrid.js +4 -0
  296. package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -0
  297. package/dist/lib/plugins/openapi/playground/PathParams.js +4 -7
  298. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  299. package/dist/lib/plugins/openapi/playground/Playground.d.ts +21 -1
  300. package/dist/lib/plugins/openapi/playground/Playground.js +62 -53
  301. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  302. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +2 -2
  303. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
  304. package/dist/lib/plugins/openapi/playground/QueryParams.js +20 -14
  305. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  306. package/dist/lib/plugins/openapi/playground/SubmitButton.d.ts +7 -0
  307. package/dist/lib/plugins/openapi/playground/SubmitButton.js +22 -0
  308. package/dist/lib/plugins/openapi/playground/SubmitButton.js.map +1 -0
  309. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.d.ts +7 -0
  310. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js +11 -0
  311. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js.map +1 -0
  312. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.d.ts +8 -0
  313. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +95 -0
  314. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -0
  315. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +7 -0
  316. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +16 -0
  317. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -0
  318. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +10 -0
  319. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +32 -0
  320. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -0
  321. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js +56 -0
  322. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js.map +1 -0
  323. package/dist/lib/plugins/openapi/post-processors/removeExtensions.d.ts +7 -0
  324. package/dist/lib/plugins/openapi/post-processors/removeExtensions.js +16 -0
  325. package/dist/lib/plugins/openapi/post-processors/removeExtensions.js.map +1 -0
  326. package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.d.ts +1 -0
  327. package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.js +174 -0
  328. package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.js.map +1 -0
  329. package/dist/lib/plugins/openapi/post-processors/removeParameters.d.ts +10 -0
  330. package/dist/lib/plugins/openapi/post-processors/removeParameters.js +66 -0
  331. package/dist/lib/plugins/openapi/post-processors/removeParameters.js.map +1 -0
  332. package/dist/lib/plugins/openapi/post-processors/removeParameters.test.d.ts +1 -0
  333. package/dist/lib/plugins/openapi/post-processors/removeParameters.test.js +131 -0
  334. package/dist/lib/plugins/openapi/post-processors/removeParameters.test.js.map +1 -0
  335. package/dist/lib/plugins/openapi/post-processors/removePaths.d.ts +11 -0
  336. package/dist/lib/plugins/openapi/post-processors/removePaths.js +33 -0
  337. package/dist/lib/plugins/openapi/post-processors/removePaths.js.map +1 -0
  338. package/dist/lib/plugins/openapi/post-processors/removePaths.test.d.ts +1 -0
  339. package/dist/lib/plugins/openapi/post-processors/removePaths.test.js +104 -0
  340. package/dist/lib/plugins/openapi/post-processors/removePaths.test.js.map +1 -0
  341. package/dist/lib/plugins/openapi/post-processors/traverse.d.ts +1 -0
  342. package/dist/lib/plugins/openapi/post-processors/traverse.js +2 -0
  343. package/dist/lib/plugins/openapi/post-processors/traverse.js.map +1 -0
  344. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +37 -0
  345. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -0
  346. package/dist/lib/plugins/openapi/schema/SchemaView.js +3 -2
  347. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  348. package/dist/lib/plugins/openapi/schema/utils.d.ts +1 -0
  349. package/dist/lib/plugins/openapi/schema/utils.js +2 -0
  350. package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
  351. package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +0 -1
  352. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +36 -39
  353. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  354. package/dist/lib/plugins/openapi/util/methodToColor.d.ts +20 -0
  355. package/dist/lib/plugins/openapi/util/methodToColor.js +24 -0
  356. package/dist/lib/plugins/openapi/util/methodToColor.js.map +1 -0
  357. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.d.ts +1 -0
  358. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js +27 -0
  359. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js.map +1 -0
  360. package/dist/lib/plugins/redirect/index.d.ts +4 -7
  361. package/dist/lib/plugins/redirect/index.js +2 -2
  362. package/dist/lib/plugins/redirect/index.js.map +1 -1
  363. package/dist/lib/plugins/search-inkeep/index.d.ts +24 -5
  364. package/dist/lib/plugins/search-inkeep/index.js +41 -5
  365. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  366. package/dist/lib/plugins/search-inkeep/inkeep.d.ts +3 -4
  367. package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
  368. package/dist/lib/ui/Accordion.d.ts +7 -0
  369. package/dist/lib/ui/Accordion.js +14 -0
  370. package/dist/lib/ui/Accordion.js.map +1 -0
  371. package/dist/lib/ui/ActionButton.d.ts +4 -0
  372. package/dist/lib/ui/ActionButton.js +10 -0
  373. package/dist/lib/ui/ActionButton.js.map +1 -0
  374. package/dist/lib/ui/Alert.d.ts +8 -0
  375. package/dist/lib/ui/Alert.js +23 -0
  376. package/dist/lib/ui/Alert.js.map +1 -0
  377. package/dist/lib/ui/AlertDialog.d.ts +20 -0
  378. package/dist/lib/ui/AlertDialog.js +27 -0
  379. package/dist/lib/ui/AlertDialog.js.map +1 -0
  380. package/dist/lib/ui/AspectRatio.d.ts +3 -0
  381. package/dist/lib/ui/AspectRatio.js +4 -0
  382. package/dist/lib/ui/AspectRatio.js.map +1 -0
  383. package/dist/lib/ui/Badge.d.ts +9 -0
  384. package/dist/lib/ui/Badge.js +22 -0
  385. package/dist/lib/ui/Badge.js.map +1 -0
  386. package/dist/lib/ui/Breadcrumb.d.ts +19 -0
  387. package/dist/lib/ui/Breadcrumb.js +24 -0
  388. package/dist/lib/ui/Breadcrumb.js.map +1 -0
  389. package/dist/lib/ui/Button.d.ts +2 -3
  390. package/dist/lib/ui/Button.js +1 -1
  391. package/dist/lib/ui/Button.js.map +1 -1
  392. package/dist/lib/ui/Card.js +1 -1
  393. package/dist/lib/ui/Card.js.map +1 -1
  394. package/dist/lib/ui/Carousel.d.ts +18 -0
  395. package/dist/lib/ui/Carousel.js +99 -0
  396. package/dist/lib/ui/Carousel.js.map +1 -0
  397. package/dist/lib/ui/Checkbox.d.ts +10 -0
  398. package/dist/lib/ui/Checkbox.js +21 -0
  399. package/dist/lib/ui/Checkbox.js.map +1 -0
  400. package/dist/lib/ui/Collapsible.d.ts +5 -0
  401. package/dist/lib/ui/Collapsible.js +6 -0
  402. package/dist/lib/ui/Collapsible.js.map +1 -0
  403. package/dist/lib/ui/Command.d.ts +88 -0
  404. package/dist/lib/ui/Command.js +35 -0
  405. package/dist/lib/ui/Command.js.map +1 -0
  406. package/dist/lib/{components → ui}/Dialog.js +2 -2
  407. package/dist/lib/ui/Dialog.js.map +1 -0
  408. package/dist/lib/ui/Form.d.ts +23 -0
  409. package/dist/lib/ui/Form.js +63 -0
  410. package/dist/lib/ui/Form.js.map +1 -0
  411. package/dist/lib/ui/HoverCard.d.ts +6 -0
  412. package/dist/lib/ui/HoverCard.js +10 -0
  413. package/dist/lib/ui/HoverCard.js.map +1 -0
  414. package/dist/lib/ui/Label.d.ts +5 -0
  415. package/dist/lib/ui/Label.js +10 -0
  416. package/dist/lib/ui/Label.js.map +1 -0
  417. package/dist/lib/ui/Pagination.d.ts +28 -0
  418. package/dist/lib/ui/Pagination.js +24 -0
  419. package/dist/lib/ui/Pagination.js.map +1 -0
  420. package/dist/lib/ui/Popover.d.ts +6 -0
  421. package/dist/lib/ui/Popover.js +10 -0
  422. package/dist/lib/ui/Popover.js.map +1 -0
  423. package/dist/lib/ui/Progress.d.ts +4 -0
  424. package/dist/lib/ui/Progress.js +8 -0
  425. package/dist/lib/ui/Progress.js.map +1 -0
  426. package/dist/lib/ui/RadioGroup.d.ts +5 -0
  427. package/dist/lib/ui/RadioGroup.js +15 -0
  428. package/dist/lib/ui/RadioGroup.js.map +1 -0
  429. package/dist/lib/ui/ScrollArea.d.ts +5 -0
  430. package/dist/lib/ui/ScrollArea.js +12 -0
  431. package/dist/lib/ui/ScrollArea.js.map +1 -0
  432. package/dist/lib/{components → ui}/Select.js +2 -2
  433. package/dist/lib/ui/Select.js.map +1 -0
  434. package/dist/lib/ui/Skeleton.d.ts +2 -0
  435. package/dist/lib/ui/Skeleton.js +7 -0
  436. package/dist/lib/ui/Skeleton.js.map +1 -0
  437. package/dist/lib/ui/Slider.d.ts +4 -0
  438. package/dist/lib/ui/Slider.js +8 -0
  439. package/dist/lib/ui/Slider.js.map +1 -0
  440. package/dist/lib/ui/Switch.d.ts +4 -0
  441. package/dist/lib/ui/Switch.js +8 -0
  442. package/dist/lib/ui/Switch.js.map +1 -0
  443. package/dist/lib/ui/Textarea.d.ts +4 -0
  444. package/dist/lib/ui/Textarea.js +9 -0
  445. package/dist/lib/ui/Textarea.js.map +1 -0
  446. package/dist/lib/ui/Toggle.d.ts +12 -0
  447. package/dist/lib/ui/Toggle.js +26 -0
  448. package/dist/lib/ui/Toggle.js.map +1 -0
  449. package/dist/lib/ui/ToggleGroup.d.ts +12 -0
  450. package/dist/lib/ui/ToggleGroup.js +21 -0
  451. package/dist/lib/ui/ToggleGroup.js.map +1 -0
  452. package/dist/lib/ui/Tooltip.d.ts +7 -0
  453. package/dist/lib/ui/Tooltip.js +11 -0
  454. package/dist/lib/ui/Tooltip.js.map +1 -0
  455. package/dist/lib/util/MdxComponents.d.ts +19 -20
  456. package/dist/lib/util/MdxComponents.js +3 -5
  457. package/dist/lib/util/MdxComponents.js.map +1 -1
  458. package/dist/lib/util/createVariantComponent.d.ts +2 -2
  459. package/dist/lib/util/invariant.d.ts +9 -0
  460. package/dist/lib/util/invariant.js +7 -3
  461. package/dist/lib/util/invariant.js.map +1 -1
  462. package/dist/lib/util/joinUrl.d.ts +1 -0
  463. package/dist/lib/util/joinUrl.js +40 -0
  464. package/dist/lib/util/joinUrl.js.map +1 -0
  465. package/dist/lib/util/joinUrl.test.d.ts +1 -0
  466. package/dist/lib/util/joinUrl.test.js +43 -0
  467. package/dist/lib/util/joinUrl.test.js.map +1 -0
  468. package/dist/lib/util/traverse.d.ts +9 -0
  469. package/dist/lib/util/traverse.js +22 -0
  470. package/dist/lib/util/traverse.js.map +1 -0
  471. package/dist/lib/util/useExposedProps.d.ts +2 -0
  472. package/dist/lib/util/useExposedProps.js +9 -0
  473. package/dist/lib/util/useExposedProps.js.map +1 -0
  474. package/dist/lib/util/useIsomorphicLayoutEffect.d.ts +3 -0
  475. package/dist/lib/util/useIsomorphicLayoutEffect.js +4 -0
  476. package/dist/lib/util/useIsomorphicLayoutEffect.js.map +1 -0
  477. package/dist/lib/util/useOnScreen.d.ts +4 -0
  478. package/dist/lib/util/useOnScreen.js +19 -0
  479. package/dist/lib/util/useOnScreen.js.map +1 -0
  480. package/dist/lib/util/useScrollToAnchor.d.ts +1 -0
  481. package/dist/lib/util/useScrollToAnchor.js +27 -16
  482. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  483. package/dist/lib/util/useScrollToTop.js +1 -1
  484. package/dist/lib/util/useScrollToTop.js.map +1 -1
  485. package/dist/vite/api/schema-codegen.d.ts +12 -0
  486. package/dist/vite/api/schema-codegen.js +62 -0
  487. package/dist/vite/api/schema-codegen.js.map +1 -0
  488. package/dist/vite/api/schema-codegen.test.d.ts +1 -0
  489. package/dist/vite/api/schema-codegen.test.js +247 -0
  490. package/dist/vite/api/schema-codegen.test.js.map +1 -0
  491. package/dist/vite/build.js +28 -10
  492. package/dist/vite/build.js.map +1 -1
  493. package/dist/vite/config.d.ts +6 -10
  494. package/dist/vite/config.js +100 -83
  495. package/dist/vite/config.js.map +1 -1
  496. package/dist/vite/config.test.js +11 -5
  497. package/dist/vite/config.test.js.map +1 -1
  498. package/dist/vite/css/collect.d.ts +2 -0
  499. package/dist/vite/css/collect.js +27 -0
  500. package/dist/vite/css/collect.js.map +1 -0
  501. package/dist/vite/css/plugin.d.ts +5 -0
  502. package/dist/vite/css/plugin.js +79 -0
  503. package/dist/vite/css/plugin.js.map +1 -0
  504. package/dist/vite/dev-server.d.ts +1 -0
  505. package/dist/vite/dev-server.js +27 -7
  506. package/dist/vite/dev-server.js.map +1 -1
  507. package/dist/vite/html.js +0 -2
  508. package/dist/vite/html.js.map +1 -1
  509. package/dist/vite/output.d.ts +101 -0
  510. package/dist/vite/output.js +62 -0
  511. package/dist/vite/output.js.map +1 -0
  512. package/dist/vite/plugin-api.d.ts +1 -1
  513. package/dist/vite/plugin-api.js +162 -22
  514. package/dist/vite/plugin-api.js.map +1 -1
  515. package/dist/vite/plugin-auth.js +4 -1
  516. package/dist/vite/plugin-auth.js.map +1 -1
  517. package/dist/vite/plugin-component.js +16 -11
  518. package/dist/vite/plugin-component.js.map +1 -1
  519. package/dist/vite/plugin-config-reload.d.ts +1 -2
  520. package/dist/vite/plugin-config-reload.js +0 -2
  521. package/dist/vite/plugin-config-reload.js.map +1 -1
  522. package/dist/vite/plugin-config.d.ts +2 -3
  523. package/dist/vite/plugin-config.js +22 -3
  524. package/dist/vite/plugin-config.js.map +1 -1
  525. package/dist/vite/plugin-docs.js +13 -2
  526. package/dist/vite/plugin-docs.js.map +1 -1
  527. package/dist/vite/plugin-docs.test.js +15 -23
  528. package/dist/vite/plugin-docs.test.js.map +1 -1
  529. package/dist/vite/plugin-frontmatter.d.ts +2 -1
  530. package/dist/vite/plugin-frontmatter.js +27 -24
  531. package/dist/vite/plugin-frontmatter.js.map +1 -1
  532. package/dist/vite/plugin-mdx.d.ts +0 -6
  533. package/dist/vite/plugin-mdx.js +85 -6
  534. package/dist/vite/plugin-mdx.js.map +1 -1
  535. package/dist/vite/plugin-search.d.ts +3 -0
  536. package/dist/vite/plugin-search.js +26 -0
  537. package/dist/vite/plugin-search.js.map +1 -0
  538. package/dist/vite/plugin-sidebar.js +4 -6
  539. package/dist/vite/plugin-sidebar.js.map +1 -1
  540. package/dist/vite/{plugin-custom-css.d.ts → plugin-theme-css.d.ts} +2 -2
  541. package/dist/vite/plugin-theme-css.js +114 -0
  542. package/dist/vite/plugin-theme-css.js.map +1 -0
  543. package/dist/vite/plugin.d.ts +1 -2
  544. package/dist/vite/plugin.js +10 -6
  545. package/dist/vite/plugin.js.map +1 -1
  546. package/dist/vite/prerender.d.ts +3 -2
  547. package/dist/vite/prerender.js +7 -6
  548. package/dist/vite/prerender.js.map +1 -1
  549. package/dist/vite/remarkStaticGeneration.d.ts +3 -0
  550. package/dist/vite/remarkStaticGeneration.js +125 -0
  551. package/dist/vite/remarkStaticGeneration.js.map +1 -0
  552. package/dist/vite/sitemap.d.ts +1 -1
  553. package/dist/zuplo/enrich-with-zuplo.d.ts +5 -0
  554. package/dist/zuplo/enrich-with-zuplo.js +184 -0
  555. package/dist/zuplo/enrich-with-zuplo.js.map +1 -0
  556. package/dist/zuplo/env.d.ts +7 -0
  557. package/dist/zuplo/env.js +12 -0
  558. package/dist/zuplo/env.js.map +1 -0
  559. package/dist/zuplo/policy-types.d.ts +33 -0
  560. package/dist/zuplo/policy-types.js +8 -0
  561. package/dist/zuplo/policy-types.js.map +1 -0
  562. package/dist/zuplo/with-zuplo-processors.d.ts +3 -0
  563. package/dist/zuplo/with-zuplo-processors.js +26 -0
  564. package/dist/zuplo/with-zuplo-processors.js.map +1 -0
  565. package/dist/zuplo/with-zuplo.d.ts +3 -0
  566. package/dist/zuplo/with-zuplo.js +9 -0
  567. package/dist/zuplo/with-zuplo.js.map +1 -0
  568. package/lib/AuthenticationPlugin-Du8cLBSr.js +58 -0
  569. package/lib/AuthenticationPlugin-Du8cLBSr.js.map +1 -0
  570. package/lib/CategoryHeading-MYL1u_6K.js +10 -0
  571. package/lib/{CategoryHeading-C7VfgpFZ.js.map → CategoryHeading-MYL1u_6K.js.map} +1 -1
  572. package/lib/ClientOnly-E7hGysn1.js +11 -0
  573. package/lib/ClientOnly-E7hGysn1.js.map +1 -0
  574. package/lib/Markdown-Cyrx_JrO.js +15212 -0
  575. package/lib/Markdown-Cyrx_JrO.js.map +1 -0
  576. package/lib/MdxPage-BuG8Tuwc.js +193 -0
  577. package/lib/MdxPage-BuG8Tuwc.js.map +1 -0
  578. package/lib/OpenApiRoute-UrC_t0e5.js +36 -0
  579. package/lib/OpenApiRoute-UrC_t0e5.js.map +1 -0
  580. package/lib/OperationList-CDt1xdc4.js +5169 -0
  581. package/lib/OperationList-CDt1xdc4.js.map +1 -0
  582. package/lib/Select-CnCZ4WhS.js +223 -0
  583. package/lib/Select-CnCZ4WhS.js.map +1 -0
  584. package/lib/SlotletProvider-mQiPDQIH.js +221 -0
  585. package/lib/SlotletProvider-mQiPDQIH.js.map +1 -0
  586. package/lib/Spinner-BlzrEEk1.js +51 -0
  587. package/lib/Spinner-BlzrEEk1.js.map +1 -0
  588. package/lib/SyntaxHighlight-B0L4SC_N.js +2986 -0
  589. package/lib/SyntaxHighlight-B0L4SC_N.js.map +1 -0
  590. package/lib/ZudokuContext-BTUJPpQl.js +1229 -0
  591. package/lib/ZudokuContext-BTUJPpQl.js.map +1 -0
  592. package/lib/_commonjsHelpers-BkfeUUK-.js +29 -0
  593. package/lib/_commonjsHelpers-BkfeUUK-.js.map +1 -0
  594. package/lib/chunk-SYFQ2XB5-BPvC-soB.js +1821 -0
  595. package/lib/chunk-SYFQ2XB5-BPvC-soB.js.map +1 -0
  596. package/lib/circular-DxaIIlWD.js +15409 -0
  597. package/lib/circular-DxaIIlWD.js.map +1 -0
  598. package/lib/cn-qaFjX9_3.js +2279 -0
  599. package/lib/cn-qaFjX9_3.js.map +1 -0
  600. package/lib/context-rwLGh-6_.js +22 -0
  601. package/lib/context-rwLGh-6_.js.map +1 -0
  602. package/lib/createServer-CjNktZzL.js +12603 -0
  603. package/lib/createServer-CjNktZzL.js.map +1 -0
  604. package/lib/hook-FT3SJLe_.js +227 -0
  605. package/lib/hook-FT3SJLe_.js.map +1 -0
  606. package/lib/index-B7mqiOei.js +509 -0
  607. package/lib/index-B7mqiOei.js.map +1 -0
  608. package/lib/{index-D06ATMgg.js → index-CjJS0l4l.js} +2 -2
  609. package/lib/{index-D06ATMgg.js.map → index-CjJS0l4l.js.map} +1 -1
  610. package/lib/index-Djenk2Hj.js +36 -0
  611. package/lib/index-Djenk2Hj.js.map +1 -0
  612. package/lib/{index-CkwDvuPt.js → index-Dl3Yl0yb.js} +303 -286
  613. package/lib/index-Dl3Yl0yb.js.map +1 -0
  614. package/lib/index-Eb1oiHbM.js +1997 -0
  615. package/lib/index-Eb1oiHbM.js.map +1 -0
  616. package/lib/index.esm-9-TF9KQB.js +692 -0
  617. package/lib/index.esm-9-TF9KQB.js.map +1 -0
  618. package/lib/index.esm-CrSoEshU.js +1207 -0
  619. package/lib/index.esm-CrSoEshU.js.map +1 -0
  620. package/lib/invariant-Caa8-XvF.js +26 -0
  621. package/lib/invariant-Caa8-XvF.js.map +1 -0
  622. package/lib/joinUrl-nLx9pD-Z.js +20 -0
  623. package/lib/joinUrl-nLx9pD-Z.js.map +1 -0
  624. package/lib/jsx-runtime-Bdg6XQ1m.js +446 -0
  625. package/lib/jsx-runtime-Bdg6XQ1m.js.map +1 -0
  626. package/lib/post-processors/removeExtensions.js +11 -0
  627. package/lib/post-processors/removeExtensions.js.map +1 -0
  628. package/lib/post-processors/removeParameters.js +48 -0
  629. package/lib/post-processors/removeParameters.js.map +1 -0
  630. package/lib/post-processors/removePaths.js +28 -0
  631. package/lib/post-processors/removePaths.js.map +1 -0
  632. package/lib/post-processors/traverse.js +15 -0
  633. package/lib/post-processors/traverse.js.map +1 -0
  634. package/lib/{prism-bash.min-DadFsM4Z.js → prism-bash.min-HHIMdNJ_.js} +4 -4
  635. package/lib/{prism-bash.min-DadFsM4Z.js.map → prism-bash.min-HHIMdNJ_.js.map} +1 -1
  636. package/lib/prism-csharp.min-bQAo2pmx.js +63 -0
  637. package/lib/{prism-csharp.min-Yizuc34Y.js.map → prism-csharp.min-bQAo2pmx.js.map} +1 -1
  638. package/lib/prism-java.min-BpvsOuIa.js +35 -0
  639. package/lib/{prism-java.min-d5iT_mOd.js.map → prism-java.min-BpvsOuIa.js.map} +1 -1
  640. package/lib/{prism-markdown.min-F3U-vPBi.js → prism-markdown.min-C0Qn0m-5.js} +30 -30
  641. package/lib/{prism-markdown.min-F3U-vPBi.js.map → prism-markdown.min-C0Qn0m-5.js.map} +1 -1
  642. package/lib/prism-markup-BNGj0Tvm.js.map +1 -1
  643. package/lib/prism-ruby.min-Dx9KO9ds.js +38 -0
  644. package/lib/{prism-ruby.min-C7LwcKyz.js.map → prism-ruby.min-Dx9KO9ds.js.map} +1 -1
  645. package/lib/prism-typescript.min-CD7H2IYQ.js +34 -0
  646. package/lib/{prism-typescript.min-oSVeWCAd.js.map → prism-typescript.min-CD7H2IYQ.js.map} +1 -1
  647. package/lib/state-mM7uaXTW.js +202 -0
  648. package/lib/state-mM7uaXTW.js.map +1 -0
  649. package/lib/ui/Accordion.js +47 -0
  650. package/lib/ui/Accordion.js.map +1 -0
  651. package/lib/ui/ActionButton.js +24 -0
  652. package/lib/ui/ActionButton.js.map +1 -0
  653. package/lib/ui/Alert.js +51 -0
  654. package/lib/ui/Alert.js.map +1 -0
  655. package/lib/ui/AlertDialog.js +114 -0
  656. package/lib/ui/AlertDialog.js.map +1 -0
  657. package/lib/ui/AspectRatio.js +6 -0
  658. package/lib/ui/AspectRatio.js.map +1 -0
  659. package/lib/ui/Badge.js +28 -0
  660. package/lib/ui/Badge.js.map +1 -0
  661. package/lib/ui/Breadcrumb.js +94 -0
  662. package/lib/ui/Breadcrumb.js.map +1 -0
  663. package/lib/ui/Button.js +49 -0
  664. package/lib/ui/Button.js.map +1 -0
  665. package/lib/ui/Callout.js +77 -0
  666. package/lib/ui/Callout.js.map +1 -0
  667. package/lib/ui/Card.js +62 -0
  668. package/lib/ui/Card.js.map +1 -0
  669. package/lib/ui/Carousel.js +1416 -0
  670. package/lib/ui/Carousel.js.map +1 -0
  671. package/lib/ui/Checkbox.js +39 -0
  672. package/lib/ui/Checkbox.js.map +1 -0
  673. package/lib/ui/Collapsible.js +8 -0
  674. package/lib/ui/Collapsible.js.map +1 -0
  675. package/lib/ui/Command.js +129 -0
  676. package/lib/ui/Command.js.map +1 -0
  677. package/lib/ui/Dialog.js +101 -0
  678. package/lib/ui/Dialog.js.map +1 -0
  679. package/lib/ui/Drawer.js +1154 -0
  680. package/lib/ui/Drawer.js.map +1 -0
  681. package/lib/ui/DropdownMenu.js +145 -0
  682. package/lib/ui/DropdownMenu.js.map +1 -0
  683. package/lib/ui/Form.js +95 -0
  684. package/lib/ui/Form.js.map +1 -0
  685. package/lib/ui/HoverCard.js +24 -0
  686. package/lib/ui/HoverCard.js.map +1 -0
  687. package/lib/ui/Input.js +22 -0
  688. package/lib/ui/Input.js.map +1 -0
  689. package/lib/ui/Label.js +20 -0
  690. package/lib/ui/Label.js.map +1 -0
  691. package/lib/ui/Pagination.js +106 -0
  692. package/lib/ui/Pagination.js.map +1 -0
  693. package/lib/ui/Popover.js +24 -0
  694. package/lib/ui/Popover.js.map +1 -0
  695. package/lib/ui/Progress.js +27 -0
  696. package/lib/ui/Progress.js.map +1 -0
  697. package/lib/ui/RadioGroup.js +32 -0
  698. package/lib/ui/RadioGroup.js.map +1 -0
  699. package/lib/ui/ScrollArea.js +39 -0
  700. package/lib/ui/ScrollArea.js.map +1 -0
  701. package/lib/ui/Select.js +122 -0
  702. package/lib/ui/Select.js.map +1 -0
  703. package/lib/ui/Skeleton.js +18 -0
  704. package/lib/ui/Skeleton.js.map +1 -0
  705. package/lib/ui/Slider.js +24 -0
  706. package/lib/ui/Slider.js.map +1 -0
  707. package/lib/ui/Switch.js +28 -0
  708. package/lib/ui/Switch.js.map +1 -0
  709. package/lib/ui/Tabs.js +47 -0
  710. package/lib/ui/Tabs.js.map +1 -0
  711. package/lib/ui/Textarea.js +21 -0
  712. package/lib/ui/Textarea.js.map +1 -0
  713. package/lib/ui/Toggle.js +38 -0
  714. package/lib/ui/Toggle.js.map +1 -0
  715. package/lib/ui/ToggleGroup.js +42 -0
  716. package/lib/ui/ToggleGroup.js.map +1 -0
  717. package/lib/ui/Tooltip.js +24 -0
  718. package/lib/ui/Tooltip.js.map +1 -0
  719. package/lib/useExposedProps-BLKFBylA.js +9 -0
  720. package/lib/useExposedProps-BLKFBylA.js.map +1 -0
  721. package/lib/useScrollToAnchor-BZsGmBng.js +284 -0
  722. package/lib/useScrollToAnchor-BZsGmBng.js.map +1 -0
  723. package/lib/zudoku.auth-auth0.js +24 -20
  724. package/lib/zudoku.auth-auth0.js.map +1 -1
  725. package/lib/zudoku.auth-clerk.js +79 -51
  726. package/lib/zudoku.auth-clerk.js.map +1 -1
  727. package/lib/zudoku.auth-openid.js +610 -617
  728. package/lib/zudoku.auth-openid.js.map +1 -1
  729. package/lib/zudoku.components.js +1009 -3237
  730. package/lib/zudoku.components.js.map +1 -1
  731. package/lib/zudoku.plugin-api-catalog.js +123 -0
  732. package/lib/zudoku.plugin-api-catalog.js.map +1 -0
  733. package/lib/zudoku.plugin-api-keys.js +72 -78
  734. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  735. package/lib/zudoku.plugin-custom-pages.js +17 -8
  736. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  737. package/lib/zudoku.plugin-markdown.js +16 -15
  738. package/lib/zudoku.plugin-markdown.js.map +1 -1
  739. package/lib/zudoku.plugin-openapi.js +8 -11
  740. package/lib/zudoku.plugin-openapi.js.map +1 -1
  741. package/lib/zudoku.plugin-redirect.js +2 -2
  742. package/lib/zudoku.plugin-redirect.js.map +1 -1
  743. package/lib/zudoku.plugin-search-inkeep.js +53 -28
  744. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  745. package/package.json +120 -70
  746. package/src/app/demo.tsx +1 -5
  747. package/src/app/entry.client.tsx +16 -1
  748. package/src/app/entry.server.tsx +62 -55
  749. package/src/app/main.css +58 -46
  750. package/src/app/main.tsx +38 -18
  751. package/src/app/sentry.ts +24 -0
  752. package/src/app/standalone.tsx +1 -5
  753. package/src/app/tailwind.ts +67 -52
  754. package/src/lib/authentication/AuthenticationPlugin.tsx +4 -1
  755. package/src/lib/authentication/authentication.ts +3 -3
  756. package/src/lib/authentication/components/CallbackHandler.tsx +20 -51
  757. package/src/lib/authentication/components/SignIn.tsx +1 -1
  758. package/src/lib/authentication/components/SignOut.tsx +3 -2
  759. package/src/lib/authentication/hook.ts +1 -3
  760. package/src/lib/authentication/providers/auth0.tsx +17 -14
  761. package/src/lib/authentication/providers/clerk.tsx +38 -7
  762. package/src/lib/authentication/providers/openid.tsx +41 -40
  763. package/src/lib/authentication/state.ts +50 -9
  764. package/{LICENSE.md → src/lib/authentication/use-broadcast/LICENSE.md} +2 -2
  765. package/src/lib/authentication/use-broadcast/shared.ts +372 -0
  766. package/src/lib/authentication/use-broadcast/useBroadcast.ts +146 -0
  767. package/src/lib/components/AnchorLink.tsx +6 -3
  768. package/src/lib/components/Autocomplete.tsx +111 -0
  769. package/src/lib/components/Bootstrap.tsx +36 -16
  770. package/src/lib/components/ClientOnly.tsx +6 -3
  771. package/src/lib/components/DeveloperHint.tsx +6 -1
  772. package/src/lib/components/Header.tsx +89 -50
  773. package/src/lib/components/Heading.tsx +13 -13
  774. package/src/lib/components/Layout.tsx +55 -38
  775. package/src/lib/components/Markdown.tsx +15 -16
  776. package/src/lib/components/MobileTopNavigation.tsx +30 -27
  777. package/src/lib/components/NotFoundPage.tsx +1 -1
  778. package/src/lib/components/PathRenderer.tsx +59 -0
  779. package/src/lib/components/ReactMarkdown.license.txt +21 -0
  780. package/src/lib/components/ReactMarkdown.tsx +264 -0
  781. package/src/lib/components/Search.tsx +4 -4
  782. package/src/lib/components/SlotletProvider.tsx +16 -7
  783. package/src/lib/components/StatusPage.tsx +91 -0
  784. package/src/lib/components/SyntaxHighlight.tsx +99 -50
  785. package/src/lib/components/ThemeSwitch.tsx +26 -0
  786. package/src/lib/components/TopNavigation.tsx +41 -20
  787. package/src/lib/components/Zudoku.tsx +108 -0
  788. package/src/lib/components/cache.ts +15 -0
  789. package/src/lib/components/context/ViewportAnchorContext.tsx +20 -6
  790. package/src/lib/components/context/ZudokuContext.ts +15 -18
  791. package/src/lib/components/context/ZudokuProvider.tsx +2 -2
  792. package/src/lib/components/index.ts +27 -6
  793. package/src/lib/components/navigation/Sidebar.tsx +20 -10
  794. package/src/lib/components/navigation/SidebarBadge.tsx +13 -11
  795. package/src/lib/components/navigation/SidebarCategory.tsx +52 -44
  796. package/src/lib/components/navigation/SidebarItem.tsx +24 -28
  797. package/src/lib/components/navigation/SidebarWrapper.tsx +3 -2
  798. package/src/lib/components/navigation/utils.ts +3 -3
  799. package/src/lib/core/RouteGuard.tsx +35 -0
  800. package/src/lib/core/{DevPortalContext.ts → ZudokuContext.ts} +13 -20
  801. package/src/lib/core/plugins.ts +17 -17
  802. package/src/lib/errors/ErrorAlert.tsx +20 -6
  803. package/src/lib/errors/RouterError.tsx +1 -1
  804. package/src/lib/oas/graphql/circular.ts +50 -0
  805. package/src/lib/oas/graphql/index.ts +113 -69
  806. package/src/lib/oas/parser/dereference/index.ts +8 -4
  807. package/src/lib/oas/parser/upgrade/index.ts +22 -28
  808. package/src/lib/plugins/api-catalog/Catalog.tsx +123 -0
  809. package/src/lib/plugins/api-catalog/index.tsx +64 -0
  810. package/src/lib/plugins/api-keys/CreateApiKey.tsx +3 -3
  811. package/src/lib/plugins/api-keys/ProtectedRoute.tsx +1 -1
  812. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +1 -1
  813. package/src/lib/plugins/api-keys/index.tsx +13 -10
  814. package/src/lib/plugins/custom-pages/CustomPage.tsx +18 -0
  815. package/src/lib/plugins/custom-pages/index.tsx +14 -12
  816. package/src/lib/plugins/markdown/MdxPage.tsx +46 -10
  817. package/src/lib/plugins/markdown/index.tsx +7 -4
  818. package/src/lib/plugins/markdown/resolver.ts +2 -4
  819. package/src/lib/plugins/openapi/CollapsibleCode.tsx +83 -0
  820. package/src/lib/plugins/openapi/ColorizedParam.tsx +49 -23
  821. package/src/lib/plugins/openapi/Endpoint.tsx +10 -15
  822. package/src/lib/plugins/openapi/OpenApiRoute.tsx +51 -0
  823. package/src/lib/plugins/openapi/OperationList.tsx +116 -54
  824. package/src/lib/plugins/openapi/OperationListItem.tsx +39 -5
  825. package/src/lib/plugins/openapi/ParameterListItem.tsx +36 -31
  826. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +7 -0
  827. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +15 -33
  828. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +46 -58
  829. package/src/lib/plugins/openapi/Sidecar.tsx +105 -107
  830. package/src/lib/plugins/openapi/SidecarBox.tsx +4 -16
  831. package/src/lib/plugins/openapi/SidecarExamples.tsx +163 -0
  832. package/src/lib/plugins/openapi/client/GraphQLClient.tsx +65 -0
  833. package/src/lib/plugins/openapi/client/GraphQLContext.tsx +16 -0
  834. package/src/lib/plugins/openapi/client/createServer.ts +8 -2
  835. package/src/lib/plugins/openapi/client/useCreateQuery.ts +18 -0
  836. package/src/lib/plugins/openapi/context.tsx +2 -2
  837. package/src/lib/plugins/openapi/graphql/fragment-masking.ts +11 -18
  838. package/src/lib/plugins/openapi/graphql/gql.ts +19 -28
  839. package/src/lib/plugins/openapi/graphql/graphql.ts +284 -690
  840. package/src/lib/plugins/openapi/index.tsx +147 -109
  841. package/src/lib/plugins/openapi/interfaces.ts +32 -2
  842. package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +54 -0
  843. package/src/lib/plugins/openapi/playground/Headers.tsx +137 -39
  844. package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +8 -0
  845. package/src/lib/plugins/openapi/playground/PathParams.tsx +30 -61
  846. package/src/lib/plugins/openapi/playground/Playground.tsx +257 -211
  847. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +3 -3
  848. package/src/lib/plugins/openapi/playground/QueryParams.tsx +77 -80
  849. package/src/lib/plugins/openapi/playground/SubmitButton.tsx +75 -0
  850. package/src/lib/plugins/openapi/playground/result-panel/RequestTab.tsx +73 -0
  851. package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +210 -0
  852. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +101 -0
  853. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.test.ts +64 -0
  854. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +36 -0
  855. package/src/lib/plugins/openapi/post-processors/removeExtensions.test.ts +202 -0
  856. package/src/lib/plugins/openapi/post-processors/removeExtensions.ts +27 -0
  857. package/src/lib/plugins/openapi/post-processors/removeParameters.test.ts +148 -0
  858. package/src/lib/plugins/openapi/post-processors/removeParameters.ts +101 -0
  859. package/src/lib/plugins/openapi/post-processors/removePaths.test.ts +126 -0
  860. package/src/lib/plugins/openapi/post-processors/removePaths.ts +55 -0
  861. package/src/lib/plugins/openapi/post-processors/traverse.ts +1 -0
  862. package/src/lib/plugins/openapi/schema/{SchemaComponents.tsx → SchemaPropertyItem.tsx} +34 -9
  863. package/src/lib/plugins/openapi/schema/SchemaView.tsx +9 -3
  864. package/src/lib/plugins/openapi/schema/utils.ts +4 -0
  865. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +44 -43
  866. package/src/lib/plugins/openapi/util/methodToColor.ts +27 -0
  867. package/src/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.tsx +32 -0
  868. package/src/lib/plugins/redirect/index.tsx +6 -10
  869. package/src/lib/plugins/search-inkeep/index.tsx +80 -25
  870. package/src/lib/plugins/search-inkeep/inkeep.ts +3 -9
  871. package/src/lib/ui/Accordion.tsx +56 -0
  872. package/src/lib/ui/ActionButton.tsx +28 -0
  873. package/src/lib/ui/{Note.tsx → Alert.tsx} +11 -10
  874. package/src/lib/ui/AlertDialog.tsx +139 -0
  875. package/src/lib/ui/AspectRatio.tsx +5 -0
  876. package/src/lib/ui/Badge.tsx +37 -0
  877. package/src/lib/ui/Breadcrumb.tsx +115 -0
  878. package/src/lib/ui/Button.tsx +1 -1
  879. package/src/lib/ui/Card.tsx +1 -1
  880. package/src/lib/ui/Carousel.tsx +260 -0
  881. package/src/lib/ui/Checkbox.tsx +45 -0
  882. package/src/lib/ui/Collapsible.tsx +9 -0
  883. package/src/lib/ui/Command.tsx +171 -0
  884. package/src/lib/{components → ui}/Dialog.tsx +4 -3
  885. package/src/lib/ui/Form.tsx +177 -0
  886. package/src/lib/ui/HoverCard.tsx +27 -0
  887. package/src/lib/ui/Label.tsx +24 -0
  888. package/src/lib/ui/Pagination.tsx +117 -0
  889. package/src/lib/ui/Popover.tsx +29 -0
  890. package/src/lib/ui/Progress.tsx +26 -0
  891. package/src/lib/ui/RadioGroup.tsx +42 -0
  892. package/src/lib/ui/ScrollArea.tsx +46 -0
  893. package/src/lib/{components → ui}/Select.tsx +1 -1
  894. package/src/lib/ui/Skeleton.tsx +15 -0
  895. package/src/lib/ui/Slider.tsx +26 -0
  896. package/src/lib/ui/Switch.tsx +27 -0
  897. package/src/lib/ui/Textarea.tsx +23 -0
  898. package/src/lib/ui/Toggle.tsx +43 -0
  899. package/src/lib/ui/ToggleGroup.tsx +59 -0
  900. package/src/lib/ui/Tooltip.tsx +28 -0
  901. package/src/lib/util/MdxComponents.tsx +5 -10
  902. package/src/lib/util/createVariantComponent.tsx +2 -2
  903. package/src/lib/util/invariant.ts +15 -3
  904. package/src/lib/util/joinUrl.test.ts +62 -0
  905. package/src/lib/util/joinUrl.ts +57 -0
  906. package/src/lib/util/traverse.ts +35 -0
  907. package/src/lib/util/useExposedProps.tsx +16 -0
  908. package/src/lib/util/useIsomorphicLayoutEffect.ts +5 -0
  909. package/src/lib/util/useOnScreen.ts +32 -0
  910. package/src/lib/util/useScrollToAnchor.ts +33 -16
  911. package/src/lib/util/useScrollToTop.ts +1 -1
  912. package/dist/internal.d.ts +0 -1
  913. package/dist/internal.js +0 -2
  914. package/dist/internal.js.map +0 -1
  915. package/dist/lib/components/DevPortal.js.map +0 -1
  916. package/dist/lib/components/Dialog.js.map +0 -1
  917. package/dist/lib/components/Select.js.map +0 -1
  918. package/dist/lib/components/context/ThemeContext.d.ts +0 -2
  919. package/dist/lib/components/context/ThemeContext.js +0 -7
  920. package/dist/lib/components/context/ThemeContext.js.map +0 -1
  921. package/dist/lib/components/context/ThemeProvider.d.ts +0 -4
  922. package/dist/lib/components/context/ThemeProvider.js +0 -23
  923. package/dist/lib/components/context/ThemeProvider.js.map +0 -1
  924. package/dist/lib/core/DevPortalContext.js.map +0 -1
  925. package/dist/lib/plugins/openapi/Route.d.ts +0 -6
  926. package/dist/lib/plugins/openapi/Route.js +0 -8
  927. package/dist/lib/plugins/openapi/Route.js.map +0 -1
  928. package/dist/lib/plugins/openapi/client/createMemoryClient.d.ts +0 -12
  929. package/dist/lib/plugins/openapi/client/createMemoryClient.js +0 -46
  930. package/dist/lib/plugins/openapi/client/createMemoryClient.js.map +0 -1
  931. package/dist/lib/plugins/openapi/client/createWorkerClient.d.ts +0 -10
  932. package/dist/lib/plugins/openapi/client/createWorkerClient.js +0 -61
  933. package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +0 -1
  934. package/dist/lib/plugins/openapi/client/interfaces.d.ts +0 -4
  935. package/dist/lib/plugins/openapi/client/interfaces.js +0 -2
  936. package/dist/lib/plugins/openapi/client/interfaces.js.map +0 -1
  937. package/dist/lib/plugins/openapi/client/worker.js +0 -20
  938. package/dist/lib/plugins/openapi/client/worker.js.map +0 -1
  939. package/dist/lib/plugins/openapi/playground/ResponseTab.d.ts +0 -4
  940. package/dist/lib/plugins/openapi/playground/ResponseTab.js +0 -42
  941. package/dist/lib/plugins/openapi/playground/ResponseTab.js.map +0 -1
  942. package/dist/lib/plugins/openapi/schema/SchemaComponents.js +0 -28
  943. package/dist/lib/plugins/openapi/schema/SchemaComponents.js.map +0 -1
  944. package/dist/lib/plugins/openapi-worker.d.ts +0 -1
  945. package/dist/lib/plugins/openapi-worker.js +0 -2
  946. package/dist/lib/plugins/openapi-worker.js.map +0 -1
  947. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.d.ts +0 -2
  948. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js +0 -3
  949. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js.map +0 -1
  950. package/dist/lib/themeToggle.d.ts +0 -1
  951. package/dist/lib/themeToggle.js +0 -7
  952. package/dist/lib/themeToggle.js.map +0 -1
  953. package/dist/lib/ui/Note.d.ts +0 -8
  954. package/dist/lib/ui/Note.js +0 -23
  955. package/dist/lib/ui/Note.js.map +0 -1
  956. package/dist/lib/util/createWaitForNotify.d.ts +0 -1
  957. package/dist/lib/util/createWaitForNotify.js +0 -15
  958. package/dist/lib/util/createWaitForNotify.js.map +0 -1
  959. package/dist/vite/plugin-custom-css.js +0 -55
  960. package/dist/vite/plugin-custom-css.js.map +0 -1
  961. package/dist/vite/plugin-html-transform.d.ts +0 -2
  962. package/dist/vite/plugin-html-transform.js +0 -15
  963. package/dist/vite/plugin-html-transform.js.map +0 -1
  964. package/lib/AnchorLink-DovtSBJk.js +0 -705
  965. package/lib/AnchorLink-DovtSBJk.js.map +0 -1
  966. package/lib/AuthenticationPlugin-Cnqy9csQ.js +0 -55
  967. package/lib/AuthenticationPlugin-Cnqy9csQ.js.map +0 -1
  968. package/lib/CategoryHeading-C7VfgpFZ.js +0 -10
  969. package/lib/DeveloperHint-CNyuFROc.js +0 -16
  970. package/lib/DeveloperHint-CNyuFROc.js.map +0 -1
  971. package/lib/ErrorPage-CUz-Zzmx.js +0 -16
  972. package/lib/ErrorPage-CUz-Zzmx.js.map +0 -1
  973. package/lib/InkeepCustomTrigger-CE5-K5ex.js +0 -6
  974. package/lib/InkeepCustomTrigger-CE5-K5ex.js.map +0 -1
  975. package/lib/Input-x-t53FyR.js +0 -2229
  976. package/lib/Input-x-t53FyR.js.map +0 -1
  977. package/lib/Markdown-C-0TaxoY.js +0 -20441
  978. package/lib/Markdown-C-0TaxoY.js.map +0 -1
  979. package/lib/MdxPage-C5I9c7R1.js +0 -173
  980. package/lib/MdxPage-C5I9c7R1.js.map +0 -1
  981. package/lib/OperationList-qsBOguHS.js +0 -601
  982. package/lib/OperationList-qsBOguHS.js.map +0 -1
  983. package/lib/Route-DlKvXPAO.js +0 -13
  984. package/lib/Route-DlKvXPAO.js.map +0 -1
  985. package/lib/SidebarBadge-DaA0-bFW.js +0 -503
  986. package/lib/SidebarBadge-DaA0-bFW.js.map +0 -1
  987. package/lib/SlotletProvider-BGEs7yyu.js +0 -240
  988. package/lib/SlotletProvider-BGEs7yyu.js.map +0 -1
  989. package/lib/Spinner-3cQDBVGr.js +0 -7
  990. package/lib/Spinner-3cQDBVGr.js.map +0 -1
  991. package/lib/ZudokuContext-DSipF8sq.js +0 -1222
  992. package/lib/ZudokuContext-DSipF8sq.js.map +0 -1
  993. package/lib/assets/index-B_Jk_Yzp.js +0 -4820
  994. package/lib/assets/index-B_Jk_Yzp.js.map +0 -1
  995. package/lib/assets/worker-DaFlmuyf.js +0 -18111
  996. package/lib/assets/worker-DaFlmuyf.js.map +0 -1
  997. package/lib/index-BIl-R3aH.js +0 -5952
  998. package/lib/index-BIl-R3aH.js.map +0 -1
  999. package/lib/index-CKmSo0py.js +0 -124
  1000. package/lib/index-CKmSo0py.js.map +0 -1
  1001. package/lib/index-CkwDvuPt.js.map +0 -1
  1002. package/lib/index-DJqnphbT.js +0 -35
  1003. package/lib/index-DJqnphbT.js.map +0 -1
  1004. package/lib/index-Dssw7Gff.js +0 -2867
  1005. package/lib/index-Dssw7Gff.js.map +0 -1
  1006. package/lib/index-SrtqdZ3j.js +0 -1781
  1007. package/lib/index-SrtqdZ3j.js.map +0 -1
  1008. package/lib/jsx-runtime-B6kdoens.js +0 -635
  1009. package/lib/jsx-runtime-B6kdoens.js.map +0 -1
  1010. package/lib/prism-csharp.min-Yizuc34Y.js +0 -35
  1011. package/lib/prism-java.min-d5iT_mOd.js +0 -7
  1012. package/lib/prism-markup-templating-DZrrEs0A.js +0 -62
  1013. package/lib/prism-markup-templating-DZrrEs0A.js.map +0 -1
  1014. package/lib/prism-php.min-o7FpoMP_.js +0 -11
  1015. package/lib/prism-php.min-o7FpoMP_.js.map +0 -1
  1016. package/lib/prism-ruby.min-C7LwcKyz.js +0 -10
  1017. package/lib/prism-typescript.min-oSVeWCAd.js +0 -6
  1018. package/lib/router-Oe6YmY6B.js +0 -3024
  1019. package/lib/router-Oe6YmY6B.js.map +0 -1
  1020. package/lib/state-CsuHT8ZO.js +0 -183
  1021. package/lib/state-CsuHT8ZO.js.map +0 -1
  1022. package/lib/urql-core-KJnLL26g.js +0 -1455
  1023. package/lib/urql-core-KJnLL26g.js.map +0 -1
  1024. package/lib/zudoku.openapi-worker.js +0 -16255
  1025. package/lib/zudoku.openapi-worker.js.map +0 -1
  1026. package/src/lib/components/DevPortal.tsx +0 -111
  1027. package/src/lib/components/context/ThemeContext.tsx +0 -8
  1028. package/src/lib/components/context/ThemeProvider.tsx +0 -27
  1029. package/src/lib/plugins/openapi/Route.tsx +0 -20
  1030. package/src/lib/plugins/openapi/client/createMemoryClient.ts +0 -51
  1031. package/src/lib/plugins/openapi/client/createWorkerClient.ts +0 -75
  1032. package/src/lib/plugins/openapi/client/interfaces.ts +0 -5
  1033. package/src/lib/plugins/openapi/client/worker.ts +0 -30
  1034. package/src/lib/plugins/openapi/playground/ResponseTab.tsx +0 -76
  1035. package/src/lib/plugins/openapi-worker.ts +0 -1
  1036. package/src/lib/plugins/search-inkeep/InkeepCustomTrigger.tsx +0 -3
  1037. package/src/lib/themeToggle.ts +0 -7
  1038. package/src/lib/util/createWaitForNotify.ts +0 -18
  1039. /package/dist/lib/plugins/openapi/{client/worker.d.ts → playground/result-panel/convertToTypes.test.d.ts} +0 -0
  1040. /package/dist/lib/plugins/openapi/schema/{SchemaComponents.d.ts → SchemaPropertyItem.d.ts} +0 -0
  1041. /package/dist/lib/{components → ui}/Dialog.d.ts +0 -0
  1042. /package/dist/lib/{components → ui}/Select.d.ts +0 -0
@@ -0,0 +1,2986 @@
1
+ import { j as I } from "./jsx-runtime-Bdg6XQ1m.js";
2
+ import * as _ from "react";
3
+ import { createElement as he, useCallback as V, useMemo as ve, useState as ke } from "react";
4
+ import { a as ce, c as ae } from "./cn-qaFjX9_3.js";
5
+ import { CheckIcon as we, CopyIcon as Ee } from "lucide-react";
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
+ }
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) => {
13
+ for (var a in t || (t = {}))
14
+ Q.call(t, a) && ne(e, a, t[a]);
15
+ if (Z)
16
+ for (var a of Z(t))
17
+ de.call(t, a) && ne(e, a, t[a]);
18
+ return e;
19
+ }, q = (e, t) => Ae(e, Fe(t)), ge = (e, t) => {
20
+ var a = {};
21
+ for (var l in e)
22
+ Q.call(e, l) && t.indexOf(l) < 0 && (a[l] = e[l]);
23
+ if (e != null && Z)
24
+ for (var l of Z(e))
25
+ t.indexOf(l) < 0 && de.call(e, l) && (a[l] = e[l]);
26
+ return a;
27
+ }, Re = (e, t) => function() {
28
+ return t || (0, e[pe(e)[0]])((t = { exports: {} }).exports, t), t.exports;
29
+ }, Ie = (e, t) => {
30
+ for (var a in t)
31
+ W(e, a, { get: t[a], enumerable: !0 });
32
+ }, Le = (e, t, a, l) => {
33
+ if (t && typeof t == "object" || typeof t == "function")
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 });
36
+ return e;
37
+ }, Oe = (e, t, a) => (a = e != null ? Se(Te(e)) : {}, Le(
38
+ // If the importer is in node compatibility mode or this is not an ESM
39
+ // file that has been converted to a CommonJS file using a Babel-
40
+ // compatible transform (i.e. "__esModule" has not been set), then set
41
+ // "default" to the CommonJS "module.exports" for node compatibility.
42
+ !e || !e.__esModule ? W(a, "default", { value: e, enumerable: !0 }) : a,
43
+ e
44
+ )), Ce = Re({
45
+ "../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e, t) {
46
+ var a = function() {
47
+ var l = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, d = 0, h = {}, u = {
48
+ /**
49
+ * A namespace for utility methods.
50
+ *
51
+ * All function in this namespace that are not explicitly marked as _public_ are for __internal use only__ and may
52
+ * change or disappear at any time.
53
+ *
54
+ * @namespace
55
+ * @memberof Prism
56
+ */
57
+ util: {
58
+ encode: function n(r) {
59
+ return r instanceof m ? new m(r.type, n(r.content), r.alias) : Array.isArray(r) ? r.map(n) : r.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/\u00a0/g, " ");
60
+ },
61
+ /**
62
+ * Returns the name of the type of the given value.
63
+ *
64
+ * @param {any} o
65
+ * @returns {string}
66
+ * @example
67
+ * type(null) === 'Null'
68
+ * type(undefined) === 'Undefined'
69
+ * type(123) === 'Number'
70
+ * type('foo') === 'String'
71
+ * type(true) === 'Boolean'
72
+ * type([1, 2]) === 'Array'
73
+ * type({}) === 'Object'
74
+ * type(String) === 'Function'
75
+ * type(/abc+/) === 'RegExp'
76
+ */
77
+ type: function(n) {
78
+ return Object.prototype.toString.call(n).slice(8, -1);
79
+ },
80
+ /**
81
+ * Returns a unique number for the given object. Later calls will still return the same number.
82
+ *
83
+ * @param {Object} obj
84
+ * @returns {number}
85
+ */
86
+ objId: function(n) {
87
+ return n.__id || Object.defineProperty(n, "__id", { value: ++d }), n.__id;
88
+ },
89
+ /**
90
+ * Creates a deep clone of the given object.
91
+ *
92
+ * The main intended use of this function is to clone language definitions.
93
+ *
94
+ * @param {T} o
95
+ * @param {Record<number, any>} [visited]
96
+ * @returns {T}
97
+ * @template T
98
+ */
99
+ clone: function n(r, s) {
100
+ s = s || {};
101
+ var p, i;
102
+ switch (u.util.type(r)) {
103
+ case "Object":
104
+ if (i = u.util.objId(r), s[i])
105
+ return s[i];
106
+ p = /** @type {Record<string, any>} */
107
+ {}, s[i] = p;
108
+ for (var f in r)
109
+ r.hasOwnProperty(f) && (p[f] = n(r[f], s));
110
+ return (
111
+ /** @type {any} */
112
+ p
113
+ );
114
+ case "Array":
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);
117
+ }), /** @type {any} */
118
+ p);
119
+ default:
120
+ return r;
121
+ }
122
+ },
123
+ /**
124
+ * Returns the Prism language of the given element set by a `language-xxxx` or `lang-xxxx` class.
125
+ *
126
+ * If no language is set for the element or the element is `null` or `undefined`, `none` will be returned.
127
+ *
128
+ * @param {Element} element
129
+ * @returns {string}
130
+ */
131
+ getLanguage: function(n) {
132
+ for (; n; ) {
133
+ var r = l.exec(n.className);
134
+ if (r)
135
+ return r[1].toLowerCase();
136
+ n = n.parentElement;
137
+ }
138
+ return "none";
139
+ },
140
+ /**
141
+ * Sets the Prism `language-xxxx` class of the given element.
142
+ *
143
+ * @param {Element} element
144
+ * @param {string} language
145
+ * @returns {void}
146
+ */
147
+ setLanguage: function(n, r) {
148
+ n.className = n.className.replace(RegExp(l, "gi"), ""), n.classList.add("language-" + r);
149
+ },
150
+ /**
151
+ * Returns whether a given class is active for `element`.
152
+ *
153
+ * The class can be activated if `element` or one of its ancestors has the given class and it can be deactivated
154
+ * if `element` or one of its ancestors has the negated version of the given class. The _negated version_ of the
155
+ * given class is just the given class with a `no-` prefix.
156
+ *
157
+ * Whether the class is active is determined by the closest ancestor of `element` (where `element` itself is
158
+ * closest ancestor) that has the given class or the negated version of it. If neither `element` nor any of its
159
+ * ancestors have the given class or the negated version of it, then the default activation will be returned.
160
+ *
161
+ * In the paradoxical situation where the closest ancestor contains __both__ the given class and the negated
162
+ * version of it, the class is considered active.
163
+ *
164
+ * @param {Element} element
165
+ * @param {string} className
166
+ * @param {boolean} [defaultActivation=false]
167
+ * @returns {boolean}
168
+ */
169
+ isActive: function(n, r, s) {
170
+ for (var p = "no-" + r; n; ) {
171
+ var i = n.classList;
172
+ if (i.contains(r))
173
+ return !0;
174
+ if (i.contains(p))
175
+ return !1;
176
+ n = n.parentElement;
177
+ }
178
+ return !!s;
179
+ }
180
+ },
181
+ /**
182
+ * This namespace contains all currently loaded languages and the some helper functions to create and modify languages.
183
+ *
184
+ * @namespace
185
+ * @memberof Prism
186
+ * @public
187
+ */
188
+ languages: {
189
+ /**
190
+ * The grammar for plain, unformatted text.
191
+ */
192
+ plain: h,
193
+ plaintext: h,
194
+ text: h,
195
+ txt: h,
196
+ /**
197
+ * Creates a deep copy of the language with the given id and appends the given tokens.
198
+ *
199
+ * If a token in `redef` also appears in the copied language, then the existing token in the copied language
200
+ * will be overwritten at its original position.
201
+ *
202
+ * ## Best practices
203
+ *
204
+ * Since the position of overwriting tokens (token in `redef` that overwrite tokens in the copied language)
205
+ * doesn't matter, they can technically be in any order. However, this can be confusing to others that trying to
206
+ * understand the language definition because, normally, the order of tokens matters in Prism grammars.
207
+ *
208
+ * Therefore, it is encouraged to order overwriting tokens according to the positions of the overwritten tokens.
209
+ * Furthermore, all non-overwriting tokens should be placed after the overwriting ones.
210
+ *
211
+ * @param {string} id The id of the language to extend. This has to be a key in `Prism.languages`.
212
+ * @param {Grammar} redef The new tokens to append.
213
+ * @returns {Grammar} The new language created.
214
+ * @public
215
+ * @example
216
+ * Prism.languages['css-with-colors'] = Prism.languages.extend('css', {
217
+ * // Prism.languages.css already has a 'comment' token, so this token will overwrite CSS' 'comment' token
218
+ * // at its original position
219
+ * 'comment': { ... },
220
+ * // CSS doesn't have a 'color' token, so this token will be appended
221
+ * 'color': /\b(?:red|green|blue)\b/
222
+ * });
223
+ */
224
+ extend: function(n, r) {
225
+ var s = u.util.clone(u.languages[n]);
226
+ for (var p in r)
227
+ s[p] = r[p];
228
+ return s;
229
+ },
230
+ /**
231
+ * Inserts tokens _before_ another token in a language definition or any other grammar.
232
+ *
233
+ * ## Usage
234
+ *
235
+ * This helper method makes it easy to modify existing languages. For example, the CSS language definition
236
+ * not only defines CSS highlighting for CSS documents, but also needs to define highlighting for CSS embedded
237
+ * in HTML through `<style>` elements. To do this, it needs to modify `Prism.languages.markup` and add the
238
+ * appropriate tokens. However, `Prism.languages.markup` is a regular JavaScript object literal, so if you do
239
+ * this:
240
+ *
241
+ * ```js
242
+ * Prism.languages.markup.style = {
243
+ * // token
244
+ * };
245
+ * ```
246
+ *
247
+ * then the `style` token will be added (and processed) at the end. `insertBefore` allows you to insert tokens
248
+ * before existing tokens. For the CSS example above, you would use it like this:
249
+ *
250
+ * ```js
251
+ * Prism.languages.insertBefore('markup', 'cdata', {
252
+ * 'style': {
253
+ * // token
254
+ * }
255
+ * });
256
+ * ```
257
+ *
258
+ * ## Special cases
259
+ *
260
+ * If the grammars of `inside` and `insert` have tokens with the same name, the tokens in `inside`'s grammar
261
+ * will be ignored.
262
+ *
263
+ * This behavior can be used to insert tokens after `before`:
264
+ *
265
+ * ```js
266
+ * Prism.languages.insertBefore('markup', 'comment', {
267
+ * 'comment': Prism.languages.markup.comment,
268
+ * // tokens after 'comment'
269
+ * });
270
+ * ```
271
+ *
272
+ * ## Limitations
273
+ *
274
+ * The main problem `insertBefore` has to solve is iteration order. Since ES2015, the iteration order for object
275
+ * properties is guaranteed to be the insertion order (except for integer keys) but some browsers behave
276
+ * differently when keys are deleted and re-inserted. So `insertBefore` can't be implemented by temporarily
277
+ * deleting properties which is necessary to insert at arbitrary positions.
278
+ *
279
+ * To solve this problem, `insertBefore` doesn't actually insert the given tokens into the target object.
280
+ * Instead, it will create a new object and replace all references to the target object with the new one. This
281
+ * can be done without temporarily deleting properties, so the iteration order is well-defined.
282
+ *
283
+ * However, only references that can be reached from `Prism.languages` or `insert` will be replaced. I.e. if
284
+ * you hold the target object in a variable, then the value of the variable will not change.
285
+ *
286
+ * ```js
287
+ * var oldMarkup = Prism.languages.markup;
288
+ * var newMarkup = Prism.languages.insertBefore('markup', 'comment', { ... });
289
+ *
290
+ * assert(oldMarkup !== Prism.languages.markup);
291
+ * assert(newMarkup === Prism.languages.markup);
292
+ * ```
293
+ *
294
+ * @param {string} inside The property of `root` (e.g. a language id in `Prism.languages`) that contains the
295
+ * object to be modified.
296
+ * @param {string} before The key to insert before.
297
+ * @param {Grammar} insert An object containing the key-value pairs to be inserted.
298
+ * @param {Object<string, any>} [root] The object containing `inside`, i.e. the object that contains the
299
+ * object to be modified.
300
+ *
301
+ * Defaults to `Prism.languages`.
302
+ * @returns {Grammar} The new grammar object.
303
+ * @public
304
+ */
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)) {
311
+ if (E == r)
312
+ for (var k in s)
313
+ s.hasOwnProperty(k) && (f[k] = s[k]);
314
+ s.hasOwnProperty(E) || (f[E] = i[E]);
315
+ }
316
+ var x = p[n];
317
+ return p[n] = f, u.languages.DFS(u.languages, function(S, F) {
318
+ F === x && S != n && (this[S] = f);
319
+ }), f;
320
+ },
321
+ // Traverse a language definition with Depth First Search
322
+ DFS: function n(r, s, p, i) {
323
+ i = i || {};
324
+ var f = u.util.objId;
325
+ for (var E in r)
326
+ if (r.hasOwnProperty(E)) {
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));
330
+ }
331
+ }
332
+ },
333
+ plugins: {},
334
+ /**
335
+ * Low-level function, only use if you know what you’re doing. It accepts a string of text as input
336
+ * and the language definitions to use, and returns a string with the HTML produced.
337
+ *
338
+ * The following hooks will be run:
339
+ * 1. `before-tokenize`
340
+ * 2. `after-tokenize`
341
+ * 3. `wrap`: On each {@link Token}.
342
+ *
343
+ * @param {string} text A string with the code to be highlighted.
344
+ * @param {Grammar} grammar An object containing the tokens to use.
345
+ *
346
+ * Usually a language definition like `Prism.languages.markup`.
347
+ * @param {string} language The name of the language definition passed to `grammar`.
348
+ * @returns {string} The highlighted HTML.
349
+ * @memberof Prism
350
+ * @public
351
+ * @example
352
+ * Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
353
+ */
354
+ highlight: function(n, r, s) {
355
+ var p = {
356
+ code: n,
357
+ grammar: r,
358
+ language: s
359
+ };
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);
363
+ },
364
+ /**
365
+ * This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
366
+ * and the language definitions to use, and returns an array with the tokenized code.
367
+ *
368
+ * When the language definition includes nested tokens, the function is called recursively on each of these tokens.
369
+ *
370
+ * This method could be useful in other contexts as well, as a very crude parser.
371
+ *
372
+ * @param {string} text A string with the code to be highlighted.
373
+ * @param {Grammar} grammar An object containing the tokens to use.
374
+ *
375
+ * Usually a language definition like `Prism.languages.markup`.
376
+ * @returns {TokenStream} An array of strings and tokens, a token stream.
377
+ * @memberof Prism
378
+ * @public
379
+ * @example
380
+ * let code = `var foo = 0;`;
381
+ * let tokens = Prism.tokenize(code, Prism.languages.javascript);
382
+ * tokens.forEach(token => {
383
+ * if (token instanceof Prism.Token && token.type === 'number') {
384
+ * console.log(`Found numeric literal: ${token.content}`);
385
+ * }
386
+ * });
387
+ */
388
+ tokenize: function(n, r) {
389
+ var s = r.rest;
390
+ if (s) {
391
+ for (var p in s)
392
+ r[p] = s[p];
393
+ delete r.rest;
394
+ }
395
+ var i = new b();
396
+ return y(i, i.head, n), g(n, i, r, i.head, 0), w(i);
397
+ },
398
+ /**
399
+ * @namespace
400
+ * @memberof Prism
401
+ * @public
402
+ */
403
+ hooks: {
404
+ all: {},
405
+ /**
406
+ * Adds the given callback to the list of callbacks for the given hook.
407
+ *
408
+ * The callback will be invoked when the hook it is registered for is run.
409
+ * Hooks are usually directly run by a highlight function but you can also run hooks yourself.
410
+ *
411
+ * One callback function can be registered to multiple hooks and the same hook multiple times.
412
+ *
413
+ * @param {string} name The name of the hook.
414
+ * @param {HookCallback} callback The callback function which is given environment variables.
415
+ * @public
416
+ */
417
+ add: function(n, r) {
418
+ var s = u.hooks.all;
419
+ s[n] = s[n] || [], s[n].push(r);
420
+ },
421
+ /**
422
+ * Runs a hook invoking all registered callbacks with the given environment variables.
423
+ *
424
+ * Callbacks will be invoked synchronously and in the order in which they were registered.
425
+ *
426
+ * @param {string} name The name of the hook.
427
+ * @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered.
428
+ * @public
429
+ */
430
+ run: function(n, r) {
431
+ var s = u.hooks.all[n];
432
+ if (!(!s || !s.length))
433
+ for (var p = 0, i; i = s[p++]; )
434
+ i(r);
435
+ }
436
+ },
437
+ Token: m
438
+ };
439
+ function m(n, r, s, p) {
440
+ this.type = n, this.content = r, this.alias = s, this.length = (p || "").length | 0;
441
+ }
442
+ m.stringify = function n(r, s) {
443
+ if (typeof r == "string")
444
+ return r;
445
+ if (Array.isArray(r)) {
446
+ var p = "";
447
+ return r.forEach(function(x) {
448
+ p += n(x, s);
449
+ }), p;
450
+ }
451
+ var i = {
452
+ type: r.type,
453
+ content: n(r.content, s),
454
+ tag: "span",
455
+ classes: ["token", r.type],
456
+ attributes: {},
457
+ language: s
458
+ }, f = r.alias;
459
+ f && (Array.isArray(f) ? Array.prototype.push.apply(i.classes, f) : i.classes.push(f)), u.hooks.run("wrap", i);
460
+ var E = "";
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 + ">";
464
+ };
465
+ function c(n, r, s, p) {
466
+ n.lastIndex = r;
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);
471
+ }
472
+ return i;
473
+ }
474
+ function g(n, r, s, p, i, f) {
475
+ for (var E in s)
476
+ if (!(!s.hasOwnProperty(E) || !s[E])) {
477
+ var k = s[E];
478
+ k = Array.isArray(k) ? k : [k];
479
+ for (var x = 0; x < k.length; ++x) {
480
+ if (f && f.cause == E + "," + x)
481
+ return;
482
+ var S = k[x], F = S.inside, A = !!S.lookbehind, C = !!S.greedy, T = S.alias;
483
+ if (C && !S.pattern.global) {
484
+ var O = S.pattern.toString().match(/[imsuy]*$/)[0];
485
+ S.pattern = RegExp(S.pattern.source, O + "g");
486
+ }
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) {
488
+ var P = R.value;
489
+ if (r.length > n.length)
490
+ return;
491
+ if (!(P instanceof m)) {
492
+ var z = 1, N;
493
+ if (C) {
494
+ if (N = c(ee, D, n, A), !N || N.index >= n.length)
495
+ break;
496
+ var M = N.index, be = N.index + N[0].length, $ = D;
497
+ for ($ += R.value.length; M >= $; )
498
+ R = R.next, $ += R.value.length;
499
+ if ($ -= R.value.length, D = $, R.value instanceof m)
500
+ continue;
501
+ for (var j = R; j !== r.tail && ($ < be || typeof j.value == "string"); j = j.next)
502
+ z++, $ += j.value.length;
503
+ z--, P = n.slice(D, $), N.index -= D;
504
+ } else if (N = c(ee, 0, P, A), !N)
505
+ continue;
506
+ var M = N.index, U = N[0], H = P.slice(0, M), te = P.slice(M + U.length), Y = D + P.length;
507
+ f && Y > f.reach && (f.reach = Y);
508
+ var G = R.prev;
509
+ H && (G = y(r, G, H), D += H.length), v(r, G, z);
510
+ var me = new m(E, F ? u.tokenize(U, F) : U, T, U);
511
+ if (R = y(r, G, me), te && y(r, R, te), z > 1) {
512
+ var K = {
513
+ cause: E + "," + x,
514
+ reach: Y
515
+ };
516
+ g(n, r, s, R.prev, D, K), f && K.reach > f.reach && (f.reach = K.reach);
517
+ }
518
+ }
519
+ }
520
+ }
521
+ }
522
+ }
523
+ function b() {
524
+ var n = { value: null, prev: null, next: null }, r = { value: null, prev: n, next: null };
525
+ n.next = r, this.head = n, this.tail = r, this.length = 0;
526
+ }
527
+ function y(n, r, s) {
528
+ var p = r.next, i = { value: s, prev: r, next: p };
529
+ return r.next = i, p.prev = i, n.length++, i;
530
+ }
531
+ function v(n, r, s) {
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;
535
+ }
536
+ function w(n) {
537
+ for (var r = [], s = n.head.next; s !== n.tail; )
538
+ r.push(s.value), s = s.next;
539
+ return r;
540
+ }
541
+ return u;
542
+ }();
543
+ t.exports = a, a.default = a;
544
+ }
545
+ }), o = Oe(Ce());
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) {
547
+ e.type === "entity" && (e.attributes.title = e.content.replace(/&amp;/, "&"));
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() {
551
+ return e;
552
+ }), "i"), lookbehind: !0, greedy: !0, inside: a }, o.languages.insertBefore("markup", "cdata", l);
553
+ } }), Object.defineProperty(o.languages.markup.tag, "addAttribute", { value: function(e, t) {
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" }, /"|'/] } } } });
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) {
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" } };
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) {
559
+ var t = /#(?!\{).+/, a = { pattern: /#\{[^}]+\}/, alias: "variable" };
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;
561
+ }(o), function(e) {
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: /[{}]/ };
563
+ Object.defineProperty(t, "addSupport", { value: function(a, l) {
564
+ (a = typeof a == "string" ? [a] : a).forEach(function(d) {
565
+ var h = function(y) {
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]);
573
+ else
574
+ h(c);
575
+ }
576
+ });
577
+ } }), t.addSupport(["java", "javascript", "php"], t);
578
+ }(o), function(e) {
579
+ var t = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/, t = (e.languages.css = { comment: /\/\*[\s\S]*?\*\//, atrule: { pattern: RegExp("@[\\w-](?:" + /[^;{\s"']|\s+(?!\s)/.source + "|" + t.source + ")*?" + /(?:;|(?=\s*\{))/.source), inside: { rule: /^@[\w-]+/, "selector-function-argument": { pattern: /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/, lookbehind: !0, alias: "selector" }, keyword: { pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/, lookbehind: !0 } } }, url: { pattern: RegExp("\\burl\\((?:" + t.source + "|" + /(?:[^\\\r\n()"']|\\[\s\S])*/.source + ")\\)", "i"), greedy: !0, inside: { function: /^url/i, punctuation: /^\(|\)$/, string: { pattern: RegExp("^" + t.source + "$"), alias: "url" } } }, selector: { pattern: RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|` + t.source + ")*(?=\\s*\\{)"), lookbehind: !0 }, string: { pattern: t, greedy: !0 }, property: { pattern: /(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i, lookbehind: !0 }, important: /!important\b/i, function: { pattern: /(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i, lookbehind: !0 }, punctuation: /[(){};:,]/ }, e.languages.css.atrule.inside.rest = e.languages.css, e.languages.markup);
580
+ t && (t.tag.addInlined("style", "css"), t.tag.addAttribute("style", "css"));
581
+ }(o), function(e) {
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 };
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 });
584
+ }(o), function(e) {
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() {
586
+ return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;
587
+ }), h = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
588
+ function u(m, c) {
589
+ c = (c || "").replace(/m/g, "") + "m";
590
+ var g = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() {
591
+ return l;
592
+ }).replace(/<<value>>/g, function() {
593
+ return m;
594
+ });
595
+ return RegExp(g, c);
596
+ }
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() {
598
+ return l;
599
+ })), lookbehind: !0, alias: "string" }, comment: /#.*/, key: { pattern: RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g, function() {
600
+ return l;
601
+ }).replace(/<<key>>/g, function() {
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;
604
+ }(o), function(e) {
605
+ var t = /(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;
606
+ function a(g) {
607
+ return g = g.replace(/<inner>/g, function() {
608
+ return t;
609
+ }), RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + "(?:" + g + ")");
610
+ }
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) {
614
+ ["url", "bold", "italic", "strike", "code-snippet"].forEach(function(b) {
615
+ g !== b && (e.languages.markdown[g].inside.content.inside[b] = e.languages.markdown[b]);
616
+ });
617
+ }), e.hooks.add("after-tokenize", function(g) {
618
+ g.language !== "markdown" && g.language !== "md" || function b(y) {
619
+ if (y && typeof y != "string")
620
+ for (var v = 0, w = y.length; v < w; v++) {
621
+ var n, r = y[v];
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]));
623
+ }
624
+ }(g.tokens);
625
+ }), e.hooks.add("wrap", function(g) {
626
+ if (g.type === "code-block") {
627
+ for (var b = "", y = 0, v = g.classes.length; y < v; y++) {
628
+ var w = g.classes[y], w = /language-(.+)/.exec(w);
629
+ if (w) {
630
+ b = w[1];
631
+ break;
632
+ }
633
+ }
634
+ var n, r = e.languages[b];
635
+ r ? g.content = e.highlight(function(s) {
636
+ return s = s.replace(u, ""), s = s.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(p, i) {
637
+ var f;
638
+ return (i = i.toLowerCase())[0] === "#" ? (f = i[1] === "x" ? parseInt(i.slice(2), 16) : Number(i.slice(1)), c(f)) : m[i] || p;
639
+ });
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() {
641
+ var s = document.getElementById(n);
642
+ s && (s.innerHTML = e.highlight(s.textContent, e.languages[b], b));
643
+ }));
644
+ }
645
+ }), RegExp(e.languages.markup.tag.pattern.source, "gi")), m = { amp: "&", lt: "<", gt: ">", quot: '"' }, c = String.fromCodePoint || String.fromCharCode;
646
+ e.languages.md = e.languages.markdown;
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) {
648
+ if (e.language === "graphql")
649
+ for (var t = e.tokens.filter(function(n) {
650
+ return typeof n != "string" && n.type !== "comment" && n.type !== "scalar";
651
+ }), a = 0; a < t.length; ) {
652
+ var l = t[a++];
653
+ if (l.type === "keyword" && l.content === "mutation") {
654
+ var d = [];
655
+ if (y(["definition-mutation", "punctuation"]) && b(1).content === "(") {
656
+ a += 2;
657
+ var h = v(/^\($/, /^\)$/);
658
+ if (h === -1)
659
+ continue;
660
+ for (; a < h; a++) {
661
+ var u = b(0);
662
+ u.type === "variable" && (w(u, "variable-input"), d.push(u.content));
663
+ }
664
+ a = h + 1;
665
+ }
666
+ if (y(["punctuation", "property-query"]) && b(0).content === "{" && (a++, w(b(0), "property-mutation"), 0 < d.length)) {
667
+ var m = v(/^\{$/, /^\}$/);
668
+ if (m !== -1)
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");
672
+ }
673
+ }
674
+ }
675
+ }
676
+ function b(n) {
677
+ return t[a + n];
678
+ }
679
+ function y(n, r) {
680
+ r = r || 0;
681
+ for (var s = 0; s < n.length; s++) {
682
+ var p = b(s + r);
683
+ if (!p || p.type !== n[s])
684
+ return;
685
+ }
686
+ return 1;
687
+ }
688
+ function v(n, r) {
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") {
692
+ if (n.test(f))
693
+ s++;
694
+ else if (r.test(f) && --s === 0)
695
+ return p;
696
+ }
697
+ }
698
+ return -1;
699
+ }
700
+ function w(n, r) {
701
+ var s = n.alias;
702
+ s ? Array.isArray(s) || (n.alias = s = [s]) : n.alias = s = [], s.push(r);
703
+ }
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) {
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) {
707
+ if (e.languages[y])
708
+ return { pattern: RegExp("((?:" + v + ")\\s*)" + a), lookbehind: !0, greedy: !0, inside: { "template-punctuation": { pattern: /^`|`$/, alias: "string" }, "embedded-code": { pattern: /[\s\S]+/, alias: y } } };
709
+ }
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;
712
+ }
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; )
718
+ ;
719
+ return r[f] = i, f;
720
+ }).join(""), v, w), p = Object.keys(r);
721
+ return n = 0, function i(f) {
722
+ for (var E = 0; E < f.length; E++) {
723
+ if (n >= p.length)
724
+ return;
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]));
727
+ }
728
+ }(s), new e.Token(w, s, "language-" + w, y);
729
+ }
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);
731
+ var g = { javascript: !0, js: !0, typescript: !0, ts: !0, jsx: !0, tsx: !0 };
732
+ function b(y) {
733
+ return typeof y == "string" ? y : Array.isArray(y) ? y.map(b).join("") : b(y.content);
734
+ }
735
+ e.hooks.add("after-tokenize", function(y) {
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]));
740
+ }
741
+ }(y.tokens);
742
+ });
743
+ }(o), function(e) {
744
+ e.languages.typescript = e.languages.extend("javascript", { "class-name": { pattern: /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/, lookbehind: !0, greedy: !0, inside: null }, builtin: /\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/ }), e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/, /\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/, /\btype\b(?=\s*(?:[\{*]|$))/), delete e.languages.typescript.parameter, delete e.languages.typescript["literal-property"];
745
+ var t = e.languages.extend("typescript", {});
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;
747
+ }(o), function(e) {
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() {
750
+ return a;
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);
752
+ }(o), function(e) {
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 });
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) {
755
+ function t(u, m) {
756
+ return RegExp(u.replace(/<ID>/g, function() {
757
+ return /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source;
758
+ }), m);
759
+ }
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" } });
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]*/;
764
+ }
765
+ }(o), function(e) {
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() {
769
+ return a;
770
+ }).replace(/<BRACES>/g, function() {
771
+ return l;
772
+ }).replace(/<SPREAD>/g, function() {
773
+ return d;
774
+ }), RegExp(c, g);
775
+ }
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);
781
+ }
782
+ }
783
+ var m = function(c) {
784
+ return c ? typeof c == "string" ? c : typeof c.content == "string" ? c.content : c.content.map(m).join("") : "";
785
+ };
786
+ e.hooks.add("after-tokenize", function(c) {
787
+ c.language !== "jsx" && c.language !== "tsx" || u(c.tokens);
788
+ });
789
+ }(o), function(e) {
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);
791
+ t.pattern = RegExp(/(^|[^\w$]|(?=<\/))/.source + "(?:" + t.pattern.source + ")", t.pattern.flags), t.lookbehind = !0;
792
+ }(o), o.languages.swift = { comment: { pattern: /(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/, lookbehind: !0, greedy: !0 }, "string-literal": [{ pattern: RegExp(/(^|[^"#])/.source + "(?:" + /"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source + "|" + /"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source + ")" + /(?!["#])/.source), lookbehind: !0, greedy: !0, inside: { interpolation: { pattern: /(\\\()(?:[^()]|\([^()]*\))*(?=\))/, lookbehind: !0, inside: null }, "interpolation-punctuation": { pattern: /^\)|\\\($/, alias: "punctuation" }, punctuation: /\\(?=[\r\n])/, string: /[\s\S]+/ } }, { pattern: RegExp(/(^|[^"#])(#+)/.source + "(?:" + /"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source + "|" + /"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source + ")\\2"), lookbehind: !0, greedy: !0, inside: { interpolation: { pattern: /(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/, lookbehind: !0, inside: null }, "interpolation-punctuation": { pattern: /^\)|\\#+\($/, alias: "punctuation" }, string: /[\s\S]+/ } }], directive: { pattern: RegExp(/#/.source + "(?:" + /(?:elseif|if)\b/.source + "(?:[ ]*" + /(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source + ")+|" + /(?:else|endif)\b/.source + ")"), alias: "property", inside: { "directive-name": /^#\w+/, boolean: /\b(?:false|true)\b/, number: /\b\d+(?:\.\d+)*\b/, operator: /!|&&|\|\||[<>]=?/, punctuation: /[(),]/ } }, literal: { pattern: /#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/, alias: "constant" }, "other-directive": { pattern: /#\w+\b/, alias: "property" }, attribute: { pattern: /@\w+/, alias: "atrule" }, "function-definition": { pattern: /(\bfunc\s+)\w+/, lookbehind: !0, alias: "function" }, label: { pattern: /\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/, lookbehind: !0, alias: "important" }, keyword: /\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/, boolean: /\b(?:false|true)\b/, nil: { pattern: /\bnil\b/, alias: "constant" }, "short-argument": /\$\d+\b/, omit: { pattern: /\b_\b/, alias: "keyword" }, number: /\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i, "class-name": /\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/, function: /\b[a-z_]\w*(?=\s*\()/i, constant: /\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/, operator: /[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/, punctuation: /[{}[\]();,.:\\]/ }, o.languages.swift["string-literal"].forEach(function(e) {
793
+ e.inside.interpolation.inside = o.languages.swift;
794
+ }), function(e) {
795
+ e.languages.kotlin = e.languages.extend("clike", { keyword: { pattern: /(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/, lookbehind: !0 }, function: [{ pattern: /(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/, greedy: !0 }, { pattern: /(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/, lookbehind: !0, greedy: !0 }], number: /\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/, operator: /\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/ }), delete e.languages.kotlin["class-name"];
796
+ var t = { "interpolation-punctuation": { pattern: /^\$\{?|\}$/, alias: "punctuation" }, expression: { pattern: /[\s\S]+/, inside: e.languages.kotlin } };
797
+ e.languages.insertBefore("kotlin", "string", { "string-literal": [{ pattern: /"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/, alias: "multiline", inside: { interpolation: { pattern: /\$(?:[a-z_]\w*|\{[^{}]*\})/i, inside: t }, string: /[\s\S]+/ } }, { pattern: /"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/, alias: "singleline", inside: { interpolation: { pattern: /((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i, lookbehind: !0, inside: t }, string: /[\s\S]+/ } }], char: { pattern: /'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/, greedy: !0 } }), delete e.languages.kotlin.string, e.languages.insertBefore("kotlin", "keyword", { annotation: { pattern: /\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/, alias: "builtin" } }), e.languages.insertBefore("kotlin", "function", { label: { pattern: /\b\w+@|@\w+\b/, alias: "symbol" } }), e.languages.kt = e.languages.kotlin, e.languages.kts = e.languages.kotlin;
798
+ }(o), o.languages.c = o.languages.extend("clike", { comment: { pattern: /\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/, greedy: !0 }, string: { pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/, greedy: !0 }, "class-name": { pattern: /(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/, lookbehind: !0 }, keyword: /\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/, function: /\b[a-z_]\w*(?=\s*\()/i, number: /(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i, operator: />>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/ }), o.languages.insertBefore("c", "string", { char: { pattern: /'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/, greedy: !0 } }), o.languages.insertBefore("c", "string", { macro: { pattern: /(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im, lookbehind: !0, greedy: !0, alias: "property", inside: { string: [{ pattern: /^(#\s*include\s*)<[^>]+>/, lookbehind: !0 }, o.languages.c.string], char: o.languages.c.char, comment: o.languages.c.comment, "macro-name": [{ pattern: /(^#\s*define\s+)\w+\b(?!\()/i, lookbehind: !0 }, { pattern: /(^#\s*define\s+)\w+\b(?=\()/i, lookbehind: !0, alias: "function" }], directive: { pattern: /^(#\s*)[a-z]+/, lookbehind: !0, alias: "keyword" }, "directive-hash": /^#/, punctuation: /##|\\(?=[\r\n])/, expression: { pattern: /\S[\s\S]*/, inside: o.languages.c } } } }), o.languages.insertBefore("c", "function", { constant: /\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/ }), delete o.languages.c.boolean, o.languages.objectivec = o.languages.extend("c", { string: { pattern: /@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/, greedy: !0 }, keyword: /\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/, operator: /-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/ }), delete o.languages.objectivec["class-name"], o.languages.objc = o.languages.objectivec, o.languages.reason = o.languages.extend("clike", { string: { pattern: /"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/, greedy: !0 }, "class-name": /\b[A-Z]\w*/, keyword: /\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/, operator: /\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/ }), o.languages.insertBefore("reason", "class-name", { char: { pattern: /'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/, greedy: !0 }, constructor: /\b[A-Z]\w*\b(?!\s*\.)/, label: { pattern: /\b[a-z]\w*(?=::)/, alias: "symbol" } }), delete o.languages.reason.function, function(e) {
799
+ for (var t = /\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source, a = 0; a < 2; a++)
800
+ t = t.replace(/<self>/g, function() {
801
+ return t;
802
+ });
803
+ t = t.replace(/<self>/g, function() {
804
+ return /[^\s\S]/.source;
805
+ }), e.languages.rust = { comment: [{ pattern: RegExp(/(^|[^\\])/.source + t), lookbehind: !0, greedy: !0 }, { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }], string: { pattern: /b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/, greedy: !0 }, char: { pattern: /b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/, greedy: !0 }, attribute: { pattern: /#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/, greedy: !0, alias: "attr-name", inside: { string: null } }, "closure-params": { pattern: /([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/, lookbehind: !0, greedy: !0, inside: { "closure-punctuation": { pattern: /^\||\|$/, alias: "punctuation" }, rest: null } }, "lifetime-annotation": { pattern: /'\w+/, alias: "symbol" }, "fragment-specifier": { pattern: /(\$\w+:)[a-z]+/, lookbehind: !0, alias: "punctuation" }, variable: /\$\w+/, "function-definition": { pattern: /(\bfn\s+)\w+/, lookbehind: !0, alias: "function" }, "type-definition": { pattern: /(\b(?:enum|struct|trait|type|union)\s+)\w+/, lookbehind: !0, alias: "class-name" }, "module-declaration": [{ pattern: /(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/, lookbehind: !0, alias: "namespace" }, { pattern: /(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/, lookbehind: !0, alias: "namespace", inside: { punctuation: /::/ } }], keyword: [/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/, /\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/], function: /\b[a-z_]\w*(?=\s*(?:::\s*<|\())/, macro: { pattern: /\b\w+!/, alias: "property" }, constant: /\b[A-Z_][A-Z_\d]+\b/, "class-name": /\b[A-Z]\w*\b/, namespace: { pattern: /(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/, inside: { punctuation: /::/ } }, number: /\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/, boolean: /\b(?:false|true)\b/, punctuation: /->|\.\.=|\.{1,3}|::|[{}[\];(),:]/, operator: /[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/ }, e.languages.rust["closure-params"].inside.rest = e.languages.rust, e.languages.rust.attribute.inside.string = e.languages.rust.string;
806
+ }(o), o.languages.go = o.languages.extend("clike", { string: { pattern: /(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/, lookbehind: !0, greedy: !0 }, keyword: /\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/, boolean: /\b(?:_|false|iota|nil|true)\b/, number: [/\b0(?:b[01_]+|o[0-7_]+)i?\b/i, /\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i, /(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i], operator: /[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./, builtin: /\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/ }), o.languages.insertBefore("go", "string", { char: { pattern: /'(?:\\.|[^'\\\r\n]){0,10}'/, greedy: !0 } }), delete o.languages.go["class-name"], function(e) {
807
+ var t = /\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/, a = /\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g, function() {
808
+ return t.source;
809
+ });
810
+ e.languages.cpp = e.languages.extend("c", { "class-name": [{ pattern: RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g, function() {
811
+ return t.source;
812
+ })), lookbehind: !0 }, /\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/, /\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i, /\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/], keyword: t, number: { pattern: /(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i, greedy: !0 }, operator: />>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/, boolean: /\b(?:false|true)\b/ }), e.languages.insertBefore("cpp", "string", { module: { pattern: RegExp(/(\b(?:import|module)\s+)/.source + "(?:" + /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source + "|" + /<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g, function() {
813
+ return a;
814
+ }) + ")"), lookbehind: !0, greedy: !0, inside: { string: /^[<"][\s\S]+/, operator: /:/, punctuation: /\./ } }, "raw-string": { pattern: /R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/, alias: "string", greedy: !0 } }), e.languages.insertBefore("cpp", "keyword", { "generic-function": { pattern: /\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i, inside: { function: /^\w+/, generic: { pattern: /<[\s\S]+/, alias: "class-name", inside: e.languages.cpp } } } }), e.languages.insertBefore("cpp", "operator", { "double-colon": { pattern: /::/, alias: "punctuation" } }), e.languages.insertBefore("cpp", "class-name", { "base-clause": { pattern: /(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/, lookbehind: !0, greedy: !0, inside: e.languages.extend("cpp", {}) } }), e.languages.insertBefore("inside", "double-colon", { "class-name": /\b[a-z_]\w*\b(?!\s*::)/i }, e.languages.cpp["base-clause"]);
815
+ }(o), o.languages.python = { comment: { pattern: /(^|[^\\])#.*/, lookbehind: !0, greedy: !0 }, "string-interpolation": { pattern: /(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i, greedy: !0, inside: { interpolation: { pattern: /((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/, lookbehind: !0, inside: { "format-spec": { pattern: /(:)[^:(){}]+(?=\}$)/, lookbehind: !0 }, "conversion-option": { pattern: /![sra](?=[:}]$)/, alias: "punctuation" }, rest: null } }, string: /[\s\S]+/ } }, "triple-quoted-string": { pattern: /(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i, greedy: !0, alias: "string" }, string: { pattern: /(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i, greedy: !0 }, function: { pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g, lookbehind: !0 }, "class-name": { pattern: /(\bclass\s+)\w+/i, lookbehind: !0 }, decorator: { pattern: /(^[\t ]*)@\w+(?:\.\w+)*/m, lookbehind: !0, alias: ["annotation", "punctuation"], inside: { punctuation: /\./ } }, keyword: /\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/, builtin: /\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/, boolean: /\b(?:False|None|True)\b/, number: /\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i, operator: /[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/, punctuation: /[{}[\];(),.:]/ }, o.languages.python["string-interpolation"].inside.interpolation.inside.rest = o.languages.python, o.languages.py = o.languages.python, o.languages.json = { property: { pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/, lookbehind: !0, greedy: !0 }, string: { pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/, lookbehind: !0, greedy: !0 }, comment: { pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, greedy: !0 }, number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i, punctuation: /[{}[\],]/, operator: /:/, boolean: /\b(?:false|true)\b/, null: { pattern: /\bnull\b/, alias: "keyword" } }, o.languages.webmanifest = o.languages.json;
816
+ var X = {};
817
+ Ie(X, {
818
+ dracula: () => De,
819
+ duotoneDark: () => $e,
820
+ duotoneLight: () => je,
821
+ github: () => Me,
822
+ gruvboxMaterialDark: () => bt,
823
+ gruvboxMaterialLight: () => ht,
824
+ jettwaveDark: () => it,
825
+ jettwaveLight: () => ct,
826
+ nightOwl: () => Ge,
827
+ nightOwlLight: () => We,
828
+ oceanicNext: () => He,
829
+ okaidia: () => Ke,
830
+ oneDark: () => dt,
831
+ oneLight: () => yt,
832
+ palenight: () => Xe,
833
+ shadesOfPurple: () => Je,
834
+ synthwave84: () => tt,
835
+ ultramin: () => nt,
836
+ vsDark: () => ye,
837
+ vsLight: () => st
838
+ });
839
+ var Ne = {
840
+ plain: {
841
+ color: "#F8F8F2",
842
+ backgroundColor: "#282A36"
843
+ },
844
+ styles: [
845
+ {
846
+ types: ["prolog", "constant", "builtin"],
847
+ style: {
848
+ color: "rgb(189, 147, 249)"
849
+ }
850
+ },
851
+ {
852
+ types: ["inserted", "function"],
853
+ style: {
854
+ color: "rgb(80, 250, 123)"
855
+ }
856
+ },
857
+ {
858
+ types: ["deleted"],
859
+ style: {
860
+ color: "rgb(255, 85, 85)"
861
+ }
862
+ },
863
+ {
864
+ types: ["changed"],
865
+ style: {
866
+ color: "rgb(255, 184, 108)"
867
+ }
868
+ },
869
+ {
870
+ types: ["punctuation", "symbol"],
871
+ style: {
872
+ color: "rgb(248, 248, 242)"
873
+ }
874
+ },
875
+ {
876
+ types: ["string", "char", "tag", "selector"],
877
+ style: {
878
+ color: "rgb(255, 121, 198)"
879
+ }
880
+ },
881
+ {
882
+ types: ["keyword", "variable"],
883
+ style: {
884
+ color: "rgb(189, 147, 249)",
885
+ fontStyle: "italic"
886
+ }
887
+ },
888
+ {
889
+ types: ["comment"],
890
+ style: {
891
+ color: "rgb(98, 114, 164)"
892
+ }
893
+ },
894
+ {
895
+ types: ["attr-name"],
896
+ style: {
897
+ color: "rgb(241, 250, 140)"
898
+ }
899
+ }
900
+ ]
901
+ }, De = Ne, Be = {
902
+ plain: {
903
+ backgroundColor: "#2a2734",
904
+ color: "#9a86fd"
905
+ },
906
+ styles: [
907
+ {
908
+ types: ["comment", "prolog", "doctype", "cdata", "punctuation"],
909
+ style: {
910
+ color: "#6c6783"
911
+ }
912
+ },
913
+ {
914
+ types: ["namespace"],
915
+ style: {
916
+ opacity: 0.7
917
+ }
918
+ },
919
+ {
920
+ types: ["tag", "operator", "number"],
921
+ style: {
922
+ color: "#e09142"
923
+ }
924
+ },
925
+ {
926
+ types: ["property", "function"],
927
+ style: {
928
+ color: "#9a86fd"
929
+ }
930
+ },
931
+ {
932
+ types: ["tag-id", "selector", "atrule-id"],
933
+ style: {
934
+ color: "#eeebff"
935
+ }
936
+ },
937
+ {
938
+ types: ["attr-name"],
939
+ style: {
940
+ color: "#c4b9fe"
941
+ }
942
+ },
943
+ {
944
+ types: [
945
+ "boolean",
946
+ "string",
947
+ "entity",
948
+ "url",
949
+ "attr-value",
950
+ "keyword",
951
+ "control",
952
+ "directive",
953
+ "unit",
954
+ "statement",
955
+ "regex",
956
+ "atrule",
957
+ "placeholder",
958
+ "variable"
959
+ ],
960
+ style: {
961
+ color: "#ffcc99"
962
+ }
963
+ },
964
+ {
965
+ types: ["deleted"],
966
+ style: {
967
+ textDecorationLine: "line-through"
968
+ }
969
+ },
970
+ {
971
+ types: ["inserted"],
972
+ style: {
973
+ textDecorationLine: "underline"
974
+ }
975
+ },
976
+ {
977
+ types: ["italic"],
978
+ style: {
979
+ fontStyle: "italic"
980
+ }
981
+ },
982
+ {
983
+ types: ["important", "bold"],
984
+ style: {
985
+ fontWeight: "bold"
986
+ }
987
+ },
988
+ {
989
+ types: ["important"],
990
+ style: {
991
+ color: "#c4b9fe"
992
+ }
993
+ }
994
+ ]
995
+ }, $e = Be, Pe = {
996
+ plain: {
997
+ backgroundColor: "#faf8f5",
998
+ color: "#728fcb"
999
+ },
1000
+ styles: [
1001
+ {
1002
+ types: ["comment", "prolog", "doctype", "cdata", "punctuation"],
1003
+ style: {
1004
+ color: "#b6ad9a"
1005
+ }
1006
+ },
1007
+ {
1008
+ types: ["namespace"],
1009
+ style: {
1010
+ opacity: 0.7
1011
+ }
1012
+ },
1013
+ {
1014
+ types: ["tag", "operator", "number"],
1015
+ style: {
1016
+ color: "#063289"
1017
+ }
1018
+ },
1019
+ {
1020
+ types: ["property", "function"],
1021
+ style: {
1022
+ color: "#b29762"
1023
+ }
1024
+ },
1025
+ {
1026
+ types: ["tag-id", "selector", "atrule-id"],
1027
+ style: {
1028
+ color: "#2d2006"
1029
+ }
1030
+ },
1031
+ {
1032
+ types: ["attr-name"],
1033
+ style: {
1034
+ color: "#896724"
1035
+ }
1036
+ },
1037
+ {
1038
+ types: [
1039
+ "boolean",
1040
+ "string",
1041
+ "entity",
1042
+ "url",
1043
+ "attr-value",
1044
+ "keyword",
1045
+ "control",
1046
+ "directive",
1047
+ "unit",
1048
+ "statement",
1049
+ "regex",
1050
+ "atrule"
1051
+ ],
1052
+ style: {
1053
+ color: "#728fcb"
1054
+ }
1055
+ },
1056
+ {
1057
+ types: ["placeholder", "variable"],
1058
+ style: {
1059
+ color: "#93abdc"
1060
+ }
1061
+ },
1062
+ {
1063
+ types: ["deleted"],
1064
+ style: {
1065
+ textDecorationLine: "line-through"
1066
+ }
1067
+ },
1068
+ {
1069
+ types: ["inserted"],
1070
+ style: {
1071
+ textDecorationLine: "underline"
1072
+ }
1073
+ },
1074
+ {
1075
+ types: ["italic"],
1076
+ style: {
1077
+ fontStyle: "italic"
1078
+ }
1079
+ },
1080
+ {
1081
+ types: ["important", "bold"],
1082
+ style: {
1083
+ fontWeight: "bold"
1084
+ }
1085
+ },
1086
+ {
1087
+ types: ["important"],
1088
+ style: {
1089
+ color: "#896724"
1090
+ }
1091
+ }
1092
+ ]
1093
+ }, je = Pe, ze = {
1094
+ plain: {
1095
+ color: "#393A34",
1096
+ backgroundColor: "#f6f8fa"
1097
+ },
1098
+ styles: [
1099
+ {
1100
+ types: ["comment", "prolog", "doctype", "cdata"],
1101
+ style: {
1102
+ color: "#999988",
1103
+ fontStyle: "italic"
1104
+ }
1105
+ },
1106
+ {
1107
+ types: ["namespace"],
1108
+ style: {
1109
+ opacity: 0.7
1110
+ }
1111
+ },
1112
+ {
1113
+ types: ["string", "attr-value"],
1114
+ style: {
1115
+ color: "#e3116c"
1116
+ }
1117
+ },
1118
+ {
1119
+ types: ["punctuation", "operator"],
1120
+ style: {
1121
+ color: "#393A34"
1122
+ }
1123
+ },
1124
+ {
1125
+ types: [
1126
+ "entity",
1127
+ "url",
1128
+ "symbol",
1129
+ "number",
1130
+ "boolean",
1131
+ "variable",
1132
+ "constant",
1133
+ "property",
1134
+ "regex",
1135
+ "inserted"
1136
+ ],
1137
+ style: {
1138
+ color: "#36acaa"
1139
+ }
1140
+ },
1141
+ {
1142
+ types: ["atrule", "keyword", "attr-name", "selector"],
1143
+ style: {
1144
+ color: "#00a4db"
1145
+ }
1146
+ },
1147
+ {
1148
+ types: ["function", "deleted", "tag"],
1149
+ style: {
1150
+ color: "#d73a49"
1151
+ }
1152
+ },
1153
+ {
1154
+ types: ["function-variable"],
1155
+ style: {
1156
+ color: "#6f42c1"
1157
+ }
1158
+ },
1159
+ {
1160
+ types: ["tag", "selector", "keyword"],
1161
+ style: {
1162
+ color: "#00009f"
1163
+ }
1164
+ }
1165
+ ]
1166
+ }, Me = ze, Ue = {
1167
+ plain: {
1168
+ color: "#d6deeb",
1169
+ backgroundColor: "#011627"
1170
+ },
1171
+ styles: [
1172
+ {
1173
+ types: ["changed"],
1174
+ style: {
1175
+ color: "rgb(162, 191, 252)",
1176
+ fontStyle: "italic"
1177
+ }
1178
+ },
1179
+ {
1180
+ types: ["deleted"],
1181
+ style: {
1182
+ color: "rgba(239, 83, 80, 0.56)",
1183
+ fontStyle: "italic"
1184
+ }
1185
+ },
1186
+ {
1187
+ types: ["inserted", "attr-name"],
1188
+ style: {
1189
+ color: "rgb(173, 219, 103)",
1190
+ fontStyle: "italic"
1191
+ }
1192
+ },
1193
+ {
1194
+ types: ["comment"],
1195
+ style: {
1196
+ color: "rgb(99, 119, 119)",
1197
+ fontStyle: "italic"
1198
+ }
1199
+ },
1200
+ {
1201
+ types: ["string", "url"],
1202
+ style: {
1203
+ color: "rgb(173, 219, 103)"
1204
+ }
1205
+ },
1206
+ {
1207
+ types: ["variable"],
1208
+ style: {
1209
+ color: "rgb(214, 222, 235)"
1210
+ }
1211
+ },
1212
+ {
1213
+ types: ["number"],
1214
+ style: {
1215
+ color: "rgb(247, 140, 108)"
1216
+ }
1217
+ },
1218
+ {
1219
+ types: ["builtin", "char", "constant", "function"],
1220
+ style: {
1221
+ color: "rgb(130, 170, 255)"
1222
+ }
1223
+ },
1224
+ {
1225
+ // This was manually added after the auto-generation
1226
+ // so that punctuations are not italicised
1227
+ types: ["punctuation"],
1228
+ style: {
1229
+ color: "rgb(199, 146, 234)"
1230
+ }
1231
+ },
1232
+ {
1233
+ types: ["selector", "doctype"],
1234
+ style: {
1235
+ color: "rgb(199, 146, 234)",
1236
+ fontStyle: "italic"
1237
+ }
1238
+ },
1239
+ {
1240
+ types: ["class-name"],
1241
+ style: {
1242
+ color: "rgb(255, 203, 139)"
1243
+ }
1244
+ },
1245
+ {
1246
+ types: ["tag", "operator", "keyword"],
1247
+ style: {
1248
+ color: "rgb(127, 219, 202)"
1249
+ }
1250
+ },
1251
+ {
1252
+ types: ["boolean"],
1253
+ style: {
1254
+ color: "rgb(255, 88, 116)"
1255
+ }
1256
+ },
1257
+ {
1258
+ types: ["property"],
1259
+ style: {
1260
+ color: "rgb(128, 203, 196)"
1261
+ }
1262
+ },
1263
+ {
1264
+ types: ["namespace"],
1265
+ style: {
1266
+ color: "rgb(178, 204, 214)"
1267
+ }
1268
+ }
1269
+ ]
1270
+ }, Ge = Ue, Ze = {
1271
+ plain: {
1272
+ color: "#403f53",
1273
+ backgroundColor: "#FBFBFB"
1274
+ },
1275
+ styles: [
1276
+ {
1277
+ types: ["changed"],
1278
+ style: {
1279
+ color: "rgb(162, 191, 252)",
1280
+ fontStyle: "italic"
1281
+ }
1282
+ },
1283
+ {
1284
+ types: ["deleted"],
1285
+ style: {
1286
+ color: "rgba(239, 83, 80, 0.56)",
1287
+ fontStyle: "italic"
1288
+ }
1289
+ },
1290
+ {
1291
+ types: ["inserted", "attr-name"],
1292
+ style: {
1293
+ color: "rgb(72, 118, 214)",
1294
+ fontStyle: "italic"
1295
+ }
1296
+ },
1297
+ {
1298
+ types: ["comment"],
1299
+ style: {
1300
+ color: "rgb(152, 159, 177)",
1301
+ fontStyle: "italic"
1302
+ }
1303
+ },
1304
+ {
1305
+ types: ["string", "builtin", "char", "constant", "url"],
1306
+ style: {
1307
+ color: "rgb(72, 118, 214)"
1308
+ }
1309
+ },
1310
+ {
1311
+ types: ["variable"],
1312
+ style: {
1313
+ color: "rgb(201, 103, 101)"
1314
+ }
1315
+ },
1316
+ {
1317
+ types: ["number"],
1318
+ style: {
1319
+ color: "rgb(170, 9, 130)"
1320
+ }
1321
+ },
1322
+ {
1323
+ // This was manually added after the auto-generation
1324
+ // so that punctuations are not italicised
1325
+ types: ["punctuation"],
1326
+ style: {
1327
+ color: "rgb(153, 76, 195)"
1328
+ }
1329
+ },
1330
+ {
1331
+ types: ["function", "selector", "doctype"],
1332
+ style: {
1333
+ color: "rgb(153, 76, 195)",
1334
+ fontStyle: "italic"
1335
+ }
1336
+ },
1337
+ {
1338
+ types: ["class-name"],
1339
+ style: {
1340
+ color: "rgb(17, 17, 17)"
1341
+ }
1342
+ },
1343
+ {
1344
+ types: ["tag"],
1345
+ style: {
1346
+ color: "rgb(153, 76, 195)"
1347
+ }
1348
+ },
1349
+ {
1350
+ types: ["operator", "property", "keyword", "namespace"],
1351
+ style: {
1352
+ color: "rgb(12, 150, 155)"
1353
+ }
1354
+ },
1355
+ {
1356
+ types: ["boolean"],
1357
+ style: {
1358
+ color: "rgb(188, 84, 84)"
1359
+ }
1360
+ }
1361
+ ]
1362
+ }, We = Ze, L = {
1363
+ char: "#D8DEE9",
1364
+ comment: "#999999",
1365
+ keyword: "#c5a5c5",
1366
+ primitive: "#5a9bcf",
1367
+ string: "#8dc891",
1368
+ variable: "#d7deea",
1369
+ boolean: "#ff8b50",
1370
+ punctuation: "#5FB3B3",
1371
+ tag: "#fc929e",
1372
+ function: "#79b6f2",
1373
+ className: "#FAC863",
1374
+ method: "#6699CC",
1375
+ operator: "#fc929e"
1376
+ }, qe = {
1377
+ plain: {
1378
+ backgroundColor: "#282c34",
1379
+ color: "#ffffff"
1380
+ },
1381
+ styles: [
1382
+ {
1383
+ types: ["attr-name"],
1384
+ style: {
1385
+ color: L.keyword
1386
+ }
1387
+ },
1388
+ {
1389
+ types: ["attr-value"],
1390
+ style: {
1391
+ color: L.string
1392
+ }
1393
+ },
1394
+ {
1395
+ types: [
1396
+ "comment",
1397
+ "block-comment",
1398
+ "prolog",
1399
+ "doctype",
1400
+ "cdata",
1401
+ "shebang"
1402
+ ],
1403
+ style: {
1404
+ color: L.comment
1405
+ }
1406
+ },
1407
+ {
1408
+ types: [
1409
+ "property",
1410
+ "number",
1411
+ "function-name",
1412
+ "constant",
1413
+ "symbol",
1414
+ "deleted"
1415
+ ],
1416
+ style: {
1417
+ color: L.primitive
1418
+ }
1419
+ },
1420
+ {
1421
+ types: ["boolean"],
1422
+ style: {
1423
+ color: L.boolean
1424
+ }
1425
+ },
1426
+ {
1427
+ types: ["tag"],
1428
+ style: {
1429
+ color: L.tag
1430
+ }
1431
+ },
1432
+ {
1433
+ types: ["string"],
1434
+ style: {
1435
+ color: L.string
1436
+ }
1437
+ },
1438
+ {
1439
+ types: ["punctuation"],
1440
+ style: {
1441
+ color: L.string
1442
+ }
1443
+ },
1444
+ {
1445
+ types: ["selector", "char", "builtin", "inserted"],
1446
+ style: {
1447
+ color: L.char
1448
+ }
1449
+ },
1450
+ {
1451
+ types: ["function"],
1452
+ style: {
1453
+ color: L.function
1454
+ }
1455
+ },
1456
+ {
1457
+ types: ["operator", "entity", "url", "variable"],
1458
+ style: {
1459
+ color: L.variable
1460
+ }
1461
+ },
1462
+ {
1463
+ types: ["keyword"],
1464
+ style: {
1465
+ color: L.keyword
1466
+ }
1467
+ },
1468
+ {
1469
+ types: ["atrule", "class-name"],
1470
+ style: {
1471
+ color: L.className
1472
+ }
1473
+ },
1474
+ {
1475
+ types: ["important"],
1476
+ style: {
1477
+ fontWeight: "400"
1478
+ }
1479
+ },
1480
+ {
1481
+ types: ["bold"],
1482
+ style: {
1483
+ fontWeight: "bold"
1484
+ }
1485
+ },
1486
+ {
1487
+ types: ["italic"],
1488
+ style: {
1489
+ fontStyle: "italic"
1490
+ }
1491
+ },
1492
+ {
1493
+ types: ["namespace"],
1494
+ style: {
1495
+ opacity: 0.7
1496
+ }
1497
+ }
1498
+ ]
1499
+ }, He = qe, Ye = {
1500
+ plain: {
1501
+ color: "#f8f8f2",
1502
+ backgroundColor: "#272822"
1503
+ },
1504
+ styles: [
1505
+ {
1506
+ types: ["changed"],
1507
+ style: {
1508
+ color: "rgb(162, 191, 252)",
1509
+ fontStyle: "italic"
1510
+ }
1511
+ },
1512
+ {
1513
+ types: ["deleted"],
1514
+ style: {
1515
+ color: "#f92672",
1516
+ fontStyle: "italic"
1517
+ }
1518
+ },
1519
+ {
1520
+ types: ["inserted"],
1521
+ style: {
1522
+ color: "rgb(173, 219, 103)",
1523
+ fontStyle: "italic"
1524
+ }
1525
+ },
1526
+ {
1527
+ types: ["comment"],
1528
+ style: {
1529
+ color: "#8292a2",
1530
+ fontStyle: "italic"
1531
+ }
1532
+ },
1533
+ {
1534
+ types: ["string", "url"],
1535
+ style: {
1536
+ color: "#a6e22e"
1537
+ }
1538
+ },
1539
+ {
1540
+ types: ["variable"],
1541
+ style: {
1542
+ color: "#f8f8f2"
1543
+ }
1544
+ },
1545
+ {
1546
+ types: ["number"],
1547
+ style: {
1548
+ color: "#ae81ff"
1549
+ }
1550
+ },
1551
+ {
1552
+ types: ["builtin", "char", "constant", "function", "class-name"],
1553
+ style: {
1554
+ color: "#e6db74"
1555
+ }
1556
+ },
1557
+ {
1558
+ types: ["punctuation"],
1559
+ style: {
1560
+ color: "#f8f8f2"
1561
+ }
1562
+ },
1563
+ {
1564
+ types: ["selector", "doctype"],
1565
+ style: {
1566
+ color: "#a6e22e",
1567
+ fontStyle: "italic"
1568
+ }
1569
+ },
1570
+ {
1571
+ types: ["tag", "operator", "keyword"],
1572
+ style: {
1573
+ color: "#66d9ef"
1574
+ }
1575
+ },
1576
+ {
1577
+ types: ["boolean"],
1578
+ style: {
1579
+ color: "#ae81ff"
1580
+ }
1581
+ },
1582
+ {
1583
+ types: ["namespace"],
1584
+ style: {
1585
+ color: "rgb(178, 204, 214)",
1586
+ opacity: 0.7
1587
+ }
1588
+ },
1589
+ {
1590
+ types: ["tag", "property"],
1591
+ style: {
1592
+ color: "#f92672"
1593
+ }
1594
+ },
1595
+ {
1596
+ types: ["attr-name"],
1597
+ style: {
1598
+ color: "#a6e22e !important"
1599
+ }
1600
+ },
1601
+ {
1602
+ types: ["doctype"],
1603
+ style: {
1604
+ color: "#8292a2"
1605
+ }
1606
+ },
1607
+ {
1608
+ types: ["rule"],
1609
+ style: {
1610
+ color: "#e6db74"
1611
+ }
1612
+ }
1613
+ ]
1614
+ }, Ke = Ye, Ve = {
1615
+ plain: {
1616
+ color: "#bfc7d5",
1617
+ backgroundColor: "#292d3e"
1618
+ },
1619
+ styles: [
1620
+ {
1621
+ types: ["comment"],
1622
+ style: {
1623
+ color: "rgb(105, 112, 152)",
1624
+ fontStyle: "italic"
1625
+ }
1626
+ },
1627
+ {
1628
+ types: ["string", "inserted"],
1629
+ style: {
1630
+ color: "rgb(195, 232, 141)"
1631
+ }
1632
+ },
1633
+ {
1634
+ types: ["number"],
1635
+ style: {
1636
+ color: "rgb(247, 140, 108)"
1637
+ }
1638
+ },
1639
+ {
1640
+ types: ["builtin", "char", "constant", "function"],
1641
+ style: {
1642
+ color: "rgb(130, 170, 255)"
1643
+ }
1644
+ },
1645
+ {
1646
+ types: ["punctuation", "selector"],
1647
+ style: {
1648
+ color: "rgb(199, 146, 234)"
1649
+ }
1650
+ },
1651
+ {
1652
+ types: ["variable"],
1653
+ style: {
1654
+ color: "rgb(191, 199, 213)"
1655
+ }
1656
+ },
1657
+ {
1658
+ types: ["class-name", "attr-name"],
1659
+ style: {
1660
+ color: "rgb(255, 203, 107)"
1661
+ }
1662
+ },
1663
+ {
1664
+ types: ["tag", "deleted"],
1665
+ style: {
1666
+ color: "rgb(255, 85, 114)"
1667
+ }
1668
+ },
1669
+ {
1670
+ types: ["operator"],
1671
+ style: {
1672
+ color: "rgb(137, 221, 255)"
1673
+ }
1674
+ },
1675
+ {
1676
+ types: ["boolean"],
1677
+ style: {
1678
+ color: "rgb(255, 88, 116)"
1679
+ }
1680
+ },
1681
+ {
1682
+ types: ["keyword"],
1683
+ style: {
1684
+ fontStyle: "italic"
1685
+ }
1686
+ },
1687
+ {
1688
+ types: ["doctype"],
1689
+ style: {
1690
+ color: "rgb(199, 146, 234)",
1691
+ fontStyle: "italic"
1692
+ }
1693
+ },
1694
+ {
1695
+ types: ["namespace"],
1696
+ style: {
1697
+ color: "rgb(178, 204, 214)"
1698
+ }
1699
+ },
1700
+ {
1701
+ types: ["url"],
1702
+ style: {
1703
+ color: "rgb(221, 221, 221)"
1704
+ }
1705
+ }
1706
+ ]
1707
+ }, Xe = Ve, Qe = {
1708
+ plain: {
1709
+ color: "#9EFEFF",
1710
+ backgroundColor: "#2D2A55"
1711
+ },
1712
+ styles: [
1713
+ {
1714
+ types: ["changed"],
1715
+ style: {
1716
+ color: "rgb(255, 238, 128)"
1717
+ }
1718
+ },
1719
+ {
1720
+ types: ["deleted"],
1721
+ style: {
1722
+ color: "rgba(239, 83, 80, 0.56)"
1723
+ }
1724
+ },
1725
+ {
1726
+ types: ["inserted"],
1727
+ style: {
1728
+ color: "rgb(173, 219, 103)"
1729
+ }
1730
+ },
1731
+ {
1732
+ types: ["comment"],
1733
+ style: {
1734
+ color: "rgb(179, 98, 255)",
1735
+ fontStyle: "italic"
1736
+ }
1737
+ },
1738
+ {
1739
+ types: ["punctuation"],
1740
+ style: {
1741
+ color: "rgb(255, 255, 255)"
1742
+ }
1743
+ },
1744
+ {
1745
+ types: ["constant"],
1746
+ style: {
1747
+ color: "rgb(255, 98, 140)"
1748
+ }
1749
+ },
1750
+ {
1751
+ types: ["string", "url"],
1752
+ style: {
1753
+ color: "rgb(165, 255, 144)"
1754
+ }
1755
+ },
1756
+ {
1757
+ types: ["variable"],
1758
+ style: {
1759
+ color: "rgb(255, 238, 128)"
1760
+ }
1761
+ },
1762
+ {
1763
+ types: ["number", "boolean"],
1764
+ style: {
1765
+ color: "rgb(255, 98, 140)"
1766
+ }
1767
+ },
1768
+ {
1769
+ types: ["attr-name"],
1770
+ style: {
1771
+ color: "rgb(255, 180, 84)"
1772
+ }
1773
+ },
1774
+ {
1775
+ types: [
1776
+ "keyword",
1777
+ "operator",
1778
+ "property",
1779
+ "namespace",
1780
+ "tag",
1781
+ "selector",
1782
+ "doctype"
1783
+ ],
1784
+ style: {
1785
+ color: "rgb(255, 157, 0)"
1786
+ }
1787
+ },
1788
+ {
1789
+ types: ["builtin", "char", "constant", "function", "class-name"],
1790
+ style: {
1791
+ color: "rgb(250, 208, 0)"
1792
+ }
1793
+ }
1794
+ ]
1795
+ }, Je = Qe, et = {
1796
+ plain: {
1797
+ backgroundColor: "linear-gradient(to bottom, #2a2139 75%, #34294f)",
1798
+ backgroundImage: "#34294f",
1799
+ color: "#f92aad",
1800
+ textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"
1801
+ },
1802
+ styles: [
1803
+ {
1804
+ types: ["comment", "block-comment", "prolog", "doctype", "cdata"],
1805
+ style: {
1806
+ color: "#495495",
1807
+ fontStyle: "italic"
1808
+ }
1809
+ },
1810
+ {
1811
+ types: ["punctuation"],
1812
+ style: {
1813
+ color: "#ccc"
1814
+ }
1815
+ },
1816
+ {
1817
+ types: [
1818
+ "tag",
1819
+ "attr-name",
1820
+ "namespace",
1821
+ "number",
1822
+ "unit",
1823
+ "hexcode",
1824
+ "deleted"
1825
+ ],
1826
+ style: {
1827
+ color: "#e2777a"
1828
+ }
1829
+ },
1830
+ {
1831
+ types: ["property", "selector"],
1832
+ style: {
1833
+ color: "#72f1b8",
1834
+ textShadow: "0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"
1835
+ }
1836
+ },
1837
+ {
1838
+ types: ["function-name"],
1839
+ style: {
1840
+ color: "#6196cc"
1841
+ }
1842
+ },
1843
+ {
1844
+ types: ["boolean", "selector-id", "function"],
1845
+ style: {
1846
+ color: "#fdfdfd",
1847
+ textShadow: "0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"
1848
+ }
1849
+ },
1850
+ {
1851
+ types: ["class-name", "maybe-class-name", "builtin"],
1852
+ style: {
1853
+ color: "#fff5f6",
1854
+ textShadow: "0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"
1855
+ }
1856
+ },
1857
+ {
1858
+ types: ["constant", "symbol"],
1859
+ style: {
1860
+ color: "#f92aad",
1861
+ textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"
1862
+ }
1863
+ },
1864
+ {
1865
+ types: ["important", "atrule", "keyword", "selector-class"],
1866
+ style: {
1867
+ color: "#f4eee4",
1868
+ textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"
1869
+ }
1870
+ },
1871
+ {
1872
+ types: ["string", "char", "attr-value", "regex", "variable"],
1873
+ style: {
1874
+ color: "#f87c32"
1875
+ }
1876
+ },
1877
+ {
1878
+ types: ["parameter"],
1879
+ style: {
1880
+ fontStyle: "italic"
1881
+ }
1882
+ },
1883
+ {
1884
+ types: ["entity", "url"],
1885
+ style: {
1886
+ color: "#67cdcc"
1887
+ }
1888
+ },
1889
+ {
1890
+ types: ["operator"],
1891
+ style: {
1892
+ color: "ffffffee"
1893
+ }
1894
+ },
1895
+ {
1896
+ types: ["important", "bold"],
1897
+ style: {
1898
+ fontWeight: "bold"
1899
+ }
1900
+ },
1901
+ {
1902
+ types: ["italic"],
1903
+ style: {
1904
+ fontStyle: "italic"
1905
+ }
1906
+ },
1907
+ {
1908
+ types: ["entity"],
1909
+ style: {
1910
+ cursor: "help"
1911
+ }
1912
+ },
1913
+ {
1914
+ types: ["inserted"],
1915
+ style: {
1916
+ color: "green"
1917
+ }
1918
+ }
1919
+ ]
1920
+ }, tt = et, at = {
1921
+ plain: {
1922
+ color: "#282a2e",
1923
+ backgroundColor: "#ffffff"
1924
+ },
1925
+ styles: [
1926
+ {
1927
+ types: ["comment"],
1928
+ style: {
1929
+ color: "rgb(197, 200, 198)"
1930
+ }
1931
+ },
1932
+ {
1933
+ types: ["string", "number", "builtin", "variable"],
1934
+ style: {
1935
+ color: "rgb(150, 152, 150)"
1936
+ }
1937
+ },
1938
+ {
1939
+ types: ["class-name", "function", "tag", "attr-name"],
1940
+ style: {
1941
+ color: "rgb(40, 42, 46)"
1942
+ }
1943
+ }
1944
+ ]
1945
+ }, nt = at, rt = {
1946
+ plain: {
1947
+ color: "#9CDCFE",
1948
+ backgroundColor: "#1E1E1E"
1949
+ },
1950
+ styles: [
1951
+ {
1952
+ types: ["prolog"],
1953
+ style: {
1954
+ color: "rgb(0, 0, 128)"
1955
+ }
1956
+ },
1957
+ {
1958
+ types: ["comment"],
1959
+ style: {
1960
+ color: "rgb(106, 153, 85)"
1961
+ }
1962
+ },
1963
+ {
1964
+ types: ["builtin", "changed", "keyword", "interpolation-punctuation"],
1965
+ style: {
1966
+ color: "rgb(86, 156, 214)"
1967
+ }
1968
+ },
1969
+ {
1970
+ types: ["number", "inserted"],
1971
+ style: {
1972
+ color: "rgb(181, 206, 168)"
1973
+ }
1974
+ },
1975
+ {
1976
+ types: ["constant"],
1977
+ style: {
1978
+ color: "rgb(100, 102, 149)"
1979
+ }
1980
+ },
1981
+ {
1982
+ types: ["attr-name", "variable"],
1983
+ style: {
1984
+ color: "rgb(156, 220, 254)"
1985
+ }
1986
+ },
1987
+ {
1988
+ types: ["deleted", "string", "attr-value", "template-punctuation"],
1989
+ style: {
1990
+ color: "rgb(206, 145, 120)"
1991
+ }
1992
+ },
1993
+ {
1994
+ types: ["selector"],
1995
+ style: {
1996
+ color: "rgb(215, 186, 125)"
1997
+ }
1998
+ },
1999
+ {
2000
+ // Fix tag color
2001
+ types: ["tag"],
2002
+ style: {
2003
+ color: "rgb(78, 201, 176)"
2004
+ }
2005
+ },
2006
+ {
2007
+ // Fix tag color for HTML
2008
+ types: ["tag"],
2009
+ languages: ["markup"],
2010
+ style: {
2011
+ color: "rgb(86, 156, 214)"
2012
+ }
2013
+ },
2014
+ {
2015
+ types: ["punctuation", "operator"],
2016
+ style: {
2017
+ color: "rgb(212, 212, 212)"
2018
+ }
2019
+ },
2020
+ {
2021
+ // Fix punctuation color for HTML
2022
+ types: ["punctuation"],
2023
+ languages: ["markup"],
2024
+ style: {
2025
+ color: "#808080"
2026
+ }
2027
+ },
2028
+ {
2029
+ types: ["function"],
2030
+ style: {
2031
+ color: "rgb(220, 220, 170)"
2032
+ }
2033
+ },
2034
+ {
2035
+ types: ["class-name"],
2036
+ style: {
2037
+ color: "rgb(78, 201, 176)"
2038
+ }
2039
+ },
2040
+ {
2041
+ types: ["char"],
2042
+ style: {
2043
+ color: "rgb(209, 105, 105)"
2044
+ }
2045
+ }
2046
+ ]
2047
+ }, ye = rt, ot = {
2048
+ plain: {
2049
+ color: "#000000",
2050
+ backgroundColor: "#ffffff"
2051
+ },
2052
+ styles: [
2053
+ {
2054
+ types: ["comment"],
2055
+ style: {
2056
+ color: "rgb(0, 128, 0)"
2057
+ }
2058
+ },
2059
+ {
2060
+ types: ["builtin"],
2061
+ style: {
2062
+ color: "rgb(0, 112, 193)"
2063
+ }
2064
+ },
2065
+ {
2066
+ types: ["number", "variable", "inserted"],
2067
+ style: {
2068
+ color: "rgb(9, 134, 88)"
2069
+ }
2070
+ },
2071
+ {
2072
+ types: ["operator"],
2073
+ style: {
2074
+ color: "rgb(0, 0, 0)"
2075
+ }
2076
+ },
2077
+ {
2078
+ types: ["constant", "char"],
2079
+ style: {
2080
+ color: "rgb(129, 31, 63)"
2081
+ }
2082
+ },
2083
+ {
2084
+ types: ["tag"],
2085
+ style: {
2086
+ color: "rgb(128, 0, 0)"
2087
+ }
2088
+ },
2089
+ {
2090
+ types: ["attr-name"],
2091
+ style: {
2092
+ color: "rgb(255, 0, 0)"
2093
+ }
2094
+ },
2095
+ {
2096
+ types: ["deleted", "string"],
2097
+ style: {
2098
+ color: "rgb(163, 21, 21)"
2099
+ }
2100
+ },
2101
+ {
2102
+ types: ["changed", "punctuation"],
2103
+ style: {
2104
+ color: "rgb(4, 81, 165)"
2105
+ }
2106
+ },
2107
+ {
2108
+ types: ["function", "keyword"],
2109
+ style: {
2110
+ color: "rgb(0, 0, 255)"
2111
+ }
2112
+ },
2113
+ {
2114
+ types: ["class-name"],
2115
+ style: {
2116
+ color: "rgb(38, 127, 153)"
2117
+ }
2118
+ }
2119
+ ]
2120
+ }, st = ot, lt = {
2121
+ plain: {
2122
+ color: "#f8fafc",
2123
+ backgroundColor: "#011627"
2124
+ },
2125
+ styles: [
2126
+ {
2127
+ types: ["prolog"],
2128
+ style: {
2129
+ color: "#000080"
2130
+ }
2131
+ },
2132
+ {
2133
+ types: ["comment"],
2134
+ style: {
2135
+ color: "#6A9955"
2136
+ }
2137
+ },
2138
+ {
2139
+ types: ["builtin", "changed", "keyword", "interpolation-punctuation"],
2140
+ style: {
2141
+ color: "#569CD6"
2142
+ }
2143
+ },
2144
+ {
2145
+ types: ["number", "inserted"],
2146
+ style: {
2147
+ color: "#B5CEA8"
2148
+ }
2149
+ },
2150
+ {
2151
+ types: ["constant"],
2152
+ style: {
2153
+ color: "#f8fafc"
2154
+ }
2155
+ },
2156
+ {
2157
+ types: ["attr-name", "variable"],
2158
+ style: {
2159
+ color: "#9CDCFE"
2160
+ }
2161
+ },
2162
+ {
2163
+ types: ["deleted", "string", "attr-value", "template-punctuation"],
2164
+ style: {
2165
+ color: "#cbd5e1"
2166
+ }
2167
+ },
2168
+ {
2169
+ types: ["selector"],
2170
+ style: {
2171
+ color: "#D7BA7D"
2172
+ }
2173
+ },
2174
+ {
2175
+ types: ["tag"],
2176
+ style: {
2177
+ color: "#0ea5e9"
2178
+ }
2179
+ },
2180
+ {
2181
+ types: ["tag"],
2182
+ languages: ["markup"],
2183
+ style: {
2184
+ color: "#0ea5e9"
2185
+ }
2186
+ },
2187
+ {
2188
+ types: ["punctuation", "operator"],
2189
+ style: {
2190
+ color: "#D4D4D4"
2191
+ }
2192
+ },
2193
+ {
2194
+ types: ["punctuation"],
2195
+ languages: ["markup"],
2196
+ style: {
2197
+ color: "#808080"
2198
+ }
2199
+ },
2200
+ {
2201
+ types: ["function"],
2202
+ style: {
2203
+ color: "#7dd3fc"
2204
+ }
2205
+ },
2206
+ {
2207
+ types: ["class-name"],
2208
+ style: {
2209
+ color: "#0ea5e9"
2210
+ }
2211
+ },
2212
+ {
2213
+ types: ["char"],
2214
+ style: {
2215
+ color: "#D16969"
2216
+ }
2217
+ }
2218
+ ]
2219
+ }, it = lt, ut = {
2220
+ plain: {
2221
+ color: "#0f172a",
2222
+ backgroundColor: "#f1f5f9"
2223
+ },
2224
+ styles: [
2225
+ {
2226
+ types: ["prolog"],
2227
+ style: {
2228
+ color: "#000080"
2229
+ }
2230
+ },
2231
+ {
2232
+ types: ["comment"],
2233
+ style: {
2234
+ color: "#6A9955"
2235
+ }
2236
+ },
2237
+ {
2238
+ types: ["builtin", "changed", "keyword", "interpolation-punctuation"],
2239
+ style: {
2240
+ color: "#0c4a6e"
2241
+ }
2242
+ },
2243
+ {
2244
+ types: ["number", "inserted"],
2245
+ style: {
2246
+ color: "#B5CEA8"
2247
+ }
2248
+ },
2249
+ {
2250
+ types: ["constant"],
2251
+ style: {
2252
+ color: "#0f172a"
2253
+ }
2254
+ },
2255
+ {
2256
+ types: ["attr-name", "variable"],
2257
+ style: {
2258
+ color: "#0c4a6e"
2259
+ }
2260
+ },
2261
+ {
2262
+ types: ["deleted", "string", "attr-value", "template-punctuation"],
2263
+ style: {
2264
+ color: "#64748b"
2265
+ }
2266
+ },
2267
+ {
2268
+ types: ["selector"],
2269
+ style: {
2270
+ color: "#D7BA7D"
2271
+ }
2272
+ },
2273
+ {
2274
+ types: ["tag"],
2275
+ style: {
2276
+ color: "#0ea5e9"
2277
+ }
2278
+ },
2279
+ {
2280
+ types: ["tag"],
2281
+ languages: ["markup"],
2282
+ style: {
2283
+ color: "#0ea5e9"
2284
+ }
2285
+ },
2286
+ {
2287
+ types: ["punctuation", "operator"],
2288
+ style: {
2289
+ color: "#475569"
2290
+ }
2291
+ },
2292
+ {
2293
+ types: ["punctuation"],
2294
+ languages: ["markup"],
2295
+ style: {
2296
+ color: "#808080"
2297
+ }
2298
+ },
2299
+ {
2300
+ types: ["function"],
2301
+ style: {
2302
+ color: "#0e7490"
2303
+ }
2304
+ },
2305
+ {
2306
+ types: ["class-name"],
2307
+ style: {
2308
+ color: "#0ea5e9"
2309
+ }
2310
+ },
2311
+ {
2312
+ types: ["char"],
2313
+ style: {
2314
+ color: "#D16969"
2315
+ }
2316
+ }
2317
+ ]
2318
+ }, ct = ut, pt = {
2319
+ plain: {
2320
+ backgroundColor: "hsl(220, 13%, 18%)",
2321
+ color: "hsl(220, 14%, 71%)",
2322
+ textShadow: "0 1px rgba(0, 0, 0, 0.3)"
2323
+ },
2324
+ styles: [
2325
+ {
2326
+ types: ["comment", "prolog", "cdata"],
2327
+ style: {
2328
+ color: "hsl(220, 10%, 40%)"
2329
+ }
2330
+ },
2331
+ {
2332
+ types: ["doctype", "punctuation", "entity"],
2333
+ style: {
2334
+ color: "hsl(220, 14%, 71%)"
2335
+ }
2336
+ },
2337
+ {
2338
+ types: [
2339
+ "attr-name",
2340
+ "class-name",
2341
+ "maybe-class-name",
2342
+ "boolean",
2343
+ "constant",
2344
+ "number",
2345
+ "atrule"
2346
+ ],
2347
+ style: { color: "hsl(29, 54%, 61%)" }
2348
+ },
2349
+ {
2350
+ types: ["keyword"],
2351
+ style: { color: "hsl(286, 60%, 67%)" }
2352
+ },
2353
+ {
2354
+ types: ["property", "tag", "symbol", "deleted", "important"],
2355
+ style: {
2356
+ color: "hsl(355, 65%, 65%)"
2357
+ }
2358
+ },
2359
+ {
2360
+ types: [
2361
+ "selector",
2362
+ "string",
2363
+ "char",
2364
+ "builtin",
2365
+ "inserted",
2366
+ "regex",
2367
+ "attr-value"
2368
+ ],
2369
+ style: {
2370
+ color: "hsl(95, 38%, 62%)"
2371
+ }
2372
+ },
2373
+ {
2374
+ types: ["variable", "operator", "function"],
2375
+ style: {
2376
+ color: "hsl(207, 82%, 66%)"
2377
+ }
2378
+ },
2379
+ {
2380
+ types: ["url"],
2381
+ style: {
2382
+ color: "hsl(187, 47%, 55%)"
2383
+ }
2384
+ },
2385
+ {
2386
+ types: ["deleted"],
2387
+ style: {
2388
+ textDecorationLine: "line-through"
2389
+ }
2390
+ },
2391
+ {
2392
+ types: ["inserted"],
2393
+ style: {
2394
+ textDecorationLine: "underline"
2395
+ }
2396
+ },
2397
+ {
2398
+ types: ["italic"],
2399
+ style: {
2400
+ fontStyle: "italic"
2401
+ }
2402
+ },
2403
+ {
2404
+ types: ["important", "bold"],
2405
+ style: {
2406
+ fontWeight: "bold"
2407
+ }
2408
+ },
2409
+ {
2410
+ types: ["important"],
2411
+ style: {
2412
+ color: "hsl(220, 14%, 71%)"
2413
+ }
2414
+ }
2415
+ ]
2416
+ }, dt = pt, gt = {
2417
+ plain: {
2418
+ backgroundColor: "hsl(230, 1%, 98%)",
2419
+ color: "hsl(230, 8%, 24%)"
2420
+ },
2421
+ styles: [
2422
+ {
2423
+ types: ["comment", "prolog", "cdata"],
2424
+ style: {
2425
+ color: "hsl(230, 4%, 64%)"
2426
+ }
2427
+ },
2428
+ {
2429
+ types: ["doctype", "punctuation", "entity"],
2430
+ style: {
2431
+ color: "hsl(230, 8%, 24%)"
2432
+ }
2433
+ },
2434
+ {
2435
+ types: [
2436
+ "attr-name",
2437
+ "class-name",
2438
+ "boolean",
2439
+ "constant",
2440
+ "number",
2441
+ "atrule"
2442
+ ],
2443
+ style: {
2444
+ color: "hsl(35, 99%, 36%)"
2445
+ }
2446
+ },
2447
+ {
2448
+ types: ["keyword"],
2449
+ style: {
2450
+ color: "hsl(301, 63%, 40%)"
2451
+ }
2452
+ },
2453
+ {
2454
+ types: ["property", "tag", "symbol", "deleted", "important"],
2455
+ style: {
2456
+ color: "hsl(5, 74%, 59%)"
2457
+ }
2458
+ },
2459
+ {
2460
+ types: [
2461
+ "selector",
2462
+ "string",
2463
+ "char",
2464
+ "builtin",
2465
+ "inserted",
2466
+ "regex",
2467
+ "attr-value",
2468
+ "punctuation"
2469
+ ],
2470
+ style: {
2471
+ color: "hsl(119, 34%, 47%)"
2472
+ }
2473
+ },
2474
+ {
2475
+ types: ["variable", "operator", "function"],
2476
+ style: {
2477
+ color: "hsl(221, 87%, 60%)"
2478
+ }
2479
+ },
2480
+ {
2481
+ types: ["url"],
2482
+ style: {
2483
+ color: "hsl(198, 99%, 37%)"
2484
+ }
2485
+ },
2486
+ {
2487
+ types: ["deleted"],
2488
+ style: {
2489
+ textDecorationLine: "line-through"
2490
+ }
2491
+ },
2492
+ {
2493
+ types: ["inserted"],
2494
+ style: {
2495
+ textDecorationLine: "underline"
2496
+ }
2497
+ },
2498
+ {
2499
+ types: ["italic"],
2500
+ style: {
2501
+ fontStyle: "italic"
2502
+ }
2503
+ },
2504
+ {
2505
+ types: ["important", "bold"],
2506
+ style: {
2507
+ fontWeight: "bold"
2508
+ }
2509
+ },
2510
+ {
2511
+ types: ["important"],
2512
+ style: {
2513
+ color: "hsl(230, 8%, 24%)"
2514
+ }
2515
+ }
2516
+ ]
2517
+ }, yt = gt, ft = {
2518
+ plain: {
2519
+ color: "#ebdbb2",
2520
+ backgroundColor: "#292828"
2521
+ },
2522
+ styles: [
2523
+ {
2524
+ types: [
2525
+ "imports",
2526
+ "class-name",
2527
+ "maybe-class-name",
2528
+ "constant",
2529
+ "doctype",
2530
+ "builtin",
2531
+ "function"
2532
+ ],
2533
+ style: {
2534
+ color: "#d8a657"
2535
+ }
2536
+ },
2537
+ {
2538
+ types: ["property-access"],
2539
+ style: {
2540
+ color: "#7daea3"
2541
+ }
2542
+ },
2543
+ {
2544
+ types: ["tag"],
2545
+ style: {
2546
+ color: "#e78a4e"
2547
+ }
2548
+ },
2549
+ {
2550
+ types: ["attr-name", "char", "url", "regex"],
2551
+ style: {
2552
+ color: "#a9b665"
2553
+ }
2554
+ },
2555
+ {
2556
+ types: ["attr-value", "string"],
2557
+ style: {
2558
+ color: "#89b482"
2559
+ }
2560
+ },
2561
+ {
2562
+ types: ["comment", "prolog", "cdata", "operator", "inserted"],
2563
+ style: {
2564
+ color: "#a89984"
2565
+ }
2566
+ },
2567
+ {
2568
+ types: [
2569
+ "delimiter",
2570
+ "boolean",
2571
+ "keyword",
2572
+ "selector",
2573
+ "important",
2574
+ "atrule",
2575
+ "property",
2576
+ "variable",
2577
+ "deleted"
2578
+ ],
2579
+ style: {
2580
+ color: "#ea6962"
2581
+ }
2582
+ },
2583
+ {
2584
+ types: ["entity", "number", "symbol"],
2585
+ style: {
2586
+ color: "#d3869b"
2587
+ }
2588
+ }
2589
+ ]
2590
+ }, bt = ft, mt = {
2591
+ plain: {
2592
+ color: "#654735",
2593
+ backgroundColor: "#f9f5d7"
2594
+ },
2595
+ styles: [
2596
+ {
2597
+ types: [
2598
+ "delimiter",
2599
+ "boolean",
2600
+ "keyword",
2601
+ "selector",
2602
+ "important",
2603
+ "atrule",
2604
+ "property",
2605
+ "variable",
2606
+ "deleted"
2607
+ ],
2608
+ style: {
2609
+ color: "#af2528"
2610
+ }
2611
+ },
2612
+ {
2613
+ types: [
2614
+ "imports",
2615
+ "class-name",
2616
+ "maybe-class-name",
2617
+ "constant",
2618
+ "doctype",
2619
+ "builtin"
2620
+ ],
2621
+ style: {
2622
+ color: "#b4730e"
2623
+ }
2624
+ },
2625
+ {
2626
+ types: ["string", "attr-value"],
2627
+ style: {
2628
+ color: "#477a5b"
2629
+ }
2630
+ },
2631
+ {
2632
+ types: ["property-access"],
2633
+ style: {
2634
+ color: "#266b79"
2635
+ }
2636
+ },
2637
+ {
2638
+ types: ["function", "attr-name", "char", "url"],
2639
+ style: {
2640
+ color: "#72761e"
2641
+ }
2642
+ },
2643
+ {
2644
+ types: ["tag"],
2645
+ style: {
2646
+ color: "#b94c07"
2647
+ }
2648
+ },
2649
+ {
2650
+ types: ["comment", "prolog", "cdata", "operator", "inserted"],
2651
+ style: {
2652
+ color: "#a89984"
2653
+ }
2654
+ },
2655
+ {
2656
+ types: ["entity", "number", "symbol"],
2657
+ style: {
2658
+ color: "#924f79"
2659
+ }
2660
+ }
2661
+ ]
2662
+ }, ht = mt, vt = (e) => V(
2663
+ (t) => {
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)
2667
+ });
2668
+ return typeof e == "object" && "plain" in e && (m.style = e.plain), typeof d == "object" && (m.style = B(B({}, m.style || {}), d)), m;
2669
+ },
2670
+ [e]
2671
+ ), kt = (e) => {
2672
+ const t = V(
2673
+ ({ types: a, empty: l }) => {
2674
+ if (e != null) {
2675
+ {
2676
+ if (a.length === 1 && a[0] === "plain")
2677
+ return l != null ? { display: "inline-block" } : void 0;
2678
+ if (a.length === 1 && l != null)
2679
+ return e[a[0]];
2680
+ }
2681
+ return Object.assign(
2682
+ l != null ? { display: "inline-block" } : {},
2683
+ ...a.map((d) => e[d])
2684
+ );
2685
+ }
2686
+ },
2687
+ [e]
2688
+ );
2689
+ return V(
2690
+ (a) => {
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)
2696
+ });
2697
+ return u != null && (c.style = B(B({}, c.style || {}), u)), c;
2698
+ },
2699
+ [t]
2700
+ );
2701
+ }, wt = /\r\n|\r|\n/, re = (e) => {
2702
+ e.length === 0 ? e.push({
2703
+ types: ["plain"],
2704
+ content: `
2705
+ `,
2706
+ empty: !0
2707
+ }) : e.length === 1 && e[0].content === "" && (e[0].content = `
2708
+ `, e[0].empty = !0);
2709
+ }, oe = (e, t) => {
2710
+ const a = e.length;
2711
+ return a > 0 && e[a - 1] === t ? e : e.concat(t);
2712
+ }, Et = (e) => {
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);
2722
+ continue;
2723
+ }
2724
+ const w = g.split(wt), n = w.length;
2725
+ m.push({
2726
+ types: b,
2727
+ content: w[0]
2728
+ });
2729
+ for (let r = 1; r < n; r++)
2730
+ re(m), c.push(m = []), m.push({
2731
+ types: b,
2732
+ content: w[r]
2733
+ });
2734
+ }
2735
+ u--, t.pop(), a.pop(), l.pop(), d.pop();
2736
+ }
2737
+ return re(m), c;
2738
+ }, se = Et, xt = ({ prism: e, code: t, grammar: a, language: l }) => ve(() => {
2739
+ if (a == null)
2740
+ return se([t]);
2741
+ const d = {
2742
+ code: t,
2743
+ grammar: a,
2744
+ language: l,
2745
+ tokens: []
2746
+ };
2747
+ return e.hooks.run("before-tokenize", d), d.tokens = e.tokenize(t, a), e.hooks.run("after-tokenize", d), se(d.tokens);
2748
+ }, [
2749
+ t,
2750
+ a,
2751
+ l,
2752
+ // prism is a stable import
2753
+ e
2754
+ ]), St = (e, t) => {
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;
2761
+ }, {});
2762
+ return l.root = a, l.plain = q(B({}, a), { backgroundColor: void 0 }), l;
2763
+ }, At = St, _t = ({
2764
+ children: e,
2765
+ language: t,
2766
+ code: a,
2767
+ theme: l,
2768
+ prism: d
2769
+ }) => {
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 });
2771
+ return e({
2772
+ tokens: b,
2773
+ className: `prism-code language-${h}`,
2774
+ style: u != null ? u.root : {},
2775
+ getLineProps: m,
2776
+ getTokenProps: c
2777
+ });
2778
+ }, Ft = (e) => he(_t, q(B({}, e), {
2779
+ prism: e.prism || o,
2780
+ theme: e.theme || ye,
2781
+ code: e.code,
2782
+ language: e.language
2783
+ }));
2784
+ /*! Bundled license information:
2785
+
2786
+ prismjs/prism.js:
2787
+ (**
2788
+ * Prism: Lightweight, robust, elegant syntax highlighting
2789
+ *
2790
+ * @license MIT <https://opensource.org/licenses/MIT>
2791
+ * @author Lea Verou <https://lea.verou.me>
2792
+ * @namespace
2793
+ * @public
2794
+ *)
2795
+ */
2796
+ var Tt = (e, t, a, l, d, h, u, m) => {
2797
+ let c = document.documentElement, g = ["light", "dark"];
2798
+ function b(w) {
2799
+ (Array.isArray(e) ? e : [e]).forEach((n) => {
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);
2803
+ }
2804
+ function y(w) {
2805
+ m && g.includes(w) && (c.style.colorScheme = w);
2806
+ }
2807
+ function v() {
2808
+ return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
2809
+ }
2810
+ if (l) b(l);
2811
+ else try {
2812
+ let w = localStorage.getItem(t) || a, n = u && w === "system" ? v() : w;
2813
+ b(n);
2814
+ } catch {
2815
+ }
2816
+ }, le = ["light", "dark"], fe = "(prefers-color-scheme: dark)", Rt = typeof window > "u", J = _.createContext(void 0), It = { setTheme: (e) => {
2817
+ }, themes: [] }, Lt = () => {
2818
+ var e;
2819
+ return (e = _.useContext(J)) != null ? e : It;
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;
2823
+ if (!x) return;
2824
+ k === "system" && a && (x = ue());
2825
+ let S = c ? c[x] : x, F = t ? Dt(b) : null, A = document.documentElement, C = (T) => {
2826
+ T === "class" ? (A.classList.remove(...s), S && A.classList.add(S)) : T.startsWith("data-") && (S ? A.setAttribute(T, S) : A.removeAttribute(T));
2827
+ };
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;
2830
+ A.style.colorScheme = O;
2831
+ }
2832
+ F == null || F();
2833
+ }, [b]), i = _.useCallback((k) => {
2834
+ let x = typeof k == "function" ? k(v) : k;
2835
+ w(x);
2836
+ try {
2837
+ localStorage.setItem(d, x);
2838
+ } catch {
2839
+ }
2840
+ }, [v]), f = _.useCallback((k) => {
2841
+ let x = ue(k);
2842
+ r(x), v === "system" && a && !e && p("system");
2843
+ }, [v, e]);
2844
+ _.useEffect(() => {
2845
+ let k = window.matchMedia(fe);
2846
+ return k.addListener(f), f(k), () => k.removeListener(f);
2847
+ }, [f]), _.useEffect(() => {
2848
+ let k = (x) => {
2849
+ x.key === d && (x.newValue ? w(x.newValue) : i(u));
2850
+ };
2851
+ return window.addEventListener("storage", k), () => window.removeEventListener("storage", k);
2852
+ }, [i]), _.useEffect(() => {
2853
+ p(e ?? v);
2854
+ }, [e, v]);
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})` } });
2860
+ }), ie = (e, t) => {
2861
+ if (Rt) return;
2862
+ let a;
2863
+ try {
2864
+ a = localStorage.getItem(e) || void 0;
2865
+ } catch {
2866
+ }
2867
+ return a || t;
2868
+ }, Dt = (e) => {
2869
+ let t = document.createElement("style");
2870
+ return e && t.setAttribute("nonce", e), t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")), document.head.appendChild(t), () => {
2871
+ window.getComputedStyle(document.body), setTimeout(() => {
2872
+ document.head.removeChild(t);
2873
+ }, 1);
2874
+ };
2875
+ }, ue = (e) => (e || (e = window.matchMedia(fe)), e.matches ? "dark" : "light");
2876
+ globalThis.Prism = o;
2877
+ import("./prism-bash.min-HHIMdNJ_.js");
2878
+ import("./prism-ruby.min-Dx9KO9ds.js").then((e) => e.p);
2879
+ import("./prism-markup-BNGj0Tvm.js");
2880
+ import("./prism-json.min-B1GJqK1k.js");
2881
+ import("./prism-java.min-BpvsOuIa.js").then((e) => e.p);
2882
+ import("./prism-csharp.min-bQAo2pmx.js").then((e) => e.p);
2883
+ import("./prism-objectivec.min-BXSWqpJJ.js");
2884
+ import("./prism-markdown.min-C0Qn0m-5.js");
2885
+ import("./prism-javascript.min-CEqHqgbm.js");
2886
+ import("./prism-typescript.min-CD7H2IYQ.js").then((e) => e.p);
2887
+ const Bt = {
2888
+ mdx: "md"
2889
+ }, Zt = ({
2890
+ copyable: e = !0,
2891
+ language: t = "plain",
2892
+ title: a,
2893
+ ...l
2894
+ }) => {
2895
+ const { resolvedTheme: d } = Lt(), [h, u] = ke(!1);
2896
+ if (!l.code)
2897
+ return null;
2898
+ const m = d === "dark" ? X.vsDark : X.github;
2899
+ return /* @__PURE__ */ I.jsx(
2900
+ xe,
2901
+ {
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 }),
2904
+ /* @__PURE__ */ I.jsx(
2905
+ "pre",
2906
+ {
2907
+ className: ae(
2908
+ "relative scrollbar overflow-x-auto",
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"
2913
+ ),
2914
+ children: l.code
2915
+ }
2916
+ ),
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 })
2918
+ ] }),
2919
+ children: /* @__PURE__ */ I.jsx(
2920
+ Ft,
2921
+ {
2922
+ theme: m,
2923
+ language: Bt[t] ?? t,
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 }),
2927
+ /* @__PURE__ */ I.jsx(
2928
+ "pre",
2929
+ {
2930
+ className: ae(
2931
+ "relative scrollbar overflow-x-auto",
2932
+ g,
2933
+ l.className,
2934
+ l.noBackground && "!bg-transparent",
2935
+ l.wrapLines && "whitespace-pre-wrap break-words",
2936
+ a && "pt-10"
2937
+ ),
2938
+ style: b,
2939
+ children: y.map((n, r) => (
2940
+ // eslint-disable-next-line react/no-array-index-key
2941
+ /* @__PURE__ */ I.jsx("div", { ...v({ line: n }), children: n.map((s, p) => (
2942
+ // eslint-disable-next-line react/no-array-index-key
2943
+ /* @__PURE__ */ I.jsx("span", { ...w({ token: s }) }, p)
2944
+ )) }, r)
2945
+ ))
2946
+ }
2947
+ ),
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 }),
2949
+ e && /* @__PURE__ */ I.jsx(
2950
+ "button",
2951
+ {
2952
+ type: "button",
2953
+ "aria-label": "Copy code",
2954
+ title: "Copy code",
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",
2956
+ disabled: h,
2957
+ onClick: () => {
2958
+ u(!0), navigator.clipboard.writeText(
2959
+ y.map((n) => n.map(({ content: r }) => r).join("")).join(`
2960
+ `)
2961
+ ), setTimeout(() => u(!1), 2e3);
2962
+ },
2963
+ children: h ? /* @__PURE__ */ I.jsx(
2964
+ we,
2965
+ {
2966
+ className: "text-emerald-600",
2967
+ size: 16,
2968
+ strokeWidth: 2.5,
2969
+ absoluteStrokeWidth: !0
2970
+ }
2971
+ ) : /* @__PURE__ */ I.jsx(Ee, { size: 16 })
2972
+ }
2973
+ )
2974
+ ] })
2975
+ }
2976
+ )
2977
+ }
2978
+ );
2979
+ };
2980
+ export {
2981
+ Gt as J,
2982
+ Zt as S,
2983
+ Ut as e,
2984
+ Lt as z
2985
+ };
2986
+ //# sourceMappingURL=SyntaxHighlight-B0L4SC_N.js.map