zudoku 0.0.0-fabd0c1 → 0.0.0-fb5b775d

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 (2320) hide show
  1. package/README.md +34 -14
  2. package/cli.js +10 -0
  3. package/dist/app/ZuploBuildConfig.d.ts +45 -0
  4. package/dist/app/ZuploBuildConfig.js +29 -0
  5. package/dist/app/ZuploBuildConfig.js.map +1 -0
  6. package/dist/app/demo.js +22 -7
  7. package/dist/app/demo.js.map +1 -1
  8. package/dist/app/entry.client.d.ts +5 -2
  9. package/dist/app/entry.client.js +40 -4
  10. package/dist/app/entry.client.js.map +1 -1
  11. package/dist/app/entry.server.d.ts +8 -8
  12. package/dist/app/entry.server.js +27 -12
  13. package/dist/app/entry.server.js.map +1 -1
  14. package/dist/app/env.d.ts +33 -0
  15. package/dist/app/env.js +37 -0
  16. package/dist/app/env.js.map +1 -0
  17. package/dist/app/main.d.ts +93 -2
  18. package/dist/app/main.js +53 -43
  19. package/dist/app/main.js.map +1 -1
  20. package/dist/app/sentry.js +1 -1
  21. package/dist/app/standalone.js +11 -8
  22. package/dist/app/standalone.js.map +1 -1
  23. package/dist/cli/build/handler.d.ts +1 -3
  24. package/dist/cli/build/handler.js +18 -2
  25. package/dist/cli/build/handler.js.map +1 -1
  26. package/dist/cli/cli.d.ts +9 -0
  27. package/dist/cli/cli.js +22 -11
  28. package/dist/cli/cli.js.map +1 -1
  29. package/dist/cli/cmds/build.d.ts +11 -3
  30. package/dist/cli/cmds/build.js +20 -13
  31. package/dist/cli/cmds/build.js.map +1 -1
  32. package/dist/cli/cmds/dev.d.ts +1 -1
  33. package/dist/cli/cmds/dev.js +5 -0
  34. package/dist/cli/cmds/dev.js.map +1 -1
  35. package/dist/cli/cmds/preview.d.ts +16 -0
  36. package/dist/cli/cmds/preview.js +25 -0
  37. package/dist/cli/cmds/preview.js.map +1 -0
  38. package/dist/cli/common/analytics/lib.js +1 -1
  39. package/dist/cli/common/analytics/lib.js.map +1 -1
  40. package/dist/cli/common/logger.js +0 -1
  41. package/dist/cli/common/logger.js.map +1 -1
  42. package/dist/cli/common/machine-id/lib.js +3 -1
  43. package/dist/cli/common/machine-id/lib.js.map +1 -1
  44. package/dist/cli/common/outdated.js +2 -1
  45. package/dist/cli/common/outdated.js.map +1 -1
  46. package/dist/cli/common/output.js +2 -3
  47. package/dist/cli/common/output.js.map +1 -1
  48. package/dist/cli/common/utils/box.js +2 -2
  49. package/dist/cli/common/utils/box.js.map +1 -1
  50. package/dist/cli/common/utils/ports.d.ts +1 -1
  51. package/dist/cli/common/utils/ports.js +16 -15
  52. package/dist/cli/common/utils/ports.js.map +1 -1
  53. package/dist/cli/common/validators/lib.js +1 -1
  54. package/dist/cli/common/validators/lib.js.map +1 -1
  55. package/dist/cli/common/version-check.d.ts +2 -0
  56. package/dist/cli/common/version-check.js +58 -0
  57. package/dist/cli/common/version-check.js.map +1 -0
  58. package/dist/cli/dev/handler.d.ts +1 -0
  59. package/dist/cli/dev/handler.js +14 -15
  60. package/dist/cli/dev/handler.js.map +1 -1
  61. package/dist/cli/preview/handler.d.ts +3 -0
  62. package/dist/cli/preview/handler.js +35 -0
  63. package/dist/cli/preview/handler.js.map +1 -0
  64. package/dist/codegen.js +2 -2
  65. package/dist/codegen.js.map +1 -1
  66. package/dist/config/config.d.ts +21 -32
  67. package/dist/config/file-exists.d.ts +1 -0
  68. package/dist/config/file-exists.js +5 -0
  69. package/dist/config/file-exists.js.map +1 -0
  70. package/dist/config/loader.d.ts +19 -18
  71. package/dist/config/loader.js +104 -117
  72. package/dist/config/loader.js.map +1 -1
  73. package/dist/config/validators/BuildSchema.d.ts +44 -0
  74. package/dist/config/validators/BuildSchema.js +57 -0
  75. package/dist/config/validators/BuildSchema.js.map +1 -0
  76. package/dist/config/validators/InputNavigationSchema.d.ts +7646 -0
  77. package/dist/config/validators/InputNavigationSchema.js +78 -0
  78. package/dist/config/validators/InputNavigationSchema.js.map +1 -0
  79. package/dist/config/validators/InputNavigationSchema.test-d.js +146 -0
  80. package/dist/config/validators/InputNavigationSchema.test-d.js.map +1 -0
  81. package/dist/config/validators/NavigationSchema.d.ts +44 -0
  82. package/dist/config/validators/NavigationSchema.js +96 -0
  83. package/dist/config/validators/NavigationSchema.js.map +1 -0
  84. package/dist/config/validators/ProtectedRoutesSchema.d.ts +13 -0
  85. package/dist/config/validators/ProtectedRoutesSchema.js +10 -0
  86. package/dist/config/validators/ProtectedRoutesSchema.js.map +1 -0
  87. package/dist/config/validators/auth.d.ts +2 -2
  88. package/dist/config/validators/auth.js +1 -1
  89. package/dist/config/validators/auth.js.map +1 -1
  90. package/dist/config/validators/icon-types.d.ts +2 -1
  91. package/dist/config/validators/icon-types.js +1872 -1
  92. package/dist/config/validators/icon-types.js.map +1 -1
  93. package/dist/config/validators/validate.d.ts +919 -1846
  94. package/dist/config/validators/validate.js +506 -18
  95. package/dist/config/validators/validate.js.map +1 -1
  96. package/dist/config/validators/validate.test.js +183 -0
  97. package/dist/config/validators/validate.test.js.map +1 -0
  98. package/dist/flat-config.d.ts +386 -0
  99. package/dist/index.d.ts +10 -5
  100. package/dist/index.js +5 -0
  101. package/dist/index.js.map +1 -1
  102. package/dist/lib/MissingIcon.d.ts +2 -0
  103. package/dist/lib/MissingIcon.js +7 -0
  104. package/dist/lib/MissingIcon.js.map +1 -0
  105. package/dist/lib/assets/language-icons/c.d.ts +3 -0
  106. package/dist/lib/assets/language-icons/c.js +4 -0
  107. package/dist/lib/assets/language-icons/c.js.map +1 -0
  108. package/dist/lib/assets/language-icons/commonlisp.d.ts +3 -0
  109. package/dist/lib/assets/language-icons/commonlisp.js +4 -0
  110. package/dist/lib/assets/language-icons/commonlisp.js.map +1 -0
  111. package/dist/lib/assets/language-icons/cpp.d.ts +3 -0
  112. package/dist/lib/assets/language-icons/cpp.js +4 -0
  113. package/dist/lib/assets/language-icons/cpp.js.map +1 -0
  114. package/dist/lib/assets/language-icons/csharp.d.ts +3 -0
  115. package/dist/lib/assets/language-icons/csharp.js +4 -0
  116. package/dist/lib/assets/language-icons/csharp.js.map +1 -0
  117. package/dist/lib/assets/language-icons/css.d.ts +3 -0
  118. package/dist/lib/assets/language-icons/css.js +4 -0
  119. package/dist/lib/assets/language-icons/css.js.map +1 -0
  120. package/dist/lib/assets/language-icons/dart.d.ts +3 -0
  121. package/dist/lib/assets/language-icons/dart.js +4 -0
  122. package/dist/lib/assets/language-icons/dart.js.map +1 -0
  123. package/dist/lib/assets/language-icons/elixir.d.ts +3 -0
  124. package/dist/lib/assets/language-icons/elixir.js +4 -0
  125. package/dist/lib/assets/language-icons/elixir.js.map +1 -0
  126. package/dist/lib/assets/language-icons/go.d.ts +3 -0
  127. package/dist/lib/assets/language-icons/go.js +4 -0
  128. package/dist/lib/assets/language-icons/go.js.map +1 -0
  129. package/dist/lib/assets/language-icons/graphql.d.ts +3 -0
  130. package/dist/lib/assets/language-icons/graphql.js +4 -0
  131. package/dist/lib/assets/language-icons/graphql.js.map +1 -0
  132. package/dist/lib/assets/language-icons/html.d.ts +3 -0
  133. package/dist/lib/assets/language-icons/html.js +4 -0
  134. package/dist/lib/assets/language-icons/html.js.map +1 -0
  135. package/dist/lib/assets/language-icons/java.d.ts +3 -0
  136. package/dist/lib/assets/language-icons/java.js +4 -0
  137. package/dist/lib/assets/language-icons/java.js.map +1 -0
  138. package/dist/lib/assets/language-icons/javascript.d.ts +3 -0
  139. package/dist/lib/assets/language-icons/javascript.js +4 -0
  140. package/dist/lib/assets/language-icons/javascript.js.map +1 -0
  141. package/dist/lib/assets/language-icons/json.d.ts +3 -0
  142. package/dist/lib/assets/language-icons/json.js +4 -0
  143. package/dist/lib/assets/language-icons/json.js.map +1 -0
  144. package/dist/lib/assets/language-icons/kotlin.d.ts +3 -0
  145. package/dist/lib/assets/language-icons/kotlin.js +4 -0
  146. package/dist/lib/assets/language-icons/kotlin.js.map +1 -0
  147. package/dist/lib/assets/language-icons/markdown.d.ts +3 -0
  148. package/dist/lib/assets/language-icons/markdown.js +4 -0
  149. package/dist/lib/assets/language-icons/markdown.js.map +1 -0
  150. package/dist/lib/assets/language-icons/mdx.d.ts +3 -0
  151. package/dist/lib/assets/language-icons/mdx.js +4 -0
  152. package/dist/lib/assets/language-icons/mdx.js.map +1 -0
  153. package/dist/lib/assets/language-icons/objectivec.d.ts +3 -0
  154. package/dist/lib/assets/language-icons/objectivec.js +4 -0
  155. package/dist/lib/assets/language-icons/objectivec.js.map +1 -0
  156. package/dist/lib/assets/language-icons/ocaml.d.ts +3 -0
  157. package/dist/lib/assets/language-icons/ocaml.js +4 -0
  158. package/dist/lib/assets/language-icons/ocaml.js.map +1 -0
  159. package/dist/lib/assets/language-icons/php.d.ts +3 -0
  160. package/dist/lib/assets/language-icons/php.js +4 -0
  161. package/dist/lib/assets/language-icons/php.js.map +1 -0
  162. package/dist/lib/assets/language-icons/powershell.d.ts +3 -0
  163. package/dist/lib/assets/language-icons/powershell.js +4 -0
  164. package/dist/lib/assets/language-icons/powershell.js.map +1 -0
  165. package/dist/lib/assets/language-icons/python.d.ts +3 -0
  166. package/dist/lib/assets/language-icons/python.js +4 -0
  167. package/dist/lib/assets/language-icons/python.js.map +1 -0
  168. package/dist/lib/assets/language-icons/react.d.ts +3 -0
  169. package/dist/lib/assets/language-icons/react.js +4 -0
  170. package/dist/lib/assets/language-icons/react.js.map +1 -0
  171. package/dist/lib/assets/language-icons/ruby.d.ts +3 -0
  172. package/dist/lib/assets/language-icons/ruby.js +4 -0
  173. package/dist/lib/assets/language-icons/ruby.js.map +1 -0
  174. package/dist/lib/assets/language-icons/rust.d.ts +3 -0
  175. package/dist/lib/assets/language-icons/rust.js +4 -0
  176. package/dist/lib/assets/language-icons/rust.js.map +1 -0
  177. package/dist/lib/assets/language-icons/scala.d.ts +3 -0
  178. package/dist/lib/assets/language-icons/scala.js +4 -0
  179. package/dist/lib/assets/language-icons/scala.js.map +1 -0
  180. package/dist/lib/assets/language-icons/shell.d.ts +3 -0
  181. package/dist/lib/assets/language-icons/shell.js +4 -0
  182. package/dist/lib/assets/language-icons/shell.js.map +1 -0
  183. package/dist/lib/assets/language-icons/swift.d.ts +3 -0
  184. package/dist/lib/assets/language-icons/swift.js +4 -0
  185. package/dist/lib/assets/language-icons/swift.js.map +1 -0
  186. package/dist/lib/assets/language-icons/toml.d.ts +3 -0
  187. package/dist/lib/assets/language-icons/toml.js +4 -0
  188. package/dist/lib/assets/language-icons/toml.js.map +1 -0
  189. package/dist/lib/assets/language-icons/typescript.d.ts +3 -0
  190. package/dist/lib/assets/language-icons/typescript.js +4 -0
  191. package/dist/lib/assets/language-icons/typescript.js.map +1 -0
  192. package/dist/lib/assets/language-icons/xml.d.ts +3 -0
  193. package/dist/lib/assets/language-icons/xml.js +4 -0
  194. package/dist/lib/assets/language-icons/xml.js.map +1 -0
  195. package/dist/lib/assets/language-icons/yaml.d.ts +3 -0
  196. package/dist/lib/assets/language-icons/yaml.js +4 -0
  197. package/dist/lib/assets/language-icons/yaml.js.map +1 -0
  198. package/dist/lib/assets/language-icons/zig.d.ts +3 -0
  199. package/dist/lib/assets/language-icons/zig.js +4 -0
  200. package/dist/lib/assets/language-icons/zig.js.map +1 -0
  201. package/dist/lib/auth/issuer.d.ts +2 -0
  202. package/dist/lib/auth/issuer.js +40 -0
  203. package/dist/lib/auth/issuer.js.map +1 -0
  204. package/dist/lib/auth/issuer.test.js +95 -0
  205. package/dist/lib/auth/issuer.test.js.map +1 -0
  206. package/dist/lib/authentication/AuthenticationPlugin.d.ts +2 -2
  207. package/dist/lib/authentication/AuthenticationPlugin.js +1 -1
  208. package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
  209. package/dist/lib/authentication/authentication.d.ts +22 -14
  210. package/dist/lib/authentication/components/CallbackHandler.js +17 -11
  211. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  212. package/dist/lib/authentication/components/OAuthErrorPage.d.ts +3 -0
  213. package/dist/lib/authentication/components/OAuthErrorPage.js +99 -0
  214. package/dist/lib/authentication/components/OAuthErrorPage.js.map +1 -0
  215. package/dist/lib/authentication/components/SignIn.d.ts +1 -1
  216. package/dist/lib/authentication/components/SignIn.js +13 -6
  217. package/dist/lib/authentication/components/SignIn.js.map +1 -1
  218. package/dist/lib/authentication/components/SignOut.js +6 -6
  219. package/dist/lib/authentication/components/SignOut.js.map +1 -1
  220. package/dist/lib/authentication/components/SignUp.d.ts +1 -1
  221. package/dist/lib/authentication/components/SignUp.js +10 -5
  222. package/dist/lib/authentication/components/SignUp.js.map +1 -1
  223. package/dist/lib/authentication/errors.d.ts +6 -12
  224. package/dist/lib/authentication/errors.js +2 -1
  225. package/dist/lib/authentication/errors.js.map +1 -1
  226. package/dist/lib/authentication/hook.d.ts +12 -1
  227. package/dist/lib/authentication/hook.js +28 -4
  228. package/dist/lib/authentication/hook.js.map +1 -1
  229. package/dist/lib/authentication/providers/auth0.d.ts +2 -2
  230. package/dist/lib/authentication/providers/auth0.js +18 -8
  231. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  232. package/dist/lib/authentication/providers/azureb2c.d.ts +28 -0
  233. package/dist/lib/authentication/providers/azureb2c.js +147 -0
  234. package/dist/lib/authentication/providers/azureb2c.js.map +1 -0
  235. package/dist/lib/authentication/providers/clerk.d.ts +2 -2
  236. package/dist/lib/authentication/providers/clerk.js +111 -49
  237. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  238. package/dist/lib/authentication/providers/firebase.d.ts +4 -0
  239. package/dist/lib/authentication/providers/firebase.js +273 -0
  240. package/dist/lib/authentication/providers/firebase.js.map +1 -0
  241. package/dist/lib/authentication/providers/openid.d.ts +23 -24
  242. package/dist/lib/authentication/providers/openid.js +97 -47
  243. package/dist/lib/authentication/providers/openid.js.map +1 -1
  244. package/dist/lib/authentication/providers/supabase/SupabaseAuthUI.d.ts +8 -0
  245. package/dist/lib/authentication/providers/supabase/SupabaseAuthUI.js +39 -0
  246. package/dist/lib/authentication/providers/supabase/SupabaseAuthUI.js.map +1 -0
  247. package/dist/lib/authentication/providers/supabase.d.ts +4 -0
  248. package/dist/lib/authentication/providers/supabase.js +108 -0
  249. package/dist/lib/authentication/providers/supabase.js.map +1 -0
  250. package/dist/lib/authentication/state.d.ts +11 -29
  251. package/dist/lib/authentication/state.js +29 -26
  252. package/dist/lib/authentication/state.js.map +1 -1
  253. package/dist/lib/authentication/ui/EmailVerificationUi.d.ts +4 -0
  254. package/dist/lib/authentication/ui/EmailVerificationUi.js +34 -0
  255. package/dist/lib/authentication/ui/EmailVerificationUi.js.map +1 -0
  256. package/dist/lib/authentication/ui/ZudokuAuthUi.d.ts +29 -0
  257. package/dist/lib/authentication/ui/ZudokuAuthUi.js +160 -0
  258. package/dist/lib/authentication/ui/ZudokuAuthUi.js.map +1 -0
  259. package/dist/lib/authentication/ui/icons/Apple.d.ts +3 -0
  260. package/dist/lib/authentication/ui/icons/Apple.js +4 -0
  261. package/dist/lib/authentication/ui/icons/Apple.js.map +1 -0
  262. package/dist/lib/authentication/ui/icons/Facebook.d.ts +3 -0
  263. package/dist/lib/authentication/ui/icons/Facebook.js +4 -0
  264. package/dist/lib/authentication/ui/icons/Facebook.js.map +1 -0
  265. package/dist/lib/authentication/ui/icons/Github.d.ts +3 -0
  266. package/dist/lib/authentication/ui/icons/Github.js +4 -0
  267. package/dist/lib/authentication/ui/icons/Github.js.map +1 -0
  268. package/dist/lib/authentication/ui/icons/Google.d.ts +3 -0
  269. package/dist/lib/authentication/ui/icons/Google.js +4 -0
  270. package/dist/lib/authentication/ui/icons/Google.js.map +1 -0
  271. package/dist/lib/authentication/ui/icons/Microsoft.d.ts +3 -0
  272. package/dist/lib/authentication/ui/icons/Microsoft.js +4 -0
  273. package/dist/lib/authentication/ui/icons/Microsoft.js.map +1 -0
  274. package/dist/lib/authentication/ui/icons/X.d.ts +3 -0
  275. package/dist/lib/authentication/ui/icons/X.js +4 -0
  276. package/dist/lib/authentication/ui/icons/X.js.map +1 -0
  277. package/dist/lib/authentication/use-broadcast/shared.d.ts +1 -1
  278. package/dist/lib/authentication/use-broadcast/shared.js +3 -3
  279. package/dist/lib/authentication/use-broadcast/shared.js.map +1 -1
  280. package/dist/lib/authentication/use-broadcast/useBroadcast.js +2 -2
  281. package/dist/lib/authentication/use-broadcast/useBroadcast.js.map +1 -1
  282. package/dist/lib/authentication/utils/relativeRedirectUrl.d.ts +1 -0
  283. package/dist/lib/authentication/utils/relativeRedirectUrl.js +8 -0
  284. package/dist/lib/authentication/utils/relativeRedirectUrl.js.map +1 -0
  285. package/dist/lib/components/AnchorLink.d.ts +2 -2
  286. package/dist/lib/components/AnchorLink.js +9 -5
  287. package/dist/lib/components/AnchorLink.js.map +1 -1
  288. package/dist/lib/components/Autocomplete.d.ts +15 -0
  289. package/dist/lib/components/Autocomplete.js +51 -0
  290. package/dist/lib/components/Autocomplete.js.map +1 -0
  291. package/dist/lib/components/Banner.js +2 -2
  292. package/dist/lib/components/Banner.js.map +1 -1
  293. package/dist/lib/components/Bootstrap.d.ts +2 -1
  294. package/dist/lib/components/Bootstrap.js +3 -2
  295. package/dist/lib/components/Bootstrap.js.map +1 -1
  296. package/dist/lib/components/BuildCheck.d.ts +5 -0
  297. package/dist/lib/components/BuildCheck.js +45 -0
  298. package/dist/lib/components/BuildCheck.js.map +1 -0
  299. package/dist/lib/components/CategoryHeading.js +1 -1
  300. package/dist/lib/components/CategoryHeading.js.map +1 -1
  301. package/dist/lib/components/ErrorPage.js +2 -2
  302. package/dist/lib/components/ErrorPage.js.map +1 -1
  303. package/dist/lib/components/Footer.d.ts +1 -0
  304. package/dist/lib/components/Footer.js +32 -0
  305. package/dist/lib/components/Footer.js.map +1 -0
  306. package/dist/lib/components/Framed.d.ts +7 -0
  307. package/dist/lib/components/Framed.js +26 -0
  308. package/dist/lib/components/Framed.js.map +1 -0
  309. package/dist/lib/components/Header.js +20 -13
  310. package/dist/lib/components/Header.js.map +1 -1
  311. package/dist/lib/components/Heading.d.ts +9 -5
  312. package/dist/lib/components/Heading.js +4 -3
  313. package/dist/lib/components/Heading.js.map +1 -1
  314. package/dist/lib/components/InlineCode.d.ts +2 -1
  315. package/dist/lib/components/InlineCode.js +2 -9
  316. package/dist/lib/components/InlineCode.js.map +1 -1
  317. package/dist/lib/components/LanguageIcon.d.ts +3 -0
  318. package/dist/lib/components/LanguageIcon.js +163 -0
  319. package/dist/lib/components/LanguageIcon.js.map +1 -0
  320. package/dist/lib/components/Layout.js +10 -32
  321. package/dist/lib/components/Layout.js.map +1 -1
  322. package/dist/lib/components/Main.d.ts +2 -0
  323. package/dist/lib/components/Main.js +18 -0
  324. package/dist/lib/components/Main.js.map +1 -0
  325. package/dist/lib/components/Markdown.d.ts +4 -3
  326. package/dist/lib/components/Markdown.js +15 -15
  327. package/dist/lib/components/Markdown.js.map +1 -1
  328. package/dist/lib/components/Mermaid.d.ts +7 -0
  329. package/dist/lib/components/Mermaid.js +42 -0
  330. package/dist/lib/components/Mermaid.js.map +1 -0
  331. package/dist/lib/components/Meta.d.ts +2 -0
  332. package/dist/lib/components/Meta.js +11 -0
  333. package/dist/lib/components/Meta.js.map +1 -0
  334. package/dist/lib/components/MobileTopNavigation.js +14 -4
  335. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  336. package/dist/lib/components/NotFoundPage.js +2 -2
  337. package/dist/lib/components/NotFoundPage.js.map +1 -1
  338. package/dist/lib/components/PageProgress.d.ts +1 -0
  339. package/dist/lib/components/PageProgress.js +20 -0
  340. package/dist/lib/components/PageProgress.js.map +1 -0
  341. package/dist/lib/components/PagefindSearchMeta.d.ts +8 -0
  342. package/dist/lib/components/PagefindSearchMeta.js +7 -0
  343. package/dist/lib/components/PagefindSearchMeta.js.map +1 -0
  344. package/dist/lib/components/Pagination.d.ts +11 -0
  345. package/dist/lib/components/Pagination.js +10 -0
  346. package/dist/lib/components/Pagination.js.map +1 -0
  347. package/dist/lib/components/PathRenderer.d.ts +11 -0
  348. package/dist/lib/components/PathRenderer.js +28 -0
  349. package/dist/lib/components/PathRenderer.js.map +1 -0
  350. package/dist/lib/components/Search.js +8 -2
  351. package/dist/lib/components/Search.js.map +1 -1
  352. package/dist/lib/components/Slot.d.ts +17 -0
  353. package/dist/lib/components/Slot.js +24 -0
  354. package/dist/lib/components/Slot.js.map +1 -0
  355. package/dist/lib/components/Slot.test.js +172 -0
  356. package/dist/lib/components/Slot.test.js.map +1 -0
  357. package/dist/lib/components/StatusPage.d.ts +7 -0
  358. package/dist/lib/components/StatusPage.js +75 -0
  359. package/dist/lib/components/StatusPage.js.map +1 -0
  360. package/dist/lib/components/ThemeSwitch.js +8 -5
  361. package/dist/lib/components/ThemeSwitch.js.map +1 -1
  362. package/dist/lib/components/TopNavigation.d.ts +7 -5
  363. package/dist/lib/components/TopNavigation.js +54 -42
  364. package/dist/lib/components/TopNavigation.js.map +1 -1
  365. package/dist/lib/components/Typography.d.ts +5 -0
  366. package/dist/lib/components/Typography.js +8 -0
  367. package/dist/lib/components/Typography.js.map +1 -0
  368. package/dist/lib/components/Zudoku.d.ts +1 -1
  369. package/dist/lib/components/Zudoku.js +17 -15
  370. package/dist/lib/components/Zudoku.js.map +1 -1
  371. package/dist/lib/components/cache.d.ts +15 -0
  372. package/dist/lib/components/cache.js +18 -0
  373. package/dist/lib/components/cache.js.map +1 -0
  374. package/dist/lib/components/context/BypassProtectedRoutesContext.d.ts +1 -0
  375. package/dist/lib/components/context/BypassProtectedRoutesContext.js +3 -0
  376. package/dist/lib/components/context/BypassProtectedRoutesContext.js.map +1 -0
  377. package/dist/lib/components/context/ComponentsContext.js.map +1 -1
  378. package/dist/lib/components/context/RouterEventsEmitter.d.ts +1 -0
  379. package/dist/lib/components/context/RouterEventsEmitter.js +17 -0
  380. package/dist/lib/components/context/RouterEventsEmitter.js.map +1 -0
  381. package/dist/lib/components/context/SlotProvider.d.ts +26 -0
  382. package/dist/lib/components/context/SlotProvider.js +83 -0
  383. package/dist/lib/components/context/SlotProvider.js.map +1 -0
  384. package/dist/lib/components/context/ViewportAnchorContext.d.ts +2 -4
  385. package/dist/lib/components/context/ViewportAnchorContext.js +30 -24
  386. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  387. package/dist/lib/components/context/ZudokuContext.d.ts +4 -8
  388. package/dist/lib/components/context/ZudokuContext.js +68 -22
  389. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  390. package/dist/lib/components/context/ZudokuProvider.d.ts +1 -1
  391. package/dist/lib/components/context/ZudokuProvider.js +2 -1
  392. package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
  393. package/dist/lib/components/index.d.ts +63 -37
  394. package/dist/lib/components/index.js +25 -15
  395. package/dist/lib/components/index.js.map +1 -1
  396. package/dist/lib/components/navigation/Navigation.d.ts +5 -0
  397. package/dist/lib/components/navigation/Navigation.js +12 -0
  398. package/dist/lib/components/navigation/Navigation.js.map +1 -0
  399. package/dist/lib/components/navigation/NavigationBadge.d.ts +26 -0
  400. package/dist/lib/components/navigation/NavigationBadge.js +26 -0
  401. package/dist/lib/components/navigation/NavigationBadge.js.map +1 -0
  402. package/dist/lib/components/navigation/NavigationCategory.d.ts +5 -0
  403. package/dist/lib/components/navigation/NavigationCategory.js +66 -0
  404. package/dist/lib/components/navigation/NavigationCategory.js.map +1 -0
  405. package/dist/lib/components/navigation/NavigationItem.d.ts +6 -0
  406. package/dist/lib/components/navigation/NavigationItem.js +55 -0
  407. package/dist/lib/components/navigation/NavigationItem.js.map +1 -0
  408. package/dist/lib/components/navigation/NavigationWrapper.d.ts +7 -0
  409. package/dist/lib/components/navigation/NavigationWrapper.js +21 -0
  410. package/dist/lib/components/navigation/NavigationWrapper.js.map +1 -0
  411. package/dist/lib/components/navigation/PoweredByZudoku.d.ts +3 -0
  412. package/dist/lib/components/navigation/PoweredByZudoku.js +7 -0
  413. package/dist/lib/components/navigation/PoweredByZudoku.js.map +1 -0
  414. package/dist/lib/components/navigation/Toc.js +46 -0
  415. package/dist/lib/components/navigation/Toc.js.map +1 -0
  416. package/dist/lib/components/navigation/ZudokuLogo.d.ts +6 -0
  417. package/dist/lib/components/navigation/ZudokuLogo.js +5 -0
  418. package/dist/lib/components/navigation/ZudokuLogo.js.map +1 -0
  419. package/dist/lib/components/navigation/ZuploLogo.d.ts +3 -0
  420. package/dist/lib/components/navigation/ZuploLogo.js +4 -0
  421. package/dist/lib/components/navigation/ZuploLogo.js.map +1 -0
  422. package/dist/lib/components/navigation/utils.d.ts +16 -8
  423. package/dist/lib/components/navigation/utils.js +58 -27
  424. package/dist/lib/components/navigation/utils.js.map +1 -1
  425. package/dist/lib/core/RouteGuard.d.ts +2 -0
  426. package/dist/lib/core/RouteGuard.js +49 -0
  427. package/dist/lib/core/RouteGuard.js.map +1 -0
  428. package/dist/lib/core/ZudokuContext.d.ts +67 -22
  429. package/dist/lib/core/ZudokuContext.js +79 -17
  430. package/dist/lib/core/ZudokuContext.js.map +1 -1
  431. package/dist/lib/core/__internal.d.ts +37 -0
  432. package/dist/lib/core/__internal.js +26 -0
  433. package/dist/lib/core/__internal.js.map +1 -0
  434. package/dist/lib/core/plugins.d.ts +23 -9
  435. package/dist/lib/core/plugins.js +4 -0
  436. package/dist/lib/core/plugins.js.map +1 -1
  437. package/dist/lib/core/router.d.ts +1 -0
  438. package/dist/lib/core/router.js +2 -0
  439. package/dist/lib/core/router.js.map +1 -0
  440. package/dist/lib/errors/ErrorAlert.js +5 -2
  441. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  442. package/dist/lib/errors/ErrorMessage.d.ts +3 -0
  443. package/dist/lib/errors/ErrorMessage.js +16 -0
  444. package/dist/lib/errors/ErrorMessage.js.map +1 -0
  445. package/dist/lib/errors/RouterError.d.ts +3 -1
  446. package/dist/lib/errors/RouterError.js +3 -2
  447. package/dist/lib/errors/RouterError.js.map +1 -1
  448. package/dist/lib/errors/TopLevelError.d.ts +2 -2
  449. package/dist/lib/errors/TopLevelError.js +1 -2
  450. package/dist/lib/errors/TopLevelError.js.map +1 -1
  451. package/dist/lib/hooks/index.d.ts +30 -0
  452. package/dist/lib/hooks/index.js +16 -0
  453. package/dist/lib/hooks/index.js.map +1 -0
  454. package/dist/lib/hooks/useEvent.d.ts +11 -0
  455. package/dist/lib/hooks/useEvent.js +19 -0
  456. package/dist/lib/hooks/useEvent.js.map +1 -0
  457. package/dist/lib/hooks/useEvent.test.d.ts +1 -0
  458. package/dist/lib/hooks/useEvent.test.js +102 -0
  459. package/dist/lib/hooks/useEvent.test.js.map +1 -0
  460. package/dist/lib/hooks/useHotkey.d.ts +4 -0
  461. package/dist/lib/hooks/useHotkey.js +58 -0
  462. package/dist/lib/hooks/useHotkey.js.map +1 -0
  463. package/dist/lib/icons.d.ts +1 -0
  464. package/dist/lib/icons.js +1 -0
  465. package/dist/lib/icons.js.map +1 -1
  466. package/dist/lib/oas/graphql/circular.d.ts +4 -0
  467. package/dist/lib/oas/graphql/circular.js +58 -0
  468. package/dist/lib/oas/graphql/circular.js.map +1 -0
  469. package/dist/lib/oas/graphql/index.d.ts +25 -1
  470. package/dist/lib/oas/graphql/index.js +251 -67
  471. package/dist/lib/oas/graphql/index.js.map +1 -1
  472. package/dist/lib/oas/parser/dereference/index.js +10 -4
  473. package/dist/lib/oas/parser/dereference/index.js.map +1 -1
  474. package/dist/lib/oas/parser/dereference/resolveRef.js +3 -3
  475. package/dist/lib/oas/parser/dereference/resolveRef.js.map +1 -1
  476. package/dist/lib/oas/parser/index.d.ts +9 -3
  477. package/dist/lib/oas/parser/index.js +12 -24
  478. package/dist/lib/oas/parser/index.js.map +1 -1
  479. package/dist/lib/oas/parser/upgrade/index.d.ts +1 -0
  480. package/dist/lib/oas/parser/upgrade/index.js +83 -15
  481. package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
  482. package/dist/lib/plugins/api-catalog/Catalog.d.ts +4 -2
  483. package/dist/lib/plugins/api-catalog/Catalog.js +22 -26
  484. package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
  485. package/dist/lib/plugins/api-catalog/index.d.ts +7 -6
  486. package/dist/lib/plugins/api-catalog/index.js +39 -8
  487. package/dist/lib/plugins/api-catalog/index.js.map +1 -1
  488. package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +3 -2
  489. package/dist/lib/plugins/api-keys/CreateApiKey.js +25 -7
  490. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  491. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.d.ts +11 -0
  492. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js +9 -0
  493. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js.map +1 -0
  494. package/dist/lib/plugins/api-keys/ProtectedRoute.js +4 -1
  495. package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
  496. package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +1 -1
  497. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +11 -55
  498. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  499. package/dist/lib/plugins/api-keys/index.d.ts +38 -16
  500. package/dist/lib/plugins/api-keys/index.js +91 -46
  501. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  502. package/dist/lib/plugins/api-keys/settings/ApiKeyItem.d.ts +12 -0
  503. package/dist/lib/plugins/api-keys/settings/ApiKeyItem.js +133 -0
  504. package/dist/lib/plugins/api-keys/settings/ApiKeyItem.js.map +1 -0
  505. package/dist/lib/plugins/api-keys/settings/ApiKeyList.d.ts +4 -0
  506. package/dist/lib/plugins/api-keys/settings/ApiKeyList.js +33 -0
  507. package/dist/lib/plugins/api-keys/settings/ApiKeyList.js.map +1 -0
  508. package/dist/lib/plugins/api-keys/settings/RevealApiKey.d.ts +6 -0
  509. package/dist/lib/plugins/api-keys/settings/RevealApiKey.js +39 -0
  510. package/dist/lib/plugins/api-keys/settings/RevealApiKey.js.map +1 -0
  511. package/dist/lib/plugins/custom-pages/index.d.ts +4 -6
  512. package/dist/lib/plugins/custom-pages/index.js +18 -10
  513. package/dist/lib/plugins/custom-pages/index.js.map +1 -1
  514. package/dist/lib/plugins/markdown/MdxPage.d.ts +3 -3
  515. package/dist/lib/plugins/markdown/MdxPage.js +57 -13
  516. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  517. package/dist/lib/plugins/markdown/assets/ChatGPTLogo.d.ts +2 -0
  518. package/dist/lib/plugins/markdown/assets/ChatGPTLogo.js +3 -0
  519. package/dist/lib/plugins/markdown/assets/ChatGPTLogo.js.map +1 -0
  520. package/dist/lib/plugins/markdown/assets/ClaudeLogo.d.ts +2 -0
  521. package/dist/lib/plugins/markdown/assets/ClaudeLogo.js +3 -0
  522. package/dist/lib/plugins/markdown/assets/ClaudeLogo.js.map +1 -0
  523. package/dist/lib/plugins/markdown/index.d.ts +14 -4
  524. package/dist/lib/plugins/markdown/index.js +9 -26
  525. package/dist/lib/plugins/markdown/index.js.map +1 -1
  526. package/dist/lib/plugins/openapi/CollapsibleCode.d.ts +1 -0
  527. package/dist/lib/plugins/openapi/CollapsibleCode.js +3 -1
  528. package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -1
  529. package/dist/lib/plugins/openapi/ColorizedParam.d.ts +10 -2
  530. package/dist/lib/plugins/openapi/ColorizedParam.js +21 -7
  531. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  532. package/dist/lib/plugins/openapi/DownloadSchemaButton.d.ts +3 -0
  533. package/dist/lib/plugins/openapi/DownloadSchemaButton.js +47 -0
  534. package/dist/lib/plugins/openapi/DownloadSchemaButton.js.map +1 -0
  535. package/dist/lib/plugins/openapi/Endpoint.d.ts +1 -1
  536. package/dist/lib/plugins/openapi/Endpoint.js +8 -10
  537. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  538. package/dist/lib/plugins/openapi/GeneratedExampleSidecarBox.d.ts +5 -0
  539. package/dist/lib/plugins/openapi/GeneratedExampleSidecarBox.js +10 -0
  540. package/dist/lib/plugins/openapi/GeneratedExampleSidecarBox.js.map +1 -0
  541. package/dist/lib/plugins/openapi/MCPEndpoint.d.ts +5 -0
  542. package/dist/lib/plugins/openapi/MCPEndpoint.js +56 -0
  543. package/dist/lib/plugins/openapi/MCPEndpoint.js.map +1 -0
  544. package/dist/lib/plugins/openapi/OasProvider.d.ts +8 -0
  545. package/dist/lib/plugins/openapi/OasProvider.js +39 -0
  546. package/dist/lib/plugins/openapi/OasProvider.js.map +1 -0
  547. package/dist/lib/plugins/openapi/OperationList.d.ts +4 -3
  548. package/dist/lib/plugins/openapi/OperationList.js +118 -28
  549. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  550. package/dist/lib/plugins/openapi/OperationListItem.d.ts +6 -4
  551. package/dist/lib/plugins/openapi/OperationListItem.js +21 -17
  552. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  553. package/dist/lib/plugins/openapi/ParamInfos.d.ts +6 -0
  554. package/dist/lib/plugins/openapi/ParamInfos.js +48 -0
  555. package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -0
  556. package/dist/lib/plugins/openapi/ParameterList.d.ts +4 -3
  557. package/dist/lib/plugins/openapi/ParameterList.js +10 -6
  558. package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
  559. package/dist/lib/plugins/openapi/ParameterListItem.d.ts +2 -3
  560. package/dist/lib/plugins/openapi/ParameterListItem.js +27 -3
  561. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  562. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +5 -4
  563. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +15 -4
  564. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  565. package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +11 -5
  566. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +8 -13
  567. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  568. package/dist/lib/plugins/openapi/ResponsesSidecarBox.d.ts +6 -6
  569. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +28 -15
  570. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  571. package/dist/lib/plugins/openapi/SchemaList.d.ts +1 -0
  572. package/dist/lib/plugins/openapi/SchemaList.js +53 -0
  573. package/dist/lib/plugins/openapi/SchemaList.js.map +1 -0
  574. package/dist/lib/plugins/openapi/Sidecar.d.ts +5 -4
  575. package/dist/lib/plugins/openapi/Sidecar.js +105 -93
  576. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  577. package/dist/lib/plugins/openapi/SidecarBox.js +4 -4
  578. package/dist/lib/plugins/openapi/SidecarBox.js.map +1 -1
  579. package/dist/lib/plugins/openapi/SidecarExamples.d.ts +14 -0
  580. package/dist/lib/plugins/openapi/SidecarExamples.js +57 -0
  581. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -0
  582. package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
  583. package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
  584. package/dist/lib/plugins/openapi/StaggeredRender.d.ts +1 -1
  585. package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +2 -2
  586. package/dist/lib/plugins/openapi/client/GraphQLClient.js +23 -94
  587. package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -1
  588. package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +1 -1
  589. package/dist/lib/plugins/openapi/client/createServer.d.ts +2 -1
  590. package/dist/lib/plugins/openapi/client/createServer.js +6 -4
  591. package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
  592. package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +11 -2
  593. package/dist/lib/plugins/openapi/client/useCreateQuery.js +14 -9
  594. package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
  595. package/dist/lib/plugins/openapi/components/ConstValue.d.ts +5 -0
  596. package/dist/lib/plugins/openapi/components/ConstValue.js +6 -0
  597. package/dist/lib/plugins/openapi/components/ConstValue.js.map +1 -0
  598. package/dist/lib/plugins/openapi/components/EnumValues.d.ts +5 -0
  599. package/dist/lib/plugins/openapi/components/EnumValues.js +15 -0
  600. package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -0
  601. package/dist/lib/plugins/openapi/components/NonHighlightedCode.d.ts +4 -0
  602. package/dist/lib/plugins/openapi/components/NonHighlightedCode.js +5 -0
  603. package/dist/lib/plugins/openapi/components/NonHighlightedCode.js.map +1 -0
  604. package/dist/lib/plugins/openapi/components/ResponseContent.d.ts +12 -0
  605. package/dist/lib/plugins/openapi/components/ResponseContent.js +20 -0
  606. package/dist/lib/plugins/openapi/components/ResponseContent.js.map +1 -0
  607. package/dist/lib/plugins/openapi/components/SelectOnClick.d.ts +5 -0
  608. package/dist/lib/plugins/openapi/components/SelectOnClick.js +16 -0
  609. package/dist/lib/plugins/openapi/components/SelectOnClick.js.map +1 -0
  610. package/dist/lib/plugins/openapi/context.d.ts +1 -1
  611. package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +1 -1
  612. package/dist/lib/plugins/openapi/graphql/gql.d.ts +11 -3
  613. package/dist/lib/plugins/openapi/graphql/gql.js +5 -14
  614. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  615. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +123 -23
  616. package/dist/lib/plugins/openapi/graphql/graphql.js +66 -11
  617. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  618. package/dist/lib/plugins/openapi/index.d.ts +11 -8
  619. package/dist/lib/plugins/openapi/index.js +103 -86
  620. package/dist/lib/plugins/openapi/index.js.map +1 -1
  621. package/dist/lib/plugins/openapi/interfaces.d.ts +74 -22
  622. package/dist/lib/plugins/openapi/playground/BodyPanel.d.ts +5 -0
  623. package/dist/lib/plugins/openapi/playground/BodyPanel.js +78 -0
  624. package/dist/lib/plugins/openapi/playground/BodyPanel.js.map +1 -0
  625. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.d.ts +8 -0
  626. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js +11 -0
  627. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js.map +1 -0
  628. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +6 -0
  629. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +9 -0
  630. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -0
  631. package/dist/lib/plugins/openapi/playground/Headers.d.ts +5 -4
  632. package/dist/lib/plugins/openapi/playground/Headers.js +50 -9
  633. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
  634. package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +11 -0
  635. package/dist/lib/plugins/openapi/playground/IdentityDialog.js +15 -0
  636. package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -0
  637. package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +7 -0
  638. package/dist/lib/plugins/openapi/playground/IdentitySelector.js +7 -0
  639. package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -0
  640. package/dist/lib/plugins/openapi/playground/ParamsGrid.d.ts +17 -0
  641. package/dist/lib/plugins/openapi/playground/ParamsGrid.js +12 -0
  642. package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -0
  643. package/dist/lib/plugins/openapi/playground/PathParams.d.ts +3 -2
  644. package/dist/lib/plugins/openapi/playground/PathParams.js +4 -8
  645. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  646. package/dist/lib/plugins/openapi/playground/Playground.d.ts +39 -2
  647. package/dist/lib/plugins/openapi/playground/Playground.js +212 -86
  648. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  649. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +5 -2
  650. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
  651. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +4 -4
  652. package/dist/lib/plugins/openapi/playground/QueryParams.js +22 -25
  653. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  654. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.d.ts +8 -0
  655. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js +16 -0
  656. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js.map +1 -0
  657. package/dist/lib/plugins/openapi/playground/Spinner.d.ts +2 -0
  658. package/dist/lib/plugins/openapi/playground/Spinner.js +63 -0
  659. package/dist/lib/plugins/openapi/playground/Spinner.js.map +1 -0
  660. package/dist/lib/plugins/openapi/playground/fileUtils.d.ts +2 -0
  661. package/dist/lib/plugins/openapi/playground/fileUtils.js +22 -0
  662. package/dist/lib/plugins/openapi/playground/fileUtils.js.map +1 -0
  663. package/dist/lib/plugins/openapi/playground/rememberedIdentity.d.ts +19 -0
  664. package/dist/lib/plugins/openapi/playground/rememberedIdentity.js +11 -0
  665. package/dist/lib/plugins/openapi/playground/rememberedIdentity.js.map +1 -0
  666. package/dist/lib/plugins/openapi/playground/request-panel/MultipartField.d.ts +8 -0
  667. package/dist/lib/plugins/openapi/playground/request-panel/MultipartField.js +19 -0
  668. package/dist/lib/plugins/openapi/playground/request-panel/MultipartField.js.map +1 -0
  669. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.d.ts +3 -0
  670. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js +13 -0
  671. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js.map +1 -0
  672. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.d.ts +1 -0
  673. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js +12 -0
  674. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js.map +1 -0
  675. package/dist/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.d.ts +1 -0
  676. package/dist/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.js +540 -0
  677. package/dist/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.js.map +1 -0
  678. package/dist/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.d.ts +40 -0
  679. package/dist/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.js +205 -0
  680. package/dist/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.js.map +1 -0
  681. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.d.ts +12 -0
  682. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js +11 -0
  683. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js.map +1 -0
  684. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.d.ts +8 -0
  685. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js +71 -0
  686. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js.map +1 -0
  687. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.d.ts +14 -0
  688. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +117 -0
  689. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -0
  690. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +11 -0
  691. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +15 -0
  692. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -0
  693. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +10 -0
  694. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +32 -0
  695. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -0
  696. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.d.ts +1 -0
  697. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js +56 -0
  698. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js.map +1 -0
  699. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.d.ts +18 -0
  700. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js +12 -0
  701. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js.map +1 -0
  702. package/dist/lib/plugins/openapi/processors/removeExtensions.d.ts +8 -0
  703. package/dist/lib/plugins/openapi/processors/removeExtensions.js +16 -0
  704. package/dist/lib/plugins/openapi/processors/removeExtensions.js.map +1 -0
  705. package/dist/lib/plugins/openapi/processors/removeExtensions.test.d.ts +1 -0
  706. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js +195 -0
  707. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -0
  708. package/dist/lib/plugins/openapi/processors/removeParameters.d.ts +12 -0
  709. package/dist/lib/plugins/openapi/processors/removeParameters.js +66 -0
  710. package/dist/lib/plugins/openapi/processors/removeParameters.js.map +1 -0
  711. package/dist/lib/plugins/openapi/processors/removeParameters.test.d.ts +1 -0
  712. package/dist/lib/plugins/openapi/processors/removeParameters.test.js +160 -0
  713. package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -0
  714. package/dist/lib/plugins/openapi/processors/removePaths.d.ts +13 -0
  715. package/dist/lib/plugins/openapi/processors/removePaths.js +33 -0
  716. package/dist/lib/plugins/openapi/processors/removePaths.js.map +1 -0
  717. package/dist/lib/plugins/openapi/processors/removePaths.test.d.ts +1 -0
  718. package/dist/lib/plugins/openapi/processors/removePaths.test.js +144 -0
  719. package/dist/lib/plugins/openapi/processors/removePaths.test.js.map +1 -0
  720. package/dist/lib/plugins/openapi/processors/traverse.d.ts +1 -0
  721. package/dist/lib/plugins/openapi/processors/traverse.js.map +1 -0
  722. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.d.ts +4 -0
  723. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +15 -0
  724. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -0
  725. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +8 -0
  726. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +45 -0
  727. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -0
  728. package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +4 -3
  729. package/dist/lib/plugins/openapi/schema/SchemaView.js +59 -51
  730. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  731. package/dist/lib/plugins/openapi/schema/UnionView.d.ts +5 -0
  732. package/dist/lib/plugins/openapi/schema/UnionView.js +33 -0
  733. package/dist/lib/plugins/openapi/schema/UnionView.js.map +1 -0
  734. package/dist/lib/plugins/openapi/schema/union-helpers.d.ts +28 -0
  735. package/dist/lib/plugins/openapi/schema/union-helpers.js +71 -0
  736. package/dist/lib/plugins/openapi/schema/union-helpers.js.map +1 -0
  737. package/dist/lib/plugins/openapi/schema/utils.d.ts +8 -8
  738. package/dist/lib/plugins/openapi/schema/utils.js +23 -9
  739. package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
  740. package/dist/lib/plugins/openapi/state.d.ts +27 -0
  741. package/dist/lib/plugins/openapi/state.js +18 -0
  742. package/dist/lib/plugins/openapi/state.js.map +1 -0
  743. package/dist/lib/plugins/openapi/util/createHttpSnippet.d.ts +11 -0
  744. package/dist/lib/plugins/openapi/util/createHttpSnippet.js +112 -0
  745. package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -0
  746. package/dist/lib/plugins/openapi/util/createNavigationCategory.d.ts +9 -0
  747. package/dist/lib/plugins/openapi/util/createNavigationCategory.js +25 -0
  748. package/dist/lib/plugins/openapi/util/createNavigationCategory.js.map +1 -0
  749. package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +2 -2
  750. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +60 -11
  751. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  752. package/dist/lib/plugins/openapi/util/getRoutes.d.ts +15 -0
  753. package/dist/lib/plugins/openapi/util/getRoutes.js +144 -0
  754. package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -0
  755. package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +2 -0
  756. package/dist/lib/plugins/openapi/util/methodColorMap.js +10 -0
  757. package/dist/lib/plugins/openapi/util/methodColorMap.js.map +1 -0
  758. package/dist/lib/plugins/redirect/index.d.ts +1 -1
  759. package/dist/lib/plugins/search-inkeep/index.d.ts +5 -22
  760. package/dist/lib/plugins/search-inkeep/index.js +35 -29
  761. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  762. package/dist/lib/plugins/search-inkeep/inkeep.d.ts +5 -21
  763. package/dist/lib/plugins/search-inkeep/inkeep.js +10 -19
  764. package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
  765. package/dist/lib/plugins/search-pagefind/IndexingDialog.d.ts +3 -0
  766. package/dist/lib/plugins/search-pagefind/IndexingDialog.js +64 -0
  767. package/dist/lib/plugins/search-pagefind/IndexingDialog.js.map +1 -0
  768. package/dist/lib/plugins/search-pagefind/PagefindSearch.d.ts +6 -0
  769. package/dist/lib/plugins/search-pagefind/PagefindSearch.js +97 -0
  770. package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -0
  771. package/dist/lib/plugins/search-pagefind/ResultList.d.ts +8 -0
  772. package/dist/lib/plugins/search-pagefind/ResultList.js +43 -0
  773. package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -0
  774. package/dist/lib/plugins/search-pagefind/get-results.d.ts +10 -0
  775. package/dist/lib/plugins/search-pagefind/get-results.js +41 -0
  776. package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -0
  777. package/dist/lib/plugins/search-pagefind/index.d.ts +6 -0
  778. package/dist/lib/plugins/search-pagefind/index.js +9 -0
  779. package/dist/lib/plugins/search-pagefind/index.js.map +1 -0
  780. package/dist/lib/plugins/search-pagefind/types.d.ts +85 -0
  781. package/dist/lib/plugins/search-pagefind/types.js +2 -0
  782. package/dist/lib/plugins/search-pagefind/types.js.map +1 -0
  783. package/dist/lib/shiki.d.ts +32 -0
  784. package/dist/lib/shiki.js +130 -0
  785. package/dist/lib/shiki.js.map +1 -0
  786. package/dist/lib/ui/ActionButton.js +1 -1
  787. package/dist/lib/ui/ActionButton.js.map +1 -1
  788. package/dist/lib/ui/Alert.d.ts +6 -5
  789. package/dist/lib/ui/Alert.js +12 -10
  790. package/dist/lib/ui/Alert.js.map +1 -1
  791. package/dist/lib/ui/Badge.d.ts +5 -5
  792. package/dist/lib/ui/Badge.js +10 -7
  793. package/dist/lib/ui/Badge.js.map +1 -1
  794. package/dist/lib/ui/Breadcrumb.js +1 -1
  795. package/dist/lib/ui/Breadcrumb.js.map +1 -1
  796. package/dist/lib/ui/Button.d.ts +3 -3
  797. package/dist/lib/ui/Button.js +13 -8
  798. package/dist/lib/ui/Button.js.map +1 -1
  799. package/dist/lib/ui/ButtonGroup.d.ts +11 -0
  800. package/dist/lib/ui/ButtonGroup.js +28 -0
  801. package/dist/lib/ui/ButtonGroup.js.map +1 -0
  802. package/dist/lib/ui/Callout.d.ts +7 -6
  803. package/dist/lib/ui/Callout.js +8 -7
  804. package/dist/lib/ui/Callout.js.map +1 -1
  805. package/dist/lib/ui/Card.js +1 -1
  806. package/dist/lib/ui/Card.js.map +1 -1
  807. package/dist/lib/ui/Checkbox.d.ts +2 -2
  808. package/dist/lib/ui/Checkbox.js +4 -4
  809. package/dist/lib/ui/Checkbox.js.map +1 -1
  810. package/dist/lib/ui/CodeBlock.d.ts +14 -0
  811. package/dist/lib/ui/CodeBlock.js +18 -0
  812. package/dist/lib/ui/CodeBlock.js.map +1 -0
  813. package/dist/lib/ui/Collapsible.d.ts +4 -4
  814. package/dist/lib/ui/Collapsible.js +11 -4
  815. package/dist/lib/ui/Collapsible.js.map +1 -1
  816. package/dist/lib/ui/Command.d.ts +19 -5
  817. package/dist/lib/ui/Command.js +8 -8
  818. package/dist/lib/ui/Command.js.map +1 -1
  819. package/dist/lib/ui/Dialog.d.ts +13 -17
  820. package/dist/lib/ui/Dialog.js +31 -18
  821. package/dist/lib/ui/Dialog.js.map +1 -1
  822. package/dist/lib/ui/DropdownMenu.d.ts +21 -23
  823. package/dist/lib/ui/DropdownMenu.js +47 -32
  824. package/dist/lib/ui/DropdownMenu.js.map +1 -1
  825. package/dist/lib/ui/EmbeddedCodeBlock.d.ts +16 -0
  826. package/dist/lib/ui/EmbeddedCodeBlock.js +19 -0
  827. package/dist/lib/ui/EmbeddedCodeBlock.js.map +1 -0
  828. package/dist/lib/ui/Form.d.ts +3 -3
  829. package/dist/lib/ui/Frame.d.ts +8 -0
  830. package/dist/lib/ui/Frame.js +22 -0
  831. package/dist/lib/ui/Frame.js.map +1 -0
  832. package/dist/lib/ui/HoverCard.js +1 -1
  833. package/dist/lib/ui/HoverCard.js.map +1 -1
  834. package/dist/lib/ui/Input.d.ts +1 -2
  835. package/dist/lib/ui/Input.js +1 -1
  836. package/dist/lib/ui/Input.js.map +1 -1
  837. package/dist/lib/ui/Item.d.ts +23 -0
  838. package/dist/lib/ui/Item.js +67 -0
  839. package/dist/lib/ui/Item.js.map +1 -0
  840. package/dist/lib/ui/Kbd.d.ts +3 -0
  841. package/dist/lib/ui/Kbd.js +10 -0
  842. package/dist/lib/ui/Kbd.js.map +1 -0
  843. package/dist/lib/ui/NativeSelect.d.ts +5 -0
  844. package/dist/lib/ui/NativeSelect.js +14 -0
  845. package/dist/lib/ui/NativeSelect.js.map +1 -0
  846. package/dist/lib/ui/Pagination.d.ts +1 -1
  847. package/dist/lib/ui/Pagination.js +1 -1
  848. package/dist/lib/ui/Pagination.js.map +1 -1
  849. package/dist/lib/ui/Popover.js +1 -1
  850. package/dist/lib/ui/Popover.js.map +1 -1
  851. package/dist/lib/ui/RadioGroup.js +1 -1
  852. package/dist/lib/ui/RadioGroup.js.map +1 -1
  853. package/dist/lib/ui/ReactComponentDoc.d.ts +20 -0
  854. package/dist/lib/ui/ReactComponentDoc.js +10 -0
  855. package/dist/lib/ui/ReactComponentDoc.js.map +1 -0
  856. package/dist/lib/ui/Secret.d.ts +18 -0
  857. package/dist/lib/ui/Secret.js +26 -0
  858. package/dist/lib/ui/Secret.js.map +1 -0
  859. package/dist/lib/ui/Select.d.ts +13 -11
  860. package/dist/lib/ui/Select.js +34 -23
  861. package/dist/lib/ui/Select.js.map +1 -1
  862. package/dist/lib/ui/Separator.d.ts +4 -0
  863. package/dist/lib/ui/Separator.js +8 -0
  864. package/dist/lib/ui/Separator.js.map +1 -0
  865. package/dist/lib/ui/Slider.js +1 -1
  866. package/dist/lib/ui/Slider.js.map +1 -1
  867. package/dist/lib/ui/Stepper.d.ts +3 -0
  868. package/dist/lib/ui/Stepper.js +7 -0
  869. package/dist/lib/ui/Stepper.js.map +1 -0
  870. package/dist/lib/ui/Switch.js +1 -1
  871. package/dist/lib/ui/Switch.js.map +1 -1
  872. package/dist/lib/ui/SyntaxHighlight.d.ts +13 -0
  873. package/dist/lib/ui/SyntaxHighlight.js +15 -0
  874. package/dist/lib/ui/SyntaxHighlight.js.map +1 -0
  875. package/dist/lib/ui/Tabs.js +2 -2
  876. package/dist/lib/ui/Tabs.js.map +1 -1
  877. package/dist/lib/ui/Textarea.js +1 -1
  878. package/dist/lib/ui/Textarea.js.map +1 -1
  879. package/dist/lib/ui/Toggle.js +1 -1
  880. package/dist/lib/ui/Toggle.js.map +1 -1
  881. package/dist/lib/ui/ToggleGroup.d.ts +1 -1
  882. package/dist/lib/ui/Tooltip.d.ts +7 -6
  883. package/dist/lib/ui/Tooltip.js +16 -9
  884. package/dist/lib/ui/Tooltip.js.map +1 -1
  885. package/dist/lib/ui/Value.d.ts +5 -0
  886. package/dist/lib/ui/Value.js +13 -0
  887. package/dist/lib/ui/Value.js.map +1 -0
  888. package/dist/lib/ui/util.d.ts +2 -0
  889. package/dist/lib/ui/util.js +3 -0
  890. package/dist/lib/ui/util.js.map +1 -0
  891. package/dist/lib/util/MdxComponents.d.ts +24 -4
  892. package/dist/lib/util/MdxComponents.js +26 -15
  893. package/dist/lib/util/MdxComponents.js.map +1 -1
  894. package/dist/lib/util/cn.js.map +1 -1
  895. package/dist/lib/util/createVariantComponent.d.ts +7 -4
  896. package/dist/lib/util/createVariantComponent.js +5 -2
  897. package/dist/lib/util/createVariantComponent.js.map +1 -1
  898. package/dist/lib/util/detectOS.d.ts +1 -0
  899. package/dist/lib/util/detectOS.js +11 -0
  900. package/dist/lib/util/detectOS.js.map +1 -0
  901. package/dist/lib/util/ensureArray.d.ts +1 -0
  902. package/dist/lib/util/ensureArray.js +2 -0
  903. package/dist/lib/util/ensureArray.js.map +1 -0
  904. package/dist/lib/util/flattenAllOf.d.ts +4 -0
  905. package/dist/lib/util/flattenAllOf.js +88 -0
  906. package/dist/lib/util/flattenAllOf.js.map +1 -0
  907. package/dist/lib/util/flattenAllOf.test.d.ts +1 -0
  908. package/dist/lib/util/flattenAllOf.test.js +587 -0
  909. package/dist/lib/util/flattenAllOf.test.js.map +1 -0
  910. package/dist/lib/util/groupBy.js +1 -0
  911. package/dist/lib/util/groupBy.js.map +1 -1
  912. package/dist/lib/util/humanFileSize.d.ts +6 -0
  913. package/dist/lib/util/humanFileSize.js +14 -0
  914. package/dist/lib/util/humanFileSize.js.map +1 -0
  915. package/dist/lib/util/humanFileSize.test.d.ts +1 -0
  916. package/dist/lib/util/humanFileSize.test.js +22 -0
  917. package/dist/lib/util/humanFileSize.test.js.map +1 -0
  918. package/dist/lib/util/invariant.d.ts +7 -6
  919. package/dist/lib/util/invariant.js +6 -4
  920. package/dist/lib/util/invariant.js.map +1 -1
  921. package/dist/lib/util/joinPath.d.ts +3 -0
  922. package/dist/lib/util/joinPath.js +3 -0
  923. package/dist/lib/util/joinPath.js.map +1 -1
  924. package/dist/lib/util/joinUrl.d.ts +1 -0
  925. package/dist/lib/util/joinUrl.js +40 -0
  926. package/dist/lib/util/joinUrl.js.map +1 -0
  927. package/dist/lib/util/joinUrl.test.d.ts +1 -0
  928. package/dist/lib/util/joinUrl.test.js +43 -0
  929. package/dist/lib/util/joinUrl.test.js.map +1 -0
  930. package/dist/lib/util/os.d.ts +2 -0
  931. package/dist/lib/util/os.js +21 -0
  932. package/dist/lib/util/os.js.map +1 -0
  933. package/dist/lib/util/pastellize.js +4 -4
  934. package/dist/lib/util/pastellize.js.map +1 -1
  935. package/dist/lib/util/readFrontmatter.d.ts +6 -0
  936. package/dist/lib/util/readFrontmatter.js +12 -0
  937. package/dist/lib/util/readFrontmatter.js.map +1 -0
  938. package/dist/lib/util/scrollIntoViewIfNeeded.d.ts +1 -0
  939. package/dist/lib/util/scrollIntoViewIfNeeded.js +14 -0
  940. package/dist/lib/util/scrollIntoViewIfNeeded.js.map +1 -0
  941. package/dist/lib/util/syncZustandState.d.ts +5 -0
  942. package/dist/lib/util/syncZustandState.js +14 -0
  943. package/dist/lib/util/syncZustandState.js.map +1 -0
  944. package/dist/lib/util/traverse.d.ts +4 -2
  945. package/dist/lib/util/traverse.js +38 -8
  946. package/dist/lib/util/traverse.js.map +1 -1
  947. package/dist/lib/util/types.d.ts +7 -0
  948. package/dist/lib/util/types.js +2 -0
  949. package/dist/lib/util/types.js.map +1 -0
  950. package/dist/lib/util/url.d.ts +4 -0
  951. package/dist/lib/util/url.js +13 -0
  952. package/dist/lib/util/url.js.map +1 -0
  953. package/dist/lib/util/url.test.d.ts +1 -0
  954. package/dist/lib/util/url.test.js +26 -0
  955. package/dist/lib/util/url.test.js.map +1 -0
  956. package/dist/lib/util/useCopyToClipboard.d.ts +1 -0
  957. package/dist/lib/util/useCopyToClipboard.js +11 -0
  958. package/dist/lib/util/useCopyToClipboard.js.map +1 -0
  959. package/dist/lib/util/useExposedProps.d.ts +8 -1
  960. package/dist/lib/util/useExposedProps.js.map +1 -1
  961. package/dist/lib/util/useIsomorphicLayoutEffect.js.map +1 -1
  962. package/dist/lib/util/useLatest.d.ts +1 -0
  963. package/dist/lib/util/useLatest.js +15 -0
  964. package/dist/lib/util/useLatest.js.map +1 -0
  965. package/dist/lib/util/useOnScreen.d.ts +3 -2
  966. package/dist/lib/util/useOnScreen.js +3 -3
  967. package/dist/lib/util/useOnScreen.js.map +1 -1
  968. package/dist/lib/util/useScrollToAnchor.d.ts +1 -0
  969. package/dist/lib/util/useScrollToAnchor.js +44 -37
  970. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  971. package/dist/lib/util/useScrollToTop.js +6 -4
  972. package/dist/lib/util/useScrollToTop.js.map +1 -1
  973. package/dist/ts.js +3 -3
  974. package/dist/ts.js.map +1 -1
  975. package/dist/vite/api/SchemaManager.d.ts +43 -0
  976. package/dist/vite/api/SchemaManager.js +176 -0
  977. package/dist/vite/api/SchemaManager.js.map +1 -0
  978. package/dist/vite/api/SchemaManager.test.d.ts +1 -0
  979. package/dist/vite/api/SchemaManager.test.js +173 -0
  980. package/dist/vite/api/SchemaManager.test.js.map +1 -0
  981. package/dist/vite/api/schema-codegen.d.ts +12 -0
  982. package/dist/vite/api/schema-codegen.js +134 -0
  983. package/dist/vite/api/schema-codegen.js.map +1 -0
  984. package/dist/vite/api/schema-codegen.test.d.ts +1 -0
  985. package/dist/vite/api/schema-codegen.test.js +468 -0
  986. package/dist/vite/api/schema-codegen.test.js.map +1 -0
  987. package/dist/vite/build.js +57 -29
  988. package/dist/vite/build.js.map +1 -1
  989. package/dist/vite/config.d.ts +2 -12
  990. package/dist/vite/config.js +117 -145
  991. package/dist/vite/config.js.map +1 -1
  992. package/dist/vite/config.test.js +6 -2
  993. package/dist/vite/config.test.js.map +1 -1
  994. package/dist/vite/css/plugin.d.ts +1 -2
  995. package/dist/vite/css/plugin.js +14 -2
  996. package/dist/vite/css/plugin.js.map +1 -1
  997. package/dist/vite/dev-server.d.ts +5 -3
  998. package/dist/vite/dev-server.js +95 -24
  999. package/dist/vite/dev-server.js.map +1 -1
  1000. package/dist/vite/error-handler.d.ts +3 -3
  1001. package/dist/vite/error-handler.js +1 -1
  1002. package/dist/vite/error-handler.js.map +1 -1
  1003. package/dist/vite/html.d.ts +7 -3
  1004. package/dist/vite/html.js +15 -9
  1005. package/dist/vite/html.js.map +1 -1
  1006. package/dist/vite/llms.d.ts +12 -0
  1007. package/dist/vite/llms.js +66 -0
  1008. package/dist/vite/llms.js.map +1 -0
  1009. package/dist/vite/mdx/remark-inject-filepath.d.ts +3 -0
  1010. package/dist/vite/mdx/remark-inject-filepath.js +6 -0
  1011. package/dist/vite/mdx/remark-inject-filepath.js.map +1 -0
  1012. package/dist/vite/mdx/remark-last-modified.d.ts +3 -0
  1013. package/dist/vite/mdx/remark-last-modified.js +82 -0
  1014. package/dist/vite/mdx/remark-last-modified.js.map +1 -0
  1015. package/dist/vite/mdx/remark-link-rewrite.d.ts +2 -0
  1016. package/dist/vite/mdx/remark-link-rewrite.js +20 -0
  1017. package/dist/vite/mdx/remark-link-rewrite.js.map +1 -0
  1018. package/dist/vite/mdx/remark-normalize-image-url.d.ts +2 -0
  1019. package/dist/vite/mdx/remark-normalize-image-url.js +12 -0
  1020. package/dist/vite/mdx/remark-normalize-image-url.js.map +1 -0
  1021. package/dist/vite/mdx/remark-static-generation.d.ts +3 -0
  1022. package/dist/vite/mdx/remark-static-generation.js +125 -0
  1023. package/dist/vite/mdx/remark-static-generation.js.map +1 -0
  1024. package/dist/vite/mdx/utils.d.ts +2 -0
  1025. package/dist/vite/mdx/utils.js +31 -0
  1026. package/dist/vite/mdx/utils.js.map +1 -0
  1027. package/dist/vite/output.d.ts +15 -3
  1028. package/dist/vite/output.js +13 -15
  1029. package/dist/vite/output.js.map +1 -1
  1030. package/dist/vite/pagefind-dev-index.d.ts +16 -0
  1031. package/dist/vite/pagefind-dev-index.js +68 -0
  1032. package/dist/vite/pagefind-dev-index.js.map +1 -0
  1033. package/dist/vite/plugin-api-keys.d.ts +2 -3
  1034. package/dist/vite/plugin-api-keys.js +18 -8
  1035. package/dist/vite/plugin-api-keys.js.map +1 -1
  1036. package/dist/vite/plugin-api.d.ts +1 -2
  1037. package/dist/vite/plugin-api.js +159 -79
  1038. package/dist/vite/plugin-api.js.map +1 -1
  1039. package/dist/vite/plugin-auth.d.ts +2 -3
  1040. package/dist/vite/plugin-auth.js +11 -7
  1041. package/dist/vite/plugin-auth.js.map +1 -1
  1042. package/dist/vite/plugin-component.d.ts +2 -3
  1043. package/dist/vite/plugin-component.js +10 -5
  1044. package/dist/vite/plugin-component.js.map +1 -1
  1045. package/dist/vite/plugin-config-reload.d.ts +3 -3
  1046. package/dist/vite/plugin-config-reload.js +31 -23
  1047. package/dist/vite/plugin-config-reload.js.map +1 -1
  1048. package/dist/vite/plugin-config.d.ts +2 -3
  1049. package/dist/vite/plugin-config.js +13 -7
  1050. package/dist/vite/plugin-config.js.map +1 -1
  1051. package/dist/vite/plugin-custom-pages.d.ts +2 -3
  1052. package/dist/vite/plugin-custom-pages.js +8 -7
  1053. package/dist/vite/plugin-custom-pages.js.map +1 -1
  1054. package/dist/vite/plugin-docs.d.ts +11 -3
  1055. package/dist/vite/plugin-docs.js +97 -49
  1056. package/dist/vite/plugin-docs.js.map +1 -1
  1057. package/dist/vite/plugin-frontmatter.d.ts +1 -2
  1058. package/dist/vite/plugin-frontmatter.js +16 -12
  1059. package/dist/vite/plugin-frontmatter.js.map +1 -1
  1060. package/dist/vite/plugin-markdown-export.d.ts +21 -0
  1061. package/dist/vite/plugin-markdown-export.js +140 -0
  1062. package/dist/vite/plugin-markdown-export.js.map +1 -0
  1063. package/dist/vite/plugin-mdx.d.ts +2 -3
  1064. package/dist/vite/plugin-mdx.js +83 -101
  1065. package/dist/vite/plugin-mdx.js.map +1 -1
  1066. package/dist/vite/plugin-metadata.d.ts +1 -1
  1067. package/dist/vite/plugin-navigation.d.ts +4 -0
  1068. package/dist/vite/plugin-navigation.js +67 -0
  1069. package/dist/vite/plugin-navigation.js.map +1 -0
  1070. package/dist/vite/plugin-redirect.d.ts +2 -3
  1071. package/dist/vite/plugin-redirect.js +7 -6
  1072. package/dist/vite/plugin-redirect.js.map +1 -1
  1073. package/dist/vite/plugin-search.d.ts +2 -3
  1074. package/dist/vite/plugin-search.js +9 -4
  1075. package/dist/vite/plugin-search.js.map +1 -1
  1076. package/dist/vite/plugin-shiki-register.d.ts +2 -0
  1077. package/dist/vite/plugin-shiki-register.js +39 -0
  1078. package/dist/vite/plugin-shiki-register.js.map +1 -0
  1079. package/dist/vite/plugin-theme.d.ts +8 -0
  1080. package/dist/vite/plugin-theme.js +283 -0
  1081. package/dist/vite/plugin-theme.js.map +1 -0
  1082. package/dist/vite/plugin-theme.test.d.ts +1 -0
  1083. package/dist/vite/plugin-theme.test.js +314 -0
  1084. package/dist/vite/plugin-theme.test.js.map +1 -0
  1085. package/dist/vite/plugin.d.ts +2 -3
  1086. package/dist/vite/plugin.js +26 -23
  1087. package/dist/vite/plugin.js.map +1 -1
  1088. package/dist/vite/prerender/FileWritingResponse.d.ts +25 -0
  1089. package/dist/vite/prerender/FileWritingResponse.js +53 -0
  1090. package/dist/vite/prerender/FileWritingResponse.js.map +1 -0
  1091. package/dist/vite/prerender/InMemoryResponse.d.ts +16 -0
  1092. package/dist/vite/prerender/InMemoryResponse.js +34 -0
  1093. package/dist/vite/prerender/InMemoryResponse.js.map +1 -0
  1094. package/dist/vite/prerender/PrerenderResponse.d.ts +10 -0
  1095. package/dist/vite/prerender/PrerenderResponse.js +2 -0
  1096. package/dist/vite/prerender/PrerenderResponse.js.map +1 -0
  1097. package/dist/vite/prerender/prerender.d.ts +15 -0
  1098. package/dist/vite/prerender/prerender.js +124 -0
  1099. package/dist/vite/prerender/prerender.js.map +1 -0
  1100. package/dist/vite/prerender/utils.d.ts +2 -0
  1101. package/dist/vite/prerender/utils.js +24 -0
  1102. package/dist/vite/prerender/utils.js.map +1 -0
  1103. package/dist/vite/prerender/worker.d.ts +13 -0
  1104. package/dist/vite/prerender/worker.js +66 -0
  1105. package/dist/vite/prerender/worker.js.map +1 -0
  1106. package/dist/vite/reporter.d.ts +3 -0
  1107. package/dist/vite/reporter.js +33 -0
  1108. package/dist/vite/reporter.js.map +1 -0
  1109. package/dist/vite/shadcn-registry.d.ts +20 -0
  1110. package/dist/vite/shadcn-registry.js +29 -0
  1111. package/dist/vite/shadcn-registry.js.map +1 -0
  1112. package/dist/vite/sitemap.d.ts +1 -1
  1113. package/dist/vite/sitemap.js +16 -14
  1114. package/dist/vite/sitemap.js.map +1 -1
  1115. package/dist/vite/zuplo.d.ts +13 -0
  1116. package/dist/vite/zuplo.js +15 -0
  1117. package/dist/vite/zuplo.js.map +1 -0
  1118. package/dist/zuplo/enrich-with-zuplo-mcp.d.ts +4 -0
  1119. package/dist/zuplo/enrich-with-zuplo-mcp.js +117 -0
  1120. package/dist/zuplo/enrich-with-zuplo-mcp.js.map +1 -0
  1121. package/dist/zuplo/enrich-with-zuplo.d.ts +6 -0
  1122. package/dist/zuplo/enrich-with-zuplo.js +185 -0
  1123. package/dist/zuplo/enrich-with-zuplo.js.map +1 -0
  1124. package/dist/zuplo/policy-types.d.ts +33 -0
  1125. package/dist/zuplo/policy-types.js +7 -0
  1126. package/dist/zuplo/policy-types.js.map +1 -0
  1127. package/dist/zuplo/with-zuplo-processors.d.ts +3 -0
  1128. package/dist/zuplo/with-zuplo-processors.js +28 -0
  1129. package/dist/zuplo/with-zuplo-processors.js.map +1 -0
  1130. package/dist/zuplo/with-zuplo.d.ts +5 -2
  1131. package/dist/zuplo/with-zuplo.js +7 -25
  1132. package/dist/zuplo/with-zuplo.js.map +1 -1
  1133. package/lib/ActionButton-B0CXL1Lq.js +25 -0
  1134. package/lib/ActionButton-B0CXL1Lq.js.map +1 -0
  1135. package/lib/Button-GUVe7pmt.js +54 -0
  1136. package/lib/Button-GUVe7pmt.js.map +1 -0
  1137. package/lib/Card-DCdq37aA.js +61 -0
  1138. package/lib/Card-DCdq37aA.js.map +1 -0
  1139. package/lib/CategoryHeading-DhmodDcq.js +17 -0
  1140. package/lib/CategoryHeading-DhmodDcq.js.map +1 -0
  1141. package/lib/ClaudeLogo-BWe0C_so.js +69 -0
  1142. package/lib/ClaudeLogo-BWe0C_so.js.map +1 -0
  1143. package/lib/ClientOnly-E7hGysn1.js.map +1 -1
  1144. package/lib/Command-N6VujV30.js +134 -0
  1145. package/lib/Command-N6VujV30.js.map +1 -0
  1146. package/lib/Dialog-hlvmmQ_c.js +144 -0
  1147. package/lib/Dialog-hlvmmQ_c.js.map +1 -0
  1148. package/lib/Drawer-Ch7927PF.js +1133 -0
  1149. package/lib/Drawer-Ch7927PF.js.map +1 -0
  1150. package/lib/DropdownMenu-DN0jNrjj.js +104 -0
  1151. package/lib/DropdownMenu-DN0jNrjj.js.map +1 -0
  1152. package/lib/Frame-DKlOmSkU.js +205 -0
  1153. package/lib/Frame-DKlOmSkU.js.map +1 -0
  1154. package/lib/IndexingDialog-D0YdGfbn.js +100 -0
  1155. package/lib/IndexingDialog-D0YdGfbn.js.map +1 -0
  1156. package/lib/Input-nskrp_mj.js +136 -0
  1157. package/lib/Input-nskrp_mj.js.map +1 -0
  1158. package/lib/MdxPage-CePZRTMp.js +210 -0
  1159. package/lib/MdxPage-CePZRTMp.js.map +1 -0
  1160. package/lib/Mermaid-CGRoylZf.js +102 -0
  1161. package/lib/Mermaid-CGRoylZf.js.map +1 -0
  1162. package/lib/OAuthErrorPage-87ItaXvG.js +149 -0
  1163. package/lib/OAuthErrorPage-87ItaXvG.js.map +1 -0
  1164. package/lib/OasProvider-Bmg9-dFB.js +40 -0
  1165. package/lib/OasProvider-Bmg9-dFB.js.map +1 -0
  1166. package/lib/OperationList-BnHfDeIy.js +5819 -0
  1167. package/lib/OperationList-BnHfDeIy.js.map +1 -0
  1168. package/lib/RouteGuard-CIN9Ou-r.js +77 -0
  1169. package/lib/RouteGuard-CIN9Ou-r.js.map +1 -0
  1170. package/lib/SchemaList-B03683OY.js +151 -0
  1171. package/lib/SchemaList-B03683OY.js.map +1 -0
  1172. package/lib/SchemaView-Bo377i1k.js +438 -0
  1173. package/lib/SchemaView-Bo377i1k.js.map +1 -0
  1174. package/lib/Secret-BDBqq4p3.js +243 -0
  1175. package/lib/Secret-BDBqq4p3.js.map +1 -0
  1176. package/lib/Separator-BXt1LYnm.js +27 -0
  1177. package/lib/Separator-BXt1LYnm.js.map +1 -0
  1178. package/lib/SignUp-Bm5CfvIv.js +50 -0
  1179. package/lib/SignUp-Bm5CfvIv.js.map +1 -0
  1180. package/lib/Spinner-CI6bRyZw.js +7 -0
  1181. package/lib/Spinner-CI6bRyZw.js.map +1 -0
  1182. package/lib/SyntaxHighlight-9LdEQose.js +10409 -0
  1183. package/lib/SyntaxHighlight-9LdEQose.js.map +1 -0
  1184. package/lib/Toc-CQtuzud4.js +92 -0
  1185. package/lib/Toc-CQtuzud4.js.map +1 -0
  1186. package/lib/ZudokuContext-CDJYKqMY.js +1581 -0
  1187. package/lib/ZudokuContext-CDJYKqMY.js.map +1 -0
  1188. package/lib/___vite-browser-external_commonjs-proxy-BttVsNON.js +9 -0
  1189. package/lib/___vite-browser-external_commonjs-proxy-BttVsNON.js.map +1 -0
  1190. package/lib/c-B-NUhs61.js +46 -0
  1191. package/lib/c-B-NUhs61.js.map +1 -0
  1192. package/lib/chunk-PVWAREVJ-ClM0m2aJ.js +7965 -0
  1193. package/lib/chunk-PVWAREVJ-ClM0m2aJ.js.map +1 -0
  1194. package/lib/circular-C8WbUSfZ.js +15361 -0
  1195. package/lib/circular-C8WbUSfZ.js.map +1 -0
  1196. package/lib/clsx-OuTLNxxd.js +17 -0
  1197. package/lib/clsx-OuTLNxxd.js.map +1 -0
  1198. package/lib/cn-5-Gd1Dss.js +2764 -0
  1199. package/lib/cn-5-Gd1Dss.js.map +1 -0
  1200. package/lib/commonlisp-De080z23.js +28 -0
  1201. package/lib/commonlisp-De080z23.js.map +1 -0
  1202. package/lib/cpp-79Paht7T.js +53 -0
  1203. package/lib/cpp-79Paht7T.js.map +1 -0
  1204. package/lib/createServer-XaST7nXb.js +16693 -0
  1205. package/lib/createServer-XaST7nXb.js.map +1 -0
  1206. package/lib/createVariantComponent-Dc0vtOvr.js +18 -0
  1207. package/lib/createVariantComponent-Dc0vtOvr.js.map +1 -0
  1208. package/lib/csharp-D8MIL50B.js +53 -0
  1209. package/lib/csharp-D8MIL50B.js.map +1 -0
  1210. package/lib/css-Bt6hr1td.js +54 -0
  1211. package/lib/css-Bt6hr1td.js.map +1 -0
  1212. package/lib/dart-B0vy1jWB.js +60 -0
  1213. package/lib/dart-B0vy1jWB.js.map +1 -0
  1214. package/lib/elixir-Ds8r0sF8.js +25 -0
  1215. package/lib/elixir-Ds8r0sF8.js.map +1 -0
  1216. package/lib/errors-r14WM5cv.js +45 -0
  1217. package/lib/errors-r14WM5cv.js.map +1 -0
  1218. package/lib/firebase-GLWpXK71.js +7612 -0
  1219. package/lib/firebase-GLWpXK71.js.map +1 -0
  1220. package/lib/go-D2VsmIOS.js +25 -0
  1221. package/lib/go-D2VsmIOS.js.map +1 -0
  1222. package/lib/graphql-BtA6M4m5.js +25 -0
  1223. package/lib/graphql-BtA6M4m5.js.map +1 -0
  1224. package/lib/hook-BxWvqzB0.js +52 -0
  1225. package/lib/hook-BxWvqzB0.js.map +1 -0
  1226. package/lib/html-MGnI2uzP.js +33 -0
  1227. package/lib/html-MGnI2uzP.js.map +1 -0
  1228. package/lib/index-7s0u7qwT.js +3675 -0
  1229. package/lib/index-7s0u7qwT.js.map +1 -0
  1230. package/lib/index-C2Ag_bmE.js +2210 -0
  1231. package/lib/index-C2Ag_bmE.js.map +1 -0
  1232. package/lib/index-CJGQ3vyv.js +16515 -0
  1233. package/lib/index-CJGQ3vyv.js.map +1 -0
  1234. package/lib/index-CjTisMeX.js +133 -0
  1235. package/lib/index-CjTisMeX.js.map +1 -0
  1236. package/lib/index-CrcNWbel.js +316 -0
  1237. package/lib/index-CrcNWbel.js.map +1 -0
  1238. package/lib/index-DI5SPFK9.js +36 -0
  1239. package/lib/index-DI5SPFK9.js.map +1 -0
  1240. package/lib/index-nGbmHh_A.js +4827 -0
  1241. package/lib/index-nGbmHh_A.js.map +1 -0
  1242. package/lib/index.esm-BYObtETB.js +1294 -0
  1243. package/lib/index.esm-BYObtETB.js.map +1 -0
  1244. package/lib/index.esm-B_0dvNjB.js +683 -0
  1245. package/lib/index.esm-B_0dvNjB.js.map +1 -0
  1246. package/lib/index.esm-TGqXe8U1.js +34 -0
  1247. package/lib/index.esm-TGqXe8U1.js.map +1 -0
  1248. package/lib/invariant-BJAl77rw.js +44 -0
  1249. package/lib/invariant-BJAl77rw.js.map +1 -0
  1250. package/lib/java-CVLzHfb1.js +53 -0
  1251. package/lib/java-CVLzHfb1.js.map +1 -0
  1252. package/lib/javascript-CcmIpL4G.js +10 -0
  1253. package/lib/javascript-CcmIpL4G.js.map +1 -0
  1254. package/lib/json-4AyP4uiY.js +25 -0
  1255. package/lib/json-4AyP4uiY.js.map +1 -0
  1256. package/lib/jsx-runtime-BzflLqGi.js +283 -0
  1257. package/lib/jsx-runtime-BzflLqGi.js.map +1 -0
  1258. package/lib/kotlin-v2plddBQ.js +37 -0
  1259. package/lib/kotlin-v2plddBQ.js.map +1 -0
  1260. package/lib/markdown-DYGWCmGQ.js +25 -0
  1261. package/lib/markdown-DYGWCmGQ.js.map +1 -0
  1262. package/lib/mdx-CHwYvXd4.js +32 -0
  1263. package/lib/mdx-CHwYvXd4.js.map +1 -0
  1264. package/lib/mutation-Cq0wKBqW.js +222 -0
  1265. package/lib/mutation-Cq0wKBqW.js.map +1 -0
  1266. package/lib/objectivec-HZY8shkd.js +32 -0
  1267. package/lib/objectivec-HZY8shkd.js.map +1 -0
  1268. package/lib/ocaml-DqsdDdwb.js +52 -0
  1269. package/lib/ocaml-DqsdDdwb.js.map +1 -0
  1270. package/lib/php-rQXzo7K_.js +25 -0
  1271. package/lib/php-rQXzo7K_.js.map +1 -0
  1272. package/lib/powershell-CQje9pm1.js +39 -0
  1273. package/lib/powershell-CQje9pm1.js.map +1 -0
  1274. package/lib/processors/removeExtensions.js +11 -0
  1275. package/lib/processors/removeExtensions.js.map +1 -0
  1276. package/lib/processors/removeParameters.js +47 -0
  1277. package/lib/processors/removeParameters.js.map +1 -0
  1278. package/lib/processors/removePaths.js +28 -0
  1279. package/lib/processors/removePaths.js.map +1 -0
  1280. package/lib/processors/traverse.js +17 -0
  1281. package/lib/processors/traverse.js.map +1 -0
  1282. package/lib/python-QIQAE5Ei.js +32 -0
  1283. package/lib/python-QIQAE5Ei.js.map +1 -0
  1284. package/lib/react-DHpVpxRv.js +24 -0
  1285. package/lib/react-DHpVpxRv.js.map +1 -0
  1286. package/lib/ruby-B2dU8Ny5.js +25 -0
  1287. package/lib/ruby-B2dU8Ny5.js.map +1 -0
  1288. package/lib/rust-DYnLHAi2.js +25 -0
  1289. package/lib/rust-DYnLHAi2.js.map +1 -0
  1290. package/lib/scala-CeKInBR8.js +25 -0
  1291. package/lib/scala-CeKInBR8.js.map +1 -0
  1292. package/lib/shell-HUv9oVtp.js +25 -0
  1293. package/lib/shell-HUv9oVtp.js.map +1 -0
  1294. package/lib/swift-B4z6ig1Z.js +25 -0
  1295. package/lib/swift-B4z6ig1Z.js.map +1 -0
  1296. package/lib/toml-Co9mpdct.js +32 -0
  1297. package/lib/toml-Co9mpdct.js.map +1 -0
  1298. package/lib/typescript-C26xdBDC.js +32 -0
  1299. package/lib/typescript-C26xdBDC.js.map +1 -0
  1300. package/lib/ui/Accordion.js +2 -2
  1301. package/lib/ui/Accordion.js.map +1 -1
  1302. package/lib/ui/ActionButton.js +11 -11
  1303. package/lib/ui/ActionButton.js.map +1 -1
  1304. package/lib/ui/Alert.js +55 -39
  1305. package/lib/ui/Alert.js.map +1 -1
  1306. package/lib/ui/AlertDialog.js +2 -2
  1307. package/lib/ui/AlertDialog.js.map +1 -1
  1308. package/lib/ui/Badge.js +28 -13
  1309. package/lib/ui/Badge.js.map +1 -1
  1310. package/lib/ui/Breadcrumb.js +26 -25
  1311. package/lib/ui/Breadcrumb.js.map +1 -1
  1312. package/lib/ui/Button.js +26 -20
  1313. package/lib/ui/Button.js.map +1 -1
  1314. package/lib/ui/ButtonGroup.js +77 -0
  1315. package/lib/ui/ButtonGroup.js.map +1 -0
  1316. package/lib/ui/Callout.js +47 -27
  1317. package/lib/ui/Callout.js.map +1 -1
  1318. package/lib/ui/Card.js +3 -3
  1319. package/lib/ui/Card.js.map +1 -1
  1320. package/lib/ui/Carousel.js +350 -350
  1321. package/lib/ui/Carousel.js.map +1 -1
  1322. package/lib/ui/Checkbox.js +29 -25
  1323. package/lib/ui/Checkbox.js.map +1 -1
  1324. package/lib/ui/CodeBlock.js +220 -0
  1325. package/lib/ui/CodeBlock.js.map +1 -0
  1326. package/lib/ui/Collapsible.js +32 -5
  1327. package/lib/ui/Collapsible.js.map +1 -1
  1328. package/lib/ui/Command.js +113 -516
  1329. package/lib/ui/Command.js.map +1 -1
  1330. package/lib/ui/Dialog.js +140 -95
  1331. package/lib/ui/Dialog.js.map +1 -1
  1332. package/lib/ui/Drawer.js +14 -1150
  1333. package/lib/ui/Drawer.js.map +1 -1
  1334. package/lib/ui/DropdownMenu.js +227 -140
  1335. package/lib/ui/DropdownMenu.js.map +1 -1
  1336. package/lib/ui/EmbeddedCodeBlock.js +84 -0
  1337. package/lib/ui/EmbeddedCodeBlock.js.map +1 -0
  1338. package/lib/ui/Form.js +6 -6
  1339. package/lib/ui/Form.js.map +1 -1
  1340. package/lib/ui/Frame.js +81 -0
  1341. package/lib/ui/Frame.js.map +1 -0
  1342. package/lib/ui/HoverCard.js +6 -6
  1343. package/lib/ui/HoverCard.js.map +1 -1
  1344. package/lib/ui/Input.js +3 -3
  1345. package/lib/ui/Input.js.map +1 -1
  1346. package/lib/ui/Item.js +188 -0
  1347. package/lib/ui/Item.js.map +1 -0
  1348. package/lib/ui/Kbd.js +32 -0
  1349. package/lib/ui/Kbd.js.map +1 -0
  1350. package/lib/ui/Label.js +3 -3
  1351. package/lib/ui/Label.js.map +1 -1
  1352. package/lib/ui/NativeSelect.js +57 -0
  1353. package/lib/ui/NativeSelect.js.map +1 -0
  1354. package/lib/ui/Pagination.js +30 -31
  1355. package/lib/ui/Pagination.js.map +1 -1
  1356. package/lib/ui/Popover.js +3 -3
  1357. package/lib/ui/Popover.js.map +1 -1
  1358. package/lib/ui/Progress.js +2 -2
  1359. package/lib/ui/Progress.js.map +1 -1
  1360. package/lib/ui/RadioGroup.js +11 -11
  1361. package/lib/ui/RadioGroup.js.map +1 -1
  1362. package/lib/ui/ReactComponentDoc.js +28 -0
  1363. package/lib/ui/ReactComponentDoc.js.map +1 -0
  1364. package/lib/ui/ScrollArea.js +2 -2
  1365. package/lib/ui/ScrollArea.js.map +1 -1
  1366. package/lib/ui/Secret.js +106 -0
  1367. package/lib/ui/Secret.js.map +1 -0
  1368. package/lib/ui/Select.js +166 -116
  1369. package/lib/ui/Select.js.map +1 -1
  1370. package/lib/ui/Separator.js +27 -0
  1371. package/lib/ui/Separator.js.map +1 -0
  1372. package/lib/ui/Skeleton.js +2 -2
  1373. package/lib/ui/Skeleton.js.map +1 -1
  1374. package/lib/ui/Slider.js +6 -6
  1375. package/lib/ui/Slider.js.map +1 -1
  1376. package/lib/ui/Stepper.js +6 -0
  1377. package/lib/ui/Stepper.js.map +1 -0
  1378. package/lib/ui/Switch.js +6 -6
  1379. package/lib/ui/Switch.js.map +1 -1
  1380. package/lib/ui/SyntaxHighlight.js +11 -0
  1381. package/lib/ui/SyntaxHighlight.js.map +1 -0
  1382. package/lib/ui/Tabs.js +12 -12
  1383. package/lib/ui/Tabs.js.map +1 -1
  1384. package/lib/ui/Textarea.js +6 -6
  1385. package/lib/ui/Textarea.js.map +1 -1
  1386. package/lib/ui/Toggle.js +8 -8
  1387. package/lib/ui/Toggle.js.map +1 -1
  1388. package/lib/ui/ToggleGroup.js +2 -2
  1389. package/lib/ui/ToggleGroup.js.map +1 -1
  1390. package/lib/ui/Tooltip.js +55 -21
  1391. package/lib/ui/Tooltip.js.map +1 -1
  1392. package/lib/ui/Value.js +39 -0
  1393. package/lib/ui/Value.js.map +1 -0
  1394. package/lib/ui/util.js +6 -0
  1395. package/lib/ui/util.js.map +1 -0
  1396. package/lib/useCopyToClipboard-B_085nfO.js +14 -0
  1397. package/lib/useCopyToClipboard-B_085nfO.js.map +1 -0
  1398. package/lib/useLatest-hmRS46UF.js +11 -0
  1399. package/lib/useLatest-hmRS46UF.js.map +1 -0
  1400. package/lib/xml-BQOOC04j.js +25 -0
  1401. package/lib/xml-BQOOC04j.js.map +1 -0
  1402. package/lib/yaml-BGsJItKv.js +32 -0
  1403. package/lib/yaml-BGsJItKv.js.map +1 -0
  1404. package/lib/zig-CUV2sTct.js +35 -0
  1405. package/lib/zig-CUV2sTct.js.map +1 -0
  1406. package/lib/zudoku.__internal.js +3114 -0
  1407. package/lib/zudoku.__internal.js.map +1 -0
  1408. package/lib/zudoku.auth-auth0.js +32 -35
  1409. package/lib/zudoku.auth-auth0.js.map +1 -1
  1410. package/lib/zudoku.auth-azureb2c.js +136 -0
  1411. package/lib/zudoku.auth-azureb2c.js.map +1 -0
  1412. package/lib/zudoku.auth-clerk.js +112 -61
  1413. package/lib/zudoku.auth-clerk.js.map +1 -1
  1414. package/lib/zudoku.auth-firebase.js +10 -0
  1415. package/lib/zudoku.auth-firebase.js.map +1 -0
  1416. package/lib/zudoku.auth-openid.js +549 -570
  1417. package/lib/zudoku.auth-openid.js.map +1 -1
  1418. package/lib/zudoku.auth-supabase.js +154 -0
  1419. package/lib/zudoku.auth-supabase.js.map +1 -0
  1420. package/lib/zudoku.components.js +26 -1417
  1421. package/lib/zudoku.components.js.map +1 -1
  1422. package/lib/zudoku.hooks.js +14 -0
  1423. package/lib/zudoku.hooks.js.map +1 -0
  1424. package/lib/zudoku.icons.js +10 -0
  1425. package/lib/zudoku.icons.js.map +1 -1
  1426. package/lib/zudoku.mermaid.js +10 -0
  1427. package/lib/zudoku.mermaid.js.map +1 -0
  1428. package/lib/zudoku.plugin-api-catalog.js +113 -113
  1429. package/lib/zudoku.plugin-api-catalog.js.map +1 -1
  1430. package/lib/zudoku.plugin-api-keys.js +717 -214
  1431. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  1432. package/lib/zudoku.plugin-custom-pages.js +15 -18
  1433. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  1434. package/lib/zudoku.plugin-markdown.js +21 -94
  1435. package/lib/zudoku.plugin-markdown.js.map +1 -1
  1436. package/lib/zudoku.plugin-openapi.js +7 -6
  1437. package/lib/zudoku.plugin-openapi.js.map +1 -1
  1438. package/lib/zudoku.plugin-redirect.js +1 -1
  1439. package/lib/zudoku.plugin-redirect.js.map +1 -1
  1440. package/lib/zudoku.plugin-search-inkeep.js +55 -59
  1441. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  1442. package/lib/zudoku.plugin-search-pagefind.js +282 -0
  1443. package/lib/zudoku.plugin-search-pagefind.js.map +1 -0
  1444. package/lib/zudoku.plugins.js +15 -0
  1445. package/lib/zudoku.plugins.js.map +1 -0
  1446. package/lib/zudoku.router.js +2507 -0
  1447. package/lib/zudoku.router.js.map +1 -0
  1448. package/package.json +195 -118
  1449. package/src/app/ZuploBuildConfig.ts +33 -0
  1450. package/src/app/defaultTheme.css +73 -0
  1451. package/src/app/demo-cdn.html +31 -31
  1452. package/src/app/demo.html +1 -1
  1453. package/src/app/demo.tsx +25 -8
  1454. package/src/app/entry.client.tsx +55 -5
  1455. package/src/app/entry.server.tsx +42 -24
  1456. package/src/app/env.ts +43 -0
  1457. package/src/app/font.geist.css +73 -0
  1458. package/src/app/main.css +227 -132
  1459. package/src/app/main.tsx +83 -49
  1460. package/src/app/sentry.ts +1 -1
  1461. package/src/app/standalone.tsx +14 -9
  1462. package/src/lib/MissingIcon.tsx +22 -0
  1463. package/src/lib/assets/language-icons/c.tsx +31 -0
  1464. package/src/lib/assets/language-icons/commonlisp.tsx +22 -0
  1465. package/src/lib/assets/language-icons/cpp.tsx +35 -0
  1466. package/src/lib/assets/language-icons/csharp.tsx +35 -0
  1467. package/src/lib/assets/language-icons/css.tsx +36 -0
  1468. package/src/lib/assets/language-icons/dart.tsx +39 -0
  1469. package/src/lib/assets/language-icons/elixir.tsx +19 -0
  1470. package/src/lib/assets/language-icons/go.tsx +19 -0
  1471. package/src/lib/assets/language-icons/graphql.tsx +19 -0
  1472. package/src/lib/assets/language-icons/html.tsx +24 -0
  1473. package/src/lib/assets/language-icons/java.tsx +35 -0
  1474. package/src/lib/assets/language-icons/javascript.tsx +11 -0
  1475. package/src/lib/assets/language-icons/json.tsx +19 -0
  1476. package/src/lib/assets/language-icons/kotlin.tsx +30 -0
  1477. package/src/lib/assets/language-icons/markdown.tsx +19 -0
  1478. package/src/lib/assets/language-icons/mdx.tsx +23 -0
  1479. package/src/lib/assets/language-icons/objectivec.tsx +23 -0
  1480. package/src/lib/assets/language-icons/ocaml.tsx +34 -0
  1481. package/src/lib/assets/language-icons/php.tsx +19 -0
  1482. package/src/lib/assets/language-icons/powershell.tsx +27 -0
  1483. package/src/lib/assets/language-icons/python.tsx +23 -0
  1484. package/src/lib/assets/language-icons/react.tsx +21 -0
  1485. package/src/lib/assets/language-icons/ruby.tsx +19 -0
  1486. package/src/lib/assets/language-icons/rust.tsx +19 -0
  1487. package/src/lib/assets/language-icons/scala.tsx +19 -0
  1488. package/src/lib/assets/language-icons/shell.tsx +19 -0
  1489. package/src/lib/assets/language-icons/swift.tsx +19 -0
  1490. package/src/lib/assets/language-icons/toml.tsx +23 -0
  1491. package/src/lib/assets/language-icons/typescript.tsx +23 -0
  1492. package/src/lib/assets/language-icons/xml.tsx +19 -0
  1493. package/src/lib/assets/language-icons/yaml.tsx +23 -0
  1494. package/src/lib/assets/language-icons/zig.tsx +32 -0
  1495. package/src/lib/auth/issuer.test.ts +121 -0
  1496. package/src/lib/auth/issuer.ts +44 -0
  1497. package/src/lib/authentication/AuthenticationPlugin.tsx +2 -2
  1498. package/src/lib/authentication/authentication.ts +34 -11
  1499. package/src/lib/authentication/components/CallbackHandler.tsx +29 -12
  1500. package/src/lib/authentication/components/OAuthErrorPage.tsx +171 -0
  1501. package/src/lib/authentication/components/SignIn.tsx +37 -6
  1502. package/src/lib/authentication/components/SignOut.tsx +8 -6
  1503. package/src/lib/authentication/components/SignUp.tsx +39 -5
  1504. package/src/lib/authentication/errors.ts +27 -13
  1505. package/src/lib/authentication/hook.ts +44 -4
  1506. package/src/lib/authentication/providers/auth0.tsx +28 -14
  1507. package/src/lib/authentication/providers/azureb2c.tsx +208 -0
  1508. package/src/lib/authentication/providers/clerk.tsx +138 -54
  1509. package/src/lib/authentication/providers/firebase.tsx +376 -0
  1510. package/src/lib/authentication/providers/openid.tsx +153 -56
  1511. package/src/lib/authentication/providers/supabase/SupabaseAuthUI.tsx +75 -0
  1512. package/src/lib/authentication/providers/supabase.tsx +162 -0
  1513. package/src/lib/authentication/state.ts +48 -48
  1514. package/src/lib/authentication/ui/EmailVerificationUi.tsx +129 -0
  1515. package/src/lib/authentication/ui/ZudokuAuthUi.tsx +477 -0
  1516. package/src/lib/authentication/ui/icons/Apple.tsx +10 -0
  1517. package/src/lib/authentication/ui/icons/Facebook.tsx +15 -0
  1518. package/src/lib/authentication/ui/icons/Github.tsx +16 -0
  1519. package/src/lib/authentication/ui/icons/Google.tsx +16 -0
  1520. package/src/lib/authentication/ui/icons/Microsoft.tsx +12 -0
  1521. package/src/lib/authentication/ui/icons/X.tsx +10 -0
  1522. package/src/lib/authentication/use-broadcast/LICENSE.md +12 -3
  1523. package/src/lib/authentication/use-broadcast/shared.ts +4 -4
  1524. package/src/lib/authentication/use-broadcast/useBroadcast.ts +2 -2
  1525. package/src/lib/authentication/utils/relativeRedirectUrl.ts +12 -0
  1526. package/src/lib/components/AnchorLink.tsx +13 -8
  1527. package/src/lib/components/Autocomplete.tsx +123 -0
  1528. package/src/lib/components/Banner.tsx +3 -3
  1529. package/src/lib/components/Bootstrap.tsx +14 -6
  1530. package/src/lib/components/BuildCheck.tsx +88 -0
  1531. package/src/lib/components/CategoryHeading.tsx +4 -1
  1532. package/src/lib/components/ErrorPage.tsx +3 -3
  1533. package/src/lib/components/Footer.tsx +136 -0
  1534. package/src/lib/components/Framed.tsx +51 -0
  1535. package/src/lib/components/Header.tsx +59 -48
  1536. package/src/lib/components/Heading.tsx +14 -11
  1537. package/src/lib/components/InlineCode.tsx +13 -16
  1538. package/src/lib/components/LanguageIcon.tsx +181 -0
  1539. package/src/lib/components/Layout.tsx +22 -81
  1540. package/src/lib/components/Main.tsx +51 -0
  1541. package/src/lib/components/Markdown.tsx +45 -30
  1542. package/src/lib/components/Mermaid.tsx +68 -0
  1543. package/src/lib/components/Meta.tsx +45 -0
  1544. package/src/lib/components/MobileTopNavigation.tsx +86 -21
  1545. package/src/lib/components/NotFoundPage.tsx +6 -5
  1546. package/src/lib/components/PageProgress.tsx +28 -0
  1547. package/src/lib/components/PagefindSearchMeta.tsx +14 -0
  1548. package/src/lib/components/Pagination.tsx +45 -0
  1549. package/src/lib/components/PathRenderer.tsx +61 -0
  1550. package/src/lib/components/Search.tsx +16 -5
  1551. package/src/lib/components/Slot.test.tsx +465 -0
  1552. package/src/lib/components/Slot.tsx +64 -0
  1553. package/src/lib/components/StatusPage.tsx +96 -0
  1554. package/src/lib/components/ThemeSwitch.tsx +29 -9
  1555. package/src/lib/components/TopNavigation.tsx +89 -67
  1556. package/src/lib/components/Typography.tsx +14 -0
  1557. package/src/lib/components/Zudoku.tsx +29 -21
  1558. package/src/lib/components/cache.ts +27 -0
  1559. package/src/lib/components/context/BypassProtectedRoutesContext.ts +3 -0
  1560. package/src/lib/components/context/ComponentsContext.tsx +2 -2
  1561. package/src/lib/components/context/RouterEventsEmitter.tsx +19 -0
  1562. package/src/lib/components/context/SlotProvider.tsx +149 -0
  1563. package/src/lib/components/context/ViewportAnchorContext.tsx +35 -37
  1564. package/src/lib/components/context/ZudokuContext.ts +81 -26
  1565. package/src/lib/components/context/ZudokuProvider.tsx +3 -2
  1566. package/src/lib/components/index.ts +30 -21
  1567. package/src/lib/components/navigation/Navigation.tsx +50 -0
  1568. package/src/lib/components/navigation/NavigationBadge.tsx +48 -0
  1569. package/src/lib/components/navigation/NavigationCategory.tsx +153 -0
  1570. package/src/lib/components/navigation/NavigationItem.tsx +148 -0
  1571. package/src/lib/components/navigation/NavigationWrapper.tsx +49 -0
  1572. package/src/lib/components/navigation/PoweredByZudoku.tsx +33 -0
  1573. package/src/lib/components/navigation/Toc.tsx +126 -0
  1574. package/src/lib/components/navigation/ZudokuLogo.tsx +25 -0
  1575. package/src/lib/components/navigation/ZuploLogo.tsx +14 -0
  1576. package/src/lib/components/navigation/utils.ts +82 -42
  1577. package/src/lib/core/RouteGuard.tsx +122 -0
  1578. package/src/lib/core/ZudokuContext.ts +155 -34
  1579. package/src/lib/core/__internal.tsx +30 -0
  1580. package/src/lib/core/plugins.ts +40 -9
  1581. package/src/lib/core/router.ts +1 -0
  1582. package/src/lib/errors/ErrorAlert.tsx +17 -19
  1583. package/src/lib/errors/ErrorMessage.tsx +38 -0
  1584. package/src/lib/errors/RouterError.tsx +7 -2
  1585. package/src/lib/errors/TopLevelError.tsx +2 -4
  1586. package/src/lib/hooks/index.ts +16 -0
  1587. package/src/lib/hooks/useEvent.test.tsx +151 -0
  1588. package/src/lib/hooks/useEvent.ts +41 -0
  1589. package/src/lib/hooks/useHotkey.ts +70 -0
  1590. package/src/lib/icons.ts +1 -0
  1591. package/src/lib/oas/graphql/circular.ts +91 -0
  1592. package/src/lib/oas/graphql/index.ts +332 -101
  1593. package/src/lib/oas/parser/dereference/index.ts +12 -5
  1594. package/src/lib/oas/parser/dereference/resolveRef.ts +4 -4
  1595. package/src/lib/oas/parser/index.ts +23 -32
  1596. package/src/lib/oas/parser/upgrade/index.ts +103 -16
  1597. package/src/lib/plugins/api-catalog/Catalog.tsx +57 -100
  1598. package/src/lib/plugins/api-catalog/index.tsx +72 -21
  1599. package/src/lib/plugins/api-keys/CreateApiKey.tsx +77 -47
  1600. package/src/lib/plugins/api-keys/CreateApiKeyDialog.tsx +49 -0
  1601. package/src/lib/plugins/api-keys/ProtectedRoute.tsx +11 -7
  1602. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +45 -166
  1603. package/src/lib/plugins/api-keys/index.tsx +202 -77
  1604. package/src/lib/plugins/api-keys/settings/ApiKeyItem.tsx +342 -0
  1605. package/src/lib/plugins/api-keys/settings/ApiKeyList.tsx +67 -0
  1606. package/src/lib/plugins/api-keys/settings/RevealApiKey.tsx +124 -0
  1607. package/src/lib/plugins/custom-pages/index.tsx +24 -16
  1608. package/src/lib/plugins/markdown/MdxPage.tsx +213 -65
  1609. package/src/lib/plugins/markdown/assets/ChatGPTLogo.tsx +11 -0
  1610. package/src/lib/plugins/markdown/assets/ClaudeLogo.tsx +19 -0
  1611. package/src/lib/plugins/markdown/index.tsx +28 -43
  1612. package/src/lib/plugins/openapi/CollapsibleCode.tsx +19 -11
  1613. package/src/lib/plugins/openapi/ColorizedParam.tsx +32 -13
  1614. package/src/lib/plugins/openapi/DownloadSchemaButton.tsx +115 -0
  1615. package/src/lib/plugins/openapi/Endpoint.tsx +28 -33
  1616. package/src/lib/plugins/openapi/GeneratedExampleSidecarBox.tsx +52 -0
  1617. package/src/lib/plugins/openapi/MCPEndpoint.tsx +273 -0
  1618. package/src/lib/plugins/openapi/OasProvider.tsx +65 -0
  1619. package/src/lib/plugins/openapi/OperationList.tsx +253 -81
  1620. package/src/lib/plugins/openapi/OperationListItem.tsx +146 -119
  1621. package/src/lib/plugins/openapi/ParamInfos.tsx +92 -0
  1622. package/src/lib/plugins/openapi/ParameterList.tsx +43 -27
  1623. package/src/lib/plugins/openapi/ParameterListItem.tsx +133 -41
  1624. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +25 -5
  1625. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +53 -34
  1626. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +108 -68
  1627. package/src/lib/plugins/openapi/SchemaList.tsx +161 -0
  1628. package/src/lib/plugins/openapi/Sidecar.tsx +217 -153
  1629. package/src/lib/plugins/openapi/SidecarBox.tsx +14 -4
  1630. package/src/lib/plugins/openapi/SidecarExamples.tsx +174 -0
  1631. package/src/lib/plugins/openapi/SimpleSelect.tsx +1 -1
  1632. package/src/lib/plugins/openapi/StaggeredRender.tsx +1 -1
  1633. package/src/lib/plugins/openapi/client/GraphQLClient.tsx +29 -121
  1634. package/src/lib/plugins/openapi/client/GraphQLContext.tsx +1 -1
  1635. package/src/lib/plugins/openapi/client/createServer.ts +7 -4
  1636. package/src/lib/plugins/openapi/client/useCreateQuery.ts +34 -9
  1637. package/src/lib/plugins/openapi/components/ConstValue.tsx +24 -0
  1638. package/src/lib/plugins/openapi/components/EnumValues.tsx +58 -0
  1639. package/src/lib/plugins/openapi/components/NonHighlightedCode.tsx +22 -0
  1640. package/src/lib/plugins/openapi/components/ResponseContent.tsx +114 -0
  1641. package/src/lib/plugins/openapi/components/SelectOnClick.tsx +29 -0
  1642. package/src/lib/plugins/openapi/context.tsx +1 -1
  1643. package/src/lib/plugins/openapi/graphql/fragment-masking.ts +1 -1
  1644. package/src/lib/plugins/openapi/graphql/gql.ts +36 -11
  1645. package/src/lib/plugins/openapi/graphql/graphql.ts +197 -40
  1646. package/src/lib/plugins/openapi/index.tsx +160 -125
  1647. package/src/lib/plugins/openapi/interfaces.ts +82 -24
  1648. package/src/lib/plugins/openapi/playground/BodyPanel.tsx +271 -0
  1649. package/src/lib/plugins/openapi/playground/CollapsibleHeader.tsx +51 -0
  1650. package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +60 -0
  1651. package/src/lib/plugins/openapi/playground/Headers.tsx +173 -58
  1652. package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +75 -0
  1653. package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +38 -0
  1654. package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +45 -0
  1655. package/src/lib/plugins/openapi/playground/PathParams.tsx +36 -71
  1656. package/src/lib/plugins/openapi/playground/Playground.tsx +457 -287
  1657. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +23 -29
  1658. package/src/lib/plugins/openapi/playground/QueryParams.tsx +102 -112
  1659. package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +70 -0
  1660. package/src/lib/plugins/openapi/playground/Spinner.tsx +87 -0
  1661. package/src/lib/plugins/openapi/playground/fileUtils.ts +32 -0
  1662. package/src/lib/plugins/openapi/playground/rememberedIdentity.ts +26 -0
  1663. package/src/lib/plugins/openapi/playground/request-panel/MultipartField.tsx +91 -0
  1664. package/src/lib/plugins/openapi/playground/request-panel/UrlPath.tsx +31 -0
  1665. package/src/lib/plugins/openapi/playground/request-panel/UrlQueryParams.tsx +25 -0
  1666. package/src/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.tsx +872 -0
  1667. package/src/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.ts +349 -0
  1668. package/src/lib/plugins/openapi/playground/result-panel/Highlight.tsx +26 -0
  1669. package/src/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.tsx +117 -0
  1670. package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +339 -0
  1671. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +102 -0
  1672. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.test.ts +64 -0
  1673. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +36 -0
  1674. package/src/lib/plugins/openapi/playground/useRememberSkipLoginDialog.tsx +23 -0
  1675. package/src/lib/plugins/openapi/processors/removeExtensions.test.ts +223 -0
  1676. package/src/lib/plugins/openapi/processors/removeExtensions.ts +29 -0
  1677. package/src/lib/plugins/openapi/processors/removeParameters.test.ts +183 -0
  1678. package/src/lib/plugins/openapi/processors/removeParameters.ts +103 -0
  1679. package/src/lib/plugins/openapi/processors/removePaths.test.ts +167 -0
  1680. package/src/lib/plugins/openapi/processors/removePaths.ts +57 -0
  1681. package/src/lib/plugins/openapi/processors/traverse.ts +1 -0
  1682. package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +39 -0
  1683. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +175 -0
  1684. package/src/lib/plugins/openapi/schema/SchemaView.tsx +156 -145
  1685. package/src/lib/plugins/openapi/schema/UnionView.tsx +132 -0
  1686. package/src/lib/plugins/openapi/schema/union-helpers.ts +123 -0
  1687. package/src/lib/plugins/openapi/schema/utils.ts +45 -14
  1688. package/src/lib/plugins/openapi/state.ts +36 -0
  1689. package/src/lib/plugins/openapi/util/createHttpSnippet.ts +135 -0
  1690. package/src/lib/plugins/openapi/util/createNavigationCategory.tsx +39 -0
  1691. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +79 -15
  1692. package/src/lib/plugins/openapi/util/getRoutes.tsx +230 -0
  1693. package/src/lib/plugins/openapi/util/methodColorMap.tsx +11 -0
  1694. package/src/lib/plugins/redirect/index.tsx +1 -1
  1695. package/src/lib/plugins/search-inkeep/index.tsx +54 -58
  1696. package/src/lib/plugins/search-inkeep/inkeep.ts +19 -21
  1697. package/src/lib/plugins/search-pagefind/IndexingDialog.tsx +163 -0
  1698. package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +202 -0
  1699. package/src/lib/plugins/search-pagefind/ResultList.tsx +118 -0
  1700. package/src/lib/plugins/search-pagefind/get-results.tsx +74 -0
  1701. package/src/lib/plugins/search-pagefind/index.tsx +21 -0
  1702. package/src/lib/plugins/search-pagefind/types.ts +118 -0
  1703. package/src/lib/shiki.ts +170 -0
  1704. package/src/lib/ui/ActionButton.tsx +3 -1
  1705. package/src/lib/ui/Alert.tsx +45 -39
  1706. package/src/lib/ui/Badge.tsx +22 -12
  1707. package/src/lib/ui/Breadcrumb.tsx +1 -0
  1708. package/src/lib/ui/Button.tsx +16 -9
  1709. package/src/lib/ui/ButtonGroup.tsx +82 -0
  1710. package/src/lib/ui/Callout.tsx +40 -15
  1711. package/src/lib/ui/Card.tsx +1 -1
  1712. package/src/lib/ui/Checkbox.tsx +23 -23
  1713. package/src/lib/ui/CodeBlock.tsx +79 -0
  1714. package/src/lib/ui/Collapsible.tsx +26 -4
  1715. package/src/lib/ui/Command.tsx +50 -10
  1716. package/src/lib/ui/Dialog.tsx +114 -96
  1717. package/src/lib/ui/DropdownMenu.tsx +226 -170
  1718. package/src/lib/ui/EmbeddedCodeBlock.tsx +99 -0
  1719. package/src/lib/ui/Form.tsx +4 -4
  1720. package/src/lib/ui/Frame.tsx +81 -0
  1721. package/src/lib/ui/HoverCard.tsx +1 -1
  1722. package/src/lib/ui/Input.tsx +2 -3
  1723. package/src/lib/ui/Item.tsx +192 -0
  1724. package/src/lib/ui/Kbd.tsx +28 -0
  1725. package/src/lib/ui/NativeSelect.tsx +47 -0
  1726. package/src/lib/ui/Pagination.tsx +1 -2
  1727. package/src/lib/ui/Popover.tsx +1 -1
  1728. package/src/lib/ui/RadioGroup.tsx +1 -1
  1729. package/src/lib/ui/ReactComponentDoc.tsx +68 -0
  1730. package/src/lib/ui/Secret.tsx +123 -0
  1731. package/src/lib/ui/Select.tsx +153 -126
  1732. package/src/lib/ui/Separator.tsx +25 -0
  1733. package/src/lib/ui/Slider.tsx +1 -1
  1734. package/src/lib/ui/Stepper.tsx +8 -0
  1735. package/src/lib/ui/Switch.tsx +1 -1
  1736. package/src/lib/ui/SyntaxHighlight.tsx +40 -0
  1737. package/src/lib/ui/Tabs.tsx +2 -2
  1738. package/src/lib/ui/Textarea.tsx +1 -1
  1739. package/src/lib/ui/Toggle.tsx +1 -1
  1740. package/src/lib/ui/ToggleGroup.tsx +1 -1
  1741. package/src/lib/ui/Tooltip.tsx +59 -22
  1742. package/src/lib/ui/Value.tsx +42 -0
  1743. package/src/lib/ui/util.tsx +3 -0
  1744. package/src/lib/util/MdxComponents.tsx +59 -19
  1745. package/src/lib/util/cn.ts +1 -1
  1746. package/src/lib/util/createVariantComponent.tsx +33 -7
  1747. package/src/lib/util/detectOS.ts +9 -0
  1748. package/src/lib/util/ensureArray.ts +3 -0
  1749. package/src/lib/util/flattenAllOf.test.ts +689 -0
  1750. package/src/lib/util/flattenAllOf.ts +122 -0
  1751. package/src/lib/util/groupBy.ts +1 -0
  1752. package/src/lib/util/humanFileSize.test.ts +24 -0
  1753. package/src/lib/util/humanFileSize.ts +15 -0
  1754. package/src/lib/util/invariant.ts +10 -6
  1755. package/src/lib/util/joinPath.tsx +3 -0
  1756. package/src/lib/util/joinUrl.test.ts +62 -0
  1757. package/src/lib/util/joinUrl.ts +57 -0
  1758. package/src/lib/util/os.ts +18 -0
  1759. package/src/lib/util/pastellize.ts +4 -4
  1760. package/src/lib/util/readFrontmatter.ts +13 -0
  1761. package/src/lib/util/scrollIntoViewIfNeeded.ts +18 -0
  1762. package/src/lib/util/syncZustandState.ts +22 -0
  1763. package/src/lib/util/traverse.ts +57 -12
  1764. package/src/lib/util/types.ts +7 -0
  1765. package/src/lib/util/url.test.ts +51 -0
  1766. package/src/lib/util/url.ts +18 -0
  1767. package/src/lib/util/useCopyToClipboard.ts +17 -0
  1768. package/src/lib/util/useExposedProps.tsx +12 -1
  1769. package/src/lib/util/useIsomorphicLayoutEffect.ts +1 -0
  1770. package/src/lib/util/useLatest.ts +18 -0
  1771. package/src/lib/util/useOnScreen.ts +6 -4
  1772. package/src/lib/util/useScrollToAnchor.ts +50 -39
  1773. package/src/lib/util/useScrollToTop.ts +8 -3
  1774. package/src/shiki/langs/abap.js +1 -0
  1775. package/src/shiki/langs/actionscript-3.js +1 -0
  1776. package/src/shiki/langs/ada.js +1 -0
  1777. package/src/shiki/langs/angular-expression.js +1 -0
  1778. package/src/shiki/langs/angular-html.js +1 -0
  1779. package/src/shiki/langs/angular-inline-style.js +1 -0
  1780. package/src/shiki/langs/angular-inline-template.js +1 -0
  1781. package/src/shiki/langs/angular-let-declaration.js +1 -0
  1782. package/src/shiki/langs/angular-template-blocks.js +1 -0
  1783. package/src/shiki/langs/angular-template.js +1 -0
  1784. package/src/shiki/langs/angular-ts.js +1 -0
  1785. package/src/shiki/langs/apache.js +1 -0
  1786. package/src/shiki/langs/apex.js +1 -0
  1787. package/src/shiki/langs/apl.js +1 -0
  1788. package/src/shiki/langs/applescript.js +1 -0
  1789. package/src/shiki/langs/ara.js +1 -0
  1790. package/src/shiki/langs/asciidoc.js +1 -0
  1791. package/src/shiki/langs/asm.js +1 -0
  1792. package/src/shiki/langs/astro.js +1 -0
  1793. package/src/shiki/langs/awk.js +1 -0
  1794. package/src/shiki/langs/ballerina.js +1 -0
  1795. package/src/shiki/langs/bat.js +1 -0
  1796. package/src/shiki/langs/beancount.js +1 -0
  1797. package/src/shiki/langs/berry.js +1 -0
  1798. package/src/shiki/langs/bibtex.js +1 -0
  1799. package/src/shiki/langs/bicep.js +1 -0
  1800. package/src/shiki/langs/blade.js +1 -0
  1801. package/src/shiki/langs/bsl.js +1 -0
  1802. package/src/shiki/langs/c.js +1 -0
  1803. package/src/shiki/langs/cadence.js +1 -0
  1804. package/src/shiki/langs/cairo.js +1 -0
  1805. package/src/shiki/langs/clarity.js +1 -0
  1806. package/src/shiki/langs/clojure.js +1 -0
  1807. package/src/shiki/langs/cmake.js +1 -0
  1808. package/src/shiki/langs/cobol.js +1 -0
  1809. package/src/shiki/langs/codeowners.js +1 -0
  1810. package/src/shiki/langs/codeql.js +1 -0
  1811. package/src/shiki/langs/coffee.js +1 -0
  1812. package/src/shiki/langs/common-lisp.js +1 -0
  1813. package/src/shiki/langs/coq.js +1 -0
  1814. package/src/shiki/langs/cpp-macro.js +1 -0
  1815. package/src/shiki/langs/cpp.js +1 -0
  1816. package/src/shiki/langs/crystal.js +1 -0
  1817. package/src/shiki/langs/csharp.js +1 -0
  1818. package/src/shiki/langs/css.js +1 -0
  1819. package/src/shiki/langs/csv.js +1 -0
  1820. package/src/shiki/langs/cue.js +1 -0
  1821. package/src/shiki/langs/cypher.js +1 -0
  1822. package/src/shiki/langs/d.js +1 -0
  1823. package/src/shiki/langs/dart.js +1 -0
  1824. package/src/shiki/langs/dax.js +1 -0
  1825. package/src/shiki/langs/desktop.js +1 -0
  1826. package/src/shiki/langs/diff.js +1 -0
  1827. package/src/shiki/langs/docker.js +1 -0
  1828. package/src/shiki/langs/dotenv.js +1 -0
  1829. package/src/shiki/langs/dream-maker.js +1 -0
  1830. package/src/shiki/langs/edge.js +1 -0
  1831. package/src/shiki/langs/elixir.js +1 -0
  1832. package/src/shiki/langs/elm.js +1 -0
  1833. package/src/shiki/langs/emacs-lisp.js +1 -0
  1834. package/src/shiki/langs/erb.js +1 -0
  1835. package/src/shiki/langs/erlang.js +1 -0
  1836. package/src/shiki/langs/es-tag-css.js +1 -0
  1837. package/src/shiki/langs/es-tag-glsl.js +1 -0
  1838. package/src/shiki/langs/es-tag-html.js +1 -0
  1839. package/src/shiki/langs/es-tag-sql.js +1 -0
  1840. package/src/shiki/langs/es-tag-xml.js +1 -0
  1841. package/src/shiki/langs/fennel.js +1 -0
  1842. package/src/shiki/langs/fish.js +1 -0
  1843. package/src/shiki/langs/fluent.js +1 -0
  1844. package/src/shiki/langs/fortran-fixed-form.js +1 -0
  1845. package/src/shiki/langs/fortran-free-form.js +1 -0
  1846. package/src/shiki/langs/fsharp.js +1 -0
  1847. package/src/shiki/langs/gdresource.js +1 -0
  1848. package/src/shiki/langs/gdscript.js +1 -0
  1849. package/src/shiki/langs/gdshader.js +1 -0
  1850. package/src/shiki/langs/genie.js +1 -0
  1851. package/src/shiki/langs/gherkin.js +1 -0
  1852. package/src/shiki/langs/git-commit.js +1 -0
  1853. package/src/shiki/langs/git-rebase.js +1 -0
  1854. package/src/shiki/langs/gleam.js +1 -0
  1855. package/src/shiki/langs/glimmer-js.js +1 -0
  1856. package/src/shiki/langs/glimmer-ts.js +1 -0
  1857. package/src/shiki/langs/glsl.js +1 -0
  1858. package/src/shiki/langs/gnuplot.js +1 -0
  1859. package/src/shiki/langs/go.js +1 -0
  1860. package/src/shiki/langs/graphql.js +1 -0
  1861. package/src/shiki/langs/groovy.js +1 -0
  1862. package/src/shiki/langs/hack.js +1 -0
  1863. package/src/shiki/langs/haml.js +1 -0
  1864. package/src/shiki/langs/handlebars.js +1 -0
  1865. package/src/shiki/langs/haskell.js +1 -0
  1866. package/src/shiki/langs/haxe.js +1 -0
  1867. package/src/shiki/langs/hcl.js +1 -0
  1868. package/src/shiki/langs/hjson.js +1 -0
  1869. package/src/shiki/langs/hlsl.js +1 -0
  1870. package/src/shiki/langs/html-derivative.js +1 -0
  1871. package/src/shiki/langs/html.js +1 -0
  1872. package/src/shiki/langs/http.js +1 -0
  1873. package/src/shiki/langs/hurl.js +1 -0
  1874. package/src/shiki/langs/hxml.js +1 -0
  1875. package/src/shiki/langs/hy.js +1 -0
  1876. package/src/shiki/langs/imba.js +1 -0
  1877. package/src/shiki/langs/ini.js +1 -0
  1878. package/src/shiki/langs/java.js +1 -0
  1879. package/src/shiki/langs/javascript.js +1 -0
  1880. package/src/shiki/langs/jinja-html.js +1 -0
  1881. package/src/shiki/langs/jinja.js +1 -0
  1882. package/src/shiki/langs/jison.js +1 -0
  1883. package/src/shiki/langs/json.js +1 -0
  1884. package/src/shiki/langs/json5.js +1 -0
  1885. package/src/shiki/langs/jsonc.js +1 -0
  1886. package/src/shiki/langs/jsonl.js +1 -0
  1887. package/src/shiki/langs/jsonnet.js +1 -0
  1888. package/src/shiki/langs/jssm.js +1 -0
  1889. package/src/shiki/langs/jsx.js +1 -0
  1890. package/src/shiki/langs/julia.js +1 -0
  1891. package/src/shiki/langs/kdl.js +1 -0
  1892. package/src/shiki/langs/kotlin.js +1 -0
  1893. package/src/shiki/langs/kusto.js +1 -0
  1894. package/src/shiki/langs/latex.js +1 -0
  1895. package/src/shiki/langs/lean.js +1 -0
  1896. package/src/shiki/langs/less.js +1 -0
  1897. package/src/shiki/langs/liquid.js +1 -0
  1898. package/src/shiki/langs/llvm.js +1 -0
  1899. package/src/shiki/langs/log.js +1 -0
  1900. package/src/shiki/langs/logo.js +1 -0
  1901. package/src/shiki/langs/lua.js +1 -0
  1902. package/src/shiki/langs/luau.js +1 -0
  1903. package/src/shiki/langs/make.js +1 -0
  1904. package/src/shiki/langs/markdown-nix.js +1 -0
  1905. package/src/shiki/langs/markdown-vue.js +1 -0
  1906. package/src/shiki/langs/markdown.js +1 -0
  1907. package/src/shiki/langs/marko.js +1 -0
  1908. package/src/shiki/langs/matlab.js +1 -0
  1909. package/src/shiki/langs/mdc.js +1 -0
  1910. package/src/shiki/langs/mdx.js +1 -0
  1911. package/src/shiki/langs/mermaid.js +1 -0
  1912. package/src/shiki/langs/mipsasm.js +1 -0
  1913. package/src/shiki/langs/mojo.js +1 -0
  1914. package/src/shiki/langs/move.js +1 -0
  1915. package/src/shiki/langs/narrat.js +1 -0
  1916. package/src/shiki/langs/nextflow.js +1 -0
  1917. package/src/shiki/langs/nginx.js +1 -0
  1918. package/src/shiki/langs/nim.js +1 -0
  1919. package/src/shiki/langs/nix.js +1 -0
  1920. package/src/shiki/langs/nushell.js +1 -0
  1921. package/src/shiki/langs/objective-c.js +1 -0
  1922. package/src/shiki/langs/objective-cpp.js +1 -0
  1923. package/src/shiki/langs/ocaml.js +1 -0
  1924. package/src/shiki/langs/openscad.js +1 -0
  1925. package/src/shiki/langs/pascal.js +1 -0
  1926. package/src/shiki/langs/perl.js +1 -0
  1927. package/src/shiki/langs/php.js +1 -0
  1928. package/src/shiki/langs/pkl.js +1 -0
  1929. package/src/shiki/langs/plsql.js +1 -0
  1930. package/src/shiki/langs/po.js +1 -0
  1931. package/src/shiki/langs/polar.js +1 -0
  1932. package/src/shiki/langs/postcss.js +1 -0
  1933. package/src/shiki/langs/powerquery.js +1 -0
  1934. package/src/shiki/langs/powershell.js +1 -0
  1935. package/src/shiki/langs/prisma.js +1 -0
  1936. package/src/shiki/langs/prolog.js +1 -0
  1937. package/src/shiki/langs/proto.js +1 -0
  1938. package/src/shiki/langs/pug.js +1 -0
  1939. package/src/shiki/langs/puppet.js +1 -0
  1940. package/src/shiki/langs/purescript.js +1 -0
  1941. package/src/shiki/langs/python.js +1 -0
  1942. package/src/shiki/langs/qml.js +1 -0
  1943. package/src/shiki/langs/qmldir.js +1 -0
  1944. package/src/shiki/langs/qss.js +1 -0
  1945. package/src/shiki/langs/r.js +1 -0
  1946. package/src/shiki/langs/racket.js +1 -0
  1947. package/src/shiki/langs/raku.js +1 -0
  1948. package/src/shiki/langs/razor.js +1 -0
  1949. package/src/shiki/langs/reg.js +1 -0
  1950. package/src/shiki/langs/regexp.js +1 -0
  1951. package/src/shiki/langs/rel.js +1 -0
  1952. package/src/shiki/langs/riscv.js +1 -0
  1953. package/src/shiki/langs/rosmsg.js +1 -0
  1954. package/src/shiki/langs/rst.js +1 -0
  1955. package/src/shiki/langs/ruby.js +1 -0
  1956. package/src/shiki/langs/rust.js +1 -0
  1957. package/src/shiki/langs/sas.js +1 -0
  1958. package/src/shiki/langs/sass.js +1 -0
  1959. package/src/shiki/langs/scala.js +1 -0
  1960. package/src/shiki/langs/scheme.js +1 -0
  1961. package/src/shiki/langs/scss.js +1 -0
  1962. package/src/shiki/langs/sdbl.js +1 -0
  1963. package/src/shiki/langs/shaderlab.js +1 -0
  1964. package/src/shiki/langs/shellscript.js +1 -0
  1965. package/src/shiki/langs/shellsession.js +1 -0
  1966. package/src/shiki/langs/smalltalk.js +1 -0
  1967. package/src/shiki/langs/solidity.js +1 -0
  1968. package/src/shiki/langs/soy.js +1 -0
  1969. package/src/shiki/langs/sparql.js +1 -0
  1970. package/src/shiki/langs/splunk.js +1 -0
  1971. package/src/shiki/langs/sql.js +1 -0
  1972. package/src/shiki/langs/ssh-config.js +1 -0
  1973. package/src/shiki/langs/stata.js +1 -0
  1974. package/src/shiki/langs/stylus.js +1 -0
  1975. package/src/shiki/langs/svelte.js +1 -0
  1976. package/src/shiki/langs/swift.js +1 -0
  1977. package/src/shiki/langs/system-verilog.js +1 -0
  1978. package/src/shiki/langs/systemd.js +1 -0
  1979. package/src/shiki/langs/talonscript.js +1 -0
  1980. package/src/shiki/langs/tasl.js +1 -0
  1981. package/src/shiki/langs/tcl.js +1 -0
  1982. package/src/shiki/langs/templ.js +1 -0
  1983. package/src/shiki/langs/terraform.js +1 -0
  1984. package/src/shiki/langs/tex.js +1 -0
  1985. package/src/shiki/langs/toml.js +1 -0
  1986. package/src/shiki/langs/ts-tags.js +1 -0
  1987. package/src/shiki/langs/tsv.js +1 -0
  1988. package/src/shiki/langs/tsx.js +1 -0
  1989. package/src/shiki/langs/turtle.js +1 -0
  1990. package/src/shiki/langs/twig.js +1 -0
  1991. package/src/shiki/langs/typescript.js +1 -0
  1992. package/src/shiki/langs/typespec.js +1 -0
  1993. package/src/shiki/langs/typst.js +1 -0
  1994. package/src/shiki/langs/v.js +1 -0
  1995. package/src/shiki/langs/vala.js +1 -0
  1996. package/src/shiki/langs/vb.js +1 -0
  1997. package/src/shiki/langs/verilog.js +1 -0
  1998. package/src/shiki/langs/vhdl.js +1 -0
  1999. package/src/shiki/langs/viml.js +1 -0
  2000. package/src/shiki/langs/vue-directives.js +1 -0
  2001. package/src/shiki/langs/vue-html.js +1 -0
  2002. package/src/shiki/langs/vue-interpolations.js +1 -0
  2003. package/src/shiki/langs/vue-sfc-style-variable-injection.js +1 -0
  2004. package/src/shiki/langs/vue-vine.js +1 -0
  2005. package/src/shiki/langs/vue.js +1 -0
  2006. package/src/shiki/langs/vyper.js +1 -0
  2007. package/src/shiki/langs/wasm.js +1 -0
  2008. package/src/shiki/langs/wenyan.js +1 -0
  2009. package/src/shiki/langs/wgsl.js +1 -0
  2010. package/src/shiki/langs/wikitext.js +1 -0
  2011. package/src/shiki/langs/wit.js +1 -0
  2012. package/src/shiki/langs/wolfram.js +1 -0
  2013. package/src/shiki/langs/xml.js +1 -0
  2014. package/src/shiki/langs/xsl.js +1 -0
  2015. package/src/shiki/langs/yaml.js +1 -0
  2016. package/src/shiki/langs/zenscript.js +1 -0
  2017. package/src/shiki/langs/zig.js +1 -0
  2018. package/src/shiki/themes/andromeeda.js +1 -0
  2019. package/src/shiki/themes/aurora-x.js +1 -0
  2020. package/src/shiki/themes/ayu-dark.js +1 -0
  2021. package/src/shiki/themes/catppuccin-frappe.js +1 -0
  2022. package/src/shiki/themes/catppuccin-latte.js +1 -0
  2023. package/src/shiki/themes/catppuccin-macchiato.js +1 -0
  2024. package/src/shiki/themes/catppuccin-mocha.js +1 -0
  2025. package/src/shiki/themes/dark-plus.js +1 -0
  2026. package/src/shiki/themes/dracula-soft.js +1 -0
  2027. package/src/shiki/themes/dracula.js +1 -0
  2028. package/src/shiki/themes/everforest-dark.js +1 -0
  2029. package/src/shiki/themes/everforest-light.js +1 -0
  2030. package/src/shiki/themes/github-dark-default.js +1 -0
  2031. package/src/shiki/themes/github-dark-dimmed.js +1 -0
  2032. package/src/shiki/themes/github-dark-high-contrast.js +1 -0
  2033. package/src/shiki/themes/github-dark.js +1 -0
  2034. package/src/shiki/themes/github-light-default.js +1 -0
  2035. package/src/shiki/themes/github-light-high-contrast.js +1 -0
  2036. package/src/shiki/themes/github-light.js +1 -0
  2037. package/src/shiki/themes/gruvbox-dark-hard.js +1 -0
  2038. package/src/shiki/themes/gruvbox-dark-medium.js +1 -0
  2039. package/src/shiki/themes/gruvbox-dark-soft.js +1 -0
  2040. package/src/shiki/themes/gruvbox-light-hard.js +1 -0
  2041. package/src/shiki/themes/gruvbox-light-medium.js +1 -0
  2042. package/src/shiki/themes/gruvbox-light-soft.js +1 -0
  2043. package/src/shiki/themes/houston.js +1 -0
  2044. package/src/shiki/themes/kanagawa-dragon.js +1 -0
  2045. package/src/shiki/themes/kanagawa-lotus.js +1 -0
  2046. package/src/shiki/themes/kanagawa-wave.js +1 -0
  2047. package/src/shiki/themes/laserwave.js +1 -0
  2048. package/src/shiki/themes/light-plus.js +1 -0
  2049. package/src/shiki/themes/material-theme-darker.js +1 -0
  2050. package/src/shiki/themes/material-theme-lighter.js +1 -0
  2051. package/src/shiki/themes/material-theme-ocean.js +1 -0
  2052. package/src/shiki/themes/material-theme-palenight.js +1 -0
  2053. package/src/shiki/themes/material-theme.js +1 -0
  2054. package/src/shiki/themes/min-dark.js +1 -0
  2055. package/src/shiki/themes/min-light.js +1 -0
  2056. package/src/shiki/themes/monokai.js +1 -0
  2057. package/src/shiki/themes/night-owl.js +1 -0
  2058. package/src/shiki/themes/nord.js +1 -0
  2059. package/src/shiki/themes/one-dark-pro.js +1 -0
  2060. package/src/shiki/themes/one-light.js +1 -0
  2061. package/src/shiki/themes/plastic.js +1 -0
  2062. package/src/shiki/themes/poimandres.js +1 -0
  2063. package/src/shiki/themes/red.js +1 -0
  2064. package/src/shiki/themes/rose-pine-dawn.js +1 -0
  2065. package/src/shiki/themes/rose-pine-moon.js +1 -0
  2066. package/src/shiki/themes/rose-pine.js +1 -0
  2067. package/src/shiki/themes/slack-dark.js +1 -0
  2068. package/src/shiki/themes/slack-ochin.js +1 -0
  2069. package/src/shiki/themes/snazzy-light.js +1 -0
  2070. package/src/shiki/themes/solarized-dark.js +1 -0
  2071. package/src/shiki/themes/solarized-light.js +1 -0
  2072. package/src/shiki/themes/synthwave-84.js +1 -0
  2073. package/src/shiki/themes/tokyo-night.js +1 -0
  2074. package/src/shiki/themes/vesper.js +1 -0
  2075. package/src/shiki/themes/vitesse-black.js +1 -0
  2076. package/src/shiki/themes/vitesse-dark.js +1 -0
  2077. package/src/shiki/themes/vitesse-light.js +1 -0
  2078. package/dist/app/tailwind.d.ts +0 -4
  2079. package/dist/app/tailwind.js +0 -77
  2080. package/dist/app/tailwind.js.map +0 -1
  2081. package/dist/config/common.d.ts +0 -8
  2082. package/dist/config/common.js +0 -2
  2083. package/dist/config/common.js.map +0 -1
  2084. package/dist/config/validators/InputSidebarSchema.d.ts +0 -202
  2085. package/dist/config/validators/InputSidebarSchema.js +0 -52
  2086. package/dist/config/validators/InputSidebarSchema.js.map +0 -1
  2087. package/dist/config/validators/SidebarSchema.d.ts +0 -46
  2088. package/dist/config/validators/SidebarSchema.js +0 -118
  2089. package/dist/config/validators/SidebarSchema.js.map +0 -1
  2090. package/dist/config/validators/common.d.ts +0 -4945
  2091. package/dist/config/validators/common.js +0 -280
  2092. package/dist/config/validators/common.js.map +0 -1
  2093. package/dist/lib/components/ReactMarkdown.d.ts +0 -29
  2094. package/dist/lib/components/ReactMarkdown.js +0 -182
  2095. package/dist/lib/components/ReactMarkdown.js.map +0 -1
  2096. package/dist/lib/components/SlotletProvider.d.ts +0 -17
  2097. package/dist/lib/components/SlotletProvider.js +0 -18
  2098. package/dist/lib/components/SlotletProvider.js.map +0 -1
  2099. package/dist/lib/components/SyntaxHighlight.d.ts +0 -11
  2100. package/dist/lib/components/SyntaxHighlight.js +0 -53
  2101. package/dist/lib/components/SyntaxHighlight.js.map +0 -1
  2102. package/dist/lib/components/context/PluginSystem.js +0 -2
  2103. package/dist/lib/components/context/PluginSystem.js.map +0 -1
  2104. package/dist/lib/components/navigation/Sidebar.d.ts +0 -3
  2105. package/dist/lib/components/navigation/Sidebar.js +0 -14
  2106. package/dist/lib/components/navigation/Sidebar.js.map +0 -1
  2107. package/dist/lib/components/navigation/SidebarBadge.d.ts +0 -14
  2108. package/dist/lib/components/navigation/SidebarBadge.js +0 -15
  2109. package/dist/lib/components/navigation/SidebarBadge.js.map +0 -1
  2110. package/dist/lib/components/navigation/SidebarCategory.d.ts +0 -5
  2111. package/dist/lib/components/navigation/SidebarCategory.js +0 -49
  2112. package/dist/lib/components/navigation/SidebarCategory.js.map +0 -1
  2113. package/dist/lib/components/navigation/SidebarItem.d.ts +0 -10
  2114. package/dist/lib/components/navigation/SidebarItem.js +0 -43
  2115. package/dist/lib/components/navigation/SidebarItem.js.map +0 -1
  2116. package/dist/lib/components/navigation/SidebarWrapper.d.ts +0 -6
  2117. package/dist/lib/components/navigation/SidebarWrapper.js +0 -6
  2118. package/dist/lib/components/navigation/SidebarWrapper.js.map +0 -1
  2119. package/dist/lib/plugins/custom-pages/CustomPage.d.ts +0 -2
  2120. package/dist/lib/plugins/custom-pages/CustomPage.js +0 -11
  2121. package/dist/lib/plugins/custom-pages/CustomPage.js.map +0 -1
  2122. package/dist/lib/plugins/markdown/Toc.js +0 -48
  2123. package/dist/lib/plugins/markdown/Toc.js.map +0 -1
  2124. package/dist/lib/plugins/markdown/resolver.d.ts +0 -38
  2125. package/dist/lib/plugins/markdown/resolver.js +0 -75
  2126. package/dist/lib/plugins/markdown/resolver.js.map +0 -1
  2127. package/dist/lib/plugins/openapi/Route.d.ts +0 -8
  2128. package/dist/lib/plugins/openapi/Route.js +0 -29
  2129. package/dist/lib/plugins/openapi/Route.js.map +0 -1
  2130. package/dist/lib/plugins/openapi/client/worker.d.ts +0 -4
  2131. package/dist/lib/plugins/openapi/client/worker.js +0 -29
  2132. package/dist/lib/plugins/openapi/client/worker.js.map +0 -1
  2133. package/dist/lib/plugins/openapi/playground/InlineInput.d.ts +0 -4
  2134. package/dist/lib/plugins/openapi/playground/InlineInput.js +0 -3
  2135. package/dist/lib/plugins/openapi/playground/InlineInput.js.map +0 -1
  2136. package/dist/lib/plugins/openapi/playground/ResponseTab.d.ts +0 -4
  2137. package/dist/lib/plugins/openapi/playground/ResponseTab.js +0 -42
  2138. package/dist/lib/plugins/openapi/playground/ResponseTab.js.map +0 -1
  2139. package/dist/lib/plugins/openapi/playground/UrlDisplay.d.ts +0 -4
  2140. package/dist/lib/plugins/openapi/playground/UrlDisplay.js +0 -22
  2141. package/dist/lib/plugins/openapi/playground/UrlDisplay.js.map +0 -1
  2142. package/dist/lib/plugins/openapi/post-processors/removeExtensions.d.ts +0 -6
  2143. package/dist/lib/plugins/openapi/post-processors/removeExtensions.js +0 -14
  2144. package/dist/lib/plugins/openapi/post-processors/removeExtensions.js.map +0 -1
  2145. package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.js +0 -125
  2146. package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.js.map +0 -1
  2147. package/dist/lib/plugins/openapi/post-processors/removePaths.d.ts +0 -11
  2148. package/dist/lib/plugins/openapi/post-processors/removePaths.js +0 -33
  2149. package/dist/lib/plugins/openapi/post-processors/removePaths.js.map +0 -1
  2150. package/dist/lib/plugins/openapi/post-processors/removePaths.test.js +0 -104
  2151. package/dist/lib/plugins/openapi/post-processors/removePaths.test.js.map +0 -1
  2152. package/dist/lib/plugins/openapi/post-processors/traverse.d.ts +0 -1
  2153. package/dist/lib/plugins/openapi/post-processors/traverse.js.map +0 -1
  2154. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +0 -9
  2155. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +0 -14
  2156. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +0 -1
  2157. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +0 -6
  2158. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +0 -17
  2159. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +0 -1
  2160. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.d.ts +0 -7
  2161. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +0 -10
  2162. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +0 -1
  2163. package/dist/lib/plugins/openapi/schema/SchemaComponents.d.ts +0 -13
  2164. package/dist/lib/plugins/openapi/schema/SchemaComponents.js +0 -28
  2165. package/dist/lib/plugins/openapi/schema/SchemaComponents.js.map +0 -1
  2166. package/dist/lib/plugins/openapi-worker.d.ts +0 -1
  2167. package/dist/lib/plugins/openapi-worker.js +0 -8
  2168. package/dist/lib/plugins/openapi-worker.js.map +0 -1
  2169. package/dist/vite/plugin-docs.test.js +0 -22
  2170. package/dist/vite/plugin-docs.test.js.map +0 -1
  2171. package/dist/vite/plugin-sidebar.d.ts +0 -3
  2172. package/dist/vite/plugin-sidebar.js +0 -47
  2173. package/dist/vite/plugin-sidebar.js.map +0 -1
  2174. package/dist/vite/plugin-theme-css.d.ts +0 -6
  2175. package/dist/vite/plugin-theme-css.js +0 -62
  2176. package/dist/vite/plugin-theme-css.js.map +0 -1
  2177. package/dist/vite/prerender.d.ts +0 -22
  2178. package/dist/vite/prerender.js +0 -89
  2179. package/dist/vite/prerender.js.map +0 -1
  2180. package/dist/vite/remarkStaticGeneration.d.ts +0 -3
  2181. package/dist/vite/remarkStaticGeneration.js +0 -125
  2182. package/dist/vite/remarkStaticGeneration.js.map +0 -1
  2183. package/dist/zuplo/env.d.ts +0 -6
  2184. package/dist/zuplo/env.js +0 -9
  2185. package/dist/zuplo/env.js.map +0 -1
  2186. package/lib/AnchorLink-DFZZbmvr.js +0 -34
  2187. package/lib/AnchorLink-DFZZbmvr.js.map +0 -1
  2188. package/lib/AuthenticationPlugin-fB7viE7A.js +0 -58
  2189. package/lib/AuthenticationPlugin-fB7viE7A.js.map +0 -1
  2190. package/lib/Button-DeAoTouo.js +0 -48
  2191. package/lib/Button-DeAoTouo.js.map +0 -1
  2192. package/lib/CategoryHeading-CBconmtI.js +0 -10
  2193. package/lib/CategoryHeading-CBconmtI.js.map +0 -1
  2194. package/lib/Dialog-Bxv1yEIg.js +0 -67
  2195. package/lib/Dialog-Bxv1yEIg.js.map +0 -1
  2196. package/lib/Markdown-CZDLNOFc.js +0 -15202
  2197. package/lib/Markdown-CZDLNOFc.js.map +0 -1
  2198. package/lib/MdxPage-CPBw4_lf.js +0 -188
  2199. package/lib/MdxPage-CPBw4_lf.js.map +0 -1
  2200. package/lib/OperationList-n4U_BHmO.js +0 -5062
  2201. package/lib/OperationList-n4U_BHmO.js.map +0 -1
  2202. package/lib/Route-C8nwd9A2.js +0 -37
  2203. package/lib/Route-C8nwd9A2.js.map +0 -1
  2204. package/lib/Select-D3XuKKuH.js +0 -223
  2205. package/lib/Select-D3XuKKuH.js.map +0 -1
  2206. package/lib/SlotletProvider-pfc9oejW.js +0 -221
  2207. package/lib/SlotletProvider-pfc9oejW.js.map +0 -1
  2208. package/lib/Spinner-DuxJLLNE.js +0 -7
  2209. package/lib/Spinner-DuxJLLNE.js.map +0 -1
  2210. package/lib/StaggeredRender-DgsamH_G.js +0 -17
  2211. package/lib/StaggeredRender-DgsamH_G.js.map +0 -1
  2212. package/lib/SyntaxHighlight-Bz-lOJtH.js +0 -2979
  2213. package/lib/SyntaxHighlight-Bz-lOJtH.js.map +0 -1
  2214. package/lib/__vite-browser-external-BYRIRx8p.js +0 -9
  2215. package/lib/__vite-browser-external-BYRIRx8p.js.map +0 -1
  2216. package/lib/_commonjsHelpers-BkfeUUK-.js +0 -29
  2217. package/lib/_commonjsHelpers-BkfeUUK-.js.map +0 -1
  2218. package/lib/assets/index-C7jnHK4b.js +0 -4841
  2219. package/lib/assets/index-C7jnHK4b.js.map +0 -1
  2220. package/lib/assets/worker-D2kRl-cG.js +0 -18578
  2221. package/lib/assets/worker-D2kRl-cG.js.map +0 -1
  2222. package/lib/chunk-D52XG6IA-Dl7HLe6j.js +0 -1823
  2223. package/lib/chunk-D52XG6IA-Dl7HLe6j.js.map +0 -1
  2224. package/lib/cn-qaFjX9_3.js +0 -2279
  2225. package/lib/cn-qaFjX9_3.js.map +0 -1
  2226. package/lib/context-h_UkBLvr.js +0 -22
  2227. package/lib/context-h_UkBLvr.js.map +0 -1
  2228. package/lib/createServer-69sLlmQA.js +0 -15679
  2229. package/lib/createServer-69sLlmQA.js.map +0 -1
  2230. package/lib/hook-DgGeo5iL.js +0 -227
  2231. package/lib/hook-DgGeo5iL.js.map +0 -1
  2232. package/lib/index-Bn6Lc9tq.js +0 -9
  2233. package/lib/index-Bn6Lc9tq.js.map +0 -1
  2234. package/lib/index-CBXSgjaE.js +0 -4841
  2235. package/lib/index-CBXSgjaE.js.map +0 -1
  2236. package/lib/index-CPNSgwSb.js +0 -36
  2237. package/lib/index-CPNSgwSb.js.map +0 -1
  2238. package/lib/index-DStSNvP-.js +0 -1284
  2239. package/lib/index-DStSNvP-.js.map +0 -1
  2240. package/lib/index-LNp6rxyU.js +0 -2094
  2241. package/lib/index-LNp6rxyU.js.map +0 -1
  2242. package/lib/index.esm-BSV1C092.js +0 -692
  2243. package/lib/index.esm-BSV1C092.js.map +0 -1
  2244. package/lib/index.esm-BnnBRKJX.js +0 -1214
  2245. package/lib/index.esm-BnnBRKJX.js.map +0 -1
  2246. package/lib/invariant-Caa8-XvF.js +0 -26
  2247. package/lib/invariant-Caa8-XvF.js.map +0 -1
  2248. package/lib/jsx-runtime-Dx-03ztt.js +0 -446
  2249. package/lib/jsx-runtime-Dx-03ztt.js.map +0 -1
  2250. package/lib/object_hash-BNWPnMN9.js +0 -787
  2251. package/lib/object_hash-BNWPnMN9.js.map +0 -1
  2252. package/lib/post-processors/removeExtensions.js +0 -11
  2253. package/lib/post-processors/removeExtensions.js.map +0 -1
  2254. package/lib/post-processors/removePaths.js +0 -28
  2255. package/lib/post-processors/removePaths.js.map +0 -1
  2256. package/lib/post-processors/traverse.js +0 -12
  2257. package/lib/post-processors/traverse.js.map +0 -1
  2258. package/lib/prism-bash.min-DadFsM4Z.js +0 -7
  2259. package/lib/prism-bash.min-DadFsM4Z.js.map +0 -1
  2260. package/lib/prism-csharp.min-DUwvItt4.js +0 -63
  2261. package/lib/prism-csharp.min-DUwvItt4.js.map +0 -1
  2262. package/lib/prism-java.min-BtgBR4yd.js +0 -35
  2263. package/lib/prism-java.min-BtgBR4yd.js.map +0 -1
  2264. package/lib/prism-javascript.min-CEqHqgbm.js +0 -9
  2265. package/lib/prism-javascript.min-CEqHqgbm.js.map +0 -1
  2266. package/lib/prism-json.min-B1GJqK1k.js +0 -2
  2267. package/lib/prism-json.min-B1GJqK1k.js.map +0 -1
  2268. package/lib/prism-markdown.min-F3U-vPBi.js +0 -61
  2269. package/lib/prism-markdown.min-F3U-vPBi.js.map +0 -1
  2270. package/lib/prism-markup-BNGj0Tvm.js +0 -174
  2271. package/lib/prism-markup-BNGj0Tvm.js.map +0 -1
  2272. package/lib/prism-objectivec.min-BXSWqpJJ.js +0 -2
  2273. package/lib/prism-objectivec.min-BXSWqpJJ.js.map +0 -1
  2274. package/lib/prism-ruby.min-DeDXCp1r.js +0 -38
  2275. package/lib/prism-ruby.min-DeDXCp1r.js.map +0 -1
  2276. package/lib/prism-typescript.min-CD7H2IYQ.js +0 -34
  2277. package/lib/prism-typescript.min-CD7H2IYQ.js.map +0 -1
  2278. package/lib/state-CFQsUZUP.js +0 -202
  2279. package/lib/state-CFQsUZUP.js.map +0 -1
  2280. package/lib/useExposedProps-DE9lR6MF.js +0 -9
  2281. package/lib/useExposedProps-DE9lR6MF.js.map +0 -1
  2282. package/lib/utils-B4O1uet5.js +0 -1217
  2283. package/lib/utils-B4O1uet5.js.map +0 -1
  2284. package/lib/zudoku.openapi-worker.js +0 -15
  2285. package/lib/zudoku.openapi-worker.js.map +0 -1
  2286. package/src/app/tailwind.ts +0 -83
  2287. package/src/lib/components/ReactMarkdown.license.txt +0 -21
  2288. package/src/lib/components/ReactMarkdown.tsx +0 -264
  2289. package/src/lib/components/SlotletProvider.tsx +0 -55
  2290. package/src/lib/components/SyntaxHighlight.tsx +0 -157
  2291. package/src/lib/components/context/PluginSystem.ts +0 -0
  2292. package/src/lib/components/navigation/Sidebar.tsx +0 -49
  2293. package/src/lib/components/navigation/SidebarBadge.tsx +0 -33
  2294. package/src/lib/components/navigation/SidebarCategory.tsx +0 -138
  2295. package/src/lib/components/navigation/SidebarItem.tsx +0 -124
  2296. package/src/lib/components/navigation/SidebarWrapper.tsx +0 -26
  2297. package/src/lib/plugins/custom-pages/CustomPage.tsx +0 -18
  2298. package/src/lib/plugins/markdown/Toc.tsx +0 -135
  2299. package/src/lib/plugins/markdown/resolver.ts +0 -90
  2300. package/src/lib/plugins/openapi/Route.tsx +0 -55
  2301. package/src/lib/plugins/openapi/client/worker.ts +0 -44
  2302. package/src/lib/plugins/openapi/playground/InlineInput.tsx +0 -6
  2303. package/src/lib/plugins/openapi/playground/ResponseTab.tsx +0 -76
  2304. package/src/lib/plugins/openapi/playground/UrlDisplay.tsx +0 -32
  2305. package/src/lib/plugins/openapi/post-processors/removeExtensions.test.ts +0 -144
  2306. package/src/lib/plugins/openapi/post-processors/removeExtensions.ts +0 -24
  2307. package/src/lib/plugins/openapi/post-processors/removePaths.test.ts +0 -126
  2308. package/src/lib/plugins/openapi/post-processors/removePaths.ts +0 -55
  2309. package/src/lib/plugins/openapi/post-processors/traverse.ts +0 -1
  2310. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +0 -47
  2311. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.tsx +0 -54
  2312. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +0 -30
  2313. package/src/lib/plugins/openapi/schema/SchemaComponents.tsx +0 -126
  2314. package/src/lib/plugins/openapi-worker.ts +0 -11
  2315. /package/dist/{lib/components/context/PluginSystem.d.ts → config/validators/InputNavigationSchema.test-d.d.ts} +0 -0
  2316. /package/dist/{lib/plugins/openapi/post-processors/removeExtensions.test.d.ts → config/validators/validate.test.d.ts} +0 -0
  2317. /package/dist/lib/{plugins/openapi/post-processors/removePaths.test.d.ts → auth/issuer.test.d.ts} +0 -0
  2318. /package/dist/{vite/plugin-docs.test.d.ts → lib/components/Slot.test.d.ts} +0 -0
  2319. /package/dist/lib/{plugins/markdown → components/navigation}/Toc.d.ts +0 -0
  2320. /package/dist/lib/plugins/openapi/{post-processors → processors}/traverse.js +0 -0
