zudoku 0.0.0-e7477f4 → 0.0.0-e792d466

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 (1047) hide show
  1. package/README.md +32 -12
  2. package/cli.js +1 -0
  3. package/dist/app/ZuploBuildConfig.d.ts +1 -1
  4. package/dist/app/ZuploBuildConfig.js +1 -1
  5. package/dist/app/ZuploBuildConfig.js.map +1 -1
  6. package/dist/app/demo.js +1 -1
  7. package/dist/app/entry.client.js +6 -5
  8. package/dist/app/entry.client.js.map +1 -1
  9. package/dist/app/entry.server.js +3 -3
  10. package/dist/app/entry.server.js.map +1 -1
  11. package/dist/app/env.js +6 -6
  12. package/dist/app/env.js.map +1 -1
  13. package/dist/app/main.d.ts +1 -1
  14. package/dist/app/main.js +12 -6
  15. package/dist/app/main.js.map +1 -1
  16. package/dist/app/standalone.js +5 -2
  17. package/dist/app/standalone.js.map +1 -1
  18. package/dist/cli/cli.js +2 -1
  19. package/dist/cli/cli.js.map +1 -1
  20. package/dist/cli/cmds/build.d.ts +1 -1
  21. package/dist/cli/cmds/dev.d.ts +1 -1
  22. package/dist/cli/cmds/preview.d.ts +1 -1
  23. package/dist/cli/common/analytics/lib.js +1 -1
  24. package/dist/cli/common/analytics/lib.js.map +1 -1
  25. package/dist/cli/common/logger.js +0 -1
  26. package/dist/cli/common/logger.js.map +1 -1
  27. package/dist/cli/common/machine-id/lib.js +3 -2
  28. package/dist/cli/common/machine-id/lib.js.map +1 -1
  29. package/dist/cli/common/outdated.js +2 -1
  30. package/dist/cli/common/outdated.js.map +1 -1
  31. package/dist/cli/common/output.js +2 -3
  32. package/dist/cli/common/output.js.map +1 -1
  33. package/dist/cli/common/utils/box.js +2 -2
  34. package/dist/cli/common/utils/box.js.map +1 -1
  35. package/dist/cli/common/validators/lib.js +1 -1
  36. package/dist/cli/common/validators/lib.js.map +1 -1
  37. package/dist/cli/dev/handler.js +0 -4
  38. package/dist/cli/dev/handler.js.map +1 -1
  39. package/dist/codegen.js +2 -2
  40. package/dist/codegen.js.map +1 -1
  41. package/dist/config/config.d.ts +1 -0
  42. package/dist/config/loader.js.map +1 -1
  43. package/dist/config/validators/BuildSchema.d.ts +1 -1
  44. package/dist/config/validators/BuildSchema.js +3 -3
  45. package/dist/config/validators/BuildSchema.js.map +1 -1
  46. package/dist/config/validators/InputNavigationSchema.d.ts +271 -154
  47. package/dist/config/validators/InputNavigationSchema.js +8 -5
  48. package/dist/config/validators/InputNavigationSchema.js.map +1 -1
  49. package/dist/config/validators/InputNavigationSchema.test-d.js +2 -2
  50. package/dist/config/validators/InputNavigationSchema.test-d.js.map +1 -1
  51. package/dist/config/validators/NavigationSchema.d.ts +1 -1
  52. package/dist/config/validators/NavigationSchema.js +7 -4
  53. package/dist/config/validators/NavigationSchema.js.map +1 -1
  54. package/dist/config/validators/ProtectedRoutesSchema.d.ts +13 -0
  55. package/dist/config/validators/ProtectedRoutesSchema.js +10 -0
  56. package/dist/config/validators/ProtectedRoutesSchema.js.map +1 -0
  57. package/dist/config/validators/auth.d.ts +2 -2
  58. package/dist/config/validators/auth.js +1 -1
  59. package/dist/config/validators/auth.js.map +1 -1
  60. package/dist/config/validators/icon-types.d.ts +1 -1
  61. package/dist/config/validators/icon-types.js +20 -0
  62. package/dist/config/validators/icon-types.js.map +1 -1
  63. package/dist/config/validators/validate.d.ts +45 -31
  64. package/dist/config/validators/validate.js +11 -5
  65. package/dist/config/validators/validate.js.map +1 -1
  66. package/dist/config/validators/validate.test.js +1 -2
  67. package/dist/config/validators/validate.test.js.map +1 -1
  68. package/dist/flat-config.d.ts +12 -6
  69. package/dist/index.d.ts +6 -5
  70. package/dist/index.js +2 -1
  71. package/dist/index.js.map +1 -1
  72. package/dist/lib/MissingIcon.d.ts +1 -1
  73. package/dist/lib/MissingIcon.js.map +1 -1
  74. package/dist/lib/assets/language-icons/csharp.d.ts +3 -0
  75. package/dist/lib/assets/language-icons/csharp.js +4 -0
  76. package/dist/lib/assets/language-icons/csharp.js.map +1 -0
  77. package/dist/lib/assets/language-icons/css.d.ts +3 -0
  78. package/dist/lib/assets/language-icons/css.js +4 -0
  79. package/dist/lib/assets/language-icons/css.js.map +1 -0
  80. package/dist/lib/assets/language-icons/go.d.ts +3 -0
  81. package/dist/lib/assets/language-icons/go.js +4 -0
  82. package/dist/lib/assets/language-icons/go.js.map +1 -0
  83. package/dist/lib/assets/language-icons/graphql.d.ts +3 -0
  84. package/dist/lib/assets/language-icons/graphql.js +4 -0
  85. package/dist/lib/assets/language-icons/graphql.js.map +1 -0
  86. package/dist/lib/assets/language-icons/html.d.ts +3 -0
  87. package/dist/lib/assets/language-icons/html.js +4 -0
  88. package/dist/lib/assets/language-icons/html.js.map +1 -0
  89. package/dist/lib/assets/language-icons/java.d.ts +3 -0
  90. package/dist/lib/assets/language-icons/java.js +4 -0
  91. package/dist/lib/assets/language-icons/java.js.map +1 -0
  92. package/dist/lib/assets/language-icons/javascript.d.ts +3 -0
  93. package/dist/lib/assets/language-icons/javascript.js +4 -0
  94. package/dist/lib/assets/language-icons/javascript.js.map +1 -0
  95. package/dist/lib/assets/language-icons/json.d.ts +3 -0
  96. package/dist/lib/assets/language-icons/json.js +4 -0
  97. package/dist/lib/assets/language-icons/json.js.map +1 -0
  98. package/dist/lib/assets/language-icons/kotlin.d.ts +3 -0
  99. package/dist/lib/assets/language-icons/kotlin.js +4 -0
  100. package/dist/lib/assets/language-icons/kotlin.js.map +1 -0
  101. package/dist/lib/assets/language-icons/markdown.d.ts +3 -0
  102. package/dist/lib/assets/language-icons/markdown.js +4 -0
  103. package/dist/lib/assets/language-icons/markdown.js.map +1 -0
  104. package/dist/lib/assets/language-icons/mdx.d.ts +3 -0
  105. package/dist/lib/assets/language-icons/mdx.js +4 -0
  106. package/dist/lib/assets/language-icons/mdx.js.map +1 -0
  107. package/dist/lib/assets/language-icons/objectivec.d.ts +3 -0
  108. package/dist/lib/assets/language-icons/objectivec.js +4 -0
  109. package/dist/lib/assets/language-icons/objectivec.js.map +1 -0
  110. package/dist/lib/assets/language-icons/php.d.ts +3 -0
  111. package/dist/lib/assets/language-icons/php.js +4 -0
  112. package/dist/lib/assets/language-icons/php.js.map +1 -0
  113. package/dist/lib/assets/language-icons/python.d.ts +3 -0
  114. package/dist/lib/assets/language-icons/python.js +4 -0
  115. package/dist/lib/assets/language-icons/python.js.map +1 -0
  116. package/dist/lib/assets/language-icons/react.d.ts +3 -0
  117. package/dist/lib/assets/language-icons/react.js +4 -0
  118. package/dist/lib/assets/language-icons/react.js.map +1 -0
  119. package/dist/lib/assets/language-icons/ruby.d.ts +3 -0
  120. package/dist/lib/assets/language-icons/ruby.js +4 -0
  121. package/dist/lib/assets/language-icons/ruby.js.map +1 -0
  122. package/dist/lib/assets/language-icons/rust.d.ts +3 -0
  123. package/dist/lib/assets/language-icons/rust.js +4 -0
  124. package/dist/lib/assets/language-icons/rust.js.map +1 -0
  125. package/dist/lib/assets/language-icons/shell.d.ts +3 -0
  126. package/dist/lib/assets/language-icons/shell.js +4 -0
  127. package/dist/lib/assets/language-icons/shell.js.map +1 -0
  128. package/dist/lib/assets/language-icons/swift.d.ts +3 -0
  129. package/dist/lib/assets/language-icons/swift.js +4 -0
  130. package/dist/lib/assets/language-icons/swift.js.map +1 -0
  131. package/dist/lib/assets/language-icons/toml.d.ts +3 -0
  132. package/dist/lib/assets/language-icons/toml.js +4 -0
  133. package/dist/lib/assets/language-icons/toml.js.map +1 -0
  134. package/dist/lib/assets/language-icons/typescript.d.ts +3 -0
  135. package/dist/lib/assets/language-icons/typescript.js +4 -0
  136. package/dist/lib/assets/language-icons/typescript.js.map +1 -0
  137. package/dist/lib/assets/language-icons/xml.d.ts +3 -0
  138. package/dist/lib/assets/language-icons/xml.js +4 -0
  139. package/dist/lib/assets/language-icons/xml.js.map +1 -0
  140. package/dist/lib/assets/language-icons/yaml.d.ts +3 -0
  141. package/dist/lib/assets/language-icons/yaml.js +4 -0
  142. package/dist/lib/assets/language-icons/yaml.js.map +1 -0
  143. package/dist/lib/auth/issuer.test.js +1 -0
  144. package/dist/lib/auth/issuer.test.js.map +1 -1
  145. package/dist/lib/authentication/AuthenticationPlugin.d.ts +1 -1
  146. package/dist/lib/authentication/authentication.d.ts +1 -3
  147. package/dist/lib/authentication/components/CallbackHandler.js +11 -9
  148. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  149. package/dist/lib/authentication/components/OAuthErrorPage.d.ts +3 -0
  150. package/dist/lib/authentication/components/OAuthErrorPage.js +99 -0
  151. package/dist/lib/authentication/components/OAuthErrorPage.js.map +1 -0
  152. package/dist/lib/authentication/components/SignOut.js +1 -1
  153. package/dist/lib/authentication/components/SignOut.js.map +1 -1
  154. package/dist/lib/authentication/errors.d.ts +6 -12
  155. package/dist/lib/authentication/errors.js +2 -1
  156. package/dist/lib/authentication/errors.js.map +1 -1
  157. package/dist/lib/authentication/hook.d.ts +1 -0
  158. package/dist/lib/authentication/hook.js.map +1 -1
  159. package/dist/lib/authentication/providers/auth0.d.ts +2 -2
  160. package/dist/lib/authentication/providers/auth0.js +1 -1
  161. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  162. package/dist/lib/authentication/providers/azureb2c.d.ts +2 -2
  163. package/dist/lib/authentication/providers/azureb2c.js +4 -2
  164. package/dist/lib/authentication/providers/azureb2c.js.map +1 -1
  165. package/dist/lib/authentication/providers/clerk.d.ts +2 -2
  166. package/dist/lib/authentication/providers/clerk.js +4 -2
  167. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  168. package/dist/lib/authentication/providers/openid.d.ts +2 -2
  169. package/dist/lib/authentication/providers/openid.js +3 -1
  170. package/dist/lib/authentication/providers/openid.js.map +1 -1
  171. package/dist/lib/authentication/providers/supabase.d.ts +2 -2
  172. package/dist/lib/authentication/providers/supabase.js +1 -0
  173. package/dist/lib/authentication/providers/supabase.js.map +1 -1
  174. package/dist/lib/authentication/use-broadcast/shared.d.ts +1 -1
  175. package/dist/lib/authentication/use-broadcast/shared.js +3 -3
  176. package/dist/lib/authentication/use-broadcast/shared.js.map +1 -1
  177. package/dist/lib/authentication/use-broadcast/useBroadcast.js +2 -2
  178. package/dist/lib/authentication/use-broadcast/useBroadcast.js.map +1 -1
  179. package/dist/lib/components/Autocomplete.js.map +1 -1
  180. package/dist/lib/components/Bootstrap.js.map +1 -1
  181. package/dist/lib/components/BuildCheck.d.ts +2 -1
  182. package/dist/lib/components/BuildCheck.js +11 -4
  183. package/dist/lib/components/BuildCheck.js.map +1 -1
  184. package/dist/lib/components/Header.js +2 -4
  185. package/dist/lib/components/Header.js.map +1 -1
  186. package/dist/lib/components/Heading.d.ts +1 -1
  187. package/dist/lib/components/Heading.js +2 -2
  188. package/dist/lib/components/Heading.js.map +1 -1
  189. package/dist/lib/components/LanguageIcon.d.ts +3 -0
  190. package/dist/lib/components/LanguageIcon.js +118 -0
  191. package/dist/lib/components/LanguageIcon.js.map +1 -0
  192. package/dist/lib/components/Layout.js +4 -7
  193. package/dist/lib/components/Layout.js.map +1 -1
  194. package/dist/lib/components/Markdown.js +4 -4
  195. package/dist/lib/components/Markdown.js.map +1 -1
  196. package/dist/lib/components/Meta.d.ts +2 -0
  197. package/dist/lib/components/Meta.js +11 -0
  198. package/dist/lib/components/Meta.js.map +1 -0
  199. package/dist/lib/components/MobileTopNavigation.js +8 -6
  200. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  201. package/dist/lib/components/NotFoundPage.js +1 -1
  202. package/dist/lib/components/NotFoundPage.js.map +1 -1
  203. package/dist/lib/components/PathRenderer.js +1 -1
  204. package/dist/lib/components/PathRenderer.js.map +1 -1
  205. package/dist/lib/components/Search.js +1 -1
  206. package/dist/lib/components/Search.js.map +1 -1
  207. package/dist/lib/components/Slot.js.map +1 -1
  208. package/dist/lib/components/Slot.test.js +7 -3
  209. package/dist/lib/components/Slot.test.js.map +1 -1
  210. package/dist/lib/components/TopNavigation.d.ts +1 -1
  211. package/dist/lib/components/TopNavigation.js +5 -4
  212. package/dist/lib/components/TopNavigation.js.map +1 -1
  213. package/dist/lib/components/Typography.d.ts +1 -1
  214. package/dist/lib/components/Typography.js +1 -1
  215. package/dist/lib/components/Typography.js.map +1 -1
  216. package/dist/lib/components/Zudoku.js +2 -2
  217. package/dist/lib/components/Zudoku.js.map +1 -1
  218. package/dist/lib/components/context/ComponentsContext.js.map +1 -1
  219. package/dist/lib/components/context/RouterEventsEmitter.js.map +1 -1
  220. package/dist/lib/components/context/SlotProvider.js.map +1 -1
  221. package/dist/lib/components/context/ViewportAnchorContext.js +1 -1
  222. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  223. package/dist/lib/components/context/ZudokuContext.d.ts +1 -1
  224. package/dist/lib/components/context/ZudokuContext.js +22 -14
  225. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  226. package/dist/lib/components/context/ZudokuProvider.d.ts +1 -1
  227. package/dist/lib/components/index.d.ts +11 -27
  228. package/dist/lib/components/index.js +3 -16
  229. package/dist/lib/components/index.js.map +1 -1
  230. package/dist/lib/components/navigation/NavigationCategory.js +7 -2
  231. package/dist/lib/components/navigation/NavigationCategory.js.map +1 -1
  232. package/dist/lib/components/navigation/NavigationItem.d.ts +1 -1
  233. package/dist/lib/components/navigation/NavigationItem.js +11 -3
  234. package/dist/lib/components/navigation/NavigationItem.js.map +1 -1
  235. package/dist/lib/components/navigation/NavigationWrapper.js.map +1 -1
  236. package/dist/lib/components/navigation/Toc.js.map +1 -1
  237. package/dist/lib/components/navigation/ZudokuLogo.d.ts +1 -1
  238. package/dist/lib/components/navigation/utils.d.ts +5 -3
  239. package/dist/lib/components/navigation/utils.js +17 -14
  240. package/dist/lib/components/navigation/utils.js.map +1 -1
  241. package/dist/lib/core/RouteGuard.js +9 -9
  242. package/dist/lib/core/RouteGuard.js.map +1 -1
  243. package/dist/lib/core/ZudokuContext.d.ts +6 -2
  244. package/dist/lib/core/ZudokuContext.js +24 -1
  245. package/dist/lib/core/ZudokuContext.js.map +1 -1
  246. package/dist/lib/core/__internal.d.ts +37 -0
  247. package/dist/lib/core/__internal.js +26 -0
  248. package/dist/lib/core/__internal.js.map +1 -0
  249. package/dist/lib/core/plugins.d.ts +2 -1
  250. package/dist/lib/core/plugins.js.map +1 -1
  251. package/dist/lib/core/router.d.ts +1 -0
  252. package/dist/lib/core/router.js +2 -0
  253. package/dist/lib/core/router.js.map +1 -0
  254. package/dist/lib/errors/ErrorAlert.js +1 -2
  255. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  256. package/dist/lib/errors/TopLevelError.d.ts +2 -2
  257. package/dist/lib/errors/TopLevelError.js +1 -2
  258. package/dist/lib/errors/TopLevelError.js.map +1 -1
  259. package/dist/lib/oas/graphql/circular.js +2 -2
  260. package/dist/lib/oas/graphql/circular.js.map +1 -1
  261. package/dist/lib/oas/graphql/index.js +22 -3
  262. package/dist/lib/oas/graphql/index.js.map +1 -1
  263. package/dist/lib/oas/parser/dereference/index.js +2 -1
  264. package/dist/lib/oas/parser/dereference/index.js.map +1 -1
  265. package/dist/lib/oas/parser/dereference/resolveRef.js +3 -3
  266. package/dist/lib/oas/parser/dereference/resolveRef.js.map +1 -1
  267. package/dist/lib/oas/parser/index.js +1 -1
  268. package/dist/lib/oas/parser/index.js.map +1 -1
  269. package/dist/lib/oas/parser/upgrade/index.js +2 -1
  270. package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
  271. package/dist/lib/plugins/api-catalog/Catalog.js +7 -1
  272. package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
  273. package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +1 -1
  274. package/dist/lib/plugins/api-keys/CreateApiKey.js +13 -3
  275. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  276. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.d.ts +11 -0
  277. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js +9 -0
  278. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js.map +1 -0
  279. package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +1 -1
  280. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +11 -15
  281. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  282. package/dist/lib/plugins/api-keys/index.d.ts +11 -6
  283. package/dist/lib/plugins/api-keys/index.js +4 -8
  284. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  285. package/dist/lib/plugins/custom-pages/index.d.ts +1 -1
  286. package/dist/lib/plugins/custom-pages/index.js +3 -0
  287. package/dist/lib/plugins/custom-pages/index.js.map +1 -1
  288. package/dist/lib/plugins/markdown/MdxPage.d.ts +1 -1
  289. package/dist/lib/plugins/markdown/MdxPage.js +4 -4
  290. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  291. package/dist/lib/plugins/markdown/index.d.ts +1 -1
  292. package/dist/lib/plugins/openapi/ColorizedParam.js +4 -1
  293. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  294. package/dist/lib/plugins/openapi/Endpoint.js +2 -2
  295. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  296. package/dist/lib/plugins/openapi/OasProvider.d.ts +1 -1
  297. package/dist/lib/plugins/openapi/OasProvider.js +1 -0
  298. package/dist/lib/plugins/openapi/OasProvider.js.map +1 -1
  299. package/dist/lib/plugins/openapi/OperationList.d.ts +0 -2
  300. package/dist/lib/plugins/openapi/OperationList.js +22 -7
  301. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  302. package/dist/lib/plugins/openapi/OperationListItem.d.ts +1 -1
  303. package/dist/lib/plugins/openapi/OperationListItem.js +6 -4
  304. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  305. package/dist/lib/plugins/openapi/ParamInfos.d.ts +1 -1
  306. package/dist/lib/plugins/openapi/ParamInfos.js +11 -9
  307. package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -1
  308. package/dist/lib/plugins/openapi/ParameterList.d.ts +2 -2
  309. package/dist/lib/plugins/openapi/ParameterList.js +1 -1
  310. package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
  311. package/dist/lib/plugins/openapi/ParameterListItem.d.ts +2 -3
  312. package/dist/lib/plugins/openapi/ParameterListItem.js +1 -1
  313. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  314. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +3 -4
  315. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +3 -3
  316. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  317. package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +2 -2
  318. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  319. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  320. package/dist/lib/plugins/openapi/Sidecar.d.ts +2 -2
  321. package/dist/lib/plugins/openapi/Sidecar.js +4 -2
  322. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  323. package/dist/lib/plugins/openapi/SidecarExamples.d.ts +2 -4
  324. package/dist/lib/plugins/openapi/SidecarExamples.js +1 -1
  325. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -1
  326. package/dist/lib/plugins/openapi/StaggeredRender.d.ts +1 -1
  327. package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +1 -1
  328. package/dist/lib/plugins/openapi/client/createServer.js +1 -2
  329. package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
  330. package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
  331. package/dist/lib/plugins/openapi/context.d.ts +1 -1
  332. package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +1 -1
  333. package/dist/lib/plugins/openapi/graphql/fragment-masking.js.map +1 -1
  334. package/dist/lib/plugins/openapi/graphql/gql.d.ts +2 -2
  335. package/dist/lib/plugins/openapi/graphql/gql.js +2 -3
  336. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  337. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +4 -0
  338. package/dist/lib/plugins/openapi/graphql/graphql.js +4 -0
  339. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  340. package/dist/lib/plugins/openapi/index.d.ts +2 -2
  341. package/dist/lib/plugins/openapi/index.js +43 -10
  342. package/dist/lib/plugins/openapi/index.js.map +1 -1
  343. package/dist/lib/plugins/openapi/interfaces.d.ts +4 -4
  344. package/dist/lib/plugins/openapi/playground/BodyPanel.d.ts +2 -2
  345. package/dist/lib/plugins/openapi/playground/BodyPanel.js.map +1 -1
  346. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +3 -3
  347. package/dist/lib/plugins/openapi/playground/Headers.d.ts +1 -1
  348. package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +1 -1
  349. package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +1 -1
  350. package/dist/lib/plugins/openapi/playground/PathParams.js +1 -1
  351. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  352. package/dist/lib/plugins/openapi/playground/Playground.d.ts +2 -2
  353. package/dist/lib/plugins/openapi/playground/Playground.js +5 -3
  354. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  355. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +1 -1
  356. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js +3 -1
  357. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js.map +1 -1
  358. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +2 -2
  359. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +1 -1
  360. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +1 -1
  361. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -1
  362. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js +1 -0
  363. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -1
  364. package/dist/lib/plugins/openapi/processors/removeParameters.test.js +1 -0
  365. package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -1
  366. package/dist/lib/plugins/openapi/processors/traverse.d.ts +1 -1
  367. package/dist/lib/plugins/openapi/processors/traverse.js.map +1 -1
  368. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.d.ts +5 -0
  369. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.js +7 -0
  370. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.js.map +1 -0
  371. package/dist/lib/plugins/openapi/schema/{LogicalGroup/LogicalGroupItem.d.ts → AllOfGroup/AllOfGroupItem.d.ts} +1 -3
  372. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.js +10 -0
  373. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.js.map +1 -0
  374. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.d.ts +5 -0
  375. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.js +16 -0
  376. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.js.map +1 -0
  377. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +0 -3
  378. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +7 -15
  379. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
  380. package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +2 -1
  381. package/dist/lib/plugins/openapi/schema/SchemaView.js +16 -11
  382. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  383. package/dist/lib/plugins/openapi/schema/UnionView.d.ts +5 -0
  384. package/dist/lib/plugins/openapi/schema/UnionView.js +36 -0
  385. package/dist/lib/plugins/openapi/schema/UnionView.js.map +1 -0
  386. package/dist/lib/plugins/openapi/schema/union-helpers.d.ts +28 -0
  387. package/dist/lib/plugins/openapi/schema/union-helpers.js +72 -0
  388. package/dist/lib/plugins/openapi/schema/union-helpers.js.map +1 -0
  389. package/dist/lib/plugins/openapi/schema/utils.d.ts +0 -7
  390. package/dist/lib/plugins/openapi/schema/utils.js +0 -6
  391. package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
  392. package/dist/lib/plugins/openapi/util/createHttpSnippet.d.ts +1 -1
  393. package/dist/lib/plugins/openapi/util/createHttpSnippet.js +1 -1
  394. package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -1
  395. package/dist/lib/plugins/openapi/util/createNavigationCategory.js +1 -0
  396. package/dist/lib/plugins/openapi/util/createNavigationCategory.js.map +1 -1
  397. package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +1 -1
  398. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +1 -2
  399. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  400. package/dist/lib/plugins/openapi/util/getRoutes.js +1 -1
  401. package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
  402. package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +1 -1
  403. package/dist/lib/plugins/search-inkeep/index.js +1 -1
  404. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  405. package/dist/lib/plugins/search-pagefind/PagefindSearch.js +1 -1
  406. package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -1
  407. package/dist/lib/plugins/search-pagefind/ResultList.d.ts +1 -1
  408. package/dist/lib/plugins/search-pagefind/ResultList.js +4 -1
  409. package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -1
  410. package/dist/lib/plugins/search-pagefind/get-results.js +0 -1
  411. package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -1
  412. package/dist/lib/shiki.d.ts +6 -5
  413. package/dist/lib/shiki.js +9 -6
  414. package/dist/lib/shiki.js.map +1 -1
  415. package/dist/lib/ui/ActionButton.js +1 -1
  416. package/dist/lib/ui/ActionButton.js.map +1 -1
  417. package/dist/lib/ui/Badge.d.ts +1 -1
  418. package/dist/lib/ui/Breadcrumb.js +1 -1
  419. package/dist/lib/ui/Breadcrumb.js.map +1 -1
  420. package/dist/lib/ui/Button.d.ts +2 -2
  421. package/dist/lib/ui/Carousel.js.map +1 -1
  422. package/dist/lib/ui/CodeBlock.d.ts +1 -1
  423. package/dist/lib/ui/CodeBlock.js +5 -4
  424. package/dist/lib/ui/CodeBlock.js.map +1 -1
  425. package/dist/lib/ui/Command.d.ts +3 -3
  426. package/dist/lib/ui/Command.js +2 -6
  427. package/dist/lib/ui/Command.js.map +1 -1
  428. package/dist/lib/ui/Dialog.js +2 -2
  429. package/dist/lib/ui/Dialog.js.map +1 -1
  430. package/dist/lib/ui/EmbeddedCodeBlock.js +1 -1
  431. package/dist/lib/ui/EmbeddedCodeBlock.js.map +1 -1
  432. package/dist/lib/ui/Form.d.ts +2 -2
  433. package/dist/lib/ui/Pagination.d.ts +1 -1
  434. package/dist/lib/ui/Pagination.js +1 -1
  435. package/dist/lib/ui/Pagination.js.map +1 -1
  436. package/dist/lib/ui/ReactComponentDoc.d.ts +20 -0
  437. package/dist/lib/ui/ReactComponentDoc.js +10 -0
  438. package/dist/lib/ui/ReactComponentDoc.js.map +1 -0
  439. package/dist/lib/ui/Secret.d.ts +12 -0
  440. package/dist/lib/ui/Secret.js +23 -0
  441. package/dist/lib/ui/Secret.js.map +1 -0
  442. package/dist/lib/ui/ToggleGroup.d.ts +1 -1
  443. package/dist/lib/ui/Value.d.ts +5 -0
  444. package/dist/lib/ui/Value.js +13 -0
  445. package/dist/lib/ui/Value.js.map +1 -0
  446. package/dist/lib/util/MdxComponents.d.ts +1 -1
  447. package/dist/lib/util/MdxComponents.js +5 -3
  448. package/dist/lib/util/MdxComponents.js.map +1 -1
  449. package/dist/lib/util/cn.js.map +1 -1
  450. package/dist/lib/util/createVariantComponent.d.ts +2 -2
  451. package/dist/lib/util/createVariantComponent.js.map +1 -1
  452. package/dist/lib/util/groupBy.js +1 -0
  453. package/dist/lib/util/groupBy.js.map +1 -1
  454. package/dist/lib/util/humanFileSize.js +1 -1
  455. package/dist/lib/util/humanFileSize.js.map +1 -1
  456. package/dist/lib/util/invariant.d.ts +6 -5
  457. package/dist/lib/util/invariant.js +4 -2
  458. package/dist/lib/util/invariant.js.map +1 -1
  459. package/dist/lib/util/pastellize.js +2 -2
  460. package/dist/lib/util/pastellize.js.map +1 -1
  461. package/dist/lib/util/useIsomorphicLayoutEffect.js.map +1 -1
  462. package/dist/lib/util/useScrollToAnchor.js +2 -0
  463. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  464. package/dist/ts.js +3 -3
  465. package/dist/ts.js.map +1 -1
  466. package/dist/vite/api/SchemaManager.js +16 -12
  467. package/dist/vite/api/SchemaManager.js.map +1 -1
  468. package/dist/vite/api/schema-codegen.js +60 -42
  469. package/dist/vite/api/schema-codegen.js.map +1 -1
  470. package/dist/vite/api/schema-codegen.test.js +76 -3
  471. package/dist/vite/api/schema-codegen.test.js.map +1 -1
  472. package/dist/vite/build.js +1 -1
  473. package/dist/vite/build.js.map +1 -1
  474. package/dist/vite/config.js +6 -1
  475. package/dist/vite/config.js.map +1 -1
  476. package/dist/vite/dev-server.js +11 -3
  477. package/dist/vite/dev-server.js.map +1 -1
  478. package/dist/vite/error-handler.d.ts +2 -2
  479. package/dist/vite/error-handler.js.map +1 -1
  480. package/dist/vite/mdx/remark-inject-filepath.d.ts +3 -0
  481. package/dist/vite/mdx/remark-inject-filepath.js +6 -0
  482. package/dist/vite/mdx/remark-inject-filepath.js.map +1 -0
  483. package/dist/vite/mdx/remark-last-modified.js +0 -1
  484. package/dist/vite/mdx/remark-last-modified.js.map +1 -1
  485. package/dist/vite/mdx/remark-link-rewrite.d.ts +2 -0
  486. package/dist/vite/mdx/remark-link-rewrite.js +20 -0
  487. package/dist/vite/mdx/remark-link-rewrite.js.map +1 -0
  488. package/dist/vite/mdx/remark-normalize-image-url.d.ts +2 -0
  489. package/dist/vite/mdx/remark-normalize-image-url.js +12 -0
  490. package/dist/vite/mdx/remark-normalize-image-url.js.map +1 -0
  491. package/dist/vite/{remarkStaticGeneration.d.ts → mdx/remark-static-generation.d.ts} +2 -2
  492. package/dist/vite/{remarkStaticGeneration.js → mdx/remark-static-generation.js} +2 -2
  493. package/dist/vite/mdx/remark-static-generation.js.map +1 -0
  494. package/dist/vite/output.d.ts +1 -1
  495. package/dist/vite/output.js +1 -1
  496. package/dist/vite/output.js.map +1 -1
  497. package/dist/vite/plugin-api-keys.d.ts +1 -1
  498. package/dist/vite/plugin-api-keys.js +1 -1
  499. package/dist/vite/plugin-api-keys.js.map +1 -1
  500. package/dist/vite/plugin-api.js +4 -4
  501. package/dist/vite/plugin-api.js.map +1 -1
  502. package/dist/vite/plugin-auth.d.ts +1 -1
  503. package/dist/vite/plugin-auth.js +1 -1
  504. package/dist/vite/plugin-auth.js.map +1 -1
  505. package/dist/vite/plugin-component.d.ts +1 -1
  506. package/dist/vite/plugin-config-reload.d.ts +1 -1
  507. package/dist/vite/plugin-config.d.ts +1 -1
  508. package/dist/vite/plugin-config.js +2 -1
  509. package/dist/vite/plugin-config.js.map +1 -1
  510. package/dist/vite/plugin-custom-pages.d.ts +1 -1
  511. package/dist/vite/plugin-custom-pages.js +1 -1
  512. package/dist/vite/plugin-custom-pages.js.map +1 -1
  513. package/dist/vite/plugin-docs.js +20 -15
  514. package/dist/vite/plugin-docs.js.map +1 -1
  515. package/dist/vite/plugin-frontmatter.js +1 -1
  516. package/dist/vite/plugin-frontmatter.js.map +1 -1
  517. package/dist/vite/plugin-mdx.d.ts +1 -1
  518. package/dist/vite/plugin-mdx.js +11 -28
  519. package/dist/vite/plugin-mdx.js.map +1 -1
  520. package/dist/vite/plugin-metadata.d.ts +1 -1
  521. package/dist/vite/plugin-navigation.d.ts +2 -2
  522. package/dist/vite/plugin-navigation.js +34 -35
  523. package/dist/vite/plugin-navigation.js.map +1 -1
  524. package/dist/vite/plugin-redirect.d.ts +1 -1
  525. package/dist/vite/plugin-redirect.js +1 -1
  526. package/dist/vite/plugin-redirect.js.map +1 -1
  527. package/dist/vite/plugin-search.d.ts +1 -1
  528. package/dist/vite/plugin-search.js +1 -1
  529. package/dist/vite/plugin-search.js.map +1 -1
  530. package/dist/vite/plugin-shiki-register.js +1 -1
  531. package/dist/vite/plugin-shiki-register.js.map +1 -1
  532. package/dist/vite/plugin-theme.js +85 -45
  533. package/dist/vite/plugin-theme.js.map +1 -1
  534. package/dist/vite/plugin-theme.test.js +2 -0
  535. package/dist/vite/plugin-theme.test.js.map +1 -1
  536. package/dist/vite/plugin.d.ts +1 -1
  537. package/dist/vite/plugin.js +2 -2
  538. package/dist/vite/plugin.js.map +1 -1
  539. package/dist/vite/prerender/FileWritingResponse.js +5 -3
  540. package/dist/vite/prerender/FileWritingResponse.js.map +1 -1
  541. package/dist/vite/prerender/InMemoryResponse.js +3 -1
  542. package/dist/vite/prerender/InMemoryResponse.js.map +1 -1
  543. package/dist/vite/prerender/prerender.js +1 -1
  544. package/dist/vite/prerender/prerender.js.map +1 -1
  545. package/dist/vite/prerender/worker.d.ts +1 -1
  546. package/dist/vite/prerender/worker.js +5 -1
  547. package/dist/vite/prerender/worker.js.map +1 -1
  548. package/dist/vite/reporter.js +2 -2
  549. package/dist/vite/reporter.js.map +1 -1
  550. package/dist/vite/shadcn-registry.d.ts +8 -33
  551. package/dist/vite/sitemap.js +14 -13
  552. package/dist/vite/sitemap.js.map +1 -1
  553. package/dist/zuplo/enrich-with-zuplo.js +3 -3
  554. package/dist/zuplo/enrich-with-zuplo.js.map +1 -1
  555. package/dist/zuplo/policy-types.js +0 -1
  556. package/dist/zuplo/policy-types.js.map +1 -1
  557. package/dist/zuplo/with-zuplo.js +1 -1
  558. package/dist/zuplo/with-zuplo.js.map +1 -1
  559. package/lib/{Button-BE9IVkWV.js → Button-DTDRi4CT.js} +3 -3
  560. package/lib/{Button-BE9IVkWV.js.map → Button-DTDRi4CT.js.map} +1 -1
  561. package/lib/{Card-DPhGbYUM.js → Card-hTy9PAnh.js} +3 -3
  562. package/lib/{Card-DPhGbYUM.js.map → Card-hTy9PAnh.js.map} +1 -1
  563. package/lib/CategoryHeading-BGCNu3VK.js +17 -0
  564. package/lib/CategoryHeading-BGCNu3VK.js.map +1 -0
  565. package/lib/ClientOnly-E7hGysn1.js.map +1 -1
  566. package/lib/CodeBlock-Dg3uMMeq.js +178 -0
  567. package/lib/CodeBlock-Dg3uMMeq.js.map +1 -0
  568. package/lib/{Command-xsbs2uhf.js → Command-TEBTONf1.js} +23 -29
  569. package/lib/Command-TEBTONf1.js.map +1 -0
  570. package/lib/Dialog-VIMic7xI.js +114 -0
  571. package/lib/Dialog-VIMic7xI.js.map +1 -0
  572. package/lib/{Drawer-BzkOKwgC.js → Drawer-DM9wJUC6.js} +87 -87
  573. package/lib/Drawer-DM9wJUC6.js.map +1 -0
  574. package/lib/{Slot-tFjhrd8V.js → ErrorAlert-IEDm37qc.js} +2077 -2296
  575. package/lib/ErrorAlert-IEDm37qc.js.map +1 -0
  576. package/lib/{MdxPage-BFKqQsmK.js → MdxPage-ClcOjjPz.js} +30 -29
  577. package/lib/MdxPage-ClcOjjPz.js.map +1 -0
  578. package/lib/OAuthErrorPage-BvULWq8R.js +150 -0
  579. package/lib/OAuthErrorPage-BvULWq8R.js.map +1 -0
  580. package/lib/{OasProvider-Bdyvd6Ic.js → OasProvider-Gy3CjKTp.js} +5 -4
  581. package/lib/OasProvider-Gy3CjKTp.js.map +1 -0
  582. package/lib/{OperationList-YZ7k-Rkt.js → OperationList-BeQw8RZz.js} +570 -565
  583. package/lib/OperationList-BeQw8RZz.js.map +1 -0
  584. package/lib/{Pagination-EViy7EHt.js → Pagination-DS0uHY1B.js} +5 -5
  585. package/lib/{Pagination-EViy7EHt.js.map → Pagination-DS0uHY1B.js.map} +1 -1
  586. package/lib/RouteGuard-nFlgfJqk.js +56 -0
  587. package/lib/RouteGuard-nFlgfJqk.js.map +1 -0
  588. package/lib/RouterError-DPrYdVmB.js +41 -0
  589. package/lib/RouterError-DPrYdVmB.js.map +1 -0
  590. package/lib/{SchemaList--_f8Azv0.js → SchemaList-CYd9Awoq.js} +17 -16
  591. package/lib/{SchemaList--_f8Azv0.js.map → SchemaList-CYd9Awoq.js.map} +1 -1
  592. package/lib/SchemaView-CVfK5G-O.js +458 -0
  593. package/lib/SchemaView-CVfK5G-O.js.map +1 -0
  594. package/lib/Select-BPQp7Yqx.js +273 -0
  595. package/lib/Select-BPQp7Yqx.js.map +1 -0
  596. package/lib/{SignUp-CXCezG-m.js → SignUp-BeCdx65k.js} +9 -9
  597. package/lib/SignUp-BeCdx65k.js.map +1 -0
  598. package/lib/{Spinner-mNLZ6awP.js → Spinner-Cf6E803I.js} +2 -2
  599. package/lib/{Spinner-mNLZ6awP.js.map → Spinner-Cf6E803I.js.map} +1 -1
  600. package/lib/{SyntaxHighlight-Bp_UsIXG.js → SyntaxHighlight--o45zbws.js} +420 -419
  601. package/lib/SyntaxHighlight--o45zbws.js.map +1 -0
  602. package/lib/{Toc-Ck0YQtmd.js → Toc-DnPdxn-5.js} +4 -4
  603. package/lib/{Toc-Ck0YQtmd.js.map → Toc-DnPdxn-5.js.map} +1 -1
  604. package/lib/ZudokuContext-3cqbu21w.js +1285 -0
  605. package/lib/ZudokuContext-3cqbu21w.js.map +1 -0
  606. package/lib/chunk-QMGIS6GS-DqecZ6nq.js +9204 -0
  607. package/lib/chunk-QMGIS6GS-DqecZ6nq.js.map +1 -0
  608. package/lib/{circular-BtKlhs07.js → circular-CPIEHjmi.js} +2 -2
  609. package/lib/{circular-BtKlhs07.js.map → circular-CPIEHjmi.js.map} +1 -1
  610. package/lib/{cn-wvCW-ho6.js → cn-dYga0KKN.js} +2 -2
  611. package/lib/cn-dYga0KKN.js.map +1 -0
  612. package/lib/{createServer-Di2U1Dg0.js → createServer-BZsn8BU8.js} +3518 -3678
  613. package/lib/createServer-BZsn8BU8.js.map +1 -0
  614. package/lib/csharp-rrJEDRrV.js +53 -0
  615. package/lib/csharp-rrJEDRrV.js.map +1 -0
  616. package/lib/css-Dpk9bCql.js +54 -0
  617. package/lib/css-Dpk9bCql.js.map +1 -0
  618. package/lib/errors-CqArF-g5.js +45 -0
  619. package/lib/errors-CqArF-g5.js.map +1 -0
  620. package/lib/go-D8SJIQ0Z.js +25 -0
  621. package/lib/go-D8SJIQ0Z.js.map +1 -0
  622. package/lib/graphql-aeVKJNa2.js +25 -0
  623. package/lib/graphql-aeVKJNa2.js.map +1 -0
  624. package/lib/hook-ChlxzJwv.js +247 -0
  625. package/lib/hook-ChlxzJwv.js.map +1 -0
  626. package/lib/html-D_7om-nA.js +33 -0
  627. package/lib/html-D_7om-nA.js.map +1 -0
  628. package/lib/index-1GaxDljW.js +1058 -0
  629. package/lib/index-1GaxDljW.js.map +1 -0
  630. package/lib/{index-BTqwnlI5.js → index-B-Kgbpc6.js} +887 -959
  631. package/lib/index-B-Kgbpc6.js.map +1 -0
  632. package/lib/index-CrcNWbel.js.map +1 -1
  633. package/lib/index-DI5SPFK9.js.map +1 -1
  634. package/lib/{index-CeQqiMIG.js → index-DirFu7tw.js} +2 -2
  635. package/lib/{index-CeQqiMIG.js.map → index-DirFu7tw.js.map} +1 -1
  636. package/lib/{index-DmNq2fbN.js → index-nGbmHh_A.js} +2 -2
  637. package/lib/index-nGbmHh_A.js.map +1 -0
  638. package/lib/index.esm-BnYHxCYC.js +683 -0
  639. package/lib/index.esm-BnYHxCYC.js.map +1 -0
  640. package/lib/index.esm-CdzlRw50.js +1254 -0
  641. package/lib/index.esm-CdzlRw50.js.map +1 -0
  642. package/lib/{invariant-DAFpPywt.js → invariant-Bm-FVUQE.js} +2 -6
  643. package/lib/invariant-Bm-FVUQE.js.map +1 -0
  644. package/lib/java-DUh-EL8n.js +53 -0
  645. package/lib/java-DUh-EL8n.js.map +1 -0
  646. package/lib/javascript-CrY8dcGu.js +10 -0
  647. package/lib/javascript-CrY8dcGu.js.map +1 -0
  648. package/lib/json-DLK2_sdf.js +25 -0
  649. package/lib/json-DLK2_sdf.js.map +1 -0
  650. package/lib/{jsx-runtime-C5mzlN2N.js → jsx-runtime-DywqP_6a.js} +14 -14
  651. package/lib/{jsx-runtime-C5mzlN2N.js.map → jsx-runtime-DywqP_6a.js.map} +1 -1
  652. package/lib/kotlin-rJMOGl7D.js +37 -0
  653. package/lib/kotlin-rJMOGl7D.js.map +1 -0
  654. package/lib/markdown-BD9bIU5J.js +25 -0
  655. package/lib/markdown-BD9bIU5J.js.map +1 -0
  656. package/lib/mdx-G25UCvf3.js +32 -0
  657. package/lib/mdx-G25UCvf3.js.map +1 -0
  658. package/lib/mutation-DvBlWyBr.js +196 -0
  659. package/lib/mutation-DvBlWyBr.js.map +1 -0
  660. package/lib/objectivec-DDpj0aWX.js +32 -0
  661. package/lib/objectivec-DDpj0aWX.js.map +1 -0
  662. package/lib/php-BeG18bSy.js +25 -0
  663. package/lib/php-BeG18bSy.js.map +1 -0
  664. package/lib/processors/removeExtensions.js.map +1 -1
  665. package/lib/processors/removeParameters.js.map +1 -1
  666. package/lib/processors/removePaths.js.map +1 -1
  667. package/lib/processors/traverse.js.map +1 -1
  668. package/lib/python-BaF2byD-.js +32 -0
  669. package/lib/python-BaF2byD-.js.map +1 -0
  670. package/lib/react-CQvDN20M.js +24 -0
  671. package/lib/react-CQvDN20M.js.map +1 -0
  672. package/lib/ruby-CmxRVHMR.js +25 -0
  673. package/lib/ruby-CmxRVHMR.js.map +1 -0
  674. package/lib/rust-IfSC62c5.js +25 -0
  675. package/lib/rust-IfSC62c5.js.map +1 -0
  676. package/lib/shell-BFu0M6m4.js +25 -0
  677. package/lib/shell-BFu0M6m4.js.map +1 -0
  678. package/lib/swift-DckbsN4v.js +25 -0
  679. package/lib/swift-DckbsN4v.js.map +1 -0
  680. package/lib/toml-BJsCc8TC.js +32 -0
  681. package/lib/toml-BJsCc8TC.js.map +1 -0
  682. package/lib/typescript-7qOVMjOC.js +32 -0
  683. package/lib/typescript-7qOVMjOC.js.map +1 -0
  684. package/lib/ui/Accordion.js +2 -2
  685. package/lib/ui/Accordion.js.map +1 -1
  686. package/lib/ui/ActionButton.js +11 -11
  687. package/lib/ui/ActionButton.js.map +1 -1
  688. package/lib/ui/Alert.js +2 -2
  689. package/lib/ui/Alert.js.map +1 -1
  690. package/lib/ui/AlertDialog.js +2 -2
  691. package/lib/ui/AlertDialog.js.map +1 -1
  692. package/lib/ui/Badge.js +2 -2
  693. package/lib/ui/Badge.js.map +1 -1
  694. package/lib/ui/Breadcrumb.js +24 -23
  695. package/lib/ui/Breadcrumb.js.map +1 -1
  696. package/lib/ui/Button.js +2 -2
  697. package/lib/ui/Button.js.map +1 -1
  698. package/lib/ui/Callout.js +2 -2
  699. package/lib/ui/Callout.js.map +1 -1
  700. package/lib/ui/Card.js +2 -2
  701. package/lib/ui/Card.js.map +1 -1
  702. package/lib/ui/Carousel.js +2 -2
  703. package/lib/ui/Carousel.js.map +1 -1
  704. package/lib/ui/Checkbox.js +2 -2
  705. package/lib/ui/Checkbox.js.map +1 -1
  706. package/lib/ui/CodeBlock.js +5 -4
  707. package/lib/ui/CodeBlock.js.map +1 -1
  708. package/lib/ui/Command.js +22 -28
  709. package/lib/ui/Command.js.map +1 -1
  710. package/lib/ui/Dialog.js +56 -41
  711. package/lib/ui/Dialog.js.map +1 -1
  712. package/lib/ui/Drawer.js +3 -3
  713. package/lib/ui/DropdownMenu.js +2 -2
  714. package/lib/ui/DropdownMenu.js.map +1 -1
  715. package/lib/ui/EmbeddedCodeBlock.js +5 -5
  716. package/lib/ui/EmbeddedCodeBlock.js.map +1 -1
  717. package/lib/ui/Form.js +3 -3
  718. package/lib/ui/Form.js.map +1 -1
  719. package/lib/ui/HoverCard.js +2 -2
  720. package/lib/ui/HoverCard.js.map +1 -1
  721. package/lib/ui/Input.js +2 -2
  722. package/lib/ui/Input.js.map +1 -1
  723. package/lib/ui/Label.js +2 -2
  724. package/lib/ui/Label.js.map +1 -1
  725. package/lib/ui/Pagination.js +29 -30
  726. package/lib/ui/Pagination.js.map +1 -1
  727. package/lib/ui/Popover.js +2 -2
  728. package/lib/ui/Popover.js.map +1 -1
  729. package/lib/ui/Progress.js +2 -2
  730. package/lib/ui/Progress.js.map +1 -1
  731. package/lib/ui/RadioGroup.js +2 -2
  732. package/lib/ui/RadioGroup.js.map +1 -1
  733. package/lib/ui/ReactComponentDoc.js +28 -0
  734. package/lib/ui/ReactComponentDoc.js.map +1 -0
  735. package/lib/ui/ScrollArea.js +2 -2
  736. package/lib/ui/ScrollArea.js.map +1 -1
  737. package/lib/ui/Secret.js +96 -0
  738. package/lib/ui/Secret.js.map +1 -0
  739. package/lib/ui/Select.js +2 -2
  740. package/lib/ui/Select.js.map +1 -1
  741. package/lib/ui/Skeleton.js +2 -2
  742. package/lib/ui/Skeleton.js.map +1 -1
  743. package/lib/ui/Slider.js +2 -2
  744. package/lib/ui/Slider.js.map +1 -1
  745. package/lib/ui/Stepper.js +1 -1
  746. package/lib/ui/Stepper.js.map +1 -1
  747. package/lib/ui/Switch.js +2 -2
  748. package/lib/ui/Switch.js.map +1 -1
  749. package/lib/ui/SyntaxHighlight.js +5 -5
  750. package/lib/ui/Tabs.js +2 -2
  751. package/lib/ui/Tabs.js.map +1 -1
  752. package/lib/ui/Textarea.js +2 -2
  753. package/lib/ui/Textarea.js.map +1 -1
  754. package/lib/ui/Toggle.js +2 -2
  755. package/lib/ui/Toggle.js.map +1 -1
  756. package/lib/ui/ToggleGroup.js +2 -2
  757. package/lib/ui/ToggleGroup.js.map +1 -1
  758. package/lib/ui/Tooltip.js +2 -2
  759. package/lib/ui/Tooltip.js.map +1 -1
  760. package/lib/ui/Value.js +39 -0
  761. package/lib/ui/Value.js.map +1 -0
  762. package/lib/ui/util.js +1 -1
  763. package/lib/useCopyToClipboard-B_085nfO.js +14 -0
  764. package/lib/useCopyToClipboard-B_085nfO.js.map +1 -0
  765. package/lib/useExposedProps-BH9aq4MD.js +113 -0
  766. package/lib/useExposedProps-BH9aq4MD.js.map +1 -0
  767. package/lib/useLatest-hmRS46UF.js +11 -0
  768. package/lib/useLatest-hmRS46UF.js.map +1 -0
  769. package/lib/xml-DAaTIkBX.js +25 -0
  770. package/lib/xml-DAaTIkBX.js.map +1 -0
  771. package/lib/yaml-DUi-dbfu.js +32 -0
  772. package/lib/yaml-DUi-dbfu.js.map +1 -0
  773. package/lib/zudoku.__internal.js +2981 -0
  774. package/lib/zudoku.__internal.js.map +1 -0
  775. package/lib/zudoku.auth-auth0.js +1 -1
  776. package/lib/zudoku.auth-auth0.js.map +1 -1
  777. package/lib/zudoku.auth-azureb2c.js +46 -9880
  778. package/lib/zudoku.auth-azureb2c.js.map +1 -1
  779. package/lib/zudoku.auth-clerk.js +26 -23
  780. package/lib/zudoku.auth-clerk.js.map +1 -1
  781. package/lib/zudoku.auth-openid.js +204 -195
  782. package/lib/zudoku.auth-openid.js.map +1 -1
  783. package/lib/zudoku.auth-supabase.js +98 -0
  784. package/lib/zudoku.auth-supabase.js.map +1 -0
  785. package/lib/zudoku.components.js +23 -29
  786. package/lib/zudoku.components.js.map +1 -1
  787. package/lib/zudoku.hooks.js +7 -7
  788. package/lib/zudoku.hooks.js.map +1 -1
  789. package/lib/zudoku.icons.js +1 -1
  790. package/lib/zudoku.icons.js.map +1 -1
  791. package/lib/zudoku.plugin-api-catalog.js +47 -39
  792. package/lib/zudoku.plugin-api-catalog.js.map +1 -1
  793. package/lib/zudoku.plugin-api-keys.js +492 -316
  794. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  795. package/lib/zudoku.plugin-custom-pages.js +8 -5
  796. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  797. package/lib/zudoku.plugin-markdown.js +2 -2
  798. package/lib/zudoku.plugin-markdown.js.map +1 -1
  799. package/lib/zudoku.plugin-openapi.js +8 -7
  800. package/lib/zudoku.plugin-openapi.js.map +1 -1
  801. package/lib/zudoku.plugin-redirect.js +3 -3
  802. package/lib/zudoku.plugin-redirect.js.map +1 -1
  803. package/lib/zudoku.plugin-search-inkeep.js +1 -1
  804. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  805. package/lib/zudoku.plugin-search-pagefind.js +31 -30
  806. package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
  807. package/lib/zudoku.plugins.js.map +1 -1
  808. package/lib/zudoku.router.js +123 -0
  809. package/lib/zudoku.router.js.map +1 -0
  810. package/package.json +50 -57
  811. package/src/app/ZuploBuildConfig.ts +1 -1
  812. package/src/app/demo.tsx +1 -1
  813. package/src/app/entry.client.tsx +7 -6
  814. package/src/app/entry.server.tsx +4 -4
  815. package/src/app/env.ts +6 -6
  816. package/src/app/main.css +19 -7
  817. package/src/app/main.tsx +24 -12
  818. package/src/app/standalone.tsx +8 -3
  819. package/src/lib/MissingIcon.tsx +1 -1
  820. package/src/lib/assets/language-icons/csharp.tsx +35 -0
  821. package/src/lib/assets/language-icons/css.tsx +36 -0
  822. package/src/lib/assets/language-icons/go.tsx +19 -0
  823. package/src/lib/assets/language-icons/graphql.tsx +19 -0
  824. package/src/lib/assets/language-icons/html.tsx +24 -0
  825. package/src/lib/assets/language-icons/java.tsx +35 -0
  826. package/src/lib/assets/language-icons/javascript.tsx +11 -0
  827. package/src/lib/assets/language-icons/json.tsx +19 -0
  828. package/src/lib/assets/language-icons/kotlin.tsx +30 -0
  829. package/src/lib/assets/language-icons/markdown.tsx +19 -0
  830. package/src/lib/assets/language-icons/mdx.tsx +23 -0
  831. package/src/lib/assets/language-icons/objectivec.tsx +23 -0
  832. package/src/lib/assets/language-icons/php.tsx +19 -0
  833. package/src/lib/assets/language-icons/python.tsx +23 -0
  834. package/src/lib/assets/language-icons/react.tsx +21 -0
  835. package/src/lib/assets/language-icons/ruby.tsx +19 -0
  836. package/src/lib/assets/language-icons/rust.tsx +19 -0
  837. package/src/lib/assets/language-icons/shell.tsx +19 -0
  838. package/src/lib/assets/language-icons/swift.tsx +19 -0
  839. package/src/lib/assets/language-icons/toml.tsx +23 -0
  840. package/src/lib/assets/language-icons/typescript.tsx +23 -0
  841. package/src/lib/assets/language-icons/xml.tsx +19 -0
  842. package/src/lib/assets/language-icons/yaml.tsx +23 -0
  843. package/src/lib/auth/issuer.test.ts +1 -0
  844. package/src/lib/authentication/AuthenticationPlugin.tsx +4 -4
  845. package/src/lib/authentication/authentication.ts +3 -3
  846. package/src/lib/authentication/components/CallbackHandler.tsx +22 -15
  847. package/src/lib/authentication/components/OAuthErrorPage.tsx +171 -0
  848. package/src/lib/authentication/components/SignOut.tsx +1 -1
  849. package/src/lib/authentication/errors.ts +27 -13
  850. package/src/lib/authentication/hook.ts +2 -0
  851. package/src/lib/authentication/providers/auth0.tsx +5 -5
  852. package/src/lib/authentication/providers/azureb2c.tsx +12 -7
  853. package/src/lib/authentication/providers/clerk.tsx +9 -6
  854. package/src/lib/authentication/providers/openid.tsx +13 -7
  855. package/src/lib/authentication/providers/supabase.tsx +7 -6
  856. package/src/lib/authentication/use-broadcast/LICENSE.md +12 -3
  857. package/src/lib/authentication/use-broadcast/shared.ts +4 -4
  858. package/src/lib/authentication/use-broadcast/useBroadcast.ts +2 -2
  859. package/src/lib/components/AnchorLink.tsx +1 -1
  860. package/src/lib/components/Autocomplete.tsx +1 -1
  861. package/src/lib/components/Bootstrap.tsx +1 -0
  862. package/src/lib/components/BuildCheck.tsx +15 -4
  863. package/src/lib/components/Header.tsx +6 -6
  864. package/src/lib/components/Heading.tsx +3 -4
  865. package/src/lib/components/LanguageIcon.tsx +136 -0
  866. package/src/lib/components/Layout.tsx +3 -22
  867. package/src/lib/components/Markdown.tsx +8 -5
  868. package/src/lib/components/Meta.tsx +45 -0
  869. package/src/lib/components/MobileTopNavigation.tsx +16 -15
  870. package/src/lib/components/NotFoundPage.tsx +3 -2
  871. package/src/lib/components/PathRenderer.tsx +2 -2
  872. package/src/lib/components/Search.tsx +1 -1
  873. package/src/lib/components/Slot.test.tsx +8 -8
  874. package/src/lib/components/Slot.tsx +2 -2
  875. package/src/lib/components/TopNavigation.tsx +6 -6
  876. package/src/lib/components/Typography.tsx +1 -1
  877. package/src/lib/components/Zudoku.tsx +2 -2
  878. package/src/lib/components/context/ComponentsContext.tsx +2 -2
  879. package/src/lib/components/context/RouterEventsEmitter.tsx +1 -1
  880. package/src/lib/components/context/SlotProvider.tsx +4 -4
  881. package/src/lib/components/context/ViewportAnchorContext.tsx +2 -2
  882. package/src/lib/components/context/ZudokuContext.ts +27 -20
  883. package/src/lib/components/context/ZudokuProvider.tsx +1 -1
  884. package/src/lib/components/index.ts +3 -19
  885. package/src/lib/components/navigation/NavigationCategory.tsx +9 -2
  886. package/src/lib/components/navigation/NavigationItem.tsx +13 -3
  887. package/src/lib/components/navigation/NavigationWrapper.tsx +1 -1
  888. package/src/lib/components/navigation/Toc.tsx +2 -2
  889. package/src/lib/components/navigation/ZudokuLogo.tsx +1 -1
  890. package/src/lib/components/navigation/utils.ts +25 -20
  891. package/src/lib/core/RouteGuard.tsx +13 -13
  892. package/src/lib/core/ZudokuContext.ts +39 -6
  893. package/src/lib/core/__internal.tsx +30 -0
  894. package/src/lib/core/plugins.ts +2 -1
  895. package/src/lib/core/router.ts +1 -0
  896. package/src/lib/errors/ErrorAlert.tsx +5 -8
  897. package/src/lib/errors/TopLevelError.tsx +2 -4
  898. package/src/lib/hooks/useEvent.test.tsx +2 -2
  899. package/src/lib/oas/graphql/circular.ts +3 -3
  900. package/src/lib/oas/graphql/index.ts +20 -3
  901. package/src/lib/oas/parser/dereference/index.ts +2 -1
  902. package/src/lib/oas/parser/dereference/resolveRef.ts +4 -4
  903. package/src/lib/oas/parser/index.ts +2 -2
  904. package/src/lib/oas/parser/upgrade/index.ts +2 -1
  905. package/src/lib/plugins/api-catalog/Catalog.tsx +7 -0
  906. package/src/lib/plugins/api-keys/CreateApiKey.tsx +18 -4
  907. package/src/lib/plugins/api-keys/CreateApiKeyDialog.tsx +49 -0
  908. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +27 -56
  909. package/src/lib/plugins/api-keys/index.tsx +23 -18
  910. package/src/lib/plugins/custom-pages/index.tsx +4 -1
  911. package/src/lib/plugins/markdown/MdxPage.tsx +6 -6
  912. package/src/lib/plugins/markdown/index.tsx +1 -1
  913. package/src/lib/plugins/openapi/ColorizedParam.tsx +3 -1
  914. package/src/lib/plugins/openapi/Endpoint.tsx +2 -2
  915. package/src/lib/plugins/openapi/OasProvider.tsx +2 -1
  916. package/src/lib/plugins/openapi/OperationList.tsx +20 -10
  917. package/src/lib/plugins/openapi/OperationListItem.tsx +18 -20
  918. package/src/lib/plugins/openapi/ParamInfos.tsx +10 -9
  919. package/src/lib/plugins/openapi/ParameterList.tsx +3 -5
  920. package/src/lib/plugins/openapi/ParameterListItem.tsx +6 -12
  921. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +9 -7
  922. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +3 -2
  923. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +1 -1
  924. package/src/lib/plugins/openapi/Sidecar.tsx +5 -4
  925. package/src/lib/plugins/openapi/SidecarExamples.tsx +4 -11
  926. package/src/lib/plugins/openapi/StaggeredRender.tsx +1 -1
  927. package/src/lib/plugins/openapi/client/GraphQLContext.tsx +1 -1
  928. package/src/lib/plugins/openapi/client/createServer.ts +1 -2
  929. package/src/lib/plugins/openapi/client/useCreateQuery.ts +3 -2
  930. package/src/lib/plugins/openapi/context.tsx +1 -1
  931. package/src/lib/plugins/openapi/graphql/fragment-masking.ts +1 -2
  932. package/src/lib/plugins/openapi/graphql/gql.ts +6 -7
  933. package/src/lib/plugins/openapi/graphql/graphql.ts +8 -1
  934. package/src/lib/plugins/openapi/index.tsx +70 -19
  935. package/src/lib/plugins/openapi/interfaces.ts +6 -4
  936. package/src/lib/plugins/openapi/playground/BodyPanel.tsx +3 -3
  937. package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +3 -3
  938. package/src/lib/plugins/openapi/playground/Headers.tsx +1 -1
  939. package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +1 -1
  940. package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +1 -1
  941. package/src/lib/plugins/openapi/playground/PathParams.tsx +1 -1
  942. package/src/lib/plugins/openapi/playground/Playground.tsx +11 -5
  943. package/src/lib/plugins/openapi/playground/QueryParams.tsx +1 -1
  944. package/src/lib/plugins/openapi/playground/request-panel/UrlPath.tsx +1 -1
  945. package/src/lib/plugins/openapi/playground/request-panel/UrlQueryParams.tsx +1 -1
  946. package/src/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.tsx +3 -1
  947. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +3 -3
  948. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +1 -1
  949. package/src/lib/plugins/openapi/processors/removeExtensions.test.ts +1 -0
  950. package/src/lib/plugins/openapi/processors/removeParameters.test.ts +1 -0
  951. package/src/lib/plugins/openapi/processors/traverse.ts +1 -1
  952. package/src/lib/plugins/openapi/schema/{LogicalGroup/LogicalGroupConnector.tsx → AllOfGroup/AllOfGroupConnector.tsx} +4 -25
  953. package/src/lib/plugins/openapi/schema/{LogicalGroup/LogicalGroupItem.tsx → AllOfGroup/AllOfGroupItem.tsx} +3 -11
  954. package/src/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.tsx +42 -0
  955. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +9 -27
  956. package/src/lib/plugins/openapi/schema/SchemaView.tsx +35 -23
  957. package/src/lib/plugins/openapi/schema/UnionView.tsx +143 -0
  958. package/src/lib/plugins/openapi/schema/union-helpers.ts +124 -0
  959. package/src/lib/plugins/openapi/schema/utils.ts +0 -11
  960. package/src/lib/plugins/openapi/util/createHttpSnippet.ts +2 -2
  961. package/src/lib/plugins/openapi/util/createNavigationCategory.tsx +1 -0
  962. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +3 -4
  963. package/src/lib/plugins/openapi/util/getRoutes.tsx +2 -2
  964. package/src/lib/plugins/openapi/util/methodColorMap.tsx +1 -1
  965. package/src/lib/plugins/search-inkeep/index.tsx +3 -3
  966. package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +2 -4
  967. package/src/lib/plugins/search-pagefind/ResultList.tsx +3 -4
  968. package/src/lib/plugins/search-pagefind/get-results.tsx +0 -1
  969. package/src/lib/shiki.ts +12 -6
  970. package/src/lib/ui/ActionButton.tsx +3 -1
  971. package/src/lib/ui/Breadcrumb.tsx +1 -0
  972. package/src/lib/ui/Carousel.tsx +1 -0
  973. package/src/lib/ui/CodeBlock.tsx +10 -16
  974. package/src/lib/ui/Command.tsx +2 -4
  975. package/src/lib/ui/Dialog.tsx +12 -4
  976. package/src/lib/ui/EmbeddedCodeBlock.tsx +1 -1
  977. package/src/lib/ui/Form.tsx +4 -4
  978. package/src/lib/ui/Pagination.tsx +1 -2
  979. package/src/lib/ui/ReactComponentDoc.tsx +68 -0
  980. package/src/lib/ui/Secret.tsx +106 -0
  981. package/src/lib/ui/ToggleGroup.tsx +1 -1
  982. package/src/lib/ui/Value.tsx +42 -0
  983. package/src/lib/util/MdxComponents.tsx +13 -3
  984. package/src/lib/util/cn.ts +1 -1
  985. package/src/lib/util/createVariantComponent.tsx +2 -2
  986. package/src/lib/util/groupBy.ts +1 -0
  987. package/src/lib/util/humanFileSize.ts +2 -3
  988. package/src/lib/util/invariant.ts +8 -5
  989. package/src/lib/util/pastellize.ts +2 -2
  990. package/src/lib/util/types.ts +1 -1
  991. package/src/lib/util/useIsomorphicLayoutEffect.ts +1 -0
  992. package/src/lib/util/useScrollToAnchor.ts +3 -1
  993. package/src/shiki/langs/vue-vine.js +1 -0
  994. package/dist/lib/components/ReactMarkdown.d.ts +0 -29
  995. package/dist/lib/components/ReactMarkdown.js +0 -182
  996. package/dist/lib/components/ReactMarkdown.js.map +0 -1
  997. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +0 -8
  998. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +0 -14
  999. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +0 -1
  1000. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +0 -7
  1001. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +0 -17
  1002. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +0 -1
  1003. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +0 -10
  1004. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +0 -1
  1005. package/dist/vite/remarkStaticGeneration.js.map +0 -1
  1006. package/lib/Alert-SijAp9LN.js +0 -161
  1007. package/lib/Alert-SijAp9LN.js.map +0 -1
  1008. package/lib/CodeBlock-DAKxs_Tu.js +0 -85
  1009. package/lib/CodeBlock-DAKxs_Tu.js.map +0 -1
  1010. package/lib/Command-xsbs2uhf.js.map +0 -1
  1011. package/lib/Dialog-CiIdyz6a.js +0 -99
  1012. package/lib/Dialog-CiIdyz6a.js.map +0 -1
  1013. package/lib/Drawer-BzkOKwgC.js.map +0 -1
  1014. package/lib/MdxPage-BFKqQsmK.js.map +0 -1
  1015. package/lib/OasProvider-Bdyvd6Ic.js.map +0 -1
  1016. package/lib/OperationList-YZ7k-Rkt.js.map +0 -1
  1017. package/lib/RouteGuard-CX6A77iy.js +0 -737
  1018. package/lib/RouteGuard-CX6A77iy.js.map +0 -1
  1019. package/lib/SchemaView-7XWvSrbX.js +0 -366
  1020. package/lib/SchemaView-7XWvSrbX.js.map +0 -1
  1021. package/lib/SignUp-CXCezG-m.js.map +0 -1
  1022. package/lib/Slot-tFjhrd8V.js.map +0 -1
  1023. package/lib/SyntaxHighlight-Bp_UsIXG.js.map +0 -1
  1024. package/lib/chunk-DQRVZFIR-DHK7_Ilc.js +0 -1839
  1025. package/lib/chunk-DQRVZFIR-DHK7_Ilc.js.map +0 -1
  1026. package/lib/clerk-BDZ31hjU.js +0 -25190
  1027. package/lib/clerk-BDZ31hjU.js.map +0 -1
  1028. package/lib/cn-wvCW-ho6.js.map +0 -1
  1029. package/lib/createServer-Di2U1Dg0.js.map +0 -1
  1030. package/lib/errors-Dv_yAK6M.js +0 -78
  1031. package/lib/errors-Dv_yAK6M.js.map +0 -1
  1032. package/lib/hook-CZjW2buS.js +0 -1510
  1033. package/lib/hook-CZjW2buS.js.map +0 -1
  1034. package/lib/index-BTqwnlI5.js.map +0 -1
  1035. package/lib/index-Bm35Tkgf.js +0 -107
  1036. package/lib/index-Bm35Tkgf.js.map +0 -1
  1037. package/lib/index-DKCEJ4Kd.js +0 -3980
  1038. package/lib/index-DKCEJ4Kd.js.map +0 -1
  1039. package/lib/index-DmNq2fbN.js.map +0 -1
  1040. package/lib/index.esm-Cp4wkyud.js +0 -1236
  1041. package/lib/index.esm-Cp4wkyud.js.map +0 -1
  1042. package/lib/invariant-DAFpPywt.js.map +0 -1
  1043. package/lib/useExposedProps-BIYjecPD.js +0 -9
  1044. package/lib/useExposedProps-BIYjecPD.js.map +0 -1
  1045. package/src/lib/components/ReactMarkdown.license.txt +0 -21
  1046. package/src/lib/components/ReactMarkdown.tsx +0 -264
  1047. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +0 -40