@@ -1,2979 +0,0 @@
1
- import { j as I } from "./jsx-runtime-Dx-03ztt.js";
2
- import * as _ from "react";
3
- import { createElement as we, useState as de, useRef as V, useEffect as Ee, useCallback as X, useMemo as xe } from "react";
4
- import { a as ge, c as ne } from "./cn-qaFjX9_3.js";
5
- import { CheckIcon as Se, CopyIcon as Ae } from "lucide-react";
6
- import { C as _e } from "./ClientOnly-E7hGysn1.js";
7
- var Fe = Object.create, W = Object.defineProperty, Te = Object.defineProperties, Re = Object.getOwnPropertyDescriptor, Ie = Object.getOwnPropertyDescriptors, ye = Object.getOwnPropertyNames, Z = Object.getOwnPropertySymbols, Le = Object.getPrototypeOf, J = Object.prototype.hasOwnProperty, fe = Object.prototype.propertyIsEnumerable, re = (e, t, a) => t in e ? W(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a, B = (e, t) => {
8
- for (var a in t || (t = {}))
9
- J.call(t, a) && re(e, a, t[a]);
10
- if (Z)
11
- for (var a of Z(t))
12
- fe.call(t, a) && re(e, a, t[a]);
13
- return e;
14
- }, q = (e, t) => Te(e, Ie(t)), be = (e, t) => {
15
- var a = {};
16
- for (var l in e)
17
- J.call(e, l) && t.indexOf(l) < 0 && (a[l] = e[l]);
18
- if (e != null && Z)
19
- for (var l of Z(e))
20
- t.indexOf(l) < 0 && fe.call(e, l) && (a[l] = e[l]);
21
- return a;
22
- }, Oe = (e, t) => function() {
23
- return t || (0, e[ye(e)[0]])((t = { exports: {} }).exports, t), t.exports;
24
- }, Ce = (e, t) => {
25
- for (var a in t)
26
- W(e, a, { get: t[a], enumerable: !0 });
27
- }, Ne = (e, t, a, l) => {
28
- if (t && typeof t == "object" || typeof t == "function")
29
- for (let p of ye(t))
30
- !J.call(e, p) && p !== a && W(e, p, { get: () => t[p], enumerable: !(l = Re(t, p)) || l.enumerable });
31
- return e;
32
- }, De = (e, t, a) => (a = e != null ? Fe(Le(e)) : {}, Ne(
33
- // If the importer is in node compatibility mode or this is not an ESM
34
- // file that has been converted to a CommonJS file using a Babel-
35
- // compatible transform (i.e. "__esModule" has not been set), then set
36
- // "default" to the CommonJS "module.exports" for node compatibility.
37
- !e || !e.__esModule ? W(a, "default", { value: e, enumerable: !0 }) : a,
38
- e
39
- )), Be = Oe({
40
- "../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e, t) {
41
- var a = function() {
42
- var l = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, p = 0, m = {}, c = {
43
- /**
44
- * A namespace for utility methods.
45
- *
46
- * All function in this namespace that are not explicitly marked as _public_ are for __internal use only__ and may
47
- * change or disappear at any time.
48
- *
49
- * @namespace
50
- * @memberof Prism
51
- */
52
- util: {
53
- encode: function n(r) {
54
- return r instanceof h ? new h(r.type, n(r.content), r.alias) : Array.isArray(r) ? r.map(n) : r.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/\u00a0/g, " ");
55
- },
56
- /**
57
- * Returns the name of the type of the given value.
58
- *
59
- * @param {any} o
60
- * @returns {string}
61
- * @example
62
- * type(null) === 'Null'
63
- * type(undefined) === 'Undefined'
64
- * type(123) === 'Number'
65
- * type('foo') === 'String'
66
- * type(true) === 'Boolean'
67
- * type([1, 2]) === 'Array'
68
- * type({}) === 'Object'
69
- * type(String) === 'Function'
70
- * type(/abc+/) === 'RegExp'
71
- */
72
- type: function(n) {
73
- return Object.prototype.toString.call(n).slice(8, -1);
74
- },
75
- /**
76
- * Returns a unique number for the given object. Later calls will still return the same number.
77
- *
78
- * @param {Object} obj
79
- * @returns {number}
80
- */
81
- objId: function(n) {
82
- return n.__id || Object.defineProperty(n, "__id", { value: ++p }), n.__id;
83
- },
84
- /**
85
- * Creates a deep clone of the given object.
86
- *
87
- * The main intended use of this function is to clone language definitions.
88
- *
89
- * @param {T} o
90
- * @param {Record<number, any>} [visited]
91
- * @returns {T}
92
- * @template T
93
- */
94
- clone: function n(r, s) {
95
- s = s || {};
96
- var d, i;
97
- switch (c.util.type(r)) {
98
- case "Object":
99
- if (i = c.util.objId(r), s[i])
100
- return s[i];
101
- d = /** @type {Record<string, any>} */
102
- {}, s[i] = d;
103
- for (var f in r)
104
- r.hasOwnProperty(f) && (d[f] = n(r[f], s));
105
- return (
106
- /** @type {any} */
107
- d
108
- );
109
- case "Array":
110
- return i = c.util.objId(r), s[i] ? s[i] : (d = [], s[i] = d, r.forEach(function(E, w) {
111
- d[w] = n(E, s);
112
- }), /** @type {any} */
113
- d);
114
- default:
115
- return r;
116
- }
117
- },
118
- /**
119
- * Returns the Prism language of the given element set by a `language-xxxx` or `lang-xxxx` class.
120
- *
121
- * If no language is set for the element or the element is `null` or `undefined`, `none` will be returned.
122
- *
123
- * @param {Element} element
124
- * @returns {string}
125
- */
126
- getLanguage: function(n) {
127
- for (; n; ) {
128
- var r = l.exec(n.className);
129
- if (r)
130
- return r[1].toLowerCase();
131
- n = n.parentElement;
132
- }
133
- return "none";
134
- },
135
- /**
136
- * Sets the Prism `language-xxxx` class of the given element.
137
- *
138
- * @param {Element} element
139
- * @param {string} language
140
- * @returns {void}
141
- */
142
- setLanguage: function(n, r) {
143
- n.className = n.className.replace(RegExp(l, "gi"), ""), n.classList.add("language-" + r);
144
- },
145
- /**
146
- * Returns whether a given class is active for `element`.
147
- *
148
- * The class can be activated if `element` or one of its ancestors has the given class and it can be deactivated
149
- * if `element` or one of its ancestors has the negated version of the given class. The _negated version_ of the
150
- * given class is just the given class with a `no-` prefix.
151
- *
152
- * Whether the class is active is determined by the closest ancestor of `element` (where `element` itself is
153
- * closest ancestor) that has the given class or the negated version of it. If neither `element` nor any of its
154
- * ancestors have the given class or the negated version of it, then the default activation will be returned.
155
- *
156
- * In the paradoxical situation where the closest ancestor contains __both__ the given class and the negated
157
- * version of it, the class is considered active.
158
- *
159
- * @param {Element} element
160
- * @param {string} className
161
- * @param {boolean} [defaultActivation=false]
162
- * @returns {boolean}
163
- */
164
- isActive: function(n, r, s) {
165
- for (var d = "no-" + r; n; ) {
166
- var i = n.classList;
167
- if (i.contains(r))
168
- return !0;
169
- if (i.contains(d))
170
- return !1;
171
- n = n.parentElement;
172
- }
173
- return !!s;
174
- }
175
- },
176
- /**
177
- * This namespace contains all currently loaded languages and the some helper functions to create and modify languages.
178
- *
179
- * @namespace
180
- * @memberof Prism
181
- * @public
182
- */
183
- languages: {
184
- /**
185
- * The grammar for plain, unformatted text.
186
- */
187
- plain: m,
188
- plaintext: m,
189
- text: m,
190
- txt: m,
191
- /**
192
- * Creates a deep copy of the language with the given id and appends the given tokens.
193
- *
194
- * If a token in `redef` also appears in the copied language, then the existing token in the copied language
195
- * will be overwritten at its original position.
196
- *
197
- * ## Best practices
198
- *
199
- * Since the position of overwriting tokens (token in `redef` that overwrite tokens in the copied language)
200
- * doesn't matter, they can technically be in any order. However, this can be confusing to others that trying to
201
- * understand the language definition because, normally, the order of tokens matters in Prism grammars.
202
- *
203
- * Therefore, it is encouraged to order overwriting tokens according to the positions of the overwritten tokens.
204
- * Furthermore, all non-overwriting tokens should be placed after the overwriting ones.
205
- *
206
- * @param {string} id The id of the language to extend. This has to be a key in `Prism.languages`.
207
- * @param {Grammar} redef The new tokens to append.
208
- * @returns {Grammar} The new language created.
209
- * @public
210
- * @example
211
- * Prism.languages['css-with-colors'] = Prism.languages.extend('css', {
212
- * // Prism.languages.css already has a 'comment' token, so this token will overwrite CSS' 'comment' token
213
- * // at its original position
214
- * 'comment': { ... },
215
- * // CSS doesn't have a 'color' token, so this token will be appended
216
- * 'color': /\b(?:red|green|blue)\b/
217
- * });
218
- */
219
- extend: function(n, r) {
220
- var s = c.util.clone(c.languages[n]);
221
- for (var d in r)
222
- s[d] = r[d];
223
- return s;
224
- },
225
- /**
226
- * Inserts tokens _before_ another token in a language definition or any other grammar.
227
- *
228
- * ## Usage
229
- *
230
- * This helper method makes it easy to modify existing languages. For example, the CSS language definition
231
- * not only defines CSS highlighting for CSS documents, but also needs to define highlighting for CSS embedded
232
- * in HTML through `<style>` elements. To do this, it needs to modify `Prism.languages.markup` and add the
233
- * appropriate tokens. However, `Prism.languages.markup` is a regular JavaScript object literal, so if you do
234
- * this:
235
- *
236
- * ```js
237
- * Prism.languages.markup.style = {
238
- * // token
239
- * };
240
- * ```
241
- *
242
- * then the `style` token will be added (and processed) at the end. `insertBefore` allows you to insert tokens
243
- * before existing tokens. For the CSS example above, you would use it like this:
244
- *
245
- * ```js
246
- * Prism.languages.insertBefore('markup', 'cdata', {
247
- * 'style': {
248
- * // token
249
- * }
250
- * });
251
- * ```
252
- *
253
- * ## Special cases
254
- *
255
- * If the grammars of `inside` and `insert` have tokens with the same name, the tokens in `inside`'s grammar
256
- * will be ignored.
257
- *
258
- * This behavior can be used to insert tokens after `before`:
259
- *
260
- * ```js
261
- * Prism.languages.insertBefore('markup', 'comment', {
262
- * 'comment': Prism.languages.markup.comment,
263
- * // tokens after 'comment'
264
- * });
265
- * ```
266
- *
267
- * ## Limitations
268
- *
269
- * The main problem `insertBefore` has to solve is iteration order. Since ES2015, the iteration order for object
270
- * properties is guaranteed to be the insertion order (except for integer keys) but some browsers behave
271
- * differently when keys are deleted and re-inserted. So `insertBefore` can't be implemented by temporarily
272
- * deleting properties which is necessary to insert at arbitrary positions.
273
- *
274
- * To solve this problem, `insertBefore` doesn't actually insert the given tokens into the target object.
275
- * Instead, it will create a new object and replace all references to the target object with the new one. This
276
- * can be done without temporarily deleting properties, so the iteration order is well-defined.
277
- *
278
- * However, only references that can be reached from `Prism.languages` or `insert` will be replaced. I.e. if
279
- * you hold the target object in a variable, then the value of the variable will not change.
280
- *
281
- * ```js
282
- * var oldMarkup = Prism.languages.markup;
283
- * var newMarkup = Prism.languages.insertBefore('markup', 'comment', { ... });
284
- *
285
- * assert(oldMarkup !== Prism.languages.markup);
286
- * assert(newMarkup === Prism.languages.markup);
287
- * ```
288
- *
289
- * @param {string} inside The property of `root` (e.g. a language id in `Prism.languages`) that contains the
290
- * object to be modified.
291
- * @param {string} before The key to insert before.
292
- * @param {Grammar} insert An object containing the key-value pairs to be inserted.
293
- * @param {Object<string, any>} [root] The object containing `inside`, i.e. the object that contains the
294
- * object to be modified.
295
- *
296
- * Defaults to `Prism.languages`.
297
- * @returns {Grammar} The new grammar object.
298
- * @public
299
- */
300
- insertBefore: function(n, r, s, d) {
301
- d = d || /** @type {any} */
302
- c.languages;
303
- var i = d[n], f = {};
304
- for (var E in i)
305
- if (i.hasOwnProperty(E)) {
306
- if (E == r)
307
- for (var w in s)
308
- s.hasOwnProperty(w) && (f[w] = s[w]);
309
- s.hasOwnProperty(E) || (f[E] = i[E]);
310
- }
311
- var x = d[n];
312
- return d[n] = f, c.languages.DFS(c.languages, function(S, F) {
313
- F === x && S != n && (this[S] = f);
314
- }), f;
315
- },
316
- // Traverse a language definition with Depth First Search
317
- DFS: function n(r, s, d, i) {
318
- i = i || {};
319
- var f = c.util.objId;
320
- for (var E in r)
321
- if (r.hasOwnProperty(E)) {
322
- s.call(r, E, r[E], d || E);
323
- var w = r[E], x = c.util.type(w);
324
- x === "Object" && !i[f(w)] ? (i[f(w)] = !0, n(w, s, null, i)) : x === "Array" && !i[f(w)] && (i[f(w)] = !0, n(w, s, E, i));
325
- }
326
- }
327
- },
328
- plugins: {},
329
- /**
330
- * Low-level function, only use if you know what you’re doing. It accepts a string of text as input
331
- * and the language definitions to use, and returns a string with the HTML produced.
332
- *
333
- * The following hooks will be run:
334
- * 1. `before-tokenize`
335
- * 2. `after-tokenize`
336
- * 3. `wrap`: On each {@link Token}.
337
- *
338
- * @param {string} text A string with the code to be highlighted.
339
- * @param {Grammar} grammar An object containing the tokens to use.
340
- *
341
- * Usually a language definition like `Prism.languages.markup`.
342
- * @param {string} language The name of the language definition passed to `grammar`.
343
- * @returns {string} The highlighted HTML.
344
- * @memberof Prism
345
- * @public
346
- * @example
347
- * Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
348
- */
349
- highlight: function(n, r, s) {
350
- var d = {
351
- code: n,
352
- grammar: r,
353
- language: s
354
- };
355
- if (c.hooks.run("before-tokenize", d), !d.grammar)
356
- throw new Error('The language "' + d.language + '" has no grammar.');
357
- return d.tokens = c.tokenize(d.code, d.grammar), c.hooks.run("after-tokenize", d), h.stringify(c.util.encode(d.tokens), d.language);
358
- },
359
- /**
360
- * This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
361
- * and the language definitions to use, and returns an array with the tokenized code.
362
- *
363
- * When the language definition includes nested tokens, the function is called recursively on each of these tokens.
364
- *
365
- * This method could be useful in other contexts as well, as a very crude parser.
366
- *
367
- * @param {string} text A string with the code to be highlighted.
368
- * @param {Grammar} grammar An object containing the tokens to use.
369
- *
370
- * Usually a language definition like `Prism.languages.markup`.
371
- * @returns {TokenStream} An array of strings and tokens, a token stream.
372
- * @memberof Prism
373
- * @public
374
- * @example
375
- * let code = `var foo = 0;`;
376
- * let tokens = Prism.tokenize(code, Prism.languages.javascript);
377
- * tokens.forEach(token => {
378
- * if (token instanceof Prism.Token && token.type === 'number') {
379
- * console.log(`Found numeric literal: ${token.content}`);
380
- * }
381
- * });
382
- */
383
- tokenize: function(n, r) {
384
- var s = r.rest;
385
- if (s) {
386
- for (var d in s)
387
- r[d] = s[d];
388
- delete r.rest;
389
- }
390
- var i = new b();
391
- return y(i, i.head, n), g(n, i, r, i.head, 0), k(i);
392
- },
393
- /**
394
- * @namespace
395
- * @memberof Prism
396
- * @public
397
- */
398
- hooks: {
399
- all: {},
400
- /**
401
- * Adds the given callback to the list of callbacks for the given hook.
402
- *
403
- * The callback will be invoked when the hook it is registered for is run.
404
- * Hooks are usually directly run by a highlight function but you can also run hooks yourself.
405
- *
406
- * One callback function can be registered to multiple hooks and the same hook multiple times.
407
- *
408
- * @param {string} name The name of the hook.
409
- * @param {HookCallback} callback The callback function which is given environment variables.
410
- * @public
411
- */
412
- add: function(n, r) {
413
- var s = c.hooks.all;
414
- s[n] = s[n] || [], s[n].push(r);
415
- },
416
- /**
417
- * Runs a hook invoking all registered callbacks with the given environment variables.
418
- *
419
- * Callbacks will be invoked synchronously and in the order in which they were registered.
420
- *
421
- * @param {string} name The name of the hook.
422
- * @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered.
423
- * @public
424
- */
425
- run: function(n, r) {
426
- var s = c.hooks.all[n];
427
- if (!(!s || !s.length))
428
- for (var d = 0, i; i = s[d++]; )
429
- i(r);
430
- }
431
- },
432
- Token: h
433
- };
434
- function h(n, r, s, d) {
435
- this.type = n, this.content = r, this.alias = s, this.length = (d || "").length | 0;
436
- }
437
- h.stringify = function n(r, s) {
438
- if (typeof r == "string")
439
- return r;
440
- if (Array.isArray(r)) {
441
- var d = "";
442
- return r.forEach(function(x) {
443
- d += n(x, s);
444
- }), d;
445
- }
446
- var i = {
447
- type: r.type,
448
- content: n(r.content, s),
449
- tag: "span",
450
- classes: ["token", r.type],
451
- attributes: {},
452
- language: s
453
- }, f = r.alias;
454
- f && (Array.isArray(f) ? Array.prototype.push.apply(i.classes, f) : i.classes.push(f)), c.hooks.run("wrap", i);
455
- var E = "";
456
- for (var w in i.attributes)
457
- E += " " + w + '="' + (i.attributes[w] || "").replace(/"/g, "&quot;") + '"';
458
- return "<" + i.tag + ' class="' + i.classes.join(" ") + '"' + E + ">" + i.content + "</" + i.tag + ">";
459
- };
460
- function u(n, r, s, d) {
461
- n.lastIndex = r;
462
- var i = n.exec(s);
463
- if (i && d && i[1]) {
464
- var f = i[1].length;
465
- i.index += f, i[0] = i[0].slice(f);
466
- }
467
- return i;
468
- }
469
- function g(n, r, s, d, i, f) {
470
- for (var E in s)
471
- if (!(!s.hasOwnProperty(E) || !s[E])) {
472
- var w = s[E];
473
- w = Array.isArray(w) ? w : [w];
474
- for (var x = 0; x < w.length; ++x) {
475
- if (f && f.cause == E + "," + x)
476
- return;
477
- var S = w[x], F = S.inside, A = !!S.lookbehind, C = !!S.greedy, T = S.alias;
478
- if (C && !S.pattern.global) {
479
- var O = S.pattern.toString().match(/[imsuy]*$/)[0];
480
- S.pattern = RegExp(S.pattern.source, O + "g");
481
- }
482
- for (var te = S.pattern || S, R = d.next, D = i; R !== r.tail && !(f && D >= f.reach); D += R.value.length, R = R.next) {
483
- var P = R.value;
484
- if (r.length > n.length)
485
- return;
486
- if (!(P instanceof h)) {
487
- var z = 1, N;
488
- if (C) {
489
- if (N = u(te, D, n, A), !N || N.index >= n.length)
490
- break;
491
- var M = N.index, ve = N.index + N[0].length, $ = D;
492
- for ($ += R.value.length; M >= $; )
493
- R = R.next, $ += R.value.length;
494
- if ($ -= R.value.length, D = $, R.value instanceof h)
495
- continue;
496
- for (var j = R; j !== r.tail && ($ < ve || typeof j.value == "string"); j = j.next)
497
- z++, $ += j.value.length;
498
- z--, P = n.slice(D, $), N.index -= D;
499
- } else if (N = u(te, 0, P, A), !N)
500
- continue;
501
- var M = N.index, U = N[0], H = P.slice(0, M), ae = P.slice(M + U.length), Y = D + P.length;
502
- f && Y > f.reach && (f.reach = Y);
503
- var G = R.prev;
504
- H && (G = y(r, G, H), D += H.length), v(r, G, z);
505
- var ke = new h(E, F ? c.tokenize(U, F) : U, T, U);
506
- if (R = y(r, G, ke), ae && y(r, R, ae), z > 1) {
507
- var K = {
508
- cause: E + "," + x,
509
- reach: Y
510
- };
511
- g(n, r, s, R.prev, D, K), f && K.reach > f.reach && (f.reach = K.reach);
512
- }
513
- }
514
- }
515
- }
516
- }
517
- }
518
- function b() {
519
- var n = { value: null, prev: null, next: null }, r = { value: null, prev: n, next: null };
520
- n.next = r, this.head = n, this.tail = r, this.length = 0;
521
- }
522
- function y(n, r, s) {
523
- var d = r.next, i = { value: s, prev: r, next: d };
524
- return r.next = i, d.prev = i, n.length++, i;
525
- }
526
- function v(n, r, s) {
527
- for (var d = r.next, i = 0; i < s && d !== n.tail; i++)
528
- d = d.next;
529
- r.next = d, d.prev = r, n.length -= i;
530
- }
531
- function k(n) {
532
- for (var r = [], s = n.head.next; s !== n.tail; )
533
- r.push(s.value), s = s.next;
534
- return r;
535
- }
536
- return c;
537
- }();
538
- t.exports = a, a.default = a;
539
- }
540
- }), o = De(Be());
541
- o.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy: !0 }, prolog: { pattern: /<\?[\s\S]+?\?>/, greedy: !0 }, doctype: { pattern: /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i, greedy: !0, inside: { "internal-subset": { pattern: /(^[^\[]*\[)[\s\S]+(?=\]>$)/, lookbehind: !0, greedy: !0, inside: null }, string: { pattern: /"[^"]*"|'[^']*'/, greedy: !0 }, punctuation: /^<!|>$|[[\]]/, "doctype-tag": /^DOCTYPE/i, name: /[^\s<>'"]+/ } }, cdata: { pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i, greedy: !0 }, tag: { pattern: /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/, greedy: !0, inside: { tag: { pattern: /^<\/?[^\s>\/]+/, inside: { punctuation: /^<\/?/, namespace: /^[^\s>\/:]+:/ } }, "special-attr": [], "attr-value": { pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/, inside: { punctuation: [{ pattern: /^=/, alias: "attr-equals" }, { pattern: /^(\s*)["']|["']$/, lookbehind: !0 }] } }, punctuation: /\/?>/, "attr-name": { pattern: /[^\s>\/]+/, inside: { namespace: /^[^\s>\/:]+:/ } } } }, entity: [{ pattern: /&[\da-z]{1,8};/i, alias: "named-entity" }, /&#x?[\da-f]{1,8};/i] }, o.languages.markup.tag.inside["attr-value"].inside.entity = o.languages.markup.entity, o.languages.markup.doctype.inside["internal-subset"].inside = o.languages.markup, o.hooks.add("wrap", function(e) {
542
- e.type === "entity" && (e.attributes.title = e.content.replace(/&amp;/, "&"));
543
- }), Object.defineProperty(o.languages.markup.tag, "addInlined", { value: function(e, l) {
544
- 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] }, {});
545
- l[e] = { pattern: RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g, function() {
546
- return e;
547
- }), "i"), lookbehind: !0, greedy: !0, inside: a }, o.languages.insertBefore("markup", "cdata", l);
548
- } }), Object.defineProperty(o.languages.markup.tag, "addAttribute", { value: function(e, t) {
549
- o.languages.markup.tag.inside["special-attr"].push({ pattern: RegExp(/(^|["'\s])/.source + "(?:" + e + ")" + /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source, "i"), lookbehind: !0, inside: { "attr-name": /^[^\s=]+/, "attr-value": { pattern: /=[\s\S]+/, inside: { value: { pattern: /(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/, lookbehind: !0, alias: [t, "language-" + t], inside: o.languages[t] }, punctuation: [{ pattern: /^=/, alias: "attr-equals" }, /"|'/] } } } });
550
- } }), o.languages.html = o.languages.markup, o.languages.mathml = o.languages.markup, o.languages.svg = o.languages.markup, o.languages.xml = o.languages.extend("markup", {}), o.languages.ssml = o.languages.xml, o.languages.atom = o.languages.xml, o.languages.rss = o.languages.xml, function(e) {
551
- var t = { pattern: /\\[\\(){}[\]^$+*?|.]/, alias: "escape" }, a = /\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/, l = "(?:[^\\\\-]|" + a.source + ")", l = RegExp(l + "-" + l), p = { pattern: /(<|')[^<>']+(?=[>']$)/, lookbehind: !0, alias: "variable" };
552
- e.languages.regex = { "char-class": { pattern: /((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/, lookbehind: !0, inside: { "char-class-negation": { pattern: /(^\[)\^/, lookbehind: !0, alias: "operator" }, "char-class-punctuation": { pattern: /^\[|\]$/, alias: "punctuation" }, range: { pattern: 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": p } }], anchor: { pattern: /[$^]|\\[ABbGZz]/, alias: "function" }, escape: a, group: [{ pattern: /\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/, alias: "punctuation", inside: { "group-name": p } }, { pattern: /\)/, alias: "punctuation" }], quantifier: { pattern: /(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/, alias: "number" }, alternation: { pattern: /\|/, alias: "keyword" } };
553
- }(o), o.languages.clike = { comment: [{ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, lookbehind: !0, greedy: !0 }, { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }], string: { pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, "class-name": { pattern: /(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i, lookbehind: !0, inside: { punctuation: /[.\\]/ } }, keyword: /\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/, boolean: /\b(?:false|true)\b/, function: /\b\w+(?=\()/, number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i, operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/, punctuation: /[{}[\];(),.:]/ }, o.languages.javascript = o.languages.extend("clike", { "class-name": [o.languages.clike["class-name"], { pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/, lookbehind: !0 }], keyword: [{ pattern: /((?:^|\})\s*)catch\b/, lookbehind: !0 }, { pattern: /(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/, lookbehind: !0 }], function: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/, number: { pattern: RegExp(/(^|[^\w$])/.source + "(?:" + /NaN|Infinity/.source + "|" + /0[bB][01]+(?:_[01]+)*n?/.source + "|" + /0[oO][0-7]+(?:_[0-7]+)*n?/.source + "|" + /0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source + "|" + /\d+(?:_\d+)*n/.source + "|" + /(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source + ")" + /(?![\w$])/.source), lookbehind: !0 }, operator: /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/ }), o.languages.javascript["class-name"][0].pattern = /(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/, o.languages.insertBefore("javascript", "keyword", { regex: { pattern: RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source + /\//.source + "(?:" + /(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source + "|" + /(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source + ")" + /(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source), lookbehind: !0, greedy: !0, inside: { "regex-source": { pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/, lookbehind: !0, alias: "language-regex", inside: o.languages.regex }, "regex-delimiter": /^\/|\/$/, "regex-flags": /^[a-z]+$/ } }, "function-variable": { pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/, alias: "function" }, parameter: [{ pattern: /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/, lookbehind: !0, inside: o.languages.javascript }, { pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i, lookbehind: !0, inside: o.languages.javascript }, { pattern: /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/, lookbehind: !0, inside: o.languages.javascript }, { pattern: /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/, lookbehind: !0, inside: o.languages.javascript }], constant: /\b[A-Z](?:[A-Z_]|\dx?)*\b/ }), o.languages.insertBefore("javascript", "string", { hashbang: { pattern: /^#!.*/, greedy: !0, alias: "comment" }, "template-string": { pattern: /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/, greedy: !0, inside: { "template-punctuation": { pattern: /^`|`$/, alias: "string" }, interpolation: { pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/, lookbehind: !0, inside: { "interpolation-punctuation": { pattern: /^\$\{|\}$/, alias: "punctuation" }, rest: o.languages.javascript } }, string: /[\s\S]+/ } }, "string-property": { pattern: /((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m, lookbehind: !0, greedy: !0, alias: "property" } }), o.languages.insertBefore("javascript", "operator", { "literal-property": { pattern: /((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m, lookbehind: !0, alias: "property" } }), o.languages.markup && (o.languages.markup.tag.addInlined("script", "javascript"), o.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source, "javascript")), o.languages.js = o.languages.javascript, o.languages.actionscript = o.languages.extend("javascript", { keyword: /\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/, operator: /\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/ }), o.languages.actionscript["class-name"].alias = "function", delete o.languages.actionscript.parameter, delete o.languages.actionscript["literal-property"], o.languages.markup && o.languages.insertBefore("actionscript", "string", { xml: { pattern: /(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/, lookbehind: !0, inside: o.languages.markup } }), function(e) {
554
- var t = /#(?!\{).+/, a = { pattern: /#\{[^}]+\}/, alias: "variable" };
555
- e.languages.coffeescript = e.languages.extend("javascript", { comment: t, string: [{ pattern: /'(?:\\[\s\S]|[^\\'])*'/, greedy: !0 }, { pattern: /"(?:\\[\s\S]|[^\\"])*"/, greedy: !0, inside: { interpolation: a } }], keyword: /\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/, "class-member": { pattern: /@(?!\d)\w+/, alias: "variable" } }), e.languages.insertBefore("coffeescript", "comment", { "multiline-comment": { pattern: /###[\s\S]+?###/, alias: "comment" }, "block-regex": { pattern: /\/{3}[\s\S]*?\/{3}/, alias: "regex", inside: { comment: t, interpolation: a } } }), e.languages.insertBefore("coffeescript", "string", { "inline-javascript": { pattern: /`(?:\\[\s\S]|[^\\`])*`/, inside: { delimiter: { pattern: /^`|`$/, alias: "punctuation" }, script: { pattern: /[\s\S]+/, alias: "language-javascript", inside: e.languages.javascript } } }, "multiline-string": [{ pattern: /'''[\s\S]*?'''/, greedy: !0, alias: "string" }, { pattern: /"""[\s\S]*?"""/, greedy: !0, alias: "string", inside: { interpolation: a } }] }), e.languages.insertBefore("coffeescript", "keyword", { property: /(?!\d)\w+(?=\s*:(?!:))/ }), delete e.languages.coffeescript["template-string"], e.languages.coffee = e.languages.coffeescript;
556
- }(o), function(e) {
557
- var t = e.languages.javadoclike = { parameter: { pattern: /(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m, lookbehind: !0 }, keyword: { pattern: /(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m, lookbehind: !0 }, punctuation: /[{}]/ };
558
- Object.defineProperty(t, "addSupport", { value: function(a, l) {
559
- (a = typeof a == "string" ? [a] : a).forEach(function(p) {
560
- var m = function(y) {
561
- y.inside || (y.inside = {}), y.inside.rest = l;
562
- }, c = "doc-comment";
563
- if (h = e.languages[p]) {
564
- var h, u = h[c];
565
- if ((u = u || (h = e.languages.insertBefore(p, "comment", { "doc-comment": { pattern: /(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/, lookbehind: !0, alias: "comment" } }))[c]) instanceof RegExp && (u = h[c] = { pattern: u }), Array.isArray(u))
566
- for (var g = 0, b = u.length; g < b; g++)
567
- u[g] instanceof RegExp && (u[g] = { pattern: u[g] }), m(u[g]);
568
- else
569
- m(u);
570
- }
571
- });
572
- } }), t.addSupport(["java", "javascript", "php"], t);
573
- }(o), function(e) {
574
- 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);
575
- t && (t.tag.addInlined("style", "css"), t.tag.addAttribute("style", "css"));
576
- }(o), function(e) {
577
- var t = /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, t = (e.languages.css.selector = { pattern: e.languages.css.selector.pattern, lookbehind: !0, inside: t = { "pseudo-element": /:(?:after|before|first-letter|first-line|selection)|::[-\w]+/, "pseudo-class": /:[-\w]+/, class: /\.[-\w]+/, id: /#[-\w]+/, attribute: { pattern: RegExp(`\\[(?:[^[\\]"']|` + t.source + ")*\\]"), greedy: !0, inside: { punctuation: /^\[|\]$/, "case-sensitivity": { pattern: /(\s)[si]$/i, lookbehind: !0, alias: "keyword" }, namespace: { pattern: /^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/, lookbehind: !0, inside: { punctuation: /\|$/ } }, "attr-name": { pattern: /^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/, lookbehind: !0 }, "attr-value": [t, { pattern: /(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/, lookbehind: !0 }], operator: /[|~*^$]?=/ } }, "n-th": [{ pattern: /(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/, lookbehind: !0, inside: { number: /[\dn]+/, operator: /[+-]/ } }, { pattern: /(\(\s*)(?:even|odd)(?=\s*\))/i, lookbehind: !0 }], combinator: />|\+|~|\|\|/, punctuation: /[(),]/ } }, e.languages.css.atrule.inside["selector-function-argument"].inside = t, e.languages.insertBefore("css", "property", { variable: { pattern: /(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i, lookbehind: !0 } }), { pattern: /(\b\d+)(?:%|[a-z]+(?![\w-]))/, lookbehind: !0 }), a = { pattern: /(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/, lookbehind: !0 };
578
- e.languages.insertBefore("css", "function", { operator: { pattern: /(\s)[+\-*\/](?=\s)/, lookbehind: !0 }, hexcode: { pattern: /\B#[\da-f]{3,8}\b/i, alias: "color" }, color: [{ pattern: /(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i, lookbehind: !0 }, { pattern: /\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i, inside: { unit: t, number: a, function: /[\w-]+(?=\()/, punctuation: /[(),]/ } }], entity: /\\[\da-f]{1,8}/i, unit: t, number: a });
579
- }(o), function(e) {
580
- var t = /[*&][^\s[\]{},]+/, a = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, l = "(?:" + a.source + "(?:[ ]+" + t.source + ")?|" + t.source + "(?:[ ]+" + a.source + ")?)", p = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g, function() {
581
- return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;
582
- }), m = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
583
- function c(h, u) {
584
- u = (u || "").replace(/m/g, "") + "m";
585
- var g = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() {
586
- return l;
587
- }).replace(/<<value>>/g, function() {
588
- return h;
589
- });
590
- return RegExp(g, u);
591
- }
592
- e.languages.yaml = { scalar: { pattern: RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g, function() {
593
- return l;
594
- })), lookbehind: !0, alias: "string" }, comment: /#.*/, key: { pattern: RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g, function() {
595
- return l;
596
- }).replace(/<<key>>/g, function() {
597
- return "(?:" + p + "|" + m + ")";
598
- })), lookbehind: !0, greedy: !0, alias: "atrule" }, directive: { pattern: /(^[ \t]*)%.+/m, lookbehind: !0, alias: "important" }, datetime: { pattern: c(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source), lookbehind: !0, alias: "number" }, boolean: { pattern: c(/false|true/.source, "i"), lookbehind: !0, alias: "important" }, null: { pattern: c(/null|~/.source, "i"), lookbehind: !0, alias: "important" }, string: { pattern: c(m), lookbehind: !0, greedy: !0 }, number: { pattern: c(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source, "i"), lookbehind: !0 }, tag: a, important: t, punctuation: /---|[:[\]{}\-,|>?]|\.\.\./ }, e.languages.yml = e.languages.yaml;
599
- }(o), function(e) {
600
- var t = /(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;
601
- function a(g) {
602
- return g = g.replace(/<inner>/g, function() {
603
- return t;
604
- }), RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + "(?:" + g + ")");
605
- }
606
- var l = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source, p = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g, function() {
607
- return l;
608
- }), m = /\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source, c = (e.languages.markdown = e.languages.extend("markup", {}), e.languages.insertBefore("markdown", "prolog", { "front-matter-block": { pattern: /(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/, lookbehind: !0, greedy: !0, inside: { punctuation: /^---|---$/, "front-matter": { pattern: /\S+(?:\s+\S+)*/, alias: ["yaml", "language-yaml"], inside: e.languages.yaml } } }, blockquote: { pattern: /^>(?:[\t ]*>)*/m, alias: "punctuation" }, table: { pattern: RegExp("^" + p + m + "(?:" + p + ")*", "m"), inside: { "table-data-rows": { pattern: RegExp("^(" + p + m + ")(?:" + p + ")*$"), lookbehind: !0, inside: { "table-data": { pattern: RegExp(l), inside: e.languages.markdown }, punctuation: /\|/ } }, "table-line": { pattern: RegExp("^(" + p + ")" + m + "$"), lookbehind: !0, inside: { punctuation: /\||:?-{3,}:?/ } }, "table-header-row": { pattern: RegExp("^" + p + "$"), inside: { "table-header": { pattern: RegExp(l), alias: "important", inside: e.languages.markdown }, punctuation: /\|/ } } } }, code: [{ pattern: /((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/, lookbehind: !0, alias: "keyword" }, { pattern: /^```[\s\S]*?^```$/m, greedy: !0, inside: { "code-block": { pattern: /^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m, lookbehind: !0 }, "code-language": { pattern: /^(```).+/, lookbehind: !0 }, punctuation: /```/ } }], title: [{ pattern: /\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m, alias: "important", inside: { punctuation: /==+$|--+$/ } }, { pattern: /(^\s*)#.+/m, lookbehind: !0, alias: "important", inside: { punctuation: /^#+|#+$/ } }], hr: { pattern: /(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m, lookbehind: !0, alias: "punctuation" }, list: { pattern: /(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m, lookbehind: !0, alias: "punctuation" }, "url-reference": { pattern: /!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/, inside: { variable: { pattern: /^(!?\[)[^\]]+/, lookbehind: !0 }, string: /(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/, punctuation: /^[\[\]!:]|[<>]/ }, alias: "url" }, bold: { pattern: a(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source), lookbehind: !0, greedy: !0, inside: { content: { pattern: /(^..)[\s\S]+(?=..$)/, lookbehind: !0, inside: {} }, punctuation: /\*\*|__/ } }, italic: { pattern: a(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source), lookbehind: !0, greedy: !0, inside: { content: { pattern: /(^.)[\s\S]+(?=.$)/, lookbehind: !0, inside: {} }, punctuation: /[*_]/ } }, strike: { pattern: a(/(~~?)(?:(?!~)<inner>)+\2/.source), lookbehind: !0, greedy: !0, inside: { content: { pattern: /(^~~?)[\s\S]+(?=\1$)/, lookbehind: !0, inside: {} }, punctuation: /~~?/ } }, "code-snippet": { pattern: /(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/, lookbehind: !0, greedy: !0, alias: ["code", "keyword"] }, url: { pattern: a(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source), lookbehind: !0, greedy: !0, inside: { operator: /^!/, content: { pattern: /(^\[)[^\]]+(?=\])/, lookbehind: !0, inside: {} }, variable: { pattern: /(^\][ \t]?\[)[^\]]+(?=\]$)/, lookbehind: !0 }, url: { pattern: /(^\]\()[^\s)]+/, lookbehind: !0 }, string: { pattern: /(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/, lookbehind: !0 } } } }), ["url", "bold", "italic", "strike"].forEach(function(g) {
609
- ["url", "bold", "italic", "strike", "code-snippet"].forEach(function(b) {
610
- g !== b && (e.languages.markdown[g].inside.content.inside[b] = e.languages.markdown[b]);
611
- });
612
- }), e.hooks.add("after-tokenize", function(g) {
613
- g.language !== "markdown" && g.language !== "md" || function b(y) {
614
- if (y && typeof y != "string")
615
- for (var v = 0, k = y.length; v < k; v++) {
616
- var n, r = y[v];
617
- r.type !== "code" ? b(r.content) : (n = r.content[1], r = r.content[3], n && r && n.type === "code-language" && r.type === "code-block" && typeof n.content == "string" && (n = n.content.replace(/\b#/g, "sharp").replace(/\b\+\+/g, "pp"), n = "language-" + (n = (/[a-z][\w-]*/i.exec(n) || [""])[0].toLowerCase()), r.alias ? typeof r.alias == "string" ? r.alias = [r.alias, n] : r.alias.push(n) : r.alias = [n]));
618
- }
619
- }(g.tokens);
620
- }), e.hooks.add("wrap", function(g) {
621
- if (g.type === "code-block") {
622
- for (var b = "", y = 0, v = g.classes.length; y < v; y++) {
623
- var k = g.classes[y], k = /language-(.+)/.exec(k);
624
- if (k) {
625
- b = k[1];
626
- break;
627
- }
628
- }
629
- var n, r = e.languages[b];
630
- r ? g.content = e.highlight(function(s) {
631
- return s = s.replace(c, ""), s = s.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(d, i) {
632
- var f;
633
- return (i = i.toLowerCase())[0] === "#" ? (f = i[1] === "x" ? parseInt(i.slice(2), 16) : Number(i.slice(1)), u(f)) : h[i] || d;
634
- });
635
- }(g.content), r, b) : b && b !== "none" && e.plugins.autoloader && (n = "md-" + (/* @__PURE__ */ new Date()).valueOf() + "-" + Math.floor(1e16 * Math.random()), g.attributes.id = n, e.plugins.autoloader.loadLanguages(b, function() {
636
- var s = document.getElementById(n);
637
- s && (s.innerHTML = e.highlight(s.textContent, e.languages[b], b));
638
- }));
639
- }
640
- }), RegExp(e.languages.markup.tag.pattern.source, "gi")), h = { amp: "&", lt: "<", gt: ">", quot: '"' }, u = String.fromCodePoint || String.fromCharCode;
641
- e.languages.md = e.languages.markdown;
642
- }(o), o.languages.graphql = { comment: /#.*/, description: { pattern: /(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i, greedy: !0, alias: "string", inside: { "language-markdown": { pattern: /(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/, lookbehind: !0, inside: o.languages.markdown } } }, string: { pattern: /"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/, greedy: !0 }, number: /(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i, boolean: /\b(?:false|true)\b/, variable: /\$[a-z_]\w*/i, directive: { pattern: /@[a-z_]\w*/i, alias: "function" }, "attr-name": { pattern: /\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i, greedy: !0 }, "atom-input": { pattern: /\b[A-Z]\w*Input\b/, alias: "class-name" }, scalar: /\b(?:Boolean|Float|ID|Int|String)\b/, constant: /\b[A-Z][A-Z_\d]*\b/, "class-name": { pattern: /(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/, lookbehind: !0 }, fragment: { pattern: /(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/, lookbehind: !0, alias: "function" }, "definition-mutation": { pattern: /(\bmutation\s+)[a-zA-Z_]\w*/, lookbehind: !0, alias: "function" }, "definition-query": { pattern: /(\bquery\s+)[a-zA-Z_]\w*/, lookbehind: !0, alias: "function" }, keyword: /\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/, operator: /[!=|&]|\.{3}/, "property-query": /\w+(?=\s*\()/, object: /\w+(?=\s*\{)/, punctuation: /[!(){}\[\]:=,]/, property: /\w+/ }, o.hooks.add("after-tokenize", function(e) {
643
- if (e.language === "graphql")
644
- for (var t = e.tokens.filter(function(n) {
645
- return typeof n != "string" && n.type !== "comment" && n.type !== "scalar";
646
- }), a = 0; a < t.length; ) {
647
- var l = t[a++];
648
- if (l.type === "keyword" && l.content === "mutation") {
649
- var p = [];
650
- if (y(["definition-mutation", "punctuation"]) && b(1).content === "(") {
651
- a += 2;
652
- var m = v(/^\($/, /^\)$/);
653
- if (m === -1)
654
- continue;
655
- for (; a < m; a++) {
656
- var c = b(0);
657
- c.type === "variable" && (k(c, "variable-input"), p.push(c.content));
658
- }
659
- a = m + 1;
660
- }
661
- if (y(["punctuation", "property-query"]) && b(0).content === "{" && (a++, k(b(0), "property-mutation"), 0 < p.length)) {
662
- var h = v(/^\{$/, /^\}$/);
663
- if (h !== -1)
664
- for (var u = a; u < h; u++) {
665
- var g = t[u];
666
- g.type === "variable" && 0 <= p.indexOf(g.content) && k(g, "variable-input");
667
- }
668
- }
669
- }
670
- }
671
- function b(n) {
672
- return t[a + n];
673
- }
674
- function y(n, r) {
675
- r = r || 0;
676
- for (var s = 0; s < n.length; s++) {
677
- var d = b(s + r);
678
- if (!d || d.type !== n[s])
679
- return;
680
- }
681
- return 1;
682
- }
683
- function v(n, r) {
684
- for (var s = 1, d = a; d < t.length; d++) {
685
- var i = t[d], f = i.content;
686
- if (i.type === "punctuation" && typeof f == "string") {
687
- if (n.test(f))
688
- s++;
689
- else if (r.test(f) && --s === 0)
690
- return d;
691
- }
692
- }
693
- return -1;
694
- }
695
- function k(n, r) {
696
- var s = n.alias;
697
- s ? Array.isArray(s) || (n.alias = s = [s]) : n.alias = s = [], s.push(r);
698
- }
699
- }), o.languages.sql = { comment: { pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/, lookbehind: !0 }, variable: [{ pattern: /@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/, greedy: !0 }, /@[\w.$]+/], string: { pattern: /(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/, greedy: !0, lookbehind: !0 }, identifier: { pattern: /(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/, greedy: !0, lookbehind: !0, inside: { punctuation: /^`|`$/ } }, function: /\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i, keyword: /\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i, boolean: /\b(?:FALSE|NULL|TRUE)\b/i, number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i, operator: /[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i, punctuation: /[;[\]()`,.]/ }, function(e) {
700
- var t = e.languages.javascript["template-string"], a = t.pattern.source, l = t.inside.interpolation, p = l.inside["interpolation-punctuation"], m = l.pattern.source;
701
- function c(y, v) {
702
- if (e.languages[y])
703
- return { pattern: RegExp("((?:" + v + ")\\s*)" + a), lookbehind: !0, greedy: !0, inside: { "template-punctuation": { pattern: /^`|`$/, alias: "string" }, "embedded-code": { pattern: /[\s\S]+/, alias: y } } };
704
- }
705
- function h(y, v, k) {
706
- return y = { code: y, grammar: v, language: k }, e.hooks.run("before-tokenize", y), y.tokens = e.tokenize(y.code, y.grammar), e.hooks.run("after-tokenize", y), y.tokens;
707
- }
708
- function u(y, v, k) {
709
- var s = e.tokenize(y, { interpolation: { pattern: RegExp(m), lookbehind: !0 } }), n = 0, r = {}, s = h(s.map(function(i) {
710
- if (typeof i == "string")
711
- return i;
712
- for (var f, E, i = i.content; y.indexOf((E = n++, f = "___" + k.toUpperCase() + "_" + E + "___")) !== -1; )
713
- ;
714
- return r[f] = i, f;
715
- }).join(""), v, k), d = Object.keys(r);
716
- return n = 0, function i(f) {
717
- for (var E = 0; E < f.length; E++) {
718
- if (n >= d.length)
719
- return;
720
- var w, x, S, F, A, C, T, O = f[E];
721
- typeof O == "string" || typeof O.content == "string" ? (w = d[n], (T = (C = typeof O == "string" ? O : O.content).indexOf(w)) !== -1 && (++n, x = C.substring(0, T), A = r[w], S = void 0, (F = {})["interpolation-punctuation"] = p, (F = e.tokenize(A, F)).length === 3 && ((S = [1, 1]).push.apply(S, h(F[1], e.languages.javascript, "javascript")), F.splice.apply(F, S)), S = new e.Token("interpolation", F, l.alias, A), F = C.substring(T + w.length), A = [], x && A.push(x), A.push(S), F && (i(C = [F]), A.push.apply(A, C)), typeof O == "string" ? (f.splice.apply(f, [E, 1].concat(A)), E += A.length - 1) : O.content = A)) : (T = O.content, Array.isArray(T) ? i(T) : i([T]));
722
- }
723
- }(s), new e.Token(k, s, "language-" + k, y);
724
- }
725
- e.languages.javascript["template-string"] = [c("css", /\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source), c("html", /\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source), c("svg", /\bsvg/.source), c("markdown", /\b(?:markdown|md)/.source), c("graphql", /\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source), c("sql", /\bsql/.source), t].filter(Boolean);
726
- var g = { javascript: !0, js: !0, typescript: !0, ts: !0, jsx: !0, tsx: !0 };
727
- function b(y) {
728
- return typeof y == "string" ? y : Array.isArray(y) ? y.map(b).join("") : b(y.content);
729
- }
730
- e.hooks.add("after-tokenize", function(y) {
731
- y.language in g && function v(k) {
732
- for (var n = 0, r = k.length; n < r; n++) {
733
- var s, d, i, f = k[n];
734
- typeof f != "string" && (s = f.content, Array.isArray(s) ? f.type === "template-string" ? (f = s[1], s.length === 3 && typeof f != "string" && f.type === "embedded-code" && (d = b(f), f = f.alias, f = Array.isArray(f) ? f[0] : f, i = e.languages[f]) && (s[1] = u(d, i, f))) : v(s) : typeof s != "string" && v([s]));
735
- }
736
- }(y.tokens);
737
- });
738
- }(o), function(e) {
739
- 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"];
740
- var t = e.languages.extend("typescript", {});
741
- delete t["class-name"], e.languages.typescript["class-name"].inside = t, e.languages.insertBefore("typescript", "function", { decorator: { pattern: /@[$\w\xA0-\uFFFF]+/, inside: { at: { pattern: /^@/, alias: "operator" }, function: /^[\s\S]+/ } }, "generic-function": { pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/, greedy: !0, inside: { function: /^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/, generic: { pattern: /<[\s\S]+/, alias: "class-name", inside: t } } } }), e.languages.ts = e.languages.typescript;
742
- }(o), function(e) {
743
- var t = e.languages.javascript, a = /\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source, l = "(@(?:arg|argument|param|property)\\s+(?:" + a + "\\s+)?)";
744
- e.languages.jsdoc = e.languages.extend("javadoclike", { parameter: { pattern: RegExp(l + /(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source), lookbehind: !0, inside: { punctuation: /\./ } } }), e.languages.insertBefore("jsdoc", "keyword", { "optional-parameter": { pattern: RegExp(l + /\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source), lookbehind: !0, inside: { parameter: { pattern: /(^\[)[$\w\xA0-\uFFFF\.]+/, lookbehind: !0, inside: { punctuation: /\./ } }, code: { pattern: /(=)[\s\S]*(?=\]$)/, lookbehind: !0, inside: t, alias: "language-javascript" }, punctuation: /[=[\]]/ } }, "class-name": [{ pattern: RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g, function() {
745
- return a;
746
- })), lookbehind: !0, inside: { punctuation: /\./ } }, { pattern: RegExp("(@[a-z]+\\s+)" + a), lookbehind: !0, inside: { string: t.string, number: t.number, boolean: t.boolean, keyword: e.languages.typescript.keyword, operator: /=>|\.\.\.|[&|?:*]/, punctuation: /[.,;=<>{}()[\]]/ } }], example: { pattern: /(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/, lookbehind: !0, inside: { code: { pattern: /^([\t ]*(?:\*\s*)?)\S.*$/m, lookbehind: !0, inside: t, alias: "language-javascript" } } } }), e.languages.javadoclike.addSupport("javascript", e.languages.jsdoc);
747
- }(o), function(e) {
748
- e.languages.flow = e.languages.extend("javascript", {}), e.languages.insertBefore("flow", "keyword", { type: [{ pattern: /\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/, alias: "class-name" }] }), e.languages.flow["function-variable"].pattern = /(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i, delete e.languages.flow.parameter, e.languages.insertBefore("flow", "operator", { "flow-punctuation": { pattern: /\{\||\|\}/, alias: "punctuation" } }), Array.isArray(e.languages.flow.keyword) || (e.languages.flow.keyword = [e.languages.flow.keyword]), e.languages.flow.keyword.unshift({ pattern: /(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/, lookbehind: !0 }, { pattern: /(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/, lookbehind: !0 });
749
- }(o), o.languages.n4js = o.languages.extend("javascript", { keyword: /\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/ }), o.languages.insertBefore("n4js", "constant", { annotation: { pattern: /@+\w+/, alias: "operator" } }), o.languages.n4jsd = o.languages.n4js, function(e) {
750
- function t(c, h) {
751
- return RegExp(c.replace(/<ID>/g, function() {
752
- return /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source;
753
- }), h);
754
- }
755
- e.languages.insertBefore("javascript", "function-variable", { "method-variable": { pattern: RegExp("(\\.\\s*)" + e.languages.javascript["function-variable"].pattern.source), lookbehind: !0, alias: ["function-variable", "method", "function", "property-access"] } }), e.languages.insertBefore("javascript", "function", { method: { pattern: RegExp("(\\.\\s*)" + e.languages.javascript.function.source), lookbehind: !0, alias: ["function", "property-access"] } }), e.languages.insertBefore("javascript", "constant", { "known-class-name": [{ pattern: /\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/, alias: "class-name" }, { pattern: /\b(?:[A-Z]\w*)Error\b/, alias: "class-name" }] }), e.languages.insertBefore("javascript", "keyword", { imports: { pattern: t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source), lookbehind: !0, inside: e.languages.javascript }, exports: { pattern: t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source), lookbehind: !0, inside: e.languages.javascript } }), e.languages.javascript.keyword.unshift({ pattern: /\b(?:as|default|export|from|import)\b/, alias: "module" }, { pattern: /\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/, alias: "control-flow" }, { pattern: /\bnull\b/, alias: ["null", "nil"] }, { pattern: /\bundefined\b/, alias: "nil" }), e.languages.insertBefore("javascript", "operator", { spread: { pattern: /\.{3}/, alias: "operator" }, arrow: { pattern: /=>/, alias: "operator" } }), e.languages.insertBefore("javascript", "punctuation", { "property-access": { pattern: t(/(\.\s*)#?<ID>/.source), lookbehind: !0 }, "maybe-class-name": { pattern: /(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/, lookbehind: !0 }, dom: { pattern: /\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/, alias: "variable" }, console: { pattern: /\bconsole(?=\s*\.)/, alias: "class-name" } });
756
- for (var a = ["function", "function-variable", "method", "method-variable", "property-access"], l = 0; l < a.length; l++) {
757
- var m = a[l], p = e.languages.javascript[m], m = (p = e.util.type(p) === "RegExp" ? e.languages.javascript[m] = { pattern: p } : p).inside || {};
758
- (p.inside = m)["maybe-class-name"] = /^[A-Z][\s\S]*/;
759
- }
760
- }(o), function(e) {
761
- var t = e.util.clone(e.languages.javascript), a = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, l = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, p = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
762
- function m(u, g) {
763
- return u = u.replace(/<S>/g, function() {
764
- return a;
765
- }).replace(/<BRACES>/g, function() {
766
- return l;
767
- }).replace(/<SPREAD>/g, function() {
768
- return p;
769
- }), RegExp(u, g);
770
- }
771
- p = m(p).source, e.languages.jsx = e.languages.extend("markup", t), e.languages.jsx.tag.pattern = m(/<\/?(?:[\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: m(/<SPREAD>/.source), inside: e.languages.jsx } }, e.languages.jsx.tag), e.languages.insertBefore("inside", "special-attr", { script: { pattern: m(/=<BRACES>/.source), alias: "language-javascript", inside: { "script-punctuation": { pattern: /^=(?=\{)/, alias: "punctuation" }, rest: e.languages.jsx } } }, e.languages.jsx.tag);
772
- function c(u) {
773
- for (var g = [], b = 0; b < u.length; b++) {
774
- var y = u[b], v = !1;
775
- typeof y != "string" && (y.type === "tag" && y.content[0] && y.content[0].type === "tag" ? y.content[0].content[0].content === "</" ? 0 < g.length && g[g.length - 1].tagName === h(y.content[0].content[1]) && g.pop() : y.content[y.content.length - 1].content !== "/>" && g.push({ tagName: h(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 = h(y), b < u.length - 1 && (typeof u[b + 1] == "string" || u[b + 1].type === "plain-text") && (v += h(u[b + 1]), u.splice(b + 1, 1)), 0 < b && (typeof u[b - 1] == "string" || u[b - 1].type === "plain-text") && (v = h(u[b - 1]) + v, u.splice(b - 1, 1), b--), u[b] = new e.Token("plain-text", v, null, v)), y.content && typeof y.content != "string" && c(y.content);
776
- }
777
- }
778
- var h = function(u) {
779
- return u ? typeof u == "string" ? u : typeof u.content == "string" ? u.content : u.content.map(h).join("") : "";
780
- };
781
- e.hooks.add("after-tokenize", function(u) {
782
- u.language !== "jsx" && u.language !== "tsx" || c(u.tokens);
783
- });
784
- }(o), function(e) {
785
- 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);
786
- t.pattern = RegExp(/(^|[^\w$]|(?=<\/))/.source + "(?:" + t.pattern.source + ")", t.pattern.flags), t.lookbehind = !0;
787
- }(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) {
788
- e.inside.interpolation.inside = o.languages.swift;
789
- }), function(e) {
790
- 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"];
791
- var t = { "interpolation-punctuation": { pattern: /^\$\{?|\}$/, alias: "punctuation" }, expression: { pattern: /[\s\S]+/, inside: e.languages.kotlin } };
792
- 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;
793
- }(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) {
794
- for (var t = /\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source, a = 0; a < 2; a++)
795
- t = t.replace(/<self>/g, function() {
796
- return t;
797
- });
798
- t = t.replace(/<self>/g, function() {
799
- return /[^\s\S]/.source;
800
- }), 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;
801
- }(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) {
802
- 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() {
803
- return t.source;
804
- });
805
- 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() {
806
- return t.source;
807
- })), 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() {
808
- return a;
809
- }) + ")"), 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"]);
810
- }(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;
811
- var Q = {};
812
- Ce(Q, {
813
- dracula: () => Pe,
814
- duotoneDark: () => ze,
815
- duotoneLight: () => Ue,
816
- github: () => Ze,
817
- gruvboxMaterialDark: () => vt,
818
- gruvboxMaterialLight: () => wt,
819
- jettwaveDark: () => pt,
820
- jettwaveLight: () => gt,
821
- nightOwl: () => qe,
822
- nightOwlLight: () => Ye,
823
- oceanicNext: () => Ve,
824
- okaidia: () => Qe,
825
- oneDark: () => ft,
826
- oneLight: () => mt,
827
- palenight: () => et,
828
- shadesOfPurple: () => at,
829
- synthwave84: () => rt,
830
- ultramin: () => st,
831
- vsDark: () => me,
832
- vsLight: () => ut
833
- });
834
- var $e = {
835
- plain: {
836
- color: "#F8F8F2",
837
- backgroundColor: "#282A36"
838
- },
839
- styles: [
840
- {
841
- types: ["prolog", "constant", "builtin"],
842
- style: {
843
- color: "rgb(189, 147, 249)"
844
- }
845
- },
846
- {
847
- types: ["inserted", "function"],
848
- style: {
849
- color: "rgb(80, 250, 123)"
850
- }
851
- },
852
- {
853
- types: ["deleted"],
854
- style: {
855
- color: "rgb(255, 85, 85)"
856
- }
857
- },
858
- {
859
- types: ["changed"],
860
- style: {
861
- color: "rgb(255, 184, 108)"
862
- }
863
- },
864
- {
865
- types: ["punctuation", "symbol"],
866
- style: {
867
- color: "rgb(248, 248, 242)"
868
- }
869
- },
870
- {
871
- types: ["string", "char", "tag", "selector"],
872
- style: {
873
- color: "rgb(255, 121, 198)"
874
- }
875
- },
876
- {
877
- types: ["keyword", "variable"],
878
- style: {
879
- color: "rgb(189, 147, 249)",
880
- fontStyle: "italic"
881
- }
882
- },
883
- {
884
- types: ["comment"],
885
- style: {
886
- color: "rgb(98, 114, 164)"
887
- }
888
- },
889
- {
890
- types: ["attr-name"],
891
- style: {
892
- color: "rgb(241, 250, 140)"
893
- }
894
- }
895
- ]
896
- }, Pe = $e, je = {
897
- plain: {
898
- backgroundColor: "#2a2734",
899
- color: "#9a86fd"
900
- },
901
- styles: [
902
- {
903
- types: ["comment", "prolog", "doctype", "cdata", "punctuation"],
904
- style: {
905
- color: "#6c6783"
906
- }
907
- },
908
- {
909
- types: ["namespace"],
910
- style: {
911
- opacity: 0.7
912
- }
913
- },
914
- {
915
- types: ["tag", "operator", "number"],
916
- style: {
917
- color: "#e09142"
918
- }
919
- },
920
- {
921
- types: ["property", "function"],
922
- style: {
923
- color: "#9a86fd"
924
- }
925
- },
926
- {
927
- types: ["tag-id", "selector", "atrule-id"],
928
- style: {
929
- color: "#eeebff"
930
- }
931
- },
932
- {
933
- types: ["attr-name"],
934
- style: {
935
- color: "#c4b9fe"
936
- }
937
- },
938
- {
939
- types: [
940
- "boolean",
941
- "string",
942
- "entity",
943
- "url",
944
- "attr-value",
945
- "keyword",
946
- "control",
947
- "directive",
948
- "unit",
949
- "statement",
950
- "regex",
951
- "atrule",
952
- "placeholder",
953
- "variable"
954
- ],
955
- style: {
956
- color: "#ffcc99"
957
- }
958
- },
959
- {
960
- types: ["deleted"],
961
- style: {
962
- textDecorationLine: "line-through"
963
- }
964
- },
965
- {
966
- types: ["inserted"],
967
- style: {
968
- textDecorationLine: "underline"
969
- }
970
- },
971
- {
972
- types: ["italic"],
973
- style: {
974
- fontStyle: "italic"
975
- }
976
- },
977
- {
978
- types: ["important", "bold"],
979
- style: {
980
- fontWeight: "bold"
981
- }
982
- },
983
- {
984
- types: ["important"],
985
- style: {
986
- color: "#c4b9fe"
987
- }
988
- }
989
- ]
990
- }, ze = je, Me = {
991
- plain: {
992
- backgroundColor: "#faf8f5",
993
- color: "#728fcb"
994
- },
995
- styles: [
996
- {
997
- types: ["comment", "prolog", "doctype", "cdata", "punctuation"],
998
- style: {
999
- color: "#b6ad9a"
1000
- }
1001
- },
1002
- {
1003
- types: ["namespace"],
1004
- style: {
1005
- opacity: 0.7
1006
- }
1007
- },
1008
- {
1009
- types: ["tag", "operator", "number"],
1010
- style: {
1011
- color: "#063289"
1012
- }
1013
- },
1014
- {
1015
- types: ["property", "function"],
1016
- style: {
1017
- color: "#b29762"
1018
- }
1019
- },
1020
- {
1021
- types: ["tag-id", "selector", "atrule-id"],
1022
- style: {
1023
- color: "#2d2006"
1024
- }
1025
- },
1026
- {
1027
- types: ["attr-name"],
1028
- style: {
1029
- color: "#896724"
1030
- }
1031
- },
1032
- {
1033
- types: [
1034
- "boolean",
1035
- "string",
1036
- "entity",
1037
- "url",
1038
- "attr-value",
1039
- "keyword",
1040
- "control",
1041
- "directive",
1042
- "unit",
1043
- "statement",
1044
- "regex",
1045
- "atrule"
1046
- ],
1047
- style: {
1048
- color: "#728fcb"
1049
- }
1050
- },
1051
- {
1052
- types: ["placeholder", "variable"],
1053
- style: {
1054
- color: "#93abdc"
1055
- }
1056
- },
1057
- {
1058
- types: ["deleted"],
1059
- style: {
1060
- textDecorationLine: "line-through"
1061
- }
1062
- },
1063
- {
1064
- types: ["inserted"],
1065
- style: {
1066
- textDecorationLine: "underline"
1067
- }
1068
- },
1069
- {
1070
- types: ["italic"],
1071
- style: {
1072
- fontStyle: "italic"
1073
- }
1074
- },
1075
- {
1076
- types: ["important", "bold"],
1077
- style: {
1078
- fontWeight: "bold"
1079
- }
1080
- },
1081
- {
1082
- types: ["important"],
1083
- style: {
1084
- color: "#896724"
1085
- }
1086
- }
1087
- ]
1088
- }, Ue = Me, Ge = {
1089
- plain: {
1090
- color: "#393A34",
1091
- backgroundColor: "#f6f8fa"
1092
- },
1093
- styles: [
1094
- {
1095
- types: ["comment", "prolog", "doctype", "cdata"],
1096
- style: {
1097
- color: "#999988",
1098
- fontStyle: "italic"
1099
- }
1100
- },
1101
- {
1102
- types: ["namespace"],
1103
- style: {
1104
- opacity: 0.7
1105
- }
1106
- },
1107
- {
1108
- types: ["string", "attr-value"],
1109
- style: {
1110
- color: "#e3116c"
1111
- }
1112
- },
1113
- {
1114
- types: ["punctuation", "operator"],
1115
- style: {
1116
- color: "#393A34"
1117
- }
1118
- },
1119
- {
1120
- types: [
1121
- "entity",
1122
- "url",
1123
- "symbol",
1124
- "number",
1125
- "boolean",
1126
- "variable",
1127
- "constant",
1128
- "property",
1129
- "regex",
1130
- "inserted"
1131
- ],
1132
- style: {
1133
- color: "#36acaa"
1134
- }
1135
- },
1136
- {
1137
- types: ["atrule", "keyword", "attr-name", "selector"],
1138
- style: {
1139
- color: "#00a4db"
1140
- }
1141
- },
1142
- {
1143
- types: ["function", "deleted", "tag"],
1144
- style: {
1145
- color: "#d73a49"
1146
- }
1147
- },
1148
- {
1149
- types: ["function-variable"],
1150
- style: {
1151
- color: "#6f42c1"
1152
- }
1153
- },
1154
- {
1155
- types: ["tag", "selector", "keyword"],
1156
- style: {
1157
- color: "#00009f"
1158
- }
1159
- }
1160
- ]
1161
- }, Ze = Ge, We = {
1162
- plain: {
1163
- color: "#d6deeb",
1164
- backgroundColor: "#011627"
1165
- },
1166
- styles: [
1167
- {
1168
- types: ["changed"],
1169
- style: {
1170
- color: "rgb(162, 191, 252)",
1171
- fontStyle: "italic"
1172
- }
1173
- },
1174
- {
1175
- types: ["deleted"],
1176
- style: {
1177
- color: "rgba(239, 83, 80, 0.56)",
1178
- fontStyle: "italic"
1179
- }
1180
- },
1181
- {
1182
- types: ["inserted", "attr-name"],
1183
- style: {
1184
- color: "rgb(173, 219, 103)",
1185
- fontStyle: "italic"
1186
- }
1187
- },
1188
- {
1189
- types: ["comment"],
1190
- style: {
1191
- color: "rgb(99, 119, 119)",
1192
- fontStyle: "italic"
1193
- }
1194
- },
1195
- {
1196
- types: ["string", "url"],
1197
- style: {
1198
- color: "rgb(173, 219, 103)"
1199
- }
1200
- },
1201
- {
1202
- types: ["variable"],
1203
- style: {
1204
- color: "rgb(214, 222, 235)"
1205
- }
1206
- },
1207
- {
1208
- types: ["number"],
1209
- style: {
1210
- color: "rgb(247, 140, 108)"
1211
- }
1212
- },
1213
- {
1214
- types: ["builtin", "char", "constant", "function"],
1215
- style: {
1216
- color: "rgb(130, 170, 255)"
1217
- }
1218
- },
1219
- {
1220
- // This was manually added after the auto-generation
1221
- // so that punctuations are not italicised
1222
- types: ["punctuation"],
1223
- style: {
1224
- color: "rgb(199, 146, 234)"
1225
- }
1226
- },
1227
- {
1228
- types: ["selector", "doctype"],
1229
- style: {
1230
- color: "rgb(199, 146, 234)",
1231
- fontStyle: "italic"
1232
- }
1233
- },
1234
- {
1235
- types: ["class-name"],
1236
- style: {
1237
- color: "rgb(255, 203, 139)"
1238
- }
1239
- },
1240
- {
1241
- types: ["tag", "operator", "keyword"],
1242
- style: {
1243
- color: "rgb(127, 219, 202)"
1244
- }
1245
- },
1246
- {
1247
- types: ["boolean"],
1248
- style: {
1249
- color: "rgb(255, 88, 116)"
1250
- }
1251
- },
1252
- {
1253
- types: ["property"],
1254
- style: {
1255
- color: "rgb(128, 203, 196)"
1256
- }
1257
- },
1258
- {
1259
- types: ["namespace"],
1260
- style: {
1261
- color: "rgb(178, 204, 214)"
1262
- }
1263
- }
1264
- ]
1265
- }, qe = We, He = {
1266
- plain: {
1267
- color: "#403f53",
1268
- backgroundColor: "#FBFBFB"
1269
- },
1270
- styles: [
1271
- {
1272
- types: ["changed"],
1273
- style: {
1274
- color: "rgb(162, 191, 252)",
1275
- fontStyle: "italic"
1276
- }
1277
- },
1278
- {
1279
- types: ["deleted"],
1280
- style: {
1281
- color: "rgba(239, 83, 80, 0.56)",
1282
- fontStyle: "italic"
1283
- }
1284
- },
1285
- {
1286
- types: ["inserted", "attr-name"],
1287
- style: {
1288
- color: "rgb(72, 118, 214)",
1289
- fontStyle: "italic"
1290
- }
1291
- },
1292
- {
1293
- types: ["comment"],
1294
- style: {
1295
- color: "rgb(152, 159, 177)",
1296
- fontStyle: "italic"
1297
- }
1298
- },
1299
- {
1300
- types: ["string", "builtin", "char", "constant", "url"],
1301
- style: {
1302
- color: "rgb(72, 118, 214)"
1303
- }
1304
- },
1305
- {
1306
- types: ["variable"],
1307
- style: {
1308
- color: "rgb(201, 103, 101)"
1309
- }
1310
- },
1311
- {
1312
- types: ["number"],
1313
- style: {
1314
- color: "rgb(170, 9, 130)"
1315
- }
1316
- },
1317
- {
1318
- // This was manually added after the auto-generation
1319
- // so that punctuations are not italicised
1320
- types: ["punctuation"],
1321
- style: {
1322
- color: "rgb(153, 76, 195)"
1323
- }
1324
- },
1325
- {
1326
- types: ["function", "selector", "doctype"],
1327
- style: {
1328
- color: "rgb(153, 76, 195)",
1329
- fontStyle: "italic"
1330
- }
1331
- },
1332
- {
1333
- types: ["class-name"],
1334
- style: {
1335
- color: "rgb(17, 17, 17)"
1336
- }
1337
- },
1338
- {
1339
- types: ["tag"],
1340
- style: {
1341
- color: "rgb(153, 76, 195)"
1342
- }
1343
- },
1344
- {
1345
- types: ["operator", "property", "keyword", "namespace"],
1346
- style: {
1347
- color: "rgb(12, 150, 155)"
1348
- }
1349
- },
1350
- {
1351
- types: ["boolean"],
1352
- style: {
1353
- color: "rgb(188, 84, 84)"
1354
- }
1355
- }
1356
- ]
1357
- }, Ye = He, L = {
1358
- char: "#D8DEE9",
1359
- comment: "#999999",
1360
- keyword: "#c5a5c5",
1361
- primitive: "#5a9bcf",
1362
- string: "#8dc891",
1363
- variable: "#d7deea",
1364
- boolean: "#ff8b50",
1365
- punctuation: "#5FB3B3",
1366
- tag: "#fc929e",
1367
- function: "#79b6f2",
1368
- className: "#FAC863",
1369
- method: "#6699CC",
1370
- operator: "#fc929e"
1371
- }, Ke = {
1372
- plain: {
1373
- backgroundColor: "#282c34",
1374
- color: "#ffffff"
1375
- },
1376
- styles: [
1377
- {
1378
- types: ["attr-name"],
1379
- style: {
1380
- color: L.keyword
1381
- }
1382
- },
1383
- {
1384
- types: ["attr-value"],
1385
- style: {
1386
- color: L.string
1387
- }
1388
- },
1389
- {
1390
- types: [
1391
- "comment",
1392
- "block-comment",
1393
- "prolog",
1394
- "doctype",
1395
- "cdata",
1396
- "shebang"
1397
- ],
1398
- style: {
1399
- color: L.comment
1400
- }
1401
- },
1402
- {
1403
- types: [
1404
- "property",
1405
- "number",
1406
- "function-name",
1407
- "constant",
1408
- "symbol",
1409
- "deleted"
1410
- ],
1411
- style: {
1412
- color: L.primitive
1413
- }
1414
- },
1415
- {
1416
- types: ["boolean"],
1417
- style: {
1418
- color: L.boolean
1419
- }
1420
- },
1421
- {
1422
- types: ["tag"],
1423
- style: {
1424
- color: L.tag
1425
- }
1426
- },
1427
- {
1428
- types: ["string"],
1429
- style: {
1430
- color: L.string
1431
- }
1432
- },
1433
- {
1434
- types: ["punctuation"],
1435
- style: {
1436
- color: L.string
1437
- }
1438
- },
1439
- {
1440
- types: ["selector", "char", "builtin", "inserted"],
1441
- style: {
1442
- color: L.char
1443
- }
1444
- },
1445
- {
1446
- types: ["function"],
1447
- style: {
1448
- color: L.function
1449
- }
1450
- },
1451
- {
1452
- types: ["operator", "entity", "url", "variable"],
1453
- style: {
1454
- color: L.variable
1455
- }
1456
- },
1457
- {
1458
- types: ["keyword"],
1459
- style: {
1460
- color: L.keyword
1461
- }
1462
- },
1463
- {
1464
- types: ["atrule", "class-name"],
1465
- style: {
1466
- color: L.className
1467
- }
1468
- },
1469
- {
1470
- types: ["important"],
1471
- style: {
1472
- fontWeight: "400"
1473
- }
1474
- },
1475
- {
1476
- types: ["bold"],
1477
- style: {
1478
- fontWeight: "bold"
1479
- }
1480
- },
1481
- {
1482
- types: ["italic"],
1483
- style: {
1484
- fontStyle: "italic"
1485
- }
1486
- },
1487
- {
1488
- types: ["namespace"],
1489
- style: {
1490
- opacity: 0.7
1491
- }
1492
- }
1493
- ]
1494
- }, Ve = Ke, Xe = {
1495
- plain: {
1496
- color: "#f8f8f2",
1497
- backgroundColor: "#272822"
1498
- },
1499
- styles: [
1500
- {
1501
- types: ["changed"],
1502
- style: {
1503
- color: "rgb(162, 191, 252)",
1504
- fontStyle: "italic"
1505
- }
1506
- },
1507
- {
1508
- types: ["deleted"],
1509
- style: {
1510
- color: "#f92672",
1511
- fontStyle: "italic"
1512
- }
1513
- },
1514
- {
1515
- types: ["inserted"],
1516
- style: {
1517
- color: "rgb(173, 219, 103)",
1518
- fontStyle: "italic"
1519
- }
1520
- },
1521
- {
1522
- types: ["comment"],
1523
- style: {
1524
- color: "#8292a2",
1525
- fontStyle: "italic"
1526
- }
1527
- },
1528
- {
1529
- types: ["string", "url"],
1530
- style: {
1531
- color: "#a6e22e"
1532
- }
1533
- },
1534
- {
1535
- types: ["variable"],
1536
- style: {
1537
- color: "#f8f8f2"
1538
- }
1539
- },
1540
- {
1541
- types: ["number"],
1542
- style: {
1543
- color: "#ae81ff"
1544
- }
1545
- },
1546
- {
1547
- types: ["builtin", "char", "constant", "function", "class-name"],
1548
- style: {
1549
- color: "#e6db74"
1550
- }
1551
- },
1552
- {
1553
- types: ["punctuation"],
1554
- style: {
1555
- color: "#f8f8f2"
1556
- }
1557
- },
1558
- {
1559
- types: ["selector", "doctype"],
1560
- style: {
1561
- color: "#a6e22e",
1562
- fontStyle: "italic"
1563
- }
1564
- },
1565
- {
1566
- types: ["tag", "operator", "keyword"],
1567
- style: {
1568
- color: "#66d9ef"
1569
- }
1570
- },
1571
- {
1572
- types: ["boolean"],
1573
- style: {
1574
- color: "#ae81ff"
1575
- }
1576
- },
1577
- {
1578
- types: ["namespace"],
1579
- style: {
1580
- color: "rgb(178, 204, 214)",
1581
- opacity: 0.7
1582
- }
1583
- },
1584
- {
1585
- types: ["tag", "property"],
1586
- style: {
1587
- color: "#f92672"
1588
- }
1589
- },
1590
- {
1591
- types: ["attr-name"],
1592
- style: {
1593
- color: "#a6e22e !important"
1594
- }
1595
- },
1596
- {
1597
- types: ["doctype"],
1598
- style: {
1599
- color: "#8292a2"
1600
- }
1601
- },
1602
- {
1603
- types: ["rule"],
1604
- style: {
1605
- color: "#e6db74"
1606
- }
1607
- }
1608
- ]
1609
- }, Qe = Xe, Je = {
1610
- plain: {
1611
- color: "#bfc7d5",
1612
- backgroundColor: "#292d3e"
1613
- },
1614
- styles: [
1615
- {
1616
- types: ["comment"],
1617
- style: {
1618
- color: "rgb(105, 112, 152)",
1619
- fontStyle: "italic"
1620
- }
1621
- },
1622
- {
1623
- types: ["string", "inserted"],
1624
- style: {
1625
- color: "rgb(195, 232, 141)"
1626
- }
1627
- },
1628
- {
1629
- types: ["number"],
1630
- style: {
1631
- color: "rgb(247, 140, 108)"
1632
- }
1633
- },
1634
- {
1635
- types: ["builtin", "char", "constant", "function"],
1636
- style: {
1637
- color: "rgb(130, 170, 255)"
1638
- }
1639
- },
1640
- {
1641
- types: ["punctuation", "selector"],
1642
- style: {
1643
- color: "rgb(199, 146, 234)"
1644
- }
1645
- },
1646
- {
1647
- types: ["variable"],
1648
- style: {
1649
- color: "rgb(191, 199, 213)"
1650
- }
1651
- },
1652
- {
1653
- types: ["class-name", "attr-name"],
1654
- style: {
1655
- color: "rgb(255, 203, 107)"
1656
- }
1657
- },
1658
- {
1659
- types: ["tag", "deleted"],
1660
- style: {
1661
- color: "rgb(255, 85, 114)"
1662
- }
1663
- },
1664
- {
1665
- types: ["operator"],
1666
- style: {
1667
- color: "rgb(137, 221, 255)"
1668
- }
1669
- },
1670
- {
1671
- types: ["boolean"],
1672
- style: {
1673
- color: "rgb(255, 88, 116)"
1674
- }
1675
- },
1676
- {
1677
- types: ["keyword"],
1678
- style: {
1679
- fontStyle: "italic"
1680
- }
1681
- },
1682
- {
1683
- types: ["doctype"],
1684
- style: {
1685
- color: "rgb(199, 146, 234)",
1686
- fontStyle: "italic"
1687
- }
1688
- },
1689
- {
1690
- types: ["namespace"],
1691
- style: {
1692
- color: "rgb(178, 204, 214)"
1693
- }
1694
- },
1695
- {
1696
- types: ["url"],
1697
- style: {
1698
- color: "rgb(221, 221, 221)"
1699
- }
1700
- }
1701
- ]
1702
- }, et = Je, tt = {
1703
- plain: {
1704
- color: "#9EFEFF",
1705
- backgroundColor: "#2D2A55"
1706
- },
1707
- styles: [
1708
- {
1709
- types: ["changed"],
1710
- style: {
1711
- color: "rgb(255, 238, 128)"
1712
- }
1713
- },
1714
- {
1715
- types: ["deleted"],
1716
- style: {
1717
- color: "rgba(239, 83, 80, 0.56)"
1718
- }
1719
- },
1720
- {
1721
- types: ["inserted"],
1722
- style: {
1723
- color: "rgb(173, 219, 103)"
1724
- }
1725
- },
1726
- {
1727
- types: ["comment"],
1728
- style: {
1729
- color: "rgb(179, 98, 255)",
1730
- fontStyle: "italic"
1731
- }
1732
- },
1733
- {
1734
- types: ["punctuation"],
1735
- style: {
1736
- color: "rgb(255, 255, 255)"
1737
- }
1738
- },
1739
- {
1740
- types: ["constant"],
1741
- style: {
1742
- color: "rgb(255, 98, 140)"
1743
- }
1744
- },
1745
- {
1746
- types: ["string", "url"],
1747
- style: {
1748
- color: "rgb(165, 255, 144)"
1749
- }
1750
- },
1751
- {
1752
- types: ["variable"],
1753
- style: {
1754
- color: "rgb(255, 238, 128)"
1755
- }
1756
- },
1757
- {
1758
- types: ["number", "boolean"],
1759
- style: {
1760
- color: "rgb(255, 98, 140)"
1761
- }
1762
- },
1763
- {
1764
- types: ["attr-name"],
1765
- style: {
1766
- color: "rgb(255, 180, 84)"
1767
- }
1768
- },
1769
- {
1770
- types: [
1771
- "keyword",
1772
- "operator",
1773
- "property",
1774
- "namespace",
1775
- "tag",
1776
- "selector",
1777
- "doctype"
1778
- ],
1779
- style: {
1780
- color: "rgb(255, 157, 0)"
1781
- }
1782
- },
1783
- {
1784
- types: ["builtin", "char", "constant", "function", "class-name"],
1785
- style: {
1786
- color: "rgb(250, 208, 0)"
1787
- }
1788
- }
1789
- ]
1790
- }, at = tt, nt = {
1791
- plain: {
1792
- backgroundColor: "linear-gradient(to bottom, #2a2139 75%, #34294f)",
1793
- backgroundImage: "#34294f",
1794
- color: "#f92aad",
1795
- textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"
1796
- },
1797
- styles: [
1798
- {
1799
- types: ["comment", "block-comment", "prolog", "doctype", "cdata"],
1800
- style: {
1801
- color: "#495495",
1802
- fontStyle: "italic"
1803
- }
1804
- },
1805
- {
1806
- types: ["punctuation"],
1807
- style: {
1808
- color: "#ccc"
1809
- }
1810
- },
1811
- {
1812
- types: [
1813
- "tag",
1814
- "attr-name",
1815
- "namespace",
1816
- "number",
1817
- "unit",
1818
- "hexcode",
1819
- "deleted"
1820
- ],
1821
- style: {
1822
- color: "#e2777a"
1823
- }
1824
- },
1825
- {
1826
- types: ["property", "selector"],
1827
- style: {
1828
- color: "#72f1b8",
1829
- textShadow: "0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"
1830
- }
1831
- },
1832
- {
1833
- types: ["function-name"],
1834
- style: {
1835
- color: "#6196cc"
1836
- }
1837
- },
1838
- {
1839
- types: ["boolean", "selector-id", "function"],
1840
- style: {
1841
- color: "#fdfdfd",
1842
- textShadow: "0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"
1843
- }
1844
- },
1845
- {
1846
- types: ["class-name", "maybe-class-name", "builtin"],
1847
- style: {
1848
- color: "#fff5f6",
1849
- textShadow: "0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"
1850
- }
1851
- },
1852
- {
1853
- types: ["constant", "symbol"],
1854
- style: {
1855
- color: "#f92aad",
1856
- textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"
1857
- }
1858
- },
1859
- {
1860
- types: ["important", "atrule", "keyword", "selector-class"],
1861
- style: {
1862
- color: "#f4eee4",
1863
- textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"
1864
- }
1865
- },
1866
- {
1867
- types: ["string", "char", "attr-value", "regex", "variable"],
1868
- style: {
1869
- color: "#f87c32"
1870
- }
1871
- },
1872
- {
1873
- types: ["parameter"],
1874
- style: {
1875
- fontStyle: "italic"
1876
- }
1877
- },
1878
- {
1879
- types: ["entity", "url"],
1880
- style: {
1881
- color: "#67cdcc"
1882
- }
1883
- },
1884
- {
1885
- types: ["operator"],
1886
- style: {
1887
- color: "ffffffee"
1888
- }
1889
- },
1890
- {
1891
- types: ["important", "bold"],
1892
- style: {
1893
- fontWeight: "bold"
1894
- }
1895
- },
1896
- {
1897
- types: ["italic"],
1898
- style: {
1899
- fontStyle: "italic"
1900
- }
1901
- },
1902
- {
1903
- types: ["entity"],
1904
- style: {
1905
- cursor: "help"
1906
- }
1907
- },
1908
- {
1909
- types: ["inserted"],
1910
- style: {
1911
- color: "green"
1912
- }
1913
- }
1914
- ]
1915
- }, rt = nt, ot = {
1916
- plain: {
1917
- color: "#282a2e",
1918
- backgroundColor: "#ffffff"
1919
- },
1920
- styles: [
1921
- {
1922
- types: ["comment"],
1923
- style: {
1924
- color: "rgb(197, 200, 198)"
1925
- }
1926
- },
1927
- {
1928
- types: ["string", "number", "builtin", "variable"],
1929
- style: {
1930
- color: "rgb(150, 152, 150)"
1931
- }
1932
- },
1933
- {
1934
- types: ["class-name", "function", "tag", "attr-name"],
1935
- style: {
1936
- color: "rgb(40, 42, 46)"
1937
- }
1938
- }
1939
- ]
1940
- }, st = ot, lt = {
1941
- plain: {
1942
- color: "#9CDCFE",
1943
- backgroundColor: "#1E1E1E"
1944
- },
1945
- styles: [
1946
- {
1947
- types: ["prolog"],
1948
- style: {
1949
- color: "rgb(0, 0, 128)"
1950
- }
1951
- },
1952
- {
1953
- types: ["comment"],
1954
- style: {
1955
- color: "rgb(106, 153, 85)"
1956
- }
1957
- },
1958
- {
1959
- types: ["builtin", "changed", "keyword", "interpolation-punctuation"],
1960
- style: {
1961
- color: "rgb(86, 156, 214)"
1962
- }
1963
- },
1964
- {
1965
- types: ["number", "inserted"],
1966
- style: {
1967
- color: "rgb(181, 206, 168)"
1968
- }
1969
- },
1970
- {
1971
- types: ["constant"],
1972
- style: {
1973
- color: "rgb(100, 102, 149)"
1974
- }
1975
- },
1976
- {
1977
- types: ["attr-name", "variable"],
1978
- style: {
1979
- color: "rgb(156, 220, 254)"
1980
- }
1981
- },
1982
- {
1983
- types: ["deleted", "string", "attr-value", "template-punctuation"],
1984
- style: {
1985
- color: "rgb(206, 145, 120)"
1986
- }
1987
- },
1988
- {
1989
- types: ["selector"],
1990
- style: {
1991
- color: "rgb(215, 186, 125)"
1992
- }
1993
- },
1994
- {
1995
- // Fix tag color
1996
- types: ["tag"],
1997
- style: {
1998
- color: "rgb(78, 201, 176)"
1999
- }
2000
- },
2001
- {
2002
- // Fix tag color for HTML
2003
- types: ["tag"],
2004
- languages: ["markup"],
2005
- style: {
2006
- color: "rgb(86, 156, 214)"
2007
- }
2008
- },
2009
- {
2010
- types: ["punctuation", "operator"],
2011
- style: {
2012
- color: "rgb(212, 212, 212)"
2013
- }
2014
- },
2015
- {
2016
- // Fix punctuation color for HTML
2017
- types: ["punctuation"],
2018
- languages: ["markup"],
2019
- style: {
2020
- color: "#808080"
2021
- }
2022
- },
2023
- {
2024
- types: ["function"],
2025
- style: {
2026
- color: "rgb(220, 220, 170)"
2027
- }
2028
- },
2029
- {
2030
- types: ["class-name"],
2031
- style: {
2032
- color: "rgb(78, 201, 176)"
2033
- }
2034
- },
2035
- {
2036
- types: ["char"],
2037
- style: {
2038
- color: "rgb(209, 105, 105)"
2039
- }
2040
- }
2041
- ]
2042
- }, me = lt, it = {
2043
- plain: {
2044
- color: "#000000",
2045
- backgroundColor: "#ffffff"
2046
- },
2047
- styles: [
2048
- {
2049
- types: ["comment"],
2050
- style: {
2051
- color: "rgb(0, 128, 0)"
2052
- }
2053
- },
2054
- {
2055
- types: ["builtin"],
2056
- style: {
2057
- color: "rgb(0, 112, 193)"
2058
- }
2059
- },
2060
- {
2061
- types: ["number", "variable", "inserted"],
2062
- style: {
2063
- color: "rgb(9, 134, 88)"
2064
- }
2065
- },
2066
- {
2067
- types: ["operator"],
2068
- style: {
2069
- color: "rgb(0, 0, 0)"
2070
- }
2071
- },
2072
- {
2073
- types: ["constant", "char"],
2074
- style: {
2075
- color: "rgb(129, 31, 63)"
2076
- }
2077
- },
2078
- {
2079
- types: ["tag"],
2080
- style: {
2081
- color: "rgb(128, 0, 0)"
2082
- }
2083
- },
2084
- {
2085
- types: ["attr-name"],
2086
- style: {
2087
- color: "rgb(255, 0, 0)"
2088
- }
2089
- },
2090
- {
2091
- types: ["deleted", "string"],
2092
- style: {
2093
- color: "rgb(163, 21, 21)"
2094
- }
2095
- },
2096
- {
2097
- types: ["changed", "punctuation"],
2098
- style: {
2099
- color: "rgb(4, 81, 165)"
2100
- }
2101
- },
2102
- {
2103
- types: ["function", "keyword"],
2104
- style: {
2105
- color: "rgb(0, 0, 255)"
2106
- }
2107
- },
2108
- {
2109
- types: ["class-name"],
2110
- style: {
2111
- color: "rgb(38, 127, 153)"
2112
- }
2113
- }
2114
- ]
2115
- }, ut = it, ct = {
2116
- plain: {
2117
- color: "#f8fafc",
2118
- backgroundColor: "#011627"
2119
- },
2120
- styles: [
2121
- {
2122
- types: ["prolog"],
2123
- style: {
2124
- color: "#000080"
2125
- }
2126
- },
2127
- {
2128
- types: ["comment"],
2129
- style: {
2130
- color: "#6A9955"
2131
- }
2132
- },
2133
- {
2134
- types: ["builtin", "changed", "keyword", "interpolation-punctuation"],
2135
- style: {
2136
- color: "#569CD6"
2137
- }
2138
- },
2139
- {
2140
- types: ["number", "inserted"],
2141
- style: {
2142
- color: "#B5CEA8"
2143
- }
2144
- },
2145
- {
2146
- types: ["constant"],
2147
- style: {
2148
- color: "#f8fafc"
2149
- }
2150
- },
2151
- {
2152
- types: ["attr-name", "variable"],
2153
- style: {
2154
- color: "#9CDCFE"
2155
- }
2156
- },
2157
- {
2158
- types: ["deleted", "string", "attr-value", "template-punctuation"],
2159
- style: {
2160
- color: "#cbd5e1"
2161
- }
2162
- },
2163
- {
2164
- types: ["selector"],
2165
- style: {
2166
- color: "#D7BA7D"
2167
- }
2168
- },
2169
- {
2170
- types: ["tag"],
2171
- style: {
2172
- color: "#0ea5e9"
2173
- }
2174
- },
2175
- {
2176
- types: ["tag"],
2177
- languages: ["markup"],
2178
- style: {
2179
- color: "#0ea5e9"
2180
- }
2181
- },
2182
- {
2183
- types: ["punctuation", "operator"],
2184
- style: {
2185
- color: "#D4D4D4"
2186
- }
2187
- },
2188
- {
2189
- types: ["punctuation"],
2190
- languages: ["markup"],
2191
- style: {
2192
- color: "#808080"
2193
- }
2194
- },
2195
- {
2196
- types: ["function"],
2197
- style: {
2198
- color: "#7dd3fc"
2199
- }
2200
- },
2201
- {
2202
- types: ["class-name"],
2203
- style: {
2204
- color: "#0ea5e9"
2205
- }
2206
- },
2207
- {
2208
- types: ["char"],
2209
- style: {
2210
- color: "#D16969"
2211
- }
2212
- }
2213
- ]
2214
- }, pt = ct, dt = {
2215
- plain: {
2216
- color: "#0f172a",
2217
- backgroundColor: "#f1f5f9"
2218
- },
2219
- styles: [
2220
- {
2221
- types: ["prolog"],
2222
- style: {
2223
- color: "#000080"
2224
- }
2225
- },
2226
- {
2227
- types: ["comment"],
2228
- style: {
2229
- color: "#6A9955"
2230
- }
2231
- },
2232
- {
2233
- types: ["builtin", "changed", "keyword", "interpolation-punctuation"],
2234
- style: {
2235
- color: "#0c4a6e"
2236
- }
2237
- },
2238
- {
2239
- types: ["number", "inserted"],
2240
- style: {
2241
- color: "#B5CEA8"
2242
- }
2243
- },
2244
- {
2245
- types: ["constant"],
2246
- style: {
2247
- color: "#0f172a"
2248
- }
2249
- },
2250
- {
2251
- types: ["attr-name", "variable"],
2252
- style: {
2253
- color: "#0c4a6e"
2254
- }
2255
- },
2256
- {
2257
- types: ["deleted", "string", "attr-value", "template-punctuation"],
2258
- style: {
2259
- color: "#64748b"
2260
- }
2261
- },
2262
- {
2263
- types: ["selector"],
2264
- style: {
2265
- color: "#D7BA7D"
2266
- }
2267
- },
2268
- {
2269
- types: ["tag"],
2270
- style: {
2271
- color: "#0ea5e9"
2272
- }
2273
- },
2274
- {
2275
- types: ["tag"],
2276
- languages: ["markup"],
2277
- style: {
2278
- color: "#0ea5e9"
2279
- }
2280
- },
2281
- {
2282
- types: ["punctuation", "operator"],
2283
- style: {
2284
- color: "#475569"
2285
- }
2286
- },
2287
- {
2288
- types: ["punctuation"],
2289
- languages: ["markup"],
2290
- style: {
2291
- color: "#808080"
2292
- }
2293
- },
2294
- {
2295
- types: ["function"],
2296
- style: {
2297
- color: "#0e7490"
2298
- }
2299
- },
2300
- {
2301
- types: ["class-name"],
2302
- style: {
2303
- color: "#0ea5e9"
2304
- }
2305
- },
2306
- {
2307
- types: ["char"],
2308
- style: {
2309
- color: "#D16969"
2310
- }
2311
- }
2312
- ]
2313
- }, gt = dt, yt = {
2314
- plain: {
2315
- backgroundColor: "hsl(220, 13%, 18%)",
2316
- color: "hsl(220, 14%, 71%)",
2317
- textShadow: "0 1px rgba(0, 0, 0, 0.3)"
2318
- },
2319
- styles: [
2320
- {
2321
- types: ["comment", "prolog", "cdata"],
2322
- style: {
2323
- color: "hsl(220, 10%, 40%)"
2324
- }
2325
- },
2326
- {
2327
- types: ["doctype", "punctuation", "entity"],
2328
- style: {
2329
- color: "hsl(220, 14%, 71%)"
2330
- }
2331
- },
2332
- {
2333
- types: [
2334
- "attr-name",
2335
- "class-name",
2336
- "maybe-class-name",
2337
- "boolean",
2338
- "constant",
2339
- "number",
2340
- "atrule"
2341
- ],
2342
- style: { color: "hsl(29, 54%, 61%)" }
2343
- },
2344
- {
2345
- types: ["keyword"],
2346
- style: { color: "hsl(286, 60%, 67%)" }
2347
- },
2348
- {
2349
- types: ["property", "tag", "symbol", "deleted", "important"],
2350
- style: {
2351
- color: "hsl(355, 65%, 65%)"
2352
- }
2353
- },
2354
- {
2355
- types: [
2356
- "selector",
2357
- "string",
2358
- "char",
2359
- "builtin",
2360
- "inserted",
2361
- "regex",
2362
- "attr-value"
2363
- ],
2364
- style: {
2365
- color: "hsl(95, 38%, 62%)"
2366
- }
2367
- },
2368
- {
2369
- types: ["variable", "operator", "function"],
2370
- style: {
2371
- color: "hsl(207, 82%, 66%)"
2372
- }
2373
- },
2374
- {
2375
- types: ["url"],
2376
- style: {
2377
- color: "hsl(187, 47%, 55%)"
2378
- }
2379
- },
2380
- {
2381
- types: ["deleted"],
2382
- style: {
2383
- textDecorationLine: "line-through"
2384
- }
2385
- },
2386
- {
2387
- types: ["inserted"],
2388
- style: {
2389
- textDecorationLine: "underline"
2390
- }
2391
- },
2392
- {
2393
- types: ["italic"],
2394
- style: {
2395
- fontStyle: "italic"
2396
- }
2397
- },
2398
- {
2399
- types: ["important", "bold"],
2400
- style: {
2401
- fontWeight: "bold"
2402
- }
2403
- },
2404
- {
2405
- types: ["important"],
2406
- style: {
2407
- color: "hsl(220, 14%, 71%)"
2408
- }
2409
- }
2410
- ]
2411
- }, ft = yt, bt = {
2412
- plain: {
2413
- backgroundColor: "hsl(230, 1%, 98%)",
2414
- color: "hsl(230, 8%, 24%)"
2415
- },
2416
- styles: [
2417
- {
2418
- types: ["comment", "prolog", "cdata"],
2419
- style: {
2420
- color: "hsl(230, 4%, 64%)"
2421
- }
2422
- },
2423
- {
2424
- types: ["doctype", "punctuation", "entity"],
2425
- style: {
2426
- color: "hsl(230, 8%, 24%)"
2427
- }
2428
- },
2429
- {
2430
- types: [
2431
- "attr-name",
2432
- "class-name",
2433
- "boolean",
2434
- "constant",
2435
- "number",
2436
- "atrule"
2437
- ],
2438
- style: {
2439
- color: "hsl(35, 99%, 36%)"
2440
- }
2441
- },
2442
- {
2443
- types: ["keyword"],
2444
- style: {
2445
- color: "hsl(301, 63%, 40%)"
2446
- }
2447
- },
2448
- {
2449
- types: ["property", "tag", "symbol", "deleted", "important"],
2450
- style: {
2451
- color: "hsl(5, 74%, 59%)"
2452
- }
2453
- },
2454
- {
2455
- types: [
2456
- "selector",
2457
- "string",
2458
- "char",
2459
- "builtin",
2460
- "inserted",
2461
- "regex",
2462
- "attr-value",
2463
- "punctuation"
2464
- ],
2465
- style: {
2466
- color: "hsl(119, 34%, 47%)"
2467
- }
2468
- },
2469
- {
2470
- types: ["variable", "operator", "function"],
2471
- style: {
2472
- color: "hsl(221, 87%, 60%)"
2473
- }
2474
- },
2475
- {
2476
- types: ["url"],
2477
- style: {
2478
- color: "hsl(198, 99%, 37%)"
2479
- }
2480
- },
2481
- {
2482
- types: ["deleted"],
2483
- style: {
2484
- textDecorationLine: "line-through"
2485
- }
2486
- },
2487
- {
2488
- types: ["inserted"],
2489
- style: {
2490
- textDecorationLine: "underline"
2491
- }
2492
- },
2493
- {
2494
- types: ["italic"],
2495
- style: {
2496
- fontStyle: "italic"
2497
- }
2498
- },
2499
- {
2500
- types: ["important", "bold"],
2501
- style: {
2502
- fontWeight: "bold"
2503
- }
2504
- },
2505
- {
2506
- types: ["important"],
2507
- style: {
2508
- color: "hsl(230, 8%, 24%)"
2509
- }
2510
- }
2511
- ]
2512
- }, mt = bt, ht = {
2513
- plain: {
2514
- color: "#ebdbb2",
2515
- backgroundColor: "#292828"
2516
- },
2517
- styles: [
2518
- {
2519
- types: [
2520
- "imports",
2521
- "class-name",
2522
- "maybe-class-name",
2523
- "constant",
2524
- "doctype",
2525
- "builtin",
2526
- "function"
2527
- ],
2528
- style: {
2529
- color: "#d8a657"
2530
- }
2531
- },
2532
- {
2533
- types: ["property-access"],
2534
- style: {
2535
- color: "#7daea3"
2536
- }
2537
- },
2538
- {
2539
- types: ["tag"],
2540
- style: {
2541
- color: "#e78a4e"
2542
- }
2543
- },
2544
- {
2545
- types: ["attr-name", "char", "url", "regex"],
2546
- style: {
2547
- color: "#a9b665"
2548
- }
2549
- },
2550
- {
2551
- types: ["attr-value", "string"],
2552
- style: {
2553
- color: "#89b482"
2554
- }
2555
- },
2556
- {
2557
- types: ["comment", "prolog", "cdata", "operator", "inserted"],
2558
- style: {
2559
- color: "#a89984"
2560
- }
2561
- },
2562
- {
2563
- types: [
2564
- "delimiter",
2565
- "boolean",
2566
- "keyword",
2567
- "selector",
2568
- "important",
2569
- "atrule",
2570
- "property",
2571
- "variable",
2572
- "deleted"
2573
- ],
2574
- style: {
2575
- color: "#ea6962"
2576
- }
2577
- },
2578
- {
2579
- types: ["entity", "number", "symbol"],
2580
- style: {
2581
- color: "#d3869b"
2582
- }
2583
- }
2584
- ]
2585
- }, vt = ht, kt = {
2586
- plain: {
2587
- color: "#654735",
2588
- backgroundColor: "#f9f5d7"
2589
- },
2590
- styles: [
2591
- {
2592
- types: [
2593
- "delimiter",
2594
- "boolean",
2595
- "keyword",
2596
- "selector",
2597
- "important",
2598
- "atrule",
2599
- "property",
2600
- "variable",
2601
- "deleted"
2602
- ],
2603
- style: {
2604
- color: "#af2528"
2605
- }
2606
- },
2607
- {
2608
- types: [
2609
- "imports",
2610
- "class-name",
2611
- "maybe-class-name",
2612
- "constant",
2613
- "doctype",
2614
- "builtin"
2615
- ],
2616
- style: {
2617
- color: "#b4730e"
2618
- }
2619
- },
2620
- {
2621
- types: ["string", "attr-value"],
2622
- style: {
2623
- color: "#477a5b"
2624
- }
2625
- },
2626
- {
2627
- types: ["property-access"],
2628
- style: {
2629
- color: "#266b79"
2630
- }
2631
- },
2632
- {
2633
- types: ["function", "attr-name", "char", "url"],
2634
- style: {
2635
- color: "#72761e"
2636
- }
2637
- },
2638
- {
2639
- types: ["tag"],
2640
- style: {
2641
- color: "#b94c07"
2642
- }
2643
- },
2644
- {
2645
- types: ["comment", "prolog", "cdata", "operator", "inserted"],
2646
- style: {
2647
- color: "#a89984"
2648
- }
2649
- },
2650
- {
2651
- types: ["entity", "number", "symbol"],
2652
- style: {
2653
- color: "#924f79"
2654
- }
2655
- }
2656
- ]
2657
- }, wt = kt, Et = (e, t) => {
2658
- const { plain: a } = e, l = e.styles.reduce((p, m) => {
2659
- const { languages: c, style: h } = m;
2660
- return c && !c.includes(t) || m.types.forEach((u) => {
2661
- const g = B(B({}, p[u]), h);
2662
- p[u] = g;
2663
- }), p;
2664
- }, {});
2665
- return l.root = a, l.plain = q(B({}, a), { backgroundColor: void 0 }), l;
2666
- }, oe = Et, xt = (e, t) => {
2667
- const [a, l] = de(
2668
- oe(t, e)
2669
- ), p = V(), m = V();
2670
- return Ee(() => {
2671
- (t !== p.current || e !== m.current) && (p.current = t, m.current = e, l(oe(t, e)));
2672
- }, [e, t]), a;
2673
- }, St = (e) => X(
2674
- (t) => {
2675
- var a = t, { className: l, style: p, line: m } = a, c = be(a, ["className", "style", "line"]);
2676
- const h = q(B({}, c), {
2677
- className: ge("token-line", l)
2678
- });
2679
- return typeof e == "object" && "plain" in e && (h.style = e.plain), typeof p == "object" && (h.style = B(B({}, h.style || {}), p)), h;
2680
- },
2681
- [e]
2682
- ), At = (e) => {
2683
- const t = X(
2684
- ({ types: a, empty: l }) => {
2685
- if (e != null) {
2686
- {
2687
- if (a.length === 1 && a[0] === "plain")
2688
- return l != null ? { display: "inline-block" } : void 0;
2689
- if (a.length === 1 && l != null)
2690
- return e[a[0]];
2691
- }
2692
- return Object.assign(
2693
- l != null ? { display: "inline-block" } : {},
2694
- ...a.map((p) => e[p])
2695
- );
2696
- }
2697
- },
2698
- [e]
2699
- );
2700
- return X(
2701
- (a) => {
2702
- var l = a, { token: p, className: m, style: c } = l, h = be(l, ["token", "className", "style"]);
2703
- const u = q(B({}, h), {
2704
- className: ge("token", ...p.types, m),
2705
- children: p.content,
2706
- style: t(p)
2707
- });
2708
- return c != null && (u.style = B(B({}, u.style || {}), c)), u;
2709
- },
2710
- [t]
2711
- );
2712
- }, _t = /\r\n|\r|\n/, se = (e) => {
2713
- e.length === 0 ? e.push({
2714
- types: ["plain"],
2715
- content: `
2716
- `,
2717
- empty: !0
2718
- }) : e.length === 1 && e[0].content === "" && (e[0].content = `
2719
- `, e[0].empty = !0);
2720
- }, le = (e, t) => {
2721
- const a = e.length;
2722
- return a > 0 && e[a - 1] === t ? e : e.concat(t);
2723
- }, Ft = (e) => {
2724
- const t = [[]], a = [e], l = [0], p = [e.length];
2725
- let m = 0, c = 0, h = [];
2726
- const u = [h];
2727
- for (; c > -1; ) {
2728
- for (; (m = l[c]++) < p[c]; ) {
2729
- let g, b = t[c];
2730
- const v = a[c][m];
2731
- if (typeof v == "string" ? (b = c > 0 ? b : ["plain"], g = v) : (b = le(b, v.type), v.alias && (b = le(b, v.alias)), g = v.content), typeof g != "string") {
2732
- c++, t.push(b), a.push(g), l.push(0), p.push(g.length);
2733
- continue;
2734
- }
2735
- const k = g.split(_t), n = k.length;
2736
- h.push({
2737
- types: b,
2738
- content: k[0]
2739
- });
2740
- for (let r = 1; r < n; r++)
2741
- se(h), u.push(h = []), h.push({
2742
- types: b,
2743
- content: k[r]
2744
- });
2745
- }
2746
- c--, t.pop(), a.pop(), l.pop(), p.pop();
2747
- }
2748
- return se(h), u;
2749
- }, ie = Ft, Tt = ({ prism: e, code: t, grammar: a, language: l }) => {
2750
- const p = V(e);
2751
- return xe(() => {
2752
- if (a == null)
2753
- return ie([t]);
2754
- const m = {
2755
- code: t,
2756
- grammar: a,
2757
- language: l,
2758
- tokens: []
2759
- };
2760
- return p.current.hooks.run("before-tokenize", m), m.tokens = p.current.tokenize(t, a), p.current.hooks.run("after-tokenize", m), ie(m.tokens);
2761
- }, [t, a, l]);
2762
- }, Rt = ({
2763
- children: e,
2764
- language: t,
2765
- code: a,
2766
- theme: l,
2767
- prism: p
2768
- }) => {
2769
- const m = t.toLowerCase(), c = xt(m, l), h = St(c), u = At(c), g = p.languages[m], b = Tt({ prism: p, language: m, code: a, grammar: g });
2770
- return e({
2771
- tokens: b,
2772
- className: `prism-code language-${m}`,
2773
- style: c != null ? c.root : {},
2774
- getLineProps: h,
2775
- getTokenProps: u
2776
- });
2777
- }, It = (e) => we(Rt, q(B({}, e), {
2778
- prism: e.prism || o,
2779
- theme: e.theme || me,
2780
- code: e.code,
2781
- language: e.language
2782
- }));
2783
- /*! Bundled license information:
2784
-
2785
- prismjs/prism.js:
2786
- (**
2787
- * Prism: Lightweight, robust, elegant syntax highlighting
2788
- *
2789
- * @license MIT <https://opensource.org/licenses/MIT>
2790
- * @author Lea Verou <https://lea.verou.me>
2791
- * @namespace
2792
- * @public
2793
- *)
2794
- */
2795
- var Lt = (e, t, a, l, p, m, c, h) => {
2796
- let u = document.documentElement, g = ["light", "dark"];
2797
- function b(k) {
2798
- (Array.isArray(e) ? e : [e]).forEach((n) => {
2799
- let r = n === "class", s = r && m ? p.map((d) => m[d] || d) : p;
2800
- r ? (u.classList.remove(...s), u.classList.add(k)) : u.setAttribute(n, k);
2801
- }), y(k);
2802
- }
2803
- function y(k) {
2804
- h && g.includes(k) && (u.style.colorScheme = k);
2805
- }
2806
- function v() {
2807
- return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
2808
- }
2809
- if (l) b(l);
2810
- else try {
2811
- let k = localStorage.getItem(t) || a, n = c && k === "system" ? v() : k;
2812
- b(n);
2813
- } catch {
2814
- }
2815
- }, ue = ["light", "dark"], he = "(prefers-color-scheme: dark)", Ot = typeof window > "u", ee = _.createContext(void 0), Ct = { setTheme: (e) => {
2816
- }, themes: [] }, Nt = () => {
2817
- var e;
2818
- return (e = _.useContext(ee)) != null ? e : Ct;
2819
- }, Wt = (e) => _.useContext(ee) ? _.createElement(_.Fragment, null, e.children) : _.createElement(Bt, { ...e }), Dt = ["light", "dark"], Bt = ({ forcedTheme: e, disableTransitionOnChange: t = !1, enableSystem: a = !0, enableColorScheme: l = !0, storageKey: p = "theme", themes: m = Dt, defaultTheme: c = a ? "system" : "light", attribute: h = "data-theme", value: u, children: g, nonce: b, scriptProps: y }) => {
2820
- let [v, k] = _.useState(() => ce(p, c)), [n, r] = _.useState(() => ce(p)), s = u ? Object.values(u) : m, d = _.useCallback((w) => {
2821
- let x = w;
2822
- if (!x) return;
2823
- w === "system" && a && (x = pe());
2824
- let S = u ? u[x] : x, F = t ? Pt(b) : null, A = document.documentElement, C = (T) => {
2825
- T === "class" ? (A.classList.remove(...s), S && A.classList.add(S)) : T.startsWith("data-") && (S ? A.setAttribute(T, S) : A.removeAttribute(T));
2826
- };
2827
- if (Array.isArray(h) ? h.forEach(C) : C(h), l) {
2828
- let T = ue.includes(c) ? c : null, O = ue.includes(x) ? x : T;
2829
- A.style.colorScheme = O;
2830
- }
2831
- F == null || F();
2832
- }, [b]), i = _.useCallback((w) => {
2833
- let x = typeof w == "function" ? w(v) : w;
2834
- k(x);
2835
- try {
2836
- localStorage.setItem(p, x);
2837
- } catch {
2838
- }
2839
- }, [v]), f = _.useCallback((w) => {
2840
- let x = pe(w);
2841
- r(x), v === "system" && a && !e && d("system");
2842
- }, [v, e]);
2843
- _.useEffect(() => {
2844
- let w = window.matchMedia(he);
2845
- return w.addListener(f), f(w), () => w.removeListener(f);
2846
- }, [f]), _.useEffect(() => {
2847
- let w = (x) => {
2848
- x.key === p && (x.newValue ? k(x.newValue) : i(c));
2849
- };
2850
- return window.addEventListener("storage", w), () => window.removeEventListener("storage", w);
2851
- }, [i]), _.useEffect(() => {
2852
- d(e ?? v);
2853
- }, [e, v]);
2854
- let E = _.useMemo(() => ({ theme: v, setTheme: i, forcedTheme: e, resolvedTheme: v === "system" ? n : v, themes: a ? [...m, "system"] : m, systemTheme: a ? n : void 0 }), [v, i, e, n, a, m]);
2855
- return _.createElement(ee.Provider, { value: E }, _.createElement($t, { forcedTheme: e, storageKey: p, attribute: h, enableSystem: a, enableColorScheme: l, defaultTheme: c, value: u, themes: m, nonce: b, scriptProps: y }), g);
2856
- }, $t = _.memo(({ forcedTheme: e, storageKey: t, attribute: a, enableSystem: l, enableColorScheme: p, defaultTheme: m, value: c, themes: h, nonce: u, scriptProps: g }) => {
2857
- let b = JSON.stringify([a, t, m, e, h, c, l, p]).slice(1, -1);
2858
- return _.createElement("script", { ...g, suppressHydrationWarning: !0, nonce: typeof window > "u" ? u : "", dangerouslySetInnerHTML: { __html: `(${Lt.toString()})(${b})` } });
2859
- }), ce = (e, t) => {
2860
- if (Ot) return;
2861
- let a;
2862
- try {
2863
- a = localStorage.getItem(e) || void 0;
2864
- } catch {
2865
- }
2866
- return a || t;
2867
- }, Pt = (e) => {
2868
- let t = document.createElement("style");
2869
- 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), () => {
2870
- window.getComputedStyle(document.body), setTimeout(() => {
2871
- document.head.removeChild(t);
2872
- }, 1);
2873
- };
2874
- }, pe = (e) => (e || (e = window.matchMedia(he)), e.matches ? "dark" : "light");
2875
- globalThis.Prism = o;
2876
- import("./prism-bash.min-DadFsM4Z.js");
2877
- import("./prism-ruby.min-DeDXCp1r.js").then((e) => e.p);
2878
- import("./prism-markup-BNGj0Tvm.js");
2879
- import("./prism-json.min-B1GJqK1k.js");
2880
- import("./prism-java.min-BtgBR4yd.js").then((e) => e.p);
2881
- import("./prism-csharp.min-DUwvItt4.js").then((e) => e.p);
2882
- import("./prism-objectivec.min-BXSWqpJJ.js");
2883
- import("./prism-markdown.min-F3U-vPBi.js");
2884
- import("./prism-javascript.min-CEqHqgbm.js");
2885
- import("./prism-typescript.min-CD7H2IYQ.js").then((e) => e.p);
2886
- const jt = {
2887
- mdx: "md"
2888
- }, qt = ({
2889
- copyable: e = !0,
2890
- language: t = "plain",
2891
- ...a
2892
- }) => {
2893
- const { resolvedTheme: l } = Nt(), [p, m] = de(!1);
2894
- if (!a.code)
2895
- return null;
2896
- const c = l === "dark" ? Q.vsDark : Q.github;
2897
- return /* @__PURE__ */ I.jsx(
2898
- _e,
2899
- {
2900
- fallback: /* @__PURE__ */ I.jsxs("div", { className: "relative group", children: [
2901
- /* @__PURE__ */ I.jsx(
2902
- "pre",
2903
- {
2904
- className: ne(
2905
- "relative scrollbar overflow-x-auto",
2906
- a.className,
2907
- a.noBackground ? "!bg-transparent" : "bg-[#f6f8fa] text-[#393a34] dark:bg-[#1e1e1e] dark:text-[#9cdcfe]",
2908
- a.wrapLines && "whitespace-pre-wrap break-words"
2909
- ),
2910
- children: a.code
2911
- }
2912
- ),
2913
- a.showLanguageIndicator && /* @__PURE__ */ I.jsx("span", { className: "absolute top-1.5 right-3 text-[11px] font-mono text-muted-foreground transition group-hover:opacity-0", children: t })
2914
- ] }),
2915
- children: /* @__PURE__ */ I.jsx(
2916
- It,
2917
- {
2918
- theme: c,
2919
- language: jt[t] ?? t,
2920
- ...a,
2921
- children: ({ className: u, style: g, tokens: b, getLineProps: y, getTokenProps: v }) => /* @__PURE__ */ I.jsxs("div", { className: "relative group", children: [
2922
- /* @__PURE__ */ I.jsx(
2923
- "pre",
2924
- {
2925
- className: ne(
2926
- "relative scrollbar overflow-x-auto",
2927
- u,
2928
- a.className,
2929
- a.noBackground && "!bg-transparent",
2930
- a.wrapLines && "whitespace-pre-wrap break-words"
2931
- ),
2932
- style: g,
2933
- children: b.map((k, n) => (
2934
- // eslint-disable-next-line react/no-array-index-key
2935
- /* @__PURE__ */ I.jsx("div", { ...y({ line: k }), children: k.map((r, s) => (
2936
- // eslint-disable-next-line react/no-array-index-key
2937
- /* @__PURE__ */ I.jsx("span", { ...v({ token: r }) }, s)
2938
- )) }, n)
2939
- ))
2940
- }
2941
- ),
2942
- a.showLanguageIndicator && /* @__PURE__ */ I.jsx("span", { className: "absolute top-1.5 right-3 text-[11px] font-mono text-muted-foreground transition group-hover:opacity-0", children: t }),
2943
- e && /* @__PURE__ */ I.jsx(
2944
- "button",
2945
- {
2946
- type: "button",
2947
- "aria-label": "Copy code",
2948
- title: "Copy code",
2949
- 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",
2950
- disabled: p,
2951
- onClick: () => {
2952
- m(!0), navigator.clipboard.writeText(
2953
- b.map((k) => k.map(({ content: n }) => n).join("")).join(`
2954
- `)
2955
- ), setTimeout(() => m(!1), 2e3);
2956
- },
2957
- children: p ? /* @__PURE__ */ I.jsx(
2958
- Se,
2959
- {
2960
- className: "text-emerald-600",
2961
- size: 16,
2962
- strokeWidth: 2.5,
2963
- absoluteStrokeWidth: !0
2964
- }
2965
- ) : /* @__PURE__ */ I.jsx(Ae, { size: 16 })
2966
- }
2967
- )
2968
- ] })
2969
- }
2970
- )
2971
- }
2972
- );
2973
- };
2974
- export {
2975
- Wt as J,
2976
- qt as S,
2977
- Nt as z
2978
- };
2979
- //# sourceMappingURL=SyntaxHighlight-Bz-lOJtH.js.map