@@ -1,9 +1,9 @@
1
- import { j as at } from "./jsx-runtime-C5mzlN2N.js";
1
+ import { j as at } from "./jsx-runtime-DywqP_6a.js";
2
2
  import { Fragment as rs, memo as os } from "react";
3
- import { d as ss } from "./hook-CZjW2buS.js";
4
- import { c as as } from "./cn-wvCW-ho6.js";
5
- import { g as is, i as ls } from "./invariant-DAFpPywt.js";
6
- import { C as us } from "./CodeBlock-DAKxs_Tu.js";
3
+ import { d as ss } from "./ZudokuContext-3cqbu21w.js";
4
+ import { c as as } from "./cn-dYga0KKN.js";
5
+ import { g as is, i as ls } from "./invariant-Bm-FVUQE.js";
6
+ import { C as us } from "./CodeBlock-Dg3uMMeq.js";
7
7
  import { EmbeddedCodeBlock as cs } from "./ui/EmbeddedCodeBlock.js";
8
8
  function eh() {
9
9
  }
@@ -25,9 +25,9 @@ function Ir(t, e) {
25
25
  (n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")
26
26
  ).trim();
27
27
  }
28
- const hs = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, ps = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, fs = {};
28
+ const hs = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, fs = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, ps = {};
29
29
  function In(t, e) {
30
- return (fs.jsx ? ps : hs).test(t);
30
+ return (ps.jsx ? fs : hs).test(t);
31
31
  }
32
32
  const ds = /[ \t\n\f\r]/g;
33
33
  function Ct(t) {
@@ -89,7 +89,7 @@ W.prototype.property = "";
89
89
  W.prototype.spaceSeparated = !1;
90
90
  W.prototype.space = void 0;
91
91
  let gs = 0;
92
- const x = ye(), $ = ye(), Pr = ye(), b = ye(), I = ye(), xe = ye(), q = ye();
92
+ const x = ye(), $ = ye(), Lr = ye(), b = ye(), I = ye(), xe = ye(), q = ye();
93
93
  function ye() {
94
94
  return 2 ** ++gs;
95
95
  }
@@ -100,7 +100,7 @@ const Ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
100
100
  commaOrSpaceSeparated: q,
101
101
  commaSeparated: xe,
102
102
  number: b,
103
- overloadedBoolean: Pr,
103
+ overloadedBoolean: Lr,
104
104
  spaceSeparated: I
105
105
  }, Symbol.toStringTag, { value: "Module" })), At = (
106
106
  /** @type {ReadonlyArray<keyof typeof types>} */
@@ -122,15 +122,15 @@ let hn = class extends W {
122
122
  */
123
123
  constructor(e, n, r, o) {
124
124
  let s = -1;
125
- if (super(e, n), Pn(this, "space", o), typeof r == "number")
125
+ if (super(e, n), Ln(this, "space", o), typeof r == "number")
126
126
  for (; ++s < At.length; ) {
127
127
  const a = At[s];
128
- Pn(this, At[s], (r & Ht[a]) === Ht[a]);
128
+ Ln(this, At[s], (r & Ht[a]) === Ht[a]);
129
129
  }
130
130
  }
131
131
  };
132
132
  hn.prototype.defined = !0;
133
- function Pn(t, e, n) {
133
+ function Ln(t, e, n) {
134
134
  n && (t[e] = n);
135
135
  }
136
136
  function Ie(t) {
@@ -146,7 +146,7 @@ function Ie(t) {
146
146
  }
147
147
  return new qe(e, n, t.space);
148
148
  }
149
- const Lr = Ie({
149
+ const Pr = Ie({
150
150
  properties: {
151
151
  ariaActiveDescendant: null,
152
152
  ariaAtomic: $,
@@ -256,7 +256,7 @@ const ms = Ie({
256
256
  dir: null,
257
257
  dirName: null,
258
258
  disabled: x,
259
- download: Pr,
259
+ download: Lr,
260
260
  draggable: $,
261
261
  encType: null,
262
262
  enterKeyHint: null,
@@ -1171,7 +1171,7 @@ const ms = Ie({
1171
1171
  xLinkTitle: "xlinkTitle",
1172
1172
  xLinkType: "xlinkType",
1173
1173
  xmlnsXLink: "xmlnsXlink"
1174
- }, ws = /[A-Z]/g, Ln = /-[a-z]/g, Cs = /^data[-\w.:]+$/i;
1174
+ }, ws = /[A-Z]/g, Pn = /-[a-z]/g, Cs = /^data[-\w.:]+$/i;
1175
1175
  function _s(t, e) {
1176
1176
  const n = zt(e);
1177
1177
  let r = e, o = W;
@@ -1179,11 +1179,11 @@ function _s(t, e) {
1179
1179
  return t.property[t.normal[n]];
1180
1180
  if (n.length > 4 && n.slice(0, 4) === "data" && Cs.test(e)) {
1181
1181
  if (e.charAt(4) === "-") {
1182
- const s = e.slice(5).replace(Ln, ks);
1182
+ const s = e.slice(5).replace(Pn, ks);
1183
1183
  r = "data" + s.charAt(0).toUpperCase() + s.slice(1);
1184
1184
  } else {
1185
1185
  const s = e.slice(4);
1186
- if (!Ln.test(s)) {
1186
+ if (!Pn.test(s)) {
1187
1187
  let a = s.replace(ws, Ss);
1188
1188
  a.charAt(0) !== "-" && (a = "-" + a), e = "data" + a;
1189
1189
  }
@@ -1198,7 +1198,7 @@ function Ss(t) {
1198
1198
  function ks(t) {
1199
1199
  return t.charAt(1).toUpperCase();
1200
1200
  }
1201
- const vs = Nr([Lr, ms, Mr, Or, Dr], "html"), pn = Nr([Lr, ys, Mr, Or, Dr], "svg");
1201
+ const vs = Nr([Pr, ms, Mr, Or, Dr], "html"), fn = Nr([Pr, ys, Mr, Or, Dr], "svg");
1202
1202
  function ah(t) {
1203
1203
  const e = String(t || "").trim();
1204
1204
  return e ? e.split(/[ \t\n\r\f]+/g) : [];
@@ -1211,7 +1211,7 @@ function xs() {
1211
1211
  if ($n) return Rt;
1212
1212
  $n = 1;
1213
1213
  var t = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, e = /\n/g, n = /^\s*/, r = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, o = /^:\s*/, s = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, a = /^[;\s]*/, i = /^\s+|\s+$/g, l = `
1214
- `, u = "/", c = "*", h = "", f = "comment", d = "declaration";
1214
+ `, u = "/", c = "*", h = "", p = "comment", d = "declaration";
1215
1215
  Rt = function(g, C) {
1216
1216
  if (typeof g != "string")
1217
1217
  throw new TypeError("First argument must be a string");
@@ -1240,7 +1240,7 @@ function xs() {
1240
1240
  );
1241
1241
  if (k.reason = R, k.filename = C.source, k.line = y, k.column = m, k.source = g, !C.silent) throw k;
1242
1242
  }
1243
- function P(R) {
1243
+ function L(R) {
1244
1244
  var k = R.exec(g);
1245
1245
  if (k) {
1246
1246
  var G = k[0];
@@ -1248,7 +1248,7 @@ function xs() {
1248
1248
  }
1249
1249
  }
1250
1250
  function j() {
1251
- P(n);
1251
+ L(n);
1252
1252
  }
1253
1253
  function Z(R) {
1254
1254
  var k;
@@ -1265,21 +1265,21 @@ function xs() {
1265
1265
  return D("End of comment missing");
1266
1266
  var G = g.slice(2, k - 2);
1267
1267
  return m += 2, _(G), g = g.slice(k), m += 2, R({
1268
- type: f,
1268
+ type: p,
1269
1269
  comment: G
1270
1270
  });
1271
1271
  }
1272
1272
  }
1273
1273
  function ce() {
1274
- var R = S(), k = P(r);
1274
+ var R = S(), k = L(r);
1275
1275
  if (k) {
1276
- if (ee(), !P(o)) return D("property missing ':'");
1277
- var G = P(s), Te = R({
1276
+ if (ee(), !L(o)) return D("property missing ':'");
1277
+ var G = L(s), Te = R({
1278
1278
  type: d,
1279
- property: p(k[0].replace(t, h)),
1280
- value: G ? p(G[0].replace(t, h)) : h
1279
+ property: f(k[0].replace(t, h)),
1280
+ value: G ? f(G[0].replace(t, h)) : h
1281
1281
  });
1282
- return P(a), Te;
1282
+ return L(a), Te;
1283
1283
  }
1284
1284
  }
1285
1285
  function te() {
@@ -1291,7 +1291,7 @@ function xs() {
1291
1291
  }
1292
1292
  return j(), te();
1293
1293
  };
1294
- function p(g) {
1294
+ function f(g) {
1295
1295
  return g ? g.replace(i, h) : h;
1296
1296
  }
1297
1297
  return Rt;
@@ -1350,7 +1350,7 @@ function Rs() {
1350
1350
  return r.default = r, Oe = r, Oe;
1351
1351
  }
1352
1352
  var Is = Rs();
1353
- const Ns = /* @__PURE__ */ is(Is), Ps = Br("end"), Fr = Br("start");
1353
+ const Ns = /* @__PURE__ */ is(Is), Ls = Br("end"), Fr = Br("start");
1354
1354
  function Br(t) {
1355
1355
  return e;
1356
1356
  function e(n) {
@@ -1364,11 +1364,11 @@ function Br(t) {
1364
1364
  }
1365
1365
  }
1366
1366
  function ih(t) {
1367
- const e = Fr(t), n = Ps(t);
1367
+ const e = Fr(t), n = Ls(t);
1368
1368
  if (e && n)
1369
1369
  return { start: e, end: n };
1370
1370
  }
1371
- function Ls(t) {
1371
+ function Ps(t) {
1372
1372
  return !t || typeof t != "object" ? "" : "position" in t || "type" in t ? Dn(t.position) : "start" in t || "end" in t ? Dn(t) : "line" in t || "column" in t ? Wt(t) : "";
1373
1373
  }
1374
1374
  function Wt(t) {
@@ -1451,7 +1451,7 @@ class H extends Error {
1451
1451
  l && (s.place = l.position);
1452
1452
  }
1453
1453
  const i = s.place && "start" in s.place ? s.place.start : s.place;
1454
- this.ancestors = s.ancestors || void 0, this.cause = s.cause || void 0, this.column = i ? i.column : void 0, this.fatal = void 0, this.file, this.message = o, this.line = i ? i.line : void 0, this.name = Ls(s.place) || "1:1", this.place = s.place || void 0, this.reason = this.message, this.ruleId = s.ruleId || void 0, this.source = s.source || void 0, this.stack = a && s.cause && typeof s.cause.stack == "string" ? s.cause.stack : "", this.actual, this.expected, this.note, this.url;
1454
+ this.ancestors = s.ancestors || void 0, this.cause = s.cause || void 0, this.column = i ? i.column : void 0, this.fatal = void 0, this.file, this.message = o, this.line = i ? i.line : void 0, this.name = Ps(s.place) || "1:1", this.place = s.place || void 0, this.reason = this.message, this.ruleId = s.ruleId || void 0, this.source = s.source || void 0, this.stack = a && s.cause && typeof s.cause.stack == "string" ? s.cause.stack : "", this.actual, this.expected, this.note, this.url;
1455
1455
  }
1456
1456
  }
1457
1457
  H.prototype.file = "";
@@ -1467,7 +1467,7 @@ H.prototype.fatal = void 0;
1467
1467
  H.prototype.place = void 0;
1468
1468
  H.prototype.ruleId = void 0;
1469
1469
  H.prototype.source = void 0;
1470
- const fn = {}.hasOwnProperty, $s = /* @__PURE__ */ new Map(), Ts = /[A-Z]/g, Ms = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), Os = /* @__PURE__ */ new Set(["td", "th"]), jr = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
1470
+ const pn = {}.hasOwnProperty, $s = /* @__PURE__ */ new Map(), Ts = /[A-Z]/g, Ms = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), Os = /* @__PURE__ */ new Set(["td", "th"]), jr = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
1471
1471
  function Ds(t, e) {
1472
1472
  if (!e || e.Fragment === void 0)
1473
1473
  throw new TypeError("Expected `Fragment` in options");
@@ -1497,7 +1497,7 @@ function Ds(t, e) {
1497
1497
  ignoreInvalidStyle: e.ignoreInvalidStyle || !1,
1498
1498
  passKeys: e.passKeys !== !1,
1499
1499
  passNode: e.passNode || !1,
1500
- schema: e.space === "svg" ? pn : vs,
1500
+ schema: e.space === "svg" ? fn : vs,
1501
1501
  stylePropertyNameCase: e.stylePropertyNameCase || "dom",
1502
1502
  tableCellAlignToStyle: e.tableCellAlignToStyle !== !1
1503
1503
  }, s = Ur(o, t, void 0);
@@ -1525,7 +1525,7 @@ function Ur(t, e, n) {
1525
1525
  function Gs(t, e, n) {
1526
1526
  const r = t.schema;
1527
1527
  let o = r;
1528
- e.tagName.toLowerCase() === "svg" && r.space === "html" && (o = pn, t.schema = o), t.ancestors.push(e);
1528
+ e.tagName.toLowerCase() === "svg" && r.space === "html" && (o = fn, t.schema = o), t.ancestors.push(e);
1529
1529
  const s = Hr(t, e.tagName, !1), a = Vs(t, e);
1530
1530
  let i = gn(t, e);
1531
1531
  return Ms.has(e.tagName) && (i = i.filter(function(l) {
@@ -1551,7 +1551,7 @@ function Bs(t, e) {
1551
1551
  function js(t, e, n) {
1552
1552
  const r = t.schema;
1553
1553
  let o = r;
1554
- e.name === "svg" && r.space === "html" && (o = pn, t.schema = o), t.ancestors.push(e);
1554
+ e.name === "svg" && r.space === "html" && (o = fn, t.schema = o), t.ancestors.push(e);
1555
1555
  const s = e.name === null ? t.Fragment : Hr(t, e.name, !0), a = qs(t, e), i = gn(t, e);
1556
1556
  return zr(t, a, s, e), dn(a, i), t.ancestors.pop(), t.schema = r, t.create(e, s, a, n);
1557
1557
  }
@@ -1600,7 +1600,7 @@ function Vs(t, e) {
1600
1600
  const n = {};
1601
1601
  let r, o;
1602
1602
  for (o in e.properties)
1603
- if (o !== "children" && fn.call(e.properties, o)) {
1603
+ if (o !== "children" && pn.call(e.properties, o)) {
1604
1604
  const s = Xs(t, o, e.properties[o]);
1605
1605
  if (s) {
1606
1606
  const [a, i] = s;
@@ -1723,7 +1723,7 @@ function Hr(t, e, n) {
1723
1723
  /** @type {string | number} */
1724
1724
  r.value
1725
1725
  );
1726
- return fn.call(t.components, o) ? t.components[o] : o;
1726
+ return pn.call(t.components, o) ? t.components[o] : o;
1727
1727
  }
1728
1728
  if (t.evaluater)
1729
1729
  return t.evaluater.evaluateExpression(r);
@@ -1745,7 +1745,7 @@ function Ys(t) {
1745
1745
  const e = {};
1746
1746
  let n;
1747
1747
  for (n in t)
1748
- fn.call(t, n) && (e[Js(n)] = t[n]);
1748
+ pn.call(t, n) && (e[Js(n)] = t[n]);
1749
1749
  return e;
1750
1750
  }
1751
1751
  function Js(t) {
@@ -1855,13 +1855,13 @@ function aa(t, e, n, r) {
1855
1855
  typeof h.name == "string" ? h.name : void 0
1856
1856
  )
1857
1857
  );
1858
- Object.defineProperty(f, "name", {
1858
+ Object.defineProperty(p, "name", {
1859
1859
  value: "node (" + (l.type + (d ? "<" + d + ">" : "")) + ")"
1860
1860
  });
1861
1861
  }
1862
- return f;
1863
- function f() {
1864
- let d = Vr, p, g, C;
1862
+ return p;
1863
+ function p() {
1864
+ let d = Vr, f, g, C;
1865
1865
  if ((!e || s(l, u, c[c.length - 1] || void 0)) && (d = ia(n(l, c)), d[0] === Fn))
1866
1866
  return d;
1867
1867
  if ("children" in l && l.children) {
@@ -1872,9 +1872,9 @@ function aa(t, e, n, r) {
1872
1872
  if (y.children && d[0] !== sa)
1873
1873
  for (g = (r ? y.children.length : -1) + a, C = c.concat(y); g > -1 && g < y.children.length; ) {
1874
1874
  const m = y.children[g];
1875
- if (p = i(m, g, C)(), p[0] === Fn)
1876
- return p;
1877
- g = typeof p[1] == "number" ? p[1] : g + a;
1875
+ if (f = i(m, g, C)(), f[0] === Fn)
1876
+ return f;
1877
+ g = typeof f[1] == "number" ? f[1] : g + a;
1878
1878
  }
1879
1879
  }
1880
1880
  return d;
@@ -1947,7 +1947,7 @@ function ca(t) {
1947
1947
  return mn(t);
1948
1948
  }
1949
1949
  function mn(t) {
1950
- return Array.isArray(t) ? ha(t) : t instanceof RegExp ? t : typeof t == "object" ? pa(t) : t;
1950
+ return Array.isArray(t) ? ha(t) : t instanceof RegExp ? t : typeof t == "object" ? fa(t) : t;
1951
1951
  }
1952
1952
  function ha(t) {
1953
1953
  let e = [];
@@ -1955,7 +1955,7 @@ function ha(t) {
1955
1955
  e[n] = mn(t[n]);
1956
1956
  return e;
1957
1957
  }
1958
- function pa(t) {
1958
+ function fa(t) {
1959
1959
  let e = {};
1960
1960
  for (let n in t)
1961
1961
  e[n] = mn(t[n]);
@@ -2056,7 +2056,7 @@ var Qr = class {
2056
2056
  if (t === null)
2057
2057
  return this._defaults;
2058
2058
  const e = t.scopeName, r = this._cachedMatchRoot.get(e).find(
2059
- (o) => fa(t.parent, o.parentScopes)
2059
+ (o) => pa(t.parent, o.parentScopes)
2060
2060
  );
2061
2061
  return r ? new eo(
2062
2062
  r.fontStyle,
@@ -2103,7 +2103,7 @@ var Qr = class {
2103
2103
  return r === e ? n.reverse() : void 0;
2104
2104
  }
2105
2105
  };
2106
- function fa(t, e) {
2106
+ function pa(t, e) {
2107
2107
  if (e.length === 0)
2108
2108
  return !0;
2109
2109
  for (let n = 0; n < e.length; n++) {
@@ -2151,8 +2151,8 @@ function ga(t) {
2151
2151
  if (typeof a.settings.fontStyle == "string") {
2152
2152
  l = 0;
2153
2153
  let h = a.settings.fontStyle.split(" ");
2154
- for (let f = 0, d = h.length; f < d; f++)
2155
- switch (h[f]) {
2154
+ for (let p = 0, d = h.length; p < d; p++)
2155
+ switch (h[p]) {
2156
2156
  case "italic":
2157
2157
  l = l | 1;
2158
2158
  break;
@@ -2171,9 +2171,9 @@ function ga(t) {
2171
2171
  typeof a.settings.foreground == "string" && Un(a.settings.foreground) && (u = a.settings.foreground);
2172
2172
  let c = null;
2173
2173
  typeof a.settings.background == "string" && Un(a.settings.background) && (c = a.settings.background);
2174
- for (let h = 0, f = i.length; h < f; h++) {
2175
- let p = i[h].trim().split(" "), g = p[p.length - 1], C = null;
2176
- p.length > 1 && (C = p.slice(0, p.length - 1), C.reverse()), n[r++] = new ma(
2174
+ for (let h = 0, p = i.length; h < p; h++) {
2175
+ let f = i[h].trim().split(" "), g = f[f.length - 1], C = null;
2176
+ f.length > 1 && (C = f.slice(0, f.length - 1), C.reverse()), n[r++] = new ma(
2177
2177
  g,
2178
2178
  C,
2179
2179
  o,
@@ -2342,8 +2342,8 @@ var ba = class {
2342
2342
  * A value of `0`, `NotSet` or `null` indicates that the corresponding field should be left as is.
2343
2343
  */
2344
2344
  static set(e, n, r, o, s, a, i) {
2345
- let l = K.getLanguageId(e), u = K.getTokenType(e), c = K.containsBalancedBrackets(e) ? 1 : 0, h = K.getFontStyle(e), f = K.getForeground(e), d = K.getBackground(e);
2346
- return n !== 0 && (l = n), r !== 8 && (u = r), o !== null && (c = o ? 1 : 0), s !== -1 && (h = s), a !== 0 && (f = a), i !== 0 && (d = i), (l << 0 | u << 8 | c << 10 | h << 11 | f << 15 | d << 24) >>> 0;
2345
+ let l = K.getLanguageId(e), u = K.getTokenType(e), c = K.containsBalancedBrackets(e) ? 1 : 0, h = K.getFontStyle(e), p = K.getForeground(e), d = K.getBackground(e);
2346
+ return n !== 0 && (l = n), r !== 8 && (u = r), o !== null && (c = o ? 1 : 0), s !== -1 && (h = s), a !== 0 && (p = a), i !== 0 && (d = i), (l << 0 | u << 8 | c << 10 | h << 11 | p << 15 | d << 24) >>> 0;
2347
2347
  }
2348
2348
  };
2349
2349
  function lt(t, e) {
@@ -2579,7 +2579,7 @@ function ro(t) {
2579
2579
  return new Na(n, r);
2580
2580
  }
2581
2581
  }
2582
- var Pa = /\\(\d+)/, Hn = /\\(\d+)/g, La = -1, oo = -2;
2582
+ var La = /\\(\d+)/, Hn = /\\(\d+)/g, Pa = -1, oo = -2;
2583
2583
  var Xe = class {
2584
2584
  $location;
2585
2585
  id;
@@ -2848,11 +2848,11 @@ var Xe = class {
2848
2848
  break;
2849
2849
  case 3:
2850
2850
  case 4:
2851
- const h = u.scopeName, f = u.kind === 4 ? u.ruleName : null, d = n.getExternalGrammar(h, r);
2851
+ const h = u.scopeName, p = u.kind === 4 ? u.ruleName : null, d = n.getExternalGrammar(h, r);
2852
2852
  if (d)
2853
- if (f) {
2854
- let p = d.repository[f];
2855
- p && (l = U.getCompiledRuleId(p, n, d.repository));
2853
+ if (p) {
2854
+ let f = d.repository[p];
2855
+ f && (l = U.getCompiledRuleId(f, n, d.repository));
2856
2856
  } else
2857
2857
  l = U.getCompiledRuleId(d.repository.$self, n, d.repository);
2858
2858
  break;
@@ -2890,7 +2890,7 @@ var Xe = class {
2890
2890
  this.hasAnchor = a, o === 0 ? this.source = e : (s.push(e.substring(o, r)), this.source = s.join(""));
2891
2891
  } else
2892
2892
  this.hasAnchor = !1, this.source = e;
2893
- this.hasAnchor ? this._anchorCache = this._buildAnchorCache() : this._anchorCache = null, this.ruleId = n, typeof this.source == "string" ? this.hasBackReferences = Pa.test(this.source) : this.hasBackReferences = !1;
2893
+ this.hasAnchor ? this._anchorCache = this._buildAnchorCache() : this._anchorCache = null, this.ruleId = n, typeof this.source == "string" ? this.hasBackReferences = La.test(this.source) : this.hasBackReferences = !1;
2894
2894
  }
2895
2895
  clone() {
2896
2896
  return new ao(this.source, this.ruleId);
@@ -2987,7 +2987,7 @@ var Xe = class {
2987
2987
  captureIndices: r.captureIndices
2988
2988
  } : null;
2989
2989
  }
2990
- }, Pt = class {
2990
+ }, Lt = class {
2991
2991
  constructor(t, e) {
2992
2992
  this.languageId = t, this.tokenType = e;
2993
2993
  }
@@ -2995,7 +2995,7 @@ var Xe = class {
2995
2995
  _defaultAttributes;
2996
2996
  _embeddedLanguagesMatcher;
2997
2997
  constructor(e, n) {
2998
- this._defaultAttributes = new Pt(
2998
+ this._defaultAttributes = new Lt(
2999
2999
  e,
3000
3000
  8
3001
3001
  /* NotSet */
@@ -3007,10 +3007,10 @@ var Xe = class {
3007
3007
  getBasicScopeAttributes(e) {
3008
3008
  return e === null ? Yt._NULL_SCOPE_METADATA : this._getBasicScopeAttributes.get(e);
3009
3009
  }
3010
- static _NULL_SCOPE_METADATA = new Pt(0, 0);
3010
+ static _NULL_SCOPE_METADATA = new Lt(0, 0);
3011
3011
  _getBasicScopeAttributes = new Qr((e) => {
3012
3012
  const n = this._scopeToLanguage(e), r = this._toStandardTokenType(e);
3013
- return new Pt(n, r);
3013
+ return new Lt(n, r);
3014
3014
  });
3015
3015
  /**
3016
3016
  * Given a produced TM scope, return the language that token describes or null if unknown.
@@ -3085,10 +3085,10 @@ function io(t, e, n, r, o, s, a, i) {
3085
3085
  for (; !u; ) {
3086
3086
  if (i !== 0 && Date.now() - h > i)
3087
3087
  return new qn(o, !0);
3088
- f();
3088
+ p();
3089
3089
  }
3090
3090
  return new qn(o, !1);
3091
- function f() {
3091
+ function p() {
3092
3092
  const d = Ga(
3093
3093
  t,
3094
3094
  e,
@@ -3101,18 +3101,18 @@ function io(t, e, n, r, o, s, a, i) {
3101
3101
  s.produce(o, l), u = !0;
3102
3102
  return;
3103
3103
  }
3104
- const p = d.captureIndices, g = d.matchedRuleId, C = p && p.length > 0 ? p[0].end > r : !1;
3105
- if (g === La) {
3104
+ const f = d.captureIndices, g = d.matchedRuleId, C = f && f.length > 0 ? f[0].end > r : !1;
3105
+ if (g === Pa) {
3106
3106
  const y = o.getRule(t);
3107
- s.produce(o, p[0].start), o = o.withContentNameScopesList(o.nameScopesList), Ge(
3107
+ s.produce(o, f[0].start), o = o.withContentNameScopesList(o.nameScopesList), Ge(
3108
3108
  t,
3109
3109
  e,
3110
3110
  n,
3111
3111
  o,
3112
3112
  s,
3113
3113
  y.endCaptures,
3114
- p
3115
- ), s.produce(o, p[0].end);
3114
+ f
3115
+ ), s.produce(o, f[0].end);
3116
3116
  const m = o;
3117
3117
  if (o = o.parent, c = m.getAnchorPos(), !C && m.getEnterPos() === r) {
3118
3118
  o = m, s.produce(o, l), u = !0;
@@ -3120,8 +3120,8 @@ function io(t, e, n, r, o, s, a, i) {
3120
3120
  }
3121
3121
  } else {
3122
3122
  const y = t.getRule(g);
3123
- s.produce(o, p[0].start);
3124
- const m = o, _ = y.getName(e.content, p), S = o.contentNameScopesList.pushAttributed(
3123
+ s.produce(o, f[0].start);
3124
+ const m = o, _ = y.getName(e.content, f), S = o.contentNameScopesList.pushAttributed(
3125
3125
  _,
3126
3126
  t
3127
3127
  );
@@ -3129,7 +3129,7 @@ function io(t, e, n, r, o, s, a, i) {
3129
3129
  g,
3130
3130
  r,
3131
3131
  c,
3132
- p[0].end === l,
3132
+ f[0].end === l,
3133
3133
  null,
3134
3134
  S,
3135
3135
  S
@@ -3142,19 +3142,19 @@ function io(t, e, n, r, o, s, a, i) {
3142
3142
  o,
3143
3143
  s,
3144
3144
  A.beginCaptures,
3145
- p
3146
- ), s.produce(o, p[0].end), c = p[0].end;
3145
+ f
3146
+ ), s.produce(o, f[0].end), c = f[0].end;
3147
3147
  const D = A.getContentName(
3148
3148
  e.content,
3149
- p
3150
- ), P = S.pushAttributed(
3149
+ f
3150
+ ), L = S.pushAttributed(
3151
3151
  D,
3152
3152
  t
3153
3153
  );
3154
- if (o = o.withContentNameScopesList(P), A.endHasBackReferences && (o = o.withEndRule(
3154
+ if (o = o.withContentNameScopesList(L), A.endHasBackReferences && (o = o.withEndRule(
3155
3155
  A.getEndWithResolvedBackReferences(
3156
3156
  e.content,
3157
- p
3157
+ f
3158
3158
  )
3159
3159
  )), !C && m.hasSameRuleAs(o)) {
3160
3160
  o = o.pop(), s.produce(o, l), u = !0;
@@ -3169,19 +3169,19 @@ function io(t, e, n, r, o, s, a, i) {
3169
3169
  o,
3170
3170
  s,
3171
3171
  A.beginCaptures,
3172
- p
3173
- ), s.produce(o, p[0].end), c = p[0].end;
3172
+ f
3173
+ ), s.produce(o, f[0].end), c = f[0].end;
3174
3174
  const D = A.getContentName(
3175
3175
  e.content,
3176
- p
3177
- ), P = S.pushAttributed(
3176
+ f
3177
+ ), L = S.pushAttributed(
3178
3178
  D,
3179
3179
  t
3180
3180
  );
3181
- if (o = o.withContentNameScopesList(P), A.whileHasBackReferences && (o = o.withEndRule(
3181
+ if (o = o.withContentNameScopesList(L), A.whileHasBackReferences && (o = o.withEndRule(
3182
3182
  A.getWhileWithResolvedBackReferences(
3183
3183
  e.content,
3184
- p
3184
+ f
3185
3185
  )
3186
3186
  )), !C && m.hasSameRuleAs(o)) {
3187
3187
  o = o.pop(), s.produce(o, l), u = !0;
@@ -3194,13 +3194,13 @@ function io(t, e, n, r, o, s, a, i) {
3194
3194
  o,
3195
3195
  s,
3196
3196
  y.captures,
3197
- p
3198
- ), s.produce(o, p[0].end), o = o.pop(), !C) {
3197
+ f
3198
+ ), s.produce(o, f[0].end), o = o.pop(), !C) {
3199
3199
  o = o.safePop(), s.produce(o, l), u = !0;
3200
3200
  return;
3201
3201
  }
3202
3202
  }
3203
- p[0].end > r && (r = p[0].end, n = !1);
3203
+ f[0].end > r && (r = f[0].end, n = !1);
3204
3204
  }
3205
3205
  }
3206
3206
  function Da(t, e, n, r, o, s) {
@@ -3250,15 +3250,15 @@ function Fa(t, e, n, r, o, s) {
3250
3250
  function Ba(t, e, n, r, o, s, a) {
3251
3251
  let i = Number.MAX_VALUE, l = null, u, c = 0;
3252
3252
  const h = s.contentNameScopesList.getScopeNames();
3253
- for (let f = 0, d = t.length; f < d; f++) {
3254
- const p = t[f];
3255
- if (!p.matcher(h))
3253
+ for (let p = 0, d = t.length; p < d; p++) {
3254
+ const f = t[p];
3255
+ if (!f.matcher(h))
3256
3256
  continue;
3257
- const g = e.getRule(p.ruleId), { ruleScanner: C, findOptions: y } = lo(g, e, null, r, o === a), m = C.findNextMatchSync(n, o, y);
3257
+ const g = e.getRule(f.ruleId), { ruleScanner: C, findOptions: y } = lo(g, e, null, r, o === a), m = C.findNextMatchSync(n, o, y);
3258
3258
  if (!m)
3259
3259
  continue;
3260
3260
  const _ = m.captureIndices[0].start;
3261
- if (!(_ >= i) && (i = _, l = m.captureIndices, u = m.ruleId, c = p.priority, i === o))
3261
+ if (!(_ >= i) && (i = _, l = m.captureIndices, u = m.ruleId, c = f.priority, i === o))
3262
3262
  break;
3263
3263
  }
3264
3264
  return l ? {
@@ -3286,8 +3286,8 @@ function Ge(t, e, n, r, o, s, a) {
3286
3286
  return;
3287
3287
  const i = e.content, l = Math.min(s.length, a.length), u = [], c = a[0].end;
3288
3288
  for (let h = 0; h < l; h++) {
3289
- const f = s[h];
3290
- if (f === null)
3289
+ const p = s[h];
3290
+ if (p === null)
3291
3291
  continue;
3292
3292
  const d = a[h];
3293
3293
  if (d.length === 0)
@@ -3296,8 +3296,8 @@ function Ge(t, e, n, r, o, s, a) {
3296
3296
  break;
3297
3297
  for (; u.length > 0 && u[u.length - 1].endPos <= d.start; )
3298
3298
  o.produceFromScopes(u[u.length - 1].scopes, u[u.length - 1].endPos), u.pop();
3299
- if (u.length > 0 ? o.produceFromScopes(u[u.length - 1].scopes, d.start) : o.produce(r, d.start), f.retokenizeCapturedWithRuleId) {
3300
- const g = f.getName(i, a), C = r.contentNameScopesList.pushAttributed(g, t), y = f.getContentName(i, a), m = C.pushAttributed(y, t), _ = r.push(f.retokenizeCapturedWithRuleId, d.start, -1, !1, null, C, m), S = t.createOnigString(i.substring(0, d.end));
3299
+ if (u.length > 0 ? o.produceFromScopes(u[u.length - 1].scopes, d.start) : o.produce(r, d.start), p.retokenizeCapturedWithRuleId) {
3300
+ const g = p.getName(i, a), C = r.contentNameScopesList.pushAttributed(g, t), y = p.getContentName(i, a), m = C.pushAttributed(y, t), _ = r.push(p.retokenizeCapturedWithRuleId, d.start, -1, !1, null, C, m), S = t.createOnigString(i.substring(0, d.end));
3301
3301
  io(
3302
3302
  t,
3303
3303
  S,
@@ -3311,9 +3311,9 @@ function Ge(t, e, n, r, o, s, a) {
3311
3311
  ), no(S);
3312
3312
  continue;
3313
3313
  }
3314
- const p = f.getName(i, a);
3315
- if (p !== null) {
3316
- const C = (u.length > 0 ? u[u.length - 1].scopes : r.contentNameScopesList).pushAttributed(p, t);
3314
+ const f = p.getName(i, a);
3315
+ if (f !== null) {
3316
+ const C = (u.length > 0 ? u[u.length - 1].scopes : r.contentNameScopesList).pushAttributed(f, t);
3317
3317
  u.push(new Ua(C, d.end));
3318
3318
  }
3319
3319
  }
@@ -3497,13 +3497,13 @@ var Wa = class {
3497
3497
  c.fontStyle,
3498
3498
  c.foregroundId,
3499
3499
  c.backgroundId
3500
- ), f = this.getRule(this._rootId).getName(
3500
+ ), p = this.getRule(this._rootId).getName(
3501
3501
  null,
3502
3502
  null
3503
3503
  );
3504
3504
  let d;
3505
- f ? d = Fe.createRootAndLookUpScopeName(
3506
- f,
3505
+ p ? d = Fe.createRootAndLookUpScopeName(
3506
+ p,
3507
3507
  h,
3508
3508
  this
3509
3509
  ) : d = Fe.createRoot(
@@ -3644,7 +3644,7 @@ var Fe = class ne {
3644
3644
  }), r = r.parent;
3645
3645
  return r === e ? n.reverse() : void 0;
3646
3646
  }
3647
- }, Jt = class pe {
3647
+ }, Jt = class fe {
3648
3648
  /**
3649
3649
  * Invariant:
3650
3650
  * ```
@@ -3661,7 +3661,7 @@ var Fe = class ne {
3661
3661
  }
3662
3662
  _stackElementBrand = void 0;
3663
3663
  // TODO remove me
3664
- static NULL = new pe(
3664
+ static NULL = new fe(
3665
3665
  null,
3666
3666
  0,
3667
3667
  0,
@@ -3688,7 +3688,7 @@ var Fe = class ne {
3688
3688
  */
3689
3689
  depth;
3690
3690
  equals(e) {
3691
- return e === null ? !1 : pe._equals(this, e);
3691
+ return e === null ? !1 : fe._equals(this, e);
3692
3692
  }
3693
3693
  static _equals(e, n) {
3694
3694
  return e === n ? !0 : this._structuralEquals(e, n) ? Fe.equals(e.contentNameScopesList, n.contentNameScopesList) : !1;
@@ -3713,7 +3713,7 @@ var Fe = class ne {
3713
3713
  e._enterPos = -1, e._anchorPos = -1, e = e.parent;
3714
3714
  }
3715
3715
  reset() {
3716
- pe._reset(this);
3716
+ fe._reset(this);
3717
3717
  }
3718
3718
  pop() {
3719
3719
  return this.parent;
@@ -3722,7 +3722,7 @@ var Fe = class ne {
3722
3722
  return this.parent ? this.parent : this;
3723
3723
  }
3724
3724
  push(e, n, r, o, s, a, i) {
3725
- return new pe(
3725
+ return new fe(
3726
3726
  this,
3727
3727
  e,
3728
3728
  n,
@@ -3761,7 +3761,7 @@ var Fe = class ne {
3761
3761
  );
3762
3762
  }
3763
3763
  withEndRule(e) {
3764
- return this.endRule === e ? this : new pe(
3764
+ return this.endRule === e ? this : new fe(
3765
3765
  this.parent,
3766
3766
  this.ruleId,
3767
3767
  this._enterPos,
@@ -3793,7 +3793,7 @@ var Fe = class ne {
3793
3793
  }
3794
3794
  static pushFrame(e, n) {
3795
3795
  const r = Fe.fromExtension(e?.nameScopesList ?? null, n.nameScopesList);
3796
- return new pe(
3796
+ return new fe(
3797
3797
  e,
3798
3798
  n.ruleId,
3799
3799
  n.enterPos ?? -1,
@@ -4134,7 +4134,7 @@ const tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4134
4134
  number: w,
4135
4135
  overloadedBoolean: en,
4136
4136
  spaceSeparated: N
4137
- }, Symbol.toStringTag, { value: "Module" })), Lt = (
4137
+ }, Symbol.toStringTag, { value: "Module" })), Pt = (
4138
4138
  /** @type {ReadonlyArray<keyof typeof types>} */
4139
4139
  Object.keys(tn)
4140
4140
  );
@@ -4155,9 +4155,9 @@ class yn extends V {
4155
4155
  constructor(e, n, r, o) {
4156
4156
  let s = -1;
4157
4157
  if (super(e, n), Yn(this, "space", o), typeof r == "number")
4158
- for (; ++s < Lt.length; ) {
4159
- const a = Lt[s];
4160
- Yn(this, Lt[s], (r & tn[a]) === tn[a]);
4158
+ for (; ++s < Pt.length; ) {
4159
+ const a = Pt[s];
4160
+ Yn(this, Pt[s], (r & tn[a]) === tn[a]);
4161
4161
  }
4162
4162
  }
4163
4163
  }
@@ -4237,7 +4237,7 @@ const co = Ne({
4237
4237
  function ho(t, e) {
4238
4238
  return e in t ? t[e] : e;
4239
4239
  }
4240
- function po(t, e) {
4240
+ function fo(t, e) {
4241
4241
  return ho(t, e.toLowerCase());
4242
4242
  }
4243
4243
  const Ja = Ne({
@@ -4600,7 +4600,7 @@ const Ja = Ne({
4600
4600
  unselectable: null
4601
4601
  },
4602
4602
  space: "html",
4603
- transform: po
4603
+ transform: fo
4604
4604
  }), Za = Ne({
4605
4605
  attributes: {
4606
4606
  accentHeight: "accent-height",
@@ -5160,7 +5160,7 @@ const Ja = Ne({
5160
5160
  },
5161
5161
  space: "svg",
5162
5162
  transform: ho
5163
- }), fo = Ne({
5163
+ }), po = Ne({
5164
5164
  properties: {
5165
5165
  xLinkActuate: null,
5166
5166
  xLinkArcRole: null,
@@ -5178,7 +5178,7 @@ const Ja = Ne({
5178
5178
  attributes: { xmlnsxlink: "xmlns:xlink" },
5179
5179
  properties: { xmlnsXLink: null, xmlns: null },
5180
5180
  space: "xmlns",
5181
- transform: po
5181
+ transform: fo
5182
5182
  }), mo = Ne({
5183
5183
  properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
5184
5184
  space: "xml",
@@ -5212,7 +5212,7 @@ function ni(t) {
5212
5212
  function ri(t) {
5213
5213
  return t.charAt(1).toUpperCase();
5214
5214
  }
5215
- const oi = uo([co, Ja, fo, go, mo], "html"), yo = uo([co, Za, fo, go, mo], "svg"), si = /["&'<>`]/g, ai = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, ii = (
5215
+ const oi = uo([co, Ja, po, go, mo], "html"), yo = uo([co, Za, po, go, mo], "svg"), si = /["&'<>`]/g, ai = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, ii = (
5216
5216
  // eslint-disable-next-line no-control-regex, unicorn/no-hex-escape
5217
5217
  /[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g
5218
5218
  ), li = /[|\\{}()[\]^$+*?.]/g, Zn = /* @__PURE__ */ new WeakMap();
@@ -5249,10 +5249,10 @@ function hi(t) {
5249
5249
  e.push(t[n].replace(li, "\\$&"));
5250
5250
  return new RegExp("(?:" + e.join("|") + ")", "g");
5251
5251
  }
5252
- const pi = /[\dA-Fa-f]/;
5253
- function fi(t, e, n) {
5252
+ const fi = /[\dA-Fa-f]/;
5253
+ function pi(t, e, n) {
5254
5254
  const r = "&#x" + t.toString(16).toUpperCase();
5255
- return n && e && !pi.test(String.fromCharCode(e)) ? r : r + ";";
5255
+ return n && e && !fi.test(String.fromCharCode(e)) ? r : r + ";";
5256
5256
  }
5257
5257
  const di = /\d/;
5258
5258
  function gi(t, e, n) {
@@ -5642,7 +5642,7 @@ function wi(t, e, n, r) {
5642
5642
  return "";
5643
5643
  }
5644
5644
  function Ci(t, e, n) {
5645
- let r = fi(t, e, n.omitOptionalSemicolons), o;
5645
+ let r = pi(t, e, n.omitOptionalSemicolons), o;
5646
5646
  if ((n.useNamedReferences || n.useShortestReferences) && (o = wi(
5647
5647
  t,
5648
5648
  e,
@@ -5701,10 +5701,10 @@ const bn = _o({
5701
5701
  caption: Tt,
5702
5702
  colgroup: Tt,
5703
5703
  dd: $i,
5704
- dt: Li,
5704
+ dt: Pi,
5705
5705
  head: Tt,
5706
5706
  html: Ri,
5707
- li: Pi,
5707
+ li: Li,
5708
5708
  optgroup: Ti,
5709
5709
  option: Mi,
5710
5710
  p: Ni,
@@ -5734,11 +5734,11 @@ function Ni(t, e, n) {
5734
5734
  return r ? r.type === "element" && (r.tagName === "address" || r.tagName === "article" || r.tagName === "aside" || r.tagName === "blockquote" || r.tagName === "details" || r.tagName === "div" || r.tagName === "dl" || r.tagName === "fieldset" || r.tagName === "figcaption" || r.tagName === "figure" || r.tagName === "footer" || r.tagName === "form" || r.tagName === "h1" || r.tagName === "h2" || r.tagName === "h3" || r.tagName === "h4" || r.tagName === "h5" || r.tagName === "h6" || r.tagName === "header" || r.tagName === "hgroup" || r.tagName === "hr" || r.tagName === "main" || r.tagName === "menu" || r.tagName === "nav" || r.tagName === "ol" || r.tagName === "p" || r.tagName === "pre" || r.tagName === "section" || r.tagName === "table" || r.tagName === "ul") : !n || // Confusing parent.
5735
5735
  !(n.type === "element" && (n.tagName === "a" || n.tagName === "audio" || n.tagName === "del" || n.tagName === "ins" || n.tagName === "map" || n.tagName === "noscript" || n.tagName === "video"));
5736
5736
  }
5737
- function Pi(t, e, n) {
5737
+ function Li(t, e, n) {
5738
5738
  const r = O(n, e);
5739
5739
  return !r || r.type === "element" && r.tagName === "li";
5740
5740
  }
5741
- function Li(t, e, n) {
5741
+ function Pi(t, e, n) {
5742
5742
  const r = O(n, e);
5743
5743
  return !!(r && r.type === "element" && (r.tagName === "dt" || r.tagName === "dd"));
5744
5744
  }
@@ -5972,7 +5972,7 @@ function al(t) {
5972
5972
  e[r] = this.one(n[r], r, t);
5973
5973
  return e.join("");
5974
5974
  }
5975
- function pt(t, e) {
5975
+ function ft(t, e) {
5976
5976
  const n = typeof t == "string" ? {} : { ...t.colorReplacements }, r = typeof t == "string" ? t : t.name;
5977
5977
  for (const [o, s] of Object.entries(e?.colorReplacements || {}))
5978
5978
  typeof s == "string" ? n[o] = s : o === r && Object.assign(n, s);
@@ -6062,40 +6062,40 @@ function hl(t, e) {
6062
6062
  offset: t.offset + n
6063
6063
  }), r;
6064
6064
  }
6065
- function pl(t, e) {
6065
+ function fl(t, e) {
6066
6066
  const n = Array.from(e instanceof Set ? e : new Set(e)).sort((r, o) => r - o);
6067
6067
  return n.length ? t.map((r) => r.flatMap((o) => {
6068
6068
  const s = n.filter((a) => o.offset < a && a < o.offset + o.content.length).map((a) => a - o.offset).sort((a, i) => a - i);
6069
6069
  return s.length ? hl(o, s) : o;
6070
6070
  })) : t;
6071
6071
  }
6072
- function fl(t, e, n, r, o = "css-vars") {
6072
+ function pl(t, e, n, r, o = "css-vars") {
6073
6073
  const s = {
6074
6074
  content: t.content,
6075
6075
  explanation: t.explanation,
6076
6076
  offset: t.offset
6077
- }, a = e.map((c) => ft(t.variants[c])), i = new Set(a.flatMap((c) => Object.keys(c))), l = {}, u = (c, h) => {
6078
- const f = h === "color" ? "" : h === "background-color" ? "-bg" : `-${h}`;
6079
- return n + e[c] + (h === "color" ? "" : f);
6077
+ }, a = e.map((c) => pt(t.variants[c])), i = new Set(a.flatMap((c) => Object.keys(c))), l = {}, u = (c, h) => {
6078
+ const p = h === "color" ? "" : h === "background-color" ? "-bg" : `-${h}`;
6079
+ return n + e[c] + (h === "color" ? "" : p);
6080
6080
  };
6081
6081
  return a.forEach((c, h) => {
6082
- for (const f of i) {
6083
- const d = c[f] || "inherit";
6084
- if (h === 0 && r && cl.includes(f))
6082
+ for (const p of i) {
6083
+ const d = c[p] || "inherit";
6084
+ if (h === 0 && r && cl.includes(p))
6085
6085
  if (r === _n && a.length > 1) {
6086
- const p = e.findIndex((m) => m === "light"), g = e.findIndex((m) => m === "dark");
6087
- if (p === -1 || g === -1)
6086
+ const f = e.findIndex((m) => m === "light"), g = e.findIndex((m) => m === "dark");
6087
+ if (f === -1 || g === -1)
6088
6088
  throw new F('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');
6089
- const C = a[p][f] || "inherit", y = a[g][f] || "inherit";
6090
- l[f] = `light-dark(${C}, ${y})`, o === "css-vars" && (l[u(h, f)] = d);
6089
+ const C = a[f][p] || "inherit", y = a[g][p] || "inherit";
6090
+ l[p] = `light-dark(${C}, ${y})`, o === "css-vars" && (l[u(h, p)] = d);
6091
6091
  } else
6092
- l[f] = d;
6092
+ l[p] = d;
6093
6093
  else
6094
- o === "css-vars" && (l[u(h, f)] = d);
6094
+ o === "css-vars" && (l[u(h, p)] = d);
6095
6095
  }
6096
6096
  }), s.htmlStyle = l, s;
6097
6097
  }
6098
- function ft(t) {
6098
+ function pt(t) {
6099
6099
  const e = {};
6100
6100
  if (t.color && (e.color = t.color), t.bgColor && (e["background-color"] = t.bgColor), t.fontStyle) {
6101
6101
  t.fontStyle & z.Italic && (e["font-style"] = "italic"), t.fontStyle & z.Bold && (e["font-weight"] = "bold");
@@ -6114,7 +6114,7 @@ function kt(t, e) {
6114
6114
  function We(t) {
6115
6115
  return Eo.get(t);
6116
6116
  }
6117
- class Pe {
6117
+ class Le {
6118
6118
  /**
6119
6119
  * Theme to Stack mapping
6120
6120
  */
@@ -6133,7 +6133,7 @@ class Pe {
6133
6133
  * Static method to create a initial grammar state.
6134
6134
  */
6135
6135
  static initial(e, n) {
6136
- return new Pe(
6136
+ return new Le(
6137
6137
  Object.fromEntries(il(n).map((r) => [r, Zt])),
6138
6138
  e
6139
6139
  );
@@ -6178,7 +6178,7 @@ function dl(t) {
6178
6178
  return r(t), e;
6179
6179
  }
6180
6180
  function gl(t, e) {
6181
- if (!(t instanceof Pe))
6181
+ if (!(t instanceof Le))
6182
6182
  throw new F("Invalid grammar state");
6183
6183
  return t.getInternalStack(e);
6184
6184
  }
@@ -6198,11 +6198,13 @@ function ml() {
6198
6198
  const i = o.lines[a.line];
6199
6199
  if (i === void 0)
6200
6200
  throw new F(`Invalid decoration position ${JSON.stringify(a)}. Lines length: ${o.lines.length}`);
6201
- if (a.character < 0 || a.character > i.length)
6201
+ let l = a.character;
6202
+ if (l < 0 && (l = i.length + l), l < 0 || l > i.length)
6202
6203
  throw new F(`Invalid decoration position ${JSON.stringify(a)}. Line ${a.line} length: ${i.length}`);
6203
6204
  return {
6204
6205
  ...a,
6205
- offset: o.posToIndex(a.line, a.character)
6206
+ character: l,
6207
+ offset: o.posToIndex(a.line, l)
6206
6208
  };
6207
6209
  }
6208
6210
  };
@@ -6225,7 +6227,7 @@ function ml() {
6225
6227
  if (!this.options.decorations?.length)
6226
6228
  return;
6227
6229
  const o = e(this).decorations.flatMap((a) => [a.start.offset, a.end.offset]);
6228
- return pl(n, o);
6230
+ return fl(n, o);
6229
6231
  },
6230
6232
  code(n) {
6231
6233
  if (!this.options.decorations?.length)
@@ -6233,19 +6235,19 @@ function ml() {
6233
6235
  const r = e(this), o = Array.from(n.children).filter((c) => c.type === "element" && c.tagName === "span");
6234
6236
  if (o.length !== r.converter.lines.length)
6235
6237
  throw new F(`Number of lines in code element (${o.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);
6236
- function s(c, h, f, d) {
6237
- const p = o[c];
6238
+ function s(c, h, p, d) {
6239
+ const f = o[c];
6238
6240
  let g = "", C = -1, y = -1;
6239
- if (h === 0 && (C = 0), f === 0 && (y = 0), f === Number.POSITIVE_INFINITY && (y = p.children.length), C === -1 || y === -1)
6240
- for (let _ = 0; _ < p.children.length; _++)
6241
- g += Ao(p.children[_]), C === -1 && g.length === h && (C = _ + 1), y === -1 && g.length === f && (y = _ + 1);
6241
+ if (h === 0 && (C = 0), p === 0 && (y = 0), p === Number.POSITIVE_INFINITY && (y = f.children.length), C === -1 || y === -1)
6242
+ for (let _ = 0; _ < f.children.length; _++)
6243
+ g += Ao(f.children[_]), C === -1 && g.length === h && (C = _ + 1), y === -1 && g.length === p && (y = _ + 1);
6242
6244
  if (C === -1)
6243
6245
  throw new F(`Failed to find start index for decoration ${JSON.stringify(d.start)}`);
6244
6246
  if (y === -1)
6245
6247
  throw new F(`Failed to find end index for decoration ${JSON.stringify(d.end)}`);
6246
- const m = p.children.slice(C, y);
6247
- if (!d.alwaysWrap && m.length === p.children.length)
6248
- i(p, d, "line");
6248
+ const m = f.children.slice(C, y);
6249
+ if (!d.alwaysWrap && m.length === f.children.length)
6250
+ i(f, d, "line");
6249
6251
  else if (!d.alwaysWrap && m.length === 1 && m[0].type === "element")
6250
6252
  i(m[0], d, "token");
6251
6253
  else {
@@ -6255,30 +6257,30 @@ function ml() {
6255
6257
  properties: {},
6256
6258
  children: m
6257
6259
  };
6258
- i(_, d, "wrapper"), p.children.splice(C, m.length, _);
6260
+ i(_, d, "wrapper"), f.children.splice(C, m.length, _);
6259
6261
  }
6260
6262
  }
6261
6263
  function a(c, h) {
6262
6264
  o[c] = i(o[c], h, "line");
6263
6265
  }
6264
- function i(c, h, f) {
6265
- const d = h.properties || {}, p = h.transform || ((g) => g);
6266
+ function i(c, h, p) {
6267
+ const d = h.properties || {}, f = h.transform || ((g) => g);
6266
6268
  return c.tagName = h.tagName || "span", c.properties = {
6267
6269
  ...c.properties,
6268
6270
  ...d,
6269
6271
  class: c.properties.class
6270
- }, h.properties?.class && xo(c, h.properties.class), c = p(c, f) || c, c;
6272
+ }, h.properties?.class && xo(c, h.properties.class), c = f(c, p) || c, c;
6271
6273
  }
6272
6274
  const l = [], u = r.decorations.sort((c, h) => h.start.offset - c.start.offset || c.end.offset - h.end.offset);
6273
6275
  for (const c of u) {
6274
- const { start: h, end: f } = c;
6275
- if (h.line === f.line)
6276
- s(h.line, h.character, f.character, c);
6277
- else if (h.line < f.line) {
6276
+ const { start: h, end: p } = c;
6277
+ if (h.line === p.line)
6278
+ s(h.line, h.character, p.character, c);
6279
+ else if (h.line < p.line) {
6278
6280
  s(h.line, h.character, Number.POSITIVE_INFINITY, c);
6279
- for (let d = h.line + 1; d < f.line; d++)
6281
+ for (let d = h.line + 1; d < p.line; d++)
6280
6282
  l.unshift(() => a(d, c));
6281
- s(f.line, 0, f.character, c);
6283
+ s(p.line, 0, p.character, c);
6282
6284
  }
6283
6285
  }
6284
6286
  l.forEach((c) => c());
@@ -6293,7 +6295,7 @@ function yl(t) {
6293
6295
  for (let r = e + 1; r < t.length; r++) {
6294
6296
  const o = t[r], s = n.start.offset <= o.start.offset && o.start.offset < n.end.offset, a = n.start.offset < o.end.offset && o.end.offset <= n.end.offset, i = o.start.offset <= n.start.offset && n.start.offset < o.end.offset, l = o.start.offset < n.end.offset && n.end.offset <= o.end.offset;
6295
6297
  if (s || a || i || l) {
6296
- if (s && a || i && l)
6298
+ if (s && a || i && l || i && n.start.offset === n.end.offset || a && o.start.offset === o.end.offset)
6297
6299
  continue;
6298
6300
  throw new F(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(o.start)} intersect.`);
6299
6301
  }
@@ -6521,7 +6523,7 @@ function kl(t = Sl) {
6521
6523
  };
6522
6524
  }
6523
6525
  function vl(t, e, n) {
6524
- const r = pt(t, n), o = St(e), s = kl(
6526
+ const r = ft(t, n), o = St(e), s = kl(
6525
6527
  Object.fromEntries(
6526
6528
  de.map((i) => [
6527
6529
  i,
@@ -6586,14 +6588,14 @@ function El(...t) {
6586
6588
  if (o === "ansi")
6587
6589
  throw new F("ANSI language does not have grammar state");
6588
6590
  const { theme: a, colorMap: i } = e.setTheme(s), l = e.getLanguage(o);
6589
- return new Pe(
6591
+ return new Le(
6590
6592
  gt(n, l, a, i, r).stateStack,
6591
6593
  l.name,
6592
6594
  a.name
6593
6595
  );
6594
6596
  }
6595
6597
  function Al(t, e, n, r, o) {
6596
- const s = gt(t, e, n, r, o), a = new Pe(
6598
+ const s = gt(t, e, n, r, o), a = new Le(
6597
6599
  gt(t, e, n, r, o).stateStack,
6598
6600
  e.name,
6599
6601
  n.name
@@ -6601,7 +6603,7 @@ function Al(t, e, n, r, o) {
6601
6603
  return kt(s.tokens, a), s.tokens;
6602
6604
  }
6603
6605
  function gt(t, e, n, r, o) {
6604
- const s = pt(n, o), {
6606
+ const s = ft(n, o), {
6605
6607
  tokenizeMaxLineLength: a = 0,
6606
6608
  tokenizeTimeLimit: i = 500
6607
6609
  } = o, l = St(t);
@@ -6617,15 +6619,15 @@ function gt(t, e, n, r, o) {
6617
6619
  }
6618
6620
  ).stateStack : Zt, c = [];
6619
6621
  const h = [];
6620
- for (let f = 0, d = l.length; f < d; f++) {
6621
- const [p, g] = l[f];
6622
- if (p === "") {
6622
+ for (let p = 0, d = l.length; p < d; p++) {
6623
+ const [f, g] = l[p];
6624
+ if (f === "") {
6623
6625
  c = [], h.push([]);
6624
6626
  continue;
6625
6627
  }
6626
- if (a > 0 && p.length >= a) {
6628
+ if (a > 0 && f.length >= a) {
6627
6629
  c = [], h.push([{
6628
- content: p,
6630
+ content: f,
6629
6631
  offset: g,
6630
6632
  color: "",
6631
6633
  fontStyle: 0
@@ -6633,17 +6635,17 @@ function gt(t, e, n, r, o) {
6633
6635
  continue;
6634
6636
  }
6635
6637
  let C, y, m;
6636
- o.includeExplanation && (C = e.tokenizeLine(p, u, i), y = C.tokens, m = 0);
6637
- const _ = e.tokenizeLine2(p, u, i), S = _.tokens.length / 2;
6638
+ o.includeExplanation && (C = e.tokenizeLine(f, u, i), y = C.tokens, m = 0);
6639
+ const _ = e.tokenizeLine2(f, u, i), S = _.tokens.length / 2;
6638
6640
  for (let A = 0; A < S; A++) {
6639
- const D = _.tokens[2 * A], P = A + 1 < S ? _.tokens[2 * A + 2] : p.length;
6640
- if (D === P)
6641
+ const D = _.tokens[2 * A], L = A + 1 < S ? _.tokens[2 * A + 2] : f.length;
6642
+ if (D === L)
6641
6643
  continue;
6642
6644
  const j = _.tokens[2 * A + 1], Z = ue(
6643
6645
  r[Re.getForeground(j)],
6644
6646
  s
6645
6647
  ), ee = Re.getFontStyle(j), ce = {
6646
- content: p.substring(D, P),
6648
+ content: f.substring(D, L),
6647
6649
  offset: g + D,
6648
6650
  color: Z,
6649
6651
  fontStyle: ee
@@ -6670,8 +6672,8 @@ function gt(t, e, n, r, o) {
6670
6672
  }
6671
6673
  ce.explanation = [];
6672
6674
  let R = 0;
6673
- for (; D + R < P; ) {
6674
- const k = y[m], G = p.substring(
6675
+ for (; D + R < L; ) {
6676
+ const k = y[m], G = f.substring(
6675
6677
  k.startIndex,
6676
6678
  k.endIndex
6677
6679
  );
@@ -6704,7 +6706,7 @@ function Il(t, e) {
6704
6706
  const s = e[r];
6705
6707
  n[r] = {
6706
6708
  scopeName: s,
6707
- themeMatches: Pl(t, s, e.slice(0, r))
6709
+ themeMatches: Ll(t, s, e.slice(0, r))
6708
6710
  };
6709
6711
  }
6710
6712
  return n;
@@ -6720,7 +6722,7 @@ function Nl(t, e, n) {
6720
6722
  nr(t[r], n[o]) && (r -= 1), o -= 1;
6721
6723
  return r === -1;
6722
6724
  }
6723
- function Pl(t, e, n) {
6725
+ function Ll(t, e, n) {
6724
6726
  const r = [];
6725
6727
  for (const { selectors: o, settings: s } of t)
6726
6728
  for (const a of o)
@@ -6741,32 +6743,32 @@ function Ro(t, e, n) {
6741
6743
  state: c,
6742
6744
  theme: h
6743
6745
  };
6744
- }), s = Ll(
6746
+ }), s = Pl(
6745
6747
  ...o.map((l) => l.tokens)
6746
6748
  ), a = s[0].map(
6747
6749
  (l, u) => l.map((c, h) => {
6748
- const f = {
6750
+ const p = {
6749
6751
  content: c.content,
6750
6752
  variants: {},
6751
6753
  offset: c.offset
6752
6754
  };
6753
- return "includeExplanation" in n && n.includeExplanation && (f.explanation = c.explanation), s.forEach((d, p) => {
6755
+ return "includeExplanation" in n && n.includeExplanation && (p.explanation = c.explanation), s.forEach((d, f) => {
6754
6756
  const {
6755
6757
  content: g,
6756
6758
  explanation: C,
6757
6759
  offset: y,
6758
6760
  ...m
6759
6761
  } = d[u][h];
6760
- f.variants[r[p].color] = m;
6761
- }), f;
6762
+ p.variants[r[f].color] = m;
6763
+ }), p;
6762
6764
  })
6763
- ), i = o[0].state ? new Pe(
6765
+ ), i = o[0].state ? new Le(
6764
6766
  Object.fromEntries(o.map((l) => [l.theme, l.state?.getInternalStack(l.theme)])),
6765
6767
  o[0].state.lang
6766
6768
  ) : void 0;
6767
6769
  return i && kt(a, i), a;
6768
6770
  }
6769
- function Ll(...t) {
6771
+ function Pl(...t) {
6770
6772
  const e = t.map(() => []), n = t.length;
6771
6773
  for (let r = 0; r < t[0].length; r++) {
6772
6774
  const o = t.map((l) => l[r]), s = e.map(() => []);
@@ -6796,22 +6798,22 @@ function mt(t, e, n) {
6796
6798
  defaultColor: u = "light",
6797
6799
  cssVariablePrefix: c = "--shiki-",
6798
6800
  colorsRendering: h = "css-vars"
6799
- } = n, f = Object.entries(n.themes).filter((y) => y[1]).map((y) => ({ color: y[0], theme: y[1] })).sort((y, m) => y.color === u ? -1 : m.color === u ? 1 : 0);
6800
- if (f.length === 0)
6801
+ } = n, p = Object.entries(n.themes).filter((y) => y[1]).map((y) => ({ color: y[0], theme: y[1] })).sort((y, m) => y.color === u ? -1 : m.color === u ? 1 : 0);
6802
+ if (p.length === 0)
6801
6803
  throw new F("`themes` option must not be empty");
6802
6804
  const d = Ro(
6803
6805
  t,
6804
6806
  e,
6805
6807
  n
6806
6808
  );
6807
- if (l = We(d), u && _n !== u && !f.find((y) => y.color === u))
6809
+ if (l = We(d), u && _n !== u && !p.find((y) => y.color === u))
6808
6810
  throw new F(`\`themes\` option must contain the defaultColor key \`${u}\``);
6809
- const p = f.map((y) => t.getTheme(y.theme)), g = f.map((y) => y.color);
6810
- s = d.map((y) => y.map((m) => fl(m, g, c, u, h))), l && kt(s, l);
6811
- const C = f.map((y) => pt(y.theme, n));
6812
- o = rr(f, p, C, c, u, "fg", h), r = rr(f, p, C, c, u, "bg", h), a = `shiki-themes ${p.map((y) => y.name).join(" ")}`, i = u ? void 0 : [o, r].join(";");
6811
+ const f = p.map((y) => t.getTheme(y.theme)), g = p.map((y) => y.color);
6812
+ s = d.map((y) => y.map((m) => pl(m, g, c, u, h))), l && kt(s, l);
6813
+ const C = p.map((y) => ft(y.theme, n));
6814
+ o = rr(p, f, C, c, u, "fg", h), r = rr(p, f, C, c, u, "bg", h), a = `shiki-themes ${f.map((y) => y.name).join(" ")}`, i = u ? void 0 : [o, r].join(";");
6813
6815
  } else if ("theme" in n) {
6814
- const u = pt(n.theme, n);
6816
+ const u = ft(n.theme, n);
6815
6817
  s = Sn(
6816
6818
  t,
6817
6819
  e,
@@ -6835,11 +6837,11 @@ function rr(t, e, n, r, o, s, a) {
6835
6837
  const u = ue(e[l][s], n[l]) || "inherit", c = `${r + i.color}${s === "bg" ? "-bg" : ""}:${u}`;
6836
6838
  if (l === 0 && o) {
6837
6839
  if (o === _n && t.length > 1) {
6838
- const h = t.findIndex((g) => g.color === "light"), f = t.findIndex((g) => g.color === "dark");
6839
- if (h === -1 || f === -1)
6840
+ const h = t.findIndex((g) => g.color === "light"), p = t.findIndex((g) => g.color === "dark");
6841
+ if (h === -1 || p === -1)
6840
6842
  throw new F('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');
6841
- const d = ue(e[h][s], n[h]) || "inherit", p = ue(e[f][s], n[f]) || "inherit";
6842
- return `light-dark(${d}, ${p});${c}`;
6843
+ const d = ue(e[h][s], n[h]) || "inherit", f = ue(e[p][s], n[p]) || "inherit";
6844
+ return `light-dark(${d}, ${f});${c}`;
6843
6845
  }
6844
6846
  return u;
6845
6847
  }
@@ -6853,8 +6855,8 @@ function yt(t, e, n, r = {
6853
6855
  codeToTokens: (o, s) => mt(t, o, s)
6854
6856
  }) {
6855
6857
  let o = e;
6856
- for (const p of dt(n))
6857
- o = p.preprocess?.call(r, o, n) || o;
6858
+ for (const f of dt(n))
6859
+ o = f.preprocess?.call(r, o, n) || o;
6858
6860
  let {
6859
6861
  tokens: s,
6860
6862
  fg: a,
@@ -6865,17 +6867,17 @@ function yt(t, e, n, r = {
6865
6867
  } = mt(t, o, n);
6866
6868
  const {
6867
6869
  mergeWhitespaces: h = !0,
6868
- mergeSameStyleTokens: f = !1
6870
+ mergeSameStyleTokens: p = !1
6869
6871
  } = n;
6870
- h === !0 ? s = Tl(s) : h === "never" && (s = Ml(s)), f && (s = Ol(s));
6872
+ h === !0 ? s = Tl(s) : h === "never" && (s = Ml(s)), p && (s = Ol(s));
6871
6873
  const d = {
6872
6874
  ...r,
6873
6875
  get source() {
6874
6876
  return o;
6875
6877
  }
6876
6878
  };
6877
- for (const p of dt(n))
6878
- s = p.tokens?.call(d, s) || s;
6879
+ for (const f of dt(n))
6880
+ s = f.tokens?.call(d, s) || s;
6879
6881
  return $l(
6880
6882
  s,
6881
6883
  {
@@ -6909,7 +6911,7 @@ function $l(t, e, n, r = We(t)) {
6909
6911
  ...Object.fromEntries(
6910
6912
  Array.from(
6911
6913
  Object.entries(e.meta || {})
6912
- ).filter(([p]) => !p.startsWith("_"))
6914
+ ).filter(([f]) => !f.startsWith("_"))
6913
6915
  )
6914
6916
  },
6915
6917
  children: []
@@ -6919,7 +6921,7 @@ function $l(t, e, n, r = We(t)) {
6919
6921
  properties: {},
6920
6922
  children: s
6921
6923
  };
6922
- const h = [], f = {
6924
+ const h = [], p = {
6923
6925
  ...n,
6924
6926
  structure: i,
6925
6927
  addClassToHast: xo,
@@ -6945,7 +6947,7 @@ function $l(t, e, n, r = We(t)) {
6945
6947
  return h;
6946
6948
  }
6947
6949
  };
6948
- if (t.forEach((p, g) => {
6950
+ if (t.forEach((f, g) => {
6949
6951
  g && (i === "inline" ? a.children.push({ type: "element", tagName: "br", properties: {}, children: [] }) : i === "classic" && s.push({ type: "text", value: `
6950
6952
  ` }));
6951
6953
  let C = {
@@ -6954,7 +6956,7 @@ function $l(t, e, n, r = We(t)) {
6954
6956
  properties: { class: "line" },
6955
6957
  children: []
6956
6958
  }, y = 0;
6957
- for (const m of p) {
6959
+ for (const m of f) {
6958
6960
  let _ = {
6959
6961
  type: "element",
6960
6962
  tagName: "span",
@@ -6963,28 +6965,28 @@ function $l(t, e, n, r = We(t)) {
6963
6965
  },
6964
6966
  children: [{ type: "text", value: m.content }]
6965
6967
  };
6966
- const S = rn(m.htmlStyle || ft(m));
6968
+ const S = rn(m.htmlStyle || pt(m));
6967
6969
  S && (_.properties.style = S);
6968
6970
  for (const A of o)
6969
- _ = A?.span?.call(f, _, g + 1, y, C, m) || _;
6971
+ _ = A?.span?.call(p, _, g + 1, y, C, m) || _;
6970
6972
  i === "inline" ? a.children.push(_) : i === "classic" && C.children.push(_), y += m.content.length;
6971
6973
  }
6972
6974
  if (i === "classic") {
6973
6975
  for (const m of o)
6974
- C = m?.line?.call(f, C, g + 1) || C;
6976
+ C = m?.line?.call(p, C, g + 1) || C;
6975
6977
  h.push(C), s.push(C);
6976
6978
  }
6977
6979
  }), i === "classic") {
6978
- for (const p of o)
6979
- c = p?.code?.call(f, c) || c;
6980
+ for (const f of o)
6981
+ c = f?.code?.call(p, c) || c;
6980
6982
  u.children.push(c);
6981
- for (const p of o)
6982
- u = p?.pre?.call(f, u) || u;
6983
+ for (const f of o)
6984
+ u = f?.pre?.call(p, u) || u;
6983
6985
  a.children.push(u);
6984
6986
  }
6985
6987
  let d = a;
6986
- for (const p of o)
6987
- d = p?.root?.call(f, d) || d;
6988
+ for (const f of o)
6989
+ d = f?.root?.call(p, d) || d;
6988
6990
  return r && kt(d, r), d;
6989
6991
  }
6990
6992
  function Tl(t) {
@@ -7039,7 +7041,7 @@ function Ol(t) {
7039
7041
  n.push({ ...r });
7040
7042
  continue;
7041
7043
  }
7042
- const o = n[n.length - 1], s = rn(o.htmlStyle || ft(o)), a = rn(r.htmlStyle || ft(r)), i = o.fontStyle && (o.fontStyle & z.Underline || o.fontStyle & z.Strikethrough), l = r.fontStyle && (r.fontStyle & z.Underline || r.fontStyle & z.Strikethrough);
7044
+ const o = n[n.length - 1], s = rn(o.htmlStyle || pt(o)), a = rn(r.htmlStyle || pt(r)), i = o.fontStyle && (o.fontStyle & z.Underline || o.fontStyle & z.Strikethrough), l = r.fontStyle && (r.fontStyle & z.Underline || r.fontStyle & z.Strikethrough);
7043
7045
  !i && !l && s === a ? o.content += r.content : n.push({ ...r });
7044
7046
  }
7045
7047
  return n;
@@ -7302,19 +7304,19 @@ function zl(t) {
7302
7304
  function h() {
7303
7305
  return C(), s.getLoadedLanguages();
7304
7306
  }
7305
- function f(...m) {
7307
+ function p(...m) {
7306
7308
  C(), s.loadLanguages(m.flat(1));
7307
7309
  }
7308
7310
  async function d(...m) {
7309
- return f(await Io(m));
7311
+ return p(await Io(m));
7310
7312
  }
7311
- function p(...m) {
7313
+ function f(...m) {
7312
7314
  C();
7313
7315
  for (const _ of m.flat(1))
7314
7316
  s.loadTheme(_);
7315
7317
  }
7316
7318
  async function g(...m) {
7317
- return C(), p(await No(m));
7319
+ return C(), f(await No(m));
7318
7320
  }
7319
7321
  function C() {
7320
7322
  if (e)
@@ -7330,9 +7332,9 @@ function zl(t) {
7330
7332
  getLoadedThemes: c,
7331
7333
  getLoadedLanguages: h,
7332
7334
  loadLanguage: d,
7333
- loadLanguageSync: f,
7335
+ loadLanguageSync: p,
7334
7336
  loadTheme: g,
7335
- loadThemeSync: p,
7337
+ loadThemeSync: f,
7336
7338
  dispose: y,
7337
7339
  [Symbol.dispose]: y
7338
7340
  };
@@ -7370,13 +7372,13 @@ async function Wl(t) {
7370
7372
  getInternalContext: () => e
7371
7373
  };
7372
7374
  }
7373
- function Po(t) {
7374
- return "children" in t ? Lo(t) : "value" in t ? t.value : "";
7375
+ function Lo(t) {
7376
+ return "children" in t ? Po(t) : "value" in t ? t.value : "";
7375
7377
  }
7376
7378
  function Vl(t) {
7377
- return t.type === "text" ? t.value : "children" in t ? Lo(t) : "";
7379
+ return t.type === "text" ? t.value : "children" in t ? Po(t) : "";
7378
7380
  }
7379
- function Lo(t) {
7381
+ function Po(t) {
7380
7382
  let e = -1;
7381
7383
  const n = [];
7382
7384
  for (; ++e < t.children.length; )
@@ -7385,7 +7387,7 @@ function Lo(t) {
7385
7387
  }
7386
7388
  const ql = {
7387
7389
  "tailing-curly-colon": (t, e) => {
7388
- const n = Po(e), r = n.match(/(.+)\{:([\w-]+)\}$/);
7390
+ const n = Lo(e), r = n.match(/(.+)\{:([\w-]+)\}$/);
7389
7391
  if (r)
7390
7392
  return {
7391
7393
  type: "inline",
@@ -7403,7 +7405,7 @@ const ql = {
7403
7405
  return {
7404
7406
  type: "pre",
7405
7407
  lang: typeof o == "string" ? o.slice(ir.length) : void 0,
7406
- code: Po(n),
7408
+ code: Lo(n),
7407
7409
  meta: n.data?.meta ?? n.properties.metastring?.toString() ?? ""
7408
7410
  };
7409
7411
  }, Kl = "language-";
@@ -7420,8 +7422,8 @@ function Yl(t, e) {
7420
7422
  lazy: c = !1,
7421
7423
  ...h
7422
7424
  } = e;
7423
- function f(d, p, g = "", C = {}) {
7424
- const y = `${d}:${g}:${p}`, m = o?.get(y);
7425
+ function p(d, f, g = "", C = {}) {
7426
+ const y = `${d}:${g}:${f}`, m = o?.get(y);
7425
7427
  if (m)
7426
7428
  return m;
7427
7429
  const _ = {
@@ -7441,10 +7443,10 @@ function Yl(t, e) {
7441
7443
  return this.addClassToHast(S, `${Kl}${d}`), S;
7442
7444
  }
7443
7445
  }
7444
- ]), l && p.endsWith(`
7445
- `) && (p = p.slice(0, -1));
7446
+ ]), l && f.endsWith(`
7447
+ `) && (f = f.slice(0, -1));
7446
7448
  try {
7447
- const S = t.codeToHast(p, _);
7449
+ const S = t.codeToHast(f, _);
7448
7450
  return o?.set(y, S), S;
7449
7451
  } catch (S) {
7450
7452
  if (i)
@@ -7454,7 +7456,7 @@ function Yl(t, e) {
7454
7456
  }
7455
7457
  }
7456
7458
  return (d) => {
7457
- const p = [];
7459
+ const f = [];
7458
7460
  if (qr(d, "element", (g, C, y) => {
7459
7461
  let m;
7460
7462
  if (!y || C == null)
@@ -7471,8 +7473,8 @@ function Yl(t, e) {
7471
7473
  let S, A = !1;
7472
7474
  if (_.lang ? t.getLoadedLanguages().includes(_.lang) || vo(_.lang) ? S = _.lang : c ? (A = !0, S = _.lang) : a && (S = a) : S = s, !S)
7473
7475
  return;
7474
- const D = _.meta ? r?.(_.meta, g, d) : void 0, P = (j) => {
7475
- const Z = f(j, _.code, _.meta, D ?? {});
7476
+ const D = _.meta ? r?.(_.meta, g, d) : void 0, L = (j) => {
7477
+ const Z = p(j, _.code, _.meta, D ?? {});
7476
7478
  if (Z) {
7477
7479
  if (_.type === "inline") {
7478
7480
  const ee = Z.children[0];
@@ -7483,20 +7485,20 @@ function Yl(t, e) {
7483
7485
  };
7484
7486
  if (A)
7485
7487
  try {
7486
- p.push(t.loadLanguage(S).then(() => P(S)));
7488
+ f.push(t.loadLanguage(S).then(() => L(S)));
7487
7489
  } catch (j) {
7488
7490
  if (a)
7489
- return P(a);
7491
+ return L(a);
7490
7492
  if (i)
7491
7493
  i(j);
7492
7494
  else throw j;
7493
7495
  }
7494
7496
  else
7495
- P(S);
7497
+ L(S);
7496
7498
  return "skip";
7497
- }), p.length > 0) {
7499
+ }), f.length > 0) {
7498
7500
  async function g() {
7499
- await Promise.all(p);
7501
+ await Promise.all(f);
7500
7502
  }
7501
7503
  return g();
7502
7504
  }
@@ -7565,7 +7567,7 @@ function tu(t, e) {
7565
7567
  }
7566
7568
  return n;
7567
7569
  }
7568
- function Le(t) {
7570
+ function Pe(t) {
7569
7571
  if ([...t].length !== 1) throw new Error(`Expected "${t}" to be a single code point`);
7570
7572
  return t.codePointAt(0);
7571
7573
  }
@@ -7630,8 +7632,8 @@ function ru(t, e = {}) {
7630
7632
  let u = 0;
7631
7633
  a.filter((h) => h.type === "GroupOpen").forEach((h) => {
7632
7634
  h.kind === "capturing" ? h.number = ++u : h.raw === "(" && l.push(h);
7633
- }), u || l.forEach((h, f) => {
7634
- h.kind = "capturing", h.number = f + 1;
7635
+ }), u || l.forEach((h, p) => {
7636
+ h.kind = "capturing", h.number = p + 1;
7635
7637
  });
7636
7638
  const c = u || l.length;
7637
7639
  return { tokens: a.map((h) => h.type === "EscapedNumber" ? vu(h, c) : h).flat(), flags: r };
@@ -7679,7 +7681,7 @@ function ou(t, e, n, r) {
7679
7681
  }
7680
7682
  if (n === ")") {
7681
7683
  if (t.popModX(), t.numOpenGroups--, t.numOpenGroups < 0) throw new Error('Unmatched ")"');
7682
- return { token: pu(n) };
7684
+ return { token: fu(n) };
7683
7685
  }
7684
7686
  if (t.getCurrentModX()) {
7685
7687
  if (n === "#") {
@@ -7697,7 +7699,7 @@ function ou(t, e, n, r) {
7697
7699
  const a = t.singleline ? { "^": B`\A`, $: B`\Z` }[n] : n;
7698
7700
  return { token: ur(a, n) };
7699
7701
  }
7700
- return n === "|" ? { token: iu(n) } : xn.test(n) ? { tokens: xu(n) } : { token: se(Le(n), n) };
7702
+ return n === "|" ? { token: iu(n) } : xn.test(n) ? { tokens: xu(n) } : { token: se(Pe(n), n) };
7701
7703
  }
7702
7704
  function su(t, e, n) {
7703
7705
  const r = [cr(e[1] === "^", e)];
@@ -7722,7 +7724,7 @@ function au(t) {
7722
7724
  if (!e || !vn.has(e.groups.name)) throw new Error(`Invalid POSIX class "${t}"`);
7723
7725
  return ge("posix", t, { value: e.groups.name, negate: !!e.groups.negate });
7724
7726
  }
7725
- return t === "-" ? uu(t) : t === "&&" ? cu(t) : se(Le(t), t);
7727
+ return t === "-" ? uu(t) : t === "&&" ? cu(t) : se(Pe(t), t);
7726
7728
  }
7727
7729
  function Mo(t, { inCharClass: e }) {
7728
7730
  const n = t[1];
@@ -7737,7 +7739,7 @@ function Mo(t, { inCharClass: e }) {
7737
7739
  const r = t.split(/\\x/).slice(1).map((a) => parseInt(a, 16)), o = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }).decode(new Uint8Array(r)), s = new TextEncoder();
7738
7740
  return [...o].map((a) => {
7739
7741
  const i = [...s.encode(a)].map((l) => `\\x${l.toString(16)}`).join("");
7740
- return se(Le(a), i);
7742
+ return se(Pe(a), i);
7741
7743
  });
7742
7744
  } catch {
7743
7745
  throw new Error(`Multibyte code "${t}" incomplete or invalid in Oniguruma`);
@@ -7783,13 +7785,13 @@ function Do(t, e, n = {}) {
7783
7785
  function hu(t, e) {
7784
7786
  return { type: "EscapedNumber", inCharClass: t, raw: e };
7785
7787
  }
7786
- function pu(t) {
7788
+ function fu(t) {
7787
7789
  return { type: "GroupClose", raw: t };
7788
7790
  }
7789
7791
  function Se(t, e, n = {}) {
7790
7792
  return { type: "GroupOpen", kind: t, ...n, raw: e };
7791
7793
  }
7792
- function fu(t, e, n, r) {
7794
+ function pu(t, e, n, r) {
7793
7795
  return { type: "NamedCallout", kind: t, tag: e, arguments: n, raw: r };
7794
7796
  }
7795
7797
  function du(t, e, n, r) {
@@ -7802,12 +7804,12 @@ const mu = /* @__PURE__ */ new Set(["COUNT", "CMP", "ERROR", "FAIL", "MAX", "MIS
7802
7804
  function yu(t) {
7803
7805
  const e = t[1] === "c" ? t[2] : t[3];
7804
7806
  if (!e || !/[A-Za-z]/.test(e)) throw new Error(`Unsupported control character "${t}"`);
7805
- return se(Le(e.toUpperCase()) - 64, t);
7807
+ return se(Pe(e.toUpperCase()) - 64, t);
7806
7808
  }
7807
7809
  function bu(t, e) {
7808
7810
  let { on: n, off: r } = /^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(t).groups;
7809
7811
  r ??= "";
7810
- const o = (e.getCurrentModX() || n.includes("x")) && !r.includes("x"), s = fr(n), a = fr(r), i = {};
7812
+ const o = (e.getCurrentModX() || n.includes("x")) && !r.includes("x"), s = pr(n), a = pr(r), i = {};
7811
7813
  if (s && (i.enable = s), a && (i.disable = a), t.endsWith(")")) return e.replaceCurrentModX(o), Do("flags", t, { flags: i });
7812
7814
  if (t.endsWith(":")) return e.pushModX(o), e.numOpenGroups++, Se("group", t, { ...(s || a) && { flags: i } });
7813
7815
  throw new Error(`Unexpected flag modifier "${t}"`);
@@ -7850,9 +7852,9 @@ function wu(t) {
7850
7852
  default:
7851
7853
  throw new Error(`Unexpected named callout kind "${u}"`);
7852
7854
  }
7853
- return fu(u, r ?? null, o?.split(",") ?? null, t);
7855
+ return pu(u, r ?? null, o?.split(",") ?? null, t);
7854
7856
  }
7855
- function pr(t) {
7857
+ function fr(t) {
7856
7858
  let e = null, n, r;
7857
7859
  if (t[0] === "{") {
7858
7860
  const { minStr: o, maxStr: s } = /^\{(?<minStr>\d*)(?:,(?<maxStr>\d*))?/.exec(t).groups, a = 1e5;
@@ -7872,7 +7874,7 @@ function _u(t) {
7872
7874
  const { p: e, neg: n, value: r } = /^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(t).groups;
7873
7875
  return ge("property", t, { value: r, negate: e === "P" && !n || e === "p" && !!n });
7874
7876
  }
7875
- function fr(t) {
7877
+ function pr(t) {
7876
7878
  const e = {};
7877
7879
  return t.includes("i") && (e.ignoreCase = !0), t.includes("m") && (e.dotAll = !0), t.includes("x") && (e.extended = !0), Object.keys(e).length ? e : null;
7878
7880
  }
@@ -7904,7 +7906,7 @@ function vu(t, e) {
7904
7906
  let u;
7905
7907
  if (i === 0 && l !== "8" && l !== "9") {
7906
7908
  if (u = parseInt(l, 8), u > 127) throw new Error(B`Octal encoded byte above 177 unsupported "${n}"`);
7907
- } else u = Le(l);
7909
+ } else u = Pe(l);
7908
7910
  s.push(se(u, (i === 0 ? "\\" : "") + l));
7909
7911
  }
7910
7912
  return s;
@@ -7919,12 +7921,12 @@ function xu(t) {
7919
7921
  if (s) {
7920
7922
  const { min: a, max: i } = s.groups;
7921
7923
  if (+a > +i && o.endsWith("?")) {
7922
- n.lastIndex--, e.push(pr(o.slice(0, -1)));
7924
+ n.lastIndex--, e.push(fr(o.slice(0, -1)));
7923
7925
  continue;
7924
7926
  }
7925
7927
  }
7926
7928
  }
7927
- e.push(pr(o));
7929
+ e.push(fr(o));
7928
7930
  }
7929
7931
  return e;
7930
7932
  }
@@ -7939,51 +7941,51 @@ function Eu(t) {
7939
7941
  }
7940
7942
  const Au = /* @__PURE__ */ new Set(["AbsenceFunction", "Backreference", "CapturingGroup", "Character", "CharacterClass", "CharacterSet", "Group", "Quantifier", "Subroutine"]);
7941
7943
  function Fo(t, e = {}) {
7942
- const n = { flags: "", normalizeUnknownPropertyNames: !1, skipBackrefValidation: !1, skipLookbehindValidation: !1, skipPropertyNameValidation: !1, unicodePropertyMap: null, ...e, rules: { captureGroup: !1, singleline: !1, ...e.rules } }, r = ru(t, { flags: n.flags, rules: { captureGroup: n.rules.captureGroup, singleline: n.rules.singleline } }), o = (f, d) => {
7943
- const p = r.tokens[s.nextIndex];
7944
- switch (s.parent = f, s.nextIndex++, p.type) {
7944
+ const n = { flags: "", normalizeUnknownPropertyNames: !1, skipBackrefValidation: !1, skipLookbehindValidation: !1, skipPropertyNameValidation: !1, unicodePropertyMap: null, ...e, rules: { captureGroup: !1, singleline: !1, ...e.rules } }, r = ru(t, { flags: n.flags, rules: { captureGroup: n.rules.captureGroup, singleline: n.rules.singleline } }), o = (p, d) => {
7945
+ const f = r.tokens[s.nextIndex];
7946
+ switch (s.parent = p, s.nextIndex++, f.type) {
7945
7947
  case "Alternator":
7946
7948
  return me();
7947
7949
  case "Assertion":
7948
- return Ru(p);
7950
+ return Ru(f);
7949
7951
  case "Backreference":
7950
- return Iu(p, s);
7952
+ return Iu(f, s);
7951
7953
  case "Character":
7952
- return vt(p.value, { useLastValid: !!d.isCheckingRangeEnd });
7954
+ return vt(f.value, { useLastValid: !!d.isCheckingRangeEnd });
7953
7955
  case "CharacterClassHyphen":
7954
- return Nu(p, s, d);
7956
+ return Nu(f, s, d);
7955
7957
  case "CharacterClassOpen":
7956
- return Pu(p, s, d);
7958
+ return Lu(f, s, d);
7957
7959
  case "CharacterSet":
7958
- return Lu(p, s);
7960
+ return Pu(f, s);
7959
7961
  case "Directive":
7960
- return Gu(p.kind, { flags: p.flags });
7962
+ return Gu(f.kind, { flags: f.flags });
7961
7963
  case "GroupOpen":
7962
- return $u(p, s, d);
7964
+ return $u(f, s, d);
7963
7965
  case "NamedCallout":
7964
- return Bu(p.kind, p.tag, p.arguments);
7966
+ return Bu(f.kind, f.tag, f.arguments);
7965
7967
  case "Quantifier":
7966
- return Tu(p, s);
7968
+ return Tu(f, s);
7967
7969
  case "Subroutine":
7968
- return Mu(p, s);
7970
+ return Mu(f, s);
7969
7971
  default:
7970
- throw new Error(`Unexpected token type "${p.type}"`);
7972
+ throw new Error(`Unexpected token type "${f.type}"`);
7971
7973
  }
7972
7974
  }, s = { capturingGroups: [], hasNumberedRef: !1, namedGroupsByName: /* @__PURE__ */ new Map(), nextIndex: 0, normalizeUnknownPropertyNames: n.normalizeUnknownPropertyNames, parent: null, skipBackrefValidation: n.skipBackrefValidation, skipLookbehindValidation: n.skipLookbehindValidation, skipPropertyNameValidation: n.skipPropertyNameValidation, subroutines: [], tokens: r.tokens, unicodePropertyMap: n.unicodePropertyMap, walk: o }, a = Uu(Fu(r.flags));
7973
7975
  let i = a.body[0];
7974
7976
  for (; s.nextIndex < r.tokens.length; ) {
7975
- const f = o(i, {});
7976
- f.type === "Alternative" ? (a.body.push(f), i = f) : i.body.push(f);
7977
+ const p = o(i, {});
7978
+ p.type === "Alternative" ? (a.body.push(p), i = p) : i.body.push(p);
7977
7979
  }
7978
7980
  const { capturingGroups: l, hasNumberedRef: u, namedGroupsByName: c, subroutines: h } = s;
7979
7981
  if (u && c.size && !n.rules.captureGroup) throw new Error("Numbered backref/subroutine not allowed when using named capture");
7980
- for (const { ref: f } of h) if (typeof f == "number") {
7981
- if (f > l.length) throw new Error("Subroutine uses a group number that's not defined");
7982
- f && (l[f - 1].isSubroutined = !0);
7983
- } else if (c.has(f)) {
7984
- if (c.get(f).length > 1) throw new Error(B`Subroutine uses a duplicate group name "\g<${f}>"`);
7985
- c.get(f)[0].isSubroutined = !0;
7986
- } else throw new Error(B`Subroutine uses a group name that's not defined "\g<${f}>"`);
7982
+ for (const { ref: p } of h) if (typeof p == "number") {
7983
+ if (p > l.length) throw new Error("Subroutine uses a group number that's not defined");
7984
+ p && (l[p - 1].isSubroutined = !0);
7985
+ } else if (c.has(p)) {
7986
+ if (c.get(p).length > 1) throw new Error(B`Subroutine uses a duplicate group name "\g<${p}>"`);
7987
+ c.get(p)[0].isSubroutined = !0;
7988
+ } else throw new Error(B`Subroutine uses a group name that's not defined "\g<${p}>"`);
7987
7989
  return a;
7988
7990
  }
7989
7991
  function Ru({ kind: t }) {
@@ -8013,9 +8015,9 @@ function Nu(t, e, n) {
8013
8015
  if (a.type === "Character" && l.type === "Character") return s.body.pop(), Du(a, l);
8014
8016
  throw new Error("Invalid character class range");
8015
8017
  }
8016
- return vt(Le("-"));
8018
+ return vt(Pe("-"));
8017
8019
  }
8018
- function Pu({ negate: t }, e, n) {
8020
+ function Lu({ negate: t }, e, n) {
8019
8021
  const { tokens: r, walk: o } = e, s = r[e.nextIndex], a = [st()];
8020
8022
  let i = mr(s);
8021
8023
  for (; i.type !== "CharacterClassClose"; ) {
@@ -8029,7 +8031,7 @@ function Pu({ negate: t }, e, n) {
8029
8031
  const l = st({ negate: t });
8030
8032
  return a.length === 1 ? l.body = a[0].body : (l.kind = "intersection", l.body = a.map((u) => u.body.length === 1 ? u.body[0] : u)), e.nextIndex++, l;
8031
8033
  }
8032
- function Lu({ kind: t, negate: e, value: n }, r) {
8034
+ function Pu({ kind: t, negate: e, value: n }, r) {
8033
8035
  const { normalizeUnknownPropertyNames: o, skipPropertyNameValidation: s, unicodePropertyMap: a } = r;
8034
8036
  if (t === "property") {
8035
8037
  const i = xt(n);
@@ -8041,19 +8043,19 @@ function Lu({ kind: t, negate: e, value: n }, r) {
8041
8043
  function $u(t, e, n) {
8042
8044
  const { tokens: r, capturingGroups: o, namedGroupsByName: s, skipLookbehindValidation: a, walk: i } = e, l = zu(t), u = l.type === "AbsenceFunction", c = gr(l), h = c && l.negate;
8043
8045
  if (l.type === "CapturingGroup" && (o.push(l), l.name && nu(s, l.name, []).push(l)), u && n.isInAbsenceFunction) throw new Error("Nested absence function not supported by Oniguruma");
8044
- let f = yr(r[e.nextIndex]);
8045
- for (; f.type !== "GroupClose"; ) {
8046
- if (f.type === "Alternator") l.body.push(me()), e.nextIndex++;
8046
+ let p = yr(r[e.nextIndex]);
8047
+ for (; p.type !== "GroupClose"; ) {
8048
+ if (p.type === "Alternator") l.body.push(me()), e.nextIndex++;
8047
8049
  else {
8048
- const d = l.body.at(-1), p = i(d, { ...n, isInAbsenceFunction: n.isInAbsenceFunction || u, isInLookbehind: n.isInLookbehind || c, isInNegLookbehind: n.isInNegLookbehind || h });
8049
- if (d.body.push(p), (c || n.isInLookbehind) && !a) {
8050
+ const d = l.body.at(-1), f = i(d, { ...n, isInAbsenceFunction: n.isInAbsenceFunction || u, isInLookbehind: n.isInLookbehind || c, isInNegLookbehind: n.isInNegLookbehind || h });
8051
+ if (d.body.push(f), (c || n.isInLookbehind) && !a) {
8050
8052
  const g = "Lookbehind includes a pattern not allowed by Oniguruma";
8051
8053
  if (h || n.isInNegLookbehind) {
8052
- if (dr(p) || p.type === "CapturingGroup") throw new Error(g);
8053
- } else if (dr(p) || gr(p) && p.negate) throw new Error(g);
8054
+ if (dr(f) || f.type === "CapturingGroup") throw new Error(g);
8055
+ } else if (dr(f) || gr(f) && f.negate) throw new Error(g);
8054
8056
  }
8055
8057
  }
8056
- f = yr(r[e.nextIndex]);
8058
+ p = yr(r[e.nextIndex]);
8057
8059
  }
8058
8060
  return e.nextIndex++, l;
8059
8061
  }
@@ -8127,7 +8129,7 @@ function Q(t) {
8127
8129
  if (e && n) throw new Error("Atomic group cannot have flags");
8128
8130
  return { type: "Group", ...e && { atomic: e }, ...n && { flags: n }, body: Ye(t?.body) };
8129
8131
  }
8130
- function fe(t) {
8132
+ function pe(t) {
8131
8133
  const e = { behind: !1, negate: !1, ...t };
8132
8134
  return { type: "LookaroundAssertion", kind: e.behind ? "lookbehind" : "lookahead", negate: e.negate, body: Ye(t?.body) };
8133
8135
  }
@@ -8170,7 +8172,7 @@ function zu({ flags: t, kind: e, name: n, negate: r, number: o }) {
8170
8172
  return Q({ flags: t });
8171
8173
  case "lookahead":
8172
8174
  case "lookbehind":
8173
- return fe({ behind: e === "lookbehind", negate: r });
8175
+ return pe({ behind: e === "lookbehind", negate: r });
8174
8176
  default:
8175
8177
  throw new Error(`Unexpected group kind "${e}"`);
8176
8178
  }
@@ -8234,8 +8236,8 @@ function Be(t, e, n = null) {
8234
8236
  c = !0;
8235
8237
  }, skip() {
8236
8238
  c = !0;
8237
- } }, { type: f } = s, d = e["*"], p = e[f], g = typeof d == "function" ? d : d?.enter, C = typeof p == "function" ? p : p?.enter;
8238
- if (g?.(h, n), C?.(h, n), !c) switch (f) {
8239
+ } }, { type: p } = s, d = e["*"], f = e[p], g = typeof d == "function" ? d : d?.enter, C = typeof f == "function" ? f : f?.enter;
8240
+ if (g?.(h, n), C?.(h, n), !c) switch (p) {
8239
8241
  case "AbsenceFunction":
8240
8242
  case "CapturingGroup":
8241
8243
  case "Group":
@@ -8267,9 +8269,9 @@ function Be(t, e, n = null) {
8267
8269
  r(s.body, s), o(s.flags, s, "flags");
8268
8270
  break;
8269
8271
  default:
8270
- throw new Error(`Unexpected node type "${f}"`);
8272
+ throw new Error(`Unexpected node type "${p}"`);
8271
8273
  }
8272
- return p?.exit?.(h, n), d?.exit?.(h, n), u;
8274
+ return f?.exit?.(h, n), d?.exit?.(h, n), u;
8273
8275
  }
8274
8276
  return o(t), t;
8275
8277
  }
@@ -8362,28 +8364,28 @@ function Ju(t, e) {
8362
8364
  let l = 0, u = 0, c = NaN, h;
8363
8365
  do {
8364
8366
  h = !1;
8365
- let f = 0, d = 0, p = !1, g;
8367
+ let p = 0, d = 0, f = !1, g;
8366
8368
  for (br.lastIndex = Number.isNaN(c) ? 0 : c + s.length; g = br.exec(t); ) {
8367
8369
  const { 0: C, index: y, groups: { capturingStart: m, noncapturingStart: _ } } = g;
8368
8370
  if (C === "[")
8369
- f++;
8370
- else if (f)
8371
- C === "]" && f--;
8372
- else if (C === o && !p)
8373
- c = y, p = !0;
8374
- else if (p && _)
8371
+ p++;
8372
+ else if (p)
8373
+ C === "]" && p--;
8374
+ else if (C === o && !f)
8375
+ c = y, f = !0;
8376
+ else if (f && _)
8375
8377
  d++;
8376
8378
  else if (m)
8377
- p ? d++ : (l++, a.push(l + u));
8378
- else if (C === ")" && p) {
8379
+ f ? d++ : (l++, a.push(l + u));
8380
+ else if (C === ")" && f) {
8379
8381
  if (!d) {
8380
8382
  u++;
8381
8383
  const S = l + u;
8382
8384
  if (t = `${t.slice(0, c)}${s}${t.slice(c + o.length, y)}))<$$${S}>)${t.slice(y + 1)}`, h = !0, i.push(S), qu(n, S), r.size) {
8383
8385
  const A = /* @__PURE__ */ new Map();
8384
- r.forEach((D, P) => {
8386
+ r.forEach((D, L) => {
8385
8387
  A.set(
8386
- P >= S ? P + 1 : P,
8388
+ L >= S ? L + 1 : L,
8387
8389
  D.map((j) => j >= S ? j + 1 : j)
8388
8390
  );
8389
8391
  }), r = A;
@@ -8397,14 +8399,14 @@ function Ju(t, e) {
8397
8399
  return n.push(...i), t = En(
8398
8400
  t,
8399
8401
  String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,
8400
- ({ 0: f, groups: { backrefNum: d, wrappedBackrefNum: p } }) => {
8402
+ ({ 0: p, groups: { backrefNum: d, wrappedBackrefNum: f } }) => {
8401
8403
  if (d) {
8402
8404
  const g = +d;
8403
8405
  if (g > a.length - 1)
8404
- throw new Error(`Backref "${f}" greater than number of captures`);
8406
+ throw new Error(`Backref "${p}" greater than number of captures`);
8405
8407
  return `\\${a[g]}`;
8406
8408
  }
8407
- return `\\${p}`;
8409
+ return `\\${f}`;
8408
8410
  },
8409
8411
  J.DEFAULT
8410
8412
  ), {
@@ -8446,7 +8448,7 @@ function Zu(t) {
8446
8448
  if (c === "+" && o && !o.startsWith("(")) {
8447
8449
  if (h)
8448
8450
  throw new Error(`Invalid quantifier "${i}"`);
8449
- let f = -1;
8451
+ let p = -1;
8450
8452
  if (/^\{\d+\}$/.test(u))
8451
8453
  t = Xu(t, l + u.length, c, "");
8452
8454
  else {
@@ -8457,9 +8459,9 @@ function Zu(t) {
8457
8459
  t = `${t.slice(0, d)}(?>${t.slice(d, l)}${u})${t.slice(l + i.length)}`;
8458
8460
  } else
8459
8461
  t = `${t.slice(0, l - o.length)}(?>${o}${u})${t.slice(l + i.length)}`;
8460
- f += 4;
8462
+ p += 4;
8461
8463
  }
8462
- Dt.lastIndex += f;
8464
+ Dt.lastIndex += p;
8463
8465
  } else i[0] === "(" ? e.push(l) : i === ")" && (n = e.length ? e.pop() : null);
8464
8466
  o = i;
8465
8467
  }
@@ -8484,9 +8486,9 @@ function ec(t, e) {
8484
8486
  if (r === "plugin" && nt(t, Y`\(\?\(DEFINE\)`, J.DEFAULT))
8485
8487
  throw new Error("DEFINE groups cannot be used with recursion");
8486
8488
  const s = [], a = nt(t, Y`\\[1-9]`, J.DEFAULT), i = /* @__PURE__ */ new Map(), l = [];
8487
- let u = !1, c = 0, h = 0, f;
8488
- for (he.lastIndex = 0; f = he.exec(t); ) {
8489
- const { 0: d, groups: { captureName: p, rDepth: g, gRNameOrNum: C, gRDepth: y } } = f;
8489
+ let u = !1, c = 0, h = 0, p;
8490
+ for (he.lastIndex = 0; p = he.exec(t); ) {
8491
+ const { 0: d, groups: { captureName: f, rDepth: g, gRNameOrNum: C, gRDepth: y } } = p;
8490
8492
  if (d === "[")
8491
8493
  c++;
8492
8494
  else if (c)
@@ -8500,7 +8502,7 @@ function ec(t, e) {
8500
8502
  // gone through conversion from named to numbered, so avoid a misleading error
8501
8503
  `${r === "external" ? "Backrefs" : "Numbered backrefs"} cannot be used with global recursion`
8502
8504
  );
8503
- const m = t.slice(0, f.index), _ = t.slice(he.lastIndex);
8505
+ const m = t.slice(0, p.index), _ = t.slice(he.lastIndex);
8504
8506
  if (nt(_, ln, J.DEFAULT))
8505
8507
  throw new Error(Gt);
8506
8508
  const S = +g - 1;
@@ -8539,7 +8541,7 @@ function ec(t, e) {
8539
8541
  // gone through conversion from named to numbered, so avoid a misleading error
8540
8542
  `${r === "external" ? "Backrefs" : "Numbered backrefs"} cannot be used with recursion of capturing groups`
8541
8543
  );
8542
- const A = t.slice(_, f.index), D = S.slice(A.length + d.length), P = s.length, j = +y - 1, Z = Cr(
8544
+ const A = t.slice(_, p.index), D = S.slice(A.length + d.length), L = s.length, j = +y - 1, Z = Cr(
8543
8545
  A,
8544
8546
  D,
8545
8547
  j,
@@ -8552,16 +8554,16 @@ function ec(t, e) {
8552
8554
  o,
8553
8555
  A,
8554
8556
  j,
8555
- s.length - P,
8556
- P,
8557
+ s.length - L,
8558
+ L,
8557
8559
  h
8558
8560
  );
8559
8561
  const ee = t.slice(0, _), ce = t.slice(_ + S.length);
8560
8562
  t = `${ee}${Z}${ce}`, he.lastIndex += Z.length - d.length - A.length - D.length, l.forEach((te) => te.hasRecursedWithin = !0), u = !0;
8561
- } else if (p)
8562
- h++, i.set(String(h), he.lastIndex), i.set(p, he.lastIndex), l.push({
8563
+ } else if (f)
8564
+ h++, i.set(String(h), he.lastIndex), i.set(f, he.lastIndex), l.push({
8563
8565
  num: h,
8564
- name: p
8566
+ name: f
8565
8567
  });
8566
8568
  else if (d[0] === "(") {
8567
8569
  const m = d === "(";
@@ -8603,13 +8605,13 @@ function _r(t, e, n, r, o, s, a) {
8603
8605
  u += En(
8604
8606
  t,
8605
8607
  Y`${Vo}|\\k<(?<backref>[^>]+)>`,
8606
- ({ 0: f, groups: { captureName: d, unnamed: p, backref: g } }) => {
8608
+ ({ 0: p, groups: { captureName: d, unnamed: f, backref: g } }) => {
8607
8609
  if (g && r && !r.has(g))
8608
- return f;
8610
+ return p;
8609
8611
  const C = `_$${h}`;
8610
- if (p || d) {
8612
+ if (f || d) {
8611
8613
  const y = a + s.length + 1;
8612
- return s.push(y), tc(o, y), p ? f : `(?<${d}${C}>`;
8614
+ return s.push(y), tc(o, y), f ? p : `(?<${d}${C}>`;
8613
8615
  }
8614
8616
  return Y`\k<${g}${C}>`;
8615
8617
  },
@@ -8628,19 +8630,19 @@ function Sr(t, e, n, r, o, s) {
8628
8630
  Ho(e, Vo, () => a++, J.DEFAULT);
8629
8631
  const i = s - a + o, l = /* @__PURE__ */ new Map();
8630
8632
  return t.forEach((u, c) => {
8631
- const h = (r - a * n) / n, f = a * n, d = c > i + a ? c + r : c, p = [];
8633
+ const h = (r - a * n) / n, p = a * n, d = c > i + a ? c + r : c, f = [];
8632
8634
  for (const g of u)
8633
8635
  if (g <= i)
8634
- p.push(g);
8636
+ f.push(g);
8635
8637
  else if (g > i + a + h)
8636
- p.push(g + r);
8638
+ f.push(g + r);
8637
8639
  else if (g <= i + a)
8638
8640
  for (let C = 0; C <= n; C++)
8639
- p.push(g + a * C);
8641
+ f.push(g + a * C);
8640
8642
  else
8641
8643
  for (let C = 0; C <= n; C++)
8642
- p.push(g + f + h * C);
8643
- l.set(d, p);
8644
+ f.push(g + p + h * C);
8645
+ l.set(d, f);
8644
8646
  }), l;
8645
8647
  }
8646
8648
  return t;
@@ -8955,7 +8957,7 @@ function hc(t, e) {
8955
8957
  spaceIsAscii: t.flags.spaceIsAscii,
8956
8958
  wordIsAscii: t.flags.wordIsAscii
8957
8959
  };
8958
- Be(t, pc, r);
8960
+ Be(t, fc, r);
8959
8961
  const o = {
8960
8962
  dotAll: t.flags.dotAll,
8961
8963
  ignoreCase: t.flags.ignoreCase
@@ -8970,7 +8972,7 @@ function hc(t, e) {
8970
8972
  reffedNodesByReferencer: /* @__PURE__ */ new Map(),
8971
8973
  subroutineRefMap: r.subroutineRefMap
8972
8974
  };
8973
- Be(t, fc, s);
8975
+ Be(t, pc, s);
8974
8976
  const a = {
8975
8977
  groupsByName: s.groupsByName,
8976
8978
  highestOrphanBackref: 0,
@@ -8979,20 +8981,20 @@ function hc(t, e) {
8979
8981
  };
8980
8982
  return Be(t, dc, a), t._originMap = s.groupOriginByCopy, t._strategy = r.strategy, t;
8981
8983
  }
8982
- var pc = {
8984
+ var fc = {
8983
8985
  AbsenceFunction({ node: t, parent: e, replaceWith: n }) {
8984
8986
  const { body: r, kind: o } = t;
8985
8987
  if (o === "repeater") {
8986
8988
  const s = Q();
8987
8989
  s.body[0].body.push(
8988
8990
  // Insert own alts as `body`
8989
- fe({ negate: !0, body: r }),
8991
+ pe({ negate: !0, body: r }),
8990
8992
  ke("Any")
8991
8993
  );
8992
8994
  const a = Q();
8993
8995
  a.body[0].body.push(
8994
8996
  jo("greedy", 0, 1 / 0, s)
8995
- ), n(L(a, e), { traverse: !0 });
8997
+ ), n(P(a, e), { traverse: !0 });
8996
8998
  } else
8997
8999
  throw new Error('Unsupported absence function "(?~|"');
8998
9000
  },
@@ -9009,30 +9011,30 @@ var pc = {
9009
9011
  const n = Zo(e.get(t));
9010
9012
  if (n) {
9011
9013
  const r = Q({ flags: n });
9012
- r.body[0].body = t.body, t.body = [L(r, t)];
9014
+ r.body[0].body = t.body, t.body = [P(r, t)];
9013
9015
  }
9014
9016
  }
9015
9017
  }
9016
9018
  },
9017
9019
  Assertion({ node: t, parent: e, key: n, container: r, root: o, remove: s, replaceWith: a }, i) {
9018
- const { kind: l, negate: u } = t, { asciiWordBoundaries: c, avoidSubclass: h, supportedGNodes: f, wordIsAscii: d } = i;
9020
+ const { kind: l, negate: u } = t, { asciiWordBoundaries: c, avoidSubclass: h, supportedGNodes: p, wordIsAscii: d } = i;
9019
9021
  if (l === "text_segment_boundary")
9020
9022
  throw new Error(`Unsupported text segment boundary "\\${u ? "Y" : "y"}"`);
9021
9023
  if (l === "line_end")
9022
- a(L(fe({ body: [
9024
+ a(P(pe({ body: [
9023
9025
  me({ body: [on("string_end")] }),
9024
9026
  me({ body: [vt(10)] })
9025
9027
  // `\n`
9026
9028
  ] }), e));
9027
9029
  else if (l === "line_start")
9028
- a(L(oe(v`(?<=\A|\n(?!\z))`, { skipLookbehindValidation: !0 }), e));
9030
+ a(P(oe(v`(?<=\A|\n(?!\z))`, { skipLookbehindValidation: !0 }), e));
9029
9031
  else if (l === "search_start")
9030
- if (f.has(t))
9032
+ if (p.has(t))
9031
9033
  o.flags.sticky = !0, s();
9032
9034
  else {
9033
- const p = r[n - 1];
9034
- if (p && Cc(p))
9035
- a(L(fe({ negate: !0 }), e));
9035
+ const f = r[n - 1];
9036
+ if (f && Cc(f))
9037
+ a(P(pe({ negate: !0 }), e));
9036
9038
  else {
9037
9039
  if (h)
9038
9040
  throw new Error(v`Uses "\G" in a way that requires a subclass`);
@@ -9040,11 +9042,11 @@ var pc = {
9040
9042
  }
9041
9043
  }
9042
9044
  else if (!(l === "string_end" || l === "string_start")) if (l === "string_end_newline")
9043
- a(L(oe(v`(?=\n?\z)`), e));
9045
+ a(P(oe(v`(?=\n?\z)`), e));
9044
9046
  else if (l === "word_boundary") {
9045
9047
  if (!d && !c) {
9046
- const p = `(?:(?<=${re})(?!${re})|(?<!${re})(?=${re}))`, g = `(?:(?<=${re})(?=${re})|(?<!${re})(?!${re}))`;
9047
- a(L(oe(u ? g : p), e));
9048
+ const f = `(?:(?<=${re})(?!${re})|(?<!${re})(?=${re}))`, g = `(?:(?<=${re})(?=${re})|(?<!${re})(?!${re}))`;
9049
+ a(P(oe(u ? g : f), e));
9048
9050
  }
9049
9051
  } else
9050
9052
  throw new Error(`Unexpected assertion kind "${l}"`);
@@ -9060,7 +9062,7 @@ var pc = {
9060
9062
  CharacterClassRange({ node: t, parent: e, replaceWith: n }) {
9061
9063
  if (e.kind === "intersection") {
9062
9064
  const r = st({ body: [t] });
9063
- n(L(r, e), { traverse: !0 });
9065
+ n(P(r, e), { traverse: !0 });
9064
9066
  }
9065
9067
  },
9066
9068
  CharacterSet({ node: t, parent: e, replaceWith: n }, { accuracy: r, minTargetEs2024: o, digitIsAscii: s, spaceIsAscii: a, wordIsAscii: i }) {
@@ -9070,7 +9072,7 @@ var pc = {
9070
9072
  return;
9071
9073
  }
9072
9074
  if (a && (l === "space" || c === "space")) {
9073
- n(L(Ut(oe(oc), u), e));
9075
+ n(P(Ut(oe(oc), u), e));
9074
9076
  return;
9075
9077
  }
9076
9078
  if (i && (l === "word" || c === "word")) {
@@ -9084,17 +9086,17 @@ var pc = {
9084
9086
  else if (l !== "dot") if (l === "text_segment") {
9085
9087
  if (r === "strict")
9086
9088
  throw new Error(v`Use of "\X" requires non-strict accuracy`);
9087
- const h = "\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?", f = v`\p{RI}{2}|${h}(?:\u200D${h})*`;
9088
- n(L(oe(
9089
+ const h = "\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?", p = v`\p{RI}{2}|${h}(?:\u200D${h})*`;
9090
+ n(P(oe(
9089
9091
  // Close approximation of an extended grapheme cluster; see: <unicode.org/reports/tr29/>
9090
- v`(?>\r\n|${o ? v`\p{RGI_Emoji}` : f}|\P{M}\p{M}*)`,
9092
+ v`(?>\r\n|${o ? v`\p{RGI_Emoji}` : p}|\P{M}\p{M}*)`,
9091
9093
  // Allow JS property `RGI_Emoji` through
9092
9094
  { skipPropertyNameValidation: !0 }
9093
9095
  ), e));
9094
9096
  } else if (l === "hex")
9095
9097
  n(le(ke("AHex", { negate: u }), e));
9096
9098
  else if (l === "newline")
9097
- n(L(oe(u ? `[^
9099
+ n(P(oe(u ? `[^
9098
9100
  ]` : `(?>\r
9099
9101
  ?|[
9100
9102
  \v\f…\u2028\u2029])`), e));
@@ -9106,15 +9108,15 @@ var pc = {
9106
9108
  graph: "!-~",
9107
9109
  print: " -~"
9108
9110
  }[c];
9109
- u && (h = `\0-${M(h.codePointAt(0) - 1)}${M(h.codePointAt(2) + 1)}-􏿿`), n(L(oe(`[${h}]`), e));
9111
+ u && (h = `\0-${M(h.codePointAt(0) - 1)}${M(h.codePointAt(2) + 1)}-􏿿`), n(P(oe(`[${h}]`), e));
9110
9112
  } else
9111
- n(L(Ut(oe(uc.get(c)), u), e));
9113
+ n(P(Ut(oe(uc.get(c)), u), e));
9112
9114
  else if (l === "property")
9113
9115
  An.has(xt(c)) || (t.key = "sc");
9114
9116
  else if (l === "space")
9115
9117
  n(le(ke("space", { negate: u }), e));
9116
9118
  else if (l === "word")
9117
- n(L(Ut(oe(re), u), e));
9119
+ n(P(Ut(oe(re), u), e));
9118
9120
  else
9119
9121
  throw new Error(`Unexpected character set kind "${l}"`);
9120
9122
  },
@@ -9125,15 +9127,15 @@ var pc = {
9125
9127
  r();
9126
9128
  else {
9127
9129
  const u = Q({ flags: l });
9128
- u.body[0].body = a(), o(L(u, e), { traverse: !0 });
9130
+ u.body[0].body = a(), o(P(u, e), { traverse: !0 });
9129
9131
  }
9130
9132
  else if (i === "keep") {
9131
9133
  const u = n.body[0], h = n.body.length === 1 && // Not emulatable if within a `CapturingGroup`
9132
9134
  Go(u, { type: "Group" }) && u.body[0].body.length === 1 ? u.body[0] : n;
9133
9135
  if (e.parent !== h || h.body.length > 1)
9134
9136
  throw new Error(v`Uses "\K" in a way that's unsupported`);
9135
- const f = fe({ behind: !0 });
9136
- f.body[0].body = s(), o(L(f, e));
9137
+ const p = pe({ behind: !0 });
9138
+ p.body[0].body = s(), o(P(p, e));
9137
9139
  } else
9138
9140
  throw new Error(`Unexpected directive kind "${i}"`);
9139
9141
  },
@@ -9198,14 +9200,14 @@ var pc = {
9198
9200
  NamedCallout({ node: t, parent: e, replaceWith: n }) {
9199
9201
  const { kind: r } = t;
9200
9202
  if (r === "fail")
9201
- n(L(fe({ negate: !0 }), e));
9203
+ n(P(pe({ negate: !0 }), e));
9202
9204
  else
9203
9205
  throw new Error(`Unsupported named callout "(*${r.toUpperCase()}"`);
9204
9206
  },
9205
9207
  Quantifier({ node: t }) {
9206
9208
  if (t.body.type === "Quantifier") {
9207
9209
  const e = Q();
9208
- e.body[0].body.push(t.body), t.body = L(e, t);
9210
+ e.body[0].body.push(t.body), t.body = P(e, t);
9209
9211
  }
9210
9212
  },
9211
9213
  Regex: {
@@ -9230,7 +9232,7 @@ var pc = {
9230
9232
  let { ref: n } = t;
9231
9233
  typeof n == "string" && !jt(n) && (n = Bt(n, e), t.ref = n);
9232
9234
  }
9233
- }, fc = {
9235
+ }, pc = {
9234
9236
  Backreference({ node: t }, { multiplexCapturesToLeftByRef: e, reffedNodesByReferencer: n }) {
9235
9237
  const { orphan: r, ref: o } = t;
9236
9238
  r || n.set(t, [...e.get(o).map(({ node: s }) => s)]);
@@ -9257,13 +9259,13 @@ var pc = {
9257
9259
  i.set(t.number, t), a.set(t.number, []), t.name && Ve(a, t.name, []);
9258
9260
  const c = a.get(t.name ?? t.number);
9259
9261
  for (let h = 0; h < c.length; h++) {
9260
- const f = c[h];
9262
+ const p = c[h];
9261
9263
  if (
9262
9264
  // This group is from subroutine expansion, and there's a multiplex value from either the
9263
9265
  // origin node or a prior subroutine expansion group with the same origin
9264
- u === f.node || u && u === f.origin || // This group is not from subroutine expansion, and it comes after a subroutine expansion
9266
+ u === p.node || u && u === p.origin || // This group is not from subroutine expansion, and it comes after a subroutine expansion
9265
9267
  // group that refers to this group
9266
- t === f.origin
9268
+ t === p.origin
9267
9269
  ) {
9268
9270
  c.splice(h, 1);
9269
9271
  break;
@@ -9271,16 +9273,16 @@ var pc = {
9271
9273
  }
9272
9274
  if (a.get(t.number).push({ node: t, origin: u }), t.name && a.get(t.name).push({ node: t, origin: u }), t.name) {
9273
9275
  const h = Ve(s, t.name, /* @__PURE__ */ new Map());
9274
- let f = !1;
9276
+ let p = !1;
9275
9277
  if (u)
9276
- f = !0;
9278
+ p = !0;
9277
9279
  else
9278
9280
  for (const d of h.values())
9279
9281
  if (!d.hasDuplicateNameToRemove) {
9280
- f = !0;
9282
+ p = !0;
9281
9283
  break;
9282
9284
  }
9283
- s.get(t.name).set(t, { node: t, hasDuplicateNameToRemove: f });
9285
+ s.get(t.name).set(t, { node: t, hasDuplicateNameToRemove: p });
9284
9286
  }
9285
9287
  },
9286
9288
  exit({ node: t }, { openRefs: e }) {
@@ -9312,13 +9314,13 @@ var pc = {
9312
9314
  if (!i) {
9313
9315
  const c = Zo(yc(
9314
9316
  a,
9315
- (f) => f.type === "Group" && !!f.flags
9317
+ (p) => p.type === "Group" && !!p.flags
9316
9318
  )), h = c ? bt(r.globalFlags, c) : r.globalFlags;
9317
9319
  gc(h, r.currentFlags) || (u = Q({
9318
9320
  flags: bc(h)
9319
9321
  }), u.body[0].body.push(l));
9320
9322
  }
9321
- n(L(u, e), { traverse: !i });
9323
+ n(P(u, e), { traverse: !i });
9322
9324
  }
9323
9325
  }, dc = {
9324
9326
  Backreference({ node: t, parent: e, replaceWith: n }, r) {
@@ -9328,7 +9330,7 @@ var pc = {
9328
9330
  }
9329
9331
  const s = r.reffedNodesByReferencer.get(t).filter((a) => mc(a, t));
9330
9332
  if (!s.length)
9331
- n(L(fe({ negate: !0 }), e));
9333
+ n(P(pe({ negate: !0 }), e));
9332
9334
  else if (s.length > 1) {
9333
9335
  const a = Q({
9334
9336
  atomic: !0,
@@ -9336,7 +9338,7 @@ var pc = {
9336
9338
  body: [sn(i.number)]
9337
9339
  }))
9338
9340
  });
9339
- n(L(a, e));
9341
+ n(P(a, e));
9340
9342
  } else
9341
9343
  t.ref = s[0].number;
9342
9344
  },
@@ -9491,7 +9493,7 @@ function Ut(t, e) {
9491
9493
  function le(t, e) {
9492
9494
  return t.parent = e, t;
9493
9495
  }
9494
- function L(t, e) {
9496
+ function P(t, e) {
9495
9497
  return Yo(t), t.parent = e, t;
9496
9498
  }
9497
9499
  function Sc(t, e) {
@@ -9506,8 +9508,8 @@ function Sc(t, e) {
9506
9508
  popModI() {
9507
9509
  d.pop();
9508
9510
  },
9509
- pushModI(p) {
9510
- d.push(p);
9511
+ pushModI(f) {
9512
+ d.push(f);
9511
9513
  },
9512
9514
  setHasCasedChar() {
9513
9515
  d.at(-1) ? a = !0 : i = !0;
@@ -9543,15 +9545,15 @@ function Sc(t, e) {
9543
9545
  function h(d) {
9544
9546
  return c.lastNode = u, u = d, nc(vc[d.type], `Unexpected node type "${d.type}"`)(d, c, h);
9545
9547
  }
9546
- const f = {
9548
+ const p = {
9547
9549
  pattern: t.body.map(h).join("|"),
9548
9550
  // Could reset `lastNode` at this point via `lastNode = ast`, but it isn't needed by flags
9549
9551
  flags: h(t.flags),
9550
9552
  options: { ...t.options }
9551
9553
  };
9552
- return r || (delete f.options.force.v, f.options.disable.v = !0, f.options.unicodeSetsPlugin = null), f._captureTransfers = /* @__PURE__ */ new Map(), f._hiddenCaptures = [], c.captureMap.forEach((d, p) => {
9553
- d.hidden && f._hiddenCaptures.push(p), d.transferTo && Ve(f._captureTransfers, d.transferTo, []).push(p);
9554
- }), f;
9554
+ return r || (delete p.options.force.v, p.options.disable.v = !0, p.options.unicodeSetsPlugin = null), p._captureTransfers = /* @__PURE__ */ new Map(), p._hiddenCaptures = [], c.captureMap.forEach((d, f) => {
9555
+ d.hidden && p._hiddenCaptures.push(f), d.transferTo && Ve(p._captureTransfers, d.transferTo, []).push(f);
9556
+ }), p;
9555
9557
  }
9556
9558
  var kc = {
9557
9559
  "*": {
@@ -9651,10 +9653,10 @@ var kc = {
9651
9653
  (h) => h.type === "CharacterClass" && h.kind === "union" && h.negate
9652
9654
  );
9653
9655
  if (c.length) {
9654
- const h = Q(), f = h.body[0];
9655
- return h.parent = s, f.parent = h, a = a.filter((d) => !c.includes(d)), t.body = a, a.length ? (t.parent = f, f.body.push(t)) : h.body.pop(), c.forEach((d) => {
9656
- const p = me({ body: [d] });
9657
- d.parent = p, p.parent = h, h.body.push(p);
9656
+ const h = Q(), p = h.body[0];
9657
+ return h.parent = s, p.parent = h, a = a.filter((d) => !c.includes(d)), t.body = a, a.length ? (t.parent = p, p.body.push(t)) : h.body.pop(), c.forEach((d) => {
9658
+ const f = me({ body: [d] });
9659
+ d.parent = f, f.parent = h, h.body.push(f);
9658
9660
  }), n(h);
9659
9661
  }
9660
9662
  }
@@ -9746,7 +9748,7 @@ var kc = {
9746
9748
  @param {QuantifierNode} node
9747
9749
  */
9748
9750
  Quantifier(t, e, n) {
9749
- return n(t.body) + Pc(t);
9751
+ return n(t.body) + Lc(t);
9750
9752
  },
9751
9753
  /**
9752
9754
  @param {SubroutineNode & {isRecursive: true}} node
@@ -9856,7 +9858,7 @@ function _e(t, { escDigit: e, inCharClass: n, useFlagV: r }) {
9856
9858
  // Control chars, etc.; condition modeled on the Chrome developer console's display for strings
9857
9859
  t < 32 || t > 126 && t < 160 || // Unicode planes 4-16; unassigned, special purpose, and private use area
9858
9860
  t > 262143 || // Avoid corrupting a preceding backref by immediately following it with a literal digit
9859
- e && Lc(t)
9861
+ e && Pc(t)
9860
9862
  )
9861
9863
  return t > 255 ? `\\u{${t.toString(16).toUpperCase()}}` : `\\x${t.toString(16).toUpperCase().padStart(2, "0")}`;
9862
9864
  const o = n ? r ? Ac : Ec : xc, s = M(t);
@@ -9879,7 +9881,7 @@ function Nc(t, e, n) {
9879
9881
  }
9880
9882
  return `${r}:`;
9881
9883
  }
9882
- function Pc({ kind: t, max: e, min: n }) {
9884
+ function Lc({ kind: t, max: e, min: n }) {
9883
9885
  let r;
9884
9886
  return !n && e === 1 ? r = "?" : !n && e === 1 / 0 ? r = "*" : n === 1 && e === 1 / 0 ? r = "+" : n === e ? r = `{${n}}` : r = `{${n},${e === 1 / 0 ? "" : e}}`, r + {
9885
9887
  greedy: "",
@@ -9890,7 +9892,7 @@ function Pc({ kind: t, max: e, min: n }) {
9890
9892
  function Er({ type: t }) {
9891
9893
  return t === "CapturingGroup" || t === "Group" || t === "LookaroundAssertion";
9892
9894
  }
9893
- function Lc(t) {
9895
+ function Pc(t) {
9894
9896
  return t > 47 && t < 58;
9895
9897
  }
9896
9898
  function Ar({ type: t, value: e }) {
@@ -10076,11 +10078,11 @@ function Gc(t, e) {
10076
10078
  if (n.lazyCompileLength !== 1 / 0)
10077
10079
  throw new Error("Lazy compilation requires subclass");
10078
10080
  } else {
10079
- const c = l.hiddenCaptures.sort((p, g) => p - g), h = Array.from(l.captureTransfers), f = o._strategy, d = u.pattern.length >= n.lazyCompileLength;
10080
- (c.length || h.length || f || d) && (u.options = {
10081
+ const c = l.hiddenCaptures.sort((f, g) => f - g), h = Array.from(l.captureTransfers), p = o._strategy, d = u.pattern.length >= n.lazyCompileLength;
10082
+ (c.length || h.length || p || d) && (u.options = {
10081
10083
  ...c.length && { hiddenCaptures: c },
10082
10084
  ...h.length && { transfers: h },
10083
- ...f && { strategy: f },
10085
+ ...p && { strategy: p },
10084
10086
  ...d && { lazyCompile: d }
10085
10087
  });
10086
10088
  }
@@ -10224,6 +10226,8 @@ const Uc = jc({ forgiving: !0 }), zc = await Wl({
10224
10226
  dark: "github-dark"
10225
10227
  },
10226
10228
  defaultColor: !1,
10229
+ defaultLanguage: "text",
10230
+ fallbackLanguage: "text",
10227
10231
  inline: "tailing-curly-colon",
10228
10232
  addLanguageClass: !0,
10229
10233
  transformers: [Zl(), eu()],
@@ -10248,14 +10252,11 @@ const Uc = jc({ forgiving: !0 }), zc = await Wl({
10248
10252
  class: as(e.properties.class, r.properties.class)
10249
10253
  }, r.properties = {});
10250
10254
  });
10251
- }, ch = (t) => [
10255
+ }, ch = (t = wt.themes, e = zc) => [
10252
10256
  [
10253
10257
  Yl,
10254
- zc,
10255
- {
10256
- ...wt,
10257
- themes: t ?? wt.themes
10258
- }
10258
+ e,
10259
+ { ...wt, themes: t }
10259
10260
  ],
10260
10261
  Hc
10261
10262
  ], Wc = (t, e, n = "text", r = wt.themes) => {
@@ -10283,7 +10284,7 @@ export {
10283
10284
  Fn as E,
10284
10285
  Vc as S,
10285
10286
  H as V,
10286
- Ps as a,
10287
+ Ls as a,
10287
10288
  ih as b,
10288
10289
  ah as c,
10289
10290
  nh as d,
@@ -10297,10 +10298,10 @@ export {
10297
10298
  ch as l,
10298
10299
  eh as o,
10299
10300
  Fr as p,
10300
- Ls as s,
10301
+ Ps as s,
10301
10302
  Ds as t,
10302
10303
  th as u,
10303
10304
  qr as v,
10304
10305
  la as z
10305
10306
  };
10306
- //# sourceMappingURL=SyntaxHighlight-Bp_UsIXG.js.map
10307
+ //# sourceMappingURL=SyntaxHighlight--o45zbws.js.